ss-component-new 1.1.596 → 1.1.597

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.
@@ -1,23 +1,23 @@
1
- import { resolveComponent as S, createBlock as E, openBlock as h, withCtx as l, createVNode as a, createElementVNode as B, toDisplayString as re, ref as y, onMounted as At, watch as W, createElementBlock as j, Fragment as De, renderList as Le, createCommentVNode as X, normalizeStyle as Mt, defineComponent as at, computed as xe, resolveDirective as ot, withDirectives as Ce, unref as o, createTextVNode as ee, renderSlot as Be, vShow as Pe, resolveDynamicComponent as nt } from "vue";
1
+ import { resolveComponent as S, createBlock as E, openBlock as h, withCtx as l, createVNode as a, createElementVNode as B, toDisplayString as re, ref as y, onMounted as At, watch as Q, createElementBlock as j, Fragment as De, renderList as Le, createCommentVNode as X, normalizeStyle as Mt, defineComponent as at, computed as xe, resolveDirective as ot, withDirectives as Ce, unref as n, createTextVNode as ee, renderSlot as Be, vShow as Pe, resolveDynamicComponent as nt } from "vue";
2
2
  import { m as Ee, a as Ke, b as Oe } from "./index-Bq9zvPYq.js";
3
3
  import lt from "./index-BIu-jTfc.js";
4
- import { _ as xt, o as st, c as it, a as rt, b as ut, d as ct, s as ie, g as dt, e as pt, f as mt, h as ht, i as Pt, j as $t } from "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang--Ckdd4kI.js";
4
+ import { _ as xt, o as st, c as it, a as rt, b as Pt, d as ut, s as ie, g as ct, e as dt, f as pt, h as mt, i as $t, j as Vt } from "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang--Ckdd4kI.js";
5
5
  import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import { p as ne, s as oe, u as $e, e as ft, c as Re, g as Ie, f as gt, d as me } from "./menu-Qw1eGtzq.js";
7
- import { u as yt } from "./login-afGmER0u.js";
6
+ import { p as ne, s as oe, u as $e, e as ht, c as Re, g as Ie, f as ft, d as he } from "./menu-Qw1eGtzq.js";
7
+ import { u as gt } from "./login-afGmER0u.js";
8
8
  import { S as ke } from "./index-BHtNKL1L.js";
9
9
  import { u as Ve } from "./modelComp-y7HaQuVQ.js";
10
- import { _ as _t, a as Se, d as et, s as Vt } from "./index-CdV-dIPz.js";
11
- import { u as ze, a as jt, g as vt, b as wt, l as Ct } from "./index-CjrWmm5T.js";
12
- import { _ as kt } from "./index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js";
10
+ import { _ as yt, a as Se, d as et, s as jt } from "./index-CdV-dIPz.js";
11
+ import { u as ze, a as Nt, g as _t, b as vt, l as wt } from "./index-CjrWmm5T.js";
12
+ import { _ as Ct } from "./index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js";
13
13
  import tt from "./threeModel-WeRc8TWE.js";
14
- import { u as Nt } from "./index-DFdkXYtv.js";
14
+ import { u as Ut } from "./index-DFdkXYtv.js";
15
15
  import "vue-router";
