| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- @extends('layouts.base')
- @section('content')
- @section('title', trans('首播审核'))
- @include('layouts.tabs')
- <style>
- select{width: 25%; height: 34px;}
- #saleravatar img{width: 200px; height: 200px;}
- </style>
- <div class='panel panel-default'>
- <form action="" method="post" class="form-horizontal" id="form1">
- <div class="panel panel-info">
- <div class="panel-body">
- <div class="form-group col-xs-12 col-sm-2">
- <input class="form-control" name="search[keyword]" id="" type="text"
- value="{{$search['keyword']}}" placeholder="会员ID/昵称/姓名/手机">
- </div>
- <div class="form-group col-xs-12 col-sm-2">
- <select name='search[is_adopt]' class='form-control'>
- <option value=''>状态</option>
- <option value='3' @if($search['is_adopt'] == 3) selected @endif>审核中</option>
- <option value='1' @if($search['is_adopt'] == 1) selected @endif>已通过</option>
- <option value='2' @if($search['is_adopt'] == 2) selected @endif>已驳回</option>
- </select>
- </div>
- <div class="form-group col-xs-12 col-sm-8">
-
- <div class="col-sm-3">
- <label class='radio-inline'>
- <input type='checkbox' value='1' name='search[is_time]'
- @if($search['is_time'] == '1') checked @endif>时间
- </label>
- </div>
- {!! app\common\helpers\DateRange::tplFormFieldDateRange(
- 'search[time]',
- [
- 'starttime'=>$search['time']['start'],
- 'endtime'=>$search['time']['end'],
- 'start'=>$search['time']['start'],
- 'end'=>$search['time']['end']
- ],
- true
- ) !!}
- </div>
- <div class="form-group col-xs-12 col-sm-7 col-lg-4">
- <div class="">
- <button class="btn btn-success "><i class="fa fa-search"></i> 搜索</button>
- </div>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div class='panel panel-default'>
- <div class='panel-heading'>
- <div>
- 累计申请数量:{{$count}}个 通过数量:{{$adopt}}个 待审核数量:{{$wait}}个 已驳回数量:{{$refuse}}个
- </div>
- </div>
-
- <div class='panel-body'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:6%;'>ID</th>
- <th style='width:15%;'>申请时间</th>
- <th style='width:8%;'>会员</th>
- <th style='width:10%;'>真实姓名</th>
- <th style='width:10%;'>手机号</th>
- <th style='width:10%;'>详情</th>
- <th style='width:10%;'>状态</th>
- <th style='width:10%;'>操作</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list['data'] as $row)
- <tr>
- <td>{{$row['id']}}</td>
- <td>{{$row['created_at']}}</td>
- <td>
- <a target="_blank"
- href="{{yzWebUrl('member.member.detail',['id'=>$row['member_id']])}}">
- <img src="{{tomedia($row['avatar'])}}"
- style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
- </br>
- {{$row['nickname']}}
- </a>
- </td>
- <td>{{$row['realName']}}</td>
- <td>{{$row['mobile']}}</td>
- <td><a href="{{yzWebUrl('plugin.room.admin.anchor-manage.launch-detail', ['id' => $row['id']])}}" title="查看详情"> 查看详情</a></td>
- <td>{{$row['adopt_name']}}</td>
- <td>
- <div class="btn-group btn-group-sm" @if($row['is_adopt'] == 0)>
- <a onclick="examine({{$row['id']}},1)" title="通过"> 通过</a>
- <a onclick="examine({{$row['id']}},2)" title="驳回"> 驳回</a>
- </div @endif>
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- <div style="width:100%;height:150px;"></div>
- <script language='javascript'>
- function examine(id, value) {
- $.ajax({
- url: "{!! yzWebUrl('plugin.room.admin.anchor-manage.examine-launch') !!}",
- type: "post",
- data: {id: id, value: value},
- cache: false,
- success: function (data) {
- console.log(data);
- location.reload();
- },
- error: function (data) {
- alert(data.msg);
- }
- })
- }
- </script>
- @endsection
|