ChannelSaveLog.blade.php 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. @extends('base.base')
  2. @section('base')
  3. <!-- 内容区域 -->
  4. <div class="main-panel">
  5. <div class="content-wrapper">
  6. <div class="page-header">
  7. <h3 class="page-title">
  8. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  9. <i class="mdi mdi-settings"></i>
  10. </span>
  11. {{ __('auto.渠道操作日志') }}
  12. </h3>
  13. <nav aria-label="breadcrumb">
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="#">{{ __('auto.渠道管理') }}</a></li>
  16. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.渠道操作日志') }}</li>
  17. </ol>
  18. </nav>
  19. </div>
  20. <div class="row">
  21. <div class="col-lg-12 grid-margin stretch-card">
  22. <div class="card">
  23. <div class="card-body">
  24. <h4 class="card-title">{{ __('auto.渠道操作日志') }}</h4>
  25. <table class="table table-bordered">
  26. <thead>
  27. <tr>
  28. <th width="5%">{{ __('auto.渠道名称') }}</th>
  29. <th width="8%">{{ __('auto.审核开关') }}</th>
  30. <th width="8%">{{ __('auto.安卓版本') }}</th>
  31. <th width="8%">{{ __('auto.操作人') }}</th>
  32. <th width="8%">{{ __('auto.操作日期') }}</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. @foreach($list as $k=>$v)
  37. <tr>
  38. <td>{{$v->ChannelName}}</td>
  39. <td>
  40. @if ($v->ReviewState == 1)
  41. {{ __('auto.开放') }}
  42. @else
  43. {{ __('auto.关闭') }}
  44. @endif
  45. </td>
  46. <td>{{$v->AndroidVersion}}</td>
  47. <td>{{$v->account}}</td>
  48. <td>{{$v->create_at}}</td>
  49. </tr>
  50. @endforeach
  51. </tbody>
  52. </table>
  53. <div class="box-footer clearfix" id="pages">
  54. {{ __('auto.总共') }} <b>{{ $list->appends([
  55. 'list'=>$list,
  56. ])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  57. {!! $list->links() !!}
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <script>
  66. function switch_control(id, ChannelIndex, AndroidVersion, type) {
  67. myConfirm("{{ __('auto.操作不可逆,是否继续') }}?", function () {
  68. myRequest("/admin/channel/switch/" + id, "post", {ChannelIndex, AndroidVersion, type}, function (res) {
  69. layer.msg(res.msg)
  70. setTimeout(function () {
  71. window.location.reload();
  72. }, 1500)
  73. });
  74. });
  75. }
  76. </script>
  77. @endsection