ss-component-new 1.3.345 → 1.3.346
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-Hz6wo4Tp.cjs → array-CsXvLFgE.cjs} +1 -1
- package/dist/{array-BcSe4g7n.js → array-aPankyVp.js} +2 -2
- package/dist/{index-BGi1c5t_.js → index-75wv7B8C.js} +2 -2
- package/dist/{index-CTp7bx2y.js → index-B0-oAU5-.js} +1 -1
- package/dist/{index-BNBxMcv4.cjs → index-BWxYZ71K.cjs} +1 -1
- package/dist/{index-BJXtoche.cjs → index-BXT6Tjvv.cjs} +1 -1
- package/dist/{index-Cqv8T2yB.cjs → index-Bf0ORlR1.cjs} +1 -1
- package/dist/{index-C2M-scH7.cjs → index-BgutJb8l.cjs} +1 -1
- package/dist/{index-DYhn3XYN.js → index-BprqPwEe.js} +1 -1
- package/dist/{index-CfTPOaLz.js → index-BzoAM0Lu.js} +514 -514
- package/dist/index-C2yC1b41.js +22787 -0
- package/dist/index-CJ4WxGcb.cjs +25 -0
- package/dist/{index-BTU-NmaH.js → index-CKRMSfkR.js} +2 -2
- package/dist/{index-BTJMUy7v.cjs → index-CKb9ZTkc.cjs} +1 -1
- package/dist/{index-OvIZ8b1H.cjs → index-CV5tFSXP.cjs} +1 -1
- package/dist/{index-DiLl9feG.js → index-Cj7u-kN0.js} +3 -3
- package/dist/{index-BMOUV0Cd.js → index-Csfx4iMa.js} +1 -1
- package/dist/{index-DHEmmDbV.cjs → index-DKlHydbF.cjs} +2 -2
- package/dist/{index-C9zOQuuZ.js → index-DZoJ60Ez.js} +1 -1
- package/dist/{index-BMoyONq-.cjs → index-DaDp_Xmu.cjs} +1 -1
- package/dist/{index-D6qmJN-7.js → index-ItVRGvjo.js} +1 -1
- package/dist/{index-DMusQFux.js → index-M9UR_MS1.js} +2 -2
- package/dist/{index-BYl9KFGB.cjs → index-Qxu4NBF3.cjs} +1 -1
- package/dist/{index-Yr32Bp90.cjs → index-T6cvLcch.cjs} +1 -1
- package/dist/{index-BvfVU8_E.js → index-cySTMtkk.js} +1 -1
- package/dist/{index-QEPUTNwW.cjs → index-rAtTRymt.cjs} +1 -1
- package/dist/{main-EwP_kdSg.cjs → main-BuzHQZwJ.cjs} +1 -1
- package/dist/{main-CUWAnOmP.js → main-g_Y-3QRu.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-WtXQ-Tz9.cjs → threeModel-CoEdAH3X.cjs} +1 -1
- package/dist/{threeModel-B5idky1f.js → threeModel-cd7ziUep.js} +1 -1
- package/dist/{threeSceneView-0aVOyYLE.cjs → threeSceneView-C5104iBM.cjs} +1 -1
- package/dist/{threeSceneView-BWbSgMcx.js → threeSceneView-CD1kByTS.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-Bqhi5ERe.js → threeSceneViewForCPMPIP-BPVrUFbq.js} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DBJ-XdKd.cjs → threeSceneViewForCPMPIP-dq385AJq.cjs} +1 -1
- package/dist/{threeViewerHost-B84Kg4Nc.cjs → threeViewerHost-Cxr0YhrJ.cjs} +1 -1
- package/dist/{threeViewerHost-cuj-mPYW.js → threeViewerHost-D8hJOBWI.js} +1 -1
- package/package.json +1 -1
- package/dist/index-BrPRnTYB.cjs +0 -25
- package/dist/index-YuKEyBhd.js +0 -22735
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { m as Ea, a as Ba, b as Da, c as Vs } from "./array-
|
|
3
|
-
import { _ as ta, s as Pa, a as Ns } from "./index-
|
|
4
|
-
import { u as xl, p as fl, s as ol, c as
|
|
1
|
+
import { computed as vl, defineComponent as Il, defineProps as _a, ref as E, watch as pl, onMounted as Kl, resolveComponent as re, createBlock as Re, openBlock as _, withCtx as c, createElementVNode as Q, toDisplayString as nl, createElementBlock as ge, Fragment as hl, renderList as Al, createCommentVNode as Ne, normalizeStyle as El, createVNode as s, unref as u, resolveDynamicComponent as nt, provide as zt, shallowRef as Qs, resolveDirective as la, withDirectives as Wl, vShow as ut, createTextVNode as il, renderSlot as Nl, normalizeClass as Ol, createSlots as fa, mergeProps as us, withModifiers as Dl, defineAsyncComponent as za, reactive as Bl, nextTick as Zl, onUnmounted as Ta } from "vue";
|
|
2
|
+
import { m as Ea, a as Ba, b as Da, c as Vs } from "./array-aPankyVp.js";
|
|
3
|
+
import { _ as ta, s as Pa, a as Ns } from "./index-Cj7u-kN0.js";
|
|
4
|
+
import { u as xl, p as fl, s as ol, c as gl, a as $l, b as Jl, h as St, i as _t, j as pa, k as ma, m as Ra, d as Ks, n as ds, f as qs, o as ps, q as fs, r as Ys, t as Ws } from "./menu-BRhQwt8l.js";
|
|
5
5
|
import { useRouter as Tt } from "vue-router";
|
|
6
6
|
import { a as aa, d as xa, e as sa, f as na, g as oa, h as ia, t as Hs, c as Js, b as Gs } from "./index-C2UiLe43.js";
|
|
7
|
-
import { g as It, s as Fs, a as Za, _ as Aa, b as Xs, c as hs, X as zs, Q as Zs } from "./index-
|
|
7
|
+
import { g as It, s as Fs, a as Za, _ as Aa, b as Xs, c as hs, X as zs, Q as Zs } from "./index-BprqPwEe.js";
|
|
8
8
|
import { u as gs, g as $a, b as es, c as $s, a as en } from "./index-o69TSiJu.js";
|
|
9
9
|
import { E as wl, a as ln, b as ot, I as tn, s as et, d as vs, c as ys, e as bs, f as an, g as sn, h as nn, p as on, i as cn } from "./request-CoGtW0Ux.js";
|
|
10
10
|
import { g as Cs, b as rn, u as ja, c as at, d as ea, o as ms, l as un, n as dn, t as pn, e as fn } from "./index-8wVnnZPD.js";
|
|
@@ -13,18 +13,18 @@ import "./JSEncrypt-B36c1iN5.js";
|
|
|
13
13
|
import "./index-BHYpVNtH.js";
|
|
14
14
|
import "./index-DbN1MExQ.js";
|
|
15
15
|
import { c as Ua, f as Vl, b as As, a as yn, g as bn, d as ls } from "./menuIndex-Dpro0x3a.js";
|
|
16
|
-
import { _ as
|
|
16
|
+
import { _ as Ql } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
import { C as Cn } from "./index-VxiFCwxE.js";
|
|
18
18
|
import { S as _l } from "./index-BHtNKL1L.js";
|
|
19
|
-
import mn from "./threeModel-
|
|
20
|
-
import { a as ws, b as rt, u as ks, s as tt, c as ts, d as as, r as Sl, o as it, e as ct, f as Ms, h as wa, i as Is, j as La, k as An, t as wn, l as vt, m as ga, n as ra, p as yt, q as Gt, v as bt, w as kn, x as Ct, y as mt, z as Mn, A as At, B as wt, C as Ft, D as ss, E as ns, F as os, G as ua, H as va, I as Gl, J as In, K as Sn, L as ya, M as _n, N as Tn, O as En, P as Bn, g as Ss, Q as is, R as Dn, S as Pn } from "./index-
|
|
19
|
+
import mn from "./threeModel-cd7ziUep.js";
|
|
20
|
+
import { a as ws, b as rt, u as ks, s as tt, c as ts, d as as, r as Sl, o as it, e as ct, f as Ms, h as wa, i as Is, j as La, k as An, t as wn, l as vt, m as ga, n as ra, p as yt, q as Gt, v as bt, w as kn, x as Ct, y as mt, z as Mn, A as At, B as wt, C as Ft, D as ss, E as ns, F as os, G as ua, H as va, I as Gl, J as In, K as Sn, L as ya, M as _n, N as Tn, O as En, P as Bn, g as Ss, Q as is, R as Dn, S as Pn } from "./index-C2yC1b41.js";
|
|
21
21
|
import { _ as st } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
22
22
|
import { s as lt } from "./index-CnjGqJZS.js";
|
|
23
|
-
import { T as ka, u as Rn, a as xn } from "./threeViewerHost-
|
|
24
|
-
import { s as Ma } from "./index-
|
|
23
|
+
import { T as ka, u as Rn, a as xn } from "./threeViewerHost-D8hJOBWI.js";
|
|
24
|
+
import { s as Ma } from "./index-Csfx4iMa.js";
|
|
25
25
|
import { u as jn } from "./index-BIV-s4QY.js";
|
|
26
26
|
import { u as Un } from "./index-CAsh5i_v.js";
|
|
27
|
-
import { u as ha, E as ht, v as $t, m as Ln, o as cs, d as
|
|
27
|
+
import { u as ha, E as ht, v as $t, m as Ln, o as cs, d as On, g as Qn, a as Vn, b as Nn } from "./index-iBPVokNX.js";
|
|
28
28
|
import { u as Kn } from "./index-BhfUWLyn.js";
|
|
29
29
|
import { u as _s } from "./index-CrTjtcRu.js";
|
|
30
30
|
import { T as rs } from "./svgIcon-4u4PW7Is.js";
|
|
@@ -97,7 +97,7 @@ const Wn = xl(), Ts = async (t, L) => {
|
|
|
97
97
|
children: [],
|
|
98
98
|
childMenus: []
|
|
99
99
|
}
|
|
100
|
-
}, Es = "系统管理", Hn = "系统管理/角色管理", Jn = "系统管理/部门管理", Gn = "系统管理/职位管理",
|
|
100
|
+
}, Es = "系统管理", Hn = "系统管理/角色管理", Jn = "系统管理/部门管理", Gn = "系统管理/职位管理", Oa = (t) => {
|
|
101
101
|
for (let L = 0; L < t.length; L++) {
|
|
102
102
|
const d = (t == null ? void 0 : t[L]) || {}, { path: k } = d;
|
|
103
103
|
if (k === Es) {
|
|
@@ -106,12 +106,12 @@ const Wn = xl(), Ts = async (t, L) => {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
}, Fn = () => {
|
|
109
|
-
const t = Tt(), L = xl(fl), { menus: d } = ol(L), k =
|
|
110
|
-
var
|
|
111
|
-
const f = (
|
|
109
|
+
const t = Tt(), L = xl(fl), { menus: d } = ol(L), k = vl(() => {
|
|
110
|
+
var O;
|
|
111
|
+
const f = (O = d.value) == null ? void 0 : O.find((n) => {
|
|
112
112
|
const { path: oe } = n || {};
|
|
113
113
|
return oe === Es;
|
|
114
|
-
}), y =
|
|
114
|
+
}), y = gl(f), ue = (y == null ? void 0 : y.childMenus) || [], Z = ue.findIndex((n) => n.path === Hn);
|
|
115
115
|
y && y.childMenus && Z !== -1 && (y.childMenus.splice(Z, 1), y.childMenus.push(Xt.ROLE));
|
|
116
116
|
const C = ue.findIndex((n) => n.path === Jn);
|
|
117
117
|
y && y.childMenus && C !== -1 && (y.childMenus.splice(C, 1), y.childMenus.push(Xt.DEPARTMENT));
|
|
@@ -119,23 +119,23 @@ const Wn = xl(), Ts = async (t, L) => {
|
|
|
119
119
|
return y && y.childMenus && D !== -1 && (y.childMenus.splice(D, 1), y.childMenus.push(Xt.POSITION)), y;
|
|
120
120
|
});
|
|
121
121
|
return {
|
|
122
|
-
hasSystemManagement:
|
|
122
|
+
hasSystemManagement: vl(() => {
|
|
123
123
|
var y;
|
|
124
124
|
const f = k.value;
|
|
125
125
|
return f && ((y = f.childMenus) == null ? void 0 : y.length);
|
|
126
126
|
}),
|
|
127
127
|
toSystemManagement: () => {
|
|
128
|
-
const f =
|
|
128
|
+
const f = gl(k.value);
|
|
129
129
|
L.setActiveMainMenu(f), L.setActiveTopMenuPath(f == null ? void 0 : f.path);
|
|
130
130
|
const y = f.childMenus;
|
|
131
131
|
L.setAsideMenus(y), L.setActiveMenuPath("/");
|
|
132
132
|
},
|
|
133
133
|
toRoleManagement: () => {
|
|
134
|
-
const f =
|
|
134
|
+
const f = gl(Xt.ROLE);
|
|
135
135
|
L.setActiveAsideMenu(f), L.setActiveMenuPath(f == null ? void 0 : f.path), t.push(f.path);
|
|
136
136
|
},
|
|
137
137
|
toLogManagement: () => {
|
|
138
|
-
const f =
|
|
138
|
+
const f = gl(Xt.LOG);
|
|
139
139
|
L.setActiveAsideMenu(f), L.setActiveMenuPath(f == null ? void 0 : f.path), t.push(f.path);
|
|
140
140
|
}
|
|
141
141
|
};
|
|
@@ -161,11 +161,11 @@ function Xn(t = "menu") {
|
|
|
161
161
|
permissionSideMenus: Z,
|
|
162
162
|
platform: C,
|
|
163
163
|
cacheInputMenu: D,
|
|
164
|
-
activeMainMenu:
|
|
164
|
+
activeMainMenu: O,
|
|
165
165
|
// activeMenuPath,
|
|
166
166
|
linkMenuInfo: n,
|
|
167
167
|
updateMenuStatus: oe
|
|
168
|
-
} = ol(k), H = Jl(), { structureData: J } = ol(H), h = E([]), B = E([]), X =
|
|
168
|
+
} = ol(k), H = Jl(), { structureData: J } = ol(H), h = E([]), B = E([]), X = vl(() => L == null ? void 0 : L.mode), be = E({}), o = (e) => e == null ? void 0 : e.map((i) => i.children && i.children.length > 0 ? {
|
|
169
169
|
...i,
|
|
170
170
|
// 水平菜单仅显示一层
|
|
171
171
|
children: i.level === 0 ? [] : i.children ?? [],
|
|
@@ -175,7 +175,7 @@ function Xn(t = "menu") {
|
|
|
175
175
|
return (M = (l = B.value) == null ? void 0 : l.find((x) => (e.title + i).includes(x.value))) == null ? void 0 : M.value;
|
|
176
176
|
}, De = (e, i = "", l = 0) => {
|
|
177
177
|
var ce;
|
|
178
|
-
let M =
|
|
178
|
+
let M = gl(e);
|
|
179
179
|
const x = Array.from(/* @__PURE__ */ new Set([...(ce = J.value) == null ? void 0 : ce.map((N) => {
|
|
180
180
|
var ne;
|
|
181
181
|
return (ne = N == null ? void 0 : N.key) == null ? void 0 : ne.pageKey;
|
|
@@ -202,13 +202,13 @@ function Xn(t = "menu") {
|
|
|
202
202
|
};
|
|
203
203
|
return N.children && N.children.length > 0 && (q.children = De(N.children, ne, l + 1)), q;
|
|
204
204
|
});
|
|
205
|
-
}, fe =
|
|
206
|
-
let e =
|
|
205
|
+
}, fe = vl(() => {
|
|
206
|
+
let e = gl(h.value);
|
|
207
207
|
if (e = [...e, ...Z.value], (e == null ? void 0 : e.length) === 0)
|
|
208
208
|
return S.push("/"), [];
|
|
209
209
|
Le(e, Fe.value);
|
|
210
210
|
const i = o(e);
|
|
211
|
-
return
|
|
211
|
+
return Oa(i), k.setMenus(i), i;
|
|
212
212
|
}), te = async (e) => ((e == null ? void 0 : e.level) === 0 ? (sessionStorage.getItem("systemKey"), e == null || e.path) : (sessionStorage.getItem("systemKey"), "" + (e == null ? void 0 : e.path)), null), me = (e, i) => {
|
|
213
213
|
var M, x;
|
|
214
214
|
const l = e == null ? void 0 : e.find((P) => (P == null ? void 0 : P.operateType) === "新增");
|
|
@@ -283,7 +283,7 @@ function Xn(t = "menu") {
|
|
|
283
283
|
W.setRouteToChildPath(""), ue.value === "click" ? G.value === 1 ? k.setActiveMenuPath(sessionStorage.getItem("pageKey")) : e !== d.value && k.setActiveMenuPath(e) : k.setMenuTriggerType("click"), e != null && e.startsWith("/") ? S.push(e) : S.push("/"), G.value++;
|
|
284
284
|
}, Ae = (e) => {
|
|
285
285
|
e !== d.value && k.setActiveMenuPath(e);
|
|
286
|
-
},
|
|
286
|
+
}, Qe = (e) => {
|
|
287
287
|
const i = document.documentElement;
|
|
288
288
|
e == null || e.forEach((l) => {
|
|
289
289
|
i.style.setProperty(l.name, l.value);
|
|
@@ -292,14 +292,14 @@ function Xn(t = "menu") {
|
|
|
292
292
|
Kl(() => {
|
|
293
293
|
G.value = 1, B.value = It();
|
|
294
294
|
});
|
|
295
|
-
const Fe =
|
|
295
|
+
const Fe = vl(() => {
|
|
296
296
|
const e = sessionStorage.getItem("authority");
|
|
297
297
|
return e ? JSON.parse(e) : [];
|
|
298
298
|
});
|
|
299
299
|
pl(
|
|
300
300
|
() => C.value,
|
|
301
301
|
(e) => {
|
|
302
|
-
e === "browser" ? (
|
|
302
|
+
e === "browser" ? (Qe(aa), Qe(xa)) : e === "client" ? (Qe(sa), Qe(na)) : e === "three" && (Qe(oa), Qe(ia));
|
|
303
303
|
},
|
|
304
304
|
{ immediate: !0 }
|
|
305
305
|
), pl(
|
|
@@ -378,7 +378,7 @@ function Xn(t = "menu") {
|
|
|
378
378
|
(P = D.value) == null ? void 0 : P.type
|
|
379
379
|
), Ee = (ce = q == null ? void 0 : q.filter((Ie) => Ie.path !== "平台管理")) == null ? void 0 : ce.map((Ie) => tl(Ie));
|
|
380
380
|
await _e((N = D.value) == null ? void 0 : N.data), k.setAsideMenuLoading(!0), await rl(Ee);
|
|
381
|
-
const ke = await K(
|
|
381
|
+
const ke = await K(O.value), Te = (ke == null ? void 0 : ke.length) === 0 ? (ne = O.value) == null ? void 0 : ne.childMenus : ke;
|
|
382
382
|
k.setAsideMenus(Te);
|
|
383
383
|
} catch (m) {
|
|
384
384
|
throw wl.error(m), new Error(m);
|
|
@@ -391,7 +391,7 @@ function Xn(t = "menu") {
|
|
|
391
391
|
clickMenu: ye,
|
|
392
392
|
openMenu: xe,
|
|
393
393
|
closeMenu: Ae,
|
|
394
|
-
changeMenuStyle:
|
|
394
|
+
changeMenuStyle: Qe
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
397
|
};
|
|
@@ -407,12 +407,12 @@ function $n(t, L, d, k, W, G) {
|
|
|
407
407
|
onCloseMenu: t.closeMenu
|
|
408
408
|
}, {
|
|
409
409
|
title: c(({ menu: le }) => [
|
|
410
|
-
|
|
410
|
+
Q("span", Zn, nl(le.title ?? ""), 1)
|
|
411
411
|
]),
|
|
412
412
|
_: 1
|
|
413
413
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
414
414
|
}
|
|
415
|
-
const eo = /* @__PURE__ */
|
|
415
|
+
const eo = /* @__PURE__ */ Ql(zn, [["render", $n], ["__scopeId", "data-v-f4b6e112"]]), lo = { class: "bread-content" }, to = ["onClick"], ao = {
|
|
416
416
|
key: 0,
|
|
417
417
|
class: "split-title"
|
|
418
418
|
}, so = {
|
|
@@ -446,24 +446,24 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
446
446
|
}, ue = async (Z) => {
|
|
447
447
|
var H, J, h, B, X, be, o;
|
|
448
448
|
G.value = !0;
|
|
449
|
-
let C = await ws(Z != null && Z.parentContent ? Z == null ? void 0 : Z.parentContent : Z == null ? void 0 : Z.relatedContent, !1), D = (J = (H = C == null ? void 0 : C.filter((g) => (g == null ? void 0 : g.comp) === "Table")) == null ? void 0 : H[0]) == null ? void 0 : J.compData,
|
|
450
|
-
Array.isArray(
|
|
449
|
+
let C = await ws(Z != null && Z.parentContent ? Z == null ? void 0 : Z.parentContent : Z == null ? void 0 : Z.relatedContent, !1), D = (J = (H = C == null ? void 0 : C.filter((g) => (g == null ? void 0 : g.comp) === "Table")) == null ? void 0 : H[0]) == null ? void 0 : J.compData, O = (h = D == null ? void 0 : D.find((g) => (g == null ? void 0 : g.key) === "header")) == null ? void 0 : h.contents;
|
|
450
|
+
Array.isArray(O == null ? void 0 : O[0]) && (O = Cs(O == null ? void 0 : O[0])), O = ((B = O == null ? void 0 : O.find((g) => g == null ? void 0 : g.isMainKey)) == null ? void 0 : B.prop) ?? ((X = O == null ? void 0 : O[0]) == null ? void 0 : X.prop);
|
|
451
451
|
let n = (o = (be = D == null ? void 0 : D.find((g) => (g == null ? void 0 : g.key) === "tableContents")) == null ? void 0 : be.contents) == null ? void 0 : o.map((g) => ({
|
|
452
|
-
label: g == null ? void 0 : g[
|
|
453
|
-
value: g == null ? void 0 : g[
|
|
452
|
+
label: g == null ? void 0 : g[O],
|
|
453
|
+
value: g == null ? void 0 : g[O]
|
|
454
454
|
})), oe = Za(k.value);
|
|
455
455
|
oe = oe == null ? void 0 : oe.map((g) => ((g != null && g.parentContent ? (g == null ? void 0 : g.parentContent) === (Z == null ? void 0 : Z.parentContent) : (g == null ? void 0 : g.relatedContent) === (Z == null ? void 0 : Z.relatedContent)) && (g.options = n), g)), d.setSelectTitle(oe), G.value = !1;
|
|
456
456
|
};
|
|
457
457
|
return (Z, C) => (_(), ge("div", lo, [
|
|
458
|
-
(_(!0), ge(hl, null, Al(S.value, (D,
|
|
458
|
+
(_(!0), ge(hl, null, Al(S.value, (D, O) => {
|
|
459
459
|
var n, oe, H, J, h, B, X;
|
|
460
460
|
return _(), ge("div", {
|
|
461
|
-
key:
|
|
461
|
+
key: O,
|
|
462
462
|
class: "bread-item"
|
|
463
463
|
}, [
|
|
464
|
-
|
|
464
|
+
Q("div", {
|
|
465
465
|
class: "bread-title",
|
|
466
|
-
style: El({ opacity: ((n = S.value) == null ? void 0 : n.length) - 1 ===
|
|
466
|
+
style: El({ opacity: ((n = S.value) == null ? void 0 : n.length) - 1 === O ? "0.7" : "1", fontWeight: ((oe = S.value) == null ? void 0 : oe.length) - 1 === O ? 400 : 600, fontSize: "var(--ssbutton-fontSize)" })
|
|
467
467
|
}, [
|
|
468
468
|
(D == null ? void 0 : D.condition) !== "child" ? (_(), ge("div", {
|
|
469
469
|
key: 0,
|
|
@@ -482,16 +482,16 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
482
482
|
onMouseEnter: (be) => ue(D)
|
|
483
483
|
}, null, 8, ["loading", "modelValue", "onUpdate:modelValue", "content", "onChange", "onMouseEnter"])) : Ne("", !0)
|
|
484
484
|
], 4),
|
|
485
|
-
|
|
485
|
+
O !== S.value.length - 1 && Array.isArray(S.value) && ((h = (J = S.value) == null ? void 0 : J[O + 1]) == null ? void 0 : h.condition) !== "child" ? (_(), ge("div", ao, [
|
|
486
486
|
s(u(ln), { style: { width: "14px" } })
|
|
487
|
-
])) : ((X = (B = S.value) == null ? void 0 : B[
|
|
488
|
-
|
|
487
|
+
])) : ((X = (B = S.value) == null ? void 0 : B[O + 1]) == null ? void 0 : X.condition) === "child" ? (_(), ge("div", so, C[0] || (C[0] = [
|
|
488
|
+
Q("div", null, nl(":"), -1)
|
|
489
489
|
]))) : Ne("", !0)
|
|
490
490
|
]);
|
|
491
491
|
}), 128))
|
|
492
492
|
]));
|
|
493
493
|
}
|
|
494
|
-
}), Ia = /* @__PURE__ */
|
|
494
|
+
}), Ia = /* @__PURE__ */ Ql(no, [["__scopeId", "data-v-f87a5cc5"]]), oo = {
|
|
495
495
|
key: 0,
|
|
496
496
|
class: "item-view-group",
|
|
497
497
|
style: { display: "flex" }
|
|
@@ -517,14 +517,14 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
517
517
|
let Z = (oe = G.value) == null ? void 0 : oe.filter((h) => (h == null ? void 0 : h.condition) === "child" && (h == null ? void 0 : h.value) !== "" && (h == null ? void 0 : h.parentContent) !== le.value && !(h != null && h.relatedContent)), C = (J = (H = d == null ? void 0 : d.componentParam) == null ? void 0 : H.routerUrl) == null ? void 0 : J.map((h) => {
|
|
518
518
|
var B;
|
|
519
519
|
return (h == null ? void 0 : h[(h == null ? void 0 : h.length) - 1]) === "/" && (h = h + ((B = Z == null ? void 0 : Z[0]) == null ? void 0 : B.value)), h;
|
|
520
|
-
}), D = [],
|
|
520
|
+
}), D = [], O = C == null ? void 0 : C.map(async (h) => {
|
|
521
521
|
let B = await ws(h, !1);
|
|
522
522
|
return B = B == null ? void 0 : B.map((be) => {
|
|
523
523
|
var o;
|
|
524
524
|
return be.isShow = !0, be.compData = (o = be.compData) == null ? void 0 : o.filter((g) => (g == null ? void 0 : g.key) !== "extraButton" && (g == null ? void 0 : g.key) !== "rowButton"), be.disabled = !0, be;
|
|
525
525
|
}), await rn(B);
|
|
526
526
|
});
|
|
527
|
-
D = await Promise.all(
|
|
527
|
+
D = await Promise.all(O);
|
|
528
528
|
let n = [];
|
|
529
529
|
D == null || D.forEach((h, B) => {
|
|
530
530
|
var be;
|
|
@@ -545,20 +545,20 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
545
545
|
), (Z, C) => {
|
|
546
546
|
var D;
|
|
547
547
|
return _(), ge("div", null, [
|
|
548
|
-
(_(!0), ge(hl, null, Al((D = f.value) == null ? void 0 : D.filter((
|
|
548
|
+
(_(!0), ge(hl, null, Al((D = f.value) == null ? void 0 : D.filter((O) => O.comp !== "FormTop"), (O, n) => {
|
|
549
549
|
var oe;
|
|
550
550
|
return _(), ge("div", {
|
|
551
551
|
class: "item-view-content",
|
|
552
552
|
key: n
|
|
553
553
|
}, [
|
|
554
|
-
((oe =
|
|
555
|
-
|
|
554
|
+
((oe = O == null ? void 0 : O.comp) == null ? void 0 : oe.toUpperCase()) !== "TABLE" && (O != null && O.name) ? (_(), ge("div", oo, [
|
|
555
|
+
Q("div", io, nl(O.name), 1)
|
|
556
556
|
])) : Ne("", !0),
|
|
557
|
-
(_(), Re(nt(u(rt)(
|
|
558
|
-
compName:
|
|
559
|
-
itemData:
|
|
560
|
-
childItemData:
|
|
561
|
-
index: (
|
|
557
|
+
(_(), Re(nt(u(rt)(O.comp)), {
|
|
558
|
+
compName: O.name,
|
|
559
|
+
itemData: O == null ? void 0 : O.compData,
|
|
560
|
+
childItemData: O == null ? void 0 : O.itemChildData,
|
|
561
|
+
index: (O == null ? void 0 : O.id) ?? n,
|
|
562
562
|
onChange: y,
|
|
563
563
|
onContentChange: ue
|
|
564
564
|
}, null, 40, ["compName", "itemData", "childItemData", "index"]))
|
|
@@ -630,18 +630,18 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
630
630
|
else {
|
|
631
631
|
H--;
|
|
632
632
|
const h = Math.floor(H / 3600), B = Math.floor(H % 3600 / 60), X = H % 60;
|
|
633
|
-
|
|
633
|
+
O.value = `${String(h).padStart(2, "0")}:${String(B).padStart(2, "0")}:${String(X).padStart(2, "0")}`;
|
|
634
634
|
}
|
|
635
635
|
}, 1e3);
|
|
636
636
|
};
|
|
637
637
|
Kl(() => {
|
|
638
638
|
Z();
|
|
639
639
|
});
|
|
640
|
-
const D = E((n = f == null ? void 0 : f.toolBar) == null ? void 0 : n.title),
|
|
640
|
+
const D = E((n = f == null ? void 0 : f.toolBar) == null ? void 0 : n.title), O = E("");
|
|
641
641
|
return (oe, H) => (_(), ge("div", null, [
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
642
|
+
Q("span", null, nl(D.value), 1),
|
|
643
|
+
O.value ? (_(), ge("span", co, ":")) : Ne("", !0),
|
|
644
|
+
Q("span", null, nl(O.value), 1)
|
|
645
645
|
]));
|
|
646
646
|
}
|
|
647
647
|
}), uo = { class: "structure-buttons" }, po = { class: "structure-paths" }, fo = { class: "client-header-user" }, ho = { class: "model-select" }, go = { class: "model-show" }, vo = { class: "model-fill" }, yo = {
|
|
@@ -670,7 +670,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
670
670
|
}, Lo = {
|
|
671
671
|
key: 1,
|
|
672
672
|
class: "text-read"
|
|
673
|
-
},
|
|
673
|
+
}, Oo = { class: "message-title" }, Qo = { class: "message-time" }, Vo = { class: "message-content" }, No = {
|
|
674
674
|
key: 0,
|
|
675
675
|
class: "no-messages"
|
|
676
676
|
}, Ko = { class: "drop-menu" }, qo = { class: "user-base-info" }, Yo = { class: "base-info" }, Wo = { class: "group-item" }, Ho = { class: "sys-button" }, Jo = { class: "whole-main" }, Go = { class: "structure-paths" }, Fo = {
|
|
@@ -733,12 +733,12 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
733
733
|
setup(t, { emit: L }) {
|
|
734
734
|
const d = (V, b) => {
|
|
735
735
|
console.log(V, b);
|
|
736
|
-
}, k = E(), W = E(""), G = E(!1), S = E([]), le = E([]), f = E([]), y =
|
|
736
|
+
}, k = E(), W = E(""), G = E(!1), S = E([]), le = E([]), f = E([]), y = vl(
|
|
737
737
|
() => S.value.filter((V) => {
|
|
738
738
|
var b;
|
|
739
739
|
return ((b = V.find((r) => r.prop === "状态")) == null ? void 0 : b.value) === "未读";
|
|
740
740
|
}).length
|
|
741
|
-
), ue =
|
|
741
|
+
), ue = vl(() => y.value > 99 ? "99+" : y.value), Z = ja(fl), { originalPath: C } = ol(Z), D = C.value, O = Jl(), { loginUserInfo: n } = ol(O), { hasSystemManagement: oe, toSystemManagement: H } = Fn(), { updateFacePhoto: J } = Un();
|
|
742
742
|
async function h() {
|
|
743
743
|
var V, b, r, T, I, j;
|
|
744
744
|
try {
|
|
@@ -806,9 +806,9 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
806
806
|
console.error("加载菜单或页面时出错:", ae);
|
|
807
807
|
}
|
|
808
808
|
})(V);
|
|
809
|
-
}, o = St(fl), { selectTitle: g } = ol(o), De = E(!1), fe = E(), te = E(null), me = E(), de = E(!1), je = ks(fl), { blobUrls: ie } = ol(je), K = E(), ye = E(!1), xe = E(!1), Ae = E(!1),
|
|
809
|
+
}, o = St(fl), { selectTitle: g } = ol(o), De = E(!1), fe = E(), te = E(null), me = E(), de = E(!1), je = ks(fl), { blobUrls: ie } = ol(je), K = E(), ye = E(!1), xe = E(!1), Ae = E(!1), Qe = E(!1), Fe = E(null), Le = E([]), tl = E(!1), al = E(!1), rl = E();
|
|
810
810
|
zt("contentRef", Fe);
|
|
811
|
-
const Ze = $l(fl), { isEdit: _e, routeToChildPath: e } = ol(Ze), i = L, l = xl(fl), { asideMenuLoading: M, importLoading: x, activeAsideMenu: P, contentLoading: ce, activeMenuPath: N } = ol(l), { logoUrl: ne, platNameEn: m, getPreviousModel: q, rememberPreviousModelByPlatId: Ee } = ha(), { toPersonalCenter: ke } = Kn(), Te = t, Ie =
|
|
811
|
+
const Ze = $l(fl), { isEdit: _e, routeToChildPath: e } = ol(Ze), i = L, l = xl(fl), { asideMenuLoading: M, importLoading: x, activeAsideMenu: P, contentLoading: ce, activeMenuPath: N } = ol(l), { logoUrl: ne, platNameEn: m, getPreviousModel: q, rememberPreviousModelByPlatId: Ee } = ha(), { toPersonalCenter: ke } = Kn(), Te = t, Ie = Qs(/* @__PURE__ */ new Map()), $e = vl(() => P.value.isRouter), we = (V) => {
|
|
812
812
|
const b = (V == null ? void 0 : V.menuFilter) || [];
|
|
813
813
|
return Array.isArray(b) && (b == null ? void 0 : b.some((r) => {
|
|
814
814
|
const T = typeof r == "string" ? r : JSON.stringify(r);
|
|
@@ -818,7 +818,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
818
818
|
i("clearLogin"), sessionStorage.clear();
|
|
819
819
|
const V = q();
|
|
820
820
|
localStorage.clear(), V && Ee(V), window.location.reload();
|
|
821
|
-
}, yl =
|
|
821
|
+
}, yl = vl(() => {
|
|
822
822
|
const V = N.value;
|
|
823
823
|
return Ie.value.get(V);
|
|
824
824
|
}), Ml = hn(async (V) => {
|
|
@@ -934,7 +934,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
934
934
|
pl(
|
|
935
935
|
() => N.value,
|
|
936
936
|
async (V) => {
|
|
937
|
-
V && (xe.value = !0), V === "弯管仿真加工分析/仿真动画生成" ? Ae.value = !0 : Ae.value = !1, V === "弯管仿真加工分析/程序输出" ?
|
|
937
|
+
V && (xe.value = !0), V === "弯管仿真加工分析/仿真动画生成" ? Ae.value = !0 : Ae.value = !1, V === "弯管仿真加工分析/程序输出" ? Qe.value = !0 : Qe.value = !1, Mt != null && Mt.find((b) => {
|
|
938
938
|
var r;
|
|
939
939
|
return (b == null ? void 0 : b.key) === ((r = V == null ? void 0 : V.split("/")) == null ? void 0 : r[(V == null ? void 0 : V.split("/").length) - 1]);
|
|
940
940
|
}) ? ye.value = !0 : ye.value = !1;
|
|
@@ -947,7 +947,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
947
947
|
if (ie != null && ie.value && ((V = ie == null ? void 0 : ie.value) == null ? void 0 : V.length) > 0 && !ye.value && !((b = tt.value) != null && b.find((j) => (j == null ? void 0 : j.name) === "输入") && ((r = tt.value) != null && r.find((j) => (j == null ? void 0 : j.name) === "输出")))) {
|
|
948
948
|
de.value = !0;
|
|
949
949
|
let j = [];
|
|
950
|
-
const U = await ((T =
|
|
950
|
+
const U = await ((T = gl(ie == null ? void 0 : ie.value)) == null ? void 0 : T.map(async (p) => {
|
|
951
951
|
var Pe, ll, cl, Ke, He, Ve, dl, el, Cl, bl;
|
|
952
952
|
let ae, pe, Me;
|
|
953
953
|
p != null && p.blob.includes("undefined") ? Me = (ll = (Pe = p == null ? void 0 : p.blob) == null ? void 0 : Pe.split("undefined,")) == null ? void 0 : ll[1] : Me = p == null ? void 0 : p.blob;
|
|
@@ -1073,7 +1073,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1073
1073
|
} else return typeof b == "string" && (b == null ? void 0 : b.toUpperCase()) === "SUPERADMIN";
|
|
1074
1074
|
}, Be = async () => {
|
|
1075
1075
|
ke();
|
|
1076
|
-
}, he =
|
|
1076
|
+
}, he = vl(() => "http://222.92.178.198:62001"), Xe = async (V) => {
|
|
1077
1077
|
var b, r, T, I, j;
|
|
1078
1078
|
try {
|
|
1079
1079
|
const U = await jn(V);
|
|
@@ -1085,13 +1085,13 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1085
1085
|
} catch (U) {
|
|
1086
1086
|
wl.error(U);
|
|
1087
1087
|
}
|
|
1088
|
-
},
|
|
1088
|
+
}, Oe = vl(() => ts(Sl.value, as.value)), We = (V, b) => {
|
|
1089
1089
|
if (V == null) return null;
|
|
1090
1090
|
const r = String(V), T = b.replace("@", "\\@"), I = new RegExp(`${T}\\s*(?:=|:)\\s*(\\[[^\\]]+\\])`, "i"), j = r.match(I);
|
|
1091
1091
|
if (!(j != null && j[1])) return null;
|
|
1092
1092
|
const U = j[1].slice(1, -1).split(",").map((p) => Number(p.trim()));
|
|
1093
1093
|
return U.length < 2 || U.some((p) => Number.isNaN(p)) ? null : [U[0], U[1]];
|
|
1094
|
-
}, v =
|
|
1094
|
+
}, v = vl(() => {
|
|
1095
1095
|
var j;
|
|
1096
1096
|
const V = ts(Sl.value, as.value) || [], b = 24;
|
|
1097
1097
|
if (!((j = N == null ? void 0 : N.value) == null ? void 0 : j.includes("首页"))) {
|
|
@@ -1123,13 +1123,13 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1123
1123
|
};
|
|
1124
1124
|
return ul <= 1 && (T += Pl), Tl;
|
|
1125
1125
|
});
|
|
1126
|
-
}), z =
|
|
1126
|
+
}), z = vl(() => {
|
|
1127
1127
|
var V, b, r, T;
|
|
1128
1128
|
return ((V = Sl.value) == null ? void 0 : V.length) > 0 && ((b = Sl.value) != null && b.every((I) => I == null ? void 0 : I.layout)) ? (T = (r = Sl.value) == null ? void 0 : r[0]) == null ? void 0 : T.layout : "vertical";
|
|
1129
|
-
}), $ =
|
|
1129
|
+
}), $ = vl(() => {
|
|
1130
1130
|
var V, b, r;
|
|
1131
1131
|
return ((V = Sl.value) == null ? void 0 : V.length) > 0 && (z == null ? void 0 : z.value) === "horizontal" ? (r = (b = Sl.value) == null ? void 0 : b[0]) == null ? void 0 : r.name : "";
|
|
1132
|
-
}), se =
|
|
1132
|
+
}), se = vl(() => _e.value === "view" && oe.value), Ce = () => {
|
|
1133
1133
|
H();
|
|
1134
1134
|
};
|
|
1135
1135
|
return (V, b) => {
|
|
@@ -1176,7 +1176,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1176
1176
|
default: c(() => [
|
|
1177
1177
|
s(I, { class: "client-structure-header" }, {
|
|
1178
1178
|
default: c(() => [
|
|
1179
|
-
|
|
1179
|
+
Q("div", uo, [
|
|
1180
1180
|
s(T, {
|
|
1181
1181
|
id: "transparentBgButton",
|
|
1182
1182
|
onClick: u(Ms)
|
|
@@ -1191,13 +1191,13 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1191
1191
|
__: [9]
|
|
1192
1192
|
}, 8, ["onClick"])
|
|
1193
1193
|
]),
|
|
1194
|
-
|
|
1194
|
+
Q("div", po, [
|
|
1195
1195
|
s(Ia, {
|
|
1196
1196
|
breadArray: u(g),
|
|
1197
1197
|
onClick: u(wa)
|
|
1198
1198
|
}, null, 8, ["breadArray", "onClick"])
|
|
1199
1199
|
]),
|
|
1200
|
-
|
|
1200
|
+
Q("div", fo, [
|
|
1201
1201
|
s(T, {
|
|
1202
1202
|
id: "themeButton",
|
|
1203
1203
|
onClick: b[2] || (b[2] = (He) => {
|
|
@@ -1244,7 +1244,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1244
1244
|
})
|
|
1245
1245
|
]),
|
|
1246
1246
|
default: c(() => [
|
|
1247
|
-
|
|
1247
|
+
Q("div", ho, [
|
|
1248
1248
|
s(Ea)
|
|
1249
1249
|
])
|
|
1250
1250
|
]),
|
|
@@ -1267,7 +1267,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1267
1267
|
})
|
|
1268
1268
|
]),
|
|
1269
1269
|
default: c(() => [
|
|
1270
|
-
|
|
1270
|
+
Q("div", go, [
|
|
1271
1271
|
s(Ba)
|
|
1272
1272
|
])
|
|
1273
1273
|
]),
|
|
@@ -1279,7 +1279,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1279
1279
|
collapsible: !0
|
|
1280
1280
|
}, {
|
|
1281
1281
|
default: c(() => [
|
|
1282
|
-
|
|
1282
|
+
Q("div", vo, [
|
|
1283
1283
|
s(Da)
|
|
1284
1284
|
])
|
|
1285
1285
|
]),
|
|
@@ -1303,22 +1303,22 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1303
1303
|
default: c(() => [
|
|
1304
1304
|
s(I, { class: "client-header" }, {
|
|
1305
1305
|
default: c(() => [
|
|
1306
|
-
|
|
1306
|
+
Q("div", {
|
|
1307
1307
|
class: "client-header-logo",
|
|
1308
1308
|
onClick: a
|
|
1309
1309
|
}, [
|
|
1310
1310
|
u(ne) ? (_(), ge("div", yo, [
|
|
1311
|
-
|
|
1311
|
+
Q("img", {
|
|
1312
1312
|
src: u(ne),
|
|
1313
1313
|
alt: ""
|
|
1314
1314
|
}, null, 8, bo)
|
|
1315
1315
|
])) : Ne("", !0),
|
|
1316
|
-
|
|
1316
|
+
Q("div", null, nl(u(m) || "Insofworks"), 1)
|
|
1317
1317
|
]),
|
|
1318
|
-
|
|
1318
|
+
Q("div", Co, [
|
|
1319
1319
|
s(eo, { mode: "horizontal" })
|
|
1320
1320
|
]),
|
|
1321
|
-
|
|
1321
|
+
Q("div", mo, [
|
|
1322
1322
|
se.value ? (_(), Re(T, {
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
class: "system-default-button",
|
|
@@ -1336,7 +1336,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1336
1336
|
Nl(V.$slots, "default", {}, void 0, !0),
|
|
1337
1337
|
s(Aa, null, {
|
|
1338
1338
|
dropTitle: c(() => [
|
|
1339
|
-
|
|
1339
|
+
Q("div", {
|
|
1340
1340
|
class: "icon-wrapper",
|
|
1341
1341
|
onMouseenter: X
|
|
1342
1342
|
}, [
|
|
@@ -1357,13 +1357,13 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1357
1357
|
name: "first"
|
|
1358
1358
|
}, {
|
|
1359
1359
|
label: c(() => [
|
|
1360
|
-
|
|
1361
|
-
b[12] || (b[12] =
|
|
1360
|
+
Q("div", wo, [
|
|
1361
|
+
b[12] || (b[12] = Q("span", null, "我的消息", -1)),
|
|
1362
1362
|
y.value > 0 ? (_(), ge("span", ko, nl(ue.value), 1)) : Ne("", !0)
|
|
1363
1363
|
])
|
|
1364
1364
|
]),
|
|
1365
1365
|
default: c(() => [
|
|
1366
|
-
|
|
1366
|
+
Q("div", Mo, [
|
|
1367
1367
|
(_(!0), ge(hl, null, Al(le.value, (He, Ve) => {
|
|
1368
1368
|
var dl, el, Cl, bl;
|
|
1369
1369
|
return _(), ge("div", {
|
|
@@ -1371,12 +1371,12 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1371
1371
|
key: Ve,
|
|
1372
1372
|
onClick: (ze) => be(He)
|
|
1373
1373
|
}, [
|
|
1374
|
-
|
|
1374
|
+
Q("div", So, [
|
|
1375
1375
|
((dl = He.find((ze) => ze.prop === "状态")) == null ? void 0 : dl.value) === "未读" ? (_(), ge("span", _o, "[未读]")) : (_(), ge("span", To, "[已读]")),
|
|
1376
|
-
|
|
1377
|
-
|
|
1376
|
+
Q("div", Eo, nl((el = He.find((ze) => ze.prop === "消息类别")) == null ? void 0 : el.value), 1),
|
|
1377
|
+
Q("div", Bo, nl((Cl = He.find((ze) => ze.prop === "发送时间")) == null ? void 0 : Cl.value), 1)
|
|
1378
1378
|
]),
|
|
1379
|
-
|
|
1379
|
+
Q("div", Do, nl((bl = He.find((ze) => ze.prop === "内容")) == null ? void 0 : bl.value), 1)
|
|
1380
1380
|
], 8, Io);
|
|
1381
1381
|
}), 128)),
|
|
1382
1382
|
le.value.length === 0 ? (_(), ge("div", Po, "暂无消息")) : Ne("", !0)
|
|
@@ -1389,12 +1389,12 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1389
1389
|
name: "second"
|
|
1390
1390
|
}, {
|
|
1391
1391
|
label: c(() => b[13] || (b[13] = [
|
|
1392
|
-
|
|
1393
|
-
|
|
1392
|
+
Q("div", { class: "message-tab-label" }, [
|
|
1393
|
+
Q("span", null, "未读消息")
|
|
1394
1394
|
], -1)
|
|
1395
1395
|
])),
|
|
1396
1396
|
default: c(() => [
|
|
1397
|
-
|
|
1397
|
+
Q("div", Ro, [
|
|
1398
1398
|
(_(!0), ge(hl, null, Al(f.value, (He, Ve) => {
|
|
1399
1399
|
var dl, el, Cl, bl;
|
|
1400
1400
|
return _(), ge("div", {
|
|
@@ -1402,12 +1402,12 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1402
1402
|
key: Ve,
|
|
1403
1403
|
onClick: (ze) => be(He)
|
|
1404
1404
|
}, [
|
|
1405
|
-
|
|
1405
|
+
Q("div", jo, [
|
|
1406
1406
|
((dl = He.find((ze) => ze.prop === "状态")) == null ? void 0 : dl.value) === "未读" ? (_(), ge("span", Uo, "[未读]")) : (_(), ge("span", Lo, "[已读]")),
|
|
1407
|
-
|
|
1408
|
-
|
|
1407
|
+
Q("div", Oo, nl((el = He.find((ze) => ze.prop === "消息类别")) == null ? void 0 : el.value), 1),
|
|
1408
|
+
Q("div", Qo, nl((Cl = He.find((ze) => ze.prop === "发送时间")) == null ? void 0 : Cl.value), 1)
|
|
1409
1409
|
]),
|
|
1410
|
-
|
|
1410
|
+
Q("div", Vo, nl((bl = He.find((ze) => ze.prop === "内容")) == null ? void 0 : bl.value), 1)
|
|
1411
1411
|
], 8, xo);
|
|
1412
1412
|
}), 128)),
|
|
1413
1413
|
f.value.length === 0 ? (_(), ge("div", No, "暂无消息")) : Ne("", !0)
|
|
@@ -1433,39 +1433,39 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1433
1433
|
dropMenu: c(() => {
|
|
1434
1434
|
var He, Ve, dl, el, Cl, bl;
|
|
1435
1435
|
return [
|
|
1436
|
-
|
|
1437
|
-
|
|
1436
|
+
Q("div", Ko, [
|
|
1437
|
+
Q("div", qo, [
|
|
1438
1438
|
s(Ma, {
|
|
1439
1439
|
size: 35,
|
|
1440
1440
|
disabled: !0,
|
|
1441
1441
|
userInfo: u(n)
|
|
1442
1442
|
}, null, 8, ["userInfo"]),
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1443
|
+
Q("div", Yo, [
|
|
1444
|
+
Q("div", null, [
|
|
1445
|
+
Q("span", null, nl(((He = u(n)) == null ? void 0 : He.account) || ((Ve = u(n)) == null ? void 0 : Ve.账号) || "未知"), 1),
|
|
1446
|
+
Q("span", null, nl(((el = (dl = u(n)) == null ? void 0 : dl.layer) == null ? void 0 : el.toUpperCase()) === "SUPERADMIN" ? "超级管理员" : ((Cl = u(n)) == null ? void 0 : Cl.角色名称) ?? "未知"), 1)
|
|
1447
1447
|
]),
|
|
1448
|
-
|
|
1448
|
+
Q("div", null, nl(((bl = u(n)) == null ? void 0 : bl.工号) || "未知"), 1)
|
|
1449
1449
|
])
|
|
1450
1450
|
]),
|
|
1451
|
-
|
|
1452
|
-
|
|
1451
|
+
Q("div", Wo, [
|
|
1452
|
+
Q("div", { onClick: Be }, [
|
|
1453
1453
|
s(_l, {
|
|
1454
1454
|
name: "personal",
|
|
1455
1455
|
style: { width: "15px", height: "15px" }
|
|
1456
1456
|
}),
|
|
1457
|
-
b[14] || (b[14] =
|
|
1457
|
+
b[14] || (b[14] = Q("span", null, "个人主页", -1))
|
|
1458
1458
|
]),
|
|
1459
|
-
|
|
1459
|
+
Q("div", null, [
|
|
1460
1460
|
s(_l, {
|
|
1461
1461
|
name: "message",
|
|
1462
1462
|
style: { width: "15px", height: "15px" }
|
|
1463
1463
|
}),
|
|
1464
|
-
b[15] || (b[15] =
|
|
1464
|
+
b[15] || (b[15] = Q("span", null, "消息中心", -1))
|
|
1465
1465
|
])
|
|
1466
1466
|
]),
|
|
1467
|
-
|
|
1468
|
-
|
|
1467
|
+
Q("div", Ho, [
|
|
1468
|
+
Q("div", null, [
|
|
1469
1469
|
s(_l, {
|
|
1470
1470
|
name: "exit",
|
|
1471
1471
|
style: { width: "15px", height: "15px", color: "#eb503d" }
|
|
@@ -1508,8 +1508,8 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1508
1508
|
}, 8, ["style"])), [
|
|
1509
1509
|
[Ke, u(M)]
|
|
1510
1510
|
]),
|
|
1511
|
-
|
|
1512
|
-
|
|
1511
|
+
Q("div", Jo, [
|
|
1512
|
+
Q("div", Go, [
|
|
1513
1513
|
s(Ia, {
|
|
1514
1514
|
breadArray: u(g),
|
|
1515
1515
|
onClick: u(wa)
|
|
@@ -1527,7 +1527,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1527
1527
|
onClickTrigger: b[4] || (b[4] = (Y) => u(La)()),
|
|
1528
1528
|
modelValue: "返回"
|
|
1529
1529
|
}),
|
|
1530
|
-
|
|
1530
|
+
Q("div", Xo, [
|
|
1531
1531
|
s(ro, {
|
|
1532
1532
|
toolBar: u(wn),
|
|
1533
1533
|
onOnExtendTaskEnd: u(An)
|
|
@@ -1538,12 +1538,12 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1538
1538
|
!u(vt) && z.value === "vertical" && !((Cl = u(N)) != null && Cl.includes("首页")) && (((bl = u(ga)) == null ? void 0 : bl.length) === 0 || !u(ga)) ? (_(!0), ge(hl, { key: 0 }, Al((ze = u(Sl)) == null ? void 0 : ze.filter((Y) => Y.comp !== "FormTop"), (Y, qe) => {
|
|
1539
1539
|
var Hl, Xl, zl;
|
|
1540
1540
|
return _(), ge("div", {
|
|
1541
|
-
class:
|
|
1541
|
+
class: Ol((Hl = u(ra)) != null && Hl.includes(Y == null ? void 0 : Y.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
1542
1542
|
key: qe,
|
|
1543
1543
|
style: El({ display: (Y == null ? void 0 : Y.isShow) === !1 ? "none" : "flex" })
|
|
1544
1544
|
}, [
|
|
1545
1545
|
((Xl = Y == null ? void 0 : Y.comp) == null ? void 0 : Xl.toUpperCase()) !== "TABLE" && Y.name && !we(Y) ? (_(), ge("div", $o, [
|
|
1546
|
-
|
|
1546
|
+
Q("div", ei, nl(Y.name), 1)
|
|
1547
1547
|
])) : Ne("", !0),
|
|
1548
1548
|
u(yt) ? (_(), Re(nt(u(rt)(Y.comp)), {
|
|
1549
1549
|
related: Y == null ? void 0 : Y.relatedTables,
|
|
@@ -1580,7 +1580,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1580
1580
|
}), 128)) : Ne("", !0),
|
|
1581
1581
|
!u(vt) && z.value === "vertical" && ((Je = u(ga)) == null ? void 0 : Je.length) > 0 ? (_(), Re(u(ss), {
|
|
1582
1582
|
key: 1,
|
|
1583
|
-
layout:
|
|
1583
|
+
layout: Oe.value,
|
|
1584
1584
|
"is-draggable": !1,
|
|
1585
1585
|
"is-resizable": !1,
|
|
1586
1586
|
"col-num": 24,
|
|
@@ -1588,7 +1588,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1588
1588
|
"row-height": u(ns)
|
|
1589
1589
|
}, {
|
|
1590
1590
|
default: c(() => [
|
|
1591
|
-
(_(!0), ge(hl, null, Al(
|
|
1591
|
+
(_(!0), ge(hl, null, Al(Oe.value, (Y, qe) => {
|
|
1592
1592
|
var Hl, Xl;
|
|
1593
1593
|
return _(), Re(u(os), {
|
|
1594
1594
|
key: Y.i,
|
|
@@ -1600,22 +1600,22 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1600
1600
|
w: Y.w,
|
|
1601
1601
|
h: u(ua)((Hl = Y == null ? void 0 : Y.component) == null ? void 0 : Hl.comp) ? 0 : Y.h,
|
|
1602
1602
|
i: Y.i,
|
|
1603
|
-
class:
|
|
1603
|
+
class: Ol([u(ua)((Xl = Y == null ? void 0 : Y.component) == null ? void 0 : Xl.comp) ? "grid-method-button" : "", "grid-scroll-item"])
|
|
1604
1604
|
}, {
|
|
1605
1605
|
default: c(() => {
|
|
1606
|
-
var zl, Pt, Rt, xt, jt, Ut, Lt,
|
|
1606
|
+
var zl, Pt, Rt, xt, jt, Ut, Lt, Ot, Qt, Vt, Nt, Kt, qt, Yt, Wt, Ht, Jt;
|
|
1607
1607
|
return [
|
|
1608
|
-
|
|
1609
|
-
class:
|
|
1608
|
+
Q("div", {
|
|
1609
|
+
class: Ol((Pt = u(ra)) != null && Pt.includes((zl = Y == null ? void 0 : Y.component) == null ? void 0 : zl.id) ? "item-view-content affix-content" : "item-view-content")
|
|
1610
1610
|
}, [
|
|
1611
1611
|
((xt = (Rt = Y == null ? void 0 : Y.component) == null ? void 0 : Rt.comp) == null ? void 0 : xt.toUpperCase()) !== "TABLE" && ((jt = Y == null ? void 0 : Y.component) != null && jt.name) && !we(Y == null ? void 0 : Y.component) ? (_(), ge("div", li, [
|
|
1612
|
-
|
|
1612
|
+
Q("div", ti, nl((Ut = Y == null ? void 0 : Y.component) == null ? void 0 : Ut.name), 1)
|
|
1613
1613
|
])) : Ne("", !0),
|
|
1614
1614
|
u(yt) ? (_(), Re(nt(u(rt)((Lt = Y == null ? void 0 : Y.component) == null ? void 0 : Lt.comp)), {
|
|
1615
1615
|
pageLayout: z.value,
|
|
1616
1616
|
config: {
|
|
1617
|
-
showIndex: (
|
|
1618
|
-
allowMove: (
|
|
1617
|
+
showIndex: (Ot = u(Sl)[qe]) == null ? void 0 : Ot.showIndex,
|
|
1618
|
+
allowMove: (Qt = u(Sl)[qe]) == null ? void 0 : Qt.allowMove,
|
|
1619
1619
|
viewport: (Vt = u(Sl)[qe]) == null ? void 0 : Vt.viewport,
|
|
1620
1620
|
status: (Nt = u(Sl)[qe]) == null ? void 0 : Nt.status
|
|
1621
1621
|
},
|
|
@@ -1674,23 +1674,23 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1674
1674
|
w: Y.w,
|
|
1675
1675
|
h: u(ua)((Hl = Y == null ? void 0 : Y.component) == null ? void 0 : Hl.comp) ? 0 : Y.h,
|
|
1676
1676
|
i: Y.i,
|
|
1677
|
-
class:
|
|
1677
|
+
class: Ol([u(ua)((Xl = Y == null ? void 0 : Y.component) == null ? void 0 : Xl.comp) ? "grid-method-button" : "", "grid-scroll-item", "home-gi-" + qe])
|
|
1678
1678
|
}, {
|
|
1679
1679
|
default: c(() => {
|
|
1680
|
-
var zl, Pt, Rt, xt, jt, Ut, Lt,
|
|
1680
|
+
var zl, Pt, Rt, xt, jt, Ut, Lt, Ot, Qt, Vt, Nt, Kt, qt, Yt, Wt, Ht, Jt;
|
|
1681
1681
|
return [
|
|
1682
|
-
|
|
1682
|
+
Q("div", {
|
|
1683
1683
|
style: { height: "100%", overflow: "auto" },
|
|
1684
|
-
class:
|
|
1684
|
+
class: Ol(((Pt = u(ra)) != null && Pt.includes((zl = Y == null ? void 0 : Y.component) == null ? void 0 : zl.id) ? "item-view-content affix-content" : "item-view-content") + " home-item-scroll")
|
|
1685
1685
|
}, [
|
|
1686
1686
|
((xt = (Rt = Y == null ? void 0 : Y.component) == null ? void 0 : Rt.comp) == null ? void 0 : xt.toUpperCase()) !== "TABLE" && ((jt = Y == null ? void 0 : Y.component) != null && jt.name) && !we(Y == null ? void 0 : Y.component) ? (_(), ge("div", ai, [
|
|
1687
|
-
|
|
1687
|
+
Q("div", si, nl((Ut = Y == null ? void 0 : Y.component) == null ? void 0 : Ut.name), 1)
|
|
1688
1688
|
])) : Ne("", !0),
|
|
1689
1689
|
u(yt) ? (_(), Re(nt(u(rt)((Lt = Y == null ? void 0 : Y.component) == null ? void 0 : Lt.comp)), {
|
|
1690
1690
|
pageLayout: z.value,
|
|
1691
1691
|
config: {
|
|
1692
|
-
showIndex: (
|
|
1693
|
-
allowMove: (
|
|
1692
|
+
showIndex: (Ot = u(Sl)[qe]) == null ? void 0 : Ot.showIndex,
|
|
1693
|
+
allowMove: (Qt = u(Sl)[qe]) == null ? void 0 : Qt.allowMove,
|
|
1694
1694
|
viewport: (Vt = u(Sl)[qe]) == null ? void 0 : Vt.viewport,
|
|
1695
1695
|
status: (Nt = u(Sl)[qe]) == null ? void 0 : Nt.status
|
|
1696
1696
|
},
|
|
@@ -1744,9 +1744,9 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1744
1744
|
default: c(() => {
|
|
1745
1745
|
var Xl, zl;
|
|
1746
1746
|
return [
|
|
1747
|
-
|
|
1747
|
+
Q("div", oi, [
|
|
1748
1748
|
((Xl = qe == null ? void 0 : qe.comp) == null ? void 0 : Xl.toUpperCase()) !== "TABLE" && qe.name && !we(qe) ? (_(), ge("div", ii, [
|
|
1749
|
-
|
|
1749
|
+
Q("div", ci, nl(qe.name), 1)
|
|
1750
1750
|
])) : Ne("", !0),
|
|
1751
1751
|
u(yt) ? (_(), Re(nt(u(rt)(qe.comp)), {
|
|
1752
1752
|
pageLayout: z.value,
|
|
@@ -1813,7 +1813,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1813
1813
|
}, 8, ["active"])) : Ne("", !0),
|
|
1814
1814
|
u(vt) ? (_(), ge("div", {
|
|
1815
1815
|
key: 5,
|
|
1816
|
-
class:
|
|
1816
|
+
class: Ol((Pl = u(ra)) != null && Pl.includes((jl = (ul = u(Gl)) == null ? void 0 : ul.comp) == null ? void 0 : jl.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
1817
1817
|
style: El({ display: ((Tl = (Ll = u(Gl)) == null ? void 0 : Ll.comp) == null ? void 0 : Tl.isShow) === !1 ? "none" : "flex" })
|
|
1818
1818
|
}, [
|
|
1819
1819
|
u(yt) ? (_(), Re(nt(u(rt)((Ul = (ql = u(Gl)) == null ? void 0 : ql.comp) == null ? void 0 : Ul.comp)), {
|
|
@@ -1861,7 +1861,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1861
1861
|
]),
|
|
1862
1862
|
_: 1
|
|
1863
1863
|
}),
|
|
1864
|
-
|
|
1864
|
+
Q("div", null, [
|
|
1865
1865
|
s(lt, {
|
|
1866
1866
|
visible: de.value,
|
|
1867
1867
|
onBeforeDestroy: R,
|
|
@@ -1876,7 +1876,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1876
1876
|
_: 1
|
|
1877
1877
|
}, 8, ["visible"])
|
|
1878
1878
|
]),
|
|
1879
|
-
|
|
1879
|
+
Q("div", null, [
|
|
1880
1880
|
s(lt, {
|
|
1881
1881
|
title: "复制新增",
|
|
1882
1882
|
visible: u(ya),
|
|
@@ -1884,7 +1884,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1884
1884
|
style: { height: "74%" }
|
|
1885
1885
|
}, {
|
|
1886
1886
|
default: c(() => [
|
|
1887
|
-
|
|
1887
|
+
Q("div", ui, [
|
|
1888
1888
|
s(Xs, {
|
|
1889
1889
|
rowContents: u(En),
|
|
1890
1890
|
onChange: u(Tn),
|
|
@@ -1894,7 +1894,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1894
1894
|
])
|
|
1895
1895
|
]),
|
|
1896
1896
|
footer: c(() => [
|
|
1897
|
-
|
|
1897
|
+
Q("div", di, [
|
|
1898
1898
|
s(T, {
|
|
1899
1899
|
onClick: b[6] || (b[6] = (He) => ya.value = !1),
|
|
1900
1900
|
id: "themeBorderButton"
|
|
@@ -1930,7 +1930,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1930
1930
|
], 64);
|
|
1931
1931
|
};
|
|
1932
1932
|
}
|
|
1933
|
-
}), fi = /* @__PURE__ */
|
|
1933
|
+
}), fi = /* @__PURE__ */ Ql(pi, [["__scopeId", "data-v-a312cd74"]]), hi = /* @__PURE__ */ Il({
|
|
1934
1934
|
__name: "menuItem",
|
|
1935
1935
|
props: {
|
|
1936
1936
|
menuList: {
|
|
@@ -1956,7 +1956,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1956
1956
|
Z.show && Z.children && Z.children.length > 0 ? (_(), Re(y, {
|
|
1957
1957
|
index: Z.path,
|
|
1958
1958
|
key: Z.path,
|
|
1959
|
-
class:
|
|
1959
|
+
class: Ol(t.editingPath === (Z == null ? void 0 : Z.path) ? "editing-menu" : "")
|
|
1960
1960
|
}, {
|
|
1961
1961
|
title: c(() => [
|
|
1962
1962
|
Nl(S.$slots, "title", { menu: Z })
|
|
@@ -1970,8 +1970,8 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1970
1970
|
}, fa({ _: 2 }, [
|
|
1971
1971
|
Al(S.$slots, (C, D) => ({
|
|
1972
1972
|
name: D,
|
|
1973
|
-
fn: c((
|
|
1974
|
-
Nl(S.$slots, D, us({ ref_for: !0 },
|
|
1973
|
+
fn: c((O) => [
|
|
1974
|
+
Nl(S.$slots, D, us({ ref_for: !0 }, O))
|
|
1975
1975
|
])
|
|
1976
1976
|
}))
|
|
1977
1977
|
]), 1032, ["menuList"])
|
|
@@ -1981,7 +1981,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
1981
1981
|
index: Z.path,
|
|
1982
1982
|
key: Z.path,
|
|
1983
1983
|
onClick: (C) => k(Z),
|
|
1984
|
-
class:
|
|
1984
|
+
class: Ol(t.editingPath === (Z == null ? void 0 : Z.path) ? "editing-menu" : "")
|
|
1985
1985
|
}, {
|
|
1986
1986
|
title: c(() => [
|
|
1987
1987
|
Nl(S.$slots, "title", { menu: Z })
|
|
@@ -2018,9 +2018,9 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2018
2018
|
ue("openMenu", h);
|
|
2019
2019
|
}, D = (h) => {
|
|
2020
2020
|
ue("selectMenu", h);
|
|
2021
|
-
},
|
|
2021
|
+
}, O = (h) => {
|
|
2022
2022
|
ue("closeMenu", h);
|
|
2023
|
-
}, n =
|
|
2023
|
+
}, n = vl(() => f.value ? S.value : (y == null ? void 0 : y.mode) === "vertical" ? W.value : S.value), oe = vl(() => G.value), H = E(null);
|
|
2024
2024
|
return L({
|
|
2025
2025
|
handleResize: () => {
|
|
2026
2026
|
var h;
|
|
@@ -2031,7 +2031,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2031
2031
|
return _(), Re(o, {
|
|
2032
2032
|
ref_key: "menuRef",
|
|
2033
2033
|
ref: H,
|
|
2034
|
-
class:
|
|
2034
|
+
class: Ol(["menu-wrap", t.mode + "-menu-wrap"]),
|
|
2035
2035
|
mode: t.mode,
|
|
2036
2036
|
"default-active": n.value,
|
|
2037
2037
|
openeds: oe.value,
|
|
@@ -2042,7 +2042,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2042
2042
|
ellipsis: t.mode === "vertical",
|
|
2043
2043
|
collapse: t.isCollapse,
|
|
2044
2044
|
onOpen: C,
|
|
2045
|
-
onClose:
|
|
2045
|
+
onClose: O,
|
|
2046
2046
|
onSelect: D
|
|
2047
2047
|
}, {
|
|
2048
2048
|
default: c(() => [
|
|
@@ -2051,7 +2051,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2051
2051
|
index: g.path,
|
|
2052
2052
|
key: g.path,
|
|
2053
2053
|
style: El(g.style),
|
|
2054
|
-
class:
|
|
2054
|
+
class: Ol(t.editingPath === (g == null ? void 0 : g.path) && t.editingPath ? "editing-menu" : "")
|
|
2055
2055
|
}, {
|
|
2056
2056
|
title: c(() => [
|
|
2057
2057
|
Nl(h.$slots, "title", {
|
|
@@ -2077,7 +2077,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2077
2077
|
}, 1032, ["index", "style", "class"])) : g.show ? (_(), Re(be, {
|
|
2078
2078
|
index: g.path,
|
|
2079
2079
|
key: g.path,
|
|
2080
|
-
class:
|
|
2080
|
+
class: Ol(t.editingPath === (g == null ? void 0 : g.path) && t.editingPath ? "editing-menu" : ""),
|
|
2081
2081
|
style: El(g.style),
|
|
2082
2082
|
onClick: (fe) => Z(g)
|
|
2083
2083
|
}, {
|
|
@@ -2097,7 +2097,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2097
2097
|
}, 8, ["class", "mode", "default-active", "openeds", "unique-opened", "ellipsis", "collapse"]);
|
|
2098
2098
|
};
|
|
2099
2099
|
}
|
|
2100
|
-
}), Rs = /* @__PURE__ */
|
|
2100
|
+
}), Rs = /* @__PURE__ */ Ql(gi, [["__scopeId", "data-v-b106470e"]]), vi = { class: "icon-selector w100 h100" }, yi = { class: "icon-selector-warp" }, bi = { class: "icon-selector-warp-title" }, Ci = ["title"], mi = /* @__PURE__ */ Il({
|
|
2101
2101
|
__name: "index",
|
|
2102
2102
|
props: {
|
|
2103
2103
|
// 输入框前置内容
|
|
@@ -2168,7 +2168,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2168
2168
|
S.value.focus();
|
|
2169
2169
|
}, D = (H) => {
|
|
2170
2170
|
le.fontIconPlaceholder = H, le.fontIconPrefix = H, k("get", le.fontIconPrefix), k("update:modelValue", le.fontIconPrefix), S.value.focus();
|
|
2171
|
-
},
|
|
2171
|
+
}, O = () => {
|
|
2172
2172
|
le.fontIconPrefix = "", k("clear", le.fontIconPrefix), k("update:modelValue", le.fontIconPrefix);
|
|
2173
2173
|
}, n = () => {
|
|
2174
2174
|
Zl(() => {
|
|
@@ -2196,7 +2196,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2196
2196
|
size: t.size,
|
|
2197
2197
|
ref_key: "inputWidthRef",
|
|
2198
2198
|
ref: S,
|
|
2199
|
-
onClear:
|
|
2199
|
+
onClear: O,
|
|
2200
2200
|
onFocus: f,
|
|
2201
2201
|
onBlur: y,
|
|
2202
2202
|
class: "hidden-input"
|
|
@@ -2223,8 +2223,8 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2223
2223
|
"virtual-triggering": ""
|
|
2224
2224
|
}, {
|
|
2225
2225
|
default: c(() => [
|
|
2226
|
-
|
|
2227
|
-
|
|
2226
|
+
Q("div", yi, [
|
|
2227
|
+
Q("div", bi, nl(t.title), 1),
|
|
2228
2228
|
s(De, {
|
|
2229
2229
|
modelValue: le.fontIconTabActive,
|
|
2230
2230
|
"onUpdate:modelValue": J[1] || (J[1] = (te) => le.fontIconTabActive = te),
|
|
@@ -2266,8 +2266,8 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2266
2266
|
onClick: (de) => D(te)
|
|
2267
2267
|
}, {
|
|
2268
2268
|
default: c(() => [
|
|
2269
|
-
|
|
2270
|
-
class:
|
|
2269
|
+
Q("div", {
|
|
2270
|
+
class: Ol(["icon-selector-warp-item", { "icon-selector-active": le.fontIconPrefix === te }]),
|
|
2271
2271
|
title: te
|
|
2272
2272
|
}, [
|
|
2273
2273
|
s(u(G), { name: te }, null, 8, ["name"])
|
|
@@ -2294,7 +2294,7 @@ const eo = /* @__PURE__ */ Ol(zn, [["render", $n], ["__scopeId", "data-v-f4b6e11
|
|
|
2294
2294
|
]);
|
|
2295
2295
|
};
|
|
2296
2296
|
}
|
|
2297
|
-
}),
|
|
2297
|
+
}), Qa = /* @__PURE__ */ Ql(mi, [["__scopeId", "data-v-2cbbce7f"]]), Ai = Jl(fl), { systemUrl: pt } = ol(Ai);
|
|
2298
2298
|
let ca = pt.value === "" || !pt.value ? "http://222.92.178.198:63002" : pt.value;
|
|
2299
2299
|
pl(
|
|
2300
2300
|
() => pt.value,
|
|
@@ -2395,7 +2395,7 @@ function Mi(t = "menu") {
|
|
|
2395
2395
|
ssEditMenu: Rs,
|
|
2396
2396
|
DynamicIcon: ta,
|
|
2397
2397
|
ssDialog: lt,
|
|
2398
|
-
IconSelector:
|
|
2398
|
+
IconSelector: Qa,
|
|
2399
2399
|
CircleCheck: bs,
|
|
2400
2400
|
CircleClose: ys,
|
|
2401
2401
|
Delete: vs
|
|
@@ -2422,9 +2422,9 @@ function Mi(t = "menu") {
|
|
|
2422
2422
|
platform: Z,
|
|
2423
2423
|
activeAsideEditMenuPath: C,
|
|
2424
2424
|
linkMenuInfo: D,
|
|
2425
|
-
updateMenuStatus:
|
|
2425
|
+
updateMenuStatus: O,
|
|
2426
2426
|
menuMap: n
|
|
2427
|
-
} = ol(W), oe = Jl(), { structureData: H } = ol(oe), J = E([]), h = E([]), B =
|
|
2427
|
+
} = ol(W), oe = Jl(), { structureData: H } = ol(oe), J = E([]), h = E([]), B = vl(() => L == null ? void 0 : L.mode), X = (m) => m == null ? void 0 : m.map((q) => q.children && q.children.length > 0 ? {
|
|
2428
2428
|
...q,
|
|
2429
2429
|
// 水平菜单仅显示一层
|
|
2430
2430
|
children: q.level === 0 ? [] : q.children ?? [],
|
|
@@ -2446,7 +2446,7 @@ function Mi(t = "menu") {
|
|
|
2446
2446
|
return q;
|
|
2447
2447
|
}, De = (m, q = "", Ee = 0) => {
|
|
2448
2448
|
var $e;
|
|
2449
|
-
let ke =
|
|
2449
|
+
let ke = gl(m);
|
|
2450
2450
|
const Te = Array.from(/* @__PURE__ */ new Set([...($e = H.value) == null ? void 0 : $e.map((we) => {
|
|
2451
2451
|
var ml;
|
|
2452
2452
|
return (ml = we == null ? void 0 : we.key) == null ? void 0 : ml.pageKey;
|
|
@@ -2475,14 +2475,14 @@ function Mi(t = "menu") {
|
|
|
2475
2475
|
};
|
|
2476
2476
|
return we.children && we.children.length > 0 && (Ue.children = De(we.children, yl, Ee + 1)), Ue;
|
|
2477
2477
|
});
|
|
2478
|
-
}, fe =
|
|
2478
|
+
}, fe = vl(() => {
|
|
2479
2479
|
var Ee;
|
|
2480
|
-
let m =
|
|
2480
|
+
let m = gl(J.value);
|
|
2481
2481
|
if (m = [...m, ...ue.value], (m == null ? void 0 : m.length) === 0)
|
|
2482
2482
|
return le.push("/"), [];
|
|
2483
2483
|
xe(m, K.value);
|
|
2484
2484
|
const q = X(m);
|
|
2485
|
-
return
|
|
2485
|
+
return Oa(q), W.setMenus(q), Zl(() => {
|
|
2486
2486
|
var ke;
|
|
2487
2487
|
(ke = ne.value) == null || ke.handleResize();
|
|
2488
2488
|
}), (Ee = q == null ? void 0 : q.filter((ke) => ke == null ? void 0 : ke.show)) == null ? void 0 : Ee.sort((ke, Te) => (ke == null ? void 0 : ke.create_time) - (Te == null ? void 0 : Te.create_time));
|
|
@@ -2535,7 +2535,7 @@ function Mi(t = "menu") {
|
|
|
2535
2535
|
Kl(() => {
|
|
2536
2536
|
S.value = 1, h.value = It();
|
|
2537
2537
|
});
|
|
2538
|
-
const K =
|
|
2538
|
+
const K = vl(() => {
|
|
2539
2539
|
const m = sessionStorage.getItem("authority");
|
|
2540
2540
|
return m ? JSON.parse(m) : [];
|
|
2541
2541
|
});
|
|
@@ -2552,7 +2552,7 @@ function Mi(t = "menu") {
|
|
|
2552
2552
|
pl(
|
|
2553
2553
|
() => f.value,
|
|
2554
2554
|
async (m) => {
|
|
2555
|
-
h.value = It(), m ? (
|
|
2555
|
+
h.value = It(), m ? (O.value && (W.setActiveTopMenuPath(""), W.setActiveMenuPath(""), W.setAsideMenus([])), ye(m)) : J.value = [];
|
|
2556
2556
|
},
|
|
2557
2557
|
{
|
|
2558
2558
|
immediate: !0
|
|
@@ -2565,7 +2565,7 @@ function Mi(t = "menu") {
|
|
|
2565
2565
|
width: "30%",
|
|
2566
2566
|
type: "create",
|
|
2567
2567
|
title: "新建菜单"
|
|
2568
|
-
}),
|
|
2568
|
+
}), Qe = E(null), Fe = () => {
|
|
2569
2569
|
Ae.show = !1, x();
|
|
2570
2570
|
}, Le = (m) => {
|
|
2571
2571
|
P.title = "", P.icon = "", Ae.type = "create", Ae.show = !0;
|
|
@@ -2599,7 +2599,7 @@ function Mi(t = "menu") {
|
|
|
2599
2599
|
}
|
|
2600
2600
|
function rl(m, q) {
|
|
2601
2601
|
if (!q) return [];
|
|
2602
|
-
const Ee = [], ke = new RegExp(`(^|/)${q}(/|$)`), Te =
|
|
2602
|
+
const Ee = [], ke = new RegExp(`(^|/)${q}(/|$)`), Te = gl(J.value), Ie = Vl(Te, "path", P == null ? void 0 : P.path);
|
|
2603
2603
|
for (const [$e, we] of m.entries())
|
|
2604
2604
|
ke.test(we == null ? void 0 : we.object_name) && Ee.push({
|
|
2605
2605
|
id: $e,
|
|
@@ -2647,7 +2647,7 @@ function Mi(t = "menu") {
|
|
|
2647
2647
|
}
|
|
2648
2648
|
}, i = E(0), l = () => {
|
|
2649
2649
|
var m;
|
|
2650
|
-
(m =
|
|
2650
|
+
(m = Qe.value) == null || m.validate(async (q) => {
|
|
2651
2651
|
if (q) {
|
|
2652
2652
|
switch (Ae.type) {
|
|
2653
2653
|
case "create":
|
|
@@ -2749,7 +2749,7 @@ function Mi(t = "menu") {
|
|
|
2749
2749
|
onDeleteMenu: M,
|
|
2750
2750
|
menuForm: P,
|
|
2751
2751
|
menuRules: ce,
|
|
2752
|
-
menuFormRef:
|
|
2752
|
+
menuFormRef: Qe,
|
|
2753
2753
|
refreshKey: i,
|
|
2754
2754
|
loading: Ze,
|
|
2755
2755
|
inputRef: _e
|
|
@@ -2772,21 +2772,21 @@ function Bi(t, L, d, k, W, G) {
|
|
|
2772
2772
|
onOpenMenu: t.openMenu,
|
|
2773
2773
|
onCloseMenu: t.closeMenu
|
|
2774
2774
|
}, {
|
|
2775
|
-
title: c(({ menu:
|
|
2775
|
+
title: c(({ menu: O }) => {
|
|
2776
2776
|
var n, oe, H, J;
|
|
2777
2777
|
return [
|
|
2778
|
-
(
|
|
2778
|
+
(O == null ? void 0 : O.path) !== ((n = t.menuForm) == null ? void 0 : n.path) ? (_(), Re(S, {
|
|
2779
2779
|
key: 0,
|
|
2780
|
-
name:
|
|
2780
|
+
name: O.icon ?? "default",
|
|
2781
2781
|
class: "menu-icon"
|
|
2782
2782
|
}, null, 8, ["name"])) : Ne("", !0),
|
|
2783
|
-
(
|
|
2783
|
+
(O == null ? void 0 : O.path) !== ((oe = t.menuForm) == null ? void 0 : oe.path) ? (_(), ge("span", {
|
|
2784
2784
|
key: 1,
|
|
2785
2785
|
class: "menu-title",
|
|
2786
2786
|
title: "双击编辑",
|
|
2787
|
-
onDblclick: Dl((h) => t.onDbClickMenu(
|
|
2788
|
-
}, nl(
|
|
2789
|
-
(H = t.menuForm) != null && H.path && ((J = t.menuForm) == null ? void 0 : J.path) === (
|
|
2787
|
+
onDblclick: Dl((h) => t.onDbClickMenu(O), ["stop"])
|
|
2788
|
+
}, nl(O.title ?? ""), 41, Si)) : Ne("", !0),
|
|
2789
|
+
(H = t.menuForm) != null && H.path && ((J = t.menuForm) == null ? void 0 : J.path) === (O == null ? void 0 : O.path) ? (_(), Re(ue, {
|
|
2790
2790
|
key: 2,
|
|
2791
2791
|
ref: "menuFormRef",
|
|
2792
2792
|
model: t.menuForm,
|
|
@@ -2819,25 +2819,25 @@ function Bi(t, L, d, k, W, G) {
|
|
|
2819
2819
|
append: c(() => {
|
|
2820
2820
|
var h, B, X;
|
|
2821
2821
|
return [
|
|
2822
|
-
|
|
2822
|
+
Q("span", _i, [
|
|
2823
2823
|
s(S, {
|
|
2824
2824
|
name: "softConfirm",
|
|
2825
2825
|
style: El({ color: (h = t.menuForm.title) != null && h.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
2826
2826
|
onClick: Dl(t.onConfirmMenu, ["stop"])
|
|
2827
2827
|
}, null, 8, ["style", "onClick"])
|
|
2828
2828
|
]),
|
|
2829
|
-
|
|
2829
|
+
Q("span", Ti, [
|
|
2830
2830
|
s(S, {
|
|
2831
2831
|
name: "softCancel",
|
|
2832
2832
|
style: El({ color: (B = t.menuForm.title) != null && B.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
2833
2833
|
onClick: Dl(t.onCloseMenuPlusDialog, ["stop"])
|
|
2834
2834
|
}, null, 8, ["style", "onClick"])
|
|
2835
2835
|
]),
|
|
2836
|
-
|
|
2836
|
+
Q("span", Ei, [
|
|
2837
2837
|
s(S, {
|
|
2838
2838
|
name: "softRemove",
|
|
2839
2839
|
style: El({ color: (X = t.menuForm.title) != null && X.length ? "var(--el-color-danger)" : "var(--el-color-info)" }),
|
|
2840
|
-
onClick: Dl((be) => t.onDeleteMenu(
|
|
2840
|
+
onClick: Dl((be) => t.onDeleteMenu(O), ["stop"]),
|
|
2841
2841
|
title: "删除"
|
|
2842
2842
|
}, null, 8, ["style", "onClick"])
|
|
2843
2843
|
])
|
|
@@ -2858,7 +2858,7 @@ function Bi(t, L, d, k, W, G) {
|
|
|
2858
2858
|
[C, t.loading]
|
|
2859
2859
|
]);
|
|
2860
2860
|
}
|
|
2861
|
-
const Di = /* @__PURE__ */
|
|
2861
|
+
const Di = /* @__PURE__ */ Ql(Ii, [["render", Bi], ["__scopeId", "data-v-b6f56f5f"]]);
|
|
2862
2862
|
function Pi(t = "menu") {
|
|
2863
2863
|
return {
|
|
2864
2864
|
name: t,
|
|
@@ -2868,7 +2868,7 @@ function Pi(t = "menu") {
|
|
|
2868
2868
|
DynamicIcon: ta,
|
|
2869
2869
|
ssDialog: lt,
|
|
2870
2870
|
ssInput: hs,
|
|
2871
|
-
IconSelector:
|
|
2871
|
+
IconSelector: Qa,
|
|
2872
2872
|
CircleCheck: bs,
|
|
2873
2873
|
CircleClose: ys,
|
|
2874
2874
|
Delete: vs
|
|
@@ -2902,14 +2902,14 @@ function Pi(t = "menu") {
|
|
|
2902
2902
|
menuMap: Z,
|
|
2903
2903
|
activeAsideEditMenuPath: C,
|
|
2904
2904
|
activeMainEditMenuPath: D,
|
|
2905
|
-
asideEditMenus:
|
|
2905
|
+
asideEditMenus: O,
|
|
2906
2906
|
menuTriggerType: n,
|
|
2907
2907
|
platform: oe
|
|
2908
|
-
} = ol(W), { fixMenuStatus: H } = ol(G), { isSuperAdmin: J } = _s(), h =
|
|
2908
|
+
} = ol(W), { fixMenuStatus: H } = ol(G), { isSuperAdmin: J } = _s(), h = vl(() => L == null ? void 0 : L.mode), B = (v) => v == null ? void 0 : v.map(($) => {
|
|
2909
2909
|
var se, Ce;
|
|
2910
2910
|
return !($ != null && $.children) || ((se = $ == null ? void 0 : $.children) == null ? void 0 : se.length) === 0 ? $.config = k.value : $ != null && $.children && ((Ce = $ == null ? void 0 : $.children) == null ? void 0 : Ce.length) > 0 && ($.children = B($.children)), $;
|
|
2911
|
-
}), X =
|
|
2912
|
-
let v = [...
|
|
2911
|
+
}), X = vl(() => {
|
|
2912
|
+
let v = [...O.value].sort((z, $) => (z == null ? void 0 : z.create_time) - ($ == null ? void 0 : $.create_time));
|
|
2913
2913
|
return (v == null ? void 0 : v.length) === 0 ? (y.push("/"), []) : (ie(v, je.value), v = v == null ? void 0 : v.map((z) => {
|
|
2914
2914
|
var $, se;
|
|
2915
2915
|
return !(z != null && z.children) || (($ = z == null ? void 0 : z.children) == null ? void 0 : $.length) === 0 ? z.config = k.value : z != null && z.children && ((se = z == null ? void 0 : z.children) == null ? void 0 : se.length) > 0 && (z.children = B(z.children)), z;
|
|
@@ -3021,11 +3021,11 @@ function Pi(t = "menu") {
|
|
|
3021
3021
|
throw new Error(el);
|
|
3022
3022
|
}
|
|
3023
3023
|
}, De = E({}), fe = async (v) => {
|
|
3024
|
-
W.setActiveAsideEditMenuPath(v == null ? void 0 : v.path), De.value =
|
|
3024
|
+
W.setActiveAsideEditMenuPath(v == null ? void 0 : v.path), De.value = gl(v), await g(v);
|
|
3025
3025
|
}, te = async (v) => {
|
|
3026
3026
|
H.value ? G.setFixMenuStatus(!1) : (M.value && (n.value = "open"), n.value === "click" ? f.value === 1 ? W.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : W.setActiveAsideEditMenuPath(v) : M.value || (W.setMenuTriggerType("click"), W.setActiveAsideEditMenuPath(v))), v != null && v.startsWith("/") ? y.push(v) : y.push("/"), f.value++;
|
|
3027
3027
|
const z = Vl(X.value, "path", v);
|
|
3028
|
-
z && (De.value =
|
|
3028
|
+
z && (De.value = gl(z), await g(z));
|
|
3029
3029
|
}, me = (v) => {
|
|
3030
3030
|
M.value || W.setActiveMenuPath(v);
|
|
3031
3031
|
}, de = (v) => {
|
|
@@ -3037,7 +3037,7 @@ function Pi(t = "menu") {
|
|
|
3037
3037
|
Kl(() => {
|
|
3038
3038
|
f.value = 1;
|
|
3039
3039
|
});
|
|
3040
|
-
const je =
|
|
3040
|
+
const je = vl(() => {
|
|
3041
3041
|
const v = sessionStorage.getItem("authority");
|
|
3042
3042
|
return v ? JSON.parse(v) : [];
|
|
3043
3043
|
});
|
|
@@ -3057,7 +3057,7 @@ function Pi(t = "menu") {
|
|
|
3057
3057
|
title: "菜单配置",
|
|
3058
3058
|
width: "30%",
|
|
3059
3059
|
type: "create"
|
|
3060
|
-
}), ye = (v) => Ss(v), xe = E({}), Ae = E([]),
|
|
3060
|
+
}), ye = (v) => Ss(v), xe = E({}), Ae = E([]), Qe = E({}), Fe = E({}), Le = E({}), tl = (v) => {
|
|
3061
3061
|
W.setCacheInputMenu({
|
|
3062
3062
|
type: K.type,
|
|
3063
3063
|
data: v
|
|
@@ -3117,21 +3117,21 @@ function Pi(t = "menu") {
|
|
|
3117
3117
|
}, e = (v) => v == null ? void 0 : v.filter((z) => z.allowInherit), i = () => {
|
|
3118
3118
|
var $, se, Ce, V, b;
|
|
3119
3119
|
let v;
|
|
3120
|
-
K.type === "create" && (v = (($ = Fe.value) == null ? void 0 : $.path) + "/" +
|
|
3120
|
+
K.type === "create" && (v = (($ = Fe.value) == null ? void 0 : $.path) + "/" + Qe.value[(se = Qe.value) == null ? void 0 : se.prop]), K.type === "update" && (v = (Ce = Fe.value) == null ? void 0 : Ce.path);
|
|
3121
3121
|
const z = {
|
|
3122
3122
|
...Fe.value,
|
|
3123
3123
|
//是否继承父菜单的配置
|
|
3124
3124
|
config: e((V = Fe.value) == null ? void 0 : V.config),
|
|
3125
3125
|
children: [],
|
|
3126
3126
|
childMenus: [],
|
|
3127
|
-
title:
|
|
3127
|
+
title: Qe.value[(b = Qe.value) == null ? void 0 : b.prop],
|
|
3128
3128
|
path: v
|
|
3129
3129
|
};
|
|
3130
3130
|
console.log("clickSubmitForm", Le.value, Fe.value, z), tl(z), K.show = !1;
|
|
3131
3131
|
}, l = (v) => {
|
|
3132
3132
|
var $, se;
|
|
3133
3133
|
const z = ($ = v == null ? void 0 : v.contents) == null ? void 0 : $.find((Ce) => Ce.key === "formContent");
|
|
3134
|
-
z && (
|
|
3134
|
+
z && (Qe.value = (se = z == null ? void 0 : z.contents) == null ? void 0 : se.reduce(
|
|
3135
3135
|
(Ce, V) => (Ce[V.key] = V.value, Ce.prop = V.key, Ce),
|
|
3136
3136
|
{}
|
|
3137
3137
|
));
|
|
@@ -3161,7 +3161,7 @@ function Pi(t = "menu") {
|
|
|
3161
3161
|
}, Te = (v) => {
|
|
3162
3162
|
Ee(), P.parentPath = v == null ? void 0 : v.path, P.type = "create", P.show = !0, Zl(() => {
|
|
3163
3163
|
var z;
|
|
3164
|
-
(z =
|
|
3164
|
+
(z = Oe.value) == null || z.focus();
|
|
3165
3165
|
});
|
|
3166
3166
|
}, Ie = async (v) => {
|
|
3167
3167
|
var $, se, Ce;
|
|
@@ -3274,7 +3274,7 @@ function Pi(t = "menu") {
|
|
|
3274
3274
|
return z < 0 || z >= se.length ? (console.warn(`索引 ${z} 超出范围,路径共有 ${se.length} 个片段`), v) : (se[z] = $, se.join("/"));
|
|
3275
3275
|
}
|
|
3276
3276
|
function Ue(v, z) {
|
|
3277
|
-
const $ = [], se = new RegExp(`(^|/)${z}(/|$)`), Ce =
|
|
3277
|
+
const $ = [], se = new RegExp(`(^|/)${z}(/|$)`), Ce = gl(X.value), V = Vl(Ce, "path", A == null ? void 0 : A.path);
|
|
3278
3278
|
for (const [b, r] of v.entries())
|
|
3279
3279
|
se.test(r == null ? void 0 : r.object_name) && $.push({
|
|
3280
3280
|
id: b,
|
|
@@ -3392,7 +3392,7 @@ function Pi(t = "menu") {
|
|
|
3392
3392
|
value: "delete",
|
|
3393
3393
|
icon: "DeleteMenu"
|
|
3394
3394
|
}
|
|
3395
|
-
],
|
|
3395
|
+
], Oe = E(null);
|
|
3396
3396
|
return {
|
|
3397
3397
|
isCollapse: M,
|
|
3398
3398
|
handleMenuCollapse: x,
|
|
@@ -3427,7 +3427,7 @@ function Pi(t = "menu") {
|
|
|
3427
3427
|
onDbClickMenu: (v) => {
|
|
3428
3428
|
A.title = v == null ? void 0 : v.title, A.icon = v == null ? void 0 : v.icon, A.path = v == null ? void 0 : v.path, P.type = "update", P.show = !1, Zl(() => {
|
|
3429
3429
|
var z;
|
|
3430
|
-
(z =
|
|
3430
|
+
(z = Oe.value) == null || z.focus();
|
|
3431
3431
|
});
|
|
3432
3432
|
},
|
|
3433
3433
|
groupDialogInfo: ce,
|
|
@@ -3438,7 +3438,7 @@ function Pi(t = "menu") {
|
|
|
3438
3438
|
onConfirmGroup: R,
|
|
3439
3439
|
activeMainEditMenuPath: D,
|
|
3440
3440
|
activeGroupOptions: o,
|
|
3441
|
-
inputRef:
|
|
3441
|
+
inputRef: Oe,
|
|
3442
3442
|
loading: w
|
|
3443
3443
|
};
|
|
3444
3444
|
}
|
|
@@ -3447,13 +3447,13 @@ function Pi(t = "menu") {
|
|
|
3447
3447
|
const Ri = Il(Pi()), xi = ["title", "onDblclick"], ji = { title: "确认" }, Ui = { title: "取消" }, Li = {
|
|
3448
3448
|
key: 3,
|
|
3449
3449
|
class: "menu-operate-icon"
|
|
3450
|
-
},
|
|
3450
|
+
}, Oi = { class: "menu-config-wrap" }, Qi = ["onClick"], Vi = { class: "plus-wrapper" }, Ni = {
|
|
3451
3451
|
key: 0,
|
|
3452
3452
|
title: "新建单元"
|
|
3453
3453
|
}, Ki = { title: "确认" }, qi = { title: "取消" }, Yi = { class: "dialog-footer" };
|
|
3454
3454
|
function Wi(t, L, d, k, W, G) {
|
|
3455
3455
|
var h;
|
|
3456
|
-
const S = re("svg-icon"), le = re("IconSelector"), f = re("el-input"), y = re("el-form-item"), ue = re("el-form"), Z = re("el-popover"), C = re("ss-edit-menu"), D = re("el-cascader"),
|
|
3456
|
+
const S = re("svg-icon"), le = re("IconSelector"), f = re("el-input"), y = re("el-form-item"), ue = re("el-form"), Z = re("el-popover"), C = re("ss-edit-menu"), D = re("el-cascader"), O = re("el-option"), n = re("el-select"), oe = re("el-button"), H = re("ss-dialog"), J = la("loading");
|
|
3457
3457
|
return _(), ge(hl, null, [
|
|
3458
3458
|
Wl((_(), Re(C, {
|
|
3459
3459
|
"element-loading-background": "transparent",
|
|
@@ -3514,14 +3514,14 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3514
3514
|
append: c(() => {
|
|
3515
3515
|
var fe, te;
|
|
3516
3516
|
return [
|
|
3517
|
-
|
|
3517
|
+
Q("span", ji, [
|
|
3518
3518
|
s(S, {
|
|
3519
3519
|
name: "softConfirm",
|
|
3520
3520
|
style: El({ color: (fe = t.menuForm.title) != null && fe.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
3521
3521
|
onClick: Dl(t.onConfirmMenu, ["stop"])
|
|
3522
3522
|
}, null, 8, ["style", "onClick"])
|
|
3523
3523
|
]),
|
|
3524
|
-
|
|
3524
|
+
Q("span", Ui, [
|
|
3525
3525
|
s(S, {
|
|
3526
3526
|
name: "softCancel",
|
|
3527
3527
|
style: El({ color: (te = t.menuForm.title) != null && te.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
@@ -3552,7 +3552,7 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3552
3552
|
})
|
|
3553
3553
|
]),
|
|
3554
3554
|
default: c(() => [
|
|
3555
|
-
|
|
3555
|
+
Q("div", Oi, [
|
|
3556
3556
|
(_(!0), ge(hl, null, Al(t.menuOperations, (fe) => (_(), ge("div", {
|
|
3557
3557
|
class: "menu-config-item",
|
|
3558
3558
|
key: fe.title,
|
|
@@ -3562,8 +3562,8 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3562
3562
|
name: fe == null ? void 0 : fe.icon,
|
|
3563
3563
|
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
3564
3564
|
}, null, 8, ["name"]),
|
|
3565
|
-
|
|
3566
|
-
], 8,
|
|
3565
|
+
Q("span", null, nl(fe == null ? void 0 : fe.title), 1)
|
|
3566
|
+
], 8, Qi))), 128))
|
|
3567
3567
|
])
|
|
3568
3568
|
]),
|
|
3569
3569
|
_: 2
|
|
@@ -3575,7 +3575,7 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3575
3575
|
}, 8, ["mode", "menuList", "isCollapse", "editingPath", "onClickMenu", "onOpenMenu", "onCloseMenu"])), [
|
|
3576
3576
|
[J, t.loading]
|
|
3577
3577
|
]),
|
|
3578
|
-
|
|
3578
|
+
Q("div", Vi, [
|
|
3579
3579
|
!t.menuPlusDialogInfo.show && t.activeMainEditMenuPath ? (_(), ge("span", Ni, [
|
|
3580
3580
|
s(S, {
|
|
3581
3581
|
name: "menuPlusDark",
|
|
@@ -3614,14 +3614,14 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3614
3614
|
append: c(() => {
|
|
3615
3615
|
var B, X;
|
|
3616
3616
|
return [
|
|
3617
|
-
|
|
3617
|
+
Q("span", Ki, [
|
|
3618
3618
|
s(S, {
|
|
3619
3619
|
name: "softConfirm",
|
|
3620
3620
|
style: El({ color: (B = t.menuForm.title) != null && B.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
3621
3621
|
onClick: Dl(t.onConfirmMenu, ["stop"])
|
|
3622
3622
|
}, null, 8, ["style", "onClick"])
|
|
3623
3623
|
]),
|
|
3624
|
-
|
|
3624
|
+
Q("span", qi, [
|
|
3625
3625
|
s(S, {
|
|
3626
3626
|
name: "softCancel",
|
|
3627
3627
|
style: El({ color: (X = t.menuForm.title) != null && X.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
@@ -3646,7 +3646,7 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3646
3646
|
onBeforeDestroy: t.onCloseGroupDialog
|
|
3647
3647
|
}, {
|
|
3648
3648
|
footer: c(() => [
|
|
3649
|
-
|
|
3649
|
+
Q("div", Yi, [
|
|
3650
3650
|
s(oe, { onClick: t.onCloseGroupDialog }, {
|
|
3651
3651
|
default: c(() => L[7] || (L[7] = [
|
|
3652
3652
|
il("取消")
|
|
@@ -3716,7 +3716,7 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3716
3716
|
clearable: ""
|
|
3717
3717
|
}, {
|
|
3718
3718
|
default: c(() => [
|
|
3719
|
-
(_(!0), ge(hl, null, Al(t.compTypeOptions, (B) => (_(), Re(
|
|
3719
|
+
(_(!0), ge(hl, null, Al(t.compTypeOptions, (B) => (_(), Re(O, {
|
|
3720
3720
|
key: B.value,
|
|
3721
3721
|
label: B.label,
|
|
3722
3722
|
value: B.value
|
|
@@ -3735,7 +3735,7 @@ function Wi(t, L, d, k, W, G) {
|
|
|
3735
3735
|
}, 8, ["title", "width", "visible", "onBeforeDestroy"])
|
|
3736
3736
|
], 64);
|
|
3737
3737
|
}
|
|
3738
|
-
const Hi = /* @__PURE__ */
|
|
3738
|
+
const Hi = /* @__PURE__ */ Ql(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc1"]]), Ji = Jl(fl), { loginUserInfo: Fl } = ol(Ji), Gi = xl(), xs = async () => {
|
|
3739
3739
|
var L, d, k, W, G, S, le;
|
|
3740
3740
|
let t = await _t({
|
|
3741
3741
|
platId: parseInt((L = Fl == null ? void 0 : Fl.value) == null ? void 0 : L.plat_id),
|
|
@@ -3856,7 +3856,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
3856
3856
|
style: { padding: "0", margin: "0 0.5rem 0 0" },
|
|
3857
3857
|
text: "",
|
|
3858
3858
|
type: D == null ? void 0 : D.type,
|
|
3859
|
-
onClick: (
|
|
3859
|
+
onClick: (O) => S(D == null ? void 0 : D.value, C, t.group)
|
|
3860
3860
|
}, {
|
|
3861
3861
|
default: c(() => [
|
|
3862
3862
|
il(nl(D == null ? void 0 : D.label), 1)
|
|
@@ -3939,7 +3939,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
3939
3939
|
}
|
|
3940
3940
|
break;
|
|
3941
3941
|
}
|
|
3942
|
-
},
|
|
3942
|
+
}, O = (h) => {
|
|
3943
3943
|
var B, X;
|
|
3944
3944
|
d != null && d.level && k("onDeleteTab", h), (B = String(h == null ? void 0 : h.id)) != null && B.includes("new") ? G.value = (X = G.value) == null ? void 0 : X.filter((be) => (be == null ? void 0 : be.id) !== (h == null ? void 0 : h.id)) : k("onClickOperateData", "delete", h, d == null ? void 0 : d.group);
|
|
3945
3945
|
}, n = (h, B) => {
|
|
@@ -3983,7 +3983,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
3983
3983
|
addable: !0,
|
|
3984
3984
|
closable: !1,
|
|
3985
3985
|
onEdit: D,
|
|
3986
|
-
class:
|
|
3986
|
+
class: Ol(["tabs-wrapper", `level-${t.level}`]),
|
|
3987
3987
|
onTabClick: H
|
|
3988
3988
|
}, {
|
|
3989
3989
|
default: c(() => [
|
|
@@ -4020,7 +4020,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4020
4020
|
class: "tab-input-wrapper"
|
|
4021
4021
|
}, {
|
|
4022
4022
|
append: c(() => [
|
|
4023
|
-
|
|
4023
|
+
Q("span", {
|
|
4024
4024
|
title: "编辑其他属性",
|
|
4025
4025
|
onClick: Dl((de) => J(te), ["stop"])
|
|
4026
4026
|
}, [
|
|
@@ -4029,10 +4029,10 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4029
4029
|
style: { width: "16px", height: "16px", color: "var(--el-color-primary)" }
|
|
4030
4030
|
})
|
|
4031
4031
|
], 8, Zi),
|
|
4032
|
-
|
|
4032
|
+
Q("span", {
|
|
4033
4033
|
class: "tab-del-wrapper",
|
|
4034
4034
|
title: "删除",
|
|
4035
|
-
onClick: Dl((de) =>
|
|
4035
|
+
onClick: Dl((de) => O(te), ["stop"])
|
|
4036
4036
|
}, [
|
|
4037
4037
|
s(be, { name: "softDelete" })
|
|
4038
4038
|
], 8, $i)
|
|
@@ -4044,7 +4044,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4044
4044
|
default: c(() => {
|
|
4045
4045
|
var me;
|
|
4046
4046
|
return [
|
|
4047
|
-
|
|
4047
|
+
Q("div", lc, [
|
|
4048
4048
|
(_(), Re(g, {
|
|
4049
4049
|
group: t.group,
|
|
4050
4050
|
data: (te == null ? void 0 : te.children) || [],
|
|
@@ -4053,7 +4053,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4053
4053
|
parentTab: te == null ? void 0 : te.id,
|
|
4054
4054
|
onOnChangeTabInput: n,
|
|
4055
4055
|
onOnDbClickTab: J,
|
|
4056
|
-
onOnDeleteTab:
|
|
4056
|
+
onOnDeleteTab: O
|
|
4057
4057
|
}, null, 8, ["group", "data", "level", "parentTab"]))
|
|
4058
4058
|
])
|
|
4059
4059
|
];
|
|
@@ -4065,7 +4065,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4065
4065
|
}, 8, ["modelValue", "class"]);
|
|
4066
4066
|
};
|
|
4067
4067
|
}
|
|
4068
|
-
}), ac = /* @__PURE__ */
|
|
4068
|
+
}), ac = /* @__PURE__ */ Ql(tc, [["__scopeId", "data-v-86de5f12"]]), sc = {
|
|
4069
4069
|
title: "删除",
|
|
4070
4070
|
class: "absolute-icon"
|
|
4071
4071
|
}, nc = ["onDblclick"], oc = {
|
|
@@ -4095,7 +4095,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4095
4095
|
return isNaN(Ze) ? rl : Ze;
|
|
4096
4096
|
});
|
|
4097
4097
|
}
|
|
4098
|
-
const
|
|
4098
|
+
const Qe = new RegExp(`${ye}=([^,)]+)`), Fe = ie == null ? void 0 : ie.match(Qe);
|
|
4099
4099
|
if (Fe) {
|
|
4100
4100
|
let tl = Fe[1];
|
|
4101
4101
|
const al = Number(tl);
|
|
@@ -4105,12 +4105,12 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4105
4105
|
}, G = E({}), S = (ie, K) => {
|
|
4106
4106
|
ie && (G.value[K] = ie);
|
|
4107
4107
|
}, le = (ie) => {
|
|
4108
|
-
var xe, Ae,
|
|
4108
|
+
var xe, Ae, Qe, Fe, Le;
|
|
4109
4109
|
const K = JSON.parse(JSON.stringify(ie));
|
|
4110
4110
|
let ye = "";
|
|
4111
4111
|
f && typeof f == "object" && ((xe = Object.keys(K)) == null || xe.forEach((tl) => {
|
|
4112
4112
|
tl in f && (f[tl] = K[tl]);
|
|
4113
|
-
})), f.id = K == null ? void 0 : K.id, (Ae = K == null ? void 0 : K.configInfo) != null && Ae.content && (ye = W((
|
|
4113
|
+
})), f.id = K == null ? void 0 : K.id, (Ae = K == null ? void 0 : K.configInfo) != null && Ae.content && (ye = W((Qe = K == null ? void 0 : K.configInfo) == null ? void 0 : Qe.content, "InterfaceRowNum")), f.formType = W((Fe = K == null ? void 0 : K.configInfo) == null ? void 0 : Fe.content, "InterfaceType") || "Form", f.edit = W((Le = K == null ? void 0 : K.configInfo) == null ? void 0 : Le.content, "InterfaceEdit") || "Yes", ye && (f.layout = Array.isArray(ye) ? ye == null ? void 0 : ye.join(",") : ye), Zl(() => {
|
|
4114
4114
|
var tl, al;
|
|
4115
4115
|
(al = (tl = G.value) == null ? void 0 : tl[f == null ? void 0 : f.id]) == null || al.focus();
|
|
4116
4116
|
});
|
|
@@ -4172,7 +4172,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4172
4172
|
]
|
|
4173
4173
|
});
|
|
4174
4174
|
let D = null;
|
|
4175
|
-
const
|
|
4175
|
+
const O = () => {
|
|
4176
4176
|
var K, ye, xe;
|
|
4177
4177
|
const ie = (xe = (ye = (K = f == null ? void 0 : f.layout) == null ? void 0 : K.replace(/[,,]/g, ",")) == null ? void 0 : ye.split(",")) == null ? void 0 : xe.map((Ae) => Number(Ae || 0));
|
|
4178
4178
|
k("onConfirm", {
|
|
@@ -4222,8 +4222,8 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4222
4222
|
Ae in f && (f[Ae] = ie[Ae]);
|
|
4223
4223
|
}), f.quotes = (ye = ie.quotes) != null && ye.length ? (xe = ie.quotes) == null ? void 0 : xe.map((Ae) => {
|
|
4224
4224
|
var Le;
|
|
4225
|
-
const
|
|
4226
|
-
return [
|
|
4225
|
+
const Qe = Ae == null ? void 0 : Ae[0], Fe = (Le = Ae == null ? void 0 : Ae.slice(1)) == null ? void 0 : Le.join("/");
|
|
4226
|
+
return [Qe, Fe];
|
|
4227
4227
|
}) : [], o.title = "编辑特性", o.show = !0;
|
|
4228
4228
|
}, fe = () => {
|
|
4229
4229
|
o.show = !1, g();
|
|
@@ -4241,7 +4241,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4241
4241
|
key: ie,
|
|
4242
4242
|
value: K || "sonSync"
|
|
4243
4243
|
});
|
|
4244
|
-
}, je =
|
|
4244
|
+
}, je = vl(() => {
|
|
4245
4245
|
var ie;
|
|
4246
4246
|
return !f.quotes || !Array.isArray(f.quotes) ? [] : (ie = f.quotes) == null ? void 0 : ie.reduce((K, ye) => {
|
|
4247
4247
|
const xe = ye == null ? void 0 : ye.join("/");
|
|
@@ -4259,14 +4259,14 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4259
4259
|
}, { immediate: !0 }), pl(() => o.show, (ie) => {
|
|
4260
4260
|
ie || (f.quoteWays = []);
|
|
4261
4261
|
}, { immediate: !0 }), (ie, K) => {
|
|
4262
|
-
const ye = re("el-input"), xe = re("el-form-item"), Ae = re("el-form"),
|
|
4262
|
+
const ye = re("el-input"), xe = re("el-form-item"), Ae = re("el-form"), Qe = re("group-index"), Fe = re("el-option"), Le = re("el-select"), tl = re("el-col"), al = re("el-row"), rl = re("el-radio"), Ze = re("el-radio-group"), _e = re("el-cascader"), e = re("el-text"), i = re("el-button");
|
|
4263
4263
|
return _(), ge(hl, null, [
|
|
4264
4264
|
(_(!0), ge(hl, null, Al(t.children, (l) => {
|
|
4265
4265
|
var M, x, P;
|
|
4266
4266
|
return _(), ge("div", {
|
|
4267
4267
|
key: (l == null ? void 0 : l.id) || (l == null ? void 0 : l.prop)
|
|
4268
4268
|
}, [
|
|
4269
|
-
|
|
4269
|
+
Q("div", {
|
|
4270
4270
|
class: "table-header-wrapper",
|
|
4271
4271
|
style: El({ paddingLeft: (l == null ? void 0 : l.level) * 15 + "px" })
|
|
4272
4272
|
}, [
|
|
@@ -4291,7 +4291,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4291
4291
|
modelValue: u(f).name,
|
|
4292
4292
|
"onUpdate:modelValue": K[2] || (K[2] = (ce) => u(f).name = ce),
|
|
4293
4293
|
placeholder: "请输入",
|
|
4294
|
-
onChange:
|
|
4294
|
+
onChange: O
|
|
4295
4295
|
}, {
|
|
4296
4296
|
append: c(() => {
|
|
4297
4297
|
var ce, N;
|
|
@@ -4306,7 +4306,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4306
4306
|
style: { width: "16px", height: "16px", color: "var(--el-color-primary)" }
|
|
4307
4307
|
})
|
|
4308
4308
|
])) : Ne("", !0),
|
|
4309
|
-
|
|
4309
|
+
Q("span", sc, [
|
|
4310
4310
|
s(_l, {
|
|
4311
4311
|
name: "softDelete",
|
|
4312
4312
|
style: El({ color: (N = u(f).name) != null && N.length ? "var(--el-color-danger)" : "var(--el-color-info)" }),
|
|
@@ -4325,12 +4325,12 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4325
4325
|
}, 1032, ["model", "rules"])) : (_(), ge("h3", {
|
|
4326
4326
|
key: 1,
|
|
4327
4327
|
title: "双击编辑",
|
|
4328
|
-
class:
|
|
4328
|
+
class: Ol((l == null ? void 0 : l.level) === 0 ? "comp-name-wrapper" : "comp-name-wrapper child"),
|
|
4329
4329
|
onDblclick: (ce) => le(l),
|
|
4330
4330
|
style: El({ fontSize: 16 - (l == null ? void 0 : l.level) > 0 ? 16 - (l == null ? void 0 : l.level) : "10px" })
|
|
4331
4331
|
}, nl(l == null ? void 0 : l.name), 47, nc))
|
|
4332
4332
|
], 4),
|
|
4333
|
-
|
|
4333
|
+
Q("div", null, [
|
|
4334
4334
|
l != null && l.hasContent ? (_(), ge("div", oc, [
|
|
4335
4335
|
h.isTable && h.groupId === (l == null ? void 0 : l.id) ? (_(), ge("div", {
|
|
4336
4336
|
key: 0,
|
|
@@ -4341,9 +4341,9 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4341
4341
|
name: "new",
|
|
4342
4342
|
class: "table-op-icon"
|
|
4343
4343
|
}),
|
|
4344
|
-
K[10] || (K[10] =
|
|
4344
|
+
K[10] || (K[10] = Q("span", { class: "table-op-text" }, "新增", -1))
|
|
4345
4345
|
], 8, ic)) : Ne("", !0),
|
|
4346
|
-
|
|
4346
|
+
Q("div", {
|
|
4347
4347
|
style: { display: "flex", gap: "4px", "align-items": "center" },
|
|
4348
4348
|
onClick: (ce) => X(l)
|
|
4349
4349
|
}, [
|
|
@@ -4351,7 +4351,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4351
4351
|
name: "cardViewport_101",
|
|
4352
4352
|
class: "table-op-icon"
|
|
4353
4353
|
}),
|
|
4354
|
-
K[11] || (K[11] =
|
|
4354
|
+
K[11] || (K[11] = Q("span", { class: "table-op-text" }, "切换视图", -1))
|
|
4355
4355
|
], 8, cc)
|
|
4356
4356
|
])) : Ne("", !0),
|
|
4357
4357
|
l != null && l.hasContent ? (_(), Re(nt(B(l == null ? void 0 : l.id)), {
|
|
@@ -4361,7 +4361,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4361
4361
|
onOnClickOperateData: be
|
|
4362
4362
|
}, null, 40, ["group", "data"])) : Ne("", !0)
|
|
4363
4363
|
]),
|
|
4364
|
-
(P = l == null ? void 0 : l.children) != null && P.length ? (_(), Re(
|
|
4364
|
+
(P = l == null ? void 0 : l.children) != null && P.length ? (_(), Re(Qe, {
|
|
4365
4365
|
key: 0,
|
|
4366
4366
|
children: l == null ? void 0 : l.children,
|
|
4367
4367
|
isRefreshGroups: t.isRefreshGroups,
|
|
@@ -4380,7 +4380,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4380
4380
|
onBeforeDestroy: fe
|
|
4381
4381
|
}, {
|
|
4382
4382
|
footer: c(() => [
|
|
4383
|
-
|
|
4383
|
+
Q("div", rc, [
|
|
4384
4384
|
s(i, { onClick: fe }, {
|
|
4385
4385
|
default: c(() => K[15] || (K[15] = [
|
|
4386
4386
|
il("取消")
|
|
@@ -4390,7 +4390,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4390
4390
|
}),
|
|
4391
4391
|
s(i, {
|
|
4392
4392
|
type: "primary",
|
|
4393
|
-
onClick:
|
|
4393
|
+
onClick: O
|
|
4394
4394
|
}, {
|
|
4395
4395
|
default: c(() => K[16] || (K[16] = [
|
|
4396
4396
|
il("确认")
|
|
@@ -4607,9 +4607,9 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4607
4607
|
}, {
|
|
4608
4608
|
default: c(() => K[14] || (K[14] = [
|
|
4609
4609
|
il(" 注意事项:"),
|
|
4610
|
-
|
|
4610
|
+
Q("br", null, null, -1),
|
|
4611
4611
|
il(" 示例:1,2,3"),
|
|
4612
|
-
|
|
4612
|
+
Q("br", null, null, -1),
|
|
4613
4613
|
il("第一行排1列、第二行排2列、第三行排3列 ")
|
|
4614
4614
|
])),
|
|
4615
4615
|
_: 1,
|
|
@@ -4624,7 +4624,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4624
4624
|
], 64);
|
|
4625
4625
|
};
|
|
4626
4626
|
}
|
|
4627
|
-
}), dc = /* @__PURE__ */
|
|
4627
|
+
}), dc = /* @__PURE__ */ Ql(uc, [["__scopeId", "data-v-773c516c"]]), pc = { class: "client-header-logo" }, fc = {
|
|
4628
4628
|
key: 0,
|
|
4629
4629
|
class: "logo-img"
|
|
4630
4630
|
}, hc = ["src"], gc = { class: "client-header-menu edit" }, vc = { class: "plus-wrapper" }, yc = {
|
|
@@ -4652,7 +4652,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4652
4652
|
},
|
|
4653
4653
|
setup(t) {
|
|
4654
4654
|
const { logoUrl: L, platNameEn: d } = ha(), k = xl(fl), { importLoading: W, activeAsideEditMenuPath: G, asideEditMenus: S, activeMainEditMenuPath: le } = ol(k), f = ["sort", "disabled", "relatedId"], y = E(null), ue = E(null), Z = (w) => {
|
|
4655
|
-
ue.value =
|
|
4655
|
+
ue.value = gl(w), J.value = !J.value;
|
|
4656
4656
|
};
|
|
4657
4657
|
let C = Bl({
|
|
4658
4658
|
id: "",
|
|
@@ -4674,7 +4674,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4674
4674
|
const A = (R = y.value) == null ? void 0 : R.wrap$;
|
|
4675
4675
|
A && (A == null || A.dispatchEvent(new Event("scroll")));
|
|
4676
4676
|
}
|
|
4677
|
-
},
|
|
4677
|
+
}, O = E(!1), n = (w) => {
|
|
4678
4678
|
var a;
|
|
4679
4679
|
if (w) {
|
|
4680
4680
|
if ((a = Object.keys(w)) == null || a.forEach((A) => {
|
|
@@ -4709,8 +4709,8 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4709
4709
|
return (Be == null ? void 0 : Be.length) === 0 ? `(${he})` : `(${Be},${he})`;
|
|
4710
4710
|
}
|
|
4711
4711
|
}, J = E(!1), h = async () => {
|
|
4712
|
-
var w, a, R, A, ee, ve, Be, he, Xe,
|
|
4713
|
-
|
|
4712
|
+
var w, a, R, A, ee, ve, Be, he, Xe, Oe, We, v, z, $;
|
|
4713
|
+
O.value = !0;
|
|
4714
4714
|
try {
|
|
4715
4715
|
if (J.value = !1, !G.value) return wl.warning("请先选择所属菜单");
|
|
4716
4716
|
if (!(C != null && C.id)) return;
|
|
@@ -4725,7 +4725,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4725
4725
|
groups: (p = U == null ? void 0 : U[1]) == null ? void 0 : p.split("/")
|
|
4726
4726
|
//嵌套特性使用,分割,传值数组
|
|
4727
4727
|
};
|
|
4728
|
-
}), Ce = (
|
|
4728
|
+
}), Ce = (Oe = (Xe = C == null ? void 0 : C.quotes) == null ? void 0 : Xe.filter((U) => (I == null ? void 0 : I.includes(U == null ? void 0 : U.join("/"))) || (j == null ? void 0 : j.includes(U == null ? void 0 : U.join("/"))))) == null ? void 0 : Oe.map((U) => {
|
|
4729
4729
|
var p;
|
|
4730
4730
|
return {
|
|
4731
4731
|
menus: U == null ? void 0 : U[0],
|
|
@@ -4814,7 +4814,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4814
4814
|
} catch (se) {
|
|
4815
4815
|
throw new Error(se);
|
|
4816
4816
|
} finally {
|
|
4817
|
-
C.id = null,
|
|
4817
|
+
C.id = null, O.value = !1;
|
|
4818
4818
|
}
|
|
4819
4819
|
}, B = () => {
|
|
4820
4820
|
xs(), k.setHasClickEditComp(!1);
|
|
@@ -4883,9 +4883,9 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4883
4883
|
}), me = () => {
|
|
4884
4884
|
X.show = !1;
|
|
4885
4885
|
}, de = async () => {
|
|
4886
|
-
var A, ee, ve, Be, he, Xe,
|
|
4886
|
+
var A, ee, ve, Be, he, Xe, Oe, We, v, z;
|
|
4887
4887
|
if (!o.groupId || !o.groupType) return wl.error("特性信息获取出错了");
|
|
4888
|
-
const w = Vl(ne.value, "id", o.groupId), a =
|
|
4888
|
+
const w = Vl(ne.value, "id", o.groupId), a = gl(w), R = {
|
|
4889
4889
|
groups: o != null && o.related ? [(A = o == null ? void 0 : o.related) == null ? void 0 : A[1]] : [],
|
|
4890
4890
|
menus: o != null && o.related ? (ve = (ee = o == null ? void 0 : o.related) == null ? void 0 : ee[0]) == null ? void 0 : ve.split("/") : [],
|
|
4891
4891
|
words: o != null && o.related ? (Be = o == null ? void 0 : o.related) == null ? void 0 : Be.slice(2) : []
|
|
@@ -4924,7 +4924,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4924
4924
|
}];
|
|
4925
4925
|
se = a == null ? void 0 : a.data;
|
|
4926
4926
|
} else {
|
|
4927
|
-
const r = (
|
|
4927
|
+
const r = (Oe = a == null ? void 0 : a.data) == null ? void 0 : Oe.filter((T) => {
|
|
4928
4928
|
var I;
|
|
4929
4929
|
return !((I = String(T == null ? void 0 : T.id)) != null && I.includes("new"));
|
|
4930
4930
|
});
|
|
@@ -4987,14 +4987,14 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
4987
4987
|
throw new Error(a);
|
|
4988
4988
|
}
|
|
4989
4989
|
}, ie = (w) => {
|
|
4990
|
-
const a =
|
|
4990
|
+
const a = gl(w);
|
|
4991
4991
|
return a == null ? void 0 : a.map((R) => (R != null && R.children && (R == null ? void 0 : R.children.length) > 0 && (R.children = ie(R.children)), {
|
|
4992
4992
|
label: R.label,
|
|
4993
4993
|
value: R.id,
|
|
4994
4994
|
children: R.children || []
|
|
4995
4995
|
}));
|
|
4996
|
-
}, K = E([]), ye = E([]), xe = E([]), Ae = E(!1),
|
|
4997
|
-
var w, a, R, A, ee, ve, Be, he, Xe,
|
|
4996
|
+
}, K = E([]), ye = E([]), xe = E([]), Ae = E(!1), Qe = async () => {
|
|
4997
|
+
var w, a, R, A, ee, ve, Be, he, Xe, Oe;
|
|
4998
4998
|
try {
|
|
4999
4999
|
let We = [];
|
|
5000
5000
|
const v = await _t({
|
|
@@ -5009,8 +5009,8 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5009
5009
|
tableNames: $ ?? []
|
|
5010
5010
|
});
|
|
5011
5011
|
if (Ae.value = (ee = (A = se == null ? void 0 : se.data) == null ? void 0 : A.result) == null ? void 0 : ee.includes("错误"), ((ve = se == null ? void 0 : se.data) == null ? void 0 : ve.code) === 200 && !((he = (Be = se == null ? void 0 : se.data) == null ? void 0 : Be.result) != null && he.includes("错误"))) {
|
|
5012
|
-
const Ce =
|
|
5013
|
-
We = (
|
|
5012
|
+
const Ce = gl((Xe = se == null ? void 0 : se.data) == null ? void 0 : Xe.result);
|
|
5013
|
+
We = (Oe = Ce == null ? void 0 : Ce.flatMap((b) => b)) == null ? void 0 : Oe.map((b) => {
|
|
5014
5014
|
var j, U, p, ae, pe, Me, Ye, Pe, ll;
|
|
5015
5015
|
const r = Array.isArray((U = (j = b == null ? void 0 : b.结构) == null ? void 0 : j.contents) == null ? void 0 : U[0]), T = (ae = (p = b == null ? void 0 : b.source_table) == null ? void 0 : p.split("_")) == null ? void 0 : ae[1], I = Vl((pe = v == null ? void 0 : v.data) == null ? void 0 : pe.result, "object_id", T);
|
|
5016
5016
|
return {
|
|
@@ -5033,7 +5033,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5033
5033
|
if (!Array.isArray(w)) return [];
|
|
5034
5034
|
const a = /* @__PURE__ */ new Map();
|
|
5035
5035
|
return w == null || w.forEach((R) => {
|
|
5036
|
-
var ee, ve, Be, he, Xe,
|
|
5036
|
+
var ee, ve, Be, he, Xe, Oe;
|
|
5037
5037
|
const A = R == null ? void 0 : R.object_name;
|
|
5038
5038
|
a.has(A) ? (he = (ee = a.get(A)) == null ? void 0 : ee.children) == null || he.push({
|
|
5039
5039
|
prop: (ve = Object.values(R == null ? void 0 : R.name)) == null ? void 0 : ve.join("/"),
|
|
@@ -5045,7 +5045,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5045
5045
|
label: A,
|
|
5046
5046
|
children: [{
|
|
5047
5047
|
prop: (Xe = Object.values(R == null ? void 0 : R.name)) == null ? void 0 : Xe.join("/"),
|
|
5048
|
-
label: (
|
|
5048
|
+
label: (Oe = Object.values(R == null ? void 0 : R.name)) == null ? void 0 : Oe.join("/"),
|
|
5049
5049
|
// children: recurseFormatPropOptions(item?.children),
|
|
5050
5050
|
children: R == null ? void 0 : R.children
|
|
5051
5051
|
}]
|
|
@@ -5069,20 +5069,20 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5069
5069
|
return ve;
|
|
5070
5070
|
}, rl = (w, a, R, A = !1) => {
|
|
5071
5071
|
var ee, ve, Be, he;
|
|
5072
|
-
|
|
5072
|
+
O.value = !0;
|
|
5073
5073
|
try {
|
|
5074
5074
|
switch (J.value = !1, w) {
|
|
5075
5075
|
case "create":
|
|
5076
5076
|
o.groupType = (R == null ? void 0 : R.type) || $e.value, o.groupId = R == null ? void 0 : R.id, Le(R == null ? void 0 : R.id), X.type = w, X.hasMultiHeader = R == null ? void 0 : R.hasMultiHeader, A ? (o.prop = (a == null ? void 0 : a.prop) || (a == null ? void 0 : a.label), o.label = a == null ? void 0 : a.label, o.parentProp = a == null ? void 0 : a.parentProp, de()) : X.show = !0;
|
|
5077
5077
|
break;
|
|
5078
5078
|
case "update":
|
|
5079
|
-
Le(R == null ? void 0 : R.id), (ee = Object.keys(a)) == null || ee.forEach((
|
|
5080
|
-
|
|
5079
|
+
Le(R == null ? void 0 : R.id), (ee = Object.keys(a)) == null || ee.forEach((Oe) => {
|
|
5080
|
+
Oe in o && (o[Oe] = a[Oe]);
|
|
5081
5081
|
});
|
|
5082
5082
|
const { parent: Xe } = q(a == null ? void 0 : a.id);
|
|
5083
|
-
o.id = a == null ? void 0 : a.id, o.parentProp = Xe, o.groupType = R == null ? void 0 : R.type, o.groupId = R == null ? void 0 : R.id, o.options = (Be = (ve = a == null ? void 0 : a.value) == null ? void 0 : ve.split("/")) == null ? void 0 : Be.map((
|
|
5084
|
-
value:
|
|
5085
|
-
label:
|
|
5083
|
+
o.id = a == null ? void 0 : a.id, o.parentProp = Xe, o.groupType = R == null ? void 0 : R.type, o.groupId = R == null ? void 0 : R.id, o.options = (Be = (ve = a == null ? void 0 : a.value) == null ? void 0 : ve.split("/")) == null ? void 0 : Be.map((Oe) => ({
|
|
5084
|
+
value: Oe,
|
|
5085
|
+
label: Oe
|
|
5086
5086
|
})), (he = a == null ? void 0 : a.words) != null && he.length && (o.related = al(a)), X.type = w, X.hasMultiHeader = R == null ? void 0 : R.hasMultiHeader, A ? de() : X.show = !0;
|
|
5087
5087
|
break;
|
|
5088
5088
|
case "delete":
|
|
@@ -5092,9 +5092,9 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5092
5092
|
type: "warning"
|
|
5093
5093
|
}).then(async () => {
|
|
5094
5094
|
var se, Ce, V;
|
|
5095
|
-
const
|
|
5096
|
-
if (!
|
|
5097
|
-
const We =
|
|
5095
|
+
const Oe = Vl(ne.value, "id", R == null ? void 0 : R.id);
|
|
5096
|
+
if (!Oe) return;
|
|
5097
|
+
const We = gl(Oe), { parent: v } = q(a == null ? void 0 : a.id);
|
|
5098
5098
|
if (v) {
|
|
5099
5099
|
const b = Vl(We == null ? void 0 : We.data, "id", v);
|
|
5100
5100
|
if (!b) return;
|
|
@@ -5108,14 +5108,14 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5108
5108
|
tableColumns: We == null ? void 0 : We.data,
|
|
5109
5109
|
quoteFilter: ""
|
|
5110
5110
|
}, $ = await Ca("save", z);
|
|
5111
|
-
((V = $ == null ? void 0 : $.data) == null ? void 0 : V.code) === 200 && (
|
|
5111
|
+
((V = $ == null ? void 0 : $.data) == null ? void 0 : V.code) === 200 && (Oe.data = We.data, J.value = !0, wl.success("删除成功"));
|
|
5112
5112
|
});
|
|
5113
5113
|
break;
|
|
5114
5114
|
}
|
|
5115
5115
|
} catch (Xe) {
|
|
5116
5116
|
throw new Error(Xe);
|
|
5117
5117
|
} finally {
|
|
5118
|
-
|
|
5118
|
+
O.value = !1;
|
|
5119
5119
|
}
|
|
5120
5120
|
}, Ze = E(null), _e = () => {
|
|
5121
5121
|
M.title = "", M.icon = "", M.path = "", e.type = "create", P.value = !1, e.show = !0, Zl(() => {
|
|
@@ -5145,7 +5145,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5145
5145
|
});
|
|
5146
5146
|
}, N = () => {
|
|
5147
5147
|
e.show = !1, l();
|
|
5148
|
-
}, ne = E([]), m =
|
|
5148
|
+
}, ne = E([]), m = vl(() => {
|
|
5149
5149
|
var w;
|
|
5150
5150
|
return (w = ne.value) == null ? void 0 : w.map((a) => {
|
|
5151
5151
|
var R;
|
|
@@ -5167,7 +5167,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5167
5167
|
const R = /^[^.]+(\.[^.]+)+$/;
|
|
5168
5168
|
return !w || !Array.isArray(w) ? [] : w == null ? void 0 : w.map((A) => {
|
|
5169
5169
|
var Be;
|
|
5170
|
-
const ee =
|
|
5170
|
+
const ee = gl(A), ve = A.prop;
|
|
5171
5171
|
if (ee.prop)
|
|
5172
5172
|
if (R.test(ee.prop)) {
|
|
5173
5173
|
const { parent: he, current: Xe } = q(ee.prop);
|
|
@@ -5233,22 +5233,22 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5233
5233
|
o.mainKey = !1, o.propType = "string", o.compType = "Input";
|
|
5234
5234
|
}
|
|
5235
5235
|
}, { immediate: !0 }), pl([() => S.value, () => le.value], ([w, a]) => {
|
|
5236
|
-
((w == null ? void 0 : w.length) === 0 || a) && (ne.value = []),
|
|
5236
|
+
((w == null ? void 0 : w.length) === 0 || a) && (ne.value = []), Qe();
|
|
5237
5237
|
}, { immediate: !0, deep: !0 }), (w, a) => {
|
|
5238
|
-
const R = re("el-scrollbar"), A = re("el-input"), ee = re("el-form-item"), ve = re("el-form"), Be = re("el-header"), he = re("el-aside"), Xe = re("el-card"),
|
|
5238
|
+
const R = re("el-scrollbar"), A = re("el-input"), ee = re("el-form-item"), ve = re("el-form"), Be = re("el-header"), he = re("el-aside"), Xe = re("el-card"), Oe = re("el-main"), We = re("el-container"), v = re("el-cascader"), z = re("el-radio"), $ = re("el-radio-group"), se = re("el-option"), Ce = re("el-select"), V = re("el-button"), b = la("loading");
|
|
5239
5239
|
return _(), ge(hl, null, [
|
|
5240
5240
|
Wl((_(), Re(We, { class: "client-container" }, {
|
|
5241
5241
|
default: c(() => [
|
|
5242
5242
|
s(Be, { class: "client-header" }, {
|
|
5243
5243
|
default: c(() => [
|
|
5244
|
-
|
|
5244
|
+
Q("div", pc, [
|
|
5245
5245
|
u(L) ? (_(), ge("div", fc, [
|
|
5246
|
-
|
|
5246
|
+
Q("img", {
|
|
5247
5247
|
src: u(L),
|
|
5248
5248
|
alt: ""
|
|
5249
5249
|
}, null, 8, hc)
|
|
5250
5250
|
])) : Ne("", !0),
|
|
5251
|
-
|
|
5251
|
+
Q("div", null, nl(u(d) || "Insofworks"), 1)
|
|
5252
5252
|
]),
|
|
5253
5253
|
s(R, {
|
|
5254
5254
|
ref_key: "scrollbarRef",
|
|
@@ -5257,7 +5257,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5257
5257
|
always: !1
|
|
5258
5258
|
}, {
|
|
5259
5259
|
default: c(() => [
|
|
5260
|
-
|
|
5260
|
+
Q("div", gc, [
|
|
5261
5261
|
s(Di, {
|
|
5262
5262
|
mode: "horizontal",
|
|
5263
5263
|
refreshMainMenuPath: yl.value,
|
|
@@ -5271,7 +5271,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5271
5271
|
]),
|
|
5272
5272
|
_: 1
|
|
5273
5273
|
}, 512),
|
|
5274
|
-
|
|
5274
|
+
Q("div", vc, [
|
|
5275
5275
|
e.show ? (_(), Re(ve, {
|
|
5276
5276
|
key: 1,
|
|
5277
5277
|
ref_key: "menuFormRef",
|
|
@@ -5297,7 +5297,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5297
5297
|
onChange: ce
|
|
5298
5298
|
}, {
|
|
5299
5299
|
prepend: c(() => [
|
|
5300
|
-
s(
|
|
5300
|
+
s(Qa, {
|
|
5301
5301
|
style: { width: "200px" },
|
|
5302
5302
|
modelValue: M.icon,
|
|
5303
5303
|
"onUpdate:modelValue": a[0] || (a[0] = (r) => M.icon = r),
|
|
@@ -5308,14 +5308,14 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5308
5308
|
append: c(() => {
|
|
5309
5309
|
var r, T;
|
|
5310
5310
|
return [
|
|
5311
|
-
|
|
5311
|
+
Q("span", bc, [
|
|
5312
5312
|
s(_l, {
|
|
5313
5313
|
name: "softConfirm",
|
|
5314
5314
|
style: El({ color: (r = M.title) != null && r.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
5315
5315
|
onClick: Dl(ce, ["stop"])
|
|
5316
5316
|
}, null, 8, ["style"])
|
|
5317
5317
|
]),
|
|
5318
|
-
|
|
5318
|
+
Q("span", Cc, [
|
|
5319
5319
|
s(_l, {
|
|
5320
5320
|
name: "softCancel",
|
|
5321
5321
|
style: El({ color: (T = M.title) != null && T.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
@@ -5339,8 +5339,8 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5339
5339
|
})
|
|
5340
5340
|
]))
|
|
5341
5341
|
]),
|
|
5342
|
-
|
|
5343
|
-
|
|
5342
|
+
Q("div", mc, [
|
|
5343
|
+
Q("div", {
|
|
5344
5344
|
style: { display: "flex", "align-items": "center" },
|
|
5345
5345
|
title: "返回系统",
|
|
5346
5346
|
onClick: B
|
|
@@ -5354,7 +5354,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5354
5354
|
}),
|
|
5355
5355
|
s(We, { class: "client-body" }, {
|
|
5356
5356
|
default: c(() => [
|
|
5357
|
-
|
|
5357
|
+
Q("div", Ac, [
|
|
5358
5358
|
s(he, {
|
|
5359
5359
|
class: "client-aside",
|
|
5360
5360
|
style: El({ backgroundImage: t.platform === "client" ? `url(${u(Ds)})` : `url(${u(Ps)})` }),
|
|
@@ -5372,7 +5372,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5372
5372
|
]),
|
|
5373
5373
|
_: 1
|
|
5374
5374
|
}, 8, ["style"]),
|
|
5375
|
-
s(
|
|
5375
|
+
s(Oe, { style: { width: "100%" } }, {
|
|
5376
5376
|
default: c(() => [
|
|
5377
5377
|
Wl((_(), Re(Xe, { style: { width: "100%", height: "97%", overflow: "auto", margin: "auto" } }, {
|
|
5378
5378
|
default: c(() => [
|
|
@@ -5388,7 +5388,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5388
5388
|
]),
|
|
5389
5389
|
_: 1
|
|
5390
5390
|
})), [
|
|
5391
|
-
[b,
|
|
5391
|
+
[b, O.value]
|
|
5392
5392
|
])
|
|
5393
5393
|
]),
|
|
5394
5394
|
_: 1
|
|
@@ -5409,7 +5409,7 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5409
5409
|
onBeforeDestroy: me
|
|
5410
5410
|
}, {
|
|
5411
5411
|
footer: c(() => [
|
|
5412
|
-
|
|
5412
|
+
Q("div", wc, [
|
|
5413
5413
|
s(V, { onClick: me }, {
|
|
5414
5414
|
default: c(() => a[12] || (a[12] = [
|
|
5415
5415
|
il("取消")
|
|
@@ -5610,11 +5610,11 @@ const Hi = /* @__PURE__ */ Ol(Ri, [["render", Wi], ["__scopeId", "data-v-dad60dc
|
|
|
5610
5610
|
], 64);
|
|
5611
5611
|
};
|
|
5612
5612
|
}
|
|
5613
|
-
}), Mc = /* @__PURE__ */
|
|
5613
|
+
}), Mc = /* @__PURE__ */ Ql(kc, [["__scopeId", "data-v-fcfb132f"]]), js = (t, L, d, k, W = 0) => {
|
|
5614
5614
|
let G = t;
|
|
5615
5615
|
return G != null && G.every((S) => Array.isArray(S)) && (G != null && G.every((S) => Array.isArray(S) && S.length === 1) ? G = G == null ? void 0 : G.map((S) => ((S == null ? void 0 : S[0]) === d && (S = [k]), S)) : G = G == null ? void 0 : G.map((S) => {
|
|
5616
5616
|
if (S != null && S.find((le) => le === (L == null ? void 0 : L[W])) && (L == null ? void 0 : L.length) !== 1) {
|
|
5617
|
-
let le =
|
|
5617
|
+
let le = gl(L), f = S == null ? void 0 : S.filter((C) => C !== (le == null ? void 0 : le[W])), y = W + 1, ue = js(f, le, d, k, y), Z = [];
|
|
5618
5618
|
Z.push(S == null ? void 0 : S[0]), ue == null || ue.forEach((C) => {
|
|
5619
5619
|
Z.push(C);
|
|
5620
5620
|
}), S = Z;
|
|
@@ -5654,10 +5654,10 @@ function Us(t = "menu") {
|
|
|
5654
5654
|
operateType: "修改菜单名",
|
|
5655
5655
|
operateIcon: "FixedMenu"
|
|
5656
5656
|
}
|
|
5657
|
-
]), G = xl(), S = $l(fl), le = Jl(fl), { loginUserInfo: f } = ol(le), y = E(0), ue = Tt(), Z = E(), { asideMenus: C, menuTriggerType: D, platform:
|
|
5657
|
+
]), G = xl(), S = $l(fl), le = Jl(fl), { loginUserInfo: f } = ol(le), y = E(0), ue = Tt(), Z = E(), { asideMenus: C, menuTriggerType: D, platform: O } = ol(G), { fixMenuStatus: n } = ol(S), { isSuperAdmin: oe } = _s(), H = vl(() => k == null ? void 0 : k.mode), J = (e) => e == null ? void 0 : e.map((l) => {
|
|
5658
5658
|
var M, x;
|
|
5659
5659
|
return !(l != null && l.children) || ((M = l == null ? void 0 : l.children) == null ? void 0 : M.length) === 0 ? l.config = W.value : l != null && l.children && ((x = l == null ? void 0 : l.children) == null ? void 0 : x.length) > 0 && (l.children = J(l.children)), l;
|
|
5660
|
-
}), h =
|
|
5660
|
+
}), h = vl(() => {
|
|
5661
5661
|
let e = [...C.value];
|
|
5662
5662
|
if ((e == null ? void 0 : e.length) === 0)
|
|
5663
5663
|
return ue.push("/"), [];
|
|
@@ -5682,12 +5682,12 @@ function Us(t = "menu") {
|
|
|
5682
5682
|
Kl(() => {
|
|
5683
5683
|
y.value = 1;
|
|
5684
5684
|
});
|
|
5685
|
-
const g =
|
|
5685
|
+
const g = vl(() => {
|
|
5686
5686
|
const e = sessionStorage.getItem("authority");
|
|
5687
5687
|
return e ? JSON.parse(e) : [];
|
|
5688
5688
|
});
|
|
5689
5689
|
pl(
|
|
5690
|
-
() =>
|
|
5690
|
+
() => O.value,
|
|
5691
5691
|
(e) => {
|
|
5692
5692
|
e === "browser" ? o(aa) : e === "client" ? (o(sa), o(na)) : e === "three" && (o(oa), o(ia));
|
|
5693
5693
|
},
|
|
@@ -5717,7 +5717,7 @@ function Us(t = "menu") {
|
|
|
5717
5717
|
}, Ae = async (e, i, l) => {
|
|
5718
5718
|
var M, x, P, ce, N, ne, m, q, Ee, ke, Te, Ie, $e, we, ml, yl, Ml, Ue, w, a, R, A, ee, ve, Be, he, Xe;
|
|
5719
5719
|
if (i === "create") {
|
|
5720
|
-
let
|
|
5720
|
+
let Oe = (l == null ? void 0 : l.title) + "(1)", We = (x = (M = l == null ? void 0 : l.path) == null ? void 0 : M.split("/")) == null ? void 0 : x.filter((z, $) => {
|
|
5721
5721
|
var se, Ce;
|
|
5722
5722
|
return $ !== ((Ce = (se = l == null ? void 0 : l.path) == null ? void 0 : se.split("/")) == null ? void 0 : Ce.length) - 1;
|
|
5723
5723
|
}), v = await at(
|
|
@@ -5728,7 +5728,7 @@ function Us(t = "menu") {
|
|
|
5728
5728
|
sessionStorage.getItem("systemKey"),
|
|
5729
5729
|
""
|
|
5730
5730
|
);
|
|
5731
|
-
if (We.push(
|
|
5731
|
+
if (We.push(Oe), We = We == null ? void 0 : We.join("/"), (v == null ? void 0 : v.length) > 0) {
|
|
5732
5732
|
let z = v == null ? void 0 : v[0], $ = (m = (ne = z == null ? void 0 : z.compData) == null ? void 0 : ne.find((se) => (se == null ? void 0 : se.key) === "header")) == null ? void 0 : m.contents;
|
|
5733
5733
|
if (((q = $ == null ? void 0 : $[0]) == null ? void 0 : q.directiveLabel) === "#isMain") {
|
|
5734
5734
|
let se = (Ee = $ == null ? void 0 : $[0]) == null ? void 0 : Ee.prop, Ce = (Te = (ke = z == null ? void 0 : z.compData) == null ? void 0 : ke.find(
|
|
@@ -5737,10 +5737,10 @@ function Us(t = "menu") {
|
|
|
5737
5737
|
Ce == null || Ce.forEach((b) => {
|
|
5738
5738
|
var r, T;
|
|
5739
5739
|
if (b.length === 1)
|
|
5740
|
-
((r = b == null ? void 0 : b[0]) == null ? void 0 : r[se]) === (l == null ? void 0 : l.title) && (V = b == null ? void 0 : b[0], V[se] =
|
|
5740
|
+
((r = b == null ? void 0 : b[0]) == null ? void 0 : r[se]) === (l == null ? void 0 : l.title) && (V = b == null ? void 0 : b[0], V[se] = Oe);
|
|
5741
5741
|
else {
|
|
5742
5742
|
let I = (T = $ == null ? void 0 : $.filter((p) => p !== "操作")) == null ? void 0 : T.map((p) => p == null ? void 0 : p.prop), j = b == null ? void 0 : b.filter((p) => !(p != null && p.id)), U = ea(j, I);
|
|
5743
|
-
U[se] =
|
|
5743
|
+
U[se] = Oe, V = U;
|
|
5744
5744
|
}
|
|
5745
5745
|
}), await $s({
|
|
5746
5746
|
key: {
|
|
@@ -5769,9 +5769,9 @@ function Us(t = "menu") {
|
|
|
5769
5769
|
} else if (i === "update")
|
|
5770
5770
|
Z.value = l;
|
|
5771
5771
|
else if (i === "delete") {
|
|
5772
|
-
let
|
|
5773
|
-
(
|
|
5774
|
-
ids:
|
|
5772
|
+
let Oe = [];
|
|
5773
|
+
(Oe == null ? void 0 : Oe.length) > 0 && await en({
|
|
5774
|
+
ids: Oe
|
|
5775
5775
|
}), G.setUpdateMenuStatus(!1), await $t(), G.setActiveMenuPath(
|
|
5776
5776
|
(Be = (ve = (ee = l == null ? void 0 : l.path) == null ? void 0 : ee.split("/")) == null ? void 0 : ve.filter((We, v) => {
|
|
5777
5777
|
var z, $;
|
|
@@ -5779,8 +5779,8 @@ function Us(t = "menu") {
|
|
|
5779
5779
|
})) == null ? void 0 : Be.join("/")
|
|
5780
5780
|
), G.setActiveTopMenuPath((Xe = (he = l == null ? void 0 : l.path) == null ? void 0 : he.split("/")) == null ? void 0 : Xe[0]), G.setIsRefreshMenus(!1), G.setIsRefreshMenus(!0);
|
|
5781
5781
|
}
|
|
5782
|
-
},
|
|
5783
|
-
var q, Ee, ke, Te, Ie, $e, we, ml, yl, Ml, Ue, w, a, R, A, ee, ve, Be, he, Xe,
|
|
5782
|
+
}, Qe = async (e, i) => {
|
|
5783
|
+
var q, Ee, ke, Te, Ie, $e, we, ml, yl, Ml, Ue, w, a, R, A, ee, ve, Be, he, Xe, Oe, We, v, z, $, se, Ce, V, b, r, T;
|
|
5784
5784
|
let l = await $a({
|
|
5785
5785
|
key: {
|
|
5786
5786
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -5805,7 +5805,7 @@ function Us(t = "menu") {
|
|
|
5805
5805
|
if (((w = (Ue = (Ml = (yl = (ml = N == null ? void 0 : N[0]) == null ? void 0 : ml.compData) == null ? void 0 : yl.find((I) => (I == null ? void 0 : I.key) === "header")) == null ? void 0 : Ml.contents) == null ? void 0 : Ue[0]) == null ? void 0 : w.directiveLabel) === "#isMain") {
|
|
5806
5806
|
let I = (ve = (ee = (A = (R = (a = N == null ? void 0 : N[0]) == null ? void 0 : a.compData) == null ? void 0 : R.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : A.contents) == null ? void 0 : ee[0]) == null ? void 0 : ve.prop, j = (Xe = (he = (Be = N == null ? void 0 : N[0]) == null ? void 0 : Be.compData) == null ? void 0 : he.find(
|
|
5807
5807
|
(ae) => (ae == null ? void 0 : ae.key) === "tableContents"
|
|
5808
|
-
)) == null ? void 0 : Xe.contents, U = (z = (v = (We = (
|
|
5808
|
+
)) == null ? void 0 : Xe.contents, U = (z = (v = (We = (Oe = N == null ? void 0 : N[0]) == null ? void 0 : Oe.compData) == null ? void 0 : We.find((ae) => (ae == null ? void 0 : ae.key) === "header")) == null ? void 0 : v.contents) == null ? void 0 : z.map((ae) => ae == null ? void 0 : ae.prop), p;
|
|
5809
5809
|
if (j == null || j.forEach((ae) => {
|
|
5810
5810
|
var Me;
|
|
5811
5811
|
let pe = ea(ae, U);
|
|
@@ -5890,7 +5890,7 @@ function Us(t = "menu") {
|
|
|
5890
5890
|
closeMenu: be,
|
|
5891
5891
|
changeMenuStyle: o,
|
|
5892
5892
|
fixElement: Z,
|
|
5893
|
-
onBlur:
|
|
5893
|
+
onBlur: Qe,
|
|
5894
5894
|
isSuperAdmin: oe
|
|
5895
5895
|
};
|
|
5896
5896
|
}
|
|
@@ -5913,7 +5913,7 @@ function _c(t, L, d, k, W, G) {
|
|
|
5913
5913
|
}, null, 8, ["data", "onNodeClick"])
|
|
5914
5914
|
]);
|
|
5915
5915
|
}
|
|
5916
|
-
const Tc = /* @__PURE__ */
|
|
5916
|
+
const Tc = /* @__PURE__ */ Ql(Ic, [["render", _c], ["__scopeId", "data-v-83196ea8"]]);
|
|
5917
5917
|
function Ls(t = "menu") {
|
|
5918
5918
|
return {
|
|
5919
5919
|
name: t,
|
|
@@ -5935,11 +5935,11 @@ function Ls(t = "menu") {
|
|
|
5935
5935
|
permissionSideMenus: Z,
|
|
5936
5936
|
platform: C,
|
|
5937
5937
|
cacheInputMenu: D,
|
|
5938
|
-
activeMainMenu:
|
|
5938
|
+
activeMainMenu: O,
|
|
5939
5939
|
// activeMenuPath,
|
|
5940
5940
|
linkMenuInfo: n,
|
|
5941
5941
|
updateMenuStatus: oe
|
|
5942
|
-
} = ol(k), H = Jl(), { structureData: J } = ol(H), h = E([]), B = E([]), X =
|
|
5942
|
+
} = ol(k), H = Jl(), { structureData: J } = ol(H), h = E([]), B = E([]), X = vl(() => L == null ? void 0 : L.mode), be = E({}), o = (e) => e == null ? void 0 : e.map((i) => i.children && i.children.length > 0 ? {
|
|
5943
5943
|
...i,
|
|
5944
5944
|
// 水平菜单仅显示一层
|
|
5945
5945
|
children: i.level === 0 ? [] : i.children ?? [],
|
|
@@ -5949,7 +5949,7 @@ function Ls(t = "menu") {
|
|
|
5949
5949
|
return (M = (l = B.value) == null ? void 0 : l.find((x) => (e.title + i).includes(x.value))) == null ? void 0 : M.value;
|
|
5950
5950
|
}, De = (e, i = "", l = 0) => {
|
|
5951
5951
|
var ce;
|
|
5952
|
-
let M =
|
|
5952
|
+
let M = gl(e);
|
|
5953
5953
|
const x = Array.from(/* @__PURE__ */ new Set([...(ce = J.value) == null ? void 0 : ce.map((N) => {
|
|
5954
5954
|
var ne;
|
|
5955
5955
|
return (ne = N == null ? void 0 : N.key) == null ? void 0 : ne.pageKey;
|
|
@@ -5976,13 +5976,13 @@ function Ls(t = "menu") {
|
|
|
5976
5976
|
};
|
|
5977
5977
|
return N.children && N.children.length > 0 && (q.children = De(N.children, ne, l + 1)), q;
|
|
5978
5978
|
});
|
|
5979
|
-
}, fe =
|
|
5980
|
-
let e =
|
|
5979
|
+
}, fe = vl(() => {
|
|
5980
|
+
let e = gl(h.value);
|
|
5981
5981
|
if (e = [...e, ...Z.value], (e == null ? void 0 : e.length) === 0)
|
|
5982
5982
|
return S.push("/"), [];
|
|
5983
5983
|
Le(e, Fe.value);
|
|
5984
5984
|
const i = o(e);
|
|
5985
|
-
return
|
|
5985
|
+
return Oa(i), k.setMenus(i), i;
|
|
5986
5986
|
}), te = async (e) => ((e == null ? void 0 : e.level) === 0 ? (sessionStorage.getItem("systemKey"), e == null || e.path) : (sessionStorage.getItem("systemKey"), "" + (e == null ? void 0 : e.path)), null), me = (e, i) => {
|
|
5987
5987
|
var M, x;
|
|
5988
5988
|
const l = e == null ? void 0 : e.find((P) => (P == null ? void 0 : P.operateType) === "新增");
|
|
@@ -6057,7 +6057,7 @@ function Ls(t = "menu") {
|
|
|
6057
6057
|
W.setRouteToChildPath(""), ue.value === "click" ? G.value === 1 ? k.setActiveMenuPath(sessionStorage.getItem("pageKey")) : e !== d.value && k.setActiveMenuPath(e) : k.setMenuTriggerType("click"), e != null && e.startsWith("/") ? S.push(e) : S.push("/"), G.value++;
|
|
6058
6058
|
}, Ae = (e) => {
|
|
6059
6059
|
e !== d.value && k.setActiveMenuPath(e);
|
|
6060
|
-
},
|
|
6060
|
+
}, Qe = (e) => {
|
|
6061
6061
|
const i = document.documentElement;
|
|
6062
6062
|
e == null || e.forEach((l) => {
|
|
6063
6063
|
i.style.setProperty(l.name, l.value);
|
|
@@ -6066,14 +6066,14 @@ function Ls(t = "menu") {
|
|
|
6066
6066
|
Kl(() => {
|
|
6067
6067
|
G.value = 1, B.value = It();
|
|
6068
6068
|
});
|
|
6069
|
-
const Fe =
|
|
6069
|
+
const Fe = vl(() => {
|
|
6070
6070
|
const e = sessionStorage.getItem("authority");
|
|
6071
6071
|
return e ? JSON.parse(e) : [];
|
|
6072
6072
|
});
|
|
6073
6073
|
pl(
|
|
6074
6074
|
() => C.value,
|
|
6075
6075
|
(e) => {
|
|
6076
|
-
e === "browser" ? (
|
|
6076
|
+
e === "browser" ? (Qe(aa), Qe(xa)) : e === "client" ? (Qe(sa), Qe(na)) : e === "three" && (Qe(oa), Qe(ia));
|
|
6077
6077
|
},
|
|
6078
6078
|
{ immediate: !0 }
|
|
6079
6079
|
), pl(
|
|
@@ -6152,7 +6152,7 @@ function Ls(t = "menu") {
|
|
|
6152
6152
|
(P = D.value) == null ? void 0 : P.type
|
|
6153
6153
|
), Ee = (ce = q == null ? void 0 : q.filter((Ie) => Ie.path !== "平台管理")) == null ? void 0 : ce.map((Ie) => tl(Ie));
|
|
6154
6154
|
await _e((N = D.value) == null ? void 0 : N.data), k.setAsideMenuLoading(!0), await rl(Ee);
|
|
6155
|
-
const ke = await K(
|
|
6155
|
+
const ke = await K(O.value), Te = (ke == null ? void 0 : ke.length) === 0 ? (ne = O.value) == null ? void 0 : ne.childMenus : ke;
|
|
6156
6156
|
k.setAsideMenus(Te);
|
|
6157
6157
|
} catch (m) {
|
|
6158
6158
|
throw wl.error(m), new Error(m);
|
|
@@ -6165,7 +6165,7 @@ function Ls(t = "menu") {
|
|
|
6165
6165
|
clickMenu: ye,
|
|
6166
6166
|
openMenu: xe,
|
|
6167
6167
|
closeMenu: Ae,
|
|
6168
|
-
changeMenuStyle:
|
|
6168
|
+
changeMenuStyle: Qe
|
|
6169
6169
|
};
|
|
6170
6170
|
}
|
|
6171
6171
|
};
|
|
@@ -6182,7 +6182,7 @@ function Pc(t, L, d, k, W, G) {
|
|
|
6182
6182
|
Nl(t.$slots, "extraIcon", {}, void 0, !0)
|
|
6183
6183
|
]);
|
|
6184
6184
|
}
|
|
6185
|
-
const Rc = /* @__PURE__ */
|
|
6185
|
+
const Rc = /* @__PURE__ */ Ql(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d52"]]), xc = { class: "structure-buttons" }, jc = { class: "structure-paths" }, Uc = { class: "client-header-user" }, Lc = { class: "model-select" }, Oc = { class: "model-show" }, Qc = { class: "model-fill" }, Vc = ["title", "onClick"], Nc = { class: "panel-body client-container" }, Kc = {
|
|
6186
6186
|
key: 0,
|
|
6187
6187
|
class: "menu-empty"
|
|
6188
6188
|
}, qc = {
|
|
@@ -6217,14 +6217,14 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6217
6217
|
},
|
|
6218
6218
|
emits: ["showChild", "buildContent", "setLoginInfo"],
|
|
6219
6219
|
setup(t, { emit: L }) {
|
|
6220
|
-
const d = E(), k = E([]), W = E([]), G =
|
|
6220
|
+
const d = E(), k = E([]), W = E([]), G = vl(
|
|
6221
6221
|
() => k.value.filter((r) => {
|
|
6222
6222
|
var T;
|
|
6223
6223
|
return ((T = r.find((I) => I.prop === "状态")) == null ? void 0 : T.value) === "未读";
|
|
6224
6224
|
}).length
|
|
6225
6225
|
);
|
|
6226
|
-
|
|
6227
|
-
const S = ja(fl), { originalPath: le } = ol(S), f = le.value, y = St(fl), { selectTitle: ue } = ol(y), Z = E(!1), C = E(null), D = E(),
|
|
6226
|
+
vl(() => G.value > 99 ? "99+" : G.value);
|
|
6227
|
+
const S = ja(fl), { originalPath: le } = ol(S), f = le.value, y = St(fl), { selectTitle: ue } = ol(y), Z = E(!1), C = E(null), D = E(), O = E(!1), n = ks(fl), { blobUrls: oe } = ol(n), H = E(!1), J = E(!1), h = E(!1), B = E([]), X = E(!1), be = E(null), o = E([]), g = E(!1), De = (r) => {
|
|
6228
6228
|
const T = (r == null ? void 0 : r.menuFilter) || [];
|
|
6229
6229
|
return Array.isArray(T) && (T == null ? void 0 : T.some((I) => {
|
|
6230
6230
|
const j = typeof I == "string" ? I : JSON.stringify(I);
|
|
@@ -6232,7 +6232,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6232
6232
|
}));
|
|
6233
6233
|
};
|
|
6234
6234
|
zt("contentRef", be);
|
|
6235
|
-
const fe = Jl(), { loginUserInfo: te } = ol(fe), me = $l(fl), { isEdit: de, routeToChildPath: je } = ol(me), ie = L, K = xl(fl), { asideMenuLoading: ye, importLoading: xe, activeAsideMenu: Ae, contentLoading:
|
|
6235
|
+
const fe = Jl(), { loginUserInfo: te } = ol(fe), me = $l(fl), { isEdit: de, routeToChildPath: je } = ol(me), ie = L, K = xl(fl), { asideMenuLoading: ye, importLoading: xe, activeAsideMenu: Ae, contentLoading: Qe, platName: Fe, activeMenuPath: Le } = ol(K), tl = Rn(fl), { data: al } = ol(tl), { setData: rl } = xn(), Ze = vl(() => Ae.value.isRouter), _e = () => {
|
|
6236
6236
|
sessionStorage.clear(), window.location.reload();
|
|
6237
6237
|
}, e = (r) => {
|
|
6238
6238
|
if ((r == null ? void 0 : r.type) === "table") {
|
|
@@ -6272,9 +6272,9 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6272
6272
|
async () => {
|
|
6273
6273
|
var r, T, I, j, U;
|
|
6274
6274
|
if (oe != null && oe.value && ((r = oe == null ? void 0 : oe.value) == null ? void 0 : r.length) > 0 && !H.value && !((T = tt.value) != null && T.find((p) => (p == null ? void 0 : p.name) === "输入") && ((I = tt.value) != null && I.find((p) => (p == null ? void 0 : p.name) === "输出")))) {
|
|
6275
|
-
|
|
6275
|
+
O.value = !0;
|
|
6276
6276
|
let p = [];
|
|
6277
|
-
const ae = await ((j =
|
|
6277
|
+
const ae = await ((j = gl(oe == null ? void 0 : oe.value)) == null ? void 0 : j.map(async (pe) => {
|
|
6278
6278
|
var cl, Ke, He, Ve, dl, el, Cl, bl, ze, Je;
|
|
6279
6279
|
let Me, Ye, Pe;
|
|
6280
6280
|
pe != null && pe.blob.includes("undefined") ? Pe = (Ke = (cl = pe == null ? void 0 : pe.blob) == null ? void 0 : cl.split("undefined,")) == null ? void 0 : Ke[1] : Pe = pe == null ? void 0 : pe.blob;
|
|
@@ -6404,7 +6404,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6404
6404
|
ne(), x.value = r;
|
|
6405
6405
|
}, ke = () => {
|
|
6406
6406
|
Ee(!(x != null && x.value));
|
|
6407
|
-
}, Te =
|
|
6407
|
+
}, Te = vl(() => ({
|
|
6408
6408
|
right: `${80 - N.value.x}px`,
|
|
6409
6409
|
// transform: `translate(${resTranslateX}, ${resTranslateY})`,
|
|
6410
6410
|
width: m.value.width
|
|
@@ -6437,10 +6437,10 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6437
6437
|
}
|
|
6438
6438
|
const he = E(""), Xe = (r) => {
|
|
6439
6439
|
he.value = r;
|
|
6440
|
-
},
|
|
6441
|
-
|
|
6440
|
+
}, Oe = E(!1), We = (r) => {
|
|
6441
|
+
Oe.value = r;
|
|
6442
6442
|
}, v = () => {
|
|
6443
|
-
|
|
6443
|
+
Oe.value = !Oe.value;
|
|
6444
6444
|
}, z = () => {
|
|
6445
6445
|
We(!1);
|
|
6446
6446
|
}, $ = E(), se = (r) => {
|
|
@@ -6540,7 +6540,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6540
6540
|
default: c(() => [
|
|
6541
6541
|
s(U, { class: "client-structure-header" }, {
|
|
6542
6542
|
default: c(() => [
|
|
6543
|
-
|
|
6543
|
+
Q("div", xc, [
|
|
6544
6544
|
s(j, {
|
|
6545
6545
|
id: "transparentBgButton",
|
|
6546
6546
|
onClick: u(Ms)
|
|
@@ -6568,13 +6568,13 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6568
6568
|
__: [6]
|
|
6569
6569
|
})
|
|
6570
6570
|
]),
|
|
6571
|
-
|
|
6571
|
+
Q("div", jc, [
|
|
6572
6572
|
s(Ia, {
|
|
6573
6573
|
breadArray: u(ue),
|
|
6574
6574
|
onClick: u(wa)
|
|
6575
6575
|
}, null, 8, ["breadArray", "onClick"])
|
|
6576
6576
|
]),
|
|
6577
|
-
|
|
6577
|
+
Q("div", Uc, [
|
|
6578
6578
|
Nl(r.$slots, "default", {}, void 0, !0),
|
|
6579
6579
|
s(Ma, {
|
|
6580
6580
|
size: 35,
|
|
@@ -6591,13 +6591,13 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6591
6591
|
style: { "margin-top": "10px", height: "0px" }
|
|
6592
6592
|
}, {
|
|
6593
6593
|
default: c(() => [
|
|
6594
|
-
|
|
6594
|
+
Q("div", Lc, [
|
|
6595
6595
|
s(Ea)
|
|
6596
6596
|
]),
|
|
6597
|
-
|
|
6597
|
+
Q("div", Oc, [
|
|
6598
6598
|
s(Ba)
|
|
6599
6599
|
]),
|
|
6600
|
-
|
|
6600
|
+
Q("div", Qc, [
|
|
6601
6601
|
s(Da)
|
|
6602
6602
|
])
|
|
6603
6603
|
]),
|
|
@@ -6621,14 +6621,14 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6621
6621
|
"top-menu": c(() => [
|
|
6622
6622
|
s(Rc, null, fa({
|
|
6623
6623
|
menu: c(({ menu: Ye }) => [
|
|
6624
|
-
|
|
6624
|
+
Q("div", {
|
|
6625
6625
|
class: "top-icon",
|
|
6626
6626
|
title: Ye.title,
|
|
6627
6627
|
onClick: (Pe) => Ie(Ye)
|
|
6628
6628
|
}, [
|
|
6629
6629
|
s(_l, {
|
|
6630
6630
|
name: Ye.icon,
|
|
6631
|
-
class:
|
|
6631
|
+
class: Ol(["menu-icon", { active: Ye.title === he.value }])
|
|
6632
6632
|
}, null, 8, ["name", "class"])
|
|
6633
6633
|
], 8, Vc)
|
|
6634
6634
|
]),
|
|
@@ -6649,7 +6649,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6649
6649
|
class: "menu-icon"
|
|
6650
6650
|
})
|
|
6651
6651
|
])) : Ne("", !0),
|
|
6652
|
-
|
|
6652
|
+
Q("div", {
|
|
6653
6653
|
class: "top-icon",
|
|
6654
6654
|
title: "登出",
|
|
6655
6655
|
onClick: _e
|
|
@@ -6671,7 +6671,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6671
6671
|
name: "子菜单",
|
|
6672
6672
|
size: "24",
|
|
6673
6673
|
onClick: v,
|
|
6674
|
-
active:
|
|
6674
|
+
active: Oe.value,
|
|
6675
6675
|
title: "菜单"
|
|
6676
6676
|
}, null, 8, ["active"])
|
|
6677
6677
|
]),
|
|
@@ -6692,25 +6692,25 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6692
6692
|
[ut, u(de) === "view"],
|
|
6693
6693
|
[Me, u(xe)]
|
|
6694
6694
|
]),
|
|
6695
|
-
Wl(
|
|
6695
|
+
Wl(Q("div", {
|
|
6696
6696
|
class: "management-page-panel",
|
|
6697
6697
|
ref_key: "managementPagePanel",
|
|
6698
6698
|
ref: P,
|
|
6699
6699
|
style: El(Te.value)
|
|
6700
6700
|
}, [
|
|
6701
|
-
|
|
6701
|
+
Q("div", {
|
|
6702
6702
|
class: "panel-header",
|
|
6703
6703
|
onMousedown: ee
|
|
6704
6704
|
}, [
|
|
6705
|
-
|
|
6706
|
-
|
|
6705
|
+
Q("span", null, nl(M.value), 1),
|
|
6706
|
+
Q("span", {
|
|
6707
6707
|
class: "close",
|
|
6708
6708
|
onClick: $e
|
|
6709
6709
|
}, " X ")
|
|
6710
6710
|
], 32),
|
|
6711
|
-
|
|
6711
|
+
Q("div", Nc, [
|
|
6712
6712
|
u(Le) ? Ne("", !0) : (_(), ge("div", Kc, " 请先选择菜单 ")),
|
|
6713
|
-
|
|
6713
|
+
Q("div", {
|
|
6714
6714
|
class: "resize-bar",
|
|
6715
6715
|
ref_key: "managementResizeBar",
|
|
6716
6716
|
ref: ce,
|
|
@@ -6738,7 +6738,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6738
6738
|
modelValue: "返回"
|
|
6739
6739
|
})
|
|
6740
6740
|
])) : Ne("", !0),
|
|
6741
|
-
|
|
6741
|
+
Q("div", Yc, [
|
|
6742
6742
|
Ze.value ? (_(), Re(ae, { key: 0 })) : Ne("", !0),
|
|
6743
6743
|
Ze.value ? Ne("", !0) : (_(!0), ge(hl, { key: 1 }, Al((Ke = u(tt)) == null ? void 0 : Ke.filter((Ve) => Ve.comp !== "FormTop"), (Ve, dl) => {
|
|
6744
6744
|
var el;
|
|
@@ -6781,7 +6781,7 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6781
6781
|
])) : Ne("", !0)
|
|
6782
6782
|
])
|
|
6783
6783
|
])), [
|
|
6784
|
-
[Me, u(
|
|
6784
|
+
[Me, u(Qe)]
|
|
6785
6785
|
])
|
|
6786
6786
|
];
|
|
6787
6787
|
}),
|
|
@@ -6794,15 +6794,15 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6794
6794
|
], 4), [
|
|
6795
6795
|
[ut, x.value]
|
|
6796
6796
|
]),
|
|
6797
|
-
Wl(
|
|
6798
|
-
|
|
6799
|
-
T[7] || (T[7] =
|
|
6800
|
-
|
|
6797
|
+
Wl(Q("div", Gc, [
|
|
6798
|
+
Q("div", { class: "panel-header" }, [
|
|
6799
|
+
T[7] || (T[7] = Q("span", null, " 菜单树 ", -1)),
|
|
6800
|
+
Q("span", {
|
|
6801
6801
|
class: "close",
|
|
6802
6802
|
onClick: z
|
|
6803
6803
|
}, " X ")
|
|
6804
6804
|
]),
|
|
6805
|
-
|
|
6805
|
+
Q("div", Fc, [
|
|
6806
6806
|
s(p, { class: "client-body" }, {
|
|
6807
6807
|
default: c(() => [
|
|
6808
6808
|
s(Tc, { onNodeClick: V })
|
|
@@ -6811,12 +6811,12 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
6811
6811
|
})
|
|
6812
6812
|
])
|
|
6813
6813
|
], 512), [
|
|
6814
|
-
[ut,
|
|
6814
|
+
[ut, Oe.value]
|
|
6815
6815
|
])
|
|
6816
6816
|
], 64);
|
|
6817
6817
|
};
|
|
6818
6818
|
}
|
|
6819
|
-
}), $c = /* @__PURE__ */
|
|
6819
|
+
}), $c = /* @__PURE__ */ Ql(Zc, [["__scopeId", "data-v-f8666f69"]]), er = [
|
|
6820
6820
|
{
|
|
6821
6821
|
path: "系统管理/用户管理",
|
|
6822
6822
|
isShow: !0
|
|
@@ -7074,34 +7074,34 @@ const Rc = /* @__PURE__ */ Ol(Ec, [["render", Pc], ["__scopeId", "data-v-94d06d5
|
|
|
7074
7074
|
// }
|
|
7075
7075
|
];
|
|
7076
7076
|
let sl = "$R";
|
|
7077
|
-
const
|
|
7078
|
-
var G, S, le, f, y, ue, Z, C, D,
|
|
7077
|
+
const Os = (t, L, d, k) => {
|
|
7078
|
+
var G, S, le, f, y, ue, Z, C, D, O, n, oe, H, J, h, B, X, be;
|
|
7079
7079
|
let W = ((S = (G = L.get(t == null ? void 0 : t.quotePage)) == null ? void 0 : G.contents) == null ? void 0 : S.find((o) => da((k == null ? void 0 : k.quoteGroup) ?? [], o == null ? void 0 : o.name))) ?? ((le = L.get(t == null ? void 0 : t.quotePage)) == null ? void 0 : le.contents) ?? [];
|
|
7080
7080
|
if (!Array.isArray(W) && ((f = W == null ? void 0 : W.tableColumns) == null ? void 0 : f.length) > 0) {
|
|
7081
|
-
let o =
|
|
7081
|
+
let o = gl(W), g = (Z = (ue = (y = o.filter) == null ? void 0 : y.replace("(", sl)) == null ? void 0 : ue.split(sl)) == null ? void 0 : Z[1];
|
|
7082
7082
|
g = "(" + (g == null ? void 0 : g.slice(0, (g == null ? void 0 : g.length) - 1));
|
|
7083
|
-
let De = (
|
|
7083
|
+
let De = (O = (D = (C = t == null ? void 0 : t.filter) == null ? void 0 : C.replace("(", sl)) == null ? void 0 : D.split(sl)) == null ? void 0 : O[0];
|
|
7084
7084
|
!(o != null && o.filter) || (o == null ? void 0 : o.filter) === "" ? o.filter = t == null ? void 0 : t.filter : o.filter = De + g + "," + ((H = (oe = (n = t == null ? void 0 : t.filter) == null ? void 0 : n.replace("(", sl)) == null ? void 0 : oe.split(sl)) == null ? void 0 : H[1]);
|
|
7085
7085
|
let fe = (B = (h = (J = o.filter) == null ? void 0 : J.replace("(", sl)) == null ? void 0 : h.split(sl)) == null ? void 0 : B[1];
|
|
7086
7086
|
fe = fe == null ? void 0 : fe.slice(0, (fe == null ? void 0 : fe.length) - 1), fe = dt(fe, ",");
|
|
7087
|
-
let te = fe == null ? void 0 : fe.filter((me) => me == null ? void 0 : me.includes("@
|
|
7088
|
-
return (te == null ? void 0 : te.length) > 0 && (te != null && te.find((me) => me == null ? void 0 : me.includes("@
|
|
7087
|
+
let te = fe == null ? void 0 : fe.filter((me) => me == null ? void 0 : me.includes("@Type"));
|
|
7088
|
+
return (te == null ? void 0 : te.length) > 0 && (te != null && te.find((me) => me == null ? void 0 : me.includes("@Type"))) && ((X = te == null ? void 0 : te[(te == null ? void 0 : te.length) - 1]) != null && X.includes("Manual")) && (o.tableContents = []), o.name = d, [o];
|
|
7089
7089
|
} else if (W) {
|
|
7090
7090
|
Array.isArray(W) || (W = [W]);
|
|
7091
7091
|
let o = [];
|
|
7092
|
-
return (be =
|
|
7093
|
-
var De, fe, te, me, de, je, ie, K, ye, xe, Ae,
|
|
7092
|
+
return (be = gl(W)) == null || be.forEach((g) => {
|
|
7093
|
+
var De, fe, te, me, de, je, ie, K, ye, xe, Ae, Qe, Fe, Le, tl, al, rl, Ze, _e, e, i, l, M, x, P, ce;
|
|
7094
7094
|
if (!(g != null && g.filter) || ((De = g == null ? void 0 : g.tableColumns) == null ? void 0 : De.length) > 0 || ((fe = g == null ? void 0 : g.value) == null ? void 0 : fe.length) > 0) {
|
|
7095
7095
|
let N = (de = (me = (te = t == null ? void 0 : t.filter) == null ? void 0 : te.replace("(", sl)) == null ? void 0 : me.split(sl)) == null ? void 0 : de[0], ne = (K = (ie = (je = g.filter) == null ? void 0 : je.replace("(", sl)) == null ? void 0 : ie.split(sl)) == null ? void 0 : K[1];
|
|
7096
7096
|
ne = "(" + (ne == null ? void 0 : ne.slice(0, (ne == null ? void 0 : ne.length) - 1)), !(g != null && g.filter) || (g == null ? void 0 : g.filter) === "" ? g.filter = t == null ? void 0 : t.filter : g.filter = N + ne + "," + ((Ae = (xe = (ye = t == null ? void 0 : t.filter) == null ? void 0 : ye.replace("(", sl)) == null ? void 0 : xe.split(sl)) == null ? void 0 : Ae[1]);
|
|
7097
|
-
let m = (Le = (Fe = (
|
|
7097
|
+
let m = (Le = (Fe = (Qe = g == null ? void 0 : g.filter) == null ? void 0 : Qe.replace("(", sl)) == null ? void 0 : Fe.split(sl)) == null ? void 0 : Le[1];
|
|
7098
7098
|
m = m == null ? void 0 : m.slice(0, (m == null ? void 0 : m.length) - 1), m = dt(m, ",");
|
|
7099
|
-
let q = m == null ? void 0 : m.filter((Ee) => Ee == null ? void 0 : Ee.includes("@
|
|
7100
|
-
((tl = g == null ? void 0 : g.tableContents) == null ? void 0 : tl.length) > 0 && (m != null && m.filter((Ee) => Ee == null ? void 0 : Ee.includes("@
|
|
7099
|
+
let q = m == null ? void 0 : m.filter((Ee) => Ee == null ? void 0 : Ee.includes("@Type"));
|
|
7100
|
+
((tl = g == null ? void 0 : g.tableContents) == null ? void 0 : tl.length) > 0 && (m != null && m.filter((Ee) => Ee == null ? void 0 : Ee.includes("@Type"))) && ((al = q == null ? void 0 : q[(q == null ? void 0 : q.length) - 1]) != null && al.includes("Manual")) && (g.tableContents = []), g.name = [...d, ...g == null ? void 0 : g.name], o.push(gl(g));
|
|
7101
7101
|
} else {
|
|
7102
7102
|
let N = (_e = (Ze = (rl = t == null ? void 0 : t.filter) == null ? void 0 : rl.replace("(", sl)) == null ? void 0 : Ze.split(sl)) == null ? void 0 : _e[0], ne = (l = (i = (e = g.filter) == null ? void 0 : e.replace("(", sl)) == null ? void 0 : i.split(sl)) == null ? void 0 : l[1];
|
|
7103
|
-
ne = "(" + (ne == null ? void 0 : ne.slice(0, (ne == null ? void 0 : ne.length) - 1)), !(g != null && g.filter) || (g == null ? void 0 : g.filter) === "" ? g.filter = t == null ? void 0 : t.filter : g.filter = N + ne + "," + ((P = (x = (M = t == null ? void 0 : t.filter) == null ? void 0 : M.replace("(", sl)) == null ? void 0 : x.split(sl)) == null ? void 0 : P[1]), (ce =
|
|
7104
|
-
o.push(
|
|
7103
|
+
ne = "(" + (ne == null ? void 0 : ne.slice(0, (ne == null ? void 0 : ne.length) - 1)), !(g != null && g.filter) || (g == null ? void 0 : g.filter) === "" ? g.filter = t == null ? void 0 : t.filter : g.filter = N + ne + "," + ((P = (x = (M = t == null ? void 0 : t.filter) == null ? void 0 : M.replace("(", sl)) == null ? void 0 : x.split(sl)) == null ? void 0 : P[1]), (ce = Os(gl(g), L, (d == null ? void 0 : d.length) > 0 ? d : [...d, ...g == null ? void 0 : g.name], k)) == null || ce.forEach((m) => {
|
|
7104
|
+
o.push(gl(m));
|
|
7105
7105
|
});
|
|
7106
7106
|
}
|
|
7107
7107
|
}), o;
|
|
@@ -7115,12 +7115,12 @@ const Qs = (t, L, d, k) => {
|
|
|
7115
7115
|
key: "menuPath",
|
|
7116
7116
|
contents: [...k, ...er]
|
|
7117
7117
|
});
|
|
7118
|
-
let G = t.map(async (f) => await Pn(f,
|
|
7118
|
+
let G = t.map(async (f) => await Pn(f, gl(k)));
|
|
7119
7119
|
G = await Promise.all(G);
|
|
7120
7120
|
let S = /* @__PURE__ */ new Map();
|
|
7121
7121
|
G == null || G.forEach((f) => {
|
|
7122
7122
|
f == null || f.forEach((y) => {
|
|
7123
|
-
var Z, C, D,
|
|
7123
|
+
var Z, C, D, O;
|
|
7124
7124
|
let ue = (D = (C = (Z = y == null ? void 0 : y.find((n) => (n == null ? void 0 : n.key) === "path")) == null ? void 0 : Z.value) == null ? void 0 : C.replaceAll("{", "")) == null ? void 0 : D.replaceAll("}", "");
|
|
7125
7125
|
if (S.has(ue)) {
|
|
7126
7126
|
let n = S.get(ue).contents;
|
|
@@ -7152,7 +7152,7 @@ const Qs = (t, L, d, k) => {
|
|
|
7152
7152
|
}
|
|
7153
7153
|
return H;
|
|
7154
7154
|
}), S.set(ue, {
|
|
7155
|
-
key: (
|
|
7155
|
+
key: (O = n == null ? void 0 : n.replaceAll("{", "")) == null ? void 0 : O.replaceAll("}", ""),
|
|
7156
7156
|
contents: oe
|
|
7157
7157
|
});
|
|
7158
7158
|
}
|
|
@@ -7160,13 +7160,13 @@ const Qs = (t, L, d, k) => {
|
|
|
7160
7160
|
});
|
|
7161
7161
|
let le = [...S.values()];
|
|
7162
7162
|
return le = le == null ? void 0 : le.map((f) => {
|
|
7163
|
-
var Z, C, D,
|
|
7163
|
+
var Z, C, D, O;
|
|
7164
7164
|
let y = [], ue = ((D = (C = (Z = f == null ? void 0 : f.key) == null ? void 0 : Z.split("/")) == null ? void 0 : C.filter((n, oe) => {
|
|
7165
7165
|
var H, J;
|
|
7166
7166
|
return ((J = (H = f == null ? void 0 : f.key) == null ? void 0 : H.split("/")) == null ? void 0 : J.length) - 1 !== oe;
|
|
7167
7167
|
})) == null ? void 0 : D.join("/")) + "/";
|
|
7168
|
-
return (
|
|
7169
|
-
var B, X, be, o, g, De, fe, te, me, de, je, ie, K, ye, xe, Ae,
|
|
7168
|
+
return (O = f.contents) == null || O.forEach((n, oe) => {
|
|
7169
|
+
var B, X, be, o, g, De, fe, te, me, de, je, ie, K, ye, xe, Ae, Qe, Fe, Le, tl, al, rl, Ze, _e, e, i, l, M, x, P, ce, N, ne, m, q, Ee, ke, Te, Ie, $e, we, ml, yl, Ml;
|
|
7170
7170
|
const H = n == null ? void 0 : n.isShow, J = (n == null ? void 0 : n.menuFilter) ?? [], h = Array.isArray(J) && (J == null ? void 0 : J.some((Ue) => {
|
|
7171
7171
|
const w = typeof Ue == "string" ? Ue : JSON.stringify(Ue);
|
|
7172
7172
|
return (w == null ? void 0 : w.includes("@Hide")) && (w == null ? void 0 : w.includes("Yes"));
|
|
@@ -7178,18 +7178,18 @@ const Qs = (t, L, d, k) => {
|
|
|
7178
7178
|
if (((o = n == null ? void 0 : n.tableColumns) == null ? void 0 : o.length) === 0) {
|
|
7179
7179
|
let Ue = ((De = (g = S.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : g.contents) == null ? void 0 : De.find((w) => da(n == null ? void 0 : n.quoteGroup, (w == null ? void 0 : w.name) ?? []))) ?? ((fe = S.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : fe.contents) ?? [];
|
|
7180
7180
|
if (!Array.isArray(Ue) && ((te = Ue == null ? void 0 : Ue.tableColumns) == null ? void 0 : te.length) > 0) {
|
|
7181
|
-
n.tableColumns = Ue == null ? void 0 : Ue.tableColumns;
|
|
7181
|
+
n.tableColumns = gl(Ue == null ? void 0 : Ue.tableColumns) ?? [];
|
|
7182
7182
|
let w = (je = (de = (me = n == null ? void 0 : n.filter) == null ? void 0 : me.replace("(", sl)) == null ? void 0 : de.split(sl)) == null ? void 0 : je[1];
|
|
7183
7183
|
w = w == null ? void 0 : w.slice(0, (w == null ? void 0 : w.length) - 1), w = dt(w, ",");
|
|
7184
|
-
let a = w == null ? void 0 : w.filter((R) => R == null ? void 0 : R.includes("@
|
|
7185
|
-
w != null && w.find((R) => R == null ? void 0 : R.includes("@
|
|
7184
|
+
let a = w == null ? void 0 : w.filter((R) => R == null ? void 0 : R.includes("@Type"));
|
|
7185
|
+
w != null && w.find((R) => R == null ? void 0 : R.includes("@Type")) && !((ie = a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) != null && ie.includes("Manual")) && (n.tableContents = gl(Ue == null ? void 0 : Ue.tableContents) ?? []), y.push(n);
|
|
7186
7186
|
} else {
|
|
7187
7187
|
let w = [];
|
|
7188
|
-
Array.isArray(Ue) || (Ue = [Ue]), (K =
|
|
7189
|
-
var R, A, ee, ve, Be, he, Xe,
|
|
7188
|
+
Array.isArray(Ue) || (Ue = [Ue]), (K = gl(Ue)) == null || K.forEach((a) => {
|
|
7189
|
+
var R, A, ee, ve, Be, he, Xe, Oe, We, v, z, $, se, Ce, V, b, r, T, I, j, U, p, ae, pe, Me, Ye, Pe, ll, cl, Ke, He, Ve, dl, el, Cl;
|
|
7190
7190
|
if (!(a != null && a.filter) || ((R = a == null ? void 0 : a.tableColumns) == null ? void 0 : R.length) > 0 || ((A = a == null ? void 0 : a.value) == null ? void 0 : A.length) > 0) {
|
|
7191
7191
|
a.name = [...n == null ? void 0 : n.name, ...(a == null ? void 0 : a.name) ?? []];
|
|
7192
|
-
let bl = (Be = (ve = (ee = n == null ? void 0 : n.filter) == null ? void 0 : ee.replace("(", sl)) == null ? void 0 : ve.split(sl)) == null ? void 0 : Be[0], ze = (
|
|
7192
|
+
let bl = (Be = (ve = (ee = n == null ? void 0 : n.filter) == null ? void 0 : ee.replace("(", sl)) == null ? void 0 : ve.split(sl)) == null ? void 0 : Be[0], ze = (Oe = (Xe = (he = a.filter) == null ? void 0 : he.replace("(", sl)) == null ? void 0 : Xe.split(sl)) == null ? void 0 : Oe[1];
|
|
7193
7193
|
ze = "(" + (ze == null ? void 0 : ze.slice(0, (ze == null ? void 0 : ze.length) - 1)), !(a != null && a.filter) || (a == null ? void 0 : a.filter) === "" ? a.filter = n == null ? void 0 : n.filter : a.filter = bl + ze + "," + ((z = (v = (We = n == null ? void 0 : n.filter) == null ? void 0 : We.replace("(", sl)) == null ? void 0 : v.split(sl)) == null ? void 0 : z[1]), a.fatherSyncContents = (n == null ? void 0 : n.fatherSyncContents) ?? [], a.sonSyncContents = n.sonSyncContents ?? [], a.fatherSyncContents = ($ = a == null ? void 0 : a.fatherSyncContents) == null ? void 0 : $.map((F) => {
|
|
7194
7194
|
var Se, ul;
|
|
7195
7195
|
return F != null && F.groups ? { ...F } : Object.assign({}, F, {
|
|
@@ -7203,8 +7203,8 @@ const Qs = (t, L, d, k) => {
|
|
|
7203
7203
|
}), a.relatedQuotes = n.relatedQuotes ?? [];
|
|
7204
7204
|
let Je = (b = (V = (Ce = a == null ? void 0 : a.filter) == null ? void 0 : Ce.replace("(", sl)) == null ? void 0 : V.split(sl)) == null ? void 0 : b[1];
|
|
7205
7205
|
Je = Je == null ? void 0 : Je.slice(0, (Je == null ? void 0 : Je.length) - 1), Je = dt(Je, ",");
|
|
7206
|
-
let Ge = Je == null ? void 0 : Je.filter((F) => F == null ? void 0 : F.includes("@
|
|
7207
|
-
((r = a == null ? void 0 : a.tableContents) == null ? void 0 : r.length) > 0 && (Je != null && Je.find((F) => F == null ? void 0 : F.includes("@
|
|
7206
|
+
let Ge = Je == null ? void 0 : Je.filter((F) => F == null ? void 0 : F.includes("@Type"));
|
|
7207
|
+
((r = a == null ? void 0 : a.tableContents) == null ? void 0 : r.length) > 0 && (Je != null && Je.find((F) => F == null ? void 0 : F.includes("@Type"))) && ((T = Ge == null ? void 0 : Ge[(Ge == null ? void 0 : Ge.length) - 1]) != null && T.includes("Manual")) && (a.tableContents = []), w.push(a);
|
|
7208
7208
|
} else {
|
|
7209
7209
|
let bl = (U = (j = (I = n == null ? void 0 : n.filter) == null ? void 0 : I.replace("(", sl)) == null ? void 0 : j.split(sl)) == null ? void 0 : U[0], ze = (pe = (ae = (p = a.filter) == null ? void 0 : p.replace("(", sl)) == null ? void 0 : ae.split(sl)) == null ? void 0 : pe[1];
|
|
7210
7210
|
ze = "(" + (ze == null ? void 0 : ze.slice(0, (ze == null ? void 0 : ze.length) - 1)), !(a != null && a.filter) || (a == null ? void 0 : a.filter) === "" ? a.filter = n == null ? void 0 : n.filter : a.filter = bl + ze + "," + ((Pe = (Ye = (Me = n == null ? void 0 : n.filter) == null ? void 0 : Me.replace("(", sl)) == null ? void 0 : Ye.split(sl)) == null ? void 0 : Pe[1]);
|
|
@@ -7216,9 +7216,9 @@ const Qs = (t, L, d, k) => {
|
|
|
7216
7216
|
var Se, ul;
|
|
7217
7217
|
return F != null && F.groups || (F.groups = (ul = n.name) == null ? void 0 : ul[((Se = n.name) == null ? void 0 : Se.length) - 1]), F;
|
|
7218
7218
|
}), a.relatedQuotes = n.relatedQuotes ?? [];
|
|
7219
|
-
let Ge = Je == null ? void 0 : Je.filter((F) => F == null ? void 0 : F.includes("@
|
|
7220
|
-
(Ge == null ? void 0 : Ge.length) > 0 && (Ge != null && Ge.find((F) => F == null ? void 0 : F.includes("@
|
|
7221
|
-
w.push(
|
|
7219
|
+
let Ge = Je == null ? void 0 : Je.filter((F) => F == null ? void 0 : F.includes("@Type"));
|
|
7220
|
+
(Ge == null ? void 0 : Ge.length) > 0 && (Ge != null && Ge.find((F) => F == null ? void 0 : F.includes("@eType"))) && ((dl = Ge == null ? void 0 : Ge[(Ge == null ? void 0 : Ge.length) - 1]) != null && dl.includes("Manual")) && (a.tableContents = []), (Cl = Os(a, S, (((el = n == null ? void 0 : n.name) == null ? void 0 : el.length) > 0, n == null ? void 0 : n.name), n)) == null || Cl.forEach((F) => {
|
|
7221
|
+
w.push(gl(F));
|
|
7222
7222
|
});
|
|
7223
7223
|
}
|
|
7224
7224
|
}), w == null || w.forEach((a) => {
|
|
@@ -7226,10 +7226,10 @@ const Qs = (t, L, d, k) => {
|
|
|
7226
7226
|
});
|
|
7227
7227
|
}
|
|
7228
7228
|
} else {
|
|
7229
|
-
let Ue = ((xe = (ye = S.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : ye.contents) == null ? void 0 : xe.find((R) => da(n == null ? void 0 : n.quoteGroup, (R == null ? void 0 : R.name) ?? []))) ?? ((Ae = S.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : Ae.contents) ?? [], w = (Le = (Fe = (
|
|
7229
|
+
let Ue = ((xe = (ye = S.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : ye.contents) == null ? void 0 : xe.find((R) => da(n == null ? void 0 : n.quoteGroup, (R == null ? void 0 : R.name) ?? []))) ?? ((Ae = S.get(n == null ? void 0 : n.quotePage)) == null ? void 0 : Ae.contents) ?? [], w = (Le = (Fe = (Qe = n == null ? void 0 : n.filter) == null ? void 0 : Qe.replace("(", sl)) == null ? void 0 : Fe.split(sl)) == null ? void 0 : Le[1];
|
|
7230
7230
|
w = w == null ? void 0 : w.slice(0, (w == null ? void 0 : w.length) - 1), w = dt(w, ",");
|
|
7231
|
-
let a = w == null ? void 0 : w.filter((R) => R == null ? void 0 : R.includes("@
|
|
7232
|
-
if (w != null && w.find((R) => R == null ? void 0 : R.includes("@
|
|
7231
|
+
let a = w == null ? void 0 : w.filter((R) => R == null ? void 0 : R.includes("@Type"));
|
|
7232
|
+
if (w != null && w.find((R) => R == null ? void 0 : R.includes("@Type")) && !((tl = a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) != null && tl.includes("Manual"))) {
|
|
7233
7233
|
let R = [];
|
|
7234
7234
|
(al = pn(Ue == null ? void 0 : Ue.tableContents, Ue == null ? void 0 : Ue.tableColumns)) == null || al.forEach((A, ee) => {
|
|
7235
7235
|
var Be;
|
|
@@ -7247,7 +7247,7 @@ const Qs = (t, L, d, k) => {
|
|
|
7247
7247
|
let Ue = n == null ? void 0 : n.formPage;
|
|
7248
7248
|
(Ue == null ? void 0 : Ue[(Ue == null ? void 0 : Ue.length) - 1]) === "/" && (Ue = Ue == null ? void 0 : Ue.slice(0, (Ue == null ? void 0 : Ue.length) - 1));
|
|
7249
7249
|
let w = (_e = (Ze = S.get(Ue)) == null ? void 0 : Ze.contents) == null ? void 0 : _e.find((a) => da(n == null ? void 0 : n.formGroup, (a == null ? void 0 : a.name) ?? []));
|
|
7250
|
-
!Array.isArray(w) && (((e = w == null ? void 0 : w.value) == null ? void 0 : e.length) > 0 || ((i = w == null ? void 0 : w.tableColumns) == null ? void 0 : i.length) > 0) && (((l = w == null ? void 0 : w.value) == null ? void 0 : l.length) > 0 ? n.value = w == null ? void 0 : w.value : (n.value = (x = (M =
|
|
7250
|
+
!Array.isArray(w) && (((e = w == null ? void 0 : w.value) == null ? void 0 : e.length) > 0 || ((i = w == null ? void 0 : w.tableColumns) == null ? void 0 : i.length) > 0) && (((l = w == null ? void 0 : w.value) == null ? void 0 : l.length) > 0 ? n.value = w == null ? void 0 : w.value : (n.value = (x = (M = gl(w)) == null ? void 0 : M.tableColumns) == null ? void 0 : x.map((a) => {
|
|
7251
7251
|
var R;
|
|
7252
7252
|
return a.disabled = !0, a.width = (R = w == null ? void 0 : w.tableColumns) == null ? void 0 : R.length, a;
|
|
7253
7253
|
}), n.filter = n.filter === "" ? "(@Related: true)" : ((ce = n.filter) == null ? void 0 : ce.slice(0, ((P = n.filter) == null ? void 0 : P.length) - 1)) + ",@Related: true)")), y.push(n);
|
|
@@ -7257,7 +7257,7 @@ const Qs = (t, L, d, k) => {
|
|
|
7257
7257
|
return a !== ((A = (R = f == null ? void 0 : f.key) == null ? void 0 : R.split("/")) == null ? void 0 : A.length) - 1;
|
|
7258
7258
|
})) == null ? void 0 : Ee.join("/")) + "/";
|
|
7259
7259
|
if (((Ie = (Te = (ke = S == null ? void 0 : S.get(Ue)) == null ? void 0 : ke.contents) == null ? void 0 : Te[oe]) == null ? void 0 : Ie.key) === "Form") {
|
|
7260
|
-
let w =
|
|
7260
|
+
let w = gl(n).tableContents;
|
|
7261
7261
|
n = (we = ($e = S == null ? void 0 : S.get(Ue)) == null ? void 0 : $e.contents) == null ? void 0 : we[oe], n.contents = w;
|
|
7262
7262
|
} else
|
|
7263
7263
|
n.tableColumns = (Ml = (yl = (ml = S == null ? void 0 : S.get(Ue)) == null ? void 0 : ml.contents) == null ? void 0 : yl[oe]) == null ? void 0 : Ml.tableColumns;
|
|
@@ -7268,30 +7268,30 @@ const Qs = (t, L, d, k) => {
|
|
|
7268
7268
|
}), le = le == null ? void 0 : le.map((f) => {
|
|
7269
7269
|
var Z, C;
|
|
7270
7270
|
let y = (Z = f == null ? void 0 : f.contents) == null ? void 0 : Z.map((D) => {
|
|
7271
|
-
var
|
|
7272
|
-
return (
|
|
7271
|
+
var O;
|
|
7272
|
+
return (O = D.name) == null ? void 0 : O.join("/");
|
|
7273
7273
|
}), ue = [...new Set(y)];
|
|
7274
7274
|
if ((ue == null ? void 0 : ue.length) !== (y == null ? void 0 : y.length)) {
|
|
7275
7275
|
let D = [];
|
|
7276
|
-
(C = f.contents) == null || C.forEach((
|
|
7276
|
+
(C = f.contents) == null || C.forEach((O) => {
|
|
7277
7277
|
var n, oe, H, J;
|
|
7278
7278
|
if (!(D != null && D.find((h) => {
|
|
7279
7279
|
var B, X;
|
|
7280
|
-
return ((B = h == null ? void 0 : h.name) == null ? void 0 : B.join("/")) === ((X =
|
|
7280
|
+
return ((B = h == null ? void 0 : h.name) == null ? void 0 : B.join("/")) === ((X = O == null ? void 0 : O.name) == null ? void 0 : X.join("/"));
|
|
7281
7281
|
})))
|
|
7282
|
-
D.push(
|
|
7283
|
-
else if ((
|
|
7282
|
+
D.push(O);
|
|
7283
|
+
else if ((O == null ? void 0 : O.key) === "Table" || (O == null ? void 0 : O.key) === "Method") {
|
|
7284
7284
|
let h = D == null ? void 0 : D.findIndex((B) => {
|
|
7285
7285
|
var X, be;
|
|
7286
|
-
return ((X = B == null ? void 0 : B.name) == null ? void 0 : X.join("/")) === ((be =
|
|
7286
|
+
return ((X = B == null ? void 0 : B.name) == null ? void 0 : X.join("/")) === ((be = O == null ? void 0 : O.name) == null ? void 0 : be.join("/"));
|
|
7287
7287
|
});
|
|
7288
|
-
D[h].tableContents = [...((n = D[h]) == null ? void 0 : n.tableContents) ?? [], ...
|
|
7289
|
-
} else if ((
|
|
7288
|
+
D[h].tableContents = [...((n = D[h]) == null ? void 0 : n.tableContents) ?? [], ...O.tableContents ?? []], D[h].tableColumns = ((oe = D[h].tableColumns) == null ? void 0 : oe.length) === 0 ? O.tableColumns : D[h].tableColumns;
|
|
7289
|
+
} else if ((O == null ? void 0 : O.key) === "Form") {
|
|
7290
7290
|
let h = D == null ? void 0 : D.findIndex((B) => {
|
|
7291
7291
|
var X, be;
|
|
7292
|
-
return ((X = B == null ? void 0 : B.name) == null ? void 0 : X.join("/")) === ((be =
|
|
7292
|
+
return ((X = B == null ? void 0 : B.name) == null ? void 0 : X.join("/")) === ((be = O == null ? void 0 : O.name) == null ? void 0 : be.join("/"));
|
|
7293
7293
|
});
|
|
7294
|
-
D[h].contents = [...((H = D[h]) == null ? void 0 : H.contents) ?? [], ...
|
|
7294
|
+
D[h].contents = [...((H = D[h]) == null ? void 0 : H.contents) ?? [], ...O.contents ?? []], D[h].value = ((J = D[h].value) == null ? void 0 : J.length) === 0 ? O.value : D[h].value;
|
|
7295
7295
|
}
|
|
7296
7296
|
}), f.contents = D;
|
|
7297
7297
|
}
|
|
@@ -7300,7 +7300,7 @@ const Qs = (t, L, d, k) => {
|
|
|
7300
7300
|
}, ar = (t) => {
|
|
7301
7301
|
var W, G, S, le, f, y;
|
|
7302
7302
|
let L = dt(t, "*"), d, k;
|
|
7303
|
-
return (L == null ? void 0 : L.length) > 1 || !((W = L == null ? void 0 : L[0]) != null && W.includes("==")) ? (d = L == null ? void 0 : L[0], (d == null ? void 0 : d[(d == null ? void 0 : d.length) - 1]) === "*" && (d = d == null ? void 0 : d.slice(0, (d == null ? void 0 : d.length) - 1)), k = (G = L == null ? void 0 : L.filter((ue, Z) => Z !== 0)) == null ? void 0 : G.join(""), k = k ? "*" + k : "") : (d = (le = (S = t == null ? void 0 : t.replace("==", sl)) == null ? void 0 : S.split(sl)) == null ? void 0 : le[0], k = (y = (f = t == null ? void 0 : t.replace("==", sl)) == null ? void 0 : f.split(sl)) == null ? void 0 : y[1]), (d == null ? void 0 : d[0]) !== "$" && (k =
|
|
7303
|
+
return (L == null ? void 0 : L.length) > 1 || !((W = L == null ? void 0 : L[0]) != null && W.includes("==")) ? (d = L == null ? void 0 : L[0], (d == null ? void 0 : d[(d == null ? void 0 : d.length) - 1]) === "*" && (d = d == null ? void 0 : d.slice(0, (d == null ? void 0 : d.length) - 1)), k = (G = L == null ? void 0 : L.filter((ue, Z) => Z !== 0)) == null ? void 0 : G.join(""), k = k ? "*" + k : "") : (d = (le = (S = t == null ? void 0 : t.replace("==", sl)) == null ? void 0 : S.split(sl)) == null ? void 0 : le[0], k = (y = (f = t == null ? void 0 : t.replace("==", sl)) == null ? void 0 : f.split(sl)) == null ? void 0 : y[1]), (d == null ? void 0 : d[0]) !== "$" && (k = gl(d) + (k ?? ""), d = ""), {
|
|
7304
7304
|
key: d,
|
|
7305
7305
|
value: k
|
|
7306
7306
|
};
|
|
@@ -7349,7 +7349,7 @@ const Qs = (t, L, d, k) => {
|
|
|
7349
7349
|
ue("clearLogin");
|
|
7350
7350
|
}, C = (oe) => {
|
|
7351
7351
|
ue("showChild", oe);
|
|
7352
|
-
}, D =
|
|
7352
|
+
}, D = vl(() => {
|
|
7353
7353
|
switch (y == null ? void 0 : y.platform) {
|
|
7354
7354
|
case "browser":
|
|
7355
7355
|
return Gs;
|
|
@@ -7358,14 +7358,14 @@ const Qs = (t, L, d, k) => {
|
|
|
7358
7358
|
case "three":
|
|
7359
7359
|
return Hs;
|
|
7360
7360
|
}
|
|
7361
|
-
}),
|
|
7361
|
+
}), O = (oe) => {
|
|
7362
7362
|
const H = document.documentElement;
|
|
7363
7363
|
oe == null || oe.forEach((J) => {
|
|
7364
7364
|
H.style.setProperty(J.name, J.value);
|
|
7365
7365
|
});
|
|
7366
7366
|
};
|
|
7367
7367
|
pl(() => y.platform, (oe, H) => {
|
|
7368
|
-
oe &&
|
|
7368
|
+
oe && O(D.value);
|
|
7369
7369
|
}, { immediate: !0 });
|
|
7370
7370
|
const n = () => {
|
|
7371
7371
|
ue("buildContent");
|
|
@@ -7389,9 +7389,9 @@ const Qs = (t, L, d, k) => {
|
|
|
7389
7389
|
else {
|
|
7390
7390
|
let te = /* @__PURE__ */ new Map(), me = [];
|
|
7391
7391
|
g == null || g.forEach((K) => {
|
|
7392
|
-
var
|
|
7392
|
+
var Qe;
|
|
7393
7393
|
me.push(`struct_${K == null ? void 0 : K.object_id}`);
|
|
7394
|
-
const ye = (K == null ? void 0 : K.property_name) || "", xe = ((
|
|
7394
|
+
const ye = (K == null ? void 0 : K.property_name) || "", xe = ((Qe = K == null ? void 0 : K.filter) == null ? void 0 : Qe.menuFilter) || [];
|
|
7395
7395
|
if (((ye == null ? void 0 : ye.includes("@InterfaceHide=Yes")) || (xe == null ? void 0 : xe.some((Fe) => typeof Fe == "string" && (Fe == null ? void 0 : Fe.includes("@InterfaceHide=Yes"))))) && (K.is_show = !1), te.get("object_name")) {
|
|
7396
7396
|
let Fe = te.get("object_name");
|
|
7397
7397
|
Fe = [...Fe, K], te.set(K == null ? void 0 : K.object_name, Fe);
|
|
@@ -7403,9 +7403,9 @@ const Qs = (t, L, d, k) => {
|
|
|
7403
7403
|
tableNames: me ?? []
|
|
7404
7404
|
});
|
|
7405
7405
|
je = (be = je == null ? void 0 : je.data) == null ? void 0 : be.result, je == null || je.forEach((K) => {
|
|
7406
|
-
var xe, Ae,
|
|
7406
|
+
var xe, Ae, Qe;
|
|
7407
7407
|
let ye = (Ae = (xe = K == null ? void 0 : K[0]) == null ? void 0 : xe.结构) == null ? void 0 : Ae.contents;
|
|
7408
|
-
Array.isArray(ye == null ? void 0 : ye[0]) && (ye = Cs(ye == null ? void 0 : ye[0])), ye = ye == null ? void 0 : ye.filter((Fe) => (Fe == null ? void 0 : Fe.prop) !== "sort" && (Fe == null ? void 0 : Fe.prop) !== "relatedId"), de.set((
|
|
7408
|
+
Array.isArray(ye == null ? void 0 : ye[0]) && (ye = Cs(ye == null ? void 0 : ye[0])), ye = ye == null ? void 0 : ye.filter((Fe) => (Fe == null ? void 0 : Fe.prop) !== "sort" && (Fe == null ? void 0 : Fe.prop) !== "relatedId"), de.set((Qe = K == null ? void 0 : K[0]) == null ? void 0 : Qe.source_table, ye);
|
|
7409
7409
|
});
|
|
7410
7410
|
let ie = [];
|
|
7411
7411
|
De == null || De.forEach((K) => {
|
|
@@ -7413,10 +7413,10 @@ const Qs = (t, L, d, k) => {
|
|
|
7413
7413
|
let ye = te.get(K == null ? void 0 : K.key) ?? [];
|
|
7414
7414
|
(ye == null ? void 0 : ye.length) > 0 && ((xe = K.contents) == null || xe.forEach((Ae) => {
|
|
7415
7415
|
var al, rl;
|
|
7416
|
-
let
|
|
7416
|
+
let Qe = ye == null ? void 0 : ye.find((Ze) => {
|
|
7417
7417
|
var _e, e;
|
|
7418
7418
|
return ((e = Ae == null ? void 0 : Ae.name) == null ? void 0 : e[((_e = Ae == null ? void 0 : Ae.name) == null ? void 0 : _e.length) - 1]) === (Ze == null ? void 0 : Ze.property_name);
|
|
7419
|
-
}), Fe = `content_${
|
|
7419
|
+
}), Fe = `content_${Qe == null ? void 0 : Qe.object_id}`, Le = de == null ? void 0 : de.get(`struct_${Qe == null ? void 0 : Qe.object_id}`);
|
|
7420
7420
|
Le = Le == null ? void 0 : Le.map((Ze) => Ze == null ? void 0 : Ze.prop);
|
|
7421
7421
|
let tl = (al = Ae == null ? void 0 : Ae.tableContents) == null ? void 0 : al.map((Ze) => {
|
|
7422
7422
|
let _e = ea(Ze, Le);
|
|
@@ -7478,7 +7478,7 @@ const Qs = (t, L, d, k) => {
|
|
|
7478
7478
|
}, 8, ["windowConfig", "showButton", "platform", "taskContent"]))
|
|
7479
7479
|
]));
|
|
7480
7480
|
}
|
|
7481
|
-
}), ir = /* @__PURE__ */
|
|
7481
|
+
}), ir = /* @__PURE__ */ Ql(or, [["__scopeId", "data-v-399c9499"]]), cr = Jl(fl), { systemUrl: ft } = ol(cr);
|
|
7482
7482
|
let gt = ft.value === "" || !ft.value ? "http://222.92.178.198:63002" : ft.value;
|
|
7483
7483
|
pl(
|
|
7484
7484
|
() => ft.value,
|
|
@@ -7566,7 +7566,7 @@ const vr = (t) => {
|
|
|
7566
7566
|
}
|
|
7567
7567
|
}), L;
|
|
7568
7568
|
}, Va = () => {
|
|
7569
|
-
const { isSuperAdmin: t } = ps(), L = (H) =>
|
|
7569
|
+
const { isSuperAdmin: t } = ps(), L = (H) => gl(H), d = (H) => {
|
|
7570
7570
|
let J = {
|
|
7571
7571
|
name: "",
|
|
7572
7572
|
algorithm: "",
|
|
@@ -7608,7 +7608,7 @@ const vr = (t) => {
|
|
|
7608
7608
|
var h;
|
|
7609
7609
|
const J = await fr(H);
|
|
7610
7610
|
return (h = J == null ? void 0 : J.data) == null ? void 0 : h.result;
|
|
7611
|
-
},
|
|
7611
|
+
}, O = async (H) => await D(H), n = async (H) => {
|
|
7612
7612
|
var h;
|
|
7613
7613
|
const J = await gr(H);
|
|
7614
7614
|
return (h = J == null ? void 0 : J.data) == null ? void 0 : h.result;
|
|
@@ -7621,7 +7621,7 @@ const vr = (t) => {
|
|
|
7621
7621
|
initCreate: f,
|
|
7622
7622
|
initUpdate: ue,
|
|
7623
7623
|
initDelete: C,
|
|
7624
|
-
initExecute:
|
|
7624
|
+
initExecute: O,
|
|
7625
7625
|
initAssignMethodToPlatform: async (H) => await n(H)
|
|
7626
7626
|
};
|
|
7627
7627
|
}, Ar = { class: "method-library" }, wr = { class: "method-list" }, kr = ["onClick", "title"], Mr = { class: "method-name" }, Ir = { class: "operate" }, Sr = { class: "library-right-card" }, _r = { class: "method-operate" }, Tr = { class: "operate-right" }, Er = { class: "method-detail" }, Br = { class: "detail-form-wrapper" }, Dr = { class: "detail-footer" }, Pr = { class: "footer-right" }, Rr = /* @__PURE__ */ Il({
|
|
@@ -7631,8 +7631,8 @@ const vr = (t) => {
|
|
|
7631
7631
|
var K, ye, xe;
|
|
7632
7632
|
f.value = await k();
|
|
7633
7633
|
const de = (K = f.value) == null ? void 0 : K[0], ie = ((xe = (ye = f.value) == null ? void 0 : ye.find) == null ? void 0 : xe.call(ye, (Ae) => {
|
|
7634
|
-
const { id:
|
|
7635
|
-
return
|
|
7634
|
+
const { id: Qe } = Ae;
|
|
7635
|
+
return Qe == me;
|
|
7636
7636
|
})) || de;
|
|
7637
7637
|
Z(ie);
|
|
7638
7638
|
};
|
|
@@ -7642,12 +7642,12 @@ const vr = (t) => {
|
|
|
7642
7642
|
const ue = E(null), Z = (me) => {
|
|
7643
7643
|
var de;
|
|
7644
7644
|
if (me) {
|
|
7645
|
-
const je =
|
|
7645
|
+
const je = gl(me);
|
|
7646
7646
|
ue.value = je;
|
|
7647
7647
|
} else
|
|
7648
7648
|
ue.value = null;
|
|
7649
7649
|
(de = C.value) == null || de.setContent((me == null ? void 0 : me.input) || ""), oe(me);
|
|
7650
|
-
}, C = E(), D = E(),
|
|
7650
|
+
}, C = E(), D = E(), O = Bl({
|
|
7651
7651
|
name: [
|
|
7652
7652
|
{ required: !0, message: "请输入名称", trigger: "blur" }
|
|
7653
7653
|
],
|
|
@@ -7731,29 +7731,29 @@ const vr = (t) => {
|
|
|
7731
7731
|
}
|
|
7732
7732
|
};
|
|
7733
7733
|
return (me, de) => {
|
|
7734
|
-
const je = re("svg-icon"), ie = re("el-card"), K = re("el-button"), ye = re("el-input"), xe = re("el-form-item"), Ae = re("el-col"),
|
|
7734
|
+
const je = re("svg-icon"), ie = re("el-card"), K = re("el-button"), ye = re("el-input"), xe = re("el-form-item"), Ae = re("el-col"), Qe = re("el-row"), Fe = re("el-form");
|
|
7735
7735
|
return _(), ge("div", Ar, [
|
|
7736
7736
|
s(ie, {
|
|
7737
7737
|
class: "library-left-card",
|
|
7738
7738
|
"body-class": "library-left-card-body"
|
|
7739
7739
|
}, {
|
|
7740
7740
|
header: c(() => de[7] || (de[7] = [
|
|
7741
|
-
|
|
7742
|
-
|
|
7741
|
+
Q("div", { class: "method-list-header" }, [
|
|
7742
|
+
Q("div", { class: "title" }, "方法列表")
|
|
7743
7743
|
], -1)
|
|
7744
7744
|
])),
|
|
7745
7745
|
default: c(() => [
|
|
7746
|
-
|
|
7746
|
+
Q("div", wr, [
|
|
7747
7747
|
(_(!0), ge(hl, null, Al(f.value, (Le) => {
|
|
7748
7748
|
var tl;
|
|
7749
7749
|
return _(), ge("div", {
|
|
7750
|
-
class:
|
|
7750
|
+
class: Ol(["method-item", { active: ((tl = ue.value) == null ? void 0 : tl.id) === Le.id }]),
|
|
7751
7751
|
key: Le.id,
|
|
7752
7752
|
onClick: (al) => Z(Le),
|
|
7753
7753
|
title: Le.name
|
|
7754
7754
|
}, [
|
|
7755
|
-
|
|
7756
|
-
|
|
7755
|
+
Q("div", Mr, nl(Le.name), 1),
|
|
7756
|
+
Q("div", Ir, [
|
|
7757
7757
|
s(je, {
|
|
7758
7758
|
class: "delete-icon",
|
|
7759
7759
|
name: "Delete",
|
|
@@ -7767,10 +7767,10 @@ const vr = (t) => {
|
|
|
7767
7767
|
]),
|
|
7768
7768
|
_: 1
|
|
7769
7769
|
}),
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
de[9] || (de[9] =
|
|
7773
|
-
|
|
7770
|
+
Q("div", Sr, [
|
|
7771
|
+
Q("div", _r, [
|
|
7772
|
+
de[9] || (de[9] = Q("div", { class: "operate-left" }, null, -1)),
|
|
7773
|
+
Q("div", Tr, [
|
|
7774
7774
|
s(K, {
|
|
7775
7775
|
type: "primary",
|
|
7776
7776
|
onClick: de[0] || (de[0] = (Le) => Z())
|
|
@@ -7783,17 +7783,17 @@ const vr = (t) => {
|
|
|
7783
7783
|
})
|
|
7784
7784
|
])
|
|
7785
7785
|
]),
|
|
7786
|
-
|
|
7787
|
-
|
|
7786
|
+
Q("div", Er, [
|
|
7787
|
+
Q("div", Br, [
|
|
7788
7788
|
s(Fe, {
|
|
7789
7789
|
ref_key: "detailFormRef",
|
|
7790
7790
|
ref: D,
|
|
7791
7791
|
class: "detail-form",
|
|
7792
7792
|
model: n.value,
|
|
7793
|
-
rules:
|
|
7793
|
+
rules: O
|
|
7794
7794
|
}, {
|
|
7795
7795
|
default: c(() => [
|
|
7796
|
-
s(
|
|
7796
|
+
s(Qe, { gutter: 20 }, {
|
|
7797
7797
|
default: c(() => [
|
|
7798
7798
|
s(Ae, { span: 12 }, {
|
|
7799
7799
|
default: c(() => [
|
|
@@ -7836,7 +7836,7 @@ const vr = (t) => {
|
|
|
7836
7836
|
]),
|
|
7837
7837
|
_: 1
|
|
7838
7838
|
}),
|
|
7839
|
-
s(
|
|
7839
|
+
s(Qe, { gutter: 20 }, {
|
|
7840
7840
|
default: c(() => [
|
|
7841
7841
|
s(Ae, { span: 12 }, {
|
|
7842
7842
|
default: c(() => [
|
|
@@ -7879,7 +7879,7 @@ const vr = (t) => {
|
|
|
7879
7879
|
]),
|
|
7880
7880
|
_: 1
|
|
7881
7881
|
}),
|
|
7882
|
-
s(
|
|
7882
|
+
s(Qe, { gutter: 20 }, {
|
|
7883
7883
|
default: c(() => [
|
|
7884
7884
|
s(Ae, { span: 24 }, {
|
|
7885
7885
|
default: c(() => [
|
|
@@ -7903,7 +7903,7 @@ const vr = (t) => {
|
|
|
7903
7903
|
]),
|
|
7904
7904
|
_: 1
|
|
7905
7905
|
}),
|
|
7906
|
-
s(
|
|
7906
|
+
s(Qe, { gutter: 20 }, {
|
|
7907
7907
|
default: c(() => [
|
|
7908
7908
|
s(Ae, { span: 24 }, {
|
|
7909
7909
|
default: c(() => [
|
|
@@ -7934,9 +7934,9 @@ const vr = (t) => {
|
|
|
7934
7934
|
_: 1
|
|
7935
7935
|
}, 8, ["model", "rules"])
|
|
7936
7936
|
]),
|
|
7937
|
-
|
|
7938
|
-
de[12] || (de[12] =
|
|
7939
|
-
|
|
7937
|
+
Q("div", Dr, [
|
|
7938
|
+
de[12] || (de[12] = Q("div", { class: "footer-left" }, null, -1)),
|
|
7939
|
+
Q("div", Pr, [
|
|
7940
7940
|
s(K, {
|
|
7941
7941
|
type: "primary",
|
|
7942
7942
|
onClick: h
|
|
@@ -7991,9 +7991,9 @@ const vr = (t) => {
|
|
|
7991
7991
|
}, {
|
|
7992
7992
|
header: c(() => le[1] || (le[1] = [])),
|
|
7993
7993
|
default: c(() => [
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7994
|
+
Q("div", xr, [
|
|
7995
|
+
Q("div", jr, [
|
|
7996
|
+
Q("div", Ur, [
|
|
7997
7997
|
s(f, {
|
|
7998
7998
|
name: "back-0",
|
|
7999
7999
|
onClick: W
|
|
@@ -8008,7 +8008,7 @@ const vr = (t) => {
|
|
|
8008
8008
|
}, 8, ["modelValue"]);
|
|
8009
8009
|
};
|
|
8010
8010
|
}
|
|
8011
|
-
}),
|
|
8011
|
+
}), Or = { class: "method-allocation" }, Qr = /* @__PURE__ */ Il({
|
|
8012
8012
|
__name: "index",
|
|
8013
8013
|
props: {
|
|
8014
8014
|
platId: {}
|
|
@@ -8019,24 +8019,24 @@ const vr = (t) => {
|
|
|
8019
8019
|
G.value = D;
|
|
8020
8020
|
}, y = async () => {
|
|
8021
8021
|
const D = await W(d.platId);
|
|
8022
|
-
S.value = D, le.value = D.map((
|
|
8022
|
+
S.value = D, le.value = D.map((O) => O.algorithm_id);
|
|
8023
8023
|
}, ue = async () => {
|
|
8024
8024
|
await f(), await y();
|
|
8025
8025
|
};
|
|
8026
8026
|
Kl(async () => {
|
|
8027
8027
|
await ue();
|
|
8028
8028
|
});
|
|
8029
|
-
const Z = (D,
|
|
8030
|
-
const { name: n } =
|
|
8029
|
+
const Z = (D, O) => {
|
|
8030
|
+
const { name: n } = O;
|
|
8031
8031
|
return n.includes(D);
|
|
8032
8032
|
};
|
|
8033
|
-
return L({ init: ue, getAssignedMethodIds: () => le.value }), (D,
|
|
8033
|
+
return L({ init: ue, getAssignedMethodIds: () => le.value }), (D, O) => {
|
|
8034
8034
|
const n = re("el-transfer");
|
|
8035
|
-
return _(), ge("div",
|
|
8035
|
+
return _(), ge("div", Or, [
|
|
8036
8036
|
s(n, {
|
|
8037
8037
|
class: "method-transfer",
|
|
8038
8038
|
modelValue: le.value,
|
|
8039
|
-
"onUpdate:modelValue":
|
|
8039
|
+
"onUpdate:modelValue": O[0] || (O[0] = (oe) => le.value = oe),
|
|
8040
8040
|
filterable: "",
|
|
8041
8041
|
"filter-method": Z,
|
|
8042
8042
|
"filter-placeholder": "请输入方法名称",
|
|
@@ -8051,13 +8051,13 @@ const vr = (t) => {
|
|
|
8051
8051
|
]);
|
|
8052
8052
|
};
|
|
8053
8053
|
}
|
|
8054
|
-
}), Vr = /* @__PURE__ */
|
|
8054
|
+
}), Vr = /* @__PURE__ */ Ql(Qr, [["__scopeId", "data-v-c9598bd7"]]), Nr = { class: "body-wrapper" }, Kr = { class: "allocation-footer" }, qr = { class: "footer-right" }, Yr = /* @__PURE__ */ Il({
|
|
8055
8055
|
__name: "index",
|
|
8056
8056
|
props: {
|
|
8057
8057
|
modelInfo: {}
|
|
8058
8058
|
},
|
|
8059
8059
|
setup(t, { expose: L }) {
|
|
8060
|
-
const d = t, k =
|
|
8060
|
+
const d = t, k = vl(() => {
|
|
8061
8061
|
var C;
|
|
8062
8062
|
return (C = d.modelInfo) == null ? void 0 : C.plat_id;
|
|
8063
8063
|
}), { initAssignMethodToPlatform: W } = Va(), G = E(), S = E(!1), le = () => {
|
|
@@ -8067,8 +8067,8 @@ const vr = (t) => {
|
|
|
8067
8067
|
}, y = () => {
|
|
8068
8068
|
f();
|
|
8069
8069
|
}, ue = async () => {
|
|
8070
|
-
var
|
|
8071
|
-
const C = ((
|
|
8070
|
+
var O;
|
|
8071
|
+
const C = ((O = G.value) == null ? void 0 : O.getAssignedMethodIds()) || [], D = {
|
|
8072
8072
|
platId: k.value,
|
|
8073
8073
|
algorithmIds: C
|
|
8074
8074
|
};
|
|
@@ -8087,8 +8087,8 @@ const vr = (t) => {
|
|
|
8087
8087
|
openDialog: le,
|
|
8088
8088
|
handleClose: y
|
|
8089
8089
|
}), (C, D) => {
|
|
8090
|
-
const
|
|
8091
|
-
return _(), Re(
|
|
8090
|
+
const O = re("el-dialog");
|
|
8091
|
+
return _(), Re(O, {
|
|
8092
8092
|
class: "method-allocation-dialog",
|
|
8093
8093
|
modelValue: S.value,
|
|
8094
8094
|
"onUpdate:modelValue": D[0] || (D[0] = (n) => S.value = n),
|
|
@@ -8100,10 +8100,10 @@ const vr = (t) => {
|
|
|
8100
8100
|
modalClass: "allocation-modal"
|
|
8101
8101
|
}, {
|
|
8102
8102
|
header: c(() => D[1] || (D[1] = [
|
|
8103
|
-
|
|
8103
|
+
Q("div", null, "方法分配", -1)
|
|
8104
8104
|
])),
|
|
8105
8105
|
default: c(() => [
|
|
8106
|
-
|
|
8106
|
+
Q("div", Nr, [
|
|
8107
8107
|
s(Vr, {
|
|
8108
8108
|
ref_key: "methodAllocationRef",
|
|
8109
8109
|
ref: G,
|
|
@@ -8112,9 +8112,9 @@ const vr = (t) => {
|
|
|
8112
8112
|
])
|
|
8113
8113
|
]),
|
|
8114
8114
|
footer: c(() => [
|
|
8115
|
-
|
|
8116
|
-
D[2] || (D[2] =
|
|
8117
|
-
|
|
8115
|
+
Q("div", Kr, [
|
|
8116
|
+
D[2] || (D[2] = Q("div", { class: "footer-left" }, null, -1)),
|
|
8117
|
+
Q("div", qr, [
|
|
8118
8118
|
s(st, {
|
|
8119
8119
|
class: "cancel",
|
|
8120
8120
|
emptyColor: !0,
|
|
@@ -8161,7 +8161,7 @@ const vr = (t) => {
|
|
|
8161
8161
|
initCreate: Z,
|
|
8162
8162
|
initUpdate: C,
|
|
8163
8163
|
initSetDefaultModel: D,
|
|
8164
|
-
initUpload:
|
|
8164
|
+
initUpload: O,
|
|
8165
8165
|
isSuperAdmin: n
|
|
8166
8166
|
} = ha(), oe = Jl(), { loginUserInfo: H } = ol(oe);
|
|
8167
8167
|
E(), E(), E(400);
|
|
@@ -8170,7 +8170,7 @@ const vr = (t) => {
|
|
|
8170
8170
|
}, B = () => {
|
|
8171
8171
|
J.value = !1, l.show = !1;
|
|
8172
8172
|
}, X = E();
|
|
8173
|
-
|
|
8173
|
+
vl(() => {
|
|
8174
8174
|
if (!X.value)
|
|
8175
8175
|
return [];
|
|
8176
8176
|
const { myModelList: A = [], otherList: ee = [] } = X.value;
|
|
@@ -8225,11 +8225,11 @@ const vr = (t) => {
|
|
|
8225
8225
|
A.close();
|
|
8226
8226
|
}, 2e3);
|
|
8227
8227
|
}
|
|
8228
|
-
}, Ae = E(!1),
|
|
8228
|
+
}, Ae = E(!1), Qe = (A) => {
|
|
8229
8229
|
const ee = A == null ? void 0 : A.type;
|
|
8230
8230
|
return ee === "image/jpeg" || ee === "image/png" || ee === "image/gif" || ee === "image/webp";
|
|
8231
8231
|
}, Fe = async (A) => {
|
|
8232
|
-
const ee = A.file, ve = await
|
|
8232
|
+
const ee = A.file, ve = await O({ file: ee });
|
|
8233
8233
|
ve && (fe.value.logo = ve);
|
|
8234
8234
|
}, Le = async () => {
|
|
8235
8235
|
await Z(fe.value);
|
|
@@ -8262,14 +8262,14 @@ const vr = (t) => {
|
|
|
8262
8262
|
cancelButtonClass: "delete-model-cancel",
|
|
8263
8263
|
confirmButtonClass: "delete-model-confirm"
|
|
8264
8264
|
}).then(async () => {
|
|
8265
|
-
var
|
|
8265
|
+
var Oe;
|
|
8266
8266
|
k.setImportLoading(!0);
|
|
8267
8267
|
const he = {
|
|
8268
8268
|
// userName: loginUserInfo.value?.userName,
|
|
8269
8269
|
// password: loginUserInfo.value?.password,
|
|
8270
8270
|
platId: A == null ? void 0 : A.plat_id
|
|
8271
|
-
}, Xe = await Promise.all([
|
|
8272
|
-
platId: parseInt((
|
|
8271
|
+
}, Xe = await Promise.all([On(he), fs({
|
|
8272
|
+
platId: parseInt((Oe = H == null ? void 0 : H.value) == null ? void 0 : Oe.plat_id)
|
|
8273
8273
|
})]);
|
|
8274
8274
|
Be = Xe == null ? void 0 : Xe.every((We) => {
|
|
8275
8275
|
var v;
|
|
@@ -8478,13 +8478,13 @@ const vr = (t) => {
|
|
|
8478
8478
|
businessTypesKey: Xe = "businessTypes"
|
|
8479
8479
|
// 业务类型字段
|
|
8480
8480
|
} = ee;
|
|
8481
|
-
return Array.isArray(A) ? A == null ? void 0 : A.map((
|
|
8481
|
+
return Array.isArray(A) ? A == null ? void 0 : A.map((Oe) => {
|
|
8482
8482
|
const We = {
|
|
8483
|
-
[ve]:
|
|
8484
|
-
value:
|
|
8485
|
-
isPlat: !!(
|
|
8483
|
+
[ve]: Oe[ve] || Oe[he] || "管理系统",
|
|
8484
|
+
value: Oe[ve] || Oe[he] || "管理系统",
|
|
8485
|
+
isPlat: !!(Oe != null && Oe.platType)
|
|
8486
8486
|
};
|
|
8487
|
-
return
|
|
8487
|
+
return Oe[Xe] && Array.isArray(Oe[Xe]) && (We[Be] = Oe[Xe].map((v) => ({
|
|
8488
8488
|
[ve]: v[ve] || v.businessType || "",
|
|
8489
8489
|
value: v[ve] || v.businessType || "",
|
|
8490
8490
|
isPlat: !!(v != null && v.platType)
|
|
@@ -8505,16 +8505,16 @@ const vr = (t) => {
|
|
|
8505
8505
|
};
|
|
8506
8506
|
E({});
|
|
8507
8507
|
const ml = async (A) => {
|
|
8508
|
-
var ve, Be, he, Xe,
|
|
8508
|
+
var ve, Be, he, Xe, Oe;
|
|
8509
8509
|
let ee;
|
|
8510
8510
|
try {
|
|
8511
8511
|
if (!((ve = H == null ? void 0 : H.value) != null && ve.user_id)) return;
|
|
8512
|
-
const We = (A == null ? void 0 : A.value) === "管理系统" ? "" : A == null ? void 0 : A.value, v = await
|
|
8512
|
+
const We = (A == null ? void 0 : A.value) === "管理系统" ? "" : A == null ? void 0 : A.value, v = await Qn({
|
|
8513
8513
|
userId: (Be = H == null ? void 0 : H.value) == null ? void 0 : Be.user_id,
|
|
8514
8514
|
platType: A != null && A.isPlat ? We : "",
|
|
8515
8515
|
businessType: A != null && A.isPlat ? "" : We
|
|
8516
8516
|
});
|
|
8517
|
-
((he = v == null ? void 0 : v.data) == null ? void 0 : he.code) === 200 && (ke.value = (Xe = v == null ? void 0 : v.data) == null ? void 0 : Xe.result, ee = (
|
|
8517
|
+
((he = v == null ? void 0 : v.data) == null ? void 0 : he.code) === 200 && (ke.value = (Xe = v == null ? void 0 : v.data) == null ? void 0 : Xe.result, ee = (Oe = v == null ? void 0 : v.data) == null ? void 0 : Oe.result);
|
|
8518
8518
|
} catch (We) {
|
|
8519
8519
|
throw We;
|
|
8520
8520
|
} finally {
|
|
@@ -8533,7 +8533,7 @@ const vr = (t) => {
|
|
|
8533
8533
|
(A = a.value) == null || A.openDialog();
|
|
8534
8534
|
};
|
|
8535
8535
|
return L({ openDialog: h }), (A, ee) => {
|
|
8536
|
-
const ve = re("svg-icon"), Be = re("el-tree"), he = re("el-card"), Xe = re("el-input"),
|
|
8536
|
+
const ve = re("svg-icon"), Be = re("el-tree"), he = re("el-card"), Xe = re("el-input"), Oe = re("el-button"), We = re("el-table-column"), v = re("el-icon"), z = re("el-image"), $ = re("el-tag"), se = re("el-link"), Ce = re("el-table"), V = re("el-dialog"), b = re("el-cascader"), r = re("el-form-item"), T = re("el-col"), I = re("el-row"), j = re("el-upload"), U = re("el-form");
|
|
8537
8537
|
return _(), ge(hl, null, [
|
|
8538
8538
|
s(V, {
|
|
8539
8539
|
class: "model-management-dialog",
|
|
@@ -8549,19 +8549,19 @@ const vr = (t) => {
|
|
|
8549
8549
|
style: { "background-color": "#f3f3f3" }
|
|
8550
8550
|
}, {
|
|
8551
8551
|
default: c(() => [
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8552
|
+
Q("div", Wr, [
|
|
8553
|
+
Q("div", Hr, [
|
|
8554
|
+
Q("div", Jr, [
|
|
8555
8555
|
s(ve, {
|
|
8556
8556
|
name: "back-0",
|
|
8557
8557
|
onClick: B
|
|
8558
8558
|
})
|
|
8559
8559
|
])
|
|
8560
8560
|
]),
|
|
8561
|
-
|
|
8561
|
+
Q("div", Gr, [
|
|
8562
8562
|
s(he, null, {
|
|
8563
8563
|
header: c(() => ee[8] || (ee[8] = [
|
|
8564
|
-
|
|
8564
|
+
Q("span", null, "模型分类", -1)
|
|
8565
8565
|
])),
|
|
8566
8566
|
default: c(() => [
|
|
8567
8567
|
s(Be, {
|
|
@@ -8574,7 +8574,7 @@ const vr = (t) => {
|
|
|
8574
8574
|
onNodeClick: Ml
|
|
8575
8575
|
}, {
|
|
8576
8576
|
default: c(({ node: p, data: ae }) => [
|
|
8577
|
-
|
|
8577
|
+
Q("span", {
|
|
8578
8578
|
class: "node-label-wrapper",
|
|
8579
8579
|
title: p.label
|
|
8580
8580
|
}, nl(p.label), 9, Fr)
|
|
@@ -8584,10 +8584,10 @@ const vr = (t) => {
|
|
|
8584
8584
|
]),
|
|
8585
8585
|
_: 1
|
|
8586
8586
|
}),
|
|
8587
|
-
|
|
8587
|
+
Q("div", Xr, [
|
|
8588
8588
|
s(he, null, {
|
|
8589
8589
|
default: c(() => [
|
|
8590
|
-
|
|
8590
|
+
Q("div", zr, [
|
|
8591
8591
|
s(Xe, {
|
|
8592
8592
|
style: { width: "20%" },
|
|
8593
8593
|
modelValue: ne.value,
|
|
@@ -8595,8 +8595,8 @@ const vr = (t) => {
|
|
|
8595
8595
|
placeholder: "搜索",
|
|
8596
8596
|
"prefix-icon": u(nn)
|
|
8597
8597
|
}, null, 8, ["modelValue", "prefix-icon"]),
|
|
8598
|
-
|
|
8599
|
-
s(
|
|
8598
|
+
Q("div", Zr, [
|
|
8599
|
+
s(Oe, {
|
|
8600
8600
|
type: "primary",
|
|
8601
8601
|
onClick: R
|
|
8602
8602
|
}, {
|
|
@@ -8606,7 +8606,7 @@ const vr = (t) => {
|
|
|
8606
8606
|
_: 1,
|
|
8607
8607
|
__: [9]
|
|
8608
8608
|
}),
|
|
8609
|
-
s(
|
|
8609
|
+
s(Oe, {
|
|
8610
8610
|
type: "primary",
|
|
8611
8611
|
onClick: ee[1] || (ee[1] = (p) => K())
|
|
8612
8612
|
}, {
|
|
@@ -8703,7 +8703,7 @@ const vr = (t) => {
|
|
|
8703
8703
|
il(nl(ae == null ? void 0 : ae.label), 1)
|
|
8704
8704
|
]),
|
|
8705
8705
|
_: 2
|
|
8706
|
-
}, 1032, ["type", "onClick"])) : (ae == null ? void 0 : ae.value) === "set-default" && ((pe = p == null ? void 0 : p.row) == null ? void 0 : pe.state) === "default" ? Ne("", !0) : (_(), Re(
|
|
8706
|
+
}, 1032, ["type", "onClick"])) : (ae == null ? void 0 : ae.value) === "set-default" && ((pe = p == null ? void 0 : p.row) == null ? void 0 : pe.state) === "default" ? Ne("", !0) : (_(), Re(Oe, {
|
|
8707
8707
|
key: 1,
|
|
8708
8708
|
style: { padding: "0", margin: "0 8px 0 0", "font-size": "14px" },
|
|
8709
8709
|
text: "",
|
|
@@ -8745,13 +8745,13 @@ const vr = (t) => {
|
|
|
8745
8745
|
appendToBody: !1
|
|
8746
8746
|
}, {
|
|
8747
8747
|
default: c(() => [
|
|
8748
|
-
|
|
8749
|
-
ee[11] || (ee[11] =
|
|
8750
|
-
|
|
8751
|
-
|
|
8748
|
+
Q("div", $r, [
|
|
8749
|
+
ee[11] || (ee[11] = Q("div", { class: "model-management-header" }, [
|
|
8750
|
+
Q("div", { class: "header-left" }),
|
|
8751
|
+
Q("div", { class: "header-right" })
|
|
8752
8752
|
], -1)),
|
|
8753
|
-
|
|
8754
|
-
|
|
8753
|
+
Q("div", eu, [
|
|
8754
|
+
Q("div", lu, [
|
|
8755
8755
|
s(U, {
|
|
8756
8756
|
ref_key: "modelFormRef",
|
|
8757
8757
|
ref: De,
|
|
@@ -8889,12 +8889,12 @@ const vr = (t) => {
|
|
|
8889
8889
|
action: "#",
|
|
8890
8890
|
"show-file-list": !1,
|
|
8891
8891
|
"http-request": Fe,
|
|
8892
|
-
"before-upload":
|
|
8892
|
+
"before-upload": Qe
|
|
8893
8893
|
}, {
|
|
8894
8894
|
default: c(() => [
|
|
8895
|
-
|
|
8895
|
+
Q("div", tu, [
|
|
8896
8896
|
fe.value.logo ? (_(), ge("div", au, [
|
|
8897
|
-
|
|
8897
|
+
Q("img", {
|
|
8898
8898
|
class: "logo",
|
|
8899
8899
|
src: fe.value.logo
|
|
8900
8900
|
}, null, 8, su)
|
|
@@ -8928,9 +8928,9 @@ const vr = (t) => {
|
|
|
8928
8928
|
])
|
|
8929
8929
|
]),
|
|
8930
8930
|
footer: c(() => [
|
|
8931
|
-
|
|
8932
|
-
ee[12] || (ee[12] =
|
|
8933
|
-
|
|
8931
|
+
Q("div", nu, [
|
|
8932
|
+
ee[12] || (ee[12] = Q("div", { class: "footer-left" }, null, -1)),
|
|
8933
|
+
Q("div", ou, [
|
|
8934
8934
|
s(st, {
|
|
8935
8935
|
class: "cancel",
|
|
8936
8936
|
emptyColor: !0,
|
|
@@ -9005,7 +9005,7 @@ const vr = (t) => {
|
|
|
9005
9005
|
},
|
|
9006
9006
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData", "clearLogin"],
|
|
9007
9007
|
setup(t, { emit: L }) {
|
|
9008
|
-
const d = t, k = L, W = E([]), G = E(0), S = E([]), le = E([]), f = E(0), y = $l(fl), ue = xl(fl), { originalData: Z } = ol(y), { platform: C } = ol(ue), D = E(null),
|
|
9008
|
+
const d = t, k = L, W = E([]), G = E(0), S = E([]), le = E([]), f = E(0), y = $l(fl), ue = xl(fl), { originalData: Z } = ol(y), { platform: C } = ol(ue), D = E(null), O = E(0), n = E([]), oe = E(0), H = E([]), J = Jl(), { loginUserInfo: h, systemKey: B } = ol(J), X = St(fl), { isSuperAdmin: be } = ps(), {
|
|
9009
9009
|
initModelList: o,
|
|
9010
9010
|
getPreviousModel: g,
|
|
9011
9011
|
initModelInfo: De
|
|
@@ -9065,7 +9065,7 @@ const vr = (t) => {
|
|
|
9065
9065
|
k("contentChange", _e);
|
|
9066
9066
|
}, xe = (_e) => {
|
|
9067
9067
|
var i;
|
|
9068
|
-
const e = (i =
|
|
9068
|
+
const e = (i = gl(_e == null ? void 0 : _e.wholeValue)) == null ? void 0 : i.map((l) => {
|
|
9069
9069
|
var M;
|
|
9070
9070
|
return (l == null ? void 0 : l.comp) === "Form" && (l.compData = (M = l.compData) == null ? void 0 : M.map((x) => ((x == null ? void 0 : x.key) === "formContent" && (x.contents = Vs(x == null ? void 0 : x.contents)), x))), l;
|
|
9071
9071
|
});
|
|
@@ -9085,7 +9085,7 @@ const vr = (t) => {
|
|
|
9085
9085
|
);
|
|
9086
9086
|
const Ae = () => {
|
|
9087
9087
|
D.value !== null && D.value.click();
|
|
9088
|
-
},
|
|
9088
|
+
}, Qe = async (_e) => {
|
|
9089
9089
|
ue.setActiveMenuPath(""), ue.setActiveTopMenuPath(""), ue.setAsideMenus([]);
|
|
9090
9090
|
const e = _e.target.files;
|
|
9091
9091
|
if (!e) return;
|
|
@@ -9094,7 +9094,7 @@ const vr = (t) => {
|
|
|
9094
9094
|
const x = new FileReader();
|
|
9095
9095
|
x.onload = (P) => {
|
|
9096
9096
|
try {
|
|
9097
|
-
S.value.push(P.target.result),
|
|
9097
|
+
S.value.push(P.target.result), O.value++;
|
|
9098
9098
|
} catch (ce) {
|
|
9099
9099
|
console.error("解析失败:", ce);
|
|
9100
9100
|
return;
|
|
@@ -9110,7 +9110,7 @@ const vr = (t) => {
|
|
|
9110
9110
|
},
|
|
9111
9111
|
{ deep: !0, immediate: !0 }
|
|
9112
9112
|
), pl(
|
|
9113
|
-
() =>
|
|
9113
|
+
() => O.value,
|
|
9114
9114
|
() => {
|
|
9115
9115
|
var _e;
|
|
9116
9116
|
((_e = n.value) == null ? void 0 : _e.length) !== 0 && (y.setOriginalData(n.value), y.setItemData(n.value));
|
|
@@ -9201,7 +9201,7 @@ const vr = (t) => {
|
|
|
9201
9201
|
const i = re("svg-icon"), l = re("el-button"), M = re("el-dialog");
|
|
9202
9202
|
return _(), ge("div", cu, [
|
|
9203
9203
|
(d == null ? void 0 : d.mode) === "edit" ? (_(), ge("div", ru, [
|
|
9204
|
-
|
|
9204
|
+
Q("div", uu, [
|
|
9205
9205
|
s(Ea)
|
|
9206
9206
|
]),
|
|
9207
9207
|
(_(), ge("div", {
|
|
@@ -9210,7 +9210,7 @@ const vr = (t) => {
|
|
|
9210
9210
|
}, [
|
|
9211
9211
|
s(Ba)
|
|
9212
9212
|
])),
|
|
9213
|
-
|
|
9213
|
+
Q("div", du, [
|
|
9214
9214
|
s(Da)
|
|
9215
9215
|
])
|
|
9216
9216
|
])) : Ne("", !0),
|
|
@@ -9249,7 +9249,7 @@ const vr = (t) => {
|
|
|
9249
9249
|
];
|
|
9250
9250
|
}),
|
|
9251
9251
|
dropMenu: c(() => [
|
|
9252
|
-
|
|
9252
|
+
Q("div", fu, [
|
|
9253
9253
|
s(l, {
|
|
9254
9254
|
onClick: Fe,
|
|
9255
9255
|
style: { width: "100%", margin: "0" }
|
|
@@ -9277,7 +9277,7 @@ const vr = (t) => {
|
|
|
9277
9277
|
ref_key: "fileInput",
|
|
9278
9278
|
ref: D,
|
|
9279
9279
|
accept: ".txt, .ilm, .ild",
|
|
9280
|
-
onChange:
|
|
9280
|
+
onChange: Qe,
|
|
9281
9281
|
style: { display: "none" },
|
|
9282
9282
|
multiple: ""
|
|
9283
9283
|
}, null, 32)),
|
|
@@ -9335,7 +9335,7 @@ const vr = (t) => {
|
|
|
9335
9335
|
"append-to-body": ""
|
|
9336
9336
|
}, {
|
|
9337
9337
|
default: c(() => [
|
|
9338
|
-
|
|
9338
|
+
Q("div", hu, [
|
|
9339
9339
|
s(l, {
|
|
9340
9340
|
type: "primary",
|
|
9341
9341
|
onClick: tl
|
|
@@ -9370,7 +9370,7 @@ const vr = (t) => {
|
|
|
9370
9370
|
]);
|
|
9371
9371
|
};
|
|
9372
9372
|
}
|
|
9373
|
-
}), Gu = /* @__PURE__ */
|
|
9373
|
+
}), Gu = /* @__PURE__ */ Ql(gu, [["__scopeId", "data-v-bd32dc50"]]);
|
|
9374
9374
|
export {
|
|
9375
9375
|
Gu as default
|
|
9376
9376
|
};
|