|
@@ -381,6 +381,7 @@ TalentInfoInfoDlg.talentTypeChange = function () {
|
|
$("#typeTips").html("含经晋江市认定且还在晋江市就业创业的人才,或在晋江市就业创业但未曾申报过晋江市现代产业体系人才的人才。");
|
|
$("#typeTips").html("含经晋江市认定且还在晋江市就业创业的人才,或在晋江市就业创业但未曾申报过晋江市现代产业体系人才的人才。");
|
|
//$("#desc_talent_type").html("请上传社会保险或个人所得税缴费佐证材料");
|
|
//$("#desc_talent_type").html("请上传社会保险或个人所得税缴费佐证材料");
|
|
$(".talentType1-2").css("display", "table-row");
|
|
$(".talentType1-2").css("display", "table-row");
|
|
|
|
+ $("#talentType_first").css('display',"none");
|
|
$('#talentInfoForm').bootstrapValidator('addField', "tax_insurance_month", {
|
|
$('#talentInfoForm').bootstrapValidator('addField', "tax_insurance_month", {
|
|
validators: {
|
|
validators: {
|
|
notEmpty: {message: '在我市缴交社会保险或个人所得税月份不能为空'}
|
|
notEmpty: {message: '在我市缴交社会保险或个人所得税月份不能为空'}
|
|
@@ -398,6 +399,7 @@ TalentInfoInfoDlg.talentTypeChange = function () {
|
|
$("#typeTips").html("含本办法出台后首次从晋江市以外引进认定的人才,或者流出晋江市满3年后又返回晋江市就业创业(不含企业集团内部人员调动)的人才。")
|
|
$("#typeTips").html("含本办法出台后首次从晋江市以外引进认定的人才,或者流出晋江市满3年后又返回晋江市就业创业(不含企业集团内部人员调动)的人才。")
|
|
//$("#desc_talent_type").html("请上传社会保险或个人所得税缴费佐证材料与来我市前工作情况证明,例如原工作单位出具的工作证明、离职证明或原创(领)办企业的营业执照复印件、经市场监管部门备案的公司章程复印件等证明材料");
|
|
//$("#desc_talent_type").html("请上传社会保险或个人所得税缴费佐证材料与来我市前工作情况证明,例如原工作单位出具的工作证明、离职证明或原创(领)办企业的营业执照复印件、经市场监管部门备案的公司章程复印件等证明材料");
|
|
$(".talentType1-2").css("display", "table-row");
|
|
$(".talentType1-2").css("display", "table-row");
|
|
|
|
+ $("#talentType_first").css('display',"inline");
|
|
$('#talentInfoForm').bootstrapValidator('addField', "tax_insurance_month", {
|
|
$('#talentInfoForm').bootstrapValidator('addField', "tax_insurance_month", {
|
|
validators: {
|
|
validators: {
|
|
notEmpty: {message: '在我市缴交社会保险或个人所得税月份不能为空'}
|
|
notEmpty: {message: '在我市缴交社会保险或个人所得税月份不能为空'}
|
|
@@ -415,6 +417,7 @@ TalentInfoInfoDlg.talentTypeChange = function () {
|
|
$("#typeTips").html("含已经与晋江市用人单位达成就业意向且签订预引进意向合作协议(合同)的人才,或拟来我市创业且提交企业名称预先核准的人才。")
|
|
$("#typeTips").html("含已经与晋江市用人单位达成就业意向且签订预引进意向合作协议(合同)的人才,或拟来我市创业且提交企业名称预先核准的人才。")
|
|
//$("#desc_talent_type").html("请先提供意向合作协议(合同)或企业名称预先核准材料,落地我市后再补齐上述材料");
|
|
//$("#desc_talent_type").html("请先提供意向合作协议(合同)或企业名称预先核准材料,落地我市后再补齐上述材料");
|
|
$(".talentType3").css("display", "table-row");
|
|
$(".talentType3").css("display", "table-row");
|
|
|
|
+ $("#talentType_first").css('display',"none");
|
|
$('#talentInfoForm').bootstrapValidator('addField', "pre_import_type", {validators: {notEmpty: {message: '请选择预引进类型'}}});
|
|
$('#talentInfoForm').bootstrapValidator('addField', "pre_import_type", {validators: {notEmpty: {message: '请选择预引进类型'}}});
|
|
if (TalentInfoInfoDlg.talentTypeOneTwo) {
|
|
if (TalentInfoInfoDlg.talentTypeOneTwo) {
|
|
TalentInfoInfoDlg.talentTypeOneTwo = false;
|
|
TalentInfoInfoDlg.talentTypeOneTwo = false;
|
|
@@ -525,7 +528,7 @@ TalentInfoInfoDlg._initFileTypeColumn = function () {
|
|
{title: '模板', field: 'templateUrl', visible: true, align: 'center', valign: 'middle', width: "8%",
|
|
{title: '模板', field: 'templateUrl', visible: true, align: 'center', valign: 'middle', width: "8%",
|
|
formatter: function (value, row, index) {
|
|
formatter: function (value, row, index) {
|
|
if (value == null || value == '' || value == 'null') {
|
|
if (value == null || value == '' || value == 'null') {
|
|
- return '无';
|
|
|
|
|
|
+ return '';
|
|
}
|
|
}
|
|
return "<button type='button' onclick=\"TalentInfoInfoDlg.downloadFile('" + row.id + "',3)\" style='margin-right: 10px' class=\"btn btn-xs btn-primary\">" +
|
|
return "<button type='button' onclick=\"TalentInfoInfoDlg.downloadFile('" + row.id + "',3)\" style='margin-right: 10px' class=\"btn btn-xs btn-primary\">" +
|
|
"<i class=\"fa fa-download\"></i>下载" +
|
|
"<i class=\"fa fa-download\"></i>下载" +
|
|
@@ -602,8 +605,9 @@ TalentInfoInfoDlg.initFile = function () {
|
|
} else if (suffix == "xlsx" || suffix == "XLSX" || suffix == 'xls' || suffix == 'XLS') {
|
|
} else if (suffix == "xlsx" || suffix == "XLSX" || suffix == 'xls' || suffix == 'XLS') {
|
|
imgStr = "<button type='button' onclick=\"Feng.showExcel('" + files[key].url + "','" + files[key].id + "','" + files[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
|
|
imgStr = "<button type='button' onclick=\"Feng.showExcel('" + files[key].url + "','" + files[key].id + "','" + files[key].orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
|
|
} else {
|
|
} else {
|
|
- imgStr = '<img class=\"imgUrl\" src=\"' + files[key].url + '\" style=\"width:25px;height:25px;\">';
|
|
|
|
|
|
+ imgStr = '<img class=\"imgUrl\" onclick=\"Feng.showImg(this)\" src=\"' + files[key].url + '\" style=\"width:25px;height:25px;\">';
|
|
}
|
|
}
|
|
|
|
+ console.log(imgStr)
|
|
|
|
|
|
html += '<li data-id="' + files[key].id + '">\n\
|
|
html += '<li data-id="' + files[key].id + '">\n\
|
|
<div><input type="hidden" name="uploadFiles[]" value="' + files[key].id + '"></div>\n' +
|
|
<div><input type="hidden" name="uploadFiles[]" value="' + files[key].id + '"></div>\n' +
|
|
@@ -801,7 +805,7 @@ TalentInfoInfoDlg.callBack = function (data) {
|
|
} else if (suffix == "xlsx" || suffix == "XLSX" || suffix == 'xls' || suffix == 'XLS') {
|
|
} else if (suffix == "xlsx" || suffix == "XLSX" || suffix == 'xls' || suffix == 'XLS') {
|
|
imgStr = "<button type='button' onclick=\"Feng.showExcel('" + data.info + "','" + data.id + "','" + data.orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
|
|
imgStr = "<button type='button' onclick=\"Feng.showExcel('" + data.info + "','" + data.id + "','" + data.orignName + "')\" class=\"btn btn-xs btn-danger\"><i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i></button>";
|
|
} else {
|
|
} else {
|
|
- imgStr = '<img class="imgUrl" src="' + data.info + '" style="width:25px;height:25px;">';
|
|
|
|
|
|
+ imgStr = '<img class="imgUrl" onclick=\"Feng.showImg(this)\" src="' + data.info + '" style="width:25px;height:25px;">';
|
|
}
|
|
}
|
|
var li = $("input[name='uploadFiles[]'][value='" + data.id + "'").parents("li");
|
|
var li = $("input[name='uploadFiles[]'][value='" + data.id + "'").parents("li");
|
|
if (li.length > 0) {
|
|
if (li.length > 0) {
|
|
@@ -1019,6 +1023,14 @@ $(function () {
|
|
trigger: "click"
|
|
trigger: "click"
|
|
})
|
|
})
|
|
})
|
|
})
|
|
|
|
+ $(".rangemonth").each(function () {
|
|
|
|
+ laydate.render({
|
|
|
|
+ elem: this,
|
|
|
|
+ type: "month",
|
|
|
|
+ range: true,
|
|
|
|
+ trigger: "click"
|
|
|
|
+ })
|
|
|
|
+ })
|
|
if (id != null && id != '') {
|
|
if (id != null && id != '') {
|
|
//select初始化
|
|
//select初始化
|
|
$("select").each(function () {
|
|
$("select").each(function () {
|