330 lines
17 KiB
JavaScript
330 lines
17 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-a7f0d378"], { "401d": 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: "headStys" }, [a2("div", { staticClass: "formContent" }, [a2("el-form", { ref: "query", staticClass: "demo-form-inline", attrs: { inline: true, model: t2.query } }, [a2("el-form-item", { attrs: { prop: "projectUuid", label: "" } }, [a2("el-select", { staticClass: "queryFromItems", attrs: { clearable: "", placeholder: "项目名称" }, model: { value: t2.query.projectUuid, callback: function(e3) {
|
|
t2.$set(t2.query, "projectUuid", e3);
|
|
}, expression: "query.projectUuid" } }, t2._l(t2.projectList, (function(t3, e3) {
|
|
return a2("el-option", { key: e3, attrs: { label: t3.name, value: t3.uuid } });
|
|
})), 1)], 1), t2._v(" "), a2("el-form-item", [a2("el-date-picker", { attrs: { clearable: "", type: "daterange", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期", "picker-options": t2.pickerOptions }, on: { clearable: t2.handleClearable, change: t2.dataPickerChange }, model: { value: t2.selectedMonth, callback: function(e3) {
|
|
t2.selectedMonth = e3;
|
|
}, expression: "selectedMonth" } })], 1), t2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], attrs: { type: "primary" }, on: { click: t2.onSearch } }, [t2._v("查询")])], 1), t2._v(" "), a2("el-form-item", [a2("el-button", { directives: [{ name: "points", rawName: "v-points", value: 500, expression: "500" }], on: { click: function(e3) {
|
|
return t2.resetForm("query");
|
|
} } }, [t2._v("重置")])], 1)], 1)], 1), t2._v(" "), a2("div", { staticClass: "contentStys" }, [t2._m(0), t2._v(" "), a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], staticStyle: { width: "96%", "margin-left": "2%" }, attrs: { border: "", data: t2.listTable, "header-cell-style": t2.headClass, "tooltip-effect": "dark" } }, [a2("el-table-column", { attrs: { label: "#", align: "center", fixed: "", width: "50" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1))])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "projectName", "show-overflow-tooltip": "", "min-width": "160", label: "项目名称", fixed: "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [e3.row.projectName ? a2("span", [t2._v(t2._s(e3.row.projectName))]) : a2("span", [t2._v("-")])];
|
|
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "growNum", width: "140", label: "区间新增数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "houseNum", width: "140", label: "总房屋数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "houseMemberNum", width: "140", label: "总住户数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "boundHouseMemberNum", width: "140", label: "已绑住户数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "unboundHouseMemberNum", width: "140", label: "未绑住户数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "employeeNum", width: "140", label: "员工应绑定数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "boundEmployeeNum", width: "140", label: "员工绑定数", "show-overflow-tooltip": "" } }), t2._v(" "), a2("el-table-column", { attrs: { align: "center", prop: "employeeBoundRate", width: "140", label: "员工绑定率", "show-overflow-tooltip": "" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [a2("span", [t2._v(t2._s(e3.row.employeeBoundRate) + "%")])];
|
|
} }]) })], 1), t2._v(" "), a2("div", { staticClass: "pagination" }, [a2("el-pagination", { attrs: { "current-page": t2.query.pageNumber, "page-sizes": [10, 20, 30, 100], "page-size": t2.query.pageSize, layout: "total, sizes, prev, pager, next, jumper", total: t2.pageTotal }, on: { "update:currentPage": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "update:current-page": function(e3) {
|
|
return t2.$set(t2.query, "pageNumber", e3);
|
|
}, "size-change": t2.handleSizeChange, "current-change": t2.handleCurrentChange } })], 1)], 1)]);
|
|
}, r = [function() {
|
|
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
|
return a2("div", { staticClass: "planLst" }, [a2("span", [t2._v("公众号拉新报表")]), t2._v(" "), a2("span", { staticClass: "addPlan" })]);
|
|
}], o = (a("1bc7"), a("fc02"), a("4057"), a("8dee"), a("333d")), c = a("f6b0"), i = a("b071"), u = { components: { Pagination: o["a"] }, data: function() {
|
|
var t2 = this;
|
|
return { showDialog: false, pageTotal: 0, listLoading: false, projectList: [], listTable: [], selectedMonth: null, query: { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId, projectUuid: "", bingStartTime: "", bingEndTime: "", pageSize: 10, pageNumber: 1 }, updatabtnloading: false, pickerMinDate: "", pickerOptions: { onPick: function(e2) {
|
|
var a2 = e2.maxDate, n2 = e2.minDate;
|
|
t2.pickerMinDate = n2.getTime(), a2 && (t2.pickerMinDate = "");
|
|
}, disabledDate: function(e2) {
|
|
if ("" !== t2.pickerMinDate) {
|
|
var a2 = 50976e5, n2 = t2.pickerMinDate + a2;
|
|
return n2 > /* @__PURE__ */ new Date() && (n2 = /* @__PURE__ */ new Date()), e2.getTime() > n2;
|
|
}
|
|
return e2.getTime() > Date.now();
|
|
} } };
|
|
}, created: function() {
|
|
this.headClass();
|
|
}, mounted: function() {
|
|
this.getProjectsList(), this.getlistData();
|
|
}, methods: { dataPickerChange: function(t2) {
|
|
null != this.selectedMonth && (this.query.bingStartTime = this.selectedMonth[0] + " 00:00:00", this.query.bingEndTime = this.selectedMonth[1] + " 23:59:59");
|
|
}, getProjectsList: function() {
|
|
var t2 = this, e2 = { pageNumber: -1, pageSize: -1, attribute: 1, companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId };
|
|
Object(c["b"])(e2).then((function(e3) {
|
|
t2.projectList = e3.data.records;
|
|
}));
|
|
}, getlistData: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, Object(i["C"])(this.query).then((function(e2) {
|
|
t2.listTable = e2.data.records, t2.pageTotal = e2.data.rowsCount, t2.listLoading = false;
|
|
})).catch((function() {
|
|
t2.listLoading = false;
|
|
}));
|
|
}, updataStatisic: function() {
|
|
var t2 = this;
|
|
this.updatabtnloading = true;
|
|
var e2 = { companyId: JSON.parse(localStorage.getItem("companyInfo")).osId };
|
|
updataContractStatistics(e2).then((function(e3) {
|
|
0 === e3.code && t2.$message({ message: "修正统计即将开始,数据更新将会耗费一定的时长,请稍后手动刷新数据", type: "warning" }), t2.updatabtnloading = false;
|
|
})).catch((function() {
|
|
t2.updatabtnloading = false;
|
|
}));
|
|
}, formatNum: function(t2, e2) {
|
|
var a2 = t2[e2.property] ? t2[e2.property] : 0, n2 = a2.toString().replace(/\d+/, (function(t3) {
|
|
return t3.replace(/(\d)(?=(\d{3})+$)/g, (function(t4) {
|
|
return t4 + ",";
|
|
}));
|
|
}));
|
|
return "¥ " + n2;
|
|
}, categoryArr: function(t2) {
|
|
var e2 = [], a2 = t2.split(",");
|
|
return this.contractCategoryList.forEach((function(t3) {
|
|
a2.forEach((function(a3) {
|
|
t3.value === a3 && e2.push(t3.label);
|
|
}));
|
|
})), e2.join(",");
|
|
}, onSearch: function() {
|
|
this.query.pageNumber = 1, this.getlistData();
|
|
}, resetForm: function(t2) {
|
|
this.$refs[t2].resetFields(), this.query.pageNumber = 1, this.selectedMonth = null, this.query.bingStartTime = "", this.query.bingEndTime = "", this.getlistData();
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2, this.query.pageNumber = 1, this.getlistData();
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2, this.getlistData();
|
|
}, handleClearable: function() {
|
|
console.log(789789);
|
|
}, headClass: function() {
|
|
return "text-align:center;background:#FAFAFA;";
|
|
} }, watch: { selectedMonth: function(t2, e2) {
|
|
null == t2 && (this.query.bingStartTime = "", this.query.bingEndTime = "");
|
|
} } }, s = u, l = (a("d6dc"), a("829d")), d = Object(l["a"])(s, n, r, false, null, "1833b86c", null);
|
|
e["default"] = d.exports;
|
|
}, "8a95": function(t, e, a) {
|
|
}, b071: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "n", (function() {
|
|
return r;
|
|
})), a.d(e, "q", (function() {
|
|
return o;
|
|
})), a.d(e, "o", (function() {
|
|
return c;
|
|
})), a.d(e, "r", (function() {
|
|
return i;
|
|
})), a.d(e, "E", (function() {
|
|
return u;
|
|
})), a.d(e, "D", (function() {
|
|
return s;
|
|
})), a.d(e, "N", (function() {
|
|
return l;
|
|
})), a.d(e, "K", (function() {
|
|
return d;
|
|
})), a.d(e, "F", (function() {
|
|
return p;
|
|
})), a.d(e, "p", (function() {
|
|
return h;
|
|
})), a.d(e, "G", (function() {
|
|
return m;
|
|
})), a.d(e, "H", (function() {
|
|
return f;
|
|
})), a.d(e, "O", (function() {
|
|
return b;
|
|
})), a.d(e, "k", (function() {
|
|
return y;
|
|
})), a.d(e, "M", (function() {
|
|
return g;
|
|
})), a.d(e, "l", (function() {
|
|
return O;
|
|
})), a.d(e, "j", (function() {
|
|
return T;
|
|
})), a.d(e, "i", (function() {
|
|
return k;
|
|
})), a.d(e, "L", (function() {
|
|
return S;
|
|
})), a.d(e, "x", (function() {
|
|
return j;
|
|
})), a.d(e, "y", (function() {
|
|
return v;
|
|
})), a.d(e, "c", (function() {
|
|
return P;
|
|
})), a.d(e, "d", (function() {
|
|
return w;
|
|
})), a.d(e, "b", (function() {
|
|
return C;
|
|
})), a.d(e, "w", (function() {
|
|
return _;
|
|
})), a.d(e, "v", (function() {
|
|
return N;
|
|
})), a.d(e, "C", (function() {
|
|
return q;
|
|
})), a.d(e, "a", (function() {
|
|
return x;
|
|
})), a.d(e, "A", (function() {
|
|
return L;
|
|
})), a.d(e, "t", (function() {
|
|
return M;
|
|
})), a.d(e, "B", (function() {
|
|
return D;
|
|
})), a.d(e, "u", (function() {
|
|
return I;
|
|
})), a.d(e, "s", (function() {
|
|
return R;
|
|
})), a.d(e, "z", (function() {
|
|
return z;
|
|
})), a.d(e, "P", (function() {
|
|
return E;
|
|
})), a.d(e, "g", (function() {
|
|
return B;
|
|
})), a.d(e, "h", (function() {
|
|
return $;
|
|
})), a.d(e, "f", (function() {
|
|
return A;
|
|
})), a.d(e, "e", (function() {
|
|
return F;
|
|
})), a.d(e, "m", (function() {
|
|
return W;
|
|
})), a.d(e, "I", (function() {
|
|
return U;
|
|
})), a.d(e, "J", (function() {
|
|
return J;
|
|
}));
|
|
var n = a("b775");
|
|
function r(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 c(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 u(t2) {
|
|
return Object(n["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/currentTotalTask", method: "POST", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/syncTaskV2", method: "POST", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/syncUpdate", method: "POST", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/downloadChargeTotal", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/spaceTaskStatistics/pageList", method: "POST", data: t2 });
|
|
}
|
|
function f(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 y(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageItemList", method: "POST", data: t2 });
|
|
}
|
|
function T(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 S(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function P(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/statistics", method: "POST", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/exportReport", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/personWeekInfo", method: "POST", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/downloadWeekInfo", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function q(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: t2 });
|
|
}
|
|
function M(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 R(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: t2 });
|
|
}
|
|
function z(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function E(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function B(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 A(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function F(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/calculated/rate", method: "POST", data: t2 });
|
|
}
|
|
function W(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/current/by/charges", method: "POST", data: t2 });
|
|
}
|
|
function U(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: t2 });
|
|
}
|
|
function J(t2) {
|
|
return Object(n["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
}, d6dc: function(t, e, a) {
|
|
"use strict";
|
|
a("8a95");
|
|
}, f6b0: function(t, e, a) {
|
|
"use strict";
|
|
a.d(e, "b", (function() {
|
|
return r;
|
|
})), a.d(e, "a", (function() {
|
|
return o;
|
|
}));
|
|
var n = a("b775");
|
|
function r(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 });
|
|
}
|
|
} }]);
|