ss-component-new 1.1.851 → 1.1.852
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/{index-_UKq7Tzs.js → index-2lspWvja.js} +49 -49
- package/dist/{index-B4K5s54g.cjs → index-BC0p96uR.cjs} +1 -1
- package/dist/{index-DcoYJZ-4.cjs → index-COWe3VJn.cjs} +1 -1
- package/dist/{index-Bxk6K0xj.js → index-CbqeLU7o.js} +3 -3
- package/dist/{index-CCg-D-79.js → index-CdDbPM8L.js} +5 -5
- package/dist/{index-DKMRq0Jy.cjs → index-Ct-D29pp.cjs} +1 -1
- package/dist/{index-DwR5jrRh.js → index-CtEmich4.js} +1 -1
- package/dist/{index-DSP7iewc.js → index-DYUQPnZE.js} +1 -1
- package/dist/{index-C3uUYJBW.cjs → index-Dp6A0Dpg.cjs} +1 -1
- package/dist/{index-D6xQjT-9.cjs → index-g6eINKBK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_3e6df338_lang-DcG-FlrU.cjs → index.vue_vue_type_style_index_0_scoped_3e6df338_lang-Bhy_oKUX.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_3e6df338_lang-BWGpsHdM.js → index.vue_vue_type_style_index_0_scoped_3e6df338_lang-DVDiYjLR.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-BT1fe1Ed.cjs → index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-BS8rGxym.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-B93SADzq.js → index.vue_vue_type_style_index_0_scoped_86d2b6b8_lang-BjckpouC.js} +1 -1
- package/dist/{main-BUCZ9Ezf.cjs → main-BblWbwWd.cjs} +1 -1
- package/dist/{main-CefLdyUh.js → main-PIO1Ngih.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +3 -3
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { b as Rs, a as Us, f as Ps, g as js, c as Ds, i as ps, u as Ks, s as Vs
|
|
|
2
2
|
import { computed as Kl, ref as j, watch as _l, onUnmounted as Ms, resolveComponent as al, createElementBlock as Ce, openBlock as J, createVNode as N, createBlock as nl, createCommentVNode as Ol, withCtx as oe, createElementVNode as A, Fragment as dl, renderList as hl, toDisplayString as Ke, nextTick as is, createTextVNode as qe, unref as Pl, defineComponent as zl, reactive as Ta, resolveDynamicComponent as ka, renderSlot as Ua, createSlots as Ns, mergeProps as Ws, normalizeStyle as ns, withModifiers as Da, onMounted as Na, getCurrentInstance as zs } from "vue";
|
|
3
3
|
import { bu as Hs, bv as Gs, s as ml, p as yl, u as Wa, c as s, E as pl, b as Qa, g as Tl, f as Ea, bp as Za, bo as es, d as xa, e as Ss, bw as Js, r as qs, bq as Xs } from "./index-DWHN8dvC.js";
|
|
4
4
|
import { e as Al, b as os, f as xs, s as Fl, E as Is, a as fs, h as Ys, i as Qs, c as Zs, j as vs } from "./index-BXXkA-MN.js";
|
|
5
|
-
import { F as ei, j as li, S as ai, e as Bl, f as Sa, s as ql, h as
|
|
5
|
+
import { F as ei, j as li, S as ai, e as Bl, f as Sa, s as ql, h as ba, k as qa, l as si, n as Fa } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DbJE7KPk.js";
|
|
6
6
|
import { a as $a, u as za, i as Ha, ap as ls, j as El, E as Xl, aq as ii, ar as ni, as as oi, at as ui, au as ri, av as ti, aw as ci, ax as di } from "./index.vue_vue_type_style_index_1_lang-BgU9xv6G.js";
|
|
7
7
|
import { t as pi } from "./threeViewerHost-OWJ7lVVp.js";
|
|
8
8
|
import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -364,29 +364,29 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
364
364
|
const e = (ge = a.itemData) == null ? void 0 : ge.find((me) => (me == null ? void 0 : me.key) === "formContent"), n = (B = s(a.itemData)) == null ? void 0 : B.find((me) => (me == null ? void 0 : me.key) === "formButton"), f = (ie = s(a.itemData)) == null ? void 0 : ie.find((me) => (me == null ? void 0 : me.key) === "formFlex"), C = (re = s(a.itemData)) == null ? void 0 : re.find((me) => (me == null ? void 0 : me.key) === "formWrap"), U = (Be = s(a.itemData)) == null ? void 0 : Be.find((me) => (me == null ? void 0 : me.key) === "enableWrap");
|
|
365
365
|
if ((C == null ? void 0 : C.contents) === "纵向" ? d.value = !1 : d.value = !0, te.value = (U == null ? void 0 : U.contents) === void 0 ? !1 : U == null ? void 0 : U.contents, m.value = typeof (f == null ? void 0 : f.contents) != "boolean" ? !(!(f != null && f.contents) === "" || ((ee = f == null ? void 0 : f.contents) == null ? void 0 : ee.toUpperCase()) === "VERTICAL") : f == null ? void 0 : f.contents, ((le = e == null ? void 0 : e.contents) == null ? void 0 : le.length) > 0 && Array.isArray(e == null ? void 0 : e.contents)) {
|
|
366
366
|
const me = await ((P = e == null ? void 0 : e.contents) == null ? void 0 : P.map(async (r, Te) => {
|
|
367
|
-
var sl, el, ll, bl, il, kl, xl, vl,
|
|
367
|
+
var sl, el, ll, bl, il, kl, xl, vl, aa, sa, ia, na, oa, ua, ra, ta, ca, da, pa, fa, va, Hl, Ca, fl, wl, Gl;
|
|
368
368
|
let se = (r == null ? void 0 : r.label) ?? (r == null ? void 0 : r.key) ?? "", ze = (r == null ? void 0 : r.type) ?? "", ye = (r == null ? void 0 : r.options) ?? [];
|
|
369
369
|
if ((sl = r == null ? void 0 : r.key) != null && sl.includes("$") && (se = (el = s(r == null ? void 0 : r.key).split("$")) == null ? void 0 : el[0], ((bl = (ll = s(r == null ? void 0 : r.key).split("$")) == null ? void 0 : ll[1]) == null ? void 0 : bl.length) > 0)) {
|
|
370
370
|
const [Oe, Ye] = (kl = (il = s(r == null ? void 0 : r.key).split("$")) == null ? void 0 : il[1]) == null ? void 0 : kl.split(/[()]/);
|
|
371
|
-
ze = ((xl = ei.find(($e) => ($e == null ? void 0 : $e.key) === Oe)) == null ? void 0 : xl.value) ?? "", ((vl = Ye == null ? void 0 : Ye.split(",")) == null ? void 0 : vl.length) > 0 && (ye = (
|
|
371
|
+
ze = ((xl = ei.find(($e) => ($e == null ? void 0 : $e.key) === Oe)) == null ? void 0 : xl.value) ?? "", ((vl = Ye == null ? void 0 : Ye.split(",")) == null ? void 0 : vl.length) > 0 && (ye = (aa = Ye == null ? void 0 : Ye.split(",")) == null ? void 0 : aa.map(($e) => ({
|
|
372
372
|
label: $e,
|
|
373
373
|
value: $e
|
|
374
374
|
})));
|
|
375
375
|
}
|
|
376
376
|
let Ee = [];
|
|
377
|
-
r != null && r.contents && !Array.isArray(r == null ? void 0 : r.contents) && (Ee = (
|
|
377
|
+
r != null && r.contents && !Array.isArray(r == null ? void 0 : r.contents) && (Ee = (ia = (sa = r == null ? void 0 : r.contents) == null ? void 0 : sa.split(",")) == null ? void 0 : ia.map((Oe) => ({
|
|
378
378
|
label: Oe,
|
|
379
379
|
value: Oe
|
|
380
|
-
}))), ((
|
|
380
|
+
}))), ((na = r == null ? void 0 : r.optionUrl) == null ? void 0 : na.selectRelateType) === "自定义绑定" && (Ee = (ua = (oa = r == null ? void 0 : r.optionUrl) == null ? void 0 : oa.defaultSelect) == null ? void 0 : ua.map((Oe) => ({
|
|
381
381
|
label: Oe,
|
|
382
382
|
value: Oe
|
|
383
383
|
})));
|
|
384
|
-
let je = !1, ne = (r == null ? void 0 : r.isFormColHidden) ?? !1, Me = await li((
|
|
384
|
+
let je = !1, ne = (r == null ? void 0 : r.isFormColHidden) ?? !1, Me = await li((ra = s(r)) == null ? void 0 : ra.optionUrl), Ue = Me !== void 0 && Me !== "" ? Me : r != null && r.originalContent && (r == null ? void 0 : r.originalContent) !== "" ? r.originalContent : r != null && r.value ? r.value : (ye == null ? void 0 : ye.length) > 0 ? (ta = ye == null ? void 0 : ye[0]) == null ? void 0 : ta.value : (r == null ? void 0 : r.value) ?? "", tl = !1, cl = Me !== void 0 || ze === "" ? "Input" : ze;
|
|
385
385
|
if (Array.isArray(Me) && (Me != null && Me.every((Oe) => (Oe == null ? void 0 : Oe.name) && (Oe == null ? void 0 : Oe.url))) && (cl = "upload"), typeof Ue == "string" && (Ue != null && Ue.includes("loginUser")) && !(Ue != null && Ue.includes("loginUserSign")) || r != null && r.isLoginUser)
|
|
386
|
-
je = !0, Ue = ((
|
|
386
|
+
je = !0, Ue = ((ca = h.value) == null ? void 0 : ca.姓名) || ((da = h.value) == null ? void 0 : da.userName) || ((pa = h.value) == null ? void 0 : pa.account);
|
|
387
387
|
else if (typeof Ue == "string" && (Ue != null && Ue.includes("loginUserSign")) || r != null && r.signature || r != null && r.isShow)
|
|
388
388
|
if (tl = !0, (r == null ? void 0 : r.isShow) === "originalSignature")
|
|
389
|
-
cl = "image", Ue = ve.value + "/" + ((
|
|
389
|
+
cl = "image", Ue = ve.value + "/" + ((fa = h.value) == null ? void 0 : fa.signature);
|
|
390
390
|
else {
|
|
391
391
|
let Oe = [...new Set(fe(r.isShow))].map((We) => {
|
|
392
392
|
var Rl, Ul, Nl, Vl;
|
|
@@ -395,7 +395,7 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
395
395
|
value: ""
|
|
396
396
|
};
|
|
397
397
|
});
|
|
398
|
-
(
|
|
398
|
+
(va = Xe.value) == null || va.forEach((We) => {
|
|
399
399
|
Oe == null || Oe.forEach((Il, Rl) => {
|
|
400
400
|
var Nl;
|
|
401
401
|
let Ul = Il == null ? void 0 : Il.key;
|
|
@@ -1217,7 +1217,7 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
1217
1217
|
const M = await Sa(e == null ? void 0 : e.菜单选项);
|
|
1218
1218
|
P = P == null ? void 0 : P.map((L) => ((L == null ? void 0 : L.name) === "组信息选项" && (L.contents = M), L));
|
|
1219
1219
|
}
|
|
1220
|
-
P =
|
|
1220
|
+
P = ba(P), z.value = await ql(s(P));
|
|
1221
1221
|
}
|
|
1222
1222
|
}, x = async (e) => {
|
|
1223
1223
|
await He(e), b.value = z.value;
|
|
@@ -1260,7 +1260,7 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
1260
1260
|
const le = await Sa(e == null ? void 0 : e.menuSelect);
|
|
1261
1261
|
n = n == null ? void 0 : n.map((P) => ((P == null ? void 0 : P.name) === "组信息选项" && (P.contents = le), P));
|
|
1262
1262
|
}
|
|
1263
|
-
T.value = e == null ? void 0 : e.id, b.value = await ql(
|
|
1263
|
+
T.value = e == null ? void 0 : e.id, b.value = await ql(ba(n)), z.value = await ql(ba(n));
|
|
1264
1264
|
}, I = (e) => {
|
|
1265
1265
|
Xl.confirm("是否确认要删除", "", {
|
|
1266
1266
|
confirmButtonText: "确认",
|
|
@@ -2016,7 +2016,7 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
2016
2016
|
const W = await Sa(o == null ? void 0 : o.menuSelect);
|
|
2017
2017
|
t = t == null ? void 0 : t.map((ke) => ((ke == null ? void 0 : ke.name) === "组信息选项" && (ke.contents = W), ke));
|
|
2018
2018
|
}
|
|
2019
|
-
d.value = o == null ? void 0 : o.id, v.value = await ql(
|
|
2019
|
+
d.value = o == null ? void 0 : o.id, v.value = await ql(ba(t)), k.value = await ql(ba(t));
|
|
2020
2020
|
}, F = (o) => {
|
|
2021
2021
|
var I;
|
|
2022
2022
|
p.value = !0;
|
|
@@ -2161,7 +2161,7 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
2161
2161
|
const Ie = await Sa(o == null ? void 0 : o.菜单选项);
|
|
2162
2162
|
H = H == null ? void 0 : H.map((O) => ((O == null ? void 0 : O.name) === "组信息选项" && (O.contents = Ie), O));
|
|
2163
2163
|
}
|
|
2164
|
-
H =
|
|
2164
|
+
H = ba(H), Z(H), k.value = await ql(s(H));
|
|
2165
2165
|
}
|
|
2166
2166
|
}, Xe = (o) => {
|
|
2167
2167
|
o || (v.value = k.value);
|
|
@@ -2207,7 +2207,7 @@ const bi = { class: "form-content" }, ki = { title: "选择标签" }, _i = {
|
|
|
2207
2207
|
var ke;
|
|
2208
2208
|
let W = c;
|
|
2209
2209
|
return W.id = (c == null ? void 0 : c.id) ?? ce, c != null && c.label || (c.label = (c == null ? void 0 : c.key) ?? (c == null ? void 0 : c.label) ?? ""), c != null && c.type || (c.type = (c == null ? void 0 : c.type) ?? ""), c.contents = ((ke = c == null ? void 0 : c.options) == null ? void 0 : ke.length) === 0 ? (c == null ? void 0 : c.contents) ?? "" : c == null ? void 0 : c.options, W;
|
|
2210
|
-
}), g.value =
|
|
2210
|
+
}), g.value = ba(g.value), w.value = (K = w.value) == null ? void 0 : K.map((c, ce) => c = {
|
|
2211
2211
|
label: (c == null ? void 0 : c.label) ?? "",
|
|
2212
2212
|
type: (c == null ? void 0 : c.type) ?? "",
|
|
2213
2213
|
background: (c == null ? void 0 : c.background) ?? "var(--ssComponent-primary-color)",
|
|
@@ -3228,12 +3228,12 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3228
3228
|
else {
|
|
3229
3229
|
let il = "";
|
|
3230
3230
|
(ne = Pa(ee, ":")) == null || ne.forEach((kl) => {
|
|
3231
|
-
var xl, vl,
|
|
3231
|
+
var xl, vl, aa, sa, ia, na, oa, ua, ra, ta, ca, da, pa, fa, va;
|
|
3232
3232
|
if (!(kl != null && kl.includes("(")))
|
|
3233
3233
|
il = il === "" ? il + ((xl = kl == null ? void 0 : kl.replaceAll(":", "")) == null ? void 0 : xl.replaceAll("'", "")) : il + "/" + ((vl = kl == null ? void 0 : kl.replaceAll(":", "")) == null ? void 0 : vl.replaceAll("'", ""));
|
|
3234
3234
|
else {
|
|
3235
|
-
let Hl = (ra = (ua = (oa = (na = (ia = (sa = (aa =
|
|
3236
|
-
Hl = Hl + "[" + ((fa = (pa = (da = (ca =
|
|
3235
|
+
let Hl = (ta = (ra = (ua = (oa = (na = (ia = (sa = (aa = s(kl)) == null ? void 0 : aa.replaceAll("{", "")) == null ? void 0 : sa.replaceAll("}", "")) == null ? void 0 : ia.replace("(", ul)) == null ? void 0 : na.split(ul)) == null ? void 0 : oa[1]) == null ? void 0 : ua.split(")")) == null ? void 0 : ra[0]) == null ? void 0 : ta.replaceAll(":", "/").replaceAll("'", "");
|
|
3236
|
+
Hl = Hl + "[" + ((va = (fa = (pa = (da = (ca = s(kl)) == null ? void 0 : ca.split("[")) == null ? void 0 : da[1]) == null ? void 0 : pa.split("]")) == null ? void 0 : fa[0]) == null ? void 0 : va.replaceAll("'", "")) + "]", il = il === "" ? il + "[" + Hl + "]" : il + "/[" + Hl + "]";
|
|
3237
3237
|
}
|
|
3238
3238
|
}), ee = il + "[" + ((bl = (ll = (el = (sl = (Ue = (Me = s(re)) == null ? void 0 : Me[1]) == null ? void 0 : Ue.split("[")) == null ? void 0 : sl[((Cl = (cl = (tl = s(re)) == null ? void 0 : tl[1]) == null ? void 0 : cl.split("[")) == null ? void 0 : Cl.length) - 1]) == null ? void 0 : el.split("]")) == null ? void 0 : ll[0]) == null ? void 0 : bl.replaceAll("'", "")) + "]";
|
|
3239
3239
|
}
|
|
@@ -3248,14 +3248,14 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3248
3248
|
output: a,
|
|
3249
3249
|
input: i
|
|
3250
3250
|
};
|
|
3251
|
-
}, fo = $a(yl), { routeToChildPath:
|
|
3251
|
+
}, fo = $a(yl), { routeToChildPath: ya } = ml(fo), ma = za(yl), { activeMenuPath: ga } = ml(ma), Aa = Wa(), { loginUserInfo: jl } = ml(Aa), vo = Ha(yl), { originalPath: ho } = ml(vo), Wl = ho.value, yo = async () => {
|
|
3252
3252
|
var v, k, p, w, g, d, R, T, X, $, de, E, F, te, m, _, h, b, z, Z, Ve, Xe, ol, He, x, o, t, I, S, q, be, K, c, ce, W, ke, Fe, Ae, H, Ie, O, V, Pe, _e, Ne, Qe, ue, ve, Se, fe, e, n, f, C, U, Y, ge, B, ie, re, Be;
|
|
3253
|
-
|
|
3253
|
+
ma.setImportLoading(!0);
|
|
3254
3254
|
let l = "";
|
|
3255
3255
|
const y = await Tl({
|
|
3256
3256
|
key: {
|
|
3257
3257
|
type: "structure",
|
|
3258
|
-
pageKey: s(
|
|
3258
|
+
pageKey: s(ya).value,
|
|
3259
3259
|
systemKey: sessionStorage.getItem("systemKey")
|
|
3260
3260
|
}
|
|
3261
3261
|
});
|
|
@@ -3263,8 +3263,8 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3263
3263
|
let ee = (X = (T = (R = (d = (g = (w = (p = y == null ? void 0 : y.data) == null ? void 0 : p.result) == null ? void 0 : w[0]) == null ? void 0 : g.value) == null ? void 0 : d.pageData) == null ? void 0 : R.compData) == null ? void 0 : T.find((le) => (le == null ? void 0 : le.key) === "header")) == null ? void 0 : X.contents;
|
|
3264
3264
|
l = (de = ($ = s(ee)) == null ? void 0 : $[0]) == null ? void 0 : de.label;
|
|
3265
3265
|
}
|
|
3266
|
-
let u =
|
|
3267
|
-
(te =
|
|
3266
|
+
let u = ga.value;
|
|
3267
|
+
(te = ga.value) != null && te.includes(`updateLoading${((E = jl.value) == null ? void 0 : E.account) || ((F = jl.value) == null ? void 0 : F.账号)}`) ? u = s(ga).value : (_ = ga.value) != null && _.includes(`loading${(m = jl.value) == null ? void 0 : m.account}`) && (u = s(ya).value + Wl + `loading${(h = jl.value) == null ? void 0 : h.account}`);
|
|
3268
3268
|
const a = await Tl({
|
|
3269
3269
|
key: {
|
|
3270
3270
|
pageKey: u,
|
|
@@ -3284,11 +3284,11 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3284
3284
|
if (P ? (ee = P == null ? void 0 : P.value, l = P == null ? void 0 : P.key) : ee = (q = (S = (I = (t = (o = (x = (He = (ol = (Xe = a == null ? void 0 : a.data) == null ? void 0 : Xe.result) == null ? void 0 : ol[0]) == null ? void 0 : He.value) == null ? void 0 : x.pageData) == null ? void 0 : o.compData) == null ? void 0 : t.find((M) => (M == null ? void 0 : M.key) === "formContent")) == null ? void 0 : I.contents) == null ? void 0 : S.find((M) => {
|
|
3285
3285
|
var L, G;
|
|
3286
3286
|
return (M == null ? void 0 : M.key) === l || ((G = (L = M == null ? void 0 : M.optionUrl) == null ? void 0 : L.groupSelect) == null ? void 0 : G[1]) === l;
|
|
3287
|
-
})) == null ? void 0 : q.value, (c =
|
|
3287
|
+
})) == null ? void 0 : q.value, (c = ga.value) != null && c.includes(`updateLoading${((be = jl.value) == null ? void 0 : be.account) || ((K = jl.value) == null ? void 0 : K.账号)}`)) {
|
|
3288
3288
|
let M = [], L = [];
|
|
3289
3289
|
const G = await Tl({
|
|
3290
3290
|
key: {
|
|
3291
|
-
pageKey: (Ie =
|
|
3291
|
+
pageKey: (Ie = ga.value.split(Wl + `updateLoading${((Ae = jl.value) == null ? void 0 : Ae.account) || ((H = jl.value) == null ? void 0 : H.账号)}`)) == null ? void 0 : Ie[0],
|
|
3292
3292
|
systemKey: sessionStorage.getItem("systemKey")
|
|
3293
3293
|
}
|
|
3294
3294
|
});
|
|
@@ -3329,7 +3329,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3329
3329
|
return ((je = (Ee = ye == null ? void 0 : ye.value) == null ? void 0 : Ee.pageData) == null ? void 0 : je.name) === ((Me = (ne = D == null ? void 0 : D.value) == null ? void 0 : ne.pageData) == null ? void 0 : Me.name);
|
|
3330
3330
|
})) {
|
|
3331
3331
|
let ye = D == null ? void 0 : D.key;
|
|
3332
|
-
ye.pageKey = s(
|
|
3332
|
+
ye.pageKey = s(ya).value + Wl + ee, i.push({
|
|
3333
3333
|
id: (se = (Te = (r = G == null ? void 0 : G.data) == null ? void 0 : r.result) == null ? void 0 : Te.find((Ee) => {
|
|
3334
3334
|
var je, ne, Me, Ue;
|
|
3335
3335
|
return ((ne = (je = Ee == null ? void 0 : Ee.value) == null ? void 0 : je.pageData) == null ? void 0 : ne.name) === ((Ue = (Me = D == null ? void 0 : D.value) == null ? void 0 : Me.pageData) == null ? void 0 : Ue.name);
|
|
@@ -3339,7 +3339,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3339
3339
|
});
|
|
3340
3340
|
} else {
|
|
3341
3341
|
let ye = D == null ? void 0 : D.key;
|
|
3342
|
-
ye.pageKey = s(
|
|
3342
|
+
ye.pageKey = s(ya).value + Wl + ee, M.push({
|
|
3343
3343
|
key: ye,
|
|
3344
3344
|
value: D == null ? void 0 : D.value
|
|
3345
3345
|
});
|
|
@@ -3349,14 +3349,14 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3349
3349
|
await Promise.all(Je), (Qe = (Ne = a == null ? void 0 : a.data) == null ? void 0 : Ne.result) == null || Qe.forEach((D) => {
|
|
3350
3350
|
var Re, Le, he;
|
|
3351
3351
|
let we = (Re = s(D)) == null ? void 0 : Re.key;
|
|
3352
|
-
we.pageKey = s(
|
|
3352
|
+
we.pageKey = s(ya).value + Wl + ee + Wl + `updateLoading${((Le = jl.value) == null ? void 0 : Le.account) || ((he = jl.value) == null ? void 0 : he.账号)}`, ma.setChildMenu(we.pageKey), i.push({
|
|
3353
3353
|
id: D == null ? void 0 : D.id,
|
|
3354
3354
|
key: we
|
|
3355
3355
|
});
|
|
3356
3356
|
});
|
|
3357
3357
|
}
|
|
3358
3358
|
if (ee === "") {
|
|
3359
|
-
pl.error(`保存失败,${l}的必填字段没有填写`),
|
|
3359
|
+
pl.error(`保存失败,${l}的必填字段没有填写`), ma.setImportLoading(!1);
|
|
3360
3360
|
return;
|
|
3361
3361
|
}
|
|
3362
3362
|
if ((i == null ? void 0 : i.length) > 0) {
|
|
@@ -3373,7 +3373,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3373
3373
|
}, (fe = M == null ? void 0 : M[0]) == null ? void 0 : fe.key));
|
|
3374
3374
|
const xe = await Tl({
|
|
3375
3375
|
key: {
|
|
3376
|
-
pageKey: (f =
|
|
3376
|
+
pageKey: (f = ga.value.split(Wl + `updateLoading${((e = jl.value) == null ? void 0 : e.account) || ((n = jl.value) == null ? void 0 : n.账号)}`)) == null ? void 0 : f[0],
|
|
3377
3377
|
systemKey: sessionStorage.getItem("systemKey")
|
|
3378
3378
|
}
|
|
3379
3379
|
});
|
|
@@ -3394,7 +3394,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3394
3394
|
var ne, Me;
|
|
3395
3395
|
return ((Me = (ne = je == null ? void 0 : je.value) == null ? void 0 : ne.pageData) == null ? void 0 : Me.name) === ze;
|
|
3396
3396
|
})) == null ? void 0 : r.id, Ee = (Te = s(we)) == null ? void 0 : Te.key;
|
|
3397
|
-
Ee.tableId = ye, Ee.pageKey = s(
|
|
3397
|
+
Ee.tableId = ye, Ee.pageKey = s(ya).value + Wl + ee, L.push({
|
|
3398
3398
|
key: Ee,
|
|
3399
3399
|
value: we == null ? void 0 : we.value
|
|
3400
3400
|
});
|
|
@@ -3404,7 +3404,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3404
3404
|
})), (ie = (B = a == null ? void 0 : a.data) == null ? void 0 : B.result) == null || ie.forEach((we) => {
|
|
3405
3405
|
var Le, he, me;
|
|
3406
3406
|
let Re = (Le = s(we)) == null ? void 0 : Le.key;
|
|
3407
|
-
Re.pageKey = s(
|
|
3407
|
+
Re.pageKey = s(ya).value + Wl + ee + Wl + `updateLoading${((he = jl.value) == null ? void 0 : he.account) || ((me = jl.value) == null ? void 0 : me.账号)}`, ma.setChildMenu(Re.pageKey), i.push({
|
|
3408
3408
|
id: we == null ? void 0 : we.id,
|
|
3409
3409
|
key: Re
|
|
3410
3410
|
});
|
|
@@ -3421,12 +3421,12 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3421
3421
|
if ((W = (ce = a == null ? void 0 : a.data) == null ? void 0 : ce.result) == null || W.forEach((M) => {
|
|
3422
3422
|
var G;
|
|
3423
3423
|
let L = (G = s(M)) == null ? void 0 : G.key;
|
|
3424
|
-
L.pageKey = s(
|
|
3424
|
+
L.pageKey = s(ya).value + Wl + ee, ma.setChildMenu(L.pageKey), i.push({
|
|
3425
3425
|
id: M == null ? void 0 : M.id,
|
|
3426
3426
|
key: L
|
|
3427
3427
|
});
|
|
3428
3428
|
}), ee === "") {
|
|
3429
|
-
pl.error(`保存失败,${l}的必填字段没有填写`),
|
|
3429
|
+
pl.error(`保存失败,${l}的必填字段没有填写`), ma.setImportLoading(!1);
|
|
3430
3430
|
return;
|
|
3431
3431
|
}
|
|
3432
3432
|
await Za({
|
|
@@ -3437,7 +3437,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3437
3437
|
}, (Fe = i == null ? void 0 : i[0]) == null ? void 0 : Fe.key), pl.success("保存成功");
|
|
3438
3438
|
}
|
|
3439
3439
|
}
|
|
3440
|
-
|
|
3440
|
+
ma.setImportLoading(!1);
|
|
3441
3441
|
}, mo = {
|
|
3442
3442
|
key: 0,
|
|
3443
3443
|
class: "method-content"
|
|
@@ -3869,7 +3869,7 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3869
3869
|
});
|
|
3870
3870
|
await Promise.all(_e);
|
|
3871
3871
|
let Ne = [], Qe = (ke = (W = (ce = s(x)) == null ? void 0 : ce.extraValues) == null ? void 0 : W.output) == null ? void 0 : ke.map(async (ue) => {
|
|
3872
|
-
var U, Y, ge, B, ie, re, Be, ee, le, P, M, L, G, xe, Je, D, we, Re, Le, he, me, De, Ge, rl, ae, pe, Q, r, Te, se, ze, ye, Ee, je, ne, Me, Ue, tl, cl, Cl, sl, el, ll, bl, il, kl, xl, vl,
|
|
3872
|
+
var U, Y, ge, B, ie, re, Be, ee, le, P, M, L, G, xe, Je, D, we, Re, Le, he, me, De, Ge, rl, ae, pe, Q, r, Te, se, ze, ye, Ee, je, ne, Me, Ue, tl, cl, Cl, sl, el, ll, bl, il, kl, xl, vl, aa, sa, ia, na, oa, ua, ra, ta, ca, da, pa, fa, va, Hl;
|
|
3873
3873
|
if ((Y = (U = Object.values(ue)) == null ? void 0 : U[0]) != null && Y.includes(".doc")) {
|
|
3874
3874
|
var ve = new Blob([V.data], {
|
|
3875
3875
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -3887,13 +3887,13 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3887
3887
|
if (!(Ye != null && Ye.includes("[")))
|
|
3888
3888
|
Oe = Oe === "" ? Oe + Ye.replaceAll("/", "") : Oe + "/" + Ye.replaceAll("/", "");
|
|
3889
3889
|
else {
|
|
3890
|
-
let La = "",
|
|
3891
|
-
(Dl = s(Ye)) != null && Dl.includes("]") ? (La = s(Ye).slice(1, ((We = s(Ye)) == null ? void 0 : We.length) - 1),
|
|
3892
|
-
let Oa = "", Ja = (ts = H == null ? void 0 : H.find((Jl) => (Jl == null ? void 0 : Jl.name) === (
|
|
3890
|
+
let La = "", ha = "";
|
|
3891
|
+
(Dl = s(Ye)) != null && Dl.includes("]") ? (La = s(Ye).slice(1, ((We = s(Ye)) == null ? void 0 : We.length) - 1), ha = (Vl = (Nl = (Ul = (Rl = (Il = s(La)) == null ? void 0 : Il.split("[")) == null ? void 0 : Rl[1]) == null ? void 0 : Ul.split("]")) == null ? void 0 : Nl[0]) == null ? void 0 : Vl.split(":")) : (La = s(Ye).slice(1, (Ia = s(Ye)) == null ? void 0 : Ia.length), ha = (Yl = s(La)) == null ? void 0 : Yl.split("/"));
|
|
3892
|
+
let Oa = "", Ja = (ts = H == null ? void 0 : H.find((Jl) => (Jl == null ? void 0 : Jl.name) === (ha == null ? void 0 : ha[0]))) == null ? void 0 : ts.compData;
|
|
3893
3893
|
Ja == null || Ja.forEach((Jl) => {
|
|
3894
3894
|
var ds;
|
|
3895
3895
|
(Jl == null ? void 0 : Jl.key) === "formContent" && ((ds = Jl == null ? void 0 : Jl.contents) == null || ds.forEach((wa) => {
|
|
3896
|
-
(wa == null ? void 0 : wa.key) === (
|
|
3896
|
+
(wa == null ? void 0 : wa.key) === (ha == null ? void 0 : ha[1]) && (Oa = wa == null ? void 0 : wa.value);
|
|
3897
3897
|
}));
|
|
3898
3898
|
}), ((cs = Pa(wl, "/")) == null ? void 0 : cs.length) - 1 !== $e ? Oe = Oe === "" ? Oe + Oa.replaceAll("/", "") : Oe + "/" + Oa.replaceAll("/", "") : Oe = Oe + a.value + Oa.replaceAll("/", "");
|
|
3899
3899
|
}
|
|
@@ -3943,14 +3943,14 @@ const Fr = (l) => /^'[^']+':\{.*\}$/.exec(s(l)), Rr = (l) => /^'[^']+':\[\[.*\]\
|
|
|
3943
3943
|
Ye = Ye === "" ? Ye + ((Il = We == null ? void 0 : We.replaceAll("'", "")) == null ? void 0 : Il.trim()) : Ye + "/" + ((Rl = We == null ? void 0 : We.replaceAll("'", "")) == null ? void 0 : Rl.trim());
|
|
3944
3944
|
});
|
|
3945
3945
|
let $e = [(ll = (el = (sl = (Cl = (cl = Oe == null ? void 0 : Oe.split("<")) == null ? void 0 : cl[1]) == null ? void 0 : Cl.split(">")) == null ? void 0 : sl[0]) == null ? void 0 : el.replaceAll("'", "")) == null ? void 0 : ll.trim()], Dl;
|
|
3946
|
-
return (kl = (il = (bl = V == null ? void 0 : V.data) == null ? void 0 : bl.data) == null ? void 0 : il.data) != null && kl[fl == null ? void 0 : fl[0]] ? Dl = await Ve((
|
|
3946
|
+
return (kl = (il = (bl = V == null ? void 0 : V.data) == null ? void 0 : bl.data) == null ? void 0 : il.data) != null && kl[fl == null ? void 0 : fl[0]] ? Dl = await Ve((aa = (vl = (xl = V == null ? void 0 : V.data) == null ? void 0 : xl.data) == null ? void 0 : vl.data) == null ? void 0 : aa[fl == null ? void 0 : fl[0]], Ye, fl) : Dl = await Z((ia = (sa = V == null ? void 0 : V.data) == null ? void 0 : sa.data) == null ? void 0 : ia.data, Ye, $e), Dl;
|
|
3947
3947
|
} else {
|
|
3948
|
-
const Oe = (
|
|
3948
|
+
const Oe = (ua = (oa = (na = V == null ? void 0 : V.data) == null ? void 0 : na.data) == null ? void 0 : oa.path) == null ? void 0 : ua.path;
|
|
3949
3949
|
let Ye = "";
|
|
3950
|
-
return (da = (ca = (ta = (ra =
|
|
3950
|
+
return (pa = (da = (ca = (ta = (ra = Oe == null ? void 0 : Oe.split("(")) == null ? void 0 : ra[1]) == null ? void 0 : ta.split(")")) == null ? void 0 : ca[0]) == null ? void 0 : da.split(":")) == null || pa.forEach((Dl) => {
|
|
3951
3951
|
var We, Il;
|
|
3952
3952
|
Ye = Ye === "" ? Ye + ((We = Dl == null ? void 0 : Dl.replaceAll("'", "")) == null ? void 0 : We.trim()) : Ye + "/" + ((Il = Dl == null ? void 0 : Dl.replaceAll("'", "")) == null ? void 0 : Il.trim());
|
|
3953
|
-
}), await z((Hl = (
|
|
3953
|
+
}), await z((Hl = (va = (fa = V == null ? void 0 : V.data) == null ? void 0 : fa.data) == null ? void 0 : va.data) == null ? void 0 : Hl[fl == null ? void 0 : fl[0]], Ye, fl);
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
}
|
|
@@ -5853,7 +5853,7 @@ const _a = Wa(), { loginUserInfo: Xa } = ml(_a), Sl = $a(yl), Ka = j(!1), {
|
|
|
5853
5853
|
isRefreshCurStructure: Xu,
|
|
5854
5854
|
freshContent: ks,
|
|
5855
5855
|
routeToChildPath: Yu
|
|
5856
|
-
} = ml(Sl),
|
|
5856
|
+
} = ml(Sl), la = za(yl), { activeMenuPath: $l, platform: Vr, activeAsideMenu: Qu, buttonTriggerType: Zu } = ml(la), Ml = Ks(yl), { selectTitle: _s } = ml(Ml), er = Ha(yl), { originalPath: rs } = ml(er), Cs = di(yl), as = j(!0), ss = j(0), Ma = Kl(async () => {
|
|
5857
5857
|
var y, u;
|
|
5858
5858
|
const l = (y = $l.value) != null && y.startsWith("/") ? (u = $l.value) == null ? void 0 : u.substring(1) : $l.value;
|
|
5859
5859
|
return (l == null ? void 0 : l.includes(rs.value)) || await rr(l);
|
|
@@ -5931,7 +5931,7 @@ const _a = Wa(), { loginUserInfo: Xa } = ml(_a), Sl = $a(yl), Ka = j(!1), {
|
|
|
5931
5931
|
var g;
|
|
5932
5932
|
const y = JSON.parse(s(JSON.stringify(Ju.value)));
|
|
5933
5933
|
if (!qu.value)
|
|
5934
|
-
return
|
|
5934
|
+
return la.setCacheStructures({
|
|
5935
5935
|
key: Zu.value,
|
|
5936
5936
|
data: y
|
|
5937
5937
|
}), pl.success("已暂存");
|
|
@@ -6075,7 +6075,7 @@ const _a = Wa(), { loginUserInfo: Xa } = ml(_a), Sl = $a(yl), Ka = j(!1), {
|
|
|
6075
6075
|
compData: (v = s(l == null ? void 0 : l.contents)) == null ? void 0 : v.filter((p) => p.contents),
|
|
6076
6076
|
name: a,
|
|
6077
6077
|
isShow: (k = u == null ? void 0 : u.pageData) == null ? void 0 : k.isShow
|
|
6078
|
-
});
|
|
6078
|
+
}), y && (la.setActiveMenuPath(""), la.setActiveMenuPath(y));
|
|
6079
6079
|
}, or = (l) => {
|
|
6080
6080
|
Ll.value = l, Sl.setItemData(Ll.value), Sl.setOriginalData(Ll.value);
|
|
6081
6081
|
}, ur = async (l) => {
|
|
@@ -6112,10 +6112,10 @@ _l(
|
|
|
6112
6112
|
let y = zs();
|
|
6113
6113
|
(a = y == null ? void 0 : y.scope) == null || a.stop(), y = null, as.value = !1, Ka.value = !0;
|
|
6114
6114
|
const u = (i = l == null ? void 0 : l[0]) != null && i.startsWith("/") ? (v = l == null ? void 0 : l[0]) == null ? void 0 : v.substring(1) : l == null ? void 0 : l[0];
|
|
6115
|
-
u ? (
|
|
6115
|
+
u ? (la.setContentLoading(!0), sessionStorage.setItem("pageKey", $l.value), Ll.value = await El(u, sessionStorage.getItem("systemKey"), "", !1, [], await Ma.value), await _a.setLogRecordAsync({
|
|
6116
6116
|
type: "查询",
|
|
6117
6117
|
data: Ll.value
|
|
6118
|
-
}, $l.value), await ur(Ll.value), Sl.setExtraContents([]), Ml.setSelectTitle([]), Ml.setSelectIndex(""), Ml.setSelectMenu(""), Sl.setItemData(Ll.value), Sl.setOriginalData(Ll.value), Sl.setCurStructureCompIds((k = Ll.value) == null ? void 0 : k.map((w) => w == null ? void 0 : w.id)), Sl.setRefreshCurStructure(!1), Ml.setSelectTitle((p = $l.value) == null ? void 0 : p.split("/").map((w) => ({ value: w.trim() }))),
|
|
6118
|
+
}, $l.value), await ur(Ll.value), Sl.setExtraContents([]), Ml.setSelectTitle([]), Ml.setSelectIndex(""), Ml.setSelectMenu(""), Sl.setItemData(Ll.value), Sl.setOriginalData(Ll.value), Sl.setCurStructureCompIds((k = Ll.value) == null ? void 0 : k.map((w) => w == null ? void 0 : w.id)), Sl.setRefreshCurStructure(!1), Ml.setSelectTitle((p = $l.value) == null ? void 0 : p.split("/").map((w) => ({ value: w.trim() }))), la.setChildMenu(""), la.setContentLoading(!1), Ka.value = !1) : (Ll.value = [], Ka.value = !1), is(() => {
|
|
6119
6119
|
ss.value = ss.value++, as.value = !0;
|
|
6120
6120
|
});
|
|
6121
6121
|
},
|
|
@@ -6153,7 +6153,7 @@ const Hr = async () => {
|
|
|
6153
6153
|
}), await _a.setLogRecordAsync({
|
|
6154
6154
|
type: "删除",
|
|
6155
6155
|
data: u
|
|
6156
|
-
}, $l.value)),
|
|
6156
|
+
}, $l.value)), la.setActiveMenuPath(Yu.value), Ll.value = null, Sl.setRouteToChildPath(""), la.setChildMenu("");
|
|
6157
6157
|
}, tr = { class: "layout" }, cr = /* @__PURE__ */ zl({
|
|
6158
6158
|
__name: "index",
|
|
6159
6159
|
props: {
|