ss-component-new 1.1.663 → 1.1.664
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/{OrbitControls-eN70zXEZ.js → OrbitControls-3WQARX-Q.js} +1 -1
- package/dist/{OrbitControls-fKKgzBRp.cjs → OrbitControls-xYWbvRmk.cjs} +1 -1
- package/dist/{index-QnIO8foP.js → index-5QZ4-xwn.js} +4 -4
- package/dist/{index-CtYscieY.cjs → index-7w39ITU8.cjs} +1 -1
- package/dist/{index-Ws4nMaQ7.js → index-B9iM9zYk.js} +1 -1
- package/dist/{index-BWpQHZ0-.js → index-BMWd9u9v.js} +194 -194
- package/dist/{index-DgnNTE6n.cjs → index-BOol51NX.cjs} +1 -1
- package/dist/{index-v_YOLYzZ.js → index-BYONMu87.js} +1 -1
- package/dist/{index-QnRGp6m6.cjs → index-BYOuYmBM.cjs} +1 -1
- package/dist/{index-GA-R4Q_x.js → index-Bm1ogtsQ.js} +4 -4
- package/dist/{index-DBmAyhyZ.js → index-BnDSAAMI.js} +3560 -3557
- package/dist/{index-yA1rMH14.cjs → index-BtP7qqgp.cjs} +1 -1
- package/dist/{index-CPDOGqw-.cjs → index-Bz9EuKMh.cjs} +1 -1
- package/dist/{index-ByQ8tHHR.cjs → index-C3QklCI4.cjs} +1 -1
- package/dist/{index-DiYoeGkA.js → index-C9bIOkxs.js} +1 -1
- package/dist/{index-Bg0uallo.cjs → index-CBd7w7r0.cjs} +1 -1
- package/dist/index-CBmh8Gk_.cjs +1 -0
- package/dist/{index-TZDRGyF9.js → index-Co2b8hVH.js} +1 -1
- package/dist/{index-C5nYIboZ.cjs → index-CvghfUgc.cjs} +1 -1
- package/dist/{index-ByfcUu7U.cjs → index-DHjpF29j.cjs} +1 -1
- package/dist/{index-CJJ583c0.js → index-DJUbKs3M.js} +2 -2
- package/dist/{index-DVpoxtu4.cjs → index-DUovXypa.cjs} +1 -1
- package/dist/{index-DDdi3lyf.cjs → index-DXCoBgbg.cjs} +1 -1
- package/dist/{index-C-hsPw9T.js → index-DhuXWA1T.js} +6 -2
- package/dist/{index-qfbbRoeF.cjs → index-Di-OZ-fg.cjs} +1 -1
- package/dist/{index-D2v8Kvzd.js → index-DjL2Im8_.js} +3 -3
- package/dist/{index-By0uo2EO.js → index-DpUDz8SS.js} +1 -1
- package/dist/{index-BHsFOORW.cjs → index-DyoIv7cW.cjs} +1 -1
- package/dist/{index-B7owwxdQ.cjs → index-LTK_nBIy.cjs} +1 -1
- package/dist/{index-gtBjTadU.cjs → index-MuGZ_vW5.cjs} +23 -23
- package/dist/{index-Bz8ML7jt.js → index-Z-hEJ2c8.js} +1 -1
- package/dist/{index-ecwBJPbG.js → index-jh7MwUTj.js} +2 -2
- package/dist/{index-BHuWpk9j.js → index-kuXtgeqr.js} +1 -1
- package/dist/{index-BdN683sa.js → index-wIJ-vRHM.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_2be0f146_lang-BMLvHggV.cjs → index.vue_vue_type_style_index_0_scoped_2be0f146_lang-B53G2F1L.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_2be0f146_lang-BfzLh3P2.js → index.vue_vue_type_style_index_0_scoped_2be0f146_lang-BUwFjiDm.js} +5 -5
- package/dist/{index.vue_vue_type_style_index_0_scoped_d215f0b6_lang-5w8LCztR.js → index.vue_vue_type_style_index_0_scoped_d215f0b6_lang-B2Njafte.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_d215f0b6_lang-BTLPtGM1.cjs → index.vue_vue_type_style_index_0_scoped_d215f0b6_lang-CiNeVqJb.cjs} +1 -1
- package/dist/{main-Dxm86lQ9.js → main-BMLyQW0_.js} +2 -2
- package/dist/{main-BBEwkiYJ.cjs → main-qCD36qGt.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-ByCn19hW.cjs → threeModel-BogmAsfY.cjs} +1 -1
- package/dist/{threeModel-DO1B4rAD.js → threeModel-ClvLEKHP.js} +2 -2
- package/package.json +1 -1
- package/dist/index-Vtis7XfO.cjs +0 -1
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { resolveComponent as U, createBlock as Q, openBlock as
|
|
2
|
-
import { m as qe, a as Qe, b as Ye } from "./index-
|
|
3
|
-
import { c as ut, b as ct } from "./index.vue_vue_type_style_index_0_scoped_d215f0b6_lang-
|
|
1
|
+
import { resolveComponent as U, createBlock as Q, openBlock as g, withCtx as h, createVNode as r, createElementVNode as $, toDisplayString as me, ref as v, onMounted as nt, watch as Y, createElementBlock as x, Fragment as $e, renderList as Je, createCommentVNode as O, normalizeStyle as lt, defineComponent as st, computed as We, resolveDirective as it, withDirectives as Me, unref as c, createTextVNode as ce, renderSlot as Re, vShow as Ge, resolveDynamicComponent as rt } from "vue";
|
|
2
|
+
import { m as qe, a as Qe, b as Ye } from "./index-DJUbKs3M.js";
|
|
3
|
+
import { c as ut, b as ct } from "./index.vue_vue_type_style_index_0_scoped_d215f0b6_lang-B2Njafte.js";
|
|
4
4
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as dt, s as Be, o as mt, c as pt, a as ft, b as ht, d as yt, g as gt, e as _t, f as Ct, h as wt, i as vt, j as
|
|
6
|
-
import { u as
|
|
7
|
-
import { p as le, s as de, u as
|
|
5
|
+
import { _ as dt, s as Be, o as mt, c as pt, a as ft, b as ht, d as yt, g as gt, e as _t, f as Ct, h as wt, i as vt, j as kt } from "./index.vue_vue_type_style_index_0_scoped_2be0f146_lang-BUwFjiDm.js";
|
|
6
|
+
import { u as bt } from "./login-Ct7wC1jE.js";
|
|
7
|
+
import { p as le, s as de, u as Ve, c as ge, b as ue, d as Bt, g as Tt, e as St } from "./menu-Bj0eSg6d.js";
|
|
8
8
|
import { S as Ae } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as Dt, o as Ft } from "./index-
|
|
9
|
+
import { u as je } from "./modelComp-CUCWitDo.js";
|
|
10
|
+
import { u as Dt, o as Ft } from "./index-5QZ4-xwn.js";
|
|
11
11
|
import { a as xt } from "./array-CrFbJF1B.js";
|
|
12
|
-
import { u as Ze } from "./index-
|
|
12
|
+
import { u as Ze } from "./index-BnDSAAMI.js";
|
|
13
13
|
import { g as Se, a as et, l as tt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Clc-CmO3.js";
|
|
14
14
|
import "vue-router";
|
|
15
|
-
import Mt from "./index-
|
|
16
|
-
import Xe from "./threeModel-
|
|
17
|
-
import { d as He, _ as At, a as Te, s as Pt } from "./index-
|
|
15
|
+
import Mt from "./index-kuXtgeqr.js";
|
|
16
|
+
import Xe from "./threeModel-ClvLEKHP.js";
|
|
17
|
+
import { d as He, _ as At, a as Te, s as Pt } from "./index-DhuXWA1T.js";
|
|
18
18
|
import { _ as $t } from "./index.vue_vue_type_script_setup_true_lang-vUZ7a2tl.js";
|
|
19
|
-
const
|
|
20
|
-
function
|
|
19
|
+
const Rt = { class: "horizontal-f-18" };
|
|
20
|
+
function Vt(T, te, t, B, V, J) {
|
|
21
21
|
const o = U("svg-icon"), N = U("ssMenu");
|
|
22
|
-
return
|
|
22
|
+
return g(), Q(N, {
|
|
23
23
|
mode: T.mode,
|
|
24
24
|
menuList: T.renderMenuList,
|
|
25
25
|
onClickMenu: T.clickMenu,
|
|
26
26
|
onOpenMenu: T.openMenu,
|
|
27
27
|
onCloseMenu: T.closeMenu
|
|
28
28
|
}, {
|
|
29
|
-
title:
|
|
29
|
+
title: h(({ menu: j }) => [
|
|
30
30
|
r(o, {
|
|
31
31
|
class: "horizontal-icon-18",
|
|
32
|
-
name:
|
|
32
|
+
name: j.icon ?? "default",
|
|
33
33
|
style: { "margin-right": "8px" }
|
|
34
34
|
}, null, 8, ["name"]),
|
|
35
|
-
$("span",
|
|
35
|
+
$("span", Rt, me(j.title ?? ""), 1)
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
|
38
38
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
39
39
|
}
|
|
40
|
-
const
|
|
40
|
+
const jt = /* @__PURE__ */ _e(dt, [["render", Vt], ["__scopeId", "data-v-6d1fb5a2"]]), Et = { class: "bread-content" }, It = ["onClick"], Lt = {
|
|
41
41
|
key: 0,
|
|
42
42
|
class: "split-title"
|
|
43
43
|
}, Ut = {
|
|
@@ -50,7 +50,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
50
50
|
},
|
|
51
51
|
emits: ["click"],
|
|
52
52
|
setup(T, { emit: te }) {
|
|
53
|
-
const t = T, B = v([]),
|
|
53
|
+
const t = T, B = v([]), V = te;
|
|
54
54
|
nt(() => {
|
|
55
55
|
B.value = t == null ? void 0 : t.breadArray;
|
|
56
56
|
}), Y(
|
|
@@ -61,21 +61,21 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
61
61
|
{ deep: !0, immediate: !0 }
|
|
62
62
|
);
|
|
63
63
|
const J = (o) => {
|
|
64
|
-
|
|
64
|
+
V("click", o);
|
|
65
65
|
};
|
|
66
|
-
return (o, N) => (
|
|
67
|
-
(
|
|
68
|
-
var
|
|
69
|
-
return
|
|
66
|
+
return (o, N) => (g(), x("div", Et, [
|
|
67
|
+
(g(!0), x($e, null, Je(B.value, (j, z) => {
|
|
68
|
+
var k;
|
|
69
|
+
return g(), x("div", {
|
|
70
70
|
key: z,
|
|
71
71
|
class: "bread-item"
|
|
72
72
|
}, [
|
|
73
73
|
$("div", {
|
|
74
74
|
class: "bread-title",
|
|
75
|
-
onClick: (se) => J(
|
|
76
|
-
style: lt({ opacity: ((
|
|
77
|
-
}, me(
|
|
78
|
-
z !== B.value.length - 1 && Array.isArray(B.value) ? (
|
|
75
|
+
onClick: (se) => J(j),
|
|
76
|
+
style: lt({ opacity: ((k = B.value) == null ? void 0 : k.length) - 1 === z ? "0.7" : "1" })
|
|
77
|
+
}, me(j.value), 13, It),
|
|
78
|
+
z !== B.value.length - 1 && Array.isArray(B.value) ? (g(), x("div", Lt, me("/"))) : O("", !0)
|
|
79
79
|
]);
|
|
80
80
|
}), 128))
|
|
81
81
|
]));
|
|
@@ -144,13 +144,13 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
144
144
|
},
|
|
145
145
|
emits: ["showChild", "buildContent"],
|
|
146
146
|
setup(T, { emit: te }) {
|
|
147
|
-
const t = Ze(le), { selectTitle: B } = de(t),
|
|
147
|
+
const t = Ze(le), { selectTitle: B } = de(t), V = v(!1), J = v(), o = v(null), N = v(), j = v(!1), z = Dt(le), { blobUrls: k } = de(z), se = v(!1), D = v(!1), G = v(!1), W = v(!1), Z = bt(), { loginUserInfo: X } = de(Z), ae = je(le), { isEdit: H, routeToChildPath: Ce } = de(ae), we = te, pe = Ve(le), { importLoading: De, activeAsideMenu: Fe, contentLoading: xe, platName: f, activeMenuPath: M } = de(pe), E = T, A = v(""), I = We(() => Fe.value.isRouter), d = () => {
|
|
148
148
|
sessionStorage.clear(), window.location.reload();
|
|
149
149
|
}, ee = () => {
|
|
150
150
|
we("buildContent");
|
|
151
151
|
}, K = (a) => {
|
|
152
152
|
if ((a == null ? void 0 : a.type) === "table") {
|
|
153
|
-
let
|
|
153
|
+
let u = a == null ? void 0 : a.row;
|
|
154
154
|
u && (N.value = {
|
|
155
155
|
url: u,
|
|
156
156
|
row: a == null ? void 0 : a.row
|
|
@@ -162,94 +162,94 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
162
162
|
}, ie = async () => {
|
|
163
163
|
let a = {};
|
|
164
164
|
const e = await Se("弯管仿真加工管理/仿真动画生成", sessionStorage.getItem("systemKey"), ""), u = await Se("弯管仿真加工管理/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
165
|
-
let
|
|
165
|
+
let C = ["管长", "外径"], P = {};
|
|
166
166
|
u == null || u.forEach((l) => {
|
|
167
167
|
var m;
|
|
168
168
|
(l == null ? void 0 : l.comp) === "Form" && ((m = l == null ? void 0 : l.compData) == null || m.forEach((n) => {
|
|
169
169
|
var S;
|
|
170
|
-
(n == null ? void 0 : n.key) === "formContent" && ((S = n == null ? void 0 : n.contents) == null || S.forEach((
|
|
171
|
-
|
|
170
|
+
(n == null ? void 0 : n.key) === "formContent" && ((S = n == null ? void 0 : n.contents) == null || S.forEach((y) => {
|
|
171
|
+
C.includes(y == null ? void 0 : y.key) && (P[y.key] = y.value);
|
|
172
172
|
}));
|
|
173
173
|
}));
|
|
174
174
|
}), e == null || e.forEach((l) => {
|
|
175
|
-
var m, n, S,
|
|
175
|
+
var m, n, S, y, s, R;
|
|
176
176
|
if ((l == null ? void 0 : l.comp) === "Table") {
|
|
177
|
-
let L = [], w = (S = (n = (m = l == null ? void 0 : l.compData) == null ? void 0 : m.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : n.contents) == null ? void 0 : S.map((i) => i == null ? void 0 : i.label),
|
|
178
|
-
|
|
179
|
-
L.push(et(i, w == null ? void 0 : w.filter((
|
|
177
|
+
let L = [], w = (S = (n = (m = l == null ? void 0 : l.compData) == null ? void 0 : m.find((i) => (i == null ? void 0 : i.key) === "header")) == null ? void 0 : n.contents) == null ? void 0 : S.map((i) => i == null ? void 0 : i.label), b = (R = (s = (y = l == null ? void 0 : l.compData) == null ? void 0 : y.find((i) => (i == null ? void 0 : i.key) === "tableContents")) == null ? void 0 : s.contents) == null ? void 0 : R.map((i) => (i = i == null ? void 0 : i.filter((_) => !(_ != null && _.id)), i));
|
|
178
|
+
b == null || b.forEach((i) => {
|
|
179
|
+
L.push(et(i, w == null ? void 0 : w.filter((_) => _ !== "操作")));
|
|
180
180
|
}), a[l.name] = L, a[l.name + "Content"] = l;
|
|
181
181
|
}
|
|
182
182
|
}), a.extra = P, J.value = a;
|
|
183
183
|
}, q = (a) => {
|
|
184
|
-
let e = ge(a), u = [],
|
|
184
|
+
let e = ge(a), u = [], C = [];
|
|
185
185
|
return e == null || e.forEach((P, l) => {
|
|
186
|
-
l === (a == null ? void 0 : a.length) - 1 ? (
|
|
186
|
+
l === (a == null ? void 0 : a.length) - 1 ? (C.push(P), u.push(C)) : ((C == null ? void 0 : C.length) !== 0 && P.includes(".obj") && (u.push(C), C = []), C.push(P));
|
|
187
187
|
}), u;
|
|
188
188
|
}, ve = async () => {
|
|
189
189
|
var a, e;
|
|
190
|
-
if ((E == null ? void 0 : E.platform) !== "browser" && (
|
|
190
|
+
if ((E == null ? void 0 : E.platform) !== "browser" && (V.value = !0, N.value)) {
|
|
191
191
|
const u = N.value;
|
|
192
|
-
let
|
|
192
|
+
let C = [];
|
|
193
193
|
if (typeof (u == null ? void 0 : u.url) == "string") {
|
|
194
194
|
let P = (a = u == null ? void 0 : u.url) == null ? void 0 : a.split(","), l = (e = q(P)) == null ? void 0 : e.map(async (m) => {
|
|
195
195
|
var n, S;
|
|
196
196
|
if ((m == null ? void 0 : m.length) === 1) {
|
|
197
|
-
let
|
|
198
|
-
var
|
|
199
|
-
let
|
|
197
|
+
let y = m == null ? void 0 : m.map(async (s) => {
|
|
198
|
+
var b, i;
|
|
199
|
+
let R = await ue.get(s, {
|
|
200
200
|
responseType: "blob",
|
|
201
201
|
headers: {
|
|
202
202
|
"Content-Type": "application/json"
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
|
-
const L = new Blob([
|
|
205
|
+
const L = new Blob([R.data], {
|
|
206
206
|
type: "application/octet-stream;charset=UTF-8"
|
|
207
207
|
});
|
|
208
208
|
let w = {
|
|
209
|
-
suffix: "." + ((i = s == null ? void 0 : s.split(".")) == null ? void 0 : i[((
|
|
209
|
+
suffix: "." + ((i = s == null ? void 0 : s.split(".")) == null ? void 0 : i[((b = s == null ? void 0 : s.split(".")) == null ? void 0 : b.length) - 1]),
|
|
210
210
|
blob: L,
|
|
211
211
|
mtlBlobs: []
|
|
212
212
|
};
|
|
213
|
-
return
|
|
213
|
+
return C.push(w), w;
|
|
214
214
|
});
|
|
215
|
-
return await Promise.all(
|
|
215
|
+
return await Promise.all(y), y;
|
|
216
216
|
} else {
|
|
217
|
-
let
|
|
217
|
+
let y = m == null ? void 0 : m.find((_) => _ == null ? void 0 : _.includes(".obj")), s = await ue.get(y, {
|
|
218
218
|
responseType: "blob",
|
|
219
219
|
headers: {
|
|
220
220
|
"Content-Type": "application/json"
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
|
-
const
|
|
223
|
+
const R = new Blob([s.data], {
|
|
224
224
|
type: "application/octet-stream;charset=UTF-8"
|
|
225
225
|
});
|
|
226
|
-
let L = m == null ? void 0 : m.filter((
|
|
227
|
-
let
|
|
226
|
+
let L = m == null ? void 0 : m.filter((_) => _ == null ? void 0 : _.includes(".mtl")), w = [], b = L == null ? void 0 : L.map(async (_) => {
|
|
227
|
+
let p = await ue.get(y, {
|
|
228
228
|
responseType: "blob",
|
|
229
229
|
headers: {
|
|
230
230
|
"Content-Type": "application/json"
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
|
-
const oe = new Blob([
|
|
233
|
+
const oe = new Blob([p.data], {
|
|
234
234
|
type: "application/octet-stream;charset=UTF-8"
|
|
235
235
|
});
|
|
236
|
-
return w.push(oe),
|
|
236
|
+
return w.push(oe), p;
|
|
237
237
|
});
|
|
238
|
-
await Promise.all(
|
|
238
|
+
await Promise.all(b);
|
|
239
239
|
let i = {
|
|
240
|
-
suffix: "." + ((S =
|
|
241
|
-
blob:
|
|
240
|
+
suffix: "." + ((S = y == null ? void 0 : y.split(".")) == null ? void 0 : S[((n = y == null ? void 0 : y.split(".")) == null ? void 0 : n.length) - 1]),
|
|
241
|
+
blob: R,
|
|
242
242
|
mtlBlobs: w
|
|
243
243
|
};
|
|
244
|
-
return
|
|
244
|
+
return C.push(i), i;
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
247
|
await Promise.all(l);
|
|
248
248
|
}
|
|
249
|
-
o.value.loadModelByDefaultPath(
|
|
249
|
+
o.value.loadModelByDefaultPath(C);
|
|
250
250
|
}
|
|
251
|
-
},
|
|
252
|
-
|
|
251
|
+
}, ke = () => {
|
|
252
|
+
j.value = !1, o.value = null;
|
|
253
253
|
};
|
|
254
254
|
Y(() => M.value, async (a) => {
|
|
255
255
|
a && (D.value = !0), a === "弯管仿真加工管理/仿真动画生成" ? G.value = !0 : G.value = !1, a === "弯管仿真加工管理/程序输出" ? W.value = !0 : W.value = !1, Pe != null && Pe.find((e) => {
|
|
@@ -257,19 +257,19 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
257
257
|
return (e == null ? void 0 : e.key) === ((u = a == null ? void 0 : a.split("/")) == null ? void 0 : u[(a == null ? void 0 : a.split("/").length) - 1]);
|
|
258
258
|
}) ? se.value = !0 : se.value = !1;
|
|
259
259
|
}, { immediate: !0 }), Y(
|
|
260
|
-
() => [
|
|
260
|
+
() => [k == null ? void 0 : k.value],
|
|
261
261
|
async () => {
|
|
262
|
-
var a, e, u,
|
|
263
|
-
if (
|
|
264
|
-
|
|
262
|
+
var a, e, u, C, P;
|
|
263
|
+
if (k != null && k.value && ((a = k == null ? void 0 : k.value) == null ? void 0 : a.length) > 0 && !se.value && !((e = Be.value) != null && e.find((l) => (l == null ? void 0 : l.name) === "输入") && ((u = Be.value) != null && u.find((l) => (l == null ? void 0 : l.name) === "输出")))) {
|
|
264
|
+
j.value = !0;
|
|
265
265
|
let l = [];
|
|
266
|
-
const m = await ((
|
|
267
|
-
var L, w,
|
|
268
|
-
let S,
|
|
266
|
+
const m = await ((C = ge(k == null ? void 0 : k.value)) == null ? void 0 : C.map(async (n) => {
|
|
267
|
+
var L, w, b, i, _, p, oe, ye, Ee, Ie;
|
|
268
|
+
let S, y, s;
|
|
269
269
|
n != null && n.blob.includes("undefined") ? s = (w = (L = n == null ? void 0 : n.blob) == null ? void 0 : L.split("undefined,")) == null ? void 0 : w[1] : s = n == null ? void 0 : n.blob;
|
|
270
|
-
let
|
|
271
|
-
if ((
|
|
272
|
-
let re = await (
|
|
270
|
+
let R = s == null ? void 0 : s.split(",");
|
|
271
|
+
if ((R == null ? void 0 : R.length) > 1) {
|
|
272
|
+
let re = await (R == null ? void 0 : R.map(async (F) => {
|
|
273
273
|
var ne, Le, Ue, Ke, Oe, Ne;
|
|
274
274
|
S = await ue.get(F, {
|
|
275
275
|
responseType: "blob",
|
|
@@ -306,7 +306,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
306
306
|
url: s
|
|
307
307
|
});
|
|
308
308
|
let re = [];
|
|
309
|
-
if (((
|
|
309
|
+
if (((b = n == null ? void 0 : n.mtlBlobs) == null ? void 0 : b.length) > 0) {
|
|
310
310
|
let F = await ((i = n == null ? void 0 : n.mtlBlobs) == null ? void 0 : i.map(async (fe) => {
|
|
311
311
|
let ne = await He({
|
|
312
312
|
url: fe
|
|
@@ -317,8 +317,8 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
317
317
|
}));
|
|
318
318
|
await Promise.all(F);
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
suffix: "." + ((
|
|
320
|
+
y = {
|
|
321
|
+
suffix: "." + ((p = s == null ? void 0 : s.split(".")) == null ? void 0 : p[((_ = s == null ? void 0 : s.split(".")) == null ? void 0 : _.length) - 1]),
|
|
322
322
|
blob: new Blob([S.data], {
|
|
323
323
|
type: "application/octet-stream;charset=UTF-8"
|
|
324
324
|
}),
|
|
@@ -346,7 +346,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
346
346
|
}));
|
|
347
347
|
await Promise.all(F);
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
y = {
|
|
350
350
|
suffix: "." + ((Ie = s == null ? void 0 : s.split(".")) == null ? void 0 : Ie[((Ee = s == null ? void 0 : s.split(".")) == null ? void 0 : Ee.length) - 1]),
|
|
351
351
|
blob: new Blob([S.data], {
|
|
352
352
|
type: "application/octet-stream;charset=UTF-8"
|
|
@@ -354,15 +354,15 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
354
354
|
mtlBlobs: re
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
|
|
357
|
+
y && l.push(y);
|
|
358
358
|
}));
|
|
359
359
|
await Promise.all(m), (l == null ? void 0 : l.length) !== 0 && ((P = o.value) == null || P.loadModelByDefaultPath(l));
|
|
360
360
|
}
|
|
361
361
|
},
|
|
362
362
|
{ immediate: !0, deep: !0 }
|
|
363
363
|
);
|
|
364
|
-
const
|
|
365
|
-
var e, u,
|
|
364
|
+
const be = async () => {
|
|
365
|
+
var e, u, C, P;
|
|
366
366
|
pe.setImportLoading(!0);
|
|
367
367
|
const a = await Tt({
|
|
368
368
|
key: {
|
|
@@ -370,7 +370,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
if (((e = a == null ? void 0 : a.data) == null ? void 0 : e.code) === 200) {
|
|
373
|
-
let l = (P = (
|
|
373
|
+
let l = (P = (C = (u = a == null ? void 0 : a.data) == null ? void 0 : u.result) == null ? void 0 : C.map((m) => {
|
|
374
374
|
var n;
|
|
375
375
|
if (((n = m == null ? void 0 : m.key) == null ? void 0 : n.layer) !== "superAdmin")
|
|
376
376
|
return m == null ? void 0 : m.id;
|
|
@@ -384,14 +384,14 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
384
384
|
await Ft();
|
|
385
385
|
};
|
|
386
386
|
return (a, e) => {
|
|
387
|
-
const u = U("el-dialog"),
|
|
388
|
-
return
|
|
387
|
+
const u = U("el-dialog"), C = U("el-button"), P = U("el-avatar"), l = U("el-header"), m = U("el-container"), n = U("el-icon"), S = U("el-input"), y = U("el-aside"), s = U("router-view"), R = U("el-main"), L = it("loading");
|
|
388
|
+
return g(), x($e, null, [
|
|
389
389
|
r(u, {
|
|
390
|
-
modelValue:
|
|
391
|
-
"onUpdate:modelValue": e[0] || (e[0] = (w) =>
|
|
390
|
+
modelValue: V.value,
|
|
391
|
+
"onUpdate:modelValue": e[0] || (e[0] = (w) => V.value = w),
|
|
392
392
|
style: { height: "700px", width: "1800px" }
|
|
393
393
|
}, {
|
|
394
|
-
default:
|
|
394
|
+
default: h(() => [
|
|
395
395
|
r(Xe, {
|
|
396
396
|
ref_key: "threeModelRef",
|
|
397
397
|
ref: o,
|
|
@@ -402,33 +402,33 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
402
402
|
_: 1
|
|
403
403
|
}, 8, ["modelValue"]),
|
|
404
404
|
Me(r(m, { class: "client-container" }, {
|
|
405
|
-
default:
|
|
405
|
+
default: h(() => [
|
|
406
406
|
r(l, { class: "client-structure-header" }, {
|
|
407
|
-
default:
|
|
407
|
+
default: h(() => {
|
|
408
408
|
var w;
|
|
409
409
|
return [
|
|
410
410
|
$("div", Ot, [
|
|
411
|
-
r(
|
|
411
|
+
r(C, {
|
|
412
412
|
id: "transparentBgButton",
|
|
413
413
|
onClick: c(mt)
|
|
414
414
|
}, {
|
|
415
|
-
default:
|
|
415
|
+
default: h(() => e[4] || (e[4] = [
|
|
416
416
|
ce(" 返回页面 ")
|
|
417
417
|
])),
|
|
418
418
|
_: 1,
|
|
419
419
|
__: [4]
|
|
420
420
|
}, 8, ["onClick"]),
|
|
421
|
-
r(
|
|
421
|
+
r(C, {
|
|
422
422
|
id: "transparentBgButton",
|
|
423
|
-
onClick: e[1] || (e[1] = (
|
|
424
|
-
var i,
|
|
425
|
-
return c(pt)((
|
|
423
|
+
onClick: e[1] || (e[1] = (b) => {
|
|
424
|
+
var i, _;
|
|
425
|
+
return c(pt)((_ = (i = c(B)) == null ? void 0 : i.map((p) => p.value)) == null ? void 0 : _.join("/"));
|
|
426
426
|
})
|
|
427
427
|
}, {
|
|
428
|
-
icon:
|
|
428
|
+
icon: h(() => [
|
|
429
429
|
r(Ae, { name: "Store" })
|
|
430
430
|
]),
|
|
431
|
-
default:
|
|
431
|
+
default: h(() => [
|
|
432
432
|
e[5] || (e[5] = ce(" 保存页面 "))
|
|
433
433
|
]),
|
|
434
434
|
_: 1,
|
|
@@ -442,15 +442,15 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
442
442
|
}, null, 8, ["breadArray", "onClick"])
|
|
443
443
|
]),
|
|
444
444
|
$("div", zt, [
|
|
445
|
-
|
|
445
|
+
Re(a.$slots, "default", {}, void 0, !0),
|
|
446
446
|
r(P, {
|
|
447
447
|
size: 35,
|
|
448
448
|
src: (w = c(X)) == null ? void 0 : w.avatarUrl
|
|
449
449
|
}, {
|
|
450
|
-
default:
|
|
451
|
-
var
|
|
450
|
+
default: h(() => {
|
|
451
|
+
var b;
|
|
452
452
|
return [
|
|
453
|
-
ce(me(((
|
|
453
|
+
ce(me(((b = c(X)) == null ? void 0 : b.account) ?? "未知"), 1)
|
|
454
454
|
];
|
|
455
455
|
}),
|
|
456
456
|
_: 1
|
|
@@ -460,12 +460,12 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
460
460
|
}),
|
|
461
461
|
_: 3
|
|
462
462
|
}),
|
|
463
|
-
c(H) === "edit" ? (
|
|
463
|
+
c(H) === "edit" ? (g(), Q(m, {
|
|
464
464
|
key: 0,
|
|
465
465
|
class: "model-operate",
|
|
466
466
|
style: { "margin-top": "10px", height: "0px" }
|
|
467
467
|
}, {
|
|
468
|
-
default:
|
|
468
|
+
default: h(() => [
|
|
469
469
|
$("div", Gt, [
|
|
470
470
|
r(qe)
|
|
471
471
|
]),
|
|
@@ -483,19 +483,19 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
483
483
|
}, 512), [
|
|
484
484
|
[Ge, c(H) === "edit"]
|
|
485
485
|
]),
|
|
486
|
-
Me((
|
|
486
|
+
Me((g(), Q(m, {
|
|
487
487
|
class: "client-container",
|
|
488
488
|
"element-loading-text": "正在加载页面数据..."
|
|
489
489
|
}, {
|
|
490
|
-
default:
|
|
490
|
+
default: h(() => [
|
|
491
491
|
r(l, { class: "client-header" }, {
|
|
492
|
-
default:
|
|
492
|
+
default: h(() => [
|
|
493
493
|
$("div", {
|
|
494
494
|
class: "client-header-logo",
|
|
495
495
|
onClick: ve
|
|
496
|
-
}, me(c(
|
|
496
|
+
}, me(c(f) === "" ? "ISIP" : c(f)), 1),
|
|
497
497
|
$("div", Jt, [
|
|
498
|
-
r(
|
|
498
|
+
r(jt, { mode: "horizontal" })
|
|
499
499
|
]),
|
|
500
500
|
$("div", Wt, [
|
|
501
501
|
r(S, {
|
|
@@ -504,9 +504,9 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
504
504
|
clearable: "",
|
|
505
505
|
placeholder: "搜索"
|
|
506
506
|
}, {
|
|
507
|
-
prefix:
|
|
507
|
+
prefix: h(() => [
|
|
508
508
|
r(n, { class: "el-input__icon" }, {
|
|
509
|
-
default:
|
|
509
|
+
default: h(() => [
|
|
510
510
|
r(c(Bt))
|
|
511
511
|
]),
|
|
512
512
|
_: 1
|
|
@@ -514,37 +514,37 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
514
514
|
]),
|
|
515
515
|
_: 1
|
|
516
516
|
}, 8, ["modelValue"]),
|
|
517
|
-
T.showButton ? (
|
|
517
|
+
T.showButton ? (g(), Q(C, {
|
|
518
518
|
key: 0,
|
|
519
519
|
class: "system-default-button",
|
|
520
520
|
onClick: ee
|
|
521
521
|
}, {
|
|
522
|
-
icon:
|
|
522
|
+
icon: h(() => [
|
|
523
523
|
r(Ae, { name: "App" })
|
|
524
524
|
]),
|
|
525
|
-
default:
|
|
525
|
+
default: h(() => [
|
|
526
526
|
e[6] || (e[6] = ce(" 生成APP "))
|
|
527
527
|
]),
|
|
528
528
|
_: 1,
|
|
529
529
|
__: [6]
|
|
530
530
|
})) : O("", !0),
|
|
531
|
-
T.showButton && c(H) === "view" ? (
|
|
531
|
+
T.showButton && c(H) === "view" ? (g(), Q(C, {
|
|
532
532
|
key: 1,
|
|
533
533
|
class: "system-default-button",
|
|
534
534
|
onClick: c(ht)
|
|
535
535
|
}, {
|
|
536
|
-
icon:
|
|
536
|
+
icon: h(() => [
|
|
537
537
|
r(Ae, { name: "write" })
|
|
538
538
|
]),
|
|
539
|
-
default:
|
|
539
|
+
default: h(() => [
|
|
540
540
|
e[7] || (e[7] = ce(" 修改布局 "))
|
|
541
541
|
]),
|
|
542
542
|
_: 1,
|
|
543
543
|
__: [7]
|
|
544
544
|
}, 8, ["onClick"])) : O("", !0),
|
|
545
|
-
|
|
545
|
+
Re(a.$slots, "default", {}, void 0, !0),
|
|
546
546
|
r(At, null, {
|
|
547
|
-
dropTitle:
|
|
547
|
+
dropTitle: h(() => {
|
|
548
548
|
var w;
|
|
549
549
|
return [
|
|
550
550
|
r($t, {
|
|
@@ -553,22 +553,22 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
553
553
|
showCropper: !1,
|
|
554
554
|
banClick: !0
|
|
555
555
|
}, {
|
|
556
|
-
avatarDefault:
|
|
557
|
-
var
|
|
556
|
+
avatarDefault: h(() => {
|
|
557
|
+
var b, i, _;
|
|
558
558
|
return [
|
|
559
|
-
ce(me((
|
|
559
|
+
ce(me((b = c(X)) != null && b.account ? (i = c(X)) == null ? void 0 : i.account : ((_ = c(X)) == null ? void 0 : _.账号) ?? "未知"), 1)
|
|
560
560
|
];
|
|
561
561
|
}),
|
|
562
562
|
_: 1
|
|
563
563
|
}, 8, ["avatarUrl"])
|
|
564
564
|
];
|
|
565
565
|
}),
|
|
566
|
-
dropMenu:
|
|
566
|
+
dropMenu: h(() => [
|
|
567
567
|
$("div", qt, [
|
|
568
568
|
r(Te, {
|
|
569
569
|
emptyColor: !0,
|
|
570
570
|
class: "menu-button",
|
|
571
|
-
onClickTrigger:
|
|
571
|
+
onClickTrigger: be,
|
|
572
572
|
modelValue: "清空数据",
|
|
573
573
|
buttonType: ""
|
|
574
574
|
}),
|
|
@@ -588,49 +588,49 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
588
588
|
_: 3
|
|
589
589
|
}),
|
|
590
590
|
r(m, { class: "client-body" }, {
|
|
591
|
-
default:
|
|
592
|
-
r(
|
|
593
|
-
default:
|
|
594
|
-
var w,
|
|
591
|
+
default: h(() => [
|
|
592
|
+
r(R, { class: "client-main" }, {
|
|
593
|
+
default: h(() => {
|
|
594
|
+
var w, b, i, _;
|
|
595
595
|
return [
|
|
596
|
-
r(
|
|
597
|
-
default:
|
|
596
|
+
r(y, { class: "client-aside" }, {
|
|
597
|
+
default: h(() => [
|
|
598
598
|
r(Mt, { mode: "vertical" })
|
|
599
599
|
]),
|
|
600
600
|
_: 1
|
|
601
601
|
}),
|
|
602
|
-
Me((
|
|
603
|
-
c(Ce) !== "" ? (
|
|
602
|
+
Me((g(), x("div", Qt, [
|
|
603
|
+
c(Ce) !== "" ? (g(), x("div", Yt, [
|
|
604
604
|
r(Te, {
|
|
605
605
|
class: "calculator-content back-content",
|
|
606
|
-
onClickTrigger: e[3] || (e[3] = (
|
|
606
|
+
onClickTrigger: e[3] || (e[3] = (p) => c(yt)()),
|
|
607
607
|
modelValue: "返回"
|
|
608
608
|
})
|
|
609
609
|
])) : O("", !0),
|
|
610
610
|
$("div", Zt, [
|
|
611
|
-
I.value ? (
|
|
612
|
-
I.value ? O("", !0) : (
|
|
611
|
+
I.value ? (g(), Q(s, { key: 0 })) : O("", !0),
|
|
612
|
+
I.value ? O("", !0) : (g(!0), x($e, { key: 1 }, Je((w = c(ge)(c(Be))) == null ? void 0 : w.filter((p) => p.comp !== "FormTop"), (p, oe) => {
|
|
613
613
|
var ye;
|
|
614
|
-
return
|
|
614
|
+
return g(), x("div", {
|
|
615
615
|
class: "item-view-content",
|
|
616
616
|
key: oe
|
|
617
617
|
}, [
|
|
618
|
-
((ye =
|
|
619
|
-
(
|
|
620
|
-
compName:
|
|
621
|
-
itemData:
|
|
622
|
-
childItemData:
|
|
623
|
-
key: (
|
|
618
|
+
((ye = p == null ? void 0 : p.comp) == null ? void 0 : ye.toUpperCase()) !== "TABLE" && p.name ? (g(), x("div", ea, me(p.name), 1)) : O("", !0),
|
|
619
|
+
(g(), Q(rt(c(gt)(p.comp)), {
|
|
620
|
+
compName: p.name,
|
|
621
|
+
itemData: p == null ? void 0 : p.compData,
|
|
622
|
+
childItemData: p == null ? void 0 : p.itemChildData,
|
|
623
|
+
key: (p == null ? void 0 : p.id) ?? oe,
|
|
624
624
|
onChange: c(wt),
|
|
625
|
-
index: (
|
|
625
|
+
index: (p == null ? void 0 : p.id) ?? oe,
|
|
626
626
|
onContentChange: c(Ct),
|
|
627
627
|
onPageChange: c(_t),
|
|
628
628
|
onRowClick: K
|
|
629
629
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
630
630
|
]);
|
|
631
631
|
}), 128)),
|
|
632
|
-
!I.value && !((
|
|
633
|
-
c(Ce) !== "" && ((
|
|
632
|
+
!I.value && !((b = c(ge)(c(Be))) != null && b.find((p) => p.comp === "methodButton")) ? (g(), x("div", ta, [
|
|
633
|
+
c(Ce) !== "" && ((_ = c(M)) == null ? void 0 : _[((i = c(M)) == null ? void 0 : i.length) - 1]) !== "/" ? (g(), Q(Te, {
|
|
634
634
|
key: 0,
|
|
635
635
|
class: "calculator-content",
|
|
636
636
|
onClickTrigger: he,
|
|
@@ -650,11 +650,11 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
650
650
|
}),
|
|
651
651
|
$("div", null, [
|
|
652
652
|
r(Pt, {
|
|
653
|
-
visible:
|
|
654
|
-
onBeforeDestroy:
|
|
653
|
+
visible: j.value,
|
|
654
|
+
onBeforeDestroy: ke,
|
|
655
655
|
style: { height: "700px", width: "1000px" }
|
|
656
656
|
}, {
|
|
657
|
-
default:
|
|
657
|
+
default: h(() => [
|
|
658
658
|
r(Xe, {
|
|
659
659
|
ref_key: "threeModelRef",
|
|
660
660
|
ref: o
|
|
@@ -672,7 +672,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
672
672
|
], 64);
|
|
673
673
|
};
|
|
674
674
|
}
|
|
675
|
-
}), oa = /* @__PURE__ */ _e(aa, [["__scopeId", "data-v-
|
|
675
|
+
}), oa = /* @__PURE__ */ _e(aa, [["__scopeId", "data-v-746395aa"]]), na = { class: "system-wrap" }, la = {
|
|
676
676
|
__name: "index",
|
|
677
677
|
props: {
|
|
678
678
|
windowConfig: {
|
|
@@ -693,9 +693,9 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
693
693
|
},
|
|
694
694
|
emits: ["buildContent", "showChild"],
|
|
695
695
|
setup(T, { emit: te }) {
|
|
696
|
-
const t =
|
|
696
|
+
const t = je(le), B = Ze(le), V = Ve();
|
|
697
697
|
v(!1);
|
|
698
|
-
const J = v(!0), o = T, N = te,
|
|
698
|
+
const J = v(!0), o = T, N = te, j = (D) => {
|
|
699
699
|
N("showChild", D);
|
|
700
700
|
}, z = We(() => {
|
|
701
701
|
switch (o == null ? void 0 : o.platform) {
|
|
@@ -704,14 +704,14 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
704
704
|
case "client":
|
|
705
705
|
return ut;
|
|
706
706
|
}
|
|
707
|
-
}),
|
|
707
|
+
}), k = (D) => {
|
|
708
708
|
const G = document.documentElement;
|
|
709
709
|
D == null || D.forEach((W) => {
|
|
710
710
|
G.style.setProperty(W.name, W.value);
|
|
711
711
|
});
|
|
712
712
|
};
|
|
713
713
|
Y(() => o.platform, (D, G) => {
|
|
714
|
-
D &&
|
|
714
|
+
D && k(z.value);
|
|
715
715
|
}, { immediate: !0 });
|
|
716
716
|
const se = () => {
|
|
717
717
|
N("buildContent");
|
|
@@ -725,23 +725,23 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
725
725
|
return;
|
|
726
726
|
}
|
|
727
727
|
if (!(o != null && o.content) || ((Z = o == null ? void 0 : o.content) == null ? void 0 : Z.length) === 0) return;
|
|
728
|
-
J.value = !0,
|
|
728
|
+
J.value = !0, V.setImportLoading(!0);
|
|
729
729
|
let D = [], G = [];
|
|
730
730
|
B.setSelectTitle([]), B.setSelectIndex(""), B.setSelectMenu(""), (ae = (X = o == null ? void 0 : o.content) == null ? void 0 : X.filter((H) => H !== "")) == null || ae.forEach((H) => {
|
|
731
731
|
G.push(vt(H));
|
|
732
|
-
}), D = G == null ? void 0 : G[0], await
|
|
732
|
+
}), D = G == null ? void 0 : G[0], await kt(D), await tt(), t.setOriginalData(D), V.setImportLoading(!1);
|
|
733
733
|
},
|
|
734
734
|
{ deep: !0, immediate: !0 }
|
|
735
|
-
), (D, G) => (
|
|
735
|
+
), (D, G) => (g(), x("div", na, [
|
|
736
736
|
r(oa, {
|
|
737
737
|
windowConfig: T.windowConfig,
|
|
738
738
|
showButton: T.showButton,
|
|
739
739
|
onBuildContent: se,
|
|
740
|
-
onShowChild:
|
|
740
|
+
onShowChild: j,
|
|
741
741
|
platform: o == null ? void 0 : o.platform
|
|
742
742
|
}, {
|
|
743
|
-
default:
|
|
744
|
-
|
|
743
|
+
default: h(() => [
|
|
744
|
+
Re(D.$slots, "default", {}, void 0, !0)
|
|
745
745
|
]),
|
|
746
746
|
_: 3
|
|
747
747
|
}, 8, ["windowConfig", "showButton", "platform"])
|
|
@@ -783,7 +783,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
783
783
|
},
|
|
784
784
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
785
785
|
setup(T, { emit: te }) {
|
|
786
|
-
const t = T, B = te,
|
|
786
|
+
const t = T, B = te, V = v([]), J = v(0), o = v([]), N = v([]), j = v(0), z = je(le), k = Ve(le), { itemData: se, originalData: D } = de(z), { activeMenuPath: G, platform: W } = de(k), Z = v(null), X = v(0), ae = v([]);
|
|
787
787
|
v("");
|
|
788
788
|
const H = v(0), Ce = () => {
|
|
789
789
|
B("buildContent");
|
|
@@ -791,7 +791,7 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
791
791
|
Y(
|
|
792
792
|
() => t == null ? void 0 : t.pageKey,
|
|
793
793
|
async () => {
|
|
794
|
-
let
|
|
794
|
+
let f = {};
|
|
795
795
|
if ((t == null ? void 0 : t.pageKey) !== "") {
|
|
796
796
|
const M = await Se(t == null ? void 0 : t.pageKey, sessionStorage.getItem("systemKey"), ""), E = await Se("弯管仿真加工管理/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
797
797
|
let A = ["管长", "外径"], I = {};
|
|
@@ -804,20 +804,20 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
804
804
|
}));
|
|
805
805
|
}));
|
|
806
806
|
}), M == null || M.forEach((d) => {
|
|
807
|
-
var ee, K, ie, q, ve,
|
|
807
|
+
var ee, K, ie, q, ve, ke;
|
|
808
808
|
if ((d == null ? void 0 : d.comp) === "Table") {
|
|
809
|
-
let
|
|
809
|
+
let be = [], he = (ie = (K = (ee = d == null ? void 0 : d.compData) == null ? void 0 : ee.find((e) => (e == null ? void 0 : e.key) === "header")) == null ? void 0 : K.contents) == null ? void 0 : ie.map((e) => e == null ? void 0 : e.label), a = (ke = (ve = (q = d == null ? void 0 : d.compData) == null ? void 0 : q.find((e) => (e == null ? void 0 : e.key) === "tableContents")) == null ? void 0 : ve.contents) == null ? void 0 : ke.map((e) => (e = e == null ? void 0 : e.filter((u) => !(u != null && u.id)), e));
|
|
810
810
|
a == null || a.forEach((e) => {
|
|
811
|
-
|
|
812
|
-
}),
|
|
811
|
+
be.push(et(e, he == null ? void 0 : he.filter((u) => u !== "操作")));
|
|
812
|
+
}), f[d.name] = be, f[d.name + "Content"] = d;
|
|
813
813
|
}
|
|
814
|
-
}),
|
|
814
|
+
}), f.extra = I, B("threeData", f);
|
|
815
815
|
}
|
|
816
816
|
},
|
|
817
817
|
{ deep: !0, immediate: !0 }
|
|
818
818
|
);
|
|
819
|
-
const we = (
|
|
820
|
-
B("openThreeBuild",
|
|
819
|
+
const we = (f) => {
|
|
820
|
+
B("openThreeBuild", f);
|
|
821
821
|
};
|
|
822
822
|
Y(
|
|
823
823
|
() => t == null ? void 0 : t.pathContent,
|
|
@@ -829,35 +829,35 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
829
829
|
immediate: !0
|
|
830
830
|
}
|
|
831
831
|
);
|
|
832
|
-
const pe = (
|
|
833
|
-
B("contentChange",
|
|
834
|
-
}, De = (
|
|
832
|
+
const pe = (f) => {
|
|
833
|
+
B("contentChange", f);
|
|
834
|
+
}, De = (f) => {
|
|
835
835
|
var E;
|
|
836
|
-
const M = (E = ge(
|
|
836
|
+
const M = (E = ge(f == null ? void 0 : f.wholeValue)) == null ? void 0 : E.map((A) => {
|
|
837
837
|
var I;
|
|
838
838
|
return (A == null ? void 0 : A.comp) === "Form" && (A.compData = (I = A.compData) == null ? void 0 : I.map((d) => ((d == null ? void 0 : d.key) === "formContent" && (d.contents = xt(d == null ? void 0 : d.contents)), d))), A;
|
|
839
839
|
});
|
|
840
840
|
B("change", {
|
|
841
841
|
originalContents: D.value,
|
|
842
|
-
currentContents:
|
|
843
|
-
editContent:
|
|
842
|
+
currentContents: f == null ? void 0 : f.wholeValue,
|
|
843
|
+
editContent: f == null ? void 0 : f.editValue,
|
|
844
844
|
arrayToContents: M
|
|
845
845
|
});
|
|
846
846
|
};
|
|
847
847
|
Y(
|
|
848
848
|
() => o.value,
|
|
849
849
|
() => {
|
|
850
|
-
H.value === o.value.length && o.value.length !== 0 && (
|
|
850
|
+
H.value === o.value.length && o.value.length !== 0 && (V.value = o.value);
|
|
851
851
|
},
|
|
852
852
|
{ deep: !0, immediate: !0 }
|
|
853
853
|
);
|
|
854
854
|
const Fe = () => {
|
|
855
855
|
Z.value !== null && Z.value.click();
|
|
856
|
-
}, xe = async (
|
|
857
|
-
|
|
858
|
-
const M =
|
|
856
|
+
}, xe = async (f) => {
|
|
857
|
+
k.setActiveMenuPath(""), k.setActiveTopMenuPath(""), k.setAsideMenus([]);
|
|
858
|
+
const M = f.target.files;
|
|
859
859
|
if (!M) return;
|
|
860
|
-
new FileReader(),
|
|
860
|
+
new FileReader(), V.value = [], o.value = [], H.value = M.length;
|
|
861
861
|
const E = Array.from(M).map(async (A) => await new Promise((I) => {
|
|
862
862
|
const d = new FileReader();
|
|
863
863
|
d.onload = (ee) => {
|
|
@@ -867,33 +867,33 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
867
867
|
console.error("解析失败:", K);
|
|
868
868
|
return;
|
|
869
869
|
}
|
|
870
|
-
}, d.onerror = () => I(`读取 ${A.name} 失败`), d.readAsText(A),
|
|
870
|
+
}, d.onerror = () => I(`读取 ${A.name} 失败`), d.readAsText(A), f.target.value = "", Z.value = null, J.value++;
|
|
871
871
|
}));
|
|
872
872
|
await Promise.all(E);
|
|
873
873
|
};
|
|
874
874
|
return Y(
|
|
875
875
|
() => [t == null ? void 0 : t.content, t == null ? void 0 : t.jsonContents],
|
|
876
876
|
async () => {
|
|
877
|
-
await tt(),
|
|
877
|
+
await tt(), V.value = t.content, N.value = t == null ? void 0 : t.jsonContents;
|
|
878
878
|
},
|
|
879
879
|
{ deep: !0, immediate: !0 }
|
|
880
880
|
), Y(
|
|
881
881
|
() => X.value,
|
|
882
882
|
() => {
|
|
883
|
-
var
|
|
884
|
-
((
|
|
883
|
+
var f;
|
|
884
|
+
((f = ae.value) == null ? void 0 : f.length) !== 0 && (z.setOriginalData(ae.value), z.setItemData(ae.value));
|
|
885
885
|
},
|
|
886
886
|
{ deep: !0, immediate: !0 }
|
|
887
|
-
), (
|
|
887
|
+
), (f, M) => {
|
|
888
888
|
const E = U("svg-icon"), A = U("el-button");
|
|
889
|
-
return
|
|
890
|
-
(t == null ? void 0 : t.mode) === "edit" ? (
|
|
889
|
+
return g(), x("div", ia, [
|
|
890
|
+
(t == null ? void 0 : t.mode) === "edit" ? (g(), x("div", ra, [
|
|
891
891
|
$("div", ua, [
|
|
892
892
|
r(qe)
|
|
893
893
|
]),
|
|
894
|
-
(
|
|
894
|
+
(g(), x("div", {
|
|
895
895
|
class: "model-show",
|
|
896
|
-
key:
|
|
896
|
+
key: j.value
|
|
897
897
|
}, [
|
|
898
898
|
r(Qe)
|
|
899
899
|
])),
|
|
@@ -901,31 +901,31 @@ const Vt = /* @__PURE__ */ _e(dt, [["render", Rt], ["__scopeId", "data-v-6d1fb5a
|
|
|
901
901
|
r(Ye)
|
|
902
902
|
])
|
|
903
903
|
])) : O("", !0),
|
|
904
|
-
(t == null ? void 0 : t.mode) === "view" ? (
|
|
905
|
-
(
|
|
904
|
+
(t == null ? void 0 : t.mode) === "view" ? (g(), x("div", da, [
|
|
905
|
+
(g(), Q(sa, {
|
|
906
906
|
showButton: T.showButton,
|
|
907
907
|
platform: c(W),
|
|
908
|
-
content:
|
|
908
|
+
content: V.value,
|
|
909
909
|
onChange: De,
|
|
910
910
|
jsonContents: N.value,
|
|
911
911
|
onContentChange: pe,
|
|
912
912
|
onBuildContent: Ce,
|
|
913
|
-
key:
|
|
913
|
+
key: j.value,
|
|
914
914
|
onShowChild: we
|
|
915
915
|
}, {
|
|
916
|
-
default:
|
|
916
|
+
default: h(() => {
|
|
917
917
|
var I;
|
|
918
918
|
return [
|
|
919
|
-
((I = t == null ? void 0 : t.jsonContents) == null ? void 0 : I.length) === 0 && (t != null && t.showButton) ? (
|
|
919
|
+
((I = t == null ? void 0 : t.jsonContents) == null ? void 0 : I.length) === 0 && (t != null && t.showButton) ? (g(), Q(A, {
|
|
920
920
|
key: 0,
|
|
921
921
|
class: "system-default-button",
|
|
922
922
|
onClick: Fe
|
|
923
923
|
}, {
|
|
924
|
-
icon:
|
|
924
|
+
icon: h(() => [
|
|
925
925
|
r(E, { name: "import" })
|
|
926
926
|
]),
|
|
927
|
-
default:
|
|
928
|
-
(
|
|
927
|
+
default: h(() => [
|
|
928
|
+
(g(), x("input", {
|
|
929
929
|
type: "file",
|
|
930
930
|
key: J.value,
|
|
931
931
|
ref_key: "fileInput",
|