|
@@ -17,7 +17,7 @@
|
|
|
|
|
|
<div class="col-sm-4">
|
|
<div class="col-sm-4">
|
|
<div class="input-group">
|
|
<div class="input-group">
|
|
- <input type="text" value="{{Request::get('keyword')}}" placeholder="请输入关键词"
|
|
|
|
|
|
+ <input type="text" value="{{Request::get('keyword')}}" placeholder="考号/联系方式/查询时间"
|
|
name="keyword" class="input-sm form-control">
|
|
name="keyword" class="input-sm form-control">
|
|
<span class="input-group-btn">
|
|
<span class="input-group-btn">
|
|
<button type="submit" class="btn btn-sm btn-primary">搜索</button>
|
|
<button type="submit" class="btn btn-sm btn-primary">搜索</button>
|
|
@@ -30,58 +30,23 @@
|
|
<table class="table table-striped table-bordered table-hover dataTables-example dataTable">
|
|
<table class="table table-striped table-bordered table-hover dataTables-example dataTable">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
-
|
|
|
|
- <th class="sorting" data-sort="id"></th>
|
|
|
|
<th class="sorting" data-sort="is_paid"> 是否付费</th>
|
|
<th class="sorting" data-sort="is_paid"> 是否付费</th>
|
|
<th class="sorting" data-sort="cnumber"> 考号</th>
|
|
<th class="sorting" data-sort="cnumber"> 考号</th>
|
|
<th class="sorting" data-sort="grade"> 高考分数</th>
|
|
<th class="sorting" data-sort="grade"> 高考分数</th>
|
|
<th class="sorting" data-sort="mobile"> 联系方式</th>
|
|
<th class="sorting" data-sort="mobile"> 联系方式</th>
|
|
<th class="sorting" data-sort="query_time">查询时间</th>
|
|
<th class="sorting" data-sort="query_time">查询时间</th>
|
|
- <th class="sorting" data-sort="created_at">创建时间</th>
|
|
|
|
- <th width="22%">相关操作</th>
|
|
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@if(isset($list))
|
|
@if(isset($list))
|
|
@foreach($list as $key => $item)
|
|
@foreach($list as $key => $item)
|
|
<tr>
|
|
<tr>
|
|
-
|
|
|
|
- <td>{{ $item->id }}</td>
|
|
|
|
<td>{{ $item->is_paid }}</td>
|
|
<td>{{ $item->is_paid }}</td>
|
|
<td>{{ $item->cnumber }}</td>
|
|
<td>{{ $item->cnumber }}</td>
|
|
<td>{{ $item->grade }}</td>
|
|
<td>{{ $item->grade }}</td>
|
|
<td>{{ $item->mobile }}</td>
|
|
<td>{{ $item->mobile }}</td>
|
|
<td>{{ $item->query_time }}</td>
|
|
<td>{{ $item->query_time }}</td>
|
|
- <td>{{ $item->created_at }}</td>
|
|
|
|
- <td>
|
|
|
|
- <div class="btn-group">
|
|
|
|
- <button data-toggle="dropdown"
|
|
|
|
- class="btn btn-warning btn-sm dropdown-toggle"
|
|
|
|
- aria-expanded="false">
|
|
|
|
- 操作 <span class="caret"></span>
|
|
|
|
- </button>
|
|
|
|
- <ul class="dropdown-menu">
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- @if(role('Query/Info/update'))
|
|
|
|
- <li><a href="{{ U('Query/Info/update',['id'=>$item->id])}}"
|
|
|
|
- class="font-bold">修改</a></li>
|
|
|
|
- @endif
|
|
|
|
-
|
|
|
|
- @if(role('Query/Info/destroy'))
|
|
|
|
- <li class="divider"></li>
|
|
|
|
- <li><a href="{{ U('Query/Info/destroy',['id'=>$item->id])}}"
|
|
|
|
- onclick="return confirm('你确定执行删除操作?');">删除</a></li>
|
|
|
|
- @endif
|
|
|
|
|
|
|
|
- </ul>
|
|
|
|
- </div>
|
|
|
|
- @if(role('Query/Info/view'))
|
|
|
|
- <button onclick="layer.open({type: 2,area: ['80%', '90%'],content: '{{ U('Query/Info/view',['id'=>$item->id])}}'});"
|
|
|
|
- class="btn btn-primary ">查看
|
|
|
|
- </button>
|
|
|
|
- @endif
|
|
|
|
- </td>
|
|
|
|
</tr>
|
|
</tr>
|
|
@endforeach
|
|
@endforeach
|
|
@endif
|
|
@endif
|