1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- @extends('admin.public.base')
- @section('body_class')
- style="margin: 0 auto;width: 96%;padding: 30px 0px;"
- @endsection
- @section('content')
- <form action="" method="get" class="form-horizontal form-line" name="thisform">
- <div class="form-group col col-lg-2 col-md-4 col-sm-6 col-xs-12" style="margin-right: 2px;">
- <select name="active_id" required="required" class="form-control" >
- <option value="0" > 选择活动 </option>
- @foreach ($activeList as $value)
- <option value="{{$value['id']}}" @if( request('active_id',0) == $value['id'] ) selected @endif>{{$value['name']}}</option>
- @endforeach
- </select>
- </div>
- <div class="form-group col col-lg-2 col-md-4 col-sm-6 col-xs-12" style="margin-right: 2px;">
- <input type="text" class="form-control" name="custom_code" value="{{request('custom_code','')}}" placeholder="请输入客户编码查询" />
- </div>
- <button type="submit" onclick="alter_from_attr({'method':'get','action':`{{url('admin/riddle_active_record/index')}}`})" class="btn btn-sm btn-primary"> 查询</button>
- <a href="{{url('admin/riddle_active_record/index')}}" class="btn btn-sm btn-default" >重置</a>
- @if( check_auth('admin/riddle_active_record/down_excel') )
- <button type="button" onclick="alter_from_attr({'method':'get','action':`{{url('admin/riddle_active_record/down_excel')}}`})" class="btn btn-sm btn-primary"> 下载</button>
- @endif
- </form>
- <div class="row">
- <div class="col-xs-12">
- <div class="table-responsive">
- <table class="table table-striped table-bordered table-hover">
- <thead>
- <tr>
- <th>记录ID</th>
- <th>活动ID</th>
- <th>活动名称</th>
- <th>客户编码</th>
- <th>客户昵称</th>
- <th>是否答对</th>
- <th>微伴ID</th>
- <th>答题时间</th>
- <th>操作</th>
- </tr>
- </thead>
-
- <tbody>
- @foreach ($list as $a)
- <tr>
- <th>{{$a['id']}}</th>
- <td>{{$a['active_id']}}</td>
- <td>{{$a['active_name']}}</td>
- <td>{{$a['custom_code']}}</td>
- <td>{{$a['username']}}</td>
- <td>{{$a['is_answer']?'是':'否'}}</td>
- <td>{{$a['weiban_extid']??''}}</td>
- <td> {{date('Y/m/d H:i:s',$a['insert_time'])}}</td>
- <td>
-
- </td>
- </tr>
- @endforeach
- <tr>
- <td colspan="20" class="page">{{$list->render()}}</td>
- </tr>
- <tr>
- <td colspan="20">总计 {{$list->total()}} 条记录</td>
- </tr>
- </tbody>
-
- </table>
- </div>
- </div>
- </div>
- @endsection
|