123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <link rel="stylesheet" href="{{theme_asset('statistics/js/layer/skin/default/layer.css')}}?t=1">
- <style>
- .table_form, .table_form tr th, .table_form tr td {
- border: 1px solid #ccc;
- padding: 0 7px
- }
- .table_form {
- width: 100%;
- min-height: 25px;
- line-height: 25px;
- text-align: center;
- border-collapse: collapse;
- padding: 2px;
- max-width: 1200px
- }
- </style>
- <script src="{{ theme_asset('statistics/js/layer/layer.js') }}"></script>
- <!--审核报名-->
- <div id="OpAuditLayer">
- @if(!$switch)
- <div class="notice">
- 无记录
- </div>
- @else
- <form id="J_interviewWrap">
- <input type="hidden" name="_token" value="{{ csrf_token() }}" />
- <input name="ids" type="hidden" value="{{$ids}}"/>
- <input name="type" type="hidden" value="{{$type}}"/>
- <h1 style="text-align: center;line-height: 60px;">
- 健康信息审核
- </h1>
- <table cellspacing="0" width="100%" class="table_form">
- <tr style="height:52px;page-break-inside:avoid">
- <td valign="center">
- 健康码
- </td>
- <td valign="center" colspan="11">
- <div style="padding: 10px 0">
- @if(is_array($info->health_code))
- @foreach($info->health_code as $k => $v)
- @if(!empty($v))
- <img class="attchment" data-key="{{$k}}" data-name="health_code"
- src="{{ $v->response->path }}" width="200"/>
- @endif
- @endforeach
- @else
- 无合法文件
- @endif
- </div>
- </td>
- </tr>
- <tr style="height:52px;page-break-inside:avoid">
- <td valign="center">
- 行程码
- </td>
- <td valign="center" colspan="11">
- <div style="padding: 10px 0">
- @if(is_array($info->trip_code))
- @foreach($info->trip_code as $k => $v)
- @if(!empty($v))
- <img class="attchment" data-key="{{$k}}" data-name="trip_code"
- src="{{ $v->response->path }}" width="200"/>
- @endif
- @endforeach
- @else
- 无合法文件
- @endif
- </div>
- </td>
- </tr>
- <tr>
- <td height="25">审核状态:</td>
- <td>
- <label> <input type="radio" name="h_status" checked="checked" value="1"/> 通过 </label>
- <label> <input type="radio" name="h_status" value="-1"/> 不通过 </label>
- </td>
- </tr>
- <tr id="reason">
- <td height="25">备注:</td>
- <td>
- <textarea maxlength="300" name="reason" cols="50" style="font-size:12px"></textarea>
- </td>
- </tr>
- </table>
- </form>
- @endif
- </div>
- <style>
- p{
- text-indent: 20px;
- }
- </style>
- <script>
- let photos = {!!json_encode($photos)!!};
- $('.attchment').click(function () {
- let key = $(this).data('key');
- let name = $(this).data('name');
- let photo = photos[name];
- console.log(photo);
- photo.start = key;
- layer.photos({
- photos: photo,
- tab: function () {
- num = 0;
- $(".layui-layer-photos").append('<div class="icon" style="position:relative;width:100%;text-align:center;top:-133px;cursor:pointer;">\n' +
- '\t\t<img src="{{ theme_asset('statistics/js/layer/skin/default/turn_left.png') }}" style="width:30px;height30px;">\n' +
- '\t</div>');
- }
- });
- });
- </script>
|