Files
wysite/output/sourcemaps/hc-pos.sqygj.cn/static/js/chunk-676e6b4c.be72841c.js

889 lines
75 KiB
JavaScript

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-676e6b4c", "chunk-0e074126"], { "030a": function(e, t, a) {
"use strict";
a.r(t);
var n = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("div", { staticClass: "defaultSearch" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.selectChange }, model: { value: e2.query.precinctId, callback: function(t3) {
e2.$set(e2.query, "precinctId", t3);
}, expression: "query.precinctId" } }, e2._l(e2.areaOptions, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "buildingId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有楼栋" }, on: { change: e2.changeBuild }, model: { value: e2.query.buildingId, callback: function(t3) {
e2.$set(e2.query, "buildingId", t3);
}, expression: "query.buildingId" } }, e2._l(e2.building, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "unitId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "所有单元" }, on: { change: e2.changeUnit }, model: { value: e2.query.unitId, callback: function(t3) {
e2.$set(e2.query, "unitId", t3);
}, expression: "query.unitId" } }, e2._l(e2.unitList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "fsHouseId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.query.fsHouseId, callback: function(t3) {
e2.$set(e2.query, "fsHouseId", t3);
}, expression: "query.fsHouseId" } }, e2._l(e2.houseList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "roomNum" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "房屋房号" }, model: { value: e2.query.roomNum, callback: function(t3) {
e2.$set(e2.query, "roomNum", t3);
}, expression: "query.roomNum" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [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.resetFormQuery("query");
} } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("el-row", { attrs: { gutter: 25 } }, [a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", { attrs: { prop: "visitReason" } }, [a2("el-select", { attrs: { placeholder: "欠费原因", filterable: "", clearable: "" }, model: { value: e2.query.visitReason, callback: function(t3) {
e2.$set(e2.query, "visitReason", t3);
}, expression: "query.visitReason" } }, e2._l(e2.appealListGroup, (function(t3) {
return a2("el-option-group", { key: t3.label, attrs: { label: t3.label } }, e2._l(t3.list, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1);
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", { attrs: { prop: "hasVisit" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "是否拜访" }, model: { value: e2.query.hasVisit, callback: function(t3) {
e2.$set(e2.query, "hasVisit", t3);
}, expression: "query.hasVisit" } }, [a2("el-option", { attrs: { label: "是", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "否", value: 0 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 10 } }, [a2("el-form-item", [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.createTime, callback: function(t3) {
e2.createTime = t3;
}, expression: "createTime" } })], 1)], 1)], 1)], 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-button", { attrs: { type: "primary", loading: e2.downloading }, on: { click: e2.exportList } }, [e2._v("下载Execl")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.listLoading, expression: "listLoading" }], ref: "receivableTable", attrs: { border: "", data: e2.listData, "header-cell-style": e2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", "min-width": "50" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.$index + (e2.query.pageNumber - 1) * e2.query.pageSize + 1))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "管理区", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.precinctName) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "楼栋", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.buildingName) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "单元", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.unitName) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "房号", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.roomNum) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "房屋负责人", "min-width": "190" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.managerName + "-" + t3.row.managerMobile) + "\n "), a2("i", { staticClass: "el-icon-edit editPaymentBy", on: { click: function(a3) {
return e2.editThisPaymentBy(t3.row);
} } })];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拖欠时长(月)", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.unPaidDate) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "欠费原因", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [0 == t3.row.visitReason ? a2("span", [e2._v("无原因")]) : a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.visitReason, e2.appealList)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拜访时间", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.visitTime || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "本金", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.unpaidAmount)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "违约金", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.lateFee)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "欠费总金额", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.totalAmount)) + "\n ")];
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.query.pageNumber, "page-sizes": [10, 30, 50], "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", { attrs: { title: "负责人修改", visible: e2.changeHeadPeople, width: "20%", "before-close": e2.beforeClose }, on: { "update:visible": function(t3) {
e2.changeHeadPeople = t3;
} } }, [a2("div", [a2("el-select", { staticClass: "head-people", model: { value: e2.headPeopleObj.managerId, callback: function(t3) {
e2.$set(e2.headPeopleObj, "managerId", t3);
}, expression: "headPeopleObj.managerId" } }, e2._l(e2.headPeopleList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), a2("div", { attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: function(t3) {
e2.changeHeadPeople = false;
} } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: function(t3) {
return e2.submitHeadPeople();
} } }, [e2._v("确 定")])], 1)])], 1)], 1);
}, r = [], i = a("2b74"), o = a("dce5"), s = a("8abc"), l = { data: function() {
return { is_show: false, height: "", listData: [], listLoading: false, downloading: false, total: 0, appealList: o["n"], appealListGroup: [], createTime: "", query: { precinctId: "", buildingId: "", unitId: "", fsHouseId: "", roomNum: "", visitReason: "", hasVisit: "", pageNumber: 1, pageSize: 10 }, areaOptions: [], building: [], unitList: [], houseList: [], headPeopleList: [], changeHeadPeople: false, headPeopleObj: {} };
}, created: function() {
var e2 = this;
this.headClass(), this.getRealHeight(), this.query.projectUuid = this.$store.state.community_uuid, this.$route.query.name && (console.log(this.$route.query.name, "this.$route.name"), this.query.visitReason = this.appealList.find((function(t2) {
return t2.label == e2.$route.query.name;
})).value);
}, methods: { setAppealListGroup: function() {
var e2 = [{ label: "服务质量问题", list: [] }, { label: "业主(租户)个性化问题", list: [] }, { label: "相邻关系问题", list: [] }, { label: "开发商问题", list: [] }];
o["n"].map((function(t2, a2) {
a2 < 8 ? e2[0].list.push({ value: t2.value, label: t2.label }) : a2 >= 8 && a2 < 13 ? e2[1].list.push({ value: t2.value, label: t2.label }) : a2 >= 13 && a2 < 20 ? e2[2].list.push({ value: t2.value, label: t2.label }) : e2[3].list.push({ value: t2.value, label: t2.label });
})), this.appealListGroup = e2;
}, getListData: function() {
var e2 = this;
this.listLoading = true, this.query.startTime = this.createTime ? "".concat(this.createTime[0], " 00:00:00") : "", this.query.endTime = this.createTime ? "".concat(this.createTime[1], " 23:59:59") : "", Object(s["c"])(this.query).then((function(t2) {
t2.data && t2.data.records && (e2.listData = t2.data.records, e2.total = t2.data.rowsCount, e2.listLoading = false);
})).catch((function(t2) {
e2.listLoading = false;
}));
}, getAreaList: function() {
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid };
Object(i["f"])(t2).then((function(t3) {
0 === t3.code && (e2.areaOptions = t3.data);
}));
}, selectChange: function(e2) {
this.building = [], this.query.buildingId = "", this.unitList = [], this.query.unitId = "", this.houseList = [], this.query.fsHouseId = "", e2 && this.getBuild();
}, getBuild: function() {
var e2 = this;
Object(i["x"])({ precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name }).then((function(t2) {
e2.building = t2.data;
}));
}, changeBuild: function() {
this.unitList = [], this.query.unitId = "", this.houseList = [], this.query.fsHouseId = "", this.getUnit();
}, getUnit: function() {
var e2 = this;
Object(i["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query.buildingId }).then((function(t2) {
e2.unitList = t2.data.records;
}));
}, changeUnit: function() {
this.houseList = [], this.query.fsHouseId = "", this.getHouseList();
}, getHouseList: function() {
var e2 = this, t2 = { projectCode: this.query.projectUuid, precinctId: this.query.precinctId, buildingId: this.query.buildingId, unitId: this.query.unitId };
Object(i["M"])(t2).then((function(t3) {
0 === t3.code && (e2.houseList = t3.data.records);
}));
}, exportList: function() {
var e2 = this;
this.downloading = true;
var t2 = { projectUuid: this.$store.state.community_uuid, projectName: this.$store.state.community_name, companyId: this.$store.state.companyId, companyName: localStorage.getItem("companyName"), memberName: this.$store.state.user.userInfo.memberName, memberId: this.$store.state.user.userInfo.memberId, taskName: "欠费分析列表导出" };
Object(s["d"])(t2).then((function(t3) {
0 == t3.code ? (e2.downloading = false, e2.$message.success("操作成功,请前往下载中心查看!")) : e2.downloading = false;
})).catch((function(t3) {
e2.downloading = false;
}));
}, 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";
}));
}, onSearch: function() {
this.query.pageNumber = 1, this.getListData();
}, resetFormQuery: function(e2) {
this.$refs[e2].resetFields(), this.createTime = "", this.query.pageNumber = 1, this.query.visitReason = "", this.getListData();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.getListData();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getListData();
}, editThisPaymentBy: function(e2, t2) {
var a2 = this, n2 = e2;
this.headPeopleObj = JSON.parse(JSON.stringify(n2)), this.changeHeadPeople = true;
var r2 = { projectUuid: this.query.projectUuid, pageNumber: 1, pageSize: 999 };
Object(i["G"])(r2).then((function(e3) {
var t3 = [];
0 == e3.code && e3.data.records.length && e3.data.records.forEach((function(e4) {
t3.push({ name: e4.name + "/" + e4.phoneNumber, id: e4.id });
})), a2.headPeopleList = t3;
}));
}, beforeClose: function() {
this.changeHeadPeople = false, this.getListData();
}, submitHeadPeople: function() {
var e2 = this, t2 = [];
t2.push(this.headPeopleObj.fsHouseId);
var a2 = this.headPeopleList.find((function(t3) {
return t3.id == e2.headPeopleObj.managerId;
}));
a2.name.includes("/") && (a2.name = a2.name.split("/")[0]);
var n2 = { houseIds: t2, projectUuid: this.query.projectUuid, managerName: a2.name, managerId: a2.id };
console.log(n2, "obj"), Object(i["jb"])(n2).then((function(t3) {
e2.changeHeadPeople = false, e2.headPeopleList = [], e2.headPeopleObj = {}, e2.getListData();
}));
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
} }, mounted: function() {
this.setAppealListGroup(), this.getListData(), this.getAreaList();
} }, u = l, c = (a("ee94"), a("829d")), d = Object(c["a"])(u, n, r, false, null, "21f314b2", null);
t["default"] = d.exports;
}, "0a0b": function(e, t, a) {
"use strict";
a("2f050");
}, "14d0": function(e, t, a) {
}, "2f050": function(e, t, a) {
}, "8abc": function(e, t, a) {
"use strict";
a.d(t, "h", (function() {
return r;
})), a.d(t, "b", (function() {
return i;
})), a.d(t, "g", (function() {
return o;
})), a.d(t, "e", (function() {
return s;
})), a.d(t, "c", (function() {
return l;
})), a.d(t, "a", (function() {
return u;
})), a.d(t, "f", (function() {
return c;
})), a.d(t, "d", (function() {
return d;
}));
var n = a("b775");
function r(e2) {
return Object(n["a"])({ url: "/appproject/CarSubscribe/pageList", method: "POST", data: e2 });
}
function i(e2) {
return Object(n["a"])({ url: "/appproject/project/findApproveConfig", method: "POST", data: e2 });
}
function o(e2) {
return Object(n["a"])({ url: "/appproject/project/updateApproveConfig", method: "POST", data: e2 });
}
function s(e2) {
return Object(n["a"])({ url: "/appproject/CustomerVisit/pageList", method: "POST", data: e2 });
}
function l(e2) {
return Object(n["a"])({ url: "/appproject/ChargeReceivable/houseFeePage", method: "POST", data: e2 });
}
function u(e2) {
return Object(n["a"])({ url: "/appproject/CustomerVisit/export", method: "POST", responseType: "blob", data: e2 });
}
function c(e2) {
return Object(n["a"])({ url: "/appproject/CustomerVisit/removeVisitPlan", method: "POST", data: e2 });
}
function d(e2) {
return Object(n["a"])({ url: "/appproject/ChargeReceivable/houseFeePage/export", method: "POST", data: e2 });
}
}, 9192: function(e, t, a) {
"use strict";
a.d(t, "z", (function() {
return r;
})), a.d(t, "b", (function() {
return i;
})), a.d(t, "j", (function() {
return o;
})), a.d(t, "l", (function() {
return s;
})), a.d(t, "v", (function() {
return l;
})), a.d(t, "y", (function() {
return u;
})), a.d(t, "A", (function() {
return c;
})), a.d(t, "a", (function() {
return d;
})), a.d(t, "q", (function() {
return p;
})), a.d(t, "o", (function() {
return h;
})), a.d(t, "p", (function() {
return f;
})), a.d(t, "u", (function() {
return m;
})), 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 _;
})), a.d(t, "w", (function() {
return w;
})), a.d(t, "k", (function() {
return q;
})), a.d(t, "x", (function() {
return j;
})), a.d(t, "h", (function() {
return C;
})), a.d(t, "g", (function() {
return S;
})), a.d(t, "m", (function() {
return k;
})), a.d(t, "f", (function() {
return L;
})), a.d(t, "r", (function() {
return T;
})), a.d(t, "i", (function() {
return N;
})), a.d(t, "d", (function() {
return O;
})), a.d(t, "c", (function() {
return I;
})), a.d(t, "C", (function() {
return $;
}));
var n = a("b775");
function r(e2) {
return Object(n["a"])({ url: "/appproject/PropertyCompany/pageList", method: "POST", data: e2 });
}
function i(e2) {
return Object(n["a"])({ url: "/appproject/PropertyCompany/create", method: "POST", data: e2 });
}
function o(e2) {
return Object(n["a"])({ url: "/appproject/PropertyCompany/update", method: "POST", data: e2 });
}
function s(e2) {
return Object(n["a"])({ url: "/appproject/PropertyCompany/findCompanyByCode", method: "POST", data: e2 });
}
function l(e2) {
return Object(n["a"])({ url: "/appproject/PropertyCompany/pageListByCode", method: "POST", data: e2 });
}
function u(e2) {
return Object(n["a"])({ url: "/appproject/OrderInfo/list", method: "POST", data: e2 });
}
function c(e2) {
return Object(n["a"])({ url: "/appproject/StaffEvaluate/listStaff", method: "POST", data: e2 });
}
function d(e2) {
return Object(n["a"])({ url: "/appproject/WorkOrder/listWork", method: "POST", data: e2 });
}
function p(e2) {
return Object(n["a"])({ url: "/project/FsCharges/create", method: "POST", data: e2 });
}
function h(e2) {
return Object(n["a"])({ url: "/project/FsCharges/findSubjectByUuid", method: "POST", data: e2 });
}
function f(e2) {
return Object(n["a"])({ url: "/project/FsCharges/findSubjectByUuid2", method: "POST", data: e2 });
}
function m(e2) {
return Object(n["a"])({ url: "/project/FsCharges/update", method: "POST", data: e2 });
}
function b(e2) {
return Object(n["a"])({ url: "/project/FsCharges/delete", method: "POST", data: e2 });
}
function g(e2) {
return Object(n["a"])({ url: "/project/FsCharges/resume", method: "POST", data: e2 });
}
function v(e2) {
return Object(n["a"])({ url: "/project/FsCharges/pageList", method: "POST", data: e2 });
}
function y(e2) {
return Object(n["a"])({ url: "/project/FsCharges/updateRel", method: "POST", data: e2 });
}
function _(e2) {
return Object(n["a"])({ url: "/project/FsCharges/findById", method: "POST", data: e2 });
}
function w(e2, t2) {
return Object(n["a"])({ url: "/project/FsCharges/importExcel" + t2, method: "post", isReturnResponse: true, responseType: "blob", headers: { "Content-Type": "multipart/form-data;charset=UTF-8" }, data: e2 });
}
function q(e2) {
return Object(n["a"])({ url: "/appproject/MemberEntryRecord/entryAndQuit", method: "POST", data: e2 });
}
function j(e2) {
return Object(n["a"])({ url: "/appproject/MemberEntryRecord/pageList", method: "POST", data: e2 });
}
function C(e2) {
return Object(n["a"])({ url: "/appproject/MemberEntryRecord/delete", method: "POST", data: e2 });
}
function S(e2) {
return Object(n["a"])({ url: "/project/FsCharges/pageList/company", method: "POST", data: e2 });
}
function k(e2) {
return Object(n["a"])({ url: "/project/FsCharges/findParkCharge", method: "POST", data: e2 });
}
function L(e2) {
return Object(n["a"])({ url: "/project/FsCharges/pageListV2", method: "POST", data: e2 });
}
function T(e2) {
return Object(n["a"])({ url: "/project/FsCharges/copy", method: "POST", data: e2 });
}
function N(e2) {
return Object(n["a"])({ url: "/project/FsCharges/deleteFsCharges", method: "POST", data: e2 });
}
function O(e2) {
return Object(n["a"])({ url: "/appproject/ChargePriceTemplate/pageList", method: "POST", data: e2 });
}
function I(e2) {
return Object(n["a"])({ url: "/appproject/ChargePriceTemplate/download", method: "POST", data: e2 });
}
function $(e2) {
return Object(n["a"])({ url: "/appproject/VideoImageCallback/pageList", method: "POST", data: e2 });
}
}, "9dca": function(e, t, a) {
"use strict";
a("14d0");
}, bb5f2: function(e, t, a) {
}, bc53: function(e, t, a) {
}, ce63: function(e, t, a) {
"use strict";
a.d(t, "c", (function() {
return r;
})), a.d(t, "g", (function() {
return i;
})), a.d(t, "i", (function() {
return o;
})), a.d(t, "o", (function() {
return s;
})), a.d(t, "b", (function() {
return l;
})), a.d(t, "k", (function() {
return u;
})), a.d(t, "h", (function() {
return c;
})), a.d(t, "j", (function() {
return d;
})), a.d(t, "p", (function() {
return p;
})), a.d(t, "d", (function() {
return h;
})), a.d(t, "e", (function() {
return f;
})), a.d(t, "f", (function() {
return m;
})), 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 n = a("b775");
function r(e2) {
return Object(n["a"])({ url: "/project/ChargePrice/treeList", method: "post", data: e2 });
}
function i(e2) {
return Object(n["a"])({ url: "/project/ChargePrice/create", method: "post", data: e2 });
}
function o(e2) {
return Object(n["a"])({ url: "/project/ChargePrice/delete", method: "post", data: e2 });
}
function s(e2) {
return Object(n["a"])({ url: "/project/ChargePrice/update", method: "post", data: e2 });
}
function l(e2) {
return Object(n["a"])({ url: "/project/ChargePrice/pageList", method: "post", data: e2 });
}
function u(e2) {
return Object(n["a"])({ url: "/appproject/ChargeFormula/getListByCategoryCode", method: "post", data: e2 });
}
function c(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/create", method: "post", data: e2 });
}
function d(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/delete", method: "post", data: e2 });
}
function p(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/update", method: "post", data: e2 });
}
function h(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/pageList", method: "post", data: e2 });
}
function f(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/findById", method: "post", data: e2 });
}
function m(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/useBatch", method: "post", data: e2 });
}
function b(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/getListByProjectUuid", method: "post", data: e2 });
}
function g(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/houseChargeTemplatePageList", method: "post", data: e2 });
}
function v(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/editHouseTemplate", method: "post", data: e2 });
}
function y(e2) {
return Object(n["a"])({ url: "/appproject/ChargesTemplate/batchDelete", method: "post", data: e2 });
}
}, e2f7: function(e, t, a) {
"use strict";
a.r(t);
var n = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "app-container bgHeight" }, [a2("div", { staticClass: "material" }, [a2("el-tabs", { attrs: { type: "border-card" }, model: { value: e2.activeName, callback: function(t3) {
e2.activeName = t3;
}, expression: "activeName" } }, [a2("el-tab-pane", { attrs: { label: "账期拖欠查询", name: "list" } }, [a2("List", { directives: [{ name: "show", rawName: "v-show", value: "list" === e2.activeName, expression: "activeName === 'list'" }] })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "催收记录", name: "sms" } }, [a2("SMS", { directives: [{ name: "show", rawName: "v-show", value: "sms" === e2.activeName, expression: "activeName === 'sms'" }] })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "欠费房屋推送记录", name: "push" } }, [a2("pushList", { directives: [{ name: "show", rawName: "v-show", value: "push" === e2.activeName, expression: "activeName === 'push'" }] })], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "欠费分析", name: "fee" } }, [a2("visitFee", { directives: [{ name: "show", rawName: "v-show", value: "fee" === e2.activeName, expression: "activeName === 'fee'" }] })], 1)], 1)], 1)]);
}, r = [], i = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("div", { staticClass: "defaultSearch" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 24 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "precinctId" } }, [a2("el-select", { attrs: { filterable: "", clearable: "", placeholder: "管理区名称" }, on: { change: e2.selectChange }, model: { value: e2.query.precinctId, callback: function(t3) {
e2.$set(e2.query, "precinctId", t3);
}, expression: "query.precinctId" } }, e2._l(e2.areaOptions, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "buildingIdList" } }, [a2("el-select", { attrs: { multiple: "", "collapse-tags": "", filterable: "", clearable: "", placeholder: "所有楼栋" }, on: { change: e2.changeBuild }, model: { value: e2.query.buildingIdList, callback: function(t3) {
e2.$set(e2.query, "buildingIdList", t3);
}, expression: "query.buildingIdList" } }, e2._l(e2.building, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "unitIdList" } }, [e2.query.buildingIdList.length > 1 ? a2("el-input", { attrs: { value: "所有单元", disabled: true } }) : a2("el-select", { attrs: { multiple: "", "collapse-tags": "", filterable: "", clearable: "", placeholder: "所有单元" }, on: { change: e2.changeUnit }, model: { value: e2.query.unitIdList, callback: function(t3) {
e2.$set(e2.query, "unitIdList", t3);
}, expression: "query.unitIdList" } }, e2._l(e2.unitList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "houseIds" } }, [e2.query.unitIdList.length > 1 || e2.query.buildingIdList.length > 1 ? a2("el-input", { attrs: { value: "所有房间", disabled: true } }) : a2("el-select", { attrs: { multiple: "", "collapse-tags": "", filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.query.houseIds, callback: function(t3) {
e2.$set(e2.query, "houseIds", t3);
}, expression: "query.houseIds" } }, e2._l(e2.houseArr, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "roomNum" } }, [a2("el-input", { attrs: { placeholder: "请输入房号", clearable: "" }, model: { value: e2.query.roomNum, callback: function(t3) {
e2.$set(e2.query, "roomNum", t3);
}, expression: "query.roomNum" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.searchClick } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { on: { click: e2.resetClick } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("el-row", { attrs: { gutter: 25 } }, [a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", [a2("el-form-item", { attrs: { label: "", prop: "fsChargesIds" } }, [a2("el-select", { staticClass: "form-item-content", attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "收费项" }, model: { value: e2.query.fsChargesIds, callback: function(t3) {
e2.$set(e2.query, "fsChargesIds", t3);
}, expression: "query.fsChargesIds" } }, e2._l(e2.chargeItemList, (function(e3) {
return a2("el-option", { key: e3.fsChargesId, attrs: { label: e3.name, value: e3.fsChargesId } });
})), 1)], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", [a2("div", { staticClass: "chargeNumber" }, [a2("el-form-item", { attrs: { prop: "queryTime" } }, [a2("el-date-picker", { attrs: { type: "monthrange", "range-separator": "至", format: "yyyy-MM", "value-format": "yyyy-MM", "start-placeholder": "起始账期", "end-placeholder": "截止账期", "picker-options": e2.disabledPastMonths }, model: { value: e2.queryTime, callback: function(t3) {
e2.queryTime = t3;
}, expression: "queryTime" } })], 1)], 1)])], 1), e2._v(" "), a2("el-col", { attrs: { span: 5 } }, [a2("el-form-item", { attrs: { prop: "subjectCodes" } }, [a2("el-select", { attrs: { placeholder: "科目", clearable: "", multiple: "", "collapse-tags": "", filterable: "" }, model: { value: e2.query.subjectCodes, callback: function(t3) {
e2.$set(e2.query, "subjectCodes", t3);
}, expression: "query.subjectCodes" } }, e2._l(e2.categoryArr, (function(e3) {
return a2("el-option", { key: e3.code, attrs: { label: e3.name, value: e3.code } });
})), 1)], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "totalBar" }, [a2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [a2("el-descriptions", { attrs: { column: 4, colon: false } }, [a2("template", { slot: "title" }, [e2._v("辅助统计")]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "欠费合计:" } }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisicTotal.total_fee)))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "拖欠本金:" } }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisicTotal.base_fee)))]), e2._v(" "), a2("el-descriptions-item", { attrs: { label: "拖欠违约金:" } }, [e2._v(e2._s(e2._f("toThousandFilter")(e2.statisicTotal.late_fee)))])], 2)], 1)], 1), e2._v(" "), a2("div", { staticClass: "defaultHeader" }, [a2("div", { staticClass: "title" }, [e2._v("账单拖欠记录")]), e2._v(" "), a2("div", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "success", loading: e2.downloading }, on: { click: e2.downloadExcel } }, [e2._v("下载Excel")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
return e2.sendClick("part");
} } }, [e2._v("催收已选部分")]), e2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: function(t3) {
return e2.sendClick("all");
} } }, [e2._v("全部催收")])], 1)]), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], ref: "dataTable", staticStyle: { width: "100%" }, attrs: { border: "", data: e2.tableData, "row-key": "pageIndex", "header-cell-style": { background: "#f5f7fa", color: "#606266" }, fit: "", "highlight-current-row": "" }, on: { "selection-change": e2.selectList } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "50", type: "selection", "show-overflow-tooltip": "", "reserve-selection": true } }), 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("el-link", { attrs: { type: "primary", underline: false }, on: { click: function(a3) {
return e2.gotoHouseDeyailes(t3.row);
} } }, [e2._v(e2._s(t3.row.precinctName ? t3.row.precinctName + "-" + t3.row.buildingName + "-" + t3.row.unitName + "-" + t3.row.roomNum : "-"))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "债务人", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.debtorBy || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "债务人手机号", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.debtorMobile || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计费账期", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.chargeDate || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "科目", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.subjectName || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "收费项", "min-width": "170", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.fsChargesName || "-") + "\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(t3.row.chargeDateStart || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "截止账期", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.chargeDateEnd || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "拖欠期数", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.chargeNumber || 0) + "\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(t3.row.unPaidDate || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "本金", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.baseAmount)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "违约金", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.lateFee)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "right", label: "合计", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("toThousandFilter")(t3.row.totalAmount)) + "\n ")];
} }]) })], 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: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "催收通知类型", visible: e2.pushVisible, width: "30%", "before-close": e2.pushClose }, on: { "update:visible": function(t3) {
e2.pushVisible = t3;
} } }, [a2("div", [a2("el-table", { ref: "pushTable", attrs: { border: "", data: e2.pushList, "header-cell-style": { background: "#f5f7fa", color: "#606266" } }, on: { "selection-change": e2.pushSelect } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50", type: "selection" } }), e2._v(" "), a2("el-table-column", { attrs: { label: "通知对象", width: "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.object) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "通知方式", width: "150" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.way) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { label: "说明" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [1 == t3.row.value ? a2("span", [e2._v("\n " + e2._s("短信剩余" + e2.haveNum + "条") + "\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "当剩余短信数量不够本次催收所需发送短信数量时,则不会发送短信。请重点关注!", placement: "bottom-start" } }, [a2("i", { staticClass: "el-icon-question" })])], 1) : a2("span", [e2._v(e2._s(t3.row.msg || "-"))])];
} }]) })], 1)], 1), e2._v(" "), a2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [a2("el-button", { on: { click: e2.pushClose } }, [e2._v("取 消")]), e2._v(" "), a2("el-button", { attrs: { type: "primary", loading: e2.btnLoading }, on: { click: e2.toSend } }, [e2._v("确 定")])], 1)])], 1);
}, o = [], s = a("2b74"), l = a("b775");
function u(e2) {
return Object(l["a"])({ url: "/appproject/ChargeReceivable/listFee", method: "post", data: e2 });
}
function c(e2) {
return Object(l["a"])({ url: "/appproject/ChargeReceivable/exportFee", responseType: "blob", method: "post", data: e2 });
}
function d(e2) {
return Object(l["a"])({ url: "/appproject/ChargeReceivable/smsCollectionFee", method: "post", data: e2 });
}
function p(e2) {
return Object(l["a"])({ url: "/appproject/SmsSendBatch/pageList", method: "post", data: e2 });
}
function h(e2) {
return Object(l["a"])({ url: "/appproject/SmsSendHouse/pageList", method: "post", data: e2 });
}
function f(e2) {
return Object(l["a"])({ url: "/appproject/SmsAccount/findByCompanyId", method: "post", data: e2 });
}
function m(e2) {
return Object(l["a"])({ url: "/appproject/ChargeReceivable/listFeeTotal", method: "post", data: e2 });
}
function b(e2) {
return Object(l["a"])({ url: "/appproject/CenterMsgDetail/dailyPageList", method: "post", data: e2 });
}
function g(e2) {
return Object(l["a"])({ url: "/appproject/CenterMsgDetail/pageList", method: "post", data: e2 });
}
var v = a("ce63"), y = a("9192"), _ = a("dd26"), w = a.n(_), q = { data: function() {
return { typeList: [{ value: 1, label: "特大风险" }, { value: 2, label: "重大风险" }, { value: 3, label: "中等风险" }], tableLoading: false, downloading: false, btnLoading: false, pushVisible: false, checkList: [], tableData: [], houseArr: [], total: 0, queryTime: "", query: { pageSize: 10, pageNumber: 1, precinctId: "", buildingId: "", buildingIdList: [], unitId: "", unitIdList: [], fsHouseId: "", houseIds: [], roomNum: "", chargeDates: [], fsChargesIds: [], numberEnd: void 0, numberStart: void 0, end: void 0, start: void 0, chargeDateStart: "", chargeDateEnd: "", subjectCodes: [] }, pushList: [{ object: "债务人", way: "微信公众号", msg: "", value: 2 }, { object: "债务人", way: "短信", msg: "", value: 1 }, { object: "项目负责人", way: "微信公众号", msg: "公众号推送", value: 9 }, { object: "所有住户", way: "微信公众号", msg: "关注公众号并绑定账号的住户", value: 99 }], sendType: "", areaOptions: [], building: [], unitList: [], chargeItemList: [], selectionList: [], type: "", status: false, haveNum: 0, statisicTotal: {}, allMember: false, categoryArr: [], disabledPastMonths: { disabledDate: function(e2) {
return e2.getTime() > Date.now();
} } };
}, mounted: function() {
this.$route.query.dangerousType && this.$route.query.dangerousValue && ("one" == this.$route.query.dangerousType && (this.queryTime = [w()().subtract(48, "months").format("YYYY-MM"), w()().format("YYYY-MM")]), "two" == this.$route.query.dangerousType && (this.queryTime = [w()().subtract(24, "months").format("YYYY-MM"), w()().subtract(19, "months").format("YYYY-MM")]), "three" == this.$route.query.dangerousType && (this.queryTime = [w()().subtract(18, "months").format("YYYY-MM"), w()().subtract(13, "months").format("YYYY-MM")])), this.getAreaList(), this.getChargeItemsList(), this.findSubjectBy(), this.getList(), this.getSms();
}, methods: { findSubjectBy: function() {
var e2 = this;
Object(y["o"])({ projectUuid: this.$store.state.community_uuid, subjectType: 3 }).then((function(t2) {
0 == t2.code && (e2.categoryArr = t2.data);
}));
}, getList: function() {
var e2 = this;
this.tableLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.queryTime ? (this.query.chargeDateStart = this.queryTime[0], this.query.chargeDateEnd = this.queryTime[1]) : (this.query.chargeDateStart = "", this.query.chargeDateEnd = ""), this.getlistFeeTotal(), u(this.query).then((function(t2) {
t2.data.records.map((function(t3, a2) {
t3.pageIndex = (e2.query.pageNumber - 1) * e2.query.pageSize + (a2 + 1);
})), e2.tableData = t2.data.records, console.log(e2.tableData), e2.total = t2.data.rowsCount, e2.tableLoading = false;
}));
}, getlistFeeTotal: function() {
var e2 = this;
m(this.query).then((function(t2) {
0 === t2.code && (e2.statisicTotal = t2.data);
}));
}, selectList: function(e2) {
this.selectionList = e2;
}, getSms: function() {
var e2 = this;
f({ id: this.$store.state.companyId, uuid: this.$store.state.community_uuid }).then((function(t2) {
t2.data.rechargeNum && t2.data.rechargeNum > 0 ? e2.haveNum = t2.data.rechargeNum - t2.data.useNum : e2.hvaeNum = 0;
}));
}, getAreaList: function() {
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 };
Object(s["f"])(t2).then((function(t3) {
0 === t3.code && (e2.areaOptions = t3.data);
}));
}, getChargeItemsList: function() {
var e2 = this, t2 = { pageNumber: -1, pageSize: -1, projectUuid: this.$store.state.community_uuid };
Object(v["b"])(t2).then((function(t3) {
e2.chargeItemList = t3.data.records;
}));
}, selectChange: function(e2) {
this.building = [], this.query.buildingId = "", this.query.buildingIdList = [], this.unitList = [], this.query.unitId = "", this.query.unitIdList = [], this.houseArr = [], this.query.fsHouseId = "", this.query.houseIds = [], e2 && this.getBuild();
}, getBuild: function() {
var e2 = this;
Object(s["x"])({ precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 }).then((function(t2) {
e2.building = t2.data;
}));
}, changeBuild: function() {
this.unitList = [], this.query.unitId = "", this.query.unitIdList = [], this.houseArr = [], this.query.fsHouseId = "", this.query.houseIds = [], this.getUnit();
}, changeUnit: function() {
this.houseArr = [], this.query.fsHouseId = "", this.query.houseIds = [], this.getHouseList();
}, getUnit: function() {
var e2 = this;
Object(s["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingIds: this.query.buildingIdList }).then((function(t2) {
e2.unitList = t2.data.records;
}));
}, getHouseList: function() {
var e2 = this, t2 = { projectCode: this.$store.state.community_uuid, precinctId: this.query.precinctId, buildingIds: this.query.buildingIdList, unitIds: this.query.unitIdList, pageSize: -1 };
Object(s["M"])(t2).then((function(t3) {
0 === t3.code && (e2.houseArr = t3.data.records);
}));
}, selectionChange: function(e2) {
this.selectList = e2;
}, searchClick: function() {
this.query.pageNumber = 1, this.getList();
}, resetClick: function() {
this.$refs["query"].resetFields(), this.query.start = void 0, this.query.end = void 0, this.query.numberStart = void 0, this.query.numberEnd = void 0, this.query.pageNumber = 1, this.queryTime = "", this.getList();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getList();
}, downloadExcel: function() {
var e2 = this;
this.downloading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.start && this.query.end && (this.query.numberStart = this.query.start, this.query.numberEnd = this.query.end), c(this.query).then((function(t2) {
var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" });
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2);
else {
var n2 = document.createElement("a");
n2.download = "账期拖欠列表.xls", n2.href = URL.createObjectURL(a2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2), e2.downloading = false;
}
})).catch((function(t2) {
e2.downloading = false;
}));
}, setMonths: function() {
for (var e2 = /* @__PURE__ */ new Date(), t2 = e2.getFullYear() - 3, a2 = [], n2 = 0; n2 < 7; n2++) for (var r2 = 1; r2 <= 12; r2++) a2.push({ key: a2.length + 1, value: "".concat(t2 + n2, "-").concat(r2 <= 9 ? "0" + r2 : r2) });
return a2;
}, selectVisibleChange: function(e2) {
var t2 = this, a2 = /* @__PURE__ */ new Date(), n2 = "".concat(a2.getFullYear(), "-").concat(a2.getMonth() < 10 ? "0".concat(a2.getMonth() + 1) : a2.getMonth() + 1), r2 = this.setMonths().findIndex((function(e3, t3) {
return e3.value === n2;
}));
if (e2) {
var i2 = 34 * (r2 - 2);
this.$nextTick((function() {
t2.$refs.selectChargeDates.$refs.scrollbar.$refs.wrap.scrollTop = i2;
}));
}
}, gotoHouseDeyailes: function(e2) {
this.$router.push({ path: "/viewInfo/roomDetails", query: { id: e2.fsHouseId, type: 0 } });
}, sendClick: function(e2) {
"part" == e2 && this.selectionList.length <= 0 ? this.$message({ message: "请选择需要催收的数据!", type: "warning" }) : (this.sendType = e2, this.pushVisible = true);
}, pushSelect: function(e2) {
if (console.log(e2), e2.length > 0) {
var t2 = [];
e2.map((function(e3) {
t2.push(e3.value);
})), t2.includes(1) && t2.includes(2) ? this.type = 3 : t2.includes(1) ? this.type = 1 : t2.includes(2) && (this.type = 2), t2.includes(9) ? this.status = true : this.status = false, t2.includes(99) ? this.allMember = true : this.allMember = false;
} else this.type = "", this.status = false;
}, toSend: function() {
var e2 = this;
if ("" == this.type && !this.status && !this.allMember) return this.$message({ message: "请选择催收通知类型!", type: "warning" }), false;
var t2 = {};
"all" == this.sendType ? (this.query.projectUuid = this.$store.state.community_uuid, this.query.start && this.query.end && (this.query.numberStart = this.query.start, this.query.numberEnd = this.query.end), this.query.allCollection = true, t2 = this.query) : "part" == this.sendType && (t2 = { dtoList: this.selectionList, allCollection: false }), t2.projectUuid = this.$store.state.community_uuid, t2.projectName = this.$store.state.community_name, t2.memberName = this.$store.state.user.userInfo.memberName, t2.memberId = this.$store.state.user.userInfo.memberId, t2.type = this.type, t2.status = this.status, t2.allMember = this.allMember, this.btnLoading = true, d(t2).then((function(t3) {
0 == t3.code ? (e2.$message({ message: "催收数据提交成功!", type: "success" }), e2.$refs.dataTable.clearSelection(), e2.pushClose(), e2.getList(), e2.btnLoading = false) : e2.btnLoading = false;
})).catch((function() {
e2.btnLoading = false;
}));
}, pushClose: function() {
this.$refs.pushTable.clearSelection(), this.pushVisible = false;
} } }, j = q, C = (a("0a0b"), a("829d")), S = Object(C["a"])(j, i, o, false, null, "c89cd48a", null), k = S.exports, L = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("div", { staticClass: "smsSearch" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 25 } }, [a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "batchNo" } }, [a2("el-input", { attrs: { placeholder: "输入批次号", clearable: "" }, model: { value: e2.query.batchNo, callback: function(t3) {
e2.$set(e2.query, "batchNo", t3);
}, expression: "query.batchNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", { attrs: { prop: "sendUserId" } }, [a2("el-select", { attrs: { placeholder: "选择发送人", filterable: "", clearable: "" }, model: { value: e2.query.sendUserId, callback: function(t3) {
e2.$set(e2.query, "sendUserId", t3);
}, expression: "query.sendUserId" } }, e2._l(e2.userList, (function(e3) {
return a2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 3 } }, [a2("el-form-item", { attrs: { prop: "type" } }, [a2("el-select", { attrs: { placeholder: "选择催收方式", clearable: "" }, model: { value: e2.query.type, callback: function(t3) {
e2.$set(e2.query, "type", t3);
}, expression: "query.type" } }, e2._l(e2.pushTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 3 } }, [a2("el-form-item", { attrs: { prop: "sourceType" } }, [a2("el-select", { attrs: { placeholder: "选择催收来源", clearable: "" }, model: { value: e2.query.sourceType, callback: function(t3) {
e2.$set(e2.query, "sourceType", t3);
}, expression: "query.sourceType" } }, e2._l(e2.sourceTypeList, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 7 } }, [a2("el-form-item", { attrs: { prop: "time" } }, [a2("el-date-picker", { attrs: { format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "default-time": ["00:00:00", "23:59:59"], type: "datetimerange", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期" }, model: { value: e2.query.time, callback: function(t3) {
e2.$set(e2.query, "time", t3);
}, expression: "query.time" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 3 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.searchClick } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { on: { click: e2.resetClick } }, [e2._v("重置")])], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "smsHeader" }, [e2._v("催收记录")]), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], ref: "dataTable", staticStyle: { width: "100%" }, attrs: { border: "", data: e2.tableData, "header-cell-style": { background: "#f5f7fa", color: "#606266" }, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "80" }, 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: "发送批次号", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.batchNo || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "来源", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.sourceType, e2.sourceTypeList)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "催收方式", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.type, e2.pushTypeList)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发送条数", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.sendPcs || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "已读", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.totalRead || 0) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发送人", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.sendUser || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发送时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.createDate || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.seeClick(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: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1), e2._v(" "), a2("record", { ref: "detailRecord", attrs: { show: e2.detailVisible }, on: { close: e2.close } })], 1);
}, T = [], N = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("el-dialog", { attrs: { title: "催收明细", visible: e2.show, width: "90%", "before-close": e2.close }, on: { "update:visible": function(t3) {
e2.show = t3;
} } }, [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], ref: "dataTable", staticStyle: { width: "100%" }, attrs: { border: "", data: e2.tableData, "header-cell-style": { background: "#f5f7fa", color: "#606266" }, fit: "", "highlight-current-row": "" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "60" }, 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: "项目", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.projectName || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "房屋", "min-width": "130", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.houseNo || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "缴费人", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.houseMemberName || "-") + "\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(t3.row.mobile || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "内容", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.smsContent || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发送状态", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(t3.row.status, e2.smsSendStatus)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发送人", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.sendUser || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发送时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.createDate || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "查看时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.readData || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "缴费时间", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.payTime || "-") + "\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 [t3.row.orderNo ? a2("span", [e2._v(e2._s(e2._f("toThousandFilter")(t3.row.payAmount)))]) : a2("span", [e2._v("-")])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "支付订单号", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.orderNo || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [3 == t3.row.createDate ? a2("el-button", { attrs: { type: "text", disabled: "" } }, [e2._v("重新发送")]) : a2("span", [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: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1)], 1);
}, O = [], I = a("dce5"), $ = { props: { show: { type: Boolean, default: false } }, data: function() {
return { smsSendStatus: I["jc"], tableLoading: false, tableData: [], saveData: {}, detailVisible: false, total: 0, query: { pageNumber: 1, pageSize: 10 } };
}, mounted: function() {
}, methods: { init: function(e2) {
this.saveData = e2, this.getList();
}, getList: function() {
var e2 = this;
this.query.batchNo = this.saveData.batchNo, h(this.query).then((function(t2) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
}));
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getList();
}, close: function() {
this.$emit("close");
} } }, x = $, P = Object(C["a"])(x, N, O, false, null, null, null), D = P.exports, z = { components: { record: D }, data: function() {
return { sourceTypeList: I["kc"], pushTypeList: I["Vb"], tableData: [], userList: [], tableLoading: false, detailVisible: false, total: 0, query: { templateId: "", batchNo: "", sendUserId: "", time: "", startDate: "", sourceType: "", endDate: "", pageNumber: 1, pageSize: 10 } };
}, mounted: function() {
this.getList(), this.getUserList();
}, methods: { getList: function() {
var e2 = this;
this.tableLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.startDate = this.query.time ? this.query.time[0] : "", this.query.endDate = this.query.time ? this.query.time[1] : "", p(this.query).then((function(t2) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount, e2.tableLoading = false;
}));
}, getUserList: function() {
var e2 = this;
Object(s["F"])({ id: this.$store.state.id }).then((function(t2) {
e2.userList = t2.data;
}));
}, searchClick: function() {
this.query.pageNumber = 1, this.getList();
}, resetClick: function() {
this.$refs["query"].resetFields(), this.query.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getList();
}, seeClick: function(e2) {
this.detailVisible = true, this.$nextTick((function() {
this.$refs.detailRecord.init(e2);
}));
}, close: function() {
this.detailVisible = false;
} } }, F = z, M = (a("9dca"), Object(C["a"])(F, L, T, false, null, null, null)), U = M.exports, H = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [a2("div", { staticClass: "smsSearch" }, [a2("el-form", { ref: "query", attrs: { model: e2.query } }, [a2("el-row", { attrs: { gutter: 25 } }, [a2("el-col", { attrs: { span: 7 } }, [a2("el-form-item", [a2("el-date-picker", { attrs: { type: "daterange", "value-format": "yyyy-MM-dd", format: "yyyy-MM-dd", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期" }, model: { value: e2.time, callback: function(t3) {
e2.time = t3;
}, expression: "time" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 4 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.searchClick } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { on: { click: e2.resetClick } }, [e2._v("重置")])], 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "smsHeader" }, [e2._v("欠费房屋推送记录列表(房屋负责人)")]), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], ref: "dataTable", staticStyle: { width: "100%" }, attrs: { border: "", data: e2.tableData, "header-cell-style": { background: "#f5f7fa", color: "#606266" } } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "80" }, 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: "推送日期", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(e2.timeFormat(t3.row.createTime)) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "推送人数", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.pushNum || 0) + "\n\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "查阅人数", "min-width": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.readNum || 0) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", width: "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.seeClick(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: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1), e2._v(" "), a2("el-dialog", { attrs: { title: "查阅详情", visible: e2.detailVisible, "close-on-click-modal": false, "close-on-press-escape": false, width: "50%", "before-close": e2.detailClose }, on: { "update:visible": function(t3) {
e2.detailVisible = t3;
} } }, [a2("el-form", { ref: "detail", attrs: { model: e2.detail } }, [a2("el-row", { attrs: { gutter: 25 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "toUserName" } }, [a2("el-input", { attrs: { placeholder: "输入姓名", clearable: "" }, model: { value: e2.detail.toUserName, callback: function(t3) {
e2.$set(e2.detail, "toUserName", t3);
}, expression: "detail.toUserName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "status" } }, [a2("el-select", { attrs: { placeholder: "选择发送人", clearable: "" }, model: { value: e2.detail.status, callback: function(t3) {
e2.$set(e2.detail, "status", t3);
}, expression: "detail.status" } }, [a2("el-option", { attrs: { label: "未查阅", value: 1 } }), e2._v(" "), a2("el-option", { attrs: { label: "已查阅", value: 2 } })], 1)], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 8 } }, [a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.detailSearch } }, [e2._v("搜索")]), e2._v(" "), a2("el-button", { on: { click: e2.detailReset } }, [e2._v("重置")])], 1)], 1)], 1)], 1), e2._v(" "), a2("el-table", { attrs: { border: "", data: e2.detailTableData, "header-cell-style": { background: "#f5f7fa", color: "#606266" } } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "80" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.$index + (e2.detail.pageNumber - 1) * e2.detail.pageSize + 1))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.toUserName || 0) + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "是否查阅", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [1 == t3.row.status ? a2("el-tag", { attrs: { type: "info" } }, [e2._v("未查阅")]) : e2._e(), e2._v(" "), 2 == t3.row.status ? a2("el-tag", { attrs: { type: "success" } }, [e2._v("已查阅")]) : e2._e()];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "推送时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.createTime || "-") + "\n ")];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "首次查阅时间", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v("\n " + e2._s(t3.row.readTime || "-") + "\n ")];
} }]) })], 1), e2._v(" "), a2("div", { staticClass: "paginations" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.detail.pageNumber, "page-sizes": [10, 30, 50, 100, 200], "page-size": e2.detail.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.detailTotal }, on: { "size-change": e2.detailSizeChange, "current-change": e2.detailCurrentChange } })], 1)], 1)], 1);
}, R = [], B = { data: function() {
return { tableData: [], tableLoading: false, detailVisible: false, total: 0, time: "", query: { startDate: "", endDate: "", pageNumber: 1, pageSize: 10 }, detailTableData: [], detailTotal: 0, detail: { toUserName: "", status: "", pageNumber: 1, pageSize: 10, messageType: 1 }, saveData: {} };
}, mounted: function() {
this.getList();
}, methods: { getList: function() {
var e2 = this;
this.tableLoading = true, this.query.projectUuid = this.$store.state.community_uuid, this.query.startDate = this.time ? this.time[0] : "", this.query.endDate = this.time ? this.time[1] : "", b(this.query).then((function(t2) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount, e2.tableLoading = false;
}));
}, searchClick: function() {
this.query.pageNumber = 1, this.getList();
}, resetClick: function() {
this.time = "", this.query.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.query.pageSize = e2, this.query.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.query.pageNumber = e2, this.getList();
}, seeClick: function(e2) {
this.saveData = JSON.parse(JSON.stringify(e2)), this.getDetailList(), this.$nextTick((function() {
this.detailVisible = true;
}));
}, detailClose: function() {
this.detailVisible = false;
}, getDetailList: function() {
var e2 = this;
this.detail.date = this.timeFormat(this.saveData.createTime), this.detail.projectUuid = this.saveData.projectUuid, g(this.detail).then((function(t2) {
e2.detailTableData = t2.data.records, e2.detailTotal = t2.data.rowsCount;
}));
}, detailSizeChange: function(e2) {
this.detail.pageSize = e2, this.detail.pageNumber = 1, this.getDetailList();
}, detailCurrentChange: function(e2) {
this.detail.pageNumber = e2, this.getDetailList();
}, detailSearch: function() {
this.detail.pageNumber = 1, this.getDetailList();
}, detailReset: function() {
this.$refs["detail"].resetFields(), this.detail.pageNumber = 1, this.getDetailList();
}, timeFormat: function(e2) {
return e2 ? e2.substring(0, 10) : "-";
}, close: function() {
this.detailVisible = false;
} } }, V = B, A = (a("ebf6"), Object(C["a"])(V, H, R, false, null, null, null)), Y = A.exports, E = a("030a"), G = { name: "prestorage", components: { List: k, SMS: U, pushList: Y, visitFee: E["default"] }, data: function() {
return { activeName: "list" };
}, created: function() {
}, methods: {}, mounted: function() {
this.$route.query.activeName && (this.activeName = this.$route.query.activeName);
} }, J = G, Q = Object(C["a"])(J, n, r, false, null, null, null);
t["default"] = Q.exports;
}, ebf6: function(e, t, a) {
"use strict";
a("bc53");
}, ee94: function(e, t, a) {
"use strict";
a("bb5f2");
} }]);