industryitems = [ {id:'1',name:'计算机'}, {id:'2',name:'互联网/电子商务'}, {id:'3',name:'网络游戏'}, {id:'4',name:'电子/微电子'}, {id:'5',name:'通讯(设备/运营/增值服务)'}, {id:'6',name:'媒体/广告/旅游/公关/文化/影视/酒店/会展'}, {id:'7',name:'房地产开发/建筑与工程'}, {id:'8',name:'房地产服务(物业管理/商业中心)'}, {id:'9',name:'中介服务'}, {id:'10',name:'专业服务(咨询/财会/法律等)'}, {id:'11',name:'检验/检测/认证'}, {id:'12',name:'金融业(投资/保险/证券/银行/基金/期货)'}, {id:'13',name:'贸易/进出口'}, {id:'14',name:'媒体/出版/文化传播'}, {id:'15',name:'印刷/包装/造纸'}, {id:'16',name:'快速消费品(食品/饮料/日化/烟酒等)'}, {id:'17',name:'耐用消费品(服饰/纺织/家具)'}, {id:'18',name:'家电业'}, {id:'19',name:'办公设备/用品'}, {id:'20',name:'旅游/酒店/餐饮服务'}, {id:'21',name:'批发/零售'}, {id:'22',name:'交通/运输/物流'}, {id:'23',name:'娱乐/运动/休闲'}, {id:'24',name:'制药/生物工程'}, {id:'25',name:'医疗/保健/美容/卫生服务'}, {id:'26',name:'医疗设备/器械'}, {id:'27',name:'环保'}, {id:'28',name:'石油/化工/采掘/冶炼/原材料'}, {id:'29',name:'能源(电力/石油)/水利'}, {id:'30',name:'仪器/仪表/工业自动化/电气'}, {id:'31',name:'汽车/摩托车(制造/维护/配件/销售/服务)'}, {id:'32',name:'机械制造/机电/重工'}, {id:'33',name:'原材料及加工(金属/木材/橡胶/塑料/玻璃/陶瓷/建材)'}, {id:'34',name:'服务业'}, {id:'35',name:'农/林/牧/渔'}, {id:'36',name:'航空/航天研究与制造'}, {id:'37',name:'教育/培训/科研/院校'}, {id:'38',name:'政府/非营利机构'}, {id:'39',name:'其他'} ] provinceitems = [ {id:'11',name:'北京'}, {id:'12',name:'天津'}, {id:'13',name:'河北'}, {id:'14',name:'山西'}, {id:'15',name:'内蒙古'}, {id:'21',name:'辽宁'}, {id:'22',name:'吉林'}, {id:'23',name:'黑龙江'}, {id:'31',name:'上海'}, {id:'32',name:'江苏'}, {id:'33',name:'浙江'}, {id:'34',name:'安徽'}, {id:'35',name:'福建'}, {id:'36',name:'江西'}, {id:'37',name:'山东'}, {id:'41',name:'河南'}, {id:'42',name:'湖北'}, {id:'43',name:'湖南'}, {id:'44',name:'广东'}, {id:'45',name:'广西'}, {id:'46',name:'海南'}, {id:'50',name:'重庆'}, {id:'51',name:'四川'}, {id:'52',name:'贵州'}, {id:'53',name:'云南'}, {id:'54',name:'西藏'}, {id:'61',name:'陕西'}, {id:'62',name:'甘肃'}, {id:'63',name:'青海'}, {id:'64',name:'宁夏'}, {id:'65',name:'新疆'} ] natureitems = [ {id:'1',name:'外商独资·外企办事处'}, {id:'2',name:'中外合营(合资·合作)'}, {id:'3',name:'股份制企业'}, {id:'4',name:'国内上市公司'}, {id:'5',name:'私营·民营企业'}, {id:'6',name:'国有企业'}, {id:'7',name:'政府机关/非营利机构'}, {id:'8',name:'事业单位'} ] jobcategoryitems = [ {id:'01',name:'计算机·网络·技术类'}, {id:'02',name:'电子·电器·通信技术类'}, {id:'03',name:'行政·后勤类'}, {id:'04',name:'翻译类'}, {id:'05',name:'销售类'}, {id:'06',name:'客户服务类'}, {id:'07',name:'市场·公关·媒介类'}, {id:'08',name:'咨询·顾问类'}, {id:'09',name:'财务·审计·统计类'}, {id:'10',name:'人力资源类'}, {id:'11',name:'教育·培训类'}, {id:'12',name:'质量管理类'}, {id:'13',name:'美术·设计·创意类'}, {id:'14',name:'技工类'}, {id:'15',name:'金融保险类'}, {id:'16',name:'贸易·物流·采购·运输类'}, {id:'17',name:'经营管理类'}, {id:'18',name:'商业零售类'}, {id:'19',name:'建筑·房地产·装饰装修·物业管理类'}, {id:'20',name:'法律类'}, {id:'21',name:'酒店·餐饮·旅游·服务类'}, {id:'22',name:'生物·制药·化工·环保类'}, {id:'23',name:'文体·影视·写作·媒体类'}, {id:'24',name:'机械·仪器仪表类'}, {id:'25',name:'科研类'}, {id:'26',name:'工厂生产类'}, {id:'27',name:'医疗卫生·美容保健类'}, {id:'28',name:'电气·能源·动力类'}, {id:'29',name:'其他类'} ] nationitems=[ {id:"01",name:"汉族"}, {id:"02",name:"蒙古族"}, {id:"03",name:"回族"}, {id:"04",name:"藏族"}, {id:"05",name:"维吾尔族"}, {id:"06",name:"苗族"}, {id:"07",name:"彝族"}, {id:"08",name:"壮族"}, {id:"09",name:"布依族"}, {id:"10",name:"朝鲜族"}, {id:"11",name:"满族"}, {id:"12",name:"侗族"}, {id:"13",name:"瑶族"}, {id:"14",name:"白族"}, {id:"15",name:"土家族"}, {id:"16",name:"哈尼族"}, {id:"17",name:"哈萨克族"}, {id:"18",name:"傣族"}, {id:"19",name:"黎族"}, {id:"20",name:"僳僳族"}, {id:"21",name:"佤族"}, {id:"22",name:"畲族"}, {id:"23",name:"高山族"}, {id:"24",name:"拉祜族"}, {id:"25",name:"水族"}, {id:"26",name:"东乡族"}, {id:"27",name:"纳西族"}, {id:"28",name:"景颇族"}, {id:"29",name:"柯尔克孜族"}, {id:"30",name:"土族"}, {id:"31",name:"达斡尔族"}, {id:"32",name:"仫佬族"}, {id:"33",name:"姜族"}, {id:"34",name:"布朗族"}, {id:"35",name:"撒拉族"}, {id:"36",name:"毛难族"}, {id:"37",name:"仡佬族"}, {id:"38",name:"锡伯族"}, {id:"39",name:"阿昌族"}, {id:"40",name:"普米族"}, {id:"41",name:"塔吉克族"}, {id:"42",name:"怒族"}, {id:"43",name:"乌孜别克族"}, {id:"44",name:"俄罗斯族"}, {id:"45",name:"鄂温克族"}, {id:"46",name:"崩龙族"}, {id:"47",name:"保安族"}, {id:"48",name:"裕固族"}, {id:"49",name:"京族"}, {id:"50",name:"塔塔尔族"}, {id:"51",name:"独龙族"}, {id:"52",name:"鄂伦春族"}, {id:"53",name:"赫哲族"}, {id:"54",name:"门巴族"}, {id:"55",name:"珞巴族"}, {id:"56",name:"基诺族"}, {id:"0",name:"不详"}, {id:"98",name:"外国血统"} ] politicalitems=[ {id:"01",name:"中共党员"}, {id:"02",name:"中共预备党员"}, {id:"03",name:"共青团员"}, {id:"04",name:"民革会员"}, {id:"05",name:"民盟盟员"}, {id:"06",name:"民建会员"}, {id:"07",name:"民进会员"}, {id:"08",name:"农工党党员"}, {id:"09",name:"致公党党员"}, {id:"10",name:"九三学社社员"}, {id:"11",name:"台盟盟员"}, {id:"12",name:"无党派民主人士"}, {id:"13",name:"群众"} ] //获取登录状态 function checkuserstate(){ $.getjson('http://gzsjyzx.ncss.org.cn/getlogstate?callback=?', function(data){ if(data.islogin == '1'){ $('#login-userstate').attr('style','display:block;'); $('#login-main').attr('style','display:none;'); $('#login-userstate').html('当前用户:' + data.fullname +'  毕业院校:' + data.orgname + '  退出' ); } else{ $.getjson('http://gzsjyzx.ncss.org.cn/rec/getlogstate?callback=?', function(data){ if(data.islogin == '1'){ email = data.email; $('#login-userstate').attr('style','display:block;'); $('#login-main').attr('style','display:none;'); $('#login-userstate').html('当前用户:' + data.fullname +'  单位名称:' + data.orgname + '  退出' ); } else{ $('#login-main').attr('style','display:block;'); $('#login-userstate').attr('style','display:none;'); } }); } }); } //解析数据集合,置顶,无分页,每单位只有一条职位 function onloadlst(board,viewdivid,psize,category,jobtype,naturecode,inforname) { var params = getparams(psize,category,jobtype,naturecode); $.getjson('http://gzsjyzx.ncss.org.cn/json/general_searchp?callback=?',params, function(data) { var lists = ''; var divelement="#"+viewdivid; var date ; var areacode; var area=""; var topflag=""; if(board=="index"){//首页 $.each(data.lst, function() { date = this.postdate.substring(0,10); areacode = this.areacode.substring(0,2); $.each(provinceitems, function(){ if(this.id==areacode){area=this.name;} }); if(this.priority==1){ lists += '
  • ' + '' + this.recname + '
    ' + '
    [' + date + ']
  • '; }else{ /* lists += '
  • ' + '---' + this.recname + '
    ' + '
    [' + date + ']
  • '; */ lists +=""; } }); } if(lists!='') { var slists=''; //slists+='