ss-component-new 1.1.762 → 1.1.763

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,4 +1,4 @@
1
- import { resolveComponent as V, createBlock as X, openBlock as h, withCtx as w, createVNode as C, createElementVNode as y, toDisplayString as W, ref as B, onMounted as _e, watch as Z, createElementBlock as U, Fragment as Se, renderList as Me, createCommentVNode as P, normalizeStyle as $e, defineComponent as gt, provide as dt, computed as Ne, resolveDirective as Ct, withDirectives as Ge, unref as c, createTextVNode as te, renderSlot as Fe, vShow as qe, resolveDynamicComponent as yt, normalizeClass as Xe } from "vue";
1
+ import { resolveComponent as L, createBlock as X, openBlock as h, withCtx as w, createVNode as C, createElementVNode as y, toDisplayString as V, ref as B, onMounted as _e, watch as Z, createElementBlock as U, Fragment as Se, renderList as Me, createCommentVNode as P, normalizeStyle as $e, defineComponent as gt, provide as dt, computed as Ne, resolveDirective as Ct, withDirectives as Ge, unref as c, createTextVNode as le, renderSlot as Fe, vShow as qe, resolveDynamicComponent as yt, normalizeClass as Xe } from "vue";
2
2
  import { m as et, a as tt, b as at } from "./index-Cnf4q8uZ.js";
3
3
  import { c as mt, b as ht } from "./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-OrNhyoeD.js";
4
4
  import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -22,9 +22,9 @@ import { d as Ze, t as Jt } from "./threeViewerHost-BpMTaYji.js";
22
22
  import { _ as ze } from "./index.vue_vue_type_script_setup_true_lang-cUubwM2x.js";
23
23
  import { v as Wt } from "./index-Cmd6kLRj.js";
24
24
  const xt = { class: "menu-title" };
