ss-component-new 1.1.921 → 1.1.923
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-CTpjCYhK.js} +6 -6
- package/dist/{animationData-Dg5nZmQb.cjs → animationData-DLXZgNpV.cjs} +1 -1
- package/dist/{index-DqUIDEgN.js → index-0G_JDDWb.js} +2 -2
- package/dist/{index-DlHjuMCk.cjs → index-8mTZLO_A.cjs} +1 -1
- package/dist/{index-TTLLjKU5.js → index-AGPHpTKJ.js} +1 -1
- package/dist/index-B-aQ-kqX.cjs +1 -0
- package/dist/{index-BfLjlx67.cjs → index-B0OjCXz7.cjs} +1 -1
- package/dist/{index-98RJ1w0g.js → index-B4VYJrHF.js} +12 -11
- package/dist/{index-CmT-zy5L.cjs → index-B6oh3-Ct.cjs} +1 -1
- package/dist/{index-CZJTN1uo.cjs → index-BAMDj-rG.cjs} +1 -1
- package/dist/{index-C5M-qhEj.js → index-BCfdDcDu.js} +1 -1
- package/dist/{index-gnffGsTk.js → index-BJYEogKi.js} +1 -1
- package/dist/{index-Bi_pZDT_.cjs → index-BQ6f71Dz.cjs} +1 -1
- package/dist/{index-B-yzrEZh.js → index-BVbjjK1V.js} +537 -530
- package/dist/{index-BmsooG86.js → index-BYaXG121.js} +4 -4
- package/dist/{index-Q-Cy1_j8.js → index-BkZETTsT.js} +2 -2
- package/dist/{index-CFLovJ0i.cjs → index-BkdQ5sK9.cjs} +1 -1
- package/dist/{index-C4JMEa6C.js → index-Bm70BpWE.js} +1 -1
- package/dist/{index-BuPTgVC7.js → index-BrSQozru.js} +1 -1
- package/dist/{index-BwUkB1sf.js → index-Bv21n18_.js} +3 -3
- package/dist/{index-Cc5_TOfF.js → index-Bzn8NssG.js} +2 -2
- package/dist/{index-DsZFwAYZ.cjs → index-C4dYFyeW.cjs} +1 -1
- package/dist/{index-D-gYKwIE.cjs → index-CDlfv8iZ.cjs} +1 -1
- package/dist/{index-DHlQLt05.cjs → index-CEBtluXF.cjs} +1 -1
- package/dist/{index-CMYZuZzH.js → index-CHuYFd6z.js} +3 -3
- package/dist/{index-2sGzSWRf.js → index-CI-zI74o.js} +5 -5
- package/dist/{index-BhrZuBcV.cjs → index-CM2e-aFr.cjs} +1 -1
- package/dist/{index-BKeI2lR9.cjs → index-CWaNzrIi.cjs} +4 -4
- package/dist/{index-BDU3vXVs.js → index-CX3oEbIN.js} +1 -1
- package/dist/{index-BSOLJb49.js → index-CagNaxdj.js} +1 -1
- package/dist/{index-DSvhBEUe.js → index-D0SmzMV2.js} +1 -1
- package/dist/{index-CsXU1cJh.js → index-DEb_fTQX.js} +2 -2
- package/dist/{index-BWITrhZP.js → index-DG6cei-2.js} +2 -2
- package/dist/{index-CyIZxplK.js → index-DIawaN-i.js} +2 -2
- package/dist/{index-CLaIyeHj.cjs → index-DN_jbDym.cjs} +1 -1
- package/dist/{index-DxUI9x_B.cjs → index-DeOGzCvI.cjs} +1 -1
- package/dist/{index-Cj75iy0b.cjs → index-DeWYtW4K.cjs} +1 -1
- package/dist/{index-BKzt_jIN.cjs → index-Dl5T9uDS.cjs} +1 -1
- package/dist/{index-Cd2PkOxm.js → index-DlBzL_XU.js} +9 -9
- package/dist/{index-BSbSyRCe.js → index-DmQjZHnn.js} +3 -3
- package/dist/{index-RowSWjcw.js → index-DmRh8D1t.js} +1 -1
- package/dist/{index-C1gMK2BS.cjs → index-DxkGOvjA.cjs} +1 -1
- package/dist/{index-hu4gkaPI.cjs → index-Sb4ZvuY9.cjs} +1 -1
- package/dist/{index-PTwO2-GZ.js → index-Z3Su0Iq4.js} +340 -331
- package/dist/{index-CqHUGQDa.js → index-d_JKmLxj.js} +4 -4
- package/dist/{index-CZk6uo11.js → index-fbKgXoj0.js} +2 -2
- package/dist/{index-M6TcCTD5.js → index-oR_RD2vE.js} +1 -1
- package/dist/{index-BoEjfIjV.js → index-rX-we4sR.js} +7 -7
- 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-DL3zuTIY.js} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DKbr2pqk.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DqH34Kgb.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bv3C9m69.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DGmgy87A.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BT8bM4Yz.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DZ5tdbkA.cjs} +1 -1
- 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-X-7YscJh.cjs → index.vue_vue_type_style_index_1_lang-CDMiAXNP.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-VCE6rYmh.js → index.vue_vue_type_style_index_1_lang-DXdi5Q8-.js} +2 -2
- package/dist/{main-XwkiTQ0-.cjs → main-D8Iwnwan.cjs} +1 -1
- package/dist/{main-DfbZ-tFN.js → main-Dxvq8o_X.js} +3 -3
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +10 -10
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +11 -11
- package/dist/{threeLatheView-QelyxFIt.cjs → threeLatheView-BoPqISuU.cjs} +1 -1
- package/dist/{threeLatheView-CWy7WIwu.js → threeLatheView-CdkQ2EqM.js} +4 -4
- package/dist/{threeModel-DDFQzI8g.cjs → threeModel-3DlefrGj.cjs} +1 -1
- package/dist/{threeModel-C7pPh28B.js → threeModel-Djxu_n4l.js} +2 -2
- package/dist/{threeSceneView-C1EIO3Ye.js → threeSceneView-BOr_zjMB.js} +5 -5
- package/dist/{threeSceneView-CsOGlGwZ.cjs → threeSceneView-BpOW9IUT.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DVGCogkM.js → threeSceneViewForCPMPIP-BA9YBmBn.js} +1 -1
- package/dist/{threeSceneViewForCPMPIP-CHlcmYWA.cjs → threeSceneViewForCPMPIP-D6gUCU6_.cjs} +1 -1
- package/dist/{threeViewerHost-WZZDtK9s.cjs → threeViewerHost-DPZKsQRj.cjs} +1 -1
- package/dist/{threeViewerHost-BxDCbtxz.js → threeViewerHost-DSHtm4tg.js} +2 -2
- package/package.json +1 -1
- package/dist/index-BO8ABe6N.cjs +0 -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 b, 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-Bv21n18_.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_92477073_lang-DGmgy87A.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-DL3zuTIY.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 bt, 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-rX-we4sR.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-B4VYJrHF.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-DXdi5Q8-.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-D0SmzMV2.js";
|
|
18
|
+
import ga from "./threeModel-Djxu_n4l.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
|
|
22
|
-
import { s as ct } from "./index-
|
|
20
|
+
import { s as mt, _ as et } from "./index-BVbjjK1V.js";
|
|
21
|
+
import { d as Rt, t as ya } from "./threeViewerHost-DSHtm4tg.js";
|
|
22
|
+
import { s as ct } from "./index-CHuYFd6z.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-CTpjCYhK.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 = b([]), 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
|
]));
|
|
@@ -119,7 +119,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
119
119
|
key: 0,
|
|
120
120
|
class: "item-view-group",
|
|
121
121
|
style: { display: "flex" }
|
|
122
|
-
}, Ra = { class: "group-name-wrap" }, Ua = /* @__PURE__ */
|
|
122
|
+
}, Ra = { 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 = b([]), 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
|
-
((
|
|
166
|
+
((I = t == null ? void 0 : t.comp) == null ? void 0 : I.toUpperCase()) !== "TABLE" && (t != null && t.name) ? (A(), U("div", ba, [
|
|
167
167
|
u("div", Ra, 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,53 +184,53 @@ 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,
|
|
224
|
-
const w = "任务管理", q = "弯管任务管理", e = "设计加工任务管理",
|
|
223
|
+
var _, ae, se, le, ce, be;
|
|
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("未识别的任务类型");
|
|
@@ -239,21 +239,30 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
239
239
|
const K = "任务列表", t = o == null ? void 0 : o.find((R) => {
|
|
240
240
|
const { name: Y } = R;
|
|
241
241
|
return Y === K;
|
|
242
|
-
}),
|
|
242
|
+
}), B = (se = (ae = (_ = t == null ? void 0 : t.compData) == null ? void 0 : _.find((R) => (R == null ? void 0 : R.key) === "header")) == null ? void 0 : ae.contents) == null ? void 0 : se.map((R) => R == null ? void 0 : R.label), I = (be = (ce = (le = t == null ? void 0 : t.compData) == null ? void 0 : le.find((R) => (R == null ? void 0 : R.key) === "tableContents")) == null ? void 0 : ce.contents) == null ? void 0 : be.map((R) => (R = R == null ? void 0 : R.filter((Y) => !(Y != null && Y.id)), R));
|
|
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 ne = Ct(
|
|
250
|
+
Ae,
|
|
251
|
+
B == null ? void 0 : B.filter((Re) => Re !== "操作")
|
|
252
|
+
);
|
|
253
|
+
debugger;
|
|
254
|
+
f.push({
|
|
255
|
+
...ge,
|
|
256
|
+
任务类型: ne == null ? void 0 : ne.任务类型
|
|
257
|
+
});
|
|
249
258
|
});
|
|
250
259
|
break;
|
|
251
260
|
case "cpmpip":
|
|
252
261
|
T = 1;
|
|
253
262
|
const { csvUrlList: R, bladeObjUrlList: Y } = await Ta(o);
|
|
254
|
-
|
|
255
|
-
const
|
|
256
|
-
|
|
263
|
+
I == null || I.forEach((Ae, ge) => {
|
|
264
|
+
const ne = {};
|
|
265
|
+
ne.id = T++, ne.name = Ae[B == null ? void 0 : B.indexOf("任务名称")], ne.urdfUrl = Ae[B == null ? void 0 : B.indexOf("机床模型文件")], ne.sceneType = "cpmpip", ne.csvUrl = R == null ? void 0 : R[ge], ne.bladeObjUrl = Y == null ? void 0 : Y[ge], f.push(ne);
|
|
257
266
|
});
|
|
258
267
|
break;
|
|
259
268
|
}
|
|
@@ -288,7 +297,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
288
297
|
}, yn = { class: "message-title" }, mn = { class: "message-time" }, Cn = { class: "message-content" }, hn = {
|
|
289
298
|
key: 0,
|
|
290
299
|
class: "no-messages"
|
|
291
|
-
}, pn = { class: "drop-menu" }, fn = { class: "user-base-info" }, wn = { class: "base-info" }, Bn = { class: "group-item" },
|
|
300
|
+
}, pn = { class: "drop-menu" }, fn = { class: "user-base-info" }, wn = { class: "base-info" }, Bn = { class: "group-item" }, In = { class: "sys-button" }, vn = {
|
|
292
301
|
key: 0,
|
|
293
302
|
class: "main-back-btn"
|
|
294
303
|
}, kn = { class: "main-body" }, En = {
|
|
@@ -297,7 +306,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
297
306
|
}, Sn = { class: "group-name-wrap" }, Qn = {
|
|
298
307
|
key: 2,
|
|
299
308
|
class: "item-view-child-content"
|
|
300
|
-
}, dt = "消息中心/未读消息", At = "消息中心/已读消息", bn = /* @__PURE__ */
|
|
309
|
+
}, dt = "消息中心/未读消息", At = "消息中心/已读消息", bn = /* @__PURE__ */ Dt({
|
|
301
310
|
__name: "index",
|
|
302
311
|
props: {
|
|
303
312
|
windowConfig: {
|
|
@@ -321,12 +330,12 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
321
330
|
setup(w, { emit: q }) {
|
|
322
331
|
const e = (n, s) => {
|
|
323
332
|
console.log(n, s);
|
|
324
|
-
},
|
|
333
|
+
}, E = b(), D = b([]), W = b([]), o = We(
|
|
325
334
|
() => D.value.filter((n) => {
|
|
326
335
|
var s;
|
|
327
336
|
return ((s = n.find((M) => M.prop === "状态")) == null ? void 0 : s.value) === "未读";
|
|
328
337
|
}).length
|
|
329
|
-
), P = We(() => o.value > 99 ? "99+" : o.value), f = zt(
|
|
338
|
+
), P = We(() => o.value > 99 ? "99+" : o.value), f = zt(ve), { originalPath: K } = Ie(f), t = K.value, B = async (n) => {
|
|
330
339
|
if (!n) return;
|
|
331
340
|
(async (M) => {
|
|
332
341
|
var F, i, r, c;
|
|
@@ -367,19 +376,19 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
367
376
|
console.error("加载菜单或页面时出错:", J);
|
|
368
377
|
}
|
|
369
378
|
})(n);
|
|
370
|
-
},
|
|
379
|
+
}, I = Nt(ve), { selectTitle: T } = Ie(I), _ = b(!1), ae = b(), se = b(null), le = b(), ce = b(!1), be = ua(ve), { blobUrls: R } = Ie(be), Y = b(), Ae = b(!1), ge = b(!1), ne = b(!1), Re = b([]), He = b(!1), Ve = b(null), Ue = b(), oe = b(!1), ue = b(!1), Ye = b();
|
|
371
380
|
Jt("contentRef", Ve);
|
|
372
|
-
const tt =
|
|
381
|
+
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
382
|
sessionStorage.clear(), window.location.reload();
|
|
374
383
|
}, it = (n) => {
|
|
375
384
|
if ((n == null ? void 0 : n.type) === "table") {
|
|
376
385
|
let s = n == null ? void 0 : n.row;
|
|
377
386
|
const M = n == null ? void 0 : n.rowData;
|
|
378
387
|
let G = s;
|
|
379
|
-
G && (
|
|
388
|
+
G && (le.value = {
|
|
380
389
|
url: G,
|
|
381
390
|
row: n == null ? void 0 : n.row
|
|
382
|
-
},
|
|
391
|
+
}, Te("showChild", {
|
|
383
392
|
url: G,
|
|
384
393
|
row: n == null ? void 0 : n.row,
|
|
385
394
|
rowData: M
|
|
@@ -403,7 +412,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
403
412
|
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
413
|
x == null || x.forEach((v) => {
|
|
405
414
|
h.push(
|
|
406
|
-
|
|
415
|
+
Ct(
|
|
407
416
|
v,
|
|
408
417
|
L == null ? void 0 : L.filter((H) => H !== "操作")
|
|
409
418
|
)
|
|
@@ -413,41 +422,41 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
413
422
|
}), n.extra = F, ae.value = n;
|
|
414
423
|
}, a = async () => {
|
|
415
424
|
var n, s, M, G, F, i;
|
|
416
|
-
if ((
|
|
417
|
-
if (_.value = !0, Y.value = (n =
|
|
418
|
-
const r =
|
|
425
|
+
if ((ie == null ? void 0 : ie.platform) !== "browser") {
|
|
426
|
+
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], le.value) {
|
|
427
|
+
const r = le.value;
|
|
419
428
|
let c = [];
|
|
420
|
-
typeof (r == null ? void 0 : r.url) == "string" && ((M = r == null ? void 0 : r.url) != null && M.includes(",") ?
|
|
429
|
+
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 = se.value) == null || F.loadModelByDefaultPath(c);
|
|
421
430
|
}
|
|
422
|
-
|
|
431
|
+
oe.value = (i = Ue.value) == null ? void 0 : i.every((r) => r.toUpperCase().includes(".URDF"));
|
|
423
432
|
}
|
|
424
433
|
}, l = () => {
|
|
425
|
-
|
|
434
|
+
ce.value = !1, se.value = null;
|
|
426
435
|
};
|
|
427
|
-
|
|
436
|
+
me(
|
|
428
437
|
() => Ce.value,
|
|
429
438
|
async (n) => {
|
|
430
|
-
n && (
|
|
439
|
+
n && (ge.value = !0), n === "弯管仿真加工分析/仿真动画生成" ? ne.value = !0 : ne.value = !1, n === "弯管仿真加工分析/程序输出" ? He.value = !0 : He.value = !1, ut != null && ut.find((s) => {
|
|
431
440
|
var M;
|
|
432
441
|
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
|
-
}) ?
|
|
442
|
+
}) ? Ae.value = !0 : Ae.value = !1;
|
|
434
443
|
},
|
|
435
444
|
{ immediate: !0 }
|
|
436
|
-
),
|
|
445
|
+
), me(
|
|
437
446
|
() => [R == null ? void 0 : R.value],
|
|
438
447
|
async () => {
|
|
439
448
|
var n, s, M, G, F;
|
|
440
|
-
if (R != null && R.value && ((n = R == null ? void 0 : R.value) == null ? void 0 : n.length) > 0 && !
|
|
441
|
-
|
|
449
|
+
if (R != null && R.value && ((n = R == null ? void 0 : R.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) === "输出")))) {
|
|
450
|
+
ce.value = !0;
|
|
442
451
|
let i = [];
|
|
443
|
-
const r = await ((G =
|
|
444
|
-
var h, L, x, v, H, te, g, Be,
|
|
452
|
+
const r = await ((G = Fe(R == null ? void 0 : R.value)) == null ? void 0 : G.map(async (c) => {
|
|
453
|
+
var h, L, x, v, H, te, g, Be, je, Ze;
|
|
445
454
|
let J, Z, j;
|
|
446
455
|
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
456
|
let $ = j == null ? void 0 : j.split(",");
|
|
448
457
|
if (($ == null ? void 0 : $.length) > 1) {
|
|
449
458
|
let V = await ($ == null ? void 0 : $.map(async (X) => {
|
|
450
|
-
var we, ze,
|
|
459
|
+
var we, ze, ft, wt, Bt, It;
|
|
451
460
|
J = await _e.get(X, {
|
|
452
461
|
responseType: "blob",
|
|
453
462
|
headers: {
|
|
@@ -471,8 +480,8 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
471
480
|
}));
|
|
472
481
|
await Promise.all(Gt);
|
|
473
482
|
}
|
|
474
|
-
return ((
|
|
475
|
-
suffix: "." + ((
|
|
483
|
+
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({
|
|
484
|
+
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
485
|
blob: new Blob([J.data], {
|
|
477
486
|
type: "application/octet-stream;charset=UTF-8"
|
|
478
487
|
}),
|
|
@@ -481,13 +490,13 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
481
490
|
}));
|
|
482
491
|
await Promise.all(V);
|
|
483
492
|
} else if (!(j != null && j.includes("https://")) && !(j != null && j.includes("http://"))) {
|
|
484
|
-
J = await
|
|
493
|
+
J = await Rt({
|
|
485
494
|
url: j
|
|
486
495
|
});
|
|
487
496
|
let V = [];
|
|
488
497
|
if (((x = c == null ? void 0 : c.mtlBlobs) == null ? void 0 : x.length) > 0) {
|
|
489
498
|
let X = await ((v = c == null ? void 0 : c.mtlBlobs) == null ? void 0 : v.map(async (fe) => {
|
|
490
|
-
let we = await
|
|
499
|
+
let we = await Rt({
|
|
491
500
|
url: fe
|
|
492
501
|
});
|
|
493
502
|
return V.push(
|
|
@@ -530,7 +539,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
530
539
|
await Promise.all(X);
|
|
531
540
|
}
|
|
532
541
|
Z = {
|
|
533
|
-
suffix: c != null && c.suffix ? c == null ? void 0 : c.suffix : "." + ((Ze = j == null ? void 0 : j.split(".")) == null ? void 0 : Ze[((
|
|
542
|
+
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
543
|
blob: new Blob([J.data], {
|
|
535
544
|
type: "application/octet-stream;charset=UTF-8"
|
|
536
545
|
}),
|
|
@@ -539,13 +548,13 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
539
548
|
}
|
|
540
549
|
Z && i.push(Z);
|
|
541
550
|
}));
|
|
542
|
-
await Promise.all(r), (i == null ? void 0 : i.length) !== 0 && ((F =
|
|
551
|
+
await Promise.all(r), (i == null ? void 0 : i.length) !== 0 && ((F = se.value) == null || F.loadModelByDefaultPath(i));
|
|
543
552
|
}
|
|
544
553
|
},
|
|
545
554
|
{ immediate: !0, deep: !0 }
|
|
546
555
|
);
|
|
547
556
|
const y = (n, s) => {
|
|
548
|
-
|
|
557
|
+
ue.value = !0, Ye.value = s, (s == null ? void 0 : s.isEdit) === !0 ? Re.value = n : Re.value = n == null ? void 0 : n.map((M) => {
|
|
549
558
|
var G;
|
|
550
559
|
return M.compData = (G = M.compData) == null ? void 0 : G.map((F) => {
|
|
551
560
|
var i;
|
|
@@ -554,24 +563,24 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
554
563
|
});
|
|
555
564
|
}, m = async () => {
|
|
556
565
|
await ra();
|
|
557
|
-
}, N =
|
|
566
|
+
}, N = b(!1), C = b([]), S = async () => {
|
|
558
567
|
N.value = !0;
|
|
559
568
|
const n = await Fa().finally(() => {
|
|
560
569
|
N.value = !1;
|
|
561
570
|
});
|
|
562
571
|
C.value = n;
|
|
563
|
-
},
|
|
564
|
-
n &&
|
|
572
|
+
}, Q = async (n) => {
|
|
573
|
+
n && S();
|
|
565
574
|
}, he = async (n) => {
|
|
566
|
-
|
|
575
|
+
Te("showChild", {
|
|
567
576
|
url: n == null ? void 0 : n.urdfUrl,
|
|
568
577
|
row: n == null ? void 0 : n.urdfUrl,
|
|
569
578
|
sceneType: n == null ? void 0 : n.sceneType,
|
|
570
579
|
rowData: n
|
|
571
580
|
});
|
|
572
581
|
};
|
|
573
|
-
|
|
574
|
-
|
|
582
|
+
Ut(async () => {
|
|
583
|
+
Te("setLoginInfo", O.value);
|
|
575
584
|
async function n() {
|
|
576
585
|
var s, M, G, F, i, r, c, J, Z, j, $;
|
|
577
586
|
try {
|
|
@@ -589,21 +598,21 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
589
598
|
console.log("555readData", g);
|
|
590
599
|
let Be = [];
|
|
591
600
|
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
|
|
601
|
+
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
602
|
var X;
|
|
594
|
-
return ((X = V.find((fe) => fe.prop === "收件人")) == null ? void 0 : X.value) ===
|
|
603
|
+
return ((X = V.find((fe) => fe.prop === "收件人")) == null ? void 0 : X.value) === je;
|
|
595
604
|
});
|
|
596
605
|
W.value = Ze;
|
|
597
606
|
} catch (h) {
|
|
598
607
|
console.error("获取消息数据失败:", h);
|
|
599
608
|
}
|
|
600
609
|
}
|
|
601
|
-
await n(),
|
|
610
|
+
await n(), E.value = "first";
|
|
602
611
|
}), Wt(() => {
|
|
603
612
|
const n = window.messageIntervalId;
|
|
604
613
|
n && clearInterval(n);
|
|
605
614
|
});
|
|
606
|
-
const
|
|
615
|
+
const re = () => {
|
|
607
616
|
var M, G;
|
|
608
617
|
if (qe.value === "" || ((G = Ce.value) == null ? void 0 : G[((M = Ce.value) == null ? void 0 : M.length) - 1]) === t) return !1;
|
|
609
618
|
const n = sessionStorage.getItem("authority"), s = JSON.parse(n || "");
|
|
@@ -617,19 +626,19 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
617
626
|
}, pe = async () => {
|
|
618
627
|
};
|
|
619
628
|
return (n, s) => {
|
|
620
|
-
const M =
|
|
629
|
+
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
630
|
return A(), U(Se, null, [
|
|
622
631
|
d(mt, {
|
|
623
|
-
visible:
|
|
624
|
-
onBeforeDestroy: s[0] || (s[0] = (h) =>
|
|
632
|
+
visible: ue.value,
|
|
633
|
+
onBeforeDestroy: s[0] || (s[0] = (h) => ue.value = !1),
|
|
625
634
|
fullScreen: !0
|
|
626
635
|
}, {
|
|
627
|
-
default:
|
|
636
|
+
default: k(() => [
|
|
628
637
|
d(Ua, {
|
|
629
|
-
dialogItem:
|
|
630
|
-
componentParam:
|
|
631
|
-
onChange: p(
|
|
632
|
-
onContentChange: p(
|
|
638
|
+
dialogItem: Re.value,
|
|
639
|
+
componentParam: Ye.value,
|
|
640
|
+
onChange: p(bt),
|
|
641
|
+
onContentChange: p(Qt)
|
|
633
642
|
}, null, 8, ["dialogItem", "componentParam", "onChange", "onContentChange"])
|
|
634
643
|
]),
|
|
635
644
|
_: 1
|
|
@@ -639,10 +648,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
639
648
|
"onUpdate:modelValue": s[1] || (s[1] = (h) => _.value = h),
|
|
640
649
|
style: { height: "700px", width: "1800px" }
|
|
641
650
|
}, {
|
|
642
|
-
default:
|
|
651
|
+
default: k(() => [
|
|
643
652
|
d(ya, {
|
|
644
|
-
"file-urls":
|
|
645
|
-
isThreeScene:
|
|
653
|
+
"file-urls": Ue.value,
|
|
654
|
+
isThreeScene: oe.value,
|
|
646
655
|
componentType: Y.value,
|
|
647
656
|
onGetAnimationData: rt
|
|
648
657
|
}, null, 8, ["file-urls", "isThreeScene", "componentType"])
|
|
@@ -650,15 +659,15 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
650
659
|
_: 1
|
|
651
660
|
}, 8, ["modelValue"]),
|
|
652
661
|
xe(d(i, { class: "client-container" }, {
|
|
653
|
-
default:
|
|
662
|
+
default: k(() => [
|
|
654
663
|
d(F, { class: "client-structure-header" }, {
|
|
655
|
-
default:
|
|
664
|
+
default: k(() => [
|
|
656
665
|
u("div", Na, [
|
|
657
666
|
d(G, {
|
|
658
667
|
id: "transparentBgButton",
|
|
659
668
|
onClick: p($t)
|
|
660
669
|
}, {
|
|
661
|
-
default:
|
|
670
|
+
default: k(() => s[5] || (s[5] = [
|
|
662
671
|
Qe(" 返回页面 ")
|
|
663
672
|
])),
|
|
664
673
|
_: 1,
|
|
@@ -671,10 +680,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
671
680
|
return p(ea)((x = (L = p(T)) == null ? void 0 : L.map((v) => v.value)) == null ? void 0 : x.join("/"));
|
|
672
681
|
})
|
|
673
682
|
}, {
|
|
674
|
-
icon:
|
|
675
|
-
d(
|
|
683
|
+
icon: k(() => [
|
|
684
|
+
d(Me, { name: "Store" })
|
|
676
685
|
]),
|
|
677
|
-
default:
|
|
686
|
+
default: k(() => [
|
|
678
687
|
s[6] || (s[6] = Qe(" 保存页面 "))
|
|
679
688
|
]),
|
|
680
689
|
_: 1,
|
|
@@ -698,20 +707,20 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
698
707
|
]),
|
|
699
708
|
_: 3
|
|
700
709
|
}),
|
|
701
|
-
p(
|
|
710
|
+
p(De) === "edit" ? (A(), de(i, {
|
|
702
711
|
key: 0,
|
|
703
712
|
class: "model-operate",
|
|
704
713
|
style: { "margin-top": "10px", height: "0px" }
|
|
705
714
|
}, {
|
|
706
|
-
default:
|
|
715
|
+
default: k(() => [
|
|
707
716
|
u("div", Ja, [
|
|
708
|
-
d(
|
|
717
|
+
d(Mt)
|
|
709
718
|
]),
|
|
710
719
|
u("div", Wa, [
|
|
711
|
-
d(
|
|
720
|
+
d(Pt)
|
|
712
721
|
]),
|
|
713
722
|
u("div", La, [
|
|
714
|
-
d(
|
|
723
|
+
d(Kt)
|
|
715
724
|
])
|
|
716
725
|
]),
|
|
717
726
|
_: 1
|
|
@@ -719,32 +728,32 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
719
728
|
]),
|
|
720
729
|
_: 3
|
|
721
730
|
}, 512), [
|
|
722
|
-
[
|
|
731
|
+
[kt, p(De) === "edit"]
|
|
723
732
|
]),
|
|
724
|
-
xe((A(),
|
|
733
|
+
xe((A(), de(i, {
|
|
725
734
|
class: "client-container",
|
|
726
735
|
"element-loading-text": "正在加载页面数据..."
|
|
727
736
|
}, {
|
|
728
|
-
default:
|
|
737
|
+
default: k(() => [
|
|
729
738
|
d(F, { class: "client-header" }, {
|
|
730
|
-
default:
|
|
739
|
+
default: k(() => [
|
|
731
740
|
u("div", {
|
|
732
741
|
class: "client-header-logo",
|
|
733
742
|
onClick: a
|
|
734
743
|
}, ee(p(Xe) === "" ? "ISIP" : p(Xe)), 1),
|
|
735
744
|
u("div", Oa, [
|
|
736
|
-
d(
|
|
745
|
+
d(Ia, { mode: "horizontal" })
|
|
737
746
|
]),
|
|
738
747
|
u("div", Ha, [
|
|
739
|
-
|
|
748
|
+
ie != null && ie.showButton && p(De) === "view" ? (A(), de(G, {
|
|
740
749
|
key: 0,
|
|
741
750
|
class: "system-default-button",
|
|
742
751
|
onClick: p(aa)
|
|
743
752
|
}, {
|
|
744
|
-
icon:
|
|
745
|
-
d(
|
|
753
|
+
icon: k(() => [
|
|
754
|
+
d(Me, { name: "write" })
|
|
746
755
|
]),
|
|
747
|
-
default:
|
|
756
|
+
default: k(() => [
|
|
748
757
|
s[7] || (s[7] = Qe(" 界面修改 "))
|
|
749
758
|
]),
|
|
750
759
|
_: 1,
|
|
@@ -755,26 +764,26 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
755
764
|
class: "three-dropdown-menu",
|
|
756
765
|
"popper-class": "three-poper",
|
|
757
766
|
teleported: !1,
|
|
758
|
-
onVisibleChange:
|
|
767
|
+
onVisibleChange: Q
|
|
759
768
|
}, {
|
|
760
|
-
dropTitle:
|
|
761
|
-
p(
|
|
769
|
+
dropTitle: k(() => [
|
|
770
|
+
p(De) === "view" && w.platform === "client" ? (A(), de(G, {
|
|
762
771
|
key: 0,
|
|
763
772
|
class: "system-default-button"
|
|
764
773
|
}, {
|
|
765
|
-
icon:
|
|
766
|
-
d(
|
|
774
|
+
icon: k(() => [
|
|
775
|
+
d(Me, { name: "three" })
|
|
767
776
|
]),
|
|
768
|
-
default:
|
|
777
|
+
default: k(() => [
|
|
769
778
|
s[8] || (s[8] = Qe(" 三维查看 "))
|
|
770
779
|
]),
|
|
771
780
|
_: 1,
|
|
772
781
|
__: [8]
|
|
773
782
|
})) : z("", !0)
|
|
774
783
|
]),
|
|
775
|
-
dropMenu:
|
|
784
|
+
dropMenu: k(() => [
|
|
776
785
|
xe((A(), U("div", Va, [
|
|
777
|
-
(A(!0), U(Se, null,
|
|
786
|
+
(A(!0), U(Se, null, Ke(C.value, (h, L) => (A(), U("div", {
|
|
778
787
|
class: "task-item",
|
|
779
788
|
key: L,
|
|
780
789
|
title: h == null ? void 0 : h.name,
|
|
@@ -787,38 +796,38 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
787
796
|
_: 1
|
|
788
797
|
}),
|
|
789
798
|
d(et, null, {
|
|
790
|
-
dropTitle:
|
|
799
|
+
dropTitle: k(() => [
|
|
791
800
|
u("div", Xa, [
|
|
792
|
-
d(
|
|
801
|
+
d(Me, { name: "系统消息" }),
|
|
793
802
|
o.value > 0 ? (A(), U("span", Za)) : z("", !0)
|
|
794
803
|
])
|
|
795
804
|
]),
|
|
796
|
-
dropMenu:
|
|
805
|
+
dropMenu: k(() => [
|
|
797
806
|
d(c, {
|
|
798
|
-
modelValue:
|
|
799
|
-
"onUpdate:modelValue": s[3] || (s[3] = (h) =>
|
|
807
|
+
modelValue: E.value,
|
|
808
|
+
"onUpdate:modelValue": s[3] || (s[3] = (h) => E.value = h),
|
|
800
809
|
class: "drop-menu1 message-dropdown",
|
|
801
810
|
onTabClick: e
|
|
802
811
|
}, {
|
|
803
|
-
default:
|
|
812
|
+
default: k(() => [
|
|
804
813
|
d(r, {
|
|
805
814
|
label: "全部消息",
|
|
806
815
|
name: "first"
|
|
807
816
|
}, {
|
|
808
|
-
label:
|
|
817
|
+
label: k(() => [
|
|
809
818
|
u("div", za, [
|
|
810
819
|
s[9] || (s[9] = u("span", null, "全部消息", -1)),
|
|
811
820
|
o.value > 0 ? (A(), U("span", _a, ee(P.value), 1)) : z("", !0)
|
|
812
821
|
])
|
|
813
822
|
]),
|
|
814
|
-
default:
|
|
823
|
+
default: k(() => [
|
|
815
824
|
u("div", $a, [
|
|
816
|
-
(A(!0), U(Se, null,
|
|
825
|
+
(A(!0), U(Se, null, Ke(D.value, (h, L) => {
|
|
817
826
|
var x, v, H, te;
|
|
818
827
|
return A(), U("div", {
|
|
819
828
|
class: "message-item",
|
|
820
829
|
key: L,
|
|
821
|
-
onClick: (g) =>
|
|
830
|
+
onClick: (g) => B(h)
|
|
822
831
|
}, [
|
|
823
832
|
u("div", tn, [
|
|
824
833
|
((x = h.find((g) => g.prop === "状态")) == null ? void 0 : x.value) === "未读" ? (A(), U("span", an, "[未读]")) : (A(), U("span", nn, "[已读]")),
|
|
@@ -837,19 +846,19 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
837
846
|
label: "我的消息",
|
|
838
847
|
name: "second"
|
|
839
848
|
}, {
|
|
840
|
-
label:
|
|
849
|
+
label: k(() => s[10] || (s[10] = [
|
|
841
850
|
u("div", { class: "message-tab-label" }, [
|
|
842
851
|
u("span", null, "我的消息")
|
|
843
852
|
], -1)
|
|
844
853
|
])),
|
|
845
|
-
default:
|
|
854
|
+
default: k(() => [
|
|
846
855
|
u("div", cn, [
|
|
847
|
-
(A(!0), U(Se, null,
|
|
856
|
+
(A(!0), U(Se, null, Ke(W.value, (h, L) => {
|
|
848
857
|
var x, v, H, te;
|
|
849
858
|
return A(), U("div", {
|
|
850
859
|
class: "message-item",
|
|
851
860
|
key: L,
|
|
852
|
-
onClick: (g) =>
|
|
861
|
+
onClick: (g) => B(h)
|
|
853
862
|
}, [
|
|
854
863
|
u("div", dn, [
|
|
855
864
|
((x = h.find((g) => g.prop === "状态")) == null ? void 0 : x.value) === "未读" ? (A(), U("span", An, "[未读]")) : (A(), U("span", gn, "[已读]")),
|
|
@@ -871,14 +880,14 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
871
880
|
_: 1
|
|
872
881
|
}),
|
|
873
882
|
d(et, null, {
|
|
874
|
-
dropTitle:
|
|
883
|
+
dropTitle: k(() => [
|
|
875
884
|
d(ct, {
|
|
876
885
|
size: 35,
|
|
877
886
|
disabled: !0,
|
|
878
887
|
userInfo: p(O)
|
|
879
888
|
}, null, 8, ["userInfo"])
|
|
880
889
|
]),
|
|
881
|
-
dropMenu:
|
|
890
|
+
dropMenu: k(() => {
|
|
882
891
|
var h, L, x, v, H, te;
|
|
883
892
|
return [
|
|
884
893
|
u("div", pn, [
|
|
@@ -898,23 +907,23 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
898
907
|
]),
|
|
899
908
|
u("div", Bn, [
|
|
900
909
|
u("div", { onClick: pe }, [
|
|
901
|
-
d(
|
|
910
|
+
d(Me, {
|
|
902
911
|
name: "personal",
|
|
903
912
|
style: { width: "15px", height: "15px" }
|
|
904
913
|
}),
|
|
905
914
|
s[11] || (s[11] = u("span", null, "个人主页", -1))
|
|
906
915
|
]),
|
|
907
916
|
u("div", null, [
|
|
908
|
-
d(
|
|
917
|
+
d(Me, {
|
|
909
918
|
name: "message",
|
|
910
919
|
style: { width: "15px", height: "15px" }
|
|
911
920
|
}),
|
|
912
921
|
s[12] || (s[12] = u("span", null, "消息中心", -1))
|
|
913
922
|
])
|
|
914
923
|
]),
|
|
915
|
-
u("div",
|
|
924
|
+
u("div", In, [
|
|
916
925
|
u("div", null, [
|
|
917
|
-
d(
|
|
926
|
+
d(Me, {
|
|
918
927
|
name: "exit",
|
|
919
928
|
style: { width: "15px", height: "15px", color: "#eb503d" }
|
|
920
929
|
}),
|
|
@@ -938,18 +947,18 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
938
947
|
_: 3
|
|
939
948
|
}),
|
|
940
949
|
d(i, { class: "client-body" }, {
|
|
941
|
-
default:
|
|
950
|
+
default: k(() => [
|
|
942
951
|
d(j, { class: "client-main" }, {
|
|
943
|
-
default:
|
|
952
|
+
default: k(() => {
|
|
944
953
|
var h, L, x, v, H, te;
|
|
945
954
|
return [
|
|
946
|
-
xe((A(),
|
|
955
|
+
xe((A(), de(J, {
|
|
947
956
|
class: "client-aside",
|
|
948
957
|
style: gt({ backgroundImage: w.platform === "client" ? `url(${p(Da)})` : `url(${p(ja)})` }),
|
|
949
958
|
"element-loading-text": "正在加载数据...",
|
|
950
959
|
width: "auto"
|
|
951
960
|
}, {
|
|
952
|
-
default:
|
|
961
|
+
default: k(() => [
|
|
953
962
|
d(Aa, { mode: "vertical" })
|
|
954
963
|
]),
|
|
955
964
|
_: 1
|
|
@@ -962,7 +971,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
962
971
|
ref: Ve,
|
|
963
972
|
"element-loading-text": "正在加载页面数据..."
|
|
964
973
|
}, [
|
|
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",
|
|
974
|
+
((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
975
|
d(Le, {
|
|
967
976
|
class: "calculator-content back-content",
|
|
968
977
|
onClickTrigger: s[4] || (s[4] = (g) => p(na)()),
|
|
@@ -970,26 +979,26 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
970
979
|
})
|
|
971
980
|
])) : z("", !0),
|
|
972
981
|
u("div", kn, [
|
|
973
|
-
Ge.value ? (A(),
|
|
974
|
-
Ge.value ? z("", !0) : (A(!0), U(Se, { key: 1 },
|
|
975
|
-
var
|
|
982
|
+
Ge.value ? (A(), de(Z, { key: 0 })) : z("", !0),
|
|
983
|
+
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) => {
|
|
984
|
+
var je;
|
|
976
985
|
return A(), U("div", {
|
|
977
986
|
class: "item-view-content",
|
|
978
987
|
key: Be,
|
|
979
988
|
style: gt({ display: (g == null ? void 0 : g.isShow) === !1 ? "none" : "flex" })
|
|
980
989
|
}, [
|
|
981
|
-
((
|
|
990
|
+
((je = g == null ? void 0 : g.comp) == null ? void 0 : je.toUpperCase()) !== "TABLE" && g.name ? (A(), U("div", En, [
|
|
982
991
|
u("div", Sn, ee(g.name), 1)
|
|
983
992
|
])) : z("", !0),
|
|
984
|
-
p(oa) ? (A(),
|
|
993
|
+
p(oa) ? (A(), de(jt(p(Ft)(g.comp)), {
|
|
985
994
|
compName: g.name,
|
|
986
995
|
isDevMode: w.showButton,
|
|
987
996
|
itemData: g == null ? void 0 : g.compData,
|
|
988
997
|
childItemData: g == null ? void 0 : g.itemChildData,
|
|
989
998
|
key: p(ia),
|
|
990
|
-
onChange: p(
|
|
999
|
+
onChange: p(bt),
|
|
991
1000
|
index: (g == null ? void 0 : g.id) ?? Be,
|
|
992
|
-
onContentChange: p(
|
|
1001
|
+
onContentChange: p(Qt),
|
|
993
1002
|
onPageChange: p(la),
|
|
994
1003
|
onRowClick: it,
|
|
995
1004
|
onRouteUrl: y,
|
|
@@ -999,7 +1008,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
999
1008
|
], 4);
|
|
1000
1009
|
}), 128)),
|
|
1001
1010
|
!Ge.value && !((te = p(Je)) != null && te.find((g) => g.comp === "methodButton")) ? (A(), U("div", Qn, [
|
|
1002
|
-
|
|
1011
|
+
re() ? (A(), de(Le, {
|
|
1003
1012
|
key: 0,
|
|
1004
1013
|
class: "calculator-content",
|
|
1005
1014
|
onClickTrigger: m,
|
|
@@ -1019,14 +1028,14 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1019
1028
|
}),
|
|
1020
1029
|
u("div", null, [
|
|
1021
1030
|
d(mt, {
|
|
1022
|
-
visible:
|
|
1031
|
+
visible: ce.value,
|
|
1023
1032
|
onBeforeDestroy: l,
|
|
1024
1033
|
style: { height: "700px", width: "1000px" }
|
|
1025
1034
|
}, {
|
|
1026
|
-
default:
|
|
1035
|
+
default: k(() => [
|
|
1027
1036
|
d(ga, {
|
|
1028
1037
|
ref_key: "threeModelRef",
|
|
1029
|
-
ref:
|
|
1038
|
+
ref: se
|
|
1030
1039
|
}, null, 512)
|
|
1031
1040
|
]),
|
|
1032
1041
|
_: 1
|
|
@@ -1035,7 +1044,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1035
1044
|
]),
|
|
1036
1045
|
_: 3
|
|
1037
1046
|
})), [
|
|
1038
|
-
[
|
|
1047
|
+
[kt, p(De) === "view"],
|
|
1039
1048
|
[$, p(nt)]
|
|
1040
1049
|
])
|
|
1041
1050
|
], 64);
|
|
@@ -1067,10 +1076,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1067
1076
|
},
|
|
1068
1077
|
emits: ["buildContent", "showChild"],
|
|
1069
1078
|
setup(w, { emit: q }) {
|
|
1070
|
-
const e =
|
|
1071
|
-
|
|
1072
|
-
const W =
|
|
1073
|
-
P("showChild",
|
|
1079
|
+
const e = ht(ve), E = Nt(ve), D = pt();
|
|
1080
|
+
b(!1);
|
|
1081
|
+
const W = b(!0), o = w, P = q, f = (I) => {
|
|
1082
|
+
P("showChild", I);
|
|
1074
1083
|
}, K = We(() => {
|
|
1075
1084
|
switch (o == null ? void 0 : o.platform) {
|
|
1076
1085
|
case "browser":
|
|
@@ -1078,50 +1087,50 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1078
1087
|
case "client":
|
|
1079
1088
|
return ma;
|
|
1080
1089
|
}
|
|
1081
|
-
}), t = (
|
|
1090
|
+
}), t = (I) => {
|
|
1082
1091
|
const T = document.documentElement;
|
|
1083
|
-
|
|
1092
|
+
I == null || I.forEach((_) => {
|
|
1084
1093
|
T.style.setProperty(_.name, _.value);
|
|
1085
1094
|
});
|
|
1086
1095
|
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1096
|
+
me(() => o.platform, (I, T) => {
|
|
1097
|
+
I && t(K.value);
|
|
1089
1098
|
}, { immediate: !0 });
|
|
1090
|
-
const
|
|
1099
|
+
const B = () => {
|
|
1091
1100
|
P("buildContent");
|
|
1092
1101
|
};
|
|
1093
|
-
return
|
|
1102
|
+
return me(
|
|
1094
1103
|
() => [o == null ? void 0 : o.content, o == null ? void 0 : o.jsonContents],
|
|
1095
1104
|
async () => {
|
|
1096
|
-
var
|
|
1105
|
+
var I, T, _, ae;
|
|
1097
1106
|
try {
|
|
1098
|
-
if (((
|
|
1107
|
+
if (((I = o == null ? void 0 : o.jsonContents) == null ? void 0 : I.length) > 0) {
|
|
1099
1108
|
e.setOriginalData(o == null ? void 0 : o.jsonContents);
|
|
1100
1109
|
return;
|
|
1101
1110
|
}
|
|
1102
1111
|
if (!(o != null && o.content) || ((T = o == null ? void 0 : o.content) == null ? void 0 : T.length) === 0) return;
|
|
1103
1112
|
W.value = !0, D.setImportLoading(!0);
|
|
1104
|
-
let
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
}),
|
|
1113
|
+
let se = [], le = [];
|
|
1114
|
+
E.setSelectTitle([]), E.setSelectIndex(""), E.setSelectMenu(""), (ae = (_ = o == null ? void 0 : o.content) == null ? void 0 : _.filter((ce) => ce !== "")) == null || ae.forEach((ce) => {
|
|
1115
|
+
le.push(Ht(ce));
|
|
1116
|
+
}), se = le == null ? void 0 : le[0], await Vt(se), await Tt(), e.setOriginalData(se);
|
|
1108
1117
|
} catch {
|
|
1109
|
-
|
|
1118
|
+
Pe.error("模型内容错误");
|
|
1110
1119
|
}
|
|
1111
1120
|
D.setImportLoading(!1);
|
|
1112
1121
|
},
|
|
1113
1122
|
{ deep: !0, immediate: !0 }
|
|
1114
|
-
), (
|
|
1123
|
+
), (I, T) => (A(), U("div", Un, [
|
|
1115
1124
|
d(Rn, {
|
|
1116
1125
|
windowConfig: w.windowConfig,
|
|
1117
1126
|
showButton: o == null ? void 0 : o.showButton,
|
|
1118
|
-
onBuildContent:
|
|
1127
|
+
onBuildContent: B,
|
|
1119
1128
|
onShowChild: f,
|
|
1120
1129
|
platform: o == null ? void 0 : o.platform,
|
|
1121
1130
|
taskContent: o.urdfContent
|
|
1122
1131
|
}, {
|
|
1123
|
-
default:
|
|
1124
|
-
yt(
|
|
1132
|
+
default: k(() => [
|
|
1133
|
+
yt(I.$slots, "default", {}, void 0, !0)
|
|
1125
1134
|
]),
|
|
1126
1135
|
_: 3
|
|
1127
1136
|
}, 8, ["windowConfig", "showButton", "platform", "taskContent"])
|
|
@@ -1173,47 +1182,47 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1173
1182
|
},
|
|
1174
1183
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
1175
1184
|
setup(w, { emit: q }) {
|
|
1176
|
-
const e = w,
|
|
1185
|
+
const e = w, E = q;
|
|
1177
1186
|
da();
|
|
1178
|
-
const D =
|
|
1179
|
-
|
|
1180
|
-
const
|
|
1181
|
-
|
|
1187
|
+
const D = b([]), W = b(0), o = b([]), P = b([]), f = b(0), K = ht(ve), t = pt(ve), { itemData: B, originalData: I } = Ie(K), { activeMenuPath: T, platform: _ } = Ie(t), ae = b(null), se = b(0), le = b([]);
|
|
1188
|
+
b("");
|
|
1189
|
+
const ce = b(0), be = b([]), R = Yt(), { loginUserInfo: Y, systemKey: Ae } = Ie(R), ge = () => {
|
|
1190
|
+
E("buildContent");
|
|
1182
1191
|
};
|
|
1183
|
-
|
|
1192
|
+
me(
|
|
1184
1193
|
() => e == null ? void 0 : e.pageKey,
|
|
1185
1194
|
async () => {
|
|
1186
1195
|
let a = {};
|
|
1187
1196
|
if ((e == null ? void 0 : e.pageKey) !== "") {
|
|
1188
1197
|
const l = await ke(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), ""), y = await ke("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
1189
1198
|
let m = ["管长", "外径"], N = {};
|
|
1190
|
-
y == null || y.forEach((
|
|
1199
|
+
y == null || y.forEach((Q) => {
|
|
1191
1200
|
var he;
|
|
1192
|
-
(
|
|
1201
|
+
(Q == null ? void 0 : Q.comp) === "Form" && ((he = Q == null ? void 0 : Q.compData) == null || he.forEach((re) => {
|
|
1193
1202
|
var pe;
|
|
1194
|
-
(
|
|
1203
|
+
(re == null ? void 0 : re.key) === "formContent" && ((pe = re == null ? void 0 : re.contents) == null || pe.forEach((n) => {
|
|
1195
1204
|
m.includes(n == null ? void 0 : n.key) && (N[n.key] = n.value);
|
|
1196
1205
|
}));
|
|
1197
1206
|
}));
|
|
1198
|
-
}), l == null || l.forEach((
|
|
1199
|
-
var he,
|
|
1200
|
-
if ((
|
|
1201
|
-
let G = [], F = (pe = (
|
|
1207
|
+
}), l == null || l.forEach((Q) => {
|
|
1208
|
+
var he, re, pe, n, s, M;
|
|
1209
|
+
if ((Q == null ? void 0 : Q.comp) === "Table") {
|
|
1210
|
+
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
1211
|
i == null || i.forEach((r) => {
|
|
1203
|
-
G.push(
|
|
1204
|
-
}), a[
|
|
1212
|
+
G.push(Ct(r, F == null ? void 0 : F.filter((c) => c !== "操作")));
|
|
1213
|
+
}), a[Q.name] = G, a[Q.name + "Content"] = Q;
|
|
1205
1214
|
}
|
|
1206
1215
|
}), a.extra = N;
|
|
1207
|
-
const C = await pa(),
|
|
1208
|
-
a.singleRobotData = C, a.doubleRobotData =
|
|
1216
|
+
const C = await pa(), S = await fa();
|
|
1217
|
+
a.singleRobotData = C, a.doubleRobotData = S, E("threeData", a);
|
|
1209
1218
|
}
|
|
1210
1219
|
},
|
|
1211
1220
|
{ deep: !0, immediate: !0 }
|
|
1212
1221
|
);
|
|
1213
|
-
const
|
|
1214
|
-
be.value = a,
|
|
1222
|
+
const ne = (a) => {
|
|
1223
|
+
be.value = a, E("openThreeBuild", a);
|
|
1215
1224
|
};
|
|
1216
|
-
|
|
1225
|
+
me(
|
|
1217
1226
|
() => e == null ? void 0 : e.pathContent,
|
|
1218
1227
|
() => {
|
|
1219
1228
|
(e == null ? void 0 : e.pathContent) !== "" && K.setSystemPath(e == null ? void 0 : e.pathContent);
|
|
@@ -1223,75 +1232,75 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1223
1232
|
immediate: !0
|
|
1224
1233
|
}
|
|
1225
1234
|
);
|
|
1226
|
-
const
|
|
1227
|
-
|
|
1235
|
+
const Re = (a) => {
|
|
1236
|
+
E("contentChange", a);
|
|
1228
1237
|
}, He = (a) => {
|
|
1229
1238
|
var y;
|
|
1230
|
-
const l = (y =
|
|
1239
|
+
const l = (y = Fe(a == null ? void 0 : a.wholeValue)) == null ? void 0 : y.map((m) => {
|
|
1231
1240
|
var N;
|
|
1232
1241
|
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
1242
|
});
|
|
1234
|
-
|
|
1235
|
-
originalContents:
|
|
1243
|
+
E("change", {
|
|
1244
|
+
originalContents: I.value,
|
|
1236
1245
|
currentContents: a == null ? void 0 : a.wholeValue,
|
|
1237
1246
|
editContent: a == null ? void 0 : a.editValue,
|
|
1238
1247
|
arrayToContents: l
|
|
1239
1248
|
});
|
|
1240
1249
|
};
|
|
1241
|
-
|
|
1250
|
+
me(
|
|
1242
1251
|
() => o.value,
|
|
1243
1252
|
() => {
|
|
1244
|
-
|
|
1253
|
+
ce.value === o.value.length && o.value.length !== 0 && (D.value = o.value);
|
|
1245
1254
|
},
|
|
1246
1255
|
{ deep: !0, immediate: !0 }
|
|
1247
1256
|
);
|
|
1248
1257
|
const Ve = () => {
|
|
1249
1258
|
ae.value !== null && ae.value.click();
|
|
1250
|
-
},
|
|
1259
|
+
}, Ue = async (a) => {
|
|
1251
1260
|
t.setActiveMenuPath(""), t.setActiveTopMenuPath(""), t.setAsideMenus([]);
|
|
1252
1261
|
const l = a.target.files;
|
|
1253
1262
|
if (!l) return;
|
|
1254
|
-
new FileReader(), D.value = [], o.value = [],
|
|
1263
|
+
new FileReader(), D.value = [], o.value = [], ce.value = l.length;
|
|
1255
1264
|
const y = Array.from(l).map(async (m) => await new Promise((N) => {
|
|
1256
1265
|
const C = new FileReader();
|
|
1257
|
-
C.onload = (
|
|
1266
|
+
C.onload = (S) => {
|
|
1258
1267
|
try {
|
|
1259
|
-
o.value.push(
|
|
1260
|
-
} catch (
|
|
1261
|
-
console.error("解析失败:",
|
|
1268
|
+
o.value.push(S.target.result), se.value++;
|
|
1269
|
+
} catch (Q) {
|
|
1270
|
+
console.error("解析失败:", Q);
|
|
1262
1271
|
return;
|
|
1263
1272
|
}
|
|
1264
1273
|
}, C.onerror = () => N(`读取 ${m.name} 失败`), C.readAsText(m), a.target.value = "", ae.value = null, W.value++;
|
|
1265
1274
|
}));
|
|
1266
1275
|
await Promise.all(y);
|
|
1267
1276
|
};
|
|
1268
|
-
|
|
1277
|
+
me(
|
|
1269
1278
|
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
1270
1279
|
async () => {
|
|
1271
1280
|
await Tt(), D.value = e.content, P.value = e == null ? void 0 : e.jsonContents;
|
|
1272
1281
|
},
|
|
1273
1282
|
{ deep: !0, immediate: !0 }
|
|
1274
|
-
),
|
|
1275
|
-
() =>
|
|
1283
|
+
), me(
|
|
1284
|
+
() => se.value,
|
|
1276
1285
|
() => {
|
|
1277
1286
|
var a;
|
|
1278
|
-
((a =
|
|
1287
|
+
((a = le.value) == null ? void 0 : a.length) !== 0 && (K.setOriginalData(le.value), K.setItemData(le.value));
|
|
1279
1288
|
},
|
|
1280
1289
|
{ deep: !0, immediate: !0 }
|
|
1281
|
-
),
|
|
1282
|
-
const
|
|
1290
|
+
), b(""), b("");
|
|
1291
|
+
const oe = b({
|
|
1283
1292
|
targetModel: "",
|
|
1284
1293
|
modelName: ""
|
|
1285
|
-
}),
|
|
1286
|
-
const a = (
|
|
1294
|
+
}), ue = b([]), Ye = b(!1), tt = We(() => {
|
|
1295
|
+
const a = (ue == null ? void 0 : ue.value) || [];
|
|
1287
1296
|
if (!a.length)
|
|
1288
1297
|
return !1;
|
|
1289
1298
|
const l = a == null ? void 0 : a[0], y = l == null ? void 0 : l.name;
|
|
1290
1299
|
return !(a.length === 1 && !y);
|
|
1291
1300
|
}), O = () => {
|
|
1292
|
-
|
|
1301
|
+
Ye.value = !1;
|
|
1293
1302
|
}, Ne = async () => {
|
|
1294
|
-
var N, C,
|
|
1303
|
+
var N, C, S;
|
|
1295
1304
|
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
1305
|
if (!a)
|
|
1297
1306
|
return;
|
|
@@ -1301,34 +1310,34 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1301
1310
|
"tableData.password": l
|
|
1302
1311
|
}
|
|
1303
1312
|
});
|
|
1304
|
-
let m = ((
|
|
1305
|
-
return m = m == null ? void 0 : m.filter((
|
|
1306
|
-
var
|
|
1307
|
-
return ((pe = (
|
|
1313
|
+
let m = ((S = y == null ? void 0 : y.data) == null ? void 0 : S.result) || [];
|
|
1314
|
+
return m = m == null ? void 0 : m.filter((Q) => {
|
|
1315
|
+
var re, pe;
|
|
1316
|
+
return ((pe = (re = Q == null ? void 0 : Q.value) == null ? void 0 : re.tableData) == null ? void 0 : pe.account) === a;
|
|
1308
1317
|
}), m;
|
|
1309
|
-
},
|
|
1318
|
+
}, De = async () => {
|
|
1310
1319
|
const a = await Ne(), l = a == null ? void 0 : a.map((y) => y == null ? void 0 : y.key);
|
|
1311
|
-
|
|
1320
|
+
ue.value = l;
|
|
1312
1321
|
}, qe = () => {
|
|
1313
|
-
if (!
|
|
1314
|
-
const l =
|
|
1315
|
-
|
|
1322
|
+
if (!oe.value.targetModel) {
|
|
1323
|
+
const l = ue.value, y = l == null ? void 0 : l[0], m = y == null ? void 0 : y.systemKey;
|
|
1324
|
+
oe.value.targetModel = m;
|
|
1316
1325
|
}
|
|
1317
|
-
},
|
|
1326
|
+
}, Te = async () => {
|
|
1318
1327
|
var l;
|
|
1319
|
-
(l = Y == null ? void 0 : Y.value) != null && l.account && (
|
|
1328
|
+
(l = Y == null ? void 0 : Y.value) != null && l.account && (Ye.value = !0, await De(), qe());
|
|
1320
1329
|
}, Ee = (a) => {
|
|
1321
1330
|
sessionStorage.setItem("systemKey", a), R.setSystemKey(a), ha();
|
|
1322
1331
|
}, at = (a) => {
|
|
1323
|
-
|
|
1332
|
+
oe.value.targetModel = a;
|
|
1324
1333
|
}, nt = async () => {
|
|
1325
1334
|
var a;
|
|
1326
1335
|
if (tt.value) {
|
|
1327
|
-
if (!((a =
|
|
1328
|
-
|
|
1336
|
+
if (!((a = oe == null ? void 0 : oe.value) != null && a.targetModel)) {
|
|
1337
|
+
Pe.warning("请先选择模型");
|
|
1329
1338
|
return;
|
|
1330
1339
|
}
|
|
1331
|
-
O(), Ee(
|
|
1340
|
+
O(), Ee(oe.value.targetModel);
|
|
1332
1341
|
}
|
|
1333
1342
|
}, ot = async () => {
|
|
1334
1343
|
var l, y, m;
|
|
@@ -1342,20 +1351,20 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1342
1351
|
}, st = async () => {
|
|
1343
1352
|
const a = await ot();
|
|
1344
1353
|
return a == null ? void 0 : a.reduce((y, m) => {
|
|
1345
|
-
var
|
|
1346
|
-
const N = ((
|
|
1354
|
+
var S;
|
|
1355
|
+
const N = ((S = m == null ? void 0 : m.key) == null ? void 0 : S.systemKey) || -1, C = Number(N);
|
|
1347
1356
|
return Math.max(C, y);
|
|
1348
1357
|
}, 0);
|
|
1349
1358
|
}, Xe = async () => {
|
|
1350
1359
|
const a = await Ce();
|
|
1351
1360
|
Ee(a), O();
|
|
1352
1361
|
}, Ce = async () => {
|
|
1353
|
-
var C,
|
|
1362
|
+
var C, S, Q;
|
|
1354
1363
|
const a = await st();
|
|
1355
1364
|
if (!a)
|
|
1356
1365
|
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 (
|
|
1366
|
+
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;
|
|
1367
|
+
return (Q = oe == null ? void 0 : oe.value) == null || Q.modelName, await Xt({
|
|
1359
1368
|
key: {
|
|
1360
1369
|
pageKey: "/user",
|
|
1361
1370
|
systemKey: y,
|
|
@@ -1368,7 +1377,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1368
1377
|
}
|
|
1369
1378
|
}
|
|
1370
1379
|
}), l;
|
|
1371
|
-
},
|
|
1380
|
+
}, ie = async (a) => {
|
|
1372
1381
|
if (!a)
|
|
1373
1382
|
return;
|
|
1374
1383
|
const l = (a == null ? void 0 : a.key) || {}, y = {
|
|
@@ -1382,34 +1391,34 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1382
1391
|
}, Ge = async (a) => {
|
|
1383
1392
|
var y;
|
|
1384
1393
|
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
|
|
1394
|
+
(l == null ? void 0 : l.length) > 0 && await St({
|
|
1386
1395
|
ids: l
|
|
1387
1396
|
});
|
|
1388
1397
|
}, lt = async () => {
|
|
1389
|
-
|
|
1398
|
+
oe.value.targetModel = "", await Te();
|
|
1390
1399
|
}, it = async (a) => {
|
|
1391
1400
|
var m, N;
|
|
1392
1401
|
t.setImportLoading(!0);
|
|
1393
|
-
const l = await Ne().catch((C) => (t.setImportLoading(!1),
|
|
1394
|
-
var
|
|
1395
|
-
const
|
|
1396
|
-
return a ===
|
|
1402
|
+
const l = await Ne().catch((C) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(C))), y = l == null ? void 0 : l.find((C) => {
|
|
1403
|
+
var Q;
|
|
1404
|
+
const S = (Q = C == null ? void 0 : C.key) == null ? void 0 : Q.systemKey;
|
|
1405
|
+
return a === S;
|
|
1397
1406
|
});
|
|
1398
|
-
if (y && (l == null ? void 0 : l.length) === 1 && await
|
|
1407
|
+
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
1408
|
const C = await $e({
|
|
1400
1409
|
key: {
|
|
1401
1410
|
systemKey: a
|
|
1402
1411
|
}
|
|
1403
|
-
}).catch((
|
|
1412
|
+
}).catch((S) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(S)));
|
|
1404
1413
|
if (((m = C == null ? void 0 : C.data) == null ? void 0 : m.code) === 200) {
|
|
1405
|
-
const
|
|
1406
|
-
await Ge(
|
|
1414
|
+
const S = (N = C == null ? void 0 : C.data) == null ? void 0 : N.result;
|
|
1415
|
+
await Ge(S).catch((Q) => (t.setImportLoading(!1), Pe.error("删除失败"), Promise.reject(Q)));
|
|
1407
1416
|
}
|
|
1408
1417
|
}
|
|
1409
|
-
await lt(), t.setImportLoading(!1),
|
|
1418
|
+
await lt(), t.setImportLoading(!1), Pe.success("删除成功");
|
|
1410
1419
|
};
|
|
1411
|
-
|
|
1412
|
-
(e == null ? void 0 : e.oldSystemKey) === "" && (
|
|
1420
|
+
me(() => Ae.value, (a) => {
|
|
1421
|
+
(e == null ? void 0 : e.oldSystemKey) === "" && (oe.value.targetModel = a, a || Te());
|
|
1413
1422
|
}, { deep: !0, immediate: !0 });
|
|
1414
1423
|
const rt = async () => {
|
|
1415
1424
|
var l, y, m, N;
|
|
@@ -1420,60 +1429,60 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1420
1429
|
}
|
|
1421
1430
|
});
|
|
1422
1431
|
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
|
|
1432
|
+
let C = (N = (m = (y = a == null ? void 0 : a.data) == null ? void 0 : y.result) == null ? void 0 : m.map((S) => {
|
|
1433
|
+
var Q;
|
|
1434
|
+
if (((Q = S == null ? void 0 : S.key) == null ? void 0 : Q.layer) !== "superAdmin")
|
|
1435
|
+
return S == null ? void 0 : S.id;
|
|
1436
|
+
})) == null ? void 0 : N.filter((S) => S);
|
|
1437
|
+
(C == null ? void 0 : C.length) > 0 && await St({
|
|
1429
1438
|
ids: C
|
|
1430
1439
|
}), t.setRawMenus([]);
|
|
1431
1440
|
}
|
|
1432
1441
|
t.setImportLoading(!1);
|
|
1433
1442
|
};
|
|
1434
1443
|
return (a, l) => {
|
|
1435
|
-
const y =
|
|
1444
|
+
const y = ye("svg-icon"), m = ye("el-button");
|
|
1436
1445
|
return A(), U("div", Mn, [
|
|
1437
1446
|
(e == null ? void 0 : e.mode) === "edit" ? (A(), U("div", Pn, [
|
|
1438
1447
|
u("div", Kn, [
|
|
1439
|
-
d(
|
|
1448
|
+
d(Mt)
|
|
1440
1449
|
]),
|
|
1441
1450
|
(A(), U("div", {
|
|
1442
1451
|
class: "model-show",
|
|
1443
1452
|
key: f.value
|
|
1444
1453
|
}, [
|
|
1445
|
-
d(
|
|
1454
|
+
d(Pt)
|
|
1446
1455
|
])),
|
|
1447
1456
|
u("div", Yn, [
|
|
1448
|
-
d(
|
|
1457
|
+
d(Kt)
|
|
1449
1458
|
])
|
|
1450
1459
|
])) : z("", !0),
|
|
1451
1460
|
(e == null ? void 0 : e.mode) === "view" ? (A(), U("div", Tn, [
|
|
1452
|
-
(A(),
|
|
1461
|
+
(A(), de(jn, {
|
|
1453
1462
|
showButton: e == null ? void 0 : e.showButton,
|
|
1454
1463
|
platform: p(_),
|
|
1455
1464
|
content: D.value,
|
|
1456
1465
|
onChange: He,
|
|
1457
1466
|
jsonContents: P.value,
|
|
1458
|
-
onContentChange:
|
|
1459
|
-
onBuildContent:
|
|
1467
|
+
onContentChange: Re,
|
|
1468
|
+
onBuildContent: ge,
|
|
1460
1469
|
key: f.value,
|
|
1461
|
-
onShowChild:
|
|
1470
|
+
onShowChild: ne,
|
|
1462
1471
|
urdfContent: be.value
|
|
1463
1472
|
}, {
|
|
1464
|
-
default:
|
|
1473
|
+
default: k(() => [
|
|
1465
1474
|
d(et, null, {
|
|
1466
|
-
dropTitle:
|
|
1475
|
+
dropTitle: k(() => {
|
|
1467
1476
|
var N;
|
|
1468
1477
|
return [
|
|
1469
|
-
((N = e == null ? void 0 : e.jsonContents) == null ? void 0 : N.length) === 0 && (e != null && e.showButton) ? (A(),
|
|
1478
|
+
((N = e == null ? void 0 : e.jsonContents) == null ? void 0 : N.length) === 0 && (e != null && e.showButton) ? (A(), de(m, {
|
|
1470
1479
|
key: 0,
|
|
1471
1480
|
class: "system-default-button"
|
|
1472
1481
|
}, {
|
|
1473
|
-
icon:
|
|
1482
|
+
icon: k(() => [
|
|
1474
1483
|
d(y, { name: "model" })
|
|
1475
1484
|
]),
|
|
1476
|
-
default:
|
|
1485
|
+
default: k(() => [
|
|
1477
1486
|
l[0] || (l[0] = Qe(" 模型 "))
|
|
1478
1487
|
]),
|
|
1479
1488
|
_: 1,
|
|
@@ -1481,23 +1490,23 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1481
1490
|
})) : z("", !0)
|
|
1482
1491
|
];
|
|
1483
1492
|
}),
|
|
1484
|
-
dropMenu:
|
|
1493
|
+
dropMenu: k(() => [
|
|
1485
1494
|
u("div", Fn, [
|
|
1486
1495
|
d(m, {
|
|
1487
1496
|
onClick: Ve,
|
|
1488
1497
|
style: { width: "100%", margin: "0" }
|
|
1489
1498
|
}, {
|
|
1490
|
-
icon:
|
|
1499
|
+
icon: k(() => [
|
|
1491
1500
|
d(y, { name: "import" })
|
|
1492
1501
|
]),
|
|
1493
|
-
default:
|
|
1502
|
+
default: k(() => [
|
|
1494
1503
|
(A(), U("input", {
|
|
1495
1504
|
type: "file",
|
|
1496
1505
|
key: W.value,
|
|
1497
1506
|
ref_key: "fileInput",
|
|
1498
1507
|
ref: ae,
|
|
1499
1508
|
accept: ".txt, .inm, .iml, .imd",
|
|
1500
|
-
onChange:
|
|
1509
|
+
onChange: Ue,
|
|
1501
1510
|
style: { display: "none" },
|
|
1502
1511
|
multiple: ""
|
|
1503
1512
|
}, null, 32)),
|
|
@@ -1507,10 +1516,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1507
1516
|
__: [1]
|
|
1508
1517
|
}),
|
|
1509
1518
|
d(m, { style: { width: "100%", margin: "0" } }, {
|
|
1510
|
-
icon:
|
|
1519
|
+
icon: k(() => [
|
|
1511
1520
|
d(y, { name: "export" })
|
|
1512
1521
|
]),
|
|
1513
|
-
default:
|
|
1522
|
+
default: k(() => [
|
|
1514
1523
|
l[2] || (l[2] = Qe(" 导出模型 "))
|
|
1515
1524
|
]),
|
|
1516
1525
|
_: 1,
|
|
@@ -1520,10 +1529,10 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1520
1529
|
onClick: rt,
|
|
1521
1530
|
style: { width: "100%", margin: "0" }
|
|
1522
1531
|
}, {
|
|
1523
|
-
icon:
|
|
1532
|
+
icon: k(() => [
|
|
1524
1533
|
d(y, { name: "clear" })
|
|
1525
1534
|
]),
|
|
1526
|
-
default:
|
|
1535
|
+
default: k(() => [
|
|
1527
1536
|
l[3] || (l[3] = Qe(" 清空模型 "))
|
|
1528
1537
|
]),
|
|
1529
1538
|
_: 1,
|
|
@@ -1539,7 +1548,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1539
1548
|
])) : z("", !0),
|
|
1540
1549
|
d(mt, {
|
|
1541
1550
|
class: "select-model-dialog",
|
|
1542
|
-
visible:
|
|
1551
|
+
visible: Ye.value && (e == null ? void 0 : e.oldSystemKey) === "",
|
|
1543
1552
|
onBeforeDestroy: O,
|
|
1544
1553
|
showClose: !1,
|
|
1545
1554
|
closeOnClickModal: !1,
|
|
@@ -1547,7 +1556,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1547
1556
|
modalClass: "select-model-modal",
|
|
1548
1557
|
alignCenter: !0
|
|
1549
1558
|
}, {
|
|
1550
|
-
default:
|
|
1559
|
+
default: k(() => {
|
|
1551
1560
|
var N, C;
|
|
1552
1561
|
return [
|
|
1553
1562
|
u("div", Nn, [
|
|
@@ -1564,22 +1573,22 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1564
1573
|
]),
|
|
1565
1574
|
u("div", Jn, [
|
|
1566
1575
|
l[5] || (l[5] = u("div", { class: "enter-project-title" }, "项目列表", -1)),
|
|
1567
|
-
(N =
|
|
1568
|
-
(A(!0), U(Se, null,
|
|
1569
|
-
var
|
|
1576
|
+
(N = ue.value) != null && N.length ? (A(), U("div", Wn, [
|
|
1577
|
+
(A(!0), U(Se, null, Ke(ue.value, (S) => {
|
|
1578
|
+
var Q;
|
|
1570
1579
|
return A(), U("div", {
|
|
1571
|
-
class:
|
|
1572
|
-
"project-item-active": (
|
|
1580
|
+
class: Et(["project-item", {
|
|
1581
|
+
"project-item-active": (S == null ? void 0 : S.systemKey) == oe.value.targetModel
|
|
1573
1582
|
}]),
|
|
1574
|
-
onClick: (he) => at(
|
|
1583
|
+
onClick: (he) => at(S == null ? void 0 : S.systemKey)
|
|
1575
1584
|
}, [
|
|
1576
|
-
u("div", On, ee(`${
|
|
1585
|
+
u("div", On, ee(`${S.name ?? ""}(${S.systemKey})`), 1),
|
|
1577
1586
|
u("div", Hn, [
|
|
1578
|
-
((
|
|
1587
|
+
((Q = ue.value) == null ? void 0 : Q.length) > 1 ? (A(), de(y, {
|
|
1579
1588
|
key: 0,
|
|
1580
1589
|
class: "project-delete",
|
|
1581
1590
|
name: "shanchu1",
|
|
1582
|
-
onClick: (he) => it(
|
|
1591
|
+
onClick: (he) => it(S == null ? void 0 : S.systemKey)
|
|
1583
1592
|
}, null, 8, ["onClick"])) : z("", !0)
|
|
1584
1593
|
])
|
|
1585
1594
|
], 10, Ln);
|
|
@@ -1587,7 +1596,7 @@ const va = /* @__PURE__ */ Oe(Ot, [["render", Ba], ["__scopeId", "data-v-0cbc421
|
|
|
1587
1596
|
])) : z("", !0),
|
|
1588
1597
|
u("div", Vn, [
|
|
1589
1598
|
d(Le, {
|
|
1590
|
-
class:
|
|
1599
|
+
class: Et({ "enter-button-disable": !((C = ue.value) != null && C.length) }),
|
|
1591
1600
|
emptyColor: !0,
|
|
1592
1601
|
onClickTrigger: nt,
|
|
1593
1602
|
modelValue: "进入项目",
|