290 lines
19 KiB
JavaScript
290 lines
19 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-1ed018a3"], { "1b3c": function(t, e, n) {
|
|
"use strict";
|
|
n.r(e);
|
|
var r = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "app-container " }, [n2("div", { staticClass: "bgHeight" }, [n2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [n2("el-form", { ref: "queryInfo", attrs: { model: t2.queryInfo } }, [n2("div", { ref: "form_box", staticClass: "searchBar" }, [n2("div", { staticClass: "searchInput" }, [n2("el-row", { attrs: { gutter: 20 } }, [n2("el-col", { attrs: { span: 8 } }, [n2("el-form-item", { attrs: { prop: "freParam" } }, [n2("div", { staticClass: "formLoop" }, [n2("el-form-item", { attrs: { prop: "numberStart" } }, [n2("el-input-number", { attrs: { "controls-position": "right", placeholder: "拖欠期数最小值", min: 1, clearable: "" }, model: { value: t2.queryInfo.numberStart, callback: function(e3) {
|
|
t2.$set(t2.queryInfo, "numberStart", e3);
|
|
}, expression: "queryInfo.numberStart" } })], 1), t2._v(" "), n2("span", { staticClass: "ci" }, [t2._v("-")]), t2._v(" "), n2("el-form-item", { attrs: { prop: "numberEnd" } }, [n2("el-input-number", { attrs: { "controls-position": "right", placeholder: "拖欠期数最大值", min: 1, clearable: "" }, model: { value: t2.queryInfo.numberEnd, callback: function(e3) {
|
|
t2.$set(t2.queryInfo, "numberEnd", e3);
|
|
}, expression: "queryInfo.numberEnd" } })], 1)], 1)])], 1), t2._v(" "), n2("el-col", { attrs: { span: 5 } }, [n2("el-form-item", { attrs: { prop: "inVisitDay" } }, [n2("div", { staticClass: "formLoop" }, [n2("el-input-number", { attrs: { placeholder: "未有拜访记录天数", "controls-position": "right", min: 1 }, model: { value: t2.queryInfo.inVisitDay, callback: function(e3) {
|
|
t2.$set(t2.queryInfo, "inVisitDay", e3);
|
|
}, expression: "queryInfo.inVisitDay" } }), t2._v(" "), n2("el-tooltip", { attrs: { content: "搜索未有拜访记录天数的房屋", placement: "top" } }, [n2("i", { staticClass: "el-icon-info" })])], 1)])], 1), t2._v(" "), n2("el-col", { attrs: { span: 6 } }, [n2("el-form-item", { attrs: { prop: "roomNum" } }, [n2("el-input", { attrs: { placeholder: "房屋号", clearable: "" }, model: { value: t2.queryInfo.roomNum, callback: function(e3) {
|
|
t2.$set(t2.queryInfo, "roomNum", e3);
|
|
}, expression: "queryInfo.roomNum" } })], 1)], 1), t2._v(" "), n2("el-col", { attrs: { span: 5 } }, [n2("el-form-item", { attrs: { prop: "visitDay" } }, [n2("div", { staticClass: "formLoop" }, [n2("el-input-number", { attrs: { placeholder: "预计拜访天数", "controls-position": "right", min: 1, clearable: "" }, model: { value: t2.queryInfo.visitDay, callback: function(e3) {
|
|
t2.$set(t2.queryInfo, "visitDay", e3);
|
|
}, expression: "queryInfo.visitDay" } }), t2._v(" "), n2("el-tooltip", { attrs: { content: "搜索出来的房屋需要多少天拜访完", placement: "top" } }, [n2("i", { staticClass: "el-icon-info" })])], 1)])], 1)], 1)], 1), t2._v(" "), n2("div", { staticClass: "searchBtn" }, [n2("el-form-item", [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("queryInfo");
|
|
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.getList } }, [t2._v("查询")]), t2._v(" "), t2.is_show || "80px" == t2.height ? t2._e() : n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("展开"), n2("i", { staticClass: "el-icon-arrow-down" })]), t2._v(" "), t2.is_show && "80px" != t2.height ? n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: t2.upAndDown } }, [t2._v("收起"), n2("i", { staticClass: "el-icon-arrow-up" })]) : t2._e()], 1)], 1)])])], 1), t2._v(" "), n2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [n2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [n2("span", { staticClass: "planTitle" }, [t2._v("催费数据列表")]), t2._v(" "), t2.listData.length ? n2("div", [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: t2.confirmLoad }, on: { click: t2.confirmBtn } }, [t2._v("确认执行")])], 1) : t2._e()]), t2._v(" "), n2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], attrs: { border: "", data: t2.listData, "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { align: "center", "min-width": "210", label: "房间号", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.houseName || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "债务人", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.debtorBy || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "140", label: "债务人手机", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.debtorMobile || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "计费账期", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.chargeDate || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "150", label: "科目", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.subjectName || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "130", label: "收费项", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.fsChargesName || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "起始账期", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.chargeDateStart || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "截止账期", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.chargeDateEnd || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "100", label: "拖欠期数", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.chargeNumber || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "120", label: "拖欠时长(月)", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.unPaidDate || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "min-width": "130", label: "本金", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.baseAmount)))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "min-width": "130", label: "违约金", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.lateFee)))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "right", "min-width": "130", label: "合计", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(t2._f("toThousandFilter")(e3.row.totalAmount)))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "170", label: "最近拜访时间", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.latelyVisitTime || "-"))];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", "min-width": "170", label: "最近待拜访时间", "show-overflow-tooltip": true }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.latelyWaitVisitTime || "-"))];
|
|
} }]) })], 1), t2._v(" "), t2.listData.length ? n2("div", { staticClass: "pagination-container", staticStyle: { "margin-top": "10px", "text-align": "right" } }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.queryInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": t2.queryInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.total }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.queryInfo, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.queryInfo, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1) : t2._e()], 1)], 1)]);
|
|
}, o = [], a = n("7274");
|
|
function i(t2) {
|
|
return i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t3) {
|
|
return typeof t3;
|
|
} : function(t3) {
|
|
return t3 && "function" == typeof Symbol && t3.constructor === Symbol && t3 !== Symbol.prototype ? "symbol" : typeof t3;
|
|
}, i(t2);
|
|
}
|
|
function s(t2, e2) {
|
|
var n2 = Object.keys(t2);
|
|
if (Object.getOwnPropertySymbols) {
|
|
var r2 = Object.getOwnPropertySymbols(t2);
|
|
e2 && (r2 = r2.filter((function(e3) {
|
|
return Object.getOwnPropertyDescriptor(t2, e3).enumerable;
|
|
}))), n2.push.apply(n2, r2);
|
|
}
|
|
return n2;
|
|
}
|
|
function u(t2) {
|
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
var n2 = null != arguments[e2] ? arguments[e2] : {};
|
|
e2 % 2 ? s(Object(n2), true).forEach((function(e3) {
|
|
l(t2, e3, n2[e3]);
|
|
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t2, Object.getOwnPropertyDescriptors(n2)) : s(Object(n2)).forEach((function(e3) {
|
|
Object.defineProperty(t2, e3, Object.getOwnPropertyDescriptor(n2, e3));
|
|
}));
|
|
}
|
|
return t2;
|
|
}
|
|
function l(t2, e2, n2) {
|
|
return (e2 = c(e2)) in t2 ? Object.defineProperty(t2, e2, { value: n2, enumerable: true, configurable: true, writable: true }) : t2[e2] = n2, t2;
|
|
}
|
|
function c(t2) {
|
|
var e2 = p(t2, "string");
|
|
return "symbol" == i(e2) ? e2 : e2 + "";
|
|
}
|
|
function p(t2, e2) {
|
|
if ("object" != i(t2) || !t2) return t2;
|
|
var n2 = t2[Symbol.toPrimitive];
|
|
if (void 0 !== n2) {
|
|
var r2 = n2.call(t2, e2 || "default");
|
|
if ("object" != i(r2)) return r2;
|
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
}
|
|
return ("string" === e2 ? String : Number)(t2);
|
|
}
|
|
var f = { data: function() {
|
|
return { is_show: false, height: "", listData: [], listLoading: false, total: 0, queryInfo: { pageNumber: 1, pageSize: 10, numberStart: void 0, numberEnd: void 0, roomNum: "", inVisitDay: void 0, visitDay: void 0 }, saveData: "", confirmLoad: false };
|
|
}, created: function() {
|
|
this.getRealHeight();
|
|
}, methods: { checkInput: function() {
|
|
var t2 = false;
|
|
return this.queryInfo.numberStart || this.queryInfo.numberEnd ? this.queryInfo.numberStart && this.queryInfo.numberEnd ? this.queryInfo.numberStart >= this.queryInfo.numberEnd ? (this.$message("最大值需大于最小值!"), t2 = false) : t2 = true : (this.$message("拖欠期数最大/小值需同时必填"), t2 = false) : this.queryInfo.inVisitDay ? t2 = true : (this.$message("未有拜访记录天数项必填"), t2 = false), t2;
|
|
}, getList: function() {
|
|
var t2 = this;
|
|
if (!this.checkInput()) return false;
|
|
this.queryInfo.projectUuid = this.$store.state.community_uuid, this.queryInfo.projectName = this.$store.state.community_name, this.listLoading = true, this.saveData = JSON.parse(JSON.stringify(this.queryInfo)), Object(a["z"])(this.queryInfo).then((function(e2) {
|
|
0 == e2.code ? (t2.listData = e2.data.records, t2.total = e2.data.rowsCount, t2.listLoading = false) : (t2.listLoading = false, t2.$message.error(e2.message));
|
|
})).catch((function(e2) {
|
|
t2.listLoading = flase;
|
|
}));
|
|
}, resetForm: function(t2) {
|
|
this.queryInfo.pageNumber = 1, this.$refs[t2].resetFields(), this.saveData = "", this.listData = [];
|
|
}, handleSizeChange: function(t2) {
|
|
this.queryInfo.pageSize = t2, this.getList();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.queryInfo.pageNumber = t2, this.getList();
|
|
}, 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";
|
|
}));
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
}, confirmBtn: function() {
|
|
var t2 = this;
|
|
if (this.listData.length) {
|
|
this.confirmLoad = true;
|
|
var e2 = JSON.stringify(this.saveData), n2 = JSON.stringify(u(u({}, this.saveData), this.queryInfo));
|
|
e2 === n2 ? Object(a["A"])(this.queryInfo).then((function(e3) {
|
|
0 == e3.code && (t2.$message({ message: "催费拜访生成成功!", type: "success" }), t2.confirmLoad = false, t2.getList());
|
|
})).catch((function(e3) {
|
|
t2.confirmLoad = false;
|
|
})) : (this.$message({ message: "当前搜索条件和展示数据的条件不一致,请检查或点击查询按钮!", type: "warning" }), this.confirmLoad = false);
|
|
} else this.$message("当前无数据操作");
|
|
} } }, d = f, m = (n("ae2d"), n("829d")), h = Object(m["a"])(d, r, o, false, null, null, null);
|
|
e["default"] = h.exports;
|
|
}, 7274: function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "f", (function() {
|
|
return o;
|
|
})), n.d(e, "t", (function() {
|
|
return a;
|
|
})), n.d(e, "x", (function() {
|
|
return i;
|
|
})), n.d(e, "g", (function() {
|
|
return s;
|
|
})), n.d(e, "B", (function() {
|
|
return u;
|
|
})), n.d(e, "s", (function() {
|
|
return l;
|
|
})), n.d(e, "c", (function() {
|
|
return c;
|
|
})), n.d(e, "l", (function() {
|
|
return p;
|
|
})), n.d(e, "z", (function() {
|
|
return f;
|
|
})), n.d(e, "A", (function() {
|
|
return d;
|
|
})), n.d(e, "n", (function() {
|
|
return m;
|
|
})), n.d(e, "m", (function() {
|
|
return h;
|
|
})), n.d(e, "j", (function() {
|
|
return b;
|
|
})), n.d(e, "o", (function() {
|
|
return g;
|
|
})), n.d(e, "h", (function() {
|
|
return v;
|
|
})), n.d(e, "i", (function() {
|
|
return y;
|
|
})), n.d(e, "k", (function() {
|
|
return _;
|
|
})), n.d(e, "p", (function() {
|
|
return w;
|
|
})), n.d(e, "y", (function() {
|
|
return j;
|
|
})), n.d(e, "r", (function() {
|
|
return C;
|
|
})), n.d(e, "w", (function() {
|
|
return O;
|
|
})), n.d(e, "a", (function() {
|
|
return S;
|
|
})), n.d(e, "b", (function() {
|
|
return I;
|
|
})), n.d(e, "e", (function() {
|
|
return q;
|
|
})), n.d(e, "d", (function() {
|
|
return D;
|
|
})), n.d(e, "v", (function() {
|
|
return k;
|
|
})), n.d(e, "q", (function() {
|
|
return P;
|
|
})), n.d(e, "u", (function() {
|
|
return x;
|
|
}));
|
|
var r = n("b775");
|
|
function o(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/findByUuid", method: "post", data: t2 });
|
|
}
|
|
function a(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/scheduled/push/date", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(r["a"])({ url: "/appproject/OrderInfo/findLiaisonByProjectUuids", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectInit/getVisitConfig", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectInit/updateBatchVisitConfig", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(r["a"])({ url: "/appproject/QualityControls/choose", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(r["a"])({ url: "/appproject/QualityControls/pageList", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ChargeReceivable/urge/listFee", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(r["a"])({ url: "/appproject/CustomerVisit/create/by/urge/model", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(r["a"])({ url: "/appproject/SalaryConfig/findByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(r["a"])({ url: "/appproject/SalaryConfig/edit", method: "post", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(r["a"])({ url: "/appproject/MemberSalaryConfig/pageList", method: "post", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(r["a"])({ url: "/appproject/MemberSalaryConfig/salaryItemPageList", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(r["a"])({ url: "/appproject/MemberSalaryConfig/create", method: "post", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(r["a"])({ url: "/appproject/MemberSalaryConfig/findById", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(r["a"])({ url: "/appproject/MemberSalaryConfig/update", method: "post", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateAccessControlByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateTargetValueByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateAutoResetDangerousByProjectUuid", method: "post", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateMeterReadingType", method: "post", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ChargeOrderConfig/pageList", method: "post", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ChargeOrderConfig/update", method: "post", data: t2 });
|
|
}
|
|
function q(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectReturnStatistics/debtAnalysisDetail", method: "post", data: t2 });
|
|
}
|
|
function D(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ChargeOrder/createBatch", method: "post", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateEnergyParams", method: "post", data: t2 });
|
|
}
|
|
function P(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateAutoCharge", method: "post", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(r["a"])({ url: "/appproject/ProjectConfig/updateChargeDeduction", method: "post", data: t2 });
|
|
}
|
|
}, 7485: function(t, e, n) {
|
|
}, ae2d: function(t, e, n) {
|
|
"use strict";
|
|
n("7485");
|
|
} }]);
|