ss-component-new 1.1.415 → 1.1.416
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/array-58d570LL.cjs +7 -0
- package/dist/array-DEqtaw54.js +346 -0
- package/dist/{crypto-BRyGpjGR.js → crypto-Cq-QCViO.js} +178 -186
- package/dist/{crypto-CRbcEKIz.cjs → crypto-DX0stRPJ.cjs} +5 -5
- package/dist/{index-DuwxEG2Y.js → index-B36maAk9.js} +1 -1
- package/dist/index-B3ZWxITJ.js +1145 -0
- package/dist/{index-BJiXsb3E.cjs → index-B7pGY6s-.cjs} +1 -1
- package/dist/{index-WPbX9sqP.cjs → index-BEJ2yw6L.cjs} +1 -1
- package/dist/{index-9QTlnrEQ.cjs → index-BEZVG2w4.cjs} +1 -1
- package/dist/{index-BOzZXj2f.js → index-BMDwIj9Q.js} +7 -7
- package/dist/index-BN5_bPlI.js +711 -0
- package/dist/index-BQE6u3FY.cjs +7 -0
- package/dist/{index-DrUjNhjW.js → index-BTjvMH2-.js} +1 -1
- package/dist/{index-9srnYnzT.js → index-BXxCcVg9.js} +9 -9
- package/dist/{index-DIv5glVC.js → index-BZFpxFyZ.js} +422 -422
- package/dist/{index-Dm1_86kX.js → index-BgYMdBaM.js} +4 -5
- package/dist/index-BgwUuCZn.cjs +1 -0
- package/dist/{index-BJitBJZu.cjs → index-BvLNLX2m.cjs} +2 -2
- package/dist/{index-DoIHM98M.js → index-BvQxCFwq.js} +1 -1
- package/dist/{index-CilqH8oC.cjs → index-BvYov-FM.cjs} +1 -1
- package/dist/{index-DjhZHYH_.cjs → index-BxqdT6ZG.cjs} +1 -1
- package/dist/{index-B6_X9xq9.js → index-C-BnL_J8.js} +5 -6
- package/dist/{index-FBp-XX6h.js → index-C43LmEa1.js} +7051 -7021
- package/dist/{index-DbuzlHfh.js → index-C4kRcJZB.js} +21 -21
- package/dist/{index-8nzu3dKT.js → index-C9jJnj5S.js} +7 -7
- package/dist/{index-BVuLbYm9.cjs → index-CEGtcyt7.cjs} +1 -1
- package/dist/{index-Bhg9ISur.js → index-CHVY3mt7.js} +8 -9
- package/dist/index-CHXbD46C.cjs +87 -0
- package/dist/{index-BSAEf__V.js → index-CJja2QG9.js} +7 -7
- package/dist/{index-CNQtTLfb.cjs → index-CK03QmTY.cjs} +1 -1
- package/dist/index-CbfDuVGd.cjs +1 -0
- package/dist/{index-BxHhG5PY.js → index-CcbpKTyr.js} +3 -3
- package/dist/{index-BHxsT1eb.cjs → index-CiowzSFS.cjs} +1 -1
- package/dist/{index-CTTEAggF.cjs → index-CvagfQk6.cjs} +1 -1
- package/dist/{index-DrCpGMdZ.js → index-D-45U022.js} +11 -12
- package/dist/{index-UYsrvpRs.js → index-D9Mgi3hi.js} +4 -4
- package/dist/{index-AzrB9NlT.js → index-DGX_omwS.js} +4 -4
- package/dist/{index-BibIA5-P.cjs → index-DHhoPw_A.cjs} +1 -1
- package/dist/{index-CffNkMWN.cjs → index-DQycMGEY.cjs} +1 -1
- package/dist/{index-C8jmJvXd.cjs → index-DRpTJPjg.cjs} +1 -1
- package/dist/{index-BJIMXITA.js → index-DT0rIFKm.js} +6 -6
- package/dist/index-DcIVU-Ov.cjs +1 -0
- package/dist/{index-3dpRV7yS.cjs → index-DgY-01TT.cjs} +1 -1
- package/dist/{index-DHhMROzm.cjs → index-Dp0i47OJ.cjs} +1 -1
- package/dist/{index-DPm-3I4S.js → index-DqHrwwb1.js} +6 -6
- package/dist/{index-CA9lI4P8.js → index-DseMLCbI.js} +5 -5
- package/dist/{index-ZUmqWSaw.cjs → index-Dt5TGPLg.cjs} +1 -1
- package/dist/{index-BPDslvev.js → index-DtYFEnXc.js} +2 -2
- package/dist/{index-eSv5uzFM.js → index-NEUjKmq0.js} +354 -359
- package/dist/{index-VOSN3Mnh.js → index-NIMrswsz.js} +9 -9
- package/dist/{index-DMp2zGXo.js → index-ZuGl0u3I.js} +7 -7
- package/dist/{index-BimZK7wy.cjs → index-jESujSgy.cjs} +1 -1
- package/dist/{index-Dxfzna5p.cjs → index-jghM2Y0h.cjs} +1 -1
- package/dist/{index-BszUQuvL.cjs → index-sKVluUJX.cjs} +1 -1
- package/dist/{index-CdLmmvxi.cjs → index-uVl30He2.cjs} +1 -1
- package/dist/index-zMtEEusk.cjs +1 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dr6igsfU.cjs → index.vue_vue_type_script_setup_true_lang-BaYvLcMI.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CKDefrVd.js → index.vue_vue_type_script_setup_true_lang-CAcdw_AX.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-x_oCFRtr.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-B4LEhoqI.cjs} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CaGB6aRQ.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CopMGaPW.js} +11 -17
- package/dist/{index.vue_vue_type_style_index_0_scoped_306ecd73_lang-CMsb25AU.js → index.vue_vue_type_style_index_0_scoped_306ecd73_lang-BOZV3S47.js} +90 -89
- package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-Dt5xjsaj.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CTM5_Xpt.js +1429 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DhLcXmdy.cjs +1 -0
- package/dist/login-BkG9ft6j.js +75 -0
- package/dist/login-uBBsyOif.cjs +1 -0
- package/dist/{main-C7zpT64X.js → main-B29DPpx0.js} +6 -6
- package/dist/{main-NoOanZcQ.cjs → main-DqvMBu9E.cjs} +1 -1
- package/dist/{menu-B-Z5KAh5.cjs → menu-CEY-shM3.cjs} +4 -4
- package/dist/{menu-D9x5_s9p.js → menu-Dz_fVXUK.js} +8 -8
- package/dist/menuIndex-BWim3TlH.js +33 -0
- package/dist/menuIndex-Cg6xI-jR.cjs +1 -0
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +10 -10
- package/dist/ss-component3.cjs +1 -1
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-MVkoDB-c.cjs → threeModel-Djd02U60.cjs} +1 -1
- package/dist/{threeModel-BazaxATJ.js → threeModel-V5HRhps2.js} +5 -6
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CnQhvwfL.js → threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-B08ZEGHO.js} +2 -2
- package/dist/{threeModel.vue_vue_type_style_index_0_scoped_28fc9fe5_lang-CBBWsMHp.cjs → threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-BTtFKEwD.cjs} +1 -1
- package/package.json +1 -1
- package/dist/array-CYOvmzeK.js +0 -1310
- package/dist/array-DAoy3WS9.cjs +0 -7
- package/dist/index-BA-Qtevs.cjs +0 -1
- package/dist/index-Bvr0YvSP.cjs +0 -74
- package/dist/index-CyOcoFxe.cjs +0 -1
- package/dist/index-D68A4TXc.cjs +0 -1
- package/dist/index-DBB_scdx.cjs +0 -1
- package/dist/index-Dnq8JVuW.cjs +0 -7
- package/dist/index-TEDdJfFz.js +0 -677
- package/dist/index-faxMOO3y.js +0 -1717
- package/dist/index.vue_vue_type_style_index_0_scoped_306ecd73_lang-B7CgbfdF.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-COxDD0Fj.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-DDi07ZiD.js +0 -1593
- package/dist/login-CARNmuDg.js +0 -103
- package/dist/login-DsWsywlE.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { resolveComponent as b, createBlock as L, openBlock as c, withCtx as n, createVNode as t, createElementVNode as C, toDisplayString as je, ref as w, onMounted as
|
|
2
|
-
import { m as ft, a as gt, b as yt } from "./index-
|
|
3
|
-
import lt from "./index-
|
|
4
|
-
import { _ as
|
|
1
|
+
import { resolveComponent as b, createBlock as L, openBlock as c, withCtx as n, createVNode as t, createElementVNode as C, toDisplayString as je, ref as w, onMounted as Xt, watch as _e, createElementBlock as N, Fragment as ot, renderList as ht, createCommentVNode as H, normalizeStyle as Yt, defineComponent as Bt, computed as nt, resolveDirective as Tt, withDirectives as at, unref as s, createTextVNode as he, renderSlot as We, resolveDynamicComponent as Rt, vShow as Ct } from "vue";
|
|
2
|
+
import { m as ft, a as gt, b as yt } from "./index-BMDwIj9Q.js";
|
|
3
|
+
import lt from "./index-B36maAk9.js";
|
|
4
|
+
import { _ as Zt, o as Ft, c as St, a as At, b as xt, d as Ut, s as ne, g as jt, e as Dt, f as Pt, h as $t, I as bt, i as ea } from "./index.vue_vue_type_style_index_0_scoped_7ee96c6e_lang-CTM5_Xpt.js";
|
|
5
5
|
import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as
|
|
7
|
-
import { u as
|
|
6
|
+
import { p as ke, s as be, u as st, b as J, g as ta, E as mt } from "./menu-Dz_fVXUK.js";
|
|
7
|
+
import { u as Mt } from "./login-BkG9ft6j.js";
|
|
8
8
|
import { S as Ue } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { u as it } from "./threeModel.
|
|
10
|
-
import { u as _t, a as
|
|
11
|
-
import { s as
|
|
12
|
-
import { c as et } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
13
|
-
import
|
|
14
|
-
import { s as
|
|
15
|
-
import { u as
|
|
16
|
-
import { d as kt } from "./index-
|
|
17
|
-
import {
|
|
18
|
-
import { c as
|
|
19
|
-
function
|
|
20
|
-
const r = b("svg-icon"),
|
|
21
|
-
return c(), L(
|
|
9
|
+
import { u as it } from "./threeModel.vue_vue_type_style_index_0_scoped_43c8b141_lang-B08ZEGHO.js";
|
|
10
|
+
import { u as _t, a as aa, l as oa } from "./index-B3ZWxITJ.js";
|
|
11
|
+
import { s as Lt } from "./index-C4kRcJZB.js";
|
|
12
|
+
import { c as et } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CopMGaPW.js";
|
|
13
|
+
import na from "./threeModel-V5HRhps2.js";
|
|
14
|
+
import { s as la, _ as Oe } from "./index-D9Mgi3hi.js";
|
|
15
|
+
import { u as sa } from "./index-ZuGl0u3I.js";
|
|
16
|
+
import { d as kt } from "./index-BvQxCFwq.js";
|
|
17
|
+
import { a as ia } from "./array-DEqtaw54.js";
|
|
18
|
+
import { c as ra, b as ca } from "./index.vue_vue_type_style_index_0_scoped_306ecd73_lang-BOZV3S47.js";
|
|
19
|
+
function ua(P, Te, l, z, K, re) {
|
|
20
|
+
const r = b("svg-icon"), le = b("ssMenu");
|
|
21
|
+
return c(), L(le, {
|
|
22
22
|
mode: P.mode,
|
|
23
23
|
menuList: P.renderMenuList,
|
|
24
24
|
onClickMenu: P.clickMenu,
|
|
25
25
|
onOpenMenu: P.openMenu,
|
|
26
26
|
onCloseMenu: P.closeMenu
|
|
27
27
|
}, {
|
|
28
|
-
title: n(({ menu:
|
|
28
|
+
title: n(({ menu: Q }) => [
|
|
29
29
|
t(r, {
|
|
30
|
-
name:
|
|
30
|
+
name: Q.icon ?? "Fold",
|
|
31
31
|
style: { width: "clamp(16px, 1.25rem, 20px)", height: "clamp(16px, 1.25rem, 20px)", "margin-right": "8px" }
|
|
32
32
|
}, null, 8, ["name"]),
|
|
33
|
-
C("span", null, je(
|
|
33
|
+
C("span", null, je(Q.title ?? ""), 1)
|
|
34
34
|
]),
|
|
35
35
|
_: 1
|
|
36
36
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const Et = /* @__PURE__ */ qe(Zt, [["render", ua], ["__scopeId", "data-v-5c2d7ed2"]]), da = { class: "bread-content" }, pa = ["onClick"], ma = {
|
|
39
39
|
key: 0,
|
|
40
40
|
class: "split-title"
|
|
41
|
-
},
|
|
41
|
+
}, ha = {
|
|
42
42
|
__name: "index",
|
|
43
43
|
props: {
|
|
44
44
|
breadArray: {
|
|
@@ -47,41 +47,41 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
emits: ["click"],
|
|
50
|
-
setup(P, { emit:
|
|
51
|
-
const l = P, z = w([]),
|
|
52
|
-
|
|
50
|
+
setup(P, { emit: Te }) {
|
|
51
|
+
const l = P, z = w([]), K = Te;
|
|
52
|
+
Xt(() => {
|
|
53
53
|
z.value = l == null ? void 0 : l.breadArray;
|
|
54
|
-
}),
|
|
54
|
+
}), _e(
|
|
55
55
|
() => l == null ? void 0 : l.breadArray,
|
|
56
56
|
() => {
|
|
57
57
|
z.value = l == null ? void 0 : l.breadArray;
|
|
58
58
|
},
|
|
59
59
|
{ deep: !0, immediate: !0 }
|
|
60
60
|
);
|
|
61
|
-
const
|
|
62
|
-
|
|
61
|
+
const re = (r) => {
|
|
62
|
+
K("click", r);
|
|
63
63
|
};
|
|
64
|
-
return (r,
|
|
65
|
-
(c(!0), N(ot, null, ht(z.value, (
|
|
66
|
-
var
|
|
64
|
+
return (r, le) => (c(), N("div", da, [
|
|
65
|
+
(c(!0), N(ot, null, ht(z.value, (Q, ce) => {
|
|
66
|
+
var ue;
|
|
67
67
|
return c(), N("div", {
|
|
68
|
-
key:
|
|
68
|
+
key: ce,
|
|
69
69
|
class: "bread-item"
|
|
70
70
|
}, [
|
|
71
71
|
C("div", {
|
|
72
72
|
class: "bread-title",
|
|
73
|
-
onClick: (
|
|
74
|
-
style:
|
|
75
|
-
}, je(
|
|
76
|
-
|
|
73
|
+
onClick: (we) => re(Q),
|
|
74
|
+
style: Yt({ opacity: ((ue = z.value) == null ? void 0 : ue.length) - 1 === ce ? "0.7" : "1" })
|
|
75
|
+
}, je(Q.value), 13, pa),
|
|
76
|
+
ce !== z.value.length - 1 && Array.isArray(z.value) ? (c(), N("div", ma, je("/"))) : H("", !0)
|
|
77
77
|
]);
|
|
78
78
|
}), 128))
|
|
79
79
|
]));
|
|
80
80
|
}
|
|
81
|
-
},
|
|
81
|
+
}, Vt = /* @__PURE__ */ qe(ha, [["__scopeId", "data-v-ded7e2bd"]]), fa = { class: "structure-buttons" }, ga = { class: "structure-paths" }, ya = { class: "client-header-user" }, _a = { class: "model-select" }, wa = { class: "model-show" }, va = { class: "model-fill" }, Ca = { class: "client-header-menu" }, ba = { class: "client-header-user" }, ka = { class: "drop-menu" }, Ba = { class: "client-main-operate" }, Ta = {
|
|
82
82
|
key: 0,
|
|
83
83
|
class: "item-view-group"
|
|
84
|
-
},
|
|
84
|
+
}, Ra = { class: "client-main-operate" }, Fa = /* @__PURE__ */ Bt({
|
|
85
85
|
__name: "index2",
|
|
86
86
|
props: {
|
|
87
87
|
windowConfig: {
|
|
@@ -95,14 +95,14 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
setup(P) {
|
|
98
|
-
const
|
|
98
|
+
const Te = _t(ke), { selectTitle: l } = be(Te), z = Mt(), { loginUserInfo: K } = be(z), re = it(ke), { isEdit: r, routeToChildPath: le } = be(re), Q = st(ke), { importLoading: ce, activeTopMenuPath: ue } = be(Q), we = w(""), G = nt(() => ue.value === "系统管理" || ue.value === "平台管理"), te = () => {
|
|
99
99
|
sessionStorage.clear(), window.location.reload();
|
|
100
|
-
},
|
|
101
|
-
|
|
100
|
+
}, se = () => {
|
|
101
|
+
Q.setActiveMenuPath(le.value), re.setRouteToChildPath("");
|
|
102
102
|
};
|
|
103
|
-
return (
|
|
104
|
-
const
|
|
105
|
-
return s(r) === "edit" ? (c(), L(
|
|
103
|
+
return (ve, x) => {
|
|
104
|
+
const fe = b("el-button"), Re = b("el-avatar"), Pe = b("el-header"), W = b("el-container"), de = b("el-icon"), Le = b("el-input"), He = b("ss-avatar"), $e = b("ss-button"), U = b("ss-drop"), O = b("el-aside"), Ce = b("el-main"), ae = b("router-view"), ge = Tt("loading");
|
|
105
|
+
return s(r) === "edit" ? (c(), L(W, {
|
|
106
106
|
key: 0,
|
|
107
107
|
class: "client-container"
|
|
108
108
|
}, {
|
|
@@ -111,51 +111,51 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
111
111
|
default: n(() => {
|
|
112
112
|
var B;
|
|
113
113
|
return [
|
|
114
|
-
C("div",
|
|
115
|
-
t(
|
|
114
|
+
C("div", fa, [
|
|
115
|
+
t(fe, {
|
|
116
116
|
id: "transparentBgButton",
|
|
117
|
-
onClick: s(
|
|
117
|
+
onClick: s(Ft)
|
|
118
118
|
}, {
|
|
119
|
-
default: n(() =>
|
|
120
|
-
|
|
119
|
+
default: n(() => x[2] || (x[2] = [
|
|
120
|
+
he(" 返回页面 ")
|
|
121
121
|
])),
|
|
122
122
|
_: 1,
|
|
123
123
|
__: [2]
|
|
124
124
|
}, 8, ["onClick"]),
|
|
125
|
-
t(
|
|
125
|
+
t(fe, {
|
|
126
126
|
id: "transparentBgButton",
|
|
127
|
-
onClick:
|
|
127
|
+
onClick: x[0] || (x[0] = (g) => {
|
|
128
128
|
var Fe, Ee;
|
|
129
|
-
return s(
|
|
129
|
+
return s(St)((Ee = (Fe = s(l)) == null ? void 0 : Fe.map((rt) => rt.value)) == null ? void 0 : Ee.join("/"));
|
|
130
130
|
})
|
|
131
131
|
}, {
|
|
132
132
|
icon: n(() => [
|
|
133
133
|
t(Ue, { name: "Store" })
|
|
134
134
|
]),
|
|
135
135
|
default: n(() => [
|
|
136
|
-
|
|
136
|
+
x[3] || (x[3] = he(" 保存页面 "))
|
|
137
137
|
]),
|
|
138
138
|
_: 1,
|
|
139
139
|
__: [3]
|
|
140
140
|
})
|
|
141
141
|
]),
|
|
142
|
-
C("div",
|
|
143
|
-
(c(), L(
|
|
142
|
+
C("div", ga, [
|
|
143
|
+
(c(), L(Vt, {
|
|
144
144
|
key: s(l),
|
|
145
145
|
breadArray: s(l),
|
|
146
|
-
onClick: s(
|
|
146
|
+
onClick: s(At)
|
|
147
147
|
}, null, 8, ["breadArray", "onClick"]))
|
|
148
148
|
]),
|
|
149
|
-
C("div",
|
|
150
|
-
We(
|
|
151
|
-
t(
|
|
149
|
+
C("div", ya, [
|
|
150
|
+
We(ve.$slots, "default", {}, void 0, !0),
|
|
151
|
+
t(Re, {
|
|
152
152
|
size: 35,
|
|
153
|
-
src: (B = s(
|
|
153
|
+
src: (B = s(K)) == null ? void 0 : B.avatarUrl
|
|
154
154
|
}, {
|
|
155
155
|
default: n(() => {
|
|
156
156
|
var g;
|
|
157
157
|
return [
|
|
158
|
-
|
|
158
|
+
he(je(((g = s(K)) == null ? void 0 : g.account) ?? "未知"), 1)
|
|
159
159
|
];
|
|
160
160
|
}),
|
|
161
161
|
_: 1
|
|
@@ -165,27 +165,27 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
165
165
|
}),
|
|
166
166
|
_: 3
|
|
167
167
|
}),
|
|
168
|
-
s(r) === "edit" ? (c(), L(
|
|
168
|
+
s(r) === "edit" ? (c(), L(W, {
|
|
169
169
|
key: 0,
|
|
170
170
|
class: "model-operate",
|
|
171
171
|
style: { "margin-top": "10px", height: "0px" }
|
|
172
172
|
}, {
|
|
173
173
|
default: n(() => [
|
|
174
|
-
C("div",
|
|
174
|
+
C("div", _a, [
|
|
175
175
|
t(ft)
|
|
176
176
|
]),
|
|
177
|
-
C("div",
|
|
177
|
+
C("div", wa, [
|
|
178
178
|
t(gt)
|
|
179
179
|
]),
|
|
180
|
-
C("div",
|
|
180
|
+
C("div", va, [
|
|
181
181
|
t(yt)
|
|
182
182
|
])
|
|
183
183
|
]),
|
|
184
184
|
_: 1
|
|
185
|
-
})) :
|
|
185
|
+
})) : H("", !0)
|
|
186
186
|
]),
|
|
187
187
|
_: 3
|
|
188
|
-
})) : at((c(), L(
|
|
188
|
+
})) : at((c(), L(W, {
|
|
189
189
|
key: 1,
|
|
190
190
|
class: "client-container",
|
|
191
191
|
"element-loading-text": "正在加载页面数据..."
|
|
@@ -193,71 +193,71 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
193
193
|
default: n(() => [
|
|
194
194
|
t(Pe, { class: "client-header" }, {
|
|
195
195
|
default: n(() => [
|
|
196
|
-
|
|
197
|
-
C("div",
|
|
198
|
-
t(
|
|
196
|
+
x[6] || (x[6] = C("div", { class: "client-header-logo" }, " ISIP ", -1)),
|
|
197
|
+
C("div", Ca, [
|
|
198
|
+
t(Et, { mode: "horizontal" })
|
|
199
199
|
]),
|
|
200
|
-
C("div",
|
|
200
|
+
C("div", ba, [
|
|
201
201
|
t(Le, {
|
|
202
|
-
modelValue:
|
|
203
|
-
"onUpdate:modelValue":
|
|
202
|
+
modelValue: we.value,
|
|
203
|
+
"onUpdate:modelValue": x[1] || (x[1] = (B) => we.value = B),
|
|
204
204
|
clearable: "",
|
|
205
205
|
placeholder: "搜索",
|
|
206
206
|
style: { width: "130px" }
|
|
207
207
|
}, {
|
|
208
208
|
prefix: n(() => [
|
|
209
|
-
t(
|
|
209
|
+
t(de, { class: "el-input__icon" }, {
|
|
210
210
|
default: n(() => [
|
|
211
|
-
t(s(
|
|
211
|
+
t(s(Lt))
|
|
212
212
|
]),
|
|
213
213
|
_: 1
|
|
214
214
|
})
|
|
215
215
|
]),
|
|
216
216
|
_: 1
|
|
217
217
|
}, 8, ["modelValue"]),
|
|
218
|
-
P.showButton ? (c(), L(
|
|
218
|
+
P.showButton ? (c(), L(fe, {
|
|
219
219
|
key: 0,
|
|
220
220
|
id: "transparentBgButton",
|
|
221
|
-
onClick: s(
|
|
221
|
+
onClick: s(xt)
|
|
222
222
|
}, {
|
|
223
223
|
icon: n(() => [
|
|
224
224
|
t(Ue, { name: "App" })
|
|
225
225
|
]),
|
|
226
226
|
default: n(() => [
|
|
227
|
-
|
|
227
|
+
x[4] || (x[4] = he(" 生成APP "))
|
|
228
228
|
]),
|
|
229
229
|
_: 1,
|
|
230
230
|
__: [4]
|
|
231
|
-
}, 8, ["onClick"])) :
|
|
232
|
-
P.showButton && s(r) === "view" ? (c(), L(
|
|
231
|
+
}, 8, ["onClick"])) : H("", !0),
|
|
232
|
+
P.showButton && s(r) === "view" ? (c(), L(fe, {
|
|
233
233
|
key: 1,
|
|
234
234
|
id: "transparentBgButton",
|
|
235
|
-
onClick: s(
|
|
235
|
+
onClick: s(Ut)
|
|
236
236
|
}, {
|
|
237
237
|
icon: n(() => [
|
|
238
238
|
t(Ue, { name: "write" })
|
|
239
239
|
]),
|
|
240
240
|
default: n(() => [
|
|
241
|
-
|
|
241
|
+
x[5] || (x[5] = he(" 修改布局 "))
|
|
242
242
|
]),
|
|
243
243
|
_: 1,
|
|
244
244
|
__: [5]
|
|
245
|
-
}, 8, ["onClick"])) :
|
|
246
|
-
We(
|
|
245
|
+
}, 8, ["onClick"])) : H("", !0),
|
|
246
|
+
We(ve.$slots, "default", {}, void 0, !0),
|
|
247
247
|
t(U, null, {
|
|
248
248
|
dropTitle: n(() => {
|
|
249
249
|
var B;
|
|
250
250
|
return [
|
|
251
251
|
t(He, {
|
|
252
252
|
size: "35",
|
|
253
|
-
avatarUrl: (B = s(
|
|
253
|
+
avatarUrl: (B = s(K)) == null ? void 0 : B.avatarUrl,
|
|
254
254
|
showCropper: !1,
|
|
255
255
|
banClick: !0
|
|
256
256
|
}, {
|
|
257
257
|
avatarDefault: n(() => {
|
|
258
258
|
var g;
|
|
259
259
|
return [
|
|
260
|
-
|
|
260
|
+
he(je(((g = s(K)) == null ? void 0 : g.account) ?? "未知"), 1)
|
|
261
261
|
];
|
|
262
262
|
}),
|
|
263
263
|
_: 1
|
|
@@ -265,11 +265,11 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
265
265
|
];
|
|
266
266
|
}),
|
|
267
267
|
dropMenu: n(() => [
|
|
268
|
-
C("div",
|
|
268
|
+
C("div", ka, [
|
|
269
269
|
t($e, {
|
|
270
270
|
emptyColor: !0,
|
|
271
271
|
class: "menu-button",
|
|
272
|
-
onClickTrigger:
|
|
272
|
+
onClickTrigger: te,
|
|
273
273
|
modelValue: "退出登录",
|
|
274
274
|
buttonType: ""
|
|
275
275
|
})
|
|
@@ -282,9 +282,9 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
282
282
|
_: 3,
|
|
283
283
|
__: [6]
|
|
284
284
|
}),
|
|
285
|
-
t(
|
|
285
|
+
t(W, { class: "client-body" }, {
|
|
286
286
|
default: n(() => [
|
|
287
|
-
|
|
287
|
+
G.value ? (c(), L(Ce, {
|
|
288
288
|
key: 1,
|
|
289
289
|
class: "client-main"
|
|
290
290
|
}, {
|
|
@@ -295,12 +295,12 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
295
295
|
]),
|
|
296
296
|
_: 1
|
|
297
297
|
}),
|
|
298
|
-
C("div",
|
|
299
|
-
t(
|
|
298
|
+
C("div", Ra, [
|
|
299
|
+
t(ae)
|
|
300
300
|
])
|
|
301
301
|
]),
|
|
302
302
|
_: 1
|
|
303
|
-
})) : (c(), L(
|
|
303
|
+
})) : (c(), L(Ce, {
|
|
304
304
|
key: 0,
|
|
305
305
|
class: "client-main"
|
|
306
306
|
}, {
|
|
@@ -313,29 +313,29 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
313
313
|
]),
|
|
314
314
|
_: 1
|
|
315
315
|
}),
|
|
316
|
-
C("div",
|
|
317
|
-
s(
|
|
316
|
+
C("div", Ba, [
|
|
317
|
+
s(le) !== "" ? (c(), L($e, {
|
|
318
318
|
key: 0,
|
|
319
319
|
class: "calculator-content back-content",
|
|
320
|
-
onClickTrigger:
|
|
320
|
+
onClickTrigger: se,
|
|
321
321
|
modelValue: "返回"
|
|
322
|
-
})) :
|
|
323
|
-
(c(!0), N(ot, null, ht((B = s(et)(s(
|
|
322
|
+
})) : H("", !0),
|
|
323
|
+
(c(!0), N(ot, null, ht((B = s(et)(s(ne))) == null ? void 0 : B.filter((g) => g.comp !== "FormTop"), (g, Fe) => {
|
|
324
324
|
var Ee;
|
|
325
325
|
return c(), N("div", {
|
|
326
326
|
class: "item-view-content",
|
|
327
327
|
key: Fe
|
|
328
328
|
}, [
|
|
329
|
-
((Ee = g == null ? void 0 : g.comp) == null ? void 0 : Ee.toUpperCase()) !== "TABLE" && g.name ? (c(), N("div",
|
|
330
|
-
(c(), L(
|
|
329
|
+
((Ee = g == null ? void 0 : g.comp) == null ? void 0 : Ee.toUpperCase()) !== "TABLE" && g.name ? (c(), N("div", Ta, je(g.name), 1)) : H("", !0),
|
|
330
|
+
(c(), L(Rt(s(jt)(g.comp)), {
|
|
331
331
|
compName: g.name,
|
|
332
332
|
itemData: g == null ? void 0 : g.compData,
|
|
333
333
|
childItemData: g == null ? void 0 : g.itemChildData,
|
|
334
334
|
key: (g == null ? void 0 : g.id) ?? Fe,
|
|
335
|
-
onChange: s(
|
|
335
|
+
onChange: s($t),
|
|
336
336
|
index: (g == null ? void 0 : g.id) ?? Fe,
|
|
337
|
-
onContentChange: s(
|
|
338
|
-
onPageChange: s(
|
|
337
|
+
onContentChange: s(Pt),
|
|
338
|
+
onPageChange: s(Dt)
|
|
339
339
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
340
340
|
]);
|
|
341
341
|
}), 128))
|
|
@@ -350,11 +350,11 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
350
350
|
]),
|
|
351
351
|
_: 3
|
|
352
352
|
})), [
|
|
353
|
-
[
|
|
353
|
+
[ge, s(ce)]
|
|
354
354
|
]);
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
357
|
+
}), Sa = /* @__PURE__ */ qe(Fa, [["__scopeId", "data-v-96b95789"]]), y = [
|
|
358
358
|
{
|
|
359
359
|
key: "FitCurve_Eleven",
|
|
360
360
|
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
|
|
@@ -435,22 +435,22 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
435
435
|
// key: "参数筛选推理",
|
|
436
436
|
// value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
|
|
437
437
|
// }
|
|
438
|
-
],
|
|
438
|
+
], Aa = ["src"], xa = { class: "structure-buttons" }, Ua = { class: "structure-paths" }, ja = { class: "client-header-user" }, Da = { class: "model-select" }, Pa = { class: "model-show" }, $a = { class: "model-fill" }, Ma = { class: "client-header-logo" }, La = { class: "client-header-menu" }, Ea = { class: "client-header-user" }, Va = { class: "drop-menu" }, Na = { class: "client-main-content" }, Oa = {
|
|
439
439
|
key: 0,
|
|
440
440
|
class: "item-view-group"
|
|
441
|
-
},
|
|
441
|
+
}, za = {
|
|
442
442
|
key: 0,
|
|
443
443
|
class: "calculator"
|
|
444
|
-
},
|
|
444
|
+
}, Ia = {
|
|
445
445
|
key: 1,
|
|
446
446
|
class: "calculator"
|
|
447
|
-
},
|
|
447
|
+
}, Ja = {
|
|
448
448
|
key: 2,
|
|
449
449
|
class: "calculator"
|
|
450
|
-
},
|
|
450
|
+
}, Ka = {
|
|
451
451
|
key: 3,
|
|
452
452
|
class: "calculator"
|
|
453
|
-
},
|
|
453
|
+
}, Ga = { class: "router-aside" }, Wa = { class: "router-main" }, qa = /* @__PURE__ */ Bt({
|
|
454
454
|
__name: "index",
|
|
455
455
|
props: {
|
|
456
456
|
windowConfig: {
|
|
@@ -464,16 +464,16 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
464
464
|
}
|
|
465
465
|
},
|
|
466
466
|
emits: ["showChild", "buildContent"],
|
|
467
|
-
setup(P, { emit:
|
|
468
|
-
const l = _t(
|
|
469
|
-
|
|
470
|
-
a && (g.value = !0), a === "弯管仿真加工管理/仿真动画生成" ?
|
|
467
|
+
setup(P, { emit: Te }) {
|
|
468
|
+
const l = _t(ke), z = w(0), K = w(!1), { selectTitle: re } = be(l), r = w(!1), le = w(!1), Q = w(!1), ce = aa(ke), ue = w(!1), { tableShowThree: we } = be(ce), G = Mt(), { loginUserInfo: te } = be(G), se = w(null), ve = it(ke), { isEdit: x } = be(ve), fe = st(ke), Re = sa(ke), { objUrl: Pe, blobUrls: W } = be(Re), de = w(null), Le = w(!1), He = w(!0), $e = w(!1), { importLoading: U, activeMenuPath: O, activeTopMenuPath: Ce, platName: ae } = be(fe), ge = w(!1), B = w(!1), g = w(!1), Fe = Te;
|
|
469
|
+
_e(() => O.value, async (a) => {
|
|
470
|
+
a && (g.value = !0), a === "弯管仿真加工管理/仿真动画生成" ? ge.value = !0 : ge.value = !1, a === "弯管仿真加工管理/程序输出" ? B.value = !0 : B.value = !1, Ge != null && Ge.find((e) => {
|
|
471
471
|
var d;
|
|
472
472
|
return (e == null ? void 0 : e.key) === ((d = a == null ? void 0 : a.split("/")) == null ? void 0 : d[(a == null ? void 0 : a.split("/").length) - 1]);
|
|
473
|
-
}) ?
|
|
473
|
+
}) ? ue.value = !0 : ue.value = !1;
|
|
474
474
|
}, { immediate: !0 });
|
|
475
475
|
const Ee = () => {
|
|
476
|
-
|
|
476
|
+
de.value.startRunningAnimation();
|
|
477
477
|
}, rt = (a) => {
|
|
478
478
|
if ((a == null ? void 0 : a.type) === "table") {
|
|
479
479
|
let e = Object.values(a == null ? void 0 : a.row), d = e == null ? void 0 : e.find((h) => (h == null ? void 0 : h.includes(".urdf")) || (h == null ? void 0 : h.includes(".obj")));
|
|
@@ -482,16 +482,16 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
482
482
|
row: a == null ? void 0 : a.row
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
|
-
},
|
|
485
|
+
}, Nt = () => {
|
|
486
486
|
sessionStorage.clear(), window.location.reload();
|
|
487
|
-
},
|
|
487
|
+
}, Ot = async () => {
|
|
488
488
|
var o, k, R;
|
|
489
489
|
let a = "";
|
|
490
|
-
(o =
|
|
491
|
-
var E, j,
|
|
492
|
-
|
|
490
|
+
(o = ne.value) == null || o.forEach((u, A) => {
|
|
491
|
+
var E, j, X;
|
|
492
|
+
A === ne.value.length - 1 && (a = (X = (j = (E = u.compData) == null ? void 0 : E[0]) == null ? void 0 : j.contents) == null ? void 0 : X[0].value);
|
|
493
493
|
});
|
|
494
|
-
const e = await
|
|
494
|
+
const e = await J.get(a, {
|
|
495
495
|
responseType: "blob",
|
|
496
496
|
headers: {
|
|
497
497
|
"Content-Type": "application/json"
|
|
@@ -500,20 +500,20 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
500
500
|
type: "application/octet-stream;charset=UTF-8"
|
|
501
501
|
});
|
|
502
502
|
let h = "";
|
|
503
|
-
(R = (k = e.config.url) == null ? void 0 : k.split("/")) == null || R.forEach((u,
|
|
503
|
+
(R = (k = e.config.url) == null ? void 0 : k.split("/")) == null || R.forEach((u, A) => {
|
|
504
504
|
var E, j;
|
|
505
|
-
((j = (E = e.config.url) == null ? void 0 : E.split("/")) == null ? void 0 : j.length) - 1 ===
|
|
505
|
+
((j = (E = e.config.url) == null ? void 0 : E.split("/")) == null ? void 0 : j.length) - 1 === A && (h = u);
|
|
506
506
|
});
|
|
507
507
|
var i = document.createElement("a"), m = window.URL.createObjectURL(d);
|
|
508
508
|
i.style.display = "none", i.href = m, i.download = decodeURI(h), document.body.appendChild(i), i.click(), document.body.removeChild(i), window.URL.revokeObjectURL(m);
|
|
509
|
-
},
|
|
509
|
+
}, zt = async () => {
|
|
510
510
|
var h;
|
|
511
511
|
let a = "";
|
|
512
|
-
(h =
|
|
512
|
+
(h = ne.value) == null || h.forEach((i, m) => {
|
|
513
513
|
var o, k, R;
|
|
514
|
-
m ===
|
|
514
|
+
m === ne.value.length - 1 && (a = (R = (k = (o = i.compData) == null ? void 0 : o[0]) == null ? void 0 : k.contents) == null ? void 0 : R[0].value);
|
|
515
515
|
});
|
|
516
|
-
const e = await
|
|
516
|
+
const e = await J.get(a, {
|
|
517
517
|
responseType: "blob",
|
|
518
518
|
headers: {
|
|
519
519
|
"Content-Type": "application/json"
|
|
@@ -521,16 +521,16 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
521
521
|
}), d = new Blob([e.data], {
|
|
522
522
|
type: "text/plain"
|
|
523
523
|
});
|
|
524
|
-
|
|
525
|
-
},
|
|
524
|
+
se.value && URL.revokeObjectURL(se.value), se.value = URL.createObjectURL(d), Le.value = !0;
|
|
525
|
+
}, It = async () => {
|
|
526
526
|
var m, o, k, R, u;
|
|
527
527
|
$e.value = !0;
|
|
528
528
|
const a = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken");
|
|
529
|
-
let e = ((k = (o = (m = Ge == null ? void 0 : Ge.find((
|
|
530
|
-
var E, j,
|
|
531
|
-
return (
|
|
529
|
+
let e = ((k = (o = (m = Ge == null ? void 0 : Ge.find((A) => {
|
|
530
|
+
var E, j, X;
|
|
531
|
+
return (A == null ? void 0 : A.key) === ((X = (E = O.value) == null ? void 0 : E.split("/")) == null ? void 0 : X[((j = O.value) == null ? void 0 : j.split("/").length) - 1]);
|
|
532
532
|
})) == null ? void 0 : m.value) == null ? void 0 : o.split(",")) == null ? void 0 : k[0]) ?? "";
|
|
533
|
-
const d = await
|
|
533
|
+
const d = await J.post(e, null, {
|
|
534
534
|
responseType: "blob",
|
|
535
535
|
// 必须设置
|
|
536
536
|
headers: {
|
|
@@ -545,10 +545,10 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
545
545
|
blob: h,
|
|
546
546
|
mtlBlobs: []
|
|
547
547
|
};
|
|
548
|
-
$e.value = !1,
|
|
549
|
-
},
|
|
548
|
+
$e.value = !1, de.value.loadModelByDefaultPath([i]);
|
|
549
|
+
}, Jt = async (a) => {
|
|
550
550
|
var h, i, m, o, k, R, u;
|
|
551
|
-
const e = (h = a == null ? void 0 : a.split("/")) == null ? void 0 : h[0], d = await
|
|
551
|
+
const e = (h = a == null ? void 0 : a.split("/")) == null ? void 0 : h[0], d = await ta({
|
|
552
552
|
key: {
|
|
553
553
|
type: "mainEquip",
|
|
554
554
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -557,45 +557,45 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
557
557
|
});
|
|
558
558
|
return ((i = d == null ? void 0 : d.data) == null ? void 0 : i.type) === "success" ? ((u = (R = (k = (o = (m = d == null ? void 0 : d.data) == null ? void 0 : m.result) == null ? void 0 : o[0]) == null ? void 0 : k.value) == null ? void 0 : R.tableData) == null ? void 0 : u.隐藏三维显示) !== !0 : !0;
|
|
559
559
|
};
|
|
560
|
-
|
|
561
|
-
() =>
|
|
560
|
+
_e(
|
|
561
|
+
() => ne.value,
|
|
562
562
|
() => {
|
|
563
563
|
var a, e, d, h, i;
|
|
564
|
-
if (((a =
|
|
565
|
-
const m = (h =
|
|
566
|
-
|
|
564
|
+
if (((a = ne.value) == null ? void 0 : a.length) === 2 && ((e = ne.value) != null && e.find((m) => (m == null ? void 0 : m.name) === "输入")) && ((d = ne.value) != null && d.find((m) => (m == null ? void 0 : m.name) === "输出"))) {
|
|
565
|
+
const m = (h = ne.value) == null ? void 0 : h.find((o) => (o == null ? void 0 : o.name) === "输出");
|
|
566
|
+
le.value = ((i = m == null ? void 0 : m.comp) == null ? void 0 : i.toUpperCase()) === "FORM", r.value = !0;
|
|
567
567
|
} else
|
|
568
|
-
r.value = !1,
|
|
568
|
+
r.value = !1, le.value = !1;
|
|
569
569
|
},
|
|
570
570
|
{ deep: !0, immediate: !0 }
|
|
571
|
-
),
|
|
571
|
+
), _e(
|
|
572
572
|
() => O.value,
|
|
573
573
|
async () => {
|
|
574
|
-
O.value && (He.value = await
|
|
574
|
+
O.value && (He.value = await Jt(O.value));
|
|
575
575
|
},
|
|
576
576
|
{ deep: !0, immediate: !0 }
|
|
577
|
-
),
|
|
578
|
-
() => [Pe.value,
|
|
577
|
+
), _e(
|
|
578
|
+
() => [Pe.value, de.value],
|
|
579
579
|
() => {
|
|
580
580
|
var a;
|
|
581
|
-
((a = Pe.value) == null ? void 0 : a.length) > 0 &&
|
|
581
|
+
((a = Pe.value) == null ? void 0 : a.length) > 0 && de.value && de.value.addModelsFromUrls(Pe.value);
|
|
582
582
|
},
|
|
583
583
|
{ immediate: !0, deep: !0 }
|
|
584
|
-
),
|
|
585
|
-
() =>
|
|
584
|
+
), _e(
|
|
585
|
+
() => W == null ? void 0 : W.value,
|
|
586
586
|
async () => {
|
|
587
587
|
var a, e, d, h;
|
|
588
|
-
if (
|
|
588
|
+
if (W != null && W.value && ((a = W == null ? void 0 : W.value) == null ? void 0 : a.length) > 0 && !ue.value && !((e = ne.value) != null && e.find((i) => (i == null ? void 0 : i.name) === "输入") && ((d = ne.value) != null && d.find((i) => (i == null ? void 0 : i.name) === "输出")))) {
|
|
589
589
|
let i = [];
|
|
590
|
-
const m = await ((h = et(
|
|
591
|
-
var E, j,
|
|
590
|
+
const m = await ((h = et(W == null ? void 0 : W.value)) == null ? void 0 : h.map(async (o) => {
|
|
591
|
+
var E, j, X, Se, Ae, D, p, pe, me, xe;
|
|
592
592
|
let k, R;
|
|
593
593
|
const u = (j = (E = o == null ? void 0 : o.blob) == null ? void 0 : E.split("undefined,")) == null ? void 0 : j[1];
|
|
594
|
-
let
|
|
595
|
-
if ((
|
|
596
|
-
let
|
|
597
|
-
var F, Qe,
|
|
598
|
-
k = await
|
|
594
|
+
let A = u == null ? void 0 : u.split(",");
|
|
595
|
+
if ((A == null ? void 0 : A.length) > 1) {
|
|
596
|
+
let ye = await (A == null ? void 0 : A.map(async ($) => {
|
|
597
|
+
var F, Qe, Be, Y, _, ie;
|
|
598
|
+
k = await J.get($, {
|
|
599
599
|
responseType: "blob",
|
|
600
600
|
headers: {
|
|
601
601
|
"Content-Type": "application/json"
|
|
@@ -604,7 +604,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
604
604
|
let I = [];
|
|
605
605
|
if (((F = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : F.length) > 0) {
|
|
606
606
|
let ze = await ((Qe = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : Qe.map(async (M) => {
|
|
607
|
-
let Me = await
|
|
607
|
+
let Me = await J.get(M, {
|
|
608
608
|
responseType: "blob",
|
|
609
609
|
headers: {
|
|
610
610
|
"Content-Type": "application/json"
|
|
@@ -616,81 +616,81 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
616
616
|
}));
|
|
617
617
|
await Promise.all(ze);
|
|
618
618
|
}
|
|
619
|
-
return ((
|
|
620
|
-
suffix: "." + ((
|
|
619
|
+
return ((Y = $ == null ? void 0 : $.split(".")) == null ? void 0 : Y[((Be = $ == null ? void 0 : $.split(".")) == null ? void 0 : Be.length) - 1]) !== "undefined" && i.push({
|
|
620
|
+
suffix: "." + ((ie = $ == null ? void 0 : $.split(".")) == null ? void 0 : ie[((_ = $ == null ? void 0 : $.split(".")) == null ? void 0 : _.length) - 1]),
|
|
621
621
|
blob: new Blob([k.data], {
|
|
622
622
|
type: "application/octet-stream;charset=UTF-8"
|
|
623
623
|
}),
|
|
624
624
|
mtlBlobs: I
|
|
625
625
|
}), k;
|
|
626
626
|
}));
|
|
627
|
-
await Promise.all(
|
|
627
|
+
await Promise.all(ye);
|
|
628
628
|
} else if (!(u != null && u.includes("https://")) && !(u != null && u.includes("http://"))) {
|
|
629
629
|
k = await kt({
|
|
630
630
|
url: u
|
|
631
631
|
});
|
|
632
|
-
let
|
|
633
|
-
if (((
|
|
632
|
+
let ye = [];
|
|
633
|
+
if (((X = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : X.length) > 0) {
|
|
634
634
|
let $ = await ((Se = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : Se.map(async (I) => {
|
|
635
635
|
let F = await kt({
|
|
636
636
|
url: I
|
|
637
637
|
});
|
|
638
|
-
return
|
|
638
|
+
return ye.push(new Blob([F.data], {
|
|
639
639
|
type: "application/octet-stream;charset=UTF-8"
|
|
640
640
|
})), F;
|
|
641
641
|
}));
|
|
642
642
|
await Promise.all($);
|
|
643
643
|
}
|
|
644
644
|
R = {
|
|
645
|
-
suffix: "." + ((D = u == null ? void 0 : u.split(".")) == null ? void 0 : D[((
|
|
645
|
+
suffix: "." + ((D = u == null ? void 0 : u.split(".")) == null ? void 0 : D[((Ae = u == null ? void 0 : u.split(".")) == null ? void 0 : Ae.length) - 1]),
|
|
646
646
|
blob: new Blob([k.data], {
|
|
647
647
|
type: "application/octet-stream;charset=UTF-8"
|
|
648
648
|
}),
|
|
649
|
-
mtlBlobs:
|
|
649
|
+
mtlBlobs: ye
|
|
650
650
|
};
|
|
651
651
|
} else {
|
|
652
|
-
k = await
|
|
652
|
+
k = await J.get(u, {
|
|
653
653
|
responseType: "blob",
|
|
654
654
|
headers: {
|
|
655
655
|
"Content-Type": "application/json"
|
|
656
656
|
}
|
|
657
657
|
});
|
|
658
|
-
let
|
|
658
|
+
let ye = [];
|
|
659
659
|
if (((p = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : p.length) > 0) {
|
|
660
|
-
let $ = await ((
|
|
661
|
-
let F = await
|
|
660
|
+
let $ = await ((pe = o == null ? void 0 : o.mtlBlobs) == null ? void 0 : pe.map(async (I) => {
|
|
661
|
+
let F = await J.get(I, {
|
|
662
662
|
responseType: "blob",
|
|
663
663
|
headers: {
|
|
664
664
|
"Content-Type": "application/json"
|
|
665
665
|
}
|
|
666
666
|
});
|
|
667
|
-
return
|
|
667
|
+
return ye.push(new Blob([F.data], {
|
|
668
668
|
type: "application/octet-stream;charset=UTF-8"
|
|
669
669
|
})), F;
|
|
670
670
|
}));
|
|
671
671
|
await Promise.all($);
|
|
672
672
|
}
|
|
673
673
|
R = {
|
|
674
|
-
suffix: "." + ((
|
|
674
|
+
suffix: "." + ((xe = u == null ? void 0 : u.split(".")) == null ? void 0 : xe[((me = u == null ? void 0 : u.split(".")) == null ? void 0 : me.length) - 1]),
|
|
675
675
|
blob: new Blob([k.data], {
|
|
676
676
|
type: "application/octet-stream;charset=UTF-8"
|
|
677
677
|
}),
|
|
678
|
-
mtlBlobs:
|
|
678
|
+
mtlBlobs: ye
|
|
679
679
|
};
|
|
680
680
|
}
|
|
681
681
|
R && i.push(R);
|
|
682
682
|
}));
|
|
683
|
-
await Promise.all(m), (i == null ? void 0 : i.length) !== 0 &&
|
|
683
|
+
await Promise.all(m), (i == null ? void 0 : i.length) !== 0 && de.value.loadModelByDefaultPath(i);
|
|
684
684
|
}
|
|
685
685
|
},
|
|
686
686
|
{ immediate: !0, deep: !0 }
|
|
687
|
-
),
|
|
688
|
-
() =>
|
|
687
|
+
), _e(
|
|
688
|
+
() => we.value,
|
|
689
689
|
async () => {
|
|
690
690
|
var e, d, h, i;
|
|
691
|
-
if (
|
|
691
|
+
if (we.value !== "" && we.value) {
|
|
692
692
|
let m = (e = O.value) == null ? void 0 : e.split("/"), o = m[(m == null ? void 0 : m.length) - 2];
|
|
693
|
-
const R = (((d = y == null ? void 0 : y.find((j) => (j == null ? void 0 : j.key) === o)) == null ? void 0 : d.download) ?? "") + "/" +
|
|
693
|
+
const R = (((d = y == null ? void 0 : y.find((j) => (j == null ? void 0 : j.key) === o)) == null ? void 0 : d.download) ?? "") + "/" + we.value, u = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), A = await J.post(R, null, {
|
|
694
694
|
responseType: "blob",
|
|
695
695
|
// 必须设置
|
|
696
696
|
headers: {
|
|
@@ -699,112 +699,112 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
699
699
|
"Content-Type": "application/json"
|
|
700
700
|
}
|
|
701
701
|
});
|
|
702
|
-
var a = new Blob([
|
|
702
|
+
var a = new Blob([A.data], {
|
|
703
703
|
type: "application/octet-stream;charset=UTF-8"
|
|
704
704
|
});
|
|
705
705
|
const E = [
|
|
706
706
|
{
|
|
707
|
-
suffix: "." + ((i = (h =
|
|
707
|
+
suffix: "." + ((i = (h = we.value) == null ? void 0 : h.split(".")) == null ? void 0 : i[1]),
|
|
708
708
|
blob: a,
|
|
709
709
|
mtlBlobs: []
|
|
710
710
|
}
|
|
711
711
|
];
|
|
712
|
-
|
|
712
|
+
de.value.loadModelByDefaultPath(E);
|
|
713
713
|
}
|
|
714
714
|
},
|
|
715
715
|
{ deep: !0, immediate: !0 }
|
|
716
716
|
);
|
|
717
|
-
const
|
|
718
|
-
var k, R, u,
|
|
719
|
-
|
|
717
|
+
const Kt = async () => {
|
|
718
|
+
var k, R, u, A, E, j, X, Se, Ae, D, p, pe, me, xe, ye, $, I;
|
|
719
|
+
K.value = !0;
|
|
720
720
|
let a = (k = O.value) == null ? void 0 : k.split("/"), e = a[(a == null ? void 0 : a.length) - 2];
|
|
721
721
|
const d = ((R = y == null ? void 0 : y.find((F) => (F == null ? void 0 : F.key) === e)) == null ? void 0 : R.value) ?? "";
|
|
722
722
|
let h = "";
|
|
723
|
-
const i = await
|
|
723
|
+
const i = await J.post("http://139.196.154.85:20024/api/sysAuth/login", {
|
|
724
724
|
account: "superadmin",
|
|
725
725
|
password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
|
|
726
726
|
codeId: 0,
|
|
727
727
|
code: ""
|
|
728
728
|
});
|
|
729
|
-
((u = i == null ? void 0 : i.data) == null ? void 0 : u.code) === 200 && (h = `Bearer ${(E = (
|
|
730
|
-
const m = h === "" ? "123456" : h, o = await
|
|
729
|
+
((u = i == null ? void 0 : i.data) == null ? void 0 : u.code) === 200 && (h = `Bearer ${(E = (A = i.data) == null ? void 0 : A.result) == null ? void 0 : E.accessToken}`, sessionStorage.setItem("magicToken", h));
|
|
730
|
+
const m = h === "" ? "123456" : h, o = await J.post(d, null, {
|
|
731
731
|
headers: {
|
|
732
732
|
Authorization: m,
|
|
733
733
|
baseURL: "http://139.196.154.85:20025",
|
|
734
734
|
"Content-Type": "multipart/form-data"
|
|
735
735
|
}
|
|
736
736
|
});
|
|
737
|
-
if (((j = o == null ? void 0 : o.data) == null ? void 0 : j.type) === "success" && bt((Se = (
|
|
738
|
-
const F = (
|
|
737
|
+
if (((j = o == null ? void 0 : o.data) == null ? void 0 : j.type) === "success" && bt((Se = (X = o == null ? void 0 : o.data) == null ? void 0 : X.result) == null ? void 0 : Se.result)) {
|
|
738
|
+
const F = (me = (pe = (p = JSON.parse((D = (Ae = o == null ? void 0 : o.data) == null ? void 0 : Ae.result) == null ? void 0 : D.result)) == null ? void 0 : p.lines_file_paths) == null ? void 0 : pe[0]) == null ? void 0 : me.split("\\"), Be = (((xe = y == null ? void 0 : y.find((_) => (_ == null ? void 0 : _.key) === e)) == null ? void 0 : xe.resources) ?? "") + "/" + (((F == null ? void 0 : F[(F == null ? void 0 : F.length) - 2]) === "inputResources" ? "outputResources" : F == null ? void 0 : F[(F == null ? void 0 : F.length) - 2]) ?? "outputResources"), Y = await J.post(Be, null, {
|
|
739
739
|
headers: {
|
|
740
740
|
Authorization: m,
|
|
741
741
|
baseURL: "http://139.196.154.85:20025",
|
|
742
742
|
"Content-Type": "multipart/form-data"
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
|
-
if (((
|
|
746
|
-
const _ = ($ =
|
|
747
|
-
var Me, Xe, Ye,
|
|
745
|
+
if (((ye = Y == null ? void 0 : Y.data) == null ? void 0 : ye.type) === "success") {
|
|
746
|
+
const _ = ($ = Y == null ? void 0 : Y.data) == null ? void 0 : $.result, ie = ne.value, ze = await ((I = et(ie)) == null ? void 0 : I.map(async (M) => {
|
|
747
|
+
var Me, Xe, Ye, Z, T, De;
|
|
748
748
|
if ((M == null ? void 0 : M.name) === "输出") {
|
|
749
749
|
if ((M == null ? void 0 : M.comp) === "Table")
|
|
750
750
|
M.compData = (Me = M == null ? void 0 : M.compData) == null ? void 0 : Me.map((f) => {
|
|
751
|
-
var S,
|
|
752
|
-
return (f == null ? void 0 : f.key) === "tableContents" && (f.contents = (
|
|
753
|
-
var
|
|
754
|
-
return typeof v == "string" &&
|
|
755
|
-
}), V))) == null ? void 0 :
|
|
751
|
+
var S, oe;
|
|
752
|
+
return (f == null ? void 0 : f.key) === "tableContents" && (f.contents = (oe = (S = f == null ? void 0 : f.contents) == null ? void 0 : S.map((V) => (V = V == null ? void 0 : V.map((v, ee) => {
|
|
753
|
+
var q, Ve, Ie;
|
|
754
|
+
return typeof v == "string" && ee > 1 ? ((q = f == null ? void 0 : f.contents) == null ? void 0 : q.length) > 1 ? v = ((Ve = _ == null ? void 0 : _[ee - 1]) != null && Ve.includes("input") ? v : _ == null ? void 0 : _[ee - 1]) ?? v : v = _ == null ? void 0 : _[0] : v = ((Ie = _ == null ? void 0 : _[ee - 1]) != null && Ie.includes("input") ? v : _ == null ? void 0 : _[ee - 1]) ?? v, v;
|
|
755
|
+
}), V))) == null ? void 0 : oe.filter((V, v) => v <= (_ == null ? void 0 : _.length) - 1)), f;
|
|
756
756
|
});
|
|
757
757
|
else if ((M == null ? void 0 : M.comp) === "Form") {
|
|
758
758
|
let f = "";
|
|
759
759
|
if (_ == null || _.forEach((S) => {
|
|
760
760
|
f = f === "" ? f + S : f + "," + S;
|
|
761
761
|
}), M.compData = (Xe = M == null ? void 0 : M.compData) == null ? void 0 : Xe.map((S) => {
|
|
762
|
-
var
|
|
763
|
-
return (S == null ? void 0 : S.key) === "formContent" && (S.contents = (
|
|
762
|
+
var oe;
|
|
763
|
+
return (S == null ? void 0 : S.key) === "formContent" && (S.contents = (oe = S.contents) == null ? void 0 : oe.map((V) => (V.value = f, V))), S;
|
|
764
764
|
}), (Ye = f == null ? void 0 : f.split(",")) != null && Ye.find((S) => S.includes(".obj"))) {
|
|
765
765
|
let S = {};
|
|
766
766
|
S.suffix = ".obj";
|
|
767
|
-
const
|
|
768
|
-
let V = await ((T = (
|
|
769
|
-
var
|
|
767
|
+
const oe = [];
|
|
768
|
+
let V = await ((T = (Z = f == null ? void 0 : f.split(",")) == null ? void 0 : Z.filter((v) => v.includes(".obj") || v.includes(".mtl"))) == null ? void 0 : T.map(async (v) => {
|
|
769
|
+
var q, Ve;
|
|
770
770
|
if (v.includes(".obj")) {
|
|
771
|
-
const Ze = (((
|
|
771
|
+
const Ze = (((q = y == null ? void 0 : y.find((Ne) => (Ne == null ? void 0 : Ne.key) === e)) == null ? void 0 : q.download) ?? "") + "/" + v, Je = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Ke = await J.post(Ze, null, {
|
|
772
772
|
responseType: "blob",
|
|
773
773
|
// 必须设置
|
|
774
774
|
headers: {
|
|
775
|
-
Authorization:
|
|
775
|
+
Authorization: Je,
|
|
776
776
|
baseURL: "http://139.196.154.85:20025",
|
|
777
777
|
"Content-Type": "application/json"
|
|
778
778
|
}
|
|
779
779
|
});
|
|
780
|
-
var
|
|
780
|
+
var ee = new Blob([Ke.data], {
|
|
781
781
|
type: "application/octet-stream;charset=UTF-8"
|
|
782
782
|
});
|
|
783
|
-
S.blob =
|
|
783
|
+
S.blob = ee;
|
|
784
784
|
} else if (v.includes(".mtl")) {
|
|
785
|
-
const Ze = (((Ve = y == null ? void 0 : y.find((pt) => (pt == null ? void 0 : pt.key) === e)) == null ? void 0 : Ve.download) ?? "") + "/" + v,
|
|
785
|
+
const Ze = (((Ve = y == null ? void 0 : y.find((pt) => (pt == null ? void 0 : pt.key) === e)) == null ? void 0 : Ve.download) ?? "") + "/" + v, Je = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Ke = await J.post(Ze, null, {
|
|
786
786
|
responseType: "blob",
|
|
787
787
|
// 必须设置
|
|
788
788
|
headers: {
|
|
789
|
-
Authorization:
|
|
789
|
+
Authorization: Je,
|
|
790
790
|
baseURL: "http://139.196.154.85:20025",
|
|
791
791
|
"Content-Type": "application/json"
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
|
-
var
|
|
794
|
+
var ee = new Blob([Ke.data], {
|
|
795
795
|
type: "application/octet-stream;charset=UTF-8"
|
|
796
796
|
});
|
|
797
|
-
|
|
797
|
+
oe.push(ee);
|
|
798
798
|
}
|
|
799
799
|
}));
|
|
800
|
-
await Promise.all(V), S.mtlBlobs =
|
|
800
|
+
await Promise.all(V), S.mtlBlobs = oe, de.value.loadModelByDefaultPath([S]);
|
|
801
801
|
} else {
|
|
802
802
|
const S = [];
|
|
803
|
-
let
|
|
804
|
-
var
|
|
803
|
+
let oe = await ((De = f == null ? void 0 : f.split(",")) == null ? void 0 : De.map(async (V) => {
|
|
804
|
+
var Je, Ke;
|
|
805
805
|
let v = {};
|
|
806
|
-
v.suffix = "." + ((
|
|
807
|
-
const
|
|
806
|
+
v.suffix = "." + ((Je = V == null ? void 0 : V.split(".")) == null ? void 0 : Je[1]);
|
|
807
|
+
const q = (((Ke = y == null ? void 0 : y.find((Ne) => (Ne == null ? void 0 : Ne.key) === e)) == null ? void 0 : Ke.download) ?? "") + "/" + V, Ve = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Ie = await J.post(q, null, {
|
|
808
808
|
responseType: "blob",
|
|
809
809
|
// 必须设置
|
|
810
810
|
headers: {
|
|
@@ -813,51 +813,51 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
813
813
|
"Content-Type": "application/json"
|
|
814
814
|
}
|
|
815
815
|
});
|
|
816
|
-
var Ze = new Blob([
|
|
816
|
+
var Ze = new Blob([Ie.data], {
|
|
817
817
|
type: "application/octet-stream;charset=UTF-8"
|
|
818
818
|
});
|
|
819
819
|
v.blob = Ze, S.push(v);
|
|
820
820
|
}));
|
|
821
|
-
await Promise.all(
|
|
821
|
+
await Promise.all(oe), de.value.loadModelByDefaultPath(S);
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
825
|
return M;
|
|
826
826
|
}));
|
|
827
|
-
|
|
827
|
+
ne.value = await Promise.all(ze);
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
|
-
z.value++,
|
|
831
|
-
}, wt = w(""), ct = w("open"), ut = w("open"), tt = w(!1),
|
|
830
|
+
z.value++, K.value = !1;
|
|
831
|
+
}, wt = w(""), ct = w("open"), ut = w("open"), tt = w(!1), Gt = (a) => {
|
|
832
832
|
const e = document.getElementById("menuCollapse");
|
|
833
833
|
a === "open" ? (e.style.width = "13rem", e.style.height = "96%", e.style.overflow = "auto") : (e.style.width = "50px", e.style.minWidth = "50px", e.style.height = "50px", e.style.overflow = "hidden");
|
|
834
|
-
},
|
|
834
|
+
}, Wt = (a) => {
|
|
835
835
|
const e = document.getElementById("operateCollapse");
|
|
836
836
|
a === "open" ? (e.style.width = "25rem", e.style.height = "96%", e.style.overflow = "auto") : (e.style.width = "50px", e.style.height = "50px", e.style.overflow = "hidden");
|
|
837
|
-
},
|
|
837
|
+
}, qt = () => {
|
|
838
838
|
tt.value = !tt.value;
|
|
839
839
|
const a = document.getElementById("operateCollapse"), e = document.getElementById("menuCollapse");
|
|
840
840
|
tt.value ? (e.style.width = "13rem", a.style.width = "calc(100% - 18rem)") : a.style.width = "400px";
|
|
841
841
|
}, dt = (a) => {
|
|
842
842
|
const e = URL.createObjectURL(a), d = document.createElement("a");
|
|
843
|
-
d.href = e, d.download = "file.txt", document.body.appendChild(d), d.click(), document.body.removeChild(d), URL.revokeObjectURL(e),
|
|
844
|
-
},
|
|
845
|
-
var k, R, u,
|
|
846
|
-
|
|
843
|
+
d.href = e, d.download = "file.txt", document.body.appendChild(d), d.click(), document.body.removeChild(d), URL.revokeObjectURL(e), Q.value = !1;
|
|
844
|
+
}, Ht = async () => {
|
|
845
|
+
var k, R, u, A, E, j, X, Se, Ae, D, p, pe, me, xe, ye, $;
|
|
846
|
+
Q.value = !0;
|
|
847
847
|
let a = (k = O.value) == null ? void 0 : k.split("/"), e = a[(a == null ? void 0 : a.length) - 2];
|
|
848
848
|
const d = ((R = y == null ? void 0 : y.find((I) => (I == null ? void 0 : I.key) === e)) == null ? void 0 : R.value) ?? "";
|
|
849
849
|
let h = "";
|
|
850
|
-
const i = await
|
|
850
|
+
const i = await J.post("http://139.196.154.85:20024/api/sysAuth/login", {
|
|
851
851
|
account: "superadmin",
|
|
852
852
|
password: "9bf00809059adc7f57bd290bf73ddf4d16f4c83b5937e2d68144ab0bd60d045d22d70afeed8f2fa071cda536e1fac0daf12b8e63dd870c3ca8b308f23be6e693bb32ebd3d013116dc8338d6854b1332701a522a7c43706a6db4162fbe991c8c08aa842fbbc34",
|
|
853
853
|
codeId: 0,
|
|
854
854
|
code: ""
|
|
855
855
|
});
|
|
856
856
|
if (((u = i == null ? void 0 : i.data) == null ? void 0 : u.code) === 200)
|
|
857
|
-
h = `Bearer ${(E = (
|
|
857
|
+
h = `Bearer ${(E = (A = i.data) == null ? void 0 : A.result) == null ? void 0 : E.accessToken}`, sessionStorage.setItem("magicToken", h);
|
|
858
858
|
else
|
|
859
859
|
throw mt.error("响应出错了"), new Error("响应出错了");
|
|
860
|
-
const m = h === "" ? "123456" : h, o = await
|
|
860
|
+
const m = h === "" ? "123456" : h, o = await J.post(d, null, {
|
|
861
861
|
headers: {
|
|
862
862
|
Authorization: m,
|
|
863
863
|
baseURL: "http://139.196.154.85:20025",
|
|
@@ -865,29 +865,29 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
865
865
|
}
|
|
866
866
|
});
|
|
867
867
|
if (((j = o == null ? void 0 : o.data) == null ? void 0 : j.code) === 200) {
|
|
868
|
-
if (bt((Se = (
|
|
869
|
-
const I = (
|
|
868
|
+
if (bt((Se = (X = o == null ? void 0 : o.data) == null ? void 0 : X.result) == null ? void 0 : Se.result)) {
|
|
869
|
+
const I = (me = (pe = (p = JSON.parse((D = (Ae = o == null ? void 0 : o.data) == null ? void 0 : Ae.result) == null ? void 0 : D.result)) == null ? void 0 : p.lines_file_paths) == null ? void 0 : pe[0]) == null ? void 0 : me.split("\\"), Qe = (((xe = y == null ? void 0 : y.find((Y) => (Y == null ? void 0 : Y.key) === e)) == null ? void 0 : xe.resources) ?? "") + "/" + ((I == null ? void 0 : I[(I == null ? void 0 : I.length) - 2]) ?? "outputResources"), Be = await J.post(Qe, null, {
|
|
870
870
|
headers: {
|
|
871
871
|
Authorization: m,
|
|
872
872
|
baseURL: "http://139.196.154.85:20025",
|
|
873
873
|
"Content-Type": "multipart/form-data"
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
|
-
if (((
|
|
877
|
-
const
|
|
878
|
-
_ == null || _.map(async (
|
|
876
|
+
if (((ye = Be == null ? void 0 : Be.data) == null ? void 0 : ye.code) === 200) {
|
|
877
|
+
const Y = ($ = Be == null ? void 0 : Be.data) == null ? void 0 : $.result, _ = et(ne.value);
|
|
878
|
+
_ == null || _.map(async (ie) => {
|
|
879
879
|
var ze, M, Me, Xe, Ye;
|
|
880
|
-
if ((
|
|
881
|
-
let
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
}),
|
|
880
|
+
if ((ie == null ? void 0 : ie.name) === "输出" && (ie == null ? void 0 : ie.comp) === "Form") {
|
|
881
|
+
let Z = "";
|
|
882
|
+
Y == null || Y.forEach((T) => {
|
|
883
|
+
Z = Z === "" ? Z + T : Z + "," + T;
|
|
884
|
+
}), ie.compData = (ze = ie == null ? void 0 : ie.compData) == null ? void 0 : ze.map((T) => {
|
|
885
885
|
var De;
|
|
886
|
-
return (T == null ? void 0 : T.key) === "formContent" && (T.contents = (De = T.contents) == null ? void 0 : De.map((f) => (f.value =
|
|
887
|
-
}), (M =
|
|
886
|
+
return (T == null ? void 0 : T.key) === "formContent" && (T.contents = (De = T.contents) == null ? void 0 : De.map((f) => (f.value = Z, f))), T;
|
|
887
|
+
}), (M = Z == null ? void 0 : Z.split(",")) != null && M.find((T) => T.includes(".obj")) ? (Xe = (Me = Z == null ? void 0 : Z.split(",")) == null ? void 0 : Me.filter((T) => T.includes(".obj") || T.includes(".mtl"))) == null || Xe.map(async (T) => {
|
|
888
888
|
var De, f;
|
|
889
889
|
if (T.includes(".obj")) {
|
|
890
|
-
const
|
|
890
|
+
const oe = (((De = y == null ? void 0 : y.find((q) => (q == null ? void 0 : q.key) === e)) == null ? void 0 : De.download) ?? "") + "/" + T, V = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), v = await J.post(oe, null, {
|
|
891
891
|
responseType: "blob",
|
|
892
892
|
// 必须设置
|
|
893
893
|
headers: {
|
|
@@ -896,12 +896,12 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
896
896
|
"Content-Type": "application/json"
|
|
897
897
|
}
|
|
898
898
|
});
|
|
899
|
-
let
|
|
899
|
+
let ee = new Blob([v.data], {
|
|
900
900
|
type: "application/octet-stream;charset=UTF-8"
|
|
901
901
|
});
|
|
902
|
-
dt(
|
|
902
|
+
dt(ee);
|
|
903
903
|
} else if (T.includes(".mtl")) {
|
|
904
|
-
const
|
|
904
|
+
const oe = (((f = y == null ? void 0 : y.find((q) => (q == null ? void 0 : q.key) === e)) == null ? void 0 : f.download) ?? "") + "/" + T, V = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), v = await J.post(oe, null, {
|
|
905
905
|
responseType: "blob",
|
|
906
906
|
// 必须设置
|
|
907
907
|
headers: {
|
|
@@ -910,15 +910,15 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
910
910
|
"Content-Type": "application/json"
|
|
911
911
|
}
|
|
912
912
|
});
|
|
913
|
-
let
|
|
913
|
+
let ee = new Blob([v.data], {
|
|
914
914
|
type: "application/octet-stream;charset=UTF-8"
|
|
915
915
|
});
|
|
916
|
-
dt(
|
|
916
|
+
dt(ee);
|
|
917
917
|
}
|
|
918
|
-
}) : (Ye =
|
|
919
|
-
var v,
|
|
918
|
+
}) : (Ye = Z == null ? void 0 : Z.split(",")) == null || Ye.map(async (T) => {
|
|
919
|
+
var v, ee;
|
|
920
920
|
"" + ((v = T == null ? void 0 : T.split(".")) == null ? void 0 : v[1]);
|
|
921
|
-
const f = (((
|
|
921
|
+
const f = (((ee = y == null ? void 0 : y.find((q) => (q == null ? void 0 : q.key) === e)) == null ? void 0 : ee.download) ?? "") + "/" + T, S = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), oe = await J.post(f, null, {
|
|
922
922
|
responseType: "blob",
|
|
923
923
|
// 必须设置
|
|
924
924
|
headers: {
|
|
@@ -927,7 +927,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
927
927
|
"Content-Type": "application/json"
|
|
928
928
|
}
|
|
929
929
|
});
|
|
930
|
-
let V = new Blob([
|
|
930
|
+
let V = new Blob([oe.data], {
|
|
931
931
|
type: "application/octet-stream;charset=UTF-8"
|
|
932
932
|
});
|
|
933
933
|
dt(V);
|
|
@@ -939,24 +939,24 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
939
939
|
}
|
|
940
940
|
} else
|
|
941
941
|
throw mt.error("响应出错了"), new Error("响应出错了");
|
|
942
|
-
},
|
|
942
|
+
}, Qt = nt(() => ne.value), vt = nt(() => Ce.value === "系统管理" || Ce.value === "平台管理");
|
|
943
943
|
return (a, e) => {
|
|
944
|
-
const d = b("el-button"), h = b("el-avatar"), i = b("el-header"), m = b("el-container"), o = b("el-icon"), k = b("el-input"), R = b("ss-avatar"), u = b("ss-drop"),
|
|
944
|
+
const d = b("el-button"), h = b("el-avatar"), i = b("el-header"), m = b("el-container"), o = b("el-icon"), k = b("el-input"), R = b("ss-avatar"), u = b("ss-drop"), A = b("el-aside"), E = b("el-collapse-item"), j = b("el-collapse"), X = b("el-main"), Se = b("router-view"), Ae = Tt("loading");
|
|
945
945
|
return c(), N(ot, null, [
|
|
946
|
-
t(
|
|
946
|
+
t(la, {
|
|
947
947
|
visible: Le.value,
|
|
948
948
|
onBeforeDestroy: e[0] || (e[0] = (D) => Le.value = !1)
|
|
949
949
|
}, {
|
|
950
950
|
default: n(() => [
|
|
951
|
-
|
|
951
|
+
se.value ? (c(), N("iframe", {
|
|
952
952
|
key: 0,
|
|
953
|
-
src:
|
|
953
|
+
src: se.value,
|
|
954
954
|
style: { width: "100%", height: "500px", border: "1px solid #ccc" }
|
|
955
|
-
}, null, 8,
|
|
955
|
+
}, null, 8, Aa)) : H("", !0)
|
|
956
956
|
]),
|
|
957
957
|
_: 1
|
|
958
958
|
}, 8, ["visible"]),
|
|
959
|
-
s(
|
|
959
|
+
s(x) === "edit" ? (c(), L(m, {
|
|
960
960
|
key: 0,
|
|
961
961
|
class: "client-container"
|
|
962
962
|
}, {
|
|
@@ -965,13 +965,13 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
965
965
|
default: n(() => {
|
|
966
966
|
var D;
|
|
967
967
|
return [
|
|
968
|
-
C("div",
|
|
968
|
+
C("div", xa, [
|
|
969
969
|
t(d, {
|
|
970
970
|
id: "transparentBgButton",
|
|
971
|
-
onClick: s(
|
|
971
|
+
onClick: s(Ft)
|
|
972
972
|
}, {
|
|
973
973
|
default: n(() => e[6] || (e[6] = [
|
|
974
|
-
|
|
974
|
+
he(" 返回页面 ")
|
|
975
975
|
])),
|
|
976
976
|
_: 1,
|
|
977
977
|
__: [6]
|
|
@@ -979,37 +979,37 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
979
979
|
t(d, {
|
|
980
980
|
id: "transparentBgButton",
|
|
981
981
|
onClick: e[1] || (e[1] = (p) => {
|
|
982
|
-
var
|
|
983
|
-
return s(
|
|
982
|
+
var pe, me;
|
|
983
|
+
return s(St)((me = (pe = s(re)) == null ? void 0 : pe.map((xe) => xe.value)) == null ? void 0 : me.join("/"));
|
|
984
984
|
})
|
|
985
985
|
}, {
|
|
986
986
|
icon: n(() => [
|
|
987
987
|
t(Ue, { name: "Store" })
|
|
988
988
|
]),
|
|
989
989
|
default: n(() => [
|
|
990
|
-
e[7] || (e[7] =
|
|
990
|
+
e[7] || (e[7] = he(" 保存页面 "))
|
|
991
991
|
]),
|
|
992
992
|
_: 1,
|
|
993
993
|
__: [7]
|
|
994
994
|
})
|
|
995
995
|
]),
|
|
996
|
-
C("div",
|
|
997
|
-
(c(), L(
|
|
998
|
-
key: s(
|
|
999
|
-
breadArray: s(
|
|
1000
|
-
onClick: s(
|
|
996
|
+
C("div", Ua, [
|
|
997
|
+
(c(), L(Vt, {
|
|
998
|
+
key: s(re),
|
|
999
|
+
breadArray: s(re),
|
|
1000
|
+
onClick: s(At)
|
|
1001
1001
|
}, null, 8, ["breadArray", "onClick"]))
|
|
1002
1002
|
]),
|
|
1003
|
-
C("div",
|
|
1003
|
+
C("div", ja, [
|
|
1004
1004
|
We(a.$slots, "default", {}, void 0, !0),
|
|
1005
1005
|
t(h, {
|
|
1006
1006
|
size: 35,
|
|
1007
|
-
src: (D = s(
|
|
1007
|
+
src: (D = s(te)) == null ? void 0 : D.avatarUrl
|
|
1008
1008
|
}, {
|
|
1009
1009
|
default: n(() => {
|
|
1010
1010
|
var p;
|
|
1011
1011
|
return [
|
|
1012
|
-
|
|
1012
|
+
he(je(((p = s(te)) == null ? void 0 : p.account) ?? "未知"), 1)
|
|
1013
1013
|
];
|
|
1014
1014
|
}),
|
|
1015
1015
|
_: 1
|
|
@@ -1019,24 +1019,24 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1019
1019
|
}),
|
|
1020
1020
|
_: 3
|
|
1021
1021
|
}),
|
|
1022
|
-
s(
|
|
1022
|
+
s(x) === "edit" ? (c(), L(m, {
|
|
1023
1023
|
key: 0,
|
|
1024
1024
|
class: "model-operate",
|
|
1025
1025
|
style: { "margin-top": "10px", height: "0px" }
|
|
1026
1026
|
}, {
|
|
1027
1027
|
default: n(() => [
|
|
1028
|
-
C("div",
|
|
1028
|
+
C("div", Da, [
|
|
1029
1029
|
t(ft)
|
|
1030
1030
|
]),
|
|
1031
|
-
C("div",
|
|
1031
|
+
C("div", Pa, [
|
|
1032
1032
|
t(gt)
|
|
1033
1033
|
]),
|
|
1034
|
-
C("div",
|
|
1034
|
+
C("div", $a, [
|
|
1035
1035
|
t(yt)
|
|
1036
1036
|
])
|
|
1037
1037
|
]),
|
|
1038
1038
|
_: 1
|
|
1039
|
-
})) :
|
|
1039
|
+
})) : H("", !0)
|
|
1040
1040
|
]),
|
|
1041
1041
|
_: 3
|
|
1042
1042
|
})) : at((c(), L(m, {
|
|
@@ -1047,17 +1047,17 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1047
1047
|
default: n(() => [
|
|
1048
1048
|
t(i, { class: "client-header" }, {
|
|
1049
1049
|
default: n(() => [
|
|
1050
|
-
C("div",
|
|
1050
|
+
C("div", Ma, [
|
|
1051
1051
|
t(Ue, {
|
|
1052
1052
|
name: "logo",
|
|
1053
1053
|
style: { width: "clamp(18px, 1.5rem, 24px)", height: "clamp(18px, 1.5rem, 24px)", "margin-right": "8px" }
|
|
1054
1054
|
}),
|
|
1055
|
-
|
|
1055
|
+
he(" " + je(s(ae) === "" ? "CPMPIP" : s(ae)), 1)
|
|
1056
1056
|
]),
|
|
1057
|
-
C("div",
|
|
1058
|
-
t(
|
|
1057
|
+
C("div", La, [
|
|
1058
|
+
t(Et, { mode: "horizontal" })
|
|
1059
1059
|
]),
|
|
1060
|
-
C("div",
|
|
1060
|
+
C("div", Ea, [
|
|
1061
1061
|
t(k, {
|
|
1062
1062
|
modelValue: wt.value,
|
|
1063
1063
|
"onUpdate:modelValue": e[2] || (e[2] = (D) => wt.value = D),
|
|
@@ -1068,7 +1068,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1068
1068
|
prefix: n(() => [
|
|
1069
1069
|
t(o, { class: "el-input__icon" }, {
|
|
1070
1070
|
default: n(() => [
|
|
1071
|
-
t(s(
|
|
1071
|
+
t(s(Lt))
|
|
1072
1072
|
]),
|
|
1073
1073
|
_: 1
|
|
1074
1074
|
})
|
|
@@ -1078,31 +1078,31 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1078
1078
|
P.showButton ? (c(), L(d, {
|
|
1079
1079
|
key: 0,
|
|
1080
1080
|
id: "transparentBgButton",
|
|
1081
|
-
onClick: s(
|
|
1081
|
+
onClick: s(xt)
|
|
1082
1082
|
}, {
|
|
1083
1083
|
icon: n(() => [
|
|
1084
1084
|
t(Ue, { name: "App" })
|
|
1085
1085
|
]),
|
|
1086
1086
|
default: n(() => [
|
|
1087
|
-
e[8] || (e[8] =
|
|
1087
|
+
e[8] || (e[8] = he(" 生成APP "))
|
|
1088
1088
|
]),
|
|
1089
1089
|
_: 1,
|
|
1090
1090
|
__: [8]
|
|
1091
|
-
}, 8, ["onClick"])) :
|
|
1092
|
-
P.showButton && s(
|
|
1091
|
+
}, 8, ["onClick"])) : H("", !0),
|
|
1092
|
+
P.showButton && s(x) === "view" ? (c(), L(d, {
|
|
1093
1093
|
key: 1,
|
|
1094
1094
|
id: "transparentBgButton",
|
|
1095
|
-
onClick: s(
|
|
1095
|
+
onClick: s(Ut)
|
|
1096
1096
|
}, {
|
|
1097
1097
|
icon: n(() => [
|
|
1098
1098
|
t(Ue, { name: "write" })
|
|
1099
1099
|
]),
|
|
1100
1100
|
default: n(() => [
|
|
1101
|
-
e[9] || (e[9] =
|
|
1101
|
+
e[9] || (e[9] = he(" 修改布局 "))
|
|
1102
1102
|
]),
|
|
1103
1103
|
_: 1,
|
|
1104
1104
|
__: [9]
|
|
1105
|
-
}, 8, ["onClick"])) :
|
|
1105
|
+
}, 8, ["onClick"])) : H("", !0),
|
|
1106
1106
|
We(a.$slots, "default", {}, void 0, !0),
|
|
1107
1107
|
t(u, null, {
|
|
1108
1108
|
dropTitle: n(() => {
|
|
@@ -1110,14 +1110,14 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1110
1110
|
return [
|
|
1111
1111
|
t(R, {
|
|
1112
1112
|
size: "35",
|
|
1113
|
-
avatarUrl: (D = s(
|
|
1113
|
+
avatarUrl: (D = s(te)) == null ? void 0 : D.avatarUrl,
|
|
1114
1114
|
showCropper: !1,
|
|
1115
1115
|
banClick: !0
|
|
1116
1116
|
}, {
|
|
1117
1117
|
avatarDefault: n(() => {
|
|
1118
1118
|
var p;
|
|
1119
1119
|
return [
|
|
1120
|
-
|
|
1120
|
+
he(je(((p = s(te)) == null ? void 0 : p.account) ?? "未知"), 1)
|
|
1121
1121
|
];
|
|
1122
1122
|
}),
|
|
1123
1123
|
_: 1
|
|
@@ -1125,11 +1125,11 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1125
1125
|
];
|
|
1126
1126
|
}),
|
|
1127
1127
|
dropMenu: n(() => [
|
|
1128
|
-
C("div",
|
|
1128
|
+
C("div", Va, [
|
|
1129
1129
|
t(Oe, {
|
|
1130
1130
|
emptyColor: !0,
|
|
1131
1131
|
class: "menu-button",
|
|
1132
|
-
onClickTrigger:
|
|
1132
|
+
onClickTrigger: Nt,
|
|
1133
1133
|
modelValue: "退出登录",
|
|
1134
1134
|
buttonType: ""
|
|
1135
1135
|
})
|
|
@@ -1143,7 +1143,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1143
1143
|
}),
|
|
1144
1144
|
t(m, { class: "client-body" }, {
|
|
1145
1145
|
default: n(() => [
|
|
1146
|
-
at(t(
|
|
1146
|
+
at(t(X, { class: "client-main" }, {
|
|
1147
1147
|
default: n(() => [
|
|
1148
1148
|
t(j, {
|
|
1149
1149
|
modelValue: ct.value,
|
|
@@ -1151,7 +1151,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1151
1151
|
accordion: "",
|
|
1152
1152
|
class: "client-aside",
|
|
1153
1153
|
id: "menuCollapse",
|
|
1154
|
-
onChange:
|
|
1154
|
+
onChange: Gt
|
|
1155
1155
|
}, {
|
|
1156
1156
|
default: n(() => [
|
|
1157
1157
|
t(E, { name: "open" }, {
|
|
@@ -1162,7 +1162,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1162
1162
|
}, null, 8, ["name"])
|
|
1163
1163
|
]),
|
|
1164
1164
|
default: n(() => [
|
|
1165
|
-
t(
|
|
1165
|
+
t(A, { style: { width: "100%" } }, {
|
|
1166
1166
|
default: n(() => [
|
|
1167
1167
|
t(lt, { mode: "vertical" })
|
|
1168
1168
|
]),
|
|
@@ -1174,12 +1174,12 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1174
1174
|
]),
|
|
1175
1175
|
_: 1
|
|
1176
1176
|
}, 8, ["modelValue"]),
|
|
1177
|
-
C("div",
|
|
1178
|
-
t(
|
|
1177
|
+
C("div", Na, [
|
|
1178
|
+
t(na, {
|
|
1179
1179
|
isShow: g.value,
|
|
1180
1180
|
windowConfig: P.windowConfig,
|
|
1181
1181
|
ref_key: "threeModelRef",
|
|
1182
|
-
ref:
|
|
1182
|
+
ref: de
|
|
1183
1183
|
}, null, 8, ["isShow", "windowConfig"])
|
|
1184
1184
|
]),
|
|
1185
1185
|
t(j, {
|
|
@@ -1188,7 +1188,7 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1188
1188
|
accordion: "",
|
|
1189
1189
|
class: "client-main-operate",
|
|
1190
1190
|
id: "operateCollapse",
|
|
1191
|
-
onChange:
|
|
1191
|
+
onChange: Wt
|
|
1192
1192
|
}, {
|
|
1193
1193
|
default: n(() => [
|
|
1194
1194
|
t(E, { name: "open" }, {
|
|
@@ -1205,70 +1205,70 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1205
1205
|
t(Ue, {
|
|
1206
1206
|
class: "fold-icon",
|
|
1207
1207
|
name: tt.value ? "Right" : "Left",
|
|
1208
|
-
onClick:
|
|
1208
|
+
onClick: qt
|
|
1209
1209
|
}, null, 8, ["name"]),
|
|
1210
|
-
(c(!0), N(ot, null, ht((D =
|
|
1211
|
-
var
|
|
1210
|
+
(c(!0), N(ot, null, ht((D = Qt.value) == null ? void 0 : D.filter((p) => p.comp !== "FormTop"), (p, pe) => {
|
|
1211
|
+
var me;
|
|
1212
1212
|
return c(), N("div", {
|
|
1213
1213
|
class: "item-view-content",
|
|
1214
1214
|
key: p == null ? void 0 : p.id
|
|
1215
1215
|
}, [
|
|
1216
|
-
((
|
|
1217
|
-
(c(), L(
|
|
1216
|
+
((me = p == null ? void 0 : p.comp) == null ? void 0 : me.toUpperCase()) !== "TABLE" && p.name ? (c(), N("div", Oa, je(p.name), 1)) : H("", !0),
|
|
1217
|
+
(c(), L(Rt(s(jt)(p.comp)), {
|
|
1218
1218
|
compName: p.name,
|
|
1219
1219
|
itemData: p == null ? void 0 : p.compData,
|
|
1220
1220
|
childItemData: p == null ? void 0 : p.itemChildData,
|
|
1221
|
-
key: (p == null ? void 0 : p.id) ??
|
|
1222
|
-
onChange: s(
|
|
1223
|
-
index: (p == null ? void 0 : p.id) ??
|
|
1224
|
-
onContentChange: s(
|
|
1225
|
-
onPageChange: s(
|
|
1221
|
+
key: (p == null ? void 0 : p.id) ?? pe,
|
|
1222
|
+
onChange: s($t),
|
|
1223
|
+
index: (p == null ? void 0 : p.id) ?? pe,
|
|
1224
|
+
onContentChange: s(Pt),
|
|
1225
|
+
onPageChange: s(Dt),
|
|
1226
1226
|
onRowClick: rt
|
|
1227
1227
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
1228
1228
|
]);
|
|
1229
1229
|
}), 128)),
|
|
1230
|
-
r.value ? (c(), N("div",
|
|
1231
|
-
|
|
1230
|
+
r.value ? (c(), N("div", za, [
|
|
1231
|
+
le.value ? (c(), L(Oe, {
|
|
1232
1232
|
key: 0,
|
|
1233
1233
|
class: "calculator-content",
|
|
1234
|
-
onClickTrigger:
|
|
1235
|
-
loading:
|
|
1234
|
+
onClickTrigger: Ht,
|
|
1235
|
+
loading: Q.value,
|
|
1236
1236
|
modelValue: "预览"
|
|
1237
|
-
}, null, 8, ["loading"])) :
|
|
1237
|
+
}, null, 8, ["loading"])) : H("", !0),
|
|
1238
1238
|
t(Oe, {
|
|
1239
1239
|
class: "calculator-content",
|
|
1240
|
-
onClickTrigger: e[4] || (e[4] = (p) =>
|
|
1241
|
-
loading:
|
|
1240
|
+
onClickTrigger: e[4] || (e[4] = (p) => Kt()),
|
|
1241
|
+
loading: K.value,
|
|
1242
1242
|
modelValue: "调用方法"
|
|
1243
1243
|
}, null, 8, ["loading"])
|
|
1244
|
-
])) :
|
|
1245
|
-
|
|
1244
|
+
])) : H("", !0),
|
|
1245
|
+
ue.value ? (c(), N("div", Ia, [
|
|
1246
1246
|
t(Oe, {
|
|
1247
1247
|
class: "calculator-content",
|
|
1248
1248
|
modelValue: "执行方法",
|
|
1249
|
-
onClickTrigger:
|
|
1249
|
+
onClickTrigger: It,
|
|
1250
1250
|
loading: $e.value
|
|
1251
1251
|
}, null, 8, ["loading"])
|
|
1252
|
-
])) :
|
|
1253
|
-
|
|
1252
|
+
])) : H("", !0),
|
|
1253
|
+
ge.value ? (c(), N("div", Ja, [
|
|
1254
1254
|
t(Oe, {
|
|
1255
1255
|
class: "calculator-content",
|
|
1256
1256
|
modelValue: "播放动画",
|
|
1257
1257
|
onClickTrigger: Ee
|
|
1258
1258
|
})
|
|
1259
|
-
])) :
|
|
1260
|
-
B.value ? (c(), N("div",
|
|
1259
|
+
])) : H("", !0),
|
|
1260
|
+
B.value ? (c(), N("div", Ka, [
|
|
1261
1261
|
t(Oe, {
|
|
1262
1262
|
class: "calculator-content",
|
|
1263
|
-
onClickTrigger:
|
|
1263
|
+
onClickTrigger: zt,
|
|
1264
1264
|
modelValue: "预览"
|
|
1265
1265
|
}),
|
|
1266
1266
|
t(Oe, {
|
|
1267
1267
|
class: "calculator-content",
|
|
1268
|
-
onClickTrigger:
|
|
1268
|
+
onClickTrigger: Ot,
|
|
1269
1269
|
modelValue: "下载"
|
|
1270
1270
|
})
|
|
1271
|
-
])) :
|
|
1271
|
+
])) : H("", !0)
|
|
1272
1272
|
])
|
|
1273
1273
|
];
|
|
1274
1274
|
}),
|
|
@@ -1282,17 +1282,17 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1282
1282
|
}, 512), [
|
|
1283
1283
|
[Ct, !vt.value]
|
|
1284
1284
|
]),
|
|
1285
|
-
at(t(
|
|
1285
|
+
at(t(X, { class: "client-router" }, {
|
|
1286
1286
|
default: n(() => [
|
|
1287
|
-
C("div",
|
|
1288
|
-
t(
|
|
1287
|
+
C("div", Ga, [
|
|
1288
|
+
t(A, { width: "300px" }, {
|
|
1289
1289
|
default: n(() => [
|
|
1290
1290
|
t(lt, { mode: "vertical" })
|
|
1291
1291
|
]),
|
|
1292
1292
|
_: 1
|
|
1293
1293
|
})
|
|
1294
1294
|
]),
|
|
1295
|
-
C("div",
|
|
1295
|
+
C("div", Wa, [
|
|
1296
1296
|
t(Se)
|
|
1297
1297
|
])
|
|
1298
1298
|
]),
|
|
@@ -1306,12 +1306,12 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1306
1306
|
]),
|
|
1307
1307
|
_: 3
|
|
1308
1308
|
})), [
|
|
1309
|
-
[
|
|
1309
|
+
[Ae, s(U)]
|
|
1310
1310
|
])
|
|
1311
1311
|
], 64);
|
|
1312
1312
|
};
|
|
1313
1313
|
}
|
|
1314
|
-
}),
|
|
1314
|
+
}), Ha = /* @__PURE__ */ qe(qa, [["__scopeId", "data-v-09646213"]]), Qa = { class: "system-wrap" }, Xa = {
|
|
1315
1315
|
__name: "index",
|
|
1316
1316
|
props: {
|
|
1317
1317
|
windowConfig: {
|
|
@@ -1331,76 +1331,76 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1331
1331
|
jsonContents: Array
|
|
1332
1332
|
},
|
|
1333
1333
|
emits: ["buildContent", "showChild"],
|
|
1334
|
-
setup(P, { emit:
|
|
1335
|
-
const l = it(
|
|
1334
|
+
setup(P, { emit: Te }) {
|
|
1335
|
+
const l = it(ke), z = _t(ke), K = st();
|
|
1336
1336
|
w(!1);
|
|
1337
|
-
const
|
|
1338
|
-
|
|
1339
|
-
},
|
|
1337
|
+
const re = w(!0), r = P, le = Te, Q = (G) => {
|
|
1338
|
+
le("showChild", G);
|
|
1339
|
+
}, ce = nt(() => {
|
|
1340
1340
|
switch (r == null ? void 0 : r.platform) {
|
|
1341
1341
|
case "browser":
|
|
1342
|
-
return
|
|
1342
|
+
return ca;
|
|
1343
1343
|
case "client":
|
|
1344
|
-
return
|
|
1344
|
+
return ra;
|
|
1345
1345
|
}
|
|
1346
|
-
}),
|
|
1347
|
-
const
|
|
1348
|
-
|
|
1349
|
-
|
|
1346
|
+
}), ue = (G) => {
|
|
1347
|
+
const te = document.documentElement;
|
|
1348
|
+
G == null || G.forEach((se) => {
|
|
1349
|
+
te.style.setProperty(se.name, se.value);
|
|
1350
1350
|
});
|
|
1351
1351
|
};
|
|
1352
|
-
|
|
1353
|
-
|
|
1352
|
+
_e(() => r.platform, (G, te) => {
|
|
1353
|
+
G && ue(ce.value);
|
|
1354
1354
|
}, { immediate: !0 });
|
|
1355
|
-
const
|
|
1356
|
-
|
|
1355
|
+
const we = () => {
|
|
1356
|
+
le("buildContent");
|
|
1357
1357
|
};
|
|
1358
|
-
return
|
|
1358
|
+
return _e(
|
|
1359
1359
|
() => [r == null ? void 0 : r.content, r == null ? void 0 : r.jsonContents],
|
|
1360
1360
|
async () => {
|
|
1361
|
-
var
|
|
1362
|
-
if (((
|
|
1361
|
+
var se, ve, x, fe;
|
|
1362
|
+
if (((se = r == null ? void 0 : r.jsonContents) == null ? void 0 : se.length) > 0) {
|
|
1363
1363
|
l.setOriginalData(r == null ? void 0 : r.jsonContents);
|
|
1364
1364
|
return;
|
|
1365
1365
|
}
|
|
1366
|
-
if (!(r != null && r.content) || ((
|
|
1367
|
-
|
|
1368
|
-
let
|
|
1369
|
-
z.setSelectTitle([]), z.setSelectIndex(""), z.setSelectMenu(""), (
|
|
1370
|
-
|
|
1371
|
-
}),
|
|
1366
|
+
if (!(r != null && r.content) || ((ve = r == null ? void 0 : r.content) == null ? void 0 : ve.length) === 0) return;
|
|
1367
|
+
re.value = !0, K.setImportLoading(!0);
|
|
1368
|
+
let G = [], te = [];
|
|
1369
|
+
z.setSelectTitle([]), z.setSelectIndex(""), z.setSelectMenu(""), (fe = (x = r == null ? void 0 : r.content) == null ? void 0 : x.filter((Re) => Re !== "")) == null || fe.forEach((Re) => {
|
|
1370
|
+
te.push(ea(Re));
|
|
1371
|
+
}), G = te == null ? void 0 : te[0], l.setOriginalData(G), K.setImportLoading(!1);
|
|
1372
1372
|
},
|
|
1373
1373
|
{ deep: !0, immediate: !0 }
|
|
1374
|
-
), (
|
|
1375
|
-
P.platform === "browser" ? (c(), L(
|
|
1374
|
+
), (G, te) => (c(), N("div", Qa, [
|
|
1375
|
+
P.platform === "browser" ? (c(), L(Sa, {
|
|
1376
1376
|
key: 0,
|
|
1377
1377
|
showButton: P.showButton
|
|
1378
1378
|
}, {
|
|
1379
1379
|
default: n(() => [
|
|
1380
|
-
We(
|
|
1380
|
+
We(G.$slots, "default", {}, void 0, !0)
|
|
1381
1381
|
]),
|
|
1382
1382
|
_: 3
|
|
1383
|
-
}, 8, ["showButton"])) : (c(), L(
|
|
1383
|
+
}, 8, ["showButton"])) : (c(), L(Ha, {
|
|
1384
1384
|
key: 1,
|
|
1385
1385
|
windowConfig: P.windowConfig,
|
|
1386
1386
|
showButton: P.showButton,
|
|
1387
|
-
onBuildContent:
|
|
1388
|
-
onShowChild:
|
|
1387
|
+
onBuildContent: we,
|
|
1388
|
+
onShowChild: Q
|
|
1389
1389
|
}, {
|
|
1390
1390
|
default: n(() => [
|
|
1391
|
-
We(
|
|
1391
|
+
We(G.$slots, "default", {}, void 0, !0)
|
|
1392
1392
|
]),
|
|
1393
1393
|
_: 3
|
|
1394
1394
|
}, 8, ["windowConfig", "showButton"]))
|
|
1395
1395
|
]));
|
|
1396
1396
|
}
|
|
1397
|
-
},
|
|
1397
|
+
}, Ya = /* @__PURE__ */ qe(Xa, [["__scopeId", "data-v-ae25ce7a"]]), Za = { class: "add-model-content" }, eo = {
|
|
1398
1398
|
key: 0,
|
|
1399
1399
|
class: "model-operate"
|
|
1400
|
-
},
|
|
1400
|
+
}, to = { class: "model-select" }, ao = { class: "model-fill" }, oo = {
|
|
1401
1401
|
key: 1,
|
|
1402
1402
|
class: "model-view"
|
|
1403
|
-
},
|
|
1403
|
+
}, no = {
|
|
1404
1404
|
__name: "index",
|
|
1405
1405
|
props: {
|
|
1406
1406
|
mode: {
|
|
@@ -1425,143 +1425,143 @@ const Ot = /* @__PURE__ */ qe(aa, [["render", fa], ["__scopeId", "data-v-5c2d7ed
|
|
|
1425
1425
|
}
|
|
1426
1426
|
},
|
|
1427
1427
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild"],
|
|
1428
|
-
setup(P, { emit:
|
|
1429
|
-
const l = P, z =
|
|
1428
|
+
setup(P, { emit: Te }) {
|
|
1429
|
+
const l = P, z = Te, K = w([]), re = w(0), r = w([]), le = w([]), Q = w(0), ce = it(ke), ue = st(ke), { itemData: we, originalData: G } = be(ce), { activeMenuPath: te, platform: se } = be(ue), ve = w(null), x = w(0), fe = w([]);
|
|
1430
1430
|
w("");
|
|
1431
|
-
const
|
|
1431
|
+
const Re = w(0), Pe = () => {
|
|
1432
1432
|
z("buildContent");
|
|
1433
|
-
},
|
|
1433
|
+
}, W = (U) => {
|
|
1434
1434
|
z("openThreeBuild", U);
|
|
1435
1435
|
};
|
|
1436
|
-
|
|
1436
|
+
_e(
|
|
1437
1437
|
() => l == null ? void 0 : l.pathContent,
|
|
1438
1438
|
() => {
|
|
1439
|
-
(l == null ? void 0 : l.pathContent) !== "" &&
|
|
1439
|
+
(l == null ? void 0 : l.pathContent) !== "" && ce.setSystemPath(l == null ? void 0 : l.pathContent);
|
|
1440
1440
|
},
|
|
1441
1441
|
{
|
|
1442
1442
|
deep: !0,
|
|
1443
1443
|
immediate: !0
|
|
1444
1444
|
}
|
|
1445
1445
|
);
|
|
1446
|
-
const
|
|
1446
|
+
const de = (U) => {
|
|
1447
1447
|
z("contentChange", U);
|
|
1448
1448
|
}, Le = (U) => {
|
|
1449
|
-
var
|
|
1450
|
-
const O = (
|
|
1451
|
-
var
|
|
1452
|
-
return (
|
|
1449
|
+
var Ce;
|
|
1450
|
+
const O = (Ce = et(U == null ? void 0 : U.wholeValue)) == null ? void 0 : Ce.map((ae) => {
|
|
1451
|
+
var ge;
|
|
1452
|
+
return (ae == null ? void 0 : ae.comp) === "Form" && (ae.compData = (ge = ae.compData) == null ? void 0 : ge.map((B) => ((B == null ? void 0 : B.key) === "formContent" && (B.contents = ia(B == null ? void 0 : B.contents)), B))), ae;
|
|
1453
1453
|
});
|
|
1454
1454
|
z("change", {
|
|
1455
|
-
originalContents:
|
|
1455
|
+
originalContents: G.value,
|
|
1456
1456
|
currentContents: U == null ? void 0 : U.wholeValue,
|
|
1457
1457
|
editContent: U == null ? void 0 : U.editValue,
|
|
1458
1458
|
arrayToContents: O
|
|
1459
1459
|
});
|
|
1460
1460
|
};
|
|
1461
|
-
|
|
1461
|
+
_e(
|
|
1462
1462
|
() => r.value,
|
|
1463
1463
|
() => {
|
|
1464
|
-
|
|
1464
|
+
Re.value === r.value.length && r.value.length !== 0 && (K.value = r.value);
|
|
1465
1465
|
},
|
|
1466
1466
|
{ deep: !0, immediate: !0 }
|
|
1467
1467
|
);
|
|
1468
1468
|
const He = () => {
|
|
1469
|
-
|
|
1469
|
+
ve.value !== null && ve.value.click();
|
|
1470
1470
|
}, $e = async (U) => {
|
|
1471
1471
|
const O = U.target.files;
|
|
1472
1472
|
if (!O) return;
|
|
1473
|
-
new FileReader(),
|
|
1474
|
-
const
|
|
1473
|
+
new FileReader(), K.value = [], r.value = [], Re.value = O.length;
|
|
1474
|
+
const Ce = Array.from(O).map(async (ae) => await new Promise((ge) => {
|
|
1475
1475
|
const B = new FileReader();
|
|
1476
1476
|
B.onload = (g) => {
|
|
1477
1477
|
try {
|
|
1478
|
-
r.value.push(g.target.result),
|
|
1478
|
+
r.value.push(g.target.result), x.value++;
|
|
1479
1479
|
} catch (Fe) {
|
|
1480
1480
|
console.error("解析失败:", Fe);
|
|
1481
1481
|
return;
|
|
1482
1482
|
}
|
|
1483
|
-
}, B.onerror = () =>
|
|
1483
|
+
}, B.onerror = () => ge(`读取 ${ae.name} 失败`), B.readAsText(ae), U.target.value = "", ve.value = null, re.value++;
|
|
1484
1484
|
}));
|
|
1485
|
-
await Promise.all(
|
|
1485
|
+
await Promise.all(Ce);
|
|
1486
1486
|
};
|
|
1487
|
-
return
|
|
1487
|
+
return _e(
|
|
1488
1488
|
() => [l == null ? void 0 : l.content, l == null ? void 0 : l.jsonContents],
|
|
1489
1489
|
async () => {
|
|
1490
|
-
await
|
|
1490
|
+
await oa(), K.value = l.content, le.value = l == null ? void 0 : l.jsonContents;
|
|
1491
1491
|
},
|
|
1492
1492
|
{ deep: !0, immediate: !0 }
|
|
1493
|
-
),
|
|
1494
|
-
() =>
|
|
1493
|
+
), _e(
|
|
1494
|
+
() => x.value,
|
|
1495
1495
|
() => {
|
|
1496
1496
|
var U;
|
|
1497
|
-
((U =
|
|
1497
|
+
((U = fe.value) == null ? void 0 : U.length) !== 0 && (ce.setOriginalData(fe.value), ce.setItemData(fe.value));
|
|
1498
1498
|
},
|
|
1499
1499
|
{ deep: !0, immediate: !0 }
|
|
1500
1500
|
), (U, O) => {
|
|
1501
|
-
const
|
|
1502
|
-
return c(), N("div",
|
|
1503
|
-
(l == null ? void 0 : l.mode) === "edit" ? (c(), N("div",
|
|
1504
|
-
C("div",
|
|
1501
|
+
const Ce = b("svg-icon"), ae = b("el-button");
|
|
1502
|
+
return c(), N("div", Za, [
|
|
1503
|
+
(l == null ? void 0 : l.mode) === "edit" ? (c(), N("div", eo, [
|
|
1504
|
+
C("div", to, [
|
|
1505
1505
|
t(ft)
|
|
1506
1506
|
]),
|
|
1507
1507
|
(c(), N("div", {
|
|
1508
1508
|
class: "model-show",
|
|
1509
|
-
key:
|
|
1509
|
+
key: Q.value
|
|
1510
1510
|
}, [
|
|
1511
1511
|
t(gt)
|
|
1512
1512
|
])),
|
|
1513
|
-
C("div",
|
|
1513
|
+
C("div", ao, [
|
|
1514
1514
|
t(yt)
|
|
1515
1515
|
])
|
|
1516
|
-
])) :
|
|
1517
|
-
(l == null ? void 0 : l.mode) === "view" ? (c(), N("div",
|
|
1518
|
-
(c(), L(
|
|
1516
|
+
])) : H("", !0),
|
|
1517
|
+
(l == null ? void 0 : l.mode) === "view" ? (c(), N("div", oo, [
|
|
1518
|
+
(c(), L(Ya, {
|
|
1519
1519
|
showButton: P.showButton,
|
|
1520
|
-
platform: s(
|
|
1521
|
-
content:
|
|
1520
|
+
platform: s(se),
|
|
1521
|
+
content: K.value,
|
|
1522
1522
|
onChange: Le,
|
|
1523
|
-
jsonContents:
|
|
1524
|
-
onContentChange:
|
|
1523
|
+
jsonContents: le.value,
|
|
1524
|
+
onContentChange: de,
|
|
1525
1525
|
onBuildContent: Pe,
|
|
1526
|
-
key:
|
|
1527
|
-
onShowChild:
|
|
1526
|
+
key: Q.value,
|
|
1527
|
+
onShowChild: W
|
|
1528
1528
|
}, {
|
|
1529
1529
|
default: n(() => {
|
|
1530
|
-
var
|
|
1530
|
+
var ge;
|
|
1531
1531
|
return [
|
|
1532
|
-
((
|
|
1532
|
+
((ge = l == null ? void 0 : l.jsonContents) == null ? void 0 : ge.length) === 0 && (l != null && l.showButton) ? (c(), L(ae, {
|
|
1533
1533
|
key: 0,
|
|
1534
1534
|
id: "transparentBgButton",
|
|
1535
1535
|
onClick: He
|
|
1536
1536
|
}, {
|
|
1537
1537
|
icon: n(() => [
|
|
1538
|
-
t(
|
|
1538
|
+
t(Ce, { name: "import" })
|
|
1539
1539
|
]),
|
|
1540
1540
|
default: n(() => [
|
|
1541
1541
|
(c(), N("input", {
|
|
1542
1542
|
type: "file",
|
|
1543
|
-
key:
|
|
1543
|
+
key: re.value,
|
|
1544
1544
|
ref_key: "fileInput",
|
|
1545
|
-
ref:
|
|
1545
|
+
ref: ve,
|
|
1546
1546
|
accept: ".txt, .inm",
|
|
1547
1547
|
onChange: $e,
|
|
1548
1548
|
style: { display: "none" },
|
|
1549
1549
|
multiple: ""
|
|
1550
1550
|
}, null, 32)),
|
|
1551
|
-
O[0] || (O[0] =
|
|
1551
|
+
O[0] || (O[0] = he(" 导入模型 "))
|
|
1552
1552
|
]),
|
|
1553
1553
|
_: 1,
|
|
1554
1554
|
__: [0]
|
|
1555
|
-
})) :
|
|
1555
|
+
})) : H("", !0)
|
|
1556
1556
|
];
|
|
1557
1557
|
}),
|
|
1558
1558
|
_: 1
|
|
1559
1559
|
}, 8, ["showButton", "platform", "content", "jsonContents"]))
|
|
1560
|
-
])) :
|
|
1560
|
+
])) : H("", !0)
|
|
1561
1561
|
]);
|
|
1562
1562
|
};
|
|
1563
1563
|
}
|
|
1564
|
-
},
|
|
1564
|
+
}, Bo = /* @__PURE__ */ qe(no, [["__scopeId", "data-v-7ee96c6e"]]);
|
|
1565
1565
|
export {
|
|
1566
|
-
|
|
1566
|
+
Bo as default
|
|
1567
1567
|
};
|