ss-component-new 1.3.671 → 1.3.672
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/{array-mmG5VIkM.js → array-Bsl4Ekqe.js} +2 -2
- package/dist/{index-IQyY0EJS.js → index-3N7-MdoV.js} +3 -3
- package/dist/{index-CNdob9PP.js → index-BK2F9cva.js} +508 -502
- package/dist/{index-B17Qpwxc.js → index-C-652VpZ.js} +2 -2
- package/dist/{index-D1K6alfM.js → index-CKXb3rf-.js} +1 -1
- package/dist/{index-BpxvrscM.js → index-CgiTqLKS.js} +1 -1
- package/dist/{index-BS_IATA8.js → index-D8qd2JDs.js} +1 -1
- package/dist/{index-BVJGgvs3.js → index-DVgq2e9r.js} +1 -1
- package/dist/{index-DFXV8TUF.js → index-H02DArw0.js} +1 -1
- package/dist/{index-BzRfRyGJ.js → index-ODlhdFDZ.js} +2 -2
- package/dist/{index-D0y4uLWn.js → index-ev6V6ehv.js} +2192 -2183
- package/dist/{index-BZjm_Pjz.js → index-l9LkwAZ-.js} +2 -2
- package/dist/{index-7-gYs0VB.js → index-n6R1KxU8.js} +1 -1
- package/dist/{main-DJkki53_.js → main-B1aFbVts.js} +2 -2
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-C9-MBFHf.js → threeModel-BtLIi9fq.js} +1 -1
- package/dist/{threeSceneView-mTplTuas.js → threeSceneView-LKb5QbXk.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-OveNWVvF.js → threeSceneViewForCPMPIP-4UkjTaOo.js} +1 -1
- package/dist/{threeViewerHost-B5Gvg1vE.js → threeViewerHost-DOk0vGUb.js} +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as Vl, defineComponent as zl, defineProps as ko, ref as T, watch as Ml, onMounted as ha, onUnmounted as Rt, resolveComponent as ne, openBlock as f, createBlock as ge, withCtx as r, createElementVNode as O, toDisplayString as il, createElementBlock as X, Fragment as rl, createVNode as n, renderList as bl, withModifiers as Jl, normalizeStyle as Yl, createTextVNode as gl, createCommentVNode as De, unref as s, resolveDynamicComponent as ya, provide as It, shallowRef as vr, nextTick as fa, onBeforeUnmount as gr, resolveDirective as Pt, withDirectives as wa, vShow as $a, renderSlot as ba, normalizeClass as ql, mergeProps as ja, createSlots as Gt, defineAsyncComponent as en, reactive as ta, withKeys as yr } from "vue";
|
|
2
|
-
import { m as Ao, a as mo, b as Mo, c as br } from "./array-
|
|
2
|
+
import { m as Ao, a as mo, b as Mo, c as br } from "./array-Bsl4Ekqe.js";
|
|
3
3
|
import { u as na, p as Bl, s as Tl, c as Ll, a as Ta, b as ma, j as lo, k as Cr, m as wr, n as kr, o as yt, d as Xt, l as Ar, q as ot, e as ht, r as mr, g as Mr, E as st, t as uo, w as Tt, v as Et, x as kn, y as _r, z as An, i as Sr, A as Zt, B as Ha, C as ln, D as Ir, F as mn, G as Tr, H as Er, I as Mn, J as an, K as Dr, L as Br } from "./index-DT2KzAmL.js";
|
|
4
|
-
import { _ as Vt, s as _o, a as xr } from "./index-
|
|
4
|
+
import { _ as Vt, s as _o, a as xr } from "./index-3N7-MdoV.js";
|
|
5
5
|
import { useRouter as bt } from "vue-router";
|
|
6
6
|
import { a as Lt, d as So, e as Ot, f as Nt, g as Ut, h as jt, t as Rr, c as Pr, b as Vr } from "./index-ChNfRlIP.js";
|
|
7
|
-
import { g as gt, s as Lr, a as _n, b as Or, c as tn, _ as po, u as Nr, d as Sn, X as Ur, Q as jr } from "./index-
|
|
7
|
+
import { g as gt, s as Lr, a as _n, b as Or, c as tn, _ as po, u as Nr, d as Sn, X as Ur, Q as jr } from "./index-n6R1KxU8.js";
|
|
8
8
|
import { u as In, g as on, b as sn, c as Qr, a as Kr } from "./index-YVR3acYT.js";
|
|
9
9
|
import { E as Ql, i as Hr, d as Tn, b as Ka, e as it, g as ut, I as Wr, s as Ea, h as En, a as Dn, c as Bn, j as qr, k as Fr, p as xn, m as Yr, l as Jr, n as zr, f as Gr } from "./request-DiogHwkN.js";
|
|
10
10
|
import { b as Xr, g as Rn, c as Zr, u as Io, d as Pa, e as xt, o as Pn, l as $r, n as ec, f as lc, h as et, s as Jt, t as ac, i as tc } from "./index-b-1Cc3pU.js";
|
|
11
11
|
import { d as oc, g as Dt, a as sc } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js";
|
|
12
|
-
import { t as nc, a as Vn, b as Qa, u as Ln, c as qt, s as Ra, r as Ca, o as Na, d as Ua, e as On, f as fo, h as Nn, i as To, j as rc, k as cc, l as mt, m as ao, n as Mt, p as Ya, q as dt, v as pt, w as Ja, x as ic, y as za, z as Ga, A as uc, B as Xa, C as Za, D as nn, E as rn, F as cn, G as Ft, H as Xl, I as dc, J as pc, K as to, L as fc, M as hc, N as vc, O as gc, g as Un, P as yc, Q as un, R as bc, S as Cc } from "./index-
|
|
12
|
+
import { t as nc, a as Vn, b as Qa, u as Ln, c as qt, s as Ra, r as Ca, o as Na, d as Ua, e as On, f as fo, h as Nn, i as To, j as rc, k as cc, l as mt, m as ao, n as Mt, p as Ya, q as dt, v as pt, w as Ja, x as ic, y as za, z as Ga, A as uc, B as Xa, C as Za, D as nn, E as rn, F as cn, G as Ft, H as Xl, I as dc, J as pc, K as to, L as fc, M as hc, N as vc, O as gc, g as Un, P as yc, Q as un, R as bc, S as Cc } from "./index-ev6V6ehv.js";
|
|
13
13
|
import "./index-D_zqmWYW.js";
|
|
14
14
|
import "./index-Bvvz41NY.js";
|
|
15
15
|
import { c as Eo, f as pa, b as jn, a as wc, g as kc, d as dn } from "./menuIndex-B7ZUahFp.js";
|
|
@@ -17,10 +17,10 @@ import { _ as va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
17
17
|
import { s as Sa } from "./index-DJrzqi4-.js";
|
|
18
18
|
import { C as Ac } from "./index-CeVSdtF3.js";
|
|
19
19
|
import { S as Fl } from "./index-dD-mKgue.js";
|
|
20
|
-
import mc from "./threeModel-
|
|
20
|
+
import mc from "./threeModel-BtLIi9fq.js";
|
|
21
21
|
import { _ as Va } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
22
|
-
import { T as ho, u as Mc, a as _c } from "./threeViewerHost-
|
|
23
|
-
import { s as vo } from "./index-
|
|
22
|
+
import { T as ho, u as Mc, a as _c } from "./threeViewerHost-DOk0vGUb.js";
|
|
23
|
+
import { s as vo } from "./index-H02DArw0.js";
|
|
24
24
|
import { u as Sc } from "./index-BpGFvMaU.js";
|
|
25
25
|
import { u as Ic } from "./index-Bd9AU0ks.js";
|
|
26
26
|
import { u as Qn } from "./index-GqaokPsw.js";
|
|
@@ -161,7 +161,7 @@ function Vc(e = "menu") {
|
|
|
161
161
|
// activeMenuPath,
|
|
162
162
|
linkMenuInfo: i,
|
|
163
163
|
updateMenuStatus: J
|
|
164
|
-
} = Tl(v), K = ma(), { structureData:
|
|
164
|
+
} = Tl(v), K = ma(), { structureData: ee } = Tl(K), C = T([]), g = T([]), u = Vl(() => h == null ? void 0 : h.mode), Se = T({}), Ce = (a) => a == null ? void 0 : a.map((y) => y.children && y.children.length > 0 ? {
|
|
165
165
|
...y,
|
|
166
166
|
// 水平菜单仅显示一层
|
|
167
167
|
children: y.level === 0 ? [] : y.children ?? [],
|
|
@@ -169,10 +169,10 @@ function Vc(e = "menu") {
|
|
|
169
169
|
} : y), Q = (a, y) => {
|
|
170
170
|
var w, D;
|
|
171
171
|
return (D = (w = g.value) == null ? void 0 : w.find((G) => (a.title + y).includes(G.value))) == null ? void 0 : D.value;
|
|
172
|
-
},
|
|
172
|
+
}, pe = (a, y = "", w = 0) => {
|
|
173
173
|
var H;
|
|
174
174
|
let D = Ll(a);
|
|
175
|
-
const G = Array.from(/* @__PURE__ */ new Set([...(H =
|
|
175
|
+
const G = Array.from(/* @__PURE__ */ new Set([...(H = ee.value) == null ? void 0 : H.map((d) => {
|
|
176
176
|
var S;
|
|
177
177
|
return (S = d == null ? void 0 : d.key) == null ? void 0 : S.pageKey;
|
|
178
178
|
})]));
|
|
@@ -196,7 +196,7 @@ function Vc(e = "menu") {
|
|
|
196
196
|
children: [],
|
|
197
197
|
childMenus: []
|
|
198
198
|
};
|
|
199
|
-
return d.children && d.children.length > 0 && (te.children =
|
|
199
|
+
return d.children && d.children.length > 0 && (te.children = pe(d.children, S, w + 1)), te;
|
|
200
200
|
});
|
|
201
201
|
}, re = T(null), se = Vl(() => {
|
|
202
202
|
let a = Ll(C.value);
|
|
@@ -304,7 +304,7 @@ function Vc(e = "menu") {
|
|
|
304
304
|
if (g.value = gt(), a) {
|
|
305
305
|
J.value && (v.setActiveTopMenuPath(""), v.setActiveMenuPath(""), v.setAsideMenus([]));
|
|
306
306
|
const y = a;
|
|
307
|
-
C.value =
|
|
307
|
+
C.value = pe(Eo(y));
|
|
308
308
|
}
|
|
309
309
|
},
|
|
310
310
|
{
|
|
@@ -336,7 +336,7 @@ function Vc(e = "menu") {
|
|
|
336
336
|
};
|
|
337
337
|
}), qe = async (a) => {
|
|
338
338
|
var w, D, G, ye, H, d;
|
|
339
|
-
const y = (w =
|
|
339
|
+
const y = (w = ee.value) == null ? void 0 : w.find((S) => {
|
|
340
340
|
var z;
|
|
341
341
|
return ((z = S == null ? void 0 : S.key) == null ? void 0 : z.pageKey) === "menu";
|
|
342
342
|
});
|
|
@@ -440,13 +440,13 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
440
440
|
label: "删除"
|
|
441
441
|
}]), L = T(720), V = T(""), x = T(!1), ie = T();
|
|
442
442
|
ha(async () => {
|
|
443
|
-
var J, K,
|
|
443
|
+
var J, K, ee, C;
|
|
444
444
|
v.value = (K = (J = h.value) == null ? void 0 : J.map((g) => g == null ? void 0 : g.label)) == null ? void 0 : K.filter((g) => g !== "id");
|
|
445
445
|
let i = await lo();
|
|
446
|
-
c.value = ((C = (
|
|
446
|
+
c.value = ((C = (ee = i == null ? void 0 : i.data) == null ? void 0 : ee.result) == null ? void 0 : C.sort((g, u) => parseInt(g == null ? void 0 : g.id) - parseInt(u == null ? void 0 : u.id))) ?? [];
|
|
447
447
|
});
|
|
448
448
|
const l = async (i, J, K) => {
|
|
449
|
-
var
|
|
449
|
+
var ee, C;
|
|
450
450
|
if (i === "新增")
|
|
451
451
|
V.value = "新增", B(""), x.value = !0;
|
|
452
452
|
else if (i === "修改")
|
|
@@ -456,14 +456,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
456
456
|
id: parseInt(J == null ? void 0 : J.id)
|
|
457
457
|
});
|
|
458
458
|
let g = await lo();
|
|
459
|
-
c.value = ((C = (
|
|
459
|
+
c.value = ((C = (ee = g == null ? void 0 : g.data) == null ? void 0 : ee.result) == null ? void 0 : C.sort((u, Se) => parseInt(u == null ? void 0 : u.id) - parseInt(Se == null ? void 0 : Se.id))) ?? [];
|
|
460
460
|
}
|
|
461
461
|
}, M = (i) => {
|
|
462
462
|
_.value = i;
|
|
463
463
|
}, B = (i) => {
|
|
464
|
-
var K,
|
|
464
|
+
var K, ee;
|
|
465
465
|
const J = [];
|
|
466
|
-
(
|
|
466
|
+
(ee = (K = Ll(h.value)) == null ? void 0 : K.filter((C) => (C == null ? void 0 : C.label) !== "操作")) == null || ee.forEach((C) => {
|
|
467
467
|
J.push({
|
|
468
468
|
label: C == null ? void 0 : C.label,
|
|
469
469
|
prop: C == null ? void 0 : C.prop,
|
|
@@ -475,7 +475,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
475
475
|
});
|
|
476
476
|
}), ie.value = J;
|
|
477
477
|
}, N = async () => {
|
|
478
|
-
var J, K,
|
|
478
|
+
var J, K, ee, C, g, u, Se, Ce;
|
|
479
479
|
x.value = !1, V.value === "新增" ? await wr({
|
|
480
480
|
data: [{
|
|
481
481
|
methodName: (J = _.value) == null ? void 0 : J.methodname,
|
|
@@ -483,16 +483,16 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
483
483
|
}]
|
|
484
484
|
}) : V.value === "修改" && await kr({
|
|
485
485
|
data: [{
|
|
486
|
-
id: parseInt((
|
|
486
|
+
id: parseInt((ee = _.value) == null ? void 0 : ee.id),
|
|
487
487
|
methodName: (C = _.value) == null ? void 0 : C.methodname,
|
|
488
488
|
methodPath: (u = (g = _.value) == null ? void 0 : g.methodpath) == null ? void 0 : u[0]
|
|
489
489
|
}]
|
|
490
490
|
});
|
|
491
491
|
let i = await lo();
|
|
492
|
-
c.value = ((Ce = (Se = i == null ? void 0 : i.data) == null ? void 0 : Se.result) == null ? void 0 : Ce.sort((Q,
|
|
492
|
+
c.value = ((Ce = (Se = i == null ? void 0 : i.data) == null ? void 0 : Se.result) == null ? void 0 : Ce.sort((Q, pe) => parseInt(Q == null ? void 0 : Q.id) - parseInt(pe == null ? void 0 : pe.id))) ?? [];
|
|
493
493
|
};
|
|
494
494
|
return (i, J) => {
|
|
495
|
-
const K = ne("svg-icon"),
|
|
495
|
+
const K = ne("svg-icon"), ee = ne("el-popover"), C = ne("el-button");
|
|
496
496
|
return f(), X(rl, null, [
|
|
497
497
|
n(Lr, {
|
|
498
498
|
columns: h.value,
|
|
@@ -515,7 +515,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
515
515
|
];
|
|
516
516
|
}),
|
|
517
517
|
actions: r(({ item: g, fIndex: u }) => [
|
|
518
|
-
n(
|
|
518
|
+
n(ee, {
|
|
519
519
|
title: "",
|
|
520
520
|
placement: "left-start",
|
|
521
521
|
"popper-class": "menu-operate-popover"
|
|
@@ -624,19 +624,19 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
624
624
|
let B = tn(v.value);
|
|
625
625
|
B = B == null ? void 0 : B.filter((N) => (N != null && N.parentContent ? (N == null ? void 0 : N.parentContent) === (M == null ? void 0 : M.parentContent) : (N == null ? void 0 : N.relatedContent) === (M == null ? void 0 : M.relatedContent)) && (N == null ? void 0 : N.condition) === "child"), c.setChooseTitle(B);
|
|
626
626
|
}, l = async (M) => {
|
|
627
|
-
var
|
|
627
|
+
var ee, C, g, u, Se, Ce, Q;
|
|
628
628
|
U.value = !0;
|
|
629
|
-
let B = await Vn(M != null && M.parentContent ? M == null ? void 0 : M.parentContent : M == null ? void 0 : M.relatedContent, !1), N = (C = (
|
|
630
|
-
Array.isArray(i == null ? void 0 : i[0]) && (i = Rn(i == null ? void 0 : i[0])), i = ((u = i == null ? void 0 : i.find((
|
|
631
|
-
let J = (Q = (Ce = N == null ? void 0 : N.find((
|
|
632
|
-
label:
|
|
633
|
-
value:
|
|
629
|
+
let B = await Vn(M != null && M.parentContent ? M == null ? void 0 : M.parentContent : M == null ? void 0 : M.relatedContent, !1), N = (C = (ee = B == null ? void 0 : B.filter((pe) => (pe == null ? void 0 : pe.comp) === "Table")) == null ? void 0 : ee[0]) == null ? void 0 : C.compData, i = (g = N == null ? void 0 : N.find((pe) => (pe == null ? void 0 : pe.key) === "header")) == null ? void 0 : g.contents;
|
|
630
|
+
Array.isArray(i == null ? void 0 : i[0]) && (i = Rn(i == null ? void 0 : i[0])), i = ((u = i == null ? void 0 : i.find((pe) => pe == null ? void 0 : pe.isMainKey)) == null ? void 0 : u.prop) ?? ((Se = i == null ? void 0 : i[0]) == null ? void 0 : Se.prop);
|
|
631
|
+
let J = (Q = (Ce = N == null ? void 0 : N.find((pe) => (pe == null ? void 0 : pe.key) === "tableContents")) == null ? void 0 : Ce.contents) == null ? void 0 : Q.map((pe) => ({
|
|
632
|
+
label: pe == null ? void 0 : pe[i],
|
|
633
|
+
value: pe == null ? void 0 : pe[i]
|
|
634
634
|
})), K = tn(v.value);
|
|
635
|
-
K = K == null ? void 0 : K.map((
|
|
635
|
+
K = K == null ? void 0 : K.map((pe) => ((pe != null && pe.parentContent ? (pe == null ? void 0 : pe.parentContent) === (M == null ? void 0 : M.parentContent) : (pe == null ? void 0 : pe.relatedContent) === (M == null ? void 0 : M.relatedContent)) && (pe.options = J), pe)), c.setSelectTitle(K), U.value = !1;
|
|
636
636
|
};
|
|
637
637
|
return (M, B) => (f(), X("div", qc, [
|
|
638
638
|
(f(!0), X(rl, null, bl(E.value, (N, i) => {
|
|
639
|
-
var J, K,
|
|
639
|
+
var J, K, ee, C, g, u, Se;
|
|
640
640
|
return f(), X("div", {
|
|
641
641
|
key: i,
|
|
642
642
|
class: "bread-item"
|
|
@@ -656,7 +656,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
656
656
|
loading: U.value,
|
|
657
657
|
modelValue: N.value,
|
|
658
658
|
"onUpdate:modelValue": (Ce) => N.value = Ce,
|
|
659
|
-
key: (
|
|
659
|
+
key: (ee = N.options) == null ? void 0 : ee.length,
|
|
660
660
|
content: N.options ?? [],
|
|
661
661
|
clearable: !1,
|
|
662
662
|
onChange: (Ce) => ie(N),
|
|
@@ -694,8 +694,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
694
694
|
return Ml(
|
|
695
695
|
() => c == null ? void 0 : c.componentParam,
|
|
696
696
|
async () => {
|
|
697
|
-
var J, K,
|
|
698
|
-
let l = (J = U.value) == null ? void 0 : J.filter((C) => (C == null ? void 0 : C.condition) === "child" && (C == null ? void 0 : C.value) !== "" && (C == null ? void 0 : C.parentContent) !== L.value && !(C != null && C.relatedContent)), M = (
|
|
697
|
+
var J, K, ee;
|
|
698
|
+
let l = (J = U.value) == null ? void 0 : J.filter((C) => (C == null ? void 0 : C.condition) === "child" && (C == null ? void 0 : C.value) !== "" && (C == null ? void 0 : C.parentContent) !== L.value && !(C != null && C.relatedContent)), M = (ee = (K = c == null ? void 0 : c.componentParam) == null ? void 0 : K.routerUrl) == null ? void 0 : ee.map((C) => {
|
|
699
699
|
var g;
|
|
700
700
|
return (C == null ? void 0 : C[(C == null ? void 0 : C.length) - 1]) === "/" && (C = C + ((g = l == null ? void 0 : l[0]) == null ? void 0 : g.value)), C;
|
|
701
701
|
}), B = [], N = M == null ? void 0 : M.map(async (C) => {
|
|
@@ -793,21 +793,21 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
793
793
|
setup(e, { emit: h }) {
|
|
794
794
|
var i;
|
|
795
795
|
const c = Ta(Bl), { pageMapState: v } = Tl(c), _ = na(Bl), { activeMenuPath: U } = Tl(_), E = Io(Bl), { originalPath: L } = Tl(E), V = e, x = h, ie = T(""), l = () => {
|
|
796
|
-
var
|
|
796
|
+
var ee, C, g, u, Se, Ce, Q, pe, re, se, Be;
|
|
797
797
|
if (!U.value) return;
|
|
798
|
-
const J = ((C = (
|
|
798
|
+
const J = ((C = (ee = U.value) == null ? void 0 : ee.split(L.value)) == null ? void 0 : C[0]) + L.value + ((g = V == null ? void 0 : V.toolBar) == null ? void 0 : g.mainKeyPropValue), K = (Q = (Ce = (Se = (u = v.value) == null ? void 0 : u[J]) == null ? void 0 : Se.find((Me) => {
|
|
799
799
|
var Ue, dl, Cl;
|
|
800
800
|
return ((Cl = (dl = (Ue = Me == null ? void 0 : Me.value) == null ? void 0 : Ue.pageData) == null ? void 0 : dl.comp) == null ? void 0 : Cl.toUpperCase()) === "FORM";
|
|
801
801
|
})) == null ? void 0 : Ce.value) == null ? void 0 : Q.pageData;
|
|
802
|
-
ie.value = (Be = (se = (re = (
|
|
802
|
+
ie.value = (Be = (se = (re = (pe = K == null ? void 0 : K.compData) == null ? void 0 : pe.find((Me) => (Me == null ? void 0 : Me.key) === "formContent")) == null ? void 0 : re.contents) == null ? void 0 : se.find((Me) => {
|
|
803
803
|
var Ue;
|
|
804
804
|
return (Me == null ? void 0 : Me.prop) === ((Ue = V == null ? void 0 : V.toolBar) == null ? void 0 : Ue.prop);
|
|
805
805
|
})) == null ? void 0 : Be.value, ie.value && M(Number(ie.value));
|
|
806
806
|
}, M = (J) => {
|
|
807
807
|
let K = J * 60;
|
|
808
|
-
const
|
|
808
|
+
const ee = setInterval(() => {
|
|
809
809
|
if (K <= 0)
|
|
810
|
-
clearInterval(
|
|
810
|
+
clearInterval(ee), x("onExtendTaskEnd");
|
|
811
811
|
else {
|
|
812
812
|
K--;
|
|
813
813
|
const C = Math.floor(K / 3600), g = Math.floor(K % 3600 / 60), u = K % 60;
|
|
@@ -917,12 +917,12 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
917
917
|
setup(e, { emit: h }) {
|
|
918
918
|
const c = (o, b) => {
|
|
919
919
|
console.log(o, b);
|
|
920
|
-
}, v = T(), _ = T(0), U = T(null), E = T(""), L = na(Bl), { asideMenuLoading: V, importLoading: x, activeAsideMenu: ie, contentLoading: l, activeMenuPath: M, asideMenus: B } = Tl(L), N = T(!1), i = T([]), J = T([]), K = T([]),
|
|
920
|
+
}, v = T(), _ = T(0), U = T(null), E = T(""), L = na(Bl), { asideMenuLoading: V, importLoading: x, activeAsideMenu: ie, contentLoading: l, activeMenuPath: M, asideMenus: B } = Tl(L), N = T(!1), i = T([]), J = T([]), K = T([]), ee = T(!0), C = T(!1);
|
|
921
921
|
Ml(
|
|
922
922
|
() => B.value,
|
|
923
923
|
() => {
|
|
924
924
|
var o;
|
|
925
|
-
((o = B.value) == null ? void 0 : o.length) > 0 ?
|
|
925
|
+
((o = B.value) == null ? void 0 : o.length) > 0 ? ee.value = !1 : ee.value = !0;
|
|
926
926
|
},
|
|
927
927
|
{ immediate: !0, deep: !0 }
|
|
928
928
|
);
|
|
@@ -931,9 +931,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
931
931
|
var b;
|
|
932
932
|
return ((b = o.find((P) => P.prop === "状态")) == null ? void 0 : b.value) === "未读";
|
|
933
933
|
}).length
|
|
934
|
-
), u = Vl(() => g.value > 99 ? "99+" : g.value), Se = Io(Bl), { originalPath: Ce } = Tl(Se), Q = Ce.value,
|
|
934
|
+
), u = Vl(() => g.value > 99 ? "99+" : g.value), Se = Io(Bl), { originalPath: Ce } = Tl(Se), Q = Ce.value, pe = ma(), { loginUserInfo: re } = Tl(pe), { hasSystemManagement: se, toSystemManagement: Be } = Pc(), { updateFacePhoto: Me } = Sc();
|
|
935
935
|
async function Ue() {
|
|
936
|
-
var o, b, P,
|
|
936
|
+
var o, b, P, fe, de, $;
|
|
937
937
|
try {
|
|
938
938
|
let j = function(vl, Wl) {
|
|
939
939
|
return Wl.map((Ol) => vl.map((Gl, Pl) => ({
|
|
@@ -943,7 +943,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
943
943
|
};
|
|
944
944
|
const q = sessionStorage.getItem("systemKey"), [F] = await Promise.all([
|
|
945
945
|
Pa(oo, q, "")
|
|
946
|
-
]), xe = (P = (b = (o = F == null ? void 0 : F[0]) == null ? void 0 : o.compData) == null ? void 0 : b.find((vl) => (vl == null ? void 0 : vl.key) === "tableContents")) == null ? void 0 : P.contents, Oe = (
|
|
946
|
+
]), xe = (P = (b = (o = F == null ? void 0 : F[0]) == null ? void 0 : o.compData) == null ? void 0 : b.find((vl) => (vl == null ? void 0 : vl.key) === "tableContents")) == null ? void 0 : P.contents, Oe = ($ = (de = (fe = F == null ? void 0 : F[0]) == null ? void 0 : fe.compData) == null ? void 0 : de.find((vl) => (vl == null ? void 0 : vl.key) === "header")) == null ? void 0 : $.contents;
|
|
947
947
|
let sl = [], nl = [], ol = [], fl = [];
|
|
948
948
|
Array.isArray(xe) && Array.isArray(Oe) ? (ol = xe.filter(
|
|
949
949
|
(vl) => vl.includes("未读")
|
|
@@ -961,8 +961,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
961
961
|
}, Al = async (o) => {
|
|
962
962
|
if (!o) return;
|
|
963
963
|
(async (P) => {
|
|
964
|
-
var
|
|
965
|
-
const
|
|
964
|
+
var de, $, j, q;
|
|
965
|
+
const fe = [
|
|
966
966
|
{
|
|
967
967
|
title: "我的消息",
|
|
968
968
|
path: oo,
|
|
@@ -992,9 +992,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
992
992
|
console.warn("该消息没有主键", P);
|
|
993
993
|
return;
|
|
994
994
|
}
|
|
995
|
-
L.setAsideMenus(
|
|
995
|
+
L.setAsideMenus(fe), (F == null ? void 0 : F.value) === "未读" && (F.value = "已读", L.setActiveMenuPath(oo));
|
|
996
996
|
const Oe = M.value + Q + xe.value, sl = M.value;
|
|
997
|
-
await $r(Oe, Oe + Q + `updateLoading${((
|
|
997
|
+
await $r(Oe, Oe + Q + `updateLoading${((de = re.value) == null ? void 0 : de.account) || (($ = re.value) == null ? void 0 : $.账号)}`), t.setRouteToChildPath(sl), L.setActiveMenuPath(Oe + Q + `updateLoading${((j = re.value) == null ? void 0 : j.account) || ((q = re.value) == null ? void 0 : q.账号)}`), L.setActiveTopMenuPath("消息中心");
|
|
998
998
|
} catch (F) {
|
|
999
999
|
console.error("加载菜单或页面时出错:", F);
|
|
1000
1000
|
}
|
|
@@ -1002,7 +1002,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1002
1002
|
}, El = yt(Bl), { selectTitle: Xe } = Tl(El), xl = T(!1), we = T(), A = T(null), Ge = T(), ke = T(!1), Ve = Ln(Bl), { blobUrls: el } = Tl(Ve), qe = T(), pl = T(!1), cl = T(!1), a = T(!1), y = T(!1), w = T(null), D = T(null), G = T([]), ye = T(!1), H = T(!1), d = T(), S = T(qt.value), z = T(0);
|
|
1003
1003
|
let te = null;
|
|
1004
1004
|
It("contentRef", w);
|
|
1005
|
-
const t = Ta(Bl), { isEdit: p, routeToChildPath: I } = Tl(t), Z = h, { logoUrl: me, platNameEn: Fe, getPreviousModel: yl, rememberPreviousModelByPlatId: _e } = Xt(), { toPersonalCenter:
|
|
1005
|
+
const t = Ta(Bl), { isEdit: p, routeToChildPath: I } = Tl(t), Z = h, { logoUrl: me, platNameEn: Fe, getPreviousModel: yl, rememberPreviousModelByPlatId: _e } = Xt(), { toPersonalCenter: he } = Ic(), k = e, Ie = vr(/* @__PURE__ */ new Map()), Re = Vl(() => ie.value.isRouter), be = T(""), ce = async (o) => {
|
|
1006
1006
|
const b = await ht({
|
|
1007
1007
|
url: o
|
|
1008
1008
|
});
|
|
@@ -1011,11 +1011,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1011
1011
|
Ml(() => me.value, async (o) => {
|
|
1012
1012
|
o ? be.value = await ce(o) : be.value = Ar;
|
|
1013
1013
|
}, { immediate: !0 });
|
|
1014
|
-
const
|
|
1014
|
+
const le = (o) => {
|
|
1015
1015
|
const b = (o == null ? void 0 : o.menuFilter) || [];
|
|
1016
1016
|
return Array.isArray(b) && (b == null ? void 0 : b.some((P) => {
|
|
1017
|
-
const
|
|
1018
|
-
return
|
|
1017
|
+
const fe = typeof P == "string" ? P : JSON.stringify(P);
|
|
1018
|
+
return fe == null ? void 0 : fe.includes("HideGroup=Yes");
|
|
1019
1019
|
}));
|
|
1020
1020
|
}, Ze = () => {
|
|
1021
1021
|
C.value = !0;
|
|
@@ -1027,15 +1027,15 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1027
1027
|
const o = M.value;
|
|
1028
1028
|
return Ie.value.get(o);
|
|
1029
1029
|
}), ul = oc(async (o) => {
|
|
1030
|
-
var
|
|
1030
|
+
var fe, de, $, j, q, F, xe, Oe, sl, nl, ol, fl, vl, Wl, Ol, Gl;
|
|
1031
1031
|
if ((o == null ? void 0 : o.type) !== "table") return;
|
|
1032
|
-
const b = (
|
|
1032
|
+
const b = (fe = Xe.value) == null ? void 0 : fe.some((Pl) => (Pl == null ? void 0 : Pl.condition) === "parent"), P = (de = o == null ? void 0 : o.usingRow) == null ? void 0 : de.some((Pl) => Pl == null ? void 0 : Pl.isExistChild);
|
|
1033
1033
|
if (!(b || P))
|
|
1034
1034
|
try {
|
|
1035
1035
|
let Pl = We.value;
|
|
1036
1036
|
if (!Pl) {
|
|
1037
1037
|
const Nl = await ot({
|
|
1038
|
-
platId: parseInt((
|
|
1038
|
+
platId: parseInt(($ = re == null ? void 0 : re.value) == null ? void 0 : $.plat_id),
|
|
1039
1039
|
pageName: "menu"
|
|
1040
1040
|
});
|
|
1041
1041
|
((q = (j = Nl == null ? void 0 : Nl.data) == null ? void 0 : j.result) == null ? void 0 : q.length) > 0 && (Pl = Nl.data.result, Ie.value.set(M.value, Pl));
|
|
@@ -1073,31 +1073,31 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1073
1073
|
}))) ?? [] : {
|
|
1074
1074
|
length: o.length,
|
|
1075
1075
|
[Symbol.iterator]: async function* () {
|
|
1076
|
-
var P,
|
|
1077
|
-
for (let
|
|
1076
|
+
var P, fe;
|
|
1077
|
+
for (let de = 0; de < o.length; de++)
|
|
1078
1078
|
yield {
|
|
1079
|
-
label: (P = o[
|
|
1080
|
-
value: (
|
|
1081
|
-
},
|
|
1079
|
+
label: (P = o[de]) == null ? void 0 : P[b],
|
|
1080
|
+
value: (fe = o[de]) == null ? void 0 : fe[b]
|
|
1081
|
+
}, de % 100 === 0 && await new Promise(($) => setTimeout($, 0));
|
|
1082
1082
|
}
|
|
1083
1083
|
};
|
|
1084
1084
|
}
|
|
1085
1085
|
const Ee = async () => {
|
|
1086
1086
|
let o = {};
|
|
1087
1087
|
const b = await Pa("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), P = await Pa("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
1088
|
-
let
|
|
1089
|
-
P == null || P.forEach((
|
|
1088
|
+
let fe = ["管长", "外径"], de = {};
|
|
1089
|
+
P == null || P.forEach(($) => {
|
|
1090
1090
|
var j;
|
|
1091
|
-
(
|
|
1091
|
+
($ == null ? void 0 : $.comp) === "Form" && ((j = $ == null ? void 0 : $.compData) == null || j.forEach((q) => {
|
|
1092
1092
|
var F;
|
|
1093
1093
|
(q == null ? void 0 : q.key) === "formContent" && ((F = q == null ? void 0 : q.contents) == null || F.forEach((xe) => {
|
|
1094
|
-
|
|
1094
|
+
fe.includes(xe == null ? void 0 : xe.key) && (de[xe.key] = xe.value);
|
|
1095
1095
|
}));
|
|
1096
1096
|
}));
|
|
1097
|
-
}), b == null || b.forEach((
|
|
1097
|
+
}), b == null || b.forEach(($) => {
|
|
1098
1098
|
var j, q, F, xe, Oe, sl;
|
|
1099
|
-
if ((
|
|
1100
|
-
let nl = [], ol = (F = (q = (j =
|
|
1099
|
+
if (($ == null ? void 0 : $.comp) === "Table") {
|
|
1100
|
+
let nl = [], ol = (F = (q = (j = $ == null ? void 0 : $.compData) == null ? void 0 : j.find((vl) => (vl == null ? void 0 : vl.key) === "header")) == null ? void 0 : q.contents) == null ? void 0 : F.map((vl) => vl == null ? void 0 : vl.label), fl = (sl = (Oe = (xe = $ == null ? void 0 : $.compData) == null ? void 0 : xe.find((vl) => (vl == null ? void 0 : vl.key) === "tableContents")) == null ? void 0 : Oe.contents) == null ? void 0 : sl.map((vl) => (vl = vl == null ? void 0 : vl.filter((Wl) => !(Wl != null && Wl.id)), vl));
|
|
1101
1101
|
fl == null || fl.forEach((vl) => {
|
|
1102
1102
|
nl.push(
|
|
1103
1103
|
xt(
|
|
@@ -1105,11 +1105,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1105
1105
|
ol == null ? void 0 : ol.filter((Wl) => Wl !== "操作")
|
|
1106
1106
|
)
|
|
1107
1107
|
);
|
|
1108
|
-
}), o[
|
|
1108
|
+
}), o[$.name] = nl, o[$.name + "Content"] = $;
|
|
1109
1109
|
}
|
|
1110
|
-
}), o.extra =
|
|
1110
|
+
}), o.extra = de, we.value = o;
|
|
1111
1111
|
}, R = async () => {
|
|
1112
|
-
var o, b, P,
|
|
1112
|
+
var o, b, P, fe, de, $, j;
|
|
1113
1113
|
if ((k == null ? void 0 : k.platform) !== "browser") {
|
|
1114
1114
|
if (xl.value = !0, qe.value = (o = k == null ? void 0 : k.taskContent) == null ? void 0 : o.sceneType, G.value = [{
|
|
1115
1115
|
url: (b = k == null ? void 0 : k.taskContent) == null ? void 0 : b.url,
|
|
@@ -1118,8 +1118,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1118
1118
|
const q = Ge.value;
|
|
1119
1119
|
let F = [];
|
|
1120
1120
|
if (typeof (q == null ? void 0 : q.url) == "string")
|
|
1121
|
-
if ((
|
|
1122
|
-
const Oe = ((
|
|
1121
|
+
if ((fe = q == null ? void 0 : q.url) != null && fe.includes(",")) {
|
|
1122
|
+
const Oe = ((de = q == null ? void 0 : q.url) == null ? void 0 : de.split(",")).map((sl) => ({
|
|
1123
1123
|
url: sl,
|
|
1124
1124
|
extension: Dt(sl)
|
|
1125
1125
|
}));
|
|
@@ -1129,7 +1129,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1129
1129
|
url: q == null ? void 0 : q.url,
|
|
1130
1130
|
extension: Dt(q == null ? void 0 : q.url)
|
|
1131
1131
|
}];
|
|
1132
|
-
(
|
|
1132
|
+
($ = A.value) == null || $.loadModelByDefaultPath(F);
|
|
1133
1133
|
}
|
|
1134
1134
|
ye.value = (j = G.value) == null ? void 0 : j.every((q) => q.url.toUpperCase().includes(".URDF"));
|
|
1135
1135
|
}
|
|
@@ -1148,11 +1148,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1148
1148
|
), Ml(
|
|
1149
1149
|
() => [el == null ? void 0 : el.value],
|
|
1150
1150
|
async () => {
|
|
1151
|
-
var o, b, P,
|
|
1152
|
-
if (el != null && el.value && ((o = el == null ? void 0 : el.value) == null ? void 0 : o.length) > 0 && !pl.value && !((b = Ra.value) != null && b.find((
|
|
1151
|
+
var o, b, P, fe, de;
|
|
1152
|
+
if (el != null && el.value && ((o = el == null ? void 0 : el.value) == null ? void 0 : o.length) > 0 && !pl.value && !((b = Ra.value) != null && b.find(($) => ($ == null ? void 0 : $.name) === "输入") && ((P = Ra.value) != null && P.find(($) => ($ == null ? void 0 : $.name) === "输出")))) {
|
|
1153
1153
|
ke.value = !0;
|
|
1154
|
-
let
|
|
1155
|
-
const j = await ((
|
|
1154
|
+
let $ = [];
|
|
1155
|
+
const j = await ((fe = Ll(el == null ? void 0 : el.value)) == null ? void 0 : fe.map(async (q) => {
|
|
1156
1156
|
var nl, ol, fl, vl, Wl, Ol, Gl, Pl, aa, ca;
|
|
1157
1157
|
let F, xe, Oe;
|
|
1158
1158
|
q != null && q.blob.includes("undefined") ? Oe = (ol = (nl = q == null ? void 0 : q.blob) == null ? void 0 : nl.split("undefined,")) == null ? void 0 : ol[1] : Oe = q == null ? void 0 : q.blob;
|
|
@@ -1183,7 +1183,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1183
1183
|
}));
|
|
1184
1184
|
await Promise.all(da);
|
|
1185
1185
|
}
|
|
1186
|
-
return ((Wa = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Wa[((Ma = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Ma.length) - 1]) !== "undefined" &&
|
|
1186
|
+
return ((Wa = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Wa[((Ma = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Ma.length) - 1]) !== "undefined" && $.push({
|
|
1187
1187
|
suffix: "." + ((Fa = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Fa[((qa = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : qa.length) - 1]),
|
|
1188
1188
|
blob: new Blob([F.data], {
|
|
1189
1189
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -1249,9 +1249,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1249
1249
|
mtlBlobs: Zl
|
|
1250
1250
|
};
|
|
1251
1251
|
}
|
|
1252
|
-
xe &&
|
|
1252
|
+
xe && $.push(xe);
|
|
1253
1253
|
}));
|
|
1254
|
-
await Promise.all(j), (
|
|
1254
|
+
await Promise.all(j), ($ == null ? void 0 : $.length) !== 0 && ((de = A.value) == null || de.loadModelByDefaultPath($));
|
|
1255
1255
|
}
|
|
1256
1256
|
},
|
|
1257
1257
|
{ immediate: !0, deep: !0 }
|
|
@@ -1268,27 +1268,27 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1268
1268
|
te && (te.disconnect(), te = null);
|
|
1269
1269
|
});
|
|
1270
1270
|
const Ye = () => {
|
|
1271
|
-
var P,
|
|
1272
|
-
if (I.value === "" || ((
|
|
1271
|
+
var P, fe;
|
|
1272
|
+
if (I.value === "" || ((fe = M.value) == null ? void 0 : fe[((P = M.value) == null ? void 0 : P.length) - 1]) === Q) return !1;
|
|
1273
1273
|
const o = sessionStorage.getItem("authority"), b = JSON.parse(o || "");
|
|
1274
1274
|
if (Array.isArray(b)) {
|
|
1275
|
-
const
|
|
1275
|
+
const de = Array.isArray(b) && (b == null ? void 0 : b.filter((j) => j == null ? void 0 : j.includes(I.value))), $ = de == null ? void 0 : de.map((j) => {
|
|
1276
1276
|
var q;
|
|
1277
1277
|
return ((q = j == null ? void 0 : j.split("/")) == null ? void 0 : q.pop()) || "";
|
|
1278
1278
|
});
|
|
1279
|
-
return !!(
|
|
1279
|
+
return !!($ != null && $.includes("新增") || $ != null && $.includes("新建"));
|
|
1280
1280
|
} else return typeof b == "string" && (b == null ? void 0 : b.toUpperCase()) === "SUPERADMIN";
|
|
1281
1281
|
}, ae = async () => {
|
|
1282
|
-
|
|
1282
|
+
he();
|
|
1283
1283
|
}, ue = () => {
|
|
1284
1284
|
Z("updateVersion");
|
|
1285
1285
|
}, Pe = Vl(() => "http://222.92.178.198:62001"), Le = async (o) => {
|
|
1286
|
-
var b, P,
|
|
1286
|
+
var b, P, fe, de, $;
|
|
1287
1287
|
try {
|
|
1288
1288
|
const j = await Nr(o);
|
|
1289
1289
|
if (((b = j == null ? void 0 : j.data) == null ? void 0 : b.code) === 200) {
|
|
1290
|
-
E.value = Pe.value + "/" + ((
|
|
1291
|
-
let q = (
|
|
1290
|
+
E.value = Pe.value + "/" + ((fe = (P = j.data) == null ? void 0 : P.result) == null ? void 0 : fe.url);
|
|
1291
|
+
let q = ($ = (de = j.data) == null ? void 0 : de.result) == null ? void 0 : $.url;
|
|
1292
1292
|
await Me(q);
|
|
1293
1293
|
}
|
|
1294
1294
|
} catch (j) {
|
|
@@ -1299,11 +1299,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1299
1299
|
const b = Number(o[0]), P = Number(o[1]);
|
|
1300
1300
|
return Number.isNaN(b) || Number.isNaN(P) ? null : [b, P];
|
|
1301
1301
|
}, je = (o) => Array.isArray(o) ? o.map((b) => String(b ?? "").trim()).filter((b) => b !== "") : o == null || o === "" ? [] : [String(o).trim()], ml = (o) => o.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), Y = (o, b) => {
|
|
1302
|
-
const P = je(o),
|
|
1303
|
-
for (const
|
|
1304
|
-
const
|
|
1305
|
-
if (
|
|
1306
|
-
const j = (
|
|
1302
|
+
const P = je(o), fe = new RegExp(`(?:^|[,(])\\s*(?:@)?${ml(b)}\\s*(?:=|:)\\s*`, "i");
|
|
1303
|
+
for (const de of P) {
|
|
1304
|
+
const $ = fe.exec(de);
|
|
1305
|
+
if (!$) continue;
|
|
1306
|
+
const j = ($.index ?? 0) + $[0].length, q = de.slice(j).trim();
|
|
1307
1307
|
if (!q) continue;
|
|
1308
1308
|
if (q[0] === "(") {
|
|
1309
1309
|
let xe = 0;
|
|
@@ -1321,10 +1321,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1321
1321
|
}, Qe = (o, b) => {
|
|
1322
1322
|
const P = Y(o, b);
|
|
1323
1323
|
if (!P) return null;
|
|
1324
|
-
const
|
|
1325
|
-
if (!
|
|
1326
|
-
const
|
|
1327
|
-
return
|
|
1324
|
+
const fe = String(P).trim();
|
|
1325
|
+
if (!fe.startsWith("(") || !fe.endsWith(")")) return null;
|
|
1326
|
+
const de = fe.slice(1, -1).split(",").map(($) => Number($.trim()));
|
|
1327
|
+
return de.length < 2 || de.some(($) => Number.isNaN($)) ? null : [de[0], de[1]];
|
|
1328
1328
|
}, ll = (o) => {
|
|
1329
1329
|
if (o == null || o === "") return null;
|
|
1330
1330
|
if (typeof o == "boolean") return o;
|
|
@@ -1338,14 +1338,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1338
1338
|
}, Rl = (o) => {
|
|
1339
1339
|
const b = je(o);
|
|
1340
1340
|
for (const P of b) {
|
|
1341
|
-
const
|
|
1342
|
-
if (
|
|
1343
|
-
return
|
|
1341
|
+
const fe = $e(Y(P, "Collapse"));
|
|
1342
|
+
if (fe)
|
|
1343
|
+
return fe;
|
|
1344
1344
|
}
|
|
1345
1345
|
return null;
|
|
1346
1346
|
}, He = T({}), jl = (...o) => o.flatMap((b) => Array.isArray(b) ? b.map((P) => String(P ?? "").trim()).filter((P) => P !== "") : b == null || b === "" ? [] : [String(b).trim()]), hl = (o) => {
|
|
1347
|
-
var
|
|
1348
|
-
const b = (Array.isArray(o == null ? void 0 : o.compData) ? o == null ? void 0 : o.compData : void 0) ?? (Array.isArray((
|
|
1347
|
+
var fe, de, $, j, q, F, xe, Oe, sl;
|
|
1348
|
+
const b = (Array.isArray(o == null ? void 0 : o.compData) ? o == null ? void 0 : o.compData : void 0) ?? (Array.isArray((fe = o == null ? void 0 : o.component) == null ? void 0 : fe.compData) ? (de = o == null ? void 0 : o.component) == null ? void 0 : de.compData : void 0) ?? [], P = ($ = b == null ? void 0 : b.find((nl) => (nl == null ? void 0 : nl.key) === "filter")) == null ? void 0 : $.contents;
|
|
1349
1349
|
return jl(
|
|
1350
1350
|
o == null ? void 0 : o.menuFilter,
|
|
1351
1351
|
(j = o == null ? void 0 : o.component) == null ? void 0 : j.menuFilter,
|
|
@@ -1367,67 +1367,73 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1367
1367
|
var b;
|
|
1368
1368
|
return ea(o) === "TABLE" && !((o == null ? void 0 : o.collapseGroupKey) ?? ((b = o == null ? void 0 : o.component) == null ? void 0 : b.collapseGroupKey));
|
|
1369
1369
|
}, Kl = (o) => {
|
|
1370
|
-
var
|
|
1371
|
-
const b = ea(o);
|
|
1372
|
-
|
|
1370
|
+
var fe, de;
|
|
1371
|
+
const b = ea(o), P = (o == null ? void 0 : o.name) ?? ((fe = o == null ? void 0 : o.component) == null ? void 0 : fe.name);
|
|
1372
|
+
if (!P || b === "TABLE") return !1;
|
|
1373
|
+
if (b === "PARENTITEM") {
|
|
1374
|
+
if (typeof P == "string" && P[0] === "$") return !1;
|
|
1375
|
+
const $ = (o == null ? void 0 : o.children) ?? ((de = o == null ? void 0 : o.component) == null ? void 0 : de.children);
|
|
1376
|
+
return Array.isArray($) && $.length === 1 ? !1 : !_l(o);
|
|
1377
|
+
}
|
|
1378
|
+
return !le((o == null ? void 0 : o.component) ?? o);
|
|
1373
1379
|
}, Ul = (o) => Array.isArray(o) && o.some((b) => Kl(b == null ? void 0 : b.component)), Sl = (o, b) => {
|
|
1374
1380
|
if (!Array.isArray(o)) return -1;
|
|
1375
1381
|
for (let P = 0; P < o.length; P++)
|
|
1376
1382
|
if (Kl(b(o[P]))) return P;
|
|
1377
1383
|
return -1;
|
|
1378
1384
|
}, wl = (o) => {
|
|
1379
|
-
var
|
|
1385
|
+
var fe, de, $, j, q;
|
|
1380
1386
|
const b = Sl(o == null ? void 0 : o.innerLayouts, (F) => F == null ? void 0 : F.component);
|
|
1381
|
-
if (b >= 0) return ((
|
|
1387
|
+
if (b >= 0) return (($ = (de = (fe = o == null ? void 0 : o.innerLayouts) == null ? void 0 : fe[b]) == null ? void 0 : de.component) == null ? void 0 : $.name) ?? "";
|
|
1382
1388
|
const P = Sl(o == null ? void 0 : o.components, (F) => F);
|
|
1383
1389
|
return P >= 0 ? ((q = (j = o == null ? void 0 : o.components) == null ? void 0 : j[P]) == null ? void 0 : q.name) ?? "" : "";
|
|
1384
1390
|
}, Je = (o) => {
|
|
1385
|
-
var
|
|
1386
|
-
const b = Sl(o == null ? void 0 : o.innerLayouts, (
|
|
1391
|
+
var fe, de;
|
|
1392
|
+
const b = Sl(o == null ? void 0 : o.innerLayouts, ($) => $ == null ? void 0 : $.component);
|
|
1387
1393
|
if (b < 0) return null;
|
|
1388
|
-
const P = (
|
|
1394
|
+
const P = (de = (fe = o == null ? void 0 : o.innerLayouts) == null ? void 0 : fe[b]) == null ? void 0 : de.y;
|
|
1389
1395
|
return typeof P == "number" ? P : null;
|
|
1390
1396
|
}, Ke = (o) => Sl(o == null ? void 0 : o.components, (b) => b), kl = (o, b) => {
|
|
1391
|
-
var
|
|
1397
|
+
var de, $;
|
|
1392
1398
|
const P = ea(o);
|
|
1393
|
-
return !((o == null ? void 0 : o.name) ?? ((
|
|
1399
|
+
return !((o == null ? void 0 : o.name) ?? ((de = o == null ? void 0 : o.component) == null ? void 0 : de.name)) || P === "TABLE" || P === "PARENTITEM" || !le((o == null ? void 0 : o.component) ?? o) || !(($ = o == null ? void 0 : o.cardLayout) != null && $.highlight) ? !1 : Ul(b);
|
|
1394
1400
|
}, sa = (o) => Ne(o).enabled, La = (o, b, P) => {
|
|
1395
|
-
var
|
|
1396
|
-
const
|
|
1397
|
-
if (
|
|
1398
|
-
return `${b}-group-${
|
|
1399
|
-
const
|
|
1400
|
-
return `${b}-${
|
|
1401
|
+
var $, j, q;
|
|
1402
|
+
const fe = (o == null ? void 0 : o.collapseGroupKey) ?? (($ = o == null ? void 0 : o.component) == null ? void 0 : $.collapseGroupKey);
|
|
1403
|
+
if (fe)
|
|
1404
|
+
return `${b}-group-${fe}`;
|
|
1405
|
+
const de = (o == null ? void 0 : o.id) ?? ((j = o == null ? void 0 : o.component) == null ? void 0 : j.id) ?? (o == null ? void 0 : o.name) ?? ((q = o == null ? void 0 : o.component) == null ? void 0 : q.name) ?? P;
|
|
1406
|
+
return `${b}-${de}`;
|
|
1401
1407
|
}, $l = (o, b, P) => {
|
|
1402
|
-
const
|
|
1403
|
-
if (!
|
|
1404
|
-
const
|
|
1405
|
-
return typeof He.value[
|
|
1408
|
+
const fe = Ne(o);
|
|
1409
|
+
if (!fe.enabled) return !1;
|
|
1410
|
+
const de = La(o, b, P);
|
|
1411
|
+
return typeof He.value[de] == "boolean" ? He.value[de] : fe.defaultCollapsed;
|
|
1406
1412
|
}, ia = (o, b, P) => {
|
|
1407
1413
|
if (!sa(o)) return;
|
|
1408
|
-
const
|
|
1409
|
-
He.value[
|
|
1414
|
+
const fe = La(o, b, P);
|
|
1415
|
+
He.value[fe] = !$l(o, b, P);
|
|
1410
1416
|
}, rt = (o) => ({
|
|
1411
1417
|
highlight: ll(Y(o, "Highlight")) === !0,
|
|
1412
1418
|
position: Qe(o, "Position"),
|
|
1413
1419
|
size: Qe(o, "Size")
|
|
1414
1420
|
}), xa = (o) => {
|
|
1415
1421
|
var F;
|
|
1416
|
-
const b = (o == null ? void 0 : o.cardLayout) ?? {}, P = rt(o == null ? void 0 : o.menuFilter),
|
|
1422
|
+
const b = (o == null ? void 0 : o.cardLayout) ?? {}, P = rt(o == null ? void 0 : o.menuFilter), fe = ll(b == null ? void 0 : b.highlight), de = oe(b == null ? void 0 : b.position) ?? (P == null ? void 0 : P.position), $ = oe(b == null ? void 0 : b.size) ?? (P == null ? void 0 : P.size), j = Array.isArray(o == null ? void 0 : o.compData) ? o.compData : [], q = oe((F = j == null ? void 0 : j.find((xe) => (xe == null ? void 0 : xe.key) === "numPosition")) == null ? void 0 : F.contents);
|
|
1417
1423
|
return {
|
|
1418
|
-
highlight:
|
|
1419
|
-
position:
|
|
1420
|
-
size:
|
|
1424
|
+
highlight: fe ?? (P == null ? void 0 : P.highlight),
|
|
1425
|
+
position: de,
|
|
1426
|
+
size: $ ?? q
|
|
1421
1427
|
};
|
|
1422
1428
|
}, Da = (o) => {
|
|
1423
|
-
var
|
|
1424
|
-
const b = o ?? {}, P = b.component ?? {},
|
|
1425
|
-
return b.filter ?? P.filter ?? ((
|
|
1429
|
+
var de;
|
|
1430
|
+
const b = o ?? {}, P = b.component ?? {}, fe = (Array.isArray(b.compData) ? b.compData : null) ?? (Array.isArray(P.compData) ? P.compData : null) ?? [];
|
|
1431
|
+
return b.filter ?? P.filter ?? ((de = fe.find(($) => ($ == null ? void 0 : $.key) === "filter")) == null ? void 0 : de.contents) ?? b.menuFilter ?? P.menuFilter ?? "";
|
|
1426
1432
|
}, Hl = (o) => {
|
|
1427
1433
|
var Oe, sl, nl, ol;
|
|
1428
|
-
const b = (Array.isArray(o == null ? void 0 : o.compData) ? o == null ? void 0 : o.compData : void 0) ?? (Array.isArray((Oe = o == null ? void 0 : o.component) == null ? void 0 : Oe.compData) ? (sl = o == null ? void 0 : o.component) == null ? void 0 : sl.compData : void 0) ?? [], P = Da(o),
|
|
1434
|
+
const b = (Array.isArray(o == null ? void 0 : o.compData) ? o == null ? void 0 : o.compData : void 0) ?? (Array.isArray((Oe = o == null ? void 0 : o.component) == null ? void 0 : Oe.compData) ? (sl = o == null ? void 0 : o.component) == null ? void 0 : sl.compData : void 0) ?? [], P = Da(o), fe = Qe(P, "Position"), de = Qe(P, "Size"), $ = ((nl = b == null ? void 0 : b.find((fl) => (fl == null ? void 0 : fl.key) === "_gridLayoutMeta")) == null ? void 0 : nl.contents) ?? {}, j = Number($ == null ? void 0 : $._positionStartRow), q = Number($ == null ? void 0 : $._positionRowSpan), F = !Number.isNaN(j) && !Number.isNaN(q) && j > 0 && q > 0 ? [j, q] : null, xe = de ?? oe((ol = b == null ? void 0 : b.find((fl) => (fl == null ? void 0 : fl.key) === "numPosition")) == null ? void 0 : ol.contents);
|
|
1429
1435
|
return {
|
|
1430
|
-
position:
|
|
1436
|
+
position: fe ?? F,
|
|
1431
1437
|
size: xe
|
|
1432
1438
|
};
|
|
1433
1439
|
}, Oa = (o) => {
|
|
@@ -1454,25 +1460,25 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1454
1460
|
};
|
|
1455
1461
|
}).filter((j) => j);
|
|
1456
1462
|
if (P.length !== o.length) return [];
|
|
1457
|
-
const
|
|
1458
|
-
let
|
|
1459
|
-
return
|
|
1460
|
-
q > 0 && (
|
|
1463
|
+
const fe = Array.from(new Set(P.map((j) => j.row))).sort((j, q) => j - q), de = /* @__PURE__ */ new Map();
|
|
1464
|
+
let $ = 0;
|
|
1465
|
+
return fe.forEach((j, q) => {
|
|
1466
|
+
q > 0 && ($ += fn), de.set(j, $);
|
|
1461
1467
|
const F = Math.max(...P.filter((xe) => xe.row === j).map((xe) => xe.h), 0);
|
|
1462
|
-
|
|
1463
|
-
}),
|
|
1468
|
+
$ += F;
|
|
1469
|
+
}), fe.flatMap((j) => {
|
|
1464
1470
|
const q = P.filter((F) => F.row === j);
|
|
1465
1471
|
return Lo(
|
|
1466
1472
|
q,
|
|
1467
|
-
|
|
1473
|
+
de.get(j) ?? 0,
|
|
1468
1474
|
$t.value,
|
|
1469
1475
|
(F, xe) => F.column - xe.column
|
|
1470
1476
|
);
|
|
1471
1477
|
});
|
|
1472
1478
|
}, Po = (o = Ca.value ?? []) => {
|
|
1473
1479
|
const P = gc(o, 100) || [];
|
|
1474
|
-
let
|
|
1475
|
-
return P == null ? void 0 : P.map((j) => (
|
|
1480
|
+
let fe = 0, de = 0, $ = 0;
|
|
1481
|
+
return P == null ? void 0 : P.map((j) => ($ = $ + (j == null ? void 0 : j.arrowGap), (j == null ? void 0 : j.arrowGap) + fe <= 100 && (j.x = fe), j.y = de, (j == null ? void 0 : j.arrowGap) !== 0 && $ < 100 ? fe = fe + (j == null ? void 0 : j.w) : fe = 0, ($ >= 100 || (j == null ? void 0 : j.arrowGap) === 0) && ($ = 0, de = de + (j == null ? void 0 : j.h)), j));
|
|
1476
1482
|
}, $t = Vl(() => {
|
|
1477
1483
|
var P;
|
|
1478
1484
|
const o = z.value || ((P = D.value) == null ? void 0 : P.clientWidth) || 0, b = S.value || 0;
|
|
@@ -1483,33 +1489,33 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1483
1489
|
}, ct = (o) => o.reduce((b, P) => b + P, 0), ar = (o, b) => {
|
|
1484
1490
|
const P = o.map((j) => Math.max(1, Ct(j, 1)));
|
|
1485
1491
|
if (P.length === 0) return [];
|
|
1486
|
-
const
|
|
1487
|
-
if (
|
|
1488
|
-
const
|
|
1489
|
-
return
|
|
1492
|
+
const fe = ct(P), de = Math.max(P.length, Math.round(b));
|
|
1493
|
+
if (fe >= de) return P;
|
|
1494
|
+
const $ = [...P];
|
|
1495
|
+
return $[$.length - 1] += de - fe, $;
|
|
1490
1496
|
}, Vo = (o, b) => {
|
|
1491
1497
|
const P = o.map((ol) => Math.max(1, Ct(ol, 1)));
|
|
1492
1498
|
if (P.length === 0) return [];
|
|
1493
|
-
const
|
|
1494
|
-
if (ct(P) <=
|
|
1495
|
-
const
|
|
1496
|
-
if (
|
|
1499
|
+
const fe = Math.max(P.length, Math.round(b));
|
|
1500
|
+
if (ct(P) <= fe) return P;
|
|
1501
|
+
const de = fe - P.length;
|
|
1502
|
+
if (de <= 0)
|
|
1497
1503
|
return P.map(() => 1);
|
|
1498
|
-
const
|
|
1504
|
+
const $ = P.map((ol) => Math.max(0, ol - 1)), j = ct($);
|
|
1499
1505
|
if (j <= 0) {
|
|
1500
|
-
const ol = Math.floor(
|
|
1501
|
-
let fl =
|
|
1506
|
+
const ol = Math.floor(de / P.length);
|
|
1507
|
+
let fl = de % P.length;
|
|
1502
1508
|
return P.map(() => {
|
|
1503
1509
|
const vl = 1 + ol + (fl > 0 ? 1 : 0);
|
|
1504
1510
|
return fl = Math.max(0, fl - 1), vl;
|
|
1505
1511
|
});
|
|
1506
1512
|
}
|
|
1507
|
-
const q =
|
|
1508
|
-
let Oe = F.reduce((ol, fl) => ol + fl, 0), sl =
|
|
1513
|
+
const q = $.map((ol) => ol / j * de), F = q.map((ol) => Math.floor(ol)), xe = P.map((ol, fl) => 1 + F[fl]);
|
|
1514
|
+
let Oe = F.reduce((ol, fl) => ol + fl, 0), sl = de - Oe;
|
|
1509
1515
|
const nl = q.map((ol, fl) => ({
|
|
1510
1516
|
index: fl,
|
|
1511
1517
|
fraction: ol - Math.floor(ol),
|
|
1512
|
-
weight:
|
|
1518
|
+
weight: $[fl]
|
|
1513
1519
|
})).sort((ol, fl) => fl.fraction !== ol.fraction ? fl.fraction - ol.fraction : fl.weight !== ol.weight ? fl.weight - ol.weight : ol.index - fl.index);
|
|
1514
1520
|
for (const ol of nl) {
|
|
1515
1521
|
if (sl <= 0) break;
|
|
@@ -1519,33 +1525,33 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1519
1525
|
}, tr = (o, b) => {
|
|
1520
1526
|
const P = o.map((sl) => Math.max(1, Ct(sl, 1)));
|
|
1521
1527
|
if (P.length <= 1) return P;
|
|
1522
|
-
const
|
|
1523
|
-
if (
|
|
1524
|
-
return ar(P,
|
|
1525
|
-
if (
|
|
1526
|
-
let
|
|
1528
|
+
const fe = Math.max(P.length, Math.round(b)), de = ct(P);
|
|
1529
|
+
if (de < fe && de >= iu)
|
|
1530
|
+
return ar(P, fe);
|
|
1531
|
+
if (de < fe || de === fe) return P;
|
|
1532
|
+
let $ = 0, j = -1;
|
|
1527
1533
|
for (let sl = 1; sl < P.length; sl += 1) {
|
|
1528
|
-
|
|
1534
|
+
$ += P[sl - 1];
|
|
1529
1535
|
const nl = P.length - sl;
|
|
1530
1536
|
if (nl < 2) continue;
|
|
1531
|
-
const ol =
|
|
1537
|
+
const ol = fe - $;
|
|
1532
1538
|
if (ol < nl) continue;
|
|
1533
1539
|
ct(P.slice(sl)) > ol && (j = sl);
|
|
1534
1540
|
}
|
|
1535
1541
|
if (j <= 0)
|
|
1536
|
-
return Vo(P,
|
|
1537
|
-
const q = P.slice(0, j), F = ct(q), xe = Math.max(P.length - j,
|
|
1542
|
+
return Vo(P, fe);
|
|
1543
|
+
const q = P.slice(0, j), F = ct(q), xe = Math.max(P.length - j, fe - F), Oe = Vo(P.slice(j), xe);
|
|
1538
1544
|
return [...q, ...Oe];
|
|
1539
|
-
}, Lo = (o, b, P,
|
|
1540
|
-
const
|
|
1541
|
-
if (
|
|
1542
|
-
const
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
+
}, Lo = (o, b, P, fe) => {
|
|
1546
|
+
const de = [...o].sort(fe);
|
|
1547
|
+
if (de.length === 0) return [];
|
|
1548
|
+
const $ = Math.max(de.length, 100), j = tr(
|
|
1549
|
+
de.map((F) => Ct(F == null ? void 0 : F.w)),
|
|
1550
|
+
$
|
|
1545
1551
|
);
|
|
1546
1552
|
let q = 0;
|
|
1547
|
-
return
|
|
1548
|
-
const Oe = j[xe] ?? Ct(F == null ? void 0 : F.w), sl = xe > 0 ? P / 2 : 0, nl = xe <
|
|
1553
|
+
return de.map((F, xe) => {
|
|
1554
|
+
const Oe = j[xe] ?? Ct(F == null ? void 0 : F.w), sl = xe > 0 ? P / 2 : 0, nl = xe < de.length - 1 ? P / 2 : 0, ol = Math.max(1, Oe - sl - nl), fl = {
|
|
1549
1555
|
...F,
|
|
1550
1556
|
x: Number((q + sl).toFixed(4)),
|
|
1551
1557
|
y: b,
|
|
@@ -1555,14 +1561,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1555
1561
|
return q += Oe, fl;
|
|
1556
1562
|
});
|
|
1557
1563
|
}, or = (o, b) => {
|
|
1558
|
-
const P = [],
|
|
1559
|
-
return o.map((
|
|
1560
|
-
const
|
|
1561
|
-
...
|
|
1564
|
+
const P = [], fe = (de, $, j, q) => q > de + 1e-4 && j < $ - 1e-4;
|
|
1565
|
+
return o.map((de) => {
|
|
1566
|
+
const $ = Number(de == null ? void 0 : de.x) || 0, j = Math.max(0, Number(de == null ? void 0 : de.w) || 0), q = $ + j, F = Math.max(0, Number(de == null ? void 0 : de.h) || 0), xe = P.reduce((nl, ol) => fe($, q, ol.x, ol.right) ? Math.max(nl, ol.bottom) : nl, 0), Oe = xe > 0 ? xe + b : 0, sl = {
|
|
1567
|
+
...de,
|
|
1562
1568
|
y: Oe
|
|
1563
1569
|
};
|
|
1564
1570
|
return F > 0 && P.push({
|
|
1565
|
-
x:
|
|
1571
|
+
x: $,
|
|
1566
1572
|
right: q,
|
|
1567
1573
|
bottom: Oe + F
|
|
1568
1574
|
}), sl;
|
|
@@ -1570,13 +1576,13 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1570
1576
|
}, sr = (o) => {
|
|
1571
1577
|
const b = Po(o) ?? [];
|
|
1572
1578
|
if (b.length === 0) return [];
|
|
1573
|
-
const P = Math.min(...b.map((F) => Number(F == null ? void 0 : F.y) || 0)),
|
|
1579
|
+
const P = Math.min(...b.map((F) => Number(F == null ? void 0 : F.y) || 0)), fe = Math.min(...b.map((F) => Number(F == null ? void 0 : F.x) || 0)), de = b.map((F, xe) => {
|
|
1574
1580
|
const Oe = (F == null ? void 0 : F.component) ?? o[xe], sl = Math.max(1, Math.round(Number(F == null ? void 0 : F.w) || 100)), nl = Math.max(1, Math.round(Number(F == null ? void 0 : F.h) || 12));
|
|
1575
1581
|
return {
|
|
1576
1582
|
...F,
|
|
1577
1583
|
i: (Oe == null ? void 0 : Oe.id) ?? (F == null ? void 0 : F.i) ?? `section-inner-${xe}`,
|
|
1578
1584
|
id: (Oe == null ? void 0 : Oe.id) ?? (F == null ? void 0 : F.id) ?? `section-inner-${xe}`,
|
|
1579
|
-
x: Math.max(0, Math.round((Number(F == null ? void 0 : F.x) || 0) -
|
|
1585
|
+
x: Math.max(0, Math.round((Number(F == null ? void 0 : F.x) || 0) - fe)),
|
|
1580
1586
|
y: Math.max(0, Math.round((Number(F == null ? void 0 : F.y) || 0) - P)),
|
|
1581
1587
|
w: sl,
|
|
1582
1588
|
h: nl,
|
|
@@ -1585,14 +1591,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1585
1591
|
maxH: Math.max(1, Math.round(Number(F == null ? void 0 : F.maxH) || nl)),
|
|
1586
1592
|
component: Oe
|
|
1587
1593
|
};
|
|
1588
|
-
}),
|
|
1594
|
+
}), $ = Array.from(new Set(de.map((F) => F.y))).sort((F, xe) => F - xe), j = /* @__PURE__ */ new Map();
|
|
1589
1595
|
let q = 0;
|
|
1590
|
-
return
|
|
1596
|
+
return $.forEach((F, xe) => {
|
|
1591
1597
|
xe > 0 && (q += fn), j.set(F, q);
|
|
1592
|
-
const Oe = Math.max(...
|
|
1598
|
+
const Oe = Math.max(...de.filter((sl) => sl.y === F).map((sl) => sl.h), 0);
|
|
1593
1599
|
q += Oe;
|
|
1594
|
-
}),
|
|
1595
|
-
const xe = nu, Oe =
|
|
1600
|
+
}), $.flatMap((F) => {
|
|
1601
|
+
const xe = nu, Oe = de.filter((vl) => vl.y === F).sort((vl, Wl) => vl.x - Wl.x), sl = xe * Math.max(0, Oe.length - 1), nl = Math.max(1, 100 - sl), ol = Oe.reduce((vl, Wl) => vl + Wl.w, 0) || 100;
|
|
1596
1602
|
let fl = 0;
|
|
1597
1603
|
return Oe.map((vl, Wl) => {
|
|
1598
1604
|
const Gl = Wl === Oe.length - 1 ? Math.max(1, 100 - fl) : Math.max(1, Math.floor(vl.w / ol * nl)), Pl = {
|
|
@@ -1630,7 +1636,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1630
1636
|
component: o[0]
|
|
1631
1637
|
}
|
|
1632
1638
|
];
|
|
1633
|
-
const
|
|
1639
|
+
const fe = [
|
|
1634
1640
|
{
|
|
1635
1641
|
i: ((Oe = o[0]) == null ? void 0 : Oe.id) ?? "section-inner-0",
|
|
1636
1642
|
id: ((sl = o[0]) == null ? void 0 : sl.id) ?? "section-inner-0",
|
|
@@ -1643,11 +1649,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1643
1649
|
maxH: 18,
|
|
1644
1650
|
component: o[0]
|
|
1645
1651
|
}
|
|
1646
|
-
],
|
|
1652
|
+
], de = o.slice(1), $ = $t.value, j = Math.floor((100 - $ * (de.length - 1)) / de.length);
|
|
1647
1653
|
let q = 0;
|
|
1648
|
-
return
|
|
1649
|
-
const fl = ol ===
|
|
1650
|
-
|
|
1654
|
+
return de.forEach((nl, ol) => {
|
|
1655
|
+
const fl = ol === de.length - 1 ? Math.max(1, 100 - q) : j;
|
|
1656
|
+
fe.push({
|
|
1651
1657
|
i: (nl == null ? void 0 : nl.id) ?? `section-inner-${ol + 1}`,
|
|
1652
1658
|
id: (nl == null ? void 0 : nl.id) ?? `section-inner-${ol + 1}`,
|
|
1653
1659
|
x: q,
|
|
@@ -1658,8 +1664,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1658
1664
|
minH: 18,
|
|
1659
1665
|
maxH: 18,
|
|
1660
1666
|
component: nl
|
|
1661
|
-
}), q += fl +
|
|
1662
|
-
}),
|
|
1667
|
+
}), q += fl + $;
|
|
1668
|
+
}), fe;
|
|
1663
1669
|
}, rr = (o, b) => Ro(
|
|
1664
1670
|
o,
|
|
1665
1671
|
(P) => Math.min(b, Math.round(P * b))
|
|
@@ -1667,45 +1673,45 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1667
1673
|
if (!(o != null && o.highlight)) return "";
|
|
1668
1674
|
const b = oe(o == null ? void 0 : o.position);
|
|
1669
1675
|
if (!b) return "";
|
|
1670
|
-
const P = oe(o == null ? void 0 : o.size),
|
|
1671
|
-
return `${
|
|
1676
|
+
const P = oe(o == null ? void 0 : o.size), fe = b.map(($) => Math.floor(Number($) || 0)).join("-"), de = P ? P.map(($) => Number($).toFixed(4)).join("-") : "";
|
|
1677
|
+
return `${fe}__${de}`;
|
|
1672
1678
|
}, ir = (o) => {
|
|
1673
1679
|
const b = [], P = /* @__PURE__ */ new Map();
|
|
1674
|
-
let
|
|
1675
|
-
const
|
|
1676
|
-
|
|
1677
|
-
id: `section-segment-${
|
|
1680
|
+
let fe = [], de = 0;
|
|
1681
|
+
const $ = () => {
|
|
1682
|
+
fe.length !== 0 && (b.push({
|
|
1683
|
+
id: `section-segment-${de++}`,
|
|
1678
1684
|
type: "section",
|
|
1679
|
-
items: [...
|
|
1680
|
-
}),
|
|
1685
|
+
items: [...fe]
|
|
1686
|
+
}), fe = []);
|
|
1681
1687
|
};
|
|
1682
1688
|
return o.forEach((j) => {
|
|
1683
1689
|
const q = xa(j);
|
|
1684
1690
|
if (!q.highlight) {
|
|
1685
|
-
|
|
1691
|
+
fe.push(j);
|
|
1686
1692
|
return;
|
|
1687
1693
|
}
|
|
1688
|
-
|
|
1694
|
+
$();
|
|
1689
1695
|
const F = cr(q), xe = F ? P.get(F) : null;
|
|
1690
1696
|
if (xe) {
|
|
1691
1697
|
xe.items.push(j);
|
|
1692
1698
|
return;
|
|
1693
1699
|
}
|
|
1694
1700
|
const Oe = {
|
|
1695
|
-
id: `highlight-segment-${
|
|
1701
|
+
id: `highlight-segment-${de++}`,
|
|
1696
1702
|
type: "highlight",
|
|
1697
1703
|
items: [j],
|
|
1698
1704
|
outerMeta: q
|
|
1699
1705
|
};
|
|
1700
1706
|
b.push(Oe), F && P.set(F, Oe);
|
|
1701
|
-
}),
|
|
1707
|
+
}), $(), b;
|
|
1702
1708
|
}, ur = () => {
|
|
1703
1709
|
const o = (Ca.value ?? []).filter((j) => (j == null ? void 0 : j.comp) !== "FormTop"), b = ir(o), P = [];
|
|
1704
|
-
let
|
|
1710
|
+
let fe = 1;
|
|
1705
1711
|
b.forEach((j, q) => {
|
|
1706
1712
|
var Gl, Pl, aa;
|
|
1707
1713
|
if ((j == null ? void 0 : j.type) === "section") {
|
|
1708
|
-
const ca = nr((j == null ? void 0 : j.items) ?? []), Zl = Math.max(...ca.map((oa) => (Number(oa == null ? void 0 : oa.y) || 0) + (Number(oa == null ? void 0 : oa.h) || 0)), 18) + su, Dl = Math.max(1, Math.floor(
|
|
1714
|
+
const ca = nr((j == null ? void 0 : j.items) ?? []), Zl = Math.max(...ca.map((oa) => (Number(oa == null ? void 0 : oa.y) || 0) + (Number(oa == null ? void 0 : oa.h) || 0)), 18) + su, Dl = Math.max(1, Math.floor(fe));
|
|
1709
1715
|
P.push({
|
|
1710
1716
|
id: `section-card-${q}`,
|
|
1711
1717
|
i: `section-card-${q}`,
|
|
@@ -1721,10 +1727,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1721
1727
|
innerLayouts: ca,
|
|
1722
1728
|
isCardGroup: !0,
|
|
1723
1729
|
isSectionGroup: !0
|
|
1724
|
-
}),
|
|
1730
|
+
}), fe = Math.max(fe, Dl + 1);
|
|
1725
1731
|
return;
|
|
1726
1732
|
}
|
|
1727
|
-
const F = (j == null ? void 0 : j.outerMeta) ?? xa((Pl = j == null ? void 0 : j.items) == null ? void 0 : Pl[0]), [xe =
|
|
1733
|
+
const F = (j == null ? void 0 : j.outerMeta) ?? xa((Pl = j == null ? void 0 : j.items) == null ? void 0 : Pl[0]), [xe = fe, Oe = 1] = (F == null ? void 0 : F.position) ?? [fe, 1], [sl = 0.5, nl = 0.33] = (F == null ? void 0 : F.size) ?? [0.5, 0.33], ol = Math.max(1, Math.floor(xe)), fl = Math.max(1, Math.floor(Oe)), vl = Math.max(1, Math.min(100, Math.round(sl * 100))), Wl = Math.max(0, Math.round(nl * 100)), Ol = rr((j == null ? void 0 : j.items) ?? [], Wl);
|
|
1728
1734
|
P.push({
|
|
1729
1735
|
id: `highlight-card-${q}`,
|
|
1730
1736
|
i: `highlight-card-${q}`,
|
|
@@ -1740,9 +1746,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1740
1746
|
innerLayouts: Ol,
|
|
1741
1747
|
isCardGroup: !0,
|
|
1742
1748
|
isHighlightCard: !0
|
|
1743
|
-
}),
|
|
1749
|
+
}), fe = Math.max(fe, ol + 1);
|
|
1744
1750
|
});
|
|
1745
|
-
const
|
|
1751
|
+
const $ = Array.from(new Set(P.map((j) => j.row))).sort((j, q) => j - q).flatMap((j) => {
|
|
1746
1752
|
const q = P.filter((F) => F.row === j);
|
|
1747
1753
|
return Lo(
|
|
1748
1754
|
q,
|
|
@@ -1751,10 +1757,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1751
1757
|
(F, xe) => ((F == null ? void 0 : F.column) ?? 1) !== ((xe == null ? void 0 : xe.column) ?? 1) ? ((F == null ? void 0 : F.column) ?? 1) - ((xe == null ? void 0 : xe.column) ?? 1) : String((F == null ? void 0 : F.id) ?? "").localeCompare(String((xe == null ? void 0 : xe.id) ?? ""))
|
|
1752
1758
|
);
|
|
1753
1759
|
});
|
|
1754
|
-
return or(
|
|
1760
|
+
return or($, so).sort((j, q) => (j == null ? void 0 : j.y) !== (q == null ? void 0 : q.y) ? (j == null ? void 0 : j.y) - (q == null ? void 0 : q.y) : ((j == null ? void 0 : j.x) ?? 0) - ((q == null ? void 0 : q.x) ?? 0));
|
|
1755
1761
|
}, Oo = Vl(() => {
|
|
1756
1762
|
var P;
|
|
1757
|
-
const o = (Ca.value ?? []).filter((
|
|
1763
|
+
const o = (Ca.value ?? []).filter((fe) => (fe == null ? void 0 : fe.comp) !== "FormTop"), b = o.some((fe) => Oa(fe));
|
|
1758
1764
|
return !((P = M == null ? void 0 : M.value) != null && P.includes("首页")) || !b ? Po(o) : ur();
|
|
1759
1765
|
}), ka = Vl(() => {
|
|
1760
1766
|
var b;
|
|
@@ -1773,7 +1779,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1773
1779
|
}), te.observe(D.value));
|
|
1774
1780
|
};
|
|
1775
1781
|
Ml(
|
|
1776
|
-
() => [ka.value, M.value, qt.value,
|
|
1782
|
+
() => [ka.value, M.value, qt.value, ee.value],
|
|
1777
1783
|
async () => {
|
|
1778
1784
|
await fa(), Uo(), Kt();
|
|
1779
1785
|
},
|
|
@@ -1788,8 +1794,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1788
1794
|
}
|
|
1789
1795
|
);
|
|
1790
1796
|
const Ba = Vl(() => {
|
|
1791
|
-
var o, b, P,
|
|
1792
|
-
return ((o = Ca.value) == null ? void 0 : o.length) > 0 && ((b = Ca.value) != null && b.every((
|
|
1797
|
+
var o, b, P, fe;
|
|
1798
|
+
return ((o = Ca.value) == null ? void 0 : o.length) > 0 && ((b = Ca.value) != null && b.every((de) => de == null ? void 0 : de.layout)) ? (fe = (P = Ca.value) == null ? void 0 : P[0]) == null ? void 0 : fe.layout : "vertical";
|
|
1793
1799
|
}), jo = Vl(() => {
|
|
1794
1800
|
var o, b, P;
|
|
1795
1801
|
return ((o = Ca.value) == null ? void 0 : o.length) > 0 && (Ba == null ? void 0 : Ba.value) === "horizontal" ? (P = (b = Ca.value) == null ? void 0 : b[0]) == null ? void 0 : P.name : "";
|
|
@@ -1798,17 +1804,17 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1798
1804
|
}, fr = () => {
|
|
1799
1805
|
U.value !== null && U.value.click();
|
|
1800
1806
|
}, hr = async (o) => {
|
|
1801
|
-
var
|
|
1807
|
+
var fe, de, $, j;
|
|
1802
1808
|
const b = o.target.files;
|
|
1803
1809
|
if (!b) return;
|
|
1804
1810
|
const P = new FormData();
|
|
1805
1811
|
Array.from(b).forEach((q) => {
|
|
1806
1812
|
P.append("files", q, q == null ? void 0 : q.name);
|
|
1807
|
-
}), P.set("platId", parseInt((
|
|
1813
|
+
}), P.set("platId", parseInt((fe = re == null ? void 0 : re.value) == null ? void 0 : fe.plat_id));
|
|
1808
1814
|
try {
|
|
1809
1815
|
const q = await mr(P);
|
|
1810
|
-
if (((
|
|
1811
|
-
const F = await Mr({ platId: parseInt((
|
|
1816
|
+
if (((de = q == null ? void 0 : q.data) == null ? void 0 : de.code) === 200) {
|
|
1817
|
+
const F = await Mr({ platId: parseInt(($ = re == null ? void 0 : re.value) == null ? void 0 : $.plat_id) });
|
|
1812
1818
|
L.setDataFiles((j = F == null ? void 0 : F.data) == null ? void 0 : j.result);
|
|
1813
1819
|
}
|
|
1814
1820
|
} catch (q) {
|
|
@@ -1818,7 +1824,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1818
1824
|
}
|
|
1819
1825
|
};
|
|
1820
1826
|
return (o, b) => {
|
|
1821
|
-
const P = ne("el-dialog"),
|
|
1827
|
+
const P = ne("el-dialog"), fe = ne("el-button"), de = ne("el-header"), $ = ne("el-splitter-panel"), j = ne("el-splitter"), q = ne("el-container"), F = ne("el-tab-pane"), xe = ne("el-tabs"), Oe = ne("el-aside"), sl = ne("router-view"), nl = ne("el-icon"), ol = ne("el-step"), fl = ne("el-steps"), vl = ne("el-main"), Wl = Pt("loading");
|
|
1822
1828
|
return f(), X(rl, null, [
|
|
1823
1829
|
n(Sa, {
|
|
1824
1830
|
visible: C.value,
|
|
@@ -1870,10 +1876,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1870
1876
|
}, 8, ["modelValue"]),
|
|
1871
1877
|
wa(n(q, { class: "client-container" }, {
|
|
1872
1878
|
default: r(() => [
|
|
1873
|
-
n(
|
|
1879
|
+
n(de, { class: "client-structure-header" }, {
|
|
1874
1880
|
default: r(() => [
|
|
1875
1881
|
O("div", ei, [
|
|
1876
|
-
n(
|
|
1882
|
+
n(fe, {
|
|
1877
1883
|
id: "transparentBgButton",
|
|
1878
1884
|
onClick: s(On)
|
|
1879
1885
|
}, {
|
|
@@ -1893,7 +1899,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1893
1899
|
}, null, 8, ["breadArray", "onClick"])
|
|
1894
1900
|
]),
|
|
1895
1901
|
O("div", ai, [
|
|
1896
|
-
n(
|
|
1902
|
+
n(fe, {
|
|
1897
1903
|
id: "themeButton",
|
|
1898
1904
|
onClick: b[3] || (b[3] = (Ol) => {
|
|
1899
1905
|
var Gl, Pl;
|
|
@@ -1919,7 +1925,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1919
1925
|
default: r(() => [
|
|
1920
1926
|
n(j, null, {
|
|
1921
1927
|
default: r(() => [
|
|
1922
|
-
n(
|
|
1928
|
+
n($, {
|
|
1923
1929
|
size: 240,
|
|
1924
1930
|
min: 240,
|
|
1925
1931
|
resizable: !1,
|
|
@@ -1944,7 +1950,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1944
1950
|
]),
|
|
1945
1951
|
_: 1
|
|
1946
1952
|
}),
|
|
1947
|
-
n(
|
|
1953
|
+
n($, {
|
|
1948
1954
|
min: 200,
|
|
1949
1955
|
collapsible: !0
|
|
1950
1956
|
}, {
|
|
@@ -1967,7 +1973,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1967
1973
|
]),
|
|
1968
1974
|
_: 1
|
|
1969
1975
|
}),
|
|
1970
|
-
n(
|
|
1976
|
+
n($, {
|
|
1971
1977
|
size: 350,
|
|
1972
1978
|
min: 350,
|
|
1973
1979
|
collapsible: !0
|
|
@@ -1995,7 +2001,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1995
2001
|
"element-loading-text": "正在加载页面数据..."
|
|
1996
2002
|
}, {
|
|
1997
2003
|
default: r(() => [
|
|
1998
|
-
n(
|
|
2004
|
+
n(de, { class: "client-header" }, {
|
|
1999
2005
|
default: r(() => [
|
|
2000
2006
|
O("div", {
|
|
2001
2007
|
class: "client-header-logo",
|
|
@@ -2013,7 +2019,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2013
2019
|
n(Uc, { mode: "horizontal" })
|
|
2014
2020
|
]),
|
|
2015
2021
|
O("div", ii, [
|
|
2016
|
-
dr.value ? (f(), ge(
|
|
2022
|
+
dr.value ? (f(), ge(fe, {
|
|
2017
2023
|
key: 0,
|
|
2018
2024
|
class: "system-default-button",
|
|
2019
2025
|
onClick: pr
|
|
@@ -2207,12 +2213,12 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2207
2213
|
default: r(() => [
|
|
2208
2214
|
n(vl, {
|
|
2209
2215
|
class: ql(["client-main", { "home-card-main": ka.value }]),
|
|
2210
|
-
style: Yl({ paddingLeft:
|
|
2216
|
+
style: Yl({ paddingLeft: ee.value ? "16px" : "0px" })
|
|
2211
2217
|
}, {
|
|
2212
2218
|
default: r(() => {
|
|
2213
2219
|
var Ol, Gl, Pl, aa, ca, Zl, Dl, oa, ua, Nl, Ma, Wa, qa, Fa, da, Ht, wt, Qo, Ko, Ho, Wo, qo, Fo, Yo, Jo, zo, Go, Xo, Zo, $o, es, ls, as, ts, os, ss, ns, rs, cs, is, us, ds, ps, fs, hs, vs, gs, ys, bs, Cs;
|
|
2214
2220
|
return [
|
|
2215
|
-
|
|
2221
|
+
ee.value ? De("", !0) : wa((f(), ge(Oe, {
|
|
2216
2222
|
key: 0,
|
|
2217
2223
|
class: "client-aside",
|
|
2218
2224
|
style: Yl({ backgroundImage: e.platform === "client" ? `url(${s(qn)})` : `url(${s(Fn)})` }),
|
|
@@ -2810,7 +2816,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2810
2816
|
]),
|
|
2811
2817
|
footer: r(() => [
|
|
2812
2818
|
O("div", ou, [
|
|
2813
|
-
n(
|
|
2819
|
+
n(fe, {
|
|
2814
2820
|
onClick: b[8] || (b[8] = (Ol) => to.value = !1),
|
|
2815
2821
|
id: "themeBorderButton"
|
|
2816
2822
|
}, {
|
|
@@ -2819,7 +2825,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2819
2825
|
])]),
|
|
2820
2826
|
_: 1
|
|
2821
2827
|
}),
|
|
2822
|
-
n(
|
|
2828
|
+
n(fe, {
|
|
2823
2829
|
class: "ok-button",
|
|
2824
2830
|
onClick: b[9] || (b[9] = (Ol) => s(fc)()),
|
|
2825
2831
|
id: "themeButton"
|
|
@@ -2843,7 +2849,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2843
2849
|
], 64);
|
|
2844
2850
|
};
|
|
2845
2851
|
}
|
|
2846
|
-
}), du = /* @__PURE__ */ va(uu, [["__scopeId", "data-v-
|
|
2852
|
+
}), du = /* @__PURE__ */ va(uu, [["__scopeId", "data-v-550f279b"]]), pu = /* @__PURE__ */ zl({
|
|
2847
2853
|
__name: "menuItem",
|
|
2848
2854
|
props: {
|
|
2849
2855
|
menuList: {
|
|
@@ -2962,22 +2968,22 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2962
2968
|
onSelect: B
|
|
2963
2969
|
}, {
|
|
2964
2970
|
default: r(() => [
|
|
2965
|
-
(f(!0), X(rl, null, bl(e.menuList, (
|
|
2966
|
-
|
|
2967
|
-
index:
|
|
2968
|
-
key:
|
|
2969
|
-
style: Yl(
|
|
2970
|
-
class: ql(e.editingPath === (
|
|
2971
|
+
(f(!0), X(rl, null, bl(e.menuList, (pe, re) => (f(), X(rl, null, [
|
|
2972
|
+
pe.show && pe.children && pe.children.length > 0 ? (f(), ge(Se, {
|
|
2973
|
+
index: pe.path,
|
|
2974
|
+
key: pe.path,
|
|
2975
|
+
style: Yl(pe.style),
|
|
2976
|
+
class: ql(e.editingPath === (pe == null ? void 0 : pe.path) && e.editingPath ? "editing-menu" : "")
|
|
2971
2977
|
}, {
|
|
2972
2978
|
title: r(() => [
|
|
2973
2979
|
ba(g.$slots, "title", {
|
|
2974
|
-
menu:
|
|
2980
|
+
menu: pe,
|
|
2975
2981
|
menuIndex: re
|
|
2976
2982
|
}, void 0, !0)
|
|
2977
2983
|
]),
|
|
2978
2984
|
default: r(() => [
|
|
2979
2985
|
n(pu, {
|
|
2980
|
-
menuList:
|
|
2986
|
+
menuList: pe.children,
|
|
2981
2987
|
onClickMenu: l,
|
|
2982
2988
|
editingPath: e.editingPath
|
|
2983
2989
|
}, Gt({ _: 2 }, [
|
|
@@ -2990,16 +2996,16 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2990
2996
|
]), 1032, ["menuList", "editingPath"])
|
|
2991
2997
|
]),
|
|
2992
2998
|
_: 2
|
|
2993
|
-
}, 1032, ["index", "style", "class"])) :
|
|
2994
|
-
index:
|
|
2995
|
-
key:
|
|
2996
|
-
class: ql(e.editingPath === (
|
|
2997
|
-
style: Yl(
|
|
2998
|
-
onClick: (se) => l(
|
|
2999
|
+
}, 1032, ["index", "style", "class"])) : pe.show ? (f(), ge(Ce, {
|
|
3000
|
+
index: pe.path,
|
|
3001
|
+
key: pe.path,
|
|
3002
|
+
class: ql(e.editingPath === (pe == null ? void 0 : pe.path) && e.editingPath ? "editing-menu" : ""),
|
|
3003
|
+
style: Yl(pe.style),
|
|
3004
|
+
onClick: (se) => l(pe)
|
|
2999
3005
|
}, {
|
|
3000
3006
|
title: r(() => [
|
|
3001
3007
|
ba(g.$slots, "title", {
|
|
3002
|
-
menu:
|
|
3008
|
+
menu: pe,
|
|
3003
3009
|
menuIndex: re,
|
|
3004
3010
|
onClick: u[0] || (u[0] = Jl(() => {
|
|
3005
3011
|
}, ["stop"]))
|
|
@@ -3072,8 +3078,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3072
3078
|
}, x = () => {
|
|
3073
3079
|
}, ie = T([]), l = ta({
|
|
3074
3080
|
local: Object.keys({ "/public/icons/svg/App.svg": 0, "/public/icons/svg/Avatar.svg": 0, "/public/icons/svg/Back.svg": 0, "/public/icons/svg/Cancel.svg": 0, "/public/icons/svg/ChildAdd.svg": 0, "/public/icons/svg/ChildDelete.svg": 0, "/public/icons/svg/ChildFix.svg": 0, "/public/icons/svg/CopyAddMenu.svg": 0, "/public/icons/svg/Delete.svg": 0, "/public/icons/svg/DeleteMenu.svg": 0, "/public/icons/svg/DongHuaFangZhen.svg": 0, "/public/icons/svg/Edit.svg": 0, "/public/icons/svg/EyeFill.svg": 0, "/public/icons/svg/FixedMenu.svg": 0, "/public/icons/svg/Fold.svg": 0, "/public/icons/svg/Form.svg": 0, "/public/icons/svg/Left.svg": 0, "/public/icons/svg/LowCodeEvent.svg": 0, "/public/icons/svg/LowCodeExtend.svg": 0, "/public/icons/svg/LowCodeSetting.svg": 0, "/public/icons/svg/LowCodeStyle.svg": 0, "/public/icons/svg/OCR识别.svg": 0, "/public/icons/svg/Plus.svg": 0, "/public/icons/svg/Right.svg": 0, "/public/icons/svg/Save.svg": 0, "/public/icons/svg/Signature.svg": 0, "/public/icons/svg/Step.svg": 0, "/public/icons/svg/Store.svg": 0, "/public/icons/svg/Table.svg": 0, "/public/icons/svg/TableLook.svg": 0, "/public/icons/svg/Tabs.svg": 0, "/public/icons/svg/TimeLine.svg": 0, "/public/icons/svg/Update.svg": 0, "/public/icons/svg/account.svg": 0, "/public/icons/svg/back-0.svg": 0, "/public/icons/svg/card-delete.svg": 0, "/public/icons/svg/card-edit.svg": 0, "/public/icons/svg/cardViewport.svg": 0, "/public/icons/svg/cardViewport_101.svg": 0, "/public/icons/svg/clear.svg": 0, "/public/icons/svg/colFilter.svg": 0, "/public/icons/svg/colOperate.svg": 0, "/public/icons/svg/config.svg": 0, "/public/icons/svg/default.svg": 0, "/public/icons/svg/dept.svg": 0, "/public/icons/svg/drag.svg": 0, "/public/icons/svg/editTable.svg": 0, "/public/icons/svg/edit_101.svg": 0, "/public/icons/svg/emptyImg.svg": 0, "/public/icons/svg/exit.svg": 0, "/public/icons/svg/expand.svg": 0, "/public/icons/svg/export.svg": 0, "/public/icons/svg/export_101.svg": 0, "/public/icons/svg/functionList.svg": 0, "/public/icons/svg/import.svg": 0, "/public/icons/svg/import_101.svg": 0, "/public/icons/svg/logo.svg": 0, "/public/icons/svg/menuPlus.svg": 0, "/public/icons/svg/menuPlusDark.svg": 0, "/public/icons/svg/message.svg": 0, "/public/icons/svg/model.svg": 0, "/public/icons/svg/modelEditBack.svg": 0, "/public/icons/svg/more.svg": 0, "/public/icons/svg/new.svg": 0, "/public/icons/svg/normal.svg": 0, "/public/icons/svg/operate.svg": 0, "/public/icons/svg/overviewTable.svg": 0, "/public/icons/svg/pack.svg": 0, "/public/icons/svg/password.svg": 0, "/public/icons/svg/personal.svg": 0, "/public/icons/svg/query.svg": 0, "/public/icons/svg/readTable.svg": 0, "/public/icons/svg/role.svg": 0, "/public/icons/svg/rowCreate.svg": 0, "/public/icons/svg/softCancel.svg": 0, "/public/icons/svg/softConfirm.svg": 0, "/public/icons/svg/softDelete.svg": 0, "/public/icons/svg/softEdit.svg": 0, "/public/icons/svg/softForm.svg": 0, "/public/icons/svg/softHome.svg": 0, "/public/icons/svg/softRemove.svg": 0, "/public/icons/svg/softTable.svg": 0, "/public/icons/svg/status.svg": 0, "/public/icons/svg/tableClose.svg": 0, "/public/icons/svg/tableExpand.svg": 0, "/public/icons/svg/three.svg": 0, "/public/icons/svg/treeMore.svg": 0, "/public/icons/svg/upload.svg": 0, "/public/icons/svg/uploadCopy.svg": 0, "/public/icons/svg/userAccount.svg": 0, "/public/icons/svg/wenjian.svg": 0, "/public/icons/svg/wenjianjia.svg": 0, "/public/icons/svg/write.svg": 0, "/public/icons/svg/上台对接.svg": 0, "/public/icons/svg/上面级过程管控.svg": 0, "/public/icons/svg/专项监督报告.svg": 0, "/public/icons/svg/个人中心.svg": 0, "/public/icons/svg/主菜单管理.svg": 0, "/public/icons/svg/交接前准备.svg": 0, "/public/icons/svg/产品检测.svg": 0, "/public/icons/svg/人像.svg": 0, "/public/icons/svg/人员列表.svg": 0, "/public/icons/svg/人员管理.svg": 0, "/public/icons/svg/人员资质.svg": 0, "/public/icons/svg/任务管理.svg": 0, "/public/icons/svg/任务选择.svg": 0, "/public/icons/svg/仿真动画.svg": 0, "/public/icons/svg/会议纪要.svg": 0, "/public/icons/svg/位姿生成.svg": 0, "/public/icons/svg/保存.svg": 0, "/public/icons/svg/停工令.svg": 0, "/public/icons/svg/刀具.svg": 0, "/public/icons/svg/删除弯管.svg": 0, "/public/icons/svg/制造厂.svg": 0, "/public/icons/svg/加工.svg": 0, "/public/icons/svg/协作单位.svg": 0, "/public/icons/svg/单元库.svg": 0, "/public/icons/svg/压气机叶片.svg": 0, "/public/icons/svg/发动机下台.svg": 0, "/public/icons/svg/发动机点火试验.svg": 0, "/public/icons/svg/发动机输送.svg": 0, "/public/icons/svg/取消.svg": 0, "/public/icons/svg/合同管理.svg": 0, "/public/icons/svg/同意.svg": 0, "/public/icons/svg/周报.svg": 0, "/public/icons/svg/在线考试.svg": 0, "/public/icons/svg/场景.svg": 0, "/public/icons/svg/培训学习.svg": 0, "/public/icons/svg/培训计划.svg": 0, "/public/icons/svg/备忘录.svg": 0, "/public/icons/svg/夹具资源.svg": 0, "/public/icons/svg/子菜单.svg": 0, "/public/icons/svg/审批中心0.svg": 0, "/public/icons/svg/审批中心1.svg": 0, "/public/icons/svg/审核.svg": 0, "/public/icons/svg/导入弯管.svg": 0, "/public/icons/svg/导出弯管.svg": 0, "/public/icons/svg/岗位管理.svg": 0, "/public/icons/svg/工件库.svg": 0, "/public/icons/svg/工作台.svg": 0, "/public/icons/svg/工艺生成.svg": 0, "/public/icons/svg/工艺系统.svg": 0, "/public/icons/svg/工艺规程编辑.svg": 0, "/public/icons/svg/工艺规程调用.svg": 0, "/public/icons/svg/已处理.svg": 0, "/public/icons/svg/已完成.svg": 0, "/public/icons/svg/平台管理.svg": 0, "/public/icons/svg/年度监造.svg": 0, "/public/icons/svg/年度计划.svg": 0, "/public/icons/svg/建模分析.svg": 0, "/public/icons/svg/弯管1.svg": 0, "/public/icons/svg/弯管2.svg": 0, "/public/icons/svg/弯管处理.svg": 0, "/public/icons/svg/待办事项.svg": 0, "/public/icons/svg/待处理.svg": 0, "/public/icons/svg/总月报.svg": 0, "/public/icons/svg/我发起.svg": 0, "/public/icons/svg/批准.svg": 0, "/public/icons/svg/承包商.svg": 0, "/public/icons/svg/技术监督单.svg": 0, "/public/icons/svg/抄送我的.svg": 0, "/public/icons/svg/报告中心.svg": 0, "/public/icons/svg/报表模板.svg": 0, "/public/icons/svg/控制系统.svg": 0, "/public/icons/svg/提交.svg": 0, "/public/icons/svg/操作规程.svg": 0, "/public/icons/svg/文件列表.svg": 0, "/public/icons/svg/文件夹.svg": 0, "/public/icons/svg/文件管理.svg": 0, "/public/icons/svg/文档管理.svg": 0, "/public/icons/svg/新建弯管.svg": 0, "/public/icons/svg/方法库.svg": 0, "/public/icons/svg/日志管理.svg": 0, "/public/icons/svg/日报.svg": 0, "/public/icons/svg/曲面.svg": 0, "/public/icons/svg/月报.svg": 0, "/public/icons/svg/未开始.svg": 0, "/public/icons/svg/机器人弯管机.svg": 0, "/public/icons/svg/机床.svg": 0, "/public/icons/svg/权限管理.svg": 0, "/public/icons/svg/标准规范.svg": 0, "/public/icons/svg/档案管理.svg": 0, "/public/icons/svg/模具1.svg": 0, "/public/icons/svg/模具库.svg": 0, "/public/icons/svg/模型管理.svg": 0, "/public/icons/svg/模板管理.svg": 0, "/public/icons/svg/气密性检查.svg": 0, "/public/icons/svg/流程库.svg": 0, "/public/icons/svg/测量系统.svg": 0, "/public/icons/svg/测量系统状态传递表.svg": 0, "/public/icons/svg/消息中心.svg": 0, "/public/icons/svg/消息管理.svg": 0, "/public/icons/svg/涡轮叶片.svg": 0, "/public/icons/svg/涡轮旋转.svg": 0, "/public/icons/svg/灯泡维修.svg": 0, "/public/icons/svg/物项管理.svg": 0, "/public/icons/svg/生成报告.svg": 0, "/public/icons/svg/用户管理.svg": 0, "/public/icons/svg/界面修改.svg": 0, "/public/icons/svg/监造项目.svg": 0, "/public/icons/svg/知识库.svg": 0, "/public/icons/svg/程序输出.svg": 0, "/public/icons/svg/策划报告.svg": 0, "/public/icons/svg/筛选.svg": 0, "/public/icons/svg/算法.svg": 0, "/public/icons/svg/管件解析.svg": 0, "/public/icons/svg/系统消息.svg": 0, "/public/icons/svg/系统管理.svg": 0, "/public/icons/svg/系统设备.svg": 0, "/public/icons/svg/系统配置.svg": 0, "/public/icons/svg/线.svg": 0, "/public/icons/svg/组织团队.svg": 0, "/public/icons/svg/经验反馈1.svg": 0, "/public/icons/svg/经验反馈报告2.svg": 0, "/public/icons/svg/综合测试.svg": 0, "/public/icons/svg/考核.svg": 0, "/public/icons/svg/考试.svg": 0, "/public/icons/svg/考试记录.svg": 0, "/public/icons/svg/耗材库.svg": 0, "/public/icons/svg/职位管理.svg": 0, "/public/icons/svg/菜单管理.svg": 0, "/public/icons/svg/营运单位.svg": 0, "/public/icons/svg/观察意见单.svg": 0, "/public/icons/svg/角色管理.svg": 0, "/public/icons/svg/记录单.svg": 0, "/public/icons/svg/设备使用统计.svg": 0, "/public/icons/svg/设备库.svg": 0, "/public/icons/svg/设备管理.svg": 0, "/public/icons/svg/试卷.svg": 0, "/public/icons/svg/试验人员工作统计.svg": 0, "/public/icons/svg/试验任务.svg": 0, "/public/icons/svg/试验传感器.svg": 0, "/public/icons/svg/试验传感器配置.svg": 0, "/public/icons/svg/试验准备.svg": 0, "/public/icons/svg/试验台.svg": 0, "/public/icons/svg/试验总结.svg": 0, "/public/icons/svg/试验文档.svg": 0, "/public/icons/svg/试验流程.svg": 0, "/public/icons/svg/试验系统.svg": 0, "/public/icons/svg/试验系统设备.svg": 0, "/public/icons/svg/试验系统设备配置.svg": 0, "/public/icons/svg/试验结果评价.svg": 0, "/public/icons/svg/试验设备.svg": 0, "/public/icons/svg/试验过程.svg": 0, "/public/icons/svg/质量计划.svg": 0, "/public/icons/svg/质量计划审查意见单.svg": 0, "/public/icons/svg/质量计划见证点.svg": 0, "/public/icons/svg/轨迹规划.svg": 0, "/public/icons/svg/进度计划.svg": 0, "/public/icons/svg/退出.svg": 0, "/public/icons/svg/选择设备.svg": 0, "/public/icons/svg/部门文件.svg": 0, "/public/icons/svg/部门管理.svg": 0, "/public/icons/svg/配置文件.svg": 0, "/public/icons/svg/附件文件.svg": 0, "/public/icons/svg/项目信息.svg": 0, "/public/icons/svg/项目档案.svg": 0, "/public/icons/svg/项目管理0.svg": 0, "/public/icons/svg/题库.svg": 0, "/public/icons/svg/风机叶片.svg": 0, "/public/icons/svg/首页.svg": 0, "/public/icons/svg/驳回.svg": 0 }).map((K) => {
|
|
3075
|
-
var
|
|
3076
|
-
return (
|
|
3081
|
+
var ee;
|
|
3082
|
+
return (ee = K.match(/\/([^/]+)\.svg$/)) == null ? void 0 : ee[1];
|
|
3077
3083
|
}).filter(Boolean),
|
|
3078
3084
|
ele: Object.keys(Wr)
|
|
3079
3085
|
});
|
|
@@ -3088,8 +3094,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3088
3094
|
L.fontIconPrefix = "", v("clear", L.fontIconPrefix), v("update:modelValue", L.fontIconPrefix);
|
|
3089
3095
|
}, i = () => {
|
|
3090
3096
|
fa(() => {
|
|
3091
|
-
var K,
|
|
3092
|
-
L.fontIconWidth = (
|
|
3097
|
+
var K, ee;
|
|
3098
|
+
L.fontIconWidth = (ee = (K = E.value) == null ? void 0 : K.$el) == null ? void 0 : ee.offsetWidth;
|
|
3093
3099
|
});
|
|
3094
3100
|
}, J = () => {
|
|
3095
3101
|
window.addEventListener("resize", () => {
|
|
@@ -3100,12 +3106,12 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3100
3106
|
J(), i();
|
|
3101
3107
|
}), Ml(() => c == null ? void 0 : c.modelValue, (K) => {
|
|
3102
3108
|
L.fontIconPrefix = K;
|
|
3103
|
-
}, { immediate: !0 }), (K,
|
|
3104
|
-
const C = ne("svg-icon"), g = ne("el-input"), u = ne("el-tab-pane"), Se = ne("el-col"), Ce = ne("el-row"), Q = ne("el-scrollbar"),
|
|
3109
|
+
}, { immediate: !0 }), (K, ee) => {
|
|
3110
|
+
const C = ne("svg-icon"), g = ne("el-input"), u = ne("el-tab-pane"), Se = ne("el-col"), Ce = ne("el-row"), Q = ne("el-scrollbar"), pe = ne("el-tabs"), re = ne("el-popover");
|
|
3105
3111
|
return f(), X("div", hu, [
|
|
3106
3112
|
n(g, {
|
|
3107
3113
|
modelValue: L.fontIconSearch,
|
|
3108
|
-
"onUpdate:modelValue":
|
|
3114
|
+
"onUpdate:modelValue": ee[0] || (ee[0] = (se) => L.fontIconSearch = se),
|
|
3109
3115
|
placeholder: L.fontIconPlaceholder,
|
|
3110
3116
|
clearable: e.clearable,
|
|
3111
3117
|
disabled: e.disabled,
|
|
@@ -3141,9 +3147,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3141
3147
|
default: r(() => [
|
|
3142
3148
|
O("div", vu, [
|
|
3143
3149
|
O("div", gu, il(e.title), 1),
|
|
3144
|
-
n(
|
|
3150
|
+
n(pe, {
|
|
3145
3151
|
modelValue: L.fontIconTabActive,
|
|
3146
|
-
"onUpdate:modelValue":
|
|
3152
|
+
"onUpdate:modelValue": ee[1] || (ee[1] = (se) => L.fontIconTabActive = se),
|
|
3147
3153
|
onTabClick: M
|
|
3148
3154
|
}, {
|
|
3149
3155
|
default: r(() => [
|
|
@@ -3340,7 +3346,7 @@ function Au(e = "menu") {
|
|
|
3340
3346
|
linkMenuInfo: B,
|
|
3341
3347
|
updateMenuStatus: N,
|
|
3342
3348
|
menuMap: i
|
|
3343
|
-
} = Tl(_), J = ma(), { structureData: K } = Tl(J),
|
|
3349
|
+
} = Tl(_), J = ma(), { structureData: K } = Tl(J), ee = T([]), C = T([]), g = Vl(() => h == null ? void 0 : h.mode), u = (d) => d == null ? void 0 : d.map((S) => S.children && S.children.length > 0 ? {
|
|
3344
3350
|
...S,
|
|
3345
3351
|
// 水平菜单仅显示一层
|
|
3346
3352
|
children: S.level === 0 ? [] : S.children ?? [],
|
|
@@ -3360,7 +3366,7 @@ function Au(e = "menu") {
|
|
|
3360
3366
|
for (const [t, p] of (z = i.value) == null ? void 0 : z.entries())
|
|
3361
3367
|
d === (p == null ? void 0 : p.object_name) && (p != null && p.create_time) && (S = (te = new Date(p == null ? void 0 : p.create_time)) == null ? void 0 : te.getTime());
|
|
3362
3368
|
return S;
|
|
3363
|
-
},
|
|
3369
|
+
}, pe = (d, S = "", z = 0) => {
|
|
3364
3370
|
var I;
|
|
3365
3371
|
let te = Ll(d);
|
|
3366
3372
|
const t = Array.from(/* @__PURE__ */ new Set([...(I = K.value) == null ? void 0 : I.map((Z) => {
|
|
@@ -3389,11 +3395,11 @@ function Au(e = "menu") {
|
|
|
3389
3395
|
id: Ce(Fe),
|
|
3390
3396
|
create_time: Q(Fe)
|
|
3391
3397
|
};
|
|
3392
|
-
return Z.children && Z.children.length > 0 && (_e.children =
|
|
3398
|
+
return Z.children && Z.children.length > 0 && (_e.children = pe(Z.children, Fe, z + 1)), _e;
|
|
3393
3399
|
});
|
|
3394
3400
|
}, re = Vl(() => {
|
|
3395
3401
|
var z;
|
|
3396
|
-
let d = Ll(
|
|
3402
|
+
let d = Ll(ee.value);
|
|
3397
3403
|
if (d = [...d, ...ie.value], (d == null ? void 0 : d.length) === 0)
|
|
3398
3404
|
return L.push("/"), [];
|
|
3399
3405
|
El(d, Cl.value);
|
|
@@ -3410,7 +3416,7 @@ function Au(e = "menu") {
|
|
|
3410
3416
|
if (!d) return;
|
|
3411
3417
|
const S = (te = (z = d == null ? void 0 : d.path) == null ? void 0 : z.split("/")) == null ? void 0 : te[0];
|
|
3412
3418
|
if (S) {
|
|
3413
|
-
const p = (t =
|
|
3419
|
+
const p = (t = ee.value) == null ? void 0 : t.find((I) => (I == null ? void 0 : I.path) === S);
|
|
3414
3420
|
if (!p || (_.setActiveTopMenuPath(S), !(p != null && p.children))) return;
|
|
3415
3421
|
_.setAsideMenus(p == null ? void 0 : p.children), _.setActiveMenuPath(d == null ? void 0 : d.path), U.setRouteToChildPath(d == null ? void 0 : d.path);
|
|
3416
3422
|
}
|
|
@@ -3462,12 +3468,12 @@ function Au(e = "menu") {
|
|
|
3462
3468
|
{ immediate: !0 }
|
|
3463
3469
|
);
|
|
3464
3470
|
const Al = async (d) => {
|
|
3465
|
-
await dl(),
|
|
3471
|
+
await dl(), ee.value = pe(Eo(d)), M.value;
|
|
3466
3472
|
};
|
|
3467
3473
|
Ml(
|
|
3468
3474
|
() => V.value,
|
|
3469
3475
|
async (d) => {
|
|
3470
|
-
C.value = gt(), d ? (N.value && (_.setActiveTopMenuPath(""), _.setActiveMenuPath(""), _.setAsideMenus([])), Al(d)) :
|
|
3476
|
+
C.value = gt(), d ? (N.value && (_.setActiveTopMenuPath(""), _.setActiveMenuPath(""), _.setAsideMenus([])), Al(d)) : ee.value = [];
|
|
3471
3477
|
},
|
|
3472
3478
|
{
|
|
3473
3479
|
immediate: !0
|
|
@@ -3514,7 +3520,7 @@ function Au(e = "menu") {
|
|
|
3514
3520
|
}
|
|
3515
3521
|
function Ve(d, S) {
|
|
3516
3522
|
if (!S) return [];
|
|
3517
|
-
const z = [], te = new RegExp(`(^|/)${S}(/|$)`), t = Ll(
|
|
3523
|
+
const z = [], te = new RegExp(`(^|/)${S}(/|$)`), t = Ll(ee.value), p = pa(t, "path", D == null ? void 0 : D.path);
|
|
3518
3524
|
for (const [I, Z] of d.entries())
|
|
3519
3525
|
te.test(Z == null ? void 0 : Z.object_name) && z.push({
|
|
3520
3526
|
id: I,
|
|
@@ -3549,7 +3555,7 @@ function Au(e = "menu") {
|
|
|
3549
3555
|
}
|
|
3550
3556
|
]
|
|
3551
3557
|
}, I = await Tt(p);
|
|
3552
|
-
((d = I == null ? void 0 : I.data) == null ? void 0 : d.code) === 200 && ((z = (S = I == null ? void 0 : I.data) == null ? void 0 : S.message) != null && z.includes("成功")) && (
|
|
3558
|
+
((d = I == null ? void 0 : I.data) == null ? void 0 : d.code) === 200 && ((z = (S = I == null ? void 0 : I.data) == null ? void 0 : S.message) != null && z.includes("成功")) && (ee.value = (te = ee.value) == null ? void 0 : te.map((Z) => (Z == null ? void 0 : Z.path) === (D == null ? void 0 : D.path) ? {
|
|
3553
3559
|
...Z,
|
|
3554
3560
|
title: D == null ? void 0 : D.title,
|
|
3555
3561
|
icon: D == null ? void 0 : D.icon,
|
|
@@ -3566,7 +3572,7 @@ function Au(e = "menu") {
|
|
|
3566
3572
|
if (S) {
|
|
3567
3573
|
switch (Xe.type) {
|
|
3568
3574
|
case "create":
|
|
3569
|
-
|
|
3575
|
+
ee.value.push({
|
|
3570
3576
|
...D,
|
|
3571
3577
|
path: D == null ? void 0 : D.title,
|
|
3572
3578
|
level: 0,
|
|
@@ -3602,7 +3608,7 @@ function Au(e = "menu") {
|
|
|
3602
3608
|
}
|
|
3603
3609
|
]
|
|
3604
3610
|
}, t = await uo(te);
|
|
3605
|
-
((p = t == null ? void 0 : t.data) == null ? void 0 : p.code) === 200 && ((Z = (I = t == null ? void 0 : t.data) == null ? void 0 : I.message) != null && Z.includes("成功")) && (
|
|
3611
|
+
((p = t == null ? void 0 : t.data) == null ? void 0 : p.code) === 200 && ((Z = (I = t == null ? void 0 : t.data) == null ? void 0 : I.message) != null && Z.includes("成功")) && (ee.value = (me = re.value) == null ? void 0 : me.filter((Fe) => (Fe == null ? void 0 : Fe.path) !== (d == null ? void 0 : d.path)), cl.value = Date.now(), Xe.show = !1, w(), _.setAsideEditMenus([]), Ql.success("删除成功"));
|
|
3606
3612
|
});
|
|
3607
3613
|
} catch (S) {
|
|
3608
3614
|
throw new Error(S);
|
|
@@ -3636,7 +3642,7 @@ function Au(e = "menu") {
|
|
|
3636
3642
|
path: S == null ? void 0 : S.title
|
|
3637
3643
|
});
|
|
3638
3644
|
if (!I) return;
|
|
3639
|
-
|
|
3645
|
+
ee.value.push({
|
|
3640
3646
|
...S,
|
|
3641
3647
|
id: I,
|
|
3642
3648
|
path: S == null ? void 0 : S.title,
|
|
@@ -3688,7 +3694,7 @@ function Tu(e, h, c, v, _, U) {
|
|
|
3688
3694
|
onCloseMenu: e.closeMenu
|
|
3689
3695
|
}, {
|
|
3690
3696
|
title: r(({ menu: N }) => {
|
|
3691
|
-
var i, J, K,
|
|
3697
|
+
var i, J, K, ee;
|
|
3692
3698
|
return [
|
|
3693
3699
|
(N == null ? void 0 : N.path) !== ((i = e.menuForm) == null ? void 0 : i.path) ? (f(), ge(E, {
|
|
3694
3700
|
key: 0,
|
|
@@ -3701,7 +3707,7 @@ function Tu(e, h, c, v, _, U) {
|
|
|
3701
3707
|
title: "双击编辑",
|
|
3702
3708
|
onDblclick: Jl((C) => e.onDbClickMenu(N), ["stop"])
|
|
3703
3709
|
}, il(N.title ?? ""), 41, Mu)) : De("", !0),
|
|
3704
|
-
(K = e.menuForm) != null && K.path && ((
|
|
3710
|
+
(K = e.menuForm) != null && K.path && ((ee = e.menuForm) == null ? void 0 : ee.path) === (N == null ? void 0 : N.path) ? (f(), ge(ie, {
|
|
3705
3711
|
key: 2,
|
|
3706
3712
|
ref: "menuFormRef",
|
|
3707
3713
|
model: e.menuForm,
|
|
@@ -3820,7 +3826,7 @@ function Du(e = "menu") {
|
|
|
3820
3826
|
asideEditMenus: N,
|
|
3821
3827
|
menuTriggerType: i,
|
|
3822
3828
|
platform: J
|
|
3823
|
-
} = Tl(_), { fixMenuStatus: K } = Tl(U), { isSuperAdmin:
|
|
3829
|
+
} = Tl(_), { fixMenuStatus: K } = Tl(U), { isSuperAdmin: ee } = Qn(), C = Vl(() => h == null ? void 0 : h.mode), g = (R) => R == null ? void 0 : R.map((Ae) => {
|
|
3824
3830
|
var Te, Ye;
|
|
3825
3831
|
return !(Ae != null && Ae.children) || ((Te = Ae == null ? void 0 : Ae.children) == null ? void 0 : Te.length) === 0 ? Ae.config = v.value : Ae != null && Ae.children && ((Ye = Ae == null ? void 0 : Ae.children) == null ? void 0 : Ye.length) > 0 && (Ae.children = g(Ae.children)), Ae;
|
|
3826
3832
|
}), u = Vl(() => {
|
|
@@ -3872,7 +3878,7 @@ function Du(e = "menu") {
|
|
|
3872
3878
|
};
|
|
3873
3879
|
})
|
|
3874
3880
|
];
|
|
3875
|
-
}, Ce = T([]), Q = T([]),
|
|
3881
|
+
}, Ce = T([]), Q = T([]), pe = async (R) => {
|
|
3876
3882
|
var ve, Ae, Te, Ye, ae, ue, Pe, Le, oe, je, ml, Y, Qe, ll, $e, Rl, He, jl, hl, Ne, ea, _l;
|
|
3877
3883
|
try {
|
|
3878
3884
|
if (!l.value) return;
|
|
@@ -3939,11 +3945,11 @@ function Du(e = "menu") {
|
|
|
3939
3945
|
throw new Error(la);
|
|
3940
3946
|
}
|
|
3941
3947
|
}, re = T({}), se = async (R) => {
|
|
3942
|
-
_.setActiveAsideEditMenuPath(R == null ? void 0 : R.path), re.value = Ll(R), await
|
|
3948
|
+
_.setActiveAsideEditMenuPath(R == null ? void 0 : R.path), re.value = Ll(R), await pe(R);
|
|
3943
3949
|
}, Be = async (R) => {
|
|
3944
3950
|
K.value ? U.setFixMenuStatus(!1) : (w.value && (i.value = "open"), i.value === "click" ? V.value === 1 ? _.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : _.setActiveAsideEditMenuPath(R) : w.value || (_.setMenuTriggerType("click"), _.setActiveAsideEditMenuPath(R))), R != null && R.startsWith("/") ? x.push(R) : x.push("/"), V.value++;
|
|
3945
3951
|
const ve = pa(u.value, "path", R);
|
|
3946
|
-
ve && (re.value = Ll(ve), await
|
|
3952
|
+
ve && (re.value = Ll(ve), await pe(ve));
|
|
3947
3953
|
}, Me = (R) => {
|
|
3948
3954
|
w.value || _.setActiveMenuPath(R);
|
|
3949
3955
|
}, Ue = (R) => {
|
|
@@ -3991,7 +3997,7 @@ function Du(e = "menu") {
|
|
|
3991
3997
|
type: "warning"
|
|
3992
3998
|
}).then(async () => {
|
|
3993
3999
|
var ae, ue, Pe, Le, oe, je, ml;
|
|
3994
|
-
const ve =
|
|
4000
|
+
const ve = he(l.value, R == null ? void 0 : R.path), Ae = ve != null && ve.length ? ve == null ? void 0 : ve.map((Y) => ({
|
|
3995
4001
|
object_id: Y == null ? void 0 : Y.id
|
|
3996
4002
|
})) : [{ object_id: R == null ? void 0 : R.id }], Te = {
|
|
3997
4003
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
@@ -4074,8 +4080,8 @@ function Du(e = "menu") {
|
|
|
4074
4080
|
for (const R in be)
|
|
4075
4081
|
be[R] = "";
|
|
4076
4082
|
}, t = () => {
|
|
4077
|
-
for (const R in
|
|
4078
|
-
|
|
4083
|
+
for (const R in le)
|
|
4084
|
+
le[R] = "";
|
|
4079
4085
|
}, p = (R) => {
|
|
4080
4086
|
te(), G.parentPath = R == null ? void 0 : R.path, G.type = "create", G.show = !0, fa(() => {
|
|
4081
4087
|
var ve;
|
|
@@ -4164,7 +4170,7 @@ function Du(e = "menu") {
|
|
|
4164
4170
|
}).then(async () => {
|
|
4165
4171
|
var Ye, ae, ue, Pe;
|
|
4166
4172
|
G.type = "delete";
|
|
4167
|
-
const ve =
|
|
4173
|
+
const ve = he(l.value, R == null ? void 0 : R.path), Ae = {
|
|
4168
4174
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
4169
4175
|
changeContents: [
|
|
4170
4176
|
{
|
|
@@ -4183,7 +4189,7 @@ function Du(e = "menu") {
|
|
|
4183
4189
|
} catch (ve) {
|
|
4184
4190
|
throw new Error(ve);
|
|
4185
4191
|
} finally {
|
|
4186
|
-
await
|
|
4192
|
+
await pe(R);
|
|
4187
4193
|
}
|
|
4188
4194
|
};
|
|
4189
4195
|
function _e(R, ve, Ae) {
|
|
@@ -4191,7 +4197,7 @@ function Du(e = "menu") {
|
|
|
4191
4197
|
const Te = R.split("/");
|
|
4192
4198
|
return ve < 0 || ve >= Te.length ? (console.warn(`索引 ${ve} 超出范围,路径共有 ${Te.length} 个片段`), R) : (Te[ve] = Ae, Te.join("/"));
|
|
4193
4199
|
}
|
|
4194
|
-
function
|
|
4200
|
+
function he(R, ve) {
|
|
4195
4201
|
const Ae = [], Te = new RegExp(`(^|/)${ve}(/|$)`), Ye = Ll(u.value), ae = pa(Ye, "path", be == null ? void 0 : be.path);
|
|
4196
4202
|
for (const [ue, Pe] of R.entries())
|
|
4197
4203
|
Te.test(Pe == null ? void 0 : Pe.object_name) && Ae.push({
|
|
@@ -4211,7 +4217,7 @@ function Du(e = "menu") {
|
|
|
4211
4217
|
const k = T(!1), Ie = async () => {
|
|
4212
4218
|
var R, ve, Ae;
|
|
4213
4219
|
try {
|
|
4214
|
-
const Te =
|
|
4220
|
+
const Te = he(l.value, be == null ? void 0 : be.path);
|
|
4215
4221
|
if (!(Te != null && Te.length)) return;
|
|
4216
4222
|
const Ye = {
|
|
4217
4223
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
@@ -4242,25 +4248,25 @@ function Du(e = "menu") {
|
|
|
4242
4248
|
var Ae, Te, Ye, ae, ue, Pe, Le;
|
|
4243
4249
|
if (ve) {
|
|
4244
4250
|
if (!((Ae = re.value) != null && Ae.path)) return Ql.warning("请先选择所属菜单");
|
|
4245
|
-
const oe = pa(Q.value, "groupId",
|
|
4251
|
+
const oe = pa(Q.value, "groupId", le == null ? void 0 : le.pid);
|
|
4246
4252
|
let je;
|
|
4247
|
-
oe ? je = [...((Te = oe == null ? void 0 : oe.namePath) == null ? void 0 : Te.split("/")) ?? [],
|
|
4253
|
+
oe ? je = [...((Te = oe == null ? void 0 : oe.namePath) == null ? void 0 : Te.split("/")) ?? [], le == null ? void 0 : le.title] : je = [le == null ? void 0 : le.title];
|
|
4248
4254
|
const ml = {
|
|
4249
4255
|
//新增
|
|
4250
4256
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
4251
4257
|
objectName: (Ye = re.value) == null ? void 0 : Ye.path,
|
|
4252
4258
|
//path
|
|
4253
|
-
propertyName:
|
|
4259
|
+
propertyName: le == null ? void 0 : le.title,
|
|
4254
4260
|
//title
|
|
4255
|
-
type:
|
|
4256
|
-
leftMenuObjectId:
|
|
4261
|
+
type: le == null ? void 0 : le.type,
|
|
4262
|
+
leftMenuObjectId: le == null ? void 0 : le.pid,
|
|
4257
4263
|
//父特性id或菜单id,和menu存一起的
|
|
4258
4264
|
filter: {},
|
|
4259
4265
|
name: je,
|
|
4260
4266
|
order_no: Number(((Pe = (ue = Ce.value) == null ? void 0 : ue[((ae = Ce.value) == null ? void 0 : ae.length) - 1]) == null ? void 0 : Pe.order_no) || 0) + 1,
|
|
4261
4267
|
isShow: !0
|
|
4262
4268
|
}, Y = await yo(ye.type, ml);
|
|
4263
|
-
((Le = Y == null ? void 0 : Y.data) == null ? void 0 : Le.code) === 200 && (c("getCompForm",
|
|
4269
|
+
((Le = Y == null ? void 0 : Y.data) == null ? void 0 : Le.code) === 200 && (c("getCompForm", le), t(), await pe(re.value), Ql.success("新增成功"), re.value && se(re.value), ye.show = !1);
|
|
4264
4270
|
}
|
|
4265
4271
|
});
|
|
4266
4272
|
} catch (ve) {
|
|
@@ -4276,7 +4282,7 @@ function Du(e = "menu") {
|
|
|
4276
4282
|
title: [
|
|
4277
4283
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
4278
4284
|
]
|
|
4279
|
-
}),
|
|
4285
|
+
}), le = ta({
|
|
4280
4286
|
title: "",
|
|
4281
4287
|
type: "",
|
|
4282
4288
|
//Table
|
|
@@ -4348,7 +4354,7 @@ function Du(e = "menu") {
|
|
|
4348
4354
|
changeMenuStyle: Ue,
|
|
4349
4355
|
fixElement: ie,
|
|
4350
4356
|
onBlur: Ve,
|
|
4351
|
-
isSuperAdmin:
|
|
4357
|
+
isSuperAdmin: ee,
|
|
4352
4358
|
onClickCreateMenu: p,
|
|
4353
4359
|
menuPlusDialogInfo: G,
|
|
4354
4360
|
onCloseMenuPlusDialog: S,
|
|
@@ -4363,7 +4369,7 @@ function Du(e = "menu") {
|
|
|
4363
4369
|
onDbClickMenu: al,
|
|
4364
4370
|
groupDialogInfo: ye,
|
|
4365
4371
|
onCloseGroupDialog: z,
|
|
4366
|
-
compForm:
|
|
4372
|
+
compForm: le,
|
|
4367
4373
|
compRules: Ze,
|
|
4368
4374
|
compTypeOptions: tl,
|
|
4369
4375
|
onConfirmGroup: Re,
|
|
@@ -4384,7 +4390,7 @@ const Bu = zl(Du()), xu = ["title", "onDblclick"], Ru = { title: "确认" }, Pu
|
|
|
4384
4390
|
}, ju = { title: "确认" }, Qu = { title: "取消" }, Ku = { class: "dialog-footer" };
|
|
4385
4391
|
function Hu(e, h, c, v, _, U) {
|
|
4386
4392
|
var C;
|
|
4387
|
-
const E = ne("svg-icon"), L = ne("IconSelector"), V = ne("el-input"), x = ne("el-form-item"), ie = ne("el-form"), l = ne("el-popover"), M = ne("ss-edit-menu"), B = ne("el-cascader"), N = ne("el-option"), i = ne("el-select"), J = ne("el-button"), K = ne("ss-dialog"),
|
|
4393
|
+
const E = ne("svg-icon"), L = ne("IconSelector"), V = ne("el-input"), x = ne("el-form-item"), ie = ne("el-form"), l = ne("el-popover"), M = ne("ss-edit-menu"), B = ne("el-cascader"), N = ne("el-option"), i = ne("el-select"), J = ne("el-button"), K = ne("ss-dialog"), ee = Pt("loading");
|
|
4388
4394
|
return f(), X(rl, null, [
|
|
4389
4395
|
wa((f(), ge(M, {
|
|
4390
4396
|
ref: "menuRef",
|
|
@@ -4400,7 +4406,7 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4400
4406
|
onCloseMenu: e.closeMenu
|
|
4401
4407
|
}, {
|
|
4402
4408
|
title: r(({ menu: g }) => {
|
|
4403
|
-
var u, Se, Ce, Q,
|
|
4409
|
+
var u, Se, Ce, Q, pe;
|
|
4404
4410
|
return [
|
|
4405
4411
|
(g == null ? void 0 : g.path) !== ((u = e.menuForm) == null ? void 0 : u.path) ? (f(), ge(E, {
|
|
4406
4412
|
key: 0,
|
|
@@ -4470,7 +4476,7 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4470
4476
|
]),
|
|
4471
4477
|
_: 1
|
|
4472
4478
|
}, 8, ["model", "rules"])) : De("", !0),
|
|
4473
|
-
((
|
|
4479
|
+
((pe = e.menuForm) == null ? void 0 : pe.path) !== (g == null ? void 0 : g.path) ? (f(), X("span", Vu, [
|
|
4474
4480
|
n(l, {
|
|
4475
4481
|
title: "",
|
|
4476
4482
|
placement: "bottom-start",
|
|
@@ -4505,7 +4511,7 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4505
4511
|
}),
|
|
4506
4512
|
_: 1
|
|
4507
4513
|
}, 8, ["mode", "menuList", "isCollapse", "editingPath", "onClickMenu", "onOpenMenu", "onCloseMenu"])), [
|
|
4508
|
-
[
|
|
4514
|
+
[ee, e.loading]
|
|
4509
4515
|
]),
|
|
4510
4516
|
O("div", Nu, [
|
|
4511
4517
|
!e.menuPlusDialogInfo.show && e.activeMainEditMenuPath ? (f(), X("span", Uu, [
|
|
@@ -4861,8 +4867,8 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4861
4867
|
break;
|
|
4862
4868
|
case "add":
|
|
4863
4869
|
const Ce = (u = U.value) == null ? void 0 : u.find((Q) => {
|
|
4864
|
-
var
|
|
4865
|
-
return (
|
|
4870
|
+
var pe;
|
|
4871
|
+
return (pe = String(Q == null ? void 0 : Q.id)) == null ? void 0 : pe.includes("new");
|
|
4866
4872
|
});
|
|
4867
4873
|
if (Ce) {
|
|
4868
4874
|
const Q = V(Ce == null ? void 0 : Ce.id);
|
|
@@ -4883,13 +4889,13 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4883
4889
|
var g, u;
|
|
4884
4890
|
c != null && c.level && v("onDeleteTab", C), (g = String(C == null ? void 0 : C.id)) != null && g.includes("new") ? U.value = (u = U.value) == null ? void 0 : u.filter((Se) => (Se == null ? void 0 : Se.id) !== (C == null ? void 0 : C.id)) : v("onClickOperateData", "delete", C, c == null ? void 0 : c.group);
|
|
4885
4891
|
}, i = (C, g) => {
|
|
4886
|
-
var Ce, Q,
|
|
4892
|
+
var Ce, Q, pe;
|
|
4887
4893
|
if (!C) return;
|
|
4888
4894
|
const u = (Ce = String(g == null ? void 0 : g.id)) != null && Ce.includes("new") ? "create" : "update", Se = (Q = U.value) == null ? void 0 : Q.find((re) => {
|
|
4889
4895
|
var se;
|
|
4890
4896
|
return (se = String(re == null ? void 0 : re.id)) == null ? void 0 : se.includes("new");
|
|
4891
4897
|
});
|
|
4892
|
-
if (u == "create" && ((
|
|
4898
|
+
if (u == "create" && ((pe = U.value) == null ? void 0 : pe.find((se) => (se == null ? void 0 : se.prop) === C)))
|
|
4893
4899
|
return Ql.error("请勿创建重复参数名称");
|
|
4894
4900
|
v("onClickOperateData", u, {
|
|
4895
4901
|
...g,
|
|
@@ -4906,7 +4912,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4906
4912
|
var g, u, Se;
|
|
4907
4913
|
(Se = (u = E.value) == null ? void 0 : u[(g = C == null ? void 0 : C.props) == null ? void 0 : g.name]) == null || Se.focus();
|
|
4908
4914
|
});
|
|
4909
|
-
},
|
|
4915
|
+
}, ee = (C) => {
|
|
4910
4916
|
c != null && c.level && v("onDbClickTab", C), J.value = !0, v("onClickOperateData", "update", C, c == null ? void 0 : c.group), fa(() => {
|
|
4911
4917
|
var g, u;
|
|
4912
4918
|
(u = (g = E.value) == null ? void 0 : g[C == null ? void 0 : C.id]) == null || u.focus();
|
|
@@ -4915,7 +4921,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4915
4921
|
return Ml(() => c.data, (C) => {
|
|
4916
4922
|
U.value = C;
|
|
4917
4923
|
}, { immediate: !0, deep: !0 }), (C, g) => {
|
|
4918
|
-
const u = ne("el-icon"), Se = ne("svg-icon"), Ce = ne("el-input"), Q = ne("tab-index"),
|
|
4924
|
+
const u = ne("el-icon"), Se = ne("svg-icon"), Ce = ne("el-input"), Q = ne("tab-index"), pe = ne("el-tab-pane"), re = ne("el-tabs");
|
|
4919
4925
|
return f(), ge(re, {
|
|
4920
4926
|
key: e.key,
|
|
4921
4927
|
modelValue: _.value,
|
|
@@ -4928,7 +4934,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4928
4934
|
onTabClick: K
|
|
4929
4935
|
}, {
|
|
4930
4936
|
default: r(() => [
|
|
4931
|
-
(f(!0), X(rl, null, bl(U.value, (se) => (f(), ge(
|
|
4937
|
+
(f(!0), X(rl, null, bl(U.value, (se) => (f(), ge(pe, {
|
|
4932
4938
|
key: se == null ? void 0 : se.id,
|
|
4933
4939
|
label: se == null ? void 0 : se.label,
|
|
4934
4940
|
name: se == null ? void 0 : se.id
|
|
@@ -4963,7 +4969,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4963
4969
|
append: r(() => [
|
|
4964
4970
|
O("span", {
|
|
4965
4971
|
title: "编辑其他属性",
|
|
4966
|
-
onClick: Jl((Me) =>
|
|
4972
|
+
onClick: Jl((Me) => ee(se), ["stop"])
|
|
4967
4973
|
}, [
|
|
4968
4974
|
n(Se, {
|
|
4969
4975
|
name: "softEdit",
|
|
@@ -4993,7 +4999,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4993
4999
|
level: (se == null ? void 0 : se.level) + 1,
|
|
4994
5000
|
parentTab: se == null ? void 0 : se.id,
|
|
4995
5001
|
onOnChangeTabInput: i,
|
|
4996
|
-
onOnDbClickTab:
|
|
5002
|
+
onOnDbClickTab: ee,
|
|
4997
5003
|
onOnDeleteTab: N
|
|
4998
5004
|
}, null, 8, ["group", "data", "level", "parentTab"]))
|
|
4999
5005
|
])
|
|
@@ -5266,8 +5272,8 @@ const ga = (e, h) => {
|
|
|
5266
5272
|
var Re;
|
|
5267
5273
|
return (ga((Re = k == null ? void 0 : k.configInfo) == null ? void 0 : Re.content, _e == null ? void 0 : _e.comp) || "") === (_e == null ? void 0 : _e.value);
|
|
5268
5274
|
})) == null ? void 0 : te.map((k) => k == null ? void 0 : k.value), l.fixedColumns = ga((t = A == null ? void 0 : A.configInfo) == null ? void 0 : t.content, " FixColumn"), l.requiredColumns = ga((p = A == null ? void 0 : A.configInfo) == null ? void 0 : p.content, "ReqItem");
|
|
5269
|
-
const
|
|
5270
|
-
|
|
5275
|
+
const he = ga((I = A == null ? void 0 : A.configInfo) == null ? void 0 : I.content, "Button");
|
|
5276
|
+
he != null && he.length && (M.value = he == null ? void 0 : he.map((k) => {
|
|
5271
5277
|
var be;
|
|
5272
5278
|
const [Ie, ...Re] = k;
|
|
5273
5279
|
return {
|
|
@@ -5387,7 +5393,7 @@ const ga = (e, h) => {
|
|
|
5387
5393
|
]
|
|
5388
5394
|
});
|
|
5389
5395
|
let K = null;
|
|
5390
|
-
const
|
|
5396
|
+
const ee = () => {
|
|
5391
5397
|
var A, Ge, ke, Ve;
|
|
5392
5398
|
l != null && l.layout && ((ke = (Ge = (A = String(l == null ? void 0 : l.layout)) == null ? void 0 : A.replace(/[,,]/g, ",")) == null ? void 0 : Ge.split(",")) == null || ke.map((el) => Number(el || 0)));
|
|
5393
5399
|
const we = (Ve = M.value) == null ? void 0 : Ve.reduce((el, qe) => (el.push({
|
|
@@ -5424,7 +5430,7 @@ const ga = (e, h) => {
|
|
|
5424
5430
|
const Q = ta({
|
|
5425
5431
|
isTable: !1,
|
|
5426
5432
|
groupId: ""
|
|
5427
|
-
}),
|
|
5433
|
+
}), pe = (we) => Q.isTable && we === Q.groupId ? Ju : ld, re = (we) => {
|
|
5428
5434
|
Q.isTable = !Q.isTable, Q.groupId = we == null ? void 0 : we.id;
|
|
5429
5435
|
}, se = (we, A, Ge, ke = !1) => {
|
|
5430
5436
|
U("onClickOperateData", we, A, Ge, ke);
|
|
@@ -5526,7 +5532,7 @@ const ga = (e, h) => {
|
|
|
5526
5532
|
modelValue: s(l).name,
|
|
5527
5533
|
"onUpdate:modelValue": A[2] || (A[2] = (me) => s(l).name = me),
|
|
5528
5534
|
placeholder: "请输入",
|
|
5529
|
-
onChange:
|
|
5535
|
+
onChange: ee
|
|
5530
5536
|
}, {
|
|
5531
5537
|
append: r(() => {
|
|
5532
5538
|
var me, Fe;
|
|
@@ -5589,7 +5595,7 @@ const ga = (e, h) => {
|
|
|
5589
5595
|
A[31] || (A[31] = O("span", { class: "table-op-text" }, "切换视图", -1))
|
|
5590
5596
|
], 8, fd)
|
|
5591
5597
|
])) : De("", !0),
|
|
5592
|
-
t != null && t.hasContent ? (f(), ge(ya(
|
|
5598
|
+
t != null && t.hasContent ? (f(), ge(ya(pe(t == null ? void 0 : t.id)), {
|
|
5593
5599
|
key: t == null ? void 0 : t.id,
|
|
5594
5600
|
data: t == null ? void 0 : t.data,
|
|
5595
5601
|
group: t,
|
|
@@ -5627,7 +5633,7 @@ const ga = (e, h) => {
|
|
|
5627
5633
|
}),
|
|
5628
5634
|
n(G, {
|
|
5629
5635
|
type: "primary",
|
|
5630
|
-
onClick:
|
|
5636
|
+
onClick: ee
|
|
5631
5637
|
}, {
|
|
5632
5638
|
default: r(() => [...A[37] || (A[37] = [
|
|
5633
5639
|
gl("确认", -1)
|
|
@@ -6663,10 +6669,10 @@ const Gn = (e, h = 0) => {
|
|
|
6663
6669
|
Z in l && (l[Z] = t[Z]);
|
|
6664
6670
|
}), !(l != null && l.id)) return Ql.error("获取节点信息出错了");
|
|
6665
6671
|
const I = kc(w.value, l == null ? void 0 : l.id, "groupId");
|
|
6666
|
-
l.pid = (I == null ? void 0 : I.groupId) || (l == null ? void 0 : l.menuId) || "",
|
|
6672
|
+
l.pid = (I == null ? void 0 : I.groupId) || (l == null ? void 0 : l.menuId) || "", ee();
|
|
6667
6673
|
}
|
|
6668
|
-
}, K = T(!1),
|
|
6669
|
-
var t, p, I, Z, me, Fe, yl, _e,
|
|
6674
|
+
}, K = T(!1), ee = async () => {
|
|
6675
|
+
var t, p, I, Z, me, Fe, yl, _e, he, k, Ie, Re, be, ce, le, Ze, tl, We, ul, al, Ee, R, ve, Ae, Te, Ye, ae, ue, Pe;
|
|
6670
6676
|
B.value = !0;
|
|
6671
6677
|
try {
|
|
6672
6678
|
if (!U.value) return Ql.warning("请先选择所属菜单");
|
|
@@ -6682,7 +6688,7 @@ const Gn = (e, h = 0) => {
|
|
|
6682
6688
|
groups: (jl = He == null ? void 0 : He[1]) == null ? void 0 : jl.split("/")
|
|
6683
6689
|
//嵌套特性使用,分割,传值数组
|
|
6684
6690
|
};
|
|
6685
|
-
}), oe = (k = (
|
|
6691
|
+
}), oe = (k = (he = l == null ? void 0 : l.quotes) == null ? void 0 : he.filter((He) => ($e == null ? void 0 : $e.includes(He == null ? void 0 : He.join("/"))) || (Rl == null ? void 0 : Rl.includes(He == null ? void 0 : He.join("/"))))) == null ? void 0 : k.map((He) => {
|
|
6686
6692
|
var jl;
|
|
6687
6693
|
return {
|
|
6688
6694
|
menus: He == null ? void 0 : He[0],
|
|
@@ -6777,7 +6783,7 @@ const Gn = (e, h = 0) => {
|
|
|
6777
6783
|
},
|
|
6778
6784
|
{
|
|
6779
6785
|
key: "TextRGBA",
|
|
6780
|
-
value: (
|
|
6786
|
+
value: (le = l == null ? void 0 : l.textColor) == null ? void 0 : le.replace(/^rgba?/, "")
|
|
6781
6787
|
},
|
|
6782
6788
|
{
|
|
6783
6789
|
key: "TextBackRGBA",
|
|
@@ -6906,8 +6912,8 @@ const Gn = (e, h = 0) => {
|
|
|
6906
6912
|
]
|
|
6907
6913
|
}), Q = () => {
|
|
6908
6914
|
g.show = !1;
|
|
6909
|
-
},
|
|
6910
|
-
var t, p, I, Z, me, Fe, yl, _e,
|
|
6915
|
+
}, pe = async () => {
|
|
6916
|
+
var t, p, I, Z, me, Fe, yl, _e, he, k;
|
|
6911
6917
|
K.value = !1, B.value = !0;
|
|
6912
6918
|
try {
|
|
6913
6919
|
if (!u.groupId || !u.groupType) return Ql.error("特性信息获取出错了");
|
|
@@ -6919,7 +6925,7 @@ const Gn = (e, h = 0) => {
|
|
|
6919
6925
|
if (g.type === "create") {
|
|
6920
6926
|
if (!Re) return;
|
|
6921
6927
|
const ce = (u == null ? void 0 : u.prop) || (u == null ? void 0 : u.label);
|
|
6922
|
-
let
|
|
6928
|
+
let le;
|
|
6923
6929
|
if (u != null && u.parentProp) {
|
|
6924
6930
|
const ul = pa(Re == null ? void 0 : Re.data, "id", u == null ? void 0 : u.parentProp);
|
|
6925
6931
|
if (ul && ((me = ul == null ? void 0 : ul.children) != null && me.length)) {
|
|
@@ -6948,13 +6954,13 @@ const Gn = (e, h = 0) => {
|
|
|
6948
6954
|
disabled: (u == null ? void 0 : u.view) === "Read",
|
|
6949
6955
|
...be
|
|
6950
6956
|
}];
|
|
6951
|
-
|
|
6957
|
+
le = Re == null ? void 0 : Re.data;
|
|
6952
6958
|
} else {
|
|
6953
6959
|
const ul = (yl = Re == null ? void 0 : Re.data) == null ? void 0 : yl.filter((al) => {
|
|
6954
6960
|
var Ee;
|
|
6955
6961
|
return !((Ee = String(al == null ? void 0 : al.id)) != null && Ee.includes("new"));
|
|
6956
6962
|
});
|
|
6957
|
-
|
|
6963
|
+
le = [...ul == null ? void 0 : ul.map((al) => ({
|
|
6958
6964
|
...al,
|
|
6959
6965
|
label: al == null ? void 0 : al.label,
|
|
6960
6966
|
formType: al == null ? void 0 : al.compType
|
|
@@ -6969,7 +6975,7 @@ const Gn = (e, h = 0) => {
|
|
|
6969
6975
|
...be
|
|
6970
6976
|
}];
|
|
6971
6977
|
}
|
|
6972
|
-
const Ze = [...Re == null ? void 0 : Re.hiddenColumns, ...dn(
|
|
6978
|
+
const Ze = [...Re == null ? void 0 : Re.hiddenColumns, ...dn(le, Cn)], tl = {
|
|
6973
6979
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6974
6980
|
objectId: u.groupId,
|
|
6975
6981
|
key: u == null ? void 0 : u.groupType,
|
|
@@ -6981,14 +6987,14 @@ const Gn = (e, h = 0) => {
|
|
|
6981
6987
|
if (!G.value) return;
|
|
6982
6988
|
const ce = pa(Re == null ? void 0 : Re.data, "id", u == null ? void 0 : u.id);
|
|
6983
6989
|
if ((ce == null ? void 0 : ce.id) !== (u == null ? void 0 : u.id)) return;
|
|
6984
|
-
(
|
|
6990
|
+
(he = Object.keys(u)) == null || he.forEach((We) => {
|
|
6985
6991
|
We in ce && (ce[We] = u[We], ce.formType = u == null ? void 0 : u.compType, ce.value = u == null ? void 0 : u.defaultValue, ce.prop = u == null ? void 0 : u.id, ce.disabled = (u == null ? void 0 : u.view) === "Read", ce.mainKey = u == null ? void 0 : u.mainKey, ce.options = u != null && u.defaultValue ? u == null ? void 0 : u.options : [], ce.groups = be == null ? void 0 : be.groups, ce.menus = be == null ? void 0 : be.menus, ce.words = be == null ? void 0 : be.words);
|
|
6986
6992
|
});
|
|
6987
|
-
const
|
|
6993
|
+
const le = [...Re == null ? void 0 : Re.hiddenColumns, ...dn(Re == null ? void 0 : Re.data, Cn)], Ze = {
|
|
6988
6994
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6989
6995
|
objectId: u.groupId,
|
|
6990
6996
|
key: u == null ? void 0 : u.groupType,
|
|
6991
|
-
tableColumns: g != null && g.hasMultiHeader ? [
|
|
6997
|
+
tableColumns: g != null && g.hasMultiHeader ? [le] : le,
|
|
6992
6998
|
quoteFilter: ""
|
|
6993
6999
|
}, tl = await no("save", Ze);
|
|
6994
7000
|
((k = tl == null ? void 0 : tl.data) == null ? void 0 : k.code) === 200 && (Ie.data = Re == null ? void 0 : Re.data, K.value = !0, Ql.success("编辑成功"));
|
|
@@ -7002,7 +7008,7 @@ const Gn = (e, h = 0) => {
|
|
|
7002
7008
|
var t;
|
|
7003
7009
|
try {
|
|
7004
7010
|
K.value = !1, (t = Se.value) == null || t.validate(async (p) => {
|
|
7005
|
-
p && (await
|
|
7011
|
+
p && (await pe(), g.show = !1);
|
|
7006
7012
|
});
|
|
7007
7013
|
} catch (p) {
|
|
7008
7014
|
throw new Error(p);
|
|
@@ -7015,7 +7021,7 @@ const Gn = (e, h = 0) => {
|
|
|
7015
7021
|
children: I.children || []
|
|
7016
7022
|
}));
|
|
7017
7023
|
}, Be = T([]), Me = T([]), Ue = T([]), dl = T(!1), Cl = async () => {
|
|
7018
|
-
var t, p, I, Z, me, Fe, yl, _e,
|
|
7024
|
+
var t, p, I, Z, me, Fe, yl, _e, he, k;
|
|
7019
7025
|
try {
|
|
7020
7026
|
let Ie = [];
|
|
7021
7027
|
const Re = await ot({
|
|
@@ -7025,12 +7031,12 @@ const Gn = (e, h = 0) => {
|
|
|
7025
7031
|
if (((t = Re == null ? void 0 : Re.data) == null ? void 0 : t.code) !== 200) return;
|
|
7026
7032
|
const be = (I = (p = Re == null ? void 0 : Re.data) == null ? void 0 : p.result) == null ? void 0 : I.map((Ze) => Ze == null ? void 0 : Ze.object_id), ce = [...new Set(be)].map((Ze) => `struct_${Ze}`);
|
|
7027
7033
|
if (!(ce != null && ce.length)) return;
|
|
7028
|
-
let
|
|
7034
|
+
let le = await An({
|
|
7029
7035
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
7030
7036
|
tableNames: ce ?? []
|
|
7031
7037
|
});
|
|
7032
|
-
if (dl.value = (me = (Z =
|
|
7033
|
-
const Ze = Ll((
|
|
7038
|
+
if (dl.value = (me = (Z = le == null ? void 0 : le.data) == null ? void 0 : Z.result) == null ? void 0 : me.includes("错误"), ((Fe = le == null ? void 0 : le.data) == null ? void 0 : Fe.code) === 200 && !((_e = (yl = le == null ? void 0 : le.data) == null ? void 0 : yl.result) != null && _e.includes("错误"))) {
|
|
7039
|
+
const Ze = Ll((he = le == null ? void 0 : le.data) == null ? void 0 : he.result);
|
|
7034
7040
|
Ie = (k = Ze == null ? void 0 : Ze.flatMap((We) => We)) == null ? void 0 : k.map((We) => {
|
|
7035
7041
|
var R, ve, Ae, Te, Ye, ae, ue, Pe, Le;
|
|
7036
7042
|
const ul = Array.isArray((ve = (R = We == null ? void 0 : We.结构) == null ? void 0 : R.contents) == null ? void 0 : ve[0]), al = (Te = (Ae = We == null ? void 0 : We.source_table) == null ? void 0 : Ae.split("_")) == null ? void 0 : Te[1], Ee = pa((Ye = Re == null ? void 0 : Re.data) == null ? void 0 : Ye.result, "object_id", al);
|
|
@@ -7067,17 +7073,17 @@ const Gn = (e, h = 0) => {
|
|
|
7067
7073
|
try {
|
|
7068
7074
|
switch (K.value = !1, t) {
|
|
7069
7075
|
case "create":
|
|
7070
|
-
u.groupType = (I == null ? void 0 : I.type) || ye.value, u.groupId = I == null ? void 0 : I.id, Al(I == null ? void 0 : I.id), g.type = t, g.hasMultiHeader = I == null ? void 0 : I.hasMultiHeader, Z ? (u.prop = (p == null ? void 0 : p.prop) || (p == null ? void 0 : p.label), u.label = p == null ? void 0 : p.label, u.parentProp = p == null ? void 0 : p.parentProp,
|
|
7076
|
+
u.groupType = (I == null ? void 0 : I.type) || ye.value, u.groupId = I == null ? void 0 : I.id, Al(I == null ? void 0 : I.id), g.type = t, g.hasMultiHeader = I == null ? void 0 : I.hasMultiHeader, Z ? (u.prop = (p == null ? void 0 : p.prop) || (p == null ? void 0 : p.label), u.label = p == null ? void 0 : p.label, u.parentProp = p == null ? void 0 : p.parentProp, pe()) : g.show = !0;
|
|
7071
7077
|
break;
|
|
7072
7078
|
case "update":
|
|
7073
7079
|
Al(I == null ? void 0 : I.id), (me = Object.keys(p)) == null || me.forEach((k) => {
|
|
7074
7080
|
k in u && (u[k] = p[k]);
|
|
7075
7081
|
});
|
|
7076
|
-
const { parent:
|
|
7077
|
-
u.id = p == null ? void 0 : p.id, u.parentProp =
|
|
7082
|
+
const { parent: he } = Co(p == null ? void 0 : p.id);
|
|
7083
|
+
u.id = p == null ? void 0 : p.id, u.parentProp = he, u.groupType = I == null ? void 0 : I.type, u.groupId = I == null ? void 0 : I.id, u.options = (yl = (Fe = p == null ? void 0 : p.value) == null ? void 0 : Fe.split("/")) == null ? void 0 : yl.map((k) => ({
|
|
7078
7084
|
value: k,
|
|
7079
7085
|
label: k
|
|
7080
|
-
})), (_e = p == null ? void 0 : p.words) != null && _e.length && (u.related = Ad(p)), u.view = p != null && p.disabled ? "Read" : "Edit", g.type = t, g.hasMultiHeader = I == null ? void 0 : I.hasMultiHeader, Z ?
|
|
7086
|
+
})), (_e = p == null ? void 0 : p.words) != null && _e.length && (u.related = Ad(p)), u.view = p != null && p.disabled ? "Read" : "Edit", g.type = t, g.hasMultiHeader = I == null ? void 0 : I.hasMultiHeader, Z ? pe() : g.show = !0;
|
|
7081
7087
|
break;
|
|
7082
7088
|
case "delete":
|
|
7083
7089
|
st.confirm("是否确认要删除", "", {
|
|
@@ -7085,14 +7091,14 @@ const Gn = (e, h = 0) => {
|
|
|
7085
7091
|
cancelButtonText: "取消",
|
|
7086
7092
|
type: "warning"
|
|
7087
7093
|
}).then(async () => {
|
|
7088
|
-
var
|
|
7094
|
+
var le, Ze, tl;
|
|
7089
7095
|
const k = pa(a.value, "id", I == null ? void 0 : I.id);
|
|
7090
7096
|
if (!k) return;
|
|
7091
7097
|
const Ie = Ll(k), { parent: Re } = Co(p == null ? void 0 : p.id);
|
|
7092
7098
|
if (Re) {
|
|
7093
7099
|
const We = pa(Ie == null ? void 0 : Ie.data, "id", Re);
|
|
7094
7100
|
if (!We) return;
|
|
7095
|
-
We.children = (
|
|
7101
|
+
We.children = (le = We.children) == null ? void 0 : le.filter((ul) => (ul == null ? void 0 : ul.id) !== (p == null ? void 0 : p.id));
|
|
7096
7102
|
} else
|
|
7097
7103
|
Ie.data = (Ze = Ie.data) == null ? void 0 : Ze.filter((We) => (We == null ? void 0 : We.id) !== (p == null ? void 0 : p.id));
|
|
7098
7104
|
const be = {
|
|
@@ -7106,8 +7112,8 @@ const Gn = (e, h = 0) => {
|
|
|
7106
7112
|
});
|
|
7107
7113
|
break;
|
|
7108
7114
|
}
|
|
7109
|
-
} catch (
|
|
7110
|
-
throw new Error(
|
|
7115
|
+
} catch (he) {
|
|
7116
|
+
throw new Error(he);
|
|
7111
7117
|
} finally {
|
|
7112
7118
|
B.value = !1;
|
|
7113
7119
|
}
|
|
@@ -7152,10 +7158,10 @@ const Gn = (e, h = 0) => {
|
|
|
7152
7158
|
var I, Z, me, Fe, yl, _e;
|
|
7153
7159
|
let p = [];
|
|
7154
7160
|
G.value = t;
|
|
7155
|
-
for (const [
|
|
7161
|
+
for (const [he, k] of t.entries())
|
|
7156
7162
|
p.push({
|
|
7157
7163
|
name: k == null ? void 0 : k.groupName,
|
|
7158
|
-
id:
|
|
7164
|
+
id: he,
|
|
7159
7165
|
menuId: k == null ? void 0 : k.menuId,
|
|
7160
7166
|
type: k == null ? void 0 : k.groupType,
|
|
7161
7167
|
data: (I = Gn(k == null ? void 0 : k.columns)) == null ? void 0 : I.filter((Ie) => Ie == null ? void 0 : Ie.prop),
|
|
@@ -7169,9 +7175,9 @@ const Gn = (e, h = 0) => {
|
|
|
7169
7175
|
quoteWays: k == null ? void 0 : k.quoteWays,
|
|
7170
7176
|
configInfo: k == null ? void 0 : k.configInfo
|
|
7171
7177
|
});
|
|
7172
|
-
a.value = (me = jn(p)) == null ? void 0 : me.sort((
|
|
7178
|
+
a.value = (me = jn(p)) == null ? void 0 : me.sort((he, k) => {
|
|
7173
7179
|
var Ie, Re, be;
|
|
7174
|
-
return (Ie =
|
|
7180
|
+
return (Ie = he == null ? void 0 : he.children) != null && Ie.length && (he.order_no = (be = (Re = he == null ? void 0 : he.children) == null ? void 0 : Re[0]) == null ? void 0 : be.order_no), (he == null ? void 0 : he.order_no) - (k == null ? void 0 : k.order_no);
|
|
7175
7181
|
}), ye.value = (_e = (yl = (Fe = p == null ? void 0 : p[0]) == null ? void 0 : Fe.data) == null ? void 0 : yl[0]) == null ? void 0 : _e.groupType;
|
|
7176
7182
|
}, d = (t) => {
|
|
7177
7183
|
try {
|
|
@@ -7210,7 +7216,7 @@ const Gn = (e, h = 0) => {
|
|
|
7210
7216
|
}, { immediate: !0 }), Ml([() => E.value, () => L.value], ([t, p]) => {
|
|
7211
7217
|
((t == null ? void 0 : t.length) === 0 || p) && (a.value = []), Cl();
|
|
7212
7218
|
}, { immediate: !0, deep: !0 }), (t, p) => {
|
|
7213
|
-
const I = ne("el-scrollbar"), Z = ne("el-input"), me = ne("el-form-item"), Fe = ne("el-form"), yl = ne("el-header"), _e = ne("el-aside"),
|
|
7219
|
+
const I = ne("el-scrollbar"), Z = ne("el-input"), me = ne("el-form-item"), Fe = ne("el-form"), yl = ne("el-header"), _e = ne("el-aside"), he = ne("el-breadcrumb-item"), k = ne("el-breadcrumb"), Ie = ne("el-card"), Re = ne("el-main"), be = ne("el-container"), ce = ne("el-cascader"), le = ne("el-radio"), Ze = ne("el-radio-group"), tl = ne("el-option"), We = ne("el-select"), ul = ne("el-button"), al = Pt("loading");
|
|
7214
7220
|
return f(), X(rl, null, [
|
|
7215
7221
|
wa((f(), ge(be, { class: "client-container" }, {
|
|
7216
7222
|
default: r(() => [
|
|
@@ -7354,7 +7360,7 @@ const Gn = (e, h = 0) => {
|
|
|
7354
7360
|
default: r(() => {
|
|
7355
7361
|
var Ee;
|
|
7356
7362
|
return [
|
|
7357
|
-
(f(!0), X(rl, null, bl((Ee = s(U)) == null ? void 0 : Ee.split("/"), (R) => (f(), ge(
|
|
7363
|
+
(f(!0), X(rl, null, bl((Ee = s(U)) == null ? void 0 : Ee.split("/"), (R) => (f(), ge(he, { key: R }, {
|
|
7358
7364
|
default: r(() => [
|
|
7359
7365
|
gl(il(R), 1)
|
|
7360
7366
|
]),
|
|
@@ -7483,13 +7489,13 @@ const Gn = (e, h = 0) => {
|
|
|
7483
7489
|
"onUpdate:modelValue": p[5] || (p[5] = (Ee) => u.mainKey = Ee)
|
|
7484
7490
|
}, {
|
|
7485
7491
|
default: r(() => [
|
|
7486
|
-
n(
|
|
7492
|
+
n(le, { value: !0 }, {
|
|
7487
7493
|
default: r(() => [...p[11] || (p[11] = [
|
|
7488
7494
|
gl("是", -1)
|
|
7489
7495
|
])]),
|
|
7490
7496
|
_: 1
|
|
7491
7497
|
}),
|
|
7492
|
-
n(
|
|
7498
|
+
n(le, { value: !1 }, {
|
|
7493
7499
|
default: r(() => [...p[12] || (p[12] = [
|
|
7494
7500
|
gl("否", -1)
|
|
7495
7501
|
])]),
|
|
@@ -7570,7 +7576,7 @@ const Gn = (e, h = 0) => {
|
|
|
7570
7576
|
"onUpdate:modelValue": p[9] || (p[9] = (Ee) => u.view = Ee)
|
|
7571
7577
|
}, {
|
|
7572
7578
|
default: r(() => [
|
|
7573
|
-
(f(!0), X(rl, null, bl(s(zn), (Ee) => (f(), ge(
|
|
7579
|
+
(f(!0), X(rl, null, bl(s(zn), (Ee) => (f(), ge(le, {
|
|
7574
7580
|
key: Ee == null ? void 0 : Ee.value,
|
|
7575
7581
|
value: Ee == null ? void 0 : Ee.value
|
|
7576
7582
|
}, {
|
|
@@ -7667,14 +7673,14 @@ function Zn(e = "menu") {
|
|
|
7667
7673
|
operateType: "修改菜单名",
|
|
7668
7674
|
operateIcon: "FixedMenu"
|
|
7669
7675
|
}
|
|
7670
|
-
]), U = na(), E = Ta(Bl), L = ma(Bl), { loginUserInfo: V } = Tl(L), x = T(0), ie = bt(), l = T(), { asideMenus: M, menuTriggerType: B, platform: N, jumpMenuInform: i } = Tl(U), { fixMenuStatus: J } = Tl(E), { isSuperAdmin: K } = Qn(),
|
|
7676
|
+
]), U = na(), E = Ta(Bl), L = ma(Bl), { loginUserInfo: V } = Tl(L), x = T(0), ie = bt(), l = T(), { asideMenus: M, menuTriggerType: B, platform: N, jumpMenuInform: i } = Tl(U), { fixMenuStatus: J } = Tl(E), { isSuperAdmin: K } = Qn(), ee = Vl(() => v == null ? void 0 : v.mode), C = (a) => a == null ? void 0 : a.map((w) => {
|
|
7671
7677
|
var D, G;
|
|
7672
7678
|
return !(w != null && w.children) || ((D = w == null ? void 0 : w.children) == null ? void 0 : D.length) === 0 ? w.config = _.value : w != null && w.children && ((G = w == null ? void 0 : w.children) == null ? void 0 : G.length) > 0 && (w.children = C(w.children)), w;
|
|
7673
7679
|
}), g = Vl(() => {
|
|
7674
7680
|
let a = [...M.value];
|
|
7675
7681
|
if ((a == null ? void 0 : a.length) === 0)
|
|
7676
7682
|
return ie.push("/"), [];
|
|
7677
|
-
const y = re(a,
|
|
7683
|
+
const y = re(a, pe.value);
|
|
7678
7684
|
return y.isFlag || (a = y == null ? void 0 : y.data), a = a == null ? void 0 : a.map((w) => {
|
|
7679
7685
|
var D, G;
|
|
7680
7686
|
return !(w != null && w.children) || ((D = w == null ? void 0 : w.children) == null ? void 0 : D.length) === 0 ? w.config = _.value : w != null && w.children && ((G = w == null ? void 0 : w.children) == null ? void 0 : G.length) > 0 && (w.children = C(w.children)), w;
|
|
@@ -7695,7 +7701,7 @@ function Zn(e = "menu") {
|
|
|
7695
7701
|
ha(() => {
|
|
7696
7702
|
x.value = 1;
|
|
7697
7703
|
});
|
|
7698
|
-
const
|
|
7704
|
+
const pe = Vl(() => {
|
|
7699
7705
|
const a = sessionStorage.getItem("authority");
|
|
7700
7706
|
return a ? JSON.parse(a) : [];
|
|
7701
7707
|
});
|
|
@@ -7728,7 +7734,7 @@ function Zn(e = "menu") {
|
|
|
7728
7734
|
data: a
|
|
7729
7735
|
}), U.setIsRefreshMenus(!0);
|
|
7730
7736
|
}, xl = async (a, y, w) => {
|
|
7731
|
-
var D, G, ye, H, d, S, z, te, t, p, I, Z, me, Fe, yl, _e,
|
|
7737
|
+
var D, G, ye, H, d, S, z, te, t, p, I, Z, me, Fe, yl, _e, he, k, Ie, Re, be, ce, le, Ze, tl, We, ul;
|
|
7732
7738
|
if (y === "create") {
|
|
7733
7739
|
let al = (w == null ? void 0 : w.title) + "(1)", Ee = (G = (D = w == null ? void 0 : w.path) == null ? void 0 : D.split("/")) == null ? void 0 : G.filter((ve, Ae) => {
|
|
7734
7740
|
var Te, Ye;
|
|
@@ -7765,7 +7771,7 @@ function Zn(e = "menu") {
|
|
|
7765
7771
|
tableId: ve == null ? void 0 : ve.id,
|
|
7766
7772
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7767
7773
|
createUserId: (yl = V.value) == null ? void 0 : yl.id,
|
|
7768
|
-
createUserLayer: ((_e = V.value) == null ? void 0 : _e.dept) || ((
|
|
7774
|
+
createUserLayer: ((_e = V.value) == null ? void 0 : _e.dept) || ((he = V.value) == null ? void 0 : he.部门名称)
|
|
7769
7775
|
},
|
|
7770
7776
|
value: {
|
|
7771
7777
|
tableData: ae
|
|
@@ -7786,14 +7792,14 @@ function Zn(e = "menu") {
|
|
|
7786
7792
|
(al == null ? void 0 : al.length) > 0 && await Kr({
|
|
7787
7793
|
ids: al
|
|
7788
7794
|
}), U.setUpdateMenuStatus(!1), await Et(), U.setActiveMenuPath(
|
|
7789
|
-
(tl = (Ze = (
|
|
7795
|
+
(tl = (Ze = (le = w == null ? void 0 : w.path) == null ? void 0 : le.split("/")) == null ? void 0 : Ze.filter((Ee, R) => {
|
|
7790
7796
|
var ve, Ae;
|
|
7791
7797
|
return R !== ((Ae = (ve = w == null ? void 0 : w.path) == null ? void 0 : ve.split("/")) == null ? void 0 : Ae.length) - 1;
|
|
7792
7798
|
})) == null ? void 0 : tl.join("/")
|
|
7793
7799
|
), U.setActiveTopMenuPath((ul = (We = w == null ? void 0 : w.path) == null ? void 0 : We.split("/")) == null ? void 0 : ul[0]), U.setIsRefreshMenus(!1), U.setIsRefreshMenus(!0);
|
|
7794
7800
|
}
|
|
7795
7801
|
}, we = async (a, y) => {
|
|
7796
|
-
var te, t, p, I, Z, me, Fe, yl, _e,
|
|
7802
|
+
var te, t, p, I, Z, me, Fe, yl, _e, he, k, Ie, Re, be, ce, le, Ze, tl, We, ul, al, Ee, R, ve, Ae, Te, Ye, ae, ue, Pe, Le;
|
|
7797
7803
|
let w = await on({
|
|
7798
7804
|
key: {
|
|
7799
7805
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -7815,8 +7821,8 @@ function Zn(e = "menu") {
|
|
|
7815
7821
|
}), H = ye == null ? void 0 : ye.join("/");
|
|
7816
7822
|
ye.push((Fe = a == null ? void 0 : a.target) == null ? void 0 : Fe.value), ye = ye == null ? void 0 : ye.join("/");
|
|
7817
7823
|
let d = await Pa(H, sessionStorage.getItem("systemKey"), "");
|
|
7818
|
-
if (((Ie = (k = (
|
|
7819
|
-
let oe = (Ze = (
|
|
7824
|
+
if (((Ie = (k = (he = (_e = (yl = d == null ? void 0 : d[0]) == null ? void 0 : yl.compData) == null ? void 0 : _e.find((oe) => (oe == null ? void 0 : oe.key) === "header")) == null ? void 0 : he.contents) == null ? void 0 : k[0]) == null ? void 0 : Ie.directiveLabel) === "#isMain") {
|
|
7825
|
+
let oe = (Ze = (le = (ce = (be = (Re = d == null ? void 0 : d[0]) == null ? void 0 : Re.compData) == null ? void 0 : be.find((Qe) => (Qe == null ? void 0 : Qe.key) === "header")) == null ? void 0 : ce.contents) == null ? void 0 : le[0]) == null ? void 0 : Ze.prop, je = (ul = (We = (tl = d == null ? void 0 : d[0]) == null ? void 0 : tl.compData) == null ? void 0 : We.find(
|
|
7820
7826
|
(Qe) => (Qe == null ? void 0 : Qe.key) === "tableContents"
|
|
7821
7827
|
)) == null ? void 0 : ul.contents, ml = (ve = (R = (Ee = (al = d == null ? void 0 : d[0]) == null ? void 0 : al.compData) == null ? void 0 : Ee.find((Qe) => (Qe == null ? void 0 : Qe.key) === "header")) == null ? void 0 : R.contents) == null ? void 0 : ve.map((Qe) => Qe == null ? void 0 : Qe.prop), Y;
|
|
7822
7828
|
if (je == null || je.forEach((Qe) => {
|
|
@@ -7908,7 +7914,7 @@ function Zn(e = "menu") {
|
|
|
7908
7914
|
dialogInfo: se,
|
|
7909
7915
|
beforeDialogDestroy: Ge,
|
|
7910
7916
|
clickMenuIcon: A,
|
|
7911
|
-
mode:
|
|
7917
|
+
mode: ee,
|
|
7912
7918
|
renderMenuList: g,
|
|
7913
7919
|
clickMenu: u,
|
|
7914
7920
|
openMenu: Se,
|
|
@@ -7964,7 +7970,7 @@ function $n(e = "menu") {
|
|
|
7964
7970
|
// activeMenuPath,
|
|
7965
7971
|
linkMenuInfo: i,
|
|
7966
7972
|
updateMenuStatus: J
|
|
7967
|
-
} = Tl(v), K = ma(), { structureData:
|
|
7973
|
+
} = Tl(v), K = ma(), { structureData: ee } = Tl(K), C = T([]), g = T([]), u = Vl(() => h == null ? void 0 : h.mode), Se = T({}), Ce = (a) => a == null ? void 0 : a.map((y) => y.children && y.children.length > 0 ? {
|
|
7968
7974
|
...y,
|
|
7969
7975
|
// 水平菜单仅显示一层
|
|
7970
7976
|
children: y.level === 0 ? [] : y.children ?? [],
|
|
@@ -7972,10 +7978,10 @@ function $n(e = "menu") {
|
|
|
7972
7978
|
} : y), Q = (a, y) => {
|
|
7973
7979
|
var w, D;
|
|
7974
7980
|
return (D = (w = g.value) == null ? void 0 : w.find((G) => (a.title + y).includes(G.value))) == null ? void 0 : D.value;
|
|
7975
|
-
},
|
|
7981
|
+
}, pe = (a, y = "", w = 0) => {
|
|
7976
7982
|
var H;
|
|
7977
7983
|
let D = Ll(a);
|
|
7978
|
-
const G = Array.from(/* @__PURE__ */ new Set([...(H =
|
|
7984
|
+
const G = Array.from(/* @__PURE__ */ new Set([...(H = ee.value) == null ? void 0 : H.map((d) => {
|
|
7979
7985
|
var S;
|
|
7980
7986
|
return (S = d == null ? void 0 : d.key) == null ? void 0 : S.pageKey;
|
|
7981
7987
|
})]));
|
|
@@ -7999,7 +8005,7 @@ function $n(e = "menu") {
|
|
|
7999
8005
|
children: [],
|
|
8000
8006
|
childMenus: []
|
|
8001
8007
|
};
|
|
8002
|
-
return d.children && d.children.length > 0 && (te.children =
|
|
8008
|
+
return d.children && d.children.length > 0 && (te.children = pe(d.children, S, w + 1)), te;
|
|
8003
8009
|
});
|
|
8004
8010
|
}, re = T(null), se = Vl(() => {
|
|
8005
8011
|
let a = Ll(C.value);
|
|
@@ -8107,7 +8113,7 @@ function $n(e = "menu") {
|
|
|
8107
8113
|
if (g.value = gt(), a) {
|
|
8108
8114
|
J.value && (v.setActiveTopMenuPath(""), v.setActiveMenuPath(""), v.setAsideMenus([]));
|
|
8109
8115
|
const y = a;
|
|
8110
|
-
C.value =
|
|
8116
|
+
C.value = pe(Eo(y));
|
|
8111
8117
|
}
|
|
8112
8118
|
},
|
|
8113
8119
|
{
|
|
@@ -8139,7 +8145,7 @@ function $n(e = "menu") {
|
|
|
8139
8145
|
};
|
|
8140
8146
|
}), qe = async (a) => {
|
|
8141
8147
|
var w, D, G, ye, H, d;
|
|
8142
|
-
const y = (w =
|
|
8148
|
+
const y = (w = ee.value) == null ? void 0 : w.find((S) => {
|
|
8143
8149
|
var z;
|
|
8144
8150
|
return ((z = S == null ? void 0 : S.key) == null ? void 0 : z.pageKey) === "menu";
|
|
8145
8151
|
});
|
|
@@ -8250,7 +8256,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8250
8256
|
}).length
|
|
8251
8257
|
);
|
|
8252
8258
|
Vl(() => U.value > 99 ? "99+" : U.value);
|
|
8253
|
-
const E = Io(Bl), { originalPath: L } = Tl(E), V = L.value, x = yt(Bl), { selectTitle: ie } = Tl(x), l = T(!1), M = T(null), B = T(), N = T(!1), i = Ln(Bl), { blobUrls: J } = Tl(i), K = T(!1),
|
|
8259
|
+
const E = Io(Bl), { originalPath: L } = Tl(E), V = L.value, x = yt(Bl), { selectTitle: ie } = Tl(x), l = T(!1), M = T(null), B = T(), N = T(!1), i = Ln(Bl), { blobUrls: J } = Tl(i), K = T(!1), ee = T(!1), C = T(!1), g = T([]), u = T(!1), Se = T(null), Ce = T([]), Q = T(!1), pe = (ae) => {
|
|
8254
8260
|
const ue = (ae == null ? void 0 : ae.menuFilter) || [];
|
|
8255
8261
|
return Array.isArray(ue) && (ue == null ? void 0 : ue.some((Pe) => {
|
|
8256
8262
|
const Le = typeof Pe == "string" ? Pe : JSON.stringify(Pe);
|
|
@@ -8287,7 +8293,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8287
8293
|
Ml(
|
|
8288
8294
|
() => A.value,
|
|
8289
8295
|
async (ae) => {
|
|
8290
|
-
ae && (
|
|
8296
|
+
ae && (ee.value = !0), ae === "弯管仿真加工分析/仿真动画生成" ? C.value = !0 : C.value = !1, ae === "弯管仿真加工分析/程序输出" ? u.value = !0 : u.value = !1, vt != null && vt.find((ue) => {
|
|
8291
8297
|
var Pe;
|
|
8292
8298
|
return (ue == null ? void 0 : ue.key) === ((Pe = ae == null ? void 0 : ae.split("/")) == null ? void 0 : Pe[(ae == null ? void 0 : ae.split("/").length) - 1]);
|
|
8293
8299
|
}) ? K.value = !0 : K.value = !1;
|
|
@@ -8451,15 +8457,15 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8451
8457
|
const _e = (ae) => {
|
|
8452
8458
|
Z = ae.clientX, me = parseInt(getComputedStyle(D.value).width, 10), document.addEventListener("mousemove", Fe), document.addEventListener("mouseup", yl);
|
|
8453
8459
|
};
|
|
8454
|
-
let
|
|
8460
|
+
let he = 0, k = 0, Ie = 0, Re = 0;
|
|
8455
8461
|
function be(ae) {
|
|
8456
|
-
|
|
8462
|
+
he = ae.clientX, k = ae.clientY, Ie = ye.value.x, Re = ye.value.y, document.addEventListener("mousemove", ce), document.addEventListener("mouseup", le);
|
|
8457
8463
|
}
|
|
8458
8464
|
function ce(ae) {
|
|
8459
|
-
ye.value.x = Ie + (ae.clientX -
|
|
8465
|
+
ye.value.x = Ie + (ae.clientX - he), ye.value.y = Re + (ae.clientY - k);
|
|
8460
8466
|
}
|
|
8461
|
-
function
|
|
8462
|
-
document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup",
|
|
8467
|
+
function le() {
|
|
8468
|
+
document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup", le);
|
|
8463
8469
|
}
|
|
8464
8470
|
const Ze = T(""), tl = (ae) => {
|
|
8465
8471
|
Ze.value = ae;
|
|
@@ -8772,7 +8778,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8772
8778
|
style: Yl({ display: (Ne == null ? void 0 : Ne.isShow) === !1 ? "none" : "flex" })
|
|
8773
8779
|
}, [
|
|
8774
8780
|
((_l = Ne == null ? void 0 : Ne.comp) == null ? void 0 : _l.toUpperCase()) !== "TABLE" && Ne.name ? (f(), X("div", np, [
|
|
8775
|
-
|
|
8781
|
+
pe(Ne) ? De("", !0) : (f(), X("div", rp, il(Ne.name), 1))
|
|
8776
8782
|
])) : De("", !0),
|
|
8777
8783
|
s(Ya) ? (f(), ge(ya(s(Qa)(Ne.comp)), {
|
|
8778
8784
|
compName: Ne.name,
|
|
@@ -9182,14 +9188,14 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9182
9188
|
const c = wp(e);
|
|
9183
9189
|
return `${h}__layout__${JSON.stringify((e == null ? void 0 : e.cardLayout) ?? {})}__${zt(e == null ? void 0 : e.menuFilter, e == null ? void 0 : e.groupFilter).join("|")}__inner__${c}`;
|
|
9184
9190
|
}, lr = (e, h, c, v) => {
|
|
9185
|
-
var U, E, L, V, x, ie, l, M, B, N, i, J, K,
|
|
9191
|
+
var U, E, L, V, x, ie, l, M, B, N, i, J, K, ee, C, g, u, Se;
|
|
9186
9192
|
let _ = ((E = (U = h.get(e == null ? void 0 : e.quotePage)) == null ? void 0 : U.contents) == null ? void 0 : E.find((Ce) => Jt((v == null ? void 0 : v.quoteGroup) ?? [], Ce == null ? void 0 : Ce.name))) ?? ((L = h.get(e == null ? void 0 : e.quotePage)) == null ? void 0 : L.contents) ?? [];
|
|
9187
9193
|
if (!Array.isArray(_) && ((V = _ == null ? void 0 : _.tableColumns) == null ? void 0 : V.length) > 0) {
|
|
9188
9194
|
let Ce = Ll(_), Q = (l = (ie = (x = Ce.filter) == null ? void 0 : x.replace("(", Il)) == null ? void 0 : ie.split(Il)) == null ? void 0 : l[1];
|
|
9189
9195
|
Q = "(" + (Q == null ? void 0 : Q.slice(0, (Q == null ? void 0 : Q.length) - 1));
|
|
9190
|
-
let
|
|
9191
|
-
!(Ce != null && Ce.filter) || (Ce == null ? void 0 : Ce.filter) === "" ? Ce.filter = e == null ? void 0 : e.filter : Ce.filter =
|
|
9192
|
-
let re = (g = (C = (
|
|
9196
|
+
let pe = (N = (B = (M = e == null ? void 0 : e.filter) == null ? void 0 : M.replace("(", Il)) == null ? void 0 : B.split(Il)) == null ? void 0 : N[0];
|
|
9197
|
+
!(Ce != null && Ce.filter) || (Ce == null ? void 0 : Ce.filter) === "" ? Ce.filter = e == null ? void 0 : e.filter : Ce.filter = pe + Q + "," + ((K = (J = (i = e == null ? void 0 : e.filter) == null ? void 0 : i.replace("(", Il)) == null ? void 0 : J.split(Il)) == null ? void 0 : K[1]);
|
|
9198
|
+
let re = (g = (C = (ee = Ce.filter) == null ? void 0 : ee.replace("(", Il)) == null ? void 0 : C.split(Il)) == null ? void 0 : g[1];
|
|
9193
9199
|
re = re == null ? void 0 : re.slice(0, (re == null ? void 0 : re.length) - 1), re = et(re, ",");
|
|
9194
9200
|
let se = re == null ? void 0 : re.filter((Be) => Be == null ? void 0 : Be.includes("@Type"));
|
|
9195
9201
|
return (se == null ? void 0 : se.length) > 0 && (se != null && se.find((Be) => Be == null ? void 0 : Be.includes("@Type"))) && ((u = se == null ? void 0 : se[(se == null ? void 0 : se.length) - 1]) != null && u.includes("Manual")) && (Ce.tableContents = []), Ce.calculatorFilters = v.calculatorFilters, at(Ce, v), Ce.name = c, [Ce];
|
|
@@ -9197,8 +9203,8 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9197
9203
|
Array.isArray(_) || (_ = [_]);
|
|
9198
9204
|
let Ce = [];
|
|
9199
9205
|
return (Se = Ll(_)) == null || Se.forEach((Q) => {
|
|
9200
|
-
var
|
|
9201
|
-
if (!(Q != null && Q.filter) || ((
|
|
9206
|
+
var pe, re, se, Be, Me, Ue, dl, Cl, Al, El, Xe, xl, we, A, Ge, ke, Ve, el, qe, pl, cl, a, y, w, D, G;
|
|
9207
|
+
if (!(Q != null && Q.filter) || ((pe = Q == null ? void 0 : Q.tableColumns) == null ? void 0 : pe.length) > 0 || ((re = Q == null ? void 0 : Q.value) == null ? void 0 : re.length) > 0) {
|
|
9202
9208
|
let ye = (Me = (Be = (se = e == null ? void 0 : e.filter) == null ? void 0 : se.replace("(", Il)) == null ? void 0 : Be.split(Il)) == null ? void 0 : Me[0], H = (Cl = (dl = (Ue = Q.filter) == null ? void 0 : Ue.replace("(", Il)) == null ? void 0 : dl.split(Il)) == null ? void 0 : Cl[1];
|
|
9203
9209
|
H = "(" + (H == null ? void 0 : H.slice(0, (H == null ? void 0 : H.length) - 1)), !(Q != null && Q.filter) || (Q == null ? void 0 : Q.filter) === "" ? Q.filter = e == null ? void 0 : e.filter : Q.filter = ye + H + "," + ((Xe = (El = (Al = e == null ? void 0 : e.filter) == null ? void 0 : Al.replace("(", Il)) == null ? void 0 : El.split(Il)) == null ? void 0 : Xe[1]);
|
|
9204
9210
|
let d = (A = (we = (xl = Q == null ? void 0 : Q.filter) == null ? void 0 : xl.replace("(", Il)) == null ? void 0 : we.split(Il)) == null ? void 0 : A[1];
|
|
@@ -9234,9 +9240,9 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9234
9240
|
x == null || x.forEach((J) => {
|
|
9235
9241
|
(J == null ? void 0 : J.key) !== "path" && (i == null || i.push(J));
|
|
9236
9242
|
}), i = i == null ? void 0 : i.map((J, K) => {
|
|
9237
|
-
var
|
|
9243
|
+
var ee, C;
|
|
9238
9244
|
if (K === (i == null ? void 0 : i.length) - 1) {
|
|
9239
|
-
const g = (
|
|
9245
|
+
const g = (ee = x == null ? void 0 : x.find((Ce) => (Ce == null ? void 0 : Ce.key) === "path")) == null ? void 0 : ee.isShow, u = ((C = x == null ? void 0 : x.find((Ce) => (Ce == null ? void 0 : Ce.key) === "path")) == null ? void 0 : C.menuFilter) ?? [], Se = Array.isArray(u) && (u == null ? void 0 : u.some((Ce) => {
|
|
9240
9246
|
const Q = typeof Ce == "string" ? Ce : JSON.stringify(Ce);
|
|
9241
9247
|
return (Q == null ? void 0 : Q.includes("@Hide")) && (Q == null ? void 0 : Q.includes("Yes"));
|
|
9242
9248
|
}));
|
|
@@ -9248,12 +9254,12 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9248
9254
|
let i = ie, J = [];
|
|
9249
9255
|
x == null || x.forEach((K) => {
|
|
9250
9256
|
(K == null ? void 0 : K.key) !== "path" && (J == null || J.push(K));
|
|
9251
|
-
}), J = J == null ? void 0 : J.map((K,
|
|
9257
|
+
}), J = J == null ? void 0 : J.map((K, ee) => {
|
|
9252
9258
|
var C, g;
|
|
9253
|
-
if (
|
|
9259
|
+
if (ee === (J == null ? void 0 : J.length) - 1) {
|
|
9254
9260
|
const u = (C = x == null ? void 0 : x.find((Q) => (Q == null ? void 0 : Q.key) === "path")) == null ? void 0 : C.isShow, Se = ((g = x == null ? void 0 : x.find((Q) => (Q == null ? void 0 : Q.key) === "path")) == null ? void 0 : g.menuFilter) ?? [], Ce = Array.isArray(Se) && (Se == null ? void 0 : Se.some((Q) => {
|
|
9255
|
-
const
|
|
9256
|
-
return (
|
|
9261
|
+
const pe = typeof Q == "string" ? Q : JSON.stringify(Q);
|
|
9262
|
+
return (pe == null ? void 0 : pe.includes("@Hide")) && (pe == null ? void 0 : pe.includes("Yes"));
|
|
9257
9263
|
}));
|
|
9258
9264
|
K.isShow = u ?? (Ce ? !1 : K.isShow ?? !0);
|
|
9259
9265
|
}
|
|
@@ -9269,34 +9275,34 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9269
9275
|
return L = L == null ? void 0 : L.map((V) => {
|
|
9270
9276
|
var l, M, B, N;
|
|
9271
9277
|
let x = [], ie = ((B = (M = (l = V == null ? void 0 : V.key) == null ? void 0 : l.split("/")) == null ? void 0 : M.filter((i, J) => {
|
|
9272
|
-
var K,
|
|
9273
|
-
return ((
|
|
9278
|
+
var K, ee;
|
|
9279
|
+
return ((ee = (K = V == null ? void 0 : V.key) == null ? void 0 : K.split("/")) == null ? void 0 : ee.length) - 1 !== J;
|
|
9274
9280
|
})) == null ? void 0 : B.join("/")) + "/";
|
|
9275
9281
|
return (N = V.contents) == null || N.forEach((i, J) => {
|
|
9276
|
-
var g, u, Se, Ce, Q,
|
|
9277
|
-
const K = i == null ? void 0 : i.isShow,
|
|
9278
|
-
const
|
|
9279
|
-
return (
|
|
9282
|
+
var g, u, Se, Ce, Q, pe, re, se, Be, Me, Ue, dl, Cl, Al, El, Xe, xl, we, A, Ge, ke, Ve, el, qe, pl, cl, a, y, w, D, G, ye, H, d, S, z, te, t, p, I, Z, me, Fe, yl;
|
|
9283
|
+
const K = i == null ? void 0 : i.isShow, ee = (i == null ? void 0 : i.menuFilter) ?? [], C = Array.isArray(ee) && (ee == null ? void 0 : ee.some((_e) => {
|
|
9284
|
+
const he = typeof _e == "string" ? _e : JSON.stringify(_e);
|
|
9285
|
+
return (he == null ? void 0 : he.includes("@Hide")) && (he == null ? void 0 : he.includes("Yes"));
|
|
9280
9286
|
}));
|
|
9281
9287
|
if (K == null && C && (i.isShow = !1), i.isShow = ((Se = (u = (g = E == null ? void 0 : E.get(ie)) == null ? void 0 : g.contents) == null ? void 0 : u.find((_e) => {
|
|
9282
|
-
var
|
|
9283
|
-
return ((k = _e == null ? void 0 : _e.name) == null ? void 0 : k[((
|
|
9288
|
+
var he, k, Ie, Re;
|
|
9289
|
+
return ((k = _e == null ? void 0 : _e.name) == null ? void 0 : k[((he = _e == null ? void 0 : _e.name) == null ? void 0 : he.length) - 1]) === ((Re = i == null ? void 0 : i.name) == null ? void 0 : Re[((Ie = i == null ? void 0 : i.name) == null ? void 0 : Ie.length) - 1]);
|
|
9284
9290
|
})) == null ? void 0 : Se.isShow) ?? i.isShow, (i == null ? void 0 : i.filter) !== "" && (i != null && i.filter) && (i != null && i.quotePage))
|
|
9285
9291
|
if (((Ce = i == null ? void 0 : i.tableColumns) == null ? void 0 : Ce.length) === 0) {
|
|
9286
|
-
let _e = ((
|
|
9292
|
+
let _e = ((pe = (Q = E.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : Q.contents) == null ? void 0 : pe.find((he) => Jt(i == null ? void 0 : i.quoteGroup, (he == null ? void 0 : he.name) ?? []))) ?? ((re = E.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : re.contents) ?? [];
|
|
9287
9293
|
if (!Array.isArray(_e) && ((se = _e == null ? void 0 : _e.tableColumns) == null ? void 0 : se.length) > 0) {
|
|
9288
9294
|
i.tableColumns = Ll(_e == null ? void 0 : _e.tableColumns) ?? [];
|
|
9289
|
-
let
|
|
9290
|
-
|
|
9291
|
-
let k =
|
|
9292
|
-
|
|
9295
|
+
let he = (Ue = (Me = (Be = i == null ? void 0 : i.filter) == null ? void 0 : Be.replace("(", Il)) == null ? void 0 : Me.split(Il)) == null ? void 0 : Ue[1];
|
|
9296
|
+
he = he == null ? void 0 : he.slice(0, (he == null ? void 0 : he.length) - 1), he = et(he, ",");
|
|
9297
|
+
let k = he == null ? void 0 : he.filter((Ie) => Ie == null ? void 0 : Ie.includes("@Type"));
|
|
9298
|
+
he != null && he.find((Ie) => Ie == null ? void 0 : Ie.includes("@Type")) && !((dl = k == null ? void 0 : k[(k == null ? void 0 : k.length) - 1]) != null && dl.includes("Manual")) && (i.tableContents = Ll(_e == null ? void 0 : _e.tableContents) ?? []), x.push(i);
|
|
9293
9299
|
} else {
|
|
9294
|
-
let
|
|
9300
|
+
let he = [];
|
|
9295
9301
|
Array.isArray(_e) || (_e = [_e]), (Cl = Ll(_e)) == null || Cl.forEach((k) => {
|
|
9296
|
-
var Ie, Re, be, ce,
|
|
9302
|
+
var Ie, Re, be, ce, le, Ze, tl, We, ul, al, Ee, R, ve, Ae, Te, Ye, ae, ue, Pe, Le, oe, je, ml, Y, Qe, ll, $e, Rl, He, jl, hl, Ne, ea, _l, la;
|
|
9297
9303
|
if (!(k != null && k.filter) || ((Ie = k == null ? void 0 : k.tableColumns) == null ? void 0 : Ie.length) > 0 || ((Re = k == null ? void 0 : k.value) == null ? void 0 : Re.length) > 0) {
|
|
9298
9304
|
k.name = [...i == null ? void 0 : i.name, ...(k == null ? void 0 : k.name) ?? []];
|
|
9299
|
-
let Kl = (
|
|
9305
|
+
let Kl = (le = (ce = (be = i == null ? void 0 : i.filter) == null ? void 0 : be.replace("(", Il)) == null ? void 0 : ce.split(Il)) == null ? void 0 : le[0], Ul = (We = (tl = (Ze = k.filter) == null ? void 0 : Ze.replace("(", Il)) == null ? void 0 : tl.split(Il)) == null ? void 0 : We[1];
|
|
9300
9306
|
Ul = "(" + (Ul == null ? void 0 : Ul.slice(0, (Ul == null ? void 0 : Ul.length) - 1)), !(k != null && k.filter) || (k == null ? void 0 : k.filter) === "" ? k.filter = i == null ? void 0 : i.filter : k.filter = Kl + Ul + "," + ((Ee = (al = (ul = i == null ? void 0 : i.filter) == null ? void 0 : ul.replace("(", Il)) == null ? void 0 : al.split(Il)) == null ? void 0 : Ee[1]), k.calculatorFilters = i.calculatorFilters, k.fatherSyncContents = (i == null ? void 0 : i.fatherSyncContents) ?? [], k.sonSyncContents = i.sonSyncContents ?? [], k.fatherSyncContents = (R = k == null ? void 0 : k.fatherSyncContents) == null ? void 0 : R.map((Je) => {
|
|
9301
9307
|
var Ke, kl;
|
|
9302
9308
|
return Je != null && Je.groups ? { ...Je } : Object.assign({}, Je, {
|
|
@@ -9311,7 +9317,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9311
9317
|
let Sl = (Ye = (Te = (Ae = k == null ? void 0 : k.filter) == null ? void 0 : Ae.replace("(", Il)) == null ? void 0 : Te.split(Il)) == null ? void 0 : Ye[1];
|
|
9312
9318
|
Sl = Sl == null ? void 0 : Sl.slice(0, (Sl == null ? void 0 : Sl.length) - 1), Sl = et(Sl, ",");
|
|
9313
9319
|
let wl = Sl == null ? void 0 : Sl.filter((Je) => Je == null ? void 0 : Je.includes("@Type"));
|
|
9314
|
-
((ae = k == null ? void 0 : k.tableContents) == null ? void 0 : ae.length) > 0 && (Sl != null && Sl.find((Je) => Je == null ? void 0 : Je.includes("@Type"))) && ((ue = wl == null ? void 0 : wl[(wl == null ? void 0 : wl.length) - 1]) != null && ue.includes("Manual")) && (k.tableContents = []),
|
|
9320
|
+
((ae = k == null ? void 0 : k.tableContents) == null ? void 0 : ae.length) > 0 && (Sl != null && Sl.find((Je) => Je == null ? void 0 : Je.includes("@Type"))) && ((ue = wl == null ? void 0 : wl[(wl == null ? void 0 : wl.length) - 1]) != null && ue.includes("Manual")) && (k.tableContents = []), he.push(k);
|
|
9315
9321
|
} else {
|
|
9316
9322
|
let Kl = (oe = (Le = (Pe = i == null ? void 0 : i.filter) == null ? void 0 : Pe.replace("(", Il)) == null ? void 0 : Le.split(Il)) == null ? void 0 : oe[0], Ul = (Y = (ml = (je = k.filter) == null ? void 0 : je.replace("(", Il)) == null ? void 0 : ml.split(Il)) == null ? void 0 : Y[1];
|
|
9317
9323
|
Ul = "(" + (Ul == null ? void 0 : Ul.slice(0, (Ul == null ? void 0 : Ul.length) - 1)), !(k != null && k.filter) || (k == null ? void 0 : k.filter) === "" ? k.filter = i == null ? void 0 : i.filter : k.filter = Kl + Ul + "," + (($e = (ll = (Qe = i == null ? void 0 : i.filter) == null ? void 0 : Qe.replace("(", Il)) == null ? void 0 : ll.split(Il)) == null ? void 0 : $e[1]);
|
|
@@ -9325,23 +9331,23 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9325
9331
|
}), k.relatedQuotes = i.relatedQuotes ?? [], at(k, i);
|
|
9326
9332
|
let wl = Sl == null ? void 0 : Sl.filter((Je) => Je == null ? void 0 : Je.includes("@Type"));
|
|
9327
9333
|
(wl == null ? void 0 : wl.length) > 0 && (wl != null && wl.find((Je) => Je == null ? void 0 : Je.includes("@eType"))) && ((ea = wl == null ? void 0 : wl[(wl == null ? void 0 : wl.length) - 1]) != null && ea.includes("Manual")) && (k.tableContents = []), (la = lr(k, E, (((_l = i == null ? void 0 : i.name) == null ? void 0 : _l.length) > 0, i == null ? void 0 : i.name), i)) == null || la.forEach((Je) => {
|
|
9328
|
-
|
|
9334
|
+
he.push(Ll(Je));
|
|
9329
9335
|
});
|
|
9330
9336
|
}
|
|
9331
|
-
}),
|
|
9337
|
+
}), he == null || he.forEach((k) => {
|
|
9332
9338
|
x.push(k);
|
|
9333
9339
|
});
|
|
9334
9340
|
}
|
|
9335
9341
|
} else {
|
|
9336
|
-
let _e = ((El = (Al = E.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : Al.contents) == null ? void 0 : El.find((Ie) => Jt(i == null ? void 0 : i.quoteGroup, (Ie == null ? void 0 : Ie.name) ?? []))) ?? ((Xe = E.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : Xe.contents) ?? [],
|
|
9337
|
-
|
|
9338
|
-
let k =
|
|
9339
|
-
if (
|
|
9342
|
+
let _e = ((El = (Al = E.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : Al.contents) == null ? void 0 : El.find((Ie) => Jt(i == null ? void 0 : i.quoteGroup, (Ie == null ? void 0 : Ie.name) ?? []))) ?? ((Xe = E.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : Xe.contents) ?? [], he = (A = (we = (xl = i == null ? void 0 : i.filter) == null ? void 0 : xl.replace("(", Il)) == null ? void 0 : we.split(Il)) == null ? void 0 : A[1];
|
|
9343
|
+
he = he == null ? void 0 : he.slice(0, (he == null ? void 0 : he.length) - 1), he = et(he, ",");
|
|
9344
|
+
let k = he == null ? void 0 : he.filter((Ie) => Ie == null ? void 0 : Ie.includes("@Type"));
|
|
9345
|
+
if (he != null && he.find((Ie) => Ie == null ? void 0 : Ie.includes("@Type")) && !((Ge = k == null ? void 0 : k[(k == null ? void 0 : k.length) - 1]) != null && Ge.includes("Manual"))) {
|
|
9340
9346
|
let Ie = [];
|
|
9341
9347
|
(ke = ac(_e == null ? void 0 : _e.tableContents, _e == null ? void 0 : _e.tableColumns)) == null || ke.forEach((Re, be) => {
|
|
9342
|
-
var
|
|
9348
|
+
var le;
|
|
9343
9349
|
let ce = [];
|
|
9344
|
-
ce.push(be), (
|
|
9350
|
+
ce.push(be), (le = i == null ? void 0 : i.tableColumns) == null || le.forEach((Ze) => {
|
|
9345
9351
|
Re == null || Re.forEach((tl) => {
|
|
9346
9352
|
(Ze == null ? void 0 : Ze.prop) === (tl == null ? void 0 : tl.key) && ce.push((tl == null ? void 0 : tl.value) ?? "");
|
|
9347
9353
|
});
|
|
@@ -9353,19 +9359,19 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9353
9359
|
else if ((i == null ? void 0 : i.filter) !== "" && (i != null && i.filter) && ((Ve = i == null ? void 0 : i.value) == null ? void 0 : Ve.length) === 0) {
|
|
9354
9360
|
let _e = i == null ? void 0 : i.formPage;
|
|
9355
9361
|
(_e == null ? void 0 : _e[(_e == null ? void 0 : _e.length) - 1]) === "/" && (_e = _e == null ? void 0 : _e.slice(0, (_e == null ? void 0 : _e.length) - 1));
|
|
9356
|
-
let
|
|
9357
|
-
!Array.isArray(
|
|
9362
|
+
let he = (qe = (el = E.get(_e)) == null ? void 0 : el.contents) == null ? void 0 : qe.find((k) => Jt(i == null ? void 0 : i.formGroup, (k == null ? void 0 : k.name) ?? []));
|
|
9363
|
+
!Array.isArray(he) && (((pl = he == null ? void 0 : he.value) == null ? void 0 : pl.length) > 0 || ((cl = he == null ? void 0 : he.tableColumns) == null ? void 0 : cl.length) > 0) && (((a = he == null ? void 0 : he.value) == null ? void 0 : a.length) > 0 ? i.value = he == null ? void 0 : he.value : (i.value = (w = (y = Ll(he)) == null ? void 0 : y.tableColumns) == null ? void 0 : w.map((k) => {
|
|
9358
9364
|
var Ie;
|
|
9359
|
-
return k.disabled = !0, k.width = (Ie =
|
|
9365
|
+
return k.disabled = !0, k.width = (Ie = he == null ? void 0 : he.tableColumns) == null ? void 0 : Ie.length, k;
|
|
9360
9366
|
}), i.filter = i.filter === "" ? "(@Related: true)" : ((G = i.filter) == null ? void 0 : G.slice(0, ((D = i.filter) == null ? void 0 : D.length) - 1)) + ",@Related: true)")), x.push(i);
|
|
9361
9367
|
} else if (((ye = i == null ? void 0 : i.tableContents) == null ? void 0 : ye.length) > 0 && ((H = i == null ? void 0 : i.tableColumns) == null ? void 0 : H.length) === 0) {
|
|
9362
|
-
let _e = ((z = (S = (d = V == null ? void 0 : V.key) == null ? void 0 : d.split("/")) == null ? void 0 : S.filter((
|
|
9368
|
+
let _e = ((z = (S = (d = V == null ? void 0 : V.key) == null ? void 0 : d.split("/")) == null ? void 0 : S.filter((he, k) => {
|
|
9363
9369
|
var Ie, Re;
|
|
9364
9370
|
return k !== ((Re = (Ie = V == null ? void 0 : V.key) == null ? void 0 : Ie.split("/")) == null ? void 0 : Re.length) - 1;
|
|
9365
9371
|
})) == null ? void 0 : z.join("/")) + "/";
|
|
9366
9372
|
if (((p = (t = (te = E == null ? void 0 : E.get(_e)) == null ? void 0 : te.contents) == null ? void 0 : t[J]) == null ? void 0 : p.key) === "Form") {
|
|
9367
|
-
let
|
|
9368
|
-
i = (Z = (I = E == null ? void 0 : E.get(_e)) == null ? void 0 : I.contents) == null ? void 0 : Z[J], i.contents =
|
|
9373
|
+
let he = Ll(i).tableContents;
|
|
9374
|
+
i = (Z = (I = E == null ? void 0 : E.get(_e)) == null ? void 0 : I.contents) == null ? void 0 : Z[J], i.contents = he;
|
|
9369
9375
|
} else
|
|
9370
9376
|
i.tableColumns = (yl = (Fe = (me = E == null ? void 0 : E.get(_e)) == null ? void 0 : me.contents) == null ? void 0 : Fe[J]) == null ? void 0 : yl.tableColumns;
|
|
9371
9377
|
x.push(i);
|
|
@@ -9378,7 +9384,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9378
9384
|
if ((ie == null ? void 0 : ie.length) !== (x == null ? void 0 : x.length)) {
|
|
9379
9385
|
let B = [];
|
|
9380
9386
|
(M = V.contents) == null || M.forEach((N) => {
|
|
9381
|
-
var J, K,
|
|
9387
|
+
var J, K, ee, C;
|
|
9382
9388
|
const i = St(N);
|
|
9383
9389
|
if (!(B != null && B.find((g) => St(g) === i)))
|
|
9384
9390
|
B.push(N);
|
|
@@ -9387,7 +9393,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9387
9393
|
B[g].tableContents = [...((J = B[g]) == null ? void 0 : J.tableContents) ?? [], ...N.tableContents ?? []], B[g].tableColumns = ((K = B[g].tableColumns) == null ? void 0 : K.length) === 0 ? N.tableColumns : B[g].tableColumns, at(B[g], N);
|
|
9388
9394
|
} else if ((N == null ? void 0 : N.key) === "Form") {
|
|
9389
9395
|
let g = B == null ? void 0 : B.findIndex((u) => St(u) === i);
|
|
9390
|
-
B[g].contents = [...((
|
|
9396
|
+
B[g].contents = [...((ee = B[g]) == null ? void 0 : ee.contents) ?? [], ...N.contents ?? []], B[g].value = ((C = B[g].value) == null ? void 0 : C.length) === 0 ? N.value : B[g].value, at(B[g], N);
|
|
9391
9397
|
}
|
|
9392
9398
|
}), V.contents = B;
|
|
9393
9399
|
}
|
|
@@ -9480,7 +9486,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9480
9486
|
platName: "Form背景配置",
|
|
9481
9487
|
changeData: yp
|
|
9482
9488
|
});
|
|
9483
|
-
},
|
|
9489
|
+
}, ee = async () => {
|
|
9484
9490
|
var g, u, Se, Ce;
|
|
9485
9491
|
const C = (g = V == null ? void 0 : V.value) == null ? void 0 : g.plat_id;
|
|
9486
9492
|
if (C && !c.homepageBackgroundTableId)
|
|
@@ -9488,8 +9494,8 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9488
9494
|
const Q = await ot({
|
|
9489
9495
|
platId: parseInt(C),
|
|
9490
9496
|
pageName: "Form背景配置"
|
|
9491
|
-
}),
|
|
9492
|
-
|
|
9497
|
+
}), pe = (Ce = (Se = (u = Q == null ? void 0 : Q.data) == null ? void 0 : u.result) == null ? void 0 : Se[0]) == null ? void 0 : Ce.object_id;
|
|
9498
|
+
pe && c.setHomepageBackgroundTableId(pe);
|
|
9493
9499
|
} catch (Q) {
|
|
9494
9500
|
console.error("恢复首页背景表ID失败:", Q);
|
|
9495
9501
|
}
|
|
@@ -9500,13 +9506,13 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9500
9506
|
return (C = V == null ? void 0 : V.value) == null ? void 0 : C.plat_id;
|
|
9501
9507
|
},
|
|
9502
9508
|
async () => {
|
|
9503
|
-
await
|
|
9509
|
+
await ee();
|
|
9504
9510
|
},
|
|
9505
9511
|
{ immediate: !0 }
|
|
9506
9512
|
), Ml(
|
|
9507
9513
|
() => [x == null ? void 0 : x.content, x == null ? void 0 : x.jsonContents],
|
|
9508
9514
|
async () => {
|
|
9509
|
-
var C, g, u, Se, Ce, Q,
|
|
9515
|
+
var C, g, u, Se, Ce, Q, pe, re, se, Be, Me;
|
|
9510
9516
|
try {
|
|
9511
9517
|
if (((C = x == null ? void 0 : x.jsonContents) == null ? void 0 : C.length) > 0) {
|
|
9512
9518
|
console.log("走了 jsonContents 分支,未重新创建背景表");
|
|
@@ -9540,7 +9546,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9540
9546
|
platId: parseInt((Q = V == null ? void 0 : V.value) == null ? void 0 : Q.plat_id),
|
|
9541
9547
|
tableNames: xl ?? []
|
|
9542
9548
|
});
|
|
9543
|
-
A = (
|
|
9549
|
+
A = (pe = A == null ? void 0 : A.data) == null ? void 0 : pe.result, A == null || A.forEach((ke) => {
|
|
9544
9550
|
var el, qe, pl;
|
|
9545
9551
|
let Ve = (qe = (el = ke == null ? void 0 : ke[0]) == null ? void 0 : el.结构) == null ? void 0 : qe.contents;
|
|
9546
9552
|
Array.isArray(Ve == null ? void 0 : Ve[0]) && (Ve = Rn(Ve == null ? void 0 : Ve[0])), Ve = Ve == null ? void 0 : Ve.filter((cl) => (cl == null ? void 0 : cl.prop) !== "sort" && (cl == null ? void 0 : cl.prop) !== "relatedId"), we.set((pl = ke == null ? void 0 : ke[0]) == null ? void 0 : pl.source_table, Ve);
|
|
@@ -9710,7 +9716,7 @@ const Vp = (e) => {
|
|
|
9710
9716
|
}), h;
|
|
9711
9717
|
}, xo = () => {
|
|
9712
9718
|
const { isSuperAdmin: e } = Zt(), h = (K) => Ll(K), c = (K) => {
|
|
9713
|
-
let
|
|
9719
|
+
let ee = {
|
|
9714
9720
|
name: "",
|
|
9715
9721
|
algorithm: "",
|
|
9716
9722
|
input: "",
|
|
@@ -9721,40 +9727,40 @@ const Vp = (e) => {
|
|
|
9721
9727
|
};
|
|
9722
9728
|
if (K) {
|
|
9723
9729
|
const C = h(K);
|
|
9724
|
-
|
|
9725
|
-
|
|
9730
|
+
ee = {
|
|
9731
|
+
...ee,
|
|
9726
9732
|
...C
|
|
9727
9733
|
};
|
|
9728
9734
|
}
|
|
9729
|
-
return
|
|
9735
|
+
return ee;
|
|
9730
9736
|
}, v = async () => {
|
|
9731
|
-
var
|
|
9737
|
+
var ee;
|
|
9732
9738
|
const K = await Tp();
|
|
9733
|
-
return (
|
|
9739
|
+
return (ee = K == null ? void 0 : K.data) == null ? void 0 : ee.result;
|
|
9734
9740
|
}, _ = async () => await v(), U = async (K) => {
|
|
9735
9741
|
var C;
|
|
9736
|
-
const
|
|
9737
|
-
return (C =
|
|
9742
|
+
const ee = await Rp(K);
|
|
9743
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9738
9744
|
}, E = async (K) => await U({ platId: K }), L = async (K) => {
|
|
9739
9745
|
var C;
|
|
9740
|
-
const
|
|
9741
|
-
return (C =
|
|
9746
|
+
const ee = await Ep(K);
|
|
9747
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9742
9748
|
}, V = async (K) => await L(K), x = async (K) => {
|
|
9743
9749
|
var C;
|
|
9744
|
-
const
|
|
9745
|
-
return (C =
|
|
9750
|
+
const ee = await Dp(K);
|
|
9751
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9746
9752
|
}, ie = async (K) => await x(K), l = async (K) => {
|
|
9747
9753
|
var C;
|
|
9748
|
-
const
|
|
9749
|
-
return (C =
|
|
9754
|
+
const ee = await Bp(K);
|
|
9755
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9750
9756
|
}, M = async (K) => await l(K), B = async (K) => {
|
|
9751
9757
|
var C;
|
|
9752
|
-
const
|
|
9753
|
-
return (C =
|
|
9758
|
+
const ee = await xp(K);
|
|
9759
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9754
9760
|
}, N = async (K) => await B(K), i = async (K) => {
|
|
9755
9761
|
var C;
|
|
9756
|
-
const
|
|
9757
|
-
return (C =
|
|
9762
|
+
const ee = await Pp(K);
|
|
9763
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9758
9764
|
};
|
|
9759
9765
|
return {
|
|
9760
9766
|
isSuperAdmin: e,
|
|
@@ -9808,7 +9814,7 @@ const Vp = (e) => {
|
|
|
9808
9814
|
}, K = async () => {
|
|
9809
9815
|
const Be = await _(i.value);
|
|
9810
9816
|
await x(), l(Be);
|
|
9811
|
-
},
|
|
9817
|
+
}, ee = async () => {
|
|
9812
9818
|
await U(i.value), await x(i.value.id);
|
|
9813
9819
|
}, C = async () => {
|
|
9814
9820
|
var Me, Ue;
|
|
@@ -9818,7 +9824,7 @@ const Vp = (e) => {
|
|
|
9818
9824
|
text: "加载中...",
|
|
9819
9825
|
background: "rgba(0, 0, 0, 0.7)"
|
|
9820
9826
|
});
|
|
9821
|
-
i.value.id ? await
|
|
9827
|
+
i.value.id ? await ee().finally(() => {
|
|
9822
9828
|
Be.close();
|
|
9823
9829
|
}) : await K().finally(() => {
|
|
9824
9830
|
Be.close();
|
|
@@ -9848,21 +9854,21 @@ const Vp = (e) => {
|
|
|
9848
9854
|
return Be.forEach((dl, Cl) => {
|
|
9849
9855
|
Ue[dl] = Me[Cl] || "";
|
|
9850
9856
|
}), Ue;
|
|
9851
|
-
},
|
|
9857
|
+
}, pe = () => {
|
|
9852
9858
|
const Be = Q();
|
|
9853
9859
|
return {
|
|
9854
9860
|
url: i.value.algorithm,
|
|
9855
9861
|
input: Be
|
|
9856
9862
|
};
|
|
9857
9863
|
}, re = async (Be) => {
|
|
9858
|
-
i.value.output = Be, await
|
|
9864
|
+
i.value.output = Be, await ee();
|
|
9859
9865
|
}, se = async () => {
|
|
9860
9866
|
if (i.value.id && ie.value) {
|
|
9861
9867
|
const Be = Ha.service({
|
|
9862
9868
|
lock: !0,
|
|
9863
9869
|
text: "加载中...",
|
|
9864
9870
|
background: "rgba(0, 0, 0, 0.7)"
|
|
9865
|
-
}), Me =
|
|
9871
|
+
}), Me = pe();
|
|
9866
9872
|
try {
|
|
9867
9873
|
const Ue = await L(Me);
|
|
9868
9874
|
await re(Ue);
|
|
@@ -10305,16 +10311,16 @@ const Vp = (e) => {
|
|
|
10305
10311
|
isSuperAdmin: i
|
|
10306
10312
|
} = Xt(), J = ma(), { loginUserInfo: K } = Tl(J);
|
|
10307
10313
|
T(), T(), T(400);
|
|
10308
|
-
const
|
|
10309
|
-
i.value && (
|
|
10314
|
+
const ee = T(!1), C = () => {
|
|
10315
|
+
i.value && (ee.value = !0);
|
|
10310
10316
|
}, g = () => {
|
|
10311
|
-
|
|
10317
|
+
ee.value = !1, y.show = !1;
|
|
10312
10318
|
}, u = T();
|
|
10313
10319
|
Vl(() => {
|
|
10314
10320
|
if (!u.value)
|
|
10315
10321
|
return [];
|
|
10316
|
-
const { myModelList: ce = [], otherList:
|
|
10317
|
-
return [...ce, ...
|
|
10322
|
+
const { myModelList: ce = [], otherList: le = [] } = u.value;
|
|
10323
|
+
return [...ce, ...le];
|
|
10318
10324
|
});
|
|
10319
10325
|
const Se = (ce) => ie(ce), Ce = async () => {
|
|
10320
10326
|
const ce = await x();
|
|
@@ -10325,7 +10331,7 @@ const Vp = (e) => {
|
|
|
10325
10331
|
ha(() => {
|
|
10326
10332
|
Q();
|
|
10327
10333
|
});
|
|
10328
|
-
const
|
|
10334
|
+
const pe = T(null), re = T(V()), se = {
|
|
10329
10335
|
// platType: [{
|
|
10330
10336
|
// required: true,
|
|
10331
10337
|
// trigger: "blur",
|
|
@@ -10345,14 +10351,14 @@ const Vp = (e) => {
|
|
|
10345
10351
|
}, Al = () => {
|
|
10346
10352
|
re.value = V(), Ie(), Ue();
|
|
10347
10353
|
}, El = async () => {
|
|
10348
|
-
var
|
|
10354
|
+
var le;
|
|
10349
10355
|
const ce = Ha.service({
|
|
10350
10356
|
lock: !0,
|
|
10351
10357
|
text: "加载中...",
|
|
10352
10358
|
background: "rgba(0, 0, 0, 0.7)"
|
|
10353
10359
|
});
|
|
10354
10360
|
try {
|
|
10355
|
-
(
|
|
10361
|
+
(le = pe.value) == null || le.validate(async (Ze) => {
|
|
10356
10362
|
if (Ze) {
|
|
10357
10363
|
const { platId: tl } = re.value;
|
|
10358
10364
|
tl ? await ke() : await Ge(), Al();
|
|
@@ -10366,16 +10372,16 @@ const Vp = (e) => {
|
|
|
10366
10372
|
}, 2e3);
|
|
10367
10373
|
}
|
|
10368
10374
|
}, Xe = T(!1), xl = (ce) => {
|
|
10369
|
-
const
|
|
10370
|
-
return
|
|
10375
|
+
const le = ce == null ? void 0 : ce.type;
|
|
10376
|
+
return le === "image/jpeg" || le === "image/png" || le === "image/gif" || le === "image/webp";
|
|
10371
10377
|
}, we = async (ce) => {
|
|
10372
|
-
const
|
|
10378
|
+
const le = ce.file, Ze = await N({ file: le });
|
|
10373
10379
|
Ze && (re.value.logo = Ze);
|
|
10374
10380
|
}, A = async (ce) => {
|
|
10375
|
-
const
|
|
10381
|
+
const le = await ht({
|
|
10376
10382
|
url: ce
|
|
10377
10383
|
});
|
|
10378
|
-
return URL.createObjectURL(
|
|
10384
|
+
return URL.createObjectURL(le == null ? void 0 : le.data);
|
|
10379
10385
|
};
|
|
10380
10386
|
Ml(() => re.value.logo, async () => {
|
|
10381
10387
|
re.value.logoBlobUrl = await A(re.value.logo);
|
|
@@ -10387,11 +10393,11 @@ const Vp = (e) => {
|
|
|
10387
10393
|
}, Ve = async (ce) => {
|
|
10388
10394
|
L(ce), E(ce), g(), To();
|
|
10389
10395
|
}, el = async (ce) => {
|
|
10390
|
-
const
|
|
10396
|
+
const le = await Fe({
|
|
10391
10397
|
isPlat: !1,
|
|
10392
10398
|
value: ""
|
|
10393
10399
|
});
|
|
10394
|
-
if (!
|
|
10400
|
+
if (!le || (le == null ? void 0 : le.length) <= 1) {
|
|
10395
10401
|
Ql.warning("不能删除唯一模型");
|
|
10396
10402
|
return;
|
|
10397
10403
|
}
|
|
@@ -10432,10 +10438,10 @@ const Vp = (e) => {
|
|
|
10432
10438
|
}, 2e3);
|
|
10433
10439
|
}
|
|
10434
10440
|
}, qe = T(), pl = T(), cl = (ce) => {
|
|
10435
|
-
var
|
|
10436
|
-
qe.value = ce, ce && ((
|
|
10437
|
-
}, a = async (ce,
|
|
10438
|
-
const { value: Ze } = ce, tl =
|
|
10441
|
+
var le;
|
|
10442
|
+
qe.value = ce, ce && ((le = pl.value) == null || le.openDialog());
|
|
10443
|
+
}, a = async (ce, le) => {
|
|
10444
|
+
const { value: Ze } = ce, tl = le.row;
|
|
10439
10445
|
switch (Xe.value = !1, Ze) {
|
|
10440
10446
|
case "set-default":
|
|
10441
10447
|
const { plat_id: We } = tl;
|
|
@@ -10470,8 +10476,8 @@ const Vp = (e) => {
|
|
|
10470
10476
|
Ml(() => U == null ? void 0 : U.modelValue, (ce) => {
|
|
10471
10477
|
y.show = ce;
|
|
10472
10478
|
}, { immediate: !0 });
|
|
10473
|
-
const G = (ce,
|
|
10474
|
-
|
|
10479
|
+
const G = (ce, le) => {
|
|
10480
|
+
le == null || le.property;
|
|
10475
10481
|
}, ye = T(null), H = ta({
|
|
10476
10482
|
title: "创建",
|
|
10477
10483
|
type: "create",
|
|
@@ -10615,7 +10621,7 @@ const Vp = (e) => {
|
|
|
10615
10621
|
fixed: "right"
|
|
10616
10622
|
}
|
|
10617
10623
|
]);
|
|
10618
|
-
function Z(ce,
|
|
10624
|
+
function Z(ce, le = {}) {
|
|
10619
10625
|
const {
|
|
10620
10626
|
labelKey: Ze = "label",
|
|
10621
10627
|
// 标签字段名
|
|
@@ -10625,7 +10631,7 @@ const Vp = (e) => {
|
|
|
10625
10631
|
// 平台类型字段
|
|
10626
10632
|
businessTypesKey: ul = "businessTypes"
|
|
10627
10633
|
// 业务类型字段
|
|
10628
|
-
} =
|
|
10634
|
+
} = le;
|
|
10629
10635
|
return Array.isArray(ce) ? ce == null ? void 0 : ce.map((al) => {
|
|
10630
10636
|
const Ee = {
|
|
10631
10637
|
[Ze]: al[Ze] || al[We] || "管理系统",
|
|
@@ -10640,11 +10646,11 @@ const Vp = (e) => {
|
|
|
10640
10646
|
}) : [];
|
|
10641
10647
|
}
|
|
10642
10648
|
const me = async () => {
|
|
10643
|
-
var ce,
|
|
10649
|
+
var ce, le, Ze, tl;
|
|
10644
10650
|
try {
|
|
10645
10651
|
if (!((ce = K == null ? void 0 : K.value) != null && ce.user_id)) return;
|
|
10646
10652
|
const We = await Er({
|
|
10647
|
-
userId: (
|
|
10653
|
+
userId: (le = K.value) == null ? void 0 : le.user_id
|
|
10648
10654
|
});
|
|
10649
10655
|
((Ze = We == null ? void 0 : We.data) == null ? void 0 : Ze.code) === 200 && (te.value = Z((tl = We == null ? void 0 : We.data) == null ? void 0 : tl.result, {}));
|
|
10650
10656
|
} catch (We) {
|
|
@@ -10654,7 +10660,7 @@ const Vp = (e) => {
|
|
|
10654
10660
|
T({});
|
|
10655
10661
|
const Fe = async (ce) => {
|
|
10656
10662
|
var Ze, tl, We, ul;
|
|
10657
|
-
let
|
|
10663
|
+
let le;
|
|
10658
10664
|
try {
|
|
10659
10665
|
if (!((Ze = K == null ? void 0 : K.value) != null && Ze.user_id)) return;
|
|
10660
10666
|
const al = (ce == null ? void 0 : ce.value) === "管理系统" ? "" : ce == null ? void 0 : ce.value, Ee = await Tr({
|
|
@@ -10664,35 +10670,35 @@ const Vp = (e) => {
|
|
|
10664
10670
|
});
|
|
10665
10671
|
if (((We = Ee == null ? void 0 : Ee.data) == null ? void 0 : We.code) === 200) {
|
|
10666
10672
|
const R = ((ul = Ee == null ? void 0 : Ee.data) == null ? void 0 : ul.result) || [];
|
|
10667
|
-
t.value = R,
|
|
10673
|
+
t.value = R, le = R;
|
|
10668
10674
|
}
|
|
10669
10675
|
} catch (al) {
|
|
10670
10676
|
throw al;
|
|
10671
10677
|
} finally {
|
|
10672
10678
|
}
|
|
10673
|
-
return
|
|
10679
|
+
return le;
|
|
10674
10680
|
}, yl = T(null), _e = async (ce) => {
|
|
10675
10681
|
yl.value = ce, await Fe(ce);
|
|
10676
|
-
},
|
|
10677
|
-
var ce,
|
|
10678
|
-
(
|
|
10679
|
-
}, k = ({ row: ce, rowIndex:
|
|
10680
|
-
var ce,
|
|
10682
|
+
}, he = () => {
|
|
10683
|
+
var ce, le;
|
|
10684
|
+
(le = (ce = S.value) == null ? void 0 : ce.setCurrentKey) == null || le.call(ce, null), _e();
|
|
10685
|
+
}, k = ({ row: ce, rowIndex: le }) => le % 2 === 0 ? "default-row" : "special-row", Ie = async () => {
|
|
10686
|
+
var ce, le;
|
|
10681
10687
|
await me(), await Fe({
|
|
10682
10688
|
isPlat: !!((ce = yl.value) != null && ce.platType),
|
|
10683
|
-
value: (
|
|
10689
|
+
value: (le = yl.value) == null ? void 0 : le.value
|
|
10684
10690
|
});
|
|
10685
10691
|
}, Re = T(), be = () => {
|
|
10686
10692
|
var ce;
|
|
10687
10693
|
(ce = Re.value) == null || ce.openDialog();
|
|
10688
10694
|
};
|
|
10689
|
-
return h({ openDialog: C }), (ce,
|
|
10695
|
+
return h({ openDialog: C }), (ce, le) => {
|
|
10690
10696
|
const Ze = ne("svg-icon"), tl = ne("el-button"), We = ne("el-tree"), ul = ne("el-card"), al = ne("el-input"), Ee = ne("el-table-column"), R = ne("el-icon"), ve = ne("el-image"), Ae = ne("el-tag"), Te = ne("el-link"), Ye = ne("el-table"), ae = ne("el-dialog"), ue = ne("el-cascader"), Pe = ne("el-form-item"), Le = ne("el-col"), oe = ne("el-row"), je = ne("el-upload"), ml = ne("el-form");
|
|
10691
10697
|
return f(), X(rl, null, [
|
|
10692
10698
|
n(ae, {
|
|
10693
10699
|
class: "model-management-dialog",
|
|
10694
10700
|
modelValue: y.show,
|
|
10695
|
-
"onUpdate:modelValue":
|
|
10701
|
+
"onUpdate:modelValue": le[2] || (le[2] = (Y) => y.show = Y),
|
|
10696
10702
|
title: y.title,
|
|
10697
10703
|
fullscreen: y.fullscreen,
|
|
10698
10704
|
"before-close": D,
|
|
@@ -10715,12 +10721,12 @@ const Vp = (e) => {
|
|
|
10715
10721
|
O("div", hf, [
|
|
10716
10722
|
n(ul, { class: "model-tree-card" }, {
|
|
10717
10723
|
header: r(() => [
|
|
10718
|
-
|
|
10724
|
+
le[9] || (le[9] = O("span", null, "模型分类", -1)),
|
|
10719
10725
|
n(tl, {
|
|
10720
10726
|
type: "primary",
|
|
10721
|
-
onClick:
|
|
10727
|
+
onClick: he
|
|
10722
10728
|
}, {
|
|
10723
|
-
default: r(() => [...
|
|
10729
|
+
default: r(() => [...le[8] || (le[8] = [
|
|
10724
10730
|
gl("查看所有", -1)
|
|
10725
10731
|
])]),
|
|
10726
10732
|
_: 1
|
|
@@ -10754,7 +10760,7 @@ const Vp = (e) => {
|
|
|
10754
10760
|
n(al, {
|
|
10755
10761
|
style: { width: "20%" },
|
|
10756
10762
|
modelValue: d.value,
|
|
10757
|
-
"onUpdate:modelValue":
|
|
10763
|
+
"onUpdate:modelValue": le[0] || (le[0] = (Y) => d.value = Y),
|
|
10758
10764
|
placeholder: "搜索",
|
|
10759
10765
|
"prefix-icon": s(Jr)
|
|
10760
10766
|
}, null, 8, ["modelValue", "prefix-icon"]),
|
|
@@ -10763,16 +10769,16 @@ const Vp = (e) => {
|
|
|
10763
10769
|
type: "primary",
|
|
10764
10770
|
onClick: be
|
|
10765
10771
|
}, {
|
|
10766
|
-
default: r(() => [...
|
|
10772
|
+
default: r(() => [...le[10] || (le[10] = [
|
|
10767
10773
|
gl("方法库", -1)
|
|
10768
10774
|
])]),
|
|
10769
10775
|
_: 1
|
|
10770
10776
|
}),
|
|
10771
10777
|
n(tl, {
|
|
10772
10778
|
type: "primary",
|
|
10773
|
-
onClick:
|
|
10779
|
+
onClick: le[1] || (le[1] = (Y) => Cl())
|
|
10774
10780
|
}, {
|
|
10775
|
-
default: r(() => [...
|
|
10781
|
+
default: r(() => [...le[11] || (le[11] = [
|
|
10776
10782
|
gl("创建系统", -1)
|
|
10777
10783
|
])]),
|
|
10778
10784
|
_: 1
|
|
@@ -10908,7 +10914,7 @@ const Vp = (e) => {
|
|
|
10908
10914
|
}, {
|
|
10909
10915
|
default: r(() => [
|
|
10910
10916
|
O("div", Cf, [
|
|
10911
|
-
|
|
10917
|
+
le[12] || (le[12] = O("div", { class: "model-management-header" }, [
|
|
10912
10918
|
O("div", { class: "header-left" }),
|
|
10913
10919
|
O("div", { class: "header-right" })
|
|
10914
10920
|
], -1)),
|
|
@@ -10916,7 +10922,7 @@ const Vp = (e) => {
|
|
|
10916
10922
|
O("div", kf, [
|
|
10917
10923
|
n(ml, {
|
|
10918
10924
|
ref_key: "modelFormRef",
|
|
10919
|
-
ref:
|
|
10925
|
+
ref: pe,
|
|
10920
10926
|
class: "model-edit-form",
|
|
10921
10927
|
model: re.value,
|
|
10922
10928
|
rules: se
|
|
@@ -10937,7 +10943,7 @@ const Vp = (e) => {
|
|
|
10937
10943
|
clearable: "",
|
|
10938
10944
|
style: { width: "100%" },
|
|
10939
10945
|
modelValue: re.value.platType,
|
|
10940
|
-
"onUpdate:modelValue":
|
|
10946
|
+
"onUpdate:modelValue": le[3] || (le[3] = (Y) => re.value.platType = Y),
|
|
10941
10947
|
options: z.value,
|
|
10942
10948
|
props: { checkStrictly: !0, emitPath: !1 }
|
|
10943
10949
|
}, null, 8, ["disabled", "modelValue", "options"])
|
|
@@ -10959,7 +10965,7 @@ const Vp = (e) => {
|
|
|
10959
10965
|
disabled: dl.value,
|
|
10960
10966
|
clearable: "",
|
|
10961
10967
|
modelValue: re.value.businessType,
|
|
10962
|
-
"onUpdate:modelValue":
|
|
10968
|
+
"onUpdate:modelValue": le[4] || (le[4] = (Y) => re.value.businessType = Y)
|
|
10963
10969
|
}, null, 8, ["disabled", "modelValue"])
|
|
10964
10970
|
]),
|
|
10965
10971
|
_: 1
|
|
@@ -10981,7 +10987,7 @@ const Vp = (e) => {
|
|
|
10981
10987
|
default: r(() => [
|
|
10982
10988
|
n(al, {
|
|
10983
10989
|
modelValue: re.value.platName,
|
|
10984
|
-
"onUpdate:modelValue":
|
|
10990
|
+
"onUpdate:modelValue": le[5] || (le[5] = (Y) => re.value.platName = Y),
|
|
10985
10991
|
clearable: "",
|
|
10986
10992
|
"aria-label": "系统名称",
|
|
10987
10993
|
placeholder: "系统名称"
|
|
@@ -11001,7 +11007,7 @@ const Vp = (e) => {
|
|
|
11001
11007
|
default: r(() => [
|
|
11002
11008
|
n(al, {
|
|
11003
11009
|
modelValue: re.value.platNameEN,
|
|
11004
|
-
"onUpdate:modelValue":
|
|
11010
|
+
"onUpdate:modelValue": le[6] || (le[6] = (Y) => re.value.platNameEN = Y),
|
|
11005
11011
|
clearable: "",
|
|
11006
11012
|
"aria-label": "系统名称",
|
|
11007
11013
|
placeholder: "系统名称"
|
|
@@ -11026,7 +11032,7 @@ const Vp = (e) => {
|
|
|
11026
11032
|
default: r(() => [
|
|
11027
11033
|
n(al, {
|
|
11028
11034
|
modelValue: re.value.platVersion,
|
|
11029
|
-
"onUpdate:modelValue":
|
|
11035
|
+
"onUpdate:modelValue": le[7] || (le[7] = (Y) => re.value.platVersion = Y),
|
|
11030
11036
|
clearable: "",
|
|
11031
11037
|
"aria-label": "系统版本",
|
|
11032
11038
|
placeholder: "系统版本"
|
|
@@ -11091,7 +11097,7 @@ const Vp = (e) => {
|
|
|
11091
11097
|
]),
|
|
11092
11098
|
footer: r(() => [
|
|
11093
11099
|
O("div", _f, [
|
|
11094
|
-
|
|
11100
|
+
le[13] || (le[13] = O("div", { class: "footer-left" }, null, -1)),
|
|
11095
11101
|
O("div", Sf, [
|
|
11096
11102
|
n(Va, {
|
|
11097
11103
|
class: "cancel",
|
|
@@ -11333,10 +11339,10 @@ const Vp = (e) => {
|
|
|
11333
11339
|
},
|
|
11334
11340
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData", "clearLogin", "clearFileContent", "systemContent", "executeWorkspace", "updateVersion"],
|
|
11335
11341
|
setup(e, { emit: h }) {
|
|
11336
|
-
const c = e, v = h, _ = T([]), U = T(0), E = T([]), L = T([]), V = T(0), x = Ta(Bl), ie = na(Bl), { originalData: l } = Tl(x), { platform: M } = Tl(ie), B = T(null), N = T(0), i = T([]), J = T(0), K = T([]),
|
|
11342
|
+
const c = e, v = h, _ = T([]), U = T(0), E = T([]), L = T([]), V = T(0), x = Ta(Bl), ie = na(Bl), { originalData: l } = Tl(x), { platform: M } = Tl(ie), B = T(null), N = T(0), i = T([]), J = T(0), K = T([]), ee = ma(), { loginUserInfo: C, systemKey: g } = Tl(ee), u = yt(Bl), { isSuperAdmin: Se } = Zt(), {
|
|
11337
11343
|
initModelList: Ce,
|
|
11338
11344
|
getPreviousModel: Q,
|
|
11339
|
-
initModelInfo:
|
|
11345
|
+
initModelInfo: pe
|
|
11340
11346
|
} = Xt(), { initModelToWorkspaceData: re } = Df(), se = T(!1), Be = T(!1), Me = () => {
|
|
11341
11347
|
se.value = !0;
|
|
11342
11348
|
}, Ue = () => {
|
|
@@ -11366,9 +11372,9 @@ const Vp = (e) => {
|
|
|
11366
11372
|
}));
|
|
11367
11373
|
}));
|
|
11368
11374
|
}), d == null || d.forEach((I) => {
|
|
11369
|
-
var Z, me, Fe, yl, _e,
|
|
11375
|
+
var Z, me, Fe, yl, _e, he;
|
|
11370
11376
|
if ((I == null ? void 0 : I.comp) === "Table") {
|
|
11371
|
-
let k = [], Ie = (Fe = (me = (Z = I == null ? void 0 : I.compData) == null ? void 0 : Z.find((be) => (be == null ? void 0 : be.key) === "header")) == null ? void 0 : me.contents) == null ? void 0 : Fe.map((be) => be == null ? void 0 : be.label), Re = (
|
|
11377
|
+
let k = [], Ie = (Fe = (me = (Z = I == null ? void 0 : I.compData) == null ? void 0 : Z.find((be) => (be == null ? void 0 : be.key) === "header")) == null ? void 0 : me.contents) == null ? void 0 : Fe.map((be) => be == null ? void 0 : be.label), Re = (he = (_e = (yl = I == null ? void 0 : I.compData) == null ? void 0 : yl.find((be) => (be == null ? void 0 : be.key) === "tableContents")) == null ? void 0 : _e.contents) == null ? void 0 : he.map((be) => (be = be == null ? void 0 : be.filter((ce) => !(ce != null && ce.id)), be));
|
|
11372
11378
|
Re == null || Re.forEach((be) => {
|
|
11373
11379
|
k.push(xt(be, Ie == null ? void 0 : Ie.filter((ce) => ce !== "操作")));
|
|
11374
11380
|
}), H[I.name] = k, H[I.name + "Content"] = I;
|
|
@@ -11529,7 +11535,7 @@ const Vp = (e) => {
|
|
|
11529
11535
|
}
|
|
11530
11536
|
Z === z && (S = p);
|
|
11531
11537
|
}
|
|
11532
|
-
|
|
11538
|
+
pe(d || S);
|
|
11533
11539
|
};
|
|
11534
11540
|
ha(() => {
|
|
11535
11541
|
cl();
|