ss-component-new 1.2.26 → 1.2.28
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-j7rSXeZy.js → MTLLoader-BreJsr54.js} +1 -1
- package/dist/{MTLLoader-CSavblQS.cjs → MTLLoader-Cqv49Ps8.cjs} +1 -1
- package/dist/{OrbitControls-BYxGl2XB.js → OrbitControls-BCu-cP7k.js} +1 -1
- package/dist/{OrbitControls-dRON011u.cjs → OrbitControls-C956u7BP.cjs} +1 -1
- package/dist/{animationData-rmZ0EGb8.cjs → animationData-C3-BiUgV.cjs} +1 -1
- package/dist/{animationData-Br4BCkiq.js → animationData-CMjNjOqc.js} +4 -4
- package/dist/{array-CeASBMWY.cjs → array-0u9Sf3UC.cjs} +1 -1
- package/dist/{array-Cx8FbegO.js → array-BGIM4b6g.js} +2 -2
- package/dist/{dataUtil-RzgUhlgJ.cjs → dataUtil-BFjWNDM1.cjs} +1 -1
- package/dist/{dataUtil-CJxHUail.js → dataUtil-D9l7-XhR.js} +2 -2
- package/dist/{fileUtil-BM6WhafY.cjs → fileUtil-BFtJHTM0.cjs} +1 -1
- package/dist/{fileUtil-BVzW5lTY.js → fileUtil-D7XVXEhb.js} +1 -1
- package/dist/{iconfont-J7S-v_zE.js → iconfont-B9Cj3DQM.js} +2 -2
- package/dist/{iconfont-Dsx_JtWY.cjs → iconfont-BDfcbq2v.cjs} +1 -1
- package/dist/icons/svg//344/272/272/345/203/217.svg +1 -0
- package/dist/{index-ClzEamlP.js → index-3QB55tXZ.js} +7 -7
- package/dist/{index-BGm3sgAn.cjs → index-B33wtiif.cjs} +1 -1
- package/dist/{index-D7wMQSEM.js → index-B8bpiPXB.js} +1 -1
- package/dist/{index-BvgHldVC.cjs → index-B9TlIok8.cjs} +12 -12
- package/dist/{index-DbHiWNBM.cjs → index-BWxbWhC9.cjs} +1 -1
- package/dist/{index-BoTEVRWS.js → index-BZwQB2HO.js} +5 -5
- package/dist/{index-DRSU72SE.js → index-BaE0DPgC.js} +66 -59
- package/dist/{index-DN8avrWv.cjs → index-BccOOMaP.cjs} +1 -1
- package/dist/index-BgHY8wmn.cjs +1 -0
- package/dist/{index-DpxXt1oz.js → index-Boazv8yC.js} +2 -2
- package/dist/{index-D5YeHxKp.js → index-BqRVuEsE.js} +6 -6
- package/dist/{index-CyNvD7fs.js → index-BwLaQntz.js} +1 -1
- package/dist/{index-Dr7mB3zJ.js → index-C-8LROmP.js} +2 -2
- package/dist/{index-DcT0aYIX.js → index-C1lZkQG-.js} +423 -423
- package/dist/{index-DWBL8V_4.js → index-C5UpEVah.js} +2 -2
- package/dist/index-C5fTUrKx.js +573 -0
- package/dist/{index-BH-cEIyF.cjs → index-C9_Cxm8G.cjs} +1 -1
- package/dist/{index-D5fqqSXr.cjs → index-CBFF2bsB.cjs} +1 -1
- package/dist/{index-YhB_cMji.cjs → index-CC9RkSBT.cjs} +1 -1
- package/dist/{index-BJkToJcC.cjs → index-CK5VdzmO.cjs} +1 -1
- package/dist/{index-CeWLT1YO.js → index-CKY0sj_X.js} +3 -3
- package/dist/{index-Cm99VII_.js → index-CMwwUi6o.js} +6 -6
- package/dist/{index-DjMSxB8D.cjs → index-CP7b7BrB.cjs} +1 -1
- package/dist/{index-BU5WJczo.js → index-CZu3TggJ.js} +1 -1
- package/dist/{index-Bp0GMpLC.cjs → index-C_cWjavY.cjs} +1 -1
- package/dist/{index-DVv2nM9_.cjs → index-Cd9j5j41.cjs} +1 -1
- package/dist/{index-B7l9bX5c.cjs → index-Cwh5m4lg.cjs} +1 -1
- package/dist/index-D0XPyuy4.cjs +1 -0
- package/dist/{index-lw6M4N-Q.cjs → index-D3TgRd-7.cjs} +1 -1
- package/dist/{index-Ie0BUTFu.js → index-D5Dtcn-_.js} +6 -6
- package/dist/{index-Bp5zOMHT.cjs → index-DE-uHAMH.cjs} +1 -1
- package/dist/{index-T2VihBuZ.js → index-DHOcRi3S.js} +6 -6
- package/dist/{index-CMIII30g.cjs → index-DMyPjpxO.cjs} +1 -1
- package/dist/{index-BvB9p0W4.js → index-DR7aNxVH.js} +4 -4
- package/dist/{index-0dw7iEtO.cjs → index-DVqfroe6.cjs} +1 -1
- package/dist/{index-ggXXcZCO.js → index-DiTYB-a4.js} +63 -58
- package/dist/index-DnFxL5wb.cjs +1 -0
- package/dist/{index-CaGluCnk.js → index-DqR3IwgZ.js} +12 -12
- package/dist/{index-zAZNzNG-.js → index-DsCD1neC.js} +2 -2
- package/dist/{index-CNxiv6y5.js → index-Dx2X9pR1.js} +43 -43
- package/dist/{index-C2B83Ywj.cjs → index-GGokR_Lx.cjs} +1 -1
- package/dist/{index-7pDDKkwc.js → index-HduGypr9.js} +34 -34
- package/dist/index-LcnC2GQ4.cjs +1 -0
- package/dist/{index-DoWGbQss.js → index-OTxJnh9Z.js} +153 -153
- package/dist/{index-DodooTli.js → index-Rr9ZBYig.js} +2 -2
- package/dist/{index-BEfXSiWp.js → index-Sa2hQZ0h.js} +2 -2
- package/dist/{index-BkcjJQlg.cjs → index-TKouySTA.cjs} +1 -1
- package/dist/{index-veEr0Ju4.js → index-gPnrvvE9.js} +1324 -1321
- package/dist/{index-BPxe8bKe.js → index-gXbhagnF.js} +3 -3
- package/dist/{index-CAPstY_B.cjs → index-mpoVA-DC.cjs} +1 -1
- package/dist/{index-C9GfFRyr.cjs → index-uIVtG4RY.cjs} +1 -1
- package/dist/index-wQJN1jpI.js +2466 -0
- package/dist/index-zLkhy4JK.cjs +1 -0
- package/dist/{index-DFbvbOsE.js → index-zZ9bfGNx.js} +1 -1
- package/dist/{index-DMHh2MZZ.cjs → index-znR89ub7.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DGl2lQmW.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BWh0GUiI.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-TDoJ17os.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BjBzi9R7.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BQiH2RRX.js} +11 -11
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BwjCaKYV.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Dqpyi0E8.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-D21h7jT_.cjs +37 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-DZGhek9_.js → index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-PE_6dfIO.js} +12719 -12591
- package/dist/{index.vue_vue_type_style_index_1_lang-BHt4rvMd.js → index.vue_vue_type_style_index_1_lang-9ANlnWKt.js} +5 -5
- package/dist/index.vue_vue_type_style_index_1_lang-CrmWclPR.cjs +32 -0
- package/dist/{index.vue_vue_type_style_index_1_lang-C2PJ2fvM.cjs → index.vue_vue_type_style_index_1_lang-D4RvHwPS.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-WD8HOZyf.js → index.vue_vue_type_style_index_1_lang-DwvuVXW6.js} +2580 -2471
- package/dist/{isString-BbPmUYHG.js → isString-BuBBWjRr.js} +1 -1
- package/dist/{main-DWa3MZxf.js → main-DpLQlLK2.js} +5 -5
- package/dist/{main-DlDkQh0n.cjs → main-Mx9r7ydp.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +11 -11
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-CBsLcTcX.js → threeModel-CZ-qFwwk.js} +5 -5
- package/dist/{threeModel-Dt9Ounip.cjs → threeModel-DTwQnnAO.cjs} +1 -1
- package/dist/{threePreview-DSMFTIuC.cjs → threePreview-CUGoEzKf.cjs} +1 -1
- package/dist/{threePreview-D99A_IHZ.js → threePreview-DutKTPWH.js} +4 -4
- package/dist/{threeSceneView-BD22yXw4.js → threeSceneView-CzgWYHBw.js} +11 -11
- package/dist/{threeSceneView-Dv2uGsTN.cjs → threeSceneView-f1V-z4jr.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CpBphI9E.js → threeSceneViewForCPMPIP-2sXIw3I1.js} +61 -61
- package/dist/{threeSceneViewForCPMPIP-DfaTaroP.cjs → threeSceneViewForCPMPIP-CojHDVHC.cjs} +1 -1
- package/dist/{threeTrackPathView-BGePzJh4.cjs → threeTrackPathView-BGHiOyJo.cjs} +1 -1
- package/dist/{threeTrackPathView-bFuXaesk.js → threeTrackPathView-DA4_8jas.js} +6 -6
- package/dist/{threeViewerHost-gGHqJpTR.js → threeViewerHost-BNObp9oA.js} +17 -17
- package/dist/{threeViewerHost-bQqnJLh9.cjs → threeViewerHost-D3WDKrIQ.cjs} +1 -1
- package/dist/{urdfTree-nXEMcLFV.cjs → urdfTree-CWStzmk2.cjs} +1 -1
- package/dist/{urdfTree-B2Zs54qS.js → urdfTree-CnkPddyT.js} +1 -1
- package/dist/{workpieceTreePanel-CXD_XizT.js → workpieceTreePanel-BvhFt3Xw.js} +5 -5
- package/dist/{workpieceTreePanel-Brforhya.cjs → workpieceTreePanel-DXyb_Wnw.cjs} +1 -1
- package/package.json +1 -1
- package/public/icons/svg//344/272/272/345/203/217.svg +1 -0
- package/dist/index-B3l8CoGZ.js +0 -2384
- package/dist/index-BRAUJGR3.cjs +0 -1
- package/dist/index-BjRAas3a.cjs +0 -1
- package/dist/index-Cf9NTS7v.cjs +0 -1
- package/dist/index-D3x3jleA.js +0 -654
- package/dist/index-DWTsFx-2.cjs +0 -1
- package/dist/index-Dc8TgzRR.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_bcdf4fb0_lang-BKfBwnMQ.cjs +0 -37
- package/dist/index.vue_vue_type_style_index_1_lang-f2wxl9Ai.cjs +0 -32
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as Ci, a as Di, f as wi, g as
|
|
1
|
+
import { b as Ci, a as Di, f as wi, g as Si, u as Ii, s as xi } from "./index-OTxJnh9Z.js";
|
|
2
2
|
import { computed as Gl, ref as V, watch as Dl, onUnmounted as Ai, resolveComponent as tl, createElementBlock as Fe, openBlock as ce, createVNode as ee, createBlock as cl, createCommentVNode as jl, withCtx as be, createElementVNode as L, Fragment as gl, renderList as wl, toDisplayString as Je, nextTick as $s, createTextVNode as al, unref as $l, defineComponent as Ql, reactive as Ta, resolveDynamicComponent as Ca, renderSlot as os, createSlots as Ei, mergeProps as Ti, normalizeStyle as Ga, withModifiers as Ea, onMounted as vs, getCurrentInstance as $i } from "vue";
|
|
3
|
-
import { cc as Bi, k as Ha, cd as Li,
|
|
4
|
-
import { c as Ul, a as Bs, e as ii, E as ni, f as Pi, d as Ri, b as ji, i as as } from "./index-
|
|
5
|
-
import { a as Xa, u as Qa, i as hs,
|
|
6
|
-
import { s as Ml, _ as Ns } from "./index-
|
|
7
|
-
import {
|
|
8
|
-
import { aO as Zi, aP as ss } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
3
|
+
import { cc as Bi, k as Ha, cd as Li, bS as Oi, bT as Fi, s as Al, p as Cl, u as ys, c as s, E as bl, b as ws, g as Wl, d as cs, bK as Ja, bI as ds, e as Ba, bJ as Ss, f as si, cb as Ki, bL as Ui } from "./index-HduGypr9.js";
|
|
4
|
+
import { c as Ul, a as Bs, e as ii, E as ni, f as Pi, d as Ri, b as ji, i as as } from "./index-gPnrvvE9.js";
|
|
5
|
+
import { a as Xa, u as Qa, i as hs, aB as Mi, aC as Is, ao as xs, j as Sl, aD as Ls, E as ra, aE as As, aF as Nl, aG as $a, aH as ua, aI as Sa, aJ as _s, l as Ni, aK as Wi, aL as Vi, aM as Ms, aN as zi, aO as Gi, aP as Hi, aQ as Ji, aR as qi, aS as Xi } from "./index.vue_vue_type_style_index_1_lang-DwvuVXW6.js";
|
|
6
|
+
import { s as Ml, _ as Ns } from "./index-zZ9bfGNx.js";
|
|
7
|
+
import { b as Qi, T as Yi } from "./threeViewerHost-BNObp9oA.js";
|
|
8
|
+
import { aO as Zi, aP as ss } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CuWDdCiy.js";
|
|
9
9
|
import { _ as El } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { i as Ws } from "./isString-
|
|
11
|
-
import { a as en, s as ln } from "./index-
|
|
10
|
+
import { i as Ws } from "./isString-BuBBWjRr.js";
|
|
11
|
+
import { a as en, s as ln } from "./index-DiTYB-a4.js";
|
|
12
12
|
import oi from "./index-DiRBJiMW.js";
|
|
13
|
-
import { s as an } from "./index-
|
|
13
|
+
import { s as an } from "./index-B8bpiPXB.js";
|
|
14
14
|
var sn = /\s/;
|
|
15
15
|
function nn(e) {
|
|
16
16
|
for (var o = e.length; o-- && sn.test(e.charAt(o)); )
|
|
@@ -72,7 +72,7 @@ function ui(e, o, n) {
|
|
|
72
72
|
function _() {
|
|
73
73
|
c !== void 0 && clearTimeout(c), p = 0, l = D = a = c = void 0;
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function I() {
|
|
76
76
|
return c === void 0 ? g : he(Cs());
|
|
77
77
|
}
|
|
78
78
|
function f() {
|
|
@@ -85,7 +85,7 @@ function ui(e, o, n) {
|
|
|
85
85
|
}
|
|
86
86
|
return c === void 0 && (c = setTimeout(R, o)), g;
|
|
87
87
|
}
|
|
88
|
-
return f.cancel = _, f.flush =
|
|
88
|
+
return f.cancel = _, f.flush = I, f;
|
|
89
89
|
}
|
|
90
90
|
var yn = "[object Boolean]";
|
|
91
91
|
function ri(e) {
|
|
@@ -133,7 +133,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
133
133
|
});
|
|
134
134
|
const a = o, r = V([]), g = V(!1), c = V(!1), D = V([]);
|
|
135
135
|
Qi();
|
|
136
|
-
const p = V(), y = V(!1), A = V(!1), w = V([]), se = V(), U = V(!1), we = V([]), P = Ci(Cl), R = Di(Cl), he = V(!1), _ = V(),
|
|
136
|
+
const p = V(), y = V(!1), A = V(!1), w = V([]), se = V(), U = V(!1), we = V([]), P = Ci(Cl), R = Di(Cl), he = V(!1), _ = V(), I = ys(Cl), { loginUserInfo: f } = Al(I), b = V(), le = V(!0), X = Xa(Cl), { tableViewContents: Ke, itemData: Ye, isEdit: dl, routeToChildPath: ll, lockingPage: qe } = Al(X), m = V(null), q = V(!1), re = V(!1), _e = Qa(), { activeMenuPath: $e } = Al(_e), ie = hs(Cl), { originalPath: Q } = Al(ie), v = V([]), fe = V([
|
|
137
137
|
{
|
|
138
138
|
label: "编辑",
|
|
139
139
|
value: "operable",
|
|
@@ -170,7 +170,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
170
170
|
Ai(() => {
|
|
171
171
|
m.value = null;
|
|
172
172
|
});
|
|
173
|
-
const
|
|
173
|
+
const Se = (u) => {
|
|
174
174
|
a("clickTrigger", u);
|
|
175
175
|
}, Qe = async (u) => {
|
|
176
176
|
var K, B, O, E, x, me;
|
|
@@ -179,9 +179,9 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
179
179
|
(K = r.value) == null || K.forEach(($) => {
|
|
180
180
|
$ != null && $.isMain && (G = $ == null ? void 0 : $.value);
|
|
181
181
|
});
|
|
182
|
-
let j = await
|
|
182
|
+
let j = await Sl(ll.value, sessionStorage.getItem("systemKey"), "");
|
|
183
183
|
G = ((me = (x = (E = (O = (B = j == null ? void 0 : j[0]) == null ? void 0 : B.compData) == null ? void 0 : O.find(($) => ($ == null ? void 0 : $.key) === "mainRouters")) == null ? void 0 : E.contents) == null ? void 0 : x[0]) == null ? void 0 : me.routerContent) + Q.value + G;
|
|
184
|
-
let Z = await
|
|
184
|
+
let Z = await Sl(G, sessionStorage.getItem("systemKey"), "");
|
|
185
185
|
U.value = !0, we.value = Z == null ? void 0 : Z.filter(($) => ($ == null ? void 0 : $.comp) !== "methodButton"), a("routeUrl", we.value);
|
|
186
186
|
}
|
|
187
187
|
}, ne = () => {
|
|
@@ -277,9 +277,9 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
277
277
|
type: "application/octet-stream;charset=UTF-8"
|
|
278
278
|
});
|
|
279
279
|
let N = URL.createObjectURL(Be), Ee = "";
|
|
280
|
-
(ke = u == null ? void 0 : u.split("/")) == null || ke.forEach((
|
|
280
|
+
(ke = u == null ? void 0 : u.split("/")) == null || ke.forEach((Ie, De) => {
|
|
281
281
|
var pe;
|
|
282
|
-
De === ((pe = u == null ? void 0 : u.split("/")) == null ? void 0 : pe.length) - 1 && (Ee =
|
|
282
|
+
De === ((pe = u == null ? void 0 : u.split("/")) == null ? void 0 : pe.length) - 1 && (Ee = Ie);
|
|
283
283
|
}), (k = ge.blob) != null && k.includes(".stl") && (Ee = (Ee == null ? void 0 : Ee.replaceAll(">", "")) + ".urdf"), se.value = [{
|
|
284
284
|
name: Ee,
|
|
285
285
|
blobUrl: N
|
|
@@ -301,9 +301,9 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
301
301
|
type: "application/octet-stream;charset=UTF-8"
|
|
302
302
|
});
|
|
303
303
|
let Be = URL.createObjectURL(ge), N = "";
|
|
304
|
-
(F = u == null ? void 0 : u.split("/")) == null || F.forEach((Ee,
|
|
304
|
+
(F = u == null ? void 0 : u.split("/")) == null || F.forEach((Ee, Ie) => {
|
|
305
305
|
var De;
|
|
306
|
-
|
|
306
|
+
Ie === ((De = u == null ? void 0 : u.split("/")) == null ? void 0 : De.length) - 1 && (N = Ee);
|
|
307
307
|
}), se.value = [{
|
|
308
308
|
name: N,
|
|
309
309
|
blobUrl: Be
|
|
@@ -326,7 +326,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
326
326
|
};
|
|
327
327
|
a("change", E);
|
|
328
328
|
}, de = Gl(() => "http://222.92.178.198:62001"), i = async (u) => {
|
|
329
|
-
var H, J, ke, k, F, W, Ae, ge, Be, N, Ee,
|
|
329
|
+
var H, J, ke, k, F, W, Ae, ge, Be, N, Ee, Ie, De, pe, oe, Ne;
|
|
330
330
|
if (!u) return;
|
|
331
331
|
(J = (H = l == null ? void 0 : l.itemData) == null ? void 0 : H.find((M) => (M == null ? void 0 : M.key) === "parentFormPath")) == null || J.contents;
|
|
332
332
|
let K = Ke.value;
|
|
@@ -363,8 +363,8 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
363
363
|
if ((Ee = (N = (Be = s(O)) == null ? void 0 : Be.find((M) => (M == null ? void 0 : M.key) === "formContent")) == null ? void 0 : N.contents) == null || Ee.forEach((M) => {
|
|
364
364
|
var ye, Ce, Le, d, ue, We;
|
|
365
365
|
C && ((Le = (Ce = (ye = M == null ? void 0 : M.optionUrl) == null ? void 0 : ye.groupSelect) == null ? void 0 : Ce[1]) != null && Le.includes("[")) && (me = (ue = (d = M == null ? void 0 : M.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : ue[1], JSON.stringify(j) === JSON.stringify((We = M == null ? void 0 : M.optionUrl) == null ? void 0 : We.menuSelect) && (C = !1));
|
|
366
|
-
}), (
|
|
367
|
-
let M = await
|
|
366
|
+
}), (Ie = G == null ? void 0 : G.optionUrl) != null && Ie.menuSelect && le.value) {
|
|
367
|
+
let M = await Si(G), ye, Ce = (De = G == null ? void 0 : G.optionUrl) == null ? void 0 : De.menuSelect;
|
|
368
368
|
if (M == null || M.forEach((Le) => {
|
|
369
369
|
var d, ue, We, Ue, Xe, Ve, He, Te, Oe, Ge;
|
|
370
370
|
me === ((ue = (d = G == null ? void 0 : G.optionUrl) == null ? void 0 : d.groupSelect) == null ? void 0 : ue[1]) && ((Xe = (Ue = (We = G == null ? void 0 : G.optionUrl) == null ? void 0 : We.groupSelect) == null ? void 0 : Ue[1]) != null && Xe.includes("[")) && ((Ge = s(Le)) == null ? void 0 : Ge[(Oe = (Te = (He = (Ve = G == null ? void 0 : G.optionUrl) == null ? void 0 : Ve.groupSelect) == null ? void 0 : He[1]) == null ? void 0 : Te.replaceAll("[", "")) == null ? void 0 : Oe.replaceAll("]", "")]) === (G == null ? void 0 : G.value) && (ye = Le);
|
|
@@ -443,7 +443,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
443
443
|
for (let O of u)
|
|
444
444
|
(O.includes("[") || B.includes("[")) && (B += O.trim(), s(B).split("【").length - 1 === s(B).split("】").length - 1 && s(B).split("[").length - 1 === s(B).split("]").length - 1 && (K.push(B.replace(/\/\*[\s\S]*?\*\//g, "")), B = ""));
|
|
445
445
|
return K;
|
|
446
|
-
},
|
|
446
|
+
}, S = (u, K, B) => {
|
|
447
447
|
let O = "";
|
|
448
448
|
const E = K == null ? void 0 : K.map((x) => {
|
|
449
449
|
var me;
|
|
@@ -455,7 +455,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
455
455
|
var j;
|
|
456
456
|
(G == null ? void 0 : G.key) === "formContent" && ((j = G == null ? void 0 : G.contents) == null || j.forEach((C) => {
|
|
457
457
|
var Z;
|
|
458
|
-
(C == null ? void 0 : C.prop) === (u == null ? void 0 : u[1]) && (O = (C == null ? void 0 : C.value) === "" ?
|
|
458
|
+
(C == null ? void 0 : C.prop) === (u == null ? void 0 : u[1]) && (O = (C == null ? void 0 : C.value) === "" ? Is((Z = s(C)) == null ? void 0 : Z.optionUrl, B) : C == null ? void 0 : C.value);
|
|
459
459
|
}));
|
|
460
460
|
}));
|
|
461
461
|
}), O;
|
|
@@ -482,7 +482,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
482
482
|
return Dl(
|
|
483
483
|
() => l.itemData,
|
|
484
484
|
async () => {
|
|
485
|
-
var me, G, j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee,
|
|
485
|
+
var me, G, j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee, Ie, De;
|
|
486
486
|
const u = (me = l.itemData) == null ? void 0 : me.find((pe) => (pe == null ? void 0 : pe.key) === "formContent"), K = (G = s(l.itemData)) == null ? void 0 : G.find((pe) => (pe == null ? void 0 : pe.key) === "formButton"), B = (j = s(l.itemData)) == null ? void 0 : j.find((pe) => (pe == null ? void 0 : pe.key) === "formFlex"), O = (C = s(l.itemData)) == null ? void 0 : C.find((pe) => (pe == null ? void 0 : pe.key) === "formWrap"), E = (Z = s(l.itemData)) == null ? void 0 : Z.find((pe) => (pe == null ? void 0 : pe.key) === "enableWrap");
|
|
487
487
|
if ((O == null ? void 0 : O.contents) === "纵向" ? y.value = !1 : y.value = !0, he.value = (E == null ? void 0 : E.contents) === void 0 ? !1 : E == null ? void 0 : E.contents, _.value = typeof (B == null ? void 0 : B.contents) != "boolean" ? !(!(B != null && B.contents) === "" || (($ = B == null ? void 0 : B.contents) == null ? void 0 : $.toUpperCase()) === "VERTICAL") : B == null ? void 0 : B.contents, ((H = u == null ? void 0 : u.contents) == null ? void 0 : H.length) > 0 && Array.isArray(u == null ? void 0 : u.contents)) {
|
|
488
488
|
let pe = l.allMapContents;
|
|
@@ -504,7 +504,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
504
504
|
label: sl,
|
|
505
505
|
value: sl
|
|
506
506
|
})));
|
|
507
|
-
let He = !1, Te = (d == null ? void 0 : d.isFormColHidden) ?? !1, Oe =
|
|
507
|
+
let He = !1, Te = (d == null ? void 0 : d.isFormColHidden) ?? !1, Oe = Is((ga = s(d)) == null ? void 0 : ga.optionUrl, pe), Ge = Oe !== void 0 && Oe !== "" ? Oe : d != null && d.originalContent && (d == null ? void 0 : d.originalContent) !== "" ? d.originalContent : d != null && d.value ? d.value : (Xe == null ? void 0 : Xe.length) > 0 ? (ba = Xe == null ? void 0 : Xe[0]) == null ? void 0 : ba.value : (d == null ? void 0 : d.value) ?? "", Ze = !1, kl = Oe !== void 0 || Ue === "" ? "Input" : Ue;
|
|
508
508
|
if ((Array.isArray(Oe) && (Oe != null && Oe.every((sl) => (sl == null ? void 0 : sl.name) && (sl == null ? void 0 : sl.url))) || Array.isArray(Ge) && (Ge != null && Ge.every((sl) => (sl == null ? void 0 : sl.name) && (sl == null ? void 0 : sl.url)))) && (kl = "upload"), typeof Ge == "string" && (Ge != null && Ge.includes("loginUser")) && !(Ge != null && Ge.includes("loginUserSign")) || d != null && d.isLoginUser)
|
|
509
509
|
He = !0, Ge = ((sa = f.value) == null ? void 0 : sa.姓名) || ((La = f.value) == null ? void 0 : La.account) || ((Oa = f.value) == null ? void 0 : Oa.账号) || ((Fa = f.value) == null ? void 0 : Fa.userName);
|
|
510
510
|
else if (typeof Ge == "string" && (Ge != null && Ge.includes("loginUserSign")) || d != null && d.signature || d != null && d.isShow)
|
|
@@ -571,7 +571,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
571
571
|
var kl, fl, il, ol, yl, vl;
|
|
572
572
|
if (Ze != null && Ze.includes("[")) {
|
|
573
573
|
let Ol = (fl = (kl = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : kl.split(":")) == null ? void 0 : fl[1];
|
|
574
|
-
Ge =
|
|
574
|
+
Ge = S((il = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : il.split(":"), pe == null ? void 0 : pe[$e.value], pe), Ze = ((yl = (ol = s(ye)) == null ? void 0 : ol.find((Tl) => (Tl == null ? void 0 : Tl.label) === Ol)) == null ? void 0 : yl.value) || S((vl = Ze == null ? void 0 : Ze.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : vl.split(":"), pe == null ? void 0 : pe[$e.value], pe);
|
|
575
575
|
}
|
|
576
576
|
return Ze;
|
|
577
577
|
}), Ge !== "" && d.value === "" && (d.value = h(d.optionUrl.menuSelect, d.optionUrl.oldMenuSelect, (Te = d == null ? void 0 : d.optionUrl) == null ? void 0 : Te.groupSelect, pe), Array.isArray(d.value) && ((Oe = d.value) != null && Oe.every((Ze) => Ze == null ? void 0 : Ze.url)) && (d.type = "UPLOAD"));
|
|
@@ -634,7 +634,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
634
634
|
]);
|
|
635
635
|
}), p.value = pe;
|
|
636
636
|
}
|
|
637
|
-
if (((
|
|
637
|
+
if (((Ie = K == null ? void 0 : K.contents) == null ? void 0 : Ie.length) > 0) {
|
|
638
638
|
const pe = [];
|
|
639
639
|
(De = K == null ? void 0 : K.contents) == null || De.forEach((oe, Ne) => {
|
|
640
640
|
(oe == null ? void 0 : oe.label) !== "" && pe.push({
|
|
@@ -669,7 +669,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
669
669
|
onHandleColEditChange: xe,
|
|
670
670
|
onHandleColTypeChange: je,
|
|
671
671
|
onRouteUrl: Qe,
|
|
672
|
-
onClickTrigger:
|
|
672
|
+
onClickTrigger: Se
|
|
673
673
|
}, {
|
|
674
674
|
operateCol: be(({ renderColumns: G, formDisabled: j, formLabelsOperable: C }) => [
|
|
675
675
|
ee(x, {
|
|
@@ -914,7 +914,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
914
914
|
label: "三维算例",
|
|
915
915
|
value: "modelExample"
|
|
916
916
|
}
|
|
917
|
-
],
|
|
917
|
+
], Sn = [
|
|
918
918
|
{
|
|
919
919
|
label: "新增",
|
|
920
920
|
value: "add"
|
|
@@ -929,7 +929,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
929
929
|
key: "type",
|
|
930
930
|
label: "类型",
|
|
931
931
|
type: "Select",
|
|
932
|
-
options:
|
|
932
|
+
options: Sn
|
|
933
933
|
},
|
|
934
934
|
{
|
|
935
935
|
key: "background",
|
|
@@ -953,7 +953,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
953
953
|
label: "按钮颜色",
|
|
954
954
|
type: "Color"
|
|
955
955
|
}
|
|
956
|
-
],
|
|
956
|
+
], In = { class: "table-header-child" }, xn = { class: "table-header-child-main" }, An = { class: "table-header-child-content" }, En = { class: "table-header-child-content-item" }, Tn = { class: "fix-button" }, $n = { key: 0 }, Bn = { class: "form-content" }, Ln = {
|
|
957
957
|
__name: "tableNewChild",
|
|
958
958
|
props: {
|
|
959
959
|
tableChildContents: Array
|
|
@@ -965,10 +965,10 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
965
965
|
const D = V(""), p = V([]), y = V([]), A = (_) => {
|
|
966
966
|
var f;
|
|
967
967
|
a.value = !0;
|
|
968
|
-
let
|
|
968
|
+
let I = [];
|
|
969
969
|
rl == null || rl.forEach((b) => {
|
|
970
970
|
let le = s(c.value) + 1;
|
|
971
|
-
g.setTableIndex(le),
|
|
971
|
+
g.setTableIndex(le), I.push({
|
|
972
972
|
label: b == null ? void 0 : b.label,
|
|
973
973
|
name: b == null ? void 0 : b.label,
|
|
974
974
|
type: b.type,
|
|
@@ -976,20 +976,20 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
976
976
|
id: c.value,
|
|
977
977
|
contents: b == null ? void 0 : b.options
|
|
978
978
|
});
|
|
979
|
-
}), _ != null && _.children && ((f = _ == null ? void 0 : _.children) == null ? void 0 : f.length) > 0 &&
|
|
979
|
+
}), _ != null && _.children && ((f = _ == null ? void 0 : _.children) == null ? void 0 : f.length) > 0 && I.push({
|
|
980
980
|
children: _ == null ? void 0 : _.children,
|
|
981
981
|
isFormColHidden: !0
|
|
982
|
-
}), D.value = _ == null ? void 0 : _.id, p.value =
|
|
982
|
+
}), D.value = _ == null ? void 0 : _.id, p.value = I, y.value = I;
|
|
983
983
|
}, w = (_) => {
|
|
984
984
|
l("fixChange", s(_));
|
|
985
985
|
}, se = (_) => {
|
|
986
986
|
l("deleteChange", s(_));
|
|
987
987
|
}, U = (_) => {
|
|
988
988
|
a.value = !0;
|
|
989
|
-
let
|
|
989
|
+
let I = [];
|
|
990
990
|
rl == null || rl.forEach((f) => {
|
|
991
991
|
let b = s(c.value) + 1;
|
|
992
|
-
g.setTableIndex(b),
|
|
992
|
+
g.setTableIndex(b), I.push({
|
|
993
993
|
label: f == null ? void 0 : f.label,
|
|
994
994
|
name: f == null ? void 0 : f.label,
|
|
995
995
|
type: f.type,
|
|
@@ -997,16 +997,16 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
997
997
|
id: c.value,
|
|
998
998
|
contents: f == null ? void 0 : f.options
|
|
999
999
|
});
|
|
1000
|
-
}), r.value = _ == null ? void 0 : _.id, p.value =
|
|
1000
|
+
}), r.value = _ == null ? void 0 : _.id, p.value = I, y.value = I;
|
|
1001
1001
|
}, we = (_) => {
|
|
1002
|
-
let
|
|
1003
|
-
|
|
1002
|
+
let I = s(y.value);
|
|
1003
|
+
I = I == null ? void 0 : I.map((f) => (f.children || (f.value = _ == null ? void 0 : _[f.name]), f)), y.value = I;
|
|
1004
1004
|
}, P = () => {
|
|
1005
|
-
var
|
|
1005
|
+
var I, f;
|
|
1006
1006
|
p.value = y.value;
|
|
1007
1007
|
let _ = {};
|
|
1008
1008
|
if (D.value !== "")
|
|
1009
|
-
_.id = D.value, (
|
|
1009
|
+
_.id = D.value, (I = p.value) == null || I.forEach((b) => {
|
|
1010
1010
|
const le = rl == null ? void 0 : rl.find((X) => (X == null ? void 0 : X.label) === (b == null ? void 0 : b.label));
|
|
1011
1011
|
le ? _[le.key] = b.value : b != null && b.children && b.children.length > 0 && (_.children = b.children);
|
|
1012
1012
|
}), a.value = !1, l("fixChange", {
|
|
@@ -1043,9 +1043,9 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1043
1043
|
).catch(() => {
|
|
1044
1044
|
});
|
|
1045
1045
|
};
|
|
1046
|
-
return (_,
|
|
1046
|
+
return (_, I) => {
|
|
1047
1047
|
const f = tl("svg-icon");
|
|
1048
|
-
return ce(), Fe("div",
|
|
1048
|
+
return ce(), Fe("div", In, [
|
|
1049
1049
|
(ce(!0), Fe(gl, null, wl(n == null ? void 0 : n.tableChildContents, (b, le) => (ce(), Fe("div", xn, [
|
|
1050
1050
|
L("div", An, [
|
|
1051
1051
|
L("div", En, Je(b.label), 1),
|
|
@@ -1122,10 +1122,10 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1122
1122
|
}, w = (_) => {
|
|
1123
1123
|
var f;
|
|
1124
1124
|
a.value = !0;
|
|
1125
|
-
let
|
|
1125
|
+
let I = [];
|
|
1126
1126
|
rl == null || rl.forEach((b) => {
|
|
1127
1127
|
let le = s(c.value) + 1;
|
|
1128
|
-
g.setTableIndex(le),
|
|
1128
|
+
g.setTableIndex(le), I.push({
|
|
1129
1129
|
label: b == null ? void 0 : b.label,
|
|
1130
1130
|
name: b == null ? void 0 : b.label,
|
|
1131
1131
|
type: b.type,
|
|
@@ -1133,16 +1133,16 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1133
1133
|
id: c.value,
|
|
1134
1134
|
contents: b == null ? void 0 : b.options
|
|
1135
1135
|
});
|
|
1136
|
-
}), _ != null && _.children && ((f = _ == null ? void 0 : _.children) == null ? void 0 : f.length) > 0 &&
|
|
1136
|
+
}), _ != null && _.children && ((f = _ == null ? void 0 : _.children) == null ? void 0 : f.length) > 0 && I.push({
|
|
1137
1137
|
children: _ == null ? void 0 : _.children,
|
|
1138
1138
|
isFormColHidden: !0
|
|
1139
|
-
}), D.value = _ == null ? void 0 : _.id, p.value =
|
|
1139
|
+
}), D.value = _ == null ? void 0 : _.id, p.value = I, y.value = I;
|
|
1140
1140
|
}, se = (_) => {
|
|
1141
1141
|
a.value = !0;
|
|
1142
|
-
let
|
|
1142
|
+
let I = [];
|
|
1143
1143
|
rl == null || rl.forEach((f) => {
|
|
1144
1144
|
let b = s(c.value) + 1;
|
|
1145
|
-
g.setTableIndex(b),
|
|
1145
|
+
g.setTableIndex(b), I.push({
|
|
1146
1146
|
label: f == null ? void 0 : f.label,
|
|
1147
1147
|
name: f == null ? void 0 : f.label,
|
|
1148
1148
|
type: f.type,
|
|
@@ -1150,16 +1150,16 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1150
1150
|
id: c.value,
|
|
1151
1151
|
contents: f == null ? void 0 : f.options
|
|
1152
1152
|
});
|
|
1153
|
-
}), r.value = _ == null ? void 0 : _.id, p.value =
|
|
1153
|
+
}), r.value = _ == null ? void 0 : _.id, p.value = I, y.value = I;
|
|
1154
1154
|
}, U = (_) => {
|
|
1155
|
-
let
|
|
1156
|
-
|
|
1155
|
+
let I = s(y.value);
|
|
1156
|
+
I = I == null ? void 0 : I.map((f) => (f.children || (f.value = _ == null ? void 0 : _[f.name]), f)), y.value = I;
|
|
1157
1157
|
}, we = () => {
|
|
1158
|
-
var
|
|
1158
|
+
var I, f;
|
|
1159
1159
|
p.value = y.value;
|
|
1160
1160
|
let _ = {};
|
|
1161
1161
|
if (D.value !== "")
|
|
1162
|
-
_.id = D.value, (
|
|
1162
|
+
_.id = D.value, (I = p.value) == null || I.forEach((b) => {
|
|
1163
1163
|
const le = rl == null ? void 0 : rl.find((X) => (X == null ? void 0 : X.label) === (b == null ? void 0 : b.label));
|
|
1164
1164
|
le ? _[le.key] = b.value : b != null && b.children && b.children.length > 0 && (_.children = b.children);
|
|
1165
1165
|
}), a.value = !1, l("fixChange", {
|
|
@@ -1198,7 +1198,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1198
1198
|
}, he = (_) => {
|
|
1199
1199
|
l("deleteChange", _);
|
|
1200
1200
|
};
|
|
1201
|
-
return (_,
|
|
1201
|
+
return (_, I) => {
|
|
1202
1202
|
const f = tl("svg-icon"), b = tl("el-button");
|
|
1203
1203
|
return ce(), Fe("div", Fn, [
|
|
1204
1204
|
(ce(!0), Fe(gl, null, wl(n == null ? void 0 : n.tableChildContents, (le, X) => (ce(), Fe("div", Kn, [
|
|
@@ -1255,7 +1255,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1255
1255
|
class: "cancel-button button",
|
|
1256
1256
|
id: "themeBorderButton"
|
|
1257
1257
|
}, {
|
|
1258
|
-
default: be(() =>
|
|
1258
|
+
default: be(() => I[0] || (I[0] = [
|
|
1259
1259
|
al(Je("取消"))
|
|
1260
1260
|
])),
|
|
1261
1261
|
_: 1,
|
|
@@ -1266,7 +1266,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1266
1266
|
onClick: we,
|
|
1267
1267
|
id: "themeButton"
|
|
1268
1268
|
}, {
|
|
1269
|
-
default: be(() =>
|
|
1269
|
+
default: be(() => I[1] || (I[1] = [
|
|
1270
1270
|
al(Je("确认"))
|
|
1271
1271
|
])),
|
|
1272
1272
|
_: 1,
|
|
@@ -1293,7 +1293,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1293
1293
|
},
|
|
1294
1294
|
emits: ["change"],
|
|
1295
1295
|
setup(e, { emit: o }) {
|
|
1296
|
-
const n = e, l = o, a = V([]), r = V(!1), g = V(!1), c = V([]), D = V(!1), p = V([]), y = V(!1), A = V([]), w = V(""), se = V(""), U = V([]), we = V([]), P = V([]), R = V([]), he = V(!1), _ = V([]),
|
|
1296
|
+
const n = e, l = o, a = V([]), r = V(!1), g = V(!1), c = V([]), D = V(!1), p = V([]), y = V(!1), A = V([]), w = V(""), se = V(""), U = V([]), we = V([]), P = V([]), R = V([]), he = V(!1), _ = V([]), I = V([]), f = V(0), b = V([]), le = V([]), X = V([]), Ke = () => {
|
|
1297
1297
|
he.value = !0;
|
|
1298
1298
|
let i = [];
|
|
1299
1299
|
ta == null || ta.forEach((t) => {
|
|
@@ -1305,12 +1305,12 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1305
1305
|
id: f.value,
|
|
1306
1306
|
contents: t == null ? void 0 : t.options
|
|
1307
1307
|
});
|
|
1308
|
-
}), _.value = i,
|
|
1308
|
+
}), _.value = i, I.value = i;
|
|
1309
1309
|
}, Ye = () => {
|
|
1310
|
-
var t,
|
|
1310
|
+
var t, S, h;
|
|
1311
1311
|
g.value = !0;
|
|
1312
1312
|
let i = [];
|
|
1313
|
-
(h = (
|
|
1313
|
+
(h = (S = (t = Nl) == null ? void 0 : t.find((u) => (u == null ? void 0 : u.key) === "Input")) == null ? void 0 : S.value) == null || h.forEach((u) => {
|
|
1314
1314
|
f.value++, i.push({
|
|
1315
1315
|
label: u == null ? void 0 : u.label,
|
|
1316
1316
|
name: (u == null ? void 0 : u.name) || (u == null ? void 0 : u.label),
|
|
@@ -1323,8 +1323,8 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1323
1323
|
}, dl = (i) => {
|
|
1324
1324
|
i || (b.value = le.value);
|
|
1325
1325
|
}, ll = async (i) => {
|
|
1326
|
-
var t,
|
|
1327
|
-
if ((i == null ? void 0 : i.类型) !== ((
|
|
1326
|
+
var t, S, h, u, K, B, O, E, x, me, G, j;
|
|
1327
|
+
if ((i == null ? void 0 : i.类型) !== ((S = (t = le.value) == null ? void 0 : t.find((C) => (C == null ? void 0 : C.label) === "类型")) == null ? void 0 : S.value)) {
|
|
1328
1328
|
let C = [], Z = await ((K = (u = (h = Nl) == null ? void 0 : h.find(($) => ($ == null ? void 0 : $.key) === ((i == null ? void 0 : i.类型) === "" ? "Input" : i == null ? void 0 : i.类型))) == null ? void 0 : u.value) == null ? void 0 : K.value) ? await ((me = (x = (E = Nl) == null ? void 0 : E.find(($) => ($ == null ? void 0 : $.key) === ((i == null ? void 0 : i.类型) === "" ? "Input" : i == null ? void 0 : i.类型))) == null ? void 0 : x.value) == null ? void 0 : me.value) : (O = (B = Nl) == null ? void 0 : B.find(($) => ($ == null ? void 0 : $.key) === ((i == null ? void 0 : i.类型) === "" ? "Input" : i == null ? void 0 : i.类型))) == null ? void 0 : O.value;
|
|
1329
1329
|
if (Z == null || Z.forEach(($) => {
|
|
1330
1330
|
f.value++, C.push({
|
|
@@ -1347,36 +1347,36 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1347
1347
|
const Z = await $a(i == null ? void 0 : i.菜单选项);
|
|
1348
1348
|
C = C == null ? void 0 : C.map(($) => (($ == null ? void 0 : $.name) === "组信息选项" && ($.contents = Z), $));
|
|
1349
1349
|
}
|
|
1350
|
-
C =
|
|
1350
|
+
C = Sa(C), le.value = await ua(s(C));
|
|
1351
1351
|
}
|
|
1352
1352
|
}, qe = async (i) => {
|
|
1353
1353
|
await ll(i), b.value = le.value;
|
|
1354
1354
|
}, m = (i, t) => {
|
|
1355
1355
|
if ((t == null ? void 0 : t.type) == "Select" && (i == null ? void 0 : i.key) === "selectRelateType") {
|
|
1356
|
-
const
|
|
1357
|
-
return (
|
|
1356
|
+
const S = t == null ? void 0 : t.optionUrl;
|
|
1357
|
+
return (S == null ? void 0 : S.selectRelateType) || t[i.key];
|
|
1358
1358
|
}
|
|
1359
1359
|
if ((t == null ? void 0 : t.type) == "Select" && (i == null ? void 0 : i.key) === "menuSelect") {
|
|
1360
|
-
const
|
|
1361
|
-
return (
|
|
1360
|
+
const S = t == null ? void 0 : t.optionUrl;
|
|
1361
|
+
return (S == null ? void 0 : S.menuSelect) || t[i.key];
|
|
1362
1362
|
}
|
|
1363
1363
|
if ((t == null ? void 0 : t.type) == "Select" && (i == null ? void 0 : i.key) === "groupSelect") {
|
|
1364
|
-
const
|
|
1365
|
-
return (
|
|
1364
|
+
const S = t == null ? void 0 : t.optionUrl;
|
|
1365
|
+
return (S == null ? void 0 : S.groupSelect) || t[i.key];
|
|
1366
1366
|
}
|
|
1367
1367
|
if ((t == null ? void 0 : t.type) == "Select" && (i == null ? void 0 : i.key) === "originalContent")
|
|
1368
1368
|
return (t == null ? void 0 : t.value) || t[i.key];
|
|
1369
1369
|
if ((t == null ? void 0 : t.type) == "Select" && (i == null ? void 0 : i.key) === "multiple") {
|
|
1370
|
-
const
|
|
1371
|
-
return ri(
|
|
1370
|
+
const S = t[i.key];
|
|
1371
|
+
return ri(S) ? S : i.default;
|
|
1372
1372
|
}
|
|
1373
1373
|
return (i == null ? void 0 : i.label) === "类型" && t[i.key] === "" ? "Input" : (i == null ? void 0 : i.key) === "isFormColHidden" && !t[i.key] ? !1 : t[i.key];
|
|
1374
1374
|
}, q = async (i) => {
|
|
1375
1375
|
var h, u, K, B, O, E, x, me, G;
|
|
1376
1376
|
g.value = !0;
|
|
1377
1377
|
let t = [];
|
|
1378
|
-
const
|
|
1379
|
-
if (
|
|
1378
|
+
const S = await ((K = (u = (h = Nl) == null ? void 0 : h.find((j) => (j == null ? void 0 : j.key) === ((i == null ? void 0 : i.type) === "" ? "Input" : i == null ? void 0 : i.type))) == null ? void 0 : u.value) == null ? void 0 : K.value) ? await ((me = (x = (E = Nl) == null ? void 0 : E.find((j) => (j == null ? void 0 : j.key) === ((i == null ? void 0 : i.type) === "" ? "Input" : i == null ? void 0 : i.type))) == null ? void 0 : x.value) == null ? void 0 : me.value) : (O = (B = Nl) == null ? void 0 : B.find((j) => (j == null ? void 0 : j.key) === ((i == null ? void 0 : i.type) === "" ? "Input" : i == null ? void 0 : i.type))) == null ? void 0 : O.value;
|
|
1379
|
+
if (S == null || S.forEach((j) => {
|
|
1380
1380
|
f.value++, t.push({
|
|
1381
1381
|
label: j == null ? void 0 : j.label,
|
|
1382
1382
|
name: (j == null ? void 0 : j.name) || (j == null ? void 0 : j.label),
|
|
@@ -1390,7 +1390,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1390
1390
|
const j = await $a(i == null ? void 0 : i.menuSelect);
|
|
1391
1391
|
t = t == null ? void 0 : t.map((C) => ((C == null ? void 0 : C.name) === "组信息选项" && (C.contents = j), C));
|
|
1392
1392
|
}
|
|
1393
|
-
w.value = i == null ? void 0 : i.id, b.value = await ua(
|
|
1393
|
+
w.value = i == null ? void 0 : i.id, b.value = await ua(Sa(t)), le.value = await ua(Sa(t));
|
|
1394
1394
|
}, re = (i) => {
|
|
1395
1395
|
ra.confirm("是否确认要删除", "", {
|
|
1396
1396
|
confirmButtonText: "确认",
|
|
@@ -1398,8 +1398,8 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1398
1398
|
type: "warning"
|
|
1399
1399
|
}).then(
|
|
1400
1400
|
() => {
|
|
1401
|
-
var t,
|
|
1402
|
-
X.value = (t = s(X.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (
|
|
1401
|
+
var t, S;
|
|
1402
|
+
X.value = (t = s(X.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (S = s(n.originalItemContents)) == null ? void 0 : S.map((h) => ((h == null ? void 0 : h.key) === "tableToForm" && (h.contents = X.value), h))), bl({
|
|
1403
1403
|
type: "success",
|
|
1404
1404
|
message: "删除成功"
|
|
1405
1405
|
});
|
|
@@ -1430,31 +1430,31 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1430
1430
|
X.value || (X.value = []), C.push(i), X.value = C;
|
|
1431
1431
|
}
|
|
1432
1432
|
X.value = X.value.map(({ id: C, ...Z }) => Z), g.value = !1, w.value = "";
|
|
1433
|
-
let
|
|
1434
|
-
(G = s(n.originalItemContents)) != null && G.find((C) => (C == null ? void 0 : C.key) === "tableToForm") ?
|
|
1433
|
+
let S = s(n.originalItemContents);
|
|
1434
|
+
(G = s(n.originalItemContents)) != null && G.find((C) => (C == null ? void 0 : C.key) === "tableToForm") ? S = (j = s(n.originalItemContents)) == null ? void 0 : j.map((C) => ((C == null ? void 0 : C.key) === "tableToForm" && (C.contents = X.value), C)) : S.push({
|
|
1435
1435
|
key: "tableToForm",
|
|
1436
1436
|
contents: X.value
|
|
1437
|
-
}), l("change",
|
|
1437
|
+
}), l("change", S);
|
|
1438
1438
|
}, ie = (i) => {
|
|
1439
1439
|
he.value = !0;
|
|
1440
1440
|
let t = [];
|
|
1441
|
-
ta == null || ta.forEach((
|
|
1441
|
+
ta == null || ta.forEach((S) => {
|
|
1442
1442
|
f.value++, t.push({
|
|
1443
|
-
label:
|
|
1444
|
-
name:
|
|
1445
|
-
type:
|
|
1446
|
-
value: i[
|
|
1443
|
+
label: S == null ? void 0 : S.label,
|
|
1444
|
+
name: S == null ? void 0 : S.label,
|
|
1445
|
+
type: S.type,
|
|
1446
|
+
value: i[S.key],
|
|
1447
1447
|
id: f.value,
|
|
1448
|
-
contents:
|
|
1448
|
+
contents: S == null ? void 0 : S.options
|
|
1449
1449
|
});
|
|
1450
|
-
}), w.value = i == null ? void 0 : i.id, _.value = t,
|
|
1450
|
+
}), w.value = i == null ? void 0 : i.id, _.value = t, I.value = t;
|
|
1451
1451
|
};
|
|
1452
1452
|
Dl(
|
|
1453
1453
|
() => y.value,
|
|
1454
1454
|
() => {
|
|
1455
|
-
var t,
|
|
1455
|
+
var t, S;
|
|
1456
1456
|
let i = s(n.originalItemContents);
|
|
1457
|
-
(t = s(n.originalItemContents)) != null && t.find((h) => (h == null ? void 0 : h.key) === "page") ? i = (
|
|
1457
|
+
(t = s(n.originalItemContents)) != null && t.find((h) => (h == null ? void 0 : h.key) === "page") ? i = (S = s(n.originalItemContents)) == null ? void 0 : S.map((h) => ((h == null ? void 0 : h.key) === "page" && (h.contents = y.value), h)) : i.push({
|
|
1458
1458
|
key: "page",
|
|
1459
1459
|
contents: y.value
|
|
1460
1460
|
}), l("change", i);
|
|
@@ -1468,8 +1468,8 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1468
1468
|
type: "warning"
|
|
1469
1469
|
}).then(
|
|
1470
1470
|
() => {
|
|
1471
|
-
var t,
|
|
1472
|
-
we.value = (t = s(we.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (
|
|
1471
|
+
var t, S;
|
|
1472
|
+
we.value = (t = s(we.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (S = s(n.originalItemContents)) == null ? void 0 : S.map((h) => ((h == null ? void 0 : h.key) === "extraButton" && (h.contents = we.value), h))), bl({
|
|
1473
1473
|
type: "success",
|
|
1474
1474
|
message: "删除成功"
|
|
1475
1475
|
});
|
|
@@ -1477,10 +1477,10 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1477
1477
|
).catch(() => {
|
|
1478
1478
|
});
|
|
1479
1479
|
}, v = () => {
|
|
1480
|
-
var
|
|
1481
|
-
_.value =
|
|
1480
|
+
var S, h, u, K, B;
|
|
1481
|
+
_.value = I.value;
|
|
1482
1482
|
let i = {};
|
|
1483
|
-
if (w.value !== "" ? i.id = w.value : (f.value++, i.id = "id" + f.value), (
|
|
1483
|
+
if (w.value !== "" ? i.id = w.value : (f.value++, i.id = "id" + f.value), (S = _.value) == null || S.forEach((O) => {
|
|
1484
1484
|
const E = ta == null ? void 0 : ta.find((x) => (x == null ? void 0 : x.label) === (O == null ? void 0 : O.label));
|
|
1485
1485
|
E ? i[E.key] = O.value : O != null && O.children && O.children.length > 0 && (i.children = O.children);
|
|
1486
1486
|
}), (h = we.value) != null && h.find((O) => O.id === i.id))
|
|
@@ -1496,21 +1496,21 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1496
1496
|
contents: we.value
|
|
1497
1497
|
}), l("change", t);
|
|
1498
1498
|
}, fe = (i) => {
|
|
1499
|
-
let t = s(
|
|
1500
|
-
t = t == null ? void 0 : t.map((
|
|
1499
|
+
let t = s(I.value);
|
|
1500
|
+
t = t == null ? void 0 : t.map((S) => (S.children || (S.value = i == null ? void 0 : i[S.name]), S)), I.value = t;
|
|
1501
1501
|
}, Y = () => {
|
|
1502
1502
|
he.value = !1, _.value = [], w.value = "";
|
|
1503
1503
|
}, ve = (i) => {
|
|
1504
1504
|
D.value = !0;
|
|
1505
1505
|
let t = [];
|
|
1506
|
-
ca == null || ca.forEach((
|
|
1506
|
+
ca == null || ca.forEach((S) => {
|
|
1507
1507
|
f.value++, t.push({
|
|
1508
|
-
label:
|
|
1509
|
-
name:
|
|
1510
|
-
type:
|
|
1511
|
-
value: i[
|
|
1508
|
+
label: S == null ? void 0 : S.label,
|
|
1509
|
+
name: S == null ? void 0 : S.label,
|
|
1510
|
+
type: S.type,
|
|
1511
|
+
value: i[S.key],
|
|
1512
1512
|
id: f.value,
|
|
1513
|
-
contents:
|
|
1513
|
+
contents: S == null ? void 0 : S.options
|
|
1514
1514
|
});
|
|
1515
1515
|
}), w.value = i == null ? void 0 : i.id, P.value = t, R.value = t;
|
|
1516
1516
|
}, ze = (i) => {
|
|
@@ -1520,8 +1520,8 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1520
1520
|
type: "warning"
|
|
1521
1521
|
}).then(
|
|
1522
1522
|
() => {
|
|
1523
|
-
var t,
|
|
1524
|
-
U.value = (t = s(U.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (
|
|
1523
|
+
var t, S;
|
|
1524
|
+
U.value = (t = s(U.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (S = s(n.originalItemContents)) == null ? void 0 : S.map((h) => ((h == null ? void 0 : h.key) === "rowButton" && (h.contents = U.value), h))), bl({
|
|
1525
1525
|
type: "success",
|
|
1526
1526
|
message: "删除成功"
|
|
1527
1527
|
});
|
|
@@ -1541,7 +1541,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1541
1541
|
contents: t == null ? void 0 : t.options
|
|
1542
1542
|
});
|
|
1543
1543
|
}), p.value = i, A.value = i;
|
|
1544
|
-
},
|
|
1544
|
+
}, Se = () => {
|
|
1545
1545
|
D.value = !0;
|
|
1546
1546
|
let i = [];
|
|
1547
1547
|
ca == null || ca.forEach((t) => {
|
|
@@ -1556,12 +1556,12 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1556
1556
|
}), P.value = i, R.value = i;
|
|
1557
1557
|
}, Qe = (i) => {
|
|
1558
1558
|
let t = s(R.value);
|
|
1559
|
-
t = t == null ? void 0 : t.map((
|
|
1559
|
+
t = t == null ? void 0 : t.map((S) => (S.children || (S.value = i == null ? void 0 : i[S.name]), S)), R.value = t;
|
|
1560
1560
|
}, ne = () => {
|
|
1561
|
-
var
|
|
1561
|
+
var S, h, u, K, B;
|
|
1562
1562
|
P.value = R.value;
|
|
1563
1563
|
let i = {};
|
|
1564
|
-
if (w.value !== "" ? i.id = w.value : (f.value++, i.id = "id" + f.value), (
|
|
1564
|
+
if (w.value !== "" ? i.id = w.value : (f.value++, i.id = "id" + f.value), (S = P.value) == null || S.forEach((O) => {
|
|
1565
1565
|
const E = ca == null ? void 0 : ca.find((x) => (x == null ? void 0 : x.label) === (O == null ? void 0 : O.label));
|
|
1566
1566
|
E ? i[E.key] = O.value : O != null && O.children && O.children.length > 0 && (i.children = O.children);
|
|
1567
1567
|
}), (h = U.value) != null && h.find((O) => O.id === i.id))
|
|
@@ -1581,32 +1581,32 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1581
1581
|
}, xe = (i) => {
|
|
1582
1582
|
r.value = !0;
|
|
1583
1583
|
let t = [];
|
|
1584
|
-
rl == null || rl.forEach((
|
|
1584
|
+
rl == null || rl.forEach((S) => {
|
|
1585
1585
|
f.value++, t.push({
|
|
1586
|
-
label:
|
|
1587
|
-
name:
|
|
1588
|
-
type:
|
|
1586
|
+
label: S == null ? void 0 : S.label,
|
|
1587
|
+
name: S == null ? void 0 : S.label,
|
|
1588
|
+
type: S.type,
|
|
1589
1589
|
value: "",
|
|
1590
1590
|
id: f.value,
|
|
1591
|
-
contents:
|
|
1591
|
+
contents: S == null ? void 0 : S.options
|
|
1592
1592
|
});
|
|
1593
1593
|
}), p.value = t, se.value = i == null ? void 0 : i.id, A.value = t;
|
|
1594
1594
|
}, je = (i) => {
|
|
1595
1595
|
var t;
|
|
1596
|
-
c.value = ci(s(c.value), i == null ? void 0 : i.id), l("change", (t = s(n.originalItemContents)) == null ? void 0 : t.map((
|
|
1596
|
+
c.value = ci(s(c.value), i == null ? void 0 : i.id), l("change", (t = s(n.originalItemContents)) == null ? void 0 : t.map((S) => {
|
|
1597
1597
|
var h;
|
|
1598
|
-
return (
|
|
1598
|
+
return (S == null ? void 0 : S.key) === "header" && (S.contents = (h = c.value) != null && h.some((u) => u == null ? void 0 : u.children) ? [c.value] : c.value), S;
|
|
1599
1599
|
}));
|
|
1600
1600
|
}, z = (i) => {
|
|
1601
|
-
var
|
|
1602
|
-
i.type === "fix" ? i.id !== "" ? c.value = pi(c.value, i) : c.value = di(c.value, i == null ? void 0 : i.contents) : c.value = fi(c.value, i), c.value = (
|
|
1601
|
+
var S, h, u;
|
|
1602
|
+
i.type === "fix" ? i.id !== "" ? c.value = pi(c.value, i) : c.value = di(c.value, i == null ? void 0 : i.contents) : c.value = fi(c.value, i), c.value = (S = c.value) != null && S.some((K) => K == null ? void 0 : K.children) ? [c.value] : c.value, w.value = "";
|
|
1603
1603
|
let t = s(n.originalItemContents);
|
|
1604
1604
|
(h = s(n.originalItemContents)) != null && h.find((K) => (K == null ? void 0 : K.key) === "header") ? t = (u = s(n.originalItemContents)) == null ? void 0 : u.map((K) => ((K == null ? void 0 : K.key) === "header" && (K.contents = c.value), K)) : t.push({
|
|
1605
1605
|
key: "header",
|
|
1606
1606
|
contents: c.value
|
|
1607
1607
|
}), l("change", t);
|
|
1608
1608
|
}, T = (i) => {
|
|
1609
|
-
var
|
|
1609
|
+
var S;
|
|
1610
1610
|
r.value = !0;
|
|
1611
1611
|
let t = [];
|
|
1612
1612
|
rl == null || rl.forEach((h) => {
|
|
@@ -1618,20 +1618,20 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1618
1618
|
id: f.value,
|
|
1619
1619
|
contents: h == null ? void 0 : h.options
|
|
1620
1620
|
});
|
|
1621
|
-
}), i != null && i.children && ((
|
|
1621
|
+
}), i != null && i.children && ((S = i == null ? void 0 : i.children) == null ? void 0 : S.length) > 0 && t.push({
|
|
1622
1622
|
children: i == null ? void 0 : i.children,
|
|
1623
1623
|
isFormColHidden: !0
|
|
1624
1624
|
}), w.value = i == null ? void 0 : i.id, se.value = "", p.value = t, A.value = t;
|
|
1625
1625
|
}, ae = (i) => {
|
|
1626
1626
|
let t = s(A.value);
|
|
1627
|
-
t = t == null ? void 0 : t.map((
|
|
1627
|
+
t = t == null ? void 0 : t.map((S) => (S.children || (S.value = i == null ? void 0 : i[S.name]), S)), A.value = t;
|
|
1628
1628
|
}, te = () => {
|
|
1629
1629
|
r.value = !1, w.value = "", se.value = "", A.value = [];
|
|
1630
1630
|
}, Me = () => {
|
|
1631
|
-
var
|
|
1631
|
+
var S, h, u, K, B, O;
|
|
1632
1632
|
p.value = A.value;
|
|
1633
1633
|
let i = {};
|
|
1634
|
-
if (w.value !== "" ? i.id = w.value : (f.value++, i.id = "id" + f.value), (
|
|
1634
|
+
if (w.value !== "" ? i.id = w.value : (f.value++, i.id = "id" + f.value), (S = p.value) == null || S.forEach((E) => {
|
|
1635
1635
|
const x = rl == null ? void 0 : rl.find((me) => (me == null ? void 0 : me.label) === (E == null ? void 0 : E.label));
|
|
1636
1636
|
x ? i[x.key] = E.value : E != null && E.children && E.children.length > 0 && (i.children = E.children);
|
|
1637
1637
|
}), (h = c.value) != null && h.find((E) => E.id === i.id))
|
|
@@ -1653,8 +1653,8 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1653
1653
|
type: "warning"
|
|
1654
1654
|
}).then(
|
|
1655
1655
|
() => {
|
|
1656
|
-
var t,
|
|
1657
|
-
c.value = (t = s(c.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (
|
|
1656
|
+
var t, S;
|
|
1657
|
+
c.value = (t = s(c.value)) == null ? void 0 : t.filter((h) => (h == null ? void 0 : h.id) !== (i == null ? void 0 : i.id)), l("change", (S = s(n.originalItemContents)) == null ? void 0 : S.map((h) => {
|
|
1658
1658
|
var u;
|
|
1659
1659
|
return (h == null ? void 0 : h.key) === "header" && (h.contents = (u = c.value) != null && u.some((K) => K == null ? void 0 : K.children) ? [c.value] : c.value), h;
|
|
1660
1660
|
})), bl({
|
|
@@ -1668,9 +1668,9 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1668
1668
|
return Dl(
|
|
1669
1669
|
() => n.originalItemContents,
|
|
1670
1670
|
() => {
|
|
1671
|
-
var i, t,
|
|
1671
|
+
var i, t, S, h, u, K, B, O, E, x, me, G, j, C, Z, $, H, J, ke;
|
|
1672
1672
|
if (!(!n.originalItemContents || n.originalItemContents.length === 0))
|
|
1673
|
-
if (a.value = s(n.originalItemContents), c.value = (t = (i = a.value) == null ? void 0 : i.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : t.contents, U.value = (h = (
|
|
1673
|
+
if (a.value = s(n.originalItemContents), c.value = (t = (i = a.value) == null ? void 0 : i.find((k) => (k == null ? void 0 : k.key) === "header")) == null ? void 0 : t.contents, U.value = (h = (S = a.value) == null ? void 0 : S.find((k) => (k == null ? void 0 : k.key) === "rowButton")) == null ? void 0 : h.contents, we.value = (K = (u = a.value) == null ? void 0 : u.find((k) => (k == null ? void 0 : k.key) === "extraButton")) == null ? void 0 : K.contents, y.value = (O = (B = a.value) == null ? void 0 : B.find((k) => (k == null ? void 0 : k.key) === "page")) != null && O.contents ? !!((x = (E = a.value) == null ? void 0 : E.find((k) => (k == null ? void 0 : k.key) === "page")) != null && x.contents) : !1, X.value = (G = (me = a.value) == null ? void 0 : me.find((k) => (k == null ? void 0 : k.key) === "tableToForm")) == null ? void 0 : G.contents, c.value = (j = c.value) == null ? void 0 : j.map((k, F) => (Array.isArray(k) ? k = Dn(k) : k = {
|
|
1674
1674
|
label: (k == null ? void 0 : k.label) ?? "",
|
|
1675
1675
|
prop: (k == null ? void 0 : k.label) === "操作" ? "operate" : k == null ? void 0 : k.prop,
|
|
1676
1676
|
width: k != null && k.width ? parseInt(k.width) : "",
|
|
@@ -1721,7 +1721,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1721
1721
|
},
|
|
1722
1722
|
{ deep: !0, immediate: !0 }
|
|
1723
1723
|
), (i, t) => {
|
|
1724
|
-
const
|
|
1724
|
+
const S = tl("svg-icon"), h = tl("el-button");
|
|
1725
1725
|
return ce(), Fe("div", Vn, [
|
|
1726
1726
|
L("div", zn, [
|
|
1727
1727
|
L("div", Gn, [
|
|
@@ -1732,7 +1732,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1732
1732
|
id: "themeButton"
|
|
1733
1733
|
}, {
|
|
1734
1734
|
icon: be(() => [
|
|
1735
|
-
ee(
|
|
1735
|
+
ee(S, {
|
|
1736
1736
|
name: "Plus",
|
|
1737
1737
|
class: "icon-size"
|
|
1738
1738
|
})
|
|
@@ -1749,19 +1749,19 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1749
1749
|
L("div", Jn, [
|
|
1750
1750
|
L("div", qn, Je(u == null ? void 0 : u.label), 1),
|
|
1751
1751
|
L("div", Xn, [
|
|
1752
|
-
ee(
|
|
1752
|
+
ee(S, {
|
|
1753
1753
|
name: "ChildAdd",
|
|
1754
1754
|
class: "svg-icon-content",
|
|
1755
1755
|
style: { width: "24px", height: "24px" },
|
|
1756
1756
|
onClick: (B) => xe(u)
|
|
1757
1757
|
}, null, 8, ["onClick"]),
|
|
1758
|
-
ee(
|
|
1758
|
+
ee(S, {
|
|
1759
1759
|
name: "ChildFix",
|
|
1760
1760
|
class: "svg-icon-content",
|
|
1761
1761
|
style: { width: "24px", height: "24px" },
|
|
1762
1762
|
onClick: (B) => T(u)
|
|
1763
1763
|
}, null, 8, ["onClick"]),
|
|
1764
|
-
ee(
|
|
1764
|
+
ee(S, {
|
|
1765
1765
|
name: "ChildDelete",
|
|
1766
1766
|
class: "svg-icon-content",
|
|
1767
1767
|
style: { width: "24px", height: "24px" },
|
|
@@ -1783,10 +1783,10 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1783
1783
|
ee(h, {
|
|
1784
1784
|
class: "icon-content",
|
|
1785
1785
|
id: "themeButton",
|
|
1786
|
-
onClick:
|
|
1786
|
+
onClick: Se
|
|
1787
1787
|
}, {
|
|
1788
1788
|
icon: be(() => [
|
|
1789
|
-
ee(
|
|
1789
|
+
ee(S, {
|
|
1790
1790
|
name: "Plus",
|
|
1791
1791
|
class: "icon-size"
|
|
1792
1792
|
})
|
|
@@ -1803,13 +1803,13 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1803
1803
|
L("div", eo, [
|
|
1804
1804
|
L("div", lo, Je(u == null ? void 0 : u.label), 1),
|
|
1805
1805
|
L("div", ao, [
|
|
1806
|
-
ee(
|
|
1806
|
+
ee(S, {
|
|
1807
1807
|
name: "ChildFix",
|
|
1808
1808
|
style: { width: "24px", height: "24px" },
|
|
1809
1809
|
class: "svg-icon-content",
|
|
1810
1810
|
onClick: (B) => ve(u)
|
|
1811
1811
|
}, null, 8, ["onClick"]),
|
|
1812
|
-
ee(
|
|
1812
|
+
ee(S, {
|
|
1813
1813
|
name: "ChildDelete",
|
|
1814
1814
|
class: "svg-icon-content",
|
|
1815
1815
|
style: { width: "24px", height: "24px" },
|
|
@@ -1827,7 +1827,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1827
1827
|
onClick: Ke
|
|
1828
1828
|
}, {
|
|
1829
1829
|
icon: be(() => [
|
|
1830
|
-
ee(
|
|
1830
|
+
ee(S, {
|
|
1831
1831
|
name: "Plus",
|
|
1832
1832
|
class: "icon-size"
|
|
1833
1833
|
})
|
|
@@ -1844,13 +1844,13 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1844
1844
|
L("div", no, [
|
|
1845
1845
|
L("div", oo, Je(u == null ? void 0 : u.label), 1),
|
|
1846
1846
|
L("div", uo, [
|
|
1847
|
-
ee(
|
|
1847
|
+
ee(S, {
|
|
1848
1848
|
name: "ChildFix",
|
|
1849
1849
|
style: { width: "24px", height: "24px" },
|
|
1850
1850
|
class: "svg-icon-content",
|
|
1851
1851
|
onClick: (B) => ie(u)
|
|
1852
1852
|
}, null, 8, ["onClick"]),
|
|
1853
|
-
ee(
|
|
1853
|
+
ee(S, {
|
|
1854
1854
|
name: "ChildDelete",
|
|
1855
1855
|
class: "svg-icon-content",
|
|
1856
1856
|
style: { width: "24px", height: "24px" },
|
|
@@ -1868,7 +1868,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1868
1868
|
onClick: Ye
|
|
1869
1869
|
}, {
|
|
1870
1870
|
icon: be(() => [
|
|
1871
|
-
ee(
|
|
1871
|
+
ee(S, {
|
|
1872
1872
|
name: "Plus",
|
|
1873
1873
|
class: "icon-size"
|
|
1874
1874
|
})
|
|
@@ -1885,13 +1885,13 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
1885
1885
|
L("div", co, [
|
|
1886
1886
|
L("div", po, Je(u == null ? void 0 : u.label), 1),
|
|
1887
1887
|
L("div", fo, [
|
|
1888
|
-
ee(
|
|
1888
|
+
ee(S, {
|
|
1889
1889
|
name: "ChildFix",
|
|
1890
1890
|
style: { width: "24px", height: "24px" },
|
|
1891
1891
|
class: "svg-icon-content",
|
|
1892
1892
|
onClick: (B) => q(u)
|
|
1893
1893
|
}, null, 8, ["onClick"]),
|
|
1894
|
-
ee(
|
|
1894
|
+
ee(S, {
|
|
1895
1895
|
name: "ChildDelete",
|
|
1896
1896
|
class: "svg-icon-content",
|
|
1897
1897
|
style: { width: "24px", height: "24px" },
|
|
@@ -2091,7 +2091,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2091
2091
|
]);
|
|
2092
2092
|
};
|
|
2093
2093
|
}
|
|
2094
|
-
},
|
|
2094
|
+
}, So = /* @__PURE__ */ El(wo, [["__scopeId", "data-v-7a6b87b5"]]), Io = { class: "form-operate-content" }, xo = { class: "form-operate-item" }, Ao = { class: "operate-title" }, Eo = { class: "operate-content" }, To = { class: "fix-content" }, $o = { class: "fix-button" }, Bo = { class: "operate-title" }, Lo = { class: "operate-content" }, Oo = { class: "fix-content" }, Fo = { class: "fix-button" }, Ko = { style: { display: "flex", "justify-content": "space-between" } }, Uo = { class: "form-content" }, Po = { class: "dialog-footer" }, Ro = { class: "form-content" }, jo = {
|
|
2095
2095
|
__name: "operate",
|
|
2096
2096
|
props: {
|
|
2097
2097
|
itemContents: {
|
|
@@ -2146,7 +2146,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2146
2146
|
const Y = await $a(m == null ? void 0 : m.menuSelect);
|
|
2147
2147
|
q = q == null ? void 0 : q.map((ve) => ((ve == null ? void 0 : ve.name) === "组信息选项" && (ve.contents = Y), ve));
|
|
2148
2148
|
}
|
|
2149
|
-
y.value = m == null ? void 0 : m.id, r.value = await ua(
|
|
2149
|
+
y.value = m == null ? void 0 : m.id, r.value = await ua(Sa(q)), g.value = await ua(Sa(q));
|
|
2150
2150
|
}, R = (m) => {
|
|
2151
2151
|
var re;
|
|
2152
2152
|
c.value = !0;
|
|
@@ -2209,7 +2209,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2209
2209
|
}
|
|
2210
2210
|
).catch(() => {
|
|
2211
2211
|
});
|
|
2212
|
-
},
|
|
2212
|
+
}, I = (m) => {
|
|
2213
2213
|
ra.confirm("是否确认要删除", "", {
|
|
2214
2214
|
confirmButtonText: "确认",
|
|
2215
2215
|
cancelButtonText: "取消",
|
|
@@ -2263,14 +2263,14 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2263
2263
|
re != null && re.value && Ws(_e.value) && (_e.value = [_e.value]), !(re != null && re.value) && !Ws(_e.value) && (_e.value = "");
|
|
2264
2264
|
}, Ke = async (m) => {
|
|
2265
2265
|
var q, re, _e, $e, ie, Q, v, fe, Y, ve, ze, Re;
|
|
2266
|
-
if ((m == null ? void 0 : m.类型) !== ((re = (q = g.value) == null ? void 0 : q.find((
|
|
2267
|
-
let
|
|
2266
|
+
if ((m == null ? void 0 : m.类型) !== ((re = (q = g.value) == null ? void 0 : q.find((Se) => (Se == null ? void 0 : Se.label) === "类型")) == null ? void 0 : re.value)) {
|
|
2267
|
+
let Se = [];
|
|
2268
2268
|
const Qe = await ((ie = ($e = (_e = Nl) == null ? void 0 : _e.find((ne) => (ne == null ? void 0 : ne.key) === ((m == null ? void 0 : m.类型) === "" ? "Input" : m == null ? void 0 : m.类型))) == null ? void 0 : $e.value) == null ? void 0 : ie.value) ? await ((ve = (Y = (fe = Nl) == null ? void 0 : fe.find((ne) => (ne == null ? void 0 : ne.key) === ((m == null ? void 0 : m.类型) === "" ? "Input" : m == null ? void 0 : m.类型))) == null ? void 0 : Y.value) == null ? void 0 : ve.value) : (v = (Q = Nl) == null ? void 0 : Q.find((ne) => (ne == null ? void 0 : ne.key) === ((m == null ? void 0 : m.类型) === "" ? "Input" : m == null ? void 0 : m.类型))) == null ? void 0 : v.value;
|
|
2269
2269
|
if (Qe == null || Qe.forEach((ne) => {
|
|
2270
2270
|
var xe, je;
|
|
2271
2271
|
w.value++;
|
|
2272
2272
|
const Pe = hn(ne == null ? void 0 : ne.default) ? (m == null ? void 0 : m[ne.label]) ?? ne.value ?? "" : ne == null ? void 0 : ne.default;
|
|
2273
|
-
|
|
2273
|
+
Se.push({
|
|
2274
2274
|
label: ne == null ? void 0 : ne.label,
|
|
2275
2275
|
name: ne == null ? void 0 : ne.label,
|
|
2276
2276
|
type: ne.type,
|
|
@@ -2282,23 +2282,23 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2282
2282
|
});
|
|
2283
2283
|
}), m != null && m.菜单选项 && ((ze = m == null ? void 0 : m.菜单选项) == null ? void 0 : ze.length) > 0) {
|
|
2284
2284
|
const ne = await $a(m == null ? void 0 : m.菜单选项);
|
|
2285
|
-
|
|
2285
|
+
Se = Se == null ? void 0 : Se.map((Pe) => ((Pe == null ? void 0 : Pe.name) === "组信息选项" && (Pe.contents = ne), Pe));
|
|
2286
2286
|
}
|
|
2287
|
-
X(
|
|
2287
|
+
X(Se), g.value = await ua(s(Se)), r.value = await ua(s(Se));
|
|
2288
2288
|
} else {
|
|
2289
|
-
let
|
|
2290
|
-
if (
|
|
2289
|
+
let Se = s(g.value);
|
|
2290
|
+
if (Se = Se == null ? void 0 : Se.map((Qe) => (Qe.value = m == null ? void 0 : m[Qe.name], Qe)), m != null && m.菜单选项 && ((Re = m == null ? void 0 : m.菜单选项) == null ? void 0 : Re.length) > 0) {
|
|
2291
2291
|
const Qe = await $a(m == null ? void 0 : m.菜单选项);
|
|
2292
|
-
|
|
2292
|
+
Se = Se == null ? void 0 : Se.map((ne) => ((ne == null ? void 0 : ne.name) === "组信息选项" && (ne.contents = Qe), ne));
|
|
2293
2293
|
}
|
|
2294
|
-
|
|
2294
|
+
Se = Sa(Se), X(Se), g.value = await ua(s(Se));
|
|
2295
2295
|
}
|
|
2296
2296
|
}, Ye = (m) => {
|
|
2297
2297
|
m || (r.value = g.value);
|
|
2298
2298
|
}, dl = async (m) => {
|
|
2299
2299
|
await Ke(m), r.value = g.value;
|
|
2300
2300
|
}, ll = ui(async () => {
|
|
2301
|
-
var _e, $e, ie, Q, v, fe, Y, ve, ze, Re,
|
|
2301
|
+
var _e, $e, ie, Q, v, fe, Y, ve, ze, Re, Se, Qe;
|
|
2302
2302
|
r.value = g.value;
|
|
2303
2303
|
let m = {};
|
|
2304
2304
|
m.width = (($e = (_e = r.value) == null ? void 0 : _e[0]) == null ? void 0 : $e.width) ?? 1, y.value !== "" ? m.id = y.value : (w.value++, m.id = "id" + w.value);
|
|
@@ -2320,7 +2320,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2320
2320
|
}
|
|
2321
2321
|
p.value = p.value.map(({ id: ne, ...Pe }) => Pe), a.value = !1, y.value = "";
|
|
2322
2322
|
let re = s(n.originalItemContents);
|
|
2323
|
-
(
|
|
2323
|
+
(Se = s(n.originalItemContents)) != null && Se.find((ne) => (ne == null ? void 0 : ne.key) === "formContent") ? re = (Qe = s(n.originalItemContents)) == null ? void 0 : Qe.map((ne) => ((ne == null ? void 0 : ne.key) === "formContent" && (ne.contents = p.value), ne)) : re.push({
|
|
2324
2324
|
key: "formContent",
|
|
2325
2325
|
contents: p.value
|
|
2326
2326
|
}), l("change", re);
|
|
@@ -2337,7 +2337,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2337
2337
|
var ve;
|
|
2338
2338
|
let Y = v;
|
|
2339
2339
|
return Y.id = (v == null ? void 0 : v.id) ?? fe, v != null && v.label || (v.label = (v == null ? void 0 : v.key) ?? (v == null ? void 0 : v.label) ?? ""), v != null && v.type || (v.type = (v == null ? void 0 : v.type) ?? ""), v.contents = ((ve = v == null ? void 0 : v.options) == null ? void 0 : ve.length) === 0 ? (v == null ? void 0 : v.contents) ?? "" : v == null ? void 0 : v.options, Y;
|
|
2340
|
-
}), p.value =
|
|
2340
|
+
}), p.value = Sa(p.value), D.value = (Q = D.value) == null ? void 0 : Q.map((v, fe) => v = {
|
|
2341
2341
|
label: (v == null ? void 0 : v.label) ?? "",
|
|
2342
2342
|
type: (v == null ? void 0 : v.type) ?? "",
|
|
2343
2343
|
background: (v == null ? void 0 : v.background) ?? "var(--ssComponent-primary-color)",
|
|
@@ -2347,7 +2347,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2347
2347
|
{ deep: !0, immediate: !0 }
|
|
2348
2348
|
), (m, q) => {
|
|
2349
2349
|
const re = tl("svg-icon"), _e = tl("el-button");
|
|
2350
|
-
return ce(), Fe("div",
|
|
2350
|
+
return ce(), Fe("div", Io, [
|
|
2351
2351
|
L("div", xo, [
|
|
2352
2352
|
L("div", Ao, [
|
|
2353
2353
|
q[2] || (q[2] = L("div", null, Je("表单内容"), -1)),
|
|
@@ -2425,7 +2425,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2425
2425
|
name: "ChildDelete",
|
|
2426
2426
|
class: "svg-icon-content",
|
|
2427
2427
|
style: { width: "24px", height: "24px" },
|
|
2428
|
-
onClick: (Q) =>
|
|
2428
|
+
onClick: (Q) => I($e)
|
|
2429
2429
|
}, null, 8, ["onClick"])
|
|
2430
2430
|
])
|
|
2431
2431
|
])
|
|
@@ -2637,13 +2637,13 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2637
2637
|
var he, _;
|
|
2638
2638
|
switch (P) {
|
|
2639
2639
|
case "create":
|
|
2640
|
-
(he = r.value) == null || he.forEach((
|
|
2641
|
-
|
|
2640
|
+
(he = r.value) == null || he.forEach((I) => {
|
|
2641
|
+
I.value = "";
|
|
2642
2642
|
}), D.value = "create", c.visible = !0;
|
|
2643
2643
|
break;
|
|
2644
2644
|
case "update":
|
|
2645
|
-
(_ = r.value) == null || _.forEach((
|
|
2646
|
-
|
|
2645
|
+
(_ = r.value) == null || _.forEach((I) => {
|
|
2646
|
+
I.value = R[I == null ? void 0 : I.prop];
|
|
2647
2647
|
}), D.value = "update", c.visible = !0;
|
|
2648
2648
|
break;
|
|
2649
2649
|
case "delete":
|
|
@@ -2653,21 +2653,21 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2653
2653
|
}, se = (P) => {
|
|
2654
2654
|
var R, he, _;
|
|
2655
2655
|
if ((P == null ? void 0 : P.buttonName) === "确认") {
|
|
2656
|
-
const
|
|
2657
|
-
switch (Object.keys(
|
|
2658
|
-
|
|
2656
|
+
const I = s(P == null ? void 0 : P.content);
|
|
2657
|
+
switch (Object.keys(I).forEach((f) => {
|
|
2658
|
+
I[f] === "" && delete I[f];
|
|
2659
2659
|
}), D.value) {
|
|
2660
2660
|
case "create":
|
|
2661
2661
|
y.value.push({
|
|
2662
|
-
...
|
|
2662
|
+
...I,
|
|
2663
2663
|
index: ((R = y.value) == null ? void 0 : R.length) + 1
|
|
2664
2664
|
});
|
|
2665
2665
|
break;
|
|
2666
2666
|
case "update":
|
|
2667
|
-
y.value = (he = y.value) == null ? void 0 : he.map((f) => f.index === (
|
|
2667
|
+
y.value = (he = y.value) == null ? void 0 : he.map((f) => f.index === (I == null ? void 0 : I.index) ? {
|
|
2668
2668
|
...f,
|
|
2669
|
-
title:
|
|
2670
|
-
description:
|
|
2669
|
+
title: I == null ? void 0 : I.title,
|
|
2670
|
+
description: I == null ? void 0 : I.description
|
|
2671
2671
|
} : f);
|
|
2672
2672
|
break;
|
|
2673
2673
|
}
|
|
@@ -2701,7 +2701,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2701
2701
|
ee(_, {
|
|
2702
2702
|
class: "module-icon",
|
|
2703
2703
|
id: "themeButton",
|
|
2704
|
-
onClick: R[0] || (R[0] = (
|
|
2704
|
+
onClick: R[0] || (R[0] = (I) => w("create"))
|
|
2705
2705
|
}, {
|
|
2706
2706
|
icon: be(() => [
|
|
2707
2707
|
ee(he, {
|
|
@@ -2717,16 +2717,16 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2717
2717
|
})
|
|
2718
2718
|
]),
|
|
2719
2719
|
L("div", No, [
|
|
2720
|
-
(ce(!0), Fe(gl, null, wl(y.value, (
|
|
2720
|
+
(ce(!0), Fe(gl, null, wl(y.value, (I, f) => (ce(), Fe("div", {
|
|
2721
2721
|
class: "module-data-item",
|
|
2722
2722
|
key: f
|
|
2723
2723
|
}, [
|
|
2724
|
-
L("span", null, Je(
|
|
2724
|
+
L("span", null, Je(I == null ? void 0 : I.title), 1),
|
|
2725
2725
|
L("div", null, [
|
|
2726
2726
|
ee(_, {
|
|
2727
2727
|
type: "primary",
|
|
2728
2728
|
size: "small",
|
|
2729
|
-
onClick: (b) => w("update", { ...
|
|
2729
|
+
onClick: (b) => w("update", { ...I, index: f + 1 })
|
|
2730
2730
|
}, {
|
|
2731
2731
|
default: be(() => R[3] || (R[3] = [
|
|
2732
2732
|
al("修改")
|
|
@@ -2933,13 +2933,13 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2933
2933
|
var he, _;
|
|
2934
2934
|
switch (P) {
|
|
2935
2935
|
case "create":
|
|
2936
|
-
(he = D.value) == null || he.forEach((
|
|
2937
|
-
|
|
2936
|
+
(he = D.value) == null || he.forEach((I) => {
|
|
2937
|
+
I.value = "";
|
|
2938
2938
|
}), a.value = "create", y.visible = !0;
|
|
2939
2939
|
break;
|
|
2940
2940
|
case "update":
|
|
2941
|
-
(_ = D.value) == null || _.forEach((
|
|
2942
|
-
|
|
2941
|
+
(_ = D.value) == null || _.forEach((I) => {
|
|
2942
|
+
I.value = R[I == null ? void 0 : I.prop];
|
|
2943
2943
|
}), a.value = "update", y.visible = !0;
|
|
2944
2944
|
break;
|
|
2945
2945
|
case "delete":
|
|
@@ -2947,7 +2947,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2947
2947
|
break;
|
|
2948
2948
|
}
|
|
2949
2949
|
}, se = (P) => {
|
|
2950
|
-
var R, he, _,
|
|
2950
|
+
var R, he, _, I;
|
|
2951
2951
|
if ((P == null ? void 0 : P.buttonName) === "确认") {
|
|
2952
2952
|
const f = s(P == null ? void 0 : P.content);
|
|
2953
2953
|
switch (Object.keys(f).forEach((b) => {
|
|
@@ -2967,7 +2967,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2967
2967
|
} : b);
|
|
2968
2968
|
break;
|
|
2969
2969
|
}
|
|
2970
|
-
l("change", (
|
|
2970
|
+
l("change", (I = U()) == null ? void 0 : I.compData), y.visible = !1;
|
|
2971
2971
|
} else
|
|
2972
2972
|
y.visible = !1;
|
|
2973
2973
|
}, U = () => ({
|
|
@@ -2997,7 +2997,7 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
2997
2997
|
ee(_, {
|
|
2998
2998
|
class: "module-icon",
|
|
2999
2999
|
id: "themeButton",
|
|
3000
|
-
onClick: R[0] || (R[0] = (
|
|
3000
|
+
onClick: R[0] || (R[0] = (I) => w("create"))
|
|
3001
3001
|
}, {
|
|
3002
3002
|
icon: be(() => [
|
|
3003
3003
|
ee(he, {
|
|
@@ -3013,16 +3013,16 @@ const mn = { class: "form-content" }, gn = { title: "选择标签" }, bn = {
|
|
|
3013
3013
|
})
|
|
3014
3014
|
]),
|
|
3015
3015
|
L("div", Jo, [
|
|
3016
|
-
(ce(!0), Fe(gl, null, wl(g.value, (
|
|
3016
|
+
(ce(!0), Fe(gl, null, wl(g.value, (I, f) => (ce(), Fe("div", {
|
|
3017
3017
|
class: "module-data-item",
|
|
3018
3018
|
key: f
|
|
3019
3019
|
}, [
|
|
3020
|
-
L("span", null, Je(
|
|
3020
|
+
L("span", null, Je(I == null ? void 0 : I.content), 1),
|
|
3021
3021
|
L("div", null, [
|
|
3022
3022
|
ee(_, {
|
|
3023
3023
|
type: "primary",
|
|
3024
3024
|
size: "small",
|
|
3025
|
-
onClick: (b) => w("update", { ...
|
|
3025
|
+
onClick: (b) => w("update", { ...I, index: f + 1 })
|
|
3026
3026
|
}, {
|
|
3027
3027
|
default: be(() => R[3] || (R[3] = [
|
|
3028
3028
|
al("修改")
|
|
@@ -3104,9 +3104,9 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3104
3104
|
Dl(
|
|
3105
3105
|
() => [n.itemData],
|
|
3106
3106
|
() => {
|
|
3107
|
-
var
|
|
3107
|
+
var I;
|
|
3108
3108
|
const _ = s(n.itemData);
|
|
3109
|
-
a.value = (
|
|
3109
|
+
a.value = (I = s(_)) == null ? void 0 : I.map((f) => {
|
|
3110
3110
|
var b;
|
|
3111
3111
|
if (f.key === "extra") {
|
|
3112
3112
|
let le = [];
|
|
@@ -3120,13 +3120,13 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3120
3120
|
},
|
|
3121
3121
|
{ deep: !0, immediate: !0 }
|
|
3122
3122
|
);
|
|
3123
|
-
const A = (_,
|
|
3123
|
+
const A = (_, I, f, b) => {
|
|
3124
3124
|
var X;
|
|
3125
3125
|
let le = {};
|
|
3126
|
-
((X = _ == null ? void 0 : _[0]) == null ? void 0 : X.contents) === "详情" && (c.value = !0, le[
|
|
3126
|
+
((X = _ == null ? void 0 : _[0]) == null ? void 0 : X.contents) === "详情" && (c.value = !0, le[I] = _, r.value = _ == null ? void 0 : _.filter((Ke) => (Ke == null ? void 0 : Ke.key) !== "tableContentName"), D.value = le, p.value = f, y.value = b.id);
|
|
3127
3127
|
}, w = (_) => {
|
|
3128
3128
|
var Ke, Ye, dl, ll;
|
|
3129
|
-
const
|
|
3129
|
+
const I = (Ye = (Ke = Object.values(s(D.value))) == null ? void 0 : Ke[0]) == null ? void 0 : Ye.filter((qe) => (qe == null ? void 0 : qe.key) === "tableContentName"), f = (ll = (dl = Object.values(s(D.value))) == null ? void 0 : dl[0]) == null ? void 0 : ll.filter((qe) => (qe == null ? void 0 : qe.key) !== "tableContentName"), b = f == null ? void 0 : f.map((qe, m) => {
|
|
3130
3130
|
var q;
|
|
3131
3131
|
return m === _.index && (qe == null ? void 0 : qe.comp) === "Table" && (qe.compData = (q = qe.compData) == null ? void 0 : q.map((re) => {
|
|
3132
3132
|
var _e, $e;
|
|
@@ -3138,7 +3138,7 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3138
3138
|
})) == null ? void 0 : $e.map((ie) => Object.values(ie))), re;
|
|
3139
3139
|
})), qe;
|
|
3140
3140
|
});
|
|
3141
|
-
b.unshift(
|
|
3141
|
+
b.unshift(I == null ? void 0 : I[0]);
|
|
3142
3142
|
let le = s(D.value), X = {};
|
|
3143
3143
|
for (let qe in le)
|
|
3144
3144
|
X[qe] = b;
|
|
@@ -3147,17 +3147,17 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3147
3147
|
c.value = !1, D.value = {}, p.value = {}, y.value = void 0, l.value++;
|
|
3148
3148
|
}, U = (_) => {
|
|
3149
3149
|
var Ke, Ye, dl, ll;
|
|
3150
|
-
const
|
|
3151
|
-
b.unshift(
|
|
3150
|
+
const I = (Ye = (Ke = Object.values(s(D.value))) == null ? void 0 : Ke[0]) == null ? void 0 : Ye.filter((qe) => (qe == null ? void 0 : qe.key) === "tableContentName"), f = (ll = (dl = Object.values(s(D.value))) == null ? void 0 : dl[0]) == null ? void 0 : ll.filter((qe) => (qe == null ? void 0 : qe.key) !== "tableContentName"), b = f == null ? void 0 : f.map((qe, m) => (m === _.index && (qe.compData = _.contents), qe));
|
|
3151
|
+
b.unshift(I == null ? void 0 : I[0]);
|
|
3152
3152
|
let le = s(D.value), X = {};
|
|
3153
3153
|
for (let qe in le)
|
|
3154
3154
|
X[qe] = b;
|
|
3155
3155
|
D.value = X;
|
|
3156
3156
|
}, we = () => {
|
|
3157
|
-
var
|
|
3157
|
+
var I, f;
|
|
3158
3158
|
let _ = {};
|
|
3159
3159
|
for (let b in p.value)
|
|
3160
|
-
b === ((
|
|
3160
|
+
b === ((I = Object.keys(D.value)) == null ? void 0 : I[0]) ? _[b] = (f = Object.values(D.value)) == null ? void 0 : f[0] : _[b] = p.value[b];
|
|
3161
3161
|
g("change", {
|
|
3162
3162
|
buttonName: "编辑",
|
|
3163
3163
|
index: y.value,
|
|
@@ -3168,7 +3168,7 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3168
3168
|
}, R = (_) => {
|
|
3169
3169
|
g("change", _, "methodData");
|
|
3170
3170
|
}, he = (_) => Za(_);
|
|
3171
|
-
return (_,
|
|
3171
|
+
return (_, I) => {
|
|
3172
3172
|
const f = tl("el-button");
|
|
3173
3173
|
return ce(), Fe("div", au, [
|
|
3174
3174
|
(ce(!0), Fe(gl, null, wl(a.value, (b, le) => (ce(), Fe("div", { key: l.value }, [
|
|
@@ -3210,7 +3210,7 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3210
3210
|
onClick: se,
|
|
3211
3211
|
id: "themeBorderButton"
|
|
3212
3212
|
}, {
|
|
3213
|
-
default: be(() =>
|
|
3213
|
+
default: be(() => I[0] || (I[0] = [
|
|
3214
3214
|
al(Je("取消"))
|
|
3215
3215
|
])),
|
|
3216
3216
|
_: 1,
|
|
@@ -3221,7 +3221,7 @@ const lu = /* @__PURE__ */ El(Zo, [["render", eu]]), au = { class: "extra-conten
|
|
|
3221
3221
|
onClick: we,
|
|
3222
3222
|
id: "themeButton"
|
|
3223
3223
|
}, {
|
|
3224
|
-
default: be(() =>
|
|
3224
|
+
default: be(() => I[1] || (I[1] = [
|
|
3225
3225
|
al(Je("确认"))
|
|
3226
3226
|
])),
|
|
3227
3227
|
_: 1,
|
|
@@ -3282,7 +3282,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3282
3282
|
r++, g.includes("{") || a.includes("{") || g.includes("[") || a.includes("[") || g.includes("【") || a.includes("【") || g.includes("(") || a.includes("(") || g.includes("(") || a.includes("(") || g.includes("/*") || a.includes("/*") ? (a += g.trim(), s(a).split("{").length - 1 === s(a).split("}").length - 1 && s(a).split("【").length - 1 === s(a).split("】").length - 1 && s(a).split("[").length - 1 === s(a).split("]").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("(").length - 1 === s(a).split(")").length - 1 && s(a).split("/*").length - 1 === s(a).split("*/").length - 1 && a[a.length - 1] === o && Js(a, "'") ? (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "") : r === (e == null ? void 0 : e.length) && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = "")) : (a += g.trim(), (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === o && Js(a, "'") && (l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), a = ""));
|
|
3283
3283
|
return (a == null ? void 0 : a.length) !== 0 && l.push(a.replace(/\/\*[\s\S]*?\*\//g, "")), l;
|
|
3284
3284
|
}, Gt = (e) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(s(e)), Ht = (e) => {
|
|
3285
|
-
var o, n, l, a, r, g, c, D, p, y, A, w, se, U, we, P, R, he, _,
|
|
3285
|
+
var o, n, l, a, r, g, c, D, p, y, A, w, se, U, we, P, R, he, _, I, f, b, le, X, Ke, Ye, dl, ll, qe, m, q, re, _e, $e, ie, Q, v, fe, Y, ve, ze, Re, Se, Qe, ne, Pe, xe, je, z, T, ae, te, Me, de, i, t, S, h, u, K, B, O, E, x, me, G, j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee, Ie;
|
|
3286
3286
|
if (ru(e)) {
|
|
3287
3287
|
let De = {}, pe = (l = (n = (o = e == null ? void 0 : e.replace(":", nl)) == null ? void 0 : o.split(nl)) == null ? void 0 : n[0]) == null ? void 0 : l.replaceAll("'", ""), oe = "", Ne = "", M = (r = (a = e == null ? void 0 : e.replace(":", nl)) == null ? void 0 : a.split(nl)) == null ? void 0 : r[1];
|
|
3288
3288
|
if ((M == null ? void 0 : M[0]) === "(" && (Ne = (D = (c = (g = M == null ? void 0 : M.split("(")) == null ? void 0 : g[1]) == null ? void 0 : c.split(")")) == null ? void 0 : D[0], M = (y = (p = M == null ? void 0 : M.replace(")", nl)) == null ? void 0 : p.split(nl)) == null ? void 0 : y[1]), ((A = Es(M, "/")) == null ? void 0 : A.length) > 1)
|
|
@@ -3290,7 +3290,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3290
3290
|
(ye) => ye == null ? void 0 : ye.replaceAll("/", "").replaceAll("'", "")
|
|
3291
3291
|
);
|
|
3292
3292
|
else if (M.includes("{") || M.includes("("))
|
|
3293
|
-
if (M.includes("{") ? oe = oe + ((he = (R = (P = (we = (U = (se = M == null ? void 0 : M.split("{")) == null ? void 0 : se[1]) == null ? void 0 : U.split("}")) == null ? void 0 : we[0]) == null ? void 0 : P.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : R.replaceAll("[", "([")) == null ? void 0 : he.replaceAll("]", "])")) + "[" : oe = oe + ((X = (le = (b = (f = (
|
|
3293
|
+
if (M.includes("{") ? oe = oe + ((he = (R = (P = (we = (U = (se = M == null ? void 0 : M.split("{")) == null ? void 0 : se[1]) == null ? void 0 : U.split("}")) == null ? void 0 : we[0]) == null ? void 0 : P.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : R.replaceAll("[", "([")) == null ? void 0 : he.replaceAll("]", "])")) + "[" : oe = oe + ((X = (le = (b = (f = (I = (_ = M == null ? void 0 : M.split("(")) == null ? void 0 : _[1]) == null ? void 0 : I.split(")")) == null ? void 0 : f[0]) == null ? void 0 : b.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : le.replaceAll("[", "([")) == null ? void 0 : X.replaceAll("]", "])")) + "[", !((Ke = M == null ? void 0 : M.split(")")) != null && Ke[1]))
|
|
3294
3294
|
oe = oe + ((ll = (dl = (Ye = M == null ? void 0 : M.split("[")) == null ? void 0 : Ye[1]) == null ? void 0 : dl.split("]")) == null ? void 0 : ll[0]) + "]";
|
|
3295
3295
|
else {
|
|
3296
3296
|
const ye = (re = (q = (m = (qe = M == null ? void 0 : M.split(")")) == null ? void 0 : qe[1]) == null ? void 0 : m.replace("[", nl)) == null ? void 0 : q.split(nl)) == null ? void 0 : re[1];
|
|
@@ -3305,7 +3305,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3305
3305
|
else if (!(e != null && e.includes("?")))
|
|
3306
3306
|
oe = (Re = (ze = (ve = e == null ? void 0 : e.replace(":", nl)) == null ? void 0 : ve.split(nl)) == null ? void 0 : ze[1]) == null ? void 0 : Re.replaceAll("'", "");
|
|
3307
3307
|
else {
|
|
3308
|
-
let ye = (ne = (Qe = (
|
|
3308
|
+
let ye = (ne = (Qe = (Se = e == null ? void 0 : e.replace(":", nl)) == null ? void 0 : Se.split(nl)) == null ? void 0 : Qe[1]) == null ? void 0 : ne.replaceAll("'", "");
|
|
3309
3309
|
oe = ((je = (xe = (Pe = ye == null ? void 0 : ye.split("?")) == null ? void 0 : Pe[1]) == null ? void 0 : xe.split(":")) == null ? void 0 : je[0]) + "&&" + ((z = ye == null ? void 0 : ye.split("?")) == null ? void 0 : z[0]);
|
|
3310
3310
|
}
|
|
3311
3311
|
return De[pe] = Ne !== "" ? Ne + "$##" + oe : oe, {
|
|
@@ -3317,7 +3317,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3317
3317
|
if (e.includes("#")) {
|
|
3318
3318
|
pe = (ae = (T = e == null ? void 0 : e.split("#")) == null ? void 0 : T[0]) == null ? void 0 : ae.replaceAll("'", "");
|
|
3319
3319
|
let Ne = (Me = (te = e == null ? void 0 : e.split("#")) == null ? void 0 : te[1]) == null ? void 0 : Me.replaceAll("'", "");
|
|
3320
|
-
Ne != null && Ne.includes("{") ? oe = oe + ((
|
|
3320
|
+
Ne != null && Ne.includes("{") ? oe = oe + ((S = (t = (i = (de = Ne == null ? void 0 : Ne.split("{")) == null ? void 0 : de[1]) == null ? void 0 : i.split("}")) == null ? void 0 : t[0]) == null ? void 0 : S.replaceAll(":", "/").replaceAll("'", "")) + "[" : oe = oe + ((B = (K = (u = (h = Ne == null ? void 0 : Ne.split("(")) == null ? void 0 : h[1]) == null ? void 0 : u.split(")")) == null ? void 0 : K[0]) == null ? void 0 : B.replaceAll(":", "/").replaceAll("'", "")) + "[", oe = oe + ((j = (E = (O = Ne == null ? void 0 : Ne.replace("[", nl)) == null ? void 0 : O.split(nl)) == null ? void 0 : E[1]) == null ? void 0 : j.slice(0, ((G = (me = (x = Ne == null ? void 0 : Ne.replace("[", nl)) == null ? void 0 : x.split(nl)) == null ? void 0 : me[1]) == null ? void 0 : G.length) - 1));
|
|
3321
3321
|
} else {
|
|
3322
3322
|
let Ne = ($ = (Z = (C = e == null ? void 0 : e.split("]")) == null ? void 0 : C[0]) == null ? void 0 : Z.split("[")) == null ? void 0 : $[1];
|
|
3323
3323
|
if ((H = Ne == null ? void 0 : Ne.split(":")) == null || H.forEach((M, ye) => {
|
|
@@ -3327,7 +3327,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3327
3327
|
oe = ((F = (k = (ke = (J = e == null ? void 0 : e.split("]")) == null ? void 0 : J[1]) == null ? void 0 : ke.replace(":", nl).split(nl)) == null ? void 0 : k[1]) == null ? void 0 : F.replaceAll("'", "")) ?? "";
|
|
3328
3328
|
else {
|
|
3329
3329
|
let M = (Ee = (N = (Be = (ge = (Ae = (W = s(e)) == null ? void 0 : W.split("(")) == null ? void 0 : Ae[1]) == null ? void 0 : ge.split(")")) == null ? void 0 : Be[0]) == null ? void 0 : N.replaceAll("{", "").replaceAll("}", "")) == null ? void 0 : Ee.replaceAll("'", "").replaceAll(":", "/"), ye = "";
|
|
3330
|
-
(
|
|
3330
|
+
(Ie = Ne == null ? void 0 : Ne.split(":")) == null || Ie.forEach((Ce) => {
|
|
3331
3331
|
ye = ye === "" ? ye + (Ce == null ? void 0 : Ce.replaceAll("'", "")) : ye + ":" + (Ce == null ? void 0 : Ce.replaceAll("'", ""));
|
|
3332
3332
|
}), oe = M + "[" + ye + "]";
|
|
3333
3333
|
}
|
|
@@ -3352,19 +3352,19 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3352
3352
|
});
|
|
3353
3353
|
let l = [], a = [];
|
|
3354
3354
|
return n == null || n.forEach((y) => {
|
|
3355
|
-
var se, U, we, P, R, he, _,
|
|
3355
|
+
var se, U, we, P, R, he, _, I, f, b, le, X, Ke, Ye, dl, ll, qe, m, q, re, _e, $e, ie, Q, v, fe, Y, ve, ze, Re, Se, Qe, ne, Pe, xe, je, z, T, ae, te, Me, de, i, t, S, h, u, K;
|
|
3356
3356
|
let A = (U = (se = s(y)) == null ? void 0 : se.slice(1, s(y).length - 1)) == null ? void 0 : U.replace(":", nl).split(nl);
|
|
3357
3357
|
if (((P = (we = s(A)) == null ? void 0 : we[0]) == null ? void 0 : P.replaceAll("'", "")) === "输入") {
|
|
3358
|
-
if (!((he = (R = s(A)) == null ? void 0 : R[1]) != null && he.includes("[")) && !((
|
|
3358
|
+
if (!((he = (R = s(A)) == null ? void 0 : R[1]) != null && he.includes("[")) && !((I = (_ = s(A)) == null ? void 0 : _[1]) != null && I.includes("("))) {
|
|
3359
3359
|
xs((f = s(A)) == null ? void 0 : f[1].replaceAll("'", '"')) && a.push(JSON.parse((b = s(A)) == null ? void 0 : b[1].replaceAll("'", '"')));
|
|
3360
3360
|
return;
|
|
3361
3361
|
}
|
|
3362
3362
|
if (((X = (le = s(A)) == null ? void 0 : le[1]) == null ? void 0 : X[0]) === "[") {
|
|
3363
3363
|
let B = (ll = (Ke = s(A)) == null ? void 0 : Ke[1]) == null ? void 0 : ll.slice(1, ((dl = (Ye = s(A)) == null ? void 0 : Ye[1]) == null ? void 0 : dl.length) - 1);
|
|
3364
3364
|
(m = (qe = is(B)) == null ? void 0 : qe.filter((O) => O !== ",")) == null || m.forEach((O) => {
|
|
3365
|
-
var j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee,
|
|
3365
|
+
var j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee, Ie, De, pe, oe, Ne, M, ye;
|
|
3366
3366
|
let E = {}, x = (Z = (C = s(O)) == null ? void 0 : C.slice(1, ((j = s(O)) == null ? void 0 : j.length) - 1)) == null ? void 0 : Z.replace(":", nl).split(nl), me = ($ = x == null ? void 0 : x[0]) == null ? void 0 : $.replaceAll("'", ""), G;
|
|
3367
|
-
(H = x == null ? void 0 : x[1]) != null && H.includes("(") ? (G = (N = (Be = (ge = (Ae = (W = (F = (k = (ke = s(x)) == null ? void 0 : ke[1]) == null ? void 0 : k.replaceAll("{", "")) == null ? void 0 : F.replaceAll("}", "")) == null ? void 0 : W.split("(")) == null ? void 0 : Ae[1]) == null ? void 0 : ge.split(")")) == null ? void 0 : Be[0]) == null ? void 0 : N.replaceAll(":", "/").replaceAll("'", ""), (
|
|
3367
|
+
(H = x == null ? void 0 : x[1]) != null && H.includes("(") ? (G = (N = (Be = (ge = (Ae = (W = (F = (k = (ke = s(x)) == null ? void 0 : ke[1]) == null ? void 0 : k.replaceAll("{", "")) == null ? void 0 : F.replaceAll("}", "")) == null ? void 0 : W.split("(")) == null ? void 0 : Ae[1]) == null ? void 0 : ge.split(")")) == null ? void 0 : Be[0]) == null ? void 0 : N.replaceAll(":", "/").replaceAll("'", ""), (Ie = (Ee = s(x)) == null ? void 0 : Ee[1]) != null && Ie.includes("[") && (G = s(G) + "[" + ((ye = (M = (Ne = (oe = (pe = (De = s(x)) == null ? void 0 : De[1]) == null ? void 0 : pe.split("[")) == null ? void 0 : oe[1]) == null ? void 0 : Ne.split("]")) == null ? void 0 : M[0]) == null ? void 0 : ye.replaceAll("'", "")) + "]")) : G = (J = x == null ? void 0 : x[1]) == null ? void 0 : J.replaceAll("'", ""), E[me] = G, a.push(E);
|
|
3368
3368
|
});
|
|
3369
3369
|
}
|
|
3370
3370
|
} else {
|
|
@@ -3374,13 +3374,13 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3374
3374
|
}
|
|
3375
3375
|
if (((fe = (v = s(A)) == null ? void 0 : v[1]) == null ? void 0 : fe[0]) === "[") {
|
|
3376
3376
|
let B = (Re = (Y = s(A)) == null ? void 0 : Y[1]) == null ? void 0 : Re.slice(1, ((ze = (ve = s(A)) == null ? void 0 : ve[1]) == null ? void 0 : ze.length) - 1);
|
|
3377
|
-
(Qe = (
|
|
3378
|
-
var j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee,
|
|
3377
|
+
(Qe = (Se = is(B)) == null ? void 0 : Se.filter((O) => O !== ",")) == null || Qe.forEach((O) => {
|
|
3378
|
+
var j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be, N, Ee, Ie, De, pe, oe, Ne, M, ye, Ce, Le, d, ue, We, Ue, Xe, Ve, He, Te, Oe, Ge, Ze, kl;
|
|
3379
3379
|
let E = {}, x = (Z = (C = s(O)) == null ? void 0 : C.slice(1, ((j = s(O)) == null ? void 0 : j.length) - 1)) == null ? void 0 : Z.replace(":", nl).split(nl), me = ($ = x == null ? void 0 : x[0]) == null ? void 0 : $.replaceAll("'", ""), G;
|
|
3380
3380
|
if (!((H = x == null ? void 0 : x[1]) != null && H.includes("(")))
|
|
3381
3381
|
G = (J = x == null ? void 0 : x[1]) == null ? void 0 : J.replaceAll("'", "");
|
|
3382
3382
|
else if (G = (ge = (Ae = (W = (F = (k = (ke = s(x)) == null ? void 0 : ke[1]) == null ? void 0 : k.replaceAll("{", "")) == null ? void 0 : F.replaceAll("}", "")) == null ? void 0 : W.replace("(", nl)) == null ? void 0 : Ae.split(nl)) == null ? void 0 : ge[1], G = (N = (Be = tu(s(G), nl)) == null ? void 0 : Be.split(nl)) == null ? void 0 : N[0], !(G != null && G.includes("(")))
|
|
3383
|
-
G = (Ee = s(G)) == null ? void 0 : Ee.replaceAll(":", "/").replaceAll("'", ""), (De = (
|
|
3383
|
+
G = (Ee = s(G)) == null ? void 0 : Ee.replaceAll(":", "/").replaceAll("'", ""), (De = (Ie = s(x)) == null ? void 0 : Ie[1]) != null && De.includes("[") && (G = s(G) + "[" + ((ue = (d = (Le = (Ce = (oe = (pe = s(x)) == null ? void 0 : pe[1]) == null ? void 0 : oe.split("[")) == null ? void 0 : Ce[((ye = (M = (Ne = s(x)) == null ? void 0 : Ne[1]) == null ? void 0 : M.split("[")) == null ? void 0 : ye.length) - 1]) == null ? void 0 : Le.split("]")) == null ? void 0 : d[0]) == null ? void 0 : ue.replaceAll("'", "")) + "]");
|
|
3384
3384
|
else {
|
|
3385
3385
|
let fl = "";
|
|
3386
3386
|
(We = us(G, ":")) == null || We.forEach((il) => {
|
|
@@ -3396,7 +3396,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3396
3396
|
E[me] = G, l.push(E);
|
|
3397
3397
|
});
|
|
3398
3398
|
} else {
|
|
3399
|
-
let B = (je = (ne = s(A)) == null ? void 0 : ne[1]) == null ? void 0 : je.slice(1, ((xe = (Pe = s(A)) == null ? void 0 : Pe[1]) == null ? void 0 : xe.length) - 1), O = {}, E = (
|
|
3399
|
+
let B = (je = (ne = s(A)) == null ? void 0 : ne[1]) == null ? void 0 : je.slice(1, ((xe = (Pe = s(A)) == null ? void 0 : Pe[1]) == null ? void 0 : xe.length) - 1), O = {}, E = (S = (t = (ae = (T = (z = s(B)) == null ? void 0 : z.split("]")) == null ? void 0 : T[0]) == null ? void 0 : ae.split(":")) == null ? void 0 : t[((i = (de = (Me = (te = s(B)) == null ? void 0 : te.split("]")) == null ? void 0 : Me[0]) == null ? void 0 : de.split(":")) == null ? void 0 : i.length) - 1]) == null ? void 0 : S.replaceAll("'", ""), x = ((K = (u = (h = s(B)) == null ? void 0 : h.split("]")) == null ? void 0 : u[0]) == null ? void 0 : K.replaceAll("'", "")) + "]";
|
|
3400
3400
|
O[E] = x, l.push(O);
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
@@ -3445,7 +3445,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3445
3445
|
var n, l;
|
|
3446
3446
|
return ((l = (n = Object.keys(o)) == null ? void 0 : n.filter((a) => a == null ? void 0 : a.includes("name"))) == null ? void 0 : l.length) === 1;
|
|
3447
3447
|
}) ? e : fu(e), vu = async () => {
|
|
3448
|
-
var r, g, c, D, p, y, A, w, se, U, we, P, R, he, _,
|
|
3448
|
+
var r, g, c, D, p, y, A, w, se, U, we, P, R, he, _, I, f, b, le, X, Ke, Ye, dl, ll, qe, m, q, re, _e, $e, ie, Q, v, fe, Y, ve, ze, Re, Se, Qe, ne, Pe, xe, je, z, T, ae, te, Me, de, i, t, S, h, u, K, B, O, E, x, me, G, j, C, Z, $, H;
|
|
3449
3449
|
oa.setImportLoading(!0);
|
|
3450
3450
|
let e = "";
|
|
3451
3451
|
const o = await Wl({
|
|
@@ -3460,7 +3460,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3460
3460
|
e = (we = (U = s(J)) == null ? void 0 : U[0]) == null ? void 0 : we.label;
|
|
3461
3461
|
}
|
|
3462
3462
|
let n = wa.value;
|
|
3463
|
-
(he = wa.value) != null && he.includes(`updateLoading${((P = Kl.value) == null ? void 0 : P.account) || ((R = Kl.value) == null ? void 0 : R.账号)}`) ? n = s(wa).value : (f = wa.value) != null && f.includes(`loading${((_ = Kl.value) == null ? void 0 : _.account) || ((
|
|
3463
|
+
(he = wa.value) != null && he.includes(`updateLoading${((P = Kl.value) == null ? void 0 : P.account) || ((R = Kl.value) == null ? void 0 : R.账号)}`) ? n = s(wa).value : (f = wa.value) != null && f.includes(`loading${((_ = Kl.value) == null ? void 0 : _.account) || ((I = Kl.value) == null ? void 0 : I.账号)}`) && (n = s(la).value + zl + `loading${((b = Kl.value) == null ? void 0 : b.account) || ((le = Kl.value) == null ? void 0 : le.账号)}`);
|
|
3464
3464
|
const l = await Wl({
|
|
3465
3465
|
key: {
|
|
3466
3466
|
pageKey: n,
|
|
@@ -3490,11 +3490,11 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3490
3490
|
});
|
|
3491
3491
|
if (((te = (ae = Ae == null ? void 0 : Ae.data) == null ? void 0 : ae.result) == null ? void 0 : te.length) > 0) {
|
|
3492
3492
|
let ge = (Me = l == null ? void 0 : l.data) == null ? void 0 : Me.result, Be = (de = s(ge)) == null ? void 0 : de.map(async (N) => {
|
|
3493
|
-
var Ee,
|
|
3493
|
+
var Ee, Ie, De, pe, oe, Ne, M, ye, Ce, Le, d, ue, We, Ue;
|
|
3494
3494
|
if (((Ee = N == null ? void 0 : N.key) == null ? void 0 : Ee.type) === "structure") {
|
|
3495
|
-
let Xe = (oe = (pe = (De = (
|
|
3495
|
+
let Xe = (oe = (pe = (De = (Ie = N == null ? void 0 : N.value) == null ? void 0 : Ie.pageData) == null ? void 0 : De.compData) == null ? void 0 : pe.find((Ve) => (Ve == null ? void 0 : Ve.key) === "parentFormPath")) == null ? void 0 : oe.contents;
|
|
3496
3496
|
if (Xe) {
|
|
3497
|
-
let Ve = await
|
|
3497
|
+
let Ve = await Sl(Xe, sessionStorage.getItem("systemKey"), ""), He = (Ce = (ye = (M = (Ne = N == null ? void 0 : N.value) == null ? void 0 : Ne.pageData) == null ? void 0 : M.compData) == null ? void 0 : ye.find((Oe) => (Oe == null ? void 0 : Oe.key) === "formContent")) == null ? void 0 : Ce.contents, Te = Ve == null ? void 0 : Ve.filter((Oe) => (Oe == null ? void 0 : Oe.comp) === "Form");
|
|
3498
3498
|
Te == null || Te.forEach((Oe) => {
|
|
3499
3499
|
var Ge;
|
|
3500
3500
|
(Ge = Oe == null ? void 0 : Oe.compData) == null || Ge.forEach((Ze) => {
|
|
@@ -3543,8 +3543,8 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
});
|
|
3545
3545
|
await Promise.all(Be), (t = (i = l == null ? void 0 : l.data) == null ? void 0 : i.result) == null || t.forEach((N) => {
|
|
3546
|
-
var
|
|
3547
|
-
let Ee = (
|
|
3546
|
+
var Ie, De, pe;
|
|
3547
|
+
let Ee = (Ie = s(N)) == null ? void 0 : Ie.key;
|
|
3548
3548
|
Ee.pageKey = s(la).value + zl + J + zl + `updateLoading${((De = Kl.value) == null ? void 0 : De.account) || ((pe = Kl.value) == null ? void 0 : pe.账号)}`, oa.setChildMenu(Ee.pageKey), a.push({
|
|
3549
3549
|
id: N == null ? void 0 : N.id,
|
|
3550
3550
|
key: Ee
|
|
@@ -3558,7 +3558,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3558
3558
|
if ((a == null ? void 0 : a.length) > 0) {
|
|
3559
3559
|
await Ja({
|
|
3560
3560
|
dataList: a
|
|
3561
|
-
}), (
|
|
3561
|
+
}), (S = a == null ? void 0 : a[0]) != null && S.key && await za.setLogRecordAsync({
|
|
3562
3562
|
type: "保存",
|
|
3563
3563
|
data: a
|
|
3564
3564
|
}, (h = a == null ? void 0 : a[0]) == null ? void 0 : h.key), (F == null ? void 0 : F.length) > 0 && (await ds({
|
|
@@ -3576,8 +3576,8 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3576
3576
|
if (((me = (x = ge == null ? void 0 : ge.data) == null ? void 0 : x.result) == null ? void 0 : me.length) > 0) {
|
|
3577
3577
|
let Be = [], N = (G = l == null ? void 0 : l.data) == null ? void 0 : G.result;
|
|
3578
3578
|
(j = s(N)) == null || j.forEach((Ee) => {
|
|
3579
|
-
var
|
|
3580
|
-
if (((
|
|
3579
|
+
var Ie, De, pe, oe, Ne, M, ye, Ce, Le, d, ue, We;
|
|
3580
|
+
if (((Ie = Ee == null ? void 0 : Ee.key) == null ? void 0 : Ie.type) !== "structure") {
|
|
3581
3581
|
let Ue = (oe = (pe = (De = ge == null ? void 0 : ge.data) == null ? void 0 : De.result) == null ? void 0 : pe.filter((Te) => {
|
|
3582
3582
|
var Oe;
|
|
3583
3583
|
return ((Oe = Te == null ? void 0 : Te.key) == null ? void 0 : Oe.type) === "data";
|
|
@@ -3599,10 +3599,10 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3599
3599
|
ids: Be
|
|
3600
3600
|
})), (Z = (C = l == null ? void 0 : l.data) == null ? void 0 : C.result) == null || Z.forEach((Ee) => {
|
|
3601
3601
|
var De, pe, oe;
|
|
3602
|
-
let
|
|
3603
|
-
|
|
3602
|
+
let Ie = (De = s(Ee)) == null ? void 0 : De.key;
|
|
3603
|
+
Ie.pageKey = s(la).value + zl + J + zl + `updateLoading${((pe = Kl.value) == null ? void 0 : pe.account) || ((oe = Kl.value) == null ? void 0 : oe.账号)}`, oa.setChildMenu(Ie.pageKey), a.push({
|
|
3604
3604
|
id: Ee == null ? void 0 : Ee.id,
|
|
3605
|
-
key:
|
|
3605
|
+
key: Ie
|
|
3606
3606
|
});
|
|
3607
3607
|
});
|
|
3608
3608
|
}
|
|
@@ -3630,7 +3630,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3630
3630
|
}), await za.setLogRecordAsync({
|
|
3631
3631
|
type: "保存",
|
|
3632
3632
|
data: a
|
|
3633
|
-
}, (
|
|
3633
|
+
}, (Se = a == null ? void 0 : a[0]) == null ? void 0 : Se.key)), await Ni(s(la).value + zl + J, s(la).value + zl + J + zl + `updateLoading${((Qe = Kl.value) == null ? void 0 : Qe.account) || ((ne = Kl.value) == null ? void 0 : ne.账号)}`), oa.setActiveMenuPath(s(la).value + zl + J + zl + `updateLoading${((Pe = Kl.value) == null ? void 0 : Pe.account) || ((xe = Kl.value) == null ? void 0 : xe.账号)}`), bl.success("保存成功");
|
|
3634
3634
|
}
|
|
3635
3635
|
}
|
|
3636
3636
|
oa.setImportLoading(!1);
|
|
@@ -3656,7 +3656,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3656
3656
|
}
|
|
3657
3657
|
},
|
|
3658
3658
|
setup(e) {
|
|
3659
|
-
const o = V([]), n = hs(Cl), { originalPath: l } = Al(n), a = e, r = V(!1), g = V(), c = Ls(Cl), { multipleTableConst: D } = Al(c), p = Xa(Cl), y = V(!1), A = Qa(Cl), w = ys(Cl), { itemData: se, isEdit: U, routeToChildPath: we, tableViewContents: P, lockingPage: R } = Al(p), { activeMenuPath: he, platform: _, childMenu:
|
|
3659
|
+
const o = V([]), n = hs(Cl), { originalPath: l } = Al(n), a = e, r = V(!1), g = V(), c = Ls(Cl), { multipleTableConst: D } = Al(c), p = Xa(Cl), y = V(!1), A = Qa(Cl), w = ys(Cl), { itemData: se, isEdit: U, routeToChildPath: we, tableViewContents: P, lockingPage: R } = Al(p), { activeMenuPath: he, platform: _, childMenu: I } = Al(A), { loginUserInfo: f } = Al(w), b = V(!1), le = async () => {
|
|
3660
3660
|
var ie, Q;
|
|
3661
3661
|
(ie = o.value) != null && ie.find((v) => (v == null ? void 0 : v.buttonName) === "保存") && await q((Q = o.value) == null ? void 0 : Q.find((v) => (v == null ? void 0 : v.buttonName) === "保存")), await vu();
|
|
3662
3662
|
};
|
|
@@ -3676,36 +3676,36 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3676
3676
|
if (fe.includes(D.value)) {
|
|
3677
3677
|
const ve = fe.split(D.value);
|
|
3678
3678
|
let ze = v;
|
|
3679
|
-
ve.forEach((Re,
|
|
3680
|
-
|
|
3679
|
+
ve.forEach((Re, Se) => {
|
|
3680
|
+
Se === ve.length - 1 ? ze[Re] = Y : (ze[Re] || (ze[Re] = {}), ze = ze[Re]);
|
|
3681
3681
|
});
|
|
3682
3682
|
} else
|
|
3683
3683
|
v[fe] = Y;
|
|
3684
3684
|
}
|
|
3685
3685
|
return v;
|
|
3686
3686
|
}), Ye = async (ie, Q, v = []) => {
|
|
3687
|
-
var Y, ve, ze, Re,
|
|
3687
|
+
var Y, ve, ze, Re, Se, Qe, ne, Pe, xe, je, z, T, ae, te, Me;
|
|
3688
3688
|
let fe = (Y = s(Q)) == null ? void 0 : Y.filter((de) => (de == null ? void 0 : de.comp) !== "methodButton");
|
|
3689
3689
|
if (ie != null && ie.includes("[")) {
|
|
3690
|
-
let de = (Qe = (
|
|
3690
|
+
let de = (Qe = (Se = (Re = (ze = (ve = s(ie)) == null ? void 0 : ve.split("[")) == null ? void 0 : ze[1]) == null ? void 0 : Re.split("]")) == null ? void 0 : Se[0]) == null ? void 0 : Qe.split(":"), i = "";
|
|
3691
3691
|
if (de != null && de[0]) {
|
|
3692
|
-
let t = (ne = fe == null ? void 0 : fe.find((
|
|
3692
|
+
let t = (ne = fe == null ? void 0 : fe.find((S) => (S == null ? void 0 : S.name) === (de == null ? void 0 : de[0]))) == null ? void 0 : ne.compData;
|
|
3693
3693
|
if (!t) {
|
|
3694
|
-
let
|
|
3694
|
+
let S = (Pe = ie == null ? void 0 : ie.split("[")) == null ? void 0 : Pe[0], h = await Sl(S, sessionStorage.getItem("systemKey"), "", !1, "", "", v);
|
|
3695
3695
|
t = (xe = h == null ? void 0 : h.find((u) => (u == null ? void 0 : u.name) === (de == null ? void 0 : de[0]))) == null ? void 0 : xe.compData;
|
|
3696
3696
|
}
|
|
3697
|
-
t == null || t.forEach((
|
|
3697
|
+
t == null || t.forEach((S) => {
|
|
3698
3698
|
var h, u, K, B, O, E;
|
|
3699
|
-
if ((
|
|
3700
|
-
(h =
|
|
3699
|
+
if ((S == null ? void 0 : S.key) === "formContent")
|
|
3700
|
+
(h = S == null ? void 0 : S.contents) == null || h.forEach((x) => {
|
|
3701
3701
|
var me;
|
|
3702
3702
|
(x == null ? void 0 : x.key) === (de == null ? void 0 : de[1]) && (Array.isArray(x == null ? void 0 : x.value) ? i = x == null ? void 0 : x.value : i = (me = x == null ? void 0 : x.value) == null ? void 0 : me.toString());
|
|
3703
3703
|
});
|
|
3704
|
-
else if ((
|
|
3704
|
+
else if ((S == null ? void 0 : S.key) === "tableContents") {
|
|
3705
3705
|
let x = [], me = (u = t == null ? void 0 : t.find((j) => (j == null ? void 0 : j.key) === "header")) == null ? void 0 : u.contents, G = (de == null ? void 0 : de[1]) ?? "";
|
|
3706
3706
|
if (me != null && me.every((j) => Array.isArray(j))) {
|
|
3707
3707
|
let j = As((O = me == null ? void 0 : me[0]) == null ? void 0 : O.filter((C) => (C == null ? void 0 : C.label) !== "操作"));
|
|
3708
|
-
(E =
|
|
3708
|
+
(E = S.contents) == null || E.forEach((C) => {
|
|
3709
3709
|
let Z = {};
|
|
3710
3710
|
C = C == null ? void 0 : C.filter(($) => !($ != null && $.id)), j == null || j.forEach(($, H) => {
|
|
3711
3711
|
let J = C[H];
|
|
@@ -3714,7 +3714,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3714
3714
|
}), x = Ke(x);
|
|
3715
3715
|
} else {
|
|
3716
3716
|
let j = (K = me == null ? void 0 : me.map((C) => C == null ? void 0 : C.label)) == null ? void 0 : K.filter((C) => C !== "操作");
|
|
3717
|
-
(B =
|
|
3717
|
+
(B = S.contents) == null || B.forEach((C) => {
|
|
3718
3718
|
let Z = {};
|
|
3719
3719
|
C = C == null ? void 0 : C.filter(($) => !($ != null && $.id)), j == null || j.forEach(($, H) => {
|
|
3720
3720
|
let J = C[H];
|
|
@@ -3730,18 +3730,18 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3730
3730
|
} else if (ie != null && ie.includes("/")) {
|
|
3731
3731
|
let de = {};
|
|
3732
3732
|
return (je = s(fe)) == null || je.forEach((i, t) => {
|
|
3733
|
-
var
|
|
3733
|
+
var S, h, u, K, B, O, E, x, me, G, j, C, Z, $, H, J, ke, k, F;
|
|
3734
3734
|
if ((i == null ? void 0 : i.comp) === "Table") {
|
|
3735
|
-
let W = Array.isArray((u = (h = (
|
|
3735
|
+
let W = Array.isArray((u = (h = (S = i == null ? void 0 : i.compData) == null ? void 0 : S.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : h.contents) == null ? void 0 : u[0]) ? (E = (O = (B = (K = i == null ? void 0 : i.compData) == null ? void 0 : K.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : B.contents) == null ? void 0 : O[0]) == null ? void 0 : E.some((N) => N == null ? void 0 : N.children) : [], Ae = (G = (me = (x = i == null ? void 0 : i.compData) == null ? void 0 : x.find((N) => (N == null ? void 0 : N.key) === "tableContents")) == null ? void 0 : me.contents) == null ? void 0 : G.map((N) => (N != null && N.find((Ee) => Ee == null ? void 0 : Ee.id) && (N = N.slice(1)), N)), ge = (H = ($ = (Z = (C = (j = i == null ? void 0 : i.compData) == null ? void 0 : j.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : C.contents) == null ? void 0 : Z[0]) == null ? void 0 : $[0]) == null ? void 0 : H.label, Be = (ke = (J = i == null ? void 0 : i.compData) == null ? void 0 : J.find((N) => (N == null ? void 0 : N.key) === "header")) == null ? void 0 : ke.contents;
|
|
3736
3736
|
if (W)
|
|
3737
3737
|
(W == null ? void 0 : W.length) === 0 ? de[i.name] = de != null && de[i.name] ? de[i.name] : Ms(Ae, Be) : de[ge] = Ms(Ae, Be);
|
|
3738
3738
|
else {
|
|
3739
3739
|
const N = [];
|
|
3740
|
-
Be = Be.slice(1, Be.length - 1), Be == null || Be.forEach((Ee,
|
|
3740
|
+
Be = Be.slice(1, Be.length - 1), Be == null || Be.forEach((Ee, Ie) => {
|
|
3741
3741
|
Ae == null || Ae.forEach((De) => {
|
|
3742
3742
|
N.push({
|
|
3743
3743
|
key: Ee.label + De[0],
|
|
3744
|
-
value: De[
|
|
3744
|
+
value: De[Ie + 1]
|
|
3745
3745
|
});
|
|
3746
3746
|
});
|
|
3747
3747
|
}), de["form" + t] = N;
|
|
@@ -3782,14 +3782,14 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3782
3782
|
}
|
|
3783
3783
|
}, dl = async (ie, Q, v) => {
|
|
3784
3784
|
var ve, ze, Re;
|
|
3785
|
-
let fe = await
|
|
3785
|
+
let fe = await Sl(Q, sessionStorage.getItem("systemKey"), ""), Y = fe == null ? void 0 : fe.find((Se) => (Se == null ? void 0 : Se.name) === (v == null ? void 0 : v[0]));
|
|
3786
3786
|
if (Y) {
|
|
3787
3787
|
if ((Y == null ? void 0 : Y.comp) === "Table") {
|
|
3788
|
-
let
|
|
3788
|
+
let Se = {};
|
|
3789
3789
|
for (let T in s(ie))
|
|
3790
|
-
s(ie)[T] !== "loginUser" ?
|
|
3791
|
-
let Qe = [], ne =
|
|
3792
|
-
Array.isArray(ie) || (ne = [
|
|
3790
|
+
s(ie)[T] !== "loginUser" ? Se[T] = s(ie)[T] : Se[T] = ((ve = f.value) == null ? void 0 : ve.account) || ((ze = f.value) == null ? void 0 : ze.账号);
|
|
3791
|
+
let Qe = [], ne = Se;
|
|
3792
|
+
Array.isArray(ie) || (ne = [Se]), ne == null || ne.forEach((T) => {
|
|
3793
3793
|
Qe.push({
|
|
3794
3794
|
[T[v[1]]]: T
|
|
3795
3795
|
});
|
|
@@ -3831,14 +3831,14 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3831
3831
|
}), (z == null ? void 0 : z.length) > 0)
|
|
3832
3832
|
return z;
|
|
3833
3833
|
} else if ((Y == null ? void 0 : Y.comp) === "Form") {
|
|
3834
|
-
let
|
|
3835
|
-
|
|
3834
|
+
let Se = s(Y);
|
|
3835
|
+
Se.compData = (Re = Se.compData) == null ? void 0 : Re.map((Pe) => {
|
|
3836
3836
|
var xe;
|
|
3837
3837
|
return (Pe == null ? void 0 : Pe.key) === "formContent" && (Pe.contents = (xe = Pe.contents) == null ? void 0 : xe.map((je) => ((je == null ? void 0 : je.key) === (v == null ? void 0 : v[1]) && (je.value = (ie == null ? void 0 : ie[je == null ? void 0 : je.prop]) || ie), je))), Pe;
|
|
3838
3838
|
});
|
|
3839
3839
|
let Qe = {};
|
|
3840
|
-
for (let Pe in
|
|
3841
|
-
Pe !== "id" && (Qe[Pe] =
|
|
3840
|
+
for (let Pe in Se)
|
|
3841
|
+
Pe !== "id" && (Qe[Pe] = Se[Pe]);
|
|
3842
3842
|
let ne = [];
|
|
3843
3843
|
if (ne.push({
|
|
3844
3844
|
id: Y == null ? void 0 : Y.id,
|
|
@@ -3858,8 +3858,8 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3858
3858
|
}
|
|
3859
3859
|
}
|
|
3860
3860
|
}, ll = async (ie, Q, v) => {
|
|
3861
|
-
var ve, ze, Re,
|
|
3862
|
-
let fe = await
|
|
3861
|
+
var ve, ze, Re, Se, Qe, ne, Pe, xe, je, z;
|
|
3862
|
+
let fe = await Sl(Q, sessionStorage.getItem("systemKey"), ""), Y = fe == null ? void 0 : fe.find((T) => (T == null ? void 0 : T.name) === (v == null ? void 0 : v[0]));
|
|
3863
3863
|
if (Y) {
|
|
3864
3864
|
if ((Y == null ? void 0 : Y.comp) === "Table") {
|
|
3865
3865
|
let T = {};
|
|
@@ -3878,7 +3878,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3878
3878
|
});
|
|
3879
3879
|
} else if ((Y == null ? void 0 : Y.comp) === "Form") {
|
|
3880
3880
|
let T = s(Y), ae = Object.keys(ie), te = "";
|
|
3881
|
-
(
|
|
3881
|
+
(Se = (Re = s(T)) == null ? void 0 : Re.compData) == null || Se.forEach((h) => {
|
|
3882
3882
|
var u, K;
|
|
3883
3883
|
(h == null ? void 0 : h.key) === "formContent" && ((K = (u = s(h)) == null ? void 0 : u.contents) == null || K.forEach((B) => {
|
|
3884
3884
|
var O;
|
|
@@ -3899,7 +3899,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3899
3899
|
(k = (ke = (J = (H = ($ = (Z = s(h)) == null ? void 0 : Z.split("<")) == null ? void 0 : $[1]) == null ? void 0 : H.split(">")) == null ? void 0 : J[0]) == null ? void 0 : ke.split(":")) == null || k.forEach((F) => {
|
|
3900
3900
|
K.push(F.replaceAll("'", ""));
|
|
3901
3901
|
});
|
|
3902
|
-
const B = await
|
|
3902
|
+
const B = await Sl(u, sessionStorage.getItem("systemKey"), "");
|
|
3903
3903
|
let O = "";
|
|
3904
3904
|
return B == null || B.forEach((F) => {
|
|
3905
3905
|
var W;
|
|
@@ -3930,12 +3930,12 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3930
3930
|
systemKey: sessionStorage.getItem("systemKey")
|
|
3931
3931
|
}
|
|
3932
3932
|
});
|
|
3933
|
-
let
|
|
3933
|
+
let S = "";
|
|
3934
3934
|
((xe = t == null ? void 0 : t.data) == null ? void 0 : xe.type) === "success" && ((z = (je = t == null ? void 0 : t.data) == null ? void 0 : je.result) == null || z.forEach((h) => {
|
|
3935
3935
|
var u, K;
|
|
3936
|
-
((K = (u = h == null ? void 0 : h.value) == null ? void 0 : u.pageData) == null ? void 0 : K.name) === (v == null ? void 0 : v[0]) && (
|
|
3936
|
+
((K = (u = h == null ? void 0 : h.value) == null ? void 0 : u.pageData) == null ? void 0 : K.name) === (v == null ? void 0 : v[0]) && (S = h.id);
|
|
3937
3937
|
}), await cs({
|
|
3938
|
-
id:
|
|
3938
|
+
id: S,
|
|
3939
3939
|
value: {
|
|
3940
3940
|
pageData: T
|
|
3941
3941
|
}
|
|
@@ -3950,12 +3950,12 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3950
3950
|
}
|
|
3951
3951
|
return v;
|
|
3952
3952
|
}, m = async (ie, Q, v, fe) => {
|
|
3953
|
-
var ze, Re,
|
|
3954
|
-
let Y = await
|
|
3953
|
+
var ze, Re, Se, Qe, ne, Pe, xe, je, z, T, ae, te, Me, de, i, t, S, h, u, K, B, O, E, x, me;
|
|
3954
|
+
let Y = await Sl(Q, sessionStorage.getItem("systemKey"), ""), ve = Y == null ? void 0 : Y.find((G) => (G == null ? void 0 : G.name) === (v == null ? void 0 : v[0]));
|
|
3955
3955
|
if (ve) {
|
|
3956
3956
|
if (!(v != null && v[1]) && (ve == null ? void 0 : ve.comp) === "Table") {
|
|
3957
3957
|
let G = {}, j = [], C = (Re = (ze = ve == null ? void 0 : ve.compData) == null ? void 0 : ze.find((H) => (H == null ? void 0 : H.key) === "header")) == null ? void 0 : Re.contents;
|
|
3958
|
-
C != null && C.every((H) => Array.isArray(H)) ? j = (Qe = As((
|
|
3958
|
+
C != null && C.every((H) => Array.isArray(H)) ? j = (Qe = As((Se = C == null ? void 0 : C[0]) == null ? void 0 : Se.filter((H) => (H == null ? void 0 : H.label) !== "操作"))) == null ? void 0 : Qe.map((H) => H == null ? void 0 : H.prop) : j = C == null ? void 0 : C.map((H) => H == null ? void 0 : H.label);
|
|
3959
3959
|
for (let H in s(ie))
|
|
3960
3960
|
if (s(ie)[H] !== "loginUser") {
|
|
3961
3961
|
let J = qe(s(ie)[H]), ke = {};
|
|
@@ -3985,7 +3985,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
3985
3985
|
const H = await Wl({
|
|
3986
3986
|
id: ve == null ? void 0 : ve.tableId
|
|
3987
3987
|
});
|
|
3988
|
-
let J = ((h = (
|
|
3988
|
+
let J = ((h = (S = (t = (i = H == null ? void 0 : H.data) == null ? void 0 : i.result) == null ? void 0 : t[0]) == null ? void 0 : S.key) == null ? void 0 : h.pageKey) ?? "";
|
|
3989
3989
|
(u = Object.values(G)) == null || u.forEach((ke) => {
|
|
3990
3990
|
$.push({
|
|
3991
3991
|
key: {
|
|
@@ -4045,12 +4045,12 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4045
4045
|
}
|
|
4046
4046
|
}
|
|
4047
4047
|
}, q = async (ie) => {
|
|
4048
|
-
var Q, v, fe, Y, ve, ze, Re,
|
|
4048
|
+
var Q, v, fe, Y, ve, ze, Re, Se, Qe, ne, Pe, xe, je, z, T, ae;
|
|
4049
4049
|
A.setImportLoading(!0);
|
|
4050
4050
|
try {
|
|
4051
4051
|
if (ie.api) {
|
|
4052
4052
|
let te = /* @__PURE__ */ new WeakMap();
|
|
4053
|
-
(v = (Q = (await
|
|
4053
|
+
(v = (Q = (await Ss({
|
|
4054
4054
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4055
4055
|
type: "data,structure,structureMethod"
|
|
4056
4056
|
})).data.result) == null ? void 0 : Q.filter((E) => {
|
|
@@ -4059,7 +4059,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4059
4059
|
})) == null || v.forEach((E) => {
|
|
4060
4060
|
te[E.key.pageKey] ? te[E.key.pageKey] = [...te[E.key.pageKey], E] : te[E.key.pageKey] = [E];
|
|
4061
4061
|
});
|
|
4062
|
-
let de = await
|
|
4062
|
+
let de = await Sl((I == null ? void 0 : I.value) === "" ? he.value : I == null ? void 0 : I.value, sessionStorage.getItem("systemKey"), "", !1, "", "", te), i = "";
|
|
4063
4063
|
if (de = de == null ? void 0 : de.map((E) => {
|
|
4064
4064
|
var x, me, G, j, C, Z, $, H, J, ke, k, F;
|
|
4065
4065
|
if ((E == null ? void 0 : E.comp) === "Form")
|
|
@@ -4068,7 +4068,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4068
4068
|
return (W == null ? void 0 : W.key) === "formContent" && (W.contents = (Ae = W.contents) == null ? void 0 : Ae.map((ge) => {
|
|
4069
4069
|
var Be;
|
|
4070
4070
|
if ((ge == null ? void 0 : ge.value) === "" && (ge == null ? void 0 : ge.type) === "Select") {
|
|
4071
|
-
let N =
|
|
4071
|
+
let N = Is((Be = s(ge)) == null ? void 0 : Be.optionUrl, te);
|
|
4072
4072
|
ge.value = ge.value || N;
|
|
4073
4073
|
}
|
|
4074
4074
|
return ge;
|
|
@@ -4080,14 +4080,14 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4080
4080
|
}
|
|
4081
4081
|
return E;
|
|
4082
4082
|
}), !(i === "" || i === "")) {
|
|
4083
|
-
const E = await
|
|
4083
|
+
const E = await Sl(i, sessionStorage.getItem("systemKey"), "", !1, "", "", te);
|
|
4084
4084
|
de = de == null ? void 0 : de.map((x) => {
|
|
4085
4085
|
var me, G, j, C, Z, $, H, J, ke, k, F, W, Ae;
|
|
4086
4086
|
if ((x == null ? void 0 : x.comp) === "Table" && (me = x.compData) != null && me.find((ge) => (ge == null ? void 0 : ge.key) === "pageColumn")) {
|
|
4087
|
-
let ge = (j = (G = x.compData) == null ? void 0 : G.find((De) => (De == null ? void 0 : De.key) === "pageColumn")) == null ? void 0 : j.contents, Be = ((Z = (C = x.compData) == null ? void 0 : C.find((De) => (De == null ? void 0 : De.key) === "pageGroup")) == null ? void 0 : Z.contents) ?? "", N = (J = (H = ($ = ge == null ? void 0 : ge.split("[")) == null ? void 0 : $[1]) == null ? void 0 : H.split("]")) == null ? void 0 : J[0], Ee = ((ke = ge == null ? void 0 : ge.split("[")) == null ? void 0 : ke[0]) + ((F = (k = P.value) == null ? void 0 : k.find((De) => (De == null ? void 0 : De.key) === N)) == null ? void 0 : F.value),
|
|
4087
|
+
let ge = (j = (G = x.compData) == null ? void 0 : G.find((De) => (De == null ? void 0 : De.key) === "pageColumn")) == null ? void 0 : j.contents, Be = ((Z = (C = x.compData) == null ? void 0 : C.find((De) => (De == null ? void 0 : De.key) === "pageGroup")) == null ? void 0 : Z.contents) ?? "", N = (J = (H = ($ = ge == null ? void 0 : ge.split("[")) == null ? void 0 : $[1]) == null ? void 0 : H.split("]")) == null ? void 0 : J[0], Ee = ((ke = ge == null ? void 0 : ge.split("[")) == null ? void 0 : ke[0]) + ((F = (k = P.value) == null ? void 0 : k.find((De) => (De == null ? void 0 : De.key) === N)) == null ? void 0 : F.value), Ie = (W = E == null ? void 0 : E.find((De) => (De == null ? void 0 : De.name) === (Be === "" ? a == null ? void 0 : a.compName : Be))) == null ? void 0 : W.compData;
|
|
4088
4088
|
x.compData = (Ae = x.compData) == null ? void 0 : Ae.map((De) => {
|
|
4089
4089
|
var pe;
|
|
4090
|
-
return (De == null ? void 0 : De.key) === "tableContents" && (De.contents = (pe =
|
|
4090
|
+
return (De == null ? void 0 : De.key) === "tableContents" && (De.contents = (pe = Ie == null ? void 0 : Ie.find((oe) => (oe == null ? void 0 : oe.key) === "tableContents")) == null ? void 0 : pe.contents), De;
|
|
4091
4091
|
});
|
|
4092
4092
|
}
|
|
4093
4093
|
return x;
|
|
@@ -4102,13 +4102,13 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4102
4102
|
await Promise.all(E);
|
|
4103
4103
|
} else
|
|
4104
4104
|
t = await Ye("/", de);
|
|
4105
|
-
let
|
|
4106
|
-
(
|
|
4105
|
+
let S = !1;
|
|
4106
|
+
(Se = (Re = ie == null ? void 0 : ie.extraValues) == null ? void 0 : Re.output) == null || Se.forEach((E) => {
|
|
4107
4107
|
var x, me;
|
|
4108
|
-
(me = (x = Object.values(E)) == null ? void 0 : x[0]) != null && me.includes(".doc") && (
|
|
4108
|
+
(me = (x = Object.values(E)) == null ? void 0 : x[0]) != null && me.includes(".doc") && (S = !0);
|
|
4109
4109
|
});
|
|
4110
4110
|
let h;
|
|
4111
|
-
if (
|
|
4111
|
+
if (S) {
|
|
4112
4112
|
const E = ni.service({
|
|
4113
4113
|
lock: !0,
|
|
4114
4114
|
text: "Loading",
|
|
@@ -4132,10 +4132,10 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4132
4132
|
let u = (xe = (Pe = (ne = (Qe = s(ie)) == null ? void 0 : Qe.extraValues) == null ? void 0 : ne.output) == null ? void 0 : Pe.map((E) => {
|
|
4133
4133
|
var x, me, G, j, C, Z, $, H, J, ke, k, F, W, Ae, ge, Be;
|
|
4134
4134
|
if (!((me = (x = Object.values(E)) == null ? void 0 : x[0]) != null && me.includes(".doc"))) {
|
|
4135
|
-
let N = (ke = (J = (H = (j = s((G = Object.values(E)) == null ? void 0 : G[0])) == null ? void 0 : j.split("[")) == null ? void 0 : H[(($ = (Z = s((C = Object.values(E)) == null ? void 0 : C[0])) == null ? void 0 : Z.split("[")) == null ? void 0 : $.length) - 1]) == null ? void 0 : J.split("]")) == null ? void 0 : ke[0], Ee = N == null ? void 0 : N.split(":"),
|
|
4136
|
-
if (
|
|
4135
|
+
let N = (ke = (J = (H = (j = s((G = Object.values(E)) == null ? void 0 : G[0])) == null ? void 0 : j.split("[")) == null ? void 0 : H[(($ = (Z = s((C = Object.values(E)) == null ? void 0 : C[0])) == null ? void 0 : Z.split("[")) == null ? void 0 : $.length) - 1]) == null ? void 0 : J.split("]")) == null ? void 0 : ke[0], Ee = N == null ? void 0 : N.split(":"), Ie = (W = s((k = Object.values(E)) == null ? void 0 : k[0])) == null ? void 0 : W.substring(0, s((F = Object.values(E)) == null ? void 0 : F[0]).lastIndexOf("["));
|
|
4136
|
+
if (Ie = (ge = s(Ie)) == null ? void 0 : ge.slice(0, ((Ae = s(Ie)) == null ? void 0 : Ae.length) - 1), Ie != null && Ie.includes("[")) {
|
|
4137
4137
|
let De = "";
|
|
4138
|
-
if ((Be = us(
|
|
4138
|
+
if ((Be = us(Ie, "/")) == null || Be.forEach((pe) => {
|
|
4139
4139
|
var oe, Ne, M, ye, Ce, Le, d;
|
|
4140
4140
|
if (!(pe != null && pe.includes("[")))
|
|
4141
4141
|
De = De === "" ? De + pe.replaceAll("/", "") : De + "/" + pe.replaceAll("/", "");
|
|
@@ -4148,20 +4148,20 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4148
4148
|
}));
|
|
4149
4149
|
}), De = De === "" ? De + Ue.replaceAll("/", "") : De + "/" + Ue.replaceAll("/", "");
|
|
4150
4150
|
}
|
|
4151
|
-
}),
|
|
4152
|
-
return
|
|
4151
|
+
}), Ie = De, Ie[(Ie == null ? void 0 : Ie.length) - 1] !== "/")
|
|
4152
|
+
return Ie;
|
|
4153
4153
|
}
|
|
4154
4154
|
}
|
|
4155
4155
|
})) == null ? void 0 : xe.filter((E) => E);
|
|
4156
4156
|
u = [...new Set(s(u))];
|
|
4157
4157
|
let K = u == null ? void 0 : u.map(async (E) => {
|
|
4158
|
-
let x = await
|
|
4158
|
+
let x = await Sl(E, sessionStorage.getItem("systemKey"), "", !1, "", "", te);
|
|
4159
4159
|
if ((x == null ? void 0 : x.length) === 0)
|
|
4160
4160
|
return await Vi(E);
|
|
4161
4161
|
});
|
|
4162
4162
|
await Promise.all(K);
|
|
4163
4163
|
let B = [], O = (T = (z = (je = s(ie)) == null ? void 0 : je.extraValues) == null ? void 0 : z.output) == null ? void 0 : T.map(async (E) => {
|
|
4164
|
-
var H, J, ke, k, F, W, Ae, ge, Be, N, Ee,
|
|
4164
|
+
var H, J, ke, k, F, W, Ae, ge, Be, N, Ee, Ie, De, pe, oe, Ne, M, ye, Ce, Le, d, ue, We, Ue, Xe, Ve, He, Te, Oe, Ge, Ze, kl, fl, il, ol, yl, vl, Ol, Tl, hl, Vl, pa, fa, va, ya, ha, ma, ga, ba, sa, La, Oa, Fa, Ka, Ua, Pa, Ra, ja, Ma, Na, sl, Hl, el, bs, ml, ia, Da, Jl, ka, ql;
|
|
4165
4165
|
if ((J = (H = Object.values(E)) == null ? void 0 : H[0]) != null && J.includes(".doc")) {
|
|
4166
4166
|
var x = new Blob([h.data], {
|
|
4167
4167
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -4171,7 +4171,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4171
4171
|
blobUrl: $
|
|
4172
4172
|
}], r.value = !0;
|
|
4173
4173
|
} else {
|
|
4174
|
-
let xa = (N = (Be = (ge = (k = s((ke = Object.values(E)) == null ? void 0 : ke[0])) == null ? void 0 : k.split("[")) == null ? void 0 : ge[((Ae = (W = s((F = Object.values(E)) == null ? void 0 : F[0])) == null ? void 0 : W.split("[")) == null ? void 0 : Ae.length) - 1]) == null ? void 0 : Be.split("]")) == null ? void 0 : N[0], pl = xa == null ? void 0 : xa.split(":"), Pl = (De = s((Ee = Object.values(E)) == null ? void 0 : Ee[0])) == null ? void 0 : De.substring(0, s((
|
|
4174
|
+
let xa = (N = (Be = (ge = (k = s((ke = Object.values(E)) == null ? void 0 : ke[0])) == null ? void 0 : k.split("[")) == null ? void 0 : ge[((Ae = (W = s((F = Object.values(E)) == null ? void 0 : F[0])) == null ? void 0 : W.split("[")) == null ? void 0 : Ae.length) - 1]) == null ? void 0 : Be.split("]")) == null ? void 0 : N[0], pl = xa == null ? void 0 : xa.split(":"), Pl = (De = s((Ee = Object.values(E)) == null ? void 0 : Ee[0])) == null ? void 0 : De.substring(0, s((Ie = Object.values(E)) == null ? void 0 : Ie[0]).lastIndexOf("["));
|
|
4175
4175
|
if (Pl != null && Pl.includes("[") ? Pl = (oe = s(Pl)) == null ? void 0 : oe.slice(0, ((pe = s(Pl)) == null ? void 0 : pe.length) - 1) : Pl === "" && (Pl = he.value), Pl = Pl.replaceAll("<", "[").replaceAll(">", "]"), Pl != null && Pl.includes("[")) {
|
|
4176
4176
|
let ul = "";
|
|
4177
4177
|
(Ne = us(Pl, "/")) == null || Ne.forEach((_l, Fl) => {
|
|
@@ -4200,7 +4200,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4200
4200
|
return ul && (B = [...B, ...ul]), ul;
|
|
4201
4201
|
} else {
|
|
4202
4202
|
if (!((vl = h == null ? void 0 : h.data) != null && vl.data)) {
|
|
4203
|
-
let ul = await
|
|
4203
|
+
let ul = await Sl(he.value, sessionStorage.getItem("systemKey"), "", !1, "", "", te);
|
|
4204
4204
|
ul = ul == null ? void 0 : ul.map((Fl) => {
|
|
4205
4205
|
var Rl;
|
|
4206
4206
|
return (Fl == null ? void 0 : Fl.name) === (pl == null ? void 0 : pl[0]) && (Fl.compData = (Rl = Fl.compData) == null ? void 0 : Rl.map((Bl) => {
|
|
@@ -4266,7 +4266,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4266
4266
|
var Ae, ge, Be, N;
|
|
4267
4267
|
let W = (Ae = s(B)) == null ? void 0 : Ae.find((Ee) => (Ee == null ? void 0 : Ee.keyType) === (F == null ? void 0 : F.key));
|
|
4268
4268
|
if (W) {
|
|
4269
|
-
let Ee = (N = (Be = (ge = W.value.pageData.compData) == null ? void 0 : ge.find((
|
|
4269
|
+
let Ee = (N = (Be = (ge = W.value.pageData.compData) == null ? void 0 : ge.find((Ie) => (Ie == null ? void 0 : Ie.key) === "formContent")) == null ? void 0 : Be.contents) == null ? void 0 : N.find((Ie) => (Ie == null ? void 0 : Ie.key) === (F == null ? void 0 : F.key));
|
|
4270
4270
|
F.value = Ee == null ? void 0 : Ee.value;
|
|
4271
4271
|
}
|
|
4272
4272
|
return F;
|
|
@@ -4280,22 +4280,22 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4280
4280
|
var k;
|
|
4281
4281
|
(ke == null ? void 0 : ke.key) === "formContent" && ((k = ke == null ? void 0 : ke.contents) == null || k.forEach((F) => {
|
|
4282
4282
|
var W, Ae, ge, Be, N, Ee;
|
|
4283
|
-
if ((Ae = (W = F == null ? void 0 : F.optionUrl) == null ? void 0 : W.menuSelect) != null && Ae.find((
|
|
4284
|
-
if (C != null && C.find((
|
|
4283
|
+
if ((Ae = (W = F == null ? void 0 : F.optionUrl) == null ? void 0 : W.menuSelect) != null && Ae.find((Ie) => Ie == null ? void 0 : Ie.includes("[")))
|
|
4284
|
+
if (C != null && C.find((Ie) => {
|
|
4285
4285
|
var De, pe, oe;
|
|
4286
|
-
return ((De =
|
|
4286
|
+
return ((De = Ie == null ? void 0 : Ie.key) == null ? void 0 : De.join(",")) === ((oe = (pe = F == null ? void 0 : F.optionUrl) == null ? void 0 : pe.menuSelect) == null ? void 0 : oe.join(","));
|
|
4287
4287
|
})) {
|
|
4288
|
-
let
|
|
4288
|
+
let Ie = (ge = C == null ? void 0 : C.find((De) => {
|
|
4289
4289
|
var pe, oe, Ne;
|
|
4290
4290
|
return ((pe = De == null ? void 0 : De.key) == null ? void 0 : pe.join(",")) === ((Ne = (oe = F == null ? void 0 : F.optionUrl) == null ? void 0 : oe.menuSelect) == null ? void 0 : Ne.join(","));
|
|
4291
4291
|
})) == null ? void 0 : ge.value;
|
|
4292
|
-
|
|
4292
|
+
Ie.push({
|
|
4293
4293
|
key: F == null ? void 0 : F.prop,
|
|
4294
4294
|
groups: (Be = F == null ? void 0 : F.optionUrl) == null ? void 0 : Be.groupSelect,
|
|
4295
4295
|
value: F == null ? void 0 : F.value
|
|
4296
4296
|
}), C = C == null ? void 0 : C.map((De) => {
|
|
4297
4297
|
var pe, oe, Ne;
|
|
4298
|
-
return ((pe = De == null ? void 0 : De.key) == null ? void 0 : pe.join(",")) === ((Ne = (oe = F == null ? void 0 : F.optionUrl) == null ? void 0 : oe.menuSelect) == null ? void 0 : Ne.join(",")) && (De.value =
|
|
4298
|
+
return ((pe = De == null ? void 0 : De.key) == null ? void 0 : pe.join(",")) === ((Ne = (oe = F == null ? void 0 : F.optionUrl) == null ? void 0 : oe.menuSelect) == null ? void 0 : Ne.join(",")) && (De.value = Ie), De;
|
|
4299
4299
|
});
|
|
4300
4300
|
} else
|
|
4301
4301
|
C.push({
|
|
@@ -4318,9 +4318,9 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4318
4318
|
let ge = "", Be = (Ae = W == null ? void 0 : W.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : Ae.split(":");
|
|
4319
4319
|
de == null || de.forEach((N) => {
|
|
4320
4320
|
var Ee;
|
|
4321
|
-
(N == null ? void 0 : N.name) === (Be == null ? void 0 : Be[0]) && ((Ee = N == null ? void 0 : N.compData) == null || Ee.forEach((
|
|
4321
|
+
(N == null ? void 0 : N.name) === (Be == null ? void 0 : Be[0]) && ((Ee = N == null ? void 0 : N.compData) == null || Ee.forEach((Ie) => {
|
|
4322
4322
|
var De;
|
|
4323
|
-
(
|
|
4323
|
+
(Ie == null ? void 0 : Ie.key) === "formContent" && ((De = Ie == null ? void 0 : Ie.contents) == null || De.forEach((pe) => {
|
|
4324
4324
|
(pe == null ? void 0 : pe.prop) === (Be == null ? void 0 : Be[1]) && (ge = pe == null ? void 0 : pe.value);
|
|
4325
4325
|
}));
|
|
4326
4326
|
}));
|
|
@@ -4330,15 +4330,15 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4330
4330
|
})), C == null || C.forEach((ke) => {
|
|
4331
4331
|
var Ae, ge, Be;
|
|
4332
4332
|
let k = (Ae = te[ke.key]) == null ? void 0 : Ae.find((N) => {
|
|
4333
|
-
var Ee,
|
|
4334
|
-
return ((
|
|
4333
|
+
var Ee, Ie, De, pe, oe, Ne, M;
|
|
4334
|
+
return ((Ie = (Ee = N == null ? void 0 : N.value) == null ? void 0 : Ee.pageData) == null ? void 0 : Ie.name) === ((oe = (pe = (De = ke == null ? void 0 : ke.value) == null ? void 0 : De[0]) == null ? void 0 : pe.groups) == null ? void 0 : oe[0]) && ((M = (Ne = N == null ? void 0 : N.value) == null ? void 0 : Ne.pageData) == null ? void 0 : M.name) !== void 0;
|
|
4335
4335
|
}), F = k == null ? void 0 : k.id, W = (ge = k == null ? void 0 : k.value) == null ? void 0 : ge.pageData;
|
|
4336
4336
|
W.compData = (Be = W.compData) == null ? void 0 : Be.map((N) => {
|
|
4337
4337
|
var Ee;
|
|
4338
|
-
return (N == null ? void 0 : N.key) === "formContent" && (N.contents = (Ee = N.contents) == null ? void 0 : Ee.map((
|
|
4338
|
+
return (N == null ? void 0 : N.key) === "formContent" && (N.contents = (Ee = N.contents) == null ? void 0 : Ee.map((Ie) => {
|
|
4339
4339
|
var pe;
|
|
4340
|
-
let De = (pe = ke.value) == null ? void 0 : pe.find((oe) => (oe == null ? void 0 : oe.key) === (
|
|
4341
|
-
return De && (
|
|
4340
|
+
let De = (pe = ke.value) == null ? void 0 : pe.find((oe) => (oe == null ? void 0 : oe.key) === (Ie == null ? void 0 : Ie.prop));
|
|
4341
|
+
return De && (Ie.value = De.value), Ie;
|
|
4342
4342
|
})), N;
|
|
4343
4343
|
}), x.push({
|
|
4344
4344
|
id: F,
|
|
@@ -4363,31 +4363,31 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4363
4363
|
}, re = ["createInsofDataApi"], _e = ui(async (ie) => {
|
|
4364
4364
|
q(ie);
|
|
4365
4365
|
}, 100), $e = async (ie) => {
|
|
4366
|
-
var Re,
|
|
4366
|
+
var Re, Se, Qe, ne, Pe;
|
|
4367
4367
|
const Q = s(ie);
|
|
4368
|
-
let v, fe = /* @__PURE__ */ new WeakMap(), Y = await
|
|
4368
|
+
let v, fe = /* @__PURE__ */ new WeakMap(), Y = await Ss({
|
|
4369
4369
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
4370
4370
|
type: "data,structure,structureMethod"
|
|
4371
4371
|
});
|
|
4372
|
-
(
|
|
4372
|
+
(Se = (Re = Y.data.result) == null ? void 0 : Re.filter((xe) => {
|
|
4373
4373
|
var je, z;
|
|
4374
4374
|
return ((je = xe == null ? void 0 : xe.key) == null ? void 0 : je.pageKey) !== "menu" && ((z = xe == null ? void 0 : xe.key) == null ? void 0 : z.pageKey) !== "secret";
|
|
4375
|
-
})) == null ||
|
|
4375
|
+
})) == null || Se.forEach((xe) => {
|
|
4376
4376
|
fe[xe.key.pageKey] ? fe[xe.key.pageKey] = [...fe[xe.key.pageKey], xe] : fe[xe.key.pageKey] = [xe];
|
|
4377
4377
|
}), ie != null && ie[0].path && (v = await (Q == null ? void 0 : Q.map(async (xe, je) => {
|
|
4378
|
-
var t,
|
|
4378
|
+
var t, S, h, u, K, B, O, E, x, me, G, j, C, Z, $, H;
|
|
4379
4379
|
const T = (t = fe[xe == null ? void 0 : xe.path]) == null ? void 0 : t.filter((J) => {
|
|
4380
4380
|
var ke;
|
|
4381
4381
|
return ((ke = J == null ? void 0 : J.key) == null ? void 0 : ke.type) === "data";
|
|
4382
4382
|
});
|
|
4383
4383
|
let ae = "";
|
|
4384
|
-
const te = await
|
|
4384
|
+
const te = await Sl(he.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, fe);
|
|
4385
4385
|
T == null || T.forEach((J) => {
|
|
4386
4386
|
var ke, k, F, W, Ae;
|
|
4387
4387
|
((k = (ke = J == null ? void 0 : J.value) == null ? void 0 : ke.tableData) == null ? void 0 : k.算法名称) === ((F = Q == null ? void 0 : Q[je]) == null ? void 0 : F.method) && (ae = (Ae = (W = J == null ? void 0 : J.value) == null ? void 0 : W.tableData) == null ? void 0 : Ae.算法体);
|
|
4388
4388
|
});
|
|
4389
|
-
const Me = await
|
|
4390
|
-
let de = "", i = (K = (u = (h = (
|
|
4389
|
+
const Me = await Sl(xe == null ? void 0 : xe.path, sessionStorage.getItem("systemKey"), "", !1, [], !1, fe);
|
|
4390
|
+
let de = "", i = (K = (u = (h = (S = Me == null ? void 0 : Me[0]) == null ? void 0 : S.compData) == null ? void 0 : h.find((J) => (J == null ? void 0 : J.key) === "header")) == null ? void 0 : u.contents) == null ? void 0 : K.findIndex((J) => (J == null ? void 0 : J.prop) === "算法体");
|
|
4391
4391
|
return (O = (B = Me == null ? void 0 : Me[0]) == null ? void 0 : B.compData) == null || O.forEach((J) => {
|
|
4392
4392
|
var ke;
|
|
4393
4393
|
(J == null ? void 0 : J.key) === "tableContents" && ((ke = J == null ? void 0 : J.contents) == null || ke.forEach((k) => {
|
|
@@ -4403,17 +4403,17 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4403
4403
|
};
|
|
4404
4404
|
})));
|
|
4405
4405
|
const ve = Q == null ? void 0 : Q.map(async (xe) => {
|
|
4406
|
-
var Me, de, i, t,
|
|
4406
|
+
var Me, de, i, t, S, h;
|
|
4407
4407
|
const je = (Me = Y.data.result) == null ? void 0 : Me.filter((u) => {
|
|
4408
4408
|
var K, B, O;
|
|
4409
4409
|
return ((K = u == null ? void 0 : u.key) == null ? void 0 : K.parentTable) === "" && ((B = u == null ? void 0 : u.key) == null ? void 0 : B.type) === "method" && ((O = u == null ? void 0 : u.key) == null ? void 0 : O.methodName) === u.method;
|
|
4410
4410
|
}), z = je == null ? void 0 : je[0], T = (de = Y.data.result) == null ? void 0 : de.filter((u) => {
|
|
4411
4411
|
var K, B;
|
|
4412
4412
|
return ((K = u == null ? void 0 : u.key) == null ? void 0 : K.type) === "methodData" && ((B = u == null ? void 0 : u.key) == null ? void 0 : B.tableId) === (z == null ? void 0 : z.id);
|
|
4413
|
-
}), ae = await
|
|
4413
|
+
}), ae = await Sl(he.value, sessionStorage.getItem("systemKey"), "", !1, [], !1, fe), te = T == null ? void 0 : T[0];
|
|
4414
4414
|
return {
|
|
4415
4415
|
buttonName: (i = z == null ? void 0 : z.key) == null ? void 0 : i.methodKey,
|
|
4416
|
-
api: (
|
|
4416
|
+
api: (S = (t = te == null ? void 0 : te.value) == null ? void 0 : t.tableData) == null ? void 0 : S[0],
|
|
4417
4417
|
content: ae == null ? void 0 : ae.filter((u) => u.comp !== "methodButton"),
|
|
4418
4418
|
extraContent: (h = s(xe.value)) == null ? void 0 : h.slice(1),
|
|
4419
4419
|
methodName: (xe == null ? void 0 : xe.method) ?? ""
|
|
@@ -4472,7 +4472,7 @@ const jt = (e) => /^'[^']+':\{.*\}$/.exec(s(e)), Mt = (e) => {
|
|
|
4472
4472
|
function bu(e, o) {
|
|
4473
4473
|
return " 567 ";
|
|
4474
4474
|
}
|
|
4475
|
-
const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module content" }, Cu = { class: "module data" }, Du = { class: "module layout" }, wu = { class: "form-content" },
|
|
4475
|
+
const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module content" }, Cu = { class: "module data" }, Du = { class: "module layout" }, wu = { class: "form-content" }, Su = /* @__PURE__ */ Ql({
|
|
4476
4476
|
__name: "operate",
|
|
4477
4477
|
props: {
|
|
4478
4478
|
itemContents: {
|
|
@@ -4626,13 +4626,13 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
4626
4626
|
var he, _;
|
|
4627
4627
|
switch (P) {
|
|
4628
4628
|
case "create":
|
|
4629
|
-
(he = D.value) == null || he.forEach((
|
|
4630
|
-
|
|
4629
|
+
(he = D.value) == null || he.forEach((I) => {
|
|
4630
|
+
I.value = "";
|
|
4631
4631
|
}), r.value = "create", a.visible = !0;
|
|
4632
4632
|
break;
|
|
4633
4633
|
case "update":
|
|
4634
|
-
(_ = D.value) == null || _.forEach((
|
|
4635
|
-
|
|
4634
|
+
(_ = D.value) == null || _.forEach((I) => {
|
|
4635
|
+
I.value = R[I == null ? void 0 : I.prop];
|
|
4636
4636
|
}), r.value = "update", a.visible = !0;
|
|
4637
4637
|
break;
|
|
4638
4638
|
case "delete":
|
|
@@ -4654,7 +4654,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
4654
4654
|
ee(_, {
|
|
4655
4655
|
class: "module-icon",
|
|
4656
4656
|
id: "themeButton",
|
|
4657
|
-
onClick: R[0] || (R[0] = (
|
|
4657
|
+
onClick: R[0] || (R[0] = (I) => U("create"))
|
|
4658
4658
|
}, {
|
|
4659
4659
|
icon: be(() => [
|
|
4660
4660
|
ee(he, {
|
|
@@ -4670,16 +4670,16 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
4670
4670
|
})
|
|
4671
4671
|
]),
|
|
4672
4672
|
L("div", Cu, [
|
|
4673
|
-
(ce(!0), Fe(gl, null, wl(y.value, (
|
|
4673
|
+
(ce(!0), Fe(gl, null, wl(y.value, (I, f) => (ce(), Fe("div", {
|
|
4674
4674
|
class: "module-data-item",
|
|
4675
4675
|
key: f
|
|
4676
4676
|
}, [
|
|
4677
|
-
L("span", null, Je(
|
|
4677
|
+
L("span", null, Je(I == null ? void 0 : I.label), 1),
|
|
4678
4678
|
L("div", null, [
|
|
4679
4679
|
ee(_, {
|
|
4680
4680
|
type: "primary",
|
|
4681
4681
|
size: "small",
|
|
4682
|
-
onClick: (b) => U("update", { ...
|
|
4682
|
+
onClick: (b) => U("update", { ...I, index: f + 1 })
|
|
4683
4683
|
}, {
|
|
4684
4684
|
default: be(() => R[3] || (R[3] = [
|
|
4685
4685
|
al("修改")
|
|
@@ -4732,7 +4732,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
4732
4732
|
], 64);
|
|
4733
4733
|
};
|
|
4734
4734
|
}
|
|
4735
|
-
}),
|
|
4735
|
+
}), Iu = /* @__PURE__ */ El(Su, [["__scopeId", "data-v-487e0536"]]), xu = /* @__PURE__ */ Ql({
|
|
4736
4736
|
__name: "index",
|
|
4737
4737
|
props: {
|
|
4738
4738
|
stepConfig: {
|
|
@@ -4772,19 +4772,19 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
4772
4772
|
"align-center": ((R = e.stepConfig) == null ? void 0 : R.alignCenter) ?? !0
|
|
4773
4773
|
}, {
|
|
4774
4774
|
default: be(() => [
|
|
4775
|
-
(ce(!0), Fe(gl, null, wl(e.stepList, (
|
|
4775
|
+
(ce(!0), Fe(gl, null, wl(e.stepList, (I, f) => (ce(), cl(se, {
|
|
4776
4776
|
key: f,
|
|
4777
4777
|
class: "step-item",
|
|
4778
|
-
onClick: (b) => g(
|
|
4778
|
+
onClick: (b) => g(I, f + 1)
|
|
4779
4779
|
}, {
|
|
4780
4780
|
title: be(() => [
|
|
4781
4781
|
os(A.$slots, "title", {
|
|
4782
|
-
title:
|
|
4782
|
+
title: I == null ? void 0 : I.title
|
|
4783
4783
|
}, void 0, !0)
|
|
4784
4784
|
]),
|
|
4785
4785
|
description: be(() => [
|
|
4786
4786
|
os(A.$slots, "description", {
|
|
4787
|
-
description:
|
|
4787
|
+
description: I == null ? void 0 : I.description
|
|
4788
4788
|
}, void 0, !0)
|
|
4789
4789
|
]),
|
|
4790
4790
|
_: 2
|
|
@@ -4792,16 +4792,16 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
4792
4792
|
]),
|
|
4793
4793
|
_: 3
|
|
4794
4794
|
}, 8, ["direction", "active", "simple", "align-center"]),
|
|
4795
|
-
(he = e.stepConfig) != null && he.allowTrigger && ((_ = e.stepConfig) != null && _.active) ? (ce(!0), Fe(gl, { key: 0 }, wl(D(), (
|
|
4795
|
+
(he = e.stepConfig) != null && he.allowTrigger && ((_ = e.stepConfig) != null && _.active) ? (ce(!0), Fe(gl, { key: 0 }, wl(D(), (I, f) => (ce(), Fe("div", {
|
|
4796
4796
|
key: f,
|
|
4797
4797
|
class: "step-cont-wrap"
|
|
4798
4798
|
}, [
|
|
4799
|
-
(ce(), cl(Ca(c(
|
|
4800
|
-
modelValue:
|
|
4801
|
-
"onUpdate:modelValue": (b) =>
|
|
4799
|
+
(ce(), cl(Ca(c(I == null ? void 0 : I.type)), {
|
|
4800
|
+
modelValue: I.value,
|
|
4801
|
+
"onUpdate:modelValue": (b) => I.value = b,
|
|
4802
4802
|
onClickTrigger: p,
|
|
4803
4803
|
onChangeTrigger: y,
|
|
4804
|
-
content:
|
|
4804
|
+
content: I == null ? void 0 : I.content
|
|
4805
4805
|
}, Ei({ _: 2 }, [
|
|
4806
4806
|
wl(A.$slots, (b, le) => ({
|
|
4807
4807
|
name: le,
|
|
@@ -5004,7 +5004,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5004
5004
|
return (a, r) => {
|
|
5005
5005
|
const g = tl("svg-icon");
|
|
5006
5006
|
return ce(), Fe("div", Ru, [
|
|
5007
|
-
(ce(!0), Fe(gl, null, wl($l(
|
|
5007
|
+
(ce(!0), Fe(gl, null, wl($l(St), (c, D) => (ce(), Fe("div", {
|
|
5008
5008
|
class: "type-list",
|
|
5009
5009
|
key: D
|
|
5010
5010
|
}, [
|
|
@@ -5041,9 +5041,9 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5041
5041
|
g.value = U, a.value = s(n.value);
|
|
5042
5042
|
}, p = (se, U) => {
|
|
5043
5043
|
var he;
|
|
5044
|
-
let we = (he = s(g.value)) == null ? void 0 : he.map((_,
|
|
5044
|
+
let we = (he = s(g.value)) == null ? void 0 : he.map((_, I) => (se === I && (_.content = !1), _));
|
|
5045
5045
|
g.value = we;
|
|
5046
|
-
const P = s(n.value), R = P == null ? void 0 : P.filter((_,
|
|
5046
|
+
const P = s(n.value), R = P == null ? void 0 : P.filter((_, I) => (I === se && (_.name = U), _));
|
|
5047
5047
|
o.setOriginalData(R), o.setItemData(R);
|
|
5048
5048
|
};
|
|
5049
5049
|
Dl(
|
|
@@ -5061,8 +5061,8 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5061
5061
|
var R, he;
|
|
5062
5062
|
if (!se) return;
|
|
5063
5063
|
let P = s(n.value);
|
|
5064
|
-
P = (R = P == null ? void 0 : P.map((_,
|
|
5065
|
-
id:
|
|
5064
|
+
P = (R = P == null ? void 0 : P.map((_, I) => (I === we && (_.compData = se), _))) == null ? void 0 : R.filter((_) => (_ == null ? void 0 : _.comp) !== "methodButton"), g.value = (he = s(P)) == null ? void 0 : he.map((_, I) => ({
|
|
5065
|
+
id: I,
|
|
5066
5066
|
content: !1
|
|
5067
5067
|
})), o.setOriginalData(P), o.setItemData(P);
|
|
5068
5068
|
}, w = (se) => {
|
|
@@ -5089,7 +5089,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5089
5089
|
collapseContents: a.value
|
|
5090
5090
|
}, {
|
|
5091
5091
|
title: be(({ item: P, index: R }) => {
|
|
5092
|
-
var he, _,
|
|
5092
|
+
var he, _, I, f, b, le, X, Ke, Ye, dl;
|
|
5093
5093
|
return [
|
|
5094
5094
|
L("div", Gu, [
|
|
5095
5095
|
L("div", Hu, [
|
|
@@ -5098,7 +5098,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5098
5098
|
class: "collapse-title",
|
|
5099
5099
|
style: Ga({ marginRight: P.name && P.name !== "" ? "8px" : "0px" })
|
|
5100
5100
|
}, Je(P.name), 5)),
|
|
5101
|
-
(f = (
|
|
5101
|
+
(f = (I = g.value) == null ? void 0 : I.find((ll) => ll.id === R)) != null && f.content ? (ce(), Fe("div", Ju, [
|
|
5102
5102
|
ee(ji, {
|
|
5103
5103
|
modelValue: P.name,
|
|
5104
5104
|
"onUpdate:modelValue": (ll) => P.name = ll,
|
|
@@ -5153,8 +5153,8 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5153
5153
|
al(Je(y(P.comp + "Operate")) + " ", 1),
|
|
5154
5154
|
(ce(), cl(Ca(y(P.comp + "Operate")), {
|
|
5155
5155
|
itemContents: P == null ? void 0 : P.compData,
|
|
5156
|
-
originalItemContents: (_ = (he = r.value) == null ? void 0 : he.find((
|
|
5157
|
-
onChange: (
|
|
5156
|
+
originalItemContents: (_ = (he = r.value) == null ? void 0 : he.find((I, f) => f === R)) == null ? void 0 : _.compData,
|
|
5157
|
+
onChange: (I) => A(I, P, R)
|
|
5158
5158
|
}, null, 40, ["itemContents", "originalItemContents", "onChange"]))
|
|
5159
5159
|
])
|
|
5160
5160
|
];
|
|
@@ -5216,7 +5216,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5216
5216
|
}, P = (Q) => {
|
|
5217
5217
|
g.value = "修改标签页", c.value.title = a.value[Q].title, D.value = Q, r.value = !0;
|
|
5218
5218
|
}, R = (Q) => {
|
|
5219
|
-
const v =
|
|
5219
|
+
const v = I(Q);
|
|
5220
5220
|
A.value.delete(v), a.value.splice(Q, 1), ie();
|
|
5221
5221
|
}, he = () => {
|
|
5222
5222
|
if (c.value.title.trim()) {
|
|
@@ -5233,13 +5233,13 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5233
5233
|
a.value[D.value].title = c.value.title, a.value[D.value].value = c.value.title, a.value[D.value].label = c.value.title;
|
|
5234
5234
|
r.value = !1, ie();
|
|
5235
5235
|
}
|
|
5236
|
-
}, _ = () => `tab_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`,
|
|
5236
|
+
}, _ = () => `tab_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`, I = (Q) => {
|
|
5237
5237
|
const v = a.value[Q];
|
|
5238
5238
|
return v.id || (v.id = _()), v.id;
|
|
5239
5239
|
}, f = (Q) => {
|
|
5240
5240
|
var Y;
|
|
5241
5241
|
y.value = Q;
|
|
5242
|
-
const v =
|
|
5242
|
+
const v = I(Q);
|
|
5243
5243
|
w.value = s(U.value);
|
|
5244
5244
|
let fe = A.value.get(v);
|
|
5245
5245
|
!fe && ((Y = a.value[Q].children) == null ? void 0 : Y.length) > 0 && (fe = Ke(a.value[Q].children)), fe ? se.setItemData(s(fe)) : se.setItemData([]), p.value = !0;
|
|
@@ -5248,11 +5248,11 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5248
5248
|
return console.log("可用组件数据", v), !v || !Array.isArray(v) ? [] : v.filter((fe) => {
|
|
5249
5249
|
var Y;
|
|
5250
5250
|
if (fe.comp === "Tabs" && y.value >= 0) {
|
|
5251
|
-
const ve =
|
|
5251
|
+
const ve = I(y.value);
|
|
5252
5252
|
if ((Y = fe.compData) == null ? void 0 : Y.some(
|
|
5253
5253
|
(Re) => {
|
|
5254
|
-
var
|
|
5255
|
-
return Re.key === "stepList" && ((
|
|
5254
|
+
var Se;
|
|
5255
|
+
return Re.key === "stepList" && ((Se = Re.contents) == null ? void 0 : Se.some((Qe) => Qe.id === ve));
|
|
5256
5256
|
}
|
|
5257
5257
|
)) return !1;
|
|
5258
5258
|
}
|
|
@@ -5315,7 +5315,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5315
5315
|
}), v;
|
|
5316
5316
|
}, dl = (Q) => [], ll = () => {
|
|
5317
5317
|
if (y.value >= 0 && y.value < a.value.length) {
|
|
5318
|
-
const Q =
|
|
5318
|
+
const Q = I(y.value);
|
|
5319
5319
|
A.value.set(Q, s(U.value)), a.value[y.value].children = q(U.value), console.log("保存后的数据", q(U.value));
|
|
5320
5320
|
}
|
|
5321
5321
|
p.value = !1, y.value = -1, w.value = null, ie();
|
|
@@ -5372,12 +5372,12 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5372
5372
|
console.warn(`Invalid config at index ${ve}:`, Y);
|
|
5373
5373
|
return;
|
|
5374
5374
|
}
|
|
5375
|
-
const { key: ze, contents: Re } = Y,
|
|
5376
|
-
if (!
|
|
5375
|
+
const { key: ze, contents: Re } = Y, Se = fe[ze];
|
|
5376
|
+
if (!Se) {
|
|
5377
5377
|
console.warn(`Unknown Form config key: ${ze}`);
|
|
5378
5378
|
return;
|
|
5379
5379
|
}
|
|
5380
|
-
ze === "enableWrap" ? v[
|
|
5380
|
+
ze === "enableWrap" ? v[Se] = !!Re : v[Se] = Array.isArray(Re) ? Re : [];
|
|
5381
5381
|
}), v;
|
|
5382
5382
|
}, _e = (Q) => {
|
|
5383
5383
|
const v = {
|
|
@@ -5401,12 +5401,12 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5401
5401
|
console.warn(`Invalid config at index ${ve}:`, Y);
|
|
5402
5402
|
return;
|
|
5403
5403
|
}
|
|
5404
|
-
const { key: ze, contents: Re } = Y,
|
|
5405
|
-
if (!
|
|
5404
|
+
const { key: ze, contents: Re } = Y, Se = fe[ze];
|
|
5405
|
+
if (!Se) {
|
|
5406
5406
|
console.warn(`Unknown Table config key: ${ze}`);
|
|
5407
5407
|
return;
|
|
5408
5408
|
}
|
|
5409
|
-
v[
|
|
5409
|
+
v[Se] = Array.isArray(Re) ? Re : [];
|
|
5410
5410
|
}), v;
|
|
5411
5411
|
}, $e = (Q) => (console.log("Default conversion logic - to be implemented"), {
|
|
5412
5412
|
originalData: Q,
|
|
@@ -5450,20 +5450,20 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5450
5450
|
])
|
|
5451
5451
|
]),
|
|
5452
5452
|
L("div", ur, [
|
|
5453
|
-
(ce(!0), Fe(gl, null, wl(a.value, (Re,
|
|
5453
|
+
(ce(!0), Fe(gl, null, wl(a.value, (Re, Se) => (ce(), Fe("div", {
|
|
5454
5454
|
class: "tab-item",
|
|
5455
|
-
key:
|
|
5455
|
+
key: Se
|
|
5456
5456
|
}, [
|
|
5457
5457
|
L("span", rr, Je(Re.title), 1),
|
|
5458
5458
|
L("div", tr, [
|
|
5459
5459
|
L("button", {
|
|
5460
|
-
onClick: (Qe) => P(
|
|
5460
|
+
onClick: (Qe) => P(Se)
|
|
5461
5461
|
}, "修改标题", 8, cr),
|
|
5462
5462
|
L("button", {
|
|
5463
|
-
onClick: (Qe) => f(
|
|
5463
|
+
onClick: (Qe) => f(Se)
|
|
5464
5464
|
}, "布局调整", 8, dr),
|
|
5465
5465
|
L("button", {
|
|
5466
|
-
onClick: (Qe) => R(
|
|
5466
|
+
onClick: (Qe) => R(Se)
|
|
5467
5467
|
}, "删除", 8, pr)
|
|
5468
5468
|
])
|
|
5469
5469
|
]))), 128))
|
|
@@ -5529,7 +5529,7 @@ const ku = /* @__PURE__ */ El(gu, [["render", bu]]), _u = { class: "module conte
|
|
|
5529
5529
|
(ce(!0), Fe(gl, null, wl(b.value, (Re) => (ce(), Fe("div", {
|
|
5530
5530
|
key: Re.id,
|
|
5531
5531
|
class: "component-item",
|
|
5532
|
-
onClick: (
|
|
5532
|
+
onClick: (Se) => X(Re)
|
|
5533
5533
|
}, [
|
|
5534
5534
|
L("div", gr, [
|
|
5535
5535
|
L("span", br, Je(le(Re.comp)), 1),
|
|
@@ -5596,13 +5596,13 @@ function wr() {
|
|
|
5596
5596
|
series: []
|
|
5597
5597
|
};
|
|
5598
5598
|
}
|
|
5599
|
-
function
|
|
5599
|
+
function Sr(e) {
|
|
5600
5600
|
return {
|
|
5601
5601
|
type: "line",
|
|
5602
5602
|
...e
|
|
5603
5603
|
};
|
|
5604
5604
|
}
|
|
5605
|
-
function
|
|
5605
|
+
function Ir() {
|
|
5606
5606
|
return {
|
|
5607
5607
|
title: {
|
|
5608
5608
|
text: "",
|
|
@@ -5675,10 +5675,10 @@ function Er(e) {
|
|
|
5675
5675
|
const da = {
|
|
5676
5676
|
line: {
|
|
5677
5677
|
initBaseoptions: wr,
|
|
5678
|
-
initSeries:
|
|
5678
|
+
initSeries: Sr
|
|
5679
5679
|
},
|
|
5680
5680
|
bar: {
|
|
5681
|
-
initBaseoptions:
|
|
5681
|
+
initBaseoptions: Ir,
|
|
5682
5682
|
initSeries: xr
|
|
5683
5683
|
},
|
|
5684
5684
|
pie: {
|
|
@@ -5716,9 +5716,9 @@ const da = {
|
|
|
5716
5716
|
const { menu: o, mainKey: n, detailGroup: l, detailNameCol: a, detailValueCol: r, isSelfDetail: g } = e || {};
|
|
5717
5717
|
let c = null;
|
|
5718
5718
|
const D = sessionStorage.getItem("systemKey");
|
|
5719
|
-
if (g && qs.activeMenuPath && (c = await
|
|
5719
|
+
if (g && qs.activeMenuPath && (c = await Sl(`${qs.activeMenuPath}`, D, "")), !g) {
|
|
5720
5720
|
const p = o == null ? void 0 : o.join("/");
|
|
5721
|
-
c = await
|
|
5721
|
+
c = await Sl(`${p}^${n}`, D, "");
|
|
5722
5722
|
}
|
|
5723
5723
|
return yi(c, {
|
|
5724
5724
|
group: l,
|
|
@@ -5726,7 +5726,7 @@ const da = {
|
|
|
5726
5726
|
valueCol: r
|
|
5727
5727
|
});
|
|
5728
5728
|
}, $r = async (e) => {
|
|
5729
|
-
const { menu: o, group: n, nameCol: l, valueCol: a } = e || {}, r = o == null ? void 0 : o.join("/"), g = sessionStorage.getItem("systemKey"), c = await
|
|
5729
|
+
const { menu: o, group: n, nameCol: l, valueCol: a } = e || {}, r = o == null ? void 0 : o.join("/"), g = sessionStorage.getItem("systemKey"), c = await Sl(r, g, "");
|
|
5730
5730
|
return yi(c, {
|
|
5731
5731
|
group: n,
|
|
5732
5732
|
nameCol: l,
|
|
@@ -5990,7 +5990,7 @@ const da = {
|
|
|
5990
5990
|
visible: !1,
|
|
5991
5991
|
width: "840",
|
|
5992
5992
|
title: "详情页配置"
|
|
5993
|
-
}), _ = V([]),
|
|
5993
|
+
}), _ = V([]), I = () => [
|
|
5994
5994
|
{
|
|
5995
5995
|
label: "详情页主键",
|
|
5996
5996
|
prop: "mainKey",
|
|
@@ -6041,27 +6041,27 @@ const da = {
|
|
|
6041
6041
|
ae.value = (Me = f == null ? void 0 : f.value) == null ? void 0 : Me[te], te === "mainKey" && (ae.contents = z);
|
|
6042
6042
|
}), _.value = T, he.visible = !0;
|
|
6043
6043
|
}, Ke = V([]), Ye = V([]), dl = V({}), ll = V({}), qe = () => {
|
|
6044
|
-
const { compData: z } = Y.value || {}, T = z == null ? void 0 : z.find((
|
|
6045
|
-
const { key: h } =
|
|
6044
|
+
const { compData: z } = Y.value || {}, T = z == null ? void 0 : z.find((S) => {
|
|
6045
|
+
const { key: h } = S;
|
|
6046
6046
|
return h === "header";
|
|
6047
|
-
}), ae = (T == null ? void 0 : T.contents) || [], te = ae == null ? void 0 : ae.filter((
|
|
6048
|
-
const { label: u } =
|
|
6047
|
+
}), ae = (T == null ? void 0 : T.contents) || [], te = ae == null ? void 0 : ae.filter((S, h) => {
|
|
6048
|
+
const { label: u } = S;
|
|
6049
6049
|
return u !== "操作";
|
|
6050
|
-
}), Me = te == null ? void 0 : te.findIndex((
|
|
6051
|
-
const { isMainKey: u } =
|
|
6050
|
+
}), Me = te == null ? void 0 : te.findIndex((S, h) => {
|
|
6051
|
+
const { isMainKey: u } = S;
|
|
6052
6052
|
return u;
|
|
6053
6053
|
});
|
|
6054
6054
|
if (Me < 0)
|
|
6055
6055
|
return [];
|
|
6056
|
-
const de = z == null ? void 0 : z.find((
|
|
6057
|
-
const { key: h } =
|
|
6056
|
+
const de = z == null ? void 0 : z.find((S) => {
|
|
6057
|
+
const { key: h } = S;
|
|
6058
6058
|
return h === "tableContents";
|
|
6059
6059
|
}), i = (de == null ? void 0 : de.contents) || [];
|
|
6060
|
-
return i == null ? void 0 : i.map((
|
|
6061
|
-
const h =
|
|
6060
|
+
return i == null ? void 0 : i.map((S) => {
|
|
6061
|
+
const h = S == null ? void 0 : S[0];
|
|
6062
6062
|
let u = Me;
|
|
6063
6063
|
Ha(h) && (h != null && h.id) && (u = u + 1);
|
|
6064
|
-
const K =
|
|
6064
|
+
const K = S == null ? void 0 : S[u];
|
|
6065
6065
|
return {
|
|
6066
6066
|
label: K,
|
|
6067
6067
|
value: K
|
|
@@ -6072,7 +6072,7 @@ const da = {
|
|
|
6072
6072
|
Ke.value = z;
|
|
6073
6073
|
}, q = async (z) => {
|
|
6074
6074
|
const T = sessionStorage.getItem("systemKey");
|
|
6075
|
-
return await
|
|
6075
|
+
return await Sl(z, T, "");
|
|
6076
6076
|
}, re = async (z) => {
|
|
6077
6077
|
const T = z;
|
|
6078
6078
|
Ye.value = T == null ? void 0 : T.map((ae) => {
|
|
@@ -6089,7 +6089,7 @@ const da = {
|
|
|
6089
6089
|
te = te.filter((Me) => {
|
|
6090
6090
|
const { prop: de } = Me;
|
|
6091
6091
|
return de !== "formItems";
|
|
6092
|
-
}),
|
|
6092
|
+
}), Se(te, ae), _.value = te;
|
|
6093
6093
|
}
|
|
6094
6094
|
}, $e = async () => {
|
|
6095
6095
|
var ae, te;
|
|
@@ -6098,8 +6098,8 @@ const da = {
|
|
|
6098
6098
|
const de = `${T == null ? void 0 : T.join("/")}^${z}`, i = await q(de);
|
|
6099
6099
|
await re(i);
|
|
6100
6100
|
const t = b();
|
|
6101
|
-
t == null || t.forEach((
|
|
6102
|
-
(
|
|
6101
|
+
t == null || t.forEach((S) => {
|
|
6102
|
+
(S == null ? void 0 : S.prop) === "group" && (S.contents = Ye.value);
|
|
6103
6103
|
}), _.value = t;
|
|
6104
6104
|
}
|
|
6105
6105
|
};
|
|
@@ -6126,7 +6126,7 @@ const da = {
|
|
|
6126
6126
|
await ie(z);
|
|
6127
6127
|
}, v = V([]), fe = V({}), Y = V({}), ve = async (z) => {
|
|
6128
6128
|
const T = z == null ? void 0 : z.join("/"), ae = sessionStorage.getItem("systemKey");
|
|
6129
|
-
return await
|
|
6129
|
+
return await Sl(T, ae, "");
|
|
6130
6130
|
}, ze = async (z) => {
|
|
6131
6131
|
const T = await ve(z);
|
|
6132
6132
|
v.value = T == null ? void 0 : T.map((ae) => {
|
|
@@ -6150,17 +6150,17 @@ const da = {
|
|
|
6150
6150
|
const ae = z == null ? void 0 : z.join("/"), te = T == null ? void 0 : T.join("/");
|
|
6151
6151
|
ae != te && await Re(z);
|
|
6152
6152
|
});
|
|
6153
|
-
const
|
|
6153
|
+
const Se = (z, T) => {
|
|
6154
6154
|
const ae = T == null ? void 0 : T.find((i) => {
|
|
6155
6155
|
const { key: t } = i;
|
|
6156
6156
|
return t === "header";
|
|
6157
6157
|
}), te = (ae == null ? void 0 : ae.contents) || [], Me = te == null ? void 0 : te.filter((i, t) => {
|
|
6158
|
-
const { label:
|
|
6159
|
-
return
|
|
6158
|
+
const { label: S } = i;
|
|
6159
|
+
return S !== "操作";
|
|
6160
6160
|
}), de = Me == null ? void 0 : Me.map((i, t) => {
|
|
6161
|
-
const { label:
|
|
6161
|
+
const { label: S } = i;
|
|
6162
6162
|
return {
|
|
6163
|
-
label:
|
|
6163
|
+
label: S,
|
|
6164
6164
|
value: t
|
|
6165
6165
|
};
|
|
6166
6166
|
});
|
|
@@ -6176,7 +6176,7 @@ const da = {
|
|
|
6176
6176
|
te = te.filter((Me) => {
|
|
6177
6177
|
const { prop: de } = Me;
|
|
6178
6178
|
return de !== "formItems";
|
|
6179
|
-
}),
|
|
6179
|
+
}), Se(te, ae), w.value = te;
|
|
6180
6180
|
}
|
|
6181
6181
|
}, ne = async (z) => {
|
|
6182
6182
|
const T = fe.value[z];
|
|
@@ -6215,7 +6215,7 @@ const da = {
|
|
|
6215
6215
|
};
|
|
6216
6216
|
return vs(async () => {
|
|
6217
6217
|
var T, ae, te;
|
|
6218
|
-
w.value = se(), _.value =
|
|
6218
|
+
w.value = se(), _.value = I();
|
|
6219
6219
|
const z = n == null ? void 0 : n.itemContents;
|
|
6220
6220
|
c.value = ((T = z == null ? void 0 : z.find((Me) => Me.key === "chartBaseConfig")) == null ? void 0 : T.contents) ?? {}, U.value = ((ae = z == null ? void 0 : z.find((Me) => Me.key === "chartDataConfig")) == null ? void 0 : ae.contents) ?? {}, await Pe(), f.value = ((te = z == null ? void 0 : z.find((Me) => Me.key === "chartDetailConfig")) == null ? void 0 : te.contents) ?? {}, await Q();
|
|
6221
6221
|
}), (z, T) => {
|
|
@@ -6470,7 +6470,7 @@ function Xr() {
|
|
|
6470
6470
|
}(rs)), rs.exports;
|
|
6471
6471
|
}
|
|
6472
6472
|
Xr();
|
|
6473
|
-
const
|
|
6473
|
+
const Ia = ys(), { loginUserInfo: ns } = Al(Ia), xl = Xa(Cl), ts = V(!1), {
|
|
6474
6474
|
itemData: Qr,
|
|
6475
6475
|
itemGridData: Xt,
|
|
6476
6476
|
curStructureCompIds: Qs,
|
|
@@ -6478,7 +6478,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6478
6478
|
isRefreshCurStructure: Zr,
|
|
6479
6479
|
freshContent: Ys,
|
|
6480
6480
|
routeToChildPath: et
|
|
6481
|
-
} = Al(xl), aa = Qa(Cl), { activeTopMenuPath: lt, activeMenuPath: Ll, platform: Qt, activeAsideMenu: at, buttonTriggerType: st } = Al(aa), Xl =
|
|
6481
|
+
} = Al(xl), aa = Qa(Cl), { activeTopMenuPath: lt, activeMenuPath: Ll, platform: Qt, activeAsideMenu: at, buttonTriggerType: st } = Al(aa), Xl = Ii(Cl), { selectTitle: Zs } = Al(Xl), it = hs(Cl), { originalPath: gs } = Al(it), ei = Xi(Cl), Ts = V(!0), fs = V(0), hi = V([]), qa = Gl(async () => {
|
|
6482
6482
|
var o, n;
|
|
6483
6483
|
const e = (o = Ll.value) != null && o.startsWith("/") ? (n = Ll.value) == null ? void 0 : n.substring(1) : Ll.value;
|
|
6484
6484
|
return (e == null ? void 0 : e.includes(gs.value)) || await rt(e);
|
|
@@ -6489,16 +6489,16 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6489
6489
|
}, ec = async (e) => {
|
|
6490
6490
|
var o;
|
|
6491
6491
|
if ((e == null ? void 0 : e.key) === "main" || Zs.value.length === 1)
|
|
6492
|
-
|
|
6492
|
+
Il.value = await Sl(Ll.value, sessionStorage.getItem("systemKey"), "", !1, [], await qa.value), Xl.setSelectIndex(""), Xl.setSelectMenu(""), Xl.setSelectTitle([]);
|
|
6493
6493
|
else {
|
|
6494
6494
|
const n = [], l = (e == null ? void 0 : e.key) === "" || !(e != null && e.key) ? "" : parseInt(e == null ? void 0 : e.key);
|
|
6495
|
-
|
|
6495
|
+
Il.value = await Sl(Ll.value, sessionStorage.getItem("systemKey"), l, !1, [], await qa.value);
|
|
6496
6496
|
let a = -1;
|
|
6497
6497
|
(o = Zs.value) == null || o.forEach((r, g) => {
|
|
6498
6498
|
(r == null ? void 0 : r.key) === (e == null ? void 0 : e.key) && (a = g), (a === -1 || a >= g) && n.push(r);
|
|
6499
6499
|
}), Xl.setSelectTitle(n), l !== "" ? Xl.setSelectMenu(e == null ? void 0 : e.key) : (Xl.setSelectIndex(""), Xl.setSelectMenu(""));
|
|
6500
6500
|
}
|
|
6501
|
-
|
|
6501
|
+
Il.value = Ya(Il.value), xl.setItemData(Il.value), xl.setOriginalData(Il.value);
|
|
6502
6502
|
}, Ds = async (e, o, n, l = "contentConfig") => {
|
|
6503
6503
|
var a, r, g;
|
|
6504
6504
|
try {
|
|
@@ -6576,7 +6576,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6576
6576
|
}).catch((y) => {
|
|
6577
6577
|
bl.success(y);
|
|
6578
6578
|
});
|
|
6579
|
-
}, mi = (e) => Za(e),
|
|
6579
|
+
}, mi = (e) => Za(e), Il = V([]), ac = V(["审批意见"]), nt = async (e) => {
|
|
6580
6580
|
var l, a, r, g, c, D;
|
|
6581
6581
|
let o = s(Ll).value;
|
|
6582
6582
|
o = o + gs.value + ((l = Object.values(e == null ? void 0 : e.singleContent)) == null ? void 0 : l[0]);
|
|
@@ -6590,7 +6590,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6590
6590
|
const p = (c = (g = n == null ? void 0 : n.data) == null ? void 0 : g.result) == null ? void 0 : c.map((A) => A == null ? void 0 : A.id), y = await Ba({
|
|
6591
6591
|
ids: p
|
|
6592
6592
|
});
|
|
6593
|
-
((D = y == null ? void 0 : y.data) == null ? void 0 : D.code) === 200 ? (bl.success("删除成功"), await
|
|
6593
|
+
((D = y == null ? void 0 : y.data) == null ? void 0 : D.code) === 200 ? (bl.success("删除成功"), await Ia.setLogRecordAsync({
|
|
6594
6594
|
type: "删除",
|
|
6595
6595
|
data: e
|
|
6596
6596
|
}, o)) : bl.error("删除响应失败"), xl.setTableLoading(!1);
|
|
@@ -6620,7 +6620,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6620
6620
|
})) == null ? void 0 : o.map((D) => D == null ? void 0 : D.id))), c = await Ba({
|
|
6621
6621
|
ids: g
|
|
6622
6622
|
});
|
|
6623
|
-
((n = c == null ? void 0 : c.data) == null ? void 0 : n.code) === 200 ? (bl.success("删除成功"), await
|
|
6623
|
+
((n = c == null ? void 0 : c.data) == null ? void 0 : n.code) === 200 ? (bl.success("删除成功"), await Ia.setLogRecordAsync({
|
|
6624
6624
|
type: "删除",
|
|
6625
6625
|
data: e
|
|
6626
6626
|
}, l)) : bl.error("删除响应失败");
|
|
@@ -6634,9 +6634,9 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6634
6634
|
xl.setTableLoading(!1);
|
|
6635
6635
|
}
|
|
6636
6636
|
}, ai = V(null), gi = async (e, o = "data", n) => {
|
|
6637
|
-
var l, a, r, g, c, D, p, y, A, w, se, U, we, P, R, he, _,
|
|
6637
|
+
var l, a, r, g, c, D, p, y, A, w, se, U, we, P, R, he, _, I, f, b, le;
|
|
6638
6638
|
if (ai.value = null, (e == null ? void 0 : e.buttonName) === "删除")
|
|
6639
|
-
typeof ((l = e == null ? void 0 : e.singleContent) == null ? void 0 : l.id) == "string" ? await li(e) : await Hi((a = e == null ? void 0 : e.singleContent) == null ? void 0 : a.id), await
|
|
6639
|
+
typeof ((l = e == null ? void 0 : e.singleContent) == null ? void 0 : l.id) == "string" ? await li(e) : await Hi((a = e == null ? void 0 : e.singleContent) == null ? void 0 : a.id), await Ia.setLogRecordAsync({
|
|
6640
6640
|
type: "删除",
|
|
6641
6641
|
data: e
|
|
6642
6642
|
}, Ll.value);
|
|
@@ -6655,7 +6655,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6655
6655
|
const X = (c = e == null ? void 0 : e.selectItems) == null ? void 0 : c.map((Ke) => Ke == null ? void 0 : Ke.id);
|
|
6656
6656
|
await Ba({
|
|
6657
6657
|
ids: X
|
|
6658
|
-
}), await
|
|
6658
|
+
}), await Ia.setLogRecordAsync({
|
|
6659
6659
|
type: "删除",
|
|
6660
6660
|
data: X
|
|
6661
6661
|
}, Ll.value);
|
|
@@ -6688,7 +6688,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6688
6688
|
const m = await Wl({
|
|
6689
6689
|
id: Ye
|
|
6690
6690
|
});
|
|
6691
|
-
ll = ((P = (we = (U = (se = m == null ? void 0 : m.data) == null ? void 0 : se.result) == null ? void 0 : U[0]) == null ? void 0 : we.key) == null ? void 0 : P.tableId) ?? "", qe = ((
|
|
6691
|
+
ll = ((P = (we = (U = (se = m == null ? void 0 : m.data) == null ? void 0 : se.result) == null ? void 0 : U[0]) == null ? void 0 : we.key) == null ? void 0 : P.tableId) ?? "", qe = ((I = (_ = (he = (R = m == null ? void 0 : m.data) == null ? void 0 : R.result) == null ? void 0 : he[0]) == null ? void 0 : _.key) == null ? void 0 : I.pageKey) ?? "";
|
|
6692
6692
|
}
|
|
6693
6693
|
(f = e == null ? void 0 : e.singleContent) == null || f.forEach((m) => {
|
|
6694
6694
|
let q = {};
|
|
@@ -6732,7 +6732,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6732
6732
|
}
|
|
6733
6733
|
xl.setCacheUpdatingData(null);
|
|
6734
6734
|
}
|
|
6735
|
-
xl.setTableLoading(!1), (le = e == null ? void 0 : e.column) != null && le.some((X) => X == null ? void 0 : X.isMainKey) || (
|
|
6735
|
+
xl.setTableLoading(!1), (le = e == null ? void 0 : e.column) != null && le.some((X) => X == null ? void 0 : X.isMainKey) || (Il.value = await Sl(Ll.value, sessionStorage.getItem("systemKey"), "", !1, [], await qa.value)), Il.value = Ya(Il.value);
|
|
6736
6736
|
}, ot = async (e) => {
|
|
6737
6737
|
var n, l, a;
|
|
6738
6738
|
const o = await Wl({
|
|
@@ -6750,7 +6750,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6750
6750
|
isShow: (g = n == null ? void 0 : n.pageData) == null ? void 0 : g.isShow
|
|
6751
6751
|
}), o && (aa.setActiveMenuPath(null), aa.setActiveMenuPath(o));
|
|
6752
6752
|
}, ki = (e) => {
|
|
6753
|
-
|
|
6753
|
+
Il.value = Ya(e), xl.setItemData(Il.value), xl.setOriginalData(Il.value);
|
|
6754
6754
|
}, ut = async (e) => {
|
|
6755
6755
|
var o;
|
|
6756
6756
|
await $s(), (o = at.value) != null && o.isRouter ? ei.setRouterPageStructure(e) : ei.setRouterPageStructure([]);
|
|
@@ -6780,7 +6780,7 @@ const Sa = ys(), { loginUserInfo: ns } = Al(Sa), xl = Xa(Cl), ts = V(!1), {
|
|
|
6780
6780
|
var e, o, n, l;
|
|
6781
6781
|
try {
|
|
6782
6782
|
if (lt.value !== "报告中心" || !((e = Ll.value) != null && e.includes(gs.value))) return;
|
|
6783
|
-
const a = (o =
|
|
6783
|
+
const a = (o = Il.value) == null ? void 0 : o.find((D) => {
|
|
6784
6784
|
var p;
|
|
6785
6785
|
return ((p = D == null ? void 0 : D.comp) == null ? void 0 : p.toUpperCase()) === "FORM";
|
|
6786
6786
|
});
|
|
@@ -6800,12 +6800,12 @@ Dl(
|
|
|
6800
6800
|
var r, g, c, D, p, y, A;
|
|
6801
6801
|
if (!Ll.value)
|
|
6802
6802
|
return;
|
|
6803
|
-
xl.setLockingPage(""),
|
|
6803
|
+
xl.setLockingPage(""), Il.value = [];
|
|
6804
6804
|
let o = $i();
|
|
6805
6805
|
(r = o == null ? void 0 : o.scope) == null || r.stop(), o = null, Ts.value = !1, ts.value = !0;
|
|
6806
6806
|
const n = (g = e == null ? void 0 : e[0]) != null && g.startsWith("/") ? (c = e == null ? void 0 : e[0]) == null ? void 0 : c.substring(1) : e == null ? void 0 : e[0];
|
|
6807
6807
|
let l = /* @__PURE__ */ new WeakMap();
|
|
6808
|
-
(p = (D = (await
|
|
6808
|
+
(p = (D = (await Ss({
|
|
6809
6809
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
6810
6810
|
type: "data,structure,structureMethod"
|
|
6811
6811
|
})).data.result) == null ? void 0 : D.filter((w) => {
|
|
@@ -6813,10 +6813,10 @@ Dl(
|
|
|
6813
6813
|
return ((se = w == null ? void 0 : w.key) == null ? void 0 : se.pageKey) !== "menu" && ((U = w == null ? void 0 : w.key) == null ? void 0 : U.pageKey) !== "secret";
|
|
6814
6814
|
})) == null || p.forEach((w) => {
|
|
6815
6815
|
l[w.key.pageKey] ? l[w.key.pageKey] = [...l[w.key.pageKey], w] : l[w.key.pageKey] = [w];
|
|
6816
|
-
}), hi.value = l, n ? (aa.setContentLoading(!0), sessionStorage.setItem("pageKey", Ll.value),
|
|
6816
|
+
}), hi.value = l, n ? (aa.setContentLoading(!0), sessionStorage.setItem("pageKey", Ll.value), Il.value = await Sl(n, sessionStorage.getItem("systemKey"), "", !1, [], await qa.value, l), await Ia.setLogRecordAsync({
|
|
6817
6817
|
type: "查询",
|
|
6818
|
-
data:
|
|
6819
|
-
}, Ll.value),
|
|
6818
|
+
data: Il.value
|
|
6819
|
+
}, Ll.value), Il.value = Ya(Il.value), await ut(Il.value), _i(), xl.setExtraContents([]), Xl.setSelectTitle([]), Xl.setSelectIndex(""), Xl.setSelectMenu(""), xl.setItemData(Il.value), xl.setOriginalData(Il.value), xl.setCurStructureCompIds((y = Il.value) == null ? void 0 : y.map((w) => w == null ? void 0 : w.id)), xl.setRefreshCurStructure(!1), Xl.setSelectTitle((A = Ll.value) == null ? void 0 : A.split("/").map((w) => ({ value: w.trim() }))), aa.setChildMenu(""), aa.setContentLoading(!1), xl.setTableLoading(!1), ts.value = !1) : (Il.value = [], ts.value = !1), $s(() => {
|
|
6820
6820
|
fs.value = fs.value++, Ts.value = !0;
|
|
6821
6821
|
});
|
|
6822
6822
|
},
|
|
@@ -6828,8 +6828,8 @@ Dl(
|
|
|
6828
6828
|
() => Ys.value,
|
|
6829
6829
|
async () => {
|
|
6830
6830
|
if (Ys.value) {
|
|
6831
|
-
let e = await
|
|
6832
|
-
|
|
6831
|
+
let e = await Sl(Ll.value, sessionStorage.getItem("systemKey"), "", !1, [], await qa.value);
|
|
6832
|
+
Il.value = Ya(e), xl.setFreshContent(!1), _i();
|
|
6833
6833
|
}
|
|
6834
6834
|
},
|
|
6835
6835
|
{ deep: !0 }
|
|
@@ -6852,10 +6852,10 @@ const sc = async () => {
|
|
|
6852
6852
|
const l = (A = (y = o == null ? void 0 : o.data) == null ? void 0 : y.result) == null ? void 0 : A.map((w) => w == null ? void 0 : w.id);
|
|
6853
6853
|
n = [...s(n), ...l], (n == null ? void 0 : n.length) > 0 && (n != null && n.every((w) => w !== null && w)) && (await Ba({
|
|
6854
6854
|
ids: n
|
|
6855
|
-
}), await
|
|
6855
|
+
}), await Ia.setLogRecordAsync({
|
|
6856
6856
|
type: "删除",
|
|
6857
6857
|
data: n
|
|
6858
|
-
}, Ll.value)), aa.setActiveMenuPath(et.value),
|
|
6858
|
+
}, Ll.value)), aa.setActiveMenuPath(et.value), Il.value = null, xl.setRouteToChildPath(""), aa.setChildMenu("");
|
|
6859
6859
|
}, tt = (e) => /^[\u4e00-\u9fa5]+\/[\u4e00-\u9fa5]+\^(.+)$/.test(e), ic = (e) => {
|
|
6860
6860
|
if (tt(e)) {
|
|
6861
6861
|
const o = e == null ? void 0 : e.split("^");
|
|
@@ -6984,7 +6984,7 @@ const sc = async () => {
|
|
|
6984
6984
|
value: f == null ? void 0 : f.height
|
|
6985
6985
|
}
|
|
6986
6986
|
], D = (f) => {
|
|
6987
|
-
r.value = f, l("change",
|
|
6987
|
+
r.value = f, l("change", I(), !0);
|
|
6988
6988
|
}, p = V([]), y = V([]), A = (f) => [
|
|
6989
6989
|
{
|
|
6990
6990
|
label: "占比",
|
|
@@ -7026,11 +7026,11 @@ const sc = async () => {
|
|
|
7026
7026
|
});
|
|
7027
7027
|
const P = (f, b) => {
|
|
7028
7028
|
const le = s(U == null ? void 0 : U.value);
|
|
7029
|
-
le[b].span = f.span, p.value = le, l("change",
|
|
7029
|
+
le[b].span = f.span, p.value = le, l("change", I(), !0);
|
|
7030
7030
|
}, R = (f) => Za(f), he = (f, b, le) => {
|
|
7031
7031
|
if (!f) return;
|
|
7032
7032
|
const X = s(U == null ? void 0 : U.value);
|
|
7033
|
-
X[le] && (X[le].compData = f, p.value = X, l("change",
|
|
7033
|
+
X[le] && (X[le].compData = f, p.value = X, l("change", I(), !0));
|
|
7034
7034
|
}, _ = (f) => {
|
|
7035
7035
|
ra.confirm("是否确认要删除", "", {
|
|
7036
7036
|
confirmButtonText: "确认",
|
|
@@ -7038,13 +7038,13 @@ const sc = async () => {
|
|
|
7038
7038
|
type: "warning"
|
|
7039
7039
|
}).then(() => {
|
|
7040
7040
|
let b = s(U == null ? void 0 : U.value);
|
|
7041
|
-
b = b == null ? void 0 : b.filter((le, X) => f !== X), p.value = b, l("change",
|
|
7041
|
+
b = b == null ? void 0 : b.filter((le, X) => f !== X), p.value = b, l("change", I(), !0), bl({
|
|
7042
7042
|
type: "success",
|
|
7043
7043
|
message: "删除成功"
|
|
7044
7044
|
});
|
|
7045
7045
|
}).catch(() => {
|
|
7046
7046
|
});
|
|
7047
|
-
},
|
|
7047
|
+
}, I = () => ({
|
|
7048
7048
|
compData: [
|
|
7049
7049
|
{
|
|
7050
7050
|
key: "baseConfig",
|
|
@@ -7143,7 +7143,7 @@ const sc = async () => {
|
|
|
7143
7143
|
L("div", {
|
|
7144
7144
|
class: "group-name-wrap",
|
|
7145
7145
|
style: Ga({
|
|
7146
|
-
paddingLeft: parseInt(a.value.toString())
|
|
7146
|
+
paddingLeft: (parseInt(a.value.toString()) - 1) * 12 + "px",
|
|
7147
7147
|
fontWeight: 600 - (a.value - 1) * 100 >= 400 ? 600 - (a.value - 1) * 100 : 400,
|
|
7148
7148
|
fontSize: 17 - a.value >= 14 ? 17 - a.value + "px" : "14px"
|
|
7149
7149
|
})
|
|
@@ -7168,7 +7168,7 @@ const sc = async () => {
|
|
|
7168
7168
|
], 4);
|
|
7169
7169
|
}), 256));
|
|
7170
7170
|
}
|
|
7171
|
-
}), wt = /* @__PURE__ */ El(Dt, [["__scopeId", "data-v-
|
|
7171
|
+
}), wt = /* @__PURE__ */ El(Dt, [["__scopeId", "data-v-213db133"]]), St = V([
|
|
7172
7172
|
{
|
|
7173
7173
|
name: "表格",
|
|
7174
7174
|
type: "table",
|
|
@@ -7229,10 +7229,10 @@ const sc = async () => {
|
|
|
7229
7229
|
comp: "Layout",
|
|
7230
7230
|
icon: "ai13"
|
|
7231
7231
|
}
|
|
7232
|
-
]),
|
|
7232
|
+
]), It = {
|
|
7233
7233
|
TABLE: xi,
|
|
7234
7234
|
FORM: Gs,
|
|
7235
|
-
TABLEOPERATE:
|
|
7235
|
+
TABLEOPERATE: So,
|
|
7236
7236
|
FORMOPERATE: Hs,
|
|
7237
7237
|
FOLD: lu,
|
|
7238
7238
|
CALCULATOR: uu,
|
|
@@ -7245,7 +7245,7 @@ const sc = async () => {
|
|
|
7245
7245
|
TIMELINE: Fu,
|
|
7246
7246
|
TIMELINEOPERATE: Yo,
|
|
7247
7247
|
FORMTOPOPERATE: Hs,
|
|
7248
|
-
SIGNATUREOPERATE:
|
|
7248
|
+
SIGNATUREOPERATE: Iu,
|
|
7249
7249
|
AVATARUPLOADOPERATE: ku,
|
|
7250
7250
|
TABS: Pu,
|
|
7251
7251
|
TABSOPERATE: Dr,
|
|
@@ -7257,7 +7257,7 @@ const sc = async () => {
|
|
|
7257
7257
|
// 添加其他组件...
|
|
7258
7258
|
};
|
|
7259
7259
|
function Za(e) {
|
|
7260
|
-
return
|
|
7260
|
+
return It[e == null ? void 0 : e.toUpperCase()] || null;
|
|
7261
7261
|
}
|
|
7262
7262
|
export {
|
|
7263
7263
|
jt as A,
|
|
@@ -7286,8 +7286,8 @@ export {
|
|
|
7286
7286
|
bi as o,
|
|
7287
7287
|
ai as p,
|
|
7288
7288
|
vu as q,
|
|
7289
|
-
|
|
7290
|
-
|
|
7289
|
+
St as r,
|
|
7290
|
+
Il as s,
|
|
7291
7291
|
zs as t,
|
|
7292
7292
|
ui as u,
|
|
7293
7293
|
hn as v,
|