bind_child_list.blade.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. @if ($source == 2)
  21. <a href="/admin/extension/verify?start_time={{$start_time}}&end_time={{$end_time}}&GameID={{$GameID}}&SpreaderID={{$SpreaderID}}&NickName={{$NickName}}&Type={{$Type}}&Sort={{$Sort}}&FinalScoreSort={{$FinalScoreSort}}">{{ __('auto.返回上一页') }}</a>
  22. @else
  23. <a href="/admin/user/bind_list">{{ __('auto.返回上一页') }}</a>
  24. @endif
  25. <div class="row">
  26. <div class="col-lg-12 grid-margin stretch-card">
  27. <div class="card">
  28. <div class="card-body">
  29. <h4 class="card-title">{{ __('auto.绑定关系查询') }}</h4>
  30. <form class="well form-inline margin-top-20" method="get" action='/admin/user/bind_list'>
  31. <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
  32. <input type="date" step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
  33. <input type="date" step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;
  34. <input type="hidden" name="Higher1ID" value="{{$Higher1ID}}">
  35. <input type="hidden" name="Higher2ID" value="{{$Higher2ID}}">
  36. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
  37. </form>
  38. <table class="table table-bordered">
  39. <thead>
  40. <tr>
  41. <th width="5%">{{ __('auto.会员') }}ID</th>
  42. <th width="8%">TA{{ __('auto.的上级') }}ID</th>
  43. <th width="8%">{{ __('auto.已发放额度') }}</th>
  44. <th width="8%">{{ __('auto.账号创建时间') }}</th>
  45. <th width="8%">{{ __('auto.最后登录时间') }}</th>
  46. <th width="8%">{{ __('auto.所有下级人数') }}</th>
  47. <th width="8%">{{ __('auto.直属下级') }}</th>
  48. <th width="8%">{{ __('auto.下下级') }}</th>
  49. </tr>
  50. </thead>
  51. <tbody>
  52. @foreach($list as $k=>$v)
  53. <tr>
  54. <td>
  55. <a href="/admin/global/id_find?UserID={{$v->UserID}}">
  56. {{$v->GameID}}
  57. </a>
  58. </td>
  59. <td>{{ $v->SpreaderID }}</td>
  60. <td>{{ $v->Rewards }}</td>
  61. <td>{{$v->RegisterDate}}</td>
  62. <td>{{ $v->LastLogonDate }}</td>
  63. <td>{{$v->downCount1 + $v->downCount2}}</td>
  64. <td>
  65. @if ($v->downCount1 > 0)
  66. <a href="/admin/user/bind_list?Higher1ID={{$v->UserID}}">
  67. {{$v->downCount1}}
  68. </a>
  69. @else
  70. {{$v->downCount1}}
  71. @endif
  72. </td>
  73. <td>
  74. @if ($v->downCount2 > 0)
  75. <a href="/admin/user/bind_list?Higher2ID={{$v->UserID}}">
  76. {{$v->downCount2}}
  77. </a>
  78. @else
  79. {{$v->downCount2}}
  80. @endif
  81. </td>
  82. </tr>
  83. @endforeach
  84. </tbody>
  85. </table>
  86. <div class="box-footer clearfix">
  87. {{ __('auto.总共') }} <b>{{ $list->appends([
  88. 'start_time' => $start_time,
  89. 'end_time' => $end_time,
  90. 'UserID' => $UserID,
  91. 'SpreaderID' => $SpreaderID,
  92. 'Higher1ID' => $Higher1ID,
  93. 'Higher2ID' => $Higher2ID,
  94. 'source' => $source ?? 0
  95. ])->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  96. {!! $list->links() !!}
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. <script>
  105. function supplement(id){
  106. myConfirm("{{ __('auto.操作不可逆,是否继续') }}?",function(){
  107. myRequest("/admin/recharge/supplement/"+id,"post",{},function(res){
  108. layer.msg(res.msg)
  109. setTimeout(function(){
  110. window.location.reload();
  111. },1500)
  112. });
  113. });
  114. }
  115. $(function(){
  116. cutStr(50);
  117. });
  118. function update(id){
  119. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  120. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  121. layer.msg(res.msg)
  122. setTimeout(function(){
  123. window.location.reload();
  124. },1500)
  125. });
  126. });
  127. }
  128. function del(id){
  129. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  130. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  131. layer.msg(res.msg)
  132. setTimeout(function(){
  133. window.location.reload();
  134. },1500)
  135. });
  136. });
  137. }
  138. </script>
  139. @endsection