123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- @extends('admin.public.base')
- @section('body_class')
- style="margin: 0 auto;width: 96%;padding: 30px 0px;"
- @endsection
- @section('content')
- <div class="page-header">
-
- </div>
- <form action="" method="get" class="form-horizontal form-line">
- <div class="form-group col col-lg-2 col-md-2" style="margin-right: 2px;">
- <select class="form-control" name="notes_type" >
- <option value="0" @if (request('notes_type',0) == 0) selected="selected" @endif>操作类型</option>
- <option value="1" @if (request('notes_type',0) == 1) selected="selected" @endif>添加</option>
- <option value="2" @if (request('notes_type',0) == 2) selected="selected" @endif>修改</option>
- <option value="3" @if (request('notes_type',0) == 3) selected="selected" @endif>删除</option>
- </select>
- </div>
- <div class="form-group col col-lg-2 col-md-2" style="margin-right: 2px;">
- <select class="form-control" name="admin_uid" >
- <option value="">选择人员</option>
- @foreach ($adminUsers as $key=>$value)
- <option value="{{$value['uid']}}" @if (request('admin_uid',0) == $value['uid']) selected="selected" @endif>{{$value['username']}}</option>
- @endforeach
- </select>
- </div>
- <input type="hidden" name="table" value="{{request('table','')}}">
- <input type="hidden" name="primary_id" value="{{request('primary_id',0)}}">
- <input type="submit" class="btn btn-sm btn-primary" value="查询"/>
- </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>操作类型</th>
- <th>操作字段</th>
- <th>操作之前</th>
- <th>操作结果</th>
- <th>操作人员</th>
- <th>操作时间</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($list as $a)
- <tr>
- <th>{{request('primary_id',0)}}</th>
- <td>{{$a['notes_type']}}</td>
- <td>【{{$a['table_name']}}】{{$a['column_name']}}</td>
- <td>{{$a['before_value']}}</td>
- <td>{{$a['after_value']}}</td>
- <td>{{$a['admin_name']}}</td>
- <td>{{date('Y-m-d H:i:s',$a['update_time'])}}</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
|