(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-5cbaed2a"], { "07db": function(e, t, a) { }, "0d1b": function(e, t, a) { }, "10f4": 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: "leave" } }, ["leave" === e2.activeName ? a2("leaveList", { ref: "leaveList", attrs: { orgList: e2.organizeList, jobList: e2.jobList } }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "黑名单库", name: "block" } }, ["block" === e2.activeName ? a2("blackList", { ref: "blackList", attrs: { orgList: e2.organizeList } }) : e2._e()], 1)], 1)], 1)]); }, n = [], o = (a("a450"), a("e680"), a("4513")), 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: 20 } }, [a2("el-col", { attrs: { span: 21 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "osId" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", placeholder: "项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: e2.query.osId, callback: function(t3) { e2.$set(e2.query, "osId", t3); }, expression: "query.osId" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "姓名" }, model: { value: e2.query.name, callback: function(t3) { e2.$set(e2.query, "name", t3); }, expression: "query.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "idNumber" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "证件号" }, model: { value: e2.query.idNumber, callback: function(t3) { e2.$set(e2.query, "idNumber", t3); }, expression: "query.idNumber" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "approveStatus" } }, [a2("el-select", { attrs: { placeholder: "申请状态", clearable: "" }, model: { value: e2.query.approveStatus, callback: function(t3) { e2.$set(e2.query, "approveStatus", t3); }, expression: "query.approveStatus" } }, [a2("el-option", { attrs: { label: "申请中", value: 0 } }), e2._v(" "), a2("el-option", { attrs: { label: "审批中", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "已批准", value: 2 } }), e2._v(" "), a2("el-option", { attrs: { label: "已驳回", value: 3 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "approveType" } }, [a2("el-select", { attrs: { placeholder: "结果来源", clearable: "" }, model: { value: e2.query.approveType, callback: function(t3) { e2.$set(e2.query, "approveType", t3); }, expression: "query.approveType" } }, [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: 12 } }, [a2("el-form-item", { attrs: { prop: "postUuid" } }, [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.leaveTime, callback: function(t3) { e2.leaveTime = t3; }, expression: "leaveTime" } })], 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-button", { attrs: { type: "danger" }, on: { click: e2.rejectAllClick } }, [e2._v("批量驳回")]), e2._v(" "), a2("el-button", { attrs: { type: "info" }, on: { click: e2.blackAllClick } }, [e2._v("批量拉黑")])], 1)]), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "tableData", attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark", "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", "min-width": "100", "show-overflow-tooltip": "", label: "姓名" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.name || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "性别" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(1 == t3.row.sex ? "男" : 2 == t3.row.sex ? "女" : "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", "min-width": "120", label: "项目/部门" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.osName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "岗位", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.postName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "证件类型" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.certificateType, e2.IDTypeList)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "180", label: "证件号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.idNumber || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "入职时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.entryDate ? t3.row.changeDate.substring(0, 10) : "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "离职原因", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.quitReason, e2.departReasonList)) + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "谈话记录", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [t3.row.communicationRecord ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.talkListClick(t3.row.communicationRecord); } } }, [e2._v("查看")]) : a2("span", [e2._v("-")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "申请状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [0 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("申请中")]) : 1 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "primary" } }, [e2._v("审批中")]) : 2 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("已批准")]) : 3 == t3.row.approveStatus ? a2("el-tag", { attrs: { type: "info" } }, [e2._v("已驳回")]) : e2._e()]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "用工状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [0 == t3.row.onJobState ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("试用")]) : 1 == t3.row.onJobState ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("在职")]) : 2 == t3.row.onJobState ? a2("el-tag", { attrs: { type: "info" } }, [e2._v("离职")]) : e2._e()]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "账号状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [1 == t3.row.isStop ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("正常")]) : 0 == t3.row.isStop ? a2("el-tag", { attrs: { type: "warning" } }, [e2._v("暂停")]) : e2._e()]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "80", label: "黑名单" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(1 == t3.row.blacklist ? "是" : "否") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "结果来源", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(1 == t3.row.approveType ? "人工操作" : 2 == t3.row.approveType ? "企微审批" : "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "120", label: "审批编号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.approveNo || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "140", label: "实际离职日期" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [2 == t3.row.approveStatus && 0 == t3.row.isStop ? a2("div", [a2("span", [e2._v(e2._s(t3.row.realQuitDate ? t3.row.realQuitDate.substring(0, 10) : "-"))]), e2._v(" "), a2("el-popover", { ref: "popover-" + t3.$index, attrs: { placement: "right", trigger: "click" } }, [a2("el-date-picker", { attrs: { type: "date", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 00:00:00", placeholder: "选择日期" }, model: { value: e2.newTime, callback: function(t4) { e2.newTime = t4; }, expression: "newTime" } }), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.confirmNewDate(t3.row, t3.$index); } } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.newDateEsc(t3.$index); } } }, [e2._v("取消")]), e2._v(" "), a2("el-button", { attrs: { slot: "reference", type: "text" }, on: { click: function(a3) { return e2.setNewDate(t3.row); } }, slot: "reference" }, [a2("i", { staticClass: "el-icon-edit" })])], 1)], 1) : a2("span", [e2._v("-")])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "100", label: "提交人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.creatorName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "提交时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "170", label: "更新时间" }, 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", width: "160", fixed: "right", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [0 == t3.row.approveStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.checkClick(t3.row); } } }, [e2._v("审批")]) : e2._e(), e2._v(" "), 0 == t3.row.approveStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.talkClick(t3.row); } } }, [e2._v("谈话")]) : e2._e(), e2._v(" "), 0 == t3.row.approveStatus ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.rejectClick(t3.row); } } }, [e2._v("驳回")]) : e2._e(), e2._v(" "), 2 != t3.row.approveStatus || 2 == t3.row.onJobState && 0 == t3.row.isStop ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.departCheck(t3.row); } } }, [e2._v("离职确认")]), e2._v(" "), 2 == t3.row.approveStatus && 1 != t3.row.blacklist ? a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return e2.blackClick(t3.row); } } }, [e2._v("拉黑")]) : e2._e()]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", background: "", total: e2.pageTotal }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)]), e2._v(" "), a2("checkDialog", { ref: "checkdialog", attrs: { show: e2.showCheck, orgList: e2.orgList, jobList: e2.jobList }, on: { close: e2.checkClose, callback: e2.checkCallback } }), e2._v(" "), a2("blackDialog", { ref: "blackDialog", attrs: { show: e2.showBlack }, on: { close: e2.checkClose, callback: e2.checkCallback } }), e2._v(" "), a2("el-dialog", { attrs: { title: "谈话记录", "close-on-click-modal": false, "close-on-press-escape": false, visible: e2.showTalk, width: "30%", "before-close": e2.handleClose }, on: { "update:visible": function(t3) { e2.showTalk = t3; } } }, [a2("div", [a2("el-form", { ref: "talkForm", attrs: { model: e2.talkForm, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "谈话时间", prop: "dateData", rules: { required: true, message: "请选择谈话时间", trigger: "change" } } }, [a2("el-date-picker", { staticStyle: { width: "100%" }, attrs: { format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", type: "datetime", placeholder: "选择日期时间" }, model: { value: e2.talkForm.dateData, callback: function(t3) { e2.$set(e2.talkForm, "dateData", t3); }, expression: "talkForm.dateData" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "谈话内容", prop: "desc", rules: { required: true, message: "请输入谈话内容", trigger: "blur" } } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 4, maxRows: 8 }, maxlength: "1000", "show-word-limit": "" }, model: { value: e2.talkForm.desc, callback: function(t3) { e2.$set(e2.talkForm, "desc", t3); }, expression: "talkForm.desc" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.postTalkInfo } }, [e2._v("提交")]), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取消")])], 1)], 1)], 1)]), e2._v(" "), a2("el-dialog", { attrs: { title: "谈话记录", visible: e2.showTalkList, width: "35%" }, on: { "update:visible": function(t3) { e2.showTalkList = t3; } } }, [a2("div", { staticStyle: { "max-height": "550px", overflow: "auto" } }, [a2("el-timeline", e2._l(e2.talkList, (function(t3, r2) { return a2("el-timeline-item", { key: r2, attrs: { type: "primary", timestamp: t3.time } }, [a2("span", { staticStyle: { "white-space": "pre-line", "line-height": "1.5" } }, [e2._v(e2._s(t3.txt))])]); })), 1)], 1)])], 1); }, i = [], s = a("dce5"), c = a("333d"), u = a("7321"), d = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("el-dialog", { attrs: { title: "代发起离职", visible: e2.show, width: "40%", "before-close": e2.handleClose }, on: { "update:visible": function(t3) { e2.show = t3; } } }, [a2("div", { staticClass: "info-data" }, [a2("el-form", { ref: "dataForm", attrs: { model: e2.dataForm, rules: e2.rules, "label-width": "110px" } }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "类型编号", prop: "approveTypeNumber" } }, [a2("div", { staticClass: "check-content" }, [a2("el-input", { attrs: { placeholder: "审批类型编号", disabled: true, clearable: "" }, model: { value: e2.dataForm.approveTypeNumber, callback: function(t3) { e2.$set(e2.dataForm, "approveTypeNumber", t3); }, expression: "dataForm.approveTypeNumber" } }), e2._v(" "), a2("el-tooltip", { staticClass: "item check-tips", attrs: { effect: "dark", content: "1", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-info" })])], 1)])], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "离职申请人", prop: "name" } }, [a2("el-input", { attrs: { disabled: "" }, model: { value: e2.dataForm.name, callback: function(t3) { e2.$set(e2.dataForm, "name", t3); }, expression: "dataForm.name" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "入职时间", prop: "entryDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "入职时间", disabled: "" }, 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: 12 } }, [a2("el-form-item", { attrs: { label: "工作岗位", prop: "postUuid" } }, [a2("el-select", { attrs: { placeholder: "工作岗位", disabled: "" }, model: { value: e2.dataForm.postUuid, callback: function(t3) { e2.$set(e2.dataForm, "postUuid", t3); }, expression: "dataForm.postUuid" } }, e2._l(e2.jobList, (function(e3) { return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } }); })), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "所属部门", prop: "osId" } }, [a2("el-cascader", { ref: "projectCascader", attrs: { clearable: "", disabled: "", placeholder: "项目/部门", options: e2.orgList, filterable: "", props: { label: "nameTxt", value: "id", children: "childs", checkStrictly: true, emitPath: false } }, model: { value: e2.dataForm.osId, callback: function(t3) { e2.$set(e2.dataForm, "osId", t3); }, expression: "dataForm.osId" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "申请离职日期", prop: "quitApplyDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", type: "date", placeholder: "申请离职日期" }, model: { value: e2.dataForm.quitApplyDate, callback: function(t3) { e2.$set(e2.dataForm, "quitApplyDate", t3); }, expression: "dataForm.quitApplyDate" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "预计离职日期", prop: "preQuitDate" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 00:00:00", type: "date", placeholder: "预计离职日期" }, model: { value: e2.dataForm.preQuitDate, callback: function(t3) { e2.$set(e2.dataForm, "preQuitDate", t3); }, expression: "dataForm.preQuitDate" } })], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "离职原因", prop: "quitReason" } }, [a2("el-select", { attrs: { placeholder: "选择离职原因", clearable: "" }, model: { value: e2.dataForm.quitReason, callback: function(t3) { e2.$set(e2.dataForm, "quitReason", t3); }, expression: "dataForm.quitReason" } }, e2._l(e2.departReasonList, (function(e3) { return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1)], 1), e2._v(" "), a2("el-row", [a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "离职说明", prop: "remark" } }, [a2("el-input", { attrs: { type: "textarea", autosize: { minRows: 2, maxRows: 4 }, placeholder: "离职说明" }, 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: 24 } }, [a2("el-form-item", { attrs: { label: "附件" } }, [a2("el-upload", { ref: "uploadFile", staticClass: "upload-demo", attrs: { action: "", "on-exceed": e2.exceedUpload, "before-upload": e2.beforeUpload, "http-request": e2.uploadRequest, "on-success": e2.uploadSuccess, "on-remove": e2.uploadRemove, multiple: "", limit: 9, "file-list": e2.fileList } }, [a2("el-button", { attrs: { size: "small", type: "primary" } }, [e2._v("点击上传")]), e2._v(" "), a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [e2._v("只能上传图片和文档,图片不超过2M,文档不超过10M")])], 1)], 1)], 1)], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.postOperate } }, [e2._v("确 定")]), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取 消")])], 1)], 1)], 1)])], 1); }, p = [], m = (a("a7e5"), a("b5aa"), a("3ef1")), f = (a("aa18"), a("982e"), a("127f"), a("90e7")), h = { props: { show: { type: Boolean, default: false }, orgList: { type: Array, default: [] }, jobList: { type: Array, default: [] } }, data: function() { return { departReasonList: s["B"], dataForm: { approveTypeNumber: 1 }, rules: { approveTypeNumber: { required: true, message: "请输入审批类型", trigger: "blur" }, quitApplyDate: { required: true, message: "请选择申请离职日期", trigger: "change" }, preQuitDate: { required: true, message: "请选择预计离职日期", trigger: "change" }, quitReason: { required: true, message: "请选择离职原因", trigger: "change" } }, fileList: [], uploadFileList: [] }; }, mounted: function() { }, methods: { init: function(e2) { this.dataForm = JSON.parse(JSON.stringify(e2)), this.dataForm.quitApplyDate = e2.changeDate, this.dataForm.approveTypeNumber = 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"], n2 = ["xls", "xlsx", "doc", "docx", "ppt", "pptx", "pdf", "txt"], o2 = e2.name.substring(e2.name.lastIndexOf(".") + 1).toLowerCase(); return r2.includes(o2) || n2.includes(o2) ? r2.includes(o2) && !a2 ? (this.$message("图片文件最大不超过2M"), false) : !(n2.includes(o2) && !t2) || (this.$message("文档文件最大不超过10M"), false) : (this.$message("上传文件只能是图片或文档,如:jpg、jpeg、png、doc、pdf、xls、txt等格式!"), false); }, uploadRequest: (function() { var e2 = Object(m["a"])(regeneratorRuntime.mark((function e3(t3) { var a2, r2, n2, o2, l2, i2, s2, c2; return regeneratorRuntime.wrap((function(e4) { while (1) switch (e4.prev = e4.next) { case 0: return a2 = t3.file, e4.prev = 1, r2 = new FormData(), r2.append("file", a2), e4.next = 2, Object(f["o"])(r2); case 2: if (n2 = e4.sent, !n2 || !n2.data || 0 !== n2.data.code) { e4.next = 3; break; } o2 = n2.data.data.fullUrl || n2.data.data.url, l2 = { fileName: a2.name, fullUrl: o2, url: o2 }, t3.onSuccess(l2), this.$message.success("文件上传成功"), e4.next = 4; break; case 3: throw new Error(n2.data.message || "上传失败"); case 4: e4.next = 6; break; case 5: e4.prev = 5, c2 = e4["catch"](1), console.error("上传失败:", c2), this.$message.error("文件上传失败: ".concat(c2.message || "未知错误")), this.$refs.uploadFile && (i2 = a2.uid, s2 = this.$refs.uploadFile.uploadFiles.findIndex((function(e5) { return e5.uid == i2; })), s2 > -1 && this.$refs.uploadFile.uploadFiles.splice(s2, 1)); case 6: case "end": return e4.stop(); } }), e3, this, [[1, 5]]); }))); function t2(t3) { return e2.apply(this, arguments); } return t2; })(), uploadSuccess: function(e2) { e2 && this.uploadFileList.push(e2), console.log(this.uploadFileList); }, uploadRemove: function(e2) { var t2 = this.uploadFileList.findIndex((function(t3) { return t3.fileName === e2.name; })); t2 > -1 && this.uploadFileList.splice(t2, 1); }, postOperate: function() { var e2 = this; this.$refs["dataForm"].validate((function(t2) { if (t2) { var a2 = JSON.parse(window.localStorage.getItem("memberInfor")), r2 = { id: e2.dataForm.id, companyId: e2.dataForm.companyId, approveTypeNumber: e2.dataForm.approveTypeNumber, preQuitDate: e2.dataForm.preQuitDate, quitApplyDate: e2.dataForm.quitApplyDate, quitReason: e2.dataForm.quitReason, remark: e2.dataForm.remark, fileUrl: e2.uploadFileList.length ? JSON.stringify(e2.uploadFileList) : "", approveType: 1, creatorId: a2.id, creatorName: a2.name }; console.log(r2), Object(u["v"])(r2).then((function(t3) { 0 == t3.code && (e2.$message({ message: "操作成功!", type: "success" }), e2.callbackClose()); })); } })); }, callbackClose: function() { var e2 = this; this.fileList = [], this.uploadFileList = [], this.dataForm = {}, this.$nextTick((function() { e2.$refs["dataForm"].resetFields(); })), this.$emit("callback"); }, handleClose: function() { var e2 = this; this.fileList = [], this.uploadFileList = [], this.dataForm = {}, this.$nextTick((function() { e2.$refs["dataForm"].resetFields(); })), this.$emit("close"); } } }, b = h, y = (a("268f"), a("829d")), g = Object(y["a"])(b, d, p, false, null, "55c30b7c", null), v = g.exports, k = function() { var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2; return a2("div", [a2("el-dialog", { attrs: { title: e2.title, visible: e2.show, width: "40%", "before-close": e2.handleClose }, on: { "update:visible": function(t3) { e2.show = t3; } } }, ["list" == e2.formType ? a2("el-alert", { attrs: { title: "提示:正在将下列名单转为黑名单", type: "warning", "show-icon": "", closable: false } }) : e2._e(), e2._v(" "), a2("div", { staticClass: "info-data" }, [a2("el-form", { ref: "dataForm", attrs: { model: e2.dataForm, rules: e2.rules, "label-width": "80px" } }, ["obj" == e2.formType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "姓名", prop: "name" } }, [a2("el-input", { model: { value: e2.dataForm.name, callback: function(t3) { e2.$set(e2.dataForm, "name", t3); }, expression: "dataForm.name" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), "obj" == e2.formType ? a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [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: 12 } }, [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: 12 } }, [a2("el-form-item", { attrs: { label: "证件类型", prop: "certificateType" } }, [a2("el-select", { attrs: { 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(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "证件号码", prop: "idNumber" } }, [a2("el-input", { attrs: { placeholder: "证件号码", clearable: "" }, model: { value: e2.dataForm.idNumber, callback: function(t3) { e2.$set(e2.dataForm, "idNumber", t3); }, expression: "dataForm.idNumber" } })], 1)], 1)], 1) : e2._e(), e2._v(" "), "list" == e2.formType ? a2("el-row", e2._l(e2.listArr, (function(t3, r2) { return a2("el-col", { key: r2, attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "人员" + (r2 + 1) } }, [e2._v(e2._s(t3.name + " / " + t3.idNumber)), a2("span")])], 1); })), 1) : e2._e(), e2._v(" "), a2("el-col", { attrs: { span: 24 } }, [a2("el-form-item", { attrs: { label: "标签", prop: "tagList" } }, [a2("el-checkbox-group", { attrs: { max: 2 }, model: { value: e2.dataForm.tagList, callback: function(t3) { e2.$set(e2.dataForm, "tagList", t3); }, expression: "dataForm.tagList" } }, e2._l(e2.blacklistTagsList, (function(e3, t3) { return a2("el-checkbox", { key: t3, attrs: { label: e3.label } }); })), 1)], 1)], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.postBlacklist } }, [e2._v("确 定")]), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取 消")])], 1)], 1)], 1)], 1)], 1); }, _ = [], w = (a("1bc7"), { props: { show: { type: Boolean, default: false } }, data: function() { return { IDTypeList: s["b"], blacklistTagsList: s["l"], title: "转黑名单", formType: "", listArr: [], dataForm: { name: "", sex: "", phoneNumber: "", certificateType: "", idNumber: "", tagList: [] }, rules: { name: { required: true, message: "请输入姓名", trigger: "blur" }, sex: { required: true, message: "请选择性别", trigger: "change" }, certificateType: { required: true, message: "请选择证件类型", trigger: "change" }, idNumber: { required: true, message: "请输入证件号码", trigger: "blur" }, tagList: { required: true, message: "请选择标签", trigger: "change" } } }; }, mounted: function() { }, methods: { init: function(e2, t2) { this.formType = t2, "list" == this.formType ? (this.title = "转黑名单", this.listArr = e2) : "obj" == this.formType && (this.title = "登记黑名单", this.listArr = []); }, postBlacklist: function() { var e2 = this; this.$refs["dataForm"].validate((function(t2) { if (t2) { var a2 = JSON.parse(window.localStorage.getItem("memberInfor")); console.log(a2); var r2 = {}; if ("list" == e2.formType) { var n2 = []; e2.listArr.forEach((function(e3) { n2.push(e3.id); })), r2.ids = n2, r2.companyId = a2.companyId, r2.tags = e2.dataForm.tagList.join(","), r2.creatorId = a2.id, r2.creatorName = a2.name, Object(u["f"])(r2).then((function(t3) { 0 == t3.code && (e2.$message({ message: "操作成功!", type: "success" }), e2.callbackClose()); })); } else "obj" == e2.formType && (r2.name = e2.dataForm.name, r2.sex = e2.dataForm.sex, r2.phoneNumber = e2.dataForm.phoneNumber, r2.certificateType = e2.dataForm.certificateType, r2.certificateNo = e2.dataForm.idNumber, r2.creatorId = a2.id, r2.creatorName = a2.name, r2.companyId = a2.companyId, r2.tags = e2.dataForm.tagList.join(","), Object(u["c"])(r2).then((function(t3) { 0 == t3.code && (e2.$message({ message: "操作成功!", type: "success" }), e2.callbackClose()); }))); } })); }, callbackClose: function() { this.$refs["dataForm"].resetFields(), this.$emit("callback"); }, handleClose: function() { this.$refs["dataForm"].resetFields(), this.$emit("close"); } } }), T = w, C = (a("3431"), Object(y["a"])(T, k, _, false, null, "af365b6c", null)), j = C.exports, O = { components: { Pagination: c["a"], checkDialog: v, blackDialog: j }, props: { orgList: { type: Array, default: [] }, jobList: { type: Array, default: [] } }, data: function() { return { showCheck: false, showTalk: false, showBlack: false, showTalkList: false, IDTypeList: s["b"], departReasonList: s["B"], selectList: [], rejectArr: [], blackArr: [], pageTotal: 0, listLoading: false, listTable: [], leaveTime: "", query: { osId: "", name: "", idNumber: "", approveStatus: "", approveType: "", type: 4, pageSize: 10, pageNumber: 1 }, talkForm: {}, saveData: "", newTime: "", talkList: [] }; }, created: function() { }, mounted: function() { this.$route.query.osId && (this.query.osId = Number(this.$route.query.osId)), this.getlistData(); }, methods: { getlistData: function() { var e2 = this; this.listLoading = true, this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.query.startTime = this.leaveTime ? this.leaveTime[0] : "", this.query.endTime = this.leaveTime ? this.leaveTime[1] : "", this.query.roleId = localStorage.getItem("roleId"), Object(u["t"])(this.query).then((function(t2) { t2.data.records.map((function(e3) { e3.fileArr = e3.fileUrl ? JSON.parse(e3.fileUrl) : []; })), e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount, e2.listLoading = false; })).catch((function() { e2.listLoading = false; })); }, selectionChange: function(e2) { var t2 = this; this.rejectArr = [], this.blackArr = [], e2 ? (this.selectList = e2, this.selectList.map((function(e3) { 0 == e3.approveStatus ? t2.rejectArr.push(e3.id) : 2 == e3.approveStatus && t2.blackArr.push(e3); }))) : this.selectList = []; }, selectable: function(e2, t2) { return 1 != e2.approveStatus && 3 != e2.approveStatus && 1 != e2.blacklist; }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(e2) { this.$refs[e2].resetFields(), this.leaveTime = "", this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getlistData(); }, talkListClick: function(e2) { e2 && (this.talkList = JSON.parse(e2), this.showTalkList = true); }, setNewDate: function(e2) { var t2 = JSON.parse(JSON.stringify(e2)); this.newTime = t2.realQuitDate; }, confirmNewDate: function(e2, t2) { var a2 = this; if ("" != this.newTime && void 0 != this.newTime && null != this.newTime) { var r2 = JSON.parse(window.localStorage.getItem("memberInfor")), n2 = { id: e2.id, realQuitDate: this.newTime, creatorId: r2.id, creatorName: r2.name }; Object(u["G"])(n2).then((function(e3) { 0 == e3.code && (a2.$message({ type: "success", message: "操作成功!" }), a2.newDateEsc(), a2.getlistData()); })); } else this.$message("修改实际离职时间不能为空!"); }, newDateEsc: function() { document.body.click(); }, checkClick: function(e2) { this.showCheck = true, this.$nextTick((function() { this.$refs.checkdialog.init(e2); })); }, checkCallback: function() { this.checkClose(), this.$refs.tableData.clearSelection(), this.getlistData(); }, checkClose: function() { this.showCheck = false, this.showBlack = false; }, rejectClick: function(e2) { this.rejectApplication([e2.id]); }, rejectAllClick: function() { 0 != this.selectList.length ? this.blackArr.length > 0 ? this.$message.error("只能驳回状态为申请中的数据") : this.rejectApplication(this.rejectArr) : this.$message("未选择需要操作的数据"); }, rejectApplication: function(e2) { var t2 = this; this.$confirm("是否驳回当前人员的离职申请?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { Object(u["y"])({ ids: e2 }).then((function(e3) { 0 == e3.code && (t2.$message({ message: "操作成功!", type: "success" }), t2.$refs.tableData.clearSelection(), t2.getlistData()); })); })).catch((function() { })); }, blackClick: function(e2) { this.showBlack = true, this.$nextTick((function() { this.$refs.blackDialog.init([e2], "list"); })); }, blackAllClick: function() { 0 != this.selectList.length ? this.rejectArr.length > 0 ? this.$message.error("只能拉黑状态为已批准的人员数据") : (this.showBlack = true, this.$nextTick((function() { this.$refs.blackDialog.init(this.blackArr, "list"); }))) : this.$message("未选择需要操作的数据"); }, departCheck: function(e2) { var t2 = this; this.$confirm("是否确认当前人员已离职?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { Object(u["x"])({ id: e2.id }).then((function(e3) { 0 == e3.code && (t2.$message({ message: "操作成功!", type: "success" }), t2.getlistData()); })); })).catch((function() { })); }, talkClick: function(e2) { this.showTalk = true, this.saveData = e2; }, postTalkInfo: function() { var e2 = this; this.$refs["talkForm"].validate((function(t2) { if (t2) { var a2 = []; a2 = e2.saveData.communicationRecord ? JSON.parse(e2.saveData.communicationRecord) : [], a2.push({ time: e2.talkForm.dateData, txt: e2.talkForm.desc }); var r2 = { id: e2.saveData.id, communicationRecord: a2.length > 0 ? JSON.stringify(a2) : "" }; Object(u["C"])(r2).then((function(t3) { 0 == t3.code && (e2.$message({ message: "录入成功!", type: "success" }), e2.handleClose(), e2.getlistData()); })); } })); }, handleClose: function() { this.$refs["talkForm"].resetFields(), this.showTalk = false; }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, S = O, F = (a("71e4"), Object(y["a"])(S, l, i, false, null, "7033290d", null)), x = F.exports, 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: 20 } }, [a2("el-col", { attrs: { span: 21 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "姓名" }, model: { value: e2.query.name, callback: function(t3) { e2.$set(e2.query, "name", t3); }, expression: "query.name" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "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: 6 } }, [a2("el-form-item", { attrs: { prop: "tags" } }, [a2("el-select", { attrs: { placeholder: "标签", clearable: "" }, model: { value: e2.query.tags, callback: function(t3) { e2.$set(e2.query, "tags", t3); }, expression: "query.tags" } }, e2._l(e2.blacklistTagsList, (function(e3, t3) { return a2("el-option", { key: t3, attrs: { label: e3.label, value: e3.value } }); })), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "currentCompany" } }, [a2("el-select", { attrs: { placeholder: "本企业登记", clearable: "" }, model: { value: e2.query.currentCompany, callback: function(t3) { e2.$set(e2.query, "currentCompany", t3); }, expression: "query.currentCompany" } }, [a2("el-option", { attrs: { label: "是", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "否", value: 0 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { prop: "postUuid" } }, [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.createTime, callback: function(t3) { e2.createTime = t3; }, expression: "createTime" } })], 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-button", { attrs: { type: "danger" }, on: { click: e2.revokeClick } }, [e2._v("撤销")]), e2._v(" "), a2("el-button", { attrs: { type: "info" }, on: { click: e2.blackClick } }, [e2._v("黑名单登记")])], 1)]), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "tableData", attrs: { border: "", data: e2.listTable, "header-cell-style": e2.headClass, "tooltip-effect": "dark", "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", "min-width": "100", "show-overflow-tooltip": "", label: "姓名" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [a2("span", [e2._v(e2._s(t3.row.name || "-"))])]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "80", label: "性别" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(1 == t3.row.sex ? "男" : 2 == t3.row.sex ? "女" : "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "证件类型", "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", "min-width": "180", label: "证件号", "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", "min-width": "200", label: "标签", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.tags || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "本企业登记" } }, [[e2._v("是")]], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "登记人", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.creatorName || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "170", label: "登记时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "更新人", "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", "min-width": "170", label: "更新时间", "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", "min-width": "80", label: "标记数" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(t3.row.markTimes || "-") + "\n ")]; } }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) { return [e2._v("\n " + e2._s(1 == t3.row.status ? "有效" : 0 == t3.row.status ? "撤销" : "-") + " \n ")]; } }]) })], 1), e2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": e2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", background: "", total: e2.pageTotal }, on: { "update:currentPage": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "update:current-page": function(t3) { return e2.$set(e2.query, "pageNumber", t3); }, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)]), e2._v(" "), a2("blackDialog", { ref: "blackDialog", attrs: { show: e2.showBlack }, on: { close: e2.checkClose, callback: e2.checkCallback } })], 1); }, q = [], D = { components: { Pagination: c["a"], blackDialog: j }, data: function() { return { showBlack: false, IDTypeList: s["b"], blacklistTagsList: s["l"], selectList: [], pageTotal: 0, listLoading: false, listTable: [], createTime: "", query: { name: "", certificateNo: "", currentCompany: "", tags: "", pageSize: 10, pageNumber: 1 }, idsArr: [] }; }, created: function() { }, mounted: function() { this.getlistData(); }, methods: { getlistData: function() { var e2 = this; this.listLoading = true, this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.query.startTime = this.createTime ? this.createTime[0] : "", this.query.endTime = this.createTime ? this.createTime[1] : "", Object(u["d"])(this.query).then((function(t2) { t2.data.records.map((function(e3) { e3.fileArr = e3.fileUrl ? JSON.parse(e3.fileUrl) : []; })), e2.listTable = t2.data.records, e2.pageTotal = t2.data.rowsCount, e2.listLoading = false; })).catch((function() { e2.listLoading = false; })); }, selectionChange: function(e2) { var t2 = this; this.idsArr = [], e2 ? (this.selectList = e2, this.selectList.map((function(e3) { t2.idsArr.push(e3.id); }))) : this.selectList = []; }, selectable: function(e2, t2) { return 0 != e2.status; }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(e2) { this.$refs[e2].resetFields(), this.createTime = "", this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(e2) { this.query.pageSize = e2, this.query.pageNumber = 1, this.getlistData(); }, handleCurrentChange: function(e2) { this.query.pageNumber = e2, this.getlistData(); }, blackClick: function(e2) { this.showBlack = true, this.$nextTick((function() { this.$refs.blackDialog.init(e2, "obj"); })); }, checkCallback: function() { this.checkClose(), this.getlistData(); }, checkClose: function() { this.showBlack = false; }, revokeClick: function() { var e2 = this, t2 = JSON.parse(window.localStorage.getItem("memberInfor")); 0 != this.selectList.length ? this.$confirm("是否撤销当前人员的黑名单状态?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() { Object(u["e"])({ ids: e2.idsArr, updaterId: t2.id, updaterName: t2.name }).then((function(t3) { 0 == t3.code && (e2.$message({ message: "操作成功!", type: "success" }), e2.$refs.tableData.clearSelection(), e2.getlistData()); })); })).catch((function() { })) : this.$message("未选择需要操作的数据"); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, N = D, $ = (a("3956"), Object(y["a"])(N, L, q, false, null, "97c99850", null)), I = $.exports, R = { components: { leaveList: x, blackList: I }, data: function() { return { activeName: "leave", jobList: [], organizeList: [] }; }, mounted: function() { this.getJobList(), this.getOrganizeList(); }, methods: { getJobList: function() { var e2 = this; Object(o["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(o["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; }, handleClick: function(e2) { var t2 = e2.paneName; this.activeName = t2; } } }, M = R, A = (a("f57b"), Object(y["a"])(M, r, n, false, null, null, null)); t["default"] = A.exports; }, "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()); }; }, "14ed": function(e, t, a) { }, "268f": function(e, t, a) { "use strict"; a("becf"); }, 3431: function(e, t, a) { "use strict"; a("0d1b"); }, 3956: function(e, t, a) { "use strict"; a("14ed"); }, 4513: function(e, t, a) { "use strict"; a.d(t, "v", (function() { return n; })), a.d(t, "w", (function() { return o; })), a.d(t, "x", (function() { return l; })), a.d(t, "l", (function() { return i; })), a.d(t, "t", (function() { return s; })), a.d(t, "j", (function() { return c; })), a.d(t, "o", (function() { return u; })), a.d(t, "u", (function() { return 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 y; })), a.d(t, "s", (function() { return g; })), a.d(t, "i", (function() { return v; })), a.d(t, "n", (function() { return k; })), a.d(t, "a", (function() { return _; })), a.d(t, "g", (function() { return w; })), a.d(t, "d", (function() { return T; })), a.d(t, "f", (function() { return C; })), a.d(t, "C", (function() { return j; })), a.d(t, "m", (function() { return O; })), a.d(t, "y", (function() { return S; })), a.d(t, "r", (function() { return F; })), a.d(t, "e", (function() { return x; })), a.d(t, "z", (function() { return L; })), a.d(t, "A", (function() { return q; })), a.d(t, "h", (function() { return D; })), a.d(t, "k", (function() { return N; })); var r = a("b775"); function n() { return Object(r["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" }); } function o(e2) { return Object(r["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: e2 }); } function l(e2) { return Object(r["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: e2 }); } function i(e2) { return Object(r["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: e2 }); } function s(e2) { return Object(r["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: e2 }); } function c(e2) { return Object(r["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: e2 }); } function u(e2) { return Object(r["a"])({ url: "/company/member/getList", method: "post", data: e2 }); } function 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 y(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 v(e2) { return Object(r["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: e2 }); } function k(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 w(e2) { return Object(r["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: e2 }); } function T(e2) { return Object(r["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: e2 }); } function C(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 O(e2) { return Object(r["a"])({ url: "/company/member/getList", method: "POST", data: e2 }); } function S(e2) { return Object(r["a"])({ url: "/company/member/queryByStaff", method: "POST", data: e2 }); } function F(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 L(e2) { return Object(r["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: e2 }); } function q(e2) { return Object(r["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: e2 }); } function D(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 }); } }, "71e4": function(e, t, a) { "use strict"; a("07db"); }, 7321: function(e, t, a) { "use strict"; a.d(t, "r", (function() { return n; })), a.d(t, "h", (function() { return o; })), a.d(t, "F", (function() { return l; })), a.d(t, "D", (function() { return i; })), a.d(t, "b", (function() { return s; })), a.d(t, "l", (function() { return c; })), a.d(t, "o", (function() { return u; })), a.d(t, "i", (function() { return 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 y; })), a.d(t, "z", (function() { return g; })), a.d(t, "B", (function() { return v; })), a.d(t, "v", (function() { return k; })), a.d(t, "x", (function() { return _; })), a.d(t, "C", (function() { return w; })), a.d(t, "y", (function() { return T; })), a.d(t, "f", (function() { return C; })), a.d(t, "c", (function() { return j; })), a.d(t, "d", (function() { return O; })), a.d(t, "e", (function() { return S; })), a.d(t, "G", (function() { return F; })), a.d(t, "n", (function() { return x; })), a.d(t, "a", (function() { return L; })), a.d(t, "m", (function() { return q; })), a.d(t, "k", (function() { return D; })), a.d(t, "j", (function() { return N; })), a.d(t, "A", (function() { return $; })), a.d(t, "E", (function() { return I; })), a.d(t, "g", (function() { return R; })); var r = a("b775"); function n(e2) { return Object(r["a"])({ url: "/hakocompany/Candidate/pageList", method: "post", data: e2 }); } function o(e2) { return Object(r["a"])({ url: "/hakocompany/Candidate/create", method: "post", data: e2 }); } function l(e2) { return Object(r["a"])({ url: "/hakocompany/Candidate/update", method: "post", data: e2 }); } function i(e2) { return Object(r["a"])({ url: "/hakocompany/Candidate/updateInterview", method: "post", data: e2 }); } function s(e2) { return Object(r["a"])({ url: "/hakocompany/Candidate/batchObsolete", method: "post", data: e2 }); } function c(e2, t2) { return Object(r["a"])({ url: "/hakocompany/Candidate/importExcel/".concat(t2), method: "post", isReturnResponse: true, isFile: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 }); } function u(e2) { return Object(r["a"])({ url: "/hakocompany/supplier/listCompanyByCompanyId", method: "post", data: e2 }); } function 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 y(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 v(e2) { return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/transferBatch", method: "post", data: e2 }); } function k(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 w(e2) { return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/updateCommunicationRecord", method: "post", data: e2 }); } function T(e2) { return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/quitRejectBatch", method: "post", data: e2 }); } function C(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 O(e2) { return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/pageList", method: "post", data: e2 }); } function S(e2) { return Object(r["a"])({ url: "/hakocompany/MemberBlacklist/revoke", method: "post", data: e2 }); } function F(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 L(e2) { return Object(r["a"])({ url: "/hakocompany/MemberChangeRecord/appointBatch", method: "post", data: e2 }); } function q(e2) { return Object(r["a"])({ url: "/hakocompany/DataAccidentPastMember/pageListByCompany", method: "post", data: e2 }); } function D(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 $(e2) { return Object(r["a"])({ url: "/company/member/roleOsList", method: "post", data: e2 }); } function I(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 n; })), a.d(t, "m", (function() { return o; })), a.d(t, "f", (function() { return l; })), a.d(t, "l", (function() { return i; })), a.d(t, "h", (function() { return s; })), a.d(t, "n", (function() { return c; })), a.d(t, "a", (function() { return u; })), a.d(t, "b", (function() { return 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 y; })), a.d(t, "k", (function() { return g; })); var r = a("b775"); function n(e2) { return Object(r["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: e2 }); } function o(e2) { return Object(r["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: e2 }); } function l(e2) { return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: e2 }); } function i(e2) { return Object(r["a"])({ url: "/hakocompany/CollectionInfoApi/update", method: "post", data: e2 }); } function s(e2) { return Object(r["a"])({ url: "/hakocompany/ChargePushConfigApi/findById", method: "post", data: e2 }); } function c(e2) { return Object(r["a"])({ url: "/hakocompany/ChargePushConfigApi/update", method: "post", data: e2 }); } function u(e2) { return Object(r["a"])({ url: "/company/ProjectSatisfactionConfig/pageList", method: "post", data: e2 }); } function 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 y(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 }); } }, a11b: function(e, t, a) { }, becf: function(e, t, a) { }, f57b: function(e, t, a) { "use strict"; a("a11b"); } }]);