day_list.blade.php 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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/everyday'>
  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/everyday" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
  31. <a href="/admin/gold/everyday?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. <th width="8%">{{ __('auto.破产补助') }}</th>
  44. <th width="6%">{{ __('auto.任务获得') }}</th>
  45. <th width="6%">{{ __('auto.每日分享') }}</th>
  46. <th width="6%">{{ __('auto.周卡月卡发放') }}</th>
  47. <th width="6%">{{ __('auto.手机绑定发放') }}</th>
  48. <th width="6%">{{ __('auto.活动发放') }}</th>
  49. </tr>
  50. </thead>
  51. <tbody>
  52. @foreach($list as $k=>$v)
  53. <tr>
  54. <td>{{ $v->mydate }}</td>
  55. <td>{{ $v->AllScore }}</td>
  56. <td>{{ $v->RegisterScore }}</td>
  57. <td>{{ $v->SignScore }}</td>
  58. <td>{{ $v->ExchangeScore }}</td>
  59. <td>{{ $v->SpreaderScore}}</td>
  60. <td>{{ $v->RechargeScore}}</td>
  61. <td>{{ $v->BankruptcyScore}}</td>
  62. <td>{{ $v->TaskScore}}</td>
  63. <td>{{ $v->ShareScore}}</td>
  64. <td>{{ $v->MemberScore}}</td>
  65. <td>{{ $v->BindPhone}}</td>
  66. <td>{{ $v->ActivityScore}}</td>
  67. </tr>
  68. @endforeach
  69. </tbody>
  70. </table>
  71. <div class="box-footer clearfix">
  72. {{ __('auto.总共') }} <b>{{ $list->appends(['start_time'=>$start_time,'end_time'=>$end_time])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  73. {!! $list->links() !!}
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <script>
  82. $(function(){
  83. cutStr(50);
  84. });
  85. function update(id){
  86. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  87. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  88. layer.msg(res.msg)
  89. setTimeout(function(){
  90. window.location.reload();
  91. },1500)
  92. });
  93. });
  94. }
  95. function del(id){
  96. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  97. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  98. layer.msg(res.msg)
  99. setTimeout(function(){
  100. window.location.reload();
  101. },1500)
  102. });
  103. });
  104. }
  105. </script>
  106. @endsection