sandm 2 лет назад
Родитель
Сommit
398edfce3f

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

@@ -1373,7 +1373,8 @@ class IndexController extends WebBaseController
                     $post_data = RecruitPost::where('recruit_id',$recruit_id)->where('status',1)->selectRaw('id, CONCAT(code," ",name) as post')->pluck('post', 'id');
                     $name = $recruit->name_en;
                     $date = date("Y-m-d",strtotime($recruit->created_at));
-                    $filename = $date . '_' . $appoint_info->realname . '_' . $appoint_info->card . '_' . $post_data[$appoint_info->post_id];
+                    //$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}/face/" . $filename . '.pdf';
                     if(file_exists($file)){
                         header('Content-Description: File Transfer');

+ 94 - 49
public/themes/default/views/app/recruit/show.blade.php

@@ -211,54 +211,99 @@
 
     </div>
     <div id="commit" 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">--}}
-{{--                @if($recruit->id == 21)--}}
-{{--                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">特别提示:为确保您顺利应考,考试报到时,须携带考前48小时内(11月24日15:00及以后)新型冠状病毒核酸检测阴性的报告(检测报告为正规医疗机构纸质报告或应在闽政通上可查询)且考试当天本人动态“福建健康码”(闽政通APP)为“绿码”及体温正常者方可允许进场参加考试。</span>--}}
-{{--                @else--}}
-{{--                    <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">特别提示:为确保您顺利应考,考试报到时,须携带考前48小时内(11月24日及以后)新型冠状病毒核酸检测阴性的报告(检测报告为正规医疗机构纸质报告或应在闽政通上可查询)且考试当天本人动态“福建健康码”(闽政通APP)为“绿码”及体温正常者方可允许进场参加考试。</span>--}}
-{{--                @endif--}}
-{{--            </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.本人为普通高等院校全日制在读的非2022年应届毕业生。</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>
+        @if($recruit->id == 21)
+            <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小时内(面试需在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.本人属于新冠肺炎确诊病例、无症状感染者。</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" /> 我已知晓上述内容并承诺遵守。</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>
+                </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.本人为普通高等院校全日制在读的非2022年应届毕业生。</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>
+
+        @endif
+
 
     </div>
     <div id="commit1" style="display:none">
@@ -738,7 +783,7 @@
                                                 total++;
                                             }
                                         });
-                                        if(total != 6){
+                                        if(total != 6 || total != 8){
                                             disapperTooltip("remind", "请勾选以上项目!");
                                             return false;
                                         }