ss-component-new 1.2.241 → 1.2.242
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,25 +1,25 @@
|
|
|
1
|
-
import { resolveComponent as dA, createBlock as tA, openBlock as a, withCtx as o, createElementVNode as u, toDisplayString as lA, ref as d, onMounted as
|
|
1
|
+
import { resolveComponent as dA, createBlock as tA, openBlock as a, withCtx as o, createElementVNode as u, toDisplayString as lA, ref as d, onMounted as jn, watch as KA, createElementBlock as P, Fragment as JA, renderList as VA, createCommentVNode as h, normalizeStyle as Ye, defineComponent as Xn, resolveDynamicComponent as Je, unref as A, computed as qA, provide as vn, resolveDirective as at, createVNode as c, withDirectives as le, createTextVNode as te, vShow as Se, renderSlot as ke, normalizeClass as he, onUnmounted as Et, createSlots as Ct } from "vue";
|
|
2
2
|
import { m as On, a as yn, b as Dn } from "./index-sbz8iL0i.js";
|
|
3
3
|
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-CLcY7Ejg.js";
|
|
4
4
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { _ as zt, a as Bt, b as jt, e as Xt, s as Ht } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-T6xUu6bk.js";
|
|
6
|
-
import { c as
|
|
7
|
-
import { a as
|
|
6
|
+
import { c as Ge, p as wA, s as XA, u as xn, b as Xe, E as xe, g as tn, d as At, e as bt, f as wt } from "./index-CA0SFykF.js";
|
|
7
|
+
import { a as on, u as sn, i as mn, j as Ie, k as Tn, l as pt, m as lt } from "./index.vue_vue_type_style_index_1_lang-mHz69z2I.js";
|
|
8
8
|
import { S as yA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as
|
|
9
|
+
import { a as Ze, s as de, b as Rt, c as Qt, r as LA, o as me, d as Te, e as ct, f as ut, h as rt, i as pn, j as ot, k as Ot, t as yt, l as fn, m as et, n as Hn, p as an, q as In, u as Pn, v as ln, w as cn, x as un, y as En, z as Cn, D as Dt, A as xt, B as mt, C as nt, E as tt, F as YA, G as Tt, H as ht, I as st } from "./index-B0_rovzp.js";
|
|
10
10
|
import { a as Lt } from "./array-C_QRPq8X.js";
|
|
11
11
|
import { u as hn, a as it } from "./index-B7UQn5bB.js";
|
|
12
12
|
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-dK7WSb7x.js";
|
|
13
13
|
import "./index.vue_vue_type_style_index_1_lang-CHVyYmTc.js";
|
|
14
14
|
import "./index-1nURBe5J.js";
|
|
15
|
-
import { useRouter as
|
|
16
|
-
import
|
|
15
|
+
import { useRouter as Mt } from "vue-router";
|
|
16
|
+
import kt from "./index-C0P6wvX2.js";
|
|
17
17
|
import Gt from "./threeModel-BEBfWcEl.js";
|
|
18
|
-
import { s as
|
|
19
|
-
import { d as
|
|
20
|
-
import { _ as
|
|
18
|
+
import { s as zn, _ as Me } from "./index-CQpoN-3d.js";
|
|
19
|
+
import { d as Bn, T as Rn, u as Nt, a as Jt } from "./threeViewerHost-DHRSH1t-.js";
|
|
20
|
+
import { _ as rn } from "./index-DLscez0Y.js";
|
|
21
21
|
import { s as Qn } from "./index-Cu9-TjOn.js";
|
|
22
|
-
import { g as ft, a as be, b as St, c as gt, d as Zt, e as
|
|
22
|
+
import { g as ft, a as be, b as St, c as gt, d as Zt, e as We } from "./dataUtil-DfYg8_9f.js";
|
|
23
23
|
import { T as vt } from "./svgIcon-D-_fXUBL.js";
|
|
24
24
|
import { t as Yt, c as Kt, b as Wt } from "./index-CAPx0_D4.js";
|
|
25
25
|
import { v as Ft } from "./index-BadGZDLw.js";
|
|
@@ -54,7 +54,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
54
54
|
emits: ["click"],
|
|
55
55
|
setup(s, { emit: U }) {
|
|
56
56
|
const e = s, R = d([]), y = U;
|
|
57
|
-
|
|
57
|
+
jn(() => {
|
|
58
58
|
R.value = e == null ? void 0 : e.breadArray;
|
|
59
59
|
}), KA(
|
|
60
60
|
() => e == null ? void 0 : e.breadArray,
|
|
@@ -76,14 +76,14 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
76
76
|
u("div", {
|
|
77
77
|
class: "bread-title",
|
|
78
78
|
onClick: (aA) => S(Y),
|
|
79
|
-
style:
|
|
79
|
+
style: Ye({ opacity: ((g = R.value) == null ? void 0 : g.length) - 1 === eA ? "0.7" : "1" })
|
|
80
80
|
}, lA(Y.value), 13, ef),
|
|
81
81
|
eA !== R.value.length - 1 && Array.isArray(R.value) ? (a(), P("div", nf, lA("/"))) : h("", !0)
|
|
82
82
|
]);
|
|
83
83
|
}), 128))
|
|
84
84
|
]));
|
|
85
85
|
}
|
|
86
|
-
}, dt = /* @__PURE__ */ He(tf, [["__scopeId", "data-v-ded7e2bd"]]),
|
|
86
|
+
}, dt = /* @__PURE__ */ He(tf, [["__scopeId", "data-v-ded7e2bd"]]), Ke = [
|
|
87
87
|
{
|
|
88
88
|
key: "型线生成",
|
|
89
89
|
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources/sampling_points_20.cpt"
|
|
@@ -120,7 +120,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "item-view-group",
|
|
122
122
|
style: { display: "flex" }
|
|
123
|
-
}, vf = { class: "group-name-wrap" }, It = /* @__PURE__ */
|
|
123
|
+
}, vf = { class: "group-name-wrap" }, It = /* @__PURE__ */ Xn({
|
|
124
124
|
__name: "lookComponent",
|
|
125
125
|
props: {
|
|
126
126
|
dialogItem: {},
|
|
@@ -140,13 +140,13 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
140
140
|
() => e == null ? void 0 : e.dialogItem,
|
|
141
141
|
() => {
|
|
142
142
|
var G, Y, eA;
|
|
143
|
-
((G = e == null ? void 0 : e.componentParam) == null ? void 0 : G.isEdit) === !0 ? y.value = (Y =
|
|
143
|
+
((G = e == null ? void 0 : e.componentParam) == null ? void 0 : G.isEdit) === !0 ? y.value = (Y = Ge(e == null ? void 0 : e.dialogItem)) == null ? void 0 : Y.map((g) => {
|
|
144
144
|
var aA;
|
|
145
145
|
return (g == null ? void 0 : g.comp) === "Form" && (g.compData = (aA = g.compData) == null ? void 0 : aA.map((N) => {
|
|
146
146
|
var W;
|
|
147
147
|
return (N == null ? void 0 : N.key) === "formContent" && (N.contents = (W = N.contents) == null ? void 0 : W.map((cA) => (cA.type = "Upload", cA))), N;
|
|
148
148
|
})), g;
|
|
149
|
-
}) : y.value = (eA =
|
|
149
|
+
}) : y.value = (eA = Ge(e == null ? void 0 : e.dialogItem)) == null ? void 0 : eA.map((g) => {
|
|
150
150
|
var aA, N;
|
|
151
151
|
return (g == null ? void 0 : g.comp) === "Table" && (g.compData = (aA = g.compData) == null ? void 0 : aA.filter((W) => (W == null ? void 0 : W.key) !== "rowButton" && (W == null ? void 0 : W.key) !== "extraButton"), g.compData = (N = g.compData) == null ? void 0 : N.map((W) => {
|
|
152
152
|
var cA;
|
|
@@ -167,7 +167,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
167
167
|
((N = g == null ? void 0 : g.comp) == null ? void 0 : N.toUpperCase()) !== "TABLE" && (g != null && g.name) ? (a(), P("div", ff, [
|
|
168
168
|
u("div", vf, lA(g.name), 1)
|
|
169
169
|
])) : h("", !0),
|
|
170
|
-
(a(), tA(
|
|
170
|
+
(a(), tA(Je(A(Ze)(g.comp)), {
|
|
171
171
|
compName: g.name,
|
|
172
172
|
itemData: g == null ? void 0 : g.compData,
|
|
173
173
|
childItemData: g == null ? void 0 : g.itemChildData,
|
|
@@ -188,33 +188,33 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
188
188
|
return Y;
|
|
189
189
|
})) < 0 ? [] : Zt(s);
|
|
190
190
|
}, rf = (s) => s == null ? void 0 : s.map((e) => {
|
|
191
|
-
const y = be("加工规划参数", e), S = "仿真数据", t =
|
|
191
|
+
const y = be("加工规划参数", e), S = "仿真数据", t = We(y);
|
|
192
192
|
return t == null ? void 0 : t[S];
|
|
193
193
|
}), of = (s) => s == null ? void 0 : s.map((e) => {
|
|
194
|
-
const y = be("任务详情", e), S = "工件模型文件", t =
|
|
194
|
+
const y = be("任务详情", e), S = "工件模型文件", t = We(y);
|
|
195
195
|
return t == null ? void 0 : t[S];
|
|
196
196
|
}), sf = (s) => s == null ? void 0 : s.map((e) => {
|
|
197
|
-
const y = be("任务详情", e), S = "工件", t = "工件类型", G =
|
|
197
|
+
const y = be("任务详情", e), S = "工件", t = "工件类型", G = We(y);
|
|
198
198
|
return {
|
|
199
199
|
name: G == null ? void 0 : G[S],
|
|
200
200
|
type: G == null ? void 0 : G[t]
|
|
201
201
|
};
|
|
202
202
|
}), gf = (s) => s == null ? void 0 : s.map((e) => {
|
|
203
|
-
const y = be("任务详情", e), S = "机床", t =
|
|
203
|
+
const y = be("任务详情", e), S = "机床", t = We(y);
|
|
204
204
|
return t == null ? void 0 : t[S];
|
|
205
205
|
}), df = (s) => s == null ? void 0 : s.map((e) => {
|
|
206
|
-
const y = be("任务详情", e), S = "刀具", t =
|
|
206
|
+
const y = be("任务详情", e), S = "刀具", t = We(y);
|
|
207
207
|
return t == null ? void 0 : t[S];
|
|
208
208
|
}), If = async (s) => {
|
|
209
209
|
const U = await gt(["设备库", "机床"], s);
|
|
210
210
|
let e = null;
|
|
211
211
|
const y = be("机床详情", U);
|
|
212
|
-
return y && (e =
|
|
212
|
+
return y && (e = We(y)), e;
|
|
213
213
|
}, Pf = async (s) => {
|
|
214
214
|
const U = s == null ? void 0 : s.map((R) => If(R));
|
|
215
215
|
return await Promise.all(U);
|
|
216
216
|
}, Ef = async (s) => {
|
|
217
|
-
const e = be("任务列表", s), R = uf(e), y = [
|
|
217
|
+
const e = be("任务列表", s), R = uf(e), y = [Le.firstMenu, Le.secondMenu, Le.thirdMenu], S = R == null ? void 0 : R.map((W) => gt(y, W)), t = await Promise.all(S), G = rf(t), Y = of(t), eA = sf(t), g = gf(t), aA = await Pf(g), N = df(t);
|
|
218
218
|
return {
|
|
219
219
|
csvUrlList: G,
|
|
220
220
|
bladeObjUrlList: Y,
|
|
@@ -223,25 +223,30 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
223
223
|
knifeList: N,
|
|
224
224
|
machineInfoList: aA
|
|
225
225
|
};
|
|
226
|
-
},
|
|
226
|
+
}, bn = {
|
|
227
227
|
firstMenu: "搭建工作站",
|
|
228
228
|
secondMenu: "弯管工作站",
|
|
229
229
|
groupName: "工作站"
|
|
230
|
-
},
|
|
231
|
-
firstMenu: "
|
|
232
|
-
secondMenu: "
|
|
230
|
+
}, Le = {
|
|
231
|
+
firstMenu: "流程管理",
|
|
232
|
+
secondMenu: "任务管理",
|
|
233
|
+
thirdMenu: "设计加工任务管理",
|
|
233
234
|
groupName: "任务列表"
|
|
234
235
|
}, Pt = async () => {
|
|
235
|
-
const s = await ft([
|
|
236
|
+
const s = await ft([bn.firstMenu, bn.secondMenu]), U = await ft([
|
|
237
|
+
Le.firstMenu,
|
|
238
|
+
Le.secondMenu,
|
|
239
|
+
Le.thirdMenu
|
|
240
|
+
]);
|
|
236
241
|
let e = "";
|
|
237
242
|
s && s.length > 0 ? e = "robot" : U && U.length > 0 && (e = "cpmpip");
|
|
238
243
|
let R = null, y = null;
|
|
239
244
|
switch (e) {
|
|
240
245
|
case "robot":
|
|
241
|
-
R =
|
|
246
|
+
R = Ge(s), y = bn.groupName;
|
|
242
247
|
break;
|
|
243
248
|
case "cpmpip":
|
|
244
|
-
R =
|
|
249
|
+
R = Ge(U), y = Le.groupName;
|
|
245
250
|
break;
|
|
246
251
|
default:
|
|
247
252
|
console.error("未识别的任务类型");
|
|
@@ -271,7 +276,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
271
276
|
}, Cf = {
|
|
272
277
|
key: 0,
|
|
273
278
|
style: { margin: "0 8px" }
|
|
274
|
-
}, zf = /* @__PURE__ */
|
|
279
|
+
}, zf = /* @__PURE__ */ Xn({
|
|
275
280
|
__name: "index",
|
|
276
281
|
props: {
|
|
277
282
|
toolBar: Object
|
|
@@ -279,10 +284,10 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
279
284
|
emits: ["onExtendTaskEnd"],
|
|
280
285
|
setup(s, { emit: U }) {
|
|
281
286
|
var uA;
|
|
282
|
-
const e =
|
|
283
|
-
var zA, _A,
|
|
287
|
+
const e = on(wA), { pageMapState: R } = XA(e), y = sn(wA), { activeMenuPath: S } = XA(y), t = mn(wA), { originalPath: G } = XA(t), Y = s, eA = U, g = d(""), aA = () => {
|
|
288
|
+
var zA, _A, MA, V, $A, ce, EA, ue, fe, ve, re;
|
|
284
289
|
if (!S.value) return;
|
|
285
|
-
const fA = ((_A = (zA = S.value) == null ? void 0 : zA.split(G.value)) == null ? void 0 : _A[0]) + G.value + ((
|
|
290
|
+
const fA = ((_A = (zA = S.value) == null ? void 0 : zA.split(G.value)) == null ? void 0 : _A[0]) + G.value + ((MA = Y == null ? void 0 : Y.toolBar) == null ? void 0 : MA.mainKeyPropValue), m = (EA = (ce = ($A = (V = R.value) == null ? void 0 : V[fA]) == null ? void 0 : $A.find((Z) => {
|
|
286
291
|
var CA, DA, WA;
|
|
287
292
|
return ((WA = (DA = (CA = Z == null ? void 0 : Z.value) == null ? void 0 : CA.pageData) == null ? void 0 : DA.comp) == null ? void 0 : WA.toUpperCase()) === "FORM";
|
|
288
293
|
})) == null ? void 0 : ce.value) == null ? void 0 : EA.pageData;
|
|
@@ -297,12 +302,12 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
297
302
|
clearInterval(zA), eA("onExtendTaskEnd");
|
|
298
303
|
else {
|
|
299
304
|
m--;
|
|
300
|
-
const _A = Math.floor(m / 3600),
|
|
301
|
-
cA.value = `${String(_A).padStart(2, "0")}:${String(
|
|
305
|
+
const _A = Math.floor(m / 3600), MA = Math.floor(m % 3600 / 60), V = m % 60;
|
|
306
|
+
cA.value = `${String(_A).padStart(2, "0")}:${String(MA).padStart(2, "0")}:${String(V).padStart(2, "0")}`;
|
|
302
307
|
}
|
|
303
308
|
}, 1e3);
|
|
304
309
|
};
|
|
305
|
-
|
|
310
|
+
jn(() => {
|
|
306
311
|
aA();
|
|
307
312
|
});
|
|
308
313
|
const W = d((uA = Y == null ? void 0 : Y.toolBar) == null ? void 0 : uA.title), cA = d("");
|
|
@@ -326,10 +331,10 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
326
331
|
key: 0,
|
|
327
332
|
class: "text-unread",
|
|
328
333
|
style: { color: "#409eff" }
|
|
329
|
-
},
|
|
334
|
+
}, Mf = {
|
|
330
335
|
key: 1,
|
|
331
336
|
class: "text-read"
|
|
332
|
-
},
|
|
337
|
+
}, kf = { class: "message-title" }, Gf = { class: "message-time" }, Nf = { class: "message-content" }, Jf = {
|
|
333
338
|
key: 0,
|
|
334
339
|
class: "no-messages"
|
|
335
340
|
}, Sf = { class: "message-list" }, Zf = ["onClick"], Yf = { class: "message-header" }, Kf = {
|
|
@@ -378,7 +383,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
378
383
|
}, Ev = {
|
|
379
384
|
key: 1,
|
|
380
385
|
style: { flex: "1", background: "transparent", padding: "8px 0" }
|
|
381
|
-
}, wn = "消息中心/我的消息", Cv = /* @__PURE__ */
|
|
386
|
+
}, wn = "消息中心/我的消息", Cv = /* @__PURE__ */ Xn({
|
|
382
387
|
__name: "index",
|
|
383
388
|
props: {
|
|
384
389
|
windowConfig: {
|
|
@@ -405,11 +410,11 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
405
410
|
}, R = d(), y = d([]), S = d([]), t = d([]), G = qA(
|
|
406
411
|
() => y.value.filter((f) => {
|
|
407
412
|
var r;
|
|
408
|
-
return ((r = f.find((
|
|
413
|
+
return ((r = f.find((M) => M.prop === "状态")) == null ? void 0 : r.value) === "未读";
|
|
409
414
|
}).length
|
|
410
415
|
), Y = qA(() => G.value > 99 ? "99+" : G.value), eA = mn(wA), { originalPath: g } = XA(eA), aA = g.value;
|
|
411
416
|
async function N() {
|
|
412
|
-
var f, r,
|
|
417
|
+
var f, r, M, $, q, B;
|
|
413
418
|
try {
|
|
414
419
|
let x = function(J, QA) {
|
|
415
420
|
return QA.map((K) => J.map((PA, IA) => ({
|
|
@@ -419,13 +424,13 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
419
424
|
};
|
|
420
425
|
const z = sessionStorage.getItem("systemKey"), [AA] = await Promise.all([
|
|
421
426
|
Ie(wn, z, "")
|
|
422
|
-
]), nA = (
|
|
427
|
+
]), nA = (M = (r = (f = AA == null ? void 0 : AA[0]) == null ? void 0 : f.compData) == null ? void 0 : r.find((J) => (J == null ? void 0 : J.key) === "tableContents")) == null ? void 0 : M.contents, k = (B = (q = ($ = AA == null ? void 0 : AA[0]) == null ? void 0 : $.compData) == null ? void 0 : q.find((J) => (J == null ? void 0 : J.key) === "header")) == null ? void 0 : B.contents;
|
|
423
428
|
let HA = [], RA = [], NA = [], TA = [];
|
|
424
|
-
Array.isArray(nA) && Array.isArray(
|
|
429
|
+
Array.isArray(nA) && Array.isArray(k) ? (NA = nA.filter(
|
|
425
430
|
(J) => J.includes("未读")
|
|
426
431
|
), TA = nA.filter(
|
|
427
432
|
(J) => J.includes("已读")
|
|
428
|
-
), HA = [...NA, ...TA], RA = [...nA]) : (NA = [], TA = [], RA = [], console.warn("messagesContents 或 messagesHeader 不是数组")), S.value = x(
|
|
433
|
+
), HA = [...NA, ...TA], RA = [...nA]) : (NA = [], TA = [], RA = [], console.warn("messagesContents 或 messagesHeader 不是数组")), S.value = x(k, RA), y.value = x(k, HA), t.value = x(k, NA);
|
|
429
434
|
} catch (x) {
|
|
430
435
|
console.error("获取消息数据失败:", x);
|
|
431
436
|
}
|
|
@@ -436,7 +441,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
436
441
|
f - W < 1200 || (W = f, N(), console.log("获取消息中心数据成功"));
|
|
437
442
|
}, uA = async (f) => {
|
|
438
443
|
if (!f) return;
|
|
439
|
-
(async (
|
|
444
|
+
(async (M) => {
|
|
440
445
|
var q, B, x, z;
|
|
441
446
|
const $ = [
|
|
442
447
|
{
|
|
@@ -463,26 +468,26 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
463
468
|
// }
|
|
464
469
|
];
|
|
465
470
|
try {
|
|
466
|
-
const AA =
|
|
471
|
+
const AA = M.find((RA) => RA.prop === "状态"), nA = Array.isArray(M) ? M.find((RA) => RA.isMainKey) : void 0;
|
|
467
472
|
if (!nA) {
|
|
468
|
-
console.warn("该消息没有主键",
|
|
473
|
+
console.warn("该消息没有主键", M);
|
|
469
474
|
return;
|
|
470
475
|
}
|
|
471
476
|
Ae.setAsideMenus($), (AA == null ? void 0 : AA.value) === "未读" && (AA.value = "已读", Ae.setActiveMenuPath(wn));
|
|
472
|
-
const
|
|
473
|
-
await pt(
|
|
477
|
+
const k = kA.value + aA + nA.value, HA = kA.value;
|
|
478
|
+
await pt(k, k + aA + `updateLoading${((q = pA.value) == null ? void 0 : q.account) || ((B = pA.value) == null ? void 0 : B.账号)}`), we.setRouteToChildPath(HA), Ae.setActiveMenuPath(k + aA + `updateLoading${((x = pA.value) == null ? void 0 : x.account) || ((z = pA.value) == null ? void 0 : z.账号)}`), Ae.setActiveTopMenuPath("消息中心"), console.log("444showItems.value", de.value);
|
|
474
479
|
} catch (AA) {
|
|
475
480
|
console.error("加载菜单或页面时出错:", AA);
|
|
476
481
|
}
|
|
477
482
|
})(f);
|
|
478
|
-
}, fA = hn(wA), { selectTitle: m } = XA(fA), zA = d(!1), _A = d(),
|
|
479
|
-
|
|
480
|
-
const
|
|
483
|
+
}, fA = hn(wA), { selectTitle: m } = XA(fA), zA = d(!1), _A = d(), MA = d(null), V = d(), $A = d(!1), ce = it(wA), { blobUrls: EA } = XA(ce), ue = d(), fe = d(!1), ve = d(!1), re = d(!1), Z = d([]), CA = d(!1), DA = d(null), WA = d(), Pe = d(!1), Ee = d(!1), Fe = d();
|
|
484
|
+
vn("contentRef", DA);
|
|
485
|
+
const Ue = xn(), { loginUserInfo: pA } = XA(Ue), we = on(wA), { isEdit: oe, routeToChildPath: SA } = XA(we), Ce = U, Ae = sn(wA), { asideMenuLoading: ae, importLoading: pe, activeAsideMenu: Ve, contentLoading: qe, platName: Re, activeMenuPath: kA } = XA(Ae), xA = s, Ne = qA(() => Ve.value.isRouter), n = () => {
|
|
481
486
|
sessionStorage.clear(), window.location.reload();
|
|
482
487
|
}, i = (f) => {
|
|
483
488
|
if ((f == null ? void 0 : f.type) === "table") {
|
|
484
489
|
let r = f == null ? void 0 : f.row;
|
|
485
|
-
const
|
|
490
|
+
const M = f == null ? void 0 : f.rowData;
|
|
486
491
|
let $ = r;
|
|
487
492
|
$ && (V.value = {
|
|
488
493
|
url: $,
|
|
@@ -490,14 +495,14 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
490
495
|
}, Ce("showChild", {
|
|
491
496
|
url: $,
|
|
492
497
|
row: f == null ? void 0 : f.row,
|
|
493
|
-
rowData:
|
|
498
|
+
rowData: M
|
|
494
499
|
}));
|
|
495
500
|
}
|
|
496
501
|
}, p = async () => {
|
|
497
502
|
let f = {};
|
|
498
|
-
const r = await Ie("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""),
|
|
503
|
+
const r = await Ie("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), M = await Ie("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
499
504
|
let $ = ["管长", "外径"], q = {};
|
|
500
|
-
|
|
505
|
+
M == null || M.forEach((B) => {
|
|
501
506
|
var x;
|
|
502
507
|
(B == null ? void 0 : B.comp) === "Form" && ((x = B == null ? void 0 : B.compData) == null || x.forEach((z) => {
|
|
503
508
|
var AA;
|
|
@@ -506,9 +511,9 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
506
511
|
}));
|
|
507
512
|
}));
|
|
508
513
|
}), r == null || r.forEach((B) => {
|
|
509
|
-
var x, z, AA, nA,
|
|
514
|
+
var x, z, AA, nA, k, HA;
|
|
510
515
|
if ((B == null ? void 0 : B.comp) === "Table") {
|
|
511
|
-
let RA = [], NA = (AA = (z = (x = B == null ? void 0 : B.compData) == null ? void 0 : x.find((J) => (J == null ? void 0 : J.key) === "header")) == null ? void 0 : z.contents) == null ? void 0 : AA.map((J) => J == null ? void 0 : J.label), TA = (HA = (
|
|
516
|
+
let RA = [], NA = (AA = (z = (x = B == null ? void 0 : B.compData) == null ? void 0 : x.find((J) => (J == null ? void 0 : J.key) === "header")) == null ? void 0 : z.contents) == null ? void 0 : AA.map((J) => J == null ? void 0 : J.label), TA = (HA = (k = (nA = B == null ? void 0 : B.compData) == null ? void 0 : nA.find((J) => (J == null ? void 0 : J.key) === "tableContents")) == null ? void 0 : k.contents) == null ? void 0 : HA.map((J) => (J = J == null ? void 0 : J.filter((QA) => !(QA != null && QA.id)), J));
|
|
512
517
|
TA == null || TA.forEach((J) => {
|
|
513
518
|
RA.push(
|
|
514
519
|
Tn(
|
|
@@ -520,39 +525,39 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
520
525
|
}
|
|
521
526
|
}), f.extra = q, _A.value = f;
|
|
522
527
|
}, H = async () => {
|
|
523
|
-
var f, r,
|
|
528
|
+
var f, r, M, $, q, B;
|
|
524
529
|
if ((xA == null ? void 0 : xA.platform) !== "browser") {
|
|
525
530
|
if (zA.value = !0, ue.value = (f = xA == null ? void 0 : xA.taskContent) == null ? void 0 : f.sceneType, WA.value = [(r = xA == null ? void 0 : xA.taskContent) == null ? void 0 : r.url], V.value) {
|
|
526
531
|
const x = V.value;
|
|
527
532
|
let z = [];
|
|
528
|
-
typeof (x == null ? void 0 : x.url) == "string" && ((
|
|
533
|
+
typeof (x == null ? void 0 : x.url) == "string" && ((M = x == null ? void 0 : x.url) != null && M.includes(",") ? WA.value = ($ = x == null ? void 0 : x.url) == null ? void 0 : $.split(",") : WA.value = [x == null ? void 0 : x.url]), (q = MA.value) == null || q.loadModelByDefaultPath(z);
|
|
529
534
|
}
|
|
530
535
|
Pe.value = (B = WA.value) == null ? void 0 : B.every((x) => x.toUpperCase().includes(".URDF"));
|
|
531
536
|
}
|
|
532
537
|
}, _ = () => {
|
|
533
|
-
$A.value = !1,
|
|
538
|
+
$A.value = !1, MA.value = null;
|
|
534
539
|
};
|
|
535
540
|
KA(
|
|
536
|
-
() =>
|
|
541
|
+
() => kA.value,
|
|
537
542
|
async (f) => {
|
|
538
|
-
f && (ve.value = !0), f === "弯管仿真加工分析/仿真动画生成" ? re.value = !0 : re.value = !1, f === "弯管仿真加工分析/程序输出" ? CA.value = !0 : CA.value = !1,
|
|
539
|
-
var
|
|
540
|
-
return (r == null ? void 0 : r.key) === ((
|
|
543
|
+
f && (ve.value = !0), f === "弯管仿真加工分析/仿真动画生成" ? re.value = !0 : re.value = !1, f === "弯管仿真加工分析/程序输出" ? CA.value = !0 : CA.value = !1, Ke != null && Ke.find((r) => {
|
|
544
|
+
var M;
|
|
545
|
+
return (r == null ? void 0 : r.key) === ((M = f == null ? void 0 : f.split("/")) == null ? void 0 : M[(f == null ? void 0 : f.split("/").length) - 1]);
|
|
541
546
|
}) ? fe.value = !0 : fe.value = !1;
|
|
542
547
|
},
|
|
543
548
|
{ immediate: !0 }
|
|
544
549
|
), KA(
|
|
545
550
|
() => [EA == null ? void 0 : EA.value],
|
|
546
551
|
async () => {
|
|
547
|
-
var f, r,
|
|
548
|
-
if (EA != null && EA.value && ((f = EA == null ? void 0 : EA.value) == null ? void 0 : f.length) > 0 && !fe.value && !((r = de.value) != null && r.find((B) => (B == null ? void 0 : B.name) === "输入") && ((
|
|
552
|
+
var f, r, M, $, q;
|
|
553
|
+
if (EA != null && EA.value && ((f = EA == null ? void 0 : EA.value) == null ? void 0 : f.length) > 0 && !fe.value && !((r = de.value) != null && r.find((B) => (B == null ? void 0 : B.name) === "输入") && ((M = de.value) != null && M.find((B) => (B == null ? void 0 : B.name) === "输出")))) {
|
|
549
554
|
$A.value = !0;
|
|
550
555
|
let B = [];
|
|
551
|
-
const x = await (($ =
|
|
556
|
+
const x = await (($ = Ge(EA == null ? void 0 : EA.value)) == null ? void 0 : $.map(async (z) => {
|
|
552
557
|
var RA, NA, TA, J, QA, K, PA, IA, v, I;
|
|
553
|
-
let AA, nA,
|
|
554
|
-
z != null && z.blob.includes("undefined") ?
|
|
555
|
-
let HA =
|
|
558
|
+
let AA, nA, k;
|
|
559
|
+
z != null && z.blob.includes("undefined") ? k = (NA = (RA = z == null ? void 0 : z.blob) == null ? void 0 : RA.split("undefined,")) == null ? void 0 : NA[1] : k = z == null ? void 0 : z.blob;
|
|
560
|
+
let HA = k == null ? void 0 : k.split(",");
|
|
556
561
|
if ((HA == null ? void 0 : HA.length) > 1) {
|
|
557
562
|
let X = await (HA == null ? void 0 : HA.map(async (C) => {
|
|
558
563
|
var E, vA, b, oA, L, T;
|
|
@@ -588,14 +593,14 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
588
593
|
}), AA;
|
|
589
594
|
}));
|
|
590
595
|
await Promise.all(X);
|
|
591
|
-
} else if (!(
|
|
592
|
-
AA = await
|
|
593
|
-
url:
|
|
596
|
+
} else if (!(k != null && k.includes("https://")) && !(k != null && k.includes("http://"))) {
|
|
597
|
+
AA = await Bn({
|
|
598
|
+
url: k
|
|
594
599
|
});
|
|
595
600
|
let X = [];
|
|
596
601
|
if (((TA = z == null ? void 0 : z.mtlBlobs) == null ? void 0 : TA.length) > 0) {
|
|
597
602
|
let C = await ((J = z == null ? void 0 : z.mtlBlobs) == null ? void 0 : J.map(async (F) => {
|
|
598
|
-
let E = await
|
|
603
|
+
let E = await Bn({
|
|
599
604
|
url: F
|
|
600
605
|
});
|
|
601
606
|
return X.push(
|
|
@@ -607,14 +612,14 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
607
612
|
await Promise.all(C);
|
|
608
613
|
}
|
|
609
614
|
nA = {
|
|
610
|
-
suffix: "." + ((K =
|
|
615
|
+
suffix: "." + ((K = k == null ? void 0 : k.split(".")) == null ? void 0 : K[((QA = k == null ? void 0 : k.split(".")) == null ? void 0 : QA.length) - 1]),
|
|
611
616
|
blob: new Blob([AA.data], {
|
|
612
617
|
type: "application/octet-stream;charset=UTF-8"
|
|
613
618
|
}),
|
|
614
619
|
mtlBlobs: X
|
|
615
620
|
};
|
|
616
621
|
} else {
|
|
617
|
-
AA = await Xe.get(
|
|
622
|
+
AA = await Xe.get(k, {
|
|
618
623
|
responseType: "blob",
|
|
619
624
|
headers: {
|
|
620
625
|
"Content-Type": "application/json"
|
|
@@ -638,7 +643,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
638
643
|
await Promise.all(C);
|
|
639
644
|
}
|
|
640
645
|
nA = {
|
|
641
|
-
suffix: z != null && z.suffix ? z == null ? void 0 : z.suffix : "." + ((I =
|
|
646
|
+
suffix: z != null && z.suffix ? z == null ? void 0 : z.suffix : "." + ((I = k == null ? void 0 : k.split(".")) == null ? void 0 : I[((v = k == null ? void 0 : k.split(".")) == null ? void 0 : v.length) - 1]),
|
|
642
647
|
blob: new Blob([AA.data], {
|
|
643
648
|
type: "application/octet-stream;charset=UTF-8"
|
|
644
649
|
}),
|
|
@@ -647,18 +652,18 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
647
652
|
}
|
|
648
653
|
nA && B.push(nA);
|
|
649
654
|
}));
|
|
650
|
-
await Promise.all(x), (B == null ? void 0 : B.length) !== 0 && ((q =
|
|
655
|
+
await Promise.all(x), (B == null ? void 0 : B.length) !== 0 && ((q = MA.value) == null || q.loadModelByDefaultPath(B));
|
|
651
656
|
}
|
|
652
657
|
},
|
|
653
658
|
{ immediate: !0, deep: !0 }
|
|
654
659
|
);
|
|
655
660
|
const w = (f, r) => {
|
|
656
|
-
Ee.value = !0,
|
|
661
|
+
Ee.value = !0, Fe.value = r, (r == null ? void 0 : r.isEdit) === !0 ? Z.value = f : Z.value = f == null ? void 0 : f.map((M) => {
|
|
657
662
|
var $;
|
|
658
|
-
return
|
|
663
|
+
return M.compData = ($ = M.compData) == null ? void 0 : $.map((q) => {
|
|
659
664
|
var B;
|
|
660
665
|
return (q == null ? void 0 : q.key) === "formContent" && (q.contents = (B = q.contents) == null ? void 0 : B.map((x) => (x.disabled = !0, x))), q;
|
|
661
|
-
}),
|
|
666
|
+
}), M;
|
|
662
667
|
});
|
|
663
668
|
}, D = async () => {
|
|
664
669
|
await st();
|
|
@@ -678,12 +683,12 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
678
683
|
rowData: f
|
|
679
684
|
});
|
|
680
685
|
};
|
|
681
|
-
|
|
686
|
+
jn(async () => {
|
|
682
687
|
Ce("setLoginInfo", pA.value), await N(), R.value = "first";
|
|
683
688
|
});
|
|
684
689
|
const ee = () => {
|
|
685
|
-
var
|
|
686
|
-
if (SA.value === "" || (($ =
|
|
690
|
+
var M, $;
|
|
691
|
+
if (SA.value === "" || (($ = kA.value) == null ? void 0 : $[((M = kA.value) == null ? void 0 : M.length) - 1]) === aA) return !1;
|
|
687
692
|
const f = sessionStorage.getItem("authority"), r = JSON.parse(f || "");
|
|
688
693
|
if (Array.isArray(r)) {
|
|
689
694
|
const q = Array.isArray(r) && (r == null ? void 0 : r.filter((x) => x == null ? void 0 : x.includes(SA.value))), B = q == null ? void 0 : q.map((x) => {
|
|
@@ -694,16 +699,16 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
694
699
|
} else return typeof r == "string" && (r == null ? void 0 : r.toUpperCase()) === "SUPERADMIN";
|
|
695
700
|
}, Qe = async () => {
|
|
696
701
|
}, se = qA(() => Rt(LA.value, Qt.value)), ZA = qA(() => {
|
|
697
|
-
var f, r,
|
|
698
|
-
return ((f = LA.value) == null ? void 0 : f.length) > 0 && ((r = LA.value) != null && r.every((q) => q == null ? void 0 : q.layout)) ? ($ = (
|
|
702
|
+
var f, r, M, $;
|
|
703
|
+
return ((f = LA.value) == null ? void 0 : f.length) > 0 && ((r = LA.value) != null && r.every((q) => q == null ? void 0 : q.layout)) ? ($ = (M = LA.value) == null ? void 0 : M[0]) == null ? void 0 : $.layout : "vertical";
|
|
699
704
|
}), ze = qA(() => {
|
|
700
|
-
var f, r,
|
|
701
|
-
return ((f = LA.value) == null ? void 0 : f.length) > 0 && (ZA == null ? void 0 : ZA.value) === "horizontal" ? (
|
|
705
|
+
var f, r, M;
|
|
706
|
+
return ((f = LA.value) == null ? void 0 : f.length) > 0 && (ZA == null ? void 0 : ZA.value) === "horizontal" ? (M = (r = LA.value) == null ? void 0 : r[0]) == null ? void 0 : M.name : "";
|
|
702
707
|
});
|
|
703
708
|
return (f, r) => {
|
|
704
|
-
const
|
|
709
|
+
const M = dA("el-dialog"), $ = dA("el-button"), q = dA("el-header"), B = dA("el-splitter-panel"), x = dA("el-splitter"), z = dA("el-container"), AA = dA("el-tab-pane"), nA = dA("el-tabs"), k = dA("el-aside"), HA = dA("router-view"), RA = dA("el-step"), NA = dA("el-steps"), TA = dA("el-image"), J = dA("el-main"), QA = at("loading");
|
|
705
710
|
return a(), P(JA, null, [
|
|
706
|
-
c(
|
|
711
|
+
c(zn, {
|
|
707
712
|
visible: Ee.value,
|
|
708
713
|
onBeforeDestroy: r[0] || (r[0] = (K) => Ee.value = !1),
|
|
709
714
|
fullScreen: !0
|
|
@@ -711,14 +716,14 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
711
716
|
default: o(() => [
|
|
712
717
|
c(It, {
|
|
713
718
|
dialogItem: Z.value,
|
|
714
|
-
componentParam:
|
|
719
|
+
componentParam: Fe.value,
|
|
715
720
|
onChange: A(Te),
|
|
716
721
|
onContentChange: A(me)
|
|
717
722
|
}, null, 8, ["dialogItem", "componentParam", "onChange", "onContentChange"])
|
|
718
723
|
]),
|
|
719
724
|
_: 1
|
|
720
725
|
}, 8, ["visible"]),
|
|
721
|
-
c(
|
|
726
|
+
c(M, {
|
|
722
727
|
"append-to-body": "",
|
|
723
728
|
modelValue: zA.value,
|
|
724
729
|
"onUpdate:modelValue": r[1] || (r[1] = (K) => zA.value = K),
|
|
@@ -856,7 +861,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
856
861
|
]),
|
|
857
862
|
_: 1
|
|
858
863
|
}, 512), [
|
|
859
|
-
[
|
|
864
|
+
[Se, A(oe) === "edit"]
|
|
860
865
|
]),
|
|
861
866
|
le((a(), tA(z, {
|
|
862
867
|
class: "client-container",
|
|
@@ -888,7 +893,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
888
893
|
__: [9]
|
|
889
894
|
}, 8, ["onClick"])) : h("", !0),
|
|
890
895
|
ke(f.$slots, "default", {}, void 0, !0),
|
|
891
|
-
c(
|
|
896
|
+
c(rn, {
|
|
892
897
|
class: "three-dropdown-menu",
|
|
893
898
|
"popper-class": "three-poper",
|
|
894
899
|
teleported: !1,
|
|
@@ -923,7 +928,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
923
928
|
]),
|
|
924
929
|
_: 1
|
|
925
930
|
}),
|
|
926
|
-
c(
|
|
931
|
+
c(rn, null, {
|
|
927
932
|
dropTitle: o(() => [
|
|
928
933
|
u("div", {
|
|
929
934
|
class: "icon-wrapper",
|
|
@@ -961,8 +966,8 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
961
966
|
onClick: (C) => uA(K)
|
|
962
967
|
}, [
|
|
963
968
|
u("div", hf, [
|
|
964
|
-
((IA = K.find((C) => C.prop === "状态")) == null ? void 0 : IA.value) === "未读" ? (a(), P("span", Lf, "[未读]")) : (a(), P("span",
|
|
965
|
-
u("div",
|
|
969
|
+
((IA = K.find((C) => C.prop === "状态")) == null ? void 0 : IA.value) === "未读" ? (a(), P("span", Lf, "[未读]")) : (a(), P("span", Mf, "[已读]")),
|
|
970
|
+
u("div", kf, lA((v = K.find((C) => C.prop === "消息类别")) == null ? void 0 : v.value), 1),
|
|
966
971
|
u("div", Gf, lA((I = K.find((C) => C.prop === "发送时间")) == null ? void 0 : I.value), 1)
|
|
967
972
|
]),
|
|
968
973
|
u("div", Nf, lA((X = K.find((C) => C.prop === "内容")) == null ? void 0 : X.value), 1)
|
|
@@ -1010,7 +1015,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1010
1015
|
]),
|
|
1011
1016
|
_: 1
|
|
1012
1017
|
}),
|
|
1013
|
-
c(
|
|
1018
|
+
c(rn, null, {
|
|
1014
1019
|
dropTitle: o(() => [
|
|
1015
1020
|
c(Qn, {
|
|
1016
1021
|
size: 35,
|
|
@@ -1058,7 +1063,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1058
1063
|
name: "exit",
|
|
1059
1064
|
style: { width: "15px", height: "15px", color: "#eb503d" }
|
|
1060
1065
|
}),
|
|
1061
|
-
c(
|
|
1066
|
+
c(Me, {
|
|
1062
1067
|
emptyColor: !0,
|
|
1063
1068
|
class: "menu-button",
|
|
1064
1069
|
onClickTrigger: n,
|
|
@@ -1081,16 +1086,16 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1081
1086
|
default: o(() => [
|
|
1082
1087
|
c(J, { class: "client-main" }, {
|
|
1083
1088
|
default: o(() => {
|
|
1084
|
-
var K, PA, IA, v, I, X, C, F, E, vA, b, oA, L, T, gA, jA, bA, hA, j, OA, ne, Be, ie, Oe, ye, rA, sA, FA, UA, De,
|
|
1089
|
+
var K, PA, IA, v, I, X, C, F, E, vA, b, oA, L, T, gA, jA, bA, hA, j, OA, ne, Be, ie, Oe, ye, rA, sA, FA, UA, De, _e, $e, An, en, gn, dn, nn, Ln;
|
|
1085
1090
|
return [
|
|
1086
|
-
le((a(), tA(
|
|
1091
|
+
le((a(), tA(k, {
|
|
1087
1092
|
class: "client-aside",
|
|
1088
|
-
style:
|
|
1093
|
+
style: Ye({ backgroundImage: s.platform === "client" ? `url(${A(lf)})` : `url(${A(cf)})` }),
|
|
1089
1094
|
"element-loading-text": "正在加载数据...",
|
|
1090
1095
|
width: "auto"
|
|
1091
1096
|
}, {
|
|
1092
1097
|
default: o(() => [
|
|
1093
|
-
c(
|
|
1098
|
+
c(kt, { mode: "vertical" })
|
|
1094
1099
|
]),
|
|
1095
1100
|
_: 1
|
|
1096
1101
|
}, 8, ["style"])), [
|
|
@@ -1103,8 +1108,8 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1103
1108
|
ref: DA,
|
|
1104
1109
|
"element-loading-text": "正在加载页面数据..."
|
|
1105
1110
|
}, [
|
|
1106
|
-
((PA = A(
|
|
1107
|
-
c(
|
|
1111
|
+
((PA = A(kA)) == null ? void 0 : PA[((K = A(kA)) == null ? void 0 : K.length) - 1]) === A(aA) || (IA = A(kA)) != null && IA.includes("updateLoading") || (v = A(kA)) != null && v.includes("loading") ? (a(), P("div", tv, [
|
|
1112
|
+
c(Me, {
|
|
1108
1113
|
class: "calculator-content back-content",
|
|
1109
1114
|
onClickTrigger: r[4] || (r[4] = (l) => A(ot)()),
|
|
1110
1115
|
modelValue: "返回"
|
|
@@ -1117,25 +1122,25 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1117
1122
|
])
|
|
1118
1123
|
])) : h("", !0),
|
|
1119
1124
|
u("div", vv, [
|
|
1120
|
-
|
|
1121
|
-
!A(
|
|
1125
|
+
Ne.value ? (a(), tA(HA, { key: 0 })) : (a(), P("div", av, [
|
|
1126
|
+
!A(fn) && ((I = A(et)) == null ? void 0 : I.length) === 0 ? (a(!0), P(JA, { key: 0 }, VA((X = A(LA)) == null ? void 0 : X.filter((l) => l.comp !== "FormTop"), (l, O) => {
|
|
1122
1127
|
var ge, je;
|
|
1123
1128
|
return a(), P("div", {
|
|
1124
|
-
class: he((ge = A(
|
|
1129
|
+
class: he((ge = A(Hn)) != null && ge.includes(l == null ? void 0 : l.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
1125
1130
|
key: O,
|
|
1126
|
-
style:
|
|
1131
|
+
style: Ye({ display: (l == null ? void 0 : l.isShow) === !1 ? "none" : "flex" })
|
|
1127
1132
|
}, [
|
|
1128
1133
|
((je = l == null ? void 0 : l.comp) == null ? void 0 : je.toUpperCase()) !== "TABLE" && l.name ? (a(), P("div", lv, [
|
|
1129
1134
|
u("div", cv, lA(l.name), 1)
|
|
1130
1135
|
])) : h("", !0),
|
|
1131
|
-
A(
|
|
1132
|
-
compNames: A(
|
|
1136
|
+
A(an) ? (a(), tA(Je(A(Ze)(l.comp)), {
|
|
1137
|
+
compNames: A(Cn),
|
|
1133
1138
|
compName: l.name,
|
|
1134
|
-
cacheNewData: A(
|
|
1139
|
+
cacheNewData: A(En),
|
|
1135
1140
|
isDevMode: s.showButton,
|
|
1136
1141
|
itemData: l == null ? void 0 : l.compData,
|
|
1137
1142
|
childItemData: l == null ? void 0 : l.itemChildData,
|
|
1138
|
-
key: A(
|
|
1143
|
+
key: A(un),
|
|
1139
1144
|
onChange: A(Te),
|
|
1140
1145
|
index: (l == null ? void 0 : l.id) ?? O,
|
|
1141
1146
|
config: {
|
|
@@ -1144,19 +1149,19 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1144
1149
|
viewport: l == null ? void 0 : l.viewport
|
|
1145
1150
|
},
|
|
1146
1151
|
onContentChange: A(me),
|
|
1147
|
-
onPageChange: A(
|
|
1152
|
+
onPageChange: A(cn),
|
|
1148
1153
|
onRowClick: i,
|
|
1149
1154
|
onRouteUrl: w,
|
|
1150
1155
|
parentTableId: l == null ? void 0 : l.tableId,
|
|
1151
|
-
allMapContents: A(
|
|
1156
|
+
allMapContents: A(ln),
|
|
1152
1157
|
children: l == null ? void 0 : l.children,
|
|
1153
1158
|
level: 1,
|
|
1154
|
-
onClickTrigger: A(
|
|
1155
|
-
onClickMainKey: A(
|
|
1159
|
+
onClickTrigger: A(Pn),
|
|
1160
|
+
onClickMainKey: A(In)
|
|
1156
1161
|
}, null, 40, ["compNames", "compName", "cacheNewData", "isDevMode", "itemData", "childItemData", "onChange", "index", "config", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "onClickTrigger", "onClickMainKey"])) : h("", !0)
|
|
1157
1162
|
], 6);
|
|
1158
1163
|
}), 128)) : h("", !0),
|
|
1159
|
-
!A(
|
|
1164
|
+
!A(fn) && ZA.value === "vertical" && ((C = A(et)) == null ? void 0 : C.length) > 0 ? (a(), tA(A(Dt), {
|
|
1160
1165
|
key: 1,
|
|
1161
1166
|
layout: se.value,
|
|
1162
1167
|
"onUpdate:layout": r[5] || (r[5] = (l) => se.value = l),
|
|
@@ -1182,15 +1187,15 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1182
1187
|
class: he(A(nt)((je = l == null ? void 0 : l.component) == null ? void 0 : je.comp) ? "grid-method-button" : "")
|
|
1183
1188
|
}, {
|
|
1184
1189
|
default: o(() => {
|
|
1185
|
-
var
|
|
1190
|
+
var Mn, kn, Gn, Nn, Jn, Sn, Zn, Yn, Kn, Wn, Fn, Un, Vn, qn, _n, $n;
|
|
1186
1191
|
return [
|
|
1187
1192
|
u("div", {
|
|
1188
|
-
class: he((
|
|
1193
|
+
class: he((kn = A(Hn)) != null && kn.includes((Mn = l == null ? void 0 : l.component) == null ? void 0 : Mn.id) ? "item-view-content affix-content" : "item-view-content")
|
|
1189
1194
|
}, [
|
|
1190
1195
|
((Nn = (Gn = l == null ? void 0 : l.component) == null ? void 0 : Gn.comp) == null ? void 0 : Nn.toUpperCase()) !== "TABLE" && ((Jn = l == null ? void 0 : l.component) != null && Jn.name) ? (a(), P("div", uv, [
|
|
1191
1196
|
u("div", rv, lA((Sn = l == null ? void 0 : l.component) == null ? void 0 : Sn.name), 1)
|
|
1192
1197
|
])) : h("", !0),
|
|
1193
|
-
A(
|
|
1198
|
+
A(an) ? (a(), tA(Je(A(Ze)((Zn = l == null ? void 0 : l.component) == null ? void 0 : Zn.comp)), {
|
|
1194
1199
|
pageLayout: ZA.value,
|
|
1195
1200
|
config: {
|
|
1196
1201
|
showIndex: (Yn = A(LA)[O]) == null ? void 0 : Yn.showIndex,
|
|
@@ -1198,24 +1203,24 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1198
1203
|
viewport: (Wn = A(LA)[O]) == null ? void 0 : Wn.viewport
|
|
1199
1204
|
},
|
|
1200
1205
|
compName: (Fn = l == null ? void 0 : l.component) == null ? void 0 : Fn.name,
|
|
1201
|
-
compNames: A(
|
|
1206
|
+
compNames: A(Cn),
|
|
1202
1207
|
isDevMode: s.showButton,
|
|
1203
1208
|
itemData: (Un = A(LA)[O]) == null ? void 0 : Un.compData,
|
|
1204
1209
|
childItemData: (Vn = A(LA)[O]) == null ? void 0 : Vn.itemChildData,
|
|
1205
|
-
key: A(
|
|
1210
|
+
key: A(un),
|
|
1206
1211
|
onChange: A(Te),
|
|
1207
1212
|
index: ((qn = A(LA)[O]) == null ? void 0 : qn.id) ?? O,
|
|
1208
1213
|
onContentChange: A(me),
|
|
1209
|
-
onPageChange: A(
|
|
1214
|
+
onPageChange: A(cn),
|
|
1210
1215
|
onRowClick: i,
|
|
1211
1216
|
onRouteUrl: w,
|
|
1212
1217
|
parentTableId: (_n = A(LA)[O]) == null ? void 0 : _n.tableId,
|
|
1213
|
-
allMapContents: A(
|
|
1218
|
+
allMapContents: A(ln),
|
|
1214
1219
|
children: ($n = A(LA)[O]) == null ? void 0 : $n.children,
|
|
1215
1220
|
level: 1,
|
|
1216
|
-
cacheNewData: A(
|
|
1217
|
-
onClickTrigger: A(
|
|
1218
|
-
onClickMainKey: A(
|
|
1221
|
+
cacheNewData: A(En),
|
|
1222
|
+
onClickTrigger: A(Pn),
|
|
1223
|
+
onClickMainKey: A(In),
|
|
1219
1224
|
onGetSliceContLength: A(tt)
|
|
1220
1225
|
}, null, 40, ["pageLayout", "config", "compName", "compNames", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "cacheNewData", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : h("", !0)
|
|
1221
1226
|
], 2)
|
|
@@ -1227,7 +1232,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1227
1232
|
]),
|
|
1228
1233
|
_: 1
|
|
1229
1234
|
}, 8, ["layout", "row-height"])) : h("", !0),
|
|
1230
|
-
!A(
|
|
1235
|
+
!A(fn) && ZA.value === "horizontal" ? (a(), P("div", ov, [
|
|
1231
1236
|
c(nA, {
|
|
1232
1237
|
modelValue: ze.value,
|
|
1233
1238
|
"onUpdate:modelValue": r[6] || (r[6] = (l) => ze.value = l),
|
|
@@ -1250,32 +1255,32 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1250
1255
|
((je = O == null ? void 0 : O.comp) == null ? void 0 : je.toUpperCase()) !== "TABLE" && O.name ? (a(), P("div", iv, [
|
|
1251
1256
|
u("div", gv, lA(O.name), 1)
|
|
1252
1257
|
])) : h("", !0),
|
|
1253
|
-
A(
|
|
1258
|
+
A(an) ? (a(), tA(Je(A(Ze)(O.comp)), {
|
|
1254
1259
|
pageLayout: ZA.value,
|
|
1255
1260
|
compName: O.name,
|
|
1256
|
-
compNames: A(
|
|
1261
|
+
compNames: A(Cn),
|
|
1257
1262
|
isDevMode: s.showButton,
|
|
1258
1263
|
itemData: O == null ? void 0 : O.compData,
|
|
1259
1264
|
childItemData: O == null ? void 0 : O.itemChildData,
|
|
1260
|
-
key: A(
|
|
1265
|
+
key: A(un),
|
|
1261
1266
|
onChange: A(Te),
|
|
1262
1267
|
index: (O == null ? void 0 : O.id) ?? ge,
|
|
1263
1268
|
onContentChange: A(me),
|
|
1264
|
-
onPageChange: A(
|
|
1269
|
+
onPageChange: A(cn),
|
|
1265
1270
|
onRowClick: i,
|
|
1266
1271
|
onRouteUrl: w,
|
|
1267
1272
|
parentTableId: O == null ? void 0 : O.tableId,
|
|
1268
|
-
allMapContents: A(
|
|
1273
|
+
allMapContents: A(ln),
|
|
1269
1274
|
children: O == null ? void 0 : O.children,
|
|
1270
1275
|
level: 1,
|
|
1271
|
-
cacheNewData: A(
|
|
1276
|
+
cacheNewData: A(En),
|
|
1272
1277
|
config: {
|
|
1273
1278
|
showIndex: O == null ? void 0 : O.showIndex,
|
|
1274
1279
|
allowMove: O == null ? void 0 : O.allowMove,
|
|
1275
1280
|
viewport: O == null ? void 0 : O.viewport
|
|
1276
1281
|
},
|
|
1277
|
-
onClickTrigger: A(
|
|
1278
|
-
onClickMainKey: A(
|
|
1282
|
+
onClickTrigger: A(Pn),
|
|
1283
|
+
onClickMainKey: A(In),
|
|
1279
1284
|
onGetSliceContLength: A(tt)
|
|
1280
1285
|
}, null, 40, ["pageLayout", "compName", "compNames", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "cacheNewData", "config", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : h("", !0)
|
|
1281
1286
|
])
|
|
@@ -1288,7 +1293,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1288
1293
|
_: 1
|
|
1289
1294
|
}, 8, ["modelValue"])
|
|
1290
1295
|
])) : h("", !0),
|
|
1291
|
-
A(
|
|
1296
|
+
A(fn) ? (a(), tA(NA, {
|
|
1292
1297
|
key: 3,
|
|
1293
1298
|
direction: "horizontal",
|
|
1294
1299
|
active: (F = A(YA)) == null ? void 0 : F.index,
|
|
@@ -1310,39 +1315,39 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1310
1315
|
]),
|
|
1311
1316
|
_: 1
|
|
1312
1317
|
}, 8, ["active"])) : h("", !0),
|
|
1313
|
-
A(
|
|
1318
|
+
A(fn) ? (a(), P("div", {
|
|
1314
1319
|
key: 4,
|
|
1315
|
-
class: he((b = A(
|
|
1316
|
-
style:
|
|
1320
|
+
class: he((b = A(Hn)) != null && b.includes((vA = (E = A(YA)) == null ? void 0 : E.comp) == null ? void 0 : vA.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
1321
|
+
style: Ye({ display: ((L = (oA = A(YA)) == null ? void 0 : oA.comp) == null ? void 0 : L.isShow) === !1 ? "none" : "flex" })
|
|
1317
1322
|
}, [
|
|
1318
1323
|
((jA = (gA = (T = A(YA)) == null ? void 0 : T.comp) == null ? void 0 : gA.comp) == null ? void 0 : jA.toUpperCase()) !== "TABLE" && ((hA = (bA = A(YA)) == null ? void 0 : bA.comp) != null && hA.name) ? (a(), P("div", dv, [
|
|
1319
1324
|
u("div", Iv, lA((OA = (j = A(YA)) == null ? void 0 : j.comp) == null ? void 0 : OA.name), 1)
|
|
1320
1325
|
])) : h("", !0),
|
|
1321
|
-
A(
|
|
1326
|
+
A(an) ? (a(), tA(Je(A(Ze)((Be = (ne = A(YA)) == null ? void 0 : ne.comp) == null ? void 0 : Be.comp)), {
|
|
1322
1327
|
compItem: (ie = A(YA)) == null ? void 0 : ie.comp,
|
|
1323
|
-
compNames: A(
|
|
1328
|
+
compNames: A(Cn),
|
|
1324
1329
|
compName: (ye = (Oe = A(YA)) == null ? void 0 : Oe.comp) == null ? void 0 : ye.name,
|
|
1325
|
-
cacheNewData: A(
|
|
1330
|
+
cacheNewData: A(En),
|
|
1326
1331
|
isDevMode: s.showButton,
|
|
1327
1332
|
itemData: (sA = (rA = A(YA)) == null ? void 0 : rA.comp) == null ? void 0 : sA.compData,
|
|
1328
1333
|
childItemData: (UA = (FA = A(YA)) == null ? void 0 : FA.comp) == null ? void 0 : UA.itemChildData,
|
|
1329
|
-
key: A(
|
|
1334
|
+
key: A(un),
|
|
1330
1335
|
onChange: A(Te),
|
|
1331
|
-
index: (
|
|
1336
|
+
index: (_e = (De = A(YA)) == null ? void 0 : De.comp) == null ? void 0 : _e.id,
|
|
1332
1337
|
onContentChange: A(me),
|
|
1333
|
-
onPageChange: A(
|
|
1338
|
+
onPageChange: A(cn),
|
|
1334
1339
|
onRowClick: i,
|
|
1335
1340
|
onRouteUrl: w,
|
|
1336
|
-
parentTableId: (
|
|
1337
|
-
allMapContents: A(
|
|
1338
|
-
children: (
|
|
1341
|
+
parentTableId: (An = ($e = A(YA)) == null ? void 0 : $e.comp) == null ? void 0 : An.tableId,
|
|
1342
|
+
allMapContents: A(ln),
|
|
1343
|
+
children: (gn = (en = A(YA)) == null ? void 0 : en.comp) == null ? void 0 : gn.children,
|
|
1339
1344
|
level: 1,
|
|
1340
|
-
onClickTrigger: A(
|
|
1341
|
-
onClickMainKey: A(
|
|
1345
|
+
onClickTrigger: A(Pn),
|
|
1346
|
+
onClickMainKey: A(In)
|
|
1342
1347
|
}, null, 40, ["compItem", "compNames", "compName", "cacheNewData", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "onClickTrigger", "onClickMainKey"])) : h("", !0)
|
|
1343
1348
|
], 6)) : h("", !0),
|
|
1344
|
-
!((
|
|
1345
|
-
ee() ? (a(), tA(
|
|
1349
|
+
!((dn = A(de)) != null && dn.find((l) => l.comp === "methodButton")) && ((nn = A(kA)) != null && nn.includes(A(g))) ? (a(), P("div", Pv, [
|
|
1350
|
+
ee() ? (a(), tA(Me, {
|
|
1346
1351
|
key: 0,
|
|
1347
1352
|
class: "calculator-content",
|
|
1348
1353
|
onClickTrigger: D,
|
|
@@ -1352,8 +1357,8 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1352
1357
|
]))
|
|
1353
1358
|
])
|
|
1354
1359
|
])), [
|
|
1355
|
-
[QA, A(
|
|
1356
|
-
]) : (Ln = A(
|
|
1360
|
+
[QA, A(qe)]
|
|
1361
|
+
]) : (Ln = A(kA)) != null && Ln.includes("首页") ? (a(), P("div", Ev, [
|
|
1357
1362
|
c(TA, {
|
|
1358
1363
|
src: A(af),
|
|
1359
1364
|
fit: "contain"
|
|
@@ -1367,7 +1372,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1367
1372
|
_: 1
|
|
1368
1373
|
}),
|
|
1369
1374
|
u("div", null, [
|
|
1370
|
-
c(
|
|
1375
|
+
c(zn, {
|
|
1371
1376
|
visible: $A.value,
|
|
1372
1377
|
onBeforeDestroy: _,
|
|
1373
1378
|
style: { height: "700px", width: "1000px" }
|
|
@@ -1375,7 +1380,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1375
1380
|
default: o(() => [
|
|
1376
1381
|
c(Gt, {
|
|
1377
1382
|
ref_key: "threeModelRef",
|
|
1378
|
-
ref:
|
|
1383
|
+
ref: MA
|
|
1379
1384
|
}, null, 512)
|
|
1380
1385
|
]),
|
|
1381
1386
|
_: 1
|
|
@@ -1384,7 +1389,7 @@ const $t = /* @__PURE__ */ He(zt, [["render", _t], ["__scopeId", "data-v-0cbc421
|
|
|
1384
1389
|
]),
|
|
1385
1390
|
_: 3
|
|
1386
1391
|
})), [
|
|
1387
|
-
[
|
|
1392
|
+
[Se, A(oe) === "view"],
|
|
1388
1393
|
[QA, A(pe)]
|
|
1389
1394
|
])
|
|
1390
1395
|
], 64);
|
|
@@ -1422,7 +1427,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1422
1427
|
}, hv = { class: "task-drop-menu" }, Lv = {
|
|
1423
1428
|
key: 0,
|
|
1424
1429
|
class: "task-loading"
|
|
1425
|
-
},
|
|
1430
|
+
}, Mv = ["title", "onClick"], kv = { class: "panel-body client-container" }, Gv = {
|
|
1426
1431
|
key: 0,
|
|
1427
1432
|
class: "menu-empty"
|
|
1428
1433
|
}, Nv = {
|
|
@@ -1437,7 +1442,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1437
1442
|
}, Yv = {
|
|
1438
1443
|
key: 2,
|
|
1439
1444
|
class: "item-view-child-content"
|
|
1440
|
-
}, Kv = { class: "menu-panel" }, Wv = { class: "panel-body client-container" }, Fv = "消息中心/未读消息", Uv = "消息中心/已读消息", Vv = /* @__PURE__ */
|
|
1445
|
+
}, Kv = { class: "menu-panel" }, Wv = { class: "panel-body client-container" }, Fv = "消息中心/未读消息", Uv = "消息中心/已读消息", Vv = /* @__PURE__ */ Xn({
|
|
1441
1446
|
__name: "index",
|
|
1442
1447
|
props: {
|
|
1443
1448
|
windowConfig: {
|
|
@@ -1463,13 +1468,13 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1463
1468
|
}).length
|
|
1464
1469
|
);
|
|
1465
1470
|
qA(() => S.value > 99 ? "99+" : S.value);
|
|
1466
|
-
const t = mn(wA), { originalPath: G } = XA(t), Y = G.value, eA = hn(wA), { selectTitle: g } = XA(eA), aA = d(!1), N = d(), W = d(null), cA = d(), uA = d(!1), fA = it(wA), { blobUrls: m } = XA(fA), zA = d(!1), _A = d(!1),
|
|
1467
|
-
|
|
1468
|
-
const re = xn(), { loginUserInfo: Z } = XA(re), CA =
|
|
1471
|
+
const t = mn(wA), { originalPath: G } = XA(t), Y = G.value, eA = hn(wA), { selectTitle: g } = XA(eA), aA = d(!1), N = d(), W = d(null), cA = d(), uA = d(!1), fA = it(wA), { blobUrls: m } = XA(fA), zA = d(!1), _A = d(!1), MA = d(!1), V = d([]), $A = d(), ce = d(!1), EA = d(null), ue = d(), fe = d(!1), ve = d(!1);
|
|
1472
|
+
vn("contentRef", EA);
|
|
1473
|
+
const re = xn(), { loginUserInfo: Z } = XA(re), CA = on(wA), { isEdit: DA, routeToChildPath: WA } = XA(CA), Pe = U, Ee = sn(wA), { asideMenuLoading: Fe, importLoading: Ue, activeAsideMenu: pA, contentLoading: we, platName: oe, activeMenuPath: SA } = XA(Ee), Ce = Nt(wA), { data: Ae } = XA(Ce);
|
|
1469
1474
|
Jt();
|
|
1470
|
-
const ae = s, pe = qA(() => pA.value.isRouter),
|
|
1475
|
+
const ae = s, pe = qA(() => pA.value.isRouter), Ve = () => {
|
|
1471
1476
|
sessionStorage.clear(), window.location.reload();
|
|
1472
|
-
},
|
|
1477
|
+
}, qe = (v) => {
|
|
1473
1478
|
if ((v == null ? void 0 : v.type) === "table") {
|
|
1474
1479
|
let I = v == null ? void 0 : v.row;
|
|
1475
1480
|
v == null || v.rowData;
|
|
@@ -1513,7 +1518,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1513
1518
|
KA(
|
|
1514
1519
|
() => SA.value,
|
|
1515
1520
|
async (v) => {
|
|
1516
|
-
v && (_A.value = !0), v === "弯管仿真加工分析/仿真动画生成" ?
|
|
1521
|
+
v && (_A.value = !0), v === "弯管仿真加工分析/仿真动画生成" ? MA.value = !0 : MA.value = !1, v === "弯管仿真加工分析/程序输出" ? ce.value = !0 : ce.value = !1, Ke != null && Ke.find((I) => {
|
|
1517
1522
|
var X;
|
|
1518
1523
|
return (I == null ? void 0 : I.key) === ((X = v == null ? void 0 : v.split("/")) == null ? void 0 : X[(v == null ? void 0 : v.split("/").length) - 1]);
|
|
1519
1524
|
}) ? zA.value = !0 : zA.value = !1;
|
|
@@ -1526,14 +1531,14 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1526
1531
|
if (m != null && m.value && ((v = m == null ? void 0 : m.value) == null ? void 0 : v.length) > 0 && !zA.value && !((I = de.value) != null && I.find((E) => (E == null ? void 0 : E.name) === "输入") && ((X = de.value) != null && X.find((E) => (E == null ? void 0 : E.name) === "输出")))) {
|
|
1527
1532
|
uA.value = !0;
|
|
1528
1533
|
let E = [];
|
|
1529
|
-
const vA = await ((C =
|
|
1534
|
+
const vA = await ((C = Ge(m == null ? void 0 : m.value)) == null ? void 0 : C.map(async (b) => {
|
|
1530
1535
|
var jA, bA, hA, j, OA, ne, Be, ie, Oe, ye;
|
|
1531
1536
|
let oA, L, T;
|
|
1532
1537
|
b != null && b.blob.includes("undefined") ? T = (bA = (jA = b == null ? void 0 : b.blob) == null ? void 0 : jA.split("undefined,")) == null ? void 0 : bA[1] : T = b == null ? void 0 : b.blob;
|
|
1533
1538
|
let gA = T == null ? void 0 : T.split(",");
|
|
1534
1539
|
if ((gA == null ? void 0 : gA.length) > 1) {
|
|
1535
1540
|
let rA = await (gA == null ? void 0 : gA.map(async (sA) => {
|
|
1536
|
-
var UA, De,
|
|
1541
|
+
var UA, De, _e, $e, An, en;
|
|
1537
1542
|
oA = await Xe.get(sA, {
|
|
1538
1543
|
responseType: "blob",
|
|
1539
1544
|
headers: {
|
|
@@ -1542,23 +1547,23 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1542
1547
|
});
|
|
1543
1548
|
let FA = [];
|
|
1544
1549
|
if (((UA = b == null ? void 0 : b.mtlBlobs) == null ? void 0 : UA.length) > 0) {
|
|
1545
|
-
let
|
|
1546
|
-
let
|
|
1550
|
+
let gn = await ((De = b == null ? void 0 : b.mtlBlobs) == null ? void 0 : De.map(async (dn) => {
|
|
1551
|
+
let nn = await Xe.get(dn, {
|
|
1547
1552
|
responseType: "blob",
|
|
1548
1553
|
headers: {
|
|
1549
1554
|
"Content-Type": "application/json"
|
|
1550
1555
|
}
|
|
1551
1556
|
});
|
|
1552
1557
|
return FA.push(
|
|
1553
|
-
new Blob([
|
|
1558
|
+
new Blob([nn.data], {
|
|
1554
1559
|
type: "application/octet-stream;charset=UTF-8"
|
|
1555
1560
|
})
|
|
1556
|
-
),
|
|
1561
|
+
), nn;
|
|
1557
1562
|
}));
|
|
1558
|
-
await Promise.all(
|
|
1563
|
+
await Promise.all(gn);
|
|
1559
1564
|
}
|
|
1560
|
-
return ((
|
|
1561
|
-
suffix: "." + ((
|
|
1565
|
+
return (($e = sA == null ? void 0 : sA.split(".")) == null ? void 0 : $e[((_e = sA == null ? void 0 : sA.split(".")) == null ? void 0 : _e.length) - 1]) !== "undefined" && E.push({
|
|
1566
|
+
suffix: "." + ((en = sA == null ? void 0 : sA.split(".")) == null ? void 0 : en[((An = sA == null ? void 0 : sA.split(".")) == null ? void 0 : An.length) - 1]),
|
|
1562
1567
|
blob: new Blob([oA.data], {
|
|
1563
1568
|
type: "application/octet-stream;charset=UTF-8"
|
|
1564
1569
|
}),
|
|
@@ -1567,13 +1572,13 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1567
1572
|
}));
|
|
1568
1573
|
await Promise.all(rA);
|
|
1569
1574
|
} else if (!(T != null && T.includes("https://")) && !(T != null && T.includes("http://"))) {
|
|
1570
|
-
oA = await
|
|
1575
|
+
oA = await Bn({
|
|
1571
1576
|
url: T
|
|
1572
1577
|
});
|
|
1573
1578
|
let rA = [];
|
|
1574
1579
|
if (((hA = b == null ? void 0 : b.mtlBlobs) == null ? void 0 : hA.length) > 0) {
|
|
1575
1580
|
let sA = await ((j = b == null ? void 0 : b.mtlBlobs) == null ? void 0 : j.map(async (FA) => {
|
|
1576
|
-
let UA = await
|
|
1581
|
+
let UA = await Bn({
|
|
1577
1582
|
url: FA
|
|
1578
1583
|
});
|
|
1579
1584
|
return rA.push(
|
|
@@ -1630,7 +1635,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1630
1635
|
},
|
|
1631
1636
|
{ immediate: !0, deep: !0 }
|
|
1632
1637
|
);
|
|
1633
|
-
const
|
|
1638
|
+
const kA = (v, I) => {
|
|
1634
1639
|
ve.value = !0, $A.value = I, (I == null ? void 0 : I.isEdit) === !0 ? V.value = v : V.value = v == null ? void 0 : v.map((X) => {
|
|
1635
1640
|
var C;
|
|
1636
1641
|
return X.compData = (C = X.compData) == null ? void 0 : C.map((F) => {
|
|
@@ -1640,7 +1645,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1640
1645
|
});
|
|
1641
1646
|
}, xA = async () => {
|
|
1642
1647
|
await st();
|
|
1643
|
-
},
|
|
1648
|
+
}, Ne = d("数据管理"), n = d(!1), i = d(), p = d(), H = d({
|
|
1644
1649
|
x: 0,
|
|
1645
1650
|
y: 0
|
|
1646
1651
|
}), _ = () => {
|
|
@@ -1651,7 +1656,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1651
1656
|
}, w = d({
|
|
1652
1657
|
width: "20vw"
|
|
1653
1658
|
}), D = (v) => {
|
|
1654
|
-
|
|
1659
|
+
Ne.value = v;
|
|
1655
1660
|
}, Q = (v) => {
|
|
1656
1661
|
_(), n.value = v;
|
|
1657
1662
|
}, mA = () => {
|
|
@@ -1661,11 +1666,11 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1661
1666
|
right: `${80 - H.value.x}px`,
|
|
1662
1667
|
width: w.value.width
|
|
1663
1668
|
})), iA = (v) => {
|
|
1664
|
-
AA(v == null ? void 0 : v.title),
|
|
1669
|
+
AA(v == null ? void 0 : v.title), k(!0);
|
|
1665
1670
|
}, GA = () => {
|
|
1666
1671
|
Q(!1);
|
|
1667
1672
|
};
|
|
1668
|
-
|
|
1673
|
+
vn("managementPageVisible", n), vn("setManagementPageTitle", D), vn("setManagementPageVisible", Q);
|
|
1669
1674
|
let ee = 0, Qe = 0;
|
|
1670
1675
|
function se(v) {
|
|
1671
1676
|
const I = Qe - (v.clientX - ee);
|
|
@@ -1677,24 +1682,24 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1677
1682
|
const ze = (v) => {
|
|
1678
1683
|
ee = v.clientX, Qe = parseInt(getComputedStyle(i.value).width, 10), document.addEventListener("mousemove", se), document.addEventListener("mouseup", ZA);
|
|
1679
1684
|
};
|
|
1680
|
-
let f = 0, r = 0,
|
|
1685
|
+
let f = 0, r = 0, M = 0, $ = 0;
|
|
1681
1686
|
function q(v) {
|
|
1682
|
-
f = v.clientX, r = v.clientY,
|
|
1687
|
+
f = v.clientX, r = v.clientY, M = H.value.x, $ = H.value.y, document.addEventListener("mousemove", B), document.addEventListener("mouseup", x);
|
|
1683
1688
|
}
|
|
1684
1689
|
function B(v) {
|
|
1685
|
-
H.value.x =
|
|
1690
|
+
H.value.x = M + (v.clientX - f), H.value.y = $ + (v.clientY - r);
|
|
1686
1691
|
}
|
|
1687
1692
|
function x() {
|
|
1688
1693
|
document.removeEventListener("mousemove", B), document.removeEventListener("mouseup", x);
|
|
1689
1694
|
}
|
|
1690
1695
|
const z = d(""), AA = (v) => {
|
|
1691
1696
|
z.value = v;
|
|
1692
|
-
}, nA = d(!1),
|
|
1697
|
+
}, nA = d(!1), k = (v) => {
|
|
1693
1698
|
nA.value = v;
|
|
1694
1699
|
}, HA = () => {
|
|
1695
1700
|
nA.value = !nA.value;
|
|
1696
1701
|
}, RA = () => {
|
|
1697
|
-
|
|
1702
|
+
k(!1);
|
|
1698
1703
|
}, NA = (v) => {
|
|
1699
1704
|
const I = v == null ? void 0 : v.label;
|
|
1700
1705
|
D(I), Q(!0);
|
|
@@ -1714,7 +1719,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1714
1719
|
isThreeScene: C
|
|
1715
1720
|
});
|
|
1716
1721
|
};
|
|
1717
|
-
|
|
1722
|
+
jn(async () => {
|
|
1718
1723
|
Pe("setLoginInfo", Z.value);
|
|
1719
1724
|
async function v() {
|
|
1720
1725
|
var I, X, C, F, E, vA, b, oA, L, T, gA;
|
|
@@ -1762,7 +1767,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1762
1767
|
return (v, I) => {
|
|
1763
1768
|
const X = dA("el-dialog"), C = dA("el-button"), F = dA("el-header"), E = dA("el-container"), vA = dA("router-view"), b = dA("el-main"), oA = at("loading");
|
|
1764
1769
|
return a(), P(JA, null, [
|
|
1765
|
-
c(
|
|
1770
|
+
c(zn, {
|
|
1766
1771
|
visible: ve.value,
|
|
1767
1772
|
onBeforeDestroy: I[0] || (I[0] = (L) => ve.value = !1),
|
|
1768
1773
|
fullScreen: !0
|
|
@@ -1862,7 +1867,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1862
1867
|
]),
|
|
1863
1868
|
_: 3
|
|
1864
1869
|
}, 512), [
|
|
1865
|
-
[
|
|
1870
|
+
[Se, A(DA) === "edit"]
|
|
1866
1871
|
]),
|
|
1867
1872
|
le((a(), tA(E, {
|
|
1868
1873
|
class: "client-container",
|
|
@@ -1919,7 +1924,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1919
1924
|
class: "menu-icon"
|
|
1920
1925
|
})
|
|
1921
1926
|
])) : h("", !0),
|
|
1922
|
-
A(DA) === "view" ? (a(), tA(
|
|
1927
|
+
A(DA) === "view" ? (a(), tA(rn, {
|
|
1923
1928
|
key: 1,
|
|
1924
1929
|
class: "three-dropdown-menu",
|
|
1925
1930
|
"popper-class": "three-poper",
|
|
@@ -1941,7 +1946,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1941
1946
|
key: T,
|
|
1942
1947
|
title: L == null ? void 0 : L.name,
|
|
1943
1948
|
onClick: (gA) => PA(L)
|
|
1944
|
-
}, lA(L == null ? void 0 : L.name), 9,
|
|
1949
|
+
}, lA(L == null ? void 0 : L.name), 9, Mv))), 128))
|
|
1945
1950
|
])
|
|
1946
1951
|
]),
|
|
1947
1952
|
_: 1
|
|
@@ -1949,7 +1954,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1949
1954
|
u("div", {
|
|
1950
1955
|
class: "top-icon",
|
|
1951
1956
|
title: "登出",
|
|
1952
|
-
onClick:
|
|
1957
|
+
onClick: Ve
|
|
1953
1958
|
}, [
|
|
1954
1959
|
c(yA, {
|
|
1955
1960
|
name: "退出",
|
|
@@ -1977,26 +1982,26 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
1977
1982
|
]),
|
|
1978
1983
|
_: 3
|
|
1979
1984
|
})), [
|
|
1980
|
-
[
|
|
1981
|
-
[oA, A(
|
|
1985
|
+
[Se, A(DA) === "view"],
|
|
1986
|
+
[oA, A(Ue)]
|
|
1982
1987
|
]),
|
|
1983
1988
|
le(u("div", {
|
|
1984
1989
|
class: "management-page-panel",
|
|
1985
1990
|
ref_key: "managementPagePanel",
|
|
1986
1991
|
ref: i,
|
|
1987
|
-
style:
|
|
1992
|
+
style: Ye(BA.value)
|
|
1988
1993
|
}, [
|
|
1989
1994
|
u("div", {
|
|
1990
1995
|
class: "panel-header",
|
|
1991
1996
|
onMousedown: q
|
|
1992
1997
|
}, [
|
|
1993
|
-
u("span", null, lA(
|
|
1998
|
+
u("span", null, lA(Ne.value), 1),
|
|
1994
1999
|
u("span", {
|
|
1995
2000
|
class: "close",
|
|
1996
2001
|
onClick: GA
|
|
1997
2002
|
}, " X ")
|
|
1998
2003
|
], 32),
|
|
1999
|
-
u("div",
|
|
2004
|
+
u("div", kv, [
|
|
2000
2005
|
A(SA) ? h("", !0) : (a(), P("div", Gv, " 请先选择菜单 ")),
|
|
2001
2006
|
u("div", {
|
|
2002
2007
|
class: "resize-bar",
|
|
@@ -2020,7 +2025,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2020
2025
|
"element-loading-text": "正在加载页面数据..."
|
|
2021
2026
|
}, [
|
|
2022
2027
|
((T = A(SA)) == null ? void 0 : T[((L = A(SA)) == null ? void 0 : L.length) - 1]) === A(Y) || (gA = A(SA)) != null && gA.includes("updateLoading") || (jA = A(SA)) != null && jA.includes("loading") ? (a(), P("div", Nv, [
|
|
2023
|
-
c(
|
|
2028
|
+
c(Me, {
|
|
2024
2029
|
class: "calculator-content back-content",
|
|
2025
2030
|
onClickTrigger: I[4] || (I[4] = (j) => A(ot)()),
|
|
2026
2031
|
modelValue: "返回"
|
|
@@ -2033,29 +2038,29 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2033
2038
|
return a(), P("div", {
|
|
2034
2039
|
class: "item-view-content",
|
|
2035
2040
|
key: OA,
|
|
2036
|
-
style:
|
|
2041
|
+
style: Ye({ display: (j == null ? void 0 : j.isShow) === !1 ? "none" : "flex" })
|
|
2037
2042
|
}, [
|
|
2038
2043
|
((ne = j == null ? void 0 : j.comp) == null ? void 0 : ne.toUpperCase()) !== "TABLE" && j.name ? (a(), P("div", Sv, [
|
|
2039
2044
|
u("div", Zv, lA(j.name), 1)
|
|
2040
2045
|
])) : h("", !0),
|
|
2041
|
-
A(
|
|
2046
|
+
A(an) ? (a(), tA(Je(A(Ze)(j.comp)), {
|
|
2042
2047
|
compName: j.name,
|
|
2043
2048
|
itemData: j == null ? void 0 : j.compData,
|
|
2044
2049
|
childItemData: j == null ? void 0 : j.itemChildData,
|
|
2045
|
-
key: A(
|
|
2050
|
+
key: A(un),
|
|
2046
2051
|
onChange: A(Te),
|
|
2047
2052
|
index: (j == null ? void 0 : j.id) ?? OA,
|
|
2048
2053
|
onContentChange: A(me),
|
|
2049
|
-
onPageChange: A(
|
|
2050
|
-
onRowClick:
|
|
2051
|
-
onRouteUrl:
|
|
2054
|
+
onPageChange: A(cn),
|
|
2055
|
+
onRowClick: qe,
|
|
2056
|
+
onRouteUrl: kA,
|
|
2052
2057
|
parentTableId: j == null ? void 0 : j.tableId,
|
|
2053
|
-
allMapContents: A(
|
|
2058
|
+
allMapContents: A(ln)
|
|
2054
2059
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents"])) : h("", !0)
|
|
2055
2060
|
], 4);
|
|
2056
2061
|
}), 128)),
|
|
2057
2062
|
!pe.value && !((hA = A(de)) != null && hA.find((j) => j.comp === "methodButton")) ? (a(), P("div", Yv, [
|
|
2058
|
-
IA() ? (a(), tA(
|
|
2063
|
+
IA() ? (a(), tA(Me, {
|
|
2059
2064
|
key: 0,
|
|
2060
2065
|
class: "calculator-content",
|
|
2061
2066
|
onClickTrigger: xA,
|
|
@@ -2075,7 +2080,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2075
2080
|
})) : h("", !0)
|
|
2076
2081
|
])
|
|
2077
2082
|
], 4), [
|
|
2078
|
-
[
|
|
2083
|
+
[Se, n.value]
|
|
2079
2084
|
]),
|
|
2080
2085
|
le(u("div", Kv, [
|
|
2081
2086
|
u("div", { class: "panel-header" }, [
|
|
@@ -2094,7 +2099,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2094
2099
|
})
|
|
2095
2100
|
])
|
|
2096
2101
|
], 512), [
|
|
2097
|
-
[
|
|
2102
|
+
[Se, nA.value]
|
|
2098
2103
|
])
|
|
2099
2104
|
], 64);
|
|
2100
2105
|
};
|
|
@@ -2125,7 +2130,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2125
2130
|
},
|
|
2126
2131
|
emits: ["buildContent", "showChild"],
|
|
2127
2132
|
setup(s, { emit: U }) {
|
|
2128
|
-
const e =
|
|
2133
|
+
const e = on(wA), R = hn(wA), y = sn();
|
|
2129
2134
|
d(!1);
|
|
2130
2135
|
const S = d(!0), t = s, G = U, Y = (N) => {
|
|
2131
2136
|
G("showChild", N);
|
|
@@ -2247,10 +2252,10 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2247
2252
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
2248
2253
|
setup(s, { emit: U }) {
|
|
2249
2254
|
const e = s, R = U;
|
|
2250
|
-
|
|
2251
|
-
const y = d([]), S = d(0), t = d([]), G = d([]), Y = d(0), eA =
|
|
2255
|
+
Mt();
|
|
2256
|
+
const y = d([]), S = d(0), t = d([]), G = d([]), Y = d(0), eA = on(wA), g = sn(wA), { itemData: aA, originalData: N } = XA(eA), { activeMenuPath: W, platform: cA } = XA(g), uA = d(null), fA = d(0), m = d([]);
|
|
2252
2257
|
d("");
|
|
2253
|
-
const zA = d(0), _A = d([]),
|
|
2258
|
+
const zA = d(0), _A = d([]), MA = xn(), { loginUserInfo: V, systemKey: $A } = XA(MA), ce = () => {
|
|
2254
2259
|
R("buildContent");
|
|
2255
2260
|
};
|
|
2256
2261
|
KA(
|
|
@@ -2300,7 +2305,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2300
2305
|
R("contentChange", n);
|
|
2301
2306
|
}, fe = (n) => {
|
|
2302
2307
|
var p;
|
|
2303
|
-
const i = (p =
|
|
2308
|
+
const i = (p = Ge(n == null ? void 0 : n.wholeValue)) == null ? void 0 : p.map((H) => {
|
|
2304
2309
|
var _;
|
|
2305
2310
|
return (H == null ? void 0 : H.comp) === "Form" && (H.compData = (_ = H.compData) == null ? void 0 : _.map((w) => ((w == null ? void 0 : w.key) === "formContent" && (w.contents = Lt(w == null ? void 0 : w.contents)), w))), H;
|
|
2306
2311
|
});
|
|
@@ -2368,7 +2373,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2368
2373
|
const n = (_ = V == null ? void 0 : V.value) == null ? void 0 : _.account, i = (w = V == null ? void 0 : V.value) == null ? void 0 : w.password;
|
|
2369
2374
|
if (!n)
|
|
2370
2375
|
return;
|
|
2371
|
-
const p = await
|
|
2376
|
+
const p = await tn({
|
|
2372
2377
|
valueLikes: {
|
|
2373
2378
|
"tableData.account": n,
|
|
2374
2379
|
"tableData.password": i
|
|
@@ -2379,23 +2384,23 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2379
2384
|
var BA, iA;
|
|
2380
2385
|
return ((iA = (BA = Q == null ? void 0 : Q.value) == null ? void 0 : BA.tableData) == null ? void 0 : iA.account) === n;
|
|
2381
2386
|
}), H;
|
|
2382
|
-
},
|
|
2387
|
+
}, Fe = async () => {
|
|
2383
2388
|
const n = await Ee(), i = n == null ? void 0 : n.map((p) => p == null ? void 0 : p.key);
|
|
2384
2389
|
CA.value = i;
|
|
2385
|
-
},
|
|
2390
|
+
}, Ue = () => {
|
|
2386
2391
|
if (!Z.value.targetModel) {
|
|
2387
2392
|
const i = CA.value, p = i == null ? void 0 : i[0], H = p == null ? void 0 : p.systemKey;
|
|
2388
2393
|
Z.value.targetModel = H;
|
|
2389
2394
|
}
|
|
2390
2395
|
}, pA = async () => {
|
|
2391
2396
|
var i;
|
|
2392
|
-
(i = V == null ? void 0 : V.value) != null && i.account && (DA.value = !0, await
|
|
2397
|
+
(i = V == null ? void 0 : V.value) != null && i.account && (DA.value = !0, await Fe(), Ue());
|
|
2393
2398
|
}, we = (n) => {
|
|
2394
|
-
sessionStorage.setItem("systemKey", n),
|
|
2399
|
+
sessionStorage.setItem("systemKey", n), MA.setSystemKey(n), Ft();
|
|
2395
2400
|
}, oe = async (n) => {
|
|
2396
2401
|
var i, p, H, _, w, D, Q, mA, BA;
|
|
2397
2402
|
try {
|
|
2398
|
-
const iA = await
|
|
2403
|
+
const iA = await tn({
|
|
2399
2404
|
key: {
|
|
2400
2405
|
systemKey: n,
|
|
2401
2406
|
layer: "superAdmin"
|
|
@@ -2423,7 +2428,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2423
2428
|
}, Ae = async () => {
|
|
2424
2429
|
var i, p, H;
|
|
2425
2430
|
(i = V == null ? void 0 : V.value) == null || i.account, (p = V == null ? void 0 : V.value) == null || p.password;
|
|
2426
|
-
const n = await
|
|
2431
|
+
const n = await tn({
|
|
2427
2432
|
key: {
|
|
2428
2433
|
pageKey: "/user"
|
|
2429
2434
|
}
|
|
@@ -2437,9 +2442,9 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2437
2442
|
return Math.max(w, p);
|
|
2438
2443
|
}, 0);
|
|
2439
2444
|
}, pe = async () => {
|
|
2440
|
-
const n = await
|
|
2445
|
+
const n = await Ve();
|
|
2441
2446
|
we(n), oe(n), Pe();
|
|
2442
|
-
},
|
|
2447
|
+
}, Ve = async () => {
|
|
2443
2448
|
var w, D, Q;
|
|
2444
2449
|
const n = await ae();
|
|
2445
2450
|
if (!n)
|
|
@@ -2458,7 +2463,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2458
2463
|
}
|
|
2459
2464
|
}
|
|
2460
2465
|
}), i;
|
|
2461
|
-
},
|
|
2466
|
+
}, qe = async (n) => {
|
|
2462
2467
|
if (!n)
|
|
2463
2468
|
return;
|
|
2464
2469
|
const i = (n == null ? void 0 : n.key) || {}, p = {
|
|
@@ -2475,7 +2480,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2475
2480
|
(i == null ? void 0 : i.length) > 0 && await At({
|
|
2476
2481
|
ids: i
|
|
2477
2482
|
});
|
|
2478
|
-
},
|
|
2483
|
+
}, kA = async () => {
|
|
2479
2484
|
Z.value.targetModel = "", await pA();
|
|
2480
2485
|
}, xA = async (n) => {
|
|
2481
2486
|
var H, _;
|
|
@@ -2485,8 +2490,8 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2485
2490
|
const D = (Q = w == null ? void 0 : w.key) == null ? void 0 : Q.systemKey;
|
|
2486
2491
|
return n === D;
|
|
2487
2492
|
});
|
|
2488
|
-
if (p && (i == null ? void 0 : i.length) === 1 && await
|
|
2489
|
-
const w = await
|
|
2493
|
+
if (p && (i == null ? void 0 : i.length) === 1 && await qe(p).catch((w) => (g.setImportLoading(!1), xe.error("删除失败"), Promise.reject(w))), p && (i == null ? void 0 : i.length) > 1) {
|
|
2494
|
+
const w = await tn({
|
|
2490
2495
|
key: {
|
|
2491
2496
|
systemKey: n
|
|
2492
2497
|
}
|
|
@@ -2496,15 +2501,15 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2496
2501
|
await Re(D).catch((Q) => (g.setImportLoading(!1), xe.error("删除失败"), Promise.reject(Q)));
|
|
2497
2502
|
}
|
|
2498
2503
|
}
|
|
2499
|
-
await
|
|
2504
|
+
await kA(), g.setImportLoading(!1), xe.success("删除成功");
|
|
2500
2505
|
};
|
|
2501
2506
|
KA(() => $A.value, (n) => {
|
|
2502
2507
|
(e == null ? void 0 : e.oldSystemKey) === "" && (Z.value.targetModel = n, n || pA());
|
|
2503
2508
|
}, { deep: !0, immediate: !0 });
|
|
2504
|
-
const
|
|
2509
|
+
const Ne = async () => {
|
|
2505
2510
|
var i, p, H, _;
|
|
2506
2511
|
g.setImportLoading(!0);
|
|
2507
|
-
const n = await
|
|
2512
|
+
const n = await tn({
|
|
2508
2513
|
key: {
|
|
2509
2514
|
systemKey: sessionStorage.getItem("systemKey")
|
|
2510
2515
|
}
|
|
@@ -2552,7 +2557,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2552
2557
|
urdfContent: _A.value
|
|
2553
2558
|
}, {
|
|
2554
2559
|
default: o(() => [
|
|
2555
|
-
c(
|
|
2560
|
+
c(rn, null, {
|
|
2556
2561
|
dropTitle: o(() => {
|
|
2557
2562
|
var _;
|
|
2558
2563
|
return [
|
|
@@ -2607,7 +2612,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2607
2612
|
__: [2]
|
|
2608
2613
|
}),
|
|
2609
2614
|
c(H, {
|
|
2610
|
-
onClick:
|
|
2615
|
+
onClick: Ne,
|
|
2611
2616
|
style: { width: "100%", margin: "0" }
|
|
2612
2617
|
}, {
|
|
2613
2618
|
icon: o(() => [
|
|
@@ -2627,7 +2632,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2627
2632
|
_: 1
|
|
2628
2633
|
}, 8, ["showButton", "platform", "content", "jsonContents", "urdfContent"]))
|
|
2629
2634
|
])) : h("", !0),
|
|
2630
|
-
c(
|
|
2635
|
+
c(zn, {
|
|
2631
2636
|
class: "select-model-dialog",
|
|
2632
2637
|
visible: DA.value && (e == null ? void 0 : e.oldSystemKey) === "",
|
|
2633
2638
|
onBeforeDestroy: Pe,
|
|
@@ -2645,7 +2650,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2645
2650
|
u("div", ca, [
|
|
2646
2651
|
i[4] || (i[4] = u("div", { class: "create-project-title" }, " 新建项目 ", -1)),
|
|
2647
2652
|
u("div", ua, [
|
|
2648
|
-
c(
|
|
2653
|
+
c(Me, {
|
|
2649
2654
|
emptyColor: !0,
|
|
2650
2655
|
onClickTrigger: pe,
|
|
2651
2656
|
modelValue: "创建项目",
|
|
@@ -2677,7 +2682,7 @@ const pv = /* @__PURE__ */ He(jt, [["render", wv], ["__scopeId", "data-v-94d06d5
|
|
|
2677
2682
|
}), 256))
|
|
2678
2683
|
])) : h("", !0),
|
|
2679
2684
|
u("div", da, [
|
|
2680
|
-
c(
|
|
2685
|
+
c(Me, {
|
|
2681
2686
|
class: he({ "enter-button-disable": !((w = CA.value) != null && w.length) }),
|
|
2682
2687
|
emptyColor: !0,
|
|
2683
2688
|
onClickTrigger: Ce,
|