ss-component-new 1.3.619 → 1.3.621

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 (69) hide show
  1. package/dist/{MTLLoader-5pQpbMEZ.js → MTLLoader-Cg9LEvNr.js} +2 -2
  2. package/dist/{URDFLoader-BO26K5-d.js → URDFLoader-mPVZjSIW.js} +589 -584
  3. package/dist/{animationData-rL2nYHqW.js → animationData-CDdaleGB.js} +3 -3
  4. package/dist/{array-DtIbnYgx.js → array-HJsOOS05.js} +13 -14
  5. package/dist/{clone-ESeDvnJv.js → clone-MyfSNInd.js} +1 -1
  6. package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
  7. package/dist/{iconfont-BIrta5vE.js → iconfont-BBJ_Xa7g.js} +91 -91
  8. package/dist/{index-BvkIoiVW.js → index-6qXeMn6b.js} +3 -3
  9. package/dist/{index-BXh02EAd.js → index-B2LYEScO.js} +4 -4
  10. package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
  11. package/dist/{index-ZdNvgZn9.js → index-B86vVYuK.js} +3 -3
  12. package/dist/{index-D8UY4uNQ.js → index-B8NQAdR4.js} +966 -967
  13. package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
  14. package/dist/index-BGVDfril.js +2623 -0
  15. package/dist/{index-Dj2f3bb5.js → index-BVcc8kay.js} +18 -20
  16. package/dist/{index-CPW7tdrA.js → index-BkkvdZXm.js} +17 -20
  17. package/dist/{index-B0M1YCUY.js → index-BvtOLltL.js} +7 -7
  18. package/dist/{index-DsdWSuDi.js → index-BvyM6d06.js} +482 -483
  19. package/dist/{index-CX8Apbo7.js → index-BybrpYzx.js} +1 -1
  20. package/dist/{index-tMqKF2l6.js → index-CM6aWexA.js} +2 -2
  21. package/dist/{index-CHhMgqcG.js → index-CRUkYvae.js} +4 -4
  22. package/dist/{index-BBBCr4Oo.js → index-CT1LWsrT.js} +2 -2
  23. package/dist/{index-D9xMYIes.js → index-CYjsE5Gs.js} +3 -3
  24. package/dist/{index-B_fRppeJ.js → index-CkO7j_i1.js} +8 -8
  25. package/dist/{index-Bk8b7svu.js → index-CpF3wYnE.js} +28389 -29302
  26. package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
  27. package/dist/{index-Bh9xfMUe.js → index-D1vR2n9D.js} +5 -5
  28. package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
  29. package/dist/{index-C3pboX9W.js → index-DIVct0z6.js} +5 -5
  30. package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
  31. package/dist/{index-DMzOSLH7.js → index-DMUuZJrY.js} +3 -3
  32. package/dist/{index-DppGK-cl.js → index-DMkEL6P5.js} +6 -6
  33. package/dist/{index-CEdE_NSq.js → index-DagRVVUS.js} +4 -4
  34. package/dist/{index-BUqviBFi.js → index-DcPtyCDm.js} +29 -35
  35. package/dist/{index-CwzrUS8I.js → index-DibHtT3s.js} +570 -605
  36. package/dist/{index-CjAdUy4n.js → index-DjyxFjoY.js} +60 -62
  37. package/dist/{index-D1E8EPxn.js → index-DmILGKv9.js} +57 -61
  38. package/dist/{index-j9f77uCm.js → index-DneXSBUw.js} +8 -8
  39. package/dist/{index-B8XrhVMF.js → index-QpbdZ-N-.js} +36 -40
  40. package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
  41. package/dist/{index-DU8bIzXR.js → index-vITXyWii.js} +6973 -6531
  42. package/dist/{index--n0LF76p.js → index-xWwc0MvD.js} +148 -157
  43. package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
  44. package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VCheSKQF.js} +27760 -27735
  45. package/dist/isString-Dxm3W5iX.js +8 -0
  46. package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
  47. package/dist/{main-D8iFsrPY.js → main-BuQcSVmx.js} +9 -9
  48. package/dist/{menuIndex-DAW9B-9g.js → menuIndex-BiUB7t5q.js} +1 -1
  49. package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
  50. package/dist/ss-component.css +3 -3
  51. package/dist/ss-component.js +14 -14
  52. package/dist/ss-component2.js +13 -13
  53. package/dist/ss-component3.js +1 -1
  54. package/dist/{threeModel-C5B-Ckb-.js → threeModel-Br3xFMq_.js} +174 -174
  55. package/dist/{threePreview-CVU8RHxm.js → threePreview-BjOjXzmX.js} +12 -12
  56. package/dist/{threeSceneView-C1egE4vX.js → threeSceneView-Arn9K2ca.js} +23 -24
  57. package/dist/{threeSceneViewForCPMPIP-_x0AIoTZ.js → threeSceneViewForCPMPIP-DyBpZbxn.js} +16 -17
  58. package/dist/{threeTrackPathView-DB61-HKo.js → threeTrackPathView-DuL77ZaW.js} +7 -7
  59. package/dist/{threeViewerHost-OzpVrArR.js → threeViewerHost-BYzW22O3.js} +4 -4
  60. package/dist/{urdfTree-BTnijMjA.js → urdfTree-xJWz0AN3.js} +9 -9
  61. package/dist/{workpieceTreePanel-Cmcj8MOA.js → workpieceTreePanel-Cfj81zvc.js} +56 -60
  62. package/package.json +1 -1
  63. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  64. package/dist/index-Bgkzdkye.js +0 -572
  65. package/dist/isString-BlNsHiyU.js +0 -8
  66. package/dist/obj/model.mtl +0 -42
  67. package/dist/obj/model.obj +0 -26110
  68. package/public/obj/model.mtl +0 -42
  69. package/public/obj/model.obj +0 -26110
