ss-component-new 1.1.735 → 1.1.736
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.
- package/dist/{index-CgjdQVC-.cjs → index-C8A5ITKZ.cjs} +1 -1
- package/dist/{index-hEdLVzPj.js → index-DVxE_kLG.js} +1 -1
- package/dist/{index-BdEKlCIw.js → index-Dxi2OUj7.js} +136 -136
- package/dist/{index-Ce7U9wKI.cjs → index-qvI5ZTYb.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +1 -1
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- /package/dist/{index.vue_vue_type_style_index_0_scoped_eb46b92f_lang-5v4sXVSL.js → index.vue_vue_type_style_index_0_scoped_09a48292_lang-5v4sXVSL.js} +0 -0
- /package/dist/{index.vue_vue_type_style_index_0_scoped_eb46b92f_lang-RnMN3EZX.cjs → index.vue_vue_type_style_index_0_scoped_09a48292_lang-RnMN3EZX.cjs} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { resolveComponent as J, createBlock as $, openBlock as f, withCtx as w, createVNode as C, createElementVNode as y, toDisplayString as L, ref as I, onMounted as at, watch as z, createElementBlock as j, Fragment as Ie, renderList as je, createCommentVNode as V, normalizeStyle as ot, defineComponent as yt, provide as pt, computed as Je, resolveDirective as ht, withDirectives as Me, unref as
|
|
1
|
+
import { resolveComponent as J, createBlock as $, openBlock as f, withCtx as w, createVNode as C, createElementVNode as y, toDisplayString as L, ref as I, onMounted as at, watch as z, createElementBlock as j, Fragment as Ie, renderList as je, createCommentVNode as V, normalizeStyle as ot, defineComponent as yt, provide as pt, computed as Je, resolveDirective as ht, withDirectives as Me, unref as d, createTextVNode as le, renderSlot as xe, vShow as ze, resolveDynamicComponent as mt, normalizeClass as _e, nextTick as Bt } from "vue";
|
|
2
2
|
import { m as nt, a as lt, b as st } from "./index-CvesY00D.js";
|
|
3
3
|
import { c as wt, b as ft } from "./index.vue_vue_type_style_index_0_scoped_c81d0427_lang-x-PJEaHt.js";
|
|
4
4
|
import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as It, s as be, o as Et, c as kt, a as vt, b as Qt, d as St, g as Rt, e as bt, f as Ut, h as jt, i as Dt, j as Yt } from "./index.
|
|
6
|
-
import { p as
|
|
7
|
-
import { S as
|
|
5
|
+
import { _ as It, s as be, o as Et, c as kt, a as vt, b as Qt, d as St, g as Rt, e as bt, f as Ut, h as jt, i as Dt, j as Yt } from "./index.vue_vue_type_style_index_0_scoped_09a48292_lang-5v4sXVSL.js";
|
|
6
|
+
import { p as ie, s as se, a as it, u as We, c as Ce } from "./index.vue_vue_type_style_index_1_lang-D63h0xfu.js";
|
|
7
|
+
import { S as ue } from "./index-BHtNKL1L.js";
|
|
8
8
|
import { u as Ve } from "./modelComp-1qQxzS_u.js";
|
|
9
9
|
import { o as Gt } from "./index-uuo5EhJg.js";
|
|
10
10
|
import { a as Kt } from "./array-D6kId-he.js";
|
|
11
11
|
import { u as rt, a as Pt } from "./index-CagbzA_u.js";
|
|
12
12
|
import { g as De, a as ct, l as ut } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cz8ATUJq.js";
|
|
13
|
-
import { a as
|
|
13
|
+
import { a as Ae, m as Ft, g as Ue, b as At, E as de, c as Tt, u as Mt } from "./index-DFIWQwMZ.js";
|
|
14
14
|
import "./STLLoader-DofhZbOw.js";
|
|
15
15
|
import "./index-DuxCa98T.js";
|
|
16
16
|
import { useRouter as Nt } from "vue-router";
|
|
@@ -147,9 +147,9 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
147
147
|
},
|
|
148
148
|
emits: ["showChild", "buildContent", "setLoginInfo"],
|
|
149
149
|
setup(P, { emit: oe }) {
|
|
150
|
-
const l = rt(
|
|
151
|
-
pt("contentRef",
|
|
152
|
-
const te = it(), { loginUserInfo: R } =
|
|
150
|
+
const l = rt(ie), { selectTitle: Y } = se(l), X = I(!1), O = I(), p = I(null), N = I(), W = I(!1), _ = Pt(ie), { blobUrls: U } = se(_), F = I(!1), x = I(!1), H = I(!1), ee = I(!1), re = I(null);
|
|
151
|
+
pt("contentRef", re);
|
|
152
|
+
const te = it(), { loginUserInfo: R } = se(te), ae = Ve(ie), { isEdit: ce, routeToChildPath: pe } = se(ae), v = oe, ge = We(ie), { importLoading: Ye, activeAsideMenu: Ge, contentLoading: Ke, platName: ke, activeMenuPath: he } = se(ge), me = P, T = Je(() => Ge.value.isRouter), ne = () => {
|
|
153
153
|
sessionStorage.clear(), window.location.reload();
|
|
154
154
|
}, Be = () => {
|
|
155
155
|
v("buildContent");
|
|
@@ -166,7 +166,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
166
166
|
}
|
|
167
167
|
}, fe = async () => {
|
|
168
168
|
let i = {};
|
|
169
|
-
const
|
|
169
|
+
const A = await De("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), m = await De("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
170
170
|
let E = ["管长", "外径"], D = {};
|
|
171
171
|
m == null || m.forEach((c) => {
|
|
172
172
|
var h;
|
|
@@ -176,32 +176,32 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
176
176
|
E.includes(e == null ? void 0 : e.key) && (D[e.key] = e.value);
|
|
177
177
|
}));
|
|
178
178
|
}));
|
|
179
|
-
}),
|
|
179
|
+
}), A == null || A.forEach((c) => {
|
|
180
180
|
var h, s, G, e, t, n;
|
|
181
181
|
if ((c == null ? void 0 : c.comp) === "Table") {
|
|
182
|
-
let r = [],
|
|
182
|
+
let r = [], g = (G = (s = (h = c == null ? void 0 : c.compData) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : s.contents) == null ? void 0 : G.map((o) => o == null ? void 0 : o.label), a = (n = (t = (e = c == null ? void 0 : c.compData) == null ? void 0 : e.find((o) => (o == null ? void 0 : o.key) === "tableContents")) == null ? void 0 : t.contents) == null ? void 0 : n.map((o) => (o = o == null ? void 0 : o.filter((u) => !(u != null && u.id)), o));
|
|
183
183
|
a == null || a.forEach((o) => {
|
|
184
|
-
r.push(ct(o,
|
|
184
|
+
r.push(ct(o, g == null ? void 0 : g.filter((u) => u !== "操作")));
|
|
185
185
|
}), i[c.name] = r, i[c.name + "Content"] = c;
|
|
186
186
|
}
|
|
187
187
|
}), i.extra = D, O.value = i;
|
|
188
188
|
}, ve = (i) => {
|
|
189
|
-
let
|
|
190
|
-
return
|
|
189
|
+
let A = Ce(i), m = [], E = [];
|
|
190
|
+
return A == null || A.forEach((D, c) => {
|
|
191
191
|
c === (i == null ? void 0 : i.length) - 1 ? (E.push(D), m.push(E)) : ((E == null ? void 0 : E.length) !== 0 && D.includes(".obj") && (m.push(E), E = []), E.push(D));
|
|
192
192
|
}), m;
|
|
193
193
|
}, Pe = async () => {
|
|
194
|
-
var i,
|
|
194
|
+
var i, A;
|
|
195
195
|
if ((me == null ? void 0 : me.platform) !== "browser" && (X.value = !0, N.value)) {
|
|
196
196
|
const m = N.value;
|
|
197
197
|
let E = [];
|
|
198
198
|
if (typeof (m == null ? void 0 : m.url) == "string") {
|
|
199
|
-
let D = (i = m == null ? void 0 : m.url) == null ? void 0 : i.split(","), c = (
|
|
199
|
+
let D = (i = m == null ? void 0 : m.url) == null ? void 0 : i.split(","), c = (A = ve(D)) == null ? void 0 : A.map(async (h) => {
|
|
200
200
|
var s, G;
|
|
201
201
|
if ((h == null ? void 0 : h.length) === 1) {
|
|
202
202
|
let e = h == null ? void 0 : h.map(async (t) => {
|
|
203
203
|
var a, o;
|
|
204
|
-
let n = await
|
|
204
|
+
let n = await Ae.get(t, {
|
|
205
205
|
responseType: "blob",
|
|
206
206
|
headers: {
|
|
207
207
|
"Content-Type": "application/json"
|
|
@@ -210,16 +210,16 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
210
210
|
const r = new Blob([n.data], {
|
|
211
211
|
type: "application/octet-stream;charset=UTF-8"
|
|
212
212
|
});
|
|
213
|
-
let
|
|
213
|
+
let g = {
|
|
214
214
|
suffix: "." + ((o = t == null ? void 0 : t.split(".")) == null ? void 0 : o[((a = t == null ? void 0 : t.split(".")) == null ? void 0 : a.length) - 1]),
|
|
215
215
|
blob: r,
|
|
216
216
|
mtlBlobs: []
|
|
217
217
|
};
|
|
218
|
-
return E.push(
|
|
218
|
+
return E.push(g), g;
|
|
219
219
|
});
|
|
220
220
|
return await Promise.all(e), e;
|
|
221
221
|
} else {
|
|
222
|
-
let e = h == null ? void 0 : h.find((u) => u == null ? void 0 : u.includes(".obj")), t = await
|
|
222
|
+
let e = h == null ? void 0 : h.find((u) => u == null ? void 0 : u.includes(".obj")), t = await Ae.get(e, {
|
|
223
223
|
responseType: "blob",
|
|
224
224
|
headers: {
|
|
225
225
|
"Content-Type": "application/json"
|
|
@@ -228,8 +228,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
228
228
|
const n = new Blob([t.data], {
|
|
229
229
|
type: "application/octet-stream;charset=UTF-8"
|
|
230
230
|
});
|
|
231
|
-
let r = h == null ? void 0 : h.filter((u) => u == null ? void 0 : u.includes(".mtl")),
|
|
232
|
-
let b = await
|
|
231
|
+
let r = h == null ? void 0 : h.filter((u) => u == null ? void 0 : u.includes(".mtl")), g = [], a = r == null ? void 0 : r.map(async (u) => {
|
|
232
|
+
let b = await Ae.get(e, {
|
|
233
233
|
responseType: "blob",
|
|
234
234
|
headers: {
|
|
235
235
|
"Content-Type": "application/json"
|
|
@@ -238,13 +238,13 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
238
238
|
const Q = new Blob([b.data], {
|
|
239
239
|
type: "application/octet-stream;charset=UTF-8"
|
|
240
240
|
});
|
|
241
|
-
return
|
|
241
|
+
return g.push(Q), b;
|
|
242
242
|
});
|
|
243
243
|
await Promise.all(a);
|
|
244
244
|
let o = {
|
|
245
245
|
suffix: "." + ((G = e == null ? void 0 : e.split(".")) == null ? void 0 : G[((s = e == null ? void 0 : e.split(".")) == null ? void 0 : s.length) - 1]),
|
|
246
246
|
blob: n,
|
|
247
|
-
mtlBlobs:
|
|
247
|
+
mtlBlobs: g
|
|
248
248
|
};
|
|
249
249
|
return E.push(o), o;
|
|
250
250
|
}
|
|
@@ -257,26 +257,26 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
257
257
|
W.value = !1, p.value = null;
|
|
258
258
|
};
|
|
259
259
|
z(() => he.value, async (i) => {
|
|
260
|
-
i && (x.value = !0), i === "弯管仿真加工分析/仿真动画生成" ? H.value = !0 : H.value = !1, i === "弯管仿真加工分析/程序输出" ? ee.value = !0 : ee.value = !1, Ne != null && Ne.find((
|
|
260
|
+
i && (x.value = !0), i === "弯管仿真加工分析/仿真动画生成" ? H.value = !0 : H.value = !1, i === "弯管仿真加工分析/程序输出" ? ee.value = !0 : ee.value = !1, Ne != null && Ne.find((A) => {
|
|
261
261
|
var m;
|
|
262
|
-
return (
|
|
262
|
+
return (A == null ? void 0 : A.key) === ((m = i == null ? void 0 : i.split("/")) == null ? void 0 : m[(i == null ? void 0 : i.split("/").length) - 1]);
|
|
263
263
|
}) ? F.value = !0 : F.value = !1;
|
|
264
264
|
}, { immediate: !0 }), z(
|
|
265
265
|
() => [U == null ? void 0 : U.value],
|
|
266
266
|
async () => {
|
|
267
|
-
var i,
|
|
268
|
-
if (U != null && U.value && ((i = U == null ? void 0 : U.value) == null ? void 0 : i.length) > 0 && !F.value && !((
|
|
267
|
+
var i, A, m, E, D;
|
|
268
|
+
if (U != null && U.value && ((i = U == null ? void 0 : U.value) == null ? void 0 : i.length) > 0 && !F.value && !((A = be.value) != null && A.find((c) => (c == null ? void 0 : c.name) === "输入") && ((m = be.value) != null && m.find((c) => (c == null ? void 0 : c.name) === "输出")))) {
|
|
269
269
|
W.value = !0;
|
|
270
270
|
let c = [];
|
|
271
271
|
const h = await ((E = Ce(U == null ? void 0 : U.value)) == null ? void 0 : E.map(async (s) => {
|
|
272
|
-
var r,
|
|
272
|
+
var r, g, a, o, u, b, Q, B, q, Z;
|
|
273
273
|
let G, e, t;
|
|
274
|
-
s != null && s.blob.includes("undefined") ? t = (
|
|
274
|
+
s != null && s.blob.includes("undefined") ? t = (g = (r = s == null ? void 0 : s.blob) == null ? void 0 : r.split("undefined,")) == null ? void 0 : g[1] : t = s == null ? void 0 : s.blob;
|
|
275
275
|
let n = t == null ? void 0 : t.split(",");
|
|
276
276
|
if ((n == null ? void 0 : n.length) > 1) {
|
|
277
277
|
let K = await (n == null ? void 0 : n.map(async (S) => {
|
|
278
278
|
var M, He, Le, Oe, qe, Xe;
|
|
279
|
-
G = await
|
|
279
|
+
G = await Ae.get(S, {
|
|
280
280
|
responseType: "blob",
|
|
281
281
|
headers: {
|
|
282
282
|
"Content-Type": "application/json"
|
|
@@ -285,7 +285,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
285
285
|
let k = [];
|
|
286
286
|
if (((M = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : M.length) > 0) {
|
|
287
287
|
let dt = await ((He = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : He.map(async (Ct) => {
|
|
288
|
-
let Ze = await
|
|
288
|
+
let Ze = await Ae.get(Ct, {
|
|
289
289
|
responseType: "blob",
|
|
290
290
|
headers: {
|
|
291
291
|
"Content-Type": "application/json"
|
|
@@ -330,7 +330,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
330
330
|
mtlBlobs: K
|
|
331
331
|
};
|
|
332
332
|
} else {
|
|
333
|
-
G = await
|
|
333
|
+
G = await Ae.get(t, {
|
|
334
334
|
responseType: "blob",
|
|
335
335
|
headers: {
|
|
336
336
|
"Content-Type": "application/json"
|
|
@@ -339,7 +339,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
339
339
|
let K = [];
|
|
340
340
|
if (((Q = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : Q.length) > 0) {
|
|
341
341
|
let S = await ((B = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : B.map(async (k) => {
|
|
342
|
-
let M = await
|
|
342
|
+
let M = await Ae.get(k, {
|
|
343
343
|
responseType: "blob",
|
|
344
344
|
headers: {
|
|
345
345
|
"Content-Type": "application/json"
|
|
@@ -367,14 +367,14 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
367
367
|
{ immediate: !0, deep: !0 }
|
|
368
368
|
);
|
|
369
369
|
const Qe = async () => {
|
|
370
|
-
var
|
|
371
|
-
|
|
370
|
+
var A, m, E, D;
|
|
371
|
+
ge.setImportLoading(!0);
|
|
372
372
|
const i = await Ue({
|
|
373
373
|
key: {
|
|
374
374
|
systemKey: sessionStorage.getItem("systemKey")
|
|
375
375
|
}
|
|
376
376
|
});
|
|
377
|
-
if (((
|
|
377
|
+
if (((A = i == null ? void 0 : i.data) == null ? void 0 : A.code) === 200) {
|
|
378
378
|
let c = (D = (E = (m = i == null ? void 0 : i.data) == null ? void 0 : m.result) == null ? void 0 : E.map((h) => {
|
|
379
379
|
var s;
|
|
380
380
|
if (((s = h == null ? void 0 : h.key) == null ? void 0 : s.layer) !== "superAdmin")
|
|
@@ -382,9 +382,9 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
382
382
|
})) == null ? void 0 : D.filter((h) => h);
|
|
383
383
|
(c == null ? void 0 : c.length) > 0 && await At({
|
|
384
384
|
ids: c
|
|
385
|
-
}),
|
|
385
|
+
}), ge.setRawMenus([]);
|
|
386
386
|
}
|
|
387
|
-
|
|
387
|
+
ge.setImportLoading(!1);
|
|
388
388
|
}, Se = async () => {
|
|
389
389
|
await Gt();
|
|
390
390
|
};
|
|
@@ -406,16 +406,16 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
406
406
|
]);
|
|
407
407
|
const Te = (i) => {
|
|
408
408
|
var E, D, c;
|
|
409
|
-
let
|
|
409
|
+
let A;
|
|
410
410
|
const m = Ce(i);
|
|
411
|
-
return ((E = m == null ? void 0 : m.comp) == null ? void 0 : E.toUpperCase()) === "FORM" && (
|
|
411
|
+
return ((E = m == null ? void 0 : m.comp) == null ? void 0 : E.toUpperCase()) === "FORM" && (A = (c = (D = m == null ? void 0 : m.compData) == null ? void 0 : D.find((h) => (h == null ? void 0 : h.key) === "formContent")) == null ? void 0 : c.contents, console.log(898, m, A)), A;
|
|
412
412
|
};
|
|
413
|
-
return (i,
|
|
414
|
-
const m = J("el-dialog"), E = J("el-button"), D = J("el-avatar"), c = J("el-header"), h = J("el-container"), s = J("el-aside"), G = J("router-view"), e = J("el-icon"), t = J("el-checkbox"), n = J("el-checkbox-group"), r = J("el-popover"),
|
|
413
|
+
return (i, A) => {
|
|
414
|
+
const m = J("el-dialog"), E = J("el-button"), D = J("el-avatar"), c = J("el-header"), h = J("el-container"), s = J("el-aside"), G = J("router-view"), e = J("el-icon"), t = J("el-checkbox"), n = J("el-checkbox-group"), r = J("el-popover"), g = J("el-main"), a = ht("loading");
|
|
415
415
|
return f(), j(Ie, null, [
|
|
416
416
|
C(m, {
|
|
417
417
|
modelValue: X.value,
|
|
418
|
-
"onUpdate:modelValue":
|
|
418
|
+
"onUpdate:modelValue": A[0] || (A[0] = (o) => X.value = o),
|
|
419
419
|
style: { height: "700px", width: "1800px" }
|
|
420
420
|
}, {
|
|
421
421
|
default: w(() => [
|
|
@@ -437,26 +437,26 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
437
437
|
y("div", ea, [
|
|
438
438
|
C(E, {
|
|
439
439
|
id: "transparentBgButton",
|
|
440
|
-
onClick:
|
|
440
|
+
onClick: d(Et)
|
|
441
441
|
}, {
|
|
442
|
-
default: w(() =>
|
|
443
|
-
|
|
442
|
+
default: w(() => A[4] || (A[4] = [
|
|
443
|
+
le(" 返回页面 ")
|
|
444
444
|
])),
|
|
445
445
|
_: 1,
|
|
446
446
|
__: [4]
|
|
447
447
|
}, 8, ["onClick"]),
|
|
448
448
|
C(E, {
|
|
449
449
|
id: "transparentBgButton",
|
|
450
|
-
onClick:
|
|
450
|
+
onClick: A[1] || (A[1] = (u) => {
|
|
451
451
|
var b, Q;
|
|
452
|
-
return
|
|
452
|
+
return d(kt)((Q = (b = d(Y)) == null ? void 0 : b.map((B) => B.value)) == null ? void 0 : Q.join("/"));
|
|
453
453
|
})
|
|
454
454
|
}, {
|
|
455
455
|
icon: w(() => [
|
|
456
|
-
C(
|
|
456
|
+
C(ue, { name: "Store" })
|
|
457
457
|
]),
|
|
458
458
|
default: w(() => [
|
|
459
|
-
|
|
459
|
+
A[5] || (A[5] = le(" 保存页面 "))
|
|
460
460
|
]),
|
|
461
461
|
_: 1,
|
|
462
462
|
__: [5]
|
|
@@ -464,20 +464,20 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
464
464
|
]),
|
|
465
465
|
y("div", ta, [
|
|
466
466
|
C(zt, {
|
|
467
|
-
breadArray:
|
|
468
|
-
onClick:
|
|
467
|
+
breadArray: d(Y),
|
|
468
|
+
onClick: d(vt)
|
|
469
469
|
}, null, 8, ["breadArray", "onClick"])
|
|
470
470
|
]),
|
|
471
471
|
y("div", aa, [
|
|
472
472
|
xe(i.$slots, "default", {}, void 0, !0),
|
|
473
473
|
C(D, {
|
|
474
474
|
size: 35,
|
|
475
|
-
src: (o =
|
|
475
|
+
src: (o = d(R)) == null ? void 0 : o.avatarUrl
|
|
476
476
|
}, {
|
|
477
477
|
default: w(() => {
|
|
478
478
|
var u;
|
|
479
479
|
return [
|
|
480
|
-
|
|
480
|
+
le(L(((u = d(R)) == null ? void 0 : u.account) ?? "未知"), 1)
|
|
481
481
|
];
|
|
482
482
|
}),
|
|
483
483
|
_: 1
|
|
@@ -487,7 +487,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
487
487
|
}),
|
|
488
488
|
_: 3
|
|
489
489
|
}),
|
|
490
|
-
|
|
490
|
+
d(ce) === "edit" ? (f(), $(h, {
|
|
491
491
|
key: 0,
|
|
492
492
|
class: "model-operate",
|
|
493
493
|
style: { "margin-top": "10px", height: "0px" }
|
|
@@ -508,7 +508,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
508
508
|
]),
|
|
509
509
|
_: 3
|
|
510
510
|
}, 512), [
|
|
511
|
-
[ze,
|
|
511
|
+
[ze, d(ce) === "edit"]
|
|
512
512
|
]),
|
|
513
513
|
Me((f(), $(h, {
|
|
514
514
|
class: "client-container",
|
|
@@ -520,7 +520,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
520
520
|
y("div", {
|
|
521
521
|
class: "client-header-logo",
|
|
522
522
|
onClick: Pe
|
|
523
|
-
}, L(
|
|
523
|
+
}, L(d(ke) === "" ? "ISIP" : d(ke)), 1),
|
|
524
524
|
y("div", sa, [
|
|
525
525
|
C(Lt, { mode: "horizontal" })
|
|
526
526
|
]),
|
|
@@ -531,24 +531,24 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
531
531
|
onClick: Be
|
|
532
532
|
}, {
|
|
533
533
|
icon: w(() => [
|
|
534
|
-
C(
|
|
534
|
+
C(ue, { name: "App" })
|
|
535
535
|
]),
|
|
536
536
|
default: w(() => [
|
|
537
|
-
|
|
537
|
+
A[6] || (A[6] = le(" 生成APP "))
|
|
538
538
|
]),
|
|
539
539
|
_: 1,
|
|
540
540
|
__: [6]
|
|
541
541
|
})) : V("", !0),
|
|
542
|
-
P.showButton &&
|
|
542
|
+
P.showButton && d(ce) === "view" ? (f(), $(E, {
|
|
543
543
|
key: 1,
|
|
544
544
|
class: "system-default-button",
|
|
545
|
-
onClick:
|
|
545
|
+
onClick: d(Qt)
|
|
546
546
|
}, {
|
|
547
547
|
icon: w(() => [
|
|
548
|
-
C(
|
|
548
|
+
C(ue, { name: "write" })
|
|
549
549
|
]),
|
|
550
550
|
default: w(() => [
|
|
551
|
-
|
|
551
|
+
A[7] || (A[7] = le(" 修改布局 "))
|
|
552
552
|
]),
|
|
553
553
|
_: 1,
|
|
554
554
|
__: [7]
|
|
@@ -560,14 +560,14 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
560
560
|
return [
|
|
561
561
|
C(tt, {
|
|
562
562
|
size: "35",
|
|
563
|
-
avatarUrl: (o =
|
|
563
|
+
avatarUrl: (o = d(R)) == null ? void 0 : o.avatarUrl,
|
|
564
564
|
showCropper: !1,
|
|
565
565
|
banClick: !0
|
|
566
566
|
}, {
|
|
567
567
|
avatarDefault: w(() => {
|
|
568
568
|
var u, b, Q;
|
|
569
569
|
return [
|
|
570
|
-
|
|
570
|
+
le(L((u = d(R)) != null && u.account ? (b = d(R)) == null ? void 0 : b.account : ((Q = d(R)) == null ? void 0 : Q.账号) ?? "未知"), 1)
|
|
571
571
|
];
|
|
572
572
|
}),
|
|
573
573
|
_: 1
|
|
@@ -580,45 +580,45 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
580
580
|
y("div", ra, [
|
|
581
581
|
y("div", ca, [
|
|
582
582
|
C(tt, {
|
|
583
|
-
avatarUrl: (o =
|
|
583
|
+
avatarUrl: (o = d(R)) == null ? void 0 : o.avatarUrl,
|
|
584
584
|
showCropper: !1,
|
|
585
585
|
banClick: !0
|
|
586
586
|
}, {
|
|
587
587
|
avatarDefault: w(() => {
|
|
588
588
|
var S, k, M;
|
|
589
589
|
return [
|
|
590
|
-
|
|
590
|
+
le(L((S = d(R)) != null && S.account ? (k = d(R)) == null ? void 0 : k.account : ((M = d(R)) == null ? void 0 : M.账号) ?? "未知"), 1)
|
|
591
591
|
];
|
|
592
592
|
}),
|
|
593
593
|
_: 1
|
|
594
594
|
}, 8, ["avatarUrl"]),
|
|
595
595
|
y("div", ua, [
|
|
596
596
|
y("div", null, [
|
|
597
|
-
y("span", null, L((u =
|
|
598
|
-
y("span", null, L(((q = (B =
|
|
597
|
+
y("span", null, L((u = d(R)) != null && u.account ? (b = d(R)) == null ? void 0 : b.account : ((Q = d(R)) == null ? void 0 : Q.姓名) ?? "未知"), 1),
|
|
598
|
+
y("span", null, L(((q = (B = d(R)) == null ? void 0 : B.layer) == null ? void 0 : q.toUpperCase()) === "SUPERADMIN" ? "超级管理员" : ((Z = d(R)) == null ? void 0 : Z.角色名称) ?? "未知"), 1)
|
|
599
599
|
]),
|
|
600
|
-
y("div", null, L(((K =
|
|
600
|
+
y("div", null, L(((K = d(R)) == null ? void 0 : K.工号) ?? "未知"), 1)
|
|
601
601
|
])
|
|
602
602
|
]),
|
|
603
603
|
y("div", Aa, [
|
|
604
604
|
y("div", null, [
|
|
605
|
-
C(
|
|
605
|
+
C(ue, {
|
|
606
606
|
name: "personal",
|
|
607
607
|
style: { width: "15px", height: "15px" }
|
|
608
608
|
}),
|
|
609
|
-
|
|
609
|
+
A[8] || (A[8] = y("span", null, "个人主页", -1))
|
|
610
610
|
]),
|
|
611
611
|
y("div", null, [
|
|
612
|
-
C(
|
|
612
|
+
C(ue, {
|
|
613
613
|
name: "message",
|
|
614
614
|
style: { width: "15px", height: "15px" }
|
|
615
615
|
}),
|
|
616
|
-
|
|
616
|
+
A[9] || (A[9] = y("span", null, "消息中心", -1))
|
|
617
617
|
])
|
|
618
618
|
]),
|
|
619
619
|
y("div", ga, [
|
|
620
620
|
y("div", null, [
|
|
621
|
-
C(
|
|
621
|
+
C(ue, {
|
|
622
622
|
name: "clear",
|
|
623
623
|
style: { width: "15px", height: "15px" }
|
|
624
624
|
}),
|
|
@@ -631,14 +631,14 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
631
631
|
})
|
|
632
632
|
]),
|
|
633
633
|
y("div", null, [
|
|
634
|
-
C(
|
|
634
|
+
C(ue, {
|
|
635
635
|
name: "exit",
|
|
636
636
|
style: { width: "15px", height: "15px", color: "#EB503D" }
|
|
637
637
|
}),
|
|
638
638
|
C(ye, {
|
|
639
639
|
emptyColor: !0,
|
|
640
640
|
class: "menu-button",
|
|
641
|
-
onClickTrigger:
|
|
641
|
+
onClickTrigger: ne,
|
|
642
642
|
modelValue: "退出登录",
|
|
643
643
|
buttonType: "",
|
|
644
644
|
style: { color: "#EB503D" }
|
|
@@ -656,13 +656,13 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
656
656
|
}),
|
|
657
657
|
C(h, { class: "client-body" }, {
|
|
658
658
|
default: w(() => [
|
|
659
|
-
C(
|
|
659
|
+
C(g, { class: "client-main" }, {
|
|
660
660
|
default: w(() => {
|
|
661
661
|
var o, u, b, Q;
|
|
662
662
|
return [
|
|
663
663
|
C(s, {
|
|
664
664
|
class: "client-aside",
|
|
665
|
-
style: ot({ backgroundImage: P.platform === "client" ? `url(${
|
|
665
|
+
style: ot({ backgroundImage: P.platform === "client" ? `url(${d(_t)})` : `url(${d($t)})` })
|
|
666
666
|
}, {
|
|
667
667
|
default: w(() => [
|
|
668
668
|
C(xt, { mode: "vertical" })
|
|
@@ -672,19 +672,19 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
672
672
|
Me((f(), j("div", {
|
|
673
673
|
class: "client-main-operate",
|
|
674
674
|
ref_key: "contentRef",
|
|
675
|
-
ref:
|
|
675
|
+
ref: re,
|
|
676
676
|
"element-loading-text": "正在加载页面数据..."
|
|
677
677
|
}, [
|
|
678
|
-
|
|
678
|
+
d(pe) !== "" ? (f(), j("div", da, [
|
|
679
679
|
C(ye, {
|
|
680
680
|
class: "calculator-content back-content",
|
|
681
|
-
onClickTrigger:
|
|
681
|
+
onClickTrigger: A[2] || (A[2] = (B) => d(St)()),
|
|
682
682
|
modelValue: "返回"
|
|
683
683
|
})
|
|
684
684
|
])) : V("", !0),
|
|
685
685
|
y("div", Ca, [
|
|
686
686
|
T.value ? (f(), $(G, { key: 0 })) : V("", !0),
|
|
687
|
-
T.value ? V("", !0) : (f(!0), j(Ie, { key: 1 }, je((o =
|
|
687
|
+
T.value ? V("", !0) : (f(!0), j(Ie, { key: 1 }, je((o = d(Ce)(d(be))) == null ? void 0 : o.filter((B) => B.comp !== "FormTop"), (B, q) => {
|
|
688
688
|
var Z;
|
|
689
689
|
return f(), j("div", {
|
|
690
690
|
class: "item-view-content",
|
|
@@ -705,7 +705,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
705
705
|
title: "编辑标签"
|
|
706
706
|
}, {
|
|
707
707
|
default: w(() => [
|
|
708
|
-
C(
|
|
708
|
+
C(d(Ft))
|
|
709
709
|
]),
|
|
710
710
|
_: 1
|
|
711
711
|
})
|
|
@@ -715,7 +715,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
715
715
|
y("div", ma, [
|
|
716
716
|
C(n, {
|
|
717
717
|
modelValue: Re.value,
|
|
718
|
-
"onUpdate:modelValue":
|
|
718
|
+
"onUpdate:modelValue": A[3] || (A[3] = (K) => Re.value = K),
|
|
719
719
|
style: { height: "100%" }
|
|
720
720
|
}, {
|
|
721
721
|
default: w(() => [
|
|
@@ -742,21 +742,21 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
742
742
|
_: 2
|
|
743
743
|
}, 1024)
|
|
744
744
|
])) : V("", !0),
|
|
745
|
-
(f(), $(mt(
|
|
745
|
+
(f(), $(mt(d(Rt)(B.comp)), {
|
|
746
746
|
compName: B.name,
|
|
747
747
|
itemData: B == null ? void 0 : B.compData,
|
|
748
748
|
childItemData: B == null ? void 0 : B.itemChildData,
|
|
749
749
|
key: (B == null ? void 0 : B.id) ?? q,
|
|
750
|
-
onChange:
|
|
750
|
+
onChange: d(jt),
|
|
751
751
|
index: (B == null ? void 0 : B.id) ?? q,
|
|
752
|
-
onContentChange:
|
|
753
|
-
onPageChange:
|
|
752
|
+
onContentChange: d(Ut),
|
|
753
|
+
onPageChange: d(bt),
|
|
754
754
|
onRowClick: we
|
|
755
755
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
756
756
|
]);
|
|
757
757
|
}), 128)),
|
|
758
|
-
!T.value && !((u =
|
|
759
|
-
|
|
758
|
+
!T.value && !((u = d(Ce)(d(be))) != null && u.find((B) => B.comp === "methodButton")) ? (f(), j("div", Ba, [
|
|
759
|
+
d(pe) !== "" && ((Q = d(he)) == null ? void 0 : Q[((b = d(he)) == null ? void 0 : b.length) - 1]) !== "/" ? (f(), $(ye, {
|
|
760
760
|
key: 0,
|
|
761
761
|
class: "calculator-content",
|
|
762
762
|
onClickTrigger: Se,
|
|
@@ -765,7 +765,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
765
765
|
])) : V("", !0)
|
|
766
766
|
])
|
|
767
767
|
])), [
|
|
768
|
-
[a,
|
|
768
|
+
[a, d(Ke)]
|
|
769
769
|
])
|
|
770
770
|
];
|
|
771
771
|
}),
|
|
@@ -792,8 +792,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
792
792
|
]),
|
|
793
793
|
_: 3
|
|
794
794
|
})), [
|
|
795
|
-
[ze,
|
|
796
|
-
[a,
|
|
795
|
+
[ze, d(ce) === "view"],
|
|
796
|
+
[a, d(Ye)]
|
|
797
797
|
])
|
|
798
798
|
], 64);
|
|
799
799
|
};
|
|
@@ -819,7 +819,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
819
819
|
},
|
|
820
820
|
emits: ["buildContent", "showChild"],
|
|
821
821
|
setup(P, { emit: oe }) {
|
|
822
|
-
const l = Ve(
|
|
822
|
+
const l = Ve(ie), Y = rt(ie), X = We();
|
|
823
823
|
I(!1);
|
|
824
824
|
const O = I(!0), p = P, N = oe, W = (x) => {
|
|
825
825
|
N("showChild", x);
|
|
@@ -845,12 +845,12 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
845
845
|
return z(
|
|
846
846
|
() => [p == null ? void 0 : p.content, p == null ? void 0 : p.jsonContents],
|
|
847
847
|
async () => {
|
|
848
|
-
var ee,
|
|
848
|
+
var ee, re, te, R;
|
|
849
849
|
if (((ee = p == null ? void 0 : p.jsonContents) == null ? void 0 : ee.length) > 0) {
|
|
850
850
|
l.setOriginalData(p == null ? void 0 : p.jsonContents);
|
|
851
851
|
return;
|
|
852
852
|
}
|
|
853
|
-
if (!(p != null && p.content) || ((
|
|
853
|
+
if (!(p != null && p.content) || ((re = p == null ? void 0 : p.content) == null ? void 0 : re.length) === 0) return;
|
|
854
854
|
O.value = !0, X.setImportLoading(!0);
|
|
855
855
|
let x = [], H = [];
|
|
856
856
|
Y.setSelectTitle([]), Y.setSelectIndex(""), Y.setSelectMenu(""), (R = (te = p == null ? void 0 : p.content) == null ? void 0 : te.filter((ae) => ae !== "")) == null || R.forEach((ae) => {
|
|
@@ -912,9 +912,9 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
912
912
|
},
|
|
913
913
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
914
914
|
setup(P, { emit: oe }) {
|
|
915
|
-
const l = P, Y = oe, X = Nt(), O = I([]), p = I(0), N = I([]), W = I([]), _ = I(0), U = Ve(
|
|
915
|
+
const l = P, Y = oe, X = Nt(), O = I([]), p = I(0), N = I([]), W = I([]), _ = I(0), U = Ve(ie), F = We(ie), { itemData: x, originalData: H } = se(U), { activeMenuPath: ee, platform: re } = se(F), te = I(null), R = I(0), ae = I([]);
|
|
916
916
|
I("");
|
|
917
|
-
const
|
|
917
|
+
const ce = I(0), pe = it(), { loginUserInfo: v, systemKey: ge } = se(pe), Ye = () => {
|
|
918
918
|
Y("buildContent");
|
|
919
919
|
};
|
|
920
920
|
z(
|
|
@@ -923,13 +923,13 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
923
923
|
let e = {};
|
|
924
924
|
if ((l == null ? void 0 : l.pageKey) !== "") {
|
|
925
925
|
const t = await De(l == null ? void 0 : l.pageKey, sessionStorage.getItem("systemKey"), ""), n = await De("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
926
|
-
let r = ["管长", "外径"],
|
|
926
|
+
let r = ["管长", "外径"], g = {};
|
|
927
927
|
n == null || n.forEach((a) => {
|
|
928
928
|
var o;
|
|
929
929
|
(a == null ? void 0 : a.comp) === "Form" && ((o = a == null ? void 0 : a.compData) == null || o.forEach((u) => {
|
|
930
930
|
var b;
|
|
931
931
|
(u == null ? void 0 : u.key) === "formContent" && ((b = u == null ? void 0 : u.contents) == null || b.forEach((Q) => {
|
|
932
|
-
r.includes(Q == null ? void 0 : Q.key) && (
|
|
932
|
+
r.includes(Q == null ? void 0 : Q.key) && (g[Q.key] = Q.value);
|
|
933
933
|
}));
|
|
934
934
|
}));
|
|
935
935
|
}), t == null || t.forEach((a) => {
|
|
@@ -940,7 +940,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
940
940
|
Z.push(ct(k, K == null ? void 0 : K.filter((M) => M !== "操作")));
|
|
941
941
|
}), e[a.name] = Z, e[a.name + "Content"] = a;
|
|
942
942
|
}
|
|
943
|
-
}), e.extra =
|
|
943
|
+
}), e.extra = g, Y("threeData", e);
|
|
944
944
|
}
|
|
945
945
|
},
|
|
946
946
|
{ deep: !0, immediate: !0 }
|
|
@@ -963,8 +963,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
963
963
|
}, ke = (e) => {
|
|
964
964
|
var n;
|
|
965
965
|
const t = (n = Ce(e == null ? void 0 : e.wholeValue)) == null ? void 0 : n.map((r) => {
|
|
966
|
-
var
|
|
967
|
-
return (r == null ? void 0 : r.comp) === "Form" && (r.compData = (
|
|
966
|
+
var g;
|
|
967
|
+
return (r == null ? void 0 : r.comp) === "Form" && (r.compData = (g = r.compData) == null ? void 0 : g.map((a) => ((a == null ? void 0 : a.key) === "formContent" && (a.contents = Kt(a == null ? void 0 : a.contents)), a))), r;
|
|
968
968
|
});
|
|
969
969
|
Y("change", {
|
|
970
970
|
originalContents: H.value,
|
|
@@ -976,7 +976,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
976
976
|
z(
|
|
977
977
|
() => N.value,
|
|
978
978
|
() => {
|
|
979
|
-
|
|
979
|
+
ce.value === N.value.length && N.value.length !== 0 && (O.value = N.value);
|
|
980
980
|
},
|
|
981
981
|
{ deep: !0, immediate: !0 }
|
|
982
982
|
);
|
|
@@ -986,8 +986,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
986
986
|
F.setActiveMenuPath(""), F.setActiveTopMenuPath(""), F.setAsideMenus([]);
|
|
987
987
|
const t = e.target.files;
|
|
988
988
|
if (!t) return;
|
|
989
|
-
new FileReader(), O.value = [], N.value = [],
|
|
990
|
-
const n = Array.from(t).map(async (r) => await new Promise((
|
|
989
|
+
new FileReader(), O.value = [], N.value = [], ce.value = t.length;
|
|
990
|
+
const n = Array.from(t).map(async (r) => await new Promise((g) => {
|
|
991
991
|
const a = new FileReader();
|
|
992
992
|
a.onload = (o) => {
|
|
993
993
|
try {
|
|
@@ -996,7 +996,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
996
996
|
console.error("解析失败:", u);
|
|
997
997
|
return;
|
|
998
998
|
}
|
|
999
|
-
}, a.onerror = () =>
|
|
999
|
+
}, a.onerror = () => g(`读取 ${r.name} 失败`), a.readAsText(r), e.target.value = "", te.value = null, p.value++;
|
|
1000
1000
|
}));
|
|
1001
1001
|
await Promise.all(n);
|
|
1002
1002
|
};
|
|
@@ -1017,8 +1017,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1017
1017
|
const T = I({
|
|
1018
1018
|
targetModel: "",
|
|
1019
1019
|
modelName: ""
|
|
1020
|
-
}),
|
|
1021
|
-
const e = (
|
|
1020
|
+
}), ne = I([]), Be = I(!1), we = Je(() => {
|
|
1021
|
+
const e = (ne == null ? void 0 : ne.value) || [];
|
|
1022
1022
|
if (!e.length)
|
|
1023
1023
|
return !1;
|
|
1024
1024
|
if (e.length > 1)
|
|
@@ -1029,8 +1029,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1029
1029
|
}), fe = () => {
|
|
1030
1030
|
Be.value = !1;
|
|
1031
1031
|
}, ve = async () => {
|
|
1032
|
-
var
|
|
1033
|
-
const e = (
|
|
1032
|
+
var g, a, o;
|
|
1033
|
+
const e = (g = v == null ? void 0 : v.value) == null ? void 0 : g.account, t = (a = v == null ? void 0 : v.value) == null ? void 0 : a.password;
|
|
1034
1034
|
if (!e)
|
|
1035
1035
|
return;
|
|
1036
1036
|
const n = await Ue({
|
|
@@ -1042,10 +1042,10 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1042
1042
|
return (o = n == null ? void 0 : n.data) == null ? void 0 : o.result;
|
|
1043
1043
|
}, Pe = async () => {
|
|
1044
1044
|
const e = await ve(), t = e == null ? void 0 : e.map((n) => n == null ? void 0 : n.key);
|
|
1045
|
-
|
|
1045
|
+
ne.value = t;
|
|
1046
1046
|
}, Fe = () => {
|
|
1047
1047
|
if (!T.value.targetModel) {
|
|
1048
|
-
const n =
|
|
1048
|
+
const n = ne.value[0], r = n == null ? void 0 : n.systemKey;
|
|
1049
1049
|
T.value.targetModel = r;
|
|
1050
1050
|
}
|
|
1051
1051
|
}, Qe = async () => {
|
|
@@ -1072,11 +1072,11 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1072
1072
|
}
|
|
1073
1073
|
});
|
|
1074
1074
|
return (r = e == null ? void 0 : e.data) == null ? void 0 : r.result;
|
|
1075
|
-
},
|
|
1075
|
+
}, A = async () => {
|
|
1076
1076
|
const e = await i();
|
|
1077
1077
|
return e == null ? void 0 : e.reduce((n, r) => {
|
|
1078
1078
|
var o;
|
|
1079
|
-
const
|
|
1079
|
+
const g = ((o = r == null ? void 0 : r.key) == null ? void 0 : o.systemKey) || -1, a = Number(g);
|
|
1080
1080
|
return Math.max(a, n);
|
|
1081
1081
|
}, 0);
|
|
1082
1082
|
}, m = async () => {
|
|
@@ -1084,10 +1084,10 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1084
1084
|
Se(e), fe();
|
|
1085
1085
|
}, E = async () => {
|
|
1086
1086
|
var a, o, u;
|
|
1087
|
-
const e = await
|
|
1087
|
+
const e = await A();
|
|
1088
1088
|
if (!e)
|
|
1089
1089
|
return;
|
|
1090
|
-
const t = e + 1, n = t.toString(), r = (a = v == null ? void 0 : v.value) == null ? void 0 : a.account,
|
|
1090
|
+
const t = e + 1, n = t.toString(), r = (a = v == null ? void 0 : v.value) == null ? void 0 : a.account, g = (o = v == null ? void 0 : v.value) == null ? void 0 : o.password;
|
|
1091
1091
|
return (u = T == null ? void 0 : T.value) == null || u.modelName, await Tt({
|
|
1092
1092
|
key: {
|
|
1093
1093
|
pageKey: "/user",
|
|
@@ -1097,7 +1097,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1097
1097
|
value: {
|
|
1098
1098
|
tableData: {
|
|
1099
1099
|
account: r,
|
|
1100
|
-
password:
|
|
1100
|
+
password: g
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
}), t;
|
|
@@ -1121,7 +1121,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1121
1121
|
}, h = async () => {
|
|
1122
1122
|
T.value.targetModel = "", await Qe();
|
|
1123
1123
|
}, s = async (e) => {
|
|
1124
|
-
var r,
|
|
1124
|
+
var r, g;
|
|
1125
1125
|
F.setImportLoading(!0);
|
|
1126
1126
|
const t = await ve().catch((a) => (F.setImportLoading(!1), de.error("删除失败"), Promise.reject(a))), n = t == null ? void 0 : t.find((a) => {
|
|
1127
1127
|
var u;
|
|
@@ -1135,7 +1135,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1135
1135
|
}
|
|
1136
1136
|
}).catch((o) => (F.setImportLoading(!1), de.error("删除失败"), Promise.reject(o)));
|
|
1137
1137
|
if (((r = a == null ? void 0 : a.data) == null ? void 0 : r.code) === 200) {
|
|
1138
|
-
const o = (
|
|
1138
|
+
const o = (g = a == null ? void 0 : a.data) == null ? void 0 : g.result;
|
|
1139
1139
|
await c(o).catch((u) => (F.setImportLoading(!1), de.error("删除失败"), Promise.reject(u)));
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
@@ -1147,7 +1147,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1147
1147
|
X.push("/login");
|
|
1148
1148
|
});
|
|
1149
1149
|
};
|
|
1150
|
-
return z(() =>
|
|
1150
|
+
return z(() => ge.value, (e) => {
|
|
1151
1151
|
G(), T.value.targetModel = e, e || Qe();
|
|
1152
1152
|
}, { deep: !0, immediate: !0 }), (e, t) => {
|
|
1153
1153
|
const n = J("svg-icon"), r = J("el-button");
|
|
@@ -1169,7 +1169,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1169
1169
|
(l == null ? void 0 : l.mode) === "view" ? (f(), j("div", ba, [
|
|
1170
1170
|
(f(), $(ka, {
|
|
1171
1171
|
showButton: P.showButton,
|
|
1172
|
-
platform:
|
|
1172
|
+
platform: d(re),
|
|
1173
1173
|
content: O.value,
|
|
1174
1174
|
onChange: ke,
|
|
1175
1175
|
jsonContents: W.value,
|
|
@@ -1179,9 +1179,9 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1179
1179
|
onShowChild: Ge
|
|
1180
1180
|
}, {
|
|
1181
1181
|
default: w(() => {
|
|
1182
|
-
var
|
|
1182
|
+
var g;
|
|
1183
1183
|
return [
|
|
1184
|
-
((
|
|
1184
|
+
((g = l == null ? void 0 : l.jsonContents) == null ? void 0 : g.length) === 0 && (l != null && l.showButton) ? (f(), $(r, {
|
|
1185
1185
|
key: 0,
|
|
1186
1186
|
class: "system-default-button",
|
|
1187
1187
|
onClick: he
|
|
@@ -1200,7 +1200,7 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1200
1200
|
style: { display: "none" },
|
|
1201
1201
|
multiple: ""
|
|
1202
1202
|
}, null, 32)),
|
|
1203
|
-
t[0] || (t[0] =
|
|
1203
|
+
t[0] || (t[0] = le(" 导入模型 "))
|
|
1204
1204
|
]),
|
|
1205
1205
|
_: 1,
|
|
1206
1206
|
__: [0]
|
|
@@ -1215,8 +1215,8 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1215
1215
|
visible: Be.value,
|
|
1216
1216
|
onBeforeDestroy: fe,
|
|
1217
1217
|
showClose: !1,
|
|
1218
|
-
closeOnClickModal:
|
|
1219
|
-
closeOnPressEscape:
|
|
1218
|
+
closeOnClickModal: !1,
|
|
1219
|
+
closeOnPressEscape: !1,
|
|
1220
1220
|
modalClass: "select-model-modal",
|
|
1221
1221
|
alignCenter: !0
|
|
1222
1222
|
}, {
|
|
@@ -1236,18 +1236,18 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1236
1236
|
y("div", Ya, [
|
|
1237
1237
|
t[2] || (t[2] = y("div", { class: "enter-project-title" }, "项目列表", -1)),
|
|
1238
1238
|
we.value ? (f(), j("div", Ga, [
|
|
1239
|
-
(f(!0), j(Ie, null, je(
|
|
1239
|
+
(f(!0), j(Ie, null, je(ne.value, (g) => (f(), j("div", {
|
|
1240
1240
|
class: _e(["project-item", {
|
|
1241
|
-
"project-item-active": (
|
|
1241
|
+
"project-item-active": (g == null ? void 0 : g.systemKey) == T.value.targetModel
|
|
1242
1242
|
}]),
|
|
1243
|
-
onClick: (a) => Re(
|
|
1243
|
+
onClick: (a) => Re(g == null ? void 0 : g.systemKey)
|
|
1244
1244
|
}, [
|
|
1245
|
-
y("div", Pa, L(`${
|
|
1245
|
+
y("div", Pa, L(`${g.name ?? ""}(${g.systemKey})`), 1),
|
|
1246
1246
|
y("div", Fa, [
|
|
1247
1247
|
C(n, {
|
|
1248
1248
|
class: "project-delete",
|
|
1249
1249
|
name: "shanchu1",
|
|
1250
|
-
onClick: (a) => s(
|
|
1250
|
+
onClick: (a) => s(g == null ? void 0 : g.systemKey)
|
|
1251
1251
|
}, null, 8, ["onClick"])
|
|
1252
1252
|
])
|
|
1253
1253
|
], 10, Ka))), 256))
|
|
@@ -1265,11 +1265,11 @@ const Lt = /* @__PURE__ */ Ee(It, [["render", Ht], ["__scopeId", "data-v-3f5e9b4
|
|
|
1265
1265
|
])
|
|
1266
1266
|
]),
|
|
1267
1267
|
_: 1
|
|
1268
|
-
}, 8, ["visible"
|
|
1268
|
+
}, 8, ["visible"])
|
|
1269
1269
|
]);
|
|
1270
1270
|
};
|
|
1271
1271
|
}
|
|
1272
|
-
}, io = /* @__PURE__ */ Ee(Ma, [["__scopeId", "data-v-
|
|
1272
|
+
}, io = /* @__PURE__ */ Ee(Ma, [["__scopeId", "data-v-09a48292"]]);
|
|
1273
1273
|
export {
|
|
1274
1274
|
io as default
|
|
1275
1275
|
};
|