| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112 |
- @extends('module.layouts.content')
- @push('meta')
- @endpush
- @push('css')
- <link href="{{ theme_asset('app/css/common.css') }}" rel="stylesheet">
- <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;
- line-height: 30px;
- font-size: 17px;
- }
- </style>
- @endpush
- @push('js')
- @endpush
- @section('content')
- <div class="recruit_container clearfix">
- <div class="recruit_show_content" style="margin-top: 10px">
- @if($public_notice_switch)
- <div class="title">{{ $info->name }}</div>
- @else
- <div class="title">{{ $public_notice->title }}</div>
- @endif
- <div class="recruit_step" id="step">
- <div class="times_line">
- </div>
- <ul class="process">
- @foreach($info->steps as $step)
- <li class="dis_li" data-index="{{ $step['step_id'] }}">
- <p class="name">{{ $step['name'] }}</p>
- <p class="time">
- {{ $step['time'] }}
- </p>
- </li>
- @endforeach
- </ul>
- </div>
- <div class="recruit_content">
- @if($public_notice_switch)
- {!! $info->introduction !!}
- @else
- {!! $public_notice->content !!}
- @endif
- </div>
- </div>
- <div class="content_right_nav right_nav_li" id="sidebar" style="padding-top:75px;padding-bottom:17px;">
- <ul>
- @if($recruit->limit_times == 1)
- <a href="javascript:void(0)" id="to_sign_up" data-id="{{$info->id}}" >
- <li style="background: #1280dd;float: left;margin-bottom:10px;">
- 报名/查看报名
- </li>
- </a>
- @else
- <a href="javascript:void(0)" id="to_sign_up" data-id="{{$info->id}}" >
- <li style="background: #1280dd;float: left;margin-bottom:10px;">
- 报名
- </li>
- </a>
- <a href="javascript:void(0)" id="to_sign_up1" data-id="{{$info->id}}" >
- <li style="background: #1280dd;float: left;margin-bottom:10px;">
- 查看报名
- </li>
- </a>
- @endif
- @if($recruit->pen_comfirm)
- <a href="javascript:void(0)" id="pen_comfirm" data-id="{{$info->id}}" >
- <li style="background:#ff9900;float: left;margin-bottom:10px;">确认参加笔试</li>
- </a>
- @endif
- @if(in_array(3,explode(',',$recruit->step)))
- <a href="javascript:void(0)" id="pen_ticket" data-id="{{$info->id}}" >
- <li style="background:#ff9900;float: left;margin-bottom:10px;">笔试准考证打印</li>
- </a>
- @endif
- @if(in_array(4,explode(',',$recruit->step)))
- <a href="javascript:void(0)" id="computer_ticket" data-id="{{$info->id}}" >
- <li style="background:#19b38d;float: left;margin-bottom:10px;">上机/考核准考证打印</li>
- </a>
- @endif
- @if(in_array(5,explode(',',$recruit->step)) && $recruit->face_ticket_type == 1)
- <a href="javascript:void(0)" id="face_ticket" data-id="{{$info->id}}" >
- <li style="background:#bc3fbb;float: left;margin-bottom:10px;">面试通知书打印</li>
- </a>
- @endif
- @if(in_array(6,explode(',',$recruit->step)) && $recruit->reexamine_ticket_type == 1)
- <a href="javascript:void(0)" id="reexamine_ticket" data-id="{{$info->id}}" >
- <li style="background:#eb0b50;float: left;margin-bottom:10px;">复试通知书打印</li>
- </a>
- @endif
- @if($recruit->show_report)
- <a href="{{ route('recruit.sign_up_count',array('id'=>$recruit->id)) }}" >
- <li style="background:#dd4250;float: left;margin-bottom:10px;">报名人数统计</li>
- </a>
- @endif
- @if($recruit->id == 19)
- <a href="{{ route('recruit.health_info',array('id'=>$recruit->id,'type' => 'face')) }}" >
- <li style="background:#EFC1B3;float: left;margin-bottom:10px;">健康信息登记</li>
- </a>
- @endif
- @if($recruit->id == 30)
- <a href="javascript:void(0)" id="supplementary_entry" data-id="{{$info->id}}" href="{{ route('recruit,supplementary_entry',array('id'=>$recruit->id)) }}" >
- <li style="background:#EFC1B3;float: left;margin-bottom:10px;">补充录用报名</li>
- </a>
- @endif
- @if($recruit->id == 38 || $recruit->id == 68)
- <a href="{{ route('recruit.material_supplement',array('id'=>$recruit->id)) }}" >
- <li style="background:#67C23A;float: left;margin-bottom:10px;">考察审核</li>
- </a>
- <a href="{{ route('recruit.post_select',array('recruit_id'=>$recruit->id)) }}" >
- <li style="background:#764DB3;float: left;margin-bottom:10px;">择岗</li>
- </a>
- @endif
- @if($recruit->id == 18 || $recruit->id == 38 || $recruit->id == 68)
- <a href="{{ route('recruit.supplement_info',array('id'=>$recruit->id)) }}" >
- <li style="background:#764DB3;float: left;margin-bottom:10px;">信息采集</li>
- </a>
- @endif
- <div style="clear: both;"></div>
- </ul>
- <div class="content_right_notice" style="margin-top: 20px;">
- @if($public_notice_switch)
- <!--标题-->
- <div class="right_notice_title">
- <b></b>
- <span class="tit" style="font-weight: bold;">报考必看</span>
- </div>
- <!--内容-->
- <div class="right_notice_con">
- @if(!isset($list))
- 暂无相关公告
- @else
- @foreach($list as $item)
- <a style="display: flex;" href="{{ route('recruit.index.show',array('id'=>$recruit->id,'notice' => $item->id)) }}" target="_blank" rel="nofollow noopener noreferrer">
- <div class="ico" style="display:inline-block;vertical-align: middle;height: 30px;">
- <b class="yuan"></b>
- </div>
- <div class="notice_con_right" style="display:inline-block;">
- <span style="display:-webkit-box;width:100%;overflow: hidden;text-overflow:ellipsis;-webkit-box-orient: vertical; -webkit-line-clamp: 2;">{{$item->title}}</span>
- </div>
- </a>
- <div style="text-align: right;">{{substr($item->created_at,0,10) }}</div>
- @endforeach
- @endif
- </div>
- @else
- <div class="right_notice_title">
- <b></b>
- <span class="tit">原始招聘公告</span>
- </div>
- <!--内容-->
- <div class="right_notice_con">
- <a href="{{ route('recruit.index.show',array('id'=>$recruit->id)) }}" target="_blank" rel="nofollow noopener noreferrer">
- <div class="ico" style="display:inline-block;vertical-align: middle;height: 30px;">
- <b class="yuan"></b>
- </div>
- <div class="notice_con_right" style="display:inline-block;">
- <span style="display:inline-block;width:156px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;">{{$recruit->name}}</span>
- <span style="display:inline-block;"
- class="notice_con_right_time">{{substr($recruit->created_at,0,10) }}</span>
- </div>
- </a>
- </div>
- @endif
- </div>
- </div>
- </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;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"> {{$appoint_info->realname}} </span></span></strong> <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"> {{$appoint_info->card}} <span style="font-family:微软雅黑"> </span></span></span></strong> <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"> {{$appoint_info->mobile}} </span></span></strong>
- </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>
- <br/>
- </p>
- </div>
- </div>
- <div id="commit1" 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;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"> {{$appoint_info->realname}} </span></span></strong> <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"> {{$appoint_info->sex == 0 ? '女' : '男'}} </span></span></strong> <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"> {{$appoint_info->card}} <span style="font-family:微软雅黑"> </span></span></span></strong> <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"> {{$appoint_info->mobile}} </span></span></strong>
- </p>
- <p style="margin-bottom: 0;margin-left: 0;text-indent: 14px;line-height: 37px">
- <form class="commit_step_2">
- <table width="100%">
- <tbody>
- <tr>
- <td style="line-height: 37px" width="90%">
- 1.本人为现役军人;
- </td>
- <td>
- <input type="checkbox" name="q1" value="1"> 是
- <input type="checkbox" name="q1" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 2.本人为普通高等院校全日制在读的非毕业生;
- </td>
- <td>
- <input type="checkbox" name="q2" value="1"> 是
- <input type="checkbox" name="q2" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 3.本人曾因犯罪受过刑事处罚;
- </td>
- <td>
- <input type="checkbox" name="q3" value="1"> 是
- <input type="checkbox" name="q3" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 4.本人曾被开除公职;
- </td>
- <td>
- <input type="checkbox" name="q4" value="1"> 是
- <input type="checkbox" name="q4" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 5.本人在最高人民法院失信被执行人查询平台查询有失信记录;
- </td>
- <td>
- <input type="checkbox" name="q5" value="1"> 是
- <input type="checkbox" name="q5" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 6.本人被依法列为失信联合惩戒对象;
- </td>
- <td>
- <input type="checkbox" name="q6" value="1"> 是
- <input type="checkbox" name="q6" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 7.本人涉嫌违纪违法正在接受有关专门机关审查调查尚未作出结论;
- </td>
- <td>
- <input type="checkbox" name="q7" value="1"> 是
- <input type="checkbox" name="q7" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 8.本人收到诫勉、组织处理或者党纪政务处分等影响期未满或期满影响使用;
- </td>
- <td>
- <input type="checkbox" name="q8" value="1"> 是
- <input type="checkbox" name="q8" value="0"> 否
- </td>
- </tr>
- <tr>
- <td style="line-height: 37px">
- 9.本人存在法律法规规定的其他不得报考的情形。
- </td>
- <td>
- <input type="checkbox" name="q9" value="1"> 是
- <input type="checkbox" name="q9" value="0"> 否
- </td>
- </tr>
- </tbody>
- </table>
- </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:微软雅黑">以上项目中如有“是”的,不得参加考试。</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">本人承诺:</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>
- </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>
- @endsection
- @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({
- url: "{{route('recruit.check_user_basic_info')}}",
- data: {_token:"{{csrf_token()}}"},
- type: 'POST',
- dataType: 'json',
- success: function (data) {
- if (data.status != 200) {
- disapperTooltip('remind', data.msg);
- if(data.hasOwnProperty('url')){
- setTimeout(function () {
- window.location.href = data.url + '?recruit_id='+recruit_id;
- }, 2000);
- }
- return false;
- } else {
- window.location.href = "{{route('recruit.sign_up')}}" + '?id=' + recruit_id;
- }
- }
- })
- }
- function isIE() {
- var u = window.navigator.userAgent.toLocaleLowerCase(),
- ie11 = /(trident)\/([\d.]+)/,
- b = u.match(ie11);
- if(b || !!window.ActiveXObject || "ActiveXObject" in window){
- return true;
- }else{
- return false;
- }
- }
- $(function () {
- //右侧悬浮
- $('#sidebar').portamento({gap: 170});
- //设置当前进度
- var current = parseInt({{ $info->current }})
- $(".process li").each(function(index,item){
- var step = $(this).data("index");
- if(step <= current){
- $(item).addClass("active");
- }
- });
- var isApply = parseInt({{ $info->isApply }});
- //点击报名
- $("#to_sign_up").click(function () {
- var isVisitor = "{{$uid}}";
- var id = $(this).data('id');
- var isVisitorutype = "{{$utype}}";
- var apply_start = $("#apply_start").val() + "000";
- var apply_end = $("#apply_end").val() + "000";
- var predetermined_status = $("#predetermined_status").val();
- var time = new Date().getTime();
- if ((isVisitor > 0)) {
- if (current > 2) {
- disapperTooltip("remind", "当前非报名阶段!");
- return false;
- }
- if (isApply != 1) {
- disapperTooltip("remind", "当前非报名时间!");
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可报名!");
- return false;
- } else {
- if(isIE()){
- disapperTooltip("remind", "报名系统不支持IE浏览器,请更换浏览器!");
- return false;
- }
- check_user_basic_info(id)
- //window.location.href = "{{route('recruit.sign_up')}}" + '?id=' + id;
- }
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- $("#to_sign_up1").click(function () {
- var isVisitor = "{{$uid}}";
- var id = $(this).data('id');
- var isVisitorutype = "{{$utype}}";
- var apply_start = $("#apply_start").val() + "000";
- var apply_end = $("#apply_end").val() + "000";
- var predetermined_status = $("#predetermined_status").val();
- var time = new Date().getTime();
- if ((isVisitor > 0)) {
- // if (current > 2) {
- // disapperTooltip("remind", "当前非报名阶段!");
- // return false;
- // }
- // if (isApply != 1) {
- // disapperTooltip("remind", "当前非报名时间!");
- // return false;
- // }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可报名!");
- return false;
- } else {
- if(isIE()){
- disapperTooltip("remind", "报名系统不支持IE浏览器,请更换浏览器!");
- return false;
- }
- }
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- title: '报考记录',
- border: false,
- backdrop: false,
- width:'860px',
- height:'400px'
- });
- qsDialog.setInnerPadding(false);
- $.post("{{ route('recruit.get_appoint_list') }}", {recruit_id:id},function(result){
- if(result.code==1){
- qsDialog.setContent(result.data);
- qsDialog.showFooter(true);
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- $("#pen_comfirm").click(function (){
- var isVisitor = "{{$uid}}";
- var pen_comfirm = "{{ $appoint_info->pen_comfirm }}";
- var isVisitorutype = "{{$utype}}"; //判断是企业还是个人
- if ((isVisitor > 0)) {
- if (pen_comfirm == 0) {
- disapperTooltip("remind", "您无需参与此次确认笔试的操作!");
- return false;
- }
- if (pen_comfirm == -1) {
- disapperTooltip("remind", "未在操作时间段内!");
- return false;
- }
- if (pen_comfirm == -2) {
- disapperTooltip("remind", "您已确认,无需再次确认!");
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可确认!");
- return false;
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- header: false,
- border: false,
- btns: ['确认参加笔试','取消'],
- yes: function(){
- $.post("{{route('recruit.comfirm_pen')}}", {_token:"{{csrf_token()}}",recruit_id:"{{ $recruit->id }}"},function(result){
- if(result.status == 1){alert('确认参加笔试成功,请在指定时间段内打印准考证!');
- }else{
- alert('确认失败,请联系工作人员!');
- }
- });
- }
- });
- qsDialog.setContent("您正在进行确认参加笔试的操作,请确认您能按时参加笔试!");
- }
- }else{
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- //笔试准考证
- $("#pen_ticket").click(function (){
- var isVisitor = "{{$uid}}";
- var id = $(this).data('id');
- var isVisitorutype = "{{$utype}}"; //判断是企业还是个人
- var pen_audit = "{{$appoint_info->pen_audit}}";
- var pen_ticket = "{{$appoint_info->pen_ticket}}"
- if ((isVisitor > 0)) {
- // if (isApply != 1) {
- // disapperTooltip("remind", "抱歉,您没有报名!");
- // return false;
- // }
- if (pen_audit == 3) {
- disapperTooltip("remind", "您本次报名招考目前没有笔试项目!");
- return false;
- }
- if(pen_ticket == 0){
- disapperTooltip("remind", "您暂无可打印的准考证!");
- return false;
- }
- if(pen_ticket == -1){
- disapperTooltip("remind", "非准考证打印时间!");
- return false;
- }
- if(pen_ticket == -2){
- disapperTooltip("remind", "健康信息未上传,即将自动跳转至上传界面!");
- setTimeout(function(){
- window.location.href="{!! route('recruit.health_info',array('id'=>$recruit->id,'type' => 'pen')) !!}"
- },2000);
- return false;
- }
- if (isVisitorutype == '1') {
- 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.pen_ticket',['recruit_id'=>$recruit->id]) !!}";--}}
- {{-- }else{--}}
- {{-- alert('请阅读并承诺遵守《安全考试承诺书》');--}}
- {{-- }--}}
- {{-- }--}}
- {{--});--}}
- {{--qsDialog.setContent($('#commit0').html());--}}
- //window.location.href = "{!! route('recruit.pen_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";
- var qsDialog = $(this).dialog({
- loading: true,
- header: false,
- border: false,
- btns: ['打印准考证','取消'],
- yes: function(){
- // 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 != 9){
- // disapperTooltip("remind", "请勾选以上项目!");
- // return false;
- // }
- // if(!must){
- // disapperTooltip("remind", "不符合参加考试条件,请检查!");
- // return false;
- // }
- if(!$($(".agree_commit")[1]).prop('checked')){
- disapperTooltip("remind", "请阅读并承诺遵守《考生报考承诺书》!");
- return false;
- }
- window.location.href = "{!! route('recruit.pen_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";
- }
- });
- qsDialog.setContent($('#commit').html());
- }
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- //上机/考核通知书
- $("#computer_ticket").click(function (){
- var isVisitor = "{{$uid}}";
- var post_id = "{{$appoint_info->post_id}}";
- var isVisitorutype = "{{$utype}}"; //判断是企业还是个人
- var check_ticket = "{{$appoint_info->check_ticket}}";
- if ((isVisitor > 0)) {
- // if (isApply != 1) {
- // disapperTooltip("remind", "抱歉,您没有报名!");
- // return false;
- // }
- if(check_ticket == 0){
- disapperTooltip("remind", "您暂无可打印的准考证!");
- return false;
- }
- if(check_ticket == -3){
- disapperTooltip("remind", "健康信息上传端口已关闭!");
- return false;
- }
- if(check_ticket == -2){
- disapperTooltip("remind", "健康信息未上传,即将自动跳转至上传界面!");
- setTimeout(function(){
- window.location.href="{!! route('recruit.health_info',array('id'=>$recruit->id,'type' => 'face')) !!}"
- },2000);
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可打印!");
- return false;
- } else {
- window.location.href = "{!! route('recruit.check_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";
- }
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- //面试通知书
- $("#face_ticket").click(function (){
- var isVisitor = "{{$uid}}";
- var post_id = "{{$appoint_info->post_id}}";
- var isVisitorutype = "{{$utype}}"; //判断是企业还是个人
- var face_ticket = "{{$appoint_info->face_ticket}}";
- if ((isVisitor > 0)) {
- // if (isApply != 1) {
- // disapperTooltip("remind", "抱歉,您没有报名!");
- // return false;
- // }
- if(face_ticket == 0){
- disapperTooltip("remind", "您暂无可打印的准考证!");
- return false;
- }
- if(face_ticket == -3){
- disapperTooltip("remind", "健康信息上传端口已关闭!");
- return false;
- }
- if(face_ticket == -2){
- disapperTooltip("remind", "健康信息未上传,即将自动跳转至上传界面!");
- setTimeout(function(){
- window.location.href="{!! route('recruit.health_info',array('id'=>$recruit->id,'type' => 'face')) !!}"
- },2000);
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可打印!");
- return false;
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- header: false,
- border: false,
- btns: ['打印准考证','取消'],
- yes: function(){
- if($($(".agree_commit")[1]).prop('checked')){
- window.location.href = "{!! route('recruit.face_ticket',['recruit_id'=>$recruit->id]) !!}";
- }else{
- alert('请阅读并承诺遵守《考生报考承诺书》');
- }
- }
- });
- qsDialog.setContent($('#commit').html());
- //window.location.href = "{!! route('recruit.face_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";
- {{--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($recruit->id == 21)--}}
- {{-- if(total != 6){--}}
- {{-- disapperTooltip("remind", "请勾选以上项目!");--}}
- {{-- return false;--}}
- {{-- }--}}
- {{-- @else--}}
- {{-- if(total != 6){--}}
- {{-- disapperTooltip("remind", "请勾选以上项目!");--}}
- {{-- return false;--}}
- {{-- }--}}
- {{-- @endif--}}
- {{-- 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.face_ticket',['recruit_id'=>$recruit->id,'uid'=>$uid]) !!}";--}}
- {{-- }--}}
- {{-- });--}}
- {{-- dialog_1.setContent($('#commit1').html())--}}
- {{-- }--}}
- {{--});--}}
- {{--qsDialog.setContent($('#commit').html());--}}
- }
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- //复试通知书
- $("#reexamine_ticket").click(function (){
- var isVisitor = "{{$uid}}";
- var post_id = "{{$appoint_info->post_id}}";
- var isVisitorutype = "{{$utype}}"; //判断是企业还是个人
- var reexamine_ticket = "{{$appoint_info->reexamine_ticket}}";
- if ((isVisitor > 0)) {
- // if (isApply != 1) {
- // disapperTooltip("remind", "抱歉,您没有报名!");
- // return false;
- // }
- if(reexamine_ticket == 0){
- disapperTooltip("remind", "您暂无可打印的准考证!");
- return false;
- }
- if(reexamine_ticket == -2){
- disapperTooltip("remind", "健康信息未上传,即将自动跳转至上传界面!");
- setTimeout(function(){
- window.location.href="{!! route('recruit.health_info',array('id'=>$recruit->id,'type' => 'reexamine')) !!}"
- },2000);
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可打印!");
- return false;
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- header: false,
- border: false,
- btns: ['打印准考证','取消'],
- yes: function(){
- if($($(".agree_commit1")[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: ['下一份','取消'],--}}
- {{-- 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({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- $("#supplementary_entry").click(function(){
- var isVisitor = "{{$uid}}";
- var adjust_limit = "{{ $appoint_info->adjust_limit }}";
- var adjust = "{{ $appoint_info->adjust }}";
- var isVisitorutype = "{{$utype}}"; //判断是企业还是个人
- if ((isVisitor > 0)) {
- if (adjust_limit == 0) {
- disapperTooltip("remind", "您无需补充报名!");
- return false;
- }
- if (adjust == 1) {
- disapperTooltip("remind", "您已报名成功,无需再次报名!");
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可确认!");
- return false;
- } else {
- var qsDialog = $(this).dialog({
- loading: true,
- header: false,
- border: false,
- btns: ['确认','取消'],
- yes: function(){
- $.post("{{route('recruit,supplementary_entry')}}", {_token:"{{csrf_token()}}",recruit_id:"{{ $recruit->id }}"},function(result){
- if(result.status == 1){alert('补充报名成功!');
- }else{
- alert('报名失败,请联系工作人员!');
- }
- });
- }
- });
- qsDialog.setContent("您正在进行补充报名操作!");
- }
- }else{
- var qsDialog = $(this).dialog({
- loading: true,
- footer: false,
- header: false,
- border: false,
- backdrop: false
- });
- var loginUrl = "{{route('loginDig')}}";
- $.post(loginUrl, {_token:"{{csrf_token()}}",type:'per','redirect_url':"{{ route('recruit.index.show',['id'=>$recruit->id]) }}"},function(result){
- if(result.status==1){
- qsDialog.hide();
- var qsDialogSon = $(this).dialog({
- title: '会员登录',
- content: result.html,
- footer: false,
- border: false
- });
- qsDialogSon.setInnerPadding(false);
- } else {
- qsDialog.hide();
- disapperTooltip('remind','操作失败');
- }
- });
- }
- });
- });
- $(".right_nav ul li a").click(function () {
- if ($(this).has(".onNav")) {
- $(this).addClass("onNav").parent("li").siblings("li").find("a").removeClass("onNav");
- }
- })
- // 锚点
- $('#contact').click(function () {
- var f = $(this).attr('href');
- var reg = /\#(\w+)/;
- if (reg.test(f)) {
- var targetOffset = $(f).offset().top;
- $('html,body').animate({
- scrollTop: targetOffset
- }, 1000);
- return !1;
- }
- });
- $("#toappoint").click(function () {
- var isVisitor = "{{$uid}}";
- var id = $(this).data('id');
- var isVisitorutype = "{{$utype}}";
- var apply_start = $("#apply_start").val() + "000";
- var apply_end = $("#apply_end").val() + "000";
- var predetermined_status = $("#predetermined_status").val();
- var time = new Date().getTime();
- if ((isVisitor > 0)) {
- if (predetermined_status != 1) {
- disapperTooltip("remind", "报名暂停");
- return false;
- }
- if (apply_start > time) {
- disapperTooltip("remind", "报名尚未开始");
- return false;
- }
- if (time > apply_end) {
- disapperTooltip("remind", "报名已截止");
- return false;
- }
- if (isVisitorutype == '1') {
- disapperTooltip("remind", "只有登录个人会员才可报名!");
- return false;
- } else {
- check_user(id);
- {{--window.location.href = "{{route('recruit.user_appoint')}}" + '?id=' + id;--}}
- // qscms.root + "?m=Recruit&c=Index&a=user_appoint&id=" + id
- }
- } else {
- }
- })
- </script>
- @endsection
|