ss-component-new 1.3.668 → 1.3.669
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/{MTLLoader-97ajvYTo.js → MTLLoader-C2ENwU4B.js} +2 -2
- package/dist/{URDFLoader-BTohsFFD.js → URDFLoader-D8HIcp6W.js} +589 -584
- package/dist/{animationData-Bh1dENkM.js → animationData-CDGBdGSq.js} +3 -3
- package/dist/{array-BeZlnHE5.js → array-GeFGcNng.js} +13 -14
- package/dist/{clone-64Nh3RrP.js → clone-epSiajPW.js} +1 -1
- package/dist/{eleIcon-DlIcb4df.js → eleIcon-BWVKfp5t.js} +2 -2
- package/dist/{iconfont-DLildctL.js → iconfont-DMYmzqd8.js} +91 -91
- package/dist/{index-D9fiFfMC.js → index-3va3ENB8.js} +3 -3
- package/dist/{index-DnRdT_Vp.js → index-B4vESlof.js} +2 -2
- package/dist/{index-CUfQEUxH.js → index-BFRbO6Ob.js} +148 -157
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/{index-COgke2F-.js → index-BO_ie9cf.js} +18 -20
- package/dist/{index-BosPsk5k.js → index-BTcUmOL9.js} +5 -5
- package/dist/{index-DL9OWmfj.js → index-Bd9AU0ks.js} +1 -1
- package/dist/{index-8ZSWGLlP.js → index-Bfe0Vmym.js} +29 -35
- package/dist/{index-ChtDRE_0.js → index-BpGFvMaU.js} +2 -2
- package/dist/{index-BaGFPX8W.js → index-Bto8e0_l.js} +5 -5
- package/dist/{index-CG1vGzHt.js → index-Bvvz41NY.js} +1 -1
- package/dist/index-CALpUVvi.js +2623 -0
- package/dist/{index-B24zodK9.js → index-CRusLwdZ.js} +3 -3
- package/dist/{index-aibiYft7.js → index-CeVSdtF3.js} +36 -40
- package/dist/{index-DNzOZL27.js → index-CmRnsU1X.js} +57 -61
- package/dist/{index-DSIS-l1N.js → index-CxGjXQS8.js} +8 -8
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-CDuL9GwS.js → index-DT2KzAmL.js} +1606 -1603
- package/dist/{index-DlFmNKos.js → index-D_kI6aHR.js} +7 -8
- package/dist/{index-BAILi3_p.js → index-D_zqmWYW.js} +7 -7
- package/dist/{index-DU0QRffL.js → index-DgW-zPUZ.js} +4 -4
- package/dist/{index-DTudxHP8.js → index-DhllboDp.js} +236 -278
- package/dist/{index-DibaunZs.js → index-Di7_fN-l.js} +19349 -19348
- package/dist/{index-CzGgc0w7.js → index-DmuX4rYk.js} +6 -6
- package/dist/{index-ClXCn3x3.js → index-DxEqN-_a.js} +4 -4
- package/dist/{index-SOPMlMak.js → index-FNOjQQWl.js} +17 -20
- package/dist/{index-BEqKA-R8.js → index-GqaokPsw.js} +3 -3
- package/dist/{index-DkXSSUDS.js → index-SjNcMhxZ.js} +8 -8
- package/dist/{index-CqjkyYQM.js → index-XGieOXX9.js} +4 -4
- package/dist/{index-CJySKIdc.js → index-YVR3acYT.js} +1 -1
- package/dist/{index-CzMViO4H.js → index-b-1Cc3pU.js} +482 -483
- package/dist/{index-DQHZjNCb.js → index-bzdYGNwv.js} +9362 -8906
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-BI0lhlHy.js → index-f22t3lGR.js} +3 -3
- package/dist/{index-Byq7jT-a.js → index-hPoDGmt5.js} +60 -62
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CdPZBari.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js} +27760 -27735
- package/dist/isString-CoCw_sp3.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-C7ijH7Xb.js → main-B3uivmHw.js} +9 -9
- package/dist/{menuIndex-CycdWV7s.js → menuIndex-B7ZUahFp.js} +1 -1
- package/dist/{request-DolpfyNJ.js → request-DiogHwkN.js} +3481 -3063
- 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-BQDoEUp8.js → threeModel-BZpdWtB3.js} +174 -174
- package/dist/{threePreview-CIDX4oie.js → threePreview-QZ-g7bqk.js} +12 -12
- package/dist/{threeSceneView-C17oeWoh.js → threeSceneView-DeXv560D.js} +23 -24
- package/dist/{threeSceneViewForCPMPIP-C1NcTzgS.js → threeSceneViewForCPMPIP-CdhC-Jg4.js} +16 -17
- package/dist/{threeTrackPathView-BvI1Y9Qf.js → threeTrackPathView-Cpwcmet3.js} +7 -7
- package/dist/{threeViewerHost-Cs8SXBpW.js → threeViewerHost-OeJJtWw4.js} +4 -4
- package/dist/{urdfTree-Dkdd2JSt.js → urdfTree-oAPOm0qi.js} +9 -9
- package/dist/{workpieceTreePanel-VMAn_xKW.js → workpieceTreePanel-RgJlR6GJ.js} +56 -60
- package/package.json +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/index-CRwB8jQA.js +0 -572
- package/dist/isString-h0UV2hrP.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,32 +1,31 @@
|
|
|
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, openBlock as f, createBlock as ge, withCtx as r, createElementVNode as O, toDisplayString as il, createElementBlock as X, Fragment as rl, createVNode as n, renderList as bl, withModifiers as Jl, normalizeStyle as Yl, createTextVNode as gl, createCommentVNode as De, unref as s, resolveDynamicComponent as ya, provide as It, shallowRef as vr, nextTick as fa, onBeforeUnmount as gr, resolveDirective as Pt, withDirectives as wa, vShow as $a, renderSlot as ba, normalizeClass as ql, mergeProps as ja, createSlots as Gt, defineAsyncComponent as en, reactive as ta, withKeys as yr } from "vue";
|
|
2
|
+
import { m as Ao, a as mo, b as Mo, c as br } from "./array-GeFGcNng.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-DT2KzAmL.js";
|
|
4
|
+
import { _ as Vt, s as _o, a as xr } from "./index-hPoDGmt5.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
|
|
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.
|
|
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 "./
|
|
16
|
-
import { c as Eo, f as pa, b as jn, a as wc, g as kc, d as dn } from "./menuIndex-CycdWV7s.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-bzdYGNwv.js";
|
|
8
|
+
import { u as In, g as on, b as sn, c as Qr, a as Kr } from "./index-YVR3acYT.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-DiogHwkN.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-b-1Cc3pU.js";
|
|
11
|
+
import { d as oc, g as Dt, a as sc } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BGHEN9yR.js";
|
|
12
|
+
import { t as nc, a as Vn, b as Qa, u as Ln, c as qt, s as Ra, r as Ca, o as Na, d as Ua, e as On, f as fo, h as Nn, i as To, j as rc, k as cc, l as mt, m as ao, n as Mt, p as Ya, q as dt, v as pt, w as Ja, x as ic, y as za, z as Ga, A as uc, B as Xa, C as Za, D as nn, E as rn, F as cn, G as Ft, H as Xl, I as dc, J as pc, K as to, L as fc, M as hc, N as vc, O as gc, g as Un, P as yc, Q as un, R as bc, S as Cc } from "./index-Di7_fN-l.js";
|
|
13
|
+
import "./index-D_zqmWYW.js";
|
|
14
|
+
import "./index-Bvvz41NY.js";
|
|
15
|
+
import { c as Eo, f as pa, b as jn, a as wc, g as kc, d as dn } from "./menuIndex-B7ZUahFp.js";
|
|
17
16
|
import { _ as va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
import { s as Sa } from "./index-
|
|
19
|
-
import { C as Ac } from "./index-
|
|
20
|
-
import { S as Fl } from "./index-
|
|
21
|
-
import mc from "./threeModel-
|
|
22
|
-
import { _ as Va } from "./index.vue_vue_type_script_setup_true_lang-
|
|
23
|
-
import { T as ho, u as Mc, a as _c } from "./threeViewerHost-
|
|
24
|
-
import { s as vo } from "./index-
|
|
25
|
-
import { u as Sc } from "./index-
|
|
26
|
-
import { u as Ic } from "./index-
|
|
27
|
-
import { u as Qn } from "./index-
|
|
28
|
-
import { T as pn } from "./iconfont-
|
|
29
|
-
import { f as Tc, a as Ec } from "./animationData-
|
|
17
|
+
import { s as Sa } from "./index-DJrzqi4-.js";
|
|
18
|
+
import { C as Ac } from "./index-CeVSdtF3.js";
|
|
19
|
+
import { S as Fl } from "./index-dD-mKgue.js";
|
|
20
|
+
import mc from "./threeModel-BZpdWtB3.js";
|
|
21
|
+
import { _ as Va } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
22
|
+
import { T as ho, u as Mc, a as _c } from "./threeViewerHost-OeJJtWw4.js";
|
|
23
|
+
import { s as vo } from "./index-CALpUVvi.js";
|
|
24
|
+
import { u as Sc } from "./index-BpGFvMaU.js";
|
|
25
|
+
import { u as Ic } from "./index-Bd9AU0ks.js";
|
|
26
|
+
import { u as Qn } from "./index-GqaokPsw.js";
|
|
27
|
+
import { T as pn } from "./iconfont-DMYmzqd8.js";
|
|
28
|
+
import { f as Tc, a as Ec } from "./animationData-CDGBdGSq.js";
|
|
30
29
|
na();
|
|
31
30
|
const Dc = na(), Kn = async (e, h) => {
|
|
32
31
|
var c, v, _, U;
|
|
@@ -378,7 +377,7 @@ function Vc(e = "menu") {
|
|
|
378
377
|
const p = await Al(N.value), I = (p == null ? void 0 : p.length) === 0 ? (S = N.value) == null ? void 0 : S.childMenus : p;
|
|
379
378
|
v.setAsideMenus(I);
|
|
380
379
|
} catch (z) {
|
|
381
|
-
throw
|
|
380
|
+
throw Ql.error(z), new Error(z);
|
|
382
381
|
}
|
|
383
382
|
},
|
|
384
383
|
{ immediate: !0 }
|
|
@@ -571,22 +570,20 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
571
570
|
onClick: J[2] || (J[2] = (g) => x.value = !1),
|
|
572
571
|
id: "themeBorderButton"
|
|
573
572
|
}, {
|
|
574
|
-
default: r(() => J[5] || (J[5] = [
|
|
575
|
-
gl(il("取消"))
|
|
576
|
-
])),
|
|
577
|
-
_: 1
|
|
578
|
-
__: [5]
|
|
573
|
+
default: r(() => [...J[5] || (J[5] = [
|
|
574
|
+
gl(il("取消"), -1)
|
|
575
|
+
])]),
|
|
576
|
+
_: 1
|
|
579
577
|
}),
|
|
580
578
|
n(C, {
|
|
581
579
|
class: "ok-button",
|
|
582
580
|
onClick: J[3] || (J[3] = (g) => N()),
|
|
583
581
|
id: "themeButton"
|
|
584
582
|
}, {
|
|
585
|
-
default: r(() => J[6] || (J[6] = [
|
|
586
|
-
gl(il("确认"))
|
|
587
|
-
])),
|
|
588
|
-
_: 1
|
|
589
|
-
__: [6]
|
|
583
|
+
default: r(() => [...J[6] || (J[6] = [
|
|
584
|
+
gl(il("确认"), -1)
|
|
585
|
+
])]),
|
|
586
|
+
_: 1
|
|
590
587
|
})
|
|
591
588
|
])
|
|
592
589
|
]),
|
|
@@ -668,9 +665,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
668
665
|
], 4),
|
|
669
666
|
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, [
|
|
670
667
|
n(s(Tn), { style: { width: "14px" } })
|
|
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] = [
|
|
668
|
+
])) : ((Se = (u = E.value) == null ? void 0 : u[i + 1]) == null ? void 0 : Se.condition) === "child" ? (f(), X("div", Jc, [...B[0] || (B[0] = [
|
|
672
669
|
O("div", null, il(":"), -1)
|
|
673
|
-
]))) : De("", !0)
|
|
670
|
+
])])) : De("", !0)
|
|
674
671
|
]);
|
|
675
672
|
}), 128))
|
|
676
673
|
]));
|
|
@@ -1295,7 +1292,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1295
1292
|
await Me(q);
|
|
1296
1293
|
}
|
|
1297
1294
|
} catch (j) {
|
|
1298
|
-
|
|
1295
|
+
Ql.error(j);
|
|
1299
1296
|
}
|
|
1300
1297
|
}, oe = (o) => {
|
|
1301
1298
|
if (!Array.isArray(o) || o.length < 2) return null;
|
|
@@ -1346,10 +1343,10 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1346
1343
|
return pe;
|
|
1347
1344
|
}
|
|
1348
1345
|
return null;
|
|
1349
|
-
}, He = T({}),
|
|
1346
|
+
}, He = T({}), jl = (...o) => o.flatMap((b) => Array.isArray(b) ? b.map((P) => String(P ?? "").trim()).filter((P) => P !== "") : b == null || b === "" ? [] : [String(b).trim()]), hl = (o) => {
|
|
1350
1347
|
var pe, he, le, j, q, F, xe, Oe, sl;
|
|
1351
1348
|
const b = (Array.isArray(o == null ? void 0 : o.compData) ? o == null ? void 0 : o.compData : void 0) ?? (Array.isArray((pe = o == null ? void 0 : o.component) == null ? void 0 : pe.compData) ? (he = o == null ? void 0 : o.component) == null ? void 0 : he.compData : void 0) ?? [], P = (le = b == null ? void 0 : b.find((nl) => (nl == null ? void 0 : nl.key) === "filter")) == null ? void 0 : le.contents;
|
|
1352
|
-
return
|
|
1349
|
+
return jl(
|
|
1353
1350
|
o == null ? void 0 : o.menuFilter,
|
|
1354
1351
|
(j = o == null ? void 0 : o.component) == null ? void 0 : j.menuFilter,
|
|
1355
1352
|
o == null ? void 0 : o.filter,
|
|
@@ -1812,7 +1809,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1812
1809
|
const q = await mr(P);
|
|
1813
1810
|
if (((he = q == null ? void 0 : q.data) == null ? void 0 : he.code) === 200) {
|
|
1814
1811
|
const F = await Mr({ platId: parseInt((le = re == null ? void 0 : re.value) == null ? void 0 : le.plat_id) });
|
|
1815
|
-
L.setDataFiles((j = F == null ? void 0 : F.data) == null ? void 0 : j.result)
|
|
1812
|
+
L.setDataFiles((j = F == null ? void 0 : F.data) == null ? void 0 : j.result);
|
|
1816
1813
|
}
|
|
1817
1814
|
} catch (q) {
|
|
1818
1815
|
console.error("上传失败:", q);
|
|
@@ -1884,10 +1881,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1884
1881
|
n(Fl, { name: "Back" })
|
|
1885
1882
|
]),
|
|
1886
1883
|
default: r(() => [
|
|
1887
|
-
b[11] || (b[11] = gl(" 返回页面 "))
|
|
1884
|
+
b[11] || (b[11] = gl(" 返回页面 ", -1))
|
|
1888
1885
|
]),
|
|
1889
|
-
_: 1
|
|
1890
|
-
__: [11]
|
|
1886
|
+
_: 1
|
|
1891
1887
|
}, 8, ["onClick"])
|
|
1892
1888
|
]),
|
|
1893
1889
|
O("div", li, [
|
|
@@ -1908,10 +1904,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1908
1904
|
n(Fl, { name: "Store" })
|
|
1909
1905
|
]),
|
|
1910
1906
|
default: r(() => [
|
|
1911
|
-
b[12] || (b[12] = gl(" 保存页面 "))
|
|
1907
|
+
b[12] || (b[12] = gl(" 保存页面 ", -1))
|
|
1912
1908
|
]),
|
|
1913
|
-
_: 1
|
|
1914
|
-
__: [12]
|
|
1909
|
+
_: 1
|
|
1915
1910
|
})
|
|
1916
1911
|
])
|
|
1917
1912
|
]),
|
|
@@ -2027,10 +2022,9 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2027
2022
|
n(Fl, { name: "系统管理" })
|
|
2028
2023
|
]),
|
|
2029
2024
|
default: r(() => [
|
|
2030
|
-
b[13] || (b[13] = gl(" 系统管理 "))
|
|
2025
|
+
b[13] || (b[13] = gl(" 系统管理 ", -1))
|
|
2031
2026
|
]),
|
|
2032
|
-
_: 1
|
|
2033
|
-
__: [13]
|
|
2027
|
+
_: 1
|
|
2034
2028
|
})) : De("", !0),
|
|
2035
2029
|
ba(o.$slots, "default", {}, void 0, !0),
|
|
2036
2030
|
n(po, null, {
|
|
@@ -2087,11 +2081,11 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2087
2081
|
label: "未读消息",
|
|
2088
2082
|
name: "second"
|
|
2089
2083
|
}, {
|
|
2090
|
-
label: r(() => b[15] || (b[15] = [
|
|
2084
|
+
label: r(() => [...b[15] || (b[15] = [
|
|
2091
2085
|
O("div", { class: "message-tab-label" }, [
|
|
2092
2086
|
O("span", null, "未读消息")
|
|
2093
2087
|
], -1)
|
|
2094
|
-
])),
|
|
2088
|
+
])]),
|
|
2095
2089
|
default: r(() => [
|
|
2096
2090
|
O("div", Ai, [
|
|
2097
2091
|
(f(!0), X(rl, null, bl(K.value, (Ol, Gl) => {
|
|
@@ -2300,9 +2294,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2300
2294
|
key: 1,
|
|
2301
2295
|
related: m == null ? void 0 : m.relatedTables,
|
|
2302
2296
|
compNames: s(dt),
|
|
2303
|
-
compName: m.name
|
|
2304
|
-
|
|
2305
|
-
}, (m == null ? void 0 : m.comp) === "ParentItem" ? { collapse: m == null ? void 0 : m.collapse, parentName: m == null ? void 0 : m.name } : {}, {
|
|
2297
|
+
compName: m.name
|
|
2298
|
+
}, { ref_for: !0 }, (m == null ? void 0 : m.comp) === "ParentItem" ? { collapse: m == null ? void 0 : m.collapse, parentName: m == null ? void 0 : m.name } : {}, {
|
|
2306
2299
|
groupNames: m == null ? void 0 : m.nameContents,
|
|
2307
2300
|
cacheNewData: s(Za),
|
|
2308
2301
|
isDevMode: e.showButton,
|
|
@@ -2433,9 +2426,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2433
2426
|
status: (Ks = W == null ? void 0 : W.component) == null ? void 0 : Ks.status
|
|
2434
2427
|
},
|
|
2435
2428
|
compName: (Hs = W == null ? void 0 : W.component) == null ? void 0 : Hs.name,
|
|
2436
|
-
compNames: s(dt)
|
|
2437
|
-
|
|
2438
|
-
}, ((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 } : {}, {
|
|
2429
|
+
compNames: s(dt)
|
|
2430
|
+
}, { ref_for: !0 }, ((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 } : {}, {
|
|
2439
2431
|
isDevMode: e.showButton,
|
|
2440
2432
|
itemData: (Ys = W == null ? void 0 : W.component) == null ? void 0 : Ys.compData,
|
|
2441
2433
|
childItemData: (Js = W == null ? void 0 : W.component) == null ? void 0 : Js.itemChildData,
|
|
@@ -2501,9 +2493,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2501
2493
|
status: W == null ? void 0 : W.status
|
|
2502
2494
|
},
|
|
2503
2495
|
compName: W == null ? void 0 : W.name,
|
|
2504
|
-
compNames: s(dt)
|
|
2505
|
-
|
|
2506
|
-
}, (W == null ? void 0 : W.comp) === "ParentItem" ? { collapse: W == null ? void 0 : W.collapse, parentName: W == null ? void 0 : W.name } : {}, {
|
|
2496
|
+
compNames: s(dt)
|
|
2497
|
+
}, { ref_for: !0 }, (W == null ? void 0 : W.comp) === "ParentItem" ? { collapse: W == null ? void 0 : W.collapse, parentName: W == null ? void 0 : W.name } : {}, {
|
|
2507
2498
|
isDevMode: e.showButton,
|
|
2508
2499
|
itemData: W == null ? void 0 : W.compData,
|
|
2509
2500
|
childItemData: W == null ? void 0 : W.itemChildData,
|
|
@@ -2558,9 +2549,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2558
2549
|
status: (Is = m == null ? void 0 : m.component) == null ? void 0 : Is.status
|
|
2559
2550
|
},
|
|
2560
2551
|
compName: (Ts = m == null ? void 0 : m.component) == null ? void 0 : Ts.name,
|
|
2561
|
-
compNames: s(dt)
|
|
2562
|
-
|
|
2563
|
-
}, ((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 } : {}, {
|
|
2552
|
+
compNames: s(dt)
|
|
2553
|
+
}, { ref_for: !0 }, ((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 } : {}, {
|
|
2564
2554
|
isDevMode: e.showButton,
|
|
2565
2555
|
itemData: (xs = m == null ? void 0 : m.component) == null ? void 0 : xs.compData,
|
|
2566
2556
|
childItemData: (Rs = m == null ? void 0 : m.component) == null ? void 0 : Rs.itemChildData,
|
|
@@ -2636,9 +2626,8 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2636
2626
|
pageLayout: Ba.value,
|
|
2637
2627
|
compName: ze.name,
|
|
2638
2628
|
related: ze == null ? void 0 : ze.relatedTables,
|
|
2639
|
-
compNames: s(dt)
|
|
2640
|
-
|
|
2641
|
-
}, (ze == null ? void 0 : ze.comp) === "ParentItem" ? { collapse: ze == null ? void 0 : ze.collapse, parentName: ze == null ? void 0 : ze.name } : {}, {
|
|
2629
|
+
compNames: s(dt)
|
|
2630
|
+
}, { ref_for: !0 }, (ze == null ? void 0 : ze.comp) === "ParentItem" ? { collapse: ze == null ? void 0 : ze.collapse, parentName: ze == null ? void 0 : ze.name } : {}, {
|
|
2642
2631
|
isDevMode: e.showButton,
|
|
2643
2632
|
itemData: ze == null ? void 0 : ze.compData,
|
|
2644
2633
|
childItemData: ze == null ? void 0 : ze.itemChildData,
|
|
@@ -2825,22 +2814,20 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2825
2814
|
onClick: b[8] || (b[8] = (Ol) => to.value = !1),
|
|
2826
2815
|
id: "themeBorderButton"
|
|
2827
2816
|
}, {
|
|
2828
|
-
default: r(() => b[21] || (b[21] = [
|
|
2829
|
-
gl(il("取消"))
|
|
2830
|
-
])),
|
|
2831
|
-
_: 1
|
|
2832
|
-
__: [21]
|
|
2817
|
+
default: r(() => [...b[21] || (b[21] = [
|
|
2818
|
+
gl(il("取消"), -1)
|
|
2819
|
+
])]),
|
|
2820
|
+
_: 1
|
|
2833
2821
|
}),
|
|
2834
2822
|
n(pe, {
|
|
2835
2823
|
class: "ok-button",
|
|
2836
2824
|
onClick: b[9] || (b[9] = (Ol) => s(fc)()),
|
|
2837
2825
|
id: "themeButton"
|
|
2838
2826
|
}, {
|
|
2839
|
-
default: r(() => b[22] || (b[22] = [
|
|
2840
|
-
gl(il("确认"))
|
|
2841
|
-
])),
|
|
2842
|
-
_: 1
|
|
2843
|
-
__: [22]
|
|
2827
|
+
default: r(() => [...b[22] || (b[22] = [
|
|
2828
|
+
gl(il("确认"), -1)
|
|
2829
|
+
])]),
|
|
2830
|
+
_: 1
|
|
2844
2831
|
})
|
|
2845
2832
|
])
|
|
2846
2833
|
]),
|
|
@@ -2856,7 +2843,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2856
2843
|
], 64);
|
|
2857
2844
|
};
|
|
2858
2845
|
}
|
|
2859
|
-
}), du = /* @__PURE__ */ va(uu, [["__scopeId", "data-v-
|
|
2846
|
+
}), du = /* @__PURE__ */ va(uu, [["__scopeId", "data-v-eb362e1d"]]), pu = /* @__PURE__ */ zl({
|
|
2860
2847
|
__name: "menuItem",
|
|
2861
2848
|
props: {
|
|
2862
2849
|
menuList: {
|
|
@@ -3068,7 +3055,7 @@ const Uc = /* @__PURE__ */ va(Lc, [["render", Nc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3068
3055
|
},
|
|
3069
3056
|
emits: ["update:modelValue", "get", "clear"],
|
|
3070
3057
|
setup(e, { emit: h }) {
|
|
3071
|
-
const c = e, v = h, _ = en(() => import("./localIcon-
|
|
3058
|
+
const c = e, v = h, _ = en(() => import("./localIcon-CoJHw5ss.js")), U = en(() => import("./eleIcon-BWVKfp5t.js")), E = T(), L = ta({
|
|
3072
3059
|
fontIconPrefix: "",
|
|
3073
3060
|
fontIconWidth: 0,
|
|
3074
3061
|
fontIconSearch: "",
|
|
@@ -3512,7 +3499,7 @@ function Au(e = "menu") {
|
|
|
3512
3499
|
order_no: "",
|
|
3513
3500
|
isShow: !0
|
|
3514
3501
|
}, I = await wu(Xe.type, p);
|
|
3515
|
-
((z = I == null ? void 0 : I.data) == null ? void 0 : z.code) === 200 && (S = (t = (te = I == null ? void 0 : I.data) == null ? void 0 : te.result) == null ? void 0 : t.object_id,
|
|
3502
|
+
((z = I == null ? void 0 : I.data) == null ? void 0 : z.code) === 200 && (S = (t = (te = I == null ? void 0 : I.data) == null ? void 0 : te.result) == null ? void 0 : t.object_id, Ql.success("新增成功"));
|
|
3516
3503
|
} catch (p) {
|
|
3517
3504
|
throw new Error(p);
|
|
3518
3505
|
} finally {
|
|
@@ -3567,7 +3554,7 @@ function Au(e = "menu") {
|
|
|
3567
3554
|
title: D == null ? void 0 : D.title,
|
|
3568
3555
|
icon: D == null ? void 0 : D.icon,
|
|
3569
3556
|
path: D == null ? void 0 : D.title
|
|
3570
|
-
} : Z),
|
|
3557
|
+
} : Z), Ql.success("修改成功"));
|
|
3571
3558
|
} catch (t) {
|
|
3572
3559
|
throw new Error(t);
|
|
3573
3560
|
} finally {
|
|
@@ -3615,7 +3602,7 @@ function Au(e = "menu") {
|
|
|
3615
3602
|
}
|
|
3616
3603
|
]
|
|
3617
3604
|
}, t = await uo(te);
|
|
3618
|
-
((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("成功")) && ($.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([]),
|
|
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("成功")) && ($.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("删除成功"));
|
|
3619
3606
|
});
|
|
3620
3607
|
} catch (S) {
|
|
3621
3608
|
throw new Error(S);
|
|
@@ -3886,7 +3873,7 @@ function Du(e = "menu") {
|
|
|
3886
3873
|
})
|
|
3887
3874
|
];
|
|
3888
3875
|
}, Ce = T([]), Q = T([]), de = async (R) => {
|
|
3889
|
-
var ve, Ae, Te, Ye, ae, ue, Pe, Le, oe, je, ml, Y, Qe, ll, $e, Rl, He,
|
|
3876
|
+
var ve, Ae, Te, Ye, ae, ue, Pe, Le, oe, je, ml, Y, Qe, ll, $e, Rl, He, jl, hl, Ne, ea, _l;
|
|
3890
3877
|
try {
|
|
3891
3878
|
if (!l.value) return;
|
|
3892
3879
|
const la = /* @__PURE__ */ new Map(), Kl = /* @__PURE__ */ new Map(), Ul = await ot({
|
|
@@ -3925,7 +3912,7 @@ function Du(e = "menu") {
|
|
|
3925
3912
|
//注意多级表头处理
|
|
3926
3913
|
columns: (Rl = Da == null ? void 0 : Da.contents) != null && Rl.length ? Da == null ? void 0 : Da.contents : $l,
|
|
3927
3914
|
hiddenColumns: $l == null ? void 0 : $l.filter((Hl) => ia == null ? void 0 : ia.includes(Hl == null ? void 0 : Hl.prop)),
|
|
3928
|
-
namePath: ((He = Object.values(Ke == null ? void 0 : Ke.name)) == null ? void 0 : He.length) > 0 ? (
|
|
3915
|
+
namePath: ((He = Object.values(Ke == null ? void 0 : Ke.name)) == null ? void 0 : He.length) > 0 ? (jl = Object.values(Ke == null ? void 0 : Ke.name)) == null ? void 0 : jl.join("/") : "",
|
|
3929
3916
|
hasMultiHeader: La,
|
|
3930
3917
|
hasContent: (Ke == null ? void 0 : Ke.contents) && ((hl = Ke == null ? void 0 : Ke.contents) == null ? void 0 : hl.length),
|
|
3931
3918
|
nameObj: Ke == null ? void 0 : Ke.name,
|
|
@@ -4023,7 +4010,7 @@ function Du(e = "menu") {
|
|
|
4023
4010
|
const $e = (ml = u.value) == null ? void 0 : ml.filter((Rl) => (Rl == null ? void 0 : Rl.path) !== (R == null ? void 0 : R.path));
|
|
4024
4011
|
_.setAsideEditMenus($e);
|
|
4025
4012
|
}
|
|
4026
|
-
await Et(), Z.value = Date.now(), te(), G.show = !1,
|
|
4013
|
+
await Et(), Z.value = Date.now(), te(), G.show = !1, Ql.success("删除成功");
|
|
4027
4014
|
}
|
|
4028
4015
|
});
|
|
4029
4016
|
} catch (ve) {
|
|
@@ -4109,7 +4096,7 @@ function Du(e = "menu") {
|
|
|
4109
4096
|
order_no: "",
|
|
4110
4097
|
isShow: !0
|
|
4111
4098
|
}, ue = await ku(G.type, ae);
|
|
4112
|
-
((Ae = ue == null ? void 0 : ue.data) == null ? void 0 : Ae.code) === 200 && (ve = (Ye = (Te = ue == null ? void 0 : ue.data) == null ? void 0 : Te.result) == null ? void 0 : Ye.object_id,
|
|
4099
|
+
((Ae = ue == null ? void 0 : ue.data) == null ? void 0 : Ae.code) === 200 && (ve = (Ye = (Te = ue == null ? void 0 : ue.data) == null ? void 0 : Te.result) == null ? void 0 : Ye.object_id, Ql.success("新增成功"));
|
|
4113
4100
|
} catch (ae) {
|
|
4114
4101
|
throw new Error(ae);
|
|
4115
4102
|
} finally {
|
|
@@ -4190,7 +4177,7 @@ function Du(e = "menu") {
|
|
|
4190
4177
|
}, Te = await uo(Ae);
|
|
4191
4178
|
if (((Ye = Te == null ? void 0 : Te.data) == null ? void 0 : Ye.code) === 200 && ((ue = (ae = Te == null ? void 0 : Te.data) == null ? void 0 : ae.message) != null && ue.includes("成功"))) {
|
|
4192
4179
|
const Le = (Pe = u.value) == null ? void 0 : Pe.filter((oe) => (oe == null ? void 0 : oe.path) !== (R == null ? void 0 : R.path));
|
|
4193
|
-
_.setAsideEditMenus(Le), Z.value = Date.now(), G.show = !1, te(),
|
|
4180
|
+
_.setAsideEditMenus(Le), Z.value = Date.now(), G.show = !1, te(), Ql.success("删除成功");
|
|
4194
4181
|
}
|
|
4195
4182
|
});
|
|
4196
4183
|
} catch (ve) {
|
|
@@ -4242,7 +4229,7 @@ function Du(e = "menu") {
|
|
|
4242
4229
|
if (((R = ae == null ? void 0 : ae.data) == null ? void 0 : R.code) === 200 && ((Ae = (ve = ae == null ? void 0 : ae.data) == null ? void 0 : ve.message) != null && Ae.includes("成功"))) {
|
|
4243
4230
|
const ue = pa(u.value, "path", be.path);
|
|
4244
4231
|
if (!ue) return;
|
|
4245
|
-
ue.icon = be == null ? void 0 : be.icon, ue.title = be == null ? void 0 : be.title, ue.path = be == null ? void 0 : be.path,
|
|
4232
|
+
ue.icon = be == null ? void 0 : be.icon, ue.title = be == null ? void 0 : be.title, ue.path = be == null ? void 0 : be.path, Ql.success("修改成功");
|
|
4246
4233
|
}
|
|
4247
4234
|
} catch (Te) {
|
|
4248
4235
|
throw new Error(Te);
|
|
@@ -4254,7 +4241,7 @@ function Du(e = "menu") {
|
|
|
4254
4241
|
(R = d.value) == null || R.validate(async (ve) => {
|
|
4255
4242
|
var Ae, Te, Ye, ae, ue, Pe, Le;
|
|
4256
4243
|
if (ve) {
|
|
4257
|
-
if (!((Ae = re.value) != null && Ae.path)) return
|
|
4244
|
+
if (!((Ae = re.value) != null && Ae.path)) return Ql.warning("请先选择所属菜单");
|
|
4258
4245
|
const oe = pa(Q.value, "groupId", ee == null ? void 0 : ee.pid);
|
|
4259
4246
|
let je;
|
|
4260
4247
|
oe ? je = [...((Te = oe == null ? void 0 : oe.namePath) == null ? void 0 : Te.split("/")) ?? [], ee == null ? void 0 : ee.title] : je = [ee == null ? void 0 : ee.title];
|
|
@@ -4273,7 +4260,7 @@ function Du(e = "menu") {
|
|
|
4273
4260
|
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,
|
|
4274
4261
|
isShow: !0
|
|
4275
4262
|
}, Y = await yo(ye.type, ml);
|
|
4276
|
-
((Le = Y == null ? void 0 : Y.data) == null ? void 0 : Le.code) === 200 && (c("getCompForm", ee), t(), await de(re.value),
|
|
4263
|
+
((Le = Y == null ? void 0 : Y.data) == null ? void 0 : Le.code) === 200 && (c("getCompForm", ee), t(), await de(re.value), Ql.success("新增成功"), re.value && se(re.value), ye.show = !1);
|
|
4277
4264
|
}
|
|
4278
4265
|
});
|
|
4279
4266
|
} catch (ve) {
|
|
@@ -4593,21 +4580,19 @@ function Hu(e, h, c, v, _, U) {
|
|
|
4593
4580
|
footer: r(() => [
|
|
4594
4581
|
O("div", Ku, [
|
|
4595
4582
|
n(J, { onClick: e.onCloseGroupDialog }, {
|
|
4596
|
-
default: r(() => h[7] || (h[7] = [
|
|
4597
|
-
gl("取消")
|
|
4598
|
-
])),
|
|
4599
|
-
_: 1
|
|
4600
|
-
__: [7]
|
|
4583
|
+
default: r(() => [...h[7] || (h[7] = [
|
|
4584
|
+
gl("取消", -1)
|
|
4585
|
+
])]),
|
|
4586
|
+
_: 1
|
|
4601
4587
|
}, 8, ["onClick"]),
|
|
4602
4588
|
n(J, {
|
|
4603
4589
|
type: "primary",
|
|
4604
4590
|
onClick: e.onConfirmGroup
|
|
4605
4591
|
}, {
|
|
4606
|
-
default: r(() => h[8] || (h[8] = [
|
|
4607
|
-
gl("确认")
|
|
4608
|
-
])),
|
|
4609
|
-
_: 1
|
|
4610
|
-
__: [8]
|
|
4592
|
+
default: r(() => [...h[8] || (h[8] = [
|
|
4593
|
+
gl("确认", -1)
|
|
4594
|
+
])]),
|
|
4595
|
+
_: 1
|
|
4611
4596
|
}, 8, ["onClick"])
|
|
4612
4597
|
])
|
|
4613
4598
|
]),
|
|
@@ -4905,7 +4890,7 @@ const Wu = /* @__PURE__ */ va(Bu, [["render", Hu], ["__scopeId", "data-v-7f84f44
|
|
|
4905
4890
|
return (se = String(re == null ? void 0 : re.id)) == null ? void 0 : se.includes("new");
|
|
4906
4891
|
});
|
|
4907
4892
|
if (u == "create" && ((de = U.value) == null ? void 0 : de.find((se) => (se == null ? void 0 : se.prop) === C)))
|
|
4908
|
-
return
|
|
4893
|
+
return Ql.error("请勿创建重复参数名称");
|
|
4909
4894
|
v("onClickOperateData", u, {
|
|
4910
4895
|
...g,
|
|
4911
4896
|
label: C,
|
|
@@ -5635,21 +5620,19 @@ const ga = (e, h) => {
|
|
|
5635
5620
|
footer: r(() => [
|
|
5636
5621
|
O("div", gd, [
|
|
5637
5622
|
n(G, { onClick: dl }, {
|
|
5638
|
-
default: r(() => A[36] || (A[36] = [
|
|
5639
|
-
gl("取消")
|
|
5640
|
-
])),
|
|
5641
|
-
_: 1
|
|
5642
|
-
__: [36]
|
|
5623
|
+
default: r(() => [...A[36] || (A[36] = [
|
|
5624
|
+
gl("取消", -1)
|
|
5625
|
+
])]),
|
|
5626
|
+
_: 1
|
|
5643
5627
|
}),
|
|
5644
5628
|
n(G, {
|
|
5645
5629
|
type: "primary",
|
|
5646
5630
|
onClick: $
|
|
5647
5631
|
}, {
|
|
5648
|
-
default: r(() => A[37] || (A[37] = [
|
|
5649
|
-
gl("确认")
|
|
5650
|
-
])),
|
|
5651
|
-
_: 1
|
|
5652
|
-
__: [37]
|
|
5632
|
+
default: r(() => [...A[37] || (A[37] = [
|
|
5633
|
+
gl("确认", -1)
|
|
5634
|
+
])]),
|
|
5635
|
+
_: 1
|
|
5653
5636
|
})
|
|
5654
5637
|
])
|
|
5655
5638
|
]),
|
|
@@ -5977,12 +5960,11 @@ const ga = (e, h) => {
|
|
|
5977
5960
|
size: "small",
|
|
5978
5961
|
onClick: (me) => g(t)
|
|
5979
5962
|
}, {
|
|
5980
|
-
default: r(() => A[32] || (A[32] = [
|
|
5981
|
-
gl(" + ")
|
|
5982
|
-
])),
|
|
5983
|
-
_:
|
|
5984
|
-
|
|
5985
|
-
}, 1032, ["onClick"]))
|
|
5963
|
+
default: r(() => [...A[32] || (A[32] = [
|
|
5964
|
+
gl(" + ", -1)
|
|
5965
|
+
])]),
|
|
5966
|
+
_: 1
|
|
5967
|
+
}, 8, ["onClick"]))
|
|
5986
5968
|
]),
|
|
5987
5969
|
_: 2
|
|
5988
5970
|
}, 1024)
|
|
@@ -6187,13 +6169,12 @@ const ga = (e, h) => {
|
|
|
6187
6169
|
size: "small",
|
|
6188
6170
|
type: "danger"
|
|
6189
6171
|
}, {
|
|
6190
|
-
default: r(() => A[33] || (A[33] = [
|
|
6191
|
-
gl(" 注意事项:"),
|
|
6172
|
+
default: r(() => [...A[33] || (A[33] = [
|
|
6173
|
+
gl(" 注意事项:", -1),
|
|
6192
6174
|
O("br", null, null, -1),
|
|
6193
|
-
gl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ")
|
|
6194
|
-
])),
|
|
6195
|
-
_: 1
|
|
6196
|
-
__: [33]
|
|
6175
|
+
gl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ", -1)
|
|
6176
|
+
])]),
|
|
6177
|
+
_: 1
|
|
6197
6178
|
})) : De("", !0)
|
|
6198
6179
|
]),
|
|
6199
6180
|
_: 1
|
|
@@ -6240,18 +6221,16 @@ const ga = (e, h) => {
|
|
|
6240
6221
|
n(d, { class: "cascader-title-wrapper" }, {
|
|
6241
6222
|
default: r(() => [
|
|
6242
6223
|
n(H, { span: 12 }, {
|
|
6243
|
-
default: r(() => A[34] || (A[34] = [
|
|
6244
|
-
gl("已选选项")
|
|
6245
|
-
])),
|
|
6246
|
-
_: 1
|
|
6247
|
-
__: [34]
|
|
6224
|
+
default: r(() => [...A[34] || (A[34] = [
|
|
6225
|
+
gl("已选选项", -1)
|
|
6226
|
+
])]),
|
|
6227
|
+
_: 1
|
|
6248
6228
|
}),
|
|
6249
6229
|
n(H, { span: 12 }, {
|
|
6250
|
-
default: r(() => A[35] || (A[35] = [
|
|
6251
|
-
gl("同步方式")
|
|
6252
|
-
])),
|
|
6253
|
-
_: 1
|
|
6254
|
-
__: [35]
|
|
6230
|
+
default: r(() => [...A[35] || (A[35] = [
|
|
6231
|
+
gl("同步方式", -1)
|
|
6232
|
+
])]),
|
|
6233
|
+
_: 1
|
|
6255
6234
|
})
|
|
6256
6235
|
]),
|
|
6257
6236
|
_: 1
|
|
@@ -6292,8 +6271,8 @@ const ga = (e, h) => {
|
|
|
6292
6271
|
_: 2
|
|
6293
6272
|
}, 1032, ["value"]))), 128))
|
|
6294
6273
|
]),
|
|
6295
|
-
_:
|
|
6296
|
-
},
|
|
6274
|
+
_: 1
|
|
6275
|
+
}, 8, ["model-value", "onUpdate:modelValue"])
|
|
6297
6276
|
]),
|
|
6298
6277
|
_: 2
|
|
6299
6278
|
}, 1024)
|
|
@@ -6682,7 +6661,7 @@ const Gn = (e, h = 0) => {
|
|
|
6682
6661
|
if (K.value = !1, t) {
|
|
6683
6662
|
if ((p = Object.keys(t)) == null || p.forEach((Z) => {
|
|
6684
6663
|
Z in l && (l[Z] = t[Z]);
|
|
6685
|
-
}), !(l != null && l.id)) return
|
|
6664
|
+
}), !(l != null && l.id)) return Ql.error("获取节点信息出错了");
|
|
6686
6665
|
const I = kc(w.value, l == null ? void 0 : l.id, "groupId");
|
|
6687
6666
|
l.pid = (I == null ? void 0 : I.groupId) || (l == null ? void 0 : l.menuId) || "", $();
|
|
6688
6667
|
}
|
|
@@ -6690,25 +6669,25 @@ const Gn = (e, h = 0) => {
|
|
|
6690
6669
|
var t, p, I, Z, me, Fe, yl, _e, fe, k, Ie, Re, be, ce, ee, Ze, tl, We, ul, al, Ee, R, ve, Ae, Te, Ye, ae, ue, Pe;
|
|
6691
6670
|
B.value = !0;
|
|
6692
6671
|
try {
|
|
6693
|
-
if (!U.value) return
|
|
6672
|
+
if (!U.value) return Ql.warning("请先选择所属菜单");
|
|
6694
6673
|
if (!(l != null && l.id)) return;
|
|
6695
6674
|
let Le = [], oe = [];
|
|
6696
6675
|
if (Array.isArray(l == null ? void 0 : l.quotes)) {
|
|
6697
6676
|
const ll = (p = (t = l == null ? void 0 : l.quoteWays) == null ? void 0 : t.filter((He) => (He == null ? void 0 : He.value) === "fatherSync")) == null ? void 0 : p.map((He) => He == null ? void 0 : He.key), $e = (Z = (I = l == null ? void 0 : l.quoteWays) == null ? void 0 : I.filter((He) => (He == null ? void 0 : He.value) === "sonSync")) == null ? void 0 : Z.map((He) => He == null ? void 0 : He.key), Rl = (Fe = (me = l == null ? void 0 : l.quoteWays) == null ? void 0 : me.filter((He) => (He == null ? void 0 : He.value) === "bothSync")) == null ? void 0 : Fe.map((He) => He == null ? void 0 : He.key);
|
|
6698
6677
|
Le = (_e = (yl = l == null ? void 0 : l.quotes) == null ? void 0 : yl.filter((He) => (ll == null ? void 0 : ll.includes(He == null ? void 0 : He.join("/"))) || (Rl == null ? void 0 : Rl.includes(He == null ? void 0 : He.join("/"))))) == null ? void 0 : _e.map((He) => {
|
|
6699
|
-
var
|
|
6678
|
+
var jl;
|
|
6700
6679
|
return {
|
|
6701
6680
|
menus: He == null ? void 0 : He[0],
|
|
6702
6681
|
//单元传值/拼接的字符串
|
|
6703
|
-
groups: (
|
|
6682
|
+
groups: (jl = He == null ? void 0 : He[1]) == null ? void 0 : jl.split("/")
|
|
6704
6683
|
//嵌套特性使用,分割,传值数组
|
|
6705
6684
|
};
|
|
6706
6685
|
}), oe = (k = (fe = l == null ? void 0 : l.quotes) == null ? void 0 : fe.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) => {
|
|
6707
|
-
var
|
|
6686
|
+
var jl;
|
|
6708
6687
|
return {
|
|
6709
6688
|
menus: He == null ? void 0 : He[0],
|
|
6710
6689
|
//单元传值/拼接的字符串
|
|
6711
|
-
groups: (
|
|
6690
|
+
groups: (jl = He == null ? void 0 : He[1]) == null ? void 0 : jl.split("/")
|
|
6712
6691
|
//嵌套特性使用,分割,传值数组
|
|
6713
6692
|
};
|
|
6714
6693
|
});
|
|
@@ -6840,19 +6819,19 @@ const Gn = (e, h = 0) => {
|
|
|
6840
6819
|
allowRepeat: !0
|
|
6841
6820
|
}));
|
|
6842
6821
|
})), Rl.push(...He);
|
|
6843
|
-
let
|
|
6822
|
+
let jl = Rl == null ? void 0 : Rl.reduce((hl, Ne) => Ne != null && Ne.value ? bo(hl, Ne == null ? void 0 : Ne.key, Ne == null ? void 0 : Ne.value, Ne == null ? void 0 : Ne.allowRepeat) : hl, $e);
|
|
6844
6823
|
if (l != null && l.filterProp) {
|
|
6845
6824
|
const hl = (R = l == null ? void 0 : l.dataSource) == null ? void 0 : R.split("/"), Ne = "$" + ((ve = hl == null ? void 0 : hl.slice(0, -1)) == null ? void 0 : ve.join("$")), ea = hl == null ? void 0 : hl[(hl == null ? void 0 : hl.length) - 1], _l = (Ae = l == null ? void 0 : l.applyEle) == null ? void 0 : Ae.split("/"), la = "$" + ((Te = _l == null ? void 0 : _l.slice(0, -1)) == null ? void 0 : Te.join("$")), Kl = _l == null ? void 0 : _l[(_l == null ? void 0 : _l.length) - 1], Ul = `(*${l == null ? void 0 : l.name}:${l == null ? void 0 : l.filterProp}=${Ne}:{${ea}}${la}:${Kl})`;
|
|
6846
|
-
|
|
6825
|
+
jl = `(${(jl == null ? void 0 : jl.slice(1, -1)) + ",If" + Ul})`;
|
|
6847
6826
|
}
|
|
6848
|
-
if (console.log("resConfigs",
|
|
6827
|
+
if (console.log("resConfigs", jl), l != null && l.linkSource && (console.log("链接自定义", jl, l == null ? void 0 : l.linkSource), jl = (l == null ? void 0 : l.linkSource) + jl), ml.push(Tt({
|
|
6849
6828
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6850
6829
|
changeContents: [
|
|
6851
6830
|
{
|
|
6852
6831
|
tableName: `struct_${l == null ? void 0 : l.id}`,
|
|
6853
6832
|
tableContents: [{
|
|
6854
6833
|
id: (Ye = ll == null ? void 0 : ll.configInfo) == null ? void 0 : Ye.id,
|
|
6855
|
-
引用: { contents:
|
|
6834
|
+
引用: { contents: jl }
|
|
6856
6835
|
}]
|
|
6857
6836
|
}
|
|
6858
6837
|
]
|
|
@@ -6892,7 +6871,7 @@ const Gn = (e, h = 0) => {
|
|
|
6892
6871
|
}) && (a.value = (Pe = a.value) == null ? void 0 : Pe.map((ll) => (ll == null ? void 0 : ll.id) === (l == null ? void 0 : l.id) ? {
|
|
6893
6872
|
...ll,
|
|
6894
6873
|
name: l == null ? void 0 : l.name
|
|
6895
|
-
} : ll), K.value = !0,
|
|
6874
|
+
} : ll), K.value = !0, Ql.success("修改成功"));
|
|
6896
6875
|
} catch (Le) {
|
|
6897
6876
|
throw new Error(Le);
|
|
6898
6877
|
} finally {
|
|
@@ -6931,7 +6910,7 @@ const Gn = (e, h = 0) => {
|
|
|
6931
6910
|
var t, p, I, Z, me, Fe, yl, _e, fe, k;
|
|
6932
6911
|
K.value = !1, B.value = !0;
|
|
6933
6912
|
try {
|
|
6934
|
-
if (!u.groupId || !u.groupType) return
|
|
6913
|
+
if (!u.groupId || !u.groupType) return Ql.error("特性信息获取出错了");
|
|
6935
6914
|
const Ie = pa(a.value, "id", u.groupId), Re = Ll(Ie), be = {
|
|
6936
6915
|
groups: u != null && u.related ? [(t = u == null ? void 0 : u.related) == null ? void 0 : t[1]] : [],
|
|
6937
6916
|
menus: u != null && u.related ? (I = (p = u == null ? void 0 : u.related) == null ? void 0 : p[0]) == null ? void 0 : I.split("/") : [],
|
|
@@ -6997,7 +6976,7 @@ const Gn = (e, h = 0) => {
|
|
|
6997
6976
|
tableColumns: g != null && g.hasMultiHeader ? [Ze] : Ze,
|
|
6998
6977
|
quoteFilter: ""
|
|
6999
6978
|
}, We = await no("save", tl);
|
|
7000
|
-
((_e = We == null ? void 0 : We.data) == null ? void 0 : _e.code) === 200 && (Ie.data = Re.data, K.value = !0,
|
|
6979
|
+
((_e = We == null ? void 0 : We.data) == null ? void 0 : _e.code) === 200 && (Ie.data = Re.data, K.value = !0, Ql.success("新增成功"));
|
|
7001
6980
|
} else {
|
|
7002
6981
|
if (!G.value) return;
|
|
7003
6982
|
const ce = pa(Re == null ? void 0 : Re.data, "id", u == null ? void 0 : u.id);
|
|
@@ -7012,7 +6991,7 @@ const Gn = (e, h = 0) => {
|
|
|
7012
6991
|
tableColumns: g != null && g.hasMultiHeader ? [ee] : ee,
|
|
7013
6992
|
quoteFilter: ""
|
|
7014
6993
|
}, tl = await no("save", Ze);
|
|
7015
|
-
((k = tl == null ? void 0 : tl.data) == null ? void 0 : k.code) === 200 && (Ie.data = Re == null ? void 0 : Re.data, K.value = !0,
|
|
6994
|
+
((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("编辑成功"));
|
|
7016
6995
|
}
|
|
7017
6996
|
} catch (Ie) {
|
|
7018
6997
|
throw new Error(Ie);
|
|
@@ -7123,7 +7102,7 @@ const Gn = (e, h = 0) => {
|
|
|
7123
7102
|
tableColumns: Ie == null ? void 0 : Ie.data,
|
|
7124
7103
|
quoteFilter: ""
|
|
7125
7104
|
}, ce = await no("save", be);
|
|
7126
|
-
((tl = ce == null ? void 0 : ce.data) == null ? void 0 : tl.code) === 200 && (k.data = Ie.data, K.value = !0,
|
|
7105
|
+
((tl = ce == null ? void 0 : ce.data) == null ? void 0 : tl.code) === 200 && (k.data = Ie.data, K.value = !0, Ql.success("删除成功"));
|
|
7127
7106
|
});
|
|
7128
7107
|
break;
|
|
7129
7108
|
}
|
|
@@ -7155,9 +7134,9 @@ const Gn = (e, h = 0) => {
|
|
|
7155
7134
|
]
|
|
7156
7135
|
}, qe = T(!1), pl = () => {
|
|
7157
7136
|
var t;
|
|
7158
|
-
(t = Ge.value) == null || t.validate((p) => {
|
|
7137
|
+
(t = Ge.value) == null || t.validate(((p) => {
|
|
7159
7138
|
qe.value = p;
|
|
7160
|
-
});
|
|
7139
|
+
}));
|
|
7161
7140
|
}, cl = () => {
|
|
7162
7141
|
A.show = !1, ke();
|
|
7163
7142
|
}, a = T([]), y = Vl(() => {
|
|
@@ -7208,7 +7187,7 @@ const Gn = (e, h = 0) => {
|
|
|
7208
7187
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
7209
7188
|
objectId: p == null ? void 0 : p.id
|
|
7210
7189
|
});
|
|
7211
|
-
((Z = I == null ? void 0 : I.data) == null ? void 0 : Z.code) === 200 && (a.value = (me = a.value) == null ? void 0 : me.filter((Fe) => (Fe == null ? void 0 : Fe.id) !== (p == null ? void 0 : p.id)),
|
|
7190
|
+
((Z = I == null ? void 0 : I.data) == null ? void 0 : Z.code) === 200 && (a.value = (me = a.value) == null ? void 0 : me.filter((Fe) => (Fe == null ? void 0 : Fe.id) !== (p == null ? void 0 : p.id)), Ql.success("删除成功"), K.value = !0);
|
|
7212
7191
|
});
|
|
7213
7192
|
} catch (p) {
|
|
7214
7193
|
throw new Error(p);
|
|
@@ -7424,21 +7403,19 @@ const Gn = (e, h = 0) => {
|
|
|
7424
7403
|
footer: r(() => [
|
|
7425
7404
|
O("div", Od, [
|
|
7426
7405
|
n(ul, { onClick: Q }, {
|
|
7427
|
-
default: r(() => p[13] || (p[13] = [
|
|
7428
|
-
gl("取消")
|
|
7429
|
-
])),
|
|
7430
|
-
_: 1
|
|
7431
|
-
__: [13]
|
|
7406
|
+
default: r(() => [...p[13] || (p[13] = [
|
|
7407
|
+
gl("取消", -1)
|
|
7408
|
+
])]),
|
|
7409
|
+
_: 1
|
|
7432
7410
|
}),
|
|
7433
7411
|
n(ul, {
|
|
7434
7412
|
type: "primary",
|
|
7435
7413
|
onClick: re
|
|
7436
7414
|
}, {
|
|
7437
|
-
default: r(() => p[14] || (p[14] = [
|
|
7438
|
-
gl("确认")
|
|
7439
|
-
])),
|
|
7440
|
-
_: 1
|
|
7441
|
-
__: [14]
|
|
7415
|
+
default: r(() => [...p[14] || (p[14] = [
|
|
7416
|
+
gl("确认", -1)
|
|
7417
|
+
])]),
|
|
7418
|
+
_: 1
|
|
7442
7419
|
})
|
|
7443
7420
|
])
|
|
7444
7421
|
]),
|
|
@@ -7507,18 +7484,16 @@ const Gn = (e, h = 0) => {
|
|
|
7507
7484
|
}, {
|
|
7508
7485
|
default: r(() => [
|
|
7509
7486
|
n(ee, { value: !0 }, {
|
|
7510
|
-
default: r(() => p[11] || (p[11] = [
|
|
7511
|
-
gl("是")
|
|
7512
|
-
])),
|
|
7513
|
-
_: 1
|
|
7514
|
-
__: [11]
|
|
7487
|
+
default: r(() => [...p[11] || (p[11] = [
|
|
7488
|
+
gl("是", -1)
|
|
7489
|
+
])]),
|
|
7490
|
+
_: 1
|
|
7515
7491
|
}),
|
|
7516
7492
|
n(ee, { value: !1 }, {
|
|
7517
|
-
default: r(() => p[12] || (p[12] = [
|
|
7518
|
-
gl("否")
|
|
7519
|
-
])),
|
|
7520
|
-
_: 1
|
|
7521
|
-
__: [12]
|
|
7493
|
+
default: r(() => [...p[12] || (p[12] = [
|
|
7494
|
+
gl("否", -1)
|
|
7495
|
+
])]),
|
|
7496
|
+
_: 1
|
|
7522
7497
|
})
|
|
7523
7498
|
]),
|
|
7524
7499
|
_: 1
|
|
@@ -8205,7 +8180,7 @@ function $n(e = "menu") {
|
|
|
8205
8180
|
const p = await Al(N.value), I = (p == null ? void 0 : p.length) === 0 ? (S = N.value) == null ? void 0 : S.childMenus : p;
|
|
8206
8181
|
v.setAsideMenus(I);
|
|
8207
8182
|
} catch (z) {
|
|
8208
|
-
throw
|
|
8183
|
+
throw Ql.error(z), new Error(z);
|
|
8209
8184
|
}
|
|
8210
8185
|
},
|
|
8211
8186
|
{ immediate: !0 }
|
|
@@ -8326,9 +8301,9 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8326
8301
|
N.value = !0;
|
|
8327
8302
|
let je = [];
|
|
8328
8303
|
const ml = await ((Le = Ll(J == null ? void 0 : J.value)) == null ? void 0 : Le.map(async (Y) => {
|
|
8329
|
-
var He,
|
|
8304
|
+
var He, jl, hl, Ne, ea, _l, la, Kl, Ul, Sl;
|
|
8330
8305
|
let Qe, ll, $e;
|
|
8331
|
-
Y != null && Y.blob.includes("undefined") ? $e = (
|
|
8306
|
+
Y != null && Y.blob.includes("undefined") ? $e = (jl = (He = Y == null ? void 0 : Y.blob) == null ? void 0 : He.split("undefined,")) == null ? void 0 : jl[1] : $e = Y == null ? void 0 : Y.blob;
|
|
8332
8307
|
let Rl = $e == null ? void 0 : $e.split(",");
|
|
8333
8308
|
if ((Rl == null ? void 0 : Rl.length) > 1) {
|
|
8334
8309
|
let wl = await (Rl == null ? void 0 : Rl.map(async (Je) => {
|
|
@@ -8530,9 +8505,9 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8530
8505
|
// 每个 header 加入 value
|
|
8531
8506
|
})));
|
|
8532
8507
|
};
|
|
8533
|
-
const
|
|
8534
|
-
Pa(dp,
|
|
8535
|
-
Pa(pp,
|
|
8508
|
+
const jl = sessionStorage.getItem("systemKey"), [hl, Ne] = await Promise.all([
|
|
8509
|
+
Pa(dp, jl, ""),
|
|
8510
|
+
Pa(pp, jl, "")
|
|
8536
8511
|
]), ea = (Le = (Pe = (ue = hl == null ? void 0 : hl[0]) == null ? void 0 : ue.compData) == null ? void 0 : Pe.find((wl) => (wl == null ? void 0 : wl.key) === "tableContents")) == null ? void 0 : Le.contents, _l = (ml = (je = (oe = Ne == null ? void 0 : Ne[0]) == null ? void 0 : oe.compData) == null ? void 0 : je.find((wl) => (wl == null ? void 0 : wl.key) === "tableContents")) == null ? void 0 : ml.contents, la = (ll = (Qe = (Y = Ne == null ? void 0 : Ne[0]) == null ? void 0 : Y.compData) == null ? void 0 : Qe.find((wl) => (wl == null ? void 0 : wl.key) === "header")) == null ? void 0 : ll.contents;
|
|
8537
8512
|
console.log("555readData", la);
|
|
8538
8513
|
let Kl = [];
|
|
@@ -8596,11 +8571,10 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8596
8571
|
id: "transparentBgButton",
|
|
8597
8572
|
onClick: s(On)
|
|
8598
8573
|
}, {
|
|
8599
|
-
default: r(() => ue[5] || (ue[5] = [
|
|
8600
|
-
gl(" 返回页面 ")
|
|
8601
|
-
])),
|
|
8602
|
-
_: 1
|
|
8603
|
-
__: [5]
|
|
8574
|
+
default: r(() => [...ue[5] || (ue[5] = [
|
|
8575
|
+
gl(" 返回页面 ", -1)
|
|
8576
|
+
])]),
|
|
8577
|
+
_: 1
|
|
8604
8578
|
}, 8, ["onClick"]),
|
|
8605
8579
|
n(Le, {
|
|
8606
8580
|
id: "transparentBgButton",
|
|
@@ -8613,10 +8587,9 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8613
8587
|
n(Fl, { name: "Store" })
|
|
8614
8588
|
]),
|
|
8615
8589
|
default: r(() => [
|
|
8616
|
-
ue[6] || (ue[6] = gl(" 保存页面 "))
|
|
8590
|
+
ue[6] || (ue[6] = gl(" 保存页面 ", -1))
|
|
8617
8591
|
]),
|
|
8618
|
-
_: 1
|
|
8619
|
-
__: [6]
|
|
8592
|
+
_: 1
|
|
8620
8593
|
})
|
|
8621
8594
|
]),
|
|
8622
8595
|
O("div", Gd, [
|
|
@@ -8774,7 +8747,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8774
8747
|
default: r(() => [
|
|
8775
8748
|
n(Y, { class: "client-main" }, {
|
|
8776
8749
|
default: r(() => {
|
|
8777
|
-
var ll, $e, Rl, He,
|
|
8750
|
+
var ll, $e, Rl, He, jl, hl;
|
|
8778
8751
|
return [
|
|
8779
8752
|
wa((f(), X("div", {
|
|
8780
8753
|
class: "client-main-operate",
|
|
@@ -8791,7 +8764,7 @@ const Jd = /* @__PURE__ */ va(Wd, [["render", Yd], ["__scopeId", "data-v-94d06d5
|
|
|
8791
8764
|
])) : De("", !0),
|
|
8792
8765
|
O("div", sp, [
|
|
8793
8766
|
el.value ? (f(), ge(ml, { key: 0 })) : De("", !0),
|
|
8794
|
-
el.value ? De("", !0) : (f(!0), X(rl, { key: 1 }, bl((
|
|
8767
|
+
el.value ? De("", !0) : (f(!0), X(rl, { key: 1 }, bl((jl = s(Ra)) == null ? void 0 : jl.filter((Ne) => Ne.comp !== "FormTop"), (Ne, ea) => {
|
|
8795
8768
|
var _l;
|
|
8796
8769
|
return f(), X("div", {
|
|
8797
8770
|
class: "item-view-content",
|
|
@@ -9320,7 +9293,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9320
9293
|
} else {
|
|
9321
9294
|
let fe = [];
|
|
9322
9295
|
Array.isArray(_e) || (_e = [_e]), (Cl = Ll(_e)) == null || Cl.forEach((k) => {
|
|
9323
|
-
var Ie, Re, be, ce, ee, Ze, tl, We, ul, al, Ee, R, ve, Ae, Te, Ye, ae, ue, Pe, Le, oe, je, ml, Y, Qe, ll, $e, Rl, He,
|
|
9296
|
+
var Ie, Re, be, ce, ee, 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;
|
|
9324
9297
|
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) {
|
|
9325
9298
|
k.name = [...i == null ? void 0 : i.name, ...(k == null ? void 0 : k.name) ?? []];
|
|
9326
9299
|
let Kl = (ee = (ce = (be = i == null ? void 0 : i.filter) == null ? void 0 : be.replace("(", Il)) == null ? void 0 : ce.split(Il)) == null ? void 0 : ee[0], Ul = (We = (tl = (Ze = k.filter) == null ? void 0 : Ze.replace("(", Il)) == null ? void 0 : tl.split(Il)) == null ? void 0 : We[1];
|
|
@@ -9342,7 +9315,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9342
9315
|
} else {
|
|
9343
9316
|
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];
|
|
9344
9317
|
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]);
|
|
9345
|
-
let Sl = (
|
|
9318
|
+
let Sl = (jl = (He = (Rl = k.filter) == null ? void 0 : Rl.replace("(", Il)) == null ? void 0 : He.split(Il)) == null ? void 0 : jl[1];
|
|
9346
9319
|
Sl = Sl == null ? void 0 : Sl.slice(0, (Sl == null ? void 0 : Sl.length) - 1), Sl = et(Sl, ","), k.calculatorFilters = i.calculatorFilters, k.fatherSyncContents = (i == null ? void 0 : i.fatherSyncContents) ?? [], k.sonSyncContents = i.sonSyncContents ?? [], k.fatherSyncContents = (hl = k == null ? void 0 : k.fatherSyncContents) == null ? void 0 : hl.map((Je) => {
|
|
9347
9320
|
var Ke, kl;
|
|
9348
9321
|
return Je != null && Je.groups || (Je.groups = (kl = i.name) == null ? void 0 : kl[((Ke = i.name) == null ? void 0 : Ke.length) - 1]), Je;
|
|
@@ -9603,7 +9576,7 @@ const er = (e) => Array.isArray(e) ? e.filter((h) => h != null && h !== "") : e
|
|
|
9603
9576
|
const Al = await K(), El = (Me = (Be = (se = Al == null ? void 0 : Al.data) == null ? void 0 : se.result) == null ? void 0 : Be[0]) == null ? void 0 : Me.object_id;
|
|
9604
9577
|
c.setHomepageBackgroundTableId(El);
|
|
9605
9578
|
} catch (Ue) {
|
|
9606
|
-
console.error(Ue),
|
|
9579
|
+
console.error(Ue), Ql.error("模型内容错误");
|
|
9607
9580
|
}
|
|
9608
9581
|
_.setImportLoading(!1);
|
|
9609
9582
|
},
|
|
@@ -9894,7 +9867,7 @@ const Vp = (e) => {
|
|
|
9894
9867
|
const Ue = await L(Me);
|
|
9895
9868
|
await re(Ue);
|
|
9896
9869
|
} catch {
|
|
9897
|
-
|
|
9870
|
+
Ql.error("执行失败");
|
|
9898
9871
|
} finally {
|
|
9899
9872
|
Be.close();
|
|
9900
9873
|
}
|
|
@@ -9907,11 +9880,11 @@ const Vp = (e) => {
|
|
|
9907
9880
|
class: "library-left-card",
|
|
9908
9881
|
"body-class": "library-left-card-body"
|
|
9909
9882
|
}, {
|
|
9910
|
-
header: r(() => Me[7] || (Me[7] = [
|
|
9883
|
+
header: r(() => [...Me[7] || (Me[7] = [
|
|
9911
9884
|
O("div", { class: "method-list-header" }, [
|
|
9912
9885
|
O("div", { class: "title" }, "方法列表")
|
|
9913
9886
|
], -1)
|
|
9914
|
-
])),
|
|
9887
|
+
])]),
|
|
9915
9888
|
default: r(() => [
|
|
9916
9889
|
O("div", Qp, [
|
|
9917
9890
|
(f(!0), X(rl, null, bl(V.value, (A) => {
|
|
@@ -9945,11 +9918,10 @@ const Vp = (e) => {
|
|
|
9945
9918
|
type: "primary",
|
|
9946
9919
|
onClick: Me[0] || (Me[0] = (A) => l())
|
|
9947
9920
|
}, {
|
|
9948
|
-
default: r(() => Me[8] || (Me[8] = [
|
|
9949
|
-
gl("创建方法")
|
|
9950
|
-
])),
|
|
9951
|
-
_: 1
|
|
9952
|
-
__: [8]
|
|
9921
|
+
default: r(() => [...Me[8] || (Me[8] = [
|
|
9922
|
+
gl("创建方法", -1)
|
|
9923
|
+
])]),
|
|
9924
|
+
_: 1
|
|
9953
9925
|
})
|
|
9954
9926
|
])
|
|
9955
9927
|
]),
|
|
@@ -10111,22 +10083,20 @@ const Vp = (e) => {
|
|
|
10111
10083
|
type: "primary",
|
|
10112
10084
|
onClick: C
|
|
10113
10085
|
}, {
|
|
10114
|
-
default: r(() => Me[10] || (Me[10] = [
|
|
10115
|
-
gl("保存")
|
|
10116
|
-
])),
|
|
10117
|
-
_: 1
|
|
10118
|
-
__: [10]
|
|
10086
|
+
default: r(() => [...Me[10] || (Me[10] = [
|
|
10087
|
+
gl("保存", -1)
|
|
10088
|
+
])]),
|
|
10089
|
+
_: 1
|
|
10119
10090
|
}),
|
|
10120
10091
|
i.value.id ? (f(), ge(Cl, {
|
|
10121
10092
|
key: 0,
|
|
10122
10093
|
type: "primary",
|
|
10123
10094
|
onClick: Me[6] || (Me[6] = (A) => se())
|
|
10124
10095
|
}, {
|
|
10125
|
-
default: r(() => Me[11] || (Me[11] = [
|
|
10126
|
-
gl("执行")
|
|
10127
|
-
])),
|
|
10128
|
-
_: 1
|
|
10129
|
-
__: [11]
|
|
10096
|
+
default: r(() => [...Me[11] || (Me[11] = [
|
|
10097
|
+
gl("执行", -1)
|
|
10098
|
+
])]),
|
|
10099
|
+
_: 1
|
|
10130
10100
|
})) : De("", !0)
|
|
10131
10101
|
])
|
|
10132
10102
|
])
|
|
@@ -10159,7 +10129,7 @@ const Vp = (e) => {
|
|
|
10159
10129
|
"destroy-on-close": "",
|
|
10160
10130
|
"show-close": !1
|
|
10161
10131
|
}, {
|
|
10162
|
-
header: r(() => L[1] || (L[1] = [])),
|
|
10132
|
+
header: r(() => [...L[1] || (L[1] = [])]),
|
|
10163
10133
|
default: r(() => [
|
|
10164
10134
|
O("div", $p, [
|
|
10165
10135
|
O("div", ef, [
|
|
@@ -10173,7 +10143,7 @@ const Vp = (e) => {
|
|
|
10173
10143
|
n(Zp)
|
|
10174
10144
|
])
|
|
10175
10145
|
]),
|
|
10176
|
-
footer: r(() => L[2] || (L[2] = [])),
|
|
10146
|
+
footer: r(() => [...L[2] || (L[2] = [])]),
|
|
10177
10147
|
_: 1
|
|
10178
10148
|
}, 8, ["modelValue"]);
|
|
10179
10149
|
};
|
|
@@ -10269,9 +10239,9 @@ const Vp = (e) => {
|
|
|
10269
10239
|
"destroy-on-close": "",
|
|
10270
10240
|
modalClass: "allocation-modal"
|
|
10271
10241
|
}, {
|
|
10272
|
-
header: r(() => B[1] || (B[1] = [
|
|
10242
|
+
header: r(() => [...B[1] || (B[1] = [
|
|
10273
10243
|
O("div", null, "方法分配", -1)
|
|
10274
|
-
])),
|
|
10244
|
+
])]),
|
|
10275
10245
|
default: r(() => [
|
|
10276
10246
|
O("div", nf, [
|
|
10277
10247
|
n(sf, {
|
|
@@ -10422,7 +10392,7 @@ const Vp = (e) => {
|
|
|
10422
10392
|
value: ""
|
|
10423
10393
|
});
|
|
10424
10394
|
if (!ee || (ee == null ? void 0 : ee.length) <= 1) {
|
|
10425
|
-
|
|
10395
|
+
Ql.warning("不能删除唯一模型");
|
|
10426
10396
|
return;
|
|
10427
10397
|
}
|
|
10428
10398
|
const Ze = Ha.service({
|
|
@@ -10750,11 +10720,10 @@ const Vp = (e) => {
|
|
|
10750
10720
|
type: "primary",
|
|
10751
10721
|
onClick: fe
|
|
10752
10722
|
}, {
|
|
10753
|
-
default: r(() => ee[8] || (ee[8] = [
|
|
10754
|
-
gl("查看所有")
|
|
10755
|
-
])),
|
|
10756
|
-
_: 1
|
|
10757
|
-
__: [8]
|
|
10723
|
+
default: r(() => [...ee[8] || (ee[8] = [
|
|
10724
|
+
gl("查看所有", -1)
|
|
10725
|
+
])]),
|
|
10726
|
+
_: 1
|
|
10758
10727
|
})
|
|
10759
10728
|
]),
|
|
10760
10729
|
default: r(() => [
|
|
@@ -10794,21 +10763,19 @@ const Vp = (e) => {
|
|
|
10794
10763
|
type: "primary",
|
|
10795
10764
|
onClick: be
|
|
10796
10765
|
}, {
|
|
10797
|
-
default: r(() => ee[10] || (ee[10] = [
|
|
10798
|
-
gl("方法库")
|
|
10799
|
-
])),
|
|
10800
|
-
_: 1
|
|
10801
|
-
__: [10]
|
|
10766
|
+
default: r(() => [...ee[10] || (ee[10] = [
|
|
10767
|
+
gl("方法库", -1)
|
|
10768
|
+
])]),
|
|
10769
|
+
_: 1
|
|
10802
10770
|
}),
|
|
10803
10771
|
n(tl, {
|
|
10804
10772
|
type: "primary",
|
|
10805
10773
|
onClick: ee[1] || (ee[1] = (Y) => Cl())
|
|
10806
10774
|
}, {
|
|
10807
|
-
default: r(() => ee[11] || (ee[11] = [
|
|
10808
|
-
gl("创建系统")
|
|
10809
|
-
])),
|
|
10810
|
-
_: 1
|
|
10811
|
-
__: [11]
|
|
10775
|
+
default: r(() => [...ee[11] || (ee[11] = [
|
|
10776
|
+
gl("创建系统", -1)
|
|
10777
|
+
])]),
|
|
10778
|
+
_: 1
|
|
10812
10779
|
})
|
|
10813
10780
|
])
|
|
10814
10781
|
])
|
|
@@ -10858,8 +10825,8 @@ const Vp = (e) => {
|
|
|
10858
10825
|
_: 1
|
|
10859
10826
|
})
|
|
10860
10827
|
]),
|
|
10861
|
-
_:
|
|
10862
|
-
},
|
|
10828
|
+
_: 1
|
|
10829
|
+
}, 8, ["src"])) : De("", !0),
|
|
10863
10830
|
(Y == null ? void 0 : Y.render) === "tag" && (Qe != null && Qe[Y == null ? void 0 : Y.prop]) ? (f(), ge(Ae, {
|
|
10864
10831
|
key: 1,
|
|
10865
10832
|
style: { color: "#fff" },
|
|
@@ -11286,7 +11253,7 @@ const Vp = (e) => {
|
|
|
11286
11253
|
], -1)),
|
|
11287
11254
|
O("div", Qf, [
|
|
11288
11255
|
O("div", Kf, [
|
|
11289
|
-
(f(!0), X(rl, null, bl(
|
|
11256
|
+
(f(!0), X(rl, null, bl(e.historyData, (J) => (f(), X("div", {
|
|
11290
11257
|
class: "history-item",
|
|
11291
11258
|
key: J.path,
|
|
11292
11259
|
onDblclick: (K) => l(J)
|
|
@@ -11508,7 +11475,7 @@ const Vp = (e) => {
|
|
|
11508
11475
|
var d;
|
|
11509
11476
|
const H = (d = C == null ? void 0 : C.value) == null ? void 0 : d.plat_id;
|
|
11510
11477
|
if (!H) {
|
|
11511
|
-
|
|
11478
|
+
Ql.error("无法获取系统ID");
|
|
11512
11479
|
return;
|
|
11513
11480
|
}
|
|
11514
11481
|
Be.value = !1, ie.setImportLoading(!0);
|
|
@@ -11520,9 +11487,9 @@ const Vp = (e) => {
|
|
|
11520
11487
|
const I = t.match(/filename="?([^"]+)"?/);
|
|
11521
11488
|
I && I.length === 2 && (te = I[1].replace(".txt", ".ild"));
|
|
11522
11489
|
}
|
|
11523
|
-
await el(z, te, ".ild") &&
|
|
11490
|
+
await el(z, te, ".ild") && Ql.success("导出成功");
|
|
11524
11491
|
} catch {
|
|
11525
|
-
|
|
11492
|
+
Ql.error("导出失败");
|
|
11526
11493
|
} finally {
|
|
11527
11494
|
ie.setImportLoading(!1);
|
|
11528
11495
|
}
|
|
@@ -11530,7 +11497,7 @@ const Vp = (e) => {
|
|
|
11530
11497
|
var d;
|
|
11531
11498
|
const H = (d = C == null ? void 0 : C.value) == null ? void 0 : d.plat_id;
|
|
11532
11499
|
if (!H) {
|
|
11533
|
-
|
|
11500
|
+
Ql.error("无法获取系统ID");
|
|
11534
11501
|
return;
|
|
11535
11502
|
}
|
|
11536
11503
|
Be.value = !1, ie.setImportLoading(!0);
|
|
@@ -11542,9 +11509,9 @@ const Vp = (e) => {
|
|
|
11542
11509
|
const I = t.match(/filename="?([^"]+)"?/);
|
|
11543
11510
|
I && I.length === 2 && (te = I[1].replace(".txt", ".ild"));
|
|
11544
11511
|
}
|
|
11545
|
-
await el(z, te, ".ild") &&
|
|
11512
|
+
await el(z, te, ".ild") && Ql.success("导出成功");
|
|
11546
11513
|
} catch {
|
|
11547
|
-
|
|
11514
|
+
Ql.error("导出失败");
|
|
11548
11515
|
} finally {
|
|
11549
11516
|
ie.setImportLoading(!1);
|
|
11550
11517
|
}
|
|
@@ -11605,9 +11572,9 @@ const Vp = (e) => {
|
|
|
11605
11572
|
background: "rgba(0, 0, 0, 0.7)"
|
|
11606
11573
|
});
|
|
11607
11574
|
try {
|
|
11608
|
-
await a(), G(), (d = y.value) == null || d.closeDialog(),
|
|
11575
|
+
await a(), G(), (d = y.value) == null || d.closeDialog(), Ql.success("打开成功");
|
|
11609
11576
|
} catch {
|
|
11610
|
-
|
|
11577
|
+
Ql.error("打开失败");
|
|
11611
11578
|
} finally {
|
|
11612
11579
|
H.close();
|
|
11613
11580
|
}
|
|
@@ -11660,10 +11627,9 @@ const Vp = (e) => {
|
|
|
11660
11627
|
n(S, { name: "model" })
|
|
11661
11628
|
]),
|
|
11662
11629
|
default: r(() => [
|
|
11663
|
-
d[2] || (d[2] = gl(" 模型 "))
|
|
11630
|
+
d[2] || (d[2] = gl(" 模型 ", -1))
|
|
11664
11631
|
]),
|
|
11665
|
-
_: 1
|
|
11666
|
-
__: [2]
|
|
11632
|
+
_: 1
|
|
11667
11633
|
})) : De("", !0)
|
|
11668
11634
|
];
|
|
11669
11635
|
}),
|
|
@@ -11677,10 +11643,9 @@ const Vp = (e) => {
|
|
|
11677
11643
|
n(S, { name: "模板管理" })
|
|
11678
11644
|
]),
|
|
11679
11645
|
default: r(() => [
|
|
11680
|
-
d[3] || (d[3] = gl(" 模型列表 "))
|
|
11646
|
+
d[3] || (d[3] = gl(" 模型列表 ", -1))
|
|
11681
11647
|
]),
|
|
11682
|
-
_: 1
|
|
11683
|
-
__: [3]
|
|
11648
|
+
_: 1
|
|
11684
11649
|
}),
|
|
11685
11650
|
n(z, {
|
|
11686
11651
|
onClick: A,
|
|
@@ -11700,10 +11665,9 @@ const Vp = (e) => {
|
|
|
11700
11665
|
style: { display: "none" },
|
|
11701
11666
|
multiple: ""
|
|
11702
11667
|
}, null, 32)),
|
|
11703
|
-
d[4] || (d[4] = gl(" 导入模型 "))
|
|
11668
|
+
d[4] || (d[4] = gl(" 导入模型 ", -1))
|
|
11704
11669
|
]),
|
|
11705
|
-
_: 1
|
|
11706
|
-
__: [4]
|
|
11670
|
+
_: 1
|
|
11707
11671
|
}),
|
|
11708
11672
|
n(z, {
|
|
11709
11673
|
onClick: Ve,
|
|
@@ -11713,10 +11677,9 @@ const Vp = (e) => {
|
|
|
11713
11677
|
n(S, { name: "export" })
|
|
11714
11678
|
]),
|
|
11715
11679
|
default: r(() => [
|
|
11716
|
-
d[5] || (d[5] = gl(" 导出模型 "))
|
|
11680
|
+
d[5] || (d[5] = gl(" 导出模型 ", -1))
|
|
11717
11681
|
]),
|
|
11718
|
-
_: 1
|
|
11719
|
-
__: [5]
|
|
11682
|
+
_: 1
|
|
11720
11683
|
}),
|
|
11721
11684
|
n(z, {
|
|
11722
11685
|
onClick: a,
|
|
@@ -11726,10 +11689,9 @@ const Vp = (e) => {
|
|
|
11726
11689
|
n(S, { name: "clear" })
|
|
11727
11690
|
]),
|
|
11728
11691
|
default: r(() => [
|
|
11729
|
-
d[6] || (d[6] = gl(" 清空模型 "))
|
|
11692
|
+
d[6] || (d[6] = gl(" 清空模型 ", -1))
|
|
11730
11693
|
]),
|
|
11731
|
-
_: 1
|
|
11732
|
-
__: [6]
|
|
11694
|
+
_: 1
|
|
11733
11695
|
})
|
|
11734
11696
|
])
|
|
11735
11697
|
]),
|
|
@@ -11744,10 +11706,9 @@ const Vp = (e) => {
|
|
|
11744
11706
|
n(S, { name: "工作台" })
|
|
11745
11707
|
]),
|
|
11746
11708
|
default: r(() => [
|
|
11747
|
-
d[7] || (d[7] = gl(" 工作区 "))
|
|
11709
|
+
d[7] || (d[7] = gl(" 工作区 ", -1))
|
|
11748
11710
|
]),
|
|
11749
|
-
_: 1
|
|
11750
|
-
__: [7]
|
|
11711
|
+
_: 1
|
|
11751
11712
|
})) : De("", !0)
|
|
11752
11713
|
]),
|
|
11753
11714
|
_: 1
|
|
@@ -11779,28 +11740,25 @@ const Vp = (e) => {
|
|
|
11779
11740
|
type: "primary",
|
|
11780
11741
|
onClick: qe
|
|
11781
11742
|
}, {
|
|
11782
|
-
default: r(() => d[8] || (d[8] = [
|
|
11783
|
-
gl("导出模型")
|
|
11784
|
-
])),
|
|
11785
|
-
_: 1
|
|
11786
|
-
__: [8]
|
|
11743
|
+
default: r(() => [...d[8] || (d[8] = [
|
|
11744
|
+
gl("导出模型", -1)
|
|
11745
|
+
])]),
|
|
11746
|
+
_: 1
|
|
11787
11747
|
}),
|
|
11788
11748
|
n(z, { disabled: "" }, {
|
|
11789
|
-
default: r(() => d[9] || (d[9] = [
|
|
11790
|
-
gl("导出数据")
|
|
11791
|
-
])),
|
|
11792
|
-
_: 1
|
|
11793
|
-
__: [9]
|
|
11749
|
+
default: r(() => [...d[9] || (d[9] = [
|
|
11750
|
+
gl("导出数据", -1)
|
|
11751
|
+
])]),
|
|
11752
|
+
_: 1
|
|
11794
11753
|
}),
|
|
11795
11754
|
n(z, {
|
|
11796
11755
|
type: "primary",
|
|
11797
11756
|
onClick: pl
|
|
11798
11757
|
}, {
|
|
11799
|
-
default: r(() => d[10] || (d[10] = [
|
|
11800
|
-
gl("导出模型数据")
|
|
11801
|
-
])),
|
|
11802
|
-
_: 1
|
|
11803
|
-
__: [10]
|
|
11758
|
+
default: r(() => [...d[10] || (d[10] = [
|
|
11759
|
+
gl("导出模型数据", -1)
|
|
11760
|
+
])]),
|
|
11761
|
+
_: 1
|
|
11804
11762
|
})
|
|
11805
11763
|
])
|
|
11806
11764
|
]),
|
|
@@ -11809,7 +11767,7 @@ const Vp = (e) => {
|
|
|
11809
11767
|
]);
|
|
11810
11768
|
};
|
|
11811
11769
|
}
|
|
11812
|
-
}),
|
|
11770
|
+
}), Bh = /* @__PURE__ */ va(lh, [["__scopeId", "data-v-a8c2fe98"]]);
|
|
11813
11771
|
export {
|
|
11814
|
-
|
|
11772
|
+
Bh as default
|
|
11815
11773
|
};
|