@@ -1,32 +1,31 @@
1
- import { computed as ml, defineComponent as Bl, defineProps as At, ref as B, watch as fl, onMounted as Wl, onUnmounted as Na, resolveComponent as ee, createBlock as ye, openBlock as f, withCtx as o, createElementVNode as V, toDisplayString as ol, createElementBlock as $, Fragment as ll, renderList as dl, createCommentVNode as Ue, normalizeStyle as Dl, createVNode as n, unref as c, resolveDynamicComponent as ua, provide as Ea, shallowRef as ds, resolveDirective as qa, withDirectives as Yl, vShow as da, createTextVNode as cl, renderSlot as ql, normalizeClass as Hl, createSlots as at, mergeProps as Dn, withModifiers as Ul, defineAsyncComponent as vn, reactive as Rl, nextTick as Fl, withKeys as ps } from "vue";
2
- import { m as It, a as Mt, b as _t, c as fs } from "./array-DtIbnYgx.js";
3
- import { u as jl, p as yl, s as hl, c as wl, a as Zl, b as zl, j as Ma, d as tt, l as vs, k as ha, e as ka, m as hs, E as ga, n as ft, o as ja, v as Oa, q as Pn, r as gs, t as Rn, i as ys, w as nt, x as ra, y as hn, z as bs, A as xn, B as Cs, C as ms, D as Vn, F as gn, G as ws, H as ks } from "./index-D8UY4uNQ.js";
4
- import { _ as Wa, s as St, a as As } from "./index-CjAdUy4n.js";
5
- import { useRouter as _a } from "vue-router";
6
- import { a as Ya, d as Tt, e as Ha, f as Fa, g as Ja, h as za, t as Is, c as Ms, b as _s } from "./index-ChNfRlIP.js";
7
- import { g as Ia, s as Ss, a as yn, _ as vt, b as Ts, u as Bs, c as Un, X as Es, Q as Ds } from "./index-DU8bIzXR.js";
8
- import { u as jn, g as bn, b as Cn, c as Ps, a as Rs } from "./index-YvUJL9Us.js";
9
- import { E as Sl, d as On, b as ia, I as xs, s as $l, e as Ln, a as Qn, c as Kn, g as Vs, h as Us, p as Nn, m as js, i as Os, j as Ls, f as Qs } from "./request-B1c8BUkR.js";
10
- import { b as Ks, g as qn, c as Ns, u as Bt, d as ta, e as Ka, o as Wn, l as qs, n as Ws, f as Ys, h as pa, s as lt, t as Hs, i as Fs } from "./index-DsdWSuDi.js";
11
- import { d as Js, g as La, a as zs } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js";
12
- import { a as Yn, b as ma, u as Hn, s as aa, c as Xs, d as Gs, r as Ol, n as Zs, o as ba, e as Ca, f as Fn, h as ht, i as Jn, j as Et, k as $s, t as eo, l as Ta, m as st, p as ot, q as Da, v as Za, w as Pa, x as lo, y as Ra, z as xa, A as ao, B as Va, C as Ua, D as $a, E as to, F as no, G as so, H as mn, I as wn, J as Xl, K as oo, L as io, M as it, N as ro, O as co, P as uo, g as zn, Q as po, R as kn, S as fo, T as vo } from "./index-Bk8b7svu.js";
13
- import "./JSEncrypt-B36c1iN5.js";
14
- import "./index-B0M1YCUY.js";
15
- import "./index-XvX6TMzr.js";
16
- import { c as Dt, f as Ql, b as Xn, a as ho, g as go, d as An } from "./menuIndex-DAW9B-9g.js";
1
+ import { computed as ml, defineComponent as Bl, defineProps as At, ref as B, watch as fl, onMounted as Wl, onUnmounted as Na, resolveComponent as ee, openBlock as f, createBlock as ye, withCtx as o, createElementVNode as V, toDisplayString as ol, createElementBlock as $, Fragment as ll, renderList as dl, normalizeStyle as Dl, createCommentVNode as Ue, createVNode as n, unref as c, resolveDynamicComponent as ua, provide as Ea, shallowRef as ds, resolveDirective as qa, withDirectives as Yl, vShow as da, createTextVNode as cl, renderSlot as ql, normalizeClass as Hl, createSlots as at, mergeProps as Dn, withModifiers as Ul, defineAsyncComponent as vn, reactive as Rl, nextTick as Fl, withKeys as ps } from "vue";
2
+ import { m as It, a as Mt, b as St, c as fs } from "./array-HJsOOS05.js";
3
+ import { u as jl, p as yl, s as hl, c as wl, a as Zl, b as zl, j as Ma, d as tt, l as vs, k as ha, e as ka, m as hs, E as ga, n as ft, o as ja, v as Oa, q as Pn, r as gs, t as Rn, i as ys, w as nt, x as ra, y as hn, z as bs, A as xn, B as Cs, C as ms, D as Vn, F as gn, G as ws, H as ks } from "./index-B8NQAdR4.js";
4
+ import { _ as Wa, s as _t, a as As } from "./index-DjyxFjoY.js";
5
+ import { useRouter as Sa } from "vue-router";
6
+ import { a as Ya, d as Tt, e as Ha, f as Fa, g as Ja, h as za, t as Is, c as Ms, b as Ss } from "./index-ChNfRlIP.js";
7
+ import { g as Ia, s as _s, a as yn, _ as vt, b as Ts, u as Bs, c as Un, X as Es, Q as Ds } from "./index-vITXyWii.js";
8
+ import { u as jn, g as bn, b as Cn, c as Ps, a as Rs } from "./index-B4NcYIuS.js";
9
+ import { E as _l, d as On, b as ia, I as xs, s as $l, e as Ln, a as Qn, c as Kn, g as Vs, h as Us, p as Nn, m as js, i as Os, j as Ls, f as Qs } from "./request-BfrhYBTM.js";
10
+ import { b as Ks, g as qn, c as Ns, u as Bt, d as ta, e as Ka, o as Wn, l as qs, n as Ws, f as Ys, h as pa, s as lt, t as Hs, i as Fs } from "./index-BvyM6d06.js";
11
+ import { d as Js, g as La, a as zs } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VCheSKQF.js";
12
+ import { a as Yn, b as ma, u as Hn, s as aa, c as Xs, d as Gs, r as Ol, n as Zs, o as ba, e as Ca, f as Fn, h as ht, i as Jn, j as Et, k as $s, t as eo, l as Ta, m as st, p as ot, q as Da, v as Za, w as Pa, x as lo, y as Ra, z as xa, A as ao, B as Va, C as Ua, D as $a, E as to, F as no, G as so, H as mn, I as wn, J as Xl, K as oo, L as io, M as it, N as ro, O as co, P as uo, g as zn, Q as po, R as kn, S as fo, T as vo } from "./index-CpF3wYnE.js";
13
+ import "./index-BvtOLltL.js";
14
+ import "./index-DCY5J8nu.js";
15
+ import { c as Dt, f as Ql, b as Xn, a as ho, g as go, d as An } from "./menuIndex-BiUB7t5q.js";
17
16
  import { _ as Kl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- import { C as yo } from "./index-B8XrhVMF.js";
19
- import { S as Tl } from "./index-BHtNKL1L.js";
20
- import bo from "./threeModel-C5B-Ckb-.js";
21
- import { _ as na } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
22
- import { s as la } from "./index-11kpzK0A.js";
23
- import { T as gt, u as Co, a as mo } from "./threeViewerHost-OzpVrArR.js";
24
- import { s as yt } from "./index-Bgkzdkye.js";
25
- import { u as wo } from "./index-BBBCr4Oo.js";
26
- import { u as ko } from "./index-CX8Apbo7.js";
27
- import { u as Gn } from "./index-D9xMYIes.js";
28
- import { T as In } from "./iconfont-BIrta5vE.js";
29
- import { f as Ao, a as Io } from "./animationData-rL2nYHqW.js";
17
+ import { C as yo } from "./index-QpbdZ-N-.js";
18
+ import { S as Tl } from "./index-dD-mKgue.js";
19
+ import bo from "./threeModel-Br3xFMq_.js";
20
+ import { _ as na } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
21
+ import { s as la } from "./index-DJrzqi4-.js";
22
+ import { T as gt, u as Co, a as mo } from "./threeViewerHost-BYzW22O3.js";
23
+ import { s as yt } from "./index-BGVDfril.js";
24
+ import { u as wo } from "./index-CT1LWsrT.js";
25
+ import { u as ko } from "./index-BybrpYzx.js";
26
+ import { u as Gn } from "./index-CYjsE5Gs.js";
27
+ import { T as In } from "./iconfont-BBJ_Xa7g.js";
28
+ import { f as Ao, a as Io } from "./animationData-CDdaleGB.js";
30
29
  jl();
31
30
  const Mo = jl(), Zn = async (l, b) => {
32
31
  var r, v, M, U;
@@ -94,7 +93,7 @@ const Mo = jl(), Zn = async (l, b) => {
94
93
  children: [],
95
94
  childMenus: []
96
95
  }
97
- }, $n = "系统管理", _o = "系统管理/角色管理", So = "系统管理/部门管理", To = "系统管理/职位管理", Pt = (l) => {
96
+ }, $n = "系统管理", So = "系统管理/角色管理", _o = "系统管理/部门管理", To = "系统管理/职位管理", Pt = (l) => {
98
97
  for (let b = 0; b < l.length; b++) {
99
98
  const r = (l == null ? void 0 : l[b]) || {}, { path: v } = r;
100
99
  if (v === $n) {
@@ -103,14 +102,14 @@ const Mo = jl(), Zn = async (l, b) => {
103
102
  }
104
103
  }
105
104
  }, Bo = () => {
106
- const l = _a(), b = jl(yl), { menus: r } = hl(b), v = ml(() => {
105
+ const l = Sa(), b = jl(yl), { menus: r } = hl(b), v = ml(() => {
107
106
  var P;
108
107
  const R = (P = r.value) == null ? void 0 : P.find((u) => {
109
108
  const { path: oe } = u || {};
110
109
  return oe === $n;
111
- }), D = wl(R), ce = (D == null ? void 0 : D.childMenus) || [], e = ce.findIndex((u) => u.path === _o);
110
+ }), D = wl(R), ce = (D == null ? void 0 : D.childMenus) || [], e = ce.findIndex((u) => u.path === So);
112
111
  D && D.childMenus && e !== -1 && (D.childMenus.splice(e, 1), D.childMenus.push(Ba.ROLE));
113
- const E = ce.findIndex((u) => u.path === So);
112
+ const E = ce.findIndex((u) => u.path === _o);
114
113
  D && D.childMenus && E !== -1 && (D.childMenus.splice(E, 1), D.childMenus.push(Ba.DEPARTMENT));
115
114
  const T = ce.findIndex((u) => u.path === To);
116
115
  return D && D.childMenus && T !== -1 && (D.childMenus.splice(T, 1), D.childMenus.push(Ba.POSITION)), D;
@@ -141,7 +140,7 @@ function Eo(l = "menu") {
141
140
  return {
142
141
  name: l,
143
142
  components: {
144
- ssMenu: St,
143
+ ssMenu: _t,
145
144
  DynamicIcon: Wa
146
145
  },
147
146
  setup() {
@@ -150,7 +149,7 @@ function Eo(l = "menu") {
150
149
  type: String,
151
150
  default: "vertical"
152
151
  }
153
- }), r = B("sub-menu-more"), v = jl(), M = Zl(yl), U = B(0), I = _a(), {
152
+ }), r = B("sub-menu-more"), v = jl(), M = Zl(yl), U = B(0), I = Sa(), {
154
153
  rawMenus: x,
155
154
  activeTopMenuPath: R,
156
155
  isRefreshMenus: D,
@@ -168,16 +167,16 @@ function Eo(l = "menu") {
168
167
  children: p.level === 0 ? [] : p.children ?? [],
169
168
  childMenus: me(p.children)
170
169
  } : p), L = (a, p) => {
171
- var h, _;
172
- return (_ = (h = C.value) == null ? void 0 : h.find((W) => (a.title + p).includes(W.value))) == null ? void 0 : _.value;
170
+ var h, S;
171
+ return (S = (h = C.value) == null ? void 0 : h.find((W) => (a.title + p).includes(W.value))) == null ? void 0 : S.value;
173
172
  }, J = (a, p = "", h = 0) => {
174
173
  var O;
175
- let _ = wl(a);
174
+ let S = wl(a);
176
175
  const W = Array.from(/* @__PURE__ */ new Set([...(O = Z.value) == null ? void 0 : O.map((s) => {
177
176
  var k;
178
177
  return (k = s == null ? void 0 : s.key) == null ? void 0 : k.pageKey;
179
178
  })]));
180
- return Array.isArray(_) || (_ = [_]), _ == null ? void 0 : _.map((s) => {
179
+ return Array.isArray(S) || (S = [S]), S == null ? void 0 : S.map((s) => {
181
180
  let k, N = p ? `${p}/${s.title}` : s.title;
182
181
  k = N;
183
182
  const X = {
@@ -207,9 +206,9 @@ function Eo(l = "menu") {
207
206
  const p = me(a);
208
207
  return Pt(p), v.setMenus(p), p;
209
208
  }), 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), ke = (a, p) => {
210
- var _, W;
209
+ var S, W;
211
210
  const h = a == null ? void 0 : a.find((de) => (de == null ? void 0 : de.operateType) === "新增");
212
- return ((W = (_ = T.value) == null ? void 0 : _.data) == null ? void 0 : W.path) === (p == null ? void 0 : p.path) ? h == null ? void 0 : h.menuIcon : L(p, p == null ? void 0 : p.level);
211
+ return ((W = (S = T.value) == null ? void 0 : S.data) == null ? void 0 : W.path) === (p == null ? void 0 : p.path) ? h == null ? void 0 : h.menuIcon : L(p, p == null ? void 0 : p.level);
213
212
  }, Ve = async (a, p) => {
214
213
  if (!Array.isArray(p)) return a;
215
214
  for (const h of p)
@@ -223,8 +222,8 @@ function Eo(l = "menu") {
223
222
  }, $e = B(null), il = async (a, p = null) => await Promise.all(
224
223
  a == null ? void 0 : a.map(async (h) => {
225
224
  var de;
226
- let _ = await Ve(h, Ee.value);
227
- const W = (_ == null ? void 0 : _.config) ?? ((de = p == null ? void 0 : p.filter((O) => O.allowInherit)) == null ? void 0 : de.map((O) => {
225
+ let S = await Ve(h, Ee.value);
226
+ const W = (S == null ? void 0 : S.config) ?? ((de = p == null ? void 0 : p.filter((O) => O.allowInherit)) == null ? void 0 : de.map((O) => {
228
227
  var s;
229
228
  return {
230
229
  ...O,
@@ -236,14 +235,14 @@ function Eo(l = "menu") {
236
235
  //弹窗和内容的结构都继承
237
236
  };
238
237
  }));
239
- return _ != null && _.childMenus && (_ == null ? void 0 : _.childMenus.length) > 0 && (_ = {
240
- ..._,
238
+ return S != null && S.childMenus && (S == null ? void 0 : S.childMenus.length) > 0 && (S = {
239
+ ...S,
241
240
  icon: ke(W, h),
242
241
  config: W,
243
242
  children: await il(h == null ? void 0 : h.childMenus, W),
244
243
  childMenus: await il(h == null ? void 0 : h.childMenus, W)
245
244
  }), {
246
- ..._,
245
+ ...S,
247
246
  icon: ke(W, h),
248
247
  config: W
249
248
  };
@@ -252,9 +251,9 @@ function Eo(l = "menu") {
252
251
  fl(
253
252
  () => u.value,
254
253
  (a) => {
255
- var h, _, W;
254
+ var h, S, W;
256
255
  if (!a) return;
257
- const p = (_ = (h = a == null ? void 0 : a.path) == null ? void 0 : h.split("/")) == null ? void 0 : _[0];
256
+ const p = (S = (h = a == null ? void 0 : a.path) == null ? void 0 : h.split("/")) == null ? void 0 : S[0];
258
257
  if (p) {
259
258
  const de = (W = w.value) == null ? void 0 : W.find((O) => (O == null ? void 0 : O.path) === p);
260
259
  if (!de || (v.setActiveTopMenuPath(p), !(de != null && de.children))) return;
@@ -266,7 +265,7 @@ function Eo(l = "menu") {
266
265
  const pl = async (a) => {
267
266
  var p, h;
268
267
  if (v.setLinkMenuInfo(null), v.setAsideMenuLoading(!0), M.setRouteToChildPath(""), v.setActiveTopMenuPath(a == null ? void 0 : a.path), v.setActiveMainMenu(a), $e.value = null, a != null && a.childMenus && ((p = a == null ? void 0 : a.childMenus) == null ? void 0 : p.length) > 0) {
269
- const _ = await ul(a), W = (_ == null ? void 0 : _.length) === 0 ? a == null ? void 0 : a.childMenus : _;
268
+ const S = await ul(a), W = (S == null ? void 0 : S.length) === 0 ? a == null ? void 0 : a.childMenus : S;
270
269
  v.setAsideMenus(W), oe.value || v.setUpdateMenuStatus(!0), v.setActiveAsideMenu((h = a == null ? void 0 : a.childMenus) == null ? void 0 : h[0]);
271
270
  } else
272
271
  v.setAsideMenus([]), v.setActiveMenuPath(a == null ? void 0 : a.path);
@@ -318,32 +317,32 @@ function Eo(l = "menu") {
318
317
  var h;
319
318
  const p = [a == null ? void 0 : a.title];
320
319
  if (a != null && a.children && ((h = a == null ? void 0 : a.children) == null ? void 0 : h.length) > 0) {
321
- const _ = a.children.map((W) => Te(W));
322
- p.push(..._);
320
+ const S = a.children.map((W) => Te(W));
321
+ p.push(...S);
323
322
  }
324
323
  return p;
325
- }, el = (a, p, h, _) => a.map((W) => {
324
+ }, el = (a, p, h, S) => a.map((W) => {
326
325
  var de, O;
327
326
  if (W.path === h) {
328
327
  const s = { ...W };
329
- return _ === "create" ? s.children.push(p) : _ === "update" ? s.children = (de = s.children) == null ? void 0 : de.map(
328
+ return S === "create" ? s.children.push(p) : S === "update" ? s.children = (de = s.children) == null ? void 0 : de.map(
330
329
  (k) => (k == null ? void 0 : k.path) === (p == null ? void 0 : p.path) ? p : k
331
- ) : _ === "delete" && (s.children = (O = s.children) == null ? void 0 : O.filter((k) => (k == null ? void 0 : k.path) !== (p == null ? void 0 : p.path))), s;
330
+ ) : S === "delete" && (s.children = (O = s.children) == null ? void 0 : O.filter((k) => (k == null ? void 0 : k.path) !== (p == null ? void 0 : p.path))), s;
332
331
  } else
333
332
  return {
334
333
  ...W,
335
- children: el(W.children, p, h, _)
334
+ children: el(W.children, p, h, S)
336
335
  // 递归更新子节点
337
336
  };
338
337
  }), Ne = async (a) => {
339
- var h, _, W, de, O, s;
338
+ var h, S, W, de, O, s;
340
339
  const p = (h = Z.value) == null ? void 0 : h.find((k) => {
341
340
  var N;
342
341
  return ((N = k == null ? void 0 : k.key) == null ? void 0 : N.pageKey) === "menu";
343
342
  });
344
343
  if (p) {
345
344
  const k = {
346
- ...(_ = p.value) == null ? void 0 : _.pageData,
345
+ ...(S = p.value) == null ? void 0 : S.pageData,
347
346
  compData: (O = (de = (W = p.value) == null ? void 0 : W.pageData) == null ? void 0 : de.compData) == null ? void 0 : O.map((X) => X.key === "menuContents" ? {
348
347
  ...X,
349
348
  contents: a
@@ -357,18 +356,18 @@ function Eo(l = "menu") {
357
356
  }, al = async (a) => void 0, Ze = async (a) => {
358
357
  var W, de, O;
359
358
  const p = (O = (de = (W = a == null ? void 0 : a.config) == null ? void 0 : W.find((s) => (s == null ? void 0 : s.operateType) === "新增")) == null ? void 0 : de.structureIds) == null ? void 0 : O.filter((s) => (s == null ? void 0 : s.key) === "contentConfig"), h = p == null ? void 0 : p.map((s) => s == null ? void 0 : s.id);
360
- let _ = [];
359
+ let S = [];
361
360
  h == null || h.forEach((s) => {
362
- s && _.push(al());
361
+ s && S.push(al());
363
362
  });
364
363
  };
365
364
  return fl(
366
365
  () => D.value,
367
366
  async (a) => {
368
- var p, h, _, W, de, O, s, k;
367
+ var p, h, S, W, de, O, s, k;
369
368
  if (a)
370
369
  try {
371
- const N = (_ = (h = (p = T.value) == null ? void 0 : p.data) == null ? void 0 : h.path) == null ? void 0 : _.split("/").slice(0, -1).join("/"), X = el(
370
+ const N = (S = (h = (p = T.value) == null ? void 0 : p.data) == null ? void 0 : h.path) == null ? void 0 : S.split("/").slice(0, -1).join("/"), X = el(
372
371
  w.value,
373
372
  (W = T.value) == null ? void 0 : W.data,
374
373
  N,
@@ -378,7 +377,7 @@ function Eo(l = "menu") {
378
377
  const d = await ul(P.value), A = (d == null ? void 0 : d.length) === 0 ? (k = P.value) == null ? void 0 : k.childMenus : d;
379
378
  v.setAsideMenus(A);
380
379
  } catch (N) {
381
- throw Sl.error(N), new Error(N);
380
+ throw _l.error(N), new Error(N);
382
381
  }
383
382
  },
384
383
  { immediate: !0 }
@@ -468,7 +467,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
468
467
  key: 0,
469
468
  onClick: (me) => D(P)
470
469
  }, ol(P.value), 9, Uo)) : Ue("", !0),
471
- (P == null ? void 0 : P.condition) === "child" ? (f(), ye(Ss, {
470
+ (P == null ? void 0 : P.condition) === "child" ? (f(), ye(_s, {
472
471
  style: Dl({ width: R.value((P == null ? void 0 : P.value) ?? "") + "px" }),
473
472
  class: "bread-ss-select",
474
473
  "popper-class": "bread-ss-select-popper",
@@ -484,9 +483,9 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
484
483
  ], 4),
485
484
  u !== I.value.length - 1 && Array.isArray(I.value) && ((C = (w = I.value) == null ? void 0 : w[u + 1]) == null ? void 0 : C.condition) !== "child" ? (f(), $("div", jo, [
486
485
  n(c(On), { style: { width: "14px" } })
487
- ])) : ((Ee = (i = I.value) == null ? void 0 : i[u + 1]) == null ? void 0 : Ee.condition) === "child" ? (f(), $("div", Oo, T[0] || (T[0] = [
486
+ ])) : ((Ee = (i = I.value) == null ? void 0 : i[u + 1]) == null ? void 0 : Ee.condition) === "child" ? (f(), $("div", Oo, [...T[0] || (T[0] = [
488
487
  V("div", null, ol(":"), -1)
489
- ]))) : Ue("", !0)
488
+ ])])) : Ue("", !0)
490
489
  ]);
491
490
  }), 128))
492
491
  ]));
@@ -673,7 +672,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
673
672
  }, yi = { class: "message-title" }, bi = { class: "message-time" }, Ci = { class: "message-content" }, mi = {
674
673
  key: 0,
675
674
  class: "no-messages"
676
- }, wi = { class: "drop-menu" }, ki = { class: "user-base-info" }, Ai = { class: "base-info" }, Ii = { class: "group-item" }, Mi = { class: "sys-button" }, _i = { class: "whole-main" }, Si = { class: "structure-paths" }, Ti = {
675
+ }, wi = { class: "drop-menu" }, ki = { class: "user-base-info" }, Ai = { class: "base-info" }, Ii = { class: "group-item" }, Mi = { class: "sys-button" }, Si = { class: "whole-main" }, _i = { class: "structure-paths" }, Ti = {
677
676
  key: 0,
678
677
  class: "main-back-btn"
679
678
  }, Bi = { class: "custom-extend-wrapper" }, Ei = {
@@ -745,7 +744,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
745
744
  async function ke() {
746
745
  var j, q, m, re, he, ae;
747
746
  try {
748
- let Se = function(Ke, Le) {
747
+ let _e = function(Ke, Le) {
749
748
  return Le.map((He) => Ke.map((De, fe) => ({
750
749
  ...De,
751
750
  value: He[fe] ?? ""
@@ -759,9 +758,9 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
759
758
  (Ke) => Ke.includes("未读")
760
759
  ), Il = Oe.filter(
761
760
  (Ke) => Ke.includes("已读")
762
- ), bl = [...Ml, ...Il], tl = [...Oe]) : (Ml = [], Il = [], tl = [], console.warn("messagesContents 或 messagesHeader 不是数组")), oe.value = Se(ne, tl), u.value = Se(ne, bl), Q.value = Se(ne, Ml);
763
- } catch (Se) {
764
- console.error("获取消息数据失败:", Se);
761
+ ), bl = [...Ml, ...Il], tl = [...Oe]) : (Ml = [], Il = [], tl = [], console.warn("messagesContents 或 messagesHeader 不是数组")), oe.value = _e(ne, tl), u.value = _e(ne, bl), Q.value = _e(ne, Ml);
762
+ } catch (_e) {
763
+ console.error("获取消息数据失败:", _e);
765
764
  }
766
765
  }
767
766
  let Ve = 0;
@@ -771,7 +770,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
771
770
  }, il = async (j) => {
772
771
  if (!j) return;
773
772
  (async (m) => {
774
- var he, ae, Se, K;
773
+ var he, ae, _e, K;
775
774
  const re = [
776
775
  {
777
776
  title: "我的消息",
@@ -804,12 +803,12 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
804
803
  }
805
804
  x.setAsideMenus(re), (ze == null ? void 0 : ze.value) === "未读" && (ze.value = "已读", x.setActiveMenuPath(rt));
806
805
  const ne = E.value + me + Oe.value, bl = E.value;
807
- await qs(ne, ne + me + `updateLoading${((he = J.value) == null ? void 0 : he.account) || ((ae = J.value) == null ? void 0 : ae.账号)}`), O.setRouteToChildPath(bl), x.setActiveMenuPath(ne + me + `updateLoading${((Se = J.value) == null ? void 0 : Se.account) || ((K = J.value) == null ? void 0 : K.账号)}`), x.setActiveTopMenuPath("消息中心");
806
+ await qs(ne, ne + me + `updateLoading${((he = J.value) == null ? void 0 : he.account) || ((ae = J.value) == null ? void 0 : ae.账号)}`), O.setRouteToChildPath(bl), x.setActiveMenuPath(ne + me + `updateLoading${((_e = J.value) == null ? void 0 : _e.account) || ((K = J.value) == null ? void 0 : K.账号)}`), x.setActiveTopMenuPath("消息中心");
808
807
  } catch (ze) {
809
808
  console.error("加载菜单或页面时出错:", ze);
810
809
  }
811
810
  })(j);
812
- }, ul = Ma(yl), { selectTitle: pl } = hl(ul), Xe = B(!1), Cl = B(), ve = B(null), g = B(), We = B(!1), Ce = Hn(yl), { blobUrls: Te } = hl(Ce), el = B(), Ne = B(!1), al = B(!1), Ze = B(!1), a = B(!1), p = B(null), h = B([]), _ = B(!1), W = B(!1), de = B();
811
+ }, ul = Ma(yl), { selectTitle: pl } = hl(ul), Xe = B(!1), Cl = B(), ve = B(null), g = B(), We = B(!1), Ce = Hn(yl), { blobUrls: Te } = hl(Ce), el = B(), Ne = B(!1), al = B(!1), Ze = B(!1), a = B(!1), p = B(null), h = B([]), S = B(!1), W = B(!1), de = B();
813
812
  Ea("contentRef", p);
814
813
  const O = Zl(yl), { isEdit: s, routeToChildPath: k } = hl(O), N = b, { logoUrl: X, platNameEn: t, getPreviousModel: d, rememberPreviousModelByPlatId: A } = tt(), { toPersonalCenter: Y } = ko(), ue = l, qe = ds(/* @__PURE__ */ new Map()), rl = ml(() => ce.value.isRouter), we = B(""), se = async (j) => {
815
814
  const q = await ka({
@@ -834,7 +833,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
834
833
  const j = E.value;
835
834
  return qe.value.get(j);
836
835
  }), pe = Js(async (j) => {
837
- var re, he, ae, Se, K, ze, Oe, ne, bl, tl, Ml, Il, Ke, Le, He, De;
836
+ var re, he, ae, _e, K, ze, Oe, ne, bl, tl, Ml, Il, Ke, Le, He, De;
838
837
  if ((j == null ? void 0 : j.type) !== "table") return;
839
838
  const q = (re = pl.value) == null ? void 0 : re.some((fe) => (fe == null ? void 0 : fe.condition) === "parent"), m = (he = j == null ? void 0 : j.usingRow) == null ? void 0 : he.some((fe) => fe == null ? void 0 : fe.isExistChild);
840
839
  if (!(q || m))
@@ -845,16 +844,16 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
845
844
  platId: parseInt((ae = J == null ? void 0 : J.value) == null ? void 0 : ae.plat_id),
846
845
  pageName: "menu"
847
846
  });
848
- ((K = (Se = gl == null ? void 0 : gl.data) == null ? void 0 : Se.result) == null ? void 0 : K.length) > 0 && (fe = gl.data.result, qe.value.set(E.value, fe));
847
+ ((K = (_e = gl == null ? void 0 : gl.data) == null ? void 0 : _e.result) == null ? void 0 : K.length) > 0 && (fe = gl.data.result, qe.value.set(E.value, fe));
849
848
  }
850
849
  if (!(fe != null && fe.length)) return;
851
850
  const Fe = E.value;
852
851
  if (!fe.some(
853
852
  (gl) => (gl == null ? void 0 : gl.father_name) === Fe || (gl == null ? void 0 : gl.father_name) === Fe + "/"
854
853
  )) return;
855
- const kl = (ne = j == null ? void 0 : j.row) == null ? void 0 : ne[(Oe = (ze = j == null ? void 0 : j.usingRow) == null ? void 0 : ze[0]) == null ? void 0 : Oe.prop], _l = (bl = pl.value) == null ? void 0 : bl.find((gl) => (gl == null ? void 0 : gl.condition) === "child");
854
+ const kl = (ne = j == null ? void 0 : j.row) == null ? void 0 : ne[(Oe = (ze = j == null ? void 0 : j.usingRow) == null ? void 0 : ze[0]) == null ? void 0 : Oe.prop], Sl = (bl = pl.value) == null ? void 0 : bl.find((gl) => (gl == null ? void 0 : gl.condition) === "child");
856
855
  let El, xl;
857
- if (_l)
856
+ if (Sl)
858
857
  El = pl.value.map(
859
858
  (gl) => (gl == null ? void 0 : gl.condition) === "child" ? { ...gl, value: kl, isShow: !0 } : gl
860
859
  ), xl = El.find((gl) => (gl == null ? void 0 : gl.condition) === "child");
@@ -894,17 +893,17 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
894
893
  const q = await ta("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), m = await ta("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
895
894
  let re = ["管长", "外径"], he = {};
896
895
  m == null || m.forEach((ae) => {
897
- var Se;
898
- (ae == null ? void 0 : ae.comp) === "Form" && ((Se = ae == null ? void 0 : ae.compData) == null || Se.forEach((K) => {
896
+ var _e;
897
+ (ae == null ? void 0 : ae.comp) === "Form" && ((_e = ae == null ? void 0 : ae.compData) == null || _e.forEach((K) => {
899
898
  var ze;
900
899
  (K == null ? void 0 : K.key) === "formContent" && ((ze = K == null ? void 0 : K.contents) == null || ze.forEach((Oe) => {
901
900
  re.includes(Oe == null ? void 0 : Oe.key) && (he[Oe.key] = Oe.value);
902
901
  }));
903
902
  }));
904
903
  }), q == null || q.forEach((ae) => {
905
- var Se, K, ze, Oe, ne, bl;
904
+ var _e, K, ze, Oe, ne, bl;
906
905
  if ((ae == null ? void 0 : ae.comp) === "Table") {
907
- let tl = [], Ml = (ze = (K = (Se = ae == null ? void 0 : ae.compData) == null ? void 0 : Se.find((Ke) => (Ke == null ? void 0 : Ke.key) === "header")) == null ? void 0 : K.contents) == null ? void 0 : ze.map((Ke) => Ke == null ? void 0 : Ke.label), Il = (bl = (ne = (Oe = ae == null ? void 0 : ae.compData) == null ? void 0 : Oe.find((Ke) => (Ke == null ? void 0 : Ke.key) === "tableContents")) == null ? void 0 : ne.contents) == null ? void 0 : bl.map((Ke) => (Ke = Ke == null ? void 0 : Ke.filter((Le) => !(Le != null && Le.id)), Ke));
906
+ let tl = [], Ml = (ze = (K = (_e = ae == null ? void 0 : ae.compData) == null ? void 0 : _e.find((Ke) => (Ke == null ? void 0 : Ke.key) === "header")) == null ? void 0 : K.contents) == null ? void 0 : ze.map((Ke) => Ke == null ? void 0 : Ke.label), Il = (bl = (ne = (Oe = ae == null ? void 0 : ae.compData) == null ? void 0 : Oe.find((Ke) => (Ke == null ? void 0 : Ke.key) === "tableContents")) == null ? void 0 : ne.contents) == null ? void 0 : bl.map((Ke) => (Ke = Ke == null ? void 0 : Ke.filter((Le) => !(Le != null && Le.id)), Ke));
908
907
  Il == null || Il.forEach((Ke) => {
909
908
  tl.push(
910
909
  Ka(
@@ -916,7 +915,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
916
915
  }
917
916
  }), j.extra = he, Cl.value = j;
918
917
  }, Ye = async () => {
919
- var j, q, m, re, he, ae, Se;
918
+ var j, q, m, re, he, ae, _e;
920
919
  if ((ue == null ? void 0 : ue.platform) !== "browser") {
921
920
  if (Xe.value = !0, el.value = (j = ue == null ? void 0 : ue.taskContent) == null ? void 0 : j.sceneType, h.value = [{
922
921
  url: (q = ue == null ? void 0 : ue.taskContent) == null ? void 0 : q.url,
@@ -938,7 +937,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
938
937
  }];
939
938
  (ae = ve.value) == null || ae.loadModelByDefaultPath(ze);
940
939
  }
941
- _.value = (Se = h.value) == null ? void 0 : Se.every((K) => K.url.toUpperCase().includes(".URDF"));
940
+ S.value = (_e = h.value) == null ? void 0 : _e.every((K) => K.url.toUpperCase().includes(".URDF"));
942
941
  }
943
942
  }, Ge = () => {
944
943
  We.value = !1, ve.value = null;
@@ -959,15 +958,15 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
959
958
  if (Te != null && Te.value && ((j = Te == null ? void 0 : Te.value) == null ? void 0 : j.length) > 0 && !Ne.value && !((q = aa.value) != null && q.find((ae) => (ae == null ? void 0 : ae.name) === "输入") && ((m = aa.value) != null && m.find((ae) => (ae == null ? void 0 : ae.name) === "输出")))) {
960
959
  We.value = !0;
961
960
  let ae = [];
962
- const Se = await ((re = wl(Te == null ? void 0 : Te.value)) == null ? void 0 : re.map(async (K) => {
961
+ const _e = await ((re = wl(Te == null ? void 0 : Te.value)) == null ? void 0 : re.map(async (K) => {
963
962
  var tl, Ml, Il, Ke, Le, He, De, fe, Fe, Pl;
964
963
  let ze, Oe, ne;
965
964
  K != null && K.blob.includes("undefined") ? ne = (Ml = (tl = K == null ? void 0 : K.blob) == null ? void 0 : tl.split("undefined,")) == null ? void 0 : Ml[1] : ne = K == null ? void 0 : K.blob;
966
965
  let bl = ne == null ? void 0 : ne.split(",");
967
966
  if ((bl == null ? void 0 : bl.length) > 1) {
968
- let kl = await (bl == null ? void 0 : bl.map(async (_l) => {
967
+ let kl = await (bl == null ? void 0 : bl.map(async (Sl) => {
969
968
  var xl, gl, Vl, Al, Jl, ca;
970
- ze = await ia.get(_l, {
969
+ ze = await ia.get(Sl, {
971
970
  responseType: "blob",
972
971
  headers: {
973
972
  "Content-Type": "application/json"
@@ -976,22 +975,22 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
976
975
  let El = [];
977
976
  if (((xl = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : xl.length) > 0) {
978
977
  let Ll = await ((gl = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : gl.map(async (Ga) => {
979
- let Sa = await ia.get(Ga, {
978
+ let _a = await ia.get(Ga, {
980
979
  responseType: "blob",
981
980
  headers: {
982
981
  "Content-Type": "application/json"
983
982
  }
984
983
  });
985
984
  return El.push(
986
- new Blob([Sa.data], {
985
+ new Blob([_a.data], {
987
986
  type: "application/octet-stream;charset=UTF-8"
988
987
  })
989
- ), Sa;
988
+ ), _a;
990
989
  }));
991
990
  await Promise.all(Ll);
992
991
  }
993
- return ((Al = _l == null ? void 0 : _l.split(".")) == null ? void 0 : Al[((Vl = _l == null ? void 0 : _l.split(".")) == null ? void 0 : Vl.length) - 1]) !== "undefined" && ae.push({
994
- suffix: "." + ((ca = _l == null ? void 0 : _l.split(".")) == null ? void 0 : ca[((Jl = _l == null ? void 0 : _l.split(".")) == null ? void 0 : Jl.length) - 1]),
992
+ return ((Al = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : Al[((Vl = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : Vl.length) - 1]) !== "undefined" && ae.push({
993
+ suffix: "." + ((ca = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : ca[((Jl = Sl == null ? void 0 : Sl.split(".")) == null ? void 0 : Jl.length) - 1]),
995
994
  blob: new Blob([ze.data], {
996
995
  type: "application/octet-stream;charset=UTF-8"
997
996
  }),
@@ -1005,7 +1004,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1005
1004
  });
1006
1005
  let kl = [];
1007
1006
  if (((Il = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : Il.length) > 0) {
1008
- let _l = await ((Ke = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : Ke.map(async (El) => {
1007
+ let Sl = await ((Ke = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : Ke.map(async (El) => {
1009
1008
  let xl = await ka({
1010
1009
  url: El
1011
1010
  });
@@ -1015,7 +1014,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1015
1014
  })
1016
1015
  ), xl;
1017
1016
  }));
1018
- await Promise.all(_l);
1017
+ await Promise.all(Sl);
1019
1018
  }
1020
1019
  Oe = {
1021
1020
  suffix: "." + ((He = ne == null ? void 0 : ne.split(".")) == null ? void 0 : He[((Le = ne == null ? void 0 : ne.split(".")) == null ? void 0 : Le.length) - 1]),
@@ -1033,7 +1032,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1033
1032
  });
1034
1033
  let kl = [];
1035
1034
  if (((De = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : De.length) > 0) {
1036
- let _l = await ((fe = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : fe.map(async (El) => {
1035
+ let Sl = await ((fe = K == null ? void 0 : K.mtlBlobs) == null ? void 0 : fe.map(async (El) => {
1037
1036
  let xl = await ia.get(El, {
1038
1037
  responseType: "blob",
1039
1038
  headers: {
@@ -1046,7 +1045,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1046
1045
  })
1047
1046
  ), xl;
1048
1047
  }));
1049
- await Promise.all(_l);
1048
+ await Promise.all(Sl);
1050
1049
  }
1051
1050
  Oe = {
1052
1051
  suffix: K != null && K.suffix ? K == null ? void 0 : K.suffix : "." + ((Pl = ne == null ? void 0 : ne.split(".")) == null ? void 0 : Pl[((Fe = ne == null ? void 0 : ne.split(".")) == null ? void 0 : Fe.length) - 1]),
@@ -1058,7 +1057,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1058
1057
  }
1059
1058
  Oe && ae.push(Oe);
1060
1059
  }));
1061
- await Promise.all(Se), (ae == null ? void 0 : ae.length) !== 0 && ((he = ve.value) == null || he.loadModelByDefaultPath(ae));
1060
+ await Promise.all(_e), (ae == null ? void 0 : ae.length) !== 0 && ((he = ve.value) == null || he.loadModelByDefaultPath(ae));
1062
1061
  }
1063
1062
  },
1064
1063
  { immediate: !0, deep: !0 }
@@ -1077,34 +1076,34 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1077
1076
  if (k.value === "" || ((re = E.value) == null ? void 0 : re[((m = E.value) == null ? void 0 : m.length) - 1]) === me) return !1;
1078
1077
  const j = sessionStorage.getItem("authority"), q = JSON.parse(j || "");
1079
1078
  if (Array.isArray(q)) {
1080
- const he = Array.isArray(q) && (q == null ? void 0 : q.filter((Se) => Se == null ? void 0 : Se.includes(k.value))), ae = he == null ? void 0 : he.map((Se) => {
1079
+ const he = Array.isArray(q) && (q == null ? void 0 : q.filter((_e) => _e == null ? void 0 : _e.includes(k.value))), ae = he == null ? void 0 : he.map((_e) => {
1081
1080
  var K;
1082
- return ((K = Se == null ? void 0 : Se.split("/")) == null ? void 0 : K.pop()) || "";
1081
+ return ((K = _e == null ? void 0 : _e.split("/")) == null ? void 0 : K.pop()) || "";
1083
1082
  });
1084
1083
  return !!(ae != null && ae.includes("新增") || ae != null && ae.includes("新建"));
1085
1084
  } else return typeof q == "string" && (q == null ? void 0 : q.toUpperCase()) === "SUPERADMIN";
1086
- }, _e = async () => {
1085
+ }, Se = async () => {
1087
1086
  Y();
1088
- }, S = () => {
1087
+ }, _ = () => {
1089
1088
  N("updateVersion");
1090
1089
  }, ie = ml(() => "http://222.92.178.198:62001"), Ae = async (j) => {
1091
1090
  var q, m, re, he, ae;
1092
1091
  try {
1093
- const Se = await Bs(j);
1094
- if (((q = Se == null ? void 0 : Se.data) == null ? void 0 : q.code) === 200) {
1095
- I.value = ie.value + "/" + ((re = (m = Se.data) == null ? void 0 : m.result) == null ? void 0 : re.url);
1096
- let K = (ae = (he = Se.data) == null ? void 0 : he.result) == null ? void 0 : ae.url;
1092
+ const _e = await Bs(j);
1093
+ if (((q = _e == null ? void 0 : _e.data) == null ? void 0 : q.code) === 200) {
1094
+ I.value = ie.value + "/" + ((re = (m = _e.data) == null ? void 0 : m.result) == null ? void 0 : re.url);
1095
+ let K = (ae = (he = _e.data) == null ? void 0 : he.result) == null ? void 0 : ae.url;
1097
1096
  await Be(K);
1098
1097
  }
1099
- } catch (Se) {
1100
- Sl.error(Se);
1098
+ } catch (_e) {
1099
+ _l.error(_e);
1101
1100
  }
1102
1101
  };
1103
1102
  ml(() => Xs(Ol.value, Gs.value));
1104
1103
  const Ie = ml(() => {
1105
1104
  const q = Zs(Ol.value, 100) || [];
1106
1105
  let m = 0, re = 0, he = 0;
1107
- return q == null ? void 0 : q.map((Se) => (he = he + (Se == null ? void 0 : Se.arrowGap), (Se == null ? void 0 : Se.arrowGap) + m <= 100 && (Se.x = m), Se.y = re, (Se == null ? void 0 : Se.arrowGap) !== 0 && he < 100 ? m = m + (Se == null ? void 0 : Se.w) : m = 0, (he >= 100 || (Se == null ? void 0 : Se.arrowGap) === 0) && (he = 0, re = re + (Se == null ? void 0 : Se.h)), Se));
1106
+ return q == null ? void 0 : q.map((_e) => (he = he + (_e == null ? void 0 : _e.arrowGap), (_e == null ? void 0 : _e.arrowGap) + m <= 100 && (_e.x = m), _e.y = re, (_e == null ? void 0 : _e.arrowGap) !== 0 && he < 100 ? m = m + (_e == null ? void 0 : _e.w) : m = 0, (he >= 100 || (_e == null ? void 0 : _e.arrowGap) === 0) && (he = 0, re = re + (_e == null ? void 0 : _e.h)), _e));
1108
1107
  }), Qe = ml(() => {
1109
1108
  var j, q, m, re;
1110
1109
  return ((j = Ol.value) == null ? void 0 : j.length) > 0 && ((q = Ol.value) != null && q.every((he) => he == null ? void 0 : he.layout)) ? (re = (m = Ol.value) == null ? void 0 : m[0]) == null ? void 0 : re.layout : "vertical";
@@ -1132,7 +1131,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1132
1131
  }
1133
1132
  };
1134
1133
  return (j, q) => {
1135
- const m = ee("el-dialog"), re = ee("el-button"), he = ee("el-header"), ae = ee("el-splitter-panel"), Se = ee("el-splitter"), K = ee("el-container"), ze = ee("el-tab-pane"), Oe = ee("el-tabs"), ne = ee("el-aside"), bl = ee("router-view"), tl = ee("el-step"), Ml = ee("el-steps"), Il = ee("el-main"), Ke = qa("loading");
1134
+ const m = ee("el-dialog"), re = ee("el-button"), he = ee("el-header"), ae = ee("el-splitter-panel"), _e = ee("el-splitter"), K = ee("el-container"), ze = ee("el-tab-pane"), Oe = ee("el-tabs"), ne = ee("el-aside"), bl = ee("router-view"), tl = ee("el-step"), Ml = ee("el-steps"), Il = ee("el-main"), Ke = qa("loading");
1136
1135
  return f(), $(ll, null, [
1137
1136
  Yl(n(yo, {
1138
1137
  ref: "cropperDialogRef",
@@ -1184,10 +1183,9 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1184
1183
  n(Tl, { name: "Back" })
1185
1184
  ]),
1186
1185
  default: o(() => [
1187
- q[9] || (q[9] = cl(" 返回页面 "))
1186
+ q[9] || (q[9] = cl(" 返回页面 ", -1))
1188
1187
  ]),
1189
- _: 1,
1190
- __: [9]
1188
+ _: 1
1191
1189
  }, 8, ["onClick"])
1192
1190
  ]),
1193
1191
  V("div", Yo, [
@@ -1208,10 +1206,9 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1208
1206
  n(Tl, { name: "Store" })
1209
1207
  ]),
1210
1208
  default: o(() => [
1211
- q[10] || (q[10] = cl(" 保存页面 "))
1209
+ q[10] || (q[10] = cl(" 保存页面 ", -1))
1212
1210
  ]),
1213
- _: 1,
1214
- __: [10]
1211
+ _: 1
1215
1212
  })
1216
1213
  ])
1217
1214
  ]),
@@ -1222,7 +1219,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1222
1219
  class: "model-operate"
1223
1220
  }, {
1224
1221
  default: o(() => [
1225
- n(Se, null, {
1222
+ n(_e, null, {
1226
1223
  default: o(() => [
1227
1224
  n(ae, {
1228
1225
  size: 240,
@@ -1279,7 +1276,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1279
1276
  }, {
1280
1277
  default: o(() => [
1281
1278
  V("div", zo, [
1282
- n(_t)
1279
+ n(St)
1283
1280
  ])
1284
1281
  ]),
1285
1282
  _: 1
@@ -1327,10 +1324,9 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1327
1324
  n(Tl, { name: "系统管理" })
1328
1325
  ]),
1329
1326
  default: o(() => [
1330
- q[11] || (q[11] = cl(" 系统管理 "))
1327
+ q[11] || (q[11] = cl(" 系统管理 ", -1))
1331
1328
  ]),
1332
- _: 1,
1333
- __: [11]
1329
+ _: 1
1334
1330
  })) : Ue("", !0),
1335
1331
  ql(j.$slots, "default", {}, void 0, !0),
1336
1332
  n(vt, null, {
@@ -1387,11 +1383,11 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1387
1383
  label: "未读消息",
1388
1384
  name: "second"
1389
1385
  }, {
1390
- label: o(() => q[13] || (q[13] = [
1386
+ label: o(() => [...q[13] || (q[13] = [
1391
1387
  V("div", { class: "message-tab-label" }, [
1392
1388
  V("span", null, "未读消息")
1393
1389
  ], -1)
1394
- ])),
1390
+ ])]),
1395
1391
  default: o(() => [
1396
1392
  V("div", pi, [
1397
1393
  (f(!0), $(ll, null, dl(Q.value, (Le, He) => {
@@ -1448,7 +1444,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1448
1444
  ])
1449
1445
  ]),
1450
1446
  V("div", Ii, [
1451
- V("div", { onClick: _e }, [
1447
+ V("div", { onClick: Se }, [
1452
1448
  n(Tl, {
1453
1449
  name: "personal",
1454
1450
  style: { width: "15px", height: "15px" }
@@ -1462,7 +1458,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1462
1458
  }),
1463
1459
  q[15] || (q[15] = V("span", null, "消息中心", -1))
1464
1460
  ]),
1465
- V("div", { onClick: S }, [
1461
+ V("div", { onClick: _ }, [
1466
1462
  n(Tl, {
1467
1463
  name: "Update",
1468
1464
  style: { width: "15px", height: "15px" }
@@ -1509,7 +1505,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1509
1505
  style: Dl({ paddingLeft: Z.value ? "16px" : "0px" })
1510
1506
  }, {
1511
1507
  default: o(() => {
1512
- var Le, He, De, fe, Fe, Pl, kl, _l, El, xl, gl, Vl, Al, Jl, ca, Ll, Ga, Sa, Vt, Ut, jt, Ot, Lt, Qt, Kt, Nt, qt, Wt, Yt, Ht, Ft, Jt, zt;
1508
+ var Le, He, De, fe, Fe, Pl, kl, Sl, El, xl, gl, Vl, Al, Jl, ca, Ll, Ga, _a, Vt, Ut, jt, Ot, Lt, Qt, Kt, Nt, qt, Wt, Yt, Ht, Ft, Jt, zt;
1513
1509
  return [
1514
1510
  Z.value ? Ue("", !0) : Yl((f(), ye(ne, {
1515
1511
  key: 0,
@@ -1525,8 +1521,8 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1525
1521
  }, 8, ["style"])), [
1526
1522
  [Ke, c(R)]
1527
1523
  ]),
1528
- V("div", _i, [
1529
- V("div", Si, [
1524
+ V("div", Si, [
1525
+ V("div", _i, [
1530
1526
  n(bt, {
1531
1527
  breadArray: c(pl),
1532
1528
  onClick: c(ht)
@@ -1595,7 +1591,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1595
1591
  onClickMainKey: c(Za)
1596
1592
  }, null, 40, ["related", "compNames", "compName", "groupNames", "cacheNewData", "isDevMode", "itemData", "calculator", "childItemData", "onChange", "onClickStep", "index", "config", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "onRadioChange", "children", "onClickTrigger", "onClickMainKey"])) : Ue("", !0)
1597
1593
  ], 6);
1598
- }), 128)) : !c(Ta) && Qe.value === "vertical" && ((_l = c(E)) != null && _l.includes("首页") || ((El = c(st)) == null ? void 0 : El.length) > 0) ? (f(), ye(c(to), {
1594
+ }), 128)) : !c(Ta) && Qe.value === "vertical" && ((Sl = c(E)) != null && Sl.includes("首页") || ((El = c(st)) == null ? void 0 : El.length) > 0) ? (f(), ye(c(to), {
1599
1595
  key: 1,
1600
1596
  layout: Ie.value,
1601
1597
  "is-draggable": !1,
@@ -1765,7 +1761,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1765
1761
  style: Dl({ display: ((ca = (Jl = c(Xl)) == null ? void 0 : Jl.comp) == null ? void 0 : ca.isShow) === !1 ? "none" : "flex" })
1766
1762
  }, [
1767
1763
  c(Da) ? (f(), ye(ua(c(ma)((Ga = (Ll = c(Xl)) == null ? void 0 : Ll.comp) == null ? void 0 : Ga.comp)), {
1768
- compItem: (Sa = c(Xl)) == null ? void 0 : Sa.comp,
1764
+ compItem: (_a = c(Xl)) == null ? void 0 : _a.comp,
1769
1765
  compNames: c($a),
1770
1766
  compName: (Ut = (Vt = c(Xl)) == null ? void 0 : Vt.comp) == null ? void 0 : Ut.name,
1771
1767
  related: (jt = c(Xl)) == null ? void 0 : jt.relatedTables,
@@ -1860,22 +1856,20 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
1860
1856
  onClick: q[6] || (q[6] = (Le) => it.value = !1),
1861
1857
  id: "themeBorderButton"
1862
1858
  }, {
1863
- default: o(() => q[18] || (q[18] = [
1864
- cl(ol("取消"))
1865
- ])),
1866
- _: 1,
1867
- __: [18]
1859
+ default: o(() => [...q[18] || (q[18] = [
1860
+ cl(ol("取消"), -1)
1861
+ ])]),
1862
+ _: 1
1868
1863
  }),
1869
1864
  n(re, {
1870
1865
  class: "ok-button",
1871
1866
  onClick: q[7] || (q[7] = (Le) => c(ro)()),
1872
1867
  id: "themeButton"
1873
1868
  }, {
1874
- default: o(() => q[19] || (q[19] = [
1875
- cl(ol("确认"))
1876
- ])),
1877
- _: 1,
1878
- __: [19]
1869
+ default: o(() => [...q[19] || (q[19] = [
1870
+ cl(ol("确认"), -1)
1871
+ ])]),
1872
+ _: 1
1879
1873
  })
1880
1874
  ])
1881
1875
  ]),
@@ -2103,7 +2097,7 @@ const xo = /* @__PURE__ */ Kl(Do, [["render", Ro], ["__scopeId", "data-v-ca3f1fb
2103
2097
  },
2104
2098
  emits: ["update:modelValue", "get", "clear"],
2105
2099
  setup(l, { emit: b }) {
2106
- const r = l, v = b, M = vn(() => import("./localIcon-D5UoFBU5.js")), U = vn(() => import("./eleIcon-C7Pz9jha.js")), I = B(), x = Rl({
2100
+ const r = l, v = b, M = vn(() => import("./localIcon-CoJHw5ss.js")), U = vn(() => import("./eleIcon-BoKZ_PzU.js")), I = B(), x = Rl({
2107
2101
  fontIconPrefix: "",
2108
2102
  fontIconWidth: 0,
2109
2103
  fontIconSearch: "",
@@ -2379,7 +2373,7 @@ function lr(l = "menu") {
2379
2373
  },
2380
2374
  emits: ["closeEditing", "closePlusDialog"],
2381
2375
  setup(b, { emit: r }) {
2382
- const v = B("sub-menu-more"), M = jl(yl), U = Zl(yl), I = B(0), x = _a(), {
2376
+ const v = B("sub-menu-more"), M = jl(yl), U = Zl(yl), I = B(0), x = Sa(), {
2383
2377
  rawMenus: R,
2384
2378
  menuTriggerType: D,
2385
2379
  permissionSideMenus: ce,
@@ -2531,7 +2525,7 @@ function lr(l = "menu") {
2531
2525
  }), Cl = B(null), ve = () => {
2532
2526
  Xe.show = !1, h();
2533
2527
  }, g = (s) => {
2534
- _.title = "", _.icon = "", Xe.type = "create", Xe.show = !0;
2528
+ S.title = "", S.icon = "", Xe.type = "create", Xe.show = !0;
2535
2529
  }, We = async (s) => {
2536
2530
  var N, X, t;
2537
2531
  let k;
@@ -2547,7 +2541,7 @@ function lr(l = "menu") {
2547
2541
  order_no: "",
2548
2542
  isShow: !0
2549
2543
  }, A = await $i(Xe.type, d);
2550
- ((N = A == null ? void 0 : A.data) == null ? void 0 : N.code) === 200 && (k = (t = (X = A == null ? void 0 : A.data) == null ? void 0 : X.result) == null ? void 0 : t.object_id, Sl.success("新增成功"));
2544
+ ((N = A == null ? void 0 : A.data) == null ? void 0 : N.code) === 200 && (k = (t = (X = A == null ? void 0 : A.data) == null ? void 0 : X.result) == null ? void 0 : t.object_id, _l.success("新增成功"));
2551
2545
  } catch (d) {
2552
2546
  throw new Error(d);
2553
2547
  } finally {
@@ -2562,19 +2556,19 @@ function lr(l = "menu") {
2562
2556
  }
2563
2557
  function Te(s, k) {
2564
2558
  if (!k) return [];
2565
- const N = [], X = new RegExp(`(^|/)${k}(/|$)`), t = wl(Z.value), d = Ql(t, "path", _ == null ? void 0 : _.path);
2559
+ const N = [], X = new RegExp(`(^|/)${k}(/|$)`), t = wl(Z.value), d = Ql(t, "path", S == null ? void 0 : S.path);
2566
2560
  for (const [A, Y] of s.entries())
2567
2561
  X.test(Y == null ? void 0 : Y.object_name) && N.push({
2568
2562
  id: A,
2569
2563
  //批量替换匹配项的path
2570
- path: Ce(Y == null ? void 0 : Y.object_name, d == null ? void 0 : d.level, _ == null ? void 0 : _.title),
2564
+ path: Ce(Y == null ? void 0 : Y.object_name, d == null ? void 0 : d.level, S == null ? void 0 : S.title),
2571
2565
  //同步修改fatherName同步点击行面包屑下拉触发
2572
2566
  father_name: Y == null ? void 0 : Y.father_name
2573
2567
  }), X.test(Y == null ? void 0 : Y.father_name) && (Y != null && Y.father_name) && N.push({
2574
2568
  id: A,
2575
2569
  path: Y == null ? void 0 : Y.object_name,
2576
2570
  //同步修改fatherName同步点击行面包屑下拉触发
2577
- father_name: Ce(Y == null ? void 0 : Y.father_name, d == null ? void 0 : d.level, _ == null ? void 0 : _.title)
2571
+ father_name: Ce(Y == null ? void 0 : Y.father_name, d == null ? void 0 : d.level, S == null ? void 0 : S.title)
2578
2572
  });
2579
2573
  return N;
2580
2574
  }
@@ -2582,7 +2576,7 @@ function lr(l = "menu") {
2582
2576
  var s, k, N, X;
2583
2577
  el.value = !0;
2584
2578
  try {
2585
- const t = Te(u.value, _ == null ? void 0 : _.path);
2579
+ const t = Te(u.value, S == null ? void 0 : S.path);
2586
2580
  if (!(t != null && t.length)) return;
2587
2581
  const d = {
2588
2582
  platId: Number(sessionStorage.getItem("systemKey")),
@@ -2597,12 +2591,12 @@ function lr(l = "menu") {
2597
2591
  }
2598
2592
  ]
2599
2593
  }, A = await ja(d);
2600
- ((s = A == null ? void 0 : A.data) == null ? void 0 : s.code) === 200 && ((N = (k = A == null ? void 0 : A.data) == null ? void 0 : k.message) != null && N.includes("成功")) && (Z.value = (X = Z.value) == null ? void 0 : X.map((Y) => (Y == null ? void 0 : Y.path) === (_ == null ? void 0 : _.path) ? {
2594
+ ((s = A == null ? void 0 : A.data) == null ? void 0 : s.code) === 200 && ((N = (k = A == null ? void 0 : A.data) == null ? void 0 : k.message) != null && N.includes("成功")) && (Z.value = (X = Z.value) == null ? void 0 : X.map((Y) => (Y == null ? void 0 : Y.path) === (S == null ? void 0 : S.path) ? {
2601
2595
  ...Y,
2602
- title: _ == null ? void 0 : _.title,
2603
- icon: _ == null ? void 0 : _.icon,
2604
- path: _ == null ? void 0 : _.title
2605
- } : Y), Sl.success("修改成功"));
2596
+ title: S == null ? void 0 : S.title,
2597
+ icon: S == null ? void 0 : S.icon,
2598
+ path: S == null ? void 0 : S.title
2599
+ } : Y), _l.success("修改成功"));
2606
2600
  } catch (t) {
2607
2601
  throw new Error(t);
2608
2602
  } finally {
@@ -2615,8 +2609,8 @@ function lr(l = "menu") {
2615
2609
  switch (Xe.type) {
2616
2610
  case "create":
2617
2611
  Z.value.push({
2618
- ..._,
2619
- path: _ == null ? void 0 : _.title,
2612
+ ...S,
2613
+ path: S == null ? void 0 : S.title,
2620
2614
  level: 0,
2621
2615
  carryData: !1,
2622
2616
  children: [],
@@ -2650,7 +2644,7 @@ function lr(l = "menu") {
2650
2644
  }
2651
2645
  ]
2652
2646
  }, t = await ft(X);
2653
- ((d = t == null ? void 0 : t.data) == null ? void 0 : d.code) === 200 && ((Y = (A = t == null ? void 0 : t.data) == null ? void 0 : A.message) != null && Y.includes("成功")) && (Z.value = (ue = be.value) == null ? void 0 : ue.filter((qe) => (qe == null ? void 0 : qe.path) !== (s == null ? void 0 : s.path)), Ze.value = Date.now(), Xe.show = !1, h(), M.setAsideEditMenus([]), Sl.success("删除成功"));
2647
+ ((d = t == null ? void 0 : t.data) == null ? void 0 : d.code) === 200 && ((Y = (A = t == null ? void 0 : t.data) == null ? void 0 : A.message) != null && Y.includes("成功")) && (Z.value = (ue = be.value) == null ? void 0 : ue.filter((qe) => (qe == null ? void 0 : qe.path) !== (s == null ? void 0 : s.path)), Ze.value = Date.now(), Xe.show = !1, h(), M.setAsideEditMenus([]), _l.success("删除成功"));
2654
2648
  });
2655
2649
  } catch (k) {
2656
2650
  throw new Error(k);
@@ -2658,9 +2652,9 @@ function lr(l = "menu") {
2658
2652
  el.value = !1;
2659
2653
  }
2660
2654
  }, h = () => {
2661
- for (const s in _)
2662
- _[s] = "";
2663
- }, _ = Rl({
2655
+ for (const s in S)
2656
+ S[s] = "";
2657
+ }, S = Rl({
2664
2658
  title: "",
2665
2659
  icon: "",
2666
2660
  path: ""
@@ -2669,7 +2663,7 @@ function lr(l = "menu") {
2669
2663
  { required: !0, message: "请输入", trigger: "blur" }
2670
2664
  ]
2671
2665
  }), de = (s) => {
2672
- _.title = s == null ? void 0 : s.title, _.icon = s == null ? void 0 : s.icon, _.path = s == null ? void 0 : s.path, Xe.type = "update", Xe.show = !1, r("closePlusDialog"), Fl(() => {
2666
+ S.title = s == null ? void 0 : s.title, S.icon = s == null ? void 0 : s.icon, S.path = s == null ? void 0 : s.path, Xe.type = "update", Xe.show = !1, r("closePlusDialog"), Fl(() => {
2673
2667
  var k;
2674
2668
  (k = Ne.value) == null || k.focus();
2675
2669
  });
@@ -2695,7 +2689,7 @@ function lr(l = "menu") {
2695
2689
  create_time: (t = /* @__PURE__ */ new Date()) == null ? void 0 : t.getTime()
2696
2690
  }), r("closeEditing"), (d = O.value) == null || d.handleResize(), el.value = !1;
2697
2691
  }
2698
- _.title = k == null ? void 0 : k.title, _.icon = k == null ? void 0 : k.icon, _.path = k == null ? void 0 : k.path;
2692
+ S.title = k == null ? void 0 : k.title, S.icon = k == null ? void 0 : k.icon, S.path = k == null ? void 0 : k.path;
2699
2693
  }, { immediate: !0, deep: !0 }), {
2700
2694
  menuRef: O,
2701
2695
  onDbClickMenu: de,
@@ -2710,7 +2704,7 @@ function lr(l = "menu") {
2710
2704
  onCloseMenuPlusDialog: ve,
2711
2705
  onConfirmMenu: a,
2712
2706
  onDeleteMenu: p,
2713
- menuForm: _,
2707
+ menuForm: S,
2714
2708
  menuRules: W,
2715
2709
  menuFormRef: Cl,
2716
2710
  refreshKey: Ze,
@@ -2861,34 +2855,34 @@ function cr(l = "menu") {
2861
2855
  operateType: "修改菜单名",
2862
2856
  operateIcon: "FixedMenu"
2863
2857
  }
2864
- ]), M = jl(yl), U = Zl(yl), I = zl(yl), { loginUserInfo: x } = hl(I), R = B(0), D = _a(), ce = B(), {
2858
+ ]), M = jl(yl), U = Zl(yl), I = zl(yl), { loginUserInfo: x } = hl(I), R = B(0), D = Sa(), ce = B(), {
2865
2859
  menuMap: e,
2866
2860
  activeAsideEditMenuPath: E,
2867
2861
  activeMainEditMenuPath: T,
2868
2862
  asideEditMenus: P,
2869
2863
  menuTriggerType: u,
2870
2864
  platform: oe
2871
- } = hl(M), { fixMenuStatus: Q } = hl(U), { isSuperAdmin: Z } = Gn(), w = ml(() => b == null ? void 0 : b.mode), C = (S) => S == null ? void 0 : S.map((Ae) => {
2865
+ } = hl(M), { fixMenuStatus: Q } = hl(U), { isSuperAdmin: Z } = Gn(), w = ml(() => b == null ? void 0 : b.mode), C = (_) => _ == null ? void 0 : _.map((Ae) => {
2872
2866
  var Ie, Qe;
2873
2867
  return !(Ae != null && Ae.children) || ((Ie = Ae == null ? void 0 : Ae.children) == null ? void 0 : Ie.length) === 0 ? Ae.config = v.value : Ae != null && Ae.children && ((Qe = Ae == null ? void 0 : Ae.children) == null ? void 0 : Qe.length) > 0 && (Ae.children = C(Ae.children)), Ae;
2874
2868
  }), i = ml(() => {
2875
- let S = [...P.value];
2876
- return (S == null ? void 0 : S.length) === 0 ? (D.push("/"), []) : (il(S, $e.value), S = S == null ? void 0 : S.map((ie) => {
2869
+ let _ = [...P.value];
2870
+ return (_ == null ? void 0 : _.length) === 0 ? (D.push("/"), []) : (il(_, $e.value), _ = _ == null ? void 0 : _.map((ie) => {
2877
2871
  var Ae, Ie;
2878
2872
  return !(ie != null && ie.children) || ((Ae = ie == null ? void 0 : ie.children) == null ? void 0 : Ae.length) === 0 ? ie.config = v.value : ie != null && ie.children && ((Ie = ie == null ? void 0 : ie.children) == null ? void 0 : Ie.length) > 0 && (ie.children = C(ie.children)), ie;
2879
- }), S);
2880
- }), Ee = (S) => {
2873
+ }), _);
2874
+ }), Ee = (_) => {
2881
2875
  var Re, xe;
2882
2876
  const ie = (G) => {
2883
2877
  const j = [...G.groups].sort().join("|");
2884
2878
  return `${G.menus}|${j}`;
2885
2879
  }, Ae = /* @__PURE__ */ new Map();
2886
- (Re = S == null ? void 0 : S.sonSyncs) == null || Re.forEach((G) => {
2880
+ (Re = _ == null ? void 0 : _.sonSyncs) == null || Re.forEach((G) => {
2887
2881
  const j = ie(G);
2888
2882
  Ae != null && Ae.has(j) || Ae.set(j, G);
2889
2883
  });
2890
2884
  const Ie = /* @__PURE__ */ new Map();
2891
- (xe = S == null ? void 0 : S.fatherSyncs) == null || xe.forEach((G) => {
2885
+ (xe = _ == null ? void 0 : _.fatherSyncs) == null || xe.forEach((G) => {
2892
2886
  const j = ie(G);
2893
2887
  Ie != null && Ie.has(j) || Ie.set(j, G);
2894
2888
  });
@@ -2920,13 +2914,13 @@ function cr(l = "menu") {
2920
2914
  };
2921
2915
  })
2922
2916
  ];
2923
- }, me = B([]), L = B([]), J = async (S) => {
2924
- var ie, Ae, Ie, Qe, H, te, Re, xe, G, j, q, m, re, he, ae, Se, K, ze, Oe, ne, bl, tl;
2917
+ }, me = B([]), L = B([]), J = async (_) => {
2918
+ var ie, Ae, Ie, Qe, H, te, Re, xe, G, j, q, m, re, he, ae, _e, K, ze, Oe, ne, bl, tl;
2925
2919
  try {
2926
2920
  if (!e.value) return;
2927
2921
  const Ml = /* @__PURE__ */ new Map(), Il = /* @__PURE__ */ new Map(), Ke = await ha({
2928
2922
  platId: Number(sessionStorage.getItem("systemKey")),
2929
- pageName: S == null ? void 0 : S.path
2923
+ pageName: _ == null ? void 0 : _.path
2930
2924
  });
2931
2925
  if (((ie = Ke == null ? void 0 : Ke.data) == null ? void 0 : ie.code) === 200) {
2932
2926
  const Le = (Ie = (Ae = Ke == null ? void 0 : Ke.data) == null ? void 0 : Ae.result) == null ? void 0 : Ie.filter((fe) => fe == null ? void 0 : fe.property_name);
@@ -2939,14 +2933,14 @@ function cr(l = "menu") {
2939
2933
  })) == null ? void 0 : te.value) == null ? void 0 : Re[0], Pl = (G = (xe = fe == null ? void 0 : fe.contents) == null ? void 0 : xe.find((Al) => {
2940
2934
  var Jl;
2941
2935
  return (Jl = Al == null ? void 0 : Al.key) == null ? void 0 : Jl.includes("content");
2942
- })) == null ? void 0 : G.value, kl = Array.isArray(((q = (j = Fe == null ? void 0 : Fe.结构) == null ? void 0 : j.contents) == null ? void 0 : q[0]) || ""), _l = kl ? (re = (m = Fe == null ? void 0 : Fe.结构) == null ? void 0 : m.contents) == null ? void 0 : re.flatMap((Al) => Al) : (he = Fe == null ? void 0 : Fe.结构) == null ? void 0 : he.contents, El = ["sort", "disabled", "relatedId"], xl = [
2936
+ })) == null ? void 0 : G.value, kl = Array.isArray(((q = (j = Fe == null ? void 0 : Fe.结构) == null ? void 0 : j.contents) == null ? void 0 : q[0]) || ""), Sl = kl ? (re = (m = Fe == null ? void 0 : Fe.结构) == null ? void 0 : m.contents) == null ? void 0 : re.flatMap((Al) => Al) : (he = Fe == null ? void 0 : Fe.结构) == null ? void 0 : he.contents, El = ["sort", "disabled", "relatedId"], xl = [
2943
2937
  {
2944
2938
  key: "tableContents",
2945
2939
  contents: Pl
2946
2940
  },
2947
2941
  {
2948
2942
  key: "header",
2949
- contents: _l == null ? void 0 : _l.filter((Al) => !(El != null && El.includes(Al == null ? void 0 : Al.prop)))
2943
+ contents: Sl == null ? void 0 : Sl.filter((Al) => !(El != null && El.includes(Al == null ? void 0 : Al.prop)))
2950
2944
  },
2951
2945
  {
2952
2946
  key: "filter",
@@ -2958,8 +2952,8 @@ function cr(l = "menu") {
2958
2952
  groupName: fe == null ? void 0 : fe.property_name,
2959
2953
  groupType: (Fe == null ? void 0 : Fe.类型) || "",
2960
2954
  //注意多级表头处理
2961
- columns: (Se = Vl == null ? void 0 : Vl.contents) != null && Se.length ? Vl == null ? void 0 : Vl.contents : _l,
2962
- hiddenColumns: _l == null ? void 0 : _l.filter((Al) => El == null ? void 0 : El.includes(Al == null ? void 0 : Al.prop)),
2955
+ columns: (_e = Vl == null ? void 0 : Vl.contents) != null && _e.length ? Vl == null ? void 0 : Vl.contents : Sl,
2956
+ hiddenColumns: Sl == null ? void 0 : Sl.filter((Al) => El == null ? void 0 : El.includes(Al == null ? void 0 : Al.prop)),
2963
2957
  namePath: ((K = Object.values(fe == null ? void 0 : fe.name)) == null ? void 0 : K.length) > 0 ? (ze = Object.values(fe == null ? void 0 : fe.name)) == null ? void 0 : ze.join("/") : "",
2964
2958
  hasMultiHeader: kl,
2965
2959
  hasContent: (fe == null ? void 0 : fe.contents) && ((Oe = fe == null ? void 0 : fe.contents) == null ? void 0 : Oe.length),
@@ -2974,7 +2968,7 @@ function cr(l = "menu") {
2974
2968
  id: Fe == null ? void 0 : Fe.id,
2975
2969
  content: (tl = Fe == null ? void 0 : Fe.引用) == null ? void 0 : tl.contents
2976
2970
  },
2977
- menuId: S == null ? void 0 : S.id
2971
+ menuId: _ == null ? void 0 : _.id
2978
2972
  });
2979
2973
  }
2980
2974
  let He = [];
@@ -2986,17 +2980,17 @@ function cr(l = "menu") {
2986
2980
  } catch (Ml) {
2987
2981
  throw new Error(Ml);
2988
2982
  }
2989
- }, be = B({}), z = async (S) => {
2990
- M.setActiveAsideEditMenuPath(S == null ? void 0 : S.path), be.value = wl(S), await J(S);
2991
- }, Be = async (S) => {
2992
- Q.value ? U.setFixMenuStatus(!1) : (h.value && (u.value = "open"), u.value === "click" ? R.value === 1 ? M.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : M.setActiveAsideEditMenuPath(S) : h.value || (M.setMenuTriggerType("click"), M.setActiveAsideEditMenuPath(S))), S != null && S.startsWith("/") ? D.push(S) : D.push("/"), R.value++;
2993
- const ie = Ql(i.value, "path", S);
2983
+ }, be = B({}), z = async (_) => {
2984
+ M.setActiveAsideEditMenuPath(_ == null ? void 0 : _.path), be.value = wl(_), await J(_);
2985
+ }, Be = async (_) => {
2986
+ Q.value ? U.setFixMenuStatus(!1) : (h.value && (u.value = "open"), u.value === "click" ? R.value === 1 ? M.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : M.setActiveAsideEditMenuPath(_) : h.value || (M.setMenuTriggerType("click"), M.setActiveAsideEditMenuPath(_))), _ != null && _.startsWith("/") ? D.push(_) : D.push("/"), R.value++;
2987
+ const ie = Ql(i.value, "path", _);
2994
2988
  ie && (be.value = wl(ie), await J(ie));
2995
- }, ke = (S) => {
2996
- h.value || M.setActiveMenuPath(S);
2997
- }, Ve = (S) => {
2989
+ }, ke = (_) => {
2990
+ h.value || M.setActiveMenuPath(_);
2991
+ }, Ve = (_) => {
2998
2992
  const ie = document.documentElement;
2999
- S == null || S.forEach((Ae) => {
2993
+ _ == null || _.forEach((Ae) => {
3000
2994
  ie.style.setProperty(Ae.name, Ae.value);
3001
2995
  });
3002
2996
  };
@@ -3004,44 +2998,44 @@ function cr(l = "menu") {
3004
2998
  R.value = 1;
3005
2999
  });
3006
3000
  const $e = ml(() => {
3007
- const S = sessionStorage.getItem("authority");
3008
- return S ? JSON.parse(S) : [];
3001
+ const _ = sessionStorage.getItem("authority");
3002
+ return _ ? JSON.parse(_) : [];
3009
3003
  });
3010
3004
  fl(
3011
3005
  () => oe.value,
3012
- (S) => {
3013
- S === "browser" ? Ve(Ya) : S === "client" ? (Ve(Ha), Ve(Fa)) : S === "three" && (Ve(Ja), Ve(za));
3006
+ (_) => {
3007
+ _ === "browser" ? Ve(Ya) : _ === "client" ? (Ve(Ha), Ve(Fa)) : _ === "three" && (Ve(Ja), Ve(za));
3014
3008
  },
3015
3009
  { immediate: !0 }
3016
- ), fl(() => b == null ? void 0 : b.isRefreshGroups, async (S) => {
3010
+ ), fl(() => b == null ? void 0 : b.isRefreshGroups, async (_) => {
3017
3011
  be.value && await z(be.value);
3018
3012
  }, { immediate: !0 });
3019
- const il = (S, ie) => ({
3013
+ const il = (_, ie) => ({
3020
3014
  isFlag: !0
3021
3015
  }), ul = Rl({
3022
3016
  show: !1,
3023
3017
  title: "菜单配置",
3024
3018
  width: "30%",
3025
3019
  type: "create"
3026
- }), pl = (S) => zn(S), Xe = B({}), Cl = B([]), ve = B({}), g = B({}), We = B({}), Ce = (S) => {
3020
+ }), pl = (_) => zn(_), Xe = B({}), Cl = B([]), ve = B({}), g = B({}), We = B({}), Ce = (_) => {
3027
3021
  M.setCacheInputMenu({
3028
3022
  type: ul.type,
3029
- data: S
3023
+ data: _
3030
3024
  }), M.setIsRefreshMenus(!0);
3031
- }, Te = async (S, ie) => {
3025
+ }, Te = async (_, ie) => {
3032
3026
  M.setIsRefreshMenus(!1), M.setIsRefreshMenus(!0), ce.value = void 0;
3033
- }, el = (S) => {
3027
+ }, el = (_) => {
3034
3028
  y.value = !0;
3035
3029
  try {
3036
- ga.confirm(`确认删除【${S == null ? void 0 : S.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3030
+ ga.confirm(`确认删除【${_ == null ? void 0 : _.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3037
3031
  confirmButtonText: "确认",
3038
3032
  cancelButtonText: "取消",
3039
3033
  type: "warning"
3040
3034
  }).then(async () => {
3041
3035
  var H, te, Re, xe, G, j, q;
3042
- const ie = se(e.value, S == null ? void 0 : S.path), Ae = ie != null && ie.length ? ie == null ? void 0 : ie.map((m) => ({
3036
+ const ie = se(e.value, _ == null ? void 0 : _.path), Ae = ie != null && ie.length ? ie == null ? void 0 : ie.map((m) => ({
3043
3037
  object_id: m == null ? void 0 : m.id
3044
- })) : [{ object_id: S == null ? void 0 : S.id }], Ie = {
3038
+ })) : [{ object_id: _ == null ? void 0 : _.id }], Ie = {
3045
3039
  platId: Number(sessionStorage.getItem("systemKey")),
3046
3040
  changeContents: [
3047
3041
  {
@@ -3051,14 +3045,14 @@ function cr(l = "menu") {
3051
3045
  ]
3052
3046
  }, Qe = await ft(Ie);
3053
3047
  if (((H = Qe == null ? void 0 : Qe.data) == null ? void 0 : H.code) === 200 && ((Re = (te = Qe == null ? void 0 : Qe.data) == null ? void 0 : te.message) != null && Re.includes("成功"))) {
3054
- const m = (xe = S == null ? void 0 : S.path) == null ? void 0 : xe.split("/"), re = (G = m == null ? void 0 : m.slice(0, -1)) == null ? void 0 : G.join("/"), he = Ql(i.value, "path", re);
3048
+ const m = (xe = _ == null ? void 0 : _.path) == null ? void 0 : xe.split("/"), re = (G = m == null ? void 0 : m.slice(0, -1)) == null ? void 0 : G.join("/"), he = Ql(i.value, "path", re);
3055
3049
  if (he)
3056
- he.children = (j = he.children) == null ? void 0 : j.filter((ae) => (ae == null ? void 0 : ae.path) !== (S == null ? void 0 : S.path));
3050
+ he.children = (j = he.children) == null ? void 0 : j.filter((ae) => (ae == null ? void 0 : ae.path) !== (_ == null ? void 0 : _.path));
3057
3051
  else {
3058
- const ae = (q = i.value) == null ? void 0 : q.filter((Se) => (Se == null ? void 0 : Se.path) !== (S == null ? void 0 : S.path));
3052
+ const ae = (q = i.value) == null ? void 0 : q.filter((_e) => (_e == null ? void 0 : _e.path) !== (_ == null ? void 0 : _.path));
3059
3053
  M.setAsideEditMenus(ae);
3060
3054
  }
3061
- await Oa(), Y.value = Date.now(), X(), W.show = !1, Sl.success("删除成功");
3055
+ await Oa(), Y.value = Date.now(), X(), W.show = !1, _l.success("删除成功");
3062
3056
  }
3063
3057
  });
3064
3058
  } catch (ie) {
@@ -3066,13 +3060,13 @@ function cr(l = "menu") {
3066
3060
  } finally {
3067
3061
  y.value = !1;
3068
3062
  }
3069
- }, Ne = (S, ie) => {
3070
- switch (z(S), ie == null ? void 0 : ie.value) {
3063
+ }, Ne = (_, ie) => {
3064
+ switch (z(_), ie == null ? void 0 : ie.value) {
3071
3065
  case "delete":
3072
- el(S);
3066
+ el(_);
3073
3067
  break;
3074
3068
  case "create":
3075
- d(S);
3069
+ d(_);
3076
3070
  break;
3077
3071
  case "createCompName":
3078
3072
  de.type = "create", de.show = !0;
@@ -3080,10 +3074,10 @@ function cr(l = "menu") {
3080
3074
  }
3081
3075
  }, al = () => {
3082
3076
  ul.show = !1;
3083
- }, Ze = (S) => S == null ? void 0 : S.filter((ie) => ie.allowInherit), a = () => {
3077
+ }, Ze = (_) => _ == null ? void 0 : _.filter((ie) => ie.allowInherit), a = () => {
3084
3078
  var Ae, Ie, Qe, H, te;
3085
- let S;
3086
- ul.type === "create" && (S = ((Ae = g.value) == null ? void 0 : Ae.path) + "/" + ve.value[(Ie = ve.value) == null ? void 0 : Ie.prop]), ul.type === "update" && (S = (Qe = g.value) == null ? void 0 : Qe.path);
3079
+ let _;
3080
+ ul.type === "create" && (_ = ((Ae = g.value) == null ? void 0 : Ae.path) + "/" + ve.value[(Ie = ve.value) == null ? void 0 : Ie.prop]), ul.type === "update" && (_ = (Qe = g.value) == null ? void 0 : Qe.path);
3087
3081
  const ie = {
3088
3082
  ...g.value,
3089
3083
  //是否继承父菜单的配置
@@ -3091,17 +3085,17 @@ function cr(l = "menu") {
3091
3085
  children: [],
3092
3086
  childMenus: [],
3093
3087
  title: ve.value[(te = ve.value) == null ? void 0 : te.prop],
3094
- path: S
3088
+ path: _
3095
3089
  };
3096
3090
  console.log("clickSubmitForm", We.value, g.value, ie), Ce(ie), ul.show = !1;
3097
- }, p = (S) => {
3091
+ }, p = (_) => {
3098
3092
  var Ae, Ie;
3099
- const ie = (Ae = S == null ? void 0 : S.contents) == null ? void 0 : Ae.find((Qe) => Qe.key === "formContent");
3093
+ const ie = (Ae = _ == null ? void 0 : _.contents) == null ? void 0 : Ae.find((Qe) => Qe.key === "formContent");
3100
3094
  ie && (ve.value = (Ie = ie == null ? void 0 : ie.contents) == null ? void 0 : Ie.reduce(
3101
3095
  (Qe, H) => (Qe[H.key] = H.value, Qe.prop = H.key, Qe),
3102
3096
  {}
3103
3097
  ));
3104
- }, h = B(!1), _ = () => {
3098
+ }, h = B(!1), S = () => {
3105
3099
  h.value = !h.value;
3106
3100
  }, W = Rl({
3107
3101
  show: !1,
@@ -3119,24 +3113,24 @@ function cr(l = "menu") {
3119
3113
  }, N = () => {
3120
3114
  de.show = !1, t(), be.value && z(be.value);
3121
3115
  }, X = () => {
3122
- for (const S in pe)
3123
- pe[S] = "";
3116
+ for (const _ in pe)
3117
+ pe[_] = "";
3124
3118
  }, t = () => {
3125
- for (const S in F)
3126
- F[S] = "";
3127
- }, d = (S) => {
3128
- X(), W.parentPath = S == null ? void 0 : S.path, W.type = "create", W.show = !0, Fl(() => {
3119
+ for (const _ in F)
3120
+ F[_] = "";
3121
+ }, d = (_) => {
3122
+ X(), W.parentPath = _ == null ? void 0 : _.path, W.type = "create", W.show = !0, Fl(() => {
3129
3123
  var ie;
3130
3124
  (ie = nl.value) == null || ie.focus();
3131
3125
  });
3132
- }, A = async (S) => {
3126
+ }, A = async (_) => {
3133
3127
  var Ae, Ie, Qe;
3134
3128
  let ie;
3135
3129
  try {
3136
3130
  const H = {
3137
3131
  //新增
3138
3132
  platId: Number(sessionStorage.getItem("systemKey")),
3139
- objectName: S == null ? void 0 : S.path,
3133
+ objectName: _ == null ? void 0 : _.path,
3140
3134
  //path
3141
3135
  // propertyName: data?.title,//title,框架设计,该字段是自动获取name生成的,不需要传
3142
3136
  // fatherObjectId: "",
@@ -3144,7 +3138,7 @@ function cr(l = "menu") {
3144
3138
  order_no: "",
3145
3139
  isShow: !0
3146
3140
  }, te = await er(W.type, H);
3147
- ((Ae = te == null ? void 0 : te.data) == null ? void 0 : Ae.code) === 200 && (ie = (Qe = (Ie = te == null ? void 0 : te.data) == null ? void 0 : Ie.result) == null ? void 0 : Qe.object_id, Sl.success("新增成功"));
3141
+ ((Ae = te == null ? void 0 : te.data) == null ? void 0 : Ae.code) === 200 && (ie = (Qe = (Ie = te == null ? void 0 : te.data) == null ? void 0 : Ie.result) == null ? void 0 : Qe.object_id, _l.success("新增成功"));
3148
3142
  } catch (H) {
3149
3143
  throw new Error(H);
3150
3144
  } finally {
@@ -3152,10 +3146,10 @@ function cr(l = "menu") {
3152
3146
  }
3153
3147
  return ie;
3154
3148
  }, Y = B(0), ue = B(""), qe = () => {
3155
- var S;
3149
+ var _;
3156
3150
  y.value = !0, ue.value = "";
3157
3151
  try {
3158
- (S = O.value) == null || S.validate(async (ie) => {
3152
+ (_ = O.value) == null || _.validate(async (ie) => {
3159
3153
  if (ie) {
3160
3154
  switch (W.type) {
3161
3155
  case "create":
@@ -3203,16 +3197,16 @@ function cr(l = "menu") {
3203
3197
  } finally {
3204
3198
  y.value = !1;
3205
3199
  }
3206
- }, rl = async (S) => {
3200
+ }, rl = async (_) => {
3207
3201
  try {
3208
- ga.confirm(`确认删除【${S == null ? void 0 : S.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3202
+ ga.confirm(`确认删除【${_ == null ? void 0 : _.title}】?将会同步删除其关联的所有数据`, "温馨提示", {
3209
3203
  confirmButtonText: "确认",
3210
3204
  cancelButtonText: "取消",
3211
3205
  type: "warning"
3212
3206
  }).then(async () => {
3213
3207
  var Qe, H, te, Re;
3214
3208
  W.type = "delete";
3215
- const ie = se(e.value, S == null ? void 0 : S.path), Ae = {
3209
+ const ie = se(e.value, _ == null ? void 0 : _.path), Ae = {
3216
3210
  platId: Number(sessionStorage.getItem("systemKey")),
3217
3211
  changeContents: [
3218
3212
  {
@@ -3224,24 +3218,24 @@ function cr(l = "menu") {
3224
3218
  ]
3225
3219
  }, Ie = await ft(Ae);
3226
3220
  if (((Qe = Ie == null ? void 0 : Ie.data) == null ? void 0 : Qe.code) === 200 && ((te = (H = Ie == null ? void 0 : Ie.data) == null ? void 0 : H.message) != null && te.includes("成功"))) {
3227
- const xe = (Re = i.value) == null ? void 0 : Re.filter((G) => (G == null ? void 0 : G.path) !== (S == null ? void 0 : S.path));
3228
- M.setAsideEditMenus(xe), Y.value = Date.now(), W.show = !1, X(), Sl.success("删除成功");
3221
+ const xe = (Re = i.value) == null ? void 0 : Re.filter((G) => (G == null ? void 0 : G.path) !== (_ == null ? void 0 : _.path));
3222
+ M.setAsideEditMenus(xe), Y.value = Date.now(), W.show = !1, X(), _l.success("删除成功");
3229
3223
  }
3230
3224
  });
3231
3225
  } catch (ie) {
3232
3226
  throw new Error(ie);
3233
3227
  } finally {
3234
- await J(S);
3228
+ await J(_);
3235
3229
  }
3236
3230
  };
3237
- function we(S, ie, Ae) {
3238
- if (!S) return S;
3239
- const Ie = S.split("/");
3240
- return ie < 0 || ie >= Ie.length ? (console.warn(`索引 ${ie} 超出范围,路径共有 ${Ie.length} 个片段`), S) : (Ie[ie] = Ae, Ie.join("/"));
3231
+ function we(_, ie, Ae) {
3232
+ if (!_) return _;
3233
+ const Ie = _.split("/");
3234
+ return ie < 0 || ie >= Ie.length ? (console.warn(`索引 ${ie} 超出范围,路径共有 ${Ie.length} 个片段`), _) : (Ie[ie] = Ae, Ie.join("/"));
3241
3235
  }
3242
- function se(S, ie) {
3236
+ function se(_, ie) {
3243
3237
  const Ae = [], Ie = new RegExp(`(^|/)${ie}(/|$)`), Qe = wl(i.value), H = Ql(Qe, "path", pe == null ? void 0 : pe.path);
3244
- for (const [te, Re] of S.entries())
3238
+ for (const [te, Re] of _.entries())
3245
3239
  Ie.test(Re == null ? void 0 : Re.object_name) && Ae.push({
3246
3240
  id: te,
3247
3241
  //批量替换匹配项的path
@@ -3257,7 +3251,7 @@ function cr(l = "menu") {
3257
3251
  return Ae;
3258
3252
  }
3259
3253
  const y = B(!1), Me = async () => {
3260
- var S, ie, Ae;
3254
+ var _, ie, Ae;
3261
3255
  try {
3262
3256
  const Ie = se(e.value, pe == null ? void 0 : pe.path);
3263
3257
  if (!(Ie != null && Ie.length)) return;
@@ -3274,22 +3268,22 @@ function cr(l = "menu") {
3274
3268
  }
3275
3269
  ]
3276
3270
  }, H = await ja(Qe);
3277
- if (((S = H == null ? void 0 : H.data) == null ? void 0 : S.code) === 200 && ((Ae = (ie = H == null ? void 0 : H.data) == null ? void 0 : ie.message) != null && Ae.includes("成功"))) {
3271
+ if (((_ = H == null ? void 0 : H.data) == null ? void 0 : _.code) === 200 && ((Ae = (ie = H == null ? void 0 : H.data) == null ? void 0 : ie.message) != null && Ae.includes("成功"))) {
3278
3272
  const te = Ql(i.value, "path", pe.path);
3279
3273
  if (!te) return;
3280
- te.icon = pe == null ? void 0 : pe.icon, te.title = pe == null ? void 0 : pe.title, te.path = pe == null ? void 0 : pe.path, Sl.success("修改成功");
3274
+ te.icon = pe == null ? void 0 : pe.icon, te.title = pe == null ? void 0 : pe.title, te.path = pe == null ? void 0 : pe.path, _l.success("修改成功");
3281
3275
  }
3282
3276
  } catch (Ie) {
3283
3277
  throw new Error(Ie);
3284
3278
  }
3285
3279
  }, Pe = () => {
3286
- var S;
3280
+ var _;
3287
3281
  y.value = !0;
3288
3282
  try {
3289
- (S = s.value) == null || S.validate(async (ie) => {
3283
+ (_ = s.value) == null || _.validate(async (ie) => {
3290
3284
  var Ae, Ie, Qe, H, te, Re, xe;
3291
3285
  if (ie) {
3292
- if (!((Ae = be.value) != null && Ae.path)) return Sl.warning("请先选择所属菜单");
3286
+ if (!((Ae = be.value) != null && Ae.path)) return _l.warning("请先选择所属菜单");
3293
3287
  const G = Ql(L.value, "groupId", F == null ? void 0 : F.pid);
3294
3288
  let j;
3295
3289
  G ? j = [...((Ie = G == null ? void 0 : G.namePath) == null ? void 0 : Ie.split("/")) ?? [], F == null ? void 0 : F.title] : j = [F == null ? void 0 : F.title];
@@ -3308,7 +3302,7 @@ function cr(l = "menu") {
3308
3302
  order_no: Number(((Re = (te = me.value) == null ? void 0 : te[((H = me.value) == null ? void 0 : H.length) - 1]) == null ? void 0 : Re.order_no) || 0) + 1,
3309
3303
  isShow: !0
3310
3304
  }, m = await Ct(de.type, q);
3311
- ((xe = m == null ? void 0 : m.data) == null ? void 0 : xe.code) === 200 && (r("getCompForm", F), t(), await J(be.value), Sl.success("新增成功"), be.value && z(be.value), de.show = !1);
3305
+ ((xe = m == null ? void 0 : m.data) == null ? void 0 : xe.code) === 200 && (r("getCompForm", F), t(), await J(be.value), _l.success("新增成功"), be.value && z(be.value), de.show = !1);
3312
3306
  }
3313
3307
  });
3314
3308
  } catch (ie) {
@@ -3358,28 +3352,28 @@ function cr(l = "menu") {
3358
3352
  value: "delete",
3359
3353
  icon: "DeleteMenu"
3360
3354
  }
3361
- ], nl = B(null), Je = (S) => {
3362
- pe.title = S == null ? void 0 : S.title, pe.icon = S == null ? void 0 : S.icon, pe.path = S == null ? void 0 : S.path, W.type = "update", W.show = !1, Fl(() => {
3355
+ ], nl = B(null), Je = (_) => {
3356
+ pe.title = _ == null ? void 0 : _.title, pe.icon = _ == null ? void 0 : _.icon, pe.path = _ == null ? void 0 : _.path, W.type = "update", W.show = !1, Fl(() => {
3363
3357
  var ie;
3364
3358
  (ie = nl.value) == null || ie.focus();
3365
3359
  });
3366
- }, _e = B(null);
3367
- return fl(() => P.value, async (S) => {
3360
+ }, Se = B(null);
3361
+ return fl(() => P.value, async (_) => {
3368
3362
  var ie, Ae;
3369
- if (S) {
3363
+ if (_) {
3370
3364
  await Fl();
3371
- const Ie = S == null ? void 0 : S[0];
3365
+ const Ie = _ == null ? void 0 : _[0];
3372
3366
  if (((ie = Ie == null ? void 0 : Ie.children) == null ? void 0 : ie.length) > 0) {
3373
3367
  const Qe = Ie == null ? void 0 : Ie.path;
3374
- if (!_e.value) return;
3375
- (Ae = _e.value) == null || Ae.openMenuRefByIndex(Qe), M.setActiveAsideEditMenuPath(Qe ?? "");
3368
+ if (!Se.value) return;
3369
+ (Ae = Se.value) == null || Ae.openMenuRefByIndex(Qe), M.setActiveAsideEditMenuPath(Qe ?? "");
3376
3370
  } else
3377
3371
  M.setActiveAsideEditMenuPath((Ie == null ? void 0 : Ie.path) ?? "");
3378
3372
  }
3379
3373
  }, { immediate: !0 }), {
3380
- menuRef: _e,
3374
+ menuRef: Se,
3381
3375
  isCollapse: h,
3382
- handleMenuCollapse: _,
3376
+ handleMenuCollapse: S,
3383
3377
  handleCompChange: p,
3384
3378
  dialogForm: Xe,
3385
3379
  dialogRenderComps: Cl,
@@ -3628,21 +3622,19 @@ function kr(l, b, r, v, M, U) {
3628
3622
  footer: o(() => [
3629
3623
  V("div", wr, [
3630
3624
  n(oe, { onClick: l.onCloseGroupDialog }, {
3631
- default: o(() => b[7] || (b[7] = [
3632
- cl("取消")
3633
- ])),
3634
- _: 1,
3635
- __: [7]
3625
+ default: o(() => [...b[7] || (b[7] = [
3626
+ cl("取消", -1)
3627
+ ])]),
3628
+ _: 1
3636
3629
  }, 8, ["onClick"]),
3637
3630
  n(oe, {
3638
3631
  type: "primary",
3639
3632
  onClick: l.onConfirmGroup
3640
3633
  }, {
3641
- default: o(() => b[8] || (b[8] = [
3642
- cl("确认")
3643
- ])),
3644
- _: 1,
3645
- __: [8]
3634
+ default: o(() => [...b[8] || (b[8] = [
3635
+ cl("确认", -1)
3636
+ ])]),
3637
+ _: 1
3646
3638
  }, 8, ["onClick"])
3647
3639
  ])
3648
3640
  ]),
@@ -3737,7 +3729,7 @@ const Ar = /* @__PURE__ */ Kl(ur, [["render", kr], ["__scopeId", "data-v-7f84f44
3737
3729
  return ((T = e == null ? void 0 : e.object_name) == null ? void 0 : T[((E = e == null ? void 0 : e.object_name) == null ? void 0 : E.length) - 1]) !== "/" && (e == null ? void 0 : e.is_show);
3738
3730
  })) == null ? void 0 : ce.sort((e, E) => (e == null ? void 0 : e.object_id) - (E == null ? void 0 : E.object_id))
3739
3731
  };
3740
- }, _r = async (l) => {
3732
+ }, Sr = async (l) => {
3741
3733
  var r, v, M;
3742
3734
  await Pn({
3743
3735
  platId: parseInt((r = Gl == null ? void 0 : Gl.value) == null ? void 0 : r.plat_id),
@@ -3750,7 +3742,7 @@ const Ar = /* @__PURE__ */ Kl(ur, [["render", kr], ["__scopeId", "data-v-7f84f44
3750
3742
  return {
3751
3743
  allMenuContents: b == null ? void 0 : b.allMenuContents
3752
3744
  };
3753
- }, Sr = /* @__PURE__ */ Bl({
3745
+ }, _r = /* @__PURE__ */ Bl({
3754
3746
  __name: "index",
3755
3747
  props: {
3756
3748
  key: [Number, String],
@@ -3940,7 +3932,7 @@ const Ar = /* @__PURE__ */ Kl(ur, [["render", kr], ["__scopeId", "data-v-7f84f44
3940
3932
  return (z = String(be == null ? void 0 : be.id)) == null ? void 0 : z.includes("new");
3941
3933
  });
3942
3934
  if (i == "create" && ((J = U.value) == null ? void 0 : J.find((z) => (z == null ? void 0 : z.prop) === w)))
3943
- return Sl.error("请勿创建重复参数名称");
3935
+ return _l.error("请勿创建重复参数名称");
3944
3936
  v("onClickOperateData", i, {
3945
3937
  ...C,
3946
3938
  label: w,
@@ -4143,7 +4135,7 @@ const Ar = /* @__PURE__ */ Kl(ur, [["render", kr], ["__scopeId", "data-v-7f84f44
4143
4135
  label: "编辑",
4144
4136
  value: "Edit"
4145
4137
  }
4146
- ], _n = [
4138
+ ], Sn = [
4147
4139
  {
4148
4140
  label: "Tab",
4149
4141
  value: "Tab"
@@ -4169,7 +4161,7 @@ const Ar = /* @__PURE__ */ Kl(ur, [["render", kr], ["__scopeId", "data-v-7f84f44
4169
4161
  label: "Random",
4170
4162
  value: "Random"
4171
4163
  }
4172
- ], Sn = [
4164
+ ], _n = [
4173
4165
  {
4174
4166
  label: "表格",
4175
4167
  value: "Table"
@@ -4291,7 +4283,7 @@ const Nl = (l, b) => {
4291
4283
  const r = jl(yl), { activeAsideEditMenuPath: v } = hl(r), M = l, U = b, I = B({}), x = (ve, g) => {
4292
4284
  ve && (I.value[g] = ve);
4293
4285
  }, R = (ve) => {
4294
- var We, Ce, Te, el, Ne, al, Ze, a, p, h, _, W, de, O, s, k, N, X, t, d, A, Y;
4286
+ var We, Ce, Te, el, Ne, al, Ze, a, p, h, S, W, de, O, s, k, N, X, t, d, A, Y;
4295
4287
  const g = JSON.parse(JSON.stringify(ve));
4296
4288
  if (e && typeof e == "object" && ((We = Object.keys(g)) == null || We.forEach((ue) => {
4297
4289
  ue in e && (e[ue] = g[ue]);
@@ -4300,10 +4292,10 @@ const Nl = (l, b) => {
4300
4292
  label: ue == null ? void 0 : ue.name,
4301
4293
  configInfo: ue == null ? void 0 : ue.configInfo
4302
4294
  })), (el = g == null ? void 0 : g.configInfo) != null && el.content) {
4303
- e.linkSource = Kr((Ne = g == null ? void 0 : g.configInfo) == null ? void 0 : Ne.content), e.formType = Nl((al = g == null ? void 0 : g.configInfo) == null ? void 0 : al.content, "SubType") || "", e.view = Nl((Ze = g == null ? void 0 : g.configInfo) == null ? void 0 : Ze.content, "EditRead") || "Read", e.maxRow = Nl((a = g == null ? void 0 : g.configInfo) == null ? void 0 : a.content, "MaxRow") || "", e.maxColumn = Nl((p = g == null ? void 0 : g.configInfo) == null ? void 0 : p.content, "MaxColumn") || "", e.showHide = Nl((h = g == null ? void 0 : g.configInfo) == null ? void 0 : h.content, "ShowHide") || "Show", e.textSize = Nl((_ = g == null ? void 0 : g.configInfo) == null ? void 0 : _.content, "TextSize") || "", e.textColor = Tn(Nl((W = g == null ? void 0 : g.configInfo) == null ? void 0 : W.content, "TextRGBA")) || "", e.textBackground = Tn(Nl((de = g == null ? void 0 : g.configInfo) == null ? void 0 : de.content, "TextBackRGBA")) || "";
4295
+ e.linkSource = Kr((Ne = g == null ? void 0 : g.configInfo) == null ? void 0 : Ne.content), e.formType = Nl((al = g == null ? void 0 : g.configInfo) == null ? void 0 : al.content, "SubType") || "", e.view = Nl((Ze = g == null ? void 0 : g.configInfo) == null ? void 0 : Ze.content, "EditRead") || "Read", e.maxRow = Nl((a = g == null ? void 0 : g.configInfo) == null ? void 0 : a.content, "MaxRow") || "", e.maxColumn = Nl((p = g == null ? void 0 : g.configInfo) == null ? void 0 : p.content, "MaxColumn") || "", e.showHide = Nl((h = g == null ? void 0 : g.configInfo) == null ? void 0 : h.content, "ShowHide") || "Show", e.textSize = Nl((S = g == null ? void 0 : g.configInfo) == null ? void 0 : S.content, "TextSize") || "", e.textColor = Tn(Nl((W = g == null ? void 0 : g.configInfo) == null ? void 0 : W.content, "TextRGBA")) || "", e.textBackground = Tn(Nl((de = g == null ? void 0 : g.configInfo) == null ? void 0 : de.content, "TextBackRGBA")) || "";
4304
4296
  const ue = Nl((O = g == null ? void 0 : g.configInfo) == null ? void 0 : O.content, "Type") || "", qe = et == null ? void 0 : et.find((y) => ue == null ? void 0 : ue.includes(y == null ? void 0 : y.value));
4305
4297
  qe && (e.quoteType = qe == null ? void 0 : qe.value);
4306
- const rl = _n.map((y) => y == null ? void 0 : y.value), we = rl == null ? void 0 : rl.reduce((y, Me) => {
4298
+ const rl = Sn.map((y) => y == null ? void 0 : y.value), we = rl == null ? void 0 : rl.reduce((y, Me) => {
4307
4299
  var pe;
4308
4300
  const Pe = Nl((pe = g == null ? void 0 : g.configInfo) == null ? void 0 : pe.content, Me);
4309
4301
  return Pe && (y.comp = Me || "", y.value = Pe || ""), y;
@@ -4474,7 +4466,7 @@ const Nl = (l, b) => {
4474
4466
  const L = Rl({
4475
4467
  isTable: !1,
4476
4468
  groupId: ""
4477
- }), J = (ve) => L.isTable && ve === L.groupId ? Sr : xr, be = (ve) => {
4469
+ }), J = (ve) => L.isTable && ve === L.groupId ? _r : xr, be = (ve) => {
4478
4470
  L.isTable = !L.isTable, L.groupId = ve == null ? void 0 : ve.id;
4479
4471
  }, z = (ve, g, We, Ce = !1) => {
4480
4472
  U("onClickOperateData", ve, g, We, Ce);
@@ -4544,7 +4536,7 @@ const Nl = (l, b) => {
4544
4536
  }, { immediate: !0 }), fl(() => v.value, (ve) => {
4545
4537
  ve && e.id && ke();
4546
4538
  }, { immediate: !0 }), (ve, g) => {
4547
- const We = ee("el-input"), Ce = ee("el-form-item"), Te = ee("el-form"), el = ee("group-index"), Ne = ee("el-option"), al = ee("el-select"), Ze = ee("el-radio"), a = ee("el-radio-group"), p = ee("el-icon"), h = ee("el-cascader"), _ = ee("el-tag"), W = ee("el-button"), de = ee("el-color-picker"), O = ee("el-col"), s = ee("el-row"), k = ee("el-text"), N = ee("el-tab-pane"), X = ee("el-tabs");
4539
+ const We = ee("el-input"), Ce = ee("el-form-item"), Te = ee("el-form"), el = ee("group-index"), Ne = ee("el-option"), al = ee("el-select"), Ze = ee("el-radio"), a = ee("el-radio-group"), p = ee("el-icon"), h = ee("el-cascader"), S = ee("el-tag"), W = ee("el-button"), de = ee("el-color-picker"), O = ee("el-col"), s = ee("el-row"), k = ee("el-text"), N = ee("el-tab-pane"), X = ee("el-tabs");
4548
4540
  return f(), $(ll, null, [
4549
4541
  (f(!0), $(ll, null, dl(l.children, (t) => {
4550
4542
  var d, A, Y;
@@ -4670,21 +4662,19 @@ const Nl = (l, b) => {
4670
4662
  footer: o(() => [
4671
4663
  V("div", zr, [
4672
4664
  n(W, { onClick: $e }, {
4673
- default: o(() => g[36] || (g[36] = [
4674
- cl("取消")
4675
- ])),
4676
- _: 1,
4677
- __: [36]
4665
+ default: o(() => [...g[36] || (g[36] = [
4666
+ cl("取消", -1)
4667
+ ])]),
4668
+ _: 1
4678
4669
  }),
4679
4670
  n(W, {
4680
4671
  type: "primary",
4681
4672
  onClick: Z
4682
4673
  }, {
4683
- default: o(() => g[37] || (g[37] = [
4684
- cl("确认")
4685
- ])),
4686
- _: 1,
4687
- __: [37]
4674
+ default: o(() => [...g[37] || (g[37] = [
4675
+ cl("确认", -1)
4676
+ ])]),
4677
+ _: 1
4688
4678
  })
4689
4679
  ])
4690
4680
  ]),
@@ -4736,7 +4726,7 @@ const Nl = (l, b) => {
4736
4726
  onChange: Cl
4737
4727
  }, {
4738
4728
  default: o(() => [
4739
- (f(!0), $(ll, null, dl(c(Sn), (t) => (f(), ye(Ne, {
4729
+ (f(!0), $(ll, null, dl(c(_n), (t) => (f(), ye(Ne, {
4740
4730
  key: t == null ? void 0 : t.value,
4741
4731
  label: t == null ? void 0 : t.label,
4742
4732
  value: t == null ? void 0 : t.value
@@ -4777,7 +4767,7 @@ const Nl = (l, b) => {
4777
4767
  default: o(() => {
4778
4768
  var t, d;
4779
4769
  return [
4780
- (f(!0), $(ll, null, dl(((d = (t = c(Sn)) == null ? void 0 : t.find((A) => (A == null ? void 0 : A.value) === c(e).type)) == null ? void 0 : d.subOptions) || [], (A) => (f(), ye(Ne, {
4770
+ (f(!0), $(ll, null, dl(((d = (t = c(_n)) == null ? void 0 : t.find((A) => (A == null ? void 0 : A.value) === c(e).type)) == null ? void 0 : d.subOptions) || [], (A) => (f(), ye(Ne, {
4781
4771
  key: A == null ? void 0 : A.value,
4782
4772
  label: A == null ? void 0 : A.label,
4783
4773
  value: A == null ? void 0 : A.value
@@ -4985,7 +4975,7 @@ const Nl = (l, b) => {
4985
4975
  }, 1024),
4986
4976
  n(Ce, { label: "按钮内容:" }, {
4987
4977
  default: o(() => [
4988
- (f(!0), $(ll, null, dl(t == null ? void 0 : t.data, (ue) => (f(), ye(_, {
4978
+ (f(!0), $(ll, null, dl(t == null ? void 0 : t.data, (ue) => (f(), ye(S, {
4989
4979
  key: ue,
4990
4980
  "disable-transitions": !1,
4991
4981
  closable: "",
@@ -5012,12 +5002,11 @@ const Nl = (l, b) => {
5012
5002
  size: "small",
5013
5003
  onClick: (ue) => C(t)
5014
5004
  }, {
5015
- default: o(() => g[32] || (g[32] = [
5016
- cl(" + ")
5017
- ])),
5018
- _: 2,
5019
- __: [32]
5020
- }, 1032, ["onClick"]))
5005
+ default: o(() => [...g[32] || (g[32] = [
5006
+ cl(" + ", -1)
5007
+ ])]),
5008
+ _: 1
5009
+ }, 8, ["onClick"]))
5021
5010
  ]),
5022
5011
  _: 2
5023
5012
  }, 1024)
@@ -5060,7 +5049,7 @@ const Nl = (l, b) => {
5060
5049
  clearable: ""
5061
5050
  }, {
5062
5051
  default: o(() => [
5063
- (f(!0), $(ll, null, dl(c(_n), (t) => (f(), ye(Ne, {
5052
+ (f(!0), $(ll, null, dl(c(Sn), (t) => (f(), ye(Ne, {
5064
5053
  key: t.value,
5065
5054
  label: t.label,
5066
5055
  value: t.value
@@ -5222,13 +5211,12 @@ const Nl = (l, b) => {
5222
5211
  size: "small",
5223
5212
  type: "danger"
5224
5213
  }, {
5225
- default: o(() => g[33] || (g[33] = [
5226
- cl(" 注意事项:"),
5214
+ default: o(() => [...g[33] || (g[33] = [
5215
+ cl(" 注意事项:", -1),
5227
5216
  V("br", null, null, -1),
5228
- cl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ")
5229
- ])),
5230
- _: 1,
5231
- __: [33]
5217
+ cl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ", -1)
5218
+ ])]),
5219
+ _: 1
5232
5220
  })) : Ue("", !0)
5233
5221
  ]),
5234
5222
  _: 1
@@ -5275,18 +5263,16 @@ const Nl = (l, b) => {
5275
5263
  n(s, { class: "cascader-title-wrapper" }, {
5276
5264
  default: o(() => [
5277
5265
  n(O, { span: 12 }, {
5278
- default: o(() => g[34] || (g[34] = [
5279
- cl("已选选项")
5280
- ])),
5281
- _: 1,
5282
- __: [34]
5266
+ default: o(() => [...g[34] || (g[34] = [
5267
+ cl("已选选项", -1)
5268
+ ])]),
5269
+ _: 1
5283
5270
  }),
5284
5271
  n(O, { span: 12 }, {
5285
- default: o(() => g[35] || (g[35] = [
5286
- cl("同步方式")
5287
- ])),
5288
- _: 1,
5289
- __: [35]
5272
+ default: o(() => [...g[35] || (g[35] = [
5273
+ cl("同步方式", -1)
5274
+ ])]),
5275
+ _: 1
5290
5276
  })
5291
5277
  ]),
5292
5278
  _: 1
@@ -5327,8 +5313,8 @@ const Nl = (l, b) => {
5327
5313
  _: 2
5328
5314
  }, 1032, ["value"]))), 128))
5329
5315
  ]),
5330
- _: 2
5331
- }, 1032, ["model-value", "onUpdate:modelValue"])
5316
+ _: 1
5317
+ }, 8, ["model-value", "onUpdate:modelValue"])
5332
5318
  ]),
5333
5319
  _: 2
5334
5320
  }, 1024)
@@ -5717,20 +5703,20 @@ const os = (l, b = 0) => {
5717
5703
  if (Q.value = !1, t) {
5718
5704
  if ((d = Object.keys(t)) == null || d.forEach((Y) => {
5719
5705
  Y in e && (e[Y] = t[Y]);
5720
- }), !(e != null && e.id)) return Sl.error("获取节点信息出错了");
5706
+ }), !(e != null && e.id)) return _l.error("获取节点信息出错了");
5721
5707
  const A = go(h.value, e == null ? void 0 : e.id, "groupId");
5722
5708
  e.pid = (A == null ? void 0 : A.groupId) || (e == null ? void 0 : e.menuId) || "", Z();
5723
5709
  }
5724
5710
  }, Q = B(!1), Z = async () => {
5725
- var t, d, A, Y, ue, qe, rl, we, se, y, Me, Pe, pe, le, F, Ye, Ge, je, nl, Je, _e, S, ie, Ae, Ie, Qe, H, te, Re;
5711
+ var t, d, A, Y, ue, qe, rl, we, se, y, Me, Pe, pe, le, F, Ye, Ge, je, nl, Je, Se, _, ie, Ae, Ie, Qe, H, te, Re;
5726
5712
  T.value = !0;
5727
5713
  try {
5728
- if (!U.value) return Sl.warning("请先选择所属菜单");
5714
+ if (!U.value) return _l.warning("请先选择所属菜单");
5729
5715
  if (!(e != null && e.id)) return;
5730
5716
  let xe = [], G = [];
5731
5717
  if (Array.isArray(e == null ? void 0 : e.quotes)) {
5732
- const he = (d = (t = e == null ? void 0 : e.quoteWays) == null ? void 0 : t.filter((K) => (K == null ? void 0 : K.value) === "fatherSync")) == null ? void 0 : d.map((K) => K == null ? void 0 : K.key), ae = (Y = (A = e == null ? void 0 : e.quoteWays) == null ? void 0 : A.filter((K) => (K == null ? void 0 : K.value) === "sonSync")) == null ? void 0 : Y.map((K) => K == null ? void 0 : K.key), Se = (qe = (ue = e == null ? void 0 : e.quoteWays) == null ? void 0 : ue.filter((K) => (K == null ? void 0 : K.value) === "bothSync")) == null ? void 0 : qe.map((K) => K == null ? void 0 : K.key);
5733
- xe = (we = (rl = e == null ? void 0 : e.quotes) == null ? void 0 : rl.filter((K) => (he == null ? void 0 : he.includes(K == null ? void 0 : K.join("/"))) || (Se == null ? void 0 : Se.includes(K == null ? void 0 : K.join("/"))))) == null ? void 0 : we.map((K) => {
5718
+ const he = (d = (t = e == null ? void 0 : e.quoteWays) == null ? void 0 : t.filter((K) => (K == null ? void 0 : K.value) === "fatherSync")) == null ? void 0 : d.map((K) => K == null ? void 0 : K.key), ae = (Y = (A = e == null ? void 0 : e.quoteWays) == null ? void 0 : A.filter((K) => (K == null ? void 0 : K.value) === "sonSync")) == null ? void 0 : Y.map((K) => K == null ? void 0 : K.key), _e = (qe = (ue = e == null ? void 0 : e.quoteWays) == null ? void 0 : ue.filter((K) => (K == null ? void 0 : K.value) === "bothSync")) == null ? void 0 : qe.map((K) => K == null ? void 0 : K.key);
5719
+ xe = (we = (rl = e == null ? void 0 : e.quotes) == null ? void 0 : rl.filter((K) => (he == null ? void 0 : he.includes(K == null ? void 0 : K.join("/"))) || (_e == null ? void 0 : _e.includes(K == null ? void 0 : K.join("/"))))) == null ? void 0 : we.map((K) => {
5734
5720
  var ze;
5735
5721
  return {
5736
5722
  menus: K == null ? void 0 : K[0],
@@ -5738,7 +5724,7 @@ const os = (l, b = 0) => {
5738
5724
  groups: (ze = K == null ? void 0 : K[1]) == null ? void 0 : ze.split("/")
5739
5725
  //嵌套特性使用,分割,传值数组
5740
5726
  };
5741
- }), G = (y = (se = e == null ? void 0 : e.quotes) == null ? void 0 : se.filter((K) => (ae == null ? void 0 : ae.includes(K == null ? void 0 : K.join("/"))) || (Se == null ? void 0 : Se.includes(K == null ? void 0 : K.join("/"))))) == null ? void 0 : y.map((K) => {
5727
+ }), G = (y = (se = e == null ? void 0 : e.quotes) == null ? void 0 : se.filter((K) => (ae == null ? void 0 : ae.includes(K == null ? void 0 : K.join("/"))) || (_e == null ? void 0 : _e.includes(K == null ? void 0 : K.join("/"))))) == null ? void 0 : y.map((K) => {
5742
5728
  var ze;
5743
5729
  return {
5744
5730
  menus: K == null ? void 0 : K[0],
@@ -5761,7 +5747,7 @@ const os = (l, b = 0) => {
5761
5747
  filter: {
5762
5748
  fatherSyncs: xe,
5763
5749
  sonSyncs: G,
5764
- quotes: [...xe, ...G].filter((he, ae, Se) => ae === Se.findIndex(
5750
+ quotes: [...xe, ...G].filter((he, ae, _e) => ae === _e.findIndex(
5765
5751
  (K) => K.menus === he.menus && JSON.stringify(K.groups) === JSON.stringify(he.groups)
5766
5752
  ))
5767
5753
  },
@@ -5774,7 +5760,7 @@ const os = (l, b = 0) => {
5774
5760
  const he = Ql(a.value, "id", e == null ? void 0 : e.id);
5775
5761
  if ((le = he == null ? void 0 : he.configInfo) != null && le.id) {
5776
5762
  let ae = "";
5777
- const Se = [
5763
+ const _e = [
5778
5764
  //按照框架需求,根据fatherSyncs和sonSyncs是否有值,往引用里面新增 @QuoteSonSync=No,@QuoteFatherSync=Yes,便于模型导出
5779
5765
  // {
5780
5766
  // key: 'QuoteFatherSync',
@@ -5867,17 +5853,17 @@ const os = (l, b = 0) => {
5867
5853
  //"Tab"...
5868
5854
  value: e == null ? void 0 : e.combineKey
5869
5855
  }
5870
- )), (Je = e == null ? void 0 : e.buttonData) != null && Je.length && ((_e = e == null ? void 0 : e.buttonData) == null || _e.forEach((Oe) => {
5856
+ )), (Je = e == null ? void 0 : e.buttonData) != null && Je.length && ((Se = e == null ? void 0 : e.buttonData) == null || Se.forEach((Oe) => {
5871
5857
  var ne;
5872
5858
  Oe != null && Oe.key && (K == null || K.push({
5873
5859
  key: "Button",
5874
5860
  value: `((${Oe == null ? void 0 : Oe.value}),${(ne = Oe == null ? void 0 : Oe.key) == null ? void 0 : ne.join(",")})`,
5875
5861
  allowRepeat: !0
5876
5862
  }));
5877
- })), Se.push(...K);
5878
- let ze = Se == null ? void 0 : Se.reduce((Oe, ne) => ne != null && ne.value ? mt(Oe, ne == null ? void 0 : ne.key, ne == null ? void 0 : ne.value, ne == null ? void 0 : ne.allowRepeat) : Oe, ae);
5863
+ })), _e.push(...K);
5864
+ let ze = _e == null ? void 0 : _e.reduce((Oe, ne) => ne != null && ne.value ? mt(Oe, ne == null ? void 0 : ne.key, ne == null ? void 0 : ne.value, ne == null ? void 0 : ne.allowRepeat) : Oe, ae);
5879
5865
  if (e != null && e.filterProp) {
5880
- const Oe = (S = e == null ? void 0 : e.dataSource) == null ? void 0 : S.split("/"), ne = "$" + ((ie = Oe == null ? void 0 : Oe.slice(0, -1)) == null ? void 0 : ie.join("$")), bl = Oe == null ? void 0 : Oe[(Oe == null ? void 0 : Oe.length) - 1], tl = (Ae = e == null ? void 0 : e.applyEle) == null ? void 0 : Ae.split("/"), Ml = "$" + ((Ie = tl == null ? void 0 : tl.slice(0, -1)) == null ? void 0 : Ie.join("$")), Il = tl == null ? void 0 : tl[(tl == null ? void 0 : tl.length) - 1], Ke = `(*${e == null ? void 0 : e.name}:${e == null ? void 0 : e.filterProp}=${ne}:{${bl}}${Ml}:${Il})`;
5866
+ const Oe = (_ = e == null ? void 0 : e.dataSource) == null ? void 0 : _.split("/"), ne = "$" + ((ie = Oe == null ? void 0 : Oe.slice(0, -1)) == null ? void 0 : ie.join("$")), bl = Oe == null ? void 0 : Oe[(Oe == null ? void 0 : Oe.length) - 1], tl = (Ae = e == null ? void 0 : e.applyEle) == null ? void 0 : Ae.split("/"), Ml = "$" + ((Ie = tl == null ? void 0 : tl.slice(0, -1)) == null ? void 0 : Ie.join("$")), Il = tl == null ? void 0 : tl[(tl == null ? void 0 : tl.length) - 1], Ke = `(*${e == null ? void 0 : e.name}:${e == null ? void 0 : e.filterProp}=${ne}:{${bl}}${Ml}:${Il})`;
5881
5867
  ze = `(${(ze == null ? void 0 : ze.slice(1, -1)) + ",If" + Ke})`;
5882
5868
  }
5883
5869
  if (console.log("resConfigs", ze), e != null && e.linkSource && (console.log("链接自定义", ze, e == null ? void 0 : e.linkSource), ze = (e == null ? void 0 : e.linkSource) + ze), q.push(ja({
@@ -5927,7 +5913,7 @@ const os = (l, b = 0) => {
5927
5913
  }) && (a.value = (Re = a.value) == null ? void 0 : Re.map((he) => (he == null ? void 0 : he.id) === (e == null ? void 0 : e.id) ? {
5928
5914
  ...he,
5929
5915
  name: e == null ? void 0 : e.name
5930
- } : he), Q.value = !0, Sl.success("修改成功"));
5916
+ } : he), Q.value = !0, _l.success("修改成功"));
5931
5917
  } catch (xe) {
5932
5918
  throw new Error(xe);
5933
5919
  } finally {
@@ -5966,7 +5952,7 @@ const os = (l, b = 0) => {
5966
5952
  var t, d, A, Y, ue, qe, rl, we, se, y;
5967
5953
  Q.value = !1, T.value = !0;
5968
5954
  try {
5969
- if (!i.groupId || !i.groupType) return Sl.error("特性信息获取出错了");
5955
+ if (!i.groupId || !i.groupType) return _l.error("特性信息获取出错了");
5970
5956
  const Me = Ql(a.value, "id", i.groupId), Pe = wl(Me), pe = {
5971
5957
  groups: i != null && i.related ? [(t = i == null ? void 0 : i.related) == null ? void 0 : t[1]] : [],
5972
5958
  menus: i != null && i.related ? (A = (d = i == null ? void 0 : i.related) == null ? void 0 : d[0]) == null ? void 0 : A.split("/") : [],
@@ -5979,9 +5965,9 @@ const os = (l, b = 0) => {
5979
5965
  if (i != null && i.parentProp) {
5980
5966
  const nl = Ql(Pe == null ? void 0 : Pe.data, "id", i == null ? void 0 : i.parentProp);
5981
5967
  if (nl && ((ue = nl == null ? void 0 : nl.children) != null && ue.length)) {
5982
- const Je = (qe = nl.children) == null ? void 0 : qe.filter((_e) => {
5983
- var S;
5984
- return !((S = String(_e == null ? void 0 : _e.id)) != null && S.includes("new"));
5968
+ const Je = (qe = nl.children) == null ? void 0 : qe.filter((Se) => {
5969
+ var _;
5970
+ return !((_ = String(Se == null ? void 0 : Se.id)) != null && _.includes("new"));
5985
5971
  });
5986
5972
  nl.children = [...Je, {
5987
5973
  prop: i.parentProp ? i.parentProp + "." + le : le,
@@ -6007,8 +5993,8 @@ const os = (l, b = 0) => {
6007
5993
  F = Pe == null ? void 0 : Pe.data;
6008
5994
  } else {
6009
5995
  const nl = (rl = Pe == null ? void 0 : Pe.data) == null ? void 0 : rl.filter((Je) => {
6010
- var _e;
6011
- return !((_e = String(Je == null ? void 0 : Je.id)) != null && _e.includes("new"));
5996
+ var Se;
5997
+ return !((Se = String(Je == null ? void 0 : Je.id)) != null && Se.includes("new"));
6012
5998
  });
6013
5999
  F = [...nl == null ? void 0 : nl.map((Je) => ({
6014
6000
  ...Je,
@@ -6032,7 +6018,7 @@ const os = (l, b = 0) => {
6032
6018
  tableColumns: C != null && C.hasMultiHeader ? [Ye] : Ye,
6033
6019
  quoteFilter: ""
6034
6020
  }, je = await ct("save", Ge);
6035
- ((we = je == null ? void 0 : je.data) == null ? void 0 : we.code) === 200 && (Me.data = Pe.data, Q.value = !0, Sl.success("新增成功"));
6021
+ ((we = je == null ? void 0 : je.data) == null ? void 0 : we.code) === 200 && (Me.data = Pe.data, Q.value = !0, _l.success("新增成功"));
6036
6022
  } else {
6037
6023
  if (!W.value) return;
6038
6024
  const le = Ql(Pe == null ? void 0 : Pe.data, "id", i == null ? void 0 : i.id);
@@ -6047,7 +6033,7 @@ const os = (l, b = 0) => {
6047
6033
  tableColumns: C != null && C.hasMultiHeader ? [F] : F,
6048
6034
  quoteFilter: ""
6049
6035
  }, Ge = await ct("save", Ye);
6050
- ((y = Ge == null ? void 0 : Ge.data) == null ? void 0 : y.code) === 200 && (Me.data = Pe == null ? void 0 : Pe.data, Q.value = !0, Sl.success("编辑成功"));
6036
+ ((y = Ge == null ? void 0 : Ge.data) == null ? void 0 : y.code) === 200 && (Me.data = Pe == null ? void 0 : Pe.data, Q.value = !0, _l.success("编辑成功"));
6051
6037
  }
6052
6038
  } catch (Me) {
6053
6039
  throw new Error(Me);
@@ -6088,12 +6074,12 @@ const os = (l, b = 0) => {
6088
6074
  if ($e.value = (ue = (Y = F == null ? void 0 : F.data) == null ? void 0 : Y.result) == null ? void 0 : ue.includes("错误"), ((qe = F == null ? void 0 : F.data) == null ? void 0 : qe.code) === 200 && !((we = (rl = F == null ? void 0 : F.data) == null ? void 0 : rl.result) != null && we.includes("错误"))) {
6089
6075
  const Ye = wl((se = F == null ? void 0 : F.data) == null ? void 0 : se.result);
6090
6076
  Me = (y = Ye == null ? void 0 : Ye.flatMap((je) => je)) == null ? void 0 : y.map((je) => {
6091
- var S, ie, Ae, Ie, Qe, H, te, Re, xe;
6092
- const nl = Array.isArray((ie = (S = je == null ? void 0 : je.结构) == null ? void 0 : S.contents) == null ? void 0 : ie[0]), Je = (Ie = (Ae = je == null ? void 0 : je.source_table) == null ? void 0 : Ae.split("_")) == null ? void 0 : Ie[1], _e = Ql((Qe = Pe == null ? void 0 : Pe.data) == null ? void 0 : Qe.result, "object_id", Je);
6077
+ var _, ie, Ae, Ie, Qe, H, te, Re, xe;
6078
+ const nl = Array.isArray((ie = (_ = je == null ? void 0 : je.结构) == null ? void 0 : _.contents) == null ? void 0 : ie[0]), Je = (Ie = (Ae = je == null ? void 0 : je.source_table) == null ? void 0 : Ae.split("_")) == null ? void 0 : Ie[1], Se = Ql((Qe = Pe == null ? void 0 : Pe.data) == null ? void 0 : Qe.result, "object_id", Je);
6093
6079
  return {
6094
- name: _e == null ? void 0 : _e.name,
6095
- object_name: _e == null ? void 0 : _e.object_name,
6096
- property_name: _e == null ? void 0 : _e.property_name,
6080
+ name: Se == null ? void 0 : Se.name,
6081
+ object_name: Se == null ? void 0 : Se.object_name,
6082
+ property_name: Se == null ? void 0 : Se.property_name,
6097
6083
  children: (xe = nl ? (te = (H = je == null ? void 0 : je.结构) == null ? void 0 : H.contents) == null ? void 0 : te.flatMap((G) => G) : (Re = je == null ? void 0 : je.结构) == null ? void 0 : Re.contents) == null ? void 0 : xe.filter((G) => !(pt != null && pt.includes(G == null ? void 0 : G.prop)))
6098
6084
  };
6099
6085
  }), ke.value = Bn(Me);
@@ -6158,7 +6144,7 @@ const os = (l, b = 0) => {
6158
6144
  tableColumns: Me == null ? void 0 : Me.data,
6159
6145
  quoteFilter: ""
6160
6146
  }, le = await ct("save", pe);
6161
- ((Ge = le == null ? void 0 : le.data) == null ? void 0 : Ge.code) === 200 && (y.data = Me.data, Q.value = !0, Sl.success("删除成功"));
6147
+ ((Ge = le == null ? void 0 : le.data) == null ? void 0 : Ge.code) === 200 && (y.data = Me.data, Q.value = !0, _l.success("删除成功"));
6162
6148
  });
6163
6149
  break;
6164
6150
  }
@@ -6190,9 +6176,9 @@ const os = (l, b = 0) => {
6190
6176
  ]
6191
6177
  }, Ne = B(!1), al = () => {
6192
6178
  var t;
6193
- (t = We.value) == null || t.validate((d) => {
6179
+ (t = We.value) == null || t.validate(((d) => {
6194
6180
  Ne.value = d;
6195
- });
6181
+ }));
6196
6182
  }, Ze = () => {
6197
6183
  g.show = !1, Ce();
6198
6184
  }, a = B([]), p = ml(() => {
@@ -6202,7 +6188,7 @@ const os = (l, b = 0) => {
6202
6188
  // data: item?.data?.filter((child: any) => !hiddenProps?.includes(child?.prop || child?.label))
6203
6189
  data: d == null ? void 0 : d.data
6204
6190
  }));
6205
- }), h = B([]), _ = (t) => {
6191
+ }), h = B([]), S = (t) => {
6206
6192
  h.value = t;
6207
6193
  }, W = B(null), de = B(""), O = (t) => {
6208
6194
  var A, Y, ue, qe, rl, we;
@@ -6243,7 +6229,7 @@ const os = (l, b = 0) => {
6243
6229
  platId: Number(sessionStorage.getItem("systemKey")),
6244
6230
  objectId: d == null ? void 0 : d.id
6245
6231
  });
6246
- ((Y = A == null ? void 0 : A.data) == null ? void 0 : Y.code) === 200 && (a.value = (ue = a.value) == null ? void 0 : ue.filter((qe) => (qe == null ? void 0 : qe.id) !== (d == null ? void 0 : d.id)), Sl.success("删除成功"), Q.value = !0);
6232
+ ((Y = A == null ? void 0 : A.data) == null ? void 0 : Y.code) === 200 && (a.value = (ue = a.value) == null ? void 0 : ue.filter((qe) => (qe == null ? void 0 : qe.id) !== (d == null ? void 0 : d.id)), _l.success("删除成功"), Q.value = !0);
6247
6233
  });
6248
6234
  } catch (d) {
6249
6235
  throw new Error(d);
@@ -6322,7 +6308,7 @@ const os = (l, b = 0) => {
6322
6308
  ref_key: "hMenuInputRef",
6323
6309
  ref: Cl,
6324
6310
  modelValue: Te.title,
6325
- "onUpdate:modelValue": d[1] || (d[1] = (_e) => Te.title = _e),
6311
+ "onUpdate:modelValue": d[1] || (d[1] = (Se) => Te.title = Se),
6326
6312
  placeholder: "请输入",
6327
6313
  style: { "min-width": "200px" },
6328
6314
  onChange: al
@@ -6330,25 +6316,25 @@ const os = (l, b = 0) => {
6330
6316
  prepend: o(() => [
6331
6317
  n(Rt, {
6332
6318
  modelValue: Te.icon,
6333
- "onUpdate:modelValue": d[0] || (d[0] = (_e) => Te.icon = _e),
6319
+ "onUpdate:modelValue": d[0] || (d[0] = (Se) => Te.icon = Se),
6334
6320
  placeholder: "菜单图标",
6335
6321
  style: { width: "200px" },
6336
6322
  type: "all"
6337
6323
  }, null, 8, ["modelValue"])
6338
6324
  ]),
6339
6325
  append: o(() => {
6340
- var _e, S;
6326
+ var Se, _;
6341
6327
  return [
6342
6328
  V("span", dc, [
6343
6329
  n(Tl, {
6344
- style: Dl({ color: (_e = Te.title) != null && _e.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
6330
+ style: Dl({ color: (Se = Te.title) != null && Se.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
6345
6331
  name: "softConfirm",
6346
6332
  onClick: Ul(al, ["stop"])
6347
6333
  }, null, 8, ["style"])
6348
6334
  ]),
6349
6335
  V("span", pc, [
6350
6336
  n(Tl, {
6351
- style: Dl({ color: (S = Te.title) != null && S.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
6337
+ style: Dl({ color: (_ = Te.title) != null && _.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
6352
6338
  name: "softCancel",
6353
6339
  onClick: Ul(Ze, ["stop"])
6354
6340
  }, null, 8, ["style"])
@@ -6396,7 +6382,7 @@ const os = (l, b = 0) => {
6396
6382
  isRefreshGroups: Q.value,
6397
6383
  mode: "vertical",
6398
6384
  onGetCompForm: ce,
6399
- onGetGroupOptions: _,
6385
+ onGetGroupOptions: S,
6400
6386
  onGetIsRefresh: N,
6401
6387
  onGetPageStructure: O
6402
6388
  }, null, 8, ["isRefreshGroups"])
@@ -6408,11 +6394,11 @@ const os = (l, b = 0) => {
6408
6394
  V("div", hc, [
6409
6395
  n(y, { "separator-icon": c(On) }, {
6410
6396
  default: o(() => {
6411
- var _e;
6397
+ var Se;
6412
6398
  return [
6413
- (f(!0), $(ll, null, dl((_e = c(U)) == null ? void 0 : _e.split("/"), (S) => (f(), ye(se, { key: S }, {
6399
+ (f(!0), $(ll, null, dl((Se = c(U)) == null ? void 0 : Se.split("/"), (_) => (f(), ye(se, { key: _ }, {
6414
6400
  default: o(() => [
6415
- cl(ol(S), 1)
6401
+ cl(ol(_), 1)
6416
6402
  ]),
6417
6403
  _: 2
6418
6404
  }, 1024))), 128))
@@ -6459,21 +6445,19 @@ const os = (l, b = 0) => {
6459
6445
  footer: o(() => [
6460
6446
  V("div", gc, [
6461
6447
  n(nl, { onClick: L }, {
6462
- default: o(() => d[13] || (d[13] = [
6463
- cl("取消")
6464
- ])),
6465
- _: 1,
6466
- __: [13]
6448
+ default: o(() => [...d[13] || (d[13] = [
6449
+ cl("取消", -1)
6450
+ ])]),
6451
+ _: 1
6467
6452
  }),
6468
6453
  n(nl, {
6469
6454
  type: "primary",
6470
6455
  onClick: be
6471
6456
  }, {
6472
- default: o(() => d[14] || (d[14] = [
6473
- cl("确认")
6474
- ])),
6475
- _: 1,
6476
- __: [14]
6457
+ default: o(() => [...d[14] || (d[14] = [
6458
+ cl("确认", -1)
6459
+ ])]),
6460
+ _: 1
6477
6461
  })
6478
6462
  ])
6479
6463
  ]),
@@ -6494,7 +6478,7 @@ const os = (l, b = 0) => {
6494
6478
  default: o(() => [
6495
6479
  n(le, {
6496
6480
  modelValue: i.parentProp,
6497
- "onUpdate:modelValue": d[2] || (d[2] = (_e) => i.parentProp = _e),
6481
+ "onUpdate:modelValue": d[2] || (d[2] = (Se) => i.parentProp = Se),
6498
6482
  options: Be.value,
6499
6483
  props: { checkStrictly: !0, emitPath: !1 },
6500
6484
  clearable: "",
@@ -6510,7 +6494,7 @@ const os = (l, b = 0) => {
6510
6494
  default: o(() => [
6511
6495
  n(Y, {
6512
6496
  modelValue: i.label,
6513
- "onUpdate:modelValue": d[3] || (d[3] = (_e) => i.label = _e),
6497
+ "onUpdate:modelValue": d[3] || (d[3] = (Se) => i.label = Se),
6514
6498
  clearable: "",
6515
6499
  placeholder: "请输入"
6516
6500
  }, null, 8, ["modelValue"])
@@ -6524,7 +6508,7 @@ const os = (l, b = 0) => {
6524
6508
  default: o(() => [
6525
6509
  n(Y, {
6526
6510
  modelValue: i.prop,
6527
- "onUpdate:modelValue": d[4] || (d[4] = (_e) => i.prop = _e),
6511
+ "onUpdate:modelValue": d[4] || (d[4] = (Se) => i.prop = Se),
6528
6512
  disabled: C.type === "update",
6529
6513
  placeholder: "请输入"
6530
6514
  }, null, 8, ["modelValue", "disabled"])
@@ -6538,22 +6522,20 @@ const os = (l, b = 0) => {
6538
6522
  default: o(() => [
6539
6523
  n(Ye, {
6540
6524
  modelValue: i.mainKey,
6541
- "onUpdate:modelValue": d[5] || (d[5] = (_e) => i.mainKey = _e)
6525
+ "onUpdate:modelValue": d[5] || (d[5] = (Se) => i.mainKey = Se)
6542
6526
  }, {
6543
6527
  default: o(() => [
6544
6528
  n(F, { value: !0 }, {
6545
- default: o(() => d[11] || (d[11] = [
6546
- cl("是")
6547
- ])),
6548
- _: 1,
6549
- __: [11]
6529
+ default: o(() => [...d[11] || (d[11] = [
6530
+ cl("是", -1)
6531
+ ])]),
6532
+ _: 1
6550
6533
  }),
6551
6534
  n(F, { value: !1 }, {
6552
- default: o(() => d[12] || (d[12] = [
6553
- cl("否")
6554
- ])),
6555
- _: 1,
6556
- __: [12]
6535
+ default: o(() => [...d[12] || (d[12] = [
6536
+ cl("否", -1)
6537
+ ])]),
6538
+ _: 1
6557
6539
  })
6558
6540
  ]),
6559
6541
  _: 1
@@ -6568,14 +6550,14 @@ const os = (l, b = 0) => {
6568
6550
  default: o(() => [
6569
6551
  n(je, {
6570
6552
  modelValue: i.propType,
6571
- "onUpdate:modelValue": d[6] || (d[6] = (_e) => i.propType = _e),
6553
+ "onUpdate:modelValue": d[6] || (d[6] = (Se) => i.propType = Se),
6572
6554
  clearable: ""
6573
6555
  }, {
6574
6556
  default: o(() => [
6575
- (f(!0), $(ll, null, dl(c(ac), (_e) => (f(), ye(Ge, {
6576
- key: _e.value,
6577
- label: _e.label,
6578
- value: _e.value
6557
+ (f(!0), $(ll, null, dl(c(ac), (Se) => (f(), ye(Ge, {
6558
+ key: Se.value,
6559
+ label: Se.label,
6560
+ value: Se.value
6579
6561
  }, null, 8, ["label", "value"]))), 128))
6580
6562
  ]),
6581
6563
  _: 1
@@ -6590,14 +6572,14 @@ const os = (l, b = 0) => {
6590
6572
  default: o(() => [
6591
6573
  n(je, {
6592
6574
  modelValue: i.compType,
6593
- "onUpdate:modelValue": d[7] || (d[7] = (_e) => i.compType = _e),
6575
+ "onUpdate:modelValue": d[7] || (d[7] = (Se) => i.compType = Se),
6594
6576
  clearable: ""
6595
6577
  }, {
6596
6578
  default: o(() => [
6597
- (f(!0), $(ll, null, dl(c(tc), (_e) => (f(), ye(Ge, {
6598
- key: _e.value,
6599
- label: _e.label,
6600
- value: _e.value
6579
+ (f(!0), $(ll, null, dl(c(tc), (Se) => (f(), ye(Ge, {
6580
+ key: Se.value,
6581
+ label: Se.label,
6582
+ value: Se.value
6601
6583
  }, null, 8, ["label", "value"]))), 128))
6602
6584
  ]),
6603
6585
  _: 1
@@ -6612,7 +6594,7 @@ const os = (l, b = 0) => {
6612
6594
  default: o(() => [
6613
6595
  n(Y, {
6614
6596
  modelValue: i.defaultValue,
6615
- "onUpdate:modelValue": d[8] || (d[8] = (_e) => i.defaultValue = _e),
6597
+ "onUpdate:modelValue": d[8] || (d[8] = (Se) => i.defaultValue = Se),
6616
6598
  placeholder: i.compType === "Select" ? "请输入选项,以/分割" : "请输入",
6617
6599
  clearable: "",
6618
6600
  onChange: pl
@@ -6627,15 +6609,15 @@ const os = (l, b = 0) => {
6627
6609
  default: o(() => [
6628
6610
  n(Ye, {
6629
6611
  modelValue: i.view,
6630
- "onUpdate:modelValue": d[9] || (d[9] = (_e) => i.view = _e)
6612
+ "onUpdate:modelValue": d[9] || (d[9] = (Se) => i.view = Se)
6631
6613
  }, {
6632
6614
  default: o(() => [
6633
- (f(!0), $(ll, null, dl(c(ss), (_e) => (f(), ye(F, {
6634
- key: _e == null ? void 0 : _e.value,
6635
- value: _e == null ? void 0 : _e.value
6615
+ (f(!0), $(ll, null, dl(c(ss), (Se) => (f(), ye(F, {
6616
+ key: Se == null ? void 0 : Se.value,
6617
+ value: Se == null ? void 0 : Se.value
6636
6618
  }, {
6637
6619
  default: o(() => [
6638
- cl(ol(_e == null ? void 0 : _e.label), 1)
6620
+ cl(ol(Se == null ? void 0 : Se.label), 1)
6639
6621
  ]),
6640
6622
  _: 2
6641
6623
  }, 1032, ["value"]))), 128))
@@ -6653,7 +6635,7 @@ const os = (l, b = 0) => {
6653
6635
  default: o(() => [
6654
6636
  n(le, {
6655
6637
  modelValue: i.related,
6656
- "onUpdate:modelValue": d[10] || (d[10] = (_e) => i.related = _e),
6638
+ "onUpdate:modelValue": d[10] || (d[10] = (Se) => i.related = Se),
6657
6639
  options: ke.value,
6658
6640
  props: {
6659
6641
  multiple: !1,
@@ -6700,7 +6682,7 @@ function rs(l = "menu") {
6700
6682
  name: l,
6701
6683
  components: {
6702
6684
  SvgIcon: Tl,
6703
- ssMenu: St,
6685
+ ssMenu: _t,
6704
6686
  DynamicIcon: Wa,
6705
6687
  ssDialog: la,
6706
6688
  ssInput: Un
@@ -6727,17 +6709,17 @@ function rs(l = "menu") {
6727
6709
  operateType: "修改菜单名",
6728
6710
  operateIcon: "FixedMenu"
6729
6711
  }
6730
- ]), U = jl(), I = Zl(yl), x = zl(yl), { loginUserInfo: R } = hl(x), D = B(0), ce = _a(), e = B(), { asideMenus: E, menuTriggerType: T, platform: P, jumpMenuInform: u } = hl(U), { fixMenuStatus: oe } = hl(I), { isSuperAdmin: Q } = Gn(), Z = ml(() => v == null ? void 0 : v.mode), w = (a) => a == null ? void 0 : a.map((h) => {
6731
- var _, W;
6732
- return !(h != null && h.children) || ((_ = h == null ? void 0 : h.children) == null ? void 0 : _.length) === 0 ? h.config = M.value : h != null && h.children && ((W = h == null ? void 0 : h.children) == null ? void 0 : W.length) > 0 && (h.children = w(h.children)), h;
6712
+ ]), U = jl(), I = Zl(yl), x = zl(yl), { loginUserInfo: R } = hl(x), D = B(0), ce = Sa(), e = B(), { asideMenus: E, menuTriggerType: T, platform: P, jumpMenuInform: u } = hl(U), { fixMenuStatus: oe } = hl(I), { isSuperAdmin: Q } = Gn(), Z = ml(() => v == null ? void 0 : v.mode), w = (a) => a == null ? void 0 : a.map((h) => {
6713
+ var S, W;
6714
+ return !(h != null && h.children) || ((S = h == null ? void 0 : h.children) == null ? void 0 : S.length) === 0 ? h.config = M.value : h != null && h.children && ((W = h == null ? void 0 : h.children) == null ? void 0 : W.length) > 0 && (h.children = w(h.children)), h;
6733
6715
  }), C = ml(() => {
6734
6716
  let a = [...E.value];
6735
6717
  if ((a == null ? void 0 : a.length) === 0)
6736
6718
  return ce.push("/"), [];
6737
6719
  const p = be(a, J.value);
6738
6720
  return p.isFlag || (a = p == null ? void 0 : p.data), a = a == null ? void 0 : a.map((h) => {
6739
- var _, W;
6740
- return !(h != null && h.children) || ((_ = h == null ? void 0 : h.children) == null ? void 0 : _.length) === 0 ? h.config = M.value : h != null && h.children && ((W = h == null ? void 0 : h.children) == null ? void 0 : W.length) > 0 && (h.children = w(h.children)), h;
6721
+ var S, W;
6722
+ return !(h != null && h.children) || ((S = h == null ? void 0 : h.children) == null ? void 0 : S.length) === 0 ? h.config = M.value : h != null && h.children && ((W = h == null ? void 0 : h.children) == null ? void 0 : W.length) > 0 && (h.children = w(h.children)), h;
6741
6723
  }), a;
6742
6724
  }), i = async (a, p) => {
6743
6725
  I.setRouteToChildPath(""), U.setMenuTriggerType("click"), U.setActiveMenuPath(a == null ? void 0 : a.path), U.setActiveAsideMenu(a), a.isRouter ? ce.push(a.path) : ce.push("/"), r("node-click", a, p);
@@ -6788,12 +6770,12 @@ function rs(l = "menu") {
6788
6770
  data: a
6789
6771
  }), U.setIsRefreshMenus(!0);
6790
6772
  }, Cl = async (a, p, h) => {
6791
- var _, W, de, O, s, k, N, X, t, d, A, Y, ue, qe, rl, we, se, y, Me, Pe, pe, le, F, Ye, Ge, je, nl;
6773
+ var S, W, de, O, s, k, N, X, t, d, A, Y, ue, qe, rl, we, se, y, Me, Pe, pe, le, F, Ye, Ge, je, nl;
6792
6774
  if (p === "create") {
6793
- let Je = (h == null ? void 0 : h.title) + "(1)", _e = (W = (_ = h == null ? void 0 : h.path) == null ? void 0 : _.split("/")) == null ? void 0 : W.filter((ie, Ae) => {
6775
+ let Je = (h == null ? void 0 : h.title) + "(1)", Se = (W = (S = h == null ? void 0 : h.path) == null ? void 0 : S.split("/")) == null ? void 0 : W.filter((ie, Ae) => {
6794
6776
  var Ie, Qe;
6795
6777
  return Ae !== ((Qe = (Ie = h == null ? void 0 : h.path) == null ? void 0 : Ie.split("/")) == null ? void 0 : Qe.length) - 1;
6796
- }), S = await ta(
6778
+ }), _ = await ta(
6797
6779
  (s = (O = (de = h == null ? void 0 : h.path) == null ? void 0 : de.split("/")) == null ? void 0 : O.filter((ie, Ae) => {
6798
6780
  var Ie, Qe;
6799
6781
  return Ae !== ((Qe = (Ie = h == null ? void 0 : h.path) == null ? void 0 : Ie.split("/")) == null ? void 0 : Qe.length) - 1;
@@ -6801,8 +6783,8 @@ function rs(l = "menu") {
6801
6783
  sessionStorage.getItem("systemKey"),
6802
6784
  ""
6803
6785
  );
6804
- if (_e.push(Je), _e = _e == null ? void 0 : _e.join("/"), (S == null ? void 0 : S.length) > 0) {
6805
- let ie = S == null ? void 0 : S[0], Ae = (N = (k = ie == null ? void 0 : ie.compData) == null ? void 0 : k.find((Ie) => (Ie == null ? void 0 : Ie.key) === "header")) == null ? void 0 : N.contents;
6786
+ if (Se.push(Je), Se = Se == null ? void 0 : Se.join("/"), (_ == null ? void 0 : _.length) > 0) {
6787
+ let ie = _ == null ? void 0 : _[0], Ae = (N = (k = ie == null ? void 0 : ie.compData) == null ? void 0 : k.find((Ie) => (Ie == null ? void 0 : Ie.key) === "header")) == null ? void 0 : N.contents;
6806
6788
  if (((X = Ae == null ? void 0 : Ae[0]) == null ? void 0 : X.directiveLabel) === "#isMain") {
6807
6789
  let Ie = (t = Ae == null ? void 0 : Ae[0]) == null ? void 0 : t.prop, Qe = (A = (d = ie == null ? void 0 : ie.compData) == null ? void 0 : d.find(
6808
6790
  (te) => (te == null ? void 0 : te.key) === "tableContents"
@@ -6833,7 +6815,7 @@ function rs(l = "menu") {
6833
6815
  });
6834
6816
  }
6835
6817
  }
6836
- await Ws(h == null ? void 0 : h.path, _e), U.setUpdateMenuStatus(!1), await Oa(), U.setActiveMenuPath(
6818
+ await Ws(h == null ? void 0 : h.path, Se), U.setUpdateMenuStatus(!1), await Oa(), U.setActiveMenuPath(
6837
6819
  (Pe = (Me = (y = h == null ? void 0 : h.path) == null ? void 0 : y.split("/")) == null ? void 0 : Me.filter((ie, Ae) => {
6838
6820
  var Ie, Qe;
6839
6821
  return Ae !== ((Qe = (Ie = h == null ? void 0 : h.path) == null ? void 0 : Ie.split("/")) == null ? void 0 : Qe.length) - 1;
@@ -6846,25 +6828,25 @@ function rs(l = "menu") {
6846
6828
  (Je == null ? void 0 : Je.length) > 0 && await Rs({
6847
6829
  ids: Je
6848
6830
  }), U.setUpdateMenuStatus(!1), await Oa(), U.setActiveMenuPath(
6849
- (Ge = (Ye = (F = h == null ? void 0 : h.path) == null ? void 0 : F.split("/")) == null ? void 0 : Ye.filter((_e, S) => {
6831
+ (Ge = (Ye = (F = h == null ? void 0 : h.path) == null ? void 0 : F.split("/")) == null ? void 0 : Ye.filter((Se, _) => {
6850
6832
  var ie, Ae;
6851
- return S !== ((Ae = (ie = h == null ? void 0 : h.path) == null ? void 0 : ie.split("/")) == null ? void 0 : Ae.length) - 1;
6833
+ return _ !== ((Ae = (ie = h == null ? void 0 : h.path) == null ? void 0 : ie.split("/")) == null ? void 0 : Ae.length) - 1;
6852
6834
  })) == null ? void 0 : Ge.join("/")
6853
6835
  ), U.setActiveTopMenuPath((nl = (je = h == null ? void 0 : h.path) == null ? void 0 : je.split("/")) == null ? void 0 : nl[0]), U.setIsRefreshMenus(!1), U.setIsRefreshMenus(!0);
6854
6836
  }
6855
6837
  }, ve = async (a, p) => {
6856
- var X, t, d, A, Y, ue, qe, rl, we, se, y, Me, Pe, pe, le, F, Ye, Ge, je, nl, Je, _e, S, ie, Ae, Ie, Qe, H, te, Re, xe;
6838
+ var X, t, d, A, Y, ue, qe, rl, we, se, y, Me, Pe, pe, le, F, Ye, Ge, je, nl, Je, Se, _, ie, Ae, Ie, Qe, H, te, Re, xe;
6857
6839
  let h = await bn({
6858
6840
  key: {
6859
6841
  systemKey: sessionStorage.getItem("systemKey"),
6860
6842
  pageKey: "menu"
6861
6843
  }
6862
- }), _ = (t = (X = h == null ? void 0 : h.data) == null ? void 0 : X.result) == null ? void 0 : t[0], W = (d = _ == null ? void 0 : _.value) == null ? void 0 : d.pageData;
6844
+ }), S = (t = (X = h == null ? void 0 : h.data) == null ? void 0 : X.result) == null ? void 0 : t[0], W = (d = S == null ? void 0 : S.value) == null ? void 0 : d.pageData;
6863
6845
  W.compData = (A = W.compData) == null ? void 0 : A.map((G) => {
6864
6846
  var j, q;
6865
6847
  return (G == null ? void 0 : G.key) === "menuContents" && (G.contents = is(G.contents, (j = p == null ? void 0 : p.path) == null ? void 0 : j.split("/"), p == null ? void 0 : p.title, (q = a == null ? void 0 : a.target) == null ? void 0 : q.value)), G;
6866
- }), _ != null && _.id && await jn({
6867
- id: _ == null ? void 0 : _.id,
6848
+ }), S != null && S.id && await jn({
6849
+ id: S == null ? void 0 : S.id,
6868
6850
  value: {
6869
6851
  pageData: W
6870
6852
  }
@@ -6878,7 +6860,7 @@ function rs(l = "menu") {
6878
6860
  if (((Me = (y = (se = (we = (rl = s == null ? void 0 : s[0]) == null ? void 0 : rl.compData) == null ? void 0 : we.find((G) => (G == null ? void 0 : G.key) === "header")) == null ? void 0 : se.contents) == null ? void 0 : y[0]) == null ? void 0 : Me.directiveLabel) === "#isMain") {
6879
6861
  let G = (Ye = (F = (le = (pe = (Pe = s == null ? void 0 : s[0]) == null ? void 0 : Pe.compData) == null ? void 0 : pe.find((re) => (re == null ? void 0 : re.key) === "header")) == null ? void 0 : le.contents) == null ? void 0 : F[0]) == null ? void 0 : Ye.prop, j = (nl = (je = (Ge = s == null ? void 0 : s[0]) == null ? void 0 : Ge.compData) == null ? void 0 : je.find(
6880
6862
  (re) => (re == null ? void 0 : re.key) === "tableContents"
6881
- )) == null ? void 0 : nl.contents, q = (ie = (S = (_e = (Je = s == null ? void 0 : s[0]) == null ? void 0 : Je.compData) == null ? void 0 : _e.find((re) => (re == null ? void 0 : re.key) === "header")) == null ? void 0 : S.contents) == null ? void 0 : ie.map((re) => re == null ? void 0 : re.prop), m;
6863
+ )) == null ? void 0 : nl.contents, q = (ie = (_ = (Se = (Je = s == null ? void 0 : s[0]) == null ? void 0 : Je.compData) == null ? void 0 : Se.find((re) => (re == null ? void 0 : re.key) === "header")) == null ? void 0 : _.contents) == null ? void 0 : ie.map((re) => re == null ? void 0 : re.prop), m;
6882
6864
  if (j == null || j.forEach((re) => {
6883
6865
  var ae;
6884
6866
  let he = Ka(re, q);
@@ -6922,9 +6904,9 @@ function rs(l = "menu") {
6922
6904
  }, We = () => {
6923
6905
  z.show = !1;
6924
6906
  }, Ce = (a) => a == null ? void 0 : a.filter((p) => p.allowInherit), Te = () => {
6925
- var h, _, W, de, O;
6907
+ var h, S, W, de, O;
6926
6908
  let a;
6927
- z.type === "create" && (a = ((h = il.value) == null ? void 0 : h.path) + "/" + $e.value[(_ = $e.value) == null ? void 0 : _.prop]), z.type === "update" && (a = (W = il.value) == null ? void 0 : W.path);
6909
+ z.type === "create" && (a = ((h = il.value) == null ? void 0 : h.path) + "/" + $e.value[(S = $e.value) == null ? void 0 : S.prop]), z.type === "update" && (a = (W = il.value) == null ? void 0 : W.path);
6928
6910
  const p = {
6929
6911
  ...il.value,
6930
6912
  //是否继承父菜单的配置
@@ -6936,9 +6918,9 @@ function rs(l = "menu") {
6936
6918
  };
6937
6919
  console.log("clickSubmitForm", pl.value, il.value, p), Xe(p), z.show = !1;
6938
6920
  }, el = (a) => {
6939
- var h, _;
6921
+ var h, S;
6940
6922
  const p = (h = a == null ? void 0 : a.contents) == null ? void 0 : h.find((W) => W.key === "formContent");
6941
- p && ($e.value = (_ = p == null ? void 0 : p.contents) == null ? void 0 : _.reduce(
6923
+ p && ($e.value = (S = p == null ? void 0 : p.contents) == null ? void 0 : S.reduce(
6942
6924
  (W, de) => (W[de.key] = de.value, W.prop = de.key, W),
6943
6925
  {}
6944
6926
  ));
@@ -6949,12 +6931,12 @@ function rs(l = "menu") {
6949
6931
  var p, h;
6950
6932
  if (a) {
6951
6933
  await Fl();
6952
- const _ = a == null ? void 0 : a[0];
6953
- if (((p = _ == null ? void 0 : _.children) == null ? void 0 : p.length) > 0) {
6954
- const W = _ == null ? void 0 : _.path;
6934
+ const S = a == null ? void 0 : a[0];
6935
+ if (((p = S == null ? void 0 : S.children) == null ? void 0 : p.length) > 0) {
6936
+ const W = S == null ? void 0 : S.path;
6955
6937
  Ze.value && ((h = Ze.value) == null || h.openMenuRefByIndex(W));
6956
6938
  } else
6957
- u != null && u.value ? U.setJumpMenuInform(!1) : U.setActiveMenuPath((_ == null ? void 0 : _.path) ?? "");
6939
+ u != null && u.value ? U.setJumpMenuInform(!1) : U.setActiveMenuPath((S == null ? void 0 : S.path) ?? "");
6958
6940
  }
6959
6941
  }, { immediate: !0 }), {
6960
6942
  menuRef: Ze,
@@ -7003,7 +6985,7 @@ function cs(l = "menu") {
7003
6985
  return {
7004
6986
  name: l,
7005
6987
  components: {
7006
- ssMenu: St,
6988
+ ssMenu: _t,
7007
6989
  DynamicIcon: Wa
7008
6990
  },
7009
6991
  setup() {
@@ -7012,7 +6994,7 @@ function cs(l = "menu") {
7012
6994
  type: String,
7013
6995
  default: "vertical"
7014
6996
  }
7015
- }), r = B("sub-menu-more"), v = jl(), M = Zl(yl), U = B(0), I = _a(), {
6997
+ }), r = B("sub-menu-more"), v = jl(), M = Zl(yl), U = B(0), I = Sa(), {
7016
6998
  rawMenus: x,
7017
6999
  activeTopMenuPath: R,
7018
7000
  isRefreshMenus: D,
@@ -7030,16 +7012,16 @@ function cs(l = "menu") {
7030
7012
  children: p.level === 0 ? [] : p.children ?? [],
7031
7013
  childMenus: me(p.children)
7032
7014
  } : p), L = (a, p) => {
7033
- var h, _;
7034
- return (_ = (h = C.value) == null ? void 0 : h.find((W) => (a.title + p).includes(W.value))) == null ? void 0 : _.value;
7015
+ var h, S;
7016
+ return (S = (h = C.value) == null ? void 0 : h.find((W) => (a.title + p).includes(W.value))) == null ? void 0 : S.value;
7035
7017
  }, J = (a, p = "", h = 0) => {
7036
7018
  var O;
7037
- let _ = wl(a);
7019
+ let S = wl(a);
7038
7020
  const W = Array.from(/* @__PURE__ */ new Set([...(O = Z.value) == null ? void 0 : O.map((s) => {
7039
7021
  var k;
7040
7022
  return (k = s == null ? void 0 : s.key) == null ? void 0 : k.pageKey;
7041
7023
  })]));
7042
- return Array.isArray(_) || (_ = [_]), _ == null ? void 0 : _.map((s) => {
7024
+ return Array.isArray(S) || (S = [S]), S == null ? void 0 : S.map((s) => {
7043
7025
  let k, N = p ? `${p}/${s.title}` : s.title;
7044
7026
  k = N;
7045
7027
  const X = {
@@ -7069,9 +7051,9 @@ function cs(l = "menu") {
7069
7051
  const p = me(a);
7070
7052
  return Pt(p), v.setMenus(p), p;
7071
7053
  }), 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), ke = (a, p) => {
7072
- var _, W;
7054
+ var S, W;
7073
7055
  const h = a == null ? void 0 : a.find((de) => (de == null ? void 0 : de.operateType) === "新增");
7074
- return ((W = (_ = T.value) == null ? void 0 : _.data) == null ? void 0 : W.path) === (p == null ? void 0 : p.path) ? h == null ? void 0 : h.menuIcon : L(p, p == null ? void 0 : p.level);
7056
+ return ((W = (S = T.value) == null ? void 0 : S.data) == null ? void 0 : W.path) === (p == null ? void 0 : p.path) ? h == null ? void 0 : h.menuIcon : L(p, p == null ? void 0 : p.level);
7075
7057
  }, Ve = async (a, p) => {
7076
7058
  if (!Array.isArray(p)) return a;
7077
7059
  for (const h of p)
@@ -7085,8 +7067,8 @@ function cs(l = "menu") {
7085
7067
  }, $e = B(null), il = async (a, p = null) => await Promise.all(
7086
7068
  a == null ? void 0 : a.map(async (h) => {
7087
7069
  var de;
7088
- let _ = await Ve(h, Ee.value);
7089
- const W = (_ == null ? void 0 : _.config) ?? ((de = p == null ? void 0 : p.filter((O) => O.allowInherit)) == null ? void 0 : de.map((O) => {
7070
+ let S = await Ve(h, Ee.value);
7071
+ const W = (S == null ? void 0 : S.config) ?? ((de = p == null ? void 0 : p.filter((O) => O.allowInherit)) == null ? void 0 : de.map((O) => {
7090
7072
  var s;
7091
7073
  return {
7092
7074
  ...O,
@@ -7098,14 +7080,14 @@ function cs(l = "menu") {
7098
7080
  //弹窗和内容的结构都继承
7099
7081
  };
7100
7082
  }));
7101
- return _ != null && _.childMenus && (_ == null ? void 0 : _.childMenus.length) > 0 && (_ = {
7102
- ..._,
7083
+ return S != null && S.childMenus && (S == null ? void 0 : S.childMenus.length) > 0 && (S = {
7084
+ ...S,
7103
7085
  icon: ke(W, h),
7104
7086
  config: W,
7105
7087
  children: await il(h == null ? void 0 : h.childMenus, W),
7106
7088
  childMenus: await il(h == null ? void 0 : h.childMenus, W)
7107
7089
  }), {
7108
- ..._,
7090
+ ...S,
7109
7091
  icon: ke(W, h),
7110
7092
  config: W
7111
7093
  };
@@ -7114,9 +7096,9 @@ function cs(l = "menu") {
7114
7096
  fl(
7115
7097
  () => u.value,
7116
7098
  (a) => {
7117
- var h, _, W;
7099
+ var h, S, W;
7118
7100
  if (!a) return;
7119
- const p = (_ = (h = a == null ? void 0 : a.path) == null ? void 0 : h.split("/")) == null ? void 0 : _[0];
7101
+ const p = (S = (h = a == null ? void 0 : a.path) == null ? void 0 : h.split("/")) == null ? void 0 : S[0];
7120
7102
  if (p) {
7121
7103
  const de = (W = w.value) == null ? void 0 : W.find((O) => (O == null ? void 0 : O.path) === p);
7122
7104
  if (!de || (v.setActiveTopMenuPath(p), !(de != null && de.children))) return;
@@ -7128,7 +7110,7 @@ function cs(l = "menu") {
7128
7110
  const pl = async (a) => {
7129
7111
  var p, h;
7130
7112
  if (v.setLinkMenuInfo(null), v.setAsideMenuLoading(!0), M.setRouteToChildPath(""), v.setActiveTopMenuPath(a == null ? void 0 : a.path), v.setActiveMainMenu(a), $e.value = null, a != null && a.childMenus && ((p = a == null ? void 0 : a.childMenus) == null ? void 0 : p.length) > 0) {
7131
- const _ = await ul(a), W = (_ == null ? void 0 : _.length) === 0 ? a == null ? void 0 : a.childMenus : _;
7113
+ const S = await ul(a), W = (S == null ? void 0 : S.length) === 0 ? a == null ? void 0 : a.childMenus : S;
7132
7114
  v.setAsideMenus(W), oe.value || v.setUpdateMenuStatus(!0), v.setActiveAsideMenu((h = a == null ? void 0 : a.childMenus) == null ? void 0 : h[0]);
7133
7115
  } else
7134
7116
  v.setAsideMenus([]), v.setActiveMenuPath(a == null ? void 0 : a.path);
@@ -7180,32 +7162,32 @@ function cs(l = "menu") {
7180
7162
  var h;
7181
7163
  const p = [a == null ? void 0 : a.title];
7182
7164
  if (a != null && a.children && ((h = a == null ? void 0 : a.children) == null ? void 0 : h.length) > 0) {
7183
- const _ = a.children.map((W) => Te(W));
7184
- p.push(..._);
7165
+ const S = a.children.map((W) => Te(W));
7166
+ p.push(...S);
7185
7167
  }
7186
7168
  return p;
7187
- }, el = (a, p, h, _) => a.map((W) => {
7169
+ }, el = (a, p, h, S) => a.map((W) => {
7188
7170
  var de, O;
7189
7171
  if (W.path === h) {
7190
7172
  const s = { ...W };
7191
- return _ === "create" ? s.children.push(p) : _ === "update" ? s.children = (de = s.children) == null ? void 0 : de.map(
7173
+ return S === "create" ? s.children.push(p) : S === "update" ? s.children = (de = s.children) == null ? void 0 : de.map(
7192
7174
  (k) => (k == null ? void 0 : k.path) === (p == null ? void 0 : p.path) ? p : k
7193
- ) : _ === "delete" && (s.children = (O = s.children) == null ? void 0 : O.filter((k) => (k == null ? void 0 : k.path) !== (p == null ? void 0 : p.path))), s;
7175
+ ) : S === "delete" && (s.children = (O = s.children) == null ? void 0 : O.filter((k) => (k == null ? void 0 : k.path) !== (p == null ? void 0 : p.path))), s;
7194
7176
  } else
7195
7177
  return {
7196
7178
  ...W,
7197
- children: el(W.children, p, h, _)
7179
+ children: el(W.children, p, h, S)
7198
7180
  // 递归更新子节点
7199
7181
  };
7200
7182
  }), Ne = async (a) => {
7201
- var h, _, W, de, O, s;
7183
+ var h, S, W, de, O, s;
7202
7184
  const p = (h = Z.value) == null ? void 0 : h.find((k) => {
7203
7185
  var N;
7204
7186
  return ((N = k == null ? void 0 : k.key) == null ? void 0 : N.pageKey) === "menu";
7205
7187
  });
7206
7188
  if (p) {
7207
7189
  const k = {
7208
- ...(_ = p.value) == null ? void 0 : _.pageData,
7190
+ ...(S = p.value) == null ? void 0 : S.pageData,
7209
7191
  compData: (O = (de = (W = p.value) == null ? void 0 : W.pageData) == null ? void 0 : de.compData) == null ? void 0 : O.map((X) => X.key === "menuContents" ? {
7210
7192
  ...X,
7211
7193
  contents: a
@@ -7219,18 +7201,18 @@ function cs(l = "menu") {
7219
7201
  }, al = async (a) => void 0, Ze = async (a) => {
7220
7202
  var W, de, O;
7221
7203
  const p = (O = (de = (W = a == null ? void 0 : a.config) == null ? void 0 : W.find((s) => (s == null ? void 0 : s.operateType) === "新增")) == null ? void 0 : de.structureIds) == null ? void 0 : O.filter((s) => (s == null ? void 0 : s.key) === "contentConfig"), h = p == null ? void 0 : p.map((s) => s == null ? void 0 : s.id);
7222
- let _ = [];
7204
+ let S = [];
7223
7205
  h == null || h.forEach((s) => {
7224
- s && _.push(al());
7206
+ s && S.push(al());
7225
7207
  });
7226
7208
  };
7227
7209
  return fl(
7228
7210
  () => D.value,
7229
7211
  async (a) => {
7230
- var p, h, _, W, de, O, s, k;
7212
+ var p, h, S, W, de, O, s, k;
7231
7213
  if (a)
7232
7214
  try {
7233
- const N = (_ = (h = (p = T.value) == null ? void 0 : p.data) == null ? void 0 : h.path) == null ? void 0 : _.split("/").slice(0, -1).join("/"), X = el(
7215
+ const N = (S = (h = (p = T.value) == null ? void 0 : p.data) == null ? void 0 : h.path) == null ? void 0 : S.split("/").slice(0, -1).join("/"), X = el(
7234
7216
  w.value,
7235
7217
  (W = T.value) == null ? void 0 : W.data,
7236
7218
  N,
@@ -7240,7 +7222,7 @@ function cs(l = "menu") {
7240
7222
  const d = await ul(P.value), A = (d == null ? void 0 : d.length) === 0 ? (k = P.value) == null ? void 0 : k.childMenus : d;
7241
7223
  v.setAsideMenus(A);
7242
7224
  } catch (N) {
7243
- throw Sl.error(N), new Error(N);
7225
+ throw _l.error(N), new Error(N);
7244
7226
  }
7245
7227
  },
7246
7228
  { immediate: !0 }
@@ -7258,7 +7240,7 @@ function cs(l = "menu") {
7258
7240
  }
7259
7241
  Bl(cs());
7260
7242
  const Ac = Bl(cs("ThreeMenu")), Ic = { class: "three-menu" }, Mc = ["onClick"];
7261
- function _c(l, b, r, v, M, U) {
7243
+ function Sc(l, b, r, v, M, U) {
7262
7244
  return f(), $("div", Ic, [
7263
7245
  (f(!0), $(ll, null, dl(l.renderMenuList, (I) => (f(), $("div", {
7264
7246
  onClick: (x) => l.clickMenu(I)
@@ -7268,7 +7250,7 @@ function _c(l, b, r, v, M, U) {
7268
7250
  ql(l.$slots, "extraIcon", {}, void 0, !0)
7269
7251
  ]);
7270
7252
  }
7271
- const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d52"]]), Tc = { class: "structure-buttons" }, Bc = { class: "structure-paths" }, Ec = { class: "client-header-user" }, Dc = { class: "model-select" }, Pc = { class: "model-show" }, Rc = { class: "model-fill" }, xc = ["title", "onClick"], Vc = { class: "panel-body client-container" }, Uc = {
7253
+ const _c = /* @__PURE__ */ Kl(Ac, [["render", Sc], ["__scopeId", "data-v-94d06d52"]]), Tc = { class: "structure-buttons" }, Bc = { class: "structure-paths" }, Ec = { class: "client-header-user" }, Dc = { class: "model-select" }, Pc = { class: "model-show" }, Rc = { class: "model-fill" }, xc = ["title", "onClick"], Vc = { class: "panel-body client-container" }, Uc = {
7272
7254
  key: 0,
7273
7255
  class: "menu-empty"
7274
7256
  }, jc = {
@@ -7364,10 +7346,10 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7364
7346
  var K, ze, Oe, ne, bl, tl, Ml, Il, Ke, Le;
7365
7347
  let re, he, ae;
7366
7348
  m != null && m.blob.includes("undefined") ? ae = (ze = (K = m == null ? void 0 : m.blob) == null ? void 0 : K.split("undefined,")) == null ? void 0 : ze[1] : ae = m == null ? void 0 : m.blob;
7367
- let Se = ae == null ? void 0 : ae.split(",");
7368
- if ((Se == null ? void 0 : Se.length) > 1) {
7369
- let He = await (Se == null ? void 0 : Se.map(async (De) => {
7370
- var Fe, Pl, kl, _l, El, xl;
7349
+ let _e = ae == null ? void 0 : ae.split(",");
7350
+ if ((_e == null ? void 0 : _e.length) > 1) {
7351
+ let He = await (_e == null ? void 0 : _e.map(async (De) => {
7352
+ var Fe, Pl, kl, Sl, El, xl;
7371
7353
  re = await ia.get(De, {
7372
7354
  responseType: "blob",
7373
7355
  headers: {
@@ -7391,7 +7373,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7391
7373
  }));
7392
7374
  await Promise.all(gl);
7393
7375
  }
7394
- return ((_l = De == null ? void 0 : De.split(".")) == null ? void 0 : _l[((kl = De == null ? void 0 : De.split(".")) == null ? void 0 : kl.length) - 1]) !== "undefined" && j.push({
7376
+ return ((Sl = De == null ? void 0 : De.split(".")) == null ? void 0 : Sl[((kl = De == null ? void 0 : De.split(".")) == null ? void 0 : kl.length) - 1]) !== "undefined" && j.push({
7395
7377
  suffix: "." + ((xl = De == null ? void 0 : De.split(".")) == null ? void 0 : xl[((El = De == null ? void 0 : De.split(".")) == null ? void 0 : El.length) - 1]),
7396
7378
  blob: new Blob([re.data], {
7397
7379
  type: "application/octet-stream;charset=UTF-8"
@@ -7474,7 +7456,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7474
7456
  });
7475
7457
  }, a = async () => {
7476
7458
  await Wn();
7477
- }, p = B("数据管理"), h = B(!1), _ = B(), W = B(), de = B({
7459
+ }, p = B("数据管理"), h = B(!1), S = B(), W = B(), de = B({
7478
7460
  x: 0,
7479
7461
  y: 0
7480
7462
  }), O = () => {
@@ -7509,7 +7491,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7509
7491
  document.removeEventListener("mousemove", qe), document.removeEventListener("mouseup", rl);
7510
7492
  }
7511
7493
  const we = (H) => {
7512
- Y = H.clientX, ue = parseInt(getComputedStyle(_.value).width, 10), document.addEventListener("mousemove", qe), document.addEventListener("mouseup", rl);
7494
+ Y = H.clientX, ue = parseInt(getComputedStyle(S.value).width, 10), document.addEventListener("mousemove", qe), document.addEventListener("mouseup", rl);
7513
7495
  };
7514
7496
  let se = 0, y = 0, Me = 0, Pe = 0;
7515
7497
  function pe(H) {
@@ -7527,10 +7509,10 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7527
7509
  je.value = H;
7528
7510
  }, Je = () => {
7529
7511
  je.value = !je.value;
7530
- }, _e = () => {
7512
+ }, Se = () => {
7531
7513
  nl(!1);
7532
- }, S = B(), ie = (H) => {
7533
- S.value = H;
7514
+ }, _ = B(), ie = (H) => {
7515
+ _.value = H;
7534
7516
  }, Ae = (H) => {
7535
7517
  const te = zs(H);
7536
7518
  if (!te)
@@ -7538,7 +7520,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7538
7520
  Te(te);
7539
7521
  };
7540
7522
  fl(aa, (H) => {
7541
- const { isLeaf: te } = S.value || {};
7523
+ const { isLeaf: te } = _.value || {};
7542
7524
  !te || !H || !H.length || Ae(H);
7543
7525
  }, {
7544
7526
  immediate: !0,
@@ -7556,7 +7538,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7556
7538
  Wl(async () => {
7557
7539
  $e("setLoginInfo", z.value);
7558
7540
  async function H() {
7559
- var te, Re, xe, G, j, q, m, re, he, ae, Se;
7541
+ var te, Re, xe, G, j, q, m, re, he, ae, _e;
7560
7542
  try {
7561
7543
  let K = function(He, De) {
7562
7544
  return De.map((fe) => He.map((Fe, Pl) => ({
@@ -7572,7 +7554,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7572
7554
  console.log("555readData", Ml);
7573
7555
  let Il = [];
7574
7556
  Array.isArray(bl) && Array.isArray(tl) ? Il = [...bl, ...tl] : (Il = [], console.warn("unreadMessagesContents 或 readMessagesContents 不是数组")), v.value = K(Ml, Il), console.log("555allReadMessages.value", v.value);
7575
- const Ke = ((ae = z == null ? void 0 : z.value) == null ? void 0 : ae.account) || ((Se = z == null ? void 0 : z.value) == null ? void 0 : Se.收件人) || "未知", Le = v.value.filter((He) => {
7557
+ const Ke = ((ae = z == null ? void 0 : z.value) == null ? void 0 : ae.account) || ((_e = z == null ? void 0 : z.value) == null ? void 0 : _e.收件人) || "未知", Le = v.value.filter((He) => {
7576
7558
  var De;
7577
7559
  return ((De = He.find((fe) => fe.prop === "收件人")) == null ? void 0 : De.value) === Ke;
7578
7560
  });
@@ -7631,27 +7613,25 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7631
7613
  id: "transparentBgButton",
7632
7614
  onClick: c(Fn)
7633
7615
  }, {
7634
- default: o(() => te[5] || (te[5] = [
7635
- cl(" 返回页面 ")
7636
- ])),
7637
- _: 1,
7638
- __: [5]
7616
+ default: o(() => [...te[5] || (te[5] = [
7617
+ cl(" 返回页面 ", -1)
7618
+ ])]),
7619
+ _: 1
7639
7620
  }, 8, ["onClick"]),
7640
7621
  n(xe, {
7641
7622
  id: "transparentBgButton",
7642
7623
  onClick: te[2] || (te[2] = (he) => {
7643
- var ae, Se;
7644
- return c(Jn)((Se = (ae = c(ce)) == null ? void 0 : ae.map((K) => K.value)) == null ? void 0 : Se.join("/"));
7624
+ var ae, _e;
7625
+ return c(Jn)((_e = (ae = c(ce)) == null ? void 0 : ae.map((K) => K.value)) == null ? void 0 : _e.join("/"));
7645
7626
  })
7646
7627
  }, {
7647
7628
  icon: o(() => [
7648
7629
  n(Tl, { name: "Store" })
7649
7630
  ]),
7650
7631
  default: o(() => [
7651
- te[6] || (te[6] = cl(" 保存页面 "))
7632
+ te[6] || (te[6] = cl(" 保存页面 ", -1))
7652
7633
  ]),
7653
- _: 1,
7654
- __: [6]
7634
+ _: 1
7655
7635
  })
7656
7636
  ]),
7657
7637
  V("div", Bc, [
@@ -7684,7 +7664,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7684
7664
  n(Mt)
7685
7665
  ]),
7686
7666
  V("div", Rc, [
7687
- n(_t)
7667
+ n(St)
7688
7668
  ])
7689
7669
  ]),
7690
7670
  _: 1
@@ -7705,7 +7685,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7705
7685
  "three-data": c(Ce)
7706
7686
  }, {
7707
7687
  "top-menu": o(() => [
7708
- n(Sc, null, at({
7688
+ n(_c, null, at({
7709
7689
  menu: o(({ menu: he }) => [
7710
7690
  V("div", {
7711
7691
  class: "top-icon",
@@ -7781,7 +7761,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7781
7761
  Yl(V("div", {
7782
7762
  class: "management-page-panel",
7783
7763
  ref_key: "managementPagePanel",
7784
- ref: _,
7764
+ ref: S,
7785
7765
  style: Dl(t.value)
7786
7766
  }, [
7787
7767
  V("div", {
@@ -7809,7 +7789,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7809
7789
  default: o(() => [
7810
7790
  n(m, { class: "client-main" }, {
7811
7791
  default: o(() => {
7812
- var he, ae, Se, K, ze, Oe;
7792
+ var he, ae, _e, K, ze, Oe;
7813
7793
  return [
7814
7794
  Yl((f(), $("div", {
7815
7795
  class: "client-main-operate",
@@ -7817,7 +7797,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7817
7797
  ref: Ee,
7818
7798
  "element-loading-text": "正在加载页面数据..."
7819
7799
  }, [
7820
- ((ae = c(g)) == null ? void 0 : ae[((he = c(g)) == null ? void 0 : he.length) - 1]) === c(R) || (Se = c(g)) != null && Se.includes("updateLoading") || (K = c(g)) != null && K.includes("loading") ? (f(), $("div", jc, [
7800
+ ((ae = c(g)) == null ? void 0 : ae[((he = c(g)) == null ? void 0 : he.length) - 1]) === c(R) || (_e = c(g)) != null && _e.includes("updateLoading") || (K = c(g)) != null && K.includes("loading") ? (f(), $("div", jc, [
7821
7801
  n(na, {
7822
7802
  class: "calculator-content back-content",
7823
7803
  onClickTrigger: te[4] || (te[4] = (ne) => c(Et)()),
@@ -7885,7 +7865,7 @@ const Sc = /* @__PURE__ */ Kl(Ac, [["render", _c], ["__scopeId", "data-v-94d06d5
7885
7865
  te[7] || (te[7] = V("span", null, " 菜单树 ", -1)),
7886
7866
  V("span", {
7887
7867
  class: "close",
7888
- onClick: _e
7868
+ onClick: Se
7889
7869
  }, " X ")
7890
7870
  ]),
7891
7871
  V("div", qc, [
@@ -8206,7 +8186,7 @@ const us = (l, b, r, v) => {
8206
8186
  Array.isArray(M) || (M = [M]);
8207
8187
  let me = [];
8208
8188
  return (Ee = wl(M)) == null || Ee.forEach((L) => {
8209
- var J, be, z, Be, ke, Ve, $e, il, ul, pl, Xe, Cl, ve, g, We, Ce, Te, el, Ne, al, Ze, a, p, h, _, W;
8189
+ var J, be, z, Be, ke, Ve, $e, il, ul, pl, Xe, Cl, ve, g, We, Ce, Te, el, Ne, al, Ze, a, p, h, S, W;
8210
8190
  if (!(L != null && L.filter) || ((J = L == null ? void 0 : L.tableColumns) == null ? void 0 : J.length) > 0 || ((be = L == null ? void 0 : L.value) == null ? void 0 : be.length) > 0) {
8211
8191
  let de = (ke = (Be = (z = l == null ? void 0 : l.filter) == null ? void 0 : z.replace("(", vl)) == null ? void 0 : Be.split(vl)) == null ? void 0 : ke[0], O = (il = ($e = (Ve = L.filter) == null ? void 0 : Ve.replace("(", vl)) == null ? void 0 : $e.split(vl)) == null ? void 0 : il[1];
8212
8192
  O = "(" + (O == null ? void 0 : O.slice(0, (O == null ? void 0 : O.length) - 1)), !(L != null && L.filter) || (L == null ? void 0 : L.filter) === "" ? L.filter = l == null ? void 0 : l.filter : L.filter = de + O + "," + ((Xe = (pl = (ul = l == null ? void 0 : l.filter) == null ? void 0 : ul.replace("(", vl)) == null ? void 0 : pl.split(vl)) == null ? void 0 : Xe[1]);
@@ -8216,7 +8196,7 @@ const us = (l, b, r, v) => {
8216
8196
  ((We = L == null ? void 0 : L.tableContents) == null ? void 0 : We.length) > 0 && (s != null && s.filter((N) => N == null ? void 0 : N.includes("@Type"))) && ((Ce = k == null ? void 0 : k[(k == null ? void 0 : k.length) - 1]) != null && Ce.includes("Manual")) && (L.tableContents = []), L.calculatorFilters = v.calculatorFilters, L.name = [...r, ...L == null ? void 0 : L.name], me.push(wl(L));
8217
8197
  } else {
8218
8198
  let de = (Ne = (el = (Te = l == null ? void 0 : l.filter) == null ? void 0 : Te.replace("(", vl)) == null ? void 0 : el.split(vl)) == null ? void 0 : Ne[0], O = (a = (Ze = (al = L.filter) == null ? void 0 : al.replace("(", vl)) == null ? void 0 : Ze.split(vl)) == null ? void 0 : a[1];
8219
- O = "(" + (O == null ? void 0 : O.slice(0, (O == null ? void 0 : O.length) - 1)), !(L != null && L.filter) || (L == null ? void 0 : L.filter) === "" ? L.filter = l == null ? void 0 : l.filter : L.filter = de + O + "," + ((_ = (h = (p = l == null ? void 0 : l.filter) == null ? void 0 : p.replace("(", vl)) == null ? void 0 : h.split(vl)) == null ? void 0 : _[1]), L.calculatorFilters = v.calculatorFilters, (W = us(wl(L), b, (r == null ? void 0 : r.length) > 0 ? r : [...r, ...L == null ? void 0 : L.name], v)) == null || W.forEach((s) => {
8199
+ O = "(" + (O == null ? void 0 : O.slice(0, (O == null ? void 0 : O.length) - 1)), !(L != null && L.filter) || (L == null ? void 0 : L.filter) === "" ? L.filter = l == null ? void 0 : l.filter : L.filter = de + O + "," + ((S = (h = (p = l == null ? void 0 : l.filter) == null ? void 0 : p.replace("(", vl)) == null ? void 0 : h.split(vl)) == null ? void 0 : S[1]), L.calculatorFilters = v.calculatorFilters, (W = us(wl(L), b, (r == null ? void 0 : r.length) > 0 ? r : [...r, ...L == null ? void 0 : L.name], v)) == null || W.forEach((s) => {
8220
8200
  me.push(wl(s));
8221
8201
  });
8222
8202
  }
@@ -8282,7 +8262,7 @@ const us = (l, b, r, v) => {
8282
8262
  return ((Z = (Q = R == null ? void 0 : R.key) == null ? void 0 : Q.split("/")) == null ? void 0 : Z.length) - 1 !== oe;
8283
8263
  })) == null ? void 0 : T.join("/")) + "/";
8284
8264
  return (P = R.contents) == null || P.forEach((u, oe) => {
8285
- var C, i, Ee, me, L, J, be, z, Be, ke, Ve, $e, il, ul, pl, Xe, Cl, ve, g, We, Ce, Te, el, Ne, al, Ze, a, p, h, _, W, de, O, s, k, N, X, t, d, A, Y, ue, qe, rl;
8265
+ var C, i, Ee, me, L, J, be, z, Be, ke, Ve, $e, il, ul, pl, Xe, Cl, ve, g, We, Ce, Te, el, Ne, al, Ze, a, p, h, S, W, de, O, s, k, N, X, t, d, A, Y, ue, qe, rl;
8286
8266
  const Q = u == null ? void 0 : u.isShow, Z = (u == null ? void 0 : u.menuFilter) ?? [], w = Array.isArray(Z) && (Z == null ? void 0 : Z.some((we) => {
8287
8267
  const se = typeof we == "string" ? we : JSON.stringify(we);
8288
8268
  return (se == null ? void 0 : se.includes("@Hide")) && (se == null ? void 0 : se.includes("Yes"));
@@ -8302,11 +8282,11 @@ const us = (l, b, r, v) => {
8302
8282
  } else {
8303
8283
  let se = [];
8304
8284
  Array.isArray(we) || (we = [we]), (il = wl(we)) == null || il.forEach((y) => {
8305
- var Me, Pe, pe, le, F, Ye, Ge, je, nl, Je, _e, S, ie, Ae, Ie, Qe, H, te, Re, xe, G, j, q, m, re, he, ae, Se, K, ze, Oe, ne, bl, tl, Ml;
8285
+ var Me, Pe, pe, le, F, Ye, Ge, je, nl, Je, Se, _, ie, Ae, Ie, Qe, H, te, Re, xe, G, j, q, m, re, he, ae, _e, K, ze, Oe, ne, bl, tl, Ml;
8306
8286
  if (!(y != null && y.filter) || ((Me = y == null ? void 0 : y.tableColumns) == null ? void 0 : Me.length) > 0 || ((Pe = y == null ? void 0 : y.value) == null ? void 0 : Pe.length) > 0) {
8307
8287
  y.name = [...u == null ? void 0 : u.name, ...(y == null ? void 0 : y.name) ?? []];
8308
8288
  let Il = (F = (le = (pe = u == null ? void 0 : u.filter) == null ? void 0 : pe.replace("(", vl)) == null ? void 0 : le.split(vl)) == null ? void 0 : F[0], Ke = (je = (Ge = (Ye = y.filter) == null ? void 0 : Ye.replace("(", vl)) == null ? void 0 : Ge.split(vl)) == null ? void 0 : je[1];
8309
- Ke = "(" + (Ke == null ? void 0 : Ke.slice(0, (Ke == null ? void 0 : Ke.length) - 1)), !(y != null && y.filter) || (y == null ? void 0 : y.filter) === "" ? y.filter = u == null ? void 0 : u.filter : y.filter = Il + Ke + "," + ((_e = (Je = (nl = u == null ? void 0 : u.filter) == null ? void 0 : nl.replace("(", vl)) == null ? void 0 : Je.split(vl)) == null ? void 0 : _e[1]), y.calculatorFilters = u.calculatorFilters, y.fatherSyncContents = (u == null ? void 0 : u.fatherSyncContents) ?? [], y.sonSyncContents = u.sonSyncContents ?? [], y.fatherSyncContents = (S = y == null ? void 0 : y.fatherSyncContents) == null ? void 0 : S.map((De) => {
8289
+ Ke = "(" + (Ke == null ? void 0 : Ke.slice(0, (Ke == null ? void 0 : Ke.length) - 1)), !(y != null && y.filter) || (y == null ? void 0 : y.filter) === "" ? y.filter = u == null ? void 0 : u.filter : y.filter = Il + Ke + "," + ((Se = (Je = (nl = u == null ? void 0 : u.filter) == null ? void 0 : nl.replace("(", vl)) == null ? void 0 : Je.split(vl)) == null ? void 0 : Se[1]), y.calculatorFilters = u.calculatorFilters, y.fatherSyncContents = (u == null ? void 0 : u.fatherSyncContents) ?? [], y.sonSyncContents = u.sonSyncContents ?? [], y.fatherSyncContents = (_ = y == null ? void 0 : y.fatherSyncContents) == null ? void 0 : _.map((De) => {
8310
8290
  var fe, Fe;
8311
8291
  return De != null && De.groups ? { ...De } : Object.assign({}, De, {
8312
8292
  groups: (Fe = y.name) == null ? void 0 : Fe[((fe = y.name) == null ? void 0 : fe.length) - 1]
@@ -8324,7 +8304,7 @@ const us = (l, b, r, v) => {
8324
8304
  } else {
8325
8305
  let Il = (G = (xe = (Re = u == null ? void 0 : u.filter) == null ? void 0 : Re.replace("(", vl)) == null ? void 0 : xe.split(vl)) == null ? void 0 : G[0], Ke = (m = (q = (j = y.filter) == null ? void 0 : j.replace("(", vl)) == null ? void 0 : q.split(vl)) == null ? void 0 : m[1];
8326
8306
  Ke = "(" + (Ke == null ? void 0 : Ke.slice(0, (Ke == null ? void 0 : Ke.length) - 1)), !(y != null && y.filter) || (y == null ? void 0 : y.filter) === "" ? y.filter = u == null ? void 0 : u.filter : y.filter = Il + Ke + "," + ((ae = (he = (re = u == null ? void 0 : u.filter) == null ? void 0 : re.replace("(", vl)) == null ? void 0 : he.split(vl)) == null ? void 0 : ae[1]);
8327
- let Le = (ze = (K = (Se = y.filter) == null ? void 0 : Se.replace("(", vl)) == null ? void 0 : K.split(vl)) == null ? void 0 : ze[1];
8307
+ let Le = (ze = (K = (_e = y.filter) == null ? void 0 : _e.replace("(", vl)) == null ? void 0 : K.split(vl)) == null ? void 0 : ze[1];
8328
8308
  Le = Le == null ? void 0 : Le.slice(0, (Le == null ? void 0 : Le.length) - 1), Le = pa(Le, ","), y.calculatorFilters = u.calculatorFilters, y.fatherSyncContents = (u == null ? void 0 : u.fatherSyncContents) ?? [], y.sonSyncContents = u.sonSyncContents ?? [], y.fatherSyncContents = (Oe = y == null ? void 0 : y.fatherSyncContents) == null ? void 0 : Oe.map((De) => {
8329
8309
  var fe, Fe;
8330
8310
  return De != null && De.groups || (De.groups = (Fe = u.name) == null ? void 0 : Fe[((fe = u.name) == null ? void 0 : fe.length) - 1]), De;
@@ -8366,7 +8346,7 @@ const us = (l, b, r, v) => {
8366
8346
  !Array.isArray(se) && (((al = se == null ? void 0 : se.value) == null ? void 0 : al.length) > 0 || ((Ze = se == null ? void 0 : se.tableColumns) == null ? void 0 : Ze.length) > 0) && (((a = se == null ? void 0 : se.value) == null ? void 0 : a.length) > 0 ? u.value = se == null ? void 0 : se.value : (u.value = (h = (p = wl(se)) == null ? void 0 : p.tableColumns) == null ? void 0 : h.map((y) => {
8367
8347
  var Me;
8368
8348
  return y.disabled = !0, y.width = (Me = se == null ? void 0 : se.tableColumns) == null ? void 0 : Me.length, y;
8369
- }), u.filter = u.filter === "" ? "(@Related: true)" : ((W = u.filter) == null ? void 0 : W.slice(0, ((_ = u.filter) == null ? void 0 : _.length) - 1)) + ",@Related: true)")), D.push(u);
8349
+ }), u.filter = u.filter === "" ? "(@Related: true)" : ((W = u.filter) == null ? void 0 : W.slice(0, ((S = u.filter) == null ? void 0 : S.length) - 1)) + ",@Related: true)")), D.push(u);
8370
8350
  } else if (((de = u == null ? void 0 : u.tableContents) == null ? void 0 : de.length) > 0 && ((O = u == null ? void 0 : u.tableColumns) == null ? void 0 : O.length) === 0) {
8371
8351
  let we = ((N = (k = (s = R == null ? void 0 : R.key) == null ? void 0 : s.split("/")) == null ? void 0 : k.filter((se, y) => {
8372
8352
  var Me, Pe;
@@ -8470,7 +8450,7 @@ const us = (l, b, r, v) => {
8470
8450
  }, P = ml(() => {
8471
8451
  switch (D == null ? void 0 : D.platform) {
8472
8452
  case "browser":
8473
- return _s;
8453
+ return Ss;
8474
8454
  case "client":
8475
8455
  return Ms;
8476
8456
  case "three":
@@ -8542,7 +8522,7 @@ const us = (l, b, r, v) => {
8542
8522
  v.setSelectTitle([]), v.setSelectIndex(""), v.setSelectMenu("");
8543
8523
  let il = (me = D == null ? void 0 : D.content) == null ? void 0 : me.filter((Xe) => Xe !== "");
8544
8524
  if ($e = await $c(il == null ? void 0 : il[0], Ve), Ve && (Ve == null ? void 0 : Ve.length) === 0) {
8545
- let Xe = await _r($e);
8525
+ let Xe = await Sr($e);
8546
8526
  ce("systemContent", Xe == null ? void 0 : Xe.allMenuContents);
8547
8527
  } else {
8548
8528
  let Xe = /* @__PURE__ */ new Map(), Cl = [];
@@ -8570,7 +8550,7 @@ const us = (l, b, r, v) => {
8570
8550
  var el;
8571
8551
  let Te = Xe.get(Ce == null ? void 0 : Ce.key) ?? [];
8572
8552
  (Te == null ? void 0 : Te.length) > 0 && ((el = Ce.contents) == null || el.forEach((Ne) => {
8573
- var h, _;
8553
+ var h, S;
8574
8554
  let al = Te == null ? void 0 : Te.find(
8575
8555
  (W) => {
8576
8556
  var de, O;
@@ -8582,7 +8562,7 @@ const us = (l, b, r, v) => {
8582
8562
  let de = Ka(W, a);
8583
8563
  return de.id = "1", de;
8584
8564
  });
8585
- ((_ = Ne == null ? void 0 : Ne.tableContents) == null ? void 0 : _.length) > 0 && We.push({
8565
+ ((S = Ne == null ? void 0 : Ne.tableContents) == null ? void 0 : S.length) > 0 && We.push({
8586
8566
  tableName: Ze,
8587
8567
  tableContents: p
8588
8568
  });
@@ -8596,7 +8576,7 @@ const us = (l, b, r, v) => {
8596
8576
  const ul = await Q(), pl = (ke = (Be = (z = ul == null ? void 0 : ul.data) == null ? void 0 : z.result) == null ? void 0 : Be[0]) == null ? void 0 : ke.object_id;
8597
8577
  r.setHomepageBackgroundTableId(pl);
8598
8578
  } catch (Ve) {
8599
- console.error(Ve), Sl.error("模型内容错误");
8579
+ console.error(Ve), _l.error("模型内容错误");
8600
8580
  }
8601
8581
  M.setImportLoading(!1);
8602
8582
  },
@@ -8787,7 +8767,7 @@ const du = (l) => {
8787
8767
  initExecute: P,
8788
8768
  initAssignMethodToPlatform: async (Q) => await u(Q)
8789
8769
  };
8790
- }, gu = { class: "method-library" }, yu = { class: "method-list" }, bu = ["onClick", "title"], Cu = { class: "method-name" }, mu = { class: "operate" }, wu = { class: "library-right-card" }, ku = { class: "method-operate" }, Au = { class: "operate-right" }, Iu = { class: "method-detail" }, Mu = { class: "detail-form-wrapper" }, _u = { class: "detail-footer" }, Su = { class: "footer-right" }, Tu = /* @__PURE__ */ Bl({
8770
+ }, gu = { class: "method-library" }, yu = { class: "method-list" }, bu = ["onClick", "title"], Cu = { class: "method-name" }, mu = { class: "operate" }, wu = { class: "library-right-card" }, ku = { class: "method-operate" }, Au = { class: "operate-right" }, Iu = { class: "method-detail" }, Mu = { class: "detail-form-wrapper" }, Su = { class: "detail-footer" }, _u = { class: "footer-right" }, Tu = /* @__PURE__ */ Bl({
8791
8771
  __name: "index",
8792
8772
  setup(l) {
8793
8773
  const { isSuperAdmin: b, initMethodItem: r, initMethodList: v, initCreate: M, initUpdate: U, initDelete: I, initExecute: x } = xt(), R = B([]), D = async (Be) => {
@@ -8887,7 +8867,7 @@ const du = (l) => {
8887
8867
  const Ve = await x(ke);
8888
8868
  await be(Ve);
8889
8869
  } catch {
8890
- Sl.error("执行失败");
8870
+ _l.error("执行失败");
8891
8871
  } finally {
8892
8872
  Be.close();
8893
8873
  }
@@ -8900,11 +8880,11 @@ const du = (l) => {
8900
8880
  class: "library-left-card",
8901
8881
  "body-class": "library-left-card-body"
8902
8882
  }, {
8903
- header: o(() => ke[7] || (ke[7] = [
8883
+ header: o(() => [...ke[7] || (ke[7] = [
8904
8884
  V("div", { class: "method-list-header" }, [
8905
8885
  V("div", { class: "title" }, "方法列表")
8906
8886
  ], -1)
8907
- ])),
8887
+ ])]),
8908
8888
  default: o(() => [
8909
8889
  V("div", yu, [
8910
8890
  (f(!0), $(ll, null, dl(R.value, (g) => {
@@ -8938,11 +8918,10 @@ const du = (l) => {
8938
8918
  type: "primary",
8939
8919
  onClick: ke[0] || (ke[0] = (g) => e())
8940
8920
  }, {
8941
- default: o(() => ke[8] || (ke[8] = [
8942
- cl("创建方法")
8943
- ])),
8944
- _: 1,
8945
- __: [8]
8921
+ default: o(() => [...ke[8] || (ke[8] = [
8922
+ cl("创建方法", -1)
8923
+ ])]),
8924
+ _: 1
8946
8925
  })
8947
8926
  ])
8948
8927
  ]),
@@ -9097,29 +9076,27 @@ const du = (l) => {
9097
9076
  _: 1
9098
9077
  }, 8, ["model", "rules"])
9099
9078
  ]),
9100
- V("div", _u, [
9079
+ V("div", Su, [
9101
9080
  ke[12] || (ke[12] = V("div", { class: "footer-left" }, null, -1)),
9102
- V("div", Su, [
9081
+ V("div", _u, [
9103
9082
  n(il, {
9104
9083
  type: "primary",
9105
9084
  onClick: w
9106
9085
  }, {
9107
- default: o(() => ke[10] || (ke[10] = [
9108
- cl("保存")
9109
- ])),
9110
- _: 1,
9111
- __: [10]
9086
+ default: o(() => [...ke[10] || (ke[10] = [
9087
+ cl("保存", -1)
9088
+ ])]),
9089
+ _: 1
9112
9090
  }),
9113
9091
  u.value.id ? (f(), ye(il, {
9114
9092
  key: 0,
9115
9093
  type: "primary",
9116
9094
  onClick: ke[6] || (ke[6] = (g) => z())
9117
9095
  }, {
9118
- default: o(() => ke[11] || (ke[11] = [
9119
- cl("执行")
9120
- ])),
9121
- _: 1,
9122
- __: [11]
9096
+ default: o(() => [...ke[11] || (ke[11] = [
9097
+ cl("执行", -1)
9098
+ ])]),
9099
+ _: 1
9123
9100
  })) : Ue("", !0)
9124
9101
  ])
9125
9102
  ])
@@ -9152,7 +9129,7 @@ const du = (l) => {
9152
9129
  "destroy-on-close": "",
9153
9130
  "show-close": !1
9154
9131
  }, {
9155
- header: o(() => x[1] || (x[1] = [])),
9132
+ header: o(() => [...x[1] || (x[1] = [])]),
9156
9133
  default: o(() => [
9157
9134
  V("div", Bu, [
9158
9135
  V("div", Eu, [
@@ -9166,7 +9143,7 @@ const du = (l) => {
9166
9143
  n(Tu)
9167
9144
  ])
9168
9145
  ]),
9169
- footer: o(() => x[2] || (x[2] = [])),
9146
+ footer: o(() => [...x[2] || (x[2] = [])]),
9170
9147
  _: 1
9171
9148
  }, 8, ["modelValue"]);
9172
9149
  };
@@ -9262,9 +9239,9 @@ const du = (l) => {
9262
9239
  "destroy-on-close": "",
9263
9240
  modalClass: "allocation-modal"
9264
9241
  }, {
9265
- header: o(() => T[1] || (T[1] = [
9242
+ header: o(() => [...T[1] || (T[1] = [
9266
9243
  V("div", null, "方法分配", -1)
9267
- ])),
9244
+ ])]),
9268
9245
  default: o(() => [
9269
9246
  V("div", Uu, [
9270
9247
  n(Vu, {
@@ -9415,7 +9392,7 @@ const du = (l) => {
9415
9392
  value: ""
9416
9393
  });
9417
9394
  if (!F || (F == null ? void 0 : F.length) <= 1) {
9418
- Sl.warning("不能删除唯一模型");
9395
+ _l.warning("不能删除唯一模型");
9419
9396
  return;
9420
9397
  }
9421
9398
  const Ye = ra.service({
@@ -9442,9 +9419,9 @@ const du = (l) => {
9442
9419
  }, nl = await Promise.all([bs(je), xn({
9443
9420
  platId: parseInt((Je = Q == null ? void 0 : Q.value) == null ? void 0 : Je.plat_id)
9444
9421
  })]);
9445
- Ge = nl == null ? void 0 : nl.every((_e) => {
9446
- var S;
9447
- return ((S = _e == null ? void 0 : _e.data) == null ? void 0 : S.code) === 200;
9422
+ Ge = nl == null ? void 0 : nl.every((Se) => {
9423
+ var _;
9424
+ return ((_ = Se == null ? void 0 : Se.data) == null ? void 0 : _.code) === 200;
9448
9425
  }), Ge && await Me();
9449
9426
  });
9450
9427
  } catch (je) {
@@ -9487,7 +9464,7 @@ const du = (l) => {
9487
9464
  fullscreen: !0
9488
9465
  }), h = async () => {
9489
9466
  M("open"), Me();
9490
- }, _ = () => {
9467
+ }, S = () => {
9491
9468
  p.show = !1, M("close");
9492
9469
  };
9493
9470
  fl(() => U == null ? void 0 : U.modelValue, (le) => {
@@ -9650,16 +9627,16 @@ const du = (l) => {
9650
9627
  // 业务类型字段
9651
9628
  } = F;
9652
9629
  return Array.isArray(le) ? le == null ? void 0 : le.map((Je) => {
9653
- const _e = {
9630
+ const Se = {
9654
9631
  [Ye]: Je[Ye] || Je[je] || "管理系统",
9655
9632
  value: Je[Ye] || Je[je] || "管理系统",
9656
9633
  isPlat: !!(Je != null && Je.platType)
9657
9634
  };
9658
- return Je[nl] && Array.isArray(Je[nl]) && (_e[Ge] = Je[nl].map((S) => ({
9659
- [Ye]: S[Ye] || S.businessType || "",
9660
- value: S[Ye] || S.businessType || "",
9661
- isPlat: !!(S != null && S.platType)
9662
- }))), _e;
9635
+ return Je[nl] && Array.isArray(Je[nl]) && (Se[Ge] = Je[nl].map((_) => ({
9636
+ [Ye]: _[Ye] || _.businessType || "",
9637
+ value: _[Ye] || _.businessType || "",
9638
+ isPlat: !!(_ != null && _.platType)
9639
+ }))), Se;
9663
9640
  }) : [];
9664
9641
  }
9665
9642
  const ue = async () => {
@@ -9680,14 +9657,14 @@ const du = (l) => {
9680
9657
  let F;
9681
9658
  try {
9682
9659
  if (!((Ye = Q == null ? void 0 : Q.value) != null && Ye.user_id)) return;
9683
- const Je = (le == null ? void 0 : le.value) === "管理系统" ? "" : le == null ? void 0 : le.value, _e = await Cs({
9660
+ const Je = (le == null ? void 0 : le.value) === "管理系统" ? "" : le == null ? void 0 : le.value, Se = await Cs({
9684
9661
  userId: (Ge = Q == null ? void 0 : Q.value) == null ? void 0 : Ge.user_id,
9685
9662
  platType: le != null && le.isPlat ? Je : "",
9686
9663
  businessType: le != null && le.isPlat ? "" : Je
9687
9664
  });
9688
- if (((je = _e == null ? void 0 : _e.data) == null ? void 0 : je.code) === 200) {
9689
- const S = ((nl = _e == null ? void 0 : _e.data) == null ? void 0 : nl.result) || [];
9690
- t.value = S, F = S;
9665
+ if (((je = Se == null ? void 0 : Se.data) == null ? void 0 : je.code) === 200) {
9666
+ const _ = ((nl = Se == null ? void 0 : Se.data) == null ? void 0 : nl.result) || [];
9667
+ t.value = _, F = _;
9691
9668
  }
9692
9669
  } catch (Je) {
9693
9670
  throw Je;
@@ -9710,7 +9687,7 @@ const du = (l) => {
9710
9687
  (le = Pe.value) == null || le.openDialog();
9711
9688
  };
9712
9689
  return b({ openDialog: w }), (le, F) => {
9713
- const Ye = ee("svg-icon"), Ge = ee("el-button"), je = ee("el-tree"), nl = ee("el-card"), Je = ee("el-input"), _e = ee("el-table-column"), S = ee("el-icon"), ie = ee("el-image"), Ae = ee("el-tag"), Ie = ee("el-link"), Qe = ee("el-table"), H = ee("el-dialog"), te = ee("el-cascader"), Re = ee("el-form-item"), xe = ee("el-col"), G = ee("el-row"), j = ee("el-upload"), q = ee("el-form");
9690
+ const Ye = ee("svg-icon"), Ge = ee("el-button"), je = ee("el-tree"), nl = ee("el-card"), Je = ee("el-input"), Se = ee("el-table-column"), _ = ee("el-icon"), ie = ee("el-image"), Ae = ee("el-tag"), Ie = ee("el-link"), Qe = ee("el-table"), H = ee("el-dialog"), te = ee("el-cascader"), Re = ee("el-form-item"), xe = ee("el-col"), G = ee("el-row"), j = ee("el-upload"), q = ee("el-form");
9714
9691
  return f(), $(ll, null, [
9715
9692
  n(H, {
9716
9693
  class: "model-management-dialog",
@@ -9718,9 +9695,9 @@ const du = (l) => {
9718
9695
  "onUpdate:modelValue": F[2] || (F[2] = (m) => p.show = m),
9719
9696
  title: p.title,
9720
9697
  fullscreen: p.fullscreen,
9721
- "before-close": _,
9698
+ "before-close": S,
9722
9699
  onOpen: h,
9723
- onClose: _,
9700
+ onClose: S,
9724
9701
  "destroy-on-close": "",
9725
9702
  "show-close": !1,
9726
9703
  style: { "background-color": "#f3f3f3" }
@@ -9743,11 +9720,10 @@ const du = (l) => {
9743
9720
  type: "primary",
9744
9721
  onClick: se
9745
9722
  }, {
9746
- default: o(() => F[8] || (F[8] = [
9747
- cl("查看所有")
9748
- ])),
9749
- _: 1,
9750
- __: [8]
9723
+ default: o(() => [...F[8] || (F[8] = [
9724
+ cl("查看所有", -1)
9725
+ ])]),
9726
+ _: 1
9751
9727
  })
9752
9728
  ]),
9753
9729
  default: o(() => [
@@ -9787,21 +9763,19 @@ const du = (l) => {
9787
9763
  type: "primary",
9788
9764
  onClick: pe
9789
9765
  }, {
9790
- default: o(() => F[10] || (F[10] = [
9791
- cl("方法库")
9792
- ])),
9793
- _: 1,
9794
- __: [10]
9766
+ default: o(() => [...F[10] || (F[10] = [
9767
+ cl("方法库", -1)
9768
+ ])]),
9769
+ _: 1
9795
9770
  }),
9796
9771
  n(Ge, {
9797
9772
  type: "primary",
9798
9773
  onClick: F[1] || (F[1] = (m) => il())
9799
9774
  }, {
9800
- default: o(() => F[11] || (F[11] = [
9801
- cl("创建系统")
9802
- ])),
9803
- _: 1,
9804
- __: [11]
9775
+ default: o(() => [...F[11] || (F[11] = [
9776
+ cl("创建系统", -1)
9777
+ ])]),
9778
+ _: 1
9805
9779
  })
9806
9780
  ])
9807
9781
  ])
@@ -9819,13 +9793,13 @@ const du = (l) => {
9819
9793
  onRowDblclick: W
9820
9794
  }, {
9821
9795
  default: o(() => [
9822
- n(_e, {
9796
+ n(Se, {
9823
9797
  type: "index",
9824
9798
  label: "序号",
9825
9799
  width: "70",
9826
9800
  align: "center"
9827
9801
  }),
9828
- (f(!0), $(ll, null, dl(A.value, (m) => (f(), ye(_e, {
9802
+ (f(!0), $(ll, null, dl(A.value, (m) => (f(), ye(Se, {
9829
9803
  "min-width": m == null ? void 0 : m.minWidth,
9830
9804
  key: m == null ? void 0 : m.prop,
9831
9805
  prop: m == null ? void 0 : m.prop,
@@ -9841,7 +9815,7 @@ const du = (l) => {
9841
9815
  style: { width: "40px", height: "40px", "border-radius": "4px", cursor: "pointer" }
9842
9816
  }, {
9843
9817
  error: o(() => [
9844
- n(S, {
9818
+ n(_, {
9845
9819
  style: { width: "100%", height: "100%" },
9846
9820
  title: "暂无图片"
9847
9821
  }, {
@@ -9851,8 +9825,8 @@ const du = (l) => {
9851
9825
  _: 1
9852
9826
  })
9853
9827
  ]),
9854
- _: 2
9855
- }, 1032, ["src"])) : Ue("", !0),
9828
+ _: 1
9829
+ }, 8, ["src"])) : Ue("", !0),
9856
9830
  (m == null ? void 0 : m.render) === "tag" && (re != null && re[m == null ? void 0 : m.prop]) ? (f(), ye(Ae, {
9857
9831
  key: 1,
9858
9832
  style: { color: "#fff" },
@@ -9867,7 +9841,7 @@ const du = (l) => {
9867
9841
  ]),
9868
9842
  _: 2
9869
9843
  }, 1032, ["min-width", "prop", "label", "fixed"]))), 128)),
9870
- n(_e, {
9844
+ n(Se, {
9871
9845
  fixed: "right",
9872
9846
  prop: "operate",
9873
9847
  label: "操作",
@@ -10086,7 +10060,7 @@ const du = (l) => {
10086
10060
  class: "logo",
10087
10061
  src: be.value.logoBlobUrl
10088
10062
  }, null, 8, $u)
10089
- ])) : (f(), ye(S, {
10063
+ ])) : (f(), ye(_, {
10090
10064
  key: 1,
10091
10065
  class: "logo-uploader-icon"
10092
10066
  }, {
@@ -10279,7 +10253,7 @@ const du = (l) => {
10279
10253
  ], -1)),
10280
10254
  V("div", gd, [
10281
10255
  V("div", yd, [
10282
- (f(!0), $(ll, null, dl(E.historyData, (oe) => (f(), $("div", {
10256
+ (f(!0), $(ll, null, dl(l.historyData, (oe) => (f(), $("div", {
10283
10257
  class: "history-item",
10284
10258
  key: oe.path,
10285
10259
  onDblclick: (Q) => e(oe)
@@ -10310,7 +10284,7 @@ const du = (l) => {
10310
10284
  }), Ad = { class: "add-model-content" }, Id = {
10311
10285
  key: 0,
10312
10286
  class: "model-operate"
10313
- }, Md = { class: "model-select" }, _d = { class: "model-fill" }, Sd = {
10287
+ }, Md = { class: "model-select" }, Sd = { class: "model-fill" }, _d = {
10314
10288
  key: 1,
10315
10289
  class: "model-view"
10316
10290
  }, Td = {
@@ -10501,7 +10475,7 @@ const du = (l) => {
10501
10475
  var s;
10502
10476
  const O = (s = w == null ? void 0 : w.value) == null ? void 0 : s.plat_id;
10503
10477
  if (!O) {
10504
- Sl.error("无法获取系统ID");
10478
+ _l.error("无法获取系统ID");
10505
10479
  return;
10506
10480
  }
10507
10481
  Be.value = !1, ce.setImportLoading(!0);
@@ -10513,9 +10487,9 @@ const du = (l) => {
10513
10487
  const A = t.match(/filename="?([^"]+)"?/);
10514
10488
  A && A.length === 2 && (X = A[1].replace(".txt", ".ild"));
10515
10489
  }
10516
- await el(N, X, ".ild") && Sl.success("导出成功");
10490
+ await el(N, X, ".ild") && _l.success("导出成功");
10517
10491
  } catch {
10518
- Sl.error("导出失败");
10492
+ _l.error("导出失败");
10519
10493
  } finally {
10520
10494
  ce.setImportLoading(!1);
10521
10495
  }
@@ -10523,7 +10497,7 @@ const du = (l) => {
10523
10497
  var s;
10524
10498
  const O = (s = w == null ? void 0 : w.value) == null ? void 0 : s.plat_id;
10525
10499
  if (!O) {
10526
- Sl.error("无法获取系统ID");
10500
+ _l.error("无法获取系统ID");
10527
10501
  return;
10528
10502
  }
10529
10503
  Be.value = !1, ce.setImportLoading(!0);
@@ -10535,9 +10509,9 @@ const du = (l) => {
10535
10509
  const A = t.match(/filename="?([^"]+)"?/);
10536
10510
  A && A.length === 2 && (X = A[1].replace(".txt", ".ild"));
10537
10511
  }
10538
- await el(N, X, ".ild") && Sl.success("导出成功");
10512
+ await el(N, X, ".ild") && _l.success("导出成功");
10539
10513
  } catch {
10540
- Sl.error("导出失败");
10514
+ _l.error("导出失败");
10541
10515
  } finally {
10542
10516
  ce.setImportLoading(!1);
10543
10517
  }
@@ -10574,7 +10548,7 @@ const du = (l) => {
10574
10548
  v("executeWorkspace", {
10575
10549
  type: Qa.GET_HISTORY_DATA
10576
10550
  }), (O = p.value) == null || O.openDialog();
10577
- }, _ = async (O) => {
10551
+ }, S = async (O) => {
10578
10552
  const { type: s } = O;
10579
10553
  if (s === Qa.SAVE) {
10580
10554
  const k = ra.service({
@@ -10598,9 +10572,9 @@ const du = (l) => {
10598
10572
  background: "rgba(0, 0, 0, 0.7)"
10599
10573
  });
10600
10574
  try {
10601
- await a(), W(), (s = p.value) == null || s.closeDialog(), Sl.success("打开成功");
10575
+ await a(), W(), (s = p.value) == null || s.closeDialog(), _l.success("打开成功");
10602
10576
  } catch {
10603
- Sl.error("打开失败");
10577
+ _l.error("打开失败");
10604
10578
  } finally {
10605
10579
  O.close();
10606
10580
  }
@@ -10620,11 +10594,11 @@ const du = (l) => {
10620
10594
  }, [
10621
10595
  n(Mt)
10622
10596
  ])),
10623
- V("div", _d, [
10624
- n(_t)
10597
+ V("div", Sd, [
10598
+ n(St)
10625
10599
  ])
10626
10600
  ])) : Ue("", !0),
10627
- (r == null ? void 0 : r.mode) === "view" ? (f(), $("div", Sd, [
10601
+ (r == null ? void 0 : r.mode) === "view" ? (f(), $("div", _d, [
10628
10602
  (f(), ye(au, {
10629
10603
  showButton: r == null ? void 0 : r.showButton,
10630
10604
  platform: c(E),
@@ -10653,10 +10627,9 @@ const du = (l) => {
10653
10627
  n(k, { name: "model" })
10654
10628
  ]),
10655
10629
  default: o(() => [
10656
- s[2] || (s[2] = cl(" 模型 "))
10630
+ s[2] || (s[2] = cl(" 模型 ", -1))
10657
10631
  ]),
10658
- _: 1,
10659
- __: [2]
10632
+ _: 1
10660
10633
  })) : Ue("", !0)
10661
10634
  ];
10662
10635
  }),
@@ -10670,10 +10643,9 @@ const du = (l) => {
10670
10643
  n(k, { name: "模板管理" })
10671
10644
  ]),
10672
10645
  default: o(() => [
10673
- s[3] || (s[3] = cl(" 模型列表 "))
10646
+ s[3] || (s[3] = cl(" 模型列表 ", -1))
10674
10647
  ]),
10675
- _: 1,
10676
- __: [3]
10648
+ _: 1
10677
10649
  }),
10678
10650
  n(N, {
10679
10651
  onClick: g,
@@ -10693,10 +10665,9 @@ const du = (l) => {
10693
10665
  style: { display: "none" },
10694
10666
  multiple: ""
10695
10667
  }, null, 32)),
10696
- s[4] || (s[4] = cl(" 导入模型 "))
10668
+ s[4] || (s[4] = cl(" 导入模型 ", -1))
10697
10669
  ]),
10698
- _: 1,
10699
- __: [4]
10670
+ _: 1
10700
10671
  }),
10701
10672
  n(N, {
10702
10673
  onClick: Te,
@@ -10706,10 +10677,9 @@ const du = (l) => {
10706
10677
  n(k, { name: "export" })
10707
10678
  ]),
10708
10679
  default: o(() => [
10709
- s[5] || (s[5] = cl(" 导出模型 "))
10680
+ s[5] || (s[5] = cl(" 导出模型 ", -1))
10710
10681
  ]),
10711
- _: 1,
10712
- __: [5]
10682
+ _: 1
10713
10683
  }),
10714
10684
  n(N, {
10715
10685
  onClick: a,
@@ -10719,10 +10689,9 @@ const du = (l) => {
10719
10689
  n(k, { name: "clear" })
10720
10690
  ]),
10721
10691
  default: o(() => [
10722
- s[6] || (s[6] = cl(" 清空模型 "))
10692
+ s[6] || (s[6] = cl(" 清空模型 ", -1))
10723
10693
  ]),
10724
- _: 1,
10725
- __: [6]
10694
+ _: 1
10726
10695
  })
10727
10696
  ])
10728
10697
  ]),
@@ -10737,10 +10706,9 @@ const du = (l) => {
10737
10706
  n(k, { name: "工作台" })
10738
10707
  ]),
10739
10708
  default: o(() => [
10740
- s[7] || (s[7] = cl(" 工作区 "))
10709
+ s[7] || (s[7] = cl(" 工作区 ", -1))
10741
10710
  ]),
10742
- _: 1,
10743
- __: [7]
10711
+ _: 1
10744
10712
  })) : Ue("", !0)
10745
10713
  ]),
10746
10714
  _: 1
@@ -10757,7 +10725,7 @@ const du = (l) => {
10757
10725
  ref_key: "workspaceDialog",
10758
10726
  ref: p,
10759
10727
  "history-data": l.workspaceHistoryData,
10760
- onExecuteWorkspace: _
10728
+ onExecuteWorkspace: S
10761
10729
  }, null, 8, ["history-data"]),
10762
10730
  n(X, {
10763
10731
  modelValue: Be.value,
@@ -10772,28 +10740,25 @@ const du = (l) => {
10772
10740
  type: "primary",
10773
10741
  onClick: Ne
10774
10742
  }, {
10775
- default: o(() => s[8] || (s[8] = [
10776
- cl("导出模型")
10777
- ])),
10778
- _: 1,
10779
- __: [8]
10743
+ default: o(() => [...s[8] || (s[8] = [
10744
+ cl("导出模型", -1)
10745
+ ])]),
10746
+ _: 1
10780
10747
  }),
10781
10748
  n(N, { disabled: "" }, {
10782
- default: o(() => s[9] || (s[9] = [
10783
- cl("导出数据")
10784
- ])),
10785
- _: 1,
10786
- __: [9]
10749
+ default: o(() => [...s[9] || (s[9] = [
10750
+ cl("导出数据", -1)
10751
+ ])]),
10752
+ _: 1
10787
10753
  }),
10788
10754
  n(N, {
10789
10755
  type: "primary",
10790
10756
  onClick: al
10791
10757
  }, {
10792
- default: o(() => s[10] || (s[10] = [
10793
- cl("导出模型数据")
10794
- ])),
10795
- _: 1,
10796
- __: [10]
10758
+ default: o(() => [...s[10] || (s[10] = [
10759
+ cl("导出模型数据", -1)
10760
+ ])]),
10761
+ _: 1
10797
10762
  })
10798
10763
  ])
10799
10764
  ]),
@@ -10802,7 +10767,7 @@ const du = (l) => {
10802
10767
  ]);
10803
10768
  };
10804
10769
  }
10805
- }), op = /* @__PURE__ */ Kl(Ed, [["__scopeId", "data-v-a8c2fe98"]]);
10770
+ }), sp = /* @__PURE__ */ Kl(Ed, [["__scopeId", "data-v-a8c2fe98"]]);
10806
10771
  export {
10807
- op as default
10772
+ sp as default
10808
10773
  };