Files
wysite/output/sourcemaps/hc-pos.sqygj.cn/static/js/chunk-680c4cf0.018359ad.js

407 lines
39 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-680c4cf0"], { "0015": function(e, l, t) {
}, "80d33": function(e, l, t) {
"use strict";
t.r(l);
var a = function() {
var e2 = this, l2 = e2.$createElement, t2 = e2._self._c || l2;
return t2("div", { staticClass: "app-container bgHeight" }, [t2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [t2("el-form", { ref: "query", attrs: { model: e2.query } }, [t2("div", { ref: "form_box", staticClass: "searchBar" }, [t2("div", { staticClass: "searchInput" }, [t2("el-row", { attrs: { gutter: 20 } }, [t2("el-col", { attrs: { span: 6 } }, [t2("el-form-item", { attrs: { prop: "type" } }, [t2("el-select", { attrs: { clearable: "", placeholder: "关怀类型" }, model: { value: e2.query.type, callback: function(l3) {
e2.$set(e2.query, "type", l3);
}, expression: "query.type" } }, e2._l(e2.likeType, (function(e3) {
return t2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), t2("el-col", { attrs: { span: 6 } }, [t2("el-form-item", { attrs: { prop: "status" } }, [t2("el-select", { attrs: { clearable: "", placeholder: "状态" }, model: { value: e2.query.status, callback: function(l3) {
e2.$set(e2.query, "status", l3);
}, expression: "query.status" } }, e2._l(e2.likeStatus, (function(e3) {
return t2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1)], 1), e2._v(" "), t2("el-col", { attrs: { span: 6 } }, [t2("el-form-item", { attrs: { prop: "userName" } }, [t2("el-input", { attrs: { placeholder: "住户姓名", clearable: "" }, model: { value: e2.query.userName, callback: function(l3) {
e2.$set(e2.query, "userName", l3);
}, expression: "query.userName" } })], 1)], 1), e2._v(" "), t2("el-col", { attrs: { span: 6 } }, [t2("el-form-item", { attrs: { prop: "mobile" } }, [t2("el-input", { attrs: { placeholder: "手机号", clearable: "" }, model: { value: e2.query.mobile, callback: function(l3) {
e2.$set(e2.query, "mobile", l3);
}, expression: "query.mobile" } })], 1)], 1), e2._v(" "), t2("el-col", { attrs: { span: 6 } }, [t2("el-form-item", { attrs: { prop: "houseNo" } }, [t2("el-input", { attrs: { placeholder: "所在房屋", clearable: "" }, model: { value: e2.query.houseNo, callback: function(l3) {
e2.$set(e2.query, "houseNo", l3);
}, expression: "query.houseNo" } })], 1)], 1), e2._v(" "), t2("el-col", { attrs: { span: 12 } }, [t2("el-form-item", [t2("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(l3) {
e2.createTime = l3;
}, expression: "createTime" } })], 1)], 1)], 1)], 1), e2._v(" "), t2("div", { staticClass: "searchBtn" }, [t2("el-form-item", [t2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(l3) {
return e2.resetFormQuery("query");
} } }, [e2._v("重置")]), e2._v(" "), t2("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() : t2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), t2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? t2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), t2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1), e2._v(" "), t2("el-card", { staticClass: "box-card", attrs: { shadow: "never" } }, [t2("div", { staticClass: "planLst", attrs: { slot: "header" }, slot: "header" }, [t2("span", { staticClass: "planTitle" }, [e2._v("客户关怀列表")]), e2._v(" "), t2("el-button", { attrs: { type: "primary" }, on: { click: e2.addLike } }, [e2._v("录入关怀")]), e2._v(" "), t2("el-button", { attrs: { type: "danger" }, on: { click: e2.delLike } }, [e2._v("批量删除")])], 1), e2._v(" "), t2("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, "row-key": "id" }, on: { "selection-change": e2.selectionChange } }, [t2("el-table-column", { attrs: { type: "selection", align: "center", width: "55", "reserve-selection": true } }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "关怀类型", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(l3.row.type, e2.likeType)) + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "提醒时间", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.remindGmt.split(" ")[0]) + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "所在房屋", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.precinctName + "-" + l3.row.buildingName + "-" + l3.row.unitName + "-" + l3.row.roomNum) + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "住户姓名", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.userName || "-") + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "手机号", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.mobile) + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "身份", "min-width": "50", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(l3.row.identityType, e2.identityList)) + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "事项备注", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.notes || "-") + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "跟进类型", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(1 == l3.row.followType ? "住户服务工单" : "-") + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "跟进单号", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [l3.row.orderNo ? t2("el-link", { attrs: { type: "primary" }, on: { click: e2.gotoUrl } }, [e2._v(e2._s(l3.row.orderNo))]) : t2("span", [e2._v(" -")])];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "来源", "min-width": "50", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(1 == l3.row.sourceType ? "人工录入" : "-") + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "状态", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(e2._f("getItemType")(l3.row.status, e2.likeStatus)) + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "更新人", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.updateBy || "-") + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "更新时间", "min-width": "70", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [e2._v("\n " + e2._s(l3.row.updateGmt || "-") + "\n ")];
} }]) }), e2._v(" "), t2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(l3) {
return [t2("el-button", { attrs: { type: "text" }, on: { click: function(t3) {
return e2.accidentStr(l3.row);
} } }, [e2._v("查看")]), e2._v(" "), 1 == l3.row.status ? t2("el-button", { attrs: { type: "text" }, on: { click: function(t3) {
return e2.accidentEnd(l3.row);
} } }, [e2._v("编辑")]) : e2._e()];
} }]) })], 1), e2._v(" "), t2("div", { staticClass: "paginations" }, [t2("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(l3) {
return e2.$set(e2.query, "pageNumber", l3);
}, "update:current-page": function(l3) {
return e2.$set(e2.query, "pageNumber", l3);
}, "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)], 1), e2._v(" "), t2("el-dialog", { attrs: { title: e2.title, visible: e2.dialogVisible, width: "30%", "before-close": e2.handleClose, "close-on-click-modal": false } }, [t2("el-form", { ref: "likeForm", attrs: { rules: e2.rules, model: e2.likeForm, "label-width": "150px" } }, [t2("el-form-item", { attrs: { prop: "type", label: "关怀类型" } }, [t2("el-select", { attrs: { disabled: e2.disabled, clearable: "", placeholder: "请选择关怀类型" }, model: { value: e2.likeForm.type, callback: function(l3) {
e2.$set(e2.likeForm, "type", l3);
}, expression: "likeForm.type" } }, e2._l(e2.likeType, (function(e3) {
return t2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1), e2._v(" "), t2("el-form-item", { attrs: { prop: "remindGmt", label: "事件时间点" } }, [t2("el-date-picker", { attrs: { disabled: e2.disabled, type: "date", placeholder: "选择日期时间", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd 23:59:59", "picker-options": { disabledDate: function(e3) {
return e3.getTime() < new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
} } }, model: { value: e2.likeForm.remindGmt, callback: function(l3) {
e2.$set(e2.likeForm, "remindGmt", l3);
}, expression: "likeForm.remindGmt" } })], 1), e2._v(" "), t2("el-form-item", { attrs: { prop: "precinctId", label: "管理区: " } }, [t2("el-select", { staticClass: "form-item-content", attrs: { disabled: e2.disabled2, filterable: "", "collapse-tags": "", clearable: "", multiple: "", placeholder: "管理区" }, on: { change: function(l3) {
return e2.unifiedChangeArea(l3, 1);
} }, model: { value: e2.likeForm.precinctId, callback: function(l3) {
e2.$set(e2.likeForm, "precinctId", l3);
}, expression: "likeForm.precinctId" } }, e2._l(e2.unifiedAreaOptions, (function(e3, l3) {
return t2("el-option", { key: l3, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), t2("el-form-item", { attrs: { prop: "buildingId", label: "楼栋: " } }, [t2("el-select", { staticClass: "form-item-content", attrs: { disabled: e2.disabled2, "collapse-tags": "", filterable: "", multiple: "", clearable: "", placeholder: "楼栋" }, on: { change: function(l3) {
return e2.unifiedChangeBuild(l3, 1);
} }, model: { value: e2.likeForm.buildingId, callback: function(l3) {
e2.$set(e2.likeForm, "buildingId", l3);
}, expression: "likeForm.buildingId" } }, e2._l(e2.unifiedBuilding, (function(e3, l3) {
return t2("el-option", { key: l3, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), t2("el-form-item", { attrs: { prop: "unitId", label: "单元: " } }, [t2("el-select", { staticClass: "form-item-content", attrs: { disabled: e2.disabled2, "collapse-tags": "", filterable: "", multiple: "", clearable: "", placeholder: "单元" }, on: { change: e2.unifiedChangeUnit }, model: { value: e2.likeForm.unitId, callback: function(l3) {
e2.$set(e2.likeForm, "unitId", l3);
}, expression: "likeForm.unitId" } }, e2._l(e2.unifiedUnitList, (function(e3, l3) {
return t2("el-option", { key: l3, attrs: { label: e3.name, value: e3.id } });
})), 1)], 1), e2._v(" "), t2("el-form-item", { attrs: { prop: "houseId", label: "房间: " } }, [t2("el-select", { staticClass: "form-item-content", attrs: { disabled: e2.disabled2, "collapse-tags": "", filterable: "", multiple: "", clearable: "", placeholder: "房间" }, on: { change: function(l3) {
return e2.unifiedChangeHouse(l3, 1);
} }, model: { value: e2.likeForm.houseId, callback: function(l3) {
e2.$set(e2.likeForm, "houseId", l3);
}, expression: "likeForm.houseId" } }, e2._l(e2.unifiedHouseList, (function(e3, l3) {
return t2("el-option", { key: l3, attrs: { label: e3.roomNum, value: e3.id } });
})), 1)], 1), e2._v(" "), "编辑" !== e2.title ? t2("el-form-item", { attrs: { prop: "houseMemberId", label: "住户: " } }, [t2("el-select", { staticClass: "form-item-content", attrs: { disabled: e2.disabled2, "collapse-tags": "", filterable: "", multiple: "", clearable: "", placeholder: "住户" }, model: { value: e2.likeForm.houseMemberId, callback: function(l3) {
e2.$set(e2.likeForm, "houseMemberId", l3);
}, expression: "likeForm.houseMemberId" } }, e2._l(e2.userList, (function(e3, l3) {
return t2("el-option", { key: l3, attrs: { label: e3.realName, value: e3.id } });
})), 1)], 1) : t2("el-form-item", { attrs: { label: "住户: " } }, [t2("el-select", { staticClass: "form-item-content", attrs: { disabled: e2.disabled2, filterable: "", clearable: "", placeholder: "住户" }, on: { change: e2.changeHouseMember }, model: { value: e2.likeForm.houseMemberId, callback: function(l3) {
e2.$set(e2.likeForm, "houseMemberId", l3);
}, expression: "likeForm.houseMemberId" } }, e2._l(e2.userList, (function(e3, l3) {
return t2("el-option", { key: l3, attrs: { label: e3.realName, value: e3.id } });
})), 1)], 1), e2._v(" "), t2("el-form-item", { attrs: { prop: "notes", label: "事项备注: " } }, [t2("el-input", { attrs: { disabled: e2.disabled, type: "textarea", clearable: "", autosize: { minRows: 4, maxRows: 8 } }, model: { value: e2.likeForm.notes, callback: function(l3) {
e2.$set(e2.likeForm, "notes", l3);
}, expression: "likeForm.notes" } })], 1)], 1), e2._v(" "), t2("span", { staticClass: "dialog-footer", attrs: { slot: "footer" }, slot: "footer" }, [t2("el-button", { on: { click: function(l3) {
e2.dialogVisible = false;
} } }, [e2._v("取 消")]), e2._v(" "), t2("el-button", { attrs: { type: "primary" }, on: { click: e2.createLike } }, [e2._v("确 定")])], 1)], 1)], 1);
}, i = [], r = t("2b74"), n = t("b775");
function u(e2) {
return Object(n["a"])({ url: "/appproject/UserCare/page", method: "post", data: e2 });
}
function o(e2) {
return Object(n["a"])({ url: "/appproject/UserCare/create", method: "post", data: e2 });
}
function s(e2) {
return Object(n["a"])({ url: "/appproject/houseMember/pageMemberList", method: "post", data: e2 });
}
function c(e2) {
return Object(n["a"])({ url: "/appproject/UserCare/delete", method: "post", data: e2 });
}
function d(e2) {
return Object(n["a"])({ url: "/appproject/UserCare/findById", method: "post", data: e2 });
}
function b(e2) {
return Object(n["a"])({ url: "/appproject/UserCare/update", method: "post", data: e2 });
}
var v = t("dce5"), m = t("8f53");
function f(e2) {
return f = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e3) {
return typeof e3;
} : function(e3) {
return e3 && "function" == typeof Symbol && e3.constructor === Symbol && e3 !== Symbol.prototype ? "symbol" : typeof e3;
}, f(e2);
}
function p(e2) {
return k(e2) || y(e2) || g(e2) || h();
}
function h() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
function g(e2, l2) {
if (e2) {
if ("string" == typeof e2) return _(e2, l2);
var t2 = {}.toString.call(e2).slice(8, -1);
return "Object" === t2 && e2.constructor && (t2 = e2.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(e2) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _(e2, l2) : void 0;
}
}
function y(e2) {
if ("undefined" != typeof Symbol && null != e2[Symbol.iterator] || null != e2["@@iterator"]) return Array.from(e2);
}
function k(e2) {
if (Array.isArray(e2)) return _(e2);
}
function _(e2, l2) {
(null == l2 || l2 > e2.length) && (l2 = e2.length);
for (var t2 = 0, a2 = Array(l2); t2 < l2; t2++) a2[t2] = e2[t2];
return a2;
}
function w(e2, l2) {
var t2 = Object.keys(e2);
if (Object.getOwnPropertySymbols) {
var a2 = Object.getOwnPropertySymbols(e2);
l2 && (a2 = a2.filter((function(l3) {
return Object.getOwnPropertyDescriptor(e2, l3).enumerable;
}))), t2.push.apply(t2, a2);
}
return t2;
}
function F(e2) {
for (var l2 = 1; l2 < arguments.length; l2++) {
var t2 = null != arguments[l2] ? arguments[l2] : {};
l2 % 2 ? w(Object(t2), true).forEach((function(l3) {
I(e2, l3, t2[l3]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e2, Object.getOwnPropertyDescriptors(t2)) : w(Object(t2)).forEach((function(l3) {
Object.defineProperty(e2, l3, Object.getOwnPropertyDescriptor(t2, l3));
}));
}
return e2;
}
function I(e2, l2, t2) {
return (l2 = N(l2)) in e2 ? Object.defineProperty(e2, l2, { value: t2, enumerable: true, configurable: true, writable: true }) : e2[l2] = t2, e2;
}
function N(e2) {
var l2 = L(e2, "string");
return "symbol" == f(l2) ? l2 : l2 + "";
}
function L(e2, l2) {
if ("object" != f(e2) || !e2) return e2;
var t2 = e2[Symbol.toPrimitive];
if (void 0 !== t2) {
var a2 = t2.call(e2, l2 || "default");
if ("object" != f(a2)) return a2;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return ("string" === l2 ? String : Number)(e2);
}
var C = { name: "customerCare", data: function() {
return { likeType: v["pb"], likeStatus: v["ob"], areaOptions: [], building: [], unit: [], houseNoList: [], is_show: false, height: "", listData: [], unifiedAreaOptions: [], unifiedBuilding: [], unifiedUnitList: [], unifiedHouseList: [], userList: [], listLoading: false, total: 0, createTime: "", title: "录入关怀", query: { fallout: "", damageType: "", status: "", description: "", pageNumber: 1, pageSize: 10, unitId: "", houseNo: "", endDate: "", startDate: "", userName: "", mobile: "", type: "", precinctId: "", buildingId: "" }, likeForm: { type: "", remindGmt: "", precinctId: [], buildingId: [], unitId: [], houseId: [], notes: "", sourceType: 1, status: 1 }, rules: { type: [{ required: true, message: "请选择关怀类型", trigger: "change" }], remindGmt: [{ required: true, message: "请选择事件时间点", trigger: "change" }], precinctId: [{ required: true, message: "请选择管理区", trigger: "change" }], buildingId: [{ required: true, message: "请选择楼栋", trigger: "change" }], unitId: [{ required: true, message: "请选择单元", trigger: "change" }], houseId: [{ required: true, message: "请选择房间", trigger: "change" }], houseMemberId: [{ required: true, message: "请选择住户", trigger: "change" }] }, dialogVisible: false, selectList: [], disabled: false, disabled2: false, initForm: {}, identityList: m["k"] };
}, methods: { 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();
}, upAndDown: function() {
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
}, getRealHeight: function() {
this.$nextTick((function() {
this.height = this.$refs.form_box.offsetHeight + "px";
}));
}, headClass: function() {
return "text-align:center;background:#FAFAFA;";
}, getListData: function() {
var e2 = this;
console.log(this.createTime, "this.createTime"), "" !== this.createTime && null !== this.createTime ? (this.query.startDate = this.createTime[0] + " 00:00:00", this.query.endDate = this.createTime[1] + " 23:59:59") : (this.query.startDate = "", this.query.endDate = ""), u(this.query).then((function(l2) {
0 == l2.code && (e2.listData = l2.data.records, e2.total = l2.data.rowsCount);
}));
}, addLike: function() {
this.dialogVisible = true, this.title = "录入关怀", this.likeForm = F({}, this.initForm), this.userList = [], this.disabled = false, this.disabled2 = false, this.$forceUpdate();
}, gotoUrl: function() {
this.$router.push({ path: "/propertySMG/customerOperations/customerServices/reportRepair" });
}, delLike: function() {
var e2 = this;
console.log(this.selectList, "this.selectList");
var l2 = [];
this.selectList.length > 0 ? (l2 = this.selectList.map((function(e3) {
return e3.id;
})), c({ ids: l2 }).then((function(l3) {
0 == l3.code && (e2.$message.success("删除成功"), e2.getListData());
}))) : this.$message.warning({ message: "至少选择一个才能删除" });
}, handleClose: function() {
this.dialogVisible = false;
}, getBuildList: function() {
var e2 = this, l2 = { projectUuid: this.$store.state.community_uuid, pageNumber: -1, pageSize: -1 };
Object(r["f"])(l2).then((function(l3) {
0 === l3.code && (e2.areaOptions = l3.data, e2.unifiedAreaOptions = [].concat(p(e2.unifiedAreaOptions), p(l3.data)));
})), this.findBuilding();
}, changeBuild: function() {
this.unitList = [], this.query.unitId = "", this.getUnit();
}, getUnit: function() {
var e2 = this;
Object(r["mb"])({ pageNumber: -1, pageSize: -1, projectCode: this.$store.state.community_uuid, buildingId: this.query.buildingId }).then((function(l2) {
e2.unit = l2.data.records;
}));
}, changePrecinct: function() {
this.findBuilding();
}, findBuilding: function() {
var e2 = this, l2 = { precinctId: this.query.precinctId, projectCode: this.$store.state.community_uuid, projectName: this.$store.state.community_name, pageNumber: -1, pageSize: -1 };
Object(r["x"])(l2).then((function(l3) {
e2.building = l3.data;
}));
}, getBuild: function(e2) {
var l2 = this, t2 = { precinctIds: this.likeForm.precinctId, projectCode: this.query.projectUuid, projectName: this.query.projectName, pageNumber: -1, pageSize: -1 };
Object(r["x"])(t2).then((function(t3) {
l2.building = t3.data, e2 && (l2.unifiedBuilding = p(t3.data), l2.unifiedBuilding = p(new Set(l2.unifiedBuilding)));
}));
}, unifiedChangeArea: function(e2, l2) {
2 == l2 && (this.likeForm.buildingId = []), this.getBuild(e2);
}, unifiedChangeBuild: function(e2, l2) {
2 == l2 && (this.likeForm.unitId = []), this.getDialogUnit(e2);
}, getDialogUnit: function(e2) {
var l2 = this, t2 = { pageNumber: -1, pageSize: -1, projectCode: this.query.projectUuid, buildingIds: this.likeForm.buildingId };
Object(r["mb"])(t2).then((function(t3) {
e2 && (l2.unifiedUnitList = p(t3.data.records), l2.unifiedUnitList = p(new Set(l2.unifiedUnitList))), console.log(l2.unifiedUnitList, "this.unifiedUnitList");
}));
}, unifiedChangeUnit: function() {
this.likeForm.houseId = "", this.getHouseList(this.likeForm.unitId);
}, getHouseList: function(e2) {
var l2 = this, t2 = { projectCode: this.query.projectUuid, precinctIds: this.likeForm.precinctId, buildingIds: this.likeForm.buildingId, unitIds: this.likeForm.unitId, pageNumber: -1, pageSize: -1 };
Object(r["M"])(t2).then((function(t3) {
0 === t3.code && e2 && (l2.unifiedHouseList = p(t3.data.records));
}));
}, unifiedChangeHouse: function(e2, l2) {
var t2 = this;
s({ houseIdList: this.likeForm.houseId, pageSize: -1, pageNumber: -1, isDelete: 0 }).then((function(e3) {
0 === e3.code && (e3.data.records.forEach((function(e4) {
e4.houseMemberId = e4.id, e4.userName = e4.realName;
})), t2.userList = e3.data.records, t2.userList = p(new Set(t2.userList)), console.log(t2.userList, "this.userList"));
}));
}, changeHouseMember: function(e2) {
this.$forceUpdate();
}, createLike: function() {
var e2 = this;
"查看" != this.title ? "录入关怀" == this.title ? this.$refs.likeForm.validate((function(l2) {
l2 && (e2.likeForm.userList = e2.userList.filter((function(l3) {
if (e2.likeForm.houseMemberId.includes(l3.id)) return l3;
})), e2.likeForm.userList.forEach((function(e3) {
e3.houseNo = e3.precinctName + "-" + e3.buildingName + "-" + e3.unitName + "-" + e3.roomNum;
})), o(e2.likeForm).then((function(l3) {
0 === l3.code && (e2.$message.success(l3.message), e2.$refs.likeForm.resetFields(), e2.dialogVisible = false, e2.getListData(), e2.userList = []);
})));
})) : "编辑" == this.title && this.$refs.likeForm.validate((function(l2) {
if (l2) {
e2.likeForm.updateBy = e2.$store.state.user.name;
var t2 = e2.userList.filter((function(l3) {
return e2.likeForm.houseMemberId == l3.id;
}));
t2.forEach((function(e3) {
e3.houseNo = e3.precinctName + "-" + e3.buildingName + "-" + e3.unitName + "-" + e3.roomNum;
})), e2.likeForm.realName = t2[0].realName, e2.likeForm.userName = t2[0].realName, e2.likeForm.identityType = t2[0].identityType, e2.likeForm.mobile = t2[0].mobile, e2.likeForm.userId = t2[0].userId, e2.likeForm.houseNo = t2[0].houseNo, console.log(e2.likeForm, "this.likeForm编辑"), b(e2.likeForm).then((function(l3) {
0 === l3.code ? (e2.$message.success(l3.message), e2.$refs.likeForm.resetFields(), e2.dialogVisible = false, e2.getListData()) : (e2.$refs.likeForm.resetFields(), e2.dialogVisible = false, e2.getListData());
}));
}
})) : this.dialogVisible = false;
}, selectionChange: function(e2) {
this.selectList = e2;
}, accidentStr: function(e2) {
var l2 = this;
this.title = "查看", this.disabled = true, this.disabled2 = true, d({ id: e2.id }).then((function(e3) {
0 === e3.code && (Object.assign(l2.likeForm, e3.data), l2.likeForm.precinctId && (l2.likeForm.precinctId = [l2.likeForm.precinctId], l2.unifiedChangeArea(l2.likeForm.precinctId), l2.likeForm.buildingId = [l2.likeForm.buildingId], l2.unifiedChangeBuild(l2.likeForm.buildingId), l2.likeForm.unitId = [l2.likeForm.unitId], l2.likeForm.houseId = [l2.likeForm.houseId], l2.likeForm.houseMemberId = [l2.likeForm.houseMemberId], l2.userList = [], l2.unifiedChangeHouse(1), console.log(l2.likeForm, "this.likeform查看"), l2.dialogVisible = true));
}));
}, accidentEnd: function(e2) {
var l2 = this;
this.title = "编辑", this.disabled = false, this.disabled2 = true, d({ id: e2.id }).then((function(e3) {
0 === e3.code && (Object.assign(l2.likeForm, e3.data), l2.likeForm.precinctId && (l2.likeForm.precinctId = [l2.likeForm.precinctId], l2.unifiedChangeArea(l2.likeForm.precinctId), l2.likeForm.buildingId = [l2.likeForm.buildingId], l2.unifiedChangeBuild(l2.likeForm.buildingId), l2.likeForm.unitId = [l2.likeForm.unitId], l2.likeForm.houseId = [l2.likeForm.houseId], l2.userList = [], l2.unifiedChangeHouse(2), l2.dialogVisible = true, console.log(l2.likeForm, "bianji")));
}));
} }, mounted: function() {
this.query.projectUuid = this.$store.state.community_uuid, this.query.projectName = this.$store.state.community_name, this.likeForm.projectUuid = this.$store.state.community_uuid, this.likeForm.projectName = this.$store.state.community_name, this.initForm = F({}, this.likeForm), this.headClass(), this.getRealHeight(), this.getListData(), this.getBuildList();
} }, j = C, S = (t("b46b"), t("829d")), q = Object(S["a"])(j, a, i, false, null, "6845d393", null);
l["default"] = q.exports;
}, "8f53": function(e, l, t) {
"use strict";
t.d(l, "y", (function() {
return a;
})), t.d(l, "t", (function() {
return i;
})), t.d(l, "v", (function() {
return r;
})), t.d(l, "B", (function() {
return n;
})), t.d(l, "n", (function() {
return u;
})), t.d(l, "a", (function() {
return o;
})), t.d(l, "K", (function() {
return s;
})), t.d(l, "s", (function() {
return c;
})), t.d(l, "u", (function() {
return d;
})), t.d(l, "x", (function() {
return b;
})), t.d(l, "G", (function() {
return v;
})), t.d(l, "I", (function() {
return m;
})), t.d(l, "M", (function() {
return f;
})), t.d(l, "N", (function() {
return p;
})), t.d(l, "z", (function() {
return h;
})), t.d(l, "i", (function() {
return g;
})), t.d(l, "d", (function() {
return y;
})), t.d(l, "p", (function() {
return k;
})), t.d(l, "H", (function() {
return _;
})), t.d(l, "e", (function() {
return w;
})), t.d(l, "h", (function() {
return F;
})), t.d(l, "m", (function() {
return I;
})), t.d(l, "q", (function() {
return N;
})), t.d(l, "A", (function() {
return L;
})), t.d(l, "E", (function() {
return C;
})), t.d(l, "F", (function() {
return j;
})), t.d(l, "r", (function() {
return S;
})), t.d(l, "D", (function() {
return q;
})), t.d(l, "o", (function() {
return x;
})), t.d(l, "L", (function() {
return $;
})), t.d(l, "j", (function() {
return O;
})), t.d(l, "f", (function() {
return D;
})), t.d(l, "w", (function() {
return A;
})), t.d(l, "g", (function() {
return T;
})), t.d(l, "k", (function() {
return M;
})), t.d(l, "J", (function() {
return U;
})), t.d(l, "C", (function() {
return B;
})), t.d(l, "l", (function() {
return z;
})), t.d(l, "b", (function() {
return H;
})), t.d(l, "c", (function() {
return E;
}));
var a = [{ value: 1, label: "低" }, { value: 2, label: "一般" }, { value: 3, label: "紧急" }], i = [{ value: 1, label: "待受理" }, { value: 2, label: "已派单" }, { value: 3, label: "已接单" }, { value: 4, label: "处理中" }, { value: 5, label: "已完成" }, { value: 6, label: "已回访" }, { value: 7, label: "已关闭" }, { value: 8, label: "已延后" }, { value: 9, label: "待评价" }, { value: 10, label: "已评价" }, { value: 11, label: "未受理" }], r = [{ value: 11, label: "公区整改" }, { value: 12, label: "住户服务" }, { value: 13, label: "通用工单" }, { value: 15, label: "工单审核" }], n = [{ value: 1, label: "邻里关系" }, { value: 2, label: "清洁卫生" }, { value: 3, label: "投诉报修" }, { value: 4, label: "房屋认证" }, { value: 5, label: "月卡申请" }, { value: 6, label: "门禁申请" }, { value: 7, label: "个人维修" }, { value: 8, label: "工区维修" }, { value: 9, label: "订单服务" }, { value: 10, label: "管家服务" }], u = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], o = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], s = [{ value: 1, label: "正常" }, { value: 2, label: "预警" }, { value: 3, label: "超时" }], c = [{ value: 1, label: "服务提交" }, { value: 2, label: "服务受理" }, { value: 3, label: "服务处理" }, { value: 4, label: "服务评价" }, { value: 5, label: "服务完成" }, { value: 6, label: "服务拒绝" }], d = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }], b = [{ value: 1, label: "巡检" }, { value: 2, label: "维保" }, { value: 3, label: "抄表" }, { value: 4, label: "保洁" }, { value: 5, label: "绿化" }, { value: 6, label: "拜访" }], v = [{ value: 1, label: "未执行" }, { value: 2, label: "执行中" }, { value: 3, label: "已完成" }, { value: 4, label: "超时" }, { value: 5, label: "领取超时" }, { value: 9, label: "超时完成" }, { value: 12, label: "超时预警" }], m = [{ label: "巡检类", value: 1 }, { label: "维保类", value: 2 }, { label: "抄表类", value: 3 }, { label: "清洁类", value: 4 }, { label: "绿化类", value: 5 }, { label: "上门拜访类", value: 6 }, { label: "维修类", value: 7 }, { label: "服务礼仪类", value: 8 }, { label: "内部管控类", value: 9 }, { label: "社区温度类", value: 10 }], f = [{ label: "人事管控类", value: 1 }, { label: "财务管控类", value: 2 }, { label: "事务管控类", value: 3 }, { label: "物料管控类", value: 4 }], p = [{ label: "人", value: 1 }, { label: "财", value: 2 }, { label: "事", value: 3 }, { label: "物", value: 4 }], h = [{ label: "普通", value: 1 }, { label: "培训", value: 2 }, { label: "认证", value: 3 }], g = [{ label: "日", value: 0 }, { label: "周", value: 1 }, { label: "月", value: 2 }, { label: "年", value: 4 }], y = [{ label: "全员收费", value: 1 }, { label: "全员突击", value: 2 }, { label: "全员巡查", value: 3 }, { label: "全员保洁", value: 4 }], k = [{ label: "X新增默认", value: "X" }, { label: "A", value: "A" }, { label: "B", value: "B" }, { label: "C", value: "C" }, { label: "D", value: "D" }, { label: "E", value: "E" }], _ = [{ label: "自管", value: 1 }, { label: "外包", value: 2 }], w = [{ label: "内勤", value: 1 }, { label: "外勤", value: 2 }], F = [{ label: "固定作业", value: 1 }, { label: "移动作业", value: 2 }], I = [{ label: "发现问题", value: 1 }, { label: "处理问题", value: 2 }], N = [{ label: "人", value: 1 }, { label: "物", value: 2 }], L = [{ label: "客户服务", value: 1 }, { label: "安全服务", value: 2 }, { label: "设施设备管理", value: 3 }, { label: "环境管理", value: 4 }, { label: "基础资料", value: 5 }], C = [{ label: "设备标准", value: 1 }, { label: "空间服务标准", value: 2 }, { label: "物品标准", value: 3 }, { label: "绿化养护标准", value: 5 }, { label: "内部标准", value: 6 }, { label: "体检标准", value: 7 }, { label: "项目标准", value: 8 }], j = [{ label: "1A", value: 1 }, { label: "2A", value: 2 }, { label: "3A", value: 3 }, { label: "4A", value: 4 }, { label: "5A", value: 5 }], S = [{ value: 1, label: "1星级" }, { value: 2, label: "2星级" }, { value: 3, label: "3星级" }, { value: 4, label: "4星级" }, { value: 5, label: "5星级" }], q = [{ label: "业务收入", value: 1 }, { label: "经营收入", value: 2 }, { label: "资产处置收益", value: 3 }, { label: "其他收益", value: 4 }, { label: "营业外收入", value: 5 }, { label: "投资收益", value: 6 }, { label: "筹资活动", value: 7 }, { label: "清洁卫生费", value: 8 }, { label: "安全保卫费", value: 9 }, { label: "绿化养护费", value: 10 }, { label: "工程维护费", value: 11 }, { label: "能源费", value: 12 }, { label: "职工薪酬", value: 13 }, { label: "行政办公费", value: 14 }, { label: "其他物业管理成本", value: 15 }, { label: "停车场经营成本", value: 16 }, { label: "物业经营成本", value: 17 }, { label: "其他业务成本", value: 18 }, { label: "税金及附加", value: 19 }, { label: "财务费用", value: 20 }, { label: "资产减值损失", value: 21 }, { label: "营业外支出", value: 22 }, { label: "所得税费用", value: 23 }, { label: "投资费用", value: 24 }, { label: "筹资费用", value: 25 }, { label: "资本支出", value: 26 }, { label: "代收代付项", value: 27 }], x = [{ label: "水表", value: 1 }, { label: "电表", value: 2 }, { label: "暖气表", value: 3 }, { label: "燃气表", value: 4 }, { label: "热水表", value: 5 }], $ = [{ label: "普通", value: 1 }, { label: "一般", value: 2 }, { label: "重要", value: 3 }], O = [{ label: "房屋认证", value: 1 }, { label: "门禁申请", value: 2 }, { label: "车辆月卡", value: 3 }, { label: "现场品质", value: 4 }, { label: "邻里关系", value: 6 }, { label: "投诉", value: 7 }, { label: "到家服务", value: 8 }, { label: "公区维修", value: 9 }, { label: "满意度调查", value: 10 }, { label: "业委会会议", value: 11 }, { label: "政务沟通", value: 12 }, { label: "客户拜访", value: 13 }, { label: "门禁权限申请", value: 14 }, { label: "服务态度", value: 15 }], D = [{ label: "设备整改", value: 2 }, { label: "电梯整改", value: 3 }, { label: "清洁卫生[内控]", value: 4 }, { label: "车场整改", value: 5 }, { label: "安防整改", value: 6 }, { label: "绿化整改", value: 7 }, { label: "历史工单-1", value: 12 }, { label: "历史工单-2", value: 13 }, { label: "能源整改", value: 15 }, { label: "审批工单", value: 16 }, { label: "内部整改", value: 17 }, { label: "行政", value: 18 }, { label: "人事", value: 19 }, { label: "财务", value: 20 }, { label: "市场", value: 21 }], A = [{ label: "主动服务", value: 1 }, { label: "设备管理", value: 2 }, { label: "电梯管理", value: 3 }, { label: "清洁卫生", value: 4 }, { label: "车场运营", value: 5 }, { label: "安防管理", value: 6 }, { label: "绿化管理", value: 7 }, { label: "业委会会议", value: 8 }, { label: "政务沟通", value: 9 }, { label: "客户拜访", value: 10 }, { label: "能源计划", value: 11 }, { label: "审批工单", value: 12 }, { label: "内部整改", value: 13 }], T = [{ label: "设备管理标准", value: 1 }, { label: "内部管控标准", value: 2 }, { label: "清洁管理标准", value: 3 }, { label: "安全管理标准", value: 4 }, { label: "绿化养护标准", value: 5 }, { label: "消防管控标准", value: 6 }, { label: "电梯管理标准", value: 7 }, { label: "停车场管理标准", value: 8 }, { label: "能源管理标准", value: 9 }], M = [{ label: "产权人", value: 1 }, { label: "亲属", value: 2 }, { label: "租户", value: 3 }, { label: "好友", value: 4 }, { label: "访客", value: 5 }, { label: "产权人(共有)", value: 6 }], U = [{ label: "感知器", value: 1 }, { label: "控制器", value: 2 }, { label: "动作器", value: 3 }], B = [{ label: "日报", value: 1 }, { label: "周报", value: 2 }, { label: "月报", value: 3 }, { label: "季度", value: 4 }, { label: "半年", value: 5 }, { label: "年度", value: 6 }], z = [{ label: "安全生产", value: 1 }, { label: "效益", value: 2 }, { label: "满意", value: 3 }], H = [{ label: "一般", value: [1, 2, 3] }, { label: "重要", value: [4, 5, 6] }, { label: "非常重要", value: [7, 8, 9] }], E = [{ value: 0, label: "不合格" }, { value: 1, label: "合格" }, { value: 2, label: "AI判定中" }, { value: 3, label: "无需AI验收" }, { value: 4, label: "AI标准缺失" }, { value: 5, label: "智能体未配置" }, { value: 6, label: "无权益请充值" }];
}, b46b: function(e, l, t) {
"use strict";
t("0015");
} }]);