2221 lines
155 KiB
JavaScript
2221 lines
155 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-6467866f"], { "0240e": function(e, t, a) {
|
||
"use strict";
|
||
a.r(t);
|
||
var r = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", { staticClass: "app-container bgHeight" }, [a2("el-tabs", { attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "周期收费", name: "periodicCharge" } }, [a2("el-tabs", { attrs: { value: e2.activeSubName }, on: { "tab-click": e2.handleSubClick } }, [a2("el-tab-pane", { attrs: { label: "按人工录入计算", name: "forEntry" } }, ["forEntry" === e2.activeSubName ? a2("periodicCharge") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "按公区仪表计算", name: "forShare" } }, ["forShare" === e2.activeSubName ? a2("shareCharge") : e2._e()], 1)], 1)], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "家庭收费", name: "meterReadCharge" } }, ["meterReadCharge" === e2.activeName ? a2("meterReadCharge") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "临时收费", name: "temporaryCharge" } }, ["temporaryCharge" === e2.activeName ? a2("temporaryCharge") : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "合同收费", name: "contractCharge" } }, ["contractCharge" === e2.activeName ? a2("contractCharge") : e2._e()], 1)], 1)], 1);
|
||
}, n = [], o = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { model: e2.query, inline: true } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 18 } }, [a2("el-form-item", { attrs: { label: "" } }, [a2("el-date-picker", { staticClass: "form-item-content", attrs: { type: "months", placeholder: "计费月份", format: "yyyy 年 MM 月", "value-format": "yyyy-MM" }, model: { value: e2.query.months, callback: function(t3) {
|
||
e2.$set(e2.query, "months", t3);
|
||
}, expression: "query.months" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "抄表类型" }, model: { value: e2.query.type, callback: function(t3) {
|
||
e2.$set(e2.query, "type", t3);
|
||
}, expression: "query.type" } }, e2._l(e2.meterTypeList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "抄表状态" }, model: { value: e2.query.status, callback: function(t3) {
|
||
e2.$set(e2.query, "status", t3);
|
||
}, expression: "query.status" } }, e2._l(e2.statusList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { staticStyle: { "text-align": "right" }, attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.resetForm } }, [e2._v("重置")])], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticStyle: { "text-align": "right", "margin-bottom": "20px" } }, [a2("el-popover", { attrs: { placement: "top-start", title: "温馨提示:", width: "400", trigger: "hover" } }, [a2("div", [a2("div", [e2._v("基于数据安全考虑,每次下载均有记录且数据控制如下:")]), e2._v(" "), a2("div", [e2._v("1. 仅支持最多“三个账期”数据下载。")]), e2._v(" "), a2("div", [e2._v("2. 默认为“近三个账期”数据。")]), e2._v(" "), a2("div", [e2._v("3. 若需更改,请在搜索条件选择“计费月份”,并符合上述要求。")]), e2._v(" "), a2("div", [e2._v("4. 下载完的Excel文件,请在“下载中心”中查看下载状态下载。")])]), e2._v(" "), a2("el-button", { staticClass: "el-icon-download export", attrs: { slot: "reference", size: "medium", type: "primary", loading: e2.downloading }, on: { click: e2.exportExcel }, slot: "reference" }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "success" }, on: { click: e2.createPricing } }, [e2._v("生成抄表本")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计费月份", prop: "month", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("formatDate")(e2.formatDateDay(t3.row.month), "Y年M月")) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "抄表类型", prop: "type", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2.getItemType(t3.row.type, "meterTypeList")) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "抄表状态", prop: "status", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2.getItemType(t3.row.status, "statusList")) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "总抄表户", prop: "totalHouse", width: "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.totalHouse ? t3.row.totalHouse : 0) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未抄表户", prop: "unmeterHouse", width: "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.unmeterHouse ? t3.row.unmeterHouse : 0) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "创建时间", prop: "createDate", "min-width": "150", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "430", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2.authType ? a2("div", [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), placement: "top-start", disabled: !e2.getDisabled(t3.row) } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.editMeterDetailes(t3.row, 0);
|
||
} } }, [e2._v("编辑抄表本")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), placement: "top-start", disabled: !e2.getDisabled(t3.row) } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.uploadMeterExl(t3.row);
|
||
} } }, [e2._v("批量录入")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), placement: "top-start", disabled: !e2.getDisabled(t3.row) } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.resetMeters(t3.row);
|
||
} } }, [e2._v("重置抄表本")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), placement: "top-start", disabled: !e2.getDisabled(t3.row) } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.downloadExl(t3.row);
|
||
} } }, [e2._v("下载抄表本")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), placement: "top-start", disabled: !e2.getDisabled(t3.row) } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.deleteMeters(t3.row);
|
||
} } }, [e2._v("删除抄表本")])], 1)], 1) : a2("div", [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), placement: "top-start", disabled: !e2.getDisabled(t3.row) } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.editMeterDetailes(t3.row, 0);
|
||
} } }, [e2._v("编辑抄表本")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), disabled: !e2.getDisabled(t3.row), placement: "top-start" } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.uploadMeterExl(t3.row);
|
||
} } }, [e2._v("批量录入")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), disabled: !e2.getDisabled(t3.row), placement: "top-start" } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.resetMeters(t3.row);
|
||
} } }, [e2._v("重置抄表本")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), disabled: !e2.getDisabled(t3.row), placement: "top-start" } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.downloadExl(t3.row);
|
||
} } }, [e2._v("下载抄表本")])], 1), e2._v(" "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e2.getTooltipContent(t3.row), disabled: !e2.getDisabled(t3.row), placement: "top-start" } }, [a2("el-button", { attrs: { type: "text", disabled: e2.getDisabled(t3.row) }, on: { click: function(a3) {
|
||
return e2.deleteMeters(t3.row);
|
||
} } }, [e2._v("删除抄表本")])], 1)], 1)];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: e2.title, visible: e2.partyVisible, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", width: "50%" }, on: { "update:visible": function(t3) {
|
||
e2.partyVisible = t3;
|
||
}, close: e2.closeVisible } }, [a2("el-form", { ref: "infoList", attrs: { model: e2.infoList, rules: e2.rules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输项目名称" }, model: { value: e2.infoList.projectName, callback: function(t3) {
|
||
e2.$set(e2.infoList, "projectName", t3);
|
||
}, expression: "infoList.projectName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "抄表类型", prop: "type" } }, [a2("el-radio-group", { model: { value: e2.infoList.type, callback: function(t3) {
|
||
e2.$set(e2.infoList, "type", t3);
|
||
}, expression: "infoList.type" } }, e2._l(e2.meterTypeList, (function(t3, r2) {
|
||
return a2("el-radio", { key: r2, attrs: { label: t3.value } }, [e2._v(e2._s(t3.label))]);
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "抄表年月", prop: "month" } }, [a2("el-date-picker", { attrs: { type: "month", placeholder: "抄表年月", format: "yyyy 年 MM 月", "value-format": "yyyy-MM" }, model: { value: e2.infoList.month, callback: function(t3) {
|
||
e2.$set(e2.infoList, "month", t3);
|
||
}, expression: "infoList.month" } })], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetDialogForm("infoList");
|
||
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.btnloading }, on: { click: function(t3) {
|
||
return e2.submitDialogForm("infoList");
|
||
} } }, [e2._v("确 定")])], 1)], 1), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "导入抄表本", visible: e2.dialogVisible, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", width: "50%" }, on: { "update:visible": function(t3) {
|
||
e2.dialogVisible = t3;
|
||
}, close: e2.closeDialogVisible } }, [a2("el-form", { ref: "importInforList", attrs: { model: e2.importInforList, rules: e2.importInforListRules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输项目名称" }, model: { value: e2.importInforList.projectName, callback: function(t3) {
|
||
e2.$set(e2.importInforList, "projectName", t3);
|
||
}, expression: "importInforList.projectName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "抄表类型", prop: "type" } }, [a2("el-radio-group", { attrs: { disabled: "" }, model: { value: e2.importInforList.type, callback: function(t3) {
|
||
e2.$set(e2.importInforList, "type", t3);
|
||
}, expression: "importInforList.type" } }, e2._l(e2.meterTypeList, (function(t3, r2) {
|
||
return a2("el-radio", { key: r2, attrs: { label: t3.value } }, [e2._v(e2._s(t3.label))]);
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "抄表年月", prop: "month" } }, [a2("el-date-picker", { attrs: { disabled: "", type: "month", placeholder: "抄表年月", format: "yyyy 年 MM 月", "value-format": "yyyy-MM" }, model: { value: e2.importInforList.month, callback: function(t3) {
|
||
e2.$set(e2.importInforList, "month", t3);
|
||
}, expression: "importInforList.month" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "上传抄表本", prop: "filePath" } }, [a2("el-upload", { ref: "uploadFile", attrs: { "auto-upload": false, "show-file-list": true, limit: 1, accept: ".xls,.xlsx", "on-change": e2.onImportFileChange, "on-remove": e2.removeFile, "http-request": e2.importData, action: "" } }, [a2("el-button", { attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e2._v("选取抄表本文件")])], 1)], 1), e2._v(" "), a2("el-form-item", [a2("div", { staticClass: "notes-text" }, [e2._v("\n *抄表本上传需要与下载抄表本一致,批量上传相同房屋会覆盖已有抄表数,不可还原,请谨慎操作!\n ")])])], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.closeDialogVisible } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.btnloading }, on: { click: function(t3) {
|
||
return e2.submitImportFile("importInforList");
|
||
} } }, [e2._v("确 定")])], 1)], 1)], 1);
|
||
}, i = [], l = a("6c2c"), s = a("8f53"), c = { data: function() {
|
||
return { listData: [], listLoading: false, downloading: false, total: 0, query: { projectUuid: "", months: [], status: "", type: "", pageNumber: 1, pageSize: 10 }, title: "生成抄表本", partyVisible: false, dialogVisible: false, infoList: { projectName: "", projectUuid: "", type: 1, month: "" }, importInforList: { projectName: "", projectUuid: "", type: 1, month: "", filePath: "" }, meterTypeList: s["o"], rules: { month: [{ required: true, message: "请选择抄表年月", trigger: "change" }] }, importInforListRules: { filePath: [{ required: true, message: "请选择批量录入的抄表本文件", trigger: "change" }] }, categoryArr: [], statusList: [{ value: 1, label: "未抄表" }, { value: 2, label: "抄表中" }, { value: 3, label: "已抄表" }], chargeTypeList: [{ value: 1, label: "周期收费类" }, { value: 2, label: "抄表收费类" }, { value: 3, label: "临时收费类" }, { value: 4, label: "合同收费类" }], pricingMethodList: [{ value: 1, label: "固定类" }, { value: 2, label: "抄表类" }, { value: 3, label: "面积类" }, { value: 4, label: "录入类" }], charge2TypeList: [{ value: 1, label: "固定值" }, { value: 2, label: "公式计算" }], btnloading: false, authInfo: "", authType: true };
|
||
}, created: function() {
|
||
this.query.projectUuid = this.$store.state.community_uuid, this.infoList.projectName = this.$store.state.community_name, this.infoList.projectUuid = this.$store.state.community_uuid, this.headClass();
|
||
}, mounted: function() {
|
||
this.getAuth(), this.getTableListData();
|
||
}, methods: { getTooltipContent: function(e2) {
|
||
return 1 == e2.isLock ? "该账期已被锁定无法进行操作,请先解锁再操作!" : this.authType ? void 0 : "没有权限操作按钮功能,请联系项目负责人进行确认!";
|
||
}, getDisabled: function(e2) {
|
||
return 1 == e2.isLock || !this.authType && 3 === e2.status;
|
||
}, getAuth: function() {
|
||
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("C_userInfo"));
|
||
Object(l["p"])({ companyId: this.$store.state.companyId, projectUuid: this.$store.state.community_uuid }).then((function(a2) {
|
||
if (0 == a2.code && a2.data && a2.data.records.length > 0) if (e2.authInfo = a2.data.records[0], 1 == e2.authInfo.type) e2.authType = true;
|
||
else if (e2.authInfo.haveAuthById) {
|
||
var r2 = e2.authInfo.haveAuthById.split(","), n2 = r2.map((function(e3) {
|
||
return parseInt(e3, 10);
|
||
}));
|
||
n2.includes(t2.memberId) ? e2.authType = true : e2.authType = false;
|
||
} else e2.authType = false;
|
||
}));
|
||
}, getTableListData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, Object(l["o"])(this.query).then((function(t2) {
|
||
t2.data && t2.data.records && (e2.listData = t2.data.records, e2.total = t2.data.rowsCount);
|
||
})), this.listLoading = false;
|
||
}, createPricing: function() {
|
||
this.partyVisible = true;
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getTableListData();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.query.months = [], this.query.type = "", this.query.status = "", this.getTableListData();
|
||
}, resetDialogForm: function(e2) {
|
||
this.partyVisible = false, this.$refs[e2].resetFields();
|
||
}, submitDialogForm: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$refs[e2].validate((function(r2) {
|
||
if (!r2) return console.log("error submit!!"), false;
|
||
var n2 = Object.assign(t2.infoList, { operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName });
|
||
Object(l["h"])(n2).then((function(t3) {
|
||
0 === t3.code ? (a2.$message({ type: "success", message: "创建抄表本成功" }), a2.resetDialogForm(e2), a2.getTableListData()) : a2.$message({ type: "error", message: "创建抄表本失败" });
|
||
}));
|
||
}));
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getTableListData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getTableListData();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, getItemType: function(e2, t2) {
|
||
if (null != e2 && "" != e2 && void 0 != e2) {
|
||
var a2 = this[t2].filter((function(t3) {
|
||
return t3.value == e2;
|
||
}));
|
||
return a2.length > 0 ? a2[0].label : "-";
|
||
}
|
||
return "-";
|
||
}, closeVisible: function() {
|
||
this.infoList.month = "", this.partyVisible = false;
|
||
}, closeDialogVisible: function() {
|
||
this.dialogVisible = false;
|
||
}, downloadExl: function(e2) {
|
||
var t2 = { chargeMeterId: e2.id };
|
||
Object(l["l"])(t2).then((function(e3) {
|
||
var t3 = new Blob([e3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(t3);
|
||
else {
|
||
var a2 = document.createElement("a");
|
||
a2.download = "抄表本.xls", a2.href = URL.createObjectURL(t3), a2.click(), URL.revokeObjectURL(a2.href), document.body.removeChild(a2);
|
||
}
|
||
})).catch((function(e3) {
|
||
}));
|
||
}, uploadMeterExl: function(e2) {
|
||
this.dialogVisible = true, this.importInforList = Object.assign(this.importInforList, e2);
|
||
}, importData: function(e2) {
|
||
var t2 = this, a2 = e2.file, r2 = a2.name.lastIndexOf("."), n2 = a2.name.length, o2 = a2.name.substring(r2 + 1, n2);
|
||
if ("xls" == o2 || "xlsx" == o2) {
|
||
var i2 = new FormData();
|
||
this.fileName = a2.name, i2.append("file", a2, a2.name), i2.append("appId", 2), i2.append("id", this.importInforList.id);
|
||
var s2 = { id: this.importInforList.id };
|
||
Object(l["n"])(i2, s2).then((function(e3) {
|
||
0 == e3.code ? (t2.$message({ message: "导入抄表本成功", type: "success" }), t2.dialogVisible = false) : t2.$message({ message: "导入抄表本失败,请检查抄表本文件,再次重新导入", type: "error" });
|
||
})).catch((function() {
|
||
}));
|
||
} else this.$message("只能上传Excel文件!");
|
||
}, submitImportFile: function(e2) {
|
||
var t2 = this;
|
||
t2.$refs[e2].validate((function(e3) {
|
||
if (!e3) return false;
|
||
t2.$refs.uploadFile.submit();
|
||
}));
|
||
}, onImportFileChange: function(e2, t2) {
|
||
var a2 = this;
|
||
t2.length > 0 && (this.importInforList.filePath = e2, setTimeout((function() {
|
||
a2.$nextTick((function() {
|
||
a2.$refs.importInforList.clearValidate("filePath");
|
||
})), a2.$forceUpdate();
|
||
}), 200));
|
||
}, removeFile: function(e2, t2) {
|
||
0 === t2.length && (this.importInforList.filePath = "");
|
||
}, resetMeters: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$confirm("确定重置该抄表本吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
|
||
var r2 = { id: e2.id, operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName };
|
||
Object(l["s"])(r2).then((function(e3) {
|
||
0 === e3.code ? (a2.$message({ type: "success", message: "重置成功" }), a2.getTableListData()) : a2.$message({ type: "error", message: "重置失败" });
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, deleteMeters: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$confirm("确定删除该抄表本吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
|
||
var r2 = { id: e2.id, operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName };
|
||
Object(l["i"])(r2).then((function(e3) {
|
||
0 === e3.code ? (a2.$message({ type: "success", message: "删除成功" }), a2.getTableListData()) : a2.$message({ type: "error", message: "删除失败" });
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, editMeterDetailes: function(e2, t2) {
|
||
var a2 = e2.id, r2 = 0 === t2 ? "/editInfo/editMeter?d=".concat(a2) : "/viewInfo/viewMeter?d=".concat(a2);
|
||
this.$router.push({ path: r2 });
|
||
}, formatDateDay: function(e2) {
|
||
return e2 + "-01";
|
||
}, exportExcel: function() {
|
||
var e2 = this;
|
||
this.downloading = true, Object(l["a"])({ months: this.query.months, companyId: this.$store.state.companyId, companyName: localStorage.getItem("companyName"), memberId: this.$store.state.user.userInfo.memberId, memberName: this.$store.state.user.userInfo.memberName, projectName: this.$store.state.community_name, projectUuid: this.$store.state.community_uuid }).then((function(t2) {
|
||
e2.downloading = false, 0 == t2.code && e2.$message.success("操作成功!已将任务加入到下载中心,请在下载中心查看状态下载。");
|
||
})).catch((function(t2) {
|
||
e2.downloading = false;
|
||
}));
|
||
} } }, u = c, d = (a("e48c"), a("829d")), p = Object(d["a"])(u, o, i, false, null, "0475dd10", null), f = p.exports, m = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", [a2("el-form", { staticClass: "demo-form-inline", attrs: { model: e2.query, inline: true } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 18 } }, [a2("el-form-item", { attrs: { label: "" } }, [a2("el-date-picker", { staticClass: "form-item-content", attrs: { type: "month", placeholder: "计费月份", format: "yyyy 年 MM 月", "value-format": "yyyy-MM" }, model: { value: e2.query.month, callback: function(t3) {
|
||
e2.$set(e2.query, "month", t3);
|
||
}, expression: "query.month" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { filterable: "", clearable: "", placeholder: "收费项" }, model: { value: e2.query.chargesId, callback: function(t3) {
|
||
e2.$set(e2.query, "chargesId", t3);
|
||
}, expression: "query.chargesId" } }, e2._l(e2.chargeItemList, (function(e3) {
|
||
return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "录入状态" }, model: { value: e2.query.status, callback: function(t3) {
|
||
e2.$set(e2.query, "status", t3);
|
||
}, expression: "query.status" } }, e2._l(e2.inputStatus, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { staticStyle: { "text-align": "right" }, attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.resetForm } }, [e2._v("重置")])], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticStyle: { "text-align": "right", "margin-bottom": "20px" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.createPricing } }, [e2._v("生成录入本")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计费月份", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("formatDate")(e2.formatDateDay(t3.row.month), "Y年M月")) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费项", "show-overflow-tooltip": "", "min-width": "300" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.chargesName))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "录入状态", "show-overflow-tooltip": "", "min-width": "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(e2.getItemType(t3.row.status, "inputStatus")))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "show-overflow-tooltip": "", "min-width": "430" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text", disabled: 1 == t3.row.isLock }, on: { click: function(a3) {
|
||
return e2.editDynamicDetailes(t3.row, 0);
|
||
} } }, [e2._v("编辑录入本")]), e2._v(" "), a2("el-button", { attrs: { type: "text", disabled: 1 == t3.row.isLock }, on: { click: function(a3) {
|
||
return e2.downloadExl(t3.row);
|
||
} } }, [e2._v("下载录入本")]), e2._v(" "), a2("el-button", { attrs: { type: "text", disabled: 1 == t3.row.isLock }, on: { click: function(a3) {
|
||
return e2.importDialog(t3.row);
|
||
} } }, [e2._v("批量录入")]), e2._v(" "), a2("el-button", { attrs: { type: "text", disabled: 1 == t3.row.isLock }, on: { click: function(a3) {
|
||
return e2.updataStatus(t3.row);
|
||
} } }, [e2._v("完成录入")]), e2._v(" "), a2("el-button", { attrs: { type: "text", disabled: 1 == t3.row.isLock }, on: { click: function(a3) {
|
||
return e2.deleteMeters(t3.row);
|
||
} } }, [e2._v("删除录入本")])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: e2.title, visible: e2.partyVisible, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.partyVisible = t3;
|
||
}, close: e2.closeVisible } }, [a2("el-form", { ref: "infoList", attrs: { model: e2.infoList, rules: e2.rules, "label-width": "120px" } }, [a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { staticClass: "formItemWidth", attrs: { disabled: "", placeholder: "请输项目名称" }, model: { value: e2.infoList.projectName, callback: function(t3) {
|
||
e2.$set(e2.infoList, "projectName", t3);
|
||
}, expression: "infoList.projectName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "收费项", prop: "chargesId" } }, [a2("el-select", { staticClass: "formItemWidth", attrs: { "value-key": "fsChargesId", placeholder: "请选择收费项" }, on: { change: e2.chargeItemsChange }, model: { value: e2.infoList.chargesId, callback: function(t3) {
|
||
e2.$set(e2.infoList, "chargesId", t3);
|
||
}, expression: "infoList.chargesId" } }, e2._l(e2.chargeItemList, (function(e3) {
|
||
return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "计费年月", prop: "month" } }, [a2("el-date-picker", { staticClass: "formItemWidth", attrs: { type: "month", placeholder: "请选择计费月份", format: "yyyy 年 MM 月", "value-format": "yyyy-MM" }, model: { value: e2.infoList.month, callback: function(t3) {
|
||
e2.$set(e2.infoList, "month", t3);
|
||
}, expression: "infoList.month" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "计费方式", prop: "type" } }, [a2("el-select", { staticClass: "formItemWidth", attrs: { placeholder: "请选择计费方式" }, model: { value: e2.infoList.type, callback: function(t3) {
|
||
e2.$set(e2.infoList, "type", t3);
|
||
}, expression: "infoList.type" } }, e2._l(e2.charge2TypeList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1), e2._v(" "), 2 === e2.infoList.type ? a2("el-form-item", { attrs: { label: "应收总金额", prop: "totalMoney" } }, [a2("el-input", { staticClass: "formItemWidth", attrs: { clearable: "", placeholder: "请输入应收总金额" }, on: { input: function(t3) {
|
||
return e2.priceInput(t3, "totalMoney");
|
||
} }, model: { value: e2.infoList.totalMoney, callback: function(t3) {
|
||
e2.$set(e2.infoList, "totalMoney", t3);
|
||
}, expression: "infoList.totalMoney" } }, [a2("template", { slot: "append" }, [e2._v("元")])], 2)], 1) : e2._e()], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetDialogForm("infoList");
|
||
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.btnloading }, on: { click: function(t3) {
|
||
return e2.submitDialogForm("infoList");
|
||
} } }, [e2._v("确 定")])], 1)], 1), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "导入录入本", visible: e2.dialogVisible, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.dialogVisible = t3;
|
||
}, close: e2.closeDialogVisible } }, [a2("el-form", { ref: "importInforList", attrs: { model: e2.importInforList, rules: e2.importInforListRules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输项目名称" }, model: { value: e2.importInforList.projectName, callback: function(t3) {
|
||
e2.$set(e2.importInforList, "projectName", t3);
|
||
}, expression: "importInforList.projectName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { attrs: { disabled: "", placeholder: "请输项目名称" }, model: { value: e2.importInforList.chargesName, callback: function(t3) {
|
||
e2.$set(e2.importInforList, "chargesName", t3);
|
||
}, expression: "importInforList.chargesName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "录入年月", prop: "month" } }, [a2("el-date-picker", { attrs: { disabled: "", type: "month", placeholder: "录入年月", format: "yyyy 年 MM 月", "value-format": "yyyy-MM" }, model: { value: e2.importInforList.month, callback: function(t3) {
|
||
e2.$set(e2.importInforList, "month", t3);
|
||
}, expression: "importInforList.month" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "上传录入本", prop: "filePath" } }, [a2("el-upload", { ref: "uploadFile", attrs: { "auto-upload": false, "show-file-list": true, limit: 1, accept: ".xls,.xlsx", "on-change": e2.onImportFileChange, "on-remove": e2.removeFile, "http-request": e2.importData, action: "" } }, [a2("el-button", { attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e2._v("选取录入本文件")])], 1)], 1), e2._v(" "), a2("el-form-item", [a2("div", { staticClass: "notes-text" }, [e2._v("*录入本上传需要与下载录入本一致,批量上传相同房屋会覆盖已有录入数,不可还原,请谨慎操作!")])])], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.closeDialogVisible } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.btnloading }, on: { click: function(t3) {
|
||
return e2.submitImportFile("importInforList");
|
||
} } }, [e2._v("确 定")])], 1)], 1)], 1);
|
||
}, h = [], b = a("ce63"), g = { data: function() {
|
||
return { chargeItemList: [], listData: [], listLoading: false, total: 0, query: { month: "", chargesId: "", status: "", pageNumber: 1, pageSize: 10 }, title: "新增录入本", partyVisible: false, dialogVisible: false, infoList: { chargesId: "", chargesName: "", projectName: "", projectUuid: "", month: "", totalMoney: "", type: 1 }, importInforList: { projectName: "", projectUuid: "", type: 1, month: "", filePath: "" }, rules: { chargesId: [{ required: true, message: "请选择收费项", trigger: "change" }], month: [{ required: true, message: "请选择计费年月", trigger: "change" }] }, importInforListRules: { filePath: [{ required: true, message: "请选择批量录入的录入本文件", trigger: "change" }] }, categoryArr: [], inputStatus: [{ value: 1, label: "未录入" }, { value: 2, label: "录入中" }, { value: 3, label: "已录入" }], chargeTypeList: [{ value: 1, label: "周期收费类" }, { value: 2, label: "录入收费类" }, { value: 3, label: "临时收费类" }, { value: 4, label: "合同收费类" }], pricingMethodList: [{ value: 1, label: "固定类" }, { value: 2, label: "录入类" }, { value: 3, label: "面积类" }, { value: 4, label: "录入类" }], salibType: [{ value: 1, label: "水表" }, { value: 2, label: "电表" }, { value: 3, label: "暖气表" }, { value: 4, label: "燃气表" }, { value: 5, label: "热水表" }], charge2TypeList: [{ value: 1, label: "按户分别录入" }, { value: 2, label: "按户均分" }], btnloading: false };
|
||
}, created: function() {
|
||
this.query.projectUuid = this.$store.state.community_uuid, this.infoList.projectName = this.$store.state.community_name, this.infoList.projectUuid = this.$store.state.community_uuid, this.headClass();
|
||
}, mounted: function() {
|
||
this.getchargeCycleListData(), this.getChargeItemsList();
|
||
}, methods: { getChargeItemsList: function() {
|
||
var e2 = this, t2 = { pageNumber: -1, pageSize: -1, categoryCode: 101, priceTypeCode: 201, projectUuid: this.$store.state.community_uuid };
|
||
Object(b["b"])(t2).then((function(t3) {
|
||
e2.chargeItemList = t3.data.records;
|
||
}));
|
||
}, getchargeCycleListData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, Object(l["c"])(this.query).then((function(t2) {
|
||
t2.data && t2.data.records && (e2.listData = t2.data.records, e2.total = t2.data.rowsCount);
|
||
})), this.listLoading = false;
|
||
}, createPricing: function() {
|
||
this.getChargeItemsList(), this.partyVisible = true;
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getchargeCycleListData();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.query.month = "", this.query.chargesId = "", this.query.status = "", this.getchargeCycleListData();
|
||
}, resetDialogForm: function(e2) {
|
||
this.partyVisible = false, this.$refs[e2].resetFields();
|
||
}, submitDialogForm: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$refs[e2].validate((function(r2) {
|
||
if (!r2) return false;
|
||
var n2 = Object.assign(t2.infoList, { operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName });
|
||
Object(l["f"])(n2).then((function(t3) {
|
||
0 === t3.code ? (a2.$message({ type: "success", message: "创建录入本成功" }), a2.resetDialogForm(e2), a2.getchargeCycleListData()) : a2.$message({ type: "error", message: "创建录入本失败" });
|
||
}));
|
||
}));
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getchargeCycleListData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getchargeCycleListData();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, closeVisible: function() {
|
||
this.partyVisible = false, this.$refs["infoList"].resetFields();
|
||
}, getItemType: function(e2, t2) {
|
||
if (null != e2 && "" != e2 && void 0 != e2) {
|
||
var a2 = this[t2].filter((function(t3) {
|
||
return t3.value == e2;
|
||
}));
|
||
return a2.length > 0 ? a2[0].label : "-";
|
||
}
|
||
return "-";
|
||
}, chargeItemsChange: function(e2) {
|
||
if (null != e2 && "" != e2 && void 0 != e2) {
|
||
var t2 = this.chargeItemList.filter((function(t3) {
|
||
return t3.fsChargesId == e2;
|
||
}));
|
||
t2.length > 0 && (this.infoList.chargesName = t2[0].name);
|
||
}
|
||
}, closeDialogVisible: function() {
|
||
this.infoList = { chargesId: "", chargesName: "", projectName: "", projectUuid: "", month: "", totalMoney: "", type: 1 }, this.dialogVisible = false;
|
||
}, downloadExl: function(e2) {
|
||
var t2 = { chargeCycleId: e2.id };
|
||
Object(l["k"])(t2).then((function(e3) {
|
||
var t3 = new Blob([e3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(t3);
|
||
else {
|
||
var a2 = document.createElement("a");
|
||
a2.download = "录入本.xls", a2.href = URL.createObjectURL(t3), a2.click(), URL.revokeObjectURL(a2.href), document.body.removeChild(a2);
|
||
}
|
||
})).catch((function(e3) {
|
||
}));
|
||
}, importDialog: function(e2) {
|
||
this.dialogVisible = true, this.importInforList = Object.assign(this.importInforList, e2);
|
||
}, importData: function(e2) {
|
||
var t2 = this, a2 = e2.file, r2 = a2.name.lastIndexOf("."), n2 = a2.name.length, o2 = a2.name.substring(r2 + 1, n2);
|
||
if ("xls" == o2 || "xlsx" == o2) {
|
||
var i2 = new FormData();
|
||
this.fileName = a2.name, i2.append("file", a2, a2.name), i2.append("appId", 2), i2.append("id", this.importInforList.id);
|
||
var s2 = { id: this.importInforList.id };
|
||
Object(l["m"])(i2, s2).then((function(e3) {
|
||
0 == e3.code ? (t2.$message({ message: "导入录入本成功", type: "success" }), t2.dialogVisible = false) : t2.$message({ message: "导入录入本失败,请检查录入本文件,再次重新导入", type: "error" });
|
||
})).catch((function() {
|
||
}));
|
||
} else this.$message("只能上传Excel文件!");
|
||
}, submitImportFile: function(e2) {
|
||
var t2 = this;
|
||
t2.$refs[e2].validate((function(e3) {
|
||
if (!e3) return false;
|
||
t2.$refs.uploadFile.submit();
|
||
}));
|
||
}, onImportFileChange: function(e2, t2) {
|
||
var a2 = this;
|
||
t2.length > 0 && (this.importInforList.filePath = e2, setTimeout((function() {
|
||
a2.$nextTick((function() {
|
||
a2.$refs.importInforList.clearValidate("filePath");
|
||
})), a2.$forceUpdate();
|
||
}), 200));
|
||
}, removeFile: function(e2, t2) {
|
||
0 === t2.length && (this.importInforList.filePath = "");
|
||
}, updataStatus: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$confirm("确定修改该录入本录入状态吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
|
||
var r2 = { id: e2.id, status: 3, operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName };
|
||
Object(l["w"])(r2).then((function(e3) {
|
||
0 === e3.code ? (a2.$message({ type: "success", message: "修改成功" }), a2.getchargeCycleListData()) : a2.$message({ type: "error", message: "修改失败" });
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, deleteMeters: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$confirm("确定删除该录入本吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning", center: true }).then((function() {
|
||
var r2 = { id: e2.id, operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName };
|
||
Object(l["j"])(r2).then((function(e3) {
|
||
0 === e3.code ? (a2.$message({ type: "success", message: "删除成功" }), a2.getchargeCycleListData()) : a2.$message({ type: "error", message: "删除失败" });
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, editDynamicDetailes: function(e2, t2) {
|
||
var a2 = e2.id, r2 = 0 === t2 ? "/editInfo/editDynamic?d=".concat(a2) : "/viewInfo/viewDynamic?d=".concat(a2);
|
||
this.$router.push({ path: r2 });
|
||
}, priceInput: function(e2, t2) {
|
||
var a2 = this;
|
||
e2 = e2.replace(/[^\d\.]/g, ""), e2 = e2.replace(/^\./g, ""), e2 = e2.replace(/^0\d[0-9]*/g, ""), e2 = e2.replace(/\.{2,}/g, "."), e2 = e2.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."), e2 = e2.replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3"), this.$nextTick((function() {
|
||
a2.infoList[t2] = e2;
|
||
}));
|
||
}, formatDateDay: function(e2) {
|
||
return e2 + "-01";
|
||
} } }, v = g, y = (a("d908"), Object(d["a"])(v, m, h, false, null, "2c8b11a9", null)), j = y.exports, _ = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [e2.list ? a2("div", [a2("div", [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { model: e2.query, inline: true } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 18 } }, [a2("el-form-item", { attrs: { label: "", prop: "name" } }, [a2("el-input", { attrs: { placeholder: "请输入仪表名称", clearable: "" }, model: { value: e2.query.name, callback: function(t3) {
|
||
e2.$set(e2.query, "name", t3);
|
||
}, expression: "query.name" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "deviceTypeId" } }, [a2("el-cascader", { attrs: { clearable: "", placeholder: "请选择仪表类型", options: e2.typeList, "show-all-levels": false, props: { label: "name", children: "children", value: "deviceTypeUuid", emitPath: false }, filterable: "" }, model: { value: e2.query.deviceTypeId, callback: function(t3) {
|
||
e2.$set(e2.query, "deviceTypeId", t3);
|
||
}, expression: "query.deviceTypeId" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "", prop: "chargesId" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { filterable: "", clearable: "", placeholder: "收费项" }, model: { value: e2.query.chargesId, callback: function(t3) {
|
||
e2.$set(e2.query, "chargesId", t3);
|
||
}, expression: "query.chargesId" } }, e2._l(e2.categoryArr, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { staticStyle: { "text-align": "right" }, attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetForm("query");
|
||
} } }, [e2._v("重置")])], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass, "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")];
|
||
} }], null, false, 291223075) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计费仪表", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.name) + "\n ")];
|
||
} }], null, false, 1889317658) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计量参数", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", { staticClass: "setArea" }, [a2("div", [e2._v(e2._s(t3.row.paramName || "-"))]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.setParam(t3.row);
|
||
} } }, [e2._v("配置")])], 1)];
|
||
} }], null, false, 3286905017) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "增减项", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", { staticClass: "setArea" }, [a2("div", [e2._v(e2._s(1 == t3.row.symbol ? "增项" : 2 == t3.row.symbol ? "减项" : "-"))]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.setSymbol(t3.row);
|
||
} } }, [e2._v("配置")])], 1)];
|
||
} }], null, false, 1632278378) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费项", "show-overflow-tooltip": "", "min-width": "200" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("div", { staticClass: "setArea" }, [a2("div", [e2._v(e2._s(t3.row.chargeName || "-"))]), e2._v(" "), a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.setCharge(t3.row);
|
||
} } }, [e2._v("配置")])], 1)];
|
||
} }], null, false, 2366534585) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "上次计费读数", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.lastRead || "-") + "\n ")];
|
||
} }], null, false, 4024521544) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "当前读数", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.currentRead || "-") + "\n ")];
|
||
} }], null, false, 3825779851) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "当前用量", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.currentUse || "-") + "\n ")];
|
||
} }], null, false, 501202362) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "show-overflow-tooltip": "", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.toDetail(t3.row);
|
||
} } }, [e2._v("查看")])];
|
||
} }], null, false, 2653480949) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1) : e2._e(), e2._v(" "), a2("shareDetail", { ref: "detail", attrs: { show: e2.detail, saveData: e2.saveVal }, on: { back: e2.detailBack } }), e2._v(" "), a2("el-dialog", { attrs: { title: e2.dialogTitle, visible: e2.dialogVisible, width: "30%", "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
|
||
e2.dialogVisible = t3;
|
||
} } }, [a2("el-form", { ref: "setForm", attrs: { model: e2.setForm, rules: e2.setRules, "label-width": "100px" } }, ["计量参数配置" == e2.dialogTitle ? a2("el-form-item", { attrs: { label: "选择参数", prop: "id" } }, [a2("el-select", { staticStyle: { width: "80%" }, attrs: { placeholder: "请选择活动区域" }, model: { value: e2.setForm.id, callback: function(t3) {
|
||
e2.$set(e2.setForm, "id", t3);
|
||
}, expression: "setForm.id" } }, e2._l(e2.paramList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.paramName, value: e3.id } });
|
||
})), 1)], 1) : e2._e(), e2._v(" "), "收费项配置" == e2.dialogTitle ? a2("el-form-item", { attrs: { label: "选择收费项", prop: "charge" } }, [a2("el-select", { staticStyle: { width: "80%" }, attrs: { "value-key": "id", placeholder: "请选择收费项" }, model: { value: e2.setForm.charge, callback: function(t3) {
|
||
e2.$set(e2.setForm, "charge", t3);
|
||
}, expression: "setForm.charge" } }, [e2.categoryDeviceArr.length > 0 ? a2("el-option", { key: -1, attrs: { label: "不引用", value: { id: -1, name: "不引用" } } }) : e2._e(), e2._v(" "), e2._l(e2.categoryDeviceArr, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3 } });
|
||
}))], 2)], 1) : e2._e(), e2._v(" "), "增减项配置" == e2.dialogTitle ? a2("el-form-item", { attrs: { label: "选择增减项", prop: "symbol" } }, [a2("el-select", { staticStyle: { width: "80%" }, attrs: { placeholder: "请选择增减项" }, model: { value: e2.setForm.symbol, callback: function(t3) {
|
||
e2.$set(e2.setForm, "symbol", t3);
|
||
}, expression: "setForm.symbol" } }, [a2("el-option", { attrs: { label: "增项", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "减项", value: 2 } })], 1)], 1) : e2._e(), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-button", { attrs: { type: "primary" }, on: { click: function(t3) {
|
||
return e2.updataSet("setForm");
|
||
} } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取消")])], 1)], 1)], 1)], 1);
|
||
}, C = [], w = a("be2e"), I = a("9192"), k = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return e2.show ? a2("div", [a2("el-page-header", { staticClass: "valueHeader", attrs: { content: "仪表数据" }, on: { back: e2.goBack } }), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("运行参数")])]), e2._v(" "), a2("el-form", { staticClass: "demo-form-inline", attrs: { inline: true, model: e2.valueSearchForm } }, [a2("el-form-item", { attrs: { label: "作业时间" } }, [a2("el-date-picker", { attrs: { type: "daterange", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期" }, model: { value: e2.valueSearchForm.time, callback: function(t3) {
|
||
e2.$set(e2.valueSearchForm, "time", t3);
|
||
}, expression: "valueSearchForm.time" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.valueSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: e2.valueReset } }, [e2._v("重置")])], 1)], 1), e2._v(" "), a2("el-table", { attrs: { data: e2.valueData, border: "", "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.valueSearchForm.pageNumber - 1) * e2.valueSearchForm.pageSize + 1) + " ")])];
|
||
} }], null, false, 434780659) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "仪表名称" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.deviceName || "-") + "\n ")];
|
||
} }], null, false, 2103624143) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "仪表编码" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.deviceNo || "-") + "\n ")];
|
||
} }], null, false, 4137786857) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "参数名称" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.paramName || "-") + "\n ")];
|
||
} }], null, false, 2996775e3) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "参数取值" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.paramValue || "-") + "\n ")];
|
||
} }], null, false, 1789330100) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "作业时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createDate || "-") + "\n ")];
|
||
} }], null, false, 3398156928) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "作业单号" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.taskNo || "-") + "\n ")];
|
||
} }], null, false, 1225114492) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.valueSearchForm.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.valueSearchForm.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.valueTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.valueSearchForm, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.valueSearchForm, "pageNumber", t3);
|
||
}, "size-change": e2.valueSizeChange, "current-change": e2.valueCurrentChange } })], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [e2._v("计费记录")])]), e2._v(" "), a2("el-form", { staticClass: "demo-form-inline", attrs: { inline: true, model: e2.chargeSearchForm } }, [a2("el-form-item", { attrs: { label: "计费账期" } }, [a2("el-date-picker", { attrs: { clearable: "", type: "month", format: "yyyy-MM", "value-format": "yyyy-MM", placeholder: "选择计费账期" }, model: { value: e2.chargeSearchForm.time, callback: function(t3) {
|
||
e2.$set(e2.chargeSearchForm, "time", t3);
|
||
}, expression: "chargeSearchForm.time" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.chargeSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: e2.chargeReset } }, [e2._v("重置")])], 1)], 1), e2._v(" "), a2("el-table", { attrs: { data: e2.chargeData, border: "", "header-cell-style": e2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.chargeSearchForm.pageNumber - 1) * e2.chargeSearchForm.pageSize + 1) + " ")])];
|
||
} }], null, false, 2005402515) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "计费账期" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.chargeDate || "-") + "\n ")];
|
||
} }], null, false, 718062078) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "上次计费读数" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.lastRead || "-") + "\n ")];
|
||
} }], null, false, 1243494984) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "当前读数" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.currentRead || "-") + "\n ")];
|
||
} }], null, false, 213885835) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "计费用量" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.chargeRead || "-") + "\n ")];
|
||
} }], null, false, 3255334104) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "200", align: "center", "show-overflow-tooltip": "", label: "计费时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")];
|
||
} }], null, false, 1265676129) }), e2._v(" "), a2("el-table-column", { attrs: { "min-width": "90", align: "center", "show-overflow-tooltip": "", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.toEdit(t3.row);
|
||
} } }, [e2._v("修正读数")])];
|
||
} }], null, false, 699923280) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.chargeSearchForm.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.chargeSearchForm.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.chargeTotal }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.chargeSearchForm, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.chargeSearchForm, "pageNumber", t3);
|
||
}, "size-change": e2.chargeSizeChange, "current-change": e2.chargeCurrentChange } })], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "计费读数修正", visible: e2.editVisible, width: "800px", "before-close": e2.handleClose }, on: { "update:visible": function(t3) {
|
||
e2.editVisible = t3;
|
||
} } }, [a2("div", [a2("el-form", { ref: "editForm", attrs: { model: e2.editForm, "label-width": "160px" } }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "上次计费读数【原】" } }, [a2("el-input", { staticStyle: { width: "150px" }, attrs: { disabled: "" }, model: { value: e2.editForm.lastRead, callback: function(t3) {
|
||
e2.$set(e2.editForm, "lastRead", t3);
|
||
}, expression: "editForm.lastRead" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "上次计费读数【新】" } }, [a2("el-input-number", { staticStyle: { width: "200px" }, attrs: { "controls-position": "right", min: 0, max: 9999, precision: 2 }, on: { change: e2.changeLast }, model: { value: e2.editForm.lastReadNew, callback: function(t3) {
|
||
e2.$set(e2.editForm, "lastReadNew", t3);
|
||
}, expression: "editForm.lastReadNew" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "当前读数【原】" } }, [a2("el-input", { staticStyle: { width: "150px" }, attrs: { disabled: "" }, model: { value: e2.editForm.currentRead, callback: function(t3) {
|
||
e2.$set(e2.editForm, "currentRead", t3);
|
||
}, expression: "editForm.currentRead" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "当前读数【新】" } }, [a2("el-input-number", { staticStyle: { width: "200px" }, attrs: { "controls-position": "right", min: 0, max: 9999, precision: 2 }, on: { change: e2.changeCurrent }, model: { value: e2.editForm.currentReadNew, callback: function(t3) {
|
||
e2.$set(e2.editForm, "currentReadNew", t3);
|
||
}, expression: "editForm.currentReadNew" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "计费用量【原】" } }, [a2("el-input", { staticStyle: { width: "150px" }, attrs: { disabled: "" }, model: { value: e2.editForm.chargeRead, callback: function(t3) {
|
||
e2.$set(e2.editForm, "chargeRead", t3);
|
||
}, expression: "editForm.chargeRead" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { label: "计费用量【新】" } }, [a2("el-input", { staticStyle: { width: "200px" }, attrs: { disabled: "" }, model: { value: e2.editForm.chargeReadNew, callback: function(t3) {
|
||
e2.$set(e2.editForm, "chargeReadNew", t3);
|
||
}, expression: "editForm.chargeReadNew" } })], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.handleClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.updateParam } }, [e2._v("确 定")])], 1)])], 1) : e2._e();
|
||
}, L = [], O = { props: ["show", "saveData"], data: function() {
|
||
return { editVisible: false, valueTotal: 0, valueSearchForm: { time: "", pageNumber: 1, pageSize: 10 }, chargeTotal: 0, chargeSearchForm: { time: "", pageNumber: 1, pageSize: 10 }, editForm: {}, valueData: [], chargeData: [] };
|
||
}, mounted: function() {
|
||
this.headClass();
|
||
}, methods: { getValueList: function() {
|
||
var e2 = this, t2 = { deviceParamId: this.saveData.deviceParamId ? this.saveData.deviceParamId : "", startTimeStr: this.valueSearchForm.time ? this.valueSearchForm.time[0] + " 00:00:00" : "", endTimeStr: this.valueSearchForm.time ? this.valueSearchForm.time[1] + " 23:59:59" : "" };
|
||
t2.pageSize = this.valueSearchForm.pageSize, t2.pageNumber = this.valueSearchForm.pageNumber, Object(w["hb"])(t2).then((function(t3) {
|
||
e2.valueData = t3.data.records, e2.valueTotal = t3.data.rowsCount;
|
||
}));
|
||
}, valueSearch: function() {
|
||
this.valueSearchForm.pageNumber = 1, this.getValueList();
|
||
}, valueReset: function() {
|
||
this.valueSearchForm.pageNumber = 1, this.valueSearchForm.time = "", this.getValueList();
|
||
}, valueSizeChange: function(e2) {
|
||
this.valueSearchForm.pageNumber = e2, this.getValueList();
|
||
}, valueCurrentChange: function(e2) {
|
||
this.valueSearchForm.pageNumber = 1, this.valueSearchForm.pageSize = e2, this.getValueList();
|
||
}, getChargeList: function() {
|
||
var e2 = this, t2 = {};
|
||
t2.deviceBaseUuid = this.saveData.deviceBaseUuid, t2.projectUuid = this.$store.state.community_uuid, t2.chargeDate = this.chargeSearchForm.time, t2.pageSize = this.chargeSearchForm.pageSize, t2.pageNumber = this.chargeSearchForm.pageNumber, Object(w["b"])(t2).then((function(t3) {
|
||
e2.chargeData = t3.data.records, e2.chargeTotal = t3.data.rowsCount;
|
||
}));
|
||
}, chargeSearch: function() {
|
||
this.chargeSearchForm.pageNumber = 1, this.getChargeList();
|
||
}, chargeReset: function() {
|
||
this.chargeSearchForm.pageNumber = 1, this.chargeSearchForm.time = "", this.getChargeList();
|
||
}, chargeSizeChange: function(e2) {
|
||
this.chargeSearchForm.pageNumber = e2, this.getChargeList();
|
||
}, chargeCurrentChange: function(e2) {
|
||
this.chargeSearchForm.pageNumber = 1, this.chargeSearchForm.pageSize = e2, this.getChargeList();
|
||
}, toEdit: function(e2) {
|
||
this.editVisible = true, this.editForm = e2, this.editForm.currentReadNew = e2.currentRead, this.editForm.lastReadNew = e2.lastRead, this.editForm.chargeReadNew = e2.chargeRead;
|
||
}, changeLast: function(e2) {
|
||
this.editForm.chargeReadNew = e2 ? this.floatSub(this.editForm.currentReadNew, e2) : "", this.$forceUpdate();
|
||
}, changeCurrent: function(e2) {
|
||
this.editForm.chargeReadNew = e2 ? this.floatSub(e2, this.editForm.lastReadNew) : "", this.$forceUpdate();
|
||
}, floatSub: function(e2, t2) {
|
||
var a2, r2, n2, o2;
|
||
try {
|
||
a2 = e2.toString().split(".")[1].length;
|
||
} catch (i2) {
|
||
a2 = 0;
|
||
}
|
||
try {
|
||
r2 = t2.toString().split(".")[1].length;
|
||
} catch (i2) {
|
||
r2 = 0;
|
||
}
|
||
return n2 = Math.pow(10, Math.max(a2, r2)), o2 = a2 >= r2 ? a2 : r2, ((e2 * n2 - t2 * n2) / n2).toFixed(o2);
|
||
}, inputCheck: function() {
|
||
return this.editForm.lastReadNew >= 0 ? this.editForm.currentReadNew >= 0 ? this.floatSub(this.editForm.currentReadNew, this.editForm.lastReadNew) >= 0 || (this.$message("当前读数不能小于上次计费读数"), false) : (this.$message("请输入当前【新】读数"), false) : (this.$message("请输入上次计费【新】读数"), false);
|
||
}, updateParam: function() {
|
||
var e2 = this;
|
||
if (!this.inputCheck()) return false;
|
||
this.$confirm("计费账期修正读数后需手动重新计费, 是否继续?", "修正提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
var t2 = { id: e2.editForm.id, lastRead: e2.editForm.lastReadNew, currentRead: e2.editForm.currentReadNew, chargeRead: e2.editForm.chargeReadNew };
|
||
Object(w["wb"])(t2).then((function(t3) {
|
||
e2.$message({ type: "success", message: "修正成功,请重新计费!" }), e2.handleClose(), e2.getChargeList();
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, handleClose: function() {
|
||
this.editVisible = false, this.editForm = {};
|
||
}, goBack: function() {
|
||
this.valueSearchForm.time = "", this.chargeSearchForm.time = "", this.$emit("back");
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} } }, S = O, x = (a("066f"), Object(d["a"])(S, k, L, false, null, null, null)), N = x.exports, T = { components: { shareDetail: N }, data: function() {
|
||
return { list: true, detail: false, dialogTitle: "计量参数配置", dialogVisible: false, listLoading: false, listData: [], typeList: [], categoryArr: [], categoryDeviceArr: [], paramList: [], total: 0, query: { name: "", deviceTypeId: "", chargeId: "", projectId: this.$store.state.community_uuid, pageNumber: 1, pageSize: 10 }, chargeData: { queryPrice: 1, categoryCode: "101", priceTypeCode: "204" }, saveVal: {}, setForm: { id: "", charge: "", symbol: "" }, setRules: { id: { required: true, message: "请选择配置参数", trigger: "change" }, charge: { required: true, message: "请选择配置收费项", trigger: "change" }, symbol: { required: true, message: "请选择增减项", trigger: "change" } } };
|
||
}, created: function() {
|
||
this.headClass();
|
||
}, mounted: function() {
|
||
this.list = true, this.detail = false, this.getMeterList(), this.deviceTypeList(), this.getChargesList();
|
||
}, methods: { getMeterList: function() {
|
||
var e2 = this;
|
||
Object(l["q"])(this.query).then((function(t2) {
|
||
e2.listData = t2.data.records, e2.total = t2.data.rowsCount;
|
||
}));
|
||
}, deviceTypeList: function() {
|
||
var e2 = this;
|
||
Object(w["F"])({ projectId: this.$store.state.community_uuid, queryType: 4 }).then((function(t2) {
|
||
e2.typeList = t2.data;
|
||
}));
|
||
}, getChargesList: function() {
|
||
var e2 = this;
|
||
this.chargeData.projectUuid = this.$store.state.community_uuid, Object(I["e"])(this.chargeData).then((function(t2) {
|
||
e2.categoryArr = t2.data.records;
|
||
}));
|
||
}, setSymbol: function(e2) {
|
||
this.dialogTitle = "增减项配置", this.dialogVisible = true, this.saveVal = JSON.parse(JSON.stringify(e2)), this.setForm.symbol = e2.symbol;
|
||
}, setParam: function(e2) {
|
||
this.dialogTitle = "计量参数配置", this.dialogVisible = true, this.saveVal = JSON.parse(JSON.stringify(e2)), this.setForm.id = e2.paramId, this.$nextTick((function() {
|
||
this.getdeviceParamList(e2);
|
||
}));
|
||
}, setCharge: function(e2) {
|
||
this.dialogTitle = "收费项配置", this.dialogVisible = true, this.saveVal = JSON.parse(JSON.stringify(e2)), this.saveVal.chargeId ? this.setForm.charge = { id: this.saveVal.chargeId, name: this.saveVal.chargeName } : this.setForm.charge = "", this.$nextTick((function() {
|
||
this.deviceChargeList(e2);
|
||
}));
|
||
}, getdeviceParamList: function(e2) {
|
||
var t2 = this, a2 = { deviceBaseUuid: e2.deviceBaseUuid, status: 1, inherentType: 1, pageNumber: -1, pageSize: -1 };
|
||
Object(w["E"])(a2).then((function(e3) {
|
||
t2.paramList = e3.data.records;
|
||
}));
|
||
}, deviceChargeList: function(e2) {
|
||
var t2 = this, a2 = { meterageTypeCode: e2.meterageTypeCode, projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 };
|
||
Object(I["e"])(Object.assign(a2, this.chargeData)).then((function(e3) {
|
||
t2.categoryDeviceArr = e3.data.records;
|
||
}));
|
||
}, updataSet: function(e2) {
|
||
var t2 = this;
|
||
this.$refs[e2].validate((function(e3) {
|
||
if (!e3) return false;
|
||
"计量参数配置" == t2.dialogTitle ? Object(l["B"])({ id: t2.setForm.id, uuid: t2.saveVal.deviceBaseUuid }).then((function(e4) {
|
||
t2.$message({ type: "success", message: "设置成功" }), t2.handleClose(), t2.getMeterList();
|
||
})) : "收费项配置" == t2.dialogTitle ? (t2.saveVal.chargeId = t2.setForm.charge.id, t2.saveVal.chargeName = t2.setForm.charge.name, Object(l["A"])(t2.saveVal).then((function(e4) {
|
||
t2.$message({ type: "success", message: "设置成功" }), t2.handleClose(), t2.getMeterList();
|
||
}))) : "增减项配置" == t2.dialogTitle && (t2.saveVal.symbol = t2.setForm.symbol, Object(l["A"])(t2.saveVal).then((function(e4) {
|
||
t2.$message({ type: "success", message: "设置成功" }), t2.handleClose(), t2.getMeterList();
|
||
})));
|
||
}));
|
||
}, handleClose: function() {
|
||
this.dialogVisible = false, this.$refs["setForm"].resetFields();
|
||
}, onSearch: function() {
|
||
this.query.pageNumber = 1, this.getMeterList();
|
||
}, resetForm: function(e2) {
|
||
this.$refs[e2].resetFields(), this.query.pageNumber = 1, this.getMeterList();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageNumber = 1, this.query.pageSize = e2, this.getMeterList();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getMeterList();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, toDetail: function(e2) {
|
||
this.list = false, this.detail = true, this.saveVal = e2, this.$nextTick((function() {
|
||
this.$refs.detail.getValueList(), this.$refs.detail.getChargeList();
|
||
}));
|
||
}, detailBack: function() {
|
||
this.list = true, this.detail = false;
|
||
} } }, F = T, D = (a("4a27"), Object(d["a"])(F, _, C, false, null, null, null)), $ = D.exports, q = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("div", [a2("div", [a2("el-form", { staticClass: "demo-form-inline", attrs: { model: e2.query, inline: true } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 18 } }, [a2("el-form-item", { attrs: { label: "" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "收费项" }, model: { value: e2.query.chargesId, callback: function(t3) {
|
||
e2.$set(e2.query, "chargesId", t3);
|
||
}, expression: "query.chargesId" } }, e2._l(e2.chargeItemList, (function(e3) {
|
||
return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "计费状态" }, model: { value: e2.query.chargeStatus, callback: function(t3) {
|
||
e2.$set(e2.query, "chargeStatus", t3);
|
||
}, expression: "query.chargeStatus" } }, e2._l(e2.chargeStatusList, (function(e3) {
|
||
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { staticStyle: { "text-align": "right" }, attrs: { span: 6 } }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: e2.resetForm } }, [e2._v("重置")])], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticStyle: { "text-align": "right", "margin-bottom": "20px" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.openCheckInforDialog } }, [e2._v("发布计费")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.createPricing } }, [e2._v("创建临时收费项")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], staticStyle: { width: "100%" }, attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1) + "\n ")])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费项", fixed: "", "min-width": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", [e2._v(e2._s(t3.row.chargesName))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费类型", fixed: "", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.fsChargeType ? 2 === t3.row.fsChargeType ? "押金类" : "普通类" : "-") + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "定价方式", fixed: "", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.priceTypeCode, e2.priceTypeCodeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "金额", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return ["201" === t3.row.priceTypeCode ? a2("div", [e2._v("动态")]) : a2("div", [e2._v(e2._s(e2._f("formatMoney")(t3.row.price)))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "收费方式", "show-overflow-tooltip": "" } }, [[a2("span", [e2._v("线上收费")])]], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "退款", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", { style: { color: 1 === t3.row.isrefund ? "blue" : "red" } }, [e2._v(e2._s(e2.getItemType(t3.row.isrefund, "charge2TypeList")))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计费状态", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [a2("span", { style: { color: 2 === t3.row.chargeStatus ? "green" : 3 === t3.row.chargeStatus ? "red" : "" } }, [e2._v(e2._s(e2.getItemType(t3.row.chargeStatus, "chargeStatusList")))])];
|
||
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", fixed: "right", "min-width": "160" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [t3.row.qcImage ? e2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.updataQrCode(t3.row);
|
||
} } }, [e2._v("生成二维码")]), e2._v(" "), t3.row.qcImage && 2 === t3.row.chargeStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.showQrcode(t3.row);
|
||
} } }, [e2._v("查看二维码")]) : e2._e(), e2._v(" "), 2 !== t3.row.chargeStatus ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.editInfor(t3.row);
|
||
} } }, [e2._v("编辑")]) : e2._e(), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: function(a3) {
|
||
return e2.updataStatus(t3.row);
|
||
} } }, [e2._v(e2._s(1 === t3.row.chargeStatus ? "启用" : 2 === t3.row.chargeStatus ? "禁用" : "启用"))])];
|
||
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "update:currentPage": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "update:current-page": function(t3) {
|
||
return e2.$set(e2.query, "pageNumber", t3);
|
||
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: e2.title, visible: e2.partyVisible, "show-close": true, "close-on-press-escape": false, "close-on-click-modal": false, "destroy-on-close": "", width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.partyVisible = t3;
|
||
}, close: e2.closeVisible } }, [a2("el-form", { ref: "infoList", attrs: { model: e2.infoList, rules: e2.rules, "label-width": "120px" } }, [a2("el-form-item", { attrs: { label: "项目名称", prop: "projectName" } }, [a2("el-input", { staticClass: "form-item-content", attrs: { disabled: "", placeholder: "请输项目名称" }, model: { value: e2.infoList.projectName, callback: function(t3) {
|
||
e2.$set(e2.infoList, "projectName", t3);
|
||
}, expression: "infoList.projectName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "收费项", prop: "chargesId" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { "value-key": "fsChargesId", placeholder: "请选择收费项" }, on: { change: e2.chargeItemsChange }, model: { value: e2.infoList.chargesId, callback: function(t3) {
|
||
e2.$set(e2.infoList, "chargesId", t3);
|
||
}, expression: "infoList.chargesId" } }, e2._l(e2.chargeItemList, (function(e3) {
|
||
return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "是否退费", prop: "isrefund" } }, [a2("el-radio-group", { staticClass: "form-item-content", model: { value: e2.infoList.isrefund, callback: function(t3) {
|
||
e2.$set(e2.infoList, "isrefund", t3);
|
||
}, expression: "infoList.isrefund" } }, e2._l(e2.charge2TypeList, (function(t3, r2) {
|
||
return a2("el-radio", { key: r2, attrs: { label: t3.value } }, [e2._v(e2._s(t3.label))]);
|
||
})), 1)], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetDialogForm("infoList");
|
||
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", disabled: e2.btnloading }, on: { click: function(t3) {
|
||
return e2.submitDialogForm("infoList");
|
||
} } }, [e2._v("确 定")])], 1)], 1), e2._v(" "), e2.qrCodeDalogVisible ? a2("el-dialog", { attrs: { title: "查看二维码", visible: e2.qrCodeDalogVisible, width: "30%" }, on: { "update:visible": function(t3) {
|
||
e2.qrCodeDalogVisible = t3;
|
||
} } }, [e2.qrCodeDalogVisible ? a2("div", { staticClass: "qrcodeBox" }, [a2("div", { ref: "qrcode", staticClass: "qrcode", attrs: { id: "qrcode" } })]) : e2._e(), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
|
||
e2.qrCodeDalogVisible = false;
|
||
} } }, [e2._v("关闭")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.downloadQrcode } }, [e2._v("下载二维码")])], 1)]) : e2._e(), e2._v(" "), a2("el-dialog", { staticClass: "dialogHead", attrs: { title: "发布计费", "modal-append-to-body": true, "append-to-body": true, "close-on-click-modal": false, "close-on-press-escape": false, width: "500px", height: "300px", visible: e2.checkInforVisible }, on: { "update:visible": function(t3) {
|
||
e2.checkInforVisible = t3;
|
||
} } }, [a2("div", { staticClass: "checkInforSelct" }, [a2("el-form", { ref: "checkInfor", attrs: { model: e2.checkInfor, rules: e2.checkInforRules, "label-width": "100px" } }, [a2("el-form-item", { attrs: { label: "收费项", prop: "fsChargesId" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "收费项", "value-key": "chargesId" }, model: { value: e2.checkInfor.fsChargesId, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "fsChargesId", t3);
|
||
}, expression: "checkInfor.fsChargesId" } }, e2._l(e2.tmpChargeList, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.chargesName, value: e3 } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "缴费金额", prop: "deposit" } }, [a2("el-input", { staticClass: "form-item-content", attrs: { placeholder: "请输入应收金额" }, model: { value: e2.checkInfor.deposit, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "deposit", "string" === typeof t3 ? t3.trim() : t3);
|
||
}, expression: "checkInfor.deposit" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "选择项目", prop: "projectName" } }, [a2("el-input", { staticClass: "form-item-content", attrs: { disabled: "" }, model: { value: e2.checkInfor.projectName, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "projectName", t3);
|
||
}, expression: "checkInfor.projectName" } })], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "选择管理区", prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择管理区名称" }, on: { change: e2.selectCheckChange }, model: { value: e2.checkInfor.precinctId, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "precinctId", t3);
|
||
}, expression: "checkInfor.precinctId" } }, e2._l(e2.areaOptions, (function(e3, t3) {
|
||
return a2("el-option", { key: t3, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "选择楼栋", prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择楼栋" }, on: { change: e2.checkChangeBuild }, model: { value: e2.checkInfor.buildingId, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "buildingId", t3);
|
||
}, expression: "checkInfor.buildingId" } }, e2._l(e2.chackbuilding, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "选择单元", prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择单元" }, on: { change: e2.checkChangeUnit }, model: { value: e2.checkInfor.unitId, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "unitId", t3);
|
||
}, expression: "checkInfor.unitId" } }, e2._l(e2.chackUnitList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "选择房间", prop: "fsHouseId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, on: { change: e2.ChangeHouse }, model: { value: e2.checkInfor.fsHouseId, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "fsHouseId", t3);
|
||
}, expression: "checkInfor.fsHouseId" } }, e2._l(e2.houseList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.id } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "选择债务人", prop: "debtorByInfo" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "请选择债务人", "value-key": "id" }, on: { change: e2.memberChange }, model: { value: e2.checkInfor.debtorByInfo, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "debtorByInfo", t3);
|
||
}, expression: "checkInfor.debtorByInfo" } }, e2._l(e2.memberList, (function(e3) {
|
||
return a2("el-option", { key: e3.id, attrs: { label: e3.realName, value: e3 } });
|
||
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { label: "备注", prop: "remark" } }, [a2("el-input", { attrs: { type: "textarea", rows: 3, placeholder: "请输入备注内容" }, model: { value: e2.checkInfor.remark, callback: function(t3) {
|
||
e2.$set(e2.checkInfor, "remark", t3);
|
||
}, expression: "checkInfor.remark" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: e2.checkInforbtnLoading }, on: { click: function(t3) {
|
||
return e2.submitForm("checkInfor");
|
||
} } }, [e2._v("确定")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetFormDialog("checkInfor");
|
||
} } }, [e2._v("取消")])], 1)], 1)], 1)])], 1);
|
||
}, P = [], R = a("dce5"), M = "";
|
||
M = "https://app-wxmini-be.sqygj.cn";
|
||
var E = a("ca2a"), B = a("156b"), V = a.n(B), U = a("2b74"), z = a("e654"), A = a("66b4");
|
||
function H() {
|
||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
||
var e2, t2, a2 = "function" == typeof Symbol ? Symbol : {}, r2 = a2.iterator || "@@iterator", n2 = a2.toStringTag || "@@toStringTag";
|
||
function o2(a3, r3, n3, o3) {
|
||
var s3 = r3 && r3.prototype instanceof l2 ? r3 : l2, c3 = Object.create(s3.prototype);
|
||
return Q(c3, "_invoke", (function(a4, r4, n4) {
|
||
var o4, l3, s4, c4 = 0, u3 = n4 || [], d3 = false, p3 = { p: 0, n: 0, v: e2, a: f2, f: f2.bind(e2, 4), d: function(t3, a5) {
|
||
return o4 = t3, l3 = 0, s4 = e2, p3.n = a5, i2;
|
||
} };
|
||
function f2(a5, r5) {
|
||
for (l3 = a5, s4 = r5, t2 = 0; !d3 && c4 && !n5 && t2 < u3.length; t2++) {
|
||
var n5, o5 = u3[t2], f3 = p3.p, m2 = o5[2];
|
||
a5 > 3 ? (n5 = m2 === r5) && (s4 = o5[(l3 = o5[4]) ? 5 : (l3 = 3, 3)], o5[4] = o5[5] = e2) : o5[0] <= f3 && ((n5 = a5 < 2 && f3 < o5[1]) ? (l3 = 0, p3.v = r5, p3.n = o5[1]) : f3 < m2 && (n5 = a5 < 3 || o5[0] > r5 || r5 > m2) && (o5[4] = a5, o5[5] = r5, p3.n = m2, l3 = 0));
|
||
}
|
||
if (n5 || a5 > 1) return i2;
|
||
throw d3 = true, r5;
|
||
}
|
||
return function(n5, u4, m2) {
|
||
if (c4 > 1) throw TypeError("Generator is already running");
|
||
for (d3 && 1 === u4 && f2(u4, m2), l3 = u4, s4 = m2; (t2 = l3 < 2 ? e2 : s4) || !d3; ) {
|
||
o4 || (l3 ? l3 < 3 ? (l3 > 1 && (p3.n = -1), f2(l3, s4)) : p3.n = s4 : p3.v = s4);
|
||
try {
|
||
if (c4 = 2, o4) {
|
||
if (l3 || (n5 = "next"), t2 = o4[n5]) {
|
||
if (!(t2 = t2.call(o4, s4))) throw TypeError("iterator result is not an object");
|
||
if (!t2.done) return t2;
|
||
s4 = t2.value, l3 < 2 && (l3 = 0);
|
||
} else 1 === l3 && (t2 = o4.return) && t2.call(o4), l3 < 2 && (s4 = TypeError("The iterator does not provide a '" + n5 + "' method"), l3 = 1);
|
||
o4 = e2;
|
||
} else if ((t2 = (d3 = p3.n < 0) ? s4 : a4.call(r4, p3)) !== i2) break;
|
||
} catch (t3) {
|
||
o4 = e2, l3 = 1, s4 = t3;
|
||
} finally {
|
||
c4 = 1;
|
||
}
|
||
}
|
||
return { value: t2, done: d3 };
|
||
};
|
||
})(a3, n3, o3), true), c3;
|
||
}
|
||
var i2 = {};
|
||
function l2() {
|
||
}
|
||
function s2() {
|
||
}
|
||
function c2() {
|
||
}
|
||
t2 = Object.getPrototypeOf;
|
||
var u2 = [][r2] ? t2(t2([][r2]())) : (Q(t2 = {}, r2, (function() {
|
||
return this;
|
||
})), t2), d2 = c2.prototype = l2.prototype = Object.create(u2);
|
||
function p2(e3) {
|
||
return Object.setPrototypeOf ? Object.setPrototypeOf(e3, c2) : (e3.__proto__ = c2, Q(e3, n2, "GeneratorFunction")), e3.prototype = Object.create(d2), e3;
|
||
}
|
||
return s2.prototype = c2, Q(d2, "constructor", c2), Q(c2, "constructor", s2), s2.displayName = "GeneratorFunction", Q(c2, n2, "GeneratorFunction"), Q(d2), Q(d2, n2, "Generator"), Q(d2, r2, (function() {
|
||
return this;
|
||
})), Q(d2, "toString", (function() {
|
||
return "[object Generator]";
|
||
})), (H = function() {
|
||
return { w: o2, m: p2 };
|
||
})();
|
||
}
|
||
function Q(e2, t2, a2, r2) {
|
||
var n2 = Object.defineProperty;
|
||
try {
|
||
n2({}, "", {});
|
||
} catch (e3) {
|
||
n2 = 0;
|
||
}
|
||
Q = function(e3, t3, a3, r3) {
|
||
function o2(t4, a4) {
|
||
Q(e3, t4, (function(e4) {
|
||
return this._invoke(t4, a4, e4);
|
||
}));
|
||
}
|
||
t3 ? n2 ? n2(e3, t3, { value: a3, enumerable: !r3, configurable: !r3, writable: !r3 }) : e3[t3] = a3 : (o2("next", 0), o2("throw", 1), o2("return", 2));
|
||
}, Q(e2, t2, a2, r2);
|
||
}
|
||
function J(e2, t2, a2, r2, n2, o2, i2) {
|
||
try {
|
||
var l2 = e2[o2](i2), s2 = l2.value;
|
||
} catch (e3) {
|
||
return void a2(e3);
|
||
}
|
||
l2.done ? t2(s2) : Promise.resolve(s2).then(r2, n2);
|
||
}
|
||
function G(e2) {
|
||
return function() {
|
||
var t2 = this, a2 = arguments;
|
||
return new Promise((function(r2, n2) {
|
||
var o2 = e2.apply(t2, a2);
|
||
function i2(e3) {
|
||
J(o2, r2, n2, i2, l2, "next", e3);
|
||
}
|
||
function l2(e3) {
|
||
J(o2, r2, n2, i2, l2, "throw", e3);
|
||
}
|
||
i2(void 0);
|
||
}));
|
||
};
|
||
}
|
||
var W = { data: function() {
|
||
return { chargeItemList: [], listData: [], listLoading: false, total: 0, query: { chargesId: "", chargeStatus: "", pageNumber: 1, pageSize: 10 }, title: "创建临时收费", partyVisible: false, isEdit: 0, infoList: { projectName: "", projectUuid: "", chargesId: "", isrefund: 1 }, rules: { chargesId: [{ required: true, message: "请选择收费项", trigger: "change" }] }, categoryArr: [], charge2TypeList: [{ value: 1, label: "是" }, { value: 2, label: "否" }], chargeStatusList: [{ value: 1, label: "未启用" }, { value: 2, label: "已启用" }, { value: 3, label: "已禁用" }], btnloading: false, priceTypeCodeList: R["Tb"], qrCodeDalogVisible: false, downloadItem: null, areaOptions: [], chackbuilding: [], chackUnitList: [], houseList: [], checkInforVisible: false, tmpChargeList: [], checkInfor: { fsChargesId: "", deposit: "", projectUuid: "", projectName: "", precinctId: "", buildingId: "", unitId: "", fsHouseId: "", remark: "", operatorId: "", operatorName: "", operatorUuid: "", debtorBy: "", debtorMobile: "", debtorByInfo: "" }, memberList: [], checkInforRules: { fsChargesId: [{ required: true, message: "请选择收费项", trigger: "change" }], deposit: [{ required: true, message: "请输入应收金额", trigger: "blur" }], precinctId: [{ required: true, message: "请选择管理区", trigger: "change" }], buildingId: [{ required: true, message: "请选择楼栋", trigger: "change" }], unitId: [{ required: true, message: "请选择单元", trigger: "change" }], fsHouseId: [{ required: true, message: "请选择房屋", trigger: "change" }] }, checkInforbtnLoading: false };
|
||
}, created: function() {
|
||
this.query.projectUuid = this.$store.state.community_uuid, this.infoList.projectName = this.$store.state.community_name, this.infoList.projectUuid = this.$store.state.community_uuid, this.headClass();
|
||
}, mounted: function() {
|
||
this.getChargeTempList(), this.getChargeItemsList();
|
||
}, methods: { memberChange: function(e2) {
|
||
this.checkInfor.debtorBy = e2.realName, this.checkInfor.debtorMobile = e2.mobile;
|
||
}, ChangeHouse: function() {
|
||
var e2 = this;
|
||
this.memberList = [], this.checkInfor.debtorByInfo = "", this.checkInfor.debtorBy = "", this.checkInfor.debtorMobile = "", this.checkInfor.fsHouseId && Object(A["h"])({ id: this.checkInfor.fsHouseId }).then((function(t2) {
|
||
0 == t2.code && (e2.memberList = t2.data);
|
||
}));
|
||
}, getChargeItemsList: function() {
|
||
var e2 = this, t2 = { pageNumber: -1, pageSize: -1, categoryCode: "103", projectUuid: this.$store.state.community_uuid };
|
||
Object(b["b"])(t2).then((function(t3) {
|
||
e2.chargeItemList = t3.data.records;
|
||
}));
|
||
}, getChargeTempList: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, Object(l["e"])(this.query).then((function(t2) {
|
||
t2.data && t2.data.records && (e2.listData = t2.data.records, e2.total = t2.data.rowsCount);
|
||
})), this.listLoading = false;
|
||
}, createPricing: function() {
|
||
this.title = "创建临时收费", this.isEdit = 0, this.infoList.chargesId = "", this.infoList.isrefund = 1, this.getChargeItemsList(), this.partyVisible = true;
|
||
}, editInfor: function(e2) {
|
||
this.title = "编辑临时收费", this.isEdit = 1, this.getChargeItemsList(), this.infoList.id = e2.id, this.infoList.chargesId = e2.chargesId, this.infoList.isrefund = e2.isrefund, this.partyVisible = true;
|
||
}, openCheckInforDialog: function() {
|
||
var e2 = this;
|
||
this.checkInforVisible = true, this.$nextTick((function() {
|
||
e2.$refs["checkInfor"].resetFields(), e2.checkInfor.projectName = e2.$store.state.community_name, e2.checkInfor.projectUuid = e2.$store.state.community_uuid, e2.getReceviableChargeList(), e2.getBuildList();
|
||
}));
|
||
}, getReceviableChargeList: function() {
|
||
var e2 = this, t2 = { chargeStatus: 2, pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid };
|
||
Object(l["e"])(t2).then((function(t3) {
|
||
t3.data && t3.data.records ? e2.tmpChargeList = t3.data.records : e2.tmpChargeList = [];
|
||
}));
|
||
}, getBuildList: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 };
|
||
Object(U["f"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.areaOptions = t3.data);
|
||
}));
|
||
}, selectCheckChange: function() {
|
||
this.chackbuilding = [], this.chackUnitList = [], this.houseList = [], this.memberList = [], this.checkInfor.debtorByInfo = "", this.checkInfor.debtorBy = "", this.checkInfor.debtorMobile = "", this.checkInfor.buildingId = "", this.checkInfor.unitId = "", this.checkInfor.fsHouseId = "", this.getBuild();
|
||
}, getBuild: function() {
|
||
var e2 = this;
|
||
Object(U["x"])({ precinctId: this.checkInfor.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 }).then((function(t2) {
|
||
e2.chackbuilding = t2.data;
|
||
}));
|
||
}, getUnit: function() {
|
||
var e2 = this;
|
||
Object(U["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.checkInfor.buildingId }).then((function(t2) {
|
||
e2.chackUnitList = t2.data.records;
|
||
}));
|
||
}, checkChangeBuild: function() {
|
||
this.chackUnitList = [], this.houseList = [], this.checkInfor.unitId = "", this.checkInfor.fsHouseId = "", this.memberList = [], this.checkInfor.debtorByInfo = "", this.checkInfor.debtorBy = "", this.checkInfor.debtorMobile = "", this.getUnit();
|
||
}, checkChangeUnit: function() {
|
||
var e2 = this;
|
||
this.houseList = [], this.checkInfor.fsHouseId = "", this.memberList = [], this.checkInfor.debtorByInfo = "", this.checkInfor.debtorBy = "", this.checkInfor.debtorMobile = "";
|
||
var t2 = { projectCode: this.checkInfor.projectUuid, precinctId: this.checkInfor.precinctId, buildingId: this.checkInfor.buildingId, unitId: this.checkInfor.unitId, pageNumber: -1, pageSize: -1 };
|
||
Object(U["M"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.houseList = t3.data.records);
|
||
}));
|
||
}, submitForm: function(e2) {
|
||
var t2 = this;
|
||
this.$refs[e2].validate((function(e3) {
|
||
if (e3) {
|
||
var a2 = { projectName: t2.checkInfor.projectName, projectUuid: t2.checkInfor.projectUuid, totalAmount: Number(t2.checkInfor.deposit), deposit: t2.checkInfor.deposit, fsChargesId: t2.checkInfor.fsChargesId.chargesId, fsChargesName: t2.checkInfor.fsChargesId.chargesName, fsHouseId: t2.checkInfor.fsHouseId, remark: t2.checkInfor.remark, debtorBy: t2.checkInfor.debtorBy ? t2.checkInfor.debtorBy : null, debtorMobile: t2.checkInfor.debtorMobile ? t2.checkInfor.debtorMobile : null };
|
||
console.log("params", a2), t2.checkInforbtnLoading = true, Object(z["h"])(a2).then((function(e4) {
|
||
0 === e4.code ? (t2.$message({ type: "success", message: "临时收费发布应收成功" }), t2.checkInforVisible = false) : t2.$message({ type: "error", message: "临时收费发布应收失败" }), t2.checkInforbtnLoading = false;
|
||
})).catch((function() {
|
||
t2.checkInforbtnLoading = false;
|
||
}));
|
||
}
|
||
}));
|
||
}, resetFormDialog: function(e2) {
|
||
this.$refs[e2].resetFields(), this.checkInforVisible = false;
|
||
}, createQrCode: function(e2) {
|
||
var t2 = this.$store.state.companyId, a2 = "";
|
||
a2 = 258 === t2 || 248 === t2 ? "HDtempCharges" : 606 === t2 || 629 === t2 ? "YHEYtempCharges" : 601 === t2 ? "HSFtempCharges" : "tempCharges";
|
||
var r2 = "".concat(M, "/").concat(a2, "?chargesId=").concat(e2.chargesId, "&projectUuid=").concat(e2.projectUuid, "&projectName=").concat(e2.projectName);
|
||
return console.log("qrcodeUrl", r2), r2;
|
||
}, showQrcode: function(e2) {
|
||
var t2 = this;
|
||
this.downloadItem = e2, this.qrCodeDalogVisible = true, e2.qcImage.includes("projectName") || (e2.qcImage = e2.qcImage + "&projectName=".concat(e2.projectName));
|
||
var a2 = Object(E["a"])(0, "M");
|
||
a2.addData(e2.qcImage), a2.make(), this.$nextTick((function() {
|
||
var e3 = a2.createImgTag(3, 0);
|
||
t2.$refs.qrcode.innerHTML = e3;
|
||
}));
|
||
}, downloadQrcode: (function() {
|
||
var e2 = G(H().m((function e3() {
|
||
var t3, a2, r2;
|
||
return H().w((function(e4) {
|
||
while (1) switch (e4.p = e4.n) {
|
||
case 0:
|
||
if (this.$refs.qrcode) {
|
||
e4.n = 1;
|
||
break;
|
||
}
|
||
return e4.a(2);
|
||
case 1:
|
||
return e4.p = 1, e4.n = 2, V()(this.$refs.qrcode, { useCORS: true, scale: 2, backgroundColor: null });
|
||
case 2:
|
||
t3 = e4.v, a2 = document.createElement("a"), a2.download = "项目_".concat(this.downloadItem.projectName, "-临时收费-").concat(this.downloadItem.chargesName, "-二维码.png"), a2.href = t3.toDataURL("image/png"), a2.style.display = "none", document.body.appendChild(a2), a2.click(), document.body.removeChild(a2), this.qrCodeDalogVisible = false, e4.n = 4;
|
||
break;
|
||
case 3:
|
||
e4.p = 3, r2 = e4.v, console.error("下载二维码失败:", r2), this.$message.error("下载失败,请自行复制图片保存到本地。");
|
||
case 4:
|
||
return e4.a(2);
|
||
}
|
||
}), e3, this, [[1, 3]]);
|
||
})));
|
||
function t2() {
|
||
return e2.apply(this, arguments);
|
||
}
|
||
return t2;
|
||
})(), onSearch: function() {
|
||
this.query.pageNumber = 1, this.getChargeTempList();
|
||
}, resetForm: function() {
|
||
this.query.pageNumber = 1, this.query.chargesId = "", this.query.chargeStatus = "", this.getChargeTempList();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getChargeTempList();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getChargeTempList();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
}, closeVisible: function() {
|
||
this.partyVisible = false, this.$refs["infoList"].resetFields();
|
||
}, getItemType: function(e2, t2) {
|
||
if (null != e2 && "" != e2 && void 0 != e2) {
|
||
var a2 = this[t2].filter((function(t3) {
|
||
return t3.value == e2;
|
||
}));
|
||
return a2.length > 0 ? a2[0].label : "-";
|
||
}
|
||
return "-";
|
||
}, resetDialogForm: function(e2) {
|
||
this.partyVisible = false, this.$refs[e2].resetFields();
|
||
}, submitDialogForm: function(e2) {
|
||
var t2 = this, a2 = this;
|
||
a2.$refs[e2].validate((function(r2) {
|
||
if (!r2) return console.log("error submit!!"), false;
|
||
var n2 = Object.assign(t2.infoList, { operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName, qcImage: t2.createQrCode(t2.infoList) });
|
||
console.log("params", n2), 0 === t2.isEdit ? Object(l["g"])(n2).then((function(t3) {
|
||
0 === t3.code ? (a2.$message({ type: "success", message: "创建临时收费成功" }), a2.resetDialogForm(e2), a2.getChargeTempList()) : a2.$message({ type: "error", message: "创建临时收费失败" });
|
||
})) : Object(l["z"])(n2).then((function(r3) {
|
||
0 === r3.code ? (a2.$message({ type: "success", message: "更新临时收费成功" }), a2.resetDialogForm(e2), a2.getChargeTempList(), delete t2.infoList.id) : a2.$message({ type: "error", message: "更新临时收费失败" });
|
||
}));
|
||
}));
|
||
}, updataQrCode: function(e2) {
|
||
var t2 = this, a2 = { id: e2.id, qcImage: this.createQrCode(e2), operatorUuid: this.$store.state.user.userInfo.memberUuid, operatorName: this.$store.state.user.userInfo.memberName };
|
||
Object(l["z"])(a2).then((function(e3) {
|
||
0 === e3.code ? (t2.$message({ type: "success", message: "生成临时收费二维码成功" }), t2.getChargeTempList()) : t2.$message({ type: "error", message: "生成临时收费二维码失败" });
|
||
}));
|
||
}, updataStatus: function(e2) {
|
||
var t2 = this, a2 = this, r2 = 1 === e2.chargeStatus ? 2 : 2 === e2.chargeStatus ? 3 : 2;
|
||
a2.$confirm("确定修改该临时收费状态吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "info", center: true }).then((function() {
|
||
var n2 = { id: e2.id, chargeStatus: r2, operatorUuid: t2.$store.state.user.userInfo.memberUuid, operatorName: t2.$store.state.user.userInfo.memberName };
|
||
Object(l["z"])(n2).then((function(e3) {
|
||
0 === e3.code ? (a2.$message({ type: "success", message: "修改成功" }), a2.getChargeTempList()) : a2.$message({ type: "error", message: "修改失败" });
|
||
}));
|
||
})).catch((function() {
|
||
}));
|
||
}, chargeItemsChange: function(e2) {
|
||
if (null != e2 && "" != e2 && void 0 != e2) {
|
||
var t2 = this.chargeItemList.filter((function(t3) {
|
||
return t3.fsChargesId == e2;
|
||
}));
|
||
t2.length > 0 && (this.infoList.chargesName = t2[0].name);
|
||
}
|
||
} } }, Y = W, K = (a("ef58"), Object(d["a"])(Y, q, P, false, null, "47a196b0", null)), X = K.exports, Z = function() {
|
||
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
||
return a2("waitTab");
|
||
}, ee = [], te = a("69b7"), ae = { components: { waitTab: te["a"] }, data: function() {
|
||
return {};
|
||
}, methods: {} }, re = ae, ne = Object(d["a"])(re, Z, ee, false, null, null, null), oe = ne.exports, ie = a("52c1");
|
||
function le(e2) {
|
||
return le = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
|
||
return typeof e3;
|
||
} : function(e3) {
|
||
return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
|
||
}, le(e2);
|
||
}
|
||
function se(e2, t2) {
|
||
var a2 = Object.keys(e2);
|
||
if (Object.getOwnPropertySymbols) {
|
||
var r2 = Object.getOwnPropertySymbols(e2);
|
||
t2 && (r2 = r2.filter((function(t3) {
|
||
return Object.getOwnPropertyDescriptor(e2, t3).enumerable;
|
||
}))), a2.push.apply(a2, r2);
|
||
}
|
||
return a2;
|
||
}
|
||
function ce(e2) {
|
||
for (var t2 = 1; t2 < arguments.length; t2++) {
|
||
var a2 = null != arguments[t2] ? arguments[t2] : {};
|
||
t2 % 2 ? se(Object(a2), true).forEach((function(t3) {
|
||
ue(e2, t3, a2[t3]);
|
||
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(a2)) : se(Object(a2)).forEach((function(t3) {
|
||
Object.defineProperty(e2, t3, Object.getOwnPropertyDescriptor(a2, t3));
|
||
}));
|
||
}
|
||
return e2;
|
||
}
|
||
function ue(e2, t2, a2) {
|
||
return (t2 = de(t2)) in e2 ? Object.defineProperty(e2, t2, { value: a2, enumerable: true, configurable: true, writable: true }) : e2[t2] = a2, e2;
|
||
}
|
||
function de(e2) {
|
||
var t2 = pe(e2, "string");
|
||
return "symbol" == le(t2) ? t2 : t2 + "";
|
||
}
|
||
function pe(e2, t2) {
|
||
if ("object" != le(e2) || !e2) return e2;
|
||
var a2 = e2[Symbol.toPrimitive];
|
||
if (void 0 !== a2) {
|
||
var r2 = a2.call(e2, t2 || "default");
|
||
if ("object" != le(r2)) return r2;
|
||
throw new TypeError("@@toPrimitive must return a primitive value.");
|
||
}
|
||
return ("string" === t2 ? String : Number)(e2);
|
||
}
|
||
var fe = { name: "houseManage", components: { meterReadCharge: f, periodicCharge: j, shareCharge: $, temporaryCharge: X, contractCharge: oe }, computed: ce({}, Object(ie["c"])({ activeName: function(e2) {
|
||
return e2.basicInfo.metering.activeName;
|
||
}, activeSubName: function(e2) {
|
||
return e2.basicInfo.meteringSub.activeName;
|
||
} })), methods: { handleClick: function(e2) {
|
||
var t2 = e2.paneName;
|
||
this.$store.commit("UPDATE_ACTIVE_NAME_METERING", t2);
|
||
}, handleSubClick: function(e2) {
|
||
var t2 = e2.paneName;
|
||
this.$store.commit("UPDATE_ACTIVE_NAME_METERING_SUB", t2);
|
||
} } }, me = fe, he = Object(d["a"])(me, r, n, false, null, null, null);
|
||
t["default"] = he.exports;
|
||
}, "066f": function(e, t, a) {
|
||
"use strict";
|
||
a("31e6");
|
||
}, "31e6": function(e, t, a) {
|
||
}, "4a27": function(e, t, a) {
|
||
"use strict";
|
||
a("4afa");
|
||
}, "4afa": function(e, t, a) {
|
||
}, "66b4": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "e", (function() {
|
||
return n;
|
||
})), a.d(t, "f", (function() {
|
||
return o;
|
||
})), a.d(t, "d", (function() {
|
||
return i;
|
||
})), a.d(t, "h", (function() {
|
||
return l;
|
||
})), a.d(t, "b", (function() {
|
||
return s;
|
||
})), a.d(t, "a", (function() {
|
||
return c;
|
||
})), a.d(t, "c", (function() {
|
||
return u;
|
||
})), a.d(t, "i", (function() {
|
||
return d;
|
||
})), a.d(t, "g", (function() {
|
||
return p;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/appproject/CarFile/pageList", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/CarFile/update", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/CarFile/create", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/project/houseMember/findByHouseId", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/CarPlaceRecord/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/CarPlaceRecord/create", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/appproject/CarPlaceRecord/update", method: "post", data: e2 });
|
||
}
|
||
function d(e2, t2) {
|
||
return Object(r["a"])({ url: "/appproject/CarPlaceRecord/importExcel/".concat(t2), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function p(e2, t2) {
|
||
return Object(r["a"])({ url: "/appproject/CarFile/importExcel/".concat(t2), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
}, "6c2c": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "h", (function() {
|
||
return n;
|
||
})), a.d(t, "o", (function() {
|
||
return o;
|
||
})), a.d(t, "s", (function() {
|
||
return i;
|
||
})), a.d(t, "n", (function() {
|
||
return l;
|
||
})), a.d(t, "l", (function() {
|
||
return s;
|
||
})), a.d(t, "i", (function() {
|
||
return c;
|
||
})), a.d(t, "u", (function() {
|
||
return u;
|
||
})), a.d(t, "d", (function() {
|
||
return d;
|
||
})), a.d(t, "y", (function() {
|
||
return p;
|
||
})), a.d(t, "x", (function() {
|
||
return f;
|
||
})), a.d(t, "f", (function() {
|
||
return m;
|
||
})), a.d(t, "c", (function() {
|
||
return h;
|
||
})), a.d(t, "k", (function() {
|
||
return b;
|
||
})), a.d(t, "m", (function() {
|
||
return g;
|
||
})), a.d(t, "j", (function() {
|
||
return v;
|
||
})), a.d(t, "t", (function() {
|
||
return y;
|
||
})), a.d(t, "b", (function() {
|
||
return j;
|
||
})), a.d(t, "v", (function() {
|
||
return _;
|
||
})), a.d(t, "w", (function() {
|
||
return C;
|
||
})), a.d(t, "g", (function() {
|
||
return w;
|
||
})), a.d(t, "e", (function() {
|
||
return I;
|
||
})), a.d(t, "z", (function() {
|
||
return k;
|
||
})), a.d(t, "q", (function() {
|
||
return L;
|
||
})), a.d(t, "B", (function() {
|
||
return O;
|
||
})), a.d(t, "A", (function() {
|
||
return S;
|
||
})), a.d(t, "r", (function() {
|
||
return x;
|
||
})), a.d(t, "a", (function() {
|
||
return N;
|
||
})), a.d(t, "p", (function() {
|
||
return T;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeter/create", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeter/pageList", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeter/reload", method: "post", data: e2 });
|
||
}
|
||
function l(e2, t2) {
|
||
return Object(r["a"])({ url: "appproject/ChargeMeter/importExcel", method: "post", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeterDetails/export", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeter/delete", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeMeter/findById", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeterDetails/pageList", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeMeterDetails/update", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeMeter/update", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycle/create", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycle/pageList", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycleDetails/export", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function g(e2, t2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycle/importExcel", method: "post", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycle/delete", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeCycle/findById", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycleDetails/pageList", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycleDetails/update", method: "post", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeCycle/update", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeTemp/create", method: "post", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeTemp/pageList", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeTemp/update", method: "post", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceBaseInfo/publicDeviceMeterPageList", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/updateMemterParam", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/update", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeter/regenerate", method: "post", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeMeter/asyncExport", method: "post", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/appproject/MeteringConfig/pageList", method: "post", data: e2 });
|
||
}
|
||
}, "8f53": function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "y", (function() {
|
||
return r;
|
||
})), a.d(t, "t", (function() {
|
||
return n;
|
||
})), a.d(t, "v", (function() {
|
||
return o;
|
||
})), a.d(t, "B", (function() {
|
||
return i;
|
||
})), a.d(t, "n", (function() {
|
||
return l;
|
||
})), a.d(t, "a", (function() {
|
||
return s;
|
||
})), a.d(t, "K", (function() {
|
||
return c;
|
||
})), a.d(t, "s", (function() {
|
||
return u;
|
||
})), a.d(t, "u", (function() {
|
||
return d;
|
||
})), a.d(t, "x", (function() {
|
||
return p;
|
||
})), a.d(t, "G", (function() {
|
||
return f;
|
||
})), a.d(t, "I", (function() {
|
||
return m;
|
||
})), a.d(t, "M", (function() {
|
||
return h;
|
||
})), a.d(t, "N", (function() {
|
||
return b;
|
||
})), a.d(t, "z", (function() {
|
||
return g;
|
||
})), a.d(t, "i", (function() {
|
||
return v;
|
||
})), a.d(t, "d", (function() {
|
||
return y;
|
||
})), a.d(t, "p", (function() {
|
||
return j;
|
||
})), a.d(t, "H", (function() {
|
||
return _;
|
||
})), a.d(t, "e", (function() {
|
||
return C;
|
||
})), a.d(t, "h", (function() {
|
||
return w;
|
||
})), a.d(t, "m", (function() {
|
||
return I;
|
||
})), a.d(t, "q", (function() {
|
||
return k;
|
||
})), a.d(t, "A", (function() {
|
||
return L;
|
||
})), a.d(t, "E", (function() {
|
||
return O;
|
||
})), a.d(t, "F", (function() {
|
||
return S;
|
||
})), a.d(t, "r", (function() {
|
||
return x;
|
||
})), a.d(t, "D", (function() {
|
||
return N;
|
||
})), a.d(t, "o", (function() {
|
||
return T;
|
||
})), a.d(t, "L", (function() {
|
||
return F;
|
||
})), a.d(t, "j", (function() {
|
||
return D;
|
||
})), a.d(t, "f", (function() {
|
||
return $;
|
||
})), a.d(t, "w", (function() {
|
||
return q;
|
||
})), a.d(t, "g", (function() {
|
||
return P;
|
||
})), a.d(t, "k", (function() {
|
||
return R;
|
||
})), a.d(t, "J", (function() {
|
||
return M;
|
||
})), a.d(t, "C", (function() {
|
||
return E;
|
||
})), a.d(t, "l", (function() {
|
||
return B;
|
||
})), a.d(t, "b", (function() {
|
||
return V;
|
||
})), a.d(t, "c", (function() {
|
||
return U;
|
||
}));
|
||
var r = [{ value: 1, label: "低" }, { value: 2, label: "一般" }, { value: 3, label: "紧急" }], n = [{ value: 1, label: "待受理" }, { value: 2, label: "已派单" }, { value: 3, label: "已接单" }, { value: 4, label: "处理中" }, { value: 5, label: "已完成" }, { value: 6, label: "已回访" }, { value: 7, label: "已关闭" }, { value: 8, label: "已延后" }, { value: 9, label: "待评价" }, { value: 10, label: "已评价" }, { value: 11, label: "未受理" }], o = [{ value: 11, label: "公区整改" }, { value: 12, label: "住户服务" }, { value: 13, label: "通用工单" }, { value: 15, label: "工单审核" }], i = [{ value: 1, label: "邻里关系" }, { value: 2, label: "清洁卫生" }, { value: 3, label: "投诉报修" }, { value: 4, label: "房屋认证" }, { value: 5, label: "月卡申请" }, { value: 6, label: "门禁申请" }, { value: 7, label: "个人维修" }, { value: 8, label: "工区维修" }, { value: 9, label: "订单服务" }, { value: 10, label: "管家服务" }], l = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], s = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], c = [{ value: 1, label: "正常" }, { value: 2, label: "预警" }, { value: 3, label: "超时" }], u = [{ value: 1, label: "服务提交" }, { value: 2, label: "服务受理" }, { value: 3, label: "服务处理" }, { value: 4, label: "服务评价" }, { value: 5, label: "服务完成" }, { value: 6, label: "服务拒绝" }], d = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }], p = [{ value: 1, label: "巡检" }, { value: 2, label: "维保" }, { value: 3, label: "抄表" }, { value: 4, label: "保洁" }, { value: 5, label: "绿化" }, { value: 6, label: "拜访" }], f = [{ value: 1, label: "未执行" }, { value: 2, label: "执行中" }, { value: 3, label: "已完成" }, { value: 4, label: "超时" }, { value: 5, label: "领取超时" }, { value: 9, label: "超时完成" }, { value: 12, label: "超时预警" }], m = [{ label: "巡检类", value: 1 }, { label: "维保类", value: 2 }, { label: "抄表类", value: 3 }, { label: "清洁类", value: 4 }, { label: "绿化类", value: 5 }, { label: "上门拜访类", value: 6 }, { label: "维修类", value: 7 }, { label: "服务礼仪类", value: 8 }, { label: "内部管控类", value: 9 }, { label: "社区温度类", value: 10 }], h = [{ label: "人事管控类", value: 1 }, { label: "财务管控类", value: 2 }, { label: "事务管控类", value: 3 }, { label: "物料管控类", value: 4 }], b = [{ label: "人", value: 1 }, { label: "财", value: 2 }, { label: "事", value: 3 }, { label: "物", value: 4 }], g = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], v = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], y = [{ label: "全员收费", value: 1 }, { label: "全员突击", value: 2 }, { label: "全员巡查", value: 3 }, { label: "全员保洁", value: 4 }], j = [{ label: "X(新增默认)", value: "X" }, { label: "A", value: "A" }, { label: "B", value: "B" }, { label: "C", value: "C" }, { label: "D", value: "D" }, { label: "E", value: "E" }], _ = [{ label: "自管", value: 1 }, { label: "外包", value: 2 }], C = [{ label: "内勤", value: 1 }, { label: "外勤", value: 2 }], w = [{ label: "固定作业", value: 1 }, { label: "移动作业", value: 2 }], I = [{ label: "发现问题", value: 1 }, { label: "处理问题", value: 2 }], k = [{ label: "人", value: 1 }, { label: "物", value: 2 }], L = [{ label: "客户服务", value: 1 }, { label: "安全服务", value: 2 }, { label: "设施设备管理", value: 3 }, { label: "环境管理", value: 4 }, { label: "基础资料", value: 5 }], O = [{ label: "设备标准", value: 1 }, { label: "空间服务标准", value: 2 }, { label: "物品标准", value: 3 }, { label: "绿化养护标准", value: 5 }, { label: "内部标准", value: 6 }, { label: "体检标准", value: 7 }, { label: "项目标准", value: 8 }], S = [{ label: "1A", value: 1 }, { label: "2A", value: 2 }, { label: "3A", value: 3 }, { label: "4A", value: 4 }, { label: "5A", value: 5 }], x = [{ value: 1, label: "1星级" }, { value: 2, label: "2星级" }, { value: 3, label: "3星级" }, { value: 4, label: "4星级" }, { value: 5, label: "5星级" }], N = [{ label: "业务收入", value: 1 }, { label: "经营收入", value: 2 }, { label: "资产处置收益", value: 3 }, { label: "其他收益", value: 4 }, { label: "营业外收入", value: 5 }, { label: "投资收益", value: 6 }, { label: "筹资活动", value: 7 }, { label: "清洁卫生费", value: 8 }, { label: "安全保卫费", value: 9 }, { label: "绿化养护费", value: 10 }, { label: "工程维护费", value: 11 }, { label: "能源费", value: 12 }, { label: "职工薪酬", value: 13 }, { label: "行政办公费", value: 14 }, { label: "其他物业管理成本", value: 15 }, { label: "停车场经营成本", value: 16 }, { label: "物业经营成本", value: 17 }, { label: "其他业务成本", value: 18 }, { label: "税金及附加", value: 19 }, { label: "财务费用", value: 20 }, { label: "资产减值损失", value: 21 }, { label: "营业外支出", value: 22 }, { label: "所得税费用", value: 23 }, { label: "投资费用", value: 24 }, { label: "筹资费用", value: 25 }, { label: "资本支出", value: 26 }, { label: "代收代付项", value: 27 }], T = [{ label: "水表", value: 1 }, { label: "电表", value: 2 }, { label: "暖气表", value: 3 }, { label: "燃气表", value: 4 }, { label: "热水表", value: 5 }], F = [{ label: "普通", value: 1 }, { label: "一般", value: 2 }, { label: "重要", value: 3 }], D = [{ label: "房屋认证", value: 1 }, { label: "门禁申请", value: 2 }, { label: "车辆月卡", value: 3 }, { label: "现场品质", value: 4 }, { label: "邻里关系", value: 6 }, { label: "投诉", value: 7 }, { label: "到家服务", value: 8 }, { label: "公区维修", value: 9 }, { label: "满意度调查", value: 10 }, { label: "业委会会议", value: 11 }, { label: "政务沟通", value: 12 }, { label: "客户拜访", value: 13 }, { label: "门禁权限申请", value: 14 }, { label: "服务态度", value: 15 }], $ = [{ label: "设备整改", value: 2 }, { label: "电梯整改", value: 3 }, { label: "清洁卫生[内控]", value: 4 }, { label: "车场整改", value: 5 }, { label: "安防整改", value: 6 }, { label: "绿化整改", value: 7 }, { label: "历史工单-1", value: 12 }, { label: "历史工单-2", value: 13 }, { label: "能源整改", value: 15 }, { label: "审批工单", value: 16 }, { label: "内部整改", value: 17 }, { label: "行政", value: 18 }, { label: "人事", value: 19 }, { label: "财务", value: 20 }, { label: "市场", value: 21 }], q = [{ label: "主动服务", value: 1 }, { label: "设备管理", value: 2 }, { label: "电梯管理", value: 3 }, { label: "清洁卫生", value: 4 }, { label: "车场运营", value: 5 }, { label: "安防管理", value: 6 }, { label: "绿化管理", value: 7 }, { label: "业委会会议", value: 8 }, { label: "政务沟通", value: 9 }, { label: "客户拜访", value: 10 }, { label: "能源计划", value: 11 }, { label: "审批工单", value: 12 }, { label: "内部整改", value: 13 }], P = [{ label: "设备管理标准", value: 1 }, { label: "内部管控标准", value: 2 }, { label: "清洁管理标准", value: 3 }, { label: "安全管理标准", value: 4 }, { label: "绿化养护标准", value: 5 }, { label: "消防管控标准", value: 6 }, { label: "电梯管理标准", value: 7 }, { label: "停车场管理标准", value: 8 }, { label: "能源管理标准", value: 9 }], R = [{ label: "产权人", value: 1 }, { label: "亲属", value: 2 }, { label: "租户", value: 3 }, { label: "好友", value: 4 }, { label: "访客", value: 5 }, { label: "产权人(共有)", value: 6 }], M = [{ label: "感知器", value: 1 }, { label: "控制器", value: 2 }, { label: "动作器", value: 3 }], E = [{ label: "日报", value: 1 }, { label: "周报", value: 2 }, { label: "月报", value: 3 }, { label: "季度", value: 4 }, { label: "半年", value: 5 }, { label: "年度", value: 6 }], B = [{ label: "安全生产", value: 1 }, { label: "效益", value: 2 }, { label: "满意", value: 3 }], V = [{ label: "一般", value: [1, 2, 3] }, { label: "重要", value: [4, 5, 6] }, { label: "非常重要", value: [7, 8, 9] }], U = [{ value: 0, label: "不合格" }, { value: 1, label: "合格" }, { value: 2, label: "AI判定中" }, { value: 3, label: "无需AI验收" }, { value: 4, label: "AI标准缺失" }, { value: 5, label: "智能体未配置" }, { value: 6, label: "无权益请充值" }];
|
||
}, 9025: function(e, t, a) {
|
||
}, 9192: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "z", (function() {
|
||
return n;
|
||
})), a.d(t, "b", (function() {
|
||
return o;
|
||
})), a.d(t, "j", (function() {
|
||
return i;
|
||
})), a.d(t, "l", (function() {
|
||
return l;
|
||
})), a.d(t, "v", (function() {
|
||
return s;
|
||
})), a.d(t, "y", (function() {
|
||
return c;
|
||
})), a.d(t, "A", (function() {
|
||
return u;
|
||
})), a.d(t, "a", (function() {
|
||
return d;
|
||
})), a.d(t, "q", (function() {
|
||
return p;
|
||
})), a.d(t, "o", (function() {
|
||
return f;
|
||
})), a.d(t, "p", (function() {
|
||
return m;
|
||
})), a.d(t, "u", (function() {
|
||
return h;
|
||
})), a.d(t, "s", (function() {
|
||
return b;
|
||
})), a.d(t, "t", (function() {
|
||
return g;
|
||
})), a.d(t, "e", (function() {
|
||
return v;
|
||
})), a.d(t, "B", (function() {
|
||
return y;
|
||
})), a.d(t, "n", (function() {
|
||
return j;
|
||
})), a.d(t, "w", (function() {
|
||
return _;
|
||
})), a.d(t, "k", (function() {
|
||
return C;
|
||
})), a.d(t, "x", (function() {
|
||
return w;
|
||
})), a.d(t, "h", (function() {
|
||
return I;
|
||
})), a.d(t, "g", (function() {
|
||
return k;
|
||
})), a.d(t, "m", (function() {
|
||
return L;
|
||
})), a.d(t, "f", (function() {
|
||
return O;
|
||
})), a.d(t, "r", (function() {
|
||
return S;
|
||
})), a.d(t, "i", (function() {
|
||
return x;
|
||
})), a.d(t, "d", (function() {
|
||
return N;
|
||
})), a.d(t, "c", (function() {
|
||
return T;
|
||
})), a.d(t, "C", (function() {
|
||
return F;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PropertyCompany/pageList", method: "POST", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PropertyCompany/create", method: "POST", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PropertyCompany/update", method: "POST", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PropertyCompany/findCompanyByCode", method: "POST", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PropertyCompany/pageListByCode", method: "POST", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/OrderInfo/list", method: "POST", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/appproject/StaffEvaluate/listStaff", method: "POST", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/WorkOrder/listWork", method: "POST", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/create", method: "POST", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/findSubjectByUuid", method: "POST", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/findSubjectByUuid2", method: "POST", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/update", method: "POST", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/delete", method: "POST", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/resume", method: "POST", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/pageList", method: "POST", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/updateRel", method: "POST", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/findById", method: "POST", data: e2 });
|
||
}
|
||
function _(e2, t2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/importExcel" + t2, method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/appproject/MemberEntryRecord/entryAndQuit", method: "POST", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/appproject/MemberEntryRecord/pageList", method: "POST", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/appproject/MemberEntryRecord/delete", method: "POST", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/pageList/company", method: "POST", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/findParkCharge", method: "POST", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/pageListV2", method: "POST", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/copy", method: "POST", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/deleteFsCharges", method: "POST", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargePriceTemplate/pageList", method: "POST", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargePriceTemplate/download", method: "POST", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/appproject/VideoImageCallback/pageList", method: "POST", data: e2 });
|
||
}
|
||
}, "92d6": function(e, t, a) {
|
||
}, "9af8": function(e, t, a) {
|
||
e.exports = a.p + "static/img/waiting.46d85db3.png";
|
||
}, a8a0: function(e, t, a) {
|
||
}, be2e: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "lb", (function() {
|
||
return n;
|
||
})), a.d(t, "ib", (function() {
|
||
return o;
|
||
})), a.d(t, "x", (function() {
|
||
return i;
|
||
})), a.d(t, "zb", (function() {
|
||
return l;
|
||
})), a.d(t, "F", (function() {
|
||
return s;
|
||
})), a.d(t, "C", (function() {
|
||
return c;
|
||
})), a.d(t, "eb", (function() {
|
||
return u;
|
||
})), a.d(t, "vb", (function() {
|
||
return d;
|
||
})), a.d(t, "v", (function() {
|
||
return p;
|
||
})), a.d(t, "S", (function() {
|
||
return f;
|
||
})), a.d(t, "s", (function() {
|
||
return m;
|
||
})), a.d(t, "y", (function() {
|
||
return h;
|
||
})), a.d(t, "B", (function() {
|
||
return b;
|
||
})), a.d(t, "E", (function() {
|
||
return g;
|
||
})), a.d(t, "db", (function() {
|
||
return v;
|
||
})), a.d(t, "t", (function() {
|
||
return y;
|
||
})), a.d(t, "xb", (function() {
|
||
return j;
|
||
})), a.d(t, "z", (function() {
|
||
return _;
|
||
})), a.d(t, "u", (function() {
|
||
return C;
|
||
})), a.d(t, "yb", (function() {
|
||
return w;
|
||
})), a.d(t, "hb", (function() {
|
||
return I;
|
||
})), a.d(t, "jb", (function() {
|
||
return k;
|
||
})), a.d(t, "fb", (function() {
|
||
return L;
|
||
})), a.d(t, "rb", (function() {
|
||
return O;
|
||
})), a.d(t, "ub", (function() {
|
||
return S;
|
||
})), a.d(t, "tb", (function() {
|
||
return x;
|
||
})), a.d(t, "sb", (function() {
|
||
return N;
|
||
})), a.d(t, "pb", (function() {
|
||
return T;
|
||
})), a.d(t, "qb", (function() {
|
||
return F;
|
||
})), a.d(t, "w", (function() {
|
||
return D;
|
||
})), a.d(t, "A", (function() {
|
||
return $;
|
||
})), a.d(t, "cb", (function() {
|
||
return q;
|
||
})), a.d(t, "gb", (function() {
|
||
return P;
|
||
})), a.d(t, "nb", (function() {
|
||
return R;
|
||
})), a.d(t, "b", (function() {
|
||
return M;
|
||
})), a.d(t, "D", (function() {
|
||
return E;
|
||
})), a.d(t, "bb", (function() {
|
||
return B;
|
||
})), a.d(t, "wb", (function() {
|
||
return V;
|
||
})), a.d(t, "mb", (function() {
|
||
return U;
|
||
})), a.d(t, "kb", (function() {
|
||
return z;
|
||
})), a.d(t, "G", (function() {
|
||
return A;
|
||
})), a.d(t, "Z", (function() {
|
||
return H;
|
||
})), a.d(t, "K", (function() {
|
||
return Q;
|
||
})), a.d(t, "a", (function() {
|
||
return J;
|
||
})), a.d(t, "ab", (function() {
|
||
return G;
|
||
})), a.d(t, "I", (function() {
|
||
return W;
|
||
})), a.d(t, "H", (function() {
|
||
return Y;
|
||
})), a.d(t, "J", (function() {
|
||
return K;
|
||
})), a.d(t, "j", (function() {
|
||
return X;
|
||
})), a.d(t, "n", (function() {
|
||
return Z;
|
||
})), a.d(t, "i", (function() {
|
||
return ee;
|
||
})), a.d(t, "h", (function() {
|
||
return te;
|
||
})), a.d(t, "k", (function() {
|
||
return ae;
|
||
})), a.d(t, "l", (function() {
|
||
return re;
|
||
})), a.d(t, "m", (function() {
|
||
return ne;
|
||
})), a.d(t, "U", (function() {
|
||
return oe;
|
||
})), a.d(t, "q", (function() {
|
||
return ie;
|
||
})), a.d(t, "p", (function() {
|
||
return le;
|
||
})), a.d(t, "L", (function() {
|
||
return se;
|
||
})), a.d(t, "M", (function() {
|
||
return ce;
|
||
})), a.d(t, "N", (function() {
|
||
return ue;
|
||
})), a.d(t, "V", (function() {
|
||
return de;
|
||
})), a.d(t, "X", (function() {
|
||
return pe;
|
||
})), a.d(t, "W", (function() {
|
||
return fe;
|
||
})), a.d(t, "O", (function() {
|
||
return me;
|
||
})), a.d(t, "P", (function() {
|
||
return he;
|
||
})), a.d(t, "Q", (function() {
|
||
return be;
|
||
})), a.d(t, "R", (function() {
|
||
return ge;
|
||
})), a.d(t, "Y", (function() {
|
||
return ve;
|
||
})), a.d(t, "T", (function() {
|
||
return ye;
|
||
})), a.d(t, "r", (function() {
|
||
return je;
|
||
})), a.d(t, "o", (function() {
|
||
return _e;
|
||
})), a.d(t, "d", (function() {
|
||
return Ce;
|
||
})), a.d(t, "g", (function() {
|
||
return we;
|
||
})), a.d(t, "c", (function() {
|
||
return Ie;
|
||
})), a.d(t, "e", (function() {
|
||
return ke;
|
||
})), a.d(t, "f", (function() {
|
||
return Le;
|
||
})), a.d(t, "ob", (function() {
|
||
return Oe;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/appproject/SpaceLocation/page", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ProjectInitSpaceRel/querySelectedSpace", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/SpaceLocation/create", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/appproject/SpaceLocation/update", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Device/getDeviceTypeTreeParam", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/pageList", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/queryDeviceMaintainPlan", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/update", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/create", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/getDeviceFilePage", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/createFile", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/deleteFileBatch", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/delete", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/pageList", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/queryBuiltinParamList", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/create", method: "post", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/update", method: "post", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/delete", method: "post", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/changeState", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/update", method: "post", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/queryReportDataPage", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/appproject/VirescenceProject/getVirescenceType", method: "post", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ProjectInit/queryElectricTypeByProject", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/create", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/update", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/pageList", method: "post", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/delete", method: "post", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/queryStandImageAssem", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/standImagePage", method: "post", data: e2 });
|
||
}
|
||
function D(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/createExampleImage", method: "post", data: e2 });
|
||
}
|
||
function $(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/deleteBatch", method: "post", data: e2 });
|
||
}
|
||
function q(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PlanInspectionsStandard/createExampleImageUrl", method: "post", data: e2 });
|
||
}
|
||
function P(e2) {
|
||
return Object(r["a"])({ url: "/appproject/SpaceLocation/queryLocationImage", method: "post", data: e2 });
|
||
}
|
||
function R(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/standCloudDownSyncV2", method: "post", data: e2 });
|
||
}
|
||
function M(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycle/getList", method: "post", data: e2 });
|
||
}
|
||
function E(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/deviceParamCloudDownSync", method: "post", data: e2 });
|
||
}
|
||
function B(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/modifyFirstData", method: "post", data: e2 });
|
||
}
|
||
function V(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeCycle/updateDeviceChargeInfo", method: "post", data: e2 });
|
||
}
|
||
function U(e2) {
|
||
return Object(r["a"])({ url: "appproject/SpaceLocation/listByTempId", method: "post", data: e2 });
|
||
}
|
||
function z(e2) {
|
||
return Object(r["a"])({ url: "appproject/DeviceBaseInfo/relatedPageList", method: "post", data: e2 });
|
||
}
|
||
function A(e2) {
|
||
return Object(r["a"])({ url: "space/DeviceParam/downloadExcel", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function H(e2, t2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/importExcel/".concat(t2), method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
|
||
}
|
||
function Q(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AlarmRecord/earlyWarning", method: "post", data: e2 });
|
||
}
|
||
function J(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AlarmRecord/total", method: "post", data: e2 });
|
||
}
|
||
function G(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceBaseInfo/listByParam", method: "post", data: e2 });
|
||
}
|
||
function W(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceResponsibility/pageList", method: "post", data: e2 });
|
||
}
|
||
function Y(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceResponsibility/create", method: "post", data: e2 });
|
||
}
|
||
function K(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeviceResponsibility/update", method: "post", data: e2 });
|
||
}
|
||
function X(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/pageList", method: "post", data: e2 });
|
||
}
|
||
function Z(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/update", method: "post", data: e2 });
|
||
}
|
||
function ee(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/importExcel", method: "post", isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, responseType: "blob", data: e2 });
|
||
}
|
||
function te(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/findById", method: "post", data: e2 });
|
||
}
|
||
function ae(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/pageListTotal", method: "post", data: e2 });
|
||
}
|
||
function re(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/pageRecycled", method: "post", data: e2 });
|
||
}
|
||
function ne(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeter/pageRecycledTotal", method: "post", data: e2 });
|
||
}
|
||
function oe(e2) {
|
||
return Object(r["a"])({ url: "/space/DeviceParam/getPrepaymentMeterList", method: "post", data: e2 });
|
||
}
|
||
function ie(e2) {
|
||
return Object(r["a"])({ url: "/appproject/RecyclableElectricMeter/pageList", method: "post", data: e2 });
|
||
}
|
||
function le(e2) {
|
||
return Object(r["a"])({ url: "/appproject/RecyclableElectricMeter/importExcel", method: "post", isReturnResponse: true, headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, responseType: "blob", data: e2 });
|
||
}
|
||
function se(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyBoard/getCommonElectricQty", method: "post", data: e2 });
|
||
}
|
||
function ce(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyBoard/getCommonElectricQty2", method: "post", data: e2 });
|
||
}
|
||
function ue(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyBoard/getCommonElectricQtyMom", method: "post", data: e2 });
|
||
}
|
||
function de(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyBoard/getRecyclableAmountYoy", method: "post", data: e2 });
|
||
}
|
||
function pe(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyBoard/getRecyclableElectricQtyYoy", method: "post", data: e2 });
|
||
}
|
||
function fe(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyBoard/getRecyclableElectricQtyMom", method: "post", data: e2 });
|
||
}
|
||
function me(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyDeviceStatistic/getEnergyDevicePowerMom", method: "post", data: e2 });
|
||
}
|
||
function he(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyDeviceStatistic/getEnergyDevicePowerYoy", method: "post", data: e2 });
|
||
}
|
||
function be(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyDeviceStatistic/getEnergyDeviceQtyMom", method: "post", data: e2 });
|
||
}
|
||
function ge(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyDeviceStatistic/getEnergyDeviceQtyYoy", method: "post", data: e2 });
|
||
}
|
||
function ve(e2) {
|
||
return Object(r["a"])({ url: "/appproject/EnergyDeviceStatistic/getShopsEnergyDeviceLevel", method: "post", data: e2 });
|
||
}
|
||
function ye(e2) {
|
||
return Object(r["a"])({ url: "/appproject/MultipathDevice/getMultipathDeviceChart", method: "post", data: e2 });
|
||
}
|
||
function je(e2) {
|
||
return Object(r["a"])({ url: "/project/RecyclableElectricMeter/update", method: "post", data: e2 });
|
||
}
|
||
function _e(e2) {
|
||
return Object(r["a"])({ url: "/appproject/RecyclableElectricMeter/delete", method: "post", data: e2 });
|
||
}
|
||
function Ce(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeterFile/create", method: "post", data: e2 });
|
||
}
|
||
function we(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeterFile/getChargeDateImg", method: "post", data: e2 });
|
||
}
|
||
function Ie(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeterCheck/checkBill", method: "post", data: e2 });
|
||
}
|
||
function ke(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeterCheck/existCheckData", method: "post", data: e2 });
|
||
}
|
||
function Le(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ElectricMeterCheck/pageList", method: "post", data: e2 });
|
||
}
|
||
function Oe(e2) {
|
||
return Object(r["a"])({ url: "/appproject/AloneStandardProject/standCloudDownSyncV3", method: "post", data: e2 });
|
||
}
|
||
}, ce63: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "c", (function() {
|
||
return n;
|
||
})), a.d(t, "g", (function() {
|
||
return o;
|
||
})), a.d(t, "i", (function() {
|
||
return i;
|
||
})), a.d(t, "o", (function() {
|
||
return l;
|
||
})), a.d(t, "b", (function() {
|
||
return s;
|
||
})), a.d(t, "k", (function() {
|
||
return c;
|
||
})), a.d(t, "h", (function() {
|
||
return u;
|
||
})), a.d(t, "j", (function() {
|
||
return d;
|
||
})), a.d(t, "p", (function() {
|
||
return p;
|
||
})), a.d(t, "d", (function() {
|
||
return f;
|
||
})), a.d(t, "e", (function() {
|
||
return m;
|
||
})), a.d(t, "f", (function() {
|
||
return h;
|
||
})), a.d(t, "m", (function() {
|
||
return b;
|
||
})), a.d(t, "l", (function() {
|
||
return g;
|
||
})), a.d(t, "n", (function() {
|
||
return v;
|
||
})), a.d(t, "a", (function() {
|
||
return y;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargePrice/treeList", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargePrice/create", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargePrice/delete", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargePrice/update", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargePrice/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeFormula/getListByCategoryCode", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/create", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/delete", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/update", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/pageList", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/findById", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/useBatch", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/getListByProjectUuid", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/houseChargeTemplatePageList", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/editHouseTemplate", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargesTemplate/batchDelete", method: "post", data: e2 });
|
||
}
|
||
}, d908: function(e, t, a) {
|
||
"use strict";
|
||
a("92d6");
|
||
}, e48c: function(e, t, a) {
|
||
"use strict";
|
||
a("9025");
|
||
}, e654: function(e, t, a) {
|
||
"use strict";
|
||
a.d(t, "D", (function() {
|
||
return n;
|
||
})), a.d(t, "B", (function() {
|
||
return o;
|
||
})), a.d(t, "C", (function() {
|
||
return i;
|
||
})), a.d(t, "k", (function() {
|
||
return l;
|
||
})), a.d(t, "z", (function() {
|
||
return s;
|
||
})), a.d(t, "A", (function() {
|
||
return c;
|
||
})), a.d(t, "b", (function() {
|
||
return u;
|
||
})), a.d(t, "s", (function() {
|
||
return d;
|
||
})), a.d(t, "t", (function() {
|
||
return p;
|
||
})), a.d(t, "u", (function() {
|
||
return f;
|
||
})), a.d(t, "q", (function() {
|
||
return m;
|
||
})), a.d(t, "v", (function() {
|
||
return h;
|
||
})), a.d(t, "e", (function() {
|
||
return b;
|
||
})), a.d(t, "f", (function() {
|
||
return g;
|
||
})), a.d(t, "c", (function() {
|
||
return v;
|
||
})), a.d(t, "n", (function() {
|
||
return y;
|
||
})), a.d(t, "p", (function() {
|
||
return j;
|
||
})), a.d(t, "l", (function() {
|
||
return _;
|
||
})), a.d(t, "L", (function() {
|
||
return C;
|
||
})), a.d(t, "g", (function() {
|
||
return w;
|
||
})), a.d(t, "m", (function() {
|
||
return I;
|
||
})), a.d(t, "J", (function() {
|
||
return k;
|
||
})), a.d(t, "a", (function() {
|
||
return L;
|
||
})), a.d(t, "h", (function() {
|
||
return O;
|
||
})), a.d(t, "x", (function() {
|
||
return S;
|
||
})), a.d(t, "E", (function() {
|
||
return x;
|
||
})), a.d(t, "y", (function() {
|
||
return N;
|
||
})), a.d(t, "I", (function() {
|
||
return T;
|
||
})), a.d(t, "j", (function() {
|
||
return F;
|
||
})), a.d(t, "r", (function() {
|
||
return D;
|
||
})), a.d(t, "F", (function() {
|
||
return $;
|
||
})), a.d(t, "G", (function() {
|
||
return q;
|
||
})), a.d(t, "M", (function() {
|
||
return P;
|
||
})), a.d(t, "i", (function() {
|
||
return R;
|
||
})), a.d(t, "d", (function() {
|
||
return M;
|
||
})), a.d(t, "o", (function() {
|
||
return E;
|
||
})), a.d(t, "w", (function() {
|
||
return B;
|
||
})), a.d(t, "H", (function() {
|
||
return V;
|
||
})), a.d(t, "K", (function() {
|
||
return U;
|
||
}));
|
||
var r = a("b775");
|
||
function n(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/total", method: "post", data: e2 });
|
||
}
|
||
function o(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/pageList", method: "post", data: e2 });
|
||
}
|
||
function i(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/pageList2", method: "post", data: e2 });
|
||
}
|
||
function l(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/create", method: "post", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/pageList", method: "post", data: e2 });
|
||
}
|
||
function c(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/findByNo", method: "post", data: e2 });
|
||
}
|
||
function u(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/against", method: "post", data: e2 });
|
||
}
|
||
function d(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/findById", method: "post", data: e2 });
|
||
}
|
||
function p(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/findById", method: "post", data: e2 });
|
||
}
|
||
function f(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/findByExId", method: "post", data: e2 });
|
||
}
|
||
function m(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/findByApproveId", method: "post", data: e2 });
|
||
}
|
||
function h(e2) {
|
||
return Object(r["a"])({ url: "/project/Expenses/listExpensesDetails", method: "post", data: e2 });
|
||
}
|
||
function b(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/chargePayFeeBills", method: "post", data: e2 });
|
||
}
|
||
function g(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/chargePrepay", method: "post", data: e2 });
|
||
}
|
||
function v(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/asyncExportChargeList", method: "post", data: e2 });
|
||
}
|
||
function y(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/exportDepositList", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function j(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/downloadPayBills", method: "post", responseType: "blob", data: e2 });
|
||
}
|
||
function _(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/deduction", method: "post", data: e2 });
|
||
}
|
||
function C(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/update", method: "post", data: e2 });
|
||
}
|
||
function w(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeReceivable/updateDebtor", method: "post", data: e2 });
|
||
}
|
||
function I(e2) {
|
||
return Object(r["a"])({ url: "/appproject/DeductionInfo/findByUuid", method: "post", data: e2 });
|
||
}
|
||
function k(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/turnDeposit", method: "post", data: e2 });
|
||
}
|
||
function L(e2) {
|
||
return Object(r["a"])({ url: "/appproject/PrepayInfo/addAccountByHouseIdAndChargeId", method: "post", data: e2 });
|
||
}
|
||
function O(e2) {
|
||
return Object(r["a"])({ url: "/project/ChargeReceivable/createTempCr", method: "post", data: e2 });
|
||
}
|
||
function S(e2) {
|
||
return Object(r["a"])({ url: "/appproject/InvoiceRecord/openInvoice/pc", method: "post", data: e2 });
|
||
}
|
||
function x(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/smsCollectionFee", method: "post", data: e2 });
|
||
}
|
||
function N(e2) {
|
||
return Object(r["a"])({ url: "/project/FsCharges/fsCharges/outNos", method: "post", data: e2 });
|
||
}
|
||
function T(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/totalStatistics", method: "post", data: e2 });
|
||
}
|
||
function F(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/createReceipt", method: "post", data: e2 });
|
||
}
|
||
function D(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/generatePayBillTask", method: "post", data: e2 });
|
||
}
|
||
function $(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/split", method: "post", data: e2 });
|
||
}
|
||
function q(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/splitPageList", method: "post", data: e2 });
|
||
}
|
||
function P(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/updateRecordPageList", method: "post", data: e2 });
|
||
}
|
||
function R(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/correction", method: "post", data: e2 });
|
||
}
|
||
function M(e2) {
|
||
return Object(r["a"])({ url: "/appproject/Expenses/batchSynStatus", method: "POST", data: e2 });
|
||
}
|
||
function E(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/depositTypeDetail", method: "POST", data: e2 });
|
||
}
|
||
function B(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/manualRelease", method: "POST", data: e2 });
|
||
}
|
||
function V(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/suspend", method: "POST", data: e2 });
|
||
}
|
||
function U(e2) {
|
||
return Object(r["a"])({ url: "/appproject/ChargeReceivable/unsuspend", method: "POST", data: e2 });
|
||
}
|
||
}, ef58: function(e, t, a) {
|
||
"use strict";
|
||
a("a8a0");
|
||
} }]);
|