|
@@ -166,6 +166,7 @@ TalentInfoInfoDlg.collectData = function () {
|
|
|
.set('talent_type')
|
|
|
.set('tax_insurance_month')
|
|
|
.set('labor_contract_rangetime')
|
|
|
+ .set('pre_import_type')
|
|
|
.set('enterprise_id')
|
|
|
.set('name')
|
|
|
.set('photo')
|
|
@@ -366,46 +367,55 @@ TalentInfoInfoDlg.afterSelectCity = function () {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+TalentInfoInfoDlg.talentTypeFlag = false;
|
|
|
TalentInfoInfoDlg.talentTypeChange = function () {
|
|
|
var talent_type = $("#talent_type").val();
|
|
|
- $("#tax_insurance_month").val("").parent().css("display", "none");
|
|
|
- $("#labor_contract_rangetime").val("").parent().css("display", "none");
|
|
|
- $('#talentInfoForm').bootstrapValidator('removeField', "labor_contract_rangetime");
|
|
|
- $('#talentInfoForm').bootstrapValidator('removeField', "tax_insurance_month");
|
|
|
+ //$("#tax_insurance_month").val("").parent().css("display", "none");
|
|
|
+ //$("#labor_contract_rangetime").val("").parent().css("display", "none");
|
|
|
+ $(".talentType1-2").css("display", "none");
|
|
|
+ $(".talentType3").css("display", "none");
|
|
|
+
|
|
|
switch (talent_type) {
|
|
|
case "1":
|
|
|
$("#tipsBlock").css('display', 'block');
|
|
|
$("#typeTips").html("含经晋江市认定且还在晋江市就业创业的人才,或在晋江市就业创业但未曾申报过晋江市现代产业体系人才的人才。");
|
|
|
$("#desc_talent_type").html("请上传社会保险或个人所得税缴费佐证材料");
|
|
|
- $("#tax_insurance_month").removeAttr("disabled").parent().css("display", "block");
|
|
|
+ $(".talentType1-2").css("display", "table-row");
|
|
|
$('#talentInfoForm').bootstrapValidator('addField', "tax_insurance_month", {
|
|
|
validators: {
|
|
|
notEmpty: {message: '在我市缴交社会保险或个人所得税月份不能为空'}
|
|
|
}
|
|
|
});
|
|
|
+ $('#talentInfoForm').bootstrapValidator('addField', "labor_contract_rangetime", {validators: {notEmpty: {message: '劳动合同起止时间'}}});
|
|
|
+ $('#talentInfoForm').bootstrapValidator('removeField', "pre_import_type");
|
|
|
break;
|
|
|
case "2":
|
|
|
$("#tipsBlock").css('display', 'block');
|
|
|
$("#typeTips").html("含本办法出台后首次从晋江市以外引进认定的人才,或者流出晋江市满3年后又返回晋江市就业创业(不含企业集团内部人员调动)的人才。")
|
|
|
$("#desc_talent_type").html("请上传社会保险或个人所得税缴费佐证材料与来我市前工作情况证明,例如原工作单位出具的工作证明、离职证明或原创(领)办企业的营业执照复印件、经市场监管部门备案的公司章程复印件等证明材料");
|
|
|
- $("#tax_insurance_month").removeAttr("disabled").parent().css("display", "block");
|
|
|
+ $(".talentType1-2").css("display", "table-row");
|
|
|
$('#talentInfoForm').bootstrapValidator('addField', "tax_insurance_month", {
|
|
|
validators: {
|
|
|
notEmpty: {message: '在我市缴交社会保险或个人所得税月份不能为空'}
|
|
|
}
|
|
|
});
|
|
|
+ $('#talentInfoForm').bootstrapValidator('addField', "labor_contract_rangetime", {validators: {notEmpty: {message: '劳动合同起止时间'}}});
|
|
|
+ $('#talentInfoForm').bootstrapValidator('removeField', "pre_import_type");
|
|
|
break;
|
|
|
case "3":
|
|
|
$("#tipsBlock").css('display', 'block');
|
|
|
$("#typeTips").html("含已经与晋江市用人单位达成就业意向且签订预引进意向合作协议(合同)的人才,或拟来我市创业且提交企业名称预先核准的人才。")
|
|
|
$("#desc_talent_type").html("请先提供意向合作协议(合同)或企业名称预先核准材料,落地我市后再补齐上述材料");
|
|
|
- $("#labor_contract_rangetime").removeAttr("disabled").parent().css("display", "block");
|
|
|
- $('#talentInfoForm').bootstrapValidator('addField', "labor_contract_rangetime", {validators: {notEmpty: {message: '劳动合同起止时间'}}});
|
|
|
+ $(".talentType3").css("display", "table-row");
|
|
|
+ $('#talentInfoForm').bootstrapValidator('addField', "pre_import_type", {validators: {notEmpty: {message: '请选择预引进类型'}}});
|
|
|
+ $('#talentInfoForm').bootstrapValidator('removeField', "labor_contract_rangetime");
|
|
|
+ $('#talentInfoForm').bootstrapValidator('removeField', "tax_insurance_month");
|
|
|
break;
|
|
|
default:
|
|
|
$("#tipsBlock").css('display', 'none');
|
|
|
break;
|
|
|
}
|
|
|
+ TalentInfoInfoDlg.talentTypeFlag = true;
|
|
|
}
|
|
|
|
|
|
TalentInfoInfoDlg.sourceChange = function () {
|