cho C('qscms_default_district_spell');?>", subsite: "1" }; /*ie兼容 Promise*/ isIE(); function isIE() { if ( !! window.ActiveXObject || "ActiveXObject" in window) { var script = document.createElement("script"); script.type = "text/javascript"; script.src = "/Application/Home/View/default/public/js/bluebird.js"; document.getElementsByTagName('head')[0].appendChild(script); } } /*ie兼容 Promise end*/ $(function(){ if (eval(qscms.subsite)) { // 开启分站 $.getJSON("/Home/AjaxCommon/get_sub_header_min.html",function(result){ if(eval(result.status) === 1){ $('#J_header_sub').html(result.data.html); } }); } else { $.getJSON("/Home/AjaxCommon/get_header_min.html",function(result){ if(eval(result.status) === 1){ $('#J_header').html(result.data.html); } }); } }) // 验证码统一处理 function qsCaptchaHandler(passCallback) { var callBackArr = new Array(); $.ajax({ url: qscms.root + '?m=Home&c=captcha&t=' + (new Date()).getTime(), type: 'get', dataType: 'json', success: function(config) { if (config.verify_type == 'vaptcha') { // 手势验证码 vaptcha({ vid: config.vid, type: 'invisible', scene: 1, https: config.https, offline_server:qscms.root+'?m=Home&c=captcha&a=vaptcha_outage', }).then(function (vaptchaObj) { obj = vaptchaObj; vaptchaObj.listen('pass', function() { callBackArr['token'] = vaptchaObj.getToken(); passCallback(callBackArr); }); vaptchaObj.listen('close', function() {}); vaptchaObj.validate(); }); } else if (config.verify_type == 'tencent') { // 腾讯云验证码 var TCaptchaObj = new TencentCaptcha(config.vid, function(res) { if(res.ret === 0){ callBackArr['Ticket'] = res.ticket; callBackArr['Randstr'] = res.randstr; passCallback(callBackArr); } }); TCaptchaObj.show(); } else { // 极验 initGeetest({ gt: config.gt, challenge: config.challenge, offline: !config.success, new_captcha: config.new_captcha, product: 'bind', https: true }, function(captchaObj) { captchaObj.appendTo("#pop"); captchaObj.onSuccess(function() { var captChaResult = captchaObj.getValidate(); callBackArr['geetest_challenge'] = captChaResult.geetest_challenge; callBackArr['geetest_validate'] = captChaResult.geetest_validate; callBackArr['geetest_seccode'] = captChaResult.geetest_seccode; if ($('.J_gee_cha')) { $('.J_gee_cha').val(captChaResult.geetest_challenge); $('.J_gee_val').val(captChaResult.geetest_validate); $('.J_gee_sec').val(captChaResult.geetest_seccode); } passCallback(callBackArr); }) captchaObj.onReady(function() { captchaObj.verify(); }); $('#btnCheck').on('click', function() { captchaObj.verify(); }) window.captchaObj = captchaObj; }); } } }) } var imConfig = { notOnlineUrl:"/Career/Im/not_online.html", setimUserinfo:"/Career/Im/setim_userinfo.html", setimUserList:"/Career/Im/user_list.html", getqiyeIfo:"/Career/Im/getqiyeinfo.html", messageInfoUrl:"/Career/Im/impc_chatlist/uid/_touid.html", access_token:"", token:"", userInfo : { id: "", name: "", avatars: "" } }; var imUser = { isDialogue:'', sendUser:{ id:'', name: '', avatars: '' }, newTime:'', username_qiye:'', username_geren:'', is_imu_info:'' };
当前位置:招考公告 > 未分类
1970-01-01 08:00:00