Files
wysite/output/sourcemaps/hc-etms.sqygj.cn/static/js/chunk-36aad151.67aaa692.js

623 lines
42 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-36aad151"], { "127f": function(t, e, n) {
"use strict";
n.d(e, "a", (function() {
return a;
}));
n("4057");
var a = function() {
function t2() {
return (65536 * (1 + Math.random()) | 0).toString(16).substring(1);
}
return "".concat(+/* @__PURE__ */ new Date(), "_").concat(t2()).concat(t2());
};
}, 2072: function(t, e, n) {
"use strict";
n.d(e, "b", (function() {
return r;
})), n.d(e, "c", (function() {
return o;
})), n.d(e, "e", (function() {
return i;
})), n.d(e, "j", (function() {
return s;
})), n.d(e, "l", (function() {
return c;
})), n.d(e, "a", (function() {
return u;
})), n.d(e, "d", (function() {
return l;
})), n.d(e, "x", (function() {
return d;
})), n.d(e, "y", (function() {
return p;
})), n.d(e, "f", (function() {
return m;
})), n.d(e, "w", (function() {
return f;
})), n.d(e, "k", (function() {
return h;
})), n.d(e, "o", (function() {
return g;
})), n.d(e, "g", (function() {
return b;
})), n.d(e, "p", (function() {
return y;
})), n.d(e, "r", (function() {
return v;
})), n.d(e, "t", (function() {
return A;
})), n.d(e, "s", (function() {
return I;
})), n.d(e, "u", (function() {
return j;
})), n.d(e, "q", (function() {
return k;
})), n.d(e, "v", (function() {
return R;
})), n.d(e, "m", (function() {
return O;
})), n.d(e, "h", (function() {
return w;
})), n.d(e, "i", (function() {
return S;
})), n.d(e, "n", (function() {
return U;
}));
var a = n("b775");
function r(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRule/pageList", method: "post", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRule/create", method: "post", data: t2 });
}
function i(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRule/delete", method: "post", data: t2 });
}
function s(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRule/findById", method: "post", data: t2 });
}
function c(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRule/listByCompanyId", method: "post", data: t2 });
}
function u(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/pageList", method: "post", data: t2 });
}
function l(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/create", method: "post", data: t2 });
}
function d(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/update", method: "post", data: t2 });
}
function p(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/updateStatus", method: "post", data: t2 });
}
function m(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/delete", method: "post", data: t2 });
}
function f(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/updateConfig", method: "post", data: t2 });
}
function h(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleGroup/findRulesById", method: "post", data: t2 });
}
function g(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleJobRel/pageList", method: "post", data: t2 });
}
function b(t2) {
return Object(a["a"])({ url: "/company/member/findByParam", method: "post", data: t2 });
}
function y(t2) {
return Object(a["a"])({ url: "/hakocompany/MeritsRuleJobRel/update", method: "post", data: t2 });
}
function v(t2) {
return Object(a["a"])({ url: "/hakocompany/meritsStatistics/pageByCompany", method: "post", data: t2 });
}
function A(t2) {
return Object(a["a"])({ url: "/hakocompany/meritsStatistics/pageByMonth", method: "post", data: t2 });
}
function I(t2) {
return Object(a["a"])({ url: "/hakocompany/meritsStatistics/pageByMember", method: "post", data: t2 });
}
function j(t2) {
return Object(a["a"])({ url: "/hakocompany/meritsStatistics/statistics", method: "post", data: t2 });
}
function k(t2) {
return Object(a["a"])({ url: "/hakocompany/meritsStatistics/exportByMonth", method: "post", responseType: "blob", data: t2 });
}
function R(t2) {
return Object(a["a"])({ url: "/hakocompany/meritsStatistics/findByUuid", method: "post", data: t2 });
}
function O(t2) {
return Object(a["a"])({ url: "/data/meritsStatistics/memberGroupPage", method: "post", data: t2 });
}
function w(t2) {
return Object(a["a"])({ url: "/data/meritsStatistics/findMemberMeritsRules", method: "post", data: t2 });
}
function S(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOSListByCompanyId", method: "post", data: t2 });
}
function U(t2) {
return Object(a["a"])({ url: "/hakocompany/MemberSalary/createSelf", method: "post", data: t2 });
}
}, "2a7b": function(t, e, n) {
"use strict";
n.d(e, "d", (function() {
return r;
})), n.d(e, "b", (function() {
return o;
})), n.d(e, "g", (function() {
return i;
})), n.d(e, "h", (function() {
return s;
})), n.d(e, "f", (function() {
return c;
})), n.d(e, "a", (function() {
return u;
})), n.d(e, "c", (function() {
return l;
})), n.d(e, "e", (function() {
return d;
}));
var a = n("b775");
function r(t2) {
return Object(a["a"])({ url: "/hakocompany/TrainingRecord/pageList", method: "post", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/hakocompany/TrainingRecord/create", method: "post", data: t2 });
}
function i(t2) {
return Object(a["a"])({ url: "/hakocompany/TrainingRecord/update", method: "post", data: t2 });
}
function s(t2) {
return Object(a["a"])({ url: "/hakocompany/TrainingRecord/updateStatus", method: "post", data: t2 });
}
function c(t2) {
return Object(a["a"])({ url: "/hakocompany/TrainingType/pageList", method: "post", data: t2 });
}
function u(t2) {
return Object(a["a"])({ url: "/hakocompany/AccidentPastRecords/companyTotal", method: "post", data: t2 });
}
function l(t2) {
return Object(a["a"])({ url: "/hakocompany/EmergencyPlanExecuteRecord/companyTotal", method: "post", data: t2 });
}
function d(t2) {
return Object(a["a"])({ url: "/hakocompany/TrainingType/companyTotal", method: "post", data: t2 });
}
}, "33b5": function(t, e, n) {
"use strict";
n.r(e);
var a = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { staticClass: "workPointsManage" }, [t2.screenShow ? a2("div", [a2("el-card", [a2("el-page-header", { attrs: { content: t2.content }, on: { back: t2.goBack } })], 1), t2._v(" "), a2("el-card", { staticClass: "Info", staticStyle: { "margin-top": "30px" } }, [a2("el-row", { attrs: { gutter: 12 } }, [a2("el-form", { ref: "form", attrs: { rules: t2.rules, model: t2.form, "label-width": "120px" } }, [a2("el-col", { staticStyle: { padding: "0 50px" }, attrs: { span: 12 } }, [a2("el-form-item", { attrs: { prop: "trainingTopics", label: "培训主题" } }, [a2("el-input", { model: { value: t2.form.trainingTopics, callback: function(e3) {
t2.$set(t2.form, "trainingTopics", e3);
}, expression: "form.trainingTopics" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "memberIds", label: "培训人员" } }, [a2("el-select", { attrs: { filterable: "", multiple: "", placeholder: "选择培训员工" }, model: { value: t2.form.memberIds, callback: function(e3) {
t2.$set(t2.form, "memberIds", e3);
}, expression: "form.memberIds" } }, t2._l(t2.userList, (function(t3, e3) {
return a2("el-option", { key: e3, attrs: { label: t3.setName, value: t3.memberId } });
})), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "trainingDate", label: "培训时间" } }, [a2("el-date-picker", { attrs: { type: "datetime", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "default-time": "08:00:00", placeholder: "请选择培训时间" }, model: { value: t2.form.trainingDate, callback: function(e3) {
t2.$set(t2.form, "trainingDate", e3);
}, expression: "form.trainingDate" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "附件" } }, [a2("el-upload", { ref: "uploadFile", staticClass: "upload-demo", attrs: { action: "", "on-exceed": t2.exceedUpload, "before-upload": t2.beforeUpload, "http-request": t2.uploadRequest, "on-success": t2.uploadSuccess, "on-remove": t2.uploadRemove, multiple: "", limit: 5, "file-list": t2.fileList } }, [a2("el-button", { attrs: { size: "small", type: "primary" } }, [t2._v("点击上传")]), t2._v(" "), a2("div", { staticClass: "el-upload__tip", attrs: { slot: "tip" }, slot: "tip" }, [a2("div", [t2._v("只能上传图片和文档图片不超过2M文档不超过10M")])])], 1)], 1)], 1), t2._v(" "), a2("el-col", { staticStyle: { padding: "0 50px" }, attrs: { span: 12 } }, [a2("el-form-item", { attrs: { prop: "projectUuids", label: "培训项目" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", filterable: "", multiple: "", placeholder: "选择培训项目" }, on: { change: t2.projectChange }, model: { value: t2.form.projectUuids, callback: function(e3) {
t2.$set(t2.form, "projectUuids", e3);
}, expression: "form.projectUuids" } }, t2._l(t2.projectList, (function(t3) {
return a2("el-option", { key: t3.uuid, attrs: { label: t3.name, value: t3.uuid } });
})), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "trainingTypeId", label: "培训类型" } }, [a2("el-select", { staticClass: "select-dom", attrs: { filterable: "", placeholder: "选择培训类型" }, model: { value: t2.form.trainingTypeId, callback: function(e3) {
t2.$set(t2.form, "trainingTypeId", e3);
}, expression: "form.trainingTypeId" } }, t2._l(t2.trainingTypeList, (function(t3) {
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
})), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "培训描述", prop: "described" } }, [a2("el-input", { attrs: { type: "textarea", rows: 4 }, model: { value: t2.form.described, callback: function(e3) {
t2.$set(t2.form, "described", e3);
}, expression: "form.described" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "状态", prop: "status" } }, [a2("el-switch", { attrs: { "active-color": "#13ce66", "inactive-color": "#ff4949", "active-value": 1, "inactive-value": 2 }, model: { value: t2.form.status, callback: function(e3) {
t2.$set(t2.form, "status", e3);
}, expression: "form.status" } })], 1)], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "btn-box" }, ["新增企业培训" == t2.content ? a2("el-button", { attrs: { type: "primary" }, on: { click: function(e3) {
return t2.submit("form");
} } }, [t2._v("提交")]) : t2._e(), t2._v(" "), "编辑企业培训" == t2.content ? a2("el-button", { attrs: { type: "primary" }, on: { click: function(e3) {
return t2.uploadInfo("form");
} } }, [t2._v("更新")]) : t2._e(), t2._v(" "), a2("el-button", { on: { click: t2.goBack } }, [t2._v("关闭")])], 1)], 1)], 1) : a2("div", { staticClass: "workPointsRuleList" }, [a2("el-card", { staticClass: "box-card secarch-box" }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-input", { attrs: { placeholder: "请输入培训主题" }, model: { value: t2.query.trainingTopics, callback: function(e3) {
t2.$set(t2.query, "trainingTopics", e3);
}, expression: "query.trainingTopics" } })], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { clearable: "", placeholder: "请选择状态" }, model: { value: t2.query.status, callback: function(e3) {
t2.$set(t2.query, "status", e3);
}, expression: "query.status" } }, [a2("el-option", { attrs: { label: "启用", value: 1 } }), t2._v(" "), a2("el-option", { attrs: { label: "禁用", value: 2 } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-select", { attrs: { placeholder: "请选择项目", clearable: "", filterable: "" }, model: { value: t2.query.projectUuid, callback: function(e3) {
t2.$set(t2.query, "projectUuid", e3);
}, expression: "query.projectUuid" } }, t2._l(t2.projectList, (function(t3) {
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.uuid } });
})), 1)], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", attrs: { span: 6 } }, [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: t2.query.bindTime, callback: function(e3) {
t2.$set(t2.query, "bindTime", e3);
}, expression: "query.bindTime" } })], 1), t2._v(" "), a2("el-col", { staticClass: "elCol", staticStyle: { "text-align": "right" }, attrs: { span: 6 } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
return t2.resetForm();
} } }, [t2._v("重置")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), a2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [a2("div", { staticClass: "planLst" }, [a2("span", { staticClass: "planTitle" }, [t2._v("企业培训列表")]), t2._v(" "), a2("span", { staticClass: "add" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", size: "small" }, on: { click: t2.add } }, [t2._v("新增企业培训")])], 1)]), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.tableLoading, expression: "tableLoading" }], staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [a2("el-table-column", { attrs: { align: "center", label: "培训主题", width: "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.trainingTopics || "-"))])];
} }], null, false, 4045610041) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "培训时间", width: "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.trainingDate || "-"))])];
} }], null, false, 943814431) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "培训项目", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(t2.setProject(e3.row.projectNames)) + "\n ")];
} }], null, false, 2843913482) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "certificateNo", label: "培训人员", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(t2.setMember(e3.row.memberNames)) + "\n ")];
} }], null, false, 3435285898) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "附件", "min-width": "130", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [e3.row.fileArr.length ? a2("el-popover", { attrs: { placement: "right", width: "400", trigger: "click" } }, [t2._l(e3.row.fileArr, (function(e4, r2) {
return a2("div", { key: r2 }, [a2("div", { staticClass: "download-style" }, [a2("span", [t2._v(t2._s(e4.name))]), t2._v(" "), t2.isImg(e4.url) ? a2("el-image", { staticStyle: { width: "14px", height: "14px", cursor: "pointer" }, attrs: { src: n("7da9"), fit: "contain", "preview-src-list": t2.srcList }, on: { click: function(n2) {
return t2.seeItem(e4);
} } }) : t2._e(), t2._v(" "), a2("i", { staticClass: "el-icon-download", on: { click: function(n2) {
return t2.downloadItem(e4);
} } })], 1)]);
})), t2._v(" "), a2("el-link", { attrs: { slot: "reference", type: "primary" }, slot: "reference" }, [t2._v(t2._s(e3.row.fileArr.length))]), t2._v(" "), a2("el-link", { staticStyle: { "margin-left": "20px" }, attrs: { slot: "reference", type: "primary" }, on: { click: function(n2) {
return t2.showImgList(e3.row.fileArr);
} }, slot: "reference" }, [t2._v("点击查看图片")])], 2) : a2("span", [t2._v(t2._s(e3.row.fileArr.length))])];
} }], null, false, 4173891416) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "状态", width: "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [1 == e3.row.status ? a2("el-tag", { attrs: { type: "success" } }, [t2._v("启用")]) : t2._e(), t2._v(" "), 2 == e3.row.status ? a2("el-tag", { attrs: { type: "info" } }, [t2._v("禁用")]) : t2._e()];
} }], null, false, 109994608) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "培训描述", width: "150", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(e3.row.described || "-") + "\n ")];
} }], null, false, 4095017209) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新人", width: "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("span", [t2._v(t2._s(e3.row.updateBy || "-") + " ")])];
} }], null, false, 956840810) }), t2._v(" "), a2("el-table-column", { attrs: { prop: "updateTime", align: "center", label: "更新时间", width: "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(e3.row.updateDate || "-") + "\n ")];
} }], null, false, 6312117) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "120", "show-overflow-tooltip": "", fixed: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(n2) {
return t2.edit(e3.row);
} } }, [t2._v("编辑")]), t2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(n2) {
return t2.updateStatus(e3.row);
} } }, [t2._v(t2._s(1 == e3.row.status ? "禁用" : "启用"))])];
} }], null, false, 1823911245) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
return t2.$set(t2.query, "pageNumber", e3);
}, "update:current-page": function(e3) {
return t2.$set(t2.query, "pageNumber", e3);
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)], 1), t2._v(" "), t2.isShowImgList ? a2("ElImageViewer", { attrs: { "on-close": t2.closeImg, "url-list": t2.ImgList } }) : t2._e()], 1);
}, r = [], o = (n("b5aa"), n("3ef1")), i = (n("982e"), n("a7e5"), n("1bc7"), n("aa18"), n("5199"), n("d31c"), n("a450"), n("127f"), n("90e7")), s = n("2a7b"), c = n("2072"), u = n("67d5"), l = n("f770"), d = { components: { ElImageViewer: l["a"] }, data: function() {
return { tableLoading: false, pageTotal: 0, tableData: [], query: { pageNumber: 1, pageSize: 10, status: "", trainingTopics: "", bindTime: "", projectUuid: "" }, projectList: [], userList: [], screenShow: false, form: { trainingTopics: "", projectUuids: [], memberIds: [], trainingDate: "", status: 1, described: "", trainingTypeId: "" }, rules: { trainingTopics: [{ required: true, message: "请输入培训主题", trigger: "blur" }], projectUuids: [{ required: true, message: "请选择培训项目", trigger: "change" }], memberIds: [{ required: true, message: "请选择培训人员", trigger: "change" }], trainingDate: [{ required: true, message: "请选择培训时间", trigger: "change" }], trainingTypeId: [{ required: true, message: "请选择培训类型", trigger: "change" }] }, fileList: [], uploadFileList: [], companyInfo: "", memberInfor: "", content: "新增企业培训", trainingTypeList: [], srcList: [], isShowImgList: false, ImgList: [] };
}, mounted: function() {
this.companyInfo = JSON.parse(localStorage.getItem("companyInfo")), this.memberInfor = JSON.parse(localStorage.getItem("memberInfor")), this.getProjectInfo(), this.getlistData(), this.getTrainingTypeList();
}, methods: { closeImg: function() {
this.ImgList = [], this.isShowImgList = false;
}, extractImageUrls: function(t2) {
var e2 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : [".png", ".jpeg", ".jpg", ".gif", ".webp", ".bmp", ".tiff", ".tif"];
return Array.isArray(t2) ? t2.filter((function(t3) {
if (!t3.name || !t3.url) return false;
var n2 = t3.name.toLowerCase();
return e2.some((function(t4) {
var e3 = t4.startsWith(".") ? t4.slice(1) : t4;
return n2.endsWith("." + e3);
}));
})).map((function(t3) {
return t3.url;
})) : [];
}, showImgList: function(t2) {
this.ImgList = this.extractImageUrls(t2), this.ImgList.length > 0 ? this.isShowImgList = true : this.$message.error("没有可以查看的图片");
}, isImg: function(t2) {
var e2 = ["jpeg", "jpg", "gif", "bmp", "png"], n2 = t2.substring(t2.lastIndexOf(".") + 1).toLowerCase();
return e2.includes(n2);
}, seeItem: function(t2) {
this.srcList = [t2.url];
}, trainingTypeChange: function(t2) {
}, getTrainingTypeList: function() {
var t2 = this;
Object(s["f"])().then((function(e2) {
0 === e2.code && e2.data.records.length > 0 && (t2.trainingTypeList = e2.data.records);
}));
}, getlistData: function() {
var t2 = this;
this.query.startTime = this.query.bindTime ? this.query.bindTime[0] : "", this.query.endTime = this.query.bindTime ? this.query.bindTime[1] : "", this.query.companyId = this.companyInfo.osId, this.tableLoading = true, Object(s["d"])(this.query).then((function(e2) {
0 === e2.code && e2.data.records.length > 0 ? (e2.data.records.map((function(t3) {
t3.fileArr = t3.url ? JSON.parse(t3.url) : [];
})), t2.tableData = e2.data.records, t2.pageTotal = e2.data.rowsCount, t2.tableLoading = false) : (t2.tableData = [], t2.tableLoading = false);
})).catch((function() {
t2.tableLoading = false;
}));
}, setProject: function(t2) {
return t2 ? t2.join("、") : "-";
}, setMember: function(t2) {
if (t2) {
var e2 = [];
return t2.forEach((function(t3) {
var n2 = t3.name ? t3.name : "", a2 = t3.phoneNumber ? " / ".concat(t3.phoneNumber) : "", r2 = t3.projectName ? "".concat(t3.projectName, " / ") : "", o2 = t3.postName ? t3.postName : "";
e2.push("".concat(n2).concat(a2, "(").concat(r2).concat(o2, ")"));
})), e2.join("、");
}
return "-";
}, handleSizeChange: function(t2) {
this.query.pageSize = t2, this.query.pageNumber = 1, this.getlistData();
}, handleCurrentChange: function(t2) {
this.query.pageNumber = t2, this.getlistData();
}, onSearch: function() {
this.query.pageNumber = 1, this.getlistData();
}, resetForm: function() {
this.query = { pageNumber: 1, pageSize: 10, trainingTopics: "", status: "", bindTime: "", projectUuid: "" }, this.getlistData();
}, add: function() {
var t2 = this;
this.screenShow = true, this.content = "新增企业培训", this.$nextTick((function() {
t2.form = { trainingTopics: "", projectUuids: [], memberIds: [], trainingDate: "", status: 1, described: "", trainingTypeId: "" }, t2.fileList = [], t2.uploadFileList = [];
}));
}, goBack: function() {
this.$refs.form.resetFields(), this.uploadFileList = [], this.fileList = [], this.screenShow = false;
}, submit: function(t2) {
var e2 = this;
this.$refs[t2].validate((function(t3) {
if (t3) {
var n2 = e2.form, a2 = n2.trainingTopics, r2 = n2.projectUuids, o2 = n2.memberIds, i2 = n2.trainingDate, c2 = n2.status, u2 = n2.described, l2 = n2.trainingTypeId, d2 = { trainingTopics: a2, trainingDate: i2, status: c2, described: u2, trainingTypeId: l2, projectUuids: JSON.stringify(r2), memberIds: JSON.stringify(o2), url: e2.uploadFileList.length ? JSON.stringify(e2.uploadFileList) : "", updateBy: e2.memberInfor.name, companyId: e2.companyInfo.osId, companyName: e2.companyInfo.fullName };
Object(s["b"])(d2).then((function(t4) {
0 == t4.code && (e2.$message.success("新增成功"), e2.goBack(), e2.getlistData());
}));
}
}));
}, updateStatus: function(t2) {
var e2 = this, n2 = "";
switch (t2.status) {
case 1:
n2 = "是禁用该培训信息?";
break;
case 2:
n2 = "是否启用该培训信息?";
break;
}
this.$confirm(n2, "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
var n3 = { id: t2.id, status: 1 == t2.status ? 2 : 1, updateBy: e2.memberInfor.name };
Object(s["h"])(n3).then((function(t3) {
t3 && 0 == t3.code && (e2.$message({ message: "更新状态成功", type: "success" }), e2.getlistData());
}));
}));
}, edit: function(t2) {
this.screenShow = true, this.content = "编辑企业培训", this.$nextTick((function() {
var e2 = this;
if (this.saveData = JSON.parse(JSON.stringify(t2)), this.form = { trainingTopics: this.saveData.trainingTopics, projectUuids: JSON.parse(t2.projectUuids), memberIds: JSON.parse(t2.memberIds), status: this.saveData.status, trainingDate: this.saveData.trainingDate, described: this.saveData.described, trainingTypeId: this.saveData.trainingTypeId }, this.getUserList(), this.saveData.url) {
var n2 = JSON.parse(this.saveData.url);
n2.map((function(t3) {
e2.fileList.push({ name: t3.name, url: t3.url });
})), this.uploadFileList = n2;
}
}));
}, uploadInfo: function(t2) {
var e2 = this;
this.$refs[t2].validate((function(t3) {
if (t3) {
var n2 = e2.form, a2 = n2.trainingTopics, r2 = n2.projectUuids, o2 = n2.memberIds, i2 = n2.trainingDate, c2 = n2.status, u2 = n2.described, l2 = n2.trainingTypeId, d2 = { trainingTopics: a2, trainingDate: i2, status: c2, described: u2, trainingTypeId: l2, projectUuids: JSON.stringify(r2), memberIds: JSON.stringify(o2), url: e2.uploadFileList.length ? JSON.stringify(e2.uploadFileList) : "", updateBy: e2.memberInfor.name, companyId: e2.companyInfo.osId, companyName: e2.companyInfo.fullName, id: e2.saveData.id };
Object(s["g"])(d2).then((function(t4) {
0 == t4.code && (e2.$message.success("更新成功"), e2.goBack(), e2.getlistData());
}));
}
}));
}, downloadItem: function(t2) {
var e2 = t2.url, n2 = new XMLHttpRequest();
n2.open("GET", e2, true), n2.responseType = "blob", n2.onload = function() {
var e3 = URL.createObjectURL(n2.response), a2 = document.createElement("a");
a2.href = e3, a2.download = t2.name, a2.target = "_blank", a2.click();
}, n2.send();
}, filterFile: function(t2) {
if (t2) {
if (t2.length > 0) {
var e2 = JSON.parse(t2);
return e2[0].fileName;
}
return "-";
}
return "-";
}, getNowFormatDate: function() {
var t2 = /* @__PURE__ */ new Date(), e2 = t2.getFullYear(), n2 = t2.getMonth() + 1, a2 = t2.getDate();
return n2 >= 1 && n2 <= 9 && (n2 = "0" + n2), a2 >= 0 && a2 <= 9 && (a2 = "0" + a2), "".concat(e2).concat(n2).concat(a2);
}, uploadRemove: function(t2) {
var e2 = this.uploadFileList.findIndex((function(e3) {
return e3.name === t2.name;
}));
e2 > -1 && this.uploadFileList.splice(e2, 1);
}, exceedUpload: function() {
this.$message("最多仅允许上传5个文件");
}, beforeUpload: function(t2) {
var e2 = t2.size / 1024 / 1024 < 10, n2 = t2.size / 1024 / 1024 < 2, a2 = ["jpeg", "jpg", "gif", "bmp", "png"], r2 = ["xls", "xlsx", "doc", "docx", "ppt", "pptx", "pdf", "txt"], o2 = t2.name.substring(t2.name.lastIndexOf(".") + 1).toLowerCase();
return a2.includes(o2) || r2.includes(o2) ? a2.includes(o2) && !n2 ? (this.$message("图片文件最大不超过2M"), false) : !(r2.includes(o2) && !e2) || (this.$message("文档文件最大不超过10M"), false) : (this.$message("上传文件只能是图片或文档jpg、jpeg、png、doc、pdf、xls、txt等格式!"), false);
}, uploadRequest: (function() {
var t2 = Object(o["a"])(regeneratorRuntime.mark((function t3(e3) {
var n2, a2, r2, o2, s2, c2, u2, l2;
return regeneratorRuntime.wrap((function(t4) {
while (1) switch (t4.prev = t4.next) {
case 0:
return n2 = e3.file, t4.prev = 1, a2 = new FormData(), a2.append("file", n2), t4.next = 2, Object(i["o"])(a2);
case 2:
if (r2 = t4.sent, !r2 || !r2.data || 0 !== r2.data.code) {
t4.next = 3;
break;
}
o2 = r2.data.data.fullUrl || r2.data.data.url, s2 = { name: n2.name, url: o2 }, e3.onSuccess(s2), this.$message.success("文件上传成功"), t4.next = 4;
break;
case 3:
throw new Error(r2.data.message || "上传失败");
case 4:
t4.next = 6;
break;
case 5:
t4.prev = 5, l2 = t4["catch"](1), console.error("上传失败:", l2), this.$message.error("文件上传失败: ".concat(l2.message || "未知错误")), this.$refs.uploadFile && (c2 = n2.uid, u2 = this.$refs.uploadFile.uploadFiles.findIndex((function(t5) {
return t5.uid == c2;
})), u2 > -1 && this.$refs.uploadFile.uploadFiles.splice(u2, 1));
case 6:
case "end":
return t4.stop();
}
}), t3, this, [[1, 5]]);
})));
function e2(e3) {
return t2.apply(this, arguments);
}
return e2;
})(), uploadSuccess: function(t2) {
t2 && this.uploadFileList.push(t2), console.log(this.uploadFileList);
}, getProjectInfo: function() {
var t2 = this;
Object(u["j"])({ id: this.companyInfo.osId, attribute: 1 }).then((function(e2) {
0 === e2.code && e2.data ? t2.projectList = e2.data : t2.projectList = [];
}));
}, projectChange: function(t2) {
this.userList = [], this.form.memberIds = [], t2 && this.getUserList(t2);
}, getUserList: function() {
var t2 = this;
Object(c["g"])({ projectUuidList: this.form.projectUuids, isStop: 1, onJobState: 1 }).then((function(e2) {
0 == e2.code && (e2.data.length ? (e2.data.map((function(t3) {
t3.setName = "".concat(t3.memberName, "(").concat(t3.projectName, "/").concat(t3.postName, "/").concat(t3.phoneNumber, ")");
})), t2.userList = e2.data) : t2.userList = []);
}));
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, p = d, m = (n("b100"), n("829d")), f = Object(m["a"])(p, a, r, false, null, "1a7d27fb", null);
e["default"] = f.exports;
}, 5199: function(t, e, n) {
"use strict";
var a = n("e99b"), r = n("201c"), o = n("db34"), i = "endsWith", s = ""[i];
a(a.P + a.F * n("581c")(i), "String", { endsWith: function(t2) {
var e2 = o(this, t2, i), n2 = arguments.length > 1 ? arguments[1] : void 0, a2 = r(e2.length), c = void 0 === n2 ? a2 : Math.min(r(n2), a2), u = String(t2);
return s ? s.call(e2, u, c) : e2.slice(c - u.length, c) === u;
} });
}, "59ea": function(t, e, n) {
}, "67d5": function(t, e, n) {
"use strict";
n.d(e, "i", (function() {
return r;
})), n.d(e, "j", (function() {
return o;
})), n.d(e, "f", (function() {
return i;
})), n.d(e, "b", (function() {
return s;
})), n.d(e, "c", (function() {
return c;
})), n.d(e, "k", (function() {
return u;
})), n.d(e, "e", (function() {
return l;
})), n.d(e, "d", (function() {
return d;
})), n.d(e, "h", (function() {
return p;
})), n.d(e, "a", (function() {
return m;
})), n.d(e, "g", (function() {
return f;
}));
var a = n("b775");
function r(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
}
function i(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
}
function s(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 });
}
function c(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 });
}
function u(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
}
function l(t2) {
return Object(a["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 });
}
function d(t2) {
return Object(a["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 });
}
function p(t2) {
return Object(a["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
}
function m(t2) {
return Object(a["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 });
}
function f(t2) {
return Object(a["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 });
}
}, "7da9": function(t, e) {
t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADx1JREFUeF7tnU12FDkSx6WyDzDDzB73At7rUwAnAS+hD0FziIalzUkwp5j3YNHFfoaZA+DUtPKjqmzKlREhKUOR+nvTbiylpH/ET6GvVHqHHygABR5UwEMbKAAFHlYAgMA7oMAJBQAI3AMKABD4ABSQKYAIItMNuRpRAIA0Ymg0U6YAAJHphlyNKABAGjE0milTAIDIdEOuRhQAII0YGs2UKQBAZLohVyMKAJBGDI1myhQAIDLdkKsRBQBII4ZGM2UKABCZbsjViAIApBFDo5kyBQCITDfkakQBANKIodFMmQIARKYbcjWiAABpxNBopkwBACLTDbkaUQCANGJoNFOmAACR6YZcjSgAQBoxNJopUwCAyHRDrkYUACCNGBrNlCkAQGS6IVcjCgCQRgyNZsoUACAy3ZCrEQUASCOGRjNlCgAQmW7I1YgCAKQRQ6OZMgUAiEw35GpEAQDSiKHRTJkCAESmG3I1ogAAacTQaKZMAQAi0w25GlEAgDRiaDRTpgAAkemGXI0oAEAaMTSaKVMAgMh0Q65GFAAgjRgazZQpAEBkuiFXIwoAkEYMjWbKFAAgMt2QqxEFAEgjhkYzZQoAEJluyNWIAgCkEUOjmTIFAIhMN+RqRAEAUsjQf/vwr4tzd34RHx+6cBGc73/vfzbhcf/vYfg378L4tylN2PZ/d77/r/fD//c/nf/m3f7//WZI8+/XT24KNaXpxwKQDOaPMGy681e9U3v3zDv3PMNjmY8I2whUhMl37nMEB9AwJTySHIAwNIwg9AFAHQZqpcdI490NoKFqdjcdAJnRbRcdfHjpDodJMr0ryRW2LviP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k7DEh9UWl4R3wTwsfbze2NpQOBc4amQJF2kPKgBGMT8VVHkMPG5X8HYxiCbTbupvb34rmATJEiGxTj9zmsvJtC1Ws1EaQsKPv5imVY9sMn6UrUcbey9NIWFYwp3SoBmRonOW5NE3B/XU+838pv/La2CLM7Uu/8Rc4ocVcfG7vhNJseT7VqQMqDcijq8B6H8+4mQhN/XWIeE0E4d+cXXeeeu014PLxb4p6nOMV83vWD0UQEuW/ochHllEuN4IwvQfUMxYvipp/Ofxu4Ovi3Ie3FLs3o+HujxZer+lz7NPNenSFFO2A0CciyESWDP1bziPbAaBqQQ1A2ye+JV+PFmSsyrOC1vjfUxByE4jkllj0p5daVBlDctwcAOeKhbcECKE51UgBkpgtfJyyAghq5AQhVqfFzcnFJNXThIl7Zs8ySKqOCR5OGbVx6jp9XsLzJmaqCND8AkSo35osRJv463XOlB824TBz8x1gfwJBo2DE7AMmj409PmTbwYrSZ/tjvbcQvRY0/Eab463BpXP/b+N/95XH9v077JuOeyZhnG3fw4++17eIXklTlsQBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigIAREV2FGpFAQBixVKop4oCAERFdhRqRQEAYsVSqKeKAgBERXYUakUBAGLFUqinigL/B+BpmkEEoS7FAAAAAElFTkSuQmCC";
}, "90e7": function(t, e, n) {
"use strict";
n.d(e, "g", (function() {
return r;
})), n.d(e, "m", (function() {
return o;
})), n.d(e, "f", (function() {
return i;
})), n.d(e, "l", (function() {
return s;
})), n.d(e, "h", (function() {
return c;
})), n.d(e, "n", (function() {
return u;
})), n.d(e, "a", (function() {
return l;
})), n.d(e, "b", (function() {
return d;
})), n.d(e, "c", (function() {
return p;
})), n.d(e, "e", (function() {
return m;
})), n.d(e, "d", (function() {
return f;
})), n.d(e, "i", (function() {
return h;
})), n.d(e, "j", (function() {
return g;
})), n.d(e, "o", (function() {
return b;
})), n.d(e, "k", (function() {
return y;
}));
var a = n("b775");
function r(t2) {
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/findById", method: "post", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/hakocompany/DeductionInfo/update", method: "post", data: t2 });
}
function i(t2) {
return Object(a["a"])({ url: "/hakocompany/CollectionInfoApi/findById", method: "post", data: t2 });
}
function s(t2) {
return Object(a["a"])({ url: "/hakocompany/CollectionInfoApi/update", method: "post", data: t2 });
}
function c(t2) {
return Object(a["a"])({ url: "/hakocompany/ChargePushConfigApi/findById", method: "post", data: t2 });
}
function u(t2) {
return Object(a["a"])({ url: "/hakocompany/ChargePushConfigApi/update", method: "post", data: t2 });
}
function l(t2) {
return Object(a["a"])({ url: "/company/ProjectSatisfactionConfig/pageList", method: "post", data: t2 });
}
function d(t2) {
return Object(a["a"])({ url: "/company/ProjectSatisfactionConfig/update", method: "post", data: t2 });
}
function p(t2) {
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/create", method: "post", data: t2 });
}
function m(t2) {
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/findByCompanyIdAndType", method: "post", data: t2 });
}
function f(t2) {
return Object(a["a"])({ url: "/hakocompany/CockpitConfig/sceneMenuList", method: "post", data: t2 });
}
function h(t2) {
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/pageList", method: "post", data: t2 });
}
function g(t2) {
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateExponentByProjectUuid", method: "post", data: t2 });
}
function b(t2, e2) {
return Object(a["a"])({ url: "/oss/upload", isFile: true, isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, method: "post", data: t2, onUploadProgress: e2 && e2.onUploadProgress });
}
function y(t2) {
return Object(a["a"])({ url: "/hakocompany/ProjectConfig/updateVisitPollRateByProjectUuid", method: "post", data: t2 });
}
}, b100: function(t, e, n) {
"use strict";
n("59ea");
}, b3d7: function(t, e, n) {
var a = n("e99b"), r = n("d3ef")(false);
a(a.S, "Object", { values: function(t2) {
return r(t2);
} });
}, d3ef: function(t, e, n) {
var a = n("26df"), r = n("93ca"), o = n("3471"), i = n("35d4").f;
t.exports = function(t2) {
return function(e2) {
var n2, s = o(e2), c = r(s), u = c.length, l = 0, d = [];
while (u > l) n2 = c[l++], a && !i.call(s, n2) || d.push(t2 ? [n2, s[n2]] : s[n2]);
return d;
};
};
} }]);