var lineList = [], lineInt = null; $(function(){ $("input[name='dxzph[]']").each(function(index, value){ lineList.push($(value).val()); }) }) function tabChange(obj,id){ $(obj).parent().find('li').removeClass('zph_net_nav_cur'); $(obj).attr('class','zph_net_nav_cur'); $(".zphnetdiv").addClass("none"); $("#"+id).removeClass("none"); $("#boxtype").val(id); if(id == 'hall'){ $("#ztype").val('resume'); $("#keyword").attr('placeholder','搜索简历名称'); $(".wlzph_leftnv").css('display','none') }else{ $("#ztype").val('job'); $("#keyword").attr('placeholder','搜索职位/公司'); $(".wlzph_leftnv").css('display','block') } } function zphend(){ showConfirm('本场招聘会已结束 , 去逛逛其他招聘会吧~',function(){ window.location.href = wapurl + "index.php?c=zphnet"; }); } function noresume(){ $("#interview").css('display','block'); } function clickZphnet(id) { showLoading(); $.post(wapurl+"/index.php?c=ajax&a=ajaxComjob",{zphnet:1,id:id},function(data){ hideLoading(); if(data.status == 1){ yunvue.$data.joblist = data.list; yunvue.$data.jobBox = true; setTimeout(function(){ $(".checkall").click(function() { var checked = this.checked; $(".zphnet_cbox").each(function(){ this.checked = checked; }); }); $(".zphnet_cbox").click(function(){ if(!this.checked){ $(".checkall").each(function(){ this.checked = false; }); } }); },100) }else{ showToast(data.msg);return false; } },'json') } function submitzphnet() { var zid = $("#zid").val(); var jobid = jobIds; if(jobid.length == 0){ showToast('请选择参展职位'); }else{ jobid = jobid.join(','); showLoading(); $.post(wapurl + "/index.php?c=zphnet&a=ajaxZphnet",{zid : zid,jobid:jobid}, function(data) { hideLoading(); var data = eval('(' + data + ')'); if (data.status == 1) { // 报名成功 showToast(data.msg,2,function(){ location.reload(); }); } else if (data.status == 2) { showConfirm(data.msg,function(){ window.location.href = wapurl + "member/index.php?c=server&server=zphnet&id=" + zid; }); } else{ if(data.login == 1){ pleaselogin('您还未登录企业账号,是否登录?',wapurl+'/index.php?c=login') }else{ showToast(data.msg);return false; } } }) } } function zphnetLook(id, comid, jobid, url){ showLoading(); var param = { id: id, comid: comid }; if(jobid != ''){ param.jobid = jobid; } $.post(wapurl + "index.php?c=zphnet&a=setLook",param, function(data) { hideLoading(); window.location.href = url; }); } function getComList(){ showLoading(); var zid = $("#zid").val(); var zw = $("#zphnet_zw").val(); var param = { zid: zid, page: page, keyword: searchKeyword, zw: zw }; $.post(wapurl + "index.php?c=zphnet&a=getComList",param, function(data) { hideLoading(); if(data){ var data = eval('(' + data + ')'); if(data && data.com){ var comlist = data.com; var spOpen = data.spOpen; if(comlist && comlist.length > 0){ var html = ''; for(var i in comlist){ html += '