214 lines
20 KiB
JavaScript
214 lines
20 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-6bd6c59a"], { "000d": function(e, t, i) {
|
||
"use strict";
|
||
i("1b67");
|
||
}, "1b67": function(e, t, i) {
|
||
}, 7892: function(e, t, i) {
|
||
"use strict";
|
||
var n = function() {
|
||
var e2 = this, t2 = e2.$createElement, i2 = e2._self._c || t2;
|
||
return i2("div", { staticClass: "app-container bgHeight" }, [i2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [i2("el-form", { ref: "query", attrs: { model: e2.query } }, [i2("div", { ref: "form_box", staticClass: "searchBar" }, [i2("div", { staticClass: "searchInput" }, [i2("el-row", { attrs: { gutter: 20 } }, [i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "precinctId" } }, [i2("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 i2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "buildingId" } }, [i2("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 i2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "unitId" } }, [i2("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 i2("el-option", { key: e3.id, attrs: { label: e3.name, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "houseId" } }, [i2("el-select", { staticClass: "form-item-content", attrs: { filterable: "", clearable: "", placeholder: "选择房间" }, model: { value: e2.query.houseId, callback: function(t3) {
|
||
e2.$set(e2.query, "houseId", t3);
|
||
}, expression: "query.houseId" } }, e2._l(e2.houseList, (function(e3) {
|
||
return i2("el-option", { key: e3.id, attrs: { label: e3.roomNum, value: e3.id } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { label: "", prop: "visitReason" } }, [i2("el-select", { staticClass: "form-item-content", attrs: { clearable: "", placeholder: "欠费原因" }, model: { value: e2.query.visitReason, callback: function(t3) {
|
||
e2.$set(e2.query, "visitReason", t3);
|
||
}, expression: "query.visitReason" } }, e2._l(e2.appealList, (function(e3) {
|
||
return i2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { label: "", prop: "visitTypeList" } }, [i2("el-select", { staticClass: "form-item-content", attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "拜访方式" }, model: { value: e2.query.visitTypeList, callback: function(t3) {
|
||
e2.$set(e2.query, "visitTypeList", t3);
|
||
}, expression: "query.visitTypeList" } }, e2._l(e2.visitTypeList, (function(e3) {
|
||
return i2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "houseMemberName" } }, [i2("el-input", { attrs: { placeholder: "拜访对象", clearable: "" }, model: { value: e2.query.houseMemberName, callback: function(t3) {
|
||
e2.$set(e2.query, "houseMemberName", t3);
|
||
}, expression: "query.houseMemberName" } })], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { label: "", prop: "sourceList" } }, [i2("el-select", { staticClass: "form-item-content", attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "来源" }, model: { value: e2.query.sourceList, callback: function(t3) {
|
||
e2.$set(e2.query, "sourceList", t3);
|
||
}, expression: "query.sourceList" } }, e2._l(e2.sourceList, (function(e3) {
|
||
return i2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
||
})), 1)], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "visitTime" } }, [i2("el-date-picker", { attrs: { type: "daterange", "range-separator": "-", "start-placeholder": "待拜访开始日期", "end-placeholder": "待拜访结束日期", align: "right", clearable: "" }, model: { value: e2.createTime, callback: function(t3) {
|
||
e2.createTime = t3;
|
||
}, expression: "createTime" } })], 1)], 1), e2._v(" "), i2("el-col", { attrs: { span: 6 } }, [i2("el-form-item", { attrs: { prop: "memberName" } }, [i2("el-input", { attrs: { clearable: "", placeholder: "请输入执行人" }, model: { value: e2.query.memberName, callback: function(t3) {
|
||
e2.$set(e2.query, "memberName", t3);
|
||
}, expression: "query.memberName" } })], 1)], 1)], 1)], 1), e2._v(" "), i2("div", { staticClass: "searchBtn" }, [i2("el-form-item", [i2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(t3) {
|
||
return e2.resetFormQuery("query");
|
||
} } }, [e2._v("重置")]), e2._v(" "), i2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : i2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), i2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? i2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), i2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), i2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [i2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [i2("span", { staticClass: "planTitle" }, [e2._v("待拜访记录列表")]), e2._v(" "), i2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary", loading: e2.fixLoading }, on: { click: e2.oneKeyFix } }, [e2._v("\n 一键修复\n ")]), e2._v(" "), i2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "一键排除没有物业费欠费的房屋的待拜访计划", placement: "bottom-end" } }, [i2("i", { staticClass: "el-icon-warning" })])], 1), e2._v(" "), i2("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 } }, [i2("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(" "), i2("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(" "), i2("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(" "), i2("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(" "), i2("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(" "), i2("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.houseMemberName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.visitType, e2.visitTypeList)) + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.memberName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.source, e2.sourceList)) + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.memberName || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.createTime || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "AI拜访建议", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(t3.row.aiSuggestion || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "回款概率", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [null !== t3.row.expectedCollectionRate && void 0 !== t3.row.expectedCollectionRate ? i2("span", [e2._v("\n " + e2._s((100 * Number(t3.row.expectedCollectionRate)).toFixed(2)) + "%\n ")]) : i2("span", [e2._v("-")])];
|
||
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "是否需要阅读话术", "min-width": "60", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
||
return [e2._v("\n " + e2._s(1 == t3.row.needReadScript ? "是" : "否") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.updateRemark || "-") + "\n ")];
|
||
} }]) }), e2._v(" "), i2("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.updateTime || "-") + "\n ")];
|
||
} }]) })], 1), e2._v(" "), i2("div", { staticClass: "paginations" }, [i2("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)], 1)], 1);
|
||
}, a = [], s = i("2b74"), r = i("dce5"), o = i("8abc"), l = { data: function() {
|
||
return { is_show: false, height: "", listData: [], listLoading: false, fixLoading: false, total: 0, visitTypeList: r["zc"], appealList: r["n"], sourceList: r["yc"], createTime: "", query: { precinctId: "", buildingId: "", unitId: "", houseId: "", visitReason: "", visitTypeList: [], houseMemberName: "", pageNumber: 1, pageSize: 10, status: 1, sourceList: [], startTime: "", endTime: "", memberName: "" }, areaOptions: [], building: [], unitList: [], houseList: [], selectList: [] };
|
||
}, created: function() {
|
||
this.headClass(), this.getRealHeight(), this.query.projectUuid = this.$store.state.community_uuid;
|
||
}, methods: { setDefaultVisitDate: function() {
|
||
var e2 = this.$moment().startOf("month"), t2 = this.$moment();
|
||
this.createTime = [e2.toDate(), t2.toDate()], this.query.startTime = e2.startOf("day").format("YYYY-MM-DD HH:mm:ss"), this.query.endTime = t2.endOf("day").format("YYYY-MM-DD HH:mm:ss");
|
||
}, getVisitReasonText: function(e2) {
|
||
if (0 === e2) return "-";
|
||
var t2 = this.appealList.find((function(t3) {
|
||
return t3.value == e2;
|
||
}));
|
||
return t2 ? t2.label : "-";
|
||
}, getListData: function() {
|
||
var e2 = this;
|
||
this.listLoading = true, Object(o["e"])(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;
|
||
}));
|
||
}, oneKeyFix: function() {
|
||
var e2 = this, t2 = this.query.projectUuid || this.$store.state.community_uuid;
|
||
t2 ? this.$confirm("确认执行一键修复?将排除没有物业费欠费的房屋待拜访计划。", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then((function() {
|
||
return e2.fixLoading = true, Object(o["f"])({ uuid: t2 });
|
||
})).then((function() {
|
||
e2.$message && e2.$message.success("修复完成"), e2.query.pageNumber = 1, e2.getListData();
|
||
})).catch((function() {
|
||
})).finally((function() {
|
||
e2.fixLoading = false;
|
||
})) : this.$message && this.$message.warning("未获取到项目uuid,无法执行修复");
|
||
}, 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";
|
||
}));
|
||
}, getAreaList: function() {
|
||
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageSize: -1, pageNumber: -1 };
|
||
Object(s["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.houseId = "", 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, pageSize: -1, pageNumber: -1 }).then((function(t2) {
|
||
e2.building = t2.data;
|
||
}));
|
||
}, changeBuild: function() {
|
||
this.unitList = [], this.query.unitId = "", this.houseList = [], this.query.houseId = "", this.getUnit();
|
||
}, getUnit: function() {
|
||
var e2 = this;
|
||
Object(s["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.houseId = "", this.getHouseList();
|
||
}, getHouseList: function() {
|
||
var e2 = this, t2 = { projectCode: this.query.projectUuid, precinctId: this.query.precinctId, buildingId: this.query.buildingId, unitId: this.query.unitId, pageSize: -1, pageNumber: -1 };
|
||
Object(s["M"])(t2).then((function(t3) {
|
||
0 === t3.code && (e2.houseList = t3.data.records);
|
||
}));
|
||
}, onSearch: function() {
|
||
this.createTime && 2 === this.createTime.length ? (this.query.startTime = this.$moment(this.createTime[0]).startOf("day").format("YYYY-MM-DD HH:mm:ss"), this.query.endTime = this.$moment(this.createTime[1]).endOf("day").format("YYYY-MM-DD HH:mm:ss")) : (this.query.startTime = "", this.query.endTime = ""), this.query.pageNumber = 1, this.getListData();
|
||
}, resetFormQuery: function(e2) {
|
||
this.$refs[e2].resetFields(), this.createTime = "", this.query.startTime = "", this.query.endTime = "", this.query.pageNumber = 1, this.getListData();
|
||
}, handleSizeChange: function(e2) {
|
||
this.query.pageSize = e2, this.getListData();
|
||
}, handleCurrentChange: function(e2) {
|
||
this.query.pageNumber = e2, this.getListData();
|
||
}, headClass: function() {
|
||
return "text-align:center;background:#FAFAFA;";
|
||
} }, mounted: function() {
|
||
this.setDefaultVisitDate(), this.getListData(), this.getAreaList();
|
||
} }, u = l, c = (i("000d"), i("829d")), d = Object(c["a"])(u, n, a, false, null, "714a617c", null);
|
||
t["a"] = d.exports;
|
||
}, "8abc": function(e, t, i) {
|
||
"use strict";
|
||
i.d(t, "h", (function() {
|
||
return a;
|
||
})), i.d(t, "b", (function() {
|
||
return s;
|
||
})), i.d(t, "g", (function() {
|
||
return r;
|
||
})), i.d(t, "e", (function() {
|
||
return o;
|
||
})), i.d(t, "c", (function() {
|
||
return l;
|
||
})), i.d(t, "a", (function() {
|
||
return u;
|
||
})), i.d(t, "f", (function() {
|
||
return c;
|
||
})), i.d(t, "d", (function() {
|
||
return d;
|
||
}));
|
||
var n = i("b775");
|
||
function a(e2) {
|
||
return Object(n["a"])({ url: "/appproject/CarSubscribe/pageList", method: "POST", data: e2 });
|
||
}
|
||
function s(e2) {
|
||
return Object(n["a"])({ url: "/appproject/project/findApproveConfig", method: "POST", data: e2 });
|
||
}
|
||
function r(e2) {
|
||
return Object(n["a"])({ url: "/appproject/project/updateApproveConfig", method: "POST", data: e2 });
|
||
}
|
||
function o(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 });
|
||
}
|
||
}, c0a1: function(e, t, i) {
|
||
"use strict";
|
||
i.r(t);
|
||
var n = function() {
|
||
var e2 = this, t2 = e2.$createElement, i2 = e2._self._c || t2;
|
||
return i2("div", { staticClass: "app-container" }, [i2("visitWait")], 1);
|
||
}, a = [], s = i("7892"), r = { name: "urgeVisitPlan", components: { visitWait: s["a"] }, data: function() {
|
||
return {};
|
||
}, mounted: function() {
|
||
} }, o = r, l = i("829d"), u = Object(l["a"])(o, n, a, false, null, "ba927f9c", null);
|
||
t["default"] = u.exports;
|
||
} }]);
|