ss-component-new 1.2.178 → 1.2.179

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 (89) hide show
  1. package/dist/{MTLLoader-BBXkfiHP.cjs → MTLLoader-CMpGG9Bd.cjs} +1 -1
  2. package/dist/{MTLLoader-sg0frddg.js → MTLLoader-d2OpvLOW.js} +1 -1
  3. package/dist/{OrbitControls-D4FN15I6.js → OrbitControls-DBHqNrQL.js} +1 -1
  4. package/dist/{OrbitControls-D-LBk_tX.cjs → OrbitControls-DpyXjBNP.cjs} +1 -1
  5. package/dist/{URDFLoader-CSyWAkSK.js → URDFLoader-C7hv2huD.js} +2 -2
  6. package/dist/{URDFLoader-DoqHKrwQ.cjs → URDFLoader-wguISxmK.cjs} +1 -1
  7. package/dist/{animationData-BceMam9Q.cjs → animationData-C5sjWEaT.cjs} +1 -1
  8. package/dist/{animationData-h31YMX0d.js → animationData-iNdJN_D_.js} +1 -1
  9. package/dist/{array-BgNAac5j.js → array-Bgrj1oV3.js} +1 -1
  10. package/dist/{array-DYVJudKm.cjs → array-ByUgkJ37.cjs} +1 -1
  11. package/dist/{iconfont-BIBKsReP.js → iconfont-BPJ9ourc.js} +2 -2
  12. package/dist/{iconfont-C4w-Pd7e.cjs → iconfont-Buh2Df98.cjs} +1 -1
  13. package/dist/{index-Df9lqbL9.js → index-3ZZbSXzg.js} +7 -7
  14. package/dist/{index-_eevY45I.js → index-B3Kt07UJ.js} +1 -1
  15. package/dist/{index-BeUo-UQR.cjs → index-BCWHX3eK.cjs} +1 -1
  16. package/dist/{index-B0I4bCYF.cjs → index-BJnycjrK.cjs} +1 -1
  17. package/dist/{index-BoKwQFto.js → index-BKK7zx0h.js} +4 -4
  18. package/dist/{index-DIDvIeAE.cjs → index-BKxw0UBQ.cjs} +1 -1
  19. package/dist/{index-BY3tVLI_.cjs → index-BMHV_Brb.cjs} +1 -1
  20. package/dist/{index-CZbSpMIJ.cjs → index-BNidg3es.cjs} +1 -1
  21. package/dist/{index-CZ4SLhhh.js → index-BQKz83nF.js} +1 -1
  22. package/dist/{index-d47CvCXv.js → index-BYDeJDc_.js} +3 -3
  23. package/dist/{index-CjjCLx3u.cjs → index-BYvy0l-n.cjs} +1 -1
  24. package/dist/{index-DKwg_bJ7.cjs → index-BjhN2cZK.cjs} +1 -1
  25. package/dist/{index-B0IKI1R8.js → index-BxNdoe0W.js} +16 -16
  26. package/dist/{index-B6Am14Go.cjs → index-BxS6-5bI.cjs} +1 -1
  27. package/dist/{index-5vJr3qa7.js → index-BynBceMd.js} +3 -3
  28. package/dist/{index-DGxGOZ6v.js → index-C8X6R7q5.js} +4 -4
  29. package/dist/{index-CbNiQDYE.cjs → index-CCUAW6sC.cjs} +1 -1
  30. package/dist/{index-Bqn_7zqS.js → index-CEZuSXRM.js} +1 -1
  31. package/dist/{index-DiH_ldOA.cjs → index-CHQVBVEk.cjs} +1 -1
  32. package/dist/{index-CDT7oAPk.js → index-CN-T4mBv.js} +153 -153
  33. package/dist/{index-BaVHLipK.cjs → index-CbBel_Ly.cjs} +1 -1
  34. package/dist/{index-BUewNJqI.js → index-CcosIFS7.js} +1 -1
  35. package/dist/{index-CCujgLny.js → index-ClmxTuZZ.js} +1 -1
  36. package/dist/{index-B9x5UPed.cjs → index-Cn3W-yV7.cjs} +1 -1
  37. package/dist/{index-D3Dq0v96.cjs → index-Co4vN6r7.cjs} +1 -1
  38. package/dist/{index-BL5SifaP.js → index-CqbOb7X5.js} +2 -2
  39. package/dist/{index-D2G1Rbw2.js → index-CtrZr-Cc.js} +1 -1
  40. package/dist/{index-I_yMg9r3.js → index-CvarvnV1.js} +2 -2
  41. package/dist/{index-QzxFTSte.js → index-D0LjT3cL.js} +4 -4
  42. package/dist/{index-CoH8lwLL.js → index-D1RoGIsd.js} +1 -1
  43. package/dist/{index-8ziQdc16.cjs → index-D5CeFNcY.cjs} +1 -1
  44. package/dist/{index-ZFev7aq7.cjs → index-DDmxZO6i.cjs} +1 -1
  45. package/dist/{index-CrrLYGdV.js → index-DHZH0zPO.js} +1 -1
  46. package/dist/{index-lb07thoL.cjs → index-DMkTj7aZ.cjs} +1 -1
  47. package/dist/{index-DXBLGWt9.cjs → index-DXselp6c.cjs} +1 -1
  48. package/dist/{index-BmbbkvwC.cjs → index-DqMnk5wX.cjs} +1 -1
  49. package/dist/{index-DFavn1kB.cjs → index-Duk7yWiP.cjs} +1 -1
  50. package/dist/{index-aMbB06Wc.js → index-EofXU0MK.js} +1 -1
  51. package/dist/{index-CxFwCnFu.js → index-ZHpKUOhR.js} +1 -1
  52. package/dist/index-dRtOvQRS.cjs +1 -0
  53. package/dist/{index-CadrO-1Z.js → index-lvZVl2Vw.js} +8 -8
  54. package/dist/{index-B17SPYqV.js → index-xHfmd7Ni.js} +1 -1
  55. package/dist/{index-C_ncrCbC.cjs → index-xzZKgB24.cjs} +1 -1
  56. package/dist/{index-DxW2aVQq.cjs → index-y6LkQUgu.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-C3gmehHm.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BhTZLmHo.js} +7 -7
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang--5oeei0F.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-C4PEXKSp.cjs} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CILHNQks.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-9XvSEGdS.js} +4415 -4415
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-WKD3Dboe.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BtDy8n8V.cjs} +136 -136
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-CzKAR-fd.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B5QsbB6Q.cjs} +1 -1
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-B3OXHupH.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DPVGY0eJ.js} +4 -4
  63. package/dist/{index.vue_vue_type_style_index_1_lang-okk3axV_.cjs → index.vue_vue_type_style_index_1_lang-ClIZyFAZ.cjs} +1 -1
  64. package/dist/{index.vue_vue_type_style_index_1_lang-D90WJUnP.js → index.vue_vue_type_style_index_1_lang-DBIY-mVS.js} +3 -3
  65. package/dist/{main-DYXyMwb3.js → main-CjhywWOM.js} +3 -3
  66. package/dist/{main-IlIQuBF8.cjs → main-CuyIrRZV.cjs} +1 -1
  67. package/dist/ss-component.cjs +1 -1
  68. package/dist/ss-component.css +1 -1
  69. package/dist/ss-component.js +9 -9
  70. package/dist/ss-component2.cjs +1 -1
  71. package/dist/ss-component2.js +10 -10
  72. package/dist/{threeModel-C4FwxvRb.js → threeModel-DdsWlYl2.js} +4 -4
  73. package/dist/{threeModel-CN8y5oB-.cjs → threeModel-ukCJmnVO.cjs} +1 -1
  74. package/dist/{threePreview-BnuPNbBI.cjs → threePreview-BZvdxIa2.cjs} +1 -1
  75. package/dist/{threePreview-DSCX4zHG.js → threePreview-p9D877JF.js} +3 -3
  76. package/dist/{threeSceneView-BpnVSSXu.cjs → threeSceneView-B12dxEfS.cjs} +1 -1
  77. package/dist/{threeSceneView-37JCUDaA.js → threeSceneView-C2zoPlRp.js} +8 -8
  78. package/dist/{threeSceneViewForCPMPIP--nGZ5LGQ.js → threeSceneViewForCPMPIP-B7s_szJB.js} +7 -7
  79. package/dist/{threeSceneViewForCPMPIP-XbJX0DZb.cjs → threeSceneViewForCPMPIP-CIEoqdr8.cjs} +1 -1
  80. package/dist/{threeTrackPathView-DCwhLBCr.js → threeTrackPathView-BxK49ljq.js} +3 -3
  81. package/dist/{threeTrackPathView-B_6H6vt6.cjs → threeTrackPathView-Cap0mVmC.cjs} +1 -1
  82. package/dist/{threeViewerHost-BcyIKSt8.cjs → threeViewerHost-Cg_dRiGk.cjs} +1 -1
  83. package/dist/{threeViewerHost-BP1y_Zyu.js → threeViewerHost-DGNd3WrL.js} +2 -2
  84. package/dist/{urdfTree-DTnyroQe.cjs → urdfTree-B0LbjhKN.cjs} +1 -1
  85. package/dist/{urdfTree-DuWOp12v.js → urdfTree-Lfkc4b95.js} +1 -1
  86. package/dist/{workpieceTreePanel-BT14Or0m.cjs → workpieceTreePanel-BrOxOnjQ.cjs} +1 -1
  87. package/dist/{workpieceTreePanel-DhRSjZ_6.js → workpieceTreePanel-D60hJ3BF.js} +4 -4
  88. package/package.json +1 -1
  89. package/dist/index-CPsiq06e.cjs +0 -1
@@ -1,12 +1,12 @@
1
1
  import { ref as J, watch as rl, nextTick as _a, resolveComponent as nl, createBlock as Ne, openBlock as re, withCtx as Z, createElementVNode as ke, renderSlot as pr, onMounted as Ka, createElementBlock as Ae, normalizeStyle as Bl, normalizeClass as jr, toDisplayString as Pe, createCommentVNode as Le, createVNode as de, unref as dl, Fragment as xl, renderList as Ul, createTextVNode as ol, defineComponent as Lr, reactive as ta, inject as Jn, provide as Rn, onBeforeUnmount as Wn, computed as fr, onUnmounted as qn, createSlots as Gn, withModifiers as hr, withDirectives as yr, vShow as gr } from "vue";
2
2
  import { by as vr, ay as br, c as q, E as Ye, bS as Pr, g as Kl, p as Ml, s as Gl, u as Hn, f as Qn, b as Nl, bK as Xn, bI as kr, e as Yn, ce as Zn } from "./index-KFoWHXov.js";
