Quellcode durchsuchen

集成电路岗位投递信息

linwu vor 1 Monat
Ursprung
Commit
03bf0e33d5

+ 13 - 26
app/Admin/Controllers/Health/IndexController.php

@@ -4,12 +4,10 @@ namespace App\Admin\Controllers\Health;
 
 use App\Admin\Extensions\Form\ValidateForm;
 use App\Http\Controllers\Controller;
-use App\Models\ArticleCategory;
 use App\Models\PostAppoint;
 use App\Models\Presentation;
 use App\Models\PresentationAppoint;
 use Encore\Admin\Auth\Permission;
-use Encore\Admin\Form;
 use Encore\Admin\Grid;
 use Encore\Admin\Layout\Content;
 use Encore\Admin\Facades\Admin;
@@ -217,14 +215,11 @@ class IndexController extends Controller
         $search_data = $request->all();
 
         $where = [];
-        if (isset($search_data['id'])) {
-
-            foreach ($search_data as $k => $v) {
-                if ($k == 'realname') {
-                    $where[] = [$k, 'like', "%$v%"];
-                } elseif ($k != '_pjax' and $k != 'page' && $k != 'perpage') {
-                    $where[] = [$k, '=', $v];
-                }
+        foreach ($search_data as $k => $v) {
+            if ($k == 'realname') {
+                $where[] = [$k, 'like', "%$v%"];
+            } elseif (in_array($k,['sex','education'])) {
+                $where[] = [$k, '=', $v];
             }
         }
         $perpage = 20;
@@ -277,14 +272,9 @@ class IndexController extends Controller
         $search_data = $request->all();
 
         $where = [];
-        if (isset($search_data['id'])) {
-
-            foreach ($search_data as $k => $v) {
-                if ($k == 'realname') {
-                    $where[] = [$k, 'like', "%$v%"];
-                } elseif ($k != '_pjax' and $k != 'page' && $k != 'perpage') {
-                    $where[] = [$k, '=', $v];
-                }
+        foreach ($search_data as $k => $v) {
+            if ($k == 'realname') {
+                $where[] = [$k, 'like', "%$v%"];
             }
         }
         $perpage = 20;
@@ -330,14 +320,11 @@ class IndexController extends Controller
         $search_data = $request->all();
 
         $where = [];
-        if (isset($search_data['id'])) {
-
-            foreach ($search_data as $k => $v) {
-                if ($k == 'realname') {
-                    $where[] = [$k, 'like', "%$v%"];
-                } elseif ($k != '_pjax' and $k != 'page' && $k != 'perpage') {
-                    $where[] = [$k, '=', $v];
-                }
+        foreach ($search_data as $k => $v) {
+            if ($k == 'realname') {
+                $where[] = [$k, 'like', "%$v%"];
+            } elseif (in_array($k,['sex','education'])) {
+                $where[] = ['post_appoint.'.$k, '=', $v];
             }
         }
         $perpage = 20;

+ 69 - 0
app/Admin/Controllers/Ic/IndexController.php

@@ -0,0 +1,69 @@
+<?php
+
+namespace App\Admin\Controllers\Ic;
+
+use App\Http\Controllers\Controller;
+use App\Models\PostAppointIc;
+use Encore\Admin\Auth\Permission;
+use Encore\Admin\Layout\Content;
+use Illuminate\Http\Request;
+
+class IndexController extends Controller
+{
+    public function postInfoList(Content $content, Request $request){
+        Permission::check('icPostInfoList');
+
+        $search_data = $request->all();
+
+        $where = [];
+        foreach ($search_data as $k => $v) {
+            if ($k == 'realname') {
+                $where[] = [$k, 'like', "%$v%"];
+            } elseif (in_array($k,['sex','education'])) {
+                $where[] = ['post_appoint_ic.'.$k, '=', $v];
+            }
+        }
+        $perpage = 20;
+        $list = PostAppointIc::where($where)
+            ->leftJoin("jobs","jobs.id",'=','post_appoint_ic.job_id')
+            ->select('post_appoint_ic.*','jobs.jobs_name','jobs.company_name')
+            ->orderBy('updated_at','desc')
+            ->paginate($perpage);
+
+        foreach ($list as $k => $v){
+            $v->native_place_cn = get_district_cn($v->native_place);
+            $v->education = get_category($v->education);
+            if($v->sex == 1){
+                $list[$k]['sex'] = '男';
+            }else{
+                $list[$k]['sex'] = '女';
+            }
+            if($v->status == 0){
+                $list[$k]['status'] = '未下载';
+            }else{
+                $list[$k]['status'] = '已下载';
+            }
+        }
+
+        return $content
+            ->header('信息管理')
+            ->description('投递岗位人员信息列表')
+            ->body(view('admin.ic.post_appoint_list')->with([
+                'list' => $list,
+                'search_data' => $search_data
+            ]));
+    }
+
+    public function postStatus(Request $request){
+        Permission::check('icPostInfoList');
+        $info = PostAppointIc::where(['id' => $request->id])->first();
+        if($info){
+            $info->status = 1;
+            $info->save();
+            return response()->json(['status' => 1, 'msg' => '跳转下载中!', 'data' => 'ok', 'url' => $info->attachment]);
+        }else{
+            return response()->json(['status' => 0, 'msg' => '找不到记录!', 'data' => 'fail']);
+        }
+        //return "/storage/recruit/word/" . $recruit->name_en . '/' .$appoint->audit .$word_url;
+    }
+}

+ 8 - 0
app/Admin/routes.php

@@ -524,4 +524,12 @@ Route::group([
         $router->post('jyyxStatus', 'IndexController@jyyxStatus')->name('Health.jyyxStatus');//下载简历
         $router->post('postStatus', 'IndexController@postStatus')->name('Health.postStatus');//下载简历
     });
+
+    $router->group([
+        'prefix'    =>  'ic',
+        'namespace' =>  'Ic',
+    ], function (Router $router){
+        $router->get('post_appoint_list', 'IndexController@postInfoList')->name('ic.post_appoint_list');//就业意向人员信息列表
+        $router->post('postStatus', 'IndexController@postStatus')->name('Ic.postStatus');//下载简历
+    });
 });

+ 6 - 66
resources/views/admin/health/jyyx_appoint_list.blade.php

@@ -226,76 +226,16 @@
     });
 
     $('.js-search').click(function() {
-        var political_affiliation = $.trim($('#political_affiliation').val());
-        var audit = $.trim($('#audit').val());
         var realname = $.trim($('#realname').val());
-        var print_ms = $.trim($('#print_ms').val());
-        var print_bs = $.trim($('#print_bs').val());
-        var pen_audit = $.trim($('#pen_audit').val());
-        var computer_audit = $.trim($('#computer_audit').val());
-        var face_audit = $.trim($('#face_audit').val());
-        var reexamine_audit = $.trim($('#reexamine_audit').val());
-        var inspect_audit = $.trim($('#inspect_audit').val());
-        var print_js = $.trim($('#print_js').val());
-        var review_audit = $.trim($('#review_audit').val());
-        var political_audit = $.trim($('#political_audit').val());
-        var health_audit = $.trim($('#health_audit').val());
-        var sex = $.trim($("#sex").val());
-        var education = $.trim($("#education").val());
-        var post_id = $.trim($("#post_id").val());
-        var parm = '';
-        if (health_audit) {
-            parm += "&health_audit=" + health_audit;
-        }
-        if (political_audit) {
-            parm += "&political_audit=" + political_audit;
-        }
-        if (review_audit) {
-            parm += "&review_audit=" + review_audit;
-        }
-        if (political_affiliation) {
-            parm += "&political_affiliation=" + political_affiliation;
-        }
-        if (audit) {
-            parm += "&audit=" + audit;
-        }
+        var parm = [];
         if (realname) {
-            parm += "&realname=" + realname;
-        }
-        if (print_ms) {
-            parm += "&print_ms=" + print_ms;
-        }
-        if (print_bs) {
-            parm += "&print_bs=" + print_bs;
-        }
-        if (pen_audit) {
-            parm += "&pen_audit=" + pen_audit;
+            parm.push(`realname=${realname}`);
         }
-        if (face_audit) {
-            parm += "&face_audit=" + face_audit;
-        }
-        if (computer_audit) {
-            parm += "&computer_audit=" + computer_audit;
-        }
-        if (reexamine_audit) {
-            parm += "&reexamine_audit=" + reexamine_audit;
-        }
-        if (inspect_audit) {
-            parm += "&inspect_audit=" + inspect_audit;
-        }
-        if (print_js) {
-            parm += "&print_js=" + print_js;
-        }
-        if(sex){
-            parm += "&sex=" + sex;
-        }
-        if(education){
-            parm += "&education=" + education;
-        }
-        if(post_id){
-            parm += "&post_id=" + post_id;
+        if (parm.length == 0) {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/health/jyyx_appoint_list')}}";
+        } else {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/health/jyyx_appoint_list')}}?" + parm.join('&');
         }
-        window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}" + parm;
     });
 
 

+ 17 - 70
resources/views/admin/health/post_appoint_list.blade.php

@@ -25,16 +25,15 @@
                                 <div style="float: left;width: 150px;">
                                     <select class="form-control" name="education" id="education">
                                         <option value=''>不限</option>
-                                        <option value='小学' @if(array_key_exists('education',$search_data) && $search_data['education'] == '小学') selected @endif>小学</option>
-                                        <option value='初中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '初中') selected @endif>初中</option>
-                                        <option value='技校' @if(array_key_exists('education',$search_data) && $search_data['education'] == '技校') selected @endif>技校</option>
-                                        <option value='职高' @if(array_key_exists('education',$search_data) && $search_data['education'] == '职高') selected @endif>职高</option>
-                                        <option value='高中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '高中') selected @endif>高中</option>
-                                        <option value='中专' @if(array_key_exists('education',$search_data) && $search_data['education'] == '中专') selected @endif>中专</option>
-                                        <option value='专科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '专科') selected @endif>专科</option>
-                                        <option value='本科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '本科') selected @endif>本科</option>
-                                        <option value='硕士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '硕士') selected @endif>硕士</option>
-                                        <option value='博士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '博士') selected @endif>博士</option>
+                                        <option value='65' @if(array_key_exists('education',$search_data) && $search_data['education'] == 65) selected @endif>初中</option>
+                                        <option value='66' @if(array_key_exists('education',$search_data) && $search_data['education'] == 66) selected @endif>高中</option>
+                                        <option value='67' @if(array_key_exists('education',$search_data) && $search_data['education'] == 67) selected @endif>中技</option>
+                                        <option value='68' @if(array_key_exists('education',$search_data) && $search_data['education'] == 68) selected @endif>中专</option>
+                                        <option value='69' @if(array_key_exists('education',$search_data) && $search_data['education'] == 69) selected @endif>大专</option>
+                                        <option value='70' @if(array_key_exists('education',$search_data) && $search_data['education'] == 70) selected @endif>本科</option>
+                                        <option value='71' @if(array_key_exists('education',$search_data) && $search_data['education'] == 71) selected @endif>硕士</option>
+                                        <option value='72' @if(array_key_exists('education',$search_data) && $search_data['education'] == 72) selected @endif>博士</option>
+                                        <option value='73' @if(array_key_exists('education',$search_data) && $search_data['education'] == 73) selected @endif>博士后</option>
                                     </select>
                                 </div>
                             </div>
@@ -266,76 +265,24 @@
     });
 
     $('.js-search').click(function() {
-        var political_affiliation = $.trim($('#political_affiliation').val());
-        var audit = $.trim($('#audit').val());
         var realname = $.trim($('#realname').val());
-        var print_ms = $.trim($('#print_ms').val());
-        var print_bs = $.trim($('#print_bs').val());
-        var pen_audit = $.trim($('#pen_audit').val());
-        var computer_audit = $.trim($('#computer_audit').val());
-        var face_audit = $.trim($('#face_audit').val());
-        var reexamine_audit = $.trim($('#reexamine_audit').val());
-        var inspect_audit = $.trim($('#inspect_audit').val());
-        var print_js = $.trim($('#print_js').val());
-        var review_audit = $.trim($('#review_audit').val());
-        var political_audit = $.trim($('#political_audit').val());
-        var health_audit = $.trim($('#health_audit').val());
         var sex = $.trim($("#sex").val());
         var education = $.trim($("#education").val());
-        var post_id = $.trim($("#post_id").val());
-        var parm = '';
-        if (health_audit) {
-            parm += "&health_audit=" + health_audit;
-        }
-        if (political_audit) {
-            parm += "&political_audit=" + political_audit;
-        }
-        if (review_audit) {
-            parm += "&review_audit=" + review_audit;
-        }
-        if (political_affiliation) {
-            parm += "&political_affiliation=" + political_affiliation;
-        }
-        if (audit) {
-            parm += "&audit=" + audit;
-        }
+        var parm = [];
         if (realname) {
-            parm += "&realname=" + realname;
-        }
-        if (print_ms) {
-            parm += "&print_ms=" + print_ms;
-        }
-        if (print_bs) {
-            parm += "&print_bs=" + print_bs;
-        }
-        if (pen_audit) {
-            parm += "&pen_audit=" + pen_audit;
-        }
-        if (face_audit) {
-            parm += "&face_audit=" + face_audit;
-        }
-        if (computer_audit) {
-            parm += "&computer_audit=" + computer_audit;
-        }
-        if (reexamine_audit) {
-            parm += "&reexamine_audit=" + reexamine_audit;
-        }
-        if (inspect_audit) {
-            parm += "&inspect_audit=" + inspect_audit;
-        }
-        if (print_js) {
-            parm += "&print_js=" + print_js;
+            parm.push(`realname=${realname}`);
         }
         if(sex){
-            parm += "&sex=" + sex;
+            parm.push(`sex=${sex}`);
         }
         if(education){
-            parm += "&education=" + education;
+            parm.push(`education=${education}`);
         }
-        if(post_id){
-            parm += "&post_id=" + post_id;
+        if (parm.length == 0) {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/health/post_appoint_list')}}";
+        } else {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/health/post_appoint_list')}}?" + parm.join('&');
         }
-        window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}" + parm;
     });
 
 

