190 lines
12 KiB
JavaScript
190 lines
12 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-d564aec4"], { "0b37": function(t, e, r) {
|
|
"use strict";
|
|
r.d(e, "a", (function() {
|
|
return a;
|
|
})), r.d(e, "b", (function() {
|
|
return n;
|
|
})), r.d(e, "c", (function() {
|
|
return l;
|
|
})), r.d(e, "d", (function() {
|
|
return i;
|
|
})), r.d(e, "f", (function() {
|
|
return o;
|
|
})), r.d(e, "e", (function() {
|
|
return u;
|
|
}));
|
|
r("8dee"), r("e680"), r("4057"), r("fc02");
|
|
function a(t2, e2) {
|
|
var r2, a2, n2, l2;
|
|
try {
|
|
r2 = t2.toString().split(".")[1].length;
|
|
} catch (o2) {
|
|
r2 = 0;
|
|
}
|
|
try {
|
|
a2 = e2.toString().split(".")[1].length;
|
|
} catch (o2) {
|
|
a2 = 0;
|
|
}
|
|
if (l2 = Math.abs(r2 - a2), n2 = Math.pow(10, Math.max(r2, a2)), l2 > 0) {
|
|
var i2 = Math.pow(10, l2);
|
|
r2 > a2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * i2) : (t2 = Number(t2.toString().replace(".", "")) * i2, e2 = Number(e2.toString().replace(".", "")));
|
|
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
|
return (t2 + e2) / n2;
|
|
}
|
|
function n(t2, e2) {
|
|
var r2, a2, n2 = 0, l2 = 0;
|
|
try {
|
|
n2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
try {
|
|
l2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
return r2 = Number(t2.toString().replace(".", "")), a2 = Number(e2.toString().replace(".", "")), r2 / a2 * Math.pow(10, l2 - n2);
|
|
}
|
|
function l(t2, e2) {
|
|
var r2 = 0, a2 = t2.toString(), n2 = e2.toString();
|
|
try {
|
|
r2 += a2.split(".")[1].length;
|
|
} catch (l2) {
|
|
}
|
|
try {
|
|
r2 += n2.split(".")[1].length;
|
|
} catch (l2) {
|
|
}
|
|
return Number(a2.replace(".", "")) * Number(n2.replace(".", "")) / Math.pow(10, r2);
|
|
}
|
|
function i(t2, e2) {
|
|
var r2, a2, n2, l2;
|
|
try {
|
|
r2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
r2 = 0;
|
|
}
|
|
try {
|
|
a2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
a2 = 0;
|
|
}
|
|
return n2 = Math.pow(10, Math.max(r2, a2)), l2 = r2 >= a2 ? r2 : a2, (Math.round(t2 * n2 - e2 * n2) / n2).toFixed(l2);
|
|
}
|
|
function o(t2, e2) {
|
|
if (0 == t2 && (t2 = 0), /[^[\-|0-9][0-9]*]/.test(t2)) return "0";
|
|
if (null == t2 || "" === t2) return "";
|
|
t2 = t2.toString().replace(/^(-\d*)$/, "$1."), t2 = t2.toString().replace(/^(\d*)$/, "$1."), t2 = (t2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), t2 = t2.replace(".", ",");
|
|
var r2 = /(\d)(\d{3},)/;
|
|
while (r2.test(t2)) t2 = t2.replace(r2, "$1,$2");
|
|
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
|
var a2 = t2.split(".");
|
|
"00" == a2[1] && (t2 = a2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function u(t2, e2) {
|
|
t2 = t2.toString();
|
|
var r2 = t2.indexOf(".");
|
|
return t2 = -1 !== r2 ? t2.substring(0, e2 + r2 + 1) : t2.substring(0), parseFloat(t2).toFixed(e2);
|
|
}
|
|
}, 2624: function(t, e, r) {
|
|
"use strict";
|
|
r.r(e);
|
|
var a = function() {
|
|
var t2 = this, e2 = t2.$createElement, r2 = t2._self._c || e2;
|
|
return r2("div", { staticClass: "headStys" }, [r2("div", { staticClass: "formContent" }, [r2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.query } }, [r2("div", [r2("el-form-item", { attrs: { prop: "projectName", label: "" } }, [r2("el-input", { attrs: { clearable: "", placeholder: "请输入项目名称", maxlength: "64" }, model: { value: t2.query.projectName, callback: function(e3) {
|
|
t2.$set(t2.query, "projectName", e3);
|
|
}, expression: "query.projectName" } })], 1), t2._v(" "), r2("el-form-item", { attrs: { prop: "currentDate", label: "" } }, [r2("el-date-picker", { attrs: { clearable: false, "value-format": "yyyy-MM", type: "month", placeholder: "选择月份" }, model: { value: t2.query.currentDate, callback: function(e3) {
|
|
t2.$set(t2.query, "currentDate", e3);
|
|
}, expression: "query.currentDate" } })], 1), t2._v(" "), r2("el-form-item", [r2("el-select", { staticStyle: { width: "300px" }, attrs: { multiple: "", clearable: "", "collapse-tags": "", placeholder: "请选择列表字段" }, on: { change: t2.tableHeaderSelectChange }, model: { value: t2.tableHeaderSelect, callback: function(e3) {
|
|
t2.tableHeaderSelect = e3;
|
|
}, expression: "tableHeaderSelect" } }, t2._l(t2.tableHeaderList, (function(t3) {
|
|
return r2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } });
|
|
})), 1)], 1), t2._v(" "), r2("el-form-item", [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1), t2._v(" "), r2("el-form-item", [r2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")])], 1)], 1)])], 1), t2._v(" "), r2("div", { staticClass: "contentStys" }, [t2._m(0), t2._v(" "), r2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], staticStyle: { width: "96%", "margin-left": "2%" }, attrs: { border: "", data: t2.listTable, "header-cell-style": t2.headClass, "tooltip-effect": "dark" } }, [r2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "50" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + "\n ")])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "projectName", "show-overflow-tooltip": "", "min-width": "200", label: "项目名称", fixed: "" } }), t2._v(" "), r2("el-table-column", { attrs: { align: "center", prop: "province", "show-overflow-tooltip": "", "min-width": "200", label: "省/市/区", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2.formatAddress(e3.row)) + "\n ")];
|
|
} }]) }), t2._v(" "), t2._l(t2.tableHeaderList, (function(e3, a2) {
|
|
return e3.select ? r2("el-table-column", { key: a2, attrs: { align: e3.align ? e3.align : "center", "min-width": "200", label: e3.label, prop: e3.value, width: e3.width }, scopedSlots: t2._u([{ key: "default", fn: function(r3) {
|
|
return [t2._v("\n " + t2._s(t2.formatterItems(r3.row[e3.value], e3.type)) + "\n ")];
|
|
} }], null, true) }) : t2._e();
|
|
}))], 2), t2._v(" "), r2("div", { staticClass: "pagination" }, [r2("el-pagination", { attrs: { "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)]);
|
|
}, n = [function() {
|
|
var t2 = this, e2 = t2.$createElement, r2 = t2._self._c || e2;
|
|
return r2("div", { staticClass: "planLst" }, [r2("span", [t2._v("物业费收缴明细表")])]);
|
|
}], l = (r("aa18"), r("982e"), r("333d")), i = r("bfb7"), o = r("0b37"), u = { components: { Pagination: l["a"] }, data: function() {
|
|
return { showDialog: false, pageTotal: 0, listLoading: false, listTable: [], query: { projectName: "", companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, currentDate: "", pageSize: 10, pageNumber: 1 }, tableHeaderList: [{ value: "yearBudget", label: "年度预算收缴金额", select: true, type: 0, width: 200, align: "right" }, { value: "yesteryearAmount", label: "往年欠费金额", select: true, type: 0, width: 120, align: "right" }, { value: "lastMonthAmount", label: "往月欠费金额", select: true, type: 0, width: 120, align: "right" }, { value: "currentMonthLastYear", label: "本月收缴往年欠费金额", select: true, type: 0, width: 200, align: "right" }, { value: "currentMonthLastMonth", label: "本月收缴往月欠费金额", select: true, type: 0, width: 200, align: "right" }, { value: "currentMonthBudgetAmount", label: "本月预收缴金额", select: true, type: 0, width: 120, align: "right" }, { value: "currentMonthAmount", label: "本月实收当月金额", select: true, type: 0, width: 200, align: "right" }, { value: "currentMonthRate", label: "本月收缴率", select: true, type: 1, width: 120 }, { value: "yearTotalRate", label: "本年累计收缴率", select: true, type: 1, width: 120 }], tableHeaderSelect: ["yearBudget", "yesteryearAmount", "lastMonthAmount", "currentMonthLastYear", "currentMonthLastMonth", "currentMonthBudgetAmount", "currentMonthAmount", "currentMonthRate", "currentMonthRate", "yearTotalRate"] };
|
|
}, created: function() {
|
|
this.headClass(), this.getDate();
|
|
}, mounted: function() {
|
|
this.getlistData();
|
|
}, methods: { getDate: function() {
|
|
var t2 = /* @__PURE__ */ new Date(), e2 = t2.getFullYear(), r2 = t2.getMonth() + 1;
|
|
0 == r2 && (e2 -= 1, r2 = 12), r2 = r2 < 10 ? "0" + r2 : r2, this.query.currentDate = e2 + "-" + r2;
|
|
}, getlistData: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, this.query.currentDate = this.query.currentDate.length > 8 ? this.query.currentDate : this.query.currentDate + "-20 00:00:00", Object(i["c"])(this.query).then((function(e2) {
|
|
t2.listTable = e2.data.records, t2.pageTotal = e2.data.rowsCount, t2.listLoading = false;
|
|
}));
|
|
}, formatAddress: function(t2) {
|
|
return t2.province ? "".concat(t2.province, "/").concat(t2.city ? t2.city : "-", "/").concat(t2.area ? t2.area : "-") : "-";
|
|
}, formatNum: function(t2, e2) {
|
|
var r2 = t2[e2.property] ? t2[e2.property] : 0;
|
|
return "¥ " + Object(o["f"])(r2, 2);
|
|
}, formatMonth: function(t2, e2) {
|
|
var r2 = t2[e2.property], a2 = r2.substr(0, 4), n2 = r2.substr(5, 2);
|
|
return a2 + "年" + n2 + "月";
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getlistData();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.query.pageNumber = 1, this.getlistData();
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.query.pageNumber = 1, this.getlistData();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getlistData();
|
|
}, formatterItems: function(t2, e2) {
|
|
return 0 === e2 ? t2 ? "¥ " + Object(o["f"])(t2, 2) : "¥ 0" : t2 ? Object(o["f"])(t2, 2) + "%" : "0%";
|
|
}, tableHeaderSelectChange: function(t2) {
|
|
this.tableHeaderList.map((function(e2) {
|
|
return e2.select = !!t2.includes(e2.value);
|
|
}));
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, c = u, s = (r("f79b"), r("829d")), p = Object(s["a"])(c, a, n, false, null, "330079bb", null);
|
|
e["default"] = p.exports;
|
|
}, b3de: function(t, e, r) {
|
|
}, bfb7: function(t, e, r) {
|
|
"use strict";
|
|
r.d(e, "d", (function() {
|
|
return n;
|
|
})), r.d(e, "b", (function() {
|
|
return l;
|
|
})), r.d(e, "a", (function() {
|
|
return i;
|
|
})), r.d(e, "c", (function() {
|
|
return o;
|
|
}));
|
|
var a = r("b775");
|
|
function n(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Task/taskStatisticsPageList", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/data/project/postponeOrderTimeStatistics", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/data/project/postponeOrderStaffTimeStatistics", method: "post", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(a["a"])({ url: "/data/data/project/propertyStatistics", method: "post", data: t2 });
|
|
}
|
|
}, f79b: function(t, e, r) {
|
|
"use strict";
|
|
r("b3de");
|
|
} }]);
|