@ecan-bi/datav 1.1.59 → 1.1.60
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 +483 -477
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -2
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
2
|
-
import { watch as
|
|
3
|
-
import { throttle as Go, init as Uo, use as
|
|
1
|
+
/*! @ecan-bi/datav@1.1.60 */
|
|
2
|
+
import { watch as oe, inject as N, computed as j, unref as C, watchEffect as dn, defineComponent as Q, shallowRef as vt, toRefs as Ro, onMounted as Ge, onUnmounted as ft, h as ct, nextTick as mt, createVNode as q, resolveComponent as Z, openBlock as E, createElementBlock as $, createBlock as De, renderSlot as gt, withCtx as Y, ref as M, normalizeStyle as G, createCommentVNode as ve, provide as $e, onBeforeUnmount as _t, toDisplayString as be, Fragment as Ee, renderList as Fe, createElementVNode as X, normalizeClass as Lt, pushScopeId as un, popScopeId as fn, createSlots as Do, resolveDynamicComponent as $o, mergeProps as zo, withModifiers as mn, reactive as No, createTextVNode as Ot, withDirectives as Po, vShow as Bo } from "vue";
|
|
3
|
+
import { throttle as Go, init as Uo, use as qe, registerMap as qo } from "echarts/core";
|
|
4
4
|
import { addListener as jo, removeListener as Wo } from "resize-detector";
|
|
5
|
-
import { Spin as Vo, Skeleton as Ho, message as
|
|
5
|
+
import { Spin as Vo, Skeleton as Ho, message as ze, Progress as Zo, Input as gn, DatePicker as Jo, Select as Yo, RangePicker as Qo, Button as hn, CheckboxGroup as yn, Modal as Ae, Table as Ko, TableSummary as Xo, TableSummaryRow as ea, TableSummaryCell as ta } from "ant-design-vue";
|
|
6
6
|
import "ant-design-vue/es/spin/style";
|
|
7
7
|
import "ant-design-vue/es/skeleton/style";
|
|
8
8
|
import { without as na, pick as bn, debounce as Ft, cloneDeep as pt } from "lodash-es";
|
|
9
9
|
import vn from "axios";
|
|
10
|
-
import
|
|
10
|
+
import Ce from "dayjs";
|
|
11
11
|
import oa from "mitt";
|
|
12
12
|
import "ant-design-vue/es/progress/style";
|
|
13
13
|
import "ant-design-vue/es/input/style";
|
|
@@ -16,9 +16,9 @@ import pn from "ant-design-vue/es/date-picker/locale/zh_CN";
|
|
|
16
16
|
import "ant-design-vue/es/select/style";
|
|
17
17
|
import "ant-design-vue/es/button/style";
|
|
18
18
|
import "ant-design-vue/es/checkbox/style";
|
|
19
|
-
import { CanvasRenderer as
|
|
19
|
+
import { CanvasRenderer as je } from "echarts/renderers";
|
|
20
20
|
import { PieChart as aa, LineChart as Cn, BarChart as Sn, ScatterChart as wn, MapChart as la } from "echarts/charts";
|
|
21
|
-
import { TitleComponent as Ke, ToolboxComponent as Xe, TooltipComponent as Rt, LegendComponent as et, DatasetComponent as
|
|
21
|
+
import { TitleComponent as Ke, ToolboxComponent as Xe, TooltipComponent as Rt, LegendComponent as et, DatasetComponent as kn, VisualMapComponent as ia, GraphicComponent as ra } from "echarts/components";
|
|
22
22
|
import * as sa from "echarts";
|
|
23
23
|
import "ant-design-vue/es/modal/style";
|
|
24
24
|
import "ant-design-vue/es/table/style";
|
|
@@ -59,7 +59,7 @@ function fa(e, n) {
|
|
|
59
59
|
}
|
|
60
60
|
function ma(e, n, t) {
|
|
61
61
|
let o = null;
|
|
62
|
-
|
|
62
|
+
oe([t, e, n], ([a, s, r], i, l) => {
|
|
63
63
|
a && s && r && (o = Go(() => {
|
|
64
64
|
s.resize();
|
|
65
65
|
}, 100), jo(a, o)), l(() => {
|
|
@@ -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",
|
|
94
|
+
const Sa = "x-vue-echarts", wa = "ecTheme", ka = "ecInitOptions", xa = "ecUpdateOptions", Be = Q({
|
|
95
95
|
name: "echarts",
|
|
96
96
|
props: {
|
|
97
97
|
option: Object,
|
|
@@ -109,10 +109,10 @@ const Sa = "x-vue-echarts", wa = "ecTheme", xa = "ecInitOptions", ka = "ecUpdate
|
|
|
109
109
|
// @ts-expect-error listeners for Vue 2 compatibility
|
|
110
110
|
setup(e, { attrs: n, listeners: t }) {
|
|
111
111
|
const o = vt(), a = vt(), s = vt(), r = N(wa, null), i = N(
|
|
112
|
-
|
|
112
|
+
ka,
|
|
113
113
|
null
|
|
114
114
|
), l = N(
|
|
115
|
-
|
|
115
|
+
xa,
|
|
116
116
|
null
|
|
117
117
|
), { autoresize: d, manualUpdate: c, loading: h, loadingOptions: g } = Ro(e), u = j(
|
|
118
118
|
() => s.value || e.option || /* @__PURE__ */ Object.create(null)
|
|
@@ -155,17 +155,17 @@ const Sa = "x-vue-echarts", wa = "ecTheme", xa = "ecInitOptions", ka = "ecUpdate
|
|
|
155
155
|
T(), D();
|
|
156
156
|
}) : D();
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function x(S, f) {
|
|
159
159
|
e.manualUpdate && (s.value = S), a.value ? a.value.setOption(S, f || {}) : A(S);
|
|
160
160
|
}
|
|
161
161
|
function R() {
|
|
162
162
|
a.value && (a.value.dispose(), a.value = void 0);
|
|
163
163
|
}
|
|
164
|
-
let
|
|
165
|
-
|
|
164
|
+
let k = null;
|
|
165
|
+
oe(
|
|
166
166
|
c,
|
|
167
167
|
(S) => {
|
|
168
|
-
typeof
|
|
168
|
+
typeof k == "function" && (k(), k = null), S || (k = oe(
|
|
169
169
|
() => e.option,
|
|
170
170
|
(f) => {
|
|
171
171
|
f && (a.value ? a.value.setOption(f, v.value) : A());
|
|
@@ -176,7 +176,7 @@ const Sa = "x-vue-echarts", wa = "ecTheme", xa = "ecInitOptions", ka = "ecUpdate
|
|
|
176
176
|
{
|
|
177
177
|
immediate: !0
|
|
178
178
|
}
|
|
179
|
-
),
|
|
179
|
+
), oe(
|
|
180
180
|
[m, y],
|
|
181
181
|
() => {
|
|
182
182
|
R(), A();
|
|
@@ -188,12 +188,12 @@ const Sa = "x-vue-echarts", wa = "ecTheme", xa = "ecInitOptions", ka = "ecUpdate
|
|
|
188
188
|
e.group && a.value && (a.value.group = e.group);
|
|
189
189
|
});
|
|
190
190
|
const L = fa(a, A);
|
|
191
|
-
return ya(a, h, g), ma(a, d, o),
|
|
191
|
+
return ya(a, h, g), ma(a, d, o), Ge(() => {
|
|
192
192
|
e.option && A();
|
|
193
193
|
}), ft(R), {
|
|
194
194
|
chart: a,
|
|
195
195
|
root: o,
|
|
196
|
-
setOption:
|
|
196
|
+
setOption: x,
|
|
197
197
|
nonEventAttrs: b,
|
|
198
198
|
...L
|
|
199
199
|
};
|
|
@@ -203,7 +203,7 @@ const Sa = "x-vue-echarts", wa = "ecTheme", xa = "ecInitOptions", ka = "ecUpdate
|
|
|
203
203
|
return e.ref = "root", e.class = e.class ? ["echarts"].concat(e.class) : "echarts", ct(Sa, e);
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
|
-
function
|
|
206
|
+
function ke(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);
|
|
@@ -225,9 +225,9 @@ function Ct(e) {
|
|
|
225
225
|
}
|
|
226
226
|
function La(e, n, t) {
|
|
227
227
|
return {
|
|
228
|
-
r:
|
|
229
|
-
g:
|
|
230
|
-
b:
|
|
228
|
+
r: ke(e, 255) * 255,
|
|
229
|
+
g: ke(n, 255) * 255,
|
|
230
|
+
b: ke(t, 255) * 255
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
function St(e, n, t) {
|
|
@@ -235,7 +235,7 @@ function St(e, n, t) {
|
|
|
235
235
|
}
|
|
236
236
|
function Ia(e, n, t) {
|
|
237
237
|
var o, a, s;
|
|
238
|
-
if (e =
|
|
238
|
+
if (e = ke(e, 360), n = ke(n, 100), t = ke(t, 100), n === 0)
|
|
239
239
|
a = t, s = t, o = t;
|
|
240
240
|
else {
|
|
241
241
|
var r = t < 0.5 ? t * (1 + n) : t + n - t * n, i = 2 * t - r;
|
|
@@ -244,7 +244,7 @@ function Ia(e, n, t) {
|
|
|
244
244
|
return { r: o * 255, g: a * 255, b: s * 255 };
|
|
245
245
|
}
|
|
246
246
|
function Ma(e, n, t) {
|
|
247
|
-
e =
|
|
247
|
+
e = ke(e, 255), n = ke(n, 255), t = ke(t, 255);
|
|
248
248
|
var o = Math.max(e, n, t), a = Math.min(e, n, t), s = 0, r = o, i = o - a, l = o === 0 ? 0 : i / o;
|
|
249
249
|
if (o === a)
|
|
250
250
|
s = 0;
|
|
@@ -265,7 +265,7 @@ function Ma(e, n, t) {
|
|
|
265
265
|
return { h: s, s: l, v: r };
|
|
266
266
|
}
|
|
267
267
|
function Ea(e, n, t) {
|
|
268
|
-
e =
|
|
268
|
+
e = ke(e, 360) * 6, n = ke(n, 100), t = ke(t, 100);
|
|
269
269
|
var o = Math.floor(e), a = e - o, s = t * (1 - n), r = t * (1 - a * n), i = t * (1 - (1 - a) * n), l = o % 6, d = [t, r, s, s, i, t][l], c = [i, t, t, r, s, s][l], h = [s, s, i, t, t, r][l];
|
|
270
270
|
return { r: d * 255, g: c * 255, b: h * 255 };
|
|
271
271
|
}
|
|
@@ -278,9 +278,9 @@ function Oa(e, n, t, o) {
|
|
|
278
278
|
return o && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
|
|
279
279
|
}
|
|
280
280
|
function Gt(e) {
|
|
281
|
-
return
|
|
281
|
+
return pe(e) / 255;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function pe(e) {
|
|
284
284
|
return parseInt(e, 16);
|
|
285
285
|
}
|
|
286
286
|
var Ut = {
|
|
@@ -433,9 +433,9 @@ var Ut = {
|
|
|
433
433
|
yellow: "#ffff00",
|
|
434
434
|
yellowgreen: "#9acd32"
|
|
435
435
|
};
|
|
436
|
-
function
|
|
436
|
+
function He(e) {
|
|
437
437
|
var n = { r: 0, g: 0, b: 0 }, t = 1, o = null, a = null, s = null, r = !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" && (Me(e.r) && Me(e.g) && Me(e.b) ? (n = La(e.r, e.g, e.b), r = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Me(e.h) && Me(e.s) && Me(e.v) ? (o = lt(e.s), a = lt(e.v), n = Ea(e.h, o, a), r = !0, i = "hsv") : Me(e.h) && Me(e.s) && Me(e.l) && (o = lt(e.s), s = lt(e.l), n = Ia(e.h, o, s), r = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = _a(t), {
|
|
439
439
|
ok: r,
|
|
440
440
|
format: e.format || i,
|
|
441
441
|
r: Math.min(255, Math.max(n.r, 0)),
|
|
@@ -444,14 +444,14 @@ function Ve(e) {
|
|
|
444
444
|
a: t
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
var Fa = "[-\\+]?\\d+%?", Ra = "[-\\+]?\\d*\\.\\d+%?",
|
|
448
|
-
CSS_UNIT: new RegExp(
|
|
447
|
+
var Fa = "[-\\+]?\\d+%?", Ra = "[-\\+]?\\d*\\.\\d+%?", Re = "(?:".concat(Ra, ")|(?:").concat(Fa, ")"), wt = "[\\s|\\(]+(".concat(Re, ")[,|\\s]+(").concat(Re, ")[,|\\s]+(").concat(Re, ")\\s*\\)?"), kt = "[\\s|\\(]+(".concat(Re, ")[,|\\s]+(").concat(Re, ")[,|\\s]+(").concat(Re, ")[,|\\s]+(").concat(Re, ")\\s*\\)?"), xe = {
|
|
448
|
+
CSS_UNIT: new RegExp(Re),
|
|
449
449
|
rgb: new RegExp("rgb" + wt),
|
|
450
|
-
rgba: new RegExp("rgba" +
|
|
450
|
+
rgba: new RegExp("rgba" + kt),
|
|
451
451
|
hsl: new RegExp("hsl" + wt),
|
|
452
|
-
hsla: new RegExp("hsla" +
|
|
452
|
+
hsla: new RegExp("hsla" + kt),
|
|
453
453
|
hsv: new RegExp("hsv" + wt),
|
|
454
|
-
hsva: new RegExp("hsva" +
|
|
454
|
+
hsva: new RegExp("hsva" + kt),
|
|
455
455
|
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
456
456
|
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
457
457
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
@@ -465,35 +465,35 @@ function Da(e) {
|
|
|
465
465
|
e = Ut[e], n = !0;
|
|
466
466
|
else if (e === "transparent")
|
|
467
467
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
468
|
-
var t =
|
|
469
|
-
return t ? { r: t[1], g: t[2], b: t[3] } : (t =
|
|
470
|
-
r:
|
|
471
|
-
g:
|
|
472
|
-
b:
|
|
468
|
+
var t = xe.rgb.exec(e);
|
|
469
|
+
return t ? { r: t[1], g: t[2], b: t[3] } : (t = xe.rgba.exec(e), t ? { r: t[1], g: t[2], b: t[3], a: t[4] } : (t = xe.hsl.exec(e), t ? { h: t[1], s: t[2], l: t[3] } : (t = xe.hsla.exec(e), t ? { h: t[1], s: t[2], l: t[3], a: t[4] } : (t = xe.hsv.exec(e), t ? { h: t[1], s: t[2], v: t[3] } : (t = xe.hsva.exec(e), t ? { h: t[1], s: t[2], v: t[3], a: t[4] } : (t = xe.hex8.exec(e), t ? {
|
|
470
|
+
r: pe(t[1]),
|
|
471
|
+
g: pe(t[2]),
|
|
472
|
+
b: pe(t[3]),
|
|
473
473
|
a: Gt(t[4]),
|
|
474
474
|
format: n ? "name" : "hex8"
|
|
475
|
-
} : (t =
|
|
476
|
-
r:
|
|
477
|
-
g:
|
|
478
|
-
b:
|
|
475
|
+
} : (t = xe.hex6.exec(e), t ? {
|
|
476
|
+
r: pe(t[1]),
|
|
477
|
+
g: pe(t[2]),
|
|
478
|
+
b: pe(t[3]),
|
|
479
479
|
format: n ? "name" : "hex"
|
|
480
|
-
} : (t =
|
|
481
|
-
r:
|
|
482
|
-
g:
|
|
483
|
-
b:
|
|
480
|
+
} : (t = xe.hex4.exec(e), t ? {
|
|
481
|
+
r: pe(t[1] + t[1]),
|
|
482
|
+
g: pe(t[2] + t[2]),
|
|
483
|
+
b: pe(t[3] + t[3]),
|
|
484
484
|
a: Gt(t[4] + t[4]),
|
|
485
485
|
format: n ? "name" : "hex8"
|
|
486
|
-
} : (t =
|
|
487
|
-
r:
|
|
488
|
-
g:
|
|
489
|
-
b:
|
|
486
|
+
} : (t = xe.hex3.exec(e), t ? {
|
|
487
|
+
r: pe(t[1] + t[1]),
|
|
488
|
+
g: pe(t[2] + t[2]),
|
|
489
|
+
b: pe(t[3] + t[3]),
|
|
490
490
|
format: n ? "name" : "hex"
|
|
491
491
|
} : !1)))))))));
|
|
492
492
|
}
|
|
493
|
-
function
|
|
494
|
-
return Boolean(
|
|
493
|
+
function Me(e) {
|
|
494
|
+
return Boolean(xe.CSS_UNIT.exec(String(e)));
|
|
495
495
|
}
|
|
496
|
-
var it = 2, qt = 0.16, $a = 0.05, za = 0.05, Na = 0.15,
|
|
496
|
+
var it = 2, qt = 0.16, $a = 0.05, za = 0.05, Na = 0.15, xn = 5, An = 4, Pa = [{
|
|
497
497
|
index: 7,
|
|
498
498
|
opacity: 0.15
|
|
499
499
|
}, {
|
|
@@ -552,15 +552,15 @@ function Vt(e, n, t) {
|
|
|
552
552
|
if (e.h === 0 && e.s === 0)
|
|
553
553
|
return e.s;
|
|
554
554
|
var o;
|
|
555
|
-
return t ? o = e.s - qt * n : n === An ? o = e.s + qt : o = e.s + $a * n, o > 1 && (o = 1), t && n ===
|
|
555
|
+
return t ? o = e.s - qt * n : n === An ? o = e.s + qt : o = e.s + $a * n, o > 1 && (o = 1), t && n === xn && o > 0.1 && (o = 0.1), o < 0.06 && (o = 0.06), Number(o.toFixed(2));
|
|
556
556
|
}
|
|
557
557
|
function Ht(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
561
|
function It(e) {
|
|
562
|
-
for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], o =
|
|
563
|
-
var s = jt(o), r = rt(
|
|
562
|
+
for (var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = [], o = He(e), a = xn; a > 0; a -= 1) {
|
|
563
|
+
var s = jt(o), r = rt(He({
|
|
564
564
|
h: Wt(s, a, !0),
|
|
565
565
|
s: Vt(s, a, !0),
|
|
566
566
|
v: Ht(s, a, !0)
|
|
@@ -569,7 +569,7 @@ function It(e) {
|
|
|
569
569
|
}
|
|
570
570
|
t.push(rt(o));
|
|
571
571
|
for (var i = 1; i <= An; i += 1) {
|
|
572
|
-
var l = jt(o), d = rt(
|
|
572
|
+
var l = jt(o), d = rt(He({
|
|
573
573
|
h: Wt(l, i),
|
|
574
574
|
s: Vt(l, i),
|
|
575
575
|
v: Ht(l, i)
|
|
@@ -577,11 +577,11 @@ function It(e) {
|
|
|
577
577
|
t.push(d);
|
|
578
578
|
}
|
|
579
579
|
return n.theme === "dark" ? Pa.map(function(c) {
|
|
580
|
-
var h = c.index, g = c.opacity, u = rt(Ba(
|
|
580
|
+
var h = c.index, g = c.opacity, u = rt(Ba(He(n.backgroundColor || "#141414"), He(t[h]), g * 100));
|
|
581
581
|
return u;
|
|
582
582
|
}) : t;
|
|
583
583
|
}
|
|
584
|
-
var
|
|
584
|
+
var xt = {
|
|
585
585
|
red: "#F5222D",
|
|
586
586
|
volcano: "#FA541C",
|
|
587
587
|
orange: "#FA8C16",
|
|
@@ -596,13 +596,13 @@ var kt = {
|
|
|
596
596
|
magenta: "#EB2F96",
|
|
597
597
|
grey: "#666666"
|
|
598
598
|
}, At = {}, Tt = {};
|
|
599
|
-
Object.keys(
|
|
600
|
-
At[e] = It(
|
|
599
|
+
Object.keys(xt).forEach(function(e) {
|
|
600
|
+
At[e] = It(xt[e]), At[e].primary = At[e][5], Tt[e] = It(xt[e], {
|
|
601
601
|
theme: "dark",
|
|
602
602
|
backgroundColor: "#141414"
|
|
603
603
|
}), Tt[e].primary = Tt[e][5];
|
|
604
604
|
});
|
|
605
|
-
var Zt = [],
|
|
605
|
+
var Zt = [], Ze = [], Ga = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
|
|
606
606
|
function Ua() {
|
|
607
607
|
var e = document.createElement("style");
|
|
608
608
|
return e.setAttribute("type", "text/css"), e;
|
|
@@ -611,9 +611,9 @@ function qa(e, n) {
|
|
|
611
611
|
if (n = n || {}, e === void 0)
|
|
612
612
|
throw new Error(Ga);
|
|
613
613
|
var t = n.prepend === !0 ? "prepend" : "append", o = n.container !== void 0 ? n.container : document.querySelector("head"), a = Zt.indexOf(o);
|
|
614
|
-
a === -1 && (a = Zt.push(o) - 1,
|
|
614
|
+
a === -1 && (a = Zt.push(o) - 1, Ze[a] = {});
|
|
615
615
|
var s;
|
|
616
|
-
return
|
|
616
|
+
return Ze[a] !== void 0 && Ze[a][t] !== void 0 ? s = Ze[a][t] : (s = Ze[a][t] = Ua(), t === "prepend" ? o.insertBefore(s, o.childNodes[0]) : o.appendChild(s)), e.charCodeAt(0) === 65279 && (e = e.substr(1, e.length)), s.styleSheet ? s.styleSheet.cssText += e : s.textContent += e, s;
|
|
617
617
|
}
|
|
618
618
|
function Jt(e) {
|
|
619
619
|
for (var n = 1; n < arguments.length; n++) {
|
|
@@ -762,7 +762,7 @@ function Xa(e) {
|
|
|
762
762
|
function el() {
|
|
763
763
|
return st({}, Ye);
|
|
764
764
|
}
|
|
765
|
-
var
|
|
765
|
+
var We = function(n, t) {
|
|
766
766
|
var o = st({}, n, t.attrs), a = o.icon, s = o.primaryColor, r = o.secondaryColor, i = Ya(o, Ja), l = Ye;
|
|
767
767
|
if (s && (l = {
|
|
768
768
|
primaryColor: s,
|
|
@@ -780,17 +780,17 @@ var qe = function(n, t) {
|
|
|
780
780
|
"aria-hidden": "true"
|
|
781
781
|
}));
|
|
782
782
|
};
|
|
783
|
-
|
|
783
|
+
We.props = {
|
|
784
784
|
icon: Object,
|
|
785
785
|
primaryColor: String,
|
|
786
786
|
secondaryColor: String,
|
|
787
787
|
focusable: String
|
|
788
788
|
};
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
const Dt =
|
|
789
|
+
We.inheritAttrs = !1;
|
|
790
|
+
We.displayName = "IconBase";
|
|
791
|
+
We.getTwoToneColors = el;
|
|
792
|
+
We.setTwoToneColors = Xa;
|
|
793
|
+
const Dt = We;
|
|
794
794
|
function tl(e, n) {
|
|
795
795
|
return ll(e) || al(e, n) || ol(e, n) || nl();
|
|
796
796
|
}
|
|
@@ -933,7 +933,7 @@ function gl(e, n) {
|
|
|
933
933
|
return t;
|
|
934
934
|
}
|
|
935
935
|
Ln("#1890ff");
|
|
936
|
-
var
|
|
936
|
+
var Ve = function(n, t) {
|
|
937
937
|
var o, a = en({}, n, t.attrs), s = a.class, r = a.icon, i = a.spin, l = a.rotate, d = a.tabindex, c = a.twoToneColor, h = a.onClick, g = ml(a, rl), u = (o = {
|
|
938
938
|
anticon: !0
|
|
939
939
|
}, Et(o, "anticon-".concat(r.name), Boolean(r.name)), Et(o, s, s), o), m = i === "" || i || r.name === "loading" ? "anticon-spin" : "", y = d;
|
|
@@ -941,7 +941,7 @@ var je = 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, b = _n(c), A = sl(b, 2),
|
|
944
|
+
} : void 0, b = _n(c), A = sl(b, 2), x = A[0], R = A[1];
|
|
945
945
|
return q("span", en({
|
|
946
946
|
role: "img",
|
|
947
947
|
"aria-label": r.name
|
|
@@ -951,22 +951,22 @@ var je = function(n, t) {
|
|
|
951
951
|
}), [q(Dt, {
|
|
952
952
|
class: m,
|
|
953
953
|
icon: r,
|
|
954
|
-
primaryColor:
|
|
954
|
+
primaryColor: x,
|
|
955
955
|
secondaryColor: R,
|
|
956
956
|
style: v
|
|
957
957
|
}, null)]);
|
|
958
958
|
};
|
|
959
|
-
|
|
959
|
+
Ve.props = {
|
|
960
960
|
spin: Boolean,
|
|
961
961
|
rotate: Number,
|
|
962
962
|
icon: Object,
|
|
963
963
|
twoToneColor: String
|
|
964
964
|
};
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
const hl =
|
|
965
|
+
Ve.displayName = "AntdIcon";
|
|
966
|
+
Ve.inheritAttrs = !1;
|
|
967
|
+
Ve.getTwoToneColor = il;
|
|
968
|
+
Ve.setTwoToneColor = Ln;
|
|
969
|
+
const hl = Ve;
|
|
970
970
|
var yl = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" };
|
|
971
971
|
const bl = yl;
|
|
972
972
|
function tn(e) {
|
|
@@ -1022,7 +1022,7 @@ const K = (e, n) => {
|
|
|
1022
1022
|
function wl(e, n, t, o, a, s) {
|
|
1023
1023
|
const r = Z("a-spin");
|
|
1024
1024
|
return E(), $("div", Sl, [
|
|
1025
|
-
e.spinning ? (E(),
|
|
1025
|
+
e.spinning ? (E(), De(r, {
|
|
1026
1026
|
key: 0,
|
|
1027
1027
|
class: "spin",
|
|
1028
1028
|
spinning: e.spinning,
|
|
@@ -1031,7 +1031,7 @@ function wl(e, n, t, o, a, s) {
|
|
|
1031
1031
|
}, null, 8, ["spinning", "indicator"])) : gt(e.$slots, "default", { key: 1 })
|
|
1032
1032
|
]);
|
|
1033
1033
|
}
|
|
1034
|
-
const tt = /* @__PURE__ */ K(Cl, [["render", wl]]),
|
|
1034
|
+
const tt = /* @__PURE__ */ K(Cl, [["render", wl]]), kl = Q({
|
|
1035
1035
|
name: "Skeleton",
|
|
1036
1036
|
props: {
|
|
1037
1037
|
loading: {
|
|
@@ -1043,9 +1043,9 @@ const tt = /* @__PURE__ */ K(Cl, [["render", wl]]), xl = Q({
|
|
|
1043
1043
|
ASkeleton: Ho
|
|
1044
1044
|
}
|
|
1045
1045
|
});
|
|
1046
|
-
function
|
|
1046
|
+
function xl(e, n, t, o, a, s) {
|
|
1047
1047
|
const r = Z("a-skeleton");
|
|
1048
|
-
return E(),
|
|
1048
|
+
return E(), De(r, {
|
|
1049
1049
|
active: "",
|
|
1050
1050
|
loading: e.loading
|
|
1051
1051
|
}, {
|
|
@@ -1055,10 +1055,10 @@ function kl(e, n, t, o, a, s) {
|
|
|
1055
1055
|
_: 3
|
|
1056
1056
|
}, 8, ["loading"]);
|
|
1057
1057
|
}
|
|
1058
|
-
const ht = /* @__PURE__ */ K(
|
|
1058
|
+
const ht = /* @__PURE__ */ K(kl, [["render", xl]]);
|
|
1059
1059
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
1060
1060
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1061
|
-
const
|
|
1061
|
+
const ae = (e, n) => {
|
|
1062
1062
|
if (e.install = (t) => {
|
|
1063
1063
|
for (const o of [e, ...Object.values(n ?? {})])
|
|
1064
1064
|
t.component(o.name, o);
|
|
@@ -1138,7 +1138,7 @@ const oe = (e, n) => {
|
|
|
1138
1138
|
], ie = (e, n = []) => {
|
|
1139
1139
|
const t = na(Al, ...n);
|
|
1140
1140
|
return j(() => bn(e, t));
|
|
1141
|
-
}, zt = "EVENT_BUS", fe = "GLOBAL_CONFIG",
|
|
1141
|
+
}, zt = "EVENT_BUS", fe = "GLOBAL_CONFIG", me = "GLOBAL_MODEL", Se = "REQUEST_MODEL", En = "GLOBAL_TOKEN", Je = "REFRESH_PAGE", On = "MODAL_MODEL";
|
|
1142
1142
|
var ln;
|
|
1143
1143
|
const dt = (ln = window == null ? void 0 : window.config) == null ? void 0 : ln.indicatorURL;
|
|
1144
1144
|
var rn;
|
|
@@ -1147,7 +1147,7 @@ var sn;
|
|
|
1147
1147
|
const nn = ((sn = window == null ? void 0 : window.config) == null ? void 0 : sn.routerBaseURL) || "./";
|
|
1148
1148
|
var cn;
|
|
1149
1149
|
const Tl = ((cn = window == null ? void 0 : window.config) == null ? void 0 : cn.erdURL) || "", ye = (e, n) => {
|
|
1150
|
-
|
|
1150
|
+
oe(() => e.id, (t) => {
|
|
1151
1151
|
const o = N(zt, {
|
|
1152
1152
|
// @ts-ignore
|
|
1153
1153
|
// eslint-disable-next-line no-void
|
|
@@ -1158,7 +1158,7 @@ const Tl = ((cn = window == null ? void 0 : window.config) == null ? void 0 : cn
|
|
|
1158
1158
|
}, {
|
|
1159
1159
|
immediate: !0
|
|
1160
1160
|
});
|
|
1161
|
-
},
|
|
1161
|
+
}, ge = (e) => {
|
|
1162
1162
|
const n = e.events, t = e.id, o = N(zt, {
|
|
1163
1163
|
// @ts-ignore
|
|
1164
1164
|
// eslint-disable-next-line no-void
|
|
@@ -1208,23 +1208,23 @@ const Tl = ((cn = window == null ? void 0 : window.config) == null ? void 0 : cn
|
|
|
1208
1208
|
_e.interceptors.request.use((e) => e, (e) => Promise.reject(e));
|
|
1209
1209
|
_e.interceptors.response.use((e) => {
|
|
1210
1210
|
var n, t, o;
|
|
1211
|
-
return on && +((n = e == null ? void 0 : e.data) == null ? void 0 : n.code) == 500 &&
|
|
1211
|
+
return on && +((n = e == null ? void 0 : e.data) == null ? void 0 : n.code) == 500 && ze.error({
|
|
1212
1212
|
content: ((t = e == null ? void 0 : e.data) == null ? void 0 : t.msg) || ((o = e == null ? void 0 : e.data) == null ? void 0 : o.message) || "服务器异常",
|
|
1213
1213
|
key: "SERVER_ERROR"
|
|
1214
1214
|
}), e;
|
|
1215
1215
|
}, (e) => {
|
|
1216
1216
|
if (on)
|
|
1217
1217
|
if (e.message.includes("timeout"))
|
|
1218
|
-
|
|
1218
|
+
ze.error({
|
|
1219
1219
|
content: "网络连接超时,请重试!",
|
|
1220
1220
|
key: "TIMEOUT"
|
|
1221
1221
|
});
|
|
1222
1222
|
else {
|
|
1223
1223
|
const { status: n } = (e == null ? void 0 : e.response) || {};
|
|
1224
|
-
n >= 400 && n < 500 &&
|
|
1224
|
+
n >= 400 && n < 500 && ze.error({
|
|
1225
1225
|
content: "请求异常",
|
|
1226
1226
|
key: "REQUEST_ERROR"
|
|
1227
|
-
}), n >= 500 &&
|
|
1227
|
+
}), n >= 500 && ze.error({
|
|
1228
1228
|
content: "服务器异常",
|
|
1229
1229
|
key: "REQUEST_ERROR"
|
|
1230
1230
|
});
|
|
@@ -1246,7 +1246,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1246
1246
|
return isNaN(o) ? e : `${(o * 100).toFixed(n)}%`;
|
|
1247
1247
|
}, Fn = (e, n) => typeof e == "string" && typeof n == "string" ? e.toLocaleLowerCase().includes(n.toLocaleLowerCase()) : !1, yt = (e, n) => {
|
|
1248
1248
|
const t = {
|
|
1249
|
-
dayjs:
|
|
1249
|
+
dayjs: Ce,
|
|
1250
1250
|
...n
|
|
1251
1251
|
};
|
|
1252
1252
|
let o = "";
|
|
@@ -1290,7 +1290,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1290
1290
|
contextRequestUrl: "",
|
|
1291
1291
|
pageMode: "normal",
|
|
1292
1292
|
touchEventId: ""
|
|
1293
|
-
}), { getGlobalModel: h } = N(
|
|
1293
|
+
}), { getGlobalModel: h } = N(me, {
|
|
1294
1294
|
// @ts-ignore
|
|
1295
1295
|
// eslint-disable-next-line no-void
|
|
1296
1296
|
getGlobalModel: (y) => {
|
|
@@ -1299,8 +1299,8 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1299
1299
|
if (!g || !o || !a || C(d) === "design")
|
|
1300
1300
|
return;
|
|
1301
1301
|
let v = {};
|
|
1302
|
-
s.forEach((
|
|
1303
|
-
const { key: L, value: S } =
|
|
1302
|
+
s.forEach((k) => {
|
|
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: D, operate: w } = S;
|
|
@@ -1326,27 +1326,27 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1326
1326
|
typeof S == "string" && (v[L] = de(S));
|
|
1327
1327
|
}), v = { ...window.config.requestParams, ...y, ...v };
|
|
1328
1328
|
let b = "";
|
|
1329
|
-
const A = Object.keys(v),
|
|
1330
|
-
A.forEach((
|
|
1331
|
-
L === 0 ? R !== 1 ? b += `?${
|
|
1329
|
+
const A = Object.keys(v), x = A.length - 1, R = A.length;
|
|
1330
|
+
A.forEach((k, L) => {
|
|
1331
|
+
L === 0 ? R !== 1 ? b += `?${k}=${v[k]}&` : b += `?${k}=${v[k]}` : L === x ? b += `${k}=${v[k]}` : b += `${k}=${v[k]}&`;
|
|
1332
1332
|
});
|
|
1333
1333
|
try {
|
|
1334
|
-
const
|
|
1334
|
+
const k = ["get", "head"].includes(o), L = await _e({
|
|
1335
1335
|
baseURL: C(l) || "",
|
|
1336
|
-
url:
|
|
1336
|
+
url: k ? g + b : g,
|
|
1337
1337
|
method: o,
|
|
1338
1338
|
headers: a,
|
|
1339
|
-
data:
|
|
1339
|
+
data: k ? {} : v
|
|
1340
1340
|
});
|
|
1341
1341
|
return n(L), L;
|
|
1342
|
-
} catch (
|
|
1343
|
-
console.error(
|
|
1342
|
+
} catch (k) {
|
|
1343
|
+
console.error(k);
|
|
1344
1344
|
}
|
|
1345
1345
|
}, m = i && setInterval(u, r * 1e3);
|
|
1346
1346
|
return ft(() => {
|
|
1347
1347
|
clearInterval(m);
|
|
1348
1348
|
}), u;
|
|
1349
|
-
},
|
|
1349
|
+
}, Ue = (e = [], n) => {
|
|
1350
1350
|
let { name: t = "name", types: o = [] } = n || {};
|
|
1351
1351
|
t = (t == null ? void 0 : t.trim()) || t;
|
|
1352
1352
|
const a = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map(), r = e.length, i = o.length;
|
|
@@ -1381,7 +1381,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1381
1381
|
dimensions: l,
|
|
1382
1382
|
dataset: d
|
|
1383
1383
|
};
|
|
1384
|
-
},
|
|
1384
|
+
}, Ne = (e, n = !1) => {
|
|
1385
1385
|
var o;
|
|
1386
1386
|
if (!e)
|
|
1387
1387
|
return e;
|
|
@@ -1391,7 +1391,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1391
1391
|
const t = `${nn}/preview?pageId=${n}`, o = `${nn}/${n}`;
|
|
1392
1392
|
return e === "preview" ? t : o;
|
|
1393
1393
|
}, Pt = (e) => {
|
|
1394
|
-
const { getGlobalModel: n } = N(
|
|
1394
|
+
const { getGlobalModel: n } = N(me, {
|
|
1395
1395
|
// @ts-ignore
|
|
1396
1396
|
// eslint-disable-next-line no-void
|
|
1397
1397
|
getGlobalModel: (l) => {
|
|
@@ -1442,8 +1442,8 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1442
1442
|
}, A = n(v) || {};
|
|
1443
1443
|
if (u === "the_date" ? b.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(u) && (b.valueType = "TEXT"), A.type === "ecanDatePicker") {
|
|
1444
1444
|
b.dateFormat = A.format;
|
|
1445
|
-
const
|
|
1446
|
-
typeof
|
|
1445
|
+
const x = (c = C(A)) == null ? void 0 : c.value.format;
|
|
1446
|
+
typeof x == "function" && (b.fieldValue = x(A == null ? void 0 : A.format));
|
|
1447
1447
|
}
|
|
1448
1448
|
d.push(b);
|
|
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
|
|
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 = {
|
|
@@ -1522,13 +1522,13 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1522
1522
|
});
|
|
1523
1523
|
const c = d.classify;
|
|
1524
1524
|
if ([...d.leftAxis, ...d.rightAxis].length === 0) {
|
|
1525
|
-
|
|
1525
|
+
ze.error("当前y轴无配置信息");
|
|
1526
1526
|
return;
|
|
1527
1527
|
}
|
|
1528
1528
|
const g = t(d);
|
|
1529
1529
|
let u;
|
|
1530
1530
|
if (Array.isArray(d.series) && d.series.length > 0) {
|
|
1531
|
-
const S = (
|
|
1531
|
+
const S = (k = d.seriesList) == null ? void 0 : k.find((f) => {
|
|
1532
1532
|
const p = d.series[0];
|
|
1533
1533
|
return f.name === p || f.nameBak === p;
|
|
1534
1534
|
});
|
|
@@ -1551,8 +1551,8 @@ 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 y;
|
|
1553
1553
|
(d == null ? void 0 : d.pageMode) === "design" ? y = d.sqlConditions ?? [] : y = a(d == null ? void 0 : d.relativeList);
|
|
1554
|
-
let v = "SQL_VIEW", b = "", A = "",
|
|
1555
|
-
d.source === "INDICATOR_LIB" && (v = "INDICATOR_LIB", b = d.fixedDimSql, A = d.dataSourceId,
|
|
1554
|
+
let v = "SQL_VIEW", b = "", A = "", x = "";
|
|
1555
|
+
d.source === "INDICATOR_LIB" && (v = "INDICATOR_LIB", b = d.fixedDimSql, A = d.dataSourceId, x = d.idxLibMode);
|
|
1556
1556
|
const R = {
|
|
1557
1557
|
ecanBar: "bar",
|
|
1558
1558
|
ecanLine: "line",
|
|
@@ -1578,7 +1578,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1578
1578
|
source: v,
|
|
1579
1579
|
fixedDimSql: b,
|
|
1580
1580
|
dataSourceId: A,
|
|
1581
|
-
idxLibMode:
|
|
1581
|
+
idxLibMode: x
|
|
1582
1582
|
}, {
|
|
1583
1583
|
headers: { Authentication: S.data.data.token }
|
|
1584
1584
|
});
|
|
@@ -1586,7 +1586,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1586
1586
|
console.error(S);
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
|
-
},
|
|
1589
|
+
}, Pe = (e, n) => {
|
|
1590
1590
|
var a;
|
|
1591
1591
|
if (e == null)
|
|
1592
1592
|
return n;
|
|
@@ -1654,7 +1654,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1654
1654
|
formula: v,
|
|
1655
1655
|
conditions: b
|
|
1656
1656
|
};
|
|
1657
|
-
}, { getGlobalModel: a } = N(
|
|
1657
|
+
}, { getGlobalModel: a } = N(me, {
|
|
1658
1658
|
// @ts-ignore
|
|
1659
1659
|
// eslint-disable-next-line no-void
|
|
1660
1660
|
getGlobalModel: (r) => {
|
|
@@ -1677,8 +1677,8 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1677
1677
|
valueType: y
|
|
1678
1678
|
}, b = a(g) || {};
|
|
1679
1679
|
if (Fn(b.type, "date")) {
|
|
1680
|
-
const { value: A, format:
|
|
1681
|
-
v.fieldValue = (d = C(A)) == null ? void 0 : d.format(
|
|
1680
|
+
const { value: A, format: x } = b || {};
|
|
1681
|
+
v.fieldValue = (d = C(A)) == null ? void 0 : d.format(x), v.dateFormat = x;
|
|
1682
1682
|
}
|
|
1683
1683
|
l.push(v);
|
|
1684
1684
|
}
|
|
@@ -1699,15 +1699,15 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1699
1699
|
queryColumnList: v = [],
|
|
1700
1700
|
indicators: b = [],
|
|
1701
1701
|
controlList: A = [],
|
|
1702
|
-
dataSourceId:
|
|
1702
|
+
dataSourceId: x,
|
|
1703
1703
|
idxLibMode: R,
|
|
1704
|
-
preview:
|
|
1704
|
+
preview: k = !1
|
|
1705
1705
|
} = r || {};
|
|
1706
1706
|
let L;
|
|
1707
1707
|
if (Array.isArray(g) && g.length > 0) {
|
|
1708
1708
|
const w = g.length;
|
|
1709
1709
|
for (let _ = 0; _ < w; _++) {
|
|
1710
|
-
const U = g[_] || {}, { label: H = "", name: O = "", show: P = !1, sort: z, customGroup: W, conditions:
|
|
1710
|
+
const U = g[_] || {}, { label: H = "", name: O = "", show: P = !1, sort: z, customGroup: W, conditions: ee } = U;
|
|
1711
1711
|
if (P || w === 1) {
|
|
1712
1712
|
L = {
|
|
1713
1713
|
label: H,
|
|
@@ -1715,7 +1715,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1715
1715
|
show: P,
|
|
1716
1716
|
sort: z,
|
|
1717
1717
|
customGroup: W,
|
|
1718
|
-
conditions:
|
|
1718
|
+
conditions: ee
|
|
1719
1719
|
};
|
|
1720
1720
|
break;
|
|
1721
1721
|
}
|
|
@@ -1725,7 +1725,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1725
1725
|
if (Array.isArray(u) && u.length > 0) {
|
|
1726
1726
|
const w = u.length;
|
|
1727
1727
|
for (let _ = 0; _ < w; _++) {
|
|
1728
|
-
const U = u[_] || {}, { label: H = "", name: O = "", show: P = !1, sort: z, customGroup: W, conditions:
|
|
1728
|
+
const U = u[_] || {}, { label: H = "", name: O = "", show: P = !1, sort: z, customGroup: W, conditions: ee } = U;
|
|
1729
1729
|
if (P || w === 1) {
|
|
1730
1730
|
S = {
|
|
1731
1731
|
label: H,
|
|
@@ -1733,7 +1733,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1733
1733
|
show: P,
|
|
1734
1734
|
sort: z,
|
|
1735
1735
|
customGroup: W,
|
|
1736
|
-
conditions:
|
|
1736
|
+
conditions: ee
|
|
1737
1737
|
};
|
|
1738
1738
|
break;
|
|
1739
1739
|
}
|
|
@@ -1772,9 +1772,9 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1772
1772
|
pageFlag: !0,
|
|
1773
1773
|
sqlConditions: T,
|
|
1774
1774
|
// fixedDimSql: '',
|
|
1775
|
-
dataSourceId:
|
|
1775
|
+
dataSourceId: x,
|
|
1776
1776
|
idxLibMode: R,
|
|
1777
|
-
preview:
|
|
1777
|
+
preview: k
|
|
1778
1778
|
},
|
|
1779
1779
|
{
|
|
1780
1780
|
headers: {
|
|
@@ -1811,7 +1811,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1811
1811
|
width: e.width,
|
|
1812
1812
|
height: e.height,
|
|
1813
1813
|
backgroundColor: e.backgroundColor,
|
|
1814
|
-
backgroundImage:
|
|
1814
|
+
backgroundImage: Ne(e.backgroundImage, !0),
|
|
1815
1815
|
backgroundSize: e.backgroundSize
|
|
1816
1816
|
})), t = M(0), o = M(0), a = M(0), s = M(0), r = M(!1), i = M();
|
|
1817
1817
|
let l;
|
|
@@ -1822,8 +1822,8 @@ 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 = `${s.value}px`);
|
|
1824
1824
|
}, h = () => {
|
|
1825
|
-
const y = document.body.clientWidth, v = document.body.clientHeight, b = t.value || a.value, A = o.value || s.value,
|
|
1826
|
-
i.value && (i.value.style.transform = `scale(${
|
|
1825
|
+
const y = document.body.clientWidth, v = document.body.clientHeight, b = t.value || a.value, A = o.value || s.value, x = y / b, R = v / A;
|
|
1826
|
+
i.value && (i.value.style.transform = `scale(${x}, ${R})`);
|
|
1827
1827
|
}, g = Ft(async () => {
|
|
1828
1828
|
await d(), h();
|
|
1829
1829
|
}, 100), u = () => {
|
|
@@ -1836,7 +1836,7 @@ const _l = (e) => e.replace(/\\n/g, `
|
|
|
1836
1836
|
}, m = () => {
|
|
1837
1837
|
l && (l.disconnect(), l.takeRecords(), l = null);
|
|
1838
1838
|
};
|
|
1839
|
-
return
|
|
1839
|
+
return Ge(async () => {
|
|
1840
1840
|
r.value = !1, await d(), c(), h(), window.addEventListener("resize", g), u(), r.value = !0;
|
|
1841
1841
|
}), ft(() => {
|
|
1842
1842
|
window.removeEventListener("resize", g), m();
|
|
@@ -1862,7 +1862,7 @@ function Ol(e, n, t, o, a, s) {
|
|
|
1862
1862
|
], 4)) : ve("", !0)
|
|
1863
1863
|
], 512);
|
|
1864
1864
|
}
|
|
1865
|
-
const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e"]]), Rl =
|
|
1865
|
+
const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e"]]), Rl = ae(Fl), $n = {
|
|
1866
1866
|
contextRequestUrl: "",
|
|
1867
1867
|
pageMode: "normal",
|
|
1868
1868
|
theme: "light",
|
|
@@ -1878,13 +1878,13 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1878
1878
|
const t = M(), o = () => {
|
|
1879
1879
|
t.value.setAttribute("datav-theme", e.theme);
|
|
1880
1880
|
};
|
|
1881
|
-
|
|
1881
|
+
oe(() => e.theme, () => {
|
|
1882
1882
|
o();
|
|
1883
|
-
}),
|
|
1883
|
+
}), Ge(() => {
|
|
1884
1884
|
o();
|
|
1885
1885
|
});
|
|
1886
1886
|
const a = j(() => de(e.contextRequestUrl)), s = j(() => e.pageMode), r = j(() => e.theme), i = M("");
|
|
1887
|
-
|
|
1887
|
+
$e(fe, {
|
|
1888
1888
|
// 请求地址
|
|
1889
1889
|
contextRequestUrl: a,
|
|
1890
1890
|
// 模式(设计、预览、正常):目前主要配置初始化是否发起请求
|
|
@@ -1894,7 +1894,7 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1894
1894
|
touchEventId: i
|
|
1895
1895
|
});
|
|
1896
1896
|
const l = /* @__PURE__ */ new Map(), d = (O) => l.get(O);
|
|
1897
|
-
|
|
1897
|
+
$e(me, {
|
|
1898
1898
|
getGlobalModel: d,
|
|
1899
1899
|
setGlobalModel: (O, P) => {
|
|
1900
1900
|
l.set(O, P);
|
|
@@ -1905,7 +1905,7 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1905
1905
|
}, u = (O) => {
|
|
1906
1906
|
h.push(O);
|
|
1907
1907
|
}, m = /* @__PURE__ */ new Map(), y = (O) => m.get(O);
|
|
1908
|
-
|
|
1908
|
+
$e(On, {
|
|
1909
1909
|
popUseModalIds: g,
|
|
1910
1910
|
pushUseModalIds: u,
|
|
1911
1911
|
getModalModel: y,
|
|
@@ -1913,15 +1913,15 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1913
1913
|
m.set(O, P);
|
|
1914
1914
|
}
|
|
1915
1915
|
});
|
|
1916
|
-
const b = oa(), A = /* @__PURE__ */ new Set(),
|
|
1916
|
+
const b = oa(), A = /* @__PURE__ */ new Set(), x = (O, P) => {
|
|
1917
1917
|
A.add(O), b.on(O, (z) => typeof P[z] == "function" && P[z]()), _t(() => {
|
|
1918
1918
|
R(O);
|
|
1919
1919
|
});
|
|
1920
1920
|
}, R = (O) => {
|
|
1921
1921
|
A.delete(O), b.off(O);
|
|
1922
1922
|
};
|
|
1923
|
-
|
|
1924
|
-
onEvent:
|
|
1923
|
+
$e(zt, {
|
|
1924
|
+
onEvent: x,
|
|
1925
1925
|
offEvent: R,
|
|
1926
1926
|
emitEvent: (O, P) => {
|
|
1927
1927
|
if (O === "PAGE") {
|
|
@@ -1930,18 +1930,18 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1930
1930
|
if (z === 0)
|
|
1931
1931
|
W = [...A];
|
|
1932
1932
|
else {
|
|
1933
|
-
const
|
|
1934
|
-
W = [...y(
|
|
1933
|
+
const ee = h[z - 1];
|
|
1934
|
+
W = [...y(ee)];
|
|
1935
1935
|
}
|
|
1936
|
-
W.forEach((
|
|
1937
|
-
b.emit(
|
|
1936
|
+
W.forEach((ee) => {
|
|
1937
|
+
b.emit(ee, P);
|
|
1938
1938
|
});
|
|
1939
1939
|
} else
|
|
1940
1940
|
b.emit(O, P);
|
|
1941
1941
|
}
|
|
1942
1942
|
});
|
|
1943
1943
|
const L = M(0);
|
|
1944
|
-
|
|
1944
|
+
$e(En, {
|
|
1945
1945
|
requestToken: () => {
|
|
1946
1946
|
L.value = C(L) + 1;
|
|
1947
1947
|
}
|
|
@@ -1955,11 +1955,11 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1955
1955
|
f.set(P, [O]);
|
|
1956
1956
|
p.set(z, O);
|
|
1957
1957
|
}, D = (O) => new Promise((P, z) => {
|
|
1958
|
-
const W = O.map((
|
|
1959
|
-
Promise.all(W).then((
|
|
1960
|
-
P(
|
|
1961
|
-
}).catch((
|
|
1962
|
-
z(
|
|
1958
|
+
const W = O.map((ee) => ee());
|
|
1959
|
+
Promise.all(W).then((ee) => {
|
|
1960
|
+
P(ee);
|
|
1961
|
+
}).catch((ee) => {
|
|
1962
|
+
z(ee);
|
|
1963
1963
|
});
|
|
1964
1964
|
}), w = async () => {
|
|
1965
1965
|
var P;
|
|
@@ -1975,17 +1975,17 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1975
1975
|
if (typeof O == "string") {
|
|
1976
1976
|
const W = p.get(O);
|
|
1977
1977
|
if (typeof W == "function") {
|
|
1978
|
-
const
|
|
1979
|
-
W(), _e.interceptors.response.eject(
|
|
1978
|
+
const ee = _e.interceptors.response.use((se) => (P(se), se), (se) => (z(se), Promise.reject(se)));
|
|
1979
|
+
W(), _e.interceptors.response.eject(ee);
|
|
1980
1980
|
}
|
|
1981
1981
|
}
|
|
1982
1982
|
} else {
|
|
1983
1983
|
const W = Array.from(f);
|
|
1984
1984
|
W.sort((se, ot) => ot[0] - se[0]);
|
|
1985
|
-
const
|
|
1985
|
+
const ee = W.length;
|
|
1986
1986
|
try {
|
|
1987
1987
|
e.pageMode !== "design" && C(L) > 0 && await w();
|
|
1988
|
-
for (let se = 0; se <
|
|
1988
|
+
for (let se = 0; se < ee; se++) {
|
|
1989
1989
|
const ot = W[se][1];
|
|
1990
1990
|
await D(ot);
|
|
1991
1991
|
}
|
|
@@ -1996,16 +1996,16 @@ const Fl = /* @__PURE__ */ K(Ml, [["render", Ol], ["__scopeId", "data-v-242d350e
|
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
1998
1998
|
});
|
|
1999
|
-
|
|
1999
|
+
$e(Se, {
|
|
2000
2000
|
setRequest: T,
|
|
2001
2001
|
touchRequest: _
|
|
2002
|
-
}),
|
|
2002
|
+
}), $e(Je, {
|
|
2003
2003
|
emitRefreshPage: () => {
|
|
2004
2004
|
b.emit(Je);
|
|
2005
2005
|
}
|
|
2006
2006
|
});
|
|
2007
2007
|
const H = (O) => {
|
|
2008
|
-
b.on(Je, () => O()),
|
|
2008
|
+
b.on(Je, () => O()), Ge(() => {
|
|
2009
2009
|
b.off(Je);
|
|
2010
2010
|
});
|
|
2011
2011
|
};
|
|
@@ -2028,7 +2028,7 @@ function zl(e, n, t, o, a, s) {
|
|
|
2028
2028
|
gt(e.$slots, "default")
|
|
2029
2029
|
], 512);
|
|
2030
2030
|
}
|
|
2031
|
-
const Nl = /* @__PURE__ */ K(Dl, [["render", zl]]), Pl =
|
|
2031
|
+
const Nl = /* @__PURE__ */ K(Dl, [["render", zl]]), Pl = ae(Nl), Nn = {
|
|
2032
2032
|
...re,
|
|
2033
2033
|
name: "文本",
|
|
2034
2034
|
keyName: "文本",
|
|
@@ -2060,7 +2060,7 @@ const Nl = /* @__PURE__ */ K(Dl, [["render", zl]]), Pl = oe(Nl), Nn = {
|
|
|
2060
2060
|
},
|
|
2061
2061
|
setup(e) {
|
|
2062
2062
|
const n = ie(e), t = M({});
|
|
2063
|
-
|
|
2063
|
+
oe(() => [e.data, e.dataType], ([g, u]) => {
|
|
2064
2064
|
u === "static" && (t.value = g);
|
|
2065
2065
|
}, {
|
|
2066
2066
|
immediate: !0
|
|
@@ -2075,20 +2075,20 @@ const Nl = /* @__PURE__ */ K(Dl, [["render", zl]]), Pl = oe(Nl), Nn = {
|
|
|
2075
2075
|
return u;
|
|
2076
2076
|
for (let v = 0; v < m.length; v++) {
|
|
2077
2077
|
const b = m[v], A = (y = b == null ? void 0 : b.slice(1, b.length - 1)) == null ? void 0 : y.trim();
|
|
2078
|
-
let
|
|
2078
|
+
let x = A;
|
|
2079
2079
|
const R = A.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
|
|
2080
2080
|
for (let L = 0; L < R.length; L++) {
|
|
2081
2081
|
const S = R[L], f = g[S];
|
|
2082
|
-
f && (
|
|
2082
|
+
f && (x = A.replace(S, f));
|
|
2083
2083
|
}
|
|
2084
|
-
if (/\(.*\)/g.test(
|
|
2085
|
-
const L = yt(
|
|
2086
|
-
L != null && (
|
|
2084
|
+
if (/\(.*\)/g.test(x)) {
|
|
2085
|
+
const L = yt(x);
|
|
2086
|
+
L != null && (x = L);
|
|
2087
2087
|
}
|
|
2088
|
-
let
|
|
2089
|
-
if (
|
|
2088
|
+
let k = x;
|
|
2089
|
+
if (k === A && (k = e.variableDefaultValue), k != null) {
|
|
2090
2090
|
const L = e.format;
|
|
2091
|
-
L === "percentage" ? (
|
|
2091
|
+
L === "percentage" ? (k = +k, isNaN(k) ? u = u.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : k >= 0 ? (k = (k * 100).toFixed(2), u = u.replace(b, `<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(b, `<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(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}%</span>`))) : e.format === "money" ? (k = +k, isNaN(k) || (k = Nt(k), u = u.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}</span>`))) : L === "thousands" ? (k = +k, isNaN(k) || (k = Ll(k), u = u.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}</span>`))) : u = u.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${k}</span>`);
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
2094
|
return `<span>${u}</span>`;
|
|
@@ -2112,7 +2112,7 @@ const Nl = /* @__PURE__ */ K(Dl, [["render", zl]]), Pl = oe(Nl), Nn = {
|
|
|
2112
2112
|
ye(e, {
|
|
2113
2113
|
refreshData: l
|
|
2114
2114
|
});
|
|
2115
|
-
const { setRequest: d } = N(
|
|
2115
|
+
const { setRequest: d } = N(Se, {
|
|
2116
2116
|
// @ts-ignore
|
|
2117
2117
|
// eslint-disable-next-line no-void
|
|
2118
2118
|
setRequest: ({ id: g, sortNum: u, requestFn: m }) => {
|
|
@@ -2125,7 +2125,7 @@ const Nl = /* @__PURE__ */ K(Dl, [["render", zl]]), Pl = oe(Nl), Nn = {
|
|
|
2125
2125
|
}), ye(e, {
|
|
2126
2126
|
refreshData: l
|
|
2127
2127
|
});
|
|
2128
|
-
const h =
|
|
2128
|
+
const h = ge(e)("click", () => {
|
|
2129
2129
|
if (!e.linkPage && !e.href)
|
|
2130
2130
|
return;
|
|
2131
2131
|
const g = e.linkPage || "", u = Rn(C(a), g), m = e.href;
|
|
@@ -2162,7 +2162,7 @@ function Wl(e, n, t, o, a, s) {
|
|
|
2162
2162
|
onClick: n[0] || (n[0] = (...i) => e.click && e.click(...i))
|
|
2163
2163
|
}, null, 12, jl));
|
|
2164
2164
|
}
|
|
2165
|
-
const Vl = /* @__PURE__ */ K(ql, [["render", Wl], ["__scopeId", "data-v-f9ba6c3f"]]), Hl =
|
|
2165
|
+
const Vl = /* @__PURE__ */ K(ql, [["render", Wl], ["__scopeId", "data-v-f9ba6c3f"]]), Hl = ae(Vl), Zl = Q({
|
|
2166
2166
|
name: "EcanScrollText",
|
|
2167
2167
|
setup() {
|
|
2168
2168
|
return {
|
|
@@ -2174,7 +2174,7 @@ const Jl = { class: "red" };
|
|
|
2174
2174
|
function Yl(e, n, t, o, a, s) {
|
|
2175
2175
|
return E(), $("div", Jl, be(e.text), 1);
|
|
2176
2176
|
}
|
|
2177
|
-
const Ql = /* @__PURE__ */ K(Zl, [["render", Yl], ["__scopeId", "data-v-4dd9c03e"]]), Kl =
|
|
2177
|
+
const Ql = /* @__PURE__ */ K(Zl, [["render", Yl], ["__scopeId", "data-v-4dd9c03e"]]), Kl = ae(Ql), Bn = {
|
|
2178
2178
|
...re,
|
|
2179
2179
|
name: "时间展示",
|
|
2180
2180
|
keyName: "时间展示",
|
|
@@ -2195,16 +2195,16 @@ const Ql = /* @__PURE__ */ K(Zl, [["render", Yl], ["__scopeId", "data-v-4dd9c03e
|
|
|
2195
2195
|
...Gn
|
|
2196
2196
|
},
|
|
2197
2197
|
setup(e) {
|
|
2198
|
-
const n = ie(e), t = M(
|
|
2198
|
+
const n = ie(e), t = M(Ce().format(e.format));
|
|
2199
2199
|
let o = null;
|
|
2200
2200
|
const a = () => {
|
|
2201
2201
|
clearInterval(o), o = null;
|
|
2202
2202
|
}, s = () => {
|
|
2203
2203
|
o && a(), o = setInterval(() => {
|
|
2204
|
-
t.value =
|
|
2204
|
+
t.value = Ce().add(1, "s").format(e.format);
|
|
2205
2205
|
}, 1e3);
|
|
2206
2206
|
};
|
|
2207
|
-
return
|
|
2207
|
+
return Ge(() => {
|
|
2208
2208
|
s();
|
|
2209
2209
|
}), ft(() => {
|
|
2210
2210
|
a();
|
|
@@ -2220,7 +2220,7 @@ function ei(e, n, t, o, a, s) {
|
|
|
2220
2220
|
style: G(e.style)
|
|
2221
2221
|
}, be(e.time), 5);
|
|
2222
2222
|
}
|
|
2223
|
-
const ti = /* @__PURE__ */ K(Xl, [["render", ei], ["__scopeId", "data-v-47d57d2d"]]), ni =
|
|
2223
|
+
const ti = /* @__PURE__ */ K(Xl, [["render", ei], ["__scopeId", "data-v-47d57d2d"]]), ni = ae(ti), Un = {
|
|
2224
2224
|
...re,
|
|
2225
2225
|
type: "ecanList",
|
|
2226
2226
|
name: "列表",
|
|
@@ -2294,12 +2294,12 @@ const ti = /* @__PURE__ */ K(Xl, [["render", ei], ["__scopeId", "data-v-47d57d2d
|
|
|
2294
2294
|
}
|
|
2295
2295
|
}, c = () => {
|
|
2296
2296
|
d();
|
|
2297
|
-
}, g =
|
|
2297
|
+
}, g = ge(e)("click", () => {
|
|
2298
2298
|
});
|
|
2299
2299
|
ye(e, {
|
|
2300
2300
|
refreshData: c
|
|
2301
2301
|
});
|
|
2302
|
-
const { setRequest: u } = N(
|
|
2302
|
+
const { setRequest: u } = N(Se, {
|
|
2303
2303
|
// @ts-ignore
|
|
2304
2304
|
// eslint-disable-next-line no-void
|
|
2305
2305
|
setRequest: ({ id: m, sortNum: y, requestFn: v }) => {
|
|
@@ -2332,7 +2332,7 @@ const li = (e) => (un("data-v-211785ca"), e = e(), fn(), e), ii = {
|
|
|
2332
2332
|
}, ci = {
|
|
2333
2333
|
key: 0,
|
|
2334
2334
|
class: "ranking"
|
|
2335
|
-
}, di = /* @__PURE__ */ li(() => /* @__PURE__ */
|
|
2335
|
+
}, di = /* @__PURE__ */ li(() => /* @__PURE__ */ X("div", { class: "icon" }, null, -1)), ui = { class: "sort" }, fi = {
|
|
2336
2336
|
key: 2,
|
|
2337
2337
|
class: "empty"
|
|
2338
2338
|
};
|
|
@@ -2345,7 +2345,7 @@ function mi(e, n, t, o, a, s) {
|
|
|
2345
2345
|
q(r, { loading: e.loading }, {
|
|
2346
2346
|
default: Y(() => [
|
|
2347
2347
|
e.useTitle ? (E(), $("div", ii, [
|
|
2348
|
-
(E(!0), $(
|
|
2348
|
+
(E(!0), $(Ee, null, Fe(e.columnCount, (i) => (E(), $("div", {
|
|
2349
2349
|
class: "title-inner",
|
|
2350
2350
|
style: G({
|
|
2351
2351
|
backgroundColor: e.backgroundColor,
|
|
@@ -2356,7 +2356,7 @@ function mi(e, n, t, o, a, s) {
|
|
|
2356
2356
|
key: i
|
|
2357
2357
|
}, [
|
|
2358
2358
|
e.useRanking ? (E(), $("div", ri)) : ve("", !0),
|
|
2359
|
-
(E(!0), $(
|
|
2359
|
+
(E(!0), $(Ee, null, Fe(e.columns, (l, d) => (E(), $("div", {
|
|
2360
2360
|
class: "column",
|
|
2361
2361
|
key: l.key || d,
|
|
2362
2362
|
style: G({
|
|
@@ -2374,7 +2374,7 @@ function mi(e, n, t, o, a, s) {
|
|
|
2374
2374
|
marginBottom: e.itemRowSpan
|
|
2375
2375
|
})
|
|
2376
2376
|
}, null, 4)) : ve("", !0),
|
|
2377
|
-
(E(!0), $(
|
|
2377
|
+
(E(!0), $(Ee, null, Fe(e.dataSource.slice(0, e.sliceCount), (i, l) => (E(), $("div", {
|
|
2378
2378
|
class: "item",
|
|
2379
2379
|
style: G({
|
|
2380
2380
|
backgroundColor: e.backgroundColor,
|
|
@@ -2388,9 +2388,9 @@ function mi(e, n, t, o, a, s) {
|
|
|
2388
2388
|
}, [
|
|
2389
2389
|
e.useRanking ? (E(), $("div", ci, [
|
|
2390
2390
|
di,
|
|
2391
|
-
|
|
2391
|
+
X("div", ui, " Top " + be(l + 1), 1)
|
|
2392
2392
|
])) : ve("", !0),
|
|
2393
|
-
(E(!0), $(
|
|
2393
|
+
(E(!0), $(Ee, null, Fe(e.columns, (d) => (E(), $("div", {
|
|
2394
2394
|
class: Lt(["column", e.contrastClass(i[d.key], d.format)]),
|
|
2395
2395
|
key: d.key,
|
|
2396
2396
|
style: G({
|
|
@@ -2407,7 +2407,7 @@ function mi(e, n, t, o, a, s) {
|
|
|
2407
2407
|
}, 8, ["loading"])
|
|
2408
2408
|
], 4);
|
|
2409
2409
|
}
|
|
2410
|
-
const gi = /* @__PURE__ */ K(ai, [["render", mi], ["__scopeId", "data-v-211785ca"]]), hi =
|
|
2410
|
+
const gi = /* @__PURE__ */ K(ai, [["render", mi], ["__scopeId", "data-v-211785ca"]]), hi = ae(gi), jn = {
|
|
2411
2411
|
...re,
|
|
2412
2412
|
name: "占比图",
|
|
2413
2413
|
keyName: "占比图",
|
|
@@ -2446,7 +2446,7 @@ const gi = /* @__PURE__ */ K(ai, [["render", mi], ["__scopeId", "data-v-211785ca
|
|
|
2446
2446
|
const m = e.width;
|
|
2447
2447
|
return parseFloat(m);
|
|
2448
2448
|
}), a = M({});
|
|
2449
|
-
|
|
2449
|
+
oe(() => e.data, () => {
|
|
2450
2450
|
(e.dataType === "static" || C(n) === "design") && (a.value = e.data);
|
|
2451
2451
|
}, {
|
|
2452
2452
|
immediate: !0,
|
|
@@ -2459,10 +2459,10 @@ const gi = /* @__PURE__ */ K(ai, [["render", mi], ["__scopeId", "data-v-211785ca
|
|
|
2459
2459
|
const v = e.text.match(/\{.+\}/g) || [];
|
|
2460
2460
|
let b;
|
|
2461
2461
|
const A = new Set(Object.keys(m));
|
|
2462
|
-
for (let
|
|
2463
|
-
const R = v[
|
|
2464
|
-
if (A.has(
|
|
2465
|
-
b = m[
|
|
2462
|
+
for (let x = 0; x < v.length; x++) {
|
|
2463
|
+
const R = v[x], k = R.slice(1, R.length - 1);
|
|
2464
|
+
if (A.has(k)) {
|
|
2465
|
+
b = m[k];
|
|
2466
2466
|
break;
|
|
2467
2467
|
}
|
|
2468
2468
|
}
|
|
@@ -2473,17 +2473,17 @@ const gi = /* @__PURE__ */ K(ai, [["render", mi], ["__scopeId", "data-v-211785ca
|
|
|
2473
2473
|
if (m === "")
|
|
2474
2474
|
return C(s);
|
|
2475
2475
|
const y = e.variableDefaultValue, v = C(a), b = m.match(/\{.+\}/g) || [];
|
|
2476
|
-
for (let
|
|
2477
|
-
const R = b[
|
|
2478
|
-
let
|
|
2476
|
+
for (let x = 0; x < b.length; x++) {
|
|
2477
|
+
const R = b[x];
|
|
2478
|
+
let k = R.slice(1, R.length - 1);
|
|
2479
2479
|
const L = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, S = R.match(L);
|
|
2480
2480
|
for (let p = 0; p < (S == null ? void 0 : S.length); p++) {
|
|
2481
2481
|
const T = (A = S[p]) == null ? void 0 : A.trim();
|
|
2482
|
-
v[T] != null && (
|
|
2482
|
+
v[T] != null && (k = k.replace(T, v[T]));
|
|
2483
2483
|
}
|
|
2484
|
-
let f =
|
|
2484
|
+
let f = k;
|
|
2485
2485
|
try {
|
|
2486
|
-
/\(.*\)/g.test(
|
|
2486
|
+
/\(.*\)/g.test(k) && (f = yt(k));
|
|
2487
2487
|
} catch (p) {
|
|
2488
2488
|
console.error(p);
|
|
2489
2489
|
}
|
|
@@ -2508,8 +2508,8 @@ const gi = /* @__PURE__ */ K(ai, [["render", mi], ["__scopeId", "data-v-211785ca
|
|
|
2508
2508
|
d();
|
|
2509
2509
|
}
|
|
2510
2510
|
});
|
|
2511
|
-
const g =
|
|
2512
|
-
}), { setRequest: u } = N(
|
|
2511
|
+
const g = ge(e)("click", () => {
|
|
2512
|
+
}), { setRequest: u } = N(Se, {
|
|
2513
2513
|
// @ts-ignore
|
|
2514
2514
|
// eslint-disable-next-line no-void
|
|
2515
2515
|
setRequest: ({ id: m, sortNum: y, requestFn: v }) => {
|
|
@@ -2548,7 +2548,7 @@ function vi(e, n, t, o, a, s) {
|
|
|
2548
2548
|
onClick: e.click
|
|
2549
2549
|
}, {
|
|
2550
2550
|
format: Y(() => [
|
|
2551
|
-
e.loading ? (E(),
|
|
2551
|
+
e.loading ? (E(), De(r, {
|
|
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, s) {
|
|
|
2567
2567
|
}, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
|
|
2568
2568
|
], 4);
|
|
2569
2569
|
}
|
|
2570
|
-
const pi = /* @__PURE__ */ K(bi, [["render", vi], ["__scopeId", "data-v-33fedc2e"]]), Ci =
|
|
2570
|
+
const pi = /* @__PURE__ */ K(bi, [["render", vi], ["__scopeId", "data-v-33fedc2e"]]), Ci = ae(pi), Vn = {
|
|
2571
2571
|
...re,
|
|
2572
2572
|
width: "200px",
|
|
2573
2573
|
id: "",
|
|
@@ -2589,12 +2589,12 @@ const pi = /* @__PURE__ */ K(bi, [["render", vi], ["__scopeId", "data-v-33fedc2e
|
|
|
2589
2589
|
},
|
|
2590
2590
|
setup(e) {
|
|
2591
2591
|
const n = ie(e), t = M("");
|
|
2592
|
-
|
|
2592
|
+
oe(() => e.value, (d) => {
|
|
2593
2593
|
t.value = d;
|
|
2594
2594
|
}, {
|
|
2595
2595
|
immediate: !0
|
|
2596
2596
|
});
|
|
2597
|
-
const { getGlobalModel: o, setGlobalModel: a } = N(
|
|
2597
|
+
const { getGlobalModel: o, setGlobalModel: a } = N(me, {
|
|
2598
2598
|
// @ts-ignore
|
|
2599
2599
|
// eslint-disable-next-line no-void
|
|
2600
2600
|
getGlobalModel: (d) => {
|
|
@@ -2611,7 +2611,7 @@ const pi = /* @__PURE__ */ K(bi, [["render", vi], ["__scopeId", "data-v-33fedc2e
|
|
|
2611
2611
|
const s = () => {
|
|
2612
2612
|
const d = o(e.id);
|
|
2613
2613
|
a(e.id, { ...d, RECORD: t });
|
|
2614
|
-
}, r =
|
|
2614
|
+
}, r = ge(e), i = Ft(r("inputChange", () => {
|
|
2615
2615
|
s();
|
|
2616
2616
|
}), 300), l = r("inputBlur", () => {
|
|
2617
2617
|
});
|
|
@@ -2623,7 +2623,7 @@ const pi = /* @__PURE__ */ K(bi, [["render", vi], ["__scopeId", "data-v-33fedc2e
|
|
|
2623
2623
|
};
|
|
2624
2624
|
}
|
|
2625
2625
|
});
|
|
2626
|
-
function
|
|
2626
|
+
function ki(e, n, t, o, a, s) {
|
|
2627
2627
|
const r = Z("a-input");
|
|
2628
2628
|
return E(), $("div", {
|
|
2629
2629
|
class: "ecan-input",
|
|
@@ -2639,7 +2639,7 @@ function xi(e, n, t, o, a, s) {
|
|
|
2639
2639
|
}, null, 8, ["value", "placeholder", "onChange", "onBlur"])
|
|
2640
2640
|
], 4);
|
|
2641
2641
|
}
|
|
2642
|
-
const
|
|
2642
|
+
const xi = /* @__PURE__ */ K(wi, [["render", ki]]), Ai = ae(xi), Zn = {
|
|
2643
2643
|
...re,
|
|
2644
2644
|
height: "33px",
|
|
2645
2645
|
width: "130px",
|
|
@@ -2666,9 +2666,9 @@ const ki = /* @__PURE__ */ K(wi, [["render", xi]]), Ai = oe(ki), Zn = {
|
|
|
2666
2666
|
},
|
|
2667
2667
|
setup(e) {
|
|
2668
2668
|
const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = M(null);
|
|
2669
|
-
|
|
2669
|
+
oe(() => [e.value, e.useCurrentTime, e.operate], ([i, l, d]) => {
|
|
2670
2670
|
let c = null;
|
|
2671
|
-
if (i ? c =
|
|
2671
|
+
if (i ? c = Ce(de(i)) : l && (c = Ce()), d && c) {
|
|
2672
2672
|
const { type: h, value: g, mode: u } = d;
|
|
2673
2673
|
switch (h) {
|
|
2674
2674
|
case "add":
|
|
@@ -2683,7 +2683,7 @@ const ki = /* @__PURE__ */ K(wi, [["render", xi]]), Ai = oe(ki), Zn = {
|
|
|
2683
2683
|
deep: !0,
|
|
2684
2684
|
immediate: !0
|
|
2685
2685
|
});
|
|
2686
|
-
const { setGlobalModel: a } = N(
|
|
2686
|
+
const { setGlobalModel: a } = N(me, {
|
|
2687
2687
|
// @ts-ignore
|
|
2688
2688
|
// eslint-disable-next-line no-void
|
|
2689
2689
|
setGlobalModel: (i, l) => {
|
|
@@ -2694,7 +2694,7 @@ const ki = /* @__PURE__ */ K(wi, [["render", xi]]), Ai = oe(ki), Zn = {
|
|
|
2694
2694
|
format: e.format,
|
|
2695
2695
|
value: o
|
|
2696
2696
|
});
|
|
2697
|
-
const r =
|
|
2697
|
+
const r = ge(e)("dateChange", () => {
|
|
2698
2698
|
});
|
|
2699
2699
|
return ye(e, {
|
|
2700
2700
|
dateChange: r
|
|
@@ -2727,7 +2727,7 @@ function Li(e, n, t, o, a, s) {
|
|
|
2727
2727
|
}, null, 8, ["value", "format", "picker", "showTime", "locale", "onChange", "getPopupContainer"])
|
|
2728
2728
|
], 4);
|
|
2729
2729
|
}
|
|
2730
|
-
const Ii = /* @__PURE__ */ K(_i, [["render", Li]]), Mi =
|
|
2730
|
+
const Ii = /* @__PURE__ */ K(_i, [["render", Li]]), Mi = ae(Ii), Yn = {
|
|
2731
2731
|
...re,
|
|
2732
2732
|
name: "下拉框选择器",
|
|
2733
2733
|
keyName: "下拉框选择器",
|
|
@@ -2755,10 +2755,10 @@ const Ii = /* @__PURE__ */ K(_i, [["render", Li]]), Mi = oe(Ii), Yn = {
|
|
|
2755
2755
|
const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = Te(e), { pageMode: a } = N(fe, {
|
|
2756
2756
|
pageMode: "normal"
|
|
2757
2757
|
}), s = M(e.data), r = M(e.value || e.data[0]), i = e.dataFieldNames, l = (v, b) => {
|
|
2758
|
-
const A = i.label,
|
|
2758
|
+
const A = i.label, x = i.value;
|
|
2759
2759
|
let R;
|
|
2760
|
-
const
|
|
2761
|
-
return
|
|
2760
|
+
const k = b[A], L = b[x];
|
|
2761
|
+
return k != null ? R = k : L != null && (R = L), (R == null ? void 0 : R.toLowerCase().indexOf(v == null ? void 0 : v.toLowerCase())) >= 0;
|
|
2762
2762
|
}, d = M(!1), c = async () => {
|
|
2763
2763
|
var v, b;
|
|
2764
2764
|
if (!(e.dataType !== "request" || C(a) === "design")) {
|
|
@@ -2766,15 +2766,15 @@ const Ii = /* @__PURE__ */ K(_i, [["render", Li]]), Mi = oe(Ii), Yn = {
|
|
|
2766
2766
|
try {
|
|
2767
2767
|
const A = await o();
|
|
2768
2768
|
s.value = ((b = (v = A == null ? void 0 : A.data) == null ? void 0 : v.data) == null ? void 0 : b.rows) || [];
|
|
2769
|
-
const
|
|
2770
|
-
e.value === "" &&
|
|
2769
|
+
const x = C(s)[0];
|
|
2770
|
+
e.value === "" && x != null && (r.value = x[i.value]);
|
|
2771
2771
|
} catch (A) {
|
|
2772
2772
|
console.error(A);
|
|
2773
2773
|
} finally {
|
|
2774
2774
|
d.value = !1;
|
|
2775
2775
|
}
|
|
2776
2776
|
}
|
|
2777
|
-
}, { getGlobalModel: h, setGlobalModel: g } = N(
|
|
2777
|
+
}, { getGlobalModel: h, setGlobalModel: g } = N(me, {
|
|
2778
2778
|
// @ts-ignore
|
|
2779
2779
|
// eslint-disable-next-line no-void
|
|
2780
2780
|
getGlobalModel: (v) => {
|
|
@@ -2788,7 +2788,7 @@ const Ii = /* @__PURE__ */ K(_i, [["render", Li]]), Mi = oe(Ii), Yn = {
|
|
|
2788
2788
|
type: e.type,
|
|
2789
2789
|
value: r
|
|
2790
2790
|
});
|
|
2791
|
-
const m =
|
|
2791
|
+
const m = ge(e)("selectChange", () => {
|
|
2792
2792
|
const v = e.id, b = h(v);
|
|
2793
2793
|
g(v, { ...b, RECORD: r });
|
|
2794
2794
|
});
|
|
@@ -2796,7 +2796,7 @@ const Ii = /* @__PURE__ */ K(_i, [["render", Li]]), Mi = oe(Ii), Yn = {
|
|
|
2796
2796
|
selectChange: m,
|
|
2797
2797
|
refreshData: c
|
|
2798
2798
|
});
|
|
2799
|
-
const { setRequest: y } = N(
|
|
2799
|
+
const { setRequest: y } = N(Se, {
|
|
2800
2800
|
// @ts-ignore
|
|
2801
2801
|
// eslint-disable-next-line no-void
|
|
2802
2802
|
setRequest: ({ id: v, sortNum: b, requestFn: A }) => {
|
|
@@ -2839,7 +2839,7 @@ function Fi(e, n, t, o, a, s) {
|
|
|
2839
2839
|
}, null, 8, ["value", "options", "mode", "getPopupContainer", "field-names", "maxTagCount", "filter-option", "onChange", "loading"])
|
|
2840
2840
|
], 4);
|
|
2841
2841
|
}
|
|
2842
|
-
const Ri = /* @__PURE__ */ K(Oi, [["render", Fi], ["__scopeId", "data-v-2c6a08f8"]]), Di =
|
|
2842
|
+
const Ri = /* @__PURE__ */ K(Oi, [["render", Fi], ["__scopeId", "data-v-2c6a08f8"]]), Di = ae(Ri), Kn = {
|
|
2843
2843
|
...re,
|
|
2844
2844
|
name: "日期范围选择器",
|
|
2845
2845
|
keyName: "日期范围选择器",
|
|
@@ -2866,19 +2866,19 @@ const Ri = /* @__PURE__ */ K(Oi, [["render", Fi], ["__scopeId", "data-v-2c6a08f8
|
|
|
2866
2866
|
},
|
|
2867
2867
|
setup(e) {
|
|
2868
2868
|
const n = ie(e), t = () => document.getElementById("ProviderConfig") || document.body, o = M([null, null]);
|
|
2869
|
-
|
|
2870
|
-
let
|
|
2871
|
-
if (y && (
|
|
2872
|
-
const { type:
|
|
2873
|
-
switch (
|
|
2869
|
+
oe(() => [e.startTime, e.endTime, e.useCurrentTime, e.interval, e.intervalUnit, e.operate], ([u, m, y, v, b, A]) => {
|
|
2870
|
+
let x = null, R = null;
|
|
2871
|
+
if (y && (x = Ce().subtract(v, b), R = Ce()), u && (x = Ce(de(u))), m && (R = Ce(de(m))), A) {
|
|
2872
|
+
const { type: k, value: L, mode: S } = A;
|
|
2873
|
+
switch (k) {
|
|
2874
2874
|
case "add":
|
|
2875
|
-
|
|
2875
|
+
x = x && x.add(L, S), R = R && R.add(L, S);
|
|
2876
2876
|
break;
|
|
2877
2877
|
case "minus":
|
|
2878
|
-
|
|
2878
|
+
x = x && x.subtract(L, S), R = R && R.subtract(L, S);
|
|
2879
2879
|
}
|
|
2880
2880
|
}
|
|
2881
|
-
o.value = [
|
|
2881
|
+
o.value = [x, R];
|
|
2882
2882
|
}, {
|
|
2883
2883
|
immediate: !0
|
|
2884
2884
|
});
|
|
@@ -2891,8 +2891,8 @@ const Ri = /* @__PURE__ */ K(Oi, [["render", Fi], ["__scopeId", "data-v-2c6a08f8
|
|
|
2891
2891
|
startTime: `${a || ""}`,
|
|
2892
2892
|
endTime: `${s || ""}`
|
|
2893
2893
|
};
|
|
2894
|
-
return y = de(y, { codeData: b }), v = de(v, { codeData: b }), y && v ? m = !(
|
|
2895
|
-
}, { setGlobalModel: l } = N(
|
|
2894
|
+
return y = de(y, { codeData: b }), v = de(v, { codeData: b }), y && v ? m = !(Ce(y) < u && u < Ce(v)) : y ? m = Ce(y) > u : v && (m = Ce(v) < u), m;
|
|
2895
|
+
}, { setGlobalModel: l } = N(me, {
|
|
2896
2896
|
// @ts-ignore
|
|
2897
2897
|
// eslint-disable-next-line no-void
|
|
2898
2898
|
setGlobalModel: (u, m) => {
|
|
@@ -2904,7 +2904,7 @@ const Ri = /* @__PURE__ */ K(Oi, [["render", Fi], ["__scopeId", "data-v-2c6a08f8
|
|
|
2904
2904
|
startTime: d,
|
|
2905
2905
|
endTime: c
|
|
2906
2906
|
});
|
|
2907
|
-
const g =
|
|
2907
|
+
const g = ge(e)("dateChange", () => {
|
|
2908
2908
|
console.log("dateChange");
|
|
2909
2909
|
});
|
|
2910
2910
|
return ye(e, {
|
|
@@ -2941,7 +2941,7 @@ function Ni(e, n, t, o, a, s) {
|
|
|
2941
2941
|
}, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "disabled-date", "onChange", "onCalendarChange"])
|
|
2942
2942
|
], 4);
|
|
2943
2943
|
}
|
|
2944
|
-
const Pi = /* @__PURE__ */ K(zi, [["render", Ni], ["__scopeId", "data-v-24f19e2d"]]), Bi =
|
|
2944
|
+
const Pi = /* @__PURE__ */ K(zi, [["render", Ni], ["__scopeId", "data-v-24f19e2d"]]), Bi = ae(Pi), eo = {
|
|
2945
2945
|
...re,
|
|
2946
2946
|
width: "200px",
|
|
2947
2947
|
name: "按钮",
|
|
@@ -2964,7 +2964,7 @@ const Pi = /* @__PURE__ */ K(zi, [["render", Ni], ["__scopeId", "data-v-24f19e2d
|
|
|
2964
2964
|
...to
|
|
2965
2965
|
},
|
|
2966
2966
|
setup(e) {
|
|
2967
|
-
const n = ie(e), o =
|
|
2967
|
+
const n = ie(e), o = ge(e)("click", () => {
|
|
2968
2968
|
const i = C(s);
|
|
2969
2969
|
i && e.target === "event" && window.parent.postMessage({
|
|
2970
2970
|
type: "openPage",
|
|
@@ -3003,7 +3003,7 @@ function qi(e, n, t, o, a, s) {
|
|
|
3003
3003
|
target: e.myTarget
|
|
3004
3004
|
}, {
|
|
3005
3005
|
default: Y(() => [
|
|
3006
|
-
|
|
3006
|
+
X("span", {
|
|
3007
3007
|
style: G({
|
|
3008
3008
|
fontSize: e.fontSize,
|
|
3009
3009
|
fontWeight: e.fontWeight
|
|
@@ -3014,7 +3014,7 @@ function qi(e, n, t, o, a, s) {
|
|
|
3014
3014
|
}, 8, ["onClick", "type", "danger", "shape", "href", "target"])
|
|
3015
3015
|
], 4);
|
|
3016
3016
|
}
|
|
3017
|
-
const ji = /* @__PURE__ */ K(Ui, [["render", qi]]), Wi =
|
|
3017
|
+
const ji = /* @__PURE__ */ K(Ui, [["render", qi]]), Wi = ae(ji), no = {
|
|
3018
3018
|
...re,
|
|
3019
3019
|
width: "240px",
|
|
3020
3020
|
id: "",
|
|
@@ -3046,7 +3046,7 @@ const ji = /* @__PURE__ */ K(Ui, [["render", qi]]), Wi = oe(ji), no = {
|
|
|
3046
3046
|
v.checked && y.push(v.value);
|
|
3047
3047
|
}), typeof m == "string" && m !== "" ? y = y.concat(m.split(",")) : Array.isArray(m) && (y = y.concat(m)), t.value = u, o.value = y;
|
|
3048
3048
|
};
|
|
3049
|
-
|
|
3049
|
+
oe(() => [e.data, e.value], ([u]) => {
|
|
3050
3050
|
a(u);
|
|
3051
3051
|
}, {
|
|
3052
3052
|
immediate: !0,
|
|
@@ -3060,7 +3060,7 @@ const ji = /* @__PURE__ */ K(Ui, [["render", qi]]), Wi = oe(ji), no = {
|
|
|
3060
3060
|
return;
|
|
3061
3061
|
const u = await s(), m = ((v = (y = u == null ? void 0 : u.data) == null ? void 0 : y.data) == null ? void 0 : v.rows) || [];
|
|
3062
3062
|
a(m);
|
|
3063
|
-
}, { getGlobalModel: l, setGlobalModel: d } = N(
|
|
3063
|
+
}, { getGlobalModel: l, setGlobalModel: d } = N(me, {
|
|
3064
3064
|
// @ts-ignore
|
|
3065
3065
|
// eslint-disable-next-line no-void
|
|
3066
3066
|
getGlobalModel: (u) => {
|
|
@@ -3074,10 +3074,10 @@ const ji = /* @__PURE__ */ K(Ui, [["render", qi]]), Wi = oe(ji), no = {
|
|
|
3074
3074
|
type: e.type,
|
|
3075
3075
|
value: o
|
|
3076
3076
|
});
|
|
3077
|
-
const h =
|
|
3077
|
+
const h = ge(e)("checkboxChange", () => {
|
|
3078
3078
|
const u = l(e.id);
|
|
3079
3079
|
d(e.id, { ...u, RECORD: o });
|
|
3080
|
-
}), { setRequest: g } = N(
|
|
3080
|
+
}), { setRequest: g } = N(Se, {
|
|
3081
3081
|
// @ts-ignore
|
|
3082
3082
|
// eslint-disable-next-line no-void
|
|
3083
3083
|
setRequest: ({ id: u, sortNum: m, requestFn: y }) => {
|
|
@@ -3109,7 +3109,7 @@ function Zi(e, n, t, o, a, s) {
|
|
|
3109
3109
|
}, null, 8, ["options", "value", "onChange"])
|
|
3110
3110
|
], 4);
|
|
3111
3111
|
}
|
|
3112
|
-
const Ji = /* @__PURE__ */ K(Hi, [["render", Zi]]), Yi =
|
|
3112
|
+
const Ji = /* @__PURE__ */ K(Hi, [["render", Zi]]), Yi = ae(Ji), ao = {
|
|
3113
3113
|
...re,
|
|
3114
3114
|
id: "",
|
|
3115
3115
|
name: "饼图",
|
|
@@ -3178,8 +3178,8 @@ const Ji = /* @__PURE__ */ K(Hi, [["render", Zi]]), Yi = oe(Ji), ao = {
|
|
|
3178
3178
|
}), { data: t, headers: o } = n, a = o["content-disposition"].replace(/\w+;filename=(.*)/, "$1"), s = new Blob([t]), r = document.createElement("a"), i = window.URL.createObjectURL(s);
|
|
3179
3179
|
r.href = i, r.download = decodeURI(a), r.style.display = "none", document.body.appendChild(r), r.click(), (l = r.parentNode) == null || l.removeChild(r), window.URL.revokeObjectURL(i);
|
|
3180
3180
|
};
|
|
3181
|
-
|
|
3182
|
-
|
|
3181
|
+
qe([
|
|
3182
|
+
je,
|
|
3183
3183
|
aa,
|
|
3184
3184
|
Ke,
|
|
3185
3185
|
Xe,
|
|
@@ -3193,7 +3193,7 @@ const Ki = Q({
|
|
|
3193
3193
|
},
|
|
3194
3194
|
components: {
|
|
3195
3195
|
Spin: tt,
|
|
3196
|
-
Echarts:
|
|
3196
|
+
Echarts: Be,
|
|
3197
3197
|
AModal: Ae
|
|
3198
3198
|
},
|
|
3199
3199
|
setup(e) {
|
|
@@ -3336,7 +3336,7 @@ const Ki = Q({
|
|
|
3336
3336
|
}
|
|
3337
3337
|
]
|
|
3338
3338
|
};
|
|
3339
|
-
}), { getGlobalModel: r, setGlobalModel: i } = N(
|
|
3339
|
+
}), { getGlobalModel: r, setGlobalModel: i } = N(me, {
|
|
3340
3340
|
// @ts-ignore
|
|
3341
3341
|
// eslint-disable-next-line no-void
|
|
3342
3342
|
getGlobalModel: (L) => {
|
|
@@ -3354,7 +3354,7 @@ const Ki = Q({
|
|
|
3354
3354
|
const f = Qe(L, S);
|
|
3355
3355
|
t.value = f.dataset;
|
|
3356
3356
|
};
|
|
3357
|
-
|
|
3357
|
+
oe(() => e.data, (L) => {
|
|
3358
3358
|
(e.dataType === "static" || C(l) === "design") && d(L);
|
|
3359
3359
|
}, {
|
|
3360
3360
|
immediate: !0,
|
|
@@ -3372,7 +3372,7 @@ const Ki = Q({
|
|
|
3372
3372
|
} finally {
|
|
3373
3373
|
h.value = !1;
|
|
3374
3374
|
}
|
|
3375
|
-
}, y =
|
|
3375
|
+
}, y = ge(e)("click", (L) => {
|
|
3376
3376
|
const S = r(e.id);
|
|
3377
3377
|
i(e.id, { ...S, RECORD: L == null ? void 0 : L.data });
|
|
3378
3378
|
}), v = Pt(e), b = async () => {
|
|
@@ -3408,13 +3408,13 @@ const Ki = Q({
|
|
|
3408
3408
|
},
|
|
3409
3409
|
click: y
|
|
3410
3410
|
});
|
|
3411
|
-
const { setRequest:
|
|
3411
|
+
const { setRequest: k } = N(Se, {
|
|
3412
3412
|
// @ts-ignore
|
|
3413
3413
|
// eslint-disable-next-line no-void
|
|
3414
3414
|
setRequest: ({ id: L, sortNum: S, requestFn: f }) => {
|
|
3415
3415
|
}
|
|
3416
3416
|
});
|
|
3417
|
-
return
|
|
3417
|
+
return k({
|
|
3418
3418
|
id: e.id,
|
|
3419
3419
|
requestFn: A,
|
|
3420
3420
|
sortNum: e.requestSort
|
|
@@ -3466,7 +3466,7 @@ function Xi(e, n, t, o, a, s) {
|
|
|
3466
3466
|
}, 8, ["visible", "onCancel"])
|
|
3467
3467
|
], 4);
|
|
3468
3468
|
}
|
|
3469
|
-
const er = /* @__PURE__ */ K(Ki, [["render", Xi]]), tr =
|
|
3469
|
+
const er = /* @__PURE__ */ K(Ki, [["render", Xi]]), tr = ae(er), io = {
|
|
3470
3470
|
...re,
|
|
3471
3471
|
id: "",
|
|
3472
3472
|
name: "折线图",
|
|
@@ -3534,8 +3534,8 @@ const er = /* @__PURE__ */ K(Ki, [["render", Xi]]), tr = oe(er), io = {
|
|
|
3534
3534
|
toolboxInfoText: "当前无说明信息",
|
|
3535
3535
|
areaStyleOpacity: 0
|
|
3536
3536
|
}, ro = le(io), nr = ["click", "refreshData", "resetRecord"];
|
|
3537
|
-
|
|
3538
|
-
|
|
3537
|
+
qe([
|
|
3538
|
+
je,
|
|
3539
3539
|
Cn,
|
|
3540
3540
|
Xe,
|
|
3541
3541
|
Ke,
|
|
@@ -3548,7 +3548,7 @@ const or = Q({
|
|
|
3548
3548
|
},
|
|
3549
3549
|
components: {
|
|
3550
3550
|
Spin: tt,
|
|
3551
|
-
Echarts:
|
|
3551
|
+
Echarts: Be,
|
|
3552
3552
|
AModal: Ae
|
|
3553
3553
|
},
|
|
3554
3554
|
setup(e) {
|
|
@@ -3654,7 +3654,7 @@ const or = Q({
|
|
|
3654
3654
|
width: e.xAxisLabelWidth,
|
|
3655
3655
|
overflow: e.xAxisLabelOverflow,
|
|
3656
3656
|
formatter(p) {
|
|
3657
|
-
return
|
|
3657
|
+
return Pe(S, p);
|
|
3658
3658
|
}
|
|
3659
3659
|
},
|
|
3660
3660
|
axisLine: {
|
|
@@ -3678,7 +3678,7 @@ const or = Q({
|
|
|
3678
3678
|
axisLabel: {
|
|
3679
3679
|
color: e.yAxisLabelColor,
|
|
3680
3680
|
formatter(p) {
|
|
3681
|
-
return
|
|
3681
|
+
return Pe(f, p);
|
|
3682
3682
|
}
|
|
3683
3683
|
},
|
|
3684
3684
|
axisLine: {
|
|
@@ -3696,7 +3696,7 @@ const or = Q({
|
|
|
3696
3696
|
},
|
|
3697
3697
|
series: C(t)
|
|
3698
3698
|
};
|
|
3699
|
-
}), { getGlobalModel: i, setGlobalModel: l } = N(
|
|
3699
|
+
}), { getGlobalModel: i, setGlobalModel: l } = N(me, {
|
|
3700
3700
|
// @ts-ignore
|
|
3701
3701
|
// eslint-disable-next-line no-void
|
|
3702
3702
|
getGlobalModel: (S) => {
|
|
@@ -3711,7 +3711,7 @@ const or = Q({
|
|
|
3711
3711
|
let p;
|
|
3712
3712
|
if (e.dataFieldConfigType === "key") {
|
|
3713
3713
|
const _ = f ? e.keyTypeDataFieldNames : null;
|
|
3714
|
-
p =
|
|
3714
|
+
p = Ue(S, _);
|
|
3715
3715
|
} else if (e.dataFieldConfigType === "value") {
|
|
3716
3716
|
const _ = f ? e.valueTypeDataFieldNames : null;
|
|
3717
3717
|
p = Qe(S, _);
|
|
@@ -3746,7 +3746,7 @@ const or = Q({
|
|
|
3746
3746
|
});
|
|
3747
3747
|
t.value = D;
|
|
3748
3748
|
}, h = (S = [], f, p = !1) => {
|
|
3749
|
-
const D =
|
|
3749
|
+
const D = Ue(S, p ? f : null);
|
|
3750
3750
|
o.value = D.dimensions;
|
|
3751
3751
|
const w = D.dataset, _ = [], U = w.length;
|
|
3752
3752
|
for (let H = 0; H < U; H++)
|
|
@@ -3761,7 +3761,7 @@ const or = Q({
|
|
|
3761
3761
|
});
|
|
3762
3762
|
t.value = _;
|
|
3763
3763
|
};
|
|
3764
|
-
|
|
3764
|
+
oe(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([S]) => {
|
|
3765
3765
|
(e.dataType === "static" || C(d) === "design") && c(S);
|
|
3766
3766
|
}, {
|
|
3767
3767
|
immediate: !0,
|
|
@@ -3779,7 +3779,7 @@ const or = Q({
|
|
|
3779
3779
|
} finally {
|
|
3780
3780
|
g.value = !1;
|
|
3781
3781
|
}
|
|
3782
|
-
}, v =
|
|
3782
|
+
}, v = ge(e)("click", (S) => {
|
|
3783
3783
|
const f = i(e.id);
|
|
3784
3784
|
l(e.id, { ...f, RECORD: S == null ? void 0 : S.data });
|
|
3785
3785
|
}), b = Pt(e), A = async () => {
|
|
@@ -3798,12 +3798,12 @@ const or = Q({
|
|
|
3798
3798
|
} finally {
|
|
3799
3799
|
g.value = !1;
|
|
3800
3800
|
}
|
|
3801
|
-
},
|
|
3801
|
+
}, x = () => {
|
|
3802
3802
|
C(d) !== "design" && (A(), m());
|
|
3803
3803
|
};
|
|
3804
3804
|
ye(e, {
|
|
3805
3805
|
refreshData: () => {
|
|
3806
|
-
|
|
3806
|
+
x();
|
|
3807
3807
|
},
|
|
3808
3808
|
resetRecord: () => {
|
|
3809
3809
|
const S = e.id, f = i(S);
|
|
@@ -3811,7 +3811,7 @@ const or = Q({
|
|
|
3811
3811
|
},
|
|
3812
3812
|
click: v
|
|
3813
3813
|
});
|
|
3814
|
-
const { setRequest: L } = N(
|
|
3814
|
+
const { setRequest: L } = N(Se, {
|
|
3815
3815
|
// @ts-ignore
|
|
3816
3816
|
// eslint-disable-next-line no-void
|
|
3817
3817
|
setRequest: ({ id: S, sortNum: f, requestFn: p }) => {
|
|
@@ -3819,7 +3819,7 @@ const or = Q({
|
|
|
3819
3819
|
});
|
|
3820
3820
|
return L({
|
|
3821
3821
|
id: e.id,
|
|
3822
|
-
requestFn:
|
|
3822
|
+
requestFn: x,
|
|
3823
3823
|
sortNum: e.requestSort
|
|
3824
3824
|
}), {
|
|
3825
3825
|
option: r,
|
|
@@ -3869,7 +3869,7 @@ function ar(e, n, t, o, a, s) {
|
|
|
3869
3869
|
}, 8, ["visible", "onCancel"])
|
|
3870
3870
|
], 4);
|
|
3871
3871
|
}
|
|
3872
|
-
const lr = /* @__PURE__ */ K(or, [["render", ar]]), ir =
|
|
3872
|
+
const lr = /* @__PURE__ */ K(or, [["render", ar]]), ir = ae(lr), so = {
|
|
3873
3873
|
...re,
|
|
3874
3874
|
id: "",
|
|
3875
3875
|
name: "柱状图",
|
|
@@ -3964,12 +3964,12 @@ const lr = /* @__PURE__ */ K(or, [["render", ar]]), ir = oe(lr), so = {
|
|
|
3964
3964
|
labelPosition: "inside",
|
|
3965
3965
|
labelColor: ""
|
|
3966
3966
|
}, co = le(so), rr = ["refreshData", "click", "resetRecord"];
|
|
3967
|
-
|
|
3968
|
-
|
|
3967
|
+
qe([
|
|
3968
|
+
je,
|
|
3969
3969
|
Sn,
|
|
3970
3970
|
Ke,
|
|
3971
3971
|
et,
|
|
3972
|
-
|
|
3972
|
+
kn,
|
|
3973
3973
|
Xe
|
|
3974
3974
|
]);
|
|
3975
3975
|
const sr = Q({
|
|
@@ -3979,7 +3979,7 @@ const sr = Q({
|
|
|
3979
3979
|
},
|
|
3980
3980
|
components: {
|
|
3981
3981
|
Spin: tt,
|
|
3982
|
-
Echarts:
|
|
3982
|
+
Echarts: Be,
|
|
3983
3983
|
AModal: Ae
|
|
3984
3984
|
},
|
|
3985
3985
|
setup(e, { expose: n }) {
|
|
@@ -4117,7 +4117,7 @@ const sr = Q({
|
|
|
4117
4117
|
width: e.xAxisLabelWidth,
|
|
4118
4118
|
overflow: e.xAxisLabelOverflow,
|
|
4119
4119
|
formatter(T) {
|
|
4120
|
-
return
|
|
4120
|
+
return Pe(p, T);
|
|
4121
4121
|
}
|
|
4122
4122
|
},
|
|
4123
4123
|
axisLine: {
|
|
@@ -4146,7 +4146,7 @@ const sr = Q({
|
|
|
4146
4146
|
width: e.yAxisLabelWidth,
|
|
4147
4147
|
overflow: e.yAxisLabelOverflow,
|
|
4148
4148
|
formatter(T) {
|
|
4149
|
-
return
|
|
4149
|
+
return Pe(f, T);
|
|
4150
4150
|
}
|
|
4151
4151
|
},
|
|
4152
4152
|
axisLine: {
|
|
@@ -4163,17 +4163,17 @@ const sr = Q({
|
|
|
4163
4163
|
let T = {};
|
|
4164
4164
|
if (e.dataFieldConfigType === "key") {
|
|
4165
4165
|
const D = p ? e.keyTypeDataFieldNames : null;
|
|
4166
|
-
T =
|
|
4166
|
+
T = Ue(f, D);
|
|
4167
4167
|
} else if (e.dataFieldConfigType === "value") {
|
|
4168
4168
|
const D = p ? e.valueTypeDataFieldNames : null;
|
|
4169
4169
|
T = Qe(f, D);
|
|
4170
4170
|
}
|
|
4171
4171
|
o.value = T.dataset, i.value = T.dimensions;
|
|
4172
4172
|
}, g = (f = [], p, T = !1) => {
|
|
4173
|
-
const w =
|
|
4173
|
+
const w = Ue(f, T ? p : null);
|
|
4174
4174
|
o.value = w.dataset, i.value = w.dimensions;
|
|
4175
4175
|
};
|
|
4176
|
-
|
|
4176
|
+
oe(() => e.data, (f) => {
|
|
4177
4177
|
(e.dataType === "static" || C(c) === "design") && h(f);
|
|
4178
4178
|
}, {
|
|
4179
4179
|
immediate: !0,
|
|
@@ -4222,7 +4222,7 @@ const sr = Q({
|
|
|
4222
4222
|
n({
|
|
4223
4223
|
refreshData: b
|
|
4224
4224
|
});
|
|
4225
|
-
const A =
|
|
4225
|
+
const A = ge(e), { getGlobalModel: x, setGlobalModel: R } = N(me, {
|
|
4226
4226
|
// @ts-ignore
|
|
4227
4227
|
// eslint-disable-next-line no-void
|
|
4228
4228
|
getGlobalModel: (f) => {
|
|
@@ -4231,10 +4231,10 @@ const sr = Q({
|
|
|
4231
4231
|
// eslint-disable-next-line no-void
|
|
4232
4232
|
setGlobalModel: (f, p) => {
|
|
4233
4233
|
}
|
|
4234
|
-
}),
|
|
4235
|
-
const p =
|
|
4234
|
+
}), k = A("click", (f) => {
|
|
4235
|
+
const p = x(e.id);
|
|
4236
4236
|
R(e.id, { ...p, RECORD: f.data });
|
|
4237
|
-
}), { setRequest: L } = N(
|
|
4237
|
+
}), { setRequest: L } = N(Se, {
|
|
4238
4238
|
// @ts-ignore
|
|
4239
4239
|
// eslint-disable-next-line no-void
|
|
4240
4240
|
setRequest: ({ id: f, sortNum: p, requestFn: T }) => {
|
|
@@ -4246,16 +4246,16 @@ const sr = Q({
|
|
|
4246
4246
|
sortNum: e.requestSort
|
|
4247
4247
|
}), ye(e, {
|
|
4248
4248
|
refreshData: b,
|
|
4249
|
-
click:
|
|
4249
|
+
click: k,
|
|
4250
4250
|
resetRecord: () => {
|
|
4251
|
-
const f = e.id, p =
|
|
4251
|
+
const f = e.id, p = x(f);
|
|
4252
4252
|
R(f, { ...p, RECORD: "" });
|
|
4253
4253
|
}
|
|
4254
4254
|
}), {
|
|
4255
4255
|
option: d,
|
|
4256
4256
|
style: t,
|
|
4257
4257
|
refreshData: b,
|
|
4258
|
-
click:
|
|
4258
|
+
click: k,
|
|
4259
4259
|
loading: l,
|
|
4260
4260
|
visible: a,
|
|
4261
4261
|
hideModal: s
|
|
@@ -4302,7 +4302,7 @@ function cr(e, n, t, o, a, s) {
|
|
|
4302
4302
|
}, 8, ["visible", "onCancel"])
|
|
4303
4303
|
], 4);
|
|
4304
4304
|
}
|
|
4305
|
-
const dr = /* @__PURE__ */ K(sr, [["render", cr]]), ur =
|
|
4305
|
+
const dr = /* @__PURE__ */ K(sr, [["render", cr]]), ur = ae(dr), uo = {
|
|
4306
4306
|
...re,
|
|
4307
4307
|
id: "",
|
|
4308
4308
|
name: "散点图",
|
|
@@ -4361,8 +4361,8 @@ const dr = /* @__PURE__ */ K(sr, [["render", cr]]), ur = oe(dr), uo = {
|
|
|
4361
4361
|
toolboxDownloadUrl: "",
|
|
4362
4362
|
toolboxInfoText: "当前无说明信息"
|
|
4363
4363
|
}, fo = le(uo), fr = ["click", "refreshData"];
|
|
4364
|
-
|
|
4365
|
-
|
|
4364
|
+
qe([
|
|
4365
|
+
je,
|
|
4366
4366
|
wn,
|
|
4367
4367
|
Xe,
|
|
4368
4368
|
Ke,
|
|
@@ -4376,7 +4376,7 @@ const mr = Q({
|
|
|
4376
4376
|
},
|
|
4377
4377
|
components: {
|
|
4378
4378
|
Spin: tt,
|
|
4379
|
-
Echarts:
|
|
4379
|
+
Echarts: Be,
|
|
4380
4380
|
AModal: Ae
|
|
4381
4381
|
},
|
|
4382
4382
|
setup(e) {
|
|
@@ -4448,8 +4448,8 @@ const mr = Q({
|
|
|
4448
4448
|
rotate: e.xAxisLabelRotate,
|
|
4449
4449
|
width: e.xAxisLabelWidth,
|
|
4450
4450
|
overflow: e.xAxisLabelOverflow,
|
|
4451
|
-
formatter(
|
|
4452
|
-
return
|
|
4451
|
+
formatter(x) {
|
|
4452
|
+
return Pe(b, x);
|
|
4453
4453
|
}
|
|
4454
4454
|
},
|
|
4455
4455
|
axisLine: {
|
|
@@ -4470,8 +4470,8 @@ const mr = Q({
|
|
|
4470
4470
|
},
|
|
4471
4471
|
axisLabel: {
|
|
4472
4472
|
color: e.yAxisLabelColor,
|
|
4473
|
-
formatter(
|
|
4474
|
-
return
|
|
4473
|
+
formatter(x) {
|
|
4474
|
+
return Pe(A, x);
|
|
4475
4475
|
}
|
|
4476
4476
|
},
|
|
4477
4477
|
axisLine: {
|
|
@@ -4484,14 +4484,14 @@ const mr = Q({
|
|
|
4484
4484
|
tooltip: {
|
|
4485
4485
|
show: e.tooltipShow,
|
|
4486
4486
|
trigger: e.tooltipTrigger,
|
|
4487
|
-
formatter: function(
|
|
4487
|
+
formatter: function(x) {
|
|
4488
4488
|
var p;
|
|
4489
|
-
const { marker: R, seriesName:
|
|
4489
|
+
const { marker: R, seriesName: k } = x, L = ((p = x == null ? void 0 : x.data) == null ? void 0 : p.record) ?? {}, { name: S, value: f } = L;
|
|
4490
4490
|
return de(e.tooltipFormatter, {
|
|
4491
4491
|
textData: {
|
|
4492
4492
|
marker: R,
|
|
4493
|
-
seriesName:
|
|
4494
|
-
a:
|
|
4493
|
+
seriesName: k,
|
|
4494
|
+
a: k,
|
|
4495
4495
|
b: S,
|
|
4496
4496
|
c: f,
|
|
4497
4497
|
...L
|
|
@@ -4517,7 +4517,7 @@ const mr = Q({
|
|
|
4517
4517
|
}
|
|
4518
4518
|
]
|
|
4519
4519
|
};
|
|
4520
|
-
}), { getGlobalModel: r, setGlobalModel: i } = N(
|
|
4520
|
+
}), { getGlobalModel: r, setGlobalModel: i } = N(me, {
|
|
4521
4521
|
// @ts-ignore
|
|
4522
4522
|
// eslint-disable-next-line no-void
|
|
4523
4523
|
getGlobalModel: (b) => {
|
|
@@ -4529,10 +4529,10 @@ const mr = Q({
|
|
|
4529
4529
|
}), { pageMode: l } = N(fe, {
|
|
4530
4530
|
pageMode: "normal"
|
|
4531
4531
|
}), d = (b = [], A) => {
|
|
4532
|
-
const { name:
|
|
4533
|
-
t.value = b.map((
|
|
4532
|
+
const { name: x = "name", value: R = "value" } = A || {};
|
|
4533
|
+
t.value = b.map((k) => ({ value: [k[x], k[R]], record: k }));
|
|
4534
4534
|
};
|
|
4535
|
-
|
|
4535
|
+
oe(() => e.data, (b) => {
|
|
4536
4536
|
(e.dataType === "static" || C(l) === "design") && d(b);
|
|
4537
4537
|
}, {
|
|
4538
4538
|
immediate: !0,
|
|
@@ -4543,17 +4543,17 @@ const mr = Q({
|
|
|
4543
4543
|
if (!(e.dataType !== "request" || C(l) === "design")) {
|
|
4544
4544
|
c.value = !0;
|
|
4545
4545
|
try {
|
|
4546
|
-
const
|
|
4547
|
-
d((A = (b =
|
|
4548
|
-
} catch (
|
|
4549
|
-
console.error(
|
|
4546
|
+
const x = await h();
|
|
4547
|
+
d((A = (b = x == null ? void 0 : x.data) == null ? void 0 : b.data) == null ? void 0 : A.rows, e.dataFieldNames);
|
|
4548
|
+
} catch (x) {
|
|
4549
|
+
console.error(x);
|
|
4550
4550
|
} finally {
|
|
4551
4551
|
c.value = !1;
|
|
4552
4552
|
}
|
|
4553
4553
|
}
|
|
4554
|
-
}, m =
|
|
4555
|
-
const A = e.id,
|
|
4556
|
-
i(A, { ...
|
|
4554
|
+
}, m = ge(e)("click", (b) => {
|
|
4555
|
+
const A = e.id, x = r(A);
|
|
4556
|
+
i(A, { ...x, RECORD: b == null ? void 0 : b.data });
|
|
4557
4557
|
});
|
|
4558
4558
|
ye(e, {
|
|
4559
4559
|
refreshData: () => {
|
|
@@ -4561,10 +4561,10 @@ const mr = Q({
|
|
|
4561
4561
|
},
|
|
4562
4562
|
click: m
|
|
4563
4563
|
});
|
|
4564
|
-
const { setRequest: v } = N(
|
|
4564
|
+
const { setRequest: v } = N(Se, {
|
|
4565
4565
|
// @ts-ignore
|
|
4566
4566
|
// eslint-disable-next-line no-void
|
|
4567
|
-
setRequest: ({ id: b, sortNum: A, requestFn:
|
|
4567
|
+
setRequest: ({ id: b, sortNum: A, requestFn: x }) => {
|
|
4568
4568
|
}
|
|
4569
4569
|
});
|
|
4570
4570
|
return v({
|
|
@@ -4619,7 +4619,7 @@ function gr(e, n, t, o, a, s) {
|
|
|
4619
4619
|
}, 8, ["visible", "onCancel"])
|
|
4620
4620
|
], 4);
|
|
4621
4621
|
}
|
|
4622
|
-
const hr = /* @__PURE__ */ K(mr, [["render", gr]]), yr =
|
|
4622
|
+
const hr = /* @__PURE__ */ K(mr, [["render", gr]]), yr = ae(hr), mo = {
|
|
4623
4623
|
...re,
|
|
4624
4624
|
id: "",
|
|
4625
4625
|
name: "自定义图表",
|
|
@@ -4635,11 +4635,11 @@ const hr = /* @__PURE__ */ K(mr, [["render", gr]]), yr = oe(hr), mo = {
|
|
|
4635
4635
|
...go
|
|
4636
4636
|
},
|
|
4637
4637
|
components: {
|
|
4638
|
-
Echarts:
|
|
4638
|
+
Echarts: Be
|
|
4639
4639
|
},
|
|
4640
4640
|
setup(e) {
|
|
4641
4641
|
const n = ie(e), t = M();
|
|
4642
|
-
return
|
|
4642
|
+
return oe(() => e.optionCode, (o) => {
|
|
4643
4643
|
try {
|
|
4644
4644
|
const a = eval;
|
|
4645
4645
|
t.value = a(o);
|
|
@@ -4667,7 +4667,7 @@ function vr(e, n, t, o, a, s) {
|
|
|
4667
4667
|
}, null, 8, ["option"])
|
|
4668
4668
|
], 4);
|
|
4669
4669
|
}
|
|
4670
|
-
const pr = /* @__PURE__ */ K(br, [["render", vr]]), Cr =
|
|
4670
|
+
const pr = /* @__PURE__ */ K(br, [["render", vr]]), Cr = ae(pr), ho = {
|
|
4671
4671
|
...re,
|
|
4672
4672
|
id: "",
|
|
4673
4673
|
name: "组合图表",
|
|
@@ -4776,13 +4776,13 @@ const pr = /* @__PURE__ */ K(br, [["render", vr]]), Cr = oe(pr), ho = {
|
|
|
4776
4776
|
smooth: !1,
|
|
4777
4777
|
barWidth: "40%"
|
|
4778
4778
|
}, yo = le(ho), Sr = ["refreshData", "click", "resetRecord"];
|
|
4779
|
-
|
|
4780
|
-
|
|
4779
|
+
qe([
|
|
4780
|
+
je,
|
|
4781
4781
|
Sn,
|
|
4782
4782
|
Cn,
|
|
4783
4783
|
Ke,
|
|
4784
4784
|
et,
|
|
4785
|
-
|
|
4785
|
+
kn,
|
|
4786
4786
|
Xe
|
|
4787
4787
|
]);
|
|
4788
4788
|
const wr = Q({
|
|
@@ -4792,7 +4792,7 @@ const wr = Q({
|
|
|
4792
4792
|
},
|
|
4793
4793
|
components: {
|
|
4794
4794
|
Spin: tt,
|
|
4795
|
-
Echarts:
|
|
4795
|
+
Echarts: Be,
|
|
4796
4796
|
AModal: Ae
|
|
4797
4797
|
},
|
|
4798
4798
|
setup(e) {
|
|
@@ -4866,7 +4866,7 @@ const wr = Q({
|
|
|
4866
4866
|
D === "" && (D = "{marker} {a} {c}");
|
|
4867
4867
|
const w = e.seriesTypes;
|
|
4868
4868
|
for (let _ = 0; _ < p; _++) {
|
|
4869
|
-
const U = w[_], { tooltipFormatter: H } = U || {}, { marker: O, seriesName: P, name: z, value: W, data:
|
|
4869
|
+
const U = w[_], { tooltipFormatter: H } = U || {}, { marker: O, seriesName: P, name: z, value: W, data: ee } = f[_] || {};
|
|
4870
4870
|
_ === 0 && (T += `${z}<br/>`), T += de(
|
|
4871
4871
|
// 如果系列有提示框组件就使用自定义,没有就用默认的
|
|
4872
4872
|
H || D,
|
|
@@ -4879,7 +4879,7 @@ const wr = Q({
|
|
|
4879
4879
|
a: P,
|
|
4880
4880
|
b: z,
|
|
4881
4881
|
c: W,
|
|
4882
|
-
...
|
|
4882
|
+
...ee
|
|
4883
4883
|
}
|
|
4884
4884
|
},
|
|
4885
4885
|
{
|
|
@@ -4928,7 +4928,7 @@ const wr = Q({
|
|
|
4928
4928
|
let T;
|
|
4929
4929
|
if (e.dataFieldConfigType === "key") {
|
|
4930
4930
|
const H = p ? e.keyTypeDataFieldNames : null;
|
|
4931
|
-
T =
|
|
4931
|
+
T = Ue(f, H);
|
|
4932
4932
|
} else if (e.dataFieldConfigType === "value") {
|
|
4933
4933
|
const H = p ? e.valueTypeDataFieldNames : null;
|
|
4934
4934
|
T = Qe(f, H);
|
|
@@ -4959,7 +4959,7 @@ const wr = Q({
|
|
|
4959
4959
|
}
|
|
4960
4960
|
t.value = w;
|
|
4961
4961
|
}, d = (f = [], p, T = !1) => {
|
|
4962
|
-
const w =
|
|
4962
|
+
const w = Ue(f, T ? p : null);
|
|
4963
4963
|
o.value = w.dimensions;
|
|
4964
4964
|
const _ = w.dataset, U = [], H = _.length, O = e.seriesTypes;
|
|
4965
4965
|
for (let P = 0; P < H; P++) {
|
|
@@ -4972,7 +4972,7 @@ const wr = Q({
|
|
|
4972
4972
|
}
|
|
4973
4973
|
t.value = U;
|
|
4974
4974
|
};
|
|
4975
|
-
|
|
4975
|
+
oe(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([f]) => {
|
|
4976
4976
|
(e.dataType === "static" || C(i) === "design") && l(f);
|
|
4977
4977
|
}, {
|
|
4978
4978
|
immediate: !0,
|
|
@@ -4992,7 +4992,7 @@ const wr = Q({
|
|
|
4992
4992
|
axisLabel: {
|
|
4993
4993
|
color: e.yAxisLabelColor,
|
|
4994
4994
|
formatter(T) {
|
|
4995
|
-
return
|
|
4995
|
+
return Pe(p.axisLabelFormatter, T);
|
|
4996
4996
|
}
|
|
4997
4997
|
},
|
|
4998
4998
|
axisLine: {
|
|
@@ -5033,7 +5033,7 @@ const wr = Q({
|
|
|
5033
5033
|
C(i) !== "design" && (y(), u());
|
|
5034
5034
|
}, b = () => {
|
|
5035
5035
|
v();
|
|
5036
|
-
}, A =
|
|
5036
|
+
}, A = ge(e), { getGlobalModel: x, setGlobalModel: R } = N(me, {
|
|
5037
5037
|
// @ts-ignore
|
|
5038
5038
|
// eslint-disable-next-line no-void
|
|
5039
5039
|
getGlobalModel: (f) => {
|
|
@@ -5042,10 +5042,10 @@ const wr = Q({
|
|
|
5042
5042
|
// eslint-disable-next-line no-void
|
|
5043
5043
|
setGlobalModel: (f, p) => {
|
|
5044
5044
|
}
|
|
5045
|
-
}),
|
|
5046
|
-
const p =
|
|
5045
|
+
}), k = A("click", (f) => {
|
|
5046
|
+
const p = x(e.id);
|
|
5047
5047
|
R(e.id, { ...p, RECORD: f == null ? void 0 : f.data });
|
|
5048
|
-
}), { setRequest: L } = N(
|
|
5048
|
+
}), { setRequest: L } = N(Se, {
|
|
5049
5049
|
// @ts-ignore
|
|
5050
5050
|
// eslint-disable-next-line no-void
|
|
5051
5051
|
setRequest: ({ id: f, sortNum: p, requestFn: T }) => {
|
|
@@ -5057,22 +5057,22 @@ const wr = Q({
|
|
|
5057
5057
|
sortNum: e.requestSort
|
|
5058
5058
|
}), ye(e, {
|
|
5059
5059
|
resetRecord: () => {
|
|
5060
|
-
const f = e.id, p =
|
|
5060
|
+
const f = e.id, p = x(f);
|
|
5061
5061
|
R(f, { ...p, RECORD: "" });
|
|
5062
5062
|
},
|
|
5063
5063
|
refreshData: b,
|
|
5064
|
-
click:
|
|
5064
|
+
click: k
|
|
5065
5065
|
}), {
|
|
5066
5066
|
style: n,
|
|
5067
5067
|
option: r,
|
|
5068
|
-
click:
|
|
5068
|
+
click: k,
|
|
5069
5069
|
loading: h,
|
|
5070
5070
|
visible: a,
|
|
5071
5071
|
hideModal: s
|
|
5072
5072
|
};
|
|
5073
5073
|
}
|
|
5074
5074
|
});
|
|
5075
|
-
function
|
|
5075
|
+
function kr(e, n, t, o, a, s) {
|
|
5076
5076
|
const r = Z("echarts"), i = Z("spin"), l = Z("a-modal");
|
|
5077
5077
|
return E(), $("div", {
|
|
5078
5078
|
style: G(e.style)
|
|
@@ -5112,7 +5112,7 @@ function xr(e, n, t, o, a, s) {
|
|
|
5112
5112
|
}, 8, ["visible", "onCancel"])
|
|
5113
5113
|
], 4);
|
|
5114
5114
|
}
|
|
5115
|
-
const
|
|
5115
|
+
const xr = /* @__PURE__ */ K(wr, [["render", kr]]), Ar = ae(xr), bo = {
|
|
5116
5116
|
...re,
|
|
5117
5117
|
name: "边框",
|
|
5118
5118
|
keyName: "边框",
|
|
@@ -5149,9 +5149,9 @@ const kr = /* @__PURE__ */ K(wr, [["render", xr]]), Ar = oe(kr), bo = {
|
|
|
5149
5149
|
// backgroundColor: props.backgroundColor,
|
|
5150
5150
|
width: "100%",
|
|
5151
5151
|
height: "100%"
|
|
5152
|
-
})), s =
|
|
5152
|
+
})), s = ge(e)("click", () => {
|
|
5153
5153
|
}), r = M([]);
|
|
5154
|
-
|
|
5154
|
+
oe(() => e.data, (l) => {
|
|
5155
5155
|
r.value = l;
|
|
5156
5156
|
}, {
|
|
5157
5157
|
immediate: !0,
|
|
@@ -5159,7 +5159,7 @@ const kr = /* @__PURE__ */ K(wr, [["render", xr]]), Ar = oe(kr), bo = {
|
|
|
5159
5159
|
}), ye(e, {
|
|
5160
5160
|
click: s
|
|
5161
5161
|
});
|
|
5162
|
-
const { setGlobalModel: i } = N(
|
|
5162
|
+
const { setGlobalModel: i } = N(me, {
|
|
5163
5163
|
// @ts-ignore
|
|
5164
5164
|
// eslint-disable-next-line no-void
|
|
5165
5165
|
setGlobalModel: (l, d) => {
|
|
@@ -5176,13 +5176,13 @@ const kr = /* @__PURE__ */ K(wr, [["render", xr]]), Ar = oe(kr), bo = {
|
|
|
5176
5176
|
};
|
|
5177
5177
|
}
|
|
5178
5178
|
}), Lr = "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==";
|
|
5179
|
-
const Le = (e) => (un("data-v-1550b11b"), e = e(), fn(), e), Mr = /* @__PURE__ */ Le(() => /* @__PURE__ */
|
|
5179
|
+
const Le = (e) => (un("data-v-1550b11b"), e = e(), fn(), e), Mr = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "top-left border-item" }, null, -1)), Er = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "top-right border-item" }, null, -1)), Or = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "bottom-left border-item" }, null, -1)), Fr = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "bottom-right border-item" }, null, -1)), Rr = { class: "title-item-wrapper" }, Dr = { class: "title-item" }, $r = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("img", {
|
|
5180
5180
|
class: "title-decoration-left",
|
|
5181
5181
|
src: Lr
|
|
5182
|
-
}, null, -1)), zr = { class: "title" }, Nr = /* @__PURE__ */ Le(() => /* @__PURE__ */
|
|
5182
|
+
}, null, -1)), zr = { class: "title" }, Nr = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("img", {
|
|
5183
5183
|
class: "title-decoration-right",
|
|
5184
5184
|
src: Ir
|
|
5185
|
-
}, null, -1)), Pr = /* @__PURE__ */ Le(() => /* @__PURE__ */
|
|
5185
|
+
}, null, -1)), Pr = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "top-left border-item" }, null, -1)), Br = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "top-right border-item" }, null, -1)), Gr = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "bottom-left border-item" }, null, -1)), Ur = /* @__PURE__ */ Le(() => /* @__PURE__ */ X("div", { class: "bottom-right border-item" }, null, -1)), qr = {
|
|
5186
5186
|
key: 2,
|
|
5187
5187
|
class: "left-title"
|
|
5188
5188
|
}, jr = { class: "title" };
|
|
@@ -5197,7 +5197,7 @@ function Wr(e, n, t, o, a, s) {
|
|
|
5197
5197
|
class: "no-title",
|
|
5198
5198
|
style: G(e.borderStyle)
|
|
5199
5199
|
}, [
|
|
5200
|
-
e.useBorderModify ? (E(), $(
|
|
5200
|
+
e.useBorderModify ? (E(), $(Ee, { key: 0 }, [
|
|
5201
5201
|
Mr,
|
|
5202
5202
|
Er,
|
|
5203
5203
|
Or,
|
|
@@ -5209,10 +5209,10 @@ function Wr(e, n, t, o, a, s) {
|
|
|
5209
5209
|
class: "top-title",
|
|
5210
5210
|
style: G(e.borderStyle)
|
|
5211
5211
|
}, [
|
|
5212
|
-
|
|
5213
|
-
|
|
5212
|
+
X("div", Rr, [
|
|
5213
|
+
X("div", Dr, [
|
|
5214
5214
|
$r,
|
|
5215
|
-
|
|
5215
|
+
X("div", zr, be(e.title), 1),
|
|
5216
5216
|
Nr
|
|
5217
5217
|
])
|
|
5218
5218
|
]),
|
|
@@ -5222,13 +5222,13 @@ function Wr(e, n, t, o, a, s) {
|
|
|
5222
5222
|
Ur
|
|
5223
5223
|
], 4)) : ve("", !0),
|
|
5224
5224
|
e.mode === "left-title" ? (E(), $("div", qr, [
|
|
5225
|
-
|
|
5226
|
-
|
|
5225
|
+
X("div", jr, [
|
|
5226
|
+
X("span", null, be(e.title), 1)
|
|
5227
5227
|
])
|
|
5228
5228
|
])) : ve("", !0)
|
|
5229
5229
|
], 4);
|
|
5230
5230
|
}
|
|
5231
|
-
const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b"]]), Hr =
|
|
5231
|
+
const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b"]]), Hr = ae(Vr), po = {
|
|
5232
5232
|
id: "",
|
|
5233
5233
|
type: "ecanModal",
|
|
5234
5234
|
title: "",
|
|
@@ -5269,18 +5269,18 @@ const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5269
5269
|
let v;
|
|
5270
5270
|
const b = () => {
|
|
5271
5271
|
d.value = parseFloat(o) / parseFloat(s);
|
|
5272
|
-
const z = parseFloat(a) / parseFloat(r), W = document.body.offsetWidth,
|
|
5273
|
-
l.value = W * C(d), c.value =
|
|
5272
|
+
const z = parseFloat(a) / parseFloat(r), W = document.body.offsetWidth, ee = document.body.offsetHeight;
|
|
5273
|
+
l.value = W * C(d), c.value = ee * z, i.value = `${C(d) * 100}%`, h.value = {
|
|
5274
5274
|
width: `${C(l)}px`,
|
|
5275
5275
|
height: `${C(c)}px`
|
|
5276
5276
|
}, u.value = {
|
|
5277
5277
|
...C(g),
|
|
5278
|
-
backgroundImage:
|
|
5278
|
+
backgroundImage: Ne(e.backgroundImage, !0),
|
|
5279
5279
|
transform: `scale(${C(l) / parseFloat(o)},${C(c) / parseFloat(a)})`
|
|
5280
5280
|
};
|
|
5281
5281
|
}, A = Ft(() => {
|
|
5282
5282
|
b();
|
|
5283
|
-
}, 100),
|
|
5283
|
+
}, 100), x = () => {
|
|
5284
5284
|
const z = window.MutationObserver;
|
|
5285
5285
|
v = new z(A), v.observe(document.body, {
|
|
5286
5286
|
attributes: !0,
|
|
@@ -5289,15 +5289,15 @@ const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5289
5289
|
});
|
|
5290
5290
|
}, R = () => {
|
|
5291
5291
|
v && (v.disconnect(), v.takeRecords(), v = null);
|
|
5292
|
-
},
|
|
5292
|
+
}, k = M(!1), { touchRequest: L } = N(Se, {
|
|
5293
5293
|
// @ts-ignore
|
|
5294
5294
|
// eslint-disable-next-line no-void
|
|
5295
5295
|
touchRequest: () => {
|
|
5296
5296
|
}
|
|
5297
5297
|
}), S = () => {
|
|
5298
|
-
|
|
5298
|
+
k.value = !0;
|
|
5299
5299
|
}, f = () => {
|
|
5300
|
-
|
|
5300
|
+
k.value = !1;
|
|
5301
5301
|
}, p = () => {
|
|
5302
5302
|
f();
|
|
5303
5303
|
}, T = () => {
|
|
@@ -5312,12 +5312,12 @@ const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5312
5312
|
}), U = () => {
|
|
5313
5313
|
const z = e.id;
|
|
5314
5314
|
let W = [];
|
|
5315
|
-
const
|
|
5316
|
-
Array.isArray(
|
|
5315
|
+
const ee = e.componentList;
|
|
5316
|
+
Array.isArray(ee) && (W = ee.map((se) => se.id), D(z, [...new Set(W)]));
|
|
5317
5317
|
};
|
|
5318
|
-
|
|
5318
|
+
oe(() => k.value, async (z) => {
|
|
5319
5319
|
z ? (m.value = !1, w(e.id), U(), await mt(() => {
|
|
5320
|
-
b(), window.addEventListener("resize", A),
|
|
5320
|
+
b(), window.addEventListener("resize", A), x(), m.value = !0;
|
|
5321
5321
|
}), L()) : (_(), window.removeEventListener("resize", A), R());
|
|
5322
5322
|
});
|
|
5323
5323
|
const H = j(() => C(d) >= 1), O = j(() => e.fullModal), P = j(() => {
|
|
@@ -5335,7 +5335,7 @@ const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5335
5335
|
modalWith: i,
|
|
5336
5336
|
isFullModal: O,
|
|
5337
5337
|
style: g,
|
|
5338
|
-
visible:
|
|
5338
|
+
visible: k,
|
|
5339
5339
|
showModal: S,
|
|
5340
5340
|
onOk: p,
|
|
5341
5341
|
onCancel: T,
|
|
@@ -5347,7 +5347,7 @@ const Vr = /* @__PURE__ */ K(_r, [["render", Wr], ["__scopeId", "data-v-1550b11b
|
|
|
5347
5347
|
});
|
|
5348
5348
|
function Yr(e, n, t, o, a, s) {
|
|
5349
5349
|
const r = Z("a-modal");
|
|
5350
|
-
return E(),
|
|
5350
|
+
return E(), De(r, {
|
|
5351
5351
|
getContainer: e.getContainer,
|
|
5352
5352
|
wrapClassName: e.wrapClassName,
|
|
5353
5353
|
centered: "",
|
|
@@ -5361,7 +5361,7 @@ function Yr(e, n, t, o, a, s) {
|
|
|
5361
5361
|
ref: "modalRef"
|
|
5362
5362
|
}, Do({
|
|
5363
5363
|
default: Y(() => [
|
|
5364
|
-
|
|
5364
|
+
X("div", {
|
|
5365
5365
|
class: "contain",
|
|
5366
5366
|
ref: "containRef",
|
|
5367
5367
|
style: G(e.containStyle)
|
|
@@ -5371,7 +5371,7 @@ function Yr(e, n, t, o, a, s) {
|
|
|
5371
5371
|
class: "content",
|
|
5372
5372
|
style: G(e.contentStyle)
|
|
5373
5373
|
}, [
|
|
5374
|
-
(E(!0), $(
|
|
5374
|
+
(E(!0), $(Ee, null, Fe(e.componentList, (i, l) => (E(), De($o(i.type), zo({
|
|
5375
5375
|
key: i.id + l
|
|
5376
5376
|
}, i), null, 16))), 128))
|
|
5377
5377
|
], 4)) : ve("", !0)
|
|
@@ -5382,7 +5382,7 @@ function Yr(e, n, t, o, a, s) {
|
|
|
5382
5382
|
e.title ? {
|
|
5383
5383
|
name: "title",
|
|
5384
5384
|
fn: Y(() => [
|
|
5385
|
-
|
|
5385
|
+
X("div", {
|
|
5386
5386
|
style: G({
|
|
5387
5387
|
fontSize: e.titleFontSize,
|
|
5388
5388
|
color: e.titleColor,
|
|
@@ -5394,7 +5394,7 @@ function Yr(e, n, t, o, a, s) {
|
|
|
5394
5394
|
} : void 0
|
|
5395
5395
|
]), 1032, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel"]);
|
|
5396
5396
|
}
|
|
5397
|
-
const Qr = /* @__PURE__ */ K(Jr, [["render", Yr], ["__scopeId", "data-v-2db14456"]]), Kr =
|
|
5397
|
+
const Qr = /* @__PURE__ */ K(Jr, [["render", Yr], ["__scopeId", "data-v-2db14456"]]), Kr = ae(Qr), So = {
|
|
5398
5398
|
...re,
|
|
5399
5399
|
tabHorizontalPadding: "0px",
|
|
5400
5400
|
type: "ecanTabs",
|
|
@@ -5436,7 +5436,7 @@ const Qr = /* @__PURE__ */ K(Jr, [["render", Yr], ["__scopeId", "data-v-2db14456
|
|
|
5436
5436
|
},
|
|
5437
5437
|
setup(e) {
|
|
5438
5438
|
const n = ie(e), t = M(0);
|
|
5439
|
-
|
|
5439
|
+
oe(() => e.activeKey, (u) => {
|
|
5440
5440
|
t.value = u;
|
|
5441
5441
|
}, {
|
|
5442
5442
|
immediate: !0
|
|
@@ -5452,19 +5452,19 @@ const Qr = /* @__PURE__ */ K(Jr, [["render", Yr], ["__scopeId", "data-v-2db14456
|
|
|
5452
5452
|
m <= u ? t.value = m : t.value = 0, i.value = C(r)[C(t)], h();
|
|
5453
5453
|
}, e.autoSwitchInterval * 1e3));
|
|
5454
5454
|
};
|
|
5455
|
-
|
|
5455
|
+
Ge(() => {
|
|
5456
5456
|
C(o) !== "design" && s();
|
|
5457
5457
|
}), _t(() => {
|
|
5458
5458
|
clearInterval(a);
|
|
5459
5459
|
});
|
|
5460
5460
|
const r = M([]), i = M({});
|
|
5461
|
-
|
|
5461
|
+
oe(() => e.data, (u) => {
|
|
5462
5462
|
r.value = u, i.value = Array.isArray(u) && u.length > 0 ? u[0] : {};
|
|
5463
5463
|
}, {
|
|
5464
5464
|
immediate: !0,
|
|
5465
5465
|
deep: !0
|
|
5466
5466
|
});
|
|
5467
|
-
const l = (u) => t.value === u, d =
|
|
5467
|
+
const l = (u) => t.value === u, d = ge(e), { setGlobalModel: c } = N(me, {
|
|
5468
5468
|
// @ts-ignore
|
|
5469
5469
|
// eslint-disable-next-line no-void
|
|
5470
5470
|
setGlobalModel: (u, m) => {
|
|
@@ -5489,7 +5489,7 @@ const Qr = /* @__PURE__ */ K(Jr, [["render", Yr], ["__scopeId", "data-v-2db14456
|
|
|
5489
5489
|
isActive: l,
|
|
5490
5490
|
tabChange: g,
|
|
5491
5491
|
myData: r,
|
|
5492
|
-
useImagePath:
|
|
5492
|
+
useImagePath: Ne
|
|
5493
5493
|
};
|
|
5494
5494
|
}
|
|
5495
5495
|
});
|
|
@@ -5499,7 +5499,7 @@ function ns(e, n, t, o, a, s) {
|
|
|
5499
5499
|
class: "ecan-tabs",
|
|
5500
5500
|
style: G(e.style)
|
|
5501
5501
|
}, [
|
|
5502
|
-
|
|
5502
|
+
X("div", {
|
|
5503
5503
|
class: "tabs-header",
|
|
5504
5504
|
style: G({
|
|
5505
5505
|
fontSize: e.tabFontSize,
|
|
@@ -5508,7 +5508,7 @@ function ns(e, n, t, o, a, s) {
|
|
|
5508
5508
|
flexDirection: e.tabFlexDirection
|
|
5509
5509
|
})
|
|
5510
5510
|
}, [
|
|
5511
|
-
(E(!0), $(
|
|
5511
|
+
(E(!0), $(Ee, null, Fe(e.myData, (r, i) => (E(), $("div", {
|
|
5512
5512
|
class: "tab",
|
|
5513
5513
|
style: G({
|
|
5514
5514
|
padding: `5px ${e.tabHorizontalPadding}`,
|
|
@@ -5521,7 +5521,7 @@ function ns(e, n, t, o, a, s) {
|
|
|
5521
5521
|
key: i,
|
|
5522
5522
|
onClick: mn((l) => e.tabChange(r, i), ["prevent", "stop"])
|
|
5523
5523
|
}, [
|
|
5524
|
-
|
|
5524
|
+
X("div", {
|
|
5525
5525
|
class: "tab-inner",
|
|
5526
5526
|
style: G({
|
|
5527
5527
|
borderBottom: !e.activeTabBackgroundImage && !e.tabBackgroundImage ? `1px solid ${e.isActive(i) ? e.activeTabColor : "transparent"}` : ""
|
|
@@ -5531,7 +5531,7 @@ function ns(e, n, t, o, a, s) {
|
|
|
5531
5531
|
], 4)
|
|
5532
5532
|
], 4);
|
|
5533
5533
|
}
|
|
5534
|
-
const os = /* @__PURE__ */ K(es, [["render", ns], ["__scopeId", "data-v-a2045b93"]]), as =
|
|
5534
|
+
const os = /* @__PURE__ */ K(es, [["render", ns], ["__scopeId", "data-v-a2045b93"]]), as = ae(os), ko = {
|
|
5535
5535
|
...re,
|
|
5536
5536
|
name: "图片",
|
|
5537
5537
|
keyName: "图片",
|
|
@@ -5542,13 +5542,13 @@ const os = /* @__PURE__ */ K(es, [["render", ns], ["__scopeId", "data-v-a2045b93
|
|
|
5542
5542
|
target: "self",
|
|
5543
5543
|
href: "",
|
|
5544
5544
|
linkPage: ""
|
|
5545
|
-
},
|
|
5545
|
+
}, xo = le(ko), ls = Q({
|
|
5546
5546
|
name: "EcanImage",
|
|
5547
5547
|
props: {
|
|
5548
|
-
...
|
|
5548
|
+
...xo
|
|
5549
5549
|
},
|
|
5550
5550
|
setup(e) {
|
|
5551
|
-
const n = ie(e), t = j(() =>
|
|
5551
|
+
const n = ie(e), t = j(() => Ne(e.imgUrl)), { pageMode: o } = N(fe, {
|
|
5552
5552
|
pageMode: "normal"
|
|
5553
5553
|
});
|
|
5554
5554
|
return {
|
|
@@ -5582,7 +5582,7 @@ function rs(e, n, t, o, a, s) {
|
|
|
5582
5582
|
style: G(e.style)
|
|
5583
5583
|
}, " 请上传图片 ", 4));
|
|
5584
5584
|
}
|
|
5585
|
-
const ss = /* @__PURE__ */ K(ls, [["render", rs], ["__scopeId", "data-v-ef7a7bee"]]), cs =
|
|
5585
|
+
const ss = /* @__PURE__ */ K(ls, [["render", rs], ["__scopeId", "data-v-ef7a7bee"]]), cs = ae(ss), Ao = {
|
|
5586
5586
|
...re,
|
|
5587
5587
|
name: "网页",
|
|
5588
5588
|
keyName: "网页",
|
|
@@ -5625,7 +5625,7 @@ function fs(e, n, t, o, a, s) {
|
|
|
5625
5625
|
style: G(e.style)
|
|
5626
5626
|
}, " 请填写网页链接 ", 4));
|
|
5627
5627
|
}
|
|
5628
|
-
const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c"]]), gs =
|
|
5628
|
+
const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c"]]), gs = ae(ms), _o = {
|
|
5629
5629
|
...re,
|
|
5630
5630
|
zIndex: 2,
|
|
5631
5631
|
name: "表格",
|
|
@@ -5736,28 +5736,28 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5736
5736
|
const B = I[J];
|
|
5737
5737
|
J < V ? B.fixed = "left" : B.fixed = !1;
|
|
5738
5738
|
const {
|
|
5739
|
-
cellAlign:
|
|
5740
|
-
cellColor:
|
|
5739
|
+
cellAlign: te = "center",
|
|
5740
|
+
cellColor: ne,
|
|
5741
5741
|
dataIndex: ue,
|
|
5742
|
-
title:
|
|
5742
|
+
title: he,
|
|
5743
5743
|
tableFilter: ce,
|
|
5744
|
-
headerCellAlign:
|
|
5745
|
-
headerCellColor:
|
|
5744
|
+
headerCellAlign: Oe,
|
|
5745
|
+
headerCellColor: we
|
|
5746
5746
|
} = B;
|
|
5747
|
-
ce && (u.push(ue), B.filterOptionsInputValue = "", B.filterCheckboxGroupValue = [], B.customFilterDropdown = !0, B.onFilter = (
|
|
5747
|
+
ce && (u.push(ue), B.filterOptionsInputValue = "", B.filterCheckboxGroupValue = [], B.customFilterDropdown = !0, B.onFilter = (Ie, bt) => bt[ue].toString().toLowerCase().includes(Ie.toLowerCase())), B.customHeaderCell = () => ({
|
|
5748
5748
|
style: {
|
|
5749
5749
|
display: "table-cell",
|
|
5750
5750
|
verticalAlign: "middle",
|
|
5751
5751
|
fontSize: e.headerFontSize,
|
|
5752
5752
|
fontWeight: e.headerFontWeight,
|
|
5753
|
-
textAlign:
|
|
5754
|
-
color:
|
|
5753
|
+
textAlign: Oe || "center",
|
|
5754
|
+
color: we,
|
|
5755
5755
|
borderBottomColor: e.borderColor
|
|
5756
5756
|
}
|
|
5757
|
-
}), B.customCell = (
|
|
5757
|
+
}), B.customCell = (Ie, bt) => ({
|
|
5758
5758
|
style: {
|
|
5759
|
-
textAlign:
|
|
5760
|
-
color:
|
|
5759
|
+
textAlign: te,
|
|
5760
|
+
color: ne,
|
|
5761
5761
|
backgroundColor: e.cellBackgroundColor,
|
|
5762
5762
|
borderBottomColor: e.borderColor
|
|
5763
5763
|
},
|
|
@@ -5766,11 +5766,11 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5766
5766
|
},
|
|
5767
5767
|
onClick: w("click", () => {
|
|
5768
5768
|
const Bt = e.id, Fo = U(Bt);
|
|
5769
|
-
|
|
5769
|
+
Ie = {
|
|
5770
5770
|
dataIndex: ue,
|
|
5771
|
-
title:
|
|
5772
|
-
...
|
|
5773
|
-
}, H(Bt, { ...Fo, RECORD:
|
|
5771
|
+
title: he,
|
|
5772
|
+
...Ie
|
|
5773
|
+
}, H(Bt, { ...Fo, RECORD: Ie });
|
|
5774
5774
|
})
|
|
5775
5775
|
}), Array.isArray(B.children) && m(B.children);
|
|
5776
5776
|
}
|
|
@@ -5784,7 +5784,7 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5784
5784
|
dataIndex: "ACTION",
|
|
5785
5785
|
width: e.actionColumnWidth
|
|
5786
5786
|
}), m(I), I);
|
|
5787
|
-
|
|
5787
|
+
oe(() => [
|
|
5788
5788
|
e.columns,
|
|
5789
5789
|
e.isUseSeq,
|
|
5790
5790
|
e.isUseAction,
|
|
@@ -5797,7 +5797,7 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5797
5797
|
}, {
|
|
5798
5798
|
immediate: !0,
|
|
5799
5799
|
deep: !0
|
|
5800
|
-
}),
|
|
5800
|
+
}), oe(() => [e.data, e.dataType], ([I, F]) => {
|
|
5801
5801
|
F === "static" && (i.value = I);
|
|
5802
5802
|
}, {
|
|
5803
5803
|
immediate: !0
|
|
@@ -5805,28 +5805,28 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5805
5805
|
const v = M({}), b = (I) => {
|
|
5806
5806
|
if (Array.isArray(I)) {
|
|
5807
5807
|
const F = I.length, V = u, J = V.length, B = {};
|
|
5808
|
-
for (let
|
|
5809
|
-
const ue = I[
|
|
5810
|
-
for (let
|
|
5811
|
-
const ce = V[
|
|
5808
|
+
for (let ne = 0; ne < F; ne++) {
|
|
5809
|
+
const ue = I[ne];
|
|
5810
|
+
for (let he = 0; he < J; he++) {
|
|
5811
|
+
const ce = V[he];
|
|
5812
5812
|
if (B[ce])
|
|
5813
5813
|
B[ce].add(ue[ce]);
|
|
5814
5814
|
else {
|
|
5815
|
-
const
|
|
5816
|
-
|
|
5815
|
+
const Oe = /* @__PURE__ */ new Set();
|
|
5816
|
+
Oe.add(ue[ce]), B[ce] = Oe;
|
|
5817
5817
|
}
|
|
5818
5818
|
}
|
|
5819
5819
|
}
|
|
5820
|
-
const
|
|
5821
|
-
for (const
|
|
5822
|
-
if (Object.prototype.hasOwnProperty.call(B,
|
|
5823
|
-
const ue = B[
|
|
5824
|
-
|
|
5820
|
+
const te = {};
|
|
5821
|
+
for (const ne in B)
|
|
5822
|
+
if (Object.prototype.hasOwnProperty.call(B, ne)) {
|
|
5823
|
+
const ue = B[ne], he = Array.from(ue);
|
|
5824
|
+
te[ne] = he.map((ce) => ({ label: ce, value: ce }));
|
|
5825
5825
|
}
|
|
5826
|
-
v.value =
|
|
5826
|
+
v.value = te;
|
|
5827
5827
|
}
|
|
5828
5828
|
};
|
|
5829
|
-
|
|
5829
|
+
oe(() => [e.isReverse, r.value, i.value], () => {
|
|
5830
5830
|
const I = C(r), F = C(i);
|
|
5831
5831
|
if (b(F), e.isReverse) {
|
|
5832
5832
|
const { columns: V, dataSource: J } = A(pt(I), pt(F));
|
|
@@ -5843,21 +5843,21 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5843
5843
|
key: "col0",
|
|
5844
5844
|
align: "center"
|
|
5845
5845
|
}];
|
|
5846
|
-
for (let
|
|
5847
|
-
const
|
|
5846
|
+
for (let te = 0; te < F.length; te++) {
|
|
5847
|
+
const ne = F[te], ue = "col" + (te + 1);
|
|
5848
5848
|
J.push({
|
|
5849
|
-
title:
|
|
5849
|
+
title: ne[V.dataIndex],
|
|
5850
5850
|
dataIndex: ue,
|
|
5851
5851
|
key: ue,
|
|
5852
5852
|
align: "center"
|
|
5853
5853
|
});
|
|
5854
5854
|
}
|
|
5855
5855
|
const B = [];
|
|
5856
|
-
for (let
|
|
5857
|
-
const
|
|
5858
|
-
for (let
|
|
5859
|
-
const ce = F[
|
|
5860
|
-
ue[`col${
|
|
5856
|
+
for (let te = 1; te < I.length; te++) {
|
|
5857
|
+
const ne = I[te], ue = { col0: ne.title };
|
|
5858
|
+
for (let he = 0; he < F.length; he++) {
|
|
5859
|
+
const ce = F[he];
|
|
5860
|
+
ue[`col${he + 1}`] = ce[ne.dataIndex];
|
|
5861
5861
|
}
|
|
5862
5862
|
B.push(ue);
|
|
5863
5863
|
}
|
|
@@ -5865,29 +5865,29 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5865
5865
|
columns: J,
|
|
5866
5866
|
dataSource: B
|
|
5867
5867
|
};
|
|
5868
|
-
},
|
|
5868
|
+
}, x = M(""), R = Te(e), k = M(!1), L = async (I = !0, F = {}) => {
|
|
5869
5869
|
var V;
|
|
5870
5870
|
try {
|
|
5871
|
-
I && (
|
|
5871
|
+
I && (k.value = !0), C(x) && (F.orderCondition = C(x)), e.paginationShow && (F = {
|
|
5872
5872
|
pageNum: C(h),
|
|
5873
5873
|
pageSize: C(g),
|
|
5874
5874
|
layer: "1",
|
|
5875
5875
|
...F
|
|
5876
5876
|
});
|
|
5877
|
-
const J = await R(F), { rows: B = [], total:
|
|
5878
|
-
c.value =
|
|
5877
|
+
const J = await R(F), { rows: B = [], total: te = 0 } = ((V = J == null ? void 0 : J.data) == null ? void 0 : V.data) || {};
|
|
5878
|
+
c.value = te, Array.isArray(B) && (i.value = B);
|
|
5879
5879
|
} catch (J) {
|
|
5880
5880
|
console.error(J);
|
|
5881
5881
|
} finally {
|
|
5882
|
-
|
|
5882
|
+
k.value = !1;
|
|
5883
5883
|
}
|
|
5884
5884
|
}, S = ({ current: I }, F, V) => {
|
|
5885
5885
|
if (h.value = I, V && Object.keys(V).length > 0) {
|
|
5886
|
-
const { field: J, order: B } = V,
|
|
5886
|
+
const { field: J, order: B } = V, ne = {
|
|
5887
5887
|
ascend: "asc",
|
|
5888
5888
|
descend: "desc"
|
|
5889
5889
|
}[B];
|
|
5890
|
-
J != null &&
|
|
5890
|
+
J != null && ne != null && (x.value = J + " " + ne, h.value = 1);
|
|
5891
5891
|
}
|
|
5892
5892
|
se(!1);
|
|
5893
5893
|
}, f = j(() => {
|
|
@@ -5915,9 +5915,9 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5915
5915
|
case V < 0:
|
|
5916
5916
|
return "goDown";
|
|
5917
5917
|
}
|
|
5918
|
-
}, w =
|
|
5918
|
+
}, w = ge(e), { pageMode: _ } = N(fe, {
|
|
5919
5919
|
pageMode: "normal"
|
|
5920
|
-
}), { getGlobalModel: U, setGlobalModel: H } = N(
|
|
5920
|
+
}), { getGlobalModel: U, setGlobalModel: H } = N(me, {
|
|
5921
5921
|
// @ts-ignore
|
|
5922
5922
|
// eslint-disable-next-line no-void
|
|
5923
5923
|
getGlobalModel: (I) => {
|
|
@@ -5932,15 +5932,15 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5932
5932
|
}, P = Dn(e), z = async () => {
|
|
5933
5933
|
var I, F, V, J;
|
|
5934
5934
|
try {
|
|
5935
|
-
|
|
5935
|
+
k.value = !0;
|
|
5936
5936
|
const B = await P();
|
|
5937
5937
|
O((F = (I = B == null ? void 0 : B.data) == null ? void 0 : I.data) == null ? void 0 : F.columns, (J = (V = B == null ? void 0 : B.data) == null ? void 0 : V.data) == null ? void 0 : J.rows);
|
|
5938
5938
|
} catch (B) {
|
|
5939
5939
|
console.error(B);
|
|
5940
5940
|
} finally {
|
|
5941
|
-
|
|
5941
|
+
k.value = !1;
|
|
5942
5942
|
}
|
|
5943
|
-
}, W = M(-1),
|
|
5943
|
+
}, W = M(-1), ee = (I, F) => ({
|
|
5944
5944
|
onClick: w("rowClick", () => {
|
|
5945
5945
|
const V = e.id, J = U(V);
|
|
5946
5946
|
H(V, { ...J, RECORD: I }), W.value = F;
|
|
@@ -5967,35 +5967,35 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
5967
5967
|
const I = C(l), F = [];
|
|
5968
5968
|
let V = 0;
|
|
5969
5969
|
for (let B = 0; B < I.length; B++) {
|
|
5970
|
-
const
|
|
5970
|
+
const te = I[B], { isCalcTotal: ne } = te;
|
|
5971
5971
|
e.isUseSeq && B === 0 ? F.push({
|
|
5972
|
-
...
|
|
5972
|
+
...te,
|
|
5973
5973
|
total: "小计"
|
|
5974
|
-
}) :
|
|
5975
|
-
...
|
|
5974
|
+
}) : ne ? (F.push({
|
|
5975
|
+
...te,
|
|
5976
5976
|
index: B,
|
|
5977
5977
|
total: 0
|
|
5978
5978
|
}), V++) : F.push({
|
|
5979
|
-
...
|
|
5979
|
+
...te
|
|
5980
5980
|
});
|
|
5981
5981
|
}
|
|
5982
5982
|
if (V === 0)
|
|
5983
5983
|
return [];
|
|
5984
5984
|
const J = C(d);
|
|
5985
5985
|
for (let B = 0; B < F.length; B++) {
|
|
5986
|
-
const
|
|
5987
|
-
let
|
|
5988
|
-
const { isCalcTotal: ue, dataIndex:
|
|
5986
|
+
const te = F[B];
|
|
5987
|
+
let ne = 0;
|
|
5988
|
+
const { isCalcTotal: ue, dataIndex: he } = te;
|
|
5989
5989
|
if (ue === !0) {
|
|
5990
5990
|
for (let ce = 0; ce < J.length; ce++) {
|
|
5991
|
-
const
|
|
5992
|
-
isNaN(
|
|
5991
|
+
const we = +J[ce][he];
|
|
5992
|
+
isNaN(we) || (ne = new da(ne).add(we).toNumber());
|
|
5993
5993
|
}
|
|
5994
|
-
|
|
5994
|
+
te.total = ne;
|
|
5995
5995
|
}
|
|
5996
5996
|
}
|
|
5997
5997
|
return F;
|
|
5998
|
-
}), { setRequest: Oo } = N(
|
|
5998
|
+
}), { setRequest: Oo } = N(Se, {
|
|
5999
5999
|
// @ts-ignore
|
|
6000
6000
|
// eslint-disable-next-line no-void
|
|
6001
6001
|
setRequest: ({ id: I, sortNum: F, requestFn: V }) => {
|
|
@@ -6011,13 +6011,13 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
6011
6011
|
x: a,
|
|
6012
6012
|
y: s,
|
|
6013
6013
|
style: t,
|
|
6014
|
-
customRow:
|
|
6014
|
+
customRow: ee,
|
|
6015
6015
|
pagination: f,
|
|
6016
6016
|
formatFn: T,
|
|
6017
6017
|
contrastClass: D,
|
|
6018
6018
|
tableChange: S,
|
|
6019
6019
|
summaryList: Eo,
|
|
6020
|
-
loading:
|
|
6020
|
+
loading: k,
|
|
6021
6021
|
onTouchHrefEvent: (I, F = "") => {
|
|
6022
6022
|
I === "event" && window.parent.postMessage({
|
|
6023
6023
|
type: "openPage",
|
|
@@ -6053,22 +6053,28 @@ const ms = /* @__PURE__ */ K(ds, [["render", fs], ["__scopeId", "data-v-19bc100c
|
|
|
6053
6053
|
onSearchFilterOptions: () => {
|
|
6054
6054
|
},
|
|
6055
6055
|
exportTable: async () => {
|
|
6056
|
-
var
|
|
6057
|
-
|
|
6056
|
+
var ce, Oe;
|
|
6057
|
+
const I = "EXPORT_KEY";
|
|
6058
|
+
ze.loading({
|
|
6059
|
+
key: I,
|
|
6060
|
+
content: "正在导出...",
|
|
6061
|
+
duration: 0
|
|
6062
|
+
});
|
|
6063
|
+
let F = [];
|
|
6058
6064
|
if (e.dataType === "static")
|
|
6059
|
-
|
|
6065
|
+
F = e.data;
|
|
6060
6066
|
else if (e.dataType === "request") {
|
|
6061
|
-
const
|
|
6062
|
-
C(
|
|
6063
|
-
const
|
|
6064
|
-
|
|
6067
|
+
const we = { layer: "1" };
|
|
6068
|
+
C(x) && (we.orderCondition = C(x));
|
|
6069
|
+
const Ie = await R(we);
|
|
6070
|
+
F = ((Oe = (ce = Ie == null ? void 0 : Ie.data) == null ? void 0 : ce.data) == null ? void 0 : Oe.rows) || {};
|
|
6065
6071
|
}
|
|
6066
|
-
const
|
|
6067
|
-
|
|
6068
|
-
|
|
6072
|
+
const V = C(l), J = [], B = [];
|
|
6073
|
+
V == null || V.forEach((we) => {
|
|
6074
|
+
J.push(we.dataIndex), B.push(we.title);
|
|
6069
6075
|
});
|
|
6070
|
-
const
|
|
6071
|
-
at.book_append_sheet(
|
|
6076
|
+
const te = F.map((we) => bn(we, J)), ne = at.book_new(), ue = at.aoa_to_sheet([B]), he = at.sheet_add_json(ue, te, { skipHeader: !0, origin: "A2" });
|
|
6077
|
+
at.book_append_sheet(ne, he, "sheet"), ca(ne, "表格数据.xlsx"), ze.success({ key: I, content: "导出成功" });
|
|
6072
6078
|
}
|
|
6073
6079
|
};
|
|
6074
6080
|
}
|
|
@@ -6079,8 +6085,8 @@ const bs = {
|
|
|
6079
6085
|
}, vs = /* @__PURE__ */ Ot("导出数据"), ps = /* @__PURE__ */ Ot(" 搜索 "), Cs = /* @__PURE__ */ Ot(" 重置 "), Ss = { key: 0 }, ws = {
|
|
6080
6086
|
key: 1,
|
|
6081
6087
|
class: "action-list"
|
|
6082
|
-
},
|
|
6083
|
-
function
|
|
6088
|
+
}, ks = ["href", "target", "onClick"];
|
|
6089
|
+
function xs(e, n, t, o, a, s) {
|
|
6084
6090
|
const r = 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");
|
|
6085
6091
|
return E(), $("div", {
|
|
6086
6092
|
class: "ecan-table",
|
|
@@ -6114,7 +6120,7 @@ function ks(e, n, t, o, a, s) {
|
|
|
6114
6120
|
onChange: e.tableChange
|
|
6115
6121
|
}, {
|
|
6116
6122
|
customFilterDropdown: Y(({ column: m, selectedKeys: y, setSelectedKeys: v, confirm: b, clearFilters: A }) => [
|
|
6117
|
-
|
|
6123
|
+
X("div", {
|
|
6118
6124
|
class: "ecan-table-filter",
|
|
6119
6125
|
style: G({
|
|
6120
6126
|
height: e.filterDropdownHeight
|
|
@@ -6122,19 +6128,19 @@ function ks(e, n, t, o, a, s) {
|
|
|
6122
6128
|
}, [
|
|
6123
6129
|
q(i, {
|
|
6124
6130
|
value: m.filterOptionsInputValue,
|
|
6125
|
-
"onUpdate:value": (
|
|
6131
|
+
"onUpdate:value": (x) => m.filterOptionsInputValue = x,
|
|
6126
6132
|
placeholder: "请输入关键字",
|
|
6127
6133
|
class: "filter-input",
|
|
6128
6134
|
onChange: e.onSearchFilterOptions
|
|
6129
6135
|
}, null, 8, ["value", "onUpdate:value", "onChange"]),
|
|
6130
6136
|
q(l, {
|
|
6131
6137
|
value: m.filterCheckboxGroupValue,
|
|
6132
|
-
"onUpdate:value": (
|
|
6138
|
+
"onUpdate:value": (x) => m.filterCheckboxGroupValue = x,
|
|
6133
6139
|
class: "filter-checkbox",
|
|
6134
6140
|
options: e.useFilterOptions(m),
|
|
6135
|
-
onChange: (
|
|
6141
|
+
onChange: (x) => e.useSetSelectedKeys(v, m)
|
|
6136
6142
|
}, null, 8, ["value", "onUpdate:value", "options", "onChange"]),
|
|
6137
|
-
|
|
6143
|
+
X("div", null, [
|
|
6138
6144
|
q(r, {
|
|
6139
6145
|
type: "primary",
|
|
6140
6146
|
size: "small",
|
|
@@ -6149,7 +6155,7 @@ function ks(e, n, t, o, a, s) {
|
|
|
6149
6155
|
q(r, {
|
|
6150
6156
|
size: "small",
|
|
6151
6157
|
style: { width: "90px" },
|
|
6152
|
-
onClick: mn((
|
|
6158
|
+
onClick: mn((x) => e.onResetFilter(A, m), ["stop"])
|
|
6153
6159
|
}, {
|
|
6154
6160
|
default: Y(() => [
|
|
6155
6161
|
Cs
|
|
@@ -6162,11 +6168,11 @@ function ks(e, n, t, o, a, s) {
|
|
|
6162
6168
|
bodyCell: Y(({ column: m, index: y, text: v, record: b }) => [
|
|
6163
6169
|
m.dataIndex === "SEQ" ? (E(), $("span", Ss, be(y + 1), 1)) : ve("", !0),
|
|
6164
6170
|
m.dataIndex === "ACTION" ? (E(), $("div", ws, [
|
|
6165
|
-
(E(!0), $(
|
|
6171
|
+
(E(!0), $(Ee, null, Fe(e.actionList, (A, x) => (E(), $("div", {
|
|
6166
6172
|
class: "action",
|
|
6167
|
-
key:
|
|
6173
|
+
key: x
|
|
6168
6174
|
}, [
|
|
6169
|
-
|
|
6175
|
+
X("a", {
|
|
6170
6176
|
href: e.handleHref(A.href, b),
|
|
6171
6177
|
target: e.handleHrefTarget(A.target),
|
|
6172
6178
|
style: G({
|
|
@@ -6175,7 +6181,7 @@ function ks(e, n, t, o, a, s) {
|
|
|
6175
6181
|
fontWeight: e.fontWeight
|
|
6176
6182
|
}),
|
|
6177
6183
|
onClick: (R) => e.onTouchHrefEvent(A.target, e.handleHref(A.href, b))
|
|
6178
|
-
}, be(A.title), 13,
|
|
6184
|
+
}, be(A.title), 13, ks)
|
|
6179
6185
|
]))), 128))
|
|
6180
6186
|
])) : (E(), $("div", {
|
|
6181
6187
|
key: 2,
|
|
@@ -6187,11 +6193,11 @@ function ks(e, n, t, o, a, s) {
|
|
|
6187
6193
|
}, be(m.format != null ? e.formatFn(v, m.format) : v), 7))
|
|
6188
6194
|
]),
|
|
6189
6195
|
summary: Y(() => [
|
|
6190
|
-
e.summaryList.length > 0 ? (E(),
|
|
6196
|
+
e.summaryList.length > 0 ? (E(), De(h, { key: 0 }, {
|
|
6191
6197
|
default: Y(() => [
|
|
6192
6198
|
q(c, null, {
|
|
6193
6199
|
default: Y(() => [
|
|
6194
|
-
(E(!0), $(
|
|
6200
|
+
(E(!0), $(Ee, null, Fe(e.summaryList, (m, y) => (E(), De(d, {
|
|
6195
6201
|
key: y,
|
|
6196
6202
|
index: y,
|
|
6197
6203
|
style: G({
|
|
@@ -6202,7 +6208,7 @@ function ks(e, n, t, o, a, s) {
|
|
|
6202
6208
|
})
|
|
6203
6209
|
}, {
|
|
6204
6210
|
default: Y(() => [
|
|
6205
|
-
|
|
6211
|
+
X("div", {
|
|
6206
6212
|
class: Lt([e.contrastClass(m.total, m.format)]),
|
|
6207
6213
|
style: G({
|
|
6208
6214
|
fontSize: e.fontSize,
|
|
@@ -6226,7 +6232,7 @@ function ks(e, n, t, o, a, s) {
|
|
|
6226
6232
|
}, 8, ["loading"])
|
|
6227
6233
|
], 4);
|
|
6228
6234
|
}
|
|
6229
|
-
const As = /* @__PURE__ */ K(ys, [["render",
|
|
6235
|
+
const As = /* @__PURE__ */ K(ys, [["render", xs], ["__scopeId", "data-v-92c5cea8"]]), Ts = ae(As), Io = {
|
|
6230
6236
|
...re,
|
|
6231
6237
|
mapJson: null,
|
|
6232
6238
|
data: [],
|
|
@@ -6268,8 +6274,8 @@ const As = /* @__PURE__ */ K(ys, [["render", ks], ["__scopeId", "data-v-d46f9dff
|
|
|
6268
6274
|
tooltipTextStyleColor: "",
|
|
6269
6275
|
tooltipFormatter: "{b}"
|
|
6270
6276
|
}, Mo = le(Io);
|
|
6271
|
-
|
|
6272
|
-
|
|
6277
|
+
qe([
|
|
6278
|
+
je,
|
|
6273
6279
|
la,
|
|
6274
6280
|
wn,
|
|
6275
6281
|
ia,
|
|
@@ -6279,18 +6285,18 @@ Ge([
|
|
|
6279
6285
|
const _s = Q({
|
|
6280
6286
|
name: "EcanMap",
|
|
6281
6287
|
components: {
|
|
6282
|
-
Echarts:
|
|
6288
|
+
Echarts: Be
|
|
6283
6289
|
},
|
|
6284
6290
|
props: {
|
|
6285
6291
|
...Mo
|
|
6286
6292
|
},
|
|
6287
6293
|
setup(e) {
|
|
6288
|
-
const n = ie(e, ["backgroundImage"]), t = M(), o = j(() =>
|
|
6294
|
+
const n = ie(e, ["backgroundImage"]), t = M(), o = j(() => Ne(e.geoBackgroundImage)), a = j(() => Ne(e.backgroundImage)), s = j(() => e.geoBackgroundImage ? {
|
|
6289
6295
|
image: C(t),
|
|
6290
6296
|
repeat: e.geoBackgroundImageRepeat
|
|
6291
6297
|
} : e.geoItemStyleAreaColor), r = j(() => {
|
|
6292
6298
|
const c = e.symbolImage;
|
|
6293
|
-
return e.symbolImage ? "image://" +
|
|
6299
|
+
return e.symbolImage ? "image://" + Ne(c) : "circle";
|
|
6294
6300
|
}), i = j(() => {
|
|
6295
6301
|
const c = e.geoCenter;
|
|
6296
6302
|
let h;
|
|
@@ -6382,7 +6388,7 @@ const _s = Q({
|
|
|
6382
6388
|
}
|
|
6383
6389
|
l.value = !0;
|
|
6384
6390
|
};
|
|
6385
|
-
return
|
|
6391
|
+
return oe(() => e.mapJson, () => {
|
|
6386
6392
|
d();
|
|
6387
6393
|
}, {
|
|
6388
6394
|
immediate: !0,
|
|
@@ -6403,13 +6409,13 @@ function Is(e, n, t, o, a, s) {
|
|
|
6403
6409
|
class: "ecan-map",
|
|
6404
6410
|
style: G(e.style)
|
|
6405
6411
|
}, [
|
|
6406
|
-
e.isLoadedData ? (E(),
|
|
6412
|
+
e.isLoadedData ? (E(), De(r, {
|
|
6407
6413
|
key: 0,
|
|
6408
6414
|
option: e.option,
|
|
6409
6415
|
"update-options": { notMerge: !0 },
|
|
6410
6416
|
autoresize: ""
|
|
6411
6417
|
}, null, 8, ["option"])) : ve("", !0),
|
|
6412
|
-
Po(
|
|
6418
|
+
Po(X("img", {
|
|
6413
6419
|
ref: "geoBackgroundImageRef",
|
|
6414
6420
|
src: e.myGeoBackgroundImage
|
|
6415
6421
|
}, null, 8, Ls), [
|
|
@@ -6417,7 +6423,7 @@ function Is(e, n, t, o, a, s) {
|
|
|
6417
6423
|
])
|
|
6418
6424
|
], 4);
|
|
6419
6425
|
}
|
|
6420
|
-
const Ms = /* @__PURE__ */ K(_s, [["render", Is], ["__scopeId", "data-v-1fb5cdee"]]), Es =
|
|
6426
|
+
const Ms = /* @__PURE__ */ K(_s, [["render", Is], ["__scopeId", "data-v-1fb5cdee"]]), Es = ae(Ms), an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6421
6427
|
__proto__: null,
|
|
6422
6428
|
EcanBar: ur,
|
|
6423
6429
|
EcanBorder: Hr,
|
|
@@ -6467,8 +6473,8 @@ const Ms = /* @__PURE__ */ K(_s, [["render", Is], ["__scopeId", "data-v-1fb5cdee
|
|
|
6467
6473
|
datePickerProps: Zn,
|
|
6468
6474
|
iframeComponentProps: To,
|
|
6469
6475
|
iframeProps: Ao,
|
|
6470
|
-
imageComponentProps:
|
|
6471
|
-
imageProps:
|
|
6476
|
+
imageComponentProps: xo,
|
|
6477
|
+
imageProps: ko,
|
|
6472
6478
|
inputComponentProps: Hn,
|
|
6473
6479
|
inputEvents: Si,
|
|
6474
6480
|
inputProps: Vn,
|
|
@@ -6571,8 +6577,8 @@ export {
|
|
|
6571
6577
|
uc as default,
|
|
6572
6578
|
To as iframeComponentProps,
|
|
6573
6579
|
Ao as iframeProps,
|
|
6574
|
-
|
|
6575
|
-
|
|
6580
|
+
xo as imageComponentProps,
|
|
6581
|
+
ko as imageProps,
|
|
6576
6582
|
Hn as inputComponentProps,
|
|
6577
6583
|
Si as inputEvents,
|
|
6578
6584
|
Vn as inputProps,
|