16
- import { a as Ut } from "./array-wJSGLzMi.js";
17
- import { c as It, b as Lt } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js";
18
- function Et(D, le, e, T, N, Q) {
19
- const u = S("svg-icon"), Y = S("ssMenu");
20
- return h(), E(Y, {
16
+ import { a as It } from "./array-wJSGLzMi.js";
17
+ import { c as Lt, b as Et } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js";
18
+ function Kt(D, le, e, T, N, Y) {
19
+ const u = S("svg-icon"), Z = S("ssMenu");
20
+ return h(), E(Z, {
21
21
  mode: D.mode,
22
22
  menuList: D.renderMenuList,
23
23
  onClickMenu: D.clickMenu,
@@ -34,10 +34,10 @@ function Et(D, le, e, T, N, Q) {
34
34
  _: 1
35
35
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
36
36
  }
37
- const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed2"]]), Kt = { class: "bread-content" }, Ot = ["onClick"], zt = {
37
+ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed2"]]), Ot = { class: "bread-content" }, zt = ["onClick"], Gt = {
38
38
  key: 0,
39
39
  class: "split-title"
40
- }, Gt = {
40
+ }, Xt = {
41
41
  __name: "index",
42
42
  props: {
43
43
  breadArray: {
@@ -50,17 +50,17 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
50
50
  const e = D, T = y([]), N = le;
51
51
  At(() => {
52
52
  T.value = e == null ? void 0 : e.breadArray;
53
- }), W(
53
+ }), Q(
54
54
  () => e == null ? void 0 : e.breadArray,
55
55
  () => {
56
56
  T.value = e == null ? void 0 : e.breadArray;
57
57
  },
58
58
  { deep: !0, immediate: !0 }
59
59
  );
60
- const Q = (u) => {
60
+ const Y = (u) => {
61
61
  N("click", u);
62
62
  };
63
- return (u, Y) => (h(), j("div", Kt, [
63
+ return (u, Z) => (h(), j("div", Ot, [
64
64
  (h(!0), j(De, null, Le(T.value, (M, U) => {
65
65
  var te;
66
66
  return h(), j("div", {
@@ -69,21 +69,21 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
69
69
  }, [
70
70
  B("div", {
71
71
  class: "bread-title",
72
- onClick: (he) => Q(M),
72
+ onClick: (fe) => Y(M),
73
73
  style: Mt({ opacity: ((te = T.value) == null ? void 0 : te.length) - 1 === U ? "0.7" : "1" })
74
- }, re(M.value), 13, Ot),
75
- U !== T.value.length - 1 && Array.isArray(T.value) ? (h(), j("div", zt, re("/"))) : X("", !0)
74
+ }, re(M.value), 13, zt),
75
+ U !== T.value.length - 1 && Array.isArray(T.value) ? (h(), j("div", Gt, re("/"))) : X("", !0)
76
76
  ]);
77
77
  }), 128))
78
78
  ]));
79
79
  }
80
- }, bt = /* @__PURE__ */ be(Gt, [["__scopeId", "data-v-ded7e2bd"]]), Xt = { class: "structure-buttons" }, qt = { class: "structure-paths" }, Ht = { class: "client-header-user" }, Jt = { class: "model-select" }, Wt = { class: "model-show" }, Qt = { class: "model-fill" }, Yt = { class: "client-header-menu" }, Zt = { class: "client-header-user" }, ea = { class: "drop-menu" }, ta = {
80
+ }, Bt = /* @__PURE__ */ be(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 = {
81
81
  class: "client-main-operate",
82
82
  "element-loading-text": "正在加载页面数据..."
83
- }, aa = {
83
+ }, oa = {
84
84
  key: 0,
85
85
  class: "item-view-group"
86
- }, oa = /* @__PURE__ */ at({
86
+ }, na = /* @__PURE__ */ at({
87
87
  __name: "index2",
88
88
  props: {
89
89
  windowConfig: {
@@ -97,7 +97,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
97
97
  }
98
98
  },
99
99
  setup(D) {
100
- const le = ze(ne), { selectTitle: e } = oe(le), T = yt(), { loginUserInfo: N } = oe(T), Q = Ve(ne), { isEdit: u, routeToChildPath: Y } = oe(Q), M = $e(ne), { importLoading: U, activeAsideMenu: te, contentLoading: he } = oe(M), b = y(""), q = xe(() => te.value.isRouter), H = () => {
100
+ const le = ze(ne), { selectTitle: e } = oe(le), T = gt(), { loginUserInfo: N } = oe(T), Y = Ve(ne), { isEdit: u, routeToChildPath: Z } = oe(Y), M = $e(ne), { importLoading: U, activeAsideMenu: te, contentLoading: fe } = oe(M), b = y(""), q = xe(() => te.value.isRouter), H = () => {
101
101
  sessionStorage.clear(), window.location.reload();
102
102
  }, J = async () => {
103
103
  var f, I, ce, de;
@@ -109,20 +109,20 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
109
109
  });
110
110
  if (((f = x == null ? void 0 : x.data) == null ? void 0 : f.code) === 200) {
111
111
  let se = (de = (ce = (I = x == null ? void 0 : x.data) == null ? void 0 : I.result) == null ? void 0 : ce.map((L) => {
112
- var fe;
113
- if (((fe = L == null ? void 0 : L.key) == null ? void 0 : fe.layer) !== "superAdmin")
112
+ var ge;
113
+ if (((ge = L == null ? void 0 : L.key) == null ? void 0 : ge.layer) !== "superAdmin")
114
114
  return L == null ? void 0 : L.id;
115
115
  })) == null ? void 0 : de.filter((L) => L);
116
- await gt({
116
+ await ft({
117
117
  ids: se
118
118
  }), M.setRawMenus([]);
119
119
  }
120
120
  M.setImportLoading(!1);
121
121
  }, ue = () => {
122
- M.setActiveMenuPath(Y.value), Q.setRouteToChildPath("");
122
+ M.setActiveMenuPath(Z.value), Y.setRouteToChildPath("");
123
123
  };
124
124
  return (x, f) => {
125
- const I = S("el-button"), ce = S("el-avatar"), de = S("el-header"), se = S("el-container"), L = S("el-icon"), fe = S("el-input"), v = S("el-aside"), z = S("router-view"), R = S("el-main"), P = ot("loading");
125
+ const I = S("el-button"), ce = S("el-avatar"), de = S("el-header"), se = S("el-container"), L = S("el-icon"), ge = S("el-input"), v = S("el-aside"), z = S("router-view"), R = S("el-main"), P = ot("loading");
126
126
  return h(), j(De, null, [
127
127
  Ce(a(se, { class: "client-container" }, {
128
128
  default: l(() => [
@@ -130,10 +130,10 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
130
130
  default: l(() => {
131
131
  var F;
132
132
  return [
133
- B("div", Xt, [
133
+ B("div", qt, [
134
134
  a(I, {
135
135
  id: "transparentBgButton",
136
- onClick: o(st)
136
+ onClick: n(st)
137
137
  }, {
138
138
  default: l(() => f[2] || (f[2] = [
139
139
  ee(" 返回页面 ")
@@ -144,8 +144,8 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
144
144
  a(I, {
145
145
  id: "transparentBgButton",
146
146
  onClick: f[0] || (f[0] = (i) => {
147
- var Z, ae;
148
- return o(it)((ae = (Z = o(e)) == null ? void 0 : Z.map((ve) => ve.value)) == null ? void 0 : ae.join("/"));
147
+ var W, ae;
148
+ return n(it)((ae = (W = n(e)) == null ? void 0 : W.map((ve) => ve.value)) == null ? void 0 : ae.join("/"));
149
149
  })
150
150
  }, {
151
151
  icon: l(() => [
@@ -158,22 +158,22 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
158
158
  __: [3]
159
159
  })
160
160
  ]),
161
- B("div", qt, [
162
- a(bt, {
163
- breadArray: o(e),
164
- onClick: o(rt)
161
+ B("div", Ht, [
162
+ a(Bt, {
163
+ breadArray: n(e),
164
+ onClick: n(rt)
165
165
  }, null, 8, ["breadArray", "onClick"])
166
166
  ]),
167
- B("div", Ht, [
167
+ B("div", Jt, [
168
168
  Be(x.$slots, "default", {}, void 0, !0),
169
169
  a(ce, {
170
170
  size: 35,
171
- src: (F = o(N)) == null ? void 0 : F.avatarUrl
171
+ src: (F = n(N)) == null ? void 0 : F.avatarUrl
172
172
  }, {
173
173
  default: l(() => {
174
174
  var i;
175
175
  return [
176
- ee(re(((i = o(N)) == null ? void 0 : i.account) ?? "未知"), 1)
176
+ ee(re(((i = n(N)) == null ? void 0 : i.account) ?? "未知"), 1)
177
177
  ];
178
178
  }),
179
179
  _: 1
@@ -183,19 +183,19 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
183
183
  }),
184
184
  _: 3
185
185
  }),
186
- o(u) === "edit" ? (h(), E(se, {
186
+ n(u) === "edit" ? (h(), E(se, {
187
187
  key: 0,
188
188
  class: "model-operate",
189
189
  style: { "margin-top": "10px", height: "0px" }
190
190
  }, {
191
191
  default: l(() => [
192
- B("div", Jt, [
192
+ B("div", Wt, [
193
193
  a(Ee)
194
194
  ]),
195
- B("div", Wt, [
195
+ B("div", Qt, [
196
196
  a(Ke)
197
197
  ]),
198
- B("div", Qt, [
198
+ B("div", Yt, [
199
199
  a(Oe)
200
200
  ])
201
201
  ]),
@@ -204,7 +204,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
204
204
  ]),
205
205
  _: 3
206
206
  }, 512), [
207
- [Pe, o(u) === "edit"]
207
+ [Pe, n(u) === "edit"]
208
208
  ]),
209
209
  Ce((h(), E(se, {
210
210
  class: "client-container",
@@ -214,11 +214,11 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
214
214
  a(de, { class: "client-header" }, {
215
215
  default: l(() => [
216
216
  f[6] || (f[6] = B("div", { class: "client-header-logo" }, " ISIP ", -1)),
217
- B("div", Yt, [
218
- a(Bt, { mode: "horizontal" })
219
- ]),
220
217
  B("div", Zt, [
221
- a(fe, {
218
+ a(kt, { mode: "horizontal" })
219
+ ]),
220
+ B("div", ea, [
221
+ a(ge, {
222
222
  modelValue: b.value,
223
223
  "onUpdate:modelValue": f[1] || (f[1] = (F) => b.value = F),
224
224
  clearable: "",
@@ -228,7 +228,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
228
228
  prefix: l(() => [
229
229
  a(L, { class: "el-input__icon" }, {
230
230
  default: l(() => [
231
- a(o(ft))
231
+ a(n(ht))
232
232
  ]),
233
233
  _: 1
234
234
  })
@@ -238,7 +238,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
238
238
  D.showButton ? (h(), E(I, {
239
239
  key: 0,
240
240
  id: "transparentBgButton",
241
- onClick: o(ut)
241
+ onClick: n(Pt)
242
242
  }, {
243
243
  icon: l(() => [
244
244
  a(ke, { name: "App" })
@@ -249,10 +249,10 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
249
249
  _: 1,
250
250
  __: [4]
251
251
  }, 8, ["onClick"])) : X("", !0),
252
- D.showButton && o(u) === "view" ? (h(), E(I, {
252
+ D.showButton && n(u) === "view" ? (h(), E(I, {
253
253
  key: 1,
254
254
  id: "transparentBgButton",
255
- onClick: o(ct)
255
+ onClick: n(ut)
256
256
  }, {
257
257
  icon: l(() => [
258
258
  a(ke, { name: "write" })
@@ -264,20 +264,20 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
264
264
  __: [5]
265
265
  }, 8, ["onClick"])) : X("", !0),
266
266
  Be(x.$slots, "default", {}, void 0, !0),
267
- a(_t, null, {
267
+ a(yt, null, {
268
268
  dropTitle: l(() => {
269
269
  var F;
270
270
  return [
271
- a(kt, {
271
+ a(Ct, {
272
272
  size: "35",
273
- avatarUrl: (F = o(N)) == null ? void 0 : F.avatarUrl,
273
+ avatarUrl: (F = n(N)) == null ? void 0 : F.avatarUrl,
274
274
  showCropper: !1,
275
275
  banClick: !0
276
276
  }, {
277
277
  avatarDefault: l(() => {
278
278
  var i;
279
279
  return [
280
- ee(re(((i = o(N)) == null ? void 0 : i.account) ?? "未知"), 1)
280
+ ee(re(((i = n(N)) == null ? void 0 : i.account) ?? "未知"), 1)
281
281
  ];
282
282
  }),
283
283
  _: 1
@@ -285,7 +285,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
285
285
  ];
286
286
  }),
287
287
  dropMenu: l(() => [
288
- B("div", ea, [
288
+ B("div", ta, [
289
289
  a(Se, {
290
290
  emptyColor: !0,
291
291
  class: "menu-button",
@@ -321,35 +321,35 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
321
321
  ]),
322
322
  _: 1
323
323
  }),
324
- Ce((h(), j("div", ta, [
324
+ Ce((h(), j("div", aa, [
325
325
  q.value ? (h(), E(z, { key: 0 })) : X("", !0),
326
- o(Y) !== "" ? (h(), E(Se, {
326
+ n(Z) !== "" ? (h(), E(Se, {
327
327
  key: 1,
328
328
  class: "calculator-content back-content",
329
329
  onClickTrigger: ue,
330
330
  modelValue: "返回"
331
331
  })) : X("", !0),
332
- q.value ? X("", !0) : (h(!0), j(De, { key: 2 }, Le((F = o(Re)(o(ie))) == null ? void 0 : F.filter((i) => i.comp !== "FormTop"), (i, Z) => {
332
+ q.value ? X("", !0) : (h(!0), j(De, { key: 2 }, Le((F = n(Re)(n(ie))) == null ? void 0 : F.filter((i) => i.comp !== "FormTop"), (i, W) => {
333
333
  var ae;
334
334
  return h(), j("div", {
335
335
  class: "item-view-content",
336
- key: Z
336
+ key: W
337
337
  }, [
338
- ((ae = i == null ? void 0 : i.comp) == null ? void 0 : ae.toUpperCase()) !== "TABLE" && i.name ? (h(), j("div", aa, re(i.name), 1)) : X("", !0),
339
- (h(), E(nt(o(dt)(i.comp)), {
338
+ ((ae = i == null ? void 0 : i.comp) == null ? void 0 : ae.toUpperCase()) !== "TABLE" && i.name ? (h(), j("div", oa, re(i.name), 1)) : X("", !0),
339
+ (h(), E(nt(n(ct)(i.comp)), {
340
340
  compName: i.name,
341
341
  itemData: i == null ? void 0 : i.compData,
342
342
  childItemData: i == null ? void 0 : i.itemChildData,
343
- key: (i == null ? void 0 : i.id) ?? Z,
344
- onChange: o(ht),
345
- index: (i == null ? void 0 : i.id) ?? Z,
346
- onContentChange: o(mt),
347
- onPageChange: o(pt)
343
+ key: (i == null ? void 0 : i.id) ?? W,
344
+ onChange: n(mt),
345
+ index: (i == null ? void 0 : i.id) ?? W,
346
+ onContentChange: n(pt),
347
+ onPageChange: n(dt)
348
348
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
349
349
  ]);
350
350
  }), 128))
351
351
  ])), [
352
- [P, o(he)]
352
+ [P, n(fe)]
353
353
  ])
354
354
  ];
355
355
  }),
@@ -361,13 +361,13 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
361
361
  ]),
362
362
  _: 3
363
363
  })), [
364
- [Pe, o(u) === "view"],
365
- [P, o(U)]
364
+ [Pe, n(u) === "view"],
365
+ [P, n(U)]
366
366
  ])
367
367
  ], 64);
368
368
  };
369
369
  }
370
- }), na = /* @__PURE__ */ be(oa, [["__scopeId", "data-v-ac977f64"]]), Ne = [
370
+ }), la = /* @__PURE__ */ be(na, [["__scopeId", "data-v-ac977f64"]]), Ne = [
371
371
  {
372
372
  key: "FitCurve_Eleven",
373
373
  value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
@@ -448,13 +448,13 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
448
448
  // key: "参数筛选推理",
449
449
  // value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
450
450
  // }
451
- ], la = { class: "structure-buttons" }, sa = { class: "structure-paths" }, ia = { class: "client-header-user" }, ra = { class: "model-select" }, ua = { class: "model-show" }, ca = { class: "model-fill" }, da = { class: "client-header-menu" }, pa = { class: "client-header-user" }, ma = { class: "drop-menu" }, ha = {
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 = {
452
452
  class: "client-main-operate",
453
453
  "element-loading-text": "正在加载页面数据..."
454
- }, fa = {
454
+ }, ga = {
455
455
  key: 0,
456
456
  class: "item-view-group"
457
- }, ga = /* @__PURE__ */ at({
457
+ }, ya = /* @__PURE__ */ at({
458
458
  __name: "index2",
459
459
  props: {
460
460
  windowConfig: {
@@ -471,36 +471,38 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
471
471
  setup(D, { emit: le }) {
472
472
  const e = ze(ne), T = y(!1);
473
473
  y(0), y(!1);
474
- const { selectTitle: N } = oe(e), Q = y(!1), u = y(!1);
474
+ const { selectTitle: N } = oe(e), Y = y(!1), u = y(!1);
475
475
  y(!1);
476
- const Y = jt(ne), M = y(!1), { tableShowThree: U } = oe(Y), te = y(), he = yt(), { loginUserInfo: b } = oe(he);
476
+ const Z = Nt(ne), M = y(!1), { tableShowThree: U } = oe(Z), te = y(), fe = gt(), { loginUserInfo: b } = oe(fe);
477
477
  y(null);
478
- const q = Ve(ne), { isEdit: H } = oe(q), J = $e(ne), ue = Nt(ne), { objUrl: x, blobUrls: f } = oe(ue), I = y(null);
478
+ const q = Ve(ne), { isEdit: H } = oe(q), J = $e(ne), ue = Ut(ne), { objUrl: x, blobUrls: f } = oe(ue), I = y(null);
479
479
  y(!1);
480
480
  const ce = y(), de = y(!0);
481
481
  y(!1);
482
- const { importLoading: se, activeMenuPath: L, activeTopMenuPath: fe, platName: v, activeAsideMenu: z, contentLoading: R } = oe(J), P = y(!1), F = y(!1), i = y(!1), Z = le;
483
- W(() => L.value, async (t) => {
482
+ const { importLoading: se, activeMenuPath: L, activeTopMenuPath: ge, platName: v, activeAsideMenu: z, contentLoading: R } = oe(J), P = y(!1), F = y(!1), i = y(!1), W = le, ae = () => {
483
+ W("buildContent");
484
+ };
485
+ Q(() => L.value, async (t) => {
484
486
  t && (i.value = !0), t === "弯管仿真加工管理/仿真动画生成" ? P.value = !0 : P.value = !1, t === "弯管仿真加工管理/程序输出" ? F.value = !0 : F.value = !1, Ue != null && Ue.find((s) => {
485
- var n;
486
- return (s == null ? void 0 : s.key) === ((n = t == null ? void 0 : t.split("/")) == null ? void 0 : n[(t == null ? void 0 : t.split("/").length) - 1]);
487
+ var o;
488
+ return (s == null ? void 0 : s.key) === ((o = t == null ? void 0 : t.split("/")) == null ? void 0 : o[(t == null ? void 0 : t.split("/").length) - 1]);
487
489
  }) ? M.value = !0 : M.value = !1;
488
490
  }, { immediate: !0 });
489
- const ae = (t) => {
491
+ const ve = (t) => {
490
492
  if ((t == null ? void 0 : t.type) === "table") {
491
- let s = Object.values(t == null ? void 0 : t.row), n = s == null ? void 0 : s.find((c) => typeof c == "string" && ((c == null ? void 0 : c.includes(".urdf")) || (c == null ? void 0 : c.includes(".obj"))));
492
- n && (te.value = {
493
- url: n,
493
+ let s = Object.values(t == null ? void 0 : t.row), o = s == null ? void 0 : s.find((c) => typeof c == "string" && ((c == null ? void 0 : c.includes(".urdf")) || (c == null ? void 0 : c.includes(".obj"))));
494
+ o && (te.value = {
495
+ url: o,
494
496
  row: t == null ? void 0 : t.row
495
- }, Z("showChild", {
496
- url: n,
497
+ }, W("showChild", {
498
+ url: o,
497
499
  row: t == null ? void 0 : t.row
498
500
  }));
499
501
  }
500
- }, ve = () => {
502
+ }, Ae = () => {
501
503
  sessionStorage.clear(), window.location.reload();
502
- }, Ae = async () => {
503
- var s, n, c, k;
504
+ }, Fe = async () => {
505
+ var s, o, c, k;
504
506
  J.setImportLoading(!0);
505
507
  const t = await Ie({
506
508
  key: {
@@ -508,56 +510,56 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
508
510
  }
509
511
  });
510
512
  if (((s = t == null ? void 0 : t.data) == null ? void 0 : s.code) === 200) {
511
- let r = (k = (c = (n = t == null ? void 0 : t.data) == null ? void 0 : n.result) == null ? void 0 : c.map((m) => {
513
+ let r = (k = (c = (o = t == null ? void 0 : t.data) == null ? void 0 : o.result) == null ? void 0 : c.map((m) => {
512
514
  var p;
513
515
  if (((p = m == null ? void 0 : m.key) == null ? void 0 : p.layer) !== "superAdmin")
514
516
  return m == null ? void 0 : m.id;
515
517
  })) == null ? void 0 : k.filter((m) => m);
516
- await gt({
518
+ await ft({
517
519
  ids: r
518
520
  }), J.setRawMenus([]);
519
521
  }
520
522
  J.setImportLoading(!1);
521
- }, Fe = async (t) => {
523
+ }, Te = async (t) => {
522
524
  var c, k, r, m, p, $, C;
523
- const s = (c = t == null ? void 0 : t.split("/")) == null ? void 0 : c[0], n = await Ie({
525
+ const s = (c = t == null ? void 0 : t.split("/")) == null ? void 0 : c[0], o = await Ie({
524
526
  key: {
525
527
  type: "mainEquip",
526
528
  systemKey: sessionStorage.getItem("systemKey"),
527
529
  pageKey: s
528
530
  }
529
531
  });
530
- return ((k = n == null ? void 0 : n.data) == null ? void 0 : k.type) === "success" ? ((C = ($ = (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 : $.tableData) == null ? void 0 : C.隐藏三维显示) !== !0 : !0;
532
+ return ((k = o == null ? void 0 : o.data) == null ? void 0 : k.type) === "success" ? ((C = ($ = (p = (m = (r = o == null ? void 0 : o.data) == null ? void 0 : r.result) == null ? void 0 : m[0]) == null ? void 0 : p.value) == null ? void 0 : $.tableData) == null ? void 0 : C.隐藏三维显示) !== !0 : !0;
531
533
  };
532
- W(
534
+ Q(
533
535
  () => ie.value,
534
536
  () => {
535
- var t, s, n, c, k;
536
- if (((t = ie.value) == null ? void 0 : t.length) === 2 && ((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入")) && ((n = ie.value) != null && n.find((r) => (r == null ? void 0 : r.name) === "输出"))) {
537
+ var t, s, o, c, k;
538
+ if (((t = ie.value) == null ? void 0 : t.length) === 2 && ((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入")) && ((o = ie.value) != null && o.find((r) => (r == null ? void 0 : r.name) === "输出"))) {
537
539
  const r = (c = ie.value) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.name) === "输出");
538
- u.value = ((k = r == null ? void 0 : r.comp) == null ? void 0 : k.toUpperCase()) === "FORM", Q.value = !0;
540
+ u.value = ((k = r == null ? void 0 : r.comp) == null ? void 0 : k.toUpperCase()) === "FORM", Y.value = !0;
539
541
  } else
540
- Q.value = !1, u.value = !1;
542
+ Y.value = !1, u.value = !1;
541
543
  },
542
544
  { deep: !0, immediate: !0 }
543
- ), W(
545
+ ), Q(
544
546
  () => L.value,
545
547
  async () => {
546
- L.value && (de.value = await Fe(L.value));
548
+ L.value && (de.value = await Te(L.value));
547
549
  },
548
550
  { deep: !0, immediate: !0 }
549
- ), W(
551
+ ), Q(
550
552
  () => [x.value, I.value],
551
553
  () => {
552
554
  var t;
553
555
  ((t = x.value) == null ? void 0 : t.length) > 0 && I.value && I.value.addModelsFromUrls(x.value);
554
556
  },
555
557
  { immediate: !0, deep: !0 }
556
- ), W(
558
+ ), Q(
557
559
  () => [f == null ? void 0 : f.value],
558
560
  async () => {
559
- var t, s, n, c, k;
560
- if (f != null && f.value && ((t = f == null ? void 0 : f.value) == null ? void 0 : t.length) > 0 && !M.value && !((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入") && ((n = ie.value) != null && n.find((r) => (r == null ? void 0 : r.name) === "输出")))) {
561
+ var t, s, o, c, k;
562
+ if (f != null && f.value && ((t = f == null ? void 0 : f.value) == null ? void 0 : t.length) > 0 && !M.value && !((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入") && ((o = ie.value) != null && o.find((r) => (r == null ? void 0 : r.name) === "输出")))) {
561
563
  T.value = !0;
562
564
  let r = [];
563
565
  const m = await ((c = Re(f == null ? void 0 : f.value)) == null ? void 0 : c.map(async (p) => {
@@ -567,17 +569,17 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
567
569
  let V = d == null ? void 0 : d.split(",");
568
570
  if ((V == null ? void 0 : V.length) > 1) {
569
571
  let _e = await (V == null ? void 0 : V.map(async (O) => {
570
- var pe, He, Je, We, Qe, Ye;
571
- $ = await me.get(O, {
572
+ var me, He, Je, We, Qe, Ye;
573
+ $ = await he.get(O, {
572
574
  responseType: "blob",
573
575
  headers: {
574
576
  "Content-Type": "application/json"
575
577
  }
576
578
  });
577
579
  let we = [];
578
- if (((pe = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : pe.length) > 0) {
580
+ if (((me = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : me.length) > 0) {
579
581
  let St = await ((He = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : He.map(async (Dt) => {
580
- let Ze = await me.get(Dt, {
582
+ let Ze = await he.get(Dt, {
581
583
  responseType: "blob",
582
584
  headers: {
583
585
  "Content-Type": "application/json"
@@ -605,12 +607,12 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
605
607
  let _e = [];
606
608
  if (((g = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : g.length) > 0) {
607
609
  let O = await ((G = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : G.map(async (we) => {
608
- let pe = await et({
610
+ let me = await et({
609
611
  url: we
610
612
  });
611
- return _e.push(new Blob([pe.data], {
613
+ return _e.push(new Blob([me.data], {
612
614
  type: "application/octet-stream;charset=UTF-8"
613
- })), pe;
615
+ })), me;
614
616
  }));
615
617
  await Promise.all(O);
616
618
  }
@@ -622,7 +624,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
622
624
  mtlBlobs: _e
623
625
  };
624
626
  } else {
625
- $ = await me.get(d, {
627
+ $ = await he.get(d, {
626
628
  responseType: "blob",
627
629
  headers: {
628
630
  "Content-Type": "application/json"
@@ -631,15 +633,15 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
631
633
  let _e = [];
632
634
  if (((Me = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : Me.length) > 0) {
633
635
  let O = await ((Ge = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : Ge.map(async (we) => {
634
- let pe = await me.get(we, {
636
+ let me = await he.get(we, {
635
637
  responseType: "blob",
636
638
  headers: {
637
639
  "Content-Type": "application/json"
638
640
  }
639
641
  });
640
- return _e.push(new Blob([pe.data], {
642
+ return _e.push(new Blob([me.data], {
641
643
  type: "application/octet-stream;charset=UTF-8"
642
- })), pe;
644
+ })), me;
643
645
  }));
644
646
  await Promise.all(O);
645
647
  }
@@ -658,16 +660,16 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
658
660
  },
659
661
  { immediate: !0, deep: !0 }
660
662
  );
661
- const Te = () => {
663
+ const A = () => {
662
664
  T.value = !1, I.value = null;
663
665
  };
664
- W(
666
+ Q(
665
667
  () => U.value,
666
668
  async () => {
667
- var s, n, c, k;
669
+ var s, o, c, k;
668
670
  if (U.value !== "" && U.value) {
669
671
  let r = (s = L.value) == null ? void 0 : s.split("/"), m = r[(r == null ? void 0 : r.length) - 2];
670
- const $ = (((n = Ne == null ? void 0 : Ne.find((V) => (V == null ? void 0 : V.key) === m)) == null ? void 0 : n.download) ?? "") + "/" + U.value, C = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), d = await me.post($, null, {
672
+ const $ = (((o = Ne == null ? void 0 : Ne.find((V) => (V == null ? void 0 : V.key) === m)) == null ? void 0 : o.download) ?? "") + "/" + U.value, C = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), d = await he.post($, null, {
671
673
  responseType: "blob",
672
674
  // 必须设置
673
675
  headers: {
@@ -684,37 +686,37 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
684
686
  },
685
687
  { deep: !0, immediate: !0 }
686
688
  );
687
- const A = y("");
689
+ const pe = y("");
688
690
  y("open"), y("open"), y(!1), xe(() => ie.value);
689
- const ge = xe(() => z.value.isRouter), Ft = (t) => {
690
- let s = Re(t), n = [], c = [];
691
+ const bt = xe(() => z.value.isRouter), Ft = (t) => {
692
+ let s = Re(t), o = [], c = [];
691
693
  return s == null || s.forEach((k, r) => {
692
- r === (t == null ? void 0 : t.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));
693
- }), n;
694
+ r === (t == null ? void 0 : t.length) - 1 ? (c.push(k), o.push(c)) : ((c == null ? void 0 : c.length) !== 0 && k.includes(".obj") && (o.push(c), c = []), c.push(k));
695
+ }), o;
694
696
  }, Tt = async () => {
695
697
  let t = {};
696
- const s = await vt("弯管仿真加工管理/仿真动画生成", sessionStorage.getItem("systemKey"), "");
697
- s == null || s.forEach((n) => {
698
+ const s = await _t("弯管仿真加工管理/仿真动画生成", sessionStorage.getItem("systemKey"), "");
699
+ s == null || s.forEach((o) => {
698
700
  var c, k, r, m, p, $;
699
- if ((n == null ? void 0 : n.comp) === "Table") {
700
- 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), V = ($ = (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 : $.map((_) => (_ = _ == null ? void 0 : _.filter((w) => !(w != null && w.id)), _));
701
+ if ((o == null ? void 0 : o.comp) === "Table") {
702
+ let C = [], d = (r = (k = (c = o == null ? void 0 : o.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), V = ($ = (p = (m = o == null ? void 0 : o.compData) == null ? void 0 : m.find((_) => (_ == null ? void 0 : _.key) === "tableContents")) == null ? void 0 : p.contents) == null ? void 0 : $.map((_) => (_ = _ == null ? void 0 : _.filter((w) => !(w != null && w.id)), _));
701
703
  V == null || V.forEach((_) => {
702
- C.push(wt(_, d == null ? void 0 : d.filter((w) => w !== "操作")));
703
- }), t[n.name] = C, t[n.name + "Content"] = n;
704
+ C.push(vt(_, d == null ? void 0 : d.filter((w) => w !== "操作")));
705
+ }), t[o.name] = C, t[o.name + "Content"] = o;
704
706
  }
705
707
  }), ce.value = t;
706
708
  }, je = y(!1), Rt = async () => {
707
709
  var t, s;
708
710
  if (je.value = !0, te.value) {
709
- const n = te.value;
711
+ const o = te.value;
710
712
  let c = [];
711
- if (typeof (n == null ? void 0 : n.url) == "string") {
712
- let k = (t = n == null ? void 0 : n.url) == null ? void 0 : t.split(","), r = (s = Ft(k)) == null ? void 0 : s.map(async (m) => {
713
+ if (typeof (o == null ? void 0 : o.url) == "string") {
714
+ let k = (t = o == null ? void 0 : o.url) == null ? void 0 : t.split(","), r = (s = Ft(k)) == null ? void 0 : s.map(async (m) => {
713
715
  var p, $;
714
716
  if ((m == null ? void 0 : m.length) === 1) {
715
717
  let C = m == null ? void 0 : m.map(async (d) => {
716
718
  var g, G;
717
- let V = await me.get(d, {
719
+ let V = await he.get(d, {
718
720
  responseType: "blob",
719
721
  headers: {
720
722
  "Content-Type": "application/json"
@@ -732,7 +734,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
732
734
  });
733
735
  return await Promise.all(C), C;
734
736
  } else {
735
- let C = m == null ? void 0 : m.find((K) => K == null ? void 0 : K.includes(".obj")), d = await me.get(C, {
737
+ let C = m == null ? void 0 : m.find((K) => K == null ? void 0 : K.includes(".obj")), d = await he.get(C, {
736
738
  responseType: "blob",
737
739
  headers: {
738
740
  "Content-Type": "application/json"
@@ -742,7 +744,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
742
744
  type: "application/octet-stream;charset=UTF-8"
743
745
  });
744
746
  let _ = m == null ? void 0 : m.filter((K) => K == null ? void 0 : K.includes(".mtl")), w = [], g = _ == null ? void 0 : _.map(async (K) => {
745
- let ye = await me.get(C, {
747
+ let ye = await he.get(C, {
746
748
  responseType: "blob",
747
749
  headers: {
748
750
  "Content-Type": "application/json"
@@ -768,9 +770,9 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
768
770
  }
769
771
  };
770
772
  return (t, s) => {
771
- const n = S("el-dialog"), c = S("el-button"), k = S("el-avatar"), r = S("el-header"), m = S("el-container"), p = S("el-icon"), $ = S("el-input"), C = S("el-aside"), d = S("router-view"), V = S("el-main"), _ = ot("loading");
773
+ const o = S("el-dialog"), c = S("el-button"), k = S("el-avatar"), r = S("el-header"), m = S("el-container"), p = S("el-icon"), $ = S("el-input"), C = S("el-aside"), d = S("router-view"), V = S("el-main"), _ = ot("loading");
772
774
  return h(), j(De, null, [
773
- a(n, {
775
+ a(o, {
774
776
  modelValue: je.value,
775
777
  "onUpdate:modelValue": s[0] || (s[0] = (w) => je.value = w),
776
778
  style: { height: "700px", width: "1800px" }
@@ -791,10 +793,10 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
791
793
  default: l(() => {
792
794
  var w;
793
795
  return [
794
- B("div", la, [
796
+ B("div", sa, [
795
797
  a(c, {
796
798
  id: "transparentBgButton",
797
- onClick: o(st)
799
+ onClick: n(st)
798
800
  }, {
799
801
  default: l(() => s[3] || (s[3] = [
800
802
  ee(" 返回页面 ")
@@ -806,7 +808,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
806
808
  id: "transparentBgButton",
807
809
  onClick: s[1] || (s[1] = (g) => {
808
810
  var G, K;
809
- return o(it)((K = (G = o(N)) == null ? void 0 : G.map((ye) => ye.value)) == null ? void 0 : K.join("/"));
811
+ return n(it)((K = (G = n(N)) == null ? void 0 : G.map((ye) => ye.value)) == null ? void 0 : K.join("/"));
810
812
  })
811
813
  }, {
812
814
  icon: l(() => [
@@ -819,22 +821,22 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
819
821
  __: [4]
820
822
  })
821
823
  ]),
822
- B("div", sa, [
823
- a(bt, {
824
- breadArray: o(N),
825
- onClick: o(rt)
824
+ B("div", ia, [
825
+ a(Bt, {
826
+ breadArray: n(N),
827
+ onClick: n(rt)
826
828
  }, null, 8, ["breadArray", "onClick"])
827
829
  ]),
828
- B("div", ia, [
830
+ B("div", ra, [
829
831
  Be(t.$slots, "default", {}, void 0, !0),
830
832
  a(k, {
831
833
  size: 35,
832
- src: (w = o(b)) == null ? void 0 : w.avatarUrl
834
+ src: (w = n(b)) == null ? void 0 : w.avatarUrl
833
835
  }, {
834
836
  default: l(() => {
835
837
  var g;
836
838
  return [
837
- ee(re(((g = o(b)) == null ? void 0 : g.account) ?? "未知"), 1)
839
+ ee(re(((g = n(b)) == null ? void 0 : g.account) ?? "未知"), 1)
838
840
  ];
839
841
  }),
840
842
  _: 1
@@ -844,19 +846,19 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
844
846
  }),
845
847
  _: 3
846
848
  }),
847
- o(H) === "edit" ? (h(), E(m, {
849
+ n(H) === "edit" ? (h(), E(m, {
848
850
  key: 0,
849
851
  class: "model-operate",
850
852
  style: { "margin-top": "10px", height: "0px" }
851
853
  }, {
852
854
  default: l(() => [
853
- B("div", ra, [
855
+ B("div", ua, [
854
856
  a(Ee)
855
857
  ]),
856
- B("div", ua, [
858
+ B("div", ca, [
857
859
  a(Ke)
858
860
  ]),
859
- B("div", ca, [
861
+ B("div", da, [
860
862
  a(Oe)
861
863
  ])
862
864
  ]),
@@ -865,7 +867,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
865
867
  ]),
866
868
  _: 3
867
869
  }, 512), [
868
- [Pe, o(H) === "edit"]
870
+ [Pe, n(H) === "edit"]
869
871
  ]),
870
872
  Ce((h(), E(m, {
871
873
  class: "client-container",
@@ -877,14 +879,14 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
877
879
  B("div", {
878
880
  class: "client-header-logo",
879
881
  onClick: Rt
880
- }, re(o(v) === "" ? "CPMPIP" : o(v)), 1),
881
- B("div", da, [
882
- a(Bt, { mode: "horizontal" })
883
- ]),
882
+ }, re(n(v) === "" ? "CPMPIP" : n(v)), 1),
884
883
  B("div", pa, [
884
+ a(kt, { mode: "horizontal" })
885
+ ]),
886
+ B("div", ma, [
885
887
  a($, {
886
- modelValue: A.value,
887
- "onUpdate:modelValue": s[2] || (s[2] = (w) => A.value = w),
888
+ modelValue: pe.value,
889
+ "onUpdate:modelValue": s[2] || (s[2] = (w) => pe.value = w),
888
890
  clearable: "",
889
891
  placeholder: "搜索",
890
892
  style: { width: "130px" }
@@ -892,7 +894,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
892
894
  prefix: l(() => [
893
895
  a(p, { class: "el-input__icon" }, {
894
896
  default: l(() => [
895
- a(o(ft))
897
+ a(n(ht))
896
898
  ]),
897
899
  _: 1
898
900
  })
@@ -902,7 +904,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
902
904
  D.showButton ? (h(), E(c, {
903
905
  key: 0,
904
906
  id: "transparentBgButton",
905
- onClick: o(ut)
907
+ onClick: ae
906
908
  }, {
907
909
  icon: l(() => [
908
910
  a(ke, { name: "App" })
@@ -912,11 +914,11 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
912
914
  ]),
913
915
  _: 1,
914
916
  __: [5]
915
- }, 8, ["onClick"])) : X("", !0),
916
- D.showButton && o(H) === "view" ? (h(), E(c, {
917
+ })) : X("", !0),
918
+ D.showButton && n(H) === "view" ? (h(), E(c, {
917
919
  key: 1,
918
920
  id: "transparentBgButton",
919
- onClick: o(ct)
921
+ onClick: n(ut)
920
922
  }, {
921
923
  icon: l(() => [
922
924
  a(ke, { name: "write" })
@@ -928,20 +930,20 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
928
930
  __: [6]
929
931
  }, 8, ["onClick"])) : X("", !0),
930
932
  Be(t.$slots, "default", {}, void 0, !0),
931
- a(_t, null, {
933
+ a(yt, null, {
932
934
  dropTitle: l(() => {
933
935
  var w;
934
936
  return [
935
- a(kt, {
937
+ a(Ct, {
936
938
  size: "35",
937
- avatarUrl: (w = o(b)) == null ? void 0 : w.avatarUrl,
939
+ avatarUrl: (w = n(b)) == null ? void 0 : w.avatarUrl,
938
940
  showCropper: !1,
939
941
  banClick: !0
940
942
  }, {
941
943
  avatarDefault: l(() => {
942
944
  var g;
943
945
  return [
944
- ee(re(((g = o(b)) == null ? void 0 : g.account) ?? "未知"), 1)
946
+ ee(re(((g = n(b)) == null ? void 0 : g.account) ?? "未知"), 1)
945
947
  ];
946
948
  }),
947
949
  _: 1
@@ -949,18 +951,18 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
949
951
  ];
950
952
  }),
951
953
  dropMenu: l(() => [
952
- B("div", ma, [
954
+ B("div", ha, [
953
955
  a(Se, {
954
956
  emptyColor: !0,
955
957
  class: "menu-button",
956
- onClickTrigger: Ae,
958
+ onClickTrigger: Fe,
957
959
  modelValue: "清空数据",
958
960
  buttonType: ""
959
961
  }),
960
962
  a(Se, {
961
963
  emptyColor: !0,
962
964
  class: "menu-button",
963
- onClickTrigger: ve,
965
+ onClickTrigger: Ae,
964
966
  modelValue: "退出登录",
965
967
  buttonType: ""
966
968
  })
@@ -984,29 +986,29 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
984
986
  ]),
985
987
  _: 1
986
988
  }),
987
- Ce((h(), j("div", ha, [
988
- ge.value ? (h(), E(d, { key: 0 })) : (h(!0), j(De, { key: 1 }, Le((w = o(Re)(o(ie))) == null ? void 0 : w.filter((g) => g.comp !== "FormTop"), (g, G) => {
989
+ Ce((h(), j("div", fa, [
990
+ bt.value ? (h(), E(d, { key: 0 })) : (h(!0), j(De, { key: 1 }, Le((w = n(Re)(n(ie))) == null ? void 0 : w.filter((g) => g.comp !== "FormTop"), (g, G) => {
989
991
  var K;
990
992
  return h(), j("div", {
991
993
  class: "item-view-content",
992
994
  key: G
993
995
  }, [
994
- ((K = g == null ? void 0 : g.comp) == null ? void 0 : K.toUpperCase()) !== "TABLE" && g.name ? (h(), j("div", fa, re(g.name), 1)) : X("", !0),
995
- (h(), E(nt(o(dt)(g.comp)), {
996
+ ((K = g == null ? void 0 : g.comp) == null ? void 0 : K.toUpperCase()) !== "TABLE" && g.name ? (h(), j("div", ga, re(g.name), 1)) : X("", !0),
997
+ (h(), E(nt(n(ct)(g.comp)), {
996
998
  compName: g.name,
997
999
  itemData: g == null ? void 0 : g.compData,
998
1000
  childItemData: g == null ? void 0 : g.itemChildData,
999
1001
  key: (g == null ? void 0 : g.id) ?? G,
1000
- onChange: o(ht),
1002
+ onChange: n(mt),
1001
1003
  index: (g == null ? void 0 : g.id) ?? G,
1002
- onContentChange: o(mt),
1003
- onPageChange: o(pt),
1004
- onRowClick: ae
1004
+ onContentChange: n(pt),
1005
+ onPageChange: n(dt),
1006
+ onRowClick: ve
1005
1007
  }, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
1006
1008
  ]);
1007
1009
  }), 128))
1008
1010
  ])), [
1009
- [_, o(R)]
1011
+ [_, n(R)]
1010
1012
  ])
1011
1013
  ];
1012
1014
  }),
@@ -1018,13 +1020,13 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1018
1020
  ]),
1019
1021
  _: 3
1020
1022
  })), [
1021
- [Pe, o(H) === "view"],
1022
- [_, o(se)]
1023
+ [Pe, n(H) === "view"],
1024
+ [_, n(se)]
1023
1025
  ]),
1024
1026
  B("div", null, [
1025
- a(Vt, {
1027
+ a(jt, {
1026
1028
  visible: T.value,
1027
- onBeforeDestroy: Te,
1029
+ onBeforeDestroy: A,
1028
1030
  style: { height: "700px", width: "1000px" }
1029
1031
  }, {
1030
1032
  default: l(() => [
@@ -1039,7 +1041,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1039
1041
  ], 64);
1040
1042
  };
1041
1043
  }
1042
- }), ya = /* @__PURE__ */ be(ga, [["__scopeId", "data-v-825916d9"]]), _a = { class: "system-wrap" }, va = {
1044
+ }), _a = /* @__PURE__ */ be(ya, [["__scopeId", "data-v-733f404f"]]), va = { class: "system-wrap" }, wa = {
1043
1045
  __name: "index",
1044
1046
  props: {
1045
1047
  windowConfig: {
@@ -1062,14 +1064,14 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1062
1064
  setup(D, { emit: le }) {
1063
1065
  const e = Ve(ne), T = ze(ne), N = $e();
1064
1066
  y(!1);
1065
- const Q = y(!0), u = D, Y = le, M = (b) => {
1066
- Y("showChild", b);
1067
+ const Y = y(!0), u = D, Z = le, M = (b) => {
1068
+ Z("showChild", b);
1067
1069
  }, U = xe(() => {
1068
1070
  switch (u == null ? void 0 : u.platform) {
1069
1071
  case "browser":
1070
- return Lt;
1072
+ return Et;
1071
1073
  case "client":
1072
- return It;
1074
+ return Lt;
1073
1075
  }
1074
1076
  }), te = (b) => {
1075
1077
  const q = document.documentElement;
@@ -1077,13 +1079,13 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1077
1079
  q.style.setProperty(H.name, H.value);
1078
1080
  });
1079
1081
  };
1080
- W(() => u.platform, (b, q) => {
1082
+ Q(() => u.platform, (b, q) => {
1081
1083
  b && te(U.value);
1082
1084
  }, { immediate: !0 });
1083
- const he = () => {
1084
- Y("buildContent");
1085
+ const fe = () => {
1086
+ Z("buildContent");
1085
1087
  };
1086
- return W(
1088
+ return Q(
1087
1089
  () => [u == null ? void 0 : u.content, u == null ? void 0 : u.jsonContents],
1088
1090
  async () => {
1089
1091
  var H, J, ue, x;
@@ -1092,15 +1094,15 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1092
1094
  return;
1093
1095
  }
1094
1096
  if (!(u != null && u.content) || ((J = u == null ? void 0 : u.content) == null ? void 0 : J.length) === 0) return;
1095
- Q.value = !0, N.setImportLoading(!0);
1097
+ Y.value = !0, N.setImportLoading(!0);
1096
1098
  let b = [], q = [];
1097
1099
  T.setSelectTitle([]), T.setSelectIndex(""), T.setSelectMenu(""), (x = (ue = u == null ? void 0 : u.content) == null ? void 0 : ue.filter((f) => f !== "")) == null || x.forEach((f) => {
1098
- q.push(Pt(f));
1099
- }), b = q == null ? void 0 : q[0], await $t(b), await Ct(), e.setOriginalData(b), N.setImportLoading(!1);
1100
+ q.push($t(f));
1101
+ }), b = q == null ? void 0 : q[0], await Vt(b), await wt(), e.setOriginalData(b), N.setImportLoading(!1);
1100
1102
  },
1101
1103
  { deep: !0, immediate: !0 }
1102
- ), (b, q) => (h(), j("div", _a, [
1103
- D.platform === "browser" ? (h(), E(na, {
1104
+ ), (b, q) => (h(), j("div", va, [
1105
+ D.platform === "browser" ? (h(), E(la, {
1104
1106
  key: 0,
1105
1107
  showButton: D.showButton
1106
1108
  }, {
@@ -1108,11 +1110,11 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1108
1110
  Be(b.$slots, "default", {}, void 0, !0)
1109
1111
  ]),
1110
1112
  _: 3
1111
- }, 8, ["showButton"])) : (h(), E(ya, {
1113
+ }, 8, ["showButton"])) : (h(), E(_a, {
1112
1114
  key: 1,
1113
1115
  windowConfig: D.windowConfig,
1114
1116
  showButton: D.showButton,
1115
- onBuildContent: he,
1117
+ onBuildContent: fe,
1116
1118
  onShowChild: M
1117
1119
  }, {
1118
1120
  default: l(() => [
@@ -1122,13 +1124,13 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1122
1124
  }, 8, ["windowConfig", "showButton"]))
1123
1125
  ]));
1124
1126
  }
1125
- }, wa = /* @__PURE__ */ be(va, [["__scopeId", "data-v-5e89b0de"]]), Ca = { class: "add-model-content" }, ka = {
1127
+ }, Ca = /* @__PURE__ */ be(wa, [["__scopeId", "data-v-5e89b0de"]]), ka = { class: "add-model-content" }, Ba = {
1126
1128
  key: 0,
1127
1129
  class: "model-operate"
1128
- }, Ba = { class: "model-select" }, ba = { class: "model-fill" }, Fa = {
1130
+ }, ba = { class: "model-select" }, Fa = { class: "model-fill" }, Ta = {
1129
1131
  key: 1,
1130
1132
  class: "model-view"
1131
- }, Ta = {
1133
+ }, Ra = {
1132
1134
  __name: "index",
1133
1135
  props: {
1134
1136
  mode: {
@@ -1158,23 +1160,23 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1158
1160
  },
1159
1161
  emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
1160
1162
  setup(D, { emit: le }) {
1161
- const e = D, T = le, N = y([]), Q = y(0), u = y([]), Y = y([]), M = y(0), U = Ve(ne), te = $e(ne), { itemData: he, originalData: b } = oe(U), { activeMenuPath: q, platform: H } = oe(te), J = y(null), ue = y(0), x = y([]);
1163
+ const e = D, T = le, N = y([]), Y = y(0), u = y([]), Z = y([]), M = y(0), U = Ve(ne), te = $e(ne), { itemData: fe, originalData: b } = oe(U), { activeMenuPath: q, platform: H } = oe(te), J = y(null), ue = y(0), x = y([]);
1162
1164
  y("");
1163
1165
  const f = y(0), I = () => {
1164
1166
  T("buildContent");
1165
1167
  };
1166
- W(
1168
+ Q(
1167
1169
  () => e == null ? void 0 : e.pageKey,
1168
1170
  async () => {
1169
1171
  let v = {};
1170
1172
  if ((e == null ? void 0 : e.pageKey) !== "") {
1171
- const z = await vt(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), "", e == null ? void 0 : e.pageKey);
1173
+ const z = await _t(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), "", e == null ? void 0 : e.pageKey);
1172
1174
  z == null || z.forEach((R) => {
1173
- var P, F, i, Z, ae, ve;
1175
+ var P, F, i, W, ae, ve;
1174
1176
  if ((R == null ? void 0 : R.comp) === "Table") {
1175
- let Ae = [], Fe = (i = (F = (P = R == null ? void 0 : R.compData) == null ? void 0 : P.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : i.map((A) => A == null ? void 0 : A.label), Te = (ve = (ae = (Z = R == null ? void 0 : R.compData) == null ? void 0 : Z.find((A) => (A == null ? void 0 : A.key) === "tableContents")) == null ? void 0 : ae.contents) == null ? void 0 : ve.map((A) => (A = A == null ? void 0 : A.filter((ge) => !(ge != null && ge.id)), A));
1177
+ let Ae = [], Fe = (i = (F = (P = R == null ? void 0 : R.compData) == null ? void 0 : P.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : i.map((A) => A == null ? void 0 : A.label), Te = (ve = (ae = (W = R == null ? void 0 : R.compData) == null ? void 0 : W.find((A) => (A == null ? void 0 : A.key) === "tableContents")) == null ? void 0 : ae.contents) == null ? void 0 : ve.map((A) => (A = A == null ? void 0 : A.filter((pe) => !(pe != null && pe.id)), A));
1176
1178
  Te == null || Te.forEach((A) => {
1177
- Ae.push(wt(A, Fe == null ? void 0 : Fe.filter((ge) => ge !== "操作")));
1179
+ Ae.push(vt(A, Fe == null ? void 0 : Fe.filter((pe) => pe !== "操作")));
1178
1180
  }), v[R.name] = Ae, v[R.name + "Content"] = R;
1179
1181
  }
1180
1182
  }), T("threeData", v);
@@ -1185,7 +1187,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1185
1187
  const ce = (v) => {
1186
1188
  T("openThreeBuild", v);
1187
1189
  };
1188
- W(
1190
+ Q(
1189
1191
  () => e == null ? void 0 : e.pathContent,
1190
1192
  () => {
1191
1193
  (e == null ? void 0 : e.pathContent) !== "" && U.setSystemPath(e == null ? void 0 : e.pathContent);
@@ -1201,7 +1203,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1201
1203
  var R;
1202
1204
  const z = (R = Re(v == null ? void 0 : v.wholeValue)) == null ? void 0 : R.map((P) => {
1203
1205
  var F;
1204
- return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (F = P.compData) == null ? void 0 : F.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = Ut(i == null ? void 0 : i.contents)), i))), P;
1206
+ return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (F = P.compData) == null ? void 0 : F.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = It(i == null ? void 0 : i.contents)), i))), P;
1205
1207
  });
1206
1208
  T("change", {
1207
1209
  originalContents: b.value,
@@ -1210,7 +1212,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1210
1212
  arrayToContents: z
1211
1213
  });
1212
1214
  };
1213
- W(
1215
+ Q(
1214
1216
  () => u.value,
1215
1217
  () => {
1216
1218
  f.value === u.value.length && u.value.length !== 0 && (N.value = u.value);
@@ -1219,30 +1221,30 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1219
1221
  );
1220
1222
  const L = () => {
1221
1223
  J.value !== null && J.value.click();
1222
- }, fe = async (v) => {
1224
+ }, ge = async (v) => {
1223
1225
  const z = v.target.files;
1224
1226
  if (!z) return;
1225
1227
  new FileReader(), N.value = [], u.value = [], f.value = z.length;
1226
1228
  const R = Array.from(z).map(async (P) => await new Promise((F) => {
1227
1229
  const i = new FileReader();
1228
- i.onload = (Z) => {
1230
+ i.onload = (W) => {
1229
1231
  try {
1230
- u.value.push(Z.target.result), ue.value++;
1232
+ u.value.push(W.target.result), ue.value++;
1231
1233
  } catch (ae) {
1232
1234
  console.error("解析失败:", ae);
1233
1235
  return;
1234
1236
  }
1235
- }, i.onerror = () => F(`读取 ${P.name} 失败`), i.readAsText(P), v.target.value = "", J.value = null, Q.value++;
1237
+ }, i.onerror = () => F(`读取 ${P.name} 失败`), i.readAsText(P), v.target.value = "", J.value = null, Y.value++;
1236
1238
  }));
1237
1239
  await Promise.all(R);
1238
1240
  };
1239
- return W(
1241
+ return Q(
1240
1242
  () => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
1241
1243
  async () => {
1242
- await Ct(), N.value = e.content, Y.value = e == null ? void 0 : e.jsonContents;
1244
+ await wt(), N.value = e.content, Z.value = e == null ? void 0 : e.jsonContents;
1243
1245
  },
1244
1246
  { deep: !0, immediate: !0 }
1245
- ), W(
1247
+ ), Q(
1246
1248
  () => ue.value,
1247
1249
  () => {
1248
1250
  var v;
@@ -1251,9 +1253,9 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1251
1253
  { deep: !0, immediate: !0 }
1252
1254
  ), (v, z) => {
1253
1255
  const R = S("svg-icon"), P = S("el-button");
1254
- return h(), j("div", Ca, [
1255
- (e == null ? void 0 : e.mode) === "edit" ? (h(), j("div", ka, [
1256
- B("div", Ba, [
1256
+ return h(), j("div", ka, [
1257
+ (e == null ? void 0 : e.mode) === "edit" ? (h(), j("div", Ba, [
1258
+ B("div", ba, [
1257
1259
  a(Ee)
1258
1260
  ]),
1259
1261
  (h(), j("div", {
@@ -1262,17 +1264,17 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1262
1264
  }, [
1263
1265
  a(Ke)
1264
1266
  ])),
1265
- B("div", ba, [
1267
+ B("div", Fa, [
1266
1268
  a(Oe)
1267
1269
  ])
1268
1270
  ])) : X("", !0),
1269
- (e == null ? void 0 : e.mode) === "view" ? (h(), j("div", Fa, [
1270
- (h(), E(wa, {
1271
+ (e == null ? void 0 : e.mode) === "view" ? (h(), j("div", Ta, [
1272
+ (h(), E(Ca, {
1271
1273
  showButton: D.showButton,
1272
- platform: o(H),
1274
+ platform: n(H),
1273
1275
  content: N.value,
1274
1276
  onChange: se,
1275
- jsonContents: Y.value,
1277
+ jsonContents: Z.value,
1276
1278
  onContentChange: de,
1277
1279
  onBuildContent: I,
1278
1280
  key: M.value,
@@ -1292,11 +1294,11 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1292
1294
  default: l(() => [
1293
1295
  (h(), j("input", {
1294
1296
  type: "file",
1295
- key: Q.value,
1297
+ key: Y.value,
1296
1298
  ref_key: "fileInput",
1297
1299
  ref: J,
1298
1300
  accept: ".txt, .inm, .iml, .imd",
1299
- onChange: fe,
1301
+ onChange: ge,
1300
1302
  style: { display: "none" },
1301
1303
  multiple: ""
1302
1304
  }, null, 32)),
@@ -1313,7 +1315,7 @@ const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed
1313
1315
  ]);
1314
1316
  };
1315
1317
  }
1316
- }, za = /* @__PURE__ */ be(Ta, [["__scopeId", "data-v-c4f9c92c"]]);
1318
+ }, Ga = /* @__PURE__ */ be(Ra, [["__scopeId", "data-v-c4f9c92c"]]);
1317
1319
  export {
1318
- za as default
1320
+ Ga as default
1319
1321
  };