223 lines
16 KiB
JavaScript
223 lines
16 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-7b252413"], { "1a73": function(t, e, a) {
|
|
"use strict";
|
|
a.r(e);
|
|
var r = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "app-container bgHeight" }, [a2("div", { staticClass: "material" }, [a2("el-tabs", { attrs: { type: "border-card" }, model: { value: t2.activeName, callback: function(e3) {
|
|
t2.activeName = e3;
|
|
}, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "用户预存管理", name: "user" } }, [a2("prepaidList", { directives: [{ name: "show", rawName: "v-show", value: "user" === t2.activeName, expression: "activeName === 'user'" }] })], 1), t2._v(" "), a2("el-tab-pane", { attrs: { label: "物业费预存配置", name: "property" } }, [a2("propertyPrestore", { directives: [{ name: "show", rawName: "v-show", value: "property" === t2.activeName, expression: "activeName === 'property'" }] })], 1)], 1)], 1)]);
|
|
}, n = [], o = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "app-container bgHeight" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "query", attrs: { model: t2.query } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "accountNo" } }, [a2("el-input", { attrs: { placeholder: "账户", clearable: "" }, model: { value: t2.query.accountNo, callback: function(e3) {
|
|
t2.$set(t2.query, "accountNo", e3);
|
|
}, expression: "query.accountNo" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "userName" } }, [a2("el-input", { attrs: { placeholder: "用户名称", clearable: "" }, model: { value: t2.query.userName, callback: function(e3) {
|
|
t2.$set(t2.query, "userName", e3);
|
|
}, expression: "query.userName" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "mobile" } }, [a2("el-input", { attrs: { placeholder: "用户手机", clearable: "" }, model: { value: t2.query.mobile, callback: function(e3) {
|
|
t2.$set(t2.query, "mobile", e3);
|
|
}, expression: "query.mobile" } })], 1)], 1), t2._v(" "), a2("el-col", { attrs: { span: 12 } }, [a2("el-form-item", { attrs: { prop: "taskDate" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始执行时间", "end-placeholder": "结束执行时间" }, model: { value: t2.taskDate, callback: function(e3) {
|
|
t2.taskDate = e3;
|
|
}, expression: "taskDate" } })], 1)], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), t2.is_show || "80px" == t2.height ? t2._e() : a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), t2._v(" "), t2.is_show && "80px" != t2.height ? a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : t2._e()], 1)], 1)])])], 1), t2._v(" "), a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [t2._v("用户预存列表")])]), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], attrs: { border: "", data: t2.listTable, "header-cell-style": t2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", fixed: "", align: "center", width: "50", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + " ")])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { prop: "accountNo", align: "center", label: "账户", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { prop: "userName", align: "center", label: "用户名称", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { prop: "mobile", align: "center", width: "150", label: "用户手机号", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "right", width: "150", label: "账户余额", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(t2._f("formatMoney")(e3.row.amount)) + "\n ")];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { prop: "createdAt", align: "center", width: "200", label: "创建时间", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "操作", fixed: "right", width: "80", align: "center" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", { staticClass: "textBtn", on: { click: function(a3) {
|
|
return t2.editClick(e3.row);
|
|
} } }, [t2._v("查看")])];
|
|
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)], 1);
|
|
}, s = [], i = a("722f"), c = { name: "taskList", components: {}, data: function() {
|
|
return { is_show: false, height: "", isShow: false, pageTotal: 0, listLoading: false, taskDate: "", listTable: [], postExecuteArr: [], query: { pageNumber: 1, pageSize: 10, cardType: 2, startDate: "", endDate: "", accountNo: "", userName: "", mobile: "" } };
|
|
}, created: function() {
|
|
this.getRealHeight(), this.getlistData(), this.headClass();
|
|
}, methods: { editClick: function(t2) {
|
|
this.$router.replace({ path: "/viewInfo/preStorageDetails?id=".concat(t2.id, "&type=", 2) });
|
|
}, getlistData: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, this.query.projectUuid = this.$store.state.community_uuid, Object(i["k"])(this.query).then((function(e2) {
|
|
0 == e2.code && null != e2.data && (t2.listTable = e2.data.records, t2.pageTotal = e2.data.rowsCount);
|
|
})), this.listLoading = false;
|
|
}, onSearch: function() {
|
|
this.searchCondition(), this.query.pageNumber = 1, this.getlistData();
|
|
}, searchCondition: function() {
|
|
this.taskDate ? (this.query.startDate = this.taskDate[0] + " 00:00:00", this.query.endDate = this.taskDate[1] + " 23:59:59") : (this.query.startDate = "", this.query.startDate = "");
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.getlistData();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getlistData();
|
|
}, resetForm: function(t2) {
|
|
this.taskDate = "", this.query.startDate = "", this.query.endDate = "", this.query.pageNumber = 1, this.$refs[t2].resetFields(), this.getlistData();
|
|
}, handleSlow: function() {
|
|
this.isShow = !this.isShow;
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
}, upAndDown: function() {
|
|
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
|
|
}, getRealHeight: function() {
|
|
this.$nextTick((function() {
|
|
this.height = this.$refs.form_box.offsetHeight + "px";
|
|
}));
|
|
} } }, u = c, l = (a("afce"), a("829d")), p = Object(l["a"])(u, o, s, false, null, "fa5b471e", null), d = p.exports, h = function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "propertyPrestore" }, [a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [a2("span", { staticClass: "planTitle" }, [t2._v("物业费预存配置")])]), t2._v(" "), t2._l(t2.chargeConfigReqDTOS, (function(e3) {
|
|
return a2("div", { key: e3.id }, [a2("el-row", [a2("el-col", { attrs: { span: 12 } }, [t2._v("预存金额:"), a2("el-input-number", { attrs: { onKeypress: "return (/[\\d]/.test(String.fromCharCode(event.keyCode)))", "controls-position": "right", min: 0 }, model: { value: e3.amount, callback: function(a3) {
|
|
t2.$set(e3, "amount", a3);
|
|
}, expression: "item.amount" } })], 1), t2._v(" "), a2("el-col", { attrs: { span: 12 } }, [t2._v("积分返还比例(%) "), a2("el-input-number", { attrs: { onKeypress: "return (/[\\d]/.test(String.fromCharCode(event.keyCode)))", "controls-position": "right", min: 0 }, model: { value: e3.ratio, callback: function(a3) {
|
|
t2.$set(e3, "ratio", a3);
|
|
}, expression: "item.ratio" } })], 1)], 1)], 1);
|
|
})), t2._v(" "), a2("div", { staticClass: "center" }, [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.saveInfo } }, [t2._v("保存")])], 1)], 2)], 1);
|
|
}, f = [], m = a("b775");
|
|
function g(t2) {
|
|
return Object(m["a"])({ url: "/appproject/ProjectChargeConfig/list", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(m["a"])({ url: "/appproject/ProjectChargeConfig/update", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(m["a"])({ url: "/appproject/ProjectChargeConfig/create", method: "post", data: t2 });
|
|
}
|
|
var y = { data: function() {
|
|
return { chargeConfigReqDTOS: [{ amount: 500, ratio: 0 }, { amount: 1e3, ratio: 0 }, { amount: 1500, ratio: 0 }, { amount: 2e3, ratio: 0 }, { amount: 2500, ratio: 0 }], saveInfoArr: [] };
|
|
}, mounted: function() {
|
|
this.getListInfo();
|
|
}, methods: { getListInfo: function() {
|
|
var t2 = this;
|
|
this.saveInfoArr = [], g({ projectCode: this.$store.state.community_uuid }).then((function(e2) {
|
|
0 == e2.code && (e2.data.length > 0 && (t2.chargeConfigReqDTOS = e2.data), t2.saveInfoArr = e2.data);
|
|
}));
|
|
}, saveInfo: function() {
|
|
var t2 = this, e2 = true;
|
|
if (this.chargeConfigReqDTOS.forEach((function(a3) {
|
|
void 0 === a3.amount && (t2.$message({ type: "error", message: "预存金额不能为空!" }), e2 = false), 0 == a3.amount && (t2.$message({ type: "error", message: "预存金额不能为0!" }), e2 = false), void 0 === a3.ratio && (t2.$message({ type: "error", message: "积分返还比例不能为空!" }), e2 = false);
|
|
})), e2) if (this.saveInfoArr.length > 0) v({ updates: this.chargeConfigReqDTOS }).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ type: "success", message: "更新成功" }), t2.getListInfo());
|
|
}));
|
|
else {
|
|
var a2 = { projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, chargeConfigReqDTOS: this.chargeConfigReqDTOS };
|
|
b(a2).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ type: "success", message: "创建成功" }), t2.getListInfo());
|
|
}));
|
|
}
|
|
} } }, C = y, j = (a("99a0"), Object(l["a"])(C, h, f, false, null, "139da4f2", null)), _ = j.exports, w = { name: "prestorage", components: { prepaidList: d, propertyPrestore: _ }, data: function() {
|
|
return { activeName: "user" };
|
|
}, created: function() {
|
|
}, methods: {} }, k = w, q = (a("8a00"), Object(l["a"])(k, r, n, false, null, null, null));
|
|
e["default"] = q.exports;
|
|
}, "33cd": function(t, e, a) {
|
|
}, "4c80": function(t, e, a) {
|
|
}, "722f": function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "q", (function() {
|
|
return n;
|
|
})), a.d(e, "d", (function() {
|
|
return o;
|
|
})), a.d(e, "b", (function() {
|
|
return s;
|
|
})), a.d(e, "i", (function() {
|
|
return i;
|
|
})), a.d(e, "h", (function() {
|
|
return c;
|
|
})), a.d(e, "g", (function() {
|
|
return u;
|
|
})), a.d(e, "p", (function() {
|
|
return l;
|
|
})), a.d(e, "c", (function() {
|
|
return p;
|
|
})), a.d(e, "s", (function() {
|
|
return d;
|
|
})), a.d(e, "a", (function() {
|
|
return h;
|
|
})), a.d(e, "k", (function() {
|
|
return f;
|
|
})), a.d(e, "e", (function() {
|
|
return m;
|
|
})), a.d(e, "n", (function() {
|
|
return g;
|
|
})), a.d(e, "l", (function() {
|
|
return v;
|
|
})), a.d(e, "o", (function() {
|
|
return b;
|
|
})), a.d(e, "m", (function() {
|
|
return y;
|
|
})), a.d(e, "r", (function() {
|
|
return C;
|
|
})), a.d(e, "f", (function() {
|
|
return j;
|
|
})), a.d(e, "j", (function() {
|
|
return _;
|
|
}));
|
|
var r = a("b775");
|
|
function n(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/pageList", method: "post", data: t2 });
|
|
}
|
|
function o(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/create", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarMonthlyCard/pageList", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findMsgTypeByProjectId", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findCarTypeByProjectId", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findCarAreaByProjectId", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarBusinessRel/pageList", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarInOutRecord/pageList", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/update", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/ListCarLanes", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/listAccount", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/findById", method: "post", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarInfo/listByUserId", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(r["a"])({ url: "/appproject/OrderInfo/listByAccountNo", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/pageList", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(r["a"])({ url: "/appproject/PurchaseInfo/listByPurchaseId", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(r["a"])({ url: "/appproject/OrderAccountTradeInfo/list", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findByProjectUUID", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CarPark/findSpaceTypeByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
}, "8a00": function(t, e, a) {
|
|
"use strict";
|
|
a("33cd");
|
|
}, "99a0": function(t, e, a) {
|
|
"use strict";
|
|
a("4c80");
|
|
}, afce: function(t, e, a) {
|
|
"use strict";
|
|
a("c082");
|
|
}, c082: function(t, e, a) {
|
|
} }]);
|