25
- function Ht(F, ae, n, R, M, $) {
26
- const i = V("svg-icon"), x = V("ssMenu");
27
- return h(), X(x, {
25
+ function Ht(F, te, n, R, M, $) {
26
+ const r = L("svg-icon"), W = L("ssMenu");
27
+ return h(), X(W, {
28
28
  mode: F.mode,
29
29
  menuList: F.renderMenuList,
30
30
  onClickMenu: F.clickMenu,
@@ -32,12 +32,12 @@ function Ht(F, ae, n, R, M, $) {
32
32
  onCloseMenu: F.closeMenu
33
33
  }, {
34
34
  title: w(({ menu: N }) => [
35
- C(i, {
35
+ C(r, {
36
36
  class: "menu-icon",
37
37
  name: N.icon ?? "default",
38
38
  style: { "margin-right": "8px" }
39
39
  }, null, 8, ["name"]),
40
- y("span", xt, W(N.title ?? ""), 1)
40
+ y("span", xt, V(N.title ?? ""), 1)
41
41
  ]),
42
42
  _: 1
43
43
  }, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
@@ -54,8 +54,8 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
54
54
  }
55
55
  },
56
56
  emits: ["click"],
57
- setup(F, { emit: ae }) {
58
- const n = F, R = B([]), M = ae;
57
+ setup(F, { emit: te }) {
58
+ const n = F, R = B([]), M = te;
59
59
  _e(() => {
60
60
  R.value = n == null ? void 0 : n.breadArray;
61
61
  }), Z(
@@ -65,22 +65,22 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
65
65
  },
66
66
  { deep: !0, immediate: !0 }
67
67
  );
68
- const $ = (i) => {
69
- M("click", i);
68
+ const $ = (r) => {
69
+ M("click", r);
70
70
  };
71
- return (i, x) => (h(), U("div", Vt, [
72
- (h(!0), U(Se, null, Me(R.value, (N, H) => {
71
+ return (r, W) => (h(), U("div", Vt, [
72
+ (h(!0), U(Se, null, Me(R.value, (N, x) => {
73
73
  var p;
74
74
  return h(), U("div", {
75
- key: H,
75
+ key: x,
76
76
  class: "bread-item"
77
77
  }, [
78
78
  y("div", {
79
79
  class: "bread-title",
80
80
  onClick: (re) => $(N),
81
- style: $e({ opacity: ((p = R.value) == null ? void 0 : p.length) - 1 === H ? "0.7" : "1" })
82
- }, W(N.value), 13, Ot),
83
- H !== R.value.length - 1 && Array.isArray(R.value) ? (h(), U("div", qt, W("/"))) : P("", !0)
81
+ style: $e({ opacity: ((p = R.value) == null ? void 0 : p.length) - 1 === x ? "0.7" : "1" })
82
+ }, V(N.value), 13, Ot),
83
+ x !== R.value.length - 1 && Array.isArray(R.value) ? (h(), U("div", qt, V("/"))) : P("", !0)
84
84
  ]);
85
85
  }), 128))
86
86
  ]));
@@ -145,17 +145,17 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
145
145
  }
146
146
  },
147
147
  emits: ["showChild", "buildContent", "setLoginInfo"],
148
- setup(F, { emit: ae }) {
149
- const n = lt(ie), { selectTitle: R } = se(n), M = B(!1), $ = B(), i = B(null), x = B(), N = B(!1), H = Kt(ie), { blobUrls: p } = se(H), re = B(!1), b = B(!1), L = B(!1), z = B(!1), _ = B(null), ee = B();
148
+ setup(F, { emit: te }) {
149
+ const n = lt(ie), { selectTitle: R } = se(n), M = B(!1), $ = B(), r = B(null), W = B(), N = B(!1), x = Kt(ie), { blobUrls: p } = se(x), re = B(!1), b = B(!1), H = B(!1), z = B(!1), _ = B(null), ee = B();
150
150
  dt("contentRef", _);
151
- const oe = ot(), { loginUserInfo: k } = se(oe), he = Je(ie), { isEdit: f, routeToChildPath: Be } = se(he), Ce = ae, Ae = Te(ie), { importLoading: Re, activeAsideMenu: Ue, contentLoading: je, platName: pe, activeMenuPath: D } = se(Ae), j = F, ce = Ne(() => Ue.value.isRouter), be = () => {
151
+ const ae = ot(), { loginUserInfo: k } = se(ae), he = Je(ie), { isEdit: f, routeToChildPath: Be } = se(he), Ce = te, Ae = Te(ie), { importLoading: Re, activeAsideMenu: Ue, contentLoading: je, platName: pe, activeMenuPath: D } = se(Ae), j = F, ce = Ne(() => Ue.value.isRouter), be = () => {
152
152
  sessionStorage.clear(), window.location.reload();
153
153
  }, ye = () => {
154
154
  Ce("buildContent");
155
155
  }, we = (u) => {
156
156
  if ((u == null ? void 0 : u.type) === "table") {
157
157
  let Q = u == null ? void 0 : u.row;
158
- Q && (x.value = {
158
+ Q && (W.value = {
159
159
  url: Q,
160
160
  row: u == null ? void 0 : u.row
161
161
  }, Ce("showChild", {
@@ -169,16 +169,16 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
169
169
  let I = ["管长", "外径"], T = {};
170
170
  Q == null || Q.forEach((A) => {
171
171
  var S;
172
- (A == null ? void 0 : A.comp) === "Form" && ((S = A == null ? void 0 : A.compData) == null || S.forEach((r) => {
172
+ (A == null ? void 0 : A.comp) === "Form" && ((S = A == null ? void 0 : A.compData) == null || S.forEach((i) => {
173
173
  var Y;
174
- (r == null ? void 0 : r.key) === "formContent" && ((Y = r == null ? void 0 : r.contents) == null || Y.forEach((e) => {
174
+ (i == null ? void 0 : i.key) === "formContent" && ((Y = i == null ? void 0 : i.contents) == null || Y.forEach((e) => {
175
175
  I.includes(e == null ? void 0 : e.key) && (T[e.key] = e.value);
176
176
  }));
177
177
  }));
178
178
  }), m == null || m.forEach((A) => {
179
- var S, r, Y, e, t, l;
179
+ var S, i, Y, e, t, l;
180
180
  if ((A == null ? void 0 : A.comp) === "Table") {
181
- let s = [], g = (Y = (r = (S = A == null ? void 0 : A.compData) == null ? void 0 : S.find((a) => (a == null ? void 0 : a.key) === "header")) == null ? void 0 : r.contents) == null ? void 0 : Y.map((a) => a == null ? void 0 : a.label), o = (l = (t = (e = A == null ? void 0 : A.compData) == null ? void 0 : e.find((a) => (a == null ? void 0 : a.key) === "tableContents")) == null ? void 0 : t.contents) == null ? void 0 : l.map((a) => (a = a == null ? void 0 : a.filter((d) => !(d != null && d.id)), a));
181
+ let s = [], g = (Y = (i = (S = A == null ? void 0 : A.compData) == null ? void 0 : S.find((a) => (a == null ? void 0 : a.key) === "header")) == null ? void 0 : i.contents) == null ? void 0 : Y.map((a) => a == null ? void 0 : a.label), o = (l = (t = (e = A == null ? void 0 : A.compData) == null ? void 0 : e.find((a) => (a == null ? void 0 : a.key) === "tableContents")) == null ? void 0 : t.contents) == null ? void 0 : l.map((a) => (a = a == null ? void 0 : a.filter((d) => !(d != null && d.id)), a));
182
182
  o == null || o.forEach((a) => {
183
183
  s.push(st(a, g == null ? void 0 : g.filter((d) => d !== "操作")));
184
184
  }), u[A.name] = s, u[A.name + "Content"] = A;
@@ -186,16 +186,16 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
186
186
  }), u.extra = T, $.value = u;
187
187
  }, Ye = async () => {
188
188
  var u, m, Q;
189
- if ((j == null ? void 0 : j.platform) !== "browser" && (M.value = !0, x.value)) {
190
- const I = x.value;
189
+ if ((j == null ? void 0 : j.platform) !== "browser" && (M.value = !0, W.value)) {
190
+ const I = W.value;
191
191
  let T = [];
192
- typeof (I == null ? void 0 : I.url) == "string" && ((u = I == null ? void 0 : I.url) != null && u.includes(",") ? ee.value = (m = I == null ? void 0 : I.url) == null ? void 0 : m.split(",") : ee.value = [I == null ? void 0 : I.url]), (Q = i.value) == null || Q.loadModelByDefaultPath(T);
192
+ typeof (I == null ? void 0 : I.url) == "string" && ((u = I == null ? void 0 : I.url) != null && u.includes(",") ? ee.value = (m = I == null ? void 0 : I.url) == null ? void 0 : m.split(",") : ee.value = [I == null ? void 0 : I.url]), (Q = r.value) == null || Q.loadModelByDefaultPath(T);
193
193
  }
194
194
  }, Ie = () => {
195
- N.value = !1, i.value = null;
195
+ N.value = !1, r.value = null;
196
196
  };
197
197
  Z(() => D.value, async (u) => {
198
- u && (b.value = !0), u === "弯管仿真加工分析/仿真动画生成" ? L.value = !0 : L.value = !1, u === "弯管仿真加工分析/程序输出" ? z.value = !0 : z.value = !1, Pe != null && Pe.find((m) => {
198
+ u && (b.value = !0), u === "弯管仿真加工分析/仿真动画生成" ? H.value = !0 : H.value = !1, u === "弯管仿真加工分析/程序输出" ? z.value = !0 : z.value = !1, Pe != null && Pe.find((m) => {
199
199
  var Q;
200
200
  return (m == null ? void 0 : m.key) === ((Q = u == null ? void 0 : u.split("/")) == null ? void 0 : Q[(u == null ? void 0 : u.split("/").length) - 1]);
201
201
  }) ? re.value = !0 : re.value = !1;
@@ -206,10 +206,10 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
206
206
  if (p != null && p.value && ((u = p == null ? void 0 : p.value) == null ? void 0 : u.length) > 0 && !re.value && !((m = Ee.value) != null && m.find((A) => (A == null ? void 0 : A.name) === "输入") && ((Q = Ee.value) != null && Q.find((A) => (A == null ? void 0 : A.name) === "输出")))) {
207
207
  N.value = !0;
208
208
  let A = [];
209
- const S = await ((I = nt(p == null ? void 0 : p.value)) == null ? void 0 : I.map(async (r) => {
210
- var s, g, o, a, d, K, G, O, ne, le;
209
+ const S = await ((I = nt(p == null ? void 0 : p.value)) == null ? void 0 : I.map(async (i) => {
210
+ var s, g, o, a, d, K, G, O, oe, ne;
211
211
  let Y, e, t;
212
- r != null && r.blob.includes("undefined") ? t = (g = (s = r == null ? void 0 : r.blob) == null ? void 0 : s.split("undefined,")) == null ? void 0 : g[1] : t = r == null ? void 0 : r.blob;
212
+ i != null && i.blob.includes("undefined") ? t = (g = (s = i == null ? void 0 : i.blob) == null ? void 0 : s.split("undefined,")) == null ? void 0 : g[1] : t = i == null ? void 0 : i.blob;
213
213
  let l = t == null ? void 0 : t.split(",");
214
214
  if ((l == null ? void 0 : l.length) > 1) {
215
215
  let q = await (l == null ? void 0 : l.map(async (v) => {
@@ -221,8 +221,8 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
221
221
  }
222
222
  });
223
223
  let E = [];
224
- if (((J = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : J.length) > 0) {
225
- let ut = await ((We = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : We.map(async (At) => {
224
+ if (((J = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : J.length) > 0) {
225
+ let ut = await ((We = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : We.map(async (At) => {
226
226
  let Oe = await ke.get(At, {
227
227
  responseType: "blob",
228
228
  headers: {
@@ -249,8 +249,8 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
249
249
  url: t
250
250
  });
251
251
  let q = [];
252
- if (((o = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : o.length) > 0) {
253
- let v = await ((a = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : a.map(async (E) => {
252
+ if (((o = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : o.length) > 0) {
253
+ let v = await ((a = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : a.map(async (E) => {
254
254
  let J = await Ze({
255
255
  url: E
256
256
  });
@@ -275,8 +275,8 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
275
275
  }
276
276
  });
277
277
  let q = [];
278
- if (((G = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : G.length) > 0) {
279
- let v = await ((O = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : O.map(async (E) => {
278
+ if (((G = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : G.length) > 0) {
279
+ let v = await ((O = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : O.map(async (E) => {
280
280
  let J = await ke.get(E, {
281
281
  responseType: "blob",
282
282
  headers: {
@@ -290,7 +290,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
290
290
  await Promise.all(v);
291
291
  }
292
292
  e = {
293
- suffix: r != null && r.suffix ? r == null ? void 0 : r.suffix : "." + ((le = t == null ? void 0 : t.split(".")) == null ? void 0 : le[((ne = t == null ? void 0 : t.split(".")) == null ? void 0 : ne.length) - 1]),
293
+ suffix: i != null && i.suffix ? i == null ? void 0 : i.suffix : "." + ((ne = t == null ? void 0 : t.split(".")) == null ? void 0 : ne[((oe = t == null ? void 0 : t.split(".")) == null ? void 0 : oe.length) - 1]),
294
294
  blob: new Blob([Y.data], {
295
295
  type: "application/octet-stream;charset=UTF-8"
296
296
  }),
@@ -299,7 +299,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
299
299
  }
300
300
  e && A.push(e);
301
301
  }));
302
- await Promise.all(S), (A == null ? void 0 : A.length) !== 0 && ((T = i.value) == null || T.loadModelByDefaultPath(A));
302
+ await Promise.all(S), (A == null ? void 0 : A.length) !== 0 && ((T = r.value) == null || T.loadModelByDefaultPath(A));
303
303
  }
304
304
  },
305
305
  { immediate: !0, deep: !0 }
@@ -314,8 +314,8 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
314
314
  });
315
315
  if (((m = u == null ? void 0 : u.data) == null ? void 0 : m.code) === 200) {
316
316
  let A = (T = (I = (Q = u == null ? void 0 : u.data) == null ? void 0 : Q.result) == null ? void 0 : I.map((S) => {
317
- var r;
318
- if (((r = S == null ? void 0 : S.key) == null ? void 0 : r.layer) !== "superAdmin")
317
+ var i;
318
+ if (((i = S == null ? void 0 : S.key) == null ? void 0 : i.layer) !== "superAdmin")
319
319
  return S == null ? void 0 : S.id;
320
320
  })) == null ? void 0 : T.filter((S) => S);
321
321
  (A == null ? void 0 : A.length) > 0 && await rt({
@@ -329,7 +329,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
329
329
  return _e(() => {
330
330
  Ce("setLoginInfo", k.value);
331
331
  }), (u, m) => {
332
- const Q = V("el-dialog"), I = V("el-button"), T = V("el-avatar"), A = V("el-header"), S = V("el-container"), r = V("el-aside"), Y = V("router-view"), e = V("el-main"), t = Ct("loading");
332
+ const Q = L("el-dialog"), I = L("el-button"), T = L("el-avatar"), A = L("el-header"), S = L("el-container"), i = L("el-aside"), Y = L("router-view"), e = L("el-main"), t = Ct("loading");
333
333
  return h(), U(Se, null, [
334
334
  C(Q, {
335
335
  modelValue: M.value,
@@ -357,7 +357,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
357
357
  onClick: c(pt)
358
358
  }, {
359
359
  default: w(() => m[3] || (m[3] = [
360
- te(" 返回页面 ")
360
+ le(" 返回页面 ")
361
361
  ])),
362
362
  _: 1,
363
363
  __: [3]
@@ -373,7 +373,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
373
373
  C(ue, { name: "Store" })
374
374
  ]),
375
375
  default: w(() => [
376
- m[4] || (m[4] = te(" 保存页面 "))
376
+ m[4] || (m[4] = le(" 保存页面 "))
377
377
  ]),
378
378
  _: 1,
379
379
  __: [4]
@@ -394,7 +394,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
394
394
  default: w(() => {
395
395
  var s;
396
396
  return [
397
- te(W(((s = c(k)) == null ? void 0 : s.account) ?? "未知"), 1)
397
+ le(V(((s = c(k)) == null ? void 0 : s.account) ?? "未知"), 1)
398
398
  ];
399
399
  }),
400
400
  _: 1
@@ -437,7 +437,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
437
437
  y("div", {
438
438
  class: "client-header-logo",
439
439
  onClick: Ye
440
- }, W(c(pe) === "" ? "ISIP" : c(pe)), 1),
440
+ }, V(c(pe) === "" ? "ISIP" : c(pe)), 1),
441
441
  y("div", la, [
442
442
  C(Lt, { mode: "horizontal" })
443
443
  ]),
@@ -451,7 +451,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
451
451
  C(ue, { name: "App" })
452
452
  ]),
453
453
  default: w(() => [
454
- m[5] || (m[5] = te(" 生成APP "))
454
+ m[5] || (m[5] = le(" 生成APP "))
455
455
  ]),
456
456
  _: 1,
457
457
  __: [5]
@@ -465,7 +465,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
465
465
  C(ue, { name: "write" })
466
466
  ]),
467
467
  default: w(() => [
468
- m[6] || (m[6] = te(" 修改布局 "))
468
+ m[6] || (m[6] = le(" 修改布局 "))
469
469
  ]),
470
470
  _: 1,
471
471
  __: [6]
@@ -484,7 +484,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
484
484
  avatarDefault: w(() => {
485
485
  var s, g, o;
486
486
  return [
487
- te(W((s = c(k)) != null && s.account ? (g = c(k)) == null ? void 0 : g.account : ((o = c(k)) == null ? void 0 : o.账号) ?? "未知"), 1)
487
+ le(V((s = c(k)) != null && s.account ? (g = c(k)) == null ? void 0 : g.account : ((o = c(k)) == null ? void 0 : o.账号) ?? "未知"), 1)
488
488
  ];
489
489
  }),
490
490
  _: 1
@@ -502,19 +502,19 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
502
502
  banClick: !0
503
503
  }, {
504
504
  avatarDefault: w(() => {
505
- var O, ne, le;
505
+ var O, oe, ne;
506
506
  return [
507
- te(W((O = c(k)) != null && O.account ? (ne = c(k)) == null ? void 0 : ne.account : ((le = c(k)) == null ? void 0 : le.账号) ?? "未知"), 1)
507
+ le(V((O = c(k)) != null && O.account ? (oe = c(k)) == null ? void 0 : oe.account : ((ne = c(k)) == null ? void 0 : ne.账号) ?? "未知"), 1)
508
508
  ];
509
509
  }),
510
510
  _: 1
511
511
  }, 8, ["avatarUrl"]),
512
512
  y("div", ca, [
513
513
  y("div", null, [
514
- y("span", null, W((s = c(k)) != null && s.account ? (g = c(k)) == null ? void 0 : g.account : ((o = c(k)) == null ? void 0 : o.姓名) ?? "未知"), 1),
515
- y("span", null, W(((d = (a = c(k)) == null ? void 0 : a.layer) == null ? void 0 : d.toUpperCase()) === "SUPERADMIN" ? "超级管理员" : ((K = c(k)) == null ? void 0 : K.角色名称) ?? "未知"), 1)
514
+ y("span", null, V((s = c(k)) != null && s.account ? (g = c(k)) == null ? void 0 : g.account : ((o = c(k)) == null ? void 0 : o.姓名) ?? "未知"), 1),
515
+ y("span", null, V(((d = (a = c(k)) == null ? void 0 : a.layer) == null ? void 0 : d.toUpperCase()) === "SUPERADMIN" ? "超级管理员" : ((K = c(k)) == null ? void 0 : K.角色名称) ?? "未知"), 1)
516
516
  ]),
517
- y("div", null, W(((G = c(k)) == null ? void 0 : G.工号) ?? "未知"), 1)
517
+ y("div", null, V(((G = c(k)) == null ? void 0 : G.工号) ?? "未知"), 1)
518
518
  ])
519
519
  ]),
520
520
  y("div", ua, [
@@ -577,7 +577,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
577
577
  default: w(() => {
578
578
  var l, s, g, o;
579
579
  return [
580
- C(r, {
580
+ C(i, {
581
581
  class: "client-aside",
582
582
  style: $e({ backgroundImage: F.platform === "client" ? `url(${c(zt)})` : `url(${c(_t)})` })
583
583
  }, {
@@ -608,7 +608,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
608
608
  key: d
609
609
  }, [
610
610
  ((K = a == null ? void 0 : a.comp) == null ? void 0 : K.toUpperCase()) !== "TABLE" && a.name ? (h(), U("div", Ca, [
611
- y("div", ya, W(a.name), 1)
611
+ y("div", ya, V(a.name), 1)
612
612
  ])) : P("", !0),
613
613
  c(kt) ? (h(), X(yt(c(Qt)(a.comp)), {
614
614
  compName: a.name,
@@ -651,7 +651,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
651
651
  default: w(() => [
652
652
  C(Nt, {
653
653
  ref_key: "threeModelRef",
654
- ref: i
654
+ ref: r
655
655
  }, null, 512)
656
656
  ]),
657
657
  _: 1
@@ -686,54 +686,53 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
686
686
  jsonContents: Array
687
687
  },
688
688
  emits: ["buildContent", "showChild"],
689
- setup(F, { emit: ae }) {
689
+ setup(F, { emit: te }) {
690
690
  const n = Je(ie), R = lt(ie), M = Te();
691
691
  B(!1);
692
- const $ = B(!0), i = F, x = ae, N = (b) => {
693
- x("showChild", b);
694
- }, H = Ne(() => {
695
- switch (i == null ? void 0 : i.platform) {
692
+ const $ = B(!0), r = F, W = te, N = (b) => {
693
+ W("showChild", b);
694
+ }, x = Ne(() => {
695
+ switch (r == null ? void 0 : r.platform) {
696
696
  case "browser":
697
697
  return ht;
698
698
  case "client":
699
699
  return mt;
700
700
  }
701
701
  }), p = (b) => {
702
- const L = document.documentElement;
702
+ const H = document.documentElement;
703
703
  b == null || b.forEach((z) => {
704
- L.style.setProperty(z.name, z.value);
704
+ H.style.setProperty(z.name, z.value);
705
705
  });
706
706
  };
707
- Z(() => i.platform, (b, L) => {
708
- b && p(H.value);
707
+ Z(() => r.platform, (b, H) => {
708
+ b && p(x.value);
709
709
  }, { immediate: !0 });
710
710
  const re = () => {
711
- x("buildContent");
711
+ W("buildContent");
712
712
  };
713
713
  return Z(
714
- () => [i == null ? void 0 : i.content, i == null ? void 0 : i.jsonContents],
714
+ () => [r == null ? void 0 : r.content, r == null ? void 0 : r.jsonContents],
715
715
  async () => {
716
- var z, _, ee, oe;
717
- if (((z = i == null ? void 0 : i.jsonContents) == null ? void 0 : z.length) > 0) {
718
- n.setOriginalData(i == null ? void 0 : i.jsonContents);
716
+ var z, _, ee, ae;
717
+ if (((z = r == null ? void 0 : r.jsonContents) == null ? void 0 : z.length) > 0) {
718
+ n.setOriginalData(r == null ? void 0 : r.jsonContents);
719
719
  return;
720
720
  }
721
- if (!(i != null && i.content) || ((_ = i == null ? void 0 : i.content) == null ? void 0 : _.length) === 0) return;
721
+ if (!(r != null && r.content) || ((_ = r == null ? void 0 : r.content) == null ? void 0 : _.length) === 0) return;
722
722
  $.value = !0, M.setImportLoading(!0);
723
- let b = [], L = [];
724
- R.setSelectTitle([]), R.setSelectIndex(""), R.setSelectMenu(""), (oe = (ee = i == null ? void 0 : i.content) == null ? void 0 : ee.filter((k) => k !== "")) == null || oe.forEach((k) => {
725
- L.push(jt(k));
726
- }), b = L == null ? void 0 : L[0], await bt(b), await it(), n.setOriginalData(b), M.setImportLoading(!1);
723
+ let b = [], H = [];
724
+ R.setSelectTitle([]), R.setSelectIndex(""), R.setSelectMenu(""), (ae = (ee = r == null ? void 0 : r.content) == null ? void 0 : ee.filter((k) => k !== "")) == null || ae.forEach((k) => {
725
+ H.push(jt(k));
726
+ }), b = H == null ? void 0 : H[0], await bt(b), await it(), n.setOriginalData(b), M.setImportLoading(!1);
727
727
  },
728
728
  { deep: !0, immediate: !0 }
729
- ), (b, L) => (h(), U("div", pa, [
730
- te(W(i == null ? void 0 : i.showButton) + " ", 1),
729
+ ), (b, H) => (h(), U("div", pa, [
731
730
  C(Ba, {
732
731
  windowConfig: F.windowConfig,
733
- showButton: i == null ? void 0 : i.showButton,
732
+ showButton: r == null ? void 0 : r.showButton,
734
733
  onBuildContent: re,
735
734
  onShowChild: N,
736
- platform: i == null ? void 0 : i.platform
735
+ platform: r == null ? void 0 : r.platform
737
736
  }, {
738
737
  default: w(() => [
739
738
  Fe(b.$slots, "default", {}, void 0, !0)
@@ -742,7 +741,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
742
741
  }, 8, ["windowConfig", "showButton", "platform"])
743
742
  ]));
744
743
  }
745
- }, Ia = /* @__PURE__ */ me(wa, [["__scopeId", "data-v-9a0a1342"]]), fa = { class: "add-model-content" }, Ea = {
744
+ }, Ia = /* @__PURE__ */ me(wa, [["__scopeId", "data-v-adeee6ec"]]), fa = { class: "add-model-content" }, Ea = {
746
745
  key: 0,
747
746
  class: "model-operate"
748
747
  }, ka = { class: "model-select" }, Qa = { class: "model-fill" }, Sa = {
@@ -784,10 +783,10 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
784
783
  }
785
784
  },
786
785
  emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
787
- setup(F, { emit: ae }) {
788
- const n = F, R = ae;
786
+ setup(F, { emit: te }) {
787
+ const n = F, R = te;
789
788
  Ft();
790
- const M = B([]), $ = B(0), i = B([]), x = B([]), N = B(0), H = Je(ie), p = Te(ie), { itemData: re, originalData: b } = se(H), { activeMenuPath: L, platform: z } = se(p), _ = B(null), ee = B(0), oe = B([]);
789
+ const M = B([]), $ = B(0), r = B([]), W = B([]), N = B(0), x = Je(ie), p = Te(ie), { itemData: re, originalData: b } = se(x), { activeMenuPath: H, platform: z } = se(p), _ = B(null), ee = B(0), ae = B([]);
791
790
  B("");
792
791
  const k = B(0), he = ot(), { loginUserInfo: f, systemKey: Be } = se(he), Ce = () => {
793
792
  R("buildContent");
@@ -808,12 +807,12 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
808
807
  }));
809
808
  }));
810
809
  }), t == null || t.forEach((o) => {
811
- var a, d, K, G, O, ne;
810
+ var a, d, K, G, O, oe;
812
811
  if ((o == null ? void 0 : o.comp) === "Table") {
813
- let le = [], q = (K = (d = (a = o == null ? void 0 : o.compData) == null ? void 0 : a.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : d.contents) == null ? void 0 : K.map((E) => E == null ? void 0 : E.label), v = (ne = (O = (G = o == null ? void 0 : o.compData) == null ? void 0 : G.find((E) => (E == null ? void 0 : E.key) === "tableContents")) == null ? void 0 : O.contents) == null ? void 0 : ne.map((E) => (E = E == null ? void 0 : E.filter((J) => !(J != null && J.id)), E));
812
+ let ne = [], q = (K = (d = (a = o == null ? void 0 : o.compData) == null ? void 0 : a.find((E) => (E == null ? void 0 : E.key) === "header")) == null ? void 0 : d.contents) == null ? void 0 : K.map((E) => E == null ? void 0 : E.label), v = (oe = (O = (G = o == null ? void 0 : o.compData) == null ? void 0 : G.find((E) => (E == null ? void 0 : E.key) === "tableContents")) == null ? void 0 : O.contents) == null ? void 0 : oe.map((E) => (E = E == null ? void 0 : E.filter((J) => !(J != null && J.id)), E));
814
813
  v == null || v.forEach((E) => {
815
- le.push(st(E, q == null ? void 0 : q.filter((J) => J !== "操作")));
816
- }), e[o.name] = le, e[o.name + "Content"] = o;
814
+ ne.push(st(E, q == null ? void 0 : q.filter((J) => J !== "操作")));
815
+ }), e[o.name] = ne, e[o.name + "Content"] = o;
817
816
  }
818
817
  }), e.extra = g, R("threeData", e);
819
818
  }
@@ -826,7 +825,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
826
825
  Z(
827
826
  () => n == null ? void 0 : n.pathContent,
828
827
  () => {
829
- (n == null ? void 0 : n.pathContent) !== "" && H.setSystemPath(n == null ? void 0 : n.pathContent);
828
+ (n == null ? void 0 : n.pathContent) !== "" && x.setSystemPath(n == null ? void 0 : n.pathContent);
830
829
  },
831
830
  {
832
831
  deep: !0,
@@ -849,9 +848,9 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
849
848
  });
850
849
  };
851
850
  Z(
852
- () => i.value,
851
+ () => r.value,
853
852
  () => {
854
- k.value === i.value.length && i.value.length !== 0 && (M.value = i.value);
853
+ k.value === r.value.length && r.value.length !== 0 && (M.value = r.value);
855
854
  },
856
855
  { deep: !0, immediate: !0 }
857
856
  );
@@ -861,12 +860,12 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
861
860
  p.setActiveMenuPath(""), p.setActiveTopMenuPath(""), p.setAsideMenus([]);
862
861
  const t = e.target.files;
863
862
  if (!t) return;
864
- new FileReader(), M.value = [], i.value = [], k.value = t.length;
863
+ new FileReader(), M.value = [], r.value = [], k.value = t.length;
865
864
  const l = Array.from(t).map(async (s) => await new Promise((g) => {
866
865
  const o = new FileReader();
867
866
  o.onload = (a) => {
868
867
  try {
869
- i.value.push(a.target.result), ee.value++;
868
+ r.value.push(a.target.result), ee.value++;
870
869
  } catch (d) {
871
870
  console.error("解析失败:", d);
872
871
  return;
@@ -878,14 +877,14 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
878
877
  Z(
879
878
  () => [n == null ? void 0 : n.content, n == null ? void 0 : n.jsonContents],
880
879
  async () => {
881
- await it(), M.value = n.content, x.value = n == null ? void 0 : n.jsonContents;
880
+ await it(), M.value = n.content, W.value = n == null ? void 0 : n.jsonContents;
882
881
  },
883
882
  { deep: !0, immediate: !0 }
884
883
  ), Z(
885
884
  () => ee.value,
886
885
  () => {
887
886
  var e;
888
- ((e = oe.value) == null ? void 0 : e.length) !== 0 && (H.setOriginalData(oe.value), H.setItemData(oe.value));
887
+ ((e = ae.value) == null ? void 0 : e.length) !== 0 && (x.setOriginalData(ae.value), x.setItemData(ae.value));
889
888
  },
890
889
  { deep: !0, immediate: !0 }
891
890
  ), B(""), B("");
@@ -995,7 +994,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
995
994
  (t == null ? void 0 : t.length) > 0 && await rt({
996
995
  ids: t
997
996
  });
998
- }, r = async () => {
997
+ }, i = async () => {
999
998
  D.value.targetModel = "", await Ie();
1000
999
  }, Y = async (e) => {
1001
1000
  var s, g;
@@ -1016,12 +1015,12 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
1016
1015
  await S(a).catch((d) => (p.setImportLoading(!1), ge.error("删除失败"), Promise.reject(d)));
1017
1016
  }
1018
1017
  }
1019
- await r(), p.setImportLoading(!1), ge.success("删除成功");
1018
+ await i(), p.setImportLoading(!1), ge.success("删除成功");
1020
1019
  };
1021
1020
  return Z(() => Be.value, (e) => {
1022
1021
  (n == null ? void 0 : n.oldSystemKey) === "" && (D.value.targetModel = e, e || Ie());
1023
1022
  }, { deep: !0, immediate: !0 }), (e, t) => {
1024
- const l = V("svg-icon"), s = V("el-button");
1023
+ const l = L("svg-icon"), s = L("el-button");
1025
1024
  return h(), U("div", fa, [
1026
1025
  (n == null ? void 0 : n.mode) === "edit" ? (h(), U("div", Ea, [
1027
1026
  y("div", ka, [
@@ -1043,7 +1042,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
1043
1042
  platform: c(z),
1044
1043
  content: M.value,
1045
1044
  onChange: Ue,
1046
- jsonContents: x.value,
1045
+ jsonContents: W.value,
1047
1046
  onContentChange: Re,
1048
1047
  onBuildContent: Ce,
1049
1048
  key: N.value,
@@ -1071,7 +1070,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
1071
1070
  style: { display: "none" },
1072
1071
  multiple: ""
1073
1072
  }, null, 32)),
1074
- t[0] || (t[0] = te(" 导入模型 "))
1073
+ t[0] || (t[0] = le(" 导入模型 "))
1075
1074
  ]),
1076
1075
  _: 1,
1077
1076
  __: [0]
@@ -1117,7 +1116,7 @@ const Lt = /* @__PURE__ */ me(Bt, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
1117
1116
  }]),
1118
1117
  onClick: (K) => Ke(a == null ? void 0 : a.systemKey)
1119
1118
  }, [
1120
- y("div", Ya, W(`${a.name ?? ""}(${a.systemKey})`), 1),
1119
+ y("div", Ya, V(`${a.name ?? ""}(${a.systemKey})`), 1),
1121
1120
  y("div", Ka, [
1122
1121
  ((d = j.value) == null ? void 0 : d.length) > 1 ? (h(), X(l, {
1123
1122
  key: 0,