operate_list.blade.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. <form class="well form-inline margin-top-20" method="get" action='/admin/gold/operate'>
  26. <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
  27. <input type="date" step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
  28. <input type="date" step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;
  29. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.查询') }}"/>&nbsp;&nbsp;
  30. <a href="/admin/gold/operate" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
  31. <a href="/admin/gold/operate?excel=1&start_time={{$start_time}}&end_time={{$end_time}}" class="btn btn-sm btn-gradient-light btn-icon-text">{{ __('auto.导出') }}</a>
  32. </form>
  33. <table class="table table-bordered">
  34. <thead>
  35. <tr>
  36. <th width="6%">{{ __('auto.名称') }}</th>
  37. <th width="4%">{{ __('auto.展现次数') }}</th>
  38. <th width="6%">{{ __('auto.转化率') }}</th>
  39. <th width="6%">{{ __('auto.点击次数') }}</th>
  40. <th width="6%">{{ __('auto.转化率') }}</th>
  41. <th width="6%">{{ __('auto.完成次数') }}</th>
  42. <th width="6%">{{ __('auto.详情') }}</th>
  43. </tr>
  44. </thead>
  45. <tbody>
  46. @foreach($list as $k=>$v)
  47. <tr>
  48. <td>{{ $v['name'] }}</td>
  49. <td>{{ $v['count0'] }}</td>
  50. <td>{{ $v['rate1'] }}</td>
  51. <td>{{ $v['count1'] }}</td>
  52. <td>{{ $v['rate2'] }}</td>
  53. <td>{{ $v['count2'] }}</td>
  54. <td><a href="/admin/gold/operate_detail/{{$v['group_id']}}" class="btn btn-sm btn-gradient-info btn-icon-text">{{ __('auto.查看') }}</a></td>
  55. </tr>
  56. @endforeach
  57. </tbody>
  58. </table>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <script>
  66. $(function(){
  67. cutStr(50);
  68. });
  69. function update(id){
  70. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  71. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  72. layer.msg(res.msg)
  73. setTimeout(function(){
  74. window.location.reload();
  75. },1500)
  76. });
  77. });
  78. }
  79. </script>
  80. @endsection