ss-component-new 1.1.600 → 1.1.601

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 (27) hide show
  1. package/dist/index-0Ha9W1ag.cjs +1 -0
  2. package/dist/index-BVl2Z3Zw.cjs +1 -0
  3. package/dist/{index-BJvCtAP_.cjs → index-CCgORvL7.cjs} +1 -1
  4. package/dist/{index-BOqD277M.js → index-CfZveuAd.js} +2 -2
  5. package/dist/{index-CfvUC_0Y.js → index-CjFnGQGZ.js} +462 -451
  6. package/dist/{index-DFBIkAmd.js → index-DVsMMXFM.js} +11 -10
  7. package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-BiDHwgPf.cjs → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DOY62J-H.cjs} +1 -1
  8. package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-BZUNEst8.js → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-iuJ0GBzb.js} +1 -1
  9. package/dist/{index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-Cwp9-01V.js → index.vue_vue_type_style_index_0_scoped_b487cf8f_lang-BJXg5zIm.js} +102 -86
  10. package/dist/index.vue_vue_type_style_index_0_scoped_b487cf8f_lang-C3feUANV.cjs +1 -0
  11. package/dist/ss-component.cjs +1 -1
  12. package/dist/ss-component.css +2 -2
  13. package/dist/ss-component.js +3 -3
  14. package/dist/ss-component2.cjs +1 -1
  15. package/dist/ss-component2.js +1 -1
  16. package/dist/threeModel-CIfHpJM7.cjs +1 -0
  17. package/dist/threeModel-CfUkV-Xv.js +1542 -0
  18. package/package.json +1 -1
  19. package/dist/index-Cn68cqTO.cjs +0 -1
  20. package/dist/index-DXJDLHRr.cjs +0 -1
  21. package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-DMZr28hI.cjs +0 -1
  22. package/dist/obj/model.mtl +0 -42
  23. package/dist/obj/model.obj +0 -26110
  24. package/dist/threeModel-Bo6SZIiR.cjs +0 -1
  25. package/dist/threeModel-CN1GrTqf.js +0 -1549
  26. package/public/obj/model.mtl +0 -42
  27. package/public/obj/model.obj +0 -26110
@@ -1,43 +1,45 @@
1
- import { resolveComponent as R, createBlock as L, openBlock as h, withCtx as s, createVNode as o, createElementVNode as B, toDisplayString as ue, ref as y, onMounted as At, watch as Y, createElementBlock as $, Fragment as Ae, renderList as ze, createCommentVNode as q, normalizeStyle as xt, defineComponent as st, computed as Ve, resolveDirective as it, withDirectives as Be, unref as l, createTextVNode as te, renderSlot as Fe, vShow as je, resolveDynamicComponent as rt } from "vue";
1
+ import { resolveComponent as D, createBlock as K, openBlock as f, withCtx as s, createVNode as n, createElementVNode as B, toDisplayString as ue, ref as y, onMounted as At, watch as Y, createElementBlock as P, Fragment as Ae, renderList as ze, createCommentVNode as X, normalizeStyle as xt, defineComponent as st, computed as Ve, resolveDirective as it, withDirectives as Be, unref as l, createTextVNode as te, renderSlot as Fe, vShow as je, resolveDynamicComponent as rt } from "vue";
2
2
  import { m as Ge, a as Xe, b as qe } from "./index-BO6J4X5z.js";
3
- import ut from "./index-DFBIkAmd.js";
4
- import { _ as Mt, o as ct, c as dt, a as pt, b as Pt, d as mt, s as re, g as ht, e as ft, f as gt, h as yt, i as $t, j as Vt } from "./index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-BZUNEst8.js";
3
+ import ut from "./index-DVsMMXFM.js";
4
+ import { _ as Mt, o as ct, c as dt, a as pt, b as $t, d as mt, s as re, g as ht, e as ft, f as gt, h as yt, i as Pt, j as Vt } from "./index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-iuJ0GBzb.js";
5
5
  import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { p as ne, s as oe, u as Ne, e as _t, c as Se, g as Ke, f as vt, d as fe } from "./menu-Qw1eGtzq.js";
7
- import { u as wt } from "./login-afGmER0u.js";
6
+ import { p as ne, s as oe, u as Ne, e as _t, c as Se, g as Oe, f as wt, d as fe } from "./menu-Qw1eGtzq.js";
7
+ import { u as Ct } from "./login-afGmER0u.js";
8
8
  import { S as be } from "./index-BHtNKL1L.js";
9
- import { u as Ie } from "./modelComp-y7HaQuVQ.js";
10
- import { _ as Ct, a as De, d as nt, s as jt } from "./index-CdV-dIPz.js";
11
- import { u as He, a as Nt, g as Oe, b as kt, l as Bt } from "./index-_X1hnSQ5.js";
9
+ import { u as Ee } from "./modelComp-y7HaQuVQ.js";
10
+ import { _ as vt, a as De, d as nt, s as jt } from "./index-CdV-dIPz.js";
11
+ import { u as He, a as It, g as Ie, b as kt, l as Bt } from "./index-_X1hnSQ5.js";
12
12
  import { _ as bt } from "./index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js";
13
- import lt from "./threeModel-CN1GrTqf.js";
14
- import { u as It } from "./index-ofTuAgx1.js";
13
+ import lt from "./threeModel-CfUkV-Xv.js";
14
+ import { u as Nt } from "./index-ofTuAgx1.js";
15
15
  import "vue-router";
16
- import { a as Ut } from "./array-wJSGLzMi.js";
17
- import { c as Et, b as Lt } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-Cwp9-01V.js";
18
- function Kt(S, le, t, T, N, Z) {
19
- const u = R("svg-icon"), ee = R("ssMenu");
20
- return h(), L(ee, {
21
- mode: S.mode,
22
- menuList: S.renderMenuList,
23
- onClickMenu: S.clickMenu,
24
- onOpenMenu: S.openMenu,
25
- onCloseMenu: S.closeMenu
16
+ import { a as Et } from "./array-wJSGLzMi.js";
17
+ import { c as Ut, b as Lt } from "./index.vue_vue_type_style_index_0_scoped_b487cf8f_lang-BJXg5zIm.js";
18
+ const Kt = { class: "horizontal-f-18" };
19
+ function Ot(A, le, o, T, N, Z) {
20
+ const u = D("svg-icon"), ee = D("ssMenu");
21
+ return f(), K(ee, {
22
+ mode: A.mode,
23
+ menuList: A.renderMenuList,
24
+ onClickMenu: A.clickMenu,
25
+ onOpenMenu: A.openMenu,
26
+ onCloseMenu: A.closeMenu
26
27
  }, {
27
- title: s(({ menu: A }) => [
28
- o(u, {
29
- name: A.icon ?? "Fold",
30
- style: { width: "clamp(16px, 1.25rem, 20px)", height: "clamp(16px, 1.25rem, 20px)", "margin-right": "8px" }
28
+ title: s(({ menu: M }) => [
29
+ n(u, {
30
+ class: "horizontal-icon-18",
31
+ name: M.icon ?? "Fold",
32
+ style: { "margin-right": "8px" }
31
33
  }, null, 8, ["name"]),
32
- B("span", null, ue(A.title ?? ""), 1)
34
+ B("span", Kt, ue(M.title ?? ""), 1)
33
35
  ]),
34
36
  _: 1
35
37
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
36
38
  }
37
- const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed2"]]), Ot = { class: "bread-content" }, zt = ["onClick"], Gt = {
39
+ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-5fe22178"]]), zt = { class: "bread-content" }, Gt = ["onClick"], Xt = {
38
40
  key: 0,
39
41
  class: "split-title"
40
- }, Xt = {
42
+ }, qt = {
41
43
  __name: "index",
42
44
  props: {
43
45
  breadArray: {
@@ -46,44 +48,44 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
46
48
  }
47
49
  },
48
50
  emits: ["click"],
49
- setup(S, { emit: le }) {
50
- const t = S, T = y([]), N = le;
51
+ setup(A, { emit: le }) {
52
+ const o = A, T = y([]), N = le;
51
53
  At(() => {
52
- T.value = t == null ? void 0 : t.breadArray;
54
+ T.value = o == null ? void 0 : o.breadArray;
53
55
  }), Y(
54
- () => t == null ? void 0 : t.breadArray,
56
+ () => o == null ? void 0 : o.breadArray,
55
57
  () => {
56
- T.value = t == null ? void 0 : t.breadArray;
58
+ T.value = o == null ? void 0 : o.breadArray;
57
59
  },
58
60
  { deep: !0, immediate: !0 }
59
61
  );
60
62
  const Z = (u) => {
61
63
  N("click", u);
62
64
  };
63
- return (u, ee) => (h(), $("div", Ot, [
64
- (h(!0), $(Ae, null, ze(T.value, (A, I) => {
65
+ return (u, ee) => (f(), P("div", zt, [
66
+ (f(!0), P(Ae, null, ze(T.value, (M, E) => {
65
67
  var ae;
66
- return h(), $("div", {
67
- key: I,
68
+ return f(), P("div", {
69
+ key: E,
68
70
  class: "bread-item"
69
71
  }, [
70
72
  B("div", {
71
73
  class: "bread-title",
72
- onClick: (ge) => Z(A),
73
- style: xt({ opacity: ((ae = T.value) == null ? void 0 : ae.length) - 1 === I ? "0.7" : "1" })
74
- }, ue(A.value), 13, zt),
75
- I !== T.value.length - 1 && Array.isArray(T.value) ? (h(), $("div", Gt, ue("/"))) : q("", !0)
74
+ onClick: (ge) => Z(M),
75
+ style: xt({ opacity: ((ae = T.value) == null ? void 0 : ae.length) - 1 === E ? "0.7" : "1" })
76
+ }, ue(M.value), 13, Gt),
77
+ E !== T.value.length - 1 && Array.isArray(T.value) ? (f(), P("div", Xt, ue("/"))) : X("", !0)
76
78
  ]);
77
79
  }), 128))
78
80
  ]));
79
81
  }
80
- }, Tt = /* @__PURE__ */ Te(Xt, [["__scopeId", "data-v-ded7e2bd"]]), qt = { class: "structure-buttons" }, Ht = { class: "structure-paths" }, Jt = { class: "client-header-user" }, Wt = { class: "model-select" }, Qt = { class: "model-show" }, Yt = { class: "model-fill" }, Zt = { class: "client-header-menu" }, ea = { class: "client-header-user" }, ta = { class: "drop-menu" }, aa = {
82
+ }, Tt = /* @__PURE__ */ Te(qt, [["__scopeId", "data-v-ded7e2bd"]]), Ht = { class: "structure-buttons" }, Jt = { class: "structure-paths" }, Wt = { class: "client-header-user" }, Qt = { class: "model-select" }, Yt = { class: "model-show" }, Zt = { class: "model-fill" }, ea = { class: "client-header-menu" }, ta = { class: "client-header-user" }, aa = { class: "drop-menu" }, oa = {
81
83
  class: "client-main-operate",
82
84
  "element-loading-text": "正在加载页面数据..."
83
- }, oa = {
85
+ }, na = {
84
86
  key: 0,
85
87
  class: "item-view-group"
86
- }, na = /* @__PURE__ */ st({
88
+ }, la = /* @__PURE__ */ st({
87
89
  __name: "index2",
88
90
  props: {
89
91
  windowConfig: {
@@ -96,77 +98,77 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
96
98
  default: !0
97
99
  }
98
100
  },
99
- setup(S) {
100
- const le = He(ne), { selectTitle: t } = oe(le), T = wt(), { loginUserInfo: N } = oe(T), Z = Ie(ne), { isEdit: u, routeToChildPath: ee } = oe(Z), A = Ne(ne), { importLoading: I, activeAsideMenu: ae, contentLoading: ge } = oe(A), b = y(""), H = Ve(() => ae.value.isRouter), J = () => {
101
+ setup(A) {
102
+ const le = He(ne), { selectTitle: o } = oe(le), T = Ct(), { loginUserInfo: N } = oe(T), Z = Ee(ne), { isEdit: u, routeToChildPath: ee } = oe(Z), M = Ne(ne), { importLoading: E, activeAsideMenu: ae, contentLoading: ge } = oe(M), b = y(""), q = Ve(() => ae.value.isRouter), H = () => {
101
103
  sessionStorage.clear(), window.location.reload();
102
- }, W = async () => {
103
- var f, U, de, pe;
104
- A.setImportLoading(!0);
105
- const x = await Ke({
104
+ }, J = async () => {
105
+ var g, U, de, pe;
106
+ M.setImportLoading(!0);
107
+ const $ = await Oe({
106
108
  key: {
107
109
  systemKey: sessionStorage.getItem("systemKey")
108
110
  }
109
111
  });
110
- if (((f = x == null ? void 0 : x.data) == null ? void 0 : f.code) === 200) {
111
- let se = (pe = (de = (U = x == null ? void 0 : x.data) == null ? void 0 : U.result) == null ? void 0 : de.map((E) => {
112
+ if (((g = $ == null ? void 0 : $.data) == null ? void 0 : g.code) === 200) {
113
+ let se = (pe = (de = (U = $ == null ? void 0 : $.data) == null ? void 0 : U.result) == null ? void 0 : de.map((L) => {
112
114
  var ye;
113
- if (((ye = E == null ? void 0 : E.key) == null ? void 0 : ye.layer) !== "superAdmin")
114
- return E == null ? void 0 : E.id;
115
- })) == null ? void 0 : pe.filter((E) => E);
116
- await vt({
115
+ if (((ye = L == null ? void 0 : L.key) == null ? void 0 : ye.layer) !== "superAdmin")
116
+ return L == null ? void 0 : L.id;
117
+ })) == null ? void 0 : pe.filter((L) => L);
118
+ await wt({
117
119
  ids: se
118
- }), A.setRawMenus([]);
120
+ }), M.setRawMenus([]);
119
121
  }
120
- A.setImportLoading(!1);
122
+ M.setImportLoading(!1);
121
123
  }, ce = () => {
122
- A.setActiveMenuPath(ee.value), Z.setRouteToChildPath("");
124
+ M.setActiveMenuPath(ee.value), Z.setRouteToChildPath("");
123
125
  };
124
- return (x, f) => {
125
- const U = R("el-button"), de = R("el-avatar"), pe = R("el-header"), se = R("el-container"), E = R("el-icon"), ye = R("el-input"), v = R("el-aside"), G = R("router-view"), Q = R("el-main"), V = it("loading");
126
- return h(), $(Ae, null, [
127
- Be(o(se, { class: "client-container" }, {
126
+ return ($, g) => {
127
+ const U = D("el-button"), de = D("el-avatar"), pe = D("el-header"), se = D("el-container"), L = D("el-icon"), ye = D("el-input"), C = D("el-aside"), G = D("router-view"), W = D("el-main"), V = it("loading");
128
+ return f(), P(Ae, null, [
129
+ Be(n(se, { class: "client-container" }, {
128
130
  default: s(() => [
129
- o(pe, { class: "client-structure-header" }, {
131
+ n(pe, { class: "client-structure-header" }, {
130
132
  default: s(() => {
131
133
  var F;
132
134
  return [
133
- B("div", qt, [
134
- o(U, {
135
+ B("div", Ht, [
136
+ n(U, {
135
137
  id: "transparentBgButton",
136
138
  onClick: l(ct)
137
139
  }, {
138
- default: s(() => f[2] || (f[2] = [
140
+ default: s(() => g[2] || (g[2] = [
139
141
  te(" 返回页面 ")
140
142
  ])),
141
143
  _: 1,
142
144
  __: [2]
143
145
  }, 8, ["onClick"]),
144
- o(U, {
146
+ n(U, {
145
147
  id: "transparentBgButton",
146
- onClick: f[0] || (f[0] = (e) => {
147
- var K, j;
148
- return l(dt)((j = (K = l(t)) == null ? void 0 : K.map((me) => me.value)) == null ? void 0 : j.join("/"));
148
+ onClick: g[0] || (g[0] = (e) => {
149
+ var O, j;
150
+ return l(dt)((j = (O = l(o)) == null ? void 0 : O.map((me) => me.value)) == null ? void 0 : j.join("/"));
149
151
  })
150
152
  }, {
151
153
  icon: s(() => [
152
- o(be, { name: "Store" })
154
+ n(be, { name: "Store" })
153
155
  ]),
154
156
  default: s(() => [
155
- f[3] || (f[3] = te(" 保存页面 "))
157
+ g[3] || (g[3] = te(" 保存页面 "))
156
158
  ]),
157
159
  _: 1,
158
160
  __: [3]
159
161
  })
160
162
  ]),
161
- B("div", Ht, [
162
- o(Tt, {
163
- breadArray: l(t),
163
+ B("div", Jt, [
164
+ n(Tt, {
165
+ breadArray: l(o),
164
166
  onClick: l(pt)
165
167
  }, null, 8, ["breadArray", "onClick"])
166
168
  ]),
167
- B("div", Jt, [
168
- Fe(x.$slots, "default", {}, void 0, !0),
169
- o(de, {
169
+ B("div", Wt, [
170
+ Fe($.$slots, "default", {}, void 0, !0),
171
+ n(de, {
170
172
  size: 35,
171
173
  src: (F = l(N)) == null ? void 0 : F.avatarUrl
172
174
  }, {
@@ -183,92 +185,92 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
183
185
  }),
184
186
  _: 3
185
187
  }),
186
- l(u) === "edit" ? (h(), L(se, {
188
+ l(u) === "edit" ? (f(), K(se, {
187
189
  key: 0,
188
190
  class: "model-operate",
189
191
  style: { "margin-top": "10px", height: "0px" }
190
192
  }, {
191
193
  default: s(() => [
192
- B("div", Wt, [
193
- o(Ge)
194
- ]),
195
194
  B("div", Qt, [
196
- o(Xe)
195
+ n(Ge)
197
196
  ]),
198
197
  B("div", Yt, [
199
- o(qe)
198
+ n(Xe)
199
+ ]),
200
+ B("div", Zt, [
201
+ n(qe)
200
202
  ])
201
203
  ]),
202
204
  _: 1
203
- })) : q("", !0)
205
+ })) : X("", !0)
204
206
  ]),
205
207
  _: 3
206
208
  }, 512), [
207
209
  [je, l(u) === "edit"]
208
210
  ]),
209
- Be((h(), L(se, {
211
+ Be((f(), K(se, {
210
212
  class: "client-container",
211
213
  "element-loading-text": "正在加载页面数据..."
212
214
  }, {
213
215
  default: s(() => [
214
- o(pe, { class: "client-header" }, {
216
+ n(pe, { class: "client-header" }, {
215
217
  default: s(() => [
216
- f[6] || (f[6] = B("div", { class: "client-header-logo" }, " ISIP ", -1)),
217
- B("div", Zt, [
218
- o(Ft, { mode: "horizontal" })
219
- ]),
218
+ g[6] || (g[6] = B("div", { class: "client-header-logo" }, " ISIP ", -1)),
220
219
  B("div", ea, [
221
- o(ye, {
220
+ n(Ft, { mode: "horizontal" })
221
+ ]),
222
+ B("div", ta, [
223
+ n(ye, {
222
224
  modelValue: b.value,
223
- "onUpdate:modelValue": f[1] || (f[1] = (F) => b.value = F),
225
+ "onUpdate:modelValue": g[1] || (g[1] = (F) => b.value = F),
224
226
  clearable: "",
225
227
  placeholder: "搜索",
226
228
  style: { width: "130px" }
227
229
  }, {
228
230
  prefix: s(() => [
229
- o(E, { class: "el-input__icon" }, {
231
+ n(L, { class: "el-input__icon" }, {
230
232
  default: s(() => [
231
- o(l(_t))
233
+ n(l(_t))
232
234
  ]),
233
235
  _: 1
234
236
  })
235
237
  ]),
236
238
  _: 1
237
239
  }, 8, ["modelValue"]),
238
- S.showButton ? (h(), L(U, {
240
+ A.showButton ? (f(), K(U, {
239
241
  key: 0,
240
242
  id: "transparentBgButton",
241
- onClick: l(Pt)
243
+ onClick: l($t)
242
244
  }, {
243
245
  icon: s(() => [
244
- o(be, { name: "App" })
246
+ n(be, { name: "App" })
245
247
  ]),
246
248
  default: s(() => [
247
- f[4] || (f[4] = te(" 生成APP "))
249
+ g[4] || (g[4] = te(" 生成APP "))
248
250
  ]),
249
251
  _: 1,
250
252
  __: [4]
251
- }, 8, ["onClick"])) : q("", !0),
252
- S.showButton && l(u) === "view" ? (h(), L(U, {
253
+ }, 8, ["onClick"])) : X("", !0),
254
+ A.showButton && l(u) === "view" ? (f(), K(U, {
253
255
  key: 1,
254
256
  id: "transparentBgButton",
255
257
  onClick: l(mt)
256
258
  }, {
257
259
  icon: s(() => [
258
- o(be, { name: "write" })
260
+ n(be, { name: "write" })
259
261
  ]),
260
262
  default: s(() => [
261
- f[5] || (f[5] = te(" 修改布局 "))
263
+ g[5] || (g[5] = te(" 修改布局 "))
262
264
  ]),
263
265
  _: 1,
264
266
  __: [5]
265
- }, 8, ["onClick"])) : q("", !0),
266
- Fe(x.$slots, "default", {}, void 0, !0),
267
- o(Ct, null, {
267
+ }, 8, ["onClick"])) : X("", !0),
268
+ Fe($.$slots, "default", {}, void 0, !0),
269
+ n(vt, null, {
268
270
  dropTitle: s(() => {
269
271
  var F;
270
272
  return [
271
- o(bt, {
273
+ n(bt, {
272
274
  size: "35",
273
275
  avatarUrl: (F = l(N)) == null ? void 0 : F.avatarUrl,
274
276
  showCropper: !1,
@@ -285,18 +287,18 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
285
287
  ];
286
288
  }),
287
289
  dropMenu: s(() => [
288
- B("div", ta, [
289
- o(De, {
290
+ B("div", aa, [
291
+ n(De, {
290
292
  emptyColor: !0,
291
293
  class: "menu-button",
292
- onClickTrigger: W,
294
+ onClickTrigger: J,
293
295
  modelValue: "清空数据",
294
296
  buttonType: ""
295
297
  }),
296
- o(De, {
298
+ n(De, {
297
299
  emptyColor: !0,
298
300
  class: "menu-button",
299
- onClickTrigger: J,
301
+ onClickTrigger: H,
300
302
  modelValue: "退出登录",
301
303
  buttonType: ""
302
304
  })
@@ -309,40 +311,40 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
309
311
  _: 3,
310
312
  __: [6]
311
313
  }),
312
- o(se, { class: "client-body" }, {
314
+ n(se, { class: "client-body" }, {
313
315
  default: s(() => [
314
- o(Q, { class: "client-main" }, {
316
+ n(W, { class: "client-main" }, {
315
317
  default: s(() => {
316
318
  var F;
317
319
  return [
318
- o(v, { class: "client-aside" }, {
320
+ n(C, { class: "client-aside" }, {
319
321
  default: s(() => [
320
- o(ut, { mode: "vertical" })
322
+ n(ut, { mode: "vertical" })
321
323
  ]),
322
324
  _: 1
323
325
  }),
324
- Be((h(), $("div", aa, [
325
- H.value ? (h(), L(G, { key: 0 })) : q("", !0),
326
- l(ee) !== "" ? (h(), L(De, {
326
+ Be((f(), P("div", oa, [
327
+ q.value ? (f(), K(G, { key: 0 })) : X("", !0),
328
+ l(ee) !== "" ? (f(), K(De, {
327
329
  key: 1,
328
330
  class: "calculator-content back-content",
329
331
  onClickTrigger: ce,
330
332
  modelValue: "返回"
331
- })) : q("", !0),
332
- H.value ? q("", !0) : (h(!0), $(Ae, { key: 2 }, ze((F = l(Se)(l(re))) == null ? void 0 : F.filter((e) => e.comp !== "FormTop"), (e, K) => {
333
+ })) : X("", !0),
334
+ q.value ? X("", !0) : (f(!0), P(Ae, { key: 2 }, ze((F = l(Se)(l(re))) == null ? void 0 : F.filter((e) => e.comp !== "FormTop"), (e, O) => {
333
335
  var j;
334
- return h(), $("div", {
336
+ return f(), P("div", {
335
337
  class: "item-view-content",
336
- key: K
338
+ key: O
337
339
  }, [
338
- ((j = e == null ? void 0 : e.comp) == null ? void 0 : j.toUpperCase()) !== "TABLE" && e.name ? (h(), $("div", oa, ue(e.name), 1)) : q("", !0),
339
- (h(), L(rt(l(ht)(e.comp)), {
340
+ ((j = e == null ? void 0 : e.comp) == null ? void 0 : j.toUpperCase()) !== "TABLE" && e.name ? (f(), P("div", na, ue(e.name), 1)) : X("", !0),
341
+ (f(), K(rt(l(ht)(e.comp)), {
340
342
  compName: e.name,
341
343
  itemData: e == null ? void 0 : e.compData,
342
344
  childItemData: e == null ? void 0 : e.itemChildData,
343
- key: (e == null ? void 0 : e.id) ?? K,
345
+ key: (e == null ? void 0 : e.id) ?? O,
344
346
  onChange: l(yt),
345
- index: (e == null ? void 0 : e.id) ?? K,
347
+ index: (e == null ? void 0 : e.id) ?? O,
346
348
  onContentChange: l(gt),
347
349
  onPageChange: l(ft)
348
350
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
@@ -362,12 +364,12 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
362
364
  _: 3
363
365
  })), [
364
366
  [je, l(u) === "view"],
365
- [V, l(I)]
367
+ [V, l(E)]
366
368
  ])
367
369
  ], 64);
368
370
  };
369
371
  }
370
- }), la = /* @__PURE__ */ Te(na, [["__scopeId", "data-v-ac977f64"]]), Ee = [
372
+ }), sa = /* @__PURE__ */ Te(la, [["__scopeId", "data-v-ac977f64"]]), Le = [
371
373
  {
372
374
  key: "FitCurve_Eleven",
373
375
  value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
@@ -415,7 +417,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
415
417
  value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35788169784389",
416
418
  resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35788169784389"
417
419
  }
418
- ], Le = [
420
+ ], Ke = [
419
421
  {
420
422
  key: "型线生成",
421
423
  value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources/sampling_points_20.cpt"
@@ -448,13 +450,13 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
448
450
  // key: "参数筛选推理",
449
451
  // value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
450
452
  // }
451
- ], sa = { class: "structure-buttons" }, ia = { class: "structure-paths" }, ra = { class: "client-header-user" }, ua = { class: "model-select" }, ca = { class: "model-show" }, da = { class: "model-fill" }, pa = { class: "client-header-menu" }, ma = { class: "client-header-user" }, ha = { class: "drop-menu" }, fa = {
453
+ ], ia = { class: "structure-buttons" }, ra = { class: "structure-paths" }, ua = { class: "client-header-user" }, ca = { class: "model-select" }, da = { class: "model-show" }, pa = { class: "model-fill" }, ma = { class: "client-header-menu" }, ha = { class: "client-header-user" }, fa = { class: "drop-menu" }, ga = {
452
454
  class: "client-main-operate",
453
455
  "element-loading-text": "正在加载页面数据..."
454
- }, ga = {
456
+ }, ya = {
455
457
  key: 0,
456
458
  class: "item-view-group"
457
- }, ya = /* @__PURE__ */ st({
459
+ }, _a = /* @__PURE__ */ st({
458
460
  __name: "index2",
459
461
  props: {
460
462
  windowConfig: {
@@ -468,117 +470,117 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
468
470
  }
469
471
  },
470
472
  emits: ["showChild", "buildContent"],
471
- setup(S, { emit: le }) {
472
- const t = He(ne), T = y(!1);
473
+ setup(A, { emit: le }) {
474
+ const o = He(ne), T = y(!1);
473
475
  y(0), y(!1);
474
- const { selectTitle: N } = oe(t), Z = y(!1), u = y(!1);
476
+ const { selectTitle: N } = oe(o), Z = y(!1), u = y(!1);
475
477
  y(!1);
476
- const ee = Nt(ne), A = y(!1), { tableShowThree: I } = oe(ee), ae = y(), ge = wt(), { loginUserInfo: b } = oe(ge);
478
+ const ee = It(ne), M = y(!1), { tableShowThree: E } = oe(ee), ae = y(), ge = Ct(), { loginUserInfo: b } = oe(ge);
477
479
  y(null);
478
- const H = Ie(ne), { isEdit: J } = oe(H), W = Ne(ne), ce = It(ne), { objUrl: x, blobUrls: f } = oe(ce), U = y(null);
480
+ const q = Ee(ne), { isEdit: H } = oe(q), J = Ne(ne), ce = Nt(ne), { objUrl: $, blobUrls: g } = oe(ce), U = y(null);
479
481
  y(!1);
480
482
  const de = y(), pe = y(!0);
481
483
  y(!1);
482
- const { importLoading: se, activeMenuPath: E, activeTopMenuPath: ye, platName: v, activeAsideMenu: G, contentLoading: Q } = oe(W), V = y(!1), F = y(!1), e = y(!1), K = le, j = () => {
483
- K("buildContent");
484
+ const { importLoading: se, activeMenuPath: L, activeTopMenuPath: ye, platName: C, activeAsideMenu: G, contentLoading: W } = oe(J), V = y(!1), F = y(!1), e = y(!1), O = le, j = () => {
485
+ O("buildContent");
484
486
  };
485
- Y(() => E.value, async (a) => {
486
- a && (e.value = !0), a === "弯管仿真加工管理/仿真动画生成" ? V.value = !0 : V.value = !1, a === "弯管仿真加工管理/程序输出" ? F.value = !0 : F.value = !1, Le != null && Le.find((i) => {
487
- var n;
488
- return (i == null ? void 0 : i.key) === ((n = a == null ? void 0 : a.split("/")) == null ? void 0 : n[(a == null ? void 0 : a.split("/").length) - 1]);
489
- }) ? A.value = !0 : A.value = !1;
487
+ Y(() => L.value, async (a) => {
488
+ a && (e.value = !0), a === "弯管仿真加工管理/仿真动画生成" ? V.value = !0 : V.value = !1, a === "弯管仿真加工管理/程序输出" ? F.value = !0 : F.value = !1, Ke != null && Ke.find((r) => {
489
+ var d;
490
+ return (r == null ? void 0 : r.key) === ((d = a == null ? void 0 : a.split("/")) == null ? void 0 : d[(a == null ? void 0 : a.split("/").length) - 1]);
491
+ }) ? M.value = !0 : M.value = !1;
490
492
  }, { immediate: !0 });
491
493
  const me = (a) => {
492
494
  if ((a == null ? void 0 : a.type) === "table") {
493
- let i = Object.values(a == null ? void 0 : a.row), n = i == null ? void 0 : i.find((c) => typeof c == "string" && ((c == null ? void 0 : c.includes(".urdf")) || (c == null ? void 0 : c.includes(".obj"))));
494
- n && (ae.value = {
495
- url: n,
495
+ let r = Object.values(a == null ? void 0 : a.row), d = r == null ? void 0 : r.find((p) => typeof p == "string" && ((p == null ? void 0 : p.includes(".urdf")) || (p == null ? void 0 : p.includes(".obj"))));
496
+ d && (ae.value = {
497
+ url: d,
496
498
  row: a == null ? void 0 : a.row
497
- }, K("showChild", {
498
- url: n,
499
+ }, O("showChild", {
500
+ url: d,
499
501
  row: a == null ? void 0 : a.row
500
502
  }));
501
503
  }
502
504
  }, ie = () => {
503
505
  sessionStorage.clear(), window.location.reload();
504
506
  }, xe = async () => {
505
- var i, n, c, k;
506
- W.setImportLoading(!0);
507
- const a = await Ke({
507
+ var r, d, p, v;
508
+ J.setImportLoading(!0);
509
+ const a = await Oe({
508
510
  key: {
509
511
  systemKey: sessionStorage.getItem("systemKey")
510
512
  }
511
513
  });
512
- if (((i = a == null ? void 0 : a.data) == null ? void 0 : i.code) === 200) {
513
- let r = (k = (c = (n = a == null ? void 0 : a.data) == null ? void 0 : n.result) == null ? void 0 : c.map((m) => {
514
- var p;
515
- if (((p = m == null ? void 0 : m.key) == null ? void 0 : p.layer) !== "superAdmin")
516
- return m == null ? void 0 : m.id;
517
- })) == null ? void 0 : k.filter((m) => m);
518
- await vt({
519
- ids: r
520
- }), W.setRawMenus([]);
514
+ if (((r = a == null ? void 0 : a.data) == null ? void 0 : r.code) === 200) {
515
+ let t = (v = (p = (d = a == null ? void 0 : a.data) == null ? void 0 : d.result) == null ? void 0 : p.map((c) => {
516
+ var i;
517
+ if (((i = c == null ? void 0 : c.key) == null ? void 0 : i.layer) !== "superAdmin")
518
+ return c == null ? void 0 : c.id;
519
+ })) == null ? void 0 : v.filter((c) => c);
520
+ await wt({
521
+ ids: t
522
+ }), J.setRawMenus([]);
521
523
  }
522
- W.setImportLoading(!1);
524
+ J.setImportLoading(!1);
523
525
  }, Me = async (a) => {
524
- var c, k, r, m, p, M, C;
525
- const i = (c = a == null ? void 0 : a.split("/")) == null ? void 0 : c[0], n = await Ke({
526
+ var p, v, t, c, i, R, w;
527
+ const r = (p = a == null ? void 0 : a.split("/")) == null ? void 0 : p[0], d = await Oe({
526
528
  key: {
527
529
  type: "mainEquip",
528
530
  systemKey: sessionStorage.getItem("systemKey"),
529
- pageKey: i
531
+ pageKey: r
530
532
  }
531
533
  });
532
- return ((k = n == null ? void 0 : n.data) == null ? void 0 : k.type) === "success" ? ((C = (M = (p = (m = (r = n == null ? void 0 : n.data) == null ? void 0 : r.result) == null ? void 0 : m[0]) == null ? void 0 : p.value) == null ? void 0 : M.tableData) == null ? void 0 : C.隐藏三维显示) !== !0 : !0;
534
+ return ((v = d == null ? void 0 : d.data) == null ? void 0 : v.type) === "success" ? ((w = (R = (i = (c = (t = d == null ? void 0 : d.data) == null ? void 0 : t.result) == null ? void 0 : c[0]) == null ? void 0 : i.value) == null ? void 0 : R.tableData) == null ? void 0 : w.隐藏三维显示) !== !0 : !0;
533
535
  };
534
536
  Y(
535
537
  () => re.value,
536
538
  () => {
537
- var a, i, n, c, k;
538
- if (((a = re.value) == null ? void 0 : a.length) === 2 && ((i = re.value) != null && i.find((r) => (r == null ? void 0 : r.name) === "输入")) && ((n = re.value) != null && n.find((r) => (r == null ? void 0 : r.name) === "输出"))) {
539
- const r = (c = re.value) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.name) === "输出");
540
- u.value = ((k = r == null ? void 0 : r.comp) == null ? void 0 : k.toUpperCase()) === "FORM", Z.value = !0;
539
+ var a, r, d, p, v;
540
+ if (((a = re.value) == null ? void 0 : a.length) === 2 && ((r = re.value) != null && r.find((t) => (t == null ? void 0 : t.name) === "输入")) && ((d = re.value) != null && d.find((t) => (t == null ? void 0 : t.name) === "输出"))) {
541
+ const t = (p = re.value) == null ? void 0 : p.find((c) => (c == null ? void 0 : c.name) === "输出");
542
+ u.value = ((v = t == null ? void 0 : t.comp) == null ? void 0 : v.toUpperCase()) === "FORM", Z.value = !0;
541
543
  } else
542
544
  Z.value = !1, u.value = !1;
543
545
  },
544
546
  { deep: !0, immediate: !0 }
545
547
  ), Y(
546
- () => E.value,
548
+ () => L.value,
547
549
  async () => {
548
- E.value && (pe.value = await Me(E.value));
550
+ L.value && (pe.value = await Me(L.value));
549
551
  },
550
552
  { deep: !0, immediate: !0 }
551
553
  ), Y(
552
- () => [x.value, U.value],
554
+ () => [$.value, U.value],
553
555
  () => {
554
556
  var a;
555
- ((a = x.value) == null ? void 0 : a.length) > 0 && U.value && U.value.addModelsFromUrls(x.value);
557
+ ((a = $.value) == null ? void 0 : a.length) > 0 && U.value && U.value.addModelsFromUrls($.value);
556
558
  },
557
559
  { immediate: !0, deep: !0 }
558
560
  ), Y(
559
- () => [f == null ? void 0 : f.value],
561
+ () => [g == null ? void 0 : g.value],
560
562
  async () => {
561
- var a, i, n, c, k;
562
- if (f != null && f.value && ((a = f == null ? void 0 : f.value) == null ? void 0 : a.length) > 0 && !A.value && !((i = re.value) != null && i.find((r) => (r == null ? void 0 : r.name) === "输入") && ((n = re.value) != null && n.find((r) => (r == null ? void 0 : r.name) === "输出")))) {
563
+ var a, r, d, p, v;
564
+ if (g != null && g.value && ((a = g == null ? void 0 : g.value) == null ? void 0 : a.length) > 0 && !M.value && !((r = re.value) != null && r.find((t) => (t == null ? void 0 : t.name) === "输入") && ((d = re.value) != null && d.find((t) => (t == null ? void 0 : t.name) === "输出")))) {
563
565
  T.value = !0;
564
- let r = [];
565
- const m = await ((c = Se(f == null ? void 0 : f.value)) == null ? void 0 : c.map(async (p) => {
566
- var _, w, g, X, O, ve, $e, Je, We, Qe;
567
- let M, C, d;
568
- p != null && p.blob.includes("undefined") ? d = (w = (_ = p == null ? void 0 : p.blob) == null ? void 0 : _.split("undefined,")) == null ? void 0 : w[1] : d = p == null ? void 0 : p.blob;
569
- let P = d == null ? void 0 : d.split(",");
570
- if ((P == null ? void 0 : P.length) > 1) {
571
- let we = await (P == null ? void 0 : P.map(async (z) => {
566
+ let t = [];
567
+ const c = await ((p = Se(g == null ? void 0 : g.value)) == null ? void 0 : p.map(async (i) => {
568
+ var Q, k, h, _, S, we, Pe, Je, We, Qe;
569
+ let R, w, m;
570
+ i != null && i.blob.includes("undefined") ? m = (k = (Q = i == null ? void 0 : i.blob) == null ? void 0 : Q.split("undefined,")) == null ? void 0 : k[1] : m = i == null ? void 0 : i.blob;
571
+ let I = m == null ? void 0 : m.split(",");
572
+ if ((I == null ? void 0 : I.length) > 1) {
573
+ let Ce = await (I == null ? void 0 : I.map(async (z) => {
572
574
  var he, Ye, Ze, et, tt, at;
573
- M = await fe.get(z, {
575
+ R = await fe.get(z, {
574
576
  responseType: "blob",
575
577
  headers: {
576
578
  "Content-Type": "application/json"
577
579
  }
578
580
  });
579
581
  let ke = [];
580
- if (((he = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : he.length) > 0) {
581
- let St = await ((Ye = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : Ye.map(async (Dt) => {
582
+ if (((he = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : he.length) > 0) {
583
+ let St = await ((Ye = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : Ye.map(async (Dt) => {
582
584
  let ot = await fe.get(Dt, {
583
585
  responseType: "blob",
584
586
  headers: {
@@ -591,194 +593,203 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
591
593
  }));
592
594
  await Promise.all(St);
593
595
  }
594
- return ((et = z == null ? void 0 : z.split(".")) == null ? void 0 : et[((Ze = z == null ? void 0 : z.split(".")) == null ? void 0 : Ze.length) - 1]) !== "undefined" && r.push({
596
+ return ((et = z == null ? void 0 : z.split(".")) == null ? void 0 : et[((Ze = z == null ? void 0 : z.split(".")) == null ? void 0 : Ze.length) - 1]) !== "undefined" && t.push({
595
597
  suffix: "." + ((at = z == null ? void 0 : z.split(".")) == null ? void 0 : at[((tt = z == null ? void 0 : z.split(".")) == null ? void 0 : tt.length) - 1]),
596
- blob: new Blob([M.data], {
598
+ blob: new Blob([R.data], {
597
599
  type: "application/octet-stream;charset=UTF-8"
598
600
  }),
599
601
  mtlBlobs: ke
600
- }), M;
602
+ }), R;
601
603
  }));
602
- await Promise.all(we);
603
- } else if (!(d != null && d.includes("https://")) && !(d != null && d.includes("http://"))) {
604
- M = await nt({
605
- url: d
604
+ await Promise.all(Ce);
605
+ } else if (!(m != null && m.includes("https://")) && !(m != null && m.includes("http://"))) {
606
+ R = await nt({
607
+ url: m
606
608
  });
607
- let we = [];
608
- if (((g = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : g.length) > 0) {
609
- let z = await ((X = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : X.map(async (ke) => {
609
+ let Ce = [];
610
+ if (((h = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : h.length) > 0) {
611
+ let z = await ((_ = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : _.map(async (ke) => {
610
612
  let he = await nt({
611
613
  url: ke
612
614
  });
613
- return we.push(new Blob([he.data], {
615
+ return Ce.push(new Blob([he.data], {
614
616
  type: "application/octet-stream;charset=UTF-8"
615
617
  })), he;
616
618
  }));
617
619
  await Promise.all(z);
618
620
  }
619
- C = {
620
- suffix: "." + ((ve = d == null ? void 0 : d.split(".")) == null ? void 0 : ve[((O = d == null ? void 0 : d.split(".")) == null ? void 0 : O.length) - 1]),
621
- blob: new Blob([M.data], {
621
+ w = {
622
+ suffix: "." + ((we = m == null ? void 0 : m.split(".")) == null ? void 0 : we[((S = m == null ? void 0 : m.split(".")) == null ? void 0 : S.length) - 1]),
623
+ blob: new Blob([R.data], {
622
624
  type: "application/octet-stream;charset=UTF-8"
623
625
  }),
624
- mtlBlobs: we
626
+ mtlBlobs: Ce
625
627
  };
626
628
  } else {
627
- M = await fe.get(d, {
629
+ R = await fe.get(m, {
628
630
  responseType: "blob",
629
631
  headers: {
630
632
  "Content-Type": "application/json"
631
633
  }
632
634
  });
633
- let we = [];
634
- if ((($e = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : $e.length) > 0) {
635
- let z = await ((Je = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : Je.map(async (ke) => {
635
+ let Ce = [];
636
+ if (((Pe = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : Pe.length) > 0) {
637
+ let z = await ((Je = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : Je.map(async (ke) => {
636
638
  let he = await fe.get(ke, {
637
639
  responseType: "blob",
638
640
  headers: {
639
641
  "Content-Type": "application/json"
640
642
  }
641
643
  });
642
- return we.push(new Blob([he.data], {
644
+ return Ce.push(new Blob([he.data], {
643
645
  type: "application/octet-stream;charset=UTF-8"
644
646
  })), he;
645
647
  }));
646
648
  await Promise.all(z);
647
649
  }
648
- C = {
649
- suffix: "." + ((Qe = d == null ? void 0 : d.split(".")) == null ? void 0 : Qe[((We = d == null ? void 0 : d.split(".")) == null ? void 0 : We.length) - 1]),
650
- blob: new Blob([M.data], {
650
+ w = {
651
+ suffix: "." + ((Qe = m == null ? void 0 : m.split(".")) == null ? void 0 : Qe[((We = m == null ? void 0 : m.split(".")) == null ? void 0 : We.length) - 1]),
652
+ blob: new Blob([R.data], {
651
653
  type: "application/octet-stream;charset=UTF-8"
652
654
  }),
653
- mtlBlobs: we
655
+ mtlBlobs: Ce
654
656
  };
655
657
  }
656
- C && r.push(C);
658
+ w && t.push(w);
657
659
  }));
658
- await Promise.all(m), (r == null ? void 0 : r.length) !== 0 && ((k = U.value) == null || k.loadModelByDefaultPath(r));
660
+ await Promise.all(c), (t == null ? void 0 : t.length) !== 0 && ((v = U.value) == null || v.loadModelByDefaultPath(t));
659
661
  }
660
662
  },
661
663
  { immediate: !0, deep: !0 }
662
664
  );
663
- const Pe = () => {
665
+ const $e = () => {
664
666
  T.value = !1, U.value = null;
665
667
  };
666
668
  Y(
667
- () => I.value,
669
+ () => E.value,
668
670
  async () => {
669
- var i, n, c, k;
670
- if (I.value !== "" && I.value) {
671
- let r = (i = E.value) == null ? void 0 : i.split("/"), m = r[(r == null ? void 0 : r.length) - 2];
672
- const M = (((n = Ee == null ? void 0 : Ee.find((P) => (P == null ? void 0 : P.key) === m)) == null ? void 0 : n.download) ?? "") + "/" + I.value, C = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), d = await fe.post(M, null, {
671
+ var r, d, p, v;
672
+ if (E.value !== "" && E.value) {
673
+ let t = (r = L.value) == null ? void 0 : r.split("/"), c = t[(t == null ? void 0 : t.length) - 2];
674
+ const R = (((d = Le == null ? void 0 : Le.find((I) => (I == null ? void 0 : I.key) === c)) == null ? void 0 : d.download) ?? "") + "/" + E.value, w = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), m = await fe.post(R, null, {
673
675
  responseType: "blob",
674
676
  // 必须设置
675
677
  headers: {
676
- Authorization: C,
678
+ Authorization: w,
677
679
  baseURL: "http://139.196.154.85:20025",
678
680
  "Content-Type": "application/json"
679
681
  }
680
682
  });
681
- var a = new Blob([d.data], {
683
+ var a = new Blob([m.data], {
682
684
  type: "application/octet-stream;charset=UTF-8"
683
685
  });
684
- "" + ((k = (c = I.value) == null ? void 0 : c.split(".")) == null ? void 0 : k[1]);
686
+ "" + ((v = (p = E.value) == null ? void 0 : p.split(".")) == null ? void 0 : v[1]);
685
687
  }
686
688
  },
687
689
  { deep: !0, immediate: !0 }
688
690
  );
689
- const Ce = y("");
691
+ const ve = y("");
690
692
  y("open"), y("open"), y(!1), Ve(() => re.value);
691
- const Re = Ve(() => G.value.isRouter), D = (a) => {
692
- let i = Se(a), n = [], c = [];
693
- return i == null || i.forEach((k, r) => {
694
- r === (a == null ? void 0 : a.length) - 1 ? (c.push(k), n.push(c)) : ((c == null ? void 0 : c.length) !== 0 && k.includes(".obj") && (n.push(c), c = []), c.push(k));
695
- }), n;
693
+ const Re = Ve(() => G.value.isRouter), x = (a) => {
694
+ let r = Se(a), d = [], p = [];
695
+ return r == null || r.forEach((v, t) => {
696
+ t === (a == null ? void 0 : a.length) - 1 ? (p.push(v), d.push(p)) : ((p == null ? void 0 : p.length) !== 0 && v.includes(".obj") && (d.push(p), p = []), p.push(v));
697
+ }), d;
696
698
  }, _e = async () => {
697
699
  let a = {};
698
- const i = await Oe("弯管仿真加工管理/仿真动画生成", sessionStorage.getItem("systemKey"), "");
699
- i == null || i.forEach((n) => {
700
- var c, k, r, m, p, M;
701
- if ((n == null ? void 0 : n.comp) === "Table") {
702
- let C = [], d = (r = (k = (c = n == null ? void 0 : n.compData) == null ? void 0 : c.find((_) => (_ == null ? void 0 : _.key) === "header")) == null ? void 0 : k.contents) == null ? void 0 : r.map((_) => _ == null ? void 0 : _.label), P = (M = (p = (m = n == null ? void 0 : n.compData) == null ? void 0 : m.find((_) => (_ == null ? void 0 : _.key) === "tableContents")) == null ? void 0 : p.contents) == null ? void 0 : M.map((_) => (_ = _ == null ? void 0 : _.filter((w) => !(w != null && w.id)), _));
703
- P == null || P.forEach((_) => {
704
- C.push(kt(_, d == null ? void 0 : d.filter((w) => w !== "操作")));
705
- }), a[n.name] = C, a[n.name + "Content"] = n;
700
+ const r = await Ie("弯管仿真加工管理/仿真动画生成", sessionStorage.getItem("systemKey"), ""), d = await Ie("弯管仿真加工管理/管件解析", sessionStorage.getItem("systemKey"), "");
701
+ let p = ["管长", "外径"], v = {};
702
+ d == null || d.forEach((t) => {
703
+ var c;
704
+ (t == null ? void 0 : t.comp) === "Form" && ((c = t == null ? void 0 : t.compData) == null || c.forEach((i) => {
705
+ var R;
706
+ (i == null ? void 0 : i.key) === "formContent" && ((R = i == null ? void 0 : i.contents) == null || R.forEach((w) => {
707
+ p.includes(w == null ? void 0 : w.key) && (v[w.key] = w.value);
708
+ }));
709
+ }));
710
+ }), r == null || r.forEach((t) => {
711
+ var c, i, R, w, m, I;
712
+ if ((t == null ? void 0 : t.comp) === "Table") {
713
+ let Q = [], k = (R = (i = (c = t == null ? void 0 : t.compData) == null ? void 0 : c.find((_) => (_ == null ? void 0 : _.key) === "header")) == null ? void 0 : i.contents) == null ? void 0 : R.map((_) => _ == null ? void 0 : _.label), h = (I = (m = (w = t == null ? void 0 : t.compData) == null ? void 0 : w.find((_) => (_ == null ? void 0 : _.key) === "tableContents")) == null ? void 0 : m.contents) == null ? void 0 : I.map((_) => (_ = _ == null ? void 0 : _.filter((S) => !(S != null && S.id)), _));
714
+ h == null || h.forEach((_) => {
715
+ Q.push(kt(_, k == null ? void 0 : k.filter((S) => S !== "操作")));
716
+ }), a[t.name] = Q, a[t.name + "Content"] = t;
706
717
  }
707
- }), de.value = a;
718
+ }), a.extra = v, de.value = a;
708
719
  }, Ue = y(!1), Rt = async () => {
709
- var a, i;
720
+ var a, r;
710
721
  if (Ue.value = !0, ae.value) {
711
- const n = ae.value;
712
- let c = [];
713
- if (typeof (n == null ? void 0 : n.url) == "string") {
714
- let k = (a = n == null ? void 0 : n.url) == null ? void 0 : a.split(","), r = (i = D(k)) == null ? void 0 : i.map(async (m) => {
715
- var p, M;
716
- if ((m == null ? void 0 : m.length) === 1) {
717
- let C = m == null ? void 0 : m.map(async (d) => {
718
- var g, X;
719
- let P = await fe.get(d, {
722
+ const d = ae.value;
723
+ let p = [];
724
+ if (typeof (d == null ? void 0 : d.url) == "string") {
725
+ let v = (a = d == null ? void 0 : d.url) == null ? void 0 : a.split(","), t = (r = x(v)) == null ? void 0 : r.map(async (c) => {
726
+ var i, R;
727
+ if ((c == null ? void 0 : c.length) === 1) {
728
+ let w = c == null ? void 0 : c.map(async (m) => {
729
+ var h, _;
730
+ let I = await fe.get(m, {
720
731
  responseType: "blob",
721
732
  headers: {
722
733
  "Content-Type": "application/json"
723
734
  }
724
735
  });
725
- const _ = new Blob([P.data], {
736
+ const Q = new Blob([I.data], {
726
737
  type: "application/octet-stream;charset=UTF-8"
727
738
  });
728
- let w = {
729
- suffix: "." + ((X = d == null ? void 0 : d.split(".")) == null ? void 0 : X[((g = d == null ? void 0 : d.split(".")) == null ? void 0 : g.length) - 1]),
730
- blob: _,
739
+ let k = {
740
+ suffix: "." + ((_ = m == null ? void 0 : m.split(".")) == null ? void 0 : _[((h = m == null ? void 0 : m.split(".")) == null ? void 0 : h.length) - 1]),
741
+ blob: Q,
731
742
  mtlBlobs: []
732
743
  };
733
- return c.push(w), w;
744
+ return p.push(k), k;
734
745
  });
735
- return await Promise.all(C), C;
746
+ return await Promise.all(w), w;
736
747
  } else {
737
- let C = m == null ? void 0 : m.find((O) => O == null ? void 0 : O.includes(".obj")), d = await fe.get(C, {
748
+ let w = c == null ? void 0 : c.find((S) => S == null ? void 0 : S.includes(".obj")), m = await fe.get(w, {
738
749
  responseType: "blob",
739
750
  headers: {
740
751
  "Content-Type": "application/json"
741
752
  }
742
753
  });
743
- const P = new Blob([d.data], {
754
+ const I = new Blob([m.data], {
744
755
  type: "application/octet-stream;charset=UTF-8"
745
756
  });
746
- let _ = m == null ? void 0 : m.filter((O) => O == null ? void 0 : O.includes(".mtl")), w = [], g = _ == null ? void 0 : _.map(async (O) => {
747
- let ve = await fe.get(C, {
757
+ let Q = c == null ? void 0 : c.filter((S) => S == null ? void 0 : S.includes(".mtl")), k = [], h = Q == null ? void 0 : Q.map(async (S) => {
758
+ let we = await fe.get(w, {
748
759
  responseType: "blob",
749
760
  headers: {
750
761
  "Content-Type": "application/json"
751
762
  }
752
763
  });
753
- const $e = new Blob([ve.data], {
764
+ const Pe = new Blob([we.data], {
754
765
  type: "application/octet-stream;charset=UTF-8"
755
766
  });
756
- return w.push($e), ve;
767
+ return k.push(Pe), we;
757
768
  });
758
- await Promise.all(g);
759
- let X = {
760
- suffix: "." + ((M = C == null ? void 0 : C.split(".")) == null ? void 0 : M[((p = C == null ? void 0 : C.split(".")) == null ? void 0 : p.length) - 1]),
761
- blob: P,
762
- mtlBlobs: w
769
+ await Promise.all(h);
770
+ let _ = {
771
+ suffix: "." + ((R = w == null ? void 0 : w.split(".")) == null ? void 0 : R[((i = w == null ? void 0 : w.split(".")) == null ? void 0 : i.length) - 1]),
772
+ blob: I,
773
+ mtlBlobs: k
763
774
  };
764
- return c.push(X), X;
775
+ return p.push(_), _;
765
776
  }
766
777
  });
767
- await Promise.all(r);
778
+ await Promise.all(t);
768
779
  }
769
- U.value.loadModelByDefaultPath(c);
780
+ U.value.loadModelByDefaultPath(p);
770
781
  }
771
782
  };
772
- return (a, i) => {
773
- const n = R("el-dialog"), c = R("el-button"), k = R("el-avatar"), r = R("el-header"), m = R("el-container"), p = R("el-icon"), M = R("el-input"), C = R("el-aside"), d = R("router-view"), P = R("el-main"), _ = it("loading");
774
- return h(), $(Ae, null, [
775
- o(n, {
783
+ return (a, r) => {
784
+ const d = D("el-dialog"), p = D("el-button"), v = D("el-avatar"), t = D("el-header"), c = D("el-container"), i = D("el-icon"), R = D("el-input"), w = D("el-aside"), m = D("router-view"), I = D("el-main"), Q = it("loading");
785
+ return f(), P(Ae, null, [
786
+ n(d, {
776
787
  modelValue: Ue.value,
777
- "onUpdate:modelValue": i[0] || (i[0] = (w) => Ue.value = w),
788
+ "onUpdate:modelValue": r[0] || (r[0] = (k) => Ue.value = k),
778
789
  style: { height: "700px", width: "1800px" }
779
790
  }, {
780
791
  default: s(() => [
781
- o(lt, {
792
+ n(lt, {
782
793
  ref_key: "threeModelRef",
783
794
  ref: U,
784
795
  onGetAnimationData: _e,
@@ -787,56 +798,56 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
787
798
  ]),
788
799
  _: 1
789
800
  }, 8, ["modelValue"]),
790
- Be(o(m, { class: "client-container" }, {
801
+ Be(n(c, { class: "client-container" }, {
791
802
  default: s(() => [
792
- o(r, { class: "client-structure-header" }, {
803
+ n(t, { class: "client-structure-header" }, {
793
804
  default: s(() => {
794
- var w;
805
+ var k;
795
806
  return [
796
- B("div", sa, [
797
- o(c, {
807
+ B("div", ia, [
808
+ n(p, {
798
809
  id: "transparentBgButton",
799
810
  onClick: l(ct)
800
811
  }, {
801
- default: s(() => i[3] || (i[3] = [
812
+ default: s(() => r[3] || (r[3] = [
802
813
  te(" 返回页面 ")
803
814
  ])),
804
815
  _: 1,
805
816
  __: [3]
806
817
  }, 8, ["onClick"]),
807
- o(c, {
818
+ n(p, {
808
819
  id: "transparentBgButton",
809
- onClick: i[1] || (i[1] = (g) => {
810
- var X, O;
811
- return l(dt)((O = (X = l(N)) == null ? void 0 : X.map((ve) => ve.value)) == null ? void 0 : O.join("/"));
820
+ onClick: r[1] || (r[1] = (h) => {
821
+ var _, S;
822
+ return l(dt)((S = (_ = l(N)) == null ? void 0 : _.map((we) => we.value)) == null ? void 0 : S.join("/"));
812
823
  })
813
824
  }, {
814
825
  icon: s(() => [
815
- o(be, { name: "Store" })
826
+ n(be, { name: "Store" })
816
827
  ]),
817
828
  default: s(() => [
818
- i[4] || (i[4] = te(" 保存页面 "))
829
+ r[4] || (r[4] = te(" 保存页面 "))
819
830
  ]),
820
831
  _: 1,
821
832
  __: [4]
822
833
  })
823
834
  ]),
824
- B("div", ia, [
825
- o(Tt, {
835
+ B("div", ra, [
836
+ n(Tt, {
826
837
  breadArray: l(N),
827
838
  onClick: l(pt)
828
839
  }, null, 8, ["breadArray", "onClick"])
829
840
  ]),
830
- B("div", ra, [
841
+ B("div", ua, [
831
842
  Fe(a.$slots, "default", {}, void 0, !0),
832
- o(k, {
843
+ n(v, {
833
844
  size: 35,
834
- src: (w = l(b)) == null ? void 0 : w.avatarUrl
845
+ src: (k = l(b)) == null ? void 0 : k.avatarUrl
835
846
  }, {
836
847
  default: s(() => {
837
- var g;
848
+ var h;
838
849
  return [
839
- te(ue(((g = l(b)) == null ? void 0 : g.account) ?? "未知"), 1)
850
+ te(ue(((h = l(b)) == null ? void 0 : h.account) ?? "未知"), 1)
840
851
  ];
841
852
  }),
842
853
  _: 1
@@ -846,104 +857,104 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
846
857
  }),
847
858
  _: 3
848
859
  }),
849
- l(J) === "edit" ? (h(), L(m, {
860
+ l(H) === "edit" ? (f(), K(c, {
850
861
  key: 0,
851
862
  class: "model-operate",
852
863
  style: { "margin-top": "10px", height: "0px" }
853
864
  }, {
854
865
  default: s(() => [
855
- B("div", ua, [
856
- o(Ge)
857
- ]),
858
866
  B("div", ca, [
859
- o(Xe)
867
+ n(Ge)
860
868
  ]),
861
869
  B("div", da, [
862
- o(qe)
870
+ n(Xe)
871
+ ]),
872
+ B("div", pa, [
873
+ n(qe)
863
874
  ])
864
875
  ]),
865
876
  _: 1
866
- })) : q("", !0)
877
+ })) : X("", !0)
867
878
  ]),
868
879
  _: 3
869
880
  }, 512), [
870
- [je, l(J) === "edit"]
881
+ [je, l(H) === "edit"]
871
882
  ]),
872
- Be((h(), L(m, {
883
+ Be((f(), K(c, {
873
884
  class: "client-container",
874
885
  "element-loading-text": "正在加载页面数据..."
875
886
  }, {
876
887
  default: s(() => [
877
- o(r, { class: "client-header" }, {
888
+ n(t, { class: "client-header" }, {
878
889
  default: s(() => [
879
890
  B("div", {
880
891
  class: "client-header-logo",
881
892
  onClick: Rt
882
- }, ue(l(v) === "" ? "CPMPIP" : l(v)), 1),
883
- B("div", pa, [
884
- o(Ft, { mode: "horizontal" })
885
- ]),
893
+ }, ue(l(C) === "" ? "CPMPIP" : l(C)), 1),
886
894
  B("div", ma, [
887
- o(M, {
888
- modelValue: Ce.value,
889
- "onUpdate:modelValue": i[2] || (i[2] = (w) => Ce.value = w),
895
+ n(Ft, { mode: "horizontal" })
896
+ ]),
897
+ B("div", ha, [
898
+ n(R, {
899
+ modelValue: ve.value,
900
+ "onUpdate:modelValue": r[2] || (r[2] = (k) => ve.value = k),
890
901
  clearable: "",
891
902
  placeholder: "搜索",
892
903
  style: { width: "130px" }
893
904
  }, {
894
905
  prefix: s(() => [
895
- o(p, { class: "el-input__icon" }, {
906
+ n(i, { class: "el-input__icon" }, {
896
907
  default: s(() => [
897
- o(l(_t))
908
+ n(l(_t))
898
909
  ]),
899
910
  _: 1
900
911
  })
901
912
  ]),
902
913
  _: 1
903
914
  }, 8, ["modelValue"]),
904
- S.showButton ? (h(), L(c, {
915
+ A.showButton ? (f(), K(p, {
905
916
  key: 0,
906
917
  id: "transparentBgButton",
907
918
  onClick: j
908
919
  }, {
909
920
  icon: s(() => [
910
- o(be, { name: "App" })
921
+ n(be, { name: "App" })
911
922
  ]),
912
923
  default: s(() => [
913
- i[5] || (i[5] = te(" 生成APP "))
924
+ r[5] || (r[5] = te(" 生成APP "))
914
925
  ]),
915
926
  _: 1,
916
927
  __: [5]
917
- })) : q("", !0),
918
- S.showButton && l(J) === "view" ? (h(), L(c, {
928
+ })) : X("", !0),
929
+ A.showButton && l(H) === "view" ? (f(), K(p, {
919
930
  key: 1,
920
931
  id: "transparentBgButton",
921
932
  onClick: l(mt)
922
933
  }, {
923
934
  icon: s(() => [
924
- o(be, { name: "write" })
935
+ n(be, { name: "write" })
925
936
  ]),
926
937
  default: s(() => [
927
- i[6] || (i[6] = te(" 修改布局 "))
938
+ r[6] || (r[6] = te(" 修改布局 "))
928
939
  ]),
929
940
  _: 1,
930
941
  __: [6]
931
- }, 8, ["onClick"])) : q("", !0),
942
+ }, 8, ["onClick"])) : X("", !0),
932
943
  Fe(a.$slots, "default", {}, void 0, !0),
933
- o(Ct, null, {
944
+ n(vt, null, {
934
945
  dropTitle: s(() => {
935
- var w;
946
+ var k;
936
947
  return [
937
- o(bt, {
948
+ n(bt, {
938
949
  size: "35",
939
- avatarUrl: (w = l(b)) == null ? void 0 : w.avatarUrl,
950
+ avatarUrl: (k = l(b)) == null ? void 0 : k.avatarUrl,
940
951
  showCropper: !1,
941
952
  banClick: !0
942
953
  }, {
943
954
  avatarDefault: s(() => {
944
- var g;
955
+ var h;
945
956
  return [
946
- te(ue(((g = l(b)) == null ? void 0 : g.account) ?? "未知"), 1)
957
+ te(ue(((h = l(b)) == null ? void 0 : h.account) ?? "未知"), 1)
947
958
  ];
948
959
  }),
949
960
  _: 1
@@ -951,15 +962,15 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
951
962
  ];
952
963
  }),
953
964
  dropMenu: s(() => [
954
- B("div", ha, [
955
- o(De, {
965
+ B("div", fa, [
966
+ n(De, {
956
967
  emptyColor: !0,
957
968
  class: "menu-button",
958
969
  onClickTrigger: xe,
959
970
  modelValue: "清空数据",
960
971
  buttonType: ""
961
972
  }),
962
- o(De, {
973
+ n(De, {
963
974
  emptyColor: !0,
964
975
  class: "menu-button",
965
976
  onClickTrigger: ie,
@@ -974,33 +985,33 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
974
985
  ]),
975
986
  _: 3
976
987
  }),
977
- o(m, { class: "client-body" }, {
988
+ n(c, { class: "client-body" }, {
978
989
  default: s(() => [
979
- o(P, { class: "client-main" }, {
990
+ n(I, { class: "client-main" }, {
980
991
  default: s(() => {
981
- var w;
992
+ var k;
982
993
  return [
983
- o(C, { class: "client-aside" }, {
994
+ n(w, { class: "client-aside" }, {
984
995
  default: s(() => [
985
- o(ut, { mode: "vertical" })
996
+ n(ut, { mode: "vertical" })
986
997
  ]),
987
998
  _: 1
988
999
  }),
989
- Be((h(), $("div", fa, [
990
- Re.value ? (h(), L(d, { key: 0 })) : (h(!0), $(Ae, { key: 1 }, ze((w = l(Se)(l(re))) == null ? void 0 : w.filter((g) => g.comp !== "FormTop"), (g, X) => {
991
- var O;
992
- return h(), $("div", {
1000
+ Be((f(), P("div", ga, [
1001
+ Re.value ? (f(), K(m, { key: 0 })) : (f(!0), P(Ae, { key: 1 }, ze((k = l(Se)(l(re))) == null ? void 0 : k.filter((h) => h.comp !== "FormTop"), (h, _) => {
1002
+ var S;
1003
+ return f(), P("div", {
993
1004
  class: "item-view-content",
994
- key: X
1005
+ key: _
995
1006
  }, [
996
- ((O = g == null ? void 0 : g.comp) == null ? void 0 : O.toUpperCase()) !== "TABLE" && g.name ? (h(), $("div", ga, ue(g.name), 1)) : q("", !0),
997
- (h(), L(rt(l(ht)(g.comp)), {
998
- compName: g.name,
999
- itemData: g == null ? void 0 : g.compData,
1000
- childItemData: g == null ? void 0 : g.itemChildData,
1001
- key: (g == null ? void 0 : g.id) ?? X,
1007
+ ((S = h == null ? void 0 : h.comp) == null ? void 0 : S.toUpperCase()) !== "TABLE" && h.name ? (f(), P("div", ya, ue(h.name), 1)) : X("", !0),
1008
+ (f(), K(rt(l(ht)(h.comp)), {
1009
+ compName: h.name,
1010
+ itemData: h == null ? void 0 : h.compData,
1011
+ childItemData: h == null ? void 0 : h.itemChildData,
1012
+ key: (h == null ? void 0 : h.id) ?? _,
1002
1013
  onChange: l(yt),
1003
- index: (g == null ? void 0 : g.id) ?? X,
1014
+ index: (h == null ? void 0 : h.id) ?? _,
1004
1015
  onContentChange: l(gt),
1005
1016
  onPageChange: l(ft),
1006
1017
  onRowClick: me
@@ -1008,7 +1019,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1008
1019
  ]);
1009
1020
  }), 128))
1010
1021
  ])), [
1011
- [_, l(Q)]
1022
+ [Q, l(W)]
1012
1023
  ])
1013
1024
  ];
1014
1025
  }),
@@ -1020,17 +1031,17 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1020
1031
  ]),
1021
1032
  _: 3
1022
1033
  })), [
1023
- [je, l(J) === "view"],
1024
- [_, l(se)]
1034
+ [je, l(H) === "view"],
1035
+ [Q, l(se)]
1025
1036
  ]),
1026
1037
  B("div", null, [
1027
- o(jt, {
1038
+ n(jt, {
1028
1039
  visible: T.value,
1029
- onBeforeDestroy: Pe,
1040
+ onBeforeDestroy: $e,
1030
1041
  style: { height: "700px", width: "1000px" }
1031
1042
  }, {
1032
1043
  default: s(() => [
1033
- o(lt, {
1044
+ n(lt, {
1034
1045
  ref_key: "threeModelRef",
1035
1046
  ref: U
1036
1047
  }, null, 512)
@@ -1041,7 +1052,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1041
1052
  ], 64);
1042
1053
  };
1043
1054
  }
1044
- }), _a = /* @__PURE__ */ Te(ya, [["__scopeId", "data-v-733f404f"]]), va = { class: "system-wrap" }, wa = {
1055
+ }), wa = /* @__PURE__ */ Te(_a, [["__scopeId", "data-v-4e31d521"]]), Ca = { class: "system-wrap" }, va = {
1045
1056
  __name: "index",
1046
1057
  props: {
1047
1058
  windowConfig: {
@@ -1061,26 +1072,26 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1061
1072
  jsonContents: Array
1062
1073
  },
1063
1074
  emits: ["buildContent", "showChild"],
1064
- setup(S, { emit: le }) {
1065
- const t = Ie(ne), T = He(ne), N = Ne();
1075
+ setup(A, { emit: le }) {
1076
+ const o = Ee(ne), T = He(ne), N = Ne();
1066
1077
  y(!1);
1067
- const Z = y(!0), u = S, ee = le, A = (b) => {
1078
+ const Z = y(!0), u = A, ee = le, M = (b) => {
1068
1079
  ee("showChild", b);
1069
- }, I = Ve(() => {
1080
+ }, E = Ve(() => {
1070
1081
  switch (u == null ? void 0 : u.platform) {
1071
1082
  case "browser":
1072
1083
  return Lt;
1073
1084
  case "client":
1074
- return Et;
1085
+ return Ut;
1075
1086
  }
1076
1087
  }), ae = (b) => {
1077
- const H = document.documentElement;
1078
- b == null || b.forEach((J) => {
1079
- H.style.setProperty(J.name, J.value);
1088
+ const q = document.documentElement;
1089
+ b == null || b.forEach((H) => {
1090
+ q.style.setProperty(H.name, H.value);
1080
1091
  });
1081
1092
  };
1082
- Y(() => u.platform, (b, H) => {
1083
- b && ae(I.value);
1093
+ Y(() => u.platform, (b, q) => {
1094
+ b && ae(E.value);
1084
1095
  }, { immediate: !0 });
1085
1096
  const ge = () => {
1086
1097
  ee("buildContent");
@@ -1088,34 +1099,34 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1088
1099
  return Y(
1089
1100
  () => [u == null ? void 0 : u.content, u == null ? void 0 : u.jsonContents],
1090
1101
  async () => {
1091
- var J, W, ce, x;
1092
- if (((J = u == null ? void 0 : u.jsonContents) == null ? void 0 : J.length) > 0) {
1093
- t.setOriginalData(u == null ? void 0 : u.jsonContents);
1102
+ var H, J, ce, $;
1103
+ if (((H = u == null ? void 0 : u.jsonContents) == null ? void 0 : H.length) > 0) {
1104
+ o.setOriginalData(u == null ? void 0 : u.jsonContents);
1094
1105
  return;
1095
1106
  }
1096
- if (!(u != null && u.content) || ((W = u == null ? void 0 : u.content) == null ? void 0 : W.length) === 0) return;
1107
+ if (!(u != null && u.content) || ((J = u == null ? void 0 : u.content) == null ? void 0 : J.length) === 0) return;
1097
1108
  Z.value = !0, N.setImportLoading(!0);
1098
- let b = [], H = [];
1099
- T.setSelectTitle([]), T.setSelectIndex(""), T.setSelectMenu(""), (x = (ce = u == null ? void 0 : u.content) == null ? void 0 : ce.filter((f) => f !== "")) == null || x.forEach((f) => {
1100
- H.push($t(f));
1101
- }), b = H == null ? void 0 : H[0], await Vt(b), await Bt(), t.setOriginalData(b), N.setImportLoading(!1);
1109
+ let b = [], q = [];
1110
+ T.setSelectTitle([]), T.setSelectIndex(""), T.setSelectMenu(""), ($ = (ce = u == null ? void 0 : u.content) == null ? void 0 : ce.filter((g) => g !== "")) == null || $.forEach((g) => {
1111
+ q.push(Pt(g));
1112
+ }), b = q == null ? void 0 : q[0], await Vt(b), await Bt(), o.setOriginalData(b), N.setImportLoading(!1);
1102
1113
  },
1103
1114
  { deep: !0, immediate: !0 }
1104
- ), (b, H) => (h(), $("div", va, [
1105
- S.platform === "browser" ? (h(), L(la, {
1115
+ ), (b, q) => (f(), P("div", Ca, [
1116
+ A.platform === "browser" ? (f(), K(sa, {
1106
1117
  key: 0,
1107
- showButton: S.showButton
1118
+ showButton: A.showButton
1108
1119
  }, {
1109
1120
  default: s(() => [
1110
1121
  Fe(b.$slots, "default", {}, void 0, !0)
1111
1122
  ]),
1112
1123
  _: 3
1113
- }, 8, ["showButton"])) : (h(), L(_a, {
1124
+ }, 8, ["showButton"])) : (f(), K(wa, {
1114
1125
  key: 1,
1115
- windowConfig: S.windowConfig,
1116
- showButton: S.showButton,
1126
+ windowConfig: A.windowConfig,
1127
+ showButton: A.showButton,
1117
1128
  onBuildContent: ge,
1118
- onShowChild: A
1129
+ onShowChild: M
1119
1130
  }, {
1120
1131
  default: s(() => [
1121
1132
  Fe(b.$slots, "default", {}, void 0, !0)
@@ -1124,13 +1135,13 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1124
1135
  }, 8, ["windowConfig", "showButton"]))
1125
1136
  ]));
1126
1137
  }
1127
- }, Ca = /* @__PURE__ */ Te(wa, [["__scopeId", "data-v-5e89b0de"]]), ka = { class: "add-model-content" }, Ba = {
1138
+ }, ka = /* @__PURE__ */ Te(va, [["__scopeId", "data-v-5e89b0de"]]), Ba = { class: "add-model-content" }, ba = {
1128
1139
  key: 0,
1129
1140
  class: "model-operate"
1130
- }, ba = { class: "model-select" }, Fa = { class: "model-fill" }, Ta = {
1141
+ }, Fa = { class: "model-select" }, Ta = { class: "model-fill" }, Ra = {
1131
1142
  key: 1,
1132
1143
  class: "model-view"
1133
- }, Ra = {
1144
+ }, Sa = {
1134
1145
  __name: "index",
1135
1146
  props: {
1136
1147
  mode: {
@@ -1159,153 +1170,153 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1159
1170
  }
1160
1171
  },
1161
1172
  emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
1162
- setup(S, { emit: le }) {
1163
- const t = S, T = le, N = y([]), Z = y(0), u = y([]), ee = y([]), A = y(0), I = Ie(ne), ae = Ne(ne), { itemData: ge, originalData: b } = oe(I), { activeMenuPath: H, platform: J } = oe(ae), W = y(null), ce = y(0), x = y([]);
1173
+ setup(A, { emit: le }) {
1174
+ const o = A, T = le, N = y([]), Z = y(0), u = y([]), ee = y([]), M = y(0), E = Ee(ne), ae = Ne(ne), { itemData: ge, originalData: b } = oe(E), { activeMenuPath: q, platform: H } = oe(ae), J = y(null), ce = y(0), $ = y([]);
1164
1175
  y("");
1165
- const f = y(0), U = () => {
1176
+ const g = y(0), U = () => {
1166
1177
  T("buildContent");
1167
1178
  };
1168
1179
  Y(
1169
- () => t == null ? void 0 : t.pageKey,
1180
+ () => o == null ? void 0 : o.pageKey,
1170
1181
  async () => {
1171
- let v = {};
1172
- if ((t == null ? void 0 : t.pageKey) !== "") {
1173
- const G = await Oe(t == null ? void 0 : t.pageKey, sessionStorage.getItem("systemKey"), ""), Q = await Oe("弯管仿真加工管理/管件解析", sessionStorage.getItem("systemKey"), "");
1182
+ let C = {};
1183
+ if ((o == null ? void 0 : o.pageKey) !== "") {
1184
+ const G = await Ie(o == null ? void 0 : o.pageKey, sessionStorage.getItem("systemKey"), ""), W = await Ie("弯管仿真加工管理/管件解析", sessionStorage.getItem("systemKey"), "");
1174
1185
  let V = ["管长", "外径"], F = {};
1175
- Q == null || Q.forEach((e) => {
1176
- var K;
1177
- (e == null ? void 0 : e.comp) === "Form" && ((K = e == null ? void 0 : e.compData) == null || K.forEach((j) => {
1186
+ W == null || W.forEach((e) => {
1187
+ var O;
1188
+ (e == null ? void 0 : e.comp) === "Form" && ((O = e == null ? void 0 : e.compData) == null || O.forEach((j) => {
1178
1189
  var me;
1179
1190
  (j == null ? void 0 : j.key) === "formContent" && ((me = j == null ? void 0 : j.contents) == null || me.forEach((ie) => {
1180
1191
  V.includes(ie == null ? void 0 : ie.key) && (F[ie.key] = ie.value);
1181
1192
  }));
1182
1193
  }));
1183
1194
  }), G == null || G.forEach((e) => {
1184
- var K, j, me, ie, xe, Me;
1195
+ var O, j, me, ie, xe, Me;
1185
1196
  if ((e == null ? void 0 : e.comp) === "Table") {
1186
- let Pe = [], Ce = (me = (j = (K = e == null ? void 0 : e.compData) == null ? void 0 : K.find((D) => (D == null ? void 0 : D.key) === "header")) == null ? void 0 : j.contents) == null ? void 0 : me.map((D) => D == null ? void 0 : D.label), Re = (Me = (xe = (ie = e == null ? void 0 : e.compData) == null ? void 0 : ie.find((D) => (D == null ? void 0 : D.key) === "tableContents")) == null ? void 0 : xe.contents) == null ? void 0 : Me.map((D) => (D = D == null ? void 0 : D.filter((_e) => !(_e != null && _e.id)), D));
1187
- Re == null || Re.forEach((D) => {
1188
- Pe.push(kt(D, Ce == null ? void 0 : Ce.filter((_e) => _e !== "操作")));
1189
- }), v[e.name] = Pe, v[e.name + "Content"] = e;
1197
+ let $e = [], ve = (me = (j = (O = e == null ? void 0 : e.compData) == null ? void 0 : O.find((x) => (x == null ? void 0 : x.key) === "header")) == null ? void 0 : j.contents) == null ? void 0 : me.map((x) => x == null ? void 0 : x.label), Re = (Me = (xe = (ie = e == null ? void 0 : e.compData) == null ? void 0 : ie.find((x) => (x == null ? void 0 : x.key) === "tableContents")) == null ? void 0 : xe.contents) == null ? void 0 : Me.map((x) => (x = x == null ? void 0 : x.filter((_e) => !(_e != null && _e.id)), x));
1198
+ Re == null || Re.forEach((x) => {
1199
+ $e.push(kt(x, ve == null ? void 0 : ve.filter((_e) => _e !== "操作")));
1200
+ }), C[e.name] = $e, C[e.name + "Content"] = e;
1190
1201
  }
1191
- }), v.extra = F, T("threeData", v);
1202
+ }), C.extra = F, T("threeData", C);
1192
1203
  }
1193
1204
  },
1194
1205
  { deep: !0, immediate: !0 }
1195
1206
  );
1196
- const de = (v) => {
1197
- T("openThreeBuild", v);
1207
+ const de = (C) => {
1208
+ T("openThreeBuild", C);
1198
1209
  };
1199
1210
  Y(
1200
- () => t == null ? void 0 : t.pathContent,
1211
+ () => o == null ? void 0 : o.pathContent,
1201
1212
  () => {
1202
- (t == null ? void 0 : t.pathContent) !== "" && I.setSystemPath(t == null ? void 0 : t.pathContent);
1213
+ (o == null ? void 0 : o.pathContent) !== "" && E.setSystemPath(o == null ? void 0 : o.pathContent);
1203
1214
  },
1204
1215
  {
1205
1216
  deep: !0,
1206
1217
  immediate: !0
1207
1218
  }
1208
1219
  );
1209
- const pe = (v) => {
1210
- T("contentChange", v);
1211
- }, se = (v) => {
1212
- var Q;
1213
- const G = (Q = Se(v == null ? void 0 : v.wholeValue)) == null ? void 0 : Q.map((V) => {
1220
+ const pe = (C) => {
1221
+ T("contentChange", C);
1222
+ }, se = (C) => {
1223
+ var W;
1224
+ const G = (W = Se(C == null ? void 0 : C.wholeValue)) == null ? void 0 : W.map((V) => {
1214
1225
  var F;
1215
- return (V == null ? void 0 : V.comp) === "Form" && (V.compData = (F = V.compData) == null ? void 0 : F.map((e) => ((e == null ? void 0 : e.key) === "formContent" && (e.contents = Ut(e == null ? void 0 : e.contents)), e))), V;
1226
+ return (V == null ? void 0 : V.comp) === "Form" && (V.compData = (F = V.compData) == null ? void 0 : F.map((e) => ((e == null ? void 0 : e.key) === "formContent" && (e.contents = Et(e == null ? void 0 : e.contents)), e))), V;
1216
1227
  });
1217
1228
  T("change", {
1218
1229
  originalContents: b.value,
1219
- currentContents: v == null ? void 0 : v.wholeValue,
1220
- editContent: v == null ? void 0 : v.editValue,
1230
+ currentContents: C == null ? void 0 : C.wholeValue,
1231
+ editContent: C == null ? void 0 : C.editValue,
1221
1232
  arrayToContents: G
1222
1233
  });
1223
1234
  };
1224
1235
  Y(
1225
1236
  () => u.value,
1226
1237
  () => {
1227
- f.value === u.value.length && u.value.length !== 0 && (N.value = u.value);
1238
+ g.value === u.value.length && u.value.length !== 0 && (N.value = u.value);
1228
1239
  },
1229
1240
  { deep: !0, immediate: !0 }
1230
1241
  );
1231
- const E = () => {
1232
- W.value !== null && W.value.click();
1233
- }, ye = async (v) => {
1234
- const G = v.target.files;
1242
+ const L = () => {
1243
+ J.value !== null && J.value.click();
1244
+ }, ye = async (C) => {
1245
+ const G = C.target.files;
1235
1246
  if (!G) return;
1236
- new FileReader(), N.value = [], u.value = [], f.value = G.length;
1237
- const Q = Array.from(G).map(async (V) => await new Promise((F) => {
1247
+ new FileReader(), N.value = [], u.value = [], g.value = G.length;
1248
+ const W = Array.from(G).map(async (V) => await new Promise((F) => {
1238
1249
  const e = new FileReader();
1239
- e.onload = (K) => {
1250
+ e.onload = (O) => {
1240
1251
  try {
1241
- u.value.push(K.target.result), ce.value++;
1252
+ u.value.push(O.target.result), ce.value++;
1242
1253
  } catch (j) {
1243
1254
  console.error("解析失败:", j);
1244
1255
  return;
1245
1256
  }
1246
- }, e.onerror = () => F(`读取 ${V.name} 失败`), e.readAsText(V), v.target.value = "", W.value = null, Z.value++;
1257
+ }, e.onerror = () => F(`读取 ${V.name} 失败`), e.readAsText(V), C.target.value = "", J.value = null, Z.value++;
1247
1258
  }));
1248
- await Promise.all(Q);
1259
+ await Promise.all(W);
1249
1260
  };
1250
1261
  return Y(
1251
- () => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
1262
+ () => [o == null ? void 0 : o.content, o == null ? void 0 : o.jsonContents],
1252
1263
  async () => {
1253
- await Bt(), N.value = t.content, ee.value = t == null ? void 0 : t.jsonContents;
1264
+ await Bt(), N.value = o.content, ee.value = o == null ? void 0 : o.jsonContents;
1254
1265
  },
1255
1266
  { deep: !0, immediate: !0 }
1256
1267
  ), Y(
1257
1268
  () => ce.value,
1258
1269
  () => {
1259
- var v;
1260
- ((v = x.value) == null ? void 0 : v.length) !== 0 && (I.setOriginalData(x.value), I.setItemData(x.value));
1270
+ var C;
1271
+ ((C = $.value) == null ? void 0 : C.length) !== 0 && (E.setOriginalData($.value), E.setItemData($.value));
1261
1272
  },
1262
1273
  { deep: !0, immediate: !0 }
1263
- ), (v, G) => {
1264
- const Q = R("svg-icon"), V = R("el-button");
1265
- return h(), $("div", ka, [
1266
- (t == null ? void 0 : t.mode) === "edit" ? (h(), $("div", Ba, [
1267
- B("div", ba, [
1268
- o(Ge)
1274
+ ), (C, G) => {
1275
+ const W = D("svg-icon"), V = D("el-button");
1276
+ return f(), P("div", Ba, [
1277
+ (o == null ? void 0 : o.mode) === "edit" ? (f(), P("div", ba, [
1278
+ B("div", Fa, [
1279
+ n(Ge)
1269
1280
  ]),
1270
- (h(), $("div", {
1281
+ (f(), P("div", {
1271
1282
  class: "model-show",
1272
- key: A.value
1283
+ key: M.value
1273
1284
  }, [
1274
- o(Xe)
1285
+ n(Xe)
1275
1286
  ])),
1276
- B("div", Fa, [
1277
- o(qe)
1287
+ B("div", Ta, [
1288
+ n(qe)
1278
1289
  ])
1279
- ])) : q("", !0),
1280
- (t == null ? void 0 : t.mode) === "view" ? (h(), $("div", Ta, [
1281
- (h(), L(Ca, {
1282
- showButton: S.showButton,
1283
- platform: l(J),
1290
+ ])) : X("", !0),
1291
+ (o == null ? void 0 : o.mode) === "view" ? (f(), P("div", Ra, [
1292
+ (f(), K(ka, {
1293
+ showButton: A.showButton,
1294
+ platform: l(H),
1284
1295
  content: N.value,
1285
1296
  onChange: se,
1286
1297
  jsonContents: ee.value,
1287
1298
  onContentChange: pe,
1288
1299
  onBuildContent: U,
1289
- key: A.value,
1300
+ key: M.value,
1290
1301
  onShowChild: de
1291
1302
  }, {
1292
1303
  default: s(() => {
1293
1304
  var F;
1294
1305
  return [
1295
- ((F = t == null ? void 0 : t.jsonContents) == null ? void 0 : F.length) === 0 && (t != null && t.showButton) ? (h(), L(V, {
1306
+ ((F = o == null ? void 0 : o.jsonContents) == null ? void 0 : F.length) === 0 && (o != null && o.showButton) ? (f(), K(V, {
1296
1307
  key: 0,
1297
1308
  id: "transparentBgButton",
1298
- onClick: E
1309
+ onClick: L
1299
1310
  }, {
1300
1311
  icon: s(() => [
1301
- o(Q, { name: "import" })
1312
+ n(W, { name: "import" })
1302
1313
  ]),
1303
1314
  default: s(() => [
1304
- (h(), $("input", {
1315
+ (f(), P("input", {
1305
1316
  type: "file",
1306
1317
  key: Z.value,
1307
1318
  ref_key: "fileInput",
1308
- ref: W,
1319
+ ref: J,
1309
1320
  accept: ".txt, .inm, .iml, .imd",
1310
1321
  onChange: ye,
1311
1322
  style: { display: "none" },
@@ -1315,16 +1326,16 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
1315
1326
  ]),
1316
1327
  _: 1,
1317
1328
  __: [0]
1318
- })) : q("", !0)
1329
+ })) : X("", !0)
1319
1330
  ];
1320
1331
  }),
1321
1332
  _: 1
1322
1333
  }, 8, ["showButton", "platform", "content", "jsonContents"]))
1323
- ])) : q("", !0)
1334
+ ])) : X("", !0)
1324
1335
  ]);
1325
1336
  };
1326
1337
  }
1327
- }, Ga = /* @__PURE__ */ Te(Ra, [["__scopeId", "data-v-1ee6cc73"]]);
1338
+ }, Xa = /* @__PURE__ */ Te(Sa, [["__scopeId", "data-v-1ee6cc73"]]);
1328
1339
  export {
1329
- Ga as default
1340
+ Xa as default
1330
1341
  };