686 lines
42 KiB
JavaScript
686 lines
42 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-06339c56"], { "0b37": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "a", (function() {
|
|
return n;
|
|
})), a.d(e, "b", (function() {
|
|
return r;
|
|
})), a.d(e, "c", (function() {
|
|
return o;
|
|
})), a.d(e, "d", (function() {
|
|
return i;
|
|
})), a.d(e, "f", (function() {
|
|
return l;
|
|
})), a.d(e, "e", (function() {
|
|
return c;
|
|
}));
|
|
a("8dee"), a("e680"), a("4057"), a("fc02");
|
|
function n(t2, e2) {
|
|
var a2, n2, r2, o2;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
a2 = 0;
|
|
}
|
|
try {
|
|
n2 = e2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
n2 = 0;
|
|
}
|
|
if (o2 = Math.abs(a2 - n2), r2 = Math.pow(10, Math.max(a2, n2)), o2 > 0) {
|
|
var i2 = Math.pow(10, o2);
|
|
a2 > n2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * i2) : (t2 = Number(t2.toString().replace(".", "")) * i2, e2 = Number(e2.toString().replace(".", "")));
|
|
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
|
return (t2 + e2) / r2;
|
|
}
|
|
function r(t2, e2) {
|
|
var a2, n2, r2 = 0, o2 = 0;
|
|
try {
|
|
r2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
return a2 = Number(t2.toString().replace(".", "")), n2 = Number(e2.toString().replace(".", "")), a2 / n2 * Math.pow(10, o2 - r2);
|
|
}
|
|
function o(t2, e2) {
|
|
var a2 = 0, n2 = t2.toString(), r2 = e2.toString();
|
|
try {
|
|
a2 += n2.split(".")[1].length;
|
|
} catch (o2) {
|
|
}
|
|
try {
|
|
a2 += r2.split(".")[1].length;
|
|
} catch (o2) {
|
|
}
|
|
return Number(n2.replace(".", "")) * Number(r2.replace(".", "")) / Math.pow(10, a2);
|
|
}
|
|
function i(t2, e2) {
|
|
var a2, n2, r2, o2;
|
|
try {
|
|
a2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
a2 = 0;
|
|
}
|
|
try {
|
|
n2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
n2 = 0;
|
|
}
|
|
return r2 = Math.pow(10, Math.max(a2, n2)), o2 = a2 >= n2 ? a2 : n2, (Math.round(t2 * r2 - e2 * r2) / r2).toFixed(o2);
|
|
}
|
|
function l(t2, e2) {
|
|
if (0 == t2 && (t2 = 0), /[^[\-|0-9][0-9]*]/.test(t2)) return "0";
|
|
if (null == t2 || "" === t2) return "";
|
|
t2 = t2.toString().replace(/^(-\d*)$/, "$1."), t2 = t2.toString().replace(/^(\d*)$/, "$1."), t2 = (t2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), t2 = t2.replace(".", ",");
|
|
var a2 = /(\d)(\d{3},)/;
|
|
while (a2.test(t2)) t2 = t2.replace(a2, "$1,$2");
|
|
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
|
var n2 = t2.split(".");
|
|
"00" == n2[1] && (t2 = n2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function c(t2, e2) {
|
|
t2 = t2.toString();
|
|
var a2 = t2.indexOf(".");
|
|
return t2 = -1 !== a2 ? t2.substring(0, e2 + a2 + 1) : t2.substring(0), parseFloat(t2).toFixed(e2);
|
|
}
|
|
}, 1248: function(t, e, a) {
|
|
}, "13c3": function(t, e, a) {
|
|
}, "19e3": function(t, e, a) {
|
|
"use strict";
|
|
a.r(e);
|
|
var n = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { attrs: { value: t2.activeName, type: "border-card" }, on: { "tab-click": t2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "预算包管理", name: "package" } }, ["package" === t2.activeName ? a2("packageManage", { ref: "packageManage", attrs: { show: t2.list }, on: { edit: t2.editClick } }) : t2._e(), t2._v(" "), a2("packageAdd", { ref: "package", attrs: { show: t2.addModel, jobList: t2.jobList, projectList: t2.projectList }, on: { back: t2.back, callback: t2.backCall } })], 1), t2._v(" "), a2("el-tab-pane", { attrs: { label: "价值换算", name: "value" } }, ["value" === t2.activeName ? a2("laborValue", { attrs: { jobList: t2.jobList, projectList: t2.projectList } }) : t2._e()], 1)], 1)], 1);
|
|
}, r = [], o = a("4513"), i = a("67d5"), l = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", [t2.show ? a2("div", [a2("div", { staticClass: "searchBar" }, [a2("el-form", { ref: "query", attrs: { model: t2.query } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "输入预算包名称" }, model: { value: t2.query.name, callback: function(e3) {
|
|
t2.$set(t2.query, "name", e3);
|
|
}, expression: "query.name" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), a2("el-button", { on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")])], 1)], 1)], 1)], 1)], 1), t2._v(" "), a2("div", [a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [t2._v("预算包列表")]), t2._v(" "), a2("div", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.addClick } }, [t2._v("新增预算包")])], 1)]), t2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], attrs: { "header-cell-style": { background: "#FAFAFA" }, data: t2.listTable, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "#", fixed: "", align: "center", width: "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1))])];
|
|
} }], null, false, 714878904) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预算包名称", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.name || "-") + "\n ")];
|
|
} }], null, false, 2174472855) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预算包金额", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.amount || "-") + "\n ")];
|
|
} }], null, false, 30546364) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "应用人数", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.relNum || 0) + "\n ")];
|
|
} }], null, false, 3815239520) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "200" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.applyClick(e3.row);
|
|
} } }, [t2._v("应用")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.editClick(e3.row);
|
|
} } }, [t2._v("编辑")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
|
return t2.delClick(e3.row);
|
|
} } }, [t2._v("删除")])];
|
|
} }], null, false, 1067666716) })], 1), t2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "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)])]) : t2._e(), t2._v(" "), a2("el-dialog", { attrs: { title: t2.title, visible: t2.addVisible, width: "30%", "close-on-press-escape": false, "close-on-click-modal": false, "before-close": t2.addClose }, on: { "update:visible": function(e3) {
|
|
t2.addVisible = e3;
|
|
} } }, [a2("el-form", { ref: "add", attrs: { model: t2.add, "label-width": "100px", "label-position": "right", "hide-required-asterisk": "", inline: true } }, [a2("el-form-item", { attrs: { label: "预算包名称", prop: "name", rules: { required: true, message: "请填写预算包名称", trigger: "blur" } } }, [a2("el-input", { staticStyle: { width: "400px" }, attrs: { maxlength: "20", "show-word-limit": "", clearable: "", placeholder: "输入预算包名称" }, model: { value: t2.add.name, callback: function(e3) {
|
|
t2.$set(t2.add, "name", e3);
|
|
}, expression: "add.name" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "预算包金额", prop: "amount", rules: { required: true, message: "请填写预算包金额", trigger: "blur" } } }, [a2("el-input-number", { staticStyle: { width: "300px" }, attrs: { "controls-position": "right", min: 1, max: 1e8, precision: 2 }, model: { value: t2.add.amount, callback: function(e3) {
|
|
t2.$set(t2.add, "amount", e3);
|
|
}, expression: "add.amount" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { label: " " } }, ["新增预算包" == t2.title ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.postAdd } }, [t2._v("确定")]) : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.postSave } }, [t2._v("保存")]), t2._v(" "), a2("el-button", { on: { click: t2.addClose } }, [t2._v("取消")])], 1)], 1)], 1)], 1);
|
|
}, c = [], s = (a("a450"), a("4355")), u = { props: ["show"], data: function() {
|
|
return { addVisible: false, title: "新增预算包", listLoading: false, listTable: [], pageTotal: 0, saveData: {}, query: { name: "", pageNumber: 1, pageSize: 10 }, add: { name: "", amount: "" } };
|
|
}, mounted: function() {
|
|
this.getlistData();
|
|
}, methods: { getlistData: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, Object(s["h"])(this.query).then((function(e2) {
|
|
0 == e2.code ? (t2.pageTotal = e2.data.rowsCount, t2.listTable = e2.data.records, t2.listLoading = false) : t2.listLoading = false;
|
|
})).catch((function(e2) {
|
|
t2.listLoading = false;
|
|
}));
|
|
}, 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.getlistData();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.onSearch();
|
|
}, addClick: function() {
|
|
this.title = "新增预算包", this.addVisible = true;
|
|
}, postAdd: function() {
|
|
var t2 = this;
|
|
this.$refs["add"].validate((function(e2) {
|
|
if (e2) {
|
|
var a2 = t2.add;
|
|
a2.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, Object(s["c"])(a2).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ message: "添加成功", type: "success" }), t2.addClose(), t2.getlistData());
|
|
}));
|
|
}
|
|
}));
|
|
}, addClose: function() {
|
|
this.$refs["add"].resetFields(), this.addVisible = false;
|
|
}, delClick: function(t2) {
|
|
var e2 = this;
|
|
this.$confirm("此操作将删除该预算包, 是否继续?", "删除", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
|
Object(s["d"])({ id: t2.id }).then((function(t3) {
|
|
0 == t3.code && (e2.$message({ message: "删除成功!", type: "success" }), e2.getlistData());
|
|
}));
|
|
})).catch((function() {
|
|
}));
|
|
}, editClick: function(t2) {
|
|
this.title = "编辑预算包", this.saveData = JSON.parse(JSON.stringify(t2)), this.add = { name: this.saveData.name, amount: this.saveData.amount }, this.$nextTick((function() {
|
|
this.addVisible = true;
|
|
}));
|
|
}, postSave: function() {
|
|
var t2 = this;
|
|
this.$refs["add"].validate((function(e2) {
|
|
if (e2) {
|
|
var a2 = t2.add;
|
|
a2.companyId = t2.saveData.companyId, a2.id = t2.saveData.id, Object(s["j"])(a2).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ message: "修改成功!", type: "success" }), t2.addClose(), t2.getlistData());
|
|
}));
|
|
}
|
|
}));
|
|
}, applyClick: function(t2) {
|
|
this.$emit("edit", t2);
|
|
} } }, d = u, p = (a("4f21"), a("829d")), m = Object(p["a"])(d, l, c, false, null, "544b382a", null), f = m.exports, h = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", [a2("div", [a2("div", { staticClass: "searchBar" }, [a2("el-form", { ref: "query", attrs: { model: t2.query } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "projectUuid" } }, [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)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "jobId" } }, [a2("el-select", { attrs: { placeholder: "请选择岗位", clearable: "", filterable: "" }, model: { value: t2.query.jobId, callback: function(e3) {
|
|
t2.$set(t2.query, "jobId", e3);
|
|
}, expression: "query.jobId" } }, t2._l(t2.jobList, (function(t3) {
|
|
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "memberName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "输入成员姓名" }, model: { value: t2.query.memberName, callback: function(e3) {
|
|
t2.$set(t2.query, "memberName", e3);
|
|
}, expression: "query.memberName" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", [a2("el-date-picker", { staticStyle: { width: "100%" }, attrs: { type: "month", format: "yyyy-MM", "value-format": "yyyy-MM", placeholder: "选择计算月份", "picker-options": t2.pickerOptions, clearable: false }, model: { value: t2.query.month, callback: function(e3) {
|
|
t2.$set(t2.query, "month", e3);
|
|
}, expression: "query.month" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), a2("el-button", { on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")])], 1)], 1)], 1)], 1)], 1), t2._v(" "), a2("div", [a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [t2._v("成员列表【" + t2._s(t2.query.month || "") + "】")]), t2._v(" "), a2("div", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.exportClick } }, [t2._v("下载表格")]), t2._v(" "), a2("el-button", { attrs: { type: "primary", loading: t2.syncBtn }, on: { click: t2.synchroClick } }, [t2._v("立即同步")])], 1)]), t2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], attrs: { "header-cell-style": { background: "#FAFAFA" }, data: t2.listTable, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "#", fixed: "", align: "center", width: "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.projectName || "-") + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "岗位", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.jobName || "-") + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.memberName || "-") + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "员工价值" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.packageAmount > 0 ? a2("el-link", { attrs: { type: "primary" }, on: { click: function(a3) {
|
|
return t2.valueClick(e3.row);
|
|
} } }, [t2._v(t2._s(e3.row.packageAmount || 0))]) : a2("span", [t2._v(t2._s(e3.row.packageAmount || 0))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "云豆总值" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.totalAmount > 0 ? a2("el-link", { attrs: { type: "primary" }, on: { click: t2.pathClick } }, [t2._v(t2._s(e3.row.totalAmount || 0))]) : a2("span", [t2._v(t2._s(e3.row.totalAmount || 0))])];
|
|
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "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)]), t2._v(" "), a2("el-dialog", { attrs: { title: "员工价值", visible: t2.valueVisible, width: "50%", "before-close": t2.valueClose }, on: { "update:visible": function(e3) {
|
|
t2.valueVisible = e3;
|
|
} } }, [a2("el-table", { attrs: { "header-cell-style": { background: "#FAFAFA" }, data: t2.valueList, align: "center", border: "", height: "400" } }, [a2("el-table-column", { attrs: { label: "#", fixed: "", align: "center", width: "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预算包名称", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.packageName || "-") + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "预算包金额", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.packageTotalAmount || 0) + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "员工云豆绩效", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.amount || 0) + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "总云豆绩效" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.totalAmount || 0) + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "员工价值" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.packageAmount || 0) + "\n ")];
|
|
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "value-total" }, [a2("div", [t2._v("合计")]), t2._v(" "), a2("div", [t2._v(t2._s(t2.totalValue))])])], 1)], 1)]);
|
|
}, b = [], g = (a("1bc7"), a("4057"), a("0b37")), v = { props: { jobList: { type: Array, default: [] }, projectList: { type: Array, default: [] } }, data: function() {
|
|
return { pickerOptions: { disabledDate: function(t2) {
|
|
var e2 = /* @__PURE__ */ new Date(), a2 = e2.getFullYear(), n2 = e2.getMonth() - 1 + 1;
|
|
n2 >= 1 && n2 <= 9 && (n2 = "0" + n2);
|
|
var r2 = a2.toString() + n2.toString(), o2 = t2.getFullYear(), i2 = t2.getMonth() + 1;
|
|
i2 >= 1 && i2 <= 9 && (i2 = "0" + i2);
|
|
var l2 = o2.toString() + i2.toString();
|
|
return l2 > r2;
|
|
} }, syncBtn: false, listLoading: false, listTable: [], pageTotal: 0, query: { projectUuid: "", jobId: "", memberName: "", month: "", pageNumber: 1, pageSize: 10 }, valueVisible: false, valueList: [], totalValue: 0 };
|
|
}, mounted: function() {
|
|
this.getNowTime();
|
|
}, methods: { getNowTime: function() {
|
|
var t2 = /* @__PURE__ */ new Date(), e2 = t2.getFullYear(), a2 = t2.getMonth() - 1 + 1, n2 = a2 < 10 ? "0" + a2 : a2;
|
|
this.query.month = "".concat(e2, "-").concat(n2), this.getlistData();
|
|
}, getlistData: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, this.query.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, Object(s["g"])(this.query).then((function(e2) {
|
|
0 == e2.code ? (t2.pageTotal = e2.data.rowsCount, t2.listTable = e2.data.records, t2.listLoading = false) : t2.listLoading = false;
|
|
})).catch((function(e2) {
|
|
t2.listLoading = false;
|
|
}));
|
|
}, 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.getlistData();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.getNowTime();
|
|
}, synchroClick: function() {
|
|
var t2 = this;
|
|
this.syncBtn = true, Object(s["i"])({ companyId: JSON.parse(localStorage.getItem("companyInfo")).osId }).then((function(e2) {
|
|
0 == e2.code ? (t2.$message({ message: "同步成功!", type: "success" }), t2.syncBtn = false, t2.getlistData()) : t2.syncBtn = false;
|
|
})).catch((function(e2) {
|
|
t2.syncBtn = false;
|
|
}));
|
|
}, valueClick: function(t2) {
|
|
var e2 = this, a2 = { memberId: t2.memberId, companyId: t2.companyId, month: t2.month };
|
|
Object(s["k"])(a2).then((function(t3) {
|
|
if (t3.data && t3.data.records.length > 0) {
|
|
var a3 = 0;
|
|
t3.data.records.forEach((function(t4) {
|
|
a3 = Object(g["a"])(a3, t4.packageAmount);
|
|
})), e2.totalValue = a3;
|
|
}
|
|
e2.valueList = t3.data.records, e2.valueVisible = true;
|
|
}));
|
|
}, valueClose: function() {
|
|
this.valueVisible = false;
|
|
}, pathClick: function() {
|
|
this.$router.push("/personnelMerits/humanEffectManage");
|
|
}, exportClick: function() {
|
|
Object(s["e"])({ companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, month: this.query.month }).then((function(t2) {
|
|
var e2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" }), a2 = (/* @__PURE__ */ new Date()).valueOf();
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(e2);
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = "价值换算成员列表_".concat(a2, ".xls"), n2.href = URL.createObjectURL(e2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
}));
|
|
} } }, y = v, _ = (a("9f72"), Object(p["a"])(y, h, b, false, null, "72d1041f", null)), k = _.exports, S = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return t2.show ? a2("div", [a2("div", { staticStyle: { "margin-bottom": "30px" } }, [a2("el-page-header", { attrs: { content: t2.title }, on: { back: t2.goBack } })], 1), t2._v(" "), t2._m(0), t2._v(" "), a2("div", { staticClass: "addTop" }, [a2("el-descriptions", { attrs: { title: "" } }, [a2("el-descriptions-item", { attrs: { label: "预算包名称" } }, [t2._v(t2._s(t2.infoData.name))]), t2._v(" "), a2("el-descriptions-item", { attrs: { label: "预算包金额" } }, [t2._v(t2._s(t2.infoData.amount))])], 1)], 1), t2._v(" "), t2._m(1), t2._v(" "), a2("div", [a2("div", { staticClass: "searchBar" }, [a2("el-form", { ref: "search", attrs: { model: t2.search } }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "projectUuid" } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: "请选择项目", clearable: "", filterable: "" }, model: { value: t2.search.projectUuid, callback: function(e3) {
|
|
t2.$set(t2.search, "projectUuid", e3);
|
|
}, expression: "search.projectUuid" } }, t2._l(t2.projectList, (function(t3) {
|
|
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.uuid } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "postUuid" } }, [a2("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: "请选择岗位", clearable: "", filterable: "" }, model: { value: t2.search.postUuid, callback: function(e3) {
|
|
t2.$set(t2.search, "postUuid", e3);
|
|
}, expression: "search.postUuid" } }, t2._l(t2.jobList, (function(t3) {
|
|
return a2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.id } });
|
|
})), 1)], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "memberName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "成员姓名" }, model: { value: t2.search.memberName, callback: function(e3) {
|
|
t2.$set(t2.search, "memberName", e3);
|
|
}, expression: "search.memberName" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), a2("el-button", { on: { click: function(e3) {
|
|
return t2.resetForm("search");
|
|
} } }, [t2._v("重置")])], 1)], 1)], 1)], 1)], 1), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], ref: "userListTable", attrs: { "header-cell-style": { background: "#FAFAFA" }, data: t2.listTable, "row-key": "memberId", align: "center", border: "" }, on: { "selection-change": t2.selectionList } }, [a2("el-table-column", { attrs: { type: "selection", align: "center", width: "55", "reserve-selection": true } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.projectName || "-") + "\n ")];
|
|
} }], null, false, 1126771618) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "岗位", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.postName || "-") + "\n ")];
|
|
} }], null, false, 186658639) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.memberName || "-") + "\n ")];
|
|
} }], null, false, 863771207) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "手机号码", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.phoneNumber || "-") + "\n ")];
|
|
} }], null, false, 658344015) })], 1), t2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": t2.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
t2.pageNumber = e3;
|
|
}, "update:current-page": function(e3) {
|
|
t2.pageNumber = e3;
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1), t2._v(" "), a2("div", { staticClass: "bottom-btn" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.postClick } }, [t2._v("确定")]), t2._v(" "), a2("el-button", { on: { click: t2.goBack } }, [t2._v("取消")])], 1)]) : t2._e();
|
|
}, j = [function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [t2._v("基础信息")])]);
|
|
}, function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "headerTop" }, [a2("span", { staticClass: "title" }, [t2._v("应用成员")])]);
|
|
}], w = (a("d91d"), { props: { show: { type: Boolean, default: false }, jobList: { type: Array, default: [] }, projectList: { type: Array, default: [] } }, data: function() {
|
|
return { title: "预算包应用", infoData: {}, search: { projectUuid: "", postUuid: "", memberName: "" }, pageTotal: 0, pageNumber: 1, pageSize: 10, listLoading: false, listTable: [], selectList: [], defaultSelect: [] };
|
|
}, methods: { init: function(t2) {
|
|
this.infoData = t2, this.infoData.relNum && this.infoData.relNum > 0 ? this.getSelectList() : this.getList();
|
|
}, getList: function() {
|
|
var t2 = this;
|
|
this.pageNumber = 1, this.pageSize = 10;
|
|
var e2 = this.search;
|
|
e2.companyId = JSON.parse(window.localStorage.getItem("companyInfo")).osId, e2.isStop = 1, e2.onJobState = 1, e2.pageNumber = -1, e2.pageSize = -1, Object(s["a"])(e2).then((function(e3) {
|
|
t2.saveTabel = e3.data.records, t2.listTable = t2.saveTabel.slice(0, 9), t2.pageTotal = t2.saveTabel.length, t2.infoData.relNum && t2.infoData.relNum > 0 && t2.defaultSelect.forEach((function(e4) {
|
|
t2.$refs.userListTable.toggleRowSelection(e4);
|
|
}));
|
|
}));
|
|
}, getSelectList: function() {
|
|
var t2 = this;
|
|
Object(s["f"])({ packageId: this.infoData.id }).then((function(e2) {
|
|
t2.defaultSelect = e2.data, t2.getList();
|
|
}));
|
|
}, onSearch: function() {
|
|
this.search.pageNumber = 1, this.getList();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.onSearch();
|
|
}, handleSizeChange: function(t2) {
|
|
this.pageSize = t2, this.pageNumber = 1, this.listTable = this.saveTabel.slice(0, t2 - 1);
|
|
}, handleCurrentChange: function(t2) {
|
|
this.pageNumber = t2, this.listTable = this.saveTabel.slice((t2 - 1) * this.pageSize, (t2 - 1) * this.pageSize + this.pageSize - 1);
|
|
}, selectionList: function(t2) {
|
|
this.selectList = t2;
|
|
}, postClick: function() {
|
|
var t2 = this;
|
|
if (this.selectList.length > 0) {
|
|
var e2 = { memberInfos: this.selectList, packageId: this.infoData.id };
|
|
Object(s["b"])(e2).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ message: "预算包应用成功!", type: "success" }), t2.$refs.userListTable.clearSelection(), t2.callBack());
|
|
}));
|
|
} else this.$message({ message: "请选择项目成员!", type: "warning" });
|
|
}, goBack: function() {
|
|
this.$emit("back");
|
|
}, callBack: function() {
|
|
this.$emit("callback");
|
|
} } }), O = w, N = (a("aba5"), Object(p["a"])(O, S, j, false, null, "16062a46", null)), L = N.exports, C = { name: "valueManage", components: { packageManage: f, laborValue: k, packageAdd: L }, data: function() {
|
|
return { list: true, addModel: false, activeName: "value", jobList: [], projectList: [] };
|
|
}, mounted: function() {
|
|
this.getJobList(), this.getProjectInfo();
|
|
}, methods: { handleClick: function(t2) {
|
|
var e2 = t2.paneName;
|
|
this.activeName = e2;
|
|
}, getJobList: function() {
|
|
var t2 = this;
|
|
Object(o["n"])({}).then((function(e2) {
|
|
e2.data.length > 0 ? t2.jobList = e2.data : t2.jobList = [];
|
|
})).catch((function(t3) {
|
|
console.log(t3);
|
|
}));
|
|
}, getProjectInfo: function() {
|
|
var t2 = this, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(i["j"])({ id: e2, attribute: 1 }).then((function(e3) {
|
|
0 === e3.code && e3.data ? t2.projectList = e3.data : t2.projectList = [];
|
|
}));
|
|
}, editClick: function(t2) {
|
|
this.list = false, this.addModel = true, this.$nextTick((function() {
|
|
this.$refs.package.init(t2);
|
|
}));
|
|
}, back: function() {
|
|
this.list = true, this.addModel = false;
|
|
}, backCall: function() {
|
|
this.back(), this.$refs.packageManage.getlistData();
|
|
} } }, q = C, x = (a("fd7f"), Object(p["a"])(q, n, r, false, null, null, null));
|
|
e["default"] = x.exports;
|
|
}, 4355: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "c", (function() {
|
|
return r;
|
|
})), a.d(e, "d", (function() {
|
|
return o;
|
|
})), a.d(e, "j", (function() {
|
|
return i;
|
|
})), a.d(e, "h", (function() {
|
|
return l;
|
|
})), a.d(e, "a", (function() {
|
|
return c;
|
|
})), a.d(e, "b", (function() {
|
|
return s;
|
|
})), a.d(e, "f", (function() {
|
|
return u;
|
|
})), a.d(e, "g", (function() {
|
|
return d;
|
|
})), a.d(e, "k", (function() {
|
|
return p;
|
|
})), a.d(e, "i", (function() {
|
|
return m;
|
|
})), a.d(e, "e", (function() {
|
|
return f;
|
|
}));
|
|
var n = a("b775");
|
|
function r(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/create", method: "post", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/delete", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/update", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/pageList", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(n["a"])({ url: "/company/member/companyMemberPage", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsPackageMemberRel/create", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsPackageMemberRel/listByPackageId", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/pageByMonth", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/pageList", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/statistics", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/exportByMonth", method: "post", data: t2, responseType: "blob" });
|
|
}
|
|
}, 4513: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "v", (function() {
|
|
return r;
|
|
})), a.d(e, "w", (function() {
|
|
return o;
|
|
})), a.d(e, "x", (function() {
|
|
return i;
|
|
})), a.d(e, "l", (function() {
|
|
return l;
|
|
})), a.d(e, "t", (function() {
|
|
return c;
|
|
})), a.d(e, "j", (function() {
|
|
return s;
|
|
})), a.d(e, "o", (function() {
|
|
return u;
|
|
})), a.d(e, "u", (function() {
|
|
return d;
|
|
})), a.d(e, "b", (function() {
|
|
return p;
|
|
})), a.d(e, "p", (function() {
|
|
return m;
|
|
})), a.d(e, "D", (function() {
|
|
return f;
|
|
})), a.d(e, "B", (function() {
|
|
return h;
|
|
})), a.d(e, "q", (function() {
|
|
return b;
|
|
})), a.d(e, "c", (function() {
|
|
return g;
|
|
})), a.d(e, "s", (function() {
|
|
return v;
|
|
})), a.d(e, "i", (function() {
|
|
return y;
|
|
})), a.d(e, "n", (function() {
|
|
return _;
|
|
})), a.d(e, "a", (function() {
|
|
return k;
|
|
})), a.d(e, "g", (function() {
|
|
return S;
|
|
})), a.d(e, "d", (function() {
|
|
return j;
|
|
})), a.d(e, "f", (function() {
|
|
return w;
|
|
})), a.d(e, "C", (function() {
|
|
return O;
|
|
})), a.d(e, "m", (function() {
|
|
return N;
|
|
})), a.d(e, "y", (function() {
|
|
return L;
|
|
})), a.d(e, "r", (function() {
|
|
return C;
|
|
})), a.d(e, "e", (function() {
|
|
return q;
|
|
})), a.d(e, "z", (function() {
|
|
return x;
|
|
})), a.d(e, "A", (function() {
|
|
return I;
|
|
})), a.d(e, "h", (function() {
|
|
return $;
|
|
})), a.d(e, "k", (function() {
|
|
return T;
|
|
}));
|
|
var n = a("b775");
|
|
function r() {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" });
|
|
}
|
|
function o(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(n["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(n["a"])({ url: "/company/member/getList", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/company/member/create", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/company/member/findById", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(n["a"])({ url: "/company/member/update", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(n["a"])({ url: "/company/member/suspendMember", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(n["a"])({ url: "/enterprise/os/memberQuit/".concat(t2.memberUuid), method: "post" });
|
|
}
|
|
function g(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/create", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/update", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(n["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(n["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(n["a"])({ url: "/company/member/getList", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(n["a"])({ url: "/company/member/queryByStaff", method: "POST", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(n["a"])({ url: "/company/member/memberQuit", method: "POST", data: t2 });
|
|
}
|
|
function q(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: t2 });
|
|
}
|
|
function $(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: t2 });
|
|
}
|
|
}, "4f21": function(t, e, a) {
|
|
"use strict";
|
|
a("1248");
|
|
}, "67d5": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "i", (function() {
|
|
return r;
|
|
})), a.d(e, "j", (function() {
|
|
return o;
|
|
})), a.d(e, "f", (function() {
|
|
return i;
|
|
})), a.d(e, "b", (function() {
|
|
return l;
|
|
})), a.d(e, "c", (function() {
|
|
return c;
|
|
})), a.d(e, "k", (function() {
|
|
return s;
|
|
})), a.d(e, "e", (function() {
|
|
return u;
|
|
})), a.d(e, "d", (function() {
|
|
return d;
|
|
})), a.d(e, "h", (function() {
|
|
return p;
|
|
})), a.d(e, "a", (function() {
|
|
return m;
|
|
})), a.d(e, "g", (function() {
|
|
return f;
|
|
}));
|
|
var n = a("b775");
|
|
function r(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 });
|
|
}
|
|
}, "76fa": function(t, e, a) {
|
|
}, "9f72": function(t, e, a) {
|
|
"use strict";
|
|
a("13c3");
|
|
}, aba5: function(t, e, a) {
|
|
"use strict";
|
|
a("76fa");
|
|
}, cbad: function(t, e, a) {
|
|
}, fd7f: function(t, e, a) {
|
|
"use strict";
|
|
a("cbad");
|
|
} }]);
|