Просмотр исходного кода

更新招考后台新的审核界面

zmw 2 месяцев назад
Родитель
Сommit
c558980af5

+ 232 - 0
app/Admin/Controllers/Recruit/RecruitController.php

@@ -3149,4 +3149,236 @@ class RecruitController extends Controller
             return response()->json(['status' => 0, 'msg' => '参数缺失!', 'data' => 'fail']);
         }
     }
+
+    public function check_out_appoint(Request $request,Content $content){
+        Permission::check('recruit_getUserinfo');
+        Permission::check('recruit_ajax_audit');
+        $id = $request->id;
+        $data = RecruitAppointInfo::where('recruit_appoint_info.id',$id)
+            ->join('recruit_post', 'recruit_appoint_info.post_id', '=', 'recruit_post.id', 'left')
+            ->join('recruit_appoint_expand_special', 'recruit_appoint_info.id', '=', 'recruit_appoint_expand_special.recruit_appoint_id', 'left')
+            ->join('recruit_appoint_detail', 'recruit_appoint_detail.recruit_appoint_id', '=', 'recruit_appoint_info.id', 'left')
+            ->select('recruit_appoint_info.*', 'recruit_post.name', 'recruit_post.code', 'recruit_appoint_detail.train', 'recruit_appoint_detail.rewards_and_punishments', 'recruit_appoint_detail.introduce', 'recruit_appoint_expand_special.point_apply', 'recruit_appoint_expand_special.condition', 'recruit_appoint_expand_special.point', 'recruit_appoint_expand_special.material')
+            ->first();
+        $recruit = Recruit::where('id',$data->recruit_id)->first();
+        $post = RecruitPost::where('recruit_id', $data->recruit_id)->get();
+        if($recruit->special){
+            $this->show();
+        }
+        $recruit->forms = explode(',', $recruit->forms);
+        $data->family = json_decode($data->family);
+        if ($data->family) {
+            foreach ($data->family as $k => $v) {
+                $v->political_affiliation = RecruitAppointInfo::$political_affiliation[$v->political_affiliation];
+            }
+        }
+
+        //layer相册层
+        $photos = [
+            'material'=>[],
+            'identification'=>[],
+            'education_certification'=>[],
+            'other_certification'=>[],
+            'hj_certification'=>[],
+        ];
+
+        if(in_array('expand_special',$recruit->forms)){
+
+            if(json_decode($data->material)){
+                $data->material = json_decode($data->material);
+                $photo_data = [];
+                foreach ($data->material as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['material'] = [
+                    'title' => '申请加分佐证材料',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->material = [];
+            }
+        }
+        if(in_array('identification',$recruit->forms)){
+            if(json_decode($data->identification)){
+                $data->identification = json_decode($data->identification);
+                $photo_data = [];
+                foreach ($data->identification as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['identification'] = [
+                    'title' => '身份证明',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->identification = [];
+            }
+        }
+        if(in_array('education_certification',$recruit->forms)){
+            if(json_decode($data->education_certification)){
+                $data->education_certification = json_decode($data->education_certification);
+                $photo_data = [];
+                foreach ($data->education_certification as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['education_certification'] = [
+                    'title' => '学历证明',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->education_certification = [];
+            }
+        }
+        if(in_array('other_certification',$recruit->forms)){
+            if(json_decode($data->other_certification)){
+                $data->other_certification = json_decode($data->other_certification);
+                $photo_data = [];
+                foreach ($data->other_certification as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['other_certification'] = [
+                    'title' => '其他证明',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->other_certification = [];
+            }
+        }
+        if(in_array('hj_certification',$recruit->forms)){
+            if(json_decode($data->hj_certification)){
+                $data->hj_certification = json_decode($data->hj_certification);
+                $photo_data = [];
+                foreach ($data->hj_certification as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['hj_certification'] = [
+                    'title' => '户籍证明',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->hj_certification = [];
+            }
+        }
+        if(in_array('chengnuoshu',$recruit->forms)){
+            if(json_decode($data->chengnuoshu)){
+                $data->chengnuoshu = json_decode($data->chengnuoshu);
+                $photo_data = [];
+                foreach ($data->chengnuoshu as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['chengnuoshu'] = [
+                    'title' => '诚信承诺书',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->chengnuoshu = [];
+            }
+        }
+        if(in_array('shixin',$recruit->forms)){
+            if(json_decode($data->shixin)){
+                $data->shixin = json_decode($data->shixin);
+                $photo_data = [];
+                foreach ($data->shixin as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['shixin'] = [
+                    'title' => '失信被执行人查询信息页扫描件',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->shixin = [];
+            }
+        }
+        if(in_array('baokaoshengming',$recruit->forms)){
+            if(json_decode($data->baokaoshengming)){
+                $data->baokaoshengming = json_decode($data->baokaoshengming);
+                $photo_data = [];
+                foreach ($data->baokaoshengming as $k => $v) {
+                    if($v->status){
+                        $photo_data[] = [
+                            'alt' => $v->name,
+                            'pid' => $v->uid,
+                            'src' => $v->response->path,
+                        ];
+                    }
+                }
+                $photos['baokaoshengming'] = [
+                    'title' => '报考声明书',
+                    'id' => 1,
+                    'start' => 0,
+                    'data' =>$photo_data
+                ];
+            }else{
+                $data->baokaoshengming = [];
+            }
+        }
+        return $content
+            ->header('报名审核管理')
+            ->description('报名审核管理')
+            ->body(view('admin.recruit.check_out_appoint')->with([
+                'appointinfo' => $data,
+                'recruit' => $recruit,
+                'photos' => $photos,
+                'ids' => $id,
+                'post' => $post
+            ]));
+
+
+
+    }
 }

+ 1 - 0
app/Admin/routes.php

@@ -437,6 +437,7 @@ Route::group([
         $router->get('manage/getRecruitPost', 'RecruitController@getRecruitPost')->name('recruit.getRecruitPost');//获得招考岗位表
         $router->get('appoint_list', 'RecruitController@appointList')->name('recruit.appoint_list');//报名管理
         $router->get('getUserinfo', 'RecruitController@getUserinfo')->name('recruit.getUserinfo');
+        $router->get('check_out_appoint', 'RecruitController@check_out_appoint')->name('recruit.check_out_appoint');
         $router->get('ajax_audit', 'RecruitController@ajax_audit')->name('recruit.ajax_audit');
         $router->get('show_log', 'RecruitController@showLog')->name('recruit.show_log');
         $router->get('fetch_word', 'RecruitController@fetch_word')->name('recruit.fetch_word');

+ 3 - 0
resources/views/admin/recruit/appoint_list.blade.php

@@ -394,6 +394,9 @@
                                             <td>
                                                 <button class='btn btn-primary btn-xs business ButCompared' data-param="{{$v->id}}" data-url="{{ route('recruit.getUserinfo') }}" style="margin-bottom: 10px" >查看报名信息</button>
                                                 <button class='btn btn-primary btn-xs appoint_audit' data-param="{{$v->id}}" style="margin-bottom: 10px">报名审核</button>
+                                                <a href="{{ route('recruit.check_out_appoint',['id' => $v->id]) }}">
+                                                    <button class='btn btn-primary btn-xs appoint_audit_new' data-param="{{$v->id}}" style="margin-bottom: 10px">(新)报名审核</button>
+                                                </a>
                                                 <button class='btn btn-primary btn-xs fetch_word' data-rid="{{$v->recruit_id}}" data-aid="{{$v->id}}" style="margin-bottom: 10px">生成word简历</button>
                                                 @if($recruit->pen_health == 1)
                                                     <button class='btn btn-primary btn-xs health' data-param="{{$v->id}}" data-type="pen" style="margin-bottom: 10px">笔试健康信息审核</button>

+ 1067 - 0
resources/views/admin/recruit/check_out_appoint.blade.php

@@ -0,0 +1,1067 @@
+<link rel="stylesheet" href="{{theme_asset('statistics/js/layer/skin/default/layer.css')}}?t=1">
+<link href="{{ theme_asset('app/css/swiper.min.css') }}" rel="stylesheet">
+<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
+    }
+
+    .avatar {
+        width: 178px;
+        height: 178px;
+        display: block;
+    }
+
+
+
+    .OpAuditLayer{
+        position: fixed;
+        top: 20%;
+        right: 30px;
+        border: 1px solid #ccc;
+        background: #fff;
+        padding: 30px;
+    }
+    .swiper-container{
+        width: 400px;
+        height:400px;
+        position: fixed;
+        top: 50%;
+        right: 30px;
+        border: 1px solid #ccc;
+        background: #fff;
+    }
+    .post{
+        position: fixed;
+        top: 20%;
+        border: 1px solid #ccc;
+        background: #fff;
+        width: 300px;
+        padding: 10px;
+    }
+</style>
+<section class="content">
+    <div class="row">
+        <div class="col-md-3">
+            <div class="post">
+                <table border="1" cellspacing="1" cellpadding="1" width="100%">
+                    <thead>
+                    <tr>
+                        <th width="40%">
+                            岗位名称
+                        </th>
+                        <th>
+                            岗位要求
+                        </th>
+                    </tr>
+                    </thead>
+                    @foreach($post as $item)
+                        <tr>
+                            <td>
+                                {{$item->code}} {{$item->name}}
+                            </td>
+                            <td>
+                                {{$item->requirement}}
+                            </td>
+                        </tr>
+                    @endforeach
+                </table>
+            </div>
+        </div>
+        <div class="col-md-6">
+            <div class="box">
+                @if(in_array('internship',$recruit->forms))
+                    <table cellspacing="0" width="100%" class="table_form">
+                        <tbody>
+                        <tr style="height:52px;page-break-inside:avoid" class="firstRow">
+                            <td valign="center" width="100">
+                                姓名
+                            </td>
+                            <td valign="center" colspan="4" width="200">
+                                {{$appointinfo->realname}}
+                            </td>
+                            <td valign="center" width="80">
+                                性别
+                            </td>
+                            <td valign="center" colspan="2">
+                                @if($appointinfo->sex == '0')
+                                    女
+                                @else
+                                    男
+                                @endif
+                            </td>
+                            <td valign="center" width="100">
+                                出生年月
+                            </td>
+                            <td valign="center" colspan="2" width="200">
+                                {{$appointinfo->birthday}}
+                            </td>
+                            <td valign="center" rowspan="3" width="200">
+                                <img src="{{$appointinfo->avatar}}" class="avatar">
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                {{$appointinfo->card_type}}
+                            </td>
+                            <td valign="center" colspan="4">
+                                {{$appointinfo->card}}
+                            </td>
+                            <td valign="center">
+                                民族
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{$appointinfo->nation}}
+                            </td>
+                            <td valign="center">
+                                籍贯
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{$appointinfo->native_place}}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                政治面貌
+                            </td>
+                            <td valign="center" colspan="4">
+                                @switch($appointinfo->political_affiliation)
+                                    @case ('01')
+                                        中共党员
+                                        @break
+                                    @case ('02')
+                                        中共预备党员
+                                        @break
+                                    @case ('03')
+                                        共青团员
+                                        @break
+                                    @case ('04')
+                                        民革党员
+                                        @break
+                                    @case ('05')
+                                        民盟盟员
+                                        @break
+                                    @case ('06')
+                                        民建会员
+                                        @break
+                                    @case ('07')
+                                        民进会员
+                                        @break
+                                    @case ('08')
+                                        农工党党员
+                                        @break
+                                    @case ('09')
+                                        致公党党员
+                                        @break
+                                    @case ('10')
+                                        九三学社社员
+                                        @break
+                                    @case ('11')
+                                        台盟盟员
+                                        @break
+                                    @case ('12')
+                                        无党派人士
+                                        @break
+                                    @case ('13')
+                                        群众
+                                        @break
+                                @endswitch
+                            </td>
+                            <td valign="center">
+                                入党时间
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{ $appointinfo->join_time }}
+                            </td>
+                            <td valign="center">
+                                户籍所在地
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{ $appointinfo->house_register }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                年级
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->education }}
+                            </td>
+                            <td valign="center">
+                                就读院校
+                            </td>
+                            <td valign="center" colspan="4">
+                                {{ $appointinfo->school }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                所学专业
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->pro }}
+                            </td>
+                            <td valign="center">
+                                是否接受调剂
+                            </td>
+                            <td valign="center" colspan="4">
+                                @if($appointinfo->adjust == '0')
+                                    否
+                                @else
+                                    是
+                                @endif
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                联系电话
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->mobile }}
+                            </td>
+                            <td valign="center" colspan="1">
+                                电子邮箱
+                            </td>
+                            <td valign="center" colspan="3">
+                                {{ $appointinfo->email }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                通信地址
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->address }}
+                            </td>
+                            <td valign="center">
+                                报名岗位
+                            </td>
+                            <td valign="center" colspan="3">
+                                {{ $appointinfo->code }} {{ $appointinfo->name }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                紧急联系人<br/>姓名
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->concat_name }}
+                            </td>
+                            <td valign="center">
+                                联系电话
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->concat_mobile }}
+                            </td>
+                        </tr>
+                        <tr style="height:275px;page-break-inside:avoid">
+                            <td valign="center">
+                                &nbsp;个<br/>
+                                &nbsp;人<br/>
+                                &nbsp;简<br/>
+                                &nbsp;历
+                            </td>
+                            <td valign="center" colspan="11">
+                                <textarea style="width: 100%;height: 250px" readonly>{{ $appointinfo->resume }}</textarea>
+                            </td>
+                        </tr>
+                        <tr style="height:94px;page-break-inside:avoid">
+                            <td valign="center">
+                                奖<br/>
+                                惩<br/>
+                                情<br/>
+                                况
+                            </td>
+                            <td valign="center" colspan="11">
+            <textarea style="width: 100%;height: 250px"
+                      readonly>{{ $appointinfo->rewards_and_punishments }}</textarea>
+                            </td>
+                        </tr>
+                        <tr style="height:159px;page-break-inside:avoid">
+                            <td valign="center">
+                                个<br/>
+                                人<br/>
+                                情<br/>
+                                况<br/>
+                                介<br/>
+                                绍
+                            </td>
+                            <td valign="center" colspan="11">
+                                <textarea style="width: 100%;height: 250px" readonly>{{ $appointinfo->introduce }}</textarea>
+                            </td>
+                        </tr>
+                        <tr style="height:47px;page-break-inside:avoid">
+                            <td valign="center" rowspan="{{ count($appointinfo->family)+1 }}">
+                                家庭成员及其主要社会关系
+                            </td>
+                            <td valign="center">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">称谓</span>
+                                </p>
+                            </td>
+                            <td width="200" valign="center" colspan="4">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">姓名</span>
+                                </p>
+                            </td>
+                            <td width="87" valign="center" colspan="2">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">出生年月</span>
+                                </p>
+                            </td>
+                            <td width="98" valign="center" colspan="1">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">政治面貌</span>
+                                </p>
+                            </td>
+                            <td width="241" valign="center" colspan="3">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">工作单位及职位</span>
+                                </p>
+                            </td>
+                        </tr>
+                        @foreach($appointinfo->family as $k => $v)
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td width="85" valign="center">
+                                    {{ $v->relation }}
+                                </td>
+                                <td width="200" valign="center" colspan="4">
+                                    {{ $v->realname }}
+                                </td>
+                                <td width="87" valign="center" colspan="2">
+                                    {{ $v->birthday }}
+                                </td>
+                                <td width="98" valign="center" colspan="1">
+                                    {{ $v->political_affiliation }}
+                                </td>
+                                <td width="241" valign="center" colspan="3">
+                                    {{ $v->work }}
+                                </td>
+                            </tr>
+                        @endforeach
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                身份证明<br/>
+                                (身份证或其他身份证明证件)
+                            </td>
+                            <td valign="center" colspan="11">
+                                <div style="padding: 10px 0">
+                                    @foreach($appointinfo->identification as $k => $v)
+                                        @if(!empty($v))
+                                            <img class="attchment" data-key="{{$k}}" data-name="identification"
+                                                 src="{{ $v->response->path }}"/>
+                                        @endif
+                                    @endforeach
+                                </div>
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                学历证明<br/>
+                                (学信网《教育部学籍在线验证报告》)
+                            </td>
+                            <td valign="center" colspan="11">
+                                <div style="padding: 10px 0">
+                                    @foreach($appointinfo->education_certification as $k => $v)
+                                        @if(!empty($v))
+                                            <img class="attchment" data-key="{{$k}}" data-name="education_certification"
+                                                 src="{{ $v->response->path }}"/>
+                                        @endif
+                                    @endforeach
+                                </div>
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                其他证明<br/>
+                                (党员、学生干部等证明)
+                            </td>
+                            <td valign="center" colspan="11">
+                                <div style="padding: 10px 0">
+                                    @foreach($appointinfo->other_certification as $k => $v)
+                                        @if(!empty($v))
+                                            <img class="attchment" data-key="{{$k}}" data-name="other_certification"
+                                                 src="{{ $v->response->path }}"/>
+                                        @endif
+                                    @endforeach
+                                </div>
+                            </td>
+                        </tr>
+
+                        </tbody>
+                    </table>
+
+                @else
+                    <table cellspacing="0" width="100%" class="table_form">
+                        <tbody>
+                        <tr style="height:52px;page-break-inside:avoid" class="firstRow">
+                            <td valign="center" width="100">
+                                姓名
+                            </td>
+                            <td valign="center" colspan="4" width="200">
+                                {{$appointinfo->realname}}
+                            </td>
+                            <td valign="center" width="80">
+                                性别
+                            </td>
+                            <td valign="center" colspan="2">
+                                @if($appointinfo->sex == '0')
+                                    女
+                                @else
+                                    男
+                                @endif
+                            </td>
+                            <td valign="center" width="100">
+                                出生年月
+                            </td>
+                            <td valign="center" colspan="2" width="200">
+                                {{$appointinfo->birthday}}
+                            </td>
+                            <td valign="center" rowspan="3" width="200">
+                                <img src="{{$appointinfo->avatar}}" class="avatar">
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                {{$appointinfo->card_type}}
+                            </td>
+                            <td valign="center" colspan="4">
+                                {{$appointinfo->card}}
+                            </td>
+                            <td valign="center">
+                                民族
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{$appointinfo->nation}}
+                            </td>
+                            <td valign="center">
+                                籍贯
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{$appointinfo->native_place}}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                政治面貌
+                            </td>
+                            <td valign="center" colspan="4">
+                                @switch($appointinfo->political_affiliation)
+                                    @case ('01')
+                                        中共党员
+                                        @break
+                                    @case ('02')
+                                        中共预备党员
+                                        @break
+                                    @case ('03')
+                                        共青团员
+                                        @break
+                                    @case ('04')
+                                        民革党员
+                                        @break
+                                    @case ('05')
+                                        民盟盟员
+                                        @break
+                                    @case ('06')
+                                        民建会员
+                                        @break
+                                    @case ('07')
+                                        民进会员
+                                        @break
+                                    @case ('08')
+                                        农工党党员
+                                        @break
+                                    @case ('09')
+                                        致公党党员
+                                        @break
+                                    @case ('10')
+                                        九三学社社员
+                                        @break
+                                    @case ('11')
+                                        台盟盟员
+                                        @break
+                                    @case ('12')
+                                        无党派人士
+                                        @break
+                                    @case ('13')
+                                        群众
+                                        @break
+                                @endswitch
+                            </td>
+                            <td valign="center">
+                                入党时间
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{ $appointinfo->join_time }}
+                            </td>
+                            <td valign="center">
+                                户籍所在地
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{ $appointinfo->house_register }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                学历
+                            </td>
+                            <td valign="center" colspan="7">
+                                @switch($appointinfo->education)
+                                    @case ('小学')
+                                        小学
+                                        @break
+                                    @case ('初中')
+                                        初中
+                                        @break
+                                    @case ('技校')
+                                        技校
+                                        @break
+                                    @case ('职高')
+                                        职高
+                                        @break
+                                    @case ('高中')
+                                        高中
+                                        @break
+                                    @case ('中专')
+                                        中专
+                                        @break
+                                    @case ('专科')
+                                        专科
+                                        @break
+                                    @case ('本科')
+                                        本科
+                                        @break
+                                    @case ('硕士')
+                                        硕士
+                                        @break
+                                    @case ('博士')
+                                        博士
+                                        @break
+                                @endswitch
+                            </td>
+                            <td valign="center">
+                                毕业院校
+                            </td>
+                            <td valign="center" colspan="2">
+                                {{ $appointinfo->school }}
+                            </td>
+                            <td valign="center">
+                                毕业时间:{{ $appointinfo->graduation }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                学位
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->degree }}
+                            </td>
+                            <td valign="center">
+                                所学专业
+                            </td>
+                            <td valign="center" colspan="4">
+                                {{ $appointinfo->pro }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                联系电话
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->mobile }}
+                            </td>
+                            <td valign="center" colspan="1">
+                                电子邮箱
+                            </td>
+                            <td valign="center" colspan="3">
+                                {{ $appointinfo->email }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                通信地址
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->address }}
+                            </td>
+                            <td valign="center">
+                                报名岗位
+                            </td>
+                            <td valign="center" colspan="3">
+                                {{ $appointinfo->code }} {{ $appointinfo->name }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                现工作单位及职务
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->work }}
+                            </td>
+                            <td valign="center">
+                                职称或职业资格
+                            </td>
+                            <td valign="center" colspan="3">
+                                {{ $appointinfo->titles }}
+                            </td>
+                        </tr>
+                        <tr style="height:52px;page-break-inside:avoid">
+                            <td valign="center">
+                                紧急联系人<br/>姓名
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->concat_name }}
+                            </td>
+                            <td valign="center">
+                                联系电话
+                            </td>
+                            <td valign="center" colspan="7">
+                                {{ $appointinfo->concat_mobile }}
+                            </td>
+                        </tr>
+                        @if(in_array('expand_special',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    是否申请加分
+                                </td>
+                                <td valign="center" colspan="1">
+                                    @if($appointinfo->point_apply == 0)
+                                        否
+                                    @else
+                                        是
+                                    @endif
+                                </td>
+                                <td valign="center" colspan="3">
+                                    符合哪一项加分条件
+                                </td>
+                                <td valign="center" colspan="4">
+
+                                    {{ $appointinfo->condition }}
+                                </td>
+                                <td valign="center"  colspan="2">累计加分值</td>
+                                <td valign="center">
+                                    {{ $appointinfo->point }}
+                                </td>
+                            </tr>
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    申请加分佐证材料
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->material as $k => $v)
+                                            <img class="attchment" data-key="{{$k}}" data-name="material" src="{{ $v->response->path }}"/>
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        <tr style="height:275px;page-break-inside:avoid">
+                            <td valign="center">
+                                &nbsp;个<br/>
+                                &nbsp;人<br/>
+                                &nbsp;简<br/>
+                                &nbsp;历
+                            </td>
+                            <td valign="center" colspan="11">
+                                <textarea style="width: 100%;height: 250px" readonly>{{ $appointinfo->resume }}</textarea>
+                            </td>
+                        </tr>
+                        @if(in_array('detail',$recruit->forms))
+                            <tr style="height:132px;page-break-inside:avoid">
+                                <td valign="center">
+                                    培<br/>
+                                    训<br/>
+                                    学<br/>
+                                    习<br/>
+                                    经<br/>
+                                    历
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <textarea style="width: 100%;height: 250px" readonly>{{ $appointinfo->train }}</textarea>
+                                </td>
+                            </tr>
+                            <tr style="height:94px;page-break-inside:avoid">
+                                <td valign="center">
+                                    奖<br/>
+                                    惩<br/>
+                                    情<br/>
+                                    况
+                                </td>
+                                <td valign="center" colspan="11">
+                <textarea style="width: 100%;height: 250px"
+                          readonly>{{ $appointinfo->rewards_and_punishments }}</textarea>
+                                </td>
+                            </tr>
+                            <tr style="height:159px;page-break-inside:avoid">
+                                <td valign="center">
+                                    个<br/>
+                                    人<br/>
+                                    情<br/>
+                                    况<br/>
+                                    介<br/>
+                                    绍
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <textarea style="width: 100%;height: 250px" readonly>{{ $appointinfo->introduce }}</textarea>
+                                </td>
+                            </tr>
+                        @endif
+                        <tr style="height:47px;page-break-inside:avoid">
+                            <td valign="center" rowspan="{{ count($appointinfo->family)+1 }}">
+                                家庭成员及其主要社会关系
+                            </td>
+                            <td valign="center">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">称谓</span>
+                                </p>
+                            </td>
+                            <td width="200" valign="center" colspan="4">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">姓名</span>
+                                </p>
+                            </td>
+                            <td width="87" valign="center" colspan="2">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">出生年月</span>
+                                </p>
+                            </td>
+                            <td width="98" valign="center" colspan="1">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">政治面貌</span>
+                                </p>
+                            </td>
+                            <td width="241" valign="center" colspan="3">
+                                <p style=";text-align:center">
+                                    <span style=";font-family:宋体;font-size:14px">工作单位及职位</span>
+                                </p>
+                            </td>
+                        </tr>
+                        @foreach($appointinfo->family as $k => $v)
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td width="85" valign="center">
+                                    {{ $v->relation }}
+                                </td>
+                                <td width="200" valign="center" colspan="4">
+                                    {{ $v->realname }}
+                                </td>
+                                <td width="87" valign="center" colspan="2">
+                                    {{ $v->birthday }}
+                                </td>
+                                <td width="98" valign="center" colspan="1">
+                                    {{ $v->political_affiliation }}
+                                </td>
+                                <td width="241" valign="center" colspan="3">
+                                    {{ $v->work }}
+                                </td>
+                            </tr>
+                        @endforeach
+                        @if(in_array('identification',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    身份证明<br/>
+                                    (身份证或其他身份证明证件)
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->identification as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="identification"
+                                                     src="{{ $v->response->path }}"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('education_certification',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    学历证明<br/>
+                                    (学历、学位、学信网及考试要求的证明文件)
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->education_certification as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="education_certification"
+                                                     src="{{ $v->response->path }}"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('other_certification',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    其他证明<br/>
+                                    (职业资格、职称、工作、党员、英语水平等证明)
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->other_certification as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="other_certification"
+                                                     src="{{ $v->response->path }}?v=1"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('hj_certification',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    户籍证明
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->hj_certification as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="hj_certification"
+                                                     src="{{ $v->response->path }}?v=1"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('chengnuoshu',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    诚信承诺书
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->chengnuoshu as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="chengnuoshu"
+                                                     src="{{ $v->response->path }}?v=1"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('shixin',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    失信被执行人查询信息页扫描件
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->shixin as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="shixin"
+                                                     src="{{ $v->response->path }}?v=1"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('baokaoshengming',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    报考声明书
+                                </td>
+                                <td valign="center" colspan="11">
+                                    <div style="padding: 10px 0">
+                                        @foreach($appointinfo->baokaoshengming as $k => $v)
+                                            @if(!empty($v))
+                                                <img class="attchment" data-key="{{$k}}" data-name="baokaoshengming"
+                                                     src="{{ $v->response->path }}?v=1"/>
+                                            @endif
+                                        @endforeach
+                                    </div>
+                                </td>
+                            </tr>
+                        @endif
+                        @if(in_array('remark',$recruit->forms))
+                            <tr style="height:52px;page-break-inside:avoid">
+                                <td valign="center">
+                                    备注
+                                </td>
+                                <td valign="center" colspan="11">
+                                    {{ $appointinfo->remark }}
+                                </td>
+                            </tr>
+                        @endif
+                        </tbody>
+                    </table>
+                @endif
+
+            </div>
+        </div>
+        <div class="col-md-3" style="position: relative">
+            <div id="OpAuditLayer" class="OpAuditLayer">
+                <form id="J_interviewWrap">
+                    <input type="hidden" name="_token" value="{{ csrf_token() }}" />
+                    <table border="0" cellspacing="0" cellpadding="0">
+                        <tr style="padding: 10px 0;border-bottom: 1px dashed #ccc">
+                            <td height="100" colspan="2" >
+                                <strong style="color:#0066CC; font-size:14px;">审核说明及注意事项:</strong>
+                                <p>1.审核通过务必选择该岗位需参加的考试流程;</p>
+                                <p>2.若选择的考试流程对应招考场次未设置,则自动跳过;</p>
+                                <p>3.审核结果将发送短信通知,请慎重审核。</p>
+                                <input name="ids" type="hidden" value="{{$ids}}"/>
+                            </td>
+                        </tr>
+                        <tr>
+                            <td colspan="2" height="10"></td>
+                        </tr>
+                        <tr >
+                            <td width="70" height="25">审核状态:</td>
+                            <td>
+                                <label> <input type="radio" name="audit" checked="checked" value="3"/> 通过 </label>&nbsp;&nbsp;
+                                <label> <input type="radio" name="audit" value="2"/> 不通过 </label>&nbsp;&nbsp;
+                                <label> <input type="radio" name="audit" value="1"/> 撤回至未审核 </label> &nbsp;&nbsp;
+                            </td>
+                        </tr>
+                        <tr>
+                            <td width="70" height="25">考试流程:</td>
+                            <td>
+                                <label> <input type="checkbox" name="exam_flow_path[]" value="pen"/> 笔试 </label>&nbsp;&nbsp;
+                                <label> <input type="checkbox" name="exam_flow_path[]" value="computer"/> 上机 </label>&nbsp;&nbsp;
+                                <label> <input type="checkbox" name="exam_flow_path[]" value="face"/> 面试 </label> &nbsp;&nbsp;
+                                <label> <input type="checkbox" name="exam_flow_path[]" value="reexamine"/> 复试 </label> &nbsp;&nbsp;
+                            </td>
+                        </tr>
+                        <tr id="reason">
+                            <td width="70" height="25">备注:</td>
+                            <td>
+                                <textarea maxlength="300" name="reason" cols="50" style="font-size:12px"></textarea>
+                            </td>
+                        </tr>
+                        <tr>
+                            <td></td>
+                            <td>
+                                <input type="button" class="btn btn-primary J_btnyes" value="提交审核" />
+                            </td>
+                        </tr>
+                    </table>
+
+                </form>
+            </div>
+            <div class="swiper-container">
+                <div class="swiper-wrapper">
+                    @foreach($photos as $k=>$v)
+                        @if(count($v) > 0 && count($v['data']) > 0)
+                            @foreach($v['data'] as $key => $item)
+                                <div class="swiper-slide">
+                                    <a title="{{ $v['title'] }}">
+                                        <img class="attchment" data-key="{{$key}}" data-name="{{$k}}" src="{{upload_asset($item['src'])}}" border="0"/>
+                                    </a>
+                                    <p style="text-align: center">
+                                        {{ $v['title'] }}
+                                    </p>
+                                </div>
+                            @endforeach
+                        @endif
+
+                    @endforeach
+                </div>
+                <div class="swiper-pagination"></div>
+                <div class="swiper-button-prev"></div>
+                <div class="swiper-button-next"></div>
+            </div>
+        </div>
+    </div>
+
+</section>
+<script src="{{theme_asset('mobile/js/swiper.min.js')}}"></script>
+<script src="{{ theme_asset('statistics/js/layer/layer.js') }}"></script>
+<script>
+    //    初始化SWiper
+    var mySwiper = new Swiper('.swiper-container',{
+        direction:'horizontal',
+        loop:true,
+        autoplay:false,
+
+        pagination:'.swiper-pagination',//分页器
+        //前进后退按钮
+        nextButton:'.swiper-button-next',
+        prevButton:'.swiper-button-prev',
+    });
+
+    $(".J_btnyes").on("click",function(){
+        $('.J_btnyes').val('发送中...');
+        window.location.href="{{ route('recruit.appoint_list',['id'=>$recruit->id]) }}"
+        return false;
+        $.post("{{ route('recruit.appoint_audit') }}", $('#J_interviewWrap').serialize(), function(result) {
+            if (result.status == 1) {
+                disapperTooltip('success', result.msg);
+                setTimeout(function() {
+                    window.location.href="{{ route('recruit.appoint_list',['id'=>$recruit->id]) }}"
+                }, 2000);
+            } else {
+                $('.J_btnyes').val('确定');
+                disapperTooltip('remind', result.msg);
+            }
+        }, 'json');
+    });
+
+    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>');
+            }
+        });
+    });
+
+    $(document).on("click", ".icon img", function (e) {
+        num = (num + 90) % 360;
+        $("#layui-layer-photos").css('transform', 'rotate(' + num + 'deg)');
+
+        //$(".layui-layer-phimg img").css('transform','rotate('+num+'deg)');此处只能旋转图片
+    });
+
+
+    $(document).on("mousewheel DOMMouseScroll", ".layui-layer-phimg img", function (e) {
+        var delta = (e.originalEvent.wheelDelta && (e.originalEvent.wheelDelta > 0 ? 1 : -1)) || // chrome & ie
+            (e.originalEvent.detail && (e.originalEvent.detail > 0 ? -1 : 1)); // firefox
+        var imagep = $(".layui-layer-phimg").parent().parent();
+        var image = $(".layui-layer-phimg").parent();
+        var h = image.height();
+        var w = image.width();
+        if (delta > 0) {
+
+            h = h * 1.05;
+            w = w * 1.05;
+
+        } else if (delta < 0) {
+            if (h > 100) {
+                h = h * 0.95;
+                w = w * 0.95;
+            }
+        }
+        imagep.css("top", (window.innerHeight - h) / 2);
+        imagep.css("left", (window.innerWidth - w) / 2);
+        image.height(h);
+        image.width(w);
+        imagep.height(h);
+        imagep.width(w);
+
+    });
+</script>