|
@@ -972,69 +972,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.reexamine_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(){
|
|
|
- qsDialog.setCloseDialog(false);
|
|
|
- if(!$($(".agree_commit")[1]).prop('checked')){
|
|
|
- disapperTooltip("remind", "请阅读并承诺遵守《考生健康申明卡及安全考试承诺书》!");
|
|
|
- //alert('请阅读并承诺遵守《考生健康申明卡及安全考试承诺书》');
|
|
|
- return false;
|
|
|
+ if($($(".agree_commit1")[1]).prop('checked')){
|
|
|
+ window.location.href = "{!! route('recruit.reexamine_ticket',['recruit_id'=>$recruit->id]) !!}";
|
|
|
+ }else{
|
|
|
+ alert('请阅读并承诺遵守《安全考试承诺书》');
|
|
|
}
|
|
|
- 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.reexamine_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";
|
|
|
- }
|
|
|
- });
|
|
|
- dialog_1.setContent($('#commit1').html())
|
|
|
}
|
|
|
});
|
|
|
- qsDialog.setContent($('#commit').html());
|
|
|
+ //qsDialog.setContent($('#commit0').html());
|
|
|
+ {{--var qsDialog = $(this).dialog({--}}
|
|
|
+ {{-- loading: true,--}}
|
|
|
+ {{-- header: false,--}}
|
|
|
+ {{-- border: false,--}}
|
|
|
+ {{-- btns: ['下一份','取消'],--}}
|
|
|
+ {{-- yes: function(){--}}
|
|
|
+ {{-- 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.reexamine_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";--}}
|
|
|
+ {{-- }--}}
|
|
|
+ {{-- });--}}
|
|
|
+ {{-- dialog_1.setContent($('#commit1').html())--}}
|
|
|
+ {{-- }--}}
|
|
|
+ {{--});--}}
|
|
|
+ qsDialog.setContent($('#commit1').html());
|
|
|
}
|
|
|
} else {
|
|
|
var qsDialog = $(this).dialog({
|