264 lines
23 KiB
JavaScript
264 lines
23 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-3f71c252"], { "34ce": function(e, t, i) {
|
|
"use strict";
|
|
var a = 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: "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), e2._v(" "), i2("el-col", { attrs: { span: 12 } }, [i2("el-form-item", [i2("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), 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" }, on: { click: e2.exportClick } }, [e2._v("下载Execl")]), 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": "200", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [e2._v("\n " + e2._s((t3.row.precinctName || "") + "-" + (t3.row.buildingName || "") + "-" + (t3.row.unitName || "") + "-" + (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.submitTime) + "\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": "90", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [e2._v("\n " + e2._s(t3.row.remark) + "\n ")];
|
|
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "证明", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [e2.getMediaCount(t3.row) > 0 ? i2("el-button", { attrs: { type: "text" }, on: { click: function(i3) {
|
|
return e2.viewClick(t3.row);
|
|
} } }, [e2._v("\n " + e2._s(e2.getMediaCount(t3.row)) + "\n ")]) : i2("span", [e2._v("-")])];
|
|
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "欠费子原因", "min-width": "180" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [i2("el-tooltip", { attrs: { effect: "dark", content: e2.getReasonLabel(t3.row.visitReason), placement: "top" } }, [i2("span", [e2._v("\n " + e2._s(e2.getSubReasonLabel(t3.row.visitReason, t3.row.subReason) || "-") + "\n ")])])];
|
|
} }]) }), e2._v(" "), i2("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.memberName) + "\n ")];
|
|
} }]) }), e2._v(" "), i2("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(e2._f("getItemType")(t3.row.source, e2.sourceList)) + "\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.visitTime) + "\n ")];
|
|
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "回访查阅时间", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [i2("span", [e2._v(" " + e2._s(t3.row.readTime || "-"))])];
|
|
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "工单编号", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [t3.row.orderNo || t3.row.userCareOrderNo ? i2("div", [t3.row.orderNo ? i2("el-link", { attrs: { type: "primary" }, on: { click: e2.toWorkPath } }, [e2._v(e2._s(t3.row.orderNo))]) : e2._e(), e2._v(" "), t3.row.orderNo && t3.row.userCareOrderNo ? i2("span", [e2._v("-")]) : e2._e(), e2._v(" "), t3.row.userCareOrderNo ? i2("el-link", { attrs: { type: "primary" }, on: { click: e2.toWorkPath } }, [e2._v(e2._s(t3.row.userCareOrderNo))]) : e2._e()], 1) : i2("div", [e2._v("-")])];
|
|
} }]) }), e2._v(" "), i2("el-table-column", { attrs: { align: "center", label: "计划工单编号", "min-width": "150", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [t3.row.relTaskNo ? i2("el-link", { attrs: { type: "primary" }, on: { click: e2.toPlanPath } }, [e2._v(e2._s(t3.row.relTaskNo))]) : i2("span", [e2._v("-")])];
|
|
} }]) })], 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), e2._v(" "), i2("el-dialog", { attrs: { title: "照片/视频", visible: e2.showMedia, width: "700px" }, on: { "update:visible": function(t3) {
|
|
e2.showMedia = t3;
|
|
} } }, [i2("div", { staticClass: "preview-img" }, [i2("h3", [e2._v("照片:")]), e2._v(" "), e2._l(e2.imgList, (function(t3, a2) {
|
|
return i2("el-image", { key: a2, staticStyle: { width: "100px", height: "100px" }, attrs: { src: t3, "preview-src-list": e2.imgList } });
|
|
})), e2._v(" "), 0 == e2.imgList.length ? i2("span", [e2._v("无照片数据")]) : e2._e()], 2), e2._v(" "), i2("div", { staticClass: "oerview-video" }, [i2("h3", [e2._v("视频:")]), e2._v(" "), "" != e2.saveData.mediaUrl ? i2("div", { staticClass: "video-play", on: { click: e2.playVideo } }, [i2("i", { staticClass: "el-icon-video-play" })]) : i2("span", [e2._v("无视频数据")])]), e2._v(" "), i2("el-dialog", { attrs: { width: "40%", visible: e2.showVideo, "before-close": e2.closePlay, "append-to-body": "" }, on: { "update:visible": function(t3) {
|
|
e2.showVideo = t3;
|
|
} } }, [i2("video", { attrs: { src: e2.videoUrl, controls: "", autoplay: "", width: "100%" } })])], 1)], 1);
|
|
}, r = [], n = i("2b74"), o = i("dce5"), s = i("8abc"), l = { data: function() {
|
|
return { is_show: false, height: "", listData: [], listLoading: false, total: 0, visitTypeList: o["zc"], appealList: o["n"], sourceList: o["yc"], createTime: "", query: { precinctId: "", buildingId: "", unitId: "", houseId: "", visitReason: "", visitTypeList: [], sourceList: [], houseMemberName: "", pageNumber: 1, pageSize: 10, status: 2, sortType: 2, memberName: "" }, areaOptions: [], building: [], unitList: [], houseList: [], selectList: [], showMedia: false, showVideo: false, saveData: "", imgList: [], videoUrl: "" };
|
|
}, created: function() {
|
|
this.headClass(), this.getRealHeight(), this.query.projectUuid = this.$store.state.community_uuid;
|
|
}, methods: { setDefaultDateRange: function() {
|
|
var e2 = this.$moment().startOf("month").format("YYYY-MM-DD"), t2 = this.$moment().format("YYYY-MM-DD");
|
|
this.createTime = [e2, t2];
|
|
}, getReasonLabel: function(e2) {
|
|
if (!e2) return "-";
|
|
var t2 = this.appealList.find((function(t3) {
|
|
return t3.value == e2;
|
|
}));
|
|
return t2 ? t2.label : "-";
|
|
}, getSubReasonLabel: function(e2, t2) {
|
|
var i2 = this.appealList.find((function(t3) {
|
|
return t3.value == e2;
|
|
}));
|
|
if (console.log(i2, "reason"), i2 && i2.children) {
|
|
var a2 = i2.children.find((function(e3) {
|
|
return e3.subValue == t2;
|
|
}));
|
|
return (null === a2 || void 0 === a2 ? void 0 : a2.subLabel) || "-";
|
|
}
|
|
return "-";
|
|
}, getMediaCount: function(e2) {
|
|
var t2 = 0;
|
|
if (e2.pictureUrl) {
|
|
var i2 = e2.pictureUrl.split(",").map((function(e3) {
|
|
return e3 && e3.trim();
|
|
})).filter((function(e3) {
|
|
return e3;
|
|
}));
|
|
t2 += i2.length;
|
|
}
|
|
return e2.mediaUrl && (t2 += 1), t2;
|
|
}, getListData: function() {
|
|
var e2 = this;
|
|
this.listLoading = true, this.query.submitStartTime = this.createTime ? "".concat(this.createTime[0], " 00:00:00") : "", this.query.submitEndTime = this.createTime ? "".concat(this.createTime[1], " 23:59:59") : "", Object(s["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;
|
|
}));
|
|
}, getAreaList: function() {
|
|
var e2 = this, t2 = { projectUuid: this.$store.state.community_uuid, pageSize: -1, pageNumber: -1 };
|
|
Object(n["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(n["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(n["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(n["M"])(t2).then((function(t3) {
|
|
0 === t3.code && (e2.houseList = t3.data.records);
|
|
}));
|
|
}, 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.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;";
|
|
}, viewClick: function(e2) {
|
|
this.saveData = JSON.parse(JSON.stringify(e2)), "" != this.saveData.pictureUrl ? this.imgList = this.saveData.pictureUrl.split(",") : this.imgList = [], this.showMedia = true;
|
|
}, playVideo: function() {
|
|
this.videoUrl = this.saveData.mediaUrl, this.showVideo = true;
|
|
}, closePlay: function() {
|
|
this.showVideo = false, this.videoUrl = "";
|
|
}, toWorkPath: function() {
|
|
this.$router.push({ path: "/propertySMG/customerOperations/customerServices/reportRepair" });
|
|
}, toPlanPath: function() {
|
|
this.$router.push({ path: "/propertySMG/customerOperations/customerServices/customerVisit/customerVisitPlan" });
|
|
}, exportClick: function() {
|
|
this.query.startTime = this.createTime ? "".concat(this.createTime[0], " 00:00:00") : "", this.query.endTime = this.createTime ? "".concat(this.createTime[1], " 23:59:59") : "";
|
|
var e2 = this.$moment(this.query.startTime), t2 = this.$moment(this.query.endTime), i2 = t2.diff(e2, "day");
|
|
i2 > 92 ? this.$message("只支持下载三个月内的数据,请重新设置时间区间!") : Object(s["a"])(this.query).then((function(e3) {
|
|
var t3 = new Blob([e3], { type: "application/vnd.ms-excel;charset=UTF-8" }), i3 = (/* @__PURE__ */ new Date()).valueOf();
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(t3);
|
|
else {
|
|
var a2 = document.createElement("a");
|
|
a2.download = "拜访记录导出_".concat(i3, ".xls"), a2.href = URL.createObjectURL(t3), a2.click(), URL.revokeObjectURL(a2.href), document.body.removeChild(a2);
|
|
}
|
|
}));
|
|
} }, mounted: function() {
|
|
var e2 = this;
|
|
if (this.$route.query.name) {
|
|
var t2 = this.visitTypeList.find((function(t3) {
|
|
return t3.label == e2.$route.query.name;
|
|
}));
|
|
this.query.visitTypeList = [t2.value];
|
|
}
|
|
this.setDefaultDateRange(), this.getListData(), this.getAreaList();
|
|
} }, u = l, c = (i("6a12"), i("829d")), d = Object(c["a"])(u, a, r, false, null, "f4ac0758", null);
|
|
t["a"] = d.exports;
|
|
}, 5788: function(e, t, i) {
|
|
"use strict";
|
|
i.r(t);
|
|
var a = function() {
|
|
var e2 = this, t2 = e2.$createElement, i2 = e2._self._c || t2;
|
|
return i2("div", { staticClass: "app-container" }, [i2("visit")], 1);
|
|
}, r = [], n = i("34ce"), o = { name: "urgeVisitRecord", components: { visit: n["a"] }, data: function() {
|
|
return {};
|
|
}, mounted: function() {
|
|
} }, s = o, l = i("829d"), u = Object(l["a"])(s, a, r, false, null, "eab2c3d6", null);
|
|
t["default"] = u.exports;
|
|
}, "6a12": function(e, t, i) {
|
|
"use strict";
|
|
i("ebef");
|
|
}, "8abc": function(e, t, i) {
|
|
"use strict";
|
|
i.d(t, "h", (function() {
|
|
return r;
|
|
})), i.d(t, "b", (function() {
|
|
return n;
|
|
})), i.d(t, "g", (function() {
|
|
return o;
|
|
})), i.d(t, "e", (function() {
|
|
return s;
|
|
})), 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 a = i("b775");
|
|
function r(e2) {
|
|
return Object(a["a"])({ url: "/appproject/CarSubscribe/pageList", method: "POST", data: e2 });
|
|
}
|
|
function n(e2) {
|
|
return Object(a["a"])({ url: "/appproject/project/findApproveConfig", method: "POST", data: e2 });
|
|
}
|
|
function o(e2) {
|
|
return Object(a["a"])({ url: "/appproject/project/updateApproveConfig", method: "POST", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(a["a"])({ url: "/appproject/CustomerVisit/pageList", method: "POST", data: e2 });
|
|
}
|
|
function l(e2) {
|
|
return Object(a["a"])({ url: "/appproject/ChargeReceivable/houseFeePage", method: "POST", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(a["a"])({ url: "/appproject/CustomerVisit/export", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(a["a"])({ url: "/appproject/CustomerVisit/removeVisitPlan", method: "POST", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(a["a"])({ url: "/appproject/ChargeReceivable/houseFeePage/export", method: "POST", data: e2 });
|
|
}
|
|
}, ebef: function(e, t, i) {
|
|
} }]);
|