3
- import { V as fa, aC as In, aD as ha, aE as Vn, g as Hl, b as eu, a as lu, U as au, u as ru, aF as Sr, aG as Tr, aH as nu, aI as uu, d as Ma, R as Ar, n as mr, l as ou, aJ as xr, a1 as su, aK as iu, aL as cu, aM as du, T as tu, aN as pu } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CILHNQks.js";
4
- import { d as Ql, a as Ur, j as fu, e as hu, E as yu } from "./index-DGxGOZ6v.js";
5
- import { a as gu, T as vu } from "./threeViewerHost-BP1y_Zyu.js";
3
+ import { V as fa, aC as In, aD as ha, aE as Vn, g as Hl, b as eu, a as lu, U as au, u as ru, aF as Sr, aG as Tr, aH as nu, aI as uu, d as Ma, R as Ar, n as mr, l as ou, aJ as xr, a1 as su, aK as iu, aL as cu, aM as du, T as tu, aN as pu } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-9XvSEGdS.js";
4
+ import { d as Ql, a as Ur, j as fu, e as hu, E as yu } from "./index-C8X6R7q5.js";
5
+ import { a as gu, T as vu } from "./threeViewerHost-DGNd3WrL.js";
6
6
  import { u as bu, a as ku, E as _r } from "./index-Dh_LOm8w.js";
7
- import "./index.vue_vue_type_style_index_1_lang-D90WJUnP.js";
7
+ import "./index.vue_vue_type_style_index_1_lang-DBIY-mVS.js";
8
8
  import { _ as Da } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import { s as pa } from "./index-CZ4SLhhh.js";
9
+ import { s as pa } from "./index-BQKz83nF.js";
10
10
  import "./index-BIiBz_NW.js";
11
11
  import { i as Dr } from "./isString-BcJYo5aE.js";
12
12
  const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
