247 lines
19 KiB
JavaScript
247 lines
19 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-144ebcf8"], { "48fb": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "l", (function() {
|
|
return o;
|
|
})), n.d(e, "n", (function() {
|
|
return s;
|
|
})), n.d(e, "e", (function() {
|
|
return i;
|
|
})), n.d(e, "f", (function() {
|
|
return l;
|
|
})), n.d(e, "m", (function() {
|
|
return r;
|
|
})), n.d(e, "j", (function() {
|
|
return c;
|
|
})), n.d(e, "d", (function() {
|
|
return u;
|
|
})), n.d(e, "k", (function() {
|
|
return d;
|
|
})), n.d(e, "c", (function() {
|
|
return p;
|
|
})), n.d(e, "h", (function() {
|
|
return f;
|
|
})), n.d(e, "i", (function() {
|
|
return v;
|
|
})), n.d(e, "b", (function() {
|
|
return m;
|
|
})), n.d(e, "a", (function() {
|
|
return _;
|
|
})), n.d(e, "g", (function() {
|
|
return h;
|
|
}));
|
|
var a = n("b775");
|
|
function o(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/WxminiUser/wxminiUserCount", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/WxminiUser/wxminiUserPageList", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/AgreeInteractive/pageList", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ScoreComment/pageList", method: "post", data: t2 });
|
|
}
|
|
function r(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/WxminiUser/export", method: "post", responseType: "blob", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/TaskInspectionsStandard/queryTaskStandard", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/AgreeInteractive/download", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ScoreComment/download", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ReadRecord/pageList", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/WxminiUser/loginPageList", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ProjectMonthRecord/pageList", method: "post", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ProjectMonthRecord/findById", method: "post", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/ProjectMonthRecord/companyTotal", method: "post", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/AgentConfig/findCustomerVisitById", method: "post", data: t2 });
|
|
}
|
|
}, "63e4": function(t, e, n) {
|
|
"use strict";
|
|
n("89fb");
|
|
}, "67d5": function(t, e, n) {
|
|
"use strict";
|
|
n.d(e, "i", (function() {
|
|
return o;
|
|
})), n.d(e, "j", (function() {
|
|
return s;
|
|
})), n.d(e, "f", (function() {
|
|
return i;
|
|
})), n.d(e, "b", (function() {
|
|
return l;
|
|
})), n.d(e, "c", (function() {
|
|
return r;
|
|
})), n.d(e, "k", (function() {
|
|
return c;
|
|
})), n.d(e, "e", (function() {
|
|
return u;
|
|
})), n.d(e, "d", (function() {
|
|
return d;
|
|
})), n.d(e, "h", (function() {
|
|
return p;
|
|
})), n.d(e, "a", (function() {
|
|
return f;
|
|
})), n.d(e, "g", (function() {
|
|
return v;
|
|
}));
|
|
var a = n("b775");
|
|
function o(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(a["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 });
|
|
}
|
|
function r(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(a["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(a["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(a["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 });
|
|
}
|
|
}, "6c79": function(t, e, n) {
|
|
"use strict";
|
|
n("71fc");
|
|
}, "71fc": function(t, e, n) {
|
|
}, "89fb": function(t, e, n) {
|
|
}, 9305: function(t, e, n) {
|
|
"use strict";
|
|
n("ecd75");
|
|
}, cd26: function(t, e, n) {
|
|
"use strict";
|
|
n.r(e);
|
|
var a = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", { staticClass: "workPointsManage" }, [n2("div", { staticClass: "workPointsRuleList" }, [n2("el-card", { staticClass: "box-card secarch-box" }, [n2("el-row", [n2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [n2("el-select", { staticClass: "select-dom", attrs: { clearable: "", placeholder: "请选择项目" }, model: { value: t2.query.projectUuidList, callback: function(e3) {
|
|
t2.$set(t2.query, "projectUuidList", e3);
|
|
}, expression: "query.projectUuidList" } }, t2._l(t2.projectList, (function(t3) {
|
|
return n2("el-option", { key: t3.uuid, attrs: { label: t3.name, value: t3.uuid } });
|
|
})), 1)], 1), t2._v(" "), n2("el-col", { staticClass: "elCol", attrs: { span: 4 } }, [n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm();
|
|
} } }, [t2._v("重置")]), t2._v(" "), n2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1)], 1)], 1), t2._v(" "), n2("el-card", { staticClass: "box-card", staticStyle: { "margin-top": "15px" } }, [n2("div", { staticClass: "planLst" }, [t2._v("定期安检列表")]), t2._v(" "), n2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.tableLoading, expression: "tableLoading" }], staticStyle: { width: "100%", "margin-top": "15px" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [n2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + "\n ")])];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "month", label: "月份", "min-width": "120", "show-overflow-tooltip": "" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", prop: "projectName", label: "项目名称", "min-width": "180", "show-overflow-tooltip": "" } }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "消防检查", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.fireProtectionCheck || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "补植绿化", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.replantExtent || 0) + "㎡\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "补植苗", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.replantNum || 0) + "棵\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "电梯重大维修/停梯", "min-width": "160", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.elevatorMaintenance || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "渗漏水抢修", "min-width": "100", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.leakageWater) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "重大更新改造", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.majorReform || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "清理业主垃圾", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.trashCleanTon || 0) + "吨\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "清理垃圾站/池点", "min-width": "140", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.trashCleanNum || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "重大设备预警", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("div", [t2._v(t2._s(e3.row.majorDeviceEarlyWarning || 0) + "次")])];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "处理违规停车", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.violateParkingHandle || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "清理搭建物品", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.buildClean || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "处理重大投诉", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.majorComplaintHandle || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "处理违规电动车充电", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v("\n " + t2._s(e3.row.violateChargeHandle || 0) + "次\n ")];
|
|
} }]) }), t2._v(" "), n2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "80", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [n2("el-button", { attrs: { type: "text" }, on: { click: function(n3) {
|
|
return t2.seeItem(e3.row);
|
|
} } }, [t2._v("查看")])];
|
|
} }]) })], 1), t2._v(" "), n2("div", { staticClass: "paginations" }, [n2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)], 1), t2._v(" "), n2("safeProductionDetails", { attrs: { drawer: t2.detailsShow, info: t2.detailsInfo }, on: { closeItem: t2.closeDetails } })], 1);
|
|
}, o = [], s = n("67d5"), i = function() {
|
|
var t2 = this, e2 = t2.$createElement, n2 = t2._self._c || e2;
|
|
return n2("div", [n2("el-drawer", { attrs: { title: "定期安检详情", size: "20%", visible: t2.drawer_ }, on: { "update:visible": function(e3) {
|
|
t2.drawer_ = e3;
|
|
} } }, [n2("div", { staticClass: "showSeeMain" }, [n2("el-divider", { attrs: { "content-position": "left" } }, [t2._v("基本信息")]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("月份:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.month || "-"))])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("项目名称:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.projectName || "-"))])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("创建人:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.creatorName || "-"))])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("创建时间:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.createTime || "-"))])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("更新人:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.updaterName || "-"))])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("更新时间:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.updateTime || "-"))])]), t2._v(" "), n2("el-divider", { attrs: { "content-position": "left" } }, [t2._v("安检详情")]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("消防检查:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.fireProtectionCheck || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("补植绿化:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.replantExtent || 0) + "㎡")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("补植苗:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.replantNum || 0) + "棵")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("电梯重大维修/停梯:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.elevatorMaintenance || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("渗漏水抢修:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.leakageWater || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("重大更新改造:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.majorReform || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("清理业主垃圾:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.trashCleanTon || 0) + "吨")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("清理垃圾站/池点:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.trashCleanNum || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("重大设备预警:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.majorDeviceEarlyWarning || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("处理违规停车:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.violateParkingHandle || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("清理搭建物品:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.buildClean || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("处理重大投诉:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.majorComplaintHandle || 0) + "次")])]), t2._v(" "), n2("div", { staticClass: "seeModel" }, [n2("span", { staticClass: "modelTitle" }, [t2._v("处理违规电动车充电:")]), t2._v(" "), n2("span", [t2._v(t2._s(t2.info.violateChargeHandle || 0) + "次")])])], 1)])], 1);
|
|
}, l = [], r = { props: ["drawer", "info"], data: function() {
|
|
return {};
|
|
}, computed: { drawer_: { get: function() {
|
|
return this.drawer;
|
|
}, set: function(t2) {
|
|
this.$emit("closeItem", t2);
|
|
} } }, methods: {} }, c = r, u = (n("6c79"), n("829d")), d = Object(u["a"])(c, i, l, false, null, "fb4436d2", null), p = d.exports, f = n("48fb"), v = { components: { safeProductionDetails: p }, data: function() {
|
|
return { projectList: [], query: { pageNumber: 1, pageSize: 10, companyId: 0, projectUuid: "" }, pageTotal: 0, tableData: [], tableLoading: false, detailsShow: false, detailsInfo: "" };
|
|
}, mounted: function() {
|
|
this.headClass(), this.getProjectInfo();
|
|
}, beforeRouteLeave: function(t2, e2, n2) {
|
|
n2();
|
|
}, methods: { closeDetails: function() {
|
|
this.detailsShow = false;
|
|
}, seeItem: function(t2) {
|
|
var e2 = this;
|
|
Object(f["b"])({ id: t2.id }).then((function(t3) {
|
|
0 == t3.code && (e2.detailsInfo = t3.data, e2.detailsShow = true);
|
|
}));
|
|
}, getProjectInfo: function() {
|
|
var t2 = this, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(s["j"])({ id: e2, attribute: 1 }).then((function(e3) {
|
|
0 === e3.code && e3.data ? t2.projectList = e3.data : t2.projectList = [], t2.getlistData();
|
|
}));
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getlistData();
|
|
}, getlistData: function() {
|
|
var t2 = this, e2 = JSON.parse(localStorage.getItem("companyInfo")).osId, n2 = { companyId: e2 };
|
|
this.tableLoading = true, Object(f["i"])(n2).then((function(e3) {
|
|
t2.tableLoading = false, 0 === e3.code && e3.data ? (t2.tableData = e3.data.records, t2.pageTotal = e3.data.rowsCount) : t2.tableData = [];
|
|
})).catch((function() {
|
|
t2.tableLoading = false;
|
|
}));
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.getlistData();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getlistData();
|
|
}, listClose: function() {
|
|
this.listVisible = false;
|
|
}, listSizeChange: function(t2) {
|
|
this.listPageSize = t2, this.getlistData();
|
|
}, listCurrentChange: function(t2) {
|
|
this.listPageNumber = t2, this.getLoginList();
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} } }, m = v, _ = (n("63e4"), n("9305"), Object(u["a"])(m, a, o, false, null, "52255270", null));
|
|
e["default"] = _.exports;
|
|
}, ecd75: function(t, e, n) {
|
|
} }]);
|