ss-component-new 1.3.671 → 1.3.673
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/{MTLLoader-C2ENwU4B.js → MTLLoader-CrPSPyUg.js} +2 -2
- package/dist/{URDFLoader-D8HIcp6W.js → URDFLoader-OBh0b2Sx.js} +584 -589
- package/dist/{animationData-CDGBdGSq.js → animationData-DzLrkctM.js} +3 -3
- package/dist/{array-mmG5VIkM.js → array-BQF2K-Vg.js} +14 -13
- package/dist/{clone-epSiajPW.js → clone-CITQdRJ9.js} +1 -1
- package/dist/{eleIcon-BWVKfp5t.js → eleIcon-DlIcb4df.js} +2 -2
- package/dist/{iconfont-DMYmzqd8.js → iconfont-DCqIclBw.js} +91 -91
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-D1K6alfM.js → index-55_tgy4a.js} +3 -3
- package/dist/{index-CNdob9PP.js → index-B8balLbv.js} +721 -673
- package/dist/{index-CRusLwdZ.js → index-BAKfiNLz.js} +3 -3
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-GqaokPsw.js → index-BLsR-_jc.js} +3 -3
- package/dist/{index-DxEqN-_a.js → index-BWJFimaa.js} +4 -4
- package/dist/{index-B17Qpwxc.js → index-BYcMNkec.js} +157 -148
- package/dist/{index-BpGFvMaU.js → index-BZnGUmw-.js} +2 -2
- package/dist/{index-D0y4uLWn.js → index-BZrQvLIv.js} +18455 -18342
- package/dist/{index-BZjm_Pjz.js → index-BdQYMI7D.js} +20 -18
- package/dist/{index-Bfe0Vmym.js → index-Bk4OabV8.js} +35 -29
- package/dist/{index-BS_IATA8.js → index-BnRhyH08.js} +4 -4
- package/dist/{index-B4vESlof.js → index-CDUIqJC_.js} +2 -2
- package/dist/{index-BzRfRyGJ.js → index-CF4-eIFj.js} +8 -8
- package/dist/{index-Bvvz41NY.js → index-CG1vGzHt.js} +1 -1
- package/dist/{index-Bd9AU0ks.js → index-CI_WM46P.js} +1 -1
- package/dist/{index-YVR3acYT.js → index-CJySKIdc.js} +1 -1
- package/dist/{index-3va3ENB8.js → index-CL7qQ6MK.js} +3 -3
- package/dist/{index-Bto8e0_l.js → index-CevSHcD7.js} +5 -5
- package/dist/{index-D_zqmWYW.js → index-D-AwKQ2I.js} +7 -7
- package/dist/{index-BVJGgvs3.js → index-DERf8VHV.js} +5 -5
- package/dist/index-DIIrvlu3.js +572 -0
- package/dist/{index-IQyY0EJS.js → index-DXv8_8qm.js} +62 -60
- package/dist/{index-b-1Cc3pU.js → index-D_X3RuW-.js} +483 -482
- package/dist/{index-XGieOXX9.js → index-DjD5b-Uq.js} +4 -4
- package/dist/{index-D_kI6aHR.js → index-DlFmNKos.js} +8 -7
- package/dist/{index-CeVSdtF3.js → index-L4CtBMhV.js} +40 -36
- package/dist/{index-7-gYs0VB.js → index-TBCgOaKw.js} +9119 -9561
- package/dist/{index-CmRnsU1X.js → index-hrE-Ne4t.js} +61 -57
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-SjNcMhxZ.js → index-uSF4pEKh.js} +8 -8
- package/dist/{index-DT2KzAmL.js → index-wuI7wXYs.js} +1052 -1051
- package/dist/{index-BpxvrscM.js → index-yBCL7J9q.js} +6 -6
- package/dist/{index-FNOjQQWl.js → index-z9kzqAz2.js} +20 -17
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-CBYiqe6I.js} +27735 -27760
- package/dist/isString-h0UV2hrP.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-DJkki53_.js → main-Dm_WVekM.js} +9 -9
- package/dist/{menuIndex-B7ZUahFp.js → menuIndex-D9v0oYsj.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-DiogHwkN.js → request-DolpfyNJ.js} +3076 -3494
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-C9-MBFHf.js → threeModel-rRMFwgiQ.js} +174 -174
- package/dist/{threePreview-QZ-g7bqk.js → threePreview-DsrrCdGF.js} +12 -12
- package/dist/{threeSceneView-mTplTuas.js → threeSceneView-DR3Mrr4Z.js} +24 -23
- package/dist/{threeSceneViewForCPMPIP-OveNWVvF.js → threeSceneViewForCPMPIP-cRAV_bkH.js} +17 -16
- package/dist/{threeTrackPathView-Cpwcmet3.js → threeTrackPathView-uE_qalK7.js} +7 -7
- package/dist/{threeViewerHost-B5Gvg1vE.js → threeViewerHost-C4crgfyx.js} +4 -4
- package/dist/{urdfTree-oAPOm0qi.js → urdfTree-D5iGQ5po.js} +9 -9
- package/dist/{workpieceTreePanel-RgJlR6GJ.js → workpieceTreePanel-Cu_k8crQ.js} +60 -56
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-DFXV8TUF.js +0 -2623
- package/dist/isString-CoCw_sp3.js +0 -8
|
@@ -1,31 +1,32 @@
|
|
|
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,
|
|
2
|
-
import { m as Ao, a as mo, b as Mo, c as br } from "./array-
|
|
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-
|
|
4
|
-
import { _ as Vt, s as _o, a as xr } from "./index-
|
|
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, createBlock as ge, openBlock as f, 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-BQF2K-Vg.js";
|
|
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-wuI7wXYs.js";
|
|
4
|
+
import { _ as Vt, s as _o, a as xr } from "./index-DXv8_8qm.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-
|
|
8
|
-
import { u as In, g as on, b as sn, c as Qr, a as Kr } from "./index-
|
|
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-
|
|
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-
|
|
11
|
-
import { d as oc, g as Dt, a as sc } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-
|
|
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-
|
|
13
|
-
import "./
|
|
14
|
-
import "./index-
|
|
15
|
-
import
|
|
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-TBCgOaKw.js";
|
|
8
|
+
import { u as In, g as on, b as sn, c as Qr, a as Kr } from "./index-CJySKIdc.js";
|
|
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-DolpfyNJ.js";
|
|
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-D_X3RuW-.js";
|
|
11
|
+
import { d as oc, g as Dt, a as sc } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-CBYiqe6I.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-BZrQvLIv.js";
|
|
13
|
+
import "./JSEncrypt-B36c1iN5.js";
|
|
14
|
+
import "./index-D-AwKQ2I.js";
|
|
15
|
+
import "./index-CG1vGzHt.js";
|
|
16
|
+
import { c as Eo, f as pa, b as jn, a as wc, g as kc, d as dn } from "./menuIndex-D9v0oYsj.js";
|
|
16
17
|
import { _ as va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
import { s as Sa } from "./index-
|
|
18
|
-
import { C as Ac } from "./index-
|
|
19
|
-
import { S as Fl } from "./index-
|
|
20
|
-
import mc from "./threeModel-
|
|
21
|
-
import { _ as Va } from "./index.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { T as ho, u as Mc, a as _c } from "./threeViewerHost-
|
|
23
|
-
import { s as vo } from "./index-
|
|
24
|
-
import { u as Sc } from "./index-
|
|
25
|
-
import { u as Ic } from "./index-
|
|
26
|
-
import { u as Qn } from "./index-
|
|
27
|
-
import { T as pn } from "./iconfont-
|
|
28
|
-
import { f as Tc, a as Ec } from "./animationData-
|
|
18
|
+
import { s as Sa } from "./index-11kpzK0A.js";
|
|
19
|
+
import { C as Ac } from "./index-L4CtBMhV.js";
|
|
20
|
+
import { S as Fl } from "./index-BHtNKL1L.js";
|
|
21
|
+
import mc from "./threeModel-rRMFwgiQ.js";
|
|
22
|
+
import { _ as Va } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
23
|
+
import { T as ho, u as Mc, a as _c } from "./threeViewerHost-C4crgfyx.js";
|
|
24
|
+
import { s as vo } from "./index-DIIrvlu3.js";
|
|
25
|
+
import { u as Sc } from "./index-BZnGUmw-.js";
|
|
26
|
+
import { u as Ic } from "./index-CI_WM46P.js";
|
|
27
|
+
import { u as Qn } from "./index-BLsR-_jc.js";
|
|
28
|
+
import { T as pn } from "./iconfont-DCqIclBw.js";
|
|
29
|
+
import { f as Tc, a as Ec } from "./animationData-DzLrkctM.js";
|
|
29
30
|
na();
|
|
30
31
|
const Dc = na(), Kn = async (e, h) => {
|
|
31
32
|
var c, v, _, U;
|
|
@@ -161,7 +162,7 @@ function Vc(e = "menu") {
|
|
|
161
162
|
// activeMenuPath,
|
|
162
163
|
linkMenuInfo: i,
|
|
163
164
|
updateMenuStatus: J
|
|
164
|
-
} = Tl(v), K = ma(), { structureData:
|
|
165
|
+
} = 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
166
|
...y,
|
|
166
167
|
// 水平菜单仅显示一层
|
|
167
168
|
children: y.level === 0 ? [] : y.children ?? [],
|
|
@@ -169,10 +170,10 @@ function Vc(e = "menu") {
|
|
|
169
170
|
} : y), Q = (a, y) => {
|
|
170
171
|
var w, D;
|
|
171
172
|
return (D = (w = g.value) == null ? void 0 : w.find((G) => (a.title + y).includes(G.value))) == null ? void 0 : D.value;
|
|
172
|
-
},
|
|
173
|
+
}, pe = (a, y = "", w = 0) => {
|
|
173
174
|
var H;
|
|
174
175
|
let D = Ll(a);
|
|
175
|
-
const G = Array.from(/* @__PURE__ */ new Set([...(H =
|
|
176
|
+
const G = Array.from(/* @__PURE__ */ new Set([...(H = ee.value) == null ? void 0 : H.map((d) => {
|
|
176
177
|
var S;
|
|
177
178
|
return (S = d == null ? void 0 : d.key) == null ? void 0 : S.pageKey;
|
|
178
179
|
})]));
|
|
@@ -196,7 +197,7 @@ function Vc(e = "menu") {
|
|
|
196
197
|
children: [],
|
|
197
198
|
childMenus: []
|
|
198
199
|
};
|
|
199
|
-
return d.children && d.children.length > 0 && (te.children =
|
|
200
|
+
return d.children && d.children.length > 0 && (te.children = pe(d.children, S, w + 1)), te;
|
|
200
201
|
});
|
|
201
202
|
}, re = T(null), se = Vl(() => {
|
|
202
203
|
let a = Ll(C.value);
|
|
@@ -304,7 +305,7 @@ function Vc(e = "menu") {
|
|
|
304
305
|
if (g.value = gt(), a) {
|
|
305
306
|
J.value && (v.setActiveTopMenuPath(""), v.setActiveMenuPath(""), v.setAsideMenus([]));
|
|
306
307
|
const y = a;
|
|
307
|
-
C.value =
|
|
308
|
+
C.value = pe(Eo(y));
|
|
308
309
|
}
|
|
309
310
|
},
|
|
310
311
|
{
|
|
@@ -336,7 +337,7 @@ function Vc(e = "menu") {
|
|
|
336
337
|
};
|
|
337
338
|
}), qe = async (a) => {
|
|
338
339
|
var w, D, G, ye, H, d;
|
|
339
|
-
const y = (w =
|
|
340
|
+
const y = (w = ee.value) == null ? void 0 : w.find((S) => {
|
|
340
341
|
var z;
|
|
341
342
|
return ((z = S == null ? void 0 : S.key) == null ? void 0 : z.pageKey) === "menu";
|
|
342
343
|
});
|
|
@@ -440,13 +441,13 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
440
441
|
label: "删除"
|
|
441
442
|
}]), L = T(720), V = T(""), x = T(!1), ie = T();
|
|
442
443
|
ha(async () => {
|
|
443
|
-
var J, K,
|
|
444
|
+
var J, K, ee, C;
|
|
444
445
|
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
446
|
let i = await lo();
|
|
446
|
-
c.value = ((C = (
|
|
447
|
+
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
448
|
});
|
|
448
449
|
const l = async (i, J, K) => {
|
|
449
|
-
var
|
|
450
|
+
var ee, C;
|
|
450
451
|
if (i === "新增")
|
|
451
452
|
V.value = "新增", B(""), x.value = !0;
|
|
452
453
|
else if (i === "修改")
|
|
@@ -456,14 +457,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
456
457
|
id: parseInt(J == null ? void 0 : J.id)
|
|
457
458
|
});
|
|
458
459
|
let g = await lo();
|
|
459
|
-
c.value = ((C = (
|
|
460
|
+
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
461
|
}
|
|
461
462
|
}, M = (i) => {
|
|
462
463
|
_.value = i;
|
|
463
464
|
}, B = (i) => {
|
|
464
|
-
var K,
|
|
465
|
+
var K, ee;
|
|
465
466
|
const J = [];
|
|
466
|
-
(
|
|
467
|
+
(ee = (K = Ll(h.value)) == null ? void 0 : K.filter((C) => (C == null ? void 0 : C.label) !== "操作")) == null || ee.forEach((C) => {
|
|
467
468
|
J.push({
|
|
468
469
|
label: C == null ? void 0 : C.label,
|
|
469
470
|
prop: C == null ? void 0 : C.prop,
|
|
@@ -475,7 +476,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
475
476
|
});
|
|
476
477
|
}), ie.value = J;
|
|
477
478
|
}, N = async () => {
|
|
478
|
-
var J, K,
|
|
479
|
+
var J, K, ee, C, g, u, Se, Ce;
|
|
479
480
|
x.value = !1, V.value === "新增" ? await wr({
|
|
480
481
|
data: [{
|
|
481
482
|
methodName: (J = _.value) == null ? void 0 : J.methodname,
|
|
@@ -483,16 +484,16 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
483
484
|
}]
|
|
484
485
|
}) : V.value === "修改" && await kr({
|
|
485
486
|
data: [{
|
|
486
|
-
id: parseInt((
|
|
487
|
+
id: parseInt((ee = _.value) == null ? void 0 : ee.id),
|
|
487
488
|
methodName: (C = _.value) == null ? void 0 : C.methodname,
|
|
488
489
|
methodPath: (u = (g = _.value) == null ? void 0 : g.methodpath) == null ? void 0 : u[0]
|
|
489
490
|
}]
|
|
490
491
|
});
|
|
491
492
|
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,
|
|
493
|
+
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
494
|
};
|
|
494
495
|
return (i, J) => {
|
|
495
|
-
const K = ne("svg-icon"),
|
|
496
|
+
const K = ne("svg-icon"), ee = ne("el-popover"), C = ne("el-button");
|
|
496
497
|
return f(), X(rl, null, [
|
|
497
498
|
n(Lr, {
|
|
498
499
|
columns: h.value,
|
|
@@ -515,7 +516,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
515
516
|
];
|
|
516
517
|
}),
|
|
517
518
|
actions: r(({ item: g, fIndex: u }) => [
|
|
518
|
-
n(
|
|
519
|
+
n(ee, {
|
|
519
520
|
title: "",
|
|
520
521
|
placement: "left-start",
|
|
521
522
|
"popper-class": "menu-operate-popover"
|
|
@@ -570,20 +571,22 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
570
571
|
onClick: J[2] || (J[2] = (g) => x.value = !1),
|
|
571
572
|
id: "themeBorderButton"
|
|
572
573
|
}, {
|
|
573
|
-
default: r(() =>
|
|
574
|
-
gl(il("取消")
|
|
575
|
-
])
|
|
576
|
-
_: 1
|
|
574
|
+
default: r(() => J[5] || (J[5] = [
|
|
575
|
+
gl(il("取消"))
|
|
576
|
+
])),
|
|
577
|
+
_: 1,
|
|
578
|
+
__: [5]
|
|
577
579
|
}),
|
|
578
580
|
n(C, {
|
|
579
581
|
class: "ok-button",
|
|
580
582
|
onClick: J[3] || (J[3] = (g) => N()),
|
|
581
583
|
id: "themeButton"
|
|
582
584
|
}, {
|
|
583
|
-
default: r(() =>
|
|
584
|
-
gl(il("确认")
|
|
585
|
-
])
|
|
586
|
-
_: 1
|
|
585
|
+
default: r(() => J[6] || (J[6] = [
|
|
586
|
+
gl(il("确认"))
|
|
587
|
+
])),
|
|
588
|
+
_: 1,
|
|
589
|
+
__: [6]
|
|
587
590
|
})
|
|
588
591
|
])
|
|
589
592
|
]),
|
|
@@ -624,19 +627,19 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
624
627
|
let B = tn(v.value);
|
|
625
628
|
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
629
|
}, l = async (M) => {
|
|
627
|
-
var
|
|
630
|
+
var ee, C, g, u, Se, Ce, Q;
|
|
628
631
|
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:
|
|
632
|
+
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;
|
|
633
|
+
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);
|
|
634
|
+
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) => ({
|
|
635
|
+
label: pe == null ? void 0 : pe[i],
|
|
636
|
+
value: pe == null ? void 0 : pe[i]
|
|
634
637
|
})), K = tn(v.value);
|
|
635
|
-
K = K == null ? void 0 : K.map((
|
|
638
|
+
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
639
|
};
|
|
637
640
|
return (M, B) => (f(), X("div", qc, [
|
|
638
641
|
(f(!0), X(rl, null, bl(E.value, (N, i) => {
|
|
639
|
-
var J, K,
|
|
642
|
+
var J, K, ee, C, g, u, Se;
|
|
640
643
|
return f(), X("div", {
|
|
641
644
|
key: i,
|
|
642
645
|
class: "bread-item"
|
|
@@ -656,7 +659,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
656
659
|
loading: U.value,
|
|
657
660
|
modelValue: N.value,
|
|
658
661
|
"onUpdate:modelValue": (Ce) => N.value = Ce,
|
|
659
|
-
key: (
|
|
662
|
+
key: (ee = N.options) == null ? void 0 : ee.length,
|
|
660
663
|
content: N.options ?? [],
|
|
661
664
|
clearable: !1,
|
|
662
665
|
onChange: (Ce) => ie(N),
|
|
@@ -665,9 +668,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
665
668
|
], 4),
|
|
666
669
|
i !== E.value.length - 1 && Array.isArray(E.value) && ((g = (C = E.value) == null ? void 0 : C[i + 1]) == null ? void 0 : g.condition) !== "child" ? (f(), X("div", Yc, [
|
|
667
670
|
n(s(Tn), { style: { width: "14px" } })
|
|
668
|
-
])) : ((Se = (u = E.value) == null ? void 0 : u[i + 1]) == null ? void 0 : Se.condition) === "child" ? (f(), X("div", Jc,
|
|
671
|
+
])) : ((Se = (u = E.value) == null ? void 0 : u[i + 1]) == null ? void 0 : Se.condition) === "child" ? (f(), X("div", Jc, B[0] || (B[0] = [
|
|
669
672
|
O("div", null, il(":"), -1)
|
|
670
|
-
])
|
|
673
|
+
]))) : De("", !0)
|
|
671
674
|
]);
|
|
672
675
|
}), 128))
|
|
673
676
|
]));
|
|
@@ -694,8 +697,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
694
697
|
return Ml(
|
|
695
698
|
() => c == null ? void 0 : c.componentParam,
|
|
696
699
|
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 = (
|
|
700
|
+
var J, K, ee;
|
|
701
|
+
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
702
|
var g;
|
|
700
703
|
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
704
|
}), B = [], N = M == null ? void 0 : M.map(async (C) => {
|
|
@@ -793,21 +796,21 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
793
796
|
setup(e, { emit: h }) {
|
|
794
797
|
var i;
|
|
795
798
|
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
|
|
799
|
+
var ee, C, g, u, Se, Ce, Q, pe, re, se, Be;
|
|
797
800
|
if (!U.value) return;
|
|
798
|
-
const J = ((C = (
|
|
801
|
+
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
802
|
var Ue, dl, Cl;
|
|
800
803
|
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
804
|
})) == null ? void 0 : Ce.value) == null ? void 0 : Q.pageData;
|
|
802
|
-
ie.value = (Be = (se = (re = (
|
|
805
|
+
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
806
|
var Ue;
|
|
804
807
|
return (Me == null ? void 0 : Me.prop) === ((Ue = V == null ? void 0 : V.toolBar) == null ? void 0 : Ue.prop);
|
|
805
808
|
})) == null ? void 0 : Be.value, ie.value && M(Number(ie.value));
|
|
806
809
|
}, M = (J) => {
|
|
807
810
|
let K = J * 60;
|
|
808
|
-
const
|
|
811
|
+
const ee = setInterval(() => {
|
|
809
812
|
if (K <= 0)
|
|
810
|
-
clearInterval(
|
|
813
|
+
clearInterval(ee), x("onExtendTaskEnd");
|
|
811
814
|
else {
|
|
812
815
|
K--;
|
|
813
816
|
const C = Math.floor(K / 3600), g = Math.floor(K % 3600 / 60), u = K % 60;
|
|
@@ -917,12 +920,12 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
917
920
|
setup(e, { emit: h }) {
|
|
918
921
|
const c = (o, b) => {
|
|
919
922
|
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([]),
|
|
923
|
+
}, 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
924
|
Ml(
|
|
922
925
|
() => B.value,
|
|
923
926
|
() => {
|
|
924
927
|
var o;
|
|
925
|
-
((o = B.value) == null ? void 0 : o.length) > 0 ?
|
|
928
|
+
((o = B.value) == null ? void 0 : o.length) > 0 ? ee.value = !1 : ee.value = !0;
|
|
926
929
|
},
|
|
927
930
|
{ immediate: !0, deep: !0 }
|
|
928
931
|
);
|
|
@@ -931,9 +934,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
931
934
|
var b;
|
|
932
935
|
return ((b = o.find((P) => P.prop === "状态")) == null ? void 0 : b.value) === "未读";
|
|
933
936
|
}).length
|
|
934
|
-
), u = Vl(() => g.value > 99 ? "99+" : g.value), Se = Io(Bl), { originalPath: Ce } = Tl(Se), Q = Ce.value,
|
|
937
|
+
), 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
938
|
async function Ue() {
|
|
936
|
-
var o, b, P,
|
|
939
|
+
var o, b, P, fe, de, $;
|
|
937
940
|
try {
|
|
938
941
|
let j = function(vl, Wl) {
|
|
939
942
|
return Wl.map((Ol) => vl.map((Gl, Pl) => ({
|
|
@@ -943,7 +946,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
943
946
|
};
|
|
944
947
|
const q = sessionStorage.getItem("systemKey"), [F] = await Promise.all([
|
|
945
948
|
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 = (
|
|
949
|
+
]), 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
950
|
let sl = [], nl = [], ol = [], fl = [];
|
|
948
951
|
Array.isArray(xe) && Array.isArray(Oe) ? (ol = xe.filter(
|
|
949
952
|
(vl) => vl.includes("未读")
|
|
@@ -961,8 +964,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
961
964
|
}, Al = async (o) => {
|
|
962
965
|
if (!o) return;
|
|
963
966
|
(async (P) => {
|
|
964
|
-
var
|
|
965
|
-
const
|
|
967
|
+
var de, $, j, q;
|
|
968
|
+
const fe = [
|
|
966
969
|
{
|
|
967
970
|
title: "我的消息",
|
|
968
971
|
path: oo,
|
|
@@ -992,9 +995,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
992
995
|
console.warn("该消息没有主键", P);
|
|
993
996
|
return;
|
|
994
997
|
}
|
|
995
|
-
L.setAsideMenus(
|
|
998
|
+
L.setAsideMenus(fe), (F == null ? void 0 : F.value) === "未读" && (F.value = "已读", L.setActiveMenuPath(oo));
|
|
996
999
|
const Oe = M.value + Q + xe.value, sl = M.value;
|
|
997
|
-
await $r(Oe, Oe + Q + `updateLoading${((
|
|
1000
|
+
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
1001
|
} catch (F) {
|
|
999
1002
|
console.error("加载菜单或页面时出错:", F);
|
|
1000
1003
|
}
|
|
@@ -1002,7 +1005,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1002
1005
|
}, 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
1006
|
let te = null;
|
|
1004
1007
|
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:
|
|
1008
|
+
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
1009
|
const b = await ht({
|
|
1007
1010
|
url: o
|
|
1008
1011
|
});
|
|
@@ -1011,11 +1014,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1011
1014
|
Ml(() => me.value, async (o) => {
|
|
1012
1015
|
o ? be.value = await ce(o) : be.value = Ar;
|
|
1013
1016
|
}, { immediate: !0 });
|
|
1014
|
-
const
|
|
1017
|
+
const le = (o) => {
|
|
1015
1018
|
const b = (o == null ? void 0 : o.menuFilter) || [];
|
|
1016
1019
|
return Array.isArray(b) && (b == null ? void 0 : b.some((P) => {
|
|
1017
|
-
const
|
|
1018
|
-
return
|
|
1020
|
+
const fe = typeof P == "string" ? P : JSON.stringify(P);
|
|
1021
|
+
return fe == null ? void 0 : fe.includes("HideGroup=Yes");
|
|
1019
1022
|
}));
|
|
1020
1023
|
}, Ze = () => {
|
|
1021
1024
|
C.value = !0;
|
|
@@ -1027,15 +1030,15 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1027
1030
|
const o = M.value;
|
|
1028
1031
|
return Ie.value.get(o);
|
|
1029
1032
|
}), ul = oc(async (o) => {
|
|
1030
|
-
var
|
|
1033
|
+
var fe, de, $, j, q, F, xe, Oe, sl, nl, ol, fl, vl, Wl, Ol, Gl;
|
|
1031
1034
|
if ((o == null ? void 0 : o.type) !== "table") return;
|
|
1032
|
-
const b = (
|
|
1035
|
+
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
1036
|
if (!(b || P))
|
|
1034
1037
|
try {
|
|
1035
1038
|
let Pl = We.value;
|
|
1036
1039
|
if (!Pl) {
|
|
1037
1040
|
const Nl = await ot({
|
|
1038
|
-
platId: parseInt((
|
|
1041
|
+
platId: parseInt(($ = re == null ? void 0 : re.value) == null ? void 0 : $.plat_id),
|
|
1039
1042
|
pageName: "menu"
|
|
1040
1043
|
});
|
|
1041
1044
|
((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 +1076,31 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1073
1076
|
}))) ?? [] : {
|
|
1074
1077
|
length: o.length,
|
|
1075
1078
|
[Symbol.iterator]: async function* () {
|
|
1076
|
-
var P,
|
|
1077
|
-
for (let
|
|
1079
|
+
var P, fe;
|
|
1080
|
+
for (let de = 0; de < o.length; de++)
|
|
1078
1081
|
yield {
|
|
1079
|
-
label: (P = o[
|
|
1080
|
-
value: (
|
|
1081
|
-
},
|
|
1082
|
+
label: (P = o[de]) == null ? void 0 : P[b],
|
|
1083
|
+
value: (fe = o[de]) == null ? void 0 : fe[b]
|
|
1084
|
+
}, de % 100 === 0 && await new Promise(($) => setTimeout($, 0));
|
|
1082
1085
|
}
|
|
1083
1086
|
};
|
|
1084
1087
|
}
|
|
1085
1088
|
const Ee = async () => {
|
|
1086
1089
|
let o = {};
|
|
1087
1090
|
const b = await Pa("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), P = await Pa("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
1088
|
-
let
|
|
1089
|
-
P == null || P.forEach((
|
|
1091
|
+
let fe = ["管长", "外径"], de = {};
|
|
1092
|
+
P == null || P.forEach(($) => {
|
|
1090
1093
|
var j;
|
|
1091
|
-
(
|
|
1094
|
+
($ == null ? void 0 : $.comp) === "Form" && ((j = $ == null ? void 0 : $.compData) == null || j.forEach((q) => {
|
|
1092
1095
|
var F;
|
|
1093
1096
|
(q == null ? void 0 : q.key) === "formContent" && ((F = q == null ? void 0 : q.contents) == null || F.forEach((xe) => {
|
|
1094
|
-
|
|
1097
|
+
fe.includes(xe == null ? void 0 : xe.key) && (de[xe.key] = xe.value);
|
|
1095
1098
|
}));
|
|
1096
1099
|
}));
|
|
1097
|
-
}), b == null || b.forEach((
|
|
1100
|
+
}), b == null || b.forEach(($) => {
|
|
1098
1101
|
var j, q, F, xe, Oe, sl;
|
|
1099
|
-
if ((
|
|
1100
|
-
let nl = [], ol = (F = (q = (j =
|
|
1102
|
+
if (($ == null ? void 0 : $.comp) === "Table") {
|
|
1103
|
+
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
1104
|
fl == null || fl.forEach((vl) => {
|
|
1102
1105
|
nl.push(
|
|
1103
1106
|
xt(
|
|
@@ -1105,11 +1108,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1105
1108
|
ol == null ? void 0 : ol.filter((Wl) => Wl !== "操作")
|
|
1106
1109
|
)
|
|
1107
1110
|
);
|
|
1108
|
-
}), o[
|
|
1111
|
+
}), o[$.name] = nl, o[$.name + "Content"] = $;
|
|
1109
1112
|
}
|
|
1110
|
-
}), o.extra =
|
|
1113
|
+
}), o.extra = de, we.value = o;
|
|
1111
1114
|
}, R = async () => {
|
|
1112
|
-
var o, b, P,
|
|
1115
|
+
var o, b, P, fe, de, $, j;
|
|
1113
1116
|
if ((k == null ? void 0 : k.platform) !== "browser") {
|
|
1114
1117
|
if (xl.value = !0, qe.value = (o = k == null ? void 0 : k.taskContent) == null ? void 0 : o.sceneType, G.value = [{
|
|
1115
1118
|
url: (b = k == null ? void 0 : k.taskContent) == null ? void 0 : b.url,
|
|
@@ -1118,8 +1121,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1118
1121
|
const q = Ge.value;
|
|
1119
1122
|
let F = [];
|
|
1120
1123
|
if (typeof (q == null ? void 0 : q.url) == "string")
|
|
1121
|
-
if ((
|
|
1122
|
-
const Oe = ((
|
|
1124
|
+
if ((fe = q == null ? void 0 : q.url) != null && fe.includes(",")) {
|
|
1125
|
+
const Oe = ((de = q == null ? void 0 : q.url) == null ? void 0 : de.split(",")).map((sl) => ({
|
|
1123
1126
|
url: sl,
|
|
1124
1127
|
extension: Dt(sl)
|
|
1125
1128
|
}));
|
|
@@ -1129,7 +1132,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1129
1132
|
url: q == null ? void 0 : q.url,
|
|
1130
1133
|
extension: Dt(q == null ? void 0 : q.url)
|
|
1131
1134
|
}];
|
|
1132
|
-
(
|
|
1135
|
+
($ = A.value) == null || $.loadModelByDefaultPath(F);
|
|
1133
1136
|
}
|
|
1134
1137
|
ye.value = (j = G.value) == null ? void 0 : j.every((q) => q.url.toUpperCase().includes(".URDF"));
|
|
1135
1138
|
}
|
|
@@ -1148,11 +1151,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1148
1151
|
), Ml(
|
|
1149
1152
|
() => [el == null ? void 0 : el.value],
|
|
1150
1153
|
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((
|
|
1154
|
+
var o, b, P, fe, de;
|
|
1155
|
+
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
1156
|
ke.value = !0;
|
|
1154
|
-
let
|
|
1155
|
-
const j = await ((
|
|
1157
|
+
let $ = [];
|
|
1158
|
+
const j = await ((fe = Ll(el == null ? void 0 : el.value)) == null ? void 0 : fe.map(async (q) => {
|
|
1156
1159
|
var nl, ol, fl, vl, Wl, Ol, Gl, Pl, aa, ca;
|
|
1157
1160
|
let F, xe, Oe;
|
|
1158
1161
|
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 +1186,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1183
1186
|
}));
|
|
1184
1187
|
await Promise.all(da);
|
|
1185
1188
|
}
|
|
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" &&
|
|
1189
|
+
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
1190
|
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
1191
|
blob: new Blob([F.data], {
|
|
1189
1192
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -1249,9 +1252,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1249
1252
|
mtlBlobs: Zl
|
|
1250
1253
|
};
|
|
1251
1254
|
}
|
|
1252
|
-
xe &&
|
|
1255
|
+
xe && $.push(xe);
|
|
1253
1256
|
}));
|
|
1254
|
-
await Promise.all(j), (
|
|
1257
|
+
await Promise.all(j), ($ == null ? void 0 : $.length) !== 0 && ((de = A.value) == null || de.loadModelByDefaultPath($));
|
|
1255
1258
|
}
|
|
1256
1259
|
},
|
|
1257
1260
|
{ immediate: !0, deep: !0 }
|
|
@@ -1268,27 +1271,27 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1268
1271
|
te && (te.disconnect(), te = null);
|
|
1269
1272
|
});
|
|
1270
1273
|
const Ye = () => {
|
|
1271
|
-
var P,
|
|
1272
|
-
if (I.value === "" || ((
|
|
1274
|
+
var P, fe;
|
|
1275
|
+
if (I.value === "" || ((fe = M.value) == null ? void 0 : fe[((P = M.value) == null ? void 0 : P.length) - 1]) === Q) return !1;
|
|
1273
1276
|
const o = sessionStorage.getItem("authority"), b = JSON.parse(o || "");
|
|
1274
1277
|
if (Array.isArray(b)) {
|
|
1275
|
-
const
|
|
1278
|
+
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
1279
|
var q;
|
|
1277
1280
|
return ((q = j == null ? void 0 : j.split("/")) == null ? void 0 : q.pop()) || "";
|
|
1278
1281
|
});
|
|
1279
|
-
return !!(
|
|
1282
|
+
return !!($ != null && $.includes("新增") || $ != null && $.includes("新建"));
|
|
1280
1283
|
} else return typeof b == "string" && (b == null ? void 0 : b.toUpperCase()) === "SUPERADMIN";
|
|
1281
1284
|
}, ae = async () => {
|
|
1282
|
-
|
|
1285
|
+
he();
|
|
1283
1286
|
}, ue = () => {
|
|
1284
1287
|
Z("updateVersion");
|
|
1285
1288
|
}, Pe = Vl(() => "http://222.92.178.198:62001"), Le = async (o) => {
|
|
1286
|
-
var b, P,
|
|
1289
|
+
var b, P, fe, de, $;
|
|
1287
1290
|
try {
|
|
1288
1291
|
const j = await Nr(o);
|
|
1289
1292
|
if (((b = j == null ? void 0 : j.data) == null ? void 0 : b.code) === 200) {
|
|
1290
|
-
E.value = Pe.value + "/" + ((
|
|
1291
|
-
let q = (
|
|
1293
|
+
E.value = Pe.value + "/" + ((fe = (P = j.data) == null ? void 0 : P.result) == null ? void 0 : fe.url);
|
|
1294
|
+
let q = ($ = (de = j.data) == null ? void 0 : de.result) == null ? void 0 : $.url;
|
|
1292
1295
|
await Me(q);
|
|
1293
1296
|
}
|
|
1294
1297
|
} catch (j) {
|
|
@@ -1299,11 +1302,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1299
1302
|
const b = Number(o[0]), P = Number(o[1]);
|
|
1300
1303
|
return Number.isNaN(b) || Number.isNaN(P) ? null : [b, P];
|
|
1301
1304
|
}, 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 = (
|
|
1305
|
+
const P = je(o), fe = new RegExp(`(?:^|[,(])\\s*(?:@)?${ml(b)}\\s*(?:=|:)\\s*`, "i");
|
|
1306
|
+
for (const de of P) {
|
|
1307
|
+
const $ = fe.exec(de);
|
|
1308
|
+
if (!$) continue;
|
|
1309
|
+
const j = ($.index ?? 0) + $[0].length, q = de.slice(j).trim();
|
|
1307
1310
|
if (!q) continue;
|
|
1308
1311
|
if (q[0] === "(") {
|
|
1309
1312
|
let xe = 0;
|
|
@@ -1321,10 +1324,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1321
1324
|
}, Qe = (o, b) => {
|
|
1322
1325
|
const P = Y(o, b);
|
|
1323
1326
|
if (!P) return null;
|
|
1324
|
-
const
|
|
1325
|
-
if (!
|
|
1326
|
-
const
|
|
1327
|
-
return
|
|
1327
|
+
const fe = String(P).trim();
|
|
1328
|
+
if (!fe.startsWith("(") || !fe.endsWith(")")) return null;
|
|
1329
|
+
const de = fe.slice(1, -1).split(",").map(($) => Number($.trim()));
|
|
1330
|
+
return de.length < 2 || de.some(($) => Number.isNaN($)) ? null : [de[0], de[1]];
|
|
1328
1331
|
}, ll = (o) => {
|
|
1329
1332
|
if (o == null || o === "") return null;
|
|
1330
1333
|
if (typeof o == "boolean") return o;
|
|
@@ -1338,14 +1341,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1338
1341
|
}, Rl = (o) => {
|
|
1339
1342
|
const b = je(o);
|
|
1340
1343
|
for (const P of b) {
|
|
1341
|
-
const
|
|
1342
|
-
if (
|
|
1343
|
-
return
|
|
1344
|
+
const fe = $e(Y(P, "Collapse"));
|
|
1345
|
+
if (fe)
|
|
1346
|
+
return fe;
|
|
1344
1347
|
}
|
|
1345
1348
|
return null;
|
|
1346
1349
|
}, 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((
|
|
1350
|
+
var fe, de, $, j, q, F, xe, Oe, sl;
|
|
1351
|
+
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
1352
|
return jl(
|
|
1350
1353
|
o == null ? void 0 : o.menuFilter,
|
|
1351
1354
|
(j = o == null ? void 0 : o.component) == null ? void 0 : j.menuFilter,
|
|
@@ -1367,67 +1370,73 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1367
1370
|
var b;
|
|
1368
1371
|
return ea(o) === "TABLE" && !((o == null ? void 0 : o.collapseGroupKey) ?? ((b = o == null ? void 0 : o.component) == null ? void 0 : b.collapseGroupKey));
|
|
1369
1372
|
}, Kl = (o) => {
|
|
1370
|
-
var
|
|
1371
|
-
const b = ea(o);
|
|
1372
|
-
|
|
1373
|
+
var fe, de;
|
|
1374
|
+
const b = ea(o), P = (o == null ? void 0 : o.name) ?? ((fe = o == null ? void 0 : o.component) == null ? void 0 : fe.name);
|
|
1375
|
+
if (!P || b === "TABLE") return !1;
|
|
1376
|
+
if (b === "PARENTITEM") {
|
|
1377
|
+
if (typeof P == "string" && P[0] === "$") return !1;
|
|
1378
|
+
const $ = (o == null ? void 0 : o.children) ?? ((de = o == null ? void 0 : o.component) == null ? void 0 : de.children);
|
|
1379
|
+
return Array.isArray($) && $.length === 1 ? !1 : !_l(o);
|
|
1380
|
+
}
|
|
1381
|
+
return !le((o == null ? void 0 : o.component) ?? o);
|
|
1373
1382
|
}, Ul = (o) => Array.isArray(o) && o.some((b) => Kl(b == null ? void 0 : b.component)), Sl = (o, b) => {
|
|
1374
1383
|
if (!Array.isArray(o)) return -1;
|
|
1375
1384
|
for (let P = 0; P < o.length; P++)
|
|
1376
1385
|
if (Kl(b(o[P]))) return P;
|
|
1377
1386
|
return -1;
|
|
1378
1387
|
}, wl = (o) => {
|
|
1379
|
-
var
|
|
1388
|
+
var fe, de, $, j, q;
|
|
1380
1389
|
const b = Sl(o == null ? void 0 : o.innerLayouts, (F) => F == null ? void 0 : F.component);
|
|
1381
|
-
if (b >= 0) return ((
|
|
1390
|
+
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
1391
|
const P = Sl(o == null ? void 0 : o.components, (F) => F);
|
|
1383
1392
|
return P >= 0 ? ((q = (j = o == null ? void 0 : o.components) == null ? void 0 : j[P]) == null ? void 0 : q.name) ?? "" : "";
|
|
1384
1393
|
}, Je = (o) => {
|
|
1385
|
-
var
|
|
1386
|
-
const b = Sl(o == null ? void 0 : o.innerLayouts, (
|
|
1394
|
+
var fe, de;
|
|
1395
|
+
const b = Sl(o == null ? void 0 : o.innerLayouts, ($) => $ == null ? void 0 : $.component);
|
|
1387
1396
|
if (b < 0) return null;
|
|
1388
|
-
const P = (
|
|
1397
|
+
const P = (de = (fe = o == null ? void 0 : o.innerLayouts) == null ? void 0 : fe[b]) == null ? void 0 : de.y;
|
|
1389
1398
|
return typeof P == "number" ? P : null;
|
|
1390
1399
|
}, Ke = (o) => Sl(o == null ? void 0 : o.components, (b) => b), kl = (o, b) => {
|
|
1391
|
-
var
|
|
1400
|
+
var de, $;
|
|
1392
1401
|
const P = ea(o);
|
|
1393
|
-
return !((o == null ? void 0 : o.name) ?? ((
|
|
1402
|
+
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
1403
|
}, sa = (o) => Ne(o).enabled, La = (o, b, P) => {
|
|
1395
|
-
var
|
|
1396
|
-
const
|
|
1397
|
-
if (
|
|
1398
|
-
return `${b}-group-${
|
|
1399
|
-
const
|
|
1400
|
-
return `${b}-${
|
|
1404
|
+
var $, j, q;
|
|
1405
|
+
const fe = (o == null ? void 0 : o.collapseGroupKey) ?? (($ = o == null ? void 0 : o.component) == null ? void 0 : $.collapseGroupKey);
|
|
1406
|
+
if (fe)
|
|
1407
|
+
return `${b}-group-${fe}`;
|
|
1408
|
+
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;
|
|
1409
|
+
return `${b}-${de}`;
|
|
1401
1410
|
}, $l = (o, b, P) => {
|
|
1402
|
-
const
|
|
1403
|
-
if (!
|
|
1404
|
-
const
|
|
1405
|
-
return typeof He.value[
|
|
1411
|
+
const fe = Ne(o);
|
|
1412
|
+
if (!fe.enabled) return !1;
|
|
1413
|
+
const de = La(o, b, P);
|
|
1414
|
+
return typeof He.value[de] == "boolean" ? He.value[de] : fe.defaultCollapsed;
|
|
1406
1415
|
}, ia = (o, b, P) => {
|
|
1407
1416
|
if (!sa(o)) return;
|
|
1408
|
-
const
|
|
1409
|
-
He.value[
|
|
1417
|
+
const fe = La(o, b, P);
|
|
1418
|
+
He.value[fe] = !$l(o, b, P);
|
|
1410
1419
|
}, rt = (o) => ({
|
|
1411
1420
|
highlight: ll(Y(o, "Highlight")) === !0,
|
|
1412
1421
|
position: Qe(o, "Position"),
|
|
1413
1422
|
size: Qe(o, "Size")
|
|
1414
1423
|
}), xa = (o) => {
|
|
1415
1424
|
var F;
|
|
1416
|
-
const b = (o == null ? void 0 : o.cardLayout) ?? {}, P = rt(o == null ? void 0 : o.menuFilter),
|
|
1425
|
+
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
1426
|
return {
|
|
1418
|
-
highlight:
|
|
1419
|
-
position:
|
|
1420
|
-
size:
|
|
1427
|
+
highlight: fe ?? (P == null ? void 0 : P.highlight),
|
|
1428
|
+
position: de,
|
|
1429
|
+
size: $ ?? q
|
|
1421
1430
|
};
|
|
1422
1431
|
}, Da = (o) => {
|
|
1423
|
-
var
|
|
1424
|
-
const b = o ?? {}, P = b.component ?? {},
|
|
1425
|
-
return b.filter ?? P.filter ?? ((
|
|
1432
|
+
var de;
|
|
1433
|
+
const b = o ?? {}, P = b.component ?? {}, fe = (Array.isArray(b.compData) ? b.compData : null) ?? (Array.isArray(P.compData) ? P.compData : null) ?? [];
|
|
1434
|
+
return b.filter ?? P.filter ?? ((de = fe.find(($) => ($ == null ? void 0 : $.key) === "filter")) == null ? void 0 : de.contents) ?? b.menuFilter ?? P.menuFilter ?? "";
|
|
1426
1435
|
}, Hl = (o) => {
|
|
1427
1436
|
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),
|
|
1437
|
+
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
1438
|
return {
|
|
1430
|
-
position:
|
|
1439
|
+
position: fe ?? F,
|
|
1431
1440
|
size: xe
|
|
1432
1441
|
};
|
|
1433
1442
|
}, Oa = (o) => {
|
|
@@ -1454,25 +1463,25 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1454
1463
|
};
|
|
1455
1464
|
}).filter((j) => j);
|
|
1456
1465
|
if (P.length !== o.length) return [];
|
|
1457
|
-
const
|
|
1458
|
-
let
|
|
1459
|
-
return
|
|
1460
|
-
q > 0 && (
|
|
1466
|
+
const fe = Array.from(new Set(P.map((j) => j.row))).sort((j, q) => j - q), de = /* @__PURE__ */ new Map();
|
|
1467
|
+
let $ = 0;
|
|
1468
|
+
return fe.forEach((j, q) => {
|
|
1469
|
+
q > 0 && ($ += fn), de.set(j, $);
|
|
1461
1470
|
const F = Math.max(...P.filter((xe) => xe.row === j).map((xe) => xe.h), 0);
|
|
1462
|
-
|
|
1463
|
-
}),
|
|
1471
|
+
$ += F;
|
|
1472
|
+
}), fe.flatMap((j) => {
|
|
1464
1473
|
const q = P.filter((F) => F.row === j);
|
|
1465
1474
|
return Lo(
|
|
1466
1475
|
q,
|
|
1467
|
-
|
|
1476
|
+
de.get(j) ?? 0,
|
|
1468
1477
|
$t.value,
|
|
1469
1478
|
(F, xe) => F.column - xe.column
|
|
1470
1479
|
);
|
|
1471
1480
|
});
|
|
1472
1481
|
}, Po = (o = Ca.value ?? []) => {
|
|
1473
1482
|
const P = gc(o, 100) || [];
|
|
1474
|
-
let
|
|
1475
|
-
return P == null ? void 0 : P.map((j) => (
|
|
1483
|
+
let fe = 0, de = 0, $ = 0;
|
|
1484
|
+
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
1485
|
}, $t = Vl(() => {
|
|
1477
1486
|
var P;
|
|
1478
1487
|
const o = z.value || ((P = D.value) == null ? void 0 : P.clientWidth) || 0, b = S.value || 0;
|
|
@@ -1483,33 +1492,33 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1483
1492
|
}, ct = (o) => o.reduce((b, P) => b + P, 0), ar = (o, b) => {
|
|
1484
1493
|
const P = o.map((j) => Math.max(1, Ct(j, 1)));
|
|
1485
1494
|
if (P.length === 0) return [];
|
|
1486
|
-
const
|
|
1487
|
-
if (
|
|
1488
|
-
const
|
|
1489
|
-
return
|
|
1495
|
+
const fe = ct(P), de = Math.max(P.length, Math.round(b));
|
|
1496
|
+
if (fe >= de) return P;
|
|
1497
|
+
const $ = [...P];
|
|
1498
|
+
return $[$.length - 1] += de - fe, $;
|
|
1490
1499
|
}, Vo = (o, b) => {
|
|
1491
1500
|
const P = o.map((ol) => Math.max(1, Ct(ol, 1)));
|
|
1492
1501
|
if (P.length === 0) return [];
|
|
1493
|
-
const
|
|
1494
|
-
if (ct(P) <=
|
|
1495
|
-
const
|
|
1496
|
-
if (
|
|
1502
|
+
const fe = Math.max(P.length, Math.round(b));
|
|
1503
|
+
if (ct(P) <= fe) return P;
|
|
1504
|
+
const de = fe - P.length;
|
|
1505
|
+
if (de <= 0)
|
|
1497
1506
|
return P.map(() => 1);
|
|
1498
|
-
const
|
|
1507
|
+
const $ = P.map((ol) => Math.max(0, ol - 1)), j = ct($);
|
|
1499
1508
|
if (j <= 0) {
|
|
1500
|
-
const ol = Math.floor(
|
|
1501
|
-
let fl =
|
|
1509
|
+
const ol = Math.floor(de / P.length);
|
|
1510
|
+
let fl = de % P.length;
|
|
1502
1511
|
return P.map(() => {
|
|
1503
1512
|
const vl = 1 + ol + (fl > 0 ? 1 : 0);
|
|
1504
1513
|
return fl = Math.max(0, fl - 1), vl;
|
|
1505
1514
|
});
|
|
1506
1515
|
}
|
|
1507
|
-
const q =
|
|
1508
|
-
let Oe = F.reduce((ol, fl) => ol + fl, 0), sl =
|
|
1516
|
+
const q = $.map((ol) => ol / j * de), F = q.map((ol) => Math.floor(ol)), xe = P.map((ol, fl) => 1 + F[fl]);
|
|
1517
|
+
let Oe = F.reduce((ol, fl) => ol + fl, 0), sl = de - Oe;
|
|
1509
1518
|
const nl = q.map((ol, fl) => ({
|
|
1510
1519
|
index: fl,
|
|
1511
1520
|
fraction: ol - Math.floor(ol),
|
|
1512
|
-
weight:
|
|
1521
|
+
weight: $[fl]
|
|
1513
1522
|
})).sort((ol, fl) => fl.fraction !== ol.fraction ? fl.fraction - ol.fraction : fl.weight !== ol.weight ? fl.weight - ol.weight : ol.index - fl.index);
|
|
1514
1523
|
for (const ol of nl) {
|
|
1515
1524
|
if (sl <= 0) break;
|
|
@@ -1519,33 +1528,33 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1519
1528
|
}, tr = (o, b) => {
|
|
1520
1529
|
const P = o.map((sl) => Math.max(1, Ct(sl, 1)));
|
|
1521
1530
|
if (P.length <= 1) return P;
|
|
1522
|
-
const
|
|
1523
|
-
if (
|
|
1524
|
-
return ar(P,
|
|
1525
|
-
if (
|
|
1526
|
-
let
|
|
1531
|
+
const fe = Math.max(P.length, Math.round(b)), de = ct(P);
|
|
1532
|
+
if (de < fe && de >= iu)
|
|
1533
|
+
return ar(P, fe);
|
|
1534
|
+
if (de < fe || de === fe) return P;
|
|
1535
|
+
let $ = 0, j = -1;
|
|
1527
1536
|
for (let sl = 1; sl < P.length; sl += 1) {
|
|
1528
|
-
|
|
1537
|
+
$ += P[sl - 1];
|
|
1529
1538
|
const nl = P.length - sl;
|
|
1530
1539
|
if (nl < 2) continue;
|
|
1531
|
-
const ol =
|
|
1540
|
+
const ol = fe - $;
|
|
1532
1541
|
if (ol < nl) continue;
|
|
1533
1542
|
ct(P.slice(sl)) > ol && (j = sl);
|
|
1534
1543
|
}
|
|
1535
1544
|
if (j <= 0)
|
|
1536
|
-
return Vo(P,
|
|
1537
|
-
const q = P.slice(0, j), F = ct(q), xe = Math.max(P.length - j,
|
|
1545
|
+
return Vo(P, fe);
|
|
1546
|
+
const q = P.slice(0, j), F = ct(q), xe = Math.max(P.length - j, fe - F), Oe = Vo(P.slice(j), xe);
|
|
1538
1547
|
return [...q, ...Oe];
|
|
1539
|
-
}, Lo = (o, b, P,
|
|
1540
|
-
const
|
|
1541
|
-
if (
|
|
1542
|
-
const
|
|
1543
|
-
|
|
1544
|
-
|
|
1548
|
+
}, Lo = (o, b, P, fe) => {
|
|
1549
|
+
const de = [...o].sort(fe);
|
|
1550
|
+
if (de.length === 0) return [];
|
|
1551
|
+
const $ = Math.max(de.length, 100), j = tr(
|
|
1552
|
+
de.map((F) => Ct(F == null ? void 0 : F.w)),
|
|
1553
|
+
$
|
|
1545
1554
|
);
|
|
1546
1555
|
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 <
|
|
1556
|
+
return de.map((F, xe) => {
|
|
1557
|
+
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
1558
|
...F,
|
|
1550
1559
|
x: Number((q + sl).toFixed(4)),
|
|
1551
1560
|
y: b,
|
|
@@ -1555,14 +1564,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1555
1564
|
return q += Oe, fl;
|
|
1556
1565
|
});
|
|
1557
1566
|
}, or = (o, b) => {
|
|
1558
|
-
const P = [],
|
|
1559
|
-
return o.map((
|
|
1560
|
-
const
|
|
1561
|
-
...
|
|
1567
|
+
const P = [], fe = (de, $, j, q) => q > de + 1e-4 && j < $ - 1e-4;
|
|
1568
|
+
return o.map((de) => {
|
|
1569
|
+
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 = {
|
|
1570
|
+
...de,
|
|
1562
1571
|
y: Oe
|
|
1563
1572
|
};
|
|
1564
1573
|
return F > 0 && P.push({
|
|
1565
|
-
x:
|
|
1574
|
+
x: $,
|
|
1566
1575
|
right: q,
|
|
1567
1576
|
bottom: Oe + F
|
|
1568
1577
|
}), sl;
|
|
@@ -1570,13 +1579,13 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1570
1579
|
}, sr = (o) => {
|
|
1571
1580
|
const b = Po(o) ?? [];
|
|
1572
1581
|
if (b.length === 0) return [];
|
|
1573
|
-
const P = Math.min(...b.map((F) => Number(F == null ? void 0 : F.y) || 0)),
|
|
1582
|
+
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
1583
|
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
1584
|
return {
|
|
1576
1585
|
...F,
|
|
1577
1586
|
i: (Oe == null ? void 0 : Oe.id) ?? (F == null ? void 0 : F.i) ?? `section-inner-${xe}`,
|
|
1578
1587
|
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) -
|
|
1588
|
+
x: Math.max(0, Math.round((Number(F == null ? void 0 : F.x) || 0) - fe)),
|
|
1580
1589
|
y: Math.max(0, Math.round((Number(F == null ? void 0 : F.y) || 0) - P)),
|
|
1581
1590
|
w: sl,
|
|
1582
1591
|
h: nl,
|
|
@@ -1585,14 +1594,14 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1585
1594
|
maxH: Math.max(1, Math.round(Number(F == null ? void 0 : F.maxH) || nl)),
|
|
1586
1595
|
component: Oe
|
|
1587
1596
|
};
|
|
1588
|
-
}),
|
|
1597
|
+
}), $ = Array.from(new Set(de.map((F) => F.y))).sort((F, xe) => F - xe), j = /* @__PURE__ */ new Map();
|
|
1589
1598
|
let q = 0;
|
|
1590
|
-
return
|
|
1599
|
+
return $.forEach((F, xe) => {
|
|
1591
1600
|
xe > 0 && (q += fn), j.set(F, q);
|
|
1592
|
-
const Oe = Math.max(...
|
|
1601
|
+
const Oe = Math.max(...de.filter((sl) => sl.y === F).map((sl) => sl.h), 0);
|
|
1593
1602
|
q += Oe;
|
|
1594
|
-
}),
|
|
1595
|
-
const xe = nu, Oe =
|
|
1603
|
+
}), $.flatMap((F) => {
|
|
1604
|
+
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
1605
|
let fl = 0;
|
|
1597
1606
|
return Oe.map((vl, Wl) => {
|
|
1598
1607
|
const Gl = Wl === Oe.length - 1 ? Math.max(1, 100 - fl) : Math.max(1, Math.floor(vl.w / ol * nl)), Pl = {
|
|
@@ -1630,7 +1639,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1630
1639
|
component: o[0]
|
|
1631
1640
|
}
|
|
1632
1641
|
];
|
|
1633
|
-
const
|
|
1642
|
+
const fe = [
|
|
1634
1643
|
{
|
|
1635
1644
|
i: ((Oe = o[0]) == null ? void 0 : Oe.id) ?? "section-inner-0",
|
|
1636
1645
|
id: ((sl = o[0]) == null ? void 0 : sl.id) ?? "section-inner-0",
|
|
@@ -1643,11 +1652,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1643
1652
|
maxH: 18,
|
|
1644
1653
|
component: o[0]
|
|
1645
1654
|
}
|
|
1646
|
-
],
|
|
1655
|
+
], de = o.slice(1), $ = $t.value, j = Math.floor((100 - $ * (de.length - 1)) / de.length);
|
|
1647
1656
|
let q = 0;
|
|
1648
|
-
return
|
|
1649
|
-
const fl = ol ===
|
|
1650
|
-
|
|
1657
|
+
return de.forEach((nl, ol) => {
|
|
1658
|
+
const fl = ol === de.length - 1 ? Math.max(1, 100 - q) : j;
|
|
1659
|
+
fe.push({
|
|
1651
1660
|
i: (nl == null ? void 0 : nl.id) ?? `section-inner-${ol + 1}`,
|
|
1652
1661
|
id: (nl == null ? void 0 : nl.id) ?? `section-inner-${ol + 1}`,
|
|
1653
1662
|
x: q,
|
|
@@ -1658,8 +1667,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1658
1667
|
minH: 18,
|
|
1659
1668
|
maxH: 18,
|
|
1660
1669
|
component: nl
|
|
1661
|
-
}), q += fl +
|
|
1662
|
-
}),
|
|
1670
|
+
}), q += fl + $;
|
|
1671
|
+
}), fe;
|
|
1663
1672
|
}, rr = (o, b) => Ro(
|
|
1664
1673
|
o,
|
|
1665
1674
|
(P) => Math.min(b, Math.round(P * b))
|
|
@@ -1667,45 +1676,45 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1667
1676
|
if (!(o != null && o.highlight)) return "";
|
|
1668
1677
|
const b = oe(o == null ? void 0 : o.position);
|
|
1669
1678
|
if (!b) return "";
|
|
1670
|
-
const P = oe(o == null ? void 0 : o.size),
|
|
1671
|
-
return `${
|
|
1679
|
+
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("-") : "";
|
|
1680
|
+
return `${fe}__${de}`;
|
|
1672
1681
|
}, ir = (o) => {
|
|
1673
1682
|
const b = [], P = /* @__PURE__ */ new Map();
|
|
1674
|
-
let
|
|
1675
|
-
const
|
|
1676
|
-
|
|
1677
|
-
id: `section-segment-${
|
|
1683
|
+
let fe = [], de = 0;
|
|
1684
|
+
const $ = () => {
|
|
1685
|
+
fe.length !== 0 && (b.push({
|
|
1686
|
+
id: `section-segment-${de++}`,
|
|
1678
1687
|
type: "section",
|
|
1679
|
-
items: [...
|
|
1680
|
-
}),
|
|
1688
|
+
items: [...fe]
|
|
1689
|
+
}), fe = []);
|
|
1681
1690
|
};
|
|
1682
1691
|
return o.forEach((j) => {
|
|
1683
1692
|
const q = xa(j);
|
|
1684
1693
|
if (!q.highlight) {
|
|
1685
|
-
|
|
1694
|
+
fe.push(j);
|
|
1686
1695
|
return;
|
|
1687
1696
|
}
|
|
1688
|
-
|
|
1697
|
+
$();
|
|
1689
1698
|
const F = cr(q), xe = F ? P.get(F) : null;
|
|
1690
1699
|
if (xe) {
|
|
1691
1700
|
xe.items.push(j);
|
|
1692
1701
|
return;
|
|
1693
1702
|
}
|
|
1694
1703
|
const Oe = {
|
|
1695
|
-
id: `highlight-segment-${
|
|
1704
|
+
id: `highlight-segment-${de++}`,
|
|
1696
1705
|
type: "highlight",
|
|
1697
1706
|
items: [j],
|
|
1698
1707
|
outerMeta: q
|
|
1699
1708
|
};
|
|
1700
1709
|
b.push(Oe), F && P.set(F, Oe);
|
|
1701
|
-
}),
|
|
1710
|
+
}), $(), b;
|
|
1702
1711
|
}, ur = () => {
|
|
1703
1712
|
const o = (Ca.value ?? []).filter((j) => (j == null ? void 0 : j.comp) !== "FormTop"), b = ir(o), P = [];
|
|
1704
|
-
let
|
|
1713
|
+
let fe = 1;
|
|
1705
1714
|
b.forEach((j, q) => {
|
|
1706
1715
|
var Gl, Pl, aa;
|
|
1707
1716
|
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(
|
|
1717
|
+
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
1718
|
P.push({
|
|
1710
1719
|
id: `section-card-${q}`,
|
|
1711
1720
|
i: `section-card-${q}`,
|
|
@@ -1721,10 +1730,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1721
1730
|
innerLayouts: ca,
|
|
1722
1731
|
isCardGroup: !0,
|
|
1723
1732
|
isSectionGroup: !0
|
|
1724
|
-
}),
|
|
1733
|
+
}), fe = Math.max(fe, Dl + 1);
|
|
1725
1734
|
return;
|
|
1726
1735
|
}
|
|
1727
|
-
const F = (j == null ? void 0 : j.outerMeta) ?? xa((Pl = j == null ? void 0 : j.items) == null ? void 0 : Pl[0]), [xe =
|
|
1736
|
+
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
1737
|
P.push({
|
|
1729
1738
|
id: `highlight-card-${q}`,
|
|
1730
1739
|
i: `highlight-card-${q}`,
|
|
@@ -1740,9 +1749,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1740
1749
|
innerLayouts: Ol,
|
|
1741
1750
|
isCardGroup: !0,
|
|
1742
1751
|
isHighlightCard: !0
|
|
1743
|
-
}),
|
|
1752
|
+
}), fe = Math.max(fe, ol + 1);
|
|
1744
1753
|
});
|
|
1745
|
-
const
|
|
1754
|
+
const $ = Array.from(new Set(P.map((j) => j.row))).sort((j, q) => j - q).flatMap((j) => {
|
|
1746
1755
|
const q = P.filter((F) => F.row === j);
|
|
1747
1756
|
return Lo(
|
|
1748
1757
|
q,
|
|
@@ -1751,10 +1760,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1751
1760
|
(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
1761
|
);
|
|
1753
1762
|
});
|
|
1754
|
-
return or(
|
|
1763
|
+
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
1764
|
}, Oo = Vl(() => {
|
|
1756
1765
|
var P;
|
|
1757
|
-
const o = (Ca.value ?? []).filter((
|
|
1766
|
+
const o = (Ca.value ?? []).filter((fe) => (fe == null ? void 0 : fe.comp) !== "FormTop"), b = o.some((fe) => Oa(fe));
|
|
1758
1767
|
return !((P = M == null ? void 0 : M.value) != null && P.includes("首页")) || !b ? Po(o) : ur();
|
|
1759
1768
|
}), ka = Vl(() => {
|
|
1760
1769
|
var b;
|
|
@@ -1773,7 +1782,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1773
1782
|
}), te.observe(D.value));
|
|
1774
1783
|
};
|
|
1775
1784
|
Ml(
|
|
1776
|
-
() => [ka.value, M.value, qt.value,
|
|
1785
|
+
() => [ka.value, M.value, qt.value, ee.value],
|
|
1777
1786
|
async () => {
|
|
1778
1787
|
await fa(), Uo(), Kt();
|
|
1779
1788
|
},
|
|
@@ -1788,8 +1797,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1788
1797
|
}
|
|
1789
1798
|
);
|
|
1790
1799
|
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((
|
|
1800
|
+
var o, b, P, fe;
|
|
1801
|
+
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
1802
|
}), jo = Vl(() => {
|
|
1794
1803
|
var o, b, P;
|
|
1795
1804
|
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 +1807,17 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1798
1807
|
}, fr = () => {
|
|
1799
1808
|
U.value !== null && U.value.click();
|
|
1800
1809
|
}, hr = async (o) => {
|
|
1801
|
-
var
|
|
1810
|
+
var fe, de, $, j;
|
|
1802
1811
|
const b = o.target.files;
|
|
1803
1812
|
if (!b) return;
|
|
1804
1813
|
const P = new FormData();
|
|
1805
1814
|
Array.from(b).forEach((q) => {
|
|
1806
1815
|
P.append("files", q, q == null ? void 0 : q.name);
|
|
1807
|
-
}), P.set("platId", parseInt((
|
|
1816
|
+
}), P.set("platId", parseInt((fe = re == null ? void 0 : re.value) == null ? void 0 : fe.plat_id));
|
|
1808
1817
|
try {
|
|
1809
1818
|
const q = await mr(P);
|
|
1810
|
-
if (((
|
|
1811
|
-
const F = await Mr({ platId: parseInt((
|
|
1819
|
+
if (((de = q == null ? void 0 : q.data) == null ? void 0 : de.code) === 200) {
|
|
1820
|
+
const F = await Mr({ platId: parseInt(($ = re == null ? void 0 : re.value) == null ? void 0 : $.plat_id) });
|
|
1812
1821
|
L.setDataFiles((j = F == null ? void 0 : F.data) == null ? void 0 : j.result);
|
|
1813
1822
|
}
|
|
1814
1823
|
} catch (q) {
|
|
@@ -1818,7 +1827,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1818
1827
|
}
|
|
1819
1828
|
};
|
|
1820
1829
|
return (o, b) => {
|
|
1821
|
-
const P = ne("el-dialog"),
|
|
1830
|
+
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
1831
|
return f(), X(rl, null, [
|
|
1823
1832
|
n(Sa, {
|
|
1824
1833
|
visible: C.value,
|
|
@@ -1870,10 +1879,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1870
1879
|
}, 8, ["modelValue"]),
|
|
1871
1880
|
wa(n(q, { class: "client-container" }, {
|
|
1872
1881
|
default: r(() => [
|
|
1873
|
-
n(
|
|
1882
|
+
n(de, { class: "client-structure-header" }, {
|
|
1874
1883
|
default: r(() => [
|
|
1875
1884
|
O("div", ei, [
|
|
1876
|
-
n(
|
|
1885
|
+
n(fe, {
|
|
1877
1886
|
id: "transparentBgButton",
|
|
1878
1887
|
onClick: s(On)
|
|
1879
1888
|
}, {
|
|
@@ -1881,9 +1890,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1881
1890
|
n(Fl, { name: "Back" })
|
|
1882
1891
|
]),
|
|
1883
1892
|
default: r(() => [
|
|
1884
|
-
b[11] || (b[11] = gl(" 返回页面 "
|
|
1893
|
+
b[11] || (b[11] = gl(" 返回页面 "))
|
|
1885
1894
|
]),
|
|
1886
|
-
_: 1
|
|
1895
|
+
_: 1,
|
|
1896
|
+
__: [11]
|
|
1887
1897
|
}, 8, ["onClick"])
|
|
1888
1898
|
]),
|
|
1889
1899
|
O("div", li, [
|
|
@@ -1893,7 +1903,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1893
1903
|
}, null, 8, ["breadArray", "onClick"])
|
|
1894
1904
|
]),
|
|
1895
1905
|
O("div", ai, [
|
|
1896
|
-
n(
|
|
1906
|
+
n(fe, {
|
|
1897
1907
|
id: "themeButton",
|
|
1898
1908
|
onClick: b[3] || (b[3] = (Ol) => {
|
|
1899
1909
|
var Gl, Pl;
|
|
@@ -1904,9 +1914,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1904
1914
|
n(Fl, { name: "Store" })
|
|
1905
1915
|
]),
|
|
1906
1916
|
default: r(() => [
|
|
1907
|
-
b[12] || (b[12] = gl(" 保存页面 "
|
|
1917
|
+
b[12] || (b[12] = gl(" 保存页面 "))
|
|
1908
1918
|
]),
|
|
1909
|
-
_: 1
|
|
1919
|
+
_: 1,
|
|
1920
|
+
__: [12]
|
|
1910
1921
|
})
|
|
1911
1922
|
])
|
|
1912
1923
|
]),
|
|
@@ -1919,7 +1930,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1919
1930
|
default: r(() => [
|
|
1920
1931
|
n(j, null, {
|
|
1921
1932
|
default: r(() => [
|
|
1922
|
-
n(
|
|
1933
|
+
n($, {
|
|
1923
1934
|
size: 240,
|
|
1924
1935
|
min: 240,
|
|
1925
1936
|
resizable: !1,
|
|
@@ -1944,7 +1955,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1944
1955
|
]),
|
|
1945
1956
|
_: 1
|
|
1946
1957
|
}),
|
|
1947
|
-
n(
|
|
1958
|
+
n($, {
|
|
1948
1959
|
min: 200,
|
|
1949
1960
|
collapsible: !0
|
|
1950
1961
|
}, {
|
|
@@ -1967,7 +1978,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1967
1978
|
]),
|
|
1968
1979
|
_: 1
|
|
1969
1980
|
}),
|
|
1970
|
-
n(
|
|
1981
|
+
n($, {
|
|
1971
1982
|
size: 350,
|
|
1972
1983
|
min: 350,
|
|
1973
1984
|
collapsible: !0
|
|
@@ -1995,7 +2006,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1995
2006
|
"element-loading-text": "正在加载页面数据..."
|
|
1996
2007
|
}, {
|
|
1997
2008
|
default: r(() => [
|
|
1998
|
-
n(
|
|
2009
|
+
n(de, { class: "client-header" }, {
|
|
1999
2010
|
default: r(() => [
|
|
2000
2011
|
O("div", {
|
|
2001
2012
|
class: "client-header-logo",
|
|
@@ -2013,7 +2024,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2013
2024
|
n(Uc, { mode: "horizontal" })
|
|
2014
2025
|
]),
|
|
2015
2026
|
O("div", ii, [
|
|
2016
|
-
dr.value ? (f(), ge(
|
|
2027
|
+
dr.value ? (f(), ge(fe, {
|
|
2017
2028
|
key: 0,
|
|
2018
2029
|
class: "system-default-button",
|
|
2019
2030
|
onClick: pr
|
|
@@ -2022,9 +2033,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2022
2033
|
n(Fl, { name: "系统管理" })
|
|
2023
2034
|
]),
|
|
2024
2035
|
default: r(() => [
|
|
2025
|
-
b[13] || (b[13] = gl(" 系统管理 "
|
|
2036
|
+
b[13] || (b[13] = gl(" 系统管理 "))
|
|
2026
2037
|
]),
|
|
2027
|
-
_: 1
|
|
2038
|
+
_: 1,
|
|
2039
|
+
__: [13]
|
|
2028
2040
|
})) : De("", !0),
|
|
2029
2041
|
ba(o.$slots, "default", {}, void 0, !0),
|
|
2030
2042
|
n(po, null, {
|
|
@@ -2081,11 +2093,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2081
2093
|
label: "未读消息",
|
|
2082
2094
|
name: "second"
|
|
2083
2095
|
}, {
|
|
2084
|
-
label: r(() =>
|
|
2096
|
+
label: r(() => b[15] || (b[15] = [
|
|
2085
2097
|
O("div", { class: "message-tab-label" }, [
|
|
2086
2098
|
O("span", null, "未读消息")
|
|
2087
2099
|
], -1)
|
|
2088
|
-
])
|
|
2100
|
+
])),
|
|
2089
2101
|
default: r(() => [
|
|
2090
2102
|
O("div", Ai, [
|
|
2091
2103
|
(f(!0), X(rl, null, bl(K.value, (Ol, Gl) => {
|
|
@@ -2207,12 +2219,12 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2207
2219
|
default: r(() => [
|
|
2208
2220
|
n(vl, {
|
|
2209
2221
|
class: ql(["client-main", { "home-card-main": ka.value }]),
|
|
2210
|
-
style: Yl({ paddingLeft:
|
|
2222
|
+
style: Yl({ paddingLeft: ee.value ? "16px" : "0px" })
|
|
2211
2223
|
}, {
|
|
2212
2224
|
default: r(() => {
|
|
2213
2225
|
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
2226
|
return [
|
|
2215
|
-
|
|
2227
|
+
ee.value ? De("", !0) : wa((f(), ge(Oe, {
|
|
2216
2228
|
key: 0,
|
|
2217
2229
|
class: "client-aside",
|
|
2218
2230
|
style: Yl({ backgroundImage: e.platform === "client" ? `url(${s(qn)})` : `url(${s(Fn)})` }),
|
|
@@ -2294,8 +2306,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2294
2306
|
key: 1,
|
|
2295
2307
|
related: m == null ? void 0 : m.relatedTables,
|
|
2296
2308
|
compNames: s(dt),
|
|
2297
|
-
compName: m.name
|
|
2298
|
-
|
|
2309
|
+
compName: m.name,
|
|
2310
|
+
ref_for: !0
|
|
2311
|
+
}, (m == null ? void 0 : m.comp) === "ParentItem" ? { collapse: m == null ? void 0 : m.collapse, parentName: m == null ? void 0 : m.name } : {}, {
|
|
2299
2312
|
groupNames: m == null ? void 0 : m.nameContents,
|
|
2300
2313
|
cacheNewData: s(Za),
|
|
2301
2314
|
isDevMode: e.showButton,
|
|
@@ -2426,8 +2439,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2426
2439
|
status: (Ks = W == null ? void 0 : W.component) == null ? void 0 : Ks.status
|
|
2427
2440
|
},
|
|
2428
2441
|
compName: (Hs = W == null ? void 0 : W.component) == null ? void 0 : Hs.name,
|
|
2429
|
-
compNames: s(dt)
|
|
2430
|
-
|
|
2442
|
+
compNames: s(dt),
|
|
2443
|
+
ref_for: !0
|
|
2444
|
+
}, ((Ws = W == null ? void 0 : W.component) == null ? void 0 : Ws.comp) === "ParentItem" ? { collapse: (qs = W == null ? void 0 : W.component) == null ? void 0 : qs.collapse, parentName: (Fs = W == null ? void 0 : W.component) == null ? void 0 : Fs.name } : {}, {
|
|
2431
2445
|
isDevMode: e.showButton,
|
|
2432
2446
|
itemData: (Ys = W == null ? void 0 : W.component) == null ? void 0 : Ys.compData,
|
|
2433
2447
|
childItemData: (Js = W == null ? void 0 : W.component) == null ? void 0 : Js.itemChildData,
|
|
@@ -2493,8 +2507,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2493
2507
|
status: W == null ? void 0 : W.status
|
|
2494
2508
|
},
|
|
2495
2509
|
compName: W == null ? void 0 : W.name,
|
|
2496
|
-
compNames: s(dt)
|
|
2497
|
-
|
|
2510
|
+
compNames: s(dt),
|
|
2511
|
+
ref_for: !0
|
|
2512
|
+
}, (W == null ? void 0 : W.comp) === "ParentItem" ? { collapse: W == null ? void 0 : W.collapse, parentName: W == null ? void 0 : W.name } : {}, {
|
|
2498
2513
|
isDevMode: e.showButton,
|
|
2499
2514
|
itemData: W == null ? void 0 : W.compData,
|
|
2500
2515
|
childItemData: W == null ? void 0 : W.itemChildData,
|
|
@@ -2549,8 +2564,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2549
2564
|
status: (Is = m == null ? void 0 : m.component) == null ? void 0 : Is.status
|
|
2550
2565
|
},
|
|
2551
2566
|
compName: (Ts = m == null ? void 0 : m.component) == null ? void 0 : Ts.name,
|
|
2552
|
-
compNames: s(dt)
|
|
2553
|
-
|
|
2567
|
+
compNames: s(dt),
|
|
2568
|
+
ref_for: !0
|
|
2569
|
+
}, ((Es = m == null ? void 0 : m.component) == null ? void 0 : Es.comp) === "ParentItem" ? { collapse: (Ds = m == null ? void 0 : m.component) == null ? void 0 : Ds.collapse, parentName: (Bs = m == null ? void 0 : m.component) == null ? void 0 : Bs.name } : {}, {
|
|
2554
2570
|
isDevMode: e.showButton,
|
|
2555
2571
|
itemData: (xs = m == null ? void 0 : m.component) == null ? void 0 : xs.compData,
|
|
2556
2572
|
childItemData: (Rs = m == null ? void 0 : m.component) == null ? void 0 : Rs.itemChildData,
|
|
@@ -2626,8 +2642,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2626
2642
|
pageLayout: Ba.value,
|
|
2627
2643
|
compName: ze.name,
|
|
2628
2644
|
related: ze == null ? void 0 : ze.relatedTables,
|
|
2629
|
-
compNames: s(dt)
|
|
2630
|
-
|
|
2645
|
+
compNames: s(dt),
|
|
2646
|
+
ref_for: !0
|
|
2647
|
+
}, (ze == null ? void 0 : ze.comp) === "ParentItem" ? { collapse: ze == null ? void 0 : ze.collapse, parentName: ze == null ? void 0 : ze.name } : {}, {
|
|
2631
2648
|
isDevMode: e.showButton,
|
|
2632
2649
|
itemData: ze == null ? void 0 : ze.compData,
|
|
2633
2650
|
childItemData: ze == null ? void 0 : ze.itemChildData,
|
|
@@ -2810,24 +2827,26 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2810
2827
|
]),
|
|
2811
2828
|
footer: r(() => [
|
|
2812
2829
|
O("div", ou, [
|
|
2813
|
-
n(
|
|
2830
|
+
n(fe, {
|
|
2814
2831
|
onClick: b[8] || (b[8] = (Ol) => to.value = !1),
|
|
2815
2832
|
id: "themeBorderButton"
|
|
2816
2833
|
}, {
|
|
2817
|
-
default: r(() =>
|
|
2818
|
-
gl(il("取消")
|
|
2819
|
-
])
|
|
2820
|
-
_: 1
|
|
2834
|
+
default: r(() => b[21] || (b[21] = [
|
|
2835
|
+
gl(il("取消"))
|
|
2836
|
+
])),
|
|
2837
|
+
_: 1,
|
|
2838
|
+
__: [21]
|
|
2821
2839
|
}),
|
|
2822
|
-
n(
|
|
2840
|
+
n(fe, {
|
|
2823
2841
|
class: "ok-button",
|
|
2824
2842
|
onClick: b[9] || (b[9] = (Ol) => s(fc)()),
|
|
2825
2843
|
id: "themeButton"
|
|
2826
2844
|
}, {
|
|
2827
|
-
default: r(() =>
|
|
2828
|
-
gl(il("确认")
|
|
2829
|
-
])
|
|
2830
|
-
_: 1
|
|
2845
|
+
default: r(() => b[22] || (b[22] = [
|
|
2846
|
+
gl(il("确认"))
|
|
2847
|
+
])),
|
|
2848
|
+
_: 1,
|
|
2849
|
+
__: [22]
|
|
2831
2850
|
})
|
|
2832
2851
|
])
|
|
2833
2852
|
]),
|
|
@@ -2843,7 +2862,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2843
2862
|
], 64);
|
|
2844
2863
|
};
|
|
2845
2864
|
}
|
|
2846
|
-
}), du = /* @__PURE__ */ va(uu, [["__scopeId", "data-v-
|
|
2865
|
+
}), du = /* @__PURE__ */ va(uu, [["__scopeId", "data-v-550f279b"]]), pu = /* @__PURE__ */ zl({
|
|
2847
2866
|
__name: "menuItem",
|
|
2848
2867
|
props: {
|
|
2849
2868
|
menuList: {
|
|
@@ -2962,22 +2981,22 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2962
2981
|
onSelect: B
|
|
2963
2982
|
}, {
|
|
2964
2983
|
default: r(() => [
|
|
2965
|
-
(f(!0), X(rl, null, bl(e.menuList, (
|
|
2966
|
-
|
|
2967
|
-
index:
|
|
2968
|
-
key:
|
|
2969
|
-
style: Yl(
|
|
2970
|
-
class: ql(e.editingPath === (
|
|
2984
|
+
(f(!0), X(rl, null, bl(e.menuList, (pe, re) => (f(), X(rl, null, [
|
|
2985
|
+
pe.show && pe.children && pe.children.length > 0 ? (f(), ge(Se, {
|
|
2986
|
+
index: pe.path,
|
|
2987
|
+
key: pe.path,
|
|
2988
|
+
style: Yl(pe.style),
|
|
2989
|
+
class: ql(e.editingPath === (pe == null ? void 0 : pe.path) && e.editingPath ? "editing-menu" : "")
|
|
2971
2990
|
}, {
|
|
2972
2991
|
title: r(() => [
|
|
2973
2992
|
ba(g.$slots, "title", {
|
|
2974
|
-
menu:
|
|
2993
|
+
menu: pe,
|
|
2975
2994
|
menuIndex: re
|
|
2976
2995
|
}, void 0, !0)
|
|
2977
2996
|
]),
|
|
2978
2997
|
default: r(() => [
|
|
2979
2998
|
n(pu, {
|
|
2980
|
-
menuList:
|
|
2999
|
+
menuList: pe.children,
|
|
2981
3000
|
onClickMenu: l,
|
|
2982
3001
|
editingPath: e.editingPath
|
|
2983
3002
|
}, Gt({ _: 2 }, [
|
|
@@ -2990,16 +3009,16 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2990
3009
|
]), 1032, ["menuList", "editingPath"])
|
|
2991
3010
|
]),
|
|
2992
3011
|
_: 2
|
|
2993
|
-
}, 1032, ["index", "style", "class"])) :
|
|
2994
|
-
index:
|
|
2995
|
-
key:
|
|
2996
|
-
class: ql(e.editingPath === (
|
|
2997
|
-
style: Yl(
|
|
2998
|
-
onClick: (se) => l(
|
|
3012
|
+
}, 1032, ["index", "style", "class"])) : pe.show ? (f(), ge(Ce, {
|
|
3013
|
+
index: pe.path,
|
|
3014
|
+
key: pe.path,
|
|
3015
|
+
class: ql(e.editingPath === (pe == null ? void 0 : pe.path) && e.editingPath ? "editing-menu" : ""),
|
|
3016
|
+
style: Yl(pe.style),
|
|
3017
|
+
onClick: (se) => l(pe)
|
|
2999
3018
|
}, {
|
|
3000
3019
|
title: r(() => [
|
|
3001
3020
|
ba(g.$slots, "title", {
|
|
3002
|
-
menu:
|
|
3021
|
+
menu: pe,
|
|
3003
3022
|
menuIndex: re,
|
|
3004
3023
|
onClick: u[0] || (u[0] = Jl(() => {
|
|
3005
3024
|
}, ["stop"]))
|
|
@@ -3055,7 +3074,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3055
3074
|
},
|
|
3056
3075
|
emits: ["update:modelValue", "get", "clear"],
|
|
3057
3076
|
setup(e, { emit: h }) {
|
|
3058
|
-
const c = e, v = h, _ = en(() => import("./localIcon-
|
|
3077
|
+
const c = e, v = h, _ = en(() => import("./localIcon-D5UoFBU5.js")), U = en(() => import("./eleIcon-DlIcb4df.js")), E = T(), L = ta({
|
|
3059
3078
|
fontIconPrefix: "",
|
|
3060
3079
|
fontIconWidth: 0,
|
|
3061
3080
|
fontIconSearch: "",
|
|
@@ -3072,8 +3091,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3072
3091
|
}, x = () => {
|
|
3073
3092
|
}, ie = T([]), l = ta({
|
|
3074
3093
|
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 (
|
|
3094
|
+
var ee;
|
|
3095
|
+
return (ee = K.match(/\/([^/]+)\.svg$/)) == null ? void 0 : ee[1];
|
|
3077
3096
|
}).filter(Boolean),
|
|
3078
3097
|
ele: Object.keys(Wr)
|
|
3079
3098
|
});
|
|
@@ -3088,8 +3107,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3088
3107
|
L.fontIconPrefix = "", v("clear", L.fontIconPrefix), v("update:modelValue", L.fontIconPrefix);
|
|
3089
3108
|
}, i = () => {
|
|
3090
3109
|
fa(() => {
|
|
3091
|
-
var K,
|
|
3092
|
-
L.fontIconWidth = (
|
|
3110
|
+
var K, ee;
|
|
3111
|
+
L.fontIconWidth = (ee = (K = E.value) == null ? void 0 : K.$el) == null ? void 0 : ee.offsetWidth;
|
|
3093
3112
|
});
|
|
3094
3113
|
}, J = () => {
|
|
3095
3114
|
window.addEventListener("resize", () => {
|
|
@@ -3100,12 +3119,12 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3100
3119
|
J(), i();
|
|
3101
3120
|
}), Ml(() => c == null ? void 0 : c.modelValue, (K) => {
|
|
3102
3121
|
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"),
|
|
3122
|
+
}, { immediate: !0 }), (K, ee) => {
|
|
3123
|
+
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
3124
|
return f(), X("div", hu, [
|
|
3106
3125
|
n(g, {
|
|
3107
3126
|
modelValue: L.fontIconSearch,
|
|
3108
|
-
"onUpdate:modelValue":
|
|
3127
|
+
"onUpdate:modelValue": ee[0] || (ee[0] = (se) => L.fontIconSearch = se),
|
|
3109
3128
|
placeholder: L.fontIconPlaceholder,
|
|
3110
3129
|
clearable: e.clearable,
|
|
3111
3130
|
disabled: e.disabled,
|
|
@@ -3141,9 +3160,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3141
3160
|
default: r(() => [
|
|
3142
3161
|
O("div", vu, [
|
|
3143
3162
|
O("div", gu, il(e.title), 1),
|
|
3144
|
-
n(
|
|
3163
|
+
n(pe, {
|
|
3145
3164
|
modelValue: L.fontIconTabActive,
|
|
3146
|
-
"onUpdate:modelValue":
|
|
3165
|
+
"onUpdate:modelValue": ee[1] || (ee[1] = (se) => L.fontIconTabActive = se),
|
|
3147
3166
|
onTabClick: M
|
|
3148
3167
|
}, {
|
|
3149
3168
|
default: r(() => [
|
|
@@ -3340,7 +3359,7 @@ function Au(e = "menu") {
|
|
|
3340
3359
|
linkMenuInfo: B,
|
|
3341
3360
|
updateMenuStatus: N,
|
|
3342
3361
|
menuMap: i
|
|
3343
|
-
} = Tl(_), J = ma(), { structureData: K } = Tl(J),
|
|
3362
|
+
} = 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
3363
|
...S,
|
|
3345
3364
|
// 水平菜单仅显示一层
|
|
3346
3365
|
children: S.level === 0 ? [] : S.children ?? [],
|
|
@@ -3360,7 +3379,7 @@ function Au(e = "menu") {
|
|
|
3360
3379
|
for (const [t, p] of (z = i.value) == null ? void 0 : z.entries())
|
|
3361
3380
|
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
3381
|
return S;
|
|
3363
|
-
},
|
|
3382
|
+
}, pe = (d, S = "", z = 0) => {
|
|
3364
3383
|
var I;
|
|
3365
3384
|
let te = Ll(d);
|
|
3366
3385
|
const t = Array.from(/* @__PURE__ */ new Set([...(I = K.value) == null ? void 0 : I.map((Z) => {
|
|
@@ -3389,11 +3408,11 @@ function Au(e = "menu") {
|
|
|
3389
3408
|
id: Ce(Fe),
|
|
3390
3409
|
create_time: Q(Fe)
|
|
3391
3410
|
};
|
|
3392
|
-
return Z.children && Z.children.length > 0 && (_e.children =
|
|
3411
|
+
return Z.children && Z.children.length > 0 && (_e.children = pe(Z.children, Fe, z + 1)), _e;
|
|
3393
3412
|
});
|
|
3394
3413
|
}, re = Vl(() => {
|
|
3395
3414
|
var z;
|
|
3396
|
-
let d = Ll(
|
|
3415
|
+
let d = Ll(ee.value);
|
|
3397
3416
|
if (d = [...d, ...ie.value], (d == null ? void 0 : d.length) === 0)
|
|
3398
3417
|
return L.push("/"), [];
|
|
3399
3418
|
El(d, Cl.value);
|
|
@@ -3410,7 +3429,7 @@ function Au(e = "menu") {
|
|
|
3410
3429
|
if (!d) return;
|
|
3411
3430
|
const S = (te = (z = d == null ? void 0 : d.path) == null ? void 0 : z.split("/")) == null ? void 0 : te[0];
|
|
3412
3431
|
if (S) {
|
|
3413
|
-
const p = (t =
|
|
3432
|
+
const p = (t = ee.value) == null ? void 0 : t.find((I) => (I == null ? void 0 : I.path) === S);
|
|
3414
3433
|
if (!p || (_.setActiveTopMenuPath(S), !(p != null && p.children))) return;
|
|
3415
3434
|
_.setAsideMenus(p == null ? void 0 : p.children), _.setActiveMenuPath(d == null ? void 0 : d.path), U.setRouteToChildPath(d == null ? void 0 : d.path);
|
|
3416
3435
|
}
|
|
@@ -3462,12 +3481,12 @@ function Au(e = "menu") {
|
|
|
3462
3481
|
{ immediate: !0 }
|
|
3463
3482
|
);
|
|
3464
3483
|
const Al = async (d) => {
|
|
3465
|
-
await dl(),
|
|
3484
|
+
await dl(), ee.value = pe(Eo(d)), M.value;
|
|
3466
3485
|
};
|
|
3467
3486
|
Ml(
|
|
3468
3487
|
() => V.value,
|
|
3469
3488
|
async (d) => {
|
|
3470
|
-
C.value = gt(), d ? (N.value && (_.setActiveTopMenuPath(""), _.setActiveMenuPath(""), _.setAsideMenus([])), Al(d)) :
|
|
3489
|
+
C.value = gt(), d ? (N.value && (_.setActiveTopMenuPath(""), _.setActiveMenuPath(""), _.setAsideMenus([])), Al(d)) : ee.value = [];
|
|
3471
3490
|
},
|
|
3472
3491
|
{
|
|
3473
3492
|
immediate: !0
|
|
@@ -3514,7 +3533,7 @@ function Au(e = "menu") {
|
|
|
3514
3533
|
}
|
|
3515
3534
|
function Ve(d, S) {
|
|
3516
3535
|
if (!S) return [];
|
|
3517
|
-
const z = [], te = new RegExp(`(^|/)${S}(/|$)`), t = Ll(
|
|
3536
|
+
const z = [], te = new RegExp(`(^|/)${S}(/|$)`), t = Ll(ee.value), p = pa(t, "path", D == null ? void 0 : D.path);
|
|
3518
3537
|
for (const [I, Z] of d.entries())
|
|
3519
3538
|
te.test(Z == null ? void 0 : Z.object_name) && z.push({
|
|
3520
3539
|
id: I,
|
|
@@ -3549,7 +3568,7 @@ function Au(e = "menu") {
|
|
|
3549
3568
|
}
|
|
3550
3569
|
]
|
|
3551
3570
|
}, 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("成功")) && (
|
|
3571
|
+
((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
3572
|
...Z,
|
|
3554
3573
|
title: D == null ? void 0 : D.title,
|
|
3555
3574
|
icon: D == null ? void 0 : D.icon,
|
|
@@ -3566,7 +3585,7 @@ function Au(e = "menu") {
|
|
|
3566
3585
|
if (S) {
|
|
3567
3586
|
switch (Xe.type) {
|
|
3568
3587
|
case "create":
|
|
3569
|
-
|
|
3588
|
+
ee.value.push({
|
|
3570
3589
|
...D,
|
|
3571
3590
|
path: D == null ? void 0 : D.title,
|
|
3572
3591
|
level: 0,
|
|
@@ -3602,7 +3621,7 @@ function Au(e = "menu") {
|
|
|
3602
3621
|
}
|
|
3603
3622
|
]
|
|
3604
3623
|
}, 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("成功")) && (
|
|
3624
|
+
((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
3625
|
});
|
|
3607
3626
|
} catch (S) {
|
|
3608
3627
|
throw new Error(S);
|
|
@@ -3636,7 +3655,7 @@ function Au(e = "menu") {
|
|
|
3636
3655
|
path: S == null ? void 0 : S.title
|
|
3637
3656
|
});
|
|
3638
3657
|
if (!I) return;
|
|
3639
|
-
|
|
3658
|
+
ee.value.push({
|
|
3640
3659
|
...S,
|
|
3641
3660
|
id: I,
|
|
3642
3661
|
path: S == null ? void 0 : S.title,
|
|
@@ -3688,7 +3707,7 @@ function Tu(e, h, c, v, _, U) {
|
|
|
3688
3707
|
onCloseMenu: e.closeMenu
|
|
3689
3708
|
}, {
|
|
3690
3709
|
title: r(({ menu: N }) => {
|
|
3691
|
-
var i, J, K,
|
|
3710
|
+
var i, J, K, ee;
|
|
3692
3711
|
return [
|
|
3693
3712
|
(N == null ? void 0 : N.path) !== ((i = e.menuForm) == null ? void 0 : i.path) ? (f(), ge(E, {
|
|
3694
3713
|
key: 0,
|
|
@@ -3701,7 +3720,7 @@ function Tu(e, h, c, v, _, U) {
|
|
|
3701
3720
|
title: "双击编辑",
|
|
3702
3721
|
onDblclick: Jl((C) => e.onDbClickMenu(N), ["stop"])
|
|
3703
3722
|
}, il(N.title ?? ""), 41, Mu)) : De("", !0),
|
|
3704
|
-
(K = e.menuForm) != null && K.path && ((
|
|
3723
|
+
(K = e.menuForm) != null && K.path && ((ee = e.menuForm) == null ? void 0 : ee.path) === (N == null ? void 0 : N.path) ? (f(), ge(ie, {
|
|
3705
3724
|
key: 2,
|
|
3706
3725
|
ref: "menuFormRef",
|
|
3707
3726
|
model: e.menuForm,
|
|
@@ -3820,7 +3839,7 @@ function Du(e = "menu") {
|
|
|
3820
3839
|
asideEditMenus: N,
|
|
3821
3840
|
menuTriggerType: i,
|
|
3822
3841
|
platform: J
|
|
3823
|
-
} = Tl(_), { fixMenuStatus: K } = Tl(U), { isSuperAdmin:
|
|
3842
|
+
} = 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
3843
|
var Te, Ye;
|
|
3825
3844
|
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
3845
|
}), u = Vl(() => {
|
|
@@ -3872,7 +3891,7 @@ function Du(e = "menu") {
|
|
|
3872
3891
|
};
|
|
3873
3892
|
})
|
|
3874
3893
|
];
|
|
3875
|
-
}, Ce = T([]), Q = T([]),
|
|
3894
|
+
}, Ce = T([]), Q = T([]), pe = async (R) => {
|
|
3876
3895
|
var ve, Ae, Te, Ye, ae, ue, Pe, Le, oe, je, ml, Y, Qe, ll, $e, Rl, He, jl, hl, Ne, ea, _l;
|
|
3877
3896
|
try {
|
|
3878
3897
|
if (!l.value) return;
|
|
@@ -3939,11 +3958,11 @@ function Du(e = "menu") {
|
|
|
3939
3958
|
throw new Error(la);
|
|
3940
3959
|
}
|
|
3941
3960
|
}, re = T({}), se = async (R) => {
|
|
3942
|
-
_.setActiveAsideEditMenuPath(R == null ? void 0 : R.path), re.value = Ll(R), await
|
|
3961
|
+
_.setActiveAsideEditMenuPath(R == null ? void 0 : R.path), re.value = Ll(R), await pe(R);
|
|
3943
3962
|
}, Be = async (R) => {
|
|
3944
3963
|
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
3964
|
const ve = pa(u.value, "path", R);
|
|
3946
|
-
ve && (re.value = Ll(ve), await
|
|
3965
|
+
ve && (re.value = Ll(ve), await pe(ve));
|
|
3947
3966
|
}, Me = (R) => {
|
|
3948
3967
|
w.value || _.setActiveMenuPath(R);
|
|
3949
3968
|
}, Ue = (R) => {
|
|
@@ -3991,7 +4010,7 @@ function Du(e = "menu") {
|
|
|
3991
4010
|
type: "warning"
|
|
3992
4011
|
}).then(async () => {
|
|
3993
4012
|
var ae, ue, Pe, Le, oe, je, ml;
|
|
3994
|
-
const ve =
|
|
4013
|
+
const ve = he(l.value, R == null ? void 0 : R.path), Ae = ve != null && ve.length ? ve == null ? void 0 : ve.map((Y) => ({
|
|
3995
4014
|
object_id: Y == null ? void 0 : Y.id
|
|
3996
4015
|
})) : [{ object_id: R == null ? void 0 : R.id }], Te = {
|
|
3997
4016
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
@@ -4074,8 +4093,8 @@ function Du(e = "menu") {
|
|
|
4074
4093
|
for (const R in be)
|
|
4075
4094
|
be[R] = "";
|
|
4076
4095
|
}, t = () => {
|
|
4077
|
-
for (const R in
|
|
4078
|
-
|
|
4096
|
+
for (const R in le)
|
|
4097
|
+
le[R] = "";
|
|
4079
4098
|
}, p = (R) => {
|
|
4080
4099
|
te(), G.parentPath = R == null ? void 0 : R.path, G.type = "create", G.show = !0, fa(() => {
|
|
4081
4100
|
var ve;
|
|
@@ -4164,7 +4183,7 @@ function Du(e = "menu") {
|
|
|
4164
4183
|
}).then(async () => {
|
|
4165
4184
|
var Ye, ae, ue, Pe;
|
|
4166
4185
|
G.type = "delete";
|
|
4167
|
-
const ve =
|
|
4186
|
+
const ve = he(l.value, R == null ? void 0 : R.path), Ae = {
|
|
4168
4187
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
4169
4188
|
changeContents: [
|
|
4170
4189
|
{
|
|
@@ -4183,7 +4202,7 @@ function Du(e = "menu") {
|
|
|
4183
4202
|
} catch (ve) {
|
|
4184
4203
|
throw new Error(ve);
|
|
4185
4204
|
} finally {
|
|
4186
|
-
await
|
|
4205
|
+
await pe(R);
|
|
4187
4206
|
}
|
|
4188
4207
|
};
|
|
4189
4208
|
function _e(R, ve, Ae) {
|
|
@@ -4191,7 +4210,7 @@ function Du(e = "menu") {
|
|
|
4191
4210
|
const Te = R.split("/");
|
|
4192
4211
|
return ve < 0 || ve >= Te.length ? (console.warn(`索引 ${ve} 超出范围,路径共有 ${Te.length} 个片段`), R) : (Te[ve] = Ae, Te.join("/"));
|
|
4193
4212
|
}
|
|
4194
|
-
function
|
|
4213
|
+
function he(R, ve) {
|
|
4195
4214
|
const Ae = [], Te = new RegExp(`(^|/)${ve}(/|$)`), Ye = Ll(u.value), ae = pa(Ye, "path", be == null ? void 0 : be.path);
|
|
4196
4215
|
for (const [ue, Pe] of R.entries())
|
|
4197
4216
|
Te.test(Pe == null ? void 0 : Pe.object_name) && Ae.push({
|
|
@@ -4211,7 +4230,7 @@ function Du(e = "menu") {
|
|
|
4211
4230
|
const k = T(!1), Ie = async () => {
|
|
4212
4231
|
var R, ve, Ae;
|
|
4213
4232
|
try {
|
|
4214
|
-
const Te =
|
|
4233
|
+
const Te = he(l.value, be == null ? void 0 : be.path);
|
|
4215
4234
|
if (!(Te != null && Te.length)) return;
|
|
4216
4235
|
const Ye = {
|
|
4217
4236
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
@@ -4242,25 +4261,25 @@ function Du(e = "menu") {
|
|
|
4242
4261
|
var Ae, Te, Ye, ae, ue, Pe, Le;
|
|
4243
4262
|
if (ve) {
|
|
4244
4263
|
if (!((Ae = re.value) != null && Ae.path)) return Ql.warning("请先选择所属菜单");
|
|
4245
|
-
const oe = pa(Q.value, "groupId",
|
|
4264
|
+
const oe = pa(Q.value, "groupId", le == null ? void 0 : le.pid);
|
|
4246
4265
|
let je;
|
|
4247
|
-
oe ? je = [...((Te = oe == null ? void 0 : oe.namePath) == null ? void 0 : Te.split("/")) ?? [],
|
|
4266
|
+
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
4267
|
const ml = {
|
|
4249
4268
|
//新增
|
|
4250
4269
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
4251
4270
|
objectName: (Ye = re.value) == null ? void 0 : Ye.path,
|
|
4252
4271
|
//path
|
|
4253
|
-
propertyName:
|
|
4272
|
+
propertyName: le == null ? void 0 : le.title,
|
|
4254
4273
|
//title
|
|
4255
|
-
type:
|
|
4256
|
-
leftMenuObjectId:
|
|
4274
|
+
type: le == null ? void 0 : le.type,
|
|
4275
|
+
leftMenuObjectId: le == null ? void 0 : le.pid,
|
|
4257
4276
|
//父特性id或菜单id,和menu存一起的
|
|
4258
4277
|
filter: {},
|
|
4259
4278
|
name: je,
|
|
4260
4279
|
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
4280
|
isShow: !0
|
|
4262
4281
|
}, Y = await yo(ye.type, ml);
|
|
4263
|
-
((Le = Y == null ? void 0 : Y.data) == null ? void 0 : Le.code) === 200 && (c("getCompForm",
|
|
4282
|
+
((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
4283
|
}
|
|
4265
4284
|
});
|
|
4266
4285
|
} catch (ve) {
|
|
@@ -4276,7 +4295,7 @@ function Du(e = "menu") {
|
|
|
4276
4295
|
title: [
|
|
4277
4296
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
4278
4297
|
]
|
|
4279
|
-
}),
|
|
4298
|
+
}), le = ta({
|
|
4280
4299
|
title: "",
|
|
4281
4300
|
type: "",
|
|
4282
4301
|
//Table
|
|
@@ -4348,7 +4367,7 @@ function Du(e = "menu") {
|
|
|
4348
4367
|
changeMenuStyle: Ue,
|
|
4349
4368
|
fixElement: ie,
|
|
4350
4369
|
onBlur: Ve,
|
|
4351
|
-
isSuperAdmin:
|
|
4370
|
+
isSuperAdmin: ee,
|
|
4352
4371
|
onClickCreateMenu: p,
|
|
4353
4372
|
menuPlusDialogInfo: G,
|
|
4354
4373
|
onCloseMenuPlusDialog: S,
|
|
@@ -4363,7 +4382,7 @@ function Du(e = "menu") {
|
|
|
4363
4382
|
onDbClickMenu: al,
|
|
4364
4383
|
groupDialogInfo: ye,
|
|
4365
4384
|
onCloseGroupDialog: z,
|
|
4366
|
-
compForm:
|
|
4385
|
+
compForm: le,
|
|
4367
4386
|
compRules: Ze,
|
|
4368
4387
|
compTypeOptions: tl,
|
|
4369
4388
|
onConfirmGroup: Re,
|
|
@@ -4384,7 +4403,7 @@ const Bu = zl(Du()), xu = ["title", "onDblclick"], Ru = { title: "确认" }, Pu
|
|
|
4384
4403
|
}, ju = { title: "确认" }, Qu = { title: "取消" }, Ku = { class: "dialog-footer" };
|
|
4385
4404
|
function Hu(e, h, c, v, _, U) {
|
|
4386
4405
|
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"),
|
|
4406
|
+
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
4407
|
return f(), X(rl, null, [
|
|
4389
4408
|
wa((f(), ge(M, {
|
|
4390
4409
|
ref: "menuRef",
|
|
@@ -4400,7 +4419,7 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4400
4419
|
onCloseMenu: e.closeMenu
|
|
4401
4420
|
}, {
|
|
4402
4421
|
title: r(({ menu: g }) => {
|
|
4403
|
-
var u, Se, Ce, Q,
|
|
4422
|
+
var u, Se, Ce, Q, pe;
|
|
4404
4423
|
return [
|
|
4405
4424
|
(g == null ? void 0 : g.path) !== ((u = e.menuForm) == null ? void 0 : u.path) ? (f(), ge(E, {
|
|
4406
4425
|
key: 0,
|
|
@@ -4470,7 +4489,7 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4470
4489
|
]),
|
|
4471
4490
|
_: 1
|
|
4472
4491
|
}, 8, ["model", "rules"])) : De("", !0),
|
|
4473
|
-
((
|
|
4492
|
+
((pe = e.menuForm) == null ? void 0 : pe.path) !== (g == null ? void 0 : g.path) ? (f(), X("span", Vu, [
|
|
4474
4493
|
n(l, {
|
|
4475
4494
|
title: "",
|
|
4476
4495
|
placement: "bottom-start",
|
|
@@ -4505,7 +4524,7 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4505
4524
|
}),
|
|
4506
4525
|
_: 1
|
|
4507
4526
|
}, 8, ["mode", "menuList", "isCollapse", "editingPath", "onClickMenu", "onOpenMenu", "onCloseMenu"])), [
|
|
4508
|
-
[
|
|
4527
|
+
[ee, e.loading]
|
|
4509
4528
|
]),
|
|
4510
4529
|
O("div", Nu, [
|
|
4511
4530
|
!e.menuPlusDialogInfo.show && e.activeMainEditMenuPath ? (f(), X("span", Uu, [
|
|
@@ -4580,19 +4599,21 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4580
4599
|
footer: r(() => [
|
|
4581
4600
|
O("div", Ku, [
|
|
4582
4601
|
n(J, { onClick: e.onCloseGroupDialog }, {
|
|
4583
|
-
default: r(() =>
|
|
4584
|
-
gl("取消"
|
|
4585
|
-
])
|
|
4586
|
-
_: 1
|
|
4602
|
+
default: r(() => h[7] || (h[7] = [
|
|
4603
|
+
gl("取消")
|
|
4604
|
+
])),
|
|
4605
|
+
_: 1,
|
|
4606
|
+
__: [7]
|
|
4587
4607
|
}, 8, ["onClick"]),
|
|
4588
4608
|
n(J, {
|
|
4589
4609
|
type: "primary",
|
|
4590
4610
|
onClick: e.onConfirmGroup
|
|
4591
4611
|
}, {
|
|
4592
|
-
default: r(() =>
|
|
4593
|
-
gl("确认"
|
|
4594
|
-
])
|
|
4595
|
-
_: 1
|
|
4612
|
+
default: r(() => h[8] || (h[8] = [
|
|
4613
|
+
gl("确认")
|
|
4614
|
+
])),
|
|
4615
|
+
_: 1,
|
|
4616
|
+
__: [8]
|
|
4596
4617
|
}, 8, ["onClick"])
|
|
4597
4618
|
])
|
|
4598
4619
|
]),
|
|
@@ -4861,8 +4882,8 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4861
4882
|
break;
|
|
4862
4883
|
case "add":
|
|
4863
4884
|
const Ce = (u = U.value) == null ? void 0 : u.find((Q) => {
|
|
4864
|
-
var
|
|
4865
|
-
return (
|
|
4885
|
+
var pe;
|
|
4886
|
+
return (pe = String(Q == null ? void 0 : Q.id)) == null ? void 0 : pe.includes("new");
|
|
4866
4887
|
});
|
|
4867
4888
|
if (Ce) {
|
|
4868
4889
|
const Q = V(Ce == null ? void 0 : Ce.id);
|
|
@@ -4883,13 +4904,13 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4883
4904
|
var g, u;
|
|
4884
4905
|
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
4906
|
}, i = (C, g) => {
|
|
4886
|
-
var Ce, Q,
|
|
4907
|
+
var Ce, Q, pe;
|
|
4887
4908
|
if (!C) return;
|
|
4888
4909
|
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
4910
|
var se;
|
|
4890
4911
|
return (se = String(re == null ? void 0 : re.id)) == null ? void 0 : se.includes("new");
|
|
4891
4912
|
});
|
|
4892
|
-
if (u == "create" && ((
|
|
4913
|
+
if (u == "create" && ((pe = U.value) == null ? void 0 : pe.find((se) => (se == null ? void 0 : se.prop) === C)))
|
|
4893
4914
|
return Ql.error("请勿创建重复参数名称");
|
|
4894
4915
|
v("onClickOperateData", u, {
|
|
4895
4916
|
...g,
|
|
@@ -4906,7 +4927,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4906
4927
|
var g, u, Se;
|
|
4907
4928
|
(Se = (u = E.value) == null ? void 0 : u[(g = C == null ? void 0 : C.props) == null ? void 0 : g.name]) == null || Se.focus();
|
|
4908
4929
|
});
|
|
4909
|
-
},
|
|
4930
|
+
}, ee = (C) => {
|
|
4910
4931
|
c != null && c.level && v("onDbClickTab", C), J.value = !0, v("onClickOperateData", "update", C, c == null ? void 0 : c.group), fa(() => {
|
|
4911
4932
|
var g, u;
|
|
4912
4933
|
(u = (g = E.value) == null ? void 0 : g[C == null ? void 0 : C.id]) == null || u.focus();
|
|
@@ -4915,7 +4936,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4915
4936
|
return Ml(() => c.data, (C) => {
|
|
4916
4937
|
U.value = C;
|
|
4917
4938
|
}, { immediate: !0, deep: !0 }), (C, g) => {
|
|
4918
|
-
const u = ne("el-icon"), Se = ne("svg-icon"), Ce = ne("el-input"), Q = ne("tab-index"),
|
|
4939
|
+
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
4940
|
return f(), ge(re, {
|
|
4920
4941
|
key: e.key,
|
|
4921
4942
|
modelValue: _.value,
|
|
@@ -4928,7 +4949,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4928
4949
|
onTabClick: K
|
|
4929
4950
|
}, {
|
|
4930
4951
|
default: r(() => [
|
|
4931
|
-
(f(!0), X(rl, null, bl(U.value, (se) => (f(), ge(
|
|
4952
|
+
(f(!0), X(rl, null, bl(U.value, (se) => (f(), ge(pe, {
|
|
4932
4953
|
key: se == null ? void 0 : se.id,
|
|
4933
4954
|
label: se == null ? void 0 : se.label,
|
|
4934
4955
|
name: se == null ? void 0 : se.id
|
|
@@ -4963,7 +4984,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4963
4984
|
append: r(() => [
|
|
4964
4985
|
O("span", {
|
|
4965
4986
|
title: "编辑其他属性",
|
|
4966
|
-
onClick: Jl((Me) =>
|
|
4987
|
+
onClick: Jl((Me) => ee(se), ["stop"])
|
|
4967
4988
|
}, [
|
|
4968
4989
|
n(Se, {
|
|
4969
4990
|
name: "softEdit",
|
|
@@ -4993,7 +5014,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4993
5014
|
level: (se == null ? void 0 : se.level) + 1,
|
|
4994
5015
|
parentTab: se == null ? void 0 : se.id,
|
|
4995
5016
|
onOnChangeTabInput: i,
|
|
4996
|
-
onOnDbClickTab:
|
|
5017
|
+
onOnDbClickTab: ee,
|
|
4997
5018
|
onOnDeleteTab: N
|
|
4998
5019
|
}, null, 8, ["group", "data", "level", "parentTab"]))
|
|
4999
5020
|
])
|
|
@@ -5266,8 +5287,8 @@ const ga = (e, h) => {
|
|
|
5266
5287
|
var Re;
|
|
5267
5288
|
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
5289
|
})) == 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
|
-
|
|
5290
|
+
const he = ga((I = A == null ? void 0 : A.configInfo) == null ? void 0 : I.content, "Button");
|
|
5291
|
+
he != null && he.length && (M.value = he == null ? void 0 : he.map((k) => {
|
|
5271
5292
|
var be;
|
|
5272
5293
|
const [Ie, ...Re] = k;
|
|
5273
5294
|
return {
|
|
@@ -5387,7 +5408,7 @@ const ga = (e, h) => {
|
|
|
5387
5408
|
]
|
|
5388
5409
|
});
|
|
5389
5410
|
let K = null;
|
|
5390
|
-
const
|
|
5411
|
+
const ee = () => {
|
|
5391
5412
|
var A, Ge, ke, Ve;
|
|
5392
5413
|
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
5414
|
const we = (Ve = M.value) == null ? void 0 : Ve.reduce((el, qe) => (el.push({
|
|
@@ -5424,7 +5445,7 @@ const ga = (e, h) => {
|
|
|
5424
5445
|
const Q = ta({
|
|
5425
5446
|
isTable: !1,
|
|
5426
5447
|
groupId: ""
|
|
5427
|
-
}),
|
|
5448
|
+
}), pe = (we) => Q.isTable && we === Q.groupId ? Ju : ld, re = (we) => {
|
|
5428
5449
|
Q.isTable = !Q.isTable, Q.groupId = we == null ? void 0 : we.id;
|
|
5429
5450
|
}, se = (we, A, Ge, ke = !1) => {
|
|
5430
5451
|
U("onClickOperateData", we, A, Ge, ke);
|
|
@@ -5526,7 +5547,7 @@ const ga = (e, h) => {
|
|
|
5526
5547
|
modelValue: s(l).name,
|
|
5527
5548
|
"onUpdate:modelValue": A[2] || (A[2] = (me) => s(l).name = me),
|
|
5528
5549
|
placeholder: "请输入",
|
|
5529
|
-
onChange:
|
|
5550
|
+
onChange: ee
|
|
5530
5551
|
}, {
|
|
5531
5552
|
append: r(() => {
|
|
5532
5553
|
var me, Fe;
|
|
@@ -5589,7 +5610,7 @@ const ga = (e, h) => {
|
|
|
5589
5610
|
A[31] || (A[31] = O("span", { class: "table-op-text" }, "切换视图", -1))
|
|
5590
5611
|
], 8, fd)
|
|
5591
5612
|
])) : De("", !0),
|
|
5592
|
-
t != null && t.hasContent ? (f(), ge(ya(
|
|
5613
|
+
t != null && t.hasContent ? (f(), ge(ya(pe(t == null ? void 0 : t.id)), {
|
|
5593
5614
|
key: t == null ? void 0 : t.id,
|
|
5594
5615
|
data: t == null ? void 0 : t.data,
|
|
5595
5616
|
group: t,
|
|
@@ -5620,19 +5641,21 @@ const ga = (e, h) => {
|
|
|
5620
5641
|
footer: r(() => [
|
|
5621
5642
|
O("div", gd, [
|
|
5622
5643
|
n(G, { onClick: dl }, {
|
|
5623
|
-
default: r(() =>
|
|
5624
|
-
gl("取消"
|
|
5625
|
-
])
|
|
5626
|
-
_: 1
|
|
5644
|
+
default: r(() => A[36] || (A[36] = [
|
|
5645
|
+
gl("取消")
|
|
5646
|
+
])),
|
|
5647
|
+
_: 1,
|
|
5648
|
+
__: [36]
|
|
5627
5649
|
}),
|
|
5628
5650
|
n(G, {
|
|
5629
5651
|
type: "primary",
|
|
5630
|
-
onClick:
|
|
5652
|
+
onClick: ee
|
|
5631
5653
|
}, {
|
|
5632
|
-
default: r(() =>
|
|
5633
|
-
gl("确认"
|
|
5634
|
-
])
|
|
5635
|
-
_: 1
|
|
5654
|
+
default: r(() => A[37] || (A[37] = [
|
|
5655
|
+
gl("确认")
|
|
5656
|
+
])),
|
|
5657
|
+
_: 1,
|
|
5658
|
+
__: [37]
|
|
5636
5659
|
})
|
|
5637
5660
|
])
|
|
5638
5661
|
]),
|
|
@@ -5960,11 +5983,12 @@ const ga = (e, h) => {
|
|
|
5960
5983
|
size: "small",
|
|
5961
5984
|
onClick: (me) => g(t)
|
|
5962
5985
|
}, {
|
|
5963
|
-
default: r(() =>
|
|
5964
|
-
gl(" + "
|
|
5965
|
-
])
|
|
5966
|
-
_:
|
|
5967
|
-
|
|
5986
|
+
default: r(() => A[32] || (A[32] = [
|
|
5987
|
+
gl(" + ")
|
|
5988
|
+
])),
|
|
5989
|
+
_: 2,
|
|
5990
|
+
__: [32]
|
|
5991
|
+
}, 1032, ["onClick"]))
|
|
5968
5992
|
]),
|
|
5969
5993
|
_: 2
|
|
5970
5994
|
}, 1024)
|
|
@@ -6169,12 +6193,13 @@ const ga = (e, h) => {
|
|
|
6169
6193
|
size: "small",
|
|
6170
6194
|
type: "danger"
|
|
6171
6195
|
}, {
|
|
6172
|
-
default: r(() =>
|
|
6173
|
-
gl(" 注意事项:"
|
|
6196
|
+
default: r(() => A[33] || (A[33] = [
|
|
6197
|
+
gl(" 注意事项:"),
|
|
6174
6198
|
O("br", null, null, -1),
|
|
6175
|
-
gl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 "
|
|
6176
|
-
])
|
|
6177
|
-
_: 1
|
|
6199
|
+
gl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ")
|
|
6200
|
+
])),
|
|
6201
|
+
_: 1,
|
|
6202
|
+
__: [33]
|
|
6178
6203
|
})) : De("", !0)
|
|
6179
6204
|
]),
|
|
6180
6205
|
_: 1
|
|
@@ -6221,16 +6246,18 @@ const ga = (e, h) => {
|
|
|
6221
6246
|
n(d, { class: "cascader-title-wrapper" }, {
|
|
6222
6247
|
default: r(() => [
|
|
6223
6248
|
n(H, { span: 12 }, {
|
|
6224
|
-
default: r(() =>
|
|
6225
|
-
gl("已选选项"
|
|
6226
|
-
])
|
|
6227
|
-
_: 1
|
|
6249
|
+
default: r(() => A[34] || (A[34] = [
|
|
6250
|
+
gl("已选选项")
|
|
6251
|
+
])),
|
|
6252
|
+
_: 1,
|
|
6253
|
+
__: [34]
|
|
6228
6254
|
}),
|
|
6229
6255
|
n(H, { span: 12 }, {
|
|
6230
|
-
default: r(() =>
|
|
6231
|
-
gl("同步方式"
|
|
6232
|
-
])
|
|
6233
|
-
_: 1
|
|
6256
|
+
default: r(() => A[35] || (A[35] = [
|
|
6257
|
+
gl("同步方式")
|
|
6258
|
+
])),
|
|
6259
|
+
_: 1,
|
|
6260
|
+
__: [35]
|
|
6234
6261
|
})
|
|
6235
6262
|
]),
|
|
6236
6263
|
_: 1
|
|
@@ -6271,8 +6298,8 @@ const ga = (e, h) => {
|
|
|
6271
6298
|
_: 2
|
|
6272
6299
|
}, 1032, ["value"]))), 128))
|
|
6273
6300
|
]),
|
|
6274
|
-
_:
|
|
6275
|
-
},
|
|
6301
|
+
_: 2
|
|
6302
|
+
}, 1032, ["model-value", "onUpdate:modelValue"])
|
|
6276
6303
|
]),
|
|
6277
6304
|
_: 2
|
|
6278
6305
|
}, 1024)
|
|
@@ -6663,10 +6690,10 @@ const Gn = (e, h = 0) => {
|
|
|
6663
6690
|
Z in l && (l[Z] = t[Z]);
|
|
6664
6691
|
}), !(l != null && l.id)) return Ql.error("获取节点信息出错了");
|
|
6665
6692
|
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) || "",
|
|
6693
|
+
l.pid = (I == null ? void 0 : I.groupId) || (l == null ? void 0 : l.menuId) || "", ee();
|
|
6667
6694
|
}
|
|
6668
|
-
}, K = T(!1),
|
|
6669
|
-
var t, p, I, Z, me, Fe, yl, _e,
|
|
6695
|
+
}, K = T(!1), ee = async () => {
|
|
6696
|
+
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
6697
|
B.value = !0;
|
|
6671
6698
|
try {
|
|
6672
6699
|
if (!U.value) return Ql.warning("请先选择所属菜单");
|
|
@@ -6682,7 +6709,7 @@ const Gn = (e, h = 0) => {
|
|
|
6682
6709
|
groups: (jl = He == null ? void 0 : He[1]) == null ? void 0 : jl.split("/")
|
|
6683
6710
|
//嵌套特性使用,分割,传值数组
|
|
6684
6711
|
};
|
|
6685
|
-
}), oe = (k = (
|
|
6712
|
+
}), 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
6713
|
var jl;
|
|
6687
6714
|
return {
|
|
6688
6715
|
menus: He == null ? void 0 : He[0],
|
|
@@ -6777,7 +6804,7 @@ const Gn = (e, h = 0) => {
|
|
|
6777
6804
|
},
|
|
6778
6805
|
{
|
|
6779
6806
|
key: "TextRGBA",
|
|
6780
|
-
value: (
|
|
6807
|
+
value: (le = l == null ? void 0 : l.textColor) == null ? void 0 : le.replace(/^rgba?/, "")
|
|
6781
6808
|
},
|
|
6782
6809
|
{
|
|
6783
6810
|
key: "TextBackRGBA",
|
|
@@ -6906,8 +6933,8 @@ const Gn = (e, h = 0) => {
|
|
|
6906
6933
|
]
|
|
6907
6934
|
}), Q = () => {
|
|
6908
6935
|
g.show = !1;
|
|
6909
|
-
},
|
|
6910
|
-
var t, p, I, Z, me, Fe, yl, _e,
|
|
6936
|
+
}, pe = async () => {
|
|
6937
|
+
var t, p, I, Z, me, Fe, yl, _e, he, k;
|
|
6911
6938
|
K.value = !1, B.value = !0;
|
|
6912
6939
|
try {
|
|
6913
6940
|
if (!u.groupId || !u.groupType) return Ql.error("特性信息获取出错了");
|
|
@@ -6919,7 +6946,7 @@ const Gn = (e, h = 0) => {
|
|
|
6919
6946
|
if (g.type === "create") {
|
|
6920
6947
|
if (!Re) return;
|
|
6921
6948
|
const ce = (u == null ? void 0 : u.prop) || (u == null ? void 0 : u.label);
|
|
6922
|
-
let
|
|
6949
|
+
let le;
|
|
6923
6950
|
if (u != null && u.parentProp) {
|
|
6924
6951
|
const ul = pa(Re == null ? void 0 : Re.data, "id", u == null ? void 0 : u.parentProp);
|
|
6925
6952
|
if (ul && ((me = ul == null ? void 0 : ul.children) != null && me.length)) {
|
|
@@ -6948,13 +6975,13 @@ const Gn = (e, h = 0) => {
|
|
|
6948
6975
|
disabled: (u == null ? void 0 : u.view) === "Read",
|
|
6949
6976
|
...be
|
|
6950
6977
|
}];
|
|
6951
|
-
|
|
6978
|
+
le = Re == null ? void 0 : Re.data;
|
|
6952
6979
|
} else {
|
|
6953
6980
|
const ul = (yl = Re == null ? void 0 : Re.data) == null ? void 0 : yl.filter((al) => {
|
|
6954
6981
|
var Ee;
|
|
6955
6982
|
return !((Ee = String(al == null ? void 0 : al.id)) != null && Ee.includes("new"));
|
|
6956
6983
|
});
|
|
6957
|
-
|
|
6984
|
+
le = [...ul == null ? void 0 : ul.map((al) => ({
|
|
6958
6985
|
...al,
|
|
6959
6986
|
label: al == null ? void 0 : al.label,
|
|
6960
6987
|
formType: al == null ? void 0 : al.compType
|
|
@@ -6969,7 +6996,7 @@ const Gn = (e, h = 0) => {
|
|
|
6969
6996
|
...be
|
|
6970
6997
|
}];
|
|
6971
6998
|
}
|
|
6972
|
-
const Ze = [...Re == null ? void 0 : Re.hiddenColumns, ...dn(
|
|
6999
|
+
const Ze = [...Re == null ? void 0 : Re.hiddenColumns, ...dn(le, Cn)], tl = {
|
|
6973
7000
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6974
7001
|
objectId: u.groupId,
|
|
6975
7002
|
key: u == null ? void 0 : u.groupType,
|
|
@@ -6981,14 +7008,14 @@ const Gn = (e, h = 0) => {
|
|
|
6981
7008
|
if (!G.value) return;
|
|
6982
7009
|
const ce = pa(Re == null ? void 0 : Re.data, "id", u == null ? void 0 : u.id);
|
|
6983
7010
|
if ((ce == null ? void 0 : ce.id) !== (u == null ? void 0 : u.id)) return;
|
|
6984
|
-
(
|
|
7011
|
+
(he = Object.keys(u)) == null || he.forEach((We) => {
|
|
6985
7012
|
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
7013
|
});
|
|
6987
|
-
const
|
|
7014
|
+
const le = [...Re == null ? void 0 : Re.hiddenColumns, ...dn(Re == null ? void 0 : Re.data, Cn)], Ze = {
|
|
6988
7015
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6989
7016
|
objectId: u.groupId,
|
|
6990
7017
|
key: u == null ? void 0 : u.groupType,
|
|
6991
|
-
tableColumns: g != null && g.hasMultiHeader ? [
|
|
7018
|
+
tableColumns: g != null && g.hasMultiHeader ? [le] : le,
|
|
6992
7019
|
quoteFilter: ""
|
|
6993
7020
|
}, tl = await no("save", Ze);
|
|
6994
7021
|
((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 +7029,7 @@ const Gn = (e, h = 0) => {
|
|
|
7002
7029
|
var t;
|
|
7003
7030
|
try {
|
|
7004
7031
|
K.value = !1, (t = Se.value) == null || t.validate(async (p) => {
|
|
7005
|
-
p && (await
|
|
7032
|
+
p && (await pe(), g.show = !1);
|
|
7006
7033
|
});
|
|
7007
7034
|
} catch (p) {
|
|
7008
7035
|
throw new Error(p);
|
|
@@ -7015,7 +7042,7 @@ const Gn = (e, h = 0) => {
|
|
|
7015
7042
|
children: I.children || []
|
|
7016
7043
|
}));
|
|
7017
7044
|
}, Be = T([]), Me = T([]), Ue = T([]), dl = T(!1), Cl = async () => {
|
|
7018
|
-
var t, p, I, Z, me, Fe, yl, _e,
|
|
7045
|
+
var t, p, I, Z, me, Fe, yl, _e, he, k;
|
|
7019
7046
|
try {
|
|
7020
7047
|
let Ie = [];
|
|
7021
7048
|
const Re = await ot({
|
|
@@ -7025,12 +7052,12 @@ const Gn = (e, h = 0) => {
|
|
|
7025
7052
|
if (((t = Re == null ? void 0 : Re.data) == null ? void 0 : t.code) !== 200) return;
|
|
7026
7053
|
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
7054
|
if (!(ce != null && ce.length)) return;
|
|
7028
|
-
let
|
|
7055
|
+
let le = await An({
|
|
7029
7056
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
7030
7057
|
tableNames: ce ?? []
|
|
7031
7058
|
});
|
|
7032
|
-
if (dl.value = (me = (Z =
|
|
7033
|
-
const Ze = Ll((
|
|
7059
|
+
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("错误"))) {
|
|
7060
|
+
const Ze = Ll((he = le == null ? void 0 : le.data) == null ? void 0 : he.result);
|
|
7034
7061
|
Ie = (k = Ze == null ? void 0 : Ze.flatMap((We) => We)) == null ? void 0 : k.map((We) => {
|
|
7035
7062
|
var R, ve, Ae, Te, Ye, ae, ue, Pe, Le;
|
|
7036
7063
|
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 +7094,17 @@ const Gn = (e, h = 0) => {
|
|
|
7067
7094
|
try {
|
|
7068
7095
|
switch (K.value = !1, t) {
|
|
7069
7096
|
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,
|
|
7097
|
+
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
7098
|
break;
|
|
7072
7099
|
case "update":
|
|
7073
7100
|
Al(I == null ? void 0 : I.id), (me = Object.keys(p)) == null || me.forEach((k) => {
|
|
7074
7101
|
k in u && (u[k] = p[k]);
|
|
7075
7102
|
});
|
|
7076
|
-
const { parent:
|
|
7077
|
-
u.id = p == null ? void 0 : p.id, u.parentProp =
|
|
7103
|
+
const { parent: he } = Co(p == null ? void 0 : p.id);
|
|
7104
|
+
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
7105
|
value: k,
|
|
7079
7106
|
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 ?
|
|
7107
|
+
})), (_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
7108
|
break;
|
|
7082
7109
|
case "delete":
|
|
7083
7110
|
st.confirm("是否确认要删除", "", {
|
|
@@ -7085,14 +7112,14 @@ const Gn = (e, h = 0) => {
|
|
|
7085
7112
|
cancelButtonText: "取消",
|
|
7086
7113
|
type: "warning"
|
|
7087
7114
|
}).then(async () => {
|
|
7088
|
-
var
|
|
7115
|
+
var le, Ze, tl;
|
|
7089
7116
|
const k = pa(a.value, "id", I == null ? void 0 : I.id);
|
|
7090
7117
|
if (!k) return;
|
|
7091
7118
|
const Ie = Ll(k), { parent: Re } = Co(p == null ? void 0 : p.id);
|
|
7092
7119
|
if (Re) {
|
|
7093
7120
|
const We = pa(Ie == null ? void 0 : Ie.data, "id", Re);
|
|
7094
7121
|
if (!We) return;
|
|
7095
|
-
We.children = (
|
|
7122
|
+
We.children = (le = We.children) == null ? void 0 : le.filter((ul) => (ul == null ? void 0 : ul.id) !== (p == null ? void 0 : p.id));
|
|
7096
7123
|
} else
|
|
7097
7124
|
Ie.data = (Ze = Ie.data) == null ? void 0 : Ze.filter((We) => (We == null ? void 0 : We.id) !== (p == null ? void 0 : p.id));
|
|
7098
7125
|
const be = {
|
|
@@ -7106,8 +7133,8 @@ const Gn = (e, h = 0) => {
|
|
|
7106
7133
|
});
|
|
7107
7134
|
break;
|
|
7108
7135
|
}
|
|
7109
|
-
} catch (
|
|
7110
|
-
throw new Error(
|
|
7136
|
+
} catch (he) {
|
|
7137
|
+
throw new Error(he);
|
|
7111
7138
|
} finally {
|
|
7112
7139
|
B.value = !1;
|
|
7113
7140
|
}
|
|
@@ -7134,9 +7161,9 @@ const Gn = (e, h = 0) => {
|
|
|
7134
7161
|
]
|
|
7135
7162
|
}, qe = T(!1), pl = () => {
|
|
7136
7163
|
var t;
|
|
7137
|
-
(t = Ge.value) == null || t.validate((
|
|
7164
|
+
(t = Ge.value) == null || t.validate((p) => {
|
|
7138
7165
|
qe.value = p;
|
|
7139
|
-
})
|
|
7166
|
+
});
|
|
7140
7167
|
}, cl = () => {
|
|
7141
7168
|
A.show = !1, ke();
|
|
7142
7169
|
}, a = T([]), y = Vl(() => {
|
|
@@ -7152,10 +7179,10 @@ const Gn = (e, h = 0) => {
|
|
|
7152
7179
|
var I, Z, me, Fe, yl, _e;
|
|
7153
7180
|
let p = [];
|
|
7154
7181
|
G.value = t;
|
|
7155
|
-
for (const [
|
|
7182
|
+
for (const [he, k] of t.entries())
|
|
7156
7183
|
p.push({
|
|
7157
7184
|
name: k == null ? void 0 : k.groupName,
|
|
7158
|
-
id:
|
|
7185
|
+
id: he,
|
|
7159
7186
|
menuId: k == null ? void 0 : k.menuId,
|
|
7160
7187
|
type: k == null ? void 0 : k.groupType,
|
|
7161
7188
|
data: (I = Gn(k == null ? void 0 : k.columns)) == null ? void 0 : I.filter((Ie) => Ie == null ? void 0 : Ie.prop),
|
|
@@ -7169,9 +7196,9 @@ const Gn = (e, h = 0) => {
|
|
|
7169
7196
|
quoteWays: k == null ? void 0 : k.quoteWays,
|
|
7170
7197
|
configInfo: k == null ? void 0 : k.configInfo
|
|
7171
7198
|
});
|
|
7172
|
-
a.value = (me = jn(p)) == null ? void 0 : me.sort((
|
|
7199
|
+
a.value = (me = jn(p)) == null ? void 0 : me.sort((he, k) => {
|
|
7173
7200
|
var Ie, Re, be;
|
|
7174
|
-
return (Ie =
|
|
7201
|
+
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
7202
|
}), 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
7203
|
}, d = (t) => {
|
|
7177
7204
|
try {
|
|
@@ -7210,7 +7237,7 @@ const Gn = (e, h = 0) => {
|
|
|
7210
7237
|
}, { immediate: !0 }), Ml([() => E.value, () => L.value], ([t, p]) => {
|
|
7211
7238
|
((t == null ? void 0 : t.length) === 0 || p) && (a.value = []), Cl();
|
|
7212
7239
|
}, { 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"),
|
|
7240
|
+
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
7241
|
return f(), X(rl, null, [
|
|
7215
7242
|
wa((f(), ge(be, { class: "client-container" }, {
|
|
7216
7243
|
default: r(() => [
|
|
@@ -7354,7 +7381,7 @@ const Gn = (e, h = 0) => {
|
|
|
7354
7381
|
default: r(() => {
|
|
7355
7382
|
var Ee;
|
|
7356
7383
|
return [
|
|
7357
|
-
(f(!0), X(rl, null, bl((Ee = s(U)) == null ? void 0 : Ee.split("/"), (R) => (f(), ge(
|
|
7384
|
+
(f(!0), X(rl, null, bl((Ee = s(U)) == null ? void 0 : Ee.split("/"), (R) => (f(), ge(he, { key: R }, {
|
|
7358
7385
|
default: r(() => [
|
|
7359
7386
|
gl(il(R), 1)
|
|
7360
7387
|
]),
|
|
@@ -7403,19 +7430,21 @@ const Gn = (e, h = 0) => {
|
|
|
7403
7430
|
footer: r(() => [
|
|
7404
7431
|
O("div", Od, [
|
|
7405
7432
|
n(ul, { onClick: Q }, {
|
|
7406
|
-
default: r(() =>
|
|
7407
|
-
gl("取消"
|
|
7408
|
-
])
|
|
7409
|
-
_: 1
|
|
7433
|
+
default: r(() => p[13] || (p[13] = [
|
|
7434
|
+
gl("取消")
|
|
7435
|
+
])),
|
|
7436
|
+
_: 1,
|
|
7437
|
+
__: [13]
|
|
7410
7438
|
}),
|
|
7411
7439
|
n(ul, {
|
|
7412
7440
|
type: "primary",
|
|
7413
7441
|
onClick: re
|
|
7414
7442
|
}, {
|
|
7415
|
-
default: r(() =>
|
|
7416
|
-
gl("确认"
|
|
7417
|
-
])
|
|
7418
|
-
_: 1
|
|
7443
|
+
default: r(() => p[14] || (p[14] = [
|
|
7444
|
+
gl("确认")
|
|
7445
|
+
])),
|
|
7446
|
+
_: 1,
|
|
7447
|
+
__: [14]
|
|
7419
7448
|
})
|
|
7420
7449
|
])
|
|
7421
7450
|
]),
|
|
@@ -7483,17 +7512,19 @@ const Gn = (e, h = 0) => {
|
|
|
7483
7512
|
"onUpdate:modelValue": p[5] || (p[5] = (Ee) => u.mainKey = Ee)
|
|
7484
7513
|
}, {
|
|
7485
7514
|
default: r(() => [
|
|
7486
|
-
n(
|
|
7487
|
-
default: r(() =>
|
|
7488
|
-
gl("是"
|
|
7489
|
-
])
|
|
7490
|
-
_: 1
|
|
7515
|
+
n(le, { value: !0 }, {
|
|
7516
|
+
default: r(() => p[11] || (p[11] = [
|
|
7517
|
+
gl("是")
|
|
7518
|
+
])),
|
|
7519
|
+
_: 1,
|
|
7520
|
+
__: [11]
|
|
7491
7521
|
}),
|
|
7492
|
-
n(
|
|
7493
|
-
default: r(() =>
|
|
7494
|
-
gl("否"
|
|
7495
|
-
])
|
|
7496
|
-
_: 1
|
|
7522
|
+
n(le, { value: !1 }, {
|
|
7523
|
+
default: r(() => p[12] || (p[12] = [
|
|
7524
|
+
gl("否")
|
|
7525
|
+
])),
|
|
7526
|
+
_: 1,
|
|
7527
|
+
__: [12]
|
|
7497
7528
|
})
|
|
7498
7529
|
]),
|
|
7499
7530
|
_: 1
|
|
@@ -7570,7 +7601,7 @@ const Gn = (e, h = 0) => {
|
|
|
7570
7601
|
"onUpdate:modelValue": p[9] || (p[9] = (Ee) => u.view = Ee)
|
|
7571
7602
|
}, {
|
|
7572
7603
|
default: r(() => [
|
|
7573
|
-
(f(!0), X(rl, null, bl(s(zn), (Ee) => (f(), ge(
|
|
7604
|
+
(f(!0), X(rl, null, bl(s(zn), (Ee) => (f(), ge(le, {
|
|
7574
7605
|
key: Ee == null ? void 0 : Ee.value,
|
|
7575
7606
|
value: Ee == null ? void 0 : Ee.value
|
|
7576
7607
|
}, {
|
|
@@ -7667,14 +7698,14 @@ function Zn(e = "menu") {
|
|
|
7667
7698
|
operateType: "修改菜单名",
|
|
7668
7699
|
operateIcon: "FixedMenu"
|
|
7669
7700
|
}
|
|
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(),
|
|
7701
|
+
]), 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
7702
|
var D, G;
|
|
7672
7703
|
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
7704
|
}), g = Vl(() => {
|
|
7674
7705
|
let a = [...M.value];
|
|
7675
7706
|
if ((a == null ? void 0 : a.length) === 0)
|
|
7676
7707
|
return ie.push("/"), [];
|
|
7677
|
-
const y = re(a,
|
|
7708
|
+
const y = re(a, pe.value);
|
|
7678
7709
|
return y.isFlag || (a = y == null ? void 0 : y.data), a = a == null ? void 0 : a.map((w) => {
|
|
7679
7710
|
var D, G;
|
|
7680
7711
|
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 +7726,7 @@ function Zn(e = "menu") {
|
|
|
7695
7726
|
ha(() => {
|
|
7696
7727
|
x.value = 1;
|
|
7697
7728
|
});
|
|
7698
|
-
const
|
|
7729
|
+
const pe = Vl(() => {
|
|
7699
7730
|
const a = sessionStorage.getItem("authority");
|
|
7700
7731
|
return a ? JSON.parse(a) : [];
|
|
7701
7732
|
});
|
|
@@ -7728,7 +7759,7 @@ function Zn(e = "menu") {
|
|
|
7728
7759
|
data: a
|
|
7729
7760
|
}), U.setIsRefreshMenus(!0);
|
|
7730
7761
|
}, xl = async (a, y, w) => {
|
|
7731
|
-
var D, G, ye, H, d, S, z, te, t, p, I, Z, me, Fe, yl, _e,
|
|
7762
|
+
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
7763
|
if (y === "create") {
|
|
7733
7764
|
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
7765
|
var Te, Ye;
|
|
@@ -7765,7 +7796,7 @@ function Zn(e = "menu") {
|
|
|
7765
7796
|
tableId: ve == null ? void 0 : ve.id,
|
|
7766
7797
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7767
7798
|
createUserId: (yl = V.value) == null ? void 0 : yl.id,
|
|
7768
|
-
createUserLayer: ((_e = V.value) == null ? void 0 : _e.dept) || ((
|
|
7799
|
+
createUserLayer: ((_e = V.value) == null ? void 0 : _e.dept) || ((he = V.value) == null ? void 0 : he.部门名称)
|
|
7769
7800
|
},
|
|
7770
7801
|
value: {
|
|
7771
7802
|
tableData: ae
|
|
@@ -7786,14 +7817,14 @@ function Zn(e = "menu") {
|
|
|
7786
7817
|
(al == null ? void 0 : al.length) > 0 && await Kr({
|
|
7787
7818
|
ids: al
|
|
7788
7819
|
}), U.setUpdateMenuStatus(!1), await Et(), U.setActiveMenuPath(
|
|
7789
|
-
(tl = (Ze = (
|
|
7820
|
+
(tl = (Ze = (le = w == null ? void 0 : w.path) == null ? void 0 : le.split("/")) == null ? void 0 : Ze.filter((Ee, R) => {
|
|
7790
7821
|
var ve, Ae;
|
|
7791
7822
|
return R !== ((Ae = (ve = w == null ? void 0 : w.path) == null ? void 0 : ve.split("/")) == null ? void 0 : Ae.length) - 1;
|
|
7792
7823
|
})) == null ? void 0 : tl.join("/")
|
|
7793
7824
|
), 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
7825
|
}
|
|
7795
7826
|
}, we = async (a, y) => {
|
|
7796
|
-
var te, t, p, I, Z, me, Fe, yl, _e,
|
|
7827
|
+
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
7828
|
let w = await on({
|
|
7798
7829
|
key: {
|
|
7799
7830
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -7815,8 +7846,8 @@ function Zn(e = "menu") {
|
|
|
7815
7846
|
}), H = ye == null ? void 0 : ye.join("/");
|
|
7816
7847
|
ye.push((Fe = a == null ? void 0 : a.target) == null ? void 0 : Fe.value), ye = ye == null ? void 0 : ye.join("/");
|
|
7817
7848
|
let d = await Pa(H, sessionStorage.getItem("systemKey"), "");
|
|
7818
|
-
if (((Ie = (k = (
|
|
7819
|
-
let oe = (Ze = (
|
|
7849
|
+
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") {
|
|
7850
|
+
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
7851
|
(Qe) => (Qe == null ? void 0 : Qe.key) === "tableContents"
|
|
7821
7852
|
)) == 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
7853
|
if (je == null || je.forEach((Qe) => {
|
|
@@ -7908,7 +7939,7 @@ function Zn(e = "menu") {
|
|
|
7908
7939
|
dialogInfo: se,
|
|
7909
7940
|
beforeDialogDestroy: Ge,
|
|
7910
7941
|
clickMenuIcon: A,
|
|
7911
|
-
mode:
|
|
7942
|
+
mode: ee,
|
|
7912
7943
|
renderMenuList: g,
|
|
7913
7944
|
clickMenu: u,
|
|
7914
7945
|
openMenu: Se,
|
|
@@ -7964,7 +7995,7 @@ function $n(e = "menu") {
|
|
|
7964
7995
|
// activeMenuPath,
|
|
7965
7996
|
linkMenuInfo: i,
|
|
7966
7997
|
updateMenuStatus: J
|
|
7967
|
-
} = Tl(v), K = ma(), { structureData:
|
|
7998
|
+
} = 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
7999
|
...y,
|
|
7969
8000
|
// 水平菜单仅显示一层
|
|
7970
8001
|
children: y.level === 0 ? [] : y.children ?? [],
|
|
@@ -7972,10 +8003,10 @@ function $n(e = "menu") {
|
|
|
7972
8003
|
} : y), Q = (a, y) => {
|
|
7973
8004
|
var w, D;
|
|
7974
8005
|
return (D = (w = g.value) == null ? void 0 : w.find((G) => (a.title + y).includes(G.value))) == null ? void 0 : D.value;
|
|
7975
|
-
},
|
|
8006
|
+
}, pe = (a, y = "", w = 0) => {
|
|
7976
8007
|
var H;
|
|
7977
8008
|
let D = Ll(a);
|
|
7978
|
-
const G = Array.from(/* @__PURE__ */ new Set([...(H =
|
|
8009
|
+
const G = Array.from(/* @__PURE__ */ new Set([...(H = ee.value) == null ? void 0 : H.map((d) => {
|
|
7979
8010
|
var S;
|
|
7980
8011
|
return (S = d == null ? void 0 : d.key) == null ? void 0 : S.pageKey;
|
|
7981
8012
|
})]));
|
|
@@ -7999,7 +8030,7 @@ function $n(e = "menu") {
|
|
|
7999
8030
|
children: [],
|
|
8000
8031
|
childMenus: []
|
|
8001
8032
|
};
|
|
8002
|
-
return d.children && d.children.length > 0 && (te.children =
|
|
8033
|
+
return d.children && d.children.length > 0 && (te.children = pe(d.children, S, w + 1)), te;
|
|
8003
8034
|
});
|
|
8004
8035
|
}, re = T(null), se = Vl(() => {
|
|
8005
8036
|
let a = Ll(C.value);
|
|
@@ -8107,7 +8138,7 @@ function $n(e = "menu") {
|
|
|
8107
8138
|
if (g.value = gt(), a) {
|
|
8108
8139
|
J.value && (v.setActiveTopMenuPath(""), v.setActiveMenuPath(""), v.setAsideMenus([]));
|
|
8109
8140
|
const y = a;
|
|
8110
|
-
C.value =
|
|
8141
|
+
C.value = pe(Eo(y));
|
|
8111
8142
|
}
|
|
8112
8143
|
},
|
|
8113
8144
|
{
|
|
@@ -8139,7 +8170,7 @@ function $n(e = "menu") {
|
|
|
8139
8170
|
};
|
|
8140
8171
|
}), qe = async (a) => {
|
|
8141
8172
|
var w, D, G, ye, H, d;
|
|
8142
|
-
const y = (w =
|
|
8173
|
+
const y = (w = ee.value) == null ? void 0 : w.find((S) => {
|
|
8143
8174
|
var z;
|
|
8144
8175
|
return ((z = S == null ? void 0 : S.key) == null ? void 0 : z.pageKey) === "menu";
|
|
8145
8176
|
});
|
|
@@ -8250,7 +8281,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8250
8281
|
}).length
|
|
8251
8282
|
);
|
|
8252
8283
|
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),
|
|
8284
|
+
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
8285
|
const ue = (ae == null ? void 0 : ae.menuFilter) || [];
|
|
8255
8286
|
return Array.isArray(ue) && (ue == null ? void 0 : ue.some((Pe) => {
|
|
8256
8287
|
const Le = typeof Pe == "string" ? Pe : JSON.stringify(Pe);
|
|
@@ -8287,7 +8318,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8287
8318
|
Ml(
|
|
8288
8319
|
() => A.value,
|
|
8289
8320
|
async (ae) => {
|
|
8290
|
-
ae && (
|
|
8321
|
+
ae && (ee.value = !0), ae === "弯管仿真加工分析/仿真动画生成" ? C.value = !0 : C.value = !1, ae === "弯管仿真加工分析/程序输出" ? u.value = !0 : u.value = !1, vt != null && vt.find((ue) => {
|
|
8291
8322
|
var Pe;
|
|
8292
8323
|
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
8324
|
}) ? K.value = !0 : K.value = !1;
|
|
@@ -8451,15 +8482,15 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8451
8482
|
const _e = (ae) => {
|
|
8452
8483
|
Z = ae.clientX, me = parseInt(getComputedStyle(D.value).width, 10), document.addEventListener("mousemove", Fe), document.addEventListener("mouseup", yl);
|
|
8453
8484
|
};
|
|
8454
|
-
let
|
|
8485
|
+
let he = 0, k = 0, Ie = 0, Re = 0;
|
|
8455
8486
|
function be(ae) {
|
|
8456
|
-
|
|
8487
|
+
he = ae.clientX, k = ae.clientY, Ie = ye.value.x, Re = ye.value.y, document.addEventListener("mousemove", ce), document.addEventListener("mouseup", le);
|
|
8457
8488
|
}
|
|
8458
8489
|
function ce(ae) {
|
|
8459
|
-
ye.value.x = Ie + (ae.clientX -
|
|
8490
|
+
ye.value.x = Ie + (ae.clientX - he), ye.value.y = Re + (ae.clientY - k);
|
|
8460
8491
|
}
|
|
8461
|
-
function
|
|
8462
|
-
document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup",
|
|
8492
|
+
function le() {
|
|
8493
|
+
document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup", le);
|
|
8463
8494
|
}
|
|
8464
8495
|
const Ze = T(""), tl = (ae) => {
|
|
8465
8496
|
Ze.value = ae;
|
|
@@ -8571,10 +8602,11 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8571
8602
|
id: "transparentBgButton",
|
|
8572
8603
|
onClick: s(On)
|
|
8573
8604
|
}, {
|
|
8574
|
-
default: r(() =>
|
|
8575
|
-
gl(" 返回页面 "
|
|
8576
|
-
])
|
|
8577
|
-
_: 1
|
|
8605
|
+
default: r(() => ue[5] || (ue[5] = [
|
|
8606
|
+
gl(" 返回页面 ")
|
|
8607
|
+
])),
|
|
8608
|
+
_: 1,
|
|
8609
|
+
__: [5]
|
|
8578
8610
|
}, 8, ["onClick"]),
|
|
8579
8611
|
n(Le, {
|
|
8580
8612
|
id: "transparentBgButton",
|
|
@@ -8587,9 +8619,10 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8587
8619
|
n(Fl, { name: "Store" })
|
|
8588
8620
|
]),
|
|
8589
8621
|
default: r(() => [
|
|
8590
|
-
ue[6] || (ue[6] = gl(" 保存页面 "
|
|
8622
|
+
ue[6] || (ue[6] = gl(" 保存页面 "))
|
|
8591
8623
|
]),
|
|
8592
|
-
_: 1
|
|
8624
|
+
_: 1,
|
|
8625
|
+
__: [6]
|
|
8593
8626
|
})
|
|
8594
8627
|
]),
|
|
8595
8628
|
O("div", Gd, [
|
|
@@ -8772,7 +8805,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8772
8805
|
style: Yl({ display: (Ne == null ? void 0 : Ne.isShow) === !1 ? "none" : "flex" })
|
|
8773
8806
|
}, [
|
|
8774
8807
|
((_l = Ne == null ? void 0 : Ne.comp) == null ? void 0 : _l.toUpperCase()) !== "TABLE" && Ne.name ? (f(), X("div", np, [
|
|
8775
|
-
|
|
8808
|
+
pe(Ne) ? De("", !0) : (f(), X("div", rp, il(Ne.name), 1))
|
|
8776
8809
|
])) : De("", !0),
|
|
8777
8810
|
s(Ya) ? (f(), ge(ya(s(Qa)(Ne.comp)), {
|
|
8778
8811
|
compName: Ne.name,
|
|
@@ -9182,14 +9215,14 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9182
9215
|
const c = wp(e);
|
|
9183
9216
|
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
9217
|
}, lr = (e, h, c, v) => {
|
|
9185
|
-
var U, E, L, V, x, ie, l, M, B, N, i, J, K,
|
|
9218
|
+
var U, E, L, V, x, ie, l, M, B, N, i, J, K, ee, C, g, u, Se;
|
|
9186
9219
|
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
9220
|
if (!Array.isArray(_) && ((V = _ == null ? void 0 : _.tableColumns) == null ? void 0 : V.length) > 0) {
|
|
9188
9221
|
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
9222
|
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 = (
|
|
9223
|
+
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];
|
|
9224
|
+
!(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]);
|
|
9225
|
+
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
9226
|
re = re == null ? void 0 : re.slice(0, (re == null ? void 0 : re.length) - 1), re = et(re, ",");
|
|
9194
9227
|
let se = re == null ? void 0 : re.filter((Be) => Be == null ? void 0 : Be.includes("@Type"));
|
|
9195
9228
|
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 +9230,8 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9197
9230
|
Array.isArray(_) || (_ = [_]);
|
|
9198
9231
|
let Ce = [];
|
|
9199
9232
|
return (Se = Ll(_)) == null || Se.forEach((Q) => {
|
|
9200
|
-
var
|
|
9201
|
-
if (!(Q != null && Q.filter) || ((
|
|
9233
|
+
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;
|
|
9234
|
+
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
9235
|
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
9236
|
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
9237
|
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 +9267,9 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9234
9267
|
x == null || x.forEach((J) => {
|
|
9235
9268
|
(J == null ? void 0 : J.key) !== "path" && (i == null || i.push(J));
|
|
9236
9269
|
}), i = i == null ? void 0 : i.map((J, K) => {
|
|
9237
|
-
var
|
|
9270
|
+
var ee, C;
|
|
9238
9271
|
if (K === (i == null ? void 0 : i.length) - 1) {
|
|
9239
|
-
const g = (
|
|
9272
|
+
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
9273
|
const Q = typeof Ce == "string" ? Ce : JSON.stringify(Ce);
|
|
9241
9274
|
return (Q == null ? void 0 : Q.includes("@Hide")) && (Q == null ? void 0 : Q.includes("Yes"));
|
|
9242
9275
|
}));
|
|
@@ -9248,12 +9281,12 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9248
9281
|
let i = ie, J = [];
|
|
9249
9282
|
x == null || x.forEach((K) => {
|
|
9250
9283
|
(K == null ? void 0 : K.key) !== "path" && (J == null || J.push(K));
|
|
9251
|
-
}), J = J == null ? void 0 : J.map((K,
|
|
9284
|
+
}), J = J == null ? void 0 : J.map((K, ee) => {
|
|
9252
9285
|
var C, g;
|
|
9253
|
-
if (
|
|
9286
|
+
if (ee === (J == null ? void 0 : J.length) - 1) {
|
|
9254
9287
|
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 (
|
|
9288
|
+
const pe = typeof Q == "string" ? Q : JSON.stringify(Q);
|
|
9289
|
+
return (pe == null ? void 0 : pe.includes("@Hide")) && (pe == null ? void 0 : pe.includes("Yes"));
|
|
9257
9290
|
}));
|
|
9258
9291
|
K.isShow = u ?? (Ce ? !1 : K.isShow ?? !0);
|
|
9259
9292
|
}
|
|
@@ -9269,34 +9302,34 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9269
9302
|
return L = L == null ? void 0 : L.map((V) => {
|
|
9270
9303
|
var l, M, B, N;
|
|
9271
9304
|
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 ((
|
|
9305
|
+
var K, ee;
|
|
9306
|
+
return ((ee = (K = V == null ? void 0 : V.key) == null ? void 0 : K.split("/")) == null ? void 0 : ee.length) - 1 !== J;
|
|
9274
9307
|
})) == null ? void 0 : B.join("/")) + "/";
|
|
9275
9308
|
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 (
|
|
9309
|
+
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;
|
|
9310
|
+
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) => {
|
|
9311
|
+
const he = typeof _e == "string" ? _e : JSON.stringify(_e);
|
|
9312
|
+
return (he == null ? void 0 : he.includes("@Hide")) && (he == null ? void 0 : he.includes("Yes"));
|
|
9280
9313
|
}));
|
|
9281
9314
|
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[((
|
|
9315
|
+
var he, k, Ie, Re;
|
|
9316
|
+
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
9317
|
})) == null ? void 0 : Se.isShow) ?? i.isShow, (i == null ? void 0 : i.filter) !== "" && (i != null && i.filter) && (i != null && i.quotePage))
|
|
9285
9318
|
if (((Ce = i == null ? void 0 : i.tableColumns) == null ? void 0 : Ce.length) === 0) {
|
|
9286
|
-
let _e = ((
|
|
9319
|
+
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
9320
|
if (!Array.isArray(_e) && ((se = _e == null ? void 0 : _e.tableColumns) == null ? void 0 : se.length) > 0) {
|
|
9288
9321
|
i.tableColumns = Ll(_e == null ? void 0 : _e.tableColumns) ?? [];
|
|
9289
|
-
let
|
|
9290
|
-
|
|
9291
|
-
let k =
|
|
9292
|
-
|
|
9322
|
+
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];
|
|
9323
|
+
he = he == null ? void 0 : he.slice(0, (he == null ? void 0 : he.length) - 1), he = et(he, ",");
|
|
9324
|
+
let k = he == null ? void 0 : he.filter((Ie) => Ie == null ? void 0 : Ie.includes("@Type"));
|
|
9325
|
+
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
9326
|
} else {
|
|
9294
|
-
let
|
|
9327
|
+
let he = [];
|
|
9295
9328
|
Array.isArray(_e) || (_e = [_e]), (Cl = Ll(_e)) == null || Cl.forEach((k) => {
|
|
9296
|
-
var Ie, Re, be, ce,
|
|
9329
|
+
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
9330
|
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
9331
|
k.name = [...i == null ? void 0 : i.name, ...(k == null ? void 0 : k.name) ?? []];
|
|
9299
|
-
let Kl = (
|
|
9332
|
+
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
9333
|
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
9334
|
var Ke, kl;
|
|
9302
9335
|
return Je != null && Je.groups ? { ...Je } : Object.assign({}, Je, {
|
|
@@ -9311,7 +9344,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9311
9344
|
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
9345
|
Sl = Sl == null ? void 0 : Sl.slice(0, (Sl == null ? void 0 : Sl.length) - 1), Sl = et(Sl, ",");
|
|
9313
9346
|
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 = []),
|
|
9347
|
+
((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
9348
|
} else {
|
|
9316
9349
|
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
9350
|
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 +9358,23 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9325
9358
|
}), k.relatedQuotes = i.relatedQuotes ?? [], at(k, i);
|
|
9326
9359
|
let wl = Sl == null ? void 0 : Sl.filter((Je) => Je == null ? void 0 : Je.includes("@Type"));
|
|
9327
9360
|
(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
|
-
|
|
9361
|
+
he.push(Ll(Je));
|
|
9329
9362
|
});
|
|
9330
9363
|
}
|
|
9331
|
-
}),
|
|
9364
|
+
}), he == null || he.forEach((k) => {
|
|
9332
9365
|
x.push(k);
|
|
9333
9366
|
});
|
|
9334
9367
|
}
|
|
9335
9368
|
} 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 (
|
|
9369
|
+
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];
|
|
9370
|
+
he = he == null ? void 0 : he.slice(0, (he == null ? void 0 : he.length) - 1), he = et(he, ",");
|
|
9371
|
+
let k = he == null ? void 0 : he.filter((Ie) => Ie == null ? void 0 : Ie.includes("@Type"));
|
|
9372
|
+
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
9373
|
let Ie = [];
|
|
9341
9374
|
(ke = ac(_e == null ? void 0 : _e.tableContents, _e == null ? void 0 : _e.tableColumns)) == null || ke.forEach((Re, be) => {
|
|
9342
|
-
var
|
|
9375
|
+
var le;
|
|
9343
9376
|
let ce = [];
|
|
9344
|
-
ce.push(be), (
|
|
9377
|
+
ce.push(be), (le = i == null ? void 0 : i.tableColumns) == null || le.forEach((Ze) => {
|
|
9345
9378
|
Re == null || Re.forEach((tl) => {
|
|
9346
9379
|
(Ze == null ? void 0 : Ze.prop) === (tl == null ? void 0 : tl.key) && ce.push((tl == null ? void 0 : tl.value) ?? "");
|
|
9347
9380
|
});
|
|
@@ -9353,19 +9386,19 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9353
9386
|
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
9387
|
let _e = i == null ? void 0 : i.formPage;
|
|
9355
9388
|
(_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(
|
|
9389
|
+
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) ?? []));
|
|
9390
|
+
!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
9391
|
var Ie;
|
|
9359
|
-
return k.disabled = !0, k.width = (Ie =
|
|
9392
|
+
return k.disabled = !0, k.width = (Ie = he == null ? void 0 : he.tableColumns) == null ? void 0 : Ie.length, k;
|
|
9360
9393
|
}), 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
9394
|
} 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((
|
|
9395
|
+
let _e = ((z = (S = (d = V == null ? void 0 : V.key) == null ? void 0 : d.split("/")) == null ? void 0 : S.filter((he, k) => {
|
|
9363
9396
|
var Ie, Re;
|
|
9364
9397
|
return k !== ((Re = (Ie = V == null ? void 0 : V.key) == null ? void 0 : Ie.split("/")) == null ? void 0 : Re.length) - 1;
|
|
9365
9398
|
})) == null ? void 0 : z.join("/")) + "/";
|
|
9366
9399
|
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 =
|
|
9400
|
+
let he = Ll(i).tableContents;
|
|
9401
|
+
i = (Z = (I = E == null ? void 0 : E.get(_e)) == null ? void 0 : I.contents) == null ? void 0 : Z[J], i.contents = he;
|
|
9369
9402
|
} else
|
|
9370
9403
|
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
9404
|
x.push(i);
|
|
@@ -9378,7 +9411,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9378
9411
|
if ((ie == null ? void 0 : ie.length) !== (x == null ? void 0 : x.length)) {
|
|
9379
9412
|
let B = [];
|
|
9380
9413
|
(M = V.contents) == null || M.forEach((N) => {
|
|
9381
|
-
var J, K,
|
|
9414
|
+
var J, K, ee, C;
|
|
9382
9415
|
const i = St(N);
|
|
9383
9416
|
if (!(B != null && B.find((g) => St(g) === i)))
|
|
9384
9417
|
B.push(N);
|
|
@@ -9387,7 +9420,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9387
9420
|
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
9421
|
} else if ((N == null ? void 0 : N.key) === "Form") {
|
|
9389
9422
|
let g = B == null ? void 0 : B.findIndex((u) => St(u) === i);
|
|
9390
|
-
B[g].contents = [...((
|
|
9423
|
+
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
9424
|
}
|
|
9392
9425
|
}), V.contents = B;
|
|
9393
9426
|
}
|
|
@@ -9480,7 +9513,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9480
9513
|
platName: "Form背景配置",
|
|
9481
9514
|
changeData: yp
|
|
9482
9515
|
});
|
|
9483
|
-
},
|
|
9516
|
+
}, ee = async () => {
|
|
9484
9517
|
var g, u, Se, Ce;
|
|
9485
9518
|
const C = (g = V == null ? void 0 : V.value) == null ? void 0 : g.plat_id;
|
|
9486
9519
|
if (C && !c.homepageBackgroundTableId)
|
|
@@ -9488,8 +9521,8 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9488
9521
|
const Q = await ot({
|
|
9489
9522
|
platId: parseInt(C),
|
|
9490
9523
|
pageName: "Form背景配置"
|
|
9491
|
-
}),
|
|
9492
|
-
|
|
9524
|
+
}), 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;
|
|
9525
|
+
pe && c.setHomepageBackgroundTableId(pe);
|
|
9493
9526
|
} catch (Q) {
|
|
9494
9527
|
console.error("恢复首页背景表ID失败:", Q);
|
|
9495
9528
|
}
|
|
@@ -9500,13 +9533,13 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9500
9533
|
return (C = V == null ? void 0 : V.value) == null ? void 0 : C.plat_id;
|
|
9501
9534
|
},
|
|
9502
9535
|
async () => {
|
|
9503
|
-
await
|
|
9536
|
+
await ee();
|
|
9504
9537
|
},
|
|
9505
9538
|
{ immediate: !0 }
|
|
9506
9539
|
), Ml(
|
|
9507
9540
|
() => [x == null ? void 0 : x.content, x == null ? void 0 : x.jsonContents],
|
|
9508
9541
|
async () => {
|
|
9509
|
-
var C, g, u, Se, Ce, Q,
|
|
9542
|
+
var C, g, u, Se, Ce, Q, pe, re, se, Be, Me;
|
|
9510
9543
|
try {
|
|
9511
9544
|
if (((C = x == null ? void 0 : x.jsonContents) == null ? void 0 : C.length) > 0) {
|
|
9512
9545
|
console.log("走了 jsonContents 分支,未重新创建背景表");
|
|
@@ -9540,7 +9573,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9540
9573
|
platId: parseInt((Q = V == null ? void 0 : V.value) == null ? void 0 : Q.plat_id),
|
|
9541
9574
|
tableNames: xl ?? []
|
|
9542
9575
|
});
|
|
9543
|
-
A = (
|
|
9576
|
+
A = (pe = A == null ? void 0 : A.data) == null ? void 0 : pe.result, A == null || A.forEach((ke) => {
|
|
9544
9577
|
var el, qe, pl;
|
|
9545
9578
|
let Ve = (qe = (el = ke == null ? void 0 : ke[0]) == null ? void 0 : el.结构) == null ? void 0 : qe.contents;
|
|
9546
9579
|
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 +9743,7 @@ const Vp = (e) => {
|
|
|
9710
9743
|
}), h;
|
|
9711
9744
|
}, xo = () => {
|
|
9712
9745
|
const { isSuperAdmin: e } = Zt(), h = (K) => Ll(K), c = (K) => {
|
|
9713
|
-
let
|
|
9746
|
+
let ee = {
|
|
9714
9747
|
name: "",
|
|
9715
9748
|
algorithm: "",
|
|
9716
9749
|
input: "",
|
|
@@ -9721,40 +9754,40 @@ const Vp = (e) => {
|
|
|
9721
9754
|
};
|
|
9722
9755
|
if (K) {
|
|
9723
9756
|
const C = h(K);
|
|
9724
|
-
|
|
9725
|
-
|
|
9757
|
+
ee = {
|
|
9758
|
+
...ee,
|
|
9726
9759
|
...C
|
|
9727
9760
|
};
|
|
9728
9761
|
}
|
|
9729
|
-
return
|
|
9762
|
+
return ee;
|
|
9730
9763
|
}, v = async () => {
|
|
9731
|
-
var
|
|
9764
|
+
var ee;
|
|
9732
9765
|
const K = await Tp();
|
|
9733
|
-
return (
|
|
9766
|
+
return (ee = K == null ? void 0 : K.data) == null ? void 0 : ee.result;
|
|
9734
9767
|
}, _ = async () => await v(), U = async (K) => {
|
|
9735
9768
|
var C;
|
|
9736
|
-
const
|
|
9737
|
-
return (C =
|
|
9769
|
+
const ee = await Rp(K);
|
|
9770
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9738
9771
|
}, E = async (K) => await U({ platId: K }), L = async (K) => {
|
|
9739
9772
|
var C;
|
|
9740
|
-
const
|
|
9741
|
-
return (C =
|
|
9773
|
+
const ee = await Ep(K);
|
|
9774
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9742
9775
|
}, V = async (K) => await L(K), x = async (K) => {
|
|
9743
9776
|
var C;
|
|
9744
|
-
const
|
|
9745
|
-
return (C =
|
|
9777
|
+
const ee = await Dp(K);
|
|
9778
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9746
9779
|
}, ie = async (K) => await x(K), l = async (K) => {
|
|
9747
9780
|
var C;
|
|
9748
|
-
const
|
|
9749
|
-
return (C =
|
|
9781
|
+
const ee = await Bp(K);
|
|
9782
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9750
9783
|
}, M = async (K) => await l(K), B = async (K) => {
|
|
9751
9784
|
var C;
|
|
9752
|
-
const
|
|
9753
|
-
return (C =
|
|
9785
|
+
const ee = await xp(K);
|
|
9786
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9754
9787
|
}, N = async (K) => await B(K), i = async (K) => {
|
|
9755
9788
|
var C;
|
|
9756
|
-
const
|
|
9757
|
-
return (C =
|
|
9789
|
+
const ee = await Pp(K);
|
|
9790
|
+
return (C = ee == null ? void 0 : ee.data) == null ? void 0 : C.result;
|
|
9758
9791
|
};
|
|
9759
9792
|
return {
|
|
9760
9793
|
isSuperAdmin: e,
|
|
@@ -9808,7 +9841,7 @@ const Vp = (e) => {
|
|
|
9808
9841
|
}, K = async () => {
|
|
9809
9842
|
const Be = await _(i.value);
|
|
9810
9843
|
await x(), l(Be);
|
|
9811
|
-
},
|
|
9844
|
+
}, ee = async () => {
|
|
9812
9845
|
await U(i.value), await x(i.value.id);
|
|
9813
9846
|
}, C = async () => {
|
|
9814
9847
|
var Me, Ue;
|
|
@@ -9818,7 +9851,7 @@ const Vp = (e) => {
|
|
|
9818
9851
|
text: "加载中...",
|
|
9819
9852
|
background: "rgba(0, 0, 0, 0.7)"
|
|
9820
9853
|
});
|
|
9821
|
-
i.value.id ? await
|
|
9854
|
+
i.value.id ? await ee().finally(() => {
|
|
9822
9855
|
Be.close();
|
|
9823
9856
|
}) : await K().finally(() => {
|
|
9824
9857
|
Be.close();
|
|
@@ -9848,21 +9881,21 @@ const Vp = (e) => {
|
|
|
9848
9881
|
return Be.forEach((dl, Cl) => {
|
|
9849
9882
|
Ue[dl] = Me[Cl] || "";
|
|
9850
9883
|
}), Ue;
|
|
9851
|
-
},
|
|
9884
|
+
}, pe = () => {
|
|
9852
9885
|
const Be = Q();
|
|
9853
9886
|
return {
|
|
9854
9887
|
url: i.value.algorithm,
|
|
9855
9888
|
input: Be
|
|
9856
9889
|
};
|
|
9857
9890
|
}, re = async (Be) => {
|
|
9858
|
-
i.value.output = Be, await
|
|
9891
|
+
i.value.output = Be, await ee();
|
|
9859
9892
|
}, se = async () => {
|
|
9860
9893
|
if (i.value.id && ie.value) {
|
|
9861
9894
|
const Be = Ha.service({
|
|
9862
9895
|
lock: !0,
|
|
9863
9896
|
text: "加载中...",
|
|
9864
9897
|
background: "rgba(0, 0, 0, 0.7)"
|
|
9865
|
-
}), Me =
|
|
9898
|
+
}), Me = pe();
|
|
9866
9899
|
try {
|
|
9867
9900
|
const Ue = await L(Me);
|
|
9868
9901
|
await re(Ue);
|
|
@@ -9880,11 +9913,11 @@ const Vp = (e) => {
|
|
|
9880
9913
|
class: "library-left-card",
|
|
9881
9914
|
"body-class": "library-left-card-body"
|
|
9882
9915
|
}, {
|
|
9883
|
-
header: r(() =>
|
|
9916
|
+
header: r(() => Me[7] || (Me[7] = [
|
|
9884
9917
|
O("div", { class: "method-list-header" }, [
|
|
9885
9918
|
O("div", { class: "title" }, "方法列表")
|
|
9886
9919
|
], -1)
|
|
9887
|
-
])
|
|
9920
|
+
])),
|
|
9888
9921
|
default: r(() => [
|
|
9889
9922
|
O("div", Qp, [
|
|
9890
9923
|
(f(!0), X(rl, null, bl(V.value, (A) => {
|
|
@@ -9918,10 +9951,11 @@ const Vp = (e) => {
|
|
|
9918
9951
|
type: "primary",
|
|
9919
9952
|
onClick: Me[0] || (Me[0] = (A) => l())
|
|
9920
9953
|
}, {
|
|
9921
|
-
default: r(() =>
|
|
9922
|
-
gl("创建方法"
|
|
9923
|
-
])
|
|
9924
|
-
_: 1
|
|
9954
|
+
default: r(() => Me[8] || (Me[8] = [
|
|
9955
|
+
gl("创建方法")
|
|
9956
|
+
])),
|
|
9957
|
+
_: 1,
|
|
9958
|
+
__: [8]
|
|
9925
9959
|
})
|
|
9926
9960
|
])
|
|
9927
9961
|
]),
|
|
@@ -10083,20 +10117,22 @@ const Vp = (e) => {
|
|
|
10083
10117
|
type: "primary",
|
|
10084
10118
|
onClick: C
|
|
10085
10119
|
}, {
|
|
10086
|
-
default: r(() =>
|
|
10087
|
-
gl("保存"
|
|
10088
|
-
])
|
|
10089
|
-
_: 1
|
|
10120
|
+
default: r(() => Me[10] || (Me[10] = [
|
|
10121
|
+
gl("保存")
|
|
10122
|
+
])),
|
|
10123
|
+
_: 1,
|
|
10124
|
+
__: [10]
|
|
10090
10125
|
}),
|
|
10091
10126
|
i.value.id ? (f(), ge(Cl, {
|
|
10092
10127
|
key: 0,
|
|
10093
10128
|
type: "primary",
|
|
10094
10129
|
onClick: Me[6] || (Me[6] = (A) => se())
|
|
10095
10130
|
}, {
|
|
10096
|
-
default: r(() =>
|
|
10097
|
-
gl("执行"
|
|
10098
|
-
])
|
|
10099
|
-
_: 1
|
|
10131
|
+
default: r(() => Me[11] || (Me[11] = [
|
|
10132
|
+
gl("执行")
|
|
10133
|
+
])),
|
|
10134
|
+
_: 1,
|
|
10135
|
+
__: [11]
|
|
10100
10136
|
})) : De("", !0)
|
|
10101
10137
|
])
|
|
10102
10138
|
])
|
|
@@ -10129,7 +10165,7 @@ const Vp = (e) => {
|
|
|
10129
10165
|
"destroy-on-close": "",
|
|
10130
10166
|
"show-close": !1
|
|
10131
10167
|
}, {
|
|
10132
|
-
header: r(() =>
|
|
10168
|
+
header: r(() => L[1] || (L[1] = [])),
|
|
10133
10169
|
default: r(() => [
|
|
10134
10170
|
O("div", $p, [
|
|
10135
10171
|
O("div", ef, [
|
|
@@ -10143,7 +10179,7 @@ const Vp = (e) => {
|
|
|
10143
10179
|
n(Zp)
|
|
10144
10180
|
])
|
|
10145
10181
|
]),
|
|
10146
|
-
footer: r(() =>
|
|
10182
|
+
footer: r(() => L[2] || (L[2] = [])),
|
|
10147
10183
|
_: 1
|
|
10148
10184
|
}, 8, ["modelValue"]);
|
|
10149
10185
|
};
|
|
@@ -10239,9 +10275,9 @@ const Vp = (e) => {
|
|
|
10239
10275
|
"destroy-on-close": "",
|
|
10240
10276
|
modalClass: "allocation-modal"
|
|
10241
10277
|
}, {
|
|
10242
|
-
header: r(() =>
|
|
10278
|
+
header: r(() => B[1] || (B[1] = [
|
|
10243
10279
|
O("div", null, "方法分配", -1)
|
|
10244
|
-
])
|
|
10280
|
+
])),
|
|
10245
10281
|
default: r(() => [
|
|
10246
10282
|
O("div", nf, [
|
|
10247
10283
|
n(sf, {
|
|
@@ -10305,16 +10341,16 @@ const Vp = (e) => {
|
|
|
10305
10341
|
isSuperAdmin: i
|
|
10306
10342
|
} = Xt(), J = ma(), { loginUserInfo: K } = Tl(J);
|
|
10307
10343
|
T(), T(), T(400);
|
|
10308
|
-
const
|
|
10309
|
-
i.value && (
|
|
10344
|
+
const ee = T(!1), C = () => {
|
|
10345
|
+
i.value && (ee.value = !0);
|
|
10310
10346
|
}, g = () => {
|
|
10311
|
-
|
|
10347
|
+
ee.value = !1, y.show = !1;
|
|
10312
10348
|
}, u = T();
|
|
10313
10349
|
Vl(() => {
|
|
10314
10350
|
if (!u.value)
|
|
10315
10351
|
return [];
|
|
10316
|
-
const { myModelList: ce = [], otherList:
|
|
10317
|
-
return [...ce, ...
|
|
10352
|
+
const { myModelList: ce = [], otherList: le = [] } = u.value;
|
|
10353
|
+
return [...ce, ...le];
|
|
10318
10354
|
});
|
|
10319
10355
|
const Se = (ce) => ie(ce), Ce = async () => {
|
|
10320
10356
|
const ce = await x();
|
|
@@ -10325,7 +10361,7 @@ const Vp = (e) => {
|
|
|
10325
10361
|
ha(() => {
|
|
10326
10362
|
Q();
|
|
10327
10363
|
});
|
|
10328
|
-
const
|
|
10364
|
+
const pe = T(null), re = T(V()), se = {
|
|
10329
10365
|
// platType: [{
|
|
10330
10366
|
// required: true,
|
|
10331
10367
|
// trigger: "blur",
|
|
@@ -10345,14 +10381,14 @@ const Vp = (e) => {
|
|
|
10345
10381
|
}, Al = () => {
|
|
10346
10382
|
re.value = V(), Ie(), Ue();
|
|
10347
10383
|
}, El = async () => {
|
|
10348
|
-
var
|
|
10384
|
+
var le;
|
|
10349
10385
|
const ce = Ha.service({
|
|
10350
10386
|
lock: !0,
|
|
10351
10387
|
text: "加载中...",
|
|
10352
10388
|
background: "rgba(0, 0, 0, 0.7)"
|
|
10353
10389
|
});
|
|
10354
10390
|
try {
|
|
10355
|
-
(
|
|
10391
|
+
(le = pe.value) == null || le.validate(async (Ze) => {
|
|
10356
10392
|
if (Ze) {
|
|
10357
10393
|
const { platId: tl } = re.value;
|
|
10358
10394
|
tl ? await ke() : await Ge(), Al();
|
|
@@ -10366,16 +10402,16 @@ const Vp = (e) => {
|
|
|
10366
10402
|
}, 2e3);
|
|
10367
10403
|
}
|
|
10368
10404
|
}, Xe = T(!1), xl = (ce) => {
|
|
10369
|
-
const
|
|
10370
|
-
return
|
|
10405
|
+
const le = ce == null ? void 0 : ce.type;
|
|
10406
|
+
return le === "image/jpeg" || le === "image/png" || le === "image/gif" || le === "image/webp";
|
|
10371
10407
|
}, we = async (ce) => {
|
|
10372
|
-
const
|
|
10408
|
+
const le = ce.file, Ze = await N({ file: le });
|
|
10373
10409
|
Ze && (re.value.logo = Ze);
|
|
10374
10410
|
}, A = async (ce) => {
|
|
10375
|
-
const
|
|
10411
|
+
const le = await ht({
|
|
10376
10412
|
url: ce
|
|
10377
10413
|
});
|
|
10378
|
-
return URL.createObjectURL(
|
|
10414
|
+
return URL.createObjectURL(le == null ? void 0 : le.data);
|
|
10379
10415
|
};
|
|
10380
10416
|
Ml(() => re.value.logo, async () => {
|
|
10381
10417
|
re.value.logoBlobUrl = await A(re.value.logo);
|
|
@@ -10387,11 +10423,11 @@ const Vp = (e) => {
|
|
|
10387
10423
|
}, Ve = async (ce) => {
|
|
10388
10424
|
L(ce), E(ce), g(), To();
|
|
10389
10425
|
}, el = async (ce) => {
|
|
10390
|
-
const
|
|
10426
|
+
const le = await Fe({
|
|
10391
10427
|
isPlat: !1,
|
|
10392
10428
|
value: ""
|
|
10393
10429
|
});
|
|
10394
|
-
if (!
|
|
10430
|
+
if (!le || (le == null ? void 0 : le.length) <= 1) {
|
|
10395
10431
|
Ql.warning("不能删除唯一模型");
|
|
10396
10432
|
return;
|
|
10397
10433
|
}
|
|
@@ -10432,10 +10468,10 @@ const Vp = (e) => {
|
|
|
10432
10468
|
}, 2e3);
|
|
10433
10469
|
}
|
|
10434
10470
|
}, qe = T(), pl = T(), cl = (ce) => {
|
|
10435
|
-
var
|
|
10436
|
-
qe.value = ce, ce && ((
|
|
10437
|
-
}, a = async (ce,
|
|
10438
|
-
const { value: Ze } = ce, tl =
|
|
10471
|
+
var le;
|
|
10472
|
+
qe.value = ce, ce && ((le = pl.value) == null || le.openDialog());
|
|
10473
|
+
}, a = async (ce, le) => {
|
|
10474
|
+
const { value: Ze } = ce, tl = le.row;
|
|
10439
10475
|
switch (Xe.value = !1, Ze) {
|
|
10440
10476
|
case "set-default":
|
|
10441
10477
|
const { plat_id: We } = tl;
|
|
@@ -10470,8 +10506,8 @@ const Vp = (e) => {
|
|
|
10470
10506
|
Ml(() => U == null ? void 0 : U.modelValue, (ce) => {
|
|
10471
10507
|
y.show = ce;
|
|
10472
10508
|
}, { immediate: !0 });
|
|
10473
|
-
const G = (ce,
|
|
10474
|
-
|
|
10509
|
+
const G = (ce, le) => {
|
|
10510
|
+
le == null || le.property;
|
|
10475
10511
|
}, ye = T(null), H = ta({
|
|
10476
10512
|
title: "创建",
|
|
10477
10513
|
type: "create",
|
|
@@ -10615,7 +10651,7 @@ const Vp = (e) => {
|
|
|
10615
10651
|
fixed: "right"
|
|
10616
10652
|
}
|
|
10617
10653
|
]);
|
|
10618
|
-
function Z(ce,
|
|
10654
|
+
function Z(ce, le = {}) {
|
|
10619
10655
|
const {
|
|
10620
10656
|
labelKey: Ze = "label",
|
|
10621
10657
|
// 标签字段名
|
|
@@ -10625,7 +10661,7 @@ const Vp = (e) => {
|
|
|
10625
10661
|
// 平台类型字段
|
|
10626
10662
|
businessTypesKey: ul = "businessTypes"
|
|
10627
10663
|
// 业务类型字段
|
|
10628
|
-
} =
|
|
10664
|
+
} = le;
|
|
10629
10665
|
return Array.isArray(ce) ? ce == null ? void 0 : ce.map((al) => {
|
|
10630
10666
|
const Ee = {
|
|
10631
10667
|
[Ze]: al[Ze] || al[We] || "管理系统",
|
|
@@ -10640,11 +10676,11 @@ const Vp = (e) => {
|
|
|
10640
10676
|
}) : [];
|
|
10641
10677
|
}
|
|
10642
10678
|
const me = async () => {
|
|
10643
|
-
var ce,
|
|
10679
|
+
var ce, le, Ze, tl;
|
|
10644
10680
|
try {
|
|
10645
10681
|
if (!((ce = K == null ? void 0 : K.value) != null && ce.user_id)) return;
|
|
10646
10682
|
const We = await Er({
|
|
10647
|
-
userId: (
|
|
10683
|
+
userId: (le = K.value) == null ? void 0 : le.user_id
|
|
10648
10684
|
});
|
|
10649
10685
|
((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
10686
|
} catch (We) {
|
|
@@ -10654,7 +10690,7 @@ const Vp = (e) => {
|
|
|
10654
10690
|
T({});
|
|
10655
10691
|
const Fe = async (ce) => {
|
|
10656
10692
|
var Ze, tl, We, ul;
|
|
10657
|
-
let
|
|
10693
|
+
let le;
|
|
10658
10694
|
try {
|
|
10659
10695
|
if (!((Ze = K == null ? void 0 : K.value) != null && Ze.user_id)) return;
|
|
10660
10696
|
const al = (ce == null ? void 0 : ce.value) === "管理系统" ? "" : ce == null ? void 0 : ce.value, Ee = await Tr({
|
|
@@ -10664,35 +10700,35 @@ const Vp = (e) => {
|
|
|
10664
10700
|
});
|
|
10665
10701
|
if (((We = Ee == null ? void 0 : Ee.data) == null ? void 0 : We.code) === 200) {
|
|
10666
10702
|
const R = ((ul = Ee == null ? void 0 : Ee.data) == null ? void 0 : ul.result) || [];
|
|
10667
|
-
t.value = R,
|
|
10703
|
+
t.value = R, le = R;
|
|
10668
10704
|
}
|
|
10669
10705
|
} catch (al) {
|
|
10670
10706
|
throw al;
|
|
10671
10707
|
} finally {
|
|
10672
10708
|
}
|
|
10673
|
-
return
|
|
10709
|
+
return le;
|
|
10674
10710
|
}, yl = T(null), _e = async (ce) => {
|
|
10675
10711
|
yl.value = ce, await Fe(ce);
|
|
10676
|
-
},
|
|
10677
|
-
var ce,
|
|
10678
|
-
(
|
|
10679
|
-
}, k = ({ row: ce, rowIndex:
|
|
10680
|
-
var ce,
|
|
10712
|
+
}, he = () => {
|
|
10713
|
+
var ce, le;
|
|
10714
|
+
(le = (ce = S.value) == null ? void 0 : ce.setCurrentKey) == null || le.call(ce, null), _e();
|
|
10715
|
+
}, k = ({ row: ce, rowIndex: le }) => le % 2 === 0 ? "default-row" : "special-row", Ie = async () => {
|
|
10716
|
+
var ce, le;
|
|
10681
10717
|
await me(), await Fe({
|
|
10682
10718
|
isPlat: !!((ce = yl.value) != null && ce.platType),
|
|
10683
|
-
value: (
|
|
10719
|
+
value: (le = yl.value) == null ? void 0 : le.value
|
|
10684
10720
|
});
|
|
10685
10721
|
}, Re = T(), be = () => {
|
|
10686
10722
|
var ce;
|
|
10687
10723
|
(ce = Re.value) == null || ce.openDialog();
|
|
10688
10724
|
};
|
|
10689
|
-
return h({ openDialog: C }), (ce,
|
|
10725
|
+
return h({ openDialog: C }), (ce, le) => {
|
|
10690
10726
|
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
10727
|
return f(), X(rl, null, [
|
|
10692
10728
|
n(ae, {
|
|
10693
10729
|
class: "model-management-dialog",
|
|
10694
10730
|
modelValue: y.show,
|
|
10695
|
-
"onUpdate:modelValue":
|
|
10731
|
+
"onUpdate:modelValue": le[2] || (le[2] = (Y) => y.show = Y),
|
|
10696
10732
|
title: y.title,
|
|
10697
10733
|
fullscreen: y.fullscreen,
|
|
10698
10734
|
"before-close": D,
|
|
@@ -10715,15 +10751,16 @@ const Vp = (e) => {
|
|
|
10715
10751
|
O("div", hf, [
|
|
10716
10752
|
n(ul, { class: "model-tree-card" }, {
|
|
10717
10753
|
header: r(() => [
|
|
10718
|
-
|
|
10754
|
+
le[9] || (le[9] = O("span", null, "模型分类", -1)),
|
|
10719
10755
|
n(tl, {
|
|
10720
10756
|
type: "primary",
|
|
10721
|
-
onClick:
|
|
10757
|
+
onClick: he
|
|
10722
10758
|
}, {
|
|
10723
|
-
default: r(() => [
|
|
10724
|
-
gl("查看所有"
|
|
10725
|
-
])
|
|
10726
|
-
_: 1
|
|
10759
|
+
default: r(() => le[8] || (le[8] = [
|
|
10760
|
+
gl("查看所有")
|
|
10761
|
+
])),
|
|
10762
|
+
_: 1,
|
|
10763
|
+
__: [8]
|
|
10727
10764
|
})
|
|
10728
10765
|
]),
|
|
10729
10766
|
default: r(() => [
|
|
@@ -10754,7 +10791,7 @@ const Vp = (e) => {
|
|
|
10754
10791
|
n(al, {
|
|
10755
10792
|
style: { width: "20%" },
|
|
10756
10793
|
modelValue: d.value,
|
|
10757
|
-
"onUpdate:modelValue":
|
|
10794
|
+
"onUpdate:modelValue": le[0] || (le[0] = (Y) => d.value = Y),
|
|
10758
10795
|
placeholder: "搜索",
|
|
10759
10796
|
"prefix-icon": s(Jr)
|
|
10760
10797
|
}, null, 8, ["modelValue", "prefix-icon"]),
|
|
@@ -10763,19 +10800,21 @@ const Vp = (e) => {
|
|
|
10763
10800
|
type: "primary",
|
|
10764
10801
|
onClick: be
|
|
10765
10802
|
}, {
|
|
10766
|
-
default: r(() => [
|
|
10767
|
-
gl("方法库"
|
|
10768
|
-
])
|
|
10769
|
-
_: 1
|
|
10803
|
+
default: r(() => le[10] || (le[10] = [
|
|
10804
|
+
gl("方法库")
|
|
10805
|
+
])),
|
|
10806
|
+
_: 1,
|
|
10807
|
+
__: [10]
|
|
10770
10808
|
}),
|
|
10771
10809
|
n(tl, {
|
|
10772
10810
|
type: "primary",
|
|
10773
|
-
onClick:
|
|
10811
|
+
onClick: le[1] || (le[1] = (Y) => Cl())
|
|
10774
10812
|
}, {
|
|
10775
|
-
default: r(() => [
|
|
10776
|
-
gl("创建系统"
|
|
10777
|
-
])
|
|
10778
|
-
_: 1
|
|
10813
|
+
default: r(() => le[11] || (le[11] = [
|
|
10814
|
+
gl("创建系统")
|
|
10815
|
+
])),
|
|
10816
|
+
_: 1,
|
|
10817
|
+
__: [11]
|
|
10779
10818
|
})
|
|
10780
10819
|
])
|
|
10781
10820
|
])
|
|
@@ -10825,8 +10864,8 @@ const Vp = (e) => {
|
|
|
10825
10864
|
_: 1
|
|
10826
10865
|
})
|
|
10827
10866
|
]),
|
|
10828
|
-
_:
|
|
10829
|
-
},
|
|
10867
|
+
_: 2
|
|
10868
|
+
}, 1032, ["src"])) : De("", !0),
|
|
10830
10869
|
(Y == null ? void 0 : Y.render) === "tag" && (Qe != null && Qe[Y == null ? void 0 : Y.prop]) ? (f(), ge(Ae, {
|
|
10831
10870
|
key: 1,
|
|
10832
10871
|
style: { color: "#fff" },
|
|
@@ -10908,7 +10947,7 @@ const Vp = (e) => {
|
|
|
10908
10947
|
}, {
|
|
10909
10948
|
default: r(() => [
|
|
10910
10949
|
O("div", Cf, [
|
|
10911
|
-
|
|
10950
|
+
le[12] || (le[12] = O("div", { class: "model-management-header" }, [
|
|
10912
10951
|
O("div", { class: "header-left" }),
|
|
10913
10952
|
O("div", { class: "header-right" })
|
|
10914
10953
|
], -1)),
|
|
@@ -10916,7 +10955,7 @@ const Vp = (e) => {
|
|
|
10916
10955
|
O("div", kf, [
|
|
10917
10956
|
n(ml, {
|
|
10918
10957
|
ref_key: "modelFormRef",
|
|
10919
|
-
ref:
|
|
10958
|
+
ref: pe,
|
|
10920
10959
|
class: "model-edit-form",
|
|
10921
10960
|
model: re.value,
|
|
10922
10961
|
rules: se
|
|
@@ -10937,7 +10976,7 @@ const Vp = (e) => {
|
|
|
10937
10976
|
clearable: "",
|
|
10938
10977
|
style: { width: "100%" },
|
|
10939
10978
|
modelValue: re.value.platType,
|
|
10940
|
-
"onUpdate:modelValue":
|
|
10979
|
+
"onUpdate:modelValue": le[3] || (le[3] = (Y) => re.value.platType = Y),
|
|
10941
10980
|
options: z.value,
|
|
10942
10981
|
props: { checkStrictly: !0, emitPath: !1 }
|
|
10943
10982
|
}, null, 8, ["disabled", "modelValue", "options"])
|
|
@@ -10959,7 +10998,7 @@ const Vp = (e) => {
|
|
|
10959
10998
|
disabled: dl.value,
|
|
10960
10999
|
clearable: "",
|
|
10961
11000
|
modelValue: re.value.businessType,
|
|
10962
|
-
"onUpdate:modelValue":
|
|
11001
|
+
"onUpdate:modelValue": le[4] || (le[4] = (Y) => re.value.businessType = Y)
|
|
10963
11002
|
}, null, 8, ["disabled", "modelValue"])
|
|
10964
11003
|
]),
|
|
10965
11004
|
_: 1
|
|
@@ -10981,7 +11020,7 @@ const Vp = (e) => {
|
|
|
10981
11020
|
default: r(() => [
|
|
10982
11021
|
n(al, {
|
|
10983
11022
|
modelValue: re.value.platName,
|
|
10984
|
-
"onUpdate:modelValue":
|
|
11023
|
+
"onUpdate:modelValue": le[5] || (le[5] = (Y) => re.value.platName = Y),
|
|
10985
11024
|
clearable: "",
|
|
10986
11025
|
"aria-label": "系统名称",
|
|
10987
11026
|
placeholder: "系统名称"
|
|
@@ -11001,7 +11040,7 @@ const Vp = (e) => {
|
|
|
11001
11040
|
default: r(() => [
|
|
11002
11041
|
n(al, {
|
|
11003
11042
|
modelValue: re.value.platNameEN,
|
|
11004
|
-
"onUpdate:modelValue":
|
|
11043
|
+
"onUpdate:modelValue": le[6] || (le[6] = (Y) => re.value.platNameEN = Y),
|
|
11005
11044
|
clearable: "",
|
|
11006
11045
|
"aria-label": "系统名称",
|
|
11007
11046
|
placeholder: "系统名称"
|
|
@@ -11026,7 +11065,7 @@ const Vp = (e) => {
|
|
|
11026
11065
|
default: r(() => [
|
|
11027
11066
|
n(al, {
|
|
11028
11067
|
modelValue: re.value.platVersion,
|
|
11029
|
-
"onUpdate:modelValue":
|
|
11068
|
+
"onUpdate:modelValue": le[7] || (le[7] = (Y) => re.value.platVersion = Y),
|
|
11030
11069
|
clearable: "",
|
|
11031
11070
|
"aria-label": "系统版本",
|
|
11032
11071
|
placeholder: "系统版本"
|
|
@@ -11091,7 +11130,7 @@ const Vp = (e) => {
|
|
|
11091
11130
|
]),
|
|
11092
11131
|
footer: r(() => [
|
|
11093
11132
|
O("div", _f, [
|
|
11094
|
-
|
|
11133
|
+
le[13] || (le[13] = O("div", { class: "footer-left" }, null, -1)),
|
|
11095
11134
|
O("div", Sf, [
|
|
11096
11135
|
n(Va, {
|
|
11097
11136
|
class: "cancel",
|
|
@@ -11253,7 +11292,7 @@ const Vp = (e) => {
|
|
|
11253
11292
|
], -1)),
|
|
11254
11293
|
O("div", Qf, [
|
|
11255
11294
|
O("div", Kf, [
|
|
11256
|
-
(f(!0), X(rl, null, bl(
|
|
11295
|
+
(f(!0), X(rl, null, bl(M.historyData, (J) => (f(), X("div", {
|
|
11257
11296
|
class: "history-item",
|
|
11258
11297
|
key: J.path,
|
|
11259
11298
|
onDblclick: (K) => l(J)
|
|
@@ -11333,10 +11372,10 @@ const Vp = (e) => {
|
|
|
11333
11372
|
},
|
|
11334
11373
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData", "clearLogin", "clearFileContent", "systemContent", "executeWorkspace", "updateVersion"],
|
|
11335
11374
|
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([]),
|
|
11375
|
+
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
11376
|
initModelList: Ce,
|
|
11338
11377
|
getPreviousModel: Q,
|
|
11339
|
-
initModelInfo:
|
|
11378
|
+
initModelInfo: pe
|
|
11340
11379
|
} = Xt(), { initModelToWorkspaceData: re } = Df(), se = T(!1), Be = T(!1), Me = () => {
|
|
11341
11380
|
se.value = !0;
|
|
11342
11381
|
}, Ue = () => {
|
|
@@ -11366,9 +11405,9 @@ const Vp = (e) => {
|
|
|
11366
11405
|
}));
|
|
11367
11406
|
}));
|
|
11368
11407
|
}), d == null || d.forEach((I) => {
|
|
11369
|
-
var Z, me, Fe, yl, _e,
|
|
11408
|
+
var Z, me, Fe, yl, _e, he;
|
|
11370
11409
|
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 = (
|
|
11410
|
+
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
11411
|
Re == null || Re.forEach((be) => {
|
|
11373
11412
|
k.push(xt(be, Ie == null ? void 0 : Ie.filter((ce) => ce !== "操作")));
|
|
11374
11413
|
}), H[I.name] = k, H[I.name + "Content"] = I;
|
|
@@ -11529,7 +11568,7 @@ const Vp = (e) => {
|
|
|
11529
11568
|
}
|
|
11530
11569
|
Z === z && (S = p);
|
|
11531
11570
|
}
|
|
11532
|
-
|
|
11571
|
+
pe(d || S);
|
|
11533
11572
|
};
|
|
11534
11573
|
ha(() => {
|
|
11535
11574
|
cl();
|
|
@@ -11627,9 +11666,10 @@ const Vp = (e) => {
|
|
|
11627
11666
|
n(S, { name: "model" })
|
|
11628
11667
|
]),
|
|
11629
11668
|
default: r(() => [
|
|
11630
|
-
d[2] || (d[2] = gl(" 模型 "
|
|
11669
|
+
d[2] || (d[2] = gl(" 模型 "))
|
|
11631
11670
|
]),
|
|
11632
|
-
_: 1
|
|
11671
|
+
_: 1,
|
|
11672
|
+
__: [2]
|
|
11633
11673
|
})) : De("", !0)
|
|
11634
11674
|
];
|
|
11635
11675
|
}),
|
|
@@ -11643,9 +11683,10 @@ const Vp = (e) => {
|
|
|
11643
11683
|
n(S, { name: "模板管理" })
|
|
11644
11684
|
]),
|
|
11645
11685
|
default: r(() => [
|
|
11646
|
-
d[3] || (d[3] = gl(" 模型列表 "
|
|
11686
|
+
d[3] || (d[3] = gl(" 模型列表 "))
|
|
11647
11687
|
]),
|
|
11648
|
-
_: 1
|
|
11688
|
+
_: 1,
|
|
11689
|
+
__: [3]
|
|
11649
11690
|
}),
|
|
11650
11691
|
n(z, {
|
|
11651
11692
|
onClick: A,
|
|
@@ -11665,9 +11706,10 @@ const Vp = (e) => {
|
|
|
11665
11706
|
style: { display: "none" },
|
|
11666
11707
|
multiple: ""
|
|
11667
11708
|
}, null, 32)),
|
|
11668
|
-
d[4] || (d[4] = gl(" 导入模型 "
|
|
11709
|
+
d[4] || (d[4] = gl(" 导入模型 "))
|
|
11669
11710
|
]),
|
|
11670
|
-
_: 1
|
|
11711
|
+
_: 1,
|
|
11712
|
+
__: [4]
|
|
11671
11713
|
}),
|
|
11672
11714
|
n(z, {
|
|
11673
11715
|
onClick: Ve,
|
|
@@ -11677,9 +11719,10 @@ const Vp = (e) => {
|
|
|
11677
11719
|
n(S, { name: "export" })
|
|
11678
11720
|
]),
|
|
11679
11721
|
default: r(() => [
|
|
11680
|
-
d[5] || (d[5] = gl(" 导出模型 "
|
|
11722
|
+
d[5] || (d[5] = gl(" 导出模型 "))
|
|
11681
11723
|
]),
|
|
11682
|
-
_: 1
|
|
11724
|
+
_: 1,
|
|
11725
|
+
__: [5]
|
|
11683
11726
|
}),
|
|
11684
11727
|
n(z, {
|
|
11685
11728
|
onClick: a,
|
|
@@ -11689,9 +11732,10 @@ const Vp = (e) => {
|
|
|
11689
11732
|
n(S, { name: "clear" })
|
|
11690
11733
|
]),
|
|
11691
11734
|
default: r(() => [
|
|
11692
|
-
d[6] || (d[6] = gl(" 清空模型 "
|
|
11735
|
+
d[6] || (d[6] = gl(" 清空模型 "))
|
|
11693
11736
|
]),
|
|
11694
|
-
_: 1
|
|
11737
|
+
_: 1,
|
|
11738
|
+
__: [6]
|
|
11695
11739
|
})
|
|
11696
11740
|
])
|
|
11697
11741
|
]),
|
|
@@ -11706,9 +11750,10 @@ const Vp = (e) => {
|
|
|
11706
11750
|
n(S, { name: "工作台" })
|
|
11707
11751
|
]),
|
|
11708
11752
|
default: r(() => [
|
|
11709
|
-
d[7] || (d[7] = gl(" 工作区 "
|
|
11753
|
+
d[7] || (d[7] = gl(" 工作区 "))
|
|
11710
11754
|
]),
|
|
11711
|
-
_: 1
|
|
11755
|
+
_: 1,
|
|
11756
|
+
__: [7]
|
|
11712
11757
|
})) : De("", !0)
|
|
11713
11758
|
]),
|
|
11714
11759
|
_: 1
|
|
@@ -11740,25 +11785,28 @@ const Vp = (e) => {
|
|
|
11740
11785
|
type: "primary",
|
|
11741
11786
|
onClick: qe
|
|
11742
11787
|
}, {
|
|
11743
|
-
default: r(() =>
|
|
11744
|
-
gl("导出模型"
|
|
11745
|
-
])
|
|
11746
|
-
_: 1
|
|
11788
|
+
default: r(() => d[8] || (d[8] = [
|
|
11789
|
+
gl("导出模型")
|
|
11790
|
+
])),
|
|
11791
|
+
_: 1,
|
|
11792
|
+
__: [8]
|
|
11747
11793
|
}),
|
|
11748
11794
|
n(z, { disabled: "" }, {
|
|
11749
|
-
default: r(() =>
|
|
11750
|
-
gl("导出数据"
|
|
11751
|
-
])
|
|
11752
|
-
_: 1
|
|
11795
|
+
default: r(() => d[9] || (d[9] = [
|
|
11796
|
+
gl("导出数据")
|
|
11797
|
+
])),
|
|
11798
|
+
_: 1,
|
|
11799
|
+
__: [9]
|
|
11753
11800
|
}),
|
|
11754
11801
|
n(z, {
|
|
11755
11802
|
type: "primary",
|
|
11756
11803
|
onClick: pl
|
|
11757
11804
|
}, {
|
|
11758
|
-
default: r(() =>
|
|
11759
|
-
gl("导出模型数据"
|
|
11760
|
-
])
|
|
11761
|
-
_: 1
|
|
11805
|
+
default: r(() => d[10] || (d[10] = [
|
|
11806
|
+
gl("导出模型数据")
|
|
11807
|
+
])),
|
|
11808
|
+
_: 1,
|
|
11809
|
+
__: [10]
|
|
11762
11810
|
})
|
|
11763
11811
|
])
|
|
11764
11812
|
]),
|
|
@@ -11767,7 +11815,7 @@ const Vp = (e) => {
|
|
|
11767
11815
|
]);
|
|
11768
11816
|
};
|
|
11769
11817
|
}
|
|
11770
|
-
}),
|
|
11818
|
+
}), xh = /* @__PURE__ */ va(lh, [["__scopeId", "data-v-a8c2fe98"]]);
|
|
11771
11819
|
export {
|
|
11772
|
-
|
|
11820
|
+
xh as default
|
|
11773
11821
|
};
|