@ecan-bi/datav 1.1.57 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +537 -521
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +3 -2
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +28 -0
- package/types/graph/combo-graph/index.d.ts +28 -0
- package/types/graph/combo-graph/props.d.ts +15 -0
- package/types/graph/scatter/Scatter.vue.d.ts +36 -0
- package/types/graph/scatter/index.d.ts +37 -1
- package/types/graph/scatter/props.d.ts +20 -0
package/dist/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
2
|
-
import { watch as ne, inject as N, computed as q, unref as C, watchEffect as cn, defineComponent as Q, shallowRef as bt, toRefs as
|
|
1
|
+
/*! @ecan-bi/datav@1.1.58 */
|
|
2
|
+
import { watch as ne, inject as N, computed as q, unref as C, watchEffect as cn, defineComponent as Q, shallowRef as bt, toRefs as Oo, onMounted as Ne, onUnmounted as ut, h as st, nextTick as ft, createVNode as U, resolveComponent as Z, openBlock as E, createElementBlock as $, createBlock as Fe, renderSlot as mt, withCtx as Y, ref as M, normalizeStyle as G, createCommentVNode as ve, provide as Re, onBeforeUnmount as Tt, toDisplayString as ye, Fragment as Ie, renderList as Ee, createElementVNode as ee, normalizeClass as Lt, pushScopeId as dn, popScopeId as un, createSlots as Fo, resolveDynamicComponent as Ro, mergeProps as Do, withModifiers as fn, reactive as $o, createTextVNode as Et, withDirectives as zo, vShow as No } from "vue";
|
|
3
3
|
import { throttle as Po, init as Bo, use as Be, registerMap as Go } from "echarts/core";
|
|
4
4
|
import { addListener as Uo, removeListener as qo } from "resize-detector";
|
|
5
|
-
import { Spin as
|
|
5
|
+
import { Spin as Wo, Skeleton as jo, message as Ze, Progress as Vo, Input as mn, DatePicker as Ho, Select as Zo, RangePicker as Jo, Button as gn, CheckboxGroup as hn, Modal as xe, Table as Yo, TableSummary as Qo, TableSummaryRow as Ko, TableSummaryCell as Xo } from "ant-design-vue";
|
|
6
6
|
import "ant-design-vue/es/spin/style";
|
|
7
7
|
import "ant-design-vue/es/skeleton/style";
|
|
8
|
-
import { without as ea, pick as ta, debounce as
|
|
8
|
+
import { without as ea, pick as ta, debounce as Ot, cloneDeep as vt } from "lodash-es";
|
|
9
9
|
import yn from "axios";
|
|
10
10
|
import Ce from "dayjs";
|
|
11
11
|
import na from "mitt";
|
|
@@ -18,7 +18,7 @@ import "ant-design-vue/es/button/style";
|
|
|
18
18
|
import "ant-design-vue/es/checkbox/style";
|
|
19
19
|
import { CanvasRenderer as Ge } from "echarts/renderers";
|
|
20
20
|
import { PieChart as oa, LineChart as vn, BarChart as pn, ScatterChart as Cn, MapChart as aa } from "echarts/charts";
|
|
21
|
-
import { TitleComponent as Ke, ToolboxComponent as Xe, TooltipComponent as
|
|
21
|
+
import { TitleComponent as Ke, ToolboxComponent as Xe, TooltipComponent as Ft, LegendComponent as et, DatasetComponent as Sn, VisualMapComponent as la, GraphicComponent as ia } from "echarts/components";
|
|
22
22
|
import * as ra from "echarts";
|
|
23
23
|
import "ant-design-vue/es/modal/style";
|
|
24
24
|
import "ant-design-vue/es/table/style";
|
|
@@ -91,7 +91,7 @@ function Ca(e) {
|
|
|
91
91
|
pa(t) || (n[t] = e[t]);
|
|
92
92
|
return n;
|
|
93
93
|
}
|
|
94
|
-
const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions",
|
|
94
|
+
const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", xa = "ecUpdateOptions", ze = Q({
|
|
95
95
|
name: "echarts",
|
|
96
96
|
props: {
|
|
97
97
|
option: Object,
|
|
@@ -112,16 +112,16 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
112
112
|
ka,
|
|
113
113
|
null
|
|
114
114
|
), l = N(
|
|
115
|
-
|
|
115
|
+
xa,
|
|
116
116
|
null
|
|
117
|
-
), { autoresize: d, manualUpdate: c, loading: h, loadingOptions: g } =
|
|
117
|
+
), { autoresize: d, manualUpdate: c, loading: h, loadingOptions: g } = Oo(e), u = q(
|
|
118
118
|
() => r.value || e.option || /* @__PURE__ */ Object.create(null)
|
|
119
119
|
), m = q(() => e.theme || C(s) || {}), b = q(
|
|
120
120
|
() => e.initOptions || C(i) || {}
|
|
121
121
|
), v = q(
|
|
122
122
|
() => e.updateOptions || C(l) || {}
|
|
123
123
|
), y = q(() => Ca(n));
|
|
124
|
-
function
|
|
124
|
+
function x(S) {
|
|
125
125
|
if (a.value || !o.value)
|
|
126
126
|
return;
|
|
127
127
|
const f = a.value = Bo(
|
|
@@ -132,11 +132,11 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
132
132
|
e.group && (f.group = e.group);
|
|
133
133
|
let p = t;
|
|
134
134
|
p || (p = {}, Object.keys(n).filter((w) => w.indexOf("on") === 0 && w.length > 2).forEach((w) => {
|
|
135
|
-
const
|
|
136
|
-
p[
|
|
135
|
+
const _ = w.charAt(2).toLowerCase() + w.slice(3);
|
|
136
|
+
p[_] = n[w];
|
|
137
137
|
})), Object.keys(p).forEach((w) => {
|
|
138
|
-
const
|
|
139
|
-
|
|
138
|
+
const _ = p[w];
|
|
139
|
+
_ && (w.indexOf("zr:") === 0 ? f.getZr().on(w.slice(3).toLowerCase(), _) : f.on(w.toLowerCase(), _));
|
|
140
140
|
});
|
|
141
141
|
function T() {
|
|
142
142
|
if (f && !f.isDisposed())
|
|
@@ -155,10 +155,10 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
155
155
|
T(), R();
|
|
156
156
|
}) : R();
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
e.manualUpdate && (r.value = S), a.value ? a.value.setOption(S, f || {}) :
|
|
158
|
+
function A(S, f) {
|
|
159
|
+
e.manualUpdate && (r.value = S), a.value ? a.value.setOption(S, f || {}) : x(S);
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function F() {
|
|
162
162
|
a.value && (a.value.dispose(), a.value = void 0);
|
|
163
163
|
}
|
|
164
164
|
let k = null;
|
|
@@ -168,7 +168,7 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
168
168
|
typeof k == "function" && (k(), k = null), S || (k = ne(
|
|
169
169
|
() => e.option,
|
|
170
170
|
(f) => {
|
|
171
|
-
f && (a.value ? a.value.setOption(f, v.value) :
|
|
171
|
+
f && (a.value ? a.value.setOption(f, v.value) : x());
|
|
172
172
|
},
|
|
173
173
|
{ deep: !0 }
|
|
174
174
|
));
|
|
@@ -179,7 +179,7 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
179
179
|
), ne(
|
|
180
180
|
[m, b],
|
|
181
181
|
() => {
|
|
182
|
-
|
|
182
|
+
F(), x();
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
deep: !0
|
|
@@ -187,15 +187,15 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
187
187
|
), cn(() => {
|
|
188
188
|
e.group && a.value && (a.value.group = e.group);
|
|
189
189
|
});
|
|
190
|
-
const
|
|
190
|
+
const L = fa(a, x);
|
|
191
191
|
return ya(a, h, g), ma(a, d, o), Ne(() => {
|
|
192
|
-
e.option &&
|
|
193
|
-
}), ut(
|
|
192
|
+
e.option && x();
|
|
193
|
+
}), ut(F), {
|
|
194
194
|
chart: a,
|
|
195
195
|
root: o,
|
|
196
|
-
setOption:
|
|
196
|
+
setOption: A,
|
|
197
197
|
nonEventAttrs: y,
|
|
198
|
-
...
|
|
198
|
+
...L
|
|
199
199
|
};
|
|
200
200
|
},
|
|
201
201
|
render() {
|
|
@@ -204,17 +204,17 @@ const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", Aa = "ecUpdate
|
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
206
|
function we(e, n) {
|
|
207
|
-
|
|
207
|
+
Aa(e) && (e = "100%");
|
|
208
208
|
var t = Ta(e);
|
|
209
209
|
return e = n === 360 ? e : Math.min(n, Math.max(0, parseFloat(e))), t && (e = parseInt(String(e * n), 10) / 100), Math.abs(e - n) < 1e-6 ? 1 : (n === 360 ? e = (e < 0 ? e % n + n : e % n) / parseFloat(String(n)) : e = e % n / parseFloat(String(n)), e);
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Aa(e) {
|
|
212
212
|
return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
|
|
213
213
|
}
|
|
214
214
|
function Ta(e) {
|
|
215
215
|
return typeof e == "string" && e.indexOf("%") !== -1;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function La(e) {
|
|
218
218
|
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
|
|
219
219
|
}
|
|
220
220
|
function at(e) {
|
|
@@ -223,7 +223,7 @@ function at(e) {
|
|
|
223
223
|
function pt(e) {
|
|
224
224
|
return e.length === 1 ? "0" + e : String(e);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function _a(e, n, t) {
|
|
227
227
|
return {
|
|
228
228
|
r: we(e, 255) * 255,
|
|
229
229
|
g: we(n, 255) * 255,
|
|
@@ -269,7 +269,7 @@ function Ea(e, n, t) {
|
|
|
269
269
|
var o = Math.floor(e), a = e - o, r = t * (1 - n), s = t * (1 - a * n), i = t * (1 - (1 - a) * n), l = o % 6, d = [t, s, r, r, i, t][l], c = [i, t, t, s, r, r][l], h = [r, r, i, t, t, s][l];
|
|
270
270
|
return { r: d * 255, g: c * 255, b: h * 255 };
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Oa(e, n, t, o) {
|
|
273
273
|
var a = [
|
|
274
274
|
pt(Math.round(e).toString(16)),
|
|
275
275
|
pt(Math.round(n).toString(16)),
|
|
@@ -435,7 +435,7 @@ var Gt = {
|
|
|
435
435
|
};
|
|
436
436
|
function Ve(e) {
|
|
437
437
|
var n = { r: 0, g: 0, b: 0 }, t = 1, o = null, a = null, r = null, s = !1, i = !1;
|
|
438
|
-
return typeof e == "string" && (e = Da(e)), typeof e == "object" && (
|
|
438
|
+
return typeof e == "string" && (e = Da(e)), typeof e == "object" && (_e(e.r) && _e(e.g) && _e(e.b) ? (n = _a(e.r, e.g, e.b), s = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : _e(e.h) && _e(e.s) && _e(e.v) ? (o = at(e.s), a = at(e.v), n = Ea(e.h, o, a), s = !0, i = "hsv") : _e(e.h) && _e(e.s) && _e(e.l) && (o = at(e.s), r = at(e.l), n = Ia(e.h, o, r), s = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = La(t), {
|
|
439
439
|
ok: s,
|
|
440
440
|
format: e.format || i,
|
|
441
441
|
r: Math.min(255, Math.max(n.r, 0)),
|
|
@@ -444,8 +444,8 @@ function Ve(e) {
|
|
|
444
444
|
a: t
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
var
|
|
448
|
-
CSS_UNIT: new RegExp(
|
|
447
|
+
var Fa = "[-\\+]?\\d+%?", Ra = "[-\\+]?\\d*\\.\\d+%?", Oe = "(?:".concat(Ra, ")|(?:").concat(Fa, ")"), St = "[\\s|\\(]+(".concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")\\s*\\)?"), wt = "[\\s|\\(]+(".concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")[,|\\s]+(").concat(Oe, ")\\s*\\)?"), ke = {
|
|
448
|
+
CSS_UNIT: new RegExp(Oe),
|
|
449
449
|
rgb: new RegExp("rgb" + St),
|
|
450
450
|
rgba: new RegExp("rgba" + wt),
|
|
451
451
|
hsl: new RegExp("hsl" + St),
|
|
@@ -490,7 +490,7 @@ function Da(e) {
|
|
|
490
490
|
format: n ? "name" : "hex"
|
|
491
491
|
} : !1)))))))));
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function _e(e) {
|
|
494
494
|
return Boolean(ke.CSS_UNIT.exec(String(e)));
|
|
495
495
|
}
|
|
496
496
|
var lt = 2, Ut = 0.16, $a = 0.05, za = 0.05, Na = 0.15, wn = 5, kn = 4, Pa = [{
|
|
@@ -534,7 +534,7 @@ function qt(e) {
|
|
|
534
534
|
}
|
|
535
535
|
function it(e) {
|
|
536
536
|
var n = e.r, t = e.g, o = e.b;
|
|
537
|
-
return "#".concat(
|
|
537
|
+
return "#".concat(Oa(n, t, o, !1));
|
|
538
538
|
}
|
|
539
539
|
function Ba(e, n, t) {
|
|
540
540
|
var o = t / 100, a = {
|
|
@@ -544,11 +544,11 @@ function Ba(e, n, t) {
|
|
|
544
544
|
};
|
|
545
545
|
return a;
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function Wt(e, n, t) {
|
|
548
548
|
var o;
|
|
549
549
|
return Math.round(e.h) >= 60 && Math.round(e.h) <= 240 ? o = t ? Math.round(e.h) - lt * n : Math.round(e.h) + lt * n : o = t ? Math.round(e.h) + lt * n : Math.round(e.h) - lt * n, o < 0 ? o += 360 : o >= 360 && (o -= 360), o;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function jt(e, n, t) {
|
|
552
552
|
if (e.h === 0 && e.s === 0)
|
|
553
553
|
return e.s;
|
|
554
554
|
var o;
|
|
@@ -558,11 +558,11 @@ function Vt(e, n, t) {
|
|
|
558
558
|
var o;
|
|
559
559
|
return t ? o = e.v + za * n : o = e.v - Na * n, o > 1 && (o = 1), Number(o.toFixed(2));
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function _t(e) {
|
|
562
562
|
for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], o = Ve(e), a = wn; a > 0; a -= 1) {
|
|
563
563
|
var r = qt(o), s = it(Ve({
|
|
564
|
-
h:
|
|
565
|
-
s:
|
|
564
|
+
h: Wt(r, a, !0),
|
|
565
|
+
s: jt(r, a, !0),
|
|
566
566
|
v: Vt(r, a, !0)
|
|
567
567
|
}));
|
|
568
568
|
t.push(s);
|
|
@@ -570,8 +570,8 @@ function Lt(e) {
|
|
|
570
570
|
t.push(it(o));
|
|
571
571
|
for (var i = 1; i <= kn; i += 1) {
|
|
572
572
|
var l = qt(o), d = it(Ve({
|
|
573
|
-
h:
|
|
574
|
-
s:
|
|
573
|
+
h: Wt(l, i),
|
|
574
|
+
s: jt(l, i),
|
|
575
575
|
v: Vt(l, i)
|
|
576
576
|
}));
|
|
577
577
|
t.push(d);
|
|
@@ -595,12 +595,12 @@ var kt = {
|
|
|
595
595
|
purple: "#722ED1",
|
|
596
596
|
magenta: "#EB2F96",
|
|
597
597
|
grey: "#666666"
|
|
598
|
-
},
|
|
598
|
+
}, xt = {}, At = {};
|
|
599
599
|
Object.keys(kt).forEach(function(e) {
|
|
600
|
-
|
|
600
|
+
xt[e] = _t(kt[e]), xt[e].primary = xt[e][5], At[e] = _t(kt[e], {
|
|
601
601
|
theme: "dark",
|
|
602
602
|
backgroundColor: "#141414"
|
|
603
|
-
}),
|
|
603
|
+
}), At[e].primary = At[e][5];
|
|
604
604
|
});
|
|
605
605
|
var Ht = [], He = [], Ga = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
|
|
606
606
|
function Ua() {
|
|
@@ -621,19 +621,19 @@ function Zt(e) {
|
|
|
621
621
|
typeof Object.getOwnPropertySymbols == "function" && (o = o.concat(Object.getOwnPropertySymbols(t).filter(function(a) {
|
|
622
622
|
return Object.getOwnPropertyDescriptor(t, a).enumerable;
|
|
623
623
|
}))), o.forEach(function(a) {
|
|
624
|
-
|
|
624
|
+
Wa(e, a, t[a]);
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
return e;
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Wa(e, n, t) {
|
|
630
630
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function ja(e, n) {
|
|
633
633
|
process.env.NODE_ENV !== "production" && !e && console !== void 0 && console.error("Warning: ".concat(n));
|
|
634
634
|
}
|
|
635
635
|
function Va(e, n) {
|
|
636
|
-
|
|
636
|
+
ja(e, "[@ant-design/icons-vue] ".concat(n));
|
|
637
637
|
}
|
|
638
638
|
function Jt(e) {
|
|
639
639
|
return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
|
|
@@ -649,10 +649,10 @@ function It(e, n, t) {
|
|
|
649
649
|
return It(o, "".concat(n, "-").concat(e.tag, "-").concat(a));
|
|
650
650
|
}));
|
|
651
651
|
}
|
|
652
|
-
function An(e) {
|
|
653
|
-
return Lt(e)[0];
|
|
654
|
-
}
|
|
655
652
|
function xn(e) {
|
|
653
|
+
return _t(e)[0];
|
|
654
|
+
}
|
|
655
|
+
function An(e) {
|
|
656
656
|
return e ? Array.isArray(e) ? e : [e] : [];
|
|
657
657
|
}
|
|
658
658
|
var Ha = `
|
|
@@ -757,7 +757,7 @@ var Ye = {
|
|
|
757
757
|
};
|
|
758
758
|
function Xa(e) {
|
|
759
759
|
var n = e.primaryColor, t = e.secondaryColor;
|
|
760
|
-
Ye.primaryColor = n, Ye.secondaryColor = t ||
|
|
760
|
+
Ye.primaryColor = n, Ye.secondaryColor = t || xn(n), Ye.calculated = !!t;
|
|
761
761
|
}
|
|
762
762
|
function el() {
|
|
763
763
|
return rt({}, Ye);
|
|
@@ -766,7 +766,7 @@ var Ue = function(n, t) {
|
|
|
766
766
|
var o = rt({}, n, t.attrs), a = o.icon, r = o.primaryColor, s = o.secondaryColor, i = Ya(o, Ja), l = Ye;
|
|
767
767
|
if (r && (l = {
|
|
768
768
|
primaryColor: r,
|
|
769
|
-
secondaryColor: s ||
|
|
769
|
+
secondaryColor: s || xn(r)
|
|
770
770
|
}), Za(), Va(Jt(a), "icon should be icon definiton, but got ".concat(a)), !Jt(a))
|
|
771
771
|
return null;
|
|
772
772
|
var d = a;
|
|
@@ -840,7 +840,7 @@ function ll(e) {
|
|
|
840
840
|
return e;
|
|
841
841
|
}
|
|
842
842
|
function Tn(e) {
|
|
843
|
-
var n =
|
|
843
|
+
var n = An(e), t = tl(n, 2), o = t[0], a = t[1];
|
|
844
844
|
return Rt.setTwoToneColors({
|
|
845
845
|
primaryColor: o,
|
|
846
846
|
secondaryColor: a
|
|
@@ -941,7 +941,7 @@ var qe = function(n, t) {
|
|
|
941
941
|
var v = l ? {
|
|
942
942
|
msTransform: "rotate(".concat(l, "deg)"),
|
|
943
943
|
transform: "rotate(".concat(l, "deg)")
|
|
944
|
-
} : void 0, y =
|
|
944
|
+
} : void 0, y = An(c), x = sl(y, 2), A = x[0], F = x[1];
|
|
945
945
|
return U("span", Xt({
|
|
946
946
|
role: "img",
|
|
947
947
|
"aria-label": s.name
|
|
@@ -951,8 +951,8 @@ var qe = function(n, t) {
|
|
|
951
951
|
}), [U(Rt, {
|
|
952
952
|
class: m,
|
|
953
953
|
icon: s,
|
|
954
|
-
primaryColor:
|
|
955
|
-
secondaryColor:
|
|
954
|
+
primaryColor: A,
|
|
955
|
+
secondaryColor: F,
|
|
956
956
|
style: v
|
|
957
957
|
}, null)]);
|
|
958
958
|
};
|
|
@@ -999,7 +999,7 @@ const pl = Dt, Cl = Q({
|
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
1001
1001
|
components: {
|
|
1002
|
-
ASpin:
|
|
1002
|
+
ASpin: Wo
|
|
1003
1003
|
},
|
|
1004
1004
|
setup() {
|
|
1005
1005
|
return {
|
|
@@ -1022,7 +1022,7 @@ const X = (e, n) => {
|
|
|
1022
1022
|
function wl(e, n, t, o, a, r) {
|
|
1023
1023
|
const s = Z("a-spin");
|
|
1024
1024
|
return E(), $("div", Sl, [
|
|
1025
|
-
e.spinning ? (E(),
|
|
1025
|
+
e.spinning ? (E(), Fe(s, {
|
|
1026
1026
|
key: 0,
|
|
1027
1027
|
class: "spin",
|
|
1028
1028
|
spinning: e.spinning,
|
|
@@ -1040,12 +1040,12 @@ const tt = /* @__PURE__ */ X(Cl, [["render", wl]]), kl = Q({
|
|
|
1040
1040
|
}
|
|
1041
1041
|
},
|
|
1042
1042
|
components: {
|
|
1043
|
-
ASkeleton:
|
|
1043
|
+
ASkeleton: jo
|
|
1044
1044
|
}
|
|
1045
1045
|
});
|
|
1046
|
-
function
|
|
1046
|
+
function xl(e, n, t, o, a, r) {
|
|
1047
1047
|
const s = Z("a-skeleton");
|
|
1048
|
-
return E(),
|
|
1048
|
+
return E(), Fe(s, {
|
|
1049
1049
|
active: "",
|
|
1050
1050
|
loading: e.loading
|
|
1051
1051
|
}, {
|
|
@@ -1055,7 +1055,7 @@ function Al(e, n, t, o, a, r) {
|
|
|
1055
1055
|
_: 3
|
|
1056
1056
|
}, 8, ["loading"]);
|
|
1057
1057
|
}
|
|
1058
|
-
const gt = /* @__PURE__ */ X(kl, [["render",
|
|
1058
|
+
const gt = /* @__PURE__ */ X(kl, [["render", xl]]);
|
|
1059
1059
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
1060
1060
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1061
1061
|
const oe = (e, n) => {
|
|
@@ -1100,7 +1100,7 @@ const oe = (e, n) => {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
}
|
|
1102
1102
|
return n;
|
|
1103
|
-
},
|
|
1103
|
+
}, Ln = {
|
|
1104
1104
|
width: "1920px",
|
|
1105
1105
|
height: "1080px",
|
|
1106
1106
|
backgroundColor: "#ffffff",
|
|
@@ -1108,7 +1108,7 @@ const oe = (e, n) => {
|
|
|
1108
1108
|
backgroundSize: "100% 100%",
|
|
1109
1109
|
contextRequestUrl: "",
|
|
1110
1110
|
mode: "normal"
|
|
1111
|
-
},
|
|
1111
|
+
}, _n = ae(Ln), Al = [
|
|
1112
1112
|
"width",
|
|
1113
1113
|
"height",
|
|
1114
1114
|
"color",
|
|
@@ -1136,7 +1136,7 @@ const oe = (e, n) => {
|
|
|
1136
1136
|
"alignItems",
|
|
1137
1137
|
"zIndex"
|
|
1138
1138
|
], ie = (e, n = []) => {
|
|
1139
|
-
const t = ea(
|
|
1139
|
+
const t = ea(Al, ...n);
|
|
1140
1140
|
return q(() => ta(e, t));
|
|
1141
1141
|
}, $t = "EVENT_BUS", ce = "GLOBAL_CONFIG", ue = "GLOBAL_MODEL", Se = "REQUEST_MODEL", In = "GLOBAL_TOKEN", Je = "REFRESH_PAGE", Mn = "MODAL_MODEL";
|
|
1142
1142
|
var an;
|
|
@@ -1231,11 +1231,11 @@ Te.interceptors.response.use((e) => {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
return Promise.reject(e);
|
|
1233
1233
|
});
|
|
1234
|
-
const
|
|
1234
|
+
const Ll = (e) => e.replace(/\\n/g, `
|
|
1235
1235
|
`), zt = (e, n = 2) => {
|
|
1236
1236
|
const t = parseFloat(e + "");
|
|
1237
1237
|
return isNaN(t) ? e : t.toFixed(n).replace(/(\d)(?=(\d{3})+\.)/g, "$1,");
|
|
1238
|
-
},
|
|
1238
|
+
}, _l = (e) => {
|
|
1239
1239
|
const n = parseFloat(e + "");
|
|
1240
1240
|
return isNaN(n) ? e : (n + "").replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
1241
1241
|
}, dt = (e, n = 2) => {
|
|
@@ -1277,7 +1277,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1277
1277
|
/\(.*\)/g.test(c) && (c = ht(c, t)), e = e.replace(d, c);
|
|
1278
1278
|
}
|
|
1279
1279
|
return o && (e = e == null ? void 0 : e.replace(/\n|\\n/g, "<br/>")), a && (e = e == null ? void 0 : e.replace(/\s{2,}?/g, " ")), e;
|
|
1280
|
-
},
|
|
1280
|
+
}, Ae = (e, n = () => {
|
|
1281
1281
|
}) => {
|
|
1282
1282
|
const {
|
|
1283
1283
|
requestUrl: t,
|
|
@@ -1300,45 +1300,45 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1300
1300
|
return;
|
|
1301
1301
|
let v = {};
|
|
1302
1302
|
r.forEach((k) => {
|
|
1303
|
-
const { key:
|
|
1303
|
+
const { key: L, value: S } = k;
|
|
1304
1304
|
if (typeof S == "object" && S != null && S.id) {
|
|
1305
1305
|
let f = {};
|
|
1306
1306
|
const { id: p, prop: T, propKey: R, operate: w } = S;
|
|
1307
1307
|
p === "THIS" ? f = h(C(c)) || {} : f = h(p) || {};
|
|
1308
|
-
const
|
|
1309
|
-
let
|
|
1310
|
-
if (["date", "range"].some((
|
|
1311
|
-
const { value:
|
|
1312
|
-
if (
|
|
1308
|
+
const _ = C(f[T]);
|
|
1309
|
+
let W = null;
|
|
1310
|
+
if (["date", "range"].some((O) => En(f == null ? void 0 : f.type, O))) {
|
|
1311
|
+
const { value: O, type: P, mode: z } = w || {};
|
|
1312
|
+
if (O && P && z)
|
|
1313
1313
|
switch (P) {
|
|
1314
1314
|
case "add":
|
|
1315
|
-
|
|
1315
|
+
W = C(_).add(O, z);
|
|
1316
1316
|
break;
|
|
1317
1317
|
case "minus":
|
|
1318
|
-
|
|
1318
|
+
W = C(_).subtract(O, z);
|
|
1319
1319
|
break;
|
|
1320
1320
|
}
|
|
1321
|
-
|
|
1321
|
+
W == null && (W = C(_)), W = (W == null ? void 0 : W.format((R == null ? void 0 : R.trim()) || f.format)) || "";
|
|
1322
1322
|
} else
|
|
1323
|
-
Object.prototype.toString.call(
|
|
1324
|
-
v[
|
|
1323
|
+
Object.prototype.toString.call(_) === "[object Object]" ? W = _[R || "value"] : W = _;
|
|
1324
|
+
v[L] = W;
|
|
1325
1325
|
} else
|
|
1326
|
-
typeof S == "string" && (v[
|
|
1326
|
+
typeof S == "string" && (v[L] = se(S));
|
|
1327
1327
|
}), v = { ...window.config.requestParams, ...b, ...v };
|
|
1328
1328
|
let y = "";
|
|
1329
|
-
const
|
|
1330
|
-
|
|
1331
|
-
|
|
1329
|
+
const x = Object.keys(v), A = x.length - 1, F = x.length;
|
|
1330
|
+
x.forEach((k, L) => {
|
|
1331
|
+
L === 0 ? F !== 1 ? y += `?${k}=${v[k]}&` : y += `?${k}=${v[k]}` : L === A ? y += `${k}=${v[k]}` : y += `${k}=${v[k]}&`;
|
|
1332
1332
|
});
|
|
1333
1333
|
try {
|
|
1334
|
-
const k = ["get", "head"].includes(o),
|
|
1334
|
+
const k = ["get", "head"].includes(o), L = await Te({
|
|
1335
1335
|
baseURL: C(l) || "",
|
|
1336
1336
|
url: k ? g + y : g,
|
|
1337
1337
|
method: o,
|
|
1338
1338
|
headers: a,
|
|
1339
1339
|
data: k ? {} : v
|
|
1340
1340
|
});
|
|
1341
|
-
return n(
|
|
1341
|
+
return n(L), L;
|
|
1342
1342
|
} catch (k) {
|
|
1343
1343
|
console.error(k);
|
|
1344
1344
|
}
|
|
@@ -1365,8 +1365,8 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1365
1365
|
for (let u = 0; u < i; u++) {
|
|
1366
1366
|
const m = o[u], { label: b, value: v } = m, y = { ...h, value: h[v] };
|
|
1367
1367
|
if (r.has(b)) {
|
|
1368
|
-
const
|
|
1369
|
-
|
|
1368
|
+
const x = r.get(b);
|
|
1369
|
+
x.push(y), r.set(b, x);
|
|
1370
1370
|
} else
|
|
1371
1371
|
r.set(b, [y]);
|
|
1372
1372
|
}
|
|
@@ -1387,7 +1387,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1387
1387
|
return e;
|
|
1388
1388
|
let t = "";
|
|
1389
1389
|
return e != null && e.includes("://") ? t = e : t = ((o = window == null ? void 0 : window.config) == null ? void 0 : o.uploadPath) + e, n && (t = `url(${t})`), t;
|
|
1390
|
-
},
|
|
1390
|
+
}, On = (e, n) => {
|
|
1391
1391
|
const t = `${tn}/preview?pageId=${n}`, o = `${tn}/${n}`;
|
|
1392
1392
|
return e === "preview" ? t : o;
|
|
1393
1393
|
}, Nt = (e) => {
|
|
@@ -1439,11 +1439,11 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1439
1439
|
fieldValue: "",
|
|
1440
1440
|
valueType: "",
|
|
1441
1441
|
variateName: b
|
|
1442
|
-
},
|
|
1443
|
-
if (u === "the_date" ? y.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(u) && (y.valueType = "TEXT"),
|
|
1444
|
-
y.dateFormat =
|
|
1445
|
-
const
|
|
1446
|
-
typeof
|
|
1442
|
+
}, x = n(v) || {};
|
|
1443
|
+
if (u === "the_date" ? y.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(u) && (y.valueType = "TEXT"), x.type === "ecanDatePicker") {
|
|
1444
|
+
y.dateFormat = x.format;
|
|
1445
|
+
const A = (c = C(x)) == null ? void 0 : c.value.format;
|
|
1446
|
+
typeof A == "function" && (y.fieldValue = A(x == null ? void 0 : x.format));
|
|
1447
1447
|
}
|
|
1448
1448
|
d.push(y);
|
|
1449
1449
|
}
|
|
@@ -1506,7 +1506,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1506
1506
|
return g;
|
|
1507
1507
|
};
|
|
1508
1508
|
return async function() {
|
|
1509
|
-
var k,
|
|
1509
|
+
var k, L;
|
|
1510
1510
|
const l = e.type;
|
|
1511
1511
|
let d = e.graphicConfig;
|
|
1512
1512
|
(!d || Object.keys(d).length === 0) && (d = {
|
|
@@ -1543,7 +1543,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1543
1543
|
label: c[0],
|
|
1544
1544
|
columnName: c[0]
|
|
1545
1545
|
};
|
|
1546
|
-
const S = ((
|
|
1546
|
+
const S = ((L = d.classifyList) == null ? void 0 : L.find((f) => (f == null ? void 0 : f.name) === c[0] || (f == null ? void 0 : f.nameBak) === c[0])) || {};
|
|
1547
1547
|
m.columnName = S.label, r(m, d.classifyList), m.conditions = i(m, "classifyList", d) || [];
|
|
1548
1548
|
}
|
|
1549
1549
|
u && (r(u, d.seriesList), u.conditions = i(u, "seriesList", d) || []);
|
|
@@ -1551,9 +1551,9 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1551
1551
|
g[S].location === "RIGHT" ? g[S].conditions = i(g[S], "rightAxisList", d) : g[S].conditions = i(g[S], "leftAxisList", d);
|
|
1552
1552
|
let b;
|
|
1553
1553
|
(d == null ? void 0 : d.pageMode) === "design" ? b = d.sqlConditions ?? [] : b = a(d == null ? void 0 : d.relativeList);
|
|
1554
|
-
let v = "SQL_VIEW", y = "",
|
|
1555
|
-
d.source === "INDICATOR_LIB" && (v = "INDICATOR_LIB", y = d.fixedDimSql,
|
|
1556
|
-
const
|
|
1554
|
+
let v = "SQL_VIEW", y = "", x = "", A = "";
|
|
1555
|
+
d.source === "INDICATOR_LIB" && (v = "INDICATOR_LIB", y = d.fixedDimSql, x = d.dataSourceId, A = d.idxLibMode);
|
|
1556
|
+
const F = {
|
|
1557
1557
|
ecanBar: "bar",
|
|
1558
1558
|
ecanLine: "line",
|
|
1559
1559
|
ecanPie: "pie",
|
|
@@ -1570,15 +1570,15 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1570
1570
|
dataViewId: d.dataViewId,
|
|
1571
1571
|
plugin: "1",
|
|
1572
1572
|
layer: "2",
|
|
1573
|
-
chartType:
|
|
1573
|
+
chartType: F[l],
|
|
1574
1574
|
classification: m,
|
|
1575
1575
|
indicatorList: g,
|
|
1576
1576
|
series: u,
|
|
1577
1577
|
sqlConditions: b,
|
|
1578
1578
|
source: v,
|
|
1579
1579
|
fixedDimSql: y,
|
|
1580
|
-
dataSourceId:
|
|
1581
|
-
idxLibMode:
|
|
1580
|
+
dataSourceId: x,
|
|
1581
|
+
idxLibMode: A
|
|
1582
1582
|
}, {
|
|
1583
1583
|
headers: { Authentication: S.data.data.token }
|
|
1584
1584
|
});
|
|
@@ -1608,7 +1608,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
1610
|
return e;
|
|
1611
|
-
},
|
|
1611
|
+
}, Fn = (e = {}) => {
|
|
1612
1612
|
const { requestToken: n } = N(In, {
|
|
1613
1613
|
// @ts-ignore
|
|
1614
1614
|
// eslint-disable-next-line no-void
|
|
@@ -1677,8 +1677,8 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1677
1677
|
valueType: b
|
|
1678
1678
|
}, y = a(g) || {};
|
|
1679
1679
|
if (En(y.type, "date")) {
|
|
1680
|
-
const { value:
|
|
1681
|
-
v.fieldValue = (d = C(
|
|
1680
|
+
const { value: x, format: A } = y || {};
|
|
1681
|
+
v.fieldValue = (d = C(x)) == null ? void 0 : d.format(A), v.dateFormat = A;
|
|
1682
1682
|
}
|
|
1683
1683
|
l.push(v);
|
|
1684
1684
|
}
|
|
@@ -1698,20 +1698,20 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1698
1698
|
rightAxisList: b = [],
|
|
1699
1699
|
queryColumnList: v = [],
|
|
1700
1700
|
indicators: y = [],
|
|
1701
|
-
controlList:
|
|
1702
|
-
dataSourceId:
|
|
1703
|
-
idxLibMode:
|
|
1701
|
+
controlList: x = [],
|
|
1702
|
+
dataSourceId: A,
|
|
1703
|
+
idxLibMode: F,
|
|
1704
1704
|
preview: k = !1
|
|
1705
1705
|
} = s || {};
|
|
1706
|
-
let
|
|
1706
|
+
let L;
|
|
1707
1707
|
if (Array.isArray(g) && g.length > 0) {
|
|
1708
1708
|
const w = g.length;
|
|
1709
|
-
for (let
|
|
1710
|
-
const
|
|
1709
|
+
for (let _ = 0; _ < w; _++) {
|
|
1710
|
+
const W = g[_] || {}, { label: H = "", name: O = "", show: P = !1, sort: z, customGroup: V, conditions: K } = W;
|
|
1711
1711
|
if (P || w === 1) {
|
|
1712
|
-
|
|
1712
|
+
L = {
|
|
1713
1713
|
label: H,
|
|
1714
|
-
columnName:
|
|
1714
|
+
columnName: O,
|
|
1715
1715
|
show: P,
|
|
1716
1716
|
sort: z,
|
|
1717
1717
|
customGroup: V,
|
|
@@ -1724,12 +1724,12 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1724
1724
|
let S;
|
|
1725
1725
|
if (Array.isArray(u) && u.length > 0) {
|
|
1726
1726
|
const w = u.length;
|
|
1727
|
-
for (let
|
|
1728
|
-
const
|
|
1727
|
+
for (let _ = 0; _ < w; _++) {
|
|
1728
|
+
const W = u[_] || {}, { label: H = "", name: O = "", show: P = !1, sort: z, customGroup: V, conditions: K } = W;
|
|
1729
1729
|
if (P || w === 1) {
|
|
1730
1730
|
S = {
|
|
1731
1731
|
label: H,
|
|
1732
|
-
columnName:
|
|
1732
|
+
columnName: O,
|
|
1733
1733
|
show: P,
|
|
1734
1734
|
sort: z,
|
|
1735
1735
|
customGroup: V,
|
|
@@ -1755,7 +1755,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1755
1755
|
if (c === "2" && p.length === 0)
|
|
1756
1756
|
return;
|
|
1757
1757
|
let T;
|
|
1758
|
-
(s == null ? void 0 : s.pageMode) === "design" ? T = s.sqlConditions ?? [] : T = r(
|
|
1758
|
+
(s == null ? void 0 : s.pageMode) === "design" ? T = s.sqlConditions ?? [] : T = r(x);
|
|
1759
1759
|
try {
|
|
1760
1760
|
return await Te.post(
|
|
1761
1761
|
`${ct}/diagram`,
|
|
@@ -1765,15 +1765,15 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1765
1765
|
plugin: d,
|
|
1766
1766
|
layer: c,
|
|
1767
1767
|
chartType: h,
|
|
1768
|
-
classification:
|
|
1768
|
+
classification: L,
|
|
1769
1769
|
series: S,
|
|
1770
1770
|
indicatorList: p,
|
|
1771
1771
|
queryColumns: f,
|
|
1772
1772
|
pageFlag: !0,
|
|
1773
1773
|
sqlConditions: T,
|
|
1774
1774
|
// fixedDimSql: '',
|
|
1775
|
-
dataSourceId:
|
|
1776
|
-
idxLibMode:
|
|
1775
|
+
dataSourceId: A,
|
|
1776
|
+
idxLibMode: F,
|
|
1777
1777
|
preview: k
|
|
1778
1778
|
},
|
|
1779
1779
|
{
|
|
@@ -1804,7 +1804,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1804
1804
|
name: "EcanPageConfig",
|
|
1805
1805
|
inheritAttrs: !1,
|
|
1806
1806
|
props: {
|
|
1807
|
-
...
|
|
1807
|
+
..._n
|
|
1808
1808
|
},
|
|
1809
1809
|
setup(e) {
|
|
1810
1810
|
const n = q(() => ({
|
|
@@ -1822,9 +1822,9 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1822
1822
|
}), c = () => {
|
|
1823
1823
|
t.value && o.value ? (i.value.style.width = `${t.value}px`, i.value.style.height = `${o.value}px`) : (i.value.style.width = `${a.value}px`, i.value.style.height = `${r.value}px`);
|
|
1824
1824
|
}, h = () => {
|
|
1825
|
-
const b = document.body.clientWidth, v = document.body.clientHeight, y = t.value || a.value,
|
|
1826
|
-
i.value && (i.value.style.transform = `scale(${
|
|
1827
|
-
}, g =
|
|
1825
|
+
const b = document.body.clientWidth, v = document.body.clientHeight, y = t.value || a.value, x = o.value || r.value, A = b / y, F = v / x;
|
|
1826
|
+
i.value && (i.value.style.transform = `scale(${A}, ${F})`);
|
|
1827
|
+
}, g = Ot(async () => {
|
|
1828
1828
|
await d(), h();
|
|
1829
1829
|
}, 100), u = () => {
|
|
1830
1830
|
const b = window.MutationObserver;
|
|
@@ -1851,7 +1851,7 @@ const El = {
|
|
|
1851
1851
|
id: "container",
|
|
1852
1852
|
ref: "container"
|
|
1853
1853
|
};
|
|
1854
|
-
function
|
|
1854
|
+
function Ol(e, n, t, o, a, r) {
|
|
1855
1855
|
return E(), $("div", El, [
|
|
1856
1856
|
e.ready ? (E(), $("div", {
|
|
1857
1857
|
key: 0,
|
|
@@ -1862,7 +1862,7 @@ function Fl(e, n, t, o, a, r) {
|
|
|
1862
1862
|
], 4)) : ve("", !0)
|
|
1863
1863
|
], 512);
|
|
1864
1864
|
}
|
|
1865
|
-
const
|
|
1865
|
+
const Fl = /* @__PURE__ */ X(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e"]]), Rl = oe(Fl), Rn = {
|
|
1866
1866
|
contextRequestUrl: "",
|
|
1867
1867
|
pageMode: "normal",
|
|
1868
1868
|
theme: "light",
|
|
@@ -1893,42 +1893,42 @@ const Ol = /* @__PURE__ */ X(Ml, [["render", Fl], ["__scopeId", "data-v-242d350e
|
|
|
1893
1893
|
theme: s,
|
|
1894
1894
|
touchEventId: i
|
|
1895
1895
|
});
|
|
1896
|
-
const l = /* @__PURE__ */ new Map(), d = (
|
|
1896
|
+
const l = /* @__PURE__ */ new Map(), d = (O) => l.get(O);
|
|
1897
1897
|
Re(ue, {
|
|
1898
1898
|
getGlobalModel: d,
|
|
1899
|
-
setGlobalModel: (
|
|
1900
|
-
l.set(
|
|
1899
|
+
setGlobalModel: (O, P) => {
|
|
1900
|
+
l.set(O, P);
|
|
1901
1901
|
}
|
|
1902
1902
|
});
|
|
1903
1903
|
const h = [], g = () => {
|
|
1904
1904
|
h.pop();
|
|
1905
|
-
}, u = (
|
|
1906
|
-
h.push(
|
|
1907
|
-
}, m = /* @__PURE__ */ new Map(), b = (
|
|
1905
|
+
}, u = (O) => {
|
|
1906
|
+
h.push(O);
|
|
1907
|
+
}, m = /* @__PURE__ */ new Map(), b = (O) => m.get(O);
|
|
1908
1908
|
Re(Mn, {
|
|
1909
1909
|
popUseModalIds: g,
|
|
1910
1910
|
pushUseModalIds: u,
|
|
1911
1911
|
getModalModel: b,
|
|
1912
|
-
setModalModel: (
|
|
1913
|
-
m.set(
|
|
1912
|
+
setModalModel: (O, P) => {
|
|
1913
|
+
m.set(O, P);
|
|
1914
1914
|
}
|
|
1915
1915
|
});
|
|
1916
|
-
const y = na(),
|
|
1917
|
-
|
|
1918
|
-
O
|
|
1916
|
+
const y = na(), x = /* @__PURE__ */ new Set(), A = (O, P) => {
|
|
1917
|
+
x.add(O), y.on(O, (z) => typeof P[z] == "function" && P[z]()), Tt(() => {
|
|
1918
|
+
F(O);
|
|
1919
1919
|
});
|
|
1920
|
-
},
|
|
1921
|
-
|
|
1920
|
+
}, F = (O) => {
|
|
1921
|
+
x.delete(O), y.off(O);
|
|
1922
1922
|
};
|
|
1923
1923
|
Re($t, {
|
|
1924
|
-
onEvent:
|
|
1925
|
-
offEvent:
|
|
1926
|
-
emitEvent: (
|
|
1927
|
-
if (
|
|
1924
|
+
onEvent: A,
|
|
1925
|
+
offEvent: F,
|
|
1926
|
+
emitEvent: (O, P) => {
|
|
1927
|
+
if (O === "PAGE") {
|
|
1928
1928
|
const z = h.length;
|
|
1929
1929
|
let V = [];
|
|
1930
1930
|
if (z === 0)
|
|
1931
|
-
V = [...
|
|
1931
|
+
V = [...x];
|
|
1932
1932
|
else {
|
|
1933
1933
|
const K = h[z - 1];
|
|
1934
1934
|
V = [...b(K)];
|
|
@@ -1937,25 +1937,25 @@ const Ol = /* @__PURE__ */ X(Ml, [["render", Fl], ["__scopeId", "data-v-242d350e
|
|
|
1937
1937
|
y.emit(K, P);
|
|
1938
1938
|
});
|
|
1939
1939
|
} else
|
|
1940
|
-
y.emit(
|
|
1940
|
+
y.emit(O, P);
|
|
1941
1941
|
}
|
|
1942
1942
|
});
|
|
1943
|
-
const
|
|
1943
|
+
const L = M(0);
|
|
1944
1944
|
Re(In, {
|
|
1945
1945
|
requestToken: () => {
|
|
1946
|
-
|
|
1946
|
+
L.value = C(L) + 1;
|
|
1947
1947
|
}
|
|
1948
1948
|
});
|
|
1949
|
-
const f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), T = ({ requestFn:
|
|
1949
|
+
const f = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), T = ({ requestFn: O = () => {
|
|
1950
1950
|
}, sortNum: P = 0, id: z = "" }) => {
|
|
1951
1951
|
if (f.has(P)) {
|
|
1952
1952
|
const V = f.get(P);
|
|
1953
|
-
V == null || V.push(
|
|
1953
|
+
V == null || V.push(O);
|
|
1954
1954
|
} else
|
|
1955
|
-
f.set(P, [
|
|
1956
|
-
p.set(z,
|
|
1957
|
-
}, R = (
|
|
1958
|
-
const V =
|
|
1955
|
+
f.set(P, [O]);
|
|
1956
|
+
p.set(z, O);
|
|
1957
|
+
}, R = (O) => new Promise((P, z) => {
|
|
1958
|
+
const V = O.map((K) => K());
|
|
1959
1959
|
Promise.all(V).then((K) => {
|
|
1960
1960
|
P(K);
|
|
1961
1961
|
}).catch((K) => {
|
|
@@ -1963,17 +1963,17 @@ const Ol = /* @__PURE__ */ X(Ml, [["render", Fl], ["__scopeId", "data-v-242d350e
|
|
|
1963
1963
|
});
|
|
1964
1964
|
}), w = async () => {
|
|
1965
1965
|
var P;
|
|
1966
|
-
const
|
|
1966
|
+
const O = await yn.get(`${ct}/user/anonymous?username=admin`, {
|
|
1967
1967
|
headers: {
|
|
1968
1968
|
systemCode: "F72FC50A3D97372514A6AC33333D28FD",
|
|
1969
1969
|
current_context: "ygt"
|
|
1970
1970
|
}
|
|
1971
1971
|
});
|
|
1972
|
-
config.indicatorToken = (P =
|
|
1973
|
-
},
|
|
1974
|
-
if (
|
|
1975
|
-
if (typeof
|
|
1976
|
-
const V = p.get(
|
|
1972
|
+
config.indicatorToken = (P = O.data.data) == null ? void 0 : P.token;
|
|
1973
|
+
}, _ = (O) => new Promise(async (P, z) => {
|
|
1974
|
+
if (O) {
|
|
1975
|
+
if (typeof O == "string") {
|
|
1976
|
+
const V = p.get(O);
|
|
1977
1977
|
if (typeof V == "function") {
|
|
1978
1978
|
const K = Te.interceptors.response.use((de) => (P(de), de), (de) => (z(de), Promise.reject(de)));
|
|
1979
1979
|
V(), Te.interceptors.response.eject(K);
|
|
@@ -1984,7 +1984,7 @@ const Ol = /* @__PURE__ */ X(Ml, [["render", Fl], ["__scopeId", "data-v-242d350e
|
|
|
1984
1984
|
V.sort((de, Me) => Me[0] - de[0]);
|
|
1985
1985
|
const K = V.length;
|
|
1986
1986
|
try {
|
|
1987
|
-
e.pageMode !== "design" && C(
|
|
1987
|
+
e.pageMode !== "design" && C(L) > 0 && await w();
|
|
1988
1988
|
for (let de = 0; de < K; de++) {
|
|
1989
1989
|
const Me = V[de][1];
|
|
1990
1990
|
await R(Me);
|
|
@@ -1998,21 +1998,21 @@ const Ol = /* @__PURE__ */ X(Ml, [["render", Fl], ["__scopeId", "data-v-242d350e
|
|
|
1998
1998
|
});
|
|
1999
1999
|
Re(Se, {
|
|
2000
2000
|
setRequest: T,
|
|
2001
|
-
touchRequest:
|
|
2001
|
+
touchRequest: _
|
|
2002
2002
|
}), Re(Je, {
|
|
2003
2003
|
emitRefreshPage: () => {
|
|
2004
2004
|
y.emit(Je);
|
|
2005
2005
|
}
|
|
2006
2006
|
});
|
|
2007
|
-
const H = (
|
|
2008
|
-
y.on(Je, () =>
|
|
2007
|
+
const H = (O) => {
|
|
2008
|
+
y.on(Je, () => O()), Ne(() => {
|
|
2009
2009
|
y.off(Je);
|
|
2010
2010
|
});
|
|
2011
2011
|
};
|
|
2012
2012
|
return Tt(() => {
|
|
2013
2013
|
f == null || f.clear(), p == null || p.clear();
|
|
2014
2014
|
}), n({
|
|
2015
|
-
touchRequest:
|
|
2015
|
+
touchRequest: _,
|
|
2016
2016
|
getGlobalModel: d,
|
|
2017
2017
|
onRefreshPage: H
|
|
2018
2018
|
}), {
|
|
@@ -2074,27 +2074,27 @@ const Nl = /* @__PURE__ */ X(Dl, [["render", zl]]), Pl = oe(Nl), $n = {
|
|
|
2074
2074
|
if (m == null || m.length === 0)
|
|
2075
2075
|
return u;
|
|
2076
2076
|
for (let v = 0; v < m.length; v++) {
|
|
2077
|
-
const y = m[v],
|
|
2078
|
-
let
|
|
2079
|
-
const
|
|
2080
|
-
for (let
|
|
2081
|
-
const S =
|
|
2082
|
-
f && (
|
|
2077
|
+
const y = m[v], x = (b = y == null ? void 0 : y.slice(1, y.length - 1)) == null ? void 0 : b.trim();
|
|
2078
|
+
let A = x;
|
|
2079
|
+
const F = x.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
|
|
2080
|
+
for (let L = 0; L < F.length; L++) {
|
|
2081
|
+
const S = F[L], f = g[S];
|
|
2082
|
+
f && (A = x.replace(S, f));
|
|
2083
2083
|
}
|
|
2084
|
-
if (/\(.*\)/g.test(
|
|
2085
|
-
const
|
|
2086
|
-
|
|
2084
|
+
if (/\(.*\)/g.test(A)) {
|
|
2085
|
+
const L = ht(A);
|
|
2086
|
+
L != null && (A = L);
|
|
2087
2087
|
}
|
|
2088
|
-
let k =
|
|
2089
|
-
if (k ===
|
|
2090
|
-
const
|
|
2091
|
-
|
|
2088
|
+
let k = A;
|
|
2089
|
+
if (k === x && (k = e.variableDefaultValue), k != null) {
|
|
2090
|
+
const L = e.format;
|
|
2091
|
+
L === "percentage" ? (k = +k, isNaN(k) ? u = u.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : k >= 0 ? (k = (k * 100).toFixed(2), u = u.replace(y, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Gl}"/>${k}%</span>`)) : (k = (k * 100).toFixed(2), u = u.replace(y, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Ul}"/>${Math.abs(+k)}%</span>`))) : e.format === "percent" ? (k = +k, isNaN(k) || (k = (k * 100).toFixed(2), u = u.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}%</span>`))) : e.format === "money" ? (k = +k, isNaN(k) || (k = zt(k), u = u.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}</span>`))) : L === "thousands" ? (k = +k, isNaN(k) || (k = _l(k), u = u.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}</span>`))) : u = u.replace(y, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}</span>`);
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
2094
|
return `<span>${u}</span>`;
|
|
2095
2095
|
}), { pageMode: a } = N(ce, {
|
|
2096
2096
|
pageMode: "normal"
|
|
2097
|
-
}), r =
|
|
2097
|
+
}), r = Ae(e), s = M(!1), i = async () => {
|
|
2098
2098
|
var g;
|
|
2099
2099
|
if (C(a) !== "design")
|
|
2100
2100
|
try {
|
|
@@ -2128,7 +2128,7 @@ const Nl = /* @__PURE__ */ X(Dl, [["render", zl]]), Pl = oe(Nl), $n = {
|
|
|
2128
2128
|
const h = fe(e)("click", () => {
|
|
2129
2129
|
if (!e.linkPage && !e.href)
|
|
2130
2130
|
return;
|
|
2131
|
-
const g = e.linkPage || "", u =
|
|
2131
|
+
const g = e.linkPage || "", u = On(C(a), g), m = e.href;
|
|
2132
2132
|
let b = m || u;
|
|
2133
2133
|
b = se(b);
|
|
2134
2134
|
const v = e.target;
|
|
@@ -2145,8 +2145,8 @@ const Nl = /* @__PURE__ */ X(Dl, [["render", zl]]), Pl = oe(Nl), $n = {
|
|
|
2145
2145
|
};
|
|
2146
2146
|
}
|
|
2147
2147
|
});
|
|
2148
|
-
const
|
|
2149
|
-
function
|
|
2148
|
+
const Wl = ["innerHTML"];
|
|
2149
|
+
function jl(e, n, t, o, a, r) {
|
|
2150
2150
|
const s = Z("skeleton");
|
|
2151
2151
|
return e.loading ? (E(), $("div", {
|
|
2152
2152
|
key: 0,
|
|
@@ -2160,9 +2160,9 @@ function Wl(e, n, t, o, a, r) {
|
|
|
2160
2160
|
style: G(e.style),
|
|
2161
2161
|
innerHTML: e.myText,
|
|
2162
2162
|
onClick: n[0] || (n[0] = (...i) => e.click && e.click(...i))
|
|
2163
|
-
}, null, 12,
|
|
2163
|
+
}, null, 12, Wl));
|
|
2164
2164
|
}
|
|
2165
|
-
const Vl = /* @__PURE__ */ X(ql, [["render",
|
|
2165
|
+
const Vl = /* @__PURE__ */ X(ql, [["render", jl], ["__scopeId", "data-v-f9ba6c3f"]]), Hl = oe(Vl), Zl = Q({
|
|
2166
2166
|
name: "EcanScrollText",
|
|
2167
2167
|
setup() {
|
|
2168
2168
|
return {
|
|
@@ -2278,7 +2278,7 @@ const ti = /* @__PURE__ */ X(Xl, [["render", ei], ["__scopeId", "data-v-47d57d2d
|
|
|
2278
2278
|
case v < 0:
|
|
2279
2279
|
return "goDown";
|
|
2280
2280
|
}
|
|
2281
|
-
}, s =
|
|
2281
|
+
}, s = Ae(e), { pageMode: i } = N(ce, {
|
|
2282
2282
|
pageMode: "normal"
|
|
2283
2283
|
}), l = M(!1), d = async () => {
|
|
2284
2284
|
var m;
|
|
@@ -2391,7 +2391,7 @@ function mi(e, n, t, o, a, r) {
|
|
|
2391
2391
|
ee("div", ui, " Top " + ye(l + 1), 1)
|
|
2392
2392
|
])) : ve("", !0),
|
|
2393
2393
|
(E(!0), $(Ie, null, Ee(e.columns, (d) => (E(), $("div", {
|
|
2394
|
-
class:
|
|
2394
|
+
class: Lt(["column", e.contrastClass(i[d.key], d.format)]),
|
|
2395
2395
|
key: d.key,
|
|
2396
2396
|
style: G({
|
|
2397
2397
|
fontSize: d.fontSize,
|
|
@@ -2458,27 +2458,27 @@ const gi = /* @__PURE__ */ X(ai, [["render", mi], ["__scopeId", "data-v-211785ca
|
|
|
2458
2458
|
return isNaN(b) ? 0 : b;
|
|
2459
2459
|
const v = e.text.match(/\{.+\}/g) || [];
|
|
2460
2460
|
let y;
|
|
2461
|
-
const
|
|
2462
|
-
for (let
|
|
2463
|
-
const
|
|
2464
|
-
if (
|
|
2461
|
+
const x = new Set(Object.keys(m));
|
|
2462
|
+
for (let A = 0; A < v.length; A++) {
|
|
2463
|
+
const F = v[A], k = F.slice(1, F.length - 1);
|
|
2464
|
+
if (x.has(k)) {
|
|
2465
2465
|
y = m[k];
|
|
2466
2466
|
break;
|
|
2467
2467
|
}
|
|
2468
2468
|
}
|
|
2469
2469
|
return typeof y == "number" ? y = y * 100 : typeof y == "string" && !isNaN(+y) ? y = +y * 100 : isNaN(b) ? y = 0 : y = b * 100, e.decimalFormat && (y = +y.toFixed(2)), y;
|
|
2470
2470
|
}), s = q(() => {
|
|
2471
|
-
var
|
|
2471
|
+
var x;
|
|
2472
2472
|
let m = e.text;
|
|
2473
2473
|
if (m === "")
|
|
2474
2474
|
return C(r);
|
|
2475
2475
|
const b = e.variableDefaultValue, v = C(a), y = m.match(/\{.+\}/g) || [];
|
|
2476
|
-
for (let
|
|
2477
|
-
const
|
|
2478
|
-
let k =
|
|
2479
|
-
const
|
|
2476
|
+
for (let A = 0; A < y.length; A++) {
|
|
2477
|
+
const F = y[A];
|
|
2478
|
+
let k = F.slice(1, F.length - 1);
|
|
2479
|
+
const L = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, S = F.match(L);
|
|
2480
2480
|
for (let p = 0; p < (S == null ? void 0 : S.length); p++) {
|
|
2481
|
-
const T = (
|
|
2481
|
+
const T = (x = S[p]) == null ? void 0 : x.trim();
|
|
2482
2482
|
v[T] != null && (k = k.replace(T, v[T]));
|
|
2483
2483
|
}
|
|
2484
2484
|
let f = k;
|
|
@@ -2487,10 +2487,10 @@ const gi = /* @__PURE__ */ X(ai, [["render", mi], ["__scopeId", "data-v-211785ca
|
|
|
2487
2487
|
} catch (p) {
|
|
2488
2488
|
console.error(p);
|
|
2489
2489
|
}
|
|
2490
|
-
typeof +f == "number"
|
|
2490
|
+
typeof +f == "number" && !isNaN(+f) ? (f = +f * 100, e.decimalFormat && (f = f.toFixed(2))) : f = b, m = m.replace(F, f + "");
|
|
2491
2491
|
}
|
|
2492
2492
|
return m;
|
|
2493
|
-
}), i =
|
|
2493
|
+
}), i = Ae(e), l = M(!1), d = async () => {
|
|
2494
2494
|
var m;
|
|
2495
2495
|
if (!(e.dataType !== "request" || C(n) === "design"))
|
|
2496
2496
|
try {
|
|
@@ -2548,7 +2548,7 @@ function vi(e, n, t, o, a, r) {
|
|
|
2548
2548
|
onClick: e.click
|
|
2549
2549
|
}, {
|
|
2550
2550
|
format: Y(() => [
|
|
2551
|
-
e.loading ? (E(),
|
|
2551
|
+
e.loading ? (E(), Fe(s, {
|
|
2552
2552
|
key: 0,
|
|
2553
2553
|
loading: e.loading
|
|
2554
2554
|
}, null, 8, ["loading"])) : (E(), $("div", {
|
|
@@ -2567,7 +2567,7 @@ function vi(e, n, t, o, a, r) {
|
|
|
2567
2567
|
}, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
|
|
2568
2568
|
], 4);
|
|
2569
2569
|
}
|
|
2570
|
-
const pi = /* @__PURE__ */ X(bi, [["render", vi], ["__scopeId", "data-v-
|
|
2570
|
+
const pi = /* @__PURE__ */ X(bi, [["render", vi], ["__scopeId", "data-v-33fedc2e"]]), Ci = oe(pi), Wn = {
|
|
2571
2571
|
...re,
|
|
2572
2572
|
width: "200px",
|
|
2573
2573
|
id: "",
|
|
@@ -2579,13 +2579,13 @@ const pi = /* @__PURE__ */ X(bi, [["render", vi], ["__scopeId", "data-v-8bb4b60f
|
|
|
2579
2579
|
type: "ecanInput",
|
|
2580
2580
|
value: "",
|
|
2581
2581
|
placeholder: "请输入文字"
|
|
2582
|
-
},
|
|
2582
|
+
}, jn = ae(Wn), Si = ["inputChange", "inputBlur"], wi = Q({
|
|
2583
2583
|
name: "EcanInput",
|
|
2584
2584
|
components: {
|
|
2585
2585
|
AInput: mn
|
|
2586
2586
|
},
|
|
2587
2587
|
props: {
|
|
2588
|
-
...
|
|
2588
|
+
...jn
|
|
2589
2589
|
},
|
|
2590
2590
|
setup(e) {
|
|
2591
2591
|
const n = ie(e), t = M("");
|
|
@@ -2611,7 +2611,7 @@ const pi = /* @__PURE__ */ X(bi, [["render", vi], ["__scopeId", "data-v-8bb4b60f
|
|
|
2611
2611
|
const r = () => {
|
|
2612
2612
|
const d = o(e.id);
|
|
2613
2613
|
a(e.id, { ...d, RECORD: t });
|
|
2614
|
-
}, s = fe(e), i =
|
|
2614
|
+
}, s = fe(e), i = Ot(s("inputChange", () => {
|
|
2615
2615
|
r();
|
|
2616
2616
|
}), 300), l = s("inputBlur", () => {
|
|
2617
2617
|
});
|
|
@@ -2639,7 +2639,7 @@ function ki(e, n, t, o, a, r) {
|
|
|
2639
2639
|
}, null, 8, ["value", "placeholder", "onChange", "onBlur"])
|
|
2640
2640
|
], 4);
|
|
2641
2641
|
}
|
|
2642
|
-
const
|
|
2642
|
+
const xi = /* @__PURE__ */ X(wi, [["render", ki]]), Ai = oe(xi), Vn = {
|
|
2643
2643
|
...re,
|
|
2644
2644
|
height: "33px",
|
|
2645
2645
|
width: "130px",
|
|
@@ -2656,7 +2656,7 @@ const Ai = /* @__PURE__ */ X(wi, [["render", ki]]), xi = oe(Ai), Vn = {
|
|
|
2656
2656
|
showTime: !1,
|
|
2657
2657
|
useCurrentTime: !0,
|
|
2658
2658
|
operate: null
|
|
2659
|
-
}, Hn = ae(Vn), Ti = ["dateChange"],
|
|
2659
|
+
}, Hn = ae(Vn), Ti = ["dateChange"], Li = Q({
|
|
2660
2660
|
name: "EcanDatePicker",
|
|
2661
2661
|
props: {
|
|
2662
2662
|
...Hn
|
|
@@ -2707,7 +2707,7 @@ const Ai = /* @__PURE__ */ X(wi, [["render", ki]]), xi = oe(Ai), Vn = {
|
|
|
2707
2707
|
};
|
|
2708
2708
|
}
|
|
2709
2709
|
});
|
|
2710
|
-
function
|
|
2710
|
+
function _i(e, n, t, o, a, r) {
|
|
2711
2711
|
const s = Z("a-date-picker");
|
|
2712
2712
|
return E(), $("div", {
|
|
2713
2713
|
class: "ecan-date-picker",
|
|
@@ -2727,7 +2727,7 @@ function Li(e, n, t, o, a, r) {
|
|
|
2727
2727
|
}, null, 8, ["value", "format", "picker", "showTime", "locale", "onChange", "getPopupContainer"])
|
|
2728
2728
|
], 4);
|
|
2729
2729
|
}
|
|
2730
|
-
const Ii = /* @__PURE__ */ X(
|
|
2730
|
+
const Ii = /* @__PURE__ */ X(Li, [["render", _i]]), Mi = oe(Ii), Zn = {
|
|
2731
2731
|
...re,
|
|
2732
2732
|
name: "下拉框选择器",
|
|
2733
2733
|
keyName: "下拉框选择器",
|
|
@@ -2743,7 +2743,7 @@ const Ii = /* @__PURE__ */ X(_i, [["render", Li]]), Mi = oe(Ii), Zn = {
|
|
|
2743
2743
|
value: "",
|
|
2744
2744
|
dataFieldNames: { label: "label", value: "value" },
|
|
2745
2745
|
maxTagCount: void 0
|
|
2746
|
-
}, Jn = ae(Zn), Ei = ["selectChange"],
|
|
2746
|
+
}, Jn = ae(Zn), Ei = ["selectChange", "refreshData"], Oi = Q({
|
|
2747
2747
|
name: "EcanSelect",
|
|
2748
2748
|
components: {
|
|
2749
2749
|
ASelect: Zo
|
|
@@ -2752,24 +2752,24 @@ const Ii = /* @__PURE__ */ X(_i, [["render", Li]]), Mi = oe(Ii), Zn = {
|
|
|
2752
2752
|
...Jn
|
|
2753
2753
|
},
|
|
2754
2754
|
setup(e) {
|
|
2755
|
-
const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o =
|
|
2755
|
+
const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = Ae(e), { pageMode: a } = N(ce, {
|
|
2756
2756
|
pageMode: "normal"
|
|
2757
2757
|
}), r = M(e.data), s = M(e.value || e.data[0]), i = e.dataFieldNames, l = (v, y) => {
|
|
2758
|
-
const
|
|
2759
|
-
let
|
|
2760
|
-
const k = y[
|
|
2761
|
-
return k != null ?
|
|
2758
|
+
const x = i.label, A = i.value;
|
|
2759
|
+
let F;
|
|
2760
|
+
const k = y[x], L = y[A];
|
|
2761
|
+
return k != null ? F = k : L != null && (F = L), (F == null ? void 0 : F.toLowerCase().indexOf(v == null ? void 0 : v.toLowerCase())) >= 0;
|
|
2762
2762
|
}, d = M(!1), c = async () => {
|
|
2763
2763
|
var v, y;
|
|
2764
2764
|
if (!(e.dataType !== "request" || C(a) === "design")) {
|
|
2765
2765
|
d.value = !0;
|
|
2766
2766
|
try {
|
|
2767
|
-
const
|
|
2768
|
-
r.value = ((y = (v =
|
|
2769
|
-
const
|
|
2770
|
-
e.value === "" &&
|
|
2771
|
-
} catch (
|
|
2772
|
-
console.error(
|
|
2767
|
+
const x = await o();
|
|
2768
|
+
r.value = ((y = (v = x == null ? void 0 : x.data) == null ? void 0 : v.data) == null ? void 0 : y.rows) || [];
|
|
2769
|
+
const A = C(r)[0];
|
|
2770
|
+
e.value === "" && A != null && (s.value = A[i.value]);
|
|
2771
|
+
} catch (x) {
|
|
2772
|
+
console.error(x);
|
|
2773
2773
|
} finally {
|
|
2774
2774
|
d.value = !1;
|
|
2775
2775
|
}
|
|
@@ -2793,12 +2793,13 @@ const Ii = /* @__PURE__ */ X(_i, [["render", Li]]), Mi = oe(Ii), Zn = {
|
|
|
2793
2793
|
g(v, { ...y, RECORD: s });
|
|
2794
2794
|
});
|
|
2795
2795
|
he(e, {
|
|
2796
|
-
selectChange: m
|
|
2796
|
+
selectChange: m,
|
|
2797
|
+
refreshData: c
|
|
2797
2798
|
});
|
|
2798
2799
|
const { setRequest: b } = N(Se, {
|
|
2799
2800
|
// @ts-ignore
|
|
2800
2801
|
// eslint-disable-next-line no-void
|
|
2801
|
-
setRequest: ({ id: v, sortNum: y, requestFn:
|
|
2802
|
+
setRequest: ({ id: v, sortNum: y, requestFn: x }) => {
|
|
2802
2803
|
}
|
|
2803
2804
|
});
|
|
2804
2805
|
return b({
|
|
@@ -2816,7 +2817,7 @@ const Ii = /* @__PURE__ */ X(_i, [["render", Li]]), Mi = oe(Ii), Zn = {
|
|
|
2816
2817
|
};
|
|
2817
2818
|
}
|
|
2818
2819
|
});
|
|
2819
|
-
function
|
|
2820
|
+
function Fi(e, n, t, o, a, r) {
|
|
2820
2821
|
const s = Z("a-select");
|
|
2821
2822
|
return E(), $("div", {
|
|
2822
2823
|
class: "ecan-select",
|
|
@@ -2838,7 +2839,7 @@ function Oi(e, n, t, o, a, r) {
|
|
|
2838
2839
|
}, null, 8, ["value", "options", "mode", "getPopupContainer", "field-names", "maxTagCount", "filter-option", "onChange", "loading"])
|
|
2839
2840
|
], 4);
|
|
2840
2841
|
}
|
|
2841
|
-
const Ri = /* @__PURE__ */ X(
|
|
2842
|
+
const Ri = /* @__PURE__ */ X(Oi, [["render", Fi], ["__scopeId", "data-v-2c6a08f8"]]), Di = oe(Ri), Yn = {
|
|
2842
2843
|
...re,
|
|
2843
2844
|
name: "日期范围选择器",
|
|
2844
2845
|
keyName: "日期范围选择器",
|
|
@@ -2865,19 +2866,19 @@ const Ri = /* @__PURE__ */ X(Fi, [["render", Oi], ["__scopeId", "data-v-ef197aff
|
|
|
2865
2866
|
},
|
|
2866
2867
|
setup(e) {
|
|
2867
2868
|
const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = M([null, null]);
|
|
2868
|
-
ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([u, m, b, v, y,
|
|
2869
|
-
let
|
|
2870
|
-
if (b && (
|
|
2871
|
-
const { type: k, value:
|
|
2869
|
+
ne(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([u, m, b, v, y, x]) => {
|
|
2870
|
+
let A = null, F = null;
|
|
2871
|
+
if (b && (A = Ce().subtract(v, y), F = Ce()), u && (A = Ce(se(u))), m && (F = Ce(se(m))), x) {
|
|
2872
|
+
const { type: k, value: L, mode: S } = x;
|
|
2872
2873
|
switch (k) {
|
|
2873
2874
|
case "add":
|
|
2874
|
-
|
|
2875
|
+
A = A && A.add(L, S), F = F && F.add(L, S);
|
|
2875
2876
|
break;
|
|
2876
2877
|
case "minus":
|
|
2877
|
-
|
|
2878
|
+
A = A && A.subtract(L, S), F = F && F.subtract(L, S);
|
|
2878
2879
|
}
|
|
2879
2880
|
}
|
|
2880
|
-
o.value = [
|
|
2881
|
+
o.value = [A, F];
|
|
2881
2882
|
}, {
|
|
2882
2883
|
immediate: !0
|
|
2883
2884
|
});
|
|
@@ -3013,7 +3014,7 @@ function qi(e, n, t, o, a, r) {
|
|
|
3013
3014
|
}, 8, ["onClick", "type", "danger", "shape", "href", "target"])
|
|
3014
3015
|
], 4);
|
|
3015
3016
|
}
|
|
3016
|
-
const
|
|
3017
|
+
const Wi = /* @__PURE__ */ X(Ui, [["render", qi]]), ji = oe(Wi), eo = {
|
|
3017
3018
|
...re,
|
|
3018
3019
|
width: "240px",
|
|
3019
3020
|
id: "",
|
|
@@ -3051,7 +3052,7 @@ const ji = /* @__PURE__ */ X(Ui, [["render", qi]]), Wi = oe(ji), eo = {
|
|
|
3051
3052
|
immediate: !0,
|
|
3052
3053
|
deep: !0
|
|
3053
3054
|
});
|
|
3054
|
-
const r =
|
|
3055
|
+
const r = Ae(e), { pageMode: s } = N(ce, {
|
|
3055
3056
|
pageMode: "normal"
|
|
3056
3057
|
}), i = async () => {
|
|
3057
3058
|
var b, v;
|
|
@@ -3182,7 +3183,7 @@ Be([
|
|
|
3182
3183
|
oa,
|
|
3183
3184
|
Ke,
|
|
3184
3185
|
Xe,
|
|
3185
|
-
|
|
3186
|
+
Ft,
|
|
3186
3187
|
et
|
|
3187
3188
|
]);
|
|
3188
3189
|
const Ki = Q({
|
|
@@ -3193,16 +3194,16 @@ const Ki = Q({
|
|
|
3193
3194
|
components: {
|
|
3194
3195
|
Spin: tt,
|
|
3195
3196
|
Echarts: ze,
|
|
3196
|
-
AModal:
|
|
3197
|
+
AModal: xe
|
|
3197
3198
|
},
|
|
3198
3199
|
setup(e) {
|
|
3199
3200
|
const n = ie(e), t = M([]), o = M(!1), a = () => {
|
|
3200
3201
|
o.value = !1;
|
|
3201
3202
|
}, r = q(() => {
|
|
3202
|
-
let { data:
|
|
3203
|
+
let { data: L = [] } = C(t)[0] || {};
|
|
3203
3204
|
if (Array.isArray(e.colors)) {
|
|
3204
3205
|
const S = e.isUseLabelColors, f = e.colors;
|
|
3205
|
-
|
|
3206
|
+
L = L.map((p, T) => ({
|
|
3206
3207
|
label: S ? { color: f[T] } : {},
|
|
3207
3208
|
...p
|
|
3208
3209
|
}));
|
|
@@ -3236,7 +3237,7 @@ const Ki = Q({
|
|
|
3236
3237
|
title: "说明信息",
|
|
3237
3238
|
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
3238
3239
|
onclick() {
|
|
3239
|
-
|
|
3240
|
+
xe.info({
|
|
3240
3241
|
title: "说明信息",
|
|
3241
3242
|
content: e.toolboxInfoText
|
|
3242
3243
|
});
|
|
@@ -3261,7 +3262,7 @@ const Ki = Q({
|
|
|
3261
3262
|
show: e.tooltipShow,
|
|
3262
3263
|
trigger: e.tooltipTrigger,
|
|
3263
3264
|
formatter: (S) => {
|
|
3264
|
-
const { marker: f, seriesName: p, name: T, value: R, percent: w, data:
|
|
3265
|
+
const { marker: f, seriesName: p, name: T, value: R, percent: w, data: _ } = S || {};
|
|
3265
3266
|
return se(
|
|
3266
3267
|
e.tooltipFormatter,
|
|
3267
3268
|
{
|
|
@@ -3273,7 +3274,7 @@ const Ki = Q({
|
|
|
3273
3274
|
b: T,
|
|
3274
3275
|
c: R,
|
|
3275
3276
|
d: w,
|
|
3276
|
-
...
|
|
3277
|
+
..._
|
|
3277
3278
|
},
|
|
3278
3279
|
{
|
|
3279
3280
|
useNewline: !0,
|
|
@@ -3298,7 +3299,7 @@ const Ki = Q({
|
|
|
3298
3299
|
color: e.colors,
|
|
3299
3300
|
series: [
|
|
3300
3301
|
{
|
|
3301
|
-
data:
|
|
3302
|
+
data: L,
|
|
3302
3303
|
type: "pie",
|
|
3303
3304
|
radius: [e.innerRadius, e.outerRadius],
|
|
3304
3305
|
center: [e.centerLeft, e.centerTop],
|
|
@@ -3313,7 +3314,7 @@ const Ki = Q({
|
|
|
3313
3314
|
color: e.labelColor,
|
|
3314
3315
|
fontSize: e.labelFontSize,
|
|
3315
3316
|
position: e.labelPosition,
|
|
3316
|
-
formatter:
|
|
3317
|
+
formatter: Ll(e.labelFormatter)
|
|
3317
3318
|
},
|
|
3318
3319
|
labelLine: {
|
|
3319
3320
|
show: e.labelLineShow,
|
|
@@ -3336,84 +3337,84 @@ const Ki = Q({
|
|
|
3336
3337
|
}), { getGlobalModel: s, setGlobalModel: i } = N(ue, {
|
|
3337
3338
|
// @ts-ignore
|
|
3338
3339
|
// eslint-disable-next-line no-void
|
|
3339
|
-
getGlobalModel: (
|
|
3340
|
+
getGlobalModel: (L) => {
|
|
3340
3341
|
},
|
|
3341
3342
|
// @ts-ignore
|
|
3342
3343
|
// eslint-disable-next-line no-void
|
|
3343
|
-
setGlobalModel: (
|
|
3344
|
+
setGlobalModel: (L, S) => {
|
|
3344
3345
|
}
|
|
3345
3346
|
}), { pageMode: l } = N(ce, {
|
|
3346
3347
|
pageMode: "normal"
|
|
3347
|
-
}), d = (
|
|
3348
|
-
const { dataset: f } = Qe(
|
|
3348
|
+
}), d = (L = [], S) => {
|
|
3349
|
+
const { dataset: f } = Qe(L, S);
|
|
3349
3350
|
t.value = f;
|
|
3350
|
-
}, c = (
|
|
3351
|
-
const f = Qe(
|
|
3351
|
+
}, c = (L = [], S) => {
|
|
3352
|
+
const f = Qe(L, S);
|
|
3352
3353
|
t.value = f.dataset;
|
|
3353
3354
|
};
|
|
3354
|
-
ne(() => e.data, (
|
|
3355
|
-
(e.dataType === "static" || C(l) === "design") && d(
|
|
3355
|
+
ne(() => e.data, (L) => {
|
|
3356
|
+
(e.dataType === "static" || C(l) === "design") && d(L);
|
|
3356
3357
|
}, {
|
|
3357
3358
|
immediate: !0,
|
|
3358
3359
|
deep: !0
|
|
3359
3360
|
});
|
|
3360
|
-
const h = M(!1), g =
|
|
3361
|
-
var
|
|
3361
|
+
const h = M(!1), g = Ae(e), u = async () => {
|
|
3362
|
+
var L, S;
|
|
3362
3363
|
if (!(e.dataType !== "request" || C(l) === "design"))
|
|
3363
3364
|
try {
|
|
3364
3365
|
h.value = !0;
|
|
3365
3366
|
const f = await g();
|
|
3366
|
-
d((S = (
|
|
3367
|
+
d((S = (L = f == null ? void 0 : f.data) == null ? void 0 : L.data) == null ? void 0 : S.rows, e.valueTypeDataFieldNames);
|
|
3367
3368
|
} catch (f) {
|
|
3368
3369
|
console.error(f);
|
|
3369
3370
|
} finally {
|
|
3370
3371
|
h.value = !1;
|
|
3371
3372
|
}
|
|
3372
|
-
}, b = fe(e)("click", (
|
|
3373
|
+
}, b = fe(e)("click", (L) => {
|
|
3373
3374
|
const S = s(e.id);
|
|
3374
|
-
i(e.id, { ...S, RECORD:
|
|
3375
|
+
i(e.id, { ...S, RECORD: L == null ? void 0 : L.data });
|
|
3375
3376
|
}), v = Nt(e), y = async () => {
|
|
3376
|
-
var
|
|
3377
|
+
var L, S, f, p, T, R;
|
|
3377
3378
|
if (!(e.dataType !== "indicator" || C(l) === "design"))
|
|
3378
3379
|
try {
|
|
3379
3380
|
h.value = !0;
|
|
3380
3381
|
const w = await v();
|
|
3381
|
-
let
|
|
3382
|
-
if (((f = (S = (
|
|
3383
|
-
const
|
|
3384
|
-
|
|
3385
|
-
name:
|
|
3386
|
-
value:
|
|
3382
|
+
let _ = [];
|
|
3383
|
+
if (((f = (S = (L = w == null ? void 0 : w.data) == null ? void 0 : L.data) == null ? void 0 : S.columns) == null ? void 0 : f.length) > 0) {
|
|
3384
|
+
const W = w.data.data.columns[0], H = w.data.data.columns[1];
|
|
3385
|
+
_ = (R = (T = (p = w == null ? void 0 : w.data) == null ? void 0 : p.data) == null ? void 0 : T.rows) == null ? void 0 : R.map((O) => ({
|
|
3386
|
+
name: O[W],
|
|
3387
|
+
value: O[H]
|
|
3387
3388
|
}));
|
|
3388
3389
|
}
|
|
3389
|
-
c(
|
|
3390
|
+
c(_);
|
|
3390
3391
|
} catch (w) {
|
|
3391
3392
|
console.error(w);
|
|
3392
3393
|
} finally {
|
|
3393
3394
|
h.value = !1;
|
|
3394
3395
|
}
|
|
3395
|
-
},
|
|
3396
|
+
}, x = () => {
|
|
3396
3397
|
C(l) !== "design" && (y(), u());
|
|
3397
3398
|
};
|
|
3398
3399
|
he(e, {
|
|
3399
3400
|
resetRecord: () => {
|
|
3400
|
-
const
|
|
3401
|
-
i(
|
|
3401
|
+
const L = e.id, S = s(L);
|
|
3402
|
+
i(L, { ...S, RECORD: "" });
|
|
3402
3403
|
},
|
|
3403
3404
|
refreshData: () => {
|
|
3404
|
-
|
|
3405
|
+
x();
|
|
3405
3406
|
},
|
|
3406
3407
|
click: b
|
|
3407
3408
|
});
|
|
3408
3409
|
const { setRequest: k } = N(Se, {
|
|
3409
3410
|
// @ts-ignore
|
|
3410
3411
|
// eslint-disable-next-line no-void
|
|
3411
|
-
setRequest: ({ id:
|
|
3412
|
+
setRequest: ({ id: L, sortNum: S, requestFn: f }) => {
|
|
3412
3413
|
}
|
|
3413
3414
|
});
|
|
3414
3415
|
return k({
|
|
3415
3416
|
id: e.id,
|
|
3416
|
-
requestFn:
|
|
3417
|
+
requestFn: x,
|
|
3417
3418
|
sortNum: e.requestSort
|
|
3418
3419
|
}), {
|
|
3419
3420
|
option: r,
|
|
@@ -3546,7 +3547,7 @@ const or = Q({
|
|
|
3546
3547
|
components: {
|
|
3547
3548
|
Spin: tt,
|
|
3548
3549
|
Echarts: ze,
|
|
3549
|
-
AModal:
|
|
3550
|
+
AModal: xe
|
|
3550
3551
|
},
|
|
3551
3552
|
setup(e) {
|
|
3552
3553
|
const n = ie(e), t = M([]), o = M([]), a = M(!1), r = () => {
|
|
@@ -3582,7 +3583,7 @@ const or = Q({
|
|
|
3582
3583
|
title: "说明信息",
|
|
3583
3584
|
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
3584
3585
|
onclick() {
|
|
3585
|
-
|
|
3586
|
+
xe.info({
|
|
3586
3587
|
title: "说明信息",
|
|
3587
3588
|
content: e.toolboxInfoText
|
|
3588
3589
|
});
|
|
@@ -3610,16 +3611,16 @@ const or = Q({
|
|
|
3610
3611
|
const T = p.length;
|
|
3611
3612
|
let R = "", w = e.tooltipFormatter;
|
|
3612
3613
|
w === "" && (w = "{marker} {a} {c}");
|
|
3613
|
-
for (let
|
|
3614
|
-
const { marker:
|
|
3615
|
-
|
|
3614
|
+
for (let _ = 0; _ < T; _++) {
|
|
3615
|
+
const { marker: W, seriesName: H, name: O, value: P, data: z } = p[_] || {};
|
|
3616
|
+
_ === 0 && (R += `${O}<br/>`), R += se(
|
|
3616
3617
|
w,
|
|
3617
3618
|
{
|
|
3618
|
-
marker:
|
|
3619
|
-
name:
|
|
3619
|
+
marker: W,
|
|
3620
|
+
name: O,
|
|
3620
3621
|
value: P,
|
|
3621
3622
|
a: H,
|
|
3622
|
-
b:
|
|
3623
|
+
b: O,
|
|
3623
3624
|
c: P,
|
|
3624
3625
|
...z
|
|
3625
3626
|
},
|
|
@@ -3705,18 +3706,18 @@ const or = Q({
|
|
|
3705
3706
|
}), c = (S = [], f = !1) => {
|
|
3706
3707
|
let p;
|
|
3707
3708
|
if (e.dataFieldConfigType === "key") {
|
|
3708
|
-
const
|
|
3709
|
-
p = Pe(S,
|
|
3709
|
+
const _ = f ? e.keyTypeDataFieldNames : null;
|
|
3710
|
+
p = Pe(S, _);
|
|
3710
3711
|
} else if (e.dataFieldConfigType === "value") {
|
|
3711
|
-
const
|
|
3712
|
-
p = Qe(S,
|
|
3712
|
+
const _ = f ? e.valueTypeDataFieldNames : null;
|
|
3713
|
+
p = Qe(S, _);
|
|
3713
3714
|
}
|
|
3714
3715
|
o.value = p.dimensions;
|
|
3715
3716
|
const T = p.dataset, R = [], w = T.length;
|
|
3716
|
-
for (let
|
|
3717
|
+
for (let _ = 0; _ < w; _++)
|
|
3717
3718
|
R.push({
|
|
3718
3719
|
type: "line",
|
|
3719
|
-
...T[
|
|
3720
|
+
...T[_],
|
|
3720
3721
|
symbolSize: e.symbolSize,
|
|
3721
3722
|
smooth: e.smooth,
|
|
3722
3723
|
areaStyle: {
|
|
@@ -3743,9 +3744,9 @@ const or = Q({
|
|
|
3743
3744
|
}, h = (S = [], f, p = !1) => {
|
|
3744
3745
|
const R = Pe(S, p ? f : null);
|
|
3745
3746
|
o.value = R.dimensions;
|
|
3746
|
-
const w = R.dataset,
|
|
3747
|
-
for (let H = 0; H <
|
|
3748
|
-
|
|
3747
|
+
const w = R.dataset, _ = [], W = w.length;
|
|
3748
|
+
for (let H = 0; H < W; H++)
|
|
3749
|
+
_.push({
|
|
3749
3750
|
type: "line",
|
|
3750
3751
|
...w[H],
|
|
3751
3752
|
symbolSize: e.symbolSize,
|
|
@@ -3754,7 +3755,7 @@ const or = Q({
|
|
|
3754
3755
|
width: e.lineStyleWidth
|
|
3755
3756
|
}
|
|
3756
3757
|
});
|
|
3757
|
-
t.value =
|
|
3758
|
+
t.value = _;
|
|
3758
3759
|
};
|
|
3759
3760
|
ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([S]) => {
|
|
3760
3761
|
(e.dataType === "static" || C(d) === "design") && c(S);
|
|
@@ -3762,7 +3763,7 @@ const or = Q({
|
|
|
3762
3763
|
immediate: !0,
|
|
3763
3764
|
deep: !0
|
|
3764
3765
|
});
|
|
3765
|
-
const g = M(!1), u =
|
|
3766
|
+
const g = M(!1), u = Ae(e), m = async () => {
|
|
3766
3767
|
var S, f;
|
|
3767
3768
|
if (!(e.dataType !== "request" || C(d) === "design"))
|
|
3768
3769
|
try {
|
|
@@ -3777,28 +3778,28 @@ const or = Q({
|
|
|
3777
3778
|
}, v = fe(e)("click", (S) => {
|
|
3778
3779
|
const f = i(e.id);
|
|
3779
3780
|
l(e.id, { ...f, RECORD: S == null ? void 0 : S.data });
|
|
3780
|
-
}), y = Nt(e),
|
|
3781
|
+
}), y = Nt(e), x = async () => {
|
|
3781
3782
|
var S, f, p, T, R;
|
|
3782
3783
|
if (!(e.dataType !== "indicator" || C(d) === "design"))
|
|
3783
3784
|
try {
|
|
3784
3785
|
g.value = !0;
|
|
3785
3786
|
const w = await y();
|
|
3786
|
-
let
|
|
3787
|
-
((p = (f = (S = w == null ? void 0 : w.data) == null ? void 0 : S.data) == null ? void 0 : f.columns) == null ? void 0 : p.length) > 0 && (
|
|
3787
|
+
let _;
|
|
3788
|
+
((p = (f = (S = w == null ? void 0 : w.data) == null ? void 0 : S.data) == null ? void 0 : f.columns) == null ? void 0 : p.length) > 0 && (_ = {
|
|
3788
3789
|
name: w.data.data.columns[0],
|
|
3789
|
-
types: w.data.data.columns.slice(1).map((
|
|
3790
|
-
}), h((R = (T = w == null ? void 0 : w.data) == null ? void 0 : T.data) == null ? void 0 : R.rows,
|
|
3790
|
+
types: w.data.data.columns.slice(1).map((W) => ({ label: W, value: W }))
|
|
3791
|
+
}), h((R = (T = w == null ? void 0 : w.data) == null ? void 0 : T.data) == null ? void 0 : R.rows, _, !0);
|
|
3791
3792
|
} catch (w) {
|
|
3792
3793
|
console.error(w);
|
|
3793
3794
|
} finally {
|
|
3794
3795
|
g.value = !1;
|
|
3795
3796
|
}
|
|
3796
|
-
},
|
|
3797
|
-
C(d) !== "design" && (
|
|
3797
|
+
}, A = () => {
|
|
3798
|
+
C(d) !== "design" && (x(), m());
|
|
3798
3799
|
};
|
|
3799
3800
|
he(e, {
|
|
3800
3801
|
refreshData: () => {
|
|
3801
|
-
|
|
3802
|
+
A();
|
|
3802
3803
|
},
|
|
3803
3804
|
resetRecord: () => {
|
|
3804
3805
|
const S = e.id, f = i(S);
|
|
@@ -3806,15 +3807,15 @@ const or = Q({
|
|
|
3806
3807
|
},
|
|
3807
3808
|
click: v
|
|
3808
3809
|
});
|
|
3809
|
-
const { setRequest:
|
|
3810
|
+
const { setRequest: L } = N(Se, {
|
|
3810
3811
|
// @ts-ignore
|
|
3811
3812
|
// eslint-disable-next-line no-void
|
|
3812
3813
|
setRequest: ({ id: S, sortNum: f, requestFn: p }) => {
|
|
3813
3814
|
}
|
|
3814
3815
|
});
|
|
3815
|
-
return
|
|
3816
|
+
return L({
|
|
3816
3817
|
id: e.id,
|
|
3817
|
-
requestFn:
|
|
3818
|
+
requestFn: A,
|
|
3818
3819
|
sortNum: e.requestSort
|
|
3819
3820
|
}), {
|
|
3820
3821
|
option: s,
|
|
@@ -3905,9 +3906,9 @@ const lr = /* @__PURE__ */ X(or, [["render", ar]]), ir = oe(lr), io = {
|
|
|
3905
3906
|
tooltipShow: !0,
|
|
3906
3907
|
tooltipTextStyleColor: "",
|
|
3907
3908
|
tooltipFormatter: "{marker} {a} {c}",
|
|
3908
|
-
xAxisLabelInterval: 0,
|
|
3909
3909
|
xAxisSplitLineShow: !0,
|
|
3910
3910
|
xAxisSplitLineStyleColor: "#333",
|
|
3911
|
+
xAxisLabelInterval: 0,
|
|
3911
3912
|
xAxisLabelColor: "#333",
|
|
3912
3913
|
xAxisLabelWidth: void 0,
|
|
3913
3914
|
xAxisLabelRotate: 0,
|
|
@@ -3975,7 +3976,7 @@ const sr = Q({
|
|
|
3975
3976
|
components: {
|
|
3976
3977
|
Spin: tt,
|
|
3977
3978
|
Echarts: ze,
|
|
3978
|
-
AModal:
|
|
3979
|
+
AModal: xe
|
|
3979
3980
|
},
|
|
3980
3981
|
setup(e, { expose: n }) {
|
|
3981
3982
|
const t = ie(e), o = M([]), a = M(!1), r = () => {
|
|
@@ -4027,7 +4028,7 @@ const sr = Q({
|
|
|
4027
4028
|
title: "说明信息",
|
|
4028
4029
|
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
4029
4030
|
onclick() {
|
|
4030
|
-
|
|
4031
|
+
xe.info({
|
|
4031
4032
|
title: "说明信息",
|
|
4032
4033
|
content: e.toolboxInfoText
|
|
4033
4034
|
});
|
|
@@ -4053,17 +4054,17 @@ const sr = Q({
|
|
|
4053
4054
|
show: e.tooltipShow,
|
|
4054
4055
|
formatter: (T) => {
|
|
4055
4056
|
const R = T.length;
|
|
4056
|
-
let w = "",
|
|
4057
|
-
|
|
4058
|
-
for (let
|
|
4059
|
-
const { marker: H, seriesName:
|
|
4060
|
-
|
|
4061
|
-
|
|
4057
|
+
let w = "", _ = e.tooltipFormatter;
|
|
4058
|
+
_ === "" && (_ = "{marker} {a} {c}");
|
|
4059
|
+
for (let W = 0; W < R; W++) {
|
|
4060
|
+
const { marker: H, seriesName: O, name: P, value: z, data: V } = T[W] || {};
|
|
4061
|
+
W === 0 && (w += `${P}<br/>`), w += se(
|
|
4062
|
+
_,
|
|
4062
4063
|
{
|
|
4063
4064
|
marker: H,
|
|
4064
4065
|
name: P,
|
|
4065
4066
|
value: z,
|
|
4066
|
-
a:
|
|
4067
|
+
a: O,
|
|
4067
4068
|
b: P,
|
|
4068
4069
|
c: z,
|
|
4069
4070
|
...V
|
|
@@ -4172,7 +4173,7 @@ const sr = Q({
|
|
|
4172
4173
|
immediate: !0,
|
|
4173
4174
|
deep: !0
|
|
4174
4175
|
});
|
|
4175
|
-
const u =
|
|
4176
|
+
const u = Ae(e), m = async () => {
|
|
4176
4177
|
var f, p;
|
|
4177
4178
|
try {
|
|
4178
4179
|
l.value = !0;
|
|
@@ -4183,7 +4184,7 @@ const sr = Q({
|
|
|
4183
4184
|
} finally {
|
|
4184
4185
|
l.value = !1;
|
|
4185
4186
|
}
|
|
4186
|
-
}, b =
|
|
4187
|
+
}, b = Fn(e), v = async () => {
|
|
4187
4188
|
var f;
|
|
4188
4189
|
try {
|
|
4189
4190
|
l.value = !0;
|
|
@@ -4191,9 +4192,9 @@ const sr = Q({
|
|
|
4191
4192
|
let w;
|
|
4192
4193
|
T.length > 0 && (w = {
|
|
4193
4194
|
name: T[0],
|
|
4194
|
-
types: T.slice(1).map((
|
|
4195
|
-
label:
|
|
4196
|
-
value:
|
|
4195
|
+
types: T.slice(1).map((_) => ({
|
|
4196
|
+
label: _,
|
|
4197
|
+
value: _
|
|
4197
4198
|
}))
|
|
4198
4199
|
}), g(R, w, !0);
|
|
4199
4200
|
} catch (p) {
|
|
@@ -4215,7 +4216,7 @@ const sr = Q({
|
|
|
4215
4216
|
n({
|
|
4216
4217
|
refreshData: y
|
|
4217
4218
|
});
|
|
4218
|
-
const
|
|
4219
|
+
const x = fe(e), { getGlobalModel: A, setGlobalModel: F } = N(ue, {
|
|
4219
4220
|
// @ts-ignore
|
|
4220
4221
|
// eslint-disable-next-line no-void
|
|
4221
4222
|
getGlobalModel: (f) => {
|
|
@@ -4224,16 +4225,16 @@ const sr = Q({
|
|
|
4224
4225
|
// eslint-disable-next-line no-void
|
|
4225
4226
|
setGlobalModel: (f, p) => {
|
|
4226
4227
|
}
|
|
4227
|
-
}), k =
|
|
4228
|
-
const p =
|
|
4229
|
-
|
|
4230
|
-
}), { setRequest:
|
|
4228
|
+
}), k = x("click", (f) => {
|
|
4229
|
+
const p = A(e.id);
|
|
4230
|
+
F(e.id, { ...p, RECORD: f.data });
|
|
4231
|
+
}), { setRequest: L } = N(Se, {
|
|
4231
4232
|
// @ts-ignore
|
|
4232
4233
|
// eslint-disable-next-line no-void
|
|
4233
4234
|
setRequest: ({ id: f, sortNum: p, requestFn: T }) => {
|
|
4234
4235
|
}
|
|
4235
4236
|
});
|
|
4236
|
-
return
|
|
4237
|
+
return L({
|
|
4237
4238
|
id: e.id,
|
|
4238
4239
|
requestFn: y,
|
|
4239
4240
|
sortNum: e.requestSort
|
|
@@ -4241,8 +4242,8 @@ const sr = Q({
|
|
|
4241
4242
|
refreshData: y,
|
|
4242
4243
|
click: k,
|
|
4243
4244
|
resetRecord: () => {
|
|
4244
|
-
const f = e.id, p =
|
|
4245
|
-
|
|
4245
|
+
const f = e.id, p = A(f);
|
|
4246
|
+
F(f, { ...p, RECORD: "" });
|
|
4246
4247
|
}
|
|
4247
4248
|
}), {
|
|
4248
4249
|
option: d,
|
|
@@ -4324,9 +4325,13 @@ const dr = /* @__PURE__ */ X(sr, [["render", cr]]), ur = oe(dr), so = {
|
|
|
4324
4325
|
symbolSize: 10,
|
|
4325
4326
|
xAxisSplitLineShow: !0,
|
|
4326
4327
|
xAxisSplitLineStyleColor: "#333",
|
|
4327
|
-
xAxisLabelColor: "#333",
|
|
4328
4328
|
xAxisLineStyleColor: "#333",
|
|
4329
4329
|
xAxisTickShow: !0,
|
|
4330
|
+
xAxisLabelColor: "#333",
|
|
4331
|
+
xAxisLabelOverflow: "none",
|
|
4332
|
+
xAxisLabelInterval: 0,
|
|
4333
|
+
xAxisLabelWidth: void 0,
|
|
4334
|
+
xAxisLabelRotate: 0,
|
|
4330
4335
|
xAxisLabelFormatter: "{value}",
|
|
4331
4336
|
yAxisSplitLineShow: !0,
|
|
4332
4337
|
yAxisSplitLineStyleColor: "#333",
|
|
@@ -4355,7 +4360,7 @@ Be([
|
|
|
4355
4360
|
Cn,
|
|
4356
4361
|
Xe,
|
|
4357
4362
|
Ke,
|
|
4358
|
-
|
|
4363
|
+
Ft,
|
|
4359
4364
|
et
|
|
4360
4365
|
]);
|
|
4361
4366
|
const mr = Q({
|
|
@@ -4366,13 +4371,13 @@ const mr = Q({
|
|
|
4366
4371
|
components: {
|
|
4367
4372
|
Spin: tt,
|
|
4368
4373
|
Echarts: ze,
|
|
4369
|
-
AModal:
|
|
4374
|
+
AModal: xe
|
|
4370
4375
|
},
|
|
4371
4376
|
setup(e) {
|
|
4372
4377
|
const n = ie(e), t = M([]), o = M(!1), a = () => {
|
|
4373
4378
|
o.value = !1;
|
|
4374
4379
|
}, r = q(() => {
|
|
4375
|
-
const y = e.xAxisLabelFormatter,
|
|
4380
|
+
const y = e.xAxisLabelFormatter, x = e.yAxisLabelFormatter;
|
|
4376
4381
|
return {
|
|
4377
4382
|
toolbox: {
|
|
4378
4383
|
show: e.toolboxShow,
|
|
@@ -4402,7 +4407,7 @@ const mr = Q({
|
|
|
4402
4407
|
title: "说明信息",
|
|
4403
4408
|
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
4404
4409
|
onclick() {
|
|
4405
|
-
|
|
4410
|
+
xe.info({
|
|
4406
4411
|
title: "说明信息",
|
|
4407
4412
|
content: e.toolboxInfoText
|
|
4408
4413
|
});
|
|
@@ -4433,8 +4438,12 @@ const mr = Q({
|
|
|
4433
4438
|
},
|
|
4434
4439
|
axisLabel: {
|
|
4435
4440
|
color: e.xAxisLabelColor,
|
|
4436
|
-
|
|
4437
|
-
|
|
4441
|
+
interval: e.xAxisLabelInterval,
|
|
4442
|
+
rotate: e.xAxisLabelRotate,
|
|
4443
|
+
width: e.xAxisLabelWidth,
|
|
4444
|
+
overflow: e.xAxisLabelOverflow,
|
|
4445
|
+
formatter(A) {
|
|
4446
|
+
return $e(y, A);
|
|
4438
4447
|
}
|
|
4439
4448
|
},
|
|
4440
4449
|
axisLine: {
|
|
@@ -4455,8 +4464,8 @@ const mr = Q({
|
|
|
4455
4464
|
},
|
|
4456
4465
|
axisLabel: {
|
|
4457
4466
|
color: e.yAxisLabelColor,
|
|
4458
|
-
formatter(
|
|
4459
|
-
return $e(
|
|
4467
|
+
formatter(A) {
|
|
4468
|
+
return $e(x, A);
|
|
4460
4469
|
}
|
|
4461
4470
|
},
|
|
4462
4471
|
axisLine: {
|
|
@@ -4469,16 +4478,16 @@ const mr = Q({
|
|
|
4469
4478
|
tooltip: {
|
|
4470
4479
|
show: e.tooltipShow,
|
|
4471
4480
|
trigger: e.tooltipTrigger,
|
|
4472
|
-
formatter: function(
|
|
4481
|
+
formatter: function(A) {
|
|
4473
4482
|
var p;
|
|
4474
|
-
const { marker:
|
|
4483
|
+
const { marker: F, seriesName: k } = A, L = ((p = A == null ? void 0 : A.data) == null ? void 0 : p.record) ?? {}, { name: S, value: f } = L;
|
|
4475
4484
|
return se(e.tooltipFormatter, {
|
|
4476
|
-
marker:
|
|
4485
|
+
marker: F,
|
|
4477
4486
|
seriesName: k,
|
|
4478
4487
|
a: k,
|
|
4479
4488
|
b: S,
|
|
4480
4489
|
c: f,
|
|
4481
|
-
...
|
|
4490
|
+
...L
|
|
4482
4491
|
});
|
|
4483
4492
|
},
|
|
4484
4493
|
axisPointer: {
|
|
@@ -4507,13 +4516,13 @@ const mr = Q({
|
|
|
4507
4516
|
},
|
|
4508
4517
|
// @ts-ignore
|
|
4509
4518
|
// eslint-disable-next-line no-void
|
|
4510
|
-
setGlobalModel: (y,
|
|
4519
|
+
setGlobalModel: (y, x) => {
|
|
4511
4520
|
}
|
|
4512
4521
|
}), { pageMode: l } = N(ce, {
|
|
4513
4522
|
pageMode: "normal"
|
|
4514
|
-
}), d = (y = [],
|
|
4515
|
-
const { name:
|
|
4516
|
-
t.value = y.map((k) => ({ value: [k[
|
|
4523
|
+
}), d = (y = [], x) => {
|
|
4524
|
+
const { name: A = "name", value: F = "value" } = x || {};
|
|
4525
|
+
t.value = y.map((k) => ({ value: [k[A], k[F]], record: k }));
|
|
4517
4526
|
};
|
|
4518
4527
|
ne(() => e.data, (y) => {
|
|
4519
4528
|
(e.dataType === "static" || C(l) === "design") && d(y);
|
|
@@ -4521,22 +4530,22 @@ const mr = Q({
|
|
|
4521
4530
|
immediate: !0,
|
|
4522
4531
|
deep: !0
|
|
4523
4532
|
});
|
|
4524
|
-
const c = M(!1), h =
|
|
4525
|
-
var y,
|
|
4533
|
+
const c = M(!1), h = Ae(e), g = async () => {
|
|
4534
|
+
var y, x;
|
|
4526
4535
|
if (!(e.dataType !== "request" || C(l) === "design")) {
|
|
4527
4536
|
c.value = !0;
|
|
4528
4537
|
try {
|
|
4529
|
-
const
|
|
4530
|
-
d((
|
|
4531
|
-
} catch (
|
|
4532
|
-
console.error(
|
|
4538
|
+
const A = await h();
|
|
4539
|
+
d((x = (y = A == null ? void 0 : A.data) == null ? void 0 : y.data) == null ? void 0 : x.rows, e.dataFieldNames);
|
|
4540
|
+
} catch (A) {
|
|
4541
|
+
console.error(A);
|
|
4533
4542
|
} finally {
|
|
4534
4543
|
c.value = !1;
|
|
4535
4544
|
}
|
|
4536
4545
|
}
|
|
4537
4546
|
}, m = fe(e)("click", (y) => {
|
|
4538
|
-
const
|
|
4539
|
-
i(
|
|
4547
|
+
const x = e.id, A = s(x);
|
|
4548
|
+
i(x, { ...A, RECORD: y == null ? void 0 : y.data });
|
|
4540
4549
|
});
|
|
4541
4550
|
he(e, {
|
|
4542
4551
|
refreshData: () => {
|
|
@@ -4547,7 +4556,7 @@ const mr = Q({
|
|
|
4547
4556
|
const { setRequest: v } = N(Se, {
|
|
4548
4557
|
// @ts-ignore
|
|
4549
4558
|
// eslint-disable-next-line no-void
|
|
4550
|
-
setRequest: ({ id: y, sortNum:
|
|
4559
|
+
setRequest: ({ id: y, sortNum: x, requestFn: A }) => {
|
|
4551
4560
|
}
|
|
4552
4561
|
});
|
|
4553
4562
|
return v({
|
|
@@ -4704,6 +4713,9 @@ const pr = /* @__PURE__ */ X(br, [["render", vr]]), Cr = oe(pr), mo = {
|
|
|
4704
4713
|
tooltipFormatter: "{marker} {a} {c}",
|
|
4705
4714
|
xAxisLabelInterval: 0,
|
|
4706
4715
|
xAxisSplitLineShow: !0,
|
|
4716
|
+
xAxisLabelRotate: 0,
|
|
4717
|
+
xAxisLabelOverflow: "none",
|
|
4718
|
+
xAxisLabelWidth: void 0,
|
|
4707
4719
|
xAxisSplitLineStyleColor: "#333",
|
|
4708
4720
|
xAxisLabelColor: "#333",
|
|
4709
4721
|
xAxisLineStyleColor: "#333",
|
|
@@ -4773,7 +4785,7 @@ const wr = Q({
|
|
|
4773
4785
|
components: {
|
|
4774
4786
|
Spin: tt,
|
|
4775
4787
|
Echarts: ze,
|
|
4776
|
-
AModal:
|
|
4788
|
+
AModal: xe
|
|
4777
4789
|
},
|
|
4778
4790
|
setup(e) {
|
|
4779
4791
|
const n = ie(e), t = M([]), o = M([]), a = M(!1), r = () => {
|
|
@@ -4812,7 +4824,7 @@ const wr = Q({
|
|
|
4812
4824
|
title: "说明信息",
|
|
4813
4825
|
icon: "path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",
|
|
4814
4826
|
onclick() {
|
|
4815
|
-
|
|
4827
|
+
xe.info({
|
|
4816
4828
|
title: "说明信息",
|
|
4817
4829
|
content: e.toolboxInfoText
|
|
4818
4830
|
});
|
|
@@ -4845,13 +4857,13 @@ const wr = Q({
|
|
|
4845
4857
|
let T = "", R = e.tooltipFormatter;
|
|
4846
4858
|
R === "" && (R = "{marker} {a} {c}");
|
|
4847
4859
|
const w = e.seriesTypes;
|
|
4848
|
-
for (let
|
|
4849
|
-
const
|
|
4850
|
-
|
|
4860
|
+
for (let _ = 0; _ < p; _++) {
|
|
4861
|
+
const W = w[_], { tooltipFormatter: H } = W || {}, { marker: O, seriesName: P, name: z, value: V, data: K } = f[_] || {};
|
|
4862
|
+
_ === 0 && (T += `${z}<br/>`), T += se(
|
|
4851
4863
|
// 如果系列有提示框组件就使用自定义,没有就用默认的
|
|
4852
4864
|
H || R,
|
|
4853
4865
|
{
|
|
4854
|
-
marker:
|
|
4866
|
+
marker: O,
|
|
4855
4867
|
name: z,
|
|
4856
4868
|
value: V,
|
|
4857
4869
|
seriesName: P,
|
|
@@ -4883,7 +4895,11 @@ const wr = Q({
|
|
|
4883
4895
|
}
|
|
4884
4896
|
},
|
|
4885
4897
|
axisLabel: {
|
|
4886
|
-
color: e.xAxisLabelColor
|
|
4898
|
+
color: e.xAxisLabelColor,
|
|
4899
|
+
interval: e.xAxisLabelInterval,
|
|
4900
|
+
rotate: e.xAxisLabelRotate,
|
|
4901
|
+
width: e.xAxisLabelWidth,
|
|
4902
|
+
overflow: e.xAxisLabelOverflow
|
|
4887
4903
|
},
|
|
4888
4904
|
axisLine: {
|
|
4889
4905
|
lineStyle: {
|
|
@@ -4908,9 +4924,9 @@ const wr = Q({
|
|
|
4908
4924
|
T = Qe(f, H);
|
|
4909
4925
|
}
|
|
4910
4926
|
o.value = T.dimensions;
|
|
4911
|
-
const R = T.dataset, w = [],
|
|
4912
|
-
for (let H = 0; H <
|
|
4913
|
-
const
|
|
4927
|
+
const R = T.dataset, w = [], _ = R.length, W = e.seriesTypes;
|
|
4928
|
+
for (let H = 0; H < _; H++) {
|
|
4929
|
+
const O = W[H], { type: P, axisIndex: z } = O || {};
|
|
4914
4930
|
let V = {
|
|
4915
4931
|
type: P,
|
|
4916
4932
|
yAxisIndex: z,
|
|
@@ -4935,16 +4951,16 @@ const wr = Q({
|
|
|
4935
4951
|
}, d = (f = [], p, T = !1) => {
|
|
4936
4952
|
const w = Pe(f, T ? p : null);
|
|
4937
4953
|
o.value = w.dimensions;
|
|
4938
|
-
const
|
|
4954
|
+
const _ = w.dataset, W = [], H = _.length, O = e.seriesTypes;
|
|
4939
4955
|
for (let P = 0; P < H; P++) {
|
|
4940
|
-
const z =
|
|
4941
|
-
|
|
4956
|
+
const z = O[P];
|
|
4957
|
+
W.push({
|
|
4942
4958
|
type: z == null ? void 0 : z.type,
|
|
4943
4959
|
yAxisIndex: z == null ? void 0 : z.axisIndex,
|
|
4944
|
-
...
|
|
4960
|
+
..._[P]
|
|
4945
4961
|
});
|
|
4946
4962
|
}
|
|
4947
|
-
t.value =
|
|
4963
|
+
t.value = W;
|
|
4948
4964
|
};
|
|
4949
4965
|
ne(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([f]) => {
|
|
4950
4966
|
(e.dataType === "static" || C(i) === "design") && l(f);
|
|
@@ -4975,7 +4991,7 @@ const wr = Q({
|
|
|
4975
4991
|
}
|
|
4976
4992
|
}
|
|
4977
4993
|
}));
|
|
4978
|
-
}), h = M(!1), g =
|
|
4994
|
+
}), h = M(!1), g = Ae(e), u = async () => {
|
|
4979
4995
|
var f, p;
|
|
4980
4996
|
if (!(e.dataType !== "request" || C(i) === "design"))
|
|
4981
4997
|
try {
|
|
@@ -4992,14 +5008,14 @@ const wr = Q({
|
|
|
4992
5008
|
if (!(e.dataType !== "indicator" || C(i) === "design"))
|
|
4993
5009
|
try {
|
|
4994
5010
|
h.value = !0;
|
|
4995
|
-
const
|
|
4996
|
-
let
|
|
4997
|
-
((T = (p = (f =
|
|
4998
|
-
name:
|
|
4999
|
-
types:
|
|
5000
|
-
}), d((w = (R =
|
|
5001
|
-
} catch (
|
|
5002
|
-
console.error(
|
|
5011
|
+
const _ = await m();
|
|
5012
|
+
let W;
|
|
5013
|
+
((T = (p = (f = _ == null ? void 0 : _.data) == null ? void 0 : f.data) == null ? void 0 : p.columns) == null ? void 0 : T.length) > 0 && (W = {
|
|
5014
|
+
name: _.data.data.columns[0],
|
|
5015
|
+
types: _.data.data.columns.slice(1).map((H) => ({ label: H, value: H }))
|
|
5016
|
+
}), d((w = (R = _ == null ? void 0 : _.data) == null ? void 0 : R.data) == null ? void 0 : w.rows, W, !0);
|
|
5017
|
+
} catch (_) {
|
|
5018
|
+
console.error(_);
|
|
5003
5019
|
} finally {
|
|
5004
5020
|
h.value = !1;
|
|
5005
5021
|
}
|
|
@@ -5007,7 +5023,7 @@ const wr = Q({
|
|
|
5007
5023
|
C(i) !== "design" && (b(), u());
|
|
5008
5024
|
}, y = () => {
|
|
5009
5025
|
v();
|
|
5010
|
-
},
|
|
5026
|
+
}, x = fe(e), { getGlobalModel: A, setGlobalModel: F } = N(ue, {
|
|
5011
5027
|
// @ts-ignore
|
|
5012
5028
|
// eslint-disable-next-line no-void
|
|
5013
5029
|
getGlobalModel: (f) => {
|
|
@@ -5016,23 +5032,23 @@ const wr = Q({
|
|
|
5016
5032
|
// eslint-disable-next-line no-void
|
|
5017
5033
|
setGlobalModel: (f, p) => {
|
|
5018
5034
|
}
|
|
5019
|
-
}), k =
|
|
5020
|
-
const p =
|
|
5021
|
-
|
|
5022
|
-
}), { setRequest:
|
|
5035
|
+
}), k = x("click", (f) => {
|
|
5036
|
+
const p = A(e.id);
|
|
5037
|
+
F(e.id, { ...p, RECORD: f == null ? void 0 : f.data });
|
|
5038
|
+
}), { setRequest: L } = N(Se, {
|
|
5023
5039
|
// @ts-ignore
|
|
5024
5040
|
// eslint-disable-next-line no-void
|
|
5025
5041
|
setRequest: ({ id: f, sortNum: p, requestFn: T }) => {
|
|
5026
5042
|
}
|
|
5027
5043
|
});
|
|
5028
|
-
return
|
|
5044
|
+
return L({
|
|
5029
5045
|
id: e.id,
|
|
5030
5046
|
requestFn: v,
|
|
5031
5047
|
sortNum: e.requestSort
|
|
5032
5048
|
}), he(e, {
|
|
5033
5049
|
resetRecord: () => {
|
|
5034
|
-
const f = e.id, p =
|
|
5035
|
-
|
|
5050
|
+
const f = e.id, p = A(f);
|
|
5051
|
+
F(f, { ...p, RECORD: "" });
|
|
5036
5052
|
},
|
|
5037
5053
|
refreshData: y,
|
|
5038
5054
|
click: k
|
|
@@ -5086,7 +5102,7 @@ function kr(e, n, t, o, a, r) {
|
|
|
5086
5102
|
}, 8, ["visible", "onCancel"])
|
|
5087
5103
|
], 4);
|
|
5088
5104
|
}
|
|
5089
|
-
const
|
|
5105
|
+
const xr = /* @__PURE__ */ X(wr, [["render", kr]]), Ar = oe(xr), ho = {
|
|
5090
5106
|
...re,
|
|
5091
5107
|
name: "边框",
|
|
5092
5108
|
keyName: "边框",
|
|
@@ -5107,7 +5123,7 @@ const Ar = /* @__PURE__ */ X(wr, [["render", kr]]), xr = oe(Ar), ho = {
|
|
|
5107
5123
|
useBorderModify: !1,
|
|
5108
5124
|
textShadow: "",
|
|
5109
5125
|
data: {}
|
|
5110
|
-
}, yo = ae(ho), Tr = ["click"],
|
|
5126
|
+
}, yo = ae(ho), Tr = ["click"], Lr = Q({
|
|
5111
5127
|
name: "EcanBorder",
|
|
5112
5128
|
props: {
|
|
5113
5129
|
...yo
|
|
@@ -5149,18 +5165,18 @@ const Ar = /* @__PURE__ */ X(wr, [["render", kr]]), xr = oe(Ar), ho = {
|
|
|
5149
5165
|
theme: t
|
|
5150
5166
|
};
|
|
5151
5167
|
}
|
|
5152
|
-
}),
|
|
5153
|
-
const
|
|
5168
|
+
}), _r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=", Ir = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==";
|
|
5169
|
+
const Le = (e) => (dn("data-v-1550b11b"), e = e(), un(), e), Mr = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "top-left border-item" }, null, -1)), Er = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "top-right border-item" }, null, -1)), Or = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "bottom-left border-item" }, null, -1)), Fr = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "bottom-right border-item" }, null, -1)), Rr = { class: "title-item-wrapper" }, Dr = { class: "title-item" }, $r = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("img", {
|
|
5154
5170
|
class: "title-decoration-left",
|
|
5155
|
-
src:
|
|
5156
|
-
}, null, -1)), zr = { class: "title" }, Nr = /* @__PURE__ */
|
|
5171
|
+
src: _r
|
|
5172
|
+
}, null, -1)), zr = { class: "title" }, Nr = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("img", {
|
|
5157
5173
|
class: "title-decoration-right",
|
|
5158
5174
|
src: Ir
|
|
5159
|
-
}, null, -1)), Pr = /* @__PURE__ */
|
|
5175
|
+
}, null, -1)), Pr = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "top-left border-item" }, null, -1)), Br = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "top-right border-item" }, null, -1)), Gr = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "bottom-left border-item" }, null, -1)), Ur = /* @__PURE__ */ Le(() => /* @__PURE__ */ ee("div", { class: "bottom-right border-item" }, null, -1)), qr = {
|
|
5160
5176
|
key: 2,
|
|
5161
5177
|
class: "left-title"
|
|
5162
|
-
},
|
|
5163
|
-
function
|
|
5178
|
+
}, Wr = { class: "title" };
|
|
5179
|
+
function jr(e, n, t, o, a, r) {
|
|
5164
5180
|
return E(), $("div", {
|
|
5165
5181
|
class: "ecan-border",
|
|
5166
5182
|
style: G(e.style),
|
|
@@ -5174,8 +5190,8 @@ function Wr(e, n, t, o, a, r) {
|
|
|
5174
5190
|
e.useBorderModify ? (E(), $(Ie, { key: 0 }, [
|
|
5175
5191
|
Mr,
|
|
5176
5192
|
Er,
|
|
5177
|
-
|
|
5178
|
-
|
|
5193
|
+
Or,
|
|
5194
|
+
Fr
|
|
5179
5195
|
], 64)) : ve("", !0)
|
|
5180
5196
|
], 4)) : ve("", !0),
|
|
5181
5197
|
e.mode === "top-title" ? (E(), $("div", {
|
|
@@ -5196,13 +5212,13 @@ function Wr(e, n, t, o, a, r) {
|
|
|
5196
5212
|
Ur
|
|
5197
5213
|
], 4)) : ve("", !0),
|
|
5198
5214
|
e.mode === "left-title" ? (E(), $("div", qr, [
|
|
5199
|
-
ee("div",
|
|
5215
|
+
ee("div", Wr, [
|
|
5200
5216
|
ee("span", null, ye(e.title), 1)
|
|
5201
5217
|
])
|
|
5202
5218
|
])) : ve("", !0)
|
|
5203
5219
|
], 4);
|
|
5204
5220
|
}
|
|
5205
|
-
const Vr = /* @__PURE__ */ X(
|
|
5221
|
+
const Vr = /* @__PURE__ */ X(Lr, [["render", jr], ["__scopeId", "data-v-1550b11b"]]), Hr = oe(Vr), bo = {
|
|
5206
5222
|
id: "",
|
|
5207
5223
|
type: "ecanModal",
|
|
5208
5224
|
title: "",
|
|
@@ -5223,7 +5239,7 @@ const Vr = /* @__PURE__ */ X(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5223
5239
|
}, vo = ae(bo), Zr = ["showModal"], Jr = Q({
|
|
5224
5240
|
name: "EcanModal",
|
|
5225
5241
|
components: {
|
|
5226
|
-
AModal:
|
|
5242
|
+
AModal: xe
|
|
5227
5243
|
},
|
|
5228
5244
|
props: {
|
|
5229
5245
|
...vo
|
|
@@ -5252,18 +5268,18 @@ const Vr = /* @__PURE__ */ X(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5252
5268
|
backgroundImage: De(e.backgroundImage, !0),
|
|
5253
5269
|
transform: `scale(${C(l) / parseFloat(o)},${C(c) / parseFloat(a)})`
|
|
5254
5270
|
};
|
|
5255
|
-
},
|
|
5271
|
+
}, x = Ot(() => {
|
|
5256
5272
|
y();
|
|
5257
|
-
}, 100),
|
|
5273
|
+
}, 100), A = () => {
|
|
5258
5274
|
const z = window.MutationObserver;
|
|
5259
|
-
v = new z(
|
|
5275
|
+
v = new z(x), v.observe(document.body, {
|
|
5260
5276
|
attributes: !0,
|
|
5261
5277
|
attributeFilter: ["style"],
|
|
5262
5278
|
attributeOldValue: !0
|
|
5263
5279
|
});
|
|
5264
|
-
},
|
|
5280
|
+
}, F = () => {
|
|
5265
5281
|
v && (v.disconnect(), v.takeRecords(), v = null);
|
|
5266
|
-
}, k = M(!1), { touchRequest:
|
|
5282
|
+
}, k = M(!1), { touchRequest: L } = N(Se, {
|
|
5267
5283
|
// @ts-ignore
|
|
5268
5284
|
// eslint-disable-next-line no-void
|
|
5269
5285
|
touchRequest: () => {
|
|
@@ -5276,27 +5292,27 @@ const Vr = /* @__PURE__ */ X(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5276
5292
|
f();
|
|
5277
5293
|
}, T = () => {
|
|
5278
5294
|
f();
|
|
5279
|
-
}, { setModalModel: R, pushUseModalIds: w, popUseModalIds:
|
|
5295
|
+
}, { setModalModel: R, pushUseModalIds: w, popUseModalIds: _ } = N(Mn, {
|
|
5280
5296
|
pushUseModalIds: (z) => {
|
|
5281
5297
|
},
|
|
5282
5298
|
popUseModalIds: () => {
|
|
5283
5299
|
},
|
|
5284
5300
|
setModalModel: (z, V) => {
|
|
5285
5301
|
}
|
|
5286
|
-
}),
|
|
5302
|
+
}), W = () => {
|
|
5287
5303
|
const z = e.id;
|
|
5288
5304
|
let V = [];
|
|
5289
5305
|
const K = e.componentList;
|
|
5290
5306
|
Array.isArray(K) && (V = K.map((de) => de.id), R(z, [...new Set(V)]));
|
|
5291
5307
|
};
|
|
5292
5308
|
ne(() => k.value, async (z) => {
|
|
5293
|
-
z ? (m.value = !1, w(e.id),
|
|
5294
|
-
y(), window.addEventListener("resize",
|
|
5295
|
-
}),
|
|
5309
|
+
z ? (m.value = !1, w(e.id), W(), await ft(() => {
|
|
5310
|
+
y(), window.addEventListener("resize", x), A(), m.value = !0;
|
|
5311
|
+
}), L()) : (_(), window.removeEventListener("resize", x), F());
|
|
5296
5312
|
});
|
|
5297
|
-
const H = q(() => C(d) >= 1),
|
|
5313
|
+
const H = q(() => C(d) >= 1), O = q(() => e.fullModal), P = q(() => {
|
|
5298
5314
|
let z = "ecan-modal";
|
|
5299
|
-
return C(H) && (z += " ecan-full-width-modal"), C(
|
|
5315
|
+
return C(H) && (z += " ecan-full-width-modal"), C(O) && (z += " ecan-full-modal"), z;
|
|
5300
5316
|
});
|
|
5301
5317
|
return he(e, {
|
|
5302
5318
|
showModal: S
|
|
@@ -5307,7 +5323,7 @@ const Vr = /* @__PURE__ */ X(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5307
5323
|
getContainer: n,
|
|
5308
5324
|
modalStyle: t,
|
|
5309
5325
|
modalWith: i,
|
|
5310
|
-
isFullModal:
|
|
5326
|
+
isFullModal: O,
|
|
5311
5327
|
style: g,
|
|
5312
5328
|
visible: k,
|
|
5313
5329
|
showModal: S,
|
|
@@ -5321,7 +5337,7 @@ const Vr = /* @__PURE__ */ X(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5321
5337
|
});
|
|
5322
5338
|
function Yr(e, n, t, o, a, r) {
|
|
5323
5339
|
const s = Z("a-modal");
|
|
5324
|
-
return E(),
|
|
5340
|
+
return E(), Fe(s, {
|
|
5325
5341
|
getContainer: e.getContainer,
|
|
5326
5342
|
wrapClassName: e.wrapClassName,
|
|
5327
5343
|
centered: "",
|
|
@@ -5333,7 +5349,7 @@ function Yr(e, n, t, o, a, r) {
|
|
|
5333
5349
|
onOk: e.onOk,
|
|
5334
5350
|
onCancel: e.onCancel,
|
|
5335
5351
|
ref: "modalRef"
|
|
5336
|
-
},
|
|
5352
|
+
}, Fo({
|
|
5337
5353
|
default: Y(() => [
|
|
5338
5354
|
ee("div", {
|
|
5339
5355
|
class: "contain",
|
|
@@ -5345,7 +5361,7 @@ function Yr(e, n, t, o, a, r) {
|
|
|
5345
5361
|
class: "content",
|
|
5346
5362
|
style: G(e.contentStyle)
|
|
5347
5363
|
}, [
|
|
5348
|
-
(E(!0), $(Ie, null, Ee(e.componentList, (i, l) => (E(),
|
|
5364
|
+
(E(!0), $(Ie, null, Ee(e.componentList, (i, l) => (E(), Fe(Ro(i.type), Do({
|
|
5349
5365
|
key: i.id + l
|
|
5350
5366
|
}, i), null, 16))), 128))
|
|
5351
5367
|
], 4)) : ve("", !0)
|
|
@@ -5531,7 +5547,7 @@ const os = /* @__PURE__ */ X(es, [["render", ns], ["__scopeId", "data-v-a2045b93
|
|
|
5531
5547
|
onClick: () => {
|
|
5532
5548
|
if (!e.linkPage && !e.href)
|
|
5533
5549
|
return;
|
|
5534
|
-
const r = e.linkPage || "", s =
|
|
5550
|
+
const r = e.linkPage || "", s = On(C(o), r), i = e.href;
|
|
5535
5551
|
let l = i || s;
|
|
5536
5552
|
l = se(l);
|
|
5537
5553
|
const d = e.target;
|
|
@@ -5565,10 +5581,10 @@ const ss = /* @__PURE__ */ X(ls, [["render", rs], ["__scopeId", "data-v-ef7a7bee
|
|
|
5565
5581
|
height: "300px",
|
|
5566
5582
|
link: "",
|
|
5567
5583
|
linkType: "web"
|
|
5568
|
-
},
|
|
5584
|
+
}, xo = ae(ko), ds = Q({
|
|
5569
5585
|
name: "EcanIframe",
|
|
5570
5586
|
props: {
|
|
5571
|
-
...
|
|
5587
|
+
...xo
|
|
5572
5588
|
},
|
|
5573
5589
|
setup(e) {
|
|
5574
5590
|
const n = ie(e), { contextRequestUrl: t } = N(ce, {
|
|
@@ -5599,7 +5615,7 @@ function fs(e, n, t, o, a, r) {
|
|
|
5599
5615
|
style: G(e.style)
|
|
5600
5616
|
}, " 请填写网页链接 ", 4));
|
|
5601
5617
|
}
|
|
5602
|
-
const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c"]]), gs = oe(ms),
|
|
5618
|
+
const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c"]]), gs = oe(ms), Ao = {
|
|
5603
5619
|
...re,
|
|
5604
5620
|
zIndex: 2,
|
|
5605
5621
|
name: "表格",
|
|
@@ -5668,7 +5684,7 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5668
5684
|
layer: "1"
|
|
5669
5685
|
// 图类型, 后台接口
|
|
5670
5686
|
}
|
|
5671
|
-
}, To = ae(
|
|
5687
|
+
}, To = ae(Ao), hs = ["click", "refreshData", "resetRecord"], ys = Q({
|
|
5672
5688
|
name: "EcanTable",
|
|
5673
5689
|
components: {
|
|
5674
5690
|
Skeleton: gt,
|
|
@@ -5705,30 +5721,30 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5705
5721
|
}
|
|
5706
5722
|
}), r = q(() => e.scrollX), s = q(() => parseFloat(e.height) - C(a)), i = M([]), l = M([]), d = M([]), c = M([]), h = M(0), g = M(1), u = q(() => e.paginationPageSize), m = $o([]), b = (I = []) => {
|
|
5707
5723
|
if (Array.isArray(I) && I.length > 0) {
|
|
5708
|
-
const D = I.length,
|
|
5724
|
+
const D = I.length, j = e.columnsFixedNum;
|
|
5709
5725
|
for (let J = 0; J < D; J++) {
|
|
5710
5726
|
const B = I[J];
|
|
5711
|
-
J <
|
|
5727
|
+
J < j ? B.fixed = "left" : B.fixed = !1;
|
|
5712
5728
|
const {
|
|
5713
5729
|
cellAlign: te = "center",
|
|
5714
5730
|
cellColor: le,
|
|
5715
5731
|
dataIndex: me,
|
|
5716
5732
|
title: be,
|
|
5717
5733
|
tableFilter: ge,
|
|
5718
|
-
headerCellAlign:
|
|
5734
|
+
headerCellAlign: We,
|
|
5719
5735
|
headerCellColor: ot
|
|
5720
5736
|
} = B;
|
|
5721
|
-
ge && (m.push(me), B.filterOptionsInputValue = "", B.filterCheckboxGroupValue = [], B.customFilterDropdown = !0, B.onFilter = (
|
|
5737
|
+
ge && (m.push(me), B.filterOptionsInputValue = "", B.filterCheckboxGroupValue = [], B.customFilterDropdown = !0, B.onFilter = (je, yt) => yt[me].toString().toLowerCase().includes(je.toLowerCase())), B.customHeaderCell = () => ({
|
|
5722
5738
|
style: {
|
|
5723
5739
|
display: "table-cell",
|
|
5724
5740
|
verticalAlign: "middle",
|
|
5725
5741
|
fontSize: e.headerFontSize,
|
|
5726
5742
|
fontWeight: e.headerFontWeight,
|
|
5727
|
-
textAlign:
|
|
5743
|
+
textAlign: We || "center",
|
|
5728
5744
|
color: ot,
|
|
5729
5745
|
borderBottomColor: e.borderColor
|
|
5730
5746
|
}
|
|
5731
|
-
}), B.customCell = (
|
|
5747
|
+
}), B.customCell = (je, yt) => ({
|
|
5732
5748
|
style: {
|
|
5733
5749
|
textAlign: te,
|
|
5734
5750
|
color: le,
|
|
@@ -5738,13 +5754,13 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5738
5754
|
class: {
|
|
5739
5755
|
highlight: C(K) === yt && e.clickHighlight
|
|
5740
5756
|
},
|
|
5741
|
-
onClick:
|
|
5757
|
+
onClick: _("click", () => {
|
|
5742
5758
|
const Pt = e.id, Eo = H(Pt);
|
|
5743
|
-
|
|
5759
|
+
je = {
|
|
5744
5760
|
dataIndex: me,
|
|
5745
5761
|
title: be,
|
|
5746
|
-
...
|
|
5747
|
-
},
|
|
5762
|
+
...je
|
|
5763
|
+
}, O(Pt, { ...Eo, RECORD: je });
|
|
5748
5764
|
})
|
|
5749
5765
|
}), Array.isArray(B.children) && b(B.children);
|
|
5750
5766
|
}
|
|
@@ -5776,18 +5792,18 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5776
5792
|
}, {
|
|
5777
5793
|
immediate: !0
|
|
5778
5794
|
});
|
|
5779
|
-
const y = M({}),
|
|
5795
|
+
const y = M({}), x = (I) => {
|
|
5780
5796
|
if (Array.isArray(I)) {
|
|
5781
|
-
const D = I.length,
|
|
5797
|
+
const D = I.length, j = m, J = j.length, B = {};
|
|
5782
5798
|
for (let le = 0; le < D; le++) {
|
|
5783
5799
|
const me = I[le];
|
|
5784
5800
|
for (let be = 0; be < J; be++) {
|
|
5785
|
-
const ge =
|
|
5801
|
+
const ge = j[be];
|
|
5786
5802
|
if (B[ge])
|
|
5787
5803
|
B[ge].add(me[ge]);
|
|
5788
5804
|
else {
|
|
5789
|
-
const
|
|
5790
|
-
|
|
5805
|
+
const We = /* @__PURE__ */ new Set();
|
|
5806
|
+
We.add(me[ge]), B[ge] = We;
|
|
5791
5807
|
}
|
|
5792
5808
|
}
|
|
5793
5809
|
}
|
|
@@ -5802,17 +5818,17 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5802
5818
|
};
|
|
5803
5819
|
ne(() => [e.isReverse, i.value, l.value], () => {
|
|
5804
5820
|
const I = C(i), D = C(l);
|
|
5805
|
-
if (
|
|
5806
|
-
const { columns:
|
|
5807
|
-
d.value =
|
|
5821
|
+
if (x(D), e.isReverse) {
|
|
5822
|
+
const { columns: j, dataSource: J } = A(vt(I), vt(D));
|
|
5823
|
+
d.value = j, c.value = J;
|
|
5808
5824
|
} else
|
|
5809
5825
|
d.value = I, c.value = D;
|
|
5810
5826
|
}, {
|
|
5811
5827
|
immediate: !0
|
|
5812
5828
|
});
|
|
5813
|
-
const
|
|
5814
|
-
const
|
|
5815
|
-
title:
|
|
5829
|
+
const A = (I, D) => {
|
|
5830
|
+
const j = I[0], J = [{
|
|
5831
|
+
title: j.title,
|
|
5816
5832
|
dataIndex: "col0",
|
|
5817
5833
|
key: "col0",
|
|
5818
5834
|
align: "center"
|
|
@@ -5820,7 +5836,7 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5820
5836
|
for (let te = 0; te < D.length; te++) {
|
|
5821
5837
|
const le = D[te], me = "col" + (te + 1);
|
|
5822
5838
|
J.push({
|
|
5823
|
-
title: le[
|
|
5839
|
+
title: le[j.dataIndex],
|
|
5824
5840
|
dataIndex: me,
|
|
5825
5841
|
key: me,
|
|
5826
5842
|
align: "center"
|
|
@@ -5839,31 +5855,31 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5839
5855
|
columns: J,
|
|
5840
5856
|
dataSource: B
|
|
5841
5857
|
};
|
|
5842
|
-
},
|
|
5858
|
+
}, F = M(""), k = Ae(e), L = M(!1), S = async (I = !0) => {
|
|
5843
5859
|
var D;
|
|
5844
5860
|
try {
|
|
5845
|
-
I && (
|
|
5846
|
-
let
|
|
5847
|
-
C(
|
|
5861
|
+
I && (L.value = !0);
|
|
5862
|
+
let j = {};
|
|
5863
|
+
C(F) && (j.orderCondition = C(F)), e.paginationShow && (j = {
|
|
5848
5864
|
pageNum: C(g),
|
|
5849
5865
|
pageSize: C(u),
|
|
5850
5866
|
layer: "1",
|
|
5851
|
-
...
|
|
5867
|
+
...j
|
|
5852
5868
|
});
|
|
5853
|
-
const J = await k(
|
|
5869
|
+
const J = await k(j), { rows: B = [], total: te = 0 } = ((D = J == null ? void 0 : J.data) == null ? void 0 : D.data) || {};
|
|
5854
5870
|
h.value = te, Array.isArray(B) && (l.value = C(l).concat(B));
|
|
5855
|
-
} catch (
|
|
5856
|
-
console.error(
|
|
5871
|
+
} catch (j) {
|
|
5872
|
+
console.error(j);
|
|
5857
5873
|
} finally {
|
|
5858
|
-
|
|
5874
|
+
L.value = !1;
|
|
5859
5875
|
}
|
|
5860
|
-
}, f = ({ current: I }, D,
|
|
5861
|
-
if (g.value = I,
|
|
5862
|
-
const { field: J, order: B } =
|
|
5876
|
+
}, f = ({ current: I }, D, j) => {
|
|
5877
|
+
if (g.value = I, j && Object.keys(j).length > 0) {
|
|
5878
|
+
const { field: J, order: B } = j, le = {
|
|
5863
5879
|
ascend: "asc",
|
|
5864
5880
|
descend: "desc"
|
|
5865
5881
|
}[B];
|
|
5866
|
-
J != null && le != null && (
|
|
5882
|
+
J != null && le != null && (F.value = J + " " + le, g.value = 1);
|
|
5867
5883
|
}
|
|
5868
5884
|
Me(!1);
|
|
5869
5885
|
}, p = q(() => {
|
|
@@ -5882,18 +5898,18 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5882
5898
|
contrast: dt,
|
|
5883
5899
|
boolean: T
|
|
5884
5900
|
}[D](I) || "", w = (I, D) => {
|
|
5885
|
-
const
|
|
5901
|
+
const j = parseFloat(I + "");
|
|
5886
5902
|
if (D !== "contrast")
|
|
5887
5903
|
return "";
|
|
5888
5904
|
switch (!0) {
|
|
5889
|
-
case
|
|
5905
|
+
case j >= 0:
|
|
5890
5906
|
return "goUp";
|
|
5891
|
-
case
|
|
5907
|
+
case j < 0:
|
|
5892
5908
|
return "goDown";
|
|
5893
5909
|
}
|
|
5894
|
-
},
|
|
5910
|
+
}, _ = fe(e), { pageMode: W } = N(ce, {
|
|
5895
5911
|
pageMode: "normal"
|
|
5896
|
-
}), { getGlobalModel: H, setGlobalModel:
|
|
5912
|
+
}), { getGlobalModel: H, setGlobalModel: O } = N(ue, {
|
|
5897
5913
|
// @ts-ignore
|
|
5898
5914
|
// eslint-disable-next-line no-void
|
|
5899
5915
|
getGlobalModel: (I) => {
|
|
@@ -5903,26 +5919,26 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5903
5919
|
setGlobalModel: (I, D) => {
|
|
5904
5920
|
}
|
|
5905
5921
|
}), P = (I = [], D = []) => {
|
|
5906
|
-
const
|
|
5907
|
-
i.value = v(
|
|
5908
|
-
}, z =
|
|
5909
|
-
var I, D,
|
|
5922
|
+
const j = I.map((J) => ({ title: J, dataIndex: J, key: J }));
|
|
5923
|
+
i.value = v(j), l.value = D;
|
|
5924
|
+
}, z = Fn(e), V = async () => {
|
|
5925
|
+
var I, D, j, J;
|
|
5910
5926
|
try {
|
|
5911
|
-
|
|
5927
|
+
L.value = !0;
|
|
5912
5928
|
const B = await z();
|
|
5913
|
-
P((D = (I = B == null ? void 0 : B.data) == null ? void 0 : I.data) == null ? void 0 : D.columns, (J = (
|
|
5929
|
+
P((D = (I = B == null ? void 0 : B.data) == null ? void 0 : I.data) == null ? void 0 : D.columns, (J = (j = B == null ? void 0 : B.data) == null ? void 0 : j.data) == null ? void 0 : J.rows);
|
|
5914
5930
|
} catch (B) {
|
|
5915
5931
|
console.error(B);
|
|
5916
5932
|
} finally {
|
|
5917
|
-
|
|
5933
|
+
L.value = !1;
|
|
5918
5934
|
}
|
|
5919
5935
|
}, K = M(-1), de = (I, D) => ({
|
|
5920
|
-
onClick:
|
|
5921
|
-
const
|
|
5922
|
-
|
|
5936
|
+
onClick: _("rowClick", () => {
|
|
5937
|
+
const j = e.id, J = H(j);
|
|
5938
|
+
O(j, { ...J, RECORD: I }), K.value = D;
|
|
5923
5939
|
})
|
|
5924
5940
|
}), Me = (I = !0) => {
|
|
5925
|
-
if (C(
|
|
5941
|
+
if (C(W) !== "design")
|
|
5926
5942
|
switch (e.dataType) {
|
|
5927
5943
|
case "request":
|
|
5928
5944
|
S(I);
|
|
@@ -5935,13 +5951,13 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5935
5951
|
he(e, {
|
|
5936
5952
|
resetRecord: () => {
|
|
5937
5953
|
const I = e.id, D = H(I);
|
|
5938
|
-
|
|
5954
|
+
O(I, { ...D, RECORD: "" });
|
|
5939
5955
|
},
|
|
5940
5956
|
refreshData: Me
|
|
5941
5957
|
});
|
|
5942
5958
|
const Io = q(() => {
|
|
5943
5959
|
const I = C(d), D = [];
|
|
5944
|
-
let
|
|
5960
|
+
let j = 0;
|
|
5945
5961
|
for (let B = 0; B < I.length; B++) {
|
|
5946
5962
|
const te = I[B], { isCalcTotal: le } = te;
|
|
5947
5963
|
e.isUseSeq && B === 0 ? D.push({
|
|
@@ -5951,11 +5967,11 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5951
5967
|
...te,
|
|
5952
5968
|
index: B,
|
|
5953
5969
|
total: 0
|
|
5954
|
-
}),
|
|
5970
|
+
}), j++) : D.push({
|
|
5955
5971
|
...te
|
|
5956
5972
|
});
|
|
5957
5973
|
}
|
|
5958
|
-
if (
|
|
5974
|
+
if (j === 0)
|
|
5959
5975
|
return [];
|
|
5960
5976
|
let J = [];
|
|
5961
5977
|
if (e.paginationShow) {
|
|
@@ -5978,7 +5994,7 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5978
5994
|
}), { setRequest: Mo } = N(Se, {
|
|
5979
5995
|
// @ts-ignore
|
|
5980
5996
|
// eslint-disable-next-line no-void
|
|
5981
|
-
setRequest: ({ id: I, sortNum: D, requestFn:
|
|
5997
|
+
setRequest: ({ id: I, sortNum: D, requestFn: j }) => {
|
|
5982
5998
|
}
|
|
5983
5999
|
});
|
|
5984
6000
|
return Mo({
|
|
@@ -5997,7 +6013,7 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5997
6013
|
contrastClass: w,
|
|
5998
6014
|
tableChange: f,
|
|
5999
6015
|
summaryList: Io,
|
|
6000
|
-
loading:
|
|
6016
|
+
loading: L,
|
|
6001
6017
|
onTouchHrefEvent: (I, D = "") => {
|
|
6002
6018
|
I === "event" && window.parent.postMessage({
|
|
6003
6019
|
type: "openPage",
|
|
@@ -6018,9 +6034,9 @@ const ms = /* @__PURE__ */ X(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
6018
6034
|
useFilterOptions: (I) => {
|
|
6019
6035
|
const D = I.dataIndex;
|
|
6020
6036
|
if (typeof D == "string") {
|
|
6021
|
-
let
|
|
6037
|
+
let j = C(y)[D];
|
|
6022
6038
|
const J = C(I.filterOptionsInputValue).trim();
|
|
6023
|
-
return Array.isArray(
|
|
6039
|
+
return Array.isArray(j) ? (j = j.filter((B) => typeof B.label == "string" ? B.label.toLowerCase().includes(J.toLowerCase()) : !0), j) : [];
|
|
6024
6040
|
}
|
|
6025
6041
|
return [];
|
|
6026
6042
|
},
|
|
@@ -6048,7 +6064,7 @@ const bs = {
|
|
|
6048
6064
|
key: 1,
|
|
6049
6065
|
class: "action-list"
|
|
6050
6066
|
}, ks = ["href", "target", "onClick"];
|
|
6051
|
-
function
|
|
6067
|
+
function xs(e, n, t, o, a, r) {
|
|
6052
6068
|
const s = Z("a-button"), i = Z("a-input"), l = Z("a-checkbox-group"), d = Z("a-table-summary-cell"), c = Z("a-table-summary-row"), h = Z("a-table-summary"), g = Z("a-table"), u = Z("skeleton");
|
|
6053
6069
|
return E(), $("div", {
|
|
6054
6070
|
class: "ecan-table",
|
|
@@ -6082,7 +6098,7 @@ function As(e, n, t, o, a, r) {
|
|
|
6082
6098
|
pagination: e.pagination,
|
|
6083
6099
|
onChange: e.tableChange
|
|
6084
6100
|
}, {
|
|
6085
|
-
customFilterDropdown: Y(({ column: m, selectedKeys: b, setSelectedKeys: v, confirm: y, clearFilters:
|
|
6101
|
+
customFilterDropdown: Y(({ column: m, selectedKeys: b, setSelectedKeys: v, confirm: y, clearFilters: x }) => [
|
|
6086
6102
|
ee("div", {
|
|
6087
6103
|
class: "ecan-table-filter",
|
|
6088
6104
|
style: G({
|
|
@@ -6091,17 +6107,17 @@ function As(e, n, t, o, a, r) {
|
|
|
6091
6107
|
}, [
|
|
6092
6108
|
U(i, {
|
|
6093
6109
|
value: m.filterOptionsInputValue,
|
|
6094
|
-
"onUpdate:value": (
|
|
6110
|
+
"onUpdate:value": (A) => m.filterOptionsInputValue = A,
|
|
6095
6111
|
placeholder: "请输入关键字",
|
|
6096
6112
|
class: "filter-input",
|
|
6097
6113
|
onChange: e.onSearchFilterOptions
|
|
6098
6114
|
}, null, 8, ["value", "onUpdate:value", "onChange"]),
|
|
6099
6115
|
U(l, {
|
|
6100
6116
|
value: m.filterCheckboxGroupValue,
|
|
6101
|
-
"onUpdate:value": (
|
|
6117
|
+
"onUpdate:value": (A) => m.filterCheckboxGroupValue = A,
|
|
6102
6118
|
class: "filter-checkbox",
|
|
6103
6119
|
options: e.useFilterOptions(m),
|
|
6104
|
-
onChange: (
|
|
6120
|
+
onChange: (A) => e.useSetSelectedKeys(v, m)
|
|
6105
6121
|
}, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
|
|
6106
6122
|
ee("div", null, [
|
|
6107
6123
|
U(s, {
|
|
@@ -6118,7 +6134,7 @@ function As(e, n, t, o, a, r) {
|
|
|
6118
6134
|
U(s, {
|
|
6119
6135
|
size: "small",
|
|
6120
6136
|
style: { width: "90px" },
|
|
6121
|
-
onClick: fn((
|
|
6137
|
+
onClick: fn((A) => e.onResetFilter(x, m), ["stop"])
|
|
6122
6138
|
}, {
|
|
6123
6139
|
default: Y(() => [
|
|
6124
6140
|
Cs
|
|
@@ -6131,24 +6147,24 @@ function As(e, n, t, o, a, r) {
|
|
|
6131
6147
|
bodyCell: Y(({ column: m, index: b, text: v, record: y }) => [
|
|
6132
6148
|
m.dataIndex === "SEQ" ? (E(), $("span", Ss, ye(b + 1), 1)) : ve("", !0),
|
|
6133
6149
|
m.dataIndex === "ACTION" ? (E(), $("div", ws, [
|
|
6134
|
-
(E(!0), $(Ie, null, Ee(e.actionList, (
|
|
6150
|
+
(E(!0), $(Ie, null, Ee(e.actionList, (x, A) => (E(), $("div", {
|
|
6135
6151
|
class: "action",
|
|
6136
|
-
key:
|
|
6152
|
+
key: A
|
|
6137
6153
|
}, [
|
|
6138
6154
|
ee("a", {
|
|
6139
|
-
href: e.handleHref(
|
|
6140
|
-
target: e.handleHrefTarget(
|
|
6155
|
+
href: e.handleHref(x.href, y),
|
|
6156
|
+
target: e.handleHrefTarget(x.target),
|
|
6141
6157
|
style: G({
|
|
6142
|
-
color:
|
|
6158
|
+
color: x.color,
|
|
6143
6159
|
fontSize: e.fontSize,
|
|
6144
6160
|
fontWeight: e.fontWeight
|
|
6145
6161
|
}),
|
|
6146
|
-
onClick: (
|
|
6147
|
-
}, ye(
|
|
6162
|
+
onClick: (F) => e.onTouchHrefEvent(x.target, e.handleHref(x.href, y))
|
|
6163
|
+
}, ye(x.title), 13, ks)
|
|
6148
6164
|
]))), 128))
|
|
6149
6165
|
])) : (E(), $("div", {
|
|
6150
6166
|
key: 2,
|
|
6151
|
-
class:
|
|
6167
|
+
class: Lt([e.contrastClass(v, m.format)]),
|
|
6152
6168
|
style: G({
|
|
6153
6169
|
fontSize: e.fontSize,
|
|
6154
6170
|
fontWeight: e.fontWeight
|
|
@@ -6156,11 +6172,11 @@ function As(e, n, t, o, a, r) {
|
|
|
6156
6172
|
}, ye(m.format != null ? e.formatFn(v, m.format) : v), 7))
|
|
6157
6173
|
]),
|
|
6158
6174
|
summary: Y(() => [
|
|
6159
|
-
e.summaryList.length > 0 ? (E(),
|
|
6175
|
+
e.summaryList.length > 0 ? (E(), Fe(h, { key: 0 }, {
|
|
6160
6176
|
default: Y(() => [
|
|
6161
6177
|
U(c, null, {
|
|
6162
6178
|
default: Y(() => [
|
|
6163
|
-
(E(!0), $(Ie, null, Ee(e.summaryList, (m, b) => (E(),
|
|
6179
|
+
(E(!0), $(Ie, null, Ee(e.summaryList, (m, b) => (E(), Fe(d, {
|
|
6164
6180
|
key: b,
|
|
6165
6181
|
index: b,
|
|
6166
6182
|
style: G({
|
|
@@ -6172,7 +6188,7 @@ function As(e, n, t, o, a, r) {
|
|
|
6172
6188
|
}, {
|
|
6173
6189
|
default: Y(() => [
|
|
6174
6190
|
ee("div", {
|
|
6175
|
-
class:
|
|
6191
|
+
class: Lt([e.contrastClass(m.total, m.format)]),
|
|
6176
6192
|
style: G({
|
|
6177
6193
|
fontSize: e.fontSize,
|
|
6178
6194
|
fontWeight: e.fontWeight
|
|
@@ -6195,7 +6211,7 @@ function As(e, n, t, o, a, r) {
|
|
|
6195
6211
|
}, 8, ["loading"])
|
|
6196
6212
|
], 4);
|
|
6197
6213
|
}
|
|
6198
|
-
const
|
|
6214
|
+
const As = /* @__PURE__ */ X(ys, [["render", xs], ["__scopeId", "data-v-440881f8"]]), Ts = oe(As), Lo = {
|
|
6199
6215
|
...re,
|
|
6200
6216
|
mapJson: null,
|
|
6201
6217
|
data: [],
|
|
@@ -6236,22 +6252,22 @@ const xs = /* @__PURE__ */ X(ys, [["render", As], ["__scopeId", "data-v-440881f8
|
|
|
6236
6252
|
tooltipShow: !0,
|
|
6237
6253
|
tooltipTextStyleColor: "",
|
|
6238
6254
|
tooltipFormatter: "{b}"
|
|
6239
|
-
},
|
|
6255
|
+
}, _o = ae(Lo);
|
|
6240
6256
|
Be([
|
|
6241
6257
|
Ge,
|
|
6242
6258
|
aa,
|
|
6243
6259
|
Cn,
|
|
6244
6260
|
la,
|
|
6245
|
-
|
|
6261
|
+
Ft,
|
|
6246
6262
|
ia
|
|
6247
6263
|
]);
|
|
6248
|
-
const
|
|
6264
|
+
const Ls = Q({
|
|
6249
6265
|
name: "EcanMap",
|
|
6250
6266
|
components: {
|
|
6251
6267
|
Echarts: ze
|
|
6252
6268
|
},
|
|
6253
6269
|
props: {
|
|
6254
|
-
...
|
|
6270
|
+
..._o
|
|
6255
6271
|
},
|
|
6256
6272
|
setup(e) {
|
|
6257
6273
|
const n = ie(e, ["backgroundImage"]), t = M(), o = q(() => De(e.geoBackgroundImage)), a = q(() => De(e.backgroundImage)), r = q(() => e.geoBackgroundImage ? {
|
|
@@ -6365,14 +6381,14 @@ const _s = Q({
|
|
|
6365
6381
|
};
|
|
6366
6382
|
}
|
|
6367
6383
|
});
|
|
6368
|
-
const
|
|
6384
|
+
const _s = ["src"];
|
|
6369
6385
|
function Is(e, n, t, o, a, r) {
|
|
6370
6386
|
const s = Z("echarts");
|
|
6371
6387
|
return E(), $("div", {
|
|
6372
6388
|
class: "ecan-map",
|
|
6373
6389
|
style: G(e.style)
|
|
6374
6390
|
}, [
|
|
6375
|
-
e.isLoadedData ? (E(),
|
|
6391
|
+
e.isLoadedData ? (E(), Fe(s, {
|
|
6376
6392
|
key: 0,
|
|
6377
6393
|
option: e.option,
|
|
6378
6394
|
"update-options": { notMerge: !0 },
|
|
@@ -6381,23 +6397,23 @@ function Is(e, n, t, o, a, r) {
|
|
|
6381
6397
|
zo(ee("img", {
|
|
6382
6398
|
ref: "geoBackgroundImageRef",
|
|
6383
6399
|
src: e.myGeoBackgroundImage
|
|
6384
|
-
}, null, 8,
|
|
6400
|
+
}, null, 8, _s), [
|
|
6385
6401
|
[No, !1]
|
|
6386
6402
|
])
|
|
6387
6403
|
], 4);
|
|
6388
6404
|
}
|
|
6389
|
-
const Ms = /* @__PURE__ */ X(
|
|
6405
|
+
const Ms = /* @__PURE__ */ X(Ls, [["render", Is], ["__scopeId", "data-v-1fb5cdee"]]), Es = oe(Ms), on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6390
6406
|
__proto__: null,
|
|
6391
6407
|
EcanBar: ur,
|
|
6392
6408
|
EcanBorder: Hr,
|
|
6393
|
-
EcanButton:
|
|
6409
|
+
EcanButton: ji,
|
|
6394
6410
|
EcanCheckbox: Yi,
|
|
6395
|
-
EcanComboGraph:
|
|
6411
|
+
EcanComboGraph: Ar,
|
|
6396
6412
|
EcanCustomGraph: Cr,
|
|
6397
6413
|
EcanDatePicker: Mi,
|
|
6398
6414
|
EcanIframe: gs,
|
|
6399
6415
|
EcanImage: cs,
|
|
6400
|
-
EcanInput:
|
|
6416
|
+
EcanInput: Ai,
|
|
6401
6417
|
EcanLine: ir,
|
|
6402
6418
|
EcanList: hi,
|
|
6403
6419
|
EcanMap: Es,
|
|
@@ -6434,26 +6450,26 @@ const Ms = /* @__PURE__ */ X(_s, [["render", Is], ["__scopeId", "data-v-1fb5cdee
|
|
|
6434
6450
|
datePickerComponentProps: Hn,
|
|
6435
6451
|
datePickerEvents: Ti,
|
|
6436
6452
|
datePickerProps: Vn,
|
|
6437
|
-
iframeComponentProps:
|
|
6453
|
+
iframeComponentProps: xo,
|
|
6438
6454
|
iframeProps: ko,
|
|
6439
6455
|
imageComponentProps: wo,
|
|
6440
6456
|
imageProps: So,
|
|
6441
|
-
inputComponentProps:
|
|
6457
|
+
inputComponentProps: jn,
|
|
6442
6458
|
inputEvents: Si,
|
|
6443
|
-
inputProps:
|
|
6459
|
+
inputProps: Wn,
|
|
6444
6460
|
lineComponentProps: lo,
|
|
6445
6461
|
lineEvents: nr,
|
|
6446
6462
|
lineProps: ao,
|
|
6447
6463
|
listComponentProps: Gn,
|
|
6448
6464
|
listEvents: oi,
|
|
6449
6465
|
listProps: Bn,
|
|
6450
|
-
mapComponentProps:
|
|
6451
|
-
mapProps:
|
|
6466
|
+
mapComponentProps: _o,
|
|
6467
|
+
mapProps: Lo,
|
|
6452
6468
|
modalComponentProps: vo,
|
|
6453
6469
|
modalEvents: Zr,
|
|
6454
6470
|
modalProps: bo,
|
|
6455
|
-
pageConfig:
|
|
6456
|
-
pageConfigComponentProps:
|
|
6471
|
+
pageConfig: Ln,
|
|
6472
|
+
pageConfigComponentProps: _n,
|
|
6457
6473
|
pieComponentProps: oo,
|
|
6458
6474
|
pieEvents: Qi,
|
|
6459
6475
|
pieProps: no,
|
|
@@ -6473,7 +6489,7 @@ const Ms = /* @__PURE__ */ X(_s, [["render", Is], ["__scopeId", "data-v-1fb5cdee
|
|
|
6473
6489
|
selectProps: Zn,
|
|
6474
6490
|
tableComponentProps: To,
|
|
6475
6491
|
tableEvents: hs,
|
|
6476
|
-
tableProps:
|
|
6492
|
+
tableProps: Ao,
|
|
6477
6493
|
tabsComponentProps: Co,
|
|
6478
6494
|
tabsEvents: Xr,
|
|
6479
6495
|
tabsProps: po,
|
|
@@ -6482,25 +6498,25 @@ const Ms = /* @__PURE__ */ X(_s, [["render", Is], ["__scopeId", "data-v-1fb5cdee
|
|
|
6482
6498
|
textProps: $n,
|
|
6483
6499
|
timeDisplayComponentProps: Pn,
|
|
6484
6500
|
timeDisplayProps: Nn
|
|
6485
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6501
|
+
}, Symbol.toStringTag, { value: "Module" })), Os = (e) => {
|
|
6486
6502
|
Object.keys(on).forEach((n) => {
|
|
6487
6503
|
const t = on[n];
|
|
6488
6504
|
t.install && e.use(t);
|
|
6489
6505
|
});
|
|
6490
6506
|
}, fc = {
|
|
6491
|
-
install:
|
|
6507
|
+
install: Os
|
|
6492
6508
|
};
|
|
6493
6509
|
export {
|
|
6494
6510
|
ur as EcanBar,
|
|
6495
6511
|
Hr as EcanBorder,
|
|
6496
|
-
|
|
6512
|
+
ji as EcanButton,
|
|
6497
6513
|
Yi as EcanCheckbox,
|
|
6498
|
-
|
|
6514
|
+
Ar as EcanComboGraph,
|
|
6499
6515
|
Cr as EcanCustomGraph,
|
|
6500
6516
|
Mi as EcanDatePicker,
|
|
6501
6517
|
gs as EcanIframe,
|
|
6502
6518
|
cs as EcanImage,
|
|
6503
|
-
|
|
6519
|
+
Ai as EcanInput,
|
|
6504
6520
|
ir as EcanLine,
|
|
6505
6521
|
hi as EcanList,
|
|
6506
6522
|
Es as EcanMap,
|
|
@@ -6538,26 +6554,26 @@ export {
|
|
|
6538
6554
|
Ti as datePickerEvents,
|
|
6539
6555
|
Vn as datePickerProps,
|
|
6540
6556
|
fc as default,
|
|
6541
|
-
|
|
6557
|
+
xo as iframeComponentProps,
|
|
6542
6558
|
ko as iframeProps,
|
|
6543
6559
|
wo as imageComponentProps,
|
|
6544
6560
|
So as imageProps,
|
|
6545
|
-
|
|
6561
|
+
jn as inputComponentProps,
|
|
6546
6562
|
Si as inputEvents,
|
|
6547
|
-
|
|
6563
|
+
Wn as inputProps,
|
|
6548
6564
|
lo as lineComponentProps,
|
|
6549
6565
|
nr as lineEvents,
|
|
6550
6566
|
ao as lineProps,
|
|
6551
6567
|
Gn as listComponentProps,
|
|
6552
6568
|
oi as listEvents,
|
|
6553
6569
|
Bn as listProps,
|
|
6554
|
-
|
|
6555
|
-
|
|
6570
|
+
_o as mapComponentProps,
|
|
6571
|
+
Lo as mapProps,
|
|
6556
6572
|
vo as modalComponentProps,
|
|
6557
6573
|
Zr as modalEvents,
|
|
6558
6574
|
bo as modalProps,
|
|
6559
|
-
|
|
6560
|
-
|
|
6575
|
+
Ln as pageConfig,
|
|
6576
|
+
_n as pageConfigComponentProps,
|
|
6561
6577
|
oo as pieComponentProps,
|
|
6562
6578
|
Qi as pieEvents,
|
|
6563
6579
|
no as pieProps,
|
|
@@ -6577,7 +6593,7 @@ export {
|
|
|
6577
6593
|
Zn as selectProps,
|
|
6578
6594
|
To as tableComponentProps,
|
|
6579
6595
|
hs as tableEvents,
|
|
6580
|
-
|
|
6596
|
+
Ao as tableProps,
|
|
6581
6597
|
Co as tabsComponentProps,
|
|
6582
6598
|
Xr as tabsEvents,
|
|
6583
6599
|
po as tabsProps,
|