");
//
GetRecruitInfo(i, date[0].subList[i].id);
} else if (date[0].subList[i].id == "402881e85137806001513847b3b600ed") {
//鍛樺伐寤鸿
$('.tab_content').append("
");
//鍛樺伐寤鸿鎻忚堪
GetWorkersBuildInfo(i, date[0].subList[i].id);
GetWorkersBuildMenu(i, date[0].subList[i].id);
}
}
twolevel(second);
},
error: function () {
//alert("鍔犺浇澶辫触");
}
});
}
//鑾峰緱鎷涜仒淇℃伅鎻忚堪
function GetRecruitInfo(index, menuId) {
$.ajax({
type: 'get',
url: host + '/zky/zkContentInfo/selectContentByMenuId?menuId=' + menuId,
success: function (date) {
var html = "
";
html += "
";
html += "
";
html += date[0].content;
html += "
";
html += "
";
html += "
";
html += "
";
html += "
";
$('.tab_content .childCont').eq(index).html(html);
//鑾峰彇鍒楄〃
GetRecruitList(index);
},
error: function () {
}
});
}
//鑾峰緱鎷涜仒淇℃伅鍒楄〃
function GetRecruitList(index) {
$.ajax({
type: 'get',
url: host + '/zky/zkRecruitInfo/selectZkRecruitInfoList',
success: function (date) {
for (var i = 0; i < date.length; i++) {
var html = "";
html += "
";
html += "
" + date[i].category + " ";
html += "
";
html += " 1銆佸矖浣嶅悕绉帮細 ";
html += " " + date[i].job_title + " ";
html += " ";
html += "
";
html += " 2銆佹嫑鑱樹汉鏁帮細 ";
html += " " + date[i].rec_num + "浜裹/dd>";
html += " ";
html += "
";
html += " 3銆佷笓涓氭柟鍚戯細 ";
html += " " + date[i].spec_orentation + " ";
html += " ";
html += "
";
html += " 4銆佷换鑱岃姹傦細 ";
html += " " + date[i].required + " ";
html += " ";
html += "
";
//html += "
";
//html += "
" + date[i].category + " ";
//html += "
";
//html += " 1銆佸矖浣嶅悕绉帮細 ";
//html += " " + date[i].job_title + " ";
//html += " ";
//html += "
";
//html += " 2銆佷笓涓氭柟鍚戯細 ";
//html += " " + date[i].spec_orentation + " ";
//html += " ";
//html += "
";
//html += " 3銆佷换鑱岃姹傦細 ";
//html += " " + date[i].required + " ";
//html += " ";
//html += "
";
//html += " 4銆佹嫑鑱樹汉鏁帮細 ";
//html += " " + date[i].rec_num + "浜裹/dd>";
//html += " ";
//html += "
";
if ((i + 1) == date.length) {
html += "
娉細鏈€鏂拌亴浣嶆嫑鑱樻暚璇峰叧娉ㄥ叕鍙稿畼鏂瑰悎浣滅綉绔欙紝鍖栧伐鑻辨墠缃戙€佹櫤鑱旀嫑鑱樼綉銆佸簲灞婄敓姹傝亴缃戯紝鍏朵粬缃戠珯杞浇淇℃伅闈炴湰鍏徃鍙戝竷锛屽垏鍕挎姇閫掋€侟/p>";
}
$(".tab_content .childCont").eq(index).find(".backezp").append(html);
};
},
error: function () {
}
});
}
//鍛樺伐寤鸿
function GetWorkersBuildInfo(index, menuId) {
$.ajax({
type: 'get',
url: host + '/zky/zkContentInfo/selectContentByMenuId?menuId=' + menuId,
success: function (date) {
$('.tab_content .childCont').eq(index).find(".ygjs").html("
" + date[0].title + " " + date[0].content);
},
error: function () {
}
});
}
//鍛樺伐鍩硅
function Training(index,num, menuId) {
$.ajax({
type: 'get',
url: host + '/zky/zkContentInfo/selectContentByMenuId?menuId=' + menuId,
success: function (date) {
var html = "
" + date[0].content + "
";
html += "
";
html += "
";
html += "
";
$(".tab_content .childCont").eq(index).find('.childContS').eq(num).html(html);
},
error: function () {
//alert("鍔犺浇澶辫触");
}
});
}
//鑱屼笟鍙戝睍
function CareerDev(index, num, menuId) {
$.ajax({
type: 'get',
url: host + '/zky/zkContentInfo/selectContentByMenuId?menuId=' + menuId,
success: function (date) {
var html = "
" + date[0].content + "
";
html += "
";
$(".tab_content .childCont").eq(index).find('.childContS').eq(num).html(html);
},
error: function () {
//alert("鍔犺浇澶辫触");
}
});
}
//鏂囧寲鐢熸椿
function Cultural(index, num, menuId) {
$.ajax({
type: 'get',
url: host + '/zky/zkContentInfo/selectContentByMenuId?menuId=' + menuId,
success: function (date) {
var html = "
" + date[0].content + "
";
html += "
";
html += "
";
html += "
";
$(".tab_content .childCont").eq(index).find('.childContS').eq(num).html(html);
GetGallery(index, num, menuId);
},
error: function () {
//alert("鍔犺浇澶辫触");
}
});
}
//鍛樺伐寤鸿娣诲姞鍐呭-start
//鍛樺伐寤鸿鑿滃崟
function GetWorkersBuildMenu(index, parentId) {
$.ajax({
type: 'get',
url: host + '/zky/zkMenu/selectHeadMenuByParentId?parentId=402881e85137806001513847b3b600ed',
success: function (date) {
for (var i = 0; i < date[0].subList.length; i++) {
$(".tab_content .childCont").eq(index).find(".ajax_joi_sanji").append("
" + date[0].subList[i].functionname + " ");
$(".tab_content .childCont").eq(index).find(".tab_sub_content").append("
");
//ygjs_zj_ajax(index,i, date[0].subList[i].id);
switch (date[0].subList[i].id) {
case "402881e8513852f701513853cc0a0001":
//鍛樺伐鍩硅
Training(index, i, date[0].subList[i].id);
break;
case "402881e8513852f70151385436830003":
//鑱屼笟鍙戝睍
CareerDev(index, i, date[0].subList[i].id);
break;
case "402881e8513852f7015138546b070005":
//鏂囧寲鐢熸椿
Cultural(index, i, date[0].subList[i].id);
break;
default:
}
};
twolevelS(three);
},
error: function () {
}
});
}
//鍥剧墖-鍛樺伐澶╁湴
function GetGallery(index, num, menuId) {
$.ajax({
type: 'get',
url: host + '/zky/zkContentInfo/selectContentByMenuId?menuId=' + menuId,
success: function (data) {
for (var i = 0; i < data[0].imgs.length; i++) {
$('.pic a').eq(i).attr('href', data[0].imgs[i]);
};
for (var i = 0; i < data[1].imgs.length; i++) {
$('.pic img').eq(i).attr('src', data[1].imgs[i]);
};
$("a[rel^='lightbox']").picbox({/* Put custom options here */ }, null, function (el) {
return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
});
},
error: function () {
//alert("鍔犺浇澶辫触");
}
});
}