1606 lines
130 KiB
JavaScript
1606 lines
130 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-518d6f3c"], { "0981": 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", { attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "候选名单", name: "wait" } }, ["wait" === e2.activeName ? a2("waitList", { ref: "waitList", attrs: { companyList: e2.companyList, orgList: e2.organizeList, jobList: e2.jobList } }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "淘汰名单", name: "out" } }, ["out" === e2.activeName ? a2("outList", { ref: "outList" }) : e2._e()], 1)], 1)], 1)]);
|
||
}, o = [], n = (a("a450"), a("e680"), a("4513")), i = a("7321"), l = 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: 24 } }, [a2("el-col", { attrs: { span: 21 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "city" } }, [a2("el-input", { attrs: { placeholder: "请输入候选城市", clearable: "" }, model: { value: e2.query.city, callback: function(t3) {
|
||
e2.$set(e2.query, "city", t3);
|
||
}, expression: "query.city" } })], 1)], 1), e2._v(" "), 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: 4 } }, [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: 4 } }, [a2("el-form-item", [a2("div", { staticClass: "score-content" }, [a2("el-input-number", { attrs: { placeholder: "最低面试分数", controls: false, min: 0, max: 100 }, model: { value: e2.query.minInterviewScore, callback: function(t3) {
|
||
e2.$set(e2.query, "minInterviewScore", t3);
|
||
}, expression: "query.minInterviewScore" } }), e2._v(" "), a2("span", { staticClass: "score-line" }, [e2._v("-")]), e2._v(" "), a2("el-input-number", { attrs: { placeholder: "最高面试分数", controls: false, min: e2.query.minInterviewScore > 0 ? e2.query.minInterviewScore : 0, max: 100 }, model: { value: e2.query.maxInterviewScore, callback: function(t3) {
|
||
e2.$set(e2.query, "maxInterviewScore", t3);
|
||
}, expression: "query.maxInterviewScore" } })], 1)])], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "interviewStatus" } }, [a2("el-select", { attrs: { placeholder: "面试状态", clearable: "" }, model: { value: e2.query.interviewStatus, callback: function(t3) {
|
||
e2.$set(e2.query, "interviewStatus", t3);
|
||
}, expression: "query.interviewStatus" } }, e2._l(e2.candidateStatusList, (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: 4 } }, [a2("el-form-item", { attrs: { prop: "evaluationStatus" } }, [a2("el-select", { attrs: { placeholder: "测评状态", clearable: "" }, model: { value: e2.query.evaluationStatus, callback: function(t3) {
|
||
e2.$set(e2.query, "evaluationStatus", t3);
|
||
}, expression: "query.evaluationStatus" } }, e2._l(e2.evaluationStatusList, (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: 4 } }, [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: 4 } }, [a2("el-form-item", { attrs: { prop: "certificateNo" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "证件号" }, model: { value: e2.query.certificateNo, callback: function(t3) {
|
||
e2.$set(e2.query, "certificateNo", t3);
|
||
}, expression: "query.certificateNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "updaterName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "更新人" }, model: { value: e2.query.updaterName, callback: function(t3) {
|
||
e2.$set(e2.query, "updaterName", t3);
|
||
}, expression: "query.updaterName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", [a2("el-date-picker", { attrs: { type: "datetimerange", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "range-separator": "至", "start-placeholder": "更新开始日期", "end-placeholder": "更新结束日期", "default-time": ["00:00:00", "23:59:59"] }, model: { value: e2.bindTime, callback: function(t3) {
|
||
e2.bindTime = t3;
|
||
}, expression: "bindTime" } })], 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("候选名单列表")]), e2._v(" "), a2("div", [a2("el-popover", { staticStyle: { "margin-right": "15px" }, attrs: { placement: "bottom", trigger: "click" } }, [a2("div", { ref: "qrCode", attrs: { id: "qrCode" } }), e2._v(" "), a2("el-button", { staticStyle: { width: "100%" }, attrs: { type: "text" }, on: { click: e2.downloadQRCode } }, [e2._v("下载"), a2("i", { staticClass: "el-icon-download el-icon--right" })]), e2._v(" "), a2("el-button", { attrs: { slot: "reference", type: "text" }, slot: "reference" }, [e2._v("自主添加二维码"), a2("i", { staticClass: "el-icon-search el-icon--right" })])], 1), e2._v(" "), a2("el-button", { attrs: { type: "success" }, on: { click: e2.resumeRecognitionClick } }, [e2._v("简历识别")]), e2._v(" "), a2("el-button", { attrs: { type: "warning" }, on: { click: e2.addClick } }, [e2._v("人工添加")]), e2._v(" "), a2("el-button", { attrs: { type: "info" }, on: { click: e2.exportTemplate } }, [e2._v("导出模板")]), e2._v(" "), 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", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" } }, [e2._v("导入数据")])], 1), e2._v(" "), a2("el-button", { attrs: { type: "danger" }, on: { click: e2.outClick } }, [e2._v("淘汰")])], 1)]), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "tableData", attrs: { "header-cell-style": { background: "#FAFAFA" }, data: e2.listTable, align: "center", border: "", "row-key": "id" }, on: { "selection-change": e2.selectionChange } }, [a2("el-table-column", { attrs: { type: "selection", fixed: "", align: "center", width: "50", "reserve-selection": true, selectable: e2.selectable } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.name || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "性别", "min-width": "70", "show-overflow-tooltip": "" }, 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", label: "联系方式", "min-width": "110", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.phoneNumber || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "候选城市", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.city || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "候选项目", "min-width": "110", "show-overflow-tooltip": "" }, 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", label: "候选岗位", "min-width": "110", "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", label: "年龄", "min-width": "60", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2.transformAge(t3.row.birthday)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "民族", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.nation || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "证件类型", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.certificateType, e2.IDTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "证件号码", "min-width": "130", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.certificateNo || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "证件地址", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.certificateAddress || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "学历", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.education, e2.educationList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "政治面貌", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.politicCountenance, e2.politicalType)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "附件", "min-width": "50", "show-overflow-tooltip": "" }, 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", label: "紧急联系人", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.urgentPerson || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "紧急联系电话", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.urgentPhone || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "来源", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.source, e2.candidateSourceList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "面试时间", "min-width": "170", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.interviewTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "面试状态", "min-width": "110", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "info" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 2 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 3 == t3.row.interviewStatus ? a2("el-tag", [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 4 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 5 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "面试分数", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.interviewScore || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "审批编号", "min-width": "150", "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", label: "审批状态", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("审批中")]) : 2 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("已通过")]) : 3 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v("未通过")]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "单据状态", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.documentStatus ? a2("el-tag", { attrs: { type: "info" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.documentStatus, e2.documentStatusList)))]) : 2 == t3.row.documentStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.documentStatus, e2.documentStatusList)))]) : 3 == t3.row.documentStatus ? a2("el-tag", { attrs: { type: "primary" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.documentStatus, e2.documentStatusList)))]) : 4 == t3.row.documentStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.documentStatus, e2.documentStatusList)))]) : 5 == t3.row.documentStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.documentStatus, e2.documentStatusList)))]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "测评状态", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.evaluationStatus ? a2("el-tag", { attrs: { type: "info" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.evaluationStatus, e2.evaluationStatusList)))]) : 2 == t3.row.evaluationStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.evaluationStatus, e2.evaluationStatusList)))]) : 3 == t3.row.evaluationStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.evaluationStatus, e2.evaluationStatusList)))]) : 4 == t3.row.evaluationStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.evaluationStatus, e2.evaluationStatusList)))]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "测评状态更新时间", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.evaluationUpdateTime) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "测评分数", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2.getEvaluationScoreMeta(t3.row.evaluationScore) ? a2("el-tag", { staticClass: "evaluation-score-tag", class: "evaluation-score-tag--" + e2.getEvaluationScoreMeta(t3.row.evaluationScore).level, attrs: { type: e2.getEvaluationScoreMeta(t3.row.evaluationScore).type } }, [e2._v("\n " + e2._s(e2.getEvaluationScoreMeta(t3.row.evaluationScore).display) + "\n ")]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "测评报告", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [t3.row.evaluationReport ? a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) {
|
||
return e2.seeEvaluationReport(t3.row);
|
||
} } }, [e2._v("查看报告")]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新人", "min-width": "120", "show-overflow-tooltip": "" }, 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", label: "更新时间", "min-width": "170", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updateTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "200", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.seeClick(t3.row);
|
||
} } }, [e2._v("查看")]), e2._v(" "), t3.row.interviewStatus < 4 ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.editClick(t3.row);
|
||
} } }, [e2._v("编辑")]) : e2._e(), e2._v(" "), 4 != t3.row.interviewStatus && 5 != t3.row.interviewStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.interviewClick(t3.row);
|
||
} } }, [e2._v("面试")]) : e2._e(), e2._v(" "), 3 == t3.row.interviewStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.entryClick(t3.row);
|
||
} } }, [e2._v("入职")]) : e2._e(), e2._v(" "), 1 == t3.row.interviewStatus && 1 == t3.row.evaluationStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.assessmentClick(t3.row);
|
||
} } }, [e2._v("\n 测评\n ")]) : e2._e()];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: e2.title, visible: e2.operateVisible, width: "30%", "before-close": e2.operateClose }, on: { "update:visible": function(t3) {
|
||
e2.operateVisible = t3;
|
||
} } }, [a2("el-form", { ref: "operateForm", staticClass: "demo-ruleForm", attrs: { model: e2.operateForm, rules: e2.rules, "label-width": "80px" } }, ["新增面试信息" == e2.title ? a2("el-form-item", { attrs: { label: "面试时间", prop: "interviewTime" } }, [a2("el-date-picker", { staticStyle: { width: "60%" }, attrs: { format: "yyyy-MM-dd HH:mm:ss", disabled: 3 == e2.saveData.interviewStatus, "value-format": "yyyy-MM-dd HH:mm:ss", type: "datetime", placeholder: "选择面试时间" }, model: { value: e2.operateForm.interviewTime, callback: function(t3) {
|
||
e2.$set(e2.operateForm, "interviewTime", t3);
|
||
}, expression: "operateForm.interviewTime" } })], 1) : e2._e(), e2._v(" "), "新增面试信息" == e2.title ? a2("el-form-item", { attrs: { label: "面试分数", prop: "interviewScore" } }, [a2("el-input-number", { staticStyle: { width: "60%" }, attrs: { precision: 1, "controls-position": "right", min: 0, max: 100 }, model: { value: e2.operateForm.interviewScore, callback: function(t3) {
|
||
e2.$set(e2.operateForm, "interviewScore", t3);
|
||
}, expression: "operateForm.interviewScore" } })], 1) : e2._e(), e2._v(" "), "新增面试信息" == e2.title && 3 != e2.saveData.interviewStatus ? a2("el-form-item", { attrs: { prop: "pass" } }, [a2("el-checkbox", { attrs: { "true-label": 1, "false-label": 0 }, model: { value: e2.operateForm.pass, callback: function(t3) {
|
||
e2.$set(e2.operateForm, "pass", t3);
|
||
}, expression: "operateForm.pass" } }, [e2._v("面试通过")])], 1) : e2._e(), e2._v(" "), "淘汰" == e2.title ? a2("el-form-item", { attrs: { label: "淘汰原因", prop: "obsoleteRemark" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 4, maxRows: 10 }, placeholder: "请输入原因" }, model: { value: e2.operateForm.obsoleteRemark, callback: function(t3) {
|
||
e2.$set(e2.operateForm, "obsoleteRemark", t3);
|
||
}, expression: "operateForm.obsoleteRemark" } }), e2._v(" "), a2("span", { staticStyle: { color: "#e6a23c", "font-size": "12px" } }, [a2("i", { staticClass: "el-icon-warning" }), e2._v(" 淘汰后会留有记录")])], 1) : e2._e(), e2._v(" "), "淘汰" == e2.title ? a2("el-form-item", { attrs: { label: "密码验证", prop: "password" } }, [a2("el-input", { attrs: { type: "password", placeholder: "请输入项目登录密码", clearable: "" }, model: { value: e2.operateForm.password, callback: function(t3) {
|
||
e2.$set(e2.operateForm, "password", t3);
|
||
}, expression: "operateForm.password" } })], 1) : e2._e(), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.operatePost } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { on: { click: e2.operateClose } }, [e2._v("取消")])], 1)], 1)], 1), e2._v(" "), a2("infoForm", { ref: "addInfo", attrs: { show: e2.addShow, orgList: e2.orgList, jobList: e2.jobList }, on: { close: function(t3) {
|
||
e2.addShow = false;
|
||
}, callback: e2.addCallback } }), e2._v(" "), a2("entryInfo", { ref: "entryInfo", attrs: { show: e2.entryShow, companyList: e2.companyList, orgList: e2.orgList, jobList: e2.jobList, setAgeForm: e2.setAgeForm }, on: { close: function(t3) {
|
||
e2.entryShow = false;
|
||
}, callback: e2.addCallback } }), e2._v(" "), a2("el-dialog", { attrs: { title: "简历识别", visible: e2.resumeRecognitionVisible, width: "65%", "close-on-click-modal": false, "before-close": e2.resumeRecognitionClose }, on: { "update:visible": function(t3) {
|
||
e2.resumeRecognitionVisible = t3;
|
||
} } }, [a2("div", { staticClass: "resume-upload-container" }, [a2("el-upload", { ref: "resumeUpload", staticClass: "resume-upload", attrs: { drag: "", action: "", "auto-upload": true, "http-request": e2.handleResumeUpload, "on-change": e2.handleResumeFileChange, "on-remove": e2.handleResumeFileRemove, "file-list": [], limit: 10, "on-exceed": e2.handleResumeExceed, accept: e2.acceptFileTypes, multiple: "", "show-file-list": false } }, [a2("i", { staticClass: "el-icon-upload" }), e2._v(" "), a2("div", { staticClass: "el-upload__text" }, [e2._v("将文件拖到此处,或"), a2("em", [e2._v("点击上传")])]), e2._v(" "), a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [e2._v("\n 支持图片(jpg、png、gif等)和文档(pdf、doc、docx等)格式,最多上传10个文件\n ")])]), e2._v(" "), e2.resumeFileList.length > 0 ? a2("div", { staticClass: "resume-file-list" }, e2._l(e2.resumeFileList, (function(t3, r2) {
|
||
return a2("div", { key: r2, staticClass: "resume-file-item" }, [a2("div", { staticClass: "file-info" }, [a2("i", { staticClass: "el-icon-document" }), e2._v(" "), a2("span", { staticClass: "file-name" }, [e2._v(e2._s(t3.name))]), e2._v(" "), a2("span", { staticClass: "file-size" }, [e2._v("(" + e2._s(e2.formatFileSize(t3.size)) + ")")])]), e2._v(" "), void 0 !== t3.uploadProgress ? a2("div", { staticClass: "file-progress" }, [a2("el-progress", { attrs: { percentage: t3.uploadProgress, status: t3.uploadStatus } })], 1) : e2._e(), e2._v(" "), a2("el-button", { staticClass: "remove-btn", attrs: { type: "text", icon: "el-icon-delete" }, on: { click: function(t4) {
|
||
return e2.removeResumeFile(r2);
|
||
} } })], 1);
|
||
})), 0) : e2._e()], 1), e2._v(" "), a2("div", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.resumeRecognitionClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", loading: e2.resumeSubmitting, disabled: 0 === e2.resumeFileList.length }, on: { click: e2.submitResumeRecognition } }, [e2._v("\n 提 交\n ")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "测评报告", visible: e2.evaluationReportVisible, width: "80%", "close-on-click-modal": false }, on: { "update:visible": function(t3) {
|
||
e2.evaluationReportVisible = t3;
|
||
} } }, [e2.evaluationReportContent ? a2("div", [a2("MarkdownRenderer", { attrs: { textColor: "#333", mdContent: e2.evaluationReportContent } })], 1) : a2("div", { staticStyle: { "text-align": "center", padding: "40px", color: "#999" } }, [e2._v("\n 暂无测评报告内容\n ")]), e2._v(" "), a2("div", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.evaluationReportVisible = false;
|
||
} } }, [e2._v("关 闭")])], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: (e2.assessmentQrName || "") + "-测评入口 ", visible: e2.assessmentQrVisible, width: "400px", "close-on-click-modal": false }, on: { "update:visible": function(t3) {
|
||
e2.assessmentQrVisible = t3;
|
||
}, opened: e2.renderAssessmentQr } }, [e2.assessmentQrUrl ? a2("div", { staticClass: "qr-wrap" }, [a2("div", { ref: "assessmentQr", attrs: { id: "assessmentQr" } }), e2._v(" "), a2("div", { staticClass: "qr-tip" }, [e2._v("使用手机扫码进入测评")])]) : a2("div", { staticStyle: { "text-align": "center", padding: "20px", color: "#999" } }, [e2._v("\n 暂无测评入口\n ")]), e2._v(" "), a2("div", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.assessmentQrVisible = false;
|
||
} } }, [e2._v("关 闭")])], 1)])], 1);
|
||
}, s = [], c = (a("ac67"), a("32ea"), a("9f60"), a("94f0"), a("2843"), a("4057"), a("fc02"), a("a7e5"), a("b5aa"), a("3ef1")), u = a("5821"), d = (a("e5b4"), a("1bc7"), a("0c84"), a("3e38"), a("aa18"), a("982e"), a("fda7"), a("dd26")), p = a.n(d), m = a("dce5"), f = a("f2d1"), h = a("90e7"), b = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-dialog", { attrs: { title: "候选人信息", visible: e2.show, width: "70%", "close-on-press-escape": false, "close-on-click-modal": false, "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": "110px", disabled: !e2.isEdit } }, [a2("el-row", [a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "候选城市", prop: "city" } }, [a2("el-input", { attrs: { placeholder: "请输入候选城市", clearable: "" }, model: { value: e2.dataForm.city, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "city", t3);
|
||
}, expression: "dataForm.city" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "候选项目/部门", prop: "project" } }, [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.project, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "project", t3);
|
||
}, expression: "dataForm.project" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [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" }, 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) : a2("el-select", { staticClass: "job-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.jobList2, (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: 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: "请选择民族" }, 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", "picker-options": e2.pickerOptions, placeholder: "请选择出生日期" }, on: { blur: 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: { 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: "residentialAddress" } }, [a2("el-input", { attrs: { placeholder: "请输入现住地址", clearable: "" }, model: { value: e2.dataForm.residentialAddress, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "residentialAddress", t3);
|
||
}, expression: "dataForm.residentialAddress" } })], 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: "cardNo" } }, [a2("el-input", { attrs: { placeholder: "请输入证件号", clearable: "" }, model: { value: e2.dataForm.cardNo, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "cardNo", t3);
|
||
}, expression: "dataForm.cardNo" } })], 1)], 1) : e2._e(), e2._v(" "), 1 == e2.dataForm.certificateType ? a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { label: "身份证号", prop: "cardNoID" } }, [a2("el-input", { attrs: { placeholder: "请输入身份证号", clearable: "" }, model: { value: e2.dataForm.cardNoID, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "cardNoID", t3);
|
||
}, expression: "dataForm.cardNoID" } })], 1)], 1) : e2._e(), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { 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), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "备注", prop: "remark" } }, [a2("el-input", { attrs: { type: "textarea", clearable: "" }, model: { value: e2.dataForm.remark, callback: function(t3) {
|
||
e2.$set(e2.dataForm, "remark", t3);
|
||
}, expression: "dataForm.remark" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 10 } }, [e2.isEdit ? 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, "on-preview": e2.onPreview } }, [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(" "), e2.isEdit ? e2._e() : 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)], 1)], 1)], 1)], 1), e2._v(" "), e2.isEdit ? 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.postData } }, [e2._v("确 定")])], 1) : e2._e(), e2._v(" "), e2.isEdit ? e2._e() : a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.handleClose } }, [e2._v("返回")])], 1)])], 1);
|
||
}, v = [], g = (a("8dee"), a("127f"), a("e211"));
|
||
function y(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 w(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? y(Object(a2), true).forEach((function(t3) {
|
||
Object(u["a"])(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : y(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
var _ = { props: { show: { type: Boolean, default: false }, jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] } }, data: function() {
|
||
var e2 = this, t2 = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2], a2 = ["1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2"], r2 = function(r3, o2, n2) {
|
||
if ("" === o2) return n2(new Error("请输入身份证号"));
|
||
if (o2 && 18 !== o2.length) return n2(new Error("身份证号应为18位"));
|
||
if (!/^\d{17}[\dX]$/.test(o2)) return n2(new Error("身份证号格式不正确"));
|
||
var i2 = o2.substring(6, 10), l2 = o2.substring(10, 12), s2 = o2.substring(12, 14), c2 = new Date(i2, l2 - 1, s2);
|
||
if (c2.getFullYear() !== parseInt(i2) || c2.getMonth() + 1 !== parseInt(l2) || c2.getDate() !== parseInt(s2)) return n2(new Error("出生日期无效"));
|
||
for (var u2 = 0, d2 = 0; d2 < 17; d2++) u2 += parseInt(o2.charAt(d2)) * t2[d2];
|
||
var p2 = a2[u2 % 11];
|
||
if (p2.toUpperCase() !== o2.charAt(17).toUpperCase()) return n2(new Error("身份证号校验码错误"));
|
||
e2.IDCardNoChange(), n2();
|
||
};
|
||
return { options: g["b"], nation: m["cb"], nationalityList: m["db"], maritalStatus: m["W"], politicalType: m["nb"], constellation: m["v"], zodiac: m["Ib"], provincesList: m["rb"], educationList: m["D"], IDTypeList: m["b"], dataForm: { cardNo: "", cardNoID: "" }, rules: { city: { required: true, message: "请输入候选城市", trigger: "blur" }, project: { required: true, message: "请选择项目/部门", trigger: "change" }, jobObj: { required: true, message: "请选择岗位", trigger: "change" }, name: { required: true, message: "请输入姓名", trigger: "blur" }, sex: { required: true, message: "请选择性别", trigger: "change" }, birthday: { required: true, message: "请选择出生日期", trigger: "change" }, phoneNumber: { required: true, message: "请输入手机号", trigger: "blur" }, certificateType: { required: true, message: "请选择证件类型", trigger: "change" }, cardNo: { required: true, message: "请先输入证件号", trigger: "blur" }, cardNoID: [{ required: true, validator: r2, trigger: "blur" }], residentialAddress: { required: true, message: "请输入现住地址", trigger: "blur" }, education: { required: true, message: "请选择学历", trigger: "change" }, urgentPerson: { required: true, message: "请输入紧急联系人", trigger: "blur" }, urgentPhone: { required: true, message: "请输入紧急联系电话", trigger: "blur" } }, fileList: [], uploadFileList: [], isEdit: true, jobSelect: "常用", jobList1: [], jobList2: [], pickerOptions: { disabledDate: function(e3) {
|
||
var t3 = p()(), a3 = p()(e3), r3 = t3.diff(a3, "years");
|
||
return r3 < 16 || r3 > 100;
|
||
} } };
|
||
}, mounted: function() {
|
||
this.splitJobList(this.jobList);
|
||
}, watch: { jobList: { handler: function(e2) {
|
||
var t2 = this;
|
||
if (this.splitJobList(e2), this.dataForm && this.dataForm.jobObj && this.dataForm.jobObj.id) {
|
||
var a2 = Array.isArray(e2) ? e2.find((function(e3) {
|
||
return e3.id == t2.dataForm.jobObj.id;
|
||
})) : null;
|
||
a2 && (this.jobSelect = 1 == a2.commonlyUsed ? "常用" : "其他");
|
||
}
|
||
this.$forceUpdate();
|
||
}, deep: false, immediate: true } }, methods: { onPreview: function(e2) {
|
||
console.log(e2, "file+++");
|
||
var t2 = "";
|
||
t2 = e2.url ? e2.url : e2.response && e2.response.fullUrl ? e2.response.fullUrl : e2.response && e2.response.url ? e2.response.url : "", window.open("http://www.pfile.com.cn/api/profile/onlinePreview?url=" + encodeURIComponent(t2));
|
||
}, see: function(e2, t2) {
|
||
var a2 = this;
|
||
this.fileList = [], this.dataForm = w(w({}, e2), {}, { cardNo: "", cardNoID: "" }), this.dataForm.project = e2.osId, this.dataForm.projectObj = { name: e2.osName, id: e2.osId }, this.dataForm.jobObj = { name: e2.postName, id: e2.postUuid };
|
||
var r2 = Array.isArray(this.jobList) ? this.jobList.find((function(t3) {
|
||
return t3.id == e2.postUuid;
|
||
})) : null;
|
||
if (this.jobSelect = r2 && 1 == r2.commonlyUsed ? "常用" : "其他", this.dataForm.age = this.transformAge(e2.birthday), 1 == e2.certificateType ? (this.dataForm.cardNoID = e2.certificateNo, this.IDCardNoChange()) : this.dataForm.cardNo = e2.certificateNo, e2.curriculumVitaeUrl) {
|
||
var o2 = JSON.parse(e2.curriculumVitaeUrl);
|
||
o2.map((function(e3) {
|
||
a2.fileList.push({ name: e3.fileName, url: e3.fullUrl || e3.url });
|
||
})), this.uploadFileList = JSON.parse(e2.curriculumVitaeUrl);
|
||
}
|
||
true === t2 && e2.interviewStatus < 4 ? this.isEdit = true : false === t2 && (this.isEdit = false);
|
||
}, gerArea: function(e2) {
|
||
var t2 = this;
|
||
g["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);
|
||
}));
|
||
}));
|
||
}, transformAge: function(e2) {
|
||
if (e2) {
|
||
var t2 = p()(e2).format("YYYY-MM-DD 00:00:00"), a2 = p()(t2), r2 = p()(), o2 = r2.diff(a2, "years");
|
||
return o2;
|
||
}
|
||
return "-";
|
||
}, areaChange: function(e2) {
|
||
console.log(e2, "cal++++"), e2 && 2 == e2.length ? g["a"][e2[0]].includes("市") || g["a"][e2[0]].includes("区") ? this.dataForm.city = g["a"][e2[0]] : this.dataForm.city = g["a"][e2[1]] : this.dataForm.city = "", console.log(e2, "city++++");
|
||
}, IDCardNoChange: function() {
|
||
var e2 = this.dataForm.cardNoID;
|
||
if (1 == this.dataForm.certificateType && e2) {
|
||
var t2 = "";
|
||
t2 = e2.substr(6, 8), t2 = t2.replace(/(.{4})(.{2})/, "$1-$2-"), this.dataForm.birthday = t2, this.setAge();
|
||
}
|
||
this.$forceUpdate();
|
||
}, jobSelectChange: function() {
|
||
this.dataForm.jobObj = null, this.$forceUpdate();
|
||
}, splitJobList: function(e2) {
|
||
var t2 = this;
|
||
this.jobList1 = [], this.jobList2 = [], Array.isArray(e2) && e2.forEach((function(e3) {
|
||
1 == e3.commonlyUsed ? t2.jobList1.push(e3) : t2.jobList2.push(e3);
|
||
}));
|
||
}, projectChange: function(e2) {
|
||
if (e2) {
|
||
var t2 = this.$refs["projectCascader"].getCheckedNodes();
|
||
this.dataForm.projectObj = t2[0].data;
|
||
} else this.dataForm.projectObj = "";
|
||
}, setAge: function() {
|
||
this.dataForm.birthday ? this.dataForm.age = this.transformAge(this.dataForm.birthday) : this.dataForm.age = "", this.$forceUpdate();
|
||
}, 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(c["a"])(regeneratorRuntime.mark((function e3(t3) {
|
||
var a2, r2, o2, n2, i2, l2, 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(h["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, i2 = { fileName: a2.name, fullUrl: n2, url: n2 }, t3.onSuccess(i2), 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 && (l2 = a2.uid, s2 = this.$refs.uploadFile.uploadFiles.findIndex((function(e5) {
|
||
return e5.uid == l2;
|
||
})), 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;
|
||
this.$refs["dataForm"].validate((function(t2) {
|
||
if (t2) {
|
||
var a2 = JSON.parse(window.localStorage.getItem("memberInfor")), r2 = e2.dataForm;
|
||
r2.osName = e2.dataForm.projectObj ? e2.dataForm.projectObj.name : "", r2.osId = e2.dataForm.projectObj ? e2.dataForm.projectObj.id : "", r2.postName = e2.dataForm.jobObj ? e2.dataForm.jobObj.name : "", r2.postUuid = e2.dataForm.jobObj ? e2.dataForm.jobObj.id : "", r2.curriculumVitaeUrl = e2.uploadFileList.length ? JSON.stringify(e2.uploadFileList) : "", r2.companyId = JSON.parse(window.localStorage.getItem("companyInfo")).osId, 1 == e2.dataForm.certificateType ? r2.certificateNo = e2.dataForm.cardNoID : r2.certificateNo = e2.dataForm.cardNo, e2.dataForm.id ? (r2.updaterName = a2.name, r2.updaterId = a2.id, Object(i["F"])(r2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "更新成功!", type: "success" }), e2.callbackClose());
|
||
}))) : (r2.creatorName = a2.name, r2.creatorId = a2.id, Object(i["h"])(r2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "添加成功!", type: "success" }), e2.callbackClose());
|
||
})));
|
||
}
|
||
}));
|
||
}, downloadFile: function(e2) {
|
||
var t2 = e2.url || 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.name, r2.target = "_blank", r2.click();
|
||
}, a2.send();
|
||
}, callbackClose: function() {
|
||
this.dataForm = {}, this.fileList = [], this.uploadFileList = [], this.$refs["dataForm"].resetFields(), this.$emit("callback");
|
||
}, handleClose: function() {
|
||
this.dataForm = {}, this.fileList = [], this.uploadFileList = [], this.$refs["dataForm"].resetFields(), this.$emit("close");
|
||
} } }, S = _, F = (a("dbba"), a("829d")), k = Object(F["a"])(S, b, v, false, null, "f47c5476", null), j = k.exports, C = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("el-dialog", { attrs: { title: "员工入职", visible: e2.show, width: "50%", "close-on-press-escape": false, "close-on-click-modal": false, "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": "90px" } }, [a2("el-row", [a2("el-col", { attrs: { span: 8 } }, [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: 8 } }, [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: 8 } }, [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: 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), 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)], 1), e2._v(" "), 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" }, 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: "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)], 1), e2._v(" "), a2("el-row", [a2("el-form-item", { attrs: { label: "社保缴纳信息", "label-width": "120px" } }, [a2("el-checkbox", { attrs: { disabled: 2 == e2.dataForm.security.specificWorkInjury, "true-label": 2, "false-label": 1 }, on: { change: e2.changeMedical }, model: { value: e2.dataForm.security.medical, callback: function(t3) {
|
||
e2.$set(e2.dataForm.security, "medical", t3);
|
||
}, expression: "dataForm.security.medical" } }, [e2._v("社保")]), e2._v(" "), 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" } }, [e2._v("住房公积金")]), e2._v(" "), a2("el-checkbox", { attrs: { disabled: 2 == e2.dataForm.security.medical, "true-label": 2, "false-label": 1 }, on: { change: e2.changeMedical }, model: { value: e2.dataForm.security.specificWorkInjury, callback: function(t3) {
|
||
e2.$set(e2.dataForm.security, "specificWorkInjury", t3);
|
||
}, expression: "dataForm.security.specificWorkInjury" } }, [e2._v("特定人员工伤保险")]), e2._v(" "), 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" } }, [e2._v("雇主责任险")])], 1), e2._v(" "), a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "附件", required: "" } }, [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._v(" "), a2("el-divider", { attrs: { "content-position": "left" } }, [e2._v("项目/部门信息")]), e2._v(" "), e2._l(e2.dataForm.projectList, (function(t3, r2) {
|
||
return a2("el-row", { key: r2 }, [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "入职组织", prop: "projectList." + r2 + ".project", rules: { required: true, message: "请选择入职组织", trigger: "change" } } }, [a2("el-cascader", { ref: "projectCascader", refInFor: true, attrs: { clearable: "", placeholder: "请选择项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: t3.project, callback: function(a3) {
|
||
e2.$set(t3, "project", a3);
|
||
}, expression: "items.project" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", { attrs: { label: "入职岗位", prop: "projectList." + r2 + ".jobObj", rules: { required: true, message: "请选择入职岗位", trigger: "change" } } }, [a2("el-select", { attrs: { placeholder: "请选择岗位", clearable: "", filterable: "", "value-key": "id" }, model: { value: t3.jobObj, callback: function(a3) {
|
||
e2.$set(t3, "jobObj", a3);
|
||
}, expression: "items.jobObj" } }, e2._l(e2.jobList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { staticStyle: { "padding-left": "15px" }, attrs: { span: 4 } }, [0 == r2 ? a2("el-button", { attrs: { type: "primary", icon: "el-icon-plus", circle: "" }, on: { click: e2.addProject } }) : e2._e(), e2._v(" "), r2 > 0 ? a2("el-button", { attrs: { type: "danger", icon: "el-icon-close", circle: "" }, on: { click: function(a3) {
|
||
return a3.preventDefault(), e2.removeProject(t3);
|
||
} } }) : e2._e()], 1)], 1);
|
||
}))], 2)], 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.postData } }, [e2._v("确 定")])], 1)])], 1);
|
||
}, O = [], L = { props: { show: { type: Boolean, default: false }, jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] }, setAgeForm: { default: function() {
|
||
} } }, data: function() {
|
||
return { contractType: m["x"], needBuyType2: m["eb"], options: g["b"], saveData: "", dataForm: { contractEndDate: null, retireDate: null, projectList: [{ project: "", jobObj: "" }], security: { medical: 1, housingFund: 1, employerLiability: 1, specificWorkInjury: 1 } }, rules: { entryDate: { required: true, message: "请选择入职时间", trigger: "change" }, probationMonth: { required: true, message: "请选择试用期", trigger: "change" }, contractType: { required: true, message: "请选择合同类型", trigger: "change" }, contractBegDate: { required: true, message: "请选择合同开始时间", trigger: "change" }, contractMainBody: { required: true, message: "请选择合同主体", trigger: "change" } }, fileList: [], uploadFileList: [], medicalDisabled: false };
|
||
}, mounted: function() {
|
||
}, methods: { changeMedical: function() {
|
||
2 == this.dataForm.security.medical && (this.dataForm.security.specificWorkInjury = 1), 2 == this.dataForm.security.specificWorkInjury && (this.dataForm.security.medical = 1);
|
||
}, init: function(e2) {
|
||
this.saveData = e2;
|
||
var t2 = this.$moment(e2.birthday), a2 = this.$moment(), r2 = a2.diff(t2, "years");
|
||
"number" === typeof r2 && "number" === typeof this.setAgeForm.maleAge && this.setAgeForm.maleAge > 68 && (this.medicalDisabled = true);
|
||
}, areaChange: function(e2) {
|
||
e2 ? g["a"][e2[0]].includes("市") || g["a"][e2[0]].includes("区") ? this.dataForm.city = g["a"][e2[0]] : this.dataForm.city = g["a"][e2[1]] : this.dataForm.city = "";
|
||
}, addProject: function() {
|
||
this.dataForm.projectList.push({ project: "", jobObj: "" });
|
||
}, removeProject: function(e2) {
|
||
var t2 = this.dataForm.projectList.indexOf(e2);
|
||
-1 !== t2 && this.dataForm.projectList.splice(t2, 1);
|
||
}, 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(c["a"])(regeneratorRuntime.mark((function e3(t3) {
|
||
var a2, r2, o2, n2, i2, l2, 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(h["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, i2 = { fileName: a2.name, fullUrl: n2, url: n2 }, t3.onSuccess(i2), 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 && (l2 = a2.uid, s2 = this.$refs.uploadFile.uploadFiles.findIndex((function(e5) {
|
||
return e5.uid == l2;
|
||
})), 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);
|
||
}, setData: function() {
|
||
var e2 = this;
|
||
if (!this.uploadFileList.length) return this.$message("请上传入职人员附件资料!"), false;
|
||
var t2 = [];
|
||
this.dataForm.security.insuranceCity = this.dataForm.city, this.dataForm.projectList.forEach((function(a3) {
|
||
t2.push({ osId: a3.project, postName: a3.jobObj.name, postUuid: a3.jobObj.id, memberSocialSecurityRespDTO: e2.dataForm.security });
|
||
}));
|
||
var a2 = { entryDate: this.dataForm.entryDate, probationMonth: this.dataForm.probationMonth, retireDate: this.dataForm.retireDate, contractBegDate: this.dataForm.contractBegDate, contractEndDate: this.dataForm.contractEndDate, contractMainBody: this.dataForm.contractMainBody.name, contractMainBodyId: this.dataForm.contractMainBody.id, contractType: this.dataForm.contractType, id: this.saveData.id, fileUrl: this.uploadFileList.length ? JSON.stringify(this.uploadFileList) : "", osEntryDTOList: t2 }, r2 = JSON.parse(window.localStorage.getItem("memberInfor")), o2 = { creatorId: r2.id, creatorName: r2.name, members: [a2] };
|
||
return o2;
|
||
}, postData: function() {
|
||
var e2 = this;
|
||
this.$refs["dataForm"].validate((function(t2) {
|
||
if (t2) {
|
||
if (!e2.setData()) return;
|
||
var a2 = e2.setData();
|
||
Object(i["i"])(a2).then((function(t3) {
|
||
0 == t3.code && (e2.$message({ message: "添加成功!", type: "success" }), e2.callbackClose());
|
||
}));
|
||
}
|
||
}));
|
||
}, callbackClose: function() {
|
||
this.$refs["dataForm"].resetFields(), this.fileList = [], this.uploadFileList = [], this.$emit("callback");
|
||
}, handleClose: function() {
|
||
this.$refs["dataForm"].resetFields(), this.fileList = [], this.uploadFileList = [], this.$emit("close");
|
||
} } }, x = L, I = (a("dd4d"), Object(F["a"])(x, C, O, false, null, "456e0ea0", null)), T = I.exports, $ = a("3a3b"), N = a("dedc"), q = a("e862");
|
||
function D(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 R(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? D(Object(a2), true).forEach((function(t3) {
|
||
Object(u["a"])(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : D(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
function A(e2, t2) {
|
||
var a2 = "undefined" != typeof Symbol && e2[Symbol.iterator] || e2["@@iterator"];
|
||
if (!a2) {
|
||
if (Array.isArray(e2) || (a2 = P(e2)) || t2 && e2 && "number" == typeof e2.length) {
|
||
a2 && (e2 = a2);
|
||
var r2 = 0, o2 = function() {
|
||
};
|
||
return { s: o2, n: function() {
|
||
return r2 >= e2.length ? { done: true } : { done: false, value: e2[r2++] };
|
||
}, e: function(e3) {
|
||
throw e3;
|
||
}, f: o2 };
|
||
}
|
||
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||
}
|
||
var n2, i2 = true, l2 = false;
|
||
return { s: function() {
|
||
a2 = a2.call(e2);
|
||
}, n: function() {
|
||
var e3 = a2.next();
|
||
return i2 = e3.done, e3;
|
||
}, e: function(e3) {
|
||
l2 = true, n2 = e3;
|
||
}, f: function() {
|
||
try {
|
||
i2 || null == a2.return || a2.return();
|
||
} finally {
|
||
if (l2) throw n2;
|
||
}
|
||
} };
|
||
}
|
||
function P(e2, t2) {
|
||
if (e2) {
|
||
if ("string" == typeof e2) return U(e2, t2);
|
||
var a2 = {}.toString.call(e2).slice(8, -1);
|
||
return "Object" === a2 && e2.constructor && (a2 = e2.constructor.name), "Map" === a2 || "Set" === a2 ? Array.from(e2) : "Arguments" === a2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a2) ? U(e2, t2) : void 0;
|
||
}
|
||
}
|
||
function U(e2, t2) {
|
||
(null == t2 || t2 > e2.length) && (t2 = e2.length);
|
||
for (var a2 = 0, r2 = Array(t2); a2 < t2; a2++) r2[a2] = e2[a2];
|
||
return r2;
|
||
}
|
||
var M = { components: { infoForm: j, entryInfo: T, MarkdownRenderer: $["a"] }, props: { jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
return { addShow: false, entryShow: false, politicalType: m["nb"], IDTypeList: m["b"], educationList: m["D"], candidateStatusList: m["q"], documentStatusList: m["C"], candidateSourceList: m["p"], evaluationStatusList: m["E"], options: g["b"], listLoading: false, listTable: [], pageTotal: 0, selectArea: "", bindTime: "", query: { osId: "", postUuid: "", minInterviewScore: void 0, maxInterviewScore: void 0, interviewStatus: "", evaluationStatus: "", name: "", certificateNo: "", updaterName: "", city: "", pageNumber: 1, pageSize: 10 }, saveData: "", selectList: [], title: "新增面试信息", operateForm: { interviewTime: "", pass: 0, interviewScore: void 0, password: "", obsoleteRemark: "" }, rules: { interviewTime: { required: true, message: "请选择面试时间", trigger: "change" }, interviewScore: { required: true, message: "请输入面试分数", trigger: "blur" }, obsoleteRemark: { required: true, message: "请输入淘汰原因", trigger: "blur" }, password: { required: true, message: "请输入项目登录密码", trigger: "blur" } }, operateVisible: false, importDataBtn: false, memberInfo: "", saveCanvas: "", setAgeForm: { verification: 0, womenAge: 0, maleAge: 0 }, resumeRecognitionVisible: false, resumeFileList: [], resumeSubmitting: false, acceptFileTypes: ".jpg,.jpeg,.png,.gif,.bmp,.pdf,.doc,.docx,.xls,.xlsx,.txt", resumePollingTimer: null, resumePollingCount: 0, maxPollingCount: 60, evaluationReportVisible: false, evaluationReportContent: "", peopleAgentUrl: "", assessmentQrVisible: false, assessmentQrUrl: "", assessmentQrName: "" };
|
||
}, mounted: function() {
|
||
this.getlistData(), this.qrCodeCreate(), this.getSet(), this.getPeopleAgentUrl();
|
||
}, beforeDestroy: function() {
|
||
this.clearResumePolling();
|
||
}, methods: { getEvaluationScoreMeta: function(e2) {
|
||
if (null === e2 || void 0 === e2) return null;
|
||
var t2 = String(e2).trim();
|
||
if (!t2 || "-" === t2 || "null" === t2.toLowerCase()) return null;
|
||
var a2 = Number(e2);
|
||
return Number.isFinite(a2) ? a2 >= 9 ? { level: "gold", type: "", display: t2 } : a2 >= 7 ? { level: "green", type: "success", display: t2 } : a2 >= 6 ? { level: "orange", type: "warning", display: t2 } : { level: "gray", type: "info", display: t2 } : null;
|
||
}, getPeopleAgentUrl: function() {
|
||
var e2 = this;
|
||
Object(f["c"])({ asaUuid: "c21fdb63d6674c82b5bfea1deba9ba94" }).then((function(t2) {
|
||
0 == t2.code && t2.data ? e2.peopleAgentUrl = t2.data.apiUrl : e2.peopleAgentUrl = "";
|
||
}));
|
||
}, assessmentClick: function(e2) {
|
||
if (this.peopleAgentUrl) {
|
||
var t2 = window.location.hostname, a2 = "localhost" === t2 || "127.0.0.1" === t2 || "0.0.0.0" === t2, r2 = t2 && t2.includes("test") || a2 ? "sit" : "pro";
|
||
this.assessmentQrUrl = this.peopleAgentUrl + "&id=" + e2.id + "&env=" + r2, this.assessmentQrName = e2.name || "", this.assessmentQrVisible = true;
|
||
} else this.$message({ message: "暂无测评入口,请联系项目运营师", type: "info" });
|
||
}, renderAssessmentQr: function() {
|
||
var e2 = this;
|
||
this.$nextTick((function() {
|
||
var t2 = e2.$refs.assessmentQr;
|
||
t2 && e2.assessmentQrUrl && (t2.innerHTML = "", Object(N["a"])({ size: 220, data: e2.assessmentQrUrl, canvas: t2.appendChild(document.createElement("canvas")) }));
|
||
}));
|
||
}, seeEvaluationReport: function(e2) {
|
||
e2.evaluationReport ? (this.evaluationReportContent = e2.evaluationReport, this.evaluationReportVisible = true) : this.$message({ message: "暂无测评报告", type: "info" });
|
||
}, getSet: function() {
|
||
var e2 = this, t2 = JSON.parse(localStorage.getItem("companyInfo")).osId;
|
||
Object(q["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);
|
||
}));
|
||
}, showFileOpen: function(e2) {
|
||
window.open("http://www.pfile.com.cn/api/profile/onlinePreview?url=" + encodeURIComponent(e2.fullUrl));
|
||
}, getlistData: function() {
|
||
var e2 = this, t2 = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
|
||
console.log(this.query.osId, " this.query.osId"), t2 || (this.listLoading = true), this.query.roleId = localStorage.getItem("roleId"), this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.query.updateStartTime = this.bindTime ? this.bindTime[0] : "", this.query.updateEndTime = this.bindTime ? this.bindTime[1] : "", Object(i["r"])(this.query).then((function(a2) {
|
||
if (0 == a2.code) {
|
||
if (a2.data.records.map((function(e3) {
|
||
e3.fileArr = e3.curriculumVitaeUrl ? JSON.parse(e3.curriculumVitaeUrl) : [];
|
||
})), t2) {
|
||
var r2 = e2.compareListData(a2.data.records);
|
||
r2 && (e2.pageTotal = a2.data.rowsCount, e2.listTable = a2.data.records, e2.clearResumePolling(), e2.$message({ message: "简历识别数据已更新", type: "success" }));
|
||
} else e2.pageTotal = a2.data.rowsCount, e2.listTable = a2.data.records;
|
||
e2.listLoading = false;
|
||
} else e2.listLoading = false;
|
||
})).catch((function(t3) {
|
||
e2.listLoading = false;
|
||
}));
|
||
}, compareListData: function(e2) {
|
||
var t2 = this.listTable || [];
|
||
if (e2.length !== t2.length) return true;
|
||
var a2 = /* @__PURE__ */ new Map();
|
||
t2.forEach((function(e3) {
|
||
a2.set(e3.id, { updateTime: e3.updateTime, interviewStatus: e3.interviewStatus, interviewScore: e3.interviewScore, interviewTime: e3.interviewTime });
|
||
}));
|
||
var r2, o2 = A(e2);
|
||
try {
|
||
for (o2.s(); !(r2 = o2.n()).done; ) {
|
||
var n2 = r2.value, i2 = a2.get(n2.id);
|
||
if (!i2) return true;
|
||
if (i2.updateTime !== n2.updateTime || i2.interviewStatus !== n2.interviewStatus || i2.interviewScore !== n2.interviewScore || i2.interviewTime !== n2.interviewTime) return true;
|
||
}
|
||
} catch (l2) {
|
||
o2.e(l2);
|
||
} finally {
|
||
o2.f();
|
||
}
|
||
return false;
|
||
}, selectable: function(e2, t2) {
|
||
return 4 != e2.interviewStatus && 5 != e2.interviewStatus;
|
||
}, transformAge: function(e2) {
|
||
if (e2) {
|
||
var t2 = p()(e2), a2 = p()(), r2 = a2.diff(t2, "years");
|
||
return r2;
|
||
}
|
||
return "-";
|
||
}, 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();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, areaChange: function(e2) {
|
||
e2.length ? g["a"][e2[0]].includes("市") || g["a"][e2[0]].includes("区") ? this.query.city = g["a"][e2[0]] : this.query.city = g["a"][e2[1]] : this.query.city = "";
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.selectArea = [], this.bindTime = "", this.query.city = "", this.query.minInterviewScore = void 0, this.query.maxInterviewScore = void 0, this.query.evaluationStatus = "", this.query.pageNumber = 1, this.getlistData();
|
||
}, exportTemplate: function() {
|
||
var e2 = "/static/template/candidateDataTemplate.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 || [];
|
||
}, getSelectArr: function() {
|
||
if (this.selectList.length) {
|
||
var e2 = { waitArr: [], ingArr: [], passArr: [], entryArr: [], outArr: [] };
|
||
return this.selectList.map((function(t2) {
|
||
1 == t2.interviewStatus ? e2.waitArr.push(t2) : 2 == t2.interviewStatus ? e2.ingArr.push(t2) : 3 == t2.interviewStatus ? e2.passArr.push(t2) : 4 == t2.interviewStatus ? e2.entryArr.push(t2) : e2.outArr.push(t2);
|
||
})), e2;
|
||
}
|
||
this.$message({ message: "请选择需要操作的候选人!", type: "info" });
|
||
}, entryClick: function(e2) {
|
||
this.getSet(), this.entryShow = true, this.$nextTick((function() {
|
||
this.$refs.entryInfo.init(e2);
|
||
}));
|
||
}, interviewClick: function(e2) {
|
||
this.saveData = e2, this.title = "新增面试信息", 3 == this.saveData.interviewStatus ? (this.operateForm.interviewStatus = 1, this.operateForm.interviewTime = e2.interviewTime) : (this.operateForm.interviewStatus = 0, this.operateForm.interviewTime = ""), this.$nextTick((function() {
|
||
this.operateVisible = true;
|
||
}));
|
||
}, outClick: function() {
|
||
if (this.getSelectArr()) {
|
||
var e2 = this.getSelectArr();
|
||
if (e2.entryArr.length || e2.outArr.length) return void this.$message({ message: "“已入职”和“已淘汰”人员无法进行淘汰操作,请重新选择! ", type: "info" });
|
||
this.title = "淘汰", this.operateVisible = true;
|
||
}
|
||
}, operatePost: function() {
|
||
var e2 = this;
|
||
this.$refs["operateForm"].validate((function(t2) {
|
||
if (t2) {
|
||
var a2 = JSON.parse(window.localStorage.getItem("memberInfor"));
|
||
if ("新增面试信息" == e2.title) {
|
||
var r2 = { id: e2.saveData.id, interviewTime: e2.operateForm.interviewTime, interviewScore: e2.operateForm.interviewScore, pass: e2.operateForm.pass, updaterId: a2.id, updaterName: a2.name };
|
||
e2.interviewPost(r2);
|
||
} else if ("淘汰" == e2.title) {
|
||
var o2 = [];
|
||
e2.selectList.map((function(e3) {
|
||
o2.push(e3.id);
|
||
}));
|
||
var n2 = { ids: o2, obsoleteRemark: e2.operateForm.obsoleteRemark, password: e2.operateForm.password, updaterId: a2.id, updaterName: a2.name };
|
||
e2.obsoletePost(n2);
|
||
}
|
||
}
|
||
}));
|
||
}, interviewPost: function(e2) {
|
||
var t2 = this;
|
||
Object(i["D"])(e2).then((function(e3) {
|
||
0 == e3.code && (t2.$message({ message: "更新面试信息成功!", type: "success" }), t2.operateClose(), t2.getlistData());
|
||
}));
|
||
}, obsoletePost: function(e2) {
|
||
var t2 = this;
|
||
Object(i["b"])(e2).then((function(e3) {
|
||
0 == e3.code && (t2.$message({ message: "人员淘汰成功!", type: "success" }), t2.operateClose(), t2.$refs.tableData.clearSelection(), t2.getlistData());
|
||
}));
|
||
}, operateClose: function() {
|
||
this.$refs["operateForm"].resetFields(), this.operateVisible = false;
|
||
}, addClick: function() {
|
||
this.addShow = true;
|
||
}, addCallback: function() {
|
||
this.addShow = false, this.entryShow = false, this.getlistData();
|
||
}, seeClick: function(e2) {
|
||
this.addShow = true;
|
||
var t2 = JSON.parse(JSON.stringify(e2));
|
||
this.$nextTick((function() {
|
||
this.$refs.addInfo.see(t2, false);
|
||
}));
|
||
}, editClick: function(e2) {
|
||
this.addShow = true;
|
||
var t2 = JSON.parse(JSON.stringify(e2));
|
||
this.$nextTick((function() {
|
||
this.$refs.addInfo.see(t2, true);
|
||
}));
|
||
}, importSpaceTmp: function(e2) {
|
||
var t2 = this, a2 = e2.file, r2 = a2.size / 1024 / 1024 < 20, o2 = a2.name.lastIndexOf("."), n2 = a2.name.length, l2 = a2.name.substring(o2 + 1, n2);
|
||
if ("xls" == l2 || "xlsx" == l2) 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(i["l"])(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);
|
||
}
|
||
}, qrCodeCreate: function() {
|
||
var e2 = Object(N["a"])({ size: 180, data: "".concat("https://hc-offiaccount.sqygj.cn", "/information?companyId=").concat(JSON.parse(localStorage.getItem("companyInfo")).osId) });
|
||
document.getElementById("qrCode").appendChild(e2), this.saveCanvas = e2;
|
||
}, downloadQRCode: function() {
|
||
var e2 = this.saveCanvas.toDataURL({ format: "image/png", quality: 1, width: 200, height: 200 }), t2 = document.createElement("a");
|
||
t2.download = "自主添加二维码_".concat(JSON.parse(localStorage.getItem("companyInfo")).fullName), t2.href = e2, document.body.appendChild(t2), t2.click(), document.body.removeChild(t2);
|
||
}, resumeRecognitionClick: function() {
|
||
this.resumeRecognitionVisible = true, this.resumeFileList = [];
|
||
}, closeResumeRecognitionDialog: function() {
|
||
this.resumeRecognitionVisible = false, this.resumeFileList = [], this.resumeSubmitting = false, this.clearResumePolling(), this.$refs.resumeUpload && this.$refs.resumeUpload.clearFiles();
|
||
}, resumeRecognitionClose: function(e2) {
|
||
var t2 = this;
|
||
this.resumeFileList.length > 0 ? this.$confirm("已上传".concat(this.resumeFileList.length, "个文件,关闭弹框将不保存上传内容,请确定是否关闭?"), "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
t2.closeResumeRecognitionDialog(), e2 && "function" === typeof e2 && e2();
|
||
})).catch((function() {
|
||
})) : (this.closeResumeRecognitionDialog(), e2 && "function" === typeof e2 && e2());
|
||
}, handleResumeFileChange: function(e2, t2) {
|
||
var a2 = this;
|
||
if (t2.length > 10) return this.$message.warning("最多只能上传10个文件"), void (this.resumeFileList = t2.slice(0, 10));
|
||
this.resumeFileList = t2.map((function(e3) {
|
||
var t3 = a2.resumeFileList.find((function(t4) {
|
||
return t4.uid === e3.uid;
|
||
}));
|
||
return R(R({}, e3), {}, { uploadProgress: t3 ? t3.uploadProgress : 0, uploadStatus: t3 ? t3.uploadStatus : void 0, fullUrl: t3 ? t3.fullUrl : void 0 });
|
||
}));
|
||
}, handleResumeUpload: (function() {
|
||
var e2 = Object(c["a"])(regeneratorRuntime.mark((function e3(t3) {
|
||
var a2, r2, o2, n2, i2, l2, s2 = this;
|
||
return regeneratorRuntime.wrap((function(e4) {
|
||
while (1) switch (e4.prev = e4.next) {
|
||
case 0:
|
||
return a2 = t3.file, r2 = this.resumeFileList.findIndex((function(e5) {
|
||
return e5.uid === a2.uid;
|
||
})), e4.prev = 1, -1 !== r2 && (this.$set(this.resumeFileList[r2], "uploadProgress", 0), this.$set(this.resumeFileList[r2], "uploadStatus", void 0)), o2 = new FormData(), o2.append("file", a2), e4.next = 2, Object(h["o"])(o2, { onUploadProgress: function(e5) {
|
||
if (-1 !== r2) {
|
||
var t4 = Math.round(100 * e5.loaded / e5.total);
|
||
s2.$set(s2.resumeFileList[r2], "uploadProgress", t4);
|
||
}
|
||
} });
|
||
case 2:
|
||
if (n2 = e4.sent, !n2 || !n2.data || 0 !== n2.data.code) {
|
||
e4.next = 3;
|
||
break;
|
||
}
|
||
i2 = n2.data.data.fullUrl || n2.data.data.url, -1 !== r2 && (this.$set(this.resumeFileList[r2], "uploadProgress", 100), this.$set(this.resumeFileList[r2], "uploadStatus", "success"), this.$set(this.resumeFileList[r2], "fullUrl", i2)), t3.onSuccess({ fileName: a2.name, fullUrl: i2, url: i2 }), e4.next = 4;
|
||
break;
|
||
case 3:
|
||
throw new Error(n2.data && n2.data.message || "上传失败");
|
||
case 4:
|
||
e4.next = 6;
|
||
break;
|
||
case 5:
|
||
e4.prev = 5, l2 = e4["catch"](1), console.error("文件 ".concat(a2.name, " 上传失败:"), l2), -1 !== r2 && this.$set(this.resumeFileList[r2], "uploadStatus", "exception"), t3.onError(l2), this.$message.error("文件 ".concat(a2.name, " 上传失败: ").concat(l2.message || "未知错误"));
|
||
case 6:
|
||
case "end":
|
||
return e4.stop();
|
||
}
|
||
}), e3, this, [[1, 5]]);
|
||
})));
|
||
function t2(t3) {
|
||
return e2.apply(this, arguments);
|
||
}
|
||
return t2;
|
||
})(), handleResumeFileRemove: function(e2, t2) {
|
||
this.resumeFileList = t2.map((function(e3) {
|
||
return R(R({}, e3), {}, { uploadProgress: e3.uploadProgress || 0, uploadStatus: e3.uploadStatus });
|
||
}));
|
||
}, handleResumeExceed: function(e2, t2) {
|
||
this.$message.warning("最多只能上传10个文件,请先删除部分文件后再上传");
|
||
}, removeResumeFile: function(e2) {
|
||
var t2 = this.resumeFileList[e2];
|
||
if (this.resumeFileList.splice(e2, 1), this.$refs.resumeUpload) {
|
||
var a2 = this.$refs.resumeUpload.fileList, r2 = a2.findIndex((function(e3) {
|
||
return e3.uid === t2.uid;
|
||
}));
|
||
-1 !== r2 && this.$refs.resumeUpload.handleRemove(a2[r2]);
|
||
}
|
||
}, formatFileSize: function(e2) {
|
||
return e2 < 1024 ? e2 + " B" : e2 < 1048576 ? (e2 / 1024).toFixed(2) + " KB" : (e2 / 1048576).toFixed(2) + " MB";
|
||
}, getFileType: function(e2) {
|
||
var t2 = ["jpg", "jpeg", "png", "gif", "bmp", "webp", "svg"], a2 = e2.split(".").pop().toLowerCase();
|
||
return t2.includes(a2) ? 1 : 2;
|
||
}, submitResumeRecognition: (function() {
|
||
var e2 = Object(c["a"])(regeneratorRuntime.mark((function e3() {
|
||
var t3, a2, r2, o2, n2, l2, s2, c2, u2 = this;
|
||
return regeneratorRuntime.wrap((function(e4) {
|
||
while (1) switch (e4.prev = e4.next) {
|
||
case 0:
|
||
if (t3 = this.resumeFileList.filter((function(e5) {
|
||
return e5.fullUrl;
|
||
})), 0 !== t3.length) {
|
||
e4.next = 1;
|
||
break;
|
||
}
|
||
return this.$message({ message: "请先上传文件", type: "warning" }), e4.abrupt("return");
|
||
case 1:
|
||
if (a2 = this.resumeFileList.filter((function(e5) {
|
||
return !e5.fullUrl || "exception" === e5.uploadStatus;
|
||
})), !(a2.length > 0)) {
|
||
e4.next = 2;
|
||
break;
|
||
}
|
||
return this.$message({ message: "存在上传失败的文件,请先删除或重新上传", type: "warning" }), e4.abrupt("return");
|
||
case 2:
|
||
return this.resumeSubmitting = true, e4.prev = 3, r2 = JSON.parse(window.localStorage.getItem("memberInfor")), o2 = JSON.parse(window.localStorage.getItem("companyInfo")), n2 = t3.map((function(e5) {
|
||
return { fileName: e5.name, fileUrl: e5.fullUrl, fileType: u2.getFileType(e5.name) };
|
||
})), l2 = { companyId: o2.osId, operatorId: r2.id, operatorName: r2.name, fileUrls: n2 }, e4.next = 4, Object(i["g"])(l2);
|
||
case 4:
|
||
if (s2 = e4.sent, 0 != s2.code) {
|
||
e4.next = 5;
|
||
break;
|
||
}
|
||
this.$message({ message: "简历识别提交成功!正在等待识别结果...", type: "success", duration: 3e3 }), this.closeResumeRecognitionDialog(), this.getlistData(), this.startResumePolling(), e4.next = 6;
|
||
break;
|
||
case 5:
|
||
throw new Error(s2.message || "简历识别提交失败");
|
||
case 6:
|
||
e4.next = 8;
|
||
break;
|
||
case 7:
|
||
e4.prev = 7, c2 = e4["catch"](3), console.error("简历识别提交错误:", c2), this.$message({ message: c2.message || "简历识别提交失败,请重试", type: "error" });
|
||
case 8:
|
||
return e4.prev = 8, this.resumeSubmitting = false, e4.finish(8);
|
||
case 9:
|
||
case "end":
|
||
return e4.stop();
|
||
}
|
||
}), e3, this, [[3, 7, 8, 9]]);
|
||
})));
|
||
function t2() {
|
||
return e2.apply(this, arguments);
|
||
}
|
||
return t2;
|
||
})(), startResumePolling: function() {
|
||
var e2 = this;
|
||
this.clearResumePolling(), this.resumePollingCount = 0, this.resumePollingTimer = setInterval((function() {
|
||
if (e2.resumePollingCount++, e2.resumePollingCount >= e2.maxPollingCount) return e2.clearResumePolling(), void e2.$message({ message: "简历识别轮询已超时,请手动刷新查看结果", type: "info" });
|
||
e2.getlistData(true);
|
||
}), 3e3);
|
||
}, clearResumePolling: function() {
|
||
this.resumePollingTimer && (clearInterval(this.resumePollingTimer), this.resumePollingTimer = null, this.resumePollingCount = 0);
|
||
} } }, B = M, E = (a("0edf"), Object(F["a"])(B, l, s, false, null, "25c28850", null)), z = E.exports, J = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [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: 5 } }, [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: 5 } }, [a2("el-form-item", { attrs: { prop: "certificateNo" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "证件号" }, model: { value: e2.query.certificateNo, callback: function(t3) {
|
||
e2.$set(e2.query, "certificateNo", t3);
|
||
}, expression: "query.certificateNo" } })], 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" }], ref: "tableData", attrs: { "header-cell-style": { background: "#FAFAFA" }, data: e2.listTable, align: "center", border: "" } }, [a2("el-table-column", { attrs: { align: "center", label: "姓名", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.name || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "性别", "min-width": "70", "show-overflow-tooltip": "" }, 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", label: "联系方式", "min-width": "110", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.phoneNumber || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "候选城市", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.city || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "候选项目", "min-width": "110", "show-overflow-tooltip": "" }, 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", label: "候选岗位", "min-width": "110", "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", label: "年龄", "min-width": "60", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2.transformAge(t3.row.birthday)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "民族", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.nation || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "证件类型", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.certificateType, e2.IDTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "证件号码", "min-width": "130", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.certificateNo || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "证件地址", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.certificateAddress || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "现住地址", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.certificateAddress || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "学历", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.education, e2.educationList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "政治面貌", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.politicCountenance, e2.politicalType)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "附件", "min-width": "50", "show-overflow-tooltip": "" }, 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", [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", label: "紧急联系人", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.urgentPerson || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "紧急联系电话", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.urgentPhone || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "来源", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.source, e2.candidateSourceList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "面试时间", "min-width": "170", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.interviewTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "面试状态", "min-width": "110", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "info" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 2 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 3 == t3.row.interviewStatus ? a2("el-tag", [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 4 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : 5 == t3.row.interviewStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v(e2._s(e2._f("getItemType")(t3.row.interviewStatus, e2.candidateStatusList)))]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "面试分数", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.interviewScore || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "淘汰时间", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.interviewScore || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "审批编号", "min-width": "150", "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", label: "审批状态", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [1 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("审批中")]) : 2 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("已通过")]) : 3 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "danger" } }, [e2._v("未通过")]) : a2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新人", "min-width": "120", "show-overflow-tooltip": "" }, 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", label: "更新时间", "min-width": "170", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.updateTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "80", fixed: "right" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.seeClick(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.pageTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)])]), e2._v(" "), a2("infoForm", { ref: "addInfo", attrs: { show: e2.addShow, orgList: e2.orgList, jobList: e2.jobList }, on: { close: function(t3) {
|
||
e2.addShow = false;
|
||
} } })], 1);
|
||
}, V = [function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [e2._v("淘汰名单列表")])]);
|
||
}], Q = { components: { infoForm: j }, props: { jobList: { type: Array, default: [] }, orgList: { type: Array, default: [] }, companyList: { type: Array, default: [] } }, data: function() {
|
||
return { addShow: false, politicalType: m["nb"], IDTypeList: m["b"], educationList: m["D"], candidateStatusList: m["q"], candidateSourceList: m["p"], listLoading: false, listTable: [], pageTotal: 0, query: { name: "", certificateNo: "", interviewStatus: 5, pageNumber: 1, pageSize: 10 } };
|
||
}, 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(i["r"])(this.query).then((function(t2) {
|
||
0 == t2.code ? (t2.data.records.map((function(e3) {
|
||
e3.fileArr = e3.curriculumVitaeUrl ? JSON.parse(e3.curriculumVitaeUrl) : [];
|
||
})), e2.pageTotal = t2.data.rowsCount, e2.listTable = t2.data.records, e2.listLoading = false) : e2.listLoading = false;
|
||
})).catch((function(t2) {
|
||
e2.listLoading = false;
|
||
}));
|
||
}, transformAge: function(e2) {
|
||
if (e2) {
|
||
var t2 = p()(e2), a2 = p()(), r2 = a2.diff(t2, "years");
|
||
return r2;
|
||
}
|
||
return "-";
|
||
}, 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();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getlistData();
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getlistData();
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getlistData();
|
||
}, seeClick: function(e2) {
|
||
this.addShow = true;
|
||
var t2 = JSON.parse(JSON.stringify(e2));
|
||
this.$nextTick((function() {
|
||
this.$refs.addInfo.see(t2);
|
||
}));
|
||
} } }, H = Q, W = (a("9faf"), Object(F["a"])(H, J, V, false, null, "7e0a7dbd", null)), X = W.exports, Y = { components: { waitList: z, outList: X }, data: function() {
|
||
return { activeName: "wait", jobList: [], organizeList: [], companyList: [] };
|
||
}, 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(i["o"])({ id: JSON.parse(localStorage.getItem("companyInfo")).osId }).then((function(t2) {
|
||
0 == t2.code && (e2.companyList = t2.data);
|
||
}));
|
||
}, handleClick: function(e2) {
|
||
var t2 = e2.paneName;
|
||
this.activeName = t2;
|
||
} } }, G = Y, K = (a("da82"), Object(F["a"])(G, r, o, false, null, null, null));
|
||
t["default"] = K.exports;
|
||
}, "0edf": function(e, t, a) {
|
||
"use strict";
|
||
a("56f6");
|
||
}, "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());
|
||
};
|
||
}, "2d00": function(e, t, a) {
|
||
}, "3e38": function(e, t, a) {
|
||
"use strict";
|
||
var r = a("98de"), o = a("0b28"), n = "Map";
|
||
e.exports = a("0bca")(n, (function(e2) {
|
||
return function() {
|
||
return e2(this, arguments.length > 0 ? arguments[0] : void 0);
|
||
};
|
||
}), { get: function(e2) {
|
||
var t2 = r.getEntry(o(this, n), e2);
|
||
return t2 && t2.v;
|
||
}, set: function(e2, t2) {
|
||
return r.def(o(this, n), 0 === e2 ? 0 : e2, t2);
|
||
} }, r, true);
|
||
}, 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 i;
|
||
})), a.d(t, "l", (function() {
|
||
return l;
|
||
})), 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 d;
|
||
})), a.d(t, "b", (function() {
|
||
return p;
|
||
})), a.d(t, "p", (function() {
|
||
return m;
|
||
})), a.d(t, "D", (function() {
|
||
return f;
|
||
})), a.d(t, "B", (function() {
|
||
return h;
|
||
})), a.d(t, "q", (function() {
|
||
return b;
|
||
})), a.d(t, "c", (function() {
|
||
return v;
|
||
})), a.d(t, "s", (function() {
|
||
return g;
|
||
})), a.d(t, "i", (function() {
|
||
return y;
|
||
})), a.d(t, "n", (function() {
|
||
return w;
|
||
})), a.d(t, "a", (function() {
|
||
return _;
|
||
})), a.d(t, "g", (function() {
|
||
return S;
|
||
})), a.d(t, "d", (function() {
|
||
return F;
|
||
})), a.d(t, "f", (function() {
|
||
return k;
|
||
})), a.d(t, "C", (function() {
|
||
return j;
|
||
})), a.d(t, "m", (function() {
|
||
return C;
|
||
})), a.d(t, "y", (function() {
|
||
return O;
|
||
})), a.d(t, "r", (function() {
|
||
return L;
|
||
})), a.d(t, "e", (function() {
|
||
return x;
|
||
})), a.d(t, "z", (function() {
|
||
return I;
|
||
})), a.d(t, "A", (function() {
|
||
return T;
|
||
})), a.d(t, "h", (function() {
|
||
return $;
|
||
})), a.d(t, "k", (function() {
|
||
return N;
|
||
}));
|
||
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 i(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: e2 });
|
||
}
|
||
function l(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 d(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/company/member/create", method: "post", data: e2 });
|
||
}
|
||
function m(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 h(e2) {
|
||
return Object(r["a"])({ url: "/company/member/suspendMember", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/enterprise/os/memberQuit/".concat(e2.memberUuid), method: "post" });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/create", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/update", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/company/member/getList", method: "POST", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/company/member/queryByStaff", method: "POST", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/company/member/memberQuit", method: "POST", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: e2 });
|
||
}
|
||
function $(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: e2 });
|
||
}
|
||
}, 4975: function(e, t, a) {
|
||
}, "56f6": function(e, t, a) {
|
||
}, 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 i;
|
||
})), a.d(t, "D", (function() {
|
||
return l;
|
||
})), 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 d;
|
||
})), a.d(t, "s", (function() {
|
||
return p;
|
||
})), a.d(t, "p", (function() {
|
||
return m;
|
||
})), a.d(t, "q", (function() {
|
||
return f;
|
||
})), a.d(t, "t", (function() {
|
||
return h;
|
||
})), a.d(t, "w", (function() {
|
||
return b;
|
||
})), a.d(t, "u", (function() {
|
||
return v;
|
||
})), a.d(t, "z", (function() {
|
||
return g;
|
||
})), a.d(t, "B", (function() {
|
||
return y;
|
||
})), a.d(t, "v", (function() {
|
||
return w;
|
||
})), a.d(t, "x", (function() {
|
||
return _;
|
||
})), a.d(t, "C", (function() {
|
||
return S;
|
||
})), a.d(t, "y", (function() {
|
||
return F;
|
||
})), a.d(t, "f", (function() {
|
||
return k;
|
||
})), a.d(t, "c", (function() {
|
||
return j;
|
||
})), a.d(t, "d", (function() {
|
||
return C;
|
||
})), a.d(t, "e", (function() {
|
||
return O;
|
||
})), a.d(t, "G", (function() {
|
||
return L;
|
||
})), a.d(t, "n", (function() {
|
||
return x;
|
||
})), a.d(t, "a", (function() {
|
||
return I;
|
||
})), a.d(t, "m", (function() {
|
||
return T;
|
||
})), a.d(t, "k", (function() {
|
||
return $;
|
||
})), a.d(t, "j", (function() {
|
||
return N;
|
||
})), a.d(t, "A", (function() {
|
||
return q;
|
||
})), a.d(t, "E", (function() {
|
||
return D;
|
||
})), a.d(t, "g", (function() {
|
||
return R;
|
||
}));
|
||
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 i(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/update", method: "post", data: e2 });
|
||
}
|
||
function l(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 d(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/Candidate/entry", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/company/member/pageListByCompany", method: "post", data: e2 });
|
||
}
|
||
function m(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 h(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/pageList", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitBatch", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/positiveBatch", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/renewBatch", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/transferBatch", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitApplyBatch", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quit", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/updateCommunicationRecord", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitRejectBatch", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/blockBatch", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/create", method: "post", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/pageList", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/revoke", method: "post", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/updateRealQuitDate", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/listByMemberId", method: "post", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/appointBatch", method: "post", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/DataAccidentPastMember/pageListByCompany", method: "post", data: e2 });
|
||
}
|
||
function $(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/DataAccidentPastMember/followUp", method: "post", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/company/member/exportMember", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function q(e2) {
|
||
return Object(r["a"])({ url: "/company/member/roleOsList", method: "post", data: e2 });
|
||
}
|
||
function D(e2) {
|
||
return Object(r["a"])({ url: "/company/member/updateMobile", method: "post", data: e2 });
|
||
}
|
||
function R(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 i;
|
||
})), a.d(t, "l", (function() {
|
||
return l;
|
||
})), 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 d;
|
||
})), a.d(t, "c", (function() {
|
||
return p;
|
||
})), a.d(t, "e", (function() {
|
||
return m;
|
||
})), a.d(t, "d", (function() {
|
||
return f;
|
||
})), a.d(t, "i", (function() {
|
||
return h;
|
||
})), a.d(t, "j", (function() {
|
||
return b;
|
||
})), a.d(t, "o", (function() {
|
||
return v;
|
||
})), a.d(t, "k", (function() {
|
||
return g;
|
||
}));
|
||
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 i(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: e2 });
|
||
}
|
||
function l(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 d(e2) {
|
||
return Object(r["a"])({ url: "/company/ProjectSatisfactionConfig/update", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: e2 });
|
||
}
|
||
function m(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 h(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/pageList", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/updateExponentByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function v(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 g(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
}, "9ead": function(e, t, a) {
|
||
}, "9faf": function(e, t, a) {
|
||
"use strict";
|
||
a("4975");
|
||
}, ad02: function(e, t, a) {
|
||
}, da82: function(e, t, a) {
|
||
"use strict";
|
||
a("2d00");
|
||
}, dbba: function(e, t, a) {
|
||
"use strict";
|
||
a("9ead");
|
||
}, dd4d: function(e, t, a) {
|
||
"use strict";
|
||
a("ad02");
|
||
}, 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 i;
|
||
})), a.d(t, "f", (function() {
|
||
return l;
|
||
})), 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 d;
|
||
})), a.d(t, "b", (function() {
|
||
return p;
|
||
}));
|
||
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 i(e2) {
|
||
return Object(r["a"])({ url: "/company/organizationalStructure/updateAgeConf", method: "post", data: e2 });
|
||
}
|
||
function l(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 d(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/stop", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/hakocompany/ProjectImageManagement/deleteBatch", method: "post", data: e2 });
|
||
}
|
||
}, fda7: function(e, t, a) {
|
||
var r = a("e99b"), o = a("0b34").isFinite;
|
||
r(r.S, "Number", { isFinite: function(e2) {
|
||
return "number" == typeof e2 && o(e2);
|
||
} });
|
||
} }]);
|