ss-component-new 1.1.511 → 1.1.513
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-Btfqm3Aj.js → index-0qsMaBmh.js} +1 -1
- package/dist/{index-DnGhhxPP.js → index-B0llR9_z.js} +1 -1
- package/dist/{index-BSC7EQfO.js → index-B9F6l0zb.js} +2 -2
- package/dist/{index-Oixs__9V.cjs → index-BeWcmtTy.cjs} +1 -1
- package/dist/{index-Bz3SW9qv.js → index-BwkUqDo1.js} +1 -1
- package/dist/{index-C3Lo66u2.js → index-By8ctQrJ.js} +2 -2
- package/dist/index-C1C3POgc.cjs +1 -0
- package/dist/{index-BDmXVjP1.cjs → index-C4HIdk7g.cjs} +1 -1
- package/dist/index-C4Ht4Ux1.js +1508 -0
- package/dist/{index-Bsluws3x.js → index-CGL_mhqS.js} +1 -1
- package/dist/{index-DQxqAo5T.cjs → index-CMxBxHE6.cjs} +1 -1
- package/dist/{index-B72kja43.js → index-Coe89zD8.js} +2 -2
- package/dist/{index-Cd0szVvZ.cjs → index-CsdYgAst.cjs} +1 -1
- package/dist/{index-LCDlyiVS.js → index-CtUe8YAg.js} +1 -1
- package/dist/{index-DLfWd1qr.js → index-CtY-GovO.js} +1 -1
- package/dist/{index-Ci1hpo3R.cjs → index-D7RatvOA.cjs} +1 -1
- package/dist/{index-D8QyJVl9.cjs → index-DOPbDWwi.cjs} +1 -1
- package/dist/index-DOdeZnag.cjs +1 -0
- package/dist/{index-3GfpOmBm.cjs → index-DaKszXxT.cjs} +1 -1
- package/dist/{index-DRXd1T3-.cjs → index-DezcQgvT.cjs} +1 -1
- package/dist/{index-BBFJJ4tl.js → index-DoaePomj.js} +1 -1
- package/dist/index-DpQkeVJC.cjs +1 -0
- package/dist/{index-NJKX8un9.js → index-DzBnQ8Js.js} +163 -163
- package/dist/{index-BY-71neG.js → index-MkPNp_9U.js} +2 -2
- package/dist/index-NfljvcSC.js +1159 -0
- package/dist/{index-D42emtHS.cjs → index-RdZQe-zJ.cjs} +1 -1
- package/dist/{index-CRSpuXYg.cjs → index-XxBRvAwN.cjs} +1 -1
- package/dist/{index-t25R8oz_.js → index-_8PVb_am.js} +34 -26
- package/dist/{index-CbWlMlxi.cjs → index-hirP8IYA.cjs} +1 -1
- package/dist/{index-D9ZIJbHw.cjs → index-lBO5Mf5F.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-BFaKxxEb.cjs → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-CmhcgHDU.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-BZQSdupd.js → index.vue_vue_type_style_index_0_scoped_b9caa997_lang-DO9GRy4C.js} +4230 -4223
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang--3mE_B9B.js → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-C9i3W1DI.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-B2bfU2M4.cjs → index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang-MDy8S6k3.cjs} +1 -1
- package/dist/{main-1yb7Pay5.js → main-BOW1Cc6K.js} +2 -2
- package/dist/{main-DkeO8sGR.cjs → main-CugqLD2C.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +4 -4
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/package.json +1 -1
- package/dist/index-9keTbNci.js +0 -1490
- package/dist/index-BBQrfTQg.cjs +0 -1
- package/dist/index-C3G2rcyE.cjs +0 -1
- package/dist/index-CT9N59g0.cjs +0 -1
- package/dist/index-DF8AKNJv.js +0 -1135
package/dist/index-DF8AKNJv.js
DELETED
|
@@ -1,1135 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as y, createBlock as b, openBlock as s, withCtx as o, createVNode as e, createElementVNode as h, toDisplayString as te, ref as c, onMounted as ft, watch as I, createElementBlock as A, Fragment as Ce, renderList as Me, createCommentVNode as D, normalizeStyle as _t, defineComponent as Xe, computed as ke, resolveDirective as qe, withDirectives as Fe, unref as t, createTextVNode as L, renderSlot as he, vShow as Re, resolveDynamicComponent as He } from "vue";
|
|
2
|
-
import { m as Pe, a as xe, b as De } from "./index-B72kja43.js";
|
|
3
|
-
import Je from "./index-Bsluws3x.js";
|
|
4
|
-
import { _ as vt, o as We, c as Qe, a as Ye, b as Ze, d as et, s as ee, g as tt, e as at, f as ot, h as nt, i as gt, j as yt } from "./index.vue_vue_type_style_index_0_scoped_f69cf49c_lang-BZQSdupd.js";
|
|
5
|
-
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as X, s as G, u as Te, e as lt, c as be, d as ye, g as Ct } from "./menu-BPLW-L8U.js";
|
|
7
|
-
import { u as st } from "./login-CROQ1_RU.js";
|
|
8
|
-
import { S as pe } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { u as Se } from "./threeModel.vue_vue_type_style_index_0_scoped_4a248817_lang-DZ9BnDSy.js";
|
|
10
|
-
import { u as je, a as wt, l as it } from "./index-9keTbNci.js";
|
|
11
|
-
import { s as rt, _ as Bt } from "./index-C3Lo66u2.js";
|
|
12
|
-
import { _ as ut } from "./index.vue_vue_type_script_setup_true_lang-D0IUrek5.js";
|
|
13
|
-
import kt from "./threeModel-CFiMikXU.js";
|
|
14
|
-
import { u as Ft } from "./index-NJKX8un9.js";
|
|
15
|
-
import { d as Ge } from "./index-DzjXzyVN.js";
|
|
16
|
-
import "vue-router";
|
|
17
|
-
import { a as Rt } from "./array-6rfRfZoy.js";
|
|
18
|
-
import { c as bt, b as Tt } from "./index.vue_vue_type_style_index_0_scoped_ed9fe0f5_lang--3mE_B9B.js";
|
|
19
|
-
function St(w, W, a, B, S, V) {
|
|
20
|
-
const n = y("svg-icon"), M = y("ssMenu");
|
|
21
|
-
return s(), b(M, {
|
|
22
|
-
mode: w.mode,
|
|
23
|
-
menuList: w.renderMenuList,
|
|
24
|
-
onClickMenu: w.clickMenu,
|
|
25
|
-
onOpenMenu: w.openMenu,
|
|
26
|
-
onCloseMenu: w.closeMenu
|
|
27
|
-
}, {
|
|
28
|
-
title: o(({ menu: T }) => [
|
|
29
|
-
e(n, {
|
|
30
|
-
name: T.icon ?? "Fold",
|
|
31
|
-
style: { width: "clamp(16px, 1.25rem, 20px)", height: "clamp(16px, 1.25rem, 20px)", "margin-right": "8px" }
|
|
32
|
-
}, null, 8, ["name"]),
|
|
33
|
-
h("span", null, te(T.title ?? ""), 1)
|
|
34
|
-
]),
|
|
35
|
-
_: 1
|
|
36
|
-
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
37
|
-
}
|
|
38
|
-
const ct = /* @__PURE__ */ fe(vt, [["render", St], ["__scopeId", "data-v-5c2d7ed2"]]), At = { class: "bread-content" }, $t = ["onClick"], Mt = {
|
|
39
|
-
key: 0,
|
|
40
|
-
class: "split-title"
|
|
41
|
-
}, Pt = {
|
|
42
|
-
__name: "index",
|
|
43
|
-
props: {
|
|
44
|
-
breadArray: {
|
|
45
|
-
type: Array,
|
|
46
|
-
default: () => []
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
emits: ["click"],
|
|
50
|
-
setup(w, { emit: W }) {
|
|
51
|
-
const a = w, B = c([]), S = W;
|
|
52
|
-
ft(() => {
|
|
53
|
-
B.value = a == null ? void 0 : a.breadArray;
|
|
54
|
-
}), I(
|
|
55
|
-
() => a == null ? void 0 : a.breadArray,
|
|
56
|
-
() => {
|
|
57
|
-
B.value = a == null ? void 0 : a.breadArray;
|
|
58
|
-
},
|
|
59
|
-
{ deep: !0, immediate: !0 }
|
|
60
|
-
);
|
|
61
|
-
const V = (n) => {
|
|
62
|
-
S("click", n);
|
|
63
|
-
};
|
|
64
|
-
return (n, M) => (s(), A("div", At, [
|
|
65
|
-
(s(!0), A(Ce, null, Me(B.value, (T, j) => {
|
|
66
|
-
var z;
|
|
67
|
-
return s(), A("div", {
|
|
68
|
-
key: j,
|
|
69
|
-
class: "bread-item"
|
|
70
|
-
}, [
|
|
71
|
-
h("div", {
|
|
72
|
-
class: "bread-title",
|
|
73
|
-
onClick: (ie) => V(T),
|
|
74
|
-
style: _t({ opacity: ((z = B.value) == null ? void 0 : z.length) - 1 === j ? "0.7" : "1" })
|
|
75
|
-
}, te(T.value), 13, $t),
|
|
76
|
-
j !== B.value.length - 1 && Array.isArray(B.value) ? (s(), A("div", Mt, te("/"))) : D("", !0)
|
|
77
|
-
]);
|
|
78
|
-
}), 128))
|
|
79
|
-
]));
|
|
80
|
-
}
|
|
81
|
-
}, dt = /* @__PURE__ */ fe(Pt, [["__scopeId", "data-v-ded7e2bd"]]), xt = { class: "structure-buttons" }, Dt = { class: "structure-paths" }, jt = { class: "client-header-user" }, Nt = { class: "model-select" }, Vt = { class: "model-show" }, Ut = { class: "model-fill" }, Ot = { class: "client-header-menu" }, Et = { class: "client-header-user" }, It = { class: "drop-menu" }, Lt = { class: "client-main-operate" }, zt = {
|
|
82
|
-
key: 0,
|
|
83
|
-
class: "item-view-group"
|
|
84
|
-
}, Kt = /* @__PURE__ */ Xe({
|
|
85
|
-
__name: "index2",
|
|
86
|
-
props: {
|
|
87
|
-
windowConfig: {
|
|
88
|
-
type: Object,
|
|
89
|
-
default: () => {
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
showButton: {
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default: !0
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
setup(w) {
|
|
98
|
-
const W = je(X), { selectTitle: a } = G(W), B = st(), { loginUserInfo: S } = G(B), V = Se(X), { isEdit: n, routeToChildPath: M } = G(V), T = Te(X), { importLoading: j, activeTopMenuPath: z, activeAsideMenu: ie } = G(T), _ = c(""), N = ke(() => ie.value.isRouter), q = () => {
|
|
99
|
-
sessionStorage.clear(), window.location.reload();
|
|
100
|
-
}, U = () => {
|
|
101
|
-
T.setActiveMenuPath(M.value), V.setRouteToChildPath("");
|
|
102
|
-
};
|
|
103
|
-
return (k, p) => {
|
|
104
|
-
const O = y("el-button"), _e = y("el-avatar"), Q = y("el-header"), re = y("el-container"), de = y("el-icon"), ve = y("el-input"), ue = y("ss-button"), f = y("el-aside"), K = y("router-view"), Y = y("el-main"), P = qe("loading");
|
|
105
|
-
return s(), A(Ce, null, [
|
|
106
|
-
Fe(e(re, { class: "client-container" }, {
|
|
107
|
-
default: o(() => [
|
|
108
|
-
e(Q, { class: "client-structure-header" }, {
|
|
109
|
-
default: o(() => {
|
|
110
|
-
var R;
|
|
111
|
-
return [
|
|
112
|
-
h("div", xt, [
|
|
113
|
-
e(O, {
|
|
114
|
-
id: "transparentBgButton",
|
|
115
|
-
onClick: t(We)
|
|
116
|
-
}, {
|
|
117
|
-
default: o(() => p[2] || (p[2] = [
|
|
118
|
-
L(" 返回页面 ")
|
|
119
|
-
])),
|
|
120
|
-
_: 1,
|
|
121
|
-
__: [2]
|
|
122
|
-
}, 8, ["onClick"]),
|
|
123
|
-
e(O, {
|
|
124
|
-
id: "transparentBgButton",
|
|
125
|
-
onClick: p[0] || (p[0] = (l) => {
|
|
126
|
-
var H, ae;
|
|
127
|
-
return t(Qe)((ae = (H = t(a)) == null ? void 0 : H.map((ge) => ge.value)) == null ? void 0 : ae.join("/"));
|
|
128
|
-
})
|
|
129
|
-
}, {
|
|
130
|
-
icon: o(() => [
|
|
131
|
-
e(pe, { name: "Store" })
|
|
132
|
-
]),
|
|
133
|
-
default: o(() => [
|
|
134
|
-
p[3] || (p[3] = L(" 保存页面 "))
|
|
135
|
-
]),
|
|
136
|
-
_: 1,
|
|
137
|
-
__: [3]
|
|
138
|
-
})
|
|
139
|
-
]),
|
|
140
|
-
h("div", Dt, [
|
|
141
|
-
(s(), b(dt, {
|
|
142
|
-
key: t(a),
|
|
143
|
-
breadArray: t(a),
|
|
144
|
-
onClick: t(Ye)
|
|
145
|
-
}, null, 8, ["breadArray", "onClick"]))
|
|
146
|
-
]),
|
|
147
|
-
h("div", jt, [
|
|
148
|
-
he(k.$slots, "default", {}, void 0, !0),
|
|
149
|
-
e(_e, {
|
|
150
|
-
size: 35,
|
|
151
|
-
src: (R = t(S)) == null ? void 0 : R.avatarUrl
|
|
152
|
-
}, {
|
|
153
|
-
default: o(() => {
|
|
154
|
-
var l;
|
|
155
|
-
return [
|
|
156
|
-
L(te(((l = t(S)) == null ? void 0 : l.account) ?? "未知"), 1)
|
|
157
|
-
];
|
|
158
|
-
}),
|
|
159
|
-
_: 1
|
|
160
|
-
}, 8, ["src"])
|
|
161
|
-
])
|
|
162
|
-
];
|
|
163
|
-
}),
|
|
164
|
-
_: 3
|
|
165
|
-
}),
|
|
166
|
-
t(n) === "edit" ? (s(), b(re, {
|
|
167
|
-
key: 0,
|
|
168
|
-
class: "model-operate",
|
|
169
|
-
style: { "margin-top": "10px", height: "0px" }
|
|
170
|
-
}, {
|
|
171
|
-
default: o(() => [
|
|
172
|
-
h("div", Nt, [
|
|
173
|
-
e(Pe)
|
|
174
|
-
]),
|
|
175
|
-
h("div", Vt, [
|
|
176
|
-
e(xe)
|
|
177
|
-
]),
|
|
178
|
-
h("div", Ut, [
|
|
179
|
-
e(De)
|
|
180
|
-
])
|
|
181
|
-
]),
|
|
182
|
-
_: 1
|
|
183
|
-
})) : D("", !0)
|
|
184
|
-
]),
|
|
185
|
-
_: 3
|
|
186
|
-
}, 512), [
|
|
187
|
-
[Re, t(n) === "edit"]
|
|
188
|
-
]),
|
|
189
|
-
Fe((s(), b(re, {
|
|
190
|
-
class: "client-container",
|
|
191
|
-
"element-loading-text": "正在加载页面数据..."
|
|
192
|
-
}, {
|
|
193
|
-
default: o(() => [
|
|
194
|
-
e(Q, { class: "client-header" }, {
|
|
195
|
-
default: o(() => [
|
|
196
|
-
p[6] || (p[6] = h("div", { class: "client-header-logo" }, " ISIP ", -1)),
|
|
197
|
-
h("div", Ot, [
|
|
198
|
-
e(ct, { mode: "horizontal" })
|
|
199
|
-
]),
|
|
200
|
-
h("div", Et, [
|
|
201
|
-
e(ve, {
|
|
202
|
-
modelValue: _.value,
|
|
203
|
-
"onUpdate:modelValue": p[1] || (p[1] = (R) => _.value = R),
|
|
204
|
-
clearable: "",
|
|
205
|
-
placeholder: "搜索",
|
|
206
|
-
style: { width: "130px" }
|
|
207
|
-
}, {
|
|
208
|
-
prefix: o(() => [
|
|
209
|
-
e(de, { class: "el-input__icon" }, {
|
|
210
|
-
default: o(() => [
|
|
211
|
-
e(t(lt))
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
})
|
|
215
|
-
]),
|
|
216
|
-
_: 1
|
|
217
|
-
}, 8, ["modelValue"]),
|
|
218
|
-
w.showButton ? (s(), b(O, {
|
|
219
|
-
key: 0,
|
|
220
|
-
id: "transparentBgButton",
|
|
221
|
-
onClick: t(Ze)
|
|
222
|
-
}, {
|
|
223
|
-
icon: o(() => [
|
|
224
|
-
e(pe, { name: "App" })
|
|
225
|
-
]),
|
|
226
|
-
default: o(() => [
|
|
227
|
-
p[4] || (p[4] = L(" 生成APP "))
|
|
228
|
-
]),
|
|
229
|
-
_: 1,
|
|
230
|
-
__: [4]
|
|
231
|
-
}, 8, ["onClick"])) : D("", !0),
|
|
232
|
-
w.showButton && t(n) === "view" ? (s(), b(O, {
|
|
233
|
-
key: 1,
|
|
234
|
-
id: "transparentBgButton",
|
|
235
|
-
onClick: t(et)
|
|
236
|
-
}, {
|
|
237
|
-
icon: o(() => [
|
|
238
|
-
e(pe, { name: "write" })
|
|
239
|
-
]),
|
|
240
|
-
default: o(() => [
|
|
241
|
-
p[5] || (p[5] = L(" 修改布局 "))
|
|
242
|
-
]),
|
|
243
|
-
_: 1,
|
|
244
|
-
__: [5]
|
|
245
|
-
}, 8, ["onClick"])) : D("", !0),
|
|
246
|
-
he(k.$slots, "default", {}, void 0, !0),
|
|
247
|
-
e(rt, null, {
|
|
248
|
-
dropTitle: o(() => {
|
|
249
|
-
var R;
|
|
250
|
-
return [
|
|
251
|
-
e(ut, {
|
|
252
|
-
size: "35",
|
|
253
|
-
avatarUrl: (R = t(S)) == null ? void 0 : R.avatarUrl,
|
|
254
|
-
showCropper: !1,
|
|
255
|
-
banClick: !0
|
|
256
|
-
}, {
|
|
257
|
-
avatarDefault: o(() => {
|
|
258
|
-
var l;
|
|
259
|
-
return [
|
|
260
|
-
L(te(((l = t(S)) == null ? void 0 : l.account) ?? "未知"), 1)
|
|
261
|
-
];
|
|
262
|
-
}),
|
|
263
|
-
_: 1
|
|
264
|
-
}, 8, ["avatarUrl"])
|
|
265
|
-
];
|
|
266
|
-
}),
|
|
267
|
-
dropMenu: o(() => [
|
|
268
|
-
h("div", It, [
|
|
269
|
-
e(ue, {
|
|
270
|
-
emptyColor: !0,
|
|
271
|
-
class: "menu-button",
|
|
272
|
-
onClickTrigger: q,
|
|
273
|
-
modelValue: "退出登录",
|
|
274
|
-
buttonType: ""
|
|
275
|
-
})
|
|
276
|
-
])
|
|
277
|
-
]),
|
|
278
|
-
_: 1
|
|
279
|
-
})
|
|
280
|
-
])
|
|
281
|
-
]),
|
|
282
|
-
_: 3,
|
|
283
|
-
__: [6]
|
|
284
|
-
}),
|
|
285
|
-
e(re, { class: "client-body" }, {
|
|
286
|
-
default: o(() => [
|
|
287
|
-
e(Y, { class: "client-main" }, {
|
|
288
|
-
default: o(() => {
|
|
289
|
-
var R;
|
|
290
|
-
return [
|
|
291
|
-
e(f, { class: "client-aside" }, {
|
|
292
|
-
default: o(() => [
|
|
293
|
-
e(Je, { mode: "vertical" })
|
|
294
|
-
]),
|
|
295
|
-
_: 1
|
|
296
|
-
}),
|
|
297
|
-
h("div", Lt, [
|
|
298
|
-
N.value ? (s(), b(K, { key: 0 })) : D("", !0),
|
|
299
|
-
t(M) !== "" ? (s(), b(ue, {
|
|
300
|
-
key: 1,
|
|
301
|
-
class: "calculator-content back-content",
|
|
302
|
-
onClickTrigger: U,
|
|
303
|
-
modelValue: "返回"
|
|
304
|
-
})) : D("", !0),
|
|
305
|
-
N.value ? D("", !0) : (s(!0), A(Ce, { key: 2 }, Me((R = t(be)(t(ee))) == null ? void 0 : R.filter((l) => l.comp !== "FormTop"), (l, H) => {
|
|
306
|
-
var ae;
|
|
307
|
-
return s(), A("div", {
|
|
308
|
-
class: "item-view-content",
|
|
309
|
-
key: H
|
|
310
|
-
}, [
|
|
311
|
-
((ae = l == null ? void 0 : l.comp) == null ? void 0 : ae.toUpperCase()) !== "TABLE" && l.name ? (s(), A("div", zt, te(l.name), 1)) : D("", !0),
|
|
312
|
-
(s(), b(He(t(tt)(l.comp)), {
|
|
313
|
-
compName: l.name,
|
|
314
|
-
itemData: l == null ? void 0 : l.compData,
|
|
315
|
-
childItemData: l == null ? void 0 : l.itemChildData,
|
|
316
|
-
key: (l == null ? void 0 : l.id) ?? H,
|
|
317
|
-
onChange: t(nt),
|
|
318
|
-
index: (l == null ? void 0 : l.id) ?? H,
|
|
319
|
-
onContentChange: t(ot),
|
|
320
|
-
onPageChange: t(at)
|
|
321
|
-
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
322
|
-
]);
|
|
323
|
-
}), 128))
|
|
324
|
-
])
|
|
325
|
-
];
|
|
326
|
-
}),
|
|
327
|
-
_: 1
|
|
328
|
-
})
|
|
329
|
-
]),
|
|
330
|
-
_: 1
|
|
331
|
-
})
|
|
332
|
-
]),
|
|
333
|
-
_: 3
|
|
334
|
-
})), [
|
|
335
|
-
[Re, t(n) === "view"],
|
|
336
|
-
[P, t(j)]
|
|
337
|
-
])
|
|
338
|
-
], 64);
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
}), Gt = /* @__PURE__ */ fe(Kt, [["__scopeId", "data-v-1c30d678"]]), Ae = [
|
|
342
|
-
{
|
|
343
|
-
key: "FitCurve_Eleven",
|
|
344
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
|
|
345
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35326658522693",
|
|
346
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
key: "MakeShape",
|
|
350
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35018179530309",
|
|
351
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35018179530309",
|
|
352
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018179530309/outputResources"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
key: "FillEmpty",
|
|
356
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35018289382469",
|
|
357
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35018289382469",
|
|
358
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018289382469/outputResources"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
key: "ToolPathFakeFast",
|
|
362
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35484063607109",
|
|
363
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35484063607109",
|
|
364
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35484063607109/outputResources"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
key: "FiveAxisCalculator",
|
|
368
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35237389477957",
|
|
369
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35237389477957",
|
|
370
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35237389477957/outputResources"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
key: "DetectionAlgorithm",
|
|
374
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35459977498949",
|
|
375
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35459977498949",
|
|
376
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35459977498949/outputResources"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
key: "FeatureSelectionAlgorithm_FFS",
|
|
380
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35277984187973",
|
|
381
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35277984187973",
|
|
382
|
-
download: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
key: "AIParameterOptimization",
|
|
386
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35788169784389",
|
|
387
|
-
resources: "http://139.196.154.85:20024/api/algorithmRun/allFilesByFolderName/35788169784389"
|
|
388
|
-
}
|
|
389
|
-
], $e = [
|
|
390
|
-
{
|
|
391
|
-
key: "型线生成",
|
|
392
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources/sampling_points_20.cpt"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
key: "曲面生成",
|
|
396
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018179530309/outputResources/output.obj"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
key: "叶片生成",
|
|
400
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35018289382469/outputResources/output_TwoSections_completed.obj"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
key: "轨迹规划",
|
|
404
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35484063607109/outputResources/complete_data.txt"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
key: "加工规划",
|
|
408
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35237389477957/outputResources/NC_BC.NC"
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
key: "产品检测",
|
|
412
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35459977498949/outputResources/source.pcd,http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35459977498949/outputResources/target.pcd"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
key: "参数筛选训练方法",
|
|
416
|
-
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
|
|
417
|
-
}
|
|
418
|
-
// {
|
|
419
|
-
// key: "参数筛选推理",
|
|
420
|
-
// value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
|
|
421
|
-
// }
|
|
422
|
-
], Xt = { class: "structure-buttons" }, qt = { class: "structure-paths" }, Ht = { class: "client-header-user" }, Jt = { class: "model-select" }, Wt = { class: "model-show" }, Qt = { class: "model-fill" }, Yt = { class: "client-header-menu" }, Zt = { class: "client-header-user" }, ea = { class: "drop-menu" }, ta = { class: "client-main-operate" }, aa = {
|
|
423
|
-
key: 0,
|
|
424
|
-
class: "item-view-group"
|
|
425
|
-
}, oa = /* @__PURE__ */ Xe({
|
|
426
|
-
__name: "index2",
|
|
427
|
-
props: {
|
|
428
|
-
windowConfig: {
|
|
429
|
-
type: Object,
|
|
430
|
-
default: () => {
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
showButton: {
|
|
434
|
-
type: Boolean,
|
|
435
|
-
default: !0
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
emits: ["showChild", "buildContent"],
|
|
439
|
-
setup(w, { emit: W }) {
|
|
440
|
-
const a = je(X);
|
|
441
|
-
c(0), c(!1);
|
|
442
|
-
const { selectTitle: B } = G(a), S = c(!1), V = c(!1);
|
|
443
|
-
c(!1);
|
|
444
|
-
const n = wt(X), M = c(!1), { tableShowThree: T } = G(n), j = st(), { loginUserInfo: z } = G(j);
|
|
445
|
-
c(null);
|
|
446
|
-
const ie = Se(X), { isEdit: _ } = G(ie), N = Te(X), q = Ft(X), { objUrl: U, blobUrls: k } = G(q), p = c(null);
|
|
447
|
-
c(!1);
|
|
448
|
-
const O = c(!0);
|
|
449
|
-
c(!1);
|
|
450
|
-
const { importLoading: _e, activeMenuPath: Q, activeTopMenuPath: re, platName: de, activeAsideMenu: ve } = G(N), ue = c(!1), f = c(!1), K = c(!1), Y = W;
|
|
451
|
-
I(() => Q.value, async (i) => {
|
|
452
|
-
i && (K.value = !0), i === "弯管仿真加工管理/仿真动画生成" ? ue.value = !0 : ue.value = !1, i === "弯管仿真加工管理/程序输出" ? f.value = !0 : f.value = !1, $e != null && $e.find((u) => {
|
|
453
|
-
var C;
|
|
454
|
-
return (u == null ? void 0 : u.key) === ((C = i == null ? void 0 : i.split("/")) == null ? void 0 : C[(i == null ? void 0 : i.split("/").length) - 1]);
|
|
455
|
-
}) ? M.value = !0 : M.value = !1;
|
|
456
|
-
}, { immediate: !0 });
|
|
457
|
-
const P = (i) => {
|
|
458
|
-
if ((i == null ? void 0 : i.type) === "table") {
|
|
459
|
-
let u = Object.values(i == null ? void 0 : i.row), C = u == null ? void 0 : u.find((v) => typeof v == "string" && ((v == null ? void 0 : v.includes(".urdf")) || (v == null ? void 0 : v.includes(".obj"))));
|
|
460
|
-
C && Y("showChild", {
|
|
461
|
-
url: C,
|
|
462
|
-
row: i == null ? void 0 : i.row
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
}, R = () => {
|
|
466
|
-
sessionStorage.clear(), window.location.reload();
|
|
467
|
-
}, l = async (i) => {
|
|
468
|
-
var v, F, g, r, E, J, m;
|
|
469
|
-
const u = (v = i == null ? void 0 : i.split("/")) == null ? void 0 : v[0], C = await Ct({
|
|
470
|
-
key: {
|
|
471
|
-
type: "mainEquip",
|
|
472
|
-
systemKey: sessionStorage.getItem("systemKey"),
|
|
473
|
-
pageKey: u
|
|
474
|
-
}
|
|
475
|
-
});
|
|
476
|
-
return ((F = C == null ? void 0 : C.data) == null ? void 0 : F.type) === "success" ? ((m = (J = (E = (r = (g = C == null ? void 0 : C.data) == null ? void 0 : g.result) == null ? void 0 : r[0]) == null ? void 0 : E.value) == null ? void 0 : J.tableData) == null ? void 0 : m.隐藏三维显示) !== !0 : !0;
|
|
477
|
-
};
|
|
478
|
-
I(
|
|
479
|
-
() => ee.value,
|
|
480
|
-
() => {
|
|
481
|
-
var i, u, C, v, F;
|
|
482
|
-
if (((i = ee.value) == null ? void 0 : i.length) === 2 && ((u = ee.value) != null && u.find((g) => (g == null ? void 0 : g.name) === "输入")) && ((C = ee.value) != null && C.find((g) => (g == null ? void 0 : g.name) === "输出"))) {
|
|
483
|
-
const g = (v = ee.value) == null ? void 0 : v.find((r) => (r == null ? void 0 : r.name) === "输出");
|
|
484
|
-
V.value = ((F = g == null ? void 0 : g.comp) == null ? void 0 : F.toUpperCase()) === "FORM", S.value = !0;
|
|
485
|
-
} else
|
|
486
|
-
S.value = !1, V.value = !1;
|
|
487
|
-
},
|
|
488
|
-
{ deep: !0, immediate: !0 }
|
|
489
|
-
), I(
|
|
490
|
-
() => Q.value,
|
|
491
|
-
async () => {
|
|
492
|
-
Q.value && (O.value = await l(Q.value));
|
|
493
|
-
},
|
|
494
|
-
{ deep: !0, immediate: !0 }
|
|
495
|
-
), I(
|
|
496
|
-
() => [U.value, p.value],
|
|
497
|
-
() => {
|
|
498
|
-
var i;
|
|
499
|
-
((i = U.value) == null ? void 0 : i.length) > 0 && p.value && p.value.addModelsFromUrls(U.value);
|
|
500
|
-
},
|
|
501
|
-
{ immediate: !0, deep: !0 }
|
|
502
|
-
), I(
|
|
503
|
-
() => k == null ? void 0 : k.value,
|
|
504
|
-
async () => {
|
|
505
|
-
var i, u, C, v;
|
|
506
|
-
if (k != null && k.value && ((i = k == null ? void 0 : k.value) == null ? void 0 : i.length) > 0 && !M.value && !((u = ee.value) != null && u.find((F) => (F == null ? void 0 : F.name) === "输入") && ((C = ee.value) != null && C.find((F) => (F == null ? void 0 : F.name) === "输出")))) {
|
|
507
|
-
let F = [];
|
|
508
|
-
const g = await ((v = be(k == null ? void 0 : k.value)) == null ? void 0 : v.map(async (r) => {
|
|
509
|
-
var ne, we, x, d, oe, le, Be, Ne, Ve, Ue;
|
|
510
|
-
let E, J;
|
|
511
|
-
const m = (we = (ne = r == null ? void 0 : r.blob) == null ? void 0 : ne.split("undefined,")) == null ? void 0 : we[1];
|
|
512
|
-
let Z = m == null ? void 0 : m.split(",");
|
|
513
|
-
if ((Z == null ? void 0 : Z.length) > 1) {
|
|
514
|
-
let ce = await (Z == null ? void 0 : Z.map(async ($) => {
|
|
515
|
-
var se, Oe, Ee, Ie, Le, ze;
|
|
516
|
-
E = await ye.get($, {
|
|
517
|
-
responseType: "blob",
|
|
518
|
-
headers: {
|
|
519
|
-
"Content-Type": "application/json"
|
|
520
|
-
}
|
|
521
|
-
});
|
|
522
|
-
let me = [];
|
|
523
|
-
if (((se = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : se.length) > 0) {
|
|
524
|
-
let pt = await ((Oe = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : Oe.map(async (ht) => {
|
|
525
|
-
let Ke = await ye.get(ht, {
|
|
526
|
-
responseType: "blob",
|
|
527
|
-
headers: {
|
|
528
|
-
"Content-Type": "application/json"
|
|
529
|
-
}
|
|
530
|
-
});
|
|
531
|
-
return me.push(new Blob([Ke.data], {
|
|
532
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
533
|
-
})), Ke;
|
|
534
|
-
}));
|
|
535
|
-
await Promise.all(pt);
|
|
536
|
-
}
|
|
537
|
-
return ((Ie = $ == null ? void 0 : $.split(".")) == null ? void 0 : Ie[((Ee = $ == null ? void 0 : $.split(".")) == null ? void 0 : Ee.length) - 1]) !== "undefined" && F.push({
|
|
538
|
-
suffix: "." + ((ze = $ == null ? void 0 : $.split(".")) == null ? void 0 : ze[((Le = $ == null ? void 0 : $.split(".")) == null ? void 0 : Le.length) - 1]),
|
|
539
|
-
blob: new Blob([E.data], {
|
|
540
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
541
|
-
}),
|
|
542
|
-
mtlBlobs: me
|
|
543
|
-
}), E;
|
|
544
|
-
}));
|
|
545
|
-
await Promise.all(ce);
|
|
546
|
-
} else if (!(m != null && m.includes("https://")) && !(m != null && m.includes("http://"))) {
|
|
547
|
-
E = await Ge({
|
|
548
|
-
url: m
|
|
549
|
-
});
|
|
550
|
-
let ce = [];
|
|
551
|
-
if (((x = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : x.length) > 0) {
|
|
552
|
-
let $ = await ((d = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : d.map(async (me) => {
|
|
553
|
-
let se = await Ge({
|
|
554
|
-
url: me
|
|
555
|
-
});
|
|
556
|
-
return ce.push(new Blob([se.data], {
|
|
557
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
558
|
-
})), se;
|
|
559
|
-
}));
|
|
560
|
-
await Promise.all($);
|
|
561
|
-
}
|
|
562
|
-
J = {
|
|
563
|
-
suffix: "." + ((le = m == null ? void 0 : m.split(".")) == null ? void 0 : le[((oe = m == null ? void 0 : m.split(".")) == null ? void 0 : oe.length) - 1]),
|
|
564
|
-
blob: new Blob([E.data], {
|
|
565
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
566
|
-
}),
|
|
567
|
-
mtlBlobs: ce
|
|
568
|
-
};
|
|
569
|
-
} else {
|
|
570
|
-
E = await ye.get(m, {
|
|
571
|
-
responseType: "blob",
|
|
572
|
-
headers: {
|
|
573
|
-
"Content-Type": "application/json"
|
|
574
|
-
}
|
|
575
|
-
});
|
|
576
|
-
let ce = [];
|
|
577
|
-
if (((Be = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : Be.length) > 0) {
|
|
578
|
-
let $ = await ((Ne = r == null ? void 0 : r.mtlBlobs) == null ? void 0 : Ne.map(async (me) => {
|
|
579
|
-
let se = await ye.get(me, {
|
|
580
|
-
responseType: "blob",
|
|
581
|
-
headers: {
|
|
582
|
-
"Content-Type": "application/json"
|
|
583
|
-
}
|
|
584
|
-
});
|
|
585
|
-
return ce.push(new Blob([se.data], {
|
|
586
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
587
|
-
})), se;
|
|
588
|
-
}));
|
|
589
|
-
await Promise.all($);
|
|
590
|
-
}
|
|
591
|
-
J = {
|
|
592
|
-
suffix: "." + ((Ue = m == null ? void 0 : m.split(".")) == null ? void 0 : Ue[((Ve = m == null ? void 0 : m.split(".")) == null ? void 0 : Ve.length) - 1]),
|
|
593
|
-
blob: new Blob([E.data], {
|
|
594
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
595
|
-
}),
|
|
596
|
-
mtlBlobs: ce
|
|
597
|
-
};
|
|
598
|
-
}
|
|
599
|
-
J && F.push(J);
|
|
600
|
-
}));
|
|
601
|
-
await Promise.all(g);
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
{ immediate: !0, deep: !0 }
|
|
605
|
-
), I(
|
|
606
|
-
() => T.value,
|
|
607
|
-
async () => {
|
|
608
|
-
var u, C, v, F;
|
|
609
|
-
if (T.value !== "" && T.value) {
|
|
610
|
-
let g = (u = Q.value) == null ? void 0 : u.split("/"), r = g[(g == null ? void 0 : g.length) - 2];
|
|
611
|
-
const J = (((C = Ae == null ? void 0 : Ae.find((ne) => (ne == null ? void 0 : ne.key) === r)) == null ? void 0 : C.download) ?? "") + "/" + T.value, m = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), Z = await ye.post(J, null, {
|
|
612
|
-
responseType: "blob",
|
|
613
|
-
// 必须设置
|
|
614
|
-
headers: {
|
|
615
|
-
Authorization: m,
|
|
616
|
-
baseURL: "http://139.196.154.85:20025",
|
|
617
|
-
"Content-Type": "application/json"
|
|
618
|
-
}
|
|
619
|
-
});
|
|
620
|
-
var i = new Blob([Z.data], {
|
|
621
|
-
type: "application/octet-stream;charset=UTF-8"
|
|
622
|
-
});
|
|
623
|
-
"" + ((F = (v = T.value) == null ? void 0 : v.split(".")) == null ? void 0 : F[1]);
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
{ deep: !0, immediate: !0 }
|
|
627
|
-
);
|
|
628
|
-
const H = c("");
|
|
629
|
-
c("open"), c("open"), c(!1), ke(() => ee.value);
|
|
630
|
-
const ae = ke(() => ve.value.isRouter), ge = c(!1), mt = () => {
|
|
631
|
-
ge.value = !0, setTimeout(() => {
|
|
632
|
-
p.value.loadModelByDefaultPath([{ suffix: ".urdf" }]);
|
|
633
|
-
}, 1e3);
|
|
634
|
-
};
|
|
635
|
-
return (i, u) => {
|
|
636
|
-
const C = y("el-dialog"), v = y("el-button"), F = y("el-avatar"), g = y("el-header"), r = y("el-container"), E = y("el-icon"), J = y("el-input"), m = y("el-aside"), Z = y("router-view"), ne = y("el-main"), we = qe("loading");
|
|
637
|
-
return s(), A(Ce, null, [
|
|
638
|
-
e(C, {
|
|
639
|
-
modelValue: ge.value,
|
|
640
|
-
"onUpdate:modelValue": u[0] || (u[0] = (x) => ge.value = x),
|
|
641
|
-
style: { height: "700px", width: "1800px" }
|
|
642
|
-
}, {
|
|
643
|
-
default: o(() => [
|
|
644
|
-
e(kt, {
|
|
645
|
-
ref_key: "threeModelRef",
|
|
646
|
-
ref: p
|
|
647
|
-
}, null, 512)
|
|
648
|
-
]),
|
|
649
|
-
_: 1
|
|
650
|
-
}, 8, ["modelValue"]),
|
|
651
|
-
Fe(e(r, { class: "client-container" }, {
|
|
652
|
-
default: o(() => [
|
|
653
|
-
e(g, { class: "client-structure-header" }, {
|
|
654
|
-
default: o(() => {
|
|
655
|
-
var x;
|
|
656
|
-
return [
|
|
657
|
-
h("div", Xt, [
|
|
658
|
-
e(v, {
|
|
659
|
-
id: "transparentBgButton",
|
|
660
|
-
onClick: t(We)
|
|
661
|
-
}, {
|
|
662
|
-
default: o(() => u[3] || (u[3] = [
|
|
663
|
-
L(" 返回页面 ")
|
|
664
|
-
])),
|
|
665
|
-
_: 1,
|
|
666
|
-
__: [3]
|
|
667
|
-
}, 8, ["onClick"]),
|
|
668
|
-
e(v, {
|
|
669
|
-
id: "transparentBgButton",
|
|
670
|
-
onClick: u[1] || (u[1] = (d) => {
|
|
671
|
-
var oe, le;
|
|
672
|
-
return t(Qe)((le = (oe = t(B)) == null ? void 0 : oe.map((Be) => Be.value)) == null ? void 0 : le.join("/"));
|
|
673
|
-
})
|
|
674
|
-
}, {
|
|
675
|
-
icon: o(() => [
|
|
676
|
-
e(pe, { name: "Store" })
|
|
677
|
-
]),
|
|
678
|
-
default: o(() => [
|
|
679
|
-
u[4] || (u[4] = L(" 保存页面 "))
|
|
680
|
-
]),
|
|
681
|
-
_: 1,
|
|
682
|
-
__: [4]
|
|
683
|
-
})
|
|
684
|
-
]),
|
|
685
|
-
h("div", qt, [
|
|
686
|
-
(s(), b(dt, {
|
|
687
|
-
key: t(B),
|
|
688
|
-
breadArray: t(B),
|
|
689
|
-
onClick: t(Ye)
|
|
690
|
-
}, null, 8, ["breadArray", "onClick"]))
|
|
691
|
-
]),
|
|
692
|
-
h("div", Ht, [
|
|
693
|
-
he(i.$slots, "default", {}, void 0, !0),
|
|
694
|
-
e(F, {
|
|
695
|
-
size: 35,
|
|
696
|
-
src: (x = t(z)) == null ? void 0 : x.avatarUrl
|
|
697
|
-
}, {
|
|
698
|
-
default: o(() => {
|
|
699
|
-
var d;
|
|
700
|
-
return [
|
|
701
|
-
L(te(((d = t(z)) == null ? void 0 : d.account) ?? "未知"), 1)
|
|
702
|
-
];
|
|
703
|
-
}),
|
|
704
|
-
_: 1
|
|
705
|
-
}, 8, ["src"])
|
|
706
|
-
])
|
|
707
|
-
];
|
|
708
|
-
}),
|
|
709
|
-
_: 3
|
|
710
|
-
}),
|
|
711
|
-
t(_) === "edit" ? (s(), b(r, {
|
|
712
|
-
key: 0,
|
|
713
|
-
class: "model-operate",
|
|
714
|
-
style: { "margin-top": "10px", height: "0px" }
|
|
715
|
-
}, {
|
|
716
|
-
default: o(() => [
|
|
717
|
-
h("div", Jt, [
|
|
718
|
-
e(Pe)
|
|
719
|
-
]),
|
|
720
|
-
h("div", Wt, [
|
|
721
|
-
e(xe)
|
|
722
|
-
]),
|
|
723
|
-
h("div", Qt, [
|
|
724
|
-
e(De)
|
|
725
|
-
])
|
|
726
|
-
]),
|
|
727
|
-
_: 1
|
|
728
|
-
})) : D("", !0)
|
|
729
|
-
]),
|
|
730
|
-
_: 3
|
|
731
|
-
}, 512), [
|
|
732
|
-
[Re, t(_) === "edit"]
|
|
733
|
-
]),
|
|
734
|
-
Fe((s(), b(r, {
|
|
735
|
-
class: "client-container",
|
|
736
|
-
"element-loading-text": "正在加载页面数据..."
|
|
737
|
-
}, {
|
|
738
|
-
default: o(() => [
|
|
739
|
-
e(g, { class: "client-header" }, {
|
|
740
|
-
default: o(() => [
|
|
741
|
-
h("div", {
|
|
742
|
-
class: "client-header-logo",
|
|
743
|
-
onClick: mt
|
|
744
|
-
}, te(t(de) === "" ? "CPMPIP" : t(de)), 1),
|
|
745
|
-
h("div", Yt, [
|
|
746
|
-
e(ct, { mode: "horizontal" })
|
|
747
|
-
]),
|
|
748
|
-
h("div", Zt, [
|
|
749
|
-
e(J, {
|
|
750
|
-
modelValue: H.value,
|
|
751
|
-
"onUpdate:modelValue": u[2] || (u[2] = (x) => H.value = x),
|
|
752
|
-
clearable: "",
|
|
753
|
-
placeholder: "搜索",
|
|
754
|
-
style: { width: "130px" }
|
|
755
|
-
}, {
|
|
756
|
-
prefix: o(() => [
|
|
757
|
-
e(E, { class: "el-input__icon" }, {
|
|
758
|
-
default: o(() => [
|
|
759
|
-
e(t(lt))
|
|
760
|
-
]),
|
|
761
|
-
_: 1
|
|
762
|
-
})
|
|
763
|
-
]),
|
|
764
|
-
_: 1
|
|
765
|
-
}, 8, ["modelValue"]),
|
|
766
|
-
w.showButton ? (s(), b(v, {
|
|
767
|
-
key: 0,
|
|
768
|
-
id: "transparentBgButton",
|
|
769
|
-
onClick: t(Ze)
|
|
770
|
-
}, {
|
|
771
|
-
icon: o(() => [
|
|
772
|
-
e(pe, { name: "App" })
|
|
773
|
-
]),
|
|
774
|
-
default: o(() => [
|
|
775
|
-
u[5] || (u[5] = L(" 生成APP "))
|
|
776
|
-
]),
|
|
777
|
-
_: 1,
|
|
778
|
-
__: [5]
|
|
779
|
-
}, 8, ["onClick"])) : D("", !0),
|
|
780
|
-
w.showButton && t(_) === "view" ? (s(), b(v, {
|
|
781
|
-
key: 1,
|
|
782
|
-
id: "transparentBgButton",
|
|
783
|
-
onClick: t(et)
|
|
784
|
-
}, {
|
|
785
|
-
icon: o(() => [
|
|
786
|
-
e(pe, { name: "write" })
|
|
787
|
-
]),
|
|
788
|
-
default: o(() => [
|
|
789
|
-
u[6] || (u[6] = L(" 修改布局 "))
|
|
790
|
-
]),
|
|
791
|
-
_: 1,
|
|
792
|
-
__: [6]
|
|
793
|
-
}, 8, ["onClick"])) : D("", !0),
|
|
794
|
-
he(i.$slots, "default", {}, void 0, !0),
|
|
795
|
-
e(rt, null, {
|
|
796
|
-
dropTitle: o(() => {
|
|
797
|
-
var x;
|
|
798
|
-
return [
|
|
799
|
-
e(ut, {
|
|
800
|
-
size: "35",
|
|
801
|
-
avatarUrl: (x = t(z)) == null ? void 0 : x.avatarUrl,
|
|
802
|
-
showCropper: !1,
|
|
803
|
-
banClick: !0
|
|
804
|
-
}, {
|
|
805
|
-
avatarDefault: o(() => {
|
|
806
|
-
var d;
|
|
807
|
-
return [
|
|
808
|
-
L(te(((d = t(z)) == null ? void 0 : d.account) ?? "未知"), 1)
|
|
809
|
-
];
|
|
810
|
-
}),
|
|
811
|
-
_: 1
|
|
812
|
-
}, 8, ["avatarUrl"])
|
|
813
|
-
];
|
|
814
|
-
}),
|
|
815
|
-
dropMenu: o(() => [
|
|
816
|
-
h("div", ea, [
|
|
817
|
-
e(Bt, {
|
|
818
|
-
emptyColor: !0,
|
|
819
|
-
class: "menu-button",
|
|
820
|
-
onClickTrigger: R,
|
|
821
|
-
modelValue: "退出登录",
|
|
822
|
-
buttonType: ""
|
|
823
|
-
})
|
|
824
|
-
])
|
|
825
|
-
]),
|
|
826
|
-
_: 1
|
|
827
|
-
})
|
|
828
|
-
])
|
|
829
|
-
]),
|
|
830
|
-
_: 3
|
|
831
|
-
}),
|
|
832
|
-
e(r, { class: "client-body" }, {
|
|
833
|
-
default: o(() => [
|
|
834
|
-
e(ne, { class: "client-main" }, {
|
|
835
|
-
default: o(() => {
|
|
836
|
-
var x;
|
|
837
|
-
return [
|
|
838
|
-
e(m, { class: "client-aside" }, {
|
|
839
|
-
default: o(() => [
|
|
840
|
-
e(Je, { mode: "vertical" })
|
|
841
|
-
]),
|
|
842
|
-
_: 1
|
|
843
|
-
}),
|
|
844
|
-
h("div", ta, [
|
|
845
|
-
ae.value ? (s(), b(Z, { key: 0 })) : (s(!0), A(Ce, { key: 1 }, Me((x = t(be)(t(ee))) == null ? void 0 : x.filter((d) => d.comp !== "FormTop"), (d, oe) => {
|
|
846
|
-
var le;
|
|
847
|
-
return s(), A("div", {
|
|
848
|
-
class: "item-view-content",
|
|
849
|
-
key: oe
|
|
850
|
-
}, [
|
|
851
|
-
((le = d == null ? void 0 : d.comp) == null ? void 0 : le.toUpperCase()) !== "TABLE" && d.name ? (s(), A("div", aa, te(d.name), 1)) : D("", !0),
|
|
852
|
-
(s(), b(He(t(tt)(d.comp)), {
|
|
853
|
-
compName: d.name,
|
|
854
|
-
itemData: d == null ? void 0 : d.compData,
|
|
855
|
-
childItemData: d == null ? void 0 : d.itemChildData,
|
|
856
|
-
key: (d == null ? void 0 : d.id) ?? oe,
|
|
857
|
-
onChange: t(nt),
|
|
858
|
-
index: (d == null ? void 0 : d.id) ?? oe,
|
|
859
|
-
onContentChange: t(ot),
|
|
860
|
-
onPageChange: t(at),
|
|
861
|
-
onRowClick: P
|
|
862
|
-
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
863
|
-
]);
|
|
864
|
-
}), 128))
|
|
865
|
-
])
|
|
866
|
-
];
|
|
867
|
-
}),
|
|
868
|
-
_: 1
|
|
869
|
-
})
|
|
870
|
-
]),
|
|
871
|
-
_: 1
|
|
872
|
-
})
|
|
873
|
-
]),
|
|
874
|
-
_: 3
|
|
875
|
-
})), [
|
|
876
|
-
[Re, t(_) === "view"],
|
|
877
|
-
[we, t(_e)]
|
|
878
|
-
])
|
|
879
|
-
], 64);
|
|
880
|
-
};
|
|
881
|
-
}
|
|
882
|
-
}), na = /* @__PURE__ */ fe(oa, [["__scopeId", "data-v-32f798d7"]]), la = { class: "system-wrap" }, sa = {
|
|
883
|
-
__name: "index",
|
|
884
|
-
props: {
|
|
885
|
-
windowConfig: {
|
|
886
|
-
type: Object,
|
|
887
|
-
default: () => {
|
|
888
|
-
}
|
|
889
|
-
},
|
|
890
|
-
platform: {
|
|
891
|
-
type: String,
|
|
892
|
-
default: "browser"
|
|
893
|
-
},
|
|
894
|
-
showButton: {
|
|
895
|
-
type: Boolean,
|
|
896
|
-
default: !0
|
|
897
|
-
},
|
|
898
|
-
content: String,
|
|
899
|
-
jsonContents: Array
|
|
900
|
-
},
|
|
901
|
-
emits: ["buildContent", "showChild"],
|
|
902
|
-
setup(w, { emit: W }) {
|
|
903
|
-
const a = Se(X), B = je(X), S = Te();
|
|
904
|
-
c(!1);
|
|
905
|
-
const V = c(!0), n = w, M = W, T = (_) => {
|
|
906
|
-
M("showChild", _);
|
|
907
|
-
}, j = ke(() => {
|
|
908
|
-
switch (n == null ? void 0 : n.platform) {
|
|
909
|
-
case "browser":
|
|
910
|
-
return Tt;
|
|
911
|
-
case "client":
|
|
912
|
-
return bt;
|
|
913
|
-
}
|
|
914
|
-
}), z = (_) => {
|
|
915
|
-
const N = document.documentElement;
|
|
916
|
-
_ == null || _.forEach((q) => {
|
|
917
|
-
N.style.setProperty(q.name, q.value);
|
|
918
|
-
});
|
|
919
|
-
};
|
|
920
|
-
I(() => n.platform, (_, N) => {
|
|
921
|
-
_ && z(j.value);
|
|
922
|
-
}, { immediate: !0 });
|
|
923
|
-
const ie = () => {
|
|
924
|
-
M("buildContent");
|
|
925
|
-
};
|
|
926
|
-
return I(
|
|
927
|
-
() => [n == null ? void 0 : n.content, n == null ? void 0 : n.jsonContents],
|
|
928
|
-
async () => {
|
|
929
|
-
var q, U, k, p;
|
|
930
|
-
if (((q = n == null ? void 0 : n.jsonContents) == null ? void 0 : q.length) > 0) {
|
|
931
|
-
a.setOriginalData(n == null ? void 0 : n.jsonContents);
|
|
932
|
-
return;
|
|
933
|
-
}
|
|
934
|
-
if (!(n != null && n.content) || ((U = n == null ? void 0 : n.content) == null ? void 0 : U.length) === 0) return;
|
|
935
|
-
V.value = !0, S.setImportLoading(!0);
|
|
936
|
-
let _ = [], N = [];
|
|
937
|
-
B.setSelectTitle([]), B.setSelectIndex(""), B.setSelectMenu(""), (p = (k = n == null ? void 0 : n.content) == null ? void 0 : k.filter((O) => O !== "")) == null || p.forEach((O) => {
|
|
938
|
-
N.push(gt(O));
|
|
939
|
-
}), _ = N == null ? void 0 : N[0], await yt(_), await it(), a.setOriginalData(_), S.setImportLoading(!1);
|
|
940
|
-
},
|
|
941
|
-
{ deep: !0, immediate: !0 }
|
|
942
|
-
), (_, N) => (s(), A("div", la, [
|
|
943
|
-
w.platform === "browser" ? (s(), b(Gt, {
|
|
944
|
-
key: 0,
|
|
945
|
-
showButton: w.showButton
|
|
946
|
-
}, {
|
|
947
|
-
default: o(() => [
|
|
948
|
-
he(_.$slots, "default", {}, void 0, !0)
|
|
949
|
-
]),
|
|
950
|
-
_: 3
|
|
951
|
-
}, 8, ["showButton"])) : (s(), b(na, {
|
|
952
|
-
key: 1,
|
|
953
|
-
windowConfig: w.windowConfig,
|
|
954
|
-
showButton: w.showButton,
|
|
955
|
-
onBuildContent: ie,
|
|
956
|
-
onShowChild: T
|
|
957
|
-
}, {
|
|
958
|
-
default: o(() => [
|
|
959
|
-
he(_.$slots, "default", {}, void 0, !0)
|
|
960
|
-
]),
|
|
961
|
-
_: 3
|
|
962
|
-
}, 8, ["windowConfig", "showButton"]))
|
|
963
|
-
]));
|
|
964
|
-
}
|
|
965
|
-
}, ia = /* @__PURE__ */ fe(sa, [["__scopeId", "data-v-afd1b349"]]), ra = { class: "add-model-content" }, ua = {
|
|
966
|
-
key: 0,
|
|
967
|
-
class: "model-operate"
|
|
968
|
-
}, ca = { class: "model-select" }, da = { class: "model-fill" }, ma = {
|
|
969
|
-
key: 1,
|
|
970
|
-
class: "model-view"
|
|
971
|
-
}, pa = {
|
|
972
|
-
__name: "index",
|
|
973
|
-
props: {
|
|
974
|
-
mode: {
|
|
975
|
-
type: String,
|
|
976
|
-
default: "view"
|
|
977
|
-
},
|
|
978
|
-
content: {
|
|
979
|
-
type: String,
|
|
980
|
-
default: ""
|
|
981
|
-
},
|
|
982
|
-
jsonContents: {
|
|
983
|
-
type: Array,
|
|
984
|
-
default: () => []
|
|
985
|
-
},
|
|
986
|
-
showButton: {
|
|
987
|
-
type: Boolean,
|
|
988
|
-
default: !0
|
|
989
|
-
},
|
|
990
|
-
pathContent: {
|
|
991
|
-
type: String,
|
|
992
|
-
default: ""
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
emits: ["change", "contentChange", "buildContent", "openThreeBuild"],
|
|
996
|
-
setup(w, { emit: W }) {
|
|
997
|
-
const a = w, B = W, S = c([]), V = c(0), n = c([]), M = c([]), T = c(0), j = Se(X), z = Te(X), { itemData: ie, originalData: _ } = G(j), { activeMenuPath: N, platform: q } = G(z), U = c(null), k = c(0), p = c([]);
|
|
998
|
-
c("");
|
|
999
|
-
const O = c(0), _e = () => {
|
|
1000
|
-
B("buildContent");
|
|
1001
|
-
}, Q = (f) => {
|
|
1002
|
-
B("openThreeBuild", f);
|
|
1003
|
-
};
|
|
1004
|
-
I(
|
|
1005
|
-
() => a == null ? void 0 : a.pathContent,
|
|
1006
|
-
() => {
|
|
1007
|
-
(a == null ? void 0 : a.pathContent) !== "" && j.setSystemPath(a == null ? void 0 : a.pathContent);
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
deep: !0,
|
|
1011
|
-
immediate: !0
|
|
1012
|
-
}
|
|
1013
|
-
);
|
|
1014
|
-
const re = (f) => {
|
|
1015
|
-
B("contentChange", f);
|
|
1016
|
-
}, de = (f) => {
|
|
1017
|
-
var Y;
|
|
1018
|
-
const K = (Y = be(f == null ? void 0 : f.wholeValue)) == null ? void 0 : Y.map((P) => {
|
|
1019
|
-
var R;
|
|
1020
|
-
return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (R = P.compData) == null ? void 0 : R.map((l) => ((l == null ? void 0 : l.key) === "formContent" && (l.contents = Rt(l == null ? void 0 : l.contents)), l))), P;
|
|
1021
|
-
});
|
|
1022
|
-
B("change", {
|
|
1023
|
-
originalContents: _.value,
|
|
1024
|
-
currentContents: f == null ? void 0 : f.wholeValue,
|
|
1025
|
-
editContent: f == null ? void 0 : f.editValue,
|
|
1026
|
-
arrayToContents: K
|
|
1027
|
-
});
|
|
1028
|
-
};
|
|
1029
|
-
I(
|
|
1030
|
-
() => n.value,
|
|
1031
|
-
() => {
|
|
1032
|
-
O.value === n.value.length && n.value.length !== 0 && (S.value = n.value);
|
|
1033
|
-
},
|
|
1034
|
-
{ deep: !0, immediate: !0 }
|
|
1035
|
-
);
|
|
1036
|
-
const ve = () => {
|
|
1037
|
-
U.value !== null && U.value.click();
|
|
1038
|
-
}, ue = async (f) => {
|
|
1039
|
-
const K = f.target.files;
|
|
1040
|
-
if (!K) return;
|
|
1041
|
-
new FileReader(), S.value = [], n.value = [], O.value = K.length;
|
|
1042
|
-
const Y = Array.from(K).map(async (P) => await new Promise((R) => {
|
|
1043
|
-
const l = new FileReader();
|
|
1044
|
-
l.onload = (H) => {
|
|
1045
|
-
try {
|
|
1046
|
-
n.value.push(H.target.result), k.value++;
|
|
1047
|
-
} catch (ae) {
|
|
1048
|
-
console.error("解析失败:", ae);
|
|
1049
|
-
return;
|
|
1050
|
-
}
|
|
1051
|
-
}, l.onerror = () => R(`读取 ${P.name} 失败`), l.readAsText(P), f.target.value = "", U.value = null, V.value++;
|
|
1052
|
-
}));
|
|
1053
|
-
await Promise.all(Y);
|
|
1054
|
-
};
|
|
1055
|
-
return I(
|
|
1056
|
-
() => [a == null ? void 0 : a.content, a == null ? void 0 : a.jsonContents],
|
|
1057
|
-
async () => {
|
|
1058
|
-
await it(), S.value = a.content, M.value = a == null ? void 0 : a.jsonContents;
|
|
1059
|
-
},
|
|
1060
|
-
{ deep: !0, immediate: !0 }
|
|
1061
|
-
), I(
|
|
1062
|
-
() => k.value,
|
|
1063
|
-
() => {
|
|
1064
|
-
var f;
|
|
1065
|
-
((f = p.value) == null ? void 0 : f.length) !== 0 && (j.setOriginalData(p.value), j.setItemData(p.value));
|
|
1066
|
-
},
|
|
1067
|
-
{ deep: !0, immediate: !0 }
|
|
1068
|
-
), (f, K) => {
|
|
1069
|
-
const Y = y("svg-icon"), P = y("el-button");
|
|
1070
|
-
return s(), A("div", ra, [
|
|
1071
|
-
(a == null ? void 0 : a.mode) === "edit" ? (s(), A("div", ua, [
|
|
1072
|
-
h("div", ca, [
|
|
1073
|
-
e(Pe)
|
|
1074
|
-
]),
|
|
1075
|
-
(s(), A("div", {
|
|
1076
|
-
class: "model-show",
|
|
1077
|
-
key: T.value
|
|
1078
|
-
}, [
|
|
1079
|
-
e(xe)
|
|
1080
|
-
])),
|
|
1081
|
-
h("div", da, [
|
|
1082
|
-
e(De)
|
|
1083
|
-
])
|
|
1084
|
-
])) : D("", !0),
|
|
1085
|
-
(a == null ? void 0 : a.mode) === "view" ? (s(), A("div", ma, [
|
|
1086
|
-
(s(), b(ia, {
|
|
1087
|
-
showButton: w.showButton,
|
|
1088
|
-
platform: t(q),
|
|
1089
|
-
content: S.value,
|
|
1090
|
-
onChange: de,
|
|
1091
|
-
jsonContents: M.value,
|
|
1092
|
-
onContentChange: re,
|
|
1093
|
-
onBuildContent: _e,
|
|
1094
|
-
key: T.value,
|
|
1095
|
-
onShowChild: Q
|
|
1096
|
-
}, {
|
|
1097
|
-
default: o(() => {
|
|
1098
|
-
var R;
|
|
1099
|
-
return [
|
|
1100
|
-
((R = a == null ? void 0 : a.jsonContents) == null ? void 0 : R.length) === 0 && (a != null && a.showButton) ? (s(), b(P, {
|
|
1101
|
-
key: 0,
|
|
1102
|
-
id: "transparentBgButton",
|
|
1103
|
-
onClick: ve
|
|
1104
|
-
}, {
|
|
1105
|
-
icon: o(() => [
|
|
1106
|
-
e(Y, { name: "import" })
|
|
1107
|
-
]),
|
|
1108
|
-
default: o(() => [
|
|
1109
|
-
(s(), A("input", {
|
|
1110
|
-
type: "file",
|
|
1111
|
-
key: V.value,
|
|
1112
|
-
ref_key: "fileInput",
|
|
1113
|
-
ref: U,
|
|
1114
|
-
accept: ".txt, .inm, .iml, .imd",
|
|
1115
|
-
onChange: ue,
|
|
1116
|
-
style: { display: "none" },
|
|
1117
|
-
multiple: ""
|
|
1118
|
-
}, null, 32)),
|
|
1119
|
-
K[0] || (K[0] = L(" 导入模型 "))
|
|
1120
|
-
]),
|
|
1121
|
-
_: 1,
|
|
1122
|
-
__: [0]
|
|
1123
|
-
})) : D("", !0)
|
|
1124
|
-
];
|
|
1125
|
-
}),
|
|
1126
|
-
_: 1
|
|
1127
|
-
}, 8, ["showButton", "platform", "content", "jsonContents"]))
|
|
1128
|
-
])) : D("", !0)
|
|
1129
|
-
]);
|
|
1130
|
-
};
|
|
1131
|
-
}
|
|
1132
|
-
}, Pa = /* @__PURE__ */ fe(pa, [["__scopeId", "data-v-f69cf49c"]]);
|
|
1133
|
-
export {
|
|
1134
|
-
Pa as default
|
|
1135
|
-
};
|