Ver Fonte

修改招考系统bug

sandm há 2 anos atrás
pai
commit
550c534b71
1 ficheiros alterados com 64 adições e 60 exclusões
  1. 64 60
      public/themes/default/views/app/recruit/show.blade.php

+ 64 - 60
public/themes/default/views/app/recruit/show.blade.php

@@ -211,13 +211,13 @@
                 <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月18日及以后)新型冠状病毒核酸检测阴性的报告(检测报告为正规医疗机构纸质报告或应在闽政通上可查询)且考试当天本人动态“福建健康码”(闽政通APP)为“绿码”及体温正常者方可允许进场参加考试。</span>
+                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 24px">特别提示:为确保您顺利应考,考试报到时,须携带考前48小时内(10月20日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.1.本人过去7日内,有出现发热、干咳、乏力、鼻塞、流涕、咽痛、腹泻等症状。</span>
+                <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>
@@ -280,7 +280,7 @@
                     </tr>
                     <tr>
                         <td style="line-height: 37px">
-                            2.本人为普通高等院校全日制在读的非应届毕业生;
+                            2.本人为普通高等院校全日制在读的非2022年应届毕业生;
                         </td>
                         <td>
                             <input type="radio"  name="q12" value="1" />是
@@ -291,7 +291,7 @@
                     </tr>
                     <tr>
                         <td style="line-height: 37px">
-                            3.本人曾受过刑事处罚的或涉嫌违法犯罪尚未查清
+                            3.本人曾因犯罪受过刑事处罚;
                         </td>
                         <td>
                             <input type="radio"  name="q13" value="1" />是
@@ -302,7 +302,7 @@
                     </tr>
                     <tr>
                         <td style="line-height: 37px">
-                            4.本人因聚众赌博、嫖娼等被处以治安拘留及以上处罚,或有涉毒问题
+                            4.本人曾被开除公职
                         </td>
                         <td>
                             <input type="radio"  name="q14" value="1" />是
@@ -313,7 +313,7 @@
                     </tr>
                     <tr>
                         <td style="line-height: 37px">
-                            5.本人为尚未解除党纪、政纪处分或正在接受纪律审查的人员
+                            5.本人被列为失信被执行人且尚未履行义务
                         </td>
                         <td>
                             <input type="radio"  name="q15" value="1" />是
@@ -324,51 +324,7 @@
                     </tr>
                     <tr>
                         <td style="line-height: 37px">
-                            6.本人曾因违纪违规被开除辞退解聘;
-                        </td>
-                        <td>
-                            <input type="radio"  name="q16" value="1" />是
-                        </td>
-                        <td>
-                            <input type="radio"  name="q16" value="0" />否
-                        </td>
-                    </tr>
-                    <tr>
-                        <td style="line-height: 37px">
-                            7.本人曾参加非法组织、邪教组织或者从事其他危害国家安全活动;
-                        </td>
-                        <td>
-                            <input type="radio"  name="q17" value="1" />是
-                        </td>
-                        <td>
-                            <input type="radio"  name="q17" value="0" />否
-                        </td>
-                    </tr>
-                    <tr>
-                        <td style="line-height: 37px">
-                            8.本人被列为失信被执行人且尚未履行义务;
-                        </td>
-                        <td>
-                            <input type="radio"  name="q18" value="1" />是
-                        </td>
-                        <td>
-                            <input type="radio"  name="q18" value="0" />否
-                        </td>
-                    </tr>
-                    <tr>
-                        <td style="line-height: 37px">
-                            9.本人在各级公务员、事业单位招考中被认定有舞弊等严重违反纪律行为;
-                        </td>
-                        <td>
-                            <input type="radio"  name="q19" value="1" />是
-                        </td>
-                        <td>
-                            <input type="radio"  name="q19" value="0" />否
-                        </td>
-                    </tr>
-                    <tr>
-                        <td style="line-height: 37px">
-                            10.本人存在法律法规规定的其他不得报考的情形。
+                            6.本人存在法律法规规定的其他不得报考的情形。
                         </td>
                         <td>
                             <input type="radio"  name="q20" value="1" />是
