Files
wysite/output/sourcemaps/hc-etms.sqygj.cn/static/js/chunk-5b80bfef.4388867c.js

553 lines
34 KiB
JavaScript

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["chunk-5b80bfef"], { "052a": function(t, e, a) {
"use strict";
a.d(e, "h", (function() {
return n;
})), a.d(e, "r", (function() {
return r;
})), a.d(e, "s", (function() {
return o;
})), a.d(e, "q", (function() {
return l;
})), a.d(e, "z", (function() {
return s;
})), a.d(e, "a", (function() {
return c;
})), a.d(e, "e", (function() {
return u;
})), a.d(e, "u", (function() {
return h;
})), a.d(e, "v", (function() {
return p;
})), a.d(e, "k", (function() {
return d;
})), a.d(e, "j", (function() {
return f;
})), a.d(e, "f", (function() {
return m;
})), a.d(e, "b", (function() {
return g;
})), a.d(e, "g", (function() {
return y;
})), a.d(e, "x", (function() {
return b;
})), a.d(e, "o", (function() {
return v;
})), a.d(e, "p", (function() {
return w;
})), a.d(e, "y", (function() {
return x;
})), a.d(e, "t", (function() {
return S;
})), a.d(e, "i", (function() {
return O;
})), a.d(e, "n", (function() {
return j;
})), a.d(e, "c", (function() {
return k;
})), a.d(e, "d", (function() {
return L;
})), a.d(e, "m", (function() {
return C;
})), a.d(e, "l", (function() {
return P;
})), a.d(e, "w", (function() {
return M;
}));
var i = a("b775");
function n(t2) {
return Object(i["a"])({ url: "/hakocompany/ChargeReport/companyBudgetCompleteDetail", method: "post", data: t2 });
}
function r(t2) {
return Object(i["a"])({ url: "/hakocompany/home/getTotalAccidentPastRecordsHisByCompany", method: "post", data: t2 });
}
function o(t2) {
return Object(i["a"])({ url: "/hakocompany/WorkOrder/total/num", method: "post", data: t2 });
}
function l(t2) {
return Object(i["a"])({ url: "/hakocompany/CurrentData/getCurrentData", method: "post", data: t2, timeout: 3e4 });
}
function s(t2) {
return Object(i["a"])({ url: "/hakocompany/ProjectReturnStatistics/trackingTable", method: "post", data: t2 });
}
function c(t2) {
return Object(i["a"])({ url: "/hakocompany/DeviceBaseInfo/pageList", method: "post", data: t2 });
}
function u(t2) {
return Object(i["a"])({ url: "/hakocompany/ProjectIncomeStatistics/arrearsHouseByCompany", method: "post", data: t2 });
}
function h(t2) {
return Object(i["a"])({ url: "/hakocompany/ProjectExponentStatistics/findByCompanyId", method: "post", data: t2 });
}
function p(t2) {
return Object(i["a"])({ url: "/hakocompany/ProjectExponentStatistics/pageList", method: "post", data: t2 });
}
function d(t2) {
return Object(i["a"])({ url: "/data/FinanceTinyBrain/companyProjectMap", method: "post", data: t2 });
}
function f(t2) {
return Object(i["a"])({ url: "/hakocompany/CompanyFinance/companyFinanceGrowth", method: "post", data: t2 });
}
function m(t2) {
return Object(i["a"])({ url: "/hakocompany/Benefits/benefits/companyPageList", method: "post", data: t2 });
}
function g(t2) {
return Object(i["a"])({ url: "/hakocompany/Benefits/benefitsExpenditure/companyPageList", method: "post", data: t2 });
}
function y(t2) {
return Object(i["a"])({ url: "/hakocompany/Benefits/benefits/monthDetail", method: "post", data: t2 });
}
function b(t2) {
return Object(i["a"])({ url: "/hakocompany/house/queryHouseStatus", method: "post", data: t2 });
}
function v(t2) {
return Object(i["a"])({ url: "/hakocompany/DangerousSourceStatistics/statRisk", method: "post", data: t2 });
}
function w(t2) {
return Object(i["a"])({ url: "/hakocompany/ProjectExponentStatistics/getCompanyOrderStatistics", method: "post", data: t2 });
}
function x(t2) {
return Object(i["a"])({ url: "/hakocompany/home/safetyIndexStat", method: "post", data: t2 });
}
function S(t2) {
return Object(i["a"])({ url: "/company/member/memberRisk", method: "post", data: t2 });
}
function O(t2) {
return Object(i["a"])({ url: "/hakocompany/home/companyCompletedRate", method: "post", data: t2 });
}
function j(t2) {
return Object(i["a"])({ url: "/hakocompany/AgentServiceReport/createCompanyRoiAssessReport", method: "post", data: t2 });
}
function k(t2) {
return Object(i["a"])({ url: "/hakocompany/AgentServiceReport/pageList", method: "post", data: t2 });
}
function L(t2) {
return Object(i["a"])({ url: "/hakocompany/AgentServiceReport/typePageList", method: "post", data: t2 });
}
function C(t2) {
return Object(i["a"])({ url: "/hakocompany/AgentServiceReport/createCompanyReportV2", method: "post", data: t2 });
}
function P(t2) {
return Object(i["a"])({ url: "/hakocompany/AgentServiceReport/createCompanyReport", method: "post", data: t2 });
}
function M(t2) {
return Object(i["a"])({ url: "/hakocompany/TaskInspectionsStandard/ptuSmartInspectionEfficiency", method: "post", data: t2 });
}
}, "0b37": function(t, e, a) {
"use strict";
a.d(e, "a", (function() {
return i;
})), a.d(e, "b", (function() {
return n;
})), a.d(e, "c", (function() {
return r;
})), a.d(e, "d", (function() {
return o;
})), a.d(e, "f", (function() {
return l;
})), a.d(e, "e", (function() {
return s;
}));
a("8dee"), a("e680"), a("4057"), a("fc02");
function i(t2, e2) {
var a2, i2, n2, r2;
try {
a2 = t2.toString().split(".")[1].length;
} catch (l2) {
a2 = 0;
}
try {
i2 = e2.toString().split(".")[1].length;
} catch (l2) {
i2 = 0;
}
if (r2 = Math.abs(a2 - i2), n2 = Math.pow(10, Math.max(a2, i2)), r2 > 0) {
var o2 = Math.pow(10, r2);
a2 > i2 ? (t2 = Number(t2.toString().replace(".", "")), e2 = Number(e2.toString().replace(".", "")) * o2) : (t2 = Number(t2.toString().replace(".", "")) * o2, 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 a2, i2, n2 = 0, r2 = 0;
try {
n2 = t2.toString().split(".")[1].length;
} catch (o2) {
}
try {
r2 = e2.toString().split(".")[1].length;
} catch (o2) {
}
return a2 = Number(t2.toString().replace(".", "")), i2 = Number(e2.toString().replace(".", "")), a2 / i2 * Math.pow(10, r2 - n2);
}
function r(t2, e2) {
var a2 = 0, i2 = t2.toString(), n2 = e2.toString();
try {
a2 += i2.split(".")[1].length;
} catch (r2) {
}
try {
a2 += n2.split(".")[1].length;
} catch (r2) {
}
return Number(i2.replace(".", "")) * Number(n2.replace(".", "")) / Math.pow(10, a2);
}
function o(t2, e2) {
var a2, i2, n2, r2;
try {
a2 = t2.toString().split(".")[1].length;
} catch (o2) {
a2 = 0;
}
try {
i2 = e2.toString().split(".")[1].length;
} catch (o2) {
i2 = 0;
}
return n2 = Math.pow(10, Math.max(a2, i2)), r2 = a2 >= i2 ? a2 : i2, (Math.round(t2 * n2 - e2 * n2) / n2).toFixed(r2);
}
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 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 i2 = t2.split(".");
"00" == i2[1] && (t2 = i2[0]);
}
return t2;
}
function s(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);
}
}, "1f61": function(t, e, a) {
"use strict";
a("d961");
}, "1f7e": function(t, e, a) {
"use strict";
a("f08e");
}, "2c23": function(t, e, a) {
t.exports = a("5f875");
}, "3e49": function(t, e, a) {
var i = a("e99b");
i(i.S, "Math", { log10: function(t2) {
return Math.log(t2) * Math.LOG10E;
} });
}, "53c3": function(t, e, a) {
var i = a("43a0"), n = i.number, r = a("2cb9"), o = n.parsePercent, l = a("cc0c");
i.extendChartView({ type: "liquidFill", render: function(t2, e2, a2) {
var n2 = this.group;
n2.removeAll();
var s = t2.getData(), c = s.getItemModel(0), u = c.get("center"), h = c.get("radius"), p = a2.getWidth(), d = a2.getHeight(), f = Math.min(p, d), m = 0, g = 0, y = t2.get("outline.show");
y && (m = t2.get("outline.borderDistance"), g = o(t2.get("outline.itemStyle.borderWidth"), f));
var b, v, w, x = o(u[0], p), S = o(u[1], d), O = false, j = t2.get("shape");
if ("container" === j ? (O = true, b = [p / 2, d / 2], v = [b[0] - g / 2, b[1] - g / 2], w = [o(m, p), o(m, d)], h = [Math.max(v[0] - w[0], 0), Math.max(v[1] - w[1], 0)]) : (b = o(h, f) / 2, v = b - g / 2, w = o(m, f), h = Math.max(v - w, 0)), y) {
var k = F();
k.style.lineWidth = g, n2.add(F());
}
var L = O ? 0 : x - h, C = O ? 0 : S - h, P = null;
n2.add(A());
var M = this._data, D = [];
function I(t3, e3) {
if (j) {
if (0 === j.indexOf("path://")) {
var a3 = i.graphic.makePath(j.slice(7), {}), n3 = a3.getBoundingRect(), o2 = n3.width, l2 = n3.height;
o2 > l2 ? (l2 *= 2 * t3 / o2, o2 = 2 * t3) : (o2 *= 2 * t3 / l2, l2 = 2 * t3);
var s2 = e3 ? 0 : x - o2 / 2, c2 = e3 ? 0 : S - l2 / 2;
return a3 = i.graphic.makePath(j.slice(7), {}, new i.graphic.BoundingRect(s2, c2, o2, l2)), e3 && (a3.position = [-o2 / 2, -l2 / 2]), a3;
}
if (O) {
var u2 = e3 ? -t3[0] : x - t3[0], h2 = e3 ? -t3[1] : S - t3[1];
return r.createSymbol("rect", u2, h2, 2 * t3[0], 2 * t3[1]);
}
u2 = e3 ? -t3 : x - t3, h2 = e3 ? -t3 : S - t3;
return "pin" === j ? h2 += t3 : "arrow" === j && (h2 -= t3), r.createSymbol(j, u2, h2, 2 * t3, 2 * t3);
}
return new i.graphic.Circle({ shape: { cx: e3 ? 0 : x, cy: e3 ? 0 : S, r: t3 } });
}
function F() {
var e3 = I(b);
return e3.style.fill = null, e3.setStyle(t2.getModel("outline.itemStyle").getItemStyle()), e3;
}
function A() {
var e3 = I(h);
e3.setStyle(t2.getModel("backgroundStyle").getItemStyle()), e3.style.fill = null, e3.z2 = 5;
var a3 = I(h);
a3.setStyle(t2.getModel("backgroundStyle").getItemStyle()), a3.style.stroke = null;
var n3 = new i.graphic.Group();
return n3.add(e3), n3.add(a3), n3;
}
function N(e3, a3, n3) {
var r2 = O ? h[0] : h, c2 = O ? d / 2 : h, u2 = s.getItemModel(e3), p2 = u2.getModel("itemStyle"), f2 = u2.get("phase"), m2 = o(u2.get("amplitude"), 2 * c2), g2 = o(u2.get("waveLength"), 2 * r2), y2 = s.get("value", e3), b2 = c2 - y2 * c2 * 2;
f2 = n3 ? n3.shape.phase : "auto" === f2 ? e3 * Math.PI / 4 : f2;
var v2 = p2.getItemStyle();
if (!v2.fill) {
var w2 = t2.get("color"), j2 = e3 % w2.length;
v2.fill = w2[j2];
}
var k2 = 2 * r2, L2 = new l({ shape: { waveLength: g2, radius: r2, radiusY: c2, cx: k2, cy: 0, waterLevel: b2, amplitude: m2, phase: f2, inverse: a3 }, style: v2, position: [x, S] });
L2.shape._waterLevel = b2;
var C2 = u2.getModel("emphasis.itemStyle").getItemStyle();
C2.lineWidth = 0, i.graphic.setHoverStyle(L2, C2);
var P2 = I(h, true);
return P2.setStyle({ fill: "white" }), L2.setClipPath(P2), L2;
}
function z(t3, e3, a3) {
var i2 = s.getItemModel(t3), n3 = i2.get("period"), r2 = i2.get("direction"), o2 = s.get("value", t3), l2 = i2.get("phase");
l2 = a3 ? a3.shape.phase : "auto" === l2 ? t3 * Math.PI / 4 : l2;
var c2 = function(e4) {
var a4 = s.count();
return 0 === a4 ? e4 : e4 * (0.2 + (a4 - t3) / a4 * 0.8);
}, u2 = 0;
u2 = "auto" === n3 ? c2(5e3) : "function" === typeof n3 ? n3(o2, t3) : n3;
var h2 = 0;
"right" === r2 || null == r2 ? h2 = Math.PI : "left" === r2 ? h2 = -Math.PI : "none" === r2 ? h2 = 0 : console.error("Illegal direction value for liquid fill."), "none" !== r2 && i2.get("waveAnimation") && e3.animate("shape", true).when(0, { phase: l2 }).when(u2 / 2, { phase: h2 + l2 }).when(u2, { phase: 2 * h2 + l2 }).during((function() {
P && P.dirty(true);
})).start();
}
function $(e3) {
var a3 = c.getModel("label");
function n3() {
var e4 = t2.getFormattedLabel(0, "normal"), a4 = 100 * s.get("value", 0), i2 = s.getName(0) || t2.name;
return isNaN(a4) || (i2 = a4.toFixed(0) + "%"), null == e4 ? i2 : e4;
}
var r2 = { z2: 10, shape: { x: L, y: C, width: 2 * (O ? h[0] : h), height: 2 * (O ? h[1] : h) }, style: { fill: "transparent", text: n3(), textAlign: a3.get("align"), textVerticalAlign: a3.get("baseline") }, silent: true }, o2 = new i.graphic.Rect(r2), l2 = a3.get("color");
i.graphic.setText(o2.style, a3, l2);
var u2 = new i.graphic.Rect(r2), p2 = a3.get("insideColor");
i.graphic.setText(u2.style, a3, p2), u2.style.textFill = p2;
var d2 = new i.graphic.Group();
d2.add(o2), d2.add(u2);
var f2 = I(h, true);
return P = new i.graphic.CompoundPath({ shape: { paths: e3 }, position: [x, S] }), P.setClipPath(f2), u2.setClipPath(P), d2;
}
s.diff(M).add((function(e3) {
var a3 = N(e3, false), r2 = a3.shape.waterLevel;
a3.shape.waterLevel = O ? d / 2 : h, i.graphic.initProps(a3, { shape: { waterLevel: r2 } }, t2), a3.z2 = 2, z(e3, a3, null), n2.add(a3), s.setItemGraphicEl(e3, a3), D.push(a3);
})).update((function(e3, a3) {
for (var r2 = M.getItemGraphicEl(a3), o2 = N(e3, false, r2), l2 = {}, c2 = ["amplitude", "cx", "cy", "phase", "radius", "radiusY", "waterLevel", "waveLength"], u2 = 0; u2 < c2.length; ++u2) {
var h2 = c2[u2];
o2.shape.hasOwnProperty(h2) && (l2[h2] = o2.shape[h2]);
}
var p2 = {}, f2 = ["fill", "opacity", "shadowBlur", "shadowColor"];
for (u2 = 0; u2 < f2.length; ++u2) {
h2 = f2[u2];
o2.style.hasOwnProperty(h2) && (p2[h2] = o2.style[h2]);
}
O && (l2.radiusY = d / 2), i.graphic.updateProps(r2, { shape: l2 }, t2), r2.useStyle(p2), r2.position = o2.position, r2.setClipPath(o2.clipPath), r2.shape.inverse = o2.inverse, z(e3, r2, r2), n2.add(r2), s.setItemGraphicEl(e3, r2), D.push(r2);
})).remove((function(t3) {
var e3 = M.getItemGraphicEl(t3);
n2.remove(e3);
})).execute(), c.get("label.show") && n2.add($(D)), this._data = s;
}, dispose: function() {
} });
}, "57a4": function(t, e, a) {
var i = a("e19a"), n = a("43a0");
n.extendSeriesModel({ type: "series.liquidFill", visualColorAccessPath: "textStyle.normal.color", optionUpdated: function() {
var t2 = this.option;
t2.gridSize = Math.max(Math.floor(t2.gridSize), 4);
}, getInitialData: function(t2, e2) {
var a2 = i(["value"], t2.data), r = new n.List(a2, this);
return r.initData(t2.data), r;
}, defaultOption: { color: ["#294D99", "#156ACF", "#1598ED", "#45BDFF"], center: ["50%", "50%"], radius: "50%", amplitude: "8%", waveLength: "80%", phase: "auto", period: "auto", direction: "right", shape: "circle", waveAnimation: true, animationEasing: "linear", animationEasingUpdate: "linear", animationDuration: 2e3, animationDurationUpdate: 1e3, outline: { show: true, borderDistance: 8, itemStyle: { color: "none", borderColor: "#294D99", borderWidth: 8, shadowBlur: 20, shadowColor: "rgba(0, 0, 0, 0.25)" } }, backgroundStyle: { color: "#E3F7FF" }, itemStyle: { opacity: 0.95, shadowBlur: 50, shadowColor: "rgba(0, 0, 0, 0.4)" }, label: { show: true, color: "#294D99", insideColor: "#fff", fontSize: 50, fontWeight: "bold", align: "center", baseline: "middle", position: "inside" }, emphasis: { itemStyle: { opacity: 0.8 } } } });
}, "5d17": function(t, e, a) {
}, "5f875": function(t, e, a) {
var i = a("43a0");
a("57a4"), a("53c3"), i.registerVisual(i.util.curry(a("0e3e"), "liquidFill"));
}, 7336: function(t, e, a) {
"use strict";
a("ed54");
}, "73e10": function(t, e, a) {
"use strict";
var i = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { ref: "lineCharts", staticClass: "lineCharts", attrs: { id: "lineCharts" } });
}, n = [], r = (a("ac67"), a("1bc7"), a("32ea"), a("e8b2")), o = (a("8dee"), a("a450"), a("5821"));
a("e680"), a("3e49");
a("0b37"), a("516d");
var l = a("8975");
a("4d28");
function s(t2, e2) {
var a2 = Object.keys(t2);
if (Object.getOwnPropertySymbols) {
var i2 = Object.getOwnPropertySymbols(t2);
e2 && (i2 = i2.filter((function(e3) {
return Object.getOwnPropertyDescriptor(t2, e3).enumerable;
}))), a2.push.apply(a2, i2);
}
return a2;
}
function c(t2) {
for (var e2 = 1; e2 < arguments.length; e2++) {
var a2 = null != arguments[e2] ? arguments[e2] : {};
e2 % 2 ? s(Object(a2), true).forEach((function(e3) {
Object(o["a"])(t2, e3, a2[e3]);
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t2, Object.getOwnPropertyDescriptors(a2)) : s(Object(a2)).forEach((function(e3) {
Object.defineProperty(t2, e3, Object.getOwnPropertyDescriptor(a2, e3));
}));
}
return t2;
}
var u = { name: "lineCharts", props: { data: { type: Array, default: function() {
return [];
} }, showX: { type: Boolean, default: true }, showY: { type: Boolean, default: true }, showYLabel: { type: Boolean, default: true }, xAxis: { type: Array, default: function() {
return [];
} }, title: { type: String, default: "" }, unit: { type: String, default: "" }, xTimeUnit: { type: String, default: "" }, unShowLegend: { type: Boolean, default: false }, xaxisLabelI: { type: Number, default: 0 }, colors: { type: Array, default: function() {
return ["#5A8DEE", "#FDAC41"];
} }, lineSmooth: { type: Boolean, default: false }, needRate: { type: Boolean, default: false }, owe: { type: Boolean, default: false }, weekList: { type: Array }, weekStart: { type: Array }, monthList: { type: Array }, markline: { type: Boolean, default: false }, marklistLength: { type: Number, default: -1 }, marklineValue: { type: Number, default: 0 }, showInteger: { type: Boolean, default: false } }, data: function() {
return {};
}, watch: { data: { handler: function(t2, e2) {
this.initLineCharts();
}, deep: true } }, mounted: function() {
var t2 = this;
this.$nextTick((function() {
t2.initLineCharts();
}));
}, methods: { formatterTip: function(t2) {
var e2 = t2;
this.needRate && e2.length > 1 && e2.push(c(c({}, e2[0]), {}, { name: "达成率", seriesName: "达成率", data: Number(e2[1].value / e2[0].value).toFixed(2) && "Infinity" !== Number(e2[1].value / e2[0].value).toFixed(2) && "NaN" !== Number(e2[1].value / e2[0].value).toFixed(2) ? (100 * Number(e2[1].value / e2[0].value)).toFixed(2) : "-", value: Number(e2[1].value / e2[0].value).toFixed(2) && "Infinity" !== Number(e2[1].value / e2[0].value).toFixed(2) && "NaN" !== Number(e2[1].value / e2[0].value).toFixed(2) ? (100 * Number(e2[1].value / e2[0].value)).toFixed(2) : "-" }));
for (var a2 = "".concat(e2[0].name, " ").concat(this.title, "<br/>"), i2 = 0; i2 < e2.length; i2++) {
var n2 = e2[i2].marker;
n2 = n2.replace("width:10px", "width:5px").replace("height:10px", "height:5px"), this.owe ? this.weekList[e2[i2].dataIndex] ? a2 = this.weekList[e2[i2].dataIndex] + "<br/>" + this.weekStart[e2[i2].dataIndex] + "<br/>" + e2[i2].value + this.unit : this.monthList[e2[i2].dataIndex] && (a2 = this.monthList[e2[i2].dataIndex] + "/" + e2[i2].value + this.unit + "<br/>") : a2 = a2 + n2 + e2[i2].seriesName + ": " + e2[i2].value + (this.needRate && 2 === i2 ? "%" : this.unit) + "<br/>";
}
return this.markline ? a2 + "日预算线:" + this.marklineValue || "0<br/>" : a2;
}, initLineCharts: function() {
var t2 = this, e2 = this.$echarts.init(this.$refs.lineCharts), a2 = this, i2 = [];
this.data.length > 0 ? this.markline ? this.data.map((function(e3, a3) {
a3 == t2.marklistLength ? i2.push({ name: e3.name || "", type: "line", data: e3.data, showSymbol: false, smooth: t2.lineSmooth, markLine: { data: [{ yAxis: t2.marklineValue }], lineStyle: { color: "#fd0100" }, silent: true, label: { position: "middle" } } }) : i2.push({ name: e3.name || "", type: "line", data: e3.data, showSymbol: false, smooth: t2.lineSmooth });
})) : this.data.map((function(e3) {
i2.push({ name: e3.name || "", type: "line", data: e3.data, showSymbol: false, smooth: t2.lineSmooth });
})) : i2 = [];
var n2 = { tooltip: { trigger: "axis", axisPointer: { type: "line" }, backgroundColor: "rgba(26, 35, 58, 1)", borderColor: "rgba(26, 35, 58, 1)", textStyle: { color: "#fff" }, extraCssText: "box-shadow:inset 0px 0px 7px 1px rgba(82, 92, 123, 1)", formatter: function(e3) {
return t2.formatterTip(e3);
} }, legend: { show: !this.unShowLegend, orient: "horizontal", align: "auto", top: "2%", textStyle: { color: "#fff", fontSize: this.$fontSize(12) }, selected: { "年初": false, "此刻": false, "本月回款": true }, left: "center", icon: "rect", itemWidth: 15, itemHeight: 3, itemGap: 25 }, color: this.colors, grid: { left: "4%", top: "40px", right: "4%", bottom: "2%", containLabel: true }, xAxis: [{ type: "category", data: this.xAxis, show: this.showX, axisLine: { show: this.showX, lineStyle: { color: "rgba(255,255,255,.1)", width: 1, type: "solid" } }, boundaryGap: true, axisTick: { show: true, inside: true, alignWithLabel: true, lineStyleObject: { color: "#fff" } }, axisLabel: { interval: this.xaxisLabelI, show: true, splitNumber: 4, textStyle: { color: "rgba(255,255,255)", fontSize: this.$fontSize(12) }, formatter: function(e3) {
if (t2.xTimeUnit) {
var a3 = Object(l["formatDate"])(e3, t2.xTimeUnit);
return a3;
}
return e3;
} } }], yAxis: [{ type: "value", show: this.showY, nameTextStyle: { align: "center", color: "rgba(254, 254, 254, 0.3)", fontSize: this.$fontSize(12) }, triggerEvent: true, axisLabel: { show: true, textStyle: { color: "#fff", fontSize: this.$fontSize(12) }, formatter: function(t3) {
return a2.showInteger ? t3 % 1 === 0 ? t3 : "" : t3;
} }, axisTick: { show: false }, axisLine: { show: this.showYLabel, lineStyle: { color: "rgba(255, 255, 255, 0.3)", width: 1, type: "solid" } }, splitLine: { lineStyle: { color: "rgba(255, 255, 255, 0.1)", type: "dashed" } } }], series: i2 };
this.data[0].data && this.markline && this.marklineValue > Math.max.apply(Math, Object(r["a"])(this.data[0].data)) && this.marklineValue > Math.max.apply(Math, Object(r["a"])(this.data[1].data)) && this.marklineValue > Math.max.apply(Math, Object(r["a"])(this.data[0].data)) && (n2.yAxis[0].max = this.marklineValue), e2.clear(), e2.setOption(n2, true), e2.on("click", (function(t3) {
a2.$emit("chartClick", t3);
})), window.addEventListener("resize", (function() {
e2.resize();
}));
} } }, h = u, p = (a("1f7e"), a("829d")), d = Object(p["a"])(h, i, n, false, null, "50200d07", null);
e["a"] = d.exports;
}, "93fb": function(t, e, a) {
"use strict";
var i = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { ref: "pieCharts", staticClass: "pieCharts", attrs: { id: "pieCharts" } });
}, n = [], r = (a("a450"), a("8dee"), a("e680"), a("0b37")), o = { name: "pie", props: { pieData: { type: Array, default: function() {
return [];
} }, title: { type: String, default: function() {
return "";
} }, unit: { type: String, default: function() {
return "";
} }, unShowLegend: { type: Boolean, default: false }, center: { default: function() {
return ["50%", "50%"];
} }, type: { type: Number, default: function() {
return 0;
} } }, data: function() {
return {};
}, watch: { pieData: { handler: function(t2, e2) {
this.initPie();
}, deep: true } }, mounted: function() {
this.initPie();
}, methods: { formatterTip: function(t2) {
var e2 = "", a2 = t2.marker;
return a2 = a2.replace("width:10px", "width:5px").replace("height:10px", "height:5px"), e2 = "".concat(t2.seriesName, "<br/>").concat(a2).concat(t2.name, " : ").concat(Object(r["f"])(t2.value), " ").concat(this.unit ? this.unit : "", " (").concat(t2.percent, "%)"), e2;
}, initPie: function() {
var t2 = this, e2 = this.$echarts.init(this.$refs.pieCharts), a2 = this, i2 = { tooltip: { trigger: "item", axisPointer: { type: "line" }, backgroundColor: "rgba(26, 35, 58, 1)", borderColor: "rgba(26, 35, 58, 1)", textStyle: { color: "#fff" }, extraCssText: "box-shadow:inset 0px 0px 7px 1px rgba(82, 92, 123, 1)", formatter: function(e3) {
return t2.formatterTip(e3);
} }, legend: { orient: "vertical", selectedMode: true, show: !this.unShowLegend, icon: "rect", botom: 0, left: "left", textStyle: { color: "#fff", fontSize: this.$fontSize(13), padding: [0, 0, 0, 5] }, itemWidth: 8, itemHeight: 8, formatter: function(t3) {
return "".concat(t3);
} }, grid: { left: "4%", top: "10px", right: "4%", bottom: 0, containLabel: true }, series: [{ name: this.title, type: "pie", radius: this.unShowLegend ? ["0", "85%"] : ["0", "70%"], center: this.center, data: this.pieData, label: { show: true, position: "inside", formatter: function(t3) {
return 100 === t3.percent ? "".concat(t3.percent, "%") : 0 === t3.percent ? "" : Object(r["e"])(t3.percent, 2) + "%";
} }, labelLine: { show: false } }] };
1 == this.type ? i2.color = ["#ff0000", "#f59a23", "#ffd700", "blue"] : 2 == this.type && (i2.color = ["#24d467", "#ed001e", "grey", "blue"]), e2.clear(), e2.setOption(i2, true), e2.on("click", (function(t3) {
a2.$emit("pieClick", t3);
})), window.addEventListener("resize", (function() {
e2.resize();
}));
} } }, l = o, s = (a("1f61"), a("829d")), c = Object(s["a"])(l, i, n, false, null, "4ec396be", null);
e["a"] = c.exports;
}, c4f1: function(t, e, a) {
"use strict";
a("5d17");
}, c6d9: function(t, e, a) {
"use strict";
var i = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { ref: "pieCharts", staticClass: "pieCharts", attrs: { id: "pieCharts" } });
}, n = [], r = a("0b37"), o = (a("2c23"), { name: "liquidfillCharts", props: ["value"], data: function() {
return {};
}, watch: { value: { handler: function(t2, e2) {
this.initPie();
}, deep: true } }, mounted: function() {
this.initPie();
}, methods: { initPie: function() {
var t2 = this.$echarts.init(this.$refs.pieCharts), e2 = 0;
e2 = this.value <= 59 ? 0 : this.value <= 79 ? 1 : this.value <= 99 ? 2 : 3;
var a2 = ["rgba(250,63,67,1)", "rgba(246,119,49,1)", "rgba(19,160,244)", "rgba(97,228,151)"], i2 = [[Object(r["b"])(this.value, 100)], [Object(r["b"])(this.value, 100), 0.7, , 0.6], [Object(r["b"])(this.value, 100), 0.8, 0.7], [1]], n2 = [["rgba(250,63,67,1)"], [{ type: "linear", x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 1, color: "rgba(246,119,49,1)" }, { offset: 0, color: "rgba(233,189,40,0.6)" }], globalCoord: false }], [{ type: "linear", x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 1, color: "rgba(66,228,237)" }, { offset: 0, color: "rgba(19,160,244)" }], globalCoord: false }], [{ type: "linear", x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 1, color: "rgba(20,213,234)" }, { offset: 0, color: "rgba(97,228,151)" }], globalCoord: false }]], o2 = { title: [{ text: this.value, left: "46%", top: "38%", textAlign: "center", textStyle: { fontSize: 20, fontWeight: "normal", color: "#fff" } }], grid: { left: "4%", top: "10px", right: "4%", bottom: "10%", containLabel: true }, series: [{ type: "liquidFill", radius: "85%", amplitude: 3 === e2 ? 0 : "8%", data: i2[e2], color: n2[e2], animationDuration: 3e3, animationDurationUpdate: 1500, backgroundStyle: { opacity: 0 }, outline: { show: true, borderDistance: 4, itemStyle: { color: "none", borderColor: a2[e2], borderWidth: 2, shadowBlur: 0, shadowColor: "rgba(0, 0, 0, 0.25)" } }, label: { show: false, formatter: "", color: "#ffffff", textStyle: { fontWeight: "normal", fontSize: 13 } }, itemStyle: { opacity: 1 }, emphasis: { itemStyle: { opacity: 0.9 } } }] };
t2.clear(), t2.setOption(o2), window.addEventListener("resize", (function() {
t2.resize();
}));
} } }), l = o, s = (a("c4f1"), a("829d")), c = Object(s["a"])(l, i, n, false, null, "947008b2", null);
e["a"] = c.exports;
}, c847: function(t, e, a) {
"use strict";
var i = function() {
var t2 = this, e2 = t2.$createElement, a2 = t2._self._c || e2;
return a2("div", { ref: "pieCharts", staticClass: "pieCharts", attrs: { id: "pieCharts" } });
}, n = [], r = (a("e680"), a("0b37")), o = { name: "gauge", props: { pieData: { type: Array, default: function() {
return [];
} }, title: { type: String, default: "" }, type: { type: Number, default: 0 }, styleIsMini: { type: Boolean, default: false }, showValue: { type: Number } }, data: function() {
return { placeHolderStyle: { normal: { label: { show: false }, labelLine: { show: false }, color: "rgba(0,0,0,0)", borderWidth: 0 }, emphasis: { color: "rgba(0,0,0,0)", borderWidth: 0 } }, vdataStyle: { formatter: "{c}%", position: "center", show: true, textStyle: { fontSize: "24", fontWeight: "normal", color: "rgba(1, 209, 255, 1)" } }, radius: ["80%", "90%"], center: ["50%", "50%"] };
}, watch: { pieData: { handler: function(t2, e2) {
this.initPie();
}, deep: true } }, mounted: function() {
this.initPie();
}, methods: { initPie: function() {
var t2 = this.$echarts.init(this.$refs.pieCharts), e2 = 0, a2 = this;
this.pieData.map((function(t3) {
e2 += t3.value;
}));
var i2 = 100, n2 = 0;
0 === this.type ? n2 = this.pieData.length > 0 ? "0" === this.pieData[0].value || "0" === this.pieData[1].value || 0 === this.pieData[1].value || 0 === this.pieData[0].value ? 0 : Object(r["e"])(Object(r["c"])(Object(r["b"])(this.pieData[0].value, this.pieData[1].value), 100), 2) : 0 : 1 === this.type ? n2 = this.pieData.length > 0 ? 0 === this.pieData[1].value || 0 === this.pieData[0].value ? 0 : Object(r["e"])(Object(r["c"])(Object(r["b"])(this.pieData[1].value, this.pieData[0].value), 100), 2) : 0 : 2 === this.type ? n2 = 0 : 3 === this.type ? n2 = this.pieData.length > 0 ? 0 === this.pieData[0].value ? 0 : Object(r["e"])(Object(r["c"])(Object(r["b"])(this.pieData[0].value, e2), 100), 2) : 0 : 4 === this.type ? n2 = this.pieData.length > 0 ? 0 === this.pieData[1].value ? 0 : Object(r["e"])(Object(r["c"])(Object(r["b"])(this.pieData[1].value, e2), 100), 2) : 0 : 5 === this.type ? n2 = this.showValue : 6 === this.type && (n2 = this.pieData.length > 0 ? "0" === this.pieData[2].value || "0" === this.pieData[0].value || 0 === this.pieData[2].value || 0 === this.pieData[0].value ? 0 : Object(r["e"])(Object(r["c"])(Object(r["b"])(this.pieData[2].value, this.pieData[0].value), 100), 2) : 0), n2 >= 100 && (n2 = parseInt(n2));
var o2 = { graphic: { elements: [{ type: "text", left: "center", top: "55%", style: { text: this.title, font: this.styleIsMini ? "12px Arial" : "14px Arial", fill: "rgba(255, 255, 255, 1)", textAlign: "center" }, onclick: function(t3) {
a2.$emit("titleClick", a2.pieData);
} }] }, angleAxis: { show: false, max: 360 * i2 / 270, type: "value", startAngle: 225, splitLine: { show: false } }, grid: { left: "4%", top: "10px", right: "4%", bottom: "10%", containLabel: true }, barMaxWidth: this.styleIsMini ? 4 : 8, radiusAxis: { show: false, type: "category" }, polar: { center: ["50%", "50%"], radius: "160%" }, series: [{ type: "bar", data: [{ value: n2, itemStyle: { color: { type: "linear", x: 0, y: 1, x2: 0, y2: 0, colorStops: [{ offset: 0, color: "#0099FF" }, { offset: 1, color: "#9658FF" }], global: false } } }], barGap: "-100%", coordinateSystem: "polar", roundCap: true, z: 3 }, { type: "bar", data: [{ value: i2, itemStyle: { color: "#1598FF", opacity: 0.2, borderWidth: 0 } }], barGap: "-100%", coordinateSystem: "polar", roundCap: true, z: 1 }, { type: "gauge", startAngle: 225, endAngle: -45, axisLine: { show: false }, splitLine: { show: false }, axisTick: { show: false }, axisLabel: { show: false }, splitLabel: { show: false }, pointer: { show: false }, itemStyle: { color: { type: "linear", x: 0, y: 1, x2: 0, y2: 0, colorStops: [{ offset: 0, color: "#0099FF" }, { offset: 1, color: "#9658FF" }], global: false } }, detail: { formatter: function(t3) {
return n2 + "%";
}, color: "#01D1FF", fontSize: this.styleIsMini ? 12 : 20, fontWeight: "normal", offsetCenter: this.styleIsMini ? [2, -3] : [5, -4] }, title: { show: true }, data: [{ value: n2 }] }] };
t2.clear(), t2.setOption(o2), window.addEventListener("resize", (function() {
t2.resize();
}));
} } }, l = o, s = (a("7336"), a("829d")), c = Object(s["a"])(l, i, n, false, null, "b957b2fe", null);
e["a"] = c.exports;
}, cc0c: function(t, e, a) {
var i = a("43a0");
function n(t2, e2, a2, i2) {
return 0 === e2 ? [[t2 + 0.5 * a2 / Math.PI / 2, i2 / 2], [t2 + 0.5 * a2 / Math.PI, i2], [t2 + a2 / 4, i2]] : 1 === e2 ? [[t2 + 0.5 * a2 / Math.PI / 2 * (Math.PI - 2), i2], [t2 + 0.5 * a2 / Math.PI / 2 * (Math.PI - 1), i2 / 2], [t2 + a2 / 4, 0]] : 2 === e2 ? [[t2 + 0.5 * a2 / Math.PI / 2, -i2 / 2], [t2 + 0.5 * a2 / Math.PI, -i2], [t2 + a2 / 4, -i2]] : [[t2 + 0.5 * a2 / Math.PI / 2 * (Math.PI - 2), -i2], [t2 + 0.5 * a2 / Math.PI / 2 * (Math.PI - 1), -i2 / 2], [t2 + a2 / 4, 0]];
}
t.exports = i.graphic.extendShape({ type: "ec-liquid-fill", shape: { waveLength: 0, radius: 0, radiusY: 0, cx: 0, cy: 0, waterLevel: 0, amplitude: 0, phase: 0, inverse: false }, buildPath: function(t2, e2) {
null == e2.radiusY && (e2.radiusY = e2.radius);
var a2 = Math.max(2 * Math.ceil(2 * e2.radius / e2.waveLength * 4), 8);
while (e2.phase < 2 * -Math.PI) e2.phase += 2 * Math.PI;
while (e2.phase > 0) e2.phase -= 2 * Math.PI;
var i2 = e2.phase / Math.PI / 2 * e2.waveLength, r = e2.cx - e2.radius + i2 - 2 * e2.radius;
t2.moveTo(r, e2.waterLevel);
for (var o = 0, l = 0; l < a2; ++l) {
var s = l % 4, c = n(l * e2.waveLength / 4, s, e2.waveLength, e2.amplitude);
t2.bezierCurveTo(c[0][0] + r, -c[0][1] + e2.waterLevel, c[1][0] + r, -c[1][1] + e2.waterLevel, c[2][0] + r, -c[2][1] + e2.waterLevel), l === a2 - 1 && (o = c[2][0]);
}
e2.inverse ? (t2.lineTo(o + r, e2.cy - e2.radiusY), t2.lineTo(r, e2.cy - e2.radiusY), t2.lineTo(r, e2.waterLevel)) : (t2.lineTo(o + r, e2.cy + e2.radiusY), t2.lineTo(r, e2.cy + e2.radiusY), t2.lineTo(r, e2.waterLevel)), t2.closePath();
} });
}, d961: function(t, e, a) {
}, ed54: function(t, e, a) {
}, f08e: function(t, e, a) {
} }]);