zmw 3 долоо хоног өмнө
parent
commit
d930ac4fbd

+ 25 - 10
app/Admin/Controllers/Recruit/RecruitController.php

@@ -247,6 +247,7 @@ class RecruitController extends Controller
             $form->text('phone', '联系电话');
             $form->text('host_address', '联系地址');
             $form->image('qr_code', '联系人二维码');
+            $form->editor('chengnuoshu','承诺书');
             //$form->switch('predetermined_status', '是否允许报名')->states($display_option)->default(1)->setMustMark();
             $form->number('ordid', '排序')->default(0);
             $form->multipleFile('addFile', '附件')->move('storage/app/public/recruit/' . time());
@@ -281,28 +282,28 @@ class RecruitController extends Controller
             $form->switch('pen_comfirm', '笔试确认')->help("打开后将会在设置时间段内开启笔试确认功能,有且仅当确认了才能打印准考证参加笔试")->default(0)->setMustMark();
             $form->datetimeRange('pen_comfirm_start', 'pen_comfirm_end', '确认笔试时间')->help("设置该时间后,仅在该时间段内才可以确认参加笔试");
             $form->radio('pen_ticket_type', '准考证类型')->options([-1 => '不需要',1 => '纸质', 2 => '短信', 3 => '模板'])->default(-1);
