ss-component-new 1.3.277 → 1.3.278

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.
@@ -162,7 +162,7 @@ function qn(i = "menu") {
162
162
  activeMenuPath: r,
163
163
  linkMenuInfo: $,
164
164
  updateMenuStatus: te
165
- } = dl(g), ue = Hl(), { structureData: P } = dl(ue), n = N([]), se = N([]), F = Al(() => m == null ? void 0 : m.mode), ne = N({}), I = (e) => e == null ? void 0 : e.map((s) => s.children && s.children.length > 0 ? {
165
+ } = dl(g), ue = Hl(), { structureData: P } = dl(ue), n = N([]), se = N([]), W = Al(() => m == null ? void 0 : m.mode), ne = N({}), I = (e) => e == null ? void 0 : e.map((s) => s.children && s.children.length > 0 ? {
166
166
  ...s,
167
167
  // 水平菜单仅显示一层
168
168
  children: s.level === 0 ? [] : s.children ?? [],
@@ -388,7 +388,7 @@ function qn(i = "menu") {
388
388
  S && B.push(il());
389
389
  });
390
390
  const k = await Promise.all(B), E = k == null ? void 0 : k.map((S) => {
391
- const { id: W, ...Ue } = S;
391
+ const { id: F, ...Ue } = S;
392
392
  return Ue;
393
393
  }), o = E == null ? void 0 : E.map((S) => ({
394
394
  key: {
@@ -417,8 +417,8 @@ function qn(i = "menu") {
417
417
  (k = K.value) == null ? void 0 : k.data,
418
418
  U,
419
419
  (E = K.value) == null ? void 0 : E.type
420
- ), W = (o = S == null ? void 0 : S.filter((nl) => nl.path !== "平台管理")) == null ? void 0 : o.map((nl) => el(nl));
421
- await J((t = K.value) == null ? void 0 : t.data), g.setAsideMenuLoading(!0), await Ke(W);
420
+ ), F = (o = S == null ? void 0 : S.filter((nl) => nl.path !== "平台管理")) == null ? void 0 : o.map((nl) => el(nl));
421
+ await J((t = K.value) == null ? void 0 : t.data), g.setAsideMenuLoading(!0), await Ke(F);
422
422
  const Ue = await ol(O.value), ce = (Ue == null ? void 0 : Ue.length) === 0 ? (c = O.value) == null ? void 0 : c.childMenus : Ue;
423
423
  g.setAsideMenus(ce);
424
424
  } catch (U) {
@@ -427,7 +427,7 @@ function qn(i = "menu") {
427
427
  },
428
428
  { immediate: !0 }
429
429
  ), {
430
- mode: F,
430
+ mode: W,
431
431
  renderMenuList: X,
432
432
  clickMenu: ze,
433
433
  openMenu: be,
@@ -485,11 +485,11 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
485
485
  let le = $s(g.value);
486
486
  le = le == null ? void 0 : le.filter((K) => (K != null && K.parentContent ? (K == null ? void 0 : K.parentContent) === (V == null ? void 0 : V.parentContent) : (K == null ? void 0 : K.relatedContent) === (V == null ? void 0 : V.relatedContent)) && (K == null ? void 0 : K.condition) === "child"), u.setChooseTitle(le);
487
487
  }, R = async (V) => {
488
- var te, ue, P, n, se, F, ne;
488
+ var te, ue, P, n, se, W, ne;
489
489
  a.value = !0;
490
490
  let le = await bt(V != null && V.parentContent ? V == null ? void 0 : V.parentContent : V == null ? void 0 : V.relatedContent, !1), K = (ue = (te = le == null ? void 0 : le.filter((I) => (I == null ? void 0 : I.comp) === "Table")) == null ? void 0 : te[0]) == null ? void 0 : ue.compData, O = (P = K == null ? void 0 : K.find((I) => (I == null ? void 0 : I.key) === "header")) == null ? void 0 : P.contents;
491
491
  Array.isArray(O == null ? void 0 : O[0]) && (O = ft(O == null ? void 0 : O[0])), O = ((n = O == null ? void 0 : O.find((I) => I == null ? void 0 : I.isMainKey)) == null ? void 0 : n.prop) ?? ((se = O == null ? void 0 : O[0]) == null ? void 0 : se.prop);
492
- let r = (ne = (F = K == null ? void 0 : K.find((I) => (I == null ? void 0 : I.key) === "tableContents")) == null ? void 0 : F.contents) == null ? void 0 : ne.map((I) => ({
492
+ let r = (ne = (W = K == null ? void 0 : K.find((I) => (I == null ? void 0 : I.key) === "tableContents")) == null ? void 0 : W.contents) == null ? void 0 : ne.map((I) => ({
493
493
  label: I == null ? void 0 : I[O],
494
494
  value: I == null ? void 0 : I[O]
495
495
  })), $ = $s(g.value);
@@ -508,19 +508,19 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
508
508
  }, [
509
509
  (K == null ? void 0 : K.condition) !== "child" ? (L(), ve("div", {
510
510
  key: 0,
511
- onClick: (F) => j(K)
511
+ onClick: (W) => j(K)
512
512
  }, gl(K.value), 9, lo)) : He("", !0),
513
513
  (K == null ? void 0 : K.condition) === "child" ? (L(), We(an, {
514
514
  class: "bread-ss-select",
515
515
  "popper-class": "bread-ss-select-popper",
516
516
  loading: a.value,
517
517
  modelValue: K.value,
518
- "onUpdate:modelValue": (F) => K.value = F,
518
+ "onUpdate:modelValue": (W) => K.value = W,
519
519
  key: (te = K.options) == null ? void 0 : te.length,
520
520
  content: K.options ?? [],
521
521
  clearable: !1,
522
- onChange: (F) => A(K),
523
- onMouseEnter: (F) => R(K)
522
+ onChange: (W) => A(K),
523
+ onMouseEnter: (W) => R(K)
524
524
  }, null, 8, ["loading", "modelValue", "onUpdate:modelValue", "content", "onChange", "onMouseEnter"])) : He("", !0)
525
525
  ], 4),
526
526
  O !== v.value.length - 1 && Array.isArray(v.value) && ((P = (ue = v.value) == null ? void 0 : ue[O + 1]) == null ? void 0 : P.condition) !== "child" ? (L(), ve("div", ao, [
@@ -560,16 +560,16 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
560
560
  return (P == null ? void 0 : P[(P == null ? void 0 : P.length) - 1]) === "/" && (P = P + ((n = V == null ? void 0 : V[0]) == null ? void 0 : n.value)), P;
561
561
  }), K = [], O = le == null ? void 0 : le.map(async (P) => {
562
562
  let n = await bt(P, !1);
563
- return n = n == null ? void 0 : n.map((F) => {
563
+ return n = n == null ? void 0 : n.map((W) => {
564
564
  var ne;
565
- return F.isShow = !0, F.compData = (ne = F.compData) == null ? void 0 : ne.filter((I) => (I == null ? void 0 : I.key) !== "extraButton" && (I == null ? void 0 : I.key) !== "rowButton"), F.disabled = !0, F;
565
+ return W.isShow = !0, W.compData = (ne = W.compData) == null ? void 0 : ne.filter((I) => (I == null ? void 0 : I.key) !== "extraButton" && (I == null ? void 0 : I.key) !== "rowButton"), W.disabled = !0, W;
566
566
  }), await dn(n);
567
567
  });
568
568
  K = await Promise.all(O);
569
569
  let r = [];
570
570
  K == null || K.forEach((P, n) => {
571
- var F;
572
- let se = (F = le == null ? void 0 : le[n]) == null ? void 0 : F.split("/");
571
+ var W;
572
+ let se = (W = le == null ? void 0 : le[n]) == null ? void 0 : W.split("/");
573
573
  r.push({
574
574
  label: (se == null ? void 0 : se[(se == null ? void 0 : se.length) - 1]) + (se == null ? void 0 : se[(se == null ? void 0 : se.length) - 2]),
575
575
  isShow: !0,
@@ -653,9 +653,9 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
653
653
  setup(i, { emit: m }) {
654
654
  var r;
655
655
  const u = la(fl), { pageMapState: g } = dl(u), b = Ll(fl), { activeMenuPath: a } = dl(b), v = xs(fl), { originalPath: x } = dl(v), j = i, A = m, R = N(""), V = () => {
656
- var ue, P, n, se, F, ne, I, Me, ke, X, Ae;
656
+ var ue, P, n, se, W, ne, I, Me, ke, X, Ae;
657
657
  if (!a.value) return;
658
- const $ = ((P = (ue = a.value) == null ? void 0 : ue.split(x.value)) == null ? void 0 : P[0]) + x.value + ((n = j == null ? void 0 : j.toolBar) == null ? void 0 : n.mainKeyPropValue), te = (I = (ne = (F = (se = g.value) == null ? void 0 : se[$]) == null ? void 0 : F.find((Re) => {
658
+ const $ = ((P = (ue = a.value) == null ? void 0 : ue.split(x.value)) == null ? void 0 : P[0]) + x.value + ((n = j == null ? void 0 : j.toolBar) == null ? void 0 : n.mainKeyPropValue), te = (I = (ne = (W = (se = g.value) == null ? void 0 : se[$]) == null ? void 0 : W.find((Re) => {
659
659
  var Xe, Se, Ve;
660
660
  return ((Ve = (Se = (Xe = Re == null ? void 0 : Re.value) == null ? void 0 : Xe.pageData) == null ? void 0 : Se.comp) == null ? void 0 : Ve.toUpperCase()) === "FORM";
661
661
  })) == null ? void 0 : ne.value) == null ? void 0 : I.pageData;
@@ -817,7 +817,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
817
817
  const se = () => {
818
818
  const Q = Date.now();
819
819
  Q - n < 1200 || (n = Q, P(), console.log("获取消息中心数据成功"));
820
- }, F = async (Q) => {
820
+ }, W = async (Q) => {
821
821
  if (!Q) return;
822
822
  (async (q) => {
823
823
  var y, T, oe, _;
@@ -860,11 +860,11 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
860
860
  })(Q);
861
861
  }, ne = Da(fl), { selectTitle: I } = dl(ne), Me = N(!1), ke = N(), X = N(null), Ae = N(), Re = N(!1), Xe = At(fl), { blobUrls: Se } = dl(Xe), Ve = N(), ol = N(!1), ze = N(!1), be = N(!1), Qe = N(!1), je = N(null), Ze = N([]), tl = N(!1), el = N(!1), $e = N();
862
862
  Za("contentRef", je);
863
- const Ke = la(fl), { isEdit: il, routeToChildPath: J } = dl(Ke), e = m, s = Ll(fl), { asideMenuLoading: w, importLoading: B, activeAsideMenu: k, contentLoading: E, activeMenuPath: o } = dl(s), { logoUrl: t, platNameEn: c } = fs(), { toPersonalCenter: U } = On(), S = i, W = Ot(/* @__PURE__ */ new Map()), Ue = Al(() => k.value.isRouter), ce = () => {
863
+ const Ke = la(fl), { isEdit: il, routeToChildPath: J } = dl(Ke), e = m, s = Ll(fl), { asideMenuLoading: w, importLoading: B, activeAsideMenu: k, contentLoading: E, activeMenuPath: o } = dl(s), { logoUrl: t, platNameEn: c } = fs(), { toPersonalCenter: U } = On(), S = i, F = Ot(/* @__PURE__ */ new Map()), Ue = Al(() => k.value.isRouter), ce = () => {
864
864
  sessionStorage.clear(), localStorage.clear(), window.location.reload();
865
865
  }, nl = Al(() => {
866
866
  const Q = o.value;
867
- return W.value.get(Q);
867
+ return F.value.get(Q);
868
868
  }), Il = yn(async (Q) => {
869
869
  var ye, y, T, oe, _, fe, re, he, ee, Le, Be, Ne, we, Ee, Ie, _e;
870
870
  if ((Q == null ? void 0 : Q.type) !== "table") return;
@@ -877,7 +877,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
877
877
  platId: parseInt((T = r == null ? void 0 : r.value) == null ? void 0 : T.plat_id),
878
878
  pageName: "menu"
879
879
  });
880
- ((_ = (oe = me == null ? void 0 : me.data) == null ? void 0 : oe.result) == null ? void 0 : _.length) > 0 && (ie = me.data.result, W.value.set(o.value, ie));
880
+ ((_ = (oe = me == null ? void 0 : me.data) == null ? void 0 : oe.result) == null ? void 0 : _.length) > 0 && (ie = me.data.result, F.value.set(o.value, ie));
881
881
  }
882
882
  if (!(ie != null && ie.length)) return;
883
883
  const Je = o.value;
@@ -1437,7 +1437,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
1437
1437
  return L(), ve("div", {
1438
1438
  class: "message-item",
1439
1439
  key: Ie,
1440
- onClick: (H) => F(Ee)
1440
+ onClick: (H) => W(Ee)
1441
1441
  }, [
1442
1442
  Z("div", So, [
1443
1443
  ((_e = Ee.find((H) => H.prop === "状态")) == null ? void 0 : _e.value) === "未读" ? (L(), ve("span", To, "[未读]")) : (L(), ve("span", Eo, "[已读]")),
@@ -1468,7 +1468,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
1468
1468
  return L(), ve("div", {
1469
1469
  class: "message-item",
1470
1470
  key: Ie,
1471
- onClick: (H) => F(Ee)
1471
+ onClick: (H) => W(Ee)
1472
1472
  }, [
1473
1473
  Z("div", Uo, [
1474
1474
  ((_e = Ee.find((H) => H.prop === "状态")) == null ? void 0 : _e.value) === "未读" ? (L(), ve("span", Qo, "[未读]")) : (L(), ve("span", Ko, "[已读]")),
@@ -2090,7 +2090,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
2090
2090
  (P = te.value) == null || P.handleResize();
2091
2091
  }
2092
2092
  }), (P, n) => {
2093
- const se = ge("el-sub-menu"), F = ge("el-menu-item"), ne = ge("el-menu");
2093
+ const se = ge("el-sub-menu"), W = ge("el-menu-item"), ne = ge("el-menu");
2094
2094
  return L(), We(ne, {
2095
2095
  ref_key: "menuRef",
2096
2096
  ref: te,
@@ -2137,7 +2137,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
2137
2137
  ]), 1032, ["menuList", "editingPath"])
2138
2138
  ]),
2139
2139
  _: 2
2140
- }, 1032, ["index", "style", "class"])) : I.show ? (L(), We(F, {
2140
+ }, 1032, ["index", "style", "class"])) : I.show ? (L(), We(W, {
2141
2141
  index: I.path,
2142
2142
  key: I.path,
2143
2143
  class: Wl(i.editingPath === (I == null ? void 0 : I.path) && i.editingPath ? "editing-menu" : ""),
@@ -2248,7 +2248,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
2248
2248
  }), yl(() => u == null ? void 0 : u.modelValue, (te) => {
2249
2249
  x.fontIconPrefix = te;
2250
2250
  }, { immediate: !0 }), (te, ue) => {
2251
- const P = ge("svg-icon"), n = ge("el-input"), se = ge("el-tab-pane"), F = ge("el-col"), ne = ge("el-row"), I = ge("el-scrollbar"), Me = ge("el-tabs"), ke = ge("el-popover");
2251
+ const P = ge("svg-icon"), n = ge("el-input"), se = ge("el-tab-pane"), W = ge("el-col"), ne = ge("el-row"), I = ge("el-scrollbar"), Me = ge("el-tabs"), ke = ge("el-popover");
2252
2252
  return L(), ve("div", vi, [
2253
2253
  d(n, {
2254
2254
  modelValue: x.fontIconSearch,
@@ -2319,7 +2319,7 @@ const $n = /* @__PURE__ */ Yl(Xn, [["render", Zn], ["__scopeId", "data-v-f4b6e11
2319
2319
  default: C(() => [
2320
2320
  d(ne, { gutter: 10 }, {
2321
2321
  default: C(() => [
2322
- (L(!0), ve(wl, null, Tl(R.value, (X, Ae) => (L(), We(F, {
2322
+ (L(!0), ve(wl, null, Tl(R.value, (X, Ae) => (L(), We(W, {
2323
2323
  xs: 6,
2324
2324
  sm: 4,
2325
2325
  md: 4,
@@ -2492,7 +2492,7 @@ function Ii(i = "menu") {
2492
2492
  // 水平菜单仅显示一层
2493
2493
  children: t.level === 0 ? [] : t.children ?? [],
2494
2494
  childMenus: se(t.children)
2495
- } : t), F = (o, t) => {
2495
+ } : t), W = (o, t) => {
2496
2496
  var c, U;
2497
2497
  return (U = (c = P.value) == null ? void 0 : c.find((S) => (o.title + t).includes(S.value))) == null ? void 0 : U.value;
2498
2498
  }, ne = (o) => {
@@ -2504,8 +2504,8 @@ function Ii(i = "menu") {
2504
2504
  }, I = (o) => {
2505
2505
  var c, U;
2506
2506
  let t = 0;
2507
- for (const [S, W] of (c = r.value) == null ? void 0 : c.entries())
2508
- o === (W == null ? void 0 : W.object_name) && (W != null && W.create_time) && (t = (U = new Date(W == null ? void 0 : W.create_time)) == null ? void 0 : U.getTime());
2507
+ for (const [S, F] of (c = r.value) == null ? void 0 : c.entries())
2508
+ o === (F == null ? void 0 : F.object_name) && (F != null && F.create_time) && (t = (U = new Date(F == null ? void 0 : F.create_time)) == null ? void 0 : U.getTime());
2509
2509
  return t;
2510
2510
  }, Me = (o, t = "", c = 0) => {
2511
2511
  var Ue;
@@ -2524,7 +2524,7 @@ function Ii(i = "menu") {
2524
2524
  show: !0,
2525
2525
  // icon: Icon[`${level}`],
2526
2526
  // icon: platform.value === 'client' ? handleStaticIcon(menu, level) : handleDynamicIcon(menu, level),
2527
- icon: F(ce, c),
2527
+ icon: W(ce, c),
2528
2528
  carryData: S == null ? void 0 : S.includes(Oe),
2529
2529
  //便于角色授权菜单那里给叶子节点添加按钮节点
2530
2530
  isPenultimate: !ce.children,
@@ -2557,9 +2557,9 @@ function Ii(i = "menu") {
2557
2557
  if (!o) return;
2558
2558
  const t = (U = (c = o == null ? void 0 : o.path) == null ? void 0 : c.split("/")) == null ? void 0 : U[0];
2559
2559
  if (t) {
2560
- const W = (S = ue.value) == null ? void 0 : S.find((Ue) => (Ue == null ? void 0 : Ue.path) === t);
2561
- if (!W || (b.setActiveTopMenuPath(t), !(W != null && W.children))) return;
2562
- b.setAsideMenus(W == null ? void 0 : W.children), b.setActiveMenuPath(o == null ? void 0 : o.path), a.setRouteToChildPath(o == null ? void 0 : o.path);
2560
+ const F = (S = ue.value) == null ? void 0 : S.find((Ue) => (Ue == null ? void 0 : Ue.path) === t);
2561
+ if (!F || (b.setActiveTopMenuPath(t), !(F != null && F.children))) return;
2562
+ b.setAsideMenus(F == null ? void 0 : F.children), b.setActiveMenuPath(o == null ? void 0 : o.path), a.setRouteToChildPath(o == null ? void 0 : o.path);
2563
2563
  }
2564
2564
  },
2565
2565
  { immediate: !0 }
@@ -2583,12 +2583,12 @@ function Ii(i = "menu") {
2583
2583
  platId: Number(sessionStorage.getItem("systemKey")),
2584
2584
  pageName: "menu"
2585
2585
  });
2586
- ((o = S == null ? void 0 : S.data) == null ? void 0 : o.code) === 200 && ((c = (t = S == null ? void 0 : S.data) == null ? void 0 : t.result) == null || c.forEach((W) => {
2587
- U.set(W == null ? void 0 : W.object_id, {
2588
- object_name: W == null ? void 0 : W.object_name,
2589
- father_name: W == null ? void 0 : W.father_name,
2590
- property_name: W == null ? void 0 : W.property_name,
2591
- create_time: W == null ? void 0 : W.create_time
2586
+ ((o = S == null ? void 0 : S.data) == null ? void 0 : o.code) === 200 && ((c = (t = S == null ? void 0 : S.data) == null ? void 0 : t.result) == null || c.forEach((F) => {
2587
+ U.set(F == null ? void 0 : F.object_id, {
2588
+ object_name: F == null ? void 0 : F.object_name,
2589
+ father_name: F == null ? void 0 : F.father_name,
2590
+ property_name: F == null ? void 0 : F.property_name,
2591
+ create_time: F == null ? void 0 : F.create_time
2592
2592
  }), b.setMenuMap(U);
2593
2593
  }));
2594
2594
  } catch (U) {
@@ -2636,7 +2636,7 @@ function Ii(i = "menu") {
2636
2636
  var c, U, S;
2637
2637
  let t;
2638
2638
  try {
2639
- const W = {
2639
+ const F = {
2640
2640
  //新增
2641
2641
  platId: Number(sessionStorage.getItem("systemKey")),
2642
2642
  objectName: o == null ? void 0 : o.path,
@@ -2646,10 +2646,10 @@ function Ii(i = "menu") {
2646
2646
  filter: {},
2647
2647
  order_no: "",
2648
2648
  isShow: !0
2649
- }, Ue = await wi(be.type, W);
2649
+ }, Ue = await wi(be.type, F);
2650
2650
  ((c = Ue == null ? void 0 : Ue.data) == null ? void 0 : c.code) === 200 && (t = (S = (U = Ue == null ? void 0 : Ue.data) == null ? void 0 : U.result) == null ? void 0 : S.object_id, Dl.success("新增成功"));
2651
- } catch (W) {
2652
- throw new Error(W);
2651
+ } catch (F) {
2652
+ throw new Error(F);
2653
2653
  } finally {
2654
2654
  il.value = Date.now(), be.show = !1;
2655
2655
  }
@@ -2662,19 +2662,19 @@ function Ii(i = "menu") {
2662
2662
  }
2663
2663
  function $e(o, t) {
2664
2664
  if (!t) return [];
2665
- const c = [], U = new RegExp(`(^|/)${t}(/|$)`), S = hl(ue.value), W = Ol(S, "path", w == null ? void 0 : w.path);
2665
+ const c = [], U = new RegExp(`(^|/)${t}(/|$)`), S = hl(ue.value), F = Ol(S, "path", w == null ? void 0 : w.path);
2666
2666
  for (const [Ue, ce] of o.entries())
2667
2667
  U.test(ce == null ? void 0 : ce.object_name) && c.push({
2668
2668
  id: Ue,
2669
2669
  //批量替换匹配项的path
2670
- path: el(ce == null ? void 0 : ce.object_name, W == null ? void 0 : W.level, w == null ? void 0 : w.title),
2670
+ path: el(ce == null ? void 0 : ce.object_name, F == null ? void 0 : F.level, w == null ? void 0 : w.title),
2671
2671
  //同步修改fatherName同步点击行面包屑下拉触发
2672
2672
  father_name: ce == null ? void 0 : ce.father_name
2673
2673
  }), U.test(ce == null ? void 0 : ce.father_name) && (ce != null && ce.father_name) && c.push({
2674
2674
  id: Ue,
2675
2675
  path: ce == null ? void 0 : ce.object_name,
2676
2676
  //同步修改fatherName同步点击行面包屑下拉触发
2677
- father_name: el(ce == null ? void 0 : ce.father_name, W == null ? void 0 : W.level, w == null ? void 0 : w.title)
2677
+ father_name: el(ce == null ? void 0 : ce.father_name, F == null ? void 0 : F.level, w == null ? void 0 : w.title)
2678
2678
  });
2679
2679
  return c;
2680
2680
  }
@@ -2683,7 +2683,7 @@ function Ii(i = "menu") {
2683
2683
  try {
2684
2684
  const S = $e(r.value, w == null ? void 0 : w.path);
2685
2685
  if (!(S != null && S.length)) return;
2686
- const W = {
2686
+ const F = {
2687
2687
  platId: Number(sessionStorage.getItem("systemKey")),
2688
2688
  changeContents: [
2689
2689
  {
@@ -2695,7 +2695,7 @@ function Ii(i = "menu") {
2695
2695
  }))
2696
2696
  }
2697
2697
  ]
2698
- }, Ue = await ut(W);
2698
+ }, Ue = await ut(F);
2699
2699
  ((o = Ue == null ? void 0 : Ue.data) == null ? void 0 : o.code) === 200 && ((c = (t = Ue == null ? void 0 : Ue.data) == null ? void 0 : t.message) != null && c.includes("成功")) && (ue.value = (U = ue.value) == null ? void 0 : U.map((ce) => (ce == null ? void 0 : ce.path) === (w == null ? void 0 : w.path) ? {
2700
2700
  ...ce,
2701
2701
  title: w == null ? void 0 : w.title,
@@ -2735,7 +2735,7 @@ function Ii(i = "menu") {
2735
2735
  cancelButtonText: "取消",
2736
2736
  type: "warning"
2737
2737
  }).then(async () => {
2738
- var S, W, Ue, ce;
2738
+ var S, F, Ue, ce;
2739
2739
  const t = $e(r.value, o == null ? void 0 : o.path), c = {
2740
2740
  platId: Number(sessionStorage.getItem("systemKey")),
2741
2741
  changeContents: [
@@ -2747,7 +2747,7 @@ function Ii(i = "menu") {
2747
2747
  }
2748
2748
  ]
2749
2749
  }, U = await ms(c);
2750
- ((S = U == null ? void 0 : U.data) == null ? void 0 : S.code) === 200 && ((Ue = (W = U == null ? void 0 : U.data) == null ? void 0 : W.message) != null && Ue.includes("成功")) && (console.log("onDeleteMenu", c, U), ue.value = (ce = ke.value) == null ? void 0 : ce.filter((nl) => (nl == null ? void 0 : nl.path) !== (o == null ? void 0 : o.path)), il.value = Date.now(), be.show = !1, s(), Dl.success("删除成功"));
2750
+ ((S = U == null ? void 0 : U.data) == null ? void 0 : S.code) === 200 && ((Ue = (F = U == null ? void 0 : U.data) == null ? void 0 : F.message) != null && Ue.includes("成功")) && (console.log("onDeleteMenu", c, U), ue.value = (ce = ke.value) == null ? void 0 : ce.filter((nl) => (nl == null ? void 0 : nl.path) !== (o == null ? void 0 : o.path)), il.value = Date.now(), be.show = !1, s(), Dl.success("删除成功"));
2751
2751
  });
2752
2752
  } catch (t) {
2753
2753
  throw new Error(t);
@@ -2768,7 +2768,7 @@ function Ii(i = "menu") {
2768
2768
  w.title = o == null ? void 0 : o.title, w.icon = o == null ? void 0 : o.icon, w.path = o == null ? void 0 : o.path, be.type = "update";
2769
2769
  }, E = N(null);
2770
2770
  return yl(() => m, async (o) => {
2771
- var S, W;
2771
+ var S, F;
2772
2772
  const { editingForm: t, hasConfirmMenu: c, type: U } = o;
2773
2773
  if (be.type = U, c && U === "create" && (t != null && t.title)) {
2774
2774
  const Ue = await tl({
@@ -2785,7 +2785,7 @@ function Ii(i = "menu") {
2785
2785
  children: [],
2786
2786
  show: !0,
2787
2787
  create_time: (S = /* @__PURE__ */ new Date()) == null ? void 0 : S.getTime()
2788
- }), u("closeEditing"), (W = E.value) == null || W.handleResize();
2788
+ }), u("closeEditing"), (F = E.value) == null || F.handleResize();
2789
2789
  }
2790
2790
  w.title = t == null ? void 0 : t.title, w.icon = t == null ? void 0 : t.icon, w.path = t == null ? void 0 : t.path;
2791
2791
  }, { immediate: !0, deep: !0 }), {
@@ -2836,7 +2836,7 @@ function Ti(i, m, u, g, b, a) {
2836
2836
  key: 1,
2837
2837
  class: "menu-title",
2838
2838
  title: "双击编辑",
2839
- onDblclick: (F) => i.onDbClickMenu(te)
2839
+ onDblclick: (W) => i.onDbClickMenu(te)
2840
2840
  }, gl(te.title ?? ""), 41, Si)) : He("", !0),
2841
2841
  (n = i.menuForm) != null && n.path && ((se = i.menuForm) == null ? void 0 : se.path) === (te == null ? void 0 : te.path) ? (L(), We(O, {
2842
2842
  key: 2,
@@ -2854,24 +2854,24 @@ function Ti(i, m, u, g, b, a) {
2854
2854
  default: C(() => [
2855
2855
  d(le, {
2856
2856
  modelValue: i.menuForm.title,
2857
- "onUpdate:modelValue": m[1] || (m[1] = (F) => i.menuForm.title = F),
2857
+ "onUpdate:modelValue": m[1] || (m[1] = (W) => i.menuForm.title = W),
2858
2858
  placeholder: "请输入",
2859
2859
  onChange: i.onConfirmMenu
2860
2860
  }, {
2861
2861
  prepend: C(() => [
2862
2862
  d(x, {
2863
2863
  modelValue: i.menuForm.icon,
2864
- "onUpdate:modelValue": m[0] || (m[0] = (F) => i.menuForm.icon = F),
2864
+ "onUpdate:modelValue": m[0] || (m[0] = (W) => i.menuForm.icon = W),
2865
2865
  placeholder: "菜单图标",
2866
2866
  type: "all"
2867
2867
  }, null, 8, ["modelValue"])
2868
2868
  ]),
2869
2869
  append: C(() => {
2870
- var F, ne, I;
2870
+ var W, ne, I;
2871
2871
  return [
2872
2872
  d(A, {
2873
2873
  title: "确认",
2874
- style: Rl({ color: (F = i.menuForm.title) != null && F.length ? "var(--el-color-primary)" : "var(--el-color-info)" }),
2874
+ style: Rl({ color: (W = i.menuForm.title) != null && W.length ? "var(--el-color-primary)" : "var(--el-color-info)" }),
2875
2875
  onClick: ta(i.onConfirmMenu, ["stop"])
2876
2876
  }, {
2877
2877
  default: C(() => [
@@ -2984,7 +2984,7 @@ function Bi(i = "menu") {
2984
2984
  var de, xe;
2985
2985
  return !(ae != null && ae.children) || ((de = ae == null ? void 0 : ae.children) == null ? void 0 : de.length) === 0 ? ae.config = g.value : ae != null && ae.children && ((xe = ae == null ? void 0 : ae.children) == null ? void 0 : xe.length) > 0 && (ae.children = n(ae.children)), ae;
2986
2986
  }), D;
2987
- }), F = N([]), ne = async (D) => {
2987
+ }), W = N([]), ne = async (D) => {
2988
2988
  var Y, ae, de, xe, Q, p, q, ye, y, T, oe, _, fe, re, he, ee, Le, Be, Ne, we;
2989
2989
  try {
2990
2990
  if (!V.value) return;
@@ -3033,7 +3033,7 @@ function Bi(i = "menu") {
3033
3033
  for (const [H, Ce] of Ie.entries())
3034
3034
  Je.push(Ce);
3035
3035
  const ul = yt(Je, "groupId", "namePath", "groupName");
3036
- F.value = Cn(ul, "columns"), u("getPageStructure", Ie), u("getGroupOptions", F.value);
3036
+ W.value = Cn(ul, "columns"), u("getPageStructure", Ie), u("getGroupOptions", W.value);
3037
3037
  }
3038
3038
  } catch (Ee) {
3039
3039
  throw new Error(Ee);
@@ -3185,7 +3185,7 @@ function Bi(i = "menu") {
3185
3185
  el(D);
3186
3186
  break;
3187
3187
  case "create":
3188
- W(D);
3188
+ F(D);
3189
3189
  break;
3190
3190
  case "createCompName":
3191
3191
  k.type = "create", k.show = !0;
@@ -3237,7 +3237,7 @@ function Bi(i = "menu") {
3237
3237
  }, S = () => {
3238
3238
  for (const D in Te)
3239
3239
  Te[D] = "";
3240
- }, W = (D) => {
3240
+ }, F = (D) => {
3241
3241
  U(), B.parentPath = D == null ? void 0 : D.path, B.type = "create", B.show = !0;
3242
3242
  }, Ue = async (D) => {
3243
3243
  var ae, de, xe;
@@ -3399,7 +3399,7 @@ function Bi(i = "menu") {
3399
3399
  var ae, de, xe, Q;
3400
3400
  if (Y) {
3401
3401
  if (!((ae = I.value) != null && ae.path)) return Dl.warning("请先选择所属菜单");
3402
- const p = Ol(F.value, "groupId", Te == null ? void 0 : Te.pid);
3402
+ const p = Ol(W.value, "groupId", Te == null ? void 0 : Te.pid);
3403
3403
  let q;
3404
3404
  p ? q = [...((de = p == null ? void 0 : p.namePath) == null ? void 0 : de.split("/")) ?? [], Te == null ? void 0 : Te.title] : q = [Te == null ? void 0 : Te.title];
3405
3405
  const ye = {
@@ -3462,7 +3462,7 @@ function Bi(i = "menu") {
3462
3462
  fixElement: R,
3463
3463
  onBlur: tl,
3464
3464
  isSuperAdmin: ue,
3465
- onClickCreateMenu: W,
3465
+ onClickCreateMenu: F,
3466
3466
  menuPlusDialogInfo: B,
3467
3467
  onCloseMenuPlusDialog: t,
3468
3468
  onConfirmMenu: Il,
@@ -3508,7 +3508,7 @@ function Bi(i = "menu") {
3508
3508
  ],
3509
3509
  onConfirmGroup: pe,
3510
3510
  activeMainEditMenuPath: K,
3511
- activeGroupOptions: F
3511
+ activeGroupOptions: W
3512
3512
  };
3513
3513
  }
3514
3514
  };
@@ -3535,22 +3535,22 @@ function Li(i, m, u, g, b, a) {
3535
3535
  onOpenMenu: i.openMenu,
3536
3536
  onCloseMenu: i.closeMenu
3537
3537
  }, {
3538
- title: C(({ menu: F }) => {
3538
+ title: C(({ menu: W }) => {
3539
3539
  var ne, I, Me, ke, X;
3540
3540
  return [
3541
- (F == null ? void 0 : F.path) !== ((ne = i.menuForm) == null ? void 0 : ne.path) ? (L(), We(v, {
3541
+ (W == null ? void 0 : W.path) !== ((ne = i.menuForm) == null ? void 0 : ne.path) ? (L(), We(v, {
3542
3542
  key: 0,
3543
- name: F.icon ?? ((F == null ? void 0 : F.level) <= 2 ? "default" : ""),
3543
+ name: W.icon ?? ((W == null ? void 0 : W.level) <= 2 ? "default" : ""),
3544
3544
  class: "menu-icon"
3545
3545
  }, null, 8, ["name"])) : He("", !0),
3546
- (F == null ? void 0 : F.path) !== ((I = i.menuForm) == null ? void 0 : I.path) ? (L(), ve("span", {
3546
+ (W == null ? void 0 : W.path) !== ((I = i.menuForm) == null ? void 0 : I.path) ? (L(), ve("span", {
3547
3547
  key: 1,
3548
- title: F.title + "(双击编辑)",
3548
+ title: W.title + "(双击编辑)",
3549
3549
  class: "menu-title",
3550
- style: Rl({ marginRight: F != null && F.config && ((Me = F == null ? void 0 : F.config) == null ? void 0 : Me.length) > 0 ? "25px" : "1px" }),
3551
- onDblclick: (Ae) => i.onDbClickMenu(F)
3552
- }, gl(F.title ?? ""), 45, Pi)) : He("", !0),
3553
- ((ke = i.menuForm) == null ? void 0 : ke.path) === (F == null ? void 0 : F.path) ? (L(), We(K, {
3550
+ style: Rl({ marginRight: W != null && W.config && ((Me = W == null ? void 0 : W.config) == null ? void 0 : Me.length) > 0 ? "25px" : "1px" }),
3551
+ onDblclick: (Ae) => i.onDbClickMenu(W)
3552
+ }, gl(W.title ?? ""), 45, Pi)) : He("", !0),
3553
+ ((ke = i.menuForm) == null ? void 0 : ke.path) === (W == null ? void 0 : W.path) ? (L(), We(K, {
3554
3554
  key: 2,
3555
3555
  ref: "menuFormRef",
3556
3556
  model: i.menuForm,
@@ -3611,7 +3611,7 @@ function Li(i, m, u, g, b, a) {
3611
3611
  ]),
3612
3612
  _: 1
3613
3613
  }, 8, ["model", "rules"])) : He("", !0),
3614
- ((X = i.menuForm) == null ? void 0 : X.path) !== (F == null ? void 0 : F.path) ? (L(), ve("span", _i, [
3614
+ ((X = i.menuForm) == null ? void 0 : X.path) !== (W == null ? void 0 : W.path) ? (L(), ve("span", _i, [
3615
3615
  d(O, {
3616
3616
  title: "",
3617
3617
  placement: "bottom-start",
@@ -3629,7 +3629,7 @@ function Li(i, m, u, g, b, a) {
3629
3629
  (L(!0), ve(wl, null, Tl(i.menuOperations, (Ae) => (L(), ve("div", {
3630
3630
  class: "menu-config-item",
3631
3631
  key: Ae.title,
3632
- onClick: (Re) => i.clickMenuIcon(F, Ae)
3632
+ onClick: (Re) => i.clickMenuIcon(W, Ae)
3633
3633
  }, [
3634
3634
  d(v, {
3635
3635
  name: Ae == null ? void 0 : Ae.icon,
@@ -3669,24 +3669,24 @@ function Li(i, m, u, g, b, a) {
3669
3669
  default: C(() => [
3670
3670
  d(V, {
3671
3671
  modelValue: i.menuForm.title,
3672
- "onUpdate:modelValue": m[3] || (m[3] = (F) => i.menuForm.title = F),
3672
+ "onUpdate:modelValue": m[3] || (m[3] = (W) => i.menuForm.title = W),
3673
3673
  placeholder: "请输入",
3674
3674
  onChange: i.onConfirmMenu
3675
3675
  }, {
3676
3676
  prepend: C(() => [
3677
3677
  d(x, {
3678
3678
  modelValue: i.menuForm.icon,
3679
- "onUpdate:modelValue": m[2] || (m[2] = (F) => i.menuForm.icon = F),
3679
+ "onUpdate:modelValue": m[2] || (m[2] = (W) => i.menuForm.icon = W),
3680
3680
  placeholder: "菜单图标",
3681
3681
  type: "all"
3682
3682
  }, null, 8, ["modelValue"])
3683
3683
  ]),
3684
3684
  append: C(() => {
3685
- var F, ne;
3685
+ var W, ne;
3686
3686
  return [
3687
3687
  d(A, {
3688
3688
  title: "确认",
3689
- style: Rl({ color: (F = i.menuForm.title) != null && F.length ? "var(--el-color-primary)" : "var(--el-color-info)" }),
3689
+ style: Rl({ color: (W = i.menuForm.title) != null && W.length ? "var(--el-color-primary)" : "var(--el-color-info)" }),
3690
3690
  onClick: i.onConfirmMenu
3691
3691
  }, {
3692
3692
  default: C(() => [
@@ -3758,7 +3758,7 @@ function Li(i, m, u, g, b, a) {
3758
3758
  default: C(() => [
3759
3759
  d($, {
3760
3760
  modelValue: i.compForm.pid,
3761
- "onUpdate:modelValue": m[4] || (m[4] = (F) => i.compForm.pid = F),
3761
+ "onUpdate:modelValue": m[4] || (m[4] = (W) => i.compForm.pid = W),
3762
3762
  clearable: "",
3763
3763
  options: i.activeGroupOptions,
3764
3764
  props: { checkStrictly: !0, emitPath: !1, value: "groupId", label: "groupName" },
@@ -3774,7 +3774,7 @@ function Li(i, m, u, g, b, a) {
3774
3774
  default: C(() => [
3775
3775
  d(V, {
3776
3776
  modelValue: i.compForm.title,
3777
- "onUpdate:modelValue": m[5] || (m[5] = (F) => i.compForm.title = F),
3777
+ "onUpdate:modelValue": m[5] || (m[5] = (W) => i.compForm.title = W),
3778
3778
  clearable: "",
3779
3779
  placeholder: "请输入"
3780
3780
  }, null, 8, ["modelValue"])
@@ -3788,14 +3788,14 @@ function Li(i, m, u, g, b, a) {
3788
3788
  default: C(() => [
3789
3789
  d(ue, {
3790
3790
  modelValue: i.compForm.type,
3791
- "onUpdate:modelValue": m[6] || (m[6] = (F) => i.compForm.type = F),
3791
+ "onUpdate:modelValue": m[6] || (m[6] = (W) => i.compForm.type = W),
3792
3792
  clearable: ""
3793
3793
  }, {
3794
3794
  default: C(() => [
3795
- (L(!0), ve(wl, null, Tl(i.compTypeOptions, (F) => (L(), We(te, {
3796
- key: F.value,
3797
- label: F.label,
3798
- value: F.value
3795
+ (L(!0), ve(wl, null, Tl(i.compTypeOptions, (W) => (L(), We(te, {
3796
+ key: W.value,
3797
+ label: W.label,
3798
+ value: W.value
3799
3799
  }, null, 8, ["label", "value"]))), 128))
3800
3800
  ]),
3801
3801
  _: 1
@@ -3994,7 +3994,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
3994
3994
  //水平方向对齐
3995
3995
  });
3996
3996
  }, le = N({}), K = (P, n) => {
3997
- var se, F;
3997
+ var se, W;
3998
3998
  switch (n) {
3999
3999
  case "remove":
4000
4000
  break;
@@ -4008,7 +4008,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4008
4008
  if (I)
4009
4009
  return I.focus(), b.value = ne == null ? void 0 : ne.id, V();
4010
4010
  } else {
4011
- const I = "new" + ((F = a.value) == null ? void 0 : F.length) + 1;
4011
+ const I = "new" + ((W = a.value) == null ? void 0 : W.length) + 1;
4012
4012
  le.value = {
4013
4013
  id: I,
4014
4014
  label: "",
@@ -4020,11 +4020,11 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4020
4020
  }
4021
4021
  }, O = (P) => {
4022
4022
  var n, se;
4023
- u != null && u.level && g("onDeleteTab", P), (n = String(P == null ? void 0 : P.id)) != null && n.includes("new") ? a.value = (se = a.value) == null ? void 0 : se.filter((F) => (F == null ? void 0 : F.id) !== (P == null ? void 0 : P.id)) : g("onClickOperateData", "delete", P, u == null ? void 0 : u.group);
4023
+ u != null && u.level && g("onDeleteTab", P), (n = String(P == null ? void 0 : P.id)) != null && n.includes("new") ? a.value = (se = a.value) == null ? void 0 : se.filter((W) => (W == null ? void 0 : W.id) !== (P == null ? void 0 : P.id)) : g("onClickOperateData", "delete", P, u == null ? void 0 : u.group);
4024
4024
  }, r = (P, n) => {
4025
4025
  var I, Me, ke;
4026
4026
  if (!P) return;
4027
- const se = (I = String(n == null ? void 0 : n.id)) != null && I.includes("new") ? "create" : "update", F = (Me = a.value) == null ? void 0 : Me.find((X) => {
4027
+ const se = (I = String(n == null ? void 0 : n.id)) != null && I.includes("new") ? "create" : "update", W = (Me = a.value) == null ? void 0 : Me.find((X) => {
4028
4028
  var Ae;
4029
4029
  return (Ae = String(X == null ? void 0 : X.id)) == null ? void 0 : Ae.includes("new");
4030
4030
  });
@@ -4034,7 +4034,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4034
4034
  label: P,
4035
4035
  prop: se === "create" ? P : n == null ? void 0 : n.prop,
4036
4036
  //避免修改到其余prop
4037
- parentProp: (n == null ? void 0 : n.parentProp) || F.parentProp,
4037
+ parentProp: (n == null ? void 0 : n.parentProp) || (W == null ? void 0 : W.parentProp),
4038
4038
  id: se === "create" ? ((n == null ? void 0 : n.parentProp) || (n == null ? void 0 : n.parentTab)) + "." + P : n == null ? void 0 : n.id
4039
4039
  }, u == null ? void 0 : u.group, !0), u != null && u.level && g("onChangeTabInput", P, n);
4040
4040
  };
@@ -4046,7 +4046,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4046
4046
  return yl(() => u.data, (P) => {
4047
4047
  a.value = P;
4048
4048
  }, { immediate: !0, deep: !0 }), (P, n) => {
4049
- const se = ge("el-icon"), F = ge("svg-icon"), ne = ge("el-input"), I = ge("tab-index"), Me = ge("el-tab-pane"), ke = ge("el-tabs");
4049
+ const se = ge("el-icon"), W = ge("svg-icon"), ne = ge("el-input"), I = ge("tab-index"), Me = ge("el-tab-pane"), ke = ge("el-tabs");
4050
4050
  return L(), We(ke, {
4051
4051
  key: i.key,
4052
4052
  modelValue: b.value,
@@ -4093,7 +4093,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4093
4093
  }, {
4094
4094
  append: C(() => [
4095
4095
  Z("span", Wi, [
4096
- d(F, {
4096
+ d(W, {
4097
4097
  onClick: ta((Re) => ue(X), ["stop"]),
4098
4098
  name: "softEdit",
4099
4099
  style: { width: "16px", height: "16px", color: "var(--el-color-primary)" }
@@ -4104,7 +4104,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4104
4104
  title: "删除",
4105
4105
  onClick: ta((Re) => O(X), ["stop"])
4106
4106
  }, [
4107
- d(F, { name: "softDelete" })
4107
+ d(W, { name: "softDelete" })
4108
4108
  ], 8, Fi)
4109
4109
  ]),
4110
4110
  _: 2
@@ -4135,7 +4135,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4135
4135
  }, 8, ["modelValue", "class"]);
4136
4136
  };
4137
4137
  }
4138
- }), Xi = /* @__PURE__ */ Yl(qi, [["__scopeId", "data-v-73eb49eb"]]), zi = { class: "client-header-logo" }, Zi = {
4138
+ }), Xi = /* @__PURE__ */ Yl(qi, [["__scopeId", "data-v-b5d3703e"]]), zi = { class: "client-header-logo" }, Zi = {
4139
4139
  key: 0,
4140
4140
  class: "logo-img"
4141
4141
  }, $i = ["src"], ec = { class: "client-header-menu edit" }, lc = { style: { display: "flex", "align-items": "center", "justify-content": "flex-end", gap: "12px" } }, ac = { class: "plus-wrapper" }, sc = {
@@ -4275,7 +4275,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4275
4275
  label: "bol",
4276
4276
  value: "bol"
4277
4277
  }
4278
- ], F = N(null), ne = [
4278
+ ], W = N(null), ne = [
4279
4279
  {
4280
4280
  label: "输入框",
4281
4281
  value: "Input"
@@ -4377,7 +4377,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4377
4377
  }, X = () => {
4378
4378
  var h;
4379
4379
  try {
4380
- O.value = !1, (h = F.value) == null || h.validate(async (l) => {
4380
+ O.value = !1, (h = W.value) == null || h.validate(async (l) => {
4381
4381
  l && (await ke(), ue.show = !1);
4382
4382
  });
4383
4383
  } catch (l) {
@@ -4469,7 +4469,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4469
4469
  try {
4470
4470
  switch (O.value = !1, console.log("group", k.value), h) {
4471
4471
  case "create":
4472
- n.groupType = (M == null ? void 0 : M.type) || W.value, n.groupId = M == null ? void 0 : M.id, ol(M == null ? void 0 : M.id), ue.type = h, ue.hasMultiHeader = M == null ? void 0 : M.hasMultiHeader, pe ? (n.prop = (l == null ? void 0 : l.prop) || (l == null ? void 0 : l.label), n.label = l == null ? void 0 : l.label, n.parentProp = l == null ? void 0 : l.parentProp, ke()) : ue.show = !0;
4472
+ n.groupType = (M == null ? void 0 : M.type) || F.value, n.groupId = M == null ? void 0 : M.id, ol(M == null ? void 0 : M.id), ue.type = h, ue.hasMultiHeader = M == null ? void 0 : M.hasMultiHeader, pe ? (n.prop = (l == null ? void 0 : l.prop) || (l == null ? void 0 : l.label), n.label = l == null ? void 0 : l.label, n.parentProp = l == null ? void 0 : l.parentProp, ke()) : ue.show = !0;
4473
4473
  break;
4474
4474
  case "update":
4475
4475
  ol(M == null ? void 0 : M.id), (G = Object.keys(l)) == null || G.forEach((al) => {
@@ -4569,7 +4569,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4569
4569
  });
4570
4570
  }, c = N([]), U = (h) => {
4571
4571
  c.value = h;
4572
- }, S = N(null), W = N(""), Ue = (h) => {
4572
+ }, S = N(null), F = N(""), Ue = (h) => {
4573
4573
  var M, pe, G, qe;
4574
4574
  let l = [];
4575
4575
  S.value = h;
@@ -4585,7 +4585,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4585
4585
  nameObj: Pe == null ? void 0 : Pe.nameObj,
4586
4586
  create_time: Pe == null ? void 0 : Pe.create_time
4587
4587
  });
4588
- k.value = (M = yt(l)) == null ? void 0 : M.sort((Te, Pe) => (Te == null ? void 0 : Te.create_time) - (Pe == null ? void 0 : Pe.create_time)), W.value = (qe = (G = (pe = l == null ? void 0 : l[0]) == null ? void 0 : pe.data) == null ? void 0 : G[0]) == null ? void 0 : qe.groupType;
4588
+ k.value = (M = yt(l)) == null ? void 0 : M.sort((Te, Pe) => (Te == null ? void 0 : Te.create_time) - (Pe == null ? void 0 : Pe.create_time)), F.value = (qe = (G = (pe = l == null ? void 0 : l[0]) == null ? void 0 : pe.data) == null ? void 0 : G[0]) == null ? void 0 : qe.groupType;
4589
4589
  }, ce = (h) => {
4590
4590
  try {
4591
4591
  if (!(h != null && h.id)) return;
@@ -4947,7 +4947,7 @@ const xi = /* @__PURE__ */ Yl(Di, [["render", Li], ["__scopeId", "data-v-05c0555
4947
4947
  default: C(() => [
4948
4948
  d(qe, {
4949
4949
  ref_key: "tableFormRef",
4950
- ref: F,
4950
+ ref: W,
4951
4951
  style: { width: "100%" },
4952
4952
  model: n,
4953
4953
  rules: I.value,
@@ -5203,7 +5203,7 @@ function Qt(i = "menu") {
5203
5203
  }, se = async (J) => {
5204
5204
  const e = Ol(P.value, "path", J);
5205
5205
  a.setActiveAsideMenu(e), v.setRouteToChildPath(""), r.value ? v.setFixMenuStatus(!1) : (Ke.value && (K.value = "open"), K.value === "click" ? A.value === 1 ? a.setActiveMenuPath(sessionStorage.getItem("pageKey")) : a.setActiveMenuPath(J) : Ke.value || (a.setMenuTriggerType("click"), a.setActiveMenuPath(J))), J != null && J.startsWith("/") ? R.push(J) : R.push("/"), A.value++;
5206
- }, F = (J) => {
5206
+ }, W = (J) => {
5207
5207
  Ke.value || a.setActiveMenuPath(J);
5208
5208
  }, ne = (J) => {
5209
5209
  const e = document.documentElement;
@@ -5247,7 +5247,7 @@ function Qt(i = "menu") {
5247
5247
  data: J
5248
5248
  }), a.setIsRefreshMenus(!0);
5249
5249
  }, be = async (J, e, s) => {
5250
- var w, B, k, E, o, t, c, U, S, W, Ue, ce, nl, Il, Oe, h, l, M, pe, G, qe, Te, Pe, Ge, al, bl, D, Y, ae, de, xe, Q, p, q, ye, y, T, oe, _, fe, re, he;
5250
+ var w, B, k, E, o, t, c, U, S, F, Ue, ce, nl, Il, Oe, h, l, M, pe, G, qe, Te, Pe, Ge, al, bl, D, Y, ae, de, xe, Q, p, q, ye, y, T, oe, _, fe, re, he;
5251
5251
  if (e === "create") {
5252
5252
  let ee = (s == null ? void 0 : s.title) + "(1)", Le = await Fl({
5253
5253
  key: {
@@ -5276,7 +5276,7 @@ function Qt(i = "menu") {
5276
5276
  ""
5277
5277
  );
5278
5278
  if (we.push(ee), we = we == null ? void 0 : we.join("/"), (Ee == null ? void 0 : Ee.length) > 0) {
5279
- let Ie = Ee == null ? void 0 : Ee[0], _e = (Ue = (W = Ie == null ? void 0 : Ie.compData) == null ? void 0 : W.find((ie) => (ie == null ? void 0 : ie.key) === "header")) == null ? void 0 : Ue.contents;
5279
+ let Ie = Ee == null ? void 0 : Ee[0], _e = (Ue = (F = Ie == null ? void 0 : Ie.compData) == null ? void 0 : F.find((ie) => (ie == null ? void 0 : ie.key) === "header")) == null ? void 0 : Ue.contents;
5280
5280
  if (((ce = _e == null ? void 0 : _e[0]) == null ? void 0 : ce.directiveLabel) === "#isMain") {
5281
5281
  let ie = (nl = _e == null ? void 0 : _e[0]) == null ? void 0 : nl.prop, Je = (Oe = (Il = Ie == null ? void 0 : Ie.compData) == null ? void 0 : Il.find(
5282
5282
  (H) => (H == null ? void 0 : H.key) === "tableContents"
@@ -5366,13 +5366,13 @@ function Qt(i = "menu") {
5366
5366
  ), a.setActiveTopMenuPath((he = (re = s == null ? void 0 : s.path) == null ? void 0 : re.split("/")) == null ? void 0 : he[0]), a.setIsRefreshMenus(!1), a.setIsRefreshMenus(!0);
5367
5367
  }
5368
5368
  }, Qe = async (J, e) => {
5369
- var U, S, W, Ue, ce, nl, Il, Oe, h, l, M, pe, G, qe, Te, Pe, Ge, al, bl, D, Y, ae, de, xe, Q, p, q, ye, y, T, oe;
5369
+ var U, S, F, Ue, ce, nl, Il, Oe, h, l, M, pe, G, qe, Te, Pe, Ge, al, bl, D, Y, ae, de, xe, Q, p, q, ye, y, T, oe;
5370
5370
  let s = await Fl({
5371
5371
  key: {
5372
5372
  systemKey: sessionStorage.getItem("systemKey"),
5373
5373
  pageKey: "menu"
5374
5374
  }
5375
- }), w = (S = (U = s == null ? void 0 : s.data) == null ? void 0 : U.result) == null ? void 0 : S[0], B = (W = w == null ? void 0 : w.value) == null ? void 0 : W.pageData;
5375
+ }), w = (S = (U = s == null ? void 0 : s.data) == null ? void 0 : U.result) == null ? void 0 : S[0], B = (F = w == null ? void 0 : w.value) == null ? void 0 : F.pageData;
5376
5376
  B.compData = (Ue = B.compData) == null ? void 0 : Ue.map((_) => {
5377
5377
  var fe, re;
5378
5378
  return (_ == null ? void 0 : _.key) === "menuContents" && (_.contents = Ut(_.contents, (fe = e == null ? void 0 : e.path) == null ? void 0 : fe.split("/"), e == null ? void 0 : e.title, (re = J == null ? void 0 : J.target) == null ? void 0 : re.value)), _;
@@ -5473,7 +5473,7 @@ function Qt(i = "menu") {
5473
5473
  renderMenuList: P,
5474
5474
  clickMenu: n,
5475
5475
  openMenu: se,
5476
- closeMenu: F,
5476
+ closeMenu: W,
5477
5477
  changeMenuStyle: ne,
5478
5478
  fixElement: V,
5479
5479
  onBlur: Qe,
@@ -5525,7 +5525,7 @@ function Kt(i = "menu") {
5525
5525
  activeMenuPath: r,
5526
5526
  linkMenuInfo: $,
5527
5527
  updateMenuStatus: te
5528
- } = dl(g), ue = Hl(), { structureData: P } = dl(ue), n = N([]), se = N([]), F = Al(() => m == null ? void 0 : m.mode), ne = N({}), I = (e) => e == null ? void 0 : e.map((s) => s.children && s.children.length > 0 ? {
5528
+ } = dl(g), ue = Hl(), { structureData: P } = dl(ue), n = N([]), se = N([]), W = Al(() => m == null ? void 0 : m.mode), ne = N({}), I = (e) => e == null ? void 0 : e.map((s) => s.children && s.children.length > 0 ? {
5529
5529
  ...s,
5530
5530
  // 水平菜单仅显示一层
5531
5531
  children: s.level === 0 ? [] : s.children ?? [],
@@ -5751,7 +5751,7 @@ function Kt(i = "menu") {
5751
5751
  S && B.push(il());
5752
5752
  });
5753
5753
  const k = await Promise.all(B), E = k == null ? void 0 : k.map((S) => {
5754
- const { id: W, ...Ue } = S;
5754
+ const { id: F, ...Ue } = S;
5755
5755
  return Ue;
5756
5756
  }), o = E == null ? void 0 : E.map((S) => ({
5757
5757
  key: {
@@ -5780,8 +5780,8 @@ function Kt(i = "menu") {
5780
5780
  (k = K.value) == null ? void 0 : k.data,
5781
5781
  U,
5782
5782
  (E = K.value) == null ? void 0 : E.type
5783
- ), W = (o = S == null ? void 0 : S.filter((nl) => nl.path !== "平台管理")) == null ? void 0 : o.map((nl) => el(nl));
5784
- await J((t = K.value) == null ? void 0 : t.data), g.setAsideMenuLoading(!0), await Ke(W);
5783
+ ), F = (o = S == null ? void 0 : S.filter((nl) => nl.path !== "平台管理")) == null ? void 0 : o.map((nl) => el(nl));
5784
+ await J((t = K.value) == null ? void 0 : t.data), g.setAsideMenuLoading(!0), await Ke(F);
5785
5785
  const Ue = await ol(O.value), ce = (Ue == null ? void 0 : Ue.length) === 0 ? (c = O.value) == null ? void 0 : c.childMenus : Ue;
5786
5786
  g.setAsideMenus(ce);
5787
5787
  } catch (U) {
@@ -5790,7 +5790,7 @@ function Kt(i = "menu") {
5790
5790
  },
5791
5791
  { immediate: !0 }
5792
5792
  ), {
5793
- mode: F,
5793
+ mode: W,
5794
5794
  renderMenuList: X,
5795
5795
  clickMenu: ze,
5796
5796
  openMenu: be,
@@ -5853,8 +5853,8 @@ const wc = /* @__PURE__ */ Yl(bc, [["render", kc], ["__scopeId", "data-v-94d06d5
5853
5853
  }).length
5854
5854
  );
5855
5855
  Al(() => a.value > 99 ? "99+" : a.value);
5856
- const v = xs(fl), { originalPath: x } = dl(v), j = x.value, A = Da(fl), { selectTitle: R } = dl(A), V = N(!1), le = N(null), K = N(), O = N(!1), r = At(fl), { blobUrls: $ } = dl(r), te = N(!1), ue = N(!1), P = N(!1), n = N([]), se = N(!1), F = N(null), ne = N([]), I = N(!1);
5857
- Za("contentRef", F);
5856
+ const v = xs(fl), { originalPath: x } = dl(v), j = x.value, A = Da(fl), { selectTitle: R } = dl(A), V = N(!1), le = N(null), K = N(), O = N(!1), r = At(fl), { blobUrls: $ } = dl(r), te = N(!1), ue = N(!1), P = N(!1), n = N([]), se = N(!1), W = N(null), ne = N([]), I = N(!1);
5857
+ Za("contentRef", W);
5858
5858
  const Me = Hl(), { loginUserInfo: ke } = dl(Me), X = la(fl), { isEdit: Ae, routeToChildPath: Re } = dl(X), Xe = m, Se = Ll(fl), { asideMenuLoading: Ve, importLoading: ol, activeAsideMenu: ze, contentLoading: be, platName: Qe, activeMenuPath: je } = dl(Se), Ze = Ln(fl), { data: tl } = dl(Ze), { setData: el } = xn(), $e = Al(() => ze.value.isRouter), Ke = () => {
5859
5859
  sessionStorage.clear(), window.location.reload();
5860
5860
  }, il = (y) => {
@@ -6027,7 +6027,7 @@ const wc = /* @__PURE__ */ Yl(bc, [["render", kc], ["__scopeId", "data-v-94d06d5
6027
6027
  o(), w.value = y;
6028
6028
  }, S = () => {
6029
6029
  U(!(w != null && w.value));
6030
- }, W = Al(() => ({
6030
+ }, F = Al(() => ({
6031
6031
  right: `${80 - E.value.x}px`,
6032
6032
  // transform: `translate(${resTranslateX}, ${resTranslateY})`,
6033
6033
  width: t.value.width
@@ -6319,7 +6319,7 @@ const wc = /* @__PURE__ */ Yl(bc, [["render", kc], ["__scopeId", "data-v-94d06d5
6319
6319
  class: "management-page-panel",
6320
6320
  ref_key: "managementPagePanel",
6321
6321
  ref: B,
6322
- style: Rl(W.value)
6322
+ style: Rl(F.value)
6323
6323
  }, [
6324
6324
  Z("div", {
6325
6325
  class: "panel-header",
@@ -6351,7 +6351,7 @@ const wc = /* @__PURE__ */ Yl(bc, [["render", kc], ["__scopeId", "data-v-94d06d5
6351
6351
  sa((L(), ve("div", {
6352
6352
  class: "client-main-operate",
6353
6353
  ref_key: "contentRef",
6354
- ref: F,
6354
+ ref: W,
6355
6355
  "element-loading-text": "正在加载页面数据..."
6356
6356
  }, [
6357
6357
  ((Ne = f(je)) == null ? void 0 : Ne[((Be = f(je)) == null ? void 0 : Be.length) - 1]) === f(j) || (we = f(je)) != null && we.includes("updateLoading") || (Ee = f(je)) != null && Ee.includes("loading") ? (L(), ve("div", _c, [
@@ -6445,7 +6445,7 @@ const Lt = (i) => {
6445
6445
  var m, u, g;
6446
6446
  return !!((g = (u = Pl(i, "@")) == null ? void 0 : u[((m = Pl(i, "@")) == null ? void 0 : m.length) - 1]) != null && g.includes("Form"));
6447
6447
  }, Gc = async (i, m, u, g) => {
6448
- var a, v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, F, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B;
6448
+ var a, v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, W, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B;
6449
6449
  let b = i;
6450
6450
  if (Lt(b == null ? void 0 : b[0])) {
6451
6451
  let k = Rn(b), E = (a = Pl(b == null ? void 0 : b[0], "@")) == null ? void 0 : a[1];
@@ -6464,7 +6464,7 @@ const Lt = (i) => {
6464
6464
  name: k == null ? void 0 : k.groupName,
6465
6465
  tableColumns: k == null ? void 0 : k.tableColumns,
6466
6466
  assistColumn: k == null ? void 0 : k.columns,
6467
- tableContents: m === 1 ? k == null ? void 0 : k.tableContents : (ne = (F = k == null ? void 0 : k.tableContents) == null ? void 0 : F[u]) != null && ne.every((o) => Array.isArray(o)) ? (I = k == null ? void 0 : k.tableContents) == null ? void 0 : I[u] : [(Me = k == null ? void 0 : k.tableContents) == null ? void 0 : Me[u]],
6467
+ tableContents: m === 1 ? k == null ? void 0 : k.tableContents : (ne = (W = k == null ? void 0 : k.tableContents) == null ? void 0 : W[u]) != null && ne.every((o) => Array.isArray(o)) ? (I = k == null ? void 0 : k.tableContents) == null ? void 0 : I[u] : [(Me = k == null ? void 0 : k.tableContents) == null ? void 0 : Me[u]],
6468
6468
  filter: k == null ? void 0 : k.tableFilter,
6469
6469
  menuFilter: g == null ? void 0 : g.menuFilter,
6470
6470
  quotePage: E !== "" ? ((Ae = (X = (ke = E == null ? void 0 : E.replace("*", pl)) == null ? void 0 : ke.split(pl)) == null ? void 0 : X[0]) == null ? void 0 : Ae.replaceAll(":", "/")) ?? "" : void 0,
@@ -6511,11 +6511,11 @@ const Lt = (i) => {
6511
6511
  o.push(U);
6512
6512
  }), o.push(""), o.push(""), (Ke = o == null ? void 0 : o[2]) != null && Ke.includes(".xlsx") || (il = o == null ? void 0 : o[2]) != null && il.includes(".xls"))
6513
6513
  try {
6514
- let U = Yc + "/" + (o == null ? void 0 : o[2]), S = await jn(U), W = `生成js函数名称为${o == null ? void 0 : o[1]}的函数,规则为:` + (o == null ? void 0 : o[3]) + "。根据上述描述获取对应的总结性详细可运行js函数,不需要任何注释。";
6514
+ let U = Yc + "/" + (o == null ? void 0 : o[2]), S = await jn(U), F = `生成js函数名称为${o == null ? void 0 : o[1]}的函数,规则为:` + (o == null ? void 0 : o[3]) + "。根据上述描述获取对应的总结性详细可运行js函数,不需要任何注释。";
6515
6515
  if ((S == null ? void 0 : S.status) === 200) {
6516
6516
  let Ue = S == null ? void 0 : S.data;
6517
6517
  const ce = new FormData();
6518
- ce.append("file", Ue, o == null ? void 0 : o[2]), ce.append("query", W);
6518
+ ce.append("file", Ue, o == null ? void 0 : o[2]), ce.append("query", F);
6519
6519
  let nl = await Un(ce);
6520
6520
  nl = (s = (e = (J = nl == null ? void 0 : nl.data) == null ? void 0 : J.data) == null ? void 0 : e.response) == null ? void 0 : s.replace("generateResult", o == null ? void 0 : o[1]), o[o.length - 2] = nl, o[o.length - 1] = [{
6521
6521
  name: (B = (w = o == null ? void 0 : o[2]) == null ? void 0 : w.split(".")) == null ? void 0 : B[0],
@@ -6532,18 +6532,18 @@ const Lt = (i) => {
6532
6532
  };
6533
6533
  }
6534
6534
  }, Wc = (i, m) => {
6535
- var g, b, a, v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, F, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E, o;
6535
+ var g, b, a, v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, W, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E, o;
6536
6536
  let u = (b = (g = Pl(i, "=")) == null ? void 0 : g.filter((t) => t !== "=")) == null ? void 0 : b.map((t) => ((t == null ? void 0 : t[(t == null ? void 0 : t.length) - 1]) === "=" && (t = t == null ? void 0 : t.slice(0, (t == null ? void 0 : t.length) - 1)), t));
6537
6537
  if (Lt(u == null ? void 0 : u[1])) {
6538
6538
  let t = Qn(u), c = (x = (v = (a = t == null ? void 0 : t.filter) == null ? void 0 : a.replace("@", pl)) == null ? void 0 : v.split(pl)) == null ? void 0 : x[0], U = (R = (A = (j = t == null ? void 0 : t.filter) == null ? void 0 : j.replace("(", pl)) == null ? void 0 : A.split(pl)) == null ? void 0 : R[1];
6539
- U = U == null ? void 0 : U.slice(0, (U == null ? void 0 : U.length) - 1), U = (le = (V = Pl(U, ",")) == null ? void 0 : V.map((W) => (W = "@" + W, W))) == null ? void 0 : le.join("");
6539
+ U = U == null ? void 0 : U.slice(0, (U == null ? void 0 : U.length) - 1), U = (le = (V = Pl(U, ",")) == null ? void 0 : V.map((F) => (F = "@" + F, F))) == null ? void 0 : le.join("");
6540
6540
  let S = c + "(" + U + ")";
6541
6541
  return {
6542
6542
  key: "Form",
6543
6543
  name: t == null ? void 0 : t.group,
6544
6544
  filter: S,
6545
6545
  formPage: ((r = (O = (K = c == null ? void 0 : c.replace("*", pl)) == null ? void 0 : K.split(pl)) == null ? void 0 : O[0]) == null ? void 0 : r.replaceAll(":", "/")) ?? "",
6546
- formGroup: ((F = (se = (n = (P = (ue = (te = ($ = c == null ? void 0 : c.replace("*", pl)) == null ? void 0 : $.split(pl)) == null ? void 0 : te[1]) == null ? void 0 : ue.replace("{", pl)) == null ? void 0 : P.split(pl)) == null ? void 0 : n[0]) == null ? void 0 : se.split(":")) == null ? void 0 : F.filter((W) => W !== "")) ?? [],
6546
+ formGroup: ((W = (se = (n = (P = (ue = (te = ($ = c == null ? void 0 : c.replace("*", pl)) == null ? void 0 : $.split(pl)) == null ? void 0 : te[1]) == null ? void 0 : ue.replace("{", pl)) == null ? void 0 : P.split(pl)) == null ? void 0 : n[0]) == null ? void 0 : se.split(":")) == null ? void 0 : W.filter((F) => F !== "")) ?? [],
6547
6547
  value: [],
6548
6548
  menuFilter: m == null ? void 0 : m.menuFilter
6549
6549
  };
@@ -6557,7 +6557,7 @@ const Lt = (i) => {
6557
6557
  }];
6558
6558
  let S = (je = (Qe = (be = t == null ? void 0 : t.tableFilter) == null ? void 0 : be.replace("(", pl)) == null ? void 0 : Qe.split(pl)) == null ? void 0 : je[1];
6559
6559
  (S == null ? void 0 : S[(S == null ? void 0 : S.length) - 1]) === ")" && (S = S == null ? void 0 : S.slice(0, (S == null ? void 0 : S.length) - 1));
6560
- let W = ((tl = (Ze = Pl(S, ",")) == null ? void 0 : Ze.find((ce) => ce == null ? void 0 : ce.includes("fatherSync"))) == null ? void 0 : tl.includes("true")) ?? !1, Ue = (($e = (el = Pl(S, ",")) == null ? void 0 : el.find((ce) => ce == null ? void 0 : ce.includes("sonSync"))) == null ? void 0 : $e.includes("false")) ?? !1;
6560
+ let F = ((tl = (Ze = Pl(S, ",")) == null ? void 0 : Ze.find((ce) => ce == null ? void 0 : ce.includes("fatherSync"))) == null ? void 0 : tl.includes("true")) ?? !1, Ue = (($e = (el = Pl(S, ",")) == null ? void 0 : el.find((ce) => ce == null ? void 0 : ce.includes("sonSync"))) == null ? void 0 : $e.includes("false")) ?? !1;
6561
6561
  return {
6562
6562
  key: "Table",
6563
6563
  name: t == null ? void 0 : t.groupName,
@@ -6567,7 +6567,7 @@ const Lt = (i) => {
6567
6567
  quoteGroup: c !== "" ? ((o = (E = (k = (B = (w = (s = (e = c == null ? void 0 : c.replace("*", pl)) == null ? void 0 : e.split(pl)) == null ? void 0 : s[1]) == null ? void 0 : w.replace("{", pl)) == null ? void 0 : B.split(pl)) == null ? void 0 : k[0]) == null ? void 0 : E.split(":")) == null ? void 0 : o.filter((ce) => ce !== "")) ?? [] : [],
6568
6568
  menuFilter: m == null ? void 0 : m.menuFilter,
6569
6569
  relatedQuotes: U,
6570
- fatherSyncContents: W ? [...(t == null ? void 0 : t.fatherSyncContents) ?? [], ...U ?? []] : (t == null ? void 0 : t.fatherSyncContents) ?? [],
6570
+ fatherSyncContents: F ? [...(t == null ? void 0 : t.fatherSyncContents) ?? [], ...U ?? []] : (t == null ? void 0 : t.fatherSyncContents) ?? [],
6571
6571
  sonSyncContents: Ue ? (t == null ? void 0 : t.sonSyncContents) ?? [] : [...(t == null ? void 0 : t.sonSyncContents) ?? [], ...U ?? []]
6572
6572
  };
6573
6573
  }
@@ -6588,34 +6588,34 @@ const xt = (i, m = []) => {
6588
6588
  return (x = a == null ? void 0 : a.key) == null ? void 0 : x.slice(1, (v = a == null ? void 0 : a.key) == null ? void 0 : v.length);
6589
6589
  })) ?? [], g = [];
6590
6590
  u == null || u.forEach((a) => {
6591
- var v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, F, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E, o, t;
6591
+ var v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, W, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E, o, t;
6592
6592
  if (a === "" && (a = "算法库:通用算法"), a != null && a.includes(ws)) {
6593
6593
  let c = "";
6594
6594
  a != null && a.includes("(@") ? (c = (x = (v = a == null ? void 0 : a.replace("(", Sl)) == null ? void 0 : v.split(Sl)) == null ? void 0 : x[1], c = c == null ? void 0 : c.slice(0, (c == null ? void 0 : c.length) - 1)) : (c = (A = (j = a == null ? void 0 : a.replace("@", Sl)) == null ? void 0 : j.split(Sl)) == null ? void 0 : A[1], c = c ? "@" + c : "");
6595
6595
  let U = "";
6596
6596
  c != null && c.includes("$") && (c = (R = c == null ? void 0 : c.replace("$", Sl)) == null ? void 0 : R.split(Sl), U = "$" + ((le = (V = hl(c)) == null ? void 0 : V[1]) == null ? void 0 : le.replaceAll(":", "/")), c = c == null ? void 0 : c[0]);
6597
6597
  let S = !0;
6598
- c && (c = (O = (K = c == null ? void 0 : c.replace("(", Sl)) == null ? void 0 : K.split(Sl)) == null ? void 0 : O[1], c = c == null ? void 0 : c.slice(0, (c == null ? void 0 : c.length) - 1), c = (r = Pl(c, ",")) == null ? void 0 : r.map((ce) => (ce = "@" + ce, ce)), c = c == null ? void 0 : c.join(""), (te = ($ = Pl(c, ",")) == null ? void 0 : $.find((ce) => ce == null ? void 0 : ce.includes("@Hide"))) != null && te.includes("Yes") && (S = !1)), a = (P = (ue = a == null ? void 0 : a.replace("@", Sl)) == null ? void 0 : ue.split(Sl)) == null ? void 0 : P[0], a = (se = (n = a == null ? void 0 : a.replace("(", Sl)) == null ? void 0 : n.split(Sl)) == null ? void 0 : se[0], a = ((I = (ne = (F = a == null ? void 0 : a.replaceAll(":", "/")) == null ? void 0 : F.replaceAll("{", "")) == null ? void 0 : ne.replaceAll("}", "")) == null ? void 0 : I.replaceAll("[Any]", "")) + U;
6599
- let W = (Me = a == null ? void 0 : a.split(ws)) == null ? void 0 : Me[0];
6600
- (W == null ? void 0 : W[(W == null ? void 0 : W.length) - 1]) === "/" && (W = W == null ? void 0 : W.slice(0, (W == null ? void 0 : W.length) - 1), W = W + ia);
6601
- let Ue = ((ke = W == null ? void 0 : W.split("/")) == null ? void 0 : ke[0]) + "/" + ((Ae = (X = a == null ? void 0 : a.split(ws)) == null ? void 0 : X[1]) == null ? void 0 : Ae.replaceAll("==", ia));
6602
- if (W != null && W.includes("[")) {
6603
- let ce = "[" + ((Xe = (Re = W == null ? void 0 : W.replace("[", Sl)) == null ? void 0 : Re.split(Sl)) == null ? void 0 : Xe[1]);
6604
- W = (Ve = (Se = W == null ? void 0 : W.replace("[", Sl)) == null ? void 0 : Se.split(Sl)) == null ? void 0 : Ve[0], (ce == null ? void 0 : ce[0]) === "[" ? (ce = ce == null ? void 0 : ce.slice(1, (ce == null ? void 0 : ce.length) - 1), (ol = ce == null ? void 0 : ce.split(",")) == null || ol.forEach((nl) => {
6598
+ c && (c = (O = (K = c == null ? void 0 : c.replace("(", Sl)) == null ? void 0 : K.split(Sl)) == null ? void 0 : O[1], c = c == null ? void 0 : c.slice(0, (c == null ? void 0 : c.length) - 1), c = (r = Pl(c, ",")) == null ? void 0 : r.map((ce) => (ce = "@" + ce, ce)), c = c == null ? void 0 : c.join(""), (te = ($ = Pl(c, ",")) == null ? void 0 : $.find((ce) => ce == null ? void 0 : ce.includes("@Hide"))) != null && te.includes("Yes") && (S = !1)), a = (P = (ue = a == null ? void 0 : a.replace("@", Sl)) == null ? void 0 : ue.split(Sl)) == null ? void 0 : P[0], a = (se = (n = a == null ? void 0 : a.replace("(", Sl)) == null ? void 0 : n.split(Sl)) == null ? void 0 : se[0], a = ((I = (ne = (W = a == null ? void 0 : a.replaceAll(":", "/")) == null ? void 0 : W.replaceAll("{", "")) == null ? void 0 : ne.replaceAll("}", "")) == null ? void 0 : I.replaceAll("[Any]", "")) + U;
6599
+ let F = (Me = a == null ? void 0 : a.split(ws)) == null ? void 0 : Me[0];
6600
+ (F == null ? void 0 : F[(F == null ? void 0 : F.length) - 1]) === "/" && (F = F == null ? void 0 : F.slice(0, (F == null ? void 0 : F.length) - 1), F = F + ia);
6601
+ let Ue = ((ke = F == null ? void 0 : F.split("/")) == null ? void 0 : ke[0]) + "/" + ((Ae = (X = a == null ? void 0 : a.split(ws)) == null ? void 0 : X[1]) == null ? void 0 : Ae.replaceAll("==", ia));
6602
+ if (F != null && F.includes("[")) {
6603
+ let ce = "[" + ((Xe = (Re = F == null ? void 0 : F.replace("[", Sl)) == null ? void 0 : Re.split(Sl)) == null ? void 0 : Xe[1]);
6604
+ F = (Ve = (Se = F == null ? void 0 : F.replace("[", Sl)) == null ? void 0 : Se.split(Sl)) == null ? void 0 : Ve[0], (ce == null ? void 0 : ce[0]) === "[" ? (ce = ce == null ? void 0 : ce.slice(1, (ce == null ? void 0 : ce.length) - 1), (ol = ce == null ? void 0 : ce.split(",")) == null || ol.forEach((nl) => {
6605
6605
  g == null || g.push({
6606
6606
  path: Ue + "/" + nl,
6607
- fatherPath: W,
6607
+ fatherPath: F,
6608
6608
  isShow: S
6609
6609
  });
6610
6610
  })) : g == null || g.push({
6611
6611
  path: Ue + "/" + ce,
6612
- fatherPath: W,
6612
+ fatherPath: F,
6613
6613
  isShow: S
6614
6614
  });
6615
6615
  } else
6616
6616
  g == null || g.push({
6617
6617
  path: Ue,
6618
- fatherPath: W,
6618
+ fatherPath: F,
6619
6619
  isShow: S
6620
6620
  });
6621
6621
  } else {
@@ -6624,9 +6624,9 @@ const xt = (i, m = []) => {
6624
6624
  let U = !0;
6625
6625
  c && (c = Kn(c), (tl = (Ze = Pl(c, ",")) == null ? void 0 : Ze.find((S) => S == null ? void 0 : S.includes("@Hide"))) != null && tl.includes("Yes") && (U = !1)), (Ke = ($e = (el = a == null ? void 0 : a.replace("@", Sl)) == null ? void 0 : el.split(Sl)) == null ? void 0 : $e[1]) != null && Ke.includes("[Any]") ? a = ((J = (il = a == null ? void 0 : a.replace("@", Sl)) == null ? void 0 : il.split(Sl)) == null ? void 0 : J[0]) + ":[Any]" : a = (s = (e = a == null ? void 0 : a.replace("@", Sl)) == null ? void 0 : e.split(Sl)) == null ? void 0 : s[0], a = (B = (w = a == null ? void 0 : a.replace("(", Sl)) == null ? void 0 : w.split(Sl)) == null ? void 0 : B[0], (a == null ? void 0 : a[(a == null ? void 0 : a.length) - 1]) === ":" && (a = a == null ? void 0 : a.slice(0, (a == null ? void 0 : a.length) - 1)), a = (k = a == null ? void 0 : a.replaceAll(":", "/")) == null ? void 0 : k.replaceAll("[Any]", ""), a != null && a.includes("[") ? (a = a == null ? void 0 : a.replaceAll("]", ""), (t = (o = (E = a == null ? void 0 : a.split("[")) == null ? void 0 : E[1]) == null ? void 0 : o.split(",")) == null || t.forEach((S) => {
6626
6626
  var Ue;
6627
- let W = (Ue = a == null ? void 0 : a.split("[")) == null ? void 0 : Ue[0];
6628
- (W == null ? void 0 : W[(W == null ? void 0 : W.length) - 1]) === "/" && (W = W == null ? void 0 : W.slice(0, (W == null ? void 0 : W.length) - 1)), g == null || g.push({
6629
- path: W + ia + S,
6627
+ let F = (Ue = a == null ? void 0 : a.split("[")) == null ? void 0 : Ue[0];
6628
+ (F == null ? void 0 : F[(F == null ? void 0 : F.length) - 1]) === "/" && (F = F == null ? void 0 : F.slice(0, (F == null ? void 0 : F.length) - 1)), g == null || g.push({
6629
+ path: F + ia + S,
6630
6630
  isShow: U,
6631
6631
  filter: c
6632
6632
  });
@@ -6923,7 +6923,7 @@ const xt = (i, m = []) => {
6923
6923
  ];
6924
6924
  let cl = "$R";
6925
6925
  const Nt = (i, m, u, g) => {
6926
- var a, v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, F;
6926
+ var a, v, x, j, A, R, V, le, K, O, r, $, te, ue, P, n, se, W;
6927
6927
  let b = ((v = (a = m.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : a.contents) == null ? void 0 : v.find((ne) => us((g == null ? void 0 : g.quoteGroup) ?? [], ne == null ? void 0 : ne.name))) ?? ((x = m.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : x.contents) ?? [];
6928
6928
  if (!Array.isArray(b) && ((j = b == null ? void 0 : b.tableColumns) == null ? void 0 : j.length) > 0) {
6929
6929
  let ne = hl(b), I = (V = (R = (A = ne.filter) == null ? void 0 : A.replace("(", cl)) == null ? void 0 : R.split(cl)) == null ? void 0 : V[1];
@@ -6937,7 +6937,7 @@ const Nt = (i, m, u, g) => {
6937
6937
  } else if (b) {
6938
6938
  Array.isArray(b) || (b = [b]);
6939
6939
  let ne = [];
6940
- return (F = hl(b)) == null || F.forEach((I) => {
6940
+ return (W = hl(b)) == null || W.forEach((I) => {
6941
6941
  var Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E;
6942
6942
  if (!(I != null && I.filter) || ((Me = I == null ? void 0 : I.tableColumns) == null ? void 0 : Me.length) > 0 || ((ke = I == null ? void 0 : I.value) == null ? void 0 : ke.length) > 0) {
6943
6943
  let o = (Re = (Ae = (X = i == null ? void 0 : i.filter) == null ? void 0 : X.replace("(", cl)) == null ? void 0 : Ae.split(cl)) == null ? void 0 : Re[0], t = (Ve = (Se = (Xe = I.filter) == null ? void 0 : Xe.replace("(", cl)) == null ? void 0 : Se.split(cl)) == null ? void 0 : Ve[1];
@@ -7000,13 +7000,13 @@ const Nt = (i, m, u, g) => {
7000
7000
  return ((ue = (te = j == null ? void 0 : j.key) == null ? void 0 : te.split("/")) == null ? void 0 : ue.length) - 1 !== $;
7001
7001
  })) == null ? void 0 : K.join("/")) + "/";
7002
7002
  return (O = j.contents) == null || O.forEach((r, $) => {
7003
- var te, ue, P, n, se, F, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E, o, t, c, U, S, W, Ue, ce, nl, Il;
7003
+ var te, ue, P, n, se, W, ne, I, Me, ke, X, Ae, Re, Xe, Se, Ve, ol, ze, be, Qe, je, Ze, tl, el, $e, Ke, il, J, e, s, w, B, k, E, o, t, c, U, S, F, Ue, ce, nl, Il;
7004
7004
  if (r.isShow = ((P = (ue = (te = v == null ? void 0 : v.get(R)) == null ? void 0 : te.contents) == null ? void 0 : ue.find((Oe) => {
7005
7005
  var h, l, M, pe;
7006
7006
  return ((l = Oe == null ? void 0 : Oe.name) == null ? void 0 : l[((h = Oe == null ? void 0 : Oe.name) == null ? void 0 : h.length) - 1]) === ((pe = r == null ? void 0 : r.name) == null ? void 0 : pe[((M = r == null ? void 0 : r.name) == null ? void 0 : M.length) - 1]);
7007
7007
  })) == null ? void 0 : P.isShow) ?? r.isShow, (r == null ? void 0 : r.filter) !== "" && (r != null && r.filter) && (r != null && r.quotePage))
7008
7008
  if (((n = r == null ? void 0 : r.tableColumns) == null ? void 0 : n.length) === 0) {
7009
- let Oe = ((F = (se = v.get(r == null ? void 0 : r.quotePage)) == null ? void 0 : se.contents) == null ? void 0 : F.find((h) => us(r == null ? void 0 : r.quoteGroup, h == null ? void 0 : h.name))) ?? ((ne = v.get(r == null ? void 0 : r.quotePage)) == null ? void 0 : ne.contents) ?? [];
7009
+ let Oe = ((W = (se = v.get(r == null ? void 0 : r.quotePage)) == null ? void 0 : se.contents) == null ? void 0 : W.find((h) => us(r == null ? void 0 : r.quoteGroup, h == null ? void 0 : h.name))) ?? ((ne = v.get(r == null ? void 0 : r.quotePage)) == null ? void 0 : ne.contents) ?? [];
7010
7010
  if (!Array.isArray(Oe) && ((I = Oe == null ? void 0 : Oe.tableColumns) == null ? void 0 : I.length) > 0) {
7011
7011
  r.tableColumns = Oe == null ? void 0 : Oe.tableColumns;
7012
7012
  let h = (X = (ke = (Me = r == null ? void 0 : r.filter) == null ? void 0 : Me.replace("(", cl)) == null ? void 0 : ke.split(cl)) == null ? void 0 : X[1];
@@ -7088,7 +7088,7 @@ const Nt = (i, m, u, g) => {
7088
7088
  })) == null ? void 0 : t.join("/")) + "/";
7089
7089
  if (((S = (U = (c = v == null ? void 0 : v.get(Oe)) == null ? void 0 : c.contents) == null ? void 0 : U[$]) == null ? void 0 : S.key) === "Form") {
7090
7090
  let h = hl(r).tableContents;
7091
- r = (Ue = (W = v == null ? void 0 : v.get(Oe)) == null ? void 0 : W.contents) == null ? void 0 : Ue[$], r.contents = h;
7091
+ r = (Ue = (F = v == null ? void 0 : v.get(Oe)) == null ? void 0 : F.contents) == null ? void 0 : Ue[$], r.contents = h;
7092
7092
  } else
7093
7093
  r.tableColumns = (Il = (nl = (ce = v == null ? void 0 : v.get(Oe)) == null ? void 0 : ce.contents) == null ? void 0 : nl[$]) == null ? void 0 : Il.tableColumns;
7094
7094
  A.push(r);
@@ -7112,14 +7112,14 @@ const Nt = (i, m, u, g) => {
7112
7112
  K.push(O);
7113
7113
  else if ((O == null ? void 0 : O.key) === "Table" || (O == null ? void 0 : O.key) === "Method") {
7114
7114
  let P = K == null ? void 0 : K.findIndex((n) => {
7115
- var se, F;
7116
- return ((se = n == null ? void 0 : n.name) == null ? void 0 : se.join("/")) === ((F = O == null ? void 0 : O.name) == null ? void 0 : F.join("/"));
7115
+ var se, W;
7116
+ return ((se = n == null ? void 0 : n.name) == null ? void 0 : se.join("/")) === ((W = O == null ? void 0 : O.name) == null ? void 0 : W.join("/"));
7117
7117
  });
7118
7118
  K[P].tableContents = [...((r = K[P]) == null ? void 0 : r.tableContents) ?? [], ...O.tableContents ?? []], K[P].tableColumns = (($ = K[P].tableColumns) == null ? void 0 : $.length) === 0 ? O.tableColumns : K[P].tableColumns;
7119
7119
  } else if ((O == null ? void 0 : O.key) === "Form") {
7120
7120
  let P = K == null ? void 0 : K.findIndex((n) => {
7121
- var se, F;
7122
- return ((se = n == null ? void 0 : n.name) == null ? void 0 : se.join("/")) === ((F = O == null ? void 0 : O.name) == null ? void 0 : F.join("/"));
7121
+ var se, W;
7122
+ return ((se = n == null ? void 0 : n.name) == null ? void 0 : se.join("/")) === ((W = O == null ? void 0 : O.name) == null ? void 0 : W.join("/"));
7123
7123
  });
7124
7124
  K[P].contents = [...((te = K[P]) == null ? void 0 : te.contents) ?? [], ...O.contents ?? []], K[P].value = ((ue = K[P].value) == null ? void 0 : ue.length) === 0 ? O.value : K[P].value;
7125
7125
  }
@@ -7201,7 +7201,7 @@ const Nt = (i, m, u, g) => {
7201
7201
  return yl(
7202
7202
  () => [A == null ? void 0 : A.content, A == null ? void 0 : A.jsonContents],
7203
7203
  async () => {
7204
- var r, $, te, ue, P, n, se, F;
7204
+ var r, $, te, ue, P, n, se, W;
7205
7205
  try {
7206
7206
  if (((r = A == null ? void 0 : A.jsonContents) == null ? void 0 : r.length) > 0 || !(A != null && A.content) || (($ = A == null ? void 0 : A.content) == null ? void 0 : $.length) === 0) return;
7207
7207
  let ne = await Pa({
@@ -7253,7 +7253,7 @@ const Nt = (i, m, u, g) => {
7253
7253
  });
7254
7254
  }));
7255
7255
  }), (Xe == null ? void 0 : Xe.length) > 0 && await Jt({
7256
- platId: parseInt((F = j == null ? void 0 : j.value) == null ? void 0 : F.plat_id),
7256
+ platId: parseInt((W = j == null ? void 0 : j.value) == null ? void 0 : W.plat_id),
7257
7257
  changeContents: Xe
7258
7258
  });
7259
7259
  }
@@ -7340,11 +7340,11 @@ const Nt = (i, m, u, g) => {
7340
7340
  const { myModelList: h = [], otherList: l = [] } = n.value;
7341
7341
  return [...h, ...l];
7342
7342
  });
7343
- const se = (h) => A(h), F = async () => {
7343
+ const se = (h) => A(h), W = async () => {
7344
7344
  const h = await j();
7345
7345
  n.value = se(h);
7346
7346
  }, ne = async () => {
7347
- await F();
7347
+ await W();
7348
7348
  };
7349
7349
  Xl(() => {
7350
7350
  ne();
@@ -7644,7 +7644,7 @@ const Nt = (i, m, u, g) => {
7644
7644
  }))), Pe;
7645
7645
  }) : [];
7646
7646
  }
7647
- const W = async () => {
7647
+ const F = async () => {
7648
7648
  var h, l, M, pe;
7649
7649
  try {
7650
7650
  if (!((h = $ == null ? void 0 : $.value) != null && h.user_id)) return;
@@ -7677,7 +7677,7 @@ const Nt = (i, m, u, g) => {
7677
7677
  ce.value = h, await Ue(h);
7678
7678
  }, Il = ({ row: h, rowIndex: l }) => l % 2 === 0 ? "default-row" : "special-row", Oe = async () => {
7679
7679
  var h, l;
7680
- await W(), await Ue({
7680
+ await F(), await Ue({
7681
7681
  isPlat: !!((h = ce.value) != null && h.platType),
7682
7682
  value: (l = ce.value) == null ? void 0 : l.value
7683
7683
  });
@@ -8135,7 +8135,7 @@ const Nt = (i, m, u, g) => {
8135
8135
  emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
8136
8136
  setup(i, { emit: m }) {
8137
8137
  const u = i, g = m, b = N([]), a = N(0), v = N([]), x = N([]), j = N(0), A = la(fl), R = Ll(fl), { originalData: V } = dl(A), { platform: le } = dl(R), K = N(null), O = N(0), r = N([]), $ = N(0), te = N([]), ue = Hl(), { loginUserInfo: P, systemKey: n } = dl(ue), se = Da(fl), {
8138
- isSuperAdmin: F
8138
+ isSuperAdmin: W
8139
8139
  } = fs(), ne = N(!1), I = () => {
8140
8140
  ne.value = !0;
8141
8141
  }, Me = () => {
@@ -8246,7 +8246,7 @@ const Nt = (i, m, u, g) => {
8246
8246
  var Qe;
8247
8247
  (Qe = P == null ? void 0 : P.value) != null && Qe.account && (ne.value = !0);
8248
8248
  }, ol = async () => {
8249
- sessionStorage.getItem("firstLogin") === null && F() && (await Ve(), sessionStorage.setItem("firstLogin", "false"));
8249
+ sessionStorage.getItem("firstLogin") === null && W() && (await Ve(), sessionStorage.setItem("firstLogin", "false"));
8250
8250
  };
8251
8251
  Xl(() => {
8252
8252
  ol();