ss-component-new 1.1.522 → 1.1.524
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { resolveComponent as
|
|
1
|
+
import { resolveComponent as w, createBlock as S, openBlock as r, withCtx as o, createVNode as t, createElementVNode as h, toDisplayString as oe, ref as c, onMounted as vt, watch as O, createElementBlock as M, Fragment as Be, renderList as De, createCommentVNode as N, normalizeStyle as yt, defineComponent as We, computed as Re, resolveDirective as Qe, withDirectives as Te, unref as a, createTextVNode as X, renderSlot as ve, vShow as Se, resolveDynamicComponent as Ye } from "vue";
|
|
2
2
|
import { m as je, a as Ve, b as Ne } from "./index-CIIEhoPK.js";
|
|
3
3
|
import Ze from "./index-DEe2zsga.js";
|
|
4
4
|
import { _ as Ct, o as et, c as tt, a as at, b as ot, d as nt, s as ae, g as lt, e as it, f as st, h as rt, i as wt, j as Bt } from "./index.vue_vue_type_style_index_0_scoped_b9caa997_lang-hmqNLVAu.js";
|
|
5
5
|
import { _ as ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as
|
|
6
|
+
import { p as J, s as H, u as $e, e as ut, c as Ae, d as we, g as kt } from "./menu-C2j1i_cN.js";
|
|
7
7
|
import { u as ct } from "./crypto-CMXGCdQv.js";
|
|
8
8
|
import { S as ge } from "./index-BHtNKL1L.js";
|
|
9
9
|
import { u as Me } from "./threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-D9glQKd6.js";
|
|
@@ -13,32 +13,32 @@ import { _ as pt } from "./index.vue_vue_type_script_setup_true_lang-Bk3kThxx.js
|
|
|
13
13
|
import He from "./threeModel-CkbHdhYr.js";
|
|
14
14
|
import { u as At } from "./index-Dt0W4n11.js";
|
|
15
15
|
import { d as Je } from "./index-CL2WV4Ur.js";
|
|
16
|
-
import
|
|
17
|
-
import { a as
|
|
18
|
-
import { c as
|
|
19
|
-
function
|
|
20
|
-
const l =
|
|
21
|
-
return r(), S(
|
|
22
|
-
mode:
|
|
23
|
-
menuList:
|
|
24
|
-
onClickMenu:
|
|
25
|
-
onOpenMenu:
|
|
26
|
-
onCloseMenu:
|
|
16
|
+
import "vue-router";
|
|
17
|
+
import { a as $t } from "./array-Ba5TFfWm.js";
|
|
18
|
+
import { c as Mt, b as Pt } from "./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-B1zL6TmK.js";
|
|
19
|
+
function xt(b, Z, e, B, A, L) {
|
|
20
|
+
const l = w("svg-icon"), U = w("ssMenu");
|
|
21
|
+
return r(), S(U, {
|
|
22
|
+
mode: b.mode,
|
|
23
|
+
menuList: b.renderMenuList,
|
|
24
|
+
onClickMenu: b.clickMenu,
|
|
25
|
+
onOpenMenu: b.openMenu,
|
|
26
|
+
onCloseMenu: b.closeMenu
|
|
27
27
|
}, {
|
|
28
|
-
title: o(({ menu:
|
|
28
|
+
title: o(({ menu: V }) => [
|
|
29
29
|
t(l, {
|
|
30
|
-
name:
|
|
30
|
+
name: V.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
|
-
h("span", null, oe(
|
|
33
|
+
h("span", null, oe(V.title ?? ""), 1)
|
|
34
34
|
]),
|
|
35
35
|
_: 1
|
|
36
36
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
37
37
|
}
|
|
38
|
-
const ht = /* @__PURE__ */ ye(Ct, [["render",
|
|
38
|
+
const ht = /* @__PURE__ */ ye(Ct, [["render", xt], ["__scopeId", "data-v-5c2d7ed2"]]), Dt = { class: "bread-content" }, jt = ["onClick"], Vt = {
|
|
39
39
|
key: 0,
|
|
40
40
|
class: "split-title"
|
|
41
|
-
},
|
|
41
|
+
}, Nt = {
|
|
42
42
|
__name: "index",
|
|
43
43
|
props: {
|
|
44
44
|
breadArray: {
|
|
@@ -47,41 +47,41 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
emits: ["click"],
|
|
50
|
-
setup(
|
|
51
|
-
const e =
|
|
50
|
+
setup(b, { emit: Z }) {
|
|
51
|
+
const e = b, B = c([]), A = Z;
|
|
52
52
|
vt(() => {
|
|
53
|
-
|
|
54
|
-
}),
|
|
53
|
+
B.value = e == null ? void 0 : e.breadArray;
|
|
54
|
+
}), O(
|
|
55
55
|
() => e == null ? void 0 : e.breadArray,
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
B.value = e == null ? void 0 : e.breadArray;
|
|
58
58
|
},
|
|
59
59
|
{ deep: !0, immediate: !0 }
|
|
60
60
|
);
|
|
61
|
-
const
|
|
61
|
+
const L = (l) => {
|
|
62
62
|
A("click", l);
|
|
63
63
|
};
|
|
64
|
-
return (l,
|
|
65
|
-
(r(!0),
|
|
66
|
-
var
|
|
67
|
-
return r(),
|
|
68
|
-
key:
|
|
64
|
+
return (l, U) => (r(), M("div", Dt, [
|
|
65
|
+
(r(!0), M(Be, null, De(B.value, (V, D) => {
|
|
66
|
+
var K;
|
|
67
|
+
return r(), M("div", {
|
|
68
|
+
key: D,
|
|
69
69
|
class: "bread-item"
|
|
70
70
|
}, [
|
|
71
71
|
h("div", {
|
|
72
72
|
class: "bread-title",
|
|
73
|
-
onClick: (
|
|
74
|
-
style: yt({ opacity: ((
|
|
75
|
-
}, oe(
|
|
76
|
-
|
|
73
|
+
onClick: (ce) => L(V),
|
|
74
|
+
style: yt({ opacity: ((K = B.value) == null ? void 0 : K.length) - 1 === D ? "0.7" : "1" })
|
|
75
|
+
}, oe(V.value), 13, jt),
|
|
76
|
+
D !== B.value.length - 1 && Array.isArray(B.value) ? (r(), M("div", Vt, oe("/"))) : N("", !0)
|
|
77
77
|
]);
|
|
78
78
|
}), 128))
|
|
79
79
|
]));
|
|
80
80
|
}
|
|
81
|
-
}, ft = /* @__PURE__ */ ye(
|
|
81
|
+
}, ft = /* @__PURE__ */ ye(Nt, [["__scopeId", "data-v-ded7e2bd"]]), Ut = { class: "structure-buttons" }, Et = { class: "structure-paths" }, It = { class: "client-header-user" }, Ot = { class: "model-select" }, Lt = { class: "model-show" }, Kt = { class: "model-fill" }, zt = { class: "client-header-menu" }, Gt = { class: "client-header-user" }, Xt = { class: "drop-menu" }, qt = { class: "client-main-operate" }, Ht = {
|
|
82
82
|
key: 0,
|
|
83
83
|
class: "item-view-group"
|
|
84
|
-
},
|
|
84
|
+
}, Jt = /* @__PURE__ */ We({
|
|
85
85
|
__name: "index2",
|
|
86
86
|
props: {
|
|
87
87
|
windowConfig: {
|
|
@@ -94,66 +94,66 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
94
94
|
default: !0
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
-
setup(
|
|
98
|
-
const
|
|
97
|
+
setup(b) {
|
|
98
|
+
const Z = Ue(J), { selectTitle: e } = H(Z), B = ct(), { loginUserInfo: A } = H(B), L = Me(J), { isEdit: l, routeToChildPath: U } = H(L), V = $e(J), { importLoading: D, activeTopMenuPath: K, activeAsideMenu: ce } = H(V), g = c(""), E = Re(() => ce.value.isRouter), I = () => {
|
|
99
99
|
sessionStorage.clear(), window.location.reload();
|
|
100
|
-
},
|
|
101
|
-
|
|
100
|
+
}, W = () => {
|
|
101
|
+
V.setActiveMenuPath(U.value), L.setRouteToChildPath("");
|
|
102
102
|
};
|
|
103
103
|
return (ee, f) => {
|
|
104
|
-
const
|
|
105
|
-
return r(),
|
|
106
|
-
Te(t(
|
|
104
|
+
const v = w("el-button"), Q = w("el-avatar"), fe = w("el-header"), ie = w("el-container"), ne = w("el-icon"), ke = w("el-input"), de = w("ss-button"), p = w("el-aside"), P = w("router-view"), R = w("el-main"), $ = Qe("loading");
|
|
105
|
+
return r(), M(Be, null, [
|
|
106
|
+
Te(t(ie, { class: "client-container" }, {
|
|
107
107
|
default: o(() => [
|
|
108
108
|
t(fe, { class: "client-structure-header" }, {
|
|
109
109
|
default: o(() => {
|
|
110
|
-
var
|
|
110
|
+
var k;
|
|
111
111
|
return [
|
|
112
|
-
h("div",
|
|
113
|
-
t(
|
|
112
|
+
h("div", Ut, [
|
|
113
|
+
t(v, {
|
|
114
114
|
id: "transparentBgButton",
|
|
115
115
|
onClick: a(et)
|
|
116
116
|
}, {
|
|
117
117
|
default: o(() => f[2] || (f[2] = [
|
|
118
|
-
|
|
118
|
+
X(" 返回页面 ")
|
|
119
119
|
])),
|
|
120
120
|
_: 1,
|
|
121
121
|
__: [2]
|
|
122
122
|
}, 8, ["onClick"]),
|
|
123
|
-
t(
|
|
123
|
+
t(v, {
|
|
124
124
|
id: "transparentBgButton",
|
|
125
125
|
onClick: f[0] || (f[0] = (n) => {
|
|
126
|
-
var
|
|
127
|
-
return a(tt)((
|
|
126
|
+
var z, q;
|
|
127
|
+
return a(tt)((q = (z = a(e)) == null ? void 0 : z.map((me) => me.value)) == null ? void 0 : q.join("/"));
|
|
128
128
|
})
|
|
129
129
|
}, {
|
|
130
130
|
icon: o(() => [
|
|
131
131
|
t(ge, { name: "Store" })
|
|
132
132
|
]),
|
|
133
133
|
default: o(() => [
|
|
134
|
-
f[3] || (f[3] =
|
|
134
|
+
f[3] || (f[3] = X(" 保存页面 "))
|
|
135
135
|
]),
|
|
136
136
|
_: 1,
|
|
137
137
|
__: [3]
|
|
138
138
|
})
|
|
139
139
|
]),
|
|
140
|
-
h("div",
|
|
140
|
+
h("div", Et, [
|
|
141
141
|
(r(), S(ft, {
|
|
142
142
|
key: a(e),
|
|
143
143
|
breadArray: a(e),
|
|
144
144
|
onClick: a(at)
|
|
145
145
|
}, null, 8, ["breadArray", "onClick"]))
|
|
146
146
|
]),
|
|
147
|
-
h("div",
|
|
147
|
+
h("div", It, [
|
|
148
148
|
ve(ee.$slots, "default", {}, void 0, !0),
|
|
149
|
-
t(
|
|
149
|
+
t(Q, {
|
|
150
150
|
size: 35,
|
|
151
|
-
src: (
|
|
151
|
+
src: (k = a(A)) == null ? void 0 : k.avatarUrl
|
|
152
152
|
}, {
|
|
153
153
|
default: o(() => {
|
|
154
154
|
var n;
|
|
155
155
|
return [
|
|
156
|
-
|
|
156
|
+
X(oe(((n = a(A)) == null ? void 0 : n.account) ?? "未知"), 1)
|
|
157
157
|
];
|
|
158
158
|
}),
|
|
159
159
|
_: 1
|
|
@@ -163,30 +163,30 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
163
163
|
}),
|
|
164
164
|
_: 3
|
|
165
165
|
}),
|
|
166
|
-
a(l) === "edit" ? (r(), S(
|
|
166
|
+
a(l) === "edit" ? (r(), S(ie, {
|
|
167
167
|
key: 0,
|
|
168
168
|
class: "model-operate",
|
|
169
169
|
style: { "margin-top": "10px", height: "0px" }
|
|
170
170
|
}, {
|
|
171
171
|
default: o(() => [
|
|
172
|
-
h("div",
|
|
172
|
+
h("div", Ot, [
|
|
173
173
|
t(je)
|
|
174
174
|
]),
|
|
175
|
-
h("div",
|
|
175
|
+
h("div", Lt, [
|
|
176
176
|
t(Ve)
|
|
177
177
|
]),
|
|
178
|
-
h("div",
|
|
178
|
+
h("div", Kt, [
|
|
179
179
|
t(Ne)
|
|
180
180
|
])
|
|
181
181
|
]),
|
|
182
182
|
_: 1
|
|
183
|
-
})) :
|
|
183
|
+
})) : N("", !0)
|
|
184
184
|
]),
|
|
185
185
|
_: 3
|
|
186
186
|
}, 512), [
|
|
187
187
|
[Se, a(l) === "edit"]
|
|
188
188
|
]),
|
|
189
|
-
Te((r(), S(
|
|
189
|
+
Te((r(), S(ie, {
|
|
190
190
|
class: "client-container",
|
|
191
191
|
"element-loading-text": "正在加载页面数据..."
|
|
192
192
|
}, {
|
|
@@ -194,19 +194,19 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
194
194
|
t(fe, { class: "client-header" }, {
|
|
195
195
|
default: o(() => [
|
|
196
196
|
f[6] || (f[6] = h("div", { class: "client-header-logo" }, " ISIP ", -1)),
|
|
197
|
-
h("div",
|
|
197
|
+
h("div", zt, [
|
|
198
198
|
t(ht, { mode: "horizontal" })
|
|
199
199
|
]),
|
|
200
|
-
h("div",
|
|
200
|
+
h("div", Gt, [
|
|
201
201
|
t(ke, {
|
|
202
|
-
modelValue:
|
|
203
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
202
|
+
modelValue: g.value,
|
|
203
|
+
"onUpdate:modelValue": f[1] || (f[1] = (k) => g.value = k),
|
|
204
204
|
clearable: "",
|
|
205
205
|
placeholder: "搜索",
|
|
206
206
|
style: { width: "130px" }
|
|
207
207
|
}, {
|
|
208
208
|
prefix: o(() => [
|
|
209
|
-
t(
|
|
209
|
+
t(ne, { class: "el-input__icon" }, {
|
|
210
210
|
default: o(() => [
|
|
211
211
|
t(a(ut))
|
|
212
212
|
]),
|
|
@@ -215,7 +215,7 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
215
215
|
]),
|
|
216
216
|
_: 1
|
|
217
217
|
}, 8, ["modelValue"]),
|
|
218
|
-
|
|
218
|
+
b.showButton ? (r(), S(v, {
|
|
219
219
|
key: 0,
|
|
220
220
|
id: "transparentBgButton",
|
|
221
221
|
onClick: a(ot)
|
|
@@ -224,12 +224,12 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
224
224
|
t(ge, { name: "App" })
|
|
225
225
|
]),
|
|
226
226
|
default: o(() => [
|
|
227
|
-
f[4] || (f[4] =
|
|
227
|
+
f[4] || (f[4] = X(" 生成APP "))
|
|
228
228
|
]),
|
|
229
229
|
_: 1,
|
|
230
230
|
__: [4]
|
|
231
|
-
}, 8, ["onClick"])) :
|
|
232
|
-
|
|
231
|
+
}, 8, ["onClick"])) : N("", !0),
|
|
232
|
+
b.showButton && a(l) === "view" ? (r(), S(v, {
|
|
233
233
|
key: 1,
|
|
234
234
|
id: "transparentBgButton",
|
|
235
235
|
onClick: a(nt)
|
|
@@ -238,26 +238,26 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
238
238
|
t(ge, { name: "write" })
|
|
239
239
|
]),
|
|
240
240
|
default: o(() => [
|
|
241
|
-
f[5] || (f[5] =
|
|
241
|
+
f[5] || (f[5] = X(" 修改布局 "))
|
|
242
242
|
]),
|
|
243
243
|
_: 1,
|
|
244
244
|
__: [5]
|
|
245
|
-
}, 8, ["onClick"])) :
|
|
245
|
+
}, 8, ["onClick"])) : N("", !0),
|
|
246
246
|
ve(ee.$slots, "default", {}, void 0, !0),
|
|
247
247
|
t(mt, null, {
|
|
248
248
|
dropTitle: o(() => {
|
|
249
|
-
var
|
|
249
|
+
var k;
|
|
250
250
|
return [
|
|
251
251
|
t(pt, {
|
|
252
252
|
size: "35",
|
|
253
|
-
avatarUrl: (
|
|
253
|
+
avatarUrl: (k = a(A)) == null ? void 0 : k.avatarUrl,
|
|
254
254
|
showCropper: !1,
|
|
255
255
|
banClick: !0
|
|
256
256
|
}, {
|
|
257
257
|
avatarDefault: o(() => {
|
|
258
258
|
var n;
|
|
259
259
|
return [
|
|
260
|
-
|
|
260
|
+
X(oe(((n = a(A)) == null ? void 0 : n.account) ?? "未知"), 1)
|
|
261
261
|
];
|
|
262
262
|
}),
|
|
263
263
|
_: 1
|
|
@@ -265,11 +265,11 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
265
265
|
];
|
|
266
266
|
}),
|
|
267
267
|
dropMenu: o(() => [
|
|
268
|
-
h("div",
|
|
268
|
+
h("div", Xt, [
|
|
269
269
|
t(de, {
|
|
270
270
|
emptyColor: !0,
|
|
271
271
|
class: "menu-button",
|
|
272
|
-
onClickTrigger:
|
|
272
|
+
onClickTrigger: I,
|
|
273
273
|
modelValue: "退出登录",
|
|
274
274
|
buttonType: ""
|
|
275
275
|
})
|
|
@@ -282,11 +282,11 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
282
282
|
_: 3,
|
|
283
283
|
__: [6]
|
|
284
284
|
}),
|
|
285
|
-
t(
|
|
285
|
+
t(ie, { class: "client-body" }, {
|
|
286
286
|
default: o(() => [
|
|
287
287
|
t(R, { class: "client-main" }, {
|
|
288
288
|
default: o(() => {
|
|
289
|
-
var
|
|
289
|
+
var k;
|
|
290
290
|
return [
|
|
291
291
|
t(p, { class: "client-aside" }, {
|
|
292
292
|
default: o(() => [
|
|
@@ -294,28 +294,28 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
}),
|
|
297
|
-
h("div",
|
|
298
|
-
|
|
299
|
-
a(
|
|
297
|
+
h("div", qt, [
|
|
298
|
+
E.value ? (r(), S(P, { key: 0 })) : N("", !0),
|
|
299
|
+
a(U) !== "" ? (r(), S(de, {
|
|
300
300
|
key: 1,
|
|
301
301
|
class: "calculator-content back-content",
|
|
302
|
-
onClickTrigger:
|
|
302
|
+
onClickTrigger: W,
|
|
303
303
|
modelValue: "返回"
|
|
304
|
-
})) :
|
|
305
|
-
|
|
306
|
-
var
|
|
307
|
-
return r(),
|
|
304
|
+
})) : N("", !0),
|
|
305
|
+
E.value ? N("", !0) : (r(!0), M(Be, { key: 2 }, De((k = a(Ae)(a(ae))) == null ? void 0 : k.filter((n) => n.comp !== "FormTop"), (n, z) => {
|
|
306
|
+
var q;
|
|
307
|
+
return r(), M("div", {
|
|
308
308
|
class: "item-view-content",
|
|
309
|
-
key:
|
|
309
|
+
key: z
|
|
310
310
|
}, [
|
|
311
|
-
((
|
|
311
|
+
((q = n == null ? void 0 : n.comp) == null ? void 0 : q.toUpperCase()) !== "TABLE" && n.name ? (r(), M("div", Ht, oe(n.name), 1)) : N("", !0),
|
|
312
312
|
(r(), S(Ye(a(lt)(n.comp)), {
|
|
313
313
|
compName: n.name,
|
|
314
314
|
itemData: n == null ? void 0 : n.compData,
|
|
315
315
|
childItemData: n == null ? void 0 : n.itemChildData,
|
|
316
|
-
key: (n == null ? void 0 : n.id) ??
|
|
316
|
+
key: (n == null ? void 0 : n.id) ?? z,
|
|
317
317
|
onChange: a(rt),
|
|
318
|
-
index: (n == null ? void 0 : n.id) ??
|
|
318
|
+
index: (n == null ? void 0 : n.id) ?? z,
|
|
319
319
|
onContentChange: a(st),
|
|
320
320
|
onPageChange: a(it)
|
|
321
321
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
@@ -333,12 +333,12 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
333
333
|
_: 3
|
|
334
334
|
})), [
|
|
335
335
|
[Se, a(l) === "view"],
|
|
336
|
-
[
|
|
336
|
+
[$, a(D)]
|
|
337
337
|
])
|
|
338
338
|
], 64);
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
|
-
}),
|
|
341
|
+
}), Wt = /* @__PURE__ */ ye(Jt, [["__scopeId", "data-v-1c30d678"]]), Pe = [
|
|
342
342
|
{
|
|
343
343
|
key: "FitCurve_Eleven",
|
|
344
344
|
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
|
|
@@ -419,10 +419,10 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
419
419
|
// key: "参数筛选推理",
|
|
420
420
|
// value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
|
|
421
421
|
// }
|
|
422
|
-
],
|
|
422
|
+
], Qt = { class: "structure-buttons" }, Yt = { class: "structure-paths" }, Zt = { class: "client-header-user" }, ea = { class: "model-select" }, ta = { class: "model-show" }, aa = { class: "model-fill" }, oa = { class: "client-header-menu" }, na = { class: "client-header-user" }, la = { class: "drop-menu" }, ia = { class: "client-main-operate" }, sa = {
|
|
423
423
|
key: 0,
|
|
424
424
|
class: "item-view-group"
|
|
425
|
-
},
|
|
425
|
+
}, ra = /* @__PURE__ */ We({
|
|
426
426
|
__name: "index2",
|
|
427
427
|
props: {
|
|
428
428
|
windowConfig: {
|
|
@@ -436,91 +436,91 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
438
|
emits: ["showChild", "buildContent"],
|
|
439
|
-
setup(
|
|
440
|
-
const e = Ue(
|
|
439
|
+
setup(b, { emit: Z }) {
|
|
440
|
+
const e = Ue(J), B = c(!1);
|
|
441
441
|
c(0), c(!1);
|
|
442
|
-
const { selectTitle: A } =
|
|
442
|
+
const { selectTitle: A } = H(e), L = c(!1), l = c(!1), U = c(0);
|
|
443
443
|
c(!1);
|
|
444
|
-
const
|
|
444
|
+
const V = Ft(J), D = c(!1), { tableShowThree: K } = H(V), ce = ct(), { loginUserInfo: g } = H(ce);
|
|
445
445
|
c(null);
|
|
446
|
-
const
|
|
446
|
+
const E = Me(J), { isEdit: I } = H(E), W = $e(J), ee = At(J), { objUrl: f, blobUrls: v } = H(ee), Q = c(null);
|
|
447
447
|
c(!1);
|
|
448
448
|
const fe = c(!0);
|
|
449
449
|
c(!1);
|
|
450
|
-
const { importLoading:
|
|
451
|
-
|
|
452
|
-
i && (
|
|
453
|
-
var
|
|
454
|
-
return (u == null ? void 0 : u.key) === ((
|
|
455
|
-
}) ?
|
|
450
|
+
const { importLoading: ie, activeMenuPath: ne, activeTopMenuPath: ke, platName: de, activeAsideMenu: p } = H(W), P = c(!1), R = c(!1), $ = c(!1), k = Z;
|
|
451
|
+
O(() => ne.value, async (i) => {
|
|
452
|
+
i && ($.value = !0), i === "弯管仿真加工管理/仿真动画生成" ? P.value = !0 : P.value = !1, i === "弯管仿真加工管理/程序输出" ? R.value = !0 : R.value = !1, xe != null && xe.find((u) => {
|
|
453
|
+
var F;
|
|
454
|
+
return (u == null ? void 0 : u.key) === ((F = i == null ? void 0 : i.split("/")) == null ? void 0 : F[(i == null ? void 0 : i.split("/").length) - 1]);
|
|
455
|
+
}) ? D.value = !0 : D.value = !1;
|
|
456
456
|
}, { immediate: !0 });
|
|
457
457
|
const n = (i) => {
|
|
458
458
|
if ((i == null ? void 0 : i.type) === "table") {
|
|
459
|
-
let u = Object.values(i == null ? void 0 : i.row),
|
|
460
|
-
|
|
461
|
-
url:
|
|
459
|
+
let u = Object.values(i == null ? void 0 : i.row), F = u == null ? void 0 : u.find((y) => typeof y == "string" && ((y == null ? void 0 : y.includes(".urdf")) || (y == null ? void 0 : y.includes(".obj"))));
|
|
460
|
+
F && k("showChild", {
|
|
461
|
+
url: F,
|
|
462
462
|
row: i == null ? void 0 : i.row
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
},
|
|
466
|
-
sessionStorage.clear(),
|
|
467
|
-
},
|
|
468
|
-
var
|
|
469
|
-
const u = (
|
|
465
|
+
}, z = () => {
|
|
466
|
+
sessionStorage.clear(), window.location.reload(), U.value++;
|
|
467
|
+
}, q = async (i) => {
|
|
468
|
+
var y, _, C, s, G, Y, d;
|
|
469
|
+
const u = (y = i == null ? void 0 : i.split("/")) == null ? void 0 : y[0], F = await kt({
|
|
470
470
|
key: {
|
|
471
471
|
type: "mainEquip",
|
|
472
472
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
473
473
|
pageKey: u
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
|
-
return ((_ =
|
|
476
|
+
return ((_ = F == null ? void 0 : F.data) == null ? void 0 : _.type) === "success" ? ((d = (Y = (G = (s = (C = F == null ? void 0 : F.data) == null ? void 0 : C.result) == null ? void 0 : s[0]) == null ? void 0 : G.value) == null ? void 0 : Y.tableData) == null ? void 0 : d.隐藏三维显示) !== !0 : !0;
|
|
477
477
|
};
|
|
478
|
-
|
|
478
|
+
O(
|
|
479
479
|
() => ae.value,
|
|
480
480
|
() => {
|
|
481
|
-
var i, u,
|
|
482
|
-
if (((i = ae.value) == null ? void 0 : i.length) === 2 && ((u = ae.value) != null && u.find((
|
|
483
|
-
const
|
|
484
|
-
l.value = ((_ =
|
|
481
|
+
var i, u, F, y, _;
|
|
482
|
+
if (((i = ae.value) == null ? void 0 : i.length) === 2 && ((u = ae.value) != null && u.find((C) => (C == null ? void 0 : C.name) === "输入")) && ((F = ae.value) != null && F.find((C) => (C == null ? void 0 : C.name) === "输出"))) {
|
|
483
|
+
const C = (y = ae.value) == null ? void 0 : y.find((s) => (s == null ? void 0 : s.name) === "输出");
|
|
484
|
+
l.value = ((_ = C == null ? void 0 : C.comp) == null ? void 0 : _.toUpperCase()) === "FORM", L.value = !0;
|
|
485
485
|
} else
|
|
486
|
-
|
|
486
|
+
L.value = !1, l.value = !1;
|
|
487
487
|
},
|
|
488
488
|
{ deep: !0, immediate: !0 }
|
|
489
|
-
),
|
|
490
|
-
() =>
|
|
489
|
+
), O(
|
|
490
|
+
() => ne.value,
|
|
491
491
|
async () => {
|
|
492
|
-
|
|
492
|
+
ne.value && (fe.value = await q(ne.value));
|
|
493
493
|
},
|
|
494
494
|
{ deep: !0, immediate: !0 }
|
|
495
|
-
),
|
|
496
|
-
() => [f.value,
|
|
495
|
+
), O(
|
|
496
|
+
() => [f.value, Q.value],
|
|
497
497
|
() => {
|
|
498
498
|
var i;
|
|
499
|
-
((i = f.value) == null ? void 0 : i.length) > 0 &&
|
|
499
|
+
((i = f.value) == null ? void 0 : i.length) > 0 && Q.value && Q.value.addModelsFromUrls(f.value);
|
|
500
500
|
},
|
|
501
501
|
{ immediate: !0, deep: !0 }
|
|
502
|
-
),
|
|
503
|
-
() =>
|
|
502
|
+
), O(
|
|
503
|
+
() => v == null ? void 0 : v.value,
|
|
504
504
|
async () => {
|
|
505
|
-
var i, u,
|
|
506
|
-
if (
|
|
505
|
+
var i, u, F, y;
|
|
506
|
+
if (v != null && v.value && ((i = v == null ? void 0 : v.value) == null ? void 0 : i.length) > 0 && !D.value && !((u = ae.value) != null && u.find((_) => (_ == null ? void 0 : _.name) === "输入") && ((F = ae.value) != null && F.find((_) => (_ == null ? void 0 : _.name) === "输出")))) {
|
|
507
507
|
let _ = [];
|
|
508
|
-
const
|
|
509
|
-
var
|
|
510
|
-
let
|
|
511
|
-
s != null && s.blob.includes("undefined") ? d = (Fe = (
|
|
508
|
+
const C = await ((y = Ae(v == null ? void 0 : v.value)) == null ? void 0 : y.map(async (s) => {
|
|
509
|
+
var se, Fe, j, m, le, re, be, Ee, Ie, Oe;
|
|
510
|
+
let G, Y, d;
|
|
511
|
+
s != null && s.blob.includes("undefined") ? d = (Fe = (se = s == null ? void 0 : s.blob) == null ? void 0 : se.split("undefined,")) == null ? void 0 : Fe[1] : d = s == null ? void 0 : s.blob;
|
|
512
512
|
let te = d == null ? void 0 : d.split(",");
|
|
513
513
|
if ((te == null ? void 0 : te.length) > 1) {
|
|
514
|
-
let he = await (te == null ? void 0 : te.map(async (
|
|
515
|
-
var
|
|
516
|
-
|
|
514
|
+
let he = await (te == null ? void 0 : te.map(async (x) => {
|
|
515
|
+
var ue, Le, Ke, ze, Ge, Xe;
|
|
516
|
+
G = await we.get(x, {
|
|
517
517
|
responseType: "blob",
|
|
518
518
|
headers: {
|
|
519
519
|
"Content-Type": "application/json"
|
|
520
520
|
}
|
|
521
521
|
});
|
|
522
522
|
let _e = [];
|
|
523
|
-
if (((
|
|
523
|
+
if (((ue = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : ue.length) > 0) {
|
|
524
524
|
let _t = await ((Le = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : Le.map(async (gt) => {
|
|
525
525
|
let qe = await we.get(gt, {
|
|
526
526
|
responseType: "blob",
|
|
@@ -534,40 +534,40 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
534
534
|
}));
|
|
535
535
|
await Promise.all(_t);
|
|
536
536
|
}
|
|
537
|
-
return ((ze =
|
|
538
|
-
suffix: "." + ((Xe =
|
|
539
|
-
blob: new Blob([
|
|
537
|
+
return ((ze = x == null ? void 0 : x.split(".")) == null ? void 0 : ze[((Ke = x == null ? void 0 : x.split(".")) == null ? void 0 : Ke.length) - 1]) !== "undefined" && _.push({
|
|
538
|
+
suffix: "." + ((Xe = x == null ? void 0 : x.split(".")) == null ? void 0 : Xe[((Ge = x == null ? void 0 : x.split(".")) == null ? void 0 : Ge.length) - 1]),
|
|
539
|
+
blob: new Blob([G.data], {
|
|
540
540
|
type: "application/octet-stream;charset=UTF-8"
|
|
541
541
|
}),
|
|
542
542
|
mtlBlobs: _e
|
|
543
|
-
}),
|
|
543
|
+
}), G;
|
|
544
544
|
}));
|
|
545
545
|
await Promise.all(he);
|
|
546
546
|
} else if (!(d != null && d.includes("https://")) && !(d != null && d.includes("http://"))) {
|
|
547
|
-
|
|
547
|
+
G = await Je({
|
|
548
548
|
url: d
|
|
549
549
|
});
|
|
550
550
|
let he = [];
|
|
551
|
-
if (((
|
|
552
|
-
let
|
|
553
|
-
let
|
|
551
|
+
if (((j = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : j.length) > 0) {
|
|
552
|
+
let x = await ((m = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : m.map(async (_e) => {
|
|
553
|
+
let ue = await Je({
|
|
554
554
|
url: _e
|
|
555
555
|
});
|
|
556
|
-
return he.push(new Blob([
|
|
556
|
+
return he.push(new Blob([ue.data], {
|
|
557
557
|
type: "application/octet-stream;charset=UTF-8"
|
|
558
|
-
})),
|
|
558
|
+
})), ue;
|
|
559
559
|
}));
|
|
560
|
-
await Promise.all(
|
|
560
|
+
await Promise.all(x);
|
|
561
561
|
}
|
|
562
|
-
|
|
563
|
-
suffix: "." + ((
|
|
564
|
-
blob: new Blob([
|
|
562
|
+
Y = {
|
|
563
|
+
suffix: "." + ((re = d == null ? void 0 : d.split(".")) == null ? void 0 : re[((le = d == null ? void 0 : d.split(".")) == null ? void 0 : le.length) - 1]),
|
|
564
|
+
blob: new Blob([G.data], {
|
|
565
565
|
type: "application/octet-stream;charset=UTF-8"
|
|
566
566
|
}),
|
|
567
567
|
mtlBlobs: he
|
|
568
568
|
};
|
|
569
569
|
} else {
|
|
570
|
-
|
|
570
|
+
G = await we.get(d, {
|
|
571
571
|
responseType: "blob",
|
|
572
572
|
headers: {
|
|
573
573
|
"Content-Type": "application/json"
|
|
@@ -575,40 +575,40 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
575
575
|
});
|
|
576
576
|
let he = [];
|
|
577
577
|
if (((be = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : be.length) > 0) {
|
|
578
|
-
let
|
|
579
|
-
let
|
|
578
|
+
let x = await ((Ee = s == null ? void 0 : s.mtlBlobs) == null ? void 0 : Ee.map(async (_e) => {
|
|
579
|
+
let ue = await we.get(_e, {
|
|
580
580
|
responseType: "blob",
|
|
581
581
|
headers: {
|
|
582
582
|
"Content-Type": "application/json"
|
|
583
583
|
}
|
|
584
584
|
});
|
|
585
|
-
return he.push(new Blob([
|
|
585
|
+
return he.push(new Blob([ue.data], {
|
|
586
586
|
type: "application/octet-stream;charset=UTF-8"
|
|
587
|
-
})),
|
|
587
|
+
})), ue;
|
|
588
588
|
}));
|
|
589
|
-
await Promise.all(
|
|
589
|
+
await Promise.all(x);
|
|
590
590
|
}
|
|
591
|
-
|
|
591
|
+
Y = {
|
|
592
592
|
suffix: "." + ((Oe = d == null ? void 0 : d.split(".")) == null ? void 0 : Oe[((Ie = d == null ? void 0 : d.split(".")) == null ? void 0 : Ie.length) - 1]),
|
|
593
|
-
blob: new Blob([
|
|
593
|
+
blob: new Blob([G.data], {
|
|
594
594
|
type: "application/octet-stream;charset=UTF-8"
|
|
595
595
|
}),
|
|
596
596
|
mtlBlobs: he
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
|
-
|
|
599
|
+
Y && _.push(Y);
|
|
600
600
|
}));
|
|
601
|
-
await Promise.all(
|
|
601
|
+
await Promise.all(C), (_ == null ? void 0 : _.length) !== 0 && (B.value = !0, Q.value.loadModelByDefaultPath(_));
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
{ immediate: !0, deep: !0 }
|
|
605
|
-
),
|
|
606
|
-
() =>
|
|
605
|
+
), O(
|
|
606
|
+
() => K.value,
|
|
607
607
|
async () => {
|
|
608
|
-
var u,
|
|
609
|
-
if (
|
|
610
|
-
let
|
|
611
|
-
const
|
|
608
|
+
var u, F, y, _;
|
|
609
|
+
if (K.value !== "" && K.value) {
|
|
610
|
+
let C = (u = ne.value) == null ? void 0 : u.split("/"), s = C[(C == null ? void 0 : C.length) - 2];
|
|
611
|
+
const Y = (((F = Pe == null ? void 0 : Pe.find((se) => (se == null ? void 0 : se.key) === s)) == null ? void 0 : F.download) ?? "") + "/" + K.value, d = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), te = await we.post(Y, null, {
|
|
612
612
|
responseType: "blob",
|
|
613
613
|
// 必须设置
|
|
614
614
|
headers: {
|
|
@@ -620,7 +620,7 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
620
620
|
var i = new Blob([te.data], {
|
|
621
621
|
type: "application/octet-stream;charset=UTF-8"
|
|
622
622
|
});
|
|
623
|
-
"" + ((_ = (
|
|
623
|
+
"" + ((_ = (y = K.value) == null ? void 0 : y.split(".")) == null ? void 0 : _[1]);
|
|
624
624
|
}
|
|
625
625
|
},
|
|
626
626
|
{ deep: !0, immediate: !0 }
|
|
@@ -629,75 +629,75 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
629
629
|
c("open"), c("open"), c(!1), Re(() => ae.value);
|
|
630
630
|
const Ce = Re(() => p.value.isRouter), pe = c(!1), T = () => {
|
|
631
631
|
pe.value = !0, setTimeout(() => {
|
|
632
|
-
|
|
632
|
+
Q.value.loadModelByDefaultPath([{ suffix: ".urdf" }]);
|
|
633
633
|
}, 1e3);
|
|
634
634
|
};
|
|
635
635
|
return (i, u) => {
|
|
636
|
-
const
|
|
637
|
-
return r(),
|
|
638
|
-
t(
|
|
636
|
+
const F = w("el-dialog"), y = w("el-button"), _ = w("el-avatar"), C = w("el-header"), s = w("el-container"), G = w("el-icon"), Y = w("el-input"), d = w("el-aside"), te = w("router-view"), se = w("el-main"), Fe = Qe("loading");
|
|
637
|
+
return r(), M(Be, null, [
|
|
638
|
+
t(F, {
|
|
639
639
|
modelValue: pe.value,
|
|
640
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
640
|
+
"onUpdate:modelValue": u[0] || (u[0] = (j) => pe.value = j),
|
|
641
641
|
style: { height: "700px", width: "1800px" }
|
|
642
642
|
}, {
|
|
643
643
|
default: o(() => [
|
|
644
644
|
t(He, {
|
|
645
645
|
ref_key: "threeModelRef",
|
|
646
|
-
ref:
|
|
646
|
+
ref: Q
|
|
647
647
|
}, null, 512)
|
|
648
648
|
]),
|
|
649
649
|
_: 1
|
|
650
650
|
}, 8, ["modelValue"]),
|
|
651
651
|
Te(t(s, { class: "client-container" }, {
|
|
652
652
|
default: o(() => [
|
|
653
|
-
t(
|
|
653
|
+
t(C, { class: "client-structure-header" }, {
|
|
654
654
|
default: o(() => {
|
|
655
|
-
var
|
|
655
|
+
var j;
|
|
656
656
|
return [
|
|
657
|
-
h("div",
|
|
658
|
-
t(
|
|
657
|
+
h("div", Qt, [
|
|
658
|
+
t(y, {
|
|
659
659
|
id: "transparentBgButton",
|
|
660
660
|
onClick: a(et)
|
|
661
661
|
}, {
|
|
662
662
|
default: o(() => u[4] || (u[4] = [
|
|
663
|
-
|
|
663
|
+
X(" 返回页面 ")
|
|
664
664
|
])),
|
|
665
665
|
_: 1,
|
|
666
666
|
__: [4]
|
|
667
667
|
}, 8, ["onClick"]),
|
|
668
|
-
t(
|
|
668
|
+
t(y, {
|
|
669
669
|
id: "transparentBgButton",
|
|
670
670
|
onClick: u[1] || (u[1] = (m) => {
|
|
671
|
-
var
|
|
672
|
-
return a(tt)((
|
|
671
|
+
var le, re;
|
|
672
|
+
return a(tt)((re = (le = a(A)) == null ? void 0 : le.map((be) => be.value)) == null ? void 0 : re.join("/"));
|
|
673
673
|
})
|
|
674
674
|
}, {
|
|
675
675
|
icon: o(() => [
|
|
676
676
|
t(ge, { name: "Store" })
|
|
677
677
|
]),
|
|
678
678
|
default: o(() => [
|
|
679
|
-
u[5] || (u[5] =
|
|
679
|
+
u[5] || (u[5] = X(" 保存页面 "))
|
|
680
680
|
]),
|
|
681
681
|
_: 1,
|
|
682
682
|
__: [5]
|
|
683
683
|
})
|
|
684
684
|
]),
|
|
685
|
-
h("div",
|
|
685
|
+
h("div", Yt, [
|
|
686
686
|
t(ft, {
|
|
687
687
|
breadArray: a(A),
|
|
688
688
|
onClick: a(at)
|
|
689
689
|
}, null, 8, ["breadArray", "onClick"])
|
|
690
690
|
]),
|
|
691
|
-
h("div",
|
|
691
|
+
h("div", Zt, [
|
|
692
692
|
ve(i.$slots, "default", {}, void 0, !0),
|
|
693
693
|
t(_, {
|
|
694
694
|
size: 35,
|
|
695
|
-
src: (
|
|
695
|
+
src: (j = a(g)) == null ? void 0 : j.avatarUrl
|
|
696
696
|
}, {
|
|
697
697
|
default: o(() => {
|
|
698
698
|
var m;
|
|
699
699
|
return [
|
|
700
|
-
|
|
700
|
+
X(oe(((m = a(g)) == null ? void 0 : m.account) ?? "未知"), 1)
|
|
701
701
|
];
|
|
702
702
|
}),
|
|
703
703
|
_: 1
|
|
@@ -707,53 +707,53 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
707
707
|
}),
|
|
708
708
|
_: 3
|
|
709
709
|
}),
|
|
710
|
-
a(
|
|
710
|
+
a(I) === "edit" ? (r(), S(s, {
|
|
711
711
|
key: 0,
|
|
712
712
|
class: "model-operate",
|
|
713
713
|
style: { "margin-top": "10px", height: "0px" }
|
|
714
714
|
}, {
|
|
715
715
|
default: o(() => [
|
|
716
|
-
h("div",
|
|
716
|
+
h("div", ea, [
|
|
717
717
|
t(je)
|
|
718
718
|
]),
|
|
719
|
-
h("div",
|
|
719
|
+
h("div", ta, [
|
|
720
720
|
t(Ve)
|
|
721
721
|
]),
|
|
722
|
-
h("div",
|
|
722
|
+
h("div", aa, [
|
|
723
723
|
t(Ne)
|
|
724
724
|
])
|
|
725
725
|
]),
|
|
726
726
|
_: 1
|
|
727
|
-
})) :
|
|
727
|
+
})) : N("", !0)
|
|
728
728
|
]),
|
|
729
729
|
_: 3
|
|
730
730
|
}, 512), [
|
|
731
|
-
[Se, a(
|
|
731
|
+
[Se, a(I) === "edit"]
|
|
732
732
|
]),
|
|
733
733
|
Te((r(), S(s, {
|
|
734
734
|
class: "client-container",
|
|
735
735
|
"element-loading-text": "正在加载页面数据..."
|
|
736
736
|
}, {
|
|
737
737
|
default: o(() => [
|
|
738
|
-
t(
|
|
738
|
+
t(C, { class: "client-header" }, {
|
|
739
739
|
default: o(() => [
|
|
740
740
|
h("div", {
|
|
741
741
|
class: "client-header-logo",
|
|
742
742
|
onClick: T
|
|
743
743
|
}, oe(a(de) === "" ? "CPMPIP" : a(de)), 1),
|
|
744
|
-
h("div",
|
|
744
|
+
h("div", oa, [
|
|
745
745
|
t(ht, { mode: "horizontal" })
|
|
746
746
|
]),
|
|
747
|
-
h("div",
|
|
748
|
-
t(
|
|
747
|
+
h("div", na, [
|
|
748
|
+
t(Y, {
|
|
749
749
|
modelValue: me.value,
|
|
750
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
750
|
+
"onUpdate:modelValue": u[2] || (u[2] = (j) => me.value = j),
|
|
751
751
|
clearable: "",
|
|
752
752
|
placeholder: "搜索",
|
|
753
753
|
style: { width: "130px" }
|
|
754
754
|
}, {
|
|
755
755
|
prefix: o(() => [
|
|
756
|
-
t(
|
|
756
|
+
t(G, { class: "el-input__icon" }, {
|
|
757
757
|
default: o(() => [
|
|
758
758
|
t(a(ut))
|
|
759
759
|
]),
|
|
@@ -762,7 +762,7 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
762
762
|
]),
|
|
763
763
|
_: 1
|
|
764
764
|
}, 8, ["modelValue"]),
|
|
765
|
-
|
|
765
|
+
b.showButton ? (r(), S(y, {
|
|
766
766
|
key: 0,
|
|
767
767
|
id: "transparentBgButton",
|
|
768
768
|
onClick: a(ot)
|
|
@@ -771,12 +771,12 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
771
771
|
t(ge, { name: "App" })
|
|
772
772
|
]),
|
|
773
773
|
default: o(() => [
|
|
774
|
-
u[6] || (u[6] =
|
|
774
|
+
u[6] || (u[6] = X(" 生成APP "))
|
|
775
775
|
]),
|
|
776
776
|
_: 1,
|
|
777
777
|
__: [6]
|
|
778
|
-
}, 8, ["onClick"])) :
|
|
779
|
-
|
|
778
|
+
}, 8, ["onClick"])) : N("", !0),
|
|
779
|
+
b.showButton && a(I) === "view" ? (r(), S(y, {
|
|
780
780
|
key: 1,
|
|
781
781
|
id: "transparentBgButton",
|
|
782
782
|
onClick: a(nt)
|
|
@@ -785,26 +785,26 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
785
785
|
t(ge, { name: "write" })
|
|
786
786
|
]),
|
|
787
787
|
default: o(() => [
|
|
788
|
-
u[7] || (u[7] =
|
|
788
|
+
u[7] || (u[7] = X(" 修改布局 "))
|
|
789
789
|
]),
|
|
790
790
|
_: 1,
|
|
791
791
|
__: [7]
|
|
792
|
-
}, 8, ["onClick"])) :
|
|
792
|
+
}, 8, ["onClick"])) : N("", !0),
|
|
793
793
|
ve(i.$slots, "default", {}, void 0, !0),
|
|
794
|
-
|
|
794
|
+
(r(), S(mt, { key: U.value }, {
|
|
795
795
|
dropTitle: o(() => {
|
|
796
|
-
var
|
|
796
|
+
var j;
|
|
797
797
|
return [
|
|
798
798
|
t(pt, {
|
|
799
799
|
size: "35",
|
|
800
|
-
avatarUrl: (
|
|
800
|
+
avatarUrl: (j = a(g)) == null ? void 0 : j.avatarUrl,
|
|
801
801
|
showCropper: !1,
|
|
802
802
|
banClick: !0
|
|
803
803
|
}, {
|
|
804
804
|
avatarDefault: o(() => {
|
|
805
805
|
var m;
|
|
806
806
|
return [
|
|
807
|
-
|
|
807
|
+
X(oe(((m = a(g)) == null ? void 0 : m.account) ?? "未知"), 1)
|
|
808
808
|
];
|
|
809
809
|
}),
|
|
810
810
|
_: 1
|
|
@@ -812,27 +812,27 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
812
812
|
];
|
|
813
813
|
}),
|
|
814
814
|
dropMenu: o(() => [
|
|
815
|
-
h("div",
|
|
815
|
+
h("div", la, [
|
|
816
816
|
t(Tt, {
|
|
817
817
|
emptyColor: !0,
|
|
818
818
|
class: "menu-button",
|
|
819
|
-
onClickTrigger:
|
|
819
|
+
onClickTrigger: z,
|
|
820
820
|
modelValue: "退出登录",
|
|
821
821
|
buttonType: ""
|
|
822
822
|
})
|
|
823
823
|
])
|
|
824
824
|
]),
|
|
825
825
|
_: 1
|
|
826
|
-
})
|
|
826
|
+
}))
|
|
827
827
|
])
|
|
828
828
|
]),
|
|
829
829
|
_: 3
|
|
830
830
|
}),
|
|
831
831
|
t(s, { class: "client-body" }, {
|
|
832
832
|
default: o(() => [
|
|
833
|
-
t(
|
|
833
|
+
t(se, { class: "client-main" }, {
|
|
834
834
|
default: o(() => {
|
|
835
|
-
var
|
|
835
|
+
var j;
|
|
836
836
|
return [
|
|
837
837
|
t(d, { class: "client-aside" }, {
|
|
838
838
|
default: o(() => [
|
|
@@ -840,21 +840,21 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
840
840
|
]),
|
|
841
841
|
_: 1
|
|
842
842
|
}),
|
|
843
|
-
h("div",
|
|
844
|
-
Ce.value ? (r(), S(te, { key: 0 })) : (r(!0),
|
|
845
|
-
var
|
|
846
|
-
return r(),
|
|
843
|
+
h("div", ia, [
|
|
844
|
+
Ce.value ? (r(), S(te, { key: 0 })) : (r(!0), M(Be, { key: 1 }, De((j = a(Ae)(a(ae))) == null ? void 0 : j.filter((m) => m.comp !== "FormTop"), (m, le) => {
|
|
845
|
+
var re;
|
|
846
|
+
return r(), M("div", {
|
|
847
847
|
class: "item-view-content",
|
|
848
|
-
key:
|
|
848
|
+
key: le
|
|
849
849
|
}, [
|
|
850
|
-
((
|
|
850
|
+
((re = m == null ? void 0 : m.comp) == null ? void 0 : re.toUpperCase()) !== "TABLE" && m.name ? (r(), M("div", sa, oe(m.name), 1)) : N("", !0),
|
|
851
851
|
(r(), S(Ye(a(lt)(m.comp)), {
|
|
852
852
|
compName: m.name,
|
|
853
853
|
itemData: m == null ? void 0 : m.compData,
|
|
854
854
|
childItemData: m == null ? void 0 : m.itemChildData,
|
|
855
|
-
key: (m == null ? void 0 : m.id) ??
|
|
855
|
+
key: (m == null ? void 0 : m.id) ?? le,
|
|
856
856
|
onChange: a(rt),
|
|
857
|
-
index: (m == null ? void 0 : m.id) ??
|
|
857
|
+
index: (m == null ? void 0 : m.id) ?? le,
|
|
858
858
|
onContentChange: a(st),
|
|
859
859
|
onPageChange: a(it),
|
|
860
860
|
onRowClick: n
|
|
@@ -872,19 +872,19 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
872
872
|
]),
|
|
873
873
|
_: 3
|
|
874
874
|
})), [
|
|
875
|
-
[Se, a(
|
|
876
|
-
[Fe, a(
|
|
875
|
+
[Se, a(I) === "view"],
|
|
876
|
+
[Fe, a(ie)]
|
|
877
877
|
]),
|
|
878
878
|
h("div", null, [
|
|
879
879
|
t(St, {
|
|
880
|
-
visible:
|
|
881
|
-
onBeforeDestroy: u[3] || (u[3] = (
|
|
880
|
+
visible: B.value,
|
|
881
|
+
onBeforeDestroy: u[3] || (u[3] = (j) => B.value = !1),
|
|
882
882
|
style: { height: "700px", width: "1000px" }
|
|
883
883
|
}, {
|
|
884
884
|
default: o(() => [
|
|
885
885
|
t(He, {
|
|
886
886
|
ref_key: "threeModelRef",
|
|
887
|
-
ref:
|
|
887
|
+
ref: Q
|
|
888
888
|
}, null, 512)
|
|
889
889
|
]),
|
|
890
890
|
_: 1
|
|
@@ -893,7 +893,7 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
893
893
|
], 64);
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
|
-
}),
|
|
896
|
+
}), ua = /* @__PURE__ */ ye(ra, [["__scopeId", "data-v-3108f109"]]), ca = { class: "system-wrap" }, da = {
|
|
897
897
|
__name: "index",
|
|
898
898
|
props: {
|
|
899
899
|
windowConfig: {
|
|
@@ -913,76 +913,76 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
913
913
|
jsonContents: Array
|
|
914
914
|
},
|
|
915
915
|
emits: ["buildContent", "showChild"],
|
|
916
|
-
setup(
|
|
917
|
-
const e = Me(
|
|
916
|
+
setup(b, { emit: Z }) {
|
|
917
|
+
const e = Me(J), B = Ue(J), A = $e();
|
|
918
918
|
c(!1);
|
|
919
|
-
const
|
|
920
|
-
|
|
921
|
-
},
|
|
919
|
+
const L = c(!0), l = b, U = Z, V = (g) => {
|
|
920
|
+
U("showChild", g);
|
|
921
|
+
}, D = Re(() => {
|
|
922
922
|
switch (l == null ? void 0 : l.platform) {
|
|
923
923
|
case "browser":
|
|
924
|
-
return xt;
|
|
925
|
-
case "client":
|
|
926
924
|
return Pt;
|
|
925
|
+
case "client":
|
|
926
|
+
return Mt;
|
|
927
927
|
}
|
|
928
|
-
}),
|
|
929
|
-
const
|
|
930
|
-
|
|
931
|
-
|
|
928
|
+
}), K = (g) => {
|
|
929
|
+
const E = document.documentElement;
|
|
930
|
+
g == null || g.forEach((I) => {
|
|
931
|
+
E.style.setProperty(I.name, I.value);
|
|
932
932
|
});
|
|
933
933
|
};
|
|
934
|
-
|
|
935
|
-
|
|
934
|
+
O(() => l.platform, (g, E) => {
|
|
935
|
+
g && K(D.value);
|
|
936
936
|
}, { immediate: !0 });
|
|
937
|
-
const
|
|
938
|
-
|
|
937
|
+
const ce = () => {
|
|
938
|
+
U("buildContent");
|
|
939
939
|
};
|
|
940
|
-
return
|
|
940
|
+
return O(
|
|
941
941
|
() => [l == null ? void 0 : l.content, l == null ? void 0 : l.jsonContents],
|
|
942
942
|
async () => {
|
|
943
|
-
var
|
|
944
|
-
if (((
|
|
943
|
+
var I, W, ee, f;
|
|
944
|
+
if (((I = l == null ? void 0 : l.jsonContents) == null ? void 0 : I.length) > 0) {
|
|
945
945
|
e.setOriginalData(l == null ? void 0 : l.jsonContents);
|
|
946
946
|
return;
|
|
947
947
|
}
|
|
948
|
-
if (!(l != null && l.content) || ((
|
|
949
|
-
|
|
950
|
-
let
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
}),
|
|
948
|
+
if (!(l != null && l.content) || ((W = l == null ? void 0 : l.content) == null ? void 0 : W.length) === 0) return;
|
|
949
|
+
L.value = !0, A.setImportLoading(!0);
|
|
950
|
+
let g = [], E = [];
|
|
951
|
+
B.setSelectTitle([]), B.setSelectIndex(""), B.setSelectMenu(""), (f = (ee = l == null ? void 0 : l.content) == null ? void 0 : ee.filter((v) => v !== "")) == null || f.forEach((v) => {
|
|
952
|
+
E.push(wt(v));
|
|
953
|
+
}), g = E == null ? void 0 : E[0], await Bt(g), await dt(), e.setOriginalData(g), A.setImportLoading(!1);
|
|
954
954
|
},
|
|
955
955
|
{ deep: !0, immediate: !0 }
|
|
956
|
-
), (
|
|
957
|
-
|
|
956
|
+
), (g, E) => (r(), M("div", ca, [
|
|
957
|
+
b.platform === "browser" ? (r(), S(Wt, {
|
|
958
958
|
key: 0,
|
|
959
|
-
showButton:
|
|
959
|
+
showButton: b.showButton
|
|
960
960
|
}, {
|
|
961
961
|
default: o(() => [
|
|
962
|
-
ve(
|
|
962
|
+
ve(g.$slots, "default", {}, void 0, !0)
|
|
963
963
|
]),
|
|
964
964
|
_: 3
|
|
965
|
-
}, 8, ["showButton"])) : (r(), S(
|
|
965
|
+
}, 8, ["showButton"])) : (r(), S(ua, {
|
|
966
966
|
key: 1,
|
|
967
|
-
windowConfig:
|
|
968
|
-
showButton:
|
|
969
|
-
onBuildContent:
|
|
970
|
-
onShowChild:
|
|
967
|
+
windowConfig: b.windowConfig,
|
|
968
|
+
showButton: b.showButton,
|
|
969
|
+
onBuildContent: ce,
|
|
970
|
+
onShowChild: V
|
|
971
971
|
}, {
|
|
972
972
|
default: o(() => [
|
|
973
|
-
ve(
|
|
973
|
+
ve(g.$slots, "default", {}, void 0, !0)
|
|
974
974
|
]),
|
|
975
975
|
_: 3
|
|
976
976
|
}, 8, ["windowConfig", "showButton"]))
|
|
977
977
|
]));
|
|
978
978
|
}
|
|
979
|
-
},
|
|
979
|
+
}, ma = /* @__PURE__ */ ye(da, [["__scopeId", "data-v-5e89b0de"]]), pa = { class: "add-model-content" }, ha = {
|
|
980
980
|
key: 0,
|
|
981
981
|
class: "model-operate"
|
|
982
|
-
},
|
|
982
|
+
}, fa = { class: "model-select" }, _a = { class: "model-fill" }, ga = {
|
|
983
983
|
key: 1,
|
|
984
984
|
class: "model-view"
|
|
985
|
-
},
|
|
985
|
+
}, va = {
|
|
986
986
|
__name: "index",
|
|
987
987
|
props: {
|
|
988
988
|
mode: {
|
|
@@ -1011,131 +1011,131 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1011
1011
|
}
|
|
1012
1012
|
},
|
|
1013
1013
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
1014
|
-
setup(
|
|
1015
|
-
const e =
|
|
1014
|
+
setup(b, { emit: Z }) {
|
|
1015
|
+
const e = b, B = Z, A = c([]), L = c(0), l = c([]), U = c([]), V = c(0), D = Me(J), K = $e(J), { itemData: ce, originalData: g } = H(D), { activeMenuPath: E, platform: I } = H(K), W = c(null), ee = c(0), f = c([]);
|
|
1016
1016
|
c("");
|
|
1017
|
-
const
|
|
1018
|
-
|
|
1017
|
+
const v = c(0), Q = () => {
|
|
1018
|
+
B("buildContent");
|
|
1019
1019
|
};
|
|
1020
|
-
|
|
1020
|
+
O(
|
|
1021
1021
|
() => e == null ? void 0 : e.pageKey,
|
|
1022
1022
|
async () => {
|
|
1023
1023
|
if ((e == null ? void 0 : e.pageKey) !== "") {
|
|
1024
1024
|
let p = [];
|
|
1025
|
-
const
|
|
1026
|
-
|
|
1027
|
-
var
|
|
1025
|
+
const P = await bt(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), "", e == null ? void 0 : e.pageKey);
|
|
1026
|
+
P == null || P.forEach((R) => {
|
|
1027
|
+
var $, k, n, z, q, me;
|
|
1028
1028
|
if ((R == null ? void 0 : R.comp) === "Table") {
|
|
1029
|
-
let Ce = (n = (
|
|
1029
|
+
let Ce = (n = (k = ($ = R == null ? void 0 : R.compData) == null ? void 0 : $.find((T) => (T == null ? void 0 : T.key) === "header")) == null ? void 0 : k.contents) == null ? void 0 : n.map((T) => T == null ? void 0 : T.label), pe = (me = (q = (z = R == null ? void 0 : R.compData) == null ? void 0 : z.find((T) => (T == null ? void 0 : T.key) === "tableContents")) == null ? void 0 : q.contents) == null ? void 0 : me.map((T) => (T = T == null ? void 0 : T.filter((i) => !(i != null && i.id)), T));
|
|
1030
1030
|
pe == null || pe.forEach((T) => {
|
|
1031
1031
|
p.push(Rt(T, Ce == null ? void 0 : Ce.filter((i) => i !== "操作")));
|
|
1032
1032
|
});
|
|
1033
1033
|
}
|
|
1034
|
-
}),
|
|
1034
|
+
}), B("threeData", p);
|
|
1035
1035
|
}
|
|
1036
1036
|
},
|
|
1037
1037
|
{ deep: !0, immediate: !0 }
|
|
1038
1038
|
);
|
|
1039
1039
|
const fe = (p) => {
|
|
1040
|
-
|
|
1040
|
+
B("openThreeBuild", p);
|
|
1041
1041
|
};
|
|
1042
|
-
|
|
1042
|
+
O(
|
|
1043
1043
|
() => e == null ? void 0 : e.pathContent,
|
|
1044
1044
|
() => {
|
|
1045
|
-
(e == null ? void 0 : e.pathContent) !== "" &&
|
|
1045
|
+
(e == null ? void 0 : e.pathContent) !== "" && D.setSystemPath(e == null ? void 0 : e.pathContent);
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
1048
|
deep: !0,
|
|
1049
1049
|
immediate: !0
|
|
1050
1050
|
}
|
|
1051
1051
|
);
|
|
1052
|
-
const
|
|
1053
|
-
|
|
1054
|
-
},
|
|
1052
|
+
const ie = (p) => {
|
|
1053
|
+
B("contentChange", p);
|
|
1054
|
+
}, ne = (p) => {
|
|
1055
1055
|
var R;
|
|
1056
|
-
const
|
|
1057
|
-
var
|
|
1058
|
-
return (
|
|
1056
|
+
const P = (R = Ae(p == null ? void 0 : p.wholeValue)) == null ? void 0 : R.map(($) => {
|
|
1057
|
+
var k;
|
|
1058
|
+
return ($ == null ? void 0 : $.comp) === "Form" && ($.compData = (k = $.compData) == null ? void 0 : k.map((n) => ((n == null ? void 0 : n.key) === "formContent" && (n.contents = $t(n == null ? void 0 : n.contents)), n))), $;
|
|
1059
1059
|
});
|
|
1060
|
-
|
|
1061
|
-
originalContents:
|
|
1060
|
+
B("change", {
|
|
1061
|
+
originalContents: g.value,
|
|
1062
1062
|
currentContents: p == null ? void 0 : p.wholeValue,
|
|
1063
1063
|
editContent: p == null ? void 0 : p.editValue,
|
|
1064
|
-
arrayToContents:
|
|
1064
|
+
arrayToContents: P
|
|
1065
1065
|
});
|
|
1066
1066
|
};
|
|
1067
|
-
|
|
1067
|
+
O(
|
|
1068
1068
|
() => l.value,
|
|
1069
1069
|
() => {
|
|
1070
|
-
|
|
1070
|
+
v.value === l.value.length && l.value.length !== 0 && (A.value = l.value);
|
|
1071
1071
|
},
|
|
1072
1072
|
{ deep: !0, immediate: !0 }
|
|
1073
1073
|
);
|
|
1074
1074
|
const ke = () => {
|
|
1075
|
-
|
|
1075
|
+
W.value !== null && W.value.click();
|
|
1076
1076
|
}, de = async (p) => {
|
|
1077
|
-
const
|
|
1078
|
-
if (!
|
|
1079
|
-
new FileReader(), A.value = [], l.value = [],
|
|
1080
|
-
const R = Array.from(
|
|
1077
|
+
const P = p.target.files;
|
|
1078
|
+
if (!P) return;
|
|
1079
|
+
new FileReader(), A.value = [], l.value = [], v.value = P.length;
|
|
1080
|
+
const R = Array.from(P).map(async ($) => await new Promise((k) => {
|
|
1081
1081
|
const n = new FileReader();
|
|
1082
|
-
n.onload = (
|
|
1082
|
+
n.onload = (z) => {
|
|
1083
1083
|
try {
|
|
1084
|
-
l.value.push(
|
|
1085
|
-
} catch (
|
|
1086
|
-
console.error("解析失败:",
|
|
1084
|
+
l.value.push(z.target.result), ee.value++;
|
|
1085
|
+
} catch (q) {
|
|
1086
|
+
console.error("解析失败:", q);
|
|
1087
1087
|
return;
|
|
1088
1088
|
}
|
|
1089
|
-
}, n.onerror = () =>
|
|
1089
|
+
}, n.onerror = () => k(`读取 ${$.name} 失败`), n.readAsText($), p.target.value = "", W.value = null, L.value++;
|
|
1090
1090
|
}));
|
|
1091
1091
|
await Promise.all(R);
|
|
1092
1092
|
};
|
|
1093
|
-
return
|
|
1093
|
+
return O(
|
|
1094
1094
|
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
1095
1095
|
async () => {
|
|
1096
|
-
await dt(), A.value = e.content,
|
|
1096
|
+
await dt(), A.value = e.content, U.value = e == null ? void 0 : e.jsonContents;
|
|
1097
1097
|
},
|
|
1098
1098
|
{ deep: !0, immediate: !0 }
|
|
1099
|
-
),
|
|
1099
|
+
), O(
|
|
1100
1100
|
() => ee.value,
|
|
1101
1101
|
() => {
|
|
1102
1102
|
var p;
|
|
1103
|
-
((p = f.value) == null ? void 0 : p.length) !== 0 && (
|
|
1103
|
+
((p = f.value) == null ? void 0 : p.length) !== 0 && (D.setOriginalData(f.value), D.setItemData(f.value));
|
|
1104
1104
|
},
|
|
1105
1105
|
{ deep: !0, immediate: !0 }
|
|
1106
|
-
), (p,
|
|
1107
|
-
const R =
|
|
1108
|
-
return r(),
|
|
1109
|
-
(e == null ? void 0 : e.mode) === "edit" ? (r(),
|
|
1110
|
-
h("div",
|
|
1106
|
+
), (p, P) => {
|
|
1107
|
+
const R = w("svg-icon"), $ = w("el-button");
|
|
1108
|
+
return r(), M("div", pa, [
|
|
1109
|
+
(e == null ? void 0 : e.mode) === "edit" ? (r(), M("div", ha, [
|
|
1110
|
+
h("div", fa, [
|
|
1111
1111
|
t(je)
|
|
1112
1112
|
]),
|
|
1113
|
-
(r(),
|
|
1113
|
+
(r(), M("div", {
|
|
1114
1114
|
class: "model-show",
|
|
1115
|
-
key:
|
|
1115
|
+
key: V.value
|
|
1116
1116
|
}, [
|
|
1117
1117
|
t(Ve)
|
|
1118
1118
|
])),
|
|
1119
|
-
h("div",
|
|
1119
|
+
h("div", _a, [
|
|
1120
1120
|
t(Ne)
|
|
1121
1121
|
])
|
|
1122
|
-
])) :
|
|
1123
|
-
(e == null ? void 0 : e.mode) === "view" ? (r(),
|
|
1124
|
-
(r(), S(
|
|
1125
|
-
showButton:
|
|
1126
|
-
platform: a(
|
|
1122
|
+
])) : N("", !0),
|
|
1123
|
+
(e == null ? void 0 : e.mode) === "view" ? (r(), M("div", ga, [
|
|
1124
|
+
(r(), S(ma, {
|
|
1125
|
+
showButton: b.showButton,
|
|
1126
|
+
platform: a(I),
|
|
1127
1127
|
content: A.value,
|
|
1128
|
-
onChange:
|
|
1129
|
-
jsonContents:
|
|
1130
|
-
onContentChange:
|
|
1131
|
-
onBuildContent:
|
|
1132
|
-
key:
|
|
1128
|
+
onChange: ne,
|
|
1129
|
+
jsonContents: U.value,
|
|
1130
|
+
onContentChange: ie,
|
|
1131
|
+
onBuildContent: Q,
|
|
1132
|
+
key: V.value,
|
|
1133
1133
|
onShowChild: fe
|
|
1134
1134
|
}, {
|
|
1135
1135
|
default: o(() => {
|
|
1136
|
-
var
|
|
1136
|
+
var k;
|
|
1137
1137
|
return [
|
|
1138
|
-
((
|
|
1138
|
+
((k = e == null ? void 0 : e.jsonContents) == null ? void 0 : k.length) === 0 && (e != null && e.showButton) ? (r(), S($, {
|
|
1139
1139
|
key: 0,
|
|
1140
1140
|
id: "transparentBgButton",
|
|
1141
1141
|
onClick: ke
|
|
@@ -1144,30 +1144,30 @@ const ht = /* @__PURE__ */ ye(Ct, [["render", Dt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1144
1144
|
t(R, { name: "import" })
|
|
1145
1145
|
]),
|
|
1146
1146
|
default: o(() => [
|
|
1147
|
-
(r(),
|
|
1147
|
+
(r(), M("input", {
|
|
1148
1148
|
type: "file",
|
|
1149
|
-
key:
|
|
1149
|
+
key: L.value,
|
|
1150
1150
|
ref_key: "fileInput",
|
|
1151
|
-
ref:
|
|
1151
|
+
ref: W,
|
|
1152
1152
|
accept: ".txt, .inm, .iml, .imd",
|
|
1153
1153
|
onChange: de,
|
|
1154
1154
|
style: { display: "none" },
|
|
1155
1155
|
multiple: ""
|
|
1156
1156
|
}, null, 32)),
|
|
1157
|
-
|
|
1157
|
+
P[0] || (P[0] = X(" 导入模型 "))
|
|
1158
1158
|
]),
|
|
1159
1159
|
_: 1,
|
|
1160
1160
|
__: [0]
|
|
1161
|
-
})) :
|
|
1161
|
+
})) : N("", !0)
|
|
1162
1162
|
];
|
|
1163
1163
|
}),
|
|
1164
1164
|
_: 1
|
|
1165
1165
|
}, 8, ["showButton", "platform", "content", "jsonContents"]))
|
|
1166
|
-
])) :
|
|
1166
|
+
])) : N("", !0)
|
|
1167
1167
|
]);
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
|
-
},
|
|
1170
|
+
}, Na = /* @__PURE__ */ ye(va, [["__scopeId", "data-v-b9caa997"]]);
|
|
1171
1171
|
export {
|
|
1172
|
-
|
|
1172
|
+
Na as default
|
|
1173
1173
|
};
|