ss-component-new 1.1.921 → 1.1.922
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/{animationData-D-XvnkSQ.js → animationData-0OX6F4G9.js} +6 -6
- package/dist/{index-TTLLjKU5.js → index-AGPHpTKJ.js} +1 -1
- package/dist/{index-C5M-qhEj.js → index-BCfdDcDu.js} +1 -1
- package/dist/{index-CqHUGQDa.js → index-BCp1aTSE.js} +4 -4
- package/dist/{index-2sGzSWRf.js → index-BGCLgzjC.js} +5 -5
- package/dist/{index-gnffGsTk.js → index-BJYEogKi.js} +1 -1
- package/dist/{index-Cc5_TOfF.js → index-BTeCKBO9.js} +2 -2
- package/dist/{index-CZk6uo11.js → index-BZUj63e6.js} +2 -2
- package/dist/{index-PTwO2-GZ.js → index-BbuXeRD4.js} +333 -325
- package/dist/{index-C4JMEa6C.js → index-Bm70BpWE.js} +1 -1
- package/dist/{index-BuPTgVC7.js → index-BrSQozru.js} +1 -1
- package/dist/{index-Cd2PkOxm.js → index-BvQM1QSp.js} +9 -9
- package/dist/{index-BSbSyRCe.js → index-C6hKRu1W.js} +3 -3
- package/dist/{index-BO8ABe6N.cjs → index-CGtVVnAu.cjs} +1 -1
- package/dist/{index-BwUkB1sf.js → index-CHpUs7QW.js} +3 -3
- package/dist/{index-BoEjfIjV.js → index-CNmjDb58.js} +7 -7
- package/dist/{index-BDU3vXVs.js → index-CX3oEbIN.js} +1 -1
- package/dist/{index-BSOLJb49.js → index-CagNaxdj.js} +1 -1
- package/dist/{index-DqUIDEgN.js → index-ClM9jOFv.js} +2 -2
- package/dist/{index-CMYZuZzH.js → index-Cxoqw8Hz.js} +3 -3
- package/dist/{index-CsXU1cJh.js → index-DEb_fTQX.js} +2 -2
- package/dist/{index-BWITrhZP.js → index-DLNJIWEJ.js} +2 -2
- package/dist/{index-98RJ1w0g.js → index-DjjCPHpo.js} +6 -6
- package/dist/{index-RowSWjcw.js → index-DmRh8D1t.js} +1 -1
- package/dist/{index-BmsooG86.js → index-Dy-5LieI.js} +4 -4
- package/dist/{index-CyIZxplK.js → index-XJDhdzCX.js} +2 -2
- package/dist/{index-Q-Cy1_j8.js → index-XmuDhTl9.js} +2 -2
- package/dist/{index-DSvhBEUe.js → index-jRJPj24X.js} +1 -1
- package/dist/{index-M6TcCTD5.js → index-oR_RD2vE.js} +1 -1
- package/dist/{index-B-yzrEZh.js → index-sJRoLZk0.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QmzkrVn5.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C0FUSSZR.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-_oi2LBsJ.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DmRUEv85.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bv3C9m69.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-C-nnMuRt.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-yLsHUO4i.js → index.vue_vue_type_style_index_1_lang-BxhwL7ff.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_1_lang-VCE6rYmh.js → index.vue_vue_type_style_index_1_lang-DnsZEMVi.js} +2 -2
- package/dist/{main-DfbZ-tFN.js → main-C_dnkfeX.js} +3 -3
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeLatheView-CWy7WIwu.js → threeLatheView-Ce6RDE8R.js} +4 -4
- package/dist/{threeModel-C7pPh28B.js → threeModel-CZ4ca2hF.js} +2 -2
- package/dist/{threeSceneView-C1EIO3Ye.js → threeSceneView-DVX_Qoyo.js} +5 -5
- package/dist/{threeSceneViewForCPMPIP-DVGCogkM.js → threeSceneViewForCPMPIP-D1XJwRNr.js} +1 -1
- package/dist/{threeViewerHost-BxDCbtxz.js → threeViewerHost-B-XxnSC0.js} +2 -2
- package/package.json +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
2
|
-
import { m as
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-
|
|
1
|
+
import { resolveComponent as ye, createBlock as de, openBlock as A, withCtx as k, createElementVNode as u, toDisplayString as ee, ref as R, onMounted as Ut, watch as me, createElementBlock as U, Fragment as Se, renderList as Ke, createCommentVNode as z, normalizeStyle as gt, defineComponent as Dt, resolveDynamicComponent as jt, unref as p, computed as We, provide as Jt, onUnmounted as Wt, resolveDirective as Lt, createVNode as d, withDirectives as xe, createTextVNode as Qe, renderSlot as yt, vShow as kt, normalizeClass as Et } from "vue";
|
|
2
|
+
import { m as Mt, a as Pt, b as Kt } from "./index-CHpUs7QW.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-C-nnMuRt.js";
|
|
4
4
|
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as Ot, e as Ht, s as Vt } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-
|
|
6
|
-
import { c as
|
|
7
|
-
import { i as ke, j as
|
|
8
|
-
import { S as
|
|
9
|
-
import { a as Ft, s as Je, o as
|
|
5
|
+
import { _ as Ot, e as Ht, s as Vt } from "./index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DmRUEv85.js";
|
|
6
|
+
import { c as Fe, i as qt, p as ve, s as Ie, u as Yt, b as _e, E as Pe, g as $e, d as St, e as Xt, f as Zt } from "./index-BQYjK74w.js";
|
|
7
|
+
import { i as ke, j as Ct, k as zt, a as ht, u as pt, l as _t, m as Tt } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
|
|
8
|
+
import { S as Me } from "./index-BHtNKL1L.js";
|
|
9
|
+
import { a as Ft, s as Je, o as Qt, b as Rt, c as $t, d as ea, e as ta, f as aa, h as na, i as oa, j as sa, k as la, l as ia, m as ra } from "./index-CNmjDb58.js";
|
|
10
10
|
import { a as ca } from "./array-Dv1oMcqh.js";
|
|
11
|
-
import { u as Nt, a as ua } from "./index-
|
|
12
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
11
|
+
import { u as Nt, a as ua } from "./index-DjjCPHpo.js";
|
|
12
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C0FUSSZR.js";
|
|
13
13
|
import "./STLLoader-CXf8uOlr.js";
|
|
14
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
15
|
-
import "./index-
|
|
14
|
+
import "./index.vue_vue_type_style_index_1_lang-DnsZEMVi.js";
|
|
15
|
+
import "./index-Bm70BpWE.js";
|
|
16
16
|
import { useRouter as da } from "vue-router";
|
|
17
|
-
import Aa from "./index-
|
|
18
|
-
import ga from "./threeModel-
|
|
17
|
+
import Aa from "./index-jRJPj24X.js";
|
|
18
|
+
import ga from "./threeModel-CZ4ca2hF.js";
|
|
19
19
|
import { _ as Le } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as mt, _ as et } from "./index-
|
|
21
|
-
import { d as bt, t as ya } from "./threeViewerHost-
|
|
22
|
-
import { s as ct } from "./index-
|
|
20
|
+
import { s as mt, _ as et } from "./index-sJRoLZk0.js";
|
|
21
|
+
import { d as bt, t as ya } from "./threeViewerHost-B-XxnSC0.js";
|
|
22
|
+
import { s as ct } from "./index-Cxoqw8Hz.js";
|
|
23
23
|
import { c as ma, b as Ca } from "./index-CLCVb66q.js";
|
|
24
|
-
import { v as ha } from "./index-
|
|
25
|
-
import { f as pa, a as fa } from "./animationData-
|
|
24
|
+
import { v as ha } from "./index-BrSQozru.js";
|
|
25
|
+
import { f as pa, a as fa } from "./animationData-0OX6F4G9.js";
|
|
26
26
|
const wa = { class: "menu-title" };
|
|
27
|
-
function Ba(w, q, e,
|
|
28
|
-
const o =
|
|
29
|
-
return A(),
|
|
27
|
+
function Ba(w, q, e, E, D, W) {
|
|
28
|
+
const o = ye("ssMenu");
|
|
29
|
+
return A(), de(o, {
|
|
30
30
|
mode: w.mode,
|
|
31
31
|
menuList: w.renderMenuList,
|
|
32
32
|
onClickMenu: w.clickMenu,
|
|
33
33
|
onOpenMenu: w.openMenu,
|
|
34
34
|
onCloseMenu: w.closeMenu
|
|
35
35
|
}, {
|
|
36
|
-
title:
|
|
36
|
+
title: k(({ menu: P }) => [
|
|
37
37
|
u("span", wa, ee(P.title ?? ""), 1)
|
|
38
38
|
]),
|
|
39
39
|
_: 1
|
|
40
40
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const Ia = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421d"]]), va = { class: "bread-content" }, ka = ["onClick"], Ea = {
|
|
43
43
|
key: 0,
|
|
44
44
|
class: "split-title"
|
|
45
45
|
}, Sa = {
|
|
@@ -52,21 +52,21 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
52
52
|
},
|
|
53
53
|
emits: ["click"],
|
|
54
54
|
setup(w, { emit: q }) {
|
|
55
|
-
const e = w,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}),
|
|
55
|
+
const e = w, E = R([]), D = q;
|
|
56
|
+
Ut(() => {
|
|
57
|
+
E.value = e == null ? void 0 : e.breadArray;
|
|
58
|
+
}), me(
|
|
59
59
|
() => e == null ? void 0 : e.breadArray,
|
|
60
60
|
() => {
|
|
61
|
-
|
|
61
|
+
E.value = e == null ? void 0 : e.breadArray;
|
|
62
62
|
},
|
|
63
63
|
{ deep: !0, immediate: !0 }
|
|
64
64
|
);
|
|
65
65
|
const W = (o) => {
|
|
66
66
|
D("click", o);
|
|
67
67
|
};
|
|
68
|
-
return (o, P) => (A(), U("div",
|
|
69
|
-
(A(!0), U(Se, null,
|
|
68
|
+
return (o, P) => (A(), U("div", va, [
|
|
69
|
+
(A(!0), U(Se, null, Ke(E.value, (f, K) => {
|
|
70
70
|
var t;
|
|
71
71
|
return A(), U("div", {
|
|
72
72
|
key: K,
|
|
@@ -74,10 +74,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
74
74
|
}, [
|
|
75
75
|
u("div", {
|
|
76
76
|
class: "bread-title",
|
|
77
|
-
onClick: (
|
|
78
|
-
style: gt({ opacity: ((t =
|
|
77
|
+
onClick: (B) => W(f),
|
|
78
|
+
style: gt({ opacity: ((t = E.value) == null ? void 0 : t.length) - 1 === K ? "0.7" : "1" })
|
|
79
79
|
}, ee(f.value), 13, ka),
|
|
80
|
-
K !==
|
|
80
|
+
K !== E.value.length - 1 && Array.isArray(E.value) ? (A(), U("div", Ea, ee("/"))) : z("", !0)
|
|
81
81
|
]);
|
|
82
82
|
}), 128))
|
|
83
83
|
]));
|
|
@@ -115,11 +115,11 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
115
115
|
// key: "参数筛选推理",
|
|
116
116
|
// value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
|
|
117
117
|
// }
|
|
118
|
-
],
|
|
118
|
+
], Ra = {
|
|
119
119
|
key: 0,
|
|
120
120
|
class: "item-view-group",
|
|
121
121
|
style: { display: "flex" }
|
|
122
|
-
},
|
|
122
|
+
}, ba = { class: "group-name-wrap" }, Ua = /* @__PURE__ */ Dt({
|
|
123
123
|
__name: "lookComponent",
|
|
124
124
|
props: {
|
|
125
125
|
dialogItem: {},
|
|
@@ -127,27 +127,27 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
127
127
|
},
|
|
128
128
|
emits: ["change", "contentChange"],
|
|
129
129
|
setup(w, { emit: q }) {
|
|
130
|
-
const e = w,
|
|
130
|
+
const e = w, E = q, D = R([]), W = (P, f = "data") => {
|
|
131
131
|
var K;
|
|
132
|
-
|
|
132
|
+
E("change", P, f, {
|
|
133
133
|
url: (K = e == null ? void 0 : e.componentParam) == null ? void 0 : K.routerUrl
|
|
134
134
|
});
|
|
135
135
|
}, o = (P) => {
|
|
136
|
-
|
|
136
|
+
E("contentChange", P);
|
|
137
137
|
};
|
|
138
|
-
return
|
|
138
|
+
return me(
|
|
139
139
|
() => e == null ? void 0 : e.dialogItem,
|
|
140
140
|
() => {
|
|
141
141
|
var P, f, K;
|
|
142
|
-
((P = e == null ? void 0 : e.componentParam) == null ? void 0 : P.isEdit) === !0 ? D.value = (f =
|
|
143
|
-
var
|
|
144
|
-
return (t == null ? void 0 : t.comp) === "Form" && (t.compData = (
|
|
142
|
+
((P = e == null ? void 0 : e.componentParam) == null ? void 0 : P.isEdit) === !0 ? D.value = (f = Fe(e == null ? void 0 : e.dialogItem)) == null ? void 0 : f.map((t) => {
|
|
143
|
+
var B;
|
|
144
|
+
return (t == null ? void 0 : t.comp) === "Form" && (t.compData = (B = t.compData) == null ? void 0 : B.map((I) => {
|
|
145
145
|
var T;
|
|
146
|
-
return (
|
|
146
|
+
return (I == null ? void 0 : I.key) === "formContent" && (I.contents = (T = I.contents) == null ? void 0 : T.map((_) => (_.type = "Upload", _))), I;
|
|
147
147
|
})), t;
|
|
148
|
-
}) : D.value = (K =
|
|
149
|
-
var
|
|
150
|
-
return (t == null ? void 0 : t.comp) === "Table" && (t.compData = (
|
|
148
|
+
}) : D.value = (K = Fe(e == null ? void 0 : e.dialogItem)) == null ? void 0 : K.map((t) => {
|
|
149
|
+
var B, I;
|
|
150
|
+
return (t == null ? void 0 : t.comp) === "Table" && (t.compData = (B = t.compData) == null ? void 0 : B.filter((T) => (T == null ? void 0 : T.key) !== "rowButton" && (T == null ? void 0 : T.key) !== "extraButton"), t.compData = (I = t.compData) == null ? void 0 : I.map((T) => {
|
|
151
151
|
var _;
|
|
152
152
|
return (T == null ? void 0 : T.key) === "header" && (T.contents = (_ = T.contents) == null ? void 0 : _.filter((ae) => (ae == null ? void 0 : ae.prop) !== "操作")), T;
|
|
153
153
|
})), t;
|
|
@@ -157,20 +157,20 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
157
157
|
), (P, f) => {
|
|
158
158
|
var K;
|
|
159
159
|
return A(), U("div", null, [
|
|
160
|
-
(A(!0), U(Se, null,
|
|
161
|
-
var
|
|
160
|
+
(A(!0), U(Se, null, Ke((K = D.value) == null ? void 0 : K.filter((t) => t.comp !== "FormTop"), (t, B) => {
|
|
161
|
+
var I;
|
|
162
162
|
return A(), U("div", {
|
|
163
163
|
class: "item-view-content",
|
|
164
|
-
key:
|
|
164
|
+
key: B
|
|
165
165
|
}, [
|
|
166
|
-
((
|
|
167
|
-
u("div",
|
|
166
|
+
((I = t == null ? void 0 : t.comp) == null ? void 0 : I.toUpperCase()) !== "TABLE" && (t != null && t.name) ? (A(), U("div", Ra, [
|
|
167
|
+
u("div", ba, ee(t.name), 1)
|
|
168
168
|
])) : z("", !0),
|
|
169
|
-
(A(),
|
|
169
|
+
(A(), de(jt(p(Ft)(t.comp)), {
|
|
170
170
|
compName: t.name,
|
|
171
171
|
itemData: t == null ? void 0 : t.compData,
|
|
172
172
|
childItemData: t == null ? void 0 : t.itemChildData,
|
|
173
|
-
index: (t == null ? void 0 : t.id) ??
|
|
173
|
+
index: (t == null ? void 0 : t.id) ?? B,
|
|
174
174
|
onChange: W,
|
|
175
175
|
onContentChange: o
|
|
176
176
|
}, null, 40, ["compName", "itemData", "childItemData", "index"]))
|
|
@@ -184,76 +184,84 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
184
184
|
return await ke(w, q, "");
|
|
185
185
|
}, Pa = (w) => {
|
|
186
186
|
var W, o, P, f, K;
|
|
187
|
-
const q = (o = (W = w == null ? void 0 : w.compData) == null ? void 0 : W.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : o.contents, e = (K = (f = (P = w == null ? void 0 : w.compData) == null ? void 0 : P.find((t) => (t == null ? void 0 : t.key) === "tableContents")) == null ? void 0 : f.contents) == null ? void 0 : K.map((t) => (t = t == null ? void 0 : t.filter((
|
|
188
|
-
const { isMainKey:
|
|
189
|
-
return
|
|
187
|
+
const q = (o = (W = w == null ? void 0 : w.compData) == null ? void 0 : W.find((t) => (t == null ? void 0 : t.key) === "header")) == null ? void 0 : o.contents, e = (K = (f = (P = w == null ? void 0 : w.compData) == null ? void 0 : P.find((t) => (t == null ? void 0 : t.key) === "tableContents")) == null ? void 0 : f.contents) == null ? void 0 : K.map((t) => (t = t == null ? void 0 : t.filter((B) => !(B != null && B.id)), t)), E = q == null ? void 0 : q.findIndex((t, B) => {
|
|
188
|
+
const { isMainKey: I } = t;
|
|
189
|
+
return I;
|
|
190
190
|
});
|
|
191
|
-
return
|
|
192
|
-
const
|
|
193
|
-
let
|
|
194
|
-
return qt(
|
|
191
|
+
return E < 0 ? [] : e == null ? void 0 : e.map((t) => {
|
|
192
|
+
const B = t == null ? void 0 : t[0];
|
|
193
|
+
let I = E;
|
|
194
|
+
return qt(B) && (B != null && B.id) && (I = I + 1), t == null ? void 0 : t[I];
|
|
195
195
|
});
|
|
196
196
|
}, Ka = (w) => w == null ? void 0 : w.map((e) => {
|
|
197
197
|
var o, P;
|
|
198
|
-
const
|
|
198
|
+
const E = e == null ? void 0 : e.find((f) => {
|
|
199
199
|
const K = "加工规划参数", { name: t } = f;
|
|
200
200
|
return t === K;
|
|
201
|
-
}), D = (P = (o =
|
|
201
|
+
}), D = (P = (o = E == null ? void 0 : E.compData) == null ? void 0 : o.find((f) => (f == null ? void 0 : f.key) === "formContent")) == null ? void 0 : P.contents;
|
|
202
202
|
return (D == null ? void 0 : D.find((f) => (f == null ? void 0 : f.key) === "仿真数据")).value;
|
|
203
203
|
}), Ya = (w) => w == null ? void 0 : w.map((e) => {
|
|
204
204
|
var o, P;
|
|
205
|
-
const
|
|
205
|
+
const E = e == null ? void 0 : e.find((f) => {
|
|
206
206
|
const K = "任务详情", { name: t } = f;
|
|
207
207
|
return t === K;
|
|
208
|
-
}), D = (P = (o =
|
|
208
|
+
}), D = (P = (o = E == null ? void 0 : E.compData) == null ? void 0 : o.find((f) => (f == null ? void 0 : f.key) === "formContent")) == null ? void 0 : P.contents;
|
|
209
209
|
return (D == null ? void 0 : D.find((f) => (f == null ? void 0 : f.key) === "工件模型文件")).value;
|
|
210
210
|
}), Ta = async (w) => {
|
|
211
211
|
const q = "任务列表", e = w == null ? void 0 : w.find((K) => {
|
|
212
212
|
const { name: t } = K;
|
|
213
213
|
return t === q;
|
|
214
|
-
}),
|
|
215
|
-
const
|
|
216
|
-
return Ma(
|
|
214
|
+
}), E = Pa(e), D = ["任务管理", "设计加工任务管理"], W = E == null ? void 0 : E.map((K) => {
|
|
215
|
+
const B = `${D == null ? void 0 : D.join("/")}^${K}`;
|
|
216
|
+
return Ma(B);
|
|
217
217
|
}), o = await Promise.all(W), P = Ka(o), f = Ya(o);
|
|
218
218
|
return {
|
|
219
219
|
csvUrlList: P,
|
|
220
220
|
bladeObjUrlList: f
|
|
221
221
|
};
|
|
222
222
|
}, Fa = async () => {
|
|
223
|
-
var _, ae, oe, se,
|
|
224
|
-
const w = "任务管理", q = "弯管任务管理", e = "设计加工任务管理",
|
|
223
|
+
var _, ae, oe, se, ce, Re;
|
|
224
|
+
const w = "任务管理", q = "弯管任务管理", e = "设计加工任务管理", E = sessionStorage.getItem("systemKey"), D = await ke(`${w}/${q}`, E, ""), W = await ke(`${w}/${e}`, E, "");
|
|
225
225
|
let o = null, P = "";
|
|
226
226
|
D && D.length > 0 ? P = "robot" : W && W.length > 0 && (P = "cpmpip");
|
|
227
227
|
const f = [];
|
|
228
228
|
switch (P) {
|
|
229
229
|
case "robot":
|
|
230
|
-
o =
|
|
230
|
+
o = Fe(D);
|
|
231
231
|
break;
|
|
232
232
|
case "cpmpip":
|
|
233
|
-
o =
|
|
233
|
+
o = Fe(W);
|
|
234
234
|
break;
|
|
235
235
|
default:
|
|
236
236
|
console.error("未识别的任务类型");
|
|
237
237
|
break;
|
|
238
238
|
}
|
|
239
|
-
const K = "任务列表", t = o == null ? void 0 : o.find((
|
|
240
|
-
const { name: Y } =
|
|
239
|
+
const K = "任务列表", t = o == null ? void 0 : o.find((b) => {
|
|
240
|
+
const { name: Y } = b;
|
|
241
241
|
return Y === K;
|
|
242
|
-
}),
|
|
242
|
+
}), B = (oe = (ae = (_ = t == null ? void 0 : t.compData) == null ? void 0 : _.find((b) => (b == null ? void 0 : b.key) === "header")) == null ? void 0 : ae.contents) == null ? void 0 : oe.map((b) => b == null ? void 0 : b.label), I = (Re = (ce = (se = t == null ? void 0 : t.compData) == null ? void 0 : se.find((b) => (b == null ? void 0 : b.key) === "tableContents")) == null ? void 0 : ce.contents) == null ? void 0 : Re.map((b) => (b = b == null ? void 0 : b.filter((Y) => !(Y != null && Y.id)), b));
|
|
243
243
|
let T = 0;
|
|
244
244
|
switch (P) {
|
|
245
245
|
case "robot":
|
|
246
|
-
T = 1,
|
|
247
|
-
const
|
|
248
|
-
|
|
246
|
+
T = 1, I == null || I.forEach((Ae) => {
|
|
247
|
+
const ge = {};
|
|
248
|
+
ge.id = T++, ge.name = Ae[B == null ? void 0 : B.indexOf("名称")], ge.urdfUrl = Ae[B == null ? void 0 : B.indexOf("场景文件")], ge.sceneType = "robot";
|
|
249
|
+
const le = Ct(
|
|
250
|
+
Ae,
|
|
251
|
+
B == null ? void 0 : B.filter((be) => be !== "操作")
|
|
252
|
+
);
|
|
253
|
+
f.push({
|
|
254
|
+
...le,
|
|
255
|
+
...ge
|
|
256
|
+
});
|
|
249
257
|
});
|
|
250
258
|
break;
|
|
251
259
|
case "cpmpip":
|
|
252
260
|
T = 1;
|
|
253
|
-
const { csvUrlList:
|
|
254
|
-
|
|
255
|
-
const
|
|
256
|
-
|
|
261
|
+
const { csvUrlList: b, bladeObjUrlList: Y } = await Ta(o);
|
|
262
|
+
I == null || I.forEach((Ae, ge) => {
|
|
263
|
+
const le = {};
|
|
264
|
+
le.id = T++, le.name = Ae[B == null ? void 0 : B.indexOf("任务名称")], le.urdfUrl = Ae[B == null ? void 0 : B.indexOf("机床模型文件")], le.sceneType = "cpmpip", le.csvUrl = b == null ? void 0 : b[ge], le.bladeObjUrl = Y == null ? void 0 : Y[ge], f.push(le);
|
|
257
265
|
});
|
|
258
266
|
break;
|
|
259
267
|
}
|
|
@@ -288,7 +296,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
288
296
|
}, yn = { class: "message-title" }, mn = { class: "message-time" }, Cn = { class: "message-content" }, hn = {
|
|
289
297
|
key: 0,
|
|
290
298
|
class: "no-messages"
|
|
291
|
-
}, pn = { class: "drop-menu" }, fn = { class: "user-base-info" }, wn = { class: "base-info" }, Bn = { class: "group-item" },
|
|
299
|
+
}, pn = { class: "drop-menu" }, fn = { class: "user-base-info" }, wn = { class: "base-info" }, Bn = { class: "group-item" }, In = { class: "sys-button" }, vn = {
|
|
292
300
|
key: 0,
|
|
293
301
|
class: "main-back-btn"
|
|
294
302
|
}, kn = { class: "main-body" }, En = {
|
|
@@ -297,7 +305,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
297
305
|
}, Sn = { class: "group-name-wrap" }, Qn = {
|
|
298
306
|
key: 2,
|
|
299
307
|
class: "item-view-child-content"
|
|
300
|
-
}, dt = "消息中心/未读消息", At = "消息中心/已读消息",
|
|
308
|
+
}, dt = "消息中心/未读消息", At = "消息中心/已读消息", Rn = /* @__PURE__ */ Dt({
|
|
301
309
|
__name: "index",
|
|
302
310
|
props: {
|
|
303
311
|
windowConfig: {
|
|
@@ -321,12 +329,12 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
321
329
|
setup(w, { emit: q }) {
|
|
322
330
|
const e = (n, s) => {
|
|
323
331
|
console.log(n, s);
|
|
324
|
-
},
|
|
332
|
+
}, E = R(), D = R([]), W = R([]), o = We(
|
|
325
333
|
() => D.value.filter((n) => {
|
|
326
334
|
var s;
|
|
327
335
|
return ((s = n.find((M) => M.prop === "状态")) == null ? void 0 : s.value) === "未读";
|
|
328
336
|
}).length
|
|
329
|
-
), P = We(() => o.value > 99 ? "99+" : o.value), f = zt(
|
|
337
|
+
), P = We(() => o.value > 99 ? "99+" : o.value), f = zt(ve), { originalPath: K } = Ie(f), t = K.value, B = async (n) => {
|
|
330
338
|
if (!n) return;
|
|
331
339
|
(async (M) => {
|
|
332
340
|
var F, i, r, c;
|
|
@@ -367,9 +375,9 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
367
375
|
console.error("加载菜单或页面时出错:", J);
|
|
368
376
|
}
|
|
369
377
|
})(n);
|
|
370
|
-
},
|
|
378
|
+
}, I = Nt(ve), { selectTitle: T } = Ie(I), _ = R(!1), ae = R(), oe = R(null), se = R(), ce = R(!1), Re = ua(ve), { blobUrls: b } = Ie(Re), Y = R(), Ae = R(!1), ge = R(!1), le = R(!1), be = R([]), He = R(!1), Ve = R(null), Ue = R(), ne = R(!1), ue = R(!1), Ye = R();
|
|
371
379
|
Jt("contentRef", Ve);
|
|
372
|
-
const tt =
|
|
380
|
+
const tt = Yt(), { loginUserInfo: O } = Ie(tt), Ne = ht(ve), { isEdit: De, routeToChildPath: qe } = Ie(Ne), Te = q, Ee = pt(ve), { asideMenuLoading: at, importLoading: nt, activeAsideMenu: ot, contentLoading: st, platName: Xe, activeMenuPath: Ce } = Ie(Ee), ie = w, Ge = We(() => ot.value.isRouter), lt = () => {
|
|
373
381
|
sessionStorage.clear(), window.location.reload();
|
|
374
382
|
}, it = (n) => {
|
|
375
383
|
if ((n == null ? void 0 : n.type) === "table") {
|
|
@@ -379,7 +387,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
379
387
|
G && (se.value = {
|
|
380
388
|
url: G,
|
|
381
389
|
row: n == null ? void 0 : n.row
|
|
382
|
-
},
|
|
390
|
+
}, Te("showChild", {
|
|
383
391
|
url: G,
|
|
384
392
|
row: n == null ? void 0 : n.row,
|
|
385
393
|
rowData: M
|
|
@@ -403,7 +411,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
403
411
|
let h = [], L = (J = (c = (r = i == null ? void 0 : i.compData) == null ? void 0 : r.find((v) => (v == null ? void 0 : v.key) === "header")) == null ? void 0 : c.contents) == null ? void 0 : J.map((v) => v == null ? void 0 : v.label), x = ($ = (j = (Z = i == null ? void 0 : i.compData) == null ? void 0 : Z.find((v) => (v == null ? void 0 : v.key) === "tableContents")) == null ? void 0 : j.contents) == null ? void 0 : $.map((v) => (v = v == null ? void 0 : v.filter((H) => !(H != null && H.id)), v));
|
|
404
412
|
x == null || x.forEach((v) => {
|
|
405
413
|
h.push(
|
|
406
|
-
|
|
414
|
+
Ct(
|
|
407
415
|
v,
|
|
408
416
|
L == null ? void 0 : L.filter((H) => H !== "操作")
|
|
409
417
|
)
|
|
@@ -413,41 +421,41 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
413
421
|
}), n.extra = F, ae.value = n;
|
|
414
422
|
}, a = async () => {
|
|
415
423
|
var n, s, M, G, F, i;
|
|
416
|
-
if ((
|
|
417
|
-
if (_.value = !0, Y.value = (n =
|
|
424
|
+
if ((ie == null ? void 0 : ie.platform) !== "browser") {
|
|
425
|
+
if (_.value = !0, Y.value = (n = ie == null ? void 0 : ie.taskContent) == null ? void 0 : n.sceneType, Ue.value = [(s = ie == null ? void 0 : ie.taskContent) == null ? void 0 : s.url], se.value) {
|
|
418
426
|
const r = se.value;
|
|
419
427
|
let c = [];
|
|
420
|
-
typeof (r == null ? void 0 : r.url) == "string" && ((M = r == null ? void 0 : r.url) != null && M.includes(",") ?
|
|
428
|
+
typeof (r == null ? void 0 : r.url) == "string" && ((M = r == null ? void 0 : r.url) != null && M.includes(",") ? Ue.value = (G = r == null ? void 0 : r.url) == null ? void 0 : G.split(",") : Ue.value = [r == null ? void 0 : r.url]), (F = oe.value) == null || F.loadModelByDefaultPath(c);
|
|
421
429
|
}
|
|
422
|
-
ne.value = (i =
|
|
430
|
+
ne.value = (i = Ue.value) == null ? void 0 : i.every((r) => r.toUpperCase().includes(".URDF"));
|
|
423
431
|
}
|
|
424
432
|
}, l = () => {
|
|
425
|
-
|
|
433
|
+
ce.value = !1, oe.value = null;
|
|
426
434
|
};
|
|
427
|
-
|
|
435
|
+
me(
|
|
428
436
|
() => Ce.value,
|
|
429
437
|
async (n) => {
|
|
430
|
-
n && (
|
|
438
|
+
n && (ge.value = !0), n === "弯管仿真加工分析/仿真动画生成" ? le.value = !0 : le.value = !1, n === "弯管仿真加工分析/程序输出" ? He.value = !0 : He.value = !1, ut != null && ut.find((s) => {
|
|
431
439
|
var M;
|
|
432
440
|
return (s == null ? void 0 : s.key) === ((M = n == null ? void 0 : n.split("/")) == null ? void 0 : M[(n == null ? void 0 : n.split("/").length) - 1]);
|
|
433
|
-
}) ?
|
|
441
|
+
}) ? Ae.value = !0 : Ae.value = !1;
|
|
434
442
|
},
|
|
435
443
|
{ immediate: !0 }
|
|
436
|
-
),
|
|
437
|
-
() => [
|
|
444
|
+
), me(
|
|
445
|
+
() => [b == null ? void 0 : b.value],
|
|
438
446
|
async () => {
|
|
439
447
|
var n, s, M, G, F;
|
|
440
|
-
if (
|
|
441
|
-
|
|
448
|
+
if (b != null && b.value && ((n = b == null ? void 0 : b.value) == null ? void 0 : n.length) > 0 && !Ae.value && !((s = Je.value) != null && s.find((i) => (i == null ? void 0 : i.name) === "输入") && ((M = Je.value) != null && M.find((i) => (i == null ? void 0 : i.name) === "输出")))) {
|
|
449
|
+
ce.value = !0;
|
|
442
450
|
let i = [];
|
|
443
|
-
const r = await ((G =
|
|
444
|
-
var h, L, x, v, H, te, g, Be,
|
|
451
|
+
const r = await ((G = Fe(b == null ? void 0 : b.value)) == null ? void 0 : G.map(async (c) => {
|
|
452
|
+
var h, L, x, v, H, te, g, Be, je, Ze;
|
|
445
453
|
let J, Z, j;
|
|
446
454
|
c != null && c.blob.includes("undefined") ? j = (L = (h = c == null ? void 0 : c.blob) == null ? void 0 : h.split("undefined,")) == null ? void 0 : L[1] : j = c == null ? void 0 : c.blob;
|
|
447
455
|
let $ = j == null ? void 0 : j.split(",");
|
|
448
456
|
if (($ == null ? void 0 : $.length) > 1) {
|
|
449
457
|
let V = await ($ == null ? void 0 : $.map(async (X) => {
|
|
450
|
-
var we, ze,
|
|
458
|
+
var we, ze, ft, wt, Bt, It;
|
|
451
459
|
J = await _e.get(X, {
|
|
452
460
|
responseType: "blob",
|
|
453
461
|
headers: {
|
|
@@ -471,8 +479,8 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
471
479
|
}));
|
|
472
480
|
await Promise.all(Gt);
|
|
473
481
|
}
|
|
474
|
-
return ((
|
|
475
|
-
suffix: "." + ((
|
|
482
|
+
return ((wt = X == null ? void 0 : X.split(".")) == null ? void 0 : wt[((ft = X == null ? void 0 : X.split(".")) == null ? void 0 : ft.length) - 1]) !== "undefined" && i.push({
|
|
483
|
+
suffix: "." + ((It = X == null ? void 0 : X.split(".")) == null ? void 0 : It[((Bt = X == null ? void 0 : X.split(".")) == null ? void 0 : Bt.length) - 1]),
|
|
476
484
|
blob: new Blob([J.data], {
|
|
477
485
|
type: "application/octet-stream;charset=UTF-8"
|
|
478
486
|
}),
|
|
@@ -530,7 +538,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
530
538
|
await Promise.all(X);
|
|
531
539
|
}
|
|
532
540
|
Z = {
|
|
533
|
-
suffix: c != null && c.suffix ? c == null ? void 0 : c.suffix : "." + ((Ze = j == null ? void 0 : j.split(".")) == null ? void 0 : Ze[((
|
|
541
|
+
suffix: c != null && c.suffix ? c == null ? void 0 : c.suffix : "." + ((Ze = j == null ? void 0 : j.split(".")) == null ? void 0 : Ze[((je = j == null ? void 0 : j.split(".")) == null ? void 0 : je.length) - 1]),
|
|
534
542
|
blob: new Blob([J.data], {
|
|
535
543
|
type: "application/octet-stream;charset=UTF-8"
|
|
536
544
|
}),
|
|
@@ -545,7 +553,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
545
553
|
{ immediate: !0, deep: !0 }
|
|
546
554
|
);
|
|
547
555
|
const y = (n, s) => {
|
|
548
|
-
|
|
556
|
+
ue.value = !0, Ye.value = s, (s == null ? void 0 : s.isEdit) === !0 ? be.value = n : be.value = n == null ? void 0 : n.map((M) => {
|
|
549
557
|
var G;
|
|
550
558
|
return M.compData = (G = M.compData) == null ? void 0 : G.map((F) => {
|
|
551
559
|
var i;
|
|
@@ -554,24 +562,24 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
554
562
|
});
|
|
555
563
|
}, m = async () => {
|
|
556
564
|
await ra();
|
|
557
|
-
}, N =
|
|
565
|
+
}, N = R(!1), C = R([]), S = async () => {
|
|
558
566
|
N.value = !0;
|
|
559
567
|
const n = await Fa().finally(() => {
|
|
560
568
|
N.value = !1;
|
|
561
569
|
});
|
|
562
570
|
C.value = n;
|
|
563
|
-
},
|
|
564
|
-
n &&
|
|
571
|
+
}, Q = async (n) => {
|
|
572
|
+
n && S();
|
|
565
573
|
}, he = async (n) => {
|
|
566
|
-
|
|
574
|
+
Te("showChild", {
|
|
567
575
|
url: n == null ? void 0 : n.urdfUrl,
|
|
568
576
|
row: n == null ? void 0 : n.urdfUrl,
|
|
569
577
|
sceneType: n == null ? void 0 : n.sceneType,
|
|
570
578
|
rowData: n
|
|
571
579
|
});
|
|
572
580
|
};
|
|
573
|
-
|
|
574
|
-
|
|
581
|
+
Ut(async () => {
|
|
582
|
+
Te("setLoginInfo", O.value);
|
|
575
583
|
async function n() {
|
|
576
584
|
var s, M, G, F, i, r, c, J, Z, j, $;
|
|
577
585
|
try {
|
|
@@ -589,21 +597,21 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
589
597
|
console.log("555readData", g);
|
|
590
598
|
let Be = [];
|
|
591
599
|
Array.isArray(H) && Array.isArray(te) ? Be = [...H, ...te] : (Be = [], console.warn("unreadMessagesContents 或 readMessagesContents 不是数组")), D.value = h(g, Be), console.log("555allReadMessages.value", D.value);
|
|
592
|
-
const
|
|
600
|
+
const je = ((j = O == null ? void 0 : O.value) == null ? void 0 : j.account) || (($ = O == null ? void 0 : O.value) == null ? void 0 : $.收件人) || "未知", Ze = D.value.filter((V) => {
|
|
593
601
|
var X;
|
|
594
|
-
return ((X = V.find((fe) => fe.prop === "收件人")) == null ? void 0 : X.value) ===
|
|
602
|
+
return ((X = V.find((fe) => fe.prop === "收件人")) == null ? void 0 : X.value) === je;
|
|
595
603
|
});
|
|
596
604
|
W.value = Ze;
|
|
597
605
|
} catch (h) {
|
|
598
606
|
console.error("获取消息数据失败:", h);
|
|
599
607
|
}
|
|
600
608
|
}
|
|
601
|
-
await n(),
|
|
609
|
+
await n(), E.value = "first";
|
|
602
610
|
}), Wt(() => {
|
|
603
611
|
const n = window.messageIntervalId;
|
|
604
612
|
n && clearInterval(n);
|
|
605
613
|
});
|
|
606
|
-
const
|
|
614
|
+
const re = () => {
|
|
607
615
|
var M, G;
|
|
608
616
|
if (qe.value === "" || ((G = Ce.value) == null ? void 0 : G[((M = Ce.value) == null ? void 0 : M.length) - 1]) === t) return !1;
|
|
609
617
|
const n = sessionStorage.getItem("authority"), s = JSON.parse(n || "");
|
|
@@ -617,19 +625,19 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
617
625
|
}, pe = async () => {
|
|
618
626
|
};
|
|
619
627
|
return (n, s) => {
|
|
620
|
-
const M =
|
|
628
|
+
const M = ye("el-dialog"), G = ye("el-button"), F = ye("el-header"), i = ye("el-container"), r = ye("el-tab-pane"), c = ye("el-tabs"), J = ye("el-aside"), Z = ye("router-view"), j = ye("el-main"), $ = Lt("loading");
|
|
621
629
|
return A(), U(Se, null, [
|
|
622
630
|
d(mt, {
|
|
623
|
-
visible:
|
|
624
|
-
onBeforeDestroy: s[0] || (s[0] = (h) =>
|
|
631
|
+
visible: ue.value,
|
|
632
|
+
onBeforeDestroy: s[0] || (s[0] = (h) => ue.value = !1),
|
|
625
633
|
fullScreen: !0
|
|
626
634
|
}, {
|
|
627
|
-
default:
|
|
635
|
+
default: k(() => [
|
|
628
636
|
d(Ua, {
|
|
629
|
-
dialogItem:
|
|
630
|
-
componentParam:
|
|
631
|
-
onChange: p(
|
|
632
|
-
onContentChange: p(
|
|
637
|
+
dialogItem: be.value,
|
|
638
|
+
componentParam: Ye.value,
|
|
639
|
+
onChange: p(Rt),
|
|
640
|
+
onContentChange: p(Qt)
|
|
633
641
|
}, null, 8, ["dialogItem", "componentParam", "onChange", "onContentChange"])
|
|
634
642
|
]),
|
|
635
643
|
_: 1
|
|
@@ -639,9 +647,9 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
639
647
|
"onUpdate:modelValue": s[1] || (s[1] = (h) => _.value = h),
|
|
640
648
|
style: { height: "700px", width: "1800px" }
|
|
641
649
|
}, {
|
|
642
|
-
default:
|
|
650
|
+
default: k(() => [
|
|
643
651
|
d(ya, {
|
|
644
|
-
"file-urls":
|
|
652
|
+
"file-urls": Ue.value,
|
|
645
653
|
isThreeScene: ne.value,
|
|
646
654
|
componentType: Y.value,
|
|
647
655
|
onGetAnimationData: rt
|
|
@@ -650,15 +658,15 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
650
658
|
_: 1
|
|
651
659
|
}, 8, ["modelValue"]),
|
|
652
660
|
xe(d(i, { class: "client-container" }, {
|
|
653
|
-
default:
|
|
661
|
+
default: k(() => [
|
|
654
662
|
d(F, { class: "client-structure-header" }, {
|
|
655
|
-
default:
|
|
663
|
+
default: k(() => [
|
|
656
664
|
u("div", Na, [
|
|
657
665
|
d(G, {
|
|
658
666
|
id: "transparentBgButton",
|
|
659
667
|
onClick: p($t)
|
|
660
668
|
}, {
|
|
661
|
-
default:
|
|
669
|
+
default: k(() => s[5] || (s[5] = [
|
|
662
670
|
Qe(" 返回页面 ")
|
|
663
671
|
])),
|
|
664
672
|
_: 1,
|
|
@@ -671,10 +679,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
671
679
|
return p(ea)((x = (L = p(T)) == null ? void 0 : L.map((v) => v.value)) == null ? void 0 : x.join("/"));
|
|
672
680
|
})
|
|
673
681
|
}, {
|
|
674
|
-
icon:
|
|
675
|
-
d(
|
|
682
|
+
icon: k(() => [
|
|
683
|
+
d(Me, { name: "Store" })
|
|
676
684
|
]),
|
|
677
|
-
default:
|
|
685
|
+
default: k(() => [
|
|
678
686
|
s[6] || (s[6] = Qe(" 保存页面 "))
|
|
679
687
|
]),
|
|
680
688
|
_: 1,
|
|
@@ -698,20 +706,20 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
698
706
|
]),
|
|
699
707
|
_: 3
|
|
700
708
|
}),
|
|
701
|
-
p(
|
|
709
|
+
p(De) === "edit" ? (A(), de(i, {
|
|
702
710
|
key: 0,
|
|
703
711
|
class: "model-operate",
|
|
704
712
|
style: { "margin-top": "10px", height: "0px" }
|
|
705
713
|
}, {
|
|
706
|
-
default:
|
|
714
|
+
default: k(() => [
|
|
707
715
|
u("div", Ja, [
|
|
708
|
-
d(
|
|
716
|
+
d(Mt)
|
|
709
717
|
]),
|
|
710
718
|
u("div", Wa, [
|
|
711
|
-
d(
|
|
719
|
+
d(Pt)
|
|
712
720
|
]),
|
|
713
721
|
u("div", La, [
|
|
714
|
-
d(
|
|
722
|
+
d(Kt)
|
|
715
723
|
])
|
|
716
724
|
]),
|
|
717
725
|
_: 1
|
|
@@ -719,32 +727,32 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
719
727
|
]),
|
|
720
728
|
_: 3
|
|
721
729
|
}, 512), [
|
|
722
|
-
[
|
|
730
|
+
[kt, p(De) === "edit"]
|
|
723
731
|
]),
|
|
724
|
-
xe((A(),
|
|
732
|
+
xe((A(), de(i, {
|
|
725
733
|
class: "client-container",
|
|
726
734
|
"element-loading-text": "正在加载页面数据..."
|
|
727
735
|
}, {
|
|
728
|
-
default:
|
|
736
|
+
default: k(() => [
|
|
729
737
|
d(F, { class: "client-header" }, {
|
|
730
|
-
default:
|
|
738
|
+
default: k(() => [
|
|
731
739
|
u("div", {
|
|
732
740
|
class: "client-header-logo",
|
|
733
741
|
onClick: a
|
|
734
742
|
}, ee(p(Xe) === "" ? "ISIP" : p(Xe)), 1),
|
|
735
743
|
u("div", Oa, [
|
|
736
|
-
d(
|
|
744
|
+
d(Ia, { mode: "horizontal" })
|
|
737
745
|
]),
|
|
738
746
|
u("div", Ha, [
|
|
739
|
-
|
|
747
|
+
ie != null && ie.showButton && p(De) === "view" ? (A(), de(G, {
|
|
740
748
|
key: 0,
|
|
741
749
|
class: "system-default-button",
|
|
742
750
|
onClick: p(aa)
|
|
743
751
|
}, {
|
|
744
|
-
icon:
|
|
745
|
-
d(
|
|
752
|
+
icon: k(() => [
|
|
753
|
+
d(Me, { name: "write" })
|
|
746
754
|
]),
|
|
747
|
-
default:
|
|
755
|
+
default: k(() => [
|
|
748
756
|
s[7] || (s[7] = Qe(" 界面修改 "))
|
|
749
757
|
]),
|
|
750
758
|
_: 1,
|
|
@@ -755,26 +763,26 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
755
763
|
class: "three-dropdown-menu",
|
|
756
764
|
"popper-class": "three-poper",
|
|
757
765
|
teleported: !1,
|
|
758
|
-
onVisibleChange:
|
|
766
|
+
onVisibleChange: Q
|
|
759
767
|
}, {
|
|
760
|
-
dropTitle:
|
|
761
|
-
p(
|
|
768
|
+
dropTitle: k(() => [
|
|
769
|
+
p(De) === "view" && w.platform === "client" ? (A(), de(G, {
|
|
762
770
|
key: 0,
|
|
763
771
|
class: "system-default-button"
|
|
764
772
|
}, {
|
|
765
|
-
icon:
|
|
766
|
-
d(
|
|
773
|
+
icon: k(() => [
|
|
774
|
+
d(Me, { name: "three" })
|
|
767
775
|
]),
|
|
768
|
-
default:
|
|
776
|
+
default: k(() => [
|
|
769
777
|
s[8] || (s[8] = Qe(" 三维查看 "))
|
|
770
778
|
]),
|
|
771
779
|
_: 1,
|
|
772
780
|
__: [8]
|
|
773
781
|
})) : z("", !0)
|
|
774
782
|
]),
|
|
775
|
-
dropMenu:
|
|
783
|
+
dropMenu: k(() => [
|
|
776
784
|
xe((A(), U("div", Va, [
|
|
777
|
-
(A(!0), U(Se, null,
|
|
785
|
+
(A(!0), U(Se, null, Ke(C.value, (h, L) => (A(), U("div", {
|
|
778
786
|
class: "task-item",
|
|
779
787
|
key: L,
|
|
780
788
|
title: h == null ? void 0 : h.name,
|
|
@@ -787,38 +795,38 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
787
795
|
_: 1
|
|
788
796
|
}),
|
|
789
797
|
d(et, null, {
|
|
790
|
-
dropTitle:
|
|
798
|
+
dropTitle: k(() => [
|
|
791
799
|
u("div", Xa, [
|
|
792
|
-
d(
|
|
800
|
+
d(Me, { name: "系统消息" }),
|
|
793
801
|
o.value > 0 ? (A(), U("span", Za)) : z("", !0)
|
|
794
802
|
])
|
|
795
803
|
]),
|
|
796
|
-
dropMenu:
|
|
804
|
+
dropMenu: k(() => [
|
|
797
805
|
d(c, {
|
|
798
|
-
modelValue:
|
|
799
|
-
"onUpdate:modelValue": s[3] || (s[3] = (h) =>
|
|
806
|
+
modelValue: E.value,
|
|
807
|
+
"onUpdate:modelValue": s[3] || (s[3] = (h) => E.value = h),
|
|
800
808
|
class: "drop-menu1 message-dropdown",
|
|
801
809
|
onTabClick: e
|
|
802
810
|
}, {
|
|
803
|
-
default:
|
|
811
|
+
default: k(() => [
|
|
804
812
|
d(r, {
|
|
805
813
|
label: "全部消息",
|
|
806
814
|
name: "first"
|
|
807
815
|
}, {
|
|
808
|
-
label:
|
|
816
|
+
label: k(() => [
|
|
809
817
|
u("div", za, [
|
|
810
818
|
s[9] || (s[9] = u("span", null, "全部消息", -1)),
|
|
811
819
|
o.value > 0 ? (A(), U("span", _a, ee(P.value), 1)) : z("", !0)
|
|
812
820
|
])
|
|
813
821
|
]),
|
|
814
|
-
default:
|
|
822
|
+
default: k(() => [
|
|
815
823
|
u("div", $a, [
|
|
816
|
-
(A(!0), U(Se, null,
|
|
824
|
+
(A(!0), U(Se, null, Ke(D.value, (h, L) => {
|
|
817
825
|
var x, v, H, te;
|
|
818
826
|
return A(), U("div", {
|
|
819
827
|
class: "message-item",
|
|
820
828
|
key: L,
|
|
821
|
-
onClick: (g) =>
|
|
829
|
+
onClick: (g) => B(h)
|
|
822
830
|
}, [
|
|
823
831
|
u("div", tn, [
|
|
824
832
|
((x = h.find((g) => g.prop === "状态")) == null ? void 0 : x.value) === "未读" ? (A(), U("span", an, "[未读]")) : (A(), U("span", nn, "[已读]")),
|
|
@@ -837,19 +845,19 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
837
845
|
label: "我的消息",
|
|
838
846
|
name: "second"
|
|
839
847
|
}, {
|
|
840
|
-
label:
|
|
848
|
+
label: k(() => s[10] || (s[10] = [
|
|
841
849
|
u("div", { class: "message-tab-label" }, [
|
|
842
850
|
u("span", null, "我的消息")
|
|
843
851
|
], -1)
|
|
844
852
|
])),
|
|
845
|
-
default:
|
|
853
|
+
default: k(() => [
|
|
846
854
|
u("div", cn, [
|
|
847
|
-
(A(!0), U(Se, null,
|
|
855
|
+
(A(!0), U(Se, null, Ke(W.value, (h, L) => {
|
|
848
856
|
var x, v, H, te;
|
|
849
857
|
return A(), U("div", {
|
|
850
858
|
class: "message-item",
|
|
851
859
|
key: L,
|
|
852
|
-
onClick: (g) =>
|
|
860
|
+
onClick: (g) => B(h)
|
|
853
861
|
}, [
|
|
854
862
|
u("div", dn, [
|
|
855
863
|
((x = h.find((g) => g.prop === "状态")) == null ? void 0 : x.value) === "未读" ? (A(), U("span", An, "[未读]")) : (A(), U("span", gn, "[已读]")),
|
|
@@ -871,14 +879,14 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
871
879
|
_: 1
|
|
872
880
|
}),
|
|
873
881
|
d(et, null, {
|
|
874
|
-
dropTitle:
|
|
882
|
+
dropTitle: k(() => [
|
|
875
883
|
d(ct, {
|
|
876
884
|
size: 35,
|
|
877
885
|
disabled: !0,
|
|
878
886
|
userInfo: p(O)
|
|
879
887
|
}, null, 8, ["userInfo"])
|
|
880
888
|
]),
|
|
881
|
-
dropMenu:
|
|
889
|
+
dropMenu: k(() => {
|
|
882
890
|
var h, L, x, v, H, te;
|
|
883
891
|
return [
|
|
884
892
|
u("div", pn, [
|
|
@@ -898,23 +906,23 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
898
906
|
]),
|
|
899
907
|
u("div", Bn, [
|
|
900
908
|
u("div", { onClick: pe }, [
|
|
901
|
-
d(
|
|
909
|
+
d(Me, {
|
|
902
910
|
name: "personal",
|
|
903
911
|
style: { width: "15px", height: "15px" }
|
|
904
912
|
}),
|
|
905
913
|
s[11] || (s[11] = u("span", null, "个人主页", -1))
|
|
906
914
|
]),
|
|
907
915
|
u("div", null, [
|
|
908
|
-
d(
|
|
916
|
+
d(Me, {
|
|
909
917
|
name: "message",
|
|
910
918
|
style: { width: "15px", height: "15px" }
|
|
911
919
|
}),
|
|
912
920
|
s[12] || (s[12] = u("span", null, "消息中心", -1))
|
|
913
921
|
])
|
|
914
922
|
]),
|
|
915
|
-
u("div",
|
|
923
|
+
u("div", In, [
|
|
916
924
|
u("div", null, [
|
|
917
|
-
d(
|
|
925
|
+
d(Me, {
|
|
918
926
|
name: "exit",
|
|
919
927
|
style: { width: "15px", height: "15px", color: "#eb503d" }
|
|
920
928
|
}),
|
|
@@ -938,18 +946,18 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
938
946
|
_: 3
|
|
939
947
|
}),
|
|
940
948
|
d(i, { class: "client-body" }, {
|
|
941
|
-
default:
|
|
949
|
+
default: k(() => [
|
|
942
950
|
d(j, { class: "client-main" }, {
|
|
943
|
-
default:
|
|
951
|
+
default: k(() => {
|
|
944
952
|
var h, L, x, v, H, te;
|
|
945
953
|
return [
|
|
946
|
-
xe((A(),
|
|
954
|
+
xe((A(), de(J, {
|
|
947
955
|
class: "client-aside",
|
|
948
956
|
style: gt({ backgroundImage: w.platform === "client" ? `url(${p(Da)})` : `url(${p(ja)})` }),
|
|
949
957
|
"element-loading-text": "正在加载数据...",
|
|
950
958
|
width: "auto"
|
|
951
959
|
}, {
|
|
952
|
-
default:
|
|
960
|
+
default: k(() => [
|
|
953
961
|
d(Aa, { mode: "vertical" })
|
|
954
962
|
]),
|
|
955
963
|
_: 1
|
|
@@ -962,7 +970,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
962
970
|
ref: Ve,
|
|
963
971
|
"element-loading-text": "正在加载页面数据..."
|
|
964
972
|
}, [
|
|
965
|
-
((L = p(Ce)) == null ? void 0 : L[((h = p(Ce)) == null ? void 0 : h.length) - 1]) === p(t) || (x = p(Ce)) != null && x.includes("updateLoading") || (v = p(Ce)) != null && v.includes("loading") ? (A(), U("div",
|
|
973
|
+
((L = p(Ce)) == null ? void 0 : L[((h = p(Ce)) == null ? void 0 : h.length) - 1]) === p(t) || (x = p(Ce)) != null && x.includes("updateLoading") || (v = p(Ce)) != null && v.includes("loading") ? (A(), U("div", vn, [
|
|
966
974
|
d(Le, {
|
|
967
975
|
class: "calculator-content back-content",
|
|
968
976
|
onClickTrigger: s[4] || (s[4] = (g) => p(na)()),
|
|
@@ -970,26 +978,26 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
970
978
|
})
|
|
971
979
|
])) : z("", !0),
|
|
972
980
|
u("div", kn, [
|
|
973
|
-
Ge.value ? (A(),
|
|
974
|
-
Ge.value ? z("", !0) : (A(!0), U(Se, { key: 1 },
|
|
975
|
-
var
|
|
981
|
+
Ge.value ? (A(), de(Z, { key: 0 })) : z("", !0),
|
|
982
|
+
Ge.value ? z("", !0) : (A(!0), U(Se, { key: 1 }, Ke((H = p(Je)) == null ? void 0 : H.filter((g) => g.comp !== "FormTop"), (g, Be) => {
|
|
983
|
+
var je;
|
|
976
984
|
return A(), U("div", {
|
|
977
985
|
class: "item-view-content",
|
|
978
986
|
key: Be,
|
|
979
987
|
style: gt({ display: (g == null ? void 0 : g.isShow) === !1 ? "none" : "flex" })
|
|
980
988
|
}, [
|
|
981
|
-
((
|
|
989
|
+
((je = g == null ? void 0 : g.comp) == null ? void 0 : je.toUpperCase()) !== "TABLE" && g.name ? (A(), U("div", En, [
|
|
982
990
|
u("div", Sn, ee(g.name), 1)
|
|
983
991
|
])) : z("", !0),
|
|
984
|
-
p(oa) ? (A(),
|
|
992
|
+
p(oa) ? (A(), de(jt(p(Ft)(g.comp)), {
|
|
985
993
|
compName: g.name,
|
|
986
994
|
isDevMode: w.showButton,
|
|
987
995
|
itemData: g == null ? void 0 : g.compData,
|
|
988
996
|
childItemData: g == null ? void 0 : g.itemChildData,
|
|
989
997
|
key: p(ia),
|
|
990
|
-
onChange: p(
|
|
998
|
+
onChange: p(Rt),
|
|
991
999
|
index: (g == null ? void 0 : g.id) ?? Be,
|
|
992
|
-
onContentChange: p(
|
|
1000
|
+
onContentChange: p(Qt),
|
|
993
1001
|
onPageChange: p(la),
|
|
994
1002
|
onRowClick: it,
|
|
995
1003
|
onRouteUrl: y,
|
|
@@ -999,7 +1007,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
999
1007
|
], 4);
|
|
1000
1008
|
}), 128)),
|
|
1001
1009
|
!Ge.value && !((te = p(Je)) != null && te.find((g) => g.comp === "methodButton")) ? (A(), U("div", Qn, [
|
|
1002
|
-
|
|
1010
|
+
re() ? (A(), de(Le, {
|
|
1003
1011
|
key: 0,
|
|
1004
1012
|
class: "calculator-content",
|
|
1005
1013
|
onClickTrigger: m,
|
|
@@ -1019,11 +1027,11 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1019
1027
|
}),
|
|
1020
1028
|
u("div", null, [
|
|
1021
1029
|
d(mt, {
|
|
1022
|
-
visible:
|
|
1030
|
+
visible: ce.value,
|
|
1023
1031
|
onBeforeDestroy: l,
|
|
1024
1032
|
style: { height: "700px", width: "1000px" }
|
|
1025
1033
|
}, {
|
|
1026
|
-
default:
|
|
1034
|
+
default: k(() => [
|
|
1027
1035
|
d(ga, {
|
|
1028
1036
|
ref_key: "threeModelRef",
|
|
1029
1037
|
ref: oe
|
|
@@ -1035,13 +1043,13 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1035
1043
|
]),
|
|
1036
1044
|
_: 3
|
|
1037
1045
|
})), [
|
|
1038
|
-
[
|
|
1046
|
+
[kt, p(De) === "view"],
|
|
1039
1047
|
[$, p(nt)]
|
|
1040
1048
|
])
|
|
1041
1049
|
], 64);
|
|
1042
1050
|
};
|
|
1043
1051
|
}
|
|
1044
|
-
}),
|
|
1052
|
+
}), bn = /* @__PURE__ */ Oe(Rn, [["__scopeId", "data-v-982b38b3"]]), Un = { class: "system-wrap" }, Dn = {
|
|
1045
1053
|
__name: "index",
|
|
1046
1054
|
props: {
|
|
1047
1055
|
windowConfig: {
|
|
@@ -1067,10 +1075,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1067
1075
|
},
|
|
1068
1076
|
emits: ["buildContent", "showChild"],
|
|
1069
1077
|
setup(w, { emit: q }) {
|
|
1070
|
-
const e =
|
|
1071
|
-
|
|
1072
|
-
const W =
|
|
1073
|
-
P("showChild",
|
|
1078
|
+
const e = ht(ve), E = Nt(ve), D = pt();
|
|
1079
|
+
R(!1);
|
|
1080
|
+
const W = R(!0), o = w, P = q, f = (I) => {
|
|
1081
|
+
P("showChild", I);
|
|
1074
1082
|
}, K = We(() => {
|
|
1075
1083
|
switch (o == null ? void 0 : o.platform) {
|
|
1076
1084
|
case "browser":
|
|
@@ -1078,50 +1086,50 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1078
1086
|
case "client":
|
|
1079
1087
|
return ma;
|
|
1080
1088
|
}
|
|
1081
|
-
}), t = (
|
|
1089
|
+
}), t = (I) => {
|
|
1082
1090
|
const T = document.documentElement;
|
|
1083
|
-
|
|
1091
|
+
I == null || I.forEach((_) => {
|
|
1084
1092
|
T.style.setProperty(_.name, _.value);
|
|
1085
1093
|
});
|
|
1086
1094
|
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1095
|
+
me(() => o.platform, (I, T) => {
|
|
1096
|
+
I && t(K.value);
|
|
1089
1097
|
}, { immediate: !0 });
|
|
1090
|
-
const
|
|
1098
|
+
const B = () => {
|
|
1091
1099
|
P("buildContent");
|
|
1092
1100
|
};
|
|
1093
|
-
return
|
|
1101
|
+
return me(
|
|
1094
1102
|
() => [o == null ? void 0 : o.content, o == null ? void 0 : o.jsonContents],
|
|
1095
1103
|
async () => {
|
|
1096
|
-
var
|
|
1104
|
+
var I, T, _, ae;
|
|
1097
1105
|
try {
|
|
1098
|
-
if (((
|
|
1106
|
+
if (((I = o == null ? void 0 : o.jsonContents) == null ? void 0 : I.length) > 0) {
|
|
1099
1107
|
e.setOriginalData(o == null ? void 0 : o.jsonContents);
|
|
1100
1108
|
return;
|
|
1101
1109
|
}
|
|
1102
1110
|
if (!(o != null && o.content) || ((T = o == null ? void 0 : o.content) == null ? void 0 : T.length) === 0) return;
|
|
1103
1111
|
W.value = !0, D.setImportLoading(!0);
|
|
1104
1112
|
let oe = [], se = [];
|
|
1105
|
-
|
|
1106
|
-
se.push(Ht(
|
|
1113
|
+
E.setSelectTitle([]), E.setSelectIndex(""), E.setSelectMenu(""), (ae = (_ = o == null ? void 0 : o.content) == null ? void 0 : _.filter((ce) => ce !== "")) == null || ae.forEach((ce) => {
|
|
1114
|
+
se.push(Ht(ce));
|
|
1107
1115
|
}), oe = se == null ? void 0 : se[0], await Vt(oe), await Tt(), e.setOriginalData(oe);
|
|
1108
1116
|
} catch {
|
|
1109
|
-
|
|
1117
|
+
Pe.error("模型内容错误");
|
|
1110
1118
|
}
|
|
1111
1119
|
D.setImportLoading(!1);
|
|
1112
1120
|
},
|
|
1113
1121
|
{ deep: !0, immediate: !0 }
|
|
1114
|
-
), (
|
|
1115
|
-
d(
|
|
1122
|
+
), (I, T) => (A(), U("div", Un, [
|
|
1123
|
+
d(bn, {
|
|
1116
1124
|
windowConfig: w.windowConfig,
|
|
1117
1125
|
showButton: o == null ? void 0 : o.showButton,
|
|
1118
|
-
onBuildContent:
|
|
1126
|
+
onBuildContent: B,
|
|
1119
1127
|
onShowChild: f,
|
|
1120
1128
|
platform: o == null ? void 0 : o.platform,
|
|
1121
1129
|
taskContent: o.urdfContent
|
|
1122
1130
|
}, {
|
|
1123
|
-
default:
|
|
1124
|
-
yt(
|
|
1131
|
+
default: k(() => [
|
|
1132
|
+
yt(I.$slots, "default", {}, void 0, !0)
|
|
1125
1133
|
]),
|
|
1126
1134
|
_: 3
|
|
1127
1135
|
}, 8, ["windowConfig", "showButton", "platform", "taskContent"])
|
|
@@ -1173,47 +1181,47 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1173
1181
|
},
|
|
1174
1182
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
1175
1183
|
setup(w, { emit: q }) {
|
|
1176
|
-
const e = w,
|
|
1184
|
+
const e = w, E = q;
|
|
1177
1185
|
da();
|
|
1178
|
-
const D =
|
|
1179
|
-
|
|
1180
|
-
const
|
|
1181
|
-
|
|
1186
|
+
const D = R([]), W = R(0), o = R([]), P = R([]), f = R(0), K = ht(ve), t = pt(ve), { itemData: B, originalData: I } = Ie(K), { activeMenuPath: T, platform: _ } = Ie(t), ae = R(null), oe = R(0), se = R([]);
|
|
1187
|
+
R("");
|
|
1188
|
+
const ce = R(0), Re = R([]), b = Yt(), { loginUserInfo: Y, systemKey: Ae } = Ie(b), ge = () => {
|
|
1189
|
+
E("buildContent");
|
|
1182
1190
|
};
|
|
1183
|
-
|
|
1191
|
+
me(
|
|
1184
1192
|
() => e == null ? void 0 : e.pageKey,
|
|
1185
1193
|
async () => {
|
|
1186
1194
|
let a = {};
|
|
1187
1195
|
if ((e == null ? void 0 : e.pageKey) !== "") {
|
|
1188
1196
|
const l = await ke(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), ""), y = await ke("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
1189
1197
|
let m = ["管长", "外径"], N = {};
|
|
1190
|
-
y == null || y.forEach((
|
|
1198
|
+
y == null || y.forEach((Q) => {
|
|
1191
1199
|
var he;
|
|
1192
|
-
(
|
|
1200
|
+
(Q == null ? void 0 : Q.comp) === "Form" && ((he = Q == null ? void 0 : Q.compData) == null || he.forEach((re) => {
|
|
1193
1201
|
var pe;
|
|
1194
|
-
(
|
|
1202
|
+
(re == null ? void 0 : re.key) === "formContent" && ((pe = re == null ? void 0 : re.contents) == null || pe.forEach((n) => {
|
|
1195
1203
|
m.includes(n == null ? void 0 : n.key) && (N[n.key] = n.value);
|
|
1196
1204
|
}));
|
|
1197
1205
|
}));
|
|
1198
|
-
}), l == null || l.forEach((
|
|
1199
|
-
var he,
|
|
1200
|
-
if ((
|
|
1201
|
-
let G = [], F = (pe = (
|
|
1206
|
+
}), l == null || l.forEach((Q) => {
|
|
1207
|
+
var he, re, pe, n, s, M;
|
|
1208
|
+
if ((Q == null ? void 0 : Q.comp) === "Table") {
|
|
1209
|
+
let G = [], F = (pe = (re = (he = Q == null ? void 0 : Q.compData) == null ? void 0 : he.find((r) => (r == null ? void 0 : r.key) === "header")) == null ? void 0 : re.contents) == null ? void 0 : pe.map((r) => r == null ? void 0 : r.label), i = (M = (s = (n = Q == null ? void 0 : Q.compData) == null ? void 0 : n.find((r) => (r == null ? void 0 : r.key) === "tableContents")) == null ? void 0 : s.contents) == null ? void 0 : M.map((r) => (r = r == null ? void 0 : r.filter((c) => !(c != null && c.id)), r));
|
|
1202
1210
|
i == null || i.forEach((r) => {
|
|
1203
|
-
G.push(
|
|
1204
|
-
}), a[
|
|
1211
|
+
G.push(Ct(r, F == null ? void 0 : F.filter((c) => c !== "操作")));
|
|
1212
|
+
}), a[Q.name] = G, a[Q.name + "Content"] = Q;
|
|
1205
1213
|
}
|
|
1206
1214
|
}), a.extra = N;
|
|
1207
|
-
const C = await pa(),
|
|
1208
|
-
a.singleRobotData = C, a.doubleRobotData =
|
|
1215
|
+
const C = await pa(), S = await fa();
|
|
1216
|
+
a.singleRobotData = C, a.doubleRobotData = S, E("threeData", a);
|
|
1209
1217
|
}
|
|
1210
1218
|
},
|
|
1211
1219
|
{ deep: !0, immediate: !0 }
|
|
1212
1220
|
);
|
|
1213
|
-
const
|
|
1214
|
-
|
|
1221
|
+
const le = (a) => {
|
|
1222
|
+
Re.value = a, E("openThreeBuild", a);
|
|
1215
1223
|
};
|
|
1216
|
-
|
|
1224
|
+
me(
|
|
1217
1225
|
() => e == null ? void 0 : e.pathContent,
|
|
1218
1226
|
() => {
|
|
1219
1227
|
(e == null ? void 0 : e.pathContent) !== "" && K.setSystemPath(e == null ? void 0 : e.pathContent);
|
|
@@ -1223,75 +1231,75 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1223
1231
|
immediate: !0
|
|
1224
1232
|
}
|
|
1225
1233
|
);
|
|
1226
|
-
const
|
|
1227
|
-
|
|
1234
|
+
const be = (a) => {
|
|
1235
|
+
E("contentChange", a);
|
|
1228
1236
|
}, He = (a) => {
|
|
1229
1237
|
var y;
|
|
1230
|
-
const l = (y =
|
|
1238
|
+
const l = (y = Fe(a == null ? void 0 : a.wholeValue)) == null ? void 0 : y.map((m) => {
|
|
1231
1239
|
var N;
|
|
1232
1240
|
return (m == null ? void 0 : m.comp) === "Form" && (m.compData = (N = m.compData) == null ? void 0 : N.map((C) => ((C == null ? void 0 : C.key) === "formContent" && (C.contents = ca(C == null ? void 0 : C.contents)), C))), m;
|
|
1233
1241
|
});
|
|
1234
|
-
|
|
1235
|
-
originalContents:
|
|
1242
|
+
E("change", {
|
|
1243
|
+
originalContents: I.value,
|
|
1236
1244
|
currentContents: a == null ? void 0 : a.wholeValue,
|
|
1237
1245
|
editContent: a == null ? void 0 : a.editValue,
|
|
1238
1246
|
arrayToContents: l
|
|
1239
1247
|
});
|
|
1240
1248
|
};
|
|
1241
|
-
|
|
1249
|
+
me(
|
|
1242
1250
|
() => o.value,
|
|
1243
1251
|
() => {
|
|
1244
|
-
|
|
1252
|
+
ce.value === o.value.length && o.value.length !== 0 && (D.value = o.value);
|
|
1245
1253
|
},
|
|
1246
1254
|
{ deep: !0, immediate: !0 }
|
|
1247
1255
|
);
|
|
1248
1256
|
const Ve = () => {
|
|
1249
1257
|
ae.value !== null && ae.value.click();
|
|
1250
|
-
},
|
|
1258
|
+
}, Ue = async (a) => {
|
|
1251
1259
|
t.setActiveMenuPath(""), t.setActiveTopMenuPath(""), t.setAsideMenus([]);
|
|
1252
1260
|
const l = a.target.files;
|
|
1253
1261
|
if (!l) return;
|
|
1254
|
-
new FileReader(), D.value = [], o.value = [],
|
|
1262
|
+
new FileReader(), D.value = [], o.value = [], ce.value = l.length;
|
|
1255
1263
|
const y = Array.from(l).map(async (m) => await new Promise((N) => {
|
|
1256
1264
|
const C = new FileReader();
|
|
1257
|
-
C.onload = (
|
|
1265
|
+
C.onload = (S) => {
|
|
1258
1266
|
try {
|
|
1259
|
-
o.value.push(
|
|
1260
|
-
} catch (
|
|
1261
|
-
console.error("解析失败:",
|
|
1267
|
+
o.value.push(S.target.result), oe.value++;
|
|
1268
|
+
} catch (Q) {
|
|
1269
|
+
console.error("解析失败:", Q);
|
|
1262
1270
|
return;
|
|
1263
1271
|
}
|
|
1264
1272
|
}, C.onerror = () => N(`读取 ${m.name} 失败`), C.readAsText(m), a.target.value = "", ae.value = null, W.value++;
|
|
1265
1273
|
}));
|
|
1266
1274
|
await Promise.all(y);
|
|
1267
1275
|
};
|
|
1268
|
-
|
|
1276
|
+
me(
|
|
1269
1277
|
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
1270
1278
|
async () => {
|
|
1271
1279
|
await Tt(), D.value = e.content, P.value = e == null ? void 0 : e.jsonContents;
|
|
1272
1280
|
},
|
|
1273
1281
|
{ deep: !0, immediate: !0 }
|
|
1274
|
-
),
|
|
1282
|
+
), me(
|
|
1275
1283
|
() => oe.value,
|
|
1276
1284
|
() => {
|
|
1277
1285
|
var a;
|
|
1278
1286
|
((a = se.value) == null ? void 0 : a.length) !== 0 && (K.setOriginalData(se.value), K.setItemData(se.value));
|
|
1279
1287
|
},
|
|
1280
1288
|
{ deep: !0, immediate: !0 }
|
|
1281
|
-
),
|
|
1282
|
-
const ne =
|
|
1289
|
+
), R(""), R("");
|
|
1290
|
+
const ne = R({
|
|
1283
1291
|
targetModel: "",
|
|
1284
1292
|
modelName: ""
|
|
1285
|
-
}),
|
|
1286
|
-
const a = (
|
|
1293
|
+
}), ue = R([]), Ye = R(!1), tt = We(() => {
|
|
1294
|
+
const a = (ue == null ? void 0 : ue.value) || [];
|
|
1287
1295
|
if (!a.length)
|
|
1288
1296
|
return !1;
|
|
1289
1297
|
const l = a == null ? void 0 : a[0], y = l == null ? void 0 : l.name;
|
|
1290
1298
|
return !(a.length === 1 && !y);
|
|
1291
1299
|
}), O = () => {
|
|
1292
|
-
|
|
1300
|
+
Ye.value = !1;
|
|
1293
1301
|
}, Ne = async () => {
|
|
1294
|
-
var N, C,
|
|
1302
|
+
var N, C, S;
|
|
1295
1303
|
const a = (N = Y == null ? void 0 : Y.value) == null ? void 0 : N.account, l = (C = Y == null ? void 0 : Y.value) == null ? void 0 : C.password;
|
|
1296
1304
|
if (!a)
|
|
1297
1305
|
return;
|
|
@@ -1301,31 +1309,31 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1301
1309
|
"tableData.password": l
|
|
1302
1310
|
}
|
|
1303
1311
|
});
|
|
1304
|
-
let m = ((
|
|
1305
|
-
return m = m == null ? void 0 : m.filter((
|
|
1306
|
-
var
|
|
1307
|
-
return ((pe = (
|
|
1312
|
+
let m = ((S = y == null ? void 0 : y.data) == null ? void 0 : S.result) || [];
|
|
1313
|
+
return m = m == null ? void 0 : m.filter((Q) => {
|
|
1314
|
+
var re, pe;
|
|
1315
|
+
return ((pe = (re = Q == null ? void 0 : Q.value) == null ? void 0 : re.tableData) == null ? void 0 : pe.account) === a;
|
|
1308
1316
|
}), m;
|
|
1309
|
-
},
|
|
1317
|
+
}, De = async () => {
|
|
1310
1318
|
const a = await Ne(), l = a == null ? void 0 : a.map((y) => y == null ? void 0 : y.key);
|
|
1311
|
-
|
|
1319
|
+
ue.value = l;
|
|
1312
1320
|
}, qe = () => {
|
|
1313
1321
|
if (!ne.value.targetModel) {
|
|
1314
|
-
const l =
|
|
1322
|
+
const l = ue.value, y = l == null ? void 0 : l[0], m = y == null ? void 0 : y.systemKey;
|
|
1315
1323
|
ne.value.targetModel = m;
|
|
1316
1324
|
}
|
|
1317
|
-
},
|
|
1325
|
+
}, Te = async () => {
|
|
1318
1326
|
var l;
|
|
1319
|
-
(l = Y == null ? void 0 : Y.value) != null && l.account && (
|
|
1327
|
+
(l = Y == null ? void 0 : Y.value) != null && l.account && (Ye.value = !0, await De(), qe());
|
|
1320
1328
|
}, Ee = (a) => {
|
|
1321
|
-
sessionStorage.setItem("systemKey", a),
|
|
1329
|
+
sessionStorage.setItem("systemKey", a), b.setSystemKey(a), ha();
|
|
1322
1330
|
}, at = (a) => {
|
|
1323
1331
|
ne.value.targetModel = a;
|
|
1324
1332
|
}, nt = async () => {
|
|
1325
1333
|
var a;
|
|
1326
1334
|
if (tt.value) {
|
|
1327
1335
|
if (!((a = ne == null ? void 0 : ne.value) != null && a.targetModel)) {
|
|
1328
|
-
|
|
1336
|
+
Pe.warning("请先选择模型");
|
|
1329
1337
|
return;
|
|
1330
1338
|
}
|
|
1331
1339
|
O(), Ee(ne.value.targetModel);
|
|
@@ -1342,20 +1350,20 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1342
1350
|
}, st = async () => {
|
|
1343
1351
|
const a = await ot();
|
|
1344
1352
|
return a == null ? void 0 : a.reduce((y, m) => {
|
|
1345
|
-
var
|
|
1346
|
-
const N = ((
|
|
1353
|
+
var S;
|
|
1354
|
+
const N = ((S = m == null ? void 0 : m.key) == null ? void 0 : S.systemKey) || -1, C = Number(N);
|
|
1347
1355
|
return Math.max(C, y);
|
|
1348
1356
|
}, 0);
|
|
1349
1357
|
}, Xe = async () => {
|
|
1350
1358
|
const a = await Ce();
|
|
1351
1359
|
Ee(a), O();
|
|
1352
1360
|
}, Ce = async () => {
|
|
1353
|
-
var C,
|
|
1361
|
+
var C, S, Q;
|
|
1354
1362
|
const a = await st();
|
|
1355
1363
|
if (!a)
|
|
1356
1364
|
return;
|
|
1357
|
-
const l = a + 1, y = l.toString(), m = (C = Y == null ? void 0 : Y.value) == null ? void 0 : C.account, N = (
|
|
1358
|
-
return (
|
|
1365
|
+
const l = a + 1, y = l.toString(), m = (C = Y == null ? void 0 : Y.value) == null ? void 0 : C.account, N = (S = Y == null ? void 0 : Y.value) == null ? void 0 : S.password;
|
|
1366
|
+
return (Q = ne == null ? void 0 : ne.value) == null || Q.modelName, await Xt({
|
|
1359
1367
|
key: {
|
|
1360
1368
|
pageKey: "/user",
|
|
1361
1369
|
systemKey: y,
|
|
@@ -1368,7 +1376,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1368
1376
|
}
|
|
1369
1377
|
}
|
|
1370
1378
|
}), l;
|
|
1371
|
-
},
|
|
1379
|
+
}, ie = async (a) => {
|
|
1372
1380
|
if (!a)
|
|
1373
1381
|
return;
|
|
1374
1382
|
const l = (a == null ? void 0 : a.key) || {}, y = {
|
|
@@ -1382,34 +1390,34 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1382
1390
|
}, Ge = async (a) => {
|
|
1383
1391
|
var y;
|
|
1384
1392
|
const l = (y = a == null ? void 0 : a.map((m) => m == null ? void 0 : m.id)) == null ? void 0 : y.filter((m) => m);
|
|
1385
|
-
(l == null ? void 0 : l.length) > 0 && await
|
|
1393
|
+
(l == null ? void 0 : l.length) > 0 && await St({
|
|
1386
1394
|
ids: l
|
|
1387
1395
|
});
|
|
1388
1396
|
}, lt = async () => {
|
|
1389
|
-
ne.value.targetModel = "", await
|
|
1397
|
+
ne.value.targetModel = "", await Te();
|
|
1390
1398
|
}, it = async (a) => {
|
|
1391
1399
|
var m, N;
|
|
1392
1400
|
t.setImportLoading(!0);
|
|
1393
|
-
const l = await Ne().catch((C) => (t.setImportLoading(!1),
|
|
1394
|
-
var
|
|
1395
|
-
const
|
|
1396
|
-
return a ===
|
|
1401
|
+
const l = await Ne().catch((C) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(C))), y = l == null ? void 0 : l.find((C) => {
|
|
1402
|
+
var Q;
|
|
1403
|
+
const S = (Q = C == null ? void 0 : C.key) == null ? void 0 : Q.systemKey;
|
|
1404
|
+
return a === S;
|
|
1397
1405
|
});
|
|
1398
|
-
if (y && (l == null ? void 0 : l.length) === 1 && await
|
|
1406
|
+
if (y && (l == null ? void 0 : l.length) === 1 && await ie(y).catch((C) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(C))), y && (l == null ? void 0 : l.length) > 1) {
|
|
1399
1407
|
const C = await $e({
|
|
1400
1408
|
key: {
|
|
1401
1409
|
systemKey: a
|
|
1402
1410
|
}
|
|
1403
|
-
}).catch((
|
|
1411
|
+
}).catch((S) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(S)));
|
|
1404
1412
|
if (((m = C == null ? void 0 : C.data) == null ? void 0 : m.code) === 200) {
|
|
1405
|
-
const
|
|
1406
|
-
await Ge(
|
|
1413
|
+
const S = (N = C == null ? void 0 : C.data) == null ? void 0 : N.result;
|
|
1414
|
+
await Ge(S).catch((Q) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(Q)));
|
|
1407
1415
|
}
|
|
1408
1416
|
}
|
|
1409
|
-
await lt(), t.setImportLoading(!1),
|
|
1417
|
+
await lt(), t.setImportLoading(!1), Pe.success("删除成功");
|
|
1410
1418
|
};
|
|
1411
|
-
|
|
1412
|
-
(e == null ? void 0 : e.oldSystemKey) === "" && (ne.value.targetModel = a, a ||
|
|
1419
|
+
me(() => Ae.value, (a) => {
|
|
1420
|
+
(e == null ? void 0 : e.oldSystemKey) === "" && (ne.value.targetModel = a, a || Te());
|
|
1413
1421
|
}, { deep: !0, immediate: !0 });
|
|
1414
1422
|
const rt = async () => {
|
|
1415
1423
|
var l, y, m, N;
|
|
@@ -1420,60 +1428,60 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1420
1428
|
}
|
|
1421
1429
|
});
|
|
1422
1430
|
if (((l = a == null ? void 0 : a.data) == null ? void 0 : l.code) === 200) {
|
|
1423
|
-
let C = (N = (m = (y = a == null ? void 0 : a.data) == null ? void 0 : y.result) == null ? void 0 : m.map((
|
|
1424
|
-
var
|
|
1425
|
-
if (((
|
|
1426
|
-
return
|
|
1427
|
-
})) == null ? void 0 : N.filter((
|
|
1428
|
-
(C == null ? void 0 : C.length) > 0 && await
|
|
1431
|
+
let C = (N = (m = (y = a == null ? void 0 : a.data) == null ? void 0 : y.result) == null ? void 0 : m.map((S) => {
|
|
1432
|
+
var Q;
|
|
1433
|
+
if (((Q = S == null ? void 0 : S.key) == null ? void 0 : Q.layer) !== "superAdmin")
|
|
1434
|
+
return S == null ? void 0 : S.id;
|
|
1435
|
+
})) == null ? void 0 : N.filter((S) => S);
|
|
1436
|
+
(C == null ? void 0 : C.length) > 0 && await St({
|
|
1429
1437
|
ids: C
|
|
1430
1438
|
}), t.setRawMenus([]);
|
|
1431
1439
|
}
|
|
1432
1440
|
t.setImportLoading(!1);
|
|
1433
1441
|
};
|
|
1434
1442
|
return (a, l) => {
|
|
1435
|
-
const y =
|
|
1443
|
+
const y = ye("svg-icon"), m = ye("el-button");
|
|
1436
1444
|
return A(), U("div", Mn, [
|
|
1437
1445
|
(e == null ? void 0 : e.mode) === "edit" ? (A(), U("div", Pn, [
|
|
1438
1446
|
u("div", Kn, [
|
|
1439
|
-
d(
|
|
1447
|
+
d(Mt)
|
|
1440
1448
|
]),
|
|
1441
1449
|
(A(), U("div", {
|
|
1442
1450
|
class: "model-show",
|
|
1443
1451
|
key: f.value
|
|
1444
1452
|
}, [
|
|
1445
|
-
d(
|
|
1453
|
+
d(Pt)
|
|
1446
1454
|
])),
|
|
1447
1455
|
u("div", Yn, [
|
|
1448
|
-
d(
|
|
1456
|
+
d(Kt)
|
|
1449
1457
|
])
|
|
1450
1458
|
])) : z("", !0),
|
|
1451
1459
|
(e == null ? void 0 : e.mode) === "view" ? (A(), U("div", Tn, [
|
|
1452
|
-
(A(),
|
|
1460
|
+
(A(), de(jn, {
|
|
1453
1461
|
showButton: e == null ? void 0 : e.showButton,
|
|
1454
1462
|
platform: p(_),
|
|
1455
1463
|
content: D.value,
|
|
1456
1464
|
onChange: He,
|
|
1457
1465
|
jsonContents: P.value,
|
|
1458
|
-
onContentChange:
|
|
1459
|
-
onBuildContent:
|
|
1466
|
+
onContentChange: be,
|
|
1467
|
+
onBuildContent: ge,
|
|
1460
1468
|
key: f.value,
|
|
1461
|
-
onShowChild:
|
|
1462
|
-
urdfContent:
|
|
1469
|
+
onShowChild: le,
|
|
1470
|
+
urdfContent: Re.value
|
|
1463
1471
|
}, {
|
|
1464
|
-
default:
|
|
1472
|
+
default: k(() => [
|
|
1465
1473
|
d(et, null, {
|
|
1466
|
-
dropTitle:
|
|
1474
|
+
dropTitle: k(() => {
|
|
1467
1475
|
var N;
|
|
1468
1476
|
return [
|
|
1469
|
-
((N = e == null ? void 0 : e.jsonContents) == null ? void 0 : N.length) === 0 && (e != null && e.showButton) ? (A(),
|
|
1477
|
+
((N = e == null ? void 0 : e.jsonContents) == null ? void 0 : N.length) === 0 && (e != null && e.showButton) ? (A(), de(m, {
|
|
1470
1478
|
key: 0,
|
|
1471
1479
|
class: "system-default-button"
|
|
1472
1480
|
}, {
|
|
1473
|
-
icon:
|
|
1481
|
+
icon: k(() => [
|
|
1474
1482
|
d(y, { name: "model" })
|
|
1475
1483
|
]),
|
|
1476
|
-
default:
|
|
1484
|
+
default: k(() => [
|
|
1477
1485
|
l[0] || (l[0] = Qe(" 模型 "))
|
|
1478
1486
|
]),
|
|
1479
1487
|
_: 1,
|
|
@@ -1481,23 +1489,23 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1481
1489
|
})) : z("", !0)
|
|
1482
1490
|
];
|
|
1483
1491
|
}),
|
|
1484
|
-
dropMenu:
|
|
1492
|
+
dropMenu: k(() => [
|
|
1485
1493
|
u("div", Fn, [
|
|
1486
1494
|
d(m, {
|
|
1487
1495
|
onClick: Ve,
|
|
1488
1496
|
style: { width: "100%", margin: "0" }
|
|
1489
1497
|
}, {
|
|
1490
|
-
icon:
|
|
1498
|
+
icon: k(() => [
|
|
1491
1499
|
d(y, { name: "import" })
|
|
1492
1500
|
]),
|
|
1493
|
-
default:
|
|
1501
|
+
default: k(() => [
|
|
1494
1502
|
(A(), U("input", {
|
|
1495
1503
|
type: "file",
|
|
1496
1504
|
key: W.value,
|
|
1497
1505
|
ref_key: "fileInput",
|
|
1498
1506
|
ref: ae,
|
|
1499
1507
|
accept: ".txt, .inm, .iml, .imd",
|
|
1500
|
-
onChange:
|
|
1508
|
+
onChange: Ue,
|
|
1501
1509
|
style: { display: "none" },
|
|
1502
1510
|
multiple: ""
|
|
1503
1511
|
}, null, 32)),
|
|
@@ -1507,10 +1515,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1507
1515
|
__: [1]
|
|
1508
1516
|
}),
|
|
1509
1517
|
d(m, { style: { width: "100%", margin: "0" } }, {
|
|
1510
|
-
icon:
|
|
1518
|
+
icon: k(() => [
|
|
1511
1519
|
d(y, { name: "export" })
|
|
1512
1520
|
]),
|
|
1513
|
-
default:
|
|
1521
|
+
default: k(() => [
|
|
1514
1522
|
l[2] || (l[2] = Qe(" 导出模型 "))
|
|
1515
1523
|
]),
|
|
1516
1524
|
_: 1,
|
|
@@ -1520,10 +1528,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1520
1528
|
onClick: rt,
|
|
1521
1529
|
style: { width: "100%", margin: "0" }
|
|
1522
1530
|
}, {
|
|
1523
|
-
icon:
|
|
1531
|
+
icon: k(() => [
|
|
1524
1532
|
d(y, { name: "clear" })
|
|
1525
1533
|
]),
|
|
1526
|
-
default:
|
|
1534
|
+
default: k(() => [
|
|
1527
1535
|
l[3] || (l[3] = Qe(" 清空模型 "))
|
|
1528
1536
|
]),
|
|
1529
1537
|
_: 1,
|
|
@@ -1539,7 +1547,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1539
1547
|
])) : z("", !0),
|
|
1540
1548
|
d(mt, {
|
|
1541
1549
|
class: "select-model-dialog",
|
|
1542
|
-
visible:
|
|
1550
|
+
visible: Ye.value && (e == null ? void 0 : e.oldSystemKey) === "",
|
|
1543
1551
|
onBeforeDestroy: O,
|
|
1544
1552
|
showClose: !1,
|
|
1545
1553
|
closeOnClickModal: !1,
|
|
@@ -1547,7 +1555,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1547
1555
|
modalClass: "select-model-modal",
|
|
1548
1556
|
alignCenter: !0
|
|
1549
1557
|
}, {
|
|
1550
|
-
default:
|
|
1558
|
+
default: k(() => {
|
|
1551
1559
|
var N, C;
|
|
1552
1560
|
return [
|
|
1553
1561
|
u("div", Nn, [
|
|
@@ -1564,22 +1572,22 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1564
1572
|
]),
|
|
1565
1573
|
u("div", Jn, [
|
|
1566
1574
|
l[5] || (l[5] = u("div", { class: "enter-project-title" }, "项目列表", -1)),
|
|
1567
|
-
(N =
|
|
1568
|
-
(A(!0), U(Se, null,
|
|
1569
|
-
var
|
|
1575
|
+
(N = ue.value) != null && N.length ? (A(), U("div", Wn, [
|
|
1576
|
+
(A(!0), U(Se, null, Ke(ue.value, (S) => {
|
|
1577
|
+
var Q;
|
|
1570
1578
|
return A(), U("div", {
|
|
1571
|
-
class:
|
|
1572
|
-
"project-item-active": (
|
|
1579
|
+
class: Et(["project-item", {
|
|
1580
|
+
"project-item-active": (S == null ? void 0 : S.systemKey) == ne.value.targetModel
|
|
1573
1581
|
}]),
|
|
1574
|
-
onClick: (he) => at(
|
|
1582
|
+
onClick: (he) => at(S == null ? void 0 : S.systemKey)
|
|
1575
1583
|
}, [
|
|
1576
|
-
u("div", On, ee(`${
|
|
1584
|
+
u("div", On, ee(`${S.name ?? ""}(${S.systemKey})`), 1),
|
|
1577
1585
|
u("div", Hn, [
|
|
1578
|
-
((
|
|
1586
|
+
((Q = ue.value) == null ? void 0 : Q.length) > 1 ? (A(), de(y, {
|
|
1579
1587
|
key: 0,
|
|
1580
1588
|
class: "project-delete",
|
|
1581
1589
|
name: "shanchu1",
|
|
1582
|
-
onClick: (he) => it(
|
|
1590
|
+
onClick: (he) => it(S == null ? void 0 : S.systemKey)
|
|
1583
1591
|
}, null, 8, ["onClick"])) : z("", !0)
|
|
1584
1592
|
])
|
|
1585
1593
|
], 10, Ln);
|
|
@@ -1587,7 +1595,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1587
1595
|
])) : z("", !0),
|
|
1588
1596
|
u("div", Vn, [
|
|
1589
1597
|
d(Le, {
|
|
1590
|
-
class:
|
|
1598
|
+
class: Et({ "enter-button-disable": !((C = ue.value) != null && C.length) }),
|
|
1591
1599
|
emptyColor: !0,
|
|
1592
1600
|
onClickTrigger: nt,
|
|
1593
1601
|
modelValue: "进入项目",
|