649 lines
50 KiB
JavaScript
649 lines
50 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-8aaf4f44"], { "0060": function(e, t, a) {
|
|
}, "32a1": function(e, t, a) {
|
|
}, 4355: function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "c", (function() {
|
|
return o;
|
|
})), a.d(t, "d", (function() {
|
|
return r;
|
|
})), a.d(t, "j", (function() {
|
|
return l;
|
|
})), a.d(t, "h", (function() {
|
|
return i;
|
|
})), a.d(t, "a", (function() {
|
|
return s;
|
|
})), a.d(t, "b", (function() {
|
|
return c;
|
|
})), a.d(t, "f", (function() {
|
|
return u;
|
|
})), a.d(t, "g", (function() {
|
|
return d;
|
|
})), a.d(t, "k", (function() {
|
|
return p;
|
|
})), a.d(t, "i", (function() {
|
|
return h;
|
|
})), a.d(t, "e", (function() {
|
|
return f;
|
|
}));
|
|
var n = a("b775");
|
|
function o(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/create", method: "post", data: e2 });
|
|
}
|
|
function r(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/delete", method: "post", data: e2 });
|
|
}
|
|
function l(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/update", method: "post", data: e2 });
|
|
}
|
|
function i(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackage/pageList", method: "post", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(n["a"])({ url: "/company/member/companyMemberPage", method: "post", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsPackageMemberRel/create", method: "post", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsPackageMemberRel/listByPackageId", method: "post", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/pageByMonth", method: "post", data: e2 });
|
|
}
|
|
function p(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/pageList", method: "post", data: e2 });
|
|
}
|
|
function h(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/statistics", method: "post", data: e2 });
|
|
}
|
|
function f(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/MeritsBudgetPackageStatistics/exportByMonth", method: "post", data: e2, responseType: "blob" });
|
|
}
|
|
}, "51d4": function(e, t, a) {
|
|
"use strict";
|
|
a("32a1");
|
|
}, "67d5": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "i", (function() {
|
|
return o;
|
|
})), a.d(t, "j", (function() {
|
|
return r;
|
|
})), a.d(t, "f", (function() {
|
|
return l;
|
|
})), a.d(t, "b", (function() {
|
|
return i;
|
|
})), a.d(t, "c", (function() {
|
|
return s;
|
|
})), a.d(t, "k", (function() {
|
|
return c;
|
|
})), a.d(t, "e", (function() {
|
|
return u;
|
|
})), a.d(t, "d", (function() {
|
|
return d;
|
|
})), a.d(t, "h", (function() {
|
|
return p;
|
|
})), a.d(t, "a", (function() {
|
|
return h;
|
|
})), a.d(t, "g", (function() {
|
|
return f;
|
|
}));
|
|
var n = a("b775");
|
|
function o(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/pageList", method: "post", data: e2 });
|
|
}
|
|
function r(e2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/selectOsList", method: "post", data: e2 });
|
|
}
|
|
function l(e2) {
|
|
return Object(n["a"])({ url: "/company/organizationalStructure/findOsTree", method: "post", data: e2 });
|
|
}
|
|
function i(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/create", method: "post", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/delete", method: "post", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/Role/update", method: "post", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/RoleMenuRel/findByRoleIdAndClienId", method: "post", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/OrganizationRoleRel/findByRoleId", method: "post", data: e2 });
|
|
}
|
|
function p(e2) {
|
|
return Object(n["a"])({ url: "/company/member/pageListForRole", method: "post", data: e2 });
|
|
}
|
|
function h(e2) {
|
|
return Object(n["a"])({ url: "/company/MemberRoleRel/batchDelete", method: "post", data: e2 });
|
|
}
|
|
function f(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/account/findProjectByRole", method: "post", data: e2 });
|
|
}
|
|
}, "6b00": function(e, t, a) {
|
|
"use strict";
|
|
a("0060");
|
|
}, "8d99": function(e, t, a) {
|
|
"use strict";
|
|
a("e62d");
|
|
}, "8f53": function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "g", (function() {
|
|
return n;
|
|
})), a.d(t, "h", (function() {
|
|
return o;
|
|
})), a.d(t, "n", (function() {
|
|
return r;
|
|
})), a.d(t, "l", (function() {
|
|
return l;
|
|
})), a.d(t, "m", (function() {
|
|
return i;
|
|
})), a.d(t, "i", (function() {
|
|
return s;
|
|
})), a.d(t, "b", (function() {
|
|
return c;
|
|
})), a.d(t, "a", (function() {
|
|
return u;
|
|
})), a.d(t, "f", (function() {
|
|
return d;
|
|
})), a.d(t, "e", (function() {
|
|
return p;
|
|
})), a.d(t, "j", (function() {
|
|
return h;
|
|
})), a.d(t, "c", (function() {
|
|
return f;
|
|
})), a.d(t, "d", (function() {
|
|
return m;
|
|
}));
|
|
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: "未受理" }], o = [{ value: 1, label: "房屋认证" }, { value: 2, label: "门禁申请" }, { value: 3, label: "车辆月卡" }, { value: 4, label: "投诉报修" }, { value: 11, label: "公区整改" }, { value: 12, label: "住户服务" }, { value: 13, label: "通用工单" }, { value: 15, label: "审批工单" }], r = [{ value: 1, label: "服务提交" }, { value: 2, label: "服务受理" }, { value: 3, label: "服务处理" }, { value: 4, label: "服务评价" }, { value: 5, label: "服务完成" }, { value: 6, label: "服务拒绝" }], l = [{ 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: "其它" }], d = [{ value: 1, label: "流入" }, { value: 2, label: "流出" }], p = [{ value: 1, label: "收入" }, { value: 2, label: "支出" }], h = [{ 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 }], m = [{ 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 }];
|
|
}, b071: function(e, t, a) {
|
|
"use strict";
|
|
a.d(t, "n", (function() {
|
|
return o;
|
|
})), a.d(t, "q", (function() {
|
|
return r;
|
|
})), a.d(t, "o", (function() {
|
|
return l;
|
|
})), a.d(t, "r", (function() {
|
|
return i;
|
|
})), a.d(t, "E", (function() {
|
|
return s;
|
|
})), a.d(t, "D", (function() {
|
|
return c;
|
|
})), a.d(t, "N", (function() {
|
|
return u;
|
|
})), a.d(t, "K", (function() {
|
|
return d;
|
|
})), a.d(t, "F", (function() {
|
|
return p;
|
|
})), a.d(t, "p", (function() {
|
|
return h;
|
|
})), a.d(t, "G", (function() {
|
|
return f;
|
|
})), a.d(t, "H", (function() {
|
|
return m;
|
|
})), a.d(t, "O", (function() {
|
|
return b;
|
|
})), a.d(t, "k", (function() {
|
|
return v;
|
|
})), a.d(t, "M", (function() {
|
|
return g;
|
|
})), a.d(t, "l", (function() {
|
|
return y;
|
|
})), a.d(t, "j", (function() {
|
|
return w;
|
|
})), a.d(t, "i", (function() {
|
|
return k;
|
|
})), a.d(t, "L", (function() {
|
|
return S;
|
|
})), a.d(t, "x", (function() {
|
|
return O;
|
|
})), a.d(t, "y", (function() {
|
|
return j;
|
|
})), a.d(t, "c", (function() {
|
|
return I;
|
|
})), a.d(t, "d", (function() {
|
|
return _;
|
|
})), a.d(t, "b", (function() {
|
|
return T;
|
|
})), a.d(t, "w", (function() {
|
|
return N;
|
|
})), a.d(t, "v", (function() {
|
|
return L;
|
|
})), a.d(t, "C", (function() {
|
|
return C;
|
|
})), a.d(t, "a", (function() {
|
|
return P;
|
|
})), a.d(t, "A", (function() {
|
|
return D;
|
|
})), a.d(t, "t", (function() {
|
|
return x;
|
|
})), a.d(t, "B", (function() {
|
|
return M;
|
|
})), a.d(t, "u", (function() {
|
|
return R;
|
|
})), a.d(t, "s", (function() {
|
|
return z;
|
|
})), a.d(t, "z", (function() {
|
|
return q;
|
|
})), a.d(t, "P", (function() {
|
|
return U;
|
|
})), a.d(t, "g", (function() {
|
|
return B;
|
|
})), a.d(t, "h", (function() {
|
|
return E;
|
|
})), a.d(t, "f", (function() {
|
|
return W;
|
|
})), a.d(t, "e", (function() {
|
|
return $;
|
|
})), a.d(t, "m", (function() {
|
|
return F;
|
|
})), a.d(t, "I", (function() {
|
|
return J;
|
|
})), a.d(t, "J", (function() {
|
|
return V;
|
|
}));
|
|
var n = a("b775");
|
|
function o(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/currentYearTotal", method: "POST", data: e2 });
|
|
}
|
|
function r(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/employeeReport", method: "POST", data: e2 });
|
|
}
|
|
function l(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/currentYearTotalTask", method: "POST", data: e2 });
|
|
}
|
|
function i(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/employeeReportTask", method: "POST", data: e2 });
|
|
}
|
|
function s(e2) {
|
|
return Object(n["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: e2 });
|
|
}
|
|
function c(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: e2 });
|
|
}
|
|
function u(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/currentTotalTask", method: "POST", data: e2 });
|
|
}
|
|
function d(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/syncTaskV2", method: "POST", data: e2 });
|
|
}
|
|
function p(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/syncUpdate", method: "POST", data: e2 });
|
|
}
|
|
function h(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/downloadChargeTotal", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function f(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/pageList", method: "POST", data: e2 });
|
|
}
|
|
function m(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/exportByMonth", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function b(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/statistics", method: "POST", data: e2 });
|
|
}
|
|
function v(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: e2 });
|
|
}
|
|
function g(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: e2 });
|
|
}
|
|
function y(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageItemList", method: "POST", data: e2 });
|
|
}
|
|
function w(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/pageList", method: "POST", data: e2 });
|
|
}
|
|
function k(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/export", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function S(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: e2 });
|
|
}
|
|
function O(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: e2 });
|
|
}
|
|
function j(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function I(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: e2 });
|
|
}
|
|
function _(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/statistics", method: "POST", data: e2 });
|
|
}
|
|
function T(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/exportReport", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function N(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/personWeekInfo", method: "POST", data: e2 });
|
|
}
|
|
function L(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/downloadWeekInfo", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function C(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: e2 });
|
|
}
|
|
function P(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: e2 });
|
|
}
|
|
function D(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: e2 });
|
|
}
|
|
function x(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/memberOrderPage", method: "POST", data: e2 });
|
|
}
|
|
function M(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageByTaskType", method: "POST", data: e2 });
|
|
}
|
|
function R(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageByTaskType", method: "POST", data: e2 });
|
|
}
|
|
function z(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: e2 });
|
|
}
|
|
function q(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function U(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function B(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList", method: "POST", data: e2 });
|
|
}
|
|
function E(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList/sum", method: "POST", data: e2 });
|
|
}
|
|
function W(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
function $(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/calculated/rate", method: "POST", data: e2 });
|
|
}
|
|
function F(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/current/by/charges", method: "POST", data: e2 });
|
|
}
|
|
function J(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: e2 });
|
|
}
|
|
function V(e2) {
|
|
return Object(n["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: e2 });
|
|
}
|
|
}, ce20: function(e, t, a) {
|
|
"use strict";
|
|
a.r(t);
|
|
var n = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", { staticClass: "app-container cardSet" }, [a2("el-tabs", { attrs: { type: "border-card" }, model: { value: e2.homeActive, callback: function(t3) {
|
|
e2.homeActive = t3;
|
|
}, expression: "homeActive" } }, [a2("el-tab-pane", { attrs: { label: "项目", name: "projectsStaticis" } }, [a2("projectsStaticis")], 1), e2._v(" "), a2("el-tab-pane", { attrs: { label: "员工", name: "projectsMember" } }, [a2("projectsMember")], 1)], 1)], 1);
|
|
}, o = [], r = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "projectUuids" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", multiple: "", "collapse-tags": "", filterable: "", placeholder: "请选择项目" }, model: { value: e2.searchInfo.projectUuids, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "projectUuids", t3);
|
|
}, expression: "searchInfo.projectUuids" } }, e2._l(e2.projectList, (function(e3) {
|
|
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始时间", "end-placeholder": "结束时间" }, on: { change: e2.GetzhifuTime }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("div", [a2("div", { staticClass: "planLst" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "cololr", attrs: { type: "primary", loading: e2.loading }, on: { click: e2.exportExcel } }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.projectName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "userOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 来自住户\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("应完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "userCompletedOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 执行情况\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("实完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未完成数", prop: "unfinishedNum1", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行率", prop: "userOrderCompletedRate", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "历史未完成数", prop: "userUnCompletedOrderNumBefore", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "历史当月完成数", prop: "userCompletedOrderNumBefore", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "insideOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 来自内控\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("应完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "insideCompletedOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 执行情况\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("实完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未完成数", prop: "unfinishedNum2", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行率", prop: "insideCompletedOrderRate", "show-overflow-tooltip": "" } })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]);
|
|
}, l = [], i = (a("fc02"), a("e680"), a("1bc7"), a("dce5")), s = a("67d5"), c = a("b071"), u = { data: function() {
|
|
var e2 = this;
|
|
return { loading: false, agreeTypeList: i["f"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectUuids: [], taskStartDate: "", taskEndDate: "" }, queryTime: [], tableData: [], tableLoading: false, pickerMinDate: "", pickerOptions: { onPick: function(t2) {
|
|
var a2 = t2.maxDate, n2 = t2.minDate;
|
|
e2.pickerMinDate = n2.getTime(), a2 && (e2.pickerMinDate = "");
|
|
}, disabledDate: function(t2) {
|
|
if ("" !== e2.pickerMinDate) {
|
|
var a2 = 50976e5, n2 = e2.pickerMinDate + a2;
|
|
return n2 > /* @__PURE__ */ new Date() && (n2 = /* @__PURE__ */ new Date()), t2.getTime() > n2;
|
|
}
|
|
return t2.getTime() > Date.now();
|
|
} } };
|
|
}, mounted: function() {
|
|
this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.initDate(), this.getList(), this.getProjectInfo();
|
|
}, methods: { exportExcel: function() {
|
|
var e2 = this;
|
|
this.loading = true, Object(c["z"])(this.searchInfo).then((function(t2) {
|
|
var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2), e2.loading = false;
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = "非计划工单报表", n2.href = URL.createObjectURL(a2), n2.click(), e2.loading = false, URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
}));
|
|
}, initDate: function() {
|
|
var e2 = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM-DD 23:59:59"), t2 = this.$moment(e2).subtract(60, "days").format("yyyy-MM-DD 00:00:00");
|
|
this.searchInfo.taskEndDate = e2, this.searchInfo.taskStartDate = t2, this.queryTime = [t2, e2];
|
|
}, getList: function() {
|
|
var e2 = this;
|
|
this.tableLoading = true, Object(c["A"])(this.searchInfo).then((function(t2) {
|
|
e2.tableLoading = false, t2.data.records.forEach((function(e3) {
|
|
e3.unfinishedNum1 = Number(e3.userOrderNum - e3.userCompletedOrderNum), e3.unfinishedNum2 = Number(e3.insideOrderNum - e3.insideCompletedOrderNum);
|
|
})), e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
|
|
})).catch((function() {
|
|
e2.tableLoading = false;
|
|
}));
|
|
}, GetzhifuTime: function() {
|
|
null != this.queryTime && (this.searchInfo.taskStartDate = this.queryTime[0] + " 00:00:00", this.searchInfo.taskEndDate = this.queryTime[1] + " 23:59:59");
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(s["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, getTargetDetailes: function(e2) {
|
|
if (1 === e2.type) this.openNewWindow("taskDetails", e2.target);
|
|
else if (2 === e2.type) {
|
|
var t2 = e2.target.indexOf("OPS") >= 0;
|
|
t2 ? this.openNewWindow("temporaryDetail", e2.target) : this.openNewWindow("serviceOrderDetail", e2.target);
|
|
} else 3 === e2.type ? this.openNewWindow("serviceReport", e2.target) : 5 === e2.type ? this.openNewWindow("rectificationReport", e2.target) : 6 === e2.type ? this.getPlanInfo(e2) : this.$message({ type: "success", message: "功能开发中,敬请期待。。。" });
|
|
}, openNewWindow: function(e2, t2) {
|
|
var a2 = "".concat(window.location.origin, "/#/details/").concat(e2, "?id=").concat(t2);
|
|
window.open("".concat(a2));
|
|
}, getPlanInfo: function(e2) {
|
|
var t2 = this, a2 = e2.target.split("-");
|
|
queryTaskStandard({ taskStandardUuid: a2[1] }).then((function(e3) {
|
|
t2.openNewWindow("taskDetails", e3.data.taskNo);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.queryTime = null, this.searchInfo.taskStartDate = "", this.searchInfo.taskEndDate = "", this.initDate(), this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
} } }, d = u, p = (a("51d4"), a("829d")), h = Object(p["a"])(d, r, l, false, null, null, null), f = h.exports, m = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "orderTypeUnion" } }, [a2("el-select", { attrs: { clearable: "", multiple: "", "collapse-tags": "", placeholder: "工单类型" }, model: { value: e2.searchInfo.orderTypeUnion, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "orderTypeUnion", t3);
|
|
}, expression: "searchInfo.orderTypeUnion" } }, e2._l(e2.houseServices4, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "typeValue" } }, [a2("el-select", { attrs: { clearable: "", placeholder: "来源" }, model: { value: e2.searchInfo.typeValue, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "typeValue", t3);
|
|
}, expression: "searchInfo.typeValue" } }, e2._l(e2.orderSourceList, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "orderStatusList" } }, [a2("el-select", { attrs: { multiple: "", "collapse-tags": "", clearable: "", placeholder: "工单状态" }, model: { value: e2.searchInfo.orderStatusList, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "orderStatusList", t3);
|
|
}, expression: "searchInfo.orderStatusList" } }, e2._l(e2.serviceOrderStatus, (function(e3) {
|
|
return a2("el-option", { key: e3.value, attrs: { label: e3.label, value: e3.value } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "orderStatusList" } }, [a2("el-date-picker", { attrs: { type: "datetimerange", "range-separator": "至", format: "yyyy-MM-dd HH:mm:ss", "value-format": "yyyy-MM-dd HH:mm:ss", "start-placeholder": "发起开始时间", "end-placeholder": "发起结束时间", "default-time": ["00:00:00", "23:59:59"] }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")])], 1)], 1)], 1), e2._v(" "), a2("div", [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", "min-width": "60", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "项目名称", "show-overflow-tooltip": "", "min-width": "120" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.projectName || "-"))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "员工", prop: "currentProcessorName", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("div", [e2._v("\n " + e2._s(t3.row.currentProcessorName) + "\n ")])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "来源", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [e2._v(e2._s(e2._f("getItemType")(t3.row.typeValue, e2.orderSourceList)))];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "工单类型", "show-overflow-tooltip": "", "min-width": "100" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [1 === t3.row.typeValue ? a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.orderType, e2.houseServices)))]) : a2("span", [e2._v(e2._s(e2._f("getItemType")(t3.row.planModel, e2.comeControl)))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "工单编号", prop: "postponeOrderNo", "show-overflow-tooltip": "", "min-width": "160" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "进度", "min-width": "180" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("div", { staticClass: "orderStatus" }, e2._l(9, (function(e3) {
|
|
return a2("span", { key: t3.row.orderNo + "_" + e3, class: { round: e3 % 2 !== 0, line: e3 % 2 === 0, error: e3 - 1 === 2 && 6 === t3.row.orderStatus, yellow: t3.row.orderStatus <= 4 && e3 === 2 * t3.row.orderStatus + 1, success: 6 !== t3.row.orderStatus && e3 / 2 <= t3.row.orderStatus || e3 - 1 < 2 && 6 === t3.row.orderStatus } });
|
|
})), 0)];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "发起时间", prop: "createDate", "show-overflow-tooltip": "", "min-width": "160" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "服务处理时间", prop: "processingTime", "show-overflow-tooltip": "", "min-width": "160" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "完成时间", prop: "evaluationTime", "show-overflow-tooltip": "", "min-width": "160" } })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]);
|
|
}, b = [], v = a("4355"), g = a("8f53"), y = { data: function() {
|
|
return { houseServices: i["N"], comeControl: i["u"], orderSourceList: i["gb"], serviceOrderStatus: g["n"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectUuid: "", chiefEngineer: "", orderTypeUnion: [], typeValue: "", orderStatusList: [], queryStartTime: "", queryEndTime: "" }, tableData: [], tableLoading: false, houseServices4: [{ 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 }, { label: "设备整改", value: 31 }, { label: "电梯整改", value: 32 }, { label: "清洁卫生[内控]", value: 33 }, { label: "车场整改", value: 34 }, { label: "安防整改", value: 35 }, { label: "绿化整改", value: 36 }, { label: "能源整改", value: 37 }], companyMembersList: [], queryInfo: {}, queryTime: "" };
|
|
}, mounted: function() {
|
|
this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.getProjectInfo(), this.getCompanyMembers();
|
|
}, methods: { initData: function(e2) {
|
|
this.queryInfo = e2, this.searchInfo.pageNumber = 1, this.searchInfo.pageSize = 10, this.getList();
|
|
}, projectChange: function() {
|
|
this.searchInfo.chiefEngineer = "", this.getCompanyMembers();
|
|
}, getCompanyMembers: function() {
|
|
var e2 = this, t2 = { companyId: this.searchInfo.companyId, projectUuid: this.searchInfo.projectUuid, pageNumber: -1, pageSize: -1 };
|
|
Object(v["a"])(t2).then((function(t3) {
|
|
0 == t3.code ? e2.companyMembersList = t3.data.records : e2.companyMembersList = [];
|
|
}));
|
|
}, getList: function() {
|
|
var e2 = this;
|
|
this.tableLoading = true, this.searchInfo.currentProcessorId = this.queryInfo.currentProcessorId, this.searchInfo.projectUuid = this.queryInfo.projectUuid, this.searchInfo.queryStartTime = this.queryTime ? this.queryTime[0] : "", this.searchInfo.queryEndTime = this.queryTime ? this.queryTime[1] : "", Object(c["t"])(this.searchInfo).then((function(t2) {
|
|
e2.tableLoading = false, e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
|
|
})).catch((function() {
|
|
e2.tableLoading = false;
|
|
}));
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(s["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, getTargetDetailes: function(e2) {
|
|
if (1 === e2.type) this.openNewWindow("taskDetails", e2.target);
|
|
else if (2 === e2.type) {
|
|
var t2 = e2.target.indexOf("OPS") >= 0;
|
|
t2 ? this.openNewWindow("temporaryDetail", e2.target) : this.openNewWindow("serviceOrderDetail", e2.target);
|
|
} else 3 === e2.type ? this.openNewWindow("serviceReport", e2.target) : 5 === e2.type ? this.openNewWindow("rectificationReport", e2.target) : 6 === e2.type ? this.getPlanInfo(e2) : this.$message({ type: "success", message: "功能开发中,敬请期待。。。" });
|
|
}, openNewWindow: function(e2, t2) {
|
|
var a2 = "".concat(window.location.origin, "/#/details/").concat(e2, "?id=").concat(t2);
|
|
window.open("".concat(a2));
|
|
}, getPlanInfo: function(e2) {
|
|
var t2 = this, a2 = e2.target.split("-");
|
|
queryTaskStandard({ taskStandardUuid: a2[1] }).then((function(e3) {
|
|
t2.openNewWindow("taskDetails", e3.data.taskNo);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.queryTime = "", this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
} } }, w = y, k = (a("e907"), Object(p["a"])(w, m, b, false, null, null, null)), S = k.exports, O = function() {
|
|
var e2 = this, t2 = e2.$createElement, a2 = e2._self._c || t2;
|
|
return a2("div", [a2("div", { directives: [{ name: "show", rawName: "v-show", value: e2.isShow, expression: "isShow" }] }, [a2("div", { staticClass: "topSearch" }, [a2("el-form", { ref: "searchInfo", staticClass: "demo-form-inline", attrs: { inline: true, model: e2.searchInfo } }, [a2("el-form-item", { attrs: { prop: "projectUuids" } }, [a2("el-select", { staticClass: "select-dom", attrs: { clearable: "", multiple: "", "collapse-tags": "", filterable: "", placeholder: "请选择项目" }, model: { value: e2.searchInfo.projectUuids, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "projectUuids", t3);
|
|
}, expression: "searchInfo.projectUuids" } }, e2._l(e2.projectList, (function(e3) {
|
|
return a2("el-option", { key: e3.uuid, attrs: { label: e3.name, value: e3.uuid } });
|
|
})), 1)], 1), e2._v(" "), a2("el-form-item", { attrs: { prop: "name" } }, [a2("el-date-picker", { attrs: { type: "daterange", "range-separator": "至", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "start-placeholder": "开始时间", "end-placeholder": "结束时间" }, on: { change: e2.GetzhifuTime }, model: { value: e2.queryTime, callback: function(t3) {
|
|
e2.queryTime = t3;
|
|
}, expression: "queryTime" } })], 1), e2._v(" "), a2("el-form-item", [a2("el-button", { attrs: { type: "primary" }, on: { click: e2.onSearch } }, [e2._v("查询")]), e2._v(" "), a2("el-button", { on: { click: function(t3) {
|
|
return e2.resetForm("searchInfo");
|
|
} } }, [e2._v("重置")]), e2._v(" "), a2("el-checkbox", { staticStyle: { "margin-left": "20px" }, on: { change: e2.getList }, model: { value: e2.searchInfo.isLiZhi, callback: function(t3) {
|
|
e2.$set(e2.searchInfo, "isLiZhi", t3);
|
|
}, expression: "searchInfo.isLiZhi" } }, [e2._v("展示离职人员")])], 1)], 1)], 1), e2._v(" "), a2("div", [a2("div", { staticClass: "planLst" }, [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], staticClass: "cololr", attrs: { type: "primary", loading: e2.loading }, on: { click: e2.exportExcel } }, [e2._v("下载Excel")])], 1), e2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: e2.tableLoading, expression: "tableLoading" }], attrs: { "header-cell-style": { background: "#eef1f6", color: "#606266" }, data: e2.tableData, align: "center", border: "" } }, [a2("el-table-column", { attrs: { label: "序号", align: "center", width: "80", fixed: "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.$index + (e2.searchInfo.pageNumber - 1) * e2.searchInfo.pageSize + 1))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "员工名称", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("div", [a2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t3.row.memberId + "-" + t3.row.currentProcessorId, placement: "top" } }, [a2("div", [e2._v(e2._s(t3.row.currentProcessorName))])])], 1)];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "userOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 来自住户\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("应完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "userCompletedOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 执行情况\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("实完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未完成数", prop: "unfinishedNum1", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行率", prop: "userOrderCompletedRate", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.userOrderCompletedRate))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "历史未完成数", prop: "userUnCompletedOrderNumBefore", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "历史当月完成数", prop: "userCompletedOrderNumBefore", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "insideOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 来自内控\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("应完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "insideCompletedOrderNum", "show-overflow-tooltip": "" } }, [a2("template", { slot: "header" }, [e2._v("\n 执行情况\n "), a2("el-tooltip", { attrs: { placement: "top" } }, [a2("div", { attrs: { slot: "content" }, slot: "content" }, [e2._v("实完成数")]), e2._v(" "), a2("span", { staticClass: "el-icon-info" })])], 1)], 2), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "未完成数", prop: "unfinishedNum2", "show-overflow-tooltip": "" } }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "执行率", prop: "insideCompletedOrderRate", "show-overflow-tooltip": "" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("span", [e2._v(e2._s(t3.row.insideCompletedOrderRate))])];
|
|
} }]) }), e2._v(" "), a2("el-table-column", { attrs: { align: "center", label: "操作" }, scopedSlots: e2._u([{ key: "default", fn: function(t3) {
|
|
return [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "text", size: "small" }, on: { click: function(a3) {
|
|
return e2.show(t3.row);
|
|
} } }, [e2._v("查看")])];
|
|
} }]) })], 1)], 1), e2._v(" "), a2("div", { staticClass: "paginationSet" }, [a2("el-pagination", { attrs: { background: "", "current-page": e2.searchInfo.pageNumber, "page-sizes": [10, 30, 50, 100], "page-size": e2.searchInfo.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: e2.total }, on: { "size-change": e2.handleSizeChange, "current-change": e2.handleCurrentChange } })], 1)]), e2._v(" "), a2("div", { directives: [{ name: "show", rawName: "v-show", value: !e2.isShow, expression: "!isShow" }], staticStyle: { margin: "15px 0 25px 0" } }, [a2("el-page-header", { attrs: { content: "员工详情" }, on: { back: e2.goBack } })], 1), e2._v(" "), a2("projectsMemberDetail", { directives: [{ name: "show", rawName: "v-show", value: !e2.isShow, expression: "!isShow" }], ref: "projectsMemberDetail" })], 1);
|
|
}, j = [], I = { components: { projectsMemberDetail: S }, data: function() {
|
|
var e2 = this;
|
|
return { loading: false, agreeTypeList: i["f"], projectList: [], total: 0, searchInfo: { companyId: 0, pageNumber: 1, pageSize: 10, projectUuids: [], taskStartDate: "", taskEndDate: "", isLiZhi: false }, queryTime: [], tableData: [], tableLoading: false, pickerMinDate: "", pickerOptions: { onPick: function(t2) {
|
|
var a2 = t2.maxDate, n2 = t2.minDate;
|
|
e2.pickerMinDate = n2.getTime(), a2 && (e2.pickerMinDate = "");
|
|
}, disabledDate: function(t2) {
|
|
if ("" !== e2.pickerMinDate) {
|
|
var a2 = 50976e5, n2 = e2.pickerMinDate + a2;
|
|
return n2 > /* @__PURE__ */ new Date() && (n2 = /* @__PURE__ */ new Date()), t2.getTime() > n2;
|
|
}
|
|
return t2.getTime() > Date.now();
|
|
} }, isShow: true };
|
|
}, mounted: function() {
|
|
this.searchInfo.companyId = JSON.parse(localStorage.getItem("companyInfo")).osId, this.initDate(), this.getList(), this.getProjectInfo();
|
|
}, methods: { exportExcel: function() {
|
|
var e2 = this;
|
|
this.loading = true, Object(c["P"])(this.searchInfo).then((function(t2) {
|
|
var a2 = new Blob([t2], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
|
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2), e2.loading = false;
|
|
else {
|
|
var n2 = document.createElement("a");
|
|
n2.download = "非计划工单报表", n2.href = URL.createObjectURL(a2), n2.click(), e2.loading = false, URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
|
}
|
|
}));
|
|
}, filterNumber: function(e2) {
|
|
return Number(e2).toFixed(2);
|
|
}, goBack: function() {
|
|
this.isShow = !this.isShow;
|
|
}, show: function(e2) {
|
|
console.log(e2, "value+++"), this.$refs.projectsMemberDetail.initData(e2), this.isShow = !this.isShow;
|
|
}, initDate: function() {
|
|
var e2 = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM-DD 23:59:59"), t2 = this.$moment(e2).subtract(60, "days").format("yyyy-MM-DD 00:00:00");
|
|
this.searchInfo.taskEndDate = e2, this.searchInfo.taskStartDate = t2, this.queryTime = [t2, e2];
|
|
}, getList: function() {
|
|
var e2 = this;
|
|
this.tableLoading = true, this.searchInfo.isLiZhi ? this.searchInfo.onJobState = null : this.searchInfo.onJobState = 1, console.log(this.searchInfo, "this.searchInfo"), Object(c["s"])(this.searchInfo).then((function(t2) {
|
|
e2.tableLoading = false, t2.data.records.forEach((function(e3) {
|
|
e3.unfinishedNum1 = Number(e3.userOrderNum - e3.userCompletedOrderNum), e3.unfinishedNum2 = Number(e3.insideOrderNum - e3.insideCompletedOrderNum);
|
|
})), e2.tableData = t2.data.records, e2.total = t2.data.rowsCount;
|
|
})).catch((function() {
|
|
e2.tableLoading = false;
|
|
}));
|
|
}, GetzhifuTime: function() {
|
|
null != this.queryTime && (this.searchInfo.taskStartDate = this.queryTime[0] + " 00:00:00", this.searchInfo.taskEndDate = this.queryTime[1] + " 23:59:59");
|
|
}, getProjectInfo: function() {
|
|
var e2 = this, t2 = JSON.parse(window.localStorage.getItem("companyInfo")).osId;
|
|
Object(s["j"])({ id: t2, attribute: 1 }).then((function(t3) {
|
|
0 === t3.code && t3.data ? e2.projectList = t3.data : e2.projectList = [];
|
|
}));
|
|
}, getTargetDetailes: function(e2) {
|
|
if (1 === e2.type) this.openNewWindow("taskDetails", e2.target);
|
|
else if (2 === e2.type) {
|
|
var t2 = e2.target.indexOf("OPS") >= 0;
|
|
t2 ? this.openNewWindow("temporaryDetail", e2.target) : this.openNewWindow("serviceOrderDetail", e2.target);
|
|
} else 3 === e2.type ? this.openNewWindow("serviceReport", e2.target) : 5 === e2.type ? this.openNewWindow("rectificationReport", e2.target) : 6 === e2.type ? this.getPlanInfo(e2) : this.$message({ type: "success", message: "功能开发中,敬请期待。。。" });
|
|
}, openNewWindow: function(e2, t2) {
|
|
var a2 = "".concat(window.location.origin, "/#/details/").concat(e2, "?id=").concat(t2);
|
|
window.open("".concat(a2));
|
|
}, getPlanInfo: function(e2) {
|
|
var t2 = this, a2 = e2.target.split("-");
|
|
queryTaskStandard({ taskStandardUuid: a2[1] }).then((function(e3) {
|
|
t2.openNewWindow("taskDetails", e3.data.taskNo);
|
|
}));
|
|
}, onSearch: function() {
|
|
this.searchInfo.pageNumber = 1, this.getList();
|
|
}, resetForm: function(e2) {
|
|
this.$refs[e2].resetFields(), this.searchInfo.pageNumber = 1, this.queryTime = null, this.searchInfo.taskStartDate = "", this.searchInfo.taskEndDate = "", this.searchInfo.isLiZhi = false, this.searchInfo.onJobState = null, this.initDate(), this.getList();
|
|
}, handleSizeChange: function(e2) {
|
|
this.searchInfo.pageSize = e2, this.searchInfo.pageNumber = 1, this.getList();
|
|
}, handleCurrentChange: function(e2) {
|
|
this.searchInfo.pageNumber = e2, this.getList();
|
|
} } }, _ = I, T = (a("8d99"), Object(p["a"])(_, O, j, false, null, null, null)), N = T.exports, L = { components: { projectsStaticis: f, projectsMemberDetail: S, projectsMember: N }, data: function() {
|
|
return { homeActive: "projectsStaticis" };
|
|
}, mounted: function() {
|
|
}, methods: {} }, C = L, P = (a("6b00"), Object(p["a"])(C, n, o, false, null, null, null));
|
|
t["default"] = P.exports;
|
|
}, e62d: function(e, t, a) {
|
|
}, e907: function(e, t, a) {
|
|
"use strict";
|
|
a("faed");
|
|
}, faed: function(e, t, a) {
|
|
} }]);
|