法律声明 :转载需标注来源康强医疗人才网
公招97国际9761使用方法常见问题
请打开康强APP/小程序免费赚康强点
",
btn: ['打开康强APP','打开小程序'],
shade: 0.3,
shadeClose: true,
btn1:function(index, layero){
locations.href='/__xh__/app.kq36.com/'
},
btn2:function(index, layero){
$.getJSON('/public/returnhtm/return_mobile_ajax.asp',{cmd:"getwxminiurl",path:'/pages/home/index/index',query:''}, function(res){
if (res.Wxurllink!=''){
top.locations.href='https://'+res.Wxurllink
}
});
},
success:function(){
$(".layui-layer[type='page']").css('border-radius', '5px')
}
});
}
})
$('.buybtn').live("click",function(){
navigatorTo('/service/zd/?referer=viewtel','webtip','');
layer.closeAll()
})
$(".vtel_btn").live("click",function(){
var this_=$(this);
var thistxt=$(this).html();
var jobid=$(this).attr("data-jobid");
var datatype=$(this).attr("data-type");
var labor=$(this).attr("data-labor");
var zname='周老师'
var laborzname=''
if (labor=='1'){zname=laborzname}
if (GetSubCookie("usercookies","usertype")==''){
layer.msg('请先登陆会员',{time:2000},function(){
navigatorTo('','login','')
})
return false
}
if (true){
$.post("/public/returnhtm/return_uni-app.asp",{cmd:'tocompletetel',typen:'3g',typen_:'gov',jobid:jobid,sure:1,datatype:escape(datatype)},function(data){
var status=data.status;
if (status==1) {
if (data.xhNum=='0'){//免费
$.post("/public/returnhtm/return_uni-app.asp",{cmd:'tocompletetel',typen:'3g',typen_:'gov',jobid:jobid,datatype:escape(datatype),labor:escape(labor)},function(res){
var status=res.status;
if (status==1) {
console.log(res)
var vtelinfo=res.vtelinfo
if (vtelinfo.length>0){
var endTime=vtelinfo[0].endTime
var fm=vtelinfo[0].fm
var due=vtelinfo[0].due
var virtualMobile=vtelinfo[0].virtualMobile
fm=formatPhone(fm)
//tvirtualMobile=virtualMobile
//this_.html(' '+virtualMobile)
//countDownTime(endTime);
virtualMobilestr=""
$.each(vtelinfo,function(k,p){
tvirtualMobile=p.virtualMobile
virtualMobile=formatPhone(tvirtualMobile)
extNo=p.extNo
virtualMobilestr=virtualMobilestr+"
"+virtualMobile+"
"
if (extNo != '') {
virtualMobilestr=virtualMobilestr+'
'+extNo+' '
}
})
if (datatype=='wx'){
virtualMobilestr="
"
}else{
virtualMobilestr=virtualMobilestr+"
"+zname
}
layer.load('')
layer.open({
type:1,
skin: 'layui-layer-demo', //样式类名
//closeBtn: 0, //不显示关闭按钮
//anim: 2,
offset:'auto',
title:false,
shadeClose: true, //开启遮罩关闭
content: "
"+res.titleinfo+"
"+virtualMobilestr+"
", //
end: function () {layer.closeAll() },
success: function (layero,index) {
$('.layui-layer-content').addClass("kqcontent")
$('.layui-layer-shade').addClass("kqshade")
layer.closeAll('loading')
layero.css({
'top': '50%',
'left': '50%',
'margin-top': -layero.outerHeight()/2 + 'px',
'margin-left': -layero.outerWidth()/2 + 'px'
});
$(".layui-layer[type='page']").css('border-radius', '10px')
$(".layui-layer-setwin").css({ 'top': 'auto', 'right': 'auto', 'bottom': '-40px', 'left': '45%' })
}
})
return false
}else{
layer.msg('操作失败,请稍后重试');
}
}else{
layer.msg("
"+res.msginfo+"
")
}
},"json")
}else{
var btntxt="拨打电话"
if (datatype=='wx'){btntxt='查看微信'}
layer.load()
layer.alert('
'+data.msginfo+'
您的康强点:
'+data.surplus+' 点
注:(1点=1元) 充值 免费赚康强点 ', {
title: false,
shadeClose: true,
//area:['96%','auto'],
btn: ['
'+btntxt+' '],
//end: function () {layer.closeAll() },
success: function (layero,index) {
$('.layui-layer-content').addClass("kqcontent")
$('.layui-layer-shade').addClass("kqshade")
layer.closeAll('loading')
layero.css({
'top': '50%',
'left': '50%',
'margin-top': -layero.outerHeight()/2 + 'px',
'margin-left': -layero.outerWidth()/2 + 'px'
});
$(".layui-layer[type='dialog']").css('border-radius', '10px')
$(".layui-layer-setwin").css({ 'top': 'auto', 'right': 'auto', 'bottom': '-40px', 'left': '45%' })
//$(".layui-layer-btn0").css({ 'background-color': '#0486C4 !important', 'border-color': '#0486C4 !important','color':'#fff !important'})
$(".layui-layer-btn0").addClass("layui-layer-btn1").removeClass("layui-layer-btn0").css({ 'height': '30px', 'line-height': '30px'})
$(".layui-layer-btn").css({'text-align':'center'})
if(ua.indexOf('toutiaomicroapp')!=-1 || ua.indexOf('swan-baiduboxapp')!=-1 || ua.indexOf("swan-bdlite")!=-1 || ua.indexOf("swan-heytapbrowser")!=-1 || ua.indexOf("alipayclient")!=-1 ){$('.freebtn').remove()}
}
}, function () {
var loadindex=layer.load();
$.post("/public/returnhtm/return_uni-app.asp",{cmd:'tocompletetel',typen:'3g',typen_:'gov',jobid:jobid,datatype:escape(datatype)},function(res){
layer.close(loadindex)
var status=res.status;
if (status==1) {
console.log(res)
//layer.msg(res.msginfo)
var vtelinfo=res.vtelinfo
if (vtelinfo.length>0){
var endTime=vtelinfo[0].endTime
var fm=vtelinfo[0].fm
var due=vtelinfo[0].due
var virtualMobile=vtelinfo[0].virtualMobile
//"18019139364"
fm=formatPhone(fm)
//tvirtualMobile=virtualMobile
//this_.html(' '+virtualMobile)
//countDownTime(endTime);
virtualMobilestr=""
$.each(vtelinfo,function(k,p){
tvirtualMobile=p.virtualMobile
extNo=p.extNo
virtualMobile=formatPhone(tvirtualMobile)
virtualMobilestr=virtualMobilestr+"
请用 "+fm+" 号码拨打
"+virtualMobile+"
"
if (extNo != '') {
virtualMobilestr=virtualMobilestr+'
'+extNo+' '
}
})
if (datatype=='wx'){
virtualMobilestr="
"
}else{
virtualMobilestr=virtualMobilestr+"
周老师"
}
layer.load()
layer.open({
type:1,
skin: 'layui-layer-demo', //样式类名
//closeBtn: 0, //不显示关闭按钮
//anim: 2,
title:false,
shadeClose: true, //开启遮罩关闭
content: "
"+res.titleinfo+""+res.msginfo+"
"+virtualMobilestr+"
", //
end: function () {clearTimeout(CDT);layer.closeAll() },
success: function (layero,index) {
layer.closeAll('loading')
layero.css({
'top': '50%',
'left': '50%',
'margin-top': -layero.outerHeight()/2 + 'px',
'margin-left': -layero.outerWidth()/2 + 'px'
});
$('.layui-layer-content').addClass("kqcontent")
$('.layui-layer-shade').addClass("kqshade")
$(".layui-layer[type='page']").css('border-radius', '10px')
$(".layui-layer-setwin").css({ 'top': 'auto', 'right': 'auto', 'bottom': '-40px', 'left': '45%' })
//countDueTime(due);
if (datatype!='wx'){countDownTime(endTime)}
setTimeout("$('.msgnotice').remove()",res.miao);
}
})
return false
}else{
layer.msg('操作失败,请稍后重试');
}
}else if (status==-3){
layer.load()
layer.alert('
', {
title: false,
shadeClose: true,
icon:2,
area:['340px','auto'],
btn: false,
end: function () {layer.closeAll() },
success: function (layero,index) {
$('.layui-layer-content').addClass("kqcontent")
$('.layui-layer-shade').addClass("kqshade")
layer.closeAll('loading')
layero.css({
'top': '50%',
'left': '50%',
'margin-top': -layero.outerHeight()/2 + 'px',
'margin-left': -layero.outerWidth()/2 + 'px'
});
$(".layui-layer[type='dialog']").css('border-radius', '10px')
$(".layui-layer-setwin").css({ 'top': 'auto', 'right': 'auto', 'bottom': '-40px', 'left': '45%' })
if(ua.indexOf('toutiaomicroapp')!=-1 || ua.indexOf('swan-baiduboxapp')!=-1 || ua.indexOf("swan-bdlite")!=-1 || ua.indexOf("swan-heytapbrowser")!=-1 || ua.indexOf("alipayclient")!=-1){$('.freebtn').remove()}
}
},function (){ });
}else{
layer.msg("
"+res.msginfo+"
")
}
},"json")
layer.closeAll()
});
}
}else if (status==0){
layer.msg(data.msginfo,{time:2000},function(){
navigatorTo('','login','')
})
}else{
layer.msg(data.msginfo)
}
},"json")
}
else{
return false;}
})
$('.seebtns').on("click",function(){
var navheight=$('.nav').outerHeight();
if(parseInt($('html,body').scrollTop())!=parseInt($('.contactinfo').offset().top-navheight)){
$('html,body').animate({scrollTop: $('.contactinfo').offset().top-navheight},300);
}
setTimeout(function(){$('.contactinfo').addClass('shake')},400);
setTimeout(function(){$('.contactinfo').removeClass('shake')},1000)
})
$('.rindexbtn').live("click",function(){
$(this).attr('href',";")
if (isUniapp ||isUnimini){
uni.switchTab({url: '/pages/home/index/index'});
}else{
locations.href='/'
}
})
$(".copy").live("click",function(){
var currentscroll=$(window).scrollTop();
console.log(currentscroll)
copyText($(this).attr("data-clipboard-text"),'复制成功')
$(window).scrollTop(currentscroll);
//layer.msg('复制成功')
})
$(".footwx .fbbtn").live("click",function(){
layer.open({
title:false,
shadeClose: true,
btn:false,
type:1,
content:"
"
,success:function(){
$(".layui-layer[type='page']").css('border-radius','10px')
if (ua.indexOf('toutiaomicroapp')!=-1 || ua.indexOf('swan-baiduboxapp')!=-1 || ua.indexOf("swan-bdlite")!=-1 || ua.indexOf("swan-heytapbrowser")!=-1 || ua.indexOf("alipayclient")!=-1 ){
$('.toutiao').remove();
}
$(".layui-layer-setwin").css({'top':'auto','right':'auto','bottom':'-40px','left':'45%'})
}
})
})
$(".kefubtn").live("click",function(){
var kf=$(this).attr("data-kf")
if (GetSubCookie("usercookies","username")!=''){
layer.closeAll();
jQuery('#WEBimIframe')[0].contentWindow.chat_(kf,'')
}else{
layer.msg('请先登陆才能操作',{time:2000},function(){
navigatorTo('','login','')
})
}
})
if (GetSubCookie("usercookies","usertype")==''){
//$('.telinfo').html('
电话: *********
登录看电话 免费注册只需30秒 ')
$('.email').html('
邮箱: *********
登录看邮箱 免费注册只需30秒 ')
$('#operMN').show()
}else{
$('.loginbtn').addClass("none")
$('.findpswbtn').addClass("none")
$('.seebtns').removeClass("none")
$('.fvtel_btn').removeClass("none")
$('.fdeliverbtn').removeClass("none")
$('#operMN').css("background",'#e6eefc')
if ($('.apply[data-s="s"]').size()>0){if($('.apply[data-s="s"]').html().indexOf('已结束')!=-1){
//$('#operMN').remove()
}}
}
$(".findpswbtn").live("click",function(){
if(isUniapp){
uni.navigateTo({url: '/pages/home/findpassword/index'})
}else if (isUnimini){
uni.navigateTo({url: '/pagesub/pages/home/findpassword/index'})
}else{
locations.href='/32/'
}
})
$('.logo .title').live("click",function(){
if(isUniapp){
//uni.navigateTo({url: '/pages/home/job/govlist/index'})
navigatorTo('/25/','webtip','parent')
}else if (isUnimini){
//uni.navigateTo({url: '/pagesub/pages/home/job/govlist/index'})
navigatorTo('/25/','webtip','parent')
}else{
locations.href='/25/'
}
})
//更多
$(".workdiv .more").live("click",function(){
var thisp=$(this).parent().parent();
var n=$(this).attr("data-n")
$(this).remove();
thisp.find('li').removeClass("hide");
thisp.find('.con').append('
收起 ')
})
//收取
$(".workdiv .shou").live("click",function(){
var thisp=$(this).parent().parent();
var n=$(this).attr("data-n")
$(this).remove();
thisp.find('.unit').addClass('hide');
thisp.find("li[data-unit="+n+"]").after(' '
var btnjsons=p.btnjsons
if (btnjsons.length>0){
$.each(btnjsons,function(kk,pp){
var subjson=JSON.stringify(pp.subjson)
brightstr=brightstr+'
'+pp.n+' '
})
}
console.log(p.btnjsons)
brightstr=brightstr+''
})
}else{
$('.kqbright').remove()
}
if (brightstr!=''){$('.kqbright .c .swiper-wrapper').html(brightstr)}
if (kqcolumn.length>0){
$.each(kqcolumn,function(k,p){
var btnjsons=p.btnjsons
if (btnjsons.length>0){
kqcolumnstr=kqcolumnstr+''
$.each(btnjsons,function(kk,pp){
var subjson=JSON.stringify(pp.subjson)
kqcolumnstr=kqcolumnstr+'
'+pp.n+' '
})
kqcolumnstr=kqcolumnstr+''
}
console.log(p.btnjsons)
})
}else{
$('.kqcolumn').remove()
}
if (kqcolumnstr!=''){$('.kqcolumn .c .swiper-wrapper').html(kqcolumnstr)}
if (usercolumn.length>0){
$.each(usercolumn,function(k,p){
var btnjsons=p.btnjsons
if (btnjsons.length>0){
// usercolumnstr=usercolumnstr+''
$.each(btnjsons,function(kk,pp){
usercolumnstr=usercolumnstr+'
'+pp.n+' '
})
//usercolumnstr=usercolumnstr+''
}
console.log(p.btnjsons)
})
}
if (usercolumnstr!=''){$('.usercolumn').html(usercolumnstr)}
if (kqbright.length < 2) {
$(".kqbright").find(".swiper-pagination-bright").hide();
}
if (kqcolumn.length < 2) {
$(".kqcolumn").find(".swiper-pagination-kq").hide();
}
var swiperbright = new Swiper('.swiper-container-bright', {
pagination: '.swiper-pagination-bright',
paginationClickable: true,
preventClicks:false,
autoplay:false,
autoplayDisableOnInteraction:true,
onSlideChangeStart:function(swiper){
}
});
var swiperkq = new Swiper('.swiper-container-kq', {
pagination: '.swiper-pagination-kq',
paginationClickable: true,
preventClicks:false,
autoplay:false,
autoplayDisableOnInteraction:true,
onSlideChangeStart:function(swiper){
}
});
},"json")
}
var areawidth = '100%';
var appver=getAppVer()
if($(window).width()>640){ areawidth="640px"};
$('.mycollbtn').live("click",function(){
if (GetSubCookie("usercookies","usertype")!='p'){
navigatorTo('/kq36/msg2.asp?act=collwho&typen=4','webtip','')
}else{
navigatorTo('/kq36/msg2.asp?act=collwho&typen=2','webtip','')
}
})
$('.dlbtn').live("click",function(){
if (GetSubCookie("usercookies","usertype")!='p'){
layer.msg('请先登录求职会员',{time:2000},function(){
navigatorTo('','login','')})
return false
}
var fileurl=$(this).attr("data-fileurl")
var filename=$(this).attr("data-filename")
$.get("/public/returnhtm/return_mobile_ajax.asp?callback=?",{cmd:"sendfilemail",typen:'rdl',jobid:510277},function (res){})
if (isUniapp){
uni.postMessage({
data: {
action:'openurl',
url:fileurl
}
});
}else if (isUnimini && ua.indexOf('micromessenger')!=-1){
uni.navigateTo({url: '/pagesub/pages/home/webtip/gotip?typen=sharefile_btn&name='+escape(escape(filename))+'&url='+escape(escape(fileurl))});
}else if(isUnimini){
layer.msg('请前往康强医疗人才网APP操作下载');
return false
}else{
locations.href=fileurl
return false
layer.msg('请前往康强医疗人才网APP操作下载');
copyTextToClipboard_(fileurl)
}
})
$('.jobcontent').find("a").live("click",function(){
$(document).scrollTop($('.jobfile').position().top-30)
//$('.jobfile').css("opacity","0").animate({opacity:"1"},800);//
$('.jobfile').addClass("shake")
setTimeout(function(){
$('.jobfile').removeClass("shake")
},1000)
})
if ($('body').attr('data-isap')=='1'){
$('.jobfile .con a').remove()
$('#weiShare').remove();
$('.daohangbtn').remove()
}
$('.jobcontent').find("a").each(function(){ //
$(this).attr("href",';').removeAttr('target')
});
$('.prebtn').live("click",function(){
if (GetSubCookie("usercookies","usertype")!='p'){
layer.msg('请先登录求职会员',{time:2000},function(){
navigatorTo('','login','')})
return false
}
var fileurl=$(this).attr("data-fileurl")
previewfile('','',fileurl)
})
$('.email').live("click",function(){
if (GetSubCookie("usercookies","usertype")=='c'){
switchUser('单位会员您好!