ss-component-new 1.1.621 → 1.1.624
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-cwNAtWkQ.js → index-B1An8Htq.js} +3 -3
- package/dist/{index-By4IZGWU.cjs → index-B1dHNcdB.cjs} +1 -1
- package/dist/{index-BdAqAS8j.cjs → index-B36T-VF_.cjs} +1 -1
- package/dist/{index-tyYdP21K.cjs → index-B4APtXxQ.cjs} +1 -1
- package/dist/{index-B4fU_Oqr.js → index-B5t2-ZF6.js} +1 -1
- package/dist/{index-DbxbzUiK.js → index-BHNh8h0b.js} +1 -1
- package/dist/{index-CMgvFfxY.js → index-Bf_MUmNJ.js} +2 -2
- package/dist/{index-B6QTa9We.cjs → index-BjqICyT4.cjs} +1 -1
- package/dist/{index-DnY817qu.cjs → index-BpdXzn_5.cjs} +1 -1
- package/dist/{index-CPeCOE_d.js → index-CCMMXMB1.js} +4107 -3957
- package/dist/{index-CMwn0ZEb.js → index-CHFTtzVa.js} +2 -2
- package/dist/{index-YTvm8Dyq.cjs → index-CKHYXDPm.cjs} +1 -1
- package/dist/{index-CW1zJWa7.cjs → index-CTmwu9TK.cjs} +1 -1
- package/dist/index-CW3mfGB1.cjs +1 -0
- package/dist/{index-kLzEx5xq.cjs → index-CZ5Km1gh.cjs} +1 -1
- package/dist/{index-DfQCPyug.js → index-CZ7TZZkY.js} +2 -2
- package/dist/{index-JuKGX07D.js → index-CcsATbPx.js} +1 -1
- package/dist/index-D5356qth.cjs +1 -0
- package/dist/{index-rBRZ7zGU.cjs → index-DD66d4qh.cjs} +1 -1
- package/dist/{index-CgHGkDUQ.js → index-DFYsmhwk.js} +2 -2
- package/dist/{index-Dmc9yBFD.cjs → index-DGsekK7m.cjs} +13 -13
- package/dist/{index-DE4qOxcb.cjs → index-DHI2fA2V.cjs} +1 -1
- package/dist/{index-CEcr_wVS.js → index-DQg2yjYX.js} +2 -2
- package/dist/{index-twApCU3A.js → index-DSdCQ_W0.js} +2 -2
- package/dist/{index-aptPIfv7.cjs → index-DTxA0aLx.cjs} +2 -2
- package/dist/{index-BS0NY42k.js → index-DeAB8zT4.js} +1 -1
- package/dist/{index-BLUSTZzG.js → index-DfzBGyQ0.js} +2 -2
- package/dist/{index-BFWDxfM0.js → index-DpxAyiaB.js} +4 -4
- package/dist/{index-Cz_YKerb.js → index-DwZm1s3k.js} +118 -120
- package/dist/{index-B6McL4Y5.cjs → index-DxblCBeX.cjs} +1 -1
- package/dist/{index-COcl6KL3.cjs → index-JoUULW-e.cjs} +1 -1
- package/dist/{index-DKoGXjoD.js → index-OAZCfMnP.js} +3 -3
- package/dist/{index-D1eHyt-Y.js → index-XEvHnysy.js} +665 -665
- package/dist/{index-CX298lYO.cjs → index-dfd8x3YP.cjs} +1 -1
- package/dist/{index-OUcbra1H.cjs → index-gnjMHl16.cjs} +1 -1
- package/dist/{index-DUyXqunV.js → index-nWJ2cGxt.js} +5 -5
- package/dist/{index.vue_vue_type_script_setup_true_lang-BH9_Te0S.js → index.vue_vue_type_script_setup_true_lang-BhbHPZ34.js} +22 -22
- package/dist/{index.vue_vue_type_script_setup_true_lang-at_JPyg5.cjs → index.vue_vue_type_script_setup_true_lang-DoqHilMG.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BfNWM92-.cjs +1339 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-EGVEMSWV.js +62017 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-DtoHG_C9.cjs → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-COKqoEa-.cjs} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-CHdL2mdi.js → index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-KbQ9Rbrb.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-CZvlVQ3K.js → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-CAQGQOWa.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_57a7854d_lang-BmbIlTnn.cjs → index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-DZ-VOJA0.cjs} +1 -1
- package/dist/{main-MdhpVHXc.cjs → main-0xDyziYT.cjs} +1 -1
- package/dist/{main-DZAZF0E8.js → main-CMLGwMf_.js} +2 -2
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +7 -7
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-BRkJrghm.cjs → threeModel-CSRasN3J.cjs} +1 -1
- package/dist/{threeModel-C2biL1qd.js → threeModel-rRoqc4B5.js} +1 -1
- package/package.json +3 -1
- package/dist/index-D5P_BYL7.cjs +0 -1
- package/dist/index-Noso3rqY.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Br0-XuvP.js +0 -52928
- package/dist/index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CZZJYhO9.cjs +0 -1286
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { resolveComponent as D, createBlock as O, openBlock as g, withCtx as s, createVNode as n, createElementVNode as F, toDisplayString as ue, ref as _, onMounted as At, watch as Y, createElementBlock as I, Fragment as Ae, renderList as ze, createCommentVNode as X, normalizeStyle as
|
|
2
|
-
import { m as Ge, a as Xe, b as qe } from "./index-
|
|
3
|
-
import ut from "./index-
|
|
4
|
-
import { _ as
|
|
1
|
+
import { resolveComponent as D, createBlock as O, openBlock as g, withCtx as s, createVNode as n, createElementVNode as F, toDisplayString as ue, ref as _, onMounted as At, watch as Y, createElementBlock as I, Fragment as Ae, renderList as ze, createCommentVNode as X, normalizeStyle as Mt, defineComponent as st, computed as Ve, resolveDirective as it, withDirectives as Be, unref as l, createTextVNode as te, renderSlot as Fe, vShow as je, resolveDynamicComponent as rt } from "vue";
|
|
2
|
+
import { m as Ge, a as Xe, b as qe } from "./index-DQg2yjYX.js";
|
|
3
|
+
import ut from "./index-DSdCQ_W0.js";
|
|
4
|
+
import { _ as $t, o as ct, c as dt, a as pt, b as xt, d as mt, s as re, g as ht, e as ft, f as gt, h as yt, i as Pt, j as Vt } from "./index.vue_vue_type_style_index_0_scoped_1ee6cc73_lang-KbQ9Rbrb.js";
|
|
5
5
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as ne, s as oe, u as Ne, e as _t, c as Se, g as Oe, f as
|
|
7
|
-
import { u as
|
|
6
|
+
import { p as ne, s as oe, u as Ne, e as _t, c as Se, g as Oe, f as Ct, d as fe } from "./menu-wif0xsml.js";
|
|
7
|
+
import { u as wt } from "./login-wUTWXQ7u.js";
|
|
8
8
|
import { S as be } from "./index-BHtNKL1L.js";
|
|
9
9
|
import { u as Ee } from "./modelComp-bhPfLPDx.js";
|
|
10
|
-
import { _ as vt, a as De, d as nt, s as jt } from "./index-
|
|
11
|
-
import { u as He, a as It } from "./index-
|
|
12
|
-
import { _ as kt } from "./index.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import lt from "./threeModel-
|
|
14
|
-
import { u as Nt } from "./index-
|
|
10
|
+
import { _ as vt, a as De, d as nt, s as jt } from "./index-CCMMXMB1.js";
|
|
11
|
+
import { u as He, a as It } from "./index-DpxAyiaB.js";
|
|
12
|
+
import { _ as kt } from "./index.vue_vue_type_script_setup_true_lang-BhbHPZ34.js";
|
|
13
|
+
import lt from "./threeModel-rRoqc4B5.js";
|
|
14
|
+
import { u as Nt } from "./index-XEvHnysy.js";
|
|
15
15
|
import "vue-router";
|
|
16
|
-
import { g as Ie, a as Bt, l as bt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
16
|
+
import { g as Ie, a as Bt, l as bt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-EGVEMSWV.js";
|
|
17
17
|
import { a as Et } from "./array-VzXJcPjW.js";
|
|
18
|
-
import { c as Ut, b as Lt } from "./index.
|
|
18
|
+
import { c as Ut, b as Lt } from "./index.vue_vue_type_style_index_0_scoped_c8f6ea20_lang-CAQGQOWa.js";
|
|
19
19
|
const Kt = { class: "horizontal-f-18" };
|
|
20
|
-
function Ot(A, le, o, R,
|
|
20
|
+
function Ot(A, le, o, R, x, Z) {
|
|
21
21
|
const u = D("svg-icon"), ee = D("ssMenu");
|
|
22
22
|
return g(), O(ee, {
|
|
23
23
|
mode: A.mode,
|
|
@@ -37,7 +37,7 @@ function Ot(A, le, o, R, $, Z) {
|
|
|
37
37
|
_: 1
|
|
38
38
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
39
39
|
}
|
|
40
|
-
const Ft = /* @__PURE__ */ Te(
|
|
40
|
+
const Ft = /* @__PURE__ */ Te($t, [["render", Ot], ["__scopeId", "data-v-6dc766db"]]), zt = { class: "bread-content" }, Gt = ["onClick"], Xt = {
|
|
41
41
|
key: 0,
|
|
42
42
|
class: "split-title"
|
|
43
43
|
}, qt = {
|
|
@@ -50,7 +50,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
50
50
|
},
|
|
51
51
|
emits: ["click"],
|
|
52
52
|
setup(A, { emit: le }) {
|
|
53
|
-
const o = A, R = _([]),
|
|
53
|
+
const o = A, R = _([]), x = le;
|
|
54
54
|
At(() => {
|
|
55
55
|
R.value = o == null ? void 0 : o.breadArray;
|
|
56
56
|
}), Y(
|
|
@@ -61,7 +61,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
61
61
|
{ deep: !0, immediate: !0 }
|
|
62
62
|
);
|
|
63
63
|
const Z = (u) => {
|
|
64
|
-
|
|
64
|
+
x("click", u);
|
|
65
65
|
};
|
|
66
66
|
return (u, ee) => (g(), I("div", zt, [
|
|
67
67
|
(g(!0), I(Ae, null, ze(R.value, (P, U) => {
|
|
@@ -73,7 +73,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
73
73
|
F("div", {
|
|
74
74
|
class: "bread-title",
|
|
75
75
|
onClick: (ge) => Z(P),
|
|
76
|
-
style:
|
|
76
|
+
style: Mt({ opacity: ((ae = R.value) == null ? void 0 : ae.length) - 1 === U ? "0.7" : "1" })
|
|
77
77
|
}, ue(P.value), 13, Gt),
|
|
78
78
|
U !== R.value.length - 1 && Array.isArray(R.value) ? (g(), I("div", Xt, ue("/"))) : X("", !0)
|
|
79
79
|
]);
|
|
@@ -100,7 +100,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
setup(A) {
|
|
103
|
-
const le = He(ne), { selectTitle: o } = oe(le), R =
|
|
103
|
+
const le = He(ne), { selectTitle: o } = oe(le), R = wt(), { loginUserInfo: x } = oe(R), Z = Ee(ne), { isEdit: u, routeToChildPath: ee } = oe(Z), P = Ne(ne), { importLoading: U, activeAsideMenu: ae, contentLoading: ge } = oe(P), v = _(""), q = Ve(() => ae.value.isRouter), H = () => {
|
|
104
104
|
sessionStorage.clear(), window.location.reload();
|
|
105
105
|
}, J = async () => {
|
|
106
106
|
var y, L, de, pe;
|
|
@@ -116,7 +116,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
116
116
|
if (((ye = K == null ? void 0 : K.key) == null ? void 0 : ye.layer) !== "superAdmin")
|
|
117
117
|
return K == null ? void 0 : K.id;
|
|
118
118
|
})) == null ? void 0 : pe.filter((K) => K);
|
|
119
|
-
await
|
|
119
|
+
await Ct({
|
|
120
120
|
ids: se
|
|
121
121
|
}), P.setRawMenus([]);
|
|
122
122
|
}
|
|
@@ -125,7 +125,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
125
125
|
P.setActiveMenuPath(ee.value), Z.setRouteToChildPath("");
|
|
126
126
|
};
|
|
127
127
|
return (V, y) => {
|
|
128
|
-
const L = D("el-button"), de = D("el-avatar"), pe = D("el-header"), se = D("el-container"), K = D("el-icon"), ye = D("el-input"),
|
|
128
|
+
const L = D("el-button"), de = D("el-avatar"), pe = D("el-header"), se = D("el-container"), K = D("el-icon"), ye = D("el-input"), w = D("el-aside"), G = D("router-view"), W = D("el-main"), N = it("loading");
|
|
129
129
|
return g(), I(Ae, null, [
|
|
130
130
|
Be(n(se, { class: "client-container" }, {
|
|
131
131
|
default: s(() => [
|
|
@@ -147,8 +147,8 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
147
147
|
n(L, {
|
|
148
148
|
id: "transparentBgButton",
|
|
149
149
|
onClick: y[0] || (y[0] = (e) => {
|
|
150
|
-
var j,
|
|
151
|
-
return l(dt)((
|
|
150
|
+
var j, M;
|
|
151
|
+
return l(dt)((M = (j = l(o)) == null ? void 0 : j.map((me) => me.value)) == null ? void 0 : M.join("/"));
|
|
152
152
|
})
|
|
153
153
|
}, {
|
|
154
154
|
icon: s(() => [
|
|
@@ -171,12 +171,12 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
171
171
|
Fe(V.$slots, "default", {}, void 0, !0),
|
|
172
172
|
n(de, {
|
|
173
173
|
size: 35,
|
|
174
|
-
src: (T = l(
|
|
174
|
+
src: (T = l(x)) == null ? void 0 : T.avatarUrl
|
|
175
175
|
}, {
|
|
176
176
|
default: s(() => {
|
|
177
177
|
var e;
|
|
178
178
|
return [
|
|
179
|
-
te(ue(((e = l(
|
|
179
|
+
te(ue(((e = l(x)) == null ? void 0 : e.account) ?? "未知"), 1)
|
|
180
180
|
];
|
|
181
181
|
}),
|
|
182
182
|
_: 1
|
|
@@ -225,8 +225,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
225
225
|
modelValue: v.value,
|
|
226
226
|
"onUpdate:modelValue": y[1] || (y[1] = (T) => v.value = T),
|
|
227
227
|
clearable: "",
|
|
228
|
-
placeholder: "搜索"
|
|
229
|
-
style: { width: "130px" }
|
|
228
|
+
placeholder: "搜索"
|
|
230
229
|
}, {
|
|
231
230
|
prefix: s(() => [
|
|
232
231
|
n(K, { class: "el-input__icon" }, {
|
|
@@ -241,7 +240,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
241
240
|
A.showButton ? (g(), O(L, {
|
|
242
241
|
key: 0,
|
|
243
242
|
id: "transparentBgButton",
|
|
244
|
-
onClick: l(
|
|
243
|
+
onClick: l(xt)
|
|
245
244
|
}, {
|
|
246
245
|
icon: s(() => [
|
|
247
246
|
n(be, { name: "App" })
|
|
@@ -273,14 +272,14 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
273
272
|
return [
|
|
274
273
|
n(kt, {
|
|
275
274
|
size: "35",
|
|
276
|
-
avatarUrl: (T = l(
|
|
275
|
+
avatarUrl: (T = l(x)) == null ? void 0 : T.avatarUrl,
|
|
277
276
|
showCropper: !1,
|
|
278
277
|
banClick: !0
|
|
279
278
|
}, {
|
|
280
279
|
avatarDefault: s(() => {
|
|
281
|
-
var e, j,
|
|
280
|
+
var e, j, M;
|
|
282
281
|
return [
|
|
283
|
-
te(ue((e = l(
|
|
282
|
+
te(ue((e = l(x)) != null && e.account ? (j = l(x)) == null ? void 0 : j.account : ((M = l(x)) == null ? void 0 : M.账号) ?? "未知"), 1)
|
|
284
283
|
];
|
|
285
284
|
}),
|
|
286
285
|
_: 1
|
|
@@ -318,7 +317,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
318
317
|
default: s(() => {
|
|
319
318
|
var T;
|
|
320
319
|
return [
|
|
321
|
-
n(
|
|
320
|
+
n(w, { class: "client-aside" }, {
|
|
322
321
|
default: s(() => [
|
|
323
322
|
n(ut, { mode: "vertical" })
|
|
324
323
|
]),
|
|
@@ -333,12 +332,12 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
333
332
|
modelValue: "返回"
|
|
334
333
|
})) : X("", !0),
|
|
335
334
|
q.value ? X("", !0) : (g(!0), I(Ae, { key: 2 }, ze((T = l(Se)(l(re))) == null ? void 0 : T.filter((e) => e.comp !== "FormTop"), (e, j) => {
|
|
336
|
-
var
|
|
335
|
+
var M;
|
|
337
336
|
return g(), I("div", {
|
|
338
337
|
class: "item-view-content",
|
|
339
338
|
key: j
|
|
340
339
|
}, [
|
|
341
|
-
((
|
|
340
|
+
((M = e == null ? void 0 : e.comp) == null ? void 0 : M.toUpperCase()) !== "TABLE" && e.name ? (g(), I("div", na, ue(e.name), 1)) : X("", !0),
|
|
342
341
|
(g(), O(rt(l(ht)(e.comp)), {
|
|
343
342
|
compName: e.name,
|
|
344
343
|
itemData: e == null ? void 0 : e.compData,
|
|
@@ -370,7 +369,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
370
369
|
], 64);
|
|
371
370
|
};
|
|
372
371
|
}
|
|
373
|
-
}), sa = /* @__PURE__ */ Te(la, [["__scopeId", "data-v-
|
|
372
|
+
}), sa = /* @__PURE__ */ Te(la, [["__scopeId", "data-v-c5aef09b"]]), Le = [
|
|
374
373
|
{
|
|
375
374
|
key: "FitCurve_Eleven",
|
|
376
375
|
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
|
|
@@ -474,15 +473,15 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
474
473
|
setup(A, { emit: le }) {
|
|
475
474
|
const o = He(ne), R = _(!1);
|
|
476
475
|
_(0), _(!1);
|
|
477
|
-
const { selectTitle:
|
|
476
|
+
const { selectTitle: x } = oe(o), Z = _(!1), u = _(!1);
|
|
478
477
|
_(!1);
|
|
479
|
-
const ee = It(ne), P = _(!1), { tableShowThree: U } = oe(ee), ae = _(), ge =
|
|
478
|
+
const ee = It(ne), P = _(!1), { tableShowThree: U } = oe(ee), ae = _(), ge = wt(), { loginUserInfo: v } = oe(ge);
|
|
480
479
|
_(null);
|
|
481
480
|
const q = Ee(ne), { isEdit: H } = oe(q), J = Ne(ne), ce = Nt(ne), { objUrl: V, blobUrls: y } = oe(ce), L = _(null);
|
|
482
481
|
_(!1);
|
|
483
482
|
const de = _(), pe = _(!0);
|
|
484
483
|
_(!1);
|
|
485
|
-
const { importLoading: se, activeMenuPath: K, activeTopMenuPath: ye, platName:
|
|
484
|
+
const { importLoading: se, activeMenuPath: K, activeTopMenuPath: ye, platName: w, activeAsideMenu: G, contentLoading: W } = oe(J), N = _(!1), T = _(!1), e = _(!1), j = le, M = () => {
|
|
486
485
|
j("buildContent");
|
|
487
486
|
};
|
|
488
487
|
Y(() => K.value, async (a) => {
|
|
@@ -504,7 +503,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
504
503
|
}
|
|
505
504
|
}, ie = () => {
|
|
506
505
|
sessionStorage.clear(), window.location.reload();
|
|
507
|
-
},
|
|
506
|
+
}, Me = async () => {
|
|
508
507
|
var r, d, p, B;
|
|
509
508
|
J.setImportLoading(!0);
|
|
510
509
|
const a = await Oe({
|
|
@@ -518,13 +517,13 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
518
517
|
if (((i = c == null ? void 0 : c.key) == null ? void 0 : i.layer) !== "superAdmin")
|
|
519
518
|
return c == null ? void 0 : c.id;
|
|
520
519
|
})) == null ? void 0 : B.filter((c) => c);
|
|
521
|
-
await
|
|
520
|
+
await Ct({
|
|
522
521
|
ids: t
|
|
523
522
|
}), J.setRawMenus([]);
|
|
524
523
|
}
|
|
525
524
|
J.setImportLoading(!1);
|
|
526
|
-
},
|
|
527
|
-
var p, B, t, c, i, S,
|
|
525
|
+
}, $e = async (a) => {
|
|
526
|
+
var p, B, t, c, i, S, C;
|
|
528
527
|
const r = (p = a == null ? void 0 : a.split("/")) == null ? void 0 : p[0], d = await Oe({
|
|
529
528
|
key: {
|
|
530
529
|
type: "mainEquip",
|
|
@@ -532,7 +531,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
532
531
|
pageKey: r
|
|
533
532
|
}
|
|
534
533
|
});
|
|
535
|
-
return ((B = d == null ? void 0 : d.data) == null ? void 0 : B.type) === "success" ? ((
|
|
534
|
+
return ((B = d == null ? void 0 : d.data) == null ? void 0 : B.type) === "success" ? ((C = (S = (i = (c = (t = d == null ? void 0 : d.data) == null ? void 0 : t.result) == null ? void 0 : c[0]) == null ? void 0 : i.value) == null ? void 0 : S.tableData) == null ? void 0 : C.隐藏三维显示) !== !0 : !0;
|
|
536
535
|
};
|
|
537
536
|
Y(
|
|
538
537
|
() => re.value,
|
|
@@ -548,7 +547,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
548
547
|
), Y(
|
|
549
548
|
() => K.value,
|
|
550
549
|
async () => {
|
|
551
|
-
K.value && (pe.value = await
|
|
550
|
+
K.value && (pe.value = await $e(K.value));
|
|
552
551
|
},
|
|
553
552
|
{ deep: !0, immediate: !0 }
|
|
554
553
|
), Y(
|
|
@@ -566,12 +565,12 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
566
565
|
R.value = !0;
|
|
567
566
|
let t = [];
|
|
568
567
|
const c = await ((p = Se(y == null ? void 0 : y.value)) == null ? void 0 : p.map(async (i) => {
|
|
569
|
-
var Q, b, f, h, k,
|
|
570
|
-
let S,
|
|
568
|
+
var Q, b, f, h, k, Ce, Pe, Je, We, Qe;
|
|
569
|
+
let S, C, m;
|
|
571
570
|
i != null && i.blob.includes("undefined") ? m = (b = (Q = i == null ? void 0 : i.blob) == null ? void 0 : Q.split("undefined,")) == null ? void 0 : b[1] : m = i == null ? void 0 : i.blob;
|
|
572
571
|
let E = m == null ? void 0 : m.split(",");
|
|
573
572
|
if ((E == null ? void 0 : E.length) > 1) {
|
|
574
|
-
let
|
|
573
|
+
let we = await (E == null ? void 0 : E.map(async (z) => {
|
|
575
574
|
var he, Ye, Ze, et, tt, at;
|
|
576
575
|
S = await fe.get(z, {
|
|
577
576
|
responseType: "blob",
|
|
@@ -602,29 +601,29 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
602
601
|
mtlBlobs: ke
|
|
603
602
|
}), S;
|
|
604
603
|
}));
|
|
605
|
-
await Promise.all(
|
|
604
|
+
await Promise.all(we);
|
|
606
605
|
} else if (!(m != null && m.includes("https://")) && !(m != null && m.includes("http://"))) {
|
|
607
606
|
S = await nt({
|
|
608
607
|
url: m
|
|
609
608
|
});
|
|
610
|
-
let
|
|
609
|
+
let we = [];
|
|
611
610
|
if (((f = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : f.length) > 0) {
|
|
612
611
|
let z = await ((h = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : h.map(async (ke) => {
|
|
613
612
|
let he = await nt({
|
|
614
613
|
url: ke
|
|
615
614
|
});
|
|
616
|
-
return
|
|
615
|
+
return we.push(new Blob([he.data], {
|
|
617
616
|
type: "application/octet-stream;charset=UTF-8"
|
|
618
617
|
})), he;
|
|
619
618
|
}));
|
|
620
619
|
await Promise.all(z);
|
|
621
620
|
}
|
|
622
|
-
|
|
623
|
-
suffix: "." + ((
|
|
621
|
+
C = {
|
|
622
|
+
suffix: "." + ((Ce = m == null ? void 0 : m.split(".")) == null ? void 0 : Ce[((k = m == null ? void 0 : m.split(".")) == null ? void 0 : k.length) - 1]),
|
|
624
623
|
blob: new Blob([S.data], {
|
|
625
624
|
type: "application/octet-stream;charset=UTF-8"
|
|
626
625
|
}),
|
|
627
|
-
mtlBlobs:
|
|
626
|
+
mtlBlobs: we
|
|
628
627
|
};
|
|
629
628
|
} else {
|
|
630
629
|
S = await fe.get(m, {
|
|
@@ -633,7 +632,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
633
632
|
"Content-Type": "application/json"
|
|
634
633
|
}
|
|
635
634
|
});
|
|
636
|
-
let
|
|
635
|
+
let we = [];
|
|
637
636
|
if (((Pe = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : Pe.length) > 0) {
|
|
638
637
|
let z = await ((Je = i == null ? void 0 : i.mtlBlobs) == null ? void 0 : Je.map(async (ke) => {
|
|
639
638
|
let he = await fe.get(ke, {
|
|
@@ -642,28 +641,28 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
642
641
|
"Content-Type": "application/json"
|
|
643
642
|
}
|
|
644
643
|
});
|
|
645
|
-
return
|
|
644
|
+
return we.push(new Blob([he.data], {
|
|
646
645
|
type: "application/octet-stream;charset=UTF-8"
|
|
647
646
|
})), he;
|
|
648
647
|
}));
|
|
649
648
|
await Promise.all(z);
|
|
650
649
|
}
|
|
651
|
-
|
|
650
|
+
C = {
|
|
652
651
|
suffix: "." + ((Qe = m == null ? void 0 : m.split(".")) == null ? void 0 : Qe[((We = m == null ? void 0 : m.split(".")) == null ? void 0 : We.length) - 1]),
|
|
653
652
|
blob: new Blob([S.data], {
|
|
654
653
|
type: "application/octet-stream;charset=UTF-8"
|
|
655
654
|
}),
|
|
656
|
-
mtlBlobs:
|
|
655
|
+
mtlBlobs: we
|
|
657
656
|
};
|
|
658
657
|
}
|
|
659
|
-
|
|
658
|
+
C && t.push(C);
|
|
660
659
|
}));
|
|
661
660
|
await Promise.all(c), (t == null ? void 0 : t.length) !== 0 && ((B = L.value) == null || B.loadModelByDefaultPath(t));
|
|
662
661
|
}
|
|
663
662
|
},
|
|
664
663
|
{ immediate: !0, deep: !0 }
|
|
665
664
|
);
|
|
666
|
-
const
|
|
665
|
+
const xe = () => {
|
|
667
666
|
R.value = !1, L.value = null;
|
|
668
667
|
};
|
|
669
668
|
Y(
|
|
@@ -672,11 +671,11 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
672
671
|
var r, d, p, B;
|
|
673
672
|
if (U.value !== "" && U.value) {
|
|
674
673
|
let t = (r = K.value) == null ? void 0 : r.split("/"), c = t[(t == null ? void 0 : t.length) - 2];
|
|
675
|
-
const S = (((d = Le == null ? void 0 : Le.find((E) => (E == null ? void 0 : E.key) === c)) == null ? void 0 : d.download) ?? "") + "/" + U.value,
|
|
674
|
+
const S = (((d = Le == null ? void 0 : Le.find((E) => (E == null ? void 0 : E.key) === c)) == null ? void 0 : d.download) ?? "") + "/" + U.value, C = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), m = await fe.post(S, null, {
|
|
676
675
|
responseType: "blob",
|
|
677
676
|
// 必须设置
|
|
678
677
|
headers: {
|
|
679
|
-
Authorization:
|
|
678
|
+
Authorization: C,
|
|
680
679
|
baseURL: "http://139.196.154.85:20025",
|
|
681
680
|
"Content-Type": "application/json"
|
|
682
681
|
}
|
|
@@ -691,7 +690,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
691
690
|
);
|
|
692
691
|
const ve = _("");
|
|
693
692
|
_("open"), _("open"), _(!1), Ve(() => re.value);
|
|
694
|
-
const Re = Ve(() => G.value.isRouter),
|
|
693
|
+
const Re = Ve(() => G.value.isRouter), $ = (a) => {
|
|
695
694
|
let r = Se(a), d = [], p = [];
|
|
696
695
|
return r == null || r.forEach((B, t) => {
|
|
697
696
|
t === (a == null ? void 0 : a.length) - 1 ? (p.push(B), d.push(p)) : ((p == null ? void 0 : p.length) !== 0 && B.includes(".obj") && (d.push(p), p = []), p.push(B));
|
|
@@ -704,14 +703,14 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
704
703
|
var c;
|
|
705
704
|
(t == null ? void 0 : t.comp) === "Form" && ((c = t == null ? void 0 : t.compData) == null || c.forEach((i) => {
|
|
706
705
|
var S;
|
|
707
|
-
(i == null ? void 0 : i.key) === "formContent" && ((S = i == null ? void 0 : i.contents) == null || S.forEach((
|
|
708
|
-
p.includes(
|
|
706
|
+
(i == null ? void 0 : i.key) === "formContent" && ((S = i == null ? void 0 : i.contents) == null || S.forEach((C) => {
|
|
707
|
+
p.includes(C == null ? void 0 : C.key) && (B[C.key] = C.value);
|
|
709
708
|
}));
|
|
710
709
|
}));
|
|
711
710
|
}), r == null || r.forEach((t) => {
|
|
712
|
-
var c, i, S,
|
|
711
|
+
var c, i, S, C, m, E;
|
|
713
712
|
if ((t == null ? void 0 : t.comp) === "Table") {
|
|
714
|
-
let Q = [], b = (S = (i = (c = t == null ? void 0 : t.compData) == null ? void 0 : c.find((h) => (h == null ? void 0 : h.key) === "header")) == null ? void 0 : i.contents) == null ? void 0 : S.map((h) => h == null ? void 0 : h.label), f = (E = (m = (
|
|
713
|
+
let Q = [], b = (S = (i = (c = t == null ? void 0 : t.compData) == null ? void 0 : c.find((h) => (h == null ? void 0 : h.key) === "header")) == null ? void 0 : i.contents) == null ? void 0 : S.map((h) => h == null ? void 0 : h.label), f = (E = (m = (C = t == null ? void 0 : t.compData) == null ? void 0 : C.find((h) => (h == null ? void 0 : h.key) === "tableContents")) == null ? void 0 : m.contents) == null ? void 0 : E.map((h) => (h = h == null ? void 0 : h.filter((k) => !(k != null && k.id)), h));
|
|
715
714
|
f == null || f.forEach((h) => {
|
|
716
715
|
Q.push(Bt(h, b == null ? void 0 : b.filter((k) => k !== "操作")));
|
|
717
716
|
}), a[t.name] = Q, a[t.name + "Content"] = t;
|
|
@@ -723,10 +722,10 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
723
722
|
const d = ae.value;
|
|
724
723
|
let p = [];
|
|
725
724
|
if (typeof (d == null ? void 0 : d.url) == "string") {
|
|
726
|
-
let B = (a = d == null ? void 0 : d.url) == null ? void 0 : a.split(","), t = (r =
|
|
725
|
+
let B = (a = d == null ? void 0 : d.url) == null ? void 0 : a.split(","), t = (r = $(B)) == null ? void 0 : r.map(async (c) => {
|
|
727
726
|
var i, S;
|
|
728
727
|
if ((c == null ? void 0 : c.length) === 1) {
|
|
729
|
-
let
|
|
728
|
+
let C = c == null ? void 0 : c.map(async (m) => {
|
|
730
729
|
var f, h;
|
|
731
730
|
let E = await fe.get(m, {
|
|
732
731
|
responseType: "blob",
|
|
@@ -744,9 +743,9 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
744
743
|
};
|
|
745
744
|
return p.push(b), b;
|
|
746
745
|
});
|
|
747
|
-
return await Promise.all(
|
|
746
|
+
return await Promise.all(C), C;
|
|
748
747
|
} else {
|
|
749
|
-
let
|
|
748
|
+
let C = c == null ? void 0 : c.find((k) => k == null ? void 0 : k.includes(".obj")), m = await fe.get(C, {
|
|
750
749
|
responseType: "blob",
|
|
751
750
|
headers: {
|
|
752
751
|
"Content-Type": "application/json"
|
|
@@ -756,20 +755,20 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
756
755
|
type: "application/octet-stream;charset=UTF-8"
|
|
757
756
|
});
|
|
758
757
|
let Q = c == null ? void 0 : c.filter((k) => k == null ? void 0 : k.includes(".mtl")), b = [], f = Q == null ? void 0 : Q.map(async (k) => {
|
|
759
|
-
let
|
|
758
|
+
let Ce = await fe.get(C, {
|
|
760
759
|
responseType: "blob",
|
|
761
760
|
headers: {
|
|
762
761
|
"Content-Type": "application/json"
|
|
763
762
|
}
|
|
764
763
|
});
|
|
765
|
-
const Pe = new Blob([
|
|
764
|
+
const Pe = new Blob([Ce.data], {
|
|
766
765
|
type: "application/octet-stream;charset=UTF-8"
|
|
767
766
|
});
|
|
768
|
-
return b.push(Pe),
|
|
767
|
+
return b.push(Pe), Ce;
|
|
769
768
|
});
|
|
770
769
|
await Promise.all(f);
|
|
771
770
|
let h = {
|
|
772
|
-
suffix: "." + ((S =
|
|
771
|
+
suffix: "." + ((S = C == null ? void 0 : C.split(".")) == null ? void 0 : S[((i = C == null ? void 0 : C.split(".")) == null ? void 0 : i.length) - 1]),
|
|
773
772
|
blob: E,
|
|
774
773
|
mtlBlobs: b
|
|
775
774
|
};
|
|
@@ -782,7 +781,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
782
781
|
}
|
|
783
782
|
};
|
|
784
783
|
return (a, r) => {
|
|
785
|
-
const d = D("el-dialog"), p = D("el-button"), B = D("el-avatar"), t = D("el-header"), c = D("el-container"), i = D("el-icon"), S = D("el-input"),
|
|
784
|
+
const d = D("el-dialog"), p = D("el-button"), B = D("el-avatar"), t = D("el-header"), c = D("el-container"), i = D("el-icon"), S = D("el-input"), C = D("el-aside"), m = D("router-view"), E = D("el-main"), Q = it("loading");
|
|
786
785
|
return g(), I(Ae, null, [
|
|
787
786
|
n(d, {
|
|
788
787
|
modelValue: Ue.value,
|
|
@@ -820,7 +819,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
820
819
|
id: "transparentBgButton",
|
|
821
820
|
onClick: r[1] || (r[1] = (f) => {
|
|
822
821
|
var h, k;
|
|
823
|
-
return l(dt)((k = (h = l(
|
|
822
|
+
return l(dt)((k = (h = l(x)) == null ? void 0 : h.map((Ce) => Ce.value)) == null ? void 0 : k.join("/"));
|
|
824
823
|
})
|
|
825
824
|
}, {
|
|
826
825
|
icon: s(() => [
|
|
@@ -835,7 +834,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
835
834
|
]),
|
|
836
835
|
F("div", ra, [
|
|
837
836
|
n(Tt, {
|
|
838
|
-
breadArray: l(
|
|
837
|
+
breadArray: l(x),
|
|
839
838
|
onClick: l(pt)
|
|
840
839
|
}, null, 8, ["breadArray", "onClick"])
|
|
841
840
|
]),
|
|
@@ -891,7 +890,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
891
890
|
F("div", {
|
|
892
891
|
class: "client-header-logo",
|
|
893
892
|
onClick: Rt
|
|
894
|
-
}, ue(l(
|
|
893
|
+
}, ue(l(w) === "" ? "CPMPIP" : l(w)), 1),
|
|
895
894
|
F("div", ma, [
|
|
896
895
|
n(Ft, { mode: "horizontal" })
|
|
897
896
|
]),
|
|
@@ -900,8 +899,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
900
899
|
modelValue: ve.value,
|
|
901
900
|
"onUpdate:modelValue": r[2] || (r[2] = (b) => ve.value = b),
|
|
902
901
|
clearable: "",
|
|
903
|
-
placeholder: "搜索"
|
|
904
|
-
style: { width: "130px" }
|
|
902
|
+
placeholder: "搜索"
|
|
905
903
|
}, {
|
|
906
904
|
prefix: s(() => [
|
|
907
905
|
n(i, { class: "el-input__icon" }, {
|
|
@@ -916,7 +914,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
916
914
|
A.showButton ? (g(), O(p, {
|
|
917
915
|
key: 0,
|
|
918
916
|
id: "transparentBgButton",
|
|
919
|
-
onClick:
|
|
917
|
+
onClick: M
|
|
920
918
|
}, {
|
|
921
919
|
icon: s(() => [
|
|
922
920
|
n(be, { name: "App" })
|
|
@@ -967,7 +965,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
967
965
|
n(De, {
|
|
968
966
|
emptyColor: !0,
|
|
969
967
|
class: "menu-button",
|
|
970
|
-
onClickTrigger:
|
|
968
|
+
onClickTrigger: Me,
|
|
971
969
|
modelValue: "清空数据",
|
|
972
970
|
buttonType: ""
|
|
973
971
|
}),
|
|
@@ -992,7 +990,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
992
990
|
default: s(() => {
|
|
993
991
|
var b;
|
|
994
992
|
return [
|
|
995
|
-
n(
|
|
993
|
+
n(C, { class: "client-aside" }, {
|
|
996
994
|
default: s(() => [
|
|
997
995
|
n(ut, { mode: "vertical" })
|
|
998
996
|
]),
|
|
@@ -1038,7 +1036,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1038
1036
|
F("div", null, [
|
|
1039
1037
|
n(jt, {
|
|
1040
1038
|
visible: R.value,
|
|
1041
|
-
onBeforeDestroy:
|
|
1039
|
+
onBeforeDestroy: xe,
|
|
1042
1040
|
style: { height: "700px", width: "1000px" }
|
|
1043
1041
|
}, {
|
|
1044
1042
|
default: s(() => [
|
|
@@ -1053,7 +1051,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1053
1051
|
], 64);
|
|
1054
1052
|
};
|
|
1055
1053
|
}
|
|
1056
|
-
}),
|
|
1054
|
+
}), Ca = /* @__PURE__ */ Te(_a, [["__scopeId", "data-v-a4bf5d2d"]]), wa = { class: "system-wrap" }, va = {
|
|
1057
1055
|
__name: "index",
|
|
1058
1056
|
props: {
|
|
1059
1057
|
windowConfig: {
|
|
@@ -1074,7 +1072,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1074
1072
|
},
|
|
1075
1073
|
emits: ["buildContent", "showChild"],
|
|
1076
1074
|
setup(A, { emit: le }) {
|
|
1077
|
-
const o = Ee(ne), R = He(ne),
|
|
1075
|
+
const o = Ee(ne), R = He(ne), x = Ne();
|
|
1078
1076
|
_(!1);
|
|
1079
1077
|
const Z = _(!0), u = A, ee = le, P = (v) => {
|
|
1080
1078
|
ee("showChild", v);
|
|
@@ -1106,14 +1104,14 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1106
1104
|
return;
|
|
1107
1105
|
}
|
|
1108
1106
|
if (!(u != null && u.content) || ((J = u == null ? void 0 : u.content) == null ? void 0 : J.length) === 0) return;
|
|
1109
|
-
Z.value = !0,
|
|
1107
|
+
Z.value = !0, x.setImportLoading(!0);
|
|
1110
1108
|
let v = [], q = [];
|
|
1111
1109
|
R.setSelectTitle([]), R.setSelectIndex(""), R.setSelectMenu(""), (V = (ce = u == null ? void 0 : u.content) == null ? void 0 : ce.filter((y) => y !== "")) == null || V.forEach((y) => {
|
|
1112
1110
|
q.push(Pt(y));
|
|
1113
|
-
}), v = q == null ? void 0 : q[0], await Vt(v), await bt(), o.setOriginalData(v),
|
|
1111
|
+
}), v = q == null ? void 0 : q[0], await Vt(v), await bt(), o.setOriginalData(v), x.setImportLoading(!1);
|
|
1114
1112
|
},
|
|
1115
1113
|
{ deep: !0, immediate: !0 }
|
|
1116
|
-
), (v, q) => (g(), I("div",
|
|
1114
|
+
), (v, q) => (g(), I("div", wa, [
|
|
1117
1115
|
A.platform === "browser" ? (g(), O(sa, {
|
|
1118
1116
|
key: 0,
|
|
1119
1117
|
showButton: A.showButton
|
|
@@ -1122,7 +1120,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1122
1120
|
Fe(v.$slots, "default", {}, void 0, !0)
|
|
1123
1121
|
]),
|
|
1124
1122
|
_: 3
|
|
1125
|
-
}, 8, ["showButton"])) : (g(), O(
|
|
1123
|
+
}, 8, ["showButton"])) : (g(), O(Ca, {
|
|
1126
1124
|
key: 1,
|
|
1127
1125
|
windowConfig: A.windowConfig,
|
|
1128
1126
|
showButton: A.showButton,
|
|
@@ -1172,7 +1170,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1172
1170
|
},
|
|
1173
1171
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
1174
1172
|
setup(A, { emit: le }) {
|
|
1175
|
-
const o = A, R = le,
|
|
1173
|
+
const o = A, R = le, x = _([]), Z = _(0), u = _([]), ee = _([]), P = _(0), U = Ee(ne), ae = Ne(ne), { itemData: ge, originalData: v } = oe(U), { activeMenuPath: q, platform: H } = oe(ae), J = _(null), ce = _(0), V = _([]);
|
|
1176
1174
|
_("");
|
|
1177
1175
|
const y = _(0), L = () => {
|
|
1178
1176
|
R("buildContent");
|
|
@@ -1180,33 +1178,33 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1180
1178
|
Y(
|
|
1181
1179
|
() => o == null ? void 0 : o.pageKey,
|
|
1182
1180
|
async () => {
|
|
1183
|
-
let
|
|
1181
|
+
let w = {};
|
|
1184
1182
|
if ((o == null ? void 0 : o.pageKey) !== "") {
|
|
1185
1183
|
const G = await Ie(o == null ? void 0 : o.pageKey, sessionStorage.getItem("systemKey"), ""), W = await Ie("弯管仿真加工管理/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
1186
1184
|
let N = ["管长", "外径"], T = {};
|
|
1187
1185
|
W == null || W.forEach((e) => {
|
|
1188
1186
|
var j;
|
|
1189
|
-
(e == null ? void 0 : e.comp) === "Form" && ((j = e == null ? void 0 : e.compData) == null || j.forEach((
|
|
1187
|
+
(e == null ? void 0 : e.comp) === "Form" && ((j = e == null ? void 0 : e.compData) == null || j.forEach((M) => {
|
|
1190
1188
|
var me;
|
|
1191
|
-
(
|
|
1189
|
+
(M == null ? void 0 : M.key) === "formContent" && ((me = M == null ? void 0 : M.contents) == null || me.forEach((ie) => {
|
|
1192
1190
|
N.includes(ie == null ? void 0 : ie.key) && (T[ie.key] = ie.value);
|
|
1193
1191
|
}));
|
|
1194
1192
|
}));
|
|
1195
1193
|
}), G == null || G.forEach((e) => {
|
|
1196
|
-
var j,
|
|
1194
|
+
var j, M, me, ie, Me, $e;
|
|
1197
1195
|
if ((e == null ? void 0 : e.comp) === "Table") {
|
|
1198
|
-
let
|
|
1199
|
-
Re == null || Re.forEach((
|
|
1200
|
-
|
|
1201
|
-
}),
|
|
1196
|
+
let xe = [], ve = (me = (M = (j = e == null ? void 0 : e.compData) == null ? void 0 : j.find(($) => ($ == null ? void 0 : $.key) === "header")) == null ? void 0 : M.contents) == null ? void 0 : me.map(($) => $ == null ? void 0 : $.label), Re = ($e = (Me = (ie = e == null ? void 0 : e.compData) == null ? void 0 : ie.find(($) => ($ == null ? void 0 : $.key) === "tableContents")) == null ? void 0 : Me.contents) == null ? void 0 : $e.map(($) => ($ = $ == null ? void 0 : $.filter((_e) => !(_e != null && _e.id)), $));
|
|
1197
|
+
Re == null || Re.forEach(($) => {
|
|
1198
|
+
xe.push(Bt($, ve == null ? void 0 : ve.filter((_e) => _e !== "操作")));
|
|
1199
|
+
}), w[e.name] = xe, w[e.name + "Content"] = e;
|
|
1202
1200
|
}
|
|
1203
|
-
}),
|
|
1201
|
+
}), w.extra = T, R("threeData", w);
|
|
1204
1202
|
}
|
|
1205
1203
|
},
|
|
1206
1204
|
{ deep: !0, immediate: !0 }
|
|
1207
1205
|
);
|
|
1208
|
-
const de = (
|
|
1209
|
-
R("openThreeBuild",
|
|
1206
|
+
const de = (w) => {
|
|
1207
|
+
R("openThreeBuild", w);
|
|
1210
1208
|
};
|
|
1211
1209
|
Y(
|
|
1212
1210
|
() => o == null ? void 0 : o.pathContent,
|
|
@@ -1218,61 +1216,61 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1218
1216
|
immediate: !0
|
|
1219
1217
|
}
|
|
1220
1218
|
);
|
|
1221
|
-
const pe = (
|
|
1222
|
-
R("contentChange",
|
|
1223
|
-
}, se = (
|
|
1219
|
+
const pe = (w) => {
|
|
1220
|
+
R("contentChange", w);
|
|
1221
|
+
}, se = (w) => {
|
|
1224
1222
|
var W;
|
|
1225
|
-
const G = (W = Se(
|
|
1223
|
+
const G = (W = Se(w == null ? void 0 : w.wholeValue)) == null ? void 0 : W.map((N) => {
|
|
1226
1224
|
var T;
|
|
1227
1225
|
return (N == null ? void 0 : N.comp) === "Form" && (N.compData = (T = N.compData) == null ? void 0 : T.map((e) => ((e == null ? void 0 : e.key) === "formContent" && (e.contents = Et(e == null ? void 0 : e.contents)), e))), N;
|
|
1228
1226
|
});
|
|
1229
1227
|
R("change", {
|
|
1230
1228
|
originalContents: v.value,
|
|
1231
|
-
currentContents:
|
|
1232
|
-
editContent:
|
|
1229
|
+
currentContents: w == null ? void 0 : w.wholeValue,
|
|
1230
|
+
editContent: w == null ? void 0 : w.editValue,
|
|
1233
1231
|
arrayToContents: G
|
|
1234
1232
|
});
|
|
1235
1233
|
};
|
|
1236
1234
|
Y(
|
|
1237
1235
|
() => u.value,
|
|
1238
1236
|
() => {
|
|
1239
|
-
y.value === u.value.length && u.value.length !== 0 && (
|
|
1237
|
+
y.value === u.value.length && u.value.length !== 0 && (x.value = u.value);
|
|
1240
1238
|
},
|
|
1241
1239
|
{ deep: !0, immediate: !0 }
|
|
1242
1240
|
);
|
|
1243
1241
|
const K = () => {
|
|
1244
1242
|
J.value !== null && J.value.click();
|
|
1245
|
-
}, ye = async (
|
|
1246
|
-
const G =
|
|
1243
|
+
}, ye = async (w) => {
|
|
1244
|
+
const G = w.target.files;
|
|
1247
1245
|
if (!G) return;
|
|
1248
|
-
new FileReader(),
|
|
1246
|
+
new FileReader(), x.value = [], u.value = [], y.value = G.length;
|
|
1249
1247
|
const W = Array.from(G).map(async (N) => await new Promise((T) => {
|
|
1250
1248
|
const e = new FileReader();
|
|
1251
1249
|
e.onload = (j) => {
|
|
1252
1250
|
try {
|
|
1253
1251
|
u.value.push(j.target.result), ce.value++;
|
|
1254
|
-
} catch (
|
|
1255
|
-
console.error("解析失败:",
|
|
1252
|
+
} catch (M) {
|
|
1253
|
+
console.error("解析失败:", M);
|
|
1256
1254
|
return;
|
|
1257
1255
|
}
|
|
1258
|
-
}, e.onerror = () => T(`读取 ${N.name} 失败`), e.readAsText(N),
|
|
1256
|
+
}, e.onerror = () => T(`读取 ${N.name} 失败`), e.readAsText(N), w.target.value = "", J.value = null, Z.value++;
|
|
1259
1257
|
}));
|
|
1260
1258
|
await Promise.all(W);
|
|
1261
1259
|
};
|
|
1262
1260
|
return Y(
|
|
1263
1261
|
() => [o == null ? void 0 : o.content, o == null ? void 0 : o.jsonContents],
|
|
1264
1262
|
async () => {
|
|
1265
|
-
await bt(),
|
|
1263
|
+
await bt(), x.value = o.content, ee.value = o == null ? void 0 : o.jsonContents;
|
|
1266
1264
|
},
|
|
1267
1265
|
{ deep: !0, immediate: !0 }
|
|
1268
1266
|
), Y(
|
|
1269
1267
|
() => ce.value,
|
|
1270
1268
|
() => {
|
|
1271
|
-
var
|
|
1272
|
-
((
|
|
1269
|
+
var w;
|
|
1270
|
+
((w = V.value) == null ? void 0 : w.length) !== 0 && (U.setOriginalData(V.value), U.setItemData(V.value));
|
|
1273
1271
|
},
|
|
1274
1272
|
{ deep: !0, immediate: !0 }
|
|
1275
|
-
), (
|
|
1273
|
+
), (w, G) => {
|
|
1276
1274
|
const W = D("svg-icon"), N = D("el-button");
|
|
1277
1275
|
return g(), I("div", Ba, [
|
|
1278
1276
|
(o == null ? void 0 : o.mode) === "edit" ? (g(), I("div", ba, [
|
|
@@ -1293,7 +1291,7 @@ const Ft = /* @__PURE__ */ Te(Mt, [["render", Ot], ["__scopeId", "data-v-6dc766d
|
|
|
1293
1291
|
(g(), O(ka, {
|
|
1294
1292
|
showButton: A.showButton,
|
|
1295
1293
|
platform: l(H),
|
|
1296
|
-
content:
|
|
1294
|
+
content: x.value,
|
|
1297
1295
|
onChange: se,
|
|
1298
1296
|
jsonContents: ee.value,
|
|
1299
1297
|
onContentChange: pe,
|