@@ -382,10 +338,10 @@
             </form>
             </p>
             <p style="margin-bottom: 0;margin-left: 0;text-indent: 43px;line-height: 37px">
-                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 20px;font-weight: 700">特别提示:</span><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 20px;font-weight: 700"><span style="font-family:微软雅黑">存在上述1-10情形的,不得参加考试。</span></span>
+                <span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 20px;font-weight: 700">特别提示:</span><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 20px;font-weight: 700"><span style="font-family:微软雅黑">存在上述1-6情形的,不得参加考试。</span></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-10情形。</span></strong><span style="font-family: 微软雅黑;letter-spacing: 0;font-size: 16px">本人保证所提交的报名信息和相关证明材料真实、准确、有效,如提供虚假信息和证明材料,本人愿承担一切责任。</span>
+                <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_commit1" /> 我已知晓上述内容并承诺遵守</span>
@@ -669,21 +625,69 @@
                         disapperTooltip("remind", "只有登录个人会员才可打印!");
                         return false;
                     } else {
+                        {{--var qsDialog = $(this).dialog({--}}
+                        {{--    loading: true,--}}
+                        {{--    header: false,--}}
+                        {{--    border: false,--}}
+                        {{--    btns: ['打印准考证','取消'],--}}
+                        {{--    yes: function(){--}}
+                        {{--        if($($(".agree_commit_normal")[1]).prop('checked')){--}}
+                        {{--            window.location.href = "{!! route('recruit.face_ticket',['recruit_id'=>$recruit->id]) !!}";--}}
+                        {{--        }else{--}}
+                        {{--            alert('请阅读并承诺遵守《安全考试承诺书》');--}}
+                        {{--        }--}}
+                        {{--    }--}}
+                        {{--});--}}
+                        {{--qsDialog.setContent($('#commit0').html());--}}
                         var qsDialog = $(this).dialog({
                             loading: true,
                             header: false,
                             border: false,
-                            btns: ['打印准考证','取消'],
+                            btns: ['下一份','取消'],
                             yes: function(){
-                                if($($(".agree_commit_normal")[1]).prop('checked')){
-                                    window.location.href = "{!! route('recruit.face_ticket',['recruit_id'=>$recruit->id]) !!}";
-                                }else{
-                                    alert('请阅读并承诺遵守《安全考试承诺书》');
+                                qsDialog.setCloseDialog(false);
+                                if(!$($(".agree_commit")[1]).prop('checked')){
+                                    disapperTooltip("remind", "请阅读并承诺遵守《考生健康申明卡及安全考试承诺书》!");
+                                    //alert('请阅读并承诺遵守《考生健康申明卡及安全考试承诺书》');
+                                    return false;
                                 }
+                                qsDialog.setCloseDialog(true);
+                                var dialog_1 = $(this).dialog({
+                                    loading: true,
+                                    header: false,
+                                    border: false,
+                                    btns: ['打印准考证','取消'],
+                                    yes: function(){
+                                        dialog_1.setCloseDialog(false);
+                                        var must = 1,total = 0;
+                                        $.each($($(".commit_step_2")[1]).find("input"),function(){
+                                            if(this.checked){
+                                                if($(this).val() == 1){
+                                                    must = 0;
+                                                }
+                                                total++;
+                                            }
+                                        });
+                                        if(total != 6){
+                                            disapperTooltip("remind", "请勾选以上项目!");
+                                            return false;
+                                        }
+                                        if(!must){
+                                            disapperTooltip("remind", "不符合参加考试条件,请检查!");
+                                            return false;
+                                        }
+                                        if(!$($(".agree_commit1")[1]).prop('checked')){
+                                            disapperTooltip("remind", "请阅读并承诺遵守《考生报考承诺书》!");
+                                            return false;
+                                        }
+                                        dialog_1.setCloseDialog(true);
+                                        window.location.href = "{!! route('recruit.pen_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";
+                                    }
+                                });
+                                dialog_1.setContent($('#commit1').html())
                             }
                         });
-                        qsDialog.setContent($('#commit0').html());
-
+                        qsDialog.setContent($('#commit').html());
                     }
                 } else {
                     var qsDialog = $(this).dialog({