risk_assessment.blade.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. @extends('base.base')
  2. @section('base')
  3. <style>
  4. .card .card-body {
  5. padding: 0.5rem 0.5rem;
  6. }
  7. </style>
  8. <!-- 内容区域 -->
  9. <div class="main-panel">
  10. <div class="content-wrapper">
  11. <div>
  12. {{-- <span>{{ __('auto.玩家ID:') }}{{$info->GameID}}</span>--}}
  13. {{-- <span style="margin-left: 150px">{{ __('auto.玩家名字:') }}{{$info->NickName}}</span>--}}
  14. </div>
  15. <div class="page-header">
  16. <h3 class="page-title">
  17. <span class="page-title-icon bg-gradient-primary text-white mr-2">
  18. <i class="mdi mdi-settings"></i>
  19. </span>
  20. {{ __('auto.风险评估等级:') }}{{$gear}}
  21. <a href="/admin/global/winloser?UserID={{$info->GameID}}&id_list=1"
  22. class="btn btn-sm btn-gradient-success">{{ __('auto.战绩搜索') }}</a>
  23. </h3>
  24. <nav aria-label="breadcrumb">
  25. <ol class="breadcrumb">
  26. <li class="breadcrumb-item"><a href="#">{{ __('auto.风险评估等级') }}</a></li>
  27. <li class="breadcrumb-item active" aria-current="page">{{ __('auto.订单统计') }}</li>
  28. </ol>
  29. </nav>
  30. </div>
  31. <div class="row">
  32. <div class="col-lg-12 grid-margin stretch-card">
  33. <div class="card">
  34. <div class="card-body">
  35. <table class="table table-bordered">
  36. <thead>
  37. <tr>
  38. <th>{{ __('auto.会员') }}ID</th>
  39. <th>{{$info->GameID}}</th>
  40. <th>{{ __('auto.昵称') }}</th>
  41. <th>{{$info->NickName}}</th>
  42. <th>{{ __('auto.历史彩金') }} / {{ __('auto.今日') }}</th>
  43. <th>{{$info->total->Handsel ?? 0}} / {{$info->today->Handsel ?? 0}}</th>
  44. <th>{{ __('auto.历史提现') }} / {{ __('auto.今日') }}</th>
  45. <th>{{$info->total->Withdraw ?? 0}} / {{$info->today->Withdraw ?? 0}}</th>
  46. </tr>
  47. </thead>
  48. <thead>
  49. <tr>
  50. <th>{{ __('auto.注册日期') }}</th>
  51. <th>{{$info->RegisterDate}}</th>
  52. <th>{{ __('auto.历史总盈利') }} / {{ __('auto.今日') }}</th>
  53. <th>{{$info->total->Score ?? 0}} / {{$info->today->Score ?? 0}}</th>
  54. <th>{{ __('auto.历史咖啡') }} / {{ __('auto.今日') }}</th>
  55. <th>{{$info->total->Recharge ?? 0}} / {{$info->today->Recharge ?? 0}}</th>
  56. <th></th>
  57. <th></th>
  58. </tr>
  59. </thead>
  60. </table>
  61. <br>
  62. <table class="table table-bordered">
  63. <thead>
  64. <tr>
  65. <th>{{ __('auto.评估选项') }}</th>
  66. <th>{{ __('auto.具体数值') }}</th>
  67. <th>{{ __('auto.评估选项') }}2</th>
  68. <th>{{ __('auto.具体数值') }}</th>
  69. </tr>
  70. </thead>
  71. <tbody class="search_checkbox">
  72. <tr>
  73. <td>{{ __('auto.累计对局数') }}</td>
  74. <td>{{$info->playerNum}}</td>
  75. <td>{{ __('auto.已领取/可领取佣金') }}</td>
  76. <td>{{$info->commission}} / {{$info->waitCommission}}</td>
  77. </tr>
  78. {{-- <tr>--}}
  79. {{-- <td>rummy{{ __('auto.累计对局数') }}</td>--}}
  80. {{-- <td>{{$info->rummy}}</td>--}}
  81. {{-- <td>{{ __('auto.上次提现成功时间') }}</td>--}}
  82. {{-- <td>{{$info->finalTime}}</td>--}}
  83. {{-- </tr>--}}
  84. {{-- <tr>--}}
  85. {{-- <td>teenPatti{{ __('auto.累计对局数') }}</td>--}}
  86. {{-- <td>{{$info->teenPatti}}</td>--}}
  87. {{-- <td>{{ __('auto.注册IP查重') }} IP{{ __('auto.号:') }}{{$info->RegisterIP}}</td>--}}
  88. {{-- <td>--}}
  89. {{-- @if ($info->count > 1)--}}
  90. {{-- <span style="color: red">{{ __('auto.有重复用户') }}IP--}}
  91. {{-- <a href="/admin/withdrawal/duplicate_checking?type=RegisterIP&val={{$info->RegisterIP}}"> {{$info->count}}{{ __('auto.个') }}</a>--}}
  92. {{-- </span>--}}
  93. {{-- @else--}}
  94. {{-- {{ __('auto.无重复用户') }}IP--}}
  95. {{-- @endif--}}
  96. {{-- </td>--}}
  97. {{-- </tr>--}}
  98. <tr>
  99. <td>{{ __('auto.银行卡绑定信息评估') }} {{ __('auto.卡号:') }}{{$info->BankNO->BankNo ?? 0}}</td>
  100. <td>
  101. @if ($info->BankNO->count ?? 0 > 1)
  102. <span style="color: red">{{ __('auto.有重复用户绑定') }}
  103. <a href="/admin/withdrawal/duplicate_checking?type=BankNo&val={{$info->BankNO->BankNo ?? 0}}"> {{$info->BankNO->count ?? 0}}{{ __('auto.个') }}</a>
  104. </span>
  105. @else
  106. {{ __('auto.无重复用户绑定') }}
  107. @endif
  108. </td>
  109. <td>{{$userTab}}</td>
  110. <td>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td>{{ __('auto.关联提现姓名') }}</td>
  115. <td>
  116. @if (isset($info->sameWithDrawName->count) && $info->sameWithDrawName->count > 1)
  117. <a href="/admin/global/join?id=4&BankUserName={{$info->sameWithDrawName->BankUserName ?? ''}}">{{ __('auto.关联姓名【') }} {{$info->sameWithDrawName->count ?? ''}}
  118. 】</a>
  119. @else
  120. {{ __('auto.关联姓名【0】') }}
  121. @endif
  122. </td>
  123. <td>{{ __('auto.关联提现') }}Email</td>
  124. <td>
  125. @if (isset($info->sameWithDrawMail->count) && $info->sameWithDrawMail->count > 1)
  126. <a href="/admin/global/join?id=5&EmailAddress={{$info->sameWithDrawMail->EmailAddress ?? ''}}">{{ __('auto.关联Email【') }} {{$info->sameWithDrawMail->count ?? ''}}
  127. 】</a>
  128. @else
  129. {{ __('auto.关联Email【') }}0】
  130. @endif
  131. </td>
  132. <td>{{ __('auto.关联') }}CPF</td>
  133. <td>
  134. @if (isset($info->sameCpfCount) && $info->sameCpfCount > 1)
  135. <a href="/admin/global/join?id=8&UserID={{$info->UserID?? ''}}">{{ __('auto.关联CPF【') }} {{$info->sameCpfCount ?? ''}}
  136. 】</a>
  137. @else
  138. {{ __('auto.关联CPF【') }}0】
  139. @endif
  140. </td>
  141. </tr>
  142. @foreach($gameCount as $gameid=>$num)
  143. <tr>
  144. <td>{{ $gameName[$gameid] }}{{ __('auto.对局数') }}</td>
  145. <td>{{ $num }}</td>
  146. </tr>
  147. @endforeach
  148. </tbody>
  149. </table>
  150. </div>
  151. </div>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. <script>
  157. function checkbox() {
  158. var num = document.getElementsByName('checkbox');
  159. for (var i = 0; i < num.length; i++) {
  160. if (num[i].checked) {
  161. num[i].checked = false;
  162. } else {
  163. num[i].checked = true;
  164. }
  165. }
  166. }
  167. function duplicate_checking(type, val) {
  168. var page = layer.open({
  169. type: 2,
  170. title: '{{ __('auto.查重') }}',
  171. shadeClose: true,
  172. shade: 0.8,
  173. area: ['90%', '80%'],
  174. content: '/admin/withdrawal/duplicate_checking?type=' + type + '&val=' + val
  175. });
  176. }
  177. function commit() {
  178. var str = '';
  179. var ids = ''
  180. // 获取单个值
  181. var only = $('.only_one').val()
  182. // 获取代付方值
  183. var agent = $("input[type='radio']:checked").val()
  184. if (only !== undefined) {
  185. ids = only;
  186. console.log(ids)
  187. } else {
  188. // 获取多选框选中的值
  189. var num = document.getElementsByName('checkbox');
  190. for (var i = 0; i < num.length; i++) {
  191. if (num[i].checked) {
  192. str = str + num[i].id + ',';
  193. }
  194. }
  195. if (str === '') {
  196. alert('{{ __('auto.请选择要操作的数据') }}');
  197. return false;
  198. }
  199. ids = str.substr(0, str.length - 1);
  200. }
  201. var data = {
  202. 'ids': ids,
  203. 'agent': agent,
  204. 'agree': true,
  205. }
  206. myConfirm("{{ __('auto.是否继续') }}?", function () {
  207. myRequest("/admin/withdrawal/verify", "post", data, function (res) {
  208. layer.msg(res.msg)
  209. if (res.code === 200) {
  210. setTimeout(function () {
  211. //window.location.href="/admin/withdrawal/verify?type=agree&ids="+str;
  212. parent.location.reload();
  213. }, 1500)
  214. }
  215. });
  216. });
  217. }
  218. function ban(ban) {
  219. //1封号 2解封
  220. var num = document.getElementsByName('checkbox');
  221. var str = '';
  222. for (var i = 0; i < num.length; i++) {
  223. if (num[i].checked) {
  224. str = str + num[i].id + ',';
  225. }
  226. }
  227. if (str == '') {
  228. alert('{{ __('auto.请选择要操作的数据') }}');
  229. return false;
  230. }
  231. var id = str.substr(0, str.length - 1);
  232. console.log(id)
  233. // myConfirm("是否继续账户操作?",function(){
  234. // myRequest("/admin/global/ban","post",{id:id,ban:ban},function(res){
  235. // layer.msg(res.msg)
  236. // setTimeout(function(){
  237. // window.location.reload();
  238. // },1500)
  239. // });
  240. // });
  241. return false;
  242. }
  243. </script>
  244. @endsection