-            $form->text('pen_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
+            $form->file('pen_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
             $form->listbox('pen_ticket_field', '模板字段')->options(RecruitTicketField::ticketFieldData('pen'))->attribute('hight', '200px')->help('仅纸质准考证需要,非ex开头的字段将自动渲染');
             $form->switch('pen_epidemic', '两码上传')->help("下列依赖两码设置,须此项打开才可生效")->default(0)->setMustMark();
             $form->switch('pen_health', '健康状态')->help('当两码上传打开且该选项打开时,打印准考证必须通过两码审核')->default(0)->setMustMark();
             $form->datetimeRange('pen_health_start', 'pen_health_end', '两码时间')->help("设置该时间后,仅在该时间段内上传该时段内的两码截图才可以");
         })->tab('上机', function ($form) {
             $form->radio('computer_ticket_type', '准考证类型')->options([-1 => '不需要',1 => '纸质', 2 => '短信', 3 => '模板'])->default(-1);
-            $form->text('computer_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
+            $form->file('computer_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
             $form->listbox('computer_ticket_field', '模板字段')->options(RecruitTicketField::ticketFieldData('computer'))->attribute('hight', '200px')->help('仅纸质准考证需要,非ex开头的字段将自动渲染');
             $form->switch('computer_epidemic', '两码上传')->help("下列依赖两码设置,须此项打开才可生效")->default(0)->setMustMark();
             $form->switch('computer_health', '健康状态')->help('当两码上传打开且该选项打开时,打印准考证必须通过两码审核')->default(0)->setMustMark();
             $form->datetimeRange('computer_health_start', 'computer_health_end', '两码时间')->help("设置该时间后,仅在该时间段内上传该时段内的两码截图才可以");
         })->tab('面试', function ($form) {
             $form->radio('face_ticket_type', '准考证类型')->options([-1 => '不需要',1 => '纸质', 2 => '短信', 3 => '模板'])->default(-1);
-            $form->text('face_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
+            $form->file('face_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
             $form->listbox('face_ticket_field', '模板字段')->options(RecruitTicketField::ticketFieldData('face'))->attribute('hight', '200px')->help('仅纸质准考证需要,非ex开头的字段将自动渲染');
             $form->switch('face_epidemic', '两码上传')->help("下列依赖两码设置,须此项打开才可生效")->default(0)->setMustMark();
             $form->switch('face_health', '健康状态')->help('当两码上传打开且该选项打开时,打印准考证必须通过两码审核')->default(0)->setMustMark();
             $form->datetimeRange('face_health_start', 'face_health_end', '两码时间')->help("设置该时间后,仅在该时间段内上传该时段内的两码截图才可以");
         })->tab('复试', function ($form) {
             $form->radio('reexamine_ticket_type', '准考证类型')->options([-1 => '不需要',1 => '纸质', 2 => '短信', 3 => '模板'])->default(-1);
-            $form->text('reexamine_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
+            $form->file('reexamine_ticket_content', '准考证内容')->help('当类型为纸质时,此处填入准考证模板的路径,当类型为短信时,此处填入短信标识,当类型为模板时,输入模板ID');
             $form->listbox('reexamine_field', '模板字段')->options(RecruitTicketField::ticketFieldData('reexamine'))->attribute('hight', '200px')->help('仅纸质准考证需要,非ex开头的字段将自动渲染');
 
         });
@@ -410,6 +411,9 @@ class RecruitController extends Controller
         if(array_key_exists('qr_code',$verify)){
             $data['qr_code'] = $verify['qr_code'];
         }
+        if(array_key_exists('chengnuoshu',$verify)){
+            $data['chengnuoshu'] = $verify['chengnuoshu'];
+        }
         if(array_key_exists('addFile',$verify)){
             $data['addFile'] = $verify['addFile'];
         }
@@ -480,6 +484,7 @@ class RecruitController extends Controller
         }
         $data['special'] = 0;
 
+        dd($data);
 
         $fileCharater = $request->input('addFile');
 
@@ -555,6 +560,7 @@ class RecruitController extends Controller
         if (count($postName) == 0 or (count($postName) >= 1 and $postName[0] == null)) {
             return admin_toastr('请填写招考岗位名称', 'error');
         }
+
         $recruit_id = $id;
         $recruit = Recruit::find($id);
         if($recruit->special){
@@ -595,8 +601,8 @@ class RecruitController extends Controller
         $data['supplement_end'] = $verify['supplement_end'] ? $verify['supplement_end'] : null;
         $data['introduction'] = $verify['introduction'];
         $data['host_address'] = $verify['host_address'];
-        if(array_key_exists('qr_code',$verify)){
-            $data['qr_code'] = $verify['qr_code'];
+        if(array_key_exists('chengnuoshu',$verify)){
+            $data['chengnuoshu'] = $verify['chengnuoshu'];
         }
         //$data['addFile'] = $verify['addFile'];
         $data['contact'] = $verify['contact'];
@@ -609,7 +615,9 @@ class RecruitController extends Controller
         $data['special_condition_value'] = $verify['special_condition_value'];
         $data['forms'] = implode(',',array_filter($verify['forms']));
         $data['pen_ticket_type'] = $verify['pen_ticket_type'];
-        $data['pen_ticket_content'] = $verify['pen_ticket_content'];
+        if(array_key_exists('pen_ticket_content',$verify)){
+            $data['pen_ticket_content'] = $verify['pen_ticket_content'];
+        }
         $data['pen_ticket_field'] = implode(',',$verify['pen_ticket_field']);
         $data['pen_comfirm'] = $verify['pen_comfirm'];
         $data['pen_comfirm_start'] = $verify['pen_comfirm_start'] ? $verify['pen_comfirm_start'] : null;
@@ -619,18 +627,25 @@ class RecruitController extends Controller
         $data['pen_health_start'] = $verify['pen_health_start'] ? $verify['pen_health_start'] : null;
         $data['pen_health_end'] = $verify['pen_health_end'] ? $verify['pen_health_end'] : null;
         $data['computer_ticket_type'] = $verify['computer_ticket_type'];
-        $data['computer_ticket_content'] = $verify['computer_ticket_content'];
+        if(array_key_exists('computer_ticket_content',$verify)){
+            $data['computer_ticket_content'] = $verify['computer_ticket_content'];
+        }
         $data['computer_ticket_field'] = implode(',',$verify['computer_ticket_field']);
         $data['face_ticket_type'] = $verify['face_ticket_type'];
-        $data['face_ticket_content'] = $verify['face_ticket_content'];
+        if(array_key_exists('face_ticket_content',$verify)){
+            $data['face_ticket_content'] = $verify['face_ticket_content'];
+        }
         $data['face_ticket_field'] = implode(',',$verify['face_ticket_field']);
         $data['face_epidemic'] = $verify['face_epidemic'];
         $data['face_health'] = $verify['face_health'];
         $data['face_health_start'] = $verify['face_health_start'] ? $verify['face_health_start'] : null;
         $data['face_health_end'] = $verify['face_health_end'] ? $verify['face_health_end'] : null;
         $data['reexamine_ticket_type'] = $verify['reexamine_ticket_type'];
-        $data['reexamine_ticket_content'] = $verify['reexamine_ticket_content'];
+        if(array_key_exists('reexamine_ticket_content',$verify)){
+            $data['reexamine_ticket_content'] = $verify['reexamine_ticket_content'];
+        }
         $data['reexamine_field'] = implode(',',$verify['reexamine_field']);
+
         $ids = RecruitPost::where('recruit_id', $recruit_id)->pluck('id');
         $fileCharater = $request->input('addFile');
         $data['special'] = 0;

+ 5 - 1
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1722,7 +1722,11 @@ class IndexController extends WebBaseController
                     $date      = date("Y-m-d", strtotime($recruit->created_at));
                     //$filename = $date . '_' . $appoint_info->realname . '_' . $appoint_info->card . '_' . $post_data[$appoint_info->post_id];
                     $filename = sha1($date . '_' . $appoint_info->realname . '_' . $appoint_info->card . '_' . $post_data[$appoint_info->post_id]);
-                    $file     = base_path() . "/storage/app/public/recruit/ticket/pdf/{$date}/{$name}/pen/" . $filename . '.pdf';
+                    return view('app.recruit.recruit_ticket', [
+                        'title'       => "{$filename}.docx",
+                        'url' => "/storage/recruit/ticket/word/{$date}/{$name}/pen/{$filename}.docx",
+                    ]);
+                    $file     = base_path() . "/storage/recruit/ticket/pdf/{$date}/{$name}/pen/" . $filename . '.pdf';
 
                     if (file_exists($file)) {
                         header('Content-Description: File Transfer');

+ 3 - 3
app/Jobs/TicketJob.php

@@ -300,7 +300,7 @@ class TicketJob implements ShouldQueue
                             foreach ($list as $k => $v){
                                 $item = [
                                     'appoint_id' => $v['id'],
-                                    'ex_type' => 3,
+                                    'ex_type' => 4,
                                     'realname' => $v['realname'],
                                     'ex_title' => '',
                                     'card' => $v['card'],
@@ -310,7 +310,7 @@ class TicketJob implements ShouldQueue
                                 ];
                                 $ticket = [
                                     'appoint_id' => $v['id'],
-                                    'ex_type' => 3,
+                                    'ex_type' => 4,
                                     'ex_status' => 0,
                                     'ex_start' => $reexamine_start,
                                     'ex_end' => $reexamine_end
@@ -356,7 +356,7 @@ class TicketJob implements ShouldQueue
                             ];
                             $ticket = [
                                 'appoint_id' => $v['id'],
-                                'ex_type' => 3,
+                                'ex_type' => 4,
                                 'ex_number' => $item['ex_number'],
                                 'ex_address' => array_key_exists('ex_address',$ticket_data_list[$v['card']]) ? $ticket_data_list[$v['card']]['ex_address'] : '',
                                 'ex_time' => array_key_exists('ex_time',$ticket_data_list[$v['card']]) ? $ticket_data_list[$v['card']]['ex_time'] : '',

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/themes/default/assets/layui/layui.css


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
public/themes/default/assets/layui/layui.js


+ 48 - 0
public/themes/default/views/app/recruit/recruit_ticket.blade.php

@@ -0,0 +1,48 @@
+
+    <style>
+        body, html {
+            margin: 0;
+            padding: 0;
+            width: 100%;
+            height: 100%;
+        }
+    </style>
+
+    <div class="recruit_container clearfix" id="preview">
+
+    </div>
+
+    <script src="https://office.jinjianghc.com/web-apps/apps/api/documents/api.js"></script>
+    <script>
+        let title = "{{ $title }}",url = "{{ $url }}";
+        const index = title.lastIndexOf('.');
+        const fileType = title.substr(index + 1);
+        const config = {
+            document: {
+                permissions: {
+                    comment: false,
+                    fillForms: false,
+                    download: false,
+                    edit: false,
+                    upload: false,
+                },
+                fileType: fileType,
+                title: title,
+                url: url,
+            },
+            width: '100%',
+            editorConfig: {
+                mode: 'view',
+                lang: "zh-CN",
+                permissions: {
+                    edit: false,
+                    download: false,
+                    upload: false,
+                    comment: false,
+                }
+            }
+        };
+        console.info(config)
+        document.title = title;
+        const docEditor = new window.DocsAPI.DocEditor("preview", config);
+    </script>

+ 4 - 126
public/themes/default/views/app/recruit/show.blade.php

@@ -9,6 +9,7 @@
     <link href="{{theme_asset('app/css/recruit/recruit.css')}}" rel="stylesheet" type="text/css"/>
     <link href="{{theme_asset('app/css/recruit/apply_show.css')}}" rel="stylesheet" type="text/css"/>
     <link href="{{theme_asset('app/css/common_ajax_dialog.css')}}" rel="stylesheet"/>
+    <link href="{{theme_asset('layui/css/layui.css')}}" rel="stylesheet" />
     <style>
         .right_nav_li ul li {
             height: 30px;
@@ -168,100 +169,8 @@
             </div>
         </div>
     </div>
-    <div id="commit0" style="display:none">
-        <div style="width: 1000px;margin: 0 auto">
-            <p style="margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">考生健康申明卡及安全考试承诺书</span>
-            </p>
-            <p style="margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">特别提示:为确保您顺利应考,面试报到时,须携带考前48小时内(10日上午面试需在8日08:30及以后做核酸;10日下午面试需在8日14:00及以后做核酸)新型冠状病毒核酸检测阴性的报告(检测报告为正规医疗机构纸质报告或应在闽政通上可查询)且考试当天本人动态“福建健康码”(闽政通APP)为“绿码”及体温正常者方可允许进场参加面试。</span>
-            </p>
-            <p style="margin-left: 0;text-indent: 0;line-height: 37px;text-align: center">
-                <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">姓名:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->realname}}&nbsp;</span></span></strong>&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">性别:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->sex == 0 ? '女' : '男'}}&nbsp;</span></span></strong>&nbsp;&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">身份证号:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->card}}&nbsp;<span style="font-family:微软雅黑">&nbsp;</span></span></span></strong>&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">有效手机联系方式:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp; {{$appoint_info->mobile}}&nbsp;</span></span></strong>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 14px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 18px">&nbsp; &nbsp;</span><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">1.本人过去7日内,有出现发热、干咳、乏力、鼻塞、流涕、咽痛、腹泻等症状。</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">2.本人属于新冠肺炎确诊病例、无症状感染者。&nbsp;</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">3.本人属于集中医学观察期、居家医学观察、居家健康监测期内的人员。</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">4.本人过去7日内,有中高风险地区(以考试当日国家卫生健康委公布数据为准)所在县(市、区)旅居史。&nbsp;</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">5.本人过去10日内从境外(含港澳台)入境。</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">6.本人过去10日内与新冠肺炎确诊病例、疑似病例或已发现无症状感染者有接触史。</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">7.本人过去10日内与来自境外(含港澳台)人员有接触史。</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">8.本人共同居住的家庭成员中有上述1至7的情况。</span>
-            </p>
-            <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">本人承诺不存在上述1-8情形。</span></strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">如因隐瞒或虚假填报引起检疫传染病传播或者有传播严重危险而影响公共安全的后果,本人将承担相应的法律责任,自愿接受《中华人民共和国刑法》《治安管理处罚法》《传染病防治法》和《关于依法惩治妨害新型冠状病毒感染肺炎疫情防控违法犯罪的意见》等法律法规的处罚和制裁。</span>
-            </p>
-            <p style="margin-top:8px;margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 18px"><input type="checkbox" class="agree_commit_normal" /> 我已知晓上述内容并承诺遵守。</span>
-            </p>
-            {{--            <p style="margin-top:8px;margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">--}}
-            {{--                <button class="print" disabled="disabled">打印准考证</button>--}}
-            {{--            </p>--}}
-            <p>
-                <br/>
-            </p>
-        </div>
-
-    </div>
     <div id="commit" style="display:none">
-        @if($recruit->id == 104)
-            <div style="width: 1000px;margin: 0 auto">
-                <p style="margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">考生报考承诺书</span>
-                </p>
-                <p style="margin-left: 0;text-indent: 0;line-height: 37px;text-align: center">
-                    <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">姓名:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->realname}}&nbsp;</span></span></strong>&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">性别:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->sex == 0 ? '女' : '男'}}&nbsp;</span></span></strong>&nbsp;&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">身份证号:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->card}}&nbsp;<span style="font-family:微软雅黑">&nbsp;</span></span></span></strong>&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">有效手机联系方式:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp; {{$appoint_info->mobile}}&nbsp;</span></span></strong>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 14px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 18px">&nbsp; &nbsp;</span><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">1.本人为现役军人。</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">2.在读的未毕业生。</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">3.本人曾因犯罪受过刑事处罚。</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">4.本人曾被开除公职。&nbsp;</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">5.本人在最高人民法院失信被执行人查询平台查询有失信记录。</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">6.本人存在法律法规规定的其他不得报考的情形。 </span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">提示:存在上述1-6情形的,不得参加考试。</span></strong>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">本人承诺不存在上述1-6情形。</span></strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">本人保证所提交的报名信息和相关证明材料真实、准确、有效,如提供虚假信息和证明材料,本人愿承担一切责任。</span>
-                </p>
-                <p style="margin-top:8px;margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 18px"><input type="checkbox" class="agree_commit" /> 我已知晓上述内容并承诺遵守。</span>
-                </p>
-                {{--            <p style="margin-top:8px;margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">--}}
-                {{--                <button class="print" disabled="disabled">打印准考证</button>--}}
-                {{--            </p>--}}
-                <p>
-                    <br/>
-                </p>
-            </div>
-        @else
+
             <div style="width: 1000px;margin: 0 auto">
                 <p style="margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
                     <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">考生报考承诺书</span>
@@ -269,46 +178,15 @@
                 <p style="margin-left: 0;text-indent: 0;line-height: 37px;text-align: center">
                     <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">姓名:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->realname}}&nbsp;</span></span></strong>&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">身份证号:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp;{{$appoint_info->card}}&nbsp;<span style="font-family:微软雅黑">&nbsp;</span></span></span></strong>&nbsp;&nbsp;<strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">有效手机联系方式:</span></strong><strong><span style="text-decoration:underline;"><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 14px">&nbsp; {{$appoint_info->mobile}}&nbsp;</span></span></strong>
                 </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 14px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 18px">&nbsp; &nbsp;</span><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">1.本人为现役军人;</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">2.本人曾因犯罪受过刑事处罚;</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">3.本人曾被开除公职;</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">4.本人现处在党政纪处分期内的人员;&nbsp;</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">5.本人在全国法院被执行人信息查询系统查询,属于失信被执行人;</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">6.本人的个人征信有恶意不良信用记录的。</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">7.本人存在法律法规规定的其他不得报考的情形。</span>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">提示:存在上述1-7情形的,不得参加考试。</span></strong>
-                </p>
-                <p style="margin-bottom: 0;margin-left: 0;text-indent: 32px;line-height: 37px">
-                    <strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">本人承诺不存在上述1-7情形。</span></strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">本人保证所提交的报名信息和相关证明材料真实、准确、有效,如提供虚假信息和证明材料,本人愿承担一切责任。</span>
-                </p>
+                {!! $recruit->chengnuoshu !!}
                 <p style="margin-top:8px;margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">
                     <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 18px"><input type="checkbox" class="agree_commit" /> 我已知晓上述内容并承诺遵守。</span>
                 </p>
-                {{--            <p style="margin-top:8px;margin-left:0;text-indent:0;text-autospace:ideograph-numeric;text-align:center;line-height:37px">--}}
-                {{--                <button class="print" disabled="disabled">打印准考证</button>--}}
-                {{--            </p>--}}
                 <p>
                     <br/>
                 </p>
             </div>
 
-        @endif
-
 
     </div>
     <div id="commit1" style="display:none">
@@ -430,6 +308,7 @@
 
 @section('script')
     <script src="{{theme_asset('app/js/portamento-min.js')}}"></script>
+    <script src="{{theme_asset('layui/layui.js')}}"></script>
     <script>
         function check_user_basic_info(recruit_id){
             $.ajax({
@@ -604,7 +483,6 @@
 
             //笔试准考证
             $("#pen_ticket").click(function (){
-
                 var isVisitor = "{{$uid}}";
                 var id = $(this).data('id');
                 var isVisitorutype = "{{$utype}}"; //判断是企业还是个人

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно