ss-component-new 1.1.597 → 1.1.598
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/{array-mnEYd91h.cjs → array-C1gcNGaP.cjs} +1 -1
- package/dist/{array-wJSGLzMi.js → array-CaisX3_y.js} +1 -1
- package/dist/{crypto-BRyGpjGR.js → crypto-BLqrsrbD.js} +503 -430
- package/dist/{crypto-CRbcEKIz.cjs → crypto-kdpAHFnl.cjs} +11 -11
- package/dist/index-2tDhJ_PE.cjs +74 -0
- package/dist/{index-CdV-dIPz.js → index-6zxl3bAx.js} +3 -3
- package/dist/{index-Bq9zvPYq.js → index-B40Vg6be.js} +6 -6
- package/dist/index-BA5Dtdnf.cjs +1 -0
- package/dist/{index-DIQgn1lv.js → index-BIT-bLqc.js} +1 -1
- package/dist/index-BND1JkQV.cjs +1 -0
- package/dist/{index-C1KIIGh8.js → index-BQcbH-Bx.js} +5 -5
- package/dist/index-BTFmTXxw.cjs +1 -0
- package/dist/{index-Dr_FFxuS.cjs → index-BTR1Mq9-.cjs} +1 -1
- package/dist/{index-BhIXAFkM.js → index-BX8Qt4Rx.js} +6 -7
- package/dist/index-BkcTV4rw.cjs +1 -0
- package/dist/{index-DTKpspvK.cjs → index-BlUO9yjl.cjs} +1 -1
- package/dist/{index-Dm8EQvZF.cjs → index-Bn3uMi-8.cjs} +1 -1
- package/dist/index-Bp7fX2Un.cjs +1 -0
- package/dist/{index-Bb1N38wE.js → index-BzxOgHaM.js} +3 -3
- package/dist/{index-CUnz8HhY.cjs → index-C1pvDeK-.cjs} +1 -1
- package/dist/index-C2whMdL5.cjs +1 -0
- package/dist/{index-BxSBnCA1.js → index-C39wdrEg.js} +240 -242
- package/dist/{index-BmX_GIIO.cjs → index-CDtFBTgg.cjs} +1 -1
- package/dist/{index-Db0lTu76.js → index-CJT5TxjA.js} +3 -3
- package/dist/{index-DHuIlYC1.cjs → index-CLbudYRq.cjs} +1 -1
- package/dist/index-CLx_m5eO.cjs +1 -0
- package/dist/{index-bALhgSe4.js → index-CZevQ8Dr.js} +22 -23
- package/dist/index-CdUSKaxX.cjs +1 -0
- package/dist/{index-DSsJ2-ii.cjs → index-D-9AsLgs.cjs} +1 -1
- package/dist/{index-BriwvEur.js → index-D-EA3Esr.js} +4 -4
- package/dist/{index-BIu-jTfc.js → index-D0SLiYEQ.js} +1 -1
- package/dist/{index-Zt6huWXY.js → index-D7dvgWgC.js} +8 -8
- package/dist/{index-Bk3SowMg.js → index-D93nyxZ8.js} +4 -4
- package/dist/{index-B4LVTE2a.cjs → index-D9qvpCOL.cjs} +174 -174
- package/dist/{index-DQm7DvqZ.cjs → index-DAXzplpp.cjs} +1 -1
- package/dist/{index-CB4s2Qtu.cjs → index-DHxqKUgB.cjs} +1 -1
- package/dist/{index-C7x-mC0R.js → index-DJuUjZvH.js} +83 -84
- package/dist/index-DTyUDeyD.js +4369 -0
- package/dist/{index-CwYjbsHf.cjs → index-DeXIDjm6.cjs} +1 -1
- package/dist/{index-TRcS4V2m.js → index-DiGq9Lsv.js} +5 -5
- package/dist/{index-BBnnl-_P.cjs → index-Dnc9hCoC.cjs} +1 -1
- package/dist/{index-BurAdhpz.js → index-DyUmQMqi.js} +4 -4
- package/dist/index-HXTaOl2k.cjs +1 -0
- package/dist/{index-CmXpvujN.js → index-HkaBIp59.js} +1 -1
- package/dist/{index-BOb-2bQ6.js → index-RN-gwhe0.js} +2 -2
- package/dist/{index-Bkm9CeI0.js → index-V9vs-ScR.js} +1 -1
- package/dist/{index-8gbPS8-X.js → index-VF7EMAm-.js} +3 -3
- package/dist/{index-4me0w_d_.js → index-Ww4aroev.js} +3 -3
- package/dist/{index-BrR-UBrL.js → index-bCB0m90F.js} +5 -5
- package/dist/{index-CJ_rdkr8.js → index-hBF27unU.js} +7021 -7051
- package/dist/{index-Dsnvzj37.cjs → index-mWOC2B6n.cjs} +1 -1
- package/dist/{index-CjrWmm5T.js → index-sLT63BWC.js} +2030 -2020
- package/dist/{index-l52VRsV3.cjs → index-v95HBZGa.cjs} +1 -1
- package/dist/{index-P7MVl516.cjs → index-vqffUZk8.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js → index.vue_vue_type_script_setup_true_lang-CPMJDln6.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-CKo9xhlB.cjs → index.vue_vue_type_script_setup_true_lang-T3qSOy6p.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BNbsh3Kc.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DXFzvQ4G.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DPUizNX8.cjs} +1 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-BrSe9KLj.cjs +1 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js → index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CNhkr8wC.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DNiiRDF0.cjs → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-CcbD9_8d.cjs} +10 -10
- package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang--Ckdd4kI.js → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DCgz0iSg.js} +2170 -2164
- package/dist/{main-CBruCFMa.cjs → main-OEqZN7Ta.cjs} +1 -1
- package/dist/{main-BdwwE9kL.js → main-v-I0DDbj.js} +5 -5
- package/dist/{menu-DYsWoy6Z.cjs → menu-1olc0mrV.cjs} +9 -9
- package/dist/{menu-Qw1eGtzq.js → menu-BxkEScwt.js} +201 -199
- package/dist/menuIndex-DGUNtXPA.cjs +1 -0
- package/dist/menuIndex-DaxuTIfn.js +60 -0
- package/dist/{modelComp-y7HaQuVQ.js → modelComp-Bj7Q1JDt.js} +1 -1
- package/dist/{modelComp-8s0tWZDU.cjs → modelComp-C5jCD_od.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +9 -9
- package/dist/{threeModel-WeRc8TWE.js → threeModel-D_RxjZwp.js} +568 -550
- package/dist/threeModel-ncwxCK1P.cjs +1 -0
- package/package.json +1 -1
- package/dist/index-B-P2iW5F.cjs +0 -1
- package/dist/index-BFKRXrzQ.cjs +0 -1
- package/dist/index-BJi_ECqJ.cjs +0 -1
- package/dist/index-CATptFmj.cjs +0 -1
- package/dist/index-DFdkXYtv.js +0 -4373
- package/dist/index-DJc0EPc7.cjs +0 -1
- package/dist/index-DUjNOx49.cjs +0 -1
- package/dist/index-K05hKXiU.cjs +0 -1
- package/dist/index-R71UAxtE.cjs +0 -1
- package/dist/index-RFCzxTjm.cjs +0 -87
- package/dist/index-n20urAJT.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CHdcwZZm.cjs +0 -1
- package/dist/login-BBvcYktp.cjs +0 -1
- package/dist/login-afGmER0u.js +0 -129
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/threeModel-DQIGp3UU.cjs +0 -1
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { resolveComponent as S, createBlock as E, openBlock as h, withCtx as l, createVNode as a, createElementVNode as B, toDisplayString as re, ref as y, onMounted as At, watch as
|
|
2
|
-
import { m as Ee, a as Ke, b as Oe } from "./index-
|
|
3
|
-
import lt from "./index-
|
|
4
|
-
import { _ as xt, o as st, c as it, a as rt, b as
|
|
1
|
+
import { resolveComponent as S, createBlock as E, openBlock as h, withCtx as l, createVNode as a, createElementVNode as B, toDisplayString as re, ref as y, onMounted as At, watch as W, createElementBlock as j, Fragment as De, renderList as Le, createCommentVNode as X, normalizeStyle as Mt, defineComponent as at, computed as xe, resolveDirective as ot, withDirectives as Ce, unref as o, createTextVNode as ee, renderSlot as Be, vShow as Pe, resolveDynamicComponent as nt } from "vue";
|
|
2
|
+
import { m as Ee, a as Ke, b as Oe } from "./index-B40Vg6be.js";
|
|
3
|
+
import lt from "./index-D0SLiYEQ.js";
|
|
4
|
+
import { _ as xt, o as st, c as it, a as rt, b as ut, d as ct, s as ie, g as dt, e as pt, f as mt, h as ht, i as Pt, j as $t } from "./index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DCgz0iSg.js";
|
|
5
5
|
import { _ as be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import { p as ne, s as oe, u as $e, e as
|
|
7
|
-
import { u as
|
|
6
|
+
import { p as ne, s as oe, u as $e, e as ft, c as Re, g as Ie, f as gt, d as me } from "./menu-BxkEScwt.js";
|
|
7
|
+
import { u as yt } from "./crypto-BLqrsrbD.js";
|
|
8
8
|
import { S as ke } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { u as Ve } from "./modelComp-
|
|
10
|
-
import { _ as
|
|
11
|
-
import { u as ze, a as
|
|
12
|
-
import { _ as
|
|
13
|
-
import tt from "./threeModel-
|
|
14
|
-
import { u as
|
|
9
|
+
import { u as Ve } from "./modelComp-Bj7Q1JDt.js";
|
|
10
|
+
import { _ as _t, a as Se, d as et, s as Vt } from "./index-6zxl3bAx.js";
|
|
11
|
+
import { u as ze, a as jt, g as vt, b as wt, l as Ct } from "./index-sLT63BWC.js";
|
|
12
|
+
import { _ as kt } from "./index.vue_vue_type_script_setup_true_lang-CPMJDln6.js";
|
|
13
|
+
import tt from "./threeModel-D_RxjZwp.js";
|
|
14
|
+
import { u as Nt } from "./index-DTyUDeyD.js";
|
|
15
15
|
import "vue-router";
|
|
16
|
-
import { a as
|
|
17
|
-
import { c as
|
|
18
|
-
function
|
|
19
|
-
const u = S("svg-icon"),
|
|
20
|
-
return h(), E(
|
|
16
|
+
import { a as Ut } from "./array-CaisX3_y.js";
|
|
17
|
+
import { c as It, b as Lt } from "./index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CNhkr8wC.js";
|
|
18
|
+
function Et(D, le, e, T, N, Q) {
|
|
19
|
+
const u = S("svg-icon"), Y = S("ssMenu");
|
|
20
|
+
return h(), E(Y, {
|
|
21
21
|
mode: D.mode,
|
|
22
22
|
menuList: D.renderMenuList,
|
|
23
23
|
onClickMenu: D.clickMenu,
|
|
@@ -34,10 +34,10 @@ function Kt(D, le, e, T, N, Y) {
|
|
|
34
34
|
_: 1
|
|
35
35
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const Bt = /* @__PURE__ */ be(xt, [["render", Et], ["__scopeId", "data-v-5c2d7ed2"]]), Kt = { class: "bread-content" }, Ot = ["onClick"], zt = {
|
|
38
38
|
key: 0,
|
|
39
39
|
class: "split-title"
|
|
40
|
-
},
|
|
40
|
+
}, Gt = {
|
|
41
41
|
__name: "index",
|
|
42
42
|
props: {
|
|
43
43
|
breadArray: {
|
|
@@ -50,17 +50,17 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
50
50
|
const e = D, T = y([]), N = le;
|
|
51
51
|
At(() => {
|
|
52
52
|
T.value = e == null ? void 0 : e.breadArray;
|
|
53
|
-
}),
|
|
53
|
+
}), W(
|
|
54
54
|
() => e == null ? void 0 : e.breadArray,
|
|
55
55
|
() => {
|
|
56
56
|
T.value = e == null ? void 0 : e.breadArray;
|
|
57
57
|
},
|
|
58
58
|
{ deep: !0, immediate: !0 }
|
|
59
59
|
);
|
|
60
|
-
const
|
|
60
|
+
const Q = (u) => {
|
|
61
61
|
N("click", u);
|
|
62
62
|
};
|
|
63
|
-
return (u,
|
|
63
|
+
return (u, Y) => (h(), j("div", Kt, [
|
|
64
64
|
(h(!0), j(De, null, Le(T.value, (M, U) => {
|
|
65
65
|
var te;
|
|
66
66
|
return h(), j("div", {
|
|
@@ -69,21 +69,21 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
69
69
|
}, [
|
|
70
70
|
B("div", {
|
|
71
71
|
class: "bread-title",
|
|
72
|
-
onClick: (
|
|
72
|
+
onClick: (he) => Q(M),
|
|
73
73
|
style: Mt({ opacity: ((te = T.value) == null ? void 0 : te.length) - 1 === U ? "0.7" : "1" })
|
|
74
|
-
}, re(M.value), 13,
|
|
75
|
-
U !== T.value.length - 1 && Array.isArray(T.value) ? (h(), j("div",
|
|
74
|
+
}, re(M.value), 13, Ot),
|
|
75
|
+
U !== T.value.length - 1 && Array.isArray(T.value) ? (h(), j("div", zt, re("/"))) : X("", !0)
|
|
76
76
|
]);
|
|
77
77
|
}), 128))
|
|
78
78
|
]));
|
|
79
79
|
}
|
|
80
|
-
},
|
|
80
|
+
}, bt = /* @__PURE__ */ be(Gt, [["__scopeId", "data-v-ded7e2bd"]]), 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 = {
|
|
81
81
|
class: "client-main-operate",
|
|
82
82
|
"element-loading-text": "正在加载页面数据..."
|
|
83
|
-
},
|
|
83
|
+
}, aa = {
|
|
84
84
|
key: 0,
|
|
85
85
|
class: "item-view-group"
|
|
86
|
-
},
|
|
86
|
+
}, oa = /* @__PURE__ */ at({
|
|
87
87
|
__name: "index2",
|
|
88
88
|
props: {
|
|
89
89
|
windowConfig: {
|
|
@@ -97,7 +97,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
setup(D) {
|
|
100
|
-
const le = ze(ne), { selectTitle: e } = oe(le), T =
|
|
100
|
+
const le = ze(ne), { selectTitle: e } = oe(le), T = yt(), { loginUserInfo: N } = oe(T), Q = Ve(ne), { isEdit: u, routeToChildPath: Y } = oe(Q), M = $e(ne), { importLoading: U, activeAsideMenu: te, contentLoading: he } = oe(M), b = y(""), q = xe(() => te.value.isRouter), H = () => {
|
|
101
101
|
sessionStorage.clear(), window.location.reload();
|
|
102
102
|
}, J = async () => {
|
|
103
103
|
var f, I, ce, de;
|
|
@@ -109,20 +109,20 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
109
109
|
});
|
|
110
110
|
if (((f = x == null ? void 0 : x.data) == null ? void 0 : f.code) === 200) {
|
|
111
111
|
let se = (de = (ce = (I = x == null ? void 0 : x.data) == null ? void 0 : I.result) == null ? void 0 : ce.map((L) => {
|
|
112
|
-
var
|
|
113
|
-
if (((
|
|
112
|
+
var fe;
|
|
113
|
+
if (((fe = L == null ? void 0 : L.key) == null ? void 0 : fe.layer) !== "superAdmin")
|
|
114
114
|
return L == null ? void 0 : L.id;
|
|
115
115
|
})) == null ? void 0 : de.filter((L) => L);
|
|
116
|
-
await
|
|
116
|
+
await gt({
|
|
117
117
|
ids: se
|
|
118
118
|
}), M.setRawMenus([]);
|
|
119
119
|
}
|
|
120
120
|
M.setImportLoading(!1);
|
|
121
121
|
}, ue = () => {
|
|
122
|
-
M.setActiveMenuPath(
|
|
122
|
+
M.setActiveMenuPath(Y.value), Q.setRouteToChildPath("");
|
|
123
123
|
};
|
|
124
124
|
return (x, f) => {
|
|
125
|
-
const I = S("el-button"), ce = S("el-avatar"), de = S("el-header"), se = S("el-container"), L = S("el-icon"),
|
|
125
|
+
const I = S("el-button"), ce = S("el-avatar"), de = S("el-header"), se = S("el-container"), L = S("el-icon"), fe = S("el-input"), v = S("el-aside"), z = S("router-view"), R = S("el-main"), P = ot("loading");
|
|
126
126
|
return h(), j(De, null, [
|
|
127
127
|
Ce(a(se, { class: "client-container" }, {
|
|
128
128
|
default: l(() => [
|
|
@@ -130,10 +130,10 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
130
130
|
default: l(() => {
|
|
131
131
|
var F;
|
|
132
132
|
return [
|
|
133
|
-
B("div",
|
|
133
|
+
B("div", Xt, [
|
|
134
134
|
a(I, {
|
|
135
135
|
id: "transparentBgButton",
|
|
136
|
-
onClick:
|
|
136
|
+
onClick: o(st)
|
|
137
137
|
}, {
|
|
138
138
|
default: l(() => f[2] || (f[2] = [
|
|
139
139
|
ee(" 返回页面 ")
|
|
@@ -144,8 +144,8 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
144
144
|
a(I, {
|
|
145
145
|
id: "transparentBgButton",
|
|
146
146
|
onClick: f[0] || (f[0] = (i) => {
|
|
147
|
-
var
|
|
148
|
-
return
|
|
147
|
+
var Z, ae;
|
|
148
|
+
return o(it)((ae = (Z = o(e)) == null ? void 0 : Z.map((ve) => ve.value)) == null ? void 0 : ae.join("/"));
|
|
149
149
|
})
|
|
150
150
|
}, {
|
|
151
151
|
icon: l(() => [
|
|
@@ -158,22 +158,22 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
158
158
|
__: [3]
|
|
159
159
|
})
|
|
160
160
|
]),
|
|
161
|
-
B("div",
|
|
162
|
-
a(
|
|
163
|
-
breadArray:
|
|
164
|
-
onClick:
|
|
161
|
+
B("div", qt, [
|
|
162
|
+
a(bt, {
|
|
163
|
+
breadArray: o(e),
|
|
164
|
+
onClick: o(rt)
|
|
165
165
|
}, null, 8, ["breadArray", "onClick"])
|
|
166
166
|
]),
|
|
167
|
-
B("div",
|
|
167
|
+
B("div", Ht, [
|
|
168
168
|
Be(x.$slots, "default", {}, void 0, !0),
|
|
169
169
|
a(ce, {
|
|
170
170
|
size: 35,
|
|
171
|
-
src: (F =
|
|
171
|
+
src: (F = o(N)) == null ? void 0 : F.avatarUrl
|
|
172
172
|
}, {
|
|
173
173
|
default: l(() => {
|
|
174
174
|
var i;
|
|
175
175
|
return [
|
|
176
|
-
ee(re(((i =
|
|
176
|
+
ee(re(((i = o(N)) == null ? void 0 : i.account) ?? "未知"), 1)
|
|
177
177
|
];
|
|
178
178
|
}),
|
|
179
179
|
_: 1
|
|
@@ -183,19 +183,19 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
183
183
|
}),
|
|
184
184
|
_: 3
|
|
185
185
|
}),
|
|
186
|
-
|
|
186
|
+
o(u) === "edit" ? (h(), E(se, {
|
|
187
187
|
key: 0,
|
|
188
188
|
class: "model-operate",
|
|
189
189
|
style: { "margin-top": "10px", height: "0px" }
|
|
190
190
|
}, {
|
|
191
191
|
default: l(() => [
|
|
192
|
-
B("div",
|
|
192
|
+
B("div", Jt, [
|
|
193
193
|
a(Ee)
|
|
194
194
|
]),
|
|
195
|
-
B("div",
|
|
195
|
+
B("div", Wt, [
|
|
196
196
|
a(Ke)
|
|
197
197
|
]),
|
|
198
|
-
B("div",
|
|
198
|
+
B("div", Qt, [
|
|
199
199
|
a(Oe)
|
|
200
200
|
])
|
|
201
201
|
]),
|
|
@@ -204,7 +204,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
204
204
|
]),
|
|
205
205
|
_: 3
|
|
206
206
|
}, 512), [
|
|
207
|
-
[Pe,
|
|
207
|
+
[Pe, o(u) === "edit"]
|
|
208
208
|
]),
|
|
209
209
|
Ce((h(), E(se, {
|
|
210
210
|
class: "client-container",
|
|
@@ -214,11 +214,11 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
214
214
|
a(de, { class: "client-header" }, {
|
|
215
215
|
default: l(() => [
|
|
216
216
|
f[6] || (f[6] = B("div", { class: "client-header-logo" }, " ISIP ", -1)),
|
|
217
|
-
B("div",
|
|
218
|
-
a(
|
|
217
|
+
B("div", Yt, [
|
|
218
|
+
a(Bt, { mode: "horizontal" })
|
|
219
219
|
]),
|
|
220
|
-
B("div",
|
|
221
|
-
a(
|
|
220
|
+
B("div", Zt, [
|
|
221
|
+
a(fe, {
|
|
222
222
|
modelValue: b.value,
|
|
223
223
|
"onUpdate:modelValue": f[1] || (f[1] = (F) => b.value = F),
|
|
224
224
|
clearable: "",
|
|
@@ -228,7 +228,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
228
228
|
prefix: l(() => [
|
|
229
229
|
a(L, { class: "el-input__icon" }, {
|
|
230
230
|
default: l(() => [
|
|
231
|
-
a(
|
|
231
|
+
a(o(ft))
|
|
232
232
|
]),
|
|
233
233
|
_: 1
|
|
234
234
|
})
|
|
@@ -238,7 +238,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
238
238
|
D.showButton ? (h(), E(I, {
|
|
239
239
|
key: 0,
|
|
240
240
|
id: "transparentBgButton",
|
|
241
|
-
onClick:
|
|
241
|
+
onClick: o(ut)
|
|
242
242
|
}, {
|
|
243
243
|
icon: l(() => [
|
|
244
244
|
a(ke, { name: "App" })
|
|
@@ -249,10 +249,10 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
249
249
|
_: 1,
|
|
250
250
|
__: [4]
|
|
251
251
|
}, 8, ["onClick"])) : X("", !0),
|
|
252
|
-
D.showButton &&
|
|
252
|
+
D.showButton && o(u) === "view" ? (h(), E(I, {
|
|
253
253
|
key: 1,
|
|
254
254
|
id: "transparentBgButton",
|
|
255
|
-
onClick:
|
|
255
|
+
onClick: o(ct)
|
|
256
256
|
}, {
|
|
257
257
|
icon: l(() => [
|
|
258
258
|
a(ke, { name: "write" })
|
|
@@ -264,20 +264,20 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
264
264
|
__: [5]
|
|
265
265
|
}, 8, ["onClick"])) : X("", !0),
|
|
266
266
|
Be(x.$slots, "default", {}, void 0, !0),
|
|
267
|
-
a(
|
|
267
|
+
a(_t, null, {
|
|
268
268
|
dropTitle: l(() => {
|
|
269
269
|
var F;
|
|
270
270
|
return [
|
|
271
|
-
a(
|
|
271
|
+
a(kt, {
|
|
272
272
|
size: "35",
|
|
273
|
-
avatarUrl: (F =
|
|
273
|
+
avatarUrl: (F = o(N)) == null ? void 0 : F.avatarUrl,
|
|
274
274
|
showCropper: !1,
|
|
275
275
|
banClick: !0
|
|
276
276
|
}, {
|
|
277
277
|
avatarDefault: l(() => {
|
|
278
278
|
var i;
|
|
279
279
|
return [
|
|
280
|
-
ee(re(((i =
|
|
280
|
+
ee(re(((i = o(N)) == null ? void 0 : i.account) ?? "未知"), 1)
|
|
281
281
|
];
|
|
282
282
|
}),
|
|
283
283
|
_: 1
|
|
@@ -285,7 +285,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
285
285
|
];
|
|
286
286
|
}),
|
|
287
287
|
dropMenu: l(() => [
|
|
288
|
-
B("div",
|
|
288
|
+
B("div", ea, [
|
|
289
289
|
a(Se, {
|
|
290
290
|
emptyColor: !0,
|
|
291
291
|
class: "menu-button",
|
|
@@ -321,35 +321,35 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
321
321
|
]),
|
|
322
322
|
_: 1
|
|
323
323
|
}),
|
|
324
|
-
Ce((h(), j("div",
|
|
324
|
+
Ce((h(), j("div", ta, [
|
|
325
325
|
q.value ? (h(), E(z, { key: 0 })) : X("", !0),
|
|
326
|
-
|
|
326
|
+
o(Y) !== "" ? (h(), E(Se, {
|
|
327
327
|
key: 1,
|
|
328
328
|
class: "calculator-content back-content",
|
|
329
329
|
onClickTrigger: ue,
|
|
330
330
|
modelValue: "返回"
|
|
331
331
|
})) : X("", !0),
|
|
332
|
-
q.value ? X("", !0) : (h(!0), j(De, { key: 2 }, Le((F =
|
|
332
|
+
q.value ? X("", !0) : (h(!0), j(De, { key: 2 }, Le((F = o(Re)(o(ie))) == null ? void 0 : F.filter((i) => i.comp !== "FormTop"), (i, Z) => {
|
|
333
333
|
var ae;
|
|
334
334
|
return h(), j("div", {
|
|
335
335
|
class: "item-view-content",
|
|
336
|
-
key:
|
|
336
|
+
key: Z
|
|
337
337
|
}, [
|
|
338
|
-
((ae = i == null ? void 0 : i.comp) == null ? void 0 : ae.toUpperCase()) !== "TABLE" && i.name ? (h(), j("div",
|
|
339
|
-
(h(), E(nt(
|
|
338
|
+
((ae = i == null ? void 0 : i.comp) == null ? void 0 : ae.toUpperCase()) !== "TABLE" && i.name ? (h(), j("div", aa, re(i.name), 1)) : X("", !0),
|
|
339
|
+
(h(), E(nt(o(dt)(i.comp)), {
|
|
340
340
|
compName: i.name,
|
|
341
341
|
itemData: i == null ? void 0 : i.compData,
|
|
342
342
|
childItemData: i == null ? void 0 : i.itemChildData,
|
|
343
|
-
key: (i == null ? void 0 : i.id) ??
|
|
344
|
-
onChange:
|
|
345
|
-
index: (i == null ? void 0 : i.id) ??
|
|
346
|
-
onContentChange:
|
|
347
|
-
onPageChange:
|
|
343
|
+
key: (i == null ? void 0 : i.id) ?? Z,
|
|
344
|
+
onChange: o(ht),
|
|
345
|
+
index: (i == null ? void 0 : i.id) ?? Z,
|
|
346
|
+
onContentChange: o(mt),
|
|
347
|
+
onPageChange: o(pt)
|
|
348
348
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
349
349
|
]);
|
|
350
350
|
}), 128))
|
|
351
351
|
])), [
|
|
352
|
-
[P,
|
|
352
|
+
[P, o(he)]
|
|
353
353
|
])
|
|
354
354
|
];
|
|
355
355
|
}),
|
|
@@ -361,13 +361,13 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
361
361
|
]),
|
|
362
362
|
_: 3
|
|
363
363
|
})), [
|
|
364
|
-
[Pe,
|
|
365
|
-
[P,
|
|
364
|
+
[Pe, o(u) === "view"],
|
|
365
|
+
[P, o(U)]
|
|
366
366
|
])
|
|
367
367
|
], 64);
|
|
368
368
|
};
|
|
369
369
|
}
|
|
370
|
-
}),
|
|
370
|
+
}), na = /* @__PURE__ */ be(oa, [["__scopeId", "data-v-ac977f64"]]), Ne = [
|
|
371
371
|
{
|
|
372
372
|
key: "FitCurve_Eleven",
|
|
373
373
|
value: "http://139.196.154.85:20024/api/algorithmRun/verificationAlgorithm/35326658522693",
|
|
@@ -448,13 +448,13 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
448
448
|
// key: "参数筛选推理",
|
|
449
449
|
// value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35277984187973/outputResources/fitness_iteration.png"
|
|
450
450
|
// }
|
|
451
|
-
],
|
|
451
|
+
], la = { class: "structure-buttons" }, sa = { class: "structure-paths" }, ia = { class: "client-header-user" }, ra = { class: "model-select" }, ua = { class: "model-show" }, ca = { class: "model-fill" }, da = { class: "client-header-menu" }, pa = { class: "client-header-user" }, ma = { class: "drop-menu" }, ha = {
|
|
452
452
|
class: "client-main-operate",
|
|
453
453
|
"element-loading-text": "正在加载页面数据..."
|
|
454
|
-
},
|
|
454
|
+
}, fa = {
|
|
455
455
|
key: 0,
|
|
456
456
|
class: "item-view-group"
|
|
457
|
-
},
|
|
457
|
+
}, ga = /* @__PURE__ */ at({
|
|
458
458
|
__name: "index2",
|
|
459
459
|
props: {
|
|
460
460
|
windowConfig: {
|
|
@@ -471,38 +471,36 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
471
471
|
setup(D, { emit: le }) {
|
|
472
472
|
const e = ze(ne), T = y(!1);
|
|
473
473
|
y(0), y(!1);
|
|
474
|
-
const { selectTitle: N } = oe(e),
|
|
474
|
+
const { selectTitle: N } = oe(e), Q = y(!1), u = y(!1);
|
|
475
475
|
y(!1);
|
|
476
|
-
const
|
|
476
|
+
const Y = jt(ne), M = y(!1), { tableShowThree: U } = oe(Y), te = y(), he = yt(), { loginUserInfo: b } = oe(he);
|
|
477
477
|
y(null);
|
|
478
|
-
const q = Ve(ne), { isEdit: H } = oe(q), J = $e(ne), ue =
|
|
478
|
+
const q = Ve(ne), { isEdit: H } = oe(q), J = $e(ne), ue = Nt(ne), { objUrl: x, blobUrls: f } = oe(ue), I = y(null);
|
|
479
479
|
y(!1);
|
|
480
480
|
const ce = y(), de = y(!0);
|
|
481
481
|
y(!1);
|
|
482
|
-
const { importLoading: se, activeMenuPath: L, activeTopMenuPath:
|
|
483
|
-
|
|
484
|
-
};
|
|
485
|
-
Q(() => L.value, async (t) => {
|
|
482
|
+
const { importLoading: se, activeMenuPath: L, activeTopMenuPath: fe, platName: v, activeAsideMenu: z, contentLoading: R } = oe(J), P = y(!1), F = y(!1), i = y(!1), Z = le;
|
|
483
|
+
W(() => L.value, async (t) => {
|
|
486
484
|
t && (i.value = !0), t === "弯管仿真加工管理/仿真动画生成" ? P.value = !0 : P.value = !1, t === "弯管仿真加工管理/程序输出" ? F.value = !0 : F.value = !1, Ue != null && Ue.find((s) => {
|
|
487
|
-
var
|
|
488
|
-
return (s == null ? void 0 : s.key) === ((
|
|
485
|
+
var n;
|
|
486
|
+
return (s == null ? void 0 : s.key) === ((n = t == null ? void 0 : t.split("/")) == null ? void 0 : n[(t == null ? void 0 : t.split("/").length) - 1]);
|
|
489
487
|
}) ? M.value = !0 : M.value = !1;
|
|
490
488
|
}, { immediate: !0 });
|
|
491
|
-
const
|
|
489
|
+
const ae = (t) => {
|
|
492
490
|
if ((t == null ? void 0 : t.type) === "table") {
|
|
493
|
-
let s = Object.values(t == null ? void 0 : t.row),
|
|
494
|
-
|
|
495
|
-
url:
|
|
491
|
+
let s = Object.values(t == null ? void 0 : t.row), n = s == null ? void 0 : s.find((c) => typeof c == "string" && ((c == null ? void 0 : c.includes(".urdf")) || (c == null ? void 0 : c.includes(".obj"))));
|
|
492
|
+
n && (te.value = {
|
|
493
|
+
url: n,
|
|
496
494
|
row: t == null ? void 0 : t.row
|
|
497
|
-
},
|
|
498
|
-
url:
|
|
495
|
+
}, Z("showChild", {
|
|
496
|
+
url: n,
|
|
499
497
|
row: t == null ? void 0 : t.row
|
|
500
498
|
}));
|
|
501
499
|
}
|
|
502
|
-
},
|
|
500
|
+
}, ve = () => {
|
|
503
501
|
sessionStorage.clear(), window.location.reload();
|
|
504
|
-
},
|
|
505
|
-
var s,
|
|
502
|
+
}, Ae = async () => {
|
|
503
|
+
var s, n, c, k;
|
|
506
504
|
J.setImportLoading(!0);
|
|
507
505
|
const t = await Ie({
|
|
508
506
|
key: {
|
|
@@ -510,56 +508,56 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
510
508
|
}
|
|
511
509
|
});
|
|
512
510
|
if (((s = t == null ? void 0 : t.data) == null ? void 0 : s.code) === 200) {
|
|
513
|
-
let r = (k = (c = (
|
|
511
|
+
let r = (k = (c = (n = t == null ? void 0 : t.data) == null ? void 0 : n.result) == null ? void 0 : c.map((m) => {
|
|
514
512
|
var p;
|
|
515
513
|
if (((p = m == null ? void 0 : m.key) == null ? void 0 : p.layer) !== "superAdmin")
|
|
516
514
|
return m == null ? void 0 : m.id;
|
|
517
515
|
})) == null ? void 0 : k.filter((m) => m);
|
|
518
|
-
await
|
|
516
|
+
await gt({
|
|
519
517
|
ids: r
|
|
520
518
|
}), J.setRawMenus([]);
|
|
521
519
|
}
|
|
522
520
|
J.setImportLoading(!1);
|
|
523
|
-
},
|
|
521
|
+
}, Fe = async (t) => {
|
|
524
522
|
var c, k, r, m, p, $, C;
|
|
525
|
-
const s = (c = t == null ? void 0 : t.split("/")) == null ? void 0 : c[0],
|
|
523
|
+
const s = (c = t == null ? void 0 : t.split("/")) == null ? void 0 : c[0], n = await Ie({
|
|
526
524
|
key: {
|
|
527
525
|
type: "mainEquip",
|
|
528
526
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
529
527
|
pageKey: s
|
|
530
528
|
}
|
|
531
529
|
});
|
|
532
|
-
return ((k =
|
|
530
|
+
return ((k = n == null ? void 0 : n.data) == null ? void 0 : k.type) === "success" ? ((C = ($ = (p = (m = (r = n == null ? void 0 : n.data) == null ? void 0 : r.result) == null ? void 0 : m[0]) == null ? void 0 : p.value) == null ? void 0 : $.tableData) == null ? void 0 : C.隐藏三维显示) !== !0 : !0;
|
|
533
531
|
};
|
|
534
|
-
|
|
532
|
+
W(
|
|
535
533
|
() => ie.value,
|
|
536
534
|
() => {
|
|
537
|
-
var t, s,
|
|
538
|
-
if (((t = ie.value) == null ? void 0 : t.length) === 2 && ((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入")) && ((
|
|
535
|
+
var t, s, n, c, k;
|
|
536
|
+
if (((t = ie.value) == null ? void 0 : t.length) === 2 && ((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入")) && ((n = ie.value) != null && n.find((r) => (r == null ? void 0 : r.name) === "输出"))) {
|
|
539
537
|
const r = (c = ie.value) == null ? void 0 : c.find((m) => (m == null ? void 0 : m.name) === "输出");
|
|
540
|
-
u.value = ((k = r == null ? void 0 : r.comp) == null ? void 0 : k.toUpperCase()) === "FORM",
|
|
538
|
+
u.value = ((k = r == null ? void 0 : r.comp) == null ? void 0 : k.toUpperCase()) === "FORM", Q.value = !0;
|
|
541
539
|
} else
|
|
542
|
-
|
|
540
|
+
Q.value = !1, u.value = !1;
|
|
543
541
|
},
|
|
544
542
|
{ deep: !0, immediate: !0 }
|
|
545
|
-
),
|
|
543
|
+
), W(
|
|
546
544
|
() => L.value,
|
|
547
545
|
async () => {
|
|
548
|
-
L.value && (de.value = await
|
|
546
|
+
L.value && (de.value = await Fe(L.value));
|
|
549
547
|
},
|
|
550
548
|
{ deep: !0, immediate: !0 }
|
|
551
|
-
),
|
|
549
|
+
), W(
|
|
552
550
|
() => [x.value, I.value],
|
|
553
551
|
() => {
|
|
554
552
|
var t;
|
|
555
553
|
((t = x.value) == null ? void 0 : t.length) > 0 && I.value && I.value.addModelsFromUrls(x.value);
|
|
556
554
|
},
|
|
557
555
|
{ immediate: !0, deep: !0 }
|
|
558
|
-
),
|
|
556
|
+
), W(
|
|
559
557
|
() => [f == null ? void 0 : f.value],
|
|
560
558
|
async () => {
|
|
561
|
-
var t, s,
|
|
562
|
-
if (f != null && f.value && ((t = f == null ? void 0 : f.value) == null ? void 0 : t.length) > 0 && !M.value && !((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入") && ((
|
|
559
|
+
var t, s, n, c, k;
|
|
560
|
+
if (f != null && f.value && ((t = f == null ? void 0 : f.value) == null ? void 0 : t.length) > 0 && !M.value && !((s = ie.value) != null && s.find((r) => (r == null ? void 0 : r.name) === "输入") && ((n = ie.value) != null && n.find((r) => (r == null ? void 0 : r.name) === "输出")))) {
|
|
563
561
|
T.value = !0;
|
|
564
562
|
let r = [];
|
|
565
563
|
const m = await ((c = Re(f == null ? void 0 : f.value)) == null ? void 0 : c.map(async (p) => {
|
|
@@ -569,17 +567,17 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
569
567
|
let V = d == null ? void 0 : d.split(",");
|
|
570
568
|
if ((V == null ? void 0 : V.length) > 1) {
|
|
571
569
|
let _e = await (V == null ? void 0 : V.map(async (O) => {
|
|
572
|
-
var
|
|
573
|
-
$ = await
|
|
570
|
+
var pe, He, Je, We, Qe, Ye;
|
|
571
|
+
$ = await me.get(O, {
|
|
574
572
|
responseType: "blob",
|
|
575
573
|
headers: {
|
|
576
574
|
"Content-Type": "application/json"
|
|
577
575
|
}
|
|
578
576
|
});
|
|
579
577
|
let we = [];
|
|
580
|
-
if (((
|
|
578
|
+
if (((pe = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : pe.length) > 0) {
|
|
581
579
|
let St = await ((He = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : He.map(async (Dt) => {
|
|
582
|
-
let Ze = await
|
|
580
|
+
let Ze = await me.get(Dt, {
|
|
583
581
|
responseType: "blob",
|
|
584
582
|
headers: {
|
|
585
583
|
"Content-Type": "application/json"
|
|
@@ -607,12 +605,12 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
607
605
|
let _e = [];
|
|
608
606
|
if (((g = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : g.length) > 0) {
|
|
609
607
|
let O = await ((G = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : G.map(async (we) => {
|
|
610
|
-
let
|
|
608
|
+
let pe = await et({
|
|
611
609
|
url: we
|
|
612
610
|
});
|
|
613
|
-
return _e.push(new Blob([
|
|
611
|
+
return _e.push(new Blob([pe.data], {
|
|
614
612
|
type: "application/octet-stream;charset=UTF-8"
|
|
615
|
-
})),
|
|
613
|
+
})), pe;
|
|
616
614
|
}));
|
|
617
615
|
await Promise.all(O);
|
|
618
616
|
}
|
|
@@ -624,7 +622,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
624
622
|
mtlBlobs: _e
|
|
625
623
|
};
|
|
626
624
|
} else {
|
|
627
|
-
$ = await
|
|
625
|
+
$ = await me.get(d, {
|
|
628
626
|
responseType: "blob",
|
|
629
627
|
headers: {
|
|
630
628
|
"Content-Type": "application/json"
|
|
@@ -633,15 +631,15 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
633
631
|
let _e = [];
|
|
634
632
|
if (((Me = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : Me.length) > 0) {
|
|
635
633
|
let O = await ((Ge = p == null ? void 0 : p.mtlBlobs) == null ? void 0 : Ge.map(async (we) => {
|
|
636
|
-
let
|
|
634
|
+
let pe = await me.get(we, {
|
|
637
635
|
responseType: "blob",
|
|
638
636
|
headers: {
|
|
639
637
|
"Content-Type": "application/json"
|
|
640
638
|
}
|
|
641
639
|
});
|
|
642
|
-
return _e.push(new Blob([
|
|
640
|
+
return _e.push(new Blob([pe.data], {
|
|
643
641
|
type: "application/octet-stream;charset=UTF-8"
|
|
644
|
-
})),
|
|
642
|
+
})), pe;
|
|
645
643
|
}));
|
|
646
644
|
await Promise.all(O);
|
|
647
645
|
}
|
|
@@ -660,16 +658,16 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
660
658
|
},
|
|
661
659
|
{ immediate: !0, deep: !0 }
|
|
662
660
|
);
|
|
663
|
-
const
|
|
661
|
+
const Te = () => {
|
|
664
662
|
T.value = !1, I.value = null;
|
|
665
663
|
};
|
|
666
|
-
|
|
664
|
+
W(
|
|
667
665
|
() => U.value,
|
|
668
666
|
async () => {
|
|
669
|
-
var s,
|
|
667
|
+
var s, n, c, k;
|
|
670
668
|
if (U.value !== "" && U.value) {
|
|
671
669
|
let r = (s = L.value) == null ? void 0 : s.split("/"), m = r[(r == null ? void 0 : r.length) - 2];
|
|
672
|
-
const $ = (((
|
|
670
|
+
const $ = (((n = Ne == null ? void 0 : Ne.find((V) => (V == null ? void 0 : V.key) === m)) == null ? void 0 : n.download) ?? "") + "/" + U.value, C = sessionStorage.getItem("magicToken") === "" ? "123456" : sessionStorage.getItem("magicToken"), d = await me.post($, null, {
|
|
673
671
|
responseType: "blob",
|
|
674
672
|
// 必须设置
|
|
675
673
|
headers: {
|
|
@@ -686,37 +684,37 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
686
684
|
},
|
|
687
685
|
{ deep: !0, immediate: !0 }
|
|
688
686
|
);
|
|
689
|
-
const
|
|
687
|
+
const A = y("");
|
|
690
688
|
y("open"), y("open"), y(!1), xe(() => ie.value);
|
|
691
|
-
const
|
|
692
|
-
let s = Re(t),
|
|
689
|
+
const ge = xe(() => z.value.isRouter), Ft = (t) => {
|
|
690
|
+
let s = Re(t), n = [], c = [];
|
|
693
691
|
return s == null || s.forEach((k, r) => {
|
|
694
|
-
r === (t == null ? void 0 : t.length) - 1 ? (c.push(k),
|
|
695
|
-
}),
|
|
692
|
+
r === (t == null ? void 0 : t.length) - 1 ? (c.push(k), n.push(c)) : ((c == null ? void 0 : c.length) !== 0 && k.includes(".obj") && (n.push(c), c = []), c.push(k));
|
|
693
|
+
}), n;
|
|
696
694
|
}, Tt = async () => {
|
|
697
695
|
let t = {};
|
|
698
|
-
const s = await
|
|
699
|
-
s == null || s.forEach((
|
|
696
|
+
const s = await vt("弯管仿真加工管理/仿真动画生成", sessionStorage.getItem("systemKey"), "");
|
|
697
|
+
s == null || s.forEach((n) => {
|
|
700
698
|
var c, k, r, m, p, $;
|
|
701
|
-
if ((
|
|
702
|
-
let C = [], d = (r = (k = (c =
|
|
699
|
+
if ((n == null ? void 0 : n.comp) === "Table") {
|
|
700
|
+
let C = [], d = (r = (k = (c = n == null ? void 0 : n.compData) == null ? void 0 : c.find((_) => (_ == null ? void 0 : _.key) === "header")) == null ? void 0 : k.contents) == null ? void 0 : r.map((_) => _ == null ? void 0 : _.label), V = ($ = (p = (m = n == null ? void 0 : n.compData) == null ? void 0 : m.find((_) => (_ == null ? void 0 : _.key) === "tableContents")) == null ? void 0 : p.contents) == null ? void 0 : $.map((_) => (_ = _ == null ? void 0 : _.filter((w) => !(w != null && w.id)), _));
|
|
703
701
|
V == null || V.forEach((_) => {
|
|
704
|
-
C.push(
|
|
705
|
-
}), t[
|
|
702
|
+
C.push(wt(_, d == null ? void 0 : d.filter((w) => w !== "操作")));
|
|
703
|
+
}), t[n.name] = C, t[n.name + "Content"] = n;
|
|
706
704
|
}
|
|
707
705
|
}), ce.value = t;
|
|
708
706
|
}, je = y(!1), Rt = async () => {
|
|
709
707
|
var t, s;
|
|
710
708
|
if (je.value = !0, te.value) {
|
|
711
|
-
const
|
|
709
|
+
const n = te.value;
|
|
712
710
|
let c = [];
|
|
713
|
-
if (typeof (
|
|
714
|
-
let k = (t =
|
|
711
|
+
if (typeof (n == null ? void 0 : n.url) == "string") {
|
|
712
|
+
let k = (t = n == null ? void 0 : n.url) == null ? void 0 : t.split(","), r = (s = Ft(k)) == null ? void 0 : s.map(async (m) => {
|
|
715
713
|
var p, $;
|
|
716
714
|
if ((m == null ? void 0 : m.length) === 1) {
|
|
717
715
|
let C = m == null ? void 0 : m.map(async (d) => {
|
|
718
716
|
var g, G;
|
|
719
|
-
let V = await
|
|
717
|
+
let V = await me.get(d, {
|
|
720
718
|
responseType: "blob",
|
|
721
719
|
headers: {
|
|
722
720
|
"Content-Type": "application/json"
|
|
@@ -734,7 +732,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
734
732
|
});
|
|
735
733
|
return await Promise.all(C), C;
|
|
736
734
|
} else {
|
|
737
|
-
let C = m == null ? void 0 : m.find((K) => K == null ? void 0 : K.includes(".obj")), d = await
|
|
735
|
+
let C = m == null ? void 0 : m.find((K) => K == null ? void 0 : K.includes(".obj")), d = await me.get(C, {
|
|
738
736
|
responseType: "blob",
|
|
739
737
|
headers: {
|
|
740
738
|
"Content-Type": "application/json"
|
|
@@ -744,7 +742,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
744
742
|
type: "application/octet-stream;charset=UTF-8"
|
|
745
743
|
});
|
|
746
744
|
let _ = m == null ? void 0 : m.filter((K) => K == null ? void 0 : K.includes(".mtl")), w = [], g = _ == null ? void 0 : _.map(async (K) => {
|
|
747
|
-
let ye = await
|
|
745
|
+
let ye = await me.get(C, {
|
|
748
746
|
responseType: "blob",
|
|
749
747
|
headers: {
|
|
750
748
|
"Content-Type": "application/json"
|
|
@@ -770,9 +768,9 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
770
768
|
}
|
|
771
769
|
};
|
|
772
770
|
return (t, s) => {
|
|
773
|
-
const
|
|
771
|
+
const n = S("el-dialog"), c = S("el-button"), k = S("el-avatar"), r = S("el-header"), m = S("el-container"), p = S("el-icon"), $ = S("el-input"), C = S("el-aside"), d = S("router-view"), V = S("el-main"), _ = ot("loading");
|
|
774
772
|
return h(), j(De, null, [
|
|
775
|
-
a(
|
|
773
|
+
a(n, {
|
|
776
774
|
modelValue: je.value,
|
|
777
775
|
"onUpdate:modelValue": s[0] || (s[0] = (w) => je.value = w),
|
|
778
776
|
style: { height: "700px", width: "1800px" }
|
|
@@ -793,10 +791,10 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
793
791
|
default: l(() => {
|
|
794
792
|
var w;
|
|
795
793
|
return [
|
|
796
|
-
B("div",
|
|
794
|
+
B("div", la, [
|
|
797
795
|
a(c, {
|
|
798
796
|
id: "transparentBgButton",
|
|
799
|
-
onClick:
|
|
797
|
+
onClick: o(st)
|
|
800
798
|
}, {
|
|
801
799
|
default: l(() => s[3] || (s[3] = [
|
|
802
800
|
ee(" 返回页面 ")
|
|
@@ -808,7 +806,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
808
806
|
id: "transparentBgButton",
|
|
809
807
|
onClick: s[1] || (s[1] = (g) => {
|
|
810
808
|
var G, K;
|
|
811
|
-
return
|
|
809
|
+
return o(it)((K = (G = o(N)) == null ? void 0 : G.map((ye) => ye.value)) == null ? void 0 : K.join("/"));
|
|
812
810
|
})
|
|
813
811
|
}, {
|
|
814
812
|
icon: l(() => [
|
|
@@ -821,22 +819,22 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
821
819
|
__: [4]
|
|
822
820
|
})
|
|
823
821
|
]),
|
|
824
|
-
B("div",
|
|
825
|
-
a(
|
|
826
|
-
breadArray:
|
|
827
|
-
onClick:
|
|
822
|
+
B("div", sa, [
|
|
823
|
+
a(bt, {
|
|
824
|
+
breadArray: o(N),
|
|
825
|
+
onClick: o(rt)
|
|
828
826
|
}, null, 8, ["breadArray", "onClick"])
|
|
829
827
|
]),
|
|
830
|
-
B("div",
|
|
828
|
+
B("div", ia, [
|
|
831
829
|
Be(t.$slots, "default", {}, void 0, !0),
|
|
832
830
|
a(k, {
|
|
833
831
|
size: 35,
|
|
834
|
-
src: (w =
|
|
832
|
+
src: (w = o(b)) == null ? void 0 : w.avatarUrl
|
|
835
833
|
}, {
|
|
836
834
|
default: l(() => {
|
|
837
835
|
var g;
|
|
838
836
|
return [
|
|
839
|
-
ee(re(((g =
|
|
837
|
+
ee(re(((g = o(b)) == null ? void 0 : g.account) ?? "未知"), 1)
|
|
840
838
|
];
|
|
841
839
|
}),
|
|
842
840
|
_: 1
|
|
@@ -846,19 +844,19 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
846
844
|
}),
|
|
847
845
|
_: 3
|
|
848
846
|
}),
|
|
849
|
-
|
|
847
|
+
o(H) === "edit" ? (h(), E(m, {
|
|
850
848
|
key: 0,
|
|
851
849
|
class: "model-operate",
|
|
852
850
|
style: { "margin-top": "10px", height: "0px" }
|
|
853
851
|
}, {
|
|
854
852
|
default: l(() => [
|
|
855
|
-
B("div",
|
|
853
|
+
B("div", ra, [
|
|
856
854
|
a(Ee)
|
|
857
855
|
]),
|
|
858
|
-
B("div",
|
|
856
|
+
B("div", ua, [
|
|
859
857
|
a(Ke)
|
|
860
858
|
]),
|
|
861
|
-
B("div",
|
|
859
|
+
B("div", ca, [
|
|
862
860
|
a(Oe)
|
|
863
861
|
])
|
|
864
862
|
]),
|
|
@@ -867,7 +865,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
867
865
|
]),
|
|
868
866
|
_: 3
|
|
869
867
|
}, 512), [
|
|
870
|
-
[Pe,
|
|
868
|
+
[Pe, o(H) === "edit"]
|
|
871
869
|
]),
|
|
872
870
|
Ce((h(), E(m, {
|
|
873
871
|
class: "client-container",
|
|
@@ -879,14 +877,14 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
879
877
|
B("div", {
|
|
880
878
|
class: "client-header-logo",
|
|
881
879
|
onClick: Rt
|
|
882
|
-
}, re(
|
|
883
|
-
B("div",
|
|
884
|
-
a(
|
|
880
|
+
}, re(o(v) === "" ? "CPMPIP" : o(v)), 1),
|
|
881
|
+
B("div", da, [
|
|
882
|
+
a(Bt, { mode: "horizontal" })
|
|
885
883
|
]),
|
|
886
|
-
B("div",
|
|
884
|
+
B("div", pa, [
|
|
887
885
|
a($, {
|
|
888
|
-
modelValue:
|
|
889
|
-
"onUpdate:modelValue": s[2] || (s[2] = (w) =>
|
|
886
|
+
modelValue: A.value,
|
|
887
|
+
"onUpdate:modelValue": s[2] || (s[2] = (w) => A.value = w),
|
|
890
888
|
clearable: "",
|
|
891
889
|
placeholder: "搜索",
|
|
892
890
|
style: { width: "130px" }
|
|
@@ -894,7 +892,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
894
892
|
prefix: l(() => [
|
|
895
893
|
a(p, { class: "el-input__icon" }, {
|
|
896
894
|
default: l(() => [
|
|
897
|
-
a(
|
|
895
|
+
a(o(ft))
|
|
898
896
|
]),
|
|
899
897
|
_: 1
|
|
900
898
|
})
|
|
@@ -904,7 +902,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
904
902
|
D.showButton ? (h(), E(c, {
|
|
905
903
|
key: 0,
|
|
906
904
|
id: "transparentBgButton",
|
|
907
|
-
onClick:
|
|
905
|
+
onClick: o(ut)
|
|
908
906
|
}, {
|
|
909
907
|
icon: l(() => [
|
|
910
908
|
a(ke, { name: "App" })
|
|
@@ -914,11 +912,11 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
914
912
|
]),
|
|
915
913
|
_: 1,
|
|
916
914
|
__: [5]
|
|
917
|
-
})) : X("", !0),
|
|
918
|
-
D.showButton &&
|
|
915
|
+
}, 8, ["onClick"])) : X("", !0),
|
|
916
|
+
D.showButton && o(H) === "view" ? (h(), E(c, {
|
|
919
917
|
key: 1,
|
|
920
918
|
id: "transparentBgButton",
|
|
921
|
-
onClick:
|
|
919
|
+
onClick: o(ct)
|
|
922
920
|
}, {
|
|
923
921
|
icon: l(() => [
|
|
924
922
|
a(ke, { name: "write" })
|
|
@@ -930,20 +928,20 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
930
928
|
__: [6]
|
|
931
929
|
}, 8, ["onClick"])) : X("", !0),
|
|
932
930
|
Be(t.$slots, "default", {}, void 0, !0),
|
|
933
|
-
a(
|
|
931
|
+
a(_t, null, {
|
|
934
932
|
dropTitle: l(() => {
|
|
935
933
|
var w;
|
|
936
934
|
return [
|
|
937
|
-
a(
|
|
935
|
+
a(kt, {
|
|
938
936
|
size: "35",
|
|
939
|
-
avatarUrl: (w =
|
|
937
|
+
avatarUrl: (w = o(b)) == null ? void 0 : w.avatarUrl,
|
|
940
938
|
showCropper: !1,
|
|
941
939
|
banClick: !0
|
|
942
940
|
}, {
|
|
943
941
|
avatarDefault: l(() => {
|
|
944
942
|
var g;
|
|
945
943
|
return [
|
|
946
|
-
ee(re(((g =
|
|
944
|
+
ee(re(((g = o(b)) == null ? void 0 : g.account) ?? "未知"), 1)
|
|
947
945
|
];
|
|
948
946
|
}),
|
|
949
947
|
_: 1
|
|
@@ -951,18 +949,18 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
951
949
|
];
|
|
952
950
|
}),
|
|
953
951
|
dropMenu: l(() => [
|
|
954
|
-
B("div",
|
|
952
|
+
B("div", ma, [
|
|
955
953
|
a(Se, {
|
|
956
954
|
emptyColor: !0,
|
|
957
955
|
class: "menu-button",
|
|
958
|
-
onClickTrigger:
|
|
956
|
+
onClickTrigger: Ae,
|
|
959
957
|
modelValue: "清空数据",
|
|
960
958
|
buttonType: ""
|
|
961
959
|
}),
|
|
962
960
|
a(Se, {
|
|
963
961
|
emptyColor: !0,
|
|
964
962
|
class: "menu-button",
|
|
965
|
-
onClickTrigger:
|
|
963
|
+
onClickTrigger: ve,
|
|
966
964
|
modelValue: "退出登录",
|
|
967
965
|
buttonType: ""
|
|
968
966
|
})
|
|
@@ -986,29 +984,29 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
986
984
|
]),
|
|
987
985
|
_: 1
|
|
988
986
|
}),
|
|
989
|
-
Ce((h(), j("div",
|
|
990
|
-
|
|
987
|
+
Ce((h(), j("div", ha, [
|
|
988
|
+
ge.value ? (h(), E(d, { key: 0 })) : (h(!0), j(De, { key: 1 }, Le((w = o(Re)(o(ie))) == null ? void 0 : w.filter((g) => g.comp !== "FormTop"), (g, G) => {
|
|
991
989
|
var K;
|
|
992
990
|
return h(), j("div", {
|
|
993
991
|
class: "item-view-content",
|
|
994
992
|
key: G
|
|
995
993
|
}, [
|
|
996
|
-
((K = g == null ? void 0 : g.comp) == null ? void 0 : K.toUpperCase()) !== "TABLE" && g.name ? (h(), j("div",
|
|
997
|
-
(h(), E(nt(
|
|
994
|
+
((K = g == null ? void 0 : g.comp) == null ? void 0 : K.toUpperCase()) !== "TABLE" && g.name ? (h(), j("div", fa, re(g.name), 1)) : X("", !0),
|
|
995
|
+
(h(), E(nt(o(dt)(g.comp)), {
|
|
998
996
|
compName: g.name,
|
|
999
997
|
itemData: g == null ? void 0 : g.compData,
|
|
1000
998
|
childItemData: g == null ? void 0 : g.itemChildData,
|
|
1001
999
|
key: (g == null ? void 0 : g.id) ?? G,
|
|
1002
|
-
onChange:
|
|
1000
|
+
onChange: o(ht),
|
|
1003
1001
|
index: (g == null ? void 0 : g.id) ?? G,
|
|
1004
|
-
onContentChange:
|
|
1005
|
-
onPageChange:
|
|
1006
|
-
onRowClick:
|
|
1002
|
+
onContentChange: o(mt),
|
|
1003
|
+
onPageChange: o(pt),
|
|
1004
|
+
onRowClick: ae
|
|
1007
1005
|
}, null, 40, ["compName", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange"]))
|
|
1008
1006
|
]);
|
|
1009
1007
|
}), 128))
|
|
1010
1008
|
])), [
|
|
1011
|
-
[_,
|
|
1009
|
+
[_, o(R)]
|
|
1012
1010
|
])
|
|
1013
1011
|
];
|
|
1014
1012
|
}),
|
|
@@ -1020,13 +1018,13 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1020
1018
|
]),
|
|
1021
1019
|
_: 3
|
|
1022
1020
|
})), [
|
|
1023
|
-
[Pe,
|
|
1024
|
-
[_,
|
|
1021
|
+
[Pe, o(H) === "view"],
|
|
1022
|
+
[_, o(se)]
|
|
1025
1023
|
]),
|
|
1026
1024
|
B("div", null, [
|
|
1027
|
-
a(
|
|
1025
|
+
a(Vt, {
|
|
1028
1026
|
visible: T.value,
|
|
1029
|
-
onBeforeDestroy:
|
|
1027
|
+
onBeforeDestroy: Te,
|
|
1030
1028
|
style: { height: "700px", width: "1000px" }
|
|
1031
1029
|
}, {
|
|
1032
1030
|
default: l(() => [
|
|
@@ -1041,7 +1039,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1041
1039
|
], 64);
|
|
1042
1040
|
};
|
|
1043
1041
|
}
|
|
1044
|
-
}),
|
|
1042
|
+
}), ya = /* @__PURE__ */ be(ga, [["__scopeId", "data-v-825916d9"]]), _a = { class: "system-wrap" }, va = {
|
|
1045
1043
|
__name: "index",
|
|
1046
1044
|
props: {
|
|
1047
1045
|
windowConfig: {
|
|
@@ -1064,14 +1062,14 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1064
1062
|
setup(D, { emit: le }) {
|
|
1065
1063
|
const e = Ve(ne), T = ze(ne), N = $e();
|
|
1066
1064
|
y(!1);
|
|
1067
|
-
const
|
|
1068
|
-
|
|
1065
|
+
const Q = y(!0), u = D, Y = le, M = (b) => {
|
|
1066
|
+
Y("showChild", b);
|
|
1069
1067
|
}, U = xe(() => {
|
|
1070
1068
|
switch (u == null ? void 0 : u.platform) {
|
|
1071
1069
|
case "browser":
|
|
1072
|
-
return Et;
|
|
1073
|
-
case "client":
|
|
1074
1070
|
return Lt;
|
|
1071
|
+
case "client":
|
|
1072
|
+
return It;
|
|
1075
1073
|
}
|
|
1076
1074
|
}), te = (b) => {
|
|
1077
1075
|
const q = document.documentElement;
|
|
@@ -1079,13 +1077,13 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1079
1077
|
q.style.setProperty(H.name, H.value);
|
|
1080
1078
|
});
|
|
1081
1079
|
};
|
|
1082
|
-
|
|
1080
|
+
W(() => u.platform, (b, q) => {
|
|
1083
1081
|
b && te(U.value);
|
|
1084
1082
|
}, { immediate: !0 });
|
|
1085
|
-
const
|
|
1086
|
-
|
|
1083
|
+
const he = () => {
|
|
1084
|
+
Y("buildContent");
|
|
1087
1085
|
};
|
|
1088
|
-
return
|
|
1086
|
+
return W(
|
|
1089
1087
|
() => [u == null ? void 0 : u.content, u == null ? void 0 : u.jsonContents],
|
|
1090
1088
|
async () => {
|
|
1091
1089
|
var H, J, ue, x;
|
|
@@ -1094,15 +1092,15 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1094
1092
|
return;
|
|
1095
1093
|
}
|
|
1096
1094
|
if (!(u != null && u.content) || ((J = u == null ? void 0 : u.content) == null ? void 0 : J.length) === 0) return;
|
|
1097
|
-
|
|
1095
|
+
Q.value = !0, N.setImportLoading(!0);
|
|
1098
1096
|
let b = [], q = [];
|
|
1099
1097
|
T.setSelectTitle([]), T.setSelectIndex(""), T.setSelectMenu(""), (x = (ue = u == null ? void 0 : u.content) == null ? void 0 : ue.filter((f) => f !== "")) == null || x.forEach((f) => {
|
|
1100
|
-
q.push(
|
|
1101
|
-
}), b = q == null ? void 0 : q[0], await
|
|
1098
|
+
q.push(Pt(f));
|
|
1099
|
+
}), b = q == null ? void 0 : q[0], await $t(b), await Ct(), e.setOriginalData(b), N.setImportLoading(!1);
|
|
1102
1100
|
},
|
|
1103
1101
|
{ deep: !0, immediate: !0 }
|
|
1104
|
-
), (b, q) => (h(), j("div",
|
|
1105
|
-
D.platform === "browser" ? (h(), E(
|
|
1102
|
+
), (b, q) => (h(), j("div", _a, [
|
|
1103
|
+
D.platform === "browser" ? (h(), E(na, {
|
|
1106
1104
|
key: 0,
|
|
1107
1105
|
showButton: D.showButton
|
|
1108
1106
|
}, {
|
|
@@ -1110,11 +1108,11 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1110
1108
|
Be(b.$slots, "default", {}, void 0, !0)
|
|
1111
1109
|
]),
|
|
1112
1110
|
_: 3
|
|
1113
|
-
}, 8, ["showButton"])) : (h(), E(
|
|
1111
|
+
}, 8, ["showButton"])) : (h(), E(ya, {
|
|
1114
1112
|
key: 1,
|
|
1115
1113
|
windowConfig: D.windowConfig,
|
|
1116
1114
|
showButton: D.showButton,
|
|
1117
|
-
onBuildContent:
|
|
1115
|
+
onBuildContent: he,
|
|
1118
1116
|
onShowChild: M
|
|
1119
1117
|
}, {
|
|
1120
1118
|
default: l(() => [
|
|
@@ -1124,13 +1122,13 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1124
1122
|
}, 8, ["windowConfig", "showButton"]))
|
|
1125
1123
|
]));
|
|
1126
1124
|
}
|
|
1127
|
-
},
|
|
1125
|
+
}, wa = /* @__PURE__ */ be(va, [["__scopeId", "data-v-5e89b0de"]]), Ca = { class: "add-model-content" }, ka = {
|
|
1128
1126
|
key: 0,
|
|
1129
1127
|
class: "model-operate"
|
|
1130
|
-
},
|
|
1128
|
+
}, Ba = { class: "model-select" }, ba = { class: "model-fill" }, Fa = {
|
|
1131
1129
|
key: 1,
|
|
1132
1130
|
class: "model-view"
|
|
1133
|
-
},
|
|
1131
|
+
}, Ta = {
|
|
1134
1132
|
__name: "index",
|
|
1135
1133
|
props: {
|
|
1136
1134
|
mode: {
|
|
@@ -1160,23 +1158,23 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1160
1158
|
},
|
|
1161
1159
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
1162
1160
|
setup(D, { emit: le }) {
|
|
1163
|
-
const e = D, T = le, N = y([]),
|
|
1161
|
+
const e = D, T = le, N = y([]), Q = y(0), u = y([]), Y = y([]), M = y(0), U = Ve(ne), te = $e(ne), { itemData: he, originalData: b } = oe(U), { activeMenuPath: q, platform: H } = oe(te), J = y(null), ue = y(0), x = y([]);
|
|
1164
1162
|
y("");
|
|
1165
1163
|
const f = y(0), I = () => {
|
|
1166
1164
|
T("buildContent");
|
|
1167
1165
|
};
|
|
1168
|
-
|
|
1166
|
+
W(
|
|
1169
1167
|
() => e == null ? void 0 : e.pageKey,
|
|
1170
1168
|
async () => {
|
|
1171
1169
|
let v = {};
|
|
1172
1170
|
if ((e == null ? void 0 : e.pageKey) !== "") {
|
|
1173
|
-
const z = await
|
|
1171
|
+
const z = await vt(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), "", e == null ? void 0 : e.pageKey);
|
|
1174
1172
|
z == null || z.forEach((R) => {
|
|
1175
|
-
var P, F, i,
|
|
1173
|
+
var P, F, i, Z, ae, ve;
|
|
1176
1174
|
if ((R == null ? void 0 : R.comp) === "Table") {
|
|
1177
|
-
let Ae = [], Fe = (i = (F = (P = R == null ? void 0 : R.compData) == null ? void 0 : P.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : i.map((A) => A == null ? void 0 : A.label), Te = (ve = (ae = (
|
|
1175
|
+
let Ae = [], Fe = (i = (F = (P = R == null ? void 0 : R.compData) == null ? void 0 : P.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : F.contents) == null ? void 0 : i.map((A) => A == null ? void 0 : A.label), Te = (ve = (ae = (Z = R == null ? void 0 : R.compData) == null ? void 0 : Z.find((A) => (A == null ? void 0 : A.key) === "tableContents")) == null ? void 0 : ae.contents) == null ? void 0 : ve.map((A) => (A = A == null ? void 0 : A.filter((ge) => !(ge != null && ge.id)), A));
|
|
1178
1176
|
Te == null || Te.forEach((A) => {
|
|
1179
|
-
Ae.push(
|
|
1177
|
+
Ae.push(wt(A, Fe == null ? void 0 : Fe.filter((ge) => ge !== "操作")));
|
|
1180
1178
|
}), v[R.name] = Ae, v[R.name + "Content"] = R;
|
|
1181
1179
|
}
|
|
1182
1180
|
}), T("threeData", v);
|
|
@@ -1187,7 +1185,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1187
1185
|
const ce = (v) => {
|
|
1188
1186
|
T("openThreeBuild", v);
|
|
1189
1187
|
};
|
|
1190
|
-
|
|
1188
|
+
W(
|
|
1191
1189
|
() => e == null ? void 0 : e.pathContent,
|
|
1192
1190
|
() => {
|
|
1193
1191
|
(e == null ? void 0 : e.pathContent) !== "" && U.setSystemPath(e == null ? void 0 : e.pathContent);
|
|
@@ -1203,7 +1201,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1203
1201
|
var R;
|
|
1204
1202
|
const z = (R = Re(v == null ? void 0 : v.wholeValue)) == null ? void 0 : R.map((P) => {
|
|
1205
1203
|
var F;
|
|
1206
|
-
return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (F = P.compData) == null ? void 0 : F.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents =
|
|
1204
|
+
return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (F = P.compData) == null ? void 0 : F.map((i) => ((i == null ? void 0 : i.key) === "formContent" && (i.contents = Ut(i == null ? void 0 : i.contents)), i))), P;
|
|
1207
1205
|
});
|
|
1208
1206
|
T("change", {
|
|
1209
1207
|
originalContents: b.value,
|
|
@@ -1212,7 +1210,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1212
1210
|
arrayToContents: z
|
|
1213
1211
|
});
|
|
1214
1212
|
};
|
|
1215
|
-
|
|
1213
|
+
W(
|
|
1216
1214
|
() => u.value,
|
|
1217
1215
|
() => {
|
|
1218
1216
|
f.value === u.value.length && u.value.length !== 0 && (N.value = u.value);
|
|
@@ -1221,30 +1219,30 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1221
1219
|
);
|
|
1222
1220
|
const L = () => {
|
|
1223
1221
|
J.value !== null && J.value.click();
|
|
1224
|
-
},
|
|
1222
|
+
}, fe = async (v) => {
|
|
1225
1223
|
const z = v.target.files;
|
|
1226
1224
|
if (!z) return;
|
|
1227
1225
|
new FileReader(), N.value = [], u.value = [], f.value = z.length;
|
|
1228
1226
|
const R = Array.from(z).map(async (P) => await new Promise((F) => {
|
|
1229
1227
|
const i = new FileReader();
|
|
1230
|
-
i.onload = (
|
|
1228
|
+
i.onload = (Z) => {
|
|
1231
1229
|
try {
|
|
1232
|
-
u.value.push(
|
|
1230
|
+
u.value.push(Z.target.result), ue.value++;
|
|
1233
1231
|
} catch (ae) {
|
|
1234
1232
|
console.error("解析失败:", ae);
|
|
1235
1233
|
return;
|
|
1236
1234
|
}
|
|
1237
|
-
}, i.onerror = () => F(`读取 ${P.name} 失败`), i.readAsText(P), v.target.value = "", J.value = null,
|
|
1235
|
+
}, i.onerror = () => F(`读取 ${P.name} 失败`), i.readAsText(P), v.target.value = "", J.value = null, Q.value++;
|
|
1238
1236
|
}));
|
|
1239
1237
|
await Promise.all(R);
|
|
1240
1238
|
};
|
|
1241
|
-
return
|
|
1239
|
+
return W(
|
|
1242
1240
|
() => [e == null ? void 0 : e.content, e == null ? void 0 : e.jsonContents],
|
|
1243
1241
|
async () => {
|
|
1244
|
-
await
|
|
1242
|
+
await Ct(), N.value = e.content, Y.value = e == null ? void 0 : e.jsonContents;
|
|
1245
1243
|
},
|
|
1246
1244
|
{ deep: !0, immediate: !0 }
|
|
1247
|
-
),
|
|
1245
|
+
), W(
|
|
1248
1246
|
() => ue.value,
|
|
1249
1247
|
() => {
|
|
1250
1248
|
var v;
|
|
@@ -1253,9 +1251,9 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1253
1251
|
{ deep: !0, immediate: !0 }
|
|
1254
1252
|
), (v, z) => {
|
|
1255
1253
|
const R = S("svg-icon"), P = S("el-button");
|
|
1256
|
-
return h(), j("div",
|
|
1257
|
-
(e == null ? void 0 : e.mode) === "edit" ? (h(), j("div",
|
|
1258
|
-
B("div",
|
|
1254
|
+
return h(), j("div", Ca, [
|
|
1255
|
+
(e == null ? void 0 : e.mode) === "edit" ? (h(), j("div", ka, [
|
|
1256
|
+
B("div", Ba, [
|
|
1259
1257
|
a(Ee)
|
|
1260
1258
|
]),
|
|
1261
1259
|
(h(), j("div", {
|
|
@@ -1264,17 +1262,17 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1264
1262
|
}, [
|
|
1265
1263
|
a(Ke)
|
|
1266
1264
|
])),
|
|
1267
|
-
B("div",
|
|
1265
|
+
B("div", ba, [
|
|
1268
1266
|
a(Oe)
|
|
1269
1267
|
])
|
|
1270
1268
|
])) : X("", !0),
|
|
1271
|
-
(e == null ? void 0 : e.mode) === "view" ? (h(), j("div",
|
|
1272
|
-
(h(), E(
|
|
1269
|
+
(e == null ? void 0 : e.mode) === "view" ? (h(), j("div", Fa, [
|
|
1270
|
+
(h(), E(wa, {
|
|
1273
1271
|
showButton: D.showButton,
|
|
1274
|
-
platform:
|
|
1272
|
+
platform: o(H),
|
|
1275
1273
|
content: N.value,
|
|
1276
1274
|
onChange: se,
|
|
1277
|
-
jsonContents:
|
|
1275
|
+
jsonContents: Y.value,
|
|
1278
1276
|
onContentChange: de,
|
|
1279
1277
|
onBuildContent: I,
|
|
1280
1278
|
key: M.value,
|
|
@@ -1294,11 +1292,11 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1294
1292
|
default: l(() => [
|
|
1295
1293
|
(h(), j("input", {
|
|
1296
1294
|
type: "file",
|
|
1297
|
-
key:
|
|
1295
|
+
key: Q.value,
|
|
1298
1296
|
ref_key: "fileInput",
|
|
1299
1297
|
ref: J,
|
|
1300
1298
|
accept: ".txt, .inm, .iml, .imd",
|
|
1301
|
-
onChange:
|
|
1299
|
+
onChange: fe,
|
|
1302
1300
|
style: { display: "none" },
|
|
1303
1301
|
multiple: ""
|
|
1304
1302
|
}, null, 32)),
|
|
@@ -1315,7 +1313,7 @@ const kt = /* @__PURE__ */ be(xt, [["render", Kt], ["__scopeId", "data-v-5c2d7ed
|
|
|
1315
1313
|
]);
|
|
1316
1314
|
};
|
|
1317
1315
|
}
|
|
1318
|
-
},
|
|
1316
|
+
}, za = /* @__PURE__ */ be(Ta, [["__scopeId", "data-v-c4f9c92c"]]);
|
|
1319
1317
|
export {
|
|
1320
|
-
|
|
1318
|
+
za as default
|
|
1321
1319
|
};
|