1535 lines
157 KiB
JavaScript
1535 lines
157 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-6de69cd8"], { "012d": function(e, t, a) {
|
||
"use strict";
|
||
a("b24c");
|
||
}, "0d1d": function(e, t, a) {
|
||
}, "127f": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return r;
|
||
}));
|
||
a("4057");
|
||
var r = function() {
|
||
function e2() {
|
||
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
|
||
}
|
||
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(e2()).concat(e2());
|
||
};
|
||
}, 1537: function(e, t, a) {
|
||
}, 1777: function(e, t, a) {
|
||
"use strict";
|
||
a("2c08");
|
||
}, "2c08": function(e, t, a) {
|
||
}, 3226: function(e, t, a) {
|
||
"use strict";
|
||
a.r(t);
|
||
var r = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { directives: [{ name: "show", rawName: "v-show", value: e2.showList, expression: "showList" }], attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "在职档案", name: "active" } }, ["active" === e2.activeName ? a2("activeList", { ref: "activeList", attrs: { companyList: e2.companyList, orgList: e2.organizeList, jobList: e2.jobList }, on: { see: e2.seeClick } }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "转正记录", name: "become" } }, ["become" === e2.activeName ? a2("becomeList", { ref: "becomeList", attrs: { companyList: e2.companyList, orgList: e2.organizeList, jobList: e2.jobList }, on: { see: e2.seeClick } }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "调岗记录", name: "transfer" } }, ["transfer" === e2.activeName ? a2("transferList", { ref: "outList", attrs: { companyList: e2.companyList, orgList: e2.organizeList, jobList: e2.jobList }, on: { see: e2.seeClick } }) : e2._e()], 1)], 1), e2._v(" "), a2("Info", { directives: [{ name: "show", rawName: "v-show", value: e2.showDetail, expression: "showDetail" }], ref: "details", attrs: { companyList: e2.companyList, orgList: e2.organizeList, jobList: e2.jobList }, on: { close: e2.onClose, callback: e2.uploadCallback } })], 1)]);
|
||
}, o = [], n = (a("a450"), a("e680"), a("4513")), l = a("7321"), i = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", { staticClass: "searchBar" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 21 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "osId" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", placeholder: "项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: e2.query.osId, callback: function(t3) {
|
||
e2.$set(e2.query, "osId", t3);
|
||
}, expression: "query.osId" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "姓名" }, model: { value: e2.query.name, callback: function(t3) {
|
||
e2.$set(e2.query, "name", t3);
|
||
}, expression: "query.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "idNumber" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "证件号" }, model: { value: e2.query.idNumber, callback: function(t3) {
|
||
e2.$set(e2.query, "idNumber", t3);
|
||
}, expression: "query.idNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "onJobStateList" } }, [a2("el-select", { attrs: { placeholder: "用工状态", clearable: "", multiple: "" }, model: { value: e2.query.onJobStateList, callback: function(t3) {
|
||
e2.$set(e2.query, "onJobStateList", t3);
|
||
}, expression: "query.onJobStateList" } }, [a2("el-option", { attrs: { label: "试用", value: 0 } }), e2._v(" "), a2("el-option", { attrs: { label: "在职", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "离职", value: 2 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "isStop" } }, [a2("el-select", { attrs: { placeholder: "账号状态", clearable: "" }, model: { value: e2.query.isStop, callback: function(t3) {
|
||
e2.$set(e2.query, "isStop", t3);
|
||
}, expression: "query.isStop" } }, [a2("el-option", { attrs: { label: "正常", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "暂停", value: 0 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "postUuid" } }, [a2("el-select", { attrs: { placeholder: "岗位", clearable: "", filterable: "" }, model: { value: e2.query.postUuid, callback: function(t3) {
|
||
e2.$set(e2.query, "postUuid", t3);
|
||
}, expression: "query.postUuid" } }, e2._l(e2.jobList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "archivesSource" } }, [a2("el-select", { attrs: { placeholder: "档案来源", clearable: "" }, model: { value: e2.query.archivesSource, callback: function(t3) {
|
||
e2.$set(e2.query, "archivesSource", t3);
|
||
}, expression: "query.archivesSource" } }, e2._l(e2.archivesSourceList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "phoneNumber" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "联系方式" }, model: { value: e2.query.phoneNumber, callback: function(t3) {
|
||
e2.$set(e2.query, "phoneNumber", t3);
|
||
}, expression: "query.phoneNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "distinct" } }, [a2("el-checkbox", { attrs: { "true-label": 1, "false-label": 0 }, model: { value: e2.query.distinct, callback: function(t3) {
|
||
e2.$set(e2.query, "distinct", t3);
|
||
}, expression: "query.distinct" } }, [e2._v("仅显示唯一档案")])], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 3 } }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")])], 1)], 1)], 1)], 1), e2._v(" "), a2("div", [a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [e2._v("在职档案列表 共计"), a2("el-link", { attrs: { type: "primary" }, on: { click: e2.showProject } }, [e2._v(e2._s(e2.projectSum))]), e2._v("\n 个项目")], 1), e2._v(" "), a2("div", [a2("el-upload", { ref: "upload", staticClass: "importSpaceTmpBtn", attrs: { loading: e2.importDataBtn, "auto-upload": true, "show-file-list": false, accept: ".xlsx", "http-request": e2.importSpaceTmp, action: "" } }, [a2("el-button", { attrs: { type: "warning" } }, [e2._v("导入档案")])], 1), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.exportTemplate } }, [e2._v("导出模板")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", disabled: e2.exportExcelLoading, loading: e2.exportExcelLoading }, on: { click: e2.exportExecl } }, [e2._v("下载Excel")]), e2._v(" "), a2("el-upload", { ref: "uploadQuick", staticClass: "importSpaceTmpBtn", attrs: { loading: e2.importDataBtn, "auto-upload": true, "show-file-list": false, accept: ".xlsx", "http-request": e2.importSpaceTmpQuick, action: "" } }, [a2("el-button", { attrs: { type: "warning" } }, [e2._v("快速上线导入")])], 1), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.exportTemplateQuick } }, [e2._v("快速上线导出模板")])], 1)]), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "100", "show-overflow-tooltip": "", label: "姓名" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.name || "-"))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "性别" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 == t3.row.sex ? "男" : 2 == t3.row.sex ? "女" : "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", "min-width": "120", label: "项目/部门" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.osName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "岗位", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.postName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "证件类型" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.certificateType, e2.IDTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "180", label: "证件号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.idNumber || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "190", label: "联系方式" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", [t3.row.forEdit ? e2._e() : a2("div", [e2._v("\n " + e2._s(t3.row.phoneNumber) + "\n "), a2("i", { staticClass: "el-icon-edit", on: { click: function(a3) {
|
||
return e2.toEdit(t3.row);
|
||
} } })]), e2._v(" "), t3.row.forEdit ? a2("div", { staticClass: "setEdit" }, [a2("el-input-number", { staticStyle: { width: "120px" }, attrs: { controls: false }, model: { value: t3.row.phoneNumber, callback: function(a3) {
|
||
e2.$set(t3.row, "phoneNumber", a3);
|
||
}, expression: "scope.row.phoneNumber" } }), e2._v(" "), a2("div", [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.editSave(t3.row);
|
||
} } }, [e2._v("保存")]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.escEdit(t3.row);
|
||
} } }, [e2._v("取消")])], 1)], 1) : e2._e()])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "企业微信用户", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.wxUserName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "档案来源", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.archivesSource, e2.archivesSourceList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "用工状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [0 == t3.row.onJobState ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("试用")]) : 1 == t3.row.onJobState ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("在职")]) : 2 == t3.row.onJobState ? a2("el-tag", { attrs: { type: "info" } }, [e2._v("离职")]) : e2._e()];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "黑名单" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 == t3.row.blacklist ? "是" : "否") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "账号状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.isStop ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("正常")]) : 0 == t3.row.isStop ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("暂停")]) : e2._e()];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "70", label: "附件" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [t3.row.fileArr.length ? a2("el-popover", { attrs: { placement: "right", width: "400", trigger: "click" } }, [e2._l(t3.row.fileArr, (function(t4, r2) {
|
||
return a2("div", { key: r2 }, [a2("div", { staticClass: "download-style" }, [a2("span", { staticClass: "showFile", on: { click: function(a3) {
|
||
return e2.showFileOpen(t4);
|
||
} } }, [e2._v(e2._s(t4.fileName))]), e2._v(" "), a2("i", { staticClass: "el-icon-download", on: { click: function(a3) {
|
||
return e2.downloadItem(t4);
|
||
} } })])]);
|
||
})), e2._v(" "), a2("el-link", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [e2._v(e2._s(t3.row.fileArr.length))])], 2) : a2("span", [e2._v(e2._s(t3.row.fileArr.length))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "入职操作人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.onJobCreatorName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "入职操作时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.onJobCreatorDate || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "创建人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.creatorName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "创建时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createDate || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "更新人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updaterName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "更新时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updateDate || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "250", fixed: "right", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.seeDetail(t3.row.id, "edit");
|
||
} } }, [e2._v("查看")]), e2._v(" "), 0 == t3.row.onJobState ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.operateClick(t3.row, "1");
|
||
} } }, [e2._v("转正")]) : e2._e(), e2._v(" "), 1 == t3.row.onJobState ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.operateClick(t3.row, "2");
|
||
} } }, [e2._v("续签")]) : e2._e(), e2._v(" "), 0 == t3.row.onJobState || 1 == t3.row.onJobState ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.operateClick(t3.row, "3");
|
||
} } }, [e2._v("调岗")]) : e2._e(), e2._v(" "), 0 == t3.row.onJobState || 1 == t3.row.onJobState ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.operateClick(t3.row, "4");
|
||
} } }, [e2._v("离职")]) : e2._e(), e2._v(" "), 0 == t3.row.onJobState || 1 == t3.row.onJobState ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.operateClick(t3.row, "5");
|
||
} } }, [e2._v("新任命")]) : e2._e()];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", background: "", 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)]), e2._v(" "), a2("operate", { ref: "operate", attrs: { companyList: e2.companyList, orgList: e2.orgList, jobList: e2.jobList, show: e2.showOperate }, on: { close: function(t3) {
|
||
e2.showOperate = false;
|
||
}, callback: e2.operateCallback } }), e2._v(" "), a2("el-dialog", { attrs: { title: "文件预览", visible: e2.fileVisible }, on: { "update:visible": function(t3) {
|
||
e2.fileVisible = t3;
|
||
} } }, [a2("iframe", { attrs: { src: e2.fileUrl, frameborder: "0", scrolling: "no", height: "550px", width: "100%" } }), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.fileVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "权益项目名称", visible: e2.projectSumVisible }, on: { "update:visible": function(t3) {
|
||
e2.projectSumVisible = t3;
|
||
} } }, [a2("el-descriptions", { attrs: { column: 4 } }, e2._l(e2.projectSumList, (function(t3) {
|
||
return a2("el-descriptions-item", { key: t3.id, attrs: { label: "组织名称" } }, [e2._v(e2._s(t3.name))]);
|
||
})), 1)], 1)], 1);
|
||
}, s = [], c = (a("aa18"), a("dce5")), u = a("333d"), m = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-dialog", { attrs: { title: e2.title, visible: e2.show, width: "40%", "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
|
||
e2.show = t3;
|
||
} } }, [a2("div", { staticClass: "info-data" }, [a2("el-form", { ref: "dataForm", attrs: { model: e2.dataForm, rules: e2.rules, "label-width": "100px" } }, [4 == e2.dialogType ? a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "离职日期", prop: "changeDate_4" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择离职日期" }, model: { value: e2.dataForm.changeDate_4, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "changeDate_4", t3);
|
||
}, expression: "dataForm.changeDate_4" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "离职原因", prop: "quitReason" } }, [a2("el-select", { attrs: { placeholder: "选择离职原因", clearable: "" }, model: { value: e2.dataForm.quitReason, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "quitReason", t3);
|
||
}, expression: "dataForm.quitReason" } }, e2._l(e2.departReasonList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "离职说明", prop: "remark_4" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 2, maxRows: 4 }, placeholder: "离职说明" }, model: { value: e2.dataForm.remark_4, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "remark_4", t3);
|
||
}, expression: "dataForm.remark_4" } })], 1)], 1)], 1)], 1) : e2._e(), e2._v(" "), 4 != e2.dialogType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "类型编号", prop: "approveTypeNumber" } }, [a2("div", { staticClass: "check-content" }, [a2("el-input", { attrs: { placeholder: "审批类型编号", clearable: "" }, model: { value: e2.dataForm.approveTypeNumber, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "approveTypeNumber", t3);
|
||
}, expression: "dataForm.approveTypeNumber" } })], 1)])], 1)], 1) : e2._e(), e2._v(" "), 1 == e2.dialogType ? a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "转正人", prop: "name" } }, [a2("el-input", { attrs: { placeholder: "转正人", disabled: "" }, model: { value: e2.saveData.name, callback: function(t3) {
|
||
e2.$set(e2.saveData, "name", t3);
|
||
}, expression: "saveData.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "项目/部门", prop: "osName" } }, [a2("el-input", { attrs: { placeholder: "转正项目/部门", disabled: "" }, model: { value: e2.saveData.osName, callback: function(t3) {
|
||
e2.$set(e2.saveData, "osName", t3);
|
||
}, expression: "saveData.osName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "入职日期", prop: "entryDate" } }, [a2("el-date-picker", { attrs: { disabled: "", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择入职日期" }, model: { value: e2.saveData.entryDate, callback: function(t3) {
|
||
e2.$set(e2.saveData, "entryDate", t3);
|
||
}, expression: "saveData.entryDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "转正日期", prop: "changeDate_1" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择转正日期" }, model: { value: e2.dataForm.changeDate_1, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "changeDate_1", t3);
|
||
}, expression: "dataForm.changeDate_1" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "转正工资", prop: "salary" } }, [a2("el-input-number", { attrs: { "controls-position": "right", precision: 2, min: 0 }, model: { value: e2.dataForm.salary, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "salary", t3);
|
||
}, expression: "dataForm.salary" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "试用期评价", prop: "remark_1" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 2, maxRows: 4 }, placeholder: "试用期评价" }, model: { value: e2.dataForm.remark_1, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "remark_1", t3);
|
||
}, expression: "dataForm.remark_1" } })], 1)], 1)], 1)], 1) : e2._e(), e2._v(" "), 3 == e2.dialogType || 5 == e2.dialogType ? a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "姓名", prop: "name" } }, [a2("el-input", { attrs: { placeholder: "姓名", disabled: "" }, model: { value: e2.saveData.name, callback: function(t3) {
|
||
e2.$set(e2.saveData, "name", t3);
|
||
}, expression: "saveData.name" } })], 1)], 1)], 1), e2._v(" "), 3 == e2.dialogType ? a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "转出组织", prop: "osId" } }, [a2("el-cascader", { attrs: { disabled: "", placeholder: "转出项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: e2.saveData.osId, callback: function(t3) {
|
||
e2.$set(e2.saveData, "osId", t3);
|
||
}, expression: "saveData.osId" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "转出城市", prop: "userArea" } }, [a2("el-cascader", { attrs: { disabled: "", placeholder: "转出城市", options: e2.options }, on: { change: e2.areaChange }, model: { value: e2.userArea, callback: function(t3) {
|
||
e2.userArea = t3;
|
||
}, expression: "userArea" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "转出岗位", prop: "postUuid" } }, [a2("el-select", { attrs: { placeholder: "转出岗位", disabled: "" }, model: { value: e2.saveData.postUuid, callback: function(t3) {
|
||
e2.$set(e2.saveData, "postUuid", t3);
|
||
}, expression: "saveData.postUuid" } }, e2._l(e2.jobList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1)], 1)], 1) : e2._e(), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: 3 == e2.dialogType ? "转入组织" : 5 == e2.dialogType ? "新任命组织" : "", prop: "projectId" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", placeholder: "项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, on: { change: e2.projectChange }, model: { value: e2.dataForm.projectId, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "projectId", t3);
|
||
}, expression: "dataForm.projectId" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: 3 == e2.dialogType ? "转入城市" : 5 == e2.dialogType ? "新任命城市" : "", prop: "selectArea" } }, [a2("el-cascader", { attrs: { clearable: "", placeholder: "请选择城市", options: e2.options }, on: { change: e2.areaChange }, model: { value: e2.dataForm.selectArea, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "selectArea", t3);
|
||
}, expression: "dataForm.selectArea" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: 3 == e2.dialogType ? "转入岗位" : 5 == e2.dialogType ? "新任命岗位" : "", prop: "jobObj" } }, [a2("el-select", { attrs: { placeholder: "请选择岗位", clearable: "", filterable: "", "value-key": "id" }, model: { value: e2.dataForm.jobObj, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "jobObj", t3);
|
||
}, expression: "dataForm.jobObj" } }, e2._l(e2.jobList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "入职日期", prop: "entryDate" } }, [a2("el-date-picker", { attrs: { disabled: "", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "入职日期" }, model: { value: e2.saveData.entryDate, callback: function(t3) {
|
||
e2.$set(e2.saveData, "entryDate", t3);
|
||
}, expression: "saveData.entryDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: 3 == e2.dialogType ? "转入日期" : 5 == e2.dialogType ? "新任命日期" : "", prop: "changeDate_3" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "选择日期" }, model: { value: e2.dataForm.changeDate_3, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "changeDate_3", t3);
|
||
}, expression: "dataForm.changeDate_3" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [3 == e2.dialogType ? a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "调岗原因", prop: "remark_3" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 2, maxRows: 4 }, placeholder: "调岗原因" }, model: { value: e2.dataForm.remark_3, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "remark_3", t3);
|
||
}, expression: "dataForm.remark_3" } })], 1)], 1) : e2._e(), e2._v(" "), 5 == e2.dialogType ? a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "新任命原因" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 2, maxRows: 4 }, placeholder: "新任命原因" }, model: { value: e2.dataForm.remark_3, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "remark_3", t3);
|
||
}, expression: "dataForm.remark_3" } })], 1)], 1) : e2._e()], 1)], 1) : e2._e(), e2._v(" "), 2 == e2.dialogType ? a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "甲方单位", prop: "contractMainBody" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择甲方单位", "value-key": "id" }, on: { change: e2.mainChange }, model: { value: e2.dataForm.contractMainBody, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractMainBody", t3);
|
||
}, expression: "dataForm.contractMainBody" } }, e2._l(e2.companyList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "法人/负责人", prop: "contactName" } }, [a2("el-input", { attrs: { placeholder: "法人/负责人", disabled: "" }, model: { value: e2.mainInfo.contactName, callback: function(t3) {
|
||
e2.$set(e2.mainInfo, "contactName", t3);
|
||
}, expression: "mainInfo.contactName" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "单位地址", prop: "address" } }, [a2("el-input", { attrs: { placeholder: "甲方单位地址", disabled: "" }, model: { value: e2.mainInfo.address, callback: function(t3) {
|
||
e2.$set(e2.mainInfo, "address", t3);
|
||
}, expression: "mainInfo.address" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "乙方姓名", prop: "name" } }, [a2("el-input", { attrs: { placeholder: "姓名", disabled: "" }, model: { value: e2.saveData.name, callback: function(t3) {
|
||
e2.$set(e2.saveData, "name", t3);
|
||
}, expression: "saveData.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "联系电话", prop: "phoneNumber" } }, [a2("el-input", { attrs: { placeholder: "联系电话", disabled: "" }, model: { value: e2.saveData.phoneNumber, callback: function(t3) {
|
||
e2.$set(e2.saveData, "phoneNumber", t3);
|
||
}, expression: "saveData.phoneNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "证件类型", prop: "certificateType" } }, [a2("el-select", { attrs: { placeholder: "证件类型", disabled: "" }, model: { value: e2.saveData.certificateType, callback: function(t3) {
|
||
e2.$set(e2.saveData, "certificateType", t3);
|
||
}, expression: "saveData.certificateType" } }, e2._l(e2.IDTypeList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "证件号码" } }, [a2("el-input", { attrs: { placeholder: "证件号码", value: e2.saveData.idNumber, disabled: "" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "乙方地址", prop: "certificateAddress" } }, [a2("el-input", { attrs: { placeholder: "现居住地址", disabled: "" }, model: { value: e2.saveData.certificateAddress, callback: function(t3) {
|
||
e2.$set(e2.saveData, "certificateAddress", t3);
|
||
}, expression: "saveData.certificateAddress" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "合同类型", prop: "contractType" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择合同类型" }, model: { value: e2.dataForm.contractType, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractType", t3);
|
||
}, expression: "dataForm.contractType" } }, e2._l(e2.contractType, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "合同开始", prop: "contractBegDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd 00:000:00", "value-format": "yyyy-MM-dd 00:000:00", type: "date", placeholder: "选择合同开始日期" }, model: { value: e2.dataForm.contractBegDate, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractBegDate", t3);
|
||
}, expression: "dataForm.contractBegDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "合同结束", prop: "contractEndDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd 00:000:00", "value-format": "yyyy-MM-dd 00:000:00", type: "date", placeholder: "选择合同结束日期" }, model: { value: e2.dataForm.contractEndDate, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractEndDate", t3);
|
||
}, expression: "dataForm.contractEndDate" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "续签原因", prop: "remark_2" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 2, maxRows: 4 }, placeholder: "续签原因" }, model: { value: e2.dataForm.remark_2, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "remark_2", t3);
|
||
}, expression: "dataForm.remark_2" } })], 1)], 1)], 1)], 1) : e2._e(), e2._v(" "), 4 != e2.dialogType ? a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "附件" } }, [a2("el-upload", { ref: "uploadFile", staticClass: "upload-demo", attrs: { action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": e2.uploadRequest, "on-success": e2.uploadSuccess, "on-remove": e2.uploadRemove, multiple: "", limit: 9, "file-list": e2.fileList } }, [a2("el-button", { attrs: { size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [e2._v("\n 只能上传图片和文档,图片不超过2M,文档不超过10M\n ")])], 1)], 1)], 1)], 1) : e2._e()], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.postOperate } }, [e2._v("确 定")])], 1)])], 1);
|
||
}, d = [], p = (a("a7e5"), a("b5aa"), a("3ef1")), f = (a("1bc7"), a("982e"), a("e5b4"), a("e211")), b = (a("127f"), a("90e7")), v = { props: { show: { type: Boolean, default: false }, jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
return { options: f["b"], departReasonList: c["B"], IDTypeList: c["b"], contractType: c["x"], title: "", dialogType: "", saveData: "", dataForm: { salary: void 0, changeDate_1: "", changeDate_3: "", changeDate_4: "", remark_1: "", remark_2: "", remark_3: "", approveTypeNumber: "", quitReason: "", projectId: "", selectArea: "", jobObj: "", projectObj: "", city: "", contractMainBody: "", contractType: "", contractBegDate: "", contractEndDate: "" }, rules: { changeDate_1: { required: true, message: "请选择转正日期", trigger: "change" }, changeDate_3: { required: true, message: "请选择日期", trigger: "change" }, changeDate_4: { required: true, message: "请选择离职日期", trigger: "change" }, remark_1: { required: true, message: "请输入试用期评价", trigger: "blur" }, remark_2: { required: true, message: "请输入续签原因", trigger: "blur" }, remark_3: { required: true, message: "请输入原因", trigger: "blur" }, approveTypeNumber: { required: true, message: "请输入审批类型", trigger: "blur" }, salary: { required: true, message: "请输入转正后薪资", trigger: "blur" }, quitReason: { required: true, message: "请选择离职原因", trigger: "change" }, projectId: { required: true, message: "请选择组织/部门", trigger: "change" }, selectArea: { required: true, message: "请选择城市", trigger: "change" }, jobObj: { required: true, message: "请选择岗位", trigger: "change" }, contractMainBody: { required: true, message: "请选择合同主体", trigger: "change" }, contractType: { required: true, message: "请选择合同类型", trigger: "change" }, contractBegDate: { required: true, message: "请选择合同开始时间", trigger: "change" }, contractEndDate: { required: true, message: "请选择合同结束时间", trigger: "change" } }, userArea: [], fileList: [], uploadFileList: [], mainInfo: "" };
|
||
}, mounted: function() {
|
||
}, methods: { init: function(e2, t2) {
|
||
var a2 = this;
|
||
if (this.dialogType = t2, this.saveData = e2, 1 == t2) this.title = "转正申请";
|
||
else if (2 == t2) {
|
||
this.title = "续签申请";
|
||
var r2 = this.companyList.find((function(t3) {
|
||
return t3.id == e2.contractMainBodyId;
|
||
}));
|
||
r2 ? (this.mainInfo = r2, this.dataForm.contractMainBody = { id: e2.contractMainBodyId }) : (this.mainInfo = "", this.dataForm.contractMainBody = "");
|
||
} else 3 == t2 ? this.title = "调岗申请" : 4 == t2 ? this.title = "代发起离职" : 5 == t2 && (this.title = "新任命");
|
||
if (this.gerArea(e2.city), e2.fileUrl) {
|
||
var o2 = JSON.parse(e2.fileUrl);
|
||
o2.map((function(e3) {
|
||
a2.fileList.push({ name: e3.fileName, url: e3.fullUrl || e3.url });
|
||
})), this.uploadFileList = JSON.parse(e2.fileUrl);
|
||
}
|
||
}, postOperate: function() {
|
||
var e2 = this;
|
||
this.$refs["dataForm"].validate((function(t2) {
|
||
t2 && (1 == e2.dialogType ? e2.onBecomeWorker() : 2 == e2.dialogType ? e2.onRenewalContract() : 3 == e2.dialogType ? e2.onTransferPosition() : 4 == e2.dialogType ? e2.onLeaveOffice() : 5 == e2.dialogType && e2.onCommission());
|
||
}));
|
||
}, onLeaveOffice: function() {
|
||
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, changeDate: "".concat(this.dataForm.changeDate_4, " 00:00:00"), memberIds: [this.saveData.id], quitReason: this.dataForm.quitReason, remark: this.dataForm.remark_4, creatorName: t2.name, creatorId: t2.id, approveType: 1 };
|
||
Object(l["w"])(a2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "离职操作成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
}, onBecomeWorker: function() {
|
||
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, changeDate: "".concat(this.dataForm.changeDate_1, " 00:00:00"), memberIds: [this.saveData.id], remark: this.dataForm.remark_1, salary: this.dataForm.salary, fileUrl: this.uploadFileList.length ? JSON.stringify(this.uploadFileList) : "", approveTypeNumber: this.dataForm.approveTypeNumber, creatorName: t2.name, creatorId: t2.id, approveType: 1 };
|
||
Object(l["u"])(a2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "转正操作成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
}, onTransferPosition: function() {
|
||
var e2 = this;
|
||
if (this.dataForm.projectObj && this.dataForm.projectObj.id && this.dataForm.jobObj && this.dataForm.jobObj.id) {
|
||
var t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, changeDate: "".concat(this.dataForm.changeDate_3, " 00:00:00"), memberIds: [this.saveData.id], remark: this.dataForm.remark_3, city: this.dataForm.city, osId: this.dataForm.projectObj.id, osName: this.dataForm.projectObj.name, postName: this.dataForm.jobObj.name, postUuid: this.dataForm.jobObj.id, fileUrl: this.uploadFileList.length ? JSON.stringify(this.uploadFileList) : "", approveTypeNumber: this.dataForm.approveTypeNumber, creatorName: t2.name, creatorId: t2.id, approveType: 1 };
|
||
Object(l["B"])(a2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "调岗操作成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
} else this.$message.error("请完整填写组织部门和岗位信息");
|
||
}, onRenewalContract: function() {
|
||
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, memberIds: [this.saveData.id], contractMainBody: this.mainInfo.name, contractMainBodyId: this.mainInfo.id, contractType: this.dataForm.contractType, contractBegDate: this.dataForm.contractBegDate, contractEndDate: this.dataForm.contractEndDate, remark: this.dataForm.remark_2, fileUrl: this.uploadFileList.length ? JSON.stringify(this.uploadFileList) : "", approveTypeNumber: this.dataForm.approveTypeNumber, creatorName: t2.name, creatorId: t2.id, approveType: 1 };
|
||
Object(l["z"])(a2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "续签操作成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
}, onCommission: function() {
|
||
var e2 = this;
|
||
if (this.dataForm.projectObj && this.dataForm.projectObj.id && this.dataForm.jobObj && this.dataForm.jobObj.id) {
|
||
var t2 = JSON.parse(window.localStorage.getItem("memberInfor")), a2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, changeDate: "".concat(this.dataForm.changeDate_3, " 00:00:00"), memberIds: [this.saveData.id], remark: this.dataForm.remark_3, city: this.dataForm.city, osId: this.dataForm.projectObj.id, osName: this.dataForm.projectObj.name, postName: this.dataForm.jobObj.name, postUuid: this.dataForm.jobObj.id, fileUrl: this.uploadFileList.length ? JSON.stringify(this.uploadFileList) : "", approveTypeNumber: this.dataForm.approveTypeNumber, creatorName: t2.name, creatorId: t2.id, approveType: 1 };
|
||
Object(l["a"])(a2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "新任命操作成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
} else this.$message.error("请完整填写组织部门和岗位信息");
|
||
}, areaChange: function(e2) {
|
||
e2 ? f["a"][e2[0]].includes("市") || f["a"][e2[0]].includes("区") ? this.dataForm.city = f["a"][e2[0]] : this.dataForm.city = f["a"][e2[1]] : this.dataForm.city = "";
|
||
}, gerArea: function(e2) {
|
||
var t2 = this;
|
||
f["b"].forEach((function(a2, r2) {
|
||
a2.label.includes(e2) || e2.includes(a2.label) ? t2.userArea = [a2.value, a2.children[0].value] : a2.children.forEach((function(r3, o2) {
|
||
(r3.label.includes(e2) || e2.includes(r3.label)) && (t2.userArea = [a2.value, r3.value]);
|
||
}));
|
||
}));
|
||
}, projectChange: function(e2) {
|
||
var t2 = this;
|
||
this.$nextTick((function() {
|
||
if (e2) {
|
||
var a2 = t2.$refs["projectCascader"];
|
||
if (a2) {
|
||
var r2 = a2.getCheckedNodes();
|
||
r2 && r2.length > 0 && r2[0] && r2[0].data ? t2.dataForm.projectObj = r2[0].data : t2.dataForm.projectObj = "";
|
||
} else t2.dataForm.projectObj = "";
|
||
} else t2.dataForm.projectObj = "";
|
||
}));
|
||
}, mainChange: function(e2) {
|
||
this.mainInfo = e2 || "";
|
||
}, exceedUpload: function() {
|
||
this.$message("最多仅允许上传9个文件");
|
||
}, beforeUpload: function(e2) {
|
||
var t2 = e2.size / 1024 / 1024 < 10, a2 = e2.size / 1024 / 1024 < 2, r2 = ["jpeg", "jpg", "gif", "bmp", "png"], o2 = ["xls", "xlsx", "doc", "docx", "ppt", "pptx", "pdf", "txt"], n2 = e2.name.substring(e2.name.lastIndexOf(".") + 1).toLowerCase();
|
||
return r2.includes(n2) || o2.includes(n2) ? r2.includes(n2) && !a2 ? (this.$message("图片文件最大不超过2M"), false) : !(o2.includes(n2) && !t2) || (this.$message("文档文件最大不超过10M"), false) : (this.$message("上传文件只能是图片或文档,如:jpg、jpeg、png、doc、pdf、xls、txt等格式!"), false);
|
||
}, uploadRequest: (function() {
|
||
var e2 = Object(p["a"])(regeneratorRuntime.mark((function e3(t3) {
|
||
var a2, r2, o2, n2, l2, i2, s2, c2;
|
||
return regeneratorRuntime.wrap((function(e4) {
|
||
while (1) switch (e4.prev = e4.next) {
|
||
case 0:
|
||
return a2 = t3.file, e4.prev = 1, r2 = new FormData(), r2.append("file", a2), e4.next = 2, Object(b["o"])(r2);
|
||
case 2:
|
||
if (o2 = e4.sent, !o2 || !o2.data || 0 !== o2.data.code) {
|
||
e4.next = 3;
|
||
break;
|
||
}
|
||
n2 = o2.data.data.fullUrl || o2.data.data.url, l2 = { fileName: a2.name, fullUrl: n2, url: n2 }, t3.onSuccess(l2), this.$message.success("文件上传成功"), e4.next = 4;
|
||
break;
|
||
case 3:
|
||
throw new Error(o2.data.message || "上传失败");
|
||
case 4:
|
||
e4.next = 6;
|
||
break;
|
||
case 5:
|
||
e4.prev = 5, c2 = e4["catch"](1), console.error("上传失败:", c2), this.$message.error("文件上传失败: ".concat(c2.message || "未知错误")), this.$refs.uploadFile && (i2 = a2.uid, s2 = this.$refs.uploadFile.uploadFiles.findIndex((function(e5) {
|
||
return e5.uid == i2;
|
||
})), s2 > -1 && this.$refs.uploadFile.uploadFiles.splice(s2, 1));
|
||
case 6:
|
||
case "end":
|
||
return e4.stop();
|
||
}
|
||
}), e3, this, [[1, 5]]);
|
||
})));
|
||
function t2(t3) {
|
||
return e2.apply(this, arguments);
|
||
}
|
||
return t2;
|
||
})(), uploadSuccess: function(e2) {
|
||
e2 && this.uploadFileList.push(e2), console.log(this.uploadFileList);
|
||
}, uploadRemove: function(e2) {
|
||
var t2 = this.uploadFileList.findIndex((function(t3) {
|
||
return t3.fileName === e2.name;
|
||
}));
|
||
t2 > -1 && this.uploadFileList.splice(t2, 1);
|
||
}, callbackClose: function() {
|
||
var e2 = this;
|
||
this.$nextTick((function() {
|
||
e2.$refs["dataForm"].resetFields();
|
||
})), this.fileList = [], this.uploadFileList = [], this.saveData = "", this.$emit("callback");
|
||
}, handleClose: function() {
|
||
var e2 = this;
|
||
this.$nextTick((function() {
|
||
e2.$refs["dataForm"].resetFields();
|
||
})), this.fileList = [], this.uploadFileList = [], this.saveData = "", this.$emit("close");
|
||
} } }, h = v, y = (a("1777"), a("829d")), g = Object(y["a"])(h, m, d, false, null, "a9fc263c", null), _ = g.exports, k = a("c466"), F = { components: { Pagination: u["a"], operate: _ }, props: { jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
return { archivesSourceList: c["i"], fileVisible: false, projectSumVisible: false, fileUrl: "", showDialog: false, IDTypeList: c["b"], importDataBtn: false, selectList: [], pageTotal: 0, listLoading: false, listTable: [], query: { osId: "", name: "", idNumber: "", onJobStateList: [0, 1], isStop: "", postUuid: "", archivesSource: "", pageSize: 10, pageNumber: 1, distinct: 0, phoneNumber: "" }, showOperate: false, exportExcelLoading: false, projectSum: 0, projectSumList: [] };
|
||
}, created: function() {
|
||
}, mounted: function() {
|
||
this.$route.query.osId && (this.query.osId = Number(this.$route.query.osId)), this.getlistData(), this.getProjectSum();
|
||
}, methods: { toEdit: function(e2) {
|
||
e2.forEdit = !e2.forEdit;
|
||
}, editSave: function(e2) {
|
||
var t2 = this, a2 = JSON.parse(window.localStorage.getItem("memberInfor"));
|
||
if (!e2.phoneNumber) return this.$message.error("手机号不能为空");
|
||
Object(l["E"])({ roleId: localStorage.getItem("roleId"), updateBy: a2.id, updaterName: a2.name, phoneNumber: e2.clonePhoneNumber, newPhoneNumber: e2.phoneNumber + "" }).then((function(e3) {
|
||
0 == e3.code && (t2.$message.success("更新成功"), t2.getlistData());
|
||
}));
|
||
}, escEdit: function(e2) {
|
||
e2.forEdit = false;
|
||
}, showProject: function() {
|
||
this.projectSumVisible = true;
|
||
}, getProjectSum: function() {
|
||
var e2 = this;
|
||
Object(l["A"])({ id: localStorage.getItem("roleId") }).then((function(t2) {
|
||
t2.data && t2.data.length ? (e2.projectSum = t2.data.length, e2.projectSumList = t2.data) : (e2.projectSum = 0, e2.projectSumList = []);
|
||
}));
|
||
}, showFileOpen: function(e2) {
|
||
var t2 = [".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx"], a2 = e2.fileName.slice(e2.fileName.lastIndexOf("."));
|
||
t2.includes(a2) ? this.fileUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + e2.fullUrl : this.fileUrl = e2.fullUrl, this.fileVisible = true;
|
||
}, getlistData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, this.query.roleId = localStorage.getItem("roleId"), this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, Object(l["s"])(this.query).then((function(t2) {
|
||
t2.data.records.map((function(e3) {
|
||
e3.fileArr = e3.fileUrl ? JSON.parse(e3.fileUrl) : [], e3.clonePhoneNumber = JSON.parse(JSON.stringify(e3.phoneNumber)), e3.forEdit = false;
|
||
})), e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount, e2.listLoading = false;
|
||
})).catch((function() {
|
||
e2.listLoading = false;
|
||
}));
|
||
}, exportExecl: function() {
|
||
var e2 = this;
|
||
this.exportExcelLoading = true;
|
||
var t2 = /* @__PURE__ */ new Date(), a2 = Object(k["a"])(t2, "yyyy-MM-dd"), r2 = "在职档案列表".concat(a2, ".xls");
|
||
Object(l["j"])(this.query).then((function(t3) {
|
||
e2.exportExcelLoading = false;
|
||
var a3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a3);
|
||
else {
|
||
var o2 = document.createElement("a");
|
||
o2.download = r2, o2.href = URL.createObjectURL(a3), o2.click(), URL.revokeObjectURL(o2.href), document.body.removeChild(o2);
|
||
}
|
||
})).catch((function(t3) {
|
||
e2.exportExcelLoading = false;
|
||
}));
|
||
}, downloadItem: function(e2) {
|
||
var t2 = e2.fullUrl, a2 = new XMLHttpRequest();
|
||
a2.open("GET", t2, true), a2.responseType = "blob", a2.onload = function() {
|
||
var t3 = URL.createObjectURL(a2.response), r2 = document.createElement("a");
|
||
r2.href = t3, r2.download = e2.fileName, r2.target = "_blank", r2.click();
|
||
}, a2.send();
|
||
}, exportTemplate: function() {
|
||
var e2 = "/static/template/activeDataTemplate.xlsx", t2 = "在职人员导入模板.xlsx", a2 = document.createElement("a");
|
||
a2.setAttribute("type", "download"), a2.setAttribute("download", t2), a2.style.display = "none", a2.href = e2, document.body.appendChild(a2), a2.click(), document.body.removeChild(a2);
|
||
}, exportTemplateQuick: function() {
|
||
var e2 = "/static/template/activeDataTemplateV3.xlsx", t2 = "快速上线导入模板.xlsx", a2 = document.createElement("a");
|
||
a2.setAttribute("type", "download"), a2.setAttribute("download", t2), a2.style.display = "none", a2.href = e2, document.body.appendChild(a2), a2.click(), document.body.removeChild(a2);
|
||
}, selectionChange: function(e2) {
|
||
this.selectList = e2 || [];
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getlistData();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, importSpaceTmp: function(e2) {
|
||
var t2 = this, a2 = e2.file, r2 = a2.size / 1024 / 1024 < 20, o2 = a2.name.lastIndexOf("."), n2 = a2.name.length, i2 = a2.name.substring(o2 + 1, n2);
|
||
if ("xls" == i2 || "xlsx" == i2) if (r2) {
|
||
var s2 = new FormData(), c2 = JSON.parse(window.localStorage.getItem("memberInfor"));
|
||
this.fileName = a2.name, s2.append("file", a2, a2.name);
|
||
var u2 = "".concat(JSON.parse(window.localStorage.getItem("companyInfo")).osId, "/").concat(c2.id);
|
||
this.importDataBtn = true, Object(l["p"])(s2, u2).then((function(e3) {
|
||
var a3 = e3.headers, r3 = e3.data;
|
||
if (a3.count) {
|
||
var o3 = JSON.parse(a3.count);
|
||
0 == o3.code ? o3.errorCount > 0 ? (t2.$message({ message: "上传结果:总条数".concat(o3.totalCount, "条,成功").concat(o3.successCount, "条,失败").concat(o3.errorCount, "条。"), type: "warning" }), t2.downloadImportDetailes(r3), t2.query.pageNumber = 1, t2.getlistData()) : (t2.$message({ message: "导入数据成功!", type: "success" }), t2.query.pageNumber = 1, t2.getlistData()) : t2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), t2.importDataBtn = false;
|
||
} else t2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), t2.importDataBtn = false;
|
||
})).catch((function() {
|
||
t2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), t2.importDataBtn = false;
|
||
}));
|
||
} else this.$message("上传文件大小不能超过20M!");
|
||
else this.$message("只能上传Excel文件!");
|
||
}, importSpaceTmpQuick: function(e2) {
|
||
var t2 = this, a2 = e2.file, r2 = a2.size / 1024 / 1024 < 20, o2 = a2.name.lastIndexOf("."), n2 = a2.name.length, i2 = a2.name.substring(o2 + 1, n2);
|
||
if ("xls" == i2 || "xlsx" == i2) if (r2) {
|
||
var s2 = new FormData(), c2 = JSON.parse(window.localStorage.getItem("memberInfor"));
|
||
this.fileName = a2.name, s2.append("file", a2, a2.name);
|
||
var u2 = "".concat(JSON.parse(window.localStorage.getItem("companyInfo")).osId, "/").concat(c2.id);
|
||
this.importDataBtn = true, Object(l["q"])(s2, u2).then((function(e3) {
|
||
var a3 = e3.headers, r3 = e3.data;
|
||
if (a3.count) {
|
||
var o3 = JSON.parse(a3.count);
|
||
0 == o3.code ? o3.errorCount > 0 ? (t2.$message({ message: "上传结果:总条数".concat(o3.totalCount, "条,成功").concat(o3.successCount, "条,失败").concat(o3.errorCount, "条。"), type: "warning" }), t2.downloadImportDetailes(r3), t2.query.pageNumber = 1, t2.getlistData()) : (t2.$message({ message: "导入数据成功!", type: "success" }), t2.query.pageNumber = 1, t2.getlistData()) : t2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), t2.importDataBtn = false;
|
||
} else t2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), t2.importDataBtn = false;
|
||
})).catch((function() {
|
||
t2.$message({ message: "数据导入失败,请检查模板数据格式是否规范!", type: "error" }), t2.importDataBtn = false;
|
||
}));
|
||
} else this.$message("上传文件大小不能超过20M!");
|
||
else this.$message("只能上传Excel文件!");
|
||
}, downloadImportDetailes: function(e2) {
|
||
var t2 = "application/vnd.ms-excel", a2 = new Blob([e2], { type: t2 }), r2 = "在职人员模板导入失败.xls";
|
||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2);
|
||
else {
|
||
var o2 = document.createElement("a");
|
||
o2.download = r2, o2.style.display = "none", o2.href = URL.createObjectURL(a2), document.body.appendChild(o2), o2.click(), document.body.removeChild(o2);
|
||
}
|
||
}, operateClick: function(e2, t2) {
|
||
this.showOperate = true, this.$nextTick((function() {
|
||
this.$refs.operate.init(e2, t2);
|
||
}));
|
||
}, operateCallback: function() {
|
||
this.showOperate = false, this.getlistData();
|
||
}, seeDetail: function(e2, t2) {
|
||
this.$emit("see", e2, t2), console.log("触发-----------see");
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, j = F, w = (a("012d"), Object(y["a"])(j, i, s, false, null, "9905b9b2", null)), O = w.exports, x = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", { staticClass: "searchBar" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 21 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "osId" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", placeholder: "项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: e2.query.osId, callback: function(t3) {
|
||
e2.$set(e2.query, "osId", t3);
|
||
}, expression: "query.osId" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "姓名" }, model: { value: e2.query.name, callback: function(t3) {
|
||
e2.$set(e2.query, "name", t3);
|
||
}, expression: "query.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "idNumber" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "证件号" }, model: { value: e2.query.idNumber, callback: function(t3) {
|
||
e2.$set(e2.query, "idNumber", t3);
|
||
}, expression: "query.idNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "approveStatus" } }, [a2("el-select", { attrs: { placeholder: "申请状态", clearable: "" }, model: { value: e2.query.approveStatus, callback: function(t3) {
|
||
e2.$set(e2.query, "approveStatus", t3);
|
||
}, expression: "query.approveStatus" } }, [a2("el-option", { attrs: { label: "审批中", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "已批准", value: 2 } }), e2._v(" "), a2("el-option", { attrs: { label: "已驳回", value: 3 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "postUuid" } }, [a2("el-select", { attrs: { placeholder: "岗位", clearable: "", filterable: "" }, model: { value: e2.query.postUuid, callback: function(t3) {
|
||
e2.$set(e2.query, "postUuid", t3);
|
||
}, expression: "query.postUuid" } }, e2._l(e2.jobList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 3 } }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")])], 1)], 1)], 1)], 1), e2._v(" "), a2("div", [e2._m(0), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "100", "show-overflow-tooltip": "", label: "姓名" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.name || "-"))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "性别" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 == t3.row.sex ? "男" : 2 == t3.row.sex ? "女" : "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", "min-width": "120", label: "项目/部门" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.osName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "岗位", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.postName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "证件类型" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.certificateType, e2.IDTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "180", label: "证件号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.idNumber || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "企业微信用户", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.wxUserName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "转正工资", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("formatMoney")(t3.row.salary)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "转正日期", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.changeDate ? t3.row.changeDate.substring(0, 10) : "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "审批编号", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.approveNo || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "审批状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [2 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("已通过")]) : 1 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("审批中")]) : 3 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v("未通过")]) : e2._e()];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "操作人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.creatorName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "操作时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "90", fixed: "right", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.seeDetail(t3.row.memberId, "see");
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", background: "", 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)])]);
|
||
}, S = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [e2._v("转正记录列表")])]);
|
||
}], D = (a("8975"), { components: { Pagination: u["a"] }, props: { jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
return { showDialog: false, IDTypeList: c["b"], importDataBtn: false, selectList: [], pageTotal: 0, listLoading: false, listTable: [], query: { osId: "", name: "", idNumber: "", postUuid: "", approveStatus: "", type: 1, pageSize: 10, pageNumber: 1 }, showOperate: false };
|
||
}, created: function() {
|
||
}, mounted: function() {
|
||
this.getlistData();
|
||
}, methods: { getlistData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, this.query.roleId = localStorage.getItem("roleId"), this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, Object(l["t"])(this.query).then((function(t2) {
|
||
t2.data.records.map((function(e3) {
|
||
e3.fileArr = e3.fileUrl ? JSON.parse(e3.fileUrl) : [];
|
||
})), e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount, e2.listLoading = false;
|
||
})).catch((function() {
|
||
e2.listLoading = false;
|
||
}));
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getlistData();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, seeDetail: function(e2, t2) {
|
||
this.$emit("see", e2, t2);
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }), I = D, N = (a("e30f"), Object(y["a"])(I, x, S, false, null, "9035c8f8", null)), L = N.exports, C = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", { staticClass: "searchBar" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 21 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "osId" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", placeholder: "项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: e2.query.osId, callback: function(t3) {
|
||
e2.$set(e2.query, "osId", t3);
|
||
}, expression: "query.osId" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "姓名" }, model: { value: e2.query.name, callback: function(t3) {
|
||
e2.$set(e2.query, "name", t3);
|
||
}, expression: "query.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "idNumber" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "证件号" }, model: { value: e2.query.idNumber, callback: function(t3) {
|
||
e2.$set(e2.query, "idNumber", t3);
|
||
}, expression: "query.idNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "approveStatus" } }, [a2("el-select", { attrs: { placeholder: "申请状态", clearable: "" }, model: { value: e2.query.approveStatus, callback: function(t3) {
|
||
e2.$set(e2.query, "approveStatus", t3);
|
||
}, expression: "query.approveStatus" } }, [a2("el-option", { attrs: { label: "审批中", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "已批准", value: 2 } }), e2._v(" "), a2("el-option", { attrs: { label: "已驳回", value: 3 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "postUuid" } }, [a2("el-select", { attrs: { placeholder: "岗位", clearable: "", filterable: "" }, model: { value: e2.query.postUuid, callback: function(t3) {
|
||
e2.$set(e2.query, "postUuid", t3);
|
||
}, expression: "query.postUuid" } }, e2._l(e2.jobList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 3 } }, [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")])], 1)], 1)], 1)], 1), e2._v(" "), a2("div", [e2._m(0), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { align: "center", "min-width": "100", "show-overflow-tooltip": "", label: "姓名" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.name || "-"))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "性别" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 == t3.row.sex ? "男" : 2 == t3.row.sex ? "女" : "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", "min-width": "120", label: "项目/部门" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.osName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "岗位", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.postName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "证件类型" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.certificateType, e2.IDTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "180", label: "证件号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.idNumber || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "企业微信用户", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.wxUserName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "审批编号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.approveNo || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "审批状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [2 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("已通过")]) : 1 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("审批中")]) : 3 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v("未通过")]) : e2._e()];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "操作人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.creatorName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "操作时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "90", fixed: "right", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.seeDetail(t3.row.memberId, "see");
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", background: "", 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)])]);
|
||
}, T = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [e2._v("调岗记录列表")])]);
|
||
}], $ = { components: { Pagination: u["a"] }, props: { jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
return { showDialog: false, IDTypeList: c["b"], importDataBtn: false, selectList: [], pageTotal: 0, listLoading: false, listTable: [], query: { osId: "", name: "", idNumber: "", postUuid: "", approveStatus: "", type: 2, pageSize: 10, pageNumber: 1 }, showOperate: false };
|
||
}, created: function() {
|
||
}, mounted: function() {
|
||
this.getlistData();
|
||
}, methods: { getlistData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, this.query.roleId = localStorage.getItem("roleId"), this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, Object(l["t"])(this.query).then((function(t2) {
|
||
t2.data.records.map((function(e3) {
|
||
e3.fileArr = e3.fileUrl ? JSON.parse(e3.fileUrl) : [];
|
||
})), e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount, e2.listLoading = false;
|
||
})).catch((function() {
|
||
e2.listLoading = false;
|
||
}));
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getlistData();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, seeDetail: function(e2, t2) {
|
||
this.$emit("see", e2, t2);
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, q = $, U = (a("623a"), Object(y["a"])(q, C, T, false, null, "0e972602", null)), A = U.exports, M = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "info-data" }, [a2("el-card", { staticStyle: { "margin-bottom": "20px" }, attrs: { shadow: "always" } }, [a2("el-page-header", { attrs: { content: "详情页面" }, on: { back: e2.handleClose } })], 1), e2._v(" "), a2("el-card", { staticStyle: { "margin-bottom": "20px" }, attrs: { shadow: "always" } }, [a2("el-form", { ref: "dataForm", attrs: { model: e2.dataForm, rules: e2.rules, "label-width": "110px", disabled: "see" == e2.infoType } }, [a2("el-divider", { attrs: { "content-position": "left" } }, [a2("span", { staticStyle: { "font-size": "18px", "font-weight": "bold" } }, [e2._v("个人信息")])]), e2._v(" "), a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "姓名", prop: "name" } }, [a2("el-input", { attrs: { placeholder: "请输入姓名", clearable: "" }, model: { value: e2.dataForm.name, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "name", t3);
|
||
}, expression: "dataForm.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "英文名", prop: "englishName" } }, [a2("el-input", { attrs: { placeholder: "请输入英文名", clearable: "" }, model: { value: e2.dataForm.englishName, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "englishName", t3);
|
||
}, expression: "dataForm.englishName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "性别", prop: "sex" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选择性别" }, model: { value: e2.dataForm.sex, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "sex", t3);
|
||
}, expression: "dataForm.sex" } }, [a2("el-option", { attrs: { label: "男", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "女", value: 2 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "国籍", prop: "country" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择国籍" }, model: { value: e2.dataForm.country, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "country", t3);
|
||
}, expression: "dataForm.country" } }, e2._l(e2.nationalityList, (function(t3) {
|
||
return a2("el-option-group", { key: t3.label, attrs: { label: t3.label } }, e2._l(t3.children, (function(e3) {
|
||
return a2("el-option", { key: e3, attrs: { label: "" + e3.split("|")[1], value: e3.split("|")[1] } });
|
||
})), 1);
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "籍贯", prop: "nativePlace" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择籍贯" }, model: { value: e2.dataForm.nativePlace, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "nativePlace", t3);
|
||
}, expression: "dataForm.nativePlace" } }, e2._l(e2.provincesList, (function(e3) {
|
||
return a2("el-option", { key: e3, attrs: { label: e3, value: e3 } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "民族", prop: "nation" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择民族", disabled: "" }, model: { value: e2.dataForm.nation, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "nation", t3);
|
||
}, expression: "dataForm.nation" } }, e2._l(e2.nation, (function(e3) {
|
||
return a2("el-option", { key: e3.name, attrs: { label: e3.name, value: e3.name } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "政治面貌", prop: "politicCountenance" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选择政治面貌" }, model: { value: e2.dataForm.politicCountenance, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "politicCountenance", t3);
|
||
}, expression: "dataForm.politicCountenance" } }, e2._l(e2.politicalType, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "婚姻状况", prop: "maritalStatus" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选择婚姻状况" }, model: { value: e2.dataForm.maritalStatus, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "maritalStatus", t3);
|
||
}, expression: "dataForm.maritalStatus" } }, e2._l(e2.maritalStatus, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "出生日期", prop: "birthday" } }, [a2("el-date-picker", { attrs: { clearable: "", "value-format": "yyyy-MM-dd", type: "date", placeholder: "请选择出生日期" }, on: { change: e2.setAge }, model: { value: e2.dataForm.birthday, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "birthday", t3);
|
||
}, expression: "dataForm.birthday" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "年龄", prop: "age" } }, [a2("el-input", { attrs: { disabled: "" }, model: { value: e2.dataForm.age, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "age", t3);
|
||
}, expression: "dataForm.age" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "学历", prop: "education" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选择学历" }, model: { value: e2.dataForm.education, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "education", t3);
|
||
}, expression: "dataForm.education" } }, e2._l(e2.educationList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "健康状况", prop: "healthCondition" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选择健康状况" }, model: { value: e2.dataForm.healthCondition, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "healthCondition", t3);
|
||
}, expression: "dataForm.healthCondition" } }, [a2("el-option", { attrs: { label: "良好", value: "良好" } }), e2._v(" "), a2("el-option", { attrs: { label: "其他", value: "其他" } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "联系电话", prop: "phoneNumber" } }, [a2("el-input", { attrs: { disabled: true, placeholder: "请输入联系电话", clearable: "" }, model: { value: e2.dataForm.phoneNumber, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "phoneNumber", t3);
|
||
}, expression: "dataForm.phoneNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "个人邮箱", prop: "email" } }, [a2("el-input", { attrs: { placeholder: "请输入个人邮箱", clearable: "" }, model: { value: e2.dataForm.email, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "email", t3);
|
||
}, expression: "dataForm.email" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "现住地址", prop: "detailAddress" } }, [a2("el-input", { attrs: { placeholder: "请输入现住地址", clearable: "" }, model: { value: e2.dataForm.detailAddress, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "detailAddress", t3);
|
||
}, expression: "dataForm.detailAddress" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "证件类型", prop: "certificateType" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选证件类型" }, model: { value: e2.dataForm.certificateType, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "certificateType", t3);
|
||
}, expression: "dataForm.certificateType" } }, e2._l(e2.IDTypeList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), 1 != e2.dataForm.certificateType ? a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "证件号", prop: "cardNumber" } }, [a2("el-input", { attrs: { placeholder: "请输入证件号", clearable: "" }, model: { value: e2.dataForm.cardNumber, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "cardNumber", t3);
|
||
}, expression: "dataForm.cardNumber" } })], 1)], 1) : e2._e(), e2._v(" "), 1 == e2.dataForm.certificateType ? a2("el-col", { key: "1", attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "身份证号", prop: "IDcardNumber" } }, [a2("el-input", { attrs: { placeholder: "请输入身份证号码", clearable: "" }, model: { value: e2.dataForm.IDcardNumber, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "IDcardNumber", t3);
|
||
}, expression: "dataForm.IDcardNumber" } })], 1)], 1) : e2._e(), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { key: "2", attrs: { label: "证件地址", prop: "certificateAddress" } }, [a2("el-input", { attrs: { placeholder: "请输入证件地址", clearable: "" }, model: { value: e2.dataForm.certificateAddress, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "certificateAddress", t3);
|
||
}, expression: "dataForm.certificateAddress" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "个人专长", prop: "expertise" } }, [a2("el-input", { attrs: { type: "textarea", clearable: "" }, model: { value: e2.dataForm.expertise, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "expertise", t3);
|
||
}, expression: "dataForm.expertise" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "兴趣爱好", prop: "hobby" } }, [a2("el-input", { attrs: { type: "textarea", clearable: "" }, model: { value: e2.dataForm.hobby, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "hobby", t3);
|
||
}, expression: "dataForm.hobby" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "身高", prop: "height" } }, [a2("el-input", { attrs: { placeholder: "身高", clearable: "" }, model: { value: e2.dataForm.height, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "height", t3);
|
||
}, expression: "dataForm.height" } }, [a2("template", { slot: "append" }, [e2._v("cm")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "体重", prop: "weight" } }, [a2("el-input", { attrs: { placeholder: "体重", clearable: "" }, model: { value: e2.dataForm.weight, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "weight", t3);
|
||
}, expression: "dataForm.weight" } }, [a2("template", { slot: "append" }, [e2._v("kg")])], 2)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "生肖", prop: "zodiacSign" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择生肖" }, model: { value: e2.dataForm.zodiacSign, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "zodiacSign", t3);
|
||
}, expression: "dataForm.zodiacSign" } }, e2._l(e2.zodiac, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "星座", prop: "constellation" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择星座" }, model: { value: e2.dataForm.constellation, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "constellation", t3);
|
||
}, expression: "dataForm.constellation" } }, e2._l(e2.constellation, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "毕业院校", prop: "school" } }, [a2("el-input", { attrs: { placeholder: "请输入毕业院校", clearable: "" }, model: { value: e2.dataForm.school, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "school", t3);
|
||
}, expression: "dataForm.school" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "所学专业", prop: "major" } }, [a2("el-input", { attrs: { placeholder: "请输入所学专业", clearable: "" }, model: { value: e2.dataForm.major, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "major", t3);
|
||
}, expression: "dataForm.major" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "紧急联系人", prop: "urgentPerson" } }, [a2("el-input", { attrs: { placeholder: "请输入紧急联系人", clearable: "" }, model: { value: e2.dataForm.urgentPerson, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "urgentPerson", t3);
|
||
}, expression: "dataForm.urgentPerson" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "紧急联系电话", prop: "urgentPhone" } }, [a2("el-input", { attrs: { placeholder: "请输入紧急联系人电话", clearable: "" }, model: { value: e2.dataForm.urgentPhone, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "urgentPhone", t3);
|
||
}, expression: "dataForm.urgentPhone" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("el-divider", { attrs: { "content-position": "left" } }, [a2("span", { staticStyle: { "font-size": "18px", "font-weight": "bold" } }, [e2._v("账户信息")])]), e2._v(" "), a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "户名", prop: "accountName" } }, [a2("el-input", { attrs: { placeholder: "请输入银行卡账户名", clearable: "" }, model: { value: e2.dataForm.accountName, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "accountName", t3);
|
||
}, expression: "dataForm.accountName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "账号", prop: "accountNumber" } }, [a2("el-input", { attrs: { placeholder: "请输入银行卡号", clearable: "" }, model: { value: e2.dataForm.accountNumber, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "accountNumber", t3);
|
||
}, expression: "dataForm.accountNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "银行", prop: "bankName" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "请选择账户所属银行" }, model: { value: e2.dataForm.bankName, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "bankName", t3);
|
||
}, expression: "dataForm.bankName" } }, e2._l(e2.BankData, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.name, value: e3.name } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "支行", prop: "branch" } }, [a2("el-input", { attrs: { placeholder: "请输入所属银行支行", clearable: "" }, model: { value: e2.dataForm.branch, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "branch", t3);
|
||
}, expression: "dataForm.branch" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("el-divider", { attrs: { "content-position": "left" } }, [a2("span", { staticStyle: { "font-size": "18px", "font-weight": "bold" } }, [e2._v("工作信息")])]), e2._v(" "), a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 9 } }, [a2("el-form-item", { attrs: { label: "入职城市", prop: "selectArea" } }, [a2("el-cascader", { attrs: { clearable: "", placeholder: "请选择所属省市", options: e2.options }, on: { change: e2.areaChange }, model: { value: e2.dataForm.selectArea, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "selectArea", t3);
|
||
}, expression: "dataForm.selectArea" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 9 } }, [a2("el-form-item", { attrs: { label: "入职项目/部门", prop: "project" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", disabled: "", placeholder: "请选择项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, on: { change: e2.projectChange }, model: { value: e2.dataForm.project, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "project", t3);
|
||
}, expression: "dataForm.project" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "入职岗位", prop: "jobObj" } }, [a2("div", { staticClass: "job-inline" }, [a2("el-radio-group", { staticClass: "job-radio", attrs: { size: "mini" }, on: { change: e2.jobSelectChange }, model: { value: e2.jobSelect, callback: function(t3) {
|
||
e2.jobSelect = t3;
|
||
}, expression: "jobSelect" } }, [a2("el-radio-button", { attrs: { label: "常用" } }), e2._v(" "), a2("el-radio-button", { attrs: { label: "其他" } })], 1), e2._v(" "), "常用" === e2.jobSelect ? a2("el-select", { staticClass: "job-select", attrs: { placeholder: "请选择岗位", clearable: "", filterable: "", "value-key": "id" }, on: { change: function(t3) {
|
||
return e2.$forceUpdate();
|
||
} }, model: { value: e2.dataForm.jobObj, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "jobObj", t3);
|
||
}, expression: "dataForm.jobObj" } }, e2._l(e2.jobList1, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1) : e2._e(), e2._v(" "), "其他" === e2.jobSelect ? a2("el-select", { staticClass: "job-select", attrs: { placeholder: "请选择岗位", clearable: "", filterable: "", "value-key": "id" }, on: { change: function(t3) {
|
||
return e2.$forceUpdate();
|
||
} }, model: { value: e2.dataForm.jobObj, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "jobObj", t3);
|
||
}, expression: "dataForm.jobObj" } }, e2._l(e2.jobList2, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1) : e2._e()], 1)])], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "入职时间", prop: "entryDate" } }, [a2("el-date-picker", { attrs: { clearable: "", "value-format": "yyyy-MM-dd 00:00:00", type: "date", placeholder: "请选择入职时间" }, model: { value: e2.dataForm.entryDate, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "entryDate", t3);
|
||
}, expression: "dataForm.entryDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "试用期", prop: "probationMonth" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "请选择试用期" }, model: { value: e2.dataForm.probationMonth, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "probationMonth", t3);
|
||
}, expression: "dataForm.probationMonth" } }, e2._l(7, (function(e3, t3) {
|
||
return a2("el-option", { key: e3, attrs: { label: t3 + " 个月", value: t3 } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "退休日期", prop: "retireDate" } }, [a2("el-date-picker", { attrs: { clearable: "", "value-format": "yyyy-MM-dd 00:00:00", type: "date", placeholder: "请选择退休日期" }, model: { value: e2.dataForm.retireDate, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "retireDate", t3);
|
||
}, expression: "dataForm.retireDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同类型", prop: "contractType" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择合同类型" }, model: { value: e2.dataForm.contractType, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractType", t3);
|
||
}, expression: "dataForm.contractType" } }, e2._l(e2.contractType, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "合同主体", prop: "mainInfo" } }, [a2("el-select", { attrs: { clearable: "", filterable: "", placeholder: "请选择合同主体", "value-key": "id" }, on: { change: function(t3) {
|
||
return e2.$forceUpdate();
|
||
} }, model: { value: e2.dataForm.mainInfo, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "mainInfo", t3);
|
||
}, expression: "dataForm.mainInfo" } }, e2._l(e2.companyList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "合同期限", required: "" } }, [a2("div", { staticClass: "time-content" }, [a2("el-form-item", { attrs: { prop: "contractBegDate" } }, [a2("el-date-picker", { attrs: { clearable: "", "value-format": "yyyy-MM-dd 00:00:00", type: "date", placeholder: "合同开始时间" }, model: { value: e2.dataForm.contractBegDate, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractBegDate", t3);
|
||
}, expression: "dataForm.contractBegDate" } })], 1), e2._v(" "), a2("span", { staticClass: "time-line" }, [e2._v("-")]), e2._v(" "), a2("el-form-item", { attrs: { prop: "contractEndDate" } }, [a2("el-date-picker", { attrs: { clearable: "", "value-format": "yyyy-MM-dd 00:00:00", type: "date", placeholder: "合同结束时间" }, model: { value: e2.dataForm.contractEndDate, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "contractEndDate", t3);
|
||
}, expression: "dataForm.contractEndDate" } })], 1)], 1)])], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "企业微信ID", prop: "wxUserId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "请选择企业微信成员" }, model: { value: e2.dataForm.wxUserId, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "wxUserId", t3);
|
||
}, expression: "dataForm.wxUserId" } }, e2._l(e2.wechatArr, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.userId } });
|
||
})), 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("el-divider", { attrs: { "content-position": "left" } }, [a2("span", { staticStyle: { "font-size": "18px", "font-weight": "bold" } }, [e2._v("社保缴纳信息")])]), e2._v(" "), a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { "label-width": "140px", label: "社保", prop: "security.medical" } }, [a2("el-checkbox", { attrs: { "true-label": 2, "false-label": 1, disabled: 2 == e2.dataForm.security.specificWorkInjury }, on: { change: e2.changeMedical }, model: { value: e2.dataForm.security.medical, callback: function(t3) {
|
||
e2.$set(e2.dataForm.security, "medical", t3);
|
||
}, expression: "dataForm.security.medical" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { "label-width": "140px", label: "住房公积金" } }, [a2("el-checkbox", { attrs: { "true-label": 2, "false-label": 1 }, model: { value: e2.dataForm.security.housingFund, callback: function(t3) {
|
||
e2.$set(e2.dataForm.security, "housingFund", t3);
|
||
}, expression: "dataForm.security.housingFund" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { "label-width": "140px", label: "特定人员工伤保险" } }, [a2("el-checkbox", { attrs: { "true-label": 2, "false-label": 1, disabled: 2 == e2.dataForm.security.medical }, on: { change: e2.changeMedical }, model: { value: e2.dataForm.security.specificWorkInjury, callback: function(t3) {
|
||
e2.$set(e2.dataForm.security, "specificWorkInjury", t3);
|
||
}, expression: "dataForm.security.specificWorkInjury" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { "label-width": "140px", label: "雇主责任险" } }, [a2("el-checkbox", { attrs: { "true-label": 2, "false-label": 1 }, model: { value: e2.dataForm.security.employerLiability, callback: function(t3) {
|
||
e2.$set(e2.dataForm.security, "employerLiability", t3);
|
||
}, expression: "dataForm.security.employerLiability" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("el-divider", { attrs: { "content-position": "left" } }, [a2("span", { staticStyle: { "font-size": "18px", "font-weight": "bold" } }, [e2._v("附件")])]), e2._v(" "), a2("div", [a2("el-row", [a2("el-col", { attrs: { span: 10 } }, ["edit" == e2.infoType ? a2("el-form-item", { attrs: { label: "附件" } }, [a2("el-upload", { ref: "uploadFile", staticClass: "upload-demo", attrs: { action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": e2.uploadRequest, "on-success": e2.uploadSuccess, "on-remove": e2.uploadRemove, "on-preview": e2.onPreview, multiple: "", limit: 9, "file-list": e2.fileList } }, [a2("el-button", { attrs: { size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [e2._v("\n 只能上传图片和文档,图片不超过2M,文档不超过10M\n ")])], 1)], 1) : e2._e(), e2._v(" "), "see" == e2.infoType ? a2("el-form-item", { attrs: { label: "附件" } }, [e2._l(e2.fileList, (function(t3, r2) {
|
||
return a2("div", { key: r2 }, [a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) {
|
||
return e2.downloadFile(t3);
|
||
} } }, [e2._v(e2._s(t3.name))])], 1);
|
||
})), e2._v(" "), e2.fileList.length <= 0 ? a2("span", [e2._v("-")]) : e2._e()], 2) : e2._e()], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticStyle: { "text-align": "center" } }, ["edit" == e2.infoType ? a2("el-button", { attrs: { type: "primary" }, on: { click: e2.postData } }, [e2._v("保存修改")]) : e2._e(), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("返回")])], 1)], 1), e2._v(" "), a2("el-card", { attrs: { shadow: "always" } }, [a2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a2("span", [e2._v("变更记录")])]), e2._v(" "), a2("div", [a2("el-tabs", { attrs: { "tab-position": "left" } }, e2._l(e2.transferList, (function(t3, r2) {
|
||
return a2("el-tab-pane", { key: r2, attrs: { label: t3.osName + " / " + t3.postName } }, [t3.subRespDTOList && t3.subRespDTOList.length ? a2("el-timeline", { staticStyle: { "padding-top": "5px" } }, e2._l(t3.subRespDTOList, (function(t4, r3) {
|
||
return a2("el-timeline-item", { key: r3, attrs: { type: "primary", timestamp: t4.createTime } }, [a2("span", { staticClass: "timeline-title" }, [e2._v(e2._s(1 == t4.type ? "转正" : 2 == t4.type ? "调岗" : 3 == t4.type ? "续签" : 4 == t4.type ? "离职" : 5 == t4.type ? "新任命" : 6 == t4.type ? "修改证件号" : 7 == t4.type ? "修改姓名" : "") + "\n ")]), e2._v(" "), 1 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(e2.formatChangeTime(t4.changeDate) + "于 “ " + t4.osName + " ” 转正") + "\n ")]) : e2._e(), e2._v(" "), 2 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(e2.formatChangeTime(t4.changeDate) + "从 “ " + t4.formerlyOsName + " / " + t4.formerlyPostName + " ” 调岗至 “ " + t4.osName + " / " + t4.postName + " ” ") + "\n ")]) : e2._e(), e2._v(" "), 3 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(e2.formatChangeTime(t4.changeDate) + "同 “ " + t4.contractMainBody + " ” 续签 “ " + e2.getContractInfo(t4.contractType) + " ”,有效期为:" + t4.contractBegDate + " 至 " + t4.contractEndDate) + "\n ")]) : e2._e(), e2._v(" "), 4 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(e2.formatChangeTime(t4.changeDate) + "离职") + "\n ")]) : e2._e(), e2._v(" "), 5 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(e2.formatChangeTime(t4.changeDate) + "新任命至 “ " + t4.osName + " / " + t4.postName + " ” ") + "\n ")]) : e2._e(), e2._v(" "), 6 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(t4.creatorName + "于" + e2.formatChangeTime(t4.updateTime) + "修改证件号") + "\n ")]) : e2._e(), e2._v(" "), 7 == t4.type ? a2("p", { staticClass: "timeline-text" }, [e2._v("\n " + e2._s(t4.creatorName + "于" + e2.formatChangeTime(t4.updateTime) + "修改姓名") + "\n ")]) : e2._e()]);
|
||
})), 1) : a2("div", { staticStyle: { padding: "30px 0", "text-align": "center" } }, [e2._v("\n 暂无变更记录~\n ")])], 1);
|
||
})), 1)], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "文件预览", visible: e2.fileVisible }, on: { "update:visible": function(t3) {
|
||
e2.fileVisible = t3;
|
||
} } }, [a2("iframe", { attrs: { src: e2.fileUrl, frameborder: "0", scrolling: "no", height: "550px", width: "100%" } }), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.fileVisible = false;
|
||
} } }, [e2._v("关闭")])], 1)])], 1);
|
||
}, B = [], R = (a("ac67"), a("32ea"), a("8dee"), a("5821")), P = a("86dc"), E = a("e862"), z = a("b9f1"), J = a("fed7"), W = a("dd26"), V = a.n(W);
|
||
function Q(e2, t2) {
|
||
var a2 = Object.keys(e2);
|
||
if (Object.getOwnPropertySymbols) {
|
||
var r2 = Object.getOwnPropertySymbols(e2);
|
||
t2 && (r2 = r2.filter((function(t3) {
|
||
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
|
||
}))), a2.push.apply(a2, r2);
|
||
}
|
||
return a2;
|
||
}
|
||
function Y(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? Q(Object(a2), true).forEach((function(t3) {
|
||
Object(R["a"])(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : Q(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
var H = { props: { jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
var e2 = this, t2 = function(t3, a2, r2) {
|
||
if (!a2 || "" === a2) return r2(new Error("请输入身份证号"));
|
||
if (18 !== a2.length) return r2(new Error("身份证号应为18位"));
|
||
if (!/^\d{17}[\dX]$/.test(a2)) return r2(new Error("身份证号格式不正确"));
|
||
var o2 = a2.substring(6, 10), n2 = a2.substring(10, 12), l2 = a2.substring(12, 14), i2 = new Date(o2, n2 - 1, l2);
|
||
if (i2.getFullYear() !== parseInt(o2) || i2.getMonth() + 1 !== parseInt(n2) || i2.getDate() !== parseInt(l2)) return r2(new Error("出生日期无效"));
|
||
for (var s2 = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2], c2 = 0, u2 = 0; u2 < 17; u2++) c2 += parseInt(a2.charAt(u2)) * s2[u2];
|
||
var m2 = ["1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2"], d2 = m2[c2 % 11];
|
||
if (d2.toUpperCase() !== a2.charAt(17).toUpperCase()) return r2(new Error("身份证号校验码错误"));
|
||
e2.IDCardNoChange(), r2();
|
||
};
|
||
return { needBuyType2: c["eb"], options: f["b"], BankData: J, nation: c["cb"], nationalityList: c["db"], maritalStatus: c["W"], politicalType: c["nb"], constellation: c["v"], zodiac: c["Ib"], provincesList: c["rb"], educationList: c["D"], IDTypeList: c["b"], contractType: c["x"], memberObj: "", workObj: "", securityObj: "", dataForm: { security: { medical: 1, housingFund: 1, employerLiability: 1, specificWorkInjury: 1 }, IDcardNumber: "", cardNumber: "", wxUserId: "" }, rules: { certificateType: { required: true, message: "请选择证件类型", trigger: "change" }, name: { required: true, message: "请输入姓名", trigger: "blur" }, birthday: { required: true, message: "请选择出生日期", trigger: "change" }, cardNumber: { required: true, message: "请输入证件号", trigger: "blur" }, IDcardNumber: { required: true, validator: t2, trigger: "blur" }, sex: { required: true, message: "请选择性别", trigger: "change" }, detailAddress: { required: true, message: "请输入现住地址", trigger: "blur" }, education: { required: true, message: "请选择学历", trigger: "change" }, urgentPerson: { required: true, message: "请输入紧急联系人", trigger: "blur" }, phoneNumber: { required: true, message: "请输入联系电话", trigger: "blur" }, urgentPhone: { required: true, message: "请输入紧急联系电话", trigger: "blur" }, selectArea: { required: true, message: "请选择入职城市", trigger: "change" }, jobObj: { required: true, message: "请选择入职岗位", trigger: "change" }, entryDate: { required: true, message: "请选择入职日期", trigger: "change" }, probationMonth: { required: true, message: "请选择试用期", trigger: "change" }, contractType: { required: true, message: "请选择合同类型", trigger: "change" }, mainInfo: { required: true, message: "请选择合同主体", trigger: "change" }, contractBegDate: { required: true, message: "请选择合同开始时间", trigger: "change" }, contractEndDate: { required: true, message: "请选择合同结束时间", trigger: "change" } }, fileList: [], uploadFileList: [], infoType: "see", activeValue: 0, transferList: [], fileUrl: "", fileVisible: false, setAgeForm: { verification: 0, womenAge: 0, maleAge: 0 }, medicalDisabled: false, wechatArr: [], jobSelect: "常用", jobList1: [], jobList2: [] };
|
||
}, mounted: function() {
|
||
var e2 = this;
|
||
this.companyWechatUserList(), this.jobList.forEach((function(t2) {
|
||
1 == t2.commonlyUsed ? e2.jobList1.push(t2) : e2.jobList2.push(t2);
|
||
}));
|
||
}, watch: { jobList: { handler: function(e2) {
|
||
var t2 = this;
|
||
if (this.jobList1 = [], this.jobList2 = [], Array.isArray(e2) && (e2.forEach((function(e3) {
|
||
1 == e3.commonlyUsed ? t2.jobList1.push(e3) : t2.jobList2.push(e3);
|
||
})), this.dataForm && this.dataForm.postUuid)) {
|
||
var a2 = e2.find((function(e3) {
|
||
return e3.id == t2.dataForm.postUuid;
|
||
}));
|
||
a2 && (this.jobSelect = 1 == a2.commonlyUsed ? "常用" : "其他");
|
||
}
|
||
this.$forceUpdate();
|
||
}, deep: false, immediate: true } }, methods: { changeMedical: function() {
|
||
2 == this.dataForm.security.medical && (this.dataForm.security.specificWorkInjury = 1), 2 == this.dataForm.security.specificWorkInjury && (this.dataForm.security.medical = 1);
|
||
}, companyWechatUserList: function() {
|
||
var e2 = this, t2 = { pageNumbe: -1, pageSize: -1, mainDepartment: 1, companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId };
|
||
Object(z["a"])(t2).then((function(t3) {
|
||
0 == t3.code && (e2.wechatArr = t3.data.records);
|
||
}));
|
||
}, filterWorkNeedBuyType: function() {
|
||
var e2 = this.transformAge(this.dataForm.birthday);
|
||
console.log(Object(P["a"])(e2), "typeof ages", e2), "number" === e2 && (console.log("有年龄配置且有正常能计算出的年龄"), e2 > 68 && "number" === typeof this.setAgeForm.maleAge && this.setAgeForm.maleAge > e2 && (this.dataForm.security.medical = 1, this.medicalDisabled = true));
|
||
}, getSet: function() {
|
||
var e2 = this, t2 = JSON.parse(localStorage.getItem("companyInfo")).osId;
|
||
Object(E["e"])({ id: t2 }).then((function(t3) {
|
||
0 == t3.code && t3.data && (e2.setAgeForm.verification = t3.data.verification, e2.setAgeForm.womenAge = t3.data.womenAge, e2.setAgeForm.maleAge = t3.data.maleAge, e2.filterWorkNeedBuyType());
|
||
}));
|
||
}, 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 a2 = [".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx"], r2 = t2.slice(t2.lastIndexOf("."));
|
||
a2.includes(r2) ? this.fileUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + t2 : this.fileUrl = t2, console.log(this.fileUrl, "fileUrl"), this.fileVisible = true;
|
||
}, init: function(e2, t2) {
|
||
this.infoType = t2, this.getInfo(e2), this.getTransferList(e2);
|
||
}, jobSelectChange: function(e2) {
|
||
this.dataForm.jobObj = null, this.$forceUpdate();
|
||
}, getInfo: function(e2) {
|
||
var t2 = this;
|
||
Object(n["p"])({ id: e2 }).then((function() {
|
||
var e3 = Object(p["a"])(regeneratorRuntime.mark((function e4(a2) {
|
||
var r2;
|
||
return regeneratorRuntime.wrap((function(e5) {
|
||
while (1) switch (e5.prev = e5.next) {
|
||
case 0:
|
||
0 == a2.code && (t2.fileList = [], t2.timelineList = [], t2.memberObj = a2.data.memberAddReqDTO, t2.workObj = a2.data.memberWorkInfoAddReqDTO, t2.securityObj = a2.data.memberSocialSecurityRespDTO, t2.dataForm = Y(Y(Y({}, a2.data.memberAddReqDTO), a2.data.memberWorkInfoAddReqDTO), {}, { IDcardNumber: "", cardNumber: "", wxUserId: t2.workObj.wxUserId ? t2.workObj.wxUserId : null }), 1 == t2.memberObj.certificateType ? (t2.dataForm.IDcardNumber = t2.memberObj.idNumber, t2.IDCardNoChange()) : t2.dataForm.cardNumber = t2.memberObj.idNumber, t2.dataForm.security = a2.data.memberSocialSecurityRespDTO, t2.dataForm.project = t2.dataForm.osId, t2.dataForm.projectObj = { name: t2.dataForm.osName, id: t2.dataForm.osId }, console.log(t2.dataForm.postUuid, "this.dataForm.postUuid"), t2.jobList.forEach((function(e6) {
|
||
e6.id == t2.dataForm.postUuid && (t2.jobSelect = 1 == e6.commonlyUsed ? "常用" : "其他");
|
||
})), console.log(t2.jobSelect, "this.jobSelect"), t2.dataForm.jobObj = { name: t2.dataForm.postName, id: t2.dataForm.postUuid }, t2.dataForm.city && t2.gerArea(t2.dataForm.city), t2.dataForm.age = t2.transformAge(t2.dataForm.birthday), console.log(t2.dataForm.fileUrl, "asd+as9das9+"), t2.dataForm.fileUrl && (r2 = JSON.parse(t2.dataForm.fileUrl), r2.map((function(e6) {
|
||
(e6 && e6.url || e6.fullUrl) && t2.fileList.push({ name: e6.fileName, url: e6.fullUrl || e6.url });
|
||
})), t2.uploadFileList = r2), t2.dataForm.mainInfo = { id: t2.dataForm.contractMainBodyId, name: t2.dataForm.contractMainBody }, "" != t2.dataForm.accountName && null != t2.dataForm.accountName || (t2.dataForm.accountName = t2.dataForm.name), t2.$forceUpdate(), t2.getSet());
|
||
case 1:
|
||
case "end":
|
||
return e5.stop();
|
||
}
|
||
}), e4);
|
||
})));
|
||
return function(t3) {
|
||
return e3.apply(this, arguments);
|
||
};
|
||
})());
|
||
}, IDCardNoChange: function() {
|
||
var e2 = this.dataForm.IDcardNumber;
|
||
if (1 == this.dataForm.certificateType && e2 && 18 == e2.length) {
|
||
var t2 = "";
|
||
t2 = e2.substr(6, 8), t2 = t2.replace(/(.{4})(.{2})/, "$1-$2-"), this.dataForm.birthday = t2, this.setAge();
|
||
}
|
||
this.$forceUpdate();
|
||
}, getTransferList: function(e2) {
|
||
var t2 = this;
|
||
Object(l["n"])({ id: e2 }).then((function(e3) {
|
||
t2.transferList = e3.data, t2.activeValue = 0;
|
||
}));
|
||
}, formatChangeTime: function(e2) {
|
||
if (e2) return V()(e2).format("YYYY年MM月DD日");
|
||
}, getContractInfo: function(e2) {
|
||
var t2 = this.contractType.find((function(t3) {
|
||
return t3.value == e2;
|
||
}));
|
||
return t2.label;
|
||
}, areaChange: function(e2) {
|
||
e2 ? f["a"][e2[0]].includes("市") || f["a"][e2[0]].includes("区") ? this.dataForm.city = f["a"][e2[0]] : this.dataForm.city = f["a"][e2[1]] : this.dataForm.city = "";
|
||
}, gerArea: function(e2) {
|
||
var t2 = this;
|
||
f["b"].forEach((function(a2, r2) {
|
||
a2.label.includes(e2) || e2.includes(a2.label) ? (t2.dataForm.selectArea = [a2.value, a2.children[0].value], t2.dataForm.city = a2.value) : a2.children.forEach((function(r3, o2) {
|
||
(r3.label.includes(e2) || e2.includes(r3.label)) && (t2.dataForm.selectArea = [a2.value, r3.value], t2.dataForm.city = r3.label);
|
||
}));
|
||
}));
|
||
}, setAge: function() {
|
||
this.dataForm.birthday ? this.dataForm.age = this.transformAge(this.dataForm.birthday) : this.dataForm.age = "", this.$forceUpdate();
|
||
}, transformAge: function(e2) {
|
||
if (e2) {
|
||
var t2 = V()(e2).format("YYYY-MM-DD 00:00:00"), a2 = V()(t2), r2 = V()(), o2 = r2.diff(a2, "years");
|
||
return o2;
|
||
}
|
||
return "-";
|
||
}, projectChange: function(e2) {
|
||
if (e2) {
|
||
var t2 = this.$refs["projectCascader"].getCheckedNodes();
|
||
this.dataForm.projectObj = t2[0].data;
|
||
} else this.dataForm.projectObj = "";
|
||
}, downloadFile: function(e2) {
|
||
var t2 = e2.url, a2 = new XMLHttpRequest();
|
||
a2.open("GET", t2, true), a2.responseType = "blob", a2.onload = function() {
|
||
var t3 = URL.createObjectURL(a2.response), r2 = document.createElement("a");
|
||
r2.href = t3, r2.download = e2.name, r2.target = "_blank", r2.click();
|
||
}, a2.send();
|
||
}, exceedUpload: function() {
|
||
this.$message("最多仅允许上传9个文件");
|
||
}, beforeUpload: function(e2) {
|
||
var t2 = e2.size / 1024 / 1024 < 10, a2 = e2.size / 1024 / 1024 < 2, r2 = ["jpeg", "jpg", "gif", "bmp", "png"], o2 = ["xls", "xlsx", "doc", "docx", "ppt", "pptx", "pdf"], n2 = e2.name.substring(e2.name.lastIndexOf(".") + 1).toLowerCase();
|
||
return r2.includes(n2) || o2.includes(n2) ? r2.includes(n2) && !a2 ? (this.$message("图片文件最大不超过2M"), false) : !(o2.includes(n2) && !t2) || (this.$message("文档文件最大不超过10M"), false) : (this.$message("上传文件只能是图片或文档,如:jpg、jpeg、png、doc、pdf、xls、等格式!"), false);
|
||
}, uploadRequest: (function() {
|
||
var e2 = Object(p["a"])(regeneratorRuntime.mark((function e3(t3) {
|
||
var a2, r2, o2, n2, l2, i2, s2, c2;
|
||
return regeneratorRuntime.wrap((function(e4) {
|
||
while (1) switch (e4.prev = e4.next) {
|
||
case 0:
|
||
return a2 = t3.file, e4.prev = 1, r2 = new FormData(), r2.append("file", a2), e4.next = 2, Object(b["o"])(r2);
|
||
case 2:
|
||
if (o2 = e4.sent, !o2 || !o2.data || 0 !== o2.data.code) {
|
||
e4.next = 3;
|
||
break;
|
||
}
|
||
n2 = o2.data.data.fullUrl || o2.data.data.url, l2 = { fileName: a2.name, fullUrl: n2, url: n2 }, t3.onSuccess(l2), this.$message.success("文件上传成功"), e4.next = 4;
|
||
break;
|
||
case 3:
|
||
throw new Error(o2.data.message || "上传失败");
|
||
case 4:
|
||
e4.next = 6;
|
||
break;
|
||
case 5:
|
||
e4.prev = 5, c2 = e4["catch"](1), console.error("上传失败:", c2), this.$message.error("文件上传失败: ".concat(c2.message || "未知错误")), this.$refs.uploadFile && (i2 = a2.uid, s2 = this.$refs.uploadFile.uploadFiles.findIndex((function(e5) {
|
||
return e5.uid == i2;
|
||
})), s2 > -1 && this.$refs.uploadFile.uploadFiles.splice(s2, 1));
|
||
case 6:
|
||
case "end":
|
||
return e4.stop();
|
||
}
|
||
}), e3, this, [[1, 5]]);
|
||
})));
|
||
function t2(t3) {
|
||
return e2.apply(this, arguments);
|
||
}
|
||
return t2;
|
||
})(), uploadSuccess: function(e2) {
|
||
e2 && this.uploadFileList.push(e2), console.log(this.uploadFileList);
|
||
}, uploadRemove: function(e2) {
|
||
var t2 = this.uploadFileList.findIndex((function(t3) {
|
||
return t3.fileName === e2.name;
|
||
}));
|
||
t2 > -1 && this.uploadFileList.splice(t2, 1);
|
||
}, postData: function() {
|
||
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor"));
|
||
this.$refs["dataForm"].validate((function(a2) {
|
||
if (a2) {
|
||
e2.memberObj.name = e2.dataForm.name, e2.memberObj.certificateType = e2.dataForm.certificateType, 1 == e2.dataForm.certificateType ? e2.memberObj.idNumber = e2.dataForm.IDcardNumber : e2.memberObj.idNumber = e2.dataForm.cardNumber, e2.memberObj.englishName = e2.dataForm.englishName, e2.memberObj.sex = e2.dataForm.sex, e2.memberObj.country = e2.dataForm.country, e2.memberObj.nativePlace = e2.dataForm.nativePlace, e2.memberObj.politicCountenance = e2.dataForm.politicCountenance, e2.memberObj.maritalStatus = e2.dataForm.maritalStatus, e2.memberObj.education = e2.dataForm.education, e2.memberObj.healthCondition = e2.dataForm.healthCondition, e2.memberObj.email = e2.dataForm.email, e2.memberObj.detailAddress = e2.dataForm.detailAddress, e2.memberObj.certificateAddress = e2.dataForm.certificateAddress, e2.memberObj.expertise = e2.dataForm.expertise, e2.memberObj.hobby = e2.dataForm.hobby, e2.memberObj.height = e2.dataForm.height, e2.memberObj.weight = e2.dataForm.weight, e2.memberObj.zodiacSign = e2.dataForm.zodiacSign, e2.memberObj.constellation = e2.dataForm.constellation, e2.memberObj.school = e2.dataForm.school, e2.memberObj.major = e2.dataForm.major, e2.memberObj.urgentPerson = e2.dataForm.urgentPerson, e2.memberObj.urgentPhone = e2.dataForm.urgentPhone, e2.memberObj.fileUrl = e2.uploadFileList.length ? JSON.stringify(e2.uploadFileList) : "", e2.memberObj.birthday = e2.dataForm.birthday, e2.memberObj.accountNumber = e2.dataForm.accountNumber, e2.memberObj.bankName = e2.dataForm.bankName, e2.memberObj.branch = e2.dataForm.branch, e2.memberObj.accountName = e2.dataForm.accountName, e2.memberObj.city = e2.dataForm.city, e2.memberObj.osName = e2.dataForm.projectObj.name, e2.memberObj.osId = e2.dataForm.projectObj.id, e2.memberObj.postName = e2.dataForm.jobObj.name, e2.memberObj.postUuid = e2.dataForm.jobObj.id, e2.workObj.entryDate = e2.dataForm.entryDate, e2.workObj.probationMonth = e2.dataForm.probationMonth, e2.workObj.retireDate = e2.dataForm.retireDate, e2.workObj.contractType = e2.dataForm.contractType, e2.workObj.contractMainBody = e2.dataForm.mainInfo.name, e2.workObj.contractMainBodyId = e2.dataForm.mainInfo.id, e2.workObj.contractBegDate = e2.dataForm.contractBegDate, e2.workObj.contractEndDate = e2.dataForm.contractEndDate, e2.workObj.wxUserId = e2.dataForm.wxUserId, e2.securityObj.employerLiability = e2.dataForm.security.employerLiability || 1, e2.securityObj.housingFund = e2.dataForm.security.housingFund || 1, e2.securityObj.medical = e2.dataForm.security.medical || 1, e2.securityObj.specificWorkInjury = e2.dataForm.security.specificWorkInjury || 1, e2.securityObj.insuranceCity = e2.dataForm.city;
|
||
var r2 = { creatorId: t2.id, creatorName: t2.name, memberAddReqDTO: e2.memberObj, memberSocialSecurityUpdateReqDTO: e2.securityObj, memberWorkInfoAddReqDTO: e2.workObj };
|
||
Object(n["D"])(r2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "更新成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
} else e2.$message.warning("所填信息有误,请检查并完善!");
|
||
}));
|
||
}, callbackClose: function() {
|
||
this.dataForm = { security: { maternity: 2, medical: 2, unemployment: 2, workInjury: 2, endowment: 2, housingFund: 2, employerLiability: 2, specificWorkInjury: 2 } }, this.fileList = [], this.$refs["dataForm"].resetFields(), this.$emit("callback");
|
||
}, handleClose: function() {
|
||
this.dataForm = { security: { maternity: 2, medical: 2, unemployment: 2, workInjury: 2, endowment: 2, housingFund: 2, employerLiability: 2, specificWorkInjury: 2 } }, this.fileList = [], this.$refs["dataForm"].resetFields(), this.$emit("close");
|
||
} } }, X = H, G = (a("bec2"), Object(y["a"])(X, M, B, false, null, "603521b2", null)), K = G.exports, Z = { components: { activeList: O, becomeList: L, transferList: A, Info: K }, data: function() {
|
||
return { activeName: "active", jobList: [], organizeList: [], companyList: [], showList: true, showDetail: false };
|
||
}, mounted: function() {
|
||
this.getJobList(), this.getOrganizeList(), this.getCompanyList();
|
||
}, methods: { getJobList: function() {
|
||
var e2 = this;
|
||
Object(n["n"])().then((function(t2) {
|
||
t2.data.length > 0 ? e2.jobList = t2.data : e2.jobList = [];
|
||
})).catch((function(e3) {
|
||
console.log(e3);
|
||
}));
|
||
}, getOrganizeList: function() {
|
||
var e2 = this, t2 = { id: JSON.parse(localStorage.getItem("companyInfo")).osId, roleId: Number(localStorage.getItem("roleId")) };
|
||
Object(n["w"])(t2).then((function(t3) {
|
||
t3 && t3.data.length > 0 && (e2.organizeList = e2.getTreeData(t3.data));
|
||
})).catch((function(t3) {
|
||
e2.loadingTree = false;
|
||
}));
|
||
}, getTreeData: function(e2) {
|
||
for (var t2 = 0; t2 < e2.length; t2++) e2[t2].corpUuid && (e2[t2].uid = e2[t2].corpUuid, e2[t2].nameTxt = e2[t2].name), e2[t2].childs.map((function(e3) {
|
||
e3.uid = e3.uuid, e3.nameTxt = 1 == e3.attribute ? "".concat(e3.name, "(组织)") : "".concat(e3.name, "(部门)");
|
||
})), e2[t2].childs.length < 1 ? e2[t2].childs = void 0 : this.getTreeData(e2[t2].childs);
|
||
return e2;
|
||
}, getCompanyList: function() {
|
||
var e2 = this;
|
||
Object(l["o"])({ id: JSON.parse(localStorage.getItem("companyInfo")).osId }).then((function(t2) {
|
||
0 == t2.code && (e2.companyList = t2.data);
|
||
}));
|
||
}, seeClick: function(e2, t2) {
|
||
this.showList = false, this.showDetail = true, this.$nextTick((function() {
|
||
this.$refs.details.init(e2, t2);
|
||
}));
|
||
}, onClose: function() {
|
||
this.showList = true, this.showDetail = false;
|
||
}, uploadCallback: function() {
|
||
this.onClose(), this.$nextTick((function() {
|
||
this.$refs.activeList.getlistData();
|
||
}));
|
||
}, handleClick: function(e2) {
|
||
var t2 = e2.paneName;
|
||
this.activeName = t2;
|
||
} } }, ee = Z, te = (a("acab"), Object(y["a"])(ee, r, o, false, null, null, null));
|
||
t["default"] = te.exports;
|
||
}, 4513: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "v", (function() {
|
||
return o;
|
||
})), a.d(t, "w", (function() {
|
||
return n;
|
||
})), a.d(t, "x", (function() {
|
||
return l;
|
||
})), a.d(t, "l", (function() {
|
||
return i;
|
||
})), a.d(t, "t", (function() {
|
||
return s;
|
||
})), a.d(t, "j", (function() {
|
||
return c;
|
||
})), a.d(t, "o", (function() {
|
||
return u;
|
||
})), a.d(t, "u", (function() {
|
||
return m;
|
||
})), a.d(t, "b", (function() {
|
||
return d;
|
||
})), a.d(t, "p", (function() {
|
||
return p;
|
||
})), a.d(t, "D", (function() {
|
||
return f;
|
||
})), a.d(t, "B", (function() {
|
||
return b;
|
||
})), a.d(t, "q", (function() {
|
||
return v;
|
||
})), a.d(t, "c", (function() {
|
||
return h;
|
||
})), a.d(t, "s", (function() {
|
||
return y;
|
||
})), a.d(t, "i", (function() {
|
||
return g;
|
||
})), a.d(t, "n", (function() {
|
||
return _;
|
||
})), a.d(t, "a", (function() {
|
||
return k;
|
||
})), a.d(t, "g", (function() {
|
||
return F;
|
||
})), a.d(t, "d", (function() {
|
||
return j;
|
||
})), a.d(t, "f", (function() {
|
||
return w;
|
||
})), a.d(t, "C", (function() {
|
||
return O;
|
||
})), a.d(t, "m", (function() {
|
||
return x;
|
||
})), a.d(t, "y", (function() {
|
||
return S;
|
||
})), a.d(t, "r", (function() {
|
||
return D;
|
||
})), a.d(t, "e", (function() {
|
||
return I;
|
||
})), a.d(t, "z", (function() {
|
||
return N;
|
||
})), a.d(t, "A", (function() {
|
||
return L;
|
||
})), a.d(t, "h", (function() {
|
||
return C;
|
||
})), a.d(t, "k", (function() {
|
||
return T;
|
||
}));
|
||
var r = a("b775");
|
||
function o() {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" });
|
||
}
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/company/member/getList", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/company/member/create", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/company/member/findById", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/company/member/update", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/company/member/suspendMember", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/enterprise/os/memberQuit/".concat(e2.memberUuid), method: "post" });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/create", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/update", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/company/member/getList", method: "POST", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/company/member/queryByStaff", method: "POST", data: e2 });
|
||
}
|
||
function D(e2) {
|
||
return Object(r["a"])({ url: "/company/member/memberQuit", method: "POST", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: e2 });
|
||
}
|
||
}, "623a": function(e, t, a) {
|
||
"use strict";
|
||
a("0d1d");
|
||
}, 7321: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "r", (function() {
|
||
return o;
|
||
})), a.d(t, "h", (function() {
|
||
return n;
|
||
})), a.d(t, "F", (function() {
|
||
return l;
|
||
})), a.d(t, "D", (function() {
|
||
return i;
|
||
})), a.d(t, "b", (function() {
|
||
return s;
|
||
})), a.d(t, "l", (function() {
|
||
return c;
|
||
})), a.d(t, "o", (function() {
|
||
return u;
|
||
})), a.d(t, "i", (function() {
|
||
return m;
|
||
})), a.d(t, "s", (function() {
|
||
return d;
|
||
})), a.d(t, "p", (function() {
|
||
return p;
|
||
})), a.d(t, "q", (function() {
|
||
return f;
|
||
})), a.d(t, "t", (function() {
|
||
return b;
|
||
})), a.d(t, "w", (function() {
|
||
return v;
|
||
})), a.d(t, "u", (function() {
|
||
return h;
|
||
})), a.d(t, "z", (function() {
|
||
return y;
|
||
})), a.d(t, "B", (function() {
|
||
return g;
|
||
})), a.d(t, "v", (function() {
|
||
return _;
|
||
})), a.d(t, "x", (function() {
|
||
return k;
|
||
})), a.d(t, "C", (function() {
|
||
return F;
|
||
})), a.d(t, "y", (function() {
|
||
return j;
|
||
})), a.d(t, "f", (function() {
|
||
return w;
|
||
})), a.d(t, "c", (function() {
|
||
return O;
|
||
})), a.d(t, "d", (function() {
|
||
return x;
|
||
})), a.d(t, "e", (function() {
|
||
return S;
|
||
})), a.d(t, "G", (function() {
|
||
return D;
|
||
})), a.d(t, "n", (function() {
|
||
return I;
|
||
})), a.d(t, "a", (function() {
|
||
return N;
|
||
})), a.d(t, "m", (function() {
|
||
return L;
|
||
})), a.d(t, "k", (function() {
|
||
return C;
|
||
})), a.d(t, "j", (function() {
|
||
return T;
|
||
})), a.d(t, "A", (function() {
|
||
return $;
|
||
})), a.d(t, "E", (function() {
|
||
return q;
|
||
})), a.d(t, "g", (function() {
|
||
return U;
|
||
}));
|
||
var r = a("b775");
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/pageList", method: "post", data: e2 });
|
||
}
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/create", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/update", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/updateInterview", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/batchObsolete", method: "post", data: e2 });
|
||
}
|
||
function c(e2, t2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/importExcel/".concat(t2), method: "post", isReturnResponse: true, isFile: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/supplier/listCompanyByCompanyId", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/entry", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/company/member/pageListByCompany", method: "post", data: e2 });
|
||
}
|
||
function p(e2, t2) {
|
||
return Object(r["a"])({ url: "/company/member/importExcel/".concat(t2), method: "post", isReturnResponse: true, isFile: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function f(e2, t2) {
|
||
return Object(r["a"])({ url: "/company/member/importExcelV3/".concat(t2), method: "post", isReturnResponse: true, isFile: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/pageList", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitBatch", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/positiveBatch", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/renewBatch", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/transferBatch", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitApplyBatch", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quit", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/updateCommunicationRecord", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitRejectBatch", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/blockBatch", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/create", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/pageList", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/revoke", method: "post", data: e2 });
|
||
}
|
||
function D(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/updateRealQuitDate", method: "post", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/listByMemberId", method: "post", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/appointBatch", method: "post", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/DataAccidentPastMember/pageListByCompany", method: "post", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/DataAccidentPastMember/followUp", method: "post", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/company/member/exportMember", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function $(e2) {
|
||
return Object(r["a"])({ url: "/company/member/roleOsList", method: "post", data: e2 });
|
||
}
|
||
function q(e2) {
|
||
return Object(r["a"])({ url: "/company/member/updateMobile", method: "post", data: e2 });
|
||
}
|
||
function U(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CandidateFile/createBatch", method: "post", data: e2 });
|
||
}
|
||
}, "90e7": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "g", (function() {
|
||
return o;
|
||
})), a.d(t, "m", (function() {
|
||
return n;
|
||
})), a.d(t, "f", (function() {
|
||
return l;
|
||
})), a.d(t, "l", (function() {
|
||
return i;
|
||
})), a.d(t, "h", (function() {
|
||
return s;
|
||
})), a.d(t, "n", (function() {
|
||
return c;
|
||
})), a.d(t, "a", (function() {
|
||
return u;
|
||
})), a.d(t, "b", (function() {
|
||
return m;
|
||
})), a.d(t, "c", (function() {
|
||
return d;
|
||
})), a.d(t, "e", (function() {
|
||
return p;
|
||
})), a.d(t, "d", (function() {
|
||
return f;
|
||
})), a.d(t, "i", (function() {
|
||
return b;
|
||
})), a.d(t, "j", (function() {
|
||
return v;
|
||
})), a.d(t, "o", (function() {
|
||
return h;
|
||
})), a.d(t, "k", (function() {
|
||
return y;
|
||
}));
|
||
var r = a("b775");
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: e2 });
|
||
}
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/update", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ChargePushConfigApi/findById", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ChargePushConfigApi/update", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/company/ProjectSatisfactionConfig/pageList", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/company/ProjectSatisfactionConfig/update", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/findByCompanyIdAndType", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/sceneMenuList", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/pageList", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/updateExponentByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function h(e2, t2) {
|
||
return Object(r["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 y(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
}, "9f2b": function(e, t, a) {
|
||
}, acab: function(e, t, a) {
|
||
"use strict";
|
||
a("c195");
|
||
}, b24c: function(e, t, a) {
|
||
}, b9f1: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "b", (function() {
|
||
return o;
|
||
})), a.d(t, "c", (function() {
|
||
return n;
|
||
})), a.d(t, "a", (function() {
|
||
return l;
|
||
}));
|
||
var r = a("b775");
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/QywxDepartment/syncDeptData", method: "post", data: e2 });
|
||
}
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/QywxDepartment/treeList", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/QywxUser/pageList", method: "post", data: e2 });
|
||
}
|
||
}, bec2: function(e, t, a) {
|
||
"use strict";
|
||
a("1537");
|
||
}, c195: function(e, t, a) {
|
||
}, c466: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return r;
|
||
}));
|
||
a("4057"), a("fc02"), a("3269"), a("8dee");
|
||
function r(e2, t2) {
|
||
/(y+)/.test(t2) && (t2 = t2.replace(RegExp.$1, (e2.getFullYear() + "").substr(4 - RegExp.$1.length)));
|
||
var a2 = { "M+": e2.getMonth() + 1, "d+": e2.getDate(), "h+": e2.getHours(), "m+": e2.getMinutes(), "s+": e2.getSeconds() };
|
||
for (var r2 in a2) if (new RegExp("(".concat(r2, ")")).test(t2)) {
|
||
var n = a2[r2] + "";
|
||
t2 = t2.replace(RegExp.$1, 1 === RegExp.$1.length ? n : o(n));
|
||
}
|
||
return t2;
|
||
}
|
||
function o(e2) {
|
||
return ("00" + e2).substr(e2.length);
|
||
}
|
||
}, e30f: function(e, t, a) {
|
||
"use strict";
|
||
a("9f2b");
|
||
}, e862: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "a", (function() {
|
||
return o;
|
||
})), a.d(t, "e", (function() {
|
||
return n;
|
||
})), a.d(t, "i", (function() {
|
||
return l;
|
||
})), a.d(t, "f", (function() {
|
||
return i;
|
||
})), a.d(t, "c", (function() {
|
||
return s;
|
||
})), a.d(t, "g", (function() {
|
||
return c;
|
||
})), a.d(t, "d", (function() {
|
||
return u;
|
||
})), a.d(t, "h", (function() {
|
||
return m;
|
||
})), a.d(t, "b", (function() {
|
||
return d;
|
||
}));
|
||
var r = a("b775");
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/batchSetMultiCompany", method: "post", data: e2 });
|
||
}
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findById", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/updateAgeConf", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findProjectListByCompanyId", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/sort", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/enable", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/stop", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/deleteBatch", method: "post", data: e2 });
|
||
}
|
||
}, fed7: function(e) {
|
||
e.exports = [{ value: "0025840", name: "中国邮政储蓄银行" }, { value: "1021000", name: "中国工商银行" }, { value: "1031000", name: "中国农业银行" }, { value: "1041000", name: "中国银行" }, { value: "1051000", name: "中国建设银行" }, { value: "2011000", name: "中国国家开发银行" }, { value: "2011001", name: "中国进出口银行" }, { value: "2011002", name: "中国农业发展银行" }, { value: "3011000", name: "中国交通银行" }, { value: "3021000", name: "中信银行" }, { value: "3031000", name: "光大银行" }, { value: "3041000", name: "华夏银行" }, { value: "3051000", name: "民生银行" }, { value: "3065810", name: "广发银行" }, { value: "3085840", name: "招商银行" }, { value: "3091000", name: "兴业银行" }, { value: "3102900", name: "浦东发展银行" }, { value: "3131000", name: "北京银行股份有限公司" }, { value: "3131100", name: "天津银行股份有限公司" }, { value: "3131210", name: "河北银行" }, { value: "3131240", name: "唐山银行股份有限公司" }, { value: "3131260", name: "秦皇岛银行股份有限公司" }, { value: "3131270", name: "邯郸银行" }, { value: "3131310", name: "邢台银行" }, { value: "3131340", name: "保定银行" }, { value: "3131380", name: "张家口银行" }, { value: "3131410", name: "承德银行" }, { value: "3131430", name: "沧州银行" }, { value: "3131460", name: "廊坊银行股份有限公司" }, { value: "3131480", name: "衡水银行" }, { value: "3131610", name: "晋商银行股份有限公司" }, { value: "3131620", name: "大同银行股份有限公司" }, { value: "3131630", name: "阳泉市商业银行" }, { value: "3131640", name: "长治银行" }, { value: "3131680", name: "晋城银行" }, { value: "3131750", name: "晋中银行" }, { value: "3131910", name: "内蒙古银行" }, { value: "3131920", name: "包商银行股份有限公司" }, { value: "3131930", name: "乌海银行" }, { value: "3132050", name: "鄂尔多斯银行股份有限公司" }, { value: "3132210", name: "盛京银行" }, { value: "3132220", name: "大连银行股份有限公司" }, { value: "3132230", name: "鞍山银行" }, { value: "3132240", name: "抚顺银行" }, { value: "3132250", name: "本溪银行股份有限公司" }, { value: "3132260", name: "丹东银行" }, { value: "3132270", name: "锦州银行" }, { value: "3132276", name: "葫芦岛银行股份有限公司" }, { value: "3132280", name: "营口沿海银行" }, { value: "3132281", name: "营口银行" }, { value: "3132290", name: "阜新银行" }, { value: "3132310", name: "辽阳银行" }, { value: "3132320", name: "盘锦银行" }, { value: "3132330", name: "铁岭银行" }, { value: "3132340", name: "朝阳银行" }, { value: "3132410", name: "吉林银行" }, { value: "3132411", name: "吉林亿联银行" }, { value: "3132610", name: "龙江银行" }, { value: "3132611", name: "哈尔滨银行股份有限公司" }, { value: "3133010", name: "江苏银行股份有限公司" }, { value: "3133011", name: "南京银行股份有限公司" }, { value: "3133050", name: "苏州银行" }, { value: "3133123", name: "江苏长江商业银行" }, { value: "3133310", name: "杭州银行股份有限公司" }, { value: "3133320", name: "宁波银行股份有限公司" }, { value: "3133321", name: "宁波东海银行股份有限公司" }, { value: "3133322", name: "宁波通商银行股份有限公司" }, { value: "3133330", name: "温州银行股份有限公司" }, { value: "3133350", name: "嘉兴银行" }, { value: "3133360", name: "湖州银行" }, { value: "3133370", name: "绍兴银行" }, { value: "3133380", name: "金华银行" }, { value: "3133387", name: "浙江稠州商业银行股份有限公司" }, { value: "3133450", name: "台州银行股份有限公司" }, { value: "3133451", name: "浙江泰隆商业银行" }, { value: "3133454", name: "浙江民泰商业银行" }, { value: "3133910", name: "福建海峡银行股份有限公司" }, { value: "3133930", name: "厦门银行" }, { value: "3133970", name: "泉州银行" }, { value: "3134211", name: "江西银行" }, { value: "3134240", name: "九江银行" }, { value: "3134280", name: "赣州银行" }, { value: "3134330", name: "上饶银行" }, { value: "3134510", name: "齐鲁银行" }, { value: "3134520", name: "青岛银行" }, { value: "3134530", name: "齐商银行" }, { value: "3134540", name: "枣庄银行股份有限公司" }, { value: "3134550", name: "东营银行" }, { value: "3134560", name: "烟台银行股份有限公司" }, { value: "3134580", name: "潍坊银行" }, { value: "3134610", name: "济宁银行" }, { value: "3134630", name: "泰安银行" }, { value: "3134634", name: "莱商银行" }, { value: "3134650", name: "威海市商业银行" }, { value: "3134680", name: "德州银行" }, { value: "3134730", name: "临商银行" }, { value: "3134732", name: "日照银行" }, { value: "3134910", name: "中原银行股份有限公司" }, { value: "3134911", name: "郑州银行" }, { value: "3134930", name: "洛阳银行" }, { value: "3134950", name: "平顶山银行" }, { value: "3135010", name: "焦作中旅银行" }, { value: "3135210", name: "汉口银行" }, { value: "3135211", name: "湖北银行" }, { value: "3135510", name: "华融湘江银行" }, { value: "3135810", name: "广州银行股份有限公司" }, { value: "3135840", name: "平安银行" }, { value: "3135841", name: "上海银行" }, { value: "3135850", name: "珠海华润银行股份有限公司" }, { value: "3135860", name: "广东华兴银行股份有限公司" }, { value: "3135910", name: "广东南粤银行股份有限公司" }, { value: "3136020", name: "东莞银行股份有限公司" }, { value: "3136110", name: "广西北部湾银行" }, { value: "3136140", name: "柳州银行" }, { value: "3136170", name: "桂林银行" }, { value: "3136410", name: "海南银行" }, { value: "3136510", name: "成都银行" }, { value: "3136530", name: "重庆银行" }, { value: "3136550", name: "自贡银行股份有限公司" }, { value: "3136560", name: "攀枝花市商业银行" }, { value: "3136570", name: "泸州市商业银行" }, { value: "3136580", name: "长城华西银行" }, { value: "3136590", name: "绵阳市商业银行" }, { value: "3136620", name: "遂宁银行" }, { value: "3136650", name: "乐山市商业银行" }, { value: "3136710", name: "宜宾市商业银行" }, { value: "3136730", name: "天府银行" }, { value: "3136750", name: "达州银行股份有限公司" }, { value: "3136770", name: "雅安市商业银行" }, { value: "3136840", name: "凉山州商业银行" }, { value: "3137010", name: "贵阳银行" }, { value: "3137011", name: "贵州银行股份有限公司" }, { value: "3137310", name: "富滇银行" }, { value: "3137360", name: "曲靖市商业银行" }, { value: "3137410", name: "云南红塔银行股份有限公司" }, { value: "3137700", name: "西藏银行股份有限公司" }, { value: "3137910", name: "西安银行股份有限公司" }, { value: "3137911", name: "长安银行" }, { value: "3138210", name: "兰州银行股份有限公司" }, { value: "3138211", name: "甘肃银行" }, { value: "3138510", name: "青海银行" }, { value: "3138710", name: "宁夏银行" }, { value: "3138720", name: "石嘴山银行" }, { value: "3138811", name: "乌鲁木齐银行" }, { value: "3138812", name: "新疆银行股份有限公司" }, { value: "3138820", name: "昆仑银行" }, { value: "3138840", name: "哈密市商业银行" }, { value: "3138880", name: "库尔勒银行" }, { value: "3138981", name: "新疆汇和银行" }, { value: "3141100", name: "天津滨海农村商业银行股份有限公司" }, { value: "3142220", name: "大连农村商业银行" }, { value: "3143020", name: "无锡农村商业银行股份有限公司" }, { value: "3143022", name: "江苏江阴农村商业银行股份有限公司" }, { value: "3143040", name: "江苏江南农村商业银行股份有限公司" }, { value: "3143051", name: "太仓农村商业银行" }, { value: "3143052", name: "昆山农村商业银行" }, { value: "3143054", name: "吴江农村商业银行" }, { value: "3143055", name: "江苏常熟农村商业银行股份有限公司" }, { value: "3143056", name: "张家港农村商业银行" }, { value: "3145810", name: "广州农村商业银行股份有限公司" }, { value: "3145880", name: "广东顺德农村商业银行股份有限公司" }, { value: "3146411", name: "海口联合农村商业银行" }, { value: "3146510", name: "成都农村商业银行股份有限公司" }, { value: "3146530", name: "重庆农村商业银行股份有限公司" }, { value: "3147910", name: "陕西秦农农村商业银行" }, { value: "3154560", name: "恒丰银行" }, { value: "3163310", name: "浙商银行股份有限公司" }, { value: "3171100", name: "天津农村商业银行" }, { value: "3181100", name: "渤海银行股份有限公司" }, { value: "3193610", name: "徽商银行股份有限公司" }, { value: "3205031", name: "长葛轩辕村镇银行有限责任公司" }, { value: "3205840", name: "深圳龙岗鼎业村镇银行股份有限公司" }, { value: "3205841", name: "深圳宝安融兴村镇银行有限责任公司" }, { value: "3205842", name: "深圳福田银座村镇银行股份有限公司" }, { value: "3205843", name: "深圳南山宝生村镇银行股份有限公司" }, { value: "3205844", name: "深圳宝安桂银村镇银行股份有限公司" }, { value: "3205845", name: "深圳龙岗国安村镇银行有限责任公司" }, { value: "3205846", name: "深圳光明沪农商村镇银行股份有限公司" }, { value: "3216670", name: "重庆三峡银行股份有限公司" }, { value: "3216671", name: "长沙银行股份有限公司" }, { value: "3222900", name: "上海农村商业银行" }, { value: "3231000", name: "北京中关村银行股份有限公司" }, { value: "3231100", name: "天津金城银行股份有限公司" }, { value: "3232210", name: "辽宁振兴银行股份有限公司" }, { value: "3232900", name: "上海华瑞银行" }, { value: "3233310", name: "浙江网商银行股份有限公司" }, { value: "3233330", name: "温州民商银行股份有限公司" }, { value: "3233910", name: "福建华通银行股份有限公司" }, { value: "3234650", name: "威海蓝海银行股份有限公司" }, { value: "3235510", name: "湖南三湘银行股份有限公司" }, { value: "3235840", name: "深圳前海微众银行" }, { value: "3236510", name: "四川新网银行股份有限公司" }, { value: "3236530", name: "富民银行" }, { value: "3261000", name: "中信百信银行" }, { value: "4021000", name: "北京农村商业银行股份有限公司" }, { value: "4021210", name: "河北省农村信用社联合社" }, { value: "4021610", name: "山西省农村信用社联合社" }, { value: "4021910", name: "内蒙古自治区农村信用社联合社" }, { value: "4022210", name: "辽宁省农村信用社联合社" }, { value: "4022410", name: "吉林省农村信用社联合社" }, { value: "4022610", name: "黑龙江省农村信用社联合社" }, { value: "4023010", name: "江苏省农村信用社联合社" }, { value: "4023310", name: "浙江省农村信用社联合社" }, { value: "4023320", name: "鄞州银行" }, { value: "4023610", name: "安徽省农村信用联社" }, { value: "4023910", name: "福建省农村信用社联合社" }, { value: "4024210", name: "江西省农村信用社联合社" }, { value: "4024512", name: "济南农村商业银行" }, { value: "4024910", name: "河南省农村信用社联合社" }, { value: "4025210", name: "湖北省农村信用社联合社" }, { value: "4025211", name: "武汉农村商业银行股份有限公司" }, { value: "4025510", name: "湖南省农村信用社联合社" }, { value: "4025810", name: "广东省农村信用社联合社" }, { value: "4025840", name: "深圳农村商业银行" }, { value: "4025841", name: "武汉众邦银行" }, { value: "4026020", name: "东莞农村商业银行股份有限公司" }, { value: "4026110", name: "广西壮族自治区农村信用社联合社" }, { value: "4026410", name: "海南省农村信用社联合社" }, { value: "4026510", name: "四川省农村信用社联合社" }, { value: "4027010", name: "贵州省农村信用社联合社" }, { value: "4027310", name: "云南省农村信用社联合社" }, { value: "4027910", name: "陕西省农村信用社联合社" }, { value: "4028210", name: "甘肃省农村合作社联合社" }, { value: "4028510", name: "青海省农村信用社联合社" }, { value: "4028710", name: "宁夏黄河农村商业银行股份有限公司" }, { value: "4028810", name: "新疆维吾尔自治区农村信用社联合社" }, { value: "5001852", name: "永丰银行(中国)有限公司" }, { value: "5001886", name: "中国信托商业银行" }, { value: "5012900", name: "汇丰银行(中国)有限公司" }, { value: "5022900", name: "东亚银行(中国)有限公司" }, { value: "5032900", name: "南洋商业银行有限公司" }, { value: "5045840", name: "恒生银行(中国)有限公司" }, { value: "5063910", name: "集友银行有限公司" }, { value: "5075810", name: "创兴银行有限公司" }, { value: "5085840", name: "大众银行" }, { value: "5095840", name: "星展银行(中国)有限公司" }, { value: "5105840", name: "永亨银行(中国)有限公司" }, { value: "5112900", name: "法国巴黎银行(中国)有限公司" }, { value: "5125840", name: "永隆银行有限公司" }, { value: "5135840", name: "大新银行" }, { value: "5145840", name: "中信银行国际(中国)有限公司" }, { value: "5232900", name: "国泰世华银行(中国)有限公司" }, { value: "5243050", name: "合作金库商业银行股份有限公司" }, { value: "5252900", name: "第一商业银行股份有限公司" }, { value: "5295840", name: "玉山银行(中国)有限公司" }, { value: "5315840", name: "花旗银行(中国)有限公司" }, { value: "5322900", name: "美国银行有限公司" }, { value: "5331000", name: "摩根大通银行(中国)有限公司" }, { value: "5512900", name: "印度国家银行" }, { value: "5615840", name: "三菱东京日联银行(中国)有限公司" }, { value: "5632900", name: "三井住友银行(中国)有限公司" }, { value: "5642900", name: "瑞穗实业银行(中国)有限公司" }, { value: "5662900", name: "日本三井住友信托银行股份有限公司" }, { value: "5911100", name: "外换银行(中国)有限公司" }, { value: "5931000", name: "友利银行(中国)有限公司" }, { value: "5942900", name: "韩国产业银行" }, { value: "5951000", name: "新韩银行(中国)有限公司" }, { value: "5961000", name: "企业银行(中国)有限公司" }, { value: "5971000", name: "韩亚银行" }, { value: "5981000", name: "国民银行(中国)有限公司" }, { value: "6112900", name: "马来西亚马来亚银行有限公司" }, { value: "6163010", name: "首都银行(中国)有限公司" }, { value: "6222900", name: "大华银行" }, { value: "6312900", name: "盘谷银行(中国)有限公司" }, { value: "6411000", name: "奥地利奥合国际银行股份有限公司" }, { value: "6512900", name: "比利时联合银行股份有限公司" }, { value: "6612900", name: "苏格兰皇家银行(中国)有限公司" }, { value: "6622900", name: "荷兰安智银行股份有限公司" }, { value: "6715840", name: "渣打银行(中国)有限公司" }, { value: "6732900", name: "英国巴克莱银行有限公司" }, { value: "6812900", name: "瑞典商业银行公共有限公司" }, { value: "6822900", name: "瑞典北欧斯安银行有限公司" }, { value: "6832900", name: "瑞典银行有限公司" }, { value: "6911000", name: "法国兴业银行(中国)有限公司" }, { value: "6942900", name: "东方汇理银行(中国)有限公司" }, { value: "6952900", name: "法国外贸银行股份有限公司" }, { value: "7121000", name: "德意志银行(中国)有限公司" }, { value: "7132900", name: "德国商业银行股份有限公司" }, { value: "7162900", name: "德国北德意志州银行" }, { value: "7171100", name: "中德住房储蓄银行" }, { value: "7312900", name: "意大利裕信银行股份有限公司" }, { value: "7322900", name: "意大利联合圣保罗银行股份有限公司" }, { value: "7412900", name: "瑞士信贷银行股份有限公司" }, { value: "7421000", name: "瑞士银行(中国)有限公司" }, { value: "7515810", name: "加拿大丰业银行有限公司" }, { value: "7525810", name: "蒙特利尔银行(中国)有限公司" }, { value: "7612900", name: "澳大利亚和新西兰银行(中国)有限公司" }, { value: "7622900", name: "澳大利亚西太平洋银行有限公司" }, { value: "7715850", name: "摩根士丹利国际银行(中国)有限公司" }, { value: "7752900", name: "华美银行(中国)有限公司" }, { value: "7762900", name: "荷兰合作银行有限公司" }, { value: "7813930", name: "厦门国际银行" }, { value: "7855840", name: "华商银行" }, { value: "7872900", name: "华一银行" }, { value: "9695850", name: "澳门人民币清算行" }, { value: "3204732", name: "日照蓝海村镇银行股份有限公司" }, { value: "3204610", name: "济宁蓝海村镇银行股份有限公司" }, { value: "3208737", name: "宁夏同心津汇村镇银行有限责任公司" }, { value: "3208710", name: "宁夏永宁汇发村镇银行股份有限公司" }, { value: "3208743", name: "宁夏西吉汇发村镇银行股份有限公司" }, { value: "3207010", name: "贵阳小河科技村镇银行股份有限公司" }];
|
||
} }]);
|