(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-2a76fe86"], { "03bc": function(t, e, a) { }, 4119: function(t, e, a) { "use strict"; a.r(e); var o = function() { var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2; return a2("div", { staticClass: "headStys" }, [a2("div", { staticClass: "formContent" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.query } }, [a2("el-form-item", { attrs: { prop: "projectUuid", label: "" } }, [a2("el-select", { staticClass: "queryFromItems", attrs: { clearable: "", placeholder: "项目名称" }, model: { value: t2.query.projectUuid, callback: function(e3) { t2.$set(t2.query, "projectUuid", e3); }, expression: "query.projectUuid" } }, t2._l(t2.projectList, (function(t3, e3) { return a2("el-option", { key: e3, attrs: { label: t3.name, value: t3.uuid } }); })), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "contractName", label: "" } }, [a2("el-input", { staticClass: "queryFromItems", attrs: { clearable: "", placeholder: "合同名称", maxlength: "64" }, model: { value: t2.query.contractName, callback: function(e3) { t2.$set(t2.query, "contractName", e3); }, expression: "query.contractName" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "contractCategory", label: "" } }, [a2("el-select", { staticClass: "queryFromItems", attrs: { clearable: "", placeholder: "合同归属" }, model: { value: t2.query.contractCategory, callback: function(e3) { t2.$set(t2.query, "contractCategory", e3); }, expression: "query.contractCategory" } }, t2._l(t2.contractCategoryList, (function(t3) { return a2("el-option", { key: t3.value, attrs: { label: t3.label, value: t3.value } }); })), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { label: "" } }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1), t2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) { return t2.resetForm("query"); } } }, [t2._v("重置")])], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "contentStys" }, [a2("div", { staticClass: "planLst" }, [a2("span", [t2._v("合同保障报表")]), t2._v(" "), a2("span", { staticClass: "addPlan" }, [a2("el-button", { attrs: { type: "text" } }, [t2._v(t2._s(t2.listTable.length > 0 ? t2.listTable[0].createTime : "-") + "(最新更新时间)")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "cololr", attrs: { type: "primary", disabled: t2.updatabtnloading, loading: t2.updatabtnloading }, on: { click: t2.updataStatisic } }, [t2._v("修正统计")])], 1)]), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], staticStyle: { width: "96%", "margin-left": "2%" }, attrs: { border: "", data: t2.listTable, "header-cell-style": t2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "50" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1))])]; } }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "projectName", "show-overflow-tooltip": "", "min-width": "300", label: "项目名称", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [e3.row.projectName ? a2("span", [t2._v(t2._s(e3.row.projectName))]) : a2("span", [t2._v("-")])]; } }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "contractName", width: "200", label: "合同名称", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", width: "200", label: "合同归属", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.contractCategory ? t2.categoryArr(e3.row.contractCategory) : "-"))])]; } }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "spuNum", width: "200", label: "合同spu", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "areaNum", width: "200", label: "有效作业区域", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "ptuNum", width: "200", label: "有效PTU", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "memberNum", width: "200", label: "有效作业人数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "workDuration", width: "200", label: "基础作业时长", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "spuAmount", width: "200", label: "基础云豆R1价值", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type8PlanNum", width: "200", label: "业委会沟通计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type9PlanNum", width: "200", label: "政务沟通计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type10PlanNum", width: "200", label: "客户拜访计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type1PlanNum", width: "200", label: "主动服务计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type4PlanNum", width: "200", label: "清洁计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type5PlanNum", width: "200", label: "车场计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type6PlanNum", width: "200", label: "安防计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type7PlanNum", width: "200", label: "绿化计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type2PlanNum", width: "200", label: "设备计划数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "type3PlanNum", width: "200", label: "电梯计划数", "show-overflow-tooltip": "" } })], 1), t2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "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)]); }, r = [], n = (a("1bc7"), a("fc02"), a("4057"), a("8dee"), a("333d")), c = a("f6b0"), u = a("b071"), i = a("dce5"), l = { components: { Pagination: n["a"] }, data: function() { return { showDialog: false, pageTotal: 0, listLoading: false, projectList: [], listTable: [], contractCategoryList: i["w"], query: { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, projectUuid: "", contractName: "", pageSize: 10, pageNumber: 1 }, updatabtnloading: false }; }, created: function() { this.headClass(); }, mounted: function() { this.getProjectsList(), this.getlistData(); }, methods: { getProjectsList: function() { var t2 = this, e2 = { pageNumber: -1, pageSize: -1, attribute: 1, companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId }; Object(c["b"])(e2).then((function(e3) { t2.projectList = e3.data.records; })); }, getlistData: function() { var t2 = this; this.listLoading = true, Object(u["k"])(this.query).then((function(e2) { t2.listTable = e2.data.records, t2.pageTotal = e2.data.rowsCount, t2.listLoading = false; })).catch((function() { t2.listLoading = false; })); }, updataStatisic: function() { var t2 = this; this.updatabtnloading = true; var e2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId }; Object(u["M"])(e2).then((function(e3) { 0 === e3.code && t2.$message({ message: "修正统计即将开始,数据更新将会耗费一定的时长,请稍后手动刷新数据", type: "warning" }), t2.updatabtnloading = false; })).catch((function() { t2.updatabtnloading = false; })); }, formatNum: function(t2, e2) { var a2 = t2[e2.property] ? t2[e2.property] : 0, o2 = a2.toString().replace(/\d+/, (function(t3) { return t3.replace(/(\d)(?=(\d{3})+$)/g, (function(t4) { return t4 + ","; })); })); return "¥ " + o2; }, categoryArr: function(t2) { var e2 = [], a2 = t2.split(","); return this.contractCategoryList.forEach((function(t3) { a2.forEach((function(a3) { t3.value === a3 && e2.push(t3.label); })); })), e2.join(","); }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(t2) { this.$refs[t2].resetFields(), this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(t2) { this.query.pageSize = t2, this.query.pageNumber = 1, this.getlistData(); }, handleCurrentChange: function(t2) { this.query.pageNumber = t2, this.getlistData(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, s = l, p = (a("4500"), a("829d")), d = Object(p["a"])(s, o, r, false, null, "352b734f", null); e["default"] = d.exports; }, 4500: function(t, e, a) { "use strict"; a("03bc"); }, b071: function(t, e, a) { "use strict"; a.d(e, "n", (function() { return r; })), a.d(e, "q", (function() { return n; })), a.d(e, "o", (function() { return c; })), a.d(e, "r", (function() { return u; })), a.d(e, "E", (function() { return i; })), a.d(e, "D", (function() { return l; })), a.d(e, "N", (function() { return s; })), a.d(e, "K", (function() { return p; })), a.d(e, "F", (function() { return d; })), a.d(e, "p", (function() { return m; })), a.d(e, "G", (function() { return h; })), a.d(e, "H", (function() { return f; })), a.d(e, "O", (function() { return b; })), a.d(e, "k", (function() { return y; })), a.d(e, "M", (function() { return g; })), a.d(e, "l", (function() { return O; })), a.d(e, "j", (function() { return v; })), a.d(e, "i", (function() { return T; })), a.d(e, "L", (function() { return S; })), a.d(e, "x", (function() { return j; })), a.d(e, "y", (function() { return k; })), a.d(e, "c", (function() { return w; })), a.d(e, "d", (function() { return P; })), a.d(e, "b", (function() { return C; })), a.d(e, "w", (function() { return _; })), a.d(e, "v", (function() { return N; })), a.d(e, "C", (function() { return q; })), a.d(e, "a", (function() { return x; })), a.d(e, "A", (function() { return L; })), a.d(e, "t", (function() { return I; })), a.d(e, "B", (function() { return R; })), a.d(e, "u", (function() { return z; })), a.d(e, "s", (function() { return A; })), a.d(e, "z", (function() { return F; })), a.d(e, "P", (function() { return $; })), a.d(e, "g", (function() { return D; })), a.d(e, "h", (function() { return B; })), a.d(e, "f", (function() { return U; })), a.d(e, "e", (function() { return W; })), a.d(e, "m", (function() { return E; })), a.d(e, "I", (function() { return J; })), a.d(e, "J", (function() { return V; })); var o = a("b775"); function r(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/currentYearTotal", method: "POST", data: t2 }); } function n(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/employeeReport", method: "POST", data: t2 }); } function c(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/currentYearTotalTask", method: "POST", data: t2 }); } function u(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/employeeReportTask", method: "POST", data: t2 }); } function i(t2) { return Object(o["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 }); } function l(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: t2 }); } function s(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/currentTotalTask", method: "POST", data: t2 }); } function p(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/syncTaskV2", method: "POST", data: t2 }); } function d(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/syncUpdate", method: "POST", data: t2 }); } function m(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/downloadChargeTotal", method: "POST", responseType: "blob", data: t2 }); } function h(t2) { return Object(o["a"])({ url: "/hakocompany/spaceTaskStatistics/pageList", method: "POST", data: t2 }); } function f(t2) { return Object(o["a"])({ url: "/hakocompany/spaceTaskStatistics/exportByMonth", method: "POST", responseType: "blob", data: t2 }); } function b(t2) { return Object(o["a"])({ url: "/hakocompany/spaceTaskStatistics/statistics", method: "POST", data: t2 }); } function y(t2) { return Object(o["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: t2 }); } function g(t2) { return Object(o["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: t2 }); } function O(t2) { return Object(o["a"])({ url: "/hakocompany/ContractTaskStatistics/pageItemList", method: "POST", data: t2 }); } function v(t2) { return Object(o["a"])({ url: "/hakocompany/ContractExecuteStatistics/pageList", method: "POST", data: t2 }); } function T(t2) { return Object(o["a"])({ url: "/hakocompany/ContractExecuteStatistics/export", method: "POST", responseType: "blob", data: t2 }); } function S(t2) { return Object(o["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: t2 }); } function j(t2) { return Object(o["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: t2 }); } function k(t2) { return Object(o["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: t2 }); } function w(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: t2 }); } function P(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/statistics", method: "POST", data: t2 }); } function C(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/exportReport", method: "POST", responseType: "blob", data: t2 }); } function _(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/personWeekInfo", method: "POST", data: t2 }); } function N(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/downloadWeekInfo", method: "POST", responseType: "blob", data: t2 }); } function q(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: t2 }); } function x(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: t2 }); } function L(t2) { return Object(o["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: t2 }); } function I(t2) { return Object(o["a"])({ url: "/hakocompany/PostponeWorder/memberOrderPage", method: "POST", data: t2 }); } function R(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageByTaskType", method: "POST", data: t2 }); } function z(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/pageByTaskType", method: "POST", data: t2 }); } function A(t2) { return Object(o["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: t2 }); } function F(t2) { return Object(o["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: t2 }); } function $(t2) { return Object(o["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: t2 }); } function D(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList", method: "POST", data: t2 }); } function B(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList/sum", method: "POST", data: t2 }); } function U(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: t2 }); } function W(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/calculated/rate", method: "POST", data: t2 }); } function E(t2) { return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/current/by/charges", method: "POST", data: t2 }); } function J(t2) { return Object(o["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: t2 }); } function V(t2) { return Object(o["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: t2 }); } }, f6b0: function(t, e, a) { "use strict"; a.d(e, "b", (function() { return r; })), a.d(e, "a", (function() { return n; })); var o = a("b775"); function r(t2) { return Object(o["a"])({ url: "/company/organizationalStructure/findAllPageList", method: "post", data: t2 }); } function n(t2) { return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/exportProjectReport", method: "POST", responseType: "blob", data: t2 }); } } }]);