(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-b62e2592"], { "286b": function(t, e, a) { "use strict"; a("4d8d"); }, "4d8d": function(t, e, a) { }, "67d5": function(t, e, a) { "use strict"; a.d(e, "i", (function() { return l; })), a.d(e, "j", (function() { return o; })), a.d(e, "f", (function() { return r; })), a.d(e, "b", (function() { return i; })), a.d(e, "c", (function() { return s; })), a.d(e, "k", (function() { return c; })), a.d(e, "e", (function() { return u; })), a.d(e, "d", (function() { return p; })), a.d(e, "h", (function() { return d; })), a.d(e, "a", (function() { return m; })), a.d(e, "g", (function() { return f; })); var n = a("b775"); function l(t2) { return Object(n["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: t2 }); } function o(t2) { return Object(n["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: t2 }); } function r(t2) { return Object(n["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: t2 }); } function i(t2) { return Object(n["a"])({ url: "/hakocompany/Role/create", method: "post", data: t2 }); } function s(t2) { return Object(n["a"])({ url: "/hakocompany/Role/delete", method: "post", data: t2 }); } function c(t2) { return Object(n["a"])({ url: "/hakocompany/Role/update", method: "post", data: t2 }); } function u(t2) { return Object(n["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: t2 }); } function p(t2) { return Object(n["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: t2 }); } function d(t2) { return Object(n["a"])({ url: "/company/member/pageListForRole", method: "post", data: t2 }); } function m(t2) { return Object(n["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: t2 }); } function f(t2) { return Object(n["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: t2 }); } }, "6a87": function(t, e, a) { "use strict"; a.r(e); var n = function() { var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2; return a2("div", { staticClass: "app-container cardSet" }, [a2("el-tabs", { attrs: { type: "border-card" }, model: { value: t2.homeActive, callback: function(e3) { t2.homeActive = e3; }, expression: "homeActive" } }, [a2("el-tab-pane", { attrs: { label: "项目", name: "projectPlanSts" } }, ["projectPlanSts" == t2.homeActive ? a2("projectPlanSts") : t2._e()], 1), t2._v(" "), a2("el-tab-pane", { attrs: { label: "员工", name: "projectPlanMemberSts" } }, ["projectPlanMemberSts" == t2.homeActive ? a2("projectPlanMemberSts") : t2._e()], 1)], 1)], 1); }, l = [], o = function() { var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2; return a2("div", [t2.showList ? a2("div", [a2("el-tabs", { on: { "tab-click": t2.handleClick }, model: { value: t2.query.activeName, callback: function(e3) { t2.$set(t2.query, "activeName", e3); }, expression: "query.activeName" } }, [a2("el-tab-pane", { attrs: { label: "全部", name: "全部" } }), t2._v(" "), t2._l(t2.planModeLArr, (function(t3) { return a2("el-tab-pane", { key: t3.value, attrs: { label: t3.label, name: t3.label } }); }))], 2), t2._v(" "), a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.query } }, [a2("el-form-item", { attrs: { prop: "projectUuids" } }, [a2("el-select", { staticClass: "select-dom", attrs: { "collapse-tags": "", clearable: "", filterable: "", multiple: "", placeholder: "请选择项目" }, model: { value: t2.query.projectUuids, callback: function(e3) { t2.$set(t2.query, "projectUuids", e3); }, expression: "query.projectUuids" } }, t2._l(t2.companyProjectList, (function(t3) { return a2("el-option", { key: t3.uuid, attrs: { label: t3.name, value: t3.uuid } }); })), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "month" } }, [a2("el-date-picker", { attrs: { clearable: false, placeholder: "统计月份", type: "month", format: "yyyy-MM", "value-format": "yyyy-MM" }, model: { value: t2.query.month, callback: function(e3) { t2.$set(t2.query, "month", e3); }, expression: "query.month" } })], 1), t2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), a2("el-button", { on: { click: function(e3) { return t2.resetForm("query"); } } }, [t2._v("重置")])], 1), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticStyle: { float: "right" }, attrs: { type: "primary" }, on: { click: t2.exportExcel } }, [t2._v("下载Excel")])], 1)], 1), t2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], ref: "multipleTable", staticStyle: { width: "96%", "margin-left": "2%" }, attrs: { border: "", data: t2.listTable, "row-key": "id", "header-cell-style": t2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50", fixed: "" }, 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) + "\n ")])]; } }], null, false, 3530160193) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "项目名称", fixed: "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.projectName))])]; } }], null, false, 1456381044) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月应完成", prop: "total", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.total || 0))])]; } }], null, false, 1900394228) }, [a2("template", { slot: "header" }, [t2._v("\n 本月应完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间=当月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月未完成", prop: "incomplete", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.incomplete || 0))])]; } }], null, false, 1531351672) }, [a2("template", { slot: "header" }, [t2._v("\n 本月未完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间=当月\n工单实际结束时间=空", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月完成", prop: "completed", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.completed || 0))])]; } }], null, false, 3499364347) }, [a2("template", { slot: "header" }, [t2._v("\n 本月完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间=当月\n工单实际结束时间=当月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "完成率", prop: "completedRate", "min-width": "100" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "已报备工单数", prop: "reported", "min-width": "110" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "实际完成率", prop: "realCompletedRateStr", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.realCompletedRateStr || "0.00%") + " ")])]; } }], null, false, 465612470) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未抢工单数", prop: "unclaimed", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.unclaimed || 0) + " ")])]; } }], null, false, 3213475885) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "提前完成", prop: "earlyCompleted", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.earlyCompleted || 0))])]; } }], null, false, 2292322200) }, [a2("template", { slot: "header" }, [t2._v("\n 提前完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间>当月\n工单实际结束时间=本月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "超时完成", prop: "overtimeCompleted", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.overtimeCompleted || 0))])]; } }], null, false, 3691984864) }, [a2("template", { slot: "header" }, [t2._v("\n 超时完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间<当月\n工单实际结束时间=本月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "超时仍未完成", prop: "overtimeIncomplete", "min-width": "130" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.overtimeIncomplete || 0))])]; } }], null, false, 2919920739) }, [a2("template", { slot: "header" }, [t2._v("\n 超时仍未完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间<当月\n工单实际结束时间=空", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "需保持跟进", prop: "follow", "min-width": "110" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "needCheck", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.needCheck || 0))])]; } }], null, false, 2002531226) }, [a2("template", { slot: "header" }, [t2._v("\n 应验收\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "展示应验收状态为是的所有数据总和的应验收", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "artificialCheckPass", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.artificialCheckPass || 0))])]; } }], null, false, 2829237927) }, [a2("template", { slot: "header" }, [t2._v("\n 人工合格\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有人工 工单验收状态为“合格”的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkPass", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkPass || 0))])]; } }], null, false, 649035809) }, [a2("template", { slot: "header" }, [t2._v("\n 合格\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有工单验收状态为“合格”的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkUnPass", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkUnPass || 0))])]; } }], null, false, 750150746) }, [a2("template", { slot: "header" }, [t2._v("\n 不合格\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有工单验收状态为“不合格”的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "unCheck", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.unCheck || 0))])]; } }], null, false, 2439100875) }, [a2("template", { slot: "header" }, [t2._v("\n 未验收\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有工单验收状态未验收的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "AI合格率", prop: "unCheck", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.aiQualifiedRate ? e3.row.aiQualifiedRate + "%" : "0%"))])]; } }], null, false, 3960053720) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "artificialCheckPassRate", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.artificialCheckPassRate ? e3.row.artificialCheckPassRate + "%" : 0))])]; } }], null, false, 2411198941) }, [a2("template", { slot: "header" }, [t2._v("\n 人工合格验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 人工验收合格)/ 所有“应验收”工单之和。数据验证:【合格】/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkPassRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkPassRate ? e3.row.checkPassRate + "%" : 0))])]; } }], null, false, 1519034333) }, [a2("template", { slot: "header" }, [t2._v("\n Q验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 人工及系统验收合格)/ 所有“应验收”工单之和。数据验证:【合格】/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkUnPassRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkUnPassRate ? e3.row.checkUnPassRate + "%" : 0))])]; } }], null, false, 2715710941) }, [a2("template", { slot: "header" }, [t2._v("\n uQ验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收不合格)/ 所有“应验收”工单之和。数据验证:【不合格】/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkRate ? e3.row.checkRate + "%" : 0))])]; } }], null, false, 1120208733) }, [a2("template", { slot: "header" }, [t2._v("\n 验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收合格 + 已完成 & 应验收 & 验收不合格)/ 所有“应验收”工单之和。数据验证:(【合格】+【不合格】)/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "qualify", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.qualify || 0))])]; } }], null, false, 706848297) }, [a2("template", { slot: "header" }, [t2._v("\n 达标单\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收合格 + (本月完成+提前完成+超时完成) & 不应验收),数据验证:【合格】+【(本月完成+提前完成+超时完成)- 应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "qualifyRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.qualifyRate ? e3.row.qualifyRate + "%" : 0))])]; } }], null, false, 2972507997) }, [a2("template", { slot: "header" }, [t2._v("\n 工作达标率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收合格 + (本月完成+提前完成+超时完成) & 不应验收)/ 所有作业工单数。数据验证:(【合格】+【(本月完成+提前完成+超时完成)- 应验收】)/【本月应完成】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "100", fixed: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return t2.checkViews(e3.row); } } }, [t2._v("查看")])]; } }], null, false, 3971764199) })], 1)], 1), t2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1) : t2._e(), t2._v(" "), t2.showDetailes ? a2("div", [a2("planStatisicDetail", { ref: "planStatisicDetail", on: { showParentList: t2.showParentList } })], 1) : t2._e(), t2._v(" "), a2("div")]); }, r = [], i = (a("e680"), a("a450"), a("e5b4"), function() { var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2; return a2("div", { staticClass: "workPointsManage" }, [a2("div", { staticClass: "workPointsRuleList" }, [a2("el-card", { staticClass: "box-card" }, [a2("el-page-header", { staticClass: "smspageheader", attrs: { content: t2.content }, on: { back: t2.goBack } })], 1), t2._v(" "), a2("div", { staticClass: "deposit-divider" }, [a2("el-input", { staticStyle: { width: "300px", "margin-right": "10px" }, attrs: { placeholder: "工单标题", clearable: "" }, model: { value: t2.query.taskName, callback: function(e3) { t2.$set(t2.query, "taskName", e3); }, expression: "query.taskName" } }), t2._v(" "), a2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("搜索")]), t2._v(" "), a2("el-button", { on: { click: t2.onReset } }, [t2._v("重置")])], 1), t2._v(" "), a2("el-tabs", { directives: [{ name: "loading", rawName: "v-loading", value: t2.tabsloading, expression: "tabsloading" }], attrs: { type: "border-card" }, on: { "tab-click": t2.tabChange }, model: { value: t2.activeName, callback: function(e3) { t2.activeName = e3; }, expression: "activeName" } }, t2._l(t2.tabsDataKeys, (function(e3, n2) { return a2("el-tab-pane", { key: n2, attrs: { label: e3.name, name: e3.value } }, [a2("el-table", { staticStyle: { width: "100%" }, attrs: { border: "", data: t2.tableData, "header-cell-style": t2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", "min-width": "50", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e4) { return [a2("span", [t2._v(t2._s(e4.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + "\n ")])]; } }], null, true) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "orderNo", label: "工单单号", fixed: "", "min-width": "180", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e4) { return [a2("div", { staticClass: "detailesLink", on: { click: function(a3) { return t2.getTargetDetailes(e4.row); } } }, [t2._v("\n " + t2._s(e4.row.orderNo) + "\n ")])]; } }], null, true) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "orderTitle", label: "工单标题", "min-width": "140", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "planModel", label: "工单类型", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e4) { return [t2._v("\n " + t2._s(t2._f("getItemType")(e4.row.planModel, t2.planModeLArr)) + "\n ")]; } }], null, true) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "startTime", label: "工单开始时间", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e4) { return [t2._v(t2._s(e4.row.startTime ? e4.row.startTime : "-"))]; } }], null, true) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "endTime", label: "工单完成时间", "min-width": "160" }, scopedSlots: t2._u([{ key: "default", fn: function(e4) { return [t2._v(t2._s(e4.row.endTime ? e4.row.endTime : "-"))]; } }], null, true) })], 1), t2._v(" "), a2("div", { staticClass: "paginations" }, [a2("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.total }, on: { "update:currentPage": function(e4) { return t2.$set(t2.query, "pageNumber", e4); }, "update:current-page": function(e4) { return t2.$set(t2.query, "pageNumber", e4); }, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1); })), 1)], 1)]); }), s = [], c = (a("ac67"), a("1bc7"), a("32ea"), a("5821")), u = a("b071"), p = a("8f53"); function d(t2, e2) { var a2 = Object.keys(t2); if (Object.getOwnPropertySymbols) { var n2 = Object.getOwnPropertySymbols(t2); e2 && (n2 = n2.filter((function(e3) { return Object.getOwnPropertyDescriptor(t2, e3).enumerable; }))), a2.push.apply(a2, n2); } return a2; } function m(t2) { for (var e2 = 1; e2 < arguments.length; e2++) { var a2 = null != arguments[e2] ? arguments[e2] : {}; e2 % 2 ? d(Object(a2), true).forEach((function(e3) { Object(c["a"])(t2, e3, a2[e3]); })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t2, Object.getOwnPropertyDescriptors(a2)) : d(Object(a2)).forEach((function(e3) { Object.defineProperty(t2, e3, Object.getOwnPropertyDescriptor(a2, e3)); })); } return t2; } var f = { name: "", data: function() { return { planModeLArr: p["i"], detailInfo: "", type: "", tableData: [], query: { pageNumber: 1, pageSize: 10, taskName: "" }, total: 0, tabsloading: false, content: "", tabsDataKeys: [{ name: "本月应完成", value: "1" }, { name: "本月未完成", value: "2" }, { name: "本月完成", value: "3" }, { name: "提前完成", value: "4" }, { name: "超时完成", value: "5" }, { name: "超时仍未完成", value: "6" }, { name: "需保持跟进", value: "7" }, { name: "应验收", value: "8" }, { name: "人工合格", value: "9" }, { name: "合格", value: "10" }, { name: "不合格", value: "11" }, { name: "未验收", value: "12" }, { name: "达标单", value: "13" }, { name: "未抢工单数", value: "14" }, { name: "已报备工单", value: "15" }], activeName: "1", statisicRes: [], formulaTextList: [] }; }, methods: { initData: function(t2, e2, a2) { this.tabsloading = true, this.detailInfo = t2, this.type = e2, this.query.planModel = a2, 1 == e2 ? (this.getProjectMonthTaskList(this.activeName), this.content = "".concat(this.detailInfo.projectName, "-(").concat(this.detailInfo.month, ")-工单统计")) : (this.getlistData(), this.content = "".concat(this.detailInfo.projectName, "-").concat(this.detailInfo.memberName, "(").concat(this.detailInfo.month, ")")); }, getlistData: function() { var t2 = this, e2 = m(m({}, this.query), {}, { id: this.detailInfo.id, type: this.activeName }); Object(u["u"])(e2).then((function(e3) { 0 === e3.code && e3.data ? (t2.tableData = e3.data.records, t2.total = e3.data.rowsCount, t2.tabsloading = false) : (t2.tableData = [], t2.total = 0, t2.tabsloading = false); })).catch((function() { t2.tableData = [], t2.total = 0, t2.tabsloading = false; })); }, onSearch: function() { 1 == this.type ? this.getProjectMonthTaskList() : this.getlistData(); }, onReset: function() { this.query.taskName = "", this.query.pageNumber = 1, 1 == this.type ? this.getProjectMonthTaskList() : this.getlistData(); }, getProjectMonthTaskList: function() { var t2 = this, e2 = m(m({}, this.query), {}, { projectUuid: this.detailInfo.projectUuid, month: this.detailInfo.month, type: this.activeName, id: this.detailInfo.id }); Object(u["B"])(e2).then((function(e3) { 0 === e3.code && e3.data ? (t2.tableData = e3.data.records, t2.total = e3.data.rowsCount, t2.tabsloading = false) : (t2.tableData = [], t2.total = 0, t2.tabsloading = false); })).catch((function() { t2.tableData = [], t2.total = 0, t2.tabsloading = false; })); }, getTargetDetailes: function(t2) { var e2 = t2.orderNo.indexOf("OPS") >= 0; if (e2) this.openNewWindow("temporaryDetail", t2.orderNo); else { var a2 = t2.orderNo.indexOf("TS") >= 0; a2 ? this.openNewWindow("taskDetails", t2.orderNo) : this.openNewWindow("serviceOrderDetail", t2.orderNo); } }, openNewWindow: function(t2, e2) { var a2 = "".concat(window.location.origin, "/#/details/").concat(t2, "?id=").concat(e2); window.open("".concat(a2)); }, tabChange: function(t2) { this.query.pageNumber = 1, 1 == this.type ? this.getProjectMonthTaskList() : this.getlistData(); }, handleSizeChange: function(t2) { this.query.pageSize = t2, 1 == this.type ? this.getProjectMonthTaskList() : this.getlistData(); }, handleCurrentChange: function(t2) { this.query.pageNumber = t2, 1 == this.type ? this.getProjectMonthTaskList() : this.getlistData(); }, goBack: function() { this.$emit("showParentList"); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, h = f, b = (a("c9bd"), a("829d")), v = Object(b["a"])(h, i, s, false, null, "7163cb96", null), y = v.exports, g = a("f6b0"), _ = a("67d5"), k = { components: { planStatisicDetail: y }, data: function() { return { planModeLArr: p["i"], listLoading: false, companyProjectList: [], listTable: [], pageTotal: 0, query: { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, pageNumber: 1, pageSize: 10, projectUuids: [], month: "", activeName: "全部", planModel: 0 }, showList: true, showDetailes: false }; }, created: function() { this.planModeLArr.find((function(t2) { return 14 == t2.value; })) || this.planModeLArr.push({ label: "含危险源工单", value: 14 }); }, mounted: function() { this.query.month = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM"), this.getProjectsList(), this.getlistData(); }, methods: { handleClick: function(t2) { "全部" == t2.name ? this.query.planModel = 0 : this.query.planModel = this.planModeLArr.find((function(e2) { return e2.label == t2.name; })).value, this.getlistData(); }, filterNumber: function(t2) { return t2 ? Number(100 * t2.toFixed(2)) : 0; }, getProjectsList: function() { var t2 = this, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId; Object(_["j"])({ id: e2, attribute: 1 }).then((function(e3) { 0 === e3.code && e3.data ? t2.companyProjectList = e3.data : t2.companyProjectList = []; })); }, getlistData: function() { var t2 = this; this.listLoading = true, Object(u["a"])(this.query).then((function(e2) { if (0 === e2.code && e2.data) { var a2 = e2.data, n2 = a2.records, l2 = a2.rowsCount; n2 && n2.length > 0 ? (t2.listTable = n2, t2.pageTotal = l2) : (t2.listTable = [], t2.pageTotal = 0), t2.listLoading = false; } else t2.listLoading = false; })).catch((function() { t2.listLoading = false; })); }, checkViews: function(t2) { var e2 = this; this.showList = false, this.showDetailes = true, this.$nextTick((function() { e2.$refs.planStatisicDetail.initData(t2, 1, e2.query.planModel); })); }, updataStatisic: function() { var t2 = this, e2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, month: this.query.month }; TaskStatisticsReportUpdata(e2).then((function(e3) { 0 === e3.code && t2.$message({ message: "修正统计即将开始,数据更新将会耗费一定的时长,请稍后手动刷新数据", type: "warning" }); })); }, exportExcel: function() { var t2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, month: this.query.month, projectUuids: this.query.projectUuids, planModel: this.query.planModel, memberName: "" }, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).fullName, a2 = "".concat(e2, "-").concat(this.query.month, "-计划工单统计报表.xls"); Object(g["a"])(t2).then((function(t3) { var e3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" }); if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(e3); else { var n2 = document.createElement("a"); n2.download = a2, n2.href = URL.createObjectURL(e3), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2); } })).catch((function(t3) { })); }, showParentList: function() { this.showList = true, this.showDetailes = false; }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(t2) { this.$refs[t2].resetFields(), this.query.projectUuids = [], this.query.month = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM"), this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(t2) { this.query.pageSize = t2, this.getlistData(); }, handleCurrentChange: function(t2) { this.query.pageNumber = t2, this.getlistData(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, w = k, S = (a("286b"), Object(b["a"])(w, o, r, false, null, null, null)), C = S.exports, j = function() { var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2; return a2("div", [t2.showList ? a2("div", [a2("el-tabs", { on: { "tab-click": t2.handleClick }, model: { value: t2.query.activeName, callback: function(e3) { t2.$set(t2.query, "activeName", e3); }, expression: "query.activeName" } }, [a2("el-tab-pane", { attrs: { label: "全部", name: "全部" } }), t2._v(" "), t2._l(t2.planModeLArr, (function(t3) { return a2("el-tab-pane", { key: t3.value, attrs: { label: t3.label, name: t3.label } }); }))], 2), t2._v(" "), a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.query } }, [a2("el-form-item", { attrs: { prop: "projectUuids" } }, [a2("el-select", { staticClass: "select-dom", attrs: { "collapse-tags": "", clearable: "", filterable: "", multiple: "", placeholder: "请选择项目" }, model: { value: t2.query.projectUuids, callback: function(e3) { t2.$set(t2.query, "projectUuids", e3); }, expression: "query.projectUuids" } }, t2._l(t2.companyProjectList, (function(t3) { return a2("el-option", { key: t3.uuid, attrs: { label: t3.name, value: t3.uuid } }); })), 1)], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "memberName" } }, [a2("el-input", { attrs: { clearable: "", placeholder: "用户姓名" }, model: { value: t2.query.memberName, callback: function(e3) { t2.$set(t2.query, "memberName", e3); }, expression: "query.memberName" } })], 1), t2._v(" "), a2("el-form-item", { attrs: { prop: "month" } }, [a2("el-date-picker", { attrs: { clearable: false, placeholder: "统计月份", type: "month", format: "yyyy-MM", "value-format": "yyyy-MM" }, model: { value: t2.query.month, callback: function(e3) { t2.$set(t2.query, "month", e3); }, expression: "query.month" } })], 1), t2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")]), t2._v(" "), a2("el-button", { on: { click: function(e3) { return t2.resetForm("query"); } } }, [t2._v("重置")])], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "tableDownload" }, [a2("span", { staticStyle: { "font-size": "14px" } }, [t2._v("修正统计时间:" + t2._s(t2.time))]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.updataStatisic } }, [t2._v("修正统计")]), t2._v(" "), a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.exportExcel } }, [t2._v("下载Excel")])], 1), t2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], ref: "multipleTable", staticStyle: { width: "96%", "margin-left": "2%" }, attrs: { border: "", data: t2.listTable, "row-key": "id", "header-cell-style": t2.headClass } }, [a2("el-table-column", { attrs: { label: "#", align: "center", width: "50", fixed: "" }, 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) + "\n ")])]; } }], null, false, 3530160193) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", "show-overflow-tooltip": "", label: "项目名称", fixed: "", "min-width": "120" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.projectName))])]; } }], null, false, 1456381044) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "姓名", "min-width": "120", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("div", [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: e3.row.memberName + "(" + e3.row.memberId + ")", placement: "top" } }, [a2("div", [t2._v(t2._s(e3.row.memberName))])])], 1)]; } }], null, false, 402554088) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月应完成", prop: "total", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.total || 0))])]; } }], null, false, 1900394228) }, [a2("template", { slot: "header" }, [t2._v("\n 本月应完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间=当月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月未完成", prop: "incomplete", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.incomplete || 0))])]; } }], null, false, 1531351672) }, [a2("template", { slot: "header" }, [t2._v("\n 本月未完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间=当月\n工单实际结束时间=空", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "本月完成", prop: "completed", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.completed || 0))])]; } }], null, false, 3499364347) }, [a2("template", { slot: "header" }, [t2._v("\n 本月完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间=当月\n工单实际结束时间=当月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "完成率", prop: "completedRate", "min-width": "100" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "已报备工单数", prop: "reported", "min-width": "110" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "实际完成率", prop: "realCompletedRateStr", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.realCompletedRateStr || "0.00%"))])]; } }], null, false, 215182941) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未抢工单数", prop: "unclaimed", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.unclaimed || 0))])]; } }], null, false, 3003213926) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "提前完成", prop: "earlyCompleted", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.earlyCompleted || 0))])]; } }], null, false, 2292322200) }, [a2("template", { slot: "header" }, [t2._v("\n 提前完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间>当月\n工单实际结束时间=本月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "超时完成", prop: "overtimeCompleted", "min-width": "100" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.overtimeCompleted || 0))])]; } }], null, false, 3691984864) }, [a2("template", { slot: "header" }, [t2._v("\n 超时完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间<当月\n工单实际结束时间=本月", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "超时仍未完成", prop: "overtimeIncomplete", "min-width": "130" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.overtimeIncomplete || 0))])]; } }], null, false, 2919920739) }, [a2("template", { slot: "header" }, [t2._v("\n 超时仍未完成\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "工单计划结束时间<当月\n工单实际结束时间=空", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "需保持跟进", prop: "follow", "min-width": "110" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "needCheck", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.needCheck || 0))])]; } }], null, false, 2002531226) }, [a2("template", { slot: "header" }, [t2._v("\n 应验收\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "展示应验收状态为是的所有数据总和的应验收", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "artificialCheckPass", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.artificialCheckPass || 0))])]; } }], null, false, 2829237927) }, [a2("template", { slot: "header" }, [t2._v("\n 人工合格\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有人工 工单验收状态为“合格”的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkPass", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkPass || 0))])]; } }], null, false, 649035809) }, [a2("template", { slot: "header" }, [t2._v("\n 合格\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有工单验收状态为“合格”的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkUnPass", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkUnPass || 0))])]; } }], null, false, 750150746) }, [a2("template", { slot: "header" }, [t2._v("\n 不合格\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有工单验收状态为“不合格”的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "unCheck", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.unCheck || 0))])]; } }], null, false, 2439100875) }, [a2("template", { slot: "header" }, [t2._v("\n 未验收\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "显示所有工单验收状态未验收的数据总和", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "AI合格率", prop: "unCheck", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.aiQualifiedRate ? e3.row.aiQualifiedRate + "%" : "0%"))])]; } }], null, false, 3960053720) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "artificialCheckPassRate", "min-width": "140" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.artificialCheckPassRate ? e3.row.artificialCheckPassRate + "%" : 0))])]; } }], null, false, 2411198941) }, [a2("template", { slot: "header" }, [t2._v("\n 人工合格验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 人工验收合格)/ 所有“应验收”工单之和。数据验证:【合格】/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkPassRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkPassRate ? e3.row.checkPassRate + "%" : 0))])]; } }], null, false, 1519034333) }, [a2("template", { slot: "header" }, [t2._v("\n Q验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 人工及系统验收合格)/ 所有“应验收”工单之和。数据验证:【合格】/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkUnPassRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkUnPassRate ? e3.row.checkUnPassRate + "%" : 0))])]; } }], null, false, 2715710941) }, [a2("template", { slot: "header" }, [t2._v("\n uQ验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收不合格)/ 所有“应验收”工单之和。数据验证:【不合格】/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "checkRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.checkRate ? e3.row.checkRate + "%" : 0))])]; } }], null, false, 1120208733) }, [a2("template", { slot: "header" }, [t2._v("\n 验收率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收合格 + 已完成 & 应验收 & 验收不合格)/ 所有“应验收”工单之和。数据验证:(【合格】+【不合格】)/【应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "qualify", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.qualify || 0))])]; } }], null, false, 706848297) }, [a2("template", { slot: "header" }, [t2._v("\n 达标单\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收合格 + (本月完成+提前完成+超时完成) & 不应验收),数据验证:【合格】+【(本月完成+提前完成+超时完成)- 应验收】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "qualifyRate", "min-width": "110" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("span", [t2._v(t2._s(e3.row.qualifyRate ? e3.row.qualifyRate + "%" : 0))])]; } }], null, false, 2972507997) }, [a2("template", { slot: "header" }, [t2._v("\n 工作达标率\n "), a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: "( 应验收 & 验收合格 + (本月完成+提前完成+超时完成) & 不应验收)/ 所有作业工单数。数据验证:(【合格】+【(本月完成+提前完成+超时完成)- 应验收】)/【本月应完成】", placement: "top-start" } }, [a2("i", { staticClass: "el-icon-question itemcursor" })])], 1)], 2), t2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作", "min-width": "100", fixed: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) { return [a2("el-button", { attrs: { type: "text" }, on: { click: function(a3) { return t2.checkViews(e3.row); } } }, [t2._v("查看")])]; } }], null, false, 3971764199) })], 1)], 1), t2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1) : t2._e(), t2._v(" "), t2.showDetailes ? a2("div", [a2("planStatisicDetail", { ref: "planStatisicDetail", on: { showParentList: t2.showParentList } })], 1) : t2._e()]); }, O = [], q = { components: { planStatisicDetail: y }, data: function() { return { planModeLArr: p["i"], listLoading: false, companyProjectList: [], listTable: [], pageTotal: 0, query: { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, pageNumber: 1, pageSize: 10, memberName: "", month: "", activeName: "全部", planModel: 0 }, time: "", showList: true, showDetailes: false }; }, mounted: function() { this.query.month = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM"), this.getProjectsList(), this.getlistData(); }, methods: { handleClick: function(t2) { "全部" == t2.name ? this.query.planModel = 0 : this.query.planModel = this.planModeLArr.find((function(e2) { return e2.label == t2.name; })).value, this.getlistData(); }, filterNumber: function(t2) { return t2 ? Number(100 * t2.toFixed(2)) : 0; }, getProjectsList: function() { var t2 = this, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId; Object(_["j"])({ id: e2, attribute: 1 }).then((function(e3) { 0 === e3.code && e3.data ? t2.companyProjectList = e3.data : t2.companyProjectList = []; })); }, getlistData: function() { var t2 = this; this.listLoading = true, Object(u["c"])(this.query).then((function(e2) { if (0 === e2.code && e2.data) { var a2 = e2.data, n2 = a2.records, l2 = a2.rowsCount; n2 && n2.length > 0 ? (t2.time = n2[0].createTime, t2.listTable = n2, t2.pageTotal = l2) : (t2.listTable = [], t2.pageTotal = 0), t2.listLoading = false; } else t2.listLoading = false; })).catch((function() { t2.listLoading = false; })); }, checkViews: function(t2) { var e2 = this; this.showList = false, this.showDetailes = true, this.$nextTick((function() { e2.$refs.planStatisicDetail.initData(t2, 2, e2.query.planModel); })); }, updataStatisic: function() { var t2 = this, e2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, month: this.query.month }; Object(u["d"])(e2).then((function(e3) { 0 === e3.code && t2.$message({ message: "修正统计即将开始,数据更新将会耗费一定的时长,请稍后手动刷新数据", type: "warning" }); })); }, exportExcel: function() { var t2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, month: this.query.month, memberName: this.query.memberName, projectUuids: this.query.projectUuids, planModel: this.query.planModel }, e2 = JSON.parse(window.localStorage.getItem("companyInfo")).fullName, a2 = "".concat(e2, "-").concat(this.query.month, "-计划工单统计报表.xls"); Object(u["b"])(t2).then((function(t3) { var e3 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" }); if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(e3); else { var n2 = document.createElement("a"); n2.download = a2, n2.href = URL.createObjectURL(e3), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2); } })).catch((function(t3) { })); }, showParentList: function() { this.showList = true, this.showDetailes = false; }, onSearch: function() { this.query.pageNumber = 1, this.getlistData(); }, resetForm: function(t2) { this.$refs[t2].resetFields(), this.query.projectUuids = [], this.query.memberName = "", this.query.month = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM"), this.query.pageNumber = 1, this.getlistData(); }, handleSizeChange: function(t2) { this.query.pageSize = t2, this.getlistData(); }, handleCurrentChange: function(t2) { this.query.pageNumber = t2, this.getlistData(); }, headClass: function() { return "text-align:center;background:#FAFAFA;"; } } }, P = q, T = (a("d677"), Object(b["a"])(P, j, O, false, null, null, null)), N = T.exports, L = { components: { projectPlanSts: C, projectPlanMemberSts: N }, data: function() { return { homeActive: "projectPlanSts" }; }, mounted: function() { }, methods: {} }, R = L, x = (a("b13a"), Object(b["a"])(R, n, l, false, null, null, null)); e["default"] = x.exports; }, "8f53": function(t, e, a) { "use strict"; a.d(e, "g", (function() { return n; })), a.d(e, "h", (function() { return l; })), a.d(e, "n", (function() { return o; })), a.d(e, "l", (function() { return r; })), a.d(e, "m", (function() { return i; })), a.d(e, "i", (function() { return s; })), a.d(e, "b", (function() { return c; })), a.d(e, "a", (function() { return u; })), a.d(e, "f", (function() { return p; })), a.d(e, "e", (function() { return d; })), a.d(e, "j", (function() { return m; })), a.d(e, "c", (function() { return f; })), a.d(e, "d", (function() { return h; })); var 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: "已评价" }, { value: 11, label: "未受理" }], l = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }, { value: 11, label: "公区整改" }, { value: 12, label: "住户服务" }, { value: 13, label: "通用工单" }, { value: 15, label: "审批工单" }], o = [{ value: 1, label: "服务提交" }, { value: 2, label: "服务受理" }, { value: 3, label: "服务处理" }, { value: 4, label: "服务评价" }, { value: 5, label: "服务完成" }, { value: 6, label: "服务拒绝" }], r = [{ value: 1, label: "预算管控表" }, { value: 2, label: "现金流表" }, { value: 3, label: "利润表" }, { value: 4, label: "资产负债表" }, { value: 5, label: "提供给业委会收支表" }], i = [{ 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 }], s = [{ 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 }], c = [{ value: 0, label: "无" }, { value: 1, label: "物业管理费" }, { value: 2, label: "停车费" }, { value: 3, label: "多经" }, { value: 4, label: "代收代付" }], u = [{ value: 0, 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: 10, label: "代收代付" }, { value: 9, label: "其它" }], p = [{ value: 1, label: "流入" }, { value: 2, label: "流出" }], d = [{ value: 1, label: "收入" }, { value: 2, label: "支出" }], m = [{ value: 1, label: "低" }, { value: 2, label: "一般" }, { value: 3, label: "紧急" }], f = [{ 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 }], h = [{ 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 }]; }, "9aea": function(t, e, a) { }, b071: function(t, e, a) { "use strict"; a.d(e, "n", (function() { return l; })), a.d(e, "q", (function() { return o; })), a.d(e, "o", (function() { return r; })), a.d(e, "r", (function() { return i; })), a.d(e, "E", (function() { return s; })), a.d(e, "D", (function() { return c; })), a.d(e, "N", (function() { return u; })), 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 f; })), a.d(e, "H", (function() { return h; })), a.d(e, "O", (function() { return b; })), a.d(e, "k", (function() { return v; })), a.d(e, "M", (function() { return y; })), a.d(e, "l", (function() { return g; })), a.d(e, "j", (function() { return _; })), a.d(e, "i", (function() { return k; })), a.d(e, "L", (function() { return w; })), a.d(e, "x", (function() { return S; })), a.d(e, "y", (function() { return C; })), a.d(e, "c", (function() { return j; })), a.d(e, "d", (function() { return O; })), a.d(e, "b", (function() { return q; })), a.d(e, "w", (function() { return P; })), a.d(e, "v", (function() { return T; })), a.d(e, "C", (function() { return N; })), a.d(e, "a", (function() { return L; })), a.d(e, "A", (function() { return R; })), a.d(e, "t", (function() { return x; })), a.d(e, "B", (function() { return D; })), a.d(e, "u", (function() { return I; })), a.d(e, "s", (function() { return M; })), a.d(e, "z", (function() { return U; })), a.d(e, "P", (function() { return z; })), a.d(e, "g", (function() { return A; })), a.d(e, "h", (function() { return $; })), a.d(e, "f", (function() { return F; })), a.d(e, "e", (function() { return B; })), a.d(e, "m", (function() { return E; })), a.d(e, "I", (function() { return J; })), a.d(e, "J", (function() { return W; })); var n = a("b775"); function l(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/currentYearTotal", method: "POST", data: t2 }); } function o(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/employeeReport", method: "POST", data: t2 }); } function r(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/currentYearTotalTask", method: "POST", data: t2 }); } function i(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/employeeReportTask", method: "POST", data: t2 }); } function s(t2) { return Object(n["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 }); } function c(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: t2 }); } function u(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/currentTotalTask", method: "POST", data: t2 }); } function p(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/syncTaskV2", method: "POST", data: t2 }); } function d(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/syncUpdate", method: "POST", data: t2 }); } function m(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/downloadChargeTotal", method: "POST", responseType: "blob", data: t2 }); } function f(t2) { return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/pageList", method: "POST", data: t2 }); } function h(t2) { return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/exportByMonth", method: "POST", responseType: "blob", data: t2 }); } function b(t2) { return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/statistics", method: "POST", data: t2 }); } function v(t2) { return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: t2 }); } function y(t2) { return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: t2 }); } function g(t2) { return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageItemList", method: "POST", data: t2 }); } function _(t2) { return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/pageList", method: "POST", data: t2 }); } function k(t2) { return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/export", method: "POST", responseType: "blob", data: t2 }); } function w(t2) { return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: t2 }); } function S(t2) { return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: t2 }); } function C(t2) { return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: t2 }); } function j(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: t2 }); } function O(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/statistics", method: "POST", data: t2 }); } function q(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/exportReport", method: "POST", responseType: "blob", data: t2 }); } function P(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/personWeekInfo", method: "POST", data: t2 }); } function T(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/downloadWeekInfo", method: "POST", responseType: "blob", data: t2 }); } function N(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: t2 }); } function L(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: t2 }); } function R(t2) { return Object(n["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: t2 }); } function x(t2) { return Object(n["a"])({ url: "/hakocompany/PostponeWorder/memberOrderPage", method: "POST", data: t2 }); } function D(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageByTaskType", method: "POST", data: t2 }); } function I(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageByTaskType", method: "POST", data: t2 }); } function M(t2) { return Object(n["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: t2 }); } function U(t2) { return Object(n["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: t2 }); } function z(t2) { return Object(n["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: t2 }); } function A(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList", method: "POST", data: t2 }); } function $(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList/sum", method: "POST", data: t2 }); } function F(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: t2 }); } function B(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/calculated/rate", method: "POST", data: t2 }); } function E(t2) { return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/current/by/charges", method: "POST", data: t2 }); } function J(t2) { return Object(n["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: t2 }); } function W(t2) { return Object(n["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: t2 }); } }, b13a: function(t, e, a) { "use strict"; a("fc8f"); }, b8ba: function(t, e, a) { }, c9bd: function(t, e, a) { "use strict"; a("9aea"); }, d677: function(t, e, a) { "use strict"; a("b8ba"); }, f6b0: function(t, e, a) { "use strict"; a.d(e, "b", (function() { return l; })), a.d(e, "a", (function() { return o; })); var n = a("b775"); function l(t2) { return Object(n["a"])({ url: "/company/organizationalStructure/findAllPageList", method: "post", data: t2 }); } function o(t2) { return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/exportProjectReport", method: "POST", responseType: "blob", data: t2 }); } }, fc8f: function(t, e, a) { } }]);