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