Files
wysite/output/sourcemaps/hc-etms.sqygj.cn/static/js/chunk-20ba1dbb.37a1ed79.js

425 lines
38 KiB
JavaScript

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-20ba1dbb"], { "376f": 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 cardSet" }, [a2("div", [a2("el-tabs", { attrs: { value: e2.activeName, type: "border-card" }, on: { "tab-click": e2.handleClick } }, [a2("el-tab-pane", { attrs: { label: "物业说管理", name: "propertyManage" } }, ["propertyManage" === e2.activeName ? a2("propertyManage", { attrs: { type: 1 } }) : e2._e()], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "住户说管理", name: "householdManage" } }, ["householdManage" === e2.activeName ? a2("propertyManage", { attrs: { type: 2 } }) : e2._e()], 1)], 1)], 1)]);
}, s = [], o = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", [e2.configTop ? a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { label: "小区名称", prop: "name" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "小区名称" }, model: { value: e2.searchInfo.name, callback: function(t3) {
e2.$set(e2.searchInfo, "name", t3);
}, expression: "searchInfo.name" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { on: { click: function(t3) {
return e2.resetForm("searchInfo");
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")])], 1)], 1)], 1), e2._v(" "), a2("div", [a2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
} }], null, false, 757905432) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "物业公司名称", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.topOrganizationalName || "-"))];
} }], null, false, 2331134506) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.name || "-"))];
} }], null, false, 2577856951) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", fixed: "right", width: "160" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.setDetail(t3.row);
} } }, [e2._v("设置")])];
} }], null, false, 710184594) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]) : e2._e(), e2._v(" "), e2.palnConfig ? a2("div", [a2("planList", { attrs: { info: e2.detailInfo }, on: { back: e2.backList } })], 1) : e2._e(), e2._v(" "), e2.workConfig ? a2("div", [a2("workList", { attrs: { info: e2.detailInfo }, on: { back: e2.backList } })], 1) : e2._e()]);
}, r = [], i = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "detailContent" }, [e2.planList ? a2("div", [a2("div", { staticClass: "backBar" }, [a2("el-card", { attrs: { shadow: "never" } }, [a2("el-page-header", { attrs: { content: "物业说设置【" + e2.info.topOrganizationalName + "-" + e2.info.name + "】" }, on: { back: e2.goBack } })], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card topSearchBoxCard" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "searchInfo", attrs: { model: e2.searchInfo } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "planNo" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "计划编码" }, model: { value: e2.searchInfo.planNo, callback: function(t3) {
e2.$set(e2.searchInfo, "planNo", t3);
}, expression: "searchInfo.planNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "planName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "计划名称" }, model: { value: e2.searchInfo.planName, callback: function(t3) {
e2.$set(e2.searchInfo, "planName", t3);
}, expression: "searchInfo.planName" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "planStatus" } }, [a2("el-select", { attrs: { placeholder: "计划状态", clearable: "" }, model: { value: e2.searchInfo.planStatus, callback: function(t3) {
e2.$set(e2.searchInfo, "planStatus", t3);
}, expression: "searchInfo.planStatus" } }, e2._l(e2.planStatus, (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: 6 } }, [a2("el-form-item", { attrs: { prop: "planModel" } }, [a2("el-select", { attrs: { placeholder: "计划类型", clearable: "" }, model: { value: e2.searchInfo.planModel, callback: function(t3) {
e2.$set(e2.searchInfo, "planModel", t3);
}, expression: "searchInfo.planModel" } }, e2._l(e2.planCategory, (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: 6 } }, [a2("el-form-item", { attrs: { prop: "jobName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "执行岗位" }, model: { value: e2.searchInfo.jobName, callback: function(t3) {
e2.$set(e2.searchInfo, "jobName", t3);
}, expression: "searchInfo.jobName" } })], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { on: { click: function(t3) {
return e2.resetForm("searchInfo");
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1)]), e2._v(" "), a2("el-card", { staticClass: "box-card" }, [a2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a2("div", { staticClass: "cardHeader" }, [a2("span", [e2._v("计划列表")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.editThisPage } }, [e2._v(e2._s(e2.isEdit ? "保存" : "编辑"))])], 1)]), e2._v(" "), a2("div", [a2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
} }], null, false, 1880969560) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划类型", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(e2._f("getItemType")(t3.row.planModel, e2.planCategory)))];
} }], null, false, 1395290508) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划编码", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.planNo))];
} }], null, false, 1048384367) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划名称" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.planName))];
} }], null, false, 3468544649) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(e2._f("getItemType")(t3.row.planStatus, e2.planStatus)))];
} }], null, false, 239067443) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行岗位" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.jobName || "-"))];
} }], null, false, 2574707600) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center" }, scopedSlots: e2._u([{ key: "header", fn: function() {
return [a2("div", [a2("el-checkbox", { attrs: { indeterminate: e2.isIndeterminate, disabled: !e2.isEdit }, on: { change: e2.headerSelectChange }, model: { value: e2.isSelectAll, callback: function(t3) {
e2.isSelectAll = t3;
}, expression: "isSelectAll" } }), e2._v("\n 是否显示\n "), a2("el-tooltip", { attrs: { effect: "dark", placement: "top-start" } }, [a2("template", { slot: "content" }, [a2("span", [e2._v("当前时间设置后所属计划工单按配置执行显示")])]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })], 2)], 1)];
}, proxy: true }, { key: "default", fn: function(t3) {
return [a2("el-checkbox", { attrs: { disabled: !e2.isEdit, "true-label": 1, "false-label": 2 }, model: { value: t3.row.autoShow, callback: function(a3) {
e2.$set(t3.row, "autoShow", a3);
}, expression: "scope.row.autoShow" } })];
} }], null, false, 3475627322) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.updateUserName || "-"))];
} }], null, false, 3087307415) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.updateDate || "-"))];
} }], null, false, 1307290197) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", fixed: "right", width: "160" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) {
return e2.checkTaskList(t3.row);
} } }, [e2._v("查看计划工单")])];
} }], null, false, 853195989) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)])], 1) : e2._e(), e2._v(" "), e2.taskConfig ? a2("div", [a2("taskList", { attrs: { info: e2.detailInfo }, on: { back: e2.backList } })], 1) : e2._e()]);
}, l = [], c = (a("a450"), function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "detailContent" }, [a2("div", { staticClass: "backBar" }, [a2("el-card", { attrs: { shadow: "never" } }, [a2("el-page-header", { attrs: { content: "计划工单列表" }, on: { back: e2.goBack } })], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card topSearchBoxCard" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "searchInfo", attrs: { model: e2.searchInfo } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "taskNo" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "计划工单编码" }, model: { value: e2.searchInfo.taskNo, callback: function(t3) {
e2.$set(e2.searchInfo, "taskNo", t3);
}, expression: "searchInfo.taskNo" } })], 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.searchInfo.status, callback: function(t3) {
e2.$set(e2.searchInfo, "status", t3);
}, expression: "searchInfo.status" } }, e2._l(e2.taskStatus, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { on: { click: function(t3) {
return e2.resetForm("searchInfo");
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1)]), e2._v(" "), a2("el-card", { staticClass: "box-card" }, [a2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a2("div", { staticClass: "cardHeader" }, [a2("span", [e2._v("计划列表")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.editThisPage } }, [e2._v(e2._s(e2.isEdit ? "保存" : "编辑"))])], 1)]), e2._v(" "), a2("div", [a2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划计划工单编号", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskNo))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划工单名称" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskName))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "计划类型", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(e2._f("getItemType")(t3.row.planModel, e2.planCategory)))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行岗位" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.jobName || "-"))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "状态" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(e2._f("getItemType")(t3.row.status, e2.taskStatus)))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "审核评分" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskRate || "-"))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新人" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskShowUpdaterName || "-"))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskShowUpdateTime || "-"))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "是否显示" }, scopedSlots: e2._u([{ key: "header", fn: function() {
return [a2("div", [a2("el-checkbox", { attrs: { disabled: !e2.isEdit, indeterminate: e2.isIndeterminate }, on: { change: e2.headerSelectChange }, model: { value: e2.isSelectAll, callback: function(t3) {
e2.isSelectAll = t3;
}, expression: "isSelectAll" } }), e2._v("\n 是否显示\n ")], 1)];
}, proxy: true }, { key: "default", fn: function(t3) {
return [a2("el-checkbox", { attrs: { disabled: !e2.isEdit }, model: { value: t3.row.isShow, callback: function(a3) {
e2.$set(t3.row, "isShow", a3);
}, expression: "scope.row.isShow" } })];
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)])], 1);
}), u = [], h = a("8339"), d = a("dce5"), f = { props: ["info"], data: function() {
return { is_show: false, height: 0, searchInfo: { pageNumber: 1, pageSize: 10, taskNo: "", status: "", planUuid: "" }, total: 0, tableData: [], planCategory: d["lb"], taskStatus: [{ value: 2, label: "执行中" }, { value: 3, label: "已完成" }, { value: 9, label: "超时完成" }], isEdit: false, isSelectAll: false, isIndeterminate: false, memberInfor: "" };
}, watch: { tableData: { handler: function() {
var e2 = this.tableData.filter((function(e3) {
return true === e3.isShow;
}));
this.isIndeterminate = e2.length > 0 && e2.length < this.tableData.length;
}, immediate: true, deep: true } }, mounted: function() {
this.memberInfor = JSON.parse(window.localStorage.getItem("memberInfor")), this.searchInfo.planUuid = this.info.planUuid, this.getRealHeight(), this.getList();
}, methods: { getList: function() {
var e2 = this;
this.isEdit = false, this.isSelectAll = false, Object(h["d"])(this.searchInfo).then((function(t2) {
if (0 === t2.code) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
var a2 = e2.tableData.filter((function(e3) {
return true === e3.isShow;
}));
e2.isIndeterminate = a2.length > 0 && a2.length < e2.tableData.length;
}
}));
}, editThisPage: function() {
if (this.isEdit) {
var e2 = [], t2 = [];
this.tableData.map((function(a2) {
a2.isShow ? e2.push(a2["taskUuid"]) : t2.push(a2["taskUuid"]);
})), this.isAutoShowTask(e2, t2);
} else this.isEdit = true;
}, onSearch: function() {
this.searchInfo.pageNumber = 1, this.getList();
}, resetForm: function(e2) {
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.searchInfo.pageNumber = e2, this.getList();
}, upAndDown: function() {
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
}, getRealHeight: function() {
this.$nextTick((function() {
this.height = this.$refs.form_box.offsetHeight + "px";
}));
}, addItem: function() {
this.$emit("clickAdd", this.info);
}, goBack: function() {
this.$emit("back");
}, isAutoShowTask: function(e2, t2) {
var a2 = this, n2 = { showList: e2, hideList: t2, updaterName: this.memberInfor.name, updaterId: this.memberInfor.id };
console.log("params", n2), Object(h["b"])(n2).then((function(e3) {
0 === e3.code ? a2.$message({ type: "success", message: "更新成功" }) : a2.$message({ type: "error", message: "更新失败" }), a2.getList();
}));
}, headerSelectChange: function(e2) {
var t2 = this;
this.$nextTick((function() {
t2.tableData.map((function(t3) {
t3.isShow = e2;
}));
})), this.isIndeterminate = false, this.$forceUpdate();
}, checkTaskList: function() {
} } }, p = f, m = (a("9204"), a("829d")), b = Object(m["a"])(p, c, u, false, null, null, null), g = b.exports, _ = { props: ["info"], components: { taskList: g }, data: function() {
return { is_show: false, height: 0, detailInfo: {}, isEdit: false, searchInfo: { pageNumber: 1, pageSize: 10, planNo: "", planName: "", planStatus: "", planModel: "", jobName: "", projectUuid: "" }, total: 0, tableData: [], planCategory: d["lb"], planStatus: d["mb"], planList: true, taskConfig: false, isSelectAll: false, isIndeterminate: false, memberInfor: "" };
}, watch: { tableData: { handler: function() {
var e2 = this.tableData.filter((function(e3) {
return 1 === e3.autoShow;
}));
this.isIndeterminate = e2.length > 0 && e2.length < this.tableData.length;
}, immediate: true, deep: true } }, mounted: function() {
this.memberInfor = JSON.parse(window.localStorage.getItem("memberInfor")), this.searchInfo.projectUuid = this.info.uuid, this.getRealHeight(), this.getList();
}, methods: { getList: function() {
var e2 = this;
this.isEdit = false, this.isSelectAll = false, Object(h["c"])(this.searchInfo).then((function(t2) {
if (0 === t2.code) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
var a2 = e2.tableData.filter((function(e3) {
return 1 === e3.autoShow;
}));
e2.isIndeterminate = a2.length > 0 && a2.length < e2.tableData.length;
}
}));
}, editThisPage: function() {
if (this.isEdit) {
var e2 = [], t2 = [];
this.tableData.map((function(a2) {
1 === a2.autoShow ? e2.push(a2["planUuid"]) : t2.push(a2["planUuid"]);
})), this.isAutoShowTask(e2, t2);
} else this.isEdit = true;
}, onSearch: function() {
this.searchInfo.pageNumber = 1, this.getList();
}, resetForm: function(e2) {
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.searchInfo.pageNumber = e2, this.getList();
}, upAndDown: function() {
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
}, getRealHeight: function() {
this.$nextTick((function() {
this.height = this.$refs.form_box.offsetHeight + "px";
}));
}, addItem: function() {
this.$emit("clickAdd", this.info);
}, goBack: function() {
this.$emit("back");
}, backList: function() {
this.planList = true, this.taskConfig = false;
}, isAutoShowTask: function(e2, t2) {
var a2 = this, n2 = { showList: e2, hideList: t2, updaterName: this.memberInfor.name, updaterId: this.memberInfor.id };
Object(h["a"])(n2).then((function(e3) {
0 === e3.code ? (a2.isEdit = false, a2.$message({ type: "success", message: "更新成功" })) : a2.$message({ type: "error", message: "更新失败" }), a2.getList();
}));
}, headerSelectChange: function(e2) {
var t2 = this;
this.$nextTick((function() {
t2.tableData.map((function(t3) {
t3.autoShow = e2 ? 1 : 2;
}));
})), this.isIndeterminate = false, this.$forceUpdate();
}, checkTaskList: function(e2) {
this.planList = false, this.taskConfig = true, this.detailInfo = e2;
} } }, v = _, k = (a("a920"), Object(m["a"])(v, i, l, false, null, null, null)), w = k.exports, S = function() {
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
return a2("div", { staticClass: "detailContent" }, [a2("div", { staticClass: "backBar" }, [a2("el-card", { attrs: { shadow: "never" } }, [a2("el-page-header", { attrs: { content: "住户说设置【" + e2.info.topOrganizationalName + "-" + e2.info.name + "】" }, on: { back: e2.goBack } })], 1)], 1), e2._v(" "), a2("el-card", { staticClass: "box-card topSearchBoxCard" }, [a2("div", { ref: "box", staticClass: "searchStys transition_dom" }, [a2("el-form", { ref: "searchInfo", attrs: { model: e2.searchInfo } }, [a2("div", { ref: "form_box", staticClass: "searchBar" }, [a2("div", { staticClass: "searchInput" }, [a2("el-row", { attrs: { gutter: 20 } }, [a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "postponeOrderNo" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "工单编号" }, model: { value: e2.searchInfo.postponeOrderNo, callback: function(t3) {
e2.$set(e2.searchInfo, "postponeOrderNo", t3);
}, expression: "searchInfo.postponeOrderNo" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "orderTitle" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "工单标题" }, model: { value: e2.searchInfo.orderTitle, callback: function(t3) {
e2.$set(e2.searchInfo, "orderTitle", t3);
}, expression: "searchInfo.orderTitle" } })], 1)], 1), e2._v(" "), a2("el-col", { attrs: { span: 6 } }, [a2("el-form-item", { attrs: { prop: "orderTypeList" } }, [a2("el-select", { attrs: { multiple: "", "collapse-tags": "", placeholder: "工单类型", clearable: "" }, model: { value: e2.searchInfo.orderTypeList, callback: function(t3) {
e2.$set(e2.searchInfo, "orderTypeList", t3);
}, expression: "searchInfo.orderTypeList" } }, e2._l(e2.houseServices, (function(e3) {
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
})), 1)], 1)], 1)], 1)], 1), e2._v(" "), a2("div", { staticClass: "searchBtn" }, [a2("el-form-item", [a2("el-button", { on: { click: function(t3) {
return e2.resetForm("searchInfo");
} } }, [e2._v("重置")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), e2.is_show || "80px" == e2.height ? e2._e() : a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("展开"), a2("i", { staticClass: "el-icon-arrow-down" })]), e2._v(" "), e2.is_show && "80px" != e2.height ? a2("el-button", { attrs: { type: "text" }, on: { click: e2.upAndDown } }, [e2._v("收起"), a2("i", { staticClass: "el-icon-arrow-up" })]) : e2._e()], 1)], 1)])])], 1)]), e2._v(" "), a2("el-card", { staticClass: "box-card" }, [a2("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [a2("div", { staticClass: "cardHeader" }, [a2("span", [e2._v("计划列表")]), e2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: e2.editThisPage } }, [e2._v(e2._s(e2.isEdit ? "保存" : "编辑"))])], 1)]), e2._v(" "), a2("div", [a2("el-table", { attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "工单单号", fixed: "", "min-width": "180" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.postponeOrderNo))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "工单标题", fixed: "", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.orderTitle))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "工单类型", fixed: "", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [1 === t3.row.typeValue ? a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.orderType, e2.houseServices)))]) : a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.planModel, e2.comeControl)))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "工单状态", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return e2._l(e2.orderStatusList, (function(n2) {
return a2("div", { key: n2.value }, [t3.row.orderStatus === n2.value && 1 == t3.row.orderStatus && null != t3.row.transferPersonId ? a2("span", [e2._v(e2._s(n2.label) + "(转单中)")]) : e2._e(), e2._v(" "), t3.row.orderStatus === n2.value && 4 == t3.row.orderStatus && null != t3.row.transferPersonId ? a2("span", [e2._v(e2._s(n2.label) + "(转单中)")]) : e2._e(), e2._v(" "), t3.row.orderStatus === n2.value && 8 == t3.row.orderStatus && null != t3.row.transferPersonId ? a2("span", [e2._v(e2._s(n2.label) + "(转单中)")]) : e2._e(), e2._v(" "), t3.row.orderStatus === n2.value && null == t3.row.transferPersonId ? a2("span", [e2._v("\n " + e2._s(n2.label) + "\n ")]) : e2._e()]);
}));
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "报事人", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.name))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "发起时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.createDate))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", "min-width": "180", label: "完成时间" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [a2("span", [e2._v(e2._s(t3.row.createDate))])];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新人", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskShowUpdaterName || "-"))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "更新时间", "min-width": "180" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
return [e2._v(e2._s(t3.row.taskShowUpdateTime || "-"))];
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "是否显示", fixed: "right", "min-width": "100" }, scopedSlots: e2._u([{ key: "header", fn: function() {
return [a2("div", [a2("el-checkbox", { attrs: { disabled: !e2.isEdit, indeterminate: e2.isIndeterminate }, on: { change: e2.headerSelectChange }, model: { value: e2.isSelectAll, callback: function(t3) {
e2.isSelectAll = t3;
}, expression: "isSelectAll" } }), e2._v("\n 是否显示\n ")], 1)];
}, proxy: true }, { key: "default", fn: function(t3) {
return [a2("el-checkbox", { attrs: { disabled: !e2.isEdit }, model: { value: t3.row.isShow, callback: function(a3) {
e2.$set(t3.row, "isShow", a3);
}, expression: "scope.row.isShow" } })];
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)])], 1);
}, I = [], y = { props: ["info"], data: function() {
return { is_show: false, height: 0, searchInfo: { pageNumber: 1, pageSize: 10, postponeOrderNo: "", orderTitle: "", orderTypeList: [], projectUuid: "" }, total: 0, tableData: [], orderStatusList: d["hb"], comeControl: d["u"], houseServices: d["N"], isEdit: false, isSelectAll: false, isIndeterminate: false, memberInfor: "" };
}, watch: { tableData: { handler: function() {
var e2 = this.tableData.filter((function(e3) {
return true === e3.isShow;
}));
this.isIndeterminate = e2.length > 0 && e2.length < this.tableData.length;
}, immediate: true, deep: true } }, mounted: function() {
this.memberInfor = JSON.parse(window.localStorage.getItem("memberInfor")), this.searchInfo.projectUuid = this.info.uuid, this.getRealHeight(), this.getList();
}, methods: { getList: function() {
var e2 = this;
this.isEdit = false, this.isSelectAll = false, Object(h["e"])(this.searchInfo).then((function(t2) {
if (0 === t2.code) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
var a2 = e2.tableData.filter((function(e3) {
return true === e3.isShow;
}));
e2.isIndeterminate = a2.length > 0 && a2.length < e2.tableData.length;
}
}));
}, editThisPage: function() {
if (this.isEdit) {
var e2 = [], t2 = [];
this.tableData.map((function(a2) {
a2.isShow ? e2.push(a2["postponeOrderNo"]) : t2.push(a2["postponeOrderNo"]);
})), this.isAutoShowTask(e2, t2);
} else this.isEdit = true;
}, onSearch: function() {
this.searchInfo.pageNumber = 1, this.getList();
}, resetForm: function(e2) {
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.searchInfo.pageNumber = e2, this.getList();
}, upAndDown: function() {
this.is_show ? this.$refs.box.style.height = "80px" : this.$refs.box.style.height = this.height, this.is_show = !this.is_show;
}, getRealHeight: function() {
this.$nextTick((function() {
this.height = this.$refs.form_box.offsetHeight + "px";
}));
}, addItem: function() {
this.$emit("clickAdd", this.info);
}, goBack: function() {
this.$emit("back");
}, isAutoShowTask: function(e2, t2) {
var a2 = this, n2 = { showList: e2, hideList: t2, updaterName: this.memberInfor.name, updaterId: this.memberInfor.id };
Object(h["b"])(n2).then((function(e3) {
0 === e3.code ? (a2.isEdit = false, a2.$message({ type: "success", message: "更新成功" })) : a2.$message({ type: "error", message: "更新失败" }), a2.getList();
}));
}, headerSelectChange: function(e2) {
var t2 = this;
this.$nextTick((function() {
t2.tableData.map((function(t3) {
t3.isShow = e2;
}));
})), this.isIndeterminate = false, this.$forceUpdate();
} } }, x = y, C = (a("46c7"), Object(m["a"])(x, S, I, false, null, null, null)), N = C.exports, L = a("f6b0"), T = { props: ["type"], components: { planList: w, workList: N }, data: function() {
return { configTop: true, palnConfig: false, workConfig: false, total: 0, searchInfo: { pageNumber: 1, pageSize: 10, name: "", organizationalName: "", isSlideshow: 1 }, tableData: [], detailInfo: {} };
}, mounted: function() {
this.searchInfo.organizationalName = JSON.parse(localStorage.getItem("companyInfo")).fullName, this.getList();
}, methods: { getList: function() {
var e2 = this;
Object(L["b"])(this.searchInfo).then((function(t2) {
e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
}));
}, onSearch: function() {
this.searchInfo.pageNumber = 1, this.getList();
}, resetForm: function(e2) {
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
}, handleSizeChange: function(e2) {
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
}, handleCurrentChange: function(e2) {
this.searchInfo.pageNumber = e2, this.getList();
}, backList: function() {
this.configTop = true, this.palnConfig = false, this.workConfig = false;
}, setDetail: function(e2) {
this.detailInfo = e2, 1 === this.type ? (this.configTop = false, this.palnConfig = true, this.workConfig = false) : (this.configTop = false, this.palnConfig = false, this.workConfig = true);
} } }, $ = T, D = (a("6595"), Object(m["a"])($, o, r, false, null, null, null)), z = D.exports, O = { components: { propertyManage: z }, data: function() {
return { activeName: "propertyManage" };
}, methods: { handleClick: function(e2) {
var t2 = e2.paneName;
this.activeName = t2;
} } }, j = O, A = Object(m["a"])(j, n, s, false, null, "62ec34ee", null);
t["default"] = A.exports;
}, "46c7": function(e, t, a) {
"use strict";
a("ee73");
}, "5f25": function(e, t, a) {
}, 6595: function(e, t, a) {
"use strict";
a("5f25");
}, "6b3f": function(e, t, a) {
}, 8339: function(e, t, a) {
"use strict";
a.d(t, "c", (function() {
return s;
})), a.d(t, "d", (function() {
return o;
})), a.d(t, "b", (function() {
return r;
})), a.d(t, "a", (function() {
return i;
})), a.d(t, "e", (function() {
return l;
})), a.d(t, "g", (function() {
return c;
})), a.d(t, "f", (function() {
return u;
}));
var n = a("b775");
function s(e2) {
return Object(n["a"])({ url: "/hakocompany/TaskShow/queryPlanPageList", method: "post", data: e2 });
}
function o(e2) {
return Object(n["a"])({ url: "/hakocompany/TaskShow/queryTaskConfigList", method: "post", data: e2 });
}
function r(e2) {
return Object(n["a"])({ url: "/hakocompany/TaskShow/changeTaskShowState", method: "post", data: e2 });
}
function i(e2) {
return Object(n["a"])({ url: "/hakocompany/TaskShow/changeAutoShowState", method: "post", data: e2 });
}
function l(e2) {
return Object(n["a"])({ url: "/hakocompany/TaskShow/queryOrderConfigList", method: "post", data: e2 });
}
function c(e2) {
return Object(n["a"])({ url: "/hakocompany/Task/queryByUuid", method: "post", data: e2 });
}
function u(e2) {
return Object(n["a"])({ url: "/hakocompany/Task/queryStandardByTask_ex2", method: "post", data: e2 });
}
}, 9204: function(e, t, a) {
"use strict";
a("6b3f");
}, a920: function(e, t, a) {
"use strict";
a("c22d");
}, c22d: function(e, t, a) {
}, ee73: function(e, t, a) {
}, f6b0: function(e, t, a) {
"use strict";
a.d(t, "b", (function() {
return s;
})), a.d(t, "a", (function() {
return o;
}));
var n = a("b775");
function s(e2) {
return Object(n["a"])({ url: "/company/organizationalStructure/findAllPageList", method: "post", data: e2 });
}
function o(e2) {
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/exportProjectReport", method: "POST", responseType: "blob", data: e2 });
}
} }]);