539 lines
50 KiB
JavaScript
539 lines
50 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-68b8fb42"], { "127f": function(e, t, l) {
|
||
"use strict";
|
||
l.d(t, "a", (function() {
|
||
return a;
|
||
}));
|
||
l("4057");
|
||
var a = function() {
|
||
function e2() {
|
||
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
||
}
|
||
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(e2()).concat(e2());
|
||
};
|
||
}, "1cf9": function(e, t, l) {
|
||
"use strict";
|
||
l.r(t);
|
||
var a = function() {
|
||
var e2 = this, t2 = e2.$createElement, l2 = e2._self._c || t2;
|
||
return l2("div", { staticClass: "workPointsManage" }, [e2.infoList ? l2("div", { staticClass: "workPointsRuleList" }, [l2("el-card", { staticClass: "box-card" }, [l2("el-row", [l2("el-col", { staticClass: "elCol", attrs: { span: 6 } }, [l2("el-input", { attrs: { type: "text", clearable: "", placeholder: "姓名" }, model: { value: e2.query.name, callback: function(t3) {
|
||
e2.$set(e2.query, "name", "string" === typeof t3 ? t3.trim() : t3);
|
||
}, expression: "query.name" } })], 1), e2._v(" "), l2("el-col", { staticClass: "elCol", attrs: { span: 6 } }, [l2("el-select", { attrs: { clearable: "", placeholder: "审批状态" }, model: { value: e2.query.status, callback: function(t3) {
|
||
e2.$set(e2.query, "status", t3);
|
||
}, expression: "query.status" } }, e2._l(e2.approveStatus, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1), e2._v(" "), l2("el-col", { staticClass: "elCol", attrs: { span: 12 } }, [l2("div", { staticClass: "searchBox" }, [l2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm();
|
||
} } }, [e2._v("重置")]), e2._v(" "), l2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)])], 1)], 1), e2._v(" "), l2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [l2("div", { staticClass: "planLst" }, [l2("span", { staticStyle: { color: "#2f2c2c", "font-size": "16px" } }, [e2._v("从业人员管理列表")]), e2._v(" "), l2("span", { staticClass: "add" }, [l2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.add } }, [e2._v("新增")])], 1)]), e2._v(" "), l2("el-table", { staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: e2.tableData, "header-cell-style": e2.headClass } }, [l2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [l2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }], null, false, 3311124033) }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "name", label: "姓名", fixed: "", "min-width": "100", "show-overflow-tooltip": "" } }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "sex", label: "性别", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.sex, e2.sexType)) + "\n ")];
|
||
} }], null, false, 1777485483) }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", "min-width": "180", prop: "jobType", label: "工作岗位" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.jobType, e2.jobList)) + "\n ")];
|
||
} }], null, false, 2050183977) }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "highestEduType", label: "最高学历" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.highestEduType, e2.educationList)) + "\n ")];
|
||
} }], null, false, 1937671675) }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "localCompanyId", label: "所属企业" } }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "orgBy", label: "所属组织", "show-overflow-tooltip": "" } }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "assScore", label: "考核评分", "min-width": "160" } }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", label: "审核状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.status, e2.approveStatus)) + "\n ")];
|
||
} }], null, false, 4077531484) }), e2._v(" "), l2("el-table-column", { attrs: { align: "center", prop: "address", fixed: "right", label: "操作", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [l2("el-button", { attrs: { type: "text" }, on: { click: function(l3) {
|
||
return e2.detailsClick(t3.row, "view");
|
||
} } }, [e2._v("查看")]), e2._v(" "), l2("el-button", { attrs: { type: "text" }, on: { click: function(l3) {
|
||
return e2.detailsClick(t3.row, "edit");
|
||
} } }, [e2._v("编辑")])];
|
||
} }], null, false, 141999720) })], 1), e2._v(" "), l2("div", { staticClass: "paginations" }, [l2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1) : e2._e(), e2._v(" "), e2.addShow ? l2("addPeople", { ref: "addPeople", attrs: { type: e2.type }, on: { goBack: e2.goBack } }) : e2._e()], 1);
|
||
}, o = [], r = (l("a450"), l("1df6")), i = l("ef3b"), n = function() {
|
||
var e2 = this, t2 = e2.$createElement, l2 = e2._self._c || t2;
|
||
return l2("div", [l2("el-card", { staticClass: "box-card" }, [l2("el-page-header", { staticStyle: { "margin-bottom": "20px" }, attrs: { content: "add" === e2.type ? "新增从业人员" : "edit" === e2.type ? "编辑从业人员" : "查看从业人员" }, on: { back: e2.goBack } }), e2._v(" "), l2("el-row", { attrs: { gutter: 24 } }, [l2("el-form", { ref: "peopleForm", attrs: { "label-width": "150px", model: e2.peopleForm, rules: e2.rules } }, [l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "姓名:", prop: "name" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入姓名" }, model: { value: e2.peopleForm.name, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "name", t3);
|
||
}, expression: "peopleForm.name" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "所属企业:", prop: "companyUuid" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选所属企业" }, model: { value: e2.peopleForm.companyUuid, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "companyUuid", t3);
|
||
}, expression: "peopleForm.companyUuid" } }, e2._l(e2.companyList, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "证件类型:", prop: "cardType" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选证件类型" }, model: { value: e2.peopleForm.cardType, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "cardType", t3);
|
||
}, expression: "peopleForm.cardType" } }, e2._l(e2.IDTypeList, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), 1 == e2.peopleForm.cardType ? l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "证件号码:", prop: "cardNo" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入证件号码" }, on: { input: e2.parseIDCard }, model: { value: e2.peopleForm.cardNo, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "cardNo", t3);
|
||
}, expression: "peopleForm.cardNo" } })], 1)], 1) : l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "证件号码:", prop: "cardNo" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入证件号码" }, model: { value: e2.peopleForm.cardNo, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "cardNo", t3);
|
||
}, expression: "peopleForm.cardNo" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "性别", prop: "sex" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择性别" }, model: { value: e2.peopleForm.sex, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "sex", t3);
|
||
}, expression: "peopleForm.sex" } }, e2._l(e2.sexType, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "出生日期:", prop: "brithday" } }, [l2("el-date-picker", { attrs: { disabled: "view" == e2.type, clearable: "", "value-format": "yyyy-MM-dd", type: "date", placeholder: "请选择出生日期" }, model: { value: e2.peopleForm.brithday, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "brithday", t3);
|
||
}, expression: "peopleForm.brithday" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "手机号码:", prop: "phoneNumber" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入手机号码", clearable: "" }, model: { value: e2.peopleForm.phoneNumber, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "phoneNumber", t3);
|
||
}, expression: "peopleForm.phoneNumber" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "毕业学校", prop: "schoolBy" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入毕业学校" }, model: { value: e2.peopleForm.schoolBy, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "schoolBy", t3);
|
||
}, expression: "peopleForm.schoolBy" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "最高学历:", prop: "highestEduType" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择学历" }, model: { value: e2.peopleForm.highestEduType, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "highestEduType", t3);
|
||
}, expression: "peopleForm.highestEduType" } }, e2._l(e2.educationList, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "专业:", prop: "speciality" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入专业" }, model: { value: e2.peopleForm.speciality, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "speciality", t3);
|
||
}, expression: "peopleForm.speciality" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "工作岗位:", prop: "jobType" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择工作岗位" }, model: { value: e2.peopleForm.jobType, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "jobType", t3);
|
||
}, expression: "peopleForm.jobType" } }, e2._l(e2.jobList, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "是否外包: ", prop: "isEpiboly" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择" }, model: { value: e2.peopleForm.isEpiboly, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "isEpiboly", t3);
|
||
}, expression: "peopleForm.isEpiboly" } }, [l2("el-option", { attrs: { label: "是", value: 1 } }), e2._v(" "), l2("el-option", { attrs: { label: "否", value: 0 } })], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "政治面貌:", prop: "politicsType" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择政治面貌" }, model: { value: e2.peopleForm.politicsType, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "politicsType", t3);
|
||
}, expression: "peopleForm.politicsType" } }, e2._l(e2.politicalType, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "职称:", prop: "titleType" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择职称" }, model: { value: e2.peopleForm.titleType, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "titleType", t3);
|
||
}, expression: "peopleForm.titleType" } }, e2._l(e2.positionType, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { disabled: "view" == e2.type, "label-width": "190px", label: "从事物管理工作的日期:", prop: "engagementStartDate" } }, [l2("el-date-picker", { attrs: { clearable: "", "value-format": "yyyy-MM-dd", type: "date", placeholder: "请选择日期" }, model: { value: e2.peopleForm.engagementStartDate, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "engagementStartDate", t3);
|
||
}, expression: "peopleForm.engagementStartDate" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "工作经历:", prop: "workExperience" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入工作经历" }, model: { value: e2.peopleForm.workExperience, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "workExperience", t3);
|
||
}, expression: "peopleForm.workExperience" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "考核评分:", prop: "assScore" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入考核评分" }, model: { value: e2.peopleForm.assScore, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "assScore", t3);
|
||
}, expression: "peopleForm.assScore" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "所属红榜项目:", prop: "redListBy" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入所属红榜项目" }, model: { value: e2.peopleForm.redListBy, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "redListBy", t3);
|
||
}, expression: "peopleForm.redListBy" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "所属黑榜项目:", prop: "blackListBy" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入所属黑榜项目" }, model: { value: e2.peopleForm.blackListBy, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "blackListBy", t3);
|
||
}, expression: "peopleForm.blackListBy" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "持证情况:", prop: "certType" } }, [l2("el-select", { attrs: { disabled: "view" == e2.type, clearable: "", placeholder: "请选择持证情况" }, model: { value: e2.peopleForm.certType, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "certType", t3);
|
||
}, expression: "peopleForm.certType" } }, e2._l(e2.positionType, (function(e3) {
|
||
return l2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "荣誉:", prop: "honor" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入荣誉" }, model: { value: e2.peopleForm.honor, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "honor", t3);
|
||
}, expression: "peopleForm.honor" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "不良记录:", prop: "badRecord" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入不良记录" }, model: { value: e2.peopleForm.badRecord, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "badRecord", t3);
|
||
}, expression: "peopleForm.badRecord" } })], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "所属组织:", prop: "orgBy" } }, [l2("el-input", { attrs: { disabled: "view" == e2.type, placeholder: "请输入所属组织" }, model: { value: e2.peopleForm.orgBy, callback: function(t3) {
|
||
e2.$set(e2.peopleForm, "orgBy", t3);
|
||
}, expression: "peopleForm.orgBy" } })], 1)], 1)], 1)], 1), e2._v(" "), l2("el-row", [l2("el-form", { ref: "peopleForm", attrs: { "label-width": "150px", model: e2.peopleForm, rules: e2.rules } }, [l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "项目经理变更流程:" } }, [l2("el-upload", { ref: "uploadFile1", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList1");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList1");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList1");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList1 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "学历附件:" } }, [l2("el-upload", { ref: "uploadFile2", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList2");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList2");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList2");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList2 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "职称附件:" } }, [l2("el-upload", { ref: "uploadFile3", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList3");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList3");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList3");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList3 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "所属红榜项附件:" } }, [l2("el-upload", { ref: "uploadFile4", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList4");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList4");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList4");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList4 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "所属黑榜项附件:" } }, [l2("el-upload", { ref: "uploadFile5", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList5");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList5");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList5");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList5 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "荣誉附件:" } }, [l2("el-upload", { ref: "uploadFile6", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList6");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList6");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList6");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList6 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1), e2._v(" "), l2("el-col", { attrs: { span: 8 } }, [l2("el-form-item", { attrs: { label: "不良记录附件:" } }, [l2("el-upload", { ref: "uploadFile7", staticClass: "upload-demo", attrs: { disabled: "view" == e2.type, action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": function(t3) {
|
||
return e2.uploadRequest(t3, "uploadFileList7");
|
||
}, "on-success": function(t3, l3, a2) {
|
||
return e2.uploadSuccess(t3, l3, a2, "uploadFileList7");
|
||
}, "on-remove": function(t3, l3, a2) {
|
||
return e2.uploadRemove(t3, l3, a2, "uploadFileList7");
|
||
}, "on-preview": e2.onPreview, multiple: "", limit: 5, "file-list": e2.fileList7 } }, [l2("el-button", { attrs: { disabled: "view" == e2.type, size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), l2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "支持扩展名:.doc .pdf .jpg...,只能上传图片和文档,图片不超过2M,文档不超过10M", placement: "top" } }, [l2("span", { staticClass: "el-icon-info" })])], 1)], 1)], 1)], 1)], 1), e2._v(" "), l2("div", { staticClass: "button-box" }, [l2("el-button", { on: { click: e2.goBack } }, [e2._v("取消")]), e2._v(" "), "add" == e2.type ? l2("el-button", { attrs: { type: "primary" }, on: { click: e2.submit } }, [e2._v("提交")]) : e2._e(), e2._v(" "), "add" !== e2.type ? l2("el-button", { attrs: { type: "primary" }, on: { click: e2.save } }, [e2._v("更新")]) : e2._e()], 1)], 1), e2._v(" "), l2("el-dialog", { attrs: { title: "文件预览", visible: e2.fileVisible }, on: { "update:visible": function(t3) {
|
||
e2.fileVisible = t3;
|
||
} } }, [l2("iframe", { attrs: { src: e2.fileUrl, frameborder: "0", scrolling: "no", height: "550px", width: "100%" } }), e2._v(" "), l2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [l2("el-button", { on: { click: function(t3) {
|
||
e2.fileVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)])], 1);
|
||
}, s = [], p = (l("a7e5"), l("8dee"), l("b5aa"), l("3ef1")), u = (l("982e"), l("aa18"), l("5821")), c = (l("127f"), l("90e7")), d = { props: { type: { default: "add", type: String } }, data: function() {
|
||
return Object(u["a"])(Object(u["a"])(Object(u["a"])({ sexType: i["l"], positionType: i["j"], politicalType: i["i"], jobList: i["g"], educationList: i["e"], IDTypeList: i["a"], fileVisible: false, companyList: [], peopleForm: { name: "", companyUuid: "", cardType: "", cardNo: "", sex: "", brithday: "", phoneNumber: "", schoolBy: "", highestEduType: "", speciality: "", jobType: "", isEpiboly: "", politicsType: "", titleType: "", engagementStartDate: "", workExperience: "", assScore: "", redListBy: "", blackListBy: "", certType: "", honor: "", badRecord: "", orgBy: "", projectManagerChangeUrl: "", eduUrl: "", titleUrl: "", redListUrl: "", blackListUrl: "", honorUrl: "", badRecordUrl: "" }, rules: { name: [{ required: true, message: "请输入姓名", trigger: "blur" }], companyUuid: [{ required: true, message: "请选所属企业", trigger: "change" }], cardType: [{ required: true, message: "请选证件类型", trigger: "blur" }], cardNo: [{ required: true, message: "请输入证件号码", trigger: "blur" }], sex: [{ required: true, message: "请选择性别", trigger: "blur" }], brithday: [{ required: true, message: "请选择出生日期", trigger: "change" }], phoneNumber: [{ required: true, message: "请输入手机号码", trigger: "change" }], schoolBy: [{ required: true, message: "请输入毕业学校", trigger: "change" }], highestEduType: [{ required: true, message: "请选择最高学历", trigger: "change" }], speciality: [{ required: true, message: "请输入专业", trigger: "change" }], jobType: [{ required: true, message: "请选择工作岗位", trigger: "change" }], isEpiboly: [{ required: true, message: "请选择", trigger: "change" }], politicsType: [{ required: true, message: "请选择政治面貌", trigger: "change" }], titleType: [{ required: true, message: "请选择职称", trigger: "change" }], engagementStartDate: [{ required: true, message: "请选择从事物管理工作的日期", trigger: "change" }], workExperience: [{ required: true, message: "请输入工作经历", trigger: "change" }], assScore: [{ required: true, message: "请输入考核评分", trigger: "change" }], redListBy: [{ required: true, message: "请输入所属红榜项目", trigger: "change" }], blackListBy: [{ required: true, message: "请输入所属黑榜项目", trigger: "change" }], certType: [{ required: true, message: "请选择持证情况", trigger: "change" }], honor: [{ required: true, message: "请输入荣誉", trigger: "change" }], badRecord: [{ required: true, message: "请输入不良记录", trigger: "change" }], orgBy: [{ required: true, message: "请输入所属组织", trigger: "change" }] }, fileList1: [], fileList2: [], fileList3: [], fileList4: [], fileList5: [], fileList6: [], fileList7: [], uploadFileList1: [], uploadFileList2: [], uploadFileList3: [], uploadFileList4: [], uploadFileList5: [], uploadFileList6: [], uploadFileList7: [] }, "fileVisible", false), "fileUrl", ""), "uploadRefs", ["uploadFile1", "uploadFile2", "uploadFile3", "uploadFile4", "uploadFile5", "uploadFile6", "uploadFile7"]);
|
||
}, mounted: function() {
|
||
this.getCompanyList();
|
||
}, methods: { isValidIDCard: function(e2) {
|
||
var t2 = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
|
||
if (!t2.test(e2)) return false;
|
||
if (18 === e2.length) {
|
||
for (var l2 = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2], a2 = ["1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2"], o2 = 0, r2 = 0; r2 < 17; r2++) o2 += l2[r2] * parseInt(e2.charAt(r2), 10);
|
||
var i2 = a2[o2 % 11];
|
||
if (i2 !== e2.charAt(17).toUpperCase()) return false;
|
||
}
|
||
return true;
|
||
}, parseIDCard: function() {
|
||
var e2 = this.peopleForm.cardNo;
|
||
if (18 === e2.length && this.isValidIDCard(e2)) {
|
||
var t2 = e2.substring(6, 14), l2 = t2.substring(0, 4), a2 = t2.substring(4, 6), o2 = t2.substring(6, 8);
|
||
this.peopleForm.brithday = "".concat(l2, "-").concat(a2, "-").concat(o2);
|
||
}
|
||
}, onPreview: function(e2) {
|
||
var t2 = "";
|
||
t2 = e2.url ? e2.url : e2.response && e2.response.fullUrl ? e2.response.fullUrl : e2.response && e2.response.url ? e2.response.url : "";
|
||
var l2 = [".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx"], a2 = t2.slice(t2.lastIndexOf("."));
|
||
l2.includes(a2) ? this.fileUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + t2 : this.fileUrl = t2, this.fileVisible = true;
|
||
}, getCompanyList: function() {
|
||
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")), l2 = { localCompanyId: t2.osId, companyName: "", pageSize: -1, pageNumber: -1, created: 1 };
|
||
Object(r["l"])(l2).then((function(t3) {
|
||
0 == t3.code && (e2.companyList = t3.data.records.map((function(e3) {
|
||
return { label: e3.companyName, value: e3.uuid };
|
||
})));
|
||
}));
|
||
}, reductionFileList: function(e2, t2, l2) {
|
||
var a2 = this;
|
||
if (e2) {
|
||
var o2 = JSON.parse(e2);
|
||
o2.map((function(e3) {
|
||
a2[t2].push({ name: e3.fileName, url: e3.fullUrl || e3.url });
|
||
})), this[l2] = o2;
|
||
}
|
||
}, initData: function(e2) {
|
||
var t2 = this;
|
||
Object(r["e"])({ id: e2.id }).then((function(e3) {
|
||
0 == e3.code && (t2.peopleForm = e3.data, t2.reductionFileList(e3.data.projectManagerChangeUrl, "fileList1", "uploadFileList1"), t2.reductionFileList(e3.data.eduUrl, "fileList2", "uploadFileList2"), t2.reductionFileList(e3.data.titleUrl, "fileList3", "uploadFileList3"), t2.reductionFileList(e3.data.redListUrl, "fileList4", "uploadFileList4"), t2.reductionFileList(e3.data.blackListUrl, "fileList5", "uploadFileList5"), t2.reductionFileList(e3.data.honorUrl, "fileList6", "uploadFileList6"), t2.reductionFileList(e3.data.badRecordUrl, "fileList7", "uploadFileList7"));
|
||
}));
|
||
}, goBack: function() {
|
||
this.$emit("goBack");
|
||
}, submit: function() {
|
||
var e2 = this;
|
||
this.$refs.peopleForm.validate((function(t2) {
|
||
if (t2) {
|
||
var l2 = JSON.parse(window.localStorage.getItem("companyInfo")), a2 = JSON.parse(window.localStorage.getItem("memberInfor"));
|
||
e2.peopleForm.localCompanyId = l2.osId, e2.peopleForm.creatorId = a2.id, e2.peopleForm.creatorName = a2.name, e2.peopleForm.projectManagerChangeUrl = e2.uploadFileList1.length ? JSON.stringify(e2.uploadFileList1) : "", e2.peopleForm.eduUrl = e2.uploadFileList2.length ? JSON.stringify(e2.uploadFileList2) : "", e2.peopleForm.titleUrl = e2.uploadFileList3.length ? JSON.stringify(e2.uploadFileList3) : "", e2.peopleForm.redListUrl = e2.uploadFileList4.length ? JSON.stringify(e2.uploadFileList4) : "", e2.peopleForm.blackListUrl = e2.uploadFileList5.length ? JSON.stringify(e2.uploadFileList5) : "", e2.peopleForm.honorUrl = e2.uploadFileList6.length ? JSON.stringify(e2.uploadFileList6) : "", e2.peopleForm.badRecordUrl = e2.uploadFileList7.length ? JSON.stringify(e2.uploadFileList7) : "", Object(r["d"])(e2.peopleForm).then((function(t3) {
|
||
0 == t3.code && (e2.$message.success("新增成功"), e2.goBack());
|
||
}));
|
||
} else e2.$message.error("请检查必填项");
|
||
}));
|
||
}, save: function() {
|
||
var e2 = this;
|
||
this.$refs.peopleForm.validate((function(t2) {
|
||
t2 ? (e2.peopleForm.projectManagerChangeUrl = e2.uploadFileList1.length ? JSON.stringify(e2.uploadFileList1) : "", e2.peopleForm.eduUrl = e2.uploadFileList2.length ? JSON.stringify(e2.uploadFileList2) : "", e2.peopleForm.titleUrl = e2.uploadFileList3.length ? JSON.stringify(e2.uploadFileList3) : "", e2.peopleForm.redListUrl = e2.uploadFileList4.length ? JSON.stringify(e2.uploadFileList4) : "", e2.peopleForm.blackListUrl = e2.uploadFileList5.length ? JSON.stringify(e2.uploadFileList5) : "", e2.peopleForm.honorUrl = e2.uploadFileList6.length ? JSON.stringify(e2.uploadFileList6) : "", e2.peopleForm.badRecordUrl = e2.uploadFileList7.length ? JSON.stringify(e2.uploadFileList7) : "", Object(r["g"])(e2.peopleForm).then((function(t3) {
|
||
0 == t3.code && (e2.$message.success("更新成功"), e2.goBack());
|
||
}))) : e2.$message.error("请检查必填项");
|
||
}));
|
||
}, exceedUpload: function() {
|
||
this.$message("最多仅允许上传5个文件");
|
||
}, beforeUpload: function(e2) {
|
||
var t2 = e2.size / 1024 / 1024 < 10, l2 = e2.size / 1024 / 1024 < 2, a2 = ["jpeg", "jpg", "gif", "bmp", "png"], o2 = ["xls", "xlsx", "doc", "docx", "pdf"], r2 = e2.name.substring(e2.name.lastIndexOf(".") + 1).toLowerCase();
|
||
return a2.includes(r2) || o2.includes(r2) ? a2.includes(r2) && !l2 ? (this.$message("图片文件最大不超过2M"), false) : !(o2.includes(r2) && !t2) || (this.$message("文档文件最大不超过10M"), false) : (this.$message("上传文件只能是图片或文档,如:jpg、jpeg、png、doc、pdf、xls、xlsx等格式!"), false);
|
||
}, uploadRequest: (function() {
|
||
var e2 = Object(p["a"])(regeneratorRuntime.mark((function e3(t3, l2) {
|
||
var a2, o2, r2, i2, n2, s2, p2, u2, d2, m2;
|
||
return regeneratorRuntime.wrap((function(e4) {
|
||
while (1) switch (e4.prev = e4.next) {
|
||
case 0:
|
||
return a2 = t3.file, e4.prev = 1, o2 = new FormData(), o2.append("file", a2), e4.next = 2, Object(c["o"])(o2);
|
||
case 2:
|
||
if (r2 = e4.sent, !r2 || !r2.data || 0 !== r2.data.code) {
|
||
e4.next = 3;
|
||
break;
|
||
}
|
||
i2 = r2.data.data.fullUrl || r2.data.data.url, n2 = { fileName: a2.name, fullUrl: i2, url: i2 }, t3.onSuccess(n2), this.$message.success("文件上传成功"), e4.next = 4;
|
||
break;
|
||
case 3:
|
||
throw new Error(r2.data.message || "上传失败");
|
||
case 4:
|
||
e4.next = 6;
|
||
break;
|
||
case 5:
|
||
e4.prev = 5, m2 = e4["catch"](1), console.error("上传失败:", m2), this.$message.error("文件上传失败: ".concat(m2.message || "未知错误")), s2 = parseInt(l2.replace("uploadFileList", "")) - 1, p2 = this.uploadRefs[s2], this.$refs[p2] && (u2 = a2.uid, d2 = this.$refs[p2].uploadFiles.findIndex((function(e5) {
|
||
return e5.uid == u2;
|
||
})), d2 > -1 && this.$refs[p2].uploadFiles.splice(d2, 1));
|
||
case 6:
|
||
case "end":
|
||
return e4.stop();
|
||
}
|
||
}), e3, this, [[1, 5]]);
|
||
})));
|
||
function t2(t3, l2) {
|
||
return e2.apply(this, arguments);
|
||
}
|
||
return t2;
|
||
})(), uploadSuccess: function(e2, t2, l2, a2) {
|
||
e2 && this[a2].push(e2);
|
||
}, uploadRemove: function(e2, t2, l2, a2) {
|
||
var o2 = this[a2].findIndex((function(t3) {
|
||
return t3.fileName === e2.name;
|
||
}));
|
||
o2 > -1 && this[a2].splice(o2, 1);
|
||
} } }, m = d, f = (l("6c85"), l("829d")), b = Object(f["a"])(m, n, s, false, null, "2b11933f", null), v = b.exports, y = { components: { addPeople: v }, data: function() {
|
||
return { educationList: i["e"], sexType: i["l"], jobList: i["g"], approveStatus: i["b"], pageTotal: 0, addShow: false, infoList: true, query: { name: "", localCompanyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, status: "", pageNumber: 1, pageSize: 10 }, tableData: [] };
|
||
}, mounted: function() {
|
||
this.headClass(), this.getlistData();
|
||
}, methods: { detailsClick: function(e2, t2) {
|
||
var l2 = this;
|
||
this.type = t2, this.addShow = true, this.infoList = false, this.$nextTick((function() {
|
||
l2.$refs.addPeople.initData(e2);
|
||
}));
|
||
}, goBack: function() {
|
||
this.addShow = false, this.infoList = true, this.getlistData();
|
||
}, add: function() {
|
||
this.type = "add", this.addShow = true, this.infoList = false;
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, getlistData: function() {
|
||
var e2 = this, t2 = { name: this.query.name, localCompanyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, projectUuid: this.query.projectUuid, pageNumber: this.query.pageNumber, pageSize: this.query.pageSize };
|
||
Object(r["f"])(t2).then((function(t3) {
|
||
0 === t3.code && t3.data ? (e2.tableData = t3.data.records, e2.pageTotal = t3.data.rowsCount) : e2.tableData = [];
|
||
}));
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.query.name = "", this.getlistData();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, h = y, g = (l("5e67"), l("7d53"), Object(f["a"])(h, a, o, false, null, "a9b0da92", null));
|
||
t["default"] = g.exports;
|
||
}, "1df6": function(e, t, l) {
|
||
"use strict";
|
||
l.d(t, "l", (function() {
|
||
return o;
|
||
})), l.d(t, "c", (function() {
|
||
return r;
|
||
})), l.d(t, "k", (function() {
|
||
return i;
|
||
})), l.d(t, "m", (function() {
|
||
return n;
|
||
})), l.d(t, "h", (function() {
|
||
return s;
|
||
})), l.d(t, "i", (function() {
|
||
return p;
|
||
})), l.d(t, "j", (function() {
|
||
return u;
|
||
})), l.d(t, "t", (function() {
|
||
return c;
|
||
})), l.d(t, "u", (function() {
|
||
return d;
|
||
})), l.d(t, "v", (function() {
|
||
return m;
|
||
})), l.d(t, "w", (function() {
|
||
return f;
|
||
})), l.d(t, "f", (function() {
|
||
return b;
|
||
})), l.d(t, "d", (function() {
|
||
return v;
|
||
})), l.d(t, "e", (function() {
|
||
return y;
|
||
})), l.d(t, "g", (function() {
|
||
return h;
|
||
})), l.d(t, "r", (function() {
|
||
return g;
|
||
})), l.d(t, "q", (function() {
|
||
return F;
|
||
})), l.d(t, "s", (function() {
|
||
return L;
|
||
})), l.d(t, "o", (function() {
|
||
return k;
|
||
})), l.d(t, "n", (function() {
|
||
return w;
|
||
})), l.d(t, "p", (function() {
|
||
return _;
|
||
})), l.d(t, "b", (function() {
|
||
return x;
|
||
})), l.d(t, "a", (function() {
|
||
return j;
|
||
}));
|
||
var a = l("b775");
|
||
function o(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompany/pageList", method: "post", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompany/create", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompany/findById", method: "post", data: e2 });
|
||
}
|
||
function n(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompany/update", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyFinance/create", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyFinance/findByCompanyUuid", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyFinance/update", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProject/create", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProject/findById", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProject/pageList", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProject/update", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyEmployee/pageList", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyEmployee/create", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyEmployee/findById", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsCompanyEmployee/update", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProjectFacility/findByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProjectFacility/create", method: "post", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProjectFacility/update", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProjectDevice/findByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProjectDevice/create", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsProjectDevice/update", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsApproval/pageList", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/BnsApproval/findById", method: "post", data: e2 });
|
||
}
|
||
}, "47d8": function(e, t, l) {
|
||
}, "5e67": function(e, t, l) {
|
||
"use strict";
|
||
l("b04c");
|
||
}, "6c85": function(e, t, l) {
|
||
"use strict";
|
||
l("47d8");
|
||
}, "7d53": function(e, t, l) {
|
||
"use strict";
|
||
l("d463");
|
||
}, "90e7": function(e, t, l) {
|
||
"use strict";
|
||
l.d(t, "g", (function() {
|
||
return o;
|
||
})), l.d(t, "m", (function() {
|
||
return r;
|
||
})), l.d(t, "f", (function() {
|
||
return i;
|
||
})), l.d(t, "l", (function() {
|
||
return n;
|
||
})), l.d(t, "h", (function() {
|
||
return s;
|
||
})), l.d(t, "n", (function() {
|
||
return p;
|
||
})), l.d(t, "a", (function() {
|
||
return u;
|
||
})), l.d(t, "b", (function() {
|
||
return c;
|
||
})), l.d(t, "c", (function() {
|
||
return d;
|
||
})), l.d(t, "e", (function() {
|
||
return m;
|
||
})), l.d(t, "d", (function() {
|
||
return f;
|
||
})), l.d(t, "i", (function() {
|
||
return b;
|
||
})), l.d(t, "j", (function() {
|
||
return v;
|
||
})), l.d(t, "o", (function() {
|
||
return y;
|
||
})), l.d(t, "k", (function() {
|
||
return h;
|
||
}));
|
||
var a = l("b775");
|
||
function o(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: e2 });
|
||
}
|
||
function n(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CollectionInfoApi/update", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ChargePushConfigApi/findById", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ChargePushConfigApi/update", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(a["a"])({ url: "/company/ProjectSatisfactionConfig/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(a["a"])({ url: "/company/ProjectSatisfactionConfig/update", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/findByCompanyIdAndType", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/sceneMenuList", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/pageList", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateExponentByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function y(e2, t2) {
|
||
return Object(a["a"])({ url: "/oss/upload", isFile: true, isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, method: "post", data: e2, onUploadProgress: t2 && t2.onUploadProgress });
|
||
}
|
||
function h(e2) {
|
||
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
}, b04c: function(e, t, l) {
|
||
}, d463: function(e, t, l) {
|
||
}, ef3b: function(e, t, l) {
|
||
"use strict";
|
||
l.d(t, "g", (function() {
|
||
return a;
|
||
})), l.d(t, "a", (function() {
|
||
return o;
|
||
})), l.d(t, "e", (function() {
|
||
return r;
|
||
})), l.d(t, "i", (function() {
|
||
return i;
|
||
})), l.d(t, "j", (function() {
|
||
return n;
|
||
})), l.d(t, "d", (function() {
|
||
return s;
|
||
})), l.d(t, "k", (function() {
|
||
return p;
|
||
})), l.d(t, "h", (function() {
|
||
return u;
|
||
})), l.d(t, "l", (function() {
|
||
return c;
|
||
})), l.d(t, "m", (function() {
|
||
return d;
|
||
})), l.d(t, "f", (function() {
|
||
return m;
|
||
})), l.d(t, "b", (function() {
|
||
return f;
|
||
})), l.d(t, "c", (function() {
|
||
return b;
|
||
}));
|
||
var a = [{ value: 1, label: "管理人员-部门其他管理人员" }, { value: 2, label: "管理人员-总经理" }, { value: 3, label: "管理人员-副总经理" }, { value: 4, label: "非管理人员-其他人员" }, { value: 5, label: "管理人员-物业项目负责人" }, { value: 6, label: "管理人员-部门经理" }, { value: 7, label: "非管理人员-清洁工" }, { value: 8, label: "管理人员-部门副经理" }, { value: 9, label: "管理人员-物业项目其他管理人员" }, { value: 10, label: "非管理人员-维修工" }, { value: 11, label: "非管理人员-绿化养护人员" }, { value: 12, label: "暂无" }], o = [{ value: 1, label: "中国居民身份证" }, { value: 2, label: "港澳居民来往内地通行证" }, { value: 3, label: "台湾居民来往大陆通行证" }, { value: 4, label: "外国人永久居留身份证" }, { value: 5, label: "港澳台居民居住证" }, { value: 6, label: "护照" }], r = [{ value: 1, label: "初中及以下" }, { value: 2, label: "中专" }, { value: 3, label: "高中及以下学历" }, { value: 4, label: "大专" }, { value: 5, label: "本科" }, { value: 6, label: "硕士" }, { value: 7, label: "硕士研究生" }, { value: 8, label: "博士" }, { value: 9, label: "博士后" }], i = [{ value: 1, label: "中共党员" }, { value: 2, label: "中共预备党员" }, { value: 3, label: "共青团员" }, { value: 4, label: "群众" }, { value: 5, label: "民主党派" }, { value: 0, label: "其它" }], n = [{ value: 1, label: "初级" }, { value: 2, label: "中级" }, { value: 3, label: "高级" }, { value: 4, label: "其它" }], s = [{ value: 1, label: "城中村" }, { value: 2, label: "自然村" }, { value: 3, label: "园区" }, { value: 4, label: "工业园" }, { value: 5, label: "公园" }, { value: 6, label: "单位大院" }, { value: 7, label: "政府大院" }, { value: 8, label: "交通场站" }, { value: 9, label: "住宅小区" }, { value: 10, label: "普通住宅小区" }, { value: 11, label: "商业区" }, { value: 12, label: "商写一体" }, { value: 13, label: "商住一体" }, { value: 14, label: "山林水库" }, { value: 15, label: "学校" }, { value: 16, label: "其他" }, { value: 17, label: "写字楼" }, { value: 18, label: "军事管制区" }, { value: 19, label: "军产房" }, { value: 20, label: "场馆" }, { value: 21, label: "医院" }, { value: 22, label: "小产权房" }, { value: 23, label: "统建楼" }, { value: 24, label: "科技园区" }], p = [{ value: 1, label: "国有" }, { value: 2, label: "集体" }, { value: 3, label: "股份合作" }, { value: 4, label: "联营" }, { value: 5, label: "有限责任公司" }, { value: 6, label: "股份有限公司" }, { value: 7, label: "私营及其他内资企业" }, { value: 8, label: "独资" }, { value: 9, label: "合资" }, { value: 10, label: "合作" }], u = [{ value: 1, label: "机关法人" }, { value: 2, label: "机关非法人" }, { value: 3, label: "企业法人" }, { value: 4, label: "企业非法人" }, { value: 5, label: "社会团体法人" }, { value: 6, label: "社会团体非法人" }, { value: 7, label: "事业法人" }, { value: 8, label: "工户法人" }, { value: 9, label: "个体工商户" }, { value: 10, label: "民办非企业单位" }, { value: 11, label: "其他机构" }], c = [{ value: 1, label: "男" }, { value: 2, label: "女" }, { value: 3, label: "未知" }], d = [{ label: "1星", value: 1 }, { label: "2星", value: 2 }, { label: "3星", value: 3 }, { label: "4星", value: 4 }, { label: "5星", value: 5 }], m = [{ label: "AAA级", value: 1 }, { label: "AA级", value: 2 }, { label: "A级", value: 3 }, { label: "B级", value: 4 }, { label: "C级", value: 5 }, { label: "C级(严重失信)", value: 6 }], f = [{ label: "审批中", value: 0 }, { label: "审批通过", value: 1 }, { label: "驳回", value: 2 }], b = [{ label: "企业信息新增", value: 1 }, { label: "企业信息变更", value: 2 }, { label: "企业财务信息新增", value: 3 }, { label: "企业财务信息变更", value: 4 }, { label: "从业人员信息新增", value: 5 }, { label: "从业人员信息变更", value: 6 }, { label: "项目信息新增", value: 7 }, { label: "项目信息变更", value: 8 }, { label: "项目共用设施新增", value: 9 }, { label: "项目公用设施变更", value: 10 }, { label: "项目公用设备新增", value: 11 }, { label: "项目共用设备变更", value: 12 }];
|
||
} }]);
|