bind_list.blade.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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/user/bind_list'>
  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. <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
  30. <input class="form-control" type="text" name="UserID" style="width: 10%; " value="{{$UserID}}" >
  31. <spen style="padding-left: 10px" >{{ __('auto.上级ID:') }}</spen>
  32. <input class="form-control" type="text" name="SpreaderID" style="width: 10%; " value="{{$SpreaderID}}" >
  33. <span>{{ __('auto.排序') }}</span>
  34. @component('components.select', [
  35. 'name' => 'sort', 'options' => [
  36. '' => '',
  37. 'downCount1 + downCount2' => __('auto.按最多排序'),
  38. ],
  39. 'default' => $request->input('sort')])
  40. @endcomponent
  41. <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
  42. <a href="/admin/user/bind_list" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>&nbsp;&nbsp;
  43. </form>
  44. <table class="table table-bordered">
  45. <thead>
  46. <tr>
  47. <th width="5%">{{ __('auto.会员') }}ID</th>
  48. <th width="8%">TA{{ __('auto.的上级') }}ID</th>
  49. <th width="8%">{{ __('auto.已发放额度') }}</th>
  50. <th width="8%">{{ __('auto.账号创建时间') }}</th>
  51. <th width="8%">{{ __('auto.最后登录时间') }}</th>
  52. <th width="8%">{{ __('auto.所有下级人数') }}</th>
  53. <th width="8%">{{ __('auto.直属下级') }}</th>
  54. <th width="8%">{{ __('auto.下下级') }}</th>
  55. </tr>
  56. </thead>
  57. <tbody>
  58. @foreach($list as $k=>$v)
  59. <tr>
  60. <td>
  61. <a href="/admin/global/id_find?UserID={{$v->UserID}}">
  62. {{$v->GameID}}
  63. </a>
  64. </td>
  65. <td>{{ $v->SpreaderID }}</td>
  66. <td>{{ $v->Rewards }}</td>
  67. <td>{{$v->RegisterDate}}</td>
  68. <td>{{ $v->LastLogonDate }}</td>
  69. <td>{{$v->downCount1 + $v->downCount2}}</td>
  70. <td>
  71. @if ($v->downCount1 > 0)
  72. <a href="/admin/user/bind_list?Higher1ID={{$v->UserID}}">
  73. {{$v->downCount1}}
  74. </a>
  75. @else
  76. {{$v->downCount1}}
  77. @endif
  78. </td>
  79. <td>
  80. @if ($v->downCount2 > 0)
  81. <a href="/admin/user/bind_list?Higher2ID={{$v->UserID}}">
  82. {{$v->downCount2}}
  83. </a>
  84. @else
  85. {{$v->downCount2}}
  86. @endif
  87. </td>
  88. </tr>
  89. @endforeach
  90. </tbody>
  91. </table>
  92. <div class="box-footer clearfix">
  93. {{ __('auto.总共') }} <b>{{ $list->appends($request->all())->total() }}</b> {{ __('auto.条,分为') }}<b>{{ $list->lastPage() }}</b>{{ __('auto.页') }}
  94. {!! $list->links() !!}
  95. </div>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. <script>
  103. function supplement(id){
  104. myConfirm("{{ __('auto.操作不可逆,是否继续') }}?",function(){
  105. myRequest("/admin/recharge/supplement/"+id,"post",{},function(res){
  106. layer.msg(res.msg)
  107. setTimeout(function(){
  108. window.location.reload();
  109. },1500)
  110. });
  111. });
  112. }
  113. $(function(){
  114. cutStr(50);
  115. });
  116. function update(id){
  117. myConfirm("{{ __('auto.处理操作不可逆,是否继续') }}?",function(){
  118. myRequest("/admin/accusation/edit/"+id,"post",{},function(res){
  119. layer.msg(res.msg)
  120. setTimeout(function(){
  121. window.location.reload();
  122. },1500)
  123. });
  124. });
  125. }
  126. function del(id){
  127. myConfirm("{{ __('auto.删除操作不可逆,是否继续') }}?",function(){
  128. myRequest("/admin/accusation/del/"+id,"post",{},function(res){
  129. layer.msg(res.msg)
  130. setTimeout(function(){
  131. window.location.reload();
  132. },1500)
  133. });
  134. });
  135. }
  136. </script>
  137. @endsection