Files
wysite/output/sourcemaps/hc-etms.sqygj.cn/static/js/chunk-7b9ef0e9.4a1c4751.js

1037 lines
77 KiB
JavaScript
Raw Permalink 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-7b9ef0e9"], { "0a03": function(t, e, n) {
"use strict";
n.r(e);
var a = function() {
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
return n2("div", { staticClass: "app-container bgHeight" }, [n2("el-tabs", { attrs: { value: t2.activeName, type: "border-card" }, on: { "tab-click": t2.handleClick } }, [n2("el-tab-pane", { attrs: { label: "考核报表", name: "report" } }, ["report" === t2.activeName ? n2("report-Form") : t2._e()], 1), t2._v(" "), n2("el-tab-pane", { attrs: { label: "字段规则", name: "rules" } }, ["rules" === t2.activeName ? n2("rules-List") : t2._e()], 1)], 1)], 1);
}, s = [], i = (n("a450"), function() {
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
return n2("div", [t2.list ? n2("div", { staticClass: "contentStys" }, [n2("div", { staticClass: "planLst" }, [n2("span", [t2._v("考核报表列表")]), t2._v(" "), n2("span", { staticClass: "addPlan" }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.addClick } }, [t2._v("新增报表")])], 1)]), t2._v(" "), n2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], attrs: { data: t2.listData, border: "", "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { label: "#", align: "center", width: "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + " ")])];
} }], null, false, 3830243315) }), t2._v(" "), n2("el-table-column", { attrs: { prop: "name", align: "center", "show-overflow-tooltip": "", label: "报表名称" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "状态" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(1 == e3.row.status ? "未启用" : 2 == e3.row.status ? "启用" : 3 == e3.row.status ? "禁用" : "-"))])];
} }], null, false, 1176102729) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "创建人" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(e3.row.memberName || "-") + "\n ")];
} }], null, false, 863771207) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "创建时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [t2._v("\n " + t2._s(e3.row.createdTime || "-") + "\n ")];
} }], null, false, 2002091109) }), t2._v(" "), n2("el-table-column", { attrs: { label: "操作", align: "center" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [e3.row.status > 0 ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.setClick(e3.row);
} } }, [t2._v("配置")]) : t2._e(), t2._v(" "), 1 == e3.row.status ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.delClick(e3.row);
} } }, [t2._v("删除")]) : t2._e(), t2._v(" "), 2 == e3.row.status ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.disableItem(e3.row, 3);
} } }, [t2._v("禁用")]) : t2._e(), t2._v(" "), 1 == e3.row.status || 3 == e3.row.status ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.updateItem(e3.row, 2);
} } }, [t2._v("启用")]) : t2._e(), t2._v(" "), n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.editClick(e3.row);
} } }, [t2._v("编辑")])];
} }], null, false, 2756202525) })], 1), t2._v(" "), n2("div", { staticClass: "pagination" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, 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(" "), n2("el-dialog", { attrs: { title: t2.title, visible: t2.addVisible, width: "30%", "before-close": t2.closeAdd }, on: { "update:visible": function(e3) {
t2.addVisible = e3;
} } }, [n2("div", [n2("el-form", { ref: "add", attrs: { model: t2.add, "label-width": "100px" } }, [n2("el-form-item", { attrs: { label: "考核报表", prop: "name", rules: { required: true, message: "请填写考核报表名称", trigger: "blur" } } }, [n2("el-input", { attrs: { maxlength: "12", "show-word-limit": "", clearable: "" }, model: { value: t2.add.name, callback: function(e3) {
t2.$set(t2.add, "name", e3);
}, expression: "add.name" } })], 1), t2._v(" "), n2("el-form-item", [n2("el-button", { on: { click: t2.closeAdd } }, [t2._v("取 消")]), t2._v(" "), "创建考核报表" == t2.title ? n2("el-button", { attrs: { type: "primary" }, on: { click: function(e3) {
return t2.addForm("add");
} } }, [t2._v("确 定")]) : n2("el-button", { attrs: { type: "primary" }, on: { click: function(e3) {
return t2.saveForm("add");
} } }, [t2._v("保 存")])], 1)], 1)], 1)]), t2._v(" "), n2("set-List", { ref: "set", attrs: { show: t2.set }, on: { back: t2.back } })], 1);
}), o = [], r = function() {
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
return t2.show ? n2("div", [n2("el-page-header", { attrs: { content: "考核报表详情【" + t2.saveData.name + "】" }, on: { back: t2.goBack } }), t2._v(" "), n2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [n2("div", { attrs: { slot: "header" }, slot: "header" }, [n2("div", { staticClass: "cardSet" }, [n2("span", [t2._v("配置列表")]), t2._v(" "), n2("el-button", { staticStyle: { float: "right" }, attrs: { type: "primary" }, on: { click: t2.setClick } }, [t2._v("报表配置")])], 1)]), t2._v(" "), n2("el-table", { staticClass: "tableSort", attrs: { data: t2.listData, border: "", "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { label: "#", type: "index", align: "center", width: "80" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "字段名称" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.row.cname || "-"))])];
} }], null, false, 1897114863) })], 1)], 1), t2._v(" "), n2("div", { staticClass: "backBtn" }, [n2("el-button", { on: { click: t2.goBack } }, [t2._v("返回")])], 1), t2._v(" "), n2("el-dialog", { staticClass: "dialogHead", attrs: { title: "考核报表字段配置", visible: t2.setVisible, "destroy-on-close": "", width: "60%" }, on: { "update:visible": function(e3) {
t2.setVisible = e3;
}, close: t2.closeVisible } }, [n2("div", { staticClass: "selectContent" }, [n2("el-transfer", { attrs: { filterable: "", titles: ["字段规则列表", "已选字段"], "filter-method": t2.filterMethod, "filter-placeholder": "输入字段名称搜索", data: t2.list }, model: { value: t2.saveSelect, callback: function(e3) {
t2.saveSelect = e3;
}, expression: "saveSelect" } })], 1), t2._v(" "), n2("span", { attrs: { slot: "footer" }, slot: "footer" }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: t2.closeVisible } }, [t2._v("取 消")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.updateSet } }, [t2._v("确 定")])], 1)])], 1) : t2._e();
}, c = [], l = (n("1bc7"), n("e7e2")), u = n.n(l), d = n("b775");
function m(t2) {
return Object(d["a"])({ url: "/company/Assess/addInfo", method: "POST", data: t2 });
}
function p(t2) {
return Object(d["a"])({ url: "/company/Assess/listByCompanyId", method: "POST", data: t2 });
}
function f(t2) {
return Object(d["a"])({ url: "/company/Assess/deleteInfo", method: "POST", data: t2 });
}
function h(t2) {
return Object(d["a"])({ url: "/company/Assess/updateInfo", method: "POST", data: t2 });
}
function g(t2) {
return Object(d["a"])({ url: "/company/Assess/create", method: "POST", data: t2 });
}
function b(t2) {
return Object(d["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 });
}
function y(t2) {
return Object(d["a"])({ url: "/company/Assess/update", method: "POST", data: t2 });
}
function v(t2) {
return Object(d["a"])({ url: "/company/Assess/delete", method: "POST", data: t2 });
}
function I(t2) {
return Object(d["a"])({ url: "/company/Assess/listRelById", method: "POST", data: t2 });
}
function k(t2) {
return Object(d["a"])({ url: "/company/Assess/listById", method: "POST", data: t2 });
}
function _(t2) {
return Object(d["a"])({ url: "/company/Assess/sortRel", method: "POST", data: t2 });
}
function D(t2) {
return Object(d["a"])({ url: "/project/FsCharges/findSubjectByUuid", method: "POST", data: t2 });
}
function O(t2) {
return Object(d["a"])({ url: "/hakocompany/ChargeReport/findByParam", method: "POST", data: t2 });
}
function S(t2) {
return Object(d["a"])({ url: "/hakocompany/ChargeReport/updateField", method: "POST", data: t2 });
}
var j = { props: ["show"], data: function() {
return { saveData: {}, setVisible: false, company: {}, listData: [], list: [], saveSelect: [] };
}, created: function() {
this.company = JSON.parse(localStorage.getItem("companyInfo")), this.member = JSON.parse(localStorage.getItem("memberInfor"));
}, mounted: function() {
this.getAllList();
}, methods: { init: function(t2) {
this.saveData = t2, this.getSetList(), this.rowDrop();
}, getSetList: function() {
var t2 = this;
I({ id: this.saveData.id }).then((function(e2) {
t2.listData = e2.data, t2.saveSelect = [], e2.data.length > 0 ? e2.data.forEach((function(e3) {
t2.saveSelect.push(e3.cid);
})) : t2.saveSelect = [];
}));
}, rowDrop: function() {
var t2 = document.querySelector(".tableSort .el-table__body-wrapper tbody"), e2 = this;
u.a.create(t2, { onEnd: function(t3) {
e2.listData.splice(t3.newIndex, 0, e2.listData.splice(t3.oldIndex, 1)[0]);
var n2 = e2.listData.slice(0);
e2.listData = [], e2.$nextTick((function() {
e2.listData = n2, e2.postSort(e2.listData);
}));
} });
}, getAllList: function() {
var t2 = this;
k({ id: this.company.osId }).then((function(e2) {
e2.data.forEach((function(t3) {
t3.key = t3.id, t3.label = t3.name;
})), t2.list = e2.data;
}));
}, setClick: function() {
this.setVisible = true;
}, filterMethod: function(t2, e2) {
return e2.name.indexOf(t2) > -1;
}, updateSet: function() {
var t2 = this;
if (0 != this.saveSelect.length) {
var e2 = [], n2 = 0;
this.list.filter((function(a2, s2) {
t2.saveSelect.indexOf(a2.id) > -1 && (n2++, e2.push({ cid: a2.id, cname: a2.name, sort: n2 }));
})), console.log(e2), _({ assessId: this.saveData.id, updateList: e2 }).then((function(e3) {
t2.$message({ message: "配置成功", type: "success" }), t2.closeVisible(), t2.getSetList();
}));
} else this.$message("请选择字段规则");
}, postSort: function(t2) {
var e2 = this, n2 = t2;
n2.forEach((function(t3, e3) {
t3.sort = e3 + 1;
})), _({ assessId: this.saveData.id, updateList: n2 }).then((function(t3) {
e2.$message({ message: "操作成功", type: "success" }), e2.getSetList();
}));
}, closeVisible: function() {
this.setVisible = false;
}, goBack: function() {
this.$emit("back");
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, w = j, T = (n("ec86"), n("829d")), L = Object(T["a"])(w, r, c, false, null, null, null), C = L.exports, x = n("4513"), P = { components: { setList: C }, data: function() {
return { company: {}, member: {}, memberId: "", title: "创建考核报表", list: true, set: false, addVisible: false, total: 0, query: { pageNumber: 1, pageSize: 10 }, add: { name: "" }, listLoading: false, listData: [] };
}, created: function() {
this.company = JSON.parse(localStorage.getItem("companyInfo")), this.memberId = localStorage.getItem("memberId");
}, mounted: function() {
this.getList(), this.getMemberInfor();
}, methods: { getMemberInfor: function() {
var t2 = this;
Object(x["p"])({ id: this.memberId }).then((function(e2) {
0 === e2.code && null != e2.data && (t2.member = e2.data.memberAddReqDTO);
}));
}, getList: function() {
var t2 = this;
this.query.companyId = this.company.osId, b(this.query).then((function(e2) {
t2.listData = e2.data.records, t2.total = e2.data.rowsCount;
}));
}, handleSizeChange: function(t2) {
this.query.pageSize = t2, this.query.pageNumber = 1, this.getList();
}, handleCurrentChange: function(t2) {
this.query.pageNumber = t2, this.getList();
}, delClick: function(t2) {
var e2 = this;
this.$confirm("此操作将删除该考核报表, 是否继续?", "删除", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
v({ id: t2.id }).then((function(t3) {
e2.$message({ message: "删除成功", type: "success" }), e2.getList();
}));
})).catch((function() {
}));
}, disableItem: function(t2, e2) {
var n2 = this;
this.$confirm("此操作将禁用该考核报表, 是否继续?", "禁用", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
n2.updateItem(t2, e2);
})).catch((function() {
}));
}, updateItem: function(t2, e2) {
var n2 = this;
y({ id: t2.id, status: e2 }).then((function(t3) {
n2.$message({ message: "操作成功", type: "success" }), n2.getList();
}));
}, addForm: function(t2) {
var e2 = this;
this.$refs[t2].validate((function(t3) {
t3 && g({ companyId: e2.company.osId, memberId: e2.member.id, memberName: e2.member.name, name: e2.add.name }).then((function(t4) {
e2.$message({ message: "创建成功", type: "success" }), e2.closeAdd(), e2.getList();
}));
}));
}, saveForm: function(t2) {
var e2 = this;
this.$refs[t2].validate((function(t3) {
t3 && y({ id: e2.add.id, name: e2.add.name, companyId: e2.company.osId }).then((function(t4) {
e2.$message({ message: "修改成功", type: "success" }), e2.closeAdd(), e2.getList();
}));
}));
}, setClick: function(t2) {
this.list = false, this.set = true, this.$nextTick((function() {
this.$refs.set.init(t2);
}));
}, addClick: function() {
this.addVisible = true, this.title = "创建考核报表";
}, editClick: function(t2) {
this.title = "编辑考核报表", this.add = JSON.parse(JSON.stringify(t2)), this.addVisible = true;
}, closeAdd: function() {
this.$refs["add"].resetFields(), this.add.name = "", this.addVisible = false;
}, back: function() {
this.list = true, this.set = false, this.getList();
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, N = P, z = (n("97e5"), Object(T["a"])(N, i, o, false, null, "652ebe28", null)), q = z.exports, B = function() {
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
return n2("div", [t2.list ? n2("div", { staticClass: "contentStys" }, [n2("div", { staticClass: "planLst" }, [n2("span", [t2._v("考核字段规则列表 \n "), t2._v(" "), n2("i", { staticClass: "el-icon-message-solid message-solid-color", on: { click: t2.queryUpdataProgress } })]), t2._v(" "), n2("span", { staticClass: "addPlan" }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.clickAdd } }, [t2._v("新增规则字段")])], 1)]), t2._v(" "), n2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], attrs: { data: t2.listData, border: "", "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { label: "#", align: "center", width: "80" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + " ")])];
} }], null, false, 3830243315) }), t2._v(" "), n2("el-table-column", { attrs: { prop: "name", align: "center", "show-overflow-tooltip": "", label: "字段名称" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "状态" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(1 == e3.row.status ? "未启用" : 2 == e3.row.status ? "启用" : 3 == e3.row.status ? "禁用" : "-"))])];
} }], null, false, 1176102729) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "创建人" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.row.memberName || "-"))])];
} }], null, false, 3231742716) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "创建时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.row.createdTime || "-"))])];
} }], null, false, 2295064830) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "更新人" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.row.updaterName || "-"))])];
} }], null, false, 2878080655) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "更新时间" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.row.updateTime || "-"))])];
} }], null, false, 3170479983) }), t2._v(" "), n2("el-table-column", { attrs: { label: "操作", align: "center" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [e3.row.status > 0 ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.editClick(e3.row);
} } }, [t2._v("编辑")]) : t2._e(), t2._v(" "), n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.delClick(e3.row);
} } }, [t2._v("删除")]), t2._v(" "), 2 == e3.row.status ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.disableItem(e3.row, 3);
} } }, [t2._v("禁用")]) : t2._e(), t2._v(" "), 1 == e3.row.status || 3 == e3.row.status ? n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.updateItem(e3.row, 2);
} } }, [t2._v("启用")]) : t2._e()];
} }], null, false, 2034873801) })], 1), t2._v(" "), n2("div", { staticClass: "pagination" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, 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(" "), n2("rule-Detail", { ref: "rule", attrs: { show: t2.rule }, on: { back: t2.back } }), t2._v(" "), n2("el-dialog", { attrs: { title: "更新进度", visible: t2.dialogVisible, width: "40%" }, on: { "update:visible": function(e3) {
t2.dialogVisible = e3;
} } }, [n2("el-table", { attrs: { data: t2.updataProgress, height: "350px", fit: "", border: "", stripe: "" } }, [n2("el-table-column", { attrs: { prop: "projectName", label: "项目", "min-width": "150", "show-overflow-tooltip": "" } }), t2._v(" "), n2("el-table-column", { attrs: { prop: "status", label: "状态", "min-width": "80", align: "center" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(1 == e3.row.status ? "正在更新" : "完成"))])];
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { prop: "updateTime", label: "完成时间", "min-width": "180", align: "center" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("span", [t2._v(t2._s(e3.row.updateTime || "-"))])];
} }]) })], 1), t2._v(" "), n2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [n2("el-button", { on: { click: function(e3) {
t2.dialogVisible = false;
} } }, [t2._v("关闭")])], 1)], 1)], 1);
}, A = [], $ = function() {
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
return t2.show ? n2("div", [n2("el-page-header", { attrs: { content: t2.title }, on: { back: t2.goBack } }), t2._v(" "), n2("div", { staticClass: "addTop" }, [n2("el-form", { ref: "add", attrs: { model: t2.add, "label-width": "80px", "label-position": "left", "hide-required-asterisk": "", inline: true } }, [n2("el-form-item", { attrs: { label: "字段名称", prop: "name", rules: { required: true, message: "请填写字段名称", trigger: "blur" } } }, [n2("el-input", { staticStyle: { width: "400px" }, attrs: { maxlength: "12", "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(" "), n2("el-form-item", { attrs: { label: "结果显示", prop: "result" } }, [n2("el-radio-group", { model: { value: t2.add.result, callback: function(e3) {
t2.$set(t2.add, "result", e3);
}, expression: "add.result" } }, [n2("el-radio", { attrs: { label: 1 } }, [t2._v("数值")]), t2._v(" "), n2("el-radio", { attrs: { label: 2 } }, [t2._v("百分百(%)")])], 1)], 1)], 1), t2._v(" "), n2("el-form", { attrs: { "label-position": "left" } }, [n2("el-form-item", { attrs: { label: "考核公式", "label-width": "80px" } }, [n2("div", { staticClass: "formulaContent" }, t2._l(t2.formatArr, (function(e3, a2) {
return n2("span", { key: a2, class: [t2.formatNum(e3) ? "numStyle" : null] }, [t2._v(t2._s(e3))]);
})), 0)])], 1), t2._v(" "), n2("el-form", { attrs: { "label-position": "top" } }, [n2("div", { staticClass: "formulaSet" }, [n2("div", { staticClass: "formulaBtn" }, [n2("el-tabs", { model: { value: t2.tabActive, callback: function(e3) {
t2.tabActive = e3;
}, expression: "tabActive" } }, [n2("el-tab-pane", { attrs: { label: "基本", name: "basic" } }, t2._l(t2.formulaVal[0], (function(e3, a2) {
return n2("el-form-item", { key: a2, attrs: { label: e3.title } }, t2._l(e3.list, (function(e4, a3) {
return n2("div", { key: a3, staticClass: "btnSet" }, t2._l(e4, (function(e5, a4) {
return n2("span", { key: a4 }, [n2("el-button-group", { staticClass: "group-btn-set" }, [n2("el-button", { staticClass: "btn-w-180", attrs: { size: "small" }, on: { click: function(n3) {
return t2.addBtn(e5.name);
} } }, [t2._v(t2._s(e5.name))]), t2._v(" "), n2("el-button", { staticClass: "icon-btn-set", attrs: { type: "primary", plain: "", size: "small" }, on: { click: function(n3) {
return t2.checkBtnClick(e5);
} } }, [n2("i", { staticClass: "el-icon-success" })])], 1)], 1);
})), 0);
})), 0);
})), 1), t2._v(" "), n2("el-tab-pane", { attrs: { label: "回款明细", name: "detailed" } }, t2._l(t2.formulaVal[1], (function(e3, a2) {
return n2("el-form-item", { key: a2, attrs: { label: e3.title } }, t2._l(e3.list, (function(e4, a3) {
return n2("div", { key: a3, staticClass: "btnSet" }, t2._l(e4, (function(e5, a4) {
return n2("span", { key: a4 }, [n2("el-button-group", { staticClass: "group-btn-set" }, [n2("el-button", { staticClass: "btn-w-180", attrs: { size: "small" }, on: { click: function(n3) {
return t2.addBtn(e5.name);
} } }, [t2._v(t2._s(e5.name))]), t2._v(" "), n2("el-button", { staticClass: "icon-btn-set", attrs: { type: "primary", plain: "", size: "small" }, on: { click: function(n3) {
return t2.checkBtnClick(e5);
} } }, [n2("i", { staticClass: "el-icon-success" })])], 1)], 1);
})), 0);
})), 0);
})), 1), t2._v(" "), n2("el-tab-pane", { attrs: { label: "预收款项明细", name: "advance" } }, t2._l(t2.formulaVal[2], (function(e3, a2) {
return n2("el-form-item", { key: a2, attrs: { label: e3.title } }, t2._l(e3.list, (function(e4, a3) {
return n2("div", { key: a3, staticClass: "btnSet" }, t2._l(e4, (function(e5, a4) {
return n2("span", { key: a4 }, [n2("el-button-group", { staticClass: "group-btn-set" }, [n2("el-button", { staticClass: "btn-w-180", attrs: { size: "small" }, on: { click: function(n3) {
return t2.addBtn(e5.name);
} } }, [t2._v(t2._s(e5.name))]), t2._v(" "), n2("el-button", { staticClass: "icon-btn-set", attrs: { type: "primary", plain: "", size: "small" }, on: { click: function(n3) {
return t2.checkBtnClick(e5);
} } }, [n2("i", { staticClass: "el-icon-success" })])], 1)], 1);
})), 0);
})), 0);
})), 1)], 1)], 1), t2._v(" "), n2("div", { staticClass: "formulaEnter" }, [n2("el-form-item", { attrs: { label: "运算" } }, [n2("div", { staticStyle: { "margin-bottom": "20px" } }, [n2("el-button", { staticStyle: { width: "50px" }, attrs: { plain: "" }, on: { click: function(e3) {
return t2.addBtn("+");
} } }, [t2._v("+")]), t2._v(" "), n2("el-button", { staticStyle: { width: "50px" }, attrs: { plain: "" }, on: { click: function(e3) {
return t2.addBtn("-");
} } }, [t2._v("-")]), t2._v(" "), n2("el-button", { staticStyle: { width: "50px" }, attrs: { plain: "" }, on: { click: function(e3) {
return t2.addBtn("*");
} } }, [t2._v("×")]), t2._v(" "), n2("el-button", { staticStyle: { width: "50px" }, attrs: { plain: "" }, on: { click: function(e3) {
return t2.addBtn("/");
} } }, [t2._v("÷")])], 1), t2._v(" "), n2("div", { staticStyle: { "margin-bottom": "20px" } }, [n2("el-button", { staticStyle: { width: "50px" }, attrs: { plain: "" }, on: { click: function(e3) {
return t2.addBtn("(");
} } }, [t2._v("(")]), t2._v(" "), n2("el-button", { staticStyle: { width: "50px" }, attrs: { plain: "" }, on: { click: function(e3) {
t2.addBtn(")");
} } }, [t2._v(")")]), t2._v(" "), n2("el-button", { staticStyle: { width: "115px" }, attrs: { type: "primary", plain: "" }, on: { click: function(e3) {
return t2.addBtn("数值");
} } }, [t2._v("插入数值")])], 1), t2._v(" "), n2("div", { staticStyle: { "margin-bottom": "20px" } }, [n2("el-button", { staticStyle: { width: "115px" }, attrs: { type: "danger", plain: "" }, on: { click: t2.delBtn } }, [t2._v("删除")]), t2._v(" "), n2("el-popconfirm", { attrs: { title: "确定要清空已输入的所有公式吗?" }, on: { confirm: t2.clearClick } }, [n2("el-button", { staticStyle: { width: "115px", "margin-left": "10px" }, attrs: { slot: "reference", type: "danger" }, slot: "reference" }, [t2._v("全部清空")])], 1)], 1)]), t2._v(" "), n2("div", t2._l(t2.numList, (function(e3, a2) {
return n2("div", { key: a2 }, [n2("span", { staticClass: "setTitle" }, [t2._v(t2._s("数值" + (a2 + 1)))]), t2._v(" "), n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
return t2.setClick(e3);
} } }, [t2._v("配置")])], 1);
})), 0)], 1)]), t2._v(" "), n2("el-form-item", { staticStyle: { "text-align": "right" } }, [n2("el-button", { on: { click: t2.goBack } }, [t2._v("返回")]), t2._v(" "), "编辑规则字段" == t2.title ? n2("el-button", { attrs: { type: "primary" }, on: { click: t2.savePost } }, [t2._v("保存")]) : t2._e(), t2._v(" "), "新增规则字段" == t2.title ? n2("el-button", { attrs: { type: "primary" }, on: { click: t2.addPost } }, [t2._v("确定")]) : t2._e()], 1)], 1)], 1), t2._v(" "), n2("el-dialog", { attrs: { title: t2.dialogTitle, visible: t2.setVisible, width: "40%", "before-close": t2.close }, on: { "update:visible": function(e3) {
t2.setVisible = e3;
} } }, [n2("div", [n2("el-form", { staticClass: "demo-form-inline", attrs: { inline: true } }, [n2("el-form-item", { attrs: { label: "统一数值" } }, [n2("el-input-number", { attrs: { "controls-position": "right", min: 0 }, model: { value: t2.allNum, callback: function(e3) {
t2.allNum = e3;
}, expression: "allNum" } })], 1), t2._v(" "), n2("el-form-item", [n2("el-button", { attrs: { type: "primary" }, on: { click: t2.setAll } }, [t2._v("应用全部")])], 1)], 1)], 1), t2._v(" "), n2("el-table", { attrs: { data: t2.numData, border: "", "header-cell-style": t2.headClass, height: "500" } }, [n2("el-table-column", { attrs: { label: "#", type: "index", align: "center", width: "50" } }), t2._v(" "), n2("el-table-column", { attrs: { prop: "name", align: "center", "show-overflow-tooltip": "", label: "项目名称", "min-width": "300" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "数值", width: "150" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
return [n2("el-input-number", { staticStyle: { width: "120px" }, attrs: { "controls-position": "right", min: 0 }, model: { value: e3.row.setNum, callback: function(n3) {
t2.$set(e3.row, "setNum", n3);
}, expression: "scope.row.setNum" } })];
} }], null, false, 990740845) })], 1), t2._v(" "), n2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [n2("el-button", { attrs: { type: "primary" }, on: { click: t2.close } }, [t2._v("确 定")])], 1)], 1), t2._v(" "), n2("check-Val", { ref: "checkVal", attrs: { show: t2.showCheck, formulaValArr: t2.formulaValArr }, on: { close: function(e3) {
t2.showCheck = false;
} } })], 1) : t2._e();
}, V = [], R = n("67d5"), F = n("dce5"), Q = n("1389"), E = function() {
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
return n2("div", { staticClass: "checkVal-main" }, [n2("el-dialog", { attrs: { title: "原子字段校验", visible: t2.show, width: "30%", "close-on-press-escape": false, "close-on-click-modal": false, "before-close": t2.handleClose }, on: { "update:visible": function(e3) {
t2.show = e3;
} } }, [n2("el-form", { ref: "valInfo", attrs: { model: t2.valInfo, "label-width": "100px" } }, [n2("el-form-item", { attrs: { label: "原子字段" } }, [n2("el-select", { attrs: { "value-key": "name", filterable: "", placeholder: "选择原子字段" }, on: { change: t2.selectChange }, model: { value: t2.checkVal, callback: function(e3) {
t2.checkVal = e3;
}, expression: "checkVal" } }, t2._l(t2.formulaValArr, (function(e3, a2) {
return n2("el-option-group", { key: a2, attrs: { label: e3.title } }, t2._l(e3.list, (function(t3, e4) {
return n2("el-option", { key: e4, attrs: { label: t3.name, value: t3 } });
})), 1);
})), 1)], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "说明" } }, [t2._v("\n " + t2._s(t2.valInfo.tips || "-") + "\n ")]), t2._v(" "), n2("el-form-item", { attrs: { label: "图示" } }, [t2.valInfo.desImg.length > 0 ? n2("div", { staticClass: "desImgList" }, t2._l(t2.valInfo.desImg, (function(e3, a2) {
return n2("el-image", { key: a2, staticClass: "desImg", attrs: { src: e3, alt: "contain", "preview-src-list": t2.valInfo.desImg } });
})), 1) : n2("span", [t2._v("-")])]), t2._v(" "), n2("el-form-item", { attrs: { label: "科目", prop: "subjectNo", rules: { required: true, message: "请选择科目", trigger: "change" } } }, [n2("el-select", { attrs: { filterable: "", placeholder: "请选择项目", clearable: "" }, model: { value: t2.valInfo.subjectNo, callback: function(e3) {
t2.$set(t2.valInfo, "subjectNo", e3);
}, expression: "valInfo.subjectNo" } }, t2._l(t2.subjectList, (function(t3) {
return n2("el-option", { key: t3.id, attrs: { label: t3.name, value: t3.code } });
})), 1)], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "项目", prop: "projectUuid", rules: { required: true, message: "请选择项目", trigger: "change" } } }, [n2("el-select", { attrs: { filterable: "", placeholder: "请选择项目", clearable: "" }, model: { value: t2.valInfo.projectUuid, callback: function(e3) {
t2.$set(t2.valInfo, "projectUuid", e3);
}, expression: "valInfo.projectUuid" } }, t2._l(t2.projectList, (function(t3) {
return n2("el-option", { key: t3.uuid, attrs: { label: t3.name, value: t3.uuid } });
})), 1)], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "年月", prop: "month", rules: { required: true, message: "请选择年月", trigger: "change" } } }, [n2("el-date-picker", { attrs: { format: "yyyy-MM", "value-format": "yyyy-MM", type: "month", placeholder: "选择月" }, model: { value: t2.valInfo.month, callback: function(e3) {
t2.$set(t2.valInfo, "month", e3);
}, expression: "valInfo.month" } })], 1), t2._v(" "), n2("el-form-item", { attrs: { label: "原子字段值" } }, [t2.searchNull ? t2._e() : n2("div", [t2.checkInfo ? n2("div", [n2("span", { staticStyle: { "font-weight": "bold", color: "#FF6B6B", "font-size": "16px" } }, [t2._v(t2._s(t2.checkInfo.amount))]), t2._v(" "), n2("span", { staticStyle: { "font-size": "12px", color: "#cdcdcd" } }, [t2._v("更新于:" + t2._s(t2.checkInfo.updateDate))])]) : n2("div", [t2._v("-")])]), t2._v(" "), t2.searchNull ? n2("div", { staticStyle: { color: "#FF6B6B" } }, [t2._v("查无此数据")]) : t2._e(), t2._v(" "), t2.showDiv ? n2("el-radio", { attrs: { label: 0 }, on: { input: t2.changeType }, model: { value: t2.checkInfo.type, callback: function(e3) {
t2.$set(t2.checkInfo, "type", e3);
}, expression: "checkInfo.type" } }, [t2._v("报表展示值(原子字段值)")]) : t2._e()], 1), t2._v(" "), t2.showDiv ? n2("el-form-item", { attrs: { label: "人工修改值" } }, [t2.isEnter ? t2._e() : n2("div", [n2("div", [t2.searchNull ? t2._e() : n2("span", { staticStyle: { "font-weight": "bold", color: "#409EFF", "font-size": "16px" } }, [t2._v(t2._s(t2.checkInfo.amountArtificial))]), t2._v(" "), t2.searchNull ? n2("span", [t2._v("-")]) : t2._e(), t2._v(" "), n2("el-button", { attrs: { type: "text" }, on: { click: function(e3) {
return t2.toEnter(t2.checkInfo);
} } }, [n2("i", { staticClass: "el-icon-edit" })])], 1), t2._v(" "), n2("el-radio", { attrs: { label: 1 }, on: { input: t2.changeType }, model: { value: t2.checkInfo.type, callback: function(e3) {
t2.$set(t2.checkInfo, "type", e3);
}, expression: "checkInfo.type" } }, [t2._v("报表展示值(人工修改值)")])], 1), t2._v(" "), t2.isEnter ? n2("div", [n2("el-input-number", { attrs: { "controls-position": "right", min: 0, precision: 2, size: "medium" }, model: { value: t2.checkDiy.num, callback: function(e3) {
t2.$set(t2.checkDiy, "num", e3);
}, expression: "checkDiy.num" } }), t2._v(" "), n2("el-button", { attrs: { type: "text" }, on: { click: t2.enterConfirm } }, [t2._v("确定")]), t2._v(" "), n2("el-button", { staticStyle: { color: "#FF6B6B" }, attrs: { type: "text" }, on: { click: t2.escEnter } }, [t2._v("取消")])], 1) : t2._e()]) : t2._e(), t2._v(" "), n2("el-form-item", { attrs: { label: "" } }, [n2("el-button", { attrs: { type: "primary" }, on: { click: t2.getCheckValInfo } }, [t2._v("校 验")]), t2._v(" "), n2("el-button", { on: { click: t2.handleClose } }, [t2._v("取 消")])], 1)], 1)], 1)], 1);
}, J = [], U = (n("8dee"), { props: { show: { type: Boolean, default: false }, formulaValArr: { type: Array, default: function() {
return [];
} } }, data: function() {
return { formulaVal: Q, countList: F["z"], name: "", company: {}, projectList: [], subjectList: [], valInfo: { name: "", tips: "", desImg: "", projectUuid: "", subjectNo: "", month: "" }, checkInfo: "", searchNull: false, checkVal: "", showDiv: false, isEnter: false, checkDiy: { num: 0 } };
}, mounted: function() {
this.company = JSON.parse(localStorage.getItem("companyInfo")), this.getProjectInfo(), this.getSubjectList();
}, methods: { init: function(t2) {
this.checkVal = { name: t2.name, tips: t2.tip, desImg: t2.desImg }, this.valInfo.name = t2.name, this.valInfo.tips = t2.tip, this.valInfo.desImg = t2.desImg, this.showDiv = false, this.isEnter = false;
}, selectChange: function(t2) {
this.checkInfo = "", this.searchNull = false, this.valInfo.name = t2.name, this.valInfo.tips = t2.tip, this.valInfo.desImg = t2.desImg, this.showDiv = false;
}, getProjectInfo: function() {
var t2 = this;
Object(R["j"])({ id: this.company.osId, attribute: 1 }).then((function(e2) {
0 === e2.code && e2.data ? t2.projectList = e2.data : t2.projectList = [];
}));
}, getSubjectList: function() {
var t2 = this;
D({ companyId: this.company.osId }).then((function(e2) {
0 === e2.code && e2.data ? t2.subjectList = e2.data : t2.subjectList = [];
}));
}, getCheckValInfo: function() {
var t2 = this;
this.$refs["valInfo"].validate((function(e2) {
if (e2) {
var n2 = t2.countList.filter((function(e3) {
return e3.label == t2.valInfo.name;
})), a2 = n2[0].value.replace(/\./g, ""), s2 = { projectUuid: t2.valInfo.projectUuid, subjectNo: t2.valInfo.subjectNo, year: t2.valInfo.month.substring(0, 4), month: t2.valInfo.month.substring(5), strCode: a2 };
O(s2).then((function(e3) {
0 == e3.code && e3.data ? (t2.searchNull = false, t2.checkInfo = e3.data) : (t2.checkInfo = "", t2.searchNull = true), "Q1" != a2 && "Q4" !== a2 || (t2.showDiv = true);
}));
}
}));
}, handleClose: function() {
this.$refs["valInfo"].resetFields(), this.checkInfo = "", this.checkVal = "", this.searchNull = false, this.$emit("close");
}, toEnter: function() {
this.isEnter = true;
var t2 = JSON.parse(JSON.stringify(this.checkInfo));
this.checkDiy.num = t2.amountArtificial;
}, enterConfirm: function() {
var t2 = this;
if (null != this.checkDiy.num && void 0 != this.checkDiy.num) {
var e2 = { projectUuid: this.checkInfo.projectUuid, subjectNo: this.checkInfo.subjectNo, year: this.checkInfo.year, strCode: this.checkInfo.strCode, amountArtificial: this.checkDiy.num };
S(e2).then((function(e3) {
0 == e3.code && (t2.$message.success("修改成功"), t2.escEnter(), t2.getCheckValInfo());
}));
} else this.$message.error("请输入人工修改的数值");
}, escEnter: function() {
this.isEnter = false, this.checkDiy.num = void 0;
}, changeType: function(t2) {
var e2 = this, n2 = { projectUuid: this.checkInfo.projectUuid, subjectNo: this.checkInfo.subjectNo, year: this.checkInfo.year, strCode: this.checkInfo.strCode, type: t2 };
S(n2).then((function(t3) {
0 == t3.code && (e2.$message.success("设置成功"), e2.getCheckValInfo());
}));
} } }), M = U, W = (n("ffc1"), Object(T["a"])(M, E, J, false, null, "1b4a3a25", null)), H = W.exports, Y = { props: ["show"], components: { checkVal: H }, data: function() {
return { company: {}, member: {}, countList: F["z"], formulaVal: Q, title: "新增规则字段", dialogTitle: "公式数值配置", tabActive: "basic", projectList: [], saveList: [], saveText: [], formatArr: [], formulaReal: "", numList: [], setVisible: false, numData: [], memberId: "", add: { name: "", result: 1 }, allNum: void 0, showCheck: false, formulaValArr: [] };
}, created: function() {
console.log(this.formulaVal), this.company = JSON.parse(localStorage.getItem("companyInfo")), this.memberId = localStorage.getItem("memberId");
}, mounted: function() {
this.getProjectInfo(), this.getMemberInfor(), this.setformulaValArr();
}, methods: { init: function(t2, e2) {
"add" == e2 ? this.title = "新增规则字段" : "edit" == e2 && (this.title = "编辑规则字段", this.setData(t2));
}, setformulaValArr: function() {
var t2 = [];
this.formulaVal.forEach((function(e2) {
e2.forEach((function(e3) {
var n2 = [];
e3.list.forEach((function(t3) {
t3.forEach((function(t4) {
n2.push(t4);
}));
})), t2.push({ title: e3.title, list: n2 });
}));
})), this.formulaValArr = t2;
}, setData: function(t2) {
var e2 = this, n2 = JSON.parse(JSON.stringify(t2));
this.add.name = n2.name, this.add.result = n2.result, this.add.id = n2.id, this.saveText = JSON.parse(n2.formulaText);
var a2 = JSON.parse(n2.formula);
a2.length > 0 ? a2.forEach((function(t3) {
console.log(t3), e2.numList.push(t3.list);
})) : this.numList = [], this.getFormatArr();
}, getMemberInfor: function() {
var t2 = this;
Object(x["p"])({ id: this.memberId }).then((function(e2) {
0 === e2.code && null != e2.data && (t2.member = e2.data.memberAddReqDTO);
}));
}, getProjectInfo: function() {
var t2 = this;
Object(R["j"])({ id: this.company.osId, attribute: 1 }).then((function(e2) {
if (0 === e2.code && e2.data) {
var n2 = [];
e2.data.forEach((function(t3) {
n2.push({ name: t3.name, uuid: t3.uuid, setNum: 0 });
})), t2.saveList = n2, t2.projectList = e2.data;
} else t2.projectList = [];
}));
}, addBtn: function(t2) {
"数值" == t2 && this.numList.push(JSON.parse(JSON.stringify(this.saveList))), this.saveText.push(t2), this.getFormatArr();
}, getFormatArr: function() {
var t2 = this, e2 = JSON.parse(JSON.stringify(this.saveText)), n2 = [], a2 = [], s2 = 0;
e2.map((function(e3, i2) {
var o2 = t2.countList.filter((function(t3) {
return t3.label == e3;
}));
o2.length > 0 ? (a2.push(o2[0].value), n2.push(o2[0].label)) : "数值" == e3 ? (s2++, n2.push("数值".concat(s2)), a2.push("num_".concat(s2))) : (n2.push(e3), a2.push(e3));
})), this.formatArr = n2, this.formulaReal = a2.join("");
}, delBtn: function() {
this.saveText.length > 0 && ("数值" == this.saveText[this.saveText.length - 1].substr(0, 2) ? (this.saveText.splice(this.saveText.length - 1, 1), this.numList.splice(this.numList.length - 1, 1)) : this.saveText.splice(this.saveText.length - 1, 1), this.getFormatArr());
}, clearClick: function() {
this.saveText = [], this.formatArr = [], this.formulaReal = "", this.numList = [];
}, formatNum: function(t2) {
return "数值" == t2.substr(0, 2);
}, setClick: function(t2) {
this.setVisible = true, this.$nextTick((function() {
this.numData = t2;
}));
}, close: function() {
var t2 = [];
if (this.numData.length > 0 && this.numData.forEach((function(e2) {
e2.setNum >= 0 || t2.push(e2);
})), t2.length > 0) return this.$message("有项目配置未正确填写"), false;
this.setVisible = false;
}, addPost: function() {
var t2 = this;
this.$refs["add"].validate((function(e2) {
if (e2) {
if (!t2.getData()) return;
m(t2.getData()).then((function(e3) {
t2.$message({ message: "创建成功", type: "success" }), t2.goBack();
}));
}
}));
}, savePost: function() {
var t2 = this;
this.$refs["add"].validate((function(e2) {
if (e2) {
var n2 = t2.getData();
n2.id = t2.add.id, h(n2).then((function(e3) {
t2.$message({ message: "编辑成功", type: "success" }), t2.goBack();
}));
}
}));
}, getData: function() {
var t2 = {};
if (0 == this.saveText.length) return this.$message("请输入考核公式"), false;
var e2 = [];
return this.numList.length > 0 ? this.numList.forEach((function(t3, n2) {
e2.push({ row: "num_".concat(n2 + 1), list: t3 });
})) : e2 = [], t2 = { companyId: this.company.osId, formulaReal: this.formulaReal, memberId: this.member.id, memberName: this.member.name, name: this.add.name, result: this.add.result, formula: JSON.stringify(e2), formulaText: JSON.stringify(this.saveText) }, t2;
}, setAll: function() {
var t2 = this;
this.allNum >= 0 ? this.numData.length > 0 && this.numData.forEach((function(e2) {
e2.setNum = t2.allNum;
})) : this.$message("请输入统一设置的数值");
}, goBack: function() {
this.$refs["add"].resetFields(), this.clearClick(), this.$emit("back");
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
}, checkBtnClick: function(t2) {
this.showCheck = true, this.$nextTick((function() {
this.$refs.checkVal.init(t2);
}));
} } }, G = Y, K = (n("2750"), Object(T["a"])(G, $, V, false, null, null, null)), X = K.exports, Z = n("b071"), tt = { components: { ruleDetail: X }, data: function() {
return { total: 0, list: true, rule: false, query: { pageNumber: 1, pageSize: 10 }, listLoading: false, listData: [], updataFiledLoading: false, dialogVisible: false, updataProgress: [] };
}, created: function() {
this.company = JSON.parse(localStorage.getItem("companyInfo")), this.getList();
}, methods: { getList: function() {
var t2 = this;
this.query.companyId = this.company.osId, p(this.query).then((function(e2) {
t2.listData = e2.data.records, t2.total = e2.data.rowsCount;
}));
}, handleSizeChange: function(t2) {
this.query.pageSize = t2, this.query.pageNumber = 1, this.getList();
}, handleCurrentChange: function(t2) {
this.query.pageNumber = t2, this.getList();
}, delClick: function(t2) {
var e2 = this;
this.$confirm("此操作将删除该考核字段规则, 是否继续?", "删除", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
f({ id: t2.id }).then((function(t3) {
e2.$message({ message: "删除成功", type: "success" }), e2.getList();
}));
})).catch((function() {
}));
}, disableItem: function(t2, e2) {
var n2 = this;
this.$confirm("此操作将禁用该考核报表, 是否继续?", "禁用", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
n2.updateItem(t2, e2);
})).catch((function() {
}));
}, updateItem: function(t2, e2) {
var n2 = this;
h({ id: t2.id, status: e2 }).then((function(t3) {
n2.$message({ message: "操作成功", type: "success" }), n2.getList();
}));
}, editClick: function(t2) {
this.list = false, this.rule = true, this.$nextTick((function() {
this.$refs.rule.init(t2, "edit");
}));
}, clickAdd: function() {
this.list = false, this.rule = true, this.$nextTick((function() {
this.$refs.rule.init("", "add");
}));
}, back: function() {
this.list = true, this.rule = false, this.getList();
}, updataFiled: function() {
var t2 = this;
this.$confirm("由于计算数据量较大,每天已有系统自动更新,请确认是否立刻更新?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
t2.updataFiledFun();
})).catch((function() {
}));
}, updataFiledFun: function() {
var t2 = this, e2 = { companyId: this.company.osId };
this.updataFiledLoading = true, Object(Z["N"])(e2).then((function(e3) {
0 === e3.code ? (t2.$message({ message: "努力更新中...,数据计算量较大,请稍后在收入考核报表中查看", type: "success" }), setTimeout((function() {
t2.updataFiledLoading = false;
}), 3e4)) : (t2.updataFiledLoading = false, t2.$message({ message: "更新失败", type: "error" }));
})).catch((function() {
t2.updataFiledLoading = false;
}));
}, queryUpdataProgress: function() {
var t2 = this, e2 = { companyId: this.company.osId };
Object(Z["F"])(e2).then((function(e3) {
0 === e3.code ? (t2.updataProgress = e3.data, t2.dialogVisible = true) : t2.updataProgress = [];
}));
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} } }, et = tt, nt = (n("b41a"), Object(T["a"])(et, B, A, false, null, "6af6bdf0", null)), at = nt.exports, st = { components: { reportForm: q, rulesList: at }, data: function() {
return { activeName: "report" };
}, methods: { handleClick: function(t2) {
this.activeName = t2.name;
} } }, it = st, ot = Object(T["a"])(it, a, s, false, null, null, null);
e["default"] = ot.exports;
}, "0d04": function(t, e, n) {
}, 1389: function(t) {
t.exports = [[{ title: "D本年当月支付维度", list: [[{ name: "D往年回款", tip: "支付时间为本月,且账期为往年的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-wangnianhuikuanS.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-wangnianhuikuan2.png"] }, { name: "D去年回款", tip: "支付时间为本月,且账期为去年的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-qunianhuikuan2N.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2_byhkNextY.png"] }], [{ name: "D2往月应收", tip: "本年往月总的应收金额", desImg: [] }, { name: "D2往月回款", tip: "支付时间为所有,且账期为往月的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2_wyhk.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2_wyhk3.png"] }, { name: "D2往月应收未收款", tip: "本年往月总的应收未收款金额", desImg: [] }, { name: "D往月回款", tip: "支付时间为本月,且账期为往月的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-wangyuehuikuan.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-wangyuehuikuan2.png"] }], [{ name: "D往年回款违约金", tip: "", desImg: [] }, { name: "D去年回款违约金", tip: "", desImg: [] }, { name: "D往月回款违约金", tip: "", desImg: [] }], [{ name: "D2本月应收", tip: "本年本月总应收金额,只统计应收:完成缴费、未缴费、部分缴费、缴费中这四个状态的数据", desImg: [] }, { name: "D2本月回款", tip: "账期为本月的已支付金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2-benyuehuikuan.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2-benyuehuikuan2.png"] }, { name: "D2本月应收未收款", tip: "账期为本月的应收未收款金额", desImg: [] }, { name: "D本月回款", tip: "支付时间为本月,且账期为本月的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-benyuehuikuan.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-benyuehuikuan2.png"] }, { name: "D3本月回款", tip: "“D3本月回款”支付时间截至到对应账期最后一日", desImg: [] }, { name: "D3往月回款", tip: "", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/test/tp.png"] }, { name: "D3往月违约金回款", tip: "", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/test/tp.png"] }], [{ name: "D2后月应收", tip: "本年本月之后月份账期的总应收金额", desImg: [] }, { name: "D2后月回款", tip: "提示文字: 支付时间为所有,且账期为后月的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2_hyhk.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D2_hyhk2.png"] }, { name: "D2后月应收未收款", tip: "本年后月总的应收未收款金额", desImg: [] }, { name: "D后月回款", tip: "支付时间为本月,且账期为本年后月的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-houyuehuikuan.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/D-houyuehuikuan2.png"] }], [{ name: "D2往月应收违约金", tip: "", desImg: [] }, { name: "D2往月违约金回款", tip: "", desImg: [] }, { name: "D2往月应收未收违约金", tip: "", desImg: [] }], [{ name: "D2本月应收违约金", tip: "", desImg: [] }, { name: "D2本月违约金回款", tip: "", desImg: [] }, { name: "D2本月应收未收违约金", tip: "", desImg: [] }], [{ name: "D2后月应收违约金", tip: "", desImg: [] }, { name: "D2后月违约金回款", tip: "", desImg: [] }, { name: "D2后月应收未收违约金", tip: "", desImg: [] }]] }, { title: "DL本年动态累计", list: [[{ name: "DL往月回款", tip: "支付时间为本年,账期为本月前面的月份", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/DL_wangyue.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/DL-wangyue2.png"] }, { name: "DL本月回款", tip: "支付时间为本年,且账期为本月的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/DL-benyue.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/DL-benyue2.png"] }, { name: "DL后月回款", tip: "支付时间为本年,账期为本月后面的月份", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/DL-houyue.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/DL-houyue2.png"] }]] }, { title: "Q本年收入全维度", list: [[{ name: "Q年初往年欠款", tip: "往年的总应收金额", desImg: [] }, { name: "Q往年回款", tip: "本年内支付的,账期为往年的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/Q-wangnian.png"] }, { name: "Q往年应收未收款", tip: "往年总应收未收款金额", desImg: [] }], [{ name: "Q年初去年欠款", tip: "去年的总应收金额", desImg: [] }, { name: "Q去年回款", tip: "本年内支付的,账期为去年的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/Q-qunian.png"] }, { name: "Q去年应收未收款", tip: "去年总应收未收款金额", desImg: [] }], [{ name: "Q2本年应收", tip: "本年总应收金额", desImg: [] }, { name: "Q2本年回款", tip: "支付时间为所有,且账期为本年的金额", desImg: ["https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/Q2_bnhk.png", "https://sqy-oss-test.oss-cn-guangzhou.aliyuncs.com/static/filedImg/Q2_bnhk2.png"] }, { name: "Q2本年应收未收款", tip: "本年总的应收未收款金额", desImg: [] }, { name: "Q本年回款", tip: "本年内支付的,账期为本年的金额", desImg: [] }], [{ name: "Q年初往年应收违约金", tip: "", desImg: [] }, { name: "Q往年违约金回款", tip: "", desImg: [] }, { name: "Q往年应收未收违约金", tip: "", desImg: [] }], [{ name: "Q年初去年应收违约金", tip: "", desImg: [] }, { name: "Q去年违约金回款", tip: "", desImg: [] }, { name: "Q去年应收未收违约金", tip: "", desImg: [] }]] }, { title: "引用", list: [[{ name: "本月收入预算", tip: "预算对应科目的收入预算数据", desImg: [] }, { name: "当前累计收入预算", tip: "为当月及之前月份的累计收入例如当月为4月则该为1-4月的收入预算之和", desImg: [] }, { name: "全年收入预算", tip: "全年该科目预算之和", desImg: [] }, { name: "当前月份数值", tip: "例如当月为4月则为45月则为5", desImg: [] }]] }], [{ title: "D本年当月支付维度-回款明细", list: [[{ name: "D往年回款【特殊减免】", tip: "", desImg: [] }, { name: "D往年回款【雨滴积分】", tip: "", desImg: [] }, { name: "D往年回款【货币积分】", tip: "", desImg: [] }, { name: "D往年回款【押金转】", tip: "", desImg: [] }], [{ name: "D去年回款【特殊减免】", tip: "", desImg: [] }, { name: "D去年回款【雨滴积分】", tip: "", desImg: [] }, { name: "D去年回款【货币积分】", tip: "", desImg: [] }, { name: "D去年回款【押金转】", tip: "", desImg: [] }], [{ name: "D2往月回款【特殊减免】", tip: "", desImg: [] }, { name: "D2往月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D2往月回款【货币积分】", tip: "", desImg: [] }, { name: "D2往月回款【押金转】", tip: "", desImg: [] }], [{ name: "D往月回款【特殊减免】", tip: "", desImg: [] }, { name: "D往月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D往月回款【货币积分】", tip: "", desImg: [] }, { name: "D往月回款【押金转】", tip: "", desImg: [] }], [{ name: "D2本月回款【特殊减免】", tip: "", desImg: [] }, { name: "D2本月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D2本月回款【货币积分】", tip: "", desImg: [] }, { name: "D2本月回款【押金转】", tip: "", desImg: [] }], [{ name: "D3本月回款【特殊减免】", tip: "", desImg: [] }, { name: "D3本月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D3本月回款【货币积分】", tip: "", desImg: [] }, { name: "D3本月回款【押金转】", tip: "", desImg: [] }], [{ name: "D本月回款【特殊减免】", tip: "", desImg: [] }, { name: "D本月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D本月回款【货币积分】", tip: "", desImg: [] }, { name: "D本月回款【押金转】", tip: "", desImg: [] }], [{ name: "D2后月回款【特殊减免】", tip: "", desImg: [] }, { name: "D2后月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D2后月回款【货币积分】", tip: "", desImg: [] }, { name: "D2后月回款【押金转】", tip: "", desImg: [] }], [{ name: "D后月回款【特殊减免】", tip: "", desImg: [] }, { name: "D后月回款【雨滴积分】", tip: "", desImg: [] }, { name: "D后月回款【货币积分】", tip: "", desImg: [] }, { name: "D后月回款【押金转】", tip: "", desImg: [] }], [{ name: "D往年回款违约金【特殊减免】", tip: "", desImg: [] }, { name: "D去年回款违约金【特殊减免】", tip: "", desImg: [] }, { name: "D2往月回款违约金【特殊减免】", tip: "", desImg: [] }, { name: "D2本月回款违约金【特殊减免】", tip: "", desImg: [] }]] }, { title: "DL本年动态累积-回款明细", list: [[{ name: "DL往月回款【特殊减免】", tip: "", desImg: [] }, { name: "DL往月回款【雨滴积分】", tip: "", desImg: [] }, { name: "DL往月回款【货币积分】", tip: "", desImg: [] }, { name: "DL往月回款【押金转】", tip: "", desImg: [] }], [{ name: "DL本月回款【特殊减免】", tip: "", desImg: [] }, { name: "DL本月回款【雨滴积分】", tip: "", desImg: [] }, { name: "DL本月回款【货币积分】", tip: "", desImg: [] }, { name: "DL本月回款【押金转】", tip: "", desImg: [] }], [{ name: "DL后月回款【特殊减免】", tip: "", desImg: [] }, { name: "DL后月回款【雨滴积分】", tip: "", desImg: [] }, { name: "DL后月回款【货币积分】", tip: "", desImg: [] }, { name: "DL后月回款【押金转】", tip: "", desImg: [] }]] }, { title: "Q本年收入全维度-回款明细", list: [[{ name: "Q往年回款【特殊减免】", tip: "", desImg: [] }, { name: "Q往年回款【雨滴积分】", tip: "", desImg: [] }, { name: "Q往年回款【货币积分】", tip: "", desImg: [] }, { name: "Q往年回款【押金转】", tip: "", desImg: [] }], [{ name: "Q去年回款【特殊减免】", tip: "", desImg: [] }, { name: "Q去年回款【雨滴积分】", tip: "", desImg: [] }, { name: "Q去年回款【货币积分】", tip: "", desImg: [] }, { name: "Q去年回款【押金转】", tip: "", desImg: [] }], [{ name: "Q2本年回款【特殊减免】", tip: "", desImg: [] }, { name: "Q2本年回款【雨滴积分】", tip: "", desImg: [] }, { name: "Q2本年回款【货币积分】", tip: "", desImg: [] }, { name: "Q2本年回款【押金转】", tip: "", desImg: [] }], [{ name: "Q本年回款【特殊减免】", tip: "", desImg: [] }, { name: "Q本年回款【雨滴积分】", tip: "", desImg: [] }, { name: "Q本年回款【货币积分】", tip: "", desImg: [] }, { name: "Q本年回款【押金转】", tip: "", desImg: [] }], [{ name: "Q往年回款违约金【特殊减免】", tip: "", desImg: [] }, { name: "Q去年回款违约金【特殊减免】", tip: "", desImg: [] }]] }], [{ title: "D本年当月支付维度-预收明细", list: [[{ name: "D2预缴【货币】收入", tip: "D2预缴货币收入=DL货币余额 + D2货币转结 + D2货币退款 - DL去年转结货币余额", desImg: [] }, { name: "D2【货币】结转", tip: "该“对应科目”下,支付时间(即:应收-支付/销单时间)为当月的预缴/抵扣货币支付账户转结订单,“消费”", desImg: [] }, { name: "D2【货币】退款", tip: "该“对应科目”下,交易时间(即:预缴实收时间-退款类型)为当月的预缴/抵扣货币支付账户退款的金额,“退款”", desImg: [] }], [{ name: "D2预缴【雨滴】收入", tip: "D2预缴雨滴收入=DL雨滴余额 + D2雨滴转结 + D2雨滴退款 - DL去年转结雨滴余额", desImg: [] }, { name: "D2【雨滴】结转", tip: "", desImg: [] }, { name: "D2【雨滴】退款", tip: "", desImg: [] }]] }, { title: "DL本年动态累计-预收明细", list: [[{ name: "DL预缴【货币】收入", tip: "DL预缴货币收入=DL货币余额 + DL货币转结 + DL货币退款 - DL去年转结货币余额", desImg: [] }, { name: "DL【货币】结转", tip: "该“对应科目”下,支付时间(即:应收-支付/销单时间)为本年的预缴/抵扣货币支付账户转结订单,“消费”", desImg: [] }, { name: "DL【货币】退款", tip: "该“对应科目”下,交易时间(即:预缴实收时间-退款类型)为本年的预缴/抵扣货币支付账户退款的金额", desImg: [] }, { name: "DL【货币】余额", tip: "DL货币余额 =【DL预缴货币收入 - DL货币转结 - DL货币退款】 + DL去年转结货币余额", desImg: [] }, { name: "DL去年【货币】结转余额", tip: "转结余额:= 截止今年1月1日0点0分0秒 的货币账户余额数据之和(取去年最后一笔交易后金额)按年存该数据,理论上一年更新一次。", desImg: [] }], [{ name: "DL预缴【雨滴】收入", tip: "DL预缴雨滴收入=DL雨滴余额 + DL雨滴转结 + DL雨滴退款 - DL去年转结雨滴余额", desImg: [] }, { name: "DL【雨滴】结转", tip: "", desImg: [] }, { name: "DL【雨滴】退款", tip: "", desImg: [] }, { name: "DL【雨滴】余额", tip: "", desImg: [] }, { name: "DL去年【雨滴】结转余额", tip: "", desImg: [] }]] }]];
}, 2750: function(t, e, n) {
"use strict";
n("5f8e");
}, 3619: function(t, e, n) {
}, 4513: function(t, e, n) {
"use strict";
n.d(e, "v", (function() {
return s;
})), n.d(e, "w", (function() {
return i;
})), n.d(e, "x", (function() {
return o;
})), n.d(e, "l", (function() {
return r;
})), n.d(e, "t", (function() {
return c;
})), n.d(e, "j", (function() {
return l;
})), n.d(e, "o", (function() {
return u;
})), n.d(e, "u", (function() {
return d;
})), n.d(e, "b", (function() {
return m;
})), n.d(e, "p", (function() {
return p;
})), n.d(e, "D", (function() {
return f;
})), n.d(e, "B", (function() {
return h;
})), n.d(e, "q", (function() {
return g;
})), n.d(e, "c", (function() {
return b;
})), n.d(e, "s", (function() {
return y;
})), n.d(e, "i", (function() {
return v;
})), n.d(e, "n", (function() {
return I;
})), n.d(e, "a", (function() {
return k;
})), n.d(e, "g", (function() {
return _;
})), n.d(e, "d", (function() {
return D;
})), n.d(e, "f", (function() {
return O;
})), n.d(e, "C", (function() {
return S;
})), n.d(e, "m", (function() {
return j;
})), n.d(e, "y", (function() {
return w;
})), n.d(e, "r", (function() {
return T;
})), n.d(e, "e", (function() {
return L;
})), n.d(e, "z", (function() {
return C;
})), n.d(e, "A", (function() {
return x;
})), n.d(e, "h", (function() {
return P;
})), n.d(e, "k", (function() {
return N;
}));
var a = n("b775");
function s() {
return Object(a["a"])({ url: "/company/organizationalStructure/updateOrgnization", method: "post" });
}
function i(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTreeV2", method: "post", data: t2 });
}
function r(t2) {
return Object(a["a"])({ url: "/company/OrganizationRoleRel/findProjectByRoleIdAndParent", method: "post", data: t2 });
}
function c(t2) {
return Object(a["a"])({ url: "/company/member/pageListByCompanyId", method: "post", data: t2 });
}
function l(t2) {
return Object(a["a"])({ url: "/company/member/findByProjectUuidAndJobUuid", method: "post", data: t2 });
}
function u(t2) {
return Object(a["a"])({ url: "/company/member/getList", method: "post", data: t2 });
}
function d(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOsPathList", method: "post", data: t2 });
}
function m(t2) {
return Object(a["a"])({ url: "/company/member/create", method: "post", data: t2 });
}
function p(t2) {
return Object(a["a"])({ url: "/company/member/findById", method: "post", data: t2 });
}
function f(t2) {
return Object(a["a"])({ url: "/company/member/update", method: "post", data: t2 });
}
function h(t2) {
return Object(a["a"])({ url: "/company/member/suspendMember", method: "post", data: t2 });
}
function g(t2) {
return Object(a["a"])({ url: "/enterprise/os/memberQuit/".concat(t2.memberUuid), method: "post" });
}
function b(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/create", method: "post", data: t2 });
}
function y(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/update", method: "post", data: t2 });
}
function v(t2) {
return Object(a["a"])({ url: "/company/member/findByProjectUuid", method: "post", data: t2 });
}
function I(t2) {
return Object(a["a"])({ url: "/hakocompany/Job/getJobList", method: "post", data: t2 });
}
function k(t2) {
return Object(a["a"])({ url: "/company/member/ChangeDepartment", method: "post", data: t2 });
}
function _(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
}
function D(t2) {
return Object(a["a"])({ url: "/hakocompany/MemberRoleRel/create", method: "post", data: t2 });
}
function O(t2) {
return Object(a["a"])({ url: "/hakocompany/MemberRoleRel/findByMemberId", method: "post", data: t2 });
}
function S(t2) {
return Object(a["a"])({ url: "/hakocompany/MemberRoleRel/update", method: "post", data: t2 });
}
function j(t2) {
return Object(a["a"])({ url: "/company/member/getList", method: "POST", data: t2 });
}
function w(t2) {
return Object(a["a"])({ url: "/company/member/queryByStaff", method: "POST", data: t2 });
}
function T(t2) {
return Object(a["a"])({ url: "/company/member/memberQuit", method: "POST", data: t2 });
}
function L(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/delete", method: "POST", data: t2 });
}
function C(t2) {
return Object(a["a"])({ url: "/hakocompany/Space/queryInitData", method: "POST", data: t2 });
}
function x(t2) {
return Object(a["a"])({ url: "/hakocompany/Space/queryList", method: "POST", data: t2 });
}
function P(t2) {
return Object(a["a"])({ url: "/hakocompany/Space/findByProId", method: "POST", data: t2 });
}
function N(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOSListByRoleId", method: "POST", data: t2 });
}
}, "5f8e": function(t, e, n) {
}, "67d5": function(t, e, n) {
"use strict";
n.d(e, "i", (function() {
return s;
})), n.d(e, "j", (function() {
return i;
})), n.d(e, "f", (function() {
return o;
})), n.d(e, "b", (function() {
return r;
})), n.d(e, "c", (function() {
return c;
})), n.d(e, "k", (function() {
return l;
})), n.d(e, "e", (function() {
return u;
})), n.d(e, "d", (function() {
return d;
})), n.d(e, "h", (function() {
return m;
})), n.d(e, "a", (function() {
return p;
})), n.d(e, "g", (function() {
return f;
}));
var a = n("b775");
function s(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
}
function i(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
}
function r(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 l(t2) {
return Object(a["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
}
function u(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 m(t2) {
return Object(a["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
}
function p(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 });
}
}, "97e5": function(t, e, n) {
"use strict";
n("eb32");
}, b071: function(t, e, n) {
"use strict";
n.d(e, "n", (function() {
return s;
})), n.d(e, "q", (function() {
return i;
})), n.d(e, "o", (function() {
return o;
})), n.d(e, "r", (function() {
return r;
})), n.d(e, "E", (function() {
return c;
})), n.d(e, "D", (function() {
return l;
})), n.d(e, "N", (function() {
return u;
})), n.d(e, "K", (function() {
return d;
})), n.d(e, "F", (function() {
return m;
})), n.d(e, "p", (function() {
return p;
})), n.d(e, "G", (function() {
return f;
})), n.d(e, "H", (function() {
return h;
})), n.d(e, "O", (function() {
return g;
})), n.d(e, "k", (function() {
return b;
})), n.d(e, "M", (function() {
return y;
})), n.d(e, "l", (function() {
return v;
})), n.d(e, "j", (function() {
return I;
})), n.d(e, "i", (function() {
return k;
})), n.d(e, "L", (function() {
return _;
})), n.d(e, "x", (function() {
return D;
})), n.d(e, "y", (function() {
return O;
})), n.d(e, "c", (function() {
return S;
})), n.d(e, "d", (function() {
return j;
})), n.d(e, "b", (function() {
return w;
})), n.d(e, "w", (function() {
return T;
})), n.d(e, "v", (function() {
return L;
})), n.d(e, "C", (function() {
return C;
})), n.d(e, "a", (function() {
return x;
})), n.d(e, "A", (function() {
return P;
})), n.d(e, "t", (function() {
return N;
})), n.d(e, "B", (function() {
return z;
})), n.d(e, "u", (function() {
return q;
})), n.d(e, "s", (function() {
return B;
})), n.d(e, "z", (function() {
return A;
})), n.d(e, "P", (function() {
return $;
})), n.d(e, "g", (function() {
return V;
})), n.d(e, "h", (function() {
return R;
})), n.d(e, "f", (function() {
return F;
})), n.d(e, "e", (function() {
return Q;
})), n.d(e, "m", (function() {
return E;
})), n.d(e, "I", (function() {
return J;
})), n.d(e, "J", (function() {
return U;
}));
var a = n("b775");
function s(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/currentYearTotal", method: "POST", data: t2 });
}
function i(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/employeeReport", method: "POST", data: t2 });
}
function o(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/currentYearTotalTask", method: "POST", data: t2 });
}
function r(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/employeeReportTask", method: "POST", data: t2 });
}
function c(t2) {
return Object(a["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 });
}
function l(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: t2 });
}
function u(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/currentTotalTask", method: "POST", data: t2 });
}
function d(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/syncTaskV2", method: "POST", data: t2 });
}
function m(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/syncUpdate", method: "POST", data: t2 });
}
function p(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/downloadChargeTotal", method: "POST", responseType: "blob", data: t2 });
}
function f(t2) {
return Object(a["a"])({ url: "/hakocompany/spaceTaskStatistics/pageList", method: "POST", data: t2 });
}
function h(t2) {
return Object(a["a"])({ url: "/hakocompany/spaceTaskStatistics/exportByMonth", method: "POST", responseType: "blob", data: t2 });
}
function g(t2) {
return Object(a["a"])({ url: "/hakocompany/spaceTaskStatistics/statistics", method: "POST", data: t2 });
}
function b(t2) {
return Object(a["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: t2 });
}
function y(t2) {
return Object(a["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: t2 });
}
function v(t2) {
return Object(a["a"])({ url: "/hakocompany/ContractTaskStatistics/pageItemList", method: "POST", data: t2 });
}
function I(t2) {
return Object(a["a"])({ url: "/hakocompany/ContractExecuteStatistics/pageList", method: "POST", data: t2 });
}
function k(t2) {
return Object(a["a"])({ url: "/hakocompany/ContractExecuteStatistics/export", method: "POST", responseType: "blob", data: t2 });
}
function _(t2) {
return Object(a["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: t2 });
}
function D(t2) {
return Object(a["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: t2 });
}
function O(t2) {
return Object(a["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: t2 });
}
function S(t2) {
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: t2 });
}
function j(t2) {
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/statistics", method: "POST", data: t2 });
}
function w(t2) {
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/exportReport", method: "POST", responseType: "blob", data: t2 });
}
function T(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/personWeekInfo", method: "POST", data: t2 });
}
function L(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/downloadWeekInfo", method: "POST", responseType: "blob", data: t2 });
}
function C(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: t2 });
}
function x(t2) {
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: t2 });
}
function P(t2) {
return Object(a["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: t2 });
}
function N(t2) {
return Object(a["a"])({ url: "/hakocompany/PostponeWorder/memberOrderPage", method: "POST", data: t2 });
}
function z(t2) {
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageByTaskType", method: "POST", data: t2 });
}
function q(t2) {
return Object(a["a"])({ url: "/hakocompany/TaskStatisticsReport/pageByTaskType", method: "POST", data: t2 });
}
function B(t2) {
return Object(a["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: t2 });
}
function A(t2) {
return Object(a["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: t2 });
}
function $(t2) {
return Object(a["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: t2 });
}
function V(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList", method: "POST", data: t2 });
}
function R(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList/sum", method: "POST", data: t2 });
}
function F(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: t2 });
}
function Q(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/calculated/rate", method: "POST", data: t2 });
}
function E(t2) {
return Object(a["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/current/by/charges", method: "POST", data: t2 });
}
function J(t2) {
return Object(a["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: t2 });
}
function U(t2) {
return Object(a["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: t2 });
}
}, b41a: function(t, e, n) {
"use strict";
n("0d04");
}, eb32: function(t, e, n) {
}, ec86: function(t, e, n) {
"use strict";
n("3619");
}, ed0d: function(t, e, n) {
}, ffc1: function(t, e, n) {
"use strict";
n("ed0d");
} }]);