430 lines
29 KiB
JavaScript
430 lines
29 KiB
JavaScript
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-2fca633f"], { "096c": function(t, e, r) {
|
|
var o = r("e99b"), n = r("d3ef")(true);
|
|
o(o.S, "Object", { entries: function(t2) {
|
|
return n(t2);
|
|
} });
|
|
}, "0b37": function(t, e, r) {
|
|
"use strict";
|
|
r.d(e, "a", (function() {
|
|
return o;
|
|
})), r.d(e, "b", (function() {
|
|
return n;
|
|
})), r.d(e, "c", (function() {
|
|
return a;
|
|
})), r.d(e, "d", (function() {
|
|
return i;
|
|
})), r.d(e, "f", (function() {
|
|
return l;
|
|
})), r.d(e, "e", (function() {
|
|
return c;
|
|
}));
|
|
r("8dee"), r("e680"), r("4057"), r("fc02");
|
|
function o(t2, e2) {
|
|
var r2, o2, n2, a2;
|
|
try {
|
|
r2 = t2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
r2 = 0;
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (l2) {
|
|
o2 = 0;
|
|
}
|
|
if (a2 = Math.abs(r2 - o2), n2 = Math.pow(10, Math.max(r2, o2)), a2 > 0) {
|
|
var i2 = Math.pow(10, a2);
|
|
r2 > o2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * i2) : (t2 = Number(t2.toString().replace(".", "")) * i2, e2 = Number(e2.toString().replace(".", "")));
|
|
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
|
return (t2 + e2) / n2;
|
|
}
|
|
function n(t2, e2) {
|
|
var r2, o2, n2 = 0, a2 = 0;
|
|
try {
|
|
n2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
try {
|
|
a2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
}
|
|
return r2 = Number(t2.toString().replace(".", "")), o2 = Number(e2.toString().replace(".", "")), r2 / o2 * Math.pow(10, a2 - n2);
|
|
}
|
|
function a(t2, e2) {
|
|
var r2 = 0, o2 = t2.toString(), n2 = e2.toString();
|
|
try {
|
|
r2 += o2.split(".")[1].length;
|
|
} catch (a2) {
|
|
}
|
|
try {
|
|
r2 += n2.split(".")[1].length;
|
|
} catch (a2) {
|
|
}
|
|
return Number(o2.replace(".", "")) * Number(n2.replace(".", "")) / Math.pow(10, r2);
|
|
}
|
|
function i(t2, e2) {
|
|
var r2, o2, n2, a2;
|
|
try {
|
|
r2 = t2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
r2 = 0;
|
|
}
|
|
try {
|
|
o2 = e2.toString().split(".")[1].length;
|
|
} catch (i2) {
|
|
o2 = 0;
|
|
}
|
|
return n2 = Math.pow(10, Math.max(r2, o2)), a2 = r2 >= o2 ? r2 : o2, (Math.round(t2 * n2 - e2 * n2) / n2).toFixed(a2);
|
|
}
|
|
function l(t2, e2) {
|
|
if (0 == t2 && (t2 = 0), /[^[\-|0-9][0-9]*]/.test(t2)) return "0";
|
|
if (null == t2 || "" === t2) return "";
|
|
t2 = t2.toString().replace(/^(-\d*)$/, "$1."), t2 = t2.toString().replace(/^(\d*)$/, "$1."), t2 = (t2 + "00").replace(/(\d*\.\d\d)\d*/, "$1"), t2 = t2.replace(".", ",");
|
|
var r2 = /(\d)(\d{3},)/;
|
|
while (r2.test(t2)) t2 = t2.replace(r2, "$1,$2");
|
|
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
|
var o2 = t2.split(".");
|
|
"00" == o2[1] && (t2 = o2[0]);
|
|
}
|
|
return t2;
|
|
}
|
|
function c(t2, e2) {
|
|
t2 = t2.toString();
|
|
var r2 = t2.indexOf(".");
|
|
return t2 = -1 !== r2 ? t2.substring(0, e2 + r2 + 1) : t2.substring(0), parseFloat(t2).toFixed(e2);
|
|
}
|
|
}, 3841: function(t, e, r) {
|
|
"use strict";
|
|
r("922d");
|
|
}, "922d": function(t, e, r) {
|
|
}, b071: function(t, e, r) {
|
|
"use strict";
|
|
r.d(e, "n", (function() {
|
|
return n;
|
|
})), r.d(e, "q", (function() {
|
|
return a;
|
|
})), r.d(e, "o", (function() {
|
|
return i;
|
|
})), r.d(e, "r", (function() {
|
|
return l;
|
|
})), r.d(e, "E", (function() {
|
|
return c;
|
|
})), r.d(e, "D", (function() {
|
|
return u;
|
|
})), r.d(e, "N", (function() {
|
|
return s;
|
|
})), r.d(e, "K", (function() {
|
|
return d;
|
|
})), r.d(e, "F", (function() {
|
|
return p;
|
|
})), r.d(e, "p", (function() {
|
|
return f;
|
|
})), r.d(e, "G", (function() {
|
|
return m;
|
|
})), r.d(e, "H", (function() {
|
|
return h;
|
|
})), r.d(e, "O", (function() {
|
|
return v;
|
|
})), r.d(e, "k", (function() {
|
|
return b;
|
|
})), r.d(e, "M", (function() {
|
|
return _;
|
|
})), r.d(e, "l", (function() {
|
|
return g;
|
|
})), r.d(e, "j", (function() {
|
|
return y;
|
|
})), r.d(e, "i", (function() {
|
|
return w;
|
|
})), r.d(e, "L", (function() {
|
|
return O;
|
|
})), r.d(e, "x", (function() {
|
|
return S;
|
|
})), r.d(e, "y", (function() {
|
|
return k;
|
|
})), r.d(e, "c", (function() {
|
|
return T;
|
|
})), r.d(e, "d", (function() {
|
|
return j;
|
|
})), r.d(e, "b", (function() {
|
|
return P;
|
|
})), r.d(e, "w", (function() {
|
|
return R;
|
|
})), r.d(e, "v", (function() {
|
|
return M;
|
|
})), r.d(e, "C", (function() {
|
|
return C;
|
|
})), r.d(e, "a", (function() {
|
|
return A;
|
|
})), r.d(e, "A", (function() {
|
|
return N;
|
|
})), r.d(e, "t", (function() {
|
|
return x;
|
|
})), r.d(e, "B", (function() {
|
|
return L;
|
|
})), r.d(e, "u", (function() {
|
|
return B;
|
|
})), r.d(e, "s", (function() {
|
|
return Y;
|
|
})), r.d(e, "z", (function() {
|
|
return I;
|
|
})), r.d(e, "P", (function() {
|
|
return $;
|
|
})), r.d(e, "g", (function() {
|
|
return q;
|
|
})), r.d(e, "h", (function() {
|
|
return D;
|
|
})), r.d(e, "f", (function() {
|
|
return H;
|
|
})), r.d(e, "e", (function() {
|
|
return U;
|
|
})), r.d(e, "m", (function() {
|
|
return W;
|
|
})), r.d(e, "I", (function() {
|
|
return F;
|
|
})), r.d(e, "J", (function() {
|
|
return E;
|
|
}));
|
|
var o = r("b775");
|
|
function n(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/currentYearTotal", method: "POST", data: t2 });
|
|
}
|
|
function a(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/employeeReport", method: "POST", data: t2 });
|
|
}
|
|
function i(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/currentYearTotalTask", method: "POST", data: t2 });
|
|
}
|
|
function l(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/employeeReportTask", method: "POST", data: t2 });
|
|
}
|
|
function c(t2) {
|
|
return Object(o["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 });
|
|
}
|
|
function u(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: t2 });
|
|
}
|
|
function s(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/currentTotalTask", method: "POST", data: t2 });
|
|
}
|
|
function d(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/syncTaskV2", method: "POST", data: t2 });
|
|
}
|
|
function p(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/syncUpdate", method: "POST", data: t2 });
|
|
}
|
|
function f(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/downloadChargeTotal", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function m(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/spaceTaskStatistics/pageList", method: "POST", data: t2 });
|
|
}
|
|
function h(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/spaceTaskStatistics/exportByMonth", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function v(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/spaceTaskStatistics/statistics", method: "POST", data: t2 });
|
|
}
|
|
function b(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: t2 });
|
|
}
|
|
function _(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: t2 });
|
|
}
|
|
function g(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/ContractTaskStatistics/pageItemList", method: "POST", data: t2 });
|
|
}
|
|
function y(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/ContractExecuteStatistics/pageList", method: "POST", data: t2 });
|
|
}
|
|
function w(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/ContractExecuteStatistics/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function O(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: t2 });
|
|
}
|
|
function S(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: t2 });
|
|
}
|
|
function k(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function T(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: t2 });
|
|
}
|
|
function j(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/statistics", method: "POST", data: t2 });
|
|
}
|
|
function P(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/exportReport", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function R(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/personWeekInfo", method: "POST", data: t2 });
|
|
}
|
|
function M(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/downloadWeekInfo", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function C(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: t2 });
|
|
}
|
|
function A(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: t2 });
|
|
}
|
|
function N(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: t2 });
|
|
}
|
|
function x(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/PostponeWorder/memberOrderPage", method: "POST", data: t2 });
|
|
}
|
|
function L(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageByTaskType", method: "POST", data: t2 });
|
|
}
|
|
function B(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/TaskStatisticsReport/pageByTaskType", method: "POST", data: t2 });
|
|
}
|
|
function Y(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: t2 });
|
|
}
|
|
function I(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function $(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function q(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList", method: "POST", data: t2 });
|
|
}
|
|
function D(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList/sum", method: "POST", data: t2 });
|
|
}
|
|
function H(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
function U(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/calculated/rate", method: "POST", data: t2 });
|
|
}
|
|
function W(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/current/by/charges", method: "POST", data: t2 });
|
|
}
|
|
function F(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: t2 });
|
|
}
|
|
function E(t2) {
|
|
return Object(o["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: t2 });
|
|
}
|
|
}, d3ef: function(t, e, r) {
|
|
var o = r("26df"), n = r("93ca"), a = r("3471"), i = r("35d4").f;
|
|
t.exports = function(t2) {
|
|
return function(e2) {
|
|
var r2, l = a(e2), c = n(l), u = c.length, s = 0, d = [];
|
|
while (u > s) r2 = c[s++], o && !i.call(l, r2) || d.push(t2 ? [r2, l[r2]] : l[r2]);
|
|
return d;
|
|
};
|
|
};
|
|
}, ff10: function(t, e, r) {
|
|
"use strict";
|
|
r.r(e);
|
|
var o = function() {
|
|
var t2 = this, e2 = t2.$createElement, r2 = t2._self._c || e2;
|
|
return r2("div", { staticClass: "todayDynamicsbox" }, [r2("div", { staticClass: "box-container todayDynamicsTable detaPlatformTable" }, [r2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], staticClass: "todayDynamics", attrs: { size: "small", height: t2.tableHeight, "element-loading-background": "rgba(0, 0, 0, 0.1)", data: t2.tableList, "row-class-name": t2.tableRowClassName, "cell-style": t2.cellStyle } }, [r2("el-table-column", { attrs: { label: t2.companyName, align: "center" } }, [r2("el-table-column", { attrs: { prop: "code", label: "#", "min-width": "50", align: "left", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("span", [t2._v(" " + t2._s(e3.$index + (t2.query.pageNumber - 1) * t2.query.pageSize + 1) + " ")])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "项目", "min-width": "100", align: "left", "show-overflow-tooltip": "", "label-class-name": "titleBlue", filters: t2.filterProject, "filter-method": t2.filterTag, "filter-placement": "bottom" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.projectName ? e3.row.projectName : "-"))];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "员工", "min-width": "100", align: "left", "show-overflow-tooltip": "", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [t2._v(t2._s(e3.row.memberName ? e3.row.memberName : "-"))];
|
|
} }]) })], 1), t2._v(" "), r2("el-table-column", { attrs: { align: "center" } }, [r2("template", { slot: "header" }, [t2._v("\n 现金流收入\n "), r2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t2.cashFlowDes, placement: "top-start" } }, [r2("i", { staticClass: "el-icon-question itemcursor" })])], 1), t2._v(" "), r2("el-table-column", { attrs: { label: "近七天", "min-width": "100", prop: "weekAmountReal", sortable: "", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.weekAmountReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.weekAmountReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.weekAmountReal, e3.row.weekAmountReduction))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { prop: "weekRate", label: "占比", "min-width": "80", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("decimalProcessing")(e3.row.weekRate)) + "%")])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "本月", "min-width": "100", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.monthAmountReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.monthAmountReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.monthAmountReal, e3.row.monthAmountReduction))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { prop: "monthRate", label: "占比", "min-width": "80", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("decimalProcessing")(e3.row.monthRate)) + "%")])];
|
|
} }]) })], 2), t2._v(" "), r2("el-table-column", { attrs: { align: "center" } }, [r2("template", { slot: "header" }, [t2._v("\n 所辖区域-账期回款\n "), r2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t2.accountingPeriodText, placement: "top-start" } }, [r2("i", { staticClass: "el-icon-question itemcursor" })])], 1), t2._v(" "), r2("el-table-column", { attrs: { label: "Q往年回款", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.previousYearsRealAmount)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.previousYearsReductionAmount)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.previousYearsRealAmount, e3.row.previousYearsReductionAmount))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "应收未收款", prop: "unPreviousYearsAmount", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("formatMoney")(e3.row.unPreviousYearsAmount)))])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "Q去年回款", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.lastYearsRealAmount)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.lastYearsReductionAmount)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.lastYearsRealAmount, e3.row.lastYearsReductionAmount))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "应收未收款", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("formatMoney")(e3.row.unLastYearsAmount)))])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "Q本年回款", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.currentYearRealAmount)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.currentYearReductionAmount)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.currentYearRealAmount, e3.row.currentYearReductionAmount))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "应收未收款", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("formatMoney")(e3.row.unCurrentYearAmount)))])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "DL往月回款", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.currentYearBeforeRealAmount)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.currentYearBeforeReductionAmount)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.currentYearBeforeRealAmount, e3.row.currentYearBeforeReductionAmount))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "应收未收款", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("formatMoney")(e3.row.unCurrentYearBeforeMonthAmount)))])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "D本月回款", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.currentMonthReduction)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.currentMonthReductionAmount)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.currentMonthReduction, e3.row.currentMonthReductionAmount))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { label: "应收未收款", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("div", { staticClass: "unamout" }, [t2._v(t2._s(t2._f("formatMoney")(e3.row.unCurrentMonthAmount)))])];
|
|
} }]) })], 2), t2._v(" "), r2("el-table-column", { attrs: { align: "center" } }, [r2("template", { slot: "header" }, [t2._v("\n 年度账期回款\n "), r2("el-tooltip", { staticClass: "item", attrs: { effect: "dark", content: t2.yearFlowDes, placement: "top-start" } }, [r2("i", { staticClass: "el-icon-question itemcursor" })])], 1), t2._v(" "), r2("el-table-column", { attrs: { prop: "money", label: "往年", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.previousReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.previousReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.previousReal, e3.row.previousReduction))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { prop: "money", label: "去年", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.lastReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.lastReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.lastReal, e3.row.lastReduction))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { prop: "money", label: "本年", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.yearReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.yearReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.yearReal, e3.row.yearReduction))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { prop: "money", label: "本年往月", "min-width": "120", align: "right" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.currentMonthReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.currentMonthReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.currentMonthReal, e3.row.currentMonthReduction))))])])];
|
|
} }]) }), t2._v(" "), r2("el-table-column", { attrs: { prop: "money", label: "本月", "min-width": "120", align: "right", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
|
return [r2("el-popover", { attrs: { "popper-class": "rePopoverOwner", placement: "top", "visible-arrow": false, effect: "dark", width: "200", trigger: "hover" } }, [r2("div", [r2("p", [t2._v("货币收入:" + t2._s(t2._f("formatMoney")(e3.row.currentReal)))]), t2._v(" "), r2("p", [t2._v("雨滴减免:" + t2._s(t2._f("formatMoney")(e3.row.currentReduction)))])]), t2._v(" "), r2("div", { attrs: { slot: "reference" }, slot: "reference" }, [t2._v(t2._s(t2._f("formatMoney")(t2.amountCalculation(e3.row.currentReal, e3.row.currentReduction))))])])];
|
|
} }]) })], 2)], 1)], 1)]);
|
|
}, n = [], a = (r("a7e5"), r("aa18"), r("87a0")), i = (r("1bc7"), r("096c"), r("e8b2")), l = (r("a450"), r("b071")), c = r("0b37"), u = { name: "incomeStatementTable", data: function() {
|
|
return { companyId: "", companyName: "", accountingPeriodText: "按“计费账期”统计所辖区域本年度各账期的收费金额", cashFlowDes: "按“支付时间”统计各时间段的收入", yearFlowDes: "按“计费账期”统计员工各年度账期的收费金额", tableList: [], listLoading: false, isMobile: false, tableHeight: null, pageTotal: 0, query: { pageNumber: 1, pageSize: 20 }, filterProject: [] };
|
|
}, mounted: function() {
|
|
this.$route.query.code ? (this.isMobile = true, this.companyId = this.$route.query.code, this.companyName = this.$route.query.name) : (this.isMobile = false, this.companyName = JSON.parse(window.localStorage.getItem("companyInfo")).abbreviation, this.companyId = JSON.parse(window.localStorage.getItem("companyInfo")).osId);
|
|
}, methods: { initPageTableHeight: function() {
|
|
if (this.isMobile) this.tableHeight = window.innerWidth - 24;
|
|
else {
|
|
var t2 = document.getElementsByClassName("R2-navbar")[0].clientHeight, e2 = document.getElementsByClassName("incomeHeader")[0].clientHeight;
|
|
this.tableHeight = window.innerHeight - t2 - 2 * e2 - 48;
|
|
}
|
|
}, initPageData: function() {
|
|
this.query.pageNumber = 1, this.getTableList();
|
|
}, getTableList: function() {
|
|
var t2 = this;
|
|
this.listLoading = true, Object(l["q"])({ companyId: this.companyId }).then((function(e2) {
|
|
if (0 === e2.code && e2.data) if (e2.data.length > 0) {
|
|
var r2 = e2.data, o2 = [];
|
|
r2.map((function(t3) {
|
|
var e3 = t3.respDTOList, r3 = t3.projectName, n3 = t3.projectUuid;
|
|
e3.map((function(t4) {
|
|
return Object.assign(t4, { projectName: r3, projectUuid: n3 });
|
|
})), o2 = 0 == o2.length ? Object(i["a"])(e3) : o2.concat(e3);
|
|
})), t2.$emit("updataStatisicsTime", r2[0].respDTOList.length > 0 ? r2[0].respDTOList[0].updateTime : "-");
|
|
var n2 = [], l2 = ["memberName", "memberUuid", "updateTime", "projectName", "projectUuid"], c2 = [];
|
|
o2.length > 0 ? (o2.map((function(t3) {
|
|
for (var e3 = 0, r3 = Object.entries(t3); e3 < r3.length; e3++) {
|
|
var o3 = Object(a["a"])(r3[e3], 2), i2 = o3[0], u2 = o3[1];
|
|
if (!l2.includes(i2) && 0 != u2) {
|
|
c2.findIndex((function(e4) {
|
|
return e4.value === t3.projectUuid;
|
|
})) < 0 && c2.push({ text: t3.projectName, value: t3.projectUuid }), n2.push(t3);
|
|
break;
|
|
}
|
|
}
|
|
})), t2.filterProject = c2, t2.pageTotal = n2.length, t2.tableList = n2) : (t2.pageTotal = 0, t2.tableList = []);
|
|
} else t2.tableList = [];
|
|
else t2.tableList = [];
|
|
t2.listLoading = false;
|
|
}));
|
|
}, filterTag: function(t2, e2) {
|
|
return e2.projectUuid === t2;
|
|
}, updataTableRender: function() {
|
|
}, tableRowClassName: function(t2) {
|
|
t2.row;
|
|
var e2 = t2.rowIndex;
|
|
return (e2 + 1) % 2 === 0 ? "detaPlatRow-even" : "detaPlatRow-odd";
|
|
}, cellStyle: function(t2) {
|
|
t2.row, t2.column, t2.rowIndex, t2.columnIndex;
|
|
return "";
|
|
}, amountCalculation: function(t2, e2) {
|
|
return Object(c["a"])(t2, e2);
|
|
}, handleSizeChange: function(t2) {
|
|
this.query.pageSize = t2;
|
|
}, handleCurrentChange: function(t2) {
|
|
this.query.pageNumber = t2;
|
|
} } }, s = u, d = (r("3841"), r("829d")), p = Object(d["a"])(s, o, n, false, null, "1962f82b", null);
|
|
e["default"] = p.exports;
|
|
} }]);
|