feat: 初始化静态镜像站点仓库
This commit is contained in:
@@ -0,0 +1,416 @@
|
||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-468d0c5c"], { "0b37": function(t, e, a) {
|
||||
"use strict";
|
||||
a.d(e, "a", (function() {
|
||||
return n;
|
||||
})), a.d(e, "b", (function() {
|
||||
return r;
|
||||
})), a.d(e, "c", (function() {
|
||||
return o;
|
||||
})), a.d(e, "d", (function() {
|
||||
return c;
|
||||
})), a.d(e, "f", (function() {
|
||||
return i;
|
||||
})), a.d(e, "e", (function() {
|
||||
return l;
|
||||
}));
|
||||
a("8dee"), a("e680"), a("4057"), a("fc02");
|
||||
function n(t2, e2) {
|
||||
var a2, n2, r2, o2;
|
||||
try {
|
||||
a2 = t2.toString().split(".")[1].length;
|
||||
} catch (i2) {
|
||||
a2 = 0;
|
||||
}
|
||||
try {
|
||||
n2 = e2.toString().split(".")[1].length;
|
||||
} catch (i2) {
|
||||
n2 = 0;
|
||||
}
|
||||
if (o2 = Math.abs(a2 - n2), r2 = Math.pow(10, Math.max(a2, n2)), o2 > 0) {
|
||||
var c2 = Math.pow(10, o2);
|
||||
a2 > n2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * c2) : (t2 = Number(t2.toString().replace(".", "")) * c2, e2 = Number(e2.toString().replace(".", "")));
|
||||
} else t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", ""));
|
||||
return (t2 + e2) / r2;
|
||||
}
|
||||
function r(t2, e2) {
|
||||
var a2, n2, r2 = 0, o2 = 0;
|
||||
try {
|
||||
r2 = t2.toString().split(".")[1].length;
|
||||
} catch (c2) {
|
||||
}
|
||||
try {
|
||||
o2 = e2.toString().split(".")[1].length;
|
||||
} catch (c2) {
|
||||
}
|
||||
return a2 = Number(t2.toString().replace(".", "")), n2 = Number(e2.toString().replace(".", "")), a2 / n2 * Math.pow(10, o2 - r2);
|
||||
}
|
||||
function o(t2, e2) {
|
||||
var a2 = 0, n2 = t2.toString(), r2 = e2.toString();
|
||||
try {
|
||||
a2 += n2.split(".")[1].length;
|
||||
} catch (o2) {
|
||||
}
|
||||
try {
|
||||
a2 += r2.split(".")[1].length;
|
||||
} catch (o2) {
|
||||
}
|
||||
return Number(n2.replace(".", "")) * Number(r2.replace(".", "")) / Math.pow(10, a2);
|
||||
}
|
||||
function c(t2, e2) {
|
||||
var a2, n2, r2, o2;
|
||||
try {
|
||||
a2 = t2.toString().split(".")[1].length;
|
||||
} catch (c2) {
|
||||
a2 = 0;
|
||||
}
|
||||
try {
|
||||
n2 = e2.toString().split(".")[1].length;
|
||||
} catch (c2) {
|
||||
n2 = 0;
|
||||
}
|
||||
return r2 = Math.pow(10, Math.max(a2, n2)), o2 = a2 >= n2 ? a2 : n2, (Math.round(t2 * r2 - e2 * r2) / r2).toFixed(o2);
|
||||
}
|
||||
function i(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 a2 = /(\d)(\d{3},)/;
|
||||
while (a2.test(t2)) t2 = t2.replace(a2, "$1,$2");
|
||||
if (t2 = t2.replace(/,(\d\d)$/, ".$1"), 0 === e2 || void 0 === e2) {
|
||||
var n2 = t2.split(".");
|
||||
"00" == n2[1] && (t2 = n2[0]);
|
||||
}
|
||||
return t2;
|
||||
}
|
||||
function l(t2, e2) {
|
||||
t2 = t2.toString();
|
||||
var a2 = t2.indexOf(".");
|
||||
return t2 = -1 !== a2 ? t2.substring(0, e2 + a2 + 1) : t2.substring(0), parseFloat(t2).toFixed(e2);
|
||||
}
|
||||
}, "0e7c": function(t, e, a) {
|
||||
}, "82a6": 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 l;
|
||||
})), a.d(e, "D", (function() {
|
||||
return u;
|
||||
})), a.d(e, "N", (function() {
|
||||
return s;
|
||||
})), 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 g;
|
||||
})), a.d(e, "M", (function() {
|
||||
return y;
|
||||
})), a.d(e, "l", (function() {
|
||||
return S;
|
||||
})), a.d(e, "j", (function() {
|
||||
return T;
|
||||
})), a.d(e, "i", (function() {
|
||||
return O;
|
||||
})), a.d(e, "L", (function() {
|
||||
return v;
|
||||
})), a.d(e, "x", (function() {
|
||||
return w;
|
||||
})), a.d(e, "y", (function() {
|
||||
return k;
|
||||
})), a.d(e, "c", (function() {
|
||||
return j;
|
||||
})), a.d(e, "d", (function() {
|
||||
return P;
|
||||
})), a.d(e, "b", (function() {
|
||||
return C;
|
||||
})), a.d(e, "w", (function() {
|
||||
return x;
|
||||
})), a.d(e, "v", (function() {
|
||||
return N;
|
||||
})), a.d(e, "C", (function() {
|
||||
return _;
|
||||
})), a.d(e, "a", (function() {
|
||||
return M;
|
||||
})), a.d(e, "A", (function() {
|
||||
return R;
|
||||
})), a.d(e, "t", (function() {
|
||||
return L;
|
||||
})), a.d(e, "B", (function() {
|
||||
return B;
|
||||
})), a.d(e, "u", (function() {
|
||||
return $;
|
||||
})), a.d(e, "s", (function() {
|
||||
return I;
|
||||
})), a.d(e, "z", (function() {
|
||||
return E;
|
||||
})), a.d(e, "P", (function() {
|
||||
return q;
|
||||
})), a.d(e, "g", (function() {
|
||||
return D;
|
||||
})), a.d(e, "h", (function() {
|
||||
return z;
|
||||
})), a.d(e, "f", (function() {
|
||||
return H;
|
||||
})), a.d(e, "e", (function() {
|
||||
return U;
|
||||
})), a.d(e, "m", (function() {
|
||||
return W;
|
||||
})), a.d(e, "I", (function() {
|
||||
return J;
|
||||
})), a.d(e, "J", (function() {
|
||||
return F;
|
||||
}));
|
||||
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 l(t2) {
|
||||
return Object(n["a"])({ url: "/company/Assess/pageListAssess", method: "POST", data: t2 });
|
||||
}
|
||||
function u(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/data/project/chargeTotal", method: "POST", data: t2 });
|
||||
}
|
||||
function s(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 g(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/pageList", method: "POST", data: t2 });
|
||||
}
|
||||
function y(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/ContractTaskStatistics/statistics", method: "POST", data: t2 });
|
||||
}
|
||||
function S(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 O(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/export", method: "POST", responseType: "blob", data: t2 });
|
||||
}
|
||||
function v(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/ContractExecuteStatistics/statistics", method: "POST", data: t2 });
|
||||
}
|
||||
function w(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/reportPageList", method: "POST", data: t2 });
|
||||
}
|
||||
function k(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/InspectSubscribe/exportReport", method: "POST", responseType: "blob", data: t2 });
|
||||
}
|
||||
function j(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageList", method: "POST", data: t2 });
|
||||
}
|
||||
function P(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 x(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 _(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/data/project/projectWxpublicUser", method: "POST", data: t2 });
|
||||
}
|
||||
function M(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageList", method: "POST", data: t2 });
|
||||
}
|
||||
function R(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/projectOrderStatisticsPage", method: "POST", data: t2 });
|
||||
}
|
||||
function L(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/memberOrderPage", method: "POST", data: t2 });
|
||||
}
|
||||
function B(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/projectPageByTaskType", method: "POST", data: t2 });
|
||||
}
|
||||
function $(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/TaskStatisticsReport/pageByTaskType", method: "POST", data: t2 });
|
||||
}
|
||||
function I(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/WorkOrder/memberOrderPage", method: "POST", data: t2 });
|
||||
}
|
||||
function E(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/PostponeWorder/export", method: "POST", responseType: "blob", data: t2 });
|
||||
}
|
||||
function q(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/WorkOrder/export", method: "POST", responseType: "blob", data: t2 });
|
||||
}
|
||||
function D(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList", method: "POST", data: t2 });
|
||||
}
|
||||
function z(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/pageList/sum", method: "POST", data: t2 });
|
||||
}
|
||||
function H(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/data/project/ChargeReportByCharge/out/excel", method: "POST", responseType: "blob", data: t2 });
|
||||
}
|
||||
function U(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 J(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/CustomerVisit/statisticsCustomerVisit", method: "POST", data: t2 });
|
||||
}
|
||||
function F(t2) {
|
||||
return Object(n["a"])({ url: "/hakocompany/CustomerVisit/export", method: "POST", responseType: "blob", data: t2 });
|
||||
}
|
||||
}, c107: function(t, e, a) {
|
||||
"use strict";
|
||||
a("0e7c");
|
||||
}, d0ce: function(t, e, a) {
|
||||
"use strict";
|
||||
a("82a6");
|
||||
}, d713: 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: "flowlayout incomeStatement physicalReport" }, [a2("div", { staticClass: "incomeHeader" }, [t2._v("\n 体检统计报表\n "), t2._v(" "), a2("span", { staticClass: "updataQuery itemcursor", on: { click: t2.exportExcel } }, [t2._v("下载Excel")]), t2._v(" "), a2("div", { staticClass: "selectMonthBox" }, [a2("el-date-picker", { staticClass: "selectTable selectMonth", attrs: { "popper-class": "selectTablePopper", clearable: false, size: "mini", type: "daterange", format: "yyyy-MM-dd", "value-format": "yyyy-MM-dd", "range-separator": "至", "start-placeholder": "开始日期", "end-placeholder": "结束日期" }, on: { change: t2.dataPickerChange }, model: { value: t2.selectedMonth, callback: function(e3) {
|
||||
t2.selectedMonth = e3;
|
||||
}, expression: "selectedMonth" } })], 1)]), t2._v(" "), a2("physicalReport", { ref: "physicalReport", on: { updataStatisicsTime: t2.updataStatisicsTime } })], 1);
|
||||
}, r = [], o = function() {
|
||||
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
|
||||
return a2("div", { staticClass: "todayDynamicsbox" }, [a2("div", { staticClass: "box-container todayDynamicsTable detaPlatformTable" }, [a2("el-table", { directives: [{ name: "loading", rawName: "v-loading", value: t2.listLoading, expression: "listLoading" }], staticClass: "todayDynamics", attrs: { size: "small", border: "", height: t2.tableHeight, "element-loading-background": "rgba(0, 0, 0, 0.1)", data: t2.tableList, "row-class-name": t2.tableRowClassName } }, [a2("el-table-column", { attrs: { prop: "code", label: "#", "min-width": "50", align: "center", "label-class-name": "titleBlue" }, 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: { label: "项目", prop: "projectName", "min-width": "140", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue", filters: t2.filterProject, "filter-method": t2.filterTag, "filter-placement": "bottom" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "体检套餐", prop: "setMealName", "min-width": "160", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "完成时间", prop: "realEndTime", "min-width": "160", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "总分", prop: "totalScore", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||||
return [t2._v(t2._s(e3.row.totalScore ? e3.row.totalScore : "-"))];
|
||||
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { label: "得分", prop: "comprehensiveScore", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||||
return [t2._v(t2._s(e3.row.comprehensiveScore ? e3.row.comprehensiveScore : "-"))];
|
||||
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { label: "得分率", prop: "scoreRate", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||||
return [t2._v(t2._s(e3.row.scoreRate ? e3.row.scoreRate : "-"))];
|
||||
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { label: "整改数", prop: "orderNum", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" }, scopedSlots: t2._u([{ key: "default", fn: function(e3) {
|
||||
return [e3.row.orderNum > 0 ? a2("div", { staticClass: "orderNumUnderLine", on: { click: function(a3) {
|
||||
return t2.gotoPhysical(e3.row);
|
||||
} } }, [t2._v(t2._s(e3.row.orderNum))]) : a2("div", [t2._v("-")])];
|
||||
} }]) }), t2._v(" "), a2("el-table-column", { attrs: { label: "整改报告", prop: "reported", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "点赞数", prop: "agreeNum", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "评价数", prop: "commentNum", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" } }), t2._v(" "), a2("el-table-column", { attrs: { label: "综合评分", prop: "avgScore", "min-width": "100", align: "center", "show-overflow-tooltip": "", "label-class-name": "titleBlue" } })], 1), t2._v(" "), a2("div", { staticClass: "table-ststisic-pages" }, [a2("el-pagination", { attrs: { background: "", "current-page": t2.query.pageNumber, "pager-count": 7, "page-sizes": [10, 20, 30, 50], "page-size": t2.query.pageSize, layout: "total, 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)]);
|
||||
}, c = [], i = (a("a7e5"), a("b071")), l = a("0b37"), u = { name: "incomeStatementTable", data: function() {
|
||||
return { companyId: "", companyName: "", tableList: [], listLoading: false, isMobile: false, tableHeight: null, pageTotal: 0, query: { companyId: "", realStartTime: "", realEndTime: "", pageNumber: 1, pageSize: 20 }, filterProject: [] };
|
||||
}, mounted: function() {
|
||||
this.companyName = JSON.parse(window.localStorage.getItem("companyInfo")).abbreviation, this.query.companyId = JSON.parse(window.localStorage.getItem("companyInfo")).osId, this.initPageTableHeight();
|
||||
}, 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, a2 = document.getElementsByClassName("table-ststisic-pages")[0].clientHeight;
|
||||
this.tableHeight = window.innerHeight - t2 - e2 - a2 - 24;
|
||||
}
|
||||
}, initPageData: function(t2) {
|
||||
this.query.realStartTime = "".concat(t2[0], " 00:00:00"), this.query.realEndTime = "".concat(t2[1], " 23:59:59"), this.query.pageNumber = 1, this.getTableList();
|
||||
}, getTableList: function() {
|
||||
var t2 = this;
|
||||
this.listLoading = true, Object(i["x"])(this.query).then((function(e2) {
|
||||
if (0 === e2.code && e2.data) {
|
||||
var a2 = e2.data, n2 = a2.rowsCount, r2 = a2.records;
|
||||
if (r2.length > 0) {
|
||||
var o2 = [];
|
||||
t2.pageTotal = n2, t2.tableList = r2, r2.map((function(t3) {
|
||||
o2.findIndex((function(e3) {
|
||||
return e3.value === t3.projectUuid;
|
||||
})) < 0 && o2.push({ text: t3.projectName, value: t3.projectUuid });
|
||||
})), t2.filterProject = o2;
|
||||
} else t2.pageTotal = 0, t2.tableList = [];
|
||||
} else t2.pageTotal = 0, t2.tableList = [];
|
||||
t2.listLoading = false;
|
||||
}));
|
||||
}, filterTag: function(t2, e2) {
|
||||
return e2.projectUuid === t2;
|
||||
}, tableRowClassName: function(t2) {
|
||||
t2.row;
|
||||
var e2 = t2.rowIndex;
|
||||
return (e2 + 1) % 2 === 0 ? "detaPlatRow-even" : "detaPlatRow-odd";
|
||||
}, gotoPhysical: function(t2) {
|
||||
var e2 = "".concat("https://hc-pos.sqygj.cn/", "#/viewInfo/viewPhysical?data=").concat(t2.id);
|
||||
window.open("".concat(e2));
|
||||
}, amountCalculation: function(t2, e2) {
|
||||
return Object(l["a"])(t2, e2);
|
||||
}, handleSizeChange: function(t2) {
|
||||
this.query.pageSize = t2, this.getTableList();
|
||||
}, handleCurrentChange: function(t2) {
|
||||
this.query.pageNumber = t2, this.getTableList();
|
||||
} } }, s = u, d = (a("d0ce"), a("829d")), p = Object(d["a"])(s, o, c, false, null, "e7c42bba", null), h = p.exports, m = { components: { physicalReport: h }, data: function() {
|
||||
return { selectedMonth: "" };
|
||||
}, mounted: function() {
|
||||
this.initDate();
|
||||
}, methods: { initDate: function() {
|
||||
var t2 = this, e2 = this.$moment(/* @__PURE__ */ new Date()).format("yyyy-MM-DD"), a2 = this.$moment(e2).subtract(30, "days").format("yyyy-MM-DD");
|
||||
this.selectedMonth = [a2, e2], this.$nextTick((function() {
|
||||
t2.$refs.physicalReport.initPageData(t2.selectedMonth);
|
||||
}));
|
||||
}, updataStatisicsTime: function() {
|
||||
this.updataTime = val;
|
||||
}, exportExcel: function() {
|
||||
var t2 = { companyId: JSON.parse(window.localStorage.getItem("companyInfo")).osId, realStartTime: "".concat(this.selectedMonth[0], " 00:00:00"), realEndTime: "".concat(this.selectedMonth[1], " 23:59:59"), pageNumber: 1, pageSize: -1 }, e2 = "体检统计报表.xls";
|
||||
Object(i["y"])(t2).then((function(t3) {
|
||||
var a2 = new Blob([t3], { type: "application/vnd.ms-excel;charset=UTF-8" });
|
||||
if (window.navigator.msSaveOrOpenBlob) navigator.msSaveBlob(a2);
|
||||
else {
|
||||
var n2 = document.createElement("a");
|
||||
n2.download = e2, n2.href = URL.createObjectURL(a2), n2.click(), URL.revokeObjectURL(n2.href), document.body.removeChild(n2);
|
||||
}
|
||||
})).catch((function(t3) {
|
||||
}));
|
||||
}, dataPickerChange: function(t2) {
|
||||
var e2 = this;
|
||||
t2 && t2.length > 0 && this.$nextTick((function() {
|
||||
e2.$refs.physicalReport.initPageData(e2.selectedMonth);
|
||||
}));
|
||||
}, selectMonthChange: function() {
|
||||
var t2 = this;
|
||||
this.$nextTick((function() {
|
||||
t2.$refs.physicalReport.initPageData(t2.selectedMonth);
|
||||
}));
|
||||
} } }, f = m, b = (a("c107"), Object(d["a"])(f, n, r, false, null, "9fe9a9c2", null));
|
||||
e["default"] = b.exports;
|
||||
} }]);
|
||||
Reference in New Issue
Block a user