+ 17 - 70
resources/views/admin/health/qjwj_appoint_list.blade.php

@@ -25,16 +25,15 @@
                                 <div style="float: left;width: 150px;">
                                     <select class="form-control" name="education" id="education">
                                         <option value=''>不限</option>
-                                        <option value='小学' @if(array_key_exists('education',$search_data) && $search_data['education'] == '小学') selected @endif>小学</option>
-                                        <option value='初中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '初中') selected @endif>初中</option>
-                                        <option value='技校' @if(array_key_exists('education',$search_data) && $search_data['education'] == '技校') selected @endif>技校</option>
-                                        <option value='职高' @if(array_key_exists('education',$search_data) && $search_data['education'] == '职高') selected @endif>职高</option>
-                                        <option value='高中' @if(array_key_exists('education',$search_data) && $search_data['education'] == '高中') selected @endif>高中</option>
-                                        <option value='中专' @if(array_key_exists('education',$search_data) && $search_data['education'] == '中专') selected @endif>中专</option>
-                                        <option value='专科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '专科') selected @endif>专科</option>
-                                        <option value='本科' @if(array_key_exists('education',$search_data) && $search_data['education'] == '本科') selected @endif>本科</option>
-                                        <option value='硕士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '硕士') selected @endif>硕士</option>
-                                        <option value='博士' @if(array_key_exists('education',$search_data) && $search_data['education'] == '博士') selected @endif>博士</option>
+                                        <option value='65' @if(array_key_exists('education',$search_data) && $search_data['education'] == 65) selected @endif>初中</option>
+                                        <option value='66' @if(array_key_exists('education',$search_data) && $search_data['education'] == 66) selected @endif>高中</option>
+                                        <option value='67' @if(array_key_exists('education',$search_data) && $search_data['education'] == 67) selected @endif>中技</option>
+                                        <option value='68' @if(array_key_exists('education',$search_data) && $search_data['education'] == 68) selected @endif>中专</option>
+                                        <option value='69' @if(array_key_exists('education',$search_data) && $search_data['education'] == 69) selected @endif>大专</option>
+                                        <option value='70' @if(array_key_exists('education',$search_data) && $search_data['education'] == 70) selected @endif>本科</option>
+                                        <option value='71' @if(array_key_exists('education',$search_data) && $search_data['education'] == 71) selected @endif>硕士</option>
+                                        <option value='72' @if(array_key_exists('education',$search_data) && $search_data['education'] == 72) selected @endif>博士</option>
+                                        <option value='73' @if(array_key_exists('education',$search_data) && $search_data['education'] == 73) selected @endif>博士后</option>
                                     </select>
                                 </div>
                             </div>
@@ -276,76 +275,24 @@
     });
 
     $('.js-search').click(function() {
-        var political_affiliation = $.trim($('#political_affiliation').val());
-        var audit = $.trim($('#audit').val());
         var realname = $.trim($('#realname').val());
-        var print_ms = $.trim($('#print_ms').val());
-        var print_bs = $.trim($('#print_bs').val());
-        var pen_audit = $.trim($('#pen_audit').val());
-        var computer_audit = $.trim($('#computer_audit').val());
-        var face_audit = $.trim($('#face_audit').val());
-        var reexamine_audit = $.trim($('#reexamine_audit').val());
-        var inspect_audit = $.trim($('#inspect_audit').val());
-        var print_js = $.trim($('#print_js').val());
-        var review_audit = $.trim($('#review_audit').val());
-        var political_audit = $.trim($('#political_audit').val());
-        var health_audit = $.trim($('#health_audit').val());
         var sex = $.trim($("#sex").val());
         var education = $.trim($("#education").val());
-        var post_id = $.trim($("#post_id").val());
-        var parm = '';
-        if (health_audit) {
-            parm += "&health_audit=" + health_audit;
-        }
-        if (political_audit) {
-            parm += "&political_audit=" + political_audit;
-        }
-        if (review_audit) {
-            parm += "&review_audit=" + review_audit;
-        }
-        if (political_affiliation) {
-            parm += "&political_affiliation=" + political_affiliation;
-        }
-        if (audit) {
-            parm += "&audit=" + audit;
-        }
+        var parm = [];
         if (realname) {
-            parm += "&realname=" + realname;
-        }
-        if (print_ms) {
-            parm += "&print_ms=" + print_ms;
-        }
-        if (print_bs) {
-            parm += "&print_bs=" + print_bs;
-        }
-        if (pen_audit) {
-            parm += "&pen_audit=" + pen_audit;
-        }
-        if (face_audit) {
-            parm += "&face_audit=" + face_audit;
-        }
-        if (computer_audit) {
-            parm += "&computer_audit=" + computer_audit;
-        }
-        if (reexamine_audit) {
-            parm += "&reexamine_audit=" + reexamine_audit;
-        }
-        if (inspect_audit) {
-            parm += "&inspect_audit=" + inspect_audit;
-        }
-        if (print_js) {
-            parm += "&print_js=" + print_js;
+            parm.push(`realname=${realname}`);
         }
         if(sex){
-            parm += "&sex=" + sex;
+            parm.push(`sex=${sex}`);
         }
         if(education){
-            parm += "&education=" + education;
+            parm.push(`education=${education}`);
         }
-        if(post_id){
-            parm += "&post_id=" + post_id;
+        if (parm.length == 0) {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/health/qjwj_appoint_list')}}";
+        } else {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/health/qjwj_appoint_list')}}?" + parm.join('&');
         }
-        window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/recruit/appoint_list')}}" + parm;
     });
 
 

+ 413 - 0
resources/views/admin/ic/post_appoint_list.blade.php

@@ -0,0 +1,413 @@
+<section class="content">
+    <div class="row">
+        <div class="col-md-12">
+            <div class="box">
+                {{ csrf_field() }}
+                <div class="box-body table-responsive">
+                    <div class="col-md-3 clearfix">
+                        <div class="box-body table-responsive" style="padding:5px;">
+                            <div class="form-group clearfix" style="margin-bottom:0;">
+                                <label for="prefix" class="control-label">性别:</label>
+                                <div style="float: left;width: 150px;">
+                                    <select class="form-control" name="sex" id="sex">
+                                        <option value=''>不限</option>
+                                        <option value='0' @if(array_key_exists('sex',$search_data) && $search_data['sex'] == '0') selected @endif>女</option>
+                                        <option value='1' @if(array_key_exists('sex',$search_data) && $search_data['sex'] == '1') selected @endif>男</option>
+                                    </select>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                    <div class="col-md-3 clearfix">
+                        <div class="box-body table-responsive" style="padding:5px;">
+                            <div class="form-group clearfix" style="margin-bottom:0;">
+                                <label for="prefix" class="control-label">学历:</label>
+                                <div style="float: left;width: 150px;">
+                                    <select class="form-control" name="education" id="education">
+                                        <option value=''>不限</option>
+                                        <option value='65' @if(array_key_exists('education',$search_data) && $search_data['education'] == 65) selected @endif>初中</option>
+                                        <option value='66' @if(array_key_exists('education',$search_data) && $search_data['education'] == 66) selected @endif>高中</option>
+                                        <option value='67' @if(array_key_exists('education',$search_data) && $search_data['education'] == 67) selected @endif>中技</option>
+                                        <option value='68' @if(array_key_exists('education',$search_data) && $search_data['education'] == 68) selected @endif>中专</option>
+                                        <option value='69' @if(array_key_exists('education',$search_data) && $search_data['education'] == 69) selected @endif>大专</option>
+                                        <option value='70' @if(array_key_exists('education',$search_data) && $search_data['education'] == 70) selected @endif>本科</option>
+                                        <option value='71' @if(array_key_exists('education',$search_data) && $search_data['education'] == 71) selected @endif>硕士</option>
+                                        <option value='72' @if(array_key_exists('education',$search_data) && $search_data['education'] == 72) selected @endif>博士</option>
+                                        <option value='73' @if(array_key_exists('education',$search_data) && $search_data['education'] == 73) selected @endif>博士后</option>
+                                    </select>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                    <div class="col-md-3 clearfix">
+                        <div class="box-body table-responsive" style="padding:5px;">
+                            <div class="form-group clearfix" style="margin-bottom:0;">
+                                <label for="prefix" class="control-label">精确查询:</label>
+                                <div style="float: left;width: 150px;">
+                                    <input type="text" class="form-control" name="realname" id="realname" placeholder="请输入姓名" @if(array_key_exists('realname',$search_data)) value="{{$search_data['realname']}}" @endif>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+
+                <div class="box-footer">
+                    <div class="btn-group" style="margin-left: 440px;">
+                        <button type="button" class="btn btn-info  btn-primary js-search" data-type="1"><i class="fa fa-search">搜索</i></button>
+                    </div>
+                </div>
+
+                <div class="box-body table-responsive">
+                    <div class="col-md-12">
+                        <div class="box-header with-border">
+                            <h3 class="box-title">查询结果</h3>
+                        </div>
+                        <div class="box-body table-responsive no-padding">
+                            <table class="table table-hover">
+                                <thead>
+                                <tr>
+                                    <th height="26" class="admin_list_tit">
+                                        <input type="checkbox" name=" " title="全选/反选" id="chk" />
+                                    </th>
+                                    <th>基础资料</th>
+                                    <th>电话</th>
+                                    <th>投递岗位</th>
+                                    <th>对应单位</th>
+                                    <th>下载状态</th>
+                                    <th>操作</th>
+                                </tr>
+                                </thead>
+                                <tbody>
+                                @if(isset($list) && $list->total())
+                                    @foreach($list as $k=>$v)
+                                        <tr>
+                                            <td>
+                                                <input ls="{{$v->id}}" name="id[]" id="appointinfo_{{$v->id}}" type="checkbox" value="{{$v->id}}" />
+                                            </td>
+                                            <td>
+                                                <span style="color: #0A246A; margin-right: 3px;">{!! $v->realname !!}</span>
+                                                <span style="color: #0A246A; margin-right: 3px;">{{$v->sex}}</span>
+                                                <span style="color:#be7707; margin-right: 3px;">{{$v->birthday}}</span>
+                                                <span style="color:#0A7CF7; margin-right: 3px;">{{$v->education}}</span>
+                                                <span style="color:#0F73AC; margin-right: 3px;">{{$v->native_place_cn}}</span>
+                                            </td>
+                                            <td>
+                                                {{ $v->mobile }}
+                                            </td>
+                                            <td>{!! $v->jobs_name !!}</td>
+                                            <td>{!! $v->company_name !!}</td>
+                                            <td>{!! $v->status !!}</td>
+                                            <td>
+
+                                                <button class='btn btn-primary btn-xs fetch_word' data-aid="{{$v->id}}" style="margin-bottom: 10px">下载简历</button>
+
+                                            </td>
+                                        </tr>
+                                    @endforeach
+                                @else
+                                    <tr>
+                                        <td colspan="11">
+                                            <div class="list_empty_group">
+                                                <div class="list_empty">
+                                                    <div class="list_empty_left"></div>
+                                                    <div class="list_empty_right">
+                                                        <div class="sorry_box">对不起,暂无相关信息!</div>
+                                                    </div>
+                                                    <div class="clear"></div>
+                                                </div>
+                                            </div>
+                                        </td>
+                                    </tr>
+                                @endif
+                                </tbody>
+                            </table>
+                        </div>
+
+                        @if(isset($list))
+                            {{ $list->appends($search_data)->links('module.widgets.pagination') }}
+                        @endif
+                    </div>
+                </div>
+            </div>
+
+        </div>
+    </div>
+</section>
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.disappear.tooltip.js') }}"></script>
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.userselectlayer.js') }}"></script>
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.user.city.js') }}"></script>
+<script type="text/javascript" src="{{ theme_asset('app/js/jquery.modal.dialog.js') }}"></script>
+<script>
+    //图片预览
+    this.vtip = function() {
+        this.xOffset = -10; // x distance from mouse
+        this.yOffset = 15; // y distance from mouse
+        $(".vtip").unbind().hover(
+            function(e) {
+                this.t = $(this).attr("title");
+                this.title = '';
+                this.top = (e.pageY + yOffset);
+                this.left = (e.pageX + xOffset);
+                $('body').css("cursor","help");
+                $('p#vtip').width()>450?$('p#vtip').width(450):'';
+                $('body').append( '<p id="vtip">' + this.t + '</p>' );
+                $('p#vtip').css("top", this.top+"px").css("left", this.left+"px").fadeIn(0);
+            },
+            function() {
+                this.title = this.t;
+                $('body').css("cursor","");
+                $("p#vtip").fadeOut("slow").remove();
+            }
+        ).mousemove(
+            function(e) {
+                this.top = (e.pageY + yOffset);
+                this.left = (e.pageX + xOffset);
+                $("p#vtip").css("top", this.top+"px").css("left", this.left+"px");
+            }
+        );
+
+    };
+    //提交数组整理
+    this.show = function(type = 0){
+        var id_array = new Array();
+        if(type == 0){
+            $('input[name="id\[\]"]:checked').each(function() {
+                id_array.push($(this).val()); //向数组中添加元素
+            });
+        }else{
+            id_array.push($("#appointinfo_"+type).val());
+        }
+        if (id_array.length == 0) {
+            disapperTooltip('remind', '请选择用户');
+            return false;
+        } else {
+            var idstr = id_array.join(','); //将数组元素连接起来以构建一个字符串
+            if (idstr == '' || idstr == null) {
+                idstr = 0;
+            }
+            return idstr;
+        }
+    }
+
+
+
+    $(document).ready(function() {
+        vtip();
+        $(document).off("click",'.appoint_audit').on('click','.appoint_audit',function () {
+            appointAudit($(this).data('param'));
+        });
+        $(document).off("click",'.supplement').on('click','.supplement',function () {
+            supplement($(this).data('param'));
+        });
+        $(document).off("click",'.health').on('click','.health',function () {
+            health($(this).data('param'),$(this).data("type"));
+        });
+        $(document).off("click",'.fetch_word').on('click','.fetch_word',function () {
+            var appoint_id = $(this).attr('data-aid');
+
+            var qsDialog = $(this).dialog({
+                title: 'word简历下载',
+                loading: true,
+                showFooter: false,
+                yes: function() {
+                    $('.J_btnyes').val('发送中...');
+                    $.post("{{ route('Health.postStatus') }}", {_token:'{{ csrf_token() }}',id:appoint_id}, function(result) {
+                        if (result.status == 1) {
+                            disapperTooltip('success', result.msg);
+                            window.location.href = result.url;
+                            setTimeout(function() {
+                                $.pjax.reload('#pjax-container');
+                                qsDialog.hide(true);
+                            }, 2000);
+                        } else {
+                            $('.J_btnyes').val('确定');
+                            disapperTooltip('remind', result.msg);
+                        }
+                    }, 'json');
+                }
+            });
+            qsDialog.setCloseDialog(false);
+            qsDialog.setContent("即将下载简历,请确认?");
+            qsDialog.showFooter(true);
+        });
+        $("#ButtonAudit").click(function() {
+            appointAudit(0)
+        })
+        /*查看人员信息*/
+        $('.ButCompared').click(function() {
+            var qsDialog = $(this).dialog({
+                title: '查看报名信息',
+                loading: true,
+                footer: false
+            });
+            var param = $(this).data('param');
+            var url = $(this).data('url') + "?id=" + param;
+            $.getJSON(url, function(result) {
+                qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
+            });
+        });
+
+
+    });
+
+    /*查看日志信息*/
+    $('.ButExamineLog').click(function() {
+        var qsDialog = $(this).dialog({
+            title: '查看审核信息',
+            loading: true,
+            footer: false
+        });
+        var param = $(this).data('param');
+        var url = $(this).data('url') + "?id=" + param;
+        $.getJSON(url, function(result) {
+            qsDialog.setContent('<div style="max-height:600px;overflow-y:auto;">' + result.data + '<\/div>');
+        });
+    });
+
+    $('.js-search').click(function() {
+        var realname = $.trim($('#realname').val());
+        var sex = $.trim($("#sex").val());
+        var education = $.trim($("#education").val());
+        var parm = [];
+        if (realname) {
+            parm.push(`realname=${realname}`);
+        }
+        if(sex){
+            parm.push(`sex=${sex}`);
+        }
+        if(education){
+            parm.push(`education=${education}`);
+        }
+        if (parm.length == 0) {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/ic/post_appoint_list')}}";
+        } else {
+            window.location = "{{ url('/ST3IXxKlOa4eGEv0eTw0CfORI9444Mgj/ic/post_appoint_list')}}?" + parm.join('&');
+        }
+    });
+
+
+
+
+
+    //提交准考证
+    $("#build").click(function() {
+
+        $("form[name=form1]").attr("action", "{:U('buildcard')}" + "&recruit_id=" + recruit_ids +
+            "&time=" + time + "&audits=" + audits + "&times=" + times + "&home=" + home + "&address=" + address + "&expand=" + expand);
+        $("form[name=form1]").submit();
+    });
+    //撤销准考证
+    $("#del_ticket").click(function() {
+        var ticket_id = $("input[name='ticket_id']:checked").val();
+        var r_id = $("input[name='r_id']").val();
+        $("form[name=form1]").attr("action", "{:U('delcard')}" + "&ticket_id=" + ticket_id + "&r_id=" + r_id);
+        $("form[name=form1]").submit();
+    });
+
+
+    /*全选*/
+    $("#chk").click(function() {
+        if (this.checked == false) {
+            // console.log("反选")
+            $("td :checkbox").prop("checked", false);
+        }
+        if (this.checked == true) {
+            // console.log("全选")
+            $("td :checkbox").prop("checked", true);
+        }
+    })
+
+    //子复选框有一个未选中时,去掉全选按钮的选中状态
+    $("td :checkbox").click(function() {
+        var allCheckNum = $("td input[type='checkbox']").length;
+        var checkedNum = $("td input[type='checkbox']:checked").length;
+        if (checkedNum == allCheckNum) {
+            // console.log("全选");
+            document.getElementById("chk").checked = true;
+        } else {
+            // console.log("反选");
+            document.getElementById("chk").checked = false;
+        }
+    })
+</script>
+<link href="{{ theme_asset('app/css/person/common.css') }}" rel="stylesheet">
+<style type="text/css">
+    p#vtip { display: none; position: absolute; padding: 10px; left: 5px; font-size: 0.8em; background-color: white; border: 1px solid #a6c9e2; -moz-border-radius: 5px; -webkit-border-radius: 5px; z-index: 9999 }
+    p#vtip img{width: 200px}
+    /*body{min-width: 1680px;overflow: auto;}*/
+    .clearfix:after {
+        display: block;
+        clear: both;
+        content: "";
+        visibility: hidden;
+        height: 0;
+    }
+
+    .clearfix {
+        zoom: 1;
+        /*为了兼容IE*/
+    }
+
+    .box .box-body {
+        position: relative;
+    }
+
+    .box .form-group label {
+        float: left;
+        width: 120px;
+        line-height: 34px;
+        text-align: right;
+    }
+
+    .box .input-group {
+        width: 360px;
+    }
+
+    .list_empty_group {
+        text-align: center;
+        line-height: 80px;
+        color: #404446;
+        font-size: 22px;
+    }
+
+    .jobslist_table .li-table-btn {
+        width: 120px;
+        height: 50px;
+        line-height: 50px;
+    }
+
+    .modal {
+        display: block;
+        position: static;
+    }
+
+    .qs-category-unlimited .selected-group .selected-box .s-cell {
+        width: 112px;
+    }
+
+    .qs-category-unlimited .cate-type .dd {
+        margin: 0px;
+        font-size: 14px;
+    }
+
+    .qs-category-unlimited .cate-type .one-select label {
+        display: block;
+        margin: 0px;
+        width: 110px;
+    }
+
+    .qs-category-unlimited .cate-type .one-select .check-box {
+        margin: 0px;
+    }
+
+    .modal_body_box .list_nav1 li label {
+        margin-bottom: 0px;
+    }
+
+    .disappear_tooltip .content {
+        min-height: auto;
+        padding: 0px;
+        padding-left: 10px;
+        padding-right: 10px;
+    }
+</style>