ss-component-new 1.3.604 → 1.3.606

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.
Files changed (72) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/{MTLLoader-IoORm7Xy.js → MTLLoader-BL2uYkTJ.js} +2 -2
  3. package/dist/{OrbitControls-DjKxlySM.js → OrbitControls-Zyj23qrC.js} +1 -1
  4. package/dist/{URDFLoader-5h_AgL9v.js → URDFLoader-CRx5L75v.js} +584 -589
  5. package/dist/{animationData-DCvSnnkl.js → animationData-CJQE6_nu.js} +3 -3
  6. package/dist/{array-Bn8J1Ybt.js → array-BkavaXXQ.js} +14 -13
  7. package/dist/{clone-MyfSNInd.js → clone-ESeDvnJv.js} +1 -1
  8. package/dist/{eleIcon-BoKZ_PzU.js → eleIcon-C7Pz9jha.js} +2 -2
  9. package/dist/{iconfont-C1vgOyVl.js → iconfont-BnmSp7qc.js} +4 -4
  10. package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
  11. package/dist/{index-BvtOLltL.js → index-B0M1YCUY.js} +7 -7
  12. package/dist/{index-CnVTTuJX.js → index-B4-GD2HP.js} +3 -3
  13. package/dist/{index-DfDUkCbN.js → index-BA1kJZth.js} +40 -36
  14. package/dist/{index-CT1LWsrT.js → index-BBBCr4Oo.js} +2 -2
  15. package/dist/{index-DGuZ5wp-.js → index-BG89B83e.js} +157 -148
  16. package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
  17. package/dist/{index-CcNofqvR.js → index-BOqo9XDw.js} +6 -6
  18. package/dist/{index-DcPtyCDm.js → index-BUqviBFi.js} +35 -29
  19. package/dist/{index-B2LYEScO.js → index-BXh02EAd.js} +4 -4
  20. package/dist/{index-CkO7j_i1.js → index-B_fRppeJ.js} +8 -8
  21. package/dist/{index-DO2hRjRp.js → index-Bdlw5PXG.js} +5 -5
  22. package/dist/{index-6qXeMn6b.js → index-BvkIoiVW.js} +3 -3
  23. package/dist/{index-D33gkv3n.js → index-C31Pm35-.js} +608 -573
  24. package/dist/{index-DIVct0z6.js → index-C3pboX9W.js} +5 -5
  25. package/dist/{index-CahXu506.js → index-C5QKOpfx.js} +8568 -9008
  26. package/dist/{index-CHITXBP8.js → index-CC5AxngM.js} +4 -4
  27. package/dist/{index-BkkvdZXm.js → index-CPW7tdrA.js} +20 -17
  28. package/dist/{index-BooTxrf0.js → index-CTicGWoS.js} +3 -3
  29. package/dist/{index-BybrpYzx.js → index-CX8Apbo7.js} +1 -1
  30. package/dist/{index-BEIX2w-s.js → index-ClbVbnpS.js} +20 -18
  31. package/dist/{index-DmILGKv9.js → index-D1E8EPxn.js} +61 -57
  32. package/dist/{index-B8NQAdR4.js → index-D8UY4uNQ.js} +967 -966
  33. package/dist/{index-CYjsE5Gs.js → index-D9xMYIes.js} +3 -3
  34. package/dist/{index-D9UIlesH.js → index-DADd4cmS.js} +15864 -15831
  35. package/dist/{index-M7J_qxQw.js → index-DIC1IjU6.js} +62 -60
  36. package/dist/{index-CymdCuJN.js → index-DkumSU1-.js} +4 -4
  37. package/dist/{index-CvZcm-Tt.js → index-DlQXFCw8.js} +8 -7
  38. package/dist/{index-BvyM6d06.js → index-DsdWSuDi.js} +483 -482
  39. package/dist/{index-DYGcFilp.js → index-UC3celFR.js} +8 -8
  40. package/dist/{index-DCY5J8nu.js → index-XvX6TMzr.js} +1 -1
  41. package/dist/{index-B4NcYIuS.js → index-YvUJL9Us.js} +1 -1
  42. package/dist/index-iD7cVTqr.js +572 -0
  43. package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
  44. package/dist/{index-CM6aWexA.js → index-tMqKF2l6.js} +2 -2
  45. package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
  46. package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js} +27735 -27760
  47. package/dist/isString-BlNsHiyU.js +8 -0
  48. package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
  49. package/dist/{main-1mbUGlWA.js → main-CmzE3HuC.js} +9 -9
  50. package/dist/{menuIndex-BiUB7t5q.js → menuIndex-DAW9B-9g.js} +1 -1
  51. package/dist/obj/model.mtl +42 -0
  52. package/dist/obj/model.obj +26110 -0
  53. package/dist/{request-BfrhYBTM.js → request-B1c8BUkR.js} +3075 -3493
  54. package/dist/ss-component.css +3 -3
  55. package/dist/ss-component.js +14 -14
  56. package/dist/ss-component2.js +13 -13
  57. package/dist/ss-component3.js +1 -1
  58. package/dist/svgIcon-4u4PW7Is.js +42 -0
  59. package/dist/{threeModel-BpG-AcGZ.js → threeModel-DDlWUHsN.js} +174 -174
  60. package/dist/{threePreview-CwE8MXTl.js → threePreview-CVO6XMIe.js} +13 -13
  61. package/dist/{threeSceneView-DGvDz7Lr.js → threeSceneView-BQXSPHMu.js} +25 -24
  62. package/dist/{threeSceneViewForCPMPIP-CalaPv9B.js → threeSceneViewForCPMPIP-BYUnvSDz.js} +18 -17
  63. package/dist/{threeTrackPathView-6-V10AFb.js → threeTrackPathView-7_x3jeap.js} +8 -8
  64. package/dist/{threeViewerHost-BsUgakNM.js → threeViewerHost-DTWrmIQy.js} +4 -4
  65. package/dist/{urdfTree-PYe9AY5_.js → urdfTree-D0Iom75E.js} +9 -9
  66. package/dist/{workpieceTreePanel-D5mGwMQx.js → workpieceTreePanel-DEEMKY1v.js} +60 -56
  67. package/package.json +1 -1
  68. package/public/obj/model.mtl +42 -0
  69. package/public/obj/model.obj +26110 -0
  70. package/dist/index-o5SO709_.js +0 -2623
  71. package/dist/isString-Dxm3W5iX.js +0 -8
  72. package/dist/svgIcon-4m2zaZkj.js +0 -42
@@ -1,33 +1,34 @@
1
- import { computed as kl, defineComponent as Bl, defineProps as Kt, ref as B, watch as vl, onMounted as Hl, onUnmounted as it, resolveComponent as le, openBlock as f, createBlock as fe, withCtx as o, createElementVNode as V, toDisplayString as ol, createElementBlock as $, Fragment as tl, renderList as ul, normalizeStyle as Pl, createCommentVNode as je, createVNode as s, unref as n, resolveDynamicComponent as ia, provide as lt, shallowRef as vs, resolveDirective as rt, withDirectives as Yl, vShow as ha, createTextVNode as cl, renderSlot as Wl, normalizeClass as Nl, createSlots as wt, mergeProps as xn, withModifiers as Ul, defineAsyncComponent as yn, reactive as xl, nextTick as Fl, withKeys as hs } from "vue";
2
- import { m as qt, a as Wt, b as Ht, c as gs } from "./array-Bn8J1Ybt.js";
3
- import { u as jl, p as bl, s as yl, c as Al, a as la, b as Xl, j as Ra, d as kt, l as ys, k as Ca, e as Ea, m as bs, E as ma, n as Pt, o as at, v as tt, q as Vn, r as Cs, t as Un, i as ms, w as At, x as ca, y as bn, z as ws, A as jn, B as ks, C as As, D as On, F as Cn, G as Is, H as Ms } from "./index-B8NQAdR4.js";
4
- import { _ as ct, s as Yt, a as Ss } from "./index-M7J_qxQw.js";
1
+ import { computed as kl, defineComponent as Bl, defineProps as Kt, ref as B, watch as vl, onMounted as Hl, onUnmounted as it, resolveComponent as le, createBlock as fe, openBlock as f, withCtx as o, createElementVNode as V, toDisplayString as ol, createElementBlock as $, Fragment as tl, renderList as ul, createCommentVNode as je, normalizeStyle as Pl, createVNode as s, unref as n, resolveDynamicComponent as ia, provide as lt, shallowRef as vs, resolveDirective as rt, withDirectives as Yl, vShow as ha, createTextVNode as cl, renderSlot as Wl, normalizeClass as Nl, createSlots as wt, mergeProps as xn, withModifiers as Ul, defineAsyncComponent as yn, reactive as xl, nextTick as Fl, withKeys as hs } from "vue";
2
+ import { m as qt, a as Wt, b as Ht, c as gs } from "./array-BkavaXXQ.js";
3
+ import { u as jl, p as bl, s as yl, c as Al, a as la, b as Xl, j as Ra, d as kt, l as ys, k as Ca, e as Ea, m as bs, E as ma, n as Pt, o as at, v as tt, q as Vn, r as Cs, t as Un, i as ms, w as At, x as ca, y as bn, z as ws, A as jn, B as ks, C as As, D as On, F as Cn, G as Is, H as Ms } from "./index-D8UY4uNQ.js";
4
+ import { _ as ct, s as Yt, a as _s } from "./index-DIC1IjU6.js";
5
5
  import { useRouter as xa } from "vue-router";
6
- import { a as ut, d as Ft, e as dt, f as pt, g as ft, h as vt, t as _s, c as Ts, b as Bs } from "./index-ChNfRlIP.js";
7
- import { g as Pa, s as Es, a as mn, _ as Rt, b as Ds, u as Ps, c as Ln, X as Rs, Q as xs } from "./index-CahXu506.js";
8
- import { u as Qn, g as wn, b as kn, c as Vs, a as Us } from "./index-B4NcYIuS.js";
9
- import { E as _l, d as Nn, b as ra, I as js, s as aa, e as Kn, a as qn, c as Wn, g as Os, h as Ls, p as Hn, m as Qs, i as Ns, j as Ks, f as qs } from "./request-BfrhYBTM.js";
10
- import { b as Ws, g as Yn, c as Hs, u as Jt, d as sa, e as ot, o as Fn, l as Ys, n as Fs, f as Js, h as ga, s as mt, t as zs, i as Xs } from "./index-BvyM6d06.js";
11
- import { d as Gs, g as nt, a as Zs } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
12
- import { a as Jn, b as va, u as zn, s as na, c as $s, d as eo, r as Dl, n as lo, o as pa, e as fa, f as Xn, h as xt, i as Gn, j as zt, k as ao, t as to, l as ka, m as It, p as yt, q as Aa, v as Za, w as Ia, x as no, y as Ma, z as Sa, A as so, B as _a, C as Ta, D as $a, E as An, F as oo, G as In, H as bt, I as Mt, J as io, K as Gl, L as ro, M as co, N as St, O as uo, P as po, Q as fo, g as Zn, R as vo, S as Mn, T as ho, U as go } from "./index-D9UIlesH.js";
13
- import "./index-BvtOLltL.js";
14
- import "./index-DCY5J8nu.js";
15
- import { c as Xt, f as Ql, b as $n, a as yo, g as bo, d as Sn } from "./menuIndex-BiUB7t5q.js";
6
+ import { a as ut, d as Ft, e as dt, f as pt, g as ft, h as vt, t as Ss, c as Ts, b as Bs } from "./index-ChNfRlIP.js";
7
+ import { g as Pa, s as Es, a as mn, _ as Rt, b as Ds, u as Ps, c as Ln, X as Rs, Q as xs } from "./index-C5QKOpfx.js";
8
+ import { u as Qn, g as wn, b as kn, c as Vs, a as Us } from "./index-YvUJL9Us.js";
9
+ import { E as Sl, d as Nn, b as ra, I as js, s as aa, e as Kn, a as qn, c as Wn, g as Os, h as Ls, p as Hn, m as Qs, i as Ns, j as Ks, f as qs } from "./request-B1c8BUkR.js";
10
+ import { b as Ws, g as Yn, c as Hs, u as Jt, d as sa, e as ot, o as Fn, l as Ys, n as Fs, f as Js, h as ga, s as mt, t as zs, i as Xs } from "./index-DsdWSuDi.js";
11
+ import { d as Gs, g as nt, a as Zs } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-X_k372gl.js";
12
+ import { a as Jn, b as va, u as zn, s as na, c as $s, d as eo, r as Dl, n as lo, o as pa, e as fa, f as Xn, h as xt, i as Gn, j as zt, k as ao, t as to, l as ka, m as It, p as yt, q as Aa, v as Za, w as Ia, x as no, y as Ma, z as _a, A as so, B as Sa, C as Ta, D as $a, E as An, F as oo, G as In, H as bt, I as Mt, J as io, K as Gl, L as ro, M as co, N as _t, O as uo, P as po, Q as fo, g as Zn, R as vo, S as Mn, T as ho, U as go } from "./index-DADd4cmS.js";
13
+ import "./JSEncrypt-B36c1iN5.js";
14
+ import "./index-B0M1YCUY.js";
15
+ import "./index-XvX6TMzr.js";
16
+ import { c as Xt, f as Ql, b as $n, a as yo, g as bo, d as _n } from "./menuIndex-DAW9B-9g.js";
16
17
  import { _ as Kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- import { C as Co } from "./index-DfDUkCbN.js";
18
- import { S as Tl } from "./index-dD-mKgue.js";
19
- import mo from "./threeModel-BpG-AcGZ.js";
20
- import { _ as oa } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
21
- import { s as ta } from "./index-DJrzqi4-.js";
22
- import { T as Vt, u as wo, a as ko } from "./threeViewerHost-BsUgakNM.js";
23
- import { s as Ut } from "./index-o5SO709_.js";
24
- import { u as Ao } from "./index-CT1LWsrT.js";
25
- import { u as Io } from "./index-BybrpYzx.js";
26
- import { u as es } from "./index-CYjsE5Gs.js";
27
- import { T as _n } from "./svgIcon-4m2zaZkj.js";
28
- import { f as Mo, a as So } from "./animationData-DCvSnnkl.js";
18
+ import { C as Co } from "./index-BA1kJZth.js";
19
+ import { S as Tl } from "./index-BHtNKL1L.js";
20
+ import mo from "./threeModel-DDlWUHsN.js";
21
+ import { _ as oa } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
22
+ import { s as ta } from "./index-11kpzK0A.js";
23
+ import { T as Vt, u as wo, a as ko } from "./threeViewerHost-DTWrmIQy.js";
24
+ import { s as Ut } from "./index-iD7cVTqr.js";
25
+ import { u as Ao } from "./index-BBBCr4Oo.js";
26
+ import { u as Io } from "./index-CX8Apbo7.js";
27
+ import { u as es } from "./index-D9xMYIes.js";
28
+ import { T as Sn } from "./svgIcon-4u4PW7Is.js";
29
+ import { f as Mo, a as _o } from "./animationData-CJQE6_nu.js";
29
30
  jl();
30
- const _o = jl(), ls = async (l, C) => {
31
+ const So = jl(), ls = async (l, C) => {
31
32
  var c, h, M, U;
32
33
  try {
33
34
  const I = await Qn({
@@ -38,7 +39,7 @@ const _o = jl(), ls = async (l, C) => {
38
39
  });
39
40
  if (((c = I == null ? void 0 : I.data) == null ? void 0 : c.code) === 200) {
40
41
  const x = (M = (h = C == null ? void 0 : C.compData) == null ? void 0 : h[0]) == null ? void 0 : M.contents;
41
- _o.setRawMenus(x ?? []);
42
+ So.setRawMenus(x ?? []);
42
43
  }
43
44
  return (U = I == null ? void 0 : I.data) == null ? void 0 : U.code;
44
45
  } catch (I) {
@@ -167,16 +168,16 @@ function Po(l = "menu") {
167
168
  children: v.level === 0 ? [] : v.children ?? [],
168
169
  childMenus: ye(v.children)
169
170
  } : v), O = (a, v) => {
170
- var g, S;
171
- return (S = (g = m.value) == null ? void 0 : g.find((q) => (a.title + v).includes(q.value))) == null ? void 0 : S.value;
171
+ var g, _;
172
+ return (_ = (g = m.value) == null ? void 0 : g.find((q) => (a.title + v).includes(q.value))) == null ? void 0 : _.value;
172
173
  }, F = (a, v = "", g = 0) => {
173
174
  var j;
174
- let S = Al(a);
175
+ let _ = Al(a);
175
176
  const q = Array.from(/* @__PURE__ */ new Set([...(j = ee.value) == null ? void 0 : j.map((i) => {
176
177
  var k;
177
178
  return (k = i == null ? void 0 : i.key) == null ? void 0 : k.pageKey;
178
179
  })]));
179
- return Array.isArray(S) || (S = [S]), S == null ? void 0 : S.map((i) => {
180
+ return Array.isArray(_) || (_ = [_]), _ == null ? void 0 : _.map((i) => {
180
181
  let k, N = v ? `${v}/${i.title}` : i.title;
181
182
  k = N;
182
183
  const G = {
@@ -206,9 +207,9 @@ function Po(l = "menu") {
206
207
  const v = ye(a);
207
208
  return Gt(v), h.setMenus(v), v;
208
209
  }), Be = async (a) => ((a == null ? void 0 : a.level) === 0 ? (sessionStorage.getItem("systemKey"), a == null || a.path) : (sessionStorage.getItem("systemKey"), "" + (a == null ? void 0 : a.path)), null), me = (a, v) => {
209
- var S, q;
210
+ var _, q;
210
211
  const g = a == null ? void 0 : a.find((ce) => (ce == null ? void 0 : ce.operateType) === "新增");
211
- return ((q = (S = T.value) == null ? void 0 : S.data) == null ? void 0 : q.path) === (v == null ? void 0 : v.path) ? g == null ? void 0 : g.menuIcon : O(v, v == null ? void 0 : v.level);
212
+ return ((q = (_ = T.value) == null ? void 0 : _.data) == null ? void 0 : q.path) === (v == null ? void 0 : v.path) ? g == null ? void 0 : g.menuIcon : O(v, v == null ? void 0 : v.level);
212
213
  }, Oe = async (a, v) => {
213
214
  if (!Array.isArray(v)) return a;
214
215
  for (const g of v)
@@ -222,8 +223,8 @@ function Po(l = "menu") {
222
223
  }, ll = B(null), il = async (a, v = null) => await Promise.all(
223
224
  a == null ? void 0 : a.map(async (g) => {
224
225
  var ce;
225
- let S = await Oe(g, Ee.value);
226
- const q = (S == null ? void 0 : S.config) ?? ((ce = v == null ? void 0 : v.filter((j) => j.allowInherit)) == null ? void 0 : ce.map((j) => {
226
+ let _ = await Oe(g, Ee.value);
227
+ const q = (_ == null ? void 0 : _.config) ?? ((ce = v == null ? void 0 : v.filter((j) => j.allowInherit)) == null ? void 0 : ce.map((j) => {
227
228
  var i;
228
229
  return {
229
230
  ...j,
@@ -235,14 +236,14 @@ function Po(l = "menu") {
235
236
  //弹窗和内容的结构都继承
236
237
  };
237
238
  }));
238
- return S != null && S.childMenus && (S == null ? void 0 : S.childMenus.length) > 0 && (S = {
239
- ...S,
239
+ return _ != null && _.childMenus && (_ == null ? void 0 : _.childMenus.length) > 0 && (_ = {
240
+ ..._,
240
241
  icon: me(q, g),
241
242
  config: q,
242
243
  children: await il(g == null ? void 0 : g.childMenus, q),
243
244
  childMenus: await il(g == null ? void 0 : g.childMenus, q)
244
245
  }), {
245
- ...S,
246
+ ..._,
246
247
  icon: me(q, g),
247
248
  config: q
248
249
  };
@@ -251,9 +252,9 @@ function Po(l = "menu") {
251
252
  vl(
252
253
  () => u.value,
253
254
  (a) => {
254
- var g, S, q;
255
+ var g, _, q;
255
256
  if (!a) return;
256
- const v = (S = (g = a == null ? void 0 : a.path) == null ? void 0 : g.split("/")) == null ? void 0 : S[0];
257
+ const v = (_ = (g = a == null ? void 0 : a.path) == null ? void 0 : g.split("/")) == null ? void 0 : _[0];
257
258
  if (v) {
258
259
  const ce = (q = w.value) == null ? void 0 : q.find((j) => (j == null ? void 0 : j.path) === v);
259
260
  if (!ce || (h.setActiveTopMenuPath(v), !(ce != null && ce.children))) return;
@@ -265,7 +266,7 @@ function Po(l = "menu") {
265
266
  const fl = async (a) => {
266
267
  var v, g;
267
268
  if (h.setLinkMenuInfo(null), h.setAsideMenuLoading(!0), M.setRouteToChildPath(""), h.setActiveTopMenuPath(a == null ? void 0 : a.path), h.setActiveMainMenu(a), ll.value = null, a != null && a.childMenus && ((v = a == null ? void 0 : a.childMenus) == null ? void 0 : v.length) > 0) {
268
- const S = await dl(a), q = (S == null ? void 0 : S.length) === 0 ? a == null ? void 0 : a.childMenus : S;
269
+ const _ = await dl(a), q = (_ == null ? void 0 : _.length) === 0 ? a == null ? void 0 : a.childMenus : _;
269
270
  h.setAsideMenus(q), se.value || h.setUpdateMenuStatus(!0), h.setActiveAsideMenu((g = a == null ? void 0 : a.childMenus) == null ? void 0 : g[0]);
270
271
  } else
271
272
  h.setAsideMenus([]), h.setActiveMenuPath(a == null ? void 0 : a.path);
@@ -317,32 +318,32 @@ function Po(l = "menu") {
317
318
  var g;
318
319
  const v = [a == null ? void 0 : a.title];
319
320
  if (a != null && a.children && ((g = a == null ? void 0 : a.children) == null ? void 0 : g.length) > 0) {
320
- const S = a.children.map((q) => Te(q));
321
- v.push(...S);
321
+ const _ = a.children.map((q) => Te(q));
322
+ v.push(..._);
322
323
  }
323
324
  return v;
324
- }, al = (a, v, g, S) => a.map((q) => {
325
+ }, al = (a, v, g, _) => a.map((q) => {
325
326
  var ce, j;
326
327
  if (q.path === g) {
327
328
  const i = { ...q };
328
- return S === "create" ? i.children.push(v) : S === "update" ? i.children = (ce = i.children) == null ? void 0 : ce.map(
329
+ return _ === "create" ? i.children.push(v) : _ === "update" ? i.children = (ce = i.children) == null ? void 0 : ce.map(
329
330
  (k) => (k == null ? void 0 : k.path) === (v == null ? void 0 : v.path) ? v : k
330
- ) : S === "delete" && (i.children = (j = i.children) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.path) !== (v == null ? void 0 : v.path))), i;
331
+ ) : _ === "delete" && (i.children = (j = i.children) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.path) !== (v == null ? void 0 : v.path))), i;
331
332
  } else
332
333
  return {
333
334
  ...q,
334
- children: al(q.children, v, g, S)
335
+ children: al(q.children, v, g, _)
335
336
  // 递归更新子节点
336
337
  };
337
338
  }), qe = async (a) => {
338
- var g, S, q, ce, j, i;
339
+ var g, _, q, ce, j, i;
339
340
  const v = (g = ee.value) == null ? void 0 : g.find((k) => {
340
341
  var N;
341
342
  return ((N = k == null ? void 0 : k.key) == null ? void 0 : N.pageKey) === "menu";
342
343
  });
343
344
  if (v) {
344
345
  const k = {
345
- ...(S = v.value) == null ? void 0 : S.pageData,
346
+ ...(_ = v.value) == null ? void 0 : _.pageData,
346
347
  compData: (j = (ce = (q = v.value) == null ? void 0 : q.pageData) == null ? void 0 : ce.compData) == null ? void 0 : j.map((G) => G.key === "menuContents" ? {
347
348
  ...G,
348
349
  contents: a
@@ -356,18 +357,18 @@ function Po(l = "menu") {
356
357
  }, nl = async (a) => void 0, Ze = async (a) => {
357
358
  var q, ce, j;
358
359
  const v = (j = (ce = (q = a == null ? void 0 : a.config) == null ? void 0 : q.find((i) => (i == null ? void 0 : i.operateType) === "新增")) == null ? void 0 : ce.structureIds) == null ? void 0 : j.filter((i) => (i == null ? void 0 : i.key) === "contentConfig"), g = v == null ? void 0 : v.map((i) => i == null ? void 0 : i.id);
359
- let S = [];
360
+ let _ = [];
360
361
  g == null || g.forEach((i) => {
361
- i && S.push(nl());
362
+ i && _.push(nl());
362
363
  });
363
364
  };
364
365
  return vl(
365
366
  () => D.value,
366
367
  async (a) => {
367
- var v, g, S, q, ce, j, i, k;
368
+ var v, g, _, q, ce, j, i, k;
368
369
  if (a)
369
370
  try {
370
- const N = (S = (g = (v = T.value) == null ? void 0 : v.data) == null ? void 0 : g.path) == null ? void 0 : S.split("/").slice(0, -1).join("/"), G = al(
371
+ const N = (_ = (g = (v = T.value) == null ? void 0 : v.data) == null ? void 0 : g.path) == null ? void 0 : _.split("/").slice(0, -1).join("/"), G = al(
371
372
  w.value,
372
373
  (q = T.value) == null ? void 0 : q.data,
373
374
  N,
@@ -377,7 +378,7 @@ function Po(l = "menu") {
377
378
  const d = await dl(P.value), A = (d == null ? void 0 : d.length) === 0 ? (k = P.value) == null ? void 0 : k.childMenus : d;
378
379
  h.setAsideMenus(A);
379
380
  } catch (N) {
380
- throw _l.error(N), new Error(N);
381
+ throw Sl.error(N), new Error(N);
381
382
  }
382
383
  },
383
384
  { immediate: !0 }
@@ -483,9 +484,9 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
483
484
  ], 4),
484
485
  u !== I.value.length - 1 && Array.isArray(I.value) && ((m = (w = I.value) == null ? void 0 : w[u + 1]) == null ? void 0 : m.condition) !== "child" ? (f(), $("div", Lo, [
485
486
  s(n(Nn), { style: { width: "14px" } })
486
- ])) : ((Ee = (r = I.value) == null ? void 0 : r[u + 1]) == null ? void 0 : Ee.condition) === "child" ? (f(), $("div", Qo, [...T[0] || (T[0] = [
487
+ ])) : ((Ee = (r = I.value) == null ? void 0 : r[u + 1]) == null ? void 0 : Ee.condition) === "child" ? (f(), $("div", Qo, T[0] || (T[0] = [
487
488
  V("div", null, ol(":"), -1)
488
- ])])) : je("", !0)
489
+ ]))) : je("", !0)
489
490
  ]);
490
491
  }), 128))
491
492
  ]));
@@ -672,7 +673,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
672
673
  }, Ci = { class: "message-title" }, mi = { class: "message-time" }, wi = { class: "message-content" }, ki = {
673
674
  key: 0,
674
675
  class: "no-messages"
675
- }, Ai = { class: "drop-menu" }, Ii = { class: "user-base-info" }, Mi = { class: "base-info" }, Si = { class: "group-item" }, _i = { class: "sys-button" }, Ti = { class: "whole-main" }, Bi = { class: "structure-paths" }, Ei = {
676
+ }, Ai = { class: "drop-menu" }, Ii = { class: "user-base-info" }, Mi = { class: "base-info" }, _i = { class: "group-item" }, Si = { class: "sys-button" }, Ti = { class: "whole-main" }, Bi = { class: "structure-paths" }, Ei = {
676
677
  key: 0,
677
678
  class: "main-back-btn"
678
679
  }, Di = { class: "custom-extend-wrapper" }, Pi = {
@@ -708,7 +709,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
708
709
  }, Wi = {
709
710
  key: 6,
710
711
  class: "item-view-child-content"
711
- }, Hi = { class: "form-content" }, Yi = { class: "dialog-footer" }, _t = "消息中心/我的消息", Fi = /* @__PURE__ */ Bl({
712
+ }, Hi = { class: "form-content" }, Yi = { class: "dialog-footer" }, St = "消息中心/我的消息", Fi = /* @__PURE__ */ Bl({
712
713
  __name: "index",
713
714
  props: {
714
715
  windowConfig: {
@@ -748,7 +749,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
748
749
  }).length
749
750
  ), m = kl(() => w.value > 99 ? "99+" : w.value), r = Jt(bl), { originalPath: Ee } = yl(r), ye = Ee.value, O = Xl(), { loginUserInfo: F } = yl(O), { hasSystemManagement: ve, toSystemManagement: X } = Do(), { updateFacePhoto: Be } = Ao();
750
751
  async function me() {
751
- var z, p, Y, Ce, pe, _e;
752
+ var z, p, Y, Ce, pe, Se;
752
753
  try {
753
754
  let J = function(Ke, Ue) {
754
755
  return Ue.map((Re) => Ke.map((Ie, Qe) => ({
@@ -757,8 +758,8 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
757
758
  })));
758
759
  };
759
760
  const we = sessionStorage.getItem("systemKey"), [Pe] = await Promise.all([
760
- sa(_t, we, "")
761
- ]), ge = (Y = (p = (z = Pe == null ? void 0 : Pe[0]) == null ? void 0 : z.compData) == null ? void 0 : p.find((Ke) => (Ke == null ? void 0 : Ke.key) === "tableContents")) == null ? void 0 : Y.contents, $e = (_e = (pe = (Ce = Pe == null ? void 0 : Pe[0]) == null ? void 0 : Ce.compData) == null ? void 0 : pe.find((Ke) => (Ke == null ? void 0 : Ke.key) === "header")) == null ? void 0 : _e.contents;
761
+ sa(St, we, "")
762
+ ]), ge = (Y = (p = (z = Pe == null ? void 0 : Pe[0]) == null ? void 0 : z.compData) == null ? void 0 : p.find((Ke) => (Ke == null ? void 0 : Ke.key) === "tableContents")) == null ? void 0 : Y.contents, $e = (Se = (pe = (Ce = Pe == null ? void 0 : Pe[0]) == null ? void 0 : Ce.compData) == null ? void 0 : pe.find((Ke) => (Ke == null ? void 0 : Ke.key) === "header")) == null ? void 0 : Se.contents;
762
763
  let el = [], Il = [], Ml = [], pl = [];
763
764
  Array.isArray(ge) && Array.isArray($e) ? (Ml = ge.filter(
764
765
  (Ke) => Ke.includes("未读")
@@ -776,11 +777,11 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
776
777
  }, il = async (z) => {
777
778
  if (!z) return;
778
779
  (async (Y) => {
779
- var pe, _e, J, we;
780
+ var pe, Se, J, we;
780
781
  const Ce = [
781
782
  {
782
783
  title: "我的消息",
783
- path: _t,
784
+ path: St,
784
785
  level: 1,
785
786
  show: !0,
786
787
  carryData: !0,
@@ -807,14 +808,14 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
807
808
  console.warn("该消息没有主键", Y);
808
809
  return;
809
810
  }
810
- x.setAsideMenus(Ce), (Pe == null ? void 0 : Pe.value) === "未读" && (Pe.value = "已读", x.setActiveMenuPath(_t));
811
+ x.setAsideMenus(Ce), (Pe == null ? void 0 : Pe.value) === "未读" && (Pe.value = "已读", x.setActiveMenuPath(St));
811
812
  const $e = E.value + ye + ge.value, el = E.value;
812
- await Ys($e, $e + ye + `updateLoading${((pe = F.value) == null ? void 0 : pe.account) || ((_e = F.value) == null ? void 0 : _e.账号)}`), j.setRouteToChildPath(el), x.setActiveMenuPath($e + ye + `updateLoading${((J = F.value) == null ? void 0 : J.account) || ((we = F.value) == null ? void 0 : we.账号)}`), x.setActiveTopMenuPath("消息中心");
813
+ await Ys($e, $e + ye + `updateLoading${((pe = F.value) == null ? void 0 : pe.account) || ((Se = F.value) == null ? void 0 : Se.账号)}`), j.setRouteToChildPath(el), x.setActiveMenuPath($e + ye + `updateLoading${((J = F.value) == null ? void 0 : J.account) || ((we = F.value) == null ? void 0 : we.账号)}`), x.setActiveTopMenuPath("消息中心");
813
814
  } catch (Pe) {
814
815
  console.error("加载菜单或页面时出错:", Pe);
815
816
  }
816
817
  })(z);
817
- }, dl = Ra(bl), { selectTitle: fl } = yl(dl), ze = B(!1), wl = B(), de = B(null), y = B(), Ye = B(!1), he = zn(bl), { blobUrls: Te } = yl(he), al = B(), qe = B(!1), nl = B(!1), Ze = B(!1), a = B(!1), v = B(null), g = B([]), S = B(!1), q = B(!1), ce = B();
818
+ }, dl = Ra(bl), { selectTitle: fl } = yl(dl), ze = B(!1), wl = B(), de = B(null), y = B(), Ye = B(!1), he = zn(bl), { blobUrls: Te } = yl(he), al = B(), qe = B(!1), nl = B(!1), Ze = B(!1), a = B(!1), v = B(null), g = B([]), _ = B(!1), q = B(!1), ce = B();
818
819
  lt("contentRef", v);
819
820
  const j = la(bl), { isEdit: i, routeToChildPath: k } = yl(j), N = C, { logoUrl: G, platNameEn: t, getPreviousModel: d, rememberPreviousModelByPlatId: A } = kt(), { toPersonalCenter: W } = Io(), re = l, We = vs(/* @__PURE__ */ new Map()), rl = kl(() => ie.value.isRouter), be = B(""), ne = async (z) => {
820
821
  const p = await Ea({
@@ -839,7 +840,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
839
840
  const z = E.value;
840
841
  return We.value.get(z);
841
842
  }), ue = Gs(async (z) => {
842
- var Ce, pe, _e, J, we, Pe, ge, $e, el, Il, Ml, pl, Ke, Ue, Re, Ie;
843
+ var Ce, pe, Se, J, we, Pe, ge, $e, el, Il, Ml, pl, Ke, Ue, Re, Ie;
843
844
  if ((z == null ? void 0 : z.type) !== "table") return;
844
845
  const p = (Ce = fl.value) == null ? void 0 : Ce.some((Qe) => (Qe == null ? void 0 : Qe.condition) === "parent"), Y = (pe = z == null ? void 0 : z.usingRow) == null ? void 0 : pe.some((Qe) => Qe == null ? void 0 : Qe.isExistChild);
845
846
  if (!(p || Y))
@@ -847,7 +848,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
847
848
  let Qe = De.value;
848
849
  if (!Qe) {
849
850
  const hl = await Ca({
850
- platId: parseInt((_e = F == null ? void 0 : F.value) == null ? void 0 : _e.plat_id),
851
+ platId: parseInt((Se = F == null ? void 0 : F.value) == null ? void 0 : Se.plat_id),
851
852
  pageName: "menu"
852
853
  });
853
854
  ((we = (J = hl == null ? void 0 : hl.data) == null ? void 0 : J.result) == null ? void 0 : we.length) > 0 && (Qe = hl.data.result, We.value.set(E.value, Qe));
@@ -857,9 +858,9 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
857
858
  if (!Qe.some(
858
859
  (hl) => (hl == null ? void 0 : hl.father_name) === El || (hl == null ? void 0 : hl.father_name) === El + "/"
859
860
  )) return;
860
- const Cl = ($e = z == null ? void 0 : z.row) == null ? void 0 : $e[(ge = (Pe = z == null ? void 0 : z.usingRow) == null ? void 0 : Pe[0]) == null ? void 0 : ge.prop], Sl = (el = fl.value) == null ? void 0 : el.find((hl) => (hl == null ? void 0 : hl.condition) === "child");
861
+ const Cl = ($e = z == null ? void 0 : z.row) == null ? void 0 : $e[(ge = (Pe = z == null ? void 0 : z.usingRow) == null ? void 0 : Pe[0]) == null ? void 0 : ge.prop], _l = (el = fl.value) == null ? void 0 : el.find((hl) => (hl == null ? void 0 : hl.condition) === "child");
861
862
  let Ol, Rl;
862
- if (Sl)
863
+ if (_l)
863
864
  Ol = fl.value.map(
864
865
  (hl) => (hl == null ? void 0 : hl.condition) === "child" ? { ...hl, value: Cl, isShow: !0 } : hl
865
866
  ), Rl = Ol.find((hl) => (hl == null ? void 0 : hl.condition) === "child");
@@ -890,7 +891,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
890
891
  yield {
891
892
  label: (Y = z[pe]) == null ? void 0 : Y[p],
892
893
  value: (Ce = z[pe]) == null ? void 0 : Ce[p]
893
- }, pe % 100 === 0 && await new Promise((_e) => setTimeout(_e, 0));
894
+ }, pe % 100 === 0 && await new Promise((Se) => setTimeout(Se, 0));
894
895
  }
895
896
  };
896
897
  }
@@ -898,18 +899,18 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
898
899
  let z = {};
899
900
  const p = await sa("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), Y = await sa("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
900
901
  let Ce = ["管长", "外径"], pe = {};
901
- Y == null || Y.forEach((_e) => {
902
+ Y == null || Y.forEach((Se) => {
902
903
  var J;
903
- (_e == null ? void 0 : _e.comp) === "Form" && ((J = _e == null ? void 0 : _e.compData) == null || J.forEach((we) => {
904
+ (Se == null ? void 0 : Se.comp) === "Form" && ((J = Se == null ? void 0 : Se.compData) == null || J.forEach((we) => {
904
905
  var Pe;
905
906
  (we == null ? void 0 : we.key) === "formContent" && ((Pe = we == null ? void 0 : we.contents) == null || Pe.forEach((ge) => {
906
907
  Ce.includes(ge == null ? void 0 : ge.key) && (pe[ge.key] = ge.value);
907
908
  }));
908
909
  }));
909
- }), p == null || p.forEach((_e) => {
910
+ }), p == null || p.forEach((Se) => {
910
911
  var J, we, Pe, ge, $e, el;
911
- if ((_e == null ? void 0 : _e.comp) === "Table") {
912
- let Il = [], Ml = (Pe = (we = (J = _e == null ? void 0 : _e.compData) == null ? void 0 : J.find((Ke) => (Ke == null ? void 0 : Ke.key) === "header")) == null ? void 0 : we.contents) == null ? void 0 : Pe.map((Ke) => Ke == null ? void 0 : Ke.label), pl = (el = ($e = (ge = _e == null ? void 0 : _e.compData) == null ? void 0 : ge.find((Ke) => (Ke == null ? void 0 : Ke.key) === "tableContents")) == null ? void 0 : $e.contents) == null ? void 0 : el.map((Ke) => (Ke = Ke == null ? void 0 : Ke.filter((Ue) => !(Ue != null && Ue.id)), Ke));
912
+ if ((Se == null ? void 0 : Se.comp) === "Table") {
913
+ let Il = [], Ml = (Pe = (we = (J = Se == null ? void 0 : Se.compData) == null ? void 0 : J.find((Ke) => (Ke == null ? void 0 : Ke.key) === "header")) == null ? void 0 : we.contents) == null ? void 0 : Pe.map((Ke) => Ke == null ? void 0 : Ke.label), pl = (el = ($e = (ge = Se == null ? void 0 : Se.compData) == null ? void 0 : ge.find((Ke) => (Ke == null ? void 0 : Ke.key) === "tableContents")) == null ? void 0 : $e.contents) == null ? void 0 : el.map((Ke) => (Ke = Ke == null ? void 0 : Ke.filter((Ue) => !(Ue != null && Ue.id)), Ke));
913
914
  pl == null || pl.forEach((Ke) => {
914
915
  Il.push(
915
916
  ot(
@@ -917,11 +918,11 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
917
918
  Ml == null ? void 0 : Ml.filter((Ue) => Ue !== "操作")
918
919
  )
919
920
  );
920
- }), z[_e.name] = Il, z[_e.name + "Content"] = _e;
921
+ }), z[Se.name] = Il, z[Se.name + "Content"] = Se;
921
922
  }
922
923
  }), z.extra = pe, wl.value = z;
923
924
  }, Fe = async () => {
924
- var z, p, Y, Ce, pe, _e, J;
925
+ var z, p, Y, Ce, pe, Se, J;
925
926
  if ((re == null ? void 0 : re.platform) !== "browser") {
926
927
  if (ze.value = !0, al.value = (z = re == null ? void 0 : re.taskContent) == null ? void 0 : z.sceneType, g.value = [{
927
928
  url: (p = re == null ? void 0 : re.taskContent) == null ? void 0 : p.url,
@@ -941,9 +942,9 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
941
942
  url: we == null ? void 0 : we.url,
942
943
  extension: nt(we == null ? void 0 : we.url)
943
944
  }];
944
- (_e = de.value) == null || _e.loadModelByDefaultPath(Pe);
945
+ (Se = de.value) == null || Se.loadModelByDefaultPath(Pe);
945
946
  }
946
- S.value = (J = g.value) == null ? void 0 : J.every((we) => we.url.toUpperCase().includes(".URDF"));
947
+ _.value = (J = g.value) == null ? void 0 : J.every((we) => we.url.toUpperCase().includes(".URDF"));
947
948
  }
948
949
  }, Xe = () => {
949
950
  Ye.value = !1, de.value = null;
@@ -961,18 +962,18 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
961
962
  () => [Te == null ? void 0 : Te.value],
962
963
  async () => {
963
964
  var z, p, Y, Ce, pe;
964
- if (Te != null && Te.value && ((z = Te == null ? void 0 : Te.value) == null ? void 0 : z.length) > 0 && !qe.value && !((p = na.value) != null && p.find((_e) => (_e == null ? void 0 : _e.name) === "输入") && ((Y = na.value) != null && Y.find((_e) => (_e == null ? void 0 : _e.name) === "输出")))) {
965
+ if (Te != null && Te.value && ((z = Te == null ? void 0 : Te.value) == null ? void 0 : z.length) > 0 && !qe.value && !((p = na.value) != null && p.find((Se) => (Se == null ? void 0 : Se.name) === "输入") && ((Y = na.value) != null && Y.find((Se) => (Se == null ? void 0 : Se.name) === "输出")))) {
965
966
  Ye.value = !0;
966
- let _e = [];
967
+ let Se = [];
967
968
  const J = await ((Ce = Al(Te == null ? void 0 : Te.value)) == null ? void 0 : Ce.map(async (we) => {
968
969
  var Il, Ml, pl, Ke, Ue, Re, Ie, Qe, El, Vl;
969
970
  let Pe, ge, $e;
970
971
  we != null && we.blob.includes("undefined") ? $e = (Ml = (Il = we == null ? void 0 : we.blob) == null ? void 0 : Il.split("undefined,")) == null ? void 0 : Ml[1] : $e = we == null ? void 0 : we.blob;
971
972
  let el = $e == null ? void 0 : $e.split(",");
972
973
  if ((el == null ? void 0 : el.length) > 1) {
973
- let Cl = await (el == null ? void 0 : el.map(async (Sl) => {
974
+ let Cl = await (el == null ? void 0 : el.map(async (_l) => {
974
975
  var Rl, hl, ml, Jl, ua, da;
975
- Pe = await ra.get(Sl, {
976
+ Pe = await ra.get(_l, {
976
977
  responseType: "blob",
977
978
  headers: {
978
979
  "Content-Type": "application/json"
@@ -995,8 +996,8 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
995
996
  }));
996
997
  await Promise.all(Ll);
997
998
  }
998
- return ((Jl = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : Jl[((ml = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : ml.length) - 1]) !== "undefined" && _e.push({
999
- suffix: "." + ((da = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : da[((ua = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : ua.length) - 1]),
999
+ return ((Jl = _l == null ? void 0 : _l.split(".")) == null ? void 0 : Jl[((ml = _l == null ? void 0 : _l.split(".")) == null ? void 0 : ml.length) - 1]) !== "undefined" && Se.push({
1000
+ suffix: "." + ((da = _l == null ? void 0 : _l.split(".")) == null ? void 0 : da[((ua = _l == null ? void 0 : _l.split(".")) == null ? void 0 : ua.length) - 1]),
1000
1001
  blob: new Blob([Pe.data], {
1001
1002
  type: "application/octet-stream;charset=UTF-8"
1002
1003
  }),
@@ -1010,7 +1011,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1010
1011
  });
1011
1012
  let Cl = [];
1012
1013
  if (((pl = we == null ? void 0 : we.mtlBlobs) == null ? void 0 : pl.length) > 0) {
1013
- let Sl = await ((Ke = we == null ? void 0 : we.mtlBlobs) == null ? void 0 : Ke.map(async (Ol) => {
1014
+ let _l = await ((Ke = we == null ? void 0 : we.mtlBlobs) == null ? void 0 : Ke.map(async (Ol) => {
1014
1015
  let Rl = await Ea({
1015
1016
  url: Ol
1016
1017
  });
@@ -1020,7 +1021,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1020
1021
  })
1021
1022
  ), Rl;
1022
1023
  }));
1023
- await Promise.all(Sl);
1024
+ await Promise.all(_l);
1024
1025
  }
1025
1026
  ge = {
1026
1027
  suffix: "." + ((Re = $e == null ? void 0 : $e.split(".")) == null ? void 0 : Re[((Ue = $e == null ? void 0 : $e.split(".")) == null ? void 0 : Ue.length) - 1]),
@@ -1038,7 +1039,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1038
1039
  });
1039
1040
  let Cl = [];
1040
1041
  if (((Ie = we == null ? void 0 : we.mtlBlobs) == null ? void 0 : Ie.length) > 0) {
1041
- let Sl = await ((Qe = we == null ? void 0 : we.mtlBlobs) == null ? void 0 : Qe.map(async (Ol) => {
1042
+ let _l = await ((Qe = we == null ? void 0 : we.mtlBlobs) == null ? void 0 : Qe.map(async (Ol) => {
1042
1043
  let Rl = await ra.get(Ol, {
1043
1044
  responseType: "blob",
1044
1045
  headers: {
@@ -1051,7 +1052,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1051
1052
  })
1052
1053
  ), Rl;
1053
1054
  }));
1054
- await Promise.all(Sl);
1055
+ await Promise.all(_l);
1055
1056
  }
1056
1057
  ge = {
1057
1058
  suffix: we != null && we.suffix ? we == null ? void 0 : we.suffix : "." + ((Vl = $e == null ? void 0 : $e.split(".")) == null ? void 0 : Vl[((El = $e == null ? void 0 : $e.split(".")) == null ? void 0 : El.length) - 1]),
@@ -1061,9 +1062,9 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1061
1062
  mtlBlobs: Cl
1062
1063
  };
1063
1064
  }
1064
- ge && _e.push(ge);
1065
+ ge && Se.push(ge);
1065
1066
  }));
1066
- await Promise.all(J), (_e == null ? void 0 : _e.length) !== 0 && ((pe = de.value) == null || pe.loadModelByDefaultPath(_e));
1067
+ await Promise.all(J), (Se == null ? void 0 : Se.length) !== 0 && ((pe = de.value) == null || pe.loadModelByDefaultPath(Se));
1067
1068
  }
1068
1069
  },
1069
1070
  { immediate: !0, deep: !0 }
@@ -1082,27 +1083,27 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1082
1083
  if (k.value === "" || ((Ce = E.value) == null ? void 0 : Ce[((Y = E.value) == null ? void 0 : Y.length) - 1]) === ye) return !1;
1083
1084
  const z = sessionStorage.getItem("authority"), p = JSON.parse(z || "");
1084
1085
  if (Array.isArray(p)) {
1085
- const pe = Array.isArray(p) && (p == null ? void 0 : p.filter((J) => J == null ? void 0 : J.includes(k.value))), _e = pe == null ? void 0 : pe.map((J) => {
1086
+ const pe = Array.isArray(p) && (p == null ? void 0 : p.filter((J) => J == null ? void 0 : J.includes(k.value))), Se = pe == null ? void 0 : pe.map((J) => {
1086
1087
  var we;
1087
1088
  return ((we = J == null ? void 0 : J.split("/")) == null ? void 0 : we.pop()) || "";
1088
1089
  });
1089
- return !!(_e != null && _e.includes("新增") || _e != null && _e.includes("新建"));
1090
+ return !!(Se != null && Se.includes("新增") || Se != null && Se.includes("新建"));
1090
1091
  } else return typeof p == "string" && (p == null ? void 0 : p.toUpperCase()) === "SUPERADMIN";
1091
- }, Se = async () => {
1092
+ }, _e = async () => {
1092
1093
  W();
1093
- }, _ = () => {
1094
+ }, S = () => {
1094
1095
  N("updateVersion");
1095
1096
  }, oe = kl(() => "http://222.92.178.198:62001"), ke = async (z) => {
1096
- var p, Y, Ce, pe, _e;
1097
+ var p, Y, Ce, pe, Se;
1097
1098
  try {
1098
1099
  const J = await Ps(z);
1099
1100
  if (((p = J == null ? void 0 : J.data) == null ? void 0 : p.code) === 200) {
1100
1101
  I.value = oe.value + "/" + ((Ce = (Y = J.data) == null ? void 0 : Y.result) == null ? void 0 : Ce.url);
1101
- let we = (_e = (pe = J.data) == null ? void 0 : pe.result) == null ? void 0 : _e.url;
1102
+ let we = (Se = (pe = J.data) == null ? void 0 : pe.result) == null ? void 0 : Se.url;
1102
1103
  await Be(we);
1103
1104
  }
1104
1105
  } catch (J) {
1105
- _l.error(J);
1106
+ Sl.error(J);
1106
1107
  }
1107
1108
  }, Ae = kl(() => $s(Dl.value, eo.value)), He = kl(() => {
1108
1109
  const p = lo(Dl.value, 100) || [];
@@ -1135,7 +1136,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1135
1136
  }
1136
1137
  };
1137
1138
  return (z, p) => {
1138
- const Y = le("el-dialog"), Ce = le("el-button"), pe = le("el-header"), _e = le("el-splitter-panel"), J = le("el-splitter"), we = le("el-container"), Pe = le("el-tab-pane"), ge = le("el-tabs"), $e = le("el-aside"), el = le("router-view"), Il = le("el-step"), Ml = le("el-steps"), pl = le("el-main"), Ke = rt("loading");
1139
+ const Y = le("el-dialog"), Ce = le("el-button"), pe = le("el-header"), Se = le("el-splitter-panel"), J = le("el-splitter"), we = le("el-container"), Pe = le("el-tab-pane"), ge = le("el-tabs"), $e = le("el-aside"), el = le("router-view"), Il = le("el-step"), Ml = le("el-steps"), pl = le("el-main"), Ke = rt("loading");
1139
1140
  return f(), $(tl, null, [
1140
1141
  Yl(s(Co, {
1141
1142
  ref: "cropperDialogRef",
@@ -1187,9 +1188,10 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1187
1188
  s(Tl, { name: "Back" })
1188
1189
  ]),
1189
1190
  default: o(() => [
1190
- p[9] || (p[9] = cl(" 返回页面 ", -1))
1191
+ p[9] || (p[9] = cl(" 返回页面 "))
1191
1192
  ]),
1192
- _: 1
1193
+ _: 1,
1194
+ __: [9]
1193
1195
  }, 8, ["onClick"])
1194
1196
  ]),
1195
1197
  V("div", Fo, [
@@ -1210,9 +1212,10 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1210
1212
  s(Tl, { name: "Store" })
1211
1213
  ]),
1212
1214
  default: o(() => [
1213
- p[10] || (p[10] = cl(" 保存页面 ", -1))
1215
+ p[10] || (p[10] = cl(" 保存页面 "))
1214
1216
  ]),
1215
- _: 1
1217
+ _: 1,
1218
+ __: [10]
1216
1219
  })
1217
1220
  ])
1218
1221
  ]),
@@ -1225,7 +1228,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1225
1228
  default: o(() => [
1226
1229
  s(J, null, {
1227
1230
  default: o(() => [
1228
- s(_e, {
1231
+ s(Se, {
1229
1232
  size: 240,
1230
1233
  min: 240,
1231
1234
  resizable: !1,
@@ -1250,7 +1253,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1250
1253
  ]),
1251
1254
  _: 1
1252
1255
  }),
1253
- s(_e, {
1256
+ s(Se, {
1254
1257
  min: 200,
1255
1258
  collapsible: !0
1256
1259
  }, {
@@ -1273,7 +1276,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1273
1276
  ]),
1274
1277
  _: 1
1275
1278
  }),
1276
- s(_e, {
1279
+ s(Se, {
1277
1280
  size: 350,
1278
1281
  min: 350,
1279
1282
  collapsible: !0
@@ -1328,9 +1331,10 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1328
1331
  s(Tl, { name: "系统管理" })
1329
1332
  ]),
1330
1333
  default: o(() => [
1331
- p[11] || (p[11] = cl(" 系统管理 ", -1))
1334
+ p[11] || (p[11] = cl(" 系统管理 "))
1332
1335
  ]),
1333
- _: 1
1336
+ _: 1,
1337
+ __: [11]
1334
1338
  })) : je("", !0),
1335
1339
  Wl(z.$slots, "default", {}, void 0, !0),
1336
1340
  s(Rt, null, {
@@ -1387,11 +1391,11 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1387
1391
  label: "未读消息",
1388
1392
  name: "second"
1389
1393
  }, {
1390
- label: o(() => [...p[13] || (p[13] = [
1394
+ label: o(() => p[13] || (p[13] = [
1391
1395
  V("div", { class: "message-tab-label" }, [
1392
1396
  V("span", null, "未读消息")
1393
1397
  ], -1)
1394
- ])]),
1398
+ ])),
1395
1399
  default: o(() => [
1396
1400
  V("div", vi, [
1397
1401
  (f(!0), $(tl, null, ul(L.value, (Ue, Re) => {
@@ -1447,8 +1451,8 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1447
1451
  V("div", null, ol(((Vl = n(F)) == null ? void 0 : Vl.工号) || "未知"), 1)
1448
1452
  ])
1449
1453
  ]),
1450
- V("div", Si, [
1451
- V("div", { onClick: Se }, [
1454
+ V("div", _i, [
1455
+ V("div", { onClick: _e }, [
1452
1456
  s(Tl, {
1453
1457
  name: "personal",
1454
1458
  style: { width: "15px", height: "15px" }
@@ -1462,7 +1466,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1462
1466
  }),
1463
1467
  p[15] || (p[15] = V("span", null, "消息中心", -1))
1464
1468
  ]),
1465
- V("div", { onClick: _ }, [
1469
+ V("div", { onClick: S }, [
1466
1470
  s(Tl, {
1467
1471
  name: "Update",
1468
1472
  style: { width: "15px", height: "15px" }
@@ -1477,7 +1481,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1477
1481
  p[17] || (p[17] = V("span", null, "文件备份", -1))
1478
1482
  ])
1479
1483
  ]),
1480
- V("div", _i, [
1484
+ V("div", Si, [
1481
1485
  V("div", null, [
1482
1486
  s(Tl, {
1483
1487
  name: "exit",
@@ -1509,7 +1513,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1509
1513
  style: Pl({ paddingLeft: ee.value ? "16px" : "0px" })
1510
1514
  }, {
1511
1515
  default: o(() => {
1512
- var Ue, Re, Ie, Qe, El, Vl, Cl, Sl, Ol, Rl, hl, ml, Jl, ua, da, Ll, gt, Va, en, ln, an, tn, nn, sn, on, rn, cn, un, dn, pn, fn, vn, hn;
1516
+ var Ue, Re, Ie, Qe, El, Vl, Cl, _l, Ol, Rl, hl, ml, Jl, ua, da, Ll, gt, Va, en, ln, an, tn, nn, sn, on, rn, cn, un, dn, pn, fn, vn, hn;
1513
1517
  return [
1514
1518
  ee.value ? je("", !0) : Yl((f(), fe($e, {
1515
1519
  key: 0,
@@ -1519,7 +1523,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1519
1523
  width: "auto"
1520
1524
  }, {
1521
1525
  default: o(() => [
1522
- s(Ss, { mode: "vertical" })
1526
+ s(_s, { mode: "vertical" })
1523
1527
  ]),
1524
1528
  _: 1
1525
1529
  }, 8, ["style"])), [
@@ -1572,7 +1576,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1572
1576
  itemData: Q == null ? void 0 : Q.compData,
1573
1577
  calculator: Q == null ? void 0 : Q.calculatorFilters,
1574
1578
  childItemData: Q == null ? void 0 : Q.itemChildData,
1575
- key: n(_a),
1579
+ key: n(Sa),
1576
1580
  onChange: n(fa),
1577
1581
  onClickStep: n(so),
1578
1582
  index: (Q == null ? void 0 : Q.id) ?? Ge,
@@ -1583,7 +1587,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1583
1587
  status: (ea = n(Dl)[Ge]) == null ? void 0 : ea.status
1584
1588
  },
1585
1589
  onContentChange: n(pa),
1586
- onPageChange: n(Sa),
1590
+ onPageChange: n(_a),
1587
1591
  onRowClick: n(ue),
1588
1592
  onRouteUrl: Ne,
1589
1593
  parentTableId: Q == null ? void 0 : Q.tableId,
@@ -1596,7 +1600,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1596
1600
  }, null, 40, ["related", "compNames", "compName", "groupNames", "cacheNewData", "isDevMode", "itemData", "calculator", "childItemData", "onChange", "onClickStep", "index", "config", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "onRadioChange", "children", "onClickTrigger", "onClickMainKey"])) : je("", !0)
1597
1601
  ], 6);
1598
1602
  }), 128)) : je("", !0),
1599
- !n(ka) && K.value === "vertical" && ((Sl = n(It)) == null ? void 0 : Sl.length) > 0 ? (f(), fe(n(An), {
1603
+ !n(ka) && K.value === "vertical" && ((_l = n(It)) == null ? void 0 : _l.length) > 0 ? (f(), fe(n(An), {
1600
1604
  key: 1,
1601
1605
  layout: Ae.value,
1602
1606
  "is-draggable": !1,
@@ -1642,12 +1646,12 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1642
1646
  isDevMode: l.showButton,
1643
1647
  itemData: (Fa = Q == null ? void 0 : Q.component) == null ? void 0 : Fa.compData,
1644
1648
  childItemData: (Ja = Q == null ? void 0 : Q.component) == null ? void 0 : Ja.itemChildData,
1645
- key: n(_a),
1649
+ key: n(Sa),
1646
1650
  compItem: Q,
1647
1651
  onChange: n(fa),
1648
1652
  index: ((za = n(Dl)[Ge]) == null ? void 0 : za.id) ?? Ge,
1649
1653
  onContentChange: n(pa),
1650
- onPageChange: n(Sa),
1654
+ onPageChange: n(_a),
1651
1655
  onRowClick: n(ue),
1652
1656
  onRouteUrl: Ne,
1653
1657
  parentTableId: (Xa = n(Dl)[Ge]) == null ? void 0 : Xa.tableId,
@@ -1718,13 +1722,13 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1718
1722
  isDevMode: l.showButton,
1719
1723
  itemData: (Fa = Q == null ? void 0 : Q.component) == null ? void 0 : Fa.compData,
1720
1724
  childItemData: (Ja = Q == null ? void 0 : Q.component) == null ? void 0 : Ja.itemChildData,
1721
- key: n(_a),
1725
+ key: n(Sa),
1722
1726
  compItem: Q,
1723
1727
  onChange: n(fa),
1724
1728
  calculator: (za = Q == null ? void 0 : Q.component) == null ? void 0 : za.calculatorFilters,
1725
1729
  index: ((Xa = n(Dl)[Ge]) == null ? void 0 : Xa.id) ?? Ge,
1726
1730
  onContentChange: n(pa),
1727
- onPageChange: n(Sa),
1731
+ onPageChange: n(_a),
1728
1732
  onRowClick: n(ue),
1729
1733
  onRouteUrl: Ne,
1730
1734
  parentTableId: (Ga = n(Dl)[Ge]) == null ? void 0 : Ga.tableId,
@@ -1776,12 +1780,12 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1776
1780
  isDevMode: l.showButton,
1777
1781
  itemData: Ge == null ? void 0 : Ge.compData,
1778
1782
  childItemData: Ge == null ? void 0 : Ge.itemChildData,
1779
- key: n(_a),
1783
+ key: n(Sa),
1780
1784
  compItem: Ge,
1781
1785
  onChange: n(fa),
1782
1786
  index: (Ge == null ? void 0 : Ge.id) ?? zl,
1783
1787
  onContentChange: n(pa),
1784
- onPageChange: n(Sa),
1788
+ onPageChange: n(_a),
1785
1789
  onRowClick: n(ue),
1786
1790
  onRouteUrl: Ne,
1787
1791
  parentTableId: Ge == null ? void 0 : Ge.tableId,
@@ -1845,11 +1849,11 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1845
1849
  isDevMode: l.showButton,
1846
1850
  itemData: (nn = (tn = n(Gl)) == null ? void 0 : tn.comp) == null ? void 0 : nn.compData,
1847
1851
  childItemData: (on = (sn = n(Gl)) == null ? void 0 : sn.comp) == null ? void 0 : on.itemChildData,
1848
- key: n(_a),
1852
+ key: n(Sa),
1849
1853
  onChange: n(fa),
1850
1854
  index: (cn = (rn = n(Gl)) == null ? void 0 : rn.comp) == null ? void 0 : cn.id,
1851
1855
  onContentChange: n(pa),
1852
- onPageChange: n(Sa),
1856
+ onPageChange: n(_a),
1853
1857
  onRowClick: n(ue),
1854
1858
  onRouteUrl: Ne,
1855
1859
  parentTableId: (dn = (un = n(Gl)) == null ? void 0 : un.comp) == null ? void 0 : dn.tableId,
@@ -1912,8 +1916,8 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1912
1916
  V("div", null, [
1913
1917
  s(ta, {
1914
1918
  title: "复制新增",
1915
- visible: n(St),
1916
- onBeforeDestroy: p[8] || (p[8] = (Ue) => St.value = !1),
1919
+ visible: n(_t),
1920
+ onBeforeDestroy: p[8] || (p[8] = (Ue) => _t.value = !1),
1917
1921
  style: { height: "74%" }
1918
1922
  }, {
1919
1923
  default: o(() => [
@@ -1929,23 +1933,25 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
1929
1933
  footer: o(() => [
1930
1934
  V("div", Yi, [
1931
1935
  s(Ce, {
1932
- onClick: p[6] || (p[6] = (Ue) => St.value = !1),
1936
+ onClick: p[6] || (p[6] = (Ue) => _t.value = !1),
1933
1937
  id: "themeBorderButton"
1934
1938
  }, {
1935
- default: o(() => [...p[18] || (p[18] = [
1936
- cl(ol("取消"), -1)
1937
- ])]),
1938
- _: 1
1939
+ default: o(() => p[18] || (p[18] = [
1940
+ cl(ol("取消"))
1941
+ ])),
1942
+ _: 1,
1943
+ __: [18]
1939
1944
  }),
1940
1945
  s(Ce, {
1941
1946
  class: "ok-button",
1942
1947
  onClick: p[7] || (p[7] = (Ue) => n(uo)()),
1943
1948
  id: "themeButton"
1944
1949
  }, {
1945
- default: o(() => [...p[19] || (p[19] = [
1946
- cl(ol("确认"), -1)
1947
- ])]),
1948
- _: 1
1950
+ default: o(() => p[19] || (p[19] = [
1951
+ cl(ol("确认"))
1952
+ ])),
1953
+ _: 1,
1954
+ __: [19]
1949
1955
  })
1950
1956
  ])
1951
1957
  ]),
@@ -2173,7 +2179,7 @@ const Uo = /* @__PURE__ */ Kl(Ro, [["render", Vo], ["__scopeId", "data-v-ca3f1fb
2173
2179
  },
2174
2180
  emits: ["update:modelValue", "get", "clear"],
2175
2181
  setup(l, { emit: C }) {
2176
- const c = l, h = C, M = yn(() => import("./localIcon-CoJHw5ss.js")), U = yn(() => import("./eleIcon-BoKZ_PzU.js")), I = B(), x = xl({
2182
+ const c = l, h = C, M = yn(() => import("./localIcon-D5UoFBU5.js")), U = yn(() => import("./eleIcon-C7Pz9jha.js")), I = B(), x = xl({
2177
2183
  fontIconPrefix: "",
2178
2184
  fontIconWidth: 0,
2179
2185
  fontIconSearch: "",
@@ -2601,7 +2607,7 @@ function sr(l = "menu") {
2601
2607
  }), wl = B(null), de = () => {
2602
2608
  ze.show = !1, g();
2603
2609
  }, y = (i) => {
2604
- S.title = "", S.icon = "", ze.type = "create", ze.show = !0;
2610
+ _.title = "", _.icon = "", ze.type = "create", ze.show = !0;
2605
2611
  }, Ye = async (i) => {
2606
2612
  var N, G, t;
2607
2613
  let k;
@@ -2617,7 +2623,7 @@ function sr(l = "menu") {
2617
2623
  order_no: "",
2618
2624
  isShow: !0
2619
2625
  }, A = await tr(ze.type, d);
2620
- ((N = A == null ? void 0 : A.data) == null ? void 0 : N.code) === 200 && (k = (t = (G = A == null ? void 0 : A.data) == null ? void 0 : G.result) == null ? void 0 : t.object_id, _l.success("新增成功"));
2626
+ ((N = A == null ? void 0 : A.data) == null ? void 0 : N.code) === 200 && (k = (t = (G = A == null ? void 0 : A.data) == null ? void 0 : G.result) == null ? void 0 : t.object_id, Sl.success("新增成功"));
2621
2627
  } catch (d) {
2622
2628
  throw new Error(d);
2623
2629
  } finally {
@@ -2632,19 +2638,19 @@ function sr(l = "menu") {
2632
2638
  }
2633
2639
  function Te(i, k) {
2634
2640
  if (!k) return [];
2635
- const N = [], G = new RegExp(`(^|/)${k}(/|$)`), t = Al(ee.value), d = Ql(t, "path", S == null ? void 0 : S.path);
2641
+ const N = [], G = new RegExp(`(^|/)${k}(/|$)`), t = Al(ee.value), d = Ql(t, "path", _ == null ? void 0 : _.path);
2636
2642
  for (const [A, W] of i.entries())
2637
2643
  G.test(W == null ? void 0 : W.object_name) && N.push({
2638
2644
  id: A,
2639
2645
  //批量替换匹配项的path
2640
- path: he(W == null ? void 0 : W.object_name, d == null ? void 0 : d.level, S == null ? void 0 : S.title),
2646
+ path: he(W == null ? void 0 : W.object_name, d == null ? void 0 : d.level, _ == null ? void 0 : _.title),
2641
2647
  //同步修改fatherName同步点击行面包屑下拉触发
2642
2648
  father_name: W == null ? void 0 : W.father_name
2643
2649
  }), G.test(W == null ? void 0 : W.father_name) && (W != null && W.father_name) && N.push({
2644
2650
  id: A,
2645
2651
  path: W == null ? void 0 : W.object_name,
2646
2652
  //同步修改fatherName同步点击行面包屑下拉触发
2647
- father_name: he(W == null ? void 0 : W.father_name, d == null ? void 0 : d.level, S == null ? void 0 : S.title)
2653
+ father_name: he(W == null ? void 0 : W.father_name, d == null ? void 0 : d.level, _ == null ? void 0 : _.title)
2648
2654
  });
2649
2655
  return N;
2650
2656
  }
@@ -2652,7 +2658,7 @@ function sr(l = "menu") {
2652
2658
  var i, k, N, G;
2653
2659
  al.value = !0;
2654
2660
  try {
2655
- const t = Te(u.value, S == null ? void 0 : S.path);
2661
+ const t = Te(u.value, _ == null ? void 0 : _.path);
2656
2662
  if (!(t != null && t.length)) return;
2657
2663
  const d = {
2658
2664
  platId: Number(sessionStorage.getItem("systemKey")),
@@ -2667,12 +2673,12 @@ function sr(l = "menu") {
2667
2673
  }
2668
2674
  ]
2669
2675
  }, A = await at(d);
2670
- ((i = A == null ? void 0 : A.data) == null ? void 0 : i.code) === 200 && ((N = (k = A == null ? void 0 : A.data) == null ? void 0 : k.message) != null && N.includes("成功")) && (ee.value = (G = ee.value) == null ? void 0 : G.map((W) => (W == null ? void 0 : W.path) === (S == null ? void 0 : S.path) ? {
2676
+ ((i = A == null ? void 0 : A.data) == null ? void 0 : i.code) === 200 && ((N = (k = A == null ? void 0 : A.data) == null ? void 0 : k.message) != null && N.includes("成功")) && (ee.value = (G = ee.value) == null ? void 0 : G.map((W) => (W == null ? void 0 : W.path) === (_ == null ? void 0 : _.path) ? {
2671
2677
  ...W,
2672
- title: S == null ? void 0 : S.title,
2673
- icon: S == null ? void 0 : S.icon,
2674
- path: S == null ? void 0 : S.title
2675
- } : W), _l.success("修改成功"));
2678
+ title: _ == null ? void 0 : _.title,
2679
+ icon: _ == null ? void 0 : _.icon,
2680
+ path: _ == null ? void 0 : _.title
2681
+ } : W), Sl.success("修改成功"));
2676
2682
  } catch (t) {
2677
2683
  throw new Error(t);
2678
2684
  } finally {
@@ -2685,8 +2691,8 @@ function sr(l = "menu") {
2685
2691
  switch (ze.type) {
2686
2692
  case "create":
2687
2693
  ee.value.push({
2688
- ...S,
2689
- path: S == null ? void 0 : S.title,
2694
+ ..._,
2695
+ path: _ == null ? void 0 : _.title,
2690
2696
  level: 0,
2691
2697
  carryData: !1,
2692
2698
  children: [],
@@ -2720,7 +2726,7 @@ function sr(l = "menu") {
2720
2726
  }
2721
2727
  ]
2722
2728
  }, t = await Pt(G);
2723
- ((d = t == null ? void 0 : t.data) == null ? void 0 : d.code) === 200 && ((W = (A = t == null ? void 0 : t.data) == null ? void 0 : A.message) != null && W.includes("成功")) && (ee.value = (re = ve.value) == null ? void 0 : re.filter((We) => (We == null ? void 0 : We.path) !== (i == null ? void 0 : i.path)), Ze.value = Date.now(), ze.show = !1, g(), M.setAsideEditMenus([]), _l.success("删除成功"));
2729
+ ((d = t == null ? void 0 : t.data) == null ? void 0 : d.code) === 200 && ((W = (A = t == null ? void 0 : t.data) == null ? void 0 : A.message) != null && W.includes("成功")) && (ee.value = (re = ve.value) == null ? void 0 : re.filter((We) => (We == null ? void 0 : We.path) !== (i == null ? void 0 : i.path)), Ze.value = Date.now(), ze.show = !1, g(), M.setAsideEditMenus([]), Sl.success("删除成功"));
2724
2730
  });
2725
2731
  } catch (k) {
2726
2732
  throw new Error(k);
@@ -2728,9 +2734,9 @@ function sr(l = "menu") {
2728
2734
  al.value = !1;
2729
2735
  }
2730
2736
  }, g = () => {
2731
- for (const i in S)
2732
- S[i] = "";
2733
- }, S = xl({
2737
+ for (const i in _)
2738
+ _[i] = "";
2739
+ }, _ = xl({
2734
2740
  title: "",
2735
2741
  icon: "",
2736
2742
  path: ""
@@ -2739,7 +2745,7 @@ function sr(l = "menu") {
2739
2745
  { required: !0, message: "请输入", trigger: "blur" }
2740
2746
  ]
2741
2747
  }), ce = (i) => {
2742
- S.title = i == null ? void 0 : i.title, S.icon = i == null ? void 0 : i.icon, S.path = i == null ? void 0 : i.path, ze.type = "update", ze.show = !1, c("closePlusDialog"), Fl(() => {
2748
+ _.title = i == null ? void 0 : i.title, _.icon = i == null ? void 0 : i.icon, _.path = i == null ? void 0 : i.path, ze.type = "update", ze.show = !1, c("closePlusDialog"), Fl(() => {
2743
2749
  var k;
2744
2750
  (k = qe.value) == null || k.focus();
2745
2751
  });
@@ -2765,7 +2771,7 @@ function sr(l = "menu") {
2765
2771
  create_time: (t = /* @__PURE__ */ new Date()) == null ? void 0 : t.getTime()
2766
2772
  }), c("closeEditing"), (d = j.value) == null || d.handleResize(), al.value = !1;
2767
2773
  }
2768
- S.title = k == null ? void 0 : k.title, S.icon = k == null ? void 0 : k.icon, S.path = k == null ? void 0 : k.path;
2774
+ _.title = k == null ? void 0 : k.title, _.icon = k == null ? void 0 : k.icon, _.path = k == null ? void 0 : k.path;
2769
2775
  }, { immediate: !0, deep: !0 }), {
2770
2776
  menuRef: j,
2771
2777
  onDbClickMenu: ce,
@@ -2780,7 +2786,7 @@ function sr(l = "menu") {
2780
2786
  onCloseMenuPlusDialog: de,
2781
2787
  onConfirmMenu: a,
2782
2788
  onDeleteMenu: v,
2783
- menuForm: S,
2789
+ menuForm: _,
2784
2790
  menuRules: q,
2785
2791
  menuFormRef: wl,
2786
2792
  refreshKey: Ze,
@@ -2938,27 +2944,27 @@ function fr(l = "menu") {
2938
2944
  asideEditMenus: P,
2939
2945
  menuTriggerType: u,
2940
2946
  platform: se
2941
- } = yl(M), { fixMenuStatus: L } = yl(U), { isSuperAdmin: ee } = es(), w = kl(() => C == null ? void 0 : C.mode), m = (_) => _ == null ? void 0 : _.map((ke) => {
2947
+ } = yl(M), { fixMenuStatus: L } = yl(U), { isSuperAdmin: ee } = es(), w = kl(() => C == null ? void 0 : C.mode), m = (S) => S == null ? void 0 : S.map((ke) => {
2942
2948
  var Ae, He;
2943
2949
  return !(ke != null && ke.children) || ((Ae = ke == null ? void 0 : ke.children) == null ? void 0 : Ae.length) === 0 ? ke.config = h.value : ke != null && ke.children && ((He = ke == null ? void 0 : ke.children) == null ? void 0 : He.length) > 0 && (ke.children = m(ke.children)), ke;
2944
2950
  }), r = kl(() => {
2945
- let _ = [...P.value];
2946
- return (_ == null ? void 0 : _.length) === 0 ? (D.push("/"), []) : (il(_, ll.value), _ = _ == null ? void 0 : _.map((oe) => {
2951
+ let S = [...P.value];
2952
+ return (S == null ? void 0 : S.length) === 0 ? (D.push("/"), []) : (il(S, ll.value), S = S == null ? void 0 : S.map((oe) => {
2947
2953
  var ke, Ae;
2948
2954
  return !(oe != null && oe.children) || ((ke = oe == null ? void 0 : oe.children) == null ? void 0 : ke.length) === 0 ? oe.config = h.value : oe != null && oe.children && ((Ae = oe == null ? void 0 : oe.children) == null ? void 0 : Ae.length) > 0 && (oe.children = m(oe.children)), oe;
2949
- }), _);
2950
- }), Ee = (_) => {
2955
+ }), S);
2956
+ }), Ee = (S) => {
2951
2957
  var xe, Ve;
2952
2958
  const oe = (Z) => {
2953
2959
  const Le = [...Z.groups].sort().join("|");
2954
2960
  return `${Z.menus}|${Le}`;
2955
2961
  }, ke = /* @__PURE__ */ new Map();
2956
- (xe = _ == null ? void 0 : _.sonSyncs) == null || xe.forEach((Z) => {
2962
+ (xe = S == null ? void 0 : S.sonSyncs) == null || xe.forEach((Z) => {
2957
2963
  const Le = oe(Z);
2958
2964
  ke != null && ke.has(Le) || ke.set(Le, Z);
2959
2965
  });
2960
2966
  const Ae = /* @__PURE__ */ new Map();
2961
- (Ve = _ == null ? void 0 : _.fatherSyncs) == null || Ve.forEach((Z) => {
2967
+ (Ve = S == null ? void 0 : S.fatherSyncs) == null || Ve.forEach((Z) => {
2962
2968
  const Le = oe(Z);
2963
2969
  Ae != null && Ae.has(Le) || Ae.set(Le, Z);
2964
2970
  });
@@ -2990,13 +2996,13 @@ function fr(l = "menu") {
2990
2996
  };
2991
2997
  })
2992
2998
  ];
2993
- }, ye = B([]), O = B([]), F = async (_) => {
2994
- var oe, ke, Ae, He, K, te, xe, Ve, Z, Le, z, p, Y, Ce, pe, _e, J, we, Pe, ge, $e, el;
2999
+ }, ye = B([]), O = B([]), F = async (S) => {
3000
+ var oe, ke, Ae, He, K, te, xe, Ve, Z, Le, z, p, Y, Ce, pe, Se, J, we, Pe, ge, $e, el;
2995
3001
  try {
2996
3002
  if (!e.value) return;
2997
3003
  const Il = /* @__PURE__ */ new Map(), Ml = /* @__PURE__ */ new Map(), pl = await Ca({
2998
3004
  platId: Number(sessionStorage.getItem("systemKey")),
2999
- pageName: _ == null ? void 0 : _.path
3005
+ pageName: S == null ? void 0 : S.path
3000
3006
  });
3001
3007
  if (((oe = pl == null ? void 0 : pl.data) == null ? void 0 : oe.code) === 200) {
3002
3008
  const Ke = (Ae = (ke = pl == null ? void 0 : pl.data) == null ? void 0 : ke.result) == null ? void 0 : Ae.filter((Ie) => Ie == null ? void 0 : Ie.property_name);
@@ -3009,14 +3015,14 @@ function fr(l = "menu") {
3009
3015
  })) == null ? void 0 : te.value) == null ? void 0 : xe[0], El = (Z = (Ve = Ie == null ? void 0 : Ie.contents) == null ? void 0 : Ve.find((ml) => {
3010
3016
  var Jl;
3011
3017
  return (Jl = ml == null ? void 0 : ml.key) == null ? void 0 : Jl.includes("content");
3012
- })) == null ? void 0 : Z.value, Vl = Array.isArray(((z = (Le = Qe == null ? void 0 : Qe.结构) == null ? void 0 : Le.contents) == null ? void 0 : z[0]) || ""), Cl = Vl ? (Y = (p = Qe == null ? void 0 : Qe.结构) == null ? void 0 : p.contents) == null ? void 0 : Y.flatMap((ml) => ml) : (Ce = Qe == null ? void 0 : Qe.结构) == null ? void 0 : Ce.contents, Sl = ["sort", "disabled", "relatedId"], Ol = [
3018
+ })) == null ? void 0 : Z.value, Vl = Array.isArray(((z = (Le = Qe == null ? void 0 : Qe.结构) == null ? void 0 : Le.contents) == null ? void 0 : z[0]) || ""), Cl = Vl ? (Y = (p = Qe == null ? void 0 : Qe.结构) == null ? void 0 : p.contents) == null ? void 0 : Y.flatMap((ml) => ml) : (Ce = Qe == null ? void 0 : Qe.结构) == null ? void 0 : Ce.contents, _l = ["sort", "disabled", "relatedId"], Ol = [
3013
3019
  {
3014
3020
  key: "tableContents",
3015
3021
  contents: El
3016
3022
  },
3017
3023
  {
3018
3024
  key: "header",
3019
- contents: Cl == null ? void 0 : Cl.filter((ml) => !(Sl != null && Sl.includes(ml == null ? void 0 : ml.prop)))
3025
+ contents: Cl == null ? void 0 : Cl.filter((ml) => !(_l != null && _l.includes(ml == null ? void 0 : ml.prop)))
3020
3026
  },
3021
3027
  {
3022
3028
  key: "filter",
@@ -3028,8 +3034,8 @@ function fr(l = "menu") {
3028
3034
  groupName: Ie == null ? void 0 : Ie.property_name,
3029
3035
  groupType: (Qe == null ? void 0 : Qe.类型) || "",
3030
3036
  //注意多级表头处理
3031
- columns: (_e = hl == null ? void 0 : hl.contents) != null && _e.length ? hl == null ? void 0 : hl.contents : Cl,
3032
- hiddenColumns: Cl == null ? void 0 : Cl.filter((ml) => Sl == null ? void 0 : Sl.includes(ml == null ? void 0 : ml.prop)),
3037
+ columns: (Se = hl == null ? void 0 : hl.contents) != null && Se.length ? hl == null ? void 0 : hl.contents : Cl,
3038
+ hiddenColumns: Cl == null ? void 0 : Cl.filter((ml) => _l == null ? void 0 : _l.includes(ml == null ? void 0 : ml.prop)),
3033
3039
  namePath: ((J = Object.values(Ie == null ? void 0 : Ie.name)) == null ? void 0 : J.length) > 0 ? (we = Object.values(Ie == null ? void 0 : Ie.name)) == null ? void 0 : we.join("/") : "",
3034
3040
  hasMultiHeader: Vl,
3035
3041
  hasContent: (Ie == null ? void 0 : Ie.contents) && ((Pe = Ie == null ? void 0 : Ie.contents) == null ? void 0 : Pe.length),
@@ -3044,7 +3050,7 @@ function fr(l = "menu") {
3044
3050
  id: Qe == null ? void 0 : Qe.id,
3045
3051
  content: (el = Qe == null ? void 0 : Qe.引用) == null ? void 0 : el.contents
3046
3052
  },
3047
- menuId: _ == null ? void 0 : _.id
3053
+ menuId: S == null ? void 0 : S.id
3048
3054
  });
3049
3055
  }
3050
3056
  let Ue = [];
@@ -3056,17 +3062,17 @@ function fr(l = "menu") {
3056
3062
  } catch (Il) {
3057
3063
  throw new Error(Il);
3058
3064
  }
3059
- }, ve = B({}), X = async (_) => {
3060
- M.setActiveAsideEditMenuPath(_ == null ? void 0 : _.path), ve.value = Al(_), await F(_);
3061
- }, Be = async (_) => {
3062
- L.value ? U.setFixMenuStatus(!1) : (g.value && (u.value = "open"), u.value === "click" ? R.value === 1 ? M.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : M.setActiveAsideEditMenuPath(_) : g.value || (M.setMenuTriggerType("click"), M.setActiveAsideEditMenuPath(_))), _ != null && _.startsWith("/") ? D.push(_) : D.push("/"), R.value++;
3063
- const oe = Ql(r.value, "path", _);
3065
+ }, ve = B({}), X = async (S) => {
3066
+ M.setActiveAsideEditMenuPath(S == null ? void 0 : S.path), ve.value = Al(S), await F(S);
3067
+ }, Be = async (S) => {
3068
+ L.value ? U.setFixMenuStatus(!1) : (g.value && (u.value = "open"), u.value === "click" ? R.value === 1 ? M.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : M.setActiveAsideEditMenuPath(S) : g.value || (M.setMenuTriggerType("click"), M.setActiveAsideEditMenuPath(S))), S != null && S.startsWith("/") ? D.push(S) : D.push("/"), R.value++;
3069
+ const oe = Ql(r.value, "path", S);
3064
3070
  oe && (ve.value = Al(oe), await F(oe));
3065
- }, me = (_) => {
3066
- g.value || M.setActiveMenuPath(_);
3067
- }, Oe = (_) => {
3071
+ }, me = (S) => {
3072
+ g.value || M.setActiveMenuPath(S);
3073
+ }, Oe = (S) => {
3068
3074
  const oe = document.documentElement;
3069
- _ == null || _.forEach((ke) => {
3075
+ S == null || S.forEach((ke) => {
3070
3076
  oe.style.setProperty(ke.name, ke.value);
3071
3077
  });
3072
3078
  };
@@ -3074,44 +3080,44 @@ function fr(l = "menu") {
3074
3080
  R.value = 1;
3075
3081
  });
3076
3082
  const ll = kl(() => {
3077
- const _ = sessionStorage.getItem("authority");
3078
- return _ ? JSON.parse(_) : [];
3083
+ const S = sessionStorage.getItem("authority");
3084
+ return S ? JSON.parse(S) : [];
3079
3085
  });
3080
3086
  vl(
3081
3087
  () => se.value,
3082
- (_) => {
3083
- _ === "browser" ? Oe(ut) : _ === "client" ? (Oe(dt), Oe(pt)) : _ === "three" && (Oe(ft), Oe(vt));
3088
+ (S) => {
3089
+ S === "browser" ? Oe(ut) : S === "client" ? (Oe(dt), Oe(pt)) : S === "three" && (Oe(ft), Oe(vt));
3084
3090
  },
3085
3091
  { immediate: !0 }
3086
- ), vl(() => C == null ? void 0 : C.isRefreshGroups, async (_) => {
3092
+ ), vl(() => C == null ? void 0 : C.isRefreshGroups, async (S) => {
3087
3093
  ve.value && await X(ve.value);
3088
3094
  }, { immediate: !0 });
3089
- const il = (_, oe) => ({
3095
+ const il = (S, oe) => ({
3090
3096
  isFlag: !0
3091
3097
  }), dl = xl({
3092
3098
  show: !1,
3093
3099
  title: "菜单配置",
3094
3100
  width: "30%",
3095
3101
  type: "create"
3096
- }), fl = (_) => Zn(_), ze = B({}), wl = B([]), de = B({}), y = B({}), Ye = B({}), he = (_) => {
3102
+ }), fl = (S) => Zn(S), ze = B({}), wl = B([]), de = B({}), y = B({}), Ye = B({}), he = (S) => {
3097
3103
  M.setCacheInputMenu({
3098
3104
  type: dl.type,
3099
- data: _
3105
+ data: S
3100
3106
  }), M.setIsRefreshMenus(!0);
3101
- }, Te = async (_, oe) => {
3107
+ }, Te = async (S, oe) => {
3102
3108
  M.setIsRefreshMenus(!1), M.setIsRefreshMenus(!0), ie.value = void 0;
3103
- }, al = (_) => {
3109
+ }, al = (S) => {
3104
3110
  b.value = !0;
3105
3111
  try {
3106
- ma.confirm(`确认删除【${_ == null ? void 0 : _.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3112
+ ma.confirm(`确认删除【${S == null ? void 0 : S.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3107
3113
  confirmButtonText: "确认",
3108
3114
  cancelButtonText: "取消",
3109
3115
  type: "warning"
3110
3116
  }).then(async () => {
3111
3117
  var K, te, xe, Ve, Z, Le, z;
3112
- const oe = ne(e.value, _ == null ? void 0 : _.path), ke = oe != null && oe.length ? oe == null ? void 0 : oe.map((p) => ({
3118
+ const oe = ne(e.value, S == null ? void 0 : S.path), ke = oe != null && oe.length ? oe == null ? void 0 : oe.map((p) => ({
3113
3119
  object_id: p == null ? void 0 : p.id
3114
- })) : [{ object_id: _ == null ? void 0 : _.id }], Ae = {
3120
+ })) : [{ object_id: S == null ? void 0 : S.id }], Ae = {
3115
3121
  platId: Number(sessionStorage.getItem("systemKey")),
3116
3122
  changeContents: [
3117
3123
  {
@@ -3121,14 +3127,14 @@ function fr(l = "menu") {
3121
3127
  ]
3122
3128
  }, He = await Pt(Ae);
3123
3129
  if (((K = He == null ? void 0 : He.data) == null ? void 0 : K.code) === 200 && ((xe = (te = He == null ? void 0 : He.data) == null ? void 0 : te.message) != null && xe.includes("成功"))) {
3124
- const p = (Ve = _ == null ? void 0 : _.path) == null ? void 0 : Ve.split("/"), Y = (Z = p == null ? void 0 : p.slice(0, -1)) == null ? void 0 : Z.join("/"), Ce = Ql(r.value, "path", Y);
3130
+ const p = (Ve = S == null ? void 0 : S.path) == null ? void 0 : Ve.split("/"), Y = (Z = p == null ? void 0 : p.slice(0, -1)) == null ? void 0 : Z.join("/"), Ce = Ql(r.value, "path", Y);
3125
3131
  if (Ce)
3126
- Ce.children = (Le = Ce.children) == null ? void 0 : Le.filter((pe) => (pe == null ? void 0 : pe.path) !== (_ == null ? void 0 : _.path));
3132
+ Ce.children = (Le = Ce.children) == null ? void 0 : Le.filter((pe) => (pe == null ? void 0 : pe.path) !== (S == null ? void 0 : S.path));
3127
3133
  else {
3128
- const pe = (z = r.value) == null ? void 0 : z.filter((_e) => (_e == null ? void 0 : _e.path) !== (_ == null ? void 0 : _.path));
3134
+ const pe = (z = r.value) == null ? void 0 : z.filter((Se) => (Se == null ? void 0 : Se.path) !== (S == null ? void 0 : S.path));
3129
3135
  M.setAsideEditMenus(pe);
3130
3136
  }
3131
- await tt(), W.value = Date.now(), G(), q.show = !1, _l.success("删除成功");
3137
+ await tt(), W.value = Date.now(), G(), q.show = !1, Sl.success("删除成功");
3132
3138
  }
3133
3139
  });
3134
3140
  } catch (oe) {
@@ -3136,13 +3142,13 @@ function fr(l = "menu") {
3136
3142
  } finally {
3137
3143
  b.value = !1;
3138
3144
  }
3139
- }, qe = (_, oe) => {
3140
- switch (X(_), oe == null ? void 0 : oe.value) {
3145
+ }, qe = (S, oe) => {
3146
+ switch (X(S), oe == null ? void 0 : oe.value) {
3141
3147
  case "delete":
3142
- al(_);
3148
+ al(S);
3143
3149
  break;
3144
3150
  case "create":
3145
- d(_);
3151
+ d(S);
3146
3152
  break;
3147
3153
  case "createCompName":
3148
3154
  ce.type = "create", ce.show = !0;
@@ -3150,10 +3156,10 @@ function fr(l = "menu") {
3150
3156
  }
3151
3157
  }, nl = () => {
3152
3158
  dl.show = !1;
3153
- }, Ze = (_) => _ == null ? void 0 : _.filter((oe) => oe.allowInherit), a = () => {
3159
+ }, Ze = (S) => S == null ? void 0 : S.filter((oe) => oe.allowInherit), a = () => {
3154
3160
  var ke, Ae, He, K, te;
3155
- let _;
3156
- dl.type === "create" && (_ = ((ke = y.value) == null ? void 0 : ke.path) + "/" + de.value[(Ae = de.value) == null ? void 0 : Ae.prop]), dl.type === "update" && (_ = (He = y.value) == null ? void 0 : He.path);
3161
+ let S;
3162
+ dl.type === "create" && (S = ((ke = y.value) == null ? void 0 : ke.path) + "/" + de.value[(Ae = de.value) == null ? void 0 : Ae.prop]), dl.type === "update" && (S = (He = y.value) == null ? void 0 : He.path);
3157
3163
  const oe = {
3158
3164
  ...y.value,
3159
3165
  //是否继承父菜单的配置
@@ -3161,17 +3167,17 @@ function fr(l = "menu") {
3161
3167
  children: [],
3162
3168
  childMenus: [],
3163
3169
  title: de.value[(te = de.value) == null ? void 0 : te.prop],
3164
- path: _
3170
+ path: S
3165
3171
  };
3166
3172
  console.log("clickSubmitForm", Ye.value, y.value, oe), he(oe), dl.show = !1;
3167
- }, v = (_) => {
3173
+ }, v = (S) => {
3168
3174
  var ke, Ae;
3169
- const oe = (ke = _ == null ? void 0 : _.contents) == null ? void 0 : ke.find((He) => He.key === "formContent");
3175
+ const oe = (ke = S == null ? void 0 : S.contents) == null ? void 0 : ke.find((He) => He.key === "formContent");
3170
3176
  oe && (de.value = (Ae = oe == null ? void 0 : oe.contents) == null ? void 0 : Ae.reduce(
3171
3177
  (He, K) => (He[K.key] = K.value, He.prop = K.key, He),
3172
3178
  {}
3173
3179
  ));
3174
- }, g = B(!1), S = () => {
3180
+ }, g = B(!1), _ = () => {
3175
3181
  g.value = !g.value;
3176
3182
  }, q = xl({
3177
3183
  show: !1,
@@ -3189,24 +3195,24 @@ function fr(l = "menu") {
3189
3195
  }, N = () => {
3190
3196
  ce.show = !1, t(), ve.value && X(ve.value);
3191
3197
  }, G = () => {
3192
- for (const _ in ue)
3193
- ue[_] = "";
3198
+ for (const S in ue)
3199
+ ue[S] = "";
3194
3200
  }, t = () => {
3195
- for (const _ in H)
3196
- H[_] = "";
3197
- }, d = (_) => {
3198
- G(), q.parentPath = _ == null ? void 0 : _.path, q.type = "create", q.show = !0, Fl(() => {
3201
+ for (const S in H)
3202
+ H[S] = "";
3203
+ }, d = (S) => {
3204
+ G(), q.parentPath = S == null ? void 0 : S.path, q.type = "create", q.show = !0, Fl(() => {
3199
3205
  var oe;
3200
3206
  (oe = sl.value) == null || oe.focus();
3201
3207
  });
3202
- }, A = async (_) => {
3208
+ }, A = async (S) => {
3203
3209
  var ke, Ae, He;
3204
3210
  let oe;
3205
3211
  try {
3206
3212
  const K = {
3207
3213
  //新增
3208
3214
  platId: Number(sessionStorage.getItem("systemKey")),
3209
- objectName: _ == null ? void 0 : _.path,
3215
+ objectName: S == null ? void 0 : S.path,
3210
3216
  //path
3211
3217
  // propertyName: data?.title,//title,框架设计,该字段是自动获取name生成的,不需要传
3212
3218
  // fatherObjectId: "",
@@ -3214,7 +3220,7 @@ function fr(l = "menu") {
3214
3220
  order_no: "",
3215
3221
  isShow: !0
3216
3222
  }, te = await nr(q.type, K);
3217
- ((ke = te == null ? void 0 : te.data) == null ? void 0 : ke.code) === 200 && (oe = (He = (Ae = te == null ? void 0 : te.data) == null ? void 0 : Ae.result) == null ? void 0 : He.object_id, _l.success("新增成功"));
3223
+ ((ke = te == null ? void 0 : te.data) == null ? void 0 : ke.code) === 200 && (oe = (He = (Ae = te == null ? void 0 : te.data) == null ? void 0 : Ae.result) == null ? void 0 : He.object_id, Sl.success("新增成功"));
3218
3224
  } catch (K) {
3219
3225
  throw new Error(K);
3220
3226
  } finally {
@@ -3222,10 +3228,10 @@ function fr(l = "menu") {
3222
3228
  }
3223
3229
  return oe;
3224
3230
  }, W = B(0), re = B(""), We = () => {
3225
- var _;
3231
+ var S;
3226
3232
  b.value = !0, re.value = "";
3227
3233
  try {
3228
- (_ = j.value) == null || _.validate(async (oe) => {
3234
+ (S = j.value) == null || S.validate(async (oe) => {
3229
3235
  if (oe) {
3230
3236
  switch (q.type) {
3231
3237
  case "create":
@@ -3273,16 +3279,16 @@ function fr(l = "menu") {
3273
3279
  } finally {
3274
3280
  b.value = !1;
3275
3281
  }
3276
- }, rl = async (_) => {
3282
+ }, rl = async (S) => {
3277
3283
  try {
3278
- ma.confirm(`确认删除【${_ == null ? void 0 : _.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3284
+ ma.confirm(`确认删除【${S == null ? void 0 : S.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3279
3285
  confirmButtonText: "确认",
3280
3286
  cancelButtonText: "取消",
3281
3287
  type: "warning"
3282
3288
  }).then(async () => {
3283
3289
  var He, K, te, xe;
3284
3290
  q.type = "delete";
3285
- const oe = ne(e.value, _ == null ? void 0 : _.path), ke = {
3291
+ const oe = ne(e.value, S == null ? void 0 : S.path), ke = {
3286
3292
  platId: Number(sessionStorage.getItem("systemKey")),
3287
3293
  changeContents: [
3288
3294
  {
@@ -3294,24 +3300,24 @@ function fr(l = "menu") {
3294
3300
  ]
3295
3301
  }, Ae = await Pt(ke);
3296
3302
  if (((He = Ae == null ? void 0 : Ae.data) == null ? void 0 : He.code) === 200 && ((te = (K = Ae == null ? void 0 : Ae.data) == null ? void 0 : K.message) != null && te.includes("成功"))) {
3297
- const Ve = (xe = r.value) == null ? void 0 : xe.filter((Z) => (Z == null ? void 0 : Z.path) !== (_ == null ? void 0 : _.path));
3298
- M.setAsideEditMenus(Ve), W.value = Date.now(), q.show = !1, G(), _l.success("删除成功");
3303
+ const Ve = (xe = r.value) == null ? void 0 : xe.filter((Z) => (Z == null ? void 0 : Z.path) !== (S == null ? void 0 : S.path));
3304
+ M.setAsideEditMenus(Ve), W.value = Date.now(), q.show = !1, G(), Sl.success("删除成功");
3299
3305
  }
3300
3306
  });
3301
3307
  } catch (oe) {
3302
3308
  throw new Error(oe);
3303
3309
  } finally {
3304
- await F(_);
3310
+ await F(S);
3305
3311
  }
3306
3312
  };
3307
- function be(_, oe, ke) {
3308
- if (!_) return _;
3309
- const Ae = _.split("/");
3310
- return oe < 0 || oe >= Ae.length ? (console.warn(`索引 ${oe} 超出范围,路径共有 ${Ae.length} 个片段`), _) : (Ae[oe] = ke, Ae.join("/"));
3313
+ function be(S, oe, ke) {
3314
+ if (!S) return S;
3315
+ const Ae = S.split("/");
3316
+ return oe < 0 || oe >= Ae.length ? (console.warn(`索引 ${oe} 超出范围,路径共有 ${Ae.length} 个片段`), S) : (Ae[oe] = ke, Ae.join("/"));
3311
3317
  }
3312
- function ne(_, oe) {
3318
+ function ne(S, oe) {
3313
3319
  const ke = [], Ae = new RegExp(`(^|/)${oe}(/|$)`), He = Al(r.value), K = Ql(He, "path", ue == null ? void 0 : ue.path);
3314
- for (const [te, xe] of _.entries())
3320
+ for (const [te, xe] of S.entries())
3315
3321
  Ae.test(xe == null ? void 0 : xe.object_name) && ke.push({
3316
3322
  id: te,
3317
3323
  //批量替换匹配项的path
@@ -3327,7 +3333,7 @@ function fr(l = "menu") {
3327
3333
  return ke;
3328
3334
  }
3329
3335
  const b = B(!1), Me = async () => {
3330
- var _, oe, ke;
3336
+ var S, oe, ke;
3331
3337
  try {
3332
3338
  const Ae = ne(e.value, ue == null ? void 0 : ue.path);
3333
3339
  if (!(Ae != null && Ae.length)) return;
@@ -3344,22 +3350,22 @@ function fr(l = "menu") {
3344
3350
  }
3345
3351
  ]
3346
3352
  }, K = await at(He);
3347
- if (((_ = K == null ? void 0 : K.data) == null ? void 0 : _.code) === 200 && ((ke = (oe = K == null ? void 0 : K.data) == null ? void 0 : oe.message) != null && ke.includes("成功"))) {
3353
+ if (((S = K == null ? void 0 : K.data) == null ? void 0 : S.code) === 200 && ((ke = (oe = K == null ? void 0 : K.data) == null ? void 0 : oe.message) != null && ke.includes("成功"))) {
3348
3354
  const te = Ql(r.value, "path", ue.path);
3349
3355
  if (!te) return;
3350
- te.icon = ue == null ? void 0 : ue.icon, te.title = ue == null ? void 0 : ue.title, te.path = ue == null ? void 0 : ue.path, _l.success("修改成功");
3356
+ te.icon = ue == null ? void 0 : ue.icon, te.title = ue == null ? void 0 : ue.title, te.path = ue == null ? void 0 : ue.path, Sl.success("修改成功");
3351
3357
  }
3352
3358
  } catch (Ae) {
3353
3359
  throw new Error(Ae);
3354
3360
  }
3355
3361
  }, De = () => {
3356
- var _;
3362
+ var S;
3357
3363
  b.value = !0;
3358
3364
  try {
3359
- (_ = i.value) == null || _.validate(async (oe) => {
3365
+ (S = i.value) == null || S.validate(async (oe) => {
3360
3366
  var ke, Ae, He, K, te, xe, Ve;
3361
3367
  if (oe) {
3362
- if (!((ke = ve.value) != null && ke.path)) return _l.warning("请先选择所属菜单");
3368
+ if (!((ke = ve.value) != null && ke.path)) return Sl.warning("请先选择所属菜单");
3363
3369
  const Z = Ql(O.value, "groupId", H == null ? void 0 : H.pid);
3364
3370
  let Le;
3365
3371
  Z ? Le = [...((Ae = Z == null ? void 0 : Z.namePath) == null ? void 0 : Ae.split("/")) ?? [], H == null ? void 0 : H.title] : Le = [H == null ? void 0 : H.title];
@@ -3378,7 +3384,7 @@ function fr(l = "menu") {
3378
3384
  order_no: Number(((xe = (te = ye.value) == null ? void 0 : te[((K = ye.value) == null ? void 0 : K.length) - 1]) == null ? void 0 : xe.order_no) || 0) + 1,
3379
3385
  isShow: !0
3380
3386
  }, p = await Ot(ce.type, z);
3381
- ((Ve = p == null ? void 0 : p.data) == null ? void 0 : Ve.code) === 200 && (c("getCompForm", H), t(), await F(ve.value), _l.success("新增成功"), ve.value && X(ve.value), ce.show = !1);
3387
+ ((Ve = p == null ? void 0 : p.data) == null ? void 0 : Ve.code) === 200 && (c("getCompForm", H), t(), await F(ve.value), Sl.success("新增成功"), ve.value && X(ve.value), ce.show = !1);
3382
3388
  }
3383
3389
  });
3384
3390
  } catch (oe) {
@@ -3428,28 +3434,28 @@ function fr(l = "menu") {
3428
3434
  value: "delete",
3429
3435
  icon: "DeleteMenu"
3430
3436
  }
3431
- ], sl = B(null), Je = (_) => {
3432
- ue.title = _ == null ? void 0 : _.title, ue.icon = _ == null ? void 0 : _.icon, ue.path = _ == null ? void 0 : _.path, q.type = "update", q.show = !1, Fl(() => {
3437
+ ], sl = B(null), Je = (S) => {
3438
+ ue.title = S == null ? void 0 : S.title, ue.icon = S == null ? void 0 : S.icon, ue.path = S == null ? void 0 : S.path, q.type = "update", q.show = !1, Fl(() => {
3433
3439
  var oe;
3434
3440
  (oe = sl.value) == null || oe.focus();
3435
3441
  });
3436
- }, Se = B(null);
3437
- return vl(() => P.value, async (_) => {
3442
+ }, _e = B(null);
3443
+ return vl(() => P.value, async (S) => {
3438
3444
  var oe, ke;
3439
- if (_) {
3445
+ if (S) {
3440
3446
  await Fl();
3441
- const Ae = _ == null ? void 0 : _[0];
3447
+ const Ae = S == null ? void 0 : S[0];
3442
3448
  if (((oe = Ae == null ? void 0 : Ae.children) == null ? void 0 : oe.length) > 0) {
3443
3449
  const He = Ae == null ? void 0 : Ae.path;
3444
- if (!Se.value) return;
3445
- (ke = Se.value) == null || ke.openMenuRefByIndex(He), M.setActiveAsideEditMenuPath(He ?? "");
3450
+ if (!_e.value) return;
3451
+ (ke = _e.value) == null || ke.openMenuRefByIndex(He), M.setActiveAsideEditMenuPath(He ?? "");
3446
3452
  } else
3447
3453
  M.setActiveAsideEditMenuPath((Ae == null ? void 0 : Ae.path) ?? "");
3448
3454
  }
3449
3455
  }, { immediate: !0 }), {
3450
- menuRef: Se,
3456
+ menuRef: _e,
3451
3457
  isCollapse: g,
3452
- handleMenuCollapse: S,
3458
+ handleMenuCollapse: _,
3453
3459
  handleCompChange: v,
3454
3460
  dialogForm: ze,
3455
3461
  dialogRenderComps: wl,
@@ -3500,7 +3506,7 @@ const vr = Bl(fr()), hr = ["title", "onDblclick"], gr = { title: "确认" }, yr
3500
3506
  key: 0,
3501
3507
  title: "新建单元"
3502
3508
  }, Ar = { title: "确认" }, Ir = { title: "取消" }, Mr = { class: "dialog-footer" };
3503
- function Sr(l, C, c, h, M, U) {
3509
+ function _r(l, C, c, h, M, U) {
3504
3510
  var w;
3505
3511
  const I = le("svg-icon"), x = le("IconSelector"), R = le("el-input"), D = le("el-form-item"), ie = le("el-form"), e = le("el-popover"), E = le("ss-edit-menu"), T = le("el-cascader"), P = le("el-option"), u = le("el-select"), se = le("el-button"), L = le("ss-dialog"), ee = rt("loading");
3506
3512
  return f(), $(tl, null, [
@@ -3698,19 +3704,21 @@ function Sr(l, C, c, h, M, U) {
3698
3704
  footer: o(() => [
3699
3705
  V("div", Mr, [
3700
3706
  s(se, { onClick: l.onCloseGroupDialog }, {
3701
- default: o(() => [...C[7] || (C[7] = [
3702
- cl("取消", -1)
3703
- ])]),
3704
- _: 1
3707
+ default: o(() => C[7] || (C[7] = [
3708
+ cl("取消")
3709
+ ])),
3710
+ _: 1,
3711
+ __: [7]
3705
3712
  }, 8, ["onClick"]),
3706
3713
  s(se, {
3707
3714
  type: "primary",
3708
3715
  onClick: l.onConfirmGroup
3709
3716
  }, {
3710
- default: o(() => [...C[8] || (C[8] = [
3711
- cl("确认", -1)
3712
- ])]),
3713
- _: 1
3717
+ default: o(() => C[8] || (C[8] = [
3718
+ cl("确认")
3719
+ ])),
3720
+ _: 1,
3721
+ __: [8]
3714
3722
  }, 8, ["onClick"])
3715
3723
  ])
3716
3724
  ]),
@@ -3783,7 +3791,7 @@ function Sr(l, C, c, h, M, U) {
3783
3791
  }, 8, ["title", "width", "visible", "onBeforeDestroy"])
3784
3792
  ], 64);
3785
3793
  }
3786
- const _r = /* @__PURE__ */ Kl(vr, [["render", Sr], ["__scopeId", "data-v-7f84f446"]]), Tr = Xl(bl), { loginUserInfo: Zl } = yl(Tr), Br = jl(), is = async () => {
3794
+ const Sr = /* @__PURE__ */ Kl(vr, [["render", _r], ["__scopeId", "data-v-7f84f446"]]), Tr = Xl(bl), { loginUserInfo: Zl } = yl(Tr), Br = jl(), is = async () => {
3787
3795
  var C, c, h, M, U, I, x, R, D, ie;
3788
3796
  let l = await Ca({
3789
3797
  platId: parseInt((C = Zl == null ? void 0 : Zl.value) == null ? void 0 : C.plat_id),
@@ -4008,7 +4016,7 @@ const _r = /* @__PURE__ */ Kl(vr, [["render", Sr], ["__scopeId", "data-v-7f84f44
4008
4016
  return (X = String(ve == null ? void 0 : ve.id)) == null ? void 0 : X.includes("new");
4009
4017
  });
4010
4018
  if (r == "create" && ((F = U.value) == null ? void 0 : F.find((X) => (X == null ? void 0 : X.prop) === w)))
4011
- return _l.error("请勿创建重复参数名称");
4019
+ return Sl.error("请勿创建重复参数名称");
4012
4020
  h("onClickOperateData", r, {
4013
4021
  ...m,
4014
4022
  label: w,
@@ -4359,7 +4367,7 @@ const ql = (l, C) => {
4359
4367
  const c = jl(bl), { activeAsideEditMenuPath: h } = yl(c), M = l, U = C, I = B({}), x = (de, y) => {
4360
4368
  de && (I.value[y] = de);
4361
4369
  }, R = (de) => {
4362
- var Ye, he, Te, al, qe, nl, Ze, a, v, g, S, q, ce, j, i, k, N, G, t, d, A, W;
4370
+ var Ye, he, Te, al, qe, nl, Ze, a, v, g, _, q, ce, j, i, k, N, G, t, d, A, W;
4363
4371
  const y = JSON.parse(JSON.stringify(de));
4364
4372
  if (e && typeof e == "object" && ((Ye = Object.keys(y)) == null || Ye.forEach((re) => {
4365
4373
  re in e && (e[re] = y[re]);
@@ -4368,7 +4376,7 @@ const ql = (l, C) => {
4368
4376
  label: re == null ? void 0 : re.name,
4369
4377
  configInfo: re == null ? void 0 : re.configInfo
4370
4378
  })), (al = y == null ? void 0 : y.configInfo) != null && al.content) {
4371
- e.linkSource = Hr((qe = y == null ? void 0 : y.configInfo) == null ? void 0 : qe.content), e.formType = ql((nl = y == null ? void 0 : y.configInfo) == null ? void 0 : nl.content, "SubType") || "", e.view = ql((Ze = y == null ? void 0 : y.configInfo) == null ? void 0 : Ze.content, "EditRead") || "Read", e.maxRow = ql((a = y == null ? void 0 : y.configInfo) == null ? void 0 : a.content, "MaxRow") || "", e.maxColumn = ql((v = y == null ? void 0 : y.configInfo) == null ? void 0 : v.content, "MaxColumn") || "", e.showHide = ql((g = y == null ? void 0 : y.configInfo) == null ? void 0 : g.content, "ShowHide") || "Show", e.textSize = ql((S = y == null ? void 0 : y.configInfo) == null ? void 0 : S.content, "TextSize") || "", e.textColor = Dn(ql((q = y == null ? void 0 : y.configInfo) == null ? void 0 : q.content, "TextRGBA")) || "", e.textBackground = Dn(ql((ce = y == null ? void 0 : y.configInfo) == null ? void 0 : ce.content, "TextBackRGBA")) || "";
4379
+ e.linkSource = Hr((qe = y == null ? void 0 : y.configInfo) == null ? void 0 : qe.content), e.formType = ql((nl = y == null ? void 0 : y.configInfo) == null ? void 0 : nl.content, "SubType") || "", e.view = ql((Ze = y == null ? void 0 : y.configInfo) == null ? void 0 : Ze.content, "EditRead") || "Read", e.maxRow = ql((a = y == null ? void 0 : y.configInfo) == null ? void 0 : a.content, "MaxRow") || "", e.maxColumn = ql((v = y == null ? void 0 : y.configInfo) == null ? void 0 : v.content, "MaxColumn") || "", e.showHide = ql((g = y == null ? void 0 : y.configInfo) == null ? void 0 : g.content, "ShowHide") || "Show", e.textSize = ql((_ = y == null ? void 0 : y.configInfo) == null ? void 0 : _.content, "TextSize") || "", e.textColor = Dn(ql((q = y == null ? void 0 : y.configInfo) == null ? void 0 : q.content, "TextRGBA")) || "", e.textBackground = Dn(ql((ce = y == null ? void 0 : y.configInfo) == null ? void 0 : ce.content, "TextBackRGBA")) || "";
4372
4380
  const re = ql((j = y == null ? void 0 : y.configInfo) == null ? void 0 : j.content, "Type") || "", We = Ct == null ? void 0 : Ct.find((b) => re == null ? void 0 : re.includes(b == null ? void 0 : b.value));
4373
4381
  We && (e.quoteType = We == null ? void 0 : We.value);
4374
4382
  const rl = Bn.map((b) => b == null ? void 0 : b.value), be = rl == null ? void 0 : rl.reduce((b, Me) => {
@@ -4612,7 +4620,7 @@ const ql = (l, C) => {
4612
4620
  }, { immediate: !0 }), vl(() => h.value, (de) => {
4613
4621
  de && e.id && me();
4614
4622
  }, { immediate: !0 }), (de, y) => {
4615
- const Ye = le("el-input"), he = le("el-form-item"), Te = le("el-form"), al = le("group-index"), qe = le("el-option"), nl = le("el-select"), Ze = le("el-radio"), a = le("el-radio-group"), v = le("el-icon"), g = le("el-cascader"), S = le("el-tag"), q = le("el-button"), ce = le("el-color-picker"), j = le("el-col"), i = le("el-row"), k = le("el-text"), N = le("el-tab-pane"), G = le("el-tabs");
4623
+ const Ye = le("el-input"), he = le("el-form-item"), Te = le("el-form"), al = le("group-index"), qe = le("el-option"), nl = le("el-select"), Ze = le("el-radio"), a = le("el-radio-group"), v = le("el-icon"), g = le("el-cascader"), _ = le("el-tag"), q = le("el-button"), ce = le("el-color-picker"), j = le("el-col"), i = le("el-row"), k = le("el-text"), N = le("el-tab-pane"), G = le("el-tabs");
4616
4624
  return f(), $(tl, null, [
4617
4625
  (f(!0), $(tl, null, ul(l.children, (t) => {
4618
4626
  var d, A, W;
@@ -4738,19 +4746,21 @@ const ql = (l, C) => {
4738
4746
  footer: o(() => [
4739
4747
  V("div", $r, [
4740
4748
  s(q, { onClick: ll }, {
4741
- default: o(() => [...y[36] || (y[36] = [
4742
- cl("取消", -1)
4743
- ])]),
4744
- _: 1
4749
+ default: o(() => y[36] || (y[36] = [
4750
+ cl("取消")
4751
+ ])),
4752
+ _: 1,
4753
+ __: [36]
4745
4754
  }),
4746
4755
  s(q, {
4747
4756
  type: "primary",
4748
4757
  onClick: ee
4749
4758
  }, {
4750
- default: o(() => [...y[37] || (y[37] = [
4751
- cl("确认", -1)
4752
- ])]),
4753
- _: 1
4759
+ default: o(() => y[37] || (y[37] = [
4760
+ cl("确认")
4761
+ ])),
4762
+ _: 1,
4763
+ __: [37]
4754
4764
  })
4755
4765
  ])
4756
4766
  ]),
@@ -5051,7 +5061,7 @@ const ql = (l, C) => {
5051
5061
  }, 1024),
5052
5062
  s(he, { label: "按钮内容:" }, {
5053
5063
  default: o(() => [
5054
- (f(!0), $(tl, null, ul(t == null ? void 0 : t.data, (re) => (f(), fe(S, {
5064
+ (f(!0), $(tl, null, ul(t == null ? void 0 : t.data, (re) => (f(), fe(_, {
5055
5065
  key: re,
5056
5066
  "disable-transitions": !1,
5057
5067
  closable: "",
@@ -5078,11 +5088,12 @@ const ql = (l, C) => {
5078
5088
  size: "small",
5079
5089
  onClick: (re) => m(t)
5080
5090
  }, {
5081
- default: o(() => [...y[32] || (y[32] = [
5082
- cl(" + ", -1)
5083
- ])]),
5084
- _: 1
5085
- }, 8, ["onClick"]))
5091
+ default: o(() => y[32] || (y[32] = [
5092
+ cl(" + ")
5093
+ ])),
5094
+ _: 2,
5095
+ __: [32]
5096
+ }, 1032, ["onClick"]))
5086
5097
  ]),
5087
5098
  _: 2
5088
5099
  }, 1024)
@@ -5287,12 +5298,13 @@ const ql = (l, C) => {
5287
5298
  size: "small",
5288
5299
  type: "danger"
5289
5300
  }, {
5290
- default: o(() => [...y[33] || (y[33] = [
5291
- cl(" 注意事项:", -1),
5301
+ default: o(() => y[33] || (y[33] = [
5302
+ cl(" 注意事项:"),
5292
5303
  V("br", null, null, -1),
5293
- cl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ", -1)
5294
- ])]),
5295
- _: 1
5304
+ cl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ")
5305
+ ])),
5306
+ _: 1,
5307
+ __: [33]
5296
5308
  })) : je("", !0)
5297
5309
  ]),
5298
5310
  _: 1
@@ -5339,16 +5351,18 @@ const ql = (l, C) => {
5339
5351
  s(i, { class: "cascader-title-wrapper" }, {
5340
5352
  default: o(() => [
5341
5353
  s(j, { span: 12 }, {
5342
- default: o(() => [...y[34] || (y[34] = [
5343
- cl("已选选项", -1)
5344
- ])]),
5345
- _: 1
5354
+ default: o(() => y[34] || (y[34] = [
5355
+ cl("已选选项")
5356
+ ])),
5357
+ _: 1,
5358
+ __: [34]
5346
5359
  }),
5347
5360
  s(j, { span: 12 }, {
5348
- default: o(() => [...y[35] || (y[35] = [
5349
- cl("同步方式", -1)
5350
- ])]),
5351
- _: 1
5361
+ default: o(() => y[35] || (y[35] = [
5362
+ cl("同步方式")
5363
+ ])),
5364
+ _: 1,
5365
+ __: [35]
5352
5366
  })
5353
5367
  ]),
5354
5368
  _: 1
@@ -5389,8 +5403,8 @@ const ql = (l, C) => {
5389
5403
  _: 2
5390
5404
  }, 1032, ["value"]))), 128))
5391
5405
  ]),
5392
- _: 1
5393
- }, 8, ["model-value", "onUpdate:modelValue"])
5406
+ _: 2
5407
+ }, 1032, ["model-value", "onUpdate:modelValue"])
5394
5408
  ]),
5395
5409
  _: 2
5396
5410
  }, 1024)
@@ -5779,20 +5793,20 @@ const cs = (l, C = 0) => {
5779
5793
  if (L.value = !1, t) {
5780
5794
  if ((d = Object.keys(t)) == null || d.forEach((W) => {
5781
5795
  W in e && (e[W] = t[W]);
5782
- }), !(e != null && e.id)) return _l.error("获取节点信息出错了");
5796
+ }), !(e != null && e.id)) return Sl.error("获取节点信息出错了");
5783
5797
  const A = bo(g.value, e == null ? void 0 : e.id, "groupId");
5784
5798
  e.pid = (A == null ? void 0 : A.groupId) || (e == null ? void 0 : e.menuId) || "", ee();
5785
5799
  }
5786
5800
  }, L = B(!1), ee = async () => {
5787
- var t, d, A, W, re, We, rl, be, ne, b, Me, De, ue, ae, H, Fe, Xe, Ne, sl, Je, Se, _, oe, ke, Ae, He, K, te, xe;
5801
+ var t, d, A, W, re, We, rl, be, ne, b, Me, De, ue, ae, H, Fe, Xe, Ne, sl, Je, _e, S, oe, ke, Ae, He, K, te, xe;
5788
5802
  T.value = !0;
5789
5803
  try {
5790
- if (!U.value) return _l.warning("请先选择所属菜单");
5804
+ if (!U.value) return Sl.warning("请先选择所属菜单");
5791
5805
  if (!(e != null && e.id)) return;
5792
5806
  let Ve = [], Z = [];
5793
5807
  if (Array.isArray(e == null ? void 0 : e.quotes)) {
5794
- const Ce = (d = (t = e == null ? void 0 : e.quoteWays) == null ? void 0 : t.filter((J) => (J == null ? void 0 : J.value) === "fatherSync")) == null ? void 0 : d.map((J) => J == null ? void 0 : J.key), pe = (W = (A = e == null ? void 0 : e.quoteWays) == null ? void 0 : A.filter((J) => (J == null ? void 0 : J.value) === "sonSync")) == null ? void 0 : W.map((J) => J == null ? void 0 : J.key), _e = (We = (re = e == null ? void 0 : e.quoteWays) == null ? void 0 : re.filter((J) => (J == null ? void 0 : J.value) === "bothSync")) == null ? void 0 : We.map((J) => J == null ? void 0 : J.key);
5795
- Ve = (be = (rl = e == null ? void 0 : e.quotes) == null ? void 0 : rl.filter((J) => (Ce == null ? void 0 : Ce.includes(J == null ? void 0 : J.join("/"))) || (_e == null ? void 0 : _e.includes(J == null ? void 0 : J.join("/"))))) == null ? void 0 : be.map((J) => {
5808
+ const Ce = (d = (t = e == null ? void 0 : e.quoteWays) == null ? void 0 : t.filter((J) => (J == null ? void 0 : J.value) === "fatherSync")) == null ? void 0 : d.map((J) => J == null ? void 0 : J.key), pe = (W = (A = e == null ? void 0 : e.quoteWays) == null ? void 0 : A.filter((J) => (J == null ? void 0 : J.value) === "sonSync")) == null ? void 0 : W.map((J) => J == null ? void 0 : J.key), Se = (We = (re = e == null ? void 0 : e.quoteWays) == null ? void 0 : re.filter((J) => (J == null ? void 0 : J.value) === "bothSync")) == null ? void 0 : We.map((J) => J == null ? void 0 : J.key);
5809
+ Ve = (be = (rl = e == null ? void 0 : e.quotes) == null ? void 0 : rl.filter((J) => (Ce == null ? void 0 : Ce.includes(J == null ? void 0 : J.join("/"))) || (Se == null ? void 0 : Se.includes(J == null ? void 0 : J.join("/"))))) == null ? void 0 : be.map((J) => {
5796
5810
  var we;
5797
5811
  return {
5798
5812
  menus: J == null ? void 0 : J[0],
@@ -5800,7 +5814,7 @@ const cs = (l, C = 0) => {
5800
5814
  groups: (we = J == null ? void 0 : J[1]) == null ? void 0 : we.split("/")
5801
5815
  //嵌套特性使用,分割,传值数组
5802
5816
  };
5803
- }), Z = (b = (ne = e == null ? void 0 : e.quotes) == null ? void 0 : ne.filter((J) => (pe == null ? void 0 : pe.includes(J == null ? void 0 : J.join("/"))) || (_e == null ? void 0 : _e.includes(J == null ? void 0 : J.join("/"))))) == null ? void 0 : b.map((J) => {
5817
+ }), Z = (b = (ne = e == null ? void 0 : e.quotes) == null ? void 0 : ne.filter((J) => (pe == null ? void 0 : pe.includes(J == null ? void 0 : J.join("/"))) || (Se == null ? void 0 : Se.includes(J == null ? void 0 : J.join("/"))))) == null ? void 0 : b.map((J) => {
5804
5818
  var we;
5805
5819
  return {
5806
5820
  menus: J == null ? void 0 : J[0],
@@ -5823,7 +5837,7 @@ const cs = (l, C = 0) => {
5823
5837
  filter: {
5824
5838
  fatherSyncs: Ve,
5825
5839
  sonSyncs: Z,
5826
- quotes: [...Ve, ...Z].filter((Ce, pe, _e) => pe === _e.findIndex(
5840
+ quotes: [...Ve, ...Z].filter((Ce, pe, Se) => pe === Se.findIndex(
5827
5841
  (J) => J.menus === Ce.menus && JSON.stringify(J.groups) === JSON.stringify(Ce.groups)
5828
5842
  ))
5829
5843
  },
@@ -5836,7 +5850,7 @@ const cs = (l, C = 0) => {
5836
5850
  const Ce = Ql(a.value, "id", e == null ? void 0 : e.id);
5837
5851
  if ((ae = Ce == null ? void 0 : Ce.configInfo) != null && ae.id) {
5838
5852
  let pe = "";
5839
- const _e = [
5853
+ const Se = [
5840
5854
  //按照框架需求,根据fatherSyncs和sonSyncs是否有值,往引用里面新增 @QuoteSonSync=No,@QuoteFatherSync=Yes,便于模型导出
5841
5855
  // {
5842
5856
  // key: 'QuoteFatherSync',
@@ -5929,17 +5943,17 @@ const cs = (l, C = 0) => {
5929
5943
  //"Tab"...
5930
5944
  value: e == null ? void 0 : e.combineKey
5931
5945
  }
5932
- )), (Je = e == null ? void 0 : e.buttonData) != null && Je.length && ((Se = e == null ? void 0 : e.buttonData) == null || Se.forEach((Pe) => {
5946
+ )), (Je = e == null ? void 0 : e.buttonData) != null && Je.length && ((_e = e == null ? void 0 : e.buttonData) == null || _e.forEach((Pe) => {
5933
5947
  var ge;
5934
5948
  Pe != null && Pe.key && (J == null || J.push({
5935
5949
  key: "Button",
5936
5950
  value: `((${Pe == null ? void 0 : Pe.value}),${(ge = Pe == null ? void 0 : Pe.key) == null ? void 0 : ge.join(",")})`,
5937
5951
  allowRepeat: !0
5938
5952
  }));
5939
- })), _e.push(...J);
5940
- let we = _e == null ? void 0 : _e.reduce((Pe, ge) => ge != null && ge.value ? Lt(Pe, ge == null ? void 0 : ge.key, ge == null ? void 0 : ge.value, ge == null ? void 0 : ge.allowRepeat) : Pe, pe);
5953
+ })), Se.push(...J);
5954
+ let we = Se == null ? void 0 : Se.reduce((Pe, ge) => ge != null && ge.value ? Lt(Pe, ge == null ? void 0 : ge.key, ge == null ? void 0 : ge.value, ge == null ? void 0 : ge.allowRepeat) : Pe, pe);
5941
5955
  if (e != null && e.filterProp) {
5942
- const Pe = (_ = e == null ? void 0 : e.dataSource) == null ? void 0 : _.split("/"), ge = "$" + ((oe = Pe == null ? void 0 : Pe.slice(0, -1)) == null ? void 0 : oe.join("$")), $e = Pe == null ? void 0 : Pe[(Pe == null ? void 0 : Pe.length) - 1], el = (ke = e == null ? void 0 : e.applyEle) == null ? void 0 : ke.split("/"), Il = "$" + ((Ae = el == null ? void 0 : el.slice(0, -1)) == null ? void 0 : Ae.join("$")), Ml = el == null ? void 0 : el[(el == null ? void 0 : el.length) - 1], pl = `(*${e == null ? void 0 : e.name}:${e == null ? void 0 : e.filterProp}=${ge}:{${$e}}${Il}:${Ml})`;
5956
+ const Pe = (S = e == null ? void 0 : e.dataSource) == null ? void 0 : S.split("/"), ge = "$" + ((oe = Pe == null ? void 0 : Pe.slice(0, -1)) == null ? void 0 : oe.join("$")), $e = Pe == null ? void 0 : Pe[(Pe == null ? void 0 : Pe.length) - 1], el = (ke = e == null ? void 0 : e.applyEle) == null ? void 0 : ke.split("/"), Il = "$" + ((Ae = el == null ? void 0 : el.slice(0, -1)) == null ? void 0 : Ae.join("$")), Ml = el == null ? void 0 : el[(el == null ? void 0 : el.length) - 1], pl = `(*${e == null ? void 0 : e.name}:${e == null ? void 0 : e.filterProp}=${ge}:{${$e}}${Il}:${Ml})`;
5943
5957
  we = `(${(we == null ? void 0 : we.slice(1, -1)) + ",If" + pl})`;
5944
5958
  }
5945
5959
  if (console.log("resConfigs", we), e != null && e.linkSource && (console.log("链接自定义", we, e == null ? void 0 : e.linkSource), we = (e == null ? void 0 : e.linkSource) + we), z.push(at({
@@ -5989,7 +6003,7 @@ const cs = (l, C = 0) => {
5989
6003
  }) && (a.value = (xe = a.value) == null ? void 0 : xe.map((Ce) => (Ce == null ? void 0 : Ce.id) === (e == null ? void 0 : e.id) ? {
5990
6004
  ...Ce,
5991
6005
  name: e == null ? void 0 : e.name
5992
- } : Ce), L.value = !0, _l.success("修改成功"));
6006
+ } : Ce), L.value = !0, Sl.success("修改成功"));
5993
6007
  } catch (Ve) {
5994
6008
  throw new Error(Ve);
5995
6009
  } finally {
@@ -6028,7 +6042,7 @@ const cs = (l, C = 0) => {
6028
6042
  var t, d, A, W, re, We, rl, be, ne, b;
6029
6043
  L.value = !1, T.value = !0;
6030
6044
  try {
6031
- if (!r.groupId || !r.groupType) return _l.error("特性信息获取出错了");
6045
+ if (!r.groupId || !r.groupType) return Sl.error("特性信息获取出错了");
6032
6046
  const Me = Ql(a.value, "id", r.groupId), De = Al(Me), ue = {
6033
6047
  groups: r != null && r.related ? [(t = r == null ? void 0 : r.related) == null ? void 0 : t[1]] : [],
6034
6048
  menus: r != null && r.related ? (A = (d = r == null ? void 0 : r.related) == null ? void 0 : d[0]) == null ? void 0 : A.split("/") : [],
@@ -6041,9 +6055,9 @@ const cs = (l, C = 0) => {
6041
6055
  if (r != null && r.parentProp) {
6042
6056
  const sl = Ql(De == null ? void 0 : De.data, "id", r == null ? void 0 : r.parentProp);
6043
6057
  if (sl && ((re = sl == null ? void 0 : sl.children) != null && re.length)) {
6044
- const Je = (We = sl.children) == null ? void 0 : We.filter((Se) => {
6045
- var _;
6046
- return !((_ = String(Se == null ? void 0 : Se.id)) != null && _.includes("new"));
6058
+ const Je = (We = sl.children) == null ? void 0 : We.filter((_e) => {
6059
+ var S;
6060
+ return !((S = String(_e == null ? void 0 : _e.id)) != null && S.includes("new"));
6047
6061
  });
6048
6062
  sl.children = [...Je, {
6049
6063
  prop: r.parentProp ? r.parentProp + "." + ae : ae,
@@ -6069,8 +6083,8 @@ const cs = (l, C = 0) => {
6069
6083
  H = De == null ? void 0 : De.data;
6070
6084
  } else {
6071
6085
  const sl = (rl = De == null ? void 0 : De.data) == null ? void 0 : rl.filter((Je) => {
6072
- var Se;
6073
- return !((Se = String(Je == null ? void 0 : Je.id)) != null && Se.includes("new"));
6086
+ var _e;
6087
+ return !((_e = String(Je == null ? void 0 : Je.id)) != null && _e.includes("new"));
6074
6088
  });
6075
6089
  H = [...sl == null ? void 0 : sl.map((Je) => ({
6076
6090
  ...Je,
@@ -6087,14 +6101,14 @@ const cs = (l, C = 0) => {
6087
6101
  ...ue
6088
6102
  }];
6089
6103
  }
6090
- const Fe = [...De == null ? void 0 : De.hiddenColumns, ...Sn(H, Rn)], Xe = {
6104
+ const Fe = [...De == null ? void 0 : De.hiddenColumns, ..._n(H, Rn)], Xe = {
6091
6105
  platId: Number(sessionStorage.getItem("systemKey")),
6092
6106
  objectId: r.groupId,
6093
6107
  key: r == null ? void 0 : r.groupType,
6094
6108
  tableColumns: m != null && m.hasMultiHeader ? [Fe] : Fe,
6095
6109
  quoteFilter: ""
6096
6110
  }, Ne = await Tt("save", Xe);
6097
- ((be = Ne == null ? void 0 : Ne.data) == null ? void 0 : be.code) === 200 && (Me.data = De.data, L.value = !0, _l.success("新增成功"));
6111
+ ((be = Ne == null ? void 0 : Ne.data) == null ? void 0 : be.code) === 200 && (Me.data = De.data, L.value = !0, Sl.success("新增成功"));
6098
6112
  } else {
6099
6113
  if (!q.value) return;
6100
6114
  const ae = Ql(De == null ? void 0 : De.data, "id", r == null ? void 0 : r.id);
@@ -6102,14 +6116,14 @@ const cs = (l, C = 0) => {
6102
6116
  (ne = Object.keys(r)) == null || ne.forEach((Ne) => {
6103
6117
  Ne in ae && (ae[Ne] = r[Ne], ae.formType = r == null ? void 0 : r.compType, ae.value = r == null ? void 0 : r.defaultValue, ae.prop = r == null ? void 0 : r.id, ae.disabled = (r == null ? void 0 : r.view) === "Read", ae.mainKey = r == null ? void 0 : r.mainKey, ae.options = r != null && r.defaultValue ? r == null ? void 0 : r.options : [], ae.groups = ue == null ? void 0 : ue.groups, ae.menus = ue == null ? void 0 : ue.menus, ae.words = ue == null ? void 0 : ue.words);
6104
6118
  });
6105
- const H = [...De == null ? void 0 : De.hiddenColumns, ...Sn(De == null ? void 0 : De.data, Rn)], Fe = {
6119
+ const H = [...De == null ? void 0 : De.hiddenColumns, ..._n(De == null ? void 0 : De.data, Rn)], Fe = {
6106
6120
  platId: Number(sessionStorage.getItem("systemKey")),
6107
6121
  objectId: r.groupId,
6108
6122
  key: r == null ? void 0 : r.groupType,
6109
6123
  tableColumns: m != null && m.hasMultiHeader ? [H] : H,
6110
6124
  quoteFilter: ""
6111
6125
  }, Xe = await Tt("save", Fe);
6112
- ((b = Xe == null ? void 0 : Xe.data) == null ? void 0 : b.code) === 200 && (Me.data = De == null ? void 0 : De.data, L.value = !0, _l.success("编辑成功"));
6126
+ ((b = Xe == null ? void 0 : Xe.data) == null ? void 0 : b.code) === 200 && (Me.data = De == null ? void 0 : De.data, L.value = !0, Sl.success("编辑成功"));
6113
6127
  }
6114
6128
  } catch (Me) {
6115
6129
  throw new Error(Me);
@@ -6150,12 +6164,12 @@ const cs = (l, C = 0) => {
6150
6164
  if (ll.value = (re = (W = H == null ? void 0 : H.data) == null ? void 0 : W.result) == null ? void 0 : re.includes("错误"), ((We = H == null ? void 0 : H.data) == null ? void 0 : We.code) === 200 && !((be = (rl = H == null ? void 0 : H.data) == null ? void 0 : rl.result) != null && be.includes("错误"))) {
6151
6165
  const Fe = Al((ne = H == null ? void 0 : H.data) == null ? void 0 : ne.result);
6152
6166
  Me = (b = Fe == null ? void 0 : Fe.flatMap((Ne) => Ne)) == null ? void 0 : b.map((Ne) => {
6153
- var _, oe, ke, Ae, He, K, te, xe, Ve;
6154
- const sl = Array.isArray((oe = (_ = Ne == null ? void 0 : Ne.结构) == null ? void 0 : _.contents) == null ? void 0 : oe[0]), Je = (Ae = (ke = Ne == null ? void 0 : Ne.source_table) == null ? void 0 : ke.split("_")) == null ? void 0 : Ae[1], Se = Ql((He = De == null ? void 0 : De.data) == null ? void 0 : He.result, "object_id", Je);
6167
+ var S, oe, ke, Ae, He, K, te, xe, Ve;
6168
+ const sl = Array.isArray((oe = (S = Ne == null ? void 0 : Ne.结构) == null ? void 0 : S.contents) == null ? void 0 : oe[0]), Je = (Ae = (ke = Ne == null ? void 0 : Ne.source_table) == null ? void 0 : ke.split("_")) == null ? void 0 : Ae[1], _e = Ql((He = De == null ? void 0 : De.data) == null ? void 0 : He.result, "object_id", Je);
6155
6169
  return {
6156
- name: Se == null ? void 0 : Se.name,
6157
- object_name: Se == null ? void 0 : Se.object_name,
6158
- property_name: Se == null ? void 0 : Se.property_name,
6170
+ name: _e == null ? void 0 : _e.name,
6171
+ object_name: _e == null ? void 0 : _e.object_name,
6172
+ property_name: _e == null ? void 0 : _e.property_name,
6159
6173
  children: (Ve = sl ? (te = (K = Ne == null ? void 0 : Ne.结构) == null ? void 0 : K.contents) == null ? void 0 : te.flatMap((Z) => Z) : (xe = Ne == null ? void 0 : Ne.结构) == null ? void 0 : xe.contents) == null ? void 0 : Ve.filter((Z) => !(Dt != null && Dt.includes(Z == null ? void 0 : Z.prop)))
6160
6174
  };
6161
6175
  }), me.value = Pn(Me);
@@ -6220,7 +6234,7 @@ const cs = (l, C = 0) => {
6220
6234
  tableColumns: Me == null ? void 0 : Me.data,
6221
6235
  quoteFilter: ""
6222
6236
  }, ae = await Tt("save", ue);
6223
- ((Xe = ae == null ? void 0 : ae.data) == null ? void 0 : Xe.code) === 200 && (b.data = Me.data, L.value = !0, _l.success("删除成功"));
6237
+ ((Xe = ae == null ? void 0 : ae.data) == null ? void 0 : Xe.code) === 200 && (b.data = Me.data, L.value = !0, Sl.success("删除成功"));
6224
6238
  });
6225
6239
  break;
6226
6240
  }
@@ -6252,9 +6266,9 @@ const cs = (l, C = 0) => {
6252
6266
  ]
6253
6267
  }, qe = B(!1), nl = () => {
6254
6268
  var t;
6255
- (t = Ye.value) == null || t.validate(((d) => {
6269
+ (t = Ye.value) == null || t.validate((d) => {
6256
6270
  qe.value = d;
6257
- }));
6271
+ });
6258
6272
  }, Ze = () => {
6259
6273
  y.show = !1, he();
6260
6274
  }, a = B([]), v = kl(() => {
@@ -6264,7 +6278,7 @@ const cs = (l, C = 0) => {
6264
6278
  // data: item?.data?.filter((child: any) => !hiddenProps?.includes(child?.prop || child?.label))
6265
6279
  data: d == null ? void 0 : d.data
6266
6280
  }));
6267
- }), g = B([]), S = (t) => {
6281
+ }), g = B([]), _ = (t) => {
6268
6282
  g.value = t;
6269
6283
  }, q = B(null), ce = B(""), j = (t) => {
6270
6284
  var A, W, re, We, rl, be;
@@ -6305,7 +6319,7 @@ const cs = (l, C = 0) => {
6305
6319
  platId: Number(sessionStorage.getItem("systemKey")),
6306
6320
  objectId: d == null ? void 0 : d.id
6307
6321
  });
6308
- ((W = A == null ? void 0 : A.data) == null ? void 0 : W.code) === 200 && (a.value = (re = a.value) == null ? void 0 : re.filter((We) => (We == null ? void 0 : We.id) !== (d == null ? void 0 : d.id)), _l.success("删除成功"), L.value = !0);
6322
+ ((W = A == null ? void 0 : A.data) == null ? void 0 : W.code) === 200 && (a.value = (re = a.value) == null ? void 0 : re.filter((We) => (We == null ? void 0 : We.id) !== (d == null ? void 0 : d.id)), Sl.success("删除成功"), L.value = !0);
6309
6323
  });
6310
6324
  } catch (d) {
6311
6325
  throw new Error(d);
@@ -6384,7 +6398,7 @@ const cs = (l, C = 0) => {
6384
6398
  ref_key: "hMenuInputRef",
6385
6399
  ref: wl,
6386
6400
  modelValue: Te.title,
6387
- "onUpdate:modelValue": d[1] || (d[1] = (Se) => Te.title = Se),
6401
+ "onUpdate:modelValue": d[1] || (d[1] = (_e) => Te.title = _e),
6388
6402
  placeholder: "请输入",
6389
6403
  style: { "min-width": "200px" },
6390
6404
  onChange: nl
@@ -6392,25 +6406,25 @@ const cs = (l, C = 0) => {
6392
6406
  prepend: o(() => [
6393
6407
  s(Zt, {
6394
6408
  modelValue: Te.icon,
6395
- "onUpdate:modelValue": d[0] || (d[0] = (Se) => Te.icon = Se),
6409
+ "onUpdate:modelValue": d[0] || (d[0] = (_e) => Te.icon = _e),
6396
6410
  placeholder: "菜单图标",
6397
6411
  style: { width: "200px" },
6398
6412
  type: "all"
6399
6413
  }, null, 8, ["modelValue"])
6400
6414
  ]),
6401
6415
  append: o(() => {
6402
- var Se, _;
6416
+ var _e, S;
6403
6417
  return [
6404
6418
  V("span", hc, [
6405
6419
  s(Tl, {
6406
- style: Pl({ color: (Se = Te.title) != null && Se.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
6420
+ style: Pl({ color: (_e = Te.title) != null && _e.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
6407
6421
  name: "softConfirm",
6408
6422
  onClick: Ul(nl, ["stop"])
6409
6423
  }, null, 8, ["style"])
6410
6424
  ]),
6411
6425
  V("span", gc, [
6412
6426
  s(Tl, {
6413
- style: Pl({ color: (_ = Te.title) != null && _.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
6427
+ style: Pl({ color: (S = Te.title) != null && S.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
6414
6428
  name: "softCancel",
6415
6429
  onClick: Ul(Ze, ["stop"])
6416
6430
  }, null, 8, ["style"])
@@ -6454,11 +6468,11 @@ const cs = (l, C = 0) => {
6454
6468
  width: "230px"
6455
6469
  }, {
6456
6470
  default: o(() => [
6457
- s(_r, {
6471
+ s(Sr, {
6458
6472
  isRefreshGroups: L.value,
6459
6473
  mode: "vertical",
6460
6474
  onGetCompForm: ie,
6461
- onGetGroupOptions: S,
6475
+ onGetGroupOptions: _,
6462
6476
  onGetIsRefresh: N,
6463
6477
  onGetPageStructure: j
6464
6478
  }, null, 8, ["isRefreshGroups"])
@@ -6470,11 +6484,11 @@ const cs = (l, C = 0) => {
6470
6484
  V("div", Cc, [
6471
6485
  s(b, { "separator-icon": n(Nn) }, {
6472
6486
  default: o(() => {
6473
- var Se;
6487
+ var _e;
6474
6488
  return [
6475
- (f(!0), $(tl, null, ul((Se = n(U)) == null ? void 0 : Se.split("/"), (_) => (f(), fe(ne, { key: _ }, {
6489
+ (f(!0), $(tl, null, ul((_e = n(U)) == null ? void 0 : _e.split("/"), (S) => (f(), fe(ne, { key: S }, {
6476
6490
  default: o(() => [
6477
- cl(ol(_), 1)
6491
+ cl(ol(S), 1)
6478
6492
  ]),
6479
6493
  _: 2
6480
6494
  }, 1024))), 128))
@@ -6521,19 +6535,21 @@ const cs = (l, C = 0) => {
6521
6535
  footer: o(() => [
6522
6536
  V("div", mc, [
6523
6537
  s(sl, { onClick: O }, {
6524
- default: o(() => [...d[13] || (d[13] = [
6525
- cl("取消", -1)
6526
- ])]),
6527
- _: 1
6538
+ default: o(() => d[13] || (d[13] = [
6539
+ cl("取消")
6540
+ ])),
6541
+ _: 1,
6542
+ __: [13]
6528
6543
  }),
6529
6544
  s(sl, {
6530
6545
  type: "primary",
6531
6546
  onClick: ve
6532
6547
  }, {
6533
- default: o(() => [...d[14] || (d[14] = [
6534
- cl("确认", -1)
6535
- ])]),
6536
- _: 1
6548
+ default: o(() => d[14] || (d[14] = [
6549
+ cl("确认")
6550
+ ])),
6551
+ _: 1,
6552
+ __: [14]
6537
6553
  })
6538
6554
  ])
6539
6555
  ]),
@@ -6554,7 +6570,7 @@ const cs = (l, C = 0) => {
6554
6570
  default: o(() => [
6555
6571
  s(ae, {
6556
6572
  modelValue: r.parentProp,
6557
- "onUpdate:modelValue": d[2] || (d[2] = (Se) => r.parentProp = Se),
6573
+ "onUpdate:modelValue": d[2] || (d[2] = (_e) => r.parentProp = _e),
6558
6574
  options: Be.value,
6559
6575
  props: { checkStrictly: !0, emitPath: !1 },
6560
6576
  clearable: "",
@@ -6570,7 +6586,7 @@ const cs = (l, C = 0) => {
6570
6586
  default: o(() => [
6571
6587
  s(W, {
6572
6588
  modelValue: r.label,
6573
- "onUpdate:modelValue": d[3] || (d[3] = (Se) => r.label = Se),
6589
+ "onUpdate:modelValue": d[3] || (d[3] = (_e) => r.label = _e),
6574
6590
  clearable: "",
6575
6591
  placeholder: "请输入"
6576
6592
  }, null, 8, ["modelValue"])
@@ -6584,7 +6600,7 @@ const cs = (l, C = 0) => {
6584
6600
  default: o(() => [
6585
6601
  s(W, {
6586
6602
  modelValue: r.prop,
6587
- "onUpdate:modelValue": d[4] || (d[4] = (Se) => r.prop = Se),
6603
+ "onUpdate:modelValue": d[4] || (d[4] = (_e) => r.prop = _e),
6588
6604
  disabled: m.type === "update",
6589
6605
  placeholder: "请输入"
6590
6606
  }, null, 8, ["modelValue", "disabled"])
@@ -6598,20 +6614,22 @@ const cs = (l, C = 0) => {
6598
6614
  default: o(() => [
6599
6615
  s(Fe, {
6600
6616
  modelValue: r.mainKey,
6601
- "onUpdate:modelValue": d[5] || (d[5] = (Se) => r.mainKey = Se)
6617
+ "onUpdate:modelValue": d[5] || (d[5] = (_e) => r.mainKey = _e)
6602
6618
  }, {
6603
6619
  default: o(() => [
6604
6620
  s(H, { value: !0 }, {
6605
- default: o(() => [...d[11] || (d[11] = [
6606
- cl("是", -1)
6607
- ])]),
6608
- _: 1
6621
+ default: o(() => d[11] || (d[11] = [
6622
+ cl("是")
6623
+ ])),
6624
+ _: 1,
6625
+ __: [11]
6609
6626
  }),
6610
6627
  s(H, { value: !1 }, {
6611
- default: o(() => [...d[12] || (d[12] = [
6612
- cl("否", -1)
6613
- ])]),
6614
- _: 1
6628
+ default: o(() => d[12] || (d[12] = [
6629
+ cl("否")
6630
+ ])),
6631
+ _: 1,
6632
+ __: [12]
6615
6633
  })
6616
6634
  ]),
6617
6635
  _: 1
@@ -6626,14 +6644,14 @@ const cs = (l, C = 0) => {
6626
6644
  default: o(() => [
6627
6645
  s(Ne, {
6628
6646
  modelValue: r.propType,
6629
- "onUpdate:modelValue": d[6] || (d[6] = (Se) => r.propType = Se),
6647
+ "onUpdate:modelValue": d[6] || (d[6] = (_e) => r.propType = _e),
6630
6648
  clearable: ""
6631
6649
  }, {
6632
6650
  default: o(() => [
6633
- (f(!0), $(tl, null, ul(n(oc), (Se) => (f(), fe(Xe, {
6634
- key: Se.value,
6635
- label: Se.label,
6636
- value: Se.value
6651
+ (f(!0), $(tl, null, ul(n(oc), (_e) => (f(), fe(Xe, {
6652
+ key: _e.value,
6653
+ label: _e.label,
6654
+ value: _e.value
6637
6655
  }, null, 8, ["label", "value"]))), 128))
6638
6656
  ]),
6639
6657
  _: 1
@@ -6648,14 +6666,14 @@ const cs = (l, C = 0) => {
6648
6666
  default: o(() => [
6649
6667
  s(Ne, {
6650
6668
  modelValue: r.compType,
6651
- "onUpdate:modelValue": d[7] || (d[7] = (Se) => r.compType = Se),
6669
+ "onUpdate:modelValue": d[7] || (d[7] = (_e) => r.compType = _e),
6652
6670
  clearable: ""
6653
6671
  }, {
6654
6672
  default: o(() => [
6655
- (f(!0), $(tl, null, ul(n(ic), (Se) => (f(), fe(Xe, {
6656
- key: Se.value,
6657
- label: Se.label,
6658
- value: Se.value
6673
+ (f(!0), $(tl, null, ul(n(ic), (_e) => (f(), fe(Xe, {
6674
+ key: _e.value,
6675
+ label: _e.label,
6676
+ value: _e.value
6659
6677
  }, null, 8, ["label", "value"]))), 128))
6660
6678
  ]),
6661
6679
  _: 1
@@ -6670,7 +6688,7 @@ const cs = (l, C = 0) => {
6670
6688
  default: o(() => [
6671
6689
  s(W, {
6672
6690
  modelValue: r.defaultValue,
6673
- "onUpdate:modelValue": d[8] || (d[8] = (Se) => r.defaultValue = Se),
6691
+ "onUpdate:modelValue": d[8] || (d[8] = (_e) => r.defaultValue = _e),
6674
6692
  placeholder: r.compType === "Select" ? "请输入选项,以/分割" : "请输入",
6675
6693
  clearable: "",
6676
6694
  onChange: fl
@@ -6685,15 +6703,15 @@ const cs = (l, C = 0) => {
6685
6703
  default: o(() => [
6686
6704
  s(Fe, {
6687
6705
  modelValue: r.view,
6688
- "onUpdate:modelValue": d[9] || (d[9] = (Se) => r.view = Se)
6706
+ "onUpdate:modelValue": d[9] || (d[9] = (_e) => r.view = _e)
6689
6707
  }, {
6690
6708
  default: o(() => [
6691
- (f(!0), $(tl, null, ul(n(rs), (Se) => (f(), fe(H, {
6692
- key: Se == null ? void 0 : Se.value,
6693
- value: Se == null ? void 0 : Se.value
6709
+ (f(!0), $(tl, null, ul(n(rs), (_e) => (f(), fe(H, {
6710
+ key: _e == null ? void 0 : _e.value,
6711
+ value: _e == null ? void 0 : _e.value
6694
6712
  }, {
6695
6713
  default: o(() => [
6696
- cl(ol(Se == null ? void 0 : Se.label), 1)
6714
+ cl(ol(_e == null ? void 0 : _e.label), 1)
6697
6715
  ]),
6698
6716
  _: 2
6699
6717
  }, 1032, ["value"]))), 128))
@@ -6711,7 +6729,7 @@ const cs = (l, C = 0) => {
6711
6729
  default: o(() => [
6712
6730
  s(ae, {
6713
6731
  modelValue: r.related,
6714
- "onUpdate:modelValue": d[10] || (d[10] = (Se) => r.related = Se),
6732
+ "onUpdate:modelValue": d[10] || (d[10] = (_e) => r.related = _e),
6715
6733
  options: me.value,
6716
6734
  props: {
6717
6735
  multiple: !1,
@@ -6786,16 +6804,16 @@ function ds(l = "menu") {
6786
6804
  operateIcon: "FixedMenu"
6787
6805
  }
6788
6806
  ]), U = jl(), I = la(bl), x = Xl(bl), { loginUserInfo: R } = yl(x), D = B(0), ie = xa(), e = B(), { asideMenus: E, menuTriggerType: T, platform: P, jumpMenuInform: u } = yl(U), { fixMenuStatus: se } = yl(I), { isSuperAdmin: L } = es(), ee = kl(() => h == null ? void 0 : h.mode), w = (a) => a == null ? void 0 : a.map((g) => {
6789
- var S, q;
6790
- return !(g != null && g.children) || ((S = g == null ? void 0 : g.children) == null ? void 0 : S.length) === 0 ? g.config = M.value : g != null && g.children && ((q = g == null ? void 0 : g.children) == null ? void 0 : q.length) > 0 && (g.children = w(g.children)), g;
6807
+ var _, q;
6808
+ return !(g != null && g.children) || ((_ = g == null ? void 0 : g.children) == null ? void 0 : _.length) === 0 ? g.config = M.value : g != null && g.children && ((q = g == null ? void 0 : g.children) == null ? void 0 : q.length) > 0 && (g.children = w(g.children)), g;
6791
6809
  }), m = kl(() => {
6792
6810
  let a = [...E.value];
6793
6811
  if ((a == null ? void 0 : a.length) === 0)
6794
6812
  return ie.push("/"), [];
6795
6813
  const v = ve(a, F.value);
6796
6814
  return v.isFlag || (a = v == null ? void 0 : v.data), a = a == null ? void 0 : a.map((g) => {
6797
- var S, q;
6798
- return !(g != null && g.children) || ((S = g == null ? void 0 : g.children) == null ? void 0 : S.length) === 0 ? g.config = M.value : g != null && g.children && ((q = g == null ? void 0 : g.children) == null ? void 0 : q.length) > 0 && (g.children = w(g.children)), g;
6815
+ var _, q;
6816
+ return !(g != null && g.children) || ((_ = g == null ? void 0 : g.children) == null ? void 0 : _.length) === 0 ? g.config = M.value : g != null && g.children && ((q = g == null ? void 0 : g.children) == null ? void 0 : q.length) > 0 && (g.children = w(g.children)), g;
6799
6817
  }), a;
6800
6818
  }), r = async (a, v) => {
6801
6819
  I.setRouteToChildPath(""), U.setMenuTriggerType("click"), U.setActiveMenuPath(a == null ? void 0 : a.path), U.setActiveAsideMenu(a), a.isRouter ? ie.push(a.path) : ie.push("/"), c("node-click", a, v);
@@ -6846,12 +6864,12 @@ function ds(l = "menu") {
6846
6864
  data: a
6847
6865
  }), U.setIsRefreshMenus(!0);
6848
6866
  }, wl = async (a, v, g) => {
6849
- var S, q, ce, j, i, k, N, G, t, d, A, W, re, We, rl, be, ne, b, Me, De, ue, ae, H, Fe, Xe, Ne, sl;
6867
+ var _, q, ce, j, i, k, N, G, t, d, A, W, re, We, rl, be, ne, b, Me, De, ue, ae, H, Fe, Xe, Ne, sl;
6850
6868
  if (v === "create") {
6851
- let Je = (g == null ? void 0 : g.title) + "(1)", Se = (q = (S = g == null ? void 0 : g.path) == null ? void 0 : S.split("/")) == null ? void 0 : q.filter((oe, ke) => {
6869
+ let Je = (g == null ? void 0 : g.title) + "(1)", _e = (q = (_ = g == null ? void 0 : g.path) == null ? void 0 : _.split("/")) == null ? void 0 : q.filter((oe, ke) => {
6852
6870
  var Ae, He;
6853
6871
  return ke !== ((He = (Ae = g == null ? void 0 : g.path) == null ? void 0 : Ae.split("/")) == null ? void 0 : He.length) - 1;
6854
- }), _ = await sa(
6872
+ }), S = await sa(
6855
6873
  (i = (j = (ce = g == null ? void 0 : g.path) == null ? void 0 : ce.split("/")) == null ? void 0 : j.filter((oe, ke) => {
6856
6874
  var Ae, He;
6857
6875
  return ke !== ((He = (Ae = g == null ? void 0 : g.path) == null ? void 0 : Ae.split("/")) == null ? void 0 : He.length) - 1;
@@ -6859,8 +6877,8 @@ function ds(l = "menu") {
6859
6877
  sessionStorage.getItem("systemKey"),
6860
6878
  ""
6861
6879
  );
6862
- if (Se.push(Je), Se = Se == null ? void 0 : Se.join("/"), (_ == null ? void 0 : _.length) > 0) {
6863
- let oe = _ == null ? void 0 : _[0], ke = (N = (k = oe == null ? void 0 : oe.compData) == null ? void 0 : k.find((Ae) => (Ae == null ? void 0 : Ae.key) === "header")) == null ? void 0 : N.contents;
6880
+ if (_e.push(Je), _e = _e == null ? void 0 : _e.join("/"), (S == null ? void 0 : S.length) > 0) {
6881
+ let oe = S == null ? void 0 : S[0], ke = (N = (k = oe == null ? void 0 : oe.compData) == null ? void 0 : k.find((Ae) => (Ae == null ? void 0 : Ae.key) === "header")) == null ? void 0 : N.contents;
6864
6882
  if (((G = ke == null ? void 0 : ke[0]) == null ? void 0 : G.directiveLabel) === "#isMain") {
6865
6883
  let Ae = (t = ke == null ? void 0 : ke[0]) == null ? void 0 : t.prop, He = (A = (d = oe == null ? void 0 : oe.compData) == null ? void 0 : d.find(
6866
6884
  (te) => (te == null ? void 0 : te.key) === "tableContents"
@@ -6891,7 +6909,7 @@ function ds(l = "menu") {
6891
6909
  });
6892
6910
  }
6893
6911
  }
6894
- await Fs(g == null ? void 0 : g.path, Se), U.setUpdateMenuStatus(!1), await tt(), U.setActiveMenuPath(
6912
+ await Fs(g == null ? void 0 : g.path, _e), U.setUpdateMenuStatus(!1), await tt(), U.setActiveMenuPath(
6895
6913
  (De = (Me = (b = g == null ? void 0 : g.path) == null ? void 0 : b.split("/")) == null ? void 0 : Me.filter((oe, ke) => {
6896
6914
  var Ae, He;
6897
6915
  return ke !== ((He = (Ae = g == null ? void 0 : g.path) == null ? void 0 : Ae.split("/")) == null ? void 0 : He.length) - 1;
@@ -6904,25 +6922,25 @@ function ds(l = "menu") {
6904
6922
  (Je == null ? void 0 : Je.length) > 0 && await Us({
6905
6923
  ids: Je
6906
6924
  }), U.setUpdateMenuStatus(!1), await tt(), U.setActiveMenuPath(
6907
- (Xe = (Fe = (H = g == null ? void 0 : g.path) == null ? void 0 : H.split("/")) == null ? void 0 : Fe.filter((Se, _) => {
6925
+ (Xe = (Fe = (H = g == null ? void 0 : g.path) == null ? void 0 : H.split("/")) == null ? void 0 : Fe.filter((_e, S) => {
6908
6926
  var oe, ke;
6909
- return _ !== ((ke = (oe = g == null ? void 0 : g.path) == null ? void 0 : oe.split("/")) == null ? void 0 : ke.length) - 1;
6927
+ return S !== ((ke = (oe = g == null ? void 0 : g.path) == null ? void 0 : oe.split("/")) == null ? void 0 : ke.length) - 1;
6910
6928
  })) == null ? void 0 : Xe.join("/")
6911
6929
  ), U.setActiveTopMenuPath((sl = (Ne = g == null ? void 0 : g.path) == null ? void 0 : Ne.split("/")) == null ? void 0 : sl[0]), U.setIsRefreshMenus(!1), U.setIsRefreshMenus(!0);
6912
6930
  }
6913
6931
  }, de = async (a, v) => {
6914
- var G, t, d, A, W, re, We, rl, be, ne, b, Me, De, ue, ae, H, Fe, Xe, Ne, sl, Je, Se, _, oe, ke, Ae, He, K, te, xe, Ve;
6932
+ var G, t, d, A, W, re, We, rl, be, ne, b, Me, De, ue, ae, H, Fe, Xe, Ne, sl, Je, _e, S, oe, ke, Ae, He, K, te, xe, Ve;
6915
6933
  let g = await wn({
6916
6934
  key: {
6917
6935
  systemKey: sessionStorage.getItem("systemKey"),
6918
6936
  pageKey: "menu"
6919
6937
  }
6920
- }), S = (t = (G = g == null ? void 0 : g.data) == null ? void 0 : G.result) == null ? void 0 : t[0], q = (d = S == null ? void 0 : S.value) == null ? void 0 : d.pageData;
6938
+ }), _ = (t = (G = g == null ? void 0 : g.data) == null ? void 0 : G.result) == null ? void 0 : t[0], q = (d = _ == null ? void 0 : _.value) == null ? void 0 : d.pageData;
6921
6939
  q.compData = (A = q.compData) == null ? void 0 : A.map((Z) => {
6922
6940
  var Le, z;
6923
6941
  return (Z == null ? void 0 : Z.key) === "menuContents" && (Z.contents = us(Z.contents, (Le = v == null ? void 0 : v.path) == null ? void 0 : Le.split("/"), v == null ? void 0 : v.title, (z = a == null ? void 0 : a.target) == null ? void 0 : z.value)), Z;
6924
- }), S != null && S.id && await Qn({
6925
- id: S == null ? void 0 : S.id,
6942
+ }), _ != null && _.id && await Qn({
6943
+ id: _ == null ? void 0 : _.id,
6926
6944
  value: {
6927
6945
  pageData: q
6928
6946
  }
@@ -6936,7 +6954,7 @@ function ds(l = "menu") {
6936
6954
  if (((Me = (b = (ne = (be = (rl = i == null ? void 0 : i[0]) == null ? void 0 : rl.compData) == null ? void 0 : be.find((Z) => (Z == null ? void 0 : Z.key) === "header")) == null ? void 0 : ne.contents) == null ? void 0 : b[0]) == null ? void 0 : Me.directiveLabel) === "#isMain") {
6937
6955
  let Z = (Fe = (H = (ae = (ue = (De = i == null ? void 0 : i[0]) == null ? void 0 : De.compData) == null ? void 0 : ue.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : ae.contents) == null ? void 0 : H[0]) == null ? void 0 : Fe.prop, Le = (sl = (Ne = (Xe = i == null ? void 0 : i[0]) == null ? void 0 : Xe.compData) == null ? void 0 : Ne.find(
6938
6956
  (Y) => (Y == null ? void 0 : Y.key) === "tableContents"
6939
- )) == null ? void 0 : sl.contents, z = (oe = (_ = (Se = (Je = i == null ? void 0 : i[0]) == null ? void 0 : Je.compData) == null ? void 0 : Se.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : _.contents) == null ? void 0 : oe.map((Y) => Y == null ? void 0 : Y.prop), p;
6957
+ )) == null ? void 0 : sl.contents, z = (oe = (S = (_e = (Je = i == null ? void 0 : i[0]) == null ? void 0 : Je.compData) == null ? void 0 : _e.find((Y) => (Y == null ? void 0 : Y.key) === "header")) == null ? void 0 : S.contents) == null ? void 0 : oe.map((Y) => Y == null ? void 0 : Y.prop), p;
6940
6958
  if (Le == null || Le.forEach((Y) => {
6941
6959
  var pe;
6942
6960
  let Ce = ot(Y, z);
@@ -6980,9 +6998,9 @@ function ds(l = "menu") {
6980
6998
  }, Ye = () => {
6981
6999
  X.show = !1;
6982
7000
  }, he = (a) => a == null ? void 0 : a.filter((v) => v.allowInherit), Te = () => {
6983
- var g, S, q, ce, j;
7001
+ var g, _, q, ce, j;
6984
7002
  let a;
6985
- X.type === "create" && (a = ((g = il.value) == null ? void 0 : g.path) + "/" + ll.value[(S = ll.value) == null ? void 0 : S.prop]), X.type === "update" && (a = (q = il.value) == null ? void 0 : q.path);
7003
+ X.type === "create" && (a = ((g = il.value) == null ? void 0 : g.path) + "/" + ll.value[(_ = ll.value) == null ? void 0 : _.prop]), X.type === "update" && (a = (q = il.value) == null ? void 0 : q.path);
6986
7004
  const v = {
6987
7005
  ...il.value,
6988
7006
  //是否继承父菜单的配置
@@ -6994,9 +7012,9 @@ function ds(l = "menu") {
6994
7012
  };
6995
7013
  console.log("clickSubmitForm", fl.value, il.value, v), ze(v), X.show = !1;
6996
7014
  }, al = (a) => {
6997
- var g, S;
7015
+ var g, _;
6998
7016
  const v = (g = a == null ? void 0 : a.contents) == null ? void 0 : g.find((q) => q.key === "formContent");
6999
- v && (ll.value = (S = v == null ? void 0 : v.contents) == null ? void 0 : S.reduce(
7017
+ v && (ll.value = (_ = v == null ? void 0 : v.contents) == null ? void 0 : _.reduce(
7000
7018
  (q, ce) => (q[ce.key] = ce.value, q.prop = ce.key, q),
7001
7019
  {}
7002
7020
  ));
@@ -7007,12 +7025,12 @@ function ds(l = "menu") {
7007
7025
  var v, g;
7008
7026
  if (a) {
7009
7027
  await Fl();
7010
- const S = a == null ? void 0 : a[0];
7011
- if (((v = S == null ? void 0 : S.children) == null ? void 0 : v.length) > 0) {
7012
- const q = S == null ? void 0 : S.path;
7028
+ const _ = a == null ? void 0 : a[0];
7029
+ if (((v = _ == null ? void 0 : _.children) == null ? void 0 : v.length) > 0) {
7030
+ const q = _ == null ? void 0 : _.path;
7013
7031
  Ze.value && ((g = Ze.value) == null || g.openMenuRefByIndex(q));
7014
7032
  } else
7015
- u != null && u.value ? U.setJumpMenuInform(!1) : U.setActiveMenuPath((S == null ? void 0 : S.path) ?? "");
7033
+ u != null && u.value ? U.setJumpMenuInform(!1) : U.setActiveMenuPath((_ == null ? void 0 : _.path) ?? "");
7016
7034
  }
7017
7035
  }, { immediate: !0 }), {
7018
7036
  menuRef: Ze,
@@ -7056,7 +7074,7 @@ function Mc(l, C, c, h, M, U) {
7056
7074
  }, null, 8, ["data", "onNodeClick"])
7057
7075
  ]);
7058
7076
  }
7059
- const Sc = /* @__PURE__ */ Kl(Ac, [["render", Mc], ["__scopeId", "data-v-83196ea8"]]);
7077
+ const _c = /* @__PURE__ */ Kl(Ac, [["render", Mc], ["__scopeId", "data-v-83196ea8"]]);
7060
7078
  function ps(l = "menu") {
7061
7079
  return {
7062
7080
  name: l,
@@ -7088,16 +7106,16 @@ function ps(l = "menu") {
7088
7106
  children: v.level === 0 ? [] : v.children ?? [],
7089
7107
  childMenus: ye(v.children)
7090
7108
  } : v), O = (a, v) => {
7091
- var g, S;
7092
- return (S = (g = m.value) == null ? void 0 : g.find((q) => (a.title + v).includes(q.value))) == null ? void 0 : S.value;
7109
+ var g, _;
7110
+ return (_ = (g = m.value) == null ? void 0 : g.find((q) => (a.title + v).includes(q.value))) == null ? void 0 : _.value;
7093
7111
  }, F = (a, v = "", g = 0) => {
7094
7112
  var j;
7095
- let S = Al(a);
7113
+ let _ = Al(a);
7096
7114
  const q = Array.from(/* @__PURE__ */ new Set([...(j = ee.value) == null ? void 0 : j.map((i) => {
7097
7115
  var k;
7098
7116
  return (k = i == null ? void 0 : i.key) == null ? void 0 : k.pageKey;
7099
7117
  })]));
7100
- return Array.isArray(S) || (S = [S]), S == null ? void 0 : S.map((i) => {
7118
+ return Array.isArray(_) || (_ = [_]), _ == null ? void 0 : _.map((i) => {
7101
7119
  let k, N = v ? `${v}/${i.title}` : i.title;
7102
7120
  k = N;
7103
7121
  const G = {
@@ -7127,9 +7145,9 @@ function ps(l = "menu") {
7127
7145
  const v = ye(a);
7128
7146
  return Gt(v), h.setMenus(v), v;
7129
7147
  }), Be = async (a) => ((a == null ? void 0 : a.level) === 0 ? (sessionStorage.getItem("systemKey"), a == null || a.path) : (sessionStorage.getItem("systemKey"), "" + (a == null ? void 0 : a.path)), null), me = (a, v) => {
7130
- var S, q;
7148
+ var _, q;
7131
7149
  const g = a == null ? void 0 : a.find((ce) => (ce == null ? void 0 : ce.operateType) === "新增");
7132
- return ((q = (S = T.value) == null ? void 0 : S.data) == null ? void 0 : q.path) === (v == null ? void 0 : v.path) ? g == null ? void 0 : g.menuIcon : O(v, v == null ? void 0 : v.level);
7150
+ return ((q = (_ = T.value) == null ? void 0 : _.data) == null ? void 0 : q.path) === (v == null ? void 0 : v.path) ? g == null ? void 0 : g.menuIcon : O(v, v == null ? void 0 : v.level);
7133
7151
  }, Oe = async (a, v) => {
7134
7152
  if (!Array.isArray(v)) return a;
7135
7153
  for (const g of v)
@@ -7143,8 +7161,8 @@ function ps(l = "menu") {
7143
7161
  }, ll = B(null), il = async (a, v = null) => await Promise.all(
7144
7162
  a == null ? void 0 : a.map(async (g) => {
7145
7163
  var ce;
7146
- let S = await Oe(g, Ee.value);
7147
- const q = (S == null ? void 0 : S.config) ?? ((ce = v == null ? void 0 : v.filter((j) => j.allowInherit)) == null ? void 0 : ce.map((j) => {
7164
+ let _ = await Oe(g, Ee.value);
7165
+ const q = (_ == null ? void 0 : _.config) ?? ((ce = v == null ? void 0 : v.filter((j) => j.allowInherit)) == null ? void 0 : ce.map((j) => {
7148
7166
  var i;
7149
7167
  return {
7150
7168
  ...j,
@@ -7156,14 +7174,14 @@ function ps(l = "menu") {
7156
7174
  //弹窗和内容的结构都继承
7157
7175
  };
7158
7176
  }));
7159
- return S != null && S.childMenus && (S == null ? void 0 : S.childMenus.length) > 0 && (S = {
7160
- ...S,
7177
+ return _ != null && _.childMenus && (_ == null ? void 0 : _.childMenus.length) > 0 && (_ = {
7178
+ ..._,
7161
7179
  icon: me(q, g),
7162
7180
  config: q,
7163
7181
  children: await il(g == null ? void 0 : g.childMenus, q),
7164
7182
  childMenus: await il(g == null ? void 0 : g.childMenus, q)
7165
7183
  }), {
7166
- ...S,
7184
+ ..._,
7167
7185
  icon: me(q, g),
7168
7186
  config: q
7169
7187
  };
@@ -7172,9 +7190,9 @@ function ps(l = "menu") {
7172
7190
  vl(
7173
7191
  () => u.value,
7174
7192
  (a) => {
7175
- var g, S, q;
7193
+ var g, _, q;
7176
7194
  if (!a) return;
7177
- const v = (S = (g = a == null ? void 0 : a.path) == null ? void 0 : g.split("/")) == null ? void 0 : S[0];
7195
+ const v = (_ = (g = a == null ? void 0 : a.path) == null ? void 0 : g.split("/")) == null ? void 0 : _[0];
7178
7196
  if (v) {
7179
7197
  const ce = (q = w.value) == null ? void 0 : q.find((j) => (j == null ? void 0 : j.path) === v);
7180
7198
  if (!ce || (h.setActiveTopMenuPath(v), !(ce != null && ce.children))) return;
@@ -7186,7 +7204,7 @@ function ps(l = "menu") {
7186
7204
  const fl = async (a) => {
7187
7205
  var v, g;
7188
7206
  if (h.setLinkMenuInfo(null), h.setAsideMenuLoading(!0), M.setRouteToChildPath(""), h.setActiveTopMenuPath(a == null ? void 0 : a.path), h.setActiveMainMenu(a), ll.value = null, a != null && a.childMenus && ((v = a == null ? void 0 : a.childMenus) == null ? void 0 : v.length) > 0) {
7189
- const S = await dl(a), q = (S == null ? void 0 : S.length) === 0 ? a == null ? void 0 : a.childMenus : S;
7207
+ const _ = await dl(a), q = (_ == null ? void 0 : _.length) === 0 ? a == null ? void 0 : a.childMenus : _;
7190
7208
  h.setAsideMenus(q), se.value || h.setUpdateMenuStatus(!0), h.setActiveAsideMenu((g = a == null ? void 0 : a.childMenus) == null ? void 0 : g[0]);
7191
7209
  } else
7192
7210
  h.setAsideMenus([]), h.setActiveMenuPath(a == null ? void 0 : a.path);
@@ -7238,32 +7256,32 @@ function ps(l = "menu") {
7238
7256
  var g;
7239
7257
  const v = [a == null ? void 0 : a.title];
7240
7258
  if (a != null && a.children && ((g = a == null ? void 0 : a.children) == null ? void 0 : g.length) > 0) {
7241
- const S = a.children.map((q) => Te(q));
7242
- v.push(...S);
7259
+ const _ = a.children.map((q) => Te(q));
7260
+ v.push(..._);
7243
7261
  }
7244
7262
  return v;
7245
- }, al = (a, v, g, S) => a.map((q) => {
7263
+ }, al = (a, v, g, _) => a.map((q) => {
7246
7264
  var ce, j;
7247
7265
  if (q.path === g) {
7248
7266
  const i = { ...q };
7249
- return S === "create" ? i.children.push(v) : S === "update" ? i.children = (ce = i.children) == null ? void 0 : ce.map(
7267
+ return _ === "create" ? i.children.push(v) : _ === "update" ? i.children = (ce = i.children) == null ? void 0 : ce.map(
7250
7268
  (k) => (k == null ? void 0 : k.path) === (v == null ? void 0 : v.path) ? v : k
7251
- ) : S === "delete" && (i.children = (j = i.children) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.path) !== (v == null ? void 0 : v.path))), i;
7269
+ ) : _ === "delete" && (i.children = (j = i.children) == null ? void 0 : j.filter((k) => (k == null ? void 0 : k.path) !== (v == null ? void 0 : v.path))), i;
7252
7270
  } else
7253
7271
  return {
7254
7272
  ...q,
7255
- children: al(q.children, v, g, S)
7273
+ children: al(q.children, v, g, _)
7256
7274
  // 递归更新子节点
7257
7275
  };
7258
7276
  }), qe = async (a) => {
7259
- var g, S, q, ce, j, i;
7277
+ var g, _, q, ce, j, i;
7260
7278
  const v = (g = ee.value) == null ? void 0 : g.find((k) => {
7261
7279
  var N;
7262
7280
  return ((N = k == null ? void 0 : k.key) == null ? void 0 : N.pageKey) === "menu";
7263
7281
  });
7264
7282
  if (v) {
7265
7283
  const k = {
7266
- ...(S = v.value) == null ? void 0 : S.pageData,
7284
+ ...(_ = v.value) == null ? void 0 : _.pageData,
7267
7285
  compData: (j = (ce = (q = v.value) == null ? void 0 : q.pageData) == null ? void 0 : ce.compData) == null ? void 0 : j.map((G) => G.key === "menuContents" ? {
7268
7286
  ...G,
7269
7287
  contents: a
@@ -7277,18 +7295,18 @@ function ps(l = "menu") {
7277
7295
  }, nl = async (a) => void 0, Ze = async (a) => {
7278
7296
  var q, ce, j;
7279
7297
  const v = (j = (ce = (q = a == null ? void 0 : a.config) == null ? void 0 : q.find((i) => (i == null ? void 0 : i.operateType) === "新增")) == null ? void 0 : ce.structureIds) == null ? void 0 : j.filter((i) => (i == null ? void 0 : i.key) === "contentConfig"), g = v == null ? void 0 : v.map((i) => i == null ? void 0 : i.id);
7280
- let S = [];
7298
+ let _ = [];
7281
7299
  g == null || g.forEach((i) => {
7282
- i && S.push(nl());
7300
+ i && _.push(nl());
7283
7301
  });
7284
7302
  };
7285
7303
  return vl(
7286
7304
  () => D.value,
7287
7305
  async (a) => {
7288
- var v, g, S, q, ce, j, i, k;
7306
+ var v, g, _, q, ce, j, i, k;
7289
7307
  if (a)
7290
7308
  try {
7291
- const N = (S = (g = (v = T.value) == null ? void 0 : v.data) == null ? void 0 : g.path) == null ? void 0 : S.split("/").slice(0, -1).join("/"), G = al(
7309
+ const N = (_ = (g = (v = T.value) == null ? void 0 : v.data) == null ? void 0 : g.path) == null ? void 0 : _.split("/").slice(0, -1).join("/"), G = al(
7292
7310
  w.value,
7293
7311
  (q = T.value) == null ? void 0 : q.data,
7294
7312
  N,
@@ -7298,7 +7316,7 @@ function ps(l = "menu") {
7298
7316
  const d = await dl(P.value), A = (d == null ? void 0 : d.length) === 0 ? (k = P.value) == null ? void 0 : k.childMenus : d;
7299
7317
  h.setAsideMenus(A);
7300
7318
  } catch (N) {
7301
- throw _l.error(N), new Error(N);
7319
+ throw Sl.error(N), new Error(N);
7302
7320
  }
7303
7321
  },
7304
7322
  { immediate: !0 }
@@ -7315,7 +7333,7 @@ function ps(l = "menu") {
7315
7333
  };
7316
7334
  }
7317
7335
  Bl(ps());
7318
- const _c = Bl(ps("ThreeMenu")), Tc = { class: "three-menu" }, Bc = ["onClick"];
7336
+ const Sc = Bl(ps("ThreeMenu")), Tc = { class: "three-menu" }, Bc = ["onClick"];
7319
7337
  function Ec(l, C, c, h, M, U) {
7320
7338
  return f(), $("div", Tc, [
7321
7339
  (f(!0), $(tl, null, ul(l.renderMenuList, (I) => (f(), $("div", {
@@ -7326,7 +7344,7 @@ function Ec(l, C, c, h, M, U) {
7326
7344
  Wl(l.$slots, "extraIcon", {}, void 0, !0)
7327
7345
  ]);
7328
7346
  }
7329
- const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d52"]]), Pc = { class: "structure-buttons" }, Rc = { class: "structure-paths" }, xc = { class: "client-header-user" }, Vc = { class: "model-select" }, Uc = { class: "model-show" }, jc = { class: "model-fill" }, Oc = ["title", "onClick"], Lc = { class: "panel-body client-container" }, Qc = {
7347
+ const Dc = /* @__PURE__ */ Kl(Sc, [["render", Ec], ["__scopeId", "data-v-94d06d52"]]), Pc = { class: "structure-buttons" }, Rc = { class: "structure-paths" }, xc = { class: "client-header-user" }, Vc = { class: "model-select" }, Uc = { class: "model-show" }, jc = { class: "model-fill" }, Oc = ["title", "onClick"], Lc = { class: "panel-body client-container" }, Qc = {
7330
7348
  key: 0,
7331
7349
  class: "menu-empty"
7332
7350
  }, Nc = {
@@ -7422,10 +7440,10 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7422
7440
  var J, we, Pe, ge, $e, el, Il, Ml, pl, Ke;
7423
7441
  let Y, Ce, pe;
7424
7442
  p != null && p.blob.includes("undefined") ? pe = (we = (J = p == null ? void 0 : p.blob) == null ? void 0 : J.split("undefined,")) == null ? void 0 : we[1] : pe = p == null ? void 0 : p.blob;
7425
- let _e = pe == null ? void 0 : pe.split(",");
7426
- if ((_e == null ? void 0 : _e.length) > 1) {
7427
- let Ue = await (_e == null ? void 0 : _e.map(async (Re) => {
7428
- var Qe, El, Vl, Cl, Sl, Ol;
7443
+ let Se = pe == null ? void 0 : pe.split(",");
7444
+ if ((Se == null ? void 0 : Se.length) > 1) {
7445
+ let Ue = await (Se == null ? void 0 : Se.map(async (Re) => {
7446
+ var Qe, El, Vl, Cl, _l, Ol;
7429
7447
  Y = await ra.get(Re, {
7430
7448
  responseType: "blob",
7431
7449
  headers: {
@@ -7450,7 +7468,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7450
7468
  await Promise.all(Rl);
7451
7469
  }
7452
7470
  return ((Cl = Re == null ? void 0 : Re.split(".")) == null ? void 0 : Cl[((Vl = Re == null ? void 0 : Re.split(".")) == null ? void 0 : Vl.length) - 1]) !== "undefined" && Le.push({
7453
- suffix: "." + ((Ol = Re == null ? void 0 : Re.split(".")) == null ? void 0 : Ol[((Sl = Re == null ? void 0 : Re.split(".")) == null ? void 0 : Sl.length) - 1]),
7471
+ suffix: "." + ((Ol = Re == null ? void 0 : Re.split(".")) == null ? void 0 : Ol[((_l = Re == null ? void 0 : Re.split(".")) == null ? void 0 : _l.length) - 1]),
7454
7472
  blob: new Blob([Y.data], {
7455
7473
  type: "application/octet-stream;charset=UTF-8"
7456
7474
  }),
@@ -7532,7 +7550,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7532
7550
  });
7533
7551
  }, a = async () => {
7534
7552
  await Fn();
7535
- }, v = B("数据管理"), g = B(!1), S = B(), q = B(), ce = B({
7553
+ }, v = B("数据管理"), g = B(!1), _ = B(), q = B(), ce = B({
7536
7554
  x: 0,
7537
7555
  y: 0
7538
7556
  }), j = () => {
@@ -7567,7 +7585,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7567
7585
  document.removeEventListener("mousemove", We), document.removeEventListener("mouseup", rl);
7568
7586
  }
7569
7587
  const be = (K) => {
7570
- W = K.clientX, re = parseInt(getComputedStyle(S.value).width, 10), document.addEventListener("mousemove", We), document.addEventListener("mouseup", rl);
7588
+ W = K.clientX, re = parseInt(getComputedStyle(_.value).width, 10), document.addEventListener("mousemove", We), document.addEventListener("mouseup", rl);
7571
7589
  };
7572
7590
  let ne = 0, b = 0, Me = 0, De = 0;
7573
7591
  function ue(K) {
@@ -7585,10 +7603,10 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7585
7603
  Ne.value = K;
7586
7604
  }, Je = () => {
7587
7605
  Ne.value = !Ne.value;
7588
- }, Se = () => {
7606
+ }, _e = () => {
7589
7607
  sl(!1);
7590
- }, _ = B(), oe = (K) => {
7591
- _.value = K;
7608
+ }, S = B(), oe = (K) => {
7609
+ S.value = K;
7592
7610
  }, ke = (K) => {
7593
7611
  const te = Zs(K);
7594
7612
  if (!te)
@@ -7596,7 +7614,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7596
7614
  Te(te);
7597
7615
  };
7598
7616
  vl(na, (K) => {
7599
- const { isLeaf: te } = _.value || {};
7617
+ const { isLeaf: te } = S.value || {};
7600
7618
  !te || !K || !K.length || ke(K);
7601
7619
  }, {
7602
7620
  immediate: !0,
@@ -7614,7 +7632,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7614
7632
  Hl(async () => {
7615
7633
  ll("setLoginInfo", X.value);
7616
7634
  async function K() {
7617
- var te, xe, Ve, Z, Le, z, p, Y, Ce, pe, _e;
7635
+ var te, xe, Ve, Z, Le, z, p, Y, Ce, pe, Se;
7618
7636
  try {
7619
7637
  let J = function(Ue, Re) {
7620
7638
  return Re.map((Ie) => Ue.map((Qe, El) => ({
@@ -7630,7 +7648,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7630
7648
  console.log("555readData", Il);
7631
7649
  let Ml = [];
7632
7650
  Array.isArray($e) && Array.isArray(el) ? Ml = [...$e, ...el] : (Ml = [], console.warn("unreadMessagesContents 或 readMessagesContents 不是数组")), h.value = J(Il, Ml), console.log("555allReadMessages.value", h.value);
7633
- const pl = ((pe = X == null ? void 0 : X.value) == null ? void 0 : pe.account) || ((_e = X == null ? void 0 : X.value) == null ? void 0 : _e.收件人) || "未知", Ke = h.value.filter((Ue) => {
7651
+ const pl = ((pe = X == null ? void 0 : X.value) == null ? void 0 : pe.account) || ((Se = X == null ? void 0 : X.value) == null ? void 0 : Se.收件人) || "未知", Ke = h.value.filter((Ue) => {
7634
7652
  var Re;
7635
7653
  return ((Re = Ue.find((Ie) => Ie.prop === "收件人")) == null ? void 0 : Re.value) === pl;
7636
7654
  });
@@ -7689,25 +7707,27 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7689
7707
  id: "transparentBgButton",
7690
7708
  onClick: n(Xn)
7691
7709
  }, {
7692
- default: o(() => [...te[5] || (te[5] = [
7693
- cl(" 返回页面 ", -1)
7694
- ])]),
7695
- _: 1
7710
+ default: o(() => te[5] || (te[5] = [
7711
+ cl(" 返回页面 ")
7712
+ ])),
7713
+ _: 1,
7714
+ __: [5]
7696
7715
  }, 8, ["onClick"]),
7697
7716
  s(Ve, {
7698
7717
  id: "transparentBgButton",
7699
7718
  onClick: te[2] || (te[2] = (Ce) => {
7700
- var pe, _e;
7701
- return n(Gn)((_e = (pe = n(ie)) == null ? void 0 : pe.map((J) => J.value)) == null ? void 0 : _e.join("/"));
7719
+ var pe, Se;
7720
+ return n(Gn)((Se = (pe = n(ie)) == null ? void 0 : pe.map((J) => J.value)) == null ? void 0 : Se.join("/"));
7702
7721
  })
7703
7722
  }, {
7704
7723
  icon: o(() => [
7705
7724
  s(Tl, { name: "Store" })
7706
7725
  ]),
7707
7726
  default: o(() => [
7708
- te[6] || (te[6] = cl(" 保存页面 ", -1))
7727
+ te[6] || (te[6] = cl(" 保存页面 "))
7709
7728
  ]),
7710
- _: 1
7729
+ _: 1,
7730
+ __: [6]
7711
7731
  })
7712
7732
  ]),
7713
7733
  V("div", Rc, [
@@ -7809,7 +7829,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7809
7829
  ]), 1024)
7810
7830
  ]),
7811
7831
  "management-menu": o(() => [
7812
- s(_n, {
7832
+ s(Sn, {
7813
7833
  name: "子菜单",
7814
7834
  size: "24",
7815
7835
  onClick: Je,
@@ -7818,7 +7838,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7818
7838
  }, null, 8, ["active"])
7819
7839
  ]),
7820
7840
  "management-page": o(() => [
7821
- s(_n, {
7841
+ s(Sn, {
7822
7842
  name: "yemian",
7823
7843
  size: "24",
7824
7844
  onClick: G,
@@ -7837,7 +7857,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7837
7857
  Yl(V("div", {
7838
7858
  class: "management-page-panel",
7839
7859
  ref_key: "managementPagePanel",
7840
- ref: S,
7860
+ ref: _,
7841
7861
  style: Pl(t.value)
7842
7862
  }, [
7843
7863
  V("div", {
@@ -7865,7 +7885,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7865
7885
  default: o(() => [
7866
7886
  s(p, { class: "client-main" }, {
7867
7887
  default: o(() => {
7868
- var Ce, pe, _e, J, we, Pe;
7888
+ var Ce, pe, Se, J, we, Pe;
7869
7889
  return [
7870
7890
  Yl((f(), $("div", {
7871
7891
  class: "client-main-operate",
@@ -7873,7 +7893,7 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7873
7893
  ref: Ee,
7874
7894
  "element-loading-text": "正在加载页面数据..."
7875
7895
  }, [
7876
- ((pe = n(y)) == null ? void 0 : pe[((Ce = n(y)) == null ? void 0 : Ce.length) - 1]) === n(R) || (_e = n(y)) != null && _e.includes("updateLoading") || (J = n(y)) != null && J.includes("loading") ? (f(), $("div", Nc, [
7896
+ ((pe = n(y)) == null ? void 0 : pe[((Ce = n(y)) == null ? void 0 : Ce.length) - 1]) === n(R) || (Se = n(y)) != null && Se.includes("updateLoading") || (J = n(y)) != null && J.includes("loading") ? (f(), $("div", Nc, [
7877
7897
  s(oa, {
7878
7898
  class: "calculator-content back-content",
7879
7899
  onClickTrigger: te[4] || (te[4] = (ge) => n(zt)()),
@@ -7898,11 +7918,11 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7898
7918
  isDevMode: l.showButton,
7899
7919
  itemData: ge == null ? void 0 : ge.compData,
7900
7920
  childItemData: ge == null ? void 0 : ge.itemChildData,
7901
- key: n(_a),
7921
+ key: n(Sa),
7902
7922
  onChange: n(fa),
7903
7923
  index: (ge == null ? void 0 : ge.id) ?? $e,
7904
7924
  onContentChange: n(pa),
7905
- onPageChange: n(Sa),
7925
+ onPageChange: n(_a),
7906
7926
  onRowClick: nl,
7907
7927
  onRouteUrl: Ze,
7908
7928
  parentTableId: ge == null ? void 0 : ge.tableId,
@@ -7941,13 +7961,13 @@ const Dc = /* @__PURE__ */ Kl(_c, [["render", Ec], ["__scopeId", "data-v-94d06d5
7941
7961
  te[7] || (te[7] = V("span", null, " 菜单树 ", -1)),
7942
7962
  V("span", {
7943
7963
  class: "close",
7944
- onClick: Se
7964
+ onClick: _e
7945
7965
  }, " X ")
7946
7966
  ]),
7947
7967
  V("div", Fc, [
7948
7968
  s(Le, { class: "client-body" }, {
7949
7969
  default: o(() => [
7950
- s(Sc, { onNodeClick: Ae })
7970
+ s(_c, { onNodeClick: Ae })
7951
7971
  ]),
7952
7972
  _: 1
7953
7973
  })
@@ -8262,7 +8282,7 @@ const fs = (l, C, c, h) => {
8262
8282
  Array.isArray(M) || (M = [M]);
8263
8283
  let ye = [];
8264
8284
  return (Ee = Al(M)) == null || Ee.forEach((O) => {
8265
- var F, ve, X, Be, me, Oe, ll, il, dl, fl, ze, wl, de, y, Ye, he, Te, al, qe, nl, Ze, a, v, g, S, q;
8285
+ var F, ve, X, Be, me, Oe, ll, il, dl, fl, ze, wl, de, y, Ye, he, Te, al, qe, nl, Ze, a, v, g, _, q;
8266
8286
  if (!(O != null && O.filter) || ((F = O == null ? void 0 : O.tableColumns) == null ? void 0 : F.length) > 0 || ((ve = O == null ? void 0 : O.value) == null ? void 0 : ve.length) > 0) {
8267
8287
  let ce = (me = (Be = (X = l == null ? void 0 : l.filter) == null ? void 0 : X.replace("(", gl)) == null ? void 0 : Be.split(gl)) == null ? void 0 : me[0], j = (il = (ll = (Oe = O.filter) == null ? void 0 : Oe.replace("(", gl)) == null ? void 0 : ll.split(gl)) == null ? void 0 : il[1];
8268
8288
  j = "(" + (j == null ? void 0 : j.slice(0, (j == null ? void 0 : j.length) - 1)), !(O != null && O.filter) || (O == null ? void 0 : O.filter) === "" ? O.filter = l == null ? void 0 : l.filter : O.filter = ce + j + "," + ((ze = (fl = (dl = l == null ? void 0 : l.filter) == null ? void 0 : dl.replace("(", gl)) == null ? void 0 : fl.split(gl)) == null ? void 0 : ze[1]);
@@ -8272,7 +8292,7 @@ const fs = (l, C, c, h) => {
8272
8292
  ((Ye = O == null ? void 0 : O.tableContents) == null ? void 0 : Ye.length) > 0 && (i != null && i.filter((N) => N == null ? void 0 : N.includes("@Type"))) && ((he = k == null ? void 0 : k[(k == null ? void 0 : k.length) - 1]) != null && he.includes("Manual")) && (O.tableContents = []), O.calculatorFilters = h.calculatorFilters, O.name = [...c, ...O == null ? void 0 : O.name], ye.push(Al(O));
8273
8293
  } else {
8274
8294
  let ce = (qe = (al = (Te = l == null ? void 0 : l.filter) == null ? void 0 : Te.replace("(", gl)) == null ? void 0 : al.split(gl)) == null ? void 0 : qe[0], j = (a = (Ze = (nl = O.filter) == null ? void 0 : nl.replace("(", gl)) == null ? void 0 : Ze.split(gl)) == null ? void 0 : a[1];
8275
- j = "(" + (j == null ? void 0 : j.slice(0, (j == null ? void 0 : j.length) - 1)), !(O != null && O.filter) || (O == null ? void 0 : O.filter) === "" ? O.filter = l == null ? void 0 : l.filter : O.filter = ce + j + "," + ((S = (g = (v = l == null ? void 0 : l.filter) == null ? void 0 : v.replace("(", gl)) == null ? void 0 : g.split(gl)) == null ? void 0 : S[1]), O.calculatorFilters = h.calculatorFilters, (q = fs(Al(O), C, (c == null ? void 0 : c.length) > 0 ? c : [...c, ...O == null ? void 0 : O.name], h)) == null || q.forEach((i) => {
8295
+ j = "(" + (j == null ? void 0 : j.slice(0, (j == null ? void 0 : j.length) - 1)), !(O != null && O.filter) || (O == null ? void 0 : O.filter) === "" ? O.filter = l == null ? void 0 : l.filter : O.filter = ce + j + "," + ((_ = (g = (v = l == null ? void 0 : l.filter) == null ? void 0 : v.replace("(", gl)) == null ? void 0 : g.split(gl)) == null ? void 0 : _[1]), O.calculatorFilters = h.calculatorFilters, (q = fs(Al(O), C, (c == null ? void 0 : c.length) > 0 ? c : [...c, ...O == null ? void 0 : O.name], h)) == null || q.forEach((i) => {
8276
8296
  ye.push(Al(i));
8277
8297
  });
8278
8298
  }
@@ -8338,7 +8358,7 @@ const fs = (l, C, c, h) => {
8338
8358
  return ((ee = (L = R == null ? void 0 : R.key) == null ? void 0 : L.split("/")) == null ? void 0 : ee.length) - 1 !== se;
8339
8359
  })) == null ? void 0 : T.join("/")) + "/";
8340
8360
  return (P = R.contents) == null || P.forEach((u, se) => {
8341
- var m, r, Ee, ye, O, F, ve, X, Be, me, Oe, ll, il, dl, fl, ze, wl, de, y, Ye, he, Te, al, qe, nl, Ze, a, v, g, S, q, ce, j, i, k, N, G, t, d, A, W, re, We, rl;
8361
+ var m, r, Ee, ye, O, F, ve, X, Be, me, Oe, ll, il, dl, fl, ze, wl, de, y, Ye, he, Te, al, qe, nl, Ze, a, v, g, _, q, ce, j, i, k, N, G, t, d, A, W, re, We, rl;
8342
8362
  const L = u == null ? void 0 : u.isShow, ee = (u == null ? void 0 : u.menuFilter) ?? [], w = Array.isArray(ee) && (ee == null ? void 0 : ee.some((be) => {
8343
8363
  const ne = typeof be == "string" ? be : JSON.stringify(be);
8344
8364
  return (ne == null ? void 0 : ne.includes("@Hide")) && (ne == null ? void 0 : ne.includes("Yes"));
@@ -8358,11 +8378,11 @@ const fs = (l, C, c, h) => {
8358
8378
  } else {
8359
8379
  let ne = [];
8360
8380
  Array.isArray(be) || (be = [be]), (il = Al(be)) == null || il.forEach((b) => {
8361
- var Me, De, ue, ae, H, Fe, Xe, Ne, sl, Je, Se, _, oe, ke, Ae, He, K, te, xe, Ve, Z, Le, z, p, Y, Ce, pe, _e, J, we, Pe, ge, $e, el, Il;
8381
+ var Me, De, ue, ae, H, Fe, Xe, Ne, sl, Je, _e, S, oe, ke, Ae, He, K, te, xe, Ve, Z, Le, z, p, Y, Ce, pe, Se, J, we, Pe, ge, $e, el, Il;
8362
8382
  if (!(b != null && b.filter) || ((Me = b == null ? void 0 : b.tableColumns) == null ? void 0 : Me.length) > 0 || ((De = b == null ? void 0 : b.value) == null ? void 0 : De.length) > 0) {
8363
8383
  b.name = [...u == null ? void 0 : u.name, ...(b == null ? void 0 : b.name) ?? []];
8364
8384
  let Ml = (H = (ae = (ue = u == null ? void 0 : u.filter) == null ? void 0 : ue.replace("(", gl)) == null ? void 0 : ae.split(gl)) == null ? void 0 : H[0], pl = (Ne = (Xe = (Fe = b.filter) == null ? void 0 : Fe.replace("(", gl)) == null ? void 0 : Xe.split(gl)) == null ? void 0 : Ne[1];
8365
- pl = "(" + (pl == null ? void 0 : pl.slice(0, (pl == null ? void 0 : pl.length) - 1)), !(b != null && b.filter) || (b == null ? void 0 : b.filter) === "" ? b.filter = u == null ? void 0 : u.filter : b.filter = Ml + pl + "," + ((Se = (Je = (sl = u == null ? void 0 : u.filter) == null ? void 0 : sl.replace("(", gl)) == null ? void 0 : Je.split(gl)) == null ? void 0 : Se[1]), b.calculatorFilters = u.calculatorFilters, b.fatherSyncContents = (u == null ? void 0 : u.fatherSyncContents) ?? [], b.sonSyncContents = u.sonSyncContents ?? [], b.fatherSyncContents = (_ = b == null ? void 0 : b.fatherSyncContents) == null ? void 0 : _.map((Re) => {
8385
+ pl = "(" + (pl == null ? void 0 : pl.slice(0, (pl == null ? void 0 : pl.length) - 1)), !(b != null && b.filter) || (b == null ? void 0 : b.filter) === "" ? b.filter = u == null ? void 0 : u.filter : b.filter = Ml + pl + "," + ((_e = (Je = (sl = u == null ? void 0 : u.filter) == null ? void 0 : sl.replace("(", gl)) == null ? void 0 : Je.split(gl)) == null ? void 0 : _e[1]), b.calculatorFilters = u.calculatorFilters, b.fatherSyncContents = (u == null ? void 0 : u.fatherSyncContents) ?? [], b.sonSyncContents = u.sonSyncContents ?? [], b.fatherSyncContents = (S = b == null ? void 0 : b.fatherSyncContents) == null ? void 0 : S.map((Re) => {
8366
8386
  var Ie, Qe;
8367
8387
  return Re != null && Re.groups ? { ...Re } : Object.assign({}, Re, {
8368
8388
  groups: (Qe = b.name) == null ? void 0 : Qe[((Ie = b.name) == null ? void 0 : Ie.length) - 1]
@@ -8380,7 +8400,7 @@ const fs = (l, C, c, h) => {
8380
8400
  } else {
8381
8401
  let Ml = (Z = (Ve = (xe = u == null ? void 0 : u.filter) == null ? void 0 : xe.replace("(", gl)) == null ? void 0 : Ve.split(gl)) == null ? void 0 : Z[0], pl = (p = (z = (Le = b.filter) == null ? void 0 : Le.replace("(", gl)) == null ? void 0 : z.split(gl)) == null ? void 0 : p[1];
8382
8402
  pl = "(" + (pl == null ? void 0 : pl.slice(0, (pl == null ? void 0 : pl.length) - 1)), !(b != null && b.filter) || (b == null ? void 0 : b.filter) === "" ? b.filter = u == null ? void 0 : u.filter : b.filter = Ml + pl + "," + ((pe = (Ce = (Y = u == null ? void 0 : u.filter) == null ? void 0 : Y.replace("(", gl)) == null ? void 0 : Ce.split(gl)) == null ? void 0 : pe[1]);
8383
- let Ke = (we = (J = (_e = b.filter) == null ? void 0 : _e.replace("(", gl)) == null ? void 0 : J.split(gl)) == null ? void 0 : we[1];
8403
+ let Ke = (we = (J = (Se = b.filter) == null ? void 0 : Se.replace("(", gl)) == null ? void 0 : J.split(gl)) == null ? void 0 : we[1];
8384
8404
  Ke = Ke == null ? void 0 : Ke.slice(0, (Ke == null ? void 0 : Ke.length) - 1), Ke = ga(Ke, ","), b.calculatorFilters = u.calculatorFilters, b.fatherSyncContents = (u == null ? void 0 : u.fatherSyncContents) ?? [], b.sonSyncContents = u.sonSyncContents ?? [], b.fatherSyncContents = (Pe = b == null ? void 0 : b.fatherSyncContents) == null ? void 0 : Pe.map((Re) => {
8385
8405
  var Ie, Qe;
8386
8406
  return Re != null && Re.groups || (Re.groups = (Qe = u.name) == null ? void 0 : Qe[((Ie = u.name) == null ? void 0 : Ie.length) - 1]), Re;
@@ -8422,7 +8442,7 @@ const fs = (l, C, c, h) => {
8422
8442
  !Array.isArray(ne) && (((nl = ne == null ? void 0 : ne.value) == null ? void 0 : nl.length) > 0 || ((Ze = ne == null ? void 0 : ne.tableColumns) == null ? void 0 : Ze.length) > 0) && (((a = ne == null ? void 0 : ne.value) == null ? void 0 : a.length) > 0 ? u.value = ne == null ? void 0 : ne.value : (u.value = (g = (v = Al(ne)) == null ? void 0 : v.tableColumns) == null ? void 0 : g.map((b) => {
8423
8443
  var Me;
8424
8444
  return b.disabled = !0, b.width = (Me = ne == null ? void 0 : ne.tableColumns) == null ? void 0 : Me.length, b;
8425
- }), u.filter = u.filter === "" ? "(@Related: true)" : ((q = u.filter) == null ? void 0 : q.slice(0, ((S = u.filter) == null ? void 0 : S.length) - 1)) + ",@Related: true)")), D.push(u);
8445
+ }), u.filter = u.filter === "" ? "(@Related: true)" : ((q = u.filter) == null ? void 0 : q.slice(0, ((_ = u.filter) == null ? void 0 : _.length) - 1)) + ",@Related: true)")), D.push(u);
8426
8446
  } else if (((ce = u == null ? void 0 : u.tableContents) == null ? void 0 : ce.length) > 0 && ((j = u == null ? void 0 : u.tableColumns) == null ? void 0 : j.length) === 0) {
8427
8447
  let be = ((N = (k = (i = R == null ? void 0 : R.key) == null ? void 0 : i.split("/")) == null ? void 0 : k.filter((ne, b) => {
8428
8448
  var Me, De;
@@ -8530,7 +8550,7 @@ const fs = (l, C, c, h) => {
8530
8550
  case "client":
8531
8551
  return Ts;
8532
8552
  case "three":
8533
- return _s;
8553
+ return Ss;
8534
8554
  }
8535
8555
  }), u = (w) => {
8536
8556
  const m = document.documentElement;
@@ -8622,7 +8642,7 @@ const fs = (l, C, c, h) => {
8622
8642
  var al;
8623
8643
  let Te = ze.get(he == null ? void 0 : he.key) ?? [];
8624
8644
  (Te == null ? void 0 : Te.length) > 0 && ((al = he.contents) == null || al.forEach((qe) => {
8625
- var g, S;
8645
+ var g, _;
8626
8646
  let nl = Te == null ? void 0 : Te.find((q) => {
8627
8647
  var ce, j;
8628
8648
  return ((j = qe == null ? void 0 : qe.name) == null ? void 0 : j[((ce = qe == null ? void 0 : qe.name) == null ? void 0 : ce.length) - 1]) === (q == null ? void 0 : q.property_name);
@@ -8632,7 +8652,7 @@ const fs = (l, C, c, h) => {
8632
8652
  let ce = ot(q, a);
8633
8653
  return ce.id = "1", ce;
8634
8654
  });
8635
- ((S = qe == null ? void 0 : qe.tableContents) == null ? void 0 : S.length) > 0 && Ye.push({
8655
+ ((_ = qe == null ? void 0 : qe.tableContents) == null ? void 0 : _.length) > 0 && Ye.push({
8636
8656
  tableName: Ze,
8637
8657
  tableContents: v
8638
8658
  });
@@ -8646,7 +8666,7 @@ const fs = (l, C, c, h) => {
8646
8666
  const dl = await L(), fl = (me = (Be = (X = dl == null ? void 0 : dl.data) == null ? void 0 : X.result) == null ? void 0 : Be[0]) == null ? void 0 : me.object_id;
8647
8667
  c.setHomepageBackgroundTableId(fl);
8648
8668
  } catch (Oe) {
8649
- console.error(Oe), _l.error("模型内容错误");
8669
+ console.error(Oe), Sl.error("模型内容错误");
8650
8670
  }
8651
8671
  M.setImportLoading(!1);
8652
8672
  },
@@ -8837,7 +8857,7 @@ const hu = (l) => {
8837
8857
  initExecute: P,
8838
8858
  initAssignMethodToPlatform: async (L) => await u(L)
8839
8859
  };
8840
- }, mu = { class: "method-library" }, wu = { class: "method-list" }, ku = ["onClick", "title"], Au = { class: "method-name" }, Iu = { class: "operate" }, Mu = { class: "library-right-card" }, Su = { class: "method-operate" }, _u = { class: "operate-right" }, Tu = { class: "method-detail" }, Bu = { class: "detail-form-wrapper" }, Eu = { class: "detail-footer" }, Du = { class: "footer-right" }, Pu = /* @__PURE__ */ Bl({
8860
+ }, mu = { class: "method-library" }, wu = { class: "method-list" }, ku = ["onClick", "title"], Au = { class: "method-name" }, Iu = { class: "operate" }, Mu = { class: "library-right-card" }, _u = { class: "method-operate" }, Su = { class: "operate-right" }, Tu = { class: "method-detail" }, Bu = { class: "detail-form-wrapper" }, Eu = { class: "detail-footer" }, Du = { class: "footer-right" }, Pu = /* @__PURE__ */ Bl({
8841
8861
  __name: "index",
8842
8862
  setup(l) {
8843
8863
  const { isSuperAdmin: C, initMethodItem: c, initMethodList: h, initCreate: M, initUpdate: U, initDelete: I, initExecute: x } = $t(), R = B([]), D = async (Be) => {
@@ -8937,7 +8957,7 @@ const hu = (l) => {
8937
8957
  const Oe = await x(me);
8938
8958
  await ve(Oe);
8939
8959
  } catch {
8940
- _l.error("执行失败");
8960
+ Sl.error("执行失败");
8941
8961
  } finally {
8942
8962
  Be.close();
8943
8963
  }
@@ -8950,11 +8970,11 @@ const hu = (l) => {
8950
8970
  class: "library-left-card",
8951
8971
  "body-class": "library-left-card-body"
8952
8972
  }, {
8953
- header: o(() => [...me[7] || (me[7] = [
8973
+ header: o(() => me[7] || (me[7] = [
8954
8974
  V("div", { class: "method-list-header" }, [
8955
8975
  V("div", { class: "title" }, "方法列表")
8956
8976
  ], -1)
8957
- ])]),
8977
+ ])),
8958
8978
  default: o(() => [
8959
8979
  V("div", wu, [
8960
8980
  (f(!0), $(tl, null, ul(R.value, (y) => {
@@ -8981,17 +9001,18 @@ const hu = (l) => {
8981
9001
  _: 1
8982
9002
  }),
8983
9003
  V("div", Mu, [
8984
- V("div", Su, [
9004
+ V("div", _u, [
8985
9005
  me[9] || (me[9] = V("div", { class: "operate-left" }, null, -1)),
8986
- V("div", _u, [
9006
+ V("div", Su, [
8987
9007
  s(il, {
8988
9008
  type: "primary",
8989
9009
  onClick: me[0] || (me[0] = (y) => e())
8990
9010
  }, {
8991
- default: o(() => [...me[8] || (me[8] = [
8992
- cl("创建方法", -1)
8993
- ])]),
8994
- _: 1
9011
+ default: o(() => me[8] || (me[8] = [
9012
+ cl("创建方法")
9013
+ ])),
9014
+ _: 1,
9015
+ __: [8]
8995
9016
  })
8996
9017
  ])
8997
9018
  ]),
@@ -9153,20 +9174,22 @@ const hu = (l) => {
9153
9174
  type: "primary",
9154
9175
  onClick: w
9155
9176
  }, {
9156
- default: o(() => [...me[10] || (me[10] = [
9157
- cl("保存", -1)
9158
- ])]),
9159
- _: 1
9177
+ default: o(() => me[10] || (me[10] = [
9178
+ cl("保存")
9179
+ ])),
9180
+ _: 1,
9181
+ __: [10]
9160
9182
  }),
9161
9183
  u.value.id ? (f(), fe(il, {
9162
9184
  key: 0,
9163
9185
  type: "primary",
9164
9186
  onClick: me[6] || (me[6] = (y) => X())
9165
9187
  }, {
9166
- default: o(() => [...me[11] || (me[11] = [
9167
- cl("执行", -1)
9168
- ])]),
9169
- _: 1
9188
+ default: o(() => me[11] || (me[11] = [
9189
+ cl("执行")
9190
+ ])),
9191
+ _: 1,
9192
+ __: [11]
9170
9193
  })) : je("", !0)
9171
9194
  ])
9172
9195
  ])
@@ -9199,7 +9222,7 @@ const hu = (l) => {
9199
9222
  "destroy-on-close": "",
9200
9223
  "show-close": !1
9201
9224
  }, {
9202
- header: o(() => [...x[1] || (x[1] = [])]),
9225
+ header: o(() => x[1] || (x[1] = [])),
9203
9226
  default: o(() => [
9204
9227
  V("div", Ru, [
9205
9228
  V("div", xu, [
@@ -9213,7 +9236,7 @@ const hu = (l) => {
9213
9236
  s(Pu)
9214
9237
  ])
9215
9238
  ]),
9216
- footer: o(() => [...x[2] || (x[2] = [])]),
9239
+ footer: o(() => x[2] || (x[2] = [])),
9217
9240
  _: 1
9218
9241
  }, 8, ["modelValue"]);
9219
9242
  };
@@ -9309,9 +9332,9 @@ const hu = (l) => {
9309
9332
  "destroy-on-close": "",
9310
9333
  modalClass: "allocation-modal"
9311
9334
  }, {
9312
- header: o(() => [...T[1] || (T[1] = [
9335
+ header: o(() => T[1] || (T[1] = [
9313
9336
  V("div", null, "方法分配", -1)
9314
- ])]),
9337
+ ])),
9315
9338
  default: o(() => [
9316
9339
  V("div", Qu, [
9317
9340
  s(Lu, {
@@ -9462,7 +9485,7 @@ const hu = (l) => {
9462
9485
  value: ""
9463
9486
  });
9464
9487
  if (!H || (H == null ? void 0 : H.length) <= 1) {
9465
- _l.warning("不能删除唯一模型");
9488
+ Sl.warning("不能删除唯一模型");
9466
9489
  return;
9467
9490
  }
9468
9491
  const Fe = ca.service({
@@ -9489,9 +9512,9 @@ const hu = (l) => {
9489
9512
  }, sl = await Promise.all([ws(Ne), jn({
9490
9513
  platId: parseInt((Je = L == null ? void 0 : L.value) == null ? void 0 : Je.plat_id)
9491
9514
  })]);
9492
- Xe = sl == null ? void 0 : sl.every((Se) => {
9493
- var _;
9494
- return ((_ = Se == null ? void 0 : Se.data) == null ? void 0 : _.code) === 200;
9515
+ Xe = sl == null ? void 0 : sl.every((_e) => {
9516
+ var S;
9517
+ return ((S = _e == null ? void 0 : _e.data) == null ? void 0 : S.code) === 200;
9495
9518
  }), Xe && await Me();
9496
9519
  });
9497
9520
  } catch (Ne) {
@@ -9534,7 +9557,7 @@ const hu = (l) => {
9534
9557
  fullscreen: !0
9535
9558
  }), g = async () => {
9536
9559
  M("open"), Me();
9537
- }, S = () => {
9560
+ }, _ = () => {
9538
9561
  v.show = !1, M("close");
9539
9562
  };
9540
9563
  vl(() => U == null ? void 0 : U.modelValue, (ae) => {
@@ -9697,16 +9720,16 @@ const hu = (l) => {
9697
9720
  // 业务类型字段
9698
9721
  } = H;
9699
9722
  return Array.isArray(ae) ? ae == null ? void 0 : ae.map((Je) => {
9700
- const Se = {
9723
+ const _e = {
9701
9724
  [Fe]: Je[Fe] || Je[Ne] || "管理系统",
9702
9725
  value: Je[Fe] || Je[Ne] || "管理系统",
9703
9726
  isPlat: !!(Je != null && Je.platType)
9704
9727
  };
9705
- return Je[sl] && Array.isArray(Je[sl]) && (Se[Xe] = Je[sl].map((_) => ({
9706
- [Fe]: _[Fe] || _.businessType || "",
9707
- value: _[Fe] || _.businessType || "",
9708
- isPlat: !!(_ != null && _.platType)
9709
- }))), Se;
9728
+ return Je[sl] && Array.isArray(Je[sl]) && (_e[Xe] = Je[sl].map((S) => ({
9729
+ [Fe]: S[Fe] || S.businessType || "",
9730
+ value: S[Fe] || S.businessType || "",
9731
+ isPlat: !!(S != null && S.platType)
9732
+ }))), _e;
9710
9733
  }) : [];
9711
9734
  }
9712
9735
  const re = async () => {
@@ -9727,14 +9750,14 @@ const hu = (l) => {
9727
9750
  let H;
9728
9751
  try {
9729
9752
  if (!((Fe = L == null ? void 0 : L.value) != null && Fe.user_id)) return;
9730
- const Je = (ae == null ? void 0 : ae.value) === "管理系统" ? "" : ae == null ? void 0 : ae.value, Se = await ks({
9753
+ const Je = (ae == null ? void 0 : ae.value) === "管理系统" ? "" : ae == null ? void 0 : ae.value, _e = await ks({
9731
9754
  userId: (Xe = L == null ? void 0 : L.value) == null ? void 0 : Xe.user_id,
9732
9755
  platType: ae != null && ae.isPlat ? Je : "",
9733
9756
  businessType: ae != null && ae.isPlat ? "" : Je
9734
9757
  });
9735
- if (((Ne = Se == null ? void 0 : Se.data) == null ? void 0 : Ne.code) === 200) {
9736
- const _ = ((sl = Se == null ? void 0 : Se.data) == null ? void 0 : sl.result) || [];
9737
- t.value = _, H = _;
9758
+ if (((Ne = _e == null ? void 0 : _e.data) == null ? void 0 : Ne.code) === 200) {
9759
+ const S = ((sl = _e == null ? void 0 : _e.data) == null ? void 0 : sl.result) || [];
9760
+ t.value = S, H = S;
9738
9761
  }
9739
9762
  } catch (Je) {
9740
9763
  throw Je;
@@ -9757,7 +9780,7 @@ const hu = (l) => {
9757
9780
  (ae = De.value) == null || ae.openDialog();
9758
9781
  };
9759
9782
  return C({ openDialog: w }), (ae, H) => {
9760
- const Fe = le("svg-icon"), Xe = le("el-button"), Ne = le("el-tree"), sl = le("el-card"), Je = le("el-input"), Se = le("el-table-column"), _ = le("el-icon"), oe = le("el-image"), ke = le("el-tag"), Ae = le("el-link"), He = le("el-table"), K = le("el-dialog"), te = le("el-cascader"), xe = le("el-form-item"), Ve = le("el-col"), Z = le("el-row"), Le = le("el-upload"), z = le("el-form");
9783
+ const Fe = le("svg-icon"), Xe = le("el-button"), Ne = le("el-tree"), sl = le("el-card"), Je = le("el-input"), _e = le("el-table-column"), S = le("el-icon"), oe = le("el-image"), ke = le("el-tag"), Ae = le("el-link"), He = le("el-table"), K = le("el-dialog"), te = le("el-cascader"), xe = le("el-form-item"), Ve = le("el-col"), Z = le("el-row"), Le = le("el-upload"), z = le("el-form");
9761
9784
  return f(), $(tl, null, [
9762
9785
  s(K, {
9763
9786
  class: "model-management-dialog",
@@ -9765,9 +9788,9 @@ const hu = (l) => {
9765
9788
  "onUpdate:modelValue": H[2] || (H[2] = (p) => v.show = p),
9766
9789
  title: v.title,
9767
9790
  fullscreen: v.fullscreen,
9768
- "before-close": S,
9791
+ "before-close": _,
9769
9792
  onOpen: g,
9770
- onClose: S,
9793
+ onClose: _,
9771
9794
  "destroy-on-close": "",
9772
9795
  "show-close": !1,
9773
9796
  style: { "background-color": "#f3f3f3" }
@@ -9790,10 +9813,11 @@ const hu = (l) => {
9790
9813
  type: "primary",
9791
9814
  onClick: ne
9792
9815
  }, {
9793
- default: o(() => [...H[8] || (H[8] = [
9794
- cl("查看所有", -1)
9795
- ])]),
9796
- _: 1
9816
+ default: o(() => H[8] || (H[8] = [
9817
+ cl("查看所有")
9818
+ ])),
9819
+ _: 1,
9820
+ __: [8]
9797
9821
  })
9798
9822
  ]),
9799
9823
  default: o(() => [
@@ -9833,19 +9857,21 @@ const hu = (l) => {
9833
9857
  type: "primary",
9834
9858
  onClick: ue
9835
9859
  }, {
9836
- default: o(() => [...H[10] || (H[10] = [
9837
- cl("方法库", -1)
9838
- ])]),
9839
- _: 1
9860
+ default: o(() => H[10] || (H[10] = [
9861
+ cl("方法库")
9862
+ ])),
9863
+ _: 1,
9864
+ __: [10]
9840
9865
  }),
9841
9866
  s(Xe, {
9842
9867
  type: "primary",
9843
9868
  onClick: H[1] || (H[1] = (p) => il())
9844
9869
  }, {
9845
- default: o(() => [...H[11] || (H[11] = [
9846
- cl("创建系统", -1)
9847
- ])]),
9848
- _: 1
9870
+ default: o(() => H[11] || (H[11] = [
9871
+ cl("创建系统")
9872
+ ])),
9873
+ _: 1,
9874
+ __: [11]
9849
9875
  })
9850
9876
  ])
9851
9877
  ])
@@ -9863,13 +9889,13 @@ const hu = (l) => {
9863
9889
  onRowDblclick: q
9864
9890
  }, {
9865
9891
  default: o(() => [
9866
- s(Se, {
9892
+ s(_e, {
9867
9893
  type: "index",
9868
9894
  label: "序号",
9869
9895
  width: "70",
9870
9896
  align: "center"
9871
9897
  }),
9872
- (f(!0), $(tl, null, ul(A.value, (p) => (f(), fe(Se, {
9898
+ (f(!0), $(tl, null, ul(A.value, (p) => (f(), fe(_e, {
9873
9899
  "min-width": p == null ? void 0 : p.minWidth,
9874
9900
  key: p == null ? void 0 : p.prop,
9875
9901
  prop: p == null ? void 0 : p.prop,
@@ -9885,7 +9911,7 @@ const hu = (l) => {
9885
9911
  style: { width: "40px", height: "40px", "border-radius": "4px", cursor: "pointer" }
9886
9912
  }, {
9887
9913
  error: o(() => [
9888
- s(_, {
9914
+ s(S, {
9889
9915
  style: { width: "100%", height: "100%" },
9890
9916
  title: "暂无图片"
9891
9917
  }, {
@@ -9895,8 +9921,8 @@ const hu = (l) => {
9895
9921
  _: 1
9896
9922
  })
9897
9923
  ]),
9898
- _: 1
9899
- }, 8, ["src"])) : je("", !0),
9924
+ _: 2
9925
+ }, 1032, ["src"])) : je("", !0),
9900
9926
  (p == null ? void 0 : p.render) === "tag" && (Y != null && Y[p == null ? void 0 : p.prop]) ? (f(), fe(ke, {
9901
9927
  key: 1,
9902
9928
  style: { color: "#fff" },
@@ -9911,7 +9937,7 @@ const hu = (l) => {
9911
9937
  ]),
9912
9938
  _: 2
9913
9939
  }, 1032, ["min-width", "prop", "label", "fixed"]))), 128)),
9914
- s(Se, {
9940
+ s(_e, {
9915
9941
  fixed: "right",
9916
9942
  prop: "operate",
9917
9943
  label: "操作",
@@ -10130,7 +10156,7 @@ const hu = (l) => {
10130
10156
  class: "logo",
10131
10157
  src: ve.value.logoBlobUrl
10132
10158
  }, null, 8, td)
10133
- ])) : (f(), fe(_, {
10159
+ ])) : (f(), fe(S, {
10134
10160
  key: 1,
10135
10161
  class: "logo-uploader-icon"
10136
10162
  }, {
@@ -10228,7 +10254,7 @@ const hu = (l) => {
10228
10254
  content: h
10229
10255
  };
10230
10256
  } };
10231
- }, ud = { class: "workspace-wrapper" }, dd = { class: "workspace-header" }, pd = { class: "model-back" }, fd = { class: "workspace-body" }, vd = { class: "body-left" }, hd = { class: "operate-wrapper" }, gd = ["icon"], yd = ["onClick"], bd = { class: "operate-label" }, Cd = { class: "body-right" }, md = { class: "right-content" }, wd = { class: "history-list" }, kd = ["onDblclick"], Ad = ["title"], Id = ["title"], Md = ["title"], Sd = /* @__PURE__ */ Bl({
10257
+ }, ud = { class: "workspace-wrapper" }, dd = { class: "workspace-header" }, pd = { class: "model-back" }, fd = { class: "workspace-body" }, vd = { class: "body-left" }, hd = { class: "operate-wrapper" }, gd = ["icon"], yd = ["onClick"], bd = { class: "operate-label" }, Cd = { class: "body-right" }, md = { class: "right-content" }, wd = { class: "history-list" }, kd = ["onDblclick"], Ad = ["title"], Id = ["title"], Md = ["title"], _d = /* @__PURE__ */ Bl({
10232
10258
  __name: "index",
10233
10259
  props: {
10234
10260
  historyData: { default: () => [] }
@@ -10323,7 +10349,7 @@ const hu = (l) => {
10323
10349
  ], -1)),
10324
10350
  V("div", md, [
10325
10351
  V("div", wd, [
10326
- (f(!0), $(tl, null, ul(l.historyData, (se) => (f(), $("div", {
10352
+ (f(!0), $(tl, null, ul(E.historyData, (se) => (f(), $("div", {
10327
10353
  class: "history-item",
10328
10354
  key: se.path,
10329
10355
  onDblclick: (L) => e(se)
@@ -10351,7 +10377,7 @@ const hu = (l) => {
10351
10377
  }, 8, ["modelValue", "title", "fullscreen"]);
10352
10378
  };
10353
10379
  }
10354
- }), _d = { class: "add-model-content" }, Td = {
10380
+ }), Sd = { class: "add-model-content" }, Td = {
10355
10381
  key: 0,
10356
10382
  class: "model-operate"
10357
10383
  }, Bd = { class: "model-select" }, Ed = { class: "model-fill" }, Dd = {
@@ -10444,7 +10470,7 @@ const hu = (l) => {
10444
10470
  }), j[A.name] = b, j[A.name + "Content"] = A;
10445
10471
  }
10446
10472
  }), j.extra = G;
10447
- const t = await Mo(), d = await So();
10473
+ const t = await Mo(), d = await _o();
10448
10474
  j.singleRobotData = t, j.doubleRobotData = d, h("threeData", j);
10449
10475
  }
10450
10476
  },
@@ -10545,7 +10571,7 @@ const hu = (l) => {
10545
10571
  var i;
10546
10572
  const j = (i = w == null ? void 0 : w.value) == null ? void 0 : i.plat_id;
10547
10573
  if (!j) {
10548
- _l.error("无法获取系统ID");
10574
+ Sl.error("无法获取系统ID");
10549
10575
  return;
10550
10576
  }
10551
10577
  Be.value = !1, ie.setImportLoading(!0);
@@ -10557,9 +10583,9 @@ const hu = (l) => {
10557
10583
  const A = t.match(/filename="?([^"]+)"?/);
10558
10584
  A && A.length === 2 && (G = A[1].replace(".txt", ".ild"));
10559
10585
  }
10560
- await al(N, G, ".ild") && _l.success("导出成功");
10586
+ await al(N, G, ".ild") && Sl.success("导出成功");
10561
10587
  } catch {
10562
- _l.error("导出失败");
10588
+ Sl.error("导出失败");
10563
10589
  } finally {
10564
10590
  ie.setImportLoading(!1);
10565
10591
  }
@@ -10567,7 +10593,7 @@ const hu = (l) => {
10567
10593
  var i;
10568
10594
  const j = (i = w == null ? void 0 : w.value) == null ? void 0 : i.plat_id;
10569
10595
  if (!j) {
10570
- _l.error("无法获取系统ID");
10596
+ Sl.error("无法获取系统ID");
10571
10597
  return;
10572
10598
  }
10573
10599
  Be.value = !1, ie.setImportLoading(!0);
@@ -10579,9 +10605,9 @@ const hu = (l) => {
10579
10605
  const A = t.match(/filename="?([^"]+)"?/);
10580
10606
  A && A.length === 2 && (G = A[1].replace(".txt", ".ild"));
10581
10607
  }
10582
- await al(N, G, ".ild") && _l.success("导出成功");
10608
+ await al(N, G, ".ild") && Sl.success("导出成功");
10583
10609
  } catch {
10584
- _l.error("导出失败");
10610
+ Sl.error("导出失败");
10585
10611
  } finally {
10586
10612
  ie.setImportLoading(!1);
10587
10613
  }
@@ -10618,7 +10644,7 @@ const hu = (l) => {
10618
10644
  h("executeWorkspace", {
10619
10645
  type: st.GET_HISTORY_DATA
10620
10646
  }), (j = v.value) == null || j.openDialog();
10621
- }, S = async (j) => {
10647
+ }, _ = async (j) => {
10622
10648
  const { type: i } = j;
10623
10649
  if (i === st.SAVE) {
10624
10650
  const k = ca.service({
@@ -10642,9 +10668,9 @@ const hu = (l) => {
10642
10668
  background: "rgba(0, 0, 0, 0.7)"
10643
10669
  });
10644
10670
  try {
10645
- await a(), q(), (i = v.value) == null || i.closeDialog(), _l.success("打开成功");
10671
+ await a(), q(), (i = v.value) == null || i.closeDialog(), Sl.success("打开成功");
10646
10672
  } catch {
10647
- _l.error("打开失败");
10673
+ Sl.error("打开失败");
10648
10674
  } finally {
10649
10675
  j.close();
10650
10676
  }
@@ -10653,7 +10679,7 @@ const hu = (l) => {
10653
10679
  j && ce();
10654
10680
  }, { deep: !0 }), (j, i) => {
10655
10681
  const k = le("svg-icon"), N = le("el-button"), G = le("el-dialog");
10656
- return f(), $("div", _d, [
10682
+ return f(), $("div", Sd, [
10657
10683
  (c == null ? void 0 : c.mode) === "edit" ? (f(), $("div", Td, [
10658
10684
  V("div", Bd, [
10659
10685
  s(qt)
@@ -10697,9 +10723,10 @@ const hu = (l) => {
10697
10723
  s(k, { name: "model" })
10698
10724
  ]),
10699
10725
  default: o(() => [
10700
- i[2] || (i[2] = cl(" 模型 ", -1))
10726
+ i[2] || (i[2] = cl(" 模型 "))
10701
10727
  ]),
10702
- _: 1
10728
+ _: 1,
10729
+ __: [2]
10703
10730
  })) : je("", !0)
10704
10731
  ];
10705
10732
  }),
@@ -10713,9 +10740,10 @@ const hu = (l) => {
10713
10740
  s(k, { name: "模板管理" })
10714
10741
  ]),
10715
10742
  default: o(() => [
10716
- i[3] || (i[3] = cl(" 模型列表 ", -1))
10743
+ i[3] || (i[3] = cl(" 模型列表 "))
10717
10744
  ]),
10718
- _: 1
10745
+ _: 1,
10746
+ __: [3]
10719
10747
  }),
10720
10748
  s(N, {
10721
10749
  onClick: y,
@@ -10735,9 +10763,10 @@ const hu = (l) => {
10735
10763
  style: { display: "none" },
10736
10764
  multiple: ""
10737
10765
  }, null, 32)),
10738
- i[4] || (i[4] = cl(" 导入模型 ", -1))
10766
+ i[4] || (i[4] = cl(" 导入模型 "))
10739
10767
  ]),
10740
- _: 1
10768
+ _: 1,
10769
+ __: [4]
10741
10770
  }),
10742
10771
  s(N, {
10743
10772
  onClick: Te,
@@ -10747,9 +10776,10 @@ const hu = (l) => {
10747
10776
  s(k, { name: "export" })
10748
10777
  ]),
10749
10778
  default: o(() => [
10750
- i[5] || (i[5] = cl(" 导出模型 ", -1))
10779
+ i[5] || (i[5] = cl(" 导出模型 "))
10751
10780
  ]),
10752
- _: 1
10781
+ _: 1,
10782
+ __: [5]
10753
10783
  }),
10754
10784
  s(N, {
10755
10785
  onClick: a,
@@ -10759,9 +10789,10 @@ const hu = (l) => {
10759
10789
  s(k, { name: "clear" })
10760
10790
  ]),
10761
10791
  default: o(() => [
10762
- i[6] || (i[6] = cl(" 清空模型 ", -1))
10792
+ i[6] || (i[6] = cl(" 清空模型 "))
10763
10793
  ]),
10764
- _: 1
10794
+ _: 1,
10795
+ __: [6]
10765
10796
  })
10766
10797
  ])
10767
10798
  ]),
@@ -10776,9 +10807,10 @@ const hu = (l) => {
10776
10807
  s(k, { name: "工作台" })
10777
10808
  ]),
10778
10809
  default: o(() => [
10779
- i[7] || (i[7] = cl(" 工作区 ", -1))
10810
+ i[7] || (i[7] = cl(" 工作区 "))
10780
10811
  ]),
10781
- _: 1
10812
+ _: 1,
10813
+ __: [7]
10782
10814
  })) : je("", !0)
10783
10815
  ]),
10784
10816
  _: 1
@@ -10791,11 +10823,11 @@ const hu = (l) => {
10791
10823
  onOpen: me,
10792
10824
  onClose: Oe
10793
10825
  }, null, 8, ["modelValue"]),
10794
- s(Sd, {
10826
+ s(_d, {
10795
10827
  ref_key: "workspaceDialog",
10796
10828
  ref: v,
10797
10829
  "history-data": l.workspaceHistoryData,
10798
- onExecuteWorkspace: S
10830
+ onExecuteWorkspace: _
10799
10831
  }, null, 8, ["history-data"]),
10800
10832
  s(G, {
10801
10833
  modelValue: Be.value,
@@ -10810,25 +10842,28 @@ const hu = (l) => {
10810
10842
  type: "primary",
10811
10843
  onClick: qe
10812
10844
  }, {
10813
- default: o(() => [...i[8] || (i[8] = [
10814
- cl("导出模型", -1)
10815
- ])]),
10816
- _: 1
10845
+ default: o(() => i[8] || (i[8] = [
10846
+ cl("导出模型")
10847
+ ])),
10848
+ _: 1,
10849
+ __: [8]
10817
10850
  }),
10818
10851
  s(N, { disabled: "" }, {
10819
- default: o(() => [...i[9] || (i[9] = [
10820
- cl("导出数据", -1)
10821
- ])]),
10822
- _: 1
10852
+ default: o(() => i[9] || (i[9] = [
10853
+ cl("导出数据")
10854
+ ])),
10855
+ _: 1,
10856
+ __: [9]
10823
10857
  }),
10824
10858
  s(N, {
10825
10859
  type: "primary",
10826
10860
  onClick: nl
10827
10861
  }, {
10828
- default: o(() => [...i[10] || (i[10] = [
10829
- cl("导出模型数据", -1)
10830
- ])]),
10831
- _: 1
10862
+ default: o(() => i[10] || (i[10] = [
10863
+ cl("导出模型数据")
10864
+ ])),
10865
+ _: 1,
10866
+ __: [10]
10832
10867
  })
10833
10868
  ])
10834
10869
  ]),
@@ -10837,7 +10872,7 @@ const hu = (l) => {
10837
10872
  ]);
10838
10873
  };
10839
10874
  }
10840
- }), cp = /* @__PURE__ */ Kl(xd, [["__scopeId", "data-v-a8c2fe98"]]);
10875
+ }), up = /* @__PURE__ */ Kl(xd, [["__scopeId", "data-v-a8c2fe98"]]);
10841
10876
  export {
10842
- cp as default
10877
+ up as default
10843
10878
  };