@ecan-bi/datav 1.1.53 → 1.1.54
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 +218 -215
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/table/table/Table.vue.d.ts +5 -5
- package/types/table/table/index.d.ts +5 -5
- package/types/table/table/props.d.ts +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
2
|
-
import { watch as ne, inject as N, computed as q, unref as
|
|
1
|
+
/*! @ecan-bi/datav@1.1.54 */
|
|
2
|
+
import { watch as ne, inject as N, computed as q, unref as S, watchEffect as sn, defineComponent as Q, shallowRef as bt, toRefs as Mo, onMounted as Ne, onUnmounted as ut, h as st, nextTick as ft, createVNode as j, resolveComponent as Z, openBlock as E, createElementBlock as R, createBlock as Fe, renderSlot as mt, withCtx as Y, ref as I, normalizeStyle as G, createCommentVNode as pe, provide as Oe, onBeforeUnmount as Tt, toDisplayString as ye, Fragment as Le, renderList as Me, createElementVNode as X, normalizeClass as _t, pushScopeId as cn, popScopeId as dn, createSlots as Eo, resolveDynamicComponent as Fo, mergeProps as Oo, withModifiers as Ro, reactive as Do, createTextVNode as un, withDirectives as zo, vShow as No } from "vue";
|
|
3
3
|
import { throttle as $o, init as Po, use as Pe, registerMap as Bo } from "echarts/core";
|
|
4
4
|
import { addListener as Go, removeListener as Uo } from "resize-detector";
|
|
5
5
|
import { Spin as qo, Skeleton as jo, message as He, Progress as Wo, Input as fn, DatePicker as Vo, Select as Ho, RangePicker as Zo, Button as Jo, CheckboxGroup as mn, Modal as ke, Table as Yo, TableSummary as Qo, TableSummaryRow as Ko, TableSummaryCell as Xo } from "ant-design-vue";
|
|
@@ -71,7 +71,7 @@ const fa = {
|
|
|
71
71
|
}, ma = "ecLoadingOptions";
|
|
72
72
|
function ga(e, n, t) {
|
|
73
73
|
const o = N(ma, {}), a = q(() => ({
|
|
74
|
-
...
|
|
74
|
+
...S(o),
|
|
75
75
|
...t == null ? void 0 : t.value
|
|
76
76
|
}));
|
|
77
77
|
sn(() => {
|
|
@@ -115,12 +115,12 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
|
|
|
115
115
|
null
|
|
116
116
|
), { autoresize: d, manualUpdate: c, loading: g, loadingOptions: h } = Mo(e), m = q(
|
|
117
117
|
() => r.value || e.option || /* @__PURE__ */ Object.create(null)
|
|
118
|
-
), f = q(() => e.theme ||
|
|
119
|
-
() => e.initOptions ||
|
|
118
|
+
), f = q(() => e.theme || S(i) || {}), y = q(
|
|
119
|
+
() => e.initOptions || S(s) || {}
|
|
120
120
|
), v = q(
|
|
121
|
-
() => e.updateOptions ||
|
|
121
|
+
() => e.updateOptions || S(l) || {}
|
|
122
122
|
), b = q(() => va(n));
|
|
123
|
-
function A(
|
|
123
|
+
function A(k) {
|
|
124
124
|
if (a.value || !o.value)
|
|
125
125
|
return;
|
|
126
126
|
const u = a.value = Po(
|
|
@@ -148,23 +148,23 @@ const pa = "x-vue-echarts", Ca = "ecTheme", Sa = "ecInitOptions", wa = "ecUpdate
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
function O() {
|
|
151
|
-
u.setOption(
|
|
151
|
+
u.setOption(k || m.value, v.value);
|
|
152
152
|
}
|
|
153
153
|
d.value ? ft(() => {
|
|
154
154
|
T(), O();
|
|
155
155
|
}) : O();
|
|
156
156
|
}
|
|
157
|
-
function x(
|
|
158
|
-
e.manualUpdate && (r.value =
|
|
157
|
+
function x(k, u) {
|
|
158
|
+
e.manualUpdate && (r.value = k), a.value ? a.value.setOption(k, u || {}) : A(k);
|
|
159
159
|
}
|
|
160
160
|
function B() {
|
|
161
161
|
a.value && (a.value.dispose(), a.value = void 0);
|
|
162
162
|
}
|
|
163
|
-
let
|
|
163
|
+
let w = null;
|
|
164
164
|
ne(
|
|
165
165
|
c,
|
|
166
|
-
(
|
|
167
|
-
typeof
|
|
166
|
+
(k) => {
|
|
167
|
+
typeof w == "function" && (w(), w = null), k || (w = ne(
|
|
168
168
|
() => e.option,
|
|
169
169
|
(u) => {
|
|
170
170
|
u && (a.value ? a.value.setOption(u, v.value) : A());
|
|
@@ -1295,51 +1295,51 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1295
1295
|
getGlobalModel: (y) => {
|
|
1296
1296
|
}
|
|
1297
1297
|
}), h = de(t), m = async (y = {}) => {
|
|
1298
|
-
if (!h || !o || !a ||
|
|
1298
|
+
if (!h || !o || !a || S(d) === "design")
|
|
1299
1299
|
return;
|
|
1300
1300
|
let v = {};
|
|
1301
|
-
r.forEach((
|
|
1302
|
-
const { key: L, value:
|
|
1303
|
-
if (typeof
|
|
1301
|
+
r.forEach((w) => {
|
|
1302
|
+
const { key: L, value: k } = w;
|
|
1303
|
+
if (typeof k == "object" && k.id) {
|
|
1304
1304
|
let u = {};
|
|
1305
|
-
const { id: p, prop: T, propKey: O, operate: C } =
|
|
1306
|
-
p === "THIS" ? u = g(
|
|
1307
|
-
const _ =
|
|
1305
|
+
const { id: p, prop: T, propKey: O, operate: C } = k;
|
|
1306
|
+
p === "THIS" ? u = g(S(c)) || {} : u = g(p) || {};
|
|
1307
|
+
const _ = S(u[T]);
|
|
1308
1308
|
let U = null;
|
|
1309
1309
|
if (["date", "range"].some((F) => In(u == null ? void 0 : u.type, F))) {
|
|
1310
1310
|
const { value: F, type: $, mode: z } = C || {};
|
|
1311
1311
|
if (F && $ && z)
|
|
1312
1312
|
switch ($) {
|
|
1313
1313
|
case "add":
|
|
1314
|
-
U =
|
|
1314
|
+
U = S(_).add(F, z);
|
|
1315
1315
|
break;
|
|
1316
1316
|
case "minus":
|
|
1317
|
-
U =
|
|
1317
|
+
U = S(_).subtract(F, z);
|
|
1318
1318
|
break;
|
|
1319
1319
|
}
|
|
1320
|
-
U == null && (U =
|
|
1320
|
+
U == null && (U = S(_)), U = (U == null ? void 0 : U.format((O == null ? void 0 : O.trim()) || u.format)) || "";
|
|
1321
1321
|
} else
|
|
1322
1322
|
Object.prototype.toString.call(_) === "[object Object]" ? U = _[O || "value"] : U = _;
|
|
1323
1323
|
v[L] = U;
|
|
1324
1324
|
} else
|
|
1325
|
-
typeof
|
|
1325
|
+
typeof k == "string" && (v[L] = de(k));
|
|
1326
1326
|
}), v = { ...window.config.requestParams, ...y, ...v };
|
|
1327
1327
|
let b = "";
|
|
1328
1328
|
const A = Object.keys(v), x = A.length - 1, B = A.length;
|
|
1329
|
-
A.forEach((
|
|
1330
|
-
L === 0 ? B !== 1 ? b += `?${
|
|
1329
|
+
A.forEach((w, L) => {
|
|
1330
|
+
L === 0 ? B !== 1 ? b += `?${w}=${v[w]}&` : b += `?${w}=${v[w]}` : L === x ? b += `${w}=${v[w]}` : b += `${w}=${v[w]}&`;
|
|
1331
1331
|
});
|
|
1332
1332
|
try {
|
|
1333
|
-
const
|
|
1334
|
-
baseURL:
|
|
1335
|
-
url:
|
|
1333
|
+
const w = ["get", "head"].includes(o), L = await xe({
|
|
1334
|
+
baseURL: S(l) || "",
|
|
1335
|
+
url: w ? h + b : h,
|
|
1336
1336
|
method: o,
|
|
1337
1337
|
headers: a,
|
|
1338
|
-
data:
|
|
1338
|
+
data: w ? {} : v
|
|
1339
1339
|
});
|
|
1340
1340
|
return n(L), L;
|
|
1341
|
-
} catch (
|
|
1342
|
-
console.error(
|
|
1341
|
+
} catch (w) {
|
|
1342
|
+
console.error(w);
|
|
1343
1343
|
}
|
|
1344
1344
|
}, f = s && setInterval(m, i * 1e3);
|
|
1345
1345
|
return ut(() => {
|
|
@@ -1441,7 +1441,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1441
1441
|
}, A = n(v) || {};
|
|
1442
1442
|
if (m === "the_date" ? b.valueType = "DATE" : ["hbdwbh", "hbdwbh_name"].includes(m) && (b.valueType = "TEXT"), A.type === "ecanDatePicker") {
|
|
1443
1443
|
b.dateFormat = A.format;
|
|
1444
|
-
const x = (c =
|
|
1444
|
+
const x = (c = S(A)) == null ? void 0 : c.value.format;
|
|
1445
1445
|
typeof x == "function" && (b.fieldValue = x(A == null ? void 0 : A.format));
|
|
1446
1446
|
}
|
|
1447
1447
|
d.push(b);
|
|
@@ -1505,7 +1505,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1505
1505
|
return h;
|
|
1506
1506
|
};
|
|
1507
1507
|
return async function() {
|
|
1508
|
-
var
|
|
1508
|
+
var w, L;
|
|
1509
1509
|
const l = e.type;
|
|
1510
1510
|
let d = e.graphicConfig;
|
|
1511
1511
|
(!d || Object.keys(d).length === 0) && (d = {
|
|
@@ -1527,13 +1527,13 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1527
1527
|
const h = t(d);
|
|
1528
1528
|
let m;
|
|
1529
1529
|
if (Array.isArray(d.series) && d.series.length > 0) {
|
|
1530
|
-
const
|
|
1530
|
+
const k = (w = d.seriesList) == null ? void 0 : w.find((u) => {
|
|
1531
1531
|
const p = d.series[0];
|
|
1532
1532
|
return u.name === p || u.nameBak === p;
|
|
1533
1533
|
});
|
|
1534
|
-
|
|
1535
|
-
label:
|
|
1536
|
-
columnName:
|
|
1534
|
+
k != null && (m = {
|
|
1535
|
+
label: k.name,
|
|
1536
|
+
columnName: k.label
|
|
1537
1537
|
});
|
|
1538
1538
|
}
|
|
1539
1539
|
let f;
|
|
@@ -1542,12 +1542,12 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1542
1542
|
label: c[0],
|
|
1543
1543
|
columnName: c[0]
|
|
1544
1544
|
};
|
|
1545
|
-
const
|
|
1546
|
-
f.columnName =
|
|
1545
|
+
const k = ((L = d.classifyList) == null ? void 0 : L.find((u) => (u == null ? void 0 : u.name) === c[0] || (u == null ? void 0 : u.nameBak) === c[0])) || {};
|
|
1546
|
+
f.columnName = k.label, r(f, d.classifyList), f.conditions = s(f, "classifyList", d) || [];
|
|
1547
1547
|
}
|
|
1548
1548
|
m && (r(m, d.seriesList), m.conditions = s(m, "seriesList", d) || []);
|
|
1549
|
-
for (let
|
|
1550
|
-
h[
|
|
1549
|
+
for (let k = 0; k < h.length; k++)
|
|
1550
|
+
h[k].location === "RIGHT" ? h[k].conditions = s(h[k], "rightAxisList", d) : h[k].conditions = s(h[k], "leftAxisList", d);
|
|
1551
1551
|
let y;
|
|
1552
1552
|
(d == null ? void 0 : d.pageMode) === "design" ? y = d.sqlConditions ?? [] : y = a(d == null ? void 0 : d.relativeList);
|
|
1553
1553
|
let v = "SQL_VIEW", b = "", A = "", x = "";
|
|
@@ -1559,7 +1559,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1559
1559
|
ecanScatter: "scatter"
|
|
1560
1560
|
};
|
|
1561
1561
|
try {
|
|
1562
|
-
const
|
|
1562
|
+
const k = await xe.get(`${ct}/user/anonymous?username=admin`, {
|
|
1563
1563
|
headers: {
|
|
1564
1564
|
systemCode: "F72FC50A3D97372514A6AC33333D28FD",
|
|
1565
1565
|
current_context: "ygt"
|
|
@@ -1579,10 +1579,10 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1579
1579
|
dataSourceId: A,
|
|
1580
1580
|
idxLibMode: x
|
|
1581
1581
|
}, {
|
|
1582
|
-
headers: { Authentication:
|
|
1582
|
+
headers: { Authentication: k.data.data.token }
|
|
1583
1583
|
});
|
|
1584
|
-
} catch (
|
|
1585
|
-
console.error(
|
|
1584
|
+
} catch (k) {
|
|
1585
|
+
console.error(k);
|
|
1586
1586
|
}
|
|
1587
1587
|
};
|
|
1588
1588
|
}, De = (e, n) => {
|
|
@@ -1677,7 +1677,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1677
1677
|
}, b = a(h) || {};
|
|
1678
1678
|
if (In(b.type, "date")) {
|
|
1679
1679
|
const { value: A, format: x } = b || {};
|
|
1680
|
-
v.fieldValue = (d =
|
|
1680
|
+
v.fieldValue = (d = S(A)) == null ? void 0 : d.format(x), v.dateFormat = x;
|
|
1681
1681
|
}
|
|
1682
1682
|
l.push(v);
|
|
1683
1683
|
}
|
|
@@ -1700,7 +1700,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1700
1700
|
controlList: A = [],
|
|
1701
1701
|
dataSourceId: x,
|
|
1702
1702
|
idxLibMode: B,
|
|
1703
|
-
preview:
|
|
1703
|
+
preview: w = !1
|
|
1704
1704
|
} = i || {};
|
|
1705
1705
|
let L;
|
|
1706
1706
|
if (Array.isArray(h) && h.length > 0) {
|
|
@@ -1720,13 +1720,13 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
1722
|
}
|
|
1723
|
-
let
|
|
1723
|
+
let k;
|
|
1724
1724
|
if (Array.isArray(m) && m.length > 0) {
|
|
1725
1725
|
const C = m.length;
|
|
1726
1726
|
for (let _ = 0; _ < C; _++) {
|
|
1727
1727
|
const U = m[_] || {}, { label: H = "", name: F = "", show: $ = !1, sort: z, customGroup: W, conditions: ee } = U;
|
|
1728
1728
|
if ($ || C === 1) {
|
|
1729
|
-
|
|
1729
|
+
k = {
|
|
1730
1730
|
label: H,
|
|
1731
1731
|
columnName: F,
|
|
1732
1732
|
show: $,
|
|
@@ -1765,7 +1765,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1765
1765
|
layer: c,
|
|
1766
1766
|
chartType: g,
|
|
1767
1767
|
classification: L,
|
|
1768
|
-
series:
|
|
1768
|
+
series: k,
|
|
1769
1769
|
indicatorList: p,
|
|
1770
1770
|
queryColumns: u,
|
|
1771
1771
|
pageFlag: !0,
|
|
@@ -1773,7 +1773,7 @@ const xl = (e) => e.replace(/\\n/g, `
|
|
|
1773
1773
|
// fixedDimSql: '',
|
|
1774
1774
|
dataSourceId: x,
|
|
1775
1775
|
idxLibMode: B,
|
|
1776
|
-
preview:
|
|
1776
|
+
preview: w
|
|
1777
1777
|
},
|
|
1778
1778
|
{
|
|
1779
1779
|
headers: {
|
|
@@ -1942,7 +1942,7 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
|
|
|
1942
1942
|
const L = I(0);
|
|
1943
1943
|
Oe(_n, {
|
|
1944
1944
|
requestToken: () => {
|
|
1945
|
-
L.value =
|
|
1945
|
+
L.value = S(L) + 1;
|
|
1946
1946
|
}
|
|
1947
1947
|
});
|
|
1948
1948
|
const u = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), T = ({ requestFn: F = () => {
|
|
@@ -1983,7 +1983,7 @@ const El = /* @__PURE__ */ K(Ll, [["render", Ml], ["__scopeId", "data-v-242d350e
|
|
|
1983
1983
|
W.sort((se, nt) => nt[0] - se[0]);
|
|
1984
1984
|
const ee = W.length;
|
|
1985
1985
|
try {
|
|
1986
|
-
e.pageMode !== "design" &&
|
|
1986
|
+
e.pageMode !== "design" && S(L) > 0 && await C();
|
|
1987
1987
|
for (let se = 0; se < ee; se++) {
|
|
1988
1988
|
const nt = W[se][1];
|
|
1989
1989
|
await O(nt);
|
|
@@ -2066,7 +2066,7 @@ const zl = /* @__PURE__ */ K(Ol, [["render", Dl]]), Nl = oe(zl), Rn = {
|
|
|
2066
2066
|
});
|
|
2067
2067
|
const o = q(() => {
|
|
2068
2068
|
var y;
|
|
2069
|
-
const h =
|
|
2069
|
+
const h = S(t);
|
|
2070
2070
|
let m = e.text;
|
|
2071
2071
|
m = m == null ? void 0 : m.replace(/\n|\\n/g, "<br/>"), m = m == null ? void 0 : m.replace(/\s(?!\{) | (?!\})\s/g, " ");
|
|
2072
2072
|
const f = m.match(/\{(.+?)\}/g);
|
|
@@ -2077,17 +2077,17 @@ const zl = /* @__PURE__ */ K(Ol, [["render", Dl]]), Nl = oe(zl), Rn = {
|
|
|
2077
2077
|
let x = A;
|
|
2078
2078
|
const B = A.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);
|
|
2079
2079
|
for (let L = 0; L < B.length; L++) {
|
|
2080
|
-
const
|
|
2081
|
-
u && (x = A.replace(
|
|
2080
|
+
const k = B[L], u = h[k];
|
|
2081
|
+
u && (x = A.replace(k, u));
|
|
2082
2082
|
}
|
|
2083
2083
|
if (/\(.*\)/g.test(x)) {
|
|
2084
2084
|
const L = ht(x);
|
|
2085
2085
|
L != null && (x = L);
|
|
2086
2086
|
}
|
|
2087
|
-
let
|
|
2088
|
-
if (
|
|
2087
|
+
let w = x;
|
|
2088
|
+
if (w === A && (w = e.variableDefaultValue), w != null) {
|
|
2089
2089
|
const L = e.format;
|
|
2090
|
-
L === "percentage" ? (
|
|
2090
|
+
L === "percentage" ? (w = +w, isNaN(w) ? m = m.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${0}%</span>`) : w >= 0 ? (w = (w * 100).toFixed(2), m = m.replace(b, `<span style="color:#ED6643;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Pl}"/>${w}%</span>`)) : (w = (w * 100).toFixed(2), m = m.replace(b, `<span style="color: #6ACB97;font-size:${e.variableFontSize}"><img style="width: ${e.variableFontSize}" src="${Bl}"/>${Math.abs(+w)}%</span>`))) : e.format === "percent" ? (w = +w, isNaN(w) || (w = (w * 100).toFixed(2), m = m.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}%</span>`))) : e.format === "money" ? (w = +w, isNaN(w) || (w = zt(w), m = m.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`))) : L === "thousands" ? (w = +w, isNaN(w) || (w = Tl(w), m = m.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`))) : m = m.replace(b, `<span style="color:${e.variableColor};font-size:${e.variableFontSize}">${w}</span>`);
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
2093
|
return `<span>${m}</span>`;
|
|
@@ -2095,7 +2095,7 @@ const zl = /* @__PURE__ */ K(Ol, [["render", Dl]]), Nl = oe(zl), Rn = {
|
|
|
2095
2095
|
pageMode: "normal"
|
|
2096
2096
|
}), r = Ae(e), i = I(!1), s = async () => {
|
|
2097
2097
|
var h;
|
|
2098
|
-
if (
|
|
2098
|
+
if (S(a) !== "design")
|
|
2099
2099
|
try {
|
|
2100
2100
|
i.value = !0;
|
|
2101
2101
|
const m = await r();
|
|
@@ -2127,7 +2127,7 @@ const zl = /* @__PURE__ */ K(Ol, [["render", Dl]]), Nl = oe(zl), Rn = {
|
|
|
2127
2127
|
const g = fe(e)("click", () => {
|
|
2128
2128
|
if (!e.linkPage && !e.href)
|
|
2129
2129
|
return;
|
|
2130
|
-
const h = e.linkPage || "", m = Mn(
|
|
2130
|
+
const h = e.linkPage || "", m = Mn(S(a), h), f = e.href;
|
|
2131
2131
|
let y = f || m;
|
|
2132
2132
|
y = de(y);
|
|
2133
2133
|
const v = e.target;
|
|
@@ -2281,7 +2281,7 @@ const Xl = /* @__PURE__ */ K(Ql, [["render", Kl], ["__scopeId", "data-v-47d57d2d
|
|
|
2281
2281
|
pageMode: "normal"
|
|
2282
2282
|
}), l = I(!1), d = async () => {
|
|
2283
2283
|
var f;
|
|
2284
|
-
if (!(e.dataType !== "request" ||
|
|
2284
|
+
if (!(e.dataType !== "request" || S(s) === "design"))
|
|
2285
2285
|
try {
|
|
2286
2286
|
l.value = !0;
|
|
2287
2287
|
const y = await i();
|
|
@@ -2446,22 +2446,22 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-211785ca
|
|
|
2446
2446
|
return parseFloat(f);
|
|
2447
2447
|
}), a = I({});
|
|
2448
2448
|
ne(() => e.data, () => {
|
|
2449
|
-
(e.dataType === "static" ||
|
|
2449
|
+
(e.dataType === "static" || S(n) === "design") && (a.value = e.data);
|
|
2450
2450
|
}, {
|
|
2451
2451
|
immediate: !0,
|
|
2452
2452
|
deep: !0
|
|
2453
2453
|
});
|
|
2454
2454
|
const r = q(() => {
|
|
2455
|
-
const f =
|
|
2455
|
+
const f = S(a), y = +e.variableDefaultValue;
|
|
2456
2456
|
if (f == null)
|
|
2457
2457
|
return isNaN(y) ? 0 : y;
|
|
2458
2458
|
const v = e.text.match(/\{.+\}/g) || [];
|
|
2459
2459
|
let b;
|
|
2460
2460
|
const A = new Set(Object.keys(f));
|
|
2461
2461
|
for (let x = 0; x < v.length; x++) {
|
|
2462
|
-
const B = v[x],
|
|
2463
|
-
if (A.has(
|
|
2464
|
-
b = f[
|
|
2462
|
+
const B = v[x], w = B.slice(1, B.length - 1);
|
|
2463
|
+
if (A.has(w)) {
|
|
2464
|
+
b = f[w];
|
|
2465
2465
|
break;
|
|
2466
2466
|
}
|
|
2467
2467
|
}
|
|
@@ -2470,28 +2470,28 @@ const fi = /* @__PURE__ */ K(ni, [["render", ui], ["__scopeId", "data-v-211785ca
|
|
|
2470
2470
|
var A;
|
|
2471
2471
|
let f = e.text;
|
|
2472
2472
|
if (f === "")
|
|
2473
|
-
return
|
|
2474
|
-
const y = e.variableDefaultValue, v =
|
|
2473
|
+
return S(r);
|
|
2474
|
+
const y = e.variableDefaultValue, v = S(a), b = f.match(/\{.+\}/g) || [];
|
|
2475
2475
|
for (let x = 0; x < b.length; x++) {
|
|
2476
2476
|
const B = b[x];
|
|
2477
|
-
let
|
|
2478
|
-
const L =
|
|
2477
|
+
let w = B.slice(1, B.length - 1);
|
|
2478
|
+
const L = w.match(/.*/g);
|
|
2479
2479
|
for (let u = 0; u < (L == null ? void 0 : L.length); u++) {
|
|
2480
2480
|
const p = (A = L[x]) == null ? void 0 : A.trim();
|
|
2481
|
-
v[p] != null ?
|
|
2481
|
+
v[p] != null ? w = w.replace(p, v[p]) : w = w.replace(p, y);
|
|
2482
2482
|
}
|
|
2483
|
-
let
|
|
2483
|
+
let k = w;
|
|
2484
2484
|
try {
|
|
2485
|
-
/\(.*\)/g.test(
|
|
2485
|
+
/\(.*\)/g.test(w) && (k = ht(w));
|
|
2486
2486
|
} catch (u) {
|
|
2487
2487
|
console.error(u);
|
|
2488
2488
|
}
|
|
2489
|
-
(typeof
|
|
2489
|
+
(typeof k == "number" || !isNaN(+k)) && (k = +k * 100, e.decimalFormat && (k = k.toFixed(2))), f = f.replace(B, k + "");
|
|
2490
2490
|
}
|
|
2491
2491
|
return f;
|
|
2492
2492
|
}), s = Ae(e), l = I(!1), d = async () => {
|
|
2493
2493
|
var f;
|
|
2494
|
-
if (!(e.dataType !== "request" ||
|
|
2494
|
+
if (!(e.dataType !== "request" || S(n) === "design"))
|
|
2495
2495
|
try {
|
|
2496
2496
|
l.value = !0;
|
|
2497
2497
|
const y = await s();
|
|
@@ -2756,16 +2756,16 @@ const _i = /* @__PURE__ */ K(xi, [["render", Ti]]), Li = oe(_i), Vn = {
|
|
|
2756
2756
|
}), r = I(e.data), i = I(e.value || e.data[0]), s = e.dataFieldNames, l = (v, b) => {
|
|
2757
2757
|
const A = s.label, x = s.value;
|
|
2758
2758
|
let B;
|
|
2759
|
-
const
|
|
2760
|
-
return
|
|
2759
|
+
const w = b[A], L = b[x];
|
|
2760
|
+
return w != null ? B = w : L != null && (B = L), (B == null ? void 0 : B.toLowerCase().indexOf(v == null ? void 0 : v.toLowerCase())) >= 0;
|
|
2761
2761
|
}, d = I(!1), c = async () => {
|
|
2762
2762
|
var v, b;
|
|
2763
|
-
if (!(e.dataType !== "request" ||
|
|
2763
|
+
if (!(e.dataType !== "request" || S(a) === "design")) {
|
|
2764
2764
|
d.value = !0;
|
|
2765
2765
|
try {
|
|
2766
2766
|
const A = await o();
|
|
2767
2767
|
r.value = ((b = (v = A == null ? void 0 : A.data) == null ? void 0 : v.data) == null ? void 0 : b.rows) || [];
|
|
2768
|
-
const x =
|
|
2768
|
+
const x = S(r)[0];
|
|
2769
2769
|
e.value === "" && x != null && (i.value = x[s.value]);
|
|
2770
2770
|
} catch (A) {
|
|
2771
2771
|
console.error(A);
|
|
@@ -2883,7 +2883,7 @@ const Fi = /* @__PURE__ */ K(Mi, [["render", Ei], ["__scopeId", "data-v-ef197aff
|
|
|
2883
2883
|
// eslint-disable-next-line no-void
|
|
2884
2884
|
setGlobalModel: (d, c) => {
|
|
2885
2885
|
}
|
|
2886
|
-
}), r = q(() =>
|
|
2886
|
+
}), r = q(() => S(o)[0]), i = q(() => S(o)[1]);
|
|
2887
2887
|
a(e.id, {
|
|
2888
2888
|
type: e.type,
|
|
2889
2889
|
format: e.format,
|
|
@@ -2946,14 +2946,14 @@ const Ni = /* @__PURE__ */ K(Di, [["render", zi], ["__scopeId", "data-v-e4162acb
|
|
|
2946
2946
|
},
|
|
2947
2947
|
setup(e) {
|
|
2948
2948
|
const n = ie(e), o = fe(e)("click", () => {
|
|
2949
|
-
const s =
|
|
2949
|
+
const s = S(r);
|
|
2950
2950
|
s && e.target === "event" && window.parent.postMessage({
|
|
2951
2951
|
type: "openPage",
|
|
2952
2952
|
url: s
|
|
2953
2953
|
}, "*");
|
|
2954
2954
|
}), a = q(() => de(e.text)), r = q(() => de(e.href) || null), i = q(() => {
|
|
2955
2955
|
const s = e.target;
|
|
2956
|
-
if (!(s === "event" ||
|
|
2956
|
+
if (!(s === "event" || S(r) == null))
|
|
2957
2957
|
return {
|
|
2958
2958
|
self: "_self",
|
|
2959
2959
|
blank: "_blank"
|
|
@@ -3037,7 +3037,7 @@ const Ui = /* @__PURE__ */ K(Bi, [["render", Gi]]), qi = oe(Ui), Kn = {
|
|
|
3037
3037
|
pageMode: "normal"
|
|
3038
3038
|
}), s = async () => {
|
|
3039
3039
|
var y, v;
|
|
3040
|
-
if (e.dataType !== "request" ||
|
|
3040
|
+
if (e.dataType !== "request" || S(i) === "design")
|
|
3041
3041
|
return;
|
|
3042
3042
|
const m = await r(), f = ((v = (y = m == null ? void 0 : m.data) == null ? void 0 : y.data) == null ? void 0 : v.rows) || [];
|
|
3043
3043
|
a(f);
|
|
@@ -3181,11 +3181,11 @@ const Yi = Q({
|
|
|
3181
3181
|
const n = ie(e), t = I([]), o = I(!1), a = () => {
|
|
3182
3182
|
o.value = !1;
|
|
3183
3183
|
}, r = q(() => {
|
|
3184
|
-
let { data: L = [] } =
|
|
3184
|
+
let { data: L = [] } = S(t)[0] || {};
|
|
3185
3185
|
if (Array.isArray(e.colors)) {
|
|
3186
|
-
const
|
|
3186
|
+
const k = e.isUseLabelColors, u = e.colors;
|
|
3187
3187
|
L = L.map((p, T) => ({
|
|
3188
|
-
label:
|
|
3188
|
+
label: k ? { color: u[T] } : {},
|
|
3189
3189
|
...p
|
|
3190
3190
|
}));
|
|
3191
3191
|
}
|
|
@@ -3242,8 +3242,8 @@ const Yi = Q({
|
|
|
3242
3242
|
tooltip: {
|
|
3243
3243
|
show: e.tooltipShow,
|
|
3244
3244
|
trigger: e.tooltipTrigger,
|
|
3245
|
-
formatter: (
|
|
3246
|
-
const { marker: u, seriesName: p, name: T, value: O, percent: C, data: _ } =
|
|
3245
|
+
formatter: (k) => {
|
|
3246
|
+
const { marker: u, seriesName: p, name: T, value: O, percent: C, data: _ } = k || {};
|
|
3247
3247
|
return de(
|
|
3248
3248
|
e.tooltipFormatter,
|
|
3249
3249
|
{
|
|
@@ -3322,46 +3322,46 @@ const Yi = Q({
|
|
|
3322
3322
|
},
|
|
3323
3323
|
// @ts-ignore
|
|
3324
3324
|
// eslint-disable-next-line no-void
|
|
3325
|
-
setGlobalModel: (L,
|
|
3325
|
+
setGlobalModel: (L, k) => {
|
|
3326
3326
|
}
|
|
3327
3327
|
}), { pageMode: l } = N(ce, {
|
|
3328
3328
|
pageMode: "normal"
|
|
3329
|
-
}), d = (L = [],
|
|
3330
|
-
const { dataset: u } = Ye(L,
|
|
3329
|
+
}), d = (L = [], k) => {
|
|
3330
|
+
const { dataset: u } = Ye(L, k);
|
|
3331
3331
|
t.value = u;
|
|
3332
|
-
}, c = (L = [],
|
|
3333
|
-
const u = Ye(L,
|
|
3332
|
+
}, c = (L = [], k) => {
|
|
3333
|
+
const u = Ye(L, k);
|
|
3334
3334
|
t.value = u.dataset;
|
|
3335
3335
|
};
|
|
3336
3336
|
ne(() => e.data, (L) => {
|
|
3337
|
-
(e.dataType === "static" ||
|
|
3337
|
+
(e.dataType === "static" || S(l) === "design") && d(L);
|
|
3338
3338
|
}, {
|
|
3339
3339
|
immediate: !0,
|
|
3340
3340
|
deep: !0
|
|
3341
3341
|
});
|
|
3342
3342
|
const g = I(!1), h = Ae(e), m = async () => {
|
|
3343
|
-
var L,
|
|
3344
|
-
if (!(e.dataType !== "request" ||
|
|
3343
|
+
var L, k;
|
|
3344
|
+
if (!(e.dataType !== "request" || S(l) === "design"))
|
|
3345
3345
|
try {
|
|
3346
3346
|
g.value = !0;
|
|
3347
3347
|
const u = await h();
|
|
3348
|
-
d((
|
|
3348
|
+
d((k = (L = u == null ? void 0 : u.data) == null ? void 0 : L.data) == null ? void 0 : k.rows, e.valueTypeDataFieldNames);
|
|
3349
3349
|
} catch (u) {
|
|
3350
3350
|
console.error(u);
|
|
3351
3351
|
} finally {
|
|
3352
3352
|
g.value = !1;
|
|
3353
3353
|
}
|
|
3354
3354
|
}, y = fe(e)("click", (L) => {
|
|
3355
|
-
const
|
|
3356
|
-
s(e.id, { ...
|
|
3355
|
+
const k = i(e.id);
|
|
3356
|
+
s(e.id, { ...k, RECORD: L == null ? void 0 : L.data });
|
|
3357
3357
|
}), v = Nt(e), b = async () => {
|
|
3358
|
-
var L,
|
|
3359
|
-
if (!(e.dataType !== "indicator" ||
|
|
3358
|
+
var L, k, u, p, T, O;
|
|
3359
|
+
if (!(e.dataType !== "indicator" || S(l) === "design"))
|
|
3360
3360
|
try {
|
|
3361
3361
|
g.value = !0;
|
|
3362
3362
|
const C = await v();
|
|
3363
3363
|
let _ = [];
|
|
3364
|
-
if (((u = (
|
|
3364
|
+
if (((u = (k = (L = C == null ? void 0 : C.data) == null ? void 0 : L.data) == null ? void 0 : k.columns) == null ? void 0 : u.length) > 0) {
|
|
3365
3365
|
const U = C.data.data.columns[0], H = C.data.data.columns[1];
|
|
3366
3366
|
_ = (O = (T = (p = C == null ? void 0 : C.data) == null ? void 0 : p.data) == null ? void 0 : T.rows) == null ? void 0 : O.map((F) => ({
|
|
3367
3367
|
name: F[U],
|
|
@@ -3375,25 +3375,25 @@ const Yi = Q({
|
|
|
3375
3375
|
g.value = !1;
|
|
3376
3376
|
}
|
|
3377
3377
|
}, A = () => {
|
|
3378
|
-
|
|
3378
|
+
S(l) !== "design" && (b(), m());
|
|
3379
3379
|
};
|
|
3380
3380
|
he(e, {
|
|
3381
3381
|
resetRecord: () => {
|
|
3382
|
-
const L = e.id,
|
|
3383
|
-
s(L, { ...
|
|
3382
|
+
const L = e.id, k = i(L);
|
|
3383
|
+
s(L, { ...k, RECORD: "" });
|
|
3384
3384
|
},
|
|
3385
3385
|
refreshData: () => {
|
|
3386
3386
|
A();
|
|
3387
3387
|
},
|
|
3388
3388
|
click: y
|
|
3389
3389
|
});
|
|
3390
|
-
const { setRequest:
|
|
3390
|
+
const { setRequest: w } = N(Ce, {
|
|
3391
3391
|
// @ts-ignore
|
|
3392
3392
|
// eslint-disable-next-line no-void
|
|
3393
|
-
setRequest: ({ id: L, sortNum:
|
|
3393
|
+
setRequest: ({ id: L, sortNum: k, requestFn: u }) => {
|
|
3394
3394
|
}
|
|
3395
3395
|
});
|
|
3396
|
-
return
|
|
3396
|
+
return w({
|
|
3397
3397
|
id: e.id,
|
|
3398
3398
|
requestFn: A,
|
|
3399
3399
|
sortNum: e.requestSort
|
|
@@ -3533,7 +3533,7 @@ const tr = Q({
|
|
|
3533
3533
|
const n = ie(e), t = I([]), o = I([]), a = I(!1), r = () => {
|
|
3534
3534
|
a.value = !1;
|
|
3535
3535
|
}, i = q(() => {
|
|
3536
|
-
const
|
|
3536
|
+
const k = e.xAxisLabelFormatter, u = e.yAxisLabelFormatter;
|
|
3537
3537
|
return {
|
|
3538
3538
|
toolbox: {
|
|
3539
3539
|
show: e.toolboxShow,
|
|
@@ -3615,7 +3615,7 @@ const tr = Q({
|
|
|
3615
3615
|
},
|
|
3616
3616
|
xAxis: {
|
|
3617
3617
|
type: "category",
|
|
3618
|
-
data:
|
|
3618
|
+
data: S(o),
|
|
3619
3619
|
minInterval: e.xAxisMinInterval,
|
|
3620
3620
|
splitLine: {
|
|
3621
3621
|
show: e.xAxisSplitLineShow,
|
|
@@ -3630,7 +3630,7 @@ const tr = Q({
|
|
|
3630
3630
|
width: e.xAxisLabelWidth,
|
|
3631
3631
|
overflow: e.xAxisLabelOverflow,
|
|
3632
3632
|
formatter(p) {
|
|
3633
|
-
return De(
|
|
3633
|
+
return De(k, p);
|
|
3634
3634
|
}
|
|
3635
3635
|
},
|
|
3636
3636
|
axisLine: {
|
|
@@ -3670,27 +3670,27 @@ const tr = Q({
|
|
|
3670
3670
|
top: e.legendTop,
|
|
3671
3671
|
left: e.legendLeft
|
|
3672
3672
|
},
|
|
3673
|
-
series:
|
|
3673
|
+
series: S(t)
|
|
3674
3674
|
};
|
|
3675
3675
|
}), { getGlobalModel: s, setGlobalModel: l } = N(ue, {
|
|
3676
3676
|
// @ts-ignore
|
|
3677
3677
|
// eslint-disable-next-line no-void
|
|
3678
|
-
getGlobalModel: (
|
|
3678
|
+
getGlobalModel: (k) => {
|
|
3679
3679
|
},
|
|
3680
3680
|
// @ts-ignore
|
|
3681
3681
|
// eslint-disable-next-line no-void
|
|
3682
|
-
setGlobalModel: (
|
|
3682
|
+
setGlobalModel: (k, u) => {
|
|
3683
3683
|
}
|
|
3684
3684
|
}), { pageMode: d } = N(ce, {
|
|
3685
3685
|
pageMode: "normal"
|
|
3686
|
-
}), c = (
|
|
3686
|
+
}), c = (k = [], u = !1) => {
|
|
3687
3687
|
let p;
|
|
3688
3688
|
if (e.dataFieldConfigType === "key") {
|
|
3689
3689
|
const _ = u ? e.keyTypeDataFieldNames : null;
|
|
3690
|
-
p = $e(
|
|
3690
|
+
p = $e(k, _);
|
|
3691
3691
|
} else if (e.dataFieldConfigType === "value") {
|
|
3692
3692
|
const _ = u ? e.valueTypeDataFieldNames : null;
|
|
3693
|
-
p = Ye(
|
|
3693
|
+
p = Ye(k, _);
|
|
3694
3694
|
}
|
|
3695
3695
|
o.value = p.dimensions;
|
|
3696
3696
|
const T = p.dataset, O = [], C = T.length;
|
|
@@ -3721,8 +3721,8 @@ const tr = Q({
|
|
|
3721
3721
|
}
|
|
3722
3722
|
});
|
|
3723
3723
|
t.value = O;
|
|
3724
|
-
}, g = (
|
|
3725
|
-
const O = $e(
|
|
3724
|
+
}, g = (k = [], u, p = !1) => {
|
|
3725
|
+
const O = $e(k, p ? u : null);
|
|
3726
3726
|
o.value = O.dimensions;
|
|
3727
3727
|
const C = O.dataset, _ = [], U = C.length;
|
|
3728
3728
|
for (let H = 0; H < U; H++)
|
|
@@ -3737,35 +3737,35 @@ const tr = Q({
|
|
|
3737
3737
|
});
|
|
3738
3738
|
t.value = _;
|
|
3739
3739
|
};
|
|
3740
|
-
ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([
|
|
3741
|
-
(e.dataType === "static" ||
|
|
3740
|
+
ne(() => [e.data, e.symbolSize, e.smooth, e.lineStyleWidth, e.areaStyleOpacity], ([k]) => {
|
|
3741
|
+
(e.dataType === "static" || S(d) === "design") && c(k);
|
|
3742
3742
|
}, {
|
|
3743
3743
|
immediate: !0,
|
|
3744
3744
|
deep: !0
|
|
3745
3745
|
});
|
|
3746
3746
|
const h = I(!1), m = Ae(e), f = async () => {
|
|
3747
|
-
var
|
|
3748
|
-
if (!(e.dataType !== "request" ||
|
|
3747
|
+
var k, u;
|
|
3748
|
+
if (!(e.dataType !== "request" || S(d) === "design"))
|
|
3749
3749
|
try {
|
|
3750
3750
|
h.value = !0;
|
|
3751
3751
|
const p = await m();
|
|
3752
|
-
c((u = (
|
|
3752
|
+
c((u = (k = p == null ? void 0 : p.data) == null ? void 0 : k.data) == null ? void 0 : u.rows, !0);
|
|
3753
3753
|
} catch (p) {
|
|
3754
3754
|
console.error(p);
|
|
3755
3755
|
} finally {
|
|
3756
3756
|
h.value = !1;
|
|
3757
3757
|
}
|
|
3758
|
-
}, v = fe(e)("click", (
|
|
3758
|
+
}, v = fe(e)("click", (k) => {
|
|
3759
3759
|
const u = s(e.id);
|
|
3760
|
-
l(e.id, { ...u, RECORD:
|
|
3760
|
+
l(e.id, { ...u, RECORD: k == null ? void 0 : k.data });
|
|
3761
3761
|
}), b = Nt(e), A = async () => {
|
|
3762
|
-
var
|
|
3763
|
-
if (!(e.dataType !== "indicator" ||
|
|
3762
|
+
var k, u, p, T, O;
|
|
3763
|
+
if (!(e.dataType !== "indicator" || S(d) === "design"))
|
|
3764
3764
|
try {
|
|
3765
3765
|
h.value = !0;
|
|
3766
3766
|
const C = await b();
|
|
3767
3767
|
let _;
|
|
3768
|
-
((p = (u = (
|
|
3768
|
+
((p = (u = (k = C == null ? void 0 : C.data) == null ? void 0 : k.data) == null ? void 0 : u.columns) == null ? void 0 : p.length) > 0 && (_ = {
|
|
3769
3769
|
name: C.data.data.columns[0],
|
|
3770
3770
|
types: C.data.data.columns.slice(1).map((U) => ({ label: U, value: U }))
|
|
3771
3771
|
}), g((O = (T = C == null ? void 0 : C.data) == null ? void 0 : T.data) == null ? void 0 : O.rows, _, !0);
|
|
@@ -3775,22 +3775,22 @@ const tr = Q({
|
|
|
3775
3775
|
h.value = !1;
|
|
3776
3776
|
}
|
|
3777
3777
|
}, x = () => {
|
|
3778
|
-
|
|
3778
|
+
S(d) !== "design" && (A(), f());
|
|
3779
3779
|
};
|
|
3780
3780
|
he(e, {
|
|
3781
3781
|
refreshData: () => {
|
|
3782
3782
|
x();
|
|
3783
3783
|
},
|
|
3784
3784
|
resetRecord: () => {
|
|
3785
|
-
const
|
|
3786
|
-
l(
|
|
3785
|
+
const k = e.id, u = s(k);
|
|
3786
|
+
l(k, { ...u, RECORD: "" });
|
|
3787
3787
|
},
|
|
3788
3788
|
click: v
|
|
3789
3789
|
});
|
|
3790
3790
|
const { setRequest: L } = N(Ce, {
|
|
3791
3791
|
// @ts-ignore
|
|
3792
3792
|
// eslint-disable-next-line no-void
|
|
3793
|
-
setRequest: ({ id:
|
|
3793
|
+
setRequest: ({ id: k, sortNum: u, requestFn: p }) => {
|
|
3794
3794
|
}
|
|
3795
3795
|
});
|
|
3796
3796
|
return L({
|
|
@@ -3961,7 +3961,7 @@ const ir = Q({
|
|
|
3961
3961
|
const t = ie(e), o = I([]), a = I(!1), r = () => {
|
|
3962
3962
|
a.value = !1;
|
|
3963
3963
|
}, i = q(() => {
|
|
3964
|
-
const u =
|
|
3964
|
+
const u = S(o), p = u.length, T = [];
|
|
3965
3965
|
for (let O = 0; O < p; O++) {
|
|
3966
3966
|
const C = {
|
|
3967
3967
|
...u[O],
|
|
@@ -4074,7 +4074,7 @@ const ir = Q({
|
|
|
4074
4074
|
},
|
|
4075
4075
|
xAxis: {
|
|
4076
4076
|
type: e.isUseHorizontalAxis ? "value" : "category",
|
|
4077
|
-
data: e.isUseHorizontalAxis ? null :
|
|
4077
|
+
data: e.isUseHorizontalAxis ? null : S(s),
|
|
4078
4078
|
inverse: e.isUseHorizontalAxis ? e.xAxisInverse : e.axisInverse,
|
|
4079
4079
|
minInterval: e.xAxisMinInterval,
|
|
4080
4080
|
splitLine: {
|
|
@@ -4104,7 +4104,7 @@ const ir = Q({
|
|
|
4104
4104
|
},
|
|
4105
4105
|
yAxis: {
|
|
4106
4106
|
type: e.isUseHorizontalAxis ? "category" : "value",
|
|
4107
|
-
data: e.isUseHorizontalAxis ?
|
|
4107
|
+
data: e.isUseHorizontalAxis ? S(s) : null,
|
|
4108
4108
|
inverse: e.isUseHorizontalAxis ? e.axisInverse : e.yAxisInverse,
|
|
4109
4109
|
minInterval: e.yAxisMinInterval,
|
|
4110
4110
|
splitLine: {
|
|
@@ -4128,7 +4128,7 @@ const ir = Q({
|
|
|
4128
4128
|
}
|
|
4129
4129
|
}
|
|
4130
4130
|
},
|
|
4131
|
-
series:
|
|
4131
|
+
series: S(i)
|
|
4132
4132
|
};
|
|
4133
4133
|
}), { pageMode: c } = N(ce, {
|
|
4134
4134
|
pageMode: "normal"
|
|
@@ -4147,7 +4147,7 @@ const ir = Q({
|
|
|
4147
4147
|
o.value = C.dataset, s.value = C.dimensions;
|
|
4148
4148
|
};
|
|
4149
4149
|
ne(() => e.data, (u) => {
|
|
4150
|
-
(e.dataType === "static" ||
|
|
4150
|
+
(e.dataType === "static" || S(c) === "design") && g(u);
|
|
4151
4151
|
}, {
|
|
4152
4152
|
immediate: !0,
|
|
4153
4153
|
deep: !0
|
|
@@ -4182,7 +4182,7 @@ const ir = Q({
|
|
|
4182
4182
|
l.value = !1;
|
|
4183
4183
|
}
|
|
4184
4184
|
}, b = () => {
|
|
4185
|
-
if (
|
|
4185
|
+
if (S(c) !== "design")
|
|
4186
4186
|
switch (e.dataType) {
|
|
4187
4187
|
case "indicator":
|
|
4188
4188
|
v();
|
|
@@ -4204,7 +4204,7 @@ const ir = Q({
|
|
|
4204
4204
|
// eslint-disable-next-line no-void
|
|
4205
4205
|
setGlobalModel: (u, p) => {
|
|
4206
4206
|
}
|
|
4207
|
-
}),
|
|
4207
|
+
}), w = A("click", (u) => {
|
|
4208
4208
|
const p = x(e.id);
|
|
4209
4209
|
B(e.id, { ...p, RECORD: u.data });
|
|
4210
4210
|
}), { setRequest: L } = N(Ce, {
|
|
@@ -4219,7 +4219,7 @@ const ir = Q({
|
|
|
4219
4219
|
sortNum: e.requestSort
|
|
4220
4220
|
}), he(e, {
|
|
4221
4221
|
refreshData: b,
|
|
4222
|
-
click:
|
|
4222
|
+
click: w,
|
|
4223
4223
|
resetRecord: () => {
|
|
4224
4224
|
const u = e.id, p = x(u);
|
|
4225
4225
|
B(u, { ...p, RECORD: "" });
|
|
@@ -4228,7 +4228,7 @@ const ir = Q({
|
|
|
4228
4228
|
option: d,
|
|
4229
4229
|
style: t,
|
|
4230
4230
|
refreshData: b,
|
|
4231
|
-
click:
|
|
4231
|
+
click: w,
|
|
4232
4232
|
loading: l,
|
|
4233
4233
|
visible: a,
|
|
4234
4234
|
hideModal: r
|
|
@@ -4451,12 +4451,12 @@ const ur = Q({
|
|
|
4451
4451
|
trigger: e.tooltipTrigger,
|
|
4452
4452
|
formatter: function(x) {
|
|
4453
4453
|
var p;
|
|
4454
|
-
const { marker: B, seriesName:
|
|
4454
|
+
const { marker: B, seriesName: w } = x, L = ((p = x == null ? void 0 : x.data) == null ? void 0 : p.record) ?? {}, { name: k, value: u } = L;
|
|
4455
4455
|
return de(e.tooltipFormatter, {
|
|
4456
4456
|
marker: B,
|
|
4457
|
-
seriesName:
|
|
4458
|
-
a:
|
|
4459
|
-
b:
|
|
4457
|
+
seriesName: w,
|
|
4458
|
+
a: w,
|
|
4459
|
+
b: k,
|
|
4460
4460
|
c: u,
|
|
4461
4461
|
...L
|
|
4462
4462
|
});
|
|
@@ -4474,7 +4474,7 @@ const ur = Q({
|
|
|
4474
4474
|
},
|
|
4475
4475
|
series: [
|
|
4476
4476
|
{
|
|
4477
|
-
data:
|
|
4477
|
+
data: S(t),
|
|
4478
4478
|
type: "scatter",
|
|
4479
4479
|
symbolSize: e.symbolSize
|
|
4480
4480
|
}
|
|
@@ -4493,17 +4493,17 @@ const ur = Q({
|
|
|
4493
4493
|
pageMode: "normal"
|
|
4494
4494
|
}), d = (b = [], A) => {
|
|
4495
4495
|
const { name: x = "name", value: B = "value" } = A || {};
|
|
4496
|
-
t.value = b.map((
|
|
4496
|
+
t.value = b.map((w) => ({ value: [w[x], w[B]], record: w }));
|
|
4497
4497
|
};
|
|
4498
4498
|
ne(() => e.data, (b) => {
|
|
4499
|
-
(e.dataType === "static" ||
|
|
4499
|
+
(e.dataType === "static" || S(l) === "design") && d(b);
|
|
4500
4500
|
}, {
|
|
4501
4501
|
immediate: !0,
|
|
4502
4502
|
deep: !0
|
|
4503
4503
|
});
|
|
4504
4504
|
const c = I(!1), g = Ae(e), h = async () => {
|
|
4505
4505
|
var b, A;
|
|
4506
|
-
if (!(e.dataType !== "request" ||
|
|
4506
|
+
if (!(e.dataType !== "request" || S(l) === "design")) {
|
|
4507
4507
|
c.value = !0;
|
|
4508
4508
|
try {
|
|
4509
4509
|
const x = await g();
|
|
@@ -4854,7 +4854,7 @@ const Cr = Q({
|
|
|
4854
4854
|
xAxis: {
|
|
4855
4855
|
minInterval: e.xAxisMinInterval,
|
|
4856
4856
|
type: "category",
|
|
4857
|
-
data:
|
|
4857
|
+
data: S(o),
|
|
4858
4858
|
splitLine: {
|
|
4859
4859
|
show: e.xAxisSplitLineShow,
|
|
4860
4860
|
lineStyle: {
|
|
@@ -4873,8 +4873,8 @@ const Cr = Q({
|
|
|
4873
4873
|
show: e.xAxisTickShow
|
|
4874
4874
|
}
|
|
4875
4875
|
},
|
|
4876
|
-
yAxis:
|
|
4877
|
-
series:
|
|
4876
|
+
yAxis: S(c),
|
|
4877
|
+
series: S(t)
|
|
4878
4878
|
})), { pageMode: s } = N(ce, {
|
|
4879
4879
|
pageMode: "normal"
|
|
4880
4880
|
}), l = (u = [], p = !1) => {
|
|
@@ -4926,7 +4926,7 @@ const Cr = Q({
|
|
|
4926
4926
|
t.value = U;
|
|
4927
4927
|
};
|
|
4928
4928
|
ne(() => [e.data, e.seriesTypes, e.symbolSize, e.smooth, e.areaStyleOpacity, e.lineStyleWidth, e.barWidth], ([u]) => {
|
|
4929
|
-
(e.dataType === "static" ||
|
|
4929
|
+
(e.dataType === "static" || S(s) === "design") && l(u);
|
|
4930
4930
|
}, {
|
|
4931
4931
|
immediate: !0,
|
|
4932
4932
|
deep: !0
|
|
@@ -4956,7 +4956,7 @@ const Cr = Q({
|
|
|
4956
4956
|
}));
|
|
4957
4957
|
}), g = I(!1), h = Ae(e), m = async () => {
|
|
4958
4958
|
var u, p;
|
|
4959
|
-
if (!(e.dataType !== "request" ||
|
|
4959
|
+
if (!(e.dataType !== "request" || S(s) === "design"))
|
|
4960
4960
|
try {
|
|
4961
4961
|
g.value = !0;
|
|
4962
4962
|
const T = await h();
|
|
@@ -4968,7 +4968,7 @@ const Cr = Q({
|
|
|
4968
4968
|
}
|
|
4969
4969
|
}, f = Nt(e), y = async () => {
|
|
4970
4970
|
var u, p, T, O, C;
|
|
4971
|
-
if (!(e.dataType !== "indicator" ||
|
|
4971
|
+
if (!(e.dataType !== "indicator" || S(s) === "design"))
|
|
4972
4972
|
try {
|
|
4973
4973
|
g.value = !0;
|
|
4974
4974
|
const _ = await f();
|
|
@@ -4983,7 +4983,7 @@ const Cr = Q({
|
|
|
4983
4983
|
g.value = !1;
|
|
4984
4984
|
}
|
|
4985
4985
|
}, v = () => {
|
|
4986
|
-
|
|
4986
|
+
S(s) !== "design" && (y(), m());
|
|
4987
4987
|
}, b = () => {
|
|
4988
4988
|
v();
|
|
4989
4989
|
}, A = fe(e), { getGlobalModel: x, setGlobalModel: B } = N(ue, {
|
|
@@ -4995,7 +4995,7 @@ const Cr = Q({
|
|
|
4995
4995
|
// eslint-disable-next-line no-void
|
|
4996
4996
|
setGlobalModel: (u, p) => {
|
|
4997
4997
|
}
|
|
4998
|
-
}),
|
|
4998
|
+
}), w = A("click", (u) => {
|
|
4999
4999
|
const p = x(e.id);
|
|
5000
5000
|
B(e.id, { ...p, RECORD: u == null ? void 0 : u.data });
|
|
5001
5001
|
}), { setRequest: L } = N(Ce, {
|
|
@@ -5014,11 +5014,11 @@ const Cr = Q({
|
|
|
5014
5014
|
B(u, { ...p, RECORD: "" });
|
|
5015
5015
|
},
|
|
5016
5016
|
refreshData: b,
|
|
5017
|
-
click:
|
|
5017
|
+
click: w
|
|
5018
5018
|
}), {
|
|
5019
5019
|
style: n,
|
|
5020
5020
|
option: i,
|
|
5021
|
-
click:
|
|
5021
|
+
click: w,
|
|
5022
5022
|
loading: g,
|
|
5023
5023
|
visible: a,
|
|
5024
5024
|
hideModal: r
|
|
@@ -5223,13 +5223,13 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5223
5223
|
const b = () => {
|
|
5224
5224
|
d.value = parseFloat(o) / parseFloat(r);
|
|
5225
5225
|
const z = parseFloat(a) / parseFloat(i), W = document.body.offsetWidth, ee = document.body.offsetHeight;
|
|
5226
|
-
l.value = W *
|
|
5227
|
-
width: `${
|
|
5228
|
-
height: `${
|
|
5226
|
+
l.value = W * S(d), c.value = ee * z, s.value = `${S(d) * 100}%`, g.value = {
|
|
5227
|
+
width: `${S(l)}px`,
|
|
5228
|
+
height: `${S(c)}px`
|
|
5229
5229
|
}, m.value = {
|
|
5230
|
-
...
|
|
5230
|
+
...S(h),
|
|
5231
5231
|
backgroundImage: Re(e.backgroundImage, !0),
|
|
5232
|
-
transform: `scale(${
|
|
5232
|
+
transform: `scale(${S(l) / parseFloat(o)},${S(c) / parseFloat(a)})`
|
|
5233
5233
|
};
|
|
5234
5234
|
}, A = Et(() => {
|
|
5235
5235
|
b();
|
|
@@ -5242,15 +5242,15 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5242
5242
|
});
|
|
5243
5243
|
}, B = () => {
|
|
5244
5244
|
v && (v.disconnect(), v.takeRecords(), v = null);
|
|
5245
|
-
},
|
|
5245
|
+
}, w = I(!1), { touchRequest: L } = N(Ce, {
|
|
5246
5246
|
// @ts-ignore
|
|
5247
5247
|
// eslint-disable-next-line no-void
|
|
5248
5248
|
touchRequest: () => {
|
|
5249
5249
|
}
|
|
5250
|
-
}),
|
|
5251
|
-
|
|
5250
|
+
}), k = () => {
|
|
5251
|
+
w.value = !0;
|
|
5252
5252
|
}, u = () => {
|
|
5253
|
-
|
|
5253
|
+
w.value = !1;
|
|
5254
5254
|
}, p = () => {
|
|
5255
5255
|
u();
|
|
5256
5256
|
}, T = () => {
|
|
@@ -5268,17 +5268,17 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5268
5268
|
const ee = e.componentList;
|
|
5269
5269
|
Array.isArray(ee) && (W = ee.map((se) => se.id), O(z, [...new Set(W)]));
|
|
5270
5270
|
};
|
|
5271
|
-
ne(() =>
|
|
5271
|
+
ne(() => w.value, async (z) => {
|
|
5272
5272
|
z ? (f.value = !1, C(e.id), U(), await ft(() => {
|
|
5273
5273
|
b(), window.addEventListener("resize", A), x(), f.value = !0;
|
|
5274
5274
|
}), L()) : (_(), window.removeEventListener("resize", A), B());
|
|
5275
5275
|
});
|
|
5276
|
-
const H = q(() =>
|
|
5276
|
+
const H = q(() => S(d) >= 1), F = q(() => e.fullModal), $ = q(() => {
|
|
5277
5277
|
let z = "ecan-modal";
|
|
5278
|
-
return
|
|
5278
|
+
return S(H) && (z += " ecan-full-width-modal"), S(F) && (z += " ecan-full-modal"), z;
|
|
5279
5279
|
});
|
|
5280
5280
|
return he(e, {
|
|
5281
|
-
showModal:
|
|
5281
|
+
showModal: k
|
|
5282
5282
|
}), {
|
|
5283
5283
|
modalRef: y,
|
|
5284
5284
|
containStyle: g,
|
|
@@ -5288,8 +5288,8 @@ const jr = /* @__PURE__ */ K(xr, [["render", qr], ["__scopeId", "data-v-1550b11b
|
|
|
5288
5288
|
modalWith: s,
|
|
5289
5289
|
isFullModal: F,
|
|
5290
5290
|
style: h,
|
|
5291
|
-
visible:
|
|
5292
|
-
showModal:
|
|
5291
|
+
visible: w,
|
|
5292
|
+
showModal: k,
|
|
5293
5293
|
onOk: p,
|
|
5294
5294
|
onCancel: T,
|
|
5295
5295
|
isFullWidth: H,
|
|
@@ -5399,14 +5399,14 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-2db14456
|
|
|
5399
5399
|
});
|
|
5400
5400
|
let a = null;
|
|
5401
5401
|
const r = () => {
|
|
5402
|
-
const m = Array.isArray(
|
|
5402
|
+
const m = Array.isArray(S(i)) ? S(i).length - 1 : 0;
|
|
5403
5403
|
e.autoSwitch && m > 0 && (a = setInterval(() => {
|
|
5404
|
-
const f =
|
|
5405
|
-
f <= m ? t.value = f : t.value = 0, s.value =
|
|
5404
|
+
const f = S(t) + 1;
|
|
5405
|
+
f <= m ? t.value = f : t.value = 0, s.value = S(i)[S(t)], g();
|
|
5406
5406
|
}, e.autoSwitchInterval * 1e3));
|
|
5407
5407
|
};
|
|
5408
5408
|
Ne(() => {
|
|
5409
|
-
|
|
5409
|
+
S(o) !== "design" && r();
|
|
5410
5410
|
}), Tt(() => {
|
|
5411
5411
|
clearInterval(a);
|
|
5412
5412
|
});
|
|
@@ -5432,7 +5432,7 @@ const Jr = /* @__PURE__ */ K(Hr, [["render", Zr], ["__scopeId", "data-v-2db14456
|
|
|
5432
5432
|
emitRefreshPage: () => {
|
|
5433
5433
|
}
|
|
5434
5434
|
}), h = d("tabChange", (m, f) => {
|
|
5435
|
-
f !==
|
|
5435
|
+
f !== S(t) && (s.value = m, t.value = f, g());
|
|
5436
5436
|
});
|
|
5437
5437
|
return he(e, {
|
|
5438
5438
|
tabChange: h
|
|
@@ -5510,7 +5510,7 @@ const ts = /* @__PURE__ */ K(Kr, [["render", es], ["__scopeId", "data-v-a2045b93
|
|
|
5510
5510
|
onClick: () => {
|
|
5511
5511
|
if (!e.linkPage && !e.href)
|
|
5512
5512
|
return;
|
|
5513
|
-
const r = e.linkPage || "", i = Mn(
|
|
5513
|
+
const r = e.linkPage || "", i = Mn(S(o), r), s = e.href;
|
|
5514
5514
|
let l = s || i;
|
|
5515
5515
|
l = de(l);
|
|
5516
5516
|
const d = e.target;
|
|
@@ -5555,7 +5555,7 @@ const is = /* @__PURE__ */ K(os, [["render", ls], ["__scopeId", "data-v-ef7a7bee
|
|
|
5555
5555
|
}), o = q(() => {
|
|
5556
5556
|
let a = de(e.link);
|
|
5557
5557
|
if (e.linkType === "erd" && a != null) {
|
|
5558
|
-
let r =
|
|
5558
|
+
let r = S(t);
|
|
5559
5559
|
r[r.length - 1] === "/" ? r += "erdReport" : r += "/erdReport", a = `${Al || r}?_t=0&uid=${a}`;
|
|
5560
5560
|
}
|
|
5561
5561
|
return a;
|
|
@@ -5680,7 +5680,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5680
5680
|
default:
|
|
5681
5681
|
return 55;
|
|
5682
5682
|
}
|
|
5683
|
-
}), a = q(() => e.scrollX), r = q(() => parseFloat(e.height) -
|
|
5683
|
+
}), a = q(() => e.scrollX), r = q(() => parseFloat(e.height) - S(o)), i = I([]), s = I([]), l = I([]), d = I([]), c = I(0), g = I(1), h = q(() => e.paginationPageSize), m = Do([]), f = (M = []) => {
|
|
5684
5684
|
if (Array.isArray(M) && M.length > 0) {
|
|
5685
5685
|
const D = M.length, V = e.columnsFixedNum;
|
|
5686
5686
|
for (let J = 0; J < D; J++) {
|
|
@@ -5713,7 +5713,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5713
5713
|
borderBottomColor: e.borderColor
|
|
5714
5714
|
},
|
|
5715
5715
|
class: {
|
|
5716
|
-
highlight:
|
|
5716
|
+
highlight: S(W) === yt && e.clickHighlight
|
|
5717
5717
|
},
|
|
5718
5718
|
onClick: C("click", () => {
|
|
5719
5719
|
const $t = e.id, Io = U($t);
|
|
@@ -5778,12 +5778,14 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5778
5778
|
}
|
|
5779
5779
|
};
|
|
5780
5780
|
ne(() => [e.isReverse, i.value, s.value], () => {
|
|
5781
|
-
const M =
|
|
5781
|
+
const M = S(i), D = S(s);
|
|
5782
5782
|
if (b(D), e.isReverse) {
|
|
5783
5783
|
const { columns: V, dataSource: J } = A(vt(M), vt(D));
|
|
5784
5784
|
l.value = V, d.value = J;
|
|
5785
5785
|
} else
|
|
5786
5786
|
l.value = M, d.value = D;
|
|
5787
|
+
}, {
|
|
5788
|
+
immediate: !0
|
|
5787
5789
|
});
|
|
5788
5790
|
const A = (M, D) => {
|
|
5789
5791
|
const V = M[0], J = [{
|
|
@@ -5814,25 +5816,25 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5814
5816
|
columns: J,
|
|
5815
5817
|
dataSource: P
|
|
5816
5818
|
};
|
|
5817
|
-
}, x = I(""), B = Ae(e),
|
|
5819
|
+
}, x = I(""), B = Ae(e), w = I(!1), L = async (M = !0) => {
|
|
5818
5820
|
var D;
|
|
5819
5821
|
try {
|
|
5820
|
-
M && (
|
|
5822
|
+
M && (w.value = !0);
|
|
5821
5823
|
let V = {};
|
|
5822
|
-
|
|
5823
|
-
pageNum:
|
|
5824
|
-
pageSize:
|
|
5824
|
+
S(x) && (V.orderCondition = S(x)), e.paginationShow && (V = {
|
|
5825
|
+
pageNum: S(g),
|
|
5826
|
+
pageSize: S(h),
|
|
5825
5827
|
layer: "1",
|
|
5826
5828
|
...V
|
|
5827
5829
|
});
|
|
5828
5830
|
const J = await B(V), { rows: P = [], total: te = 0 } = ((D = J == null ? void 0 : J.data) == null ? void 0 : D.data) || {};
|
|
5829
|
-
c.value = te, Array.isArray(P) && (s.value = P);
|
|
5831
|
+
c.value = te, Array.isArray(P) && (s.value = S(s).concat(P));
|
|
5830
5832
|
} catch (V) {
|
|
5831
5833
|
console.error(V);
|
|
5832
5834
|
} finally {
|
|
5833
|
-
|
|
5835
|
+
w.value = !1;
|
|
5834
5836
|
}
|
|
5835
|
-
},
|
|
5837
|
+
}, k = ({ current: M }, D, V) => {
|
|
5836
5838
|
if (g.value = M, V && Object.keys(V).length > 0) {
|
|
5837
5839
|
const { field: J, order: P } = V, le = {
|
|
5838
5840
|
ascend: "asc",
|
|
@@ -5846,9 +5848,9 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5846
5848
|
return e.paginationShow && {
|
|
5847
5849
|
simple: M,
|
|
5848
5850
|
position: D,
|
|
5849
|
-
total:
|
|
5850
|
-
current:
|
|
5851
|
-
pageSize:
|
|
5851
|
+
total: S(c),
|
|
5852
|
+
current: S(g),
|
|
5853
|
+
pageSize: S(h),
|
|
5852
5854
|
showSizeChanger: !1
|
|
5853
5855
|
};
|
|
5854
5856
|
}), p = (M) => +M == 1 ? "是" : +M == 0 ? "否" : M, T = (M, D) => D == null || D === "" ? M : {
|
|
@@ -5883,13 +5885,13 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5883
5885
|
}, $ = En(e), z = async () => {
|
|
5884
5886
|
var M, D, V, J;
|
|
5885
5887
|
try {
|
|
5886
|
-
|
|
5888
|
+
w.value = !0;
|
|
5887
5889
|
const P = await $();
|
|
5888
5890
|
F((D = (M = P == null ? void 0 : P.data) == null ? void 0 : M.data) == null ? void 0 : D.columns, (J = (V = P == null ? void 0 : P.data) == null ? void 0 : V.data) == null ? void 0 : J.rows);
|
|
5889
5891
|
} catch (P) {
|
|
5890
5892
|
console.error(P);
|
|
5891
5893
|
} finally {
|
|
5892
|
-
|
|
5894
|
+
w.value = !1;
|
|
5893
5895
|
}
|
|
5894
5896
|
}, W = I(-1), ee = (M, D) => ({
|
|
5895
5897
|
onClick: C("rowClick", () => {
|
|
@@ -5897,7 +5899,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5897
5899
|
H(V, { ...J, RECORD: M }), W.value = D;
|
|
5898
5900
|
})
|
|
5899
5901
|
}), se = (M = !0) => {
|
|
5900
|
-
if (
|
|
5902
|
+
if (S(_) !== "design")
|
|
5901
5903
|
switch (e.dataType) {
|
|
5902
5904
|
case "request":
|
|
5903
5905
|
L(M);
|
|
@@ -5915,7 +5917,7 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5915
5917
|
refreshData: se
|
|
5916
5918
|
});
|
|
5917
5919
|
const _o = q(() => {
|
|
5918
|
-
const M =
|
|
5920
|
+
const M = S(l), D = [];
|
|
5919
5921
|
let V = 0;
|
|
5920
5922
|
for (let P = 0; P < M.length; P++) {
|
|
5921
5923
|
const te = M[P], { isCalcTotal: le } = te;
|
|
@@ -5932,11 +5934,12 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5932
5934
|
}
|
|
5933
5935
|
if (V === 0)
|
|
5934
5936
|
return [];
|
|
5935
|
-
let J =
|
|
5936
|
-
if (e.paginationShow) {
|
|
5937
|
-
const P = (
|
|
5938
|
-
J =
|
|
5937
|
+
let J = [];
|
|
5938
|
+
if (console.log("---", S(d)), console.log("paginationShow", e.paginationShow), e.paginationShow) {
|
|
5939
|
+
const P = (S(g) - 1) * S(h), te = P + S(h);
|
|
5940
|
+
J = S(d).slice(P, te);
|
|
5939
5941
|
}
|
|
5942
|
+
console.log("records", J);
|
|
5940
5943
|
for (let P = 0; P < D.length; P++) {
|
|
5941
5944
|
const te = D[P];
|
|
5942
5945
|
let le = 0;
|
|
@@ -5970,9 +5973,9 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5970
5973
|
pagination: u,
|
|
5971
5974
|
formatFn: T,
|
|
5972
5975
|
contrastClass: O,
|
|
5973
|
-
tableChange:
|
|
5976
|
+
tableChange: k,
|
|
5974
5977
|
summaryList: _o,
|
|
5975
|
-
loading:
|
|
5978
|
+
loading: w,
|
|
5976
5979
|
onTouchHrefEvent: (M, D = "") => {
|
|
5977
5980
|
M === "event" && window.parent.postMessage({
|
|
5978
5981
|
type: "openPage",
|
|
@@ -5993,8 +5996,8 @@ const us = /* @__PURE__ */ K(ss, [["render", ds], ["__scopeId", "data-v-19bc100c
|
|
|
5993
5996
|
useFilterOptions: (M) => {
|
|
5994
5997
|
const D = M.dataIndex;
|
|
5995
5998
|
if (typeof D == "string") {
|
|
5996
|
-
let V =
|
|
5997
|
-
const J =
|
|
5999
|
+
let V = S(v)[D];
|
|
6000
|
+
const J = S(M.filterOptionsInputValue).trim();
|
|
5998
6001
|
return Array.isArray(V) ? (V = V.filter((P) => typeof P.label == "string" ? P.label.toLowerCase().includes(J.toLowerCase()) : !0), V) : [];
|
|
5999
6002
|
}
|
|
6000
6003
|
return [];
|
|
@@ -6149,7 +6152,7 @@ function Cs(e, n, t, o, a, r) {
|
|
|
6149
6152
|
}, 8, ["loading"])
|
|
6150
6153
|
], 4);
|
|
6151
6154
|
}
|
|
6152
|
-
const Ss = /* @__PURE__ */ K(gs, [["render", Cs], ["__scopeId", "data-v-
|
|
6155
|
+
const Ss = /* @__PURE__ */ K(gs, [["render", Cs], ["__scopeId", "data-v-f1e6390f"]]), ws = oe(Ss), xo = {
|
|
6153
6156
|
...re,
|
|
6154
6157
|
mapJson: null,
|
|
6155
6158
|
data: [],
|
|
@@ -6209,7 +6212,7 @@ const ks = Q({
|
|
|
6209
6212
|
},
|
|
6210
6213
|
setup(e) {
|
|
6211
6214
|
const n = ie(e, ["backgroundImage"]), t = I(), o = q(() => Re(e.geoBackgroundImage)), a = q(() => Re(e.backgroundImage)), r = q(() => e.geoBackgroundImage ? {
|
|
6212
|
-
image:
|
|
6215
|
+
image: S(t),
|
|
6213
6216
|
repeat: e.geoBackgroundImageRepeat
|
|
6214
6217
|
} : e.geoItemStyleAreaColor), i = q(() => {
|
|
6215
6218
|
const c = e.symbolImage;
|
|
@@ -6229,7 +6232,7 @@ const ks = Q({
|
|
|
6229
6232
|
style: {
|
|
6230
6233
|
width: parseFloat(e.width),
|
|
6231
6234
|
height: parseFloat(e.height),
|
|
6232
|
-
image:
|
|
6235
|
+
image: S(a)
|
|
6233
6236
|
},
|
|
6234
6237
|
top: "center"
|
|
6235
6238
|
}
|
|
@@ -6250,7 +6253,7 @@ const ks = Q({
|
|
|
6250
6253
|
},
|
|
6251
6254
|
itemStyle: {
|
|
6252
6255
|
// 地图上板块属性
|
|
6253
|
-
areaColor:
|
|
6256
|
+
areaColor: S(r),
|
|
6254
6257
|
borderColor: e.geoItemStyleBorderColor,
|
|
6255
6258
|
borderWidth: e.geoItemStyleBorderWidth,
|
|
6256
6259
|
shadowColor: e.geoItemStyleShadowColor,
|
|
@@ -6277,7 +6280,7 @@ const ks = Q({
|
|
|
6277
6280
|
itemStyle: {
|
|
6278
6281
|
color: e.itemStyleColor
|
|
6279
6282
|
},
|
|
6280
|
-
symbol:
|
|
6283
|
+
symbol: S(i),
|
|
6281
6284
|
symbolSize: [e.symbolWidth, e.symbolHeight],
|
|
6282
6285
|
label: {
|
|
6283
6286
|
show: e.labelShow,
|