ss-component-new 1.1.721 → 1.1.722
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{array-BcN1bdmj.js → array-FulG82Wd.js} +1 -1
- package/dist/{array-CgJ6luvr.cjs → array-j_Jm36X2.cjs} +1 -1
- package/dist/{index-CSfd9Nvs.cjs → index-5C5dkXDU.cjs} +1 -1
- package/dist/{index-D9G0MN0h.cjs → index-5f02h0OG.cjs} +1 -1
- package/dist/{index-CVDOumPC.js → index-7pynpBzO.js} +197 -194
- package/dist/{index-Cd71tWDj.js → index-B2Dg6Igx.js} +3 -3
- package/dist/{index-Dz7-jX87.cjs → index-B465oDNF.cjs} +1 -1
- package/dist/index-B5rdFPoY.cjs +1 -0
- package/dist/index-BBixwgq6.cjs +1 -0
- package/dist/{index-di0y5Ciz.js → index-BV3q_gfJ.js} +622 -620
- package/dist/{index-CyCiiIH7.js → index-BVJRNWyD.js} +37 -29
- package/dist/{index-C1IBXnyt.cjs → index-BXci8QlQ.cjs} +1 -1
- package/dist/{index-BYl3ZfMW.js → index-BaHsv4vm.js} +1 -1
- package/dist/{index-BV3gIolN.cjs → index-BhHUdTvT.cjs} +1 -1
- package/dist/{index-BHBGoWFE.js → index-C0VPKe32.js} +4 -4
- package/dist/{index-50HGqFLU.js → index-C46X4n-F.js} +2 -2
- package/dist/{index-YA8F1H22.js → index-C5nOu_u4.js} +2 -2
- package/dist/{index-C2KiCWir.js → index-C8yYonrw.js} +2 -2
- package/dist/{index-BaOJ2FlA.cjs → index-CFh-d8RL.cjs} +1 -1
- package/dist/{index-C08wAtul.js → index-CXUy2F6K.js} +3 -3
- package/dist/{index-D9HFpsnH.cjs → index-CcnNUEDU.cjs} +1 -1
- package/dist/{index-Bjlg9wnM.js → index-Ch7TP4wi.js} +5 -5
- package/dist/{index-Be3sB22h.cjs → index-CtnG5zPp.cjs} +1 -1
- package/dist/{index-GxAWv8aU.cjs → index-D1ewMp1K.cjs} +1 -1
- package/dist/{index-DFwEXQv-.js → index-D63tdG-C.js} +2 -2
- package/dist/{index-Dn7yNpUx.cjs → index-DAcJ-_3t.cjs} +1 -1
- package/dist/{index-BaJiGLkX.js → index-DJfQC8lC.js} +1 -1
- package/dist/{index-CIPfJ4V5.js → index-DPEoeBiB.js} +5 -5
- package/dist/index-DWVcuh4H.cjs +1 -0
- package/dist/{index-Cx320XRD.cjs → index-DhDR9VR4.cjs} +1 -1
- package/dist/{index-xSTLa8Bb.js → index-DnRrbEmD.js} +12 -12
- package/dist/{index-CAV4FH8Z.cjs → index-DnotijKG.cjs} +1 -1
- package/dist/{index-v9IlbVxb.js → index-DqgxRwXk.js} +2 -2
- package/dist/{index-C5OJDom_.cjs → index-Dt8Y7ZEu.cjs} +1 -1
- package/dist/{index-Bidjqofb.js → index-H3oTE2o3.js} +3 -3
- package/dist/{index-C8KgQTfH.js → index-J5gPaIHA.js} +5 -7
- package/dist/{index-Bl6RAbAc.js → index-JdpmuqlA.js} +2 -2
- package/dist/{index-DOn8yEZJ.cjs → index-Q9SUGZEI.cjs} +2 -2
- package/dist/{index-B_h8SY5M.js → index-QZeU6EYU.js} +1 -1
- package/dist/{index-BkryeHcb.cjs → index-SXjLRLEg.cjs} +1 -1
- package/dist/{index-fniyUh6b.cjs → index-_Z3_O2tt.cjs} +1 -1
- package/dist/{index-DLPqu104.js → index-bIcaXvuG.js} +5 -5
- package/dist/{index-onW5suua.js → index-fhw2Uvyg.js} +3 -3
- package/dist/{index-B_GAWj5p.js → index-gHmpzFPN.js} +3 -3
- package/dist/{index-VQ4mf0NG.cjs → index-qTypK4Oh.cjs} +1 -1
- package/dist/{index-Bwj8bU3w.cjs → index-s4CyPN3a.cjs} +1 -1
- package/dist/{index-CyTykQhT.cjs → index-u1PZNxMR.cjs} +1 -1
- package/dist/{index-CLaUio0q.cjs → index-xsqiMVT2.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-De8jbnS5.cjs → index.vue_vue_type_script_setup_true_lang-CJmpn-Vv.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DAIduaBX.js → index.vue_vue_type_script_setup_true_lang-DEeCngQh.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bn_-cql3.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-JNcs3E0W.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C_N41ilG.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-zgfO6Iik.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-BgHhMOqW.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-BC-O_lPn.js} +13 -13
- package/dist/{index.vue_vue_type_style_index_0_scoped_8606206c_lang-CCQ1V4Ad.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-CxMC0LuD.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BajRaUap.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-BJCozmzb.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CVGFhYru.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DAxkWkzy.cjs} +1 -1
- package/dist/{login-Dxsw3cch.js → login-CSKPWXnc.js} +80 -76
- package/dist/{login-DoVI1BJb.cjs → login-D-3kbcCv.cjs} +1 -1
- package/dist/{main-C_jD1CK-.cjs → main-Bh21WYlK.cjs} +1 -1
- package/dist/{main-B5FfttkG.js → main-uFHBIj0o.js} +4 -4
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-Dwjk_uWz.cjs → threeModel-CvWqCETW.cjs} +1 -1
- package/dist/{threeModel-BNhwg7RT.js → threeModel-cvKk80RN.js} +2 -2
- package/package.json +1 -1
- package/dist/index-B9SUJ4Zu.cjs +0 -1
- package/dist/index-BAdqe1Qk.cjs +0 -1
- package/dist/index-D4nn1MaA.cjs +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { ref as q, watch as
|
|
3
|
-
import { p as
|
|
4
|
-
import { e as
|
|
5
|
-
import { bp as
|
|
6
|
-
import { F as
|
|
1
|
+
import { b as Za, a as ei, t as li, f as ai, g as ii, c as Pa, i as La, s as si } from "./index-J5gPaIHA.js";
|
|
2
|
+
import { ref as q, watch as Ze, createElementBlock as ke, openBlock as se, createVNode as ae, createBlock as Ve, createCommentVNode as Ye, withCtx as ve, resolveComponent as je, Fragment as Pe, renderList as Je, createElementVNode as E, toDisplayString as De, createTextVNode as Be, defineComponent as El, reactive as Ia, resolveDynamicComponent as ta, unref as Al, computed as xa, renderSlot as ha, createSlots as ni, mergeProps as oi, normalizeStyle as ui, withModifiers as ca } from "vue";
|
|
3
|
+
import { p as il, b as Aa, s as nl, c as l, a as Ka, u as Ta, m as ri } from "./login-CSKPWXnc.js";
|
|
4
|
+
import { e as ll, f as Na, s as al, h as Ma, a as Oa, i as ci, j as di, b as ti } from "./index-H3oTE2o3.js";
|
|
5
|
+
import { bp as pi, bq as fi, a as _a, E as ol, g as gl, bl as Ca, b as Wa, bj as za, bk as ba, bm as hi } from "./index-BHZ56TUj.js";
|
|
6
|
+
import { F as Va, A as vi, I as wa, B as mi, C as Xe, D as Fl, E as fl, G as Tl, H as ka, J as yi, g as hl, K as gi, L as bi } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-zgfO6Iik.js";
|
|
7
7
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { E as bl } from "./index-
|
|
9
|
-
import { s as
|
|
10
|
-
import
|
|
11
|
-
var
|
|
12
|
-
function
|
|
13
|
-
return r === !0 || r === !1 ||
|
|
8
|
+
import { E as bl } from "./index-BaHsv4vm.js";
|
|
9
|
+
import { s as ki, a as _i } from "./index-C46X4n-F.js";
|
|
10
|
+
import Ci from "./index-CZtXRS3l.js";
|
|
11
|
+
var wi = "[object Boolean]";
|
|
12
|
+
function Ja(r) {
|
|
13
|
+
return r === !0 || r === !1 || pi(r) && fi(r) == wi;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Di(r) {
|
|
16
16
|
return r === void 0;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const Ii = { class: "form-content" }, xi = {
|
|
19
19
|
__name: "index",
|
|
20
20
|
props: {
|
|
21
21
|
formRules: Object,
|
|
@@ -33,7 +33,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
33
33
|
setup(r, { emit: V }) {
|
|
34
34
|
const g = q(!1), i = q(!1), o = q(""), j = () => {
|
|
35
35
|
g.value = !1, i.value = null, o.value = "";
|
|
36
|
-
}, L = r, w = V, N = q([]), ee = q(), O = q(!1), ce = q(!1),
|
|
36
|
+
}, L = r, w = V, N = q([]), ee = q(), O = q(!1), ce = q(!1), ne = q([]), _e = q(), te = Za(il), be = ei(il), T = q(!1), S = q(), me = Aa(il), { loginUserInfo: d } = nl(me), f = q(), m = q(!0), k = (C, Z) => {
|
|
37
37
|
f.value === Z ? m.value = !1 : m.value = !0, f.value = Z == null ? void 0 : Z.changeProp;
|
|
38
38
|
}, ue = async (C) => {
|
|
39
39
|
var x, s, c, D, I, W, H, B, u, X;
|
|
@@ -62,7 +62,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
62
62
|
}], ce.value = !0;
|
|
63
63
|
}
|
|
64
64
|
} else {
|
|
65
|
-
const z = await
|
|
65
|
+
const z = await _a.get(C, {
|
|
66
66
|
responseType: "blob",
|
|
67
67
|
headers: {
|
|
68
68
|
"Content-Type": "application/json"
|
|
@@ -102,11 +102,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
102
102
|
let x = Z == null ? void 0 : Z.map((F) => {
|
|
103
103
|
var b;
|
|
104
104
|
return (F == null ? void 0 : F.key) === "formContent" && ((b = F.contents) == null || b.map((y, J) => {
|
|
105
|
-
var p, n, Y, e, a, t, v, _, M, ye, K, ie,
|
|
106
|
-
return y.type = y != null && y.type ? y.type : (e = (Y = (n = (p = y == null ? void 0 : y.key) == null ? void 0 : p.split("$")) == null ? void 0 : n[1]) == null ? void 0 : Y.split("(")) != null && e[0] ? (t = (a =
|
|
107
|
-
var re, we,
|
|
108
|
-
return (he == null ? void 0 : he.key) === ((
|
|
109
|
-
})) == null ? void 0 : t.value : "Input", y.options = y != null && y.options ? y.options : ((M = (_ = (v = y == null ? void 0 : y.key) == null ? void 0 : v.split("$")) == null ? void 0 : _[1]) == null ? void 0 : M.length) > 0 ? (
|
|
105
|
+
var p, n, Y, e, a, t, v, _, M, ye, K, ie, oe, Ce, de, G, h;
|
|
106
|
+
return y.type = y != null && y.type ? y.type : (e = (Y = (n = (p = y == null ? void 0 : y.key) == null ? void 0 : p.split("$")) == null ? void 0 : n[1]) == null ? void 0 : Y.split("(")) != null && e[0] ? (t = (a = Va) == null ? void 0 : a.find((he) => {
|
|
107
|
+
var re, we, Ke, Ne;
|
|
108
|
+
return (he == null ? void 0 : he.key) === ((Ne = (Ke = (we = (re = y == null ? void 0 : y.key) == null ? void 0 : re.split("$")) == null ? void 0 : we[1]) == null ? void 0 : Ke.split("(")) == null ? void 0 : Ne[0]);
|
|
109
|
+
})) == null ? void 0 : t.value : "Input", y.options = y != null && y.options ? y.options : ((M = (_ = (v = y == null ? void 0 : y.key) == null ? void 0 : v.split("$")) == null ? void 0 : _[1]) == null ? void 0 : M.length) > 0 ? (oe = (ie = ai((K = (ye = y == null ? void 0 : y.key) == null ? void 0 : ye.split("$")) == null ? void 0 : K[1])) == null ? void 0 : ie.split(",")) == null ? void 0 : oe.map((he) => ({
|
|
110
110
|
label: he,
|
|
111
111
|
value: he
|
|
112
112
|
})) : [], (Ce = y == null ? void 0 : y.key) != null && Ce.includes("$") && (y.key = (G = (de = y == null ? void 0 : y.key) == null ? void 0 : de.split("$")) == null ? void 0 : G[0]), y.value = (h = Object.values(C)) == null ? void 0 : h[J], y;
|
|
@@ -130,7 +130,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
130
130
|
var b, y, J, p, n;
|
|
131
131
|
D === "" && ((J = (y = (b = F == null ? void 0 : F.optionUrl) == null ? void 0 : b.groupSelect) == null ? void 0 : y[1]) != null && J.includes("[")) && (D = (n = (p = F == null ? void 0 : F.optionUrl) == null ? void 0 : p.groupSelect) == null ? void 0 : n[1]);
|
|
132
132
|
}), (U = I == null ? void 0 : I.optionUrl) != null && U.menuSelect && m.value) {
|
|
133
|
-
let F = await
|
|
133
|
+
let F = await ii(I), b;
|
|
134
134
|
if (F == null || F.forEach((y) => {
|
|
135
135
|
var J, p, n, Y, e, a, t, v, _, M;
|
|
136
136
|
D === ((p = (J = I == null ? void 0 : I.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : p[1]) && ((e = (Y = (n = I == null ? void 0 : I.optionUrl) == null ? void 0 : n.groupSelect) == null ? void 0 : Y[1]) != null && e.includes("[")) && ((M = l(y)) == null ? void 0 : M[(_ = (v = (t = (a = I == null ? void 0 : I.optionUrl) == null ? void 0 : a.groupSelect) == null ? void 0 : t[1]) == null ? void 0 : v.replaceAll("[", "")) == null ? void 0 : _.replaceAll("]", "")]) === (I == null ? void 0 : I.value) && (b = y);
|
|
@@ -149,8 +149,8 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
149
149
|
return (Y = (n = p == null ? void 0 : p.optionUrl) == null ? void 0 : n.menuSelect) != null && Y.some((_) => _ == null ? void 0 : _.includes("[")) && (p.optionUrl.oldMenuSelect = (a = (e = l(p)) == null ? void 0 : e.optionUrl) == null ? void 0 : a.menuSelect, p.optionUrl.menuSelect = (v = (t = p == null ? void 0 : p.optionUrl) == null ? void 0 : t.menuSelect) == null ? void 0 : v.map((_) => {
|
|
150
150
|
var M, ye, K, ie;
|
|
151
151
|
if (_ != null && _.includes("[")) {
|
|
152
|
-
let
|
|
153
|
-
_ = (ie = (K = l(y)) == null ? void 0 : K.find((Ce) => (Ce == null ? void 0 : Ce.label) ===
|
|
152
|
+
let oe = (ye = (M = _ == null ? void 0 : _.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : M.split(":")) == null ? void 0 : ye[1];
|
|
153
|
+
_ = (ie = (K = l(y)) == null ? void 0 : K.find((Ce) => (Ce == null ? void 0 : Ce.label) === oe)) == null ? void 0 : ie.value;
|
|
154
154
|
}
|
|
155
155
|
return _;
|
|
156
156
|
})), p;
|
|
@@ -200,29 +200,29 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
200
200
|
}), be.setObjUrl(W);
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
|
-
return
|
|
203
|
+
return Ze(
|
|
204
204
|
() => L.itemData,
|
|
205
205
|
async () => {
|
|
206
206
|
var D, I, W, H, B, u, X, z, pe, Q, R, P, U, A, fe;
|
|
207
207
|
const C = (D = L.itemData) == null ? void 0 : D.find((le) => (le == null ? void 0 : le.key) === "formContent"), Z = (I = l(L.itemData)) == null ? void 0 : I.find((le) => (le == null ? void 0 : le.key) === "formButton"), x = (W = l(L.itemData)) == null ? void 0 : W.find((le) => (le == null ? void 0 : le.key) === "formFlex"), s = (H = l(L.itemData)) == null ? void 0 : H.find((le) => (le == null ? void 0 : le.key) === "formWrap"), c = (B = l(L.itemData)) == null ? void 0 : B.find((le) => (le == null ? void 0 : le.key) === "enableWrap");
|
|
208
208
|
if ((s == null ? void 0 : s.contents) === "纵向" ? O.value = !1 : O.value = !0, T.value = (c == null ? void 0 : c.contents) === void 0 ? !1 : c == null ? void 0 : c.contents, S.value = typeof (x == null ? void 0 : x.contents) != "boolean" ? !(!(x != null && x.contents) === "" || ((u = x == null ? void 0 : x.contents) == null ? void 0 : u.toUpperCase()) === "VERTICAL") : x == null ? void 0 : x.contents, ((X = C == null ? void 0 : C.contents) == null ? void 0 : X.length) > 0 && Array.isArray(C == null ? void 0 : C.contents)) {
|
|
209
209
|
const le = await ((z = C == null ? void 0 : C.contents) == null ? void 0 : z.map(async (n, Y) => {
|
|
210
|
-
var K, ie,
|
|
210
|
+
var K, ie, oe, Ce, de, G, h, he, re, we, Ke, Ne, $, Te, xe, Re;
|
|
211
211
|
let e = (n == null ? void 0 : n.label) ?? (n == null ? void 0 : n.key) ?? "", a = (n == null ? void 0 : n.type) ?? "", t = (n == null ? void 0 : n.options) ?? [];
|
|
212
|
-
if ((K = n == null ? void 0 : n.key) != null && K.includes("$") && (e = (ie = l(n == null ? void 0 : n.key).split("$")) == null ? void 0 : ie[0], ((Ce = (
|
|
212
|
+
if ((K = n == null ? void 0 : n.key) != null && K.includes("$") && (e = (ie = l(n == null ? void 0 : n.key).split("$")) == null ? void 0 : ie[0], ((Ce = (oe = l(n == null ? void 0 : n.key).split("$")) == null ? void 0 : oe[1]) == null ? void 0 : Ce.length) > 0)) {
|
|
213
213
|
const [Ae, $e] = (G = (de = l(n == null ? void 0 : n.key).split("$")) == null ? void 0 : de[1]) == null ? void 0 : G.split(/[()]/);
|
|
214
|
-
a = ((h =
|
|
214
|
+
a = ((h = Va.find((We) => (We == null ? void 0 : We.key) === Ae)) == null ? void 0 : h.value) ?? "", ((he = $e == null ? void 0 : $e.split(",")) == null ? void 0 : he.length) > 0 && (t = (re = $e == null ? void 0 : $e.split(",")) == null ? void 0 : re.map((We) => ({
|
|
215
215
|
label: We,
|
|
216
216
|
value: We
|
|
217
217
|
})));
|
|
218
218
|
}
|
|
219
219
|
let v = [];
|
|
220
|
-
n != null && n.contents && !Array.isArray(n == null ? void 0 : n.contents) && (v = (
|
|
220
|
+
n != null && n.contents && !Array.isArray(n == null ? void 0 : n.contents) && (v = (Ke = (we = n == null ? void 0 : n.contents) == null ? void 0 : we.split(",")) == null ? void 0 : Ke.map((Ae) => ({
|
|
221
221
|
label: Ae,
|
|
222
222
|
value: Ae
|
|
223
223
|
})));
|
|
224
|
-
let _ = await
|
|
225
|
-
return typeof M == "string" && (M != null && M.includes("loginUser")) && (M = ((Te = d.value) == null ? void 0 : Te.姓名) ?? ((xe = d.value) == null ? void 0 : xe.userName) ?? ((
|
|
224
|
+
let _ = await vi((Ne = l(n)) == null ? void 0 : Ne.optionUrl), M = _ !== void 0 && !(n != null && n.value) ? _ : n != null && n.originalContent && (n == null ? void 0 : n.originalContent) !== "" ? n.originalContent : n != null && n.value ? n.value : (t == null ? void 0 : t.length) > 0 ? ($ = t == null ? void 0 : t[0]) == null ? void 0 : $.value : (n == null ? void 0 : n.value) ?? "";
|
|
225
|
+
return typeof M == "string" && (M != null && M.includes("loginUser")) && (M = ((Te = d.value) == null ? void 0 : Te.姓名) ?? ((xe = d.value) == null ? void 0 : xe.userName) ?? ((Re = d.value) == null ? void 0 : Re.account)), {
|
|
226
226
|
label: e ?? "",
|
|
227
227
|
name: "t" + Y,
|
|
228
228
|
type: _ !== void 0 || a === "" ? "Input" : a,
|
|
@@ -239,7 +239,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
239
239
|
let y = "";
|
|
240
240
|
b == null || b.forEach((n) => {
|
|
241
241
|
n !== "" && n !== void 0 && (y = y === "" ? n : y + "/" + n);
|
|
242
|
-
}), te.setSelectArray(b), te.setSelectString(y), N.value = (pe = l(F)) == null ? void 0 : pe.map((n) => (n != null && n.value &&
|
|
242
|
+
}), te.setSelectArray(b), te.setSelectString(y), N.value = (pe = l(F)) == null ? void 0 : pe.map((n) => (n != null && n.value && wa(n == null ? void 0 : n.value) && Array.isArray(JSON.parse(n == null ? void 0 : n.value)) && (n.value = JSON.parse(n.value)), n));
|
|
243
243
|
let J = [], p = [];
|
|
244
244
|
if ((Q = l(N.value)) == null || Q.forEach((n) => {
|
|
245
245
|
var Y;
|
|
@@ -271,10 +271,10 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
271
271
|
}), be.setObjUrl(J);
|
|
272
272
|
}
|
|
273
273
|
(P = l(N.value)) == null || P.forEach((n) => {
|
|
274
|
-
var Y, e, a, t, v, _, M, ye, K, ie,
|
|
274
|
+
var Y, e, a, t, v, _, M, ye, K, ie, oe, Ce, de;
|
|
275
275
|
if ((e = (Y = n == null ? void 0 : n.value) == null ? void 0 : Y.toString()) != null && e.includes(".stl") || (t = (a = n == null ? void 0 : n.value) == null ? void 0 : a.toString()) != null && t.includes(".STL") || (_ = (v = n == null ? void 0 : n.value) == null ? void 0 : v.toString()) != null && _.includes(".obj") || (ye = (M = n == null ? void 0 : n.value) == null ? void 0 : M.toString()) != null && ye.includes(".mtl") || (ie = (K = n == null ? void 0 : n.value) == null ? void 0 : K.toString()) != null && ie.includes(".urdf")) {
|
|
276
276
|
let G = {}, h = [], he;
|
|
277
|
-
Array.isArray(n == null ? void 0 : n.value) ? he = n == null ? void 0 : n.value : he = (
|
|
277
|
+
Array.isArray(n == null ? void 0 : n.value) ? he = n == null ? void 0 : n.value : he = (oe = n == null ? void 0 : n.value) == null ? void 0 : oe.split(","), he == null || he.forEach((re) => {
|
|
278
278
|
re.includes(".mtl") ? h.push(re) : G.blob = G.blob === "undefined" ? re : G.blob + "," + re;
|
|
279
279
|
}), (h == null ? void 0 : h.length) > 0 && (G.mtlBlobs = h), (de = (Ce = Object.values(G)) == null ? void 0 : Ce[0]) != null && de.includes("http:");
|
|
280
280
|
}
|
|
@@ -300,16 +300,16 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
300
300
|
type: (F == null ? void 0 : F.type) ?? "",
|
|
301
301
|
background: F == null ? void 0 : F.background
|
|
302
302
|
});
|
|
303
|
-
}),
|
|
303
|
+
}), ne.value = le;
|
|
304
304
|
} else
|
|
305
|
-
|
|
305
|
+
ne.value = [];
|
|
306
306
|
},
|
|
307
307
|
{ deep: !0, immediate: !0 }
|
|
308
|
-
), (C, Z) => (se(), ke("div",
|
|
309
|
-
ae(
|
|
308
|
+
), (C, Z) => (se(), ke("div", Ii, [
|
|
309
|
+
ae(ll, {
|
|
310
310
|
rowContents: N.value,
|
|
311
311
|
formRules: ee.value,
|
|
312
|
-
buttonValue:
|
|
312
|
+
buttonValue: ne.value,
|
|
313
313
|
isRowFlex: !1,
|
|
314
314
|
isEnableWrap: T.value,
|
|
315
315
|
onOnButtonClick: Ie,
|
|
@@ -318,30 +318,30 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
318
318
|
onPreview: ue,
|
|
319
319
|
onBlurChange: k
|
|
320
320
|
}, null, 8, ["rowContents", "formRules", "buttonValue", "isEnableWrap", "isButtonRow"]),
|
|
321
|
-
ce.value ? (se(),
|
|
321
|
+
ce.value ? (se(), Ve(Na, {
|
|
322
322
|
key: 0,
|
|
323
323
|
fileDataList: _e.value,
|
|
324
324
|
onDestroy: ge
|
|
325
|
-
}, null, 8, ["fileDataList"])) :
|
|
326
|
-
g.value ? (se(),
|
|
325
|
+
}, null, 8, ["fileDataList"])) : Ye("", !0),
|
|
326
|
+
g.value ? (se(), Ve(al, {
|
|
327
327
|
key: 1,
|
|
328
328
|
visible: g.value,
|
|
329
329
|
onBeforeDestroy: j,
|
|
330
330
|
style: { height: "700px", width: "1000px" }
|
|
331
331
|
}, {
|
|
332
332
|
default: ve(() => [
|
|
333
|
-
g.value ? (se(),
|
|
333
|
+
g.value ? (se(), Ve(li, {
|
|
334
334
|
key: 0,
|
|
335
335
|
"urdf-url": o.value
|
|
336
|
-
}, null, 8, ["urdf-url"])) :
|
|
336
|
+
}, null, 8, ["urdf-url"])) : Ye("", !0)
|
|
337
337
|
]),
|
|
338
338
|
_: 1
|
|
339
|
-
}, 8, ["visible"])) :
|
|
339
|
+
}, 8, ["visible"])) : Ye("", !0)
|
|
340
340
|
]));
|
|
341
341
|
}
|
|
342
|
-
},
|
|
342
|
+
}, Ra = /* @__PURE__ */ He(xi, [["__scopeId", "data-v-e48c215d"]]), va = q(0), Ha = (r) => {
|
|
343
343
|
var V;
|
|
344
|
-
return !r || (r == null ? void 0 : r.length) === 0 ? [] : (V = l(r)) == null ? void 0 : V.map((i) => (
|
|
344
|
+
return !r || (r == null ? void 0 : r.length) === 0 ? [] : (V = l(r)) == null ? void 0 : V.map((i) => (va.value++, i = {
|
|
345
345
|
label: (i == null ? void 0 : i.label) ?? "",
|
|
346
346
|
prop: (i == null ? void 0 : i.label) === "操作" ? "operate" : i == null ? void 0 : i.prop,
|
|
347
347
|
width: i != null && i.width ? parseInt(i.width) : "",
|
|
@@ -352,12 +352,12 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
352
352
|
isNotDrag: (i == null ? void 0 : i.isNotDrag) ?? !1,
|
|
353
353
|
isEditCol: (i == null ? void 0 : i.isEditCol) ?? !1,
|
|
354
354
|
isOperate: (i == null ? void 0 : i.isOperate) ?? !1,
|
|
355
|
-
id: (i == null ? void 0 : i.id) ??
|
|
356
|
-
children:
|
|
355
|
+
id: (i == null ? void 0 : i.id) ?? va.value,
|
|
356
|
+
children: Ha(i == null ? void 0 : i.children)
|
|
357
357
|
}, i));
|
|
358
|
-
},
|
|
358
|
+
}, Ai = (r) => {
|
|
359
359
|
var g;
|
|
360
|
-
return (g = l(r)) == null ? void 0 : g.map((i) => (
|
|
360
|
+
return (g = l(r)) == null ? void 0 : g.map((i) => (va.value++, i = {
|
|
361
361
|
label: (i == null ? void 0 : i.label) ?? "",
|
|
362
362
|
prop: (i == null ? void 0 : i.label) === "操作" ? "operate" : i == null ? void 0 : i.prop,
|
|
363
363
|
width: i != null && i.width ? parseInt(i.width) : "",
|
|
@@ -368,16 +368,16 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
368
368
|
isNotDrag: (i == null ? void 0 : i.isNotDrag) ?? !1,
|
|
369
369
|
isEditCol: (i == null ? void 0 : i.isEditCol) ?? !1,
|
|
370
370
|
isOperate: (i == null ? void 0 : i.isOperate) ?? !1,
|
|
371
|
-
id: (i == null ? void 0 : i.id) ??
|
|
372
|
-
children:
|
|
371
|
+
id: (i == null ? void 0 : i.id) ?? va.value,
|
|
372
|
+
children: Ha(i == null ? void 0 : i.children)
|
|
373
373
|
}, i));
|
|
374
|
-
},
|
|
374
|
+
}, Ga = (r, V) => {
|
|
375
375
|
var g;
|
|
376
|
-
return r != null && r.find((i) => (i == null ? void 0 : i.id) === V) ? (g = l(r)) == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.id) !== V) : (r = r == null ? void 0 : r.map((i) => (i.children =
|
|
377
|
-
},
|
|
376
|
+
return r != null && r.find((i) => (i == null ? void 0 : i.id) === V) ? (g = l(r)) == null ? void 0 : g.filter((o) => (o == null ? void 0 : o.id) !== V) : (r = r == null ? void 0 : r.map((i) => (i.children = Ga(i == null ? void 0 : i.children, V), i)), r);
|
|
377
|
+
}, qa = (r, V) => {
|
|
378
378
|
var g;
|
|
379
|
-
return r != null && r.find((i) => (i == null ? void 0 : i.id) === (V == null ? void 0 : V.id)) ? (g = l(r)) == null ? void 0 : g.map((o) => ((o == null ? void 0 : o.id) === (V == null ? void 0 : V.id) && (o = V), o)) : (r = r == null ? void 0 : r.map((i) => (i.children =
|
|
380
|
-
},
|
|
379
|
+
return r != null && r.find((i) => (i == null ? void 0 : i.id) === (V == null ? void 0 : V.id)) ? (g = l(r)) == null ? void 0 : g.map((o) => ((o == null ? void 0 : o.id) === (V == null ? void 0 : V.id) && (o = V), o)) : (r = r == null ? void 0 : r.map((i) => (i.children = qa(i == null ? void 0 : i.children, V), i)), r);
|
|
380
|
+
}, Qa = (r, V) => {
|
|
381
381
|
var g;
|
|
382
382
|
return r != null && r.find((i) => {
|
|
383
383
|
var o;
|
|
@@ -385,10 +385,10 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
385
385
|
}) ? (g = l(r)) == null ? void 0 : g.map((o) => {
|
|
386
386
|
var j;
|
|
387
387
|
return (o == null ? void 0 : o.id) === ((j = V == null ? void 0 : V.contents) == null ? void 0 : j.id) && (o = V == null ? void 0 : V.contents), o;
|
|
388
|
-
}) : (r = r == null ? void 0 : r.map((i) => (i.children =
|
|
389
|
-
},
|
|
388
|
+
}) : (r = r == null ? void 0 : r.map((i) => (i.children = Qa(i == null ? void 0 : i.children, V), i)), r);
|
|
389
|
+
}, Xa = (r, V) => {
|
|
390
390
|
var g;
|
|
391
|
-
return r != null && r.find((i) => (i == null ? void 0 : i.id) === (V == null ? void 0 : V.id)) ? (g = l(r)) == null ? void 0 : g.map((o) => ((o == null ? void 0 : o.id) === (V == null ? void 0 : V.id) && (o != null && o.children || (o.children = []), o.children.push(V.contents)), o)) : (r = r == null ? void 0 : r.map((i) => (i.children =
|
|
391
|
+
return r != null && r.find((i) => (i == null ? void 0 : i.id) === (V == null ? void 0 : V.id)) ? (g = l(r)) == null ? void 0 : g.map((o) => ((o == null ? void 0 : o.id) === (V == null ? void 0 : V.id) && (o != null && o.children || (o.children = []), o.children.push(V.contents)), o)) : (r = r == null ? void 0 : r.map((i) => (i.children = Xa(i == null ? void 0 : i.children, V), i)), r);
|
|
392
392
|
}, Ee = [
|
|
393
393
|
{
|
|
394
394
|
key: "label",
|
|
@@ -434,7 +434,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
434
434
|
label: "是否固定列",
|
|
435
435
|
type: "Switch"
|
|
436
436
|
}
|
|
437
|
-
],
|
|
437
|
+
], Ti = [
|
|
438
438
|
{
|
|
439
439
|
label: "查看",
|
|
440
440
|
value: "view"
|
|
@@ -451,7 +451,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
451
451
|
label: "三维算例",
|
|
452
452
|
value: "modelExample"
|
|
453
453
|
}
|
|
454
|
-
],
|
|
454
|
+
], Ei = [
|
|
455
455
|
{
|
|
456
456
|
label: "新增",
|
|
457
457
|
value: "add"
|
|
@@ -466,7 +466,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
466
466
|
key: "type",
|
|
467
467
|
label: "类型",
|
|
468
468
|
type: "Select",
|
|
469
|
-
options:
|
|
469
|
+
options: Ei
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
key: "background",
|
|
@@ -483,21 +483,21 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
483
483
|
key: "type",
|
|
484
484
|
label: "类型",
|
|
485
485
|
type: "Select",
|
|
486
|
-
options:
|
|
486
|
+
options: Ti
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
489
|
key: "textColor",
|
|
490
490
|
label: "按钮颜色",
|
|
491
491
|
type: "Color"
|
|
492
492
|
}
|
|
493
|
-
],
|
|
493
|
+
], Si = { class: "table-header-child" }, $i = { class: "table-header-child-main" }, Bi = { class: "table-header-child-content" }, Fi = { class: "table-header-child-content-item" }, Li = { class: "fix-button" }, Oi = { key: 0 }, Vi = { class: "form-content" }, Ri = {
|
|
494
494
|
__name: "tableNewChild",
|
|
495
495
|
props: {
|
|
496
496
|
tableChildContents: Array
|
|
497
497
|
},
|
|
498
498
|
emits: ["fixChange", "deleteChange"],
|
|
499
499
|
setup(r, { emit: V }) {
|
|
500
|
-
const g = r, i = V, o = q(!1), j = q(""), L =
|
|
500
|
+
const g = r, i = V, o = q(!1), j = q(""), L = Pa(il), { tableIndex: w } = nl(L);
|
|
501
501
|
q(0);
|
|
502
502
|
const N = q(""), ee = q([]), O = q([]), ce = (d) => {
|
|
503
503
|
var m;
|
|
@@ -517,7 +517,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
517
517
|
children: d == null ? void 0 : d.children,
|
|
518
518
|
isFormColHidden: !0
|
|
519
519
|
}), N.value = d == null ? void 0 : d.id, ee.value = f, O.value = f;
|
|
520
|
-
},
|
|
520
|
+
}, ne = (d) => {
|
|
521
521
|
i("fixChange", l(d));
|
|
522
522
|
}, _e = (d) => {
|
|
523
523
|
i("deleteChange", l(d));
|
|
@@ -581,12 +581,12 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
581
581
|
});
|
|
582
582
|
};
|
|
583
583
|
return (d, f) => {
|
|
584
|
-
const m =
|
|
585
|
-
return se(), ke("div",
|
|
586
|
-
(se(!0), ke(
|
|
587
|
-
E("div",
|
|
588
|
-
E("div",
|
|
589
|
-
E("div",
|
|
584
|
+
const m = je("svg-icon");
|
|
585
|
+
return se(), ke("div", Si, [
|
|
586
|
+
(se(!0), ke(Pe, null, Je(g == null ? void 0 : g.tableChildContents, (k, ue) => (se(), ke("div", $i, [
|
|
587
|
+
E("div", Bi, [
|
|
588
|
+
E("div", Fi, De(k.label), 1),
|
|
589
|
+
E("div", Li, [
|
|
590
590
|
ae(m, {
|
|
591
591
|
name: "ChildAdd",
|
|
592
592
|
class: "svg-icon-content",
|
|
@@ -607,22 +607,22 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
607
607
|
}, null, 8, ["onClick"])
|
|
608
608
|
])
|
|
609
609
|
]),
|
|
610
|
-
k != null && k.children && k.children.length > 0 ? (se(), ke("div",
|
|
611
|
-
ae(
|
|
610
|
+
k != null && k.children && k.children.length > 0 ? (se(), ke("div", Oi, [
|
|
611
|
+
ae(Ya, {
|
|
612
612
|
tableChildContents: k == null ? void 0 : k.children,
|
|
613
613
|
onDeleteChange: _e,
|
|
614
|
-
onFixChange:
|
|
614
|
+
onFixChange: ne
|
|
615
615
|
}, null, 8, ["tableChildContents"])
|
|
616
|
-
])) :
|
|
616
|
+
])) : Ye("", !0)
|
|
617
617
|
]))), 256)),
|
|
618
|
-
ae(
|
|
618
|
+
ae(al, {
|
|
619
619
|
visible: o.value,
|
|
620
620
|
onBeforeDestroy: S,
|
|
621
621
|
width: 840
|
|
622
622
|
}, {
|
|
623
623
|
default: ve(() => [
|
|
624
|
-
E("div",
|
|
625
|
-
(se(),
|
|
624
|
+
E("div", Vi, [
|
|
625
|
+
(se(), Ve(ll, {
|
|
626
626
|
rowContents: ee.value,
|
|
627
627
|
key: ee.value,
|
|
628
628
|
isEnableWrap: !0,
|
|
@@ -647,16 +647,16 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
647
647
|
]);
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
|
-
},
|
|
650
|
+
}, Ui = /* @__PURE__ */ He(Ri, [["__scopeId", "data-v-e0fef72d"]]), ji = { class: "table-header-child" }, Pi = { class: "table-header-child-main" }, Ki = { class: "table-header-child-content" }, Ni = { class: "table-header-child-content-item" }, Mi = { class: "fix-button" }, Wi = { key: 0 }, zi = { class: "form-content" }, Ji = { class: "dialog-footer" }, Hi = {
|
|
651
651
|
__name: "tableChildren",
|
|
652
652
|
props: {
|
|
653
653
|
tableChildContents: Array
|
|
654
654
|
},
|
|
655
655
|
emits: ["fixChange", "deleteChange"],
|
|
656
656
|
setup(r, { emit: V }) {
|
|
657
|
-
const g = r, i = V, o = q(!1), j = q(""), L =
|
|
657
|
+
const g = r, i = V, o = q(!1), j = q(""), L = Pa(il), { tableIndex: w } = nl(L), N = q(""), ee = q([]), O = q([]), ce = (d) => {
|
|
658
658
|
i("fixChange", l(d));
|
|
659
|
-
},
|
|
659
|
+
}, ne = (d) => {
|
|
660
660
|
var m;
|
|
661
661
|
o.value = !0;
|
|
662
662
|
let f = [];
|
|
@@ -736,12 +736,12 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
736
736
|
i("deleteChange", d);
|
|
737
737
|
};
|
|
738
738
|
return (d, f) => {
|
|
739
|
-
const m =
|
|
740
|
-
return se(), ke("div",
|
|
741
|
-
(se(!0), ke(
|
|
742
|
-
E("div",
|
|
743
|
-
E("div",
|
|
744
|
-
E("div",
|
|
739
|
+
const m = je("svg-icon"), k = je("el-button");
|
|
740
|
+
return se(), ke("div", ji, [
|
|
741
|
+
(se(!0), ke(Pe, null, Je(g == null ? void 0 : g.tableChildContents, (ue, ge) => (se(), ke("div", Pi, [
|
|
742
|
+
E("div", Ki, [
|
|
743
|
+
E("div", Ni, De(ue.label), 1),
|
|
744
|
+
E("div", Mi, [
|
|
745
745
|
ae(m, {
|
|
746
746
|
name: "ChildAdd",
|
|
747
747
|
class: "svg-icon-content",
|
|
@@ -752,7 +752,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
752
752
|
name: "ChildFix",
|
|
753
753
|
class: "svg-icon-content",
|
|
754
754
|
style: { width: "24px", height: "24px" },
|
|
755
|
-
onClick: (Ie) =>
|
|
755
|
+
onClick: (Ie) => ne(ue)
|
|
756
756
|
}, null, 8, ["onClick"]),
|
|
757
757
|
ae(m, {
|
|
758
758
|
name: "ChildDelete",
|
|
@@ -762,22 +762,22 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
762
762
|
}, null, 8, ["onClick"])
|
|
763
763
|
])
|
|
764
764
|
]),
|
|
765
|
-
ue != null && ue.children && ue.children.length > 0 ? (se(), ke("div",
|
|
766
|
-
ae(
|
|
765
|
+
ue != null && ue.children && ue.children.length > 0 ? (se(), ke("div", Wi, [
|
|
766
|
+
ae(Ui, {
|
|
767
767
|
tableChildContents: ue == null ? void 0 : ue.children,
|
|
768
768
|
onDeleteChange: me,
|
|
769
769
|
onFixChange: ce
|
|
770
770
|
}, null, 8, ["tableChildContents"])
|
|
771
|
-
])) :
|
|
771
|
+
])) : Ye("", !0)
|
|
772
772
|
]))), 256)),
|
|
773
|
-
ae(
|
|
773
|
+
ae(al, {
|
|
774
774
|
visible: o.value,
|
|
775
775
|
onBeforeDestroy: T,
|
|
776
776
|
width: 840
|
|
777
777
|
}, {
|
|
778
778
|
default: ve(() => [
|
|
779
|
-
E("div",
|
|
780
|
-
(se(),
|
|
779
|
+
E("div", zi, [
|
|
780
|
+
(se(), Ve(ll, {
|
|
781
781
|
rowContents: ee.value,
|
|
782
782
|
key: ee.value,
|
|
783
783
|
isEnableWrap: !0,
|
|
@@ -786,7 +786,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
786
786
|
])
|
|
787
787
|
]),
|
|
788
788
|
footer: ve(() => [
|
|
789
|
-
E("div",
|
|
789
|
+
E("div", Ji, [
|
|
790
790
|
ae(k, {
|
|
791
791
|
onClick: T,
|
|
792
792
|
class: "cancel-button button",
|
|
@@ -816,7 +816,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
816
816
|
]);
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
|
-
},
|
|
819
|
+
}, Ya = /* @__PURE__ */ He(Hi, [["__scopeId", "data-v-ebd68fa1"]]), Gi = { class: "table-operate-content" }, qi = { class: "table-operate-item" }, Qi = { class: "operate-title" }, Xi = { class: "operate-content" }, Yi = { class: "fix-content" }, Zi = { class: "fix-content-label" }, es = { class: "fix-button" }, ls = { key: 0 }, as = { class: "operate-title" }, is = { class: "operate-content" }, ss = { class: "fix-content" }, ns = { class: "fix-content-label" }, os = { class: "fix-button" }, us = { class: "operate-title" }, rs = { class: "operate-content" }, cs = { class: "fix-content" }, ds = { class: "fix-content-label" }, ts = { class: "fix-button" }, ps = { class: "operate-title" }, fs = { class: "operate-content" }, hs = { class: "fix-content" }, vs = { class: "fix-content-label" }, ms = { class: "fix-button" }, ys = { class: "operate-content" }, gs = { style: { display: "flex", "justify-content": "space-between" } }, bs = { class: "form-content" }, ks = { class: "dialog-footer" }, _s = { class: "form-content" }, Cs = { class: "dialog-footer" }, ws = { class: "form-content" }, Ds = { class: "dialog-footer" }, Is = { class: "form-content" }, xs = { class: "dialog-footer" }, As = {
|
|
820
820
|
__name: "operate",
|
|
821
821
|
props: {
|
|
822
822
|
itemContents: {
|
|
@@ -830,7 +830,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
830
830
|
},
|
|
831
831
|
emits: ["change"],
|
|
832
832
|
setup(r, { emit: V }) {
|
|
833
|
-
const g = r, i = V, o = q([]), j = q(!1), L = q(!1), w = q([]), N = q(!1), ee = q([]), O = q(!1), ce = q([]),
|
|
833
|
+
const g = r, i = V, o = q([]), j = q(!1), L = q(!1), w = q([]), N = q(!1), ee = q([]), O = q(!1), ce = q([]), ne = q(""), _e = q(""), te = q([]), be = q([]), T = q([]), S = q([]), me = q(!1), d = q([]), f = q([]), m = q(0), k = q([]), ue = q([]), ge = q([]), Ie = () => {
|
|
834
834
|
me.value = !0;
|
|
835
835
|
let e = [];
|
|
836
836
|
vl == null || vl.forEach((a) => {
|
|
@@ -847,7 +847,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
847
847
|
var a, t, v;
|
|
848
848
|
L.value = !0;
|
|
849
849
|
let e = [];
|
|
850
|
-
(v = (t = (a =
|
|
850
|
+
(v = (t = (a = Xe) == null ? void 0 : a.find((_) => (_ == null ? void 0 : _.key) === "Input")) == null ? void 0 : t.value) == null || v.forEach((_) => {
|
|
851
851
|
m.value++, e.push({
|
|
852
852
|
label: _ == null ? void 0 : _.label,
|
|
853
853
|
name: _ == null ? void 0 : _.label,
|
|
@@ -860,9 +860,9 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
860
860
|
}, C = (e) => {
|
|
861
861
|
e || (k.value = ue.value);
|
|
862
862
|
}, Z = async (e) => {
|
|
863
|
-
var a, t, v, _, M, ye, K, ie,
|
|
863
|
+
var a, t, v, _, M, ye, K, ie, oe, Ce, de, G;
|
|
864
864
|
if ((e == null ? void 0 : e.类型) !== ((t = (a = ue.value) == null ? void 0 : a.find((h) => (h == null ? void 0 : h.label) === "类型")) == null ? void 0 : t.value)) {
|
|
865
|
-
let h = [], he = await ((M = (_ = (v =
|
|
865
|
+
let h = [], he = await ((M = (_ = (v = Xe) == null ? void 0 : v.find((re) => (re == null ? void 0 : re.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : _.value) == null ? void 0 : M.value) ? await ((Ce = (oe = (ie = Xe) == null ? void 0 : ie.find((re) => (re == null ? void 0 : re.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : oe.value) == null ? void 0 : Ce.value) : (K = (ye = Xe) == null ? void 0 : ye.find((re) => (re == null ? void 0 : re.key) === ((e == null ? void 0 : e.类型) === "" ? "Input" : e == null ? void 0 : e.类型))) == null ? void 0 : K.value;
|
|
866
866
|
if (he == null || he.forEach((re) => {
|
|
867
867
|
m.value++, h.push({
|
|
868
868
|
label: re == null ? void 0 : re.label,
|
|
@@ -904,14 +904,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
904
904
|
return (a == null ? void 0 : a.value) || a[e.key];
|
|
905
905
|
if ((a == null ? void 0 : a.type) == "Select" && (e == null ? void 0 : e.key) === "multiple") {
|
|
906
906
|
const t = a[e.key];
|
|
907
|
-
return
|
|
907
|
+
return Ja(t) ? t : e.default;
|
|
908
908
|
}
|
|
909
909
|
return (e == null ? void 0 : e.label) === "类型" && a[e.key] === "" ? "Input" : (e == null ? void 0 : e.key) === "isFormColHidden" && !a[e.key] ? !1 : a[e.key];
|
|
910
910
|
}, c = async (e) => {
|
|
911
|
-
var v, _, M, ye, K, ie,
|
|
911
|
+
var v, _, M, ye, K, ie, oe, Ce, de;
|
|
912
912
|
L.value = !0;
|
|
913
913
|
let a = [];
|
|
914
|
-
const t = await ((M = (_ = (v =
|
|
914
|
+
const t = await ((M = (_ = (v = Xe) == null ? void 0 : v.find((G) => (G == null ? void 0 : G.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : _.value) == null ? void 0 : M.value) ? await ((Ce = (oe = (ie = Xe) == null ? void 0 : ie.find((G) => (G == null ? void 0 : G.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : oe.value) == null ? void 0 : Ce.value) : (K = (ye = Xe) == null ? void 0 : ye.find((G) => (G == null ? void 0 : G.key) === ((e == null ? void 0 : e.type) === "" ? "Input" : e == null ? void 0 : e.type))) == null ? void 0 : K.value;
|
|
915
915
|
if (t == null || t.forEach((G) => {
|
|
916
916
|
m.value++, a.push({
|
|
917
917
|
label: G == null ? void 0 : G.label,
|
|
@@ -926,7 +926,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
926
926
|
const G = await Fl(e == null ? void 0 : e.menuSelect);
|
|
927
927
|
a = a == null ? void 0 : a.map((h) => ((h == null ? void 0 : h.name) === "组信息选项" && (h.contents = G), h));
|
|
928
928
|
}
|
|
929
|
-
|
|
929
|
+
ne.value = e == null ? void 0 : e.id, k.value = await fl(Tl(a)), ue.value = await fl(Tl(a));
|
|
930
930
|
}, D = (e) => {
|
|
931
931
|
bl.confirm("是否确认要删除", "", {
|
|
932
932
|
confirmButtonText: "确认",
|
|
@@ -943,29 +943,29 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
943
943
|
).catch(() => {
|
|
944
944
|
});
|
|
945
945
|
}, I = () => {
|
|
946
|
-
L.value = !1, k.value = [],
|
|
946
|
+
L.value = !1, k.value = [], ne.value = "";
|
|
947
947
|
}, W = async () => {
|
|
948
|
-
var v, _, M, ye, K, ie,
|
|
948
|
+
var v, _, M, ye, K, ie, oe, Ce, de, G;
|
|
949
949
|
k.value = ue.value;
|
|
950
950
|
let e = {};
|
|
951
|
-
|
|
952
|
-
let a = await ((M = (_ = (v =
|
|
951
|
+
ne.value !== "" ? e.id = ne.value : (m.value++, e.id = "id" + m.value);
|
|
952
|
+
let a = await ((M = (_ = (v = Xe) == null ? void 0 : v.find((h) => {
|
|
953
953
|
var he, re;
|
|
954
954
|
return (h == null ? void 0 : h.key) === (((re = (he = k.value) == null ? void 0 : he.find((we) => (we == null ? void 0 : we.label) === "类型")) == null ? void 0 : re.value) ?? "label");
|
|
955
|
-
})) == null ? void 0 : _.value) == null ? void 0 : M.value) ?? ((K = (ye =
|
|
955
|
+
})) == null ? void 0 : _.value) == null ? void 0 : M.value) ?? ((K = (ye = Xe) == null ? void 0 : ye.find((h) => {
|
|
956
956
|
var he, re;
|
|
957
957
|
return (h == null ? void 0 : h.key) === (((re = (he = k.value) == null ? void 0 : he.find((we) => (we == null ? void 0 : we.label) === "类型")) == null ? void 0 : re.value) ?? "label");
|
|
958
958
|
})) == null ? void 0 : K.value);
|
|
959
959
|
if ((ie = k.value) == null || ie.forEach((h) => {
|
|
960
960
|
const he = a == null ? void 0 : a.find((re) => (re == null ? void 0 : re.label) === (h == null ? void 0 : h.label));
|
|
961
961
|
he && (e[he.key] = h.value);
|
|
962
|
-
}), e.name = e.label, (
|
|
962
|
+
}), e.name = e.label, (oe = ge.value) != null && oe.find((h) => h.id === e.id))
|
|
963
963
|
ge.value = (Ce = ge.value) == null ? void 0 : Ce.map((h) => (h.id === e.id && (h = e), h));
|
|
964
964
|
else {
|
|
965
965
|
let h = l(ge.value);
|
|
966
966
|
ge.value || (ge.value = []), h.push(e), ge.value = h;
|
|
967
967
|
}
|
|
968
|
-
ge.value = ge.value.map(({ id: h, ...he }) => he), L.value = !1,
|
|
968
|
+
ge.value = ge.value.map(({ id: h, ...he }) => he), L.value = !1, ne.value = "";
|
|
969
969
|
let t = l(g.originalItemContents);
|
|
970
970
|
(de = l(g.originalItemContents)) != null && de.find((h) => (h == null ? void 0 : h.key) === "tableToForm") ? t = (G = l(g.originalItemContents)) == null ? void 0 : G.map((h) => ((h == null ? void 0 : h.key) === "tableToForm" && (h.contents = ge.value), h)) : t.push({
|
|
971
971
|
key: "tableToForm",
|
|
@@ -983,9 +983,9 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
983
983
|
id: m.value,
|
|
984
984
|
contents: t == null ? void 0 : t.options
|
|
985
985
|
});
|
|
986
|
-
}),
|
|
986
|
+
}), ne.value = e == null ? void 0 : e.id, d.value = a, f.value = a;
|
|
987
987
|
};
|
|
988
|
-
|
|
988
|
+
Ze(
|
|
989
989
|
() => O.value,
|
|
990
990
|
() => {
|
|
991
991
|
var a, t;
|
|
@@ -1016,8 +1016,8 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1016
1016
|
var t, v, _, M, ye;
|
|
1017
1017
|
d.value = f.value;
|
|
1018
1018
|
let e = {};
|
|
1019
|
-
if (
|
|
1020
|
-
const ie = vl == null ? void 0 : vl.find((
|
|
1019
|
+
if (ne.value !== "" ? e.id = ne.value : (m.value++, e.id = "id" + m.value), (t = d.value) == null || t.forEach((K) => {
|
|
1020
|
+
const ie = vl == null ? void 0 : vl.find((oe) => (oe == null ? void 0 : oe.label) === (K == null ? void 0 : K.label));
|
|
1021
1021
|
ie ? e[ie.key] = K.value : K != null && K.children && K.children.length > 0 && (e.children = K.children);
|
|
1022
1022
|
}), (v = be.value) != null && v.find((K) => K.id === e.id))
|
|
1023
1023
|
be.value = (_ = be.value) == null ? void 0 : _.map((K) => (K.id === e.id && (K = e), K));
|
|
@@ -1025,7 +1025,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1025
1025
|
let K = l(be.value) ?? [];
|
|
1026
1026
|
K.push(e), be.value = K;
|
|
1027
1027
|
}
|
|
1028
|
-
me.value = !1,
|
|
1028
|
+
me.value = !1, ne.value = "";
|
|
1029
1029
|
let a = l(g.originalItemContents);
|
|
1030
1030
|
(M = l(g.originalItemContents)) != null && M.find((K) => (K == null ? void 0 : K.key) === "extraButton") ? a = (ye = l(g.originalItemContents)) == null ? void 0 : ye.map((K) => ((K == null ? void 0 : K.key) === "extraButton" && (K.contents = be.value), K)) : a.push({
|
|
1031
1031
|
key: "extraButton",
|
|
@@ -1035,7 +1035,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1035
1035
|
let a = l(f.value);
|
|
1036
1036
|
a = a == null ? void 0 : a.map((t) => (t.children || (t.value = e == null ? void 0 : e[t.name]), t)), f.value = a;
|
|
1037
1037
|
}, z = () => {
|
|
1038
|
-
me.value = !1, d.value = [],
|
|
1038
|
+
me.value = !1, d.value = [], ne.value = "";
|
|
1039
1039
|
}, pe = (e) => {
|
|
1040
1040
|
N.value = !0;
|
|
1041
1041
|
let a = [];
|
|
@@ -1048,7 +1048,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1048
1048
|
id: m.value,
|
|
1049
1049
|
contents: t == null ? void 0 : t.options
|
|
1050
1050
|
});
|
|
1051
|
-
}),
|
|
1051
|
+
}), ne.value = e == null ? void 0 : e.id, T.value = a, S.value = a;
|
|
1052
1052
|
}, Q = (e) => {
|
|
1053
1053
|
bl.confirm("是否确认要删除", "", {
|
|
1054
1054
|
confirmButtonText: "确认",
|
|
@@ -1097,8 +1097,8 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1097
1097
|
var t, v, _, M, ye;
|
|
1098
1098
|
T.value = S.value;
|
|
1099
1099
|
let e = {};
|
|
1100
|
-
if (
|
|
1101
|
-
const ie = ml == null ? void 0 : ml.find((
|
|
1100
|
+
if (ne.value !== "" ? e.id = ne.value : (m.value++, e.id = "id" + m.value), (t = T.value) == null || t.forEach((K) => {
|
|
1101
|
+
const ie = ml == null ? void 0 : ml.find((oe) => (oe == null ? void 0 : oe.label) === (K == null ? void 0 : K.label));
|
|
1102
1102
|
ie ? e[ie.key] = K.value : K != null && K.children && K.children.length > 0 && (e.children = K.children);
|
|
1103
1103
|
}), (v = te.value) != null && v.find((K) => K.id === e.id))
|
|
1104
1104
|
te.value = (_ = te.value) == null ? void 0 : _.map((K) => (K.id === e.id && (K = e), K));
|
|
@@ -1106,14 +1106,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1106
1106
|
let K = l(te.value);
|
|
1107
1107
|
K.push(e), te.value = K;
|
|
1108
1108
|
}
|
|
1109
|
-
N.value = !1,
|
|
1109
|
+
N.value = !1, ne.value = "";
|
|
1110
1110
|
let a = l(g.originalItemContents);
|
|
1111
1111
|
(M = l(g.originalItemContents)) != null && M.find((K) => (K == null ? void 0 : K.key) === "rowButton") ? a = (ye = l(g.originalItemContents)) == null ? void 0 : ye.map((K) => ((K == null ? void 0 : K.key) === "rowButton" && (K.contents = te.value), K)) : a.push({
|
|
1112
1112
|
key: "rowButton",
|
|
1113
1113
|
contents: te.value
|
|
1114
1114
|
}), i("change", a);
|
|
1115
1115
|
}, fe = () => {
|
|
1116
|
-
N.value = !1,
|
|
1116
|
+
N.value = !1, ne.value = "", S.value = [], T.value = [];
|
|
1117
1117
|
}, le = (e) => {
|
|
1118
1118
|
j.value = !0;
|
|
1119
1119
|
let a = [];
|
|
@@ -1129,13 +1129,13 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1129
1129
|
}), ee.value = a, _e.value = e == null ? void 0 : e.id, ce.value = a;
|
|
1130
1130
|
}, F = (e) => {
|
|
1131
1131
|
var a;
|
|
1132
|
-
w.value =
|
|
1132
|
+
w.value = Ga(l(w.value), e == null ? void 0 : e.id), i("change", (a = l(g.originalItemContents)) == null ? void 0 : a.map((t) => {
|
|
1133
1133
|
var v;
|
|
1134
1134
|
return (t == null ? void 0 : t.key) === "header" && (t.contents = (v = w.value) != null && v.some((_) => _ == null ? void 0 : _.children) ? [w.value] : w.value), t;
|
|
1135
1135
|
}));
|
|
1136
1136
|
}, b = (e) => {
|
|
1137
1137
|
var t, v, _;
|
|
1138
|
-
e.type === "fix" ? e.id !== "" ? w.value =
|
|
1138
|
+
e.type === "fix" ? e.id !== "" ? w.value = Qa(w.value, e) : w.value = qa(w.value, e == null ? void 0 : e.contents) : w.value = Xa(w.value, e), w.value = (t = w.value) != null && t.some((M) => M == null ? void 0 : M.children) ? [w.value] : w.value, ne.value = "";
|
|
1139
1139
|
let a = l(g.originalItemContents);
|
|
1140
1140
|
(v = l(g.originalItemContents)) != null && v.find((M) => (M == null ? void 0 : M.key) === "header") ? a = (_ = l(g.originalItemContents)) == null ? void 0 : _.map((M) => ((M == null ? void 0 : M.key) === "header" && (M.contents = w.value), M)) : a.push({
|
|
1141
1141
|
key: "header",
|
|
@@ -1157,26 +1157,26 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1157
1157
|
}), e != null && e.children && ((t = e == null ? void 0 : e.children) == null ? void 0 : t.length) > 0 && a.push({
|
|
1158
1158
|
children: e == null ? void 0 : e.children,
|
|
1159
1159
|
isFormColHidden: !0
|
|
1160
|
-
}),
|
|
1160
|
+
}), ne.value = e == null ? void 0 : e.id, _e.value = "", ee.value = a, ce.value = a;
|
|
1161
1161
|
}, J = (e) => {
|
|
1162
1162
|
let a = l(ce.value);
|
|
1163
1163
|
a = a == null ? void 0 : a.map((t) => (t.children || (t.value = e == null ? void 0 : e[t.name]), t)), ce.value = a;
|
|
1164
1164
|
}, p = () => {
|
|
1165
|
-
j.value = !1,
|
|
1165
|
+
j.value = !1, ne.value = "", _e.value = "", ce.value = [];
|
|
1166
1166
|
}, n = () => {
|
|
1167
1167
|
var t, v, _, M, ye, K;
|
|
1168
1168
|
ee.value = ce.value;
|
|
1169
1169
|
let e = {};
|
|
1170
|
-
if (
|
|
1171
|
-
const
|
|
1172
|
-
|
|
1170
|
+
if (ne.value !== "" ? e.id = ne.value : (m.value++, e.id = "id" + m.value), (t = ee.value) == null || t.forEach((ie) => {
|
|
1171
|
+
const oe = Ee == null ? void 0 : Ee.find((Ce) => (Ce == null ? void 0 : Ce.label) === (ie == null ? void 0 : ie.label));
|
|
1172
|
+
oe ? e[oe.key] = ie.value : ie != null && ie.children && ie.children.length > 0 && (e.children = ie.children);
|
|
1173
1173
|
}), (v = w.value) != null && v.find((ie) => ie.id === e.id))
|
|
1174
1174
|
w.value = (_ = w.value) == null ? void 0 : _.map((ie) => (ie.id === e.id && (ie = e), ie));
|
|
1175
1175
|
else {
|
|
1176
1176
|
let ie = l(w.value) ?? [];
|
|
1177
|
-
_e.value === "" ? ie.push(e) : ie = ie == null ? void 0 : ie.map((
|
|
1177
|
+
_e.value === "" ? ie.push(e) : ie = ie == null ? void 0 : ie.map((oe) => (oe.id === _e.value && (oe.children || (oe.children = []), oe.children.push(e)), oe)), w.value = ie;
|
|
1178
1178
|
}
|
|
1179
|
-
w.value = (M = w.value) != null && M.some((ie) => ie == null ? void 0 : ie.children) ? [w.value] : w.value, j.value = !1,
|
|
1179
|
+
w.value = (M = w.value) != null && M.some((ie) => ie == null ? void 0 : ie.children) ? [w.value] : w.value, j.value = !1, ne.value = "", _e.value = "";
|
|
1180
1180
|
let a = l(g.originalItemContents);
|
|
1181
1181
|
(ye = l(g.originalItemContents)) != null && ye.find((ie) => (ie == null ? void 0 : ie.key) === "header") ? a = (K = l(g.originalItemContents)) == null ? void 0 : K.map((ie) => ((ie == null ? void 0 : ie.key) === "header" && (ie.contents = w.value), ie)) : a.push({
|
|
1182
1182
|
key: "header",
|
|
@@ -1201,12 +1201,12 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1201
1201
|
).catch(() => {
|
|
1202
1202
|
});
|
|
1203
1203
|
};
|
|
1204
|
-
return
|
|
1204
|
+
return Ze(
|
|
1205
1205
|
() => g.originalItemContents,
|
|
1206
1206
|
() => {
|
|
1207
|
-
var e, a, t, v, _, M, ye, K, ie,
|
|
1207
|
+
var e, a, t, v, _, M, ye, K, ie, oe, Ce, de, G, h, he, re, we, Ke, Ne;
|
|
1208
1208
|
if (!(!g.originalItemContents || g.originalItemContents.length === 0))
|
|
1209
|
-
if (o.value = l(g.originalItemContents), w.value = (a = (e = o.value) == null ? void 0 : e.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : a.contents, te.value = (v = (t = o.value) == null ? void 0 : t.find(($) => ($ == null ? void 0 : $.key) === "rowButton")) == null ? void 0 : v.contents, be.value = (M = (_ = o.value) == null ? void 0 : _.find(($) => ($ == null ? void 0 : $.key) === "extraButton")) == null ? void 0 : M.contents, O.value = (K = (ye = o.value) == null ? void 0 : ye.find(($) => ($ == null ? void 0 : $.key) === "page")) != null && K.contents ? !!((
|
|
1209
|
+
if (o.value = l(g.originalItemContents), w.value = (a = (e = o.value) == null ? void 0 : e.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : a.contents, te.value = (v = (t = o.value) == null ? void 0 : t.find(($) => ($ == null ? void 0 : $.key) === "rowButton")) == null ? void 0 : v.contents, be.value = (M = (_ = o.value) == null ? void 0 : _.find(($) => ($ == null ? void 0 : $.key) === "extraButton")) == null ? void 0 : M.contents, O.value = (K = (ye = o.value) == null ? void 0 : ye.find(($) => ($ == null ? void 0 : $.key) === "page")) != null && K.contents ? !!((oe = (ie = o.value) == null ? void 0 : ie.find(($) => ($ == null ? void 0 : $.key) === "page")) != null && oe.contents) : !1, ge.value = (de = (Ce = o.value) == null ? void 0 : Ce.find(($) => ($ == null ? void 0 : $.key) === "tableToForm")) == null ? void 0 : de.contents, w.value = (G = w.value) == null ? void 0 : G.map(($, Te) => (Array.isArray($) ? $ = Ai($) : $ = {
|
|
1210
1210
|
label: ($ == null ? void 0 : $.label) ?? "",
|
|
1211
1211
|
prop: ($ == null ? void 0 : $.label) === "操作" ? "operate" : $ == null ? void 0 : $.prop,
|
|
1212
1212
|
width: $ != null && $.width ? parseInt($.width) : "",
|
|
@@ -1231,16 +1231,16 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1231
1231
|
background: ($ == null ? void 0 : $.background) ?? "var(--ssComponent-primary-color)",
|
|
1232
1232
|
id: ($ == null ? void 0 : $.id) ?? Te
|
|
1233
1233
|
}), ge.value)
|
|
1234
|
-
ge.value = (
|
|
1234
|
+
ge.value = (Ne = ge.value) == null ? void 0 : Ne.map(($) => {
|
|
1235
1235
|
m.value++;
|
|
1236
1236
|
let Te = $;
|
|
1237
1237
|
return Te.id = m.value, Te;
|
|
1238
1238
|
});
|
|
1239
1239
|
else {
|
|
1240
1240
|
let $ = [];
|
|
1241
|
-
const Te = (
|
|
1241
|
+
const Te = (Ke = mi(l(w.value))) == null ? void 0 : Ke.filter((xe) => (xe == null ? void 0 : xe.prop) !== "operate");
|
|
1242
1242
|
Te == null || Te.forEach((xe) => {
|
|
1243
|
-
var
|
|
1243
|
+
var Re;
|
|
1244
1244
|
m.value++, $.push({
|
|
1245
1245
|
label: xe == null ? void 0 : xe.label,
|
|
1246
1246
|
name: xe == null ? void 0 : xe.label,
|
|
@@ -1249,7 +1249,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1249
1249
|
id: m.value,
|
|
1250
1250
|
contents: xe == null ? void 0 : xe.options,
|
|
1251
1251
|
menuSelect: xe == null ? void 0 : xe.formMenuSelect,
|
|
1252
|
-
groupSelect: (
|
|
1252
|
+
groupSelect: (Re = xe == null ? void 0 : xe.groupSelect) == null ? void 0 : Re.split(":"),
|
|
1253
1253
|
selectRelateType: "关联绑定列"
|
|
1254
1254
|
});
|
|
1255
1255
|
}), ge.value = $;
|
|
@@ -1257,10 +1257,10 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1257
1257
|
},
|
|
1258
1258
|
{ deep: !0, immediate: !0 }
|
|
1259
1259
|
), (e, a) => {
|
|
1260
|
-
const t =
|
|
1261
|
-
return se(), ke("div",
|
|
1262
|
-
E("div",
|
|
1263
|
-
E("div",
|
|
1260
|
+
const t = je("svg-icon"), v = je("el-button");
|
|
1261
|
+
return se(), ke("div", Gi, [
|
|
1262
|
+
E("div", qi, [
|
|
1263
|
+
E("div", Qi, [
|
|
1264
1264
|
a[2] || (a[2] = E("div", null, De("表头"), -1)),
|
|
1265
1265
|
ae(v, {
|
|
1266
1266
|
class: "icon-content",
|
|
@@ -1280,11 +1280,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1280
1280
|
__: [1]
|
|
1281
1281
|
})
|
|
1282
1282
|
]),
|
|
1283
|
-
E("div",
|
|
1284
|
-
(se(!0), ke(
|
|
1285
|
-
E("div",
|
|
1286
|
-
E("div",
|
|
1287
|
-
E("div",
|
|
1283
|
+
E("div", Xi, [
|
|
1284
|
+
(se(!0), ke(Pe, null, Je(w.value, (_, M) => (se(), ke("div", { key: M }, [
|
|
1285
|
+
E("div", Yi, [
|
|
1286
|
+
E("div", Zi, De(_ == null ? void 0 : _.label), 1),
|
|
1287
|
+
E("div", es, [
|
|
1288
1288
|
ae(t, {
|
|
1289
1289
|
name: "ChildAdd",
|
|
1290
1290
|
class: "svg-icon-content",
|
|
@@ -1305,16 +1305,16 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1305
1305
|
}, null, 8, ["onClick"])
|
|
1306
1306
|
])
|
|
1307
1307
|
]),
|
|
1308
|
-
_ != null && _.children && _.children.length > 0 ? (se(), ke("div",
|
|
1309
|
-
ae(
|
|
1308
|
+
_ != null && _.children && _.children.length > 0 ? (se(), ke("div", ls, [
|
|
1309
|
+
ae(Ya, {
|
|
1310
1310
|
tableChildContents: _ == null ? void 0 : _.children,
|
|
1311
1311
|
onDeleteChange: F,
|
|
1312
1312
|
onFixChange: b
|
|
1313
1313
|
}, null, 8, ["tableChildContents"])
|
|
1314
|
-
])) :
|
|
1314
|
+
])) : Ye("", !0)
|
|
1315
1315
|
]))), 128))
|
|
1316
1316
|
]),
|
|
1317
|
-
E("div",
|
|
1317
|
+
E("div", as, [
|
|
1318
1318
|
a[4] || (a[4] = E("div", null, De("行内按钮"), -1)),
|
|
1319
1319
|
ae(v, {
|
|
1320
1320
|
class: "icon-content",
|
|
@@ -1334,11 +1334,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1334
1334
|
__: [3]
|
|
1335
1335
|
})
|
|
1336
1336
|
]),
|
|
1337
|
-
E("div",
|
|
1338
|
-
(se(!0), ke(
|
|
1339
|
-
E("div",
|
|
1340
|
-
E("div",
|
|
1341
|
-
E("div",
|
|
1337
|
+
E("div", is, [
|
|
1338
|
+
(se(!0), ke(Pe, null, Je(te.value, (_, M) => (se(), ke("div", { key: M }, [
|
|
1339
|
+
E("div", ss, [
|
|
1340
|
+
E("div", ns, De(_ == null ? void 0 : _.label), 1),
|
|
1341
|
+
E("div", os, [
|
|
1342
1342
|
ae(t, {
|
|
1343
1343
|
name: "ChildFix",
|
|
1344
1344
|
style: { width: "24px", height: "24px" },
|
|
@@ -1355,7 +1355,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1355
1355
|
])
|
|
1356
1356
|
]))), 128))
|
|
1357
1357
|
]),
|
|
1358
|
-
E("div",
|
|
1358
|
+
E("div", us, [
|
|
1359
1359
|
a[6] || (a[6] = E("div", null, De("表外按钮"), -1)),
|
|
1360
1360
|
ae(v, {
|
|
1361
1361
|
class: "icon-content",
|
|
@@ -1375,11 +1375,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1375
1375
|
__: [5]
|
|
1376
1376
|
})
|
|
1377
1377
|
]),
|
|
1378
|
-
E("div",
|
|
1379
|
-
(se(!0), ke(
|
|
1380
|
-
E("div",
|
|
1381
|
-
E("div",
|
|
1382
|
-
E("div",
|
|
1378
|
+
E("div", rs, [
|
|
1379
|
+
(se(!0), ke(Pe, null, Je(be.value, (_, M) => (se(), ke("div", { key: M }, [
|
|
1380
|
+
E("div", cs, [
|
|
1381
|
+
E("div", ds, De(_ == null ? void 0 : _.label), 1),
|
|
1382
|
+
E("div", ts, [
|
|
1383
1383
|
ae(t, {
|
|
1384
1384
|
name: "ChildFix",
|
|
1385
1385
|
style: { width: "24px", height: "24px" },
|
|
@@ -1396,7 +1396,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1396
1396
|
])
|
|
1397
1397
|
]))), 128))
|
|
1398
1398
|
]),
|
|
1399
|
-
E("div",
|
|
1399
|
+
E("div", ps, [
|
|
1400
1400
|
a[8] || (a[8] = E("div", null, De("表格弹框字段设置"), -1)),
|
|
1401
1401
|
ae(v, {
|
|
1402
1402
|
class: "icon-content",
|
|
@@ -1416,11 +1416,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1416
1416
|
__: [7]
|
|
1417
1417
|
})
|
|
1418
1418
|
]),
|
|
1419
|
-
E("div",
|
|
1420
|
-
(se(!0), ke(
|
|
1421
|
-
E("div",
|
|
1422
|
-
E("div",
|
|
1423
|
-
E("div",
|
|
1419
|
+
E("div", fs, [
|
|
1420
|
+
(se(!0), ke(Pe, null, Je(ge.value, (_, M) => (se(), ke("div", { key: M }, [
|
|
1421
|
+
E("div", hs, [
|
|
1422
|
+
E("div", vs, De(_ == null ? void 0 : _.label), 1),
|
|
1423
|
+
E("div", ms, [
|
|
1424
1424
|
ae(t, {
|
|
1425
1425
|
name: "ChildFix",
|
|
1426
1426
|
style: { width: "24px", height: "24px" },
|
|
@@ -1440,24 +1440,24 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1440
1440
|
a[10] || (a[10] = E("div", { class: "operate-title" }, [
|
|
1441
1441
|
E("div", null, De("分页"))
|
|
1442
1442
|
], -1)),
|
|
1443
|
-
E("div",
|
|
1444
|
-
E("div",
|
|
1443
|
+
E("div", ys, [
|
|
1444
|
+
E("div", gs, [
|
|
1445
1445
|
a[9] || (a[9] = E("div", { class: "operate-center-content" }, De("是否分页"), -1)),
|
|
1446
|
-
ae(
|
|
1446
|
+
ae(Ma, {
|
|
1447
1447
|
modelValue: O.value,
|
|
1448
1448
|
"onUpdate:modelValue": a[0] || (a[0] = (_) => O.value = _)
|
|
1449
1449
|
}, null, 8, ["modelValue"])
|
|
1450
1450
|
])
|
|
1451
1451
|
])
|
|
1452
1452
|
]),
|
|
1453
|
-
ae(
|
|
1453
|
+
ae(al, {
|
|
1454
1454
|
visible: j.value,
|
|
1455
1455
|
onBeforeDestroy: p,
|
|
1456
1456
|
width: 840
|
|
1457
1457
|
}, {
|
|
1458
1458
|
default: ve(() => [
|
|
1459
|
-
E("div",
|
|
1460
|
-
(se(),
|
|
1459
|
+
E("div", bs, [
|
|
1460
|
+
(se(), Ve(ll, {
|
|
1461
1461
|
rowContents: ee.value,
|
|
1462
1462
|
key: ee.value,
|
|
1463
1463
|
isEnableWrap: !0,
|
|
@@ -1466,7 +1466,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1466
1466
|
])
|
|
1467
1467
|
]),
|
|
1468
1468
|
footer: ve(() => [
|
|
1469
|
-
E("div",
|
|
1469
|
+
E("div", ks, [
|
|
1470
1470
|
ae(v, {
|
|
1471
1471
|
onClick: p,
|
|
1472
1472
|
class: "cancel-button button",
|
|
@@ -1493,14 +1493,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1493
1493
|
]),
|
|
1494
1494
|
_: 1
|
|
1495
1495
|
}, 8, ["visible"]),
|
|
1496
|
-
ae(
|
|
1496
|
+
ae(al, {
|
|
1497
1497
|
visible: N.value,
|
|
1498
1498
|
onBeforeDestroy: fe,
|
|
1499
1499
|
width: 840
|
|
1500
1500
|
}, {
|
|
1501
1501
|
default: ve(() => [
|
|
1502
|
-
E("div",
|
|
1503
|
-
(se(),
|
|
1502
|
+
E("div", _s, [
|
|
1503
|
+
(se(), Ve(ll, {
|
|
1504
1504
|
rowContents: T.value,
|
|
1505
1505
|
key: T.value,
|
|
1506
1506
|
isEnableWrap: !0,
|
|
@@ -1509,7 +1509,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1509
1509
|
])
|
|
1510
1510
|
]),
|
|
1511
1511
|
footer: ve(() => [
|
|
1512
|
-
E("div",
|
|
1512
|
+
E("div", Cs, [
|
|
1513
1513
|
ae(v, {
|
|
1514
1514
|
onClick: fe,
|
|
1515
1515
|
class: "cancel-button button",
|
|
@@ -1536,14 +1536,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1536
1536
|
]),
|
|
1537
1537
|
_: 1
|
|
1538
1538
|
}, 8, ["visible"]),
|
|
1539
|
-
ae(
|
|
1539
|
+
ae(al, {
|
|
1540
1540
|
visible: me.value,
|
|
1541
1541
|
onBeforeDestroy: z,
|
|
1542
1542
|
width: 840
|
|
1543
1543
|
}, {
|
|
1544
1544
|
default: ve(() => [
|
|
1545
|
-
E("div",
|
|
1546
|
-
(se(),
|
|
1545
|
+
E("div", ws, [
|
|
1546
|
+
(se(), Ve(ll, {
|
|
1547
1547
|
rowContents: d.value,
|
|
1548
1548
|
key: d.value,
|
|
1549
1549
|
isEnableWrap: !0,
|
|
@@ -1552,7 +1552,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1552
1552
|
])
|
|
1553
1553
|
]),
|
|
1554
1554
|
footer: ve(() => [
|
|
1555
|
-
E("div",
|
|
1555
|
+
E("div", Ds, [
|
|
1556
1556
|
ae(v, {
|
|
1557
1557
|
onClick: z,
|
|
1558
1558
|
class: "cancel-button button",
|
|
@@ -1579,14 +1579,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1579
1579
|
]),
|
|
1580
1580
|
_: 1
|
|
1581
1581
|
}, 8, ["visible"]),
|
|
1582
|
-
ae(
|
|
1582
|
+
ae(al, {
|
|
1583
1583
|
visible: L.value,
|
|
1584
1584
|
onBeforeDestroy: I,
|
|
1585
1585
|
width: 840
|
|
1586
1586
|
}, {
|
|
1587
1587
|
default: ve(() => [
|
|
1588
|
-
E("div",
|
|
1589
|
-
(se(),
|
|
1588
|
+
E("div", Is, [
|
|
1589
|
+
(se(), Ve(ll, {
|
|
1590
1590
|
rowContents: k.value,
|
|
1591
1591
|
key: k.value,
|
|
1592
1592
|
isEnableWrap: !0,
|
|
@@ -1597,7 +1597,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1597
1597
|
])
|
|
1598
1598
|
]),
|
|
1599
1599
|
footer: ve(() => [
|
|
1600
|
-
E("div",
|
|
1600
|
+
E("div", xs, [
|
|
1601
1601
|
ae(v, {
|
|
1602
1602
|
onClick: I,
|
|
1603
1603
|
class: "cancel-button button",
|
|
@@ -1627,7 +1627,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1627
1627
|
]);
|
|
1628
1628
|
};
|
|
1629
1629
|
}
|
|
1630
|
-
},
|
|
1630
|
+
}, Ts = /* @__PURE__ */ He(As, [["__scopeId", "data-v-fa521a52"]]), Es = { class: "form-operate-content" }, Ss = { class: "form-operate-item" }, $s = { class: "operate-title" }, Bs = { class: "operate-content" }, Fs = { class: "fix-content" }, Ls = { class: "fix-button" }, Os = { class: "operate-title" }, Vs = { class: "operate-content" }, Rs = { class: "fix-content" }, Us = { class: "fix-button" }, js = { style: { display: "flex", "justify-content": "space-between" } }, Ps = { class: "form-content" }, Ks = { class: "dialog-footer" }, Ns = { class: "form-content" }, Ms = {
|
|
1631
1631
|
__name: "operate",
|
|
1632
1632
|
props: {
|
|
1633
1633
|
itemContents: {
|
|
@@ -1641,7 +1641,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1641
1641
|
},
|
|
1642
1642
|
emits: ["change"],
|
|
1643
1643
|
setup(r, { emit: V }) {
|
|
1644
|
-
const g = r, i = V, o = q(!1), j = q([]), L = q([]), w = q(!1), N = q([]), ee = q([]), O = q(""), ce = q(!1),
|
|
1644
|
+
const g = r, i = V, o = q(!1), j = q([]), L = q([]), w = q(!1), N = q([]), ee = q([]), O = q(""), ce = q(!1), ne = q(0), _e = q([]), te = q([]), be = (s, c) => {
|
|
1645
1645
|
if (console.log(345, s), (c == null ? void 0 : c.type) == "Select" && (s == null ? void 0 : s.key) === "selectRelateType") {
|
|
1646
1646
|
const D = c == null ? void 0 : c.optionUrl;
|
|
1647
1647
|
return (D == null ? void 0 : D.selectRelateType) || c[s.key];
|
|
@@ -1658,22 +1658,22 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1658
1658
|
return (c == null ? void 0 : c.value) || c[s.key];
|
|
1659
1659
|
if ((c == null ? void 0 : c.type) == "Select" && (s == null ? void 0 : s.key) === "multiple") {
|
|
1660
1660
|
const D = c[s.key];
|
|
1661
|
-
return
|
|
1661
|
+
return Ja(D) ? D : s.default;
|
|
1662
1662
|
}
|
|
1663
1663
|
return (s == null ? void 0 : s.label) === "类型" && c[s.key] === "" ? "Input" : (s == null ? void 0 : s.key) === "isFormColHidden" && !c[s.key] ? !1 : c[s.key];
|
|
1664
1664
|
}, T = async (s) => {
|
|
1665
1665
|
var I, W, H, B, u, X;
|
|
1666
1666
|
o.value = !0;
|
|
1667
1667
|
let c = [];
|
|
1668
|
-
const D = await ((H = (W = (I =
|
|
1668
|
+
const D = await ((H = (W = (I = Xe) == null ? void 0 : I.find((z) => (z == null ? void 0 : z.key) === ((s == null ? void 0 : s.type) === "" ? "Input" : s == null ? void 0 : s.type))) == null ? void 0 : W.value) == null ? void 0 : H.value) ?? ((u = (B = Xe) == null ? void 0 : B.find((z) => (z == null ? void 0 : z.key) === ((s == null ? void 0 : s.type) === "" ? "Input" : s == null ? void 0 : s.type))) == null ? void 0 : u.value);
|
|
1669
1669
|
if (D == null || D.forEach((z) => {
|
|
1670
|
-
|
|
1670
|
+
ne.value++, c.push({
|
|
1671
1671
|
label: z == null ? void 0 : z.label,
|
|
1672
1672
|
name: z == null ? void 0 : z.label,
|
|
1673
1673
|
type: z.type,
|
|
1674
1674
|
// value: (t?.label === "类型" && content[t.key] === '') ? "Input" : content[t.key],
|
|
1675
1675
|
value: be(z, s),
|
|
1676
|
-
id:
|
|
1676
|
+
id: ne.value,
|
|
1677
1677
|
contents: z == null ? void 0 : z.options,
|
|
1678
1678
|
width: (s == null ? void 0 : s.width) ?? 1
|
|
1679
1679
|
});
|
|
@@ -1686,18 +1686,18 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1686
1686
|
var D;
|
|
1687
1687
|
w.value = !0;
|
|
1688
1688
|
let c = [];
|
|
1689
|
-
(D =
|
|
1690
|
-
|
|
1689
|
+
(D = ka) == null || D.forEach((I) => {
|
|
1690
|
+
ne.value++, c.push({
|
|
1691
1691
|
label: I == null ? void 0 : I.label,
|
|
1692
1692
|
name: I == null ? void 0 : I.label,
|
|
1693
1693
|
type: I.type,
|
|
1694
1694
|
value: (I == null ? void 0 : I.label) === "类型" && s[I.key] === "" ? "normal" : s[I.key],
|
|
1695
|
-
id:
|
|
1695
|
+
id: ne.value,
|
|
1696
1696
|
contents: I == null ? void 0 : I.options
|
|
1697
1697
|
});
|
|
1698
1698
|
}), _e.value = c, te.value = c, O.value = s == null ? void 0 : s.id;
|
|
1699
1699
|
};
|
|
1700
|
-
|
|
1700
|
+
Ze(
|
|
1701
1701
|
() => ce.value,
|
|
1702
1702
|
() => {
|
|
1703
1703
|
var c, D;
|
|
@@ -1713,9 +1713,9 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1713
1713
|
var D, I, W, H, B;
|
|
1714
1714
|
_e.value = te.value;
|
|
1715
1715
|
let s = {};
|
|
1716
|
-
if (O.value !== "" ? s.id = O.value : (
|
|
1716
|
+
if (O.value !== "" ? s.id = O.value : (ne.value++, s.id = "id" + ne.value), (D = _e.value) == null || D.forEach((u) => {
|
|
1717
1717
|
var z;
|
|
1718
|
-
const X = (z =
|
|
1718
|
+
const X = (z = ka) == null ? void 0 : z.find((pe) => (pe == null ? void 0 : pe.label) === (u == null ? void 0 : u.label));
|
|
1719
1719
|
X && (s[X.key] = u.value);
|
|
1720
1720
|
}), (I = N.value) != null && I.find((u) => u.id === s.id))
|
|
1721
1721
|
N.value = (W = N.value) == null ? void 0 : W.map((u) => (u.id === s.id && (u = s), u));
|
|
@@ -1763,13 +1763,13 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1763
1763
|
var c;
|
|
1764
1764
|
w.value = !0;
|
|
1765
1765
|
let s = [];
|
|
1766
|
-
(c =
|
|
1767
|
-
|
|
1766
|
+
(c = ka) == null || c.forEach((D) => {
|
|
1767
|
+
ne.value++, s.push({
|
|
1768
1768
|
label: D == null ? void 0 : D.label,
|
|
1769
1769
|
name: D == null ? void 0 : D.label,
|
|
1770
1770
|
type: D.type,
|
|
1771
1771
|
value: (D == null ? void 0 : D.label) === "类型" ? "normal" : "",
|
|
1772
|
-
id:
|
|
1772
|
+
id: ne.value,
|
|
1773
1773
|
contents: D == null ? void 0 : D.options
|
|
1774
1774
|
});
|
|
1775
1775
|
}), _e.value = s, te.value = s;
|
|
@@ -1777,13 +1777,13 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1777
1777
|
var c, D, I;
|
|
1778
1778
|
o.value = !0;
|
|
1779
1779
|
let s = [];
|
|
1780
|
-
(I = (D = (c =
|
|
1781
|
-
|
|
1780
|
+
(I = (D = (c = Xe) == null ? void 0 : c.find((W) => (W == null ? void 0 : W.key) === "Input")) == null ? void 0 : D.value) == null || I.forEach((W) => {
|
|
1781
|
+
ne.value++, s.push({
|
|
1782
1782
|
label: W == null ? void 0 : W.label,
|
|
1783
1783
|
name: W == null ? void 0 : W.label,
|
|
1784
1784
|
type: W.type,
|
|
1785
1785
|
value: (W == null ? void 0 : W.label) === "类型" ? "Input" : "",
|
|
1786
|
-
id:
|
|
1786
|
+
id: ne.value,
|
|
1787
1787
|
contents: W == null ? void 0 : W.options
|
|
1788
1788
|
});
|
|
1789
1789
|
}), j.value = s, L.value = s;
|
|
@@ -1795,22 +1795,22 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1795
1795
|
if ((c == null ? void 0 : c.value) != "Select")
|
|
1796
1796
|
return;
|
|
1797
1797
|
const D = s.find((W) => (W == null ? void 0 : W.name) === "多选"), I = s.find((W) => (W == null ? void 0 : W.name) === "初始值");
|
|
1798
|
-
D != null && D.value &&
|
|
1798
|
+
D != null && D.value && La(I.value) && (I.value = [I.value]), !(D != null && D.value) && !La(I.value) && (I.value = "");
|
|
1799
1799
|
}, Ie = async (s) => {
|
|
1800
1800
|
var c, D, I, W, H, B, u, X, z, pe, Q, R;
|
|
1801
1801
|
if ((s == null ? void 0 : s.类型) !== ((D = (c = L.value) == null ? void 0 : c.find((P) => (P == null ? void 0 : P.label) === "类型")) == null ? void 0 : D.value)) {
|
|
1802
1802
|
let P = [];
|
|
1803
|
-
const U = await ((H = (W = (I =
|
|
1803
|
+
const U = await ((H = (W = (I = Xe) == null ? void 0 : I.find((A) => (A == null ? void 0 : A.key) === ((s == null ? void 0 : s.类型) === "" ? "Input" : s == null ? void 0 : s.类型))) == null ? void 0 : W.value) == null ? void 0 : H.value) ? await ((pe = (z = (X = Xe) == null ? void 0 : X.find((A) => (A == null ? void 0 : A.key) === ((s == null ? void 0 : s.类型) === "" ? "Input" : s == null ? void 0 : s.类型))) == null ? void 0 : z.value) == null ? void 0 : pe.value) : (u = (B = Xe) == null ? void 0 : B.find((A) => (A == null ? void 0 : A.key) === ((s == null ? void 0 : s.类型) === "" ? "Input" : s == null ? void 0 : s.类型))) == null ? void 0 : u.value;
|
|
1804
1804
|
if (U == null || U.forEach((A) => {
|
|
1805
1805
|
var le, F;
|
|
1806
|
-
|
|
1807
|
-
const fe =
|
|
1806
|
+
ne.value++;
|
|
1807
|
+
const fe = Di(A == null ? void 0 : A.default) ? (s == null ? void 0 : s[A.label]) ?? A.value ?? "" : A == null ? void 0 : A.default;
|
|
1808
1808
|
P.push({
|
|
1809
1809
|
label: A == null ? void 0 : A.label,
|
|
1810
1810
|
name: A == null ? void 0 : A.label,
|
|
1811
1811
|
type: A.type,
|
|
1812
1812
|
value: fe,
|
|
1813
|
-
id:
|
|
1813
|
+
id: ne.value,
|
|
1814
1814
|
contents: A == null ? void 0 : A.options,
|
|
1815
1815
|
width: ((F = (le = L.value) == null ? void 0 : le[0]) == null ? void 0 : F.width) ?? 1
|
|
1816
1816
|
});
|
|
@@ -1835,11 +1835,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1835
1835
|
var I, W, H, B, u, X, z, pe, Q, R, P, U;
|
|
1836
1836
|
j.value = L.value;
|
|
1837
1837
|
let s = {};
|
|
1838
|
-
s.width = ((W = (I = j.value) == null ? void 0 : I[0]) == null ? void 0 : W.width) ?? 1, O.value !== "" ? s.id = O.value : (
|
|
1839
|
-
let c = await ((u = (B = (H =
|
|
1838
|
+
s.width = ((W = (I = j.value) == null ? void 0 : I[0]) == null ? void 0 : W.width) ?? 1, O.value !== "" ? s.id = O.value : (ne.value++, s.id = "id" + ne.value);
|
|
1839
|
+
let c = await ((u = (B = (H = Xe) == null ? void 0 : H.find((A) => {
|
|
1840
1840
|
var fe, le;
|
|
1841
1841
|
return (A == null ? void 0 : A.key) === (((le = (fe = j.value) == null ? void 0 : fe.find((F) => (F == null ? void 0 : F.label) === "类型")) == null ? void 0 : le.value) ?? "label");
|
|
1842
|
-
})) == null ? void 0 : B.value) == null ? void 0 : u.value) ?? ((z = (X =
|
|
1842
|
+
})) == null ? void 0 : B.value) == null ? void 0 : u.value) ?? ((z = (X = Xe) == null ? void 0 : X.find((A) => {
|
|
1843
1843
|
var fe, le;
|
|
1844
1844
|
return (A == null ? void 0 : A.key) === (((le = (fe = j.value) == null ? void 0 : fe.find((F) => (F == null ? void 0 : F.label) === "类型")) == null ? void 0 : le.value) ?? "label");
|
|
1845
1845
|
})) == null ? void 0 : z.value);
|
|
@@ -1861,7 +1861,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1861
1861
|
}, x = () => {
|
|
1862
1862
|
o.value = !1, w.value = !1, O.value = "", L.value = [], te.value = [];
|
|
1863
1863
|
};
|
|
1864
|
-
return
|
|
1864
|
+
return Ze(
|
|
1865
1865
|
() => g.originalItemContents,
|
|
1866
1866
|
() => {
|
|
1867
1867
|
var c, D, I, W, H, B;
|
|
@@ -1880,10 +1880,10 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1880
1880
|
},
|
|
1881
1881
|
{ deep: !0, immediate: !0 }
|
|
1882
1882
|
), (s, c) => {
|
|
1883
|
-
const D =
|
|
1884
|
-
return se(), ke("div",
|
|
1885
|
-
E("div",
|
|
1886
|
-
E("div",
|
|
1883
|
+
const D = je("svg-icon"), I = je("el-button");
|
|
1884
|
+
return se(), ke("div", Es, [
|
|
1885
|
+
E("div", Ss, [
|
|
1886
|
+
E("div", $s, [
|
|
1887
1887
|
c[2] || (c[2] = E("div", null, De("表单内容"), -1)),
|
|
1888
1888
|
ae(I, {
|
|
1889
1889
|
class: "icon-content",
|
|
@@ -1903,11 +1903,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1903
1903
|
__: [1]
|
|
1904
1904
|
})
|
|
1905
1905
|
]),
|
|
1906
|
-
E("div",
|
|
1907
|
-
(se(!0), ke(
|
|
1908
|
-
E("div",
|
|
1906
|
+
E("div", Bs, [
|
|
1907
|
+
(se(!0), ke(Pe, null, Je(ee.value, (W, H) => (se(), ke("div", { key: H }, [
|
|
1908
|
+
E("div", Fs, [
|
|
1909
1909
|
E("div", null, De(W.label), 1),
|
|
1910
|
-
E("div",
|
|
1910
|
+
E("div", Ls, [
|
|
1911
1911
|
ae(D, {
|
|
1912
1912
|
name: "ChildFix",
|
|
1913
1913
|
class: "svg-icon-content",
|
|
@@ -1924,7 +1924,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1924
1924
|
])
|
|
1925
1925
|
]))), 128))
|
|
1926
1926
|
]),
|
|
1927
|
-
E("div",
|
|
1927
|
+
E("div", Os, [
|
|
1928
1928
|
c[4] || (c[4] = E("div", null, De("表单按钮"), -1)),
|
|
1929
1929
|
ae(I, {
|
|
1930
1930
|
class: "icon-content",
|
|
@@ -1944,11 +1944,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1944
1944
|
__: [3]
|
|
1945
1945
|
})
|
|
1946
1946
|
]),
|
|
1947
|
-
E("div",
|
|
1948
|
-
(se(!0), ke(
|
|
1949
|
-
E("div",
|
|
1947
|
+
E("div", Vs, [
|
|
1948
|
+
(se(!0), ke(Pe, null, Je(N.value, (W, H) => (se(), ke("div", { key: H }, [
|
|
1949
|
+
E("div", Rs, [
|
|
1950
1950
|
E("div", null, De(W.label), 1),
|
|
1951
|
-
E("div",
|
|
1951
|
+
E("div", Us, [
|
|
1952
1952
|
ae(D, {
|
|
1953
1953
|
name: "ChildFix",
|
|
1954
1954
|
class: "svg-icon-content",
|
|
@@ -1968,22 +1968,22 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1968
1968
|
c[6] || (c[6] = E("div", { class: "operate-title" }, [
|
|
1969
1969
|
E("div", null, De("表单布局"))
|
|
1970
1970
|
], -1)),
|
|
1971
|
-
E("div",
|
|
1971
|
+
E("div", js, [
|
|
1972
1972
|
c[5] || (c[5] = E("div", { class: "operate-center-content" }, De("是否自动撑宽"), -1)),
|
|
1973
|
-
ae(
|
|
1973
|
+
ae(Ma, {
|
|
1974
1974
|
modelValue: ce.value,
|
|
1975
1975
|
"onUpdate:modelValue": c[0] || (c[0] = (W) => ce.value = W)
|
|
1976
1976
|
}, null, 8, ["modelValue"])
|
|
1977
1977
|
])
|
|
1978
1978
|
]),
|
|
1979
|
-
ae(
|
|
1979
|
+
ae(al, {
|
|
1980
1980
|
visible: o.value,
|
|
1981
1981
|
onBeforeDestroy: x,
|
|
1982
1982
|
width: 840
|
|
1983
1983
|
}, {
|
|
1984
1984
|
default: ve(() => [
|
|
1985
|
-
E("div",
|
|
1986
|
-
(se(),
|
|
1985
|
+
E("div", Ps, [
|
|
1986
|
+
(se(), Ve(ll, {
|
|
1987
1987
|
rowContents: j.value,
|
|
1988
1988
|
key: j.value,
|
|
1989
1989
|
isEnableWrap: !0,
|
|
@@ -1994,7 +1994,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
1994
1994
|
])
|
|
1995
1995
|
]),
|
|
1996
1996
|
footer: ve(() => [
|
|
1997
|
-
E("div",
|
|
1997
|
+
E("div", Ks, [
|
|
1998
1998
|
ae(I, {
|
|
1999
1999
|
onClick: x,
|
|
2000
2000
|
class: "cancel-button button",
|
|
@@ -2021,14 +2021,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2021
2021
|
]),
|
|
2022
2022
|
_: 1
|
|
2023
2023
|
}, 8, ["visible"]),
|
|
2024
|
-
ae(
|
|
2024
|
+
ae(al, {
|
|
2025
2025
|
visible: w.value,
|
|
2026
2026
|
onBeforeDestroy: x,
|
|
2027
2027
|
width: 840
|
|
2028
2028
|
}, {
|
|
2029
2029
|
default: ve(() => [
|
|
2030
|
-
E("div",
|
|
2031
|
-
(se(),
|
|
2030
|
+
E("div", Ns, [
|
|
2031
|
+
(se(), Ve(ll, {
|
|
2032
2032
|
rowContents: _e.value,
|
|
2033
2033
|
key: _e.value,
|
|
2034
2034
|
isEnableWrap: !0,
|
|
@@ -2053,7 +2053,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2053
2053
|
]);
|
|
2054
2054
|
};
|
|
2055
2055
|
}
|
|
2056
|
-
},
|
|
2056
|
+
}, Ua = /* @__PURE__ */ He(Ms, [["__scopeId", "data-v-6aae2a5a"]]), Ws = { class: "step-module content" }, zs = { class: "module-data" }, Js = { class: "step-module layout" }, Hs = { class: "form-content" }, Gs = /* @__PURE__ */ El({
|
|
2057
2057
|
__name: "operate",
|
|
2058
2058
|
props: {
|
|
2059
2059
|
itemContents: {
|
|
@@ -2160,14 +2160,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2160
2160
|
label: "确认",
|
|
2161
2161
|
background: "#436aaf"
|
|
2162
2162
|
}
|
|
2163
|
-
]), w =
|
|
2163
|
+
]), w = Ia({
|
|
2164
2164
|
visible: !1,
|
|
2165
2165
|
width: "40%",
|
|
2166
2166
|
title: "步骤条"
|
|
2167
2167
|
}), N = q("create"), ee = q({}), O = q([]), ce = (T) => {
|
|
2168
2168
|
var S;
|
|
2169
2169
|
ee.value = T, i("change", (S = te()) == null ? void 0 : S.compData);
|
|
2170
|
-
},
|
|
2170
|
+
}, ne = (T, S) => {
|
|
2171
2171
|
var me, d;
|
|
2172
2172
|
switch (T) {
|
|
2173
2173
|
case "create":
|
|
@@ -2223,19 +2223,19 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2223
2223
|
}), be = () => {
|
|
2224
2224
|
w.visible = !1;
|
|
2225
2225
|
};
|
|
2226
|
-
return
|
|
2226
|
+
return Ze(() => g == null ? void 0 : g.itemContents, (T) => {
|
|
2227
2227
|
var S, me;
|
|
2228
2228
|
T && (ee.value = ((S = T == null ? void 0 : T.find((d) => d.key === "stepConfig")) == null ? void 0 : S.contents) ?? {}, O.value = ((me = T == null ? void 0 : T.find((d) => d.key === "stepList")) == null ? void 0 : me.contents) ?? []);
|
|
2229
2229
|
}, { immediate: !0 }), (T, S) => {
|
|
2230
|
-
const me =
|
|
2231
|
-
return se(), ke(
|
|
2230
|
+
const me = je("svg-icon"), d = je("el-button");
|
|
2231
|
+
return se(), ke(Pe, null, [
|
|
2232
2232
|
E("div", null, [
|
|
2233
|
-
E("div",
|
|
2233
|
+
E("div", Ws, [
|
|
2234
2234
|
S[2] || (S[2] = E("h4", { class: "module-title" }, "内容", -1)),
|
|
2235
2235
|
ae(d, {
|
|
2236
2236
|
class: "module-icon",
|
|
2237
2237
|
id: "themeButton",
|
|
2238
|
-
onClick: S[0] || (S[0] = (f) =>
|
|
2238
|
+
onClick: S[0] || (S[0] = (f) => ne("create"))
|
|
2239
2239
|
}, {
|
|
2240
2240
|
icon: ve(() => [
|
|
2241
2241
|
ae(me, {
|
|
@@ -2250,8 +2250,8 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2250
2250
|
__: [1]
|
|
2251
2251
|
})
|
|
2252
2252
|
]),
|
|
2253
|
-
E("div",
|
|
2254
|
-
(se(!0), ke(
|
|
2253
|
+
E("div", zs, [
|
|
2254
|
+
(se(!0), ke(Pe, null, Je(O.value, (f, m) => (se(), ke("div", {
|
|
2255
2255
|
class: "module-data-item",
|
|
2256
2256
|
key: m
|
|
2257
2257
|
}, [
|
|
@@ -2260,7 +2260,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2260
2260
|
ae(d, {
|
|
2261
2261
|
type: "primary",
|
|
2262
2262
|
size: "small",
|
|
2263
|
-
onClick: (k) =>
|
|
2263
|
+
onClick: (k) => ne("update", { ...f, index: m + 1 })
|
|
2264
2264
|
}, {
|
|
2265
2265
|
default: ve(() => S[3] || (S[3] = [
|
|
2266
2266
|
Be("修改")
|
|
@@ -2271,7 +2271,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2271
2271
|
ae(d, {
|
|
2272
2272
|
type: "danger",
|
|
2273
2273
|
size: "small",
|
|
2274
|
-
onClick: (k) =>
|
|
2274
|
+
onClick: (k) => ne("delete", m)
|
|
2275
2275
|
}, {
|
|
2276
2276
|
default: ve(() => S[4] || (S[4] = [
|
|
2277
2277
|
Be("删除")
|
|
@@ -2282,23 +2282,23 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2282
2282
|
])
|
|
2283
2283
|
]))), 128))
|
|
2284
2284
|
]),
|
|
2285
|
-
E("div",
|
|
2285
|
+
E("div", Js, [
|
|
2286
2286
|
S[5] || (S[5] = E("div", { class: "module-title" }, "布局", -1)),
|
|
2287
|
-
ae(
|
|
2287
|
+
ae(ll, {
|
|
2288
2288
|
rowContents: o.value,
|
|
2289
2289
|
onChange: ce
|
|
2290
2290
|
}, null, 8, ["rowContents"])
|
|
2291
2291
|
])
|
|
2292
2292
|
]),
|
|
2293
|
-
ae(
|
|
2293
|
+
ae(al, {
|
|
2294
2294
|
visible: w.visible,
|
|
2295
2295
|
title: w.title,
|
|
2296
2296
|
onBeforeDestroy: be,
|
|
2297
2297
|
width: w.width
|
|
2298
2298
|
}, {
|
|
2299
2299
|
default: ve(() => [
|
|
2300
|
-
E("div",
|
|
2301
|
-
(se(),
|
|
2300
|
+
E("div", Hs, [
|
|
2301
|
+
(se(), Ve(ll, {
|
|
2302
2302
|
rowContents: j.value,
|
|
2303
2303
|
key: j.value,
|
|
2304
2304
|
isEnableWrap: !1,
|
|
@@ -2314,7 +2314,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2314
2314
|
], 64);
|
|
2315
2315
|
};
|
|
2316
2316
|
}
|
|
2317
|
-
}),
|
|
2317
|
+
}), qs = /* @__PURE__ */ He(Gs, [["__scopeId", "data-v-7dbd17f2"]]), Qs = { class: "step-module content" }, Xs = { class: "module-data" }, Ys = { class: "step-module layout" }, Zs = { class: "form-content" }, en = /* @__PURE__ */ El({
|
|
2318
2318
|
__name: "operate",
|
|
2319
2319
|
props: {
|
|
2320
2320
|
itemContents: {
|
|
@@ -2456,14 +2456,14 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2456
2456
|
label: "确认",
|
|
2457
2457
|
background: "#436aaf"
|
|
2458
2458
|
}
|
|
2459
|
-
]), O =
|
|
2459
|
+
]), O = Ia({
|
|
2460
2460
|
visible: !1,
|
|
2461
2461
|
width: "40%",
|
|
2462
2462
|
title: "时间线"
|
|
2463
2463
|
}), ce = (T) => {
|
|
2464
2464
|
var S;
|
|
2465
2465
|
j.value = T, console.log(1212, T), i("change", (S = te()) == null ? void 0 : S.compData);
|
|
2466
|
-
},
|
|
2466
|
+
}, ne = (T, S) => {
|
|
2467
2467
|
var me, d;
|
|
2468
2468
|
switch (T) {
|
|
2469
2469
|
case "create":
|
|
@@ -2519,19 +2519,19 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2519
2519
|
}), be = () => {
|
|
2520
2520
|
O.visible = !1;
|
|
2521
2521
|
};
|
|
2522
|
-
return
|
|
2522
|
+
return Ze(() => g == null ? void 0 : g.itemContents, (T) => {
|
|
2523
2523
|
var S, me;
|
|
2524
2524
|
T && (j.value = ((S = T == null ? void 0 : T.find((d) => d.key === "timeLineConfig")) == null ? void 0 : S.contents) ?? {}, L.value = ((me = T == null ? void 0 : T.find((d) => d.key === "timeLineList")) == null ? void 0 : me.contents) ?? []);
|
|
2525
2525
|
}, { immediate: !0 }), (T, S) => {
|
|
2526
|
-
const me =
|
|
2527
|
-
return se(), ke(
|
|
2526
|
+
const me = je("svg-icon"), d = je("el-button");
|
|
2527
|
+
return se(), ke(Pe, null, [
|
|
2528
2528
|
E("div", null, [
|
|
2529
|
-
E("div",
|
|
2529
|
+
E("div", Qs, [
|
|
2530
2530
|
S[2] || (S[2] = E("h4", { class: "module-title" }, "内容", -1)),
|
|
2531
2531
|
ae(d, {
|
|
2532
2532
|
class: "module-icon",
|
|
2533
2533
|
id: "themeButton",
|
|
2534
|
-
onClick: S[0] || (S[0] = (f) =>
|
|
2534
|
+
onClick: S[0] || (S[0] = (f) => ne("create"))
|
|
2535
2535
|
}, {
|
|
2536
2536
|
icon: ve(() => [
|
|
2537
2537
|
ae(me, {
|
|
@@ -2546,8 +2546,8 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2546
2546
|
__: [1]
|
|
2547
2547
|
})
|
|
2548
2548
|
]),
|
|
2549
|
-
E("div",
|
|
2550
|
-
(se(!0), ke(
|
|
2549
|
+
E("div", Xs, [
|
|
2550
|
+
(se(!0), ke(Pe, null, Je(L.value, (f, m) => (se(), ke("div", {
|
|
2551
2551
|
class: "module-data-item",
|
|
2552
2552
|
key: m
|
|
2553
2553
|
}, [
|
|
@@ -2556,7 +2556,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2556
2556
|
ae(d, {
|
|
2557
2557
|
type: "primary",
|
|
2558
2558
|
size: "small",
|
|
2559
|
-
onClick: (k) =>
|
|
2559
|
+
onClick: (k) => ne("update", { ...f, index: m + 1 })
|
|
2560
2560
|
}, {
|
|
2561
2561
|
default: ve(() => S[3] || (S[3] = [
|
|
2562
2562
|
Be("修改")
|
|
@@ -2567,7 +2567,7 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2567
2567
|
ae(d, {
|
|
2568
2568
|
type: "danger",
|
|
2569
2569
|
size: "small",
|
|
2570
|
-
onClick: (k) =>
|
|
2570
|
+
onClick: (k) => ne("delete", m)
|
|
2571
2571
|
}, {
|
|
2572
2572
|
default: ve(() => S[4] || (S[4] = [
|
|
2573
2573
|
Be("删除")
|
|
@@ -2578,23 +2578,23 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2578
2578
|
])
|
|
2579
2579
|
]))), 128))
|
|
2580
2580
|
]),
|
|
2581
|
-
E("div",
|
|
2581
|
+
E("div", Ys, [
|
|
2582
2582
|
S[5] || (S[5] = E("div", { class: "module-title" }, "布局", -1)),
|
|
2583
|
-
ae(
|
|
2583
|
+
ae(ll, {
|
|
2584
2584
|
rowContents: w.value,
|
|
2585
2585
|
onChange: ce
|
|
2586
2586
|
}, null, 8, ["rowContents"])
|
|
2587
2587
|
])
|
|
2588
2588
|
]),
|
|
2589
|
-
ae(
|
|
2589
|
+
ae(al, {
|
|
2590
2590
|
visible: O.visible,
|
|
2591
2591
|
title: O.title,
|
|
2592
2592
|
onBeforeDestroy: be,
|
|
2593
2593
|
width: O.width
|
|
2594
2594
|
}, {
|
|
2595
2595
|
default: ve(() => [
|
|
2596
|
-
E("div",
|
|
2597
|
-
(se(),
|
|
2596
|
+
E("div", Zs, [
|
|
2597
|
+
(se(), Ve(ll, {
|
|
2598
2598
|
rowContents: N.value,
|
|
2599
2599
|
key: N.value,
|
|
2600
2600
|
isEnableWrap: !1,
|
|
@@ -2610,11 +2610,11 @@ const _i = { class: "form-content" }, Ci = {
|
|
|
2610
2610
|
], 64);
|
|
2611
2611
|
};
|
|
2612
2612
|
}
|
|
2613
|
-
}),
|
|
2614
|
-
function
|
|
2613
|
+
}), ln = /* @__PURE__ */ He(en, [["__scopeId", "data-v-f6b5d4fc"]]), an = {};
|
|
2614
|
+
function sn(r, V) {
|
|
2615
2615
|
return se(), ke("div");
|
|
2616
2616
|
}
|
|
2617
|
-
const
|
|
2617
|
+
const nn = /* @__PURE__ */ He(an, [["render", sn]]), on = { class: "extra-content" }, un = { key: 0 }, rn = { key: 1 }, cn = { class: "dialog-footer" }, dn = {
|
|
2618
2618
|
__name: "index",
|
|
2619
2619
|
props: {
|
|
2620
2620
|
itemData: {
|
|
@@ -2635,7 +2635,7 @@ const en = /* @__PURE__ */ He(Ys, [["render", Zs]]), ln = { class: "extra-conten
|
|
|
2635
2635
|
emits: ["change"],
|
|
2636
2636
|
setup(r, { emit: V }) {
|
|
2637
2637
|
const g = r, i = q(0), o = q(), j = q(), L = V, w = q(!1), N = q({}), ee = q({}), O = q();
|
|
2638
|
-
|
|
2638
|
+
Ze(
|
|
2639
2639
|
() => [g.itemData],
|
|
2640
2640
|
() => {
|
|
2641
2641
|
var f;
|
|
@@ -2658,7 +2658,7 @@ const en = /* @__PURE__ */ He(Ys, [["render", Zs]]), ln = { class: "extra-conten
|
|
|
2658
2658
|
var ge;
|
|
2659
2659
|
let ue = {};
|
|
2660
2660
|
((ge = d == null ? void 0 : d[0]) == null ? void 0 : ge.contents) === "详情" && (w.value = !0, ue[f] = d, j.value = d == null ? void 0 : d.filter((Ie) => (Ie == null ? void 0 : Ie.key) !== "tableContentName"), N.value = ue, ee.value = m, O.value = k.id);
|
|
2661
|
-
},
|
|
2661
|
+
}, ne = (d) => {
|
|
2662
2662
|
var Ie, Fe, C, Z;
|
|
2663
2663
|
const f = (Fe = (Ie = Object.values(l(N.value))) == null ? void 0 : Ie[0]) == null ? void 0 : Fe.filter((x) => (x == null ? void 0 : x.key) === "tableContentName"), m = (Z = (C = Object.values(l(N.value))) == null ? void 0 : C[0]) == null ? void 0 : Z.filter((x) => (x == null ? void 0 : x.key) !== "tableContentName"), k = m == null ? void 0 : m.map((x, s) => {
|
|
2664
2664
|
var c;
|
|
@@ -2701,13 +2701,13 @@ const en = /* @__PURE__ */ He(Ys, [["render", Zs]]), ln = { class: "extra-conten
|
|
|
2701
2701
|
w.value = !1, N.value = {}, ee.value = {}, O.value = void 0;
|
|
2702
2702
|
}, S = (d) => {
|
|
2703
2703
|
L("change", d, "methodData");
|
|
2704
|
-
}, me = (d) =>
|
|
2704
|
+
}, me = (d) => Ea(d);
|
|
2705
2705
|
return (d, f) => {
|
|
2706
|
-
const m =
|
|
2707
|
-
return se(), ke("div",
|
|
2708
|
-
(se(!0), ke(
|
|
2709
|
-
(k == null ? void 0 : k.key) === "extra" ? (se(), ke("div",
|
|
2710
|
-
(se(),
|
|
2706
|
+
const m = je("el-button");
|
|
2707
|
+
return se(), ke("div", on, [
|
|
2708
|
+
(se(!0), ke(Pe, null, Je(o.value, (k, ue) => (se(), ke("div", { key: i.value }, [
|
|
2709
|
+
(k == null ? void 0 : k.key) === "extra" ? (se(), ke("div", un)) : (se(), ke("div", rn, [
|
|
2710
|
+
(se(), Ve(ta(me(k.comp)), {
|
|
2711
2711
|
itemData: k == null ? void 0 : k.compData,
|
|
2712
2712
|
childItemData: k == null ? void 0 : k.itemChildData,
|
|
2713
2713
|
key: ue,
|
|
@@ -2717,18 +2717,18 @@ const en = /* @__PURE__ */ He(Ys, [["render", Zs]]), ln = { class: "extra-conten
|
|
|
2717
2717
|
}, null, 40, ["itemData", "childItemData", "index"]))
|
|
2718
2718
|
]))
|
|
2719
2719
|
]))), 128)),
|
|
2720
|
-
ae(
|
|
2720
|
+
ae(al, {
|
|
2721
2721
|
visible: w.value,
|
|
2722
2722
|
onBeforeDestroy: T
|
|
2723
2723
|
}, {
|
|
2724
2724
|
default: ve(() => [
|
|
2725
|
-
(se(!0), ke(
|
|
2725
|
+
(se(!0), ke(Pe, null, Je(j.value, (k, ue) => (se(), ke("div", {
|
|
2726
2726
|
key: ue,
|
|
2727
2727
|
class: "extra-dialog"
|
|
2728
2728
|
}, [
|
|
2729
|
-
(se(),
|
|
2729
|
+
(se(), Ve(ta(me(k.comp)), {
|
|
2730
2730
|
itemData: k == null ? void 0 : k.compData,
|
|
2731
|
-
onChange:
|
|
2731
|
+
onChange: ne,
|
|
2732
2732
|
childItemData: k == null ? void 0 : k.itemChildData,
|
|
2733
2733
|
key: ue,
|
|
2734
2734
|
onContentChange: te,
|
|
@@ -2738,7 +2738,7 @@ const en = /* @__PURE__ */ He(Ys, [["render", Zs]]), ln = { class: "extra-conten
|
|
|
2738
2738
|
]))), 128))
|
|
2739
2739
|
]),
|
|
2740
2740
|
footer: ve(() => [
|
|
2741
|
-
E("div",
|
|
2741
|
+
E("div", cn, [
|
|
2742
2742
|
ae(m, {
|
|
2743
2743
|
class: "cancel-button footer-button",
|
|
2744
2744
|
onClick: _e,
|
|
@@ -2768,48 +2768,48 @@ const en = /* @__PURE__ */ He(Ys, [["render", Zs]]), ln = { class: "extra-conten
|
|
|
2768
2768
|
]);
|
|
2769
2769
|
};
|
|
2770
2770
|
}
|
|
2771
|
-
},
|
|
2772
|
-
let
|
|
2773
|
-
const
|
|
2771
|
+
}, tn = /* @__PURE__ */ He(dn, [["__scopeId", "data-v-2d9c5ab2"]]);
|
|
2772
|
+
let Oe = "$R";
|
|
2773
|
+
const jo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Po = (r) => /^'[^']+':\[\[.*\]\]$/.exec(l(r)), pn = (r) => /^'([^']+)':.*$/.exec(l(r)), fa = (r) => {
|
|
2774
2774
|
let V = r;
|
|
2775
2775
|
const g = [];
|
|
2776
2776
|
let i = "";
|
|
2777
2777
|
for (const o of V)
|
|
2778
2778
|
o.includes("{") || i.includes("{") || o.includes("[") || i.includes("[") || o.includes("【") || i.includes("【") || o.includes("(") || i.includes("(") || o.includes("(") || i.includes("(") || o.includes("/*") || i.includes("/*") || o.includes("&") || i.includes("&") ? (i += o.trim(), l(i).split("{").length - 1 === l(i).split("}").length - 1 && l(i).split("【").length - 1 === l(i).split("】").length - 1 && l(i).split("[").length - 1 === l(i).split("]").length - 1 && l(i).split("(").length - 1 === l(i).split(")").length - 1 && l(i).split("(").length - 1 === l(i).split(")").length - 1 && l(i).split("/*").length - 1 === l(i).split("*/").length - 1 && i[i.length - 1] !== "," && i[i.length - 1] !== "&" && (g.push(i.replace(/\/\*[\s\S]*?\*\//g, "")), i = "")) : g.push(o.trim().replace(/\/\*[\s\S]*?\*\//g, ""));
|
|
2779
2779
|
return g;
|
|
2780
|
-
},
|
|
2780
|
+
}, Da = (r, V) => {
|
|
2781
2781
|
let g = r;
|
|
2782
2782
|
const i = [];
|
|
2783
2783
|
let o = "", j = 0;
|
|
2784
2784
|
for (const L of g)
|
|
2785
2785
|
j++, L.includes("{") || o.includes("{") || L.includes("[") || o.includes("[") || L.includes("【") || o.includes("【") || L.includes("(") || o.includes("(") || L.includes("(") || o.includes("(") || L.includes("/*") || o.includes("/*") ? (o += L.trim(), l(o).split("{").length - 1 === l(o).split("}").length - 1 && l(o).split("【").length - 1 === l(o).split("】").length - 1 && l(o).split("[").length - 1 === l(o).split("]").length - 1 && l(o).split("(").length - 1 === l(o).split(")").length - 1 && l(o).split("(").length - 1 === l(o).split(")").length - 1 && l(o).split("/*").length - 1 === l(o).split("*/").length - 1 && o[o.length - 1] !== "," && o[o.length - 1] === V ? (i.push(o.replace(/\/\*[\s\S]*?\*\//g, "")), o = "") : j === (r == null ? void 0 : r.length) && i.push(o.replace(/\/\*[\s\S]*?\*\//g, ""))) : (o += L.trim(), (o == null ? void 0 : o[(o == null ? void 0 : o.length) - 1]) === V && (i.push(o.replace(/\/\*[\s\S]*?\*\//g, "")), o = ""));
|
|
2786
2786
|
return i;
|
|
2787
|
-
},
|
|
2787
|
+
}, ja = (r, V) => {
|
|
2788
2788
|
let g = r;
|
|
2789
2789
|
const i = [];
|
|
2790
2790
|
let o = "", j = 0;
|
|
2791
2791
|
for (const L of g)
|
|
2792
2792
|
j++, L.includes("{") || o.includes("{") || L.includes("[") || o.includes("[") || L.includes("【") || o.includes("【") || L.includes("(") || o.includes("(") || L.includes("(") || o.includes("(") || L.includes("/*") || o.includes("/*") ? (o += L.trim(), l(o).split("{").length - 1 === l(o).split("}").length - 1 && l(o).split("【").length - 1 === l(o).split("】").length - 1 && l(o).split("[").length - 1 === l(o).split("]").length - 1 && l(o).split("(").length - 1 === l(o).split(")").length - 1 && l(o).split("(").length - 1 === l(o).split(")").length - 1 && l(o).split("/*").length - 1 === l(o).split("*/").length - 1 && o[o.length - 1] === V ? (i.push(o.replace(/\/\*[\s\S]*?\*\//g, "")), o = "") : j === (r == null ? void 0 : r.length) && (i.push(o.replace(/\/\*[\s\S]*?\*\//g, "")), o = "")) : (o += L.trim(), (o == null ? void 0 : o[(o == null ? void 0 : o.length) - 1]) === V && (i.push(o.replace(/\/\*[\s\S]*?\*\//g, "")), o = ""));
|
|
2793
2793
|
return (o == null ? void 0 : o.length) !== 0 && i.push(o.replace(/\/\*[\s\S]*?\*\//g, "")), i;
|
|
2794
|
-
},
|
|
2795
|
-
var V, g, i, o, j, L, w, N, ee, O, ce,
|
|
2796
|
-
if (
|
|
2797
|
-
let Ce = {}, de = (i = (g = (V = r == null ? void 0 : r.replace(":",
|
|
2798
|
-
if (((L =
|
|
2799
|
-
G = (w =
|
|
2794
|
+
}, Ko = (r) => /^\[[\s\S]*?\]\s*:\s*\[[\s\S]*?\]$/.exec(l(r)), No = (r) => {
|
|
2795
|
+
var V, g, i, o, j, L, w, N, ee, O, ce, ne, _e, te, be, T, S, me, d, f, m, k, ue, ge, Ie, Fe, C, Z, x, s, c, D, I, W, H, B, u, X, z, pe, Q, R, P, U, A, fe, le, F, b, y, J, p, n, Y, e, a, t, v, _, M, ye, K, ie, oe;
|
|
2796
|
+
if (pn(r)) {
|
|
2797
|
+
let Ce = {}, de = (i = (g = (V = r == null ? void 0 : r.replace(":", Oe)) == null ? void 0 : V.split(Oe)) == null ? void 0 : g[0]) == null ? void 0 : i.replaceAll("'", ""), G = "", h = (j = (o = r == null ? void 0 : r.replace(":", Oe)) == null ? void 0 : o.split(Oe)) == null ? void 0 : j[1];
|
|
2798
|
+
if (((L = ja(h, "/")) == null ? void 0 : L.length) > 1)
|
|
2799
|
+
G = (w = ja(h, "/")) == null ? void 0 : w.map((he) => he == null ? void 0 : he.replaceAll("/", "").replaceAll("'", ""));
|
|
2800
2800
|
else if (h.includes("{") || h.includes("("))
|
|
2801
|
-
if (h.includes("{") ? G = G + ((_e = (
|
|
2801
|
+
if (h.includes("{") ? G = G + ((_e = (ne = (ce = (O = (ee = (N = h == null ? void 0 : h.split("{")) == null ? void 0 : N[1]) == null ? void 0 : ee.split("}")) == null ? void 0 : O[0]) == null ? void 0 : ce.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : ne.replaceAll("[", "([")) == null ? void 0 : _e.replaceAll("]", "])")) + "[" : G = G + ((d = (me = (S = (T = (be = (te = h == null ? void 0 : h.split("(")) == null ? void 0 : te[1]) == null ? void 0 : be.split(")")) == null ? void 0 : T[0]) == null ? void 0 : S.replaceAll(":", "/").replaceAll("'", "")) == null ? void 0 : me.replaceAll("[", "([")) == null ? void 0 : d.replaceAll("]", "])")) + "[", !((f = h == null ? void 0 : h.split(")")) != null && f[1]))
|
|
2802
2802
|
G = G + ((ue = (k = (m = h == null ? void 0 : h.split("[")) == null ? void 0 : m[1]) == null ? void 0 : k.split("]")) == null ? void 0 : ue[0]) + "]";
|
|
2803
2803
|
else {
|
|
2804
|
-
const he = (C = (Fe = (Ie = (ge = h == null ? void 0 : h.split(")")) == null ? void 0 : ge[1]) == null ? void 0 : Ie.replace("[",
|
|
2804
|
+
const he = (C = (Fe = (Ie = (ge = h == null ? void 0 : h.split(")")) == null ? void 0 : ge[1]) == null ? void 0 : Ie.replace("[", Oe)) == null ? void 0 : Fe.split(Oe)) == null ? void 0 : C[1];
|
|
2805
2805
|
if (he) {
|
|
2806
|
-
const re = he.lastIndexOf("]"), we = he.substring(0, re) +
|
|
2807
|
-
G = G + ((Z = we == null ? void 0 : we.split(
|
|
2806
|
+
const re = he.lastIndexOf("]"), we = he.substring(0, re) + Oe + he.substring(re + 1);
|
|
2807
|
+
G = G + ((Z = we == null ? void 0 : we.split(Oe)) == null ? void 0 : Z[0]) + "]";
|
|
2808
2808
|
} else
|
|
2809
|
-
G = (c = (s = (x = r == null ? void 0 : r.replace(":",
|
|
2809
|
+
G = (c = (s = (x = r == null ? void 0 : r.replace(":", Oe)) == null ? void 0 : x.split(Oe)) == null ? void 0 : s[1]) == null ? void 0 : c.replaceAll("'", "");
|
|
2810
2810
|
}
|
|
2811
2811
|
else
|
|
2812
|
-
G = (W = (I = (D = r == null ? void 0 : r.replace(":",
|
|
2812
|
+
G = (W = (I = (D = r == null ? void 0 : r.replace(":", Oe)) == null ? void 0 : D.split(Oe)) == null ? void 0 : I[1]) == null ? void 0 : W.replaceAll("'", "");
|
|
2813
2813
|
return Ce[de] = G, {
|
|
2814
2814
|
groupName: "",
|
|
2815
2815
|
formContents: [[Ce]]
|
|
@@ -2826,10 +2826,10 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
2826
2826
|
var we;
|
|
2827
2827
|
((we = h == null ? void 0 : h.split(":")) == null ? void 0 : we.length) - 1 === re && (de = he == null ? void 0 : he.replaceAll("'", ""));
|
|
2828
2828
|
}), !(r != null && r.includes("[")))
|
|
2829
|
-
G = ((t = (a = (e = (Y = r == null ? void 0 : r.split("]")) == null ? void 0 : Y[1]) == null ? void 0 : e.replace(":",
|
|
2829
|
+
G = ((t = (a = (e = (Y = r == null ? void 0 : r.split("]")) == null ? void 0 : Y[1]) == null ? void 0 : e.replace(":", Oe).split(Oe)) == null ? void 0 : a[1]) == null ? void 0 : t.replaceAll("'", "")) ?? "";
|
|
2830
2830
|
else {
|
|
2831
2831
|
let he = (ie = (K = (ye = (M = (_ = (v = l(r)) == null ? void 0 : v.split("(")) == null ? void 0 : _[1]) == null ? void 0 : M.split(")")) == null ? void 0 : ye[0]) == null ? void 0 : K.replaceAll("{", "").replaceAll("}", "")) == null ? void 0 : ie.replaceAll("'", "").replaceAll(":", "/"), re = "";
|
|
2832
|
-
(
|
|
2832
|
+
(oe = h == null ? void 0 : h.split(":")) == null || oe.forEach((we) => {
|
|
2833
2833
|
re = re === "" ? re + (we == null ? void 0 : we.replaceAll("'", "")) : re + ":" + (we == null ? void 0 : we.replaceAll("'", ""));
|
|
2834
2834
|
}), G = he + "[" + re + "]";
|
|
2835
2835
|
}
|
|
@@ -2839,75 +2839,75 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
2839
2839
|
formContents: [[Ce]]
|
|
2840
2840
|
};
|
|
2841
2841
|
}
|
|
2842
|
-
},
|
|
2842
|
+
}, Mo = (r) => (r == null ? void 0 : r[0]) === "[" && (r == null ? void 0 : r[r.length - 1]) === "]" && !(r != null && r.includes("{")), fn = (r, V) => {
|
|
2843
2843
|
let g = r.length;
|
|
2844
2844
|
for (; g--; )
|
|
2845
2845
|
if (r[g] === ")")
|
|
2846
2846
|
return r.substring(0, g) + V + r.substring(g + 1);
|
|
2847
2847
|
return r;
|
|
2848
|
-
},
|
|
2848
|
+
}, Wo = (r) => {
|
|
2849
2849
|
var j, L, w, N, ee;
|
|
2850
2850
|
let V = r.slice(1, r.length - 1), g;
|
|
2851
|
-
(V == null ? void 0 : V[0]) === "[" ? g = (L = (j =
|
|
2852
|
-
var ce,
|
|
2853
|
-
return O = (
|
|
2851
|
+
(V == null ? void 0 : V[0]) === "[" ? g = (L = (j = fa(l(V))) == null ? void 0 : j.filter((O) => O !== ",")) == null ? void 0 : L.map((O) => O == null ? void 0 : O.slice(1, O.length - 1)) : (V = "[" + l(V) + "]", g = (N = (w = fa(l(V))) == null ? void 0 : w.filter((O) => O !== ",")) == null ? void 0 : N.map((O) => O == null ? void 0 : O.slice(1, O.length - 1))), g = (ee = l(g)) == null ? void 0 : ee.map((O) => {
|
|
2852
|
+
var ce, ne;
|
|
2853
|
+
return O = (ne = (ce = O.replace(")", Oe)) == null ? void 0 : ce.split(Oe)) == null ? void 0 : ne[1], O;
|
|
2854
2854
|
});
|
|
2855
2855
|
let i = [], o = [];
|
|
2856
2856
|
return g == null || g.forEach((O) => {
|
|
2857
2857
|
var _e, te, be, T, S, me, d, f, m, k, ue, ge, Ie, Fe, C, Z, x, s, c, D, I, W, H, B, u, X, z, pe, Q, R, P, U, A, fe, le, F, b, y, J, p, n, Y, e, a, t, v, _, M;
|
|
2858
|
-
let ce = (te = (_e = l(O)) == null ? void 0 : _e.slice(1, l(O).length - 1)) == null ? void 0 : te.replace(":",
|
|
2858
|
+
let ce = (te = (_e = l(O)) == null ? void 0 : _e.slice(1, l(O).length - 1)) == null ? void 0 : te.replace(":", Oe).split(Oe);
|
|
2859
2859
|
if (((T = (be = l(ce)) == null ? void 0 : be[0]) == null ? void 0 : T.replaceAll("'", "")) === "输入") {
|
|
2860
2860
|
if (!((me = (S = l(ce)) == null ? void 0 : S[1]) != null && me.includes("[")) && !((f = (d = l(ce)) == null ? void 0 : d[1]) != null && f.includes("("))) {
|
|
2861
|
-
|
|
2861
|
+
wa((m = l(ce)) == null ? void 0 : m[1].replaceAll("'", '"')) && o.push(JSON.parse((k = l(ce)) == null ? void 0 : k[1].replaceAll("'", '"')));
|
|
2862
2862
|
return;
|
|
2863
2863
|
}
|
|
2864
2864
|
if (((ge = (ue = l(ce)) == null ? void 0 : ue[1]) == null ? void 0 : ge[0]) === "[") {
|
|
2865
2865
|
let ye = (Z = (Ie = l(ce)) == null ? void 0 : Ie[1]) == null ? void 0 : Z.slice(1, ((C = (Fe = l(ce)) == null ? void 0 : Fe[1]) == null ? void 0 : C.length) - 1);
|
|
2866
|
-
(s = (x =
|
|
2867
|
-
var G, h, he, re, we,
|
|
2868
|
-
let ie = {},
|
|
2869
|
-
(we =
|
|
2866
|
+
(s = (x = fa(ye)) == null ? void 0 : x.filter((K) => K !== ",")) == null || s.forEach((K) => {
|
|
2867
|
+
var G, h, he, re, we, Ke, Ne, $, Te, xe, Re, Ae, $e, We, Ge, rl, el, kl, _l, Cl, wl, Dl;
|
|
2868
|
+
let ie = {}, oe = (he = (h = l(K)) == null ? void 0 : h.slice(1, ((G = l(K)) == null ? void 0 : G.length) - 1)) == null ? void 0 : he.replace(":", Oe).split(Oe), Ce = (re = oe == null ? void 0 : oe[0]) == null ? void 0 : re.replaceAll("'", ""), de;
|
|
2869
|
+
(we = oe == null ? void 0 : oe[1]) != null && we.includes("(") ? (de = (We = ($e = (Ae = (Re = (xe = (Te = ($ = (Ne = l(oe)) == null ? void 0 : Ne[1]) == null ? void 0 : $.replaceAll("{", "")) == null ? void 0 : Te.replaceAll("}", "")) == null ? void 0 : xe.split("(")) == null ? void 0 : Re[1]) == null ? void 0 : Ae.split(")")) == null ? void 0 : $e[0]) == null ? void 0 : We.replaceAll(":", "/").replaceAll("'", ""), (rl = (Ge = l(oe)) == null ? void 0 : Ge[1]) != null && rl.includes("[") && (de = l(de) + "[" + ((Dl = (wl = (Cl = (_l = (kl = (el = l(oe)) == null ? void 0 : el[1]) == null ? void 0 : kl.split("[")) == null ? void 0 : _l[1]) == null ? void 0 : Cl.split("]")) == null ? void 0 : wl[0]) == null ? void 0 : Dl.replaceAll("'", "")) + "]")) : de = (Ke = oe == null ? void 0 : oe[1]) == null ? void 0 : Ke.replaceAll("'", ""), ie[Ce] = de, o.push(ie);
|
|
2870
2870
|
});
|
|
2871
2871
|
}
|
|
2872
2872
|
} else {
|
|
2873
2873
|
if (!((D = (c = l(ce)) == null ? void 0 : c[1]) != null && D.includes("[")) && !((W = (I = l(ce)) == null ? void 0 : I[1]) != null && W.includes("("))) {
|
|
2874
|
-
|
|
2874
|
+
wa((H = l(ce)) == null ? void 0 : H[1].replaceAll("'", '"')) && i.push(JSON.parse((B = l(ce)) == null ? void 0 : B[1].replaceAll("'", '"')));
|
|
2875
2875
|
return;
|
|
2876
2876
|
}
|
|
2877
2877
|
if (((X = (u = l(ce)) == null ? void 0 : u[1]) == null ? void 0 : X[0]) === "[") {
|
|
2878
2878
|
let ye = (R = (z = l(ce)) == null ? void 0 : z[1]) == null ? void 0 : R.slice(1, ((Q = (pe = l(ce)) == null ? void 0 : pe[1]) == null ? void 0 : Q.length) - 1);
|
|
2879
|
-
(U = (P =
|
|
2880
|
-
var G, h, he, re, we,
|
|
2881
|
-
let ie = {},
|
|
2882
|
-
if (!((we =
|
|
2883
|
-
de = (
|
|
2884
|
-
else if (de = (Ae = (
|
|
2885
|
-
de = (Ge = l(de)) == null ? void 0 : Ge.replaceAll(":", "/").replaceAll("'", ""), (
|
|
2879
|
+
(U = (P = fa(ye)) == null ? void 0 : P.filter((K) => K !== ",")) == null || U.forEach((K) => {
|
|
2880
|
+
var G, h, he, re, we, Ke, Ne, $, Te, xe, Re, Ae, $e, We, Ge, rl, el, kl, _l, Cl, wl, Dl, Ll, Ol, Vl, Rl, Ul, jl, Pl, Kl, Nl, Ml, Wl, zl, Jl, Hl;
|
|
2881
|
+
let ie = {}, oe = (he = (h = l(K)) == null ? void 0 : h.slice(1, ((G = l(K)) == null ? void 0 : G.length) - 1)) == null ? void 0 : he.replace(":", Oe).split(Oe), Ce = (re = oe == null ? void 0 : oe[0]) == null ? void 0 : re.replaceAll("'", ""), de;
|
|
2882
|
+
if (!((we = oe == null ? void 0 : oe[1]) != null && we.includes("(")))
|
|
2883
|
+
de = (Ke = oe == null ? void 0 : oe[1]) == null ? void 0 : Ke.replaceAll("'", "");
|
|
2884
|
+
else if (de = (Ae = (Re = (xe = (Te = ($ = (Ne = l(oe)) == null ? void 0 : Ne[1]) == null ? void 0 : $.replaceAll("{", "")) == null ? void 0 : Te.replaceAll("}", "")) == null ? void 0 : xe.replace("(", Oe)) == null ? void 0 : Re.split(Oe)) == null ? void 0 : Ae[1], de = (We = ($e = fn(l(de), Oe)) == null ? void 0 : $e.split(Oe)) == null ? void 0 : We[0], !(de != null && de.includes("(")))
|
|
2885
|
+
de = (Ge = l(de)) == null ? void 0 : Ge.replaceAll(":", "/").replaceAll("'", ""), (el = (rl = l(oe)) == null ? void 0 : rl[1]) != null && el.includes("[") && (de = l(de) + "[" + ((Rl = (Vl = (Ol = (Ll = (_l = (kl = l(oe)) == null ? void 0 : kl[1]) == null ? void 0 : _l.split("[")) == null ? void 0 : Ll[((Dl = (wl = (Cl = l(oe)) == null ? void 0 : Cl[1]) == null ? void 0 : wl.split("[")) == null ? void 0 : Dl.length) - 1]) == null ? void 0 : Ol.split("]")) == null ? void 0 : Vl[0]) == null ? void 0 : Rl.replaceAll("'", "")) + "]");
|
|
2886
2886
|
else {
|
|
2887
2887
|
let ul = "";
|
|
2888
|
-
(
|
|
2889
|
-
var
|
|
2890
|
-
if (!(
|
|
2891
|
-
ul = ul === "" ? ul + ((
|
|
2888
|
+
(Ul = Da(de, ":")) == null || Ul.forEach((sl) => {
|
|
2889
|
+
var Gl, ql, Ql, Xl, Yl, Zl, ea, la, aa, ia, sa, na, oa, Sl, Le;
|
|
2890
|
+
if (!(sl != null && sl.includes("(")))
|
|
2891
|
+
ul = ul === "" ? ul + ((Gl = sl == null ? void 0 : sl.replaceAll(":", "")) == null ? void 0 : Gl.replaceAll("'", "")) : ul + "/" + ((ql = sl == null ? void 0 : sl.replaceAll(":", "")) == null ? void 0 : ql.replaceAll("'", ""));
|
|
2892
2892
|
else {
|
|
2893
|
-
let
|
|
2894
|
-
|
|
2893
|
+
let qe = (ia = (aa = (la = (ea = (Zl = (Yl = (Xl = (Ql = l(sl)) == null ? void 0 : Ql.replaceAll("{", "")) == null ? void 0 : Xl.replaceAll("}", "")) == null ? void 0 : Yl.replace("(", Oe)) == null ? void 0 : Zl.split(Oe)) == null ? void 0 : ea[1]) == null ? void 0 : la.split(")")) == null ? void 0 : aa[0]) == null ? void 0 : ia.replaceAll(":", "/").replaceAll("'", "");
|
|
2894
|
+
qe = qe + "[" + ((Le = (Sl = (oa = (na = (sa = l(sl)) == null ? void 0 : sa.split("[")) == null ? void 0 : na[1]) == null ? void 0 : oa.split("]")) == null ? void 0 : Sl[0]) == null ? void 0 : Le.replaceAll("'", "")) + "]", ul = ul === "" ? ul + "[" + qe + "]" : ul + "/[" + qe + "]";
|
|
2895
2895
|
}
|
|
2896
|
-
}), de = ul + "[" + ((
|
|
2896
|
+
}), de = ul + "[" + ((Hl = (Jl = (zl = (Wl = (Pl = (jl = l(oe)) == null ? void 0 : jl[1]) == null ? void 0 : Pl.split("[")) == null ? void 0 : Wl[((Ml = (Nl = (Kl = l(oe)) == null ? void 0 : Kl[1]) == null ? void 0 : Nl.split("[")) == null ? void 0 : Ml.length) - 1]) == null ? void 0 : zl.split("]")) == null ? void 0 : Jl[0]) == null ? void 0 : Hl.replaceAll("'", "")) + "]";
|
|
2897
2897
|
}
|
|
2898
2898
|
ie[Ce] = de, i.push(ie);
|
|
2899
2899
|
});
|
|
2900
2900
|
} else {
|
|
2901
|
-
let ye = (F = (A = l(ce)) == null ? void 0 : A[1]) == null ? void 0 : F.slice(1, ((le = (fe = l(ce)) == null ? void 0 : fe[1]) == null ? void 0 : le.length) - 1), K = {}, ie = (t = (a = (J = (y = (b = l(ye)) == null ? void 0 : b.split("]")) == null ? void 0 : y[0]) == null ? void 0 : J.split(":")) == null ? void 0 : a[((e = (Y = (n = (p = l(ye)) == null ? void 0 : p.split("]")) == null ? void 0 : n[0]) == null ? void 0 : Y.split(":")) == null ? void 0 : e.length) - 1]) == null ? void 0 : t.replaceAll("'", ""),
|
|
2902
|
-
K[ie] =
|
|
2901
|
+
let ye = (F = (A = l(ce)) == null ? void 0 : A[1]) == null ? void 0 : F.slice(1, ((le = (fe = l(ce)) == null ? void 0 : fe[1]) == null ? void 0 : le.length) - 1), K = {}, ie = (t = (a = (J = (y = (b = l(ye)) == null ? void 0 : b.split("]")) == null ? void 0 : y[0]) == null ? void 0 : J.split(":")) == null ? void 0 : a[((e = (Y = (n = (p = l(ye)) == null ? void 0 : p.split("]")) == null ? void 0 : n[0]) == null ? void 0 : Y.split(":")) == null ? void 0 : e.length) - 1]) == null ? void 0 : t.replaceAll("'", ""), oe = ((M = (_ = (v = l(ye)) == null ? void 0 : v.split("]")) == null ? void 0 : _[0]) == null ? void 0 : M.replaceAll("'", "")) + "]";
|
|
2902
|
+
K[ie] = oe, i.push(K);
|
|
2903
2903
|
}
|
|
2904
2904
|
}
|
|
2905
2905
|
}), {
|
|
2906
2906
|
output: i,
|
|
2907
2907
|
input: o
|
|
2908
2908
|
};
|
|
2909
|
-
},
|
|
2910
|
-
var j, L, w, N, ee, O, ce,
|
|
2909
|
+
}, hn = Ta(il), { routeToChildPath: tl } = nl(hn), da = Ka(il), { activeMenuPath: Bl } = nl(da), vn = Aa(), { loginUserInfo: yl } = nl(vn), mn = async () => {
|
|
2910
|
+
var j, L, w, N, ee, O, ce, ne, _e, te, be, T, S, me, d, f, m, k, ue, ge, Ie, Fe, C, Z, x, s, c, D, I, W, H, B, u, X, z, pe, Q, R, P, U, A, fe, le, F;
|
|
2911
2911
|
let r = "";
|
|
2912
2912
|
const V = await gl({
|
|
2913
2913
|
key: {
|
|
@@ -2917,7 +2917,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
2917
2917
|
}
|
|
2918
2918
|
});
|
|
2919
2919
|
if (((L = (j = V == null ? void 0 : V.data) == null ? void 0 : j.result) == null ? void 0 : L.length) > 0) {
|
|
2920
|
-
let b = (_e = (
|
|
2920
|
+
let b = (_e = (ne = (ce = (O = (ee = (N = (w = V == null ? void 0 : V.data) == null ? void 0 : w.result) == null ? void 0 : N[0]) == null ? void 0 : ee.value) == null ? void 0 : O.pageData) == null ? void 0 : ce.compData) == null ? void 0 : ne.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : _e.contents;
|
|
2921
2921
|
r = (be = (te = l(b)) == null ? void 0 : te[0]) == null ? void 0 : be.label;
|
|
2922
2922
|
}
|
|
2923
2923
|
let g = Bl.value;
|
|
@@ -2952,17 +2952,17 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
2952
2952
|
if (((P = (R = n == null ? void 0 : n.data) == null ? void 0 : R.result) == null ? void 0 : P.length) > 0) {
|
|
2953
2953
|
let Y = [], e = (U = i == null ? void 0 : i.data) == null ? void 0 : U.result;
|
|
2954
2954
|
(A = l(e)) == null || A.forEach((a) => {
|
|
2955
|
-
var t, v, _, M, ye, K, ie,
|
|
2955
|
+
var t, v, _, M, ye, K, ie, oe, Ce, de, G, h, he, re, we, Ke, Ne;
|
|
2956
2956
|
if (((t = a == null ? void 0 : a.key) == null ? void 0 : t.type) === "structure")
|
|
2957
2957
|
if ((_ = (v = n == null ? void 0 : n.data) == null ? void 0 : v.result) != null && _.find(($) => {
|
|
2958
|
-
var Te, xe,
|
|
2959
|
-
return ((xe = (Te = $ == null ? void 0 : $.value) == null ? void 0 : Te.pageData) == null ? void 0 : xe.name) === ((Ae = (
|
|
2958
|
+
var Te, xe, Re, Ae;
|
|
2959
|
+
return ((xe = (Te = $ == null ? void 0 : $.value) == null ? void 0 : Te.pageData) == null ? void 0 : xe.name) === ((Ae = (Re = a == null ? void 0 : a.value) == null ? void 0 : Re.pageData) == null ? void 0 : Ae.name);
|
|
2960
2960
|
})) {
|
|
2961
2961
|
let $ = a == null ? void 0 : a.key;
|
|
2962
2962
|
$.pageKey = l(tl).value + "/" + b, o.push({
|
|
2963
2963
|
id: (K = (ye = (M = n == null ? void 0 : n.data) == null ? void 0 : M.result) == null ? void 0 : ye.find((Te) => {
|
|
2964
|
-
var xe,
|
|
2965
|
-
return ((
|
|
2964
|
+
var xe, Re, Ae, $e;
|
|
2965
|
+
return ((Re = (xe = Te == null ? void 0 : Te.value) == null ? void 0 : xe.pageData) == null ? void 0 : Re.name) === (($e = (Ae = a == null ? void 0 : a.value) == null ? void 0 : Ae.pageData) == null ? void 0 : $e.name);
|
|
2966
2966
|
})) == null ? void 0 : K.id,
|
|
2967
2967
|
key: $,
|
|
2968
2968
|
value: a == null ? void 0 : a.value
|
|
@@ -2975,7 +2975,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
2975
2975
|
});
|
|
2976
2976
|
}
|
|
2977
2977
|
else {
|
|
2978
|
-
let $ = (Ce = (
|
|
2978
|
+
let $ = (Ce = (oe = (ie = n == null ? void 0 : n.data) == null ? void 0 : ie.result) == null ? void 0 : oe.filter((Ae) => {
|
|
2979
2979
|
var $e;
|
|
2980
2980
|
return (($e = Ae == null ? void 0 : Ae.key) == null ? void 0 : $e.type) === "data";
|
|
2981
2981
|
})) == null ? void 0 : Ce.map((Ae) => Ae == null ? void 0 : Ae.id);
|
|
@@ -2983,21 +2983,21 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
2983
2983
|
let Te = (he = (h = (G = (de = l(e)) == null ? void 0 : de.find((Ae) => {
|
|
2984
2984
|
var $e;
|
|
2985
2985
|
return (($e = a == null ? void 0 : a.key) == null ? void 0 : $e.tableId) === (Ae == null ? void 0 : Ae.id);
|
|
2986
|
-
})) == null ? void 0 : G.value) == null ? void 0 : h.pageData) == null ? void 0 : he.name, xe = (
|
|
2986
|
+
})) == null ? void 0 : G.value) == null ? void 0 : h.pageData) == null ? void 0 : he.name, xe = (Ke = (we = (re = n == null ? void 0 : n.data) == null ? void 0 : re.result) == null ? void 0 : we.find((Ae) => {
|
|
2987
2987
|
var $e, We;
|
|
2988
2988
|
return ((We = ($e = Ae == null ? void 0 : Ae.value) == null ? void 0 : $e.pageData) == null ? void 0 : We.name) === Te;
|
|
2989
|
-
})) == null ? void 0 :
|
|
2990
|
-
|
|
2991
|
-
key:
|
|
2989
|
+
})) == null ? void 0 : Ke.id, Re = (Ne = l(a)) == null ? void 0 : Ne.key;
|
|
2990
|
+
Re.tableId = xe, Re.pageKey = l(tl).value + "/" + b, p.push({
|
|
2991
|
+
key: Re,
|
|
2992
2992
|
value: a == null ? void 0 : a.value
|
|
2993
2993
|
});
|
|
2994
2994
|
}
|
|
2995
|
-
}), (Y == null ? void 0 : Y.length) > 0 && (Y = [...new Set(Y)], await
|
|
2995
|
+
}), (Y == null ? void 0 : Y.length) > 0 && (Y = [...new Set(Y)], await Wa({
|
|
2996
2996
|
ids: Y
|
|
2997
2997
|
})), (le = (fe = i == null ? void 0 : i.data) == null ? void 0 : fe.result) == null || le.forEach((a) => {
|
|
2998
2998
|
var v, _;
|
|
2999
2999
|
let t = (v = l(a)) == null ? void 0 : v.key;
|
|
3000
|
-
t.pageKey = l(tl).value + "/" + b + `/updateLoading${(_ = yl.value) == null ? void 0 : _.account}`,
|
|
3000
|
+
t.pageKey = l(tl).value + "/" + b + `/updateLoading${(_ = yl.value) == null ? void 0 : _.account}`, da.setChildMenu(t.pageKey), o.push({
|
|
3001
3001
|
id: a == null ? void 0 : a.id,
|
|
3002
3002
|
key: t
|
|
3003
3003
|
});
|
|
@@ -3007,16 +3007,16 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3007
3007
|
ol.error(`保存失败,${r}的必填字段没有填写`);
|
|
3008
3008
|
return;
|
|
3009
3009
|
}
|
|
3010
|
-
(o == null ? void 0 : o.length) > 0 && (await
|
|
3010
|
+
(o == null ? void 0 : o.length) > 0 && (await Ca({
|
|
3011
3011
|
dataList: o
|
|
3012
|
-
}), (p == null ? void 0 : p.length) > 0 &&
|
|
3012
|
+
}), (p == null ? void 0 : p.length) > 0 && za({
|
|
3013
3013
|
dataList: p
|
|
3014
|
-
}), ol.success("保存成功"),
|
|
3014
|
+
}), ol.success("保存成功"), da.setActiveMenuPath(l(tl).value + "/" + b + `/updateLoading${(F = yl.value) == null ? void 0 : F.account}`));
|
|
3015
3015
|
} else {
|
|
3016
3016
|
if ((u = (B = i == null ? void 0 : i.data) == null ? void 0 : B.result) == null || u.forEach((p) => {
|
|
3017
3017
|
var Y;
|
|
3018
3018
|
let n = (Y = l(p)) == null ? void 0 : Y.key;
|
|
3019
|
-
n.pageKey = l(tl).value + "/" + b,
|
|
3019
|
+
n.pageKey = l(tl).value + "/" + b, da.setChildMenu(n.pageKey), o.push({
|
|
3020
3020
|
id: p == null ? void 0 : p.id,
|
|
3021
3021
|
key: n
|
|
3022
3022
|
});
|
|
@@ -3024,15 +3024,15 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3024
3024
|
ol.error(`保存失败,${r}的必填字段没有填写`);
|
|
3025
3025
|
return;
|
|
3026
3026
|
}
|
|
3027
|
-
await
|
|
3027
|
+
await Ca({
|
|
3028
3028
|
dataList: o
|
|
3029
|
-
}), ol.success("保存成功"), await
|
|
3029
|
+
}), ol.success("保存成功"), await yi(l(tl).value + "/" + b, l(tl).value + "/" + b + `/updateLoading${(X = yl.value) == null ? void 0 : X.account}`), da.setActiveMenuPath(l(tl).value + "/" + b + `/updateLoading${(z = yl.value) == null ? void 0 : z.account}`);
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
|
-
},
|
|
3032
|
+
}, yn = {
|
|
3033
3033
|
key: 0,
|
|
3034
3034
|
class: "method-content"
|
|
3035
|
-
},
|
|
3035
|
+
}, gn = {
|
|
3036
3036
|
__name: "index",
|
|
3037
3037
|
props: {
|
|
3038
3038
|
itemData: {
|
|
@@ -3051,7 +3051,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3051
3051
|
}
|
|
3052
3052
|
},
|
|
3053
3053
|
setup(r) {
|
|
3054
|
-
const V = q([]), g = r, i = q(!1), o = q(), j =
|
|
3054
|
+
const V = q([]), g = r, i = q(!1), o = q(), j = Ta(il), L = q(!1), w = Ka(il), N = Aa(il), { itemData: ee, isEdit: O, routeToChildPath: ce } = nl(j), { activeMenuPath: ne, platform: _e, childMenu: te } = nl(w), { loginUserInfo: be } = nl(N), T = q(!1), S = (C, Z) => {
|
|
3055
3055
|
const x = Z;
|
|
3056
3056
|
return C == null ? void 0 : C.map((s) => {
|
|
3057
3057
|
var c;
|
|
@@ -3065,9 +3065,9 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3065
3065
|
});
|
|
3066
3066
|
}, me = async () => {
|
|
3067
3067
|
var C, Z;
|
|
3068
|
-
(C = V.value) != null && C.find((x) => (x == null ? void 0 : x.buttonName) === "保存") && await Ie((Z = V.value) == null ? void 0 : Z.find((x) => (x == null ? void 0 : x.buttonName) === "保存")), await
|
|
3068
|
+
(C = V.value) != null && C.find((x) => (x == null ? void 0 : x.buttonName) === "保存") && await Ie((Z = V.value) == null ? void 0 : Z.find((x) => (x == null ? void 0 : x.buttonName) === "保存")), await mn();
|
|
3069
3069
|
};
|
|
3070
|
-
|
|
3070
|
+
Ze(
|
|
3071
3071
|
() => ee.value,
|
|
3072
3072
|
async () => {
|
|
3073
3073
|
O.value === "view" && !T.value && await Fe(l(g.itemData)), T.value = !1;
|
|
@@ -3106,9 +3106,9 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3106
3106
|
return (u = l(x)) == null || u.forEach((P, U) => {
|
|
3107
3107
|
var A, fe, le, F, b, y, J, p, n, Y, e, a, t, v, _, M, ye, K, ie;
|
|
3108
3108
|
if ((P == null ? void 0 : P.comp) === "Table") {
|
|
3109
|
-
let
|
|
3110
|
-
if (
|
|
3111
|
-
(
|
|
3109
|
+
let oe = Array.isArray((le = (fe = (A = P == null ? void 0 : P.compData) == null ? void 0 : A.find((h) => (h == null ? void 0 : h.key) === "header")) == null ? void 0 : fe.contents) == null ? void 0 : le[0]) ? (J = (y = (b = (F = P == null ? void 0 : P.compData) == null ? void 0 : F.find((h) => (h == null ? void 0 : h.key) === "header")) == null ? void 0 : b.contents) == null ? void 0 : y[0]) == null ? void 0 : J.some((h) => h == null ? void 0 : h.children) : [], Ce = (Y = (n = (p = P == null ? void 0 : P.compData) == null ? void 0 : p.find((h) => (h == null ? void 0 : h.key) === "tableContents")) == null ? void 0 : n.contents) == null ? void 0 : Y.map((h) => h.slice(1)), de = (_ = (v = (t = (a = (e = P == null ? void 0 : P.compData) == null ? void 0 : e.find((h) => (h == null ? void 0 : h.key) === "header")) == null ? void 0 : a.contents) == null ? void 0 : t[0]) == null ? void 0 : v[0]) == null ? void 0 : _.label, G = (ye = (M = P == null ? void 0 : P.compData) == null ? void 0 : M.find((h) => (h == null ? void 0 : h.key) === "header")) == null ? void 0 : ye.contents;
|
|
3110
|
+
if (oe)
|
|
3111
|
+
(oe == null ? void 0 : oe.length) === 0 ? R[P.name] = S(Ce, G) : R[de] = S(Ce, G);
|
|
3112
3112
|
else {
|
|
3113
3113
|
const h = [];
|
|
3114
3114
|
G = G.slice(1, G.length - 1), G == null || G.forEach((he, re) => {
|
|
@@ -3121,10 +3121,10 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3121
3121
|
}), R["form" + U] = h;
|
|
3122
3122
|
}
|
|
3123
3123
|
} else {
|
|
3124
|
-
const
|
|
3124
|
+
const oe = (ie = (K = P.compData) == null ? void 0 : K.find((de) => (de == null ? void 0 : de.key) === "formContent")) == null ? void 0 : ie.contents;
|
|
3125
3125
|
R != null && R.form || (R.form = []);
|
|
3126
3126
|
const Ce = [];
|
|
3127
|
-
|
|
3127
|
+
oe == null || oe.forEach((de) => {
|
|
3128
3128
|
de.key !== "" && (de = {
|
|
3129
3129
|
key: (de == null ? void 0 : de.key) ?? (de == null ? void 0 : de.label),
|
|
3130
3130
|
value: de == null ? void 0 : de.value
|
|
@@ -3144,7 +3144,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3144
3144
|
type: "structure",
|
|
3145
3145
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
3146
3146
|
parentTable: "",
|
|
3147
|
-
pageKey:
|
|
3147
|
+
pageKey: ne.value
|
|
3148
3148
|
},
|
|
3149
3149
|
value: {
|
|
3150
3150
|
pageData: R
|
|
@@ -3238,7 +3238,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3238
3238
|
let Q = {};
|
|
3239
3239
|
for (let R in l(C))
|
|
3240
3240
|
l(C)[R] !== "loginUser" ? Q[R] = l(C)[R] : Q[R] = (D = be.value) == null ? void 0 : D.account;
|
|
3241
|
-
await
|
|
3241
|
+
await hi({
|
|
3242
3242
|
key: {
|
|
3243
3243
|
type: "data",
|
|
3244
3244
|
pageKey: Z,
|
|
@@ -3263,13 +3263,13 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3263
3263
|
b != null && b.includes("(") && U.push(b);
|
|
3264
3264
|
}), U = [...new Set(U)];
|
|
3265
3265
|
const A = U == null ? void 0 : U.map(async (b) => {
|
|
3266
|
-
var Y, e, a, t, v, _, M, ye, K, ie,
|
|
3266
|
+
var Y, e, a, t, v, _, M, ye, K, ie, oe, Ce;
|
|
3267
3267
|
let y = "";
|
|
3268
3268
|
(_ = (v = (t = (a = (e = (Y = l(b)) == null ? void 0 : Y.split("(")) == null ? void 0 : e[1]) == null ? void 0 : a.split(")")) == null ? void 0 : t[0]) == null ? void 0 : v.split(":")) == null || _.forEach((de) => {
|
|
3269
3269
|
y = y === "" ? y + de.replaceAll("'", "") : y + "/" + de.replaceAll("'", "");
|
|
3270
3270
|
});
|
|
3271
3271
|
let J = [];
|
|
3272
|
-
(Ce = (
|
|
3272
|
+
(Ce = (oe = (ie = (K = (ye = (M = l(b)) == null ? void 0 : M.split("<")) == null ? void 0 : ye[1]) == null ? void 0 : K.split(">")) == null ? void 0 : ie[0]) == null ? void 0 : oe.split(":")) == null || Ce.forEach((de) => {
|
|
3273
3273
|
J.push(de.replaceAll("'", ""));
|
|
3274
3274
|
});
|
|
3275
3275
|
const p = await hl(y, sessionStorage.getItem("systemKey"), "");
|
|
@@ -3307,7 +3307,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3307
3307
|
((X = le == null ? void 0 : le.data) == null ? void 0 : X.type) === "success" && ((pe = (z = le == null ? void 0 : le.data) == null ? void 0 : z.result) == null || pe.forEach((b) => {
|
|
3308
3308
|
var y, J;
|
|
3309
3309
|
((J = (y = b == null ? void 0 : b.value) == null ? void 0 : y.pageData) == null ? void 0 : J.name) === (x == null ? void 0 : x[0]) && (F = b.id);
|
|
3310
|
-
}), await
|
|
3310
|
+
}), await ba({
|
|
3311
3311
|
id: F,
|
|
3312
3312
|
value: {
|
|
3313
3313
|
pageData: Q
|
|
@@ -3341,7 +3341,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3341
3341
|
});
|
|
3342
3342
|
if (((u = (B = F == null ? void 0 : F.data) == null ? void 0 : B.result) == null ? void 0 : u.length) > 0) {
|
|
3343
3343
|
let y = (z = (X = F == null ? void 0 : F.data) == null ? void 0 : X.result) == null ? void 0 : z.map((J) => J == null ? void 0 : J.id);
|
|
3344
|
-
(y == null ? void 0 : y.length) > 0 && await
|
|
3344
|
+
(y == null ? void 0 : y.length) > 0 && await Wa({
|
|
3345
3345
|
ids: y
|
|
3346
3346
|
});
|
|
3347
3347
|
}
|
|
@@ -3358,7 +3358,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3358
3358
|
tableData: y
|
|
3359
3359
|
}
|
|
3360
3360
|
});
|
|
3361
|
-
}), (b == null ? void 0 : b.length) > 0 && await
|
|
3361
|
+
}), (b == null ? void 0 : b.length) > 0 && await za({
|
|
3362
3362
|
datalist: b
|
|
3363
3363
|
});
|
|
3364
3364
|
} else if (!(x != null && x[1]) && (c == null ? void 0 : c.comp) === "Form") {
|
|
@@ -3381,7 +3381,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3381
3381
|
((P = le == null ? void 0 : le.data) == null ? void 0 : P.type) === "success" && ((A = (U = le == null ? void 0 : le.data) == null ? void 0 : U.result) == null || A.forEach((b) => {
|
|
3382
3382
|
var y, J;
|
|
3383
3383
|
((J = (y = b == null ? void 0 : b.value) == null ? void 0 : y.pageData) == null ? void 0 : J.name) === (x == null ? void 0 : x[0]) && (F = b.id);
|
|
3384
|
-
}), await
|
|
3384
|
+
}), await ba({
|
|
3385
3385
|
id: F,
|
|
3386
3386
|
value: {
|
|
3387
3387
|
pageData: fe
|
|
@@ -3392,7 +3392,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3392
3392
|
}, ge = ["createInsofDataApi"], Ie = async (C) => {
|
|
3393
3393
|
var Z, x, s, c, D, I, W, H, B, u, X, z, pe;
|
|
3394
3394
|
if (w.setImportLoading(!0), C.api) {
|
|
3395
|
-
let Q = await hl((te == null ? void 0 : te.value) === "" ?
|
|
3395
|
+
let Q = await hl((te == null ? void 0 : te.value) === "" ? ne.value : te == null ? void 0 : te.value, sessionStorage.getItem("systemKey"), ""), R = {};
|
|
3396
3396
|
(x = (Z = C == null ? void 0 : C.extraValues) == null ? void 0 : Z.input) == null || x.forEach((b) => {
|
|
3397
3397
|
var y;
|
|
3398
3398
|
ge != null && ge.find((J) => J === b) ? R = f(b, Q) : R[Object.keys(b)[0]] = f((y = Object.values(b)) == null ? void 0 : y[0], Q);
|
|
@@ -3403,35 +3403,35 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3403
3403
|
(J = (y = Object.values(b)) == null ? void 0 : y[0]) != null && J.includes(".doc") && (P = !0);
|
|
3404
3404
|
});
|
|
3405
3405
|
let U;
|
|
3406
|
-
P ? U = await
|
|
3406
|
+
P ? U = await _a.post(C.api, R, {
|
|
3407
3407
|
responseType: "blob",
|
|
3408
3408
|
// 必须设置
|
|
3409
3409
|
headers: {
|
|
3410
3410
|
"Content-Type": "application/json"
|
|
3411
3411
|
}
|
|
3412
|
-
}) : U = await
|
|
3412
|
+
}) : U = await _a.post(C.api, R, {
|
|
3413
3413
|
headers: {
|
|
3414
3414
|
"Content-Type": "application/json"
|
|
3415
3415
|
}
|
|
3416
3416
|
});
|
|
3417
3417
|
let A = (H = (W = (I = (D = l(C)) == null ? void 0 : D.extraValues) == null ? void 0 : I.output) == null ? void 0 : W.map((b) => {
|
|
3418
|
-
var y, J, p, n, Y, e, a, t, v, _, M, ye, K, ie,
|
|
3418
|
+
var y, J, p, n, Y, e, a, t, v, _, M, ye, K, ie, oe, Ce;
|
|
3419
3419
|
if (!((J = (y = Object.values(b)) == null ? void 0 : y[0]) != null && J.includes(".doc"))) {
|
|
3420
3420
|
let de = (_ = (v = (t = (n = l((p = Object.values(b)) == null ? void 0 : p[0])) == null ? void 0 : n.split("[")) == null ? void 0 : t[((a = (e = l((Y = Object.values(b)) == null ? void 0 : Y[0])) == null ? void 0 : e.split("[")) == null ? void 0 : a.length) - 1]) == null ? void 0 : v.split("]")) == null ? void 0 : _[0];
|
|
3421
3421
|
de == null || de.split(":");
|
|
3422
3422
|
let G = (K = l((M = Object.values(b)) == null ? void 0 : M[0])) == null ? void 0 : K.substring(0, l((ye = Object.values(b)) == null ? void 0 : ye[0]).lastIndexOf("["));
|
|
3423
|
-
if (G = (
|
|
3423
|
+
if (G = (oe = l(G)) == null ? void 0 : oe.slice(0, ((ie = l(G)) == null ? void 0 : ie.length) - 1), G != null && G.includes("[")) {
|
|
3424
3424
|
let h = "";
|
|
3425
|
-
if ((Ce =
|
|
3426
|
-
var re, we,
|
|
3425
|
+
if ((Ce = Da(G, "/")) == null || Ce.forEach((he) => {
|
|
3426
|
+
var re, we, Ke, Ne, $, Te, xe;
|
|
3427
3427
|
if (!(he != null && he.includes("[")))
|
|
3428
3428
|
h = h === "" ? h + he.replaceAll("/", "") : h + "/" + he.replaceAll("/", "");
|
|
3429
3429
|
else {
|
|
3430
|
-
let
|
|
3430
|
+
let Re = l(he).slice(1, ((re = l(he)) == null ? void 0 : re.length) - 1), Ae = (Te = ($ = (Ne = (Ke = (we = l(Re)) == null ? void 0 : we.split("[")) == null ? void 0 : Ke[1]) == null ? void 0 : Ne.split("]")) == null ? void 0 : $[0]) == null ? void 0 : Te.split(":"), $e = "", We = (xe = Q == null ? void 0 : Q.find((Ge) => (Ge == null ? void 0 : Ge.name) === (Ae == null ? void 0 : Ae[0]))) == null ? void 0 : xe.compData;
|
|
3431
3431
|
We == null || We.forEach((Ge) => {
|
|
3432
3432
|
var rl;
|
|
3433
|
-
(Ge == null ? void 0 : Ge.key) === "formContent" && ((rl = Ge == null ? void 0 : Ge.contents) == null || rl.forEach((
|
|
3434
|
-
(
|
|
3433
|
+
(Ge == null ? void 0 : Ge.key) === "formContent" && ((rl = Ge == null ? void 0 : Ge.contents) == null || rl.forEach((el) => {
|
|
3434
|
+
(el == null ? void 0 : el.key) === (Ae == null ? void 0 : Ae[1]) && ($e = el == null ? void 0 : el.value);
|
|
3435
3435
|
}));
|
|
3436
3436
|
}), h = h === "" ? h + $e.replaceAll("/", "") : h + "/" + $e.replaceAll("/", "");
|
|
3437
3437
|
}
|
|
@@ -3444,11 +3444,11 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3444
3444
|
let fe = A == null ? void 0 : A.map(async (b) => {
|
|
3445
3445
|
let y = await hl(b, sessionStorage.getItem("systemKey"), "");
|
|
3446
3446
|
if ((y == null ? void 0 : y.length) === 0)
|
|
3447
|
-
return await
|
|
3447
|
+
return await bi(b);
|
|
3448
3448
|
});
|
|
3449
3449
|
await Promise.all(fe);
|
|
3450
3450
|
let le = [], F = (X = (u = (B = l(C)) == null ? void 0 : B.extraValues) == null ? void 0 : u.output) == null ? void 0 : X.map(async (b) => {
|
|
3451
|
-
var a, t, v, _, M, ye, K, ie,
|
|
3451
|
+
var a, t, v, _, M, ye, K, ie, oe, Ce, de, G, h, he, re, we, Ke, Ne, $, Te, xe, Re, Ae, $e, We, Ge, rl, el, kl, _l, Cl, wl, Dl, Ll, Ol, Vl, Rl, Ul, jl, Pl, Kl, Nl, Ml, Wl, zl, Jl, Hl, ul, sl, Gl, ql, Ql, Xl, Yl, Zl, ea, la, aa, ia, sa, na, oa;
|
|
3452
3452
|
if ((t = (a = Object.values(b)) == null ? void 0 : a[0]) != null && t.includes(".doc")) {
|
|
3453
3453
|
var y = new Blob([U.data], {
|
|
3454
3454
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -3460,76 +3460,78 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3460
3460
|
blobUrl: e
|
|
3461
3461
|
}], i.value = !0;
|
|
3462
3462
|
} else {
|
|
3463
|
-
let
|
|
3464
|
-
if (
|
|
3463
|
+
let Sl = (Ce = (oe = (ie = (_ = l((v = Object.values(b)) == null ? void 0 : v[0])) == null ? void 0 : _.split("[")) == null ? void 0 : ie[((K = (ye = l((M = Object.values(b)) == null ? void 0 : M[0])) == null ? void 0 : ye.split("[")) == null ? void 0 : K.length) - 1]) == null ? void 0 : oe.split("]")) == null ? void 0 : Ce[0], Le = Sl == null ? void 0 : Sl.split(":"), qe = (h = l((de = Object.values(b)) == null ? void 0 : de[0])) == null ? void 0 : h.substring(0, l((G = Object.values(b)) == null ? void 0 : G[0]).lastIndexOf("["));
|
|
3464
|
+
if (qe != null && qe.includes("[") && (qe = (re = l(qe)) == null ? void 0 : re.slice(0, ((he = l(qe)) == null ? void 0 : he.length) - 1)), qe != null && qe.includes("[")) {
|
|
3465
3465
|
let Se = "";
|
|
3466
|
-
(we =
|
|
3467
|
-
var ze,
|
|
3468
|
-
if (!(
|
|
3469
|
-
Se = Se === "" ? Se +
|
|
3466
|
+
(we = Da(qe, "/")) == null || we.forEach((Ue) => {
|
|
3467
|
+
var ze, Qe, Me, cl, dl, ua, ra, Sa, $a, Ba;
|
|
3468
|
+
if (!(Ue != null && Ue.includes("[")))
|
|
3469
|
+
Se = Se === "" ? Se + Ue.replaceAll("/", "") : Se + "/" + Ue.replaceAll("/", "");
|
|
3470
3470
|
else {
|
|
3471
|
-
let
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3471
|
+
let pa = "", Il = "";
|
|
3472
|
+
(ze = l(Ue)) != null && ze.includes("]") ? (pa = l(Ue).slice(1, ((Qe = l(Ue)) == null ? void 0 : Qe.length) - 1), Il = (ra = (ua = (dl = (cl = (Me = l(pa)) == null ? void 0 : Me.split("[")) == null ? void 0 : cl[1]) == null ? void 0 : dl.split("]")) == null ? void 0 : ua[0]) == null ? void 0 : ra.split(":")) : (pa = l(Ue).slice(1, (Sa = l(Ue)) == null ? void 0 : Sa.length), Il = ($a = l(pa)) == null ? void 0 : $a.split("/"));
|
|
3473
|
+
let ya = "", ga = (Ba = Q == null ? void 0 : Q.find((pl) => (pl == null ? void 0 : pl.name) === (Il == null ? void 0 : Il[0]))) == null ? void 0 : Ba.compData;
|
|
3474
|
+
ga == null || ga.forEach((pl) => {
|
|
3475
|
+
var Fa;
|
|
3476
|
+
(pl == null ? void 0 : pl.key) === "formContent" && ((Fa = pl == null ? void 0 : pl.contents) == null || Fa.forEach(($l) => {
|
|
3477
|
+
($l == null ? void 0 : $l.key) === (Il == null ? void 0 : Il[1]) && (ya = $l == null ? void 0 : $l.value);
|
|
3476
3478
|
}));
|
|
3477
|
-
}), Se = Se === "" ? Se +
|
|
3479
|
+
}), Se = Se === "" ? Se + ya.replaceAll("/", "") : Se + "/" + ya.replaceAll("/", "");
|
|
3478
3480
|
}
|
|
3479
|
-
}),
|
|
3481
|
+
}), (Ke = ne.value) != null && Ke.includes(Se) ? qe = ne.value : qe = Se;
|
|
3480
3482
|
}
|
|
3481
|
-
let xl = l((
|
|
3482
|
-
if (((
|
|
3483
|
-
if ((
|
|
3484
|
-
return await ue((
|
|
3485
|
-
if ((
|
|
3486
|
-
let Se = await m((
|
|
3483
|
+
let xl = l((Ne = Object.keys(b)) == null ? void 0 : Ne[0]);
|
|
3484
|
+
if ((($ = U == null ? void 0 : U.data) == null ? void 0 : $.statusCode) === 200 || ((Te = U == null ? void 0 : U.data) == null ? void 0 : Te.code) === 200) {
|
|
3485
|
+
if ((Re = (xe = U == null ? void 0 : U.data) == null ? void 0 : xe.data) != null && Re[xl] && (Le == null ? void 0 : Le.length) === 1)
|
|
3486
|
+
return await ue(($e = (Ae = U == null ? void 0 : U.data) == null ? void 0 : Ae.data) == null ? void 0 : $e[xl], qe, Le);
|
|
3487
|
+
if ((Ge = (We = U == null ? void 0 : U.data) == null ? void 0 : We.data) != null && Ge[xl]) {
|
|
3488
|
+
let Se = await m((el = (rl = U == null ? void 0 : U.data) == null ? void 0 : rl.data) == null ? void 0 : el[xl], qe, Le);
|
|
3487
3489
|
return Se && (le = [...le, ...Se]), Se;
|
|
3488
3490
|
} else {
|
|
3489
|
-
if (!((
|
|
3490
|
-
let Se = await hl(
|
|
3491
|
+
if (!((kl = U == null ? void 0 : U.data) != null && kl.data)) {
|
|
3492
|
+
let Se = await hl(ne.value, sessionStorage.getItem("systemKey"), "");
|
|
3491
3493
|
Se = Se == null ? void 0 : Se.map((ze) => {
|
|
3492
|
-
var
|
|
3493
|
-
return (ze == null ? void 0 : ze.name) === (
|
|
3494
|
+
var Qe;
|
|
3495
|
+
return (ze == null ? void 0 : ze.name) === (Le == null ? void 0 : Le[0]) && (ze.compData = (Qe = ze.compData) == null ? void 0 : Qe.map((Me) => {
|
|
3494
3496
|
var cl;
|
|
3495
3497
|
return (Me == null ? void 0 : Me.key) === "formContent" && (Me.contents = (cl = Me.contents) == null ? void 0 : cl.map((dl) => {
|
|
3496
|
-
var
|
|
3497
|
-
return (dl == null ? void 0 : dl.key) === (
|
|
3498
|
+
var ua, ra;
|
|
3499
|
+
return (dl == null ? void 0 : dl.key) === (Le == null ? void 0 : Le[1]) && (dl.value = (ra = (ua = U == null ? void 0 : U.data) == null ? void 0 : ua.result) == null ? void 0 : ra[xl == null ? void 0 : xl.replaceAll(":", "")]), dl;
|
|
3498
3500
|
})), Me;
|
|
3499
3501
|
})), ze;
|
|
3500
3502
|
});
|
|
3501
|
-
let
|
|
3502
|
-
(
|
|
3503
|
-
let
|
|
3503
|
+
let Ue = [];
|
|
3504
|
+
(_l = Se == null ? void 0 : Se.filter((ze) => (ze == null ? void 0 : ze.comp) === "Form")) == null || _l.forEach(async (ze) => {
|
|
3505
|
+
let Qe = {};
|
|
3504
3506
|
for (let Me in ze)
|
|
3505
|
-
Me !== "id" && (
|
|
3506
|
-
|
|
3507
|
+
Me !== "id" && (Qe[Me] = ze[Me]);
|
|
3508
|
+
Ue.push({
|
|
3507
3509
|
id: ze == null ? void 0 : ze.id,
|
|
3508
3510
|
value: {
|
|
3509
|
-
pageData:
|
|
3511
|
+
pageData: Qe
|
|
3510
3512
|
}
|
|
3511
3513
|
});
|
|
3512
|
-
}), await
|
|
3513
|
-
dataList:
|
|
3514
|
+
}), await Ca({
|
|
3515
|
+
dataList: Ue
|
|
3514
3516
|
});
|
|
3515
3517
|
return;
|
|
3516
3518
|
}
|
|
3517
|
-
if ((
|
|
3518
|
-
const Se = (
|
|
3519
|
-
let
|
|
3520
|
-
(Rl = (Vl = (Ol = (Ll =
|
|
3519
|
+
if ((Le == null ? void 0 : Le.length) === 1) {
|
|
3520
|
+
const Se = (Dl = (wl = (Cl = U == null ? void 0 : U.data) == null ? void 0 : Cl.data) == null ? void 0 : wl.path) == null ? void 0 : Dl.path;
|
|
3521
|
+
let Ue = "";
|
|
3522
|
+
(Ul = (Rl = (Vl = (Ol = (Ll = Se == null ? void 0 : Se.split("(")) == null ? void 0 : Ll[1]) == null ? void 0 : Ol.split(")")) == null ? void 0 : Vl[0]) == null ? void 0 : Rl.split(":")) == null || Ul.forEach((Me) => {
|
|
3521
3523
|
var cl, dl;
|
|
3522
|
-
|
|
3524
|
+
Ue = Ue === "" ? Ue + ((cl = Me == null ? void 0 : Me.replaceAll("'", "")) == null ? void 0 : cl.trim()) : Ue + "/" + ((dl = Me == null ? void 0 : Me.replaceAll("'", "")) == null ? void 0 : dl.trim());
|
|
3523
3525
|
});
|
|
3524
|
-
let ze = [(Nl = (Kl = (Pl = (jl =
|
|
3525
|
-
return (
|
|
3526
|
+
let ze = [(Ml = (Nl = (Kl = (Pl = (jl = Se == null ? void 0 : Se.split("<")) == null ? void 0 : jl[1]) == null ? void 0 : Pl.split(">")) == null ? void 0 : Kl[0]) == null ? void 0 : Nl.replaceAll("'", "")) == null ? void 0 : Ml.trim()], Qe;
|
|
3527
|
+
return (Jl = (zl = (Wl = U == null ? void 0 : U.data) == null ? void 0 : Wl.data) == null ? void 0 : zl.data) != null && Jl[Le == null ? void 0 : Le[0]] ? Qe = await ue((sl = (ul = (Hl = U == null ? void 0 : U.data) == null ? void 0 : Hl.data) == null ? void 0 : ul.data) == null ? void 0 : sl[Le == null ? void 0 : Le[0]], Ue, Le) : Qe = await k((ql = (Gl = U == null ? void 0 : U.data) == null ? void 0 : Gl.data) == null ? void 0 : ql.data, Ue, ze), Qe;
|
|
3526
3528
|
} else {
|
|
3527
|
-
const Se = (
|
|
3528
|
-
let
|
|
3529
|
-
return (aa = (la = (ea = (Zl =
|
|
3529
|
+
const Se = (Yl = (Xl = (Ql = U == null ? void 0 : U.data) == null ? void 0 : Ql.data) == null ? void 0 : Xl.path) == null ? void 0 : Yl.path;
|
|
3530
|
+
let Ue = "";
|
|
3531
|
+
return (ia = (aa = (la = (ea = (Zl = Se == null ? void 0 : Se.split("(")) == null ? void 0 : Zl[1]) == null ? void 0 : ea.split(")")) == null ? void 0 : la[0]) == null ? void 0 : aa.split(":")) == null || ia.forEach((Qe) => {
|
|
3530
3532
|
var Me, cl;
|
|
3531
|
-
|
|
3532
|
-
}), await m((
|
|
3533
|
+
Ue = Ue === "" ? Ue + ((Me = Qe == null ? void 0 : Qe.replaceAll("'", "")) == null ? void 0 : Me.trim()) : Ue + "/" + ((cl = Qe == null ? void 0 : Qe.replaceAll("'", "")) == null ? void 0 : cl.trim());
|
|
3534
|
+
}), await m((oa = (na = (sa = U == null ? void 0 : U.data) == null ? void 0 : sa.data) == null ? void 0 : na.data) == null ? void 0 : oa[Le == null ? void 0 : Le[0]], Ue, Le);
|
|
3533
3535
|
}
|
|
3534
3536
|
}
|
|
3535
3537
|
}
|
|
@@ -3551,7 +3553,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3551
3553
|
});
|
|
3552
3554
|
for (let y in b)
|
|
3553
3555
|
y !== "keyType" && b[y];
|
|
3554
|
-
await
|
|
3556
|
+
await ba(b);
|
|
3555
3557
|
}
|
|
3556
3558
|
j.setFreshContent(!0);
|
|
3557
3559
|
}
|
|
@@ -3570,7 +3572,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3570
3572
|
}
|
|
3571
3573
|
})).data.result;
|
|
3572
3574
|
let z = "";
|
|
3573
|
-
const pe = await hl(
|
|
3575
|
+
const pe = await hl(ne.value, sessionStorage.getItem("systemKey"), "");
|
|
3574
3576
|
return X == null || X.forEach((J) => {
|
|
3575
3577
|
var p, n, Y, e, a;
|
|
3576
3578
|
((n = (p = J == null ? void 0 : J.value) == null ? void 0 : p.tableData) == null ? void 0 : n.算法名称) === ((Y = Z == null ? void 0 : Z[B]) == null ? void 0 : Y.method) && (z = (a = (e = J == null ? void 0 : J.value) == null ? void 0 : e.tableData) == null ? void 0 : a.算法体);
|
|
@@ -3598,7 +3600,7 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3598
3600
|
type: "methodData",
|
|
3599
3601
|
tableId: u == null ? void 0 : u.id
|
|
3600
3602
|
}
|
|
3601
|
-
}), z = await hl(
|
|
3603
|
+
}), z = await hl(ne.value, sessionStorage.getItem("systemKey"), ""), pe = (R = X.data.result) == null ? void 0 : R[0];
|
|
3602
3604
|
return {
|
|
3603
3605
|
buttonName: (P = u == null ? void 0 : u.key) == null ? void 0 : P.methodKey,
|
|
3604
3606
|
api: (A = (U = pe == null ? void 0 : pe.value) == null ? void 0 : U.tableData) == null ? void 0 : A[0],
|
|
@@ -3611,11 +3613,11 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3611
3613
|
var B;
|
|
3612
3614
|
H.api === "" && ((B = H.content) == null || B.forEach((u) => {
|
|
3613
3615
|
var X;
|
|
3614
|
-
u.comp == "Table" && j.setExtraContents(
|
|
3616
|
+
u.comp == "Table" && j.setExtraContents(gi(u.compData, (X = H.extraContent) == null ? void 0 : X[0]));
|
|
3615
3617
|
}));
|
|
3616
3618
|
});
|
|
3617
3619
|
};
|
|
3618
|
-
return
|
|
3620
|
+
return Ze(
|
|
3619
3621
|
() => g.itemData,
|
|
3620
3622
|
async () => {
|
|
3621
3623
|
O.value == "view" && !T.value && await Fe(l(g.itemData)), T.value = !1;
|
|
@@ -3623,35 +3625,35 @@ const Oo = (r) => /^'[^']+':\{.*\}$/.exec(l(r)), Vo = (r) => /^'[^']+':\[\[.*\]\
|
|
|
3623
3625
|
{ immediate: !0, deep: !0 }
|
|
3624
3626
|
), (C, Z) => {
|
|
3625
3627
|
var x, s, c;
|
|
3626
|
-
return Al(O) !== "edit" ? (se(), ke("div",
|
|
3627
|
-
(se(!0), ke(
|
|
3628
|
-
D.api !== "" ? (se(),
|
|
3628
|
+
return Al(O) !== "edit" ? (se(), ke("div", yn, [
|
|
3629
|
+
(se(!0), ke(Pe, null, Je((x = V.value) == null ? void 0 : x.filter((D) => (D == null ? void 0 : D.buttonName) !== "保存"), (D) => (se(), ke("div", null, [
|
|
3630
|
+
D.api !== "" ? (se(), Ve(Al(Oa), {
|
|
3629
3631
|
key: 0,
|
|
3630
3632
|
class: "calculator-content",
|
|
3631
3633
|
modelValue: D.buttonName,
|
|
3632
3634
|
onClickTrigger: (I) => Ie(D),
|
|
3633
3635
|
loading: L.value
|
|
3634
|
-
}, null, 8, ["modelValue", "onClickTrigger", "loading"])) :
|
|
3636
|
+
}, null, 8, ["modelValue", "onClickTrigger", "loading"])) : Ye("", !0)
|
|
3635
3637
|
]))), 256)),
|
|
3636
|
-
Al(ce) !== "" && ((c = Al(
|
|
3638
|
+
Al(ce) !== "" && ((c = Al(ne)) == null ? void 0 : c[((s = Al(ne)) == null ? void 0 : s.length) - 1]) !== "/" ? (se(), Ve(Al(Oa), {
|
|
3637
3639
|
key: 0,
|
|
3638
3640
|
class: "calculator-content",
|
|
3639
3641
|
onClickTrigger: me,
|
|
3640
3642
|
modelValue: "保存"
|
|
3641
|
-
})) :
|
|
3642
|
-
i.value ? (se(),
|
|
3643
|
+
})) : Ye("", !0),
|
|
3644
|
+
i.value ? (se(), Ve(Na, {
|
|
3643
3645
|
key: 1,
|
|
3644
3646
|
fileDataList: o.value,
|
|
3645
3647
|
onDestroy: d
|
|
3646
|
-
}, null, 8, ["fileDataList"])) :
|
|
3647
|
-
])) :
|
|
3648
|
+
}, null, 8, ["fileDataList"])) : Ye("", !0)
|
|
3649
|
+
])) : Ye("", !0);
|
|
3648
3650
|
};
|
|
3649
3651
|
}
|
|
3650
|
-
},
|
|
3651
|
-
function
|
|
3652
|
+
}, bn = /* @__PURE__ */ He(gn, [["__scopeId", "data-v-66b5efd1"]]), kn = {};
|
|
3653
|
+
function _n(r, V) {
|
|
3652
3654
|
return " 567 ";
|
|
3653
3655
|
}
|
|
3654
|
-
const
|
|
3656
|
+
const Cn = /* @__PURE__ */ He(kn, [["render", _n]]), wn = { class: "module content" }, Dn = { class: "module data" }, In = { class: "module layout" }, xn = { class: "form-content" }, An = /* @__PURE__ */ El({
|
|
3655
3657
|
__name: "operate",
|
|
3656
3658
|
props: {
|
|
3657
3659
|
itemContents: {
|
|
@@ -3665,7 +3667,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3665
3667
|
},
|
|
3666
3668
|
emits: ["change"],
|
|
3667
3669
|
setup(r, { emit: V }) {
|
|
3668
|
-
const g = r, i = V, o =
|
|
3670
|
+
const g = r, i = V, o = Ia({
|
|
3669
3671
|
visible: !1,
|
|
3670
3672
|
width: "40%",
|
|
3671
3673
|
title: "签名配置"
|
|
@@ -3721,7 +3723,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3721
3723
|
value: "",
|
|
3722
3724
|
isFormColHidden: !0
|
|
3723
3725
|
}
|
|
3724
|
-
]), N =
|
|
3726
|
+
]), N = xa(() => [
|
|
3725
3727
|
{
|
|
3726
3728
|
label: "",
|
|
3727
3729
|
prop: "index",
|
|
@@ -3783,7 +3785,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3783
3785
|
contents: ee.value
|
|
3784
3786
|
}
|
|
3785
3787
|
]
|
|
3786
|
-
}),
|
|
3788
|
+
}), ne = (T) => {
|
|
3787
3789
|
var S;
|
|
3788
3790
|
ee.value = l(T), i("change", (S = ce()) == null ? void 0 : S.compData);
|
|
3789
3791
|
}, _e = (T) => {
|
|
@@ -3821,14 +3823,14 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3821
3823
|
}, be = () => {
|
|
3822
3824
|
o.visible = !1;
|
|
3823
3825
|
};
|
|
3824
|
-
return
|
|
3826
|
+
return Ze(() => g == null ? void 0 : g.itemContents, (T) => {
|
|
3825
3827
|
var S, me;
|
|
3826
3828
|
T && (ee.value = ((S = T == null ? void 0 : T.find((d) => d.key === "signConfig")) == null ? void 0 : S.contents) ?? {}, O.value = ((me = T == null ? void 0 : T.find((d) => d.key === "signTypeList")) == null ? void 0 : me.contents) ?? []);
|
|
3827
3829
|
}, { immediate: !0 }), (T, S) => {
|
|
3828
|
-
const me =
|
|
3829
|
-
return se(), ke(
|
|
3830
|
+
const me = je("svg-icon"), d = je("el-button");
|
|
3831
|
+
return se(), ke(Pe, null, [
|
|
3830
3832
|
E("div", null, [
|
|
3831
|
-
E("div",
|
|
3833
|
+
E("div", wn, [
|
|
3832
3834
|
S[2] || (S[2] = E("h4", { class: "module-title" }, "签名类型", -1)),
|
|
3833
3835
|
ae(d, {
|
|
3834
3836
|
class: "module-icon",
|
|
@@ -3848,8 +3850,8 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3848
3850
|
__: [1]
|
|
3849
3851
|
})
|
|
3850
3852
|
]),
|
|
3851
|
-
E("div",
|
|
3852
|
-
(se(!0), ke(
|
|
3853
|
+
E("div", Dn, [
|
|
3854
|
+
(se(!0), ke(Pe, null, Je(O.value, (f, m) => (se(), ke("div", {
|
|
3853
3855
|
class: "module-data-item",
|
|
3854
3856
|
key: m
|
|
3855
3857
|
}, [
|
|
@@ -3880,22 +3882,22 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3880
3882
|
])
|
|
3881
3883
|
]))), 128))
|
|
3882
3884
|
]),
|
|
3883
|
-
E("div",
|
|
3884
|
-
ae(
|
|
3885
|
+
E("div", In, [
|
|
3886
|
+
ae(ll, {
|
|
3885
3887
|
rowContents: w.value,
|
|
3886
|
-
onChange:
|
|
3888
|
+
onChange: ne
|
|
3887
3889
|
}, null, 8, ["rowContents"])
|
|
3888
3890
|
])
|
|
3889
3891
|
]),
|
|
3890
|
-
ae(
|
|
3892
|
+
ae(al, {
|
|
3891
3893
|
visible: o.visible,
|
|
3892
3894
|
title: o.title,
|
|
3893
3895
|
onBeforeDestroy: be,
|
|
3894
3896
|
width: o.width
|
|
3895
3897
|
}, {
|
|
3896
3898
|
default: ve(() => [
|
|
3897
|
-
E("div",
|
|
3898
|
-
(se(),
|
|
3899
|
+
E("div", xn, [
|
|
3900
|
+
(se(), Ve(ll, {
|
|
3899
3901
|
rowContents: N.value,
|
|
3900
3902
|
key: N.value,
|
|
3901
3903
|
isEnableWrap: !1,
|
|
@@ -3911,7 +3913,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3911
3913
|
], 64);
|
|
3912
3914
|
};
|
|
3913
3915
|
}
|
|
3914
|
-
}),
|
|
3916
|
+
}), Tn = /* @__PURE__ */ He(An, [["__scopeId", "data-v-487e0536"]]), En = /* @__PURE__ */ El({
|
|
3915
3917
|
__name: "index",
|
|
3916
3918
|
props: {
|
|
3917
3919
|
stepConfig: {
|
|
@@ -3925,24 +3927,24 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3925
3927
|
},
|
|
3926
3928
|
emits: ["clickStep", "clickTrigger", "changeTrigger"],
|
|
3927
3929
|
setup(r, { emit: V }) {
|
|
3928
|
-
const g = r, i = V, o = q(1), j =
|
|
3929
|
-
var ce,
|
|
3930
|
-
return (ce = g == null ? void 0 : g.stepConfig) != null && ce.allowTrigger ? o.value : (
|
|
3931
|
-
}), L = (ce,
|
|
3932
|
-
o.value =
|
|
3933
|
-
}, w = (ce) =>
|
|
3934
|
-
var
|
|
3935
|
-
const ce = (
|
|
3930
|
+
const g = r, i = V, o = q(1), j = xa(() => {
|
|
3931
|
+
var ce, ne;
|
|
3932
|
+
return (ce = g == null ? void 0 : g.stepConfig) != null && ce.allowTrigger ? o.value : (ne = g == null ? void 0 : g.stepConfig) == null ? void 0 : ne.active;
|
|
3933
|
+
}), L = (ce, ne) => {
|
|
3934
|
+
o.value = ne, i("clickStep", ce, ne);
|
|
3935
|
+
}, w = (ce) => ci(ce), N = () => {
|
|
3936
|
+
var ne;
|
|
3937
|
+
const ce = (ne = g == null ? void 0 : g.stepList) == null ? void 0 : ne.find((_e, te) => te + 1 === j.value);
|
|
3936
3938
|
return console.log("findStep", ce), ce ? ce == null ? void 0 : ce.children : [];
|
|
3937
3939
|
}, ee = (ce) => {
|
|
3938
3940
|
i("clickTrigger", ce);
|
|
3939
3941
|
}, O = (ce) => {
|
|
3940
3942
|
i("changeTrigger", ce);
|
|
3941
3943
|
};
|
|
3942
|
-
return (ce,
|
|
3944
|
+
return (ce, ne) => {
|
|
3943
3945
|
var be, T, S, me, d;
|
|
3944
|
-
const _e =
|
|
3945
|
-
return se(), ke(
|
|
3946
|
+
const _e = je("el-step"), te = je("el-steps");
|
|
3947
|
+
return se(), ke(Pe, null, [
|
|
3946
3948
|
ae(te, {
|
|
3947
3949
|
direction: (be = r.stepConfig) == null ? void 0 : be.direction,
|
|
3948
3950
|
active: j.value,
|
|
@@ -3951,18 +3953,18 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3951
3953
|
"align-center": ((S = r.stepConfig) == null ? void 0 : S.alignCenter) ?? !0
|
|
3952
3954
|
}, {
|
|
3953
3955
|
default: ve(() => [
|
|
3954
|
-
(se(!0), ke(
|
|
3956
|
+
(se(!0), ke(Pe, null, Je(r.stepList, (f, m) => (se(), Ve(_e, {
|
|
3955
3957
|
key: m,
|
|
3956
3958
|
class: "step-item",
|
|
3957
3959
|
onClick: (k) => L(f, m + 1)
|
|
3958
3960
|
}, {
|
|
3959
3961
|
title: ve(() => [
|
|
3960
|
-
|
|
3962
|
+
ha(ce.$slots, "title", {
|
|
3961
3963
|
title: f == null ? void 0 : f.title
|
|
3962
3964
|
}, void 0, !0)
|
|
3963
3965
|
]),
|
|
3964
3966
|
description: ve(() => [
|
|
3965
|
-
|
|
3967
|
+
ha(ce.$slots, "description", {
|
|
3966
3968
|
description: f == null ? void 0 : f.description
|
|
3967
3969
|
}, void 0, !0)
|
|
3968
3970
|
]),
|
|
@@ -3971,29 +3973,29 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
3971
3973
|
]),
|
|
3972
3974
|
_: 3
|
|
3973
3975
|
}, 8, ["direction", "active", "simple", "align-center"]),
|
|
3974
|
-
(me = r.stepConfig) != null && me.allowTrigger && ((d = r.stepConfig) != null && d.active) ? (se(!0), ke(
|
|
3976
|
+
(me = r.stepConfig) != null && me.allowTrigger && ((d = r.stepConfig) != null && d.active) ? (se(!0), ke(Pe, { key: 0 }, Je(N(), (f, m) => (se(), ke("div", {
|
|
3975
3977
|
key: m,
|
|
3976
3978
|
class: "step-cont-wrap"
|
|
3977
3979
|
}, [
|
|
3978
|
-
(se(),
|
|
3980
|
+
(se(), Ve(ta(w(f == null ? void 0 : f.type)), {
|
|
3979
3981
|
modelValue: f.value,
|
|
3980
3982
|
"onUpdate:modelValue": (k) => f.value = k,
|
|
3981
3983
|
onClickTrigger: ee,
|
|
3982
3984
|
onChangeTrigger: O,
|
|
3983
3985
|
content: f == null ? void 0 : f.content
|
|
3984
|
-
},
|
|
3986
|
+
}, ni({ _: 2 }, [
|
|
3985
3987
|
Je(ce.$slots, (k, ue) => ({
|
|
3986
3988
|
name: ue,
|
|
3987
3989
|
fn: ve((ge) => [
|
|
3988
|
-
|
|
3990
|
+
ha(ce.$slots, ue, oi({ ref_for: !0 }, ge || {}), void 0, !0)
|
|
3989
3991
|
])
|
|
3990
3992
|
}))
|
|
3991
3993
|
]), 1064, ["modelValue", "onUpdate:modelValue", "content"]))
|
|
3992
|
-
]))), 128)) :
|
|
3994
|
+
]))), 128)) : Ye("", !0)
|
|
3993
3995
|
], 64);
|
|
3994
3996
|
};
|
|
3995
3997
|
}
|
|
3996
|
-
}),
|
|
3998
|
+
}), Sn = /* @__PURE__ */ He(En, [["__scopeId", "data-v-d7c99969"]]), $n = /* @__PURE__ */ El({
|
|
3997
3999
|
__name: "index",
|
|
3998
4000
|
props: {
|
|
3999
4001
|
itemData: {
|
|
@@ -4010,14 +4012,14 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4010
4012
|
const g = r, i = V, o = q({}), j = q([]), L = (w, N) => {
|
|
4011
4013
|
i("clickStep", w, N);
|
|
4012
4014
|
};
|
|
4013
|
-
return
|
|
4015
|
+
return Ze(() => g == null ? void 0 : g.itemData, (w) => {
|
|
4014
4016
|
var N, ee;
|
|
4015
4017
|
j.value = (N = w == null ? void 0 : w.find((O) => (O == null ? void 0 : O.key) === "stepList")) == null ? void 0 : N.contents, o.value = (ee = w == null ? void 0 : w.find((O) => (O == null ? void 0 : O.key) === "stepConfig")) == null ? void 0 : ee.contents;
|
|
4016
4018
|
}, {
|
|
4017
4019
|
immediate: !0
|
|
4018
4020
|
}), (w, N) => {
|
|
4019
|
-
const ee =
|
|
4020
|
-
return se(),
|
|
4021
|
+
const ee = je("svg-icon");
|
|
4022
|
+
return se(), Ve(Sn, {
|
|
4021
4023
|
stepConfig: o.value,
|
|
4022
4024
|
stepList: j.value,
|
|
4023
4025
|
onClickStep: L
|
|
@@ -4035,7 +4037,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4035
4037
|
}, 8, ["stepConfig", "stepList"]);
|
|
4036
4038
|
};
|
|
4037
4039
|
}
|
|
4038
|
-
}),
|
|
4040
|
+
}), Bn = /* @__PURE__ */ El({
|
|
4039
4041
|
__name: "index",
|
|
4040
4042
|
props: {
|
|
4041
4043
|
activities: {
|
|
@@ -4050,10 +4052,10 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4050
4052
|
},
|
|
4051
4053
|
setup(r) {
|
|
4052
4054
|
return (V, g) => {
|
|
4053
|
-
const i =
|
|
4054
|
-
return se(),
|
|
4055
|
+
const i = je("el-timeline-item"), o = je("el-timeline");
|
|
4056
|
+
return se(), Ve(o, null, {
|
|
4055
4057
|
default: ve(() => [
|
|
4056
|
-
(se(!0), ke(
|
|
4058
|
+
(se(!0), ke(Pe, null, Je(r.activities, (j, L) => (se(), Ve(i, {
|
|
4057
4059
|
key: L,
|
|
4058
4060
|
timestamp: j.timestamp,
|
|
4059
4061
|
placement: r.timeLineConfig.placement,
|
|
@@ -4066,7 +4068,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4066
4068
|
hollow: r.timeLineConfig.isHollow
|
|
4067
4069
|
}, {
|
|
4068
4070
|
default: ve(() => [
|
|
4069
|
-
|
|
4071
|
+
ha(V.$slots, "content", {
|
|
4070
4072
|
content: j == null ? void 0 : j.content,
|
|
4071
4073
|
timestamp: j == null ? void 0 : j.timestamp
|
|
4072
4074
|
}, void 0, !0)
|
|
@@ -4078,7 +4080,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4078
4080
|
});
|
|
4079
4081
|
};
|
|
4080
4082
|
}
|
|
4081
|
-
}),
|
|
4083
|
+
}), Fn = /* @__PURE__ */ He(Bn, [["__scopeId", "data-v-4172a886"]]), Ln = { class: "line-content" }, On = { class: "line-time" }, Vn = /* @__PURE__ */ El({
|
|
4082
4084
|
__name: "index",
|
|
4083
4085
|
props: {
|
|
4084
4086
|
itemData: {
|
|
@@ -4088,23 +4090,23 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4088
4090
|
},
|
|
4089
4091
|
setup(r) {
|
|
4090
4092
|
const V = r, g = q({}), i = q([]);
|
|
4091
|
-
return
|
|
4093
|
+
return Ze(() => V == null ? void 0 : V.itemData, (o) => {
|
|
4092
4094
|
var j, L;
|
|
4093
4095
|
i.value = (j = o == null ? void 0 : o.find((w) => (w == null ? void 0 : w.key) === "timeLineList")) == null ? void 0 : j.contents, g.value = (L = o == null ? void 0 : o.find((w) => (w == null ? void 0 : w.key) === "timeLineConfig")) == null ? void 0 : L.contents;
|
|
4094
4096
|
}, {
|
|
4095
4097
|
immediate: !0
|
|
4096
|
-
}), (o, j) => (se(),
|
|
4098
|
+
}), (o, j) => (se(), Ve(Fn, {
|
|
4097
4099
|
activities: i.value,
|
|
4098
4100
|
timeLineConfig: g.value
|
|
4099
4101
|
}, {
|
|
4100
4102
|
content: ve(({ content: L, timestamp: w }) => [
|
|
4101
|
-
E("span",
|
|
4102
|
-
E("span",
|
|
4103
|
+
E("span", Ln, De(L), 1),
|
|
4104
|
+
E("span", On, De(w), 1)
|
|
4103
4105
|
]),
|
|
4104
4106
|
_: 1
|
|
4105
4107
|
}, 8, ["activities", "timeLineConfig"]));
|
|
4106
4108
|
}
|
|
4107
|
-
}),
|
|
4109
|
+
}), Rn = /* @__PURE__ */ He(Vn, [["__scopeId", "data-v-b4d9deed"]]), Un = { class: "tabs-content" }, jn = {
|
|
4108
4110
|
__name: "index",
|
|
4109
4111
|
props: {
|
|
4110
4112
|
itemData: {
|
|
@@ -4119,7 +4121,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4119
4121
|
},
|
|
4120
4122
|
setup(r) {
|
|
4121
4123
|
const V = r, g = q([]);
|
|
4122
|
-
return
|
|
4124
|
+
return Ze(
|
|
4123
4125
|
() => V == null ? void 0 : V.itemData,
|
|
4124
4126
|
(i) => {
|
|
4125
4127
|
const o = i.find((j) => (j == null ? void 0 : j.key) == "stepList");
|
|
@@ -4131,11 +4133,11 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4131
4133
|
})));
|
|
4132
4134
|
},
|
|
4133
4135
|
{ immediate: !0, deep: !0 }
|
|
4134
|
-
), (i, o) => (se(), ke("div",
|
|
4135
|
-
ae(
|
|
4136
|
+
), (i, o) => (se(), ke("div", Un, [
|
|
4137
|
+
ae(di, { tabsContents: g.value }, null, 8, ["tabsContents"])
|
|
4136
4138
|
]));
|
|
4137
4139
|
}
|
|
4138
|
-
},
|
|
4140
|
+
}, Pn = /* @__PURE__ */ He(jn, [["__scopeId", "data-v-d3bb10b7"]]), ma = ri("tabComp", {
|
|
4139
4141
|
state: () => ({
|
|
4140
4142
|
itemData: [],
|
|
4141
4143
|
originalData: [],
|
|
@@ -4169,10 +4171,10 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4169
4171
|
this.isEdit = r;
|
|
4170
4172
|
}
|
|
4171
4173
|
}
|
|
4172
|
-
}),
|
|
4174
|
+
}), Kn = { class: "type-select" }, Nn = ["onClick"], Mn = { class: "list-icon" }, Wn = {
|
|
4173
4175
|
__name: "modelSelect",
|
|
4174
4176
|
setup(r) {
|
|
4175
|
-
const V =
|
|
4177
|
+
const V = ma(il), { itemData: g } = nl(V), i = (o) => {
|
|
4176
4178
|
const j = l(g.value);
|
|
4177
4179
|
j.push({
|
|
4178
4180
|
comp: o.comp,
|
|
@@ -4181,9 +4183,9 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4181
4183
|
}), V.setItemData(j);
|
|
4182
4184
|
};
|
|
4183
4185
|
return (o, j) => {
|
|
4184
|
-
const L =
|
|
4185
|
-
return se(), ke("div",
|
|
4186
|
-
(se(!0), ke(
|
|
4186
|
+
const L = je("svg-icon");
|
|
4187
|
+
return se(), ke("div", Kn, [
|
|
4188
|
+
(se(!0), ke(Pe, null, Je(Al(Ao), (w, N) => (se(), ke("div", {
|
|
4187
4189
|
class: "type-list",
|
|
4188
4190
|
key: N
|
|
4189
4191
|
}, [
|
|
@@ -4191,24 +4193,24 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4191
4193
|
class: "list-content",
|
|
4192
4194
|
onClick: (ee) => i(w)
|
|
4193
4195
|
}, [
|
|
4194
|
-
E("div",
|
|
4196
|
+
E("div", Mn, [
|
|
4195
4197
|
ae(L, {
|
|
4196
4198
|
name: w.icon
|
|
4197
4199
|
}, null, 8, ["name"])
|
|
4198
4200
|
]),
|
|
4199
4201
|
E("div", null, De(w.name), 1)
|
|
4200
|
-
], 8,
|
|
4202
|
+
], 8, Nn)
|
|
4201
4203
|
]))), 128))
|
|
4202
4204
|
]);
|
|
4203
4205
|
};
|
|
4204
4206
|
}
|
|
4205
|
-
},
|
|
4207
|
+
}, zn = /* @__PURE__ */ He(Wn, [["__scopeId", "data-v-91799bf8"]]), Jn = { class: "fill-content" }, Hn = { class: "operate-content" }, Gn = { class: "collapse-title-content" }, qn = { class: "collapse-title-item" }, Qn = { key: 1 }, Xn = ["onClick"], Yn = { class: "icon-content" }, Zn = {
|
|
4206
4208
|
key: 0,
|
|
4207
4209
|
class: "edit-content"
|
|
4208
|
-
},
|
|
4210
|
+
}, eo = ["onClick"], lo = { class: "comp-child" }, ao = {
|
|
4209
4211
|
__name: "modelFill",
|
|
4210
4212
|
setup(r) {
|
|
4211
|
-
const V =
|
|
4213
|
+
const V = ma(il), { itemData: g, originalData: i } = nl(V), o = q([]);
|
|
4212
4214
|
q([]);
|
|
4213
4215
|
const j = q([]), L = q([]), w = (_e) => {
|
|
4214
4216
|
var be;
|
|
@@ -4225,7 +4227,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4225
4227
|
const T = l(g.value), S = T == null ? void 0 : T.filter((d, f) => (f === _e && (d.name = te), d));
|
|
4226
4228
|
V.setOriginalData(S), V.setItemData(S);
|
|
4227
4229
|
};
|
|
4228
|
-
|
|
4230
|
+
Ze(
|
|
4229
4231
|
() => g.value,
|
|
4230
4232
|
() => {
|
|
4231
4233
|
var _e, te, be;
|
|
@@ -4236,7 +4238,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4236
4238
|
},
|
|
4237
4239
|
{ deep: !0, immediate: !0 }
|
|
4238
4240
|
);
|
|
4239
|
-
const O = (_e) =>
|
|
4241
|
+
const O = (_e) => Ea(_e), ce = (_e, te, be) => {
|
|
4240
4242
|
var S, me;
|
|
4241
4243
|
if (!_e) return;
|
|
4242
4244
|
let T = l(g.value);
|
|
@@ -4244,7 +4246,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4244
4246
|
id: f,
|
|
4245
4247
|
content: !1
|
|
4246
4248
|
})), V.setOriginalData(T), V.setItemData(T);
|
|
4247
|
-
},
|
|
4249
|
+
}, ne = (_e) => {
|
|
4248
4250
|
bl.confirm("是否确认要删除", "", {
|
|
4249
4251
|
confirmButtonText: "确认",
|
|
4250
4252
|
cancelButtonText: "取消",
|
|
@@ -4259,68 +4261,68 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4259
4261
|
});
|
|
4260
4262
|
};
|
|
4261
4263
|
return (_e, te) => {
|
|
4262
|
-
const be =
|
|
4263
|
-
return se(), ke("div",
|
|
4264
|
+
const be = je("svg-icon");
|
|
4265
|
+
return se(), ke("div", Jn, [
|
|
4264
4266
|
te[1] || (te[1] = E("div", { class: "fill-operate" }, De("操作栏"), -1)),
|
|
4265
|
-
E("div",
|
|
4266
|
-
ae(
|
|
4267
|
+
E("div", Hn, [
|
|
4268
|
+
ae(Ci, {
|
|
4267
4269
|
class: "collapse-content",
|
|
4268
4270
|
collapseContents: o.value
|
|
4269
4271
|
}, {
|
|
4270
4272
|
title: ve(({ item: T, index: S }) => {
|
|
4271
4273
|
var me, d, f, m, k, ue, ge, Ie, Fe, C;
|
|
4272
4274
|
return [
|
|
4273
|
-
E("div",
|
|
4274
|
-
E("div",
|
|
4275
|
-
(d = (me = L.value) == null ? void 0 : me.find((Z) => Z.id === S)) != null && d.content ?
|
|
4275
|
+
E("div", Gn, [
|
|
4276
|
+
E("div", qn, [
|
|
4277
|
+
(d = (me = L.value) == null ? void 0 : me.find((Z) => Z.id === S)) != null && d.content ? Ye("", !0) : (se(), ke("div", {
|
|
4276
4278
|
key: 0,
|
|
4277
4279
|
class: "collapse-title",
|
|
4278
|
-
style:
|
|
4280
|
+
style: ui({ marginRight: T.name && T.name !== "" ? "8px" : "0px" })
|
|
4279
4281
|
}, De(T.name), 5)),
|
|
4280
|
-
(m = (f = L.value) == null ? void 0 : f.find((Z) => Z.id === S)) != null && m.content ? (se(), ke("div",
|
|
4281
|
-
ae(
|
|
4282
|
+
(m = (f = L.value) == null ? void 0 : f.find((Z) => Z.id === S)) != null && m.content ? (se(), ke("div", Qn, [
|
|
4283
|
+
ae(ti, {
|
|
4282
4284
|
modelValue: T.name,
|
|
4283
4285
|
"onUpdate:modelValue": (Z) => T.name = Z,
|
|
4284
|
-
onClick: te[0] || (te[0] =
|
|
4286
|
+
onClick: te[0] || (te[0] = ca(() => {
|
|
4285
4287
|
}, ["stop"]))
|
|
4286
4288
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
4287
|
-
])) :
|
|
4288
|
-
(ue = (k = L.value) == null ? void 0 : k.find((Z) => Z.id === S)) != null && ue.content ?
|
|
4289
|
+
])) : Ye("", !0),
|
|
4290
|
+
(ue = (k = L.value) == null ? void 0 : k.find((Z) => Z.id === S)) != null && ue.content ? Ye("", !0) : (se(), ke("div", {
|
|
4289
4291
|
key: 2,
|
|
4290
|
-
onClick:
|
|
4292
|
+
onClick: ca((Z) => w(S), ["stop"]),
|
|
4291
4293
|
class: "icon-content"
|
|
4292
4294
|
}, [
|
|
4293
4295
|
ae(be, {
|
|
4294
4296
|
name: "Edit",
|
|
4295
4297
|
style: { width: "16px", height: "16px" }
|
|
4296
4298
|
})
|
|
4297
|
-
], 8,
|
|
4299
|
+
], 8, Xn))
|
|
4298
4300
|
]),
|
|
4299
|
-
E("div",
|
|
4300
|
-
(Ie = (ge = L.value) == null ? void 0 : ge.find((Z) => Z.id === S)) != null && Ie.content ? (se(), ke("div",
|
|
4301
|
+
E("div", Yn, [
|
|
4302
|
+
(Ie = (ge = L.value) == null ? void 0 : ge.find((Z) => Z.id === S)) != null && Ie.content ? (se(), ke("div", Zn, [
|
|
4301
4303
|
ae(be, {
|
|
4302
4304
|
name: "Cancel",
|
|
4303
4305
|
style: { width: "16px", height: "16px" },
|
|
4304
4306
|
class: "icon-content",
|
|
4305
|
-
onClick:
|
|
4307
|
+
onClick: ca((Z) => N(S), ["stop"])
|
|
4306
4308
|
}, null, 8, ["onClick"]),
|
|
4307
4309
|
ae(be, {
|
|
4308
4310
|
name: "Save",
|
|
4309
|
-
onClick:
|
|
4311
|
+
onClick: ca((Z) => ee(S, T.name), ["stop"]),
|
|
4310
4312
|
style: { width: "16px", height: "16px", fill: "var(--ssComponent-primary-color)" },
|
|
4311
4313
|
class: "icon-content"
|
|
4312
4314
|
}, null, 8, ["onClick"])
|
|
4313
|
-
])) :
|
|
4314
|
-
(C = (Fe = L.value) == null ? void 0 : Fe.find((Z) => Z.id === S)) != null && C.content ?
|
|
4315
|
+
])) : Ye("", !0),
|
|
4316
|
+
(C = (Fe = L.value) == null ? void 0 : Fe.find((Z) => Z.id === S)) != null && C.content ? Ye("", !0) : (se(), ke("div", {
|
|
4315
4317
|
key: 1,
|
|
4316
|
-
onClick:
|
|
4318
|
+
onClick: ca((Z) => ne(S), ["stop"]),
|
|
4317
4319
|
class: "icon-content"
|
|
4318
4320
|
}, [
|
|
4319
4321
|
ae(be, {
|
|
4320
4322
|
name: "Delete",
|
|
4321
4323
|
style: { width: "16px", height: "16px" }
|
|
4322
4324
|
})
|
|
4323
|
-
], 8,
|
|
4325
|
+
], 8, eo))
|
|
4324
4326
|
])
|
|
4325
4327
|
])
|
|
4326
4328
|
];
|
|
@@ -4328,8 +4330,8 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4328
4330
|
content: ve(({ item: T, index: S }) => {
|
|
4329
4331
|
var me, d;
|
|
4330
4332
|
return [
|
|
4331
|
-
E("div",
|
|
4332
|
-
(se(),
|
|
4333
|
+
E("div", lo, [
|
|
4334
|
+
(se(), Ve(ta(O(T.comp + "Operate")), {
|
|
4333
4335
|
itemContents: T == null ? void 0 : T.compData,
|
|
4334
4336
|
originalItemContents: (d = (me = j.value) == null ? void 0 : me.find((f, m) => m === S)) == null ? void 0 : d.compData,
|
|
4335
4337
|
onChange: (f) => ce(f, T, S)
|
|
@@ -4343,14 +4345,14 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4343
4345
|
]);
|
|
4344
4346
|
};
|
|
4345
4347
|
}
|
|
4346
|
-
},
|
|
4348
|
+
}, io = /* @__PURE__ */ He(ao, [["__scopeId", "data-v-78d7fc46"]]), so = {
|
|
4347
4349
|
key: 0,
|
|
4348
4350
|
class: "show-content"
|
|
4349
|
-
},
|
|
4351
|
+
}, no = { style: { display: "flex" } }, oo = {
|
|
4350
4352
|
__name: "modelShow",
|
|
4351
4353
|
setup(r) {
|
|
4352
|
-
const V =
|
|
4353
|
-
|
|
4354
|
+
const V = ma(il), { itemData: g } = nl(V), i = q([]);
|
|
4355
|
+
Ze(
|
|
4354
4356
|
() => g.value,
|
|
4355
4357
|
() => {
|
|
4356
4358
|
var j;
|
|
@@ -4358,28 +4360,28 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4358
4360
|
},
|
|
4359
4361
|
{ deep: !0, immediate: !0 }
|
|
4360
4362
|
);
|
|
4361
|
-
const o = (j) =>
|
|
4363
|
+
const o = (j) => Ea(j);
|
|
4362
4364
|
return (j, L) => {
|
|
4363
4365
|
var w;
|
|
4364
|
-
return ((w = i.value) == null ? void 0 : w.length) > 0 ? (se(), ke("div",
|
|
4365
|
-
(se(!0), ke(
|
|
4366
|
+
return ((w = i.value) == null ? void 0 : w.length) > 0 ? (se(), ke("div", so, [
|
|
4367
|
+
(se(!0), ke(Pe, null, Je(i.value, (N, ee) => (se(), ke("div", {
|
|
4366
4368
|
class: "item-content",
|
|
4367
4369
|
key: ee
|
|
4368
4370
|
}, [
|
|
4369
|
-
E("div",
|
|
4370
|
-
(se(),
|
|
4371
|
+
E("div", no, De(N.name), 1),
|
|
4372
|
+
(se(), Ve(ta(o(N.comp)), {
|
|
4371
4373
|
itemData: N == null ? void 0 : N.compData,
|
|
4372
4374
|
childItemData: N == null ? void 0 : N.itemChildData,
|
|
4373
4375
|
key: ee
|
|
4374
4376
|
}, null, 8, ["itemData", "childItemData"]))
|
|
4375
4377
|
]))), 128))
|
|
4376
|
-
])) :
|
|
4378
|
+
])) : Ye("", !0);
|
|
4377
4379
|
};
|
|
4378
4380
|
}
|
|
4379
|
-
},
|
|
4381
|
+
}, uo = /* @__PURE__ */ He(oo, [["__scopeId", "data-v-3f3e863e"]]), ro = { class: "tabs-header" }, co = { class: "tabs-list" }, to = { class: "tab-name" }, po = { class: "tab-actions" }, fo = ["onClick"], ho = ["onClick"], vo = ["onClick"], mo = { class: "model-operate" }, yo = {
|
|
4380
4382
|
class: "model-select",
|
|
4381
4383
|
style: { display: "unset" }
|
|
4382
|
-
},
|
|
4384
|
+
}, go = { class: "existing-components" }, bo = { class: "component-list" }, ko = ["onClick"], _o = { class: "component-info" }, Co = { class: "component-type" }, wo = { class: "component-name" }, Do = { class: "model-fill" }, Io = {
|
|
4383
4385
|
__name: "operate",
|
|
4384
4386
|
props: {
|
|
4385
4387
|
itemContents: {
|
|
@@ -4389,7 +4391,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4389
4391
|
},
|
|
4390
4392
|
emits: ["change"],
|
|
4391
4393
|
setup(r, { emit: V }) {
|
|
4392
|
-
const g = r, i = V, o = q([]), j = q(!1), L = q(""), w = q({ title: "" }), N = q(-1), ee = q(!1), O = q(-1), ce = q(/* @__PURE__ */ new Map()),
|
|
4394
|
+
const g = r, i = V, o = q([]), j = q(!1), L = q(""), w = q({ title: "" }), N = q(-1), ee = q(!1), O = q(-1), ce = q(/* @__PURE__ */ new Map()), ne = q(null), _e = ma(il), { itemData: te } = nl(_e), be = () => {
|
|
4393
4395
|
L.value = "新增标签页", w.value.title = "", N.value = -1, j.value = !0;
|
|
4394
4396
|
}, T = (B) => {
|
|
4395
4397
|
L.value = "修改标签页", w.value.title = o.value[B].title, N.value = B, j.value = !0;
|
|
@@ -4418,11 +4420,11 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4418
4420
|
var z;
|
|
4419
4421
|
O.value = B;
|
|
4420
4422
|
const u = f(B);
|
|
4421
|
-
|
|
4423
|
+
ne.value = l(te.value);
|
|
4422
4424
|
let X = ce.value.get(u);
|
|
4423
4425
|
!X && ((z = o.value[B].children) == null ? void 0 : z.length) > 0 && (X = Ie(o.value[B].children)), X ? _e.setItemData(l(X)) : _e.setItemData([]), ee.value = !0;
|
|
4424
|
-
}, k =
|
|
4425
|
-
const B =
|
|
4426
|
+
}, k = xa(() => {
|
|
4427
|
+
const B = Ta(il), u = nl(B).itemData.value;
|
|
4426
4428
|
return console.log("可用组件数据", u), !u || !Array.isArray(u) ? [] : u.filter((X) => {
|
|
4427
4429
|
var z;
|
|
4428
4430
|
if (X.comp === "Tabs" && O.value >= 0) {
|
|
@@ -4496,9 +4498,9 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4496
4498
|
const B = f(O.value);
|
|
4497
4499
|
ce.value.set(B, l(te.value)), o.value[O.value].children = c(te.value), console.log("保存后的数据", c(te.value));
|
|
4498
4500
|
}
|
|
4499
|
-
ee.value = !1, O.value = -1,
|
|
4501
|
+
ee.value = !1, O.value = -1, ne.value = null, H();
|
|
4500
4502
|
}, x = () => {
|
|
4501
|
-
|
|
4503
|
+
ne.value && _e.setItemData(l(ne.value)), ee.value = !1, O.value = -1, ne.value = null;
|
|
4502
4504
|
}, s = () => {
|
|
4503
4505
|
ee.value && x();
|
|
4504
4506
|
}, c = (B) => {
|
|
@@ -4599,7 +4601,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4599
4601
|
];
|
|
4600
4602
|
i("change", B);
|
|
4601
4603
|
};
|
|
4602
|
-
return
|
|
4604
|
+
return Ze(
|
|
4603
4605
|
() => g.itemContents,
|
|
4604
4606
|
(B) => {
|
|
4605
4607
|
if (B && B.length > 0) {
|
|
@@ -4615,9 +4617,9 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4615
4617
|
},
|
|
4616
4618
|
{ immediate: !0, deep: !0 }
|
|
4617
4619
|
), (B, u) => {
|
|
4618
|
-
const X =
|
|
4620
|
+
const X = je("svg-icon"), z = je("el-input"), pe = je("el-form-item"), Q = je("el-form");
|
|
4619
4621
|
return se(), ke("div", null, [
|
|
4620
|
-
E("div",
|
|
4622
|
+
E("div", ro, [
|
|
4621
4623
|
u[6] || (u[6] = E("h4", null, "标签页管理", -1)),
|
|
4622
4624
|
E("button", { onClick: be }, [
|
|
4623
4625
|
ae(X, {
|
|
@@ -4627,26 +4629,26 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4627
4629
|
u[5] || (u[5] = Be(" 新增标签页 "))
|
|
4628
4630
|
])
|
|
4629
4631
|
]),
|
|
4630
|
-
E("div",
|
|
4631
|
-
(se(!0), ke(
|
|
4632
|
+
E("div", co, [
|
|
4633
|
+
(se(!0), ke(Pe, null, Je(o.value, (R, P) => (se(), ke("div", {
|
|
4632
4634
|
class: "tab-item",
|
|
4633
4635
|
key: P
|
|
4634
4636
|
}, [
|
|
4635
|
-
E("span",
|
|
4636
|
-
E("div",
|
|
4637
|
+
E("span", to, De(R.title), 1),
|
|
4638
|
+
E("div", po, [
|
|
4637
4639
|
E("button", {
|
|
4638
4640
|
onClick: (U) => T(P)
|
|
4639
|
-
}, "修改标题", 8,
|
|
4641
|
+
}, "修改标题", 8, fo),
|
|
4640
4642
|
E("button", {
|
|
4641
4643
|
onClick: (U) => m(P)
|
|
4642
|
-
}, "布局调整", 8,
|
|
4644
|
+
}, "布局调整", 8, ho),
|
|
4643
4645
|
E("button", {
|
|
4644
4646
|
onClick: (U) => S(P)
|
|
4645
|
-
}, "删除", 8,
|
|
4647
|
+
}, "删除", 8, vo)
|
|
4646
4648
|
])
|
|
4647
4649
|
]))), 128))
|
|
4648
4650
|
]),
|
|
4649
|
-
ae(
|
|
4651
|
+
ae(al, {
|
|
4650
4652
|
modelValue: j.value,
|
|
4651
4653
|
"onUpdate:modelValue": u[2] || (u[2] = (R) => j.value = R),
|
|
4652
4654
|
title: L.value,
|
|
@@ -4686,7 +4688,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4686
4688
|
]),
|
|
4687
4689
|
_: 1
|
|
4688
4690
|
}, 8, ["modelValue", "title"]),
|
|
4689
|
-
ae(
|
|
4691
|
+
ae(al, {
|
|
4690
4692
|
modelValue: ee.value,
|
|
4691
4693
|
"onUpdate:modelValue": u[4] || (u[4] = (R) => ee.value = R),
|
|
4692
4694
|
title: "布局调整",
|
|
@@ -4698,23 +4700,23 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4698
4700
|
E("button", { onClick: Z }, "确定")
|
|
4699
4701
|
]),
|
|
4700
4702
|
default: ve(() => [
|
|
4701
|
-
E("div",
|
|
4702
|
-
E("div",
|
|
4703
|
-
ae(
|
|
4704
|
-
E("div",
|
|
4703
|
+
E("div", mo, [
|
|
4704
|
+
E("div", yo, [
|
|
4705
|
+
ae(zn),
|
|
4706
|
+
E("div", go, [
|
|
4705
4707
|
u[8] || (u[8] = E("h5", null, "添加已有组件", -1)),
|
|
4706
|
-
E("div",
|
|
4707
|
-
(se(!0), ke(
|
|
4708
|
+
E("div", bo, [
|
|
4709
|
+
(se(!0), ke(Pe, null, Je(k.value, (R) => (se(), ke("div", {
|
|
4708
4710
|
key: R.id,
|
|
4709
4711
|
class: "component-item",
|
|
4710
4712
|
onClick: (P) => ge(R)
|
|
4711
4713
|
}, [
|
|
4712
|
-
E("div",
|
|
4713
|
-
E("span",
|
|
4714
|
-
E("span",
|
|
4714
|
+
E("div", _o, [
|
|
4715
|
+
E("span", Co, De(ue(R.comp)), 1),
|
|
4716
|
+
E("span", wo, De(R.name), 1)
|
|
4715
4717
|
]),
|
|
4716
4718
|
u[7] || (u[7] = E("button", { class: "add-btn" }, "添加", -1))
|
|
4717
|
-
], 8,
|
|
4719
|
+
], 8, ko))), 128))
|
|
4718
4720
|
])
|
|
4719
4721
|
])
|
|
4720
4722
|
]),
|
|
@@ -4722,10 +4724,10 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4722
4724
|
class: "model-show",
|
|
4723
4725
|
key: B.innerWidth
|
|
4724
4726
|
}, [
|
|
4725
|
-
ae(
|
|
4727
|
+
ae(uo)
|
|
4726
4728
|
])),
|
|
4727
|
-
E("div",
|
|
4728
|
-
ae(
|
|
4729
|
+
E("div", Do, [
|
|
4730
|
+
ae(io)
|
|
4729
4731
|
])
|
|
4730
4732
|
])
|
|
4731
4733
|
]),
|
|
@@ -4734,7 +4736,7 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4734
4736
|
]);
|
|
4735
4737
|
};
|
|
4736
4738
|
}
|
|
4737
|
-
},
|
|
4739
|
+
}, xo = /* @__PURE__ */ He(Io, [["__scopeId", "data-v-151936e8"]]), Ao = q([
|
|
4738
4740
|
{
|
|
4739
4741
|
name: "表格",
|
|
4740
4742
|
type: "table",
|
|
@@ -4783,43 +4785,43 @@ const gn = /* @__PURE__ */ He(mn, [["render", yn]]), bn = { class: "module conte
|
|
|
4783
4785
|
comp: "Tabs",
|
|
4784
4786
|
icon: "Tabs"
|
|
4785
4787
|
}
|
|
4786
|
-
]),
|
|
4787
|
-
TABLE:
|
|
4788
|
-
FORM:
|
|
4789
|
-
TABLEOPERATE:
|
|
4790
|
-
FORMOPERATE:
|
|
4791
|
-
FOLD:
|
|
4792
|
-
CALCULATOR:
|
|
4793
|
-
METHODBUTTON:
|
|
4794
|
-
AVATARUPLOAD:
|
|
4795
|
-
SIGNATURE:
|
|
4796
|
-
FORMTOP:
|
|
4797
|
-
STEP:
|
|
4798
|
-
STEPOPERATE:
|
|
4799
|
-
TIMELINE:
|
|
4800
|
-
TIMELINEOPERATE:
|
|
4801
|
-
FORMTOPOPERATE:
|
|
4802
|
-
SIGNATUREOPERATE:
|
|
4803
|
-
AVATARUPLOADOPERATE:
|
|
4804
|
-
TABS:
|
|
4805
|
-
TABSOPERATE:
|
|
4788
|
+
]), To = {
|
|
4789
|
+
TABLE: si,
|
|
4790
|
+
FORM: Ra,
|
|
4791
|
+
TABLEOPERATE: Ts,
|
|
4792
|
+
FORMOPERATE: Ua,
|
|
4793
|
+
FOLD: nn,
|
|
4794
|
+
CALCULATOR: tn,
|
|
4795
|
+
METHODBUTTON: bn,
|
|
4796
|
+
AVATARUPLOAD: _i,
|
|
4797
|
+
SIGNATURE: ki,
|
|
4798
|
+
FORMTOP: Ra,
|
|
4799
|
+
STEP: $n,
|
|
4800
|
+
STEPOPERATE: qs,
|
|
4801
|
+
TIMELINE: Rn,
|
|
4802
|
+
TIMELINEOPERATE: ln,
|
|
4803
|
+
FORMTOPOPERATE: Ua,
|
|
4804
|
+
SIGNATUREOPERATE: Tn,
|
|
4805
|
+
AVATARUPLOADOPERATE: Cn,
|
|
4806
|
+
TABS: Pn,
|
|
4807
|
+
TABSOPERATE: xo
|
|
4806
4808
|
// 添加其他组件...
|
|
4807
4809
|
};
|
|
4808
|
-
function
|
|
4809
|
-
return
|
|
4810
|
+
function Ea(r) {
|
|
4811
|
+
return To[r == null ? void 0 : r.toUpperCase()] || null;
|
|
4810
4812
|
}
|
|
4811
4813
|
export {
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4814
|
+
fa as a,
|
|
4815
|
+
ja as b,
|
|
4816
|
+
Ko as c,
|
|
4817
|
+
jo as d,
|
|
4818
|
+
Po as e,
|
|
4819
|
+
Mo as f,
|
|
4820
|
+
Ea as g,
|
|
4821
|
+
No as h,
|
|
4822
|
+
Di as i,
|
|
4823
|
+
Wo as j,
|
|
4824
|
+
Da as k,
|
|
4825
|
+
mn as o,
|
|
4826
|
+
Ao as s
|
|
4825
4827
|
};
|