@@ -874,22 +874,22 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
874
874
  }), rl(
875
875
  () => Yl.value,
876
876
  async () => {
877
- var s, c, d, i, y, D, _, $, b, C, j, O, F, B, K, T, x, k;
878
- if (((s = Yl.value) == null ? void 0 : s.length) === 0 || !((c = o == null ? void 0 : o.itemData) != null && c.find((m) => (m == null ? void 0 : m.key) === "columnPath")) || !((d = o == null ? void 0 : o.itemData) != null && d.find((m) => (m == null ? void 0 : m.key) === "pageColumn"))) return;
879
- let e = (b = ($ = (_ = (D = (y = (i = o == null ? void 0 : o.itemData) == null ? void 0 : i.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : y.contents) == null ? void 0 : D.split("[")) == null ? void 0 : _[1]) == null ? void 0 : $.split("]")) == null ? void 0 : b[0], l = ((F = (O = (j = (C = o == null ? void 0 : o.itemData) == null ? void 0 : C.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : O.split("[")) == null ? void 0 : F[0]) + ((K = (B = Yl.value) == null ? void 0 : B.find((m) => (m == null ? void 0 : m.key) === e)) == null ? void 0 : K.value), n = ((x = (T = o == null ? void 0 : o.itemData) == null ? void 0 : T.find((m) => (m == null ? void 0 : m.key) === "pageGroup")) == null ? void 0 : x.contents) ?? "", a = await Hl(l, sessionStorage.getItem("systemKey"), ""), r = (k = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.name) === (n === "" ? o == null ? void 0 : o.compName : n))) == null ? void 0 : k.compData;
877
+ var s, i, d, c, y, D, _, $, b, C, j, O, F, B, K, T, x, k;
878
+ if (((s = Yl.value) == null ? void 0 : s.length) === 0 || !((i = o == null ? void 0 : o.itemData) != null && i.find((m) => (m == null ? void 0 : m.key) === "columnPath")) || !((d = o == null ? void 0 : o.itemData) != null && d.find((m) => (m == null ? void 0 : m.key) === "pageColumn"))) return;
879
+ let e = (b = ($ = (_ = (D = (y = (c = o == null ? void 0 : o.itemData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : y.contents) == null ? void 0 : D.split("[")) == null ? void 0 : _[1]) == null ? void 0 : $.split("]")) == null ? void 0 : b[0], l = ((F = (O = (j = (C = o == null ? void 0 : o.itemData) == null ? void 0 : C.find((m) => (m == null ? void 0 : m.key) === "pageColumn")) == null ? void 0 : j.contents) == null ? void 0 : O.split("[")) == null ? void 0 : F[0]) + ((K = (B = Yl.value) == null ? void 0 : B.find((m) => (m == null ? void 0 : m.key) === e)) == null ? void 0 : K.value), n = ((x = (T = o == null ? void 0 : o.itemData) == null ? void 0 : T.find((m) => (m == null ? void 0 : m.key) === "pageGroup")) == null ? void 0 : x.contents) ?? "", a = await Hl(l, sessionStorage.getItem("systemKey"), ""), r = (k = a == null ? void 0 : a.find((m) => (m == null ? void 0 : m.name) === (n === "" ? o == null ? void 0 : o.compName : n))) == null ? void 0 : k.compData;
880
880
  lr(r, o.allMapContents);
881
881
  },
882
882
  { deep: !0 }
883
883
  );
884
884
  const Gr = async (e, l) => {
885
- var n, a, r, s, c;
885
+ var n, a, r, s, i;
886
886
  try {
887
887
  const d = await Kl({ id: (o == null ? void 0 : o.parentTableId) || (o == null ? void 0 : o.index) });
888
- let i;
889
- ((n = d == null ? void 0 : d.data) == null ? void 0 : n.code) === 200 && (i = ((r = (a = d == null ? void 0 : d.data) == null ? void 0 : a.result) == null ? void 0 : r[0]) || null);
888
+ let c;
889
+ ((n = d == null ? void 0 : d.data) == null ? void 0 : n.code) === 200 && (c = ((r = (a = d == null ? void 0 : d.data) == null ? void 0 : a.result) == null ? void 0 : r[0]) || null);
890
890
  const y = {
891
891
  type: "data",
892
- pageKey: o != null && o.parentTableId ? (s = i == null ? void 0 : i.key) == null ? void 0 : s.pageKey : _e.value,
892
+ pageKey: o != null && o.parentTableId ? (s = c == null ? void 0 : c.key) == null ? void 0 : s.pageKey : _e.value,
893
893
  tableId: (o == null ? void 0 : o.parentTableId) || (o == null ? void 0 : o.index),
894
894
  systemKey: sessionStorage.getItem("systemKey")
895
895
  }, D = l == null ? void 0 : l.map((b) => {
@@ -903,26 +903,26 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
903
903
  tableData: b
904
904
  }
905
905
  })), $ = await kr({ dataList: _ });
906
- ((c = $ == null ? void 0 : $.data) == null ? void 0 : c.code) === 200 ? (we.setRefreshCurStructure(!0), Ye.success("导入数据成功")) : Ye.error("导入数据响应失败");
906
+ ((i = $ == null ? void 0 : $.data) == null ? void 0 : i.code) === 200 ? (we.setRefreshCurStructure(!0), Ye.success("导入数据成功")) : Ye.error("导入数据响应失败");
907
907
  } catch (d) {
908
908
  throw Ye.error("导入数据处理失败"), new Error(d);
909
909
  }
910
910
  }, Hr = async (e) => {
911
911
  var l, n, a, r, s;
912
912
  if ((l = e == null ? void 0 : e.toString()) != null && l.includes(".txt") || (n = e == null ? void 0 : e.toString()) != null && n.includes(".cpt") || (a = e == null ? void 0 : e.toString()) != null && a.includes(".cyd")) {
913
- const c = await Nl.get(e, {
913
+ const i = await Nl.get(e, {
914
914
  responseType: "blob",
915
915
  // 必须设置
916
916
  headers: {
917
917
  "Content-Type": "application/json"
918
918
  }
919
- }), d = new Blob([c.data], {
919
+ }), d = new Blob([i.data], {
920
920
  type: "application/octet-stream;charset=UTF-8"
921
921
  });
922
- let i = URL.createObjectURL(d);
922
+ let c = URL.createObjectURL(d);
923
923
  Fl.value = [{
924
924
  name: (s = e == null ? void 0 : e.split("/")) == null ? void 0 : s[((r = e == null ? void 0 : e.split("/")) == null ? void 0 : r.length) - 1],
925
- blobUrl: i
925
+ blobUrl: c
926
926
  }], jl.value = !0;
927
927
  }
928
928
  };
@@ -934,8 +934,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
934
934
  const za = fr(() => {
935
935
  var a, r;
936
936
  const e = (ye.currentPage - 1) * ye.pageSize, l = e + ye.pageSize, n = (a = I.value) == null ? void 0 : a.find((s) => {
937
- var c;
938
- return (s == null ? void 0 : s.sortable) && ((c = s == null ? void 0 : s.label) == null ? void 0 : c.includes("时间"));
937
+ var i;
938
+ return (s == null ? void 0 : s.sortable) && ((i = s == null ? void 0 : s.label) == null ? void 0 : i.includes("时间"));
939
939
  });
940
940
  return n && (fe.order = "descending", fe.prop = n == null ? void 0 : n.prop), be("getSliceContLength", ye), (r = ne.value) == null ? void 0 : r.slice(e, l);
941
941
  }), Qr = (e) => {
@@ -944,37 +944,37 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
944
944
  var l;
945
945
  ye.pageSize = e, e * ye.currentPage > ((l = ne.value) == null ? void 0 : l.length) && (ye.currentPage = 1, ye.pageSize = 10, Ye.warning("分页无效,返回第一页")), be("getSliceContLength", ye);
946
946
  }, Yr = (e, l) => {
947
- var c, d;
948
- const n = (d = (c = I.value) == null ? void 0 : c.map((i) => i == null ? void 0 : i.prop)) == null ? void 0 : d.filter((i) => i !== "operate");
947
+ var i, d;
948
+ const n = (d = (i = I.value) == null ? void 0 : i.map((c) => c == null ? void 0 : c.prop)) == null ? void 0 : d.filter((c) => c !== "operate");
949
949
  let a;
950
950
  const r = (e == null ? void 0 : e.length) === (n == null ? void 0 : n.length);
951
951
  if (e != null && e.includes("序号")) return Ye.error("导入的数据不需要包含序号列");
952
- if (a = r ? e : e.slice(0, n == null ? void 0 : n.length), !(a == null ? void 0 : a.every((i) => n == null ? void 0 : n.find((y) => i === y)))) return Ye.error("导入的数据表头不匹配");
952
+ if (a = r ? e : e.slice(0, n == null ? void 0 : n.length), !(a == null ? void 0 : a.every((c) => n == null ? void 0 : n.find((y) => c === y)))) return Ye.error("导入的数据表头不匹配");
953
953
  Gr(a, l);
954
954
  }, Zr = (e, l) => {
955
955
  var n;
956
956
  we.setRefreshCurStructure(!1), ((n = I.value) == null ? void 0 : n.length) === 0 || Yr(e, l);
957
957
  }, Ir = (e, l, n, a) => {
958
- const r = [], s = [], c = (y) => Object.keys(y).length;
958
+ const r = [], s = [], i = (y) => Object.keys(y).length;
959
959
  for (const y in e)
960
960
  if (e[y] !== void 0) {
961
961
  const D = e[y], _ = [];
962
962
  for (const [$, b] of Object.entries(D))
963
- _.push(b), s.length < c(D) && s.push($);
963
+ _.push(b), s.length < i(D) && s.push($);
964
964
  r.push(_);
965
965
  }
966
966
  r.unshift(s);
967
- const d = ha.aoa_to_sheet(r), i = ha.book_new();
968
- ha.book_append_sheet(i, d, a), du(i, `${l}.xlsx`), fl.value = [];
967
+ const d = ha.aoa_to_sheet(r), c = ha.book_new();
968
+ ha.book_append_sheet(c, d, a), du(c, `${l}.xlsx`), fl.value = [];
969
969
  }, ma = async (e, l, n, a = !1, r) => {
970
- var s, c, d, i, y, D, _, $;
970
+ var s, i, d, c, y, D, _, $;
971
971
  try {
972
972
  we.setRefreshCurStructure(!1);
973
973
  const b = await Kl({
974
974
  id: o == null ? void 0 : o.index
975
975
  });
976
976
  if (((s = b == null ? void 0 : b.data) == null ? void 0 : s.code) === 200) {
977
- let C = (y = (i = (d = (c = b == null ? void 0 : b.data) == null ? void 0 : c.result) == null ? void 0 : d[0]) == null ? void 0 : i.value) == null ? void 0 : y.pageData;
977
+ let C = (y = (c = (d = (i = b == null ? void 0 : b.data) == null ? void 0 : i.result) == null ? void 0 : d[0]) == null ? void 0 : c.value) == null ? void 0 : y.pageData;
978
978
  a ? C = {
979
979
  ...C,
980
980
  compData: (_ = C == null ? void 0 : C.compData) == null ? void 0 : _.map((O) => {
@@ -1057,7 +1057,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1057
1057
  }, sn = (e) => {
1058
1058
  be("clickTrigger", e);
1059
1059
  }, Ja = async (e) => {
1060
- var s, c, d, i, y, D, _, $, b, C, j, O, F, B, K;
1060
+ var s, i, d, c, y, D, _, $, b, C, j, O, F, B, K;
1061
1061
  const l = e == null ? void 0 : e.row, n = e == null ? void 0 : e.rowData, a = e == null ? void 0 : e.suffix;
1062
1062
  if ((s = l == null ? void 0 : l.toString()) != null && s.includes(".urdf") || e != null && e.isUrdf || a != null && a.includes(".urdf")) {
1063
1063
  if (l.includes(",")) {
@@ -1081,7 +1081,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1081
1081
  return;
1082
1082
  }
1083
1083
  let r = [];
1084
- if ((c = l == null ? void 0 : l.toString()) != null && c.includes(".stl") || (d = l == null ? void 0 : l.toString()) != null && d.includes(".STL") || (i = l == null ? void 0 : l.toString()) != null && i.includes(".obj") || (y = l == null ? void 0 : l.toString()) != null && y.includes(".mtl")) {
1084
+ if ((i = l == null ? void 0 : l.toString()) != null && i.includes(".stl") || (d = l == null ? void 0 : l.toString()) != null && d.includes(".STL") || (c = l == null ? void 0 : l.toString()) != null && c.includes(".obj") || (y = l == null ? void 0 : l.toString()) != null && y.includes(".mtl")) {
1085
1085
  const T = (D = l == null ? void 0 : l.toString()) == null ? void 0 : D.split(","), x = vl(T), k = x == null ? void 0 : x[0];
1086
1086
  if (Ce(k == null ? void 0 : k.extension)) {
1087
1087
  Ue({
@@ -1142,10 +1142,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1142
1142
  }
1143
1143
  (r == null ? void 0 : r.length) > 0 && P.setBlobUrls(r);
1144
1144
  }, xa = (e) => {
1145
- var a, r, s, c;
1145
+ var a, r, s, i;
1146
1146
  if (e != null && e.downloadUrl)
1147
1147
  return e == null ? void 0 : e.name;
1148
- const l = (c = (a = e == null ? void 0 : e.url) == null ? void 0 : a.split(".")) == null ? void 0 : c[((s = (r = e == null ? void 0 : e.url) == null ? void 0 : r.split(".")) == null ? void 0 : s.length) - 1];
1148
+ const l = (i = (a = e == null ? void 0 : e.url) == null ? void 0 : a.split(".")) == null ? void 0 : i[((s = (r = e == null ? void 0 : e.url) == null ? void 0 : r.split(".")) == null ? void 0 : s.length) - 1];
1149
1149
  return (e == null ? void 0 : e.name) + "." + l;
1150
1150
  }, cn = async (e) => {
1151
1151
  let l = null, n = null;
@@ -1154,7 +1154,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1154
1154
  lock: !0,
1155
1155
  text: "Loading",
1156
1156
  background: "rgba(0, 0, 0, 0.7)"
1157
- }), c = await Nl.post(e == null ? void 0 : e.url, null, {
1157
+ }), i = await Nl.post(e == null ? void 0 : e.url, null, {
1158
1158
  responseType: "blob",
1159
1159
  // 必须设置
1160
1160
  headers: {
@@ -1164,7 +1164,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1164
1164
  }
1165
1165
  }).finally(() => {
1166
1166
  s.close();
1167
- }), d = new Blob([c.data], {
1167
+ }), d = new Blob([i.data], {
1168
1168
  type: "application/octet-stream;charset=UTF-8"
1169
1169
  });
1170
1170
  l = URL.createObjectURL(d), n = e == null ? void 0 : e.name;
@@ -1190,7 +1190,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1190
1190
  }, dn = async (e) => {
1191
1191
  let l = null, n = null;
1192
1192
  if (e != null && e.downloadUrl) {
1193
- const s = await La(), c = await Nl.post(e == null ? void 0 : e.url, null, {
1193
+ const s = await La(), i = await Nl.post(e == null ? void 0 : e.url, null, {
1194
1194
  responseType: "blob",
1195
1195
  // 必须设置
1196
1196
  headers: {
@@ -1198,7 +1198,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1198
1198
  baseURL: "http://139.196.154.85:20025",
1199
1199
  "Content-Type": "application/json"
1200
1200
  }
1201
- }), d = new Blob([c.data], {
1201
+ }), d = new Blob([i.data], {
1202
1202
  type: "application/octet-stream;charset=UTF-8"
1203
1203
  });
1204
1204
  l = URL.createObjectURL(d), n = e == null ? void 0 : e.name;
@@ -1219,12 +1219,12 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1219
1219
  var n;
1220
1220
  if (Object.values(l).length !== 0)
1221
1221
  return Object.values(l).find((a) => {
1222
- var r, s, c;
1223
- return ((r = a == null ? void 0 : a.toString()) == null ? void 0 : r.includes(".txt")) || ((s = a == null ? void 0 : a.toString()) == null ? void 0 : s.includes(".cpt")) || ((c = a == null ? void 0 : a.toString()) == null ? void 0 : c.includes(".obj"));
1222
+ var r, s, i;
1223
+ return ((r = a == null ? void 0 : a.toString()) == null ? void 0 : r.includes(".txt")) || ((s = a == null ? void 0 : a.toString()) == null ? void 0 : s.includes(".cpt")) || ((i = a == null ? void 0 : a.toString()) == null ? void 0 : i.includes(".obj"));
1224
1224
  }) ? [...e, Br.value] : (n = o == null ? void 0 : o.config) != null && n.allowMove ? [...e, { label: "迁移" }] : e;
1225
1225
  }, pn = (e, l = {}) => [...e == null ? void 0 : e.values()].filter((n) => Object.keys(l).every((a) => {
1226
- var c;
1227
- const r = n[a], s = (c = l[a]) == null ? void 0 : c.toLowerCase();
1226
+ var i;
1227
+ const r = n[a], s = (i = l[a]) == null ? void 0 : i.toLowerCase();
1228
1228
  return s && r && typeof r == "string" ? r.toLowerCase().includes(s) : !0;
1229
1229
  })), Ra = J([]), fn = async (e, l, n = !1) => {
1230
1230
  var a;
@@ -1239,17 +1239,17 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1239
1239
  }
1240
1240
  }, hn = async (e) => {
1241
1241
  }, Wa = async (e, l, n, a) => {
1242
- var r, s, c, d, i, y, D, _, $, b, C, j, O, F, B, K, T, x, k, m;
1242
+ var r, s, i, d, c, y, D, _, $, b, C, j, O, F, B, K, T, x, k, m;
1243
1243
  if (be("clickMainKey", n), (a == null ? void 0 : a.isExistChild) === !0) {
1244
1244
  let v = (r = a == null ? void 0 : a.columnType) == null ? void 0 : r.prop, W = a == null ? void 0 : a.data;
1245
1245
  if (wl.value = await Hl(_e.value, sessionStorage.getItem("systemKey"), ""), !wl.value) {
1246
- let L = (d = (c = (s = _e.value) == null ? void 0 : s.split("/")) == null ? void 0 : c.filter((ae, t) => {
1246
+ let L = (d = (i = (s = _e.value) == null ? void 0 : s.split("/")) == null ? void 0 : i.filter((ae, t) => {
1247
1247
  var E, p;
1248
1248
  return t !== ((p = (E = _e.value) == null ? void 0 : E.split("/")) == null ? void 0 : p.length) - 1;
1249
1249
  })) == null ? void 0 : d.join("/");
1250
1250
  wl.value = await Hl(L, sessionStorage.getItem("systemKey"), "");
1251
1251
  }
1252
- let u = (i = wl.value) == null ? void 0 : i.filter((L) => (L == null ? void 0 : L.name) === v);
1252
+ let u = (c = wl.value) == null ? void 0 : c.filter((L) => (L == null ? void 0 : L.name) === v);
1253
1253
  wl.value = u == null ? void 0 : u.map((L) => {
1254
1254
  var ae;
1255
1255
  return L.compData = (ae = L.compData) == null ? void 0 : ae.map((t) => {
@@ -1340,8 +1340,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1340
1340
  const vn = () => {
1341
1341
  }, bn = async () => {
1342
1342
  const e = _e.value, l = sessionStorage.getItem("systemKey"), n = await Hl(e, l, ""), a = (n == null ? void 0 : n.find((d) => (d == null ? void 0 : d.name) === "方法明细")) || (n == null ? void 0 : n[0]), r = (a == null ? void 0 : a.compData) || [], s = r == null ? void 0 : r.find((d) => {
1343
- const i = d == null ? void 0 : d.key;
1344
- return i === "formContent" || i === "tableContents";
1343
+ const c = d == null ? void 0 : d.key;
1344
+ return c === "formContent" || c === "tableContents";
1345
1345
  });
1346
1346
  return s == null ? void 0 : s.contents;
1347
1347
  }, La = async () => `Bearer ${Zn.get("access-token")}`, kn = async (e, { token: l, inputData: n } = {}) => await Nl.post(e, n, {
@@ -1353,10 +1353,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1353
1353
  let l = {};
1354
1354
  const n = [];
1355
1355
  return l.form = {}, (a = q(e)) == null || a.forEach((r, s) => {
1356
- var c, d, i, y, D, _, $, b, C, j, O, F, B, K;
1356
+ var i, d, c, y, D, _, $, b, C, j, O, F, B, K;
1357
1357
  if ((r == null ? void 0 : r.comp) === "Table") {
1358
- (d = (c = r == null ? void 0 : r.compData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "header")) == null || d.contents;
1359
- let T = (D = (y = (i = r == null ? void 0 : r.compData) == null ? void 0 : i.find((m) => (m == null ? void 0 : m.key) === "tableContents")) == null ? void 0 : y.contents) == null ? void 0 : D.map((m) => m.slice(1));
1358
+ (d = (i = r == null ? void 0 : r.compData) == null ? void 0 : i.find((m) => (m == null ? void 0 : m.key) === "header")) == null || d.contents;
1359
+ let T = (D = (y = (c = r == null ? void 0 : r.compData) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.key) === "tableContents")) == null ? void 0 : y.contents) == null ? void 0 : D.map((m) => m.slice(1));
1360
1360
  (j = (C = (b = ($ = (_ = r == null ? void 0 : r.compData) == null ? void 0 : _.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : $.contents) == null ? void 0 : b[0]) == null ? void 0 : C[0]) == null || j.label;
1361
1361
  let x = (F = (O = r == null ? void 0 : r.compData) == null ? void 0 : O.find((m) => (m == null ? void 0 : m.key) === "header")) == null ? void 0 : F.contents, k = [];
1362
1362
  T == null || T.forEach((m) => {
@@ -1398,15 +1398,15 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1398
1398
  const s = (m = (k = su(a, r)) == null ? void 0 : k[0]) == null ? void 0 : m.find((g) => {
1399
1399
  const U = g == null ? void 0 : g.key;
1400
1400
  return U === "Interface" || U === "方法体";
1401
- }), c = s == null ? void 0 : s.value;
1402
- if (!c) {
1401
+ }), i = s == null ? void 0 : s.value;
1402
+ if (!i) {
1403
1403
  console.log("未搜索到isMain, 缺少算法执行接口"), ze.setImportLoading(!1);
1404
1404
  return;
1405
1405
  }
1406
- const d = I.value ? xr([I.value]) : [], i = d.find((g) => {
1406
+ const d = I.value ? xr([I.value]) : [], c = d.find((g) => {
1407
1407
  const U = g == null ? void 0 : g.prop;
1408
1408
  return U === "Input1" || U === "输入数据.输入1" || U === "样本输入数据";
1409
- }), y = i == null ? void 0 : i.prop;
1409
+ }), y = c == null ? void 0 : c.prop;
1410
1410
  let D = l == null ? void 0 : l[y];
1411
1411
  const _ = await La().catch((g) => (ze.setImportLoading(!1), Promise.reject(g)));
1412
1412
  let $ = !0, b = "";
@@ -1439,7 +1439,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1439
1439
  }), ue;
1440
1440
  })), D = Sn(H);
1441
1441
  }
1442
- const j = await kn(c, {
1442
+ const j = await kn(i, {
1443
1443
  token: _,
1444
1444
  inputData: D
1445
1445
  }).catch((g) => (ze.setImportLoading(!1), Promise.reject(g))), O = (L = j == null ? void 0 : j.data) == null ? void 0 : L.data, F = d.find((g) => (g == null ? void 0 : g.prop) === "Output1"), B = F == null ? void 0 : F.prop;
@@ -1519,7 +1519,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1519
1519
  }
1520
1520
  }), Me.show = !1);
1521
1521
  }, Ua = async (e, l, n) => {
1522
- var a, r, s, c, d, i, y, D, _, $, b, C, j, O, F;
1522
+ var a, r, s, i, d, c, y, D, _, $, b, C, j, O, F;
1523
1523
  if (bl.value = "", Sa.value = !0, ba.value = !0, be("onButtonClick", e, l), e === "删除")
1524
1524
  _r.confirm("是否确认删除", "温馨提示", {
1525
1525
  confirmButtonText: "确认",
@@ -1560,7 +1560,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1560
1560
  );
1561
1561
  } else if (e === "复制新增") {
1562
1562
  ul.value = "新增";
1563
- const B = q(l), K = (r = I.value) == null ? void 0 : r.find((k) => k == null ? void 0 : k.isMainKey), T = K || ((s = I.value) == null ? void 0 : s[0]), x = (c = El.value) == null ? void 0 : c.find((k) => (k == null ? void 0 : k.label) === "新建");
1563
+ const B = q(l), K = (r = I.value) == null ? void 0 : r.find((k) => k == null ? void 0 : k.isMainKey), T = K || ((s = I.value) == null ? void 0 : s[0]), x = (i = El.value) == null ? void 0 : i.find((k) => (k == null ? void 0 : k.label) === "新建");
1564
1564
  await Ha(!0, x, { data: B, firstCol: T });
1565
1565
  } else if (e === "新增")
1566
1566
  ul.value = "新增", aa(""), kl.value = !0;
@@ -1574,7 +1574,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1574
1574
  T !== "id" && (B[T] = l[T]);
1575
1575
  let K = (d = Object.values(B)) == null ? void 0 : d[1];
1576
1576
  Kr.setTableShowThree(K);
1577
- } else if (((i = n == null ? void 0 : n.extra) == null ? void 0 : i.type) === "modelExample")
1577
+ } else if (((c = n == null ? void 0 : n.extra) == null ? void 0 : c.type) === "modelExample")
1578
1578
  ul.value = e, ka.value = !0;
1579
1579
  else if (e === "新建") {
1580
1580
  let B = zl.value, K = [];
@@ -1606,7 +1606,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1606
1606
  }), Ir(K, o == null ? void 0 : o.compName, B, o == null ? void 0 : o.compName);
1607
1607
  } else e === "迁移" && (Me.selectRow = l, Me.show = !0);
1608
1608
  }, Un = async (e) => {
1609
- var n, a, r, s, c, d;
1609
+ var n, a, r, s, i, d;
1610
1610
  const l = await Kl({
1611
1611
  key: {
1612
1612
  pageKey: e,
@@ -1615,15 +1615,15 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1615
1615
  }
1616
1616
  });
1617
1617
  if (((n = l == null ? void 0 : l.data) == null ? void 0 : n.code) === 200)
1618
- return Array.isArray((a = l == null ? void 0 : l.data) == null ? void 0 : a.result) && ((s = (r = l == null ? void 0 : l.data) == null ? void 0 : r.result) == null ? void 0 : s.length) > 0 ? (d = (c = l == null ? void 0 : l.data) == null ? void 0 : c.result) == null ? void 0 : d.map((i) => {
1618
+ return Array.isArray((a = l == null ? void 0 : l.data) == null ? void 0 : a.result) && ((s = (r = l == null ? void 0 : l.data) == null ? void 0 : r.result) == null ? void 0 : s.length) > 0 ? (d = (i = l == null ? void 0 : l.data) == null ? void 0 : i.result) == null ? void 0 : d.map((c) => {
1619
1619
  var y;
1620
1620
  return {
1621
- id: i == null ? void 0 : i.id,
1622
- ...(y = i == null ? void 0 : i.value) == null ? void 0 : y.pageData
1621
+ id: c == null ? void 0 : c.id,
1622
+ ...(y = c == null ? void 0 : c.value) == null ? void 0 : y.pageData
1623
1623
  };
1624
1624
  }) : [];
1625
1625
  }, _n = async (e, l) => {
1626
- var n, a, r, s, c, d, i, y, D, _, $, b, C, j, O, F, B, K, T, x;
1626
+ var n, a, r, s, i, d, c, y, D, _, $, b, C, j, O, F, B, K, T, x;
1627
1627
  try {
1628
1628
  let k, m;
1629
1629
  const v = (n = zl.value[_e.value + Re]) == null ? void 0 : n.filter((g) => {
@@ -1637,7 +1637,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1637
1637
  return ((A = (U = g == null ? void 0 : g.value) == null ? void 0 : U.pageData) == null ? void 0 : A.method) === "保存";
1638
1638
  });
1639
1639
  if (!u) return;
1640
- const L = (d = (c = zl.value[(s = (r = u == null ? void 0 : u.value) == null ? void 0 : r.pageData) == null ? void 0 : s.path]) == null ? void 0 : c.filter((g) => {
1640
+ const L = (d = (i = zl.value[(s = (r = u == null ? void 0 : u.value) == null ? void 0 : r.pageData) == null ? void 0 : s.path]) == null ? void 0 : i.filter((g) => {
1641
1641
  var U;
1642
1642
  return ((U = g == null ? void 0 : g.key) == null ? void 0 : U.type) === "data";
1643
1643
  })) == null ? void 0 : d.find((g) => {
@@ -1646,7 +1646,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1646
1646
  });
1647
1647
  if (!L) return;
1648
1648
  const ae = {
1649
- buttonName: (y = (i = u == null ? void 0 : u.value) == null ? void 0 : i.pageData) == null ? void 0 : y.method,
1649
+ buttonName: (y = (c = u == null ? void 0 : u.value) == null ? void 0 : c.pageData) == null ? void 0 : y.method,
1650
1650
  api: (_ = (D = L == null ? void 0 : L.value) == null ? void 0 : D.tableData) == null ? void 0 : _.算法体,
1651
1651
  content: W == null ? void 0 : W.map((g) => {
1652
1652
  var U;
@@ -1695,10 +1695,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1695
1695
  var r;
1696
1696
  be("contentChange", {
1697
1697
  contents: (r = e == null ? void 0 : e.compData) == null ? void 0 : r.map((s) => {
1698
- var c;
1698
+ var i;
1699
1699
  return (s == null ? void 0 : s.key) === "formContent" ? {
1700
1700
  ...s,
1701
- contents: (c = s == null ? void 0 : s.contents) == null ? void 0 : c.map((d) => (d == null ? void 0 : d.key) === l ? {
1701
+ contents: (i = s == null ? void 0 : s.contents) == null ? void 0 : i.map((d) => (d == null ? void 0 : d.key) === l ? {
1702
1702
  ...d,
1703
1703
  value: n
1704
1704
  } : la.value && (d == null ? void 0 : d.prop) === la.prop ? {
@@ -1713,11 +1713,11 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1713
1713
  prop: "状态",
1714
1714
  value: ""
1715
1715
  }), Dn = J(["系统自动生成信息", "审批意见"]), On = async (e, l, n) => {
1716
- var i, y;
1717
- let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], r = 1, s, c;
1716
+ var c, y;
1717
+ let a = e == null ? void 0 : e[l == null ? void 0 : l.prop], r = 1, s, i;
1718
1718
  const d = q(_e).value + Re + a;
1719
1719
  if (d) {
1720
- la.value = "", s = (i = zl.value[d]) == null ? void 0 : i.filter(($) => {
1720
+ la.value = "", s = (c = zl.value[d]) == null ? void 0 : c.filter(($) => {
1721
1721
  var b;
1722
1722
  return ((b = $ == null ? void 0 : $.key) == null ? void 0 : b.type) === "structure";
1723
1723
  });
@@ -1725,11 +1725,11 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1725
1725
  var b, C, j;
1726
1726
  return ((j = (C = (b = $ == null ? void 0 : $.value) == null ? void 0 : b.pageData) == null ? void 0 : C.comp) == null ? void 0 : j.toUpperCase()) === "FORM";
1727
1727
  });
1728
- c = {
1728
+ i = {
1729
1729
  ...(y = D == null ? void 0 : D.value) == null ? void 0 : y.pageData,
1730
1730
  id: D == null ? void 0 : D.id
1731
1731
  };
1732
- const _ = await _n(c, l == null ? void 0 : l.prop);
1732
+ const _ = await _n(i, l == null ? void 0 : l.prop);
1733
1733
  if (la.value = _ == null ? void 0 : _.newStatus, _ != null && _.newMainKeyValue) return _ == null ? void 0 : _.newMainKeyValue;
1734
1734
  }
1735
1735
  if (ne.value.some((D) => (D == null ? void 0 : D[l == null ? void 0 : l.prop]) === a)) {
@@ -1740,10 +1740,10 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1740
1740
  }
1741
1741
  return a;
1742
1742
  }, Ha = async (e, l, n) => {
1743
- var c, d, i, y, D, _, $, b;
1743
+ var i, d, c, y, D, _, $, b;
1744
1744
  let a, r;
1745
1745
  const s = await On(n == null ? void 0 : n.data, n == null ? void 0 : n.firstCol);
1746
- if (e ? (a = q(_e).value + Re + ((y = n == null ? void 0 : n.data) == null ? void 0 : y[(i = n == null ? void 0 : n.firstCol) == null ? void 0 : i.prop]), r = q(_e).value + Re + s) : (a = q(_e).value + Re, r = q(a) + `loading${((c = Rl.value) == null ? void 0 : c.account) || ((d = Rl.value) == null ? void 0 : d.账号)}`), l) {
1746
+ if (e ? (a = q(_e).value + Re + ((y = n == null ? void 0 : n.data) == null ? void 0 : y[(c = n == null ? void 0 : n.firstCol) == null ? void 0 : c.prop]), r = q(_e).value + Re + s) : (a = q(_e).value + Re, r = q(a) + `loading${((i = Rl.value) == null ? void 0 : i.account) || ((d = Rl.value) == null ? void 0 : d.账号)}`), l) {
1747
1747
  const C = (_ = (D = zl.value[r]) == null ? void 0 : D.filter((j) => {
1748
1748
  var O;
1749
1749
  return ((O = j == null ? void 0 : j.key) == null ? void 0 : O.parentTable) === "";
@@ -1779,12 +1779,12 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1779
1779
  }, En = () => {
1780
1780
  Be.value = !1, Zl.value = [], R.value = !1;
1781
1781
  }, aa = (e) => {
1782
- var c, d, i, y, D, _, $, b, C, j, O, F, B, K, T, x, k, m, v, W;
1782
+ var i, d, c, y, D, _, $, b, C, j, O, F, B, K, T, x, k, m, v, W;
1783
1783
  const l = [];
1784
1784
  let n = [];
1785
1785
  for (let u in e)
1786
1786
  Array.isArray(e == null ? void 0 : e[u]) && n.push(u);
1787
- qe.value = q(I.value), (d = fa((c = q(I.value)) == null ? void 0 : c.filter((u) => (u == null ? void 0 : u.label) !== "操作"))) == null || d.forEach((u, L) => {
1787
+ qe.value = q(I.value), (d = fa((i = q(I.value)) == null ? void 0 : i.filter((u) => (u == null ? void 0 : u.label) !== "操作"))) == null || d.forEach((u, L) => {
1788
1788
  var ae;
1789
1789
  n.find((t) => t === (u == null ? void 0 : u.prop)) || (u != null && u.formType && ((ae = u == null ? void 0 : u.formType) == null ? void 0 : ae.toUpperCase()) === "SELECT" || u != null && u.menuId ? l.push({
1790
1790
  label: (u == null ? void 0 : u.label) || (u == null ? void 0 : u.prop) || "",
@@ -1823,7 +1823,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1823
1823
  relatedValueId: u == null ? void 0 : u.relatedValueId
1824
1824
  }));
1825
1825
  }), e === "" || !e || (bl.value = (e == null ? void 0 : e.id) ?? "");
1826
- let a = fa((i = q(I.value)) == null ? void 0 : i.filter((u) => (u == null ? void 0 : u.label) !== "操作"));
1826
+ let a = fa((c = q(I.value)) == null ? void 0 : c.filter((u) => (u == null ? void 0 : u.label) !== "操作"));
1827
1827
  il.value && ((y = il.value) == null ? void 0 : y.length) > 0 && (il.value = (D = q(il).value) == null ? void 0 : D.map((u) => {
1828
1828
  var ae;
1829
1829
  let L = (u == null ? void 0 : u.prop) || ((ae = a == null ? void 0 : a.find((t) => (t == null ? void 0 : t.label) === (u == null ? void 0 : u.label))) == null ? void 0 : ae.prop);
@@ -1885,14 +1885,14 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1885
1885
  handle: ".col-drag-icon",
1886
1886
  ghostClass: "sortable-ghost",
1887
1887
  onEnd: (n) => {
1888
- var c;
1888
+ var i;
1889
1889
  const { oldIndex: a, newIndex: r } = n;
1890
1890
  if (a === r) return;
1891
1891
  const s = ea.value.splice(a, 1)[0];
1892
- ea.value.splice(r, 0, s), I.value = (c = I.value) == null ? void 0 : c.slice().sort((d, i) => {
1892
+ ea.value.splice(r, 0, s), I.value = (i = I.value) == null ? void 0 : i.slice().sort((d, c) => {
1893
1893
  if (d.label === "操作") return 1;
1894
- if (i.label === "操作") return -1;
1895
- const y = ea.value.findIndex((_) => _.label === d.label), D = ea.value.findIndex((_) => _.label === i.label);
1894
+ if (c.label === "操作") return -1;
1895
+ const y = ea.value.findIndex((_) => _.label === d.label), D = ea.value.findIndex((_) => _.label === c.label);
1896
1896
  return y - D;
1897
1897
  });
1898
1898
  }
@@ -1913,12 +1913,12 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1913
1913
  };
1914
1914
  let n;
1915
1915
  return e.children = (a = e.children) == null ? void 0 : a.map((r) => {
1916
- var s, c;
1916
+ var s, i;
1917
1917
  if ((r == null ? void 0 : r.id) === bl.value) {
1918
1918
  let d = {};
1919
- for (let i in r) {
1920
- let y = (s = l == null ? void 0 : l.find((D) => (D == null ? void 0 : D.prop) === i)) == null ? void 0 : s.label;
1921
- y ? d[i] = (c = He.value) == null ? void 0 : c[y] : d[i] = r[i];
1919
+ for (let c in r) {
1920
+ let y = (s = l == null ? void 0 : l.find((D) => (D == null ? void 0 : D.prop) === c)) == null ? void 0 : s.label;
1921
+ y ? d[c] = (i = He.value) == null ? void 0 : i[y] : d[c] = r[c];
1922
1922
  }
1923
1923
  r = Object.assign(d, He.value), n = r;
1924
1924
  } else {
@@ -1933,27 +1933,27 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1933
1933
  }, Qa = (e, l) => {
1934
1934
  let n, a;
1935
1935
  return e != null && e.find((r) => (r == null ? void 0 : r.id) === bl.value) ? n = e == null ? void 0 : e.map((r) => {
1936
- var s, c;
1936
+ var s, i;
1937
1937
  if ((r == null ? void 0 : r.id) === bl.value) {
1938
1938
  let d = {};
1939
- for (let i in r) {
1940
- let y = (s = l == null ? void 0 : l.find((D) => (D == null ? void 0 : D.prop) === i)) == null ? void 0 : s.label;
1941
- y ? d[i] = (c = He.value) == null ? void 0 : c[y] : d[i] = r[i];
1939
+ for (let c in r) {
1940
+ let y = (s = l == null ? void 0 : l.find((D) => (D == null ? void 0 : D.prop) === c)) == null ? void 0 : s.label;
1941
+ y ? d[c] = (i = He.value) == null ? void 0 : i[y] : d[c] = r[c];
1942
1942
  }
1943
1943
  r = Object.assign(d, He.value), a = r;
1944
1944
  }
1945
1945
  return r;
1946
1946
  }) : n = e == null ? void 0 : e.map((r) => {
1947
- var s, c, d, i;
1947
+ var s, i, d, c;
1948
1948
  if ((r == null ? void 0 : r.id) === bl.value) {
1949
1949
  let y = {};
1950
1950
  for (let D in r) {
1951
1951
  let _ = (s = l == null ? void 0 : l.find(($) => ($ == null ? void 0 : $.prop) === D)) == null ? void 0 : s.label;
1952
- _ ? y[D] = (c = He.value) == null ? void 0 : c[_] : y[D] = r[D];
1952
+ _ ? y[D] = (i = He.value) == null ? void 0 : i[_] : y[D] = r[D];
1953
1953
  }
1954
1954
  r = Object.assign(y, He.value), a = r;
1955
1955
  } else
1956
- r = (d = Pa(r, l)) == null ? void 0 : d.contents, a = (i = Pa(r, l)) == null ? void 0 : i.currentSelectContents;
1956
+ r = (d = Pa(r, l)) == null ? void 0 : d.contents, a = (c = Pa(r, l)) == null ? void 0 : c.currentSelectContents;
1957
1957
  return r;
1958
1958
  }), {
1959
1959
  newContents: n,
@@ -1991,8 +1991,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
1991
1991
  }), s.push(Object.assign(He.value, M)), r = Object.assign(He.value, M);
1992
1992
  } else
1993
1993
  s = (_ = Qa(s, a)) == null ? void 0 : _.newContents, r = ($ = Qa(s, a)) == null ? void 0 : $.currentSelectContents;
1994
- const c = (b = o.itemData) == null ? void 0 : b.filter((M) => (M == null ? void 0 : M.key) === "childTree")[0];
1995
- if (((C = c == null ? void 0 : c.contents) == null ? void 0 : C.length) > 0) {
1994
+ const i = (b = o.itemData) == null ? void 0 : b.filter((M) => (M == null ? void 0 : M.key) === "childTree")[0];
1995
+ if (((C = i == null ? void 0 : i.contents) == null ? void 0 : C.length) > 0) {
1996
1996
  ul.value = "编辑";
1997
1997
  const M = [];
1998
1998
  s == null || s.forEach((Q, oe) => {
@@ -2016,15 +2016,15 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2016
2016
  } else
2017
2017
  X = Q;
2018
2018
  Array.isArray(Q) && Q.some((V) => V == null ? void 0 : V.id) ? M.push(Object.assign(X, { id: (ee = Q == null ? void 0 : Q.find((V) => V.id)) == null ? void 0 : ee.id })) : X.id ? M.push(X) : M.push(Object.assign(X, { id: oe.toString() }));
2019
- }), ne.value = er(M, c, I.value);
2019
+ }), ne.value = er(M, i, I.value);
2020
2020
  }
2021
2021
  Ia(ne.value), Ta.value = ne.value;
2022
2022
  const d = Qu(Ta.value, Il.value, s);
2023
- let i = [];
2024
- if (Xl.value ? (i = (j = q(Xl).value.singleContent) == null ? void 0 : j.filter((M) => (M == null ? void 0 : M.id) !== (r == null ? void 0 : r.id)), i.push(r)) : i = [r], pl.value) {
2023
+ let c = [];
2024
+ if (Xl.value ? (c = (j = q(Xl).value.singleContent) == null ? void 0 : j.filter((M) => (M == null ? void 0 : M.id) !== (r == null ? void 0 : r.id)), c.push(r)) : c = [r], pl.value) {
2025
2025
  const M = {
2026
2026
  content: d,
2027
- singleContent: ((O = c == null ? void 0 : c.contents) == null ? void 0 : O.length) > 0 ? i == null ? void 0 : i.flatMap(wa) : i,
2027
+ singleContent: ((O = i == null ? void 0 : i.contents) == null ? void 0 : O.length) > 0 ? c == null ? void 0 : c.flatMap(wa) : c,
2028
2028
  index: o == null ? void 0 : o.index,
2029
2029
  buttonName: "编辑",
2030
2030
  column: I.value,
@@ -2043,7 +2043,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2043
2043
  ).sort((X, ee) => X._idx - ee._idx).map(({ _idx: X, ...ee }) => ee), Q = (k = Q == null ? void 0 : Q[(Q == null ? void 0 : Q.length) - 1]) == null ? void 0 : k.value;
2044
2044
  const oe = {
2045
2045
  content: d,
2046
- singleContent: ((m = c == null ? void 0 : c.contents) == null ? void 0 : m.length) > 0 ? wa(r) : r,
2046
+ singleContent: ((m = i == null ? void 0 : i.contents) == null ? void 0 : m.length) > 0 ? wa(r) : r,
2047
2047
  index: o == null ? void 0 : o.index,
2048
2048
  buttonName: ul.value,
2049
2049
  column: I.value,
@@ -2094,23 +2094,23 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2094
2094
  } : null, k;
2095
2095
  })), T;
2096
2096
  });
2097
- let s = q($e.value), c = (D = (y = q(r)) == null ? void 0 : y.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : D.contents;
2097
+ let s = q($e.value), i = (D = (y = q(r)) == null ? void 0 : y.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : D.contents;
2098
2098
  s = s == null ? void 0 : s.map((T) => {
2099
2099
  var x;
2100
- return T.value = (x = c == null ? void 0 : c.find((k, m) => m === (T == null ? void 0 : T.id))) == null ? void 0 : x.value, T;
2100
+ return T.value = (x = i == null ? void 0 : i.find((k, m) => m === (T == null ? void 0 : T.id))) == null ? void 0 : x.value, T;
2101
2101
  });
2102
- let d = "", i = (b = ($ = (_ = q(r)) == null ? void 0 : _.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : $.contents) == null ? void 0 : b.find((T, x) => {
2102
+ let d = "", c = (b = ($ = (_ = q(r)) == null ? void 0 : _.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : $.contents) == null ? void 0 : b.find((T, x) => {
2103
2103
  var k, m, v;
2104
2104
  return (T == null ? void 0 : T.label) === Sl.value || (x == null ? void 0 : x.toString()) === ((v = (m = (k = Sl.value) == null ? void 0 : k.split("a")) == null ? void 0 : m[1]) == null ? void 0 : v.toString());
2105
2105
  });
2106
2106
  if ((O = (j = (C = q(r)) == null ? void 0 : C.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : j.contents) == null || O.forEach((T) => {
2107
2107
  var x, k, m, v, W;
2108
2108
  d === "" && ((m = (k = (x = T == null ? void 0 : T.optionUrl) == null ? void 0 : x.groupSelect) == null ? void 0 : k[1]) != null && m.includes("[")) && (d = (W = (v = T == null ? void 0 : T.optionUrl) == null ? void 0 : v.groupSelect) == null ? void 0 : W[1]);
2109
- }), (F = i == null ? void 0 : i.optionUrl) != null && F.menuSelect) {
2110
- let T = await Cr(i), x;
2109
+ }), (F = c == null ? void 0 : c.optionUrl) != null && F.menuSelect) {
2110
+ let T = await Cr(c), x;
2111
2111
  if (T == null || T.forEach((k) => {
2112
2112
  var m, v, W, u, L, ae, t, E, p, g;
2113
- d === ((v = (m = i == null ? void 0 : i.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : v[1]) && ((L = (u = (W = i == null ? void 0 : i.optionUrl) == null ? void 0 : W.groupSelect) == null ? void 0 : u[1]) != null && L.includes("[")) && ((g = q(k)) == null ? void 0 : g[(p = (E = (t = (ae = i == null ? void 0 : i.optionUrl) == null ? void 0 : ae.groupSelect) == null ? void 0 : t[1]) == null ? void 0 : E.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (x = k);
2113
+ d === ((v = (m = c == null ? void 0 : c.optionUrl) == null ? void 0 : m.groupSelect) == null ? void 0 : v[1]) && ((L = (u = (W = c == null ? void 0 : c.optionUrl) == null ? void 0 : W.groupSelect) == null ? void 0 : u[1]) != null && L.includes("[")) && ((g = q(k)) == null ? void 0 : g[(p = (E = (t = (ae = c == null ? void 0 : c.optionUrl) == null ? void 0 : ae.groupSelect) == null ? void 0 : t[1]) == null ? void 0 : E.replaceAll("[", "")) == null ? void 0 : p.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (x = k);
2114
2114
  }), x) {
2115
2115
  let k = q(s);
2116
2116
  k = k == null ? void 0 : k.map((v) => {
@@ -2179,31 +2179,31 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2179
2179
  }), !Vl.value) return;
2180
2180
  let s = "";
2181
2181
  (b = Sl.value) != null && b.includes("·") && (Sl.value = (j = (C = Sl.value) == null ? void 0 : C.split("·")) == null ? void 0 : j[0]);
2182
- let c = (B = (F = (O = q(n)) == null ? void 0 : O.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : B.find((t, E) => {
2182
+ let i = (B = (F = (O = q(n)) == null ? void 0 : O.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : B.find((t, E) => {
2183
2183
  var p, g, U;
2184
2184
  return (t == null ? void 0 : t.label) === Sl.value || (E == null ? void 0 : E.toString()) === ((U = (g = (p = Sl.value) == null ? void 0 : p.split("a")) == null ? void 0 : g[1]) == null ? void 0 : U.toString());
2185
- }), d = (K = c == null ? void 0 : c.optionUrl) == null ? void 0 : K.menuSelect, i = !0;
2185
+ }), d = (K = i == null ? void 0 : i.optionUrl) == null ? void 0 : K.menuSelect, c = !0;
2186
2186
  (k = (x = (T = q(n)) == null ? void 0 : T.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : x.contents) == null || k.forEach((t) => {
2187
2187
  var E, p, g, U, A, ie;
2188
- i && ((g = (p = (E = t == null ? void 0 : t.optionUrl) == null ? void 0 : E.groupSelect) == null ? void 0 : p[1]) != null && g.includes("[")) && (s = (A = (U = t == null ? void 0 : t.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : A[1], JSON.stringify(d) === JSON.stringify((ie = t == null ? void 0 : t.optionUrl) == null ? void 0 : ie.menuSelect) && (i = !1));
2188
+ c && ((g = (p = (E = t == null ? void 0 : t.optionUrl) == null ? void 0 : E.groupSelect) == null ? void 0 : p[1]) != null && g.includes("[")) && (s = (A = (U = t == null ? void 0 : t.optionUrl) == null ? void 0 : U.groupSelect) == null ? void 0 : A[1], JSON.stringify(d) === JSON.stringify((ie = t == null ? void 0 : t.optionUrl) == null ? void 0 : ie.menuSelect) && (c = !1));
2189
2189
  });
2190
2190
  let y = q(a);
2191
2191
  y = y == null ? void 0 : y.map((t) => {
2192
2192
  var E, p;
2193
2193
  return (t == null ? void 0 : t.type) === "Select" && ((p = (E = t == null ? void 0 : t.optionUrl) == null ? void 0 : E.allSelectionContents) == null ? void 0 : p.length) > 0 && (t.optionUrl.contactValue = e), t.value = e == null ? void 0 : e[t == null ? void 0 : t.prop], t;
2194
2194
  }), $e.value = q(y);
2195
- let D = (W = (v = (m = $e.value) == null ? void 0 : m.find((t) => {
2195
+ let D = (i == null ? void 0 : i.menuId) ?? ((W = (v = (m = $e.value) == null ? void 0 : m.find((t) => {
2196
2196
  var E;
2197
2197
  return (E = t == null ? void 0 : t.optionUrl) == null ? void 0 : E.menuId;
2198
- })) == null ? void 0 : v.optionUrl) == null ? void 0 : W.menuId;
2199
- if ((u = c == null ? void 0 : c.optionUrl) != null && u.menuSelect && Vl.value || D) {
2200
- let t = await Cr(c, D), E;
2201
- if ((L = c == null ? void 0 : c.optionUrl) == null || L.menuSelect, t == null || t.forEach((p) => {
2198
+ })) == null ? void 0 : v.optionUrl) == null ? void 0 : W.menuId);
2199
+ if ((u = i == null ? void 0 : i.optionUrl) != null && u.menuSelect && Vl.value || D) {
2200
+ let t = await Cr(i, D), E;
2201
+ if ((L = i == null ? void 0 : i.optionUrl) == null || L.menuSelect, t == null || t.forEach((p) => {
2202
2202
  var g, U, A, ie, H, ue, te, M, Q, oe, X, ee, V, he, Oe;
2203
- if (s === ((U = (g = c == null ? void 0 : c.optionUrl) == null ? void 0 : g.groupSelect) == null ? void 0 : U[1]) && ((H = (ie = (A = c == null ? void 0 : c.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : ie[1]) != null && H.includes("[")) && ((oe = q(p)) == null ? void 0 : oe[(Q = (M = (te = (ue = c == null ? void 0 : c.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : te[1]) == null ? void 0 : M.replaceAll("[", "")) == null ? void 0 : Q.replaceAll("]", "")]) === (c == null ? void 0 : c.value) && (E = p), D) {
2203
+ if (s === ((U = (g = i == null ? void 0 : i.optionUrl) == null ? void 0 : g.groupSelect) == null ? void 0 : U[1]) && ((H = (ie = (A = i == null ? void 0 : i.optionUrl) == null ? void 0 : A.groupSelect) == null ? void 0 : ie[1]) != null && H.includes("[")) && ((oe = q(p)) == null ? void 0 : oe[(Q = (M = (te = (ue = i == null ? void 0 : i.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : te[1]) == null ? void 0 : M.replaceAll("[", "")) == null ? void 0 : Q.replaceAll("]", "")]) === (i == null ? void 0 : i.value) && (E = p), D) {
2204
2204
  let me = (ee = (X = $e.value) == null ? void 0 : X.find((Ze) => {
2205
2205
  var el;
2206
- return (el = Ze == null ? void 0 : Ze.optionUrl) == null ? void 0 : el.menuId;
2206
+ return (i == null ? void 0 : i.menuId) === ((el = Ze == null ? void 0 : Ze.optionUrl) == null ? void 0 : el.menuId);
2207
2207
  })) == null ? void 0 : ee.prop, Ve = e[me];
2208
2208
  me != null && me.includes("·") && (Ve = (he = (V = e[me]) == null ? void 0 : V.split(" ")) == null ? void 0 : he[0], me = (Oe = me == null ? void 0 : me.split("·")) == null ? void 0 : Oe[0]), p[me] === Ve && (E = p);
2209
2209
  }
@@ -2233,13 +2233,13 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2233
2233
  }
2234
2234
  Vl.value = !1;
2235
2235
  }, Pn = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", wn = (e) => {
2236
- var s, c;
2237
- const l = (c = (s = il.value) == null ? void 0 : s.find((d) => (d == null ? void 0 : d.label) === (e == null ? void 0 : e.label))) == null ? void 0 : c.multiple, n = e == null ? void 0 : e.prop;
2236
+ var s, i;
2237
+ const l = (i = (s = il.value) == null ? void 0 : s.find((d) => (d == null ? void 0 : d.label) === (e == null ? void 0 : e.label))) == null ? void 0 : i.multiple, n = e == null ? void 0 : e.prop;
2238
2238
  if ((e == null ? void 0 : e.formType) != "Select")
2239
2239
  return;
2240
2240
  ne.value.forEach((d) => {
2241
- const i = d == null ? void 0 : d[n];
2242
- l && Dr(i) && (d[n] = [i]), !l && !Dr(i) && (d[n] = "");
2241
+ const c = d == null ? void 0 : d[n];
2242
+ l && Dr(c) && (d[n] = [c]), !l && !Dr(c) && (d[n] = "");
2243
2243
  });
2244
2244
  }, Za = (e, l) => {
2245
2245
  var n;
@@ -2247,12 +2247,12 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2247
2247
  e[a == null ? void 0 : a.prop] = a == null ? void 0 : a.value;
2248
2248
  }), e.children && ((n = e.children) == null ? void 0 : n.length) > 0 && (e.children = e.children.map((a) => Za(a, l))), e;
2249
2249
  }, $a = (e) => {
2250
- var n, a, r, s, c, d;
2250
+ var n, a, r, s, i, d;
2251
2251
  aa("");
2252
- const l = (n = $e.value) == null ? void 0 : n.reduce((i, y) => (i[y.name] = y.value, i), {});
2252
+ const l = (n = $e.value) == null ? void 0 : n.reduce((c, y) => (c[y.name] = y.value, c), {});
2253
2253
  if (((a = Object.keys(l)) == null ? void 0 : a.length) > 0) {
2254
2254
  He.value = l, bl.value = "", Jl.value = (r = ne.value) == null ? void 0 : r.length, Ll.value = (s = El.value) == null ? void 0 : s.filter((y) => (y == null ? void 0 : y.label) !== "新增");
2255
- const i = (d = (c = qe.value) == null ? void 0 : c.filter((y) => (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : d.map((y) => {
2255
+ const c = (d = (i = qe.value) == null ? void 0 : i.filter((y) => (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : d.map((y) => {
2256
2256
  var _, $, b;
2257
2257
  const D = ($ = (_ = il.value) == null ? void 0 : _.find((C) => (C == null ? void 0 : C.label) === (y == null ? void 0 : y.label))) == null ? void 0 : $.multiple;
2258
2258
  return wn(y), {
@@ -2270,7 +2270,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2270
2270
  // columnType: convertColType(col?.formType) || col?.columnType
2271
2271
  };
2272
2272
  });
2273
- I.value = i == null ? void 0 : i.map((y) => Za(y, [{
2273
+ I.value = c == null ? void 0 : c.map((y) => Za(y, [{
2274
2274
  prop: "type",
2275
2275
  value: "edit"
2276
2276
  }, { prop: "columnType", value: Pn(y == null ? void 0 : y.formType) || (y == null ? void 0 : y.columnType) }])), e === "createClick" && ra(!1);
@@ -2281,24 +2281,24 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2281
2281
  HOURS: "工时"
2282
2282
  }, $n = (e, l) => Number(mr(l).diff(mr(e), "day", !0).toFixed(1)), Ia = (e) => {
2283
2283
  var s;
2284
- const l = o.itemData, n = (s = l == null ? void 0 : l.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : s.contents, a = /* @__PURE__ */ new Map();
2285
- return n == null || n.forEach((c, d) => {
2286
- const { label: i } = c;
2287
- a.set(i, d);
2288
- }), !a.has(Wl.START) || !a.has(Wl.END) || !a.has(Wl.HOURS) ? e : e == null ? void 0 : e.map((c) => {
2289
- const d = c == null ? void 0 : c[Wl.START], i = c == null ? void 0 : c[Wl.END], y = $n(d, i);
2290
- return d && i && (c[Wl.HOURS] = `${y}天`), c;
2284
+ const l = o.itemData, n = (s = l == null ? void 0 : l.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : s.contents, a = /* @__PURE__ */ new Map();
2285
+ return n == null || n.forEach((i, d) => {
2286
+ const { label: c } = i;
2287
+ a.set(c, d);
2288
+ }), !a.has(Wl.START) || !a.has(Wl.END) || !a.has(Wl.HOURS) ? e : e == null ? void 0 : e.map((i) => {
2289
+ const d = i == null ? void 0 : i[Wl.START], c = i == null ? void 0 : i[Wl.END], y = $n(d, c);
2290
+ return d && c && (i[Wl.HOURS] = `${y}天`), i;
2291
2291
  });
2292
2292
  }, Va = (e, l, n = 0) => {
2293
2293
  if (n > ((l == null ? void 0 : l.length) ?? "")) return e;
2294
2294
  const a = l == null ? void 0 : l[n], r = /* @__PURE__ */ new Map();
2295
- for (const c of e) {
2296
- const d = c[a];
2297
- r.has(d) || r.set(d, []), r.get(d) && r.get(d).push(c);
2295
+ for (const i of e) {
2296
+ const d = i[a];
2297
+ r.has(d) || r.set(d, []), r.get(d) && r.get(d).push(i);
2298
2298
  }
2299
2299
  const s = [];
2300
- for (const [c, d] of r) {
2301
- const [i, ...y] = d, D = { ...i };
2300
+ for (const [i, d] of r) {
2301
+ const [c, ...y] = d, D = { ...c };
2302
2302
  n + 1 === ((l == null ? void 0 : l.length) ?? "") ? D.children = d == null ? void 0 : d.map((_) => (_.level = q(n) + 1, _)).filter((_, $) => $ !== 0) : y.length > 0 && (D.children = Va(y, l, n + 1)), D.level = n, s.push(D);
2303
2303
  }
2304
2304
  return s;
@@ -2319,8 +2319,8 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2319
2319
  f = (K = f == null ? void 0 : f.split(":")) == null ? void 0 : K[1], f = (T = f.slice(1, (f == null ? void 0 : f.length) - 1)) == null ? void 0 : T.split(","), r = !!(f != null && f.find((Y) => Y === "操作"));
2320
2320
  }
2321
2321
  let s = l;
2322
- const c = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "page"), d = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "rowButton"), i = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "extraButton"), y = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "tableContents"), D = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "tableIndex");
2323
- il.value = (k = (x = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "tableToForm")) == null ? void 0 : x[0]) == null ? void 0 : k.contents, Ba.value = (c == null ? void 0 : c.contents) ?? !0;
2322
+ const i = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "page"), d = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "rowButton"), c = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "extraButton"), y = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "tableContents"), D = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "tableIndex");
2323
+ il.value = (k = (x = e == null ? void 0 : e.filter((f) => (f == null ? void 0 : f.key) === "tableToForm")) == null ? void 0 : x[0]) == null ? void 0 : k.contents, Ba.value = (i == null ? void 0 : i.contents) ?? !0;
2324
2324
  let _ = [];
2325
2325
  Pl.value === "" ? _ = n == null ? void 0 : n[0] : _ = (n == null ? void 0 : n.find((f) => (f == null ? void 0 : f.selectLabel) === "(" + Pl.value + ")")) ?? (n == null ? void 0 : n.find((f) => !(f != null && f.selectLabel)));
2326
2326
  let $ = [];
@@ -2438,12 +2438,12 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2438
2438
  Ol.value = d == null ? void 0 : d.contents;
2439
2439
  else
2440
2440
  Ol.value = [];
2441
- if (((hl = i == null ? void 0 : i.contents) == null ? void 0 : hl.length) > 0)
2441
+ if (((hl = c == null ? void 0 : c.contents) == null ? void 0 : hl.length) > 0)
2442
2442
  if ((ml = (Cl = (We = e == null ? void 0 : e.find((f) => (f == null ? void 0 : f.key) === "filterAllType")) == null ? void 0 : We.value) == null ? void 0 : Cl.find((f) => (f == null ? void 0 : f.value) === "onButtonContents")) != null && ml.content) {
2443
2443
  let f = (nr = (yl = (Ge = e == null ? void 0 : e.find((Y) => (Y == null ? void 0 : Y.key) === "filterAllType")) == null ? void 0 : Ge.value) == null ? void 0 : yl.find((Y) => (Y == null ? void 0 : Y.value) === "onButtonContents")) == null ? void 0 : nr.content;
2444
- f = (ur = f == null ? void 0 : f.split(":")) == null ? void 0 : ur[1], f = (or = f.slice(1, (f == null ? void 0 : f.length) - 1)) == null ? void 0 : or.split(","), Ll.value = (sr = i == null ? void 0 : i.contents) == null ? void 0 : sr.filter((Y) => f == null ? void 0 : f.find((Ke) => Ke === (Y == null ? void 0 : Y.label))), El.value = (ir = i == null ? void 0 : i.contents) == null ? void 0 : ir.filter((Y) => f == null ? void 0 : f.find((Ke) => Ke === (Y == null ? void 0 : Y.label))), Te.value = !!(f != null && f.find((Y) => Y === "搜索")), je.value = !!(f != null && f.find((Y) => Y === "块状显示"));
2444
+ f = (ur = f == null ? void 0 : f.split(":")) == null ? void 0 : ur[1], f = (or = f.slice(1, (f == null ? void 0 : f.length) - 1)) == null ? void 0 : or.split(","), Ll.value = (sr = c == null ? void 0 : c.contents) == null ? void 0 : sr.filter((Y) => f == null ? void 0 : f.find((Ke) => Ke === (Y == null ? void 0 : Y.label))), El.value = (ir = c == null ? void 0 : c.contents) == null ? void 0 : ir.filter((Y) => f == null ? void 0 : f.find((Ke) => Ke === (Y == null ? void 0 : Y.label))), Te.value = !!(f != null && f.find((Y) => Y === "搜索")), je.value = !!(f != null && f.find((Y) => Y === "块状显示"));
2445
2445
  } else
2446
- Ll.value = i == null ? void 0 : i.contents, El.value = i == null ? void 0 : i.contents;
2446
+ Ll.value = c == null ? void 0 : c.contents, El.value = c == null ? void 0 : c.contents;
2447
2447
  else
2448
2448
  Ll.value = [], El.value = [];
2449
2449
  Jl.value = ((cr = ne == null ? void 0 : ne.value) == null ? void 0 : cr.length) ?? 0, Ia(ne.value), Ta.value = ne.value, pl.value && (I.value = (tr = (dr = qe.value) == null ? void 0 : dr.filter((f) => (f == null ? void 0 : f.label) !== "操作")) == null ? void 0 : tr.map((f) => {
@@ -2464,15 +2464,15 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2464
2464
  () => [o.itemData, Pl.value, Jr.value, Il.value, De == null ? void 0 : De.value],
2465
2465
  async () => {
2466
2466
  var e, l, n, a, r, s;
2467
- if ((e = o == null ? void 0 : o.itemData) != null && e.find((c) => (c == null ? void 0 : c.key) === "columnPath") && !((l = Yl.value) != null && l.find((c) => {
2468
- var d, i;
2469
- return (c == null ? void 0 : c.key) === ((i = (d = o == null ? void 0 : o.itemData) == null ? void 0 : d.find((y) => (y == null ? void 0 : y.key) === "columnPath")) == null ? void 0 : i.contents);
2467
+ if ((e = o == null ? void 0 : o.itemData) != null && e.find((i) => (i == null ? void 0 : i.key) === "columnPath") && !((l = Yl.value) != null && l.find((i) => {
2468
+ var d, c;
2469
+ return (i == null ? void 0 : i.key) === ((c = (d = o == null ? void 0 : o.itemData) == null ? void 0 : d.find((y) => (y == null ? void 0 : y.key) === "columnPath")) == null ? void 0 : c.contents);
2470
2470
  }))) {
2471
- let c = Yl.value, d = {
2472
- key: (a = (n = o == null ? void 0 : o.itemData) == null ? void 0 : n.find((i) => (i == null ? void 0 : i.key) === "columnPath")) == null ? void 0 : a.contents,
2473
- value: (s = (r = o == null ? void 0 : o.itemData) == null ? void 0 : r.find((i) => (i == null ? void 0 : i.key) === "columnUsingPath")) == null ? void 0 : s.contents
2471
+ let i = Yl.value, d = {
2472
+ key: (a = (n = o == null ? void 0 : o.itemData) == null ? void 0 : n.find((c) => (c == null ? void 0 : c.key) === "columnPath")) == null ? void 0 : a.contents,
2473
+ value: (s = (r = o == null ? void 0 : o.itemData) == null ? void 0 : r.find((c) => (c == null ? void 0 : c.key) === "columnUsingPath")) == null ? void 0 : s.contents
2474
2474
  };
2475
- c != null && c.find((i) => (i == null ? void 0 : i.key) === (d == null ? void 0 : d.key)) ? c = c == null ? void 0 : c.map((i) => ((i == null ? void 0 : i.key) === (d == null ? void 0 : d.key) && (i.value = d.value), i)) : c.push(d), we.setTableViewContents(c);
2475
+ i != null && i.find((c) => (c == null ? void 0 : c.key) === (d == null ? void 0 : d.key)) ? i = i == null ? void 0 : i.map((c) => ((c == null ? void 0 : c.key) === (d == null ? void 0 : d.key) && (c.value = d.value), c)) : i.push(d), we.setTableViewContents(i);
2476
2476
  }
2477
2477
  lr(o.itemData, o.allMapContents);
2478
2478
  },
@@ -2521,16 +2521,16 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2521
2521
  var a;
2522
2522
  Ya(n, e, l), He.value = q(e), bl.value = e == null ? void 0 : e.id, Jl.value = (a = ne.value) == null ? void 0 : a.length, ul.value = typeof (e == null ? void 0 : e.id) == "string" ? "新增" : "编辑", ra(!1);
2523
2523
  }, Qe = (e) => {
2524
- var i, y, D, _, $, b, C, j, O, F;
2524
+ var c, y, D, _, $, b, C, j, O, F;
2525
2525
  const { row: l, column: n, item: a, slotData: r } = e;
2526
- let s = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((y = (i = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : i[0]) == null ? void 0 : y.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((_ = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((b = ($ = r == null ? void 0 : r[a == null ? void 0 : a.prop]) == null ? void 0 : $[0]) == null ? void 0 : b.contents) ?? (r == null ? void 0 : r[a == null ? void 0 : a.prop]) ?? ((O = (j = l == null ? void 0 : l[(C = a == null ? void 0 : a.child) == null ? void 0 : C.prop]) == null ? void 0 : j[0]) == null ? void 0 : O.contents) ?? (l == null ? void 0 : l[(F = a == null ? void 0 : a.child) == null ? void 0 : F.prop]), d = Array.isArray(s) && !(s != null && s.every((B) => typeof B == "string" || typeof B == "number")) ? "查看" : s;
2526
+ let s = l != null && l[n == null ? void 0 : n.prop] || (l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? ((y = (c = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : c[0]) == null ? void 0 : y.contents) ?? ((l == null ? void 0 : l[n == null ? void 0 : n.prop]) === 0 ? "0" : l == null ? void 0 : l[n == null ? void 0 : n.prop]) : ((_ = (D = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : D[0]) == null ? void 0 : _.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((b = ($ = r == null ? void 0 : r[a == null ? void 0 : a.prop]) == null ? void 0 : $[0]) == null ? void 0 : b.contents) ?? (r == null ? void 0 : r[a == null ? void 0 : a.prop]) ?? ((O = (j = l == null ? void 0 : l[(C = a == null ? void 0 : a.child) == null ? void 0 : C.prop]) == null ? void 0 : j[0]) == null ? void 0 : O.contents) ?? (l == null ? void 0 : l[(F = a == null ? void 0 : a.child) == null ? void 0 : F.prop]), d = Array.isArray(s) && !(s != null && s.every((B) => typeof B == "string" || typeof B == "number")) ? "查看" : s;
2527
2527
  return d = Array.isArray(d) ? d.join(",") : d, d;
2528
2528
  }, Bn = (e) => {
2529
2529
  var y, D, _, $, b, C, j, O, F, B;
2530
2530
  const { row: l, column: n, item: a, slotData: r } = e;
2531
2531
  let s = l != null && l[n == null ? void 0 : n.prop] ? ((D = (y = l == null ? void 0 : l[n == null ? void 0 : n.prop]) == null ? void 0 : y[0]) == null ? void 0 : D.contents) ?? (l == null ? void 0 : l[n == null ? void 0 : n.prop]) : (($ = (_ = l == null ? void 0 : l[a == null ? void 0 : a.prop]) == null ? void 0 : _[0]) == null ? void 0 : $.contents) ?? (l == null ? void 0 : l[a == null ? void 0 : a.prop]) ?? ((C = (b = r == null ? void 0 : r[a == null ? void 0 : a.prop]) == null ? void 0 : b[0]) == null ? void 0 : C.contents) ?? (r == null ? void 0 : r[a == null ? void 0 : a.prop]) ?? ((F = (O = l == null ? void 0 : l[(j = a == null ? void 0 : a.child) == null ? void 0 : j.prop]) == null ? void 0 : O[0]) == null ? void 0 : F.contents) ?? (l == null ? void 0 : l[(B = a == null ? void 0 : a.child) == null ? void 0 : B.prop]);
2532
- const d = Array.isArray(s) && !(s != null && s.every((K) => typeof K == "string" || typeof K == "number")), i = Array.isArray(s) && (s == null ? void 0 : s.find((K) => K == null ? void 0 : K.url));
2533
- return d && i;
2532
+ const d = Array.isArray(s) && !(s != null && s.every((K) => typeof K == "string" || typeof K == "number")), c = Array.isArray(s) && (s == null ? void 0 : s.find((K) => K == null ? void 0 : K.url));
2533
+ return d && c;
2534
2534
  }, Fn = (e, l) => e.find((n) => Object.values(n).some((a) => a === l));
2535
2535
  return rl(() => Nr.value, async (e) => {
2536
2536
  if (e) {
@@ -2550,7 +2550,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2550
2550
  })));
2551
2551
  }, { immediate: !0, deep: !0 }), (e, l) => {
2552
2552
  var y, D, _, $;
2553
- const n = nl("svg-icon"), a = nl("el-popover"), r = nl("el-switch"), s = nl("el-checkbox"), c = nl("el-checkbox-group"), d = nl("el-button"), i = nl("LookComponent");
2553
+ const n = nl("svg-icon"), a = nl("el-popover"), r = nl("el-switch"), s = nl("el-checkbox"), i = nl("el-checkbox-group"), d = nl("el-button"), c = nl("LookComponent");
2554
2554
  return re(), Ae("div", Zu, [
2555
2555
  Fa.value ? (re(), Ne(fu, {
2556
2556
  id: "excel-table",
@@ -2687,7 +2687,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2687
2687
  onChange: l[5] || (l[5] = (b) => ja(b, "operable"))
2688
2688
  }, null, 8, ["model-value"]),
2689
2689
  l[13] || (l[13] = ke("div", { class: "group-title" }, "表格列操作", -1)),
2690
- de(c, {
2690
+ de(i, {
2691
2691
  modelValue: le.value,
2692
2692
  "onUpdate:modelValue": l[6] || (l[6] = (b) => le.value = b),
2693
2693
  style: { height: "100%" },
@@ -2975,7 +2975,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
2975
2975
  style: { height: "70vh" }
2976
2976
  }, {
2977
2977
  default: Z(() => [
2978
- de(i, { dialogItem: wl.value }, null, 8, ["dialogItem"])
2978
+ de(c, { dialogItem: wl.value }, null, 8, ["dialogItem"])
2979
2979
  ]),
2980
2980
  _: 1
2981
2981
  }, 8, ["visible", "width"]),
@@ -3004,7 +3004,7 @@ const Or = (N) => N.match(/\((.*)\)/)[1], Er = {
3004
3004
  ]);
3005
3005
  };
3006
3006
  }
3007
- }, wo = /* @__PURE__ */ Da(bo, [["__scopeId", "data-v-adb13941"]]);
3007
+ }, wo = /* @__PURE__ */ Da(bo, [["__scopeId", "data-v-ca389f71"]]);
3008
3008
  export {
3009
3009
  Fu as a,
3010
3010
  Or as f,