ss-component-new 1.2.59 → 1.2.60
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/{MTLLoader-BlLfoBce.cjs → MTLLoader-Bd8gswVO.cjs} +1 -1
- package/dist/{MTLLoader-Bl6JMZD-.js → MTLLoader-gdzQR_Hk.js} +1 -1
- package/dist/{OrbitControls-BP4_rhtR.cjs → OrbitControls-BDr3JwU7.cjs} +1 -1
- package/dist/{OrbitControls-BbhnJ_4u.js → OrbitControls-DrQG0WwG.js} +1 -1
- package/dist/{animationData-CEkMmPAJ.js → animationData-BebPFu1o.js} +9 -9
- package/dist/{animationData-FLuoH13j.cjs → animationData-DZnytjR7.cjs} +1 -1
- package/dist/{array-BLzorBeE.cjs → array-CsVIMexm.cjs} +1 -1
- package/dist/{array-BkvrJ2GR.js → array-mkPvdkqz.js} +1 -1
- package/dist/{iconfont-ji7A-_XJ.cjs → iconfont-B2jKfn1c.cjs} +1 -1
- package/dist/{iconfont-Dp3iGl32.js → iconfont-sA0TqvpZ.js} +2 -2
- package/dist/{index-DXGiAs1G.cjs → index-3F5KjCbv.cjs} +1 -1
- package/dist/{index-CWG2zhJZ.cjs → index-4M7aervZ.cjs} +1 -1
- package/dist/{index-BiwVpb9o.cjs → index-6A1xf0Gs.cjs} +1 -1
- package/dist/{index-qDBAJZN2.cjs → index-B-zqezDR.cjs} +1 -1
- package/dist/{index-LVKvj2hU.cjs → index-BDOF1BPC.cjs} +1 -1
- package/dist/{index-NUzOUiu0.js → index-BIOzO44u.js} +1 -1
- package/dist/{index-rPWz6KHn.js → index-BLXYg9Gs.js} +4 -4
- package/dist/{index-bcbWOGXs.js → index-BawiQHQM.js} +4 -4
- package/dist/{index-BNES2eKm.js → index-BcGarjC7.js} +1 -1
- package/dist/{index-FUWILZwY.js → index-BdoWr55z.js} +2 -2
- package/dist/{index-CDW8XzWT.cjs → index-BkJkmkcq.cjs} +1 -1
- package/dist/{index-DIpWkFjh.cjs → index-BoVvgAUF.cjs} +1 -1
- package/dist/{index-YoJfAd5X.js → index-BqPYebkC.js} +1 -1
- package/dist/{index-DlClEW8i.js → index-CBHRkOa4.js} +1 -1
- package/dist/{index-DLU6Qv3w.cjs → index-CF9id9ro.cjs} +13 -13
- package/dist/{index-BiUFu7a_.js → index-CK_bms-m.js} +240 -242
- package/dist/{index-gcSJbApQ.cjs → index-CRvxI1hr.cjs} +1 -1
- package/dist/{index-B2xsH_Wl.cjs → index-CaubJFHG.cjs} +1 -1
- package/dist/index-Ch_Cm24f.cjs +1 -0
- package/dist/{index-CHzlphv9.cjs → index-Ck3lmJpc.cjs} +1 -1
- package/dist/{index-BFHCLxvz.js → index-ClCw6ykP.js} +1 -1
- package/dist/{index-BEfSpHE6.js → index-DA4aTMB5.js} +1 -1
- package/dist/{index-ChyicQIl.js → index-DG0upY6_.js} +1 -1
- package/dist/{index-u-f2S6H4.cjs → index-DI5DRRI8.cjs} +1 -1
- package/dist/{index-DuamAhUi.cjs → index-DLiM284R.cjs} +1 -1
- package/dist/{index-BYIlecoJ.cjs → index-DNnfnoYc.cjs} +1 -1
- package/dist/{index-95KyZ7PB.js → index-DVNrIedZ.js} +1 -1
- package/dist/{index-DvgAOa6m.js → index-DXiQ5JKb.js} +1149 -1127
- package/dist/{index-B1U77nyf.cjs → index-DZ3LdxA8.cjs} +1 -1
- package/dist/{index-CxMIdKAy.cjs → index-D_FAvCkR.cjs} +1 -1
- package/dist/{index-JXXdn01K.cjs → index-DgW_swZz.cjs} +1 -1
- package/dist/{index-BxEjroD6.cjs → index-DjQZE_pv.cjs} +1 -1
- package/dist/{index-BTwRUubF.js → index-DmLuog-V.js} +3 -3
- package/dist/{index-BooTgcW2.js → index-Do_4Y2BA.js} +923 -934
- package/dist/{index-DN40xEbb.js → index-Dq9ppmM1.js} +3 -3
- package/dist/{index-DZQjq0ZR.js → index-DuXxVHLY.js} +1 -1
- package/dist/{index-OLQpbvuS.js → index-Duh5yc_7.js} +8 -8
- package/dist/{index-DNs7ujiq.js → index-DunWx7gk.js} +2 -2
- package/dist/{index--qwZeW47.js → index-GbPoL1UR.js} +1 -1
- package/dist/{index-DkNldOC0.cjs → index-MHgc1J83.cjs} +1 -1
- package/dist/{index-BgwYXT31.cjs → index-RhIBaFyU.cjs} +1 -1
- package/dist/{index-DZbNXTrw.js → index-YhC-PbE3.js} +1 -1
- package/dist/{index-lP-_9Gsb.cjs → index-aTpWvup6.cjs} +1 -1
- package/dist/{index-C8IFPtAJ.js → index-ajVsMnUs.js} +7 -7
- package/dist/{index-BN4opOSk.cjs → index-fv_bHYEK.cjs} +1 -1
- package/dist/{index-DAJoy_Z5.js → index-vPR31-Zk.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Bff2sYnQ.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DF-onWE-.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D6uh0ooh.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DVp62_ZP.js} +8 -8
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BZPnZF-N.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BL1cikD3.js} +1071 -1076
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-fAuSnfOH.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CHavLvPk.cjs} +32 -32
- package/dist/{index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-Dt5lXvbN.js → index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-B60JZATD.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-DlyCfLDJ.cjs → index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-zIOhigw2.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-DDYxgdQk.cjs → index.vue_vue_type_style_index_1_lang-B5nfyDvl.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-BUhvhTqt.js → index.vue_vue_type_style_index_1_lang-CChX6Zmx.js} +3 -3
- package/dist/{main-ChUyYPuq.js → main-CIXVap1M.js} +3 -3
- package/dist/{main-D-bdppOV.cjs → main-e1Q2-l7w.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-CDFo3As-.cjs → threeModel-UBx8eTMe.cjs} +1 -1
- package/dist/{threeModel-DcuAlWjb.js → threeModel-cKQrxO3d.js} +4 -4
- package/dist/{threePreview-q4R-oAs6.cjs → threePreview-BAJ00HhJ.cjs} +1 -1
- package/dist/{threePreview-DhMkG1np.js → threePreview-D35fdkMP.js} +3 -3
- package/dist/{threeSceneView-Dav7AGkH.js → threeSceneView-BZenUkiZ.js} +9 -9
- package/dist/{threeSceneView-CAsVH82L.cjs → threeSceneView-OEime_CV.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-9__8NGa5.cjs → threeSceneViewForCPMPIP-C044dPvs.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-DxFYivgN.js → threeSceneViewForCPMPIP-zeiEQd6_.js} +9 -9
- package/dist/{threeTrackPathView-DXCMl3aZ.js → threeTrackPathView-CHosxM5O.js} +4 -4
- package/dist/{threeTrackPathView-B7yrSLKq.cjs → threeTrackPathView-DdZ_W87m.cjs} +1 -1
- package/dist/{threeViewerHost-D70yS3z2.cjs → threeViewerHost-Ba-SeQ6m.cjs} +36 -36
- package/dist/{threeViewerHost-BNnzz6WM.js → threeViewerHost-Co0U6v_d.js} +2126 -2090
- package/dist/{urdfTree-3Jd59vvU.js → urdfTree-CtpNr38F.js} +1 -1
- package/dist/{urdfTree-CPEMi7wo.cjs → urdfTree-DkWqLWnt.cjs} +1 -1
- package/dist/{workpieceTreePanel-KdP9UaVe.cjs → workpieceTreePanel-BPsnvq9b.cjs} +1 -1
- package/dist/{workpieceTreePanel-CCbVIIlm.js → workpieceTreePanel-DimwJSXC.js} +5 -5
- package/package.json +1 -1
- package/dist/index-C9C84gkB.cjs +0 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { resolveComponent as oA, createBlock as aA, openBlock as v, withCtx as C, createElementVNode as u, toDisplayString as CA, ref as o, onMounted as rn, watch as kA, createElementBlock as X, Fragment as hA, renderList as
|
|
2
|
-
import { m as Qn, a as Xn, b as On } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-
|
|
1
|
+
import { resolveComponent as oA, createBlock as aA, openBlock as v, withCtx as C, createElementVNode as u, toDisplayString as CA, ref as o, onMounted as rn, watch as kA, createElementBlock as X, Fragment as hA, renderList as GA, createCommentVNode as W, normalizeStyle as Ke, defineComponent as dn, resolveDynamicComponent as he, unref as A, computed as RA, provide as Ve, resolveDirective as Vn, withDirectives as ee, createVNode as a, vShow as ye, createTextVNode as ne, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
|
|
2
|
+
import { m as Qn, a as Xn, b as On } from "./index-BLXYg9Gs.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_b00cbae2_lang-B60JZATD.js";
|
|
4
4
|
import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-
|
|
6
|
-
import { c as fn, p as XA, s as BA, u as jn, b as Ee, g as ue, d as qn, E as oe, e as
|
|
5
|
+
import { _ as gt, a as rt, b as dt, e as Pt, s as Ct } from "./index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DVp62_ZP.js";
|
|
6
|
+
import { c as fn, p as XA, s as BA, u as jn, b as Ee, g as ue, d as qn, E as oe, e as Tn, f as ot } from "./index-DsSA-OiE.js";
|
|
7
7
|
import { a as ln, u as vn } from "./index-Ce_gZ72y.js";
|
|
8
8
|
import { S as wA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as Re, s as se, b as Et, c as It, r as HA, o as Se, d as Le, e as _n, f as $n, h as At, i as En, j as et, k as it, t as Bt, l as Fe, m as Pn, n as Cn, p as qe, q as un, u as _e, v as $e, w as An, x as en, y as nn, z as sn, D as zt, A as Qt, B as Xt, C as Yn, E as Gn, F as
|
|
10
|
-
import { a as yt } from "./array-
|
|
11
|
-
import { u as yn, g as we, a as tt, l as Ht, b as ft } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
12
|
-
import { u as Hn, a as lt } from "./index-
|
|
13
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
9
|
+
import { a as Re, s as se, b as Et, c as It, r as HA, o as Se, d as Le, e as _n, f as $n, h as At, i as En, j as et, k as it, t as Bt, l as Fe, m as Pn, n as Cn, p as qe, q as un, u as _e, v as $e, w as An, x as en, y as nn, z as sn, D as zt, A as Qt, B as Xt, C as Yn, E as Gn, F as YA, G as Ot, H as jt, I as nt } from "./index-ajVsMnUs.js";
|
|
10
|
+
import { a as yt } from "./array-mkPvdkqz.js";
|
|
11
|
+
import { u as yn, g as we, a as tt, l as Ht, b as ft } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BL1cikD3.js";
|
|
12
|
+
import { u as Hn, a as lt } from "./index-DXiQ5JKb.js";
|
|
13
|
+
import "./index.vue_vue_type_style_index_1_lang-CChX6Zmx.js";
|
|
14
14
|
import "./index-BIHEqwHC.js";
|
|
15
15
|
import { useRouter as wt } from "vue-router";
|
|
16
|
-
import bt from "./index-
|
|
17
|
-
import { C as kt } from "./index-
|
|
18
|
-
import xt from "./threeModel-
|
|
19
|
-
import { s as gn, _ as be } from "./index-
|
|
20
|
-
import { d as tn, T as In, g as De, u as pt, a as mt, b as Jt } from "./threeViewerHost-
|
|
21
|
-
import { _ as Bn } from "./index-
|
|
22
|
-
import { s as zn } from "./index-
|
|
16
|
+
import bt from "./index-BdoWr55z.js";
|
|
17
|
+
import { C as kt } from "./index-BIOzO44u.js";
|
|
18
|
+
import xt from "./threeModel-cKQrxO3d.js";
|
|
19
|
+
import { s as gn, _ as be } from "./index-CBHRkOa4.js";
|
|
20
|
+
import { d as tn, T as In, g as De, u as pt, a as mt, b as Jt } from "./threeViewerHost-Co0U6v_d.js";
|
|
21
|
+
import { _ as Bn } from "./index-Do_4Y2BA.js";
|
|
22
|
+
import { s as zn } from "./index-DmLuog-V.js";
|
|
23
23
|
import { T as Fn } from "./svgIcon-D-_fXUBL.js";
|
|
24
|
-
import "./index-
|
|
25
|
-
import { c as vt, f as St, g as Lt, a as ht, b as Rt } from "./animationData-
|
|
24
|
+
import "./index-DA4aTMB5.js";
|
|
25
|
+
import { c as vt, f as St, g as Lt, a as ht, b as Rt } from "./animationData-BebPFu1o.js";
|
|
26
26
|
import { g as Kt } from "./index-C14Eek69.js";
|
|
27
27
|
import { t as Dt, c as Nt, b as Wt } from "./index-CAPx0_D4.js";
|
|
28
28
|
import { v as Ut } from "./index-CUqOGOM4.js";
|
|
@@ -33,22 +33,22 @@ const Mt = (H, lA) => {
|
|
|
33
33
|
const { directiveLabel: nA } = P;
|
|
34
34
|
return nA === lA;
|
|
35
35
|
});
|
|
36
|
-
},
|
|
36
|
+
}, Zt = (H, lA) => {
|
|
37
37
|
const e = Kt(H), x = Mt(H, lA);
|
|
38
38
|
return x ? {
|
|
39
39
|
label: x == null ? void 0 : x.label,
|
|
40
40
|
tableData: e
|
|
41
41
|
} : null;
|
|
42
|
-
},
|
|
42
|
+
}, Tt = (H, lA) => {
|
|
43
43
|
if (!H)
|
|
44
44
|
return null;
|
|
45
45
|
const { comp: e } = H;
|
|
46
46
|
if (e === vt.TABLE)
|
|
47
|
-
return
|
|
47
|
+
return Zt(H, lA);
|
|
48
48
|
}, Yt = (H, lA) => {
|
|
49
49
|
let e = null;
|
|
50
50
|
for (let x = 0; x < H.length && !e; x++) {
|
|
51
|
-
const AA = H == null ? void 0 : H[x], eA =
|
|
51
|
+
const AA = H == null ? void 0 : H[x], eA = Tt(AA, lA);
|
|
52
52
|
eA && (e = eA);
|
|
53
53
|
}
|
|
54
54
|
return e;
|
|
@@ -95,7 +95,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
95
95
|
AA("click", P);
|
|
96
96
|
};
|
|
97
97
|
return (P, nA) => (v(), X("div", qt, [
|
|
98
|
-
(v(!0), X(hA, null,
|
|
98
|
+
(v(!0), X(hA, null, GA(x.value, (Y, vA) => {
|
|
99
99
|
var I;
|
|
100
100
|
return v(), X("div", {
|
|
101
101
|
key: vA,
|
|
@@ -170,13 +170,13 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
170
170
|
var nA, Y, vA;
|
|
171
171
|
((nA = e == null ? void 0 : e.componentParam) == null ? void 0 : nA.isEdit) === !0 ? AA.value = (Y = fn(e == null ? void 0 : e.dialogItem)) == null ? void 0 : Y.map((I) => {
|
|
172
172
|
var iA;
|
|
173
|
-
return (I == null ? void 0 : I.comp) === "Form" && (I.compData = (iA = I.compData) == null ? void 0 : iA.map((
|
|
173
|
+
return (I == null ? void 0 : I.comp) === "Form" && (I.compData = (iA = I.compData) == null ? void 0 : iA.map((T) => {
|
|
174
174
|
var _;
|
|
175
|
-
return (
|
|
175
|
+
return (T == null ? void 0 : T.key) === "formContent" && (T.contents = (_ = T.contents) == null ? void 0 : _.map((rA) => (rA.type = "Upload", rA))), T;
|
|
176
176
|
})), I;
|
|
177
177
|
}) : AA.value = (vA = fn(e == null ? void 0 : e.dialogItem)) == null ? void 0 : vA.map((I) => {
|
|
178
|
-
var iA,
|
|
179
|
-
return (I == null ? void 0 : I.comp) === "Table" && (I.compData = (iA = I.compData) == null ? void 0 : iA.filter((_) => (_ == null ? void 0 : _.key) !== "rowButton" && (_ == null ? void 0 : _.key) !== "extraButton"), I.compData = (
|
|
178
|
+
var iA, T;
|
|
179
|
+
return (I == null ? void 0 : I.comp) === "Table" && (I.compData = (iA = I.compData) == null ? void 0 : iA.filter((_) => (_ == null ? void 0 : _.key) !== "rowButton" && (_ == null ? void 0 : _.key) !== "extraButton"), I.compData = (T = I.compData) == null ? void 0 : T.map((_) => {
|
|
180
180
|
var rA;
|
|
181
181
|
return (_ == null ? void 0 : _.key) === "header" && (_.contents = (rA = _.contents) == null ? void 0 : rA.filter((zA) => (zA == null ? void 0 : zA.prop) !== "操作")), _;
|
|
182
182
|
})), I;
|
|
@@ -186,13 +186,13 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
186
186
|
), (nA, Y) => {
|
|
187
187
|
var vA;
|
|
188
188
|
return v(), X("div", null, [
|
|
189
|
-
(v(!0), X(hA, null,
|
|
190
|
-
var
|
|
189
|
+
(v(!0), X(hA, null, GA((vA = AA.value) == null ? void 0 : vA.filter((I) => I.comp !== "FormTop"), (I, iA) => {
|
|
190
|
+
var T;
|
|
191
191
|
return v(), X("div", {
|
|
192
192
|
class: "item-view-content",
|
|
193
193
|
key: iA
|
|
194
194
|
}, [
|
|
195
|
-
((
|
|
195
|
+
((T = I == null ? void 0 : I.comp) == null ? void 0 : T.toUpperCase()) !== "TABLE" && (I != null && I.name) ? (v(), X("div", ef, [
|
|
196
196
|
u("div", nf, CA(I.name), 1)
|
|
197
197
|
])) : W("", !0),
|
|
198
198
|
(v(), aA(he(A(Re)(I.comp)), {
|
|
@@ -220,17 +220,17 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
220
220
|
setup(H, { emit: lA }) {
|
|
221
221
|
var zA;
|
|
222
222
|
const e = ln(XA), { pageMapState: x } = BA(e), AA = vn(XA), { activeMenuPath: eA } = BA(AA), P = yn(XA), { originalPath: nA } = BA(P), Y = H, vA = lA, I = o(""), iA = () => {
|
|
223
|
-
var OA, JA, KA, V, te, fe, DA, ge, QA,
|
|
223
|
+
var OA, JA, KA, V, te, fe, DA, ge, QA, FA, xA;
|
|
224
224
|
if (!eA.value) return;
|
|
225
225
|
const b = ((JA = (OA = eA.value) == null ? void 0 : OA.split(nA.value)) == null ? void 0 : JA[0]) + nA.value + ((KA = Y == null ? void 0 : Y.toolBar) == null ? void 0 : KA.mainKeyPropValue), uA = (DA = (fe = (te = (V = x.value) == null ? void 0 : V[b]) == null ? void 0 : te.find(($) => {
|
|
226
226
|
var tA, NA, le;
|
|
227
227
|
return ((le = (NA = (tA = $ == null ? void 0 : $.value) == null ? void 0 : tA.pageData) == null ? void 0 : NA.comp) == null ? void 0 : le.toUpperCase()) === "FORM";
|
|
228
228
|
})) == null ? void 0 : fe.value) == null ? void 0 : DA.pageData;
|
|
229
|
-
I.value = (xA = (
|
|
229
|
+
I.value = (xA = (FA = (QA = (ge = uA == null ? void 0 : uA.compData) == null ? void 0 : ge.find(($) => ($ == null ? void 0 : $.key) === "formContent")) == null ? void 0 : QA.contents) == null ? void 0 : FA.find(($) => {
|
|
230
230
|
var tA;
|
|
231
231
|
return ($ == null ? void 0 : $.prop) === ((tA = Y == null ? void 0 : Y.toolBar) == null ? void 0 : tA.prop);
|
|
232
|
-
})) == null ? void 0 : xA.value, I.value &&
|
|
233
|
-
},
|
|
232
|
+
})) == null ? void 0 : xA.value, I.value && T(Number(I.value));
|
|
233
|
+
}, T = (b) => {
|
|
234
234
|
let uA = b * 60;
|
|
235
235
|
const OA = setInterval(() => {
|
|
236
236
|
if (uA <= 0)
|
|
@@ -281,10 +281,10 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
281
281
|
}, Rf = { class: "drop-menu" }, Kf = { class: "user-base-info" }, Df = { class: "base-info" }, Nf = { class: "group-item" }, Wf = { class: "sys-button" }, Uf = {
|
|
282
282
|
key: 0,
|
|
283
283
|
class: "main-back-btn"
|
|
284
|
-
}, Mf = { class: "custom-extend-wrapper" },
|
|
284
|
+
}, Mf = { class: "custom-extend-wrapper" }, Zf = {
|
|
285
285
|
key: 1,
|
|
286
286
|
style: { flex: "1", background: "transparent", padding: "8px 0" }
|
|
287
|
-
},
|
|
287
|
+
}, Tf = {
|
|
288
288
|
key: 2,
|
|
289
289
|
class: "main-body"
|
|
290
290
|
}, Yf = { key: 1 }, Gf = {
|
|
@@ -340,7 +340,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
340
340
|
var l;
|
|
341
341
|
return ((l = r.find((w) => w.prop === "状态")) == null ? void 0 : l.value) === "未读";
|
|
342
342
|
}).length
|
|
343
|
-
), iA = RA(() => I.value > 99 ? "99+" : I.value),
|
|
343
|
+
), iA = RA(() => I.value > 99 ? "99+" : I.value), T = yn(XA), { originalPath: _ } = BA(T), rA = _.value, zA = jn(), { loginUserInfo: b } = BA(zA), uA = o();
|
|
344
344
|
async function OA() {
|
|
345
345
|
var r, l, w, h, R, z;
|
|
346
346
|
try {
|
|
@@ -353,12 +353,12 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
353
353
|
const c = sessionStorage.getItem("systemKey"), [D] = await Promise.all([
|
|
354
354
|
we(on, c, "")
|
|
355
355
|
]), F = (w = (l = (r = D == null ? void 0 : D[0]) == null ? void 0 : r.compData) == null ? void 0 : l.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : w.contents, p = (z = (R = (h = D == null ? void 0 : D[0]) == null ? void 0 : h.compData) == null ? void 0 : R.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : z.contents;
|
|
356
|
-
let q = [], n = [],
|
|
357
|
-
Array.isArray(F) && Array.isArray(p) ? (
|
|
356
|
+
let q = [], n = [], g = [], K = [];
|
|
357
|
+
Array.isArray(F) && Array.isArray(p) ? (g = F.filter(
|
|
358
358
|
(d) => d.includes("未读")
|
|
359
359
|
), K = F.filter(
|
|
360
360
|
(d) => d.includes("已读")
|
|
361
|
-
), q = [...
|
|
361
|
+
), q = [...g, ...K], n = [...F]) : (g = [], K = [], n = [], console.warn("messagesContents 或 messagesHeader 不是数组")), Y.value = U(p, n), nA.value = U(p, q), vA.value = U(p, g);
|
|
362
362
|
} catch (U) {
|
|
363
363
|
console.error("获取消息数据失败:", U);
|
|
364
364
|
}
|
|
@@ -401,23 +401,23 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
401
401
|
console.warn("该消息没有主键", w);
|
|
402
402
|
return;
|
|
403
403
|
}
|
|
404
|
-
|
|
405
|
-
const p =
|
|
406
|
-
await Ht(p, p + rA + `updateLoading${((R = b.value) == null ? void 0 : R.account) || ((z = b.value) == null ? void 0 : z.账号)}`), xe.setRouteToChildPath(q),
|
|
404
|
+
VA.setAsideMenus(h), (D == null ? void 0 : D.value) === "未读" && (D.value = "已读", VA.setActiveMenuPath(on));
|
|
405
|
+
const p = s.value + rA + F.value, q = s.value;
|
|
406
|
+
await Ht(p, p + rA + `updateLoading${((R = b.value) == null ? void 0 : R.account) || ((z = b.value) == null ? void 0 : z.账号)}`), xe.setRouteToChildPath(q), VA.setActiveMenuPath(p + rA + `updateLoading${((U = b.value) == null ? void 0 : U.account) || ((c = b.value) == null ? void 0 : c.账号)}`), VA.setActiveTopMenuPath("消息中心"), console.log("444showItems.value", se.value);
|
|
407
407
|
} catch (D) {
|
|
408
408
|
console.error("加载菜单或页面时出错:", D);
|
|
409
409
|
}
|
|
410
410
|
})(r);
|
|
411
|
-
}, te = Hn(XA), { selectTitle: fe } = BA(te), DA = o(!1), ge = o(), QA = o(null),
|
|
411
|
+
}, te = Hn(XA), { selectTitle: fe } = BA(te), DA = o(!1), ge = o(), QA = o(null), FA = o(), xA = o(!1), $ = lt(XA), { blobUrls: tA } = BA($), NA = o(), le = o(!1), ie = o(!1), Be = o(!1), ze = o([]), We = o(!1), bA = o(null), WA = o([]), Qe = o(!1), Xe = o(!1), re = o();
|
|
412
412
|
Ve("contentRef", bA);
|
|
413
|
-
const xe = ln(XA), { isEdit: de, routeToChildPath: pe } = BA(xe), me = lA,
|
|
413
|
+
const xe = ln(XA), { isEdit: de, routeToChildPath: pe } = BA(xe), me = lA, VA = vn(XA), { asideMenuLoading: UA, importLoading: Je, activeAsideMenu: Ue, contentLoading: qA, platName: t, activeMenuPath: s } = BA(VA), i = H, j = RA(() => Ue.value.isRouter), G = () => {
|
|
414
414
|
sessionStorage.clear(), window.location.reload();
|
|
415
415
|
}, y = (r) => {
|
|
416
416
|
if ((r == null ? void 0 : r.type) === "table") {
|
|
417
417
|
let l = r == null ? void 0 : r.row;
|
|
418
418
|
const w = r == null ? void 0 : r.rowData;
|
|
419
419
|
let h = l;
|
|
420
|
-
h && (
|
|
420
|
+
h && (FA.value = {
|
|
421
421
|
url: h,
|
|
422
422
|
row: r == null ? void 0 : r.row
|
|
423
423
|
}, me("showChild", {
|
|
@@ -441,12 +441,12 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
441
441
|
}), l == null || l.forEach((z) => {
|
|
442
442
|
var U, c, D, F, p, q;
|
|
443
443
|
if ((z == null ? void 0 : z.comp) === "Table") {
|
|
444
|
-
let n = [],
|
|
444
|
+
let n = [], g = (D = (c = (U = z == null ? void 0 : z.compData) == null ? void 0 : U.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : c.contents) == null ? void 0 : D.map((d) => d == null ? void 0 : d.label), K = (q = (p = (F = z == null ? void 0 : z.compData) == null ? void 0 : F.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : p.contents) == null ? void 0 : q.map((d) => (d = d == null ? void 0 : d.filter((M) => !(M != null && M.id)), d));
|
|
445
445
|
K == null || K.forEach((d) => {
|
|
446
446
|
n.push(
|
|
447
447
|
tt(
|
|
448
448
|
d,
|
|
449
|
-
|
|
449
|
+
g == null ? void 0 : g.filter((M) => M !== "操作")
|
|
450
450
|
)
|
|
451
451
|
);
|
|
452
452
|
}), r[z.name] = n, r[z.name + "Content"] = z;
|
|
@@ -458,8 +458,8 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
458
458
|
if (DA.value = !0, NA.value = (r = i == null ? void 0 : i.taskContent) == null ? void 0 : r.sceneType, WA.value = [{
|
|
459
459
|
url: (l = i == null ? void 0 : i.taskContent) == null ? void 0 : l.url,
|
|
460
460
|
extension: De((w = i == null ? void 0 : i.taskContent) == null ? void 0 : w.url)
|
|
461
|
-
}],
|
|
462
|
-
const c =
|
|
461
|
+
}], FA.value) {
|
|
462
|
+
const c = FA.value;
|
|
463
463
|
let D = [];
|
|
464
464
|
if (typeof (c == null ? void 0 : c.url) == "string")
|
|
465
465
|
if ((h = c == null ? void 0 : c.url) != null && h.includes(",")) {
|
|
@@ -481,7 +481,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
481
481
|
xA.value = !1, QA.value = null;
|
|
482
482
|
};
|
|
483
483
|
kA(
|
|
484
|
-
() =>
|
|
484
|
+
() => s.value,
|
|
485
485
|
async (r) => {
|
|
486
486
|
r && (ie.value = !0), r === "弯管仿真加工分析/仿真动画生成" ? Be.value = !0 : Be.value = !1, r === "弯管仿真加工分析/程序输出" ? We.value = !0 : We.value = !1, Ne != null && Ne.find((l) => {
|
|
487
487
|
var w;
|
|
@@ -497,9 +497,9 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
497
497
|
xA.value = !0;
|
|
498
498
|
let z = [];
|
|
499
499
|
const U = await ((h = fn(tA == null ? void 0 : tA.value)) == null ? void 0 : h.map(async (c) => {
|
|
500
|
-
var n,
|
|
500
|
+
var n, g, K, d, M, B, m, E, Z, N;
|
|
501
501
|
let D, F, p;
|
|
502
|
-
c != null && c.blob.includes("undefined") ? p = (
|
|
502
|
+
c != null && c.blob.includes("undefined") ? p = (g = (n = c == null ? void 0 : c.blob) == null ? void 0 : n.split("undefined,")) == null ? void 0 : g[1] : p = c == null ? void 0 : c.blob;
|
|
503
503
|
let q = p == null ? void 0 : p.split(",");
|
|
504
504
|
if ((q == null ? void 0 : q.length) > 1) {
|
|
505
505
|
let Q = await (q == null ? void 0 : q.map(async (O) => {
|
|
@@ -512,7 +512,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
512
512
|
});
|
|
513
513
|
let cA = [];
|
|
514
514
|
if (((sA = c == null ? void 0 : c.mtlBlobs) == null ? void 0 : sA.length) > 0) {
|
|
515
|
-
let
|
|
515
|
+
let TA = await ((IA = c == null ? void 0 : c.mtlBlobs) == null ? void 0 : IA.map(async (ae) => {
|
|
516
516
|
let Ae = await Ee.get(ae, {
|
|
517
517
|
responseType: "blob",
|
|
518
518
|
headers: {
|
|
@@ -525,7 +525,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
525
525
|
})
|
|
526
526
|
), Ae;
|
|
527
527
|
}));
|
|
528
|
-
await Promise.all(
|
|
528
|
+
await Promise.all(TA);
|
|
529
529
|
}
|
|
530
530
|
return ((pA = O == null ? void 0 : O.split(".")) == null ? void 0 : pA[((L = O == null ? void 0 : O.split(".")) == null ? void 0 : L.length) - 1]) !== "undefined" && z.push({
|
|
531
531
|
suffix: "." + ((ZA = O == null ? void 0 : O.split(".")) == null ? void 0 : ZA[((mA = O == null ? void 0 : O.split(".")) == null ? void 0 : mA.length) - 1]),
|
|
@@ -586,7 +586,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
586
586
|
await Promise.all(O);
|
|
587
587
|
}
|
|
588
588
|
F = {
|
|
589
|
-
suffix: c != null && c.suffix ? c == null ? void 0 : c.suffix : "." + ((N = p == null ? void 0 : p.split(".")) == null ? void 0 : N[((
|
|
589
|
+
suffix: c != null && c.suffix ? c == null ? void 0 : c.suffix : "." + ((N = p == null ? void 0 : p.split(".")) == null ? void 0 : N[((Z = p == null ? void 0 : p.split(".")) == null ? void 0 : Z.length) - 1]),
|
|
590
590
|
blob: new Blob([D.data], {
|
|
591
591
|
type: "application/octet-stream;charset=UTF-8"
|
|
592
592
|
}),
|
|
@@ -628,14 +628,14 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
628
628
|
});
|
|
629
629
|
r = [...(h = r == null ? void 0 : r.data) == null ? void 0 : h.result, ...(R = l == null ? void 0 : l.data) == null ? void 0 : R.result];
|
|
630
630
|
let w = (U = (z = r == null ? void 0 : r.find((c) => {
|
|
631
|
-
var D, F, p, q, n,
|
|
632
|
-
return ((F = (D = c == null ? void 0 : c.value) == null ? void 0 : D.tableData) == null ? void 0 : F.account) === (((p = b.value) == null ? void 0 : p.account) ?? ((q = b.value) == null ? void 0 : q.账号)) || ((
|
|
631
|
+
var D, F, p, q, n, g, K, d;
|
|
632
|
+
return ((F = (D = c == null ? void 0 : c.value) == null ? void 0 : D.tableData) == null ? void 0 : F.account) === (((p = b.value) == null ? void 0 : p.account) ?? ((q = b.value) == null ? void 0 : q.账号)) || ((g = (n = c == null ? void 0 : c.value) == null ? void 0 : n.tableData) == null ? void 0 : g.账号) === (((K = b.value) == null ? void 0 : K.account) ?? ((d = b.value) == null ? void 0 : d.账号));
|
|
633
633
|
})) == null ? void 0 : z.value) == null ? void 0 : U.tableData;
|
|
634
634
|
AA.value = ve.value + "/" + (w == null ? void 0 : w.authorityPhoto), x.value = "first";
|
|
635
635
|
});
|
|
636
636
|
const yA = () => {
|
|
637
637
|
var w, h;
|
|
638
|
-
if (pe.value === "" || ((h =
|
|
638
|
+
if (pe.value === "" || ((h = s.value) == null ? void 0 : h[((w = s.value) == null ? void 0 : w.length) - 1]) === rA) return !1;
|
|
639
639
|
const r = sessionStorage.getItem("authority"), l = JSON.parse(r || "");
|
|
640
640
|
if (Array.isArray(l)) {
|
|
641
641
|
const R = Array.isArray(l) && (l == null ? void 0 : l.filter((U) => U == null ? void 0 : U.includes(pe.value))), z = R == null ? void 0 : R.map((U) => {
|
|
@@ -660,7 +660,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
660
660
|
const q = await pt(r);
|
|
661
661
|
if (((l = q == null ? void 0 : q.data) == null ? void 0 : l.code) === 200) {
|
|
662
662
|
AA.value = ve.value + "/" + ((h = (w = q.data) == null ? void 0 : w.result) == null ? void 0 : h.url);
|
|
663
|
-
let n = (z = (R = q.data) == null ? void 0 : R.result) == null ? void 0 : z.url,
|
|
663
|
+
let n = (z = (R = q.data) == null ? void 0 : R.result) == null ? void 0 : z.url, g = await ue({
|
|
664
664
|
key: {
|
|
665
665
|
layer: "superAdmin",
|
|
666
666
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -672,13 +672,13 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
672
672
|
type: "data"
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
|
-
|
|
676
|
-
let d = (D =
|
|
677
|
-
var E,
|
|
678
|
-
return ((
|
|
679
|
-
})) == null ? void 0 : D.id, B = (p = (F =
|
|
680
|
-
var E,
|
|
681
|
-
return ((
|
|
675
|
+
g = [...(U = g == null ? void 0 : g.data) == null ? void 0 : U.result, ...(c = K == null ? void 0 : K.data) == null ? void 0 : c.result];
|
|
676
|
+
let d = (D = g == null ? void 0 : g.find((m) => {
|
|
677
|
+
var E, Z, N, Q, O, cA, sA, IA;
|
|
678
|
+
return ((Z = (E = m == null ? void 0 : m.value) == null ? void 0 : E.tableData) == null ? void 0 : Z.account) === (((N = b.value) == null ? void 0 : N.account) ?? ((Q = b.value) == null ? void 0 : Q.账号)) || ((cA = (O = m == null ? void 0 : m.value) == null ? void 0 : O.tableData) == null ? void 0 : cA.账号) === (((sA = b.value) == null ? void 0 : sA.account) ?? ((IA = b.value) == null ? void 0 : IA.账号));
|
|
679
|
+
})) == null ? void 0 : D.id, B = (p = (F = g == null ? void 0 : g.find((m) => {
|
|
680
|
+
var E, Z, N, Q, O, cA, sA, IA;
|
|
681
|
+
return ((Z = (E = m == null ? void 0 : m.value) == null ? void 0 : E.tableData) == null ? void 0 : Z.account) === (((N = b.value) == null ? void 0 : N.account) ?? ((Q = b.value) == null ? void 0 : Q.账号)) || ((cA = (O = m == null ? void 0 : m.value) == null ? void 0 : O.tableData) == null ? void 0 : cA.账号) === (((sA = b.value) == null ? void 0 : sA.account) ?? ((IA = b.value) == null ? void 0 : IA.账号));
|
|
682
682
|
})) == null ? void 0 : F.value) == null ? void 0 : p.tableData;
|
|
683
683
|
B.authorityPhoto = n, await qn({
|
|
684
684
|
id: d,
|
|
@@ -693,12 +693,12 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
693
693
|
}, $A = RA(() => Et(HA.value, It.value)), fA = RA(() => {
|
|
694
694
|
var r, l, w, h;
|
|
695
695
|
return ((r = HA.value) == null ? void 0 : r.length) > 0 && ((l = HA.value) != null && l.every((R) => R == null ? void 0 : R.layout)) ? (h = (w = HA.value) == null ? void 0 : w[0]) == null ? void 0 : h.layout : "vertical";
|
|
696
|
-
}),
|
|
696
|
+
}), MA = RA(() => {
|
|
697
697
|
var r, l, w;
|
|
698
698
|
return ((r = HA.value) == null ? void 0 : r.length) > 0 && (fA == null ? void 0 : fA.value) === "horizontal" ? (w = (l = HA.value) == null ? void 0 : l[0]) == null ? void 0 : w.name : "";
|
|
699
699
|
});
|
|
700
700
|
return (r, l) => {
|
|
701
|
-
const w = oA("el-dialog"), h = oA("el-button"), R = oA("el-header"), z = oA("el-splitter-panel"), U = oA("el-splitter"), c = oA("el-container"), D = oA("el-tab-pane"), F = oA("el-tabs"), p = oA("el-aside"), q = oA("el-image"), n = oA("router-view"),
|
|
701
|
+
const w = oA("el-dialog"), h = oA("el-button"), R = oA("el-header"), z = oA("el-splitter-panel"), U = oA("el-splitter"), c = oA("el-container"), D = oA("el-tab-pane"), F = oA("el-tabs"), p = oA("el-aside"), q = oA("el-image"), n = oA("router-view"), g = oA("el-step"), K = oA("el-steps"), d = oA("el-main"), M = Vn("loading");
|
|
702
702
|
return v(), X(hA, null, [
|
|
703
703
|
ee(a(kt, {
|
|
704
704
|
ref_key: "cropperDialogRef",
|
|
@@ -769,7 +769,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
769
769
|
id: "themeButton",
|
|
770
770
|
onClick: l[2] || (l[2] = (B) => {
|
|
771
771
|
var m, E;
|
|
772
|
-
return A(At)((E = (m = A(fe)) == null ? void 0 : m.map((
|
|
772
|
+
return A(At)((E = (m = A(fe)) == null ? void 0 : m.map((Z) => Z.value)) == null ? void 0 : E.join("/"));
|
|
773
773
|
})
|
|
774
774
|
}, {
|
|
775
775
|
icon: C(() => [
|
|
@@ -923,8 +923,8 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
923
923
|
]),
|
|
924
924
|
default: C(() => [
|
|
925
925
|
u("div", Bf, [
|
|
926
|
-
(v(!0), X(hA, null,
|
|
927
|
-
var E,
|
|
926
|
+
(v(!0), X(hA, null, GA(Y.value, (B, m) => {
|
|
927
|
+
var E, Z, N, Q;
|
|
928
928
|
return v(), X("div", {
|
|
929
929
|
class: "message-item",
|
|
930
930
|
key: m,
|
|
@@ -932,7 +932,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
932
932
|
}, [
|
|
933
933
|
u("div", Qf, [
|
|
934
934
|
((E = B.find((O) => O.prop === "状态")) == null ? void 0 : E.value) === "未读" ? (v(), X("span", Xf, "[未读]")) : (v(), X("span", Of, "[已读]")),
|
|
935
|
-
u("div", jf, CA((
|
|
935
|
+
u("div", jf, CA((Z = B.find((O) => O.prop === "消息类别")) == null ? void 0 : Z.value), 1),
|
|
936
936
|
u("div", yf, CA((N = B.find((O) => O.prop === "发送时间")) == null ? void 0 : N.value), 1)
|
|
937
937
|
]),
|
|
938
938
|
u("div", Hf, CA((Q = B.find((O) => O.prop === "内容")) == null ? void 0 : Q.value), 1)
|
|
@@ -954,8 +954,8 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
954
954
|
])),
|
|
955
955
|
default: C(() => [
|
|
956
956
|
u("div", bf, [
|
|
957
|
-
(v(!0), X(hA, null,
|
|
958
|
-
var E,
|
|
957
|
+
(v(!0), X(hA, null, GA(vA.value, (B, m) => {
|
|
958
|
+
var E, Z, N, Q;
|
|
959
959
|
return v(), X("div", {
|
|
960
960
|
class: "message-item",
|
|
961
961
|
key: m,
|
|
@@ -963,7 +963,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
963
963
|
}, [
|
|
964
964
|
u("div", xf, [
|
|
965
965
|
((E = B.find((O) => O.prop === "状态")) == null ? void 0 : E.value) === "未读" ? (v(), X("span", pf, "[未读]")) : (v(), X("span", mf, "[已读]")),
|
|
966
|
-
u("div", Jf, CA((
|
|
966
|
+
u("div", Jf, CA((Z = B.find((O) => O.prop === "消息类别")) == null ? void 0 : Z.value), 1),
|
|
967
967
|
u("div", Sf, CA((N = B.find((O) => O.prop === "发送时间")) == null ? void 0 : N.value), 1)
|
|
968
968
|
]),
|
|
969
969
|
u("div", Lf, CA((Q = B.find((O) => O.prop === "内容")) == null ? void 0 : Q.value), 1)
|
|
@@ -990,7 +990,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
990
990
|
}, null, 8, ["userInfo"])
|
|
991
991
|
]),
|
|
992
992
|
dropMenu: C(() => {
|
|
993
|
-
var B, m, E,
|
|
993
|
+
var B, m, E, Z, N, Q;
|
|
994
994
|
return [
|
|
995
995
|
u("div", Rf, [
|
|
996
996
|
u("div", Kf, [
|
|
@@ -1002,7 +1002,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1002
1002
|
u("div", Df, [
|
|
1003
1003
|
u("div", null, [
|
|
1004
1004
|
u("span", null, CA(((B = A(b)) == null ? void 0 : B.account) || ((m = A(b)) == null ? void 0 : m.账号) || "未知"), 1),
|
|
1005
|
-
u("span", null, CA(((
|
|
1005
|
+
u("span", null, CA(((Z = (E = A(b)) == null ? void 0 : E.layer) == null ? void 0 : Z.toUpperCase()) === "SUPERADMIN" ? "超级管理员" : ((N = A(b)) == null ? void 0 : N.角色名称) ?? "未知"), 1)
|
|
1006
1006
|
]),
|
|
1007
1007
|
u("div", null, CA(((Q = A(b)) == null ? void 0 : Q.工号) || "未知"), 1)
|
|
1008
1008
|
])
|
|
@@ -1059,7 +1059,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1059
1059
|
default: C(() => [
|
|
1060
1060
|
a(d, { class: "client-main" }, {
|
|
1061
1061
|
default: C(() => {
|
|
1062
|
-
var B, m, E,
|
|
1062
|
+
var B, m, E, Z, N, Q, O, cA, sA, IA, L, pA, mA, ZA, TA, ae, Ae, gA, PA, SA, LA, je, Me, Ze, Te, Ye, an, cn, Ge, wn, bn;
|
|
1063
1063
|
return [
|
|
1064
1064
|
ee((v(), aA(p, {
|
|
1065
1065
|
class: "client-aside",
|
|
@@ -1080,7 +1080,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1080
1080
|
ref: bA,
|
|
1081
1081
|
"element-loading-text": "正在加载页面数据..."
|
|
1082
1082
|
}, [
|
|
1083
|
-
((m = A(
|
|
1083
|
+
((m = A(s)) == null ? void 0 : m[((B = A(s)) == null ? void 0 : B.length) - 1]) === A(rA) || (E = A(s)) != null && E.includes("updateLoading") || (Z = A(s)) != null && Z.includes("loading") ? (v(), X("div", Uf, [
|
|
1084
1084
|
a(be, {
|
|
1085
1085
|
class: "calculator-content back-content",
|
|
1086
1086
|
onClickTrigger: l[4] || (l[4] = (f) => A(et)()),
|
|
@@ -1093,14 +1093,14 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1093
1093
|
}, null, 8, ["toolBar", "onOnExtendTaskEnd"])
|
|
1094
1094
|
])
|
|
1095
1095
|
])) : W("", !0),
|
|
1096
|
-
(N = A(
|
|
1096
|
+
(N = A(s)) != null && N.includes("首页") ? (v(), X("div", Zf, [
|
|
1097
1097
|
a(q, {
|
|
1098
1098
|
src: A(tf),
|
|
1099
1099
|
fit: "contain"
|
|
1100
1100
|
}, null, 8, ["src"])
|
|
1101
|
-
])) : (v(), X("div",
|
|
1101
|
+
])) : (v(), X("div", Tf, [
|
|
1102
1102
|
j.value ? (v(), aA(n, { key: 0 })) : (v(), X("div", Yf, [
|
|
1103
|
-
!A(Fe) && fA.value === "vertical" && (((Q = A(Pn)) == null ? void 0 : Q.length) === 0 || !A(Pn)) ? (v(!0), X(hA, { key: 0 },
|
|
1103
|
+
!A(Fe) && fA.value === "vertical" && (((Q = A(Pn)) == null ? void 0 : Q.length) === 0 || !A(Pn)) ? (v(!0), X(hA, { key: 0 }, GA((O = A(HA)) == null ? void 0 : O.filter((f) => f.comp !== "FormTop"), (f, k) => {
|
|
1104
1104
|
var ce, Ce;
|
|
1105
1105
|
return v(), X("div", {
|
|
1106
1106
|
class: He((ce = A(Cn)) != null && ce.includes(f == null ? void 0 : f.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
@@ -1149,7 +1149,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1149
1149
|
"row-height": A(Qt)
|
|
1150
1150
|
}, {
|
|
1151
1151
|
default: C(() => [
|
|
1152
|
-
(v(!0), X(hA, null,
|
|
1152
|
+
(v(!0), X(hA, null, GA($A.value, (f, k) => {
|
|
1153
1153
|
var ce, Ce;
|
|
1154
1154
|
return v(), aA(A(Xt), {
|
|
1155
1155
|
key: f.i,
|
|
@@ -1164,7 +1164,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1164
1164
|
class: He(A(Yn)((Ce = f == null ? void 0 : f.component) == null ? void 0 : Ce.comp) ? "grid-method-button" : "")
|
|
1165
1165
|
}, {
|
|
1166
1166
|
default: C(() => {
|
|
1167
|
-
var kn, xn, pn, mn, Jn, Sn, Ln, hn, Rn, Kn, Dn, Nn, Wn, Un, Mn,
|
|
1167
|
+
var kn, xn, pn, mn, Jn, Sn, Ln, hn, Rn, Kn, Dn, Nn, Wn, Un, Mn, Zn;
|
|
1168
1168
|
return [
|
|
1169
1169
|
u("div", {
|
|
1170
1170
|
class: He((xn = A(Cn)) != null && xn.includes((kn = f == null ? void 0 : f.component) == null ? void 0 : kn.id) ? "item-view-content affix-content" : "item-view-content")
|
|
@@ -1193,7 +1193,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1193
1193
|
onRouteUrl: EA,
|
|
1194
1194
|
parentTableId: (Mn = A(HA)[k]) == null ? void 0 : Mn.tableId,
|
|
1195
1195
|
allMapContents: A($e),
|
|
1196
|
-
children: (
|
|
1196
|
+
children: (Zn = A(HA)[k]) == null ? void 0 : Zn.children,
|
|
1197
1197
|
level: 1,
|
|
1198
1198
|
cacheNewData: A(nn),
|
|
1199
1199
|
onClickTrigger: A(_e),
|
|
@@ -1211,8 +1211,8 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1211
1211
|
}, 8, ["layout", "row-height"])) : W("", !0),
|
|
1212
1212
|
!A(Fe) && fA.value === "horizontal" ? (v(), X("div", _f, [
|
|
1213
1213
|
a(F, {
|
|
1214
|
-
modelValue:
|
|
1215
|
-
"onUpdate:modelValue": l[6] || (l[6] = (f) =>
|
|
1214
|
+
modelValue: MA.value,
|
|
1215
|
+
"onUpdate:modelValue": l[6] || (l[6] = (f) => MA.value = f),
|
|
1216
1216
|
type: "card",
|
|
1217
1217
|
class: "display-tabs",
|
|
1218
1218
|
onTabClick: e
|
|
@@ -1220,7 +1220,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1220
1220
|
default: C(() => {
|
|
1221
1221
|
var f;
|
|
1222
1222
|
return [
|
|
1223
|
-
(v(!0), X(hA, null,
|
|
1223
|
+
(v(!0), X(hA, null, GA((f = A(HA)) == null ? void 0 : f.filter((k) => k.comp !== "FormTop"), (k, ce) => (v(), aA(D, {
|
|
1224
1224
|
key: ce,
|
|
1225
1225
|
label: k.name,
|
|
1226
1226
|
name: k.name
|
|
@@ -1273,12 +1273,12 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1273
1273
|
A(Fe) ? (v(), aA(K, {
|
|
1274
1274
|
key: 3,
|
|
1275
1275
|
direction: "horizontal",
|
|
1276
|
-
active: (sA = A(
|
|
1276
|
+
active: (sA = A(YA)) == null ? void 0 : sA.index,
|
|
1277
1277
|
"align-center": !0,
|
|
1278
1278
|
class: "display-steps"
|
|
1279
1279
|
}, {
|
|
1280
1280
|
default: C(() => [
|
|
1281
|
-
(v(!0), X(hA, null,
|
|
1281
|
+
(v(!0), X(hA, null, GA(A(Ot), (f, k) => (v(), aA(g, {
|
|
1282
1282
|
key: f == null ? void 0 : f.id,
|
|
1283
1283
|
class: "step-item",
|
|
1284
1284
|
status: f == null ? void 0 : f.status,
|
|
@@ -1294,33 +1294,33 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1294
1294
|
}, 8, ["active"])) : W("", !0),
|
|
1295
1295
|
A(Fe) ? (v(), X("div", {
|
|
1296
1296
|
key: 4,
|
|
1297
|
-
class: He((pA = A(Cn)) != null && pA.includes((L = (IA = A(
|
|
1298
|
-
style: Ke({ display: ((ZA = (mA = A(
|
|
1297
|
+
class: He((pA = A(Cn)) != null && pA.includes((L = (IA = A(YA)) == null ? void 0 : IA.comp) == null ? void 0 : L.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
1298
|
+
style: Ke({ display: ((ZA = (mA = A(YA)) == null ? void 0 : mA.comp) == null ? void 0 : ZA.isShow) === !1 ? "none" : "flex" })
|
|
1299
1299
|
}, [
|
|
1300
|
-
A(qe) ? (v(), aA(he(A(Re)((ae = (
|
|
1301
|
-
compItem: (Ae = A(
|
|
1300
|
+
A(qe) ? (v(), aA(he(A(Re)((ae = (TA = A(YA)) == null ? void 0 : TA.comp) == null ? void 0 : ae.comp)), {
|
|
1301
|
+
compItem: (Ae = A(YA)) == null ? void 0 : Ae.comp,
|
|
1302
1302
|
compNames: A(sn),
|
|
1303
|
-
compName: (PA = (gA = A(
|
|
1303
|
+
compName: (PA = (gA = A(YA)) == null ? void 0 : gA.comp) == null ? void 0 : PA.name,
|
|
1304
1304
|
cacheNewData: A(nn),
|
|
1305
1305
|
isDevMode: H.showButton,
|
|
1306
|
-
itemData: (LA = (SA = A(
|
|
1307
|
-
childItemData: (Me = (je = A(
|
|
1306
|
+
itemData: (LA = (SA = A(YA)) == null ? void 0 : SA.comp) == null ? void 0 : LA.compData,
|
|
1307
|
+
childItemData: (Me = (je = A(YA)) == null ? void 0 : je.comp) == null ? void 0 : Me.itemChildData,
|
|
1308
1308
|
key: A(en),
|
|
1309
1309
|
onChange: A(Le),
|
|
1310
|
-
index: (
|
|
1310
|
+
index: (Te = (Ze = A(YA)) == null ? void 0 : Ze.comp) == null ? void 0 : Te.id,
|
|
1311
1311
|
onContentChange: A(Se),
|
|
1312
1312
|
onPageChange: A(An),
|
|
1313
1313
|
onRowClick: y,
|
|
1314
1314
|
onRouteUrl: EA,
|
|
1315
|
-
parentTableId: (an = (Ye = A(
|
|
1315
|
+
parentTableId: (an = (Ye = A(YA)) == null ? void 0 : Ye.comp) == null ? void 0 : an.tableId,
|
|
1316
1316
|
allMapContents: A($e),
|
|
1317
|
-
children: (Ge = (cn = A(
|
|
1317
|
+
children: (Ge = (cn = A(YA)) == null ? void 0 : cn.comp) == null ? void 0 : Ge.children,
|
|
1318
1318
|
level: 1,
|
|
1319
1319
|
onClickTrigger: A(_e),
|
|
1320
1320
|
onClickMainKey: A(un)
|
|
1321
1321
|
}, null, 40, ["compItem", "compNames", "compName", "cacheNewData", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "onClickTrigger", "onClickMainKey"])) : W("", !0)
|
|
1322
1322
|
], 6)) : W("", !0),
|
|
1323
|
-
!((wn = A(se)) != null && wn.find((f) => f.comp === "methodButton")) && ((bn = A(
|
|
1323
|
+
!((wn = A(se)) != null && wn.find((f) => f.comp === "methodButton")) && ((bn = A(s)) != null && bn.includes(A(_))) ? (v(), X("div", nl, [
|
|
1324
1324
|
yA() ? (v(), aA(be, {
|
|
1325
1325
|
key: 0,
|
|
1326
1326
|
class: "calculator-content",
|
|
@@ -1331,7 +1331,7 @@ const Vt = /* @__PURE__ */ Ie(gt, [["render", Ft], ["__scopeId", "data-v-0cbc421
|
|
|
1331
1331
|
]))
|
|
1332
1332
|
]))
|
|
1333
1333
|
])), [
|
|
1334
|
-
[M, A(
|
|
1334
|
+
[M, A(qA)]
|
|
1335
1335
|
])
|
|
1336
1336
|
];
|
|
1337
1337
|
}),
|
|
@@ -1383,7 +1383,7 @@ function vl(H, lA, e, x, AA, eA) {
|
|
|
1383
1383
|
const al = /* @__PURE__ */ Ie(rt, [["render", vl], ["__scopeId", "data-v-83196ea8"]]), cl = { class: "three-menu" }, ul = ["onClick"];
|
|
1384
1384
|
function sl(H, lA, e, x, AA, eA) {
|
|
1385
1385
|
return v(), X("div", cl, [
|
|
1386
|
-
(v(!0), X(hA, null,
|
|
1386
|
+
(v(!0), X(hA, null, GA(H.renderMenuList, (P) => (v(), X("div", {
|
|
1387
1387
|
onClick: (nA) => H.clickMenu(P)
|
|
1388
1388
|
}, [
|
|
1389
1389
|
ke(H.$slots, "menu", { menu: P }, void 0, !0)
|
|
@@ -1440,20 +1440,20 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1440
1440
|
setup(H, { emit: lA }) {
|
|
1441
1441
|
const e = o(), x = o([]), AA = o([]), eA = RA(
|
|
1442
1442
|
() => x.value.filter((n) => {
|
|
1443
|
-
var
|
|
1444
|
-
return ((
|
|
1443
|
+
var g;
|
|
1444
|
+
return ((g = n.find((K) => K.prop === "状态")) == null ? void 0 : g.value) === "未读";
|
|
1445
1445
|
}).length
|
|
1446
1446
|
);
|
|
1447
1447
|
RA(() => eA.value > 99 ? "99+" : eA.value);
|
|
1448
|
-
const P = yn(XA), { originalPath: nA } = BA(P), Y = nA.value, vA = Hn(XA), { selectTitle: I } = BA(vA), iA = o(!1),
|
|
1448
|
+
const P = yn(XA), { originalPath: nA } = BA(P), Y = nA.value, vA = Hn(XA), { selectTitle: I } = BA(vA), iA = o(!1), T = o(null), _ = o(), rA = o(!1), zA = lt(XA), { blobUrls: b } = BA(zA), uA = o(!1), OA = o(!1), JA = o(!1), KA = o([]), V = o(!1), te = o(null), fe = o([]), DA = o(!1);
|
|
1449
1449
|
Ve("contentRef", te);
|
|
1450
|
-
const ge = jn(), { loginUserInfo: QA } = BA(ge),
|
|
1450
|
+
const ge = jn(), { loginUserInfo: QA } = BA(ge), FA = ln(XA), { isEdit: xA, routeToChildPath: $ } = BA(FA), tA = lA, NA = vn(XA), { asideMenuLoading: le, importLoading: ie, activeAsideMenu: Be, contentLoading: ze, platName: We, activeMenuPath: bA } = BA(NA), WA = mt(XA), { data: Qe } = BA(WA), { setData: Xe } = Jt(), re = RA(() => Be.value.isRouter), xe = () => {
|
|
1451
1451
|
sessionStorage.clear(), window.location.reload();
|
|
1452
1452
|
}, de = (n) => {
|
|
1453
1453
|
if ((n == null ? void 0 : n.type) === "table") {
|
|
1454
|
-
let
|
|
1454
|
+
let g = n == null ? void 0 : n.row;
|
|
1455
1455
|
const K = n == null ? void 0 : n.rowData;
|
|
1456
|
-
let d =
|
|
1456
|
+
let d = g;
|
|
1457
1457
|
if (d) {
|
|
1458
1458
|
_.value = {
|
|
1459
1459
|
url: d,
|
|
@@ -1476,28 +1476,28 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1476
1476
|
kA(
|
|
1477
1477
|
() => bA.value,
|
|
1478
1478
|
async (n) => {
|
|
1479
|
-
n && (OA.value = !0), n === "弯管仿真加工分析/仿真动画生成" ? JA.value = !0 : JA.value = !1, n === "弯管仿真加工分析/程序输出" ? V.value = !0 : V.value = !1, Ne != null && Ne.find((
|
|
1479
|
+
n && (OA.value = !0), n === "弯管仿真加工分析/仿真动画生成" ? JA.value = !0 : JA.value = !1, n === "弯管仿真加工分析/程序输出" ? V.value = !0 : V.value = !1, Ne != null && Ne.find((g) => {
|
|
1480
1480
|
var K;
|
|
1481
|
-
return (
|
|
1481
|
+
return (g == null ? void 0 : g.key) === ((K = n == null ? void 0 : n.split("/")) == null ? void 0 : K[(n == null ? void 0 : n.split("/").length) - 1]);
|
|
1482
1482
|
}) ? uA.value = !0 : uA.value = !1;
|
|
1483
1483
|
},
|
|
1484
1484
|
{ immediate: !0 }
|
|
1485
1485
|
), kA(
|
|
1486
1486
|
() => [b == null ? void 0 : b.value],
|
|
1487
1487
|
async () => {
|
|
1488
|
-
var n,
|
|
1489
|
-
if (b != null && b.value && ((n = b == null ? void 0 : b.value) == null ? void 0 : n.length) > 0 && !uA.value && !((
|
|
1488
|
+
var n, g, K, d, M;
|
|
1489
|
+
if (b != null && b.value && ((n = b == null ? void 0 : b.value) == null ? void 0 : n.length) > 0 && !uA.value && !((g = se.value) != null && g.find((B) => (B == null ? void 0 : B.name) === "输入") && ((K = se.value) != null && K.find((B) => (B == null ? void 0 : B.name) === "输出")))) {
|
|
1490
1490
|
rA.value = !0;
|
|
1491
1491
|
let B = [];
|
|
1492
1492
|
const m = await ((d = fn(b == null ? void 0 : b.value)) == null ? void 0 : d.map(async (E) => {
|
|
1493
|
-
var cA, sA, IA, L, pA, mA, ZA,
|
|
1494
|
-
let
|
|
1493
|
+
var cA, sA, IA, L, pA, mA, ZA, TA, ae, Ae;
|
|
1494
|
+
let Z, N, Q;
|
|
1495
1495
|
E != null && E.blob.includes("undefined") ? Q = (sA = (cA = E == null ? void 0 : E.blob) == null ? void 0 : cA.split("undefined,")) == null ? void 0 : sA[1] : Q = E == null ? void 0 : E.blob;
|
|
1496
1496
|
let O = Q == null ? void 0 : Q.split(",");
|
|
1497
1497
|
if ((O == null ? void 0 : O.length) > 1) {
|
|
1498
1498
|
let gA = await (O == null ? void 0 : O.map(async (PA) => {
|
|
1499
|
-
var LA, je, Me,
|
|
1500
|
-
|
|
1499
|
+
var LA, je, Me, Ze, Te, Ye;
|
|
1500
|
+
Z = await Ee.get(PA, {
|
|
1501
1501
|
responseType: "blob",
|
|
1502
1502
|
headers: {
|
|
1503
1503
|
"Content-Type": "application/json"
|
|
@@ -1520,17 +1520,17 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1520
1520
|
}));
|
|
1521
1521
|
await Promise.all(an);
|
|
1522
1522
|
}
|
|
1523
|
-
return ((
|
|
1524
|
-
suffix: "." + ((Ye = PA == null ? void 0 : PA.split(".")) == null ? void 0 : Ye[((
|
|
1525
|
-
blob: new Blob([
|
|
1523
|
+
return ((Ze = PA == null ? void 0 : PA.split(".")) == null ? void 0 : Ze[((Me = PA == null ? void 0 : PA.split(".")) == null ? void 0 : Me.length) - 1]) !== "undefined" && B.push({
|
|
1524
|
+
suffix: "." + ((Ye = PA == null ? void 0 : PA.split(".")) == null ? void 0 : Ye[((Te = PA == null ? void 0 : PA.split(".")) == null ? void 0 : Te.length) - 1]),
|
|
1525
|
+
blob: new Blob([Z.data], {
|
|
1526
1526
|
type: "application/octet-stream;charset=UTF-8"
|
|
1527
1527
|
}),
|
|
1528
1528
|
mtlBlobs: SA
|
|
1529
|
-
}),
|
|
1529
|
+
}), Z;
|
|
1530
1530
|
}));
|
|
1531
1531
|
await Promise.all(gA);
|
|
1532
1532
|
} else if (!(Q != null && Q.includes("https://")) && !(Q != null && Q.includes("http://"))) {
|
|
1533
|
-
|
|
1533
|
+
Z = await tn({
|
|
1534
1534
|
url: Q
|
|
1535
1535
|
});
|
|
1536
1536
|
let gA = [];
|
|
@@ -1549,13 +1549,13 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1549
1549
|
}
|
|
1550
1550
|
N = {
|
|
1551
1551
|
suffix: "." + ((mA = Q == null ? void 0 : Q.split(".")) == null ? void 0 : mA[((pA = Q == null ? void 0 : Q.split(".")) == null ? void 0 : pA.length) - 1]),
|
|
1552
|
-
blob: new Blob([
|
|
1552
|
+
blob: new Blob([Z.data], {
|
|
1553
1553
|
type: "application/octet-stream;charset=UTF-8"
|
|
1554
1554
|
}),
|
|
1555
1555
|
mtlBlobs: gA
|
|
1556
1556
|
};
|
|
1557
1557
|
} else {
|
|
1558
|
-
|
|
1558
|
+
Z = await Ee.get(Q, {
|
|
1559
1559
|
responseType: "blob",
|
|
1560
1560
|
headers: {
|
|
1561
1561
|
"Content-Type": "application/json"
|
|
@@ -1563,7 +1563,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1563
1563
|
});
|
|
1564
1564
|
let gA = [];
|
|
1565
1565
|
if (((ZA = E == null ? void 0 : E.mtlBlobs) == null ? void 0 : ZA.length) > 0) {
|
|
1566
|
-
let PA = await ((
|
|
1566
|
+
let PA = await ((TA = E == null ? void 0 : E.mtlBlobs) == null ? void 0 : TA.map(async (SA) => {
|
|
1567
1567
|
let LA = await Ee.get(SA, {
|
|
1568
1568
|
responseType: "blob",
|
|
1569
1569
|
headers: {
|
|
@@ -1580,7 +1580,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1580
1580
|
}
|
|
1581
1581
|
N = {
|
|
1582
1582
|
suffix: E != null && E.suffix ? E == null ? void 0 : E.suffix : "." + ((Ae = Q == null ? void 0 : Q.split(".")) == null ? void 0 : Ae[((ae = Q == null ? void 0 : Q.split(".")) == null ? void 0 : ae.length) - 1]),
|
|
1583
|
-
blob: new Blob([
|
|
1583
|
+
blob: new Blob([Z.data], {
|
|
1584
1584
|
type: "application/octet-stream;charset=UTF-8"
|
|
1585
1585
|
}),
|
|
1586
1586
|
mtlBlobs: gA
|
|
@@ -1588,44 +1588,42 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1588
1588
|
}
|
|
1589
1589
|
N && B.push(N);
|
|
1590
1590
|
}));
|
|
1591
|
-
await Promise.all(m), (B == null ? void 0 : B.length) !== 0 && ((M =
|
|
1591
|
+
await Promise.all(m), (B == null ? void 0 : B.length) !== 0 && ((M = T.value) == null || M.loadModelByDefaultPath(B));
|
|
1592
1592
|
}
|
|
1593
1593
|
},
|
|
1594
1594
|
{ immediate: !0, deep: !0 }
|
|
1595
1595
|
);
|
|
1596
1596
|
const pe = (n) => {
|
|
1597
|
-
DA.value = !0, KA.value = n == null ? void 0 : n.map((
|
|
1597
|
+
DA.value = !0, KA.value = n == null ? void 0 : n.map((g) => {
|
|
1598
1598
|
var K;
|
|
1599
|
-
return
|
|
1599
|
+
return g.compData = (K = g.compData) == null ? void 0 : K.map((d) => {
|
|
1600
1600
|
var M;
|
|
1601
1601
|
return (d == null ? void 0 : d.key) === "formContent" && (d.contents = (M = d.contents) == null ? void 0 : M.map((B) => (B.disabled = !0, B))), d;
|
|
1602
|
-
}),
|
|
1602
|
+
}), g;
|
|
1603
1603
|
});
|
|
1604
1604
|
}, me = async () => {
|
|
1605
1605
|
await nt();
|
|
1606
|
-
},
|
|
1606
|
+
}, VA = o("数据管理"), UA = o(!1), Je = o(), Ue = o(), qA = o({
|
|
1607
1607
|
x: 0,
|
|
1608
1608
|
y: 0
|
|
1609
1609
|
}), t = () => {
|
|
1610
|
-
|
|
1610
|
+
qA.value = {
|
|
1611
1611
|
x: 0,
|
|
1612
1612
|
y: 0
|
|
1613
1613
|
};
|
|
1614
|
-
},
|
|
1614
|
+
}, s = o({
|
|
1615
1615
|
width: "20vw"
|
|
1616
1616
|
}), i = (n) => {
|
|
1617
|
-
|
|
1617
|
+
VA.value = n;
|
|
1618
1618
|
}, j = (n) => {
|
|
1619
1619
|
t(), UA.value = n;
|
|
1620
1620
|
}, G = () => {
|
|
1621
1621
|
j(!(UA != null && UA.value));
|
|
1622
|
-
}, y = RA(() => {
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
};
|
|
1628
|
-
}), J = (n) => {
|
|
1622
|
+
}, y = RA(() => ({
|
|
1623
|
+
right: `${80 - qA.value.x}px`,
|
|
1624
|
+
// transform: `translate(${resTranslateX}, ${resTranslateY})`,
|
|
1625
|
+
width: s.value.width
|
|
1626
|
+
})), J = (n) => {
|
|
1629
1627
|
w(n == null ? void 0 : n.title), R(!0), D(n);
|
|
1630
1628
|
}, S = () => {
|
|
1631
1629
|
j(!1);
|
|
@@ -1633,8 +1631,8 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1633
1631
|
Ve("managementPageVisible", UA), Ve("setManagementPageTitle", i), Ve("setManagementPageVisible", j);
|
|
1634
1632
|
let jA = 0, EA = 0;
|
|
1635
1633
|
function dA(n) {
|
|
1636
|
-
const
|
|
1637
|
-
|
|
1634
|
+
const g = EA - (n.clientX - jA);
|
|
1635
|
+
s.value.width = `${g}px`;
|
|
1638
1636
|
}
|
|
1639
1637
|
function yA() {
|
|
1640
1638
|
document.removeEventListener("mousemove", dA), document.removeEventListener("mouseup", yA);
|
|
@@ -1644,13 +1642,13 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1644
1642
|
};
|
|
1645
1643
|
let Oe = 0, ve = 0, Pe = 0, $A = 0;
|
|
1646
1644
|
function fA(n) {
|
|
1647
|
-
Oe = n.clientX, ve = n.clientY, Pe =
|
|
1645
|
+
Oe = n.clientX, ve = n.clientY, Pe = qA.value.x, $A = qA.value.y, document.addEventListener("mousemove", MA), document.addEventListener("mouseup", r);
|
|
1648
1646
|
}
|
|
1649
|
-
function
|
|
1650
|
-
|
|
1647
|
+
function MA(n) {
|
|
1648
|
+
qA.value.x = Pe + (n.clientX - Oe), qA.value.y = $A + (n.clientY - ve);
|
|
1651
1649
|
}
|
|
1652
1650
|
function r() {
|
|
1653
|
-
document.removeEventListener("mousemove",
|
|
1651
|
+
document.removeEventListener("mousemove", MA), document.removeEventListener("mouseup", r);
|
|
1654
1652
|
}
|
|
1655
1653
|
const l = o(""), w = (n) => {
|
|
1656
1654
|
l.value = n;
|
|
@@ -1663,25 +1661,25 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1663
1661
|
}, c = o(), D = (n) => {
|
|
1664
1662
|
c.value = n;
|
|
1665
1663
|
}, F = (n) => {
|
|
1666
|
-
const
|
|
1667
|
-
if (!
|
|
1664
|
+
const g = dl(n);
|
|
1665
|
+
if (!g)
|
|
1668
1666
|
return;
|
|
1669
1667
|
Xe({
|
|
1670
|
-
files: [
|
|
1668
|
+
files: [g],
|
|
1671
1669
|
data: {}
|
|
1672
1670
|
});
|
|
1673
1671
|
};
|
|
1674
1672
|
kA(se, (n) => {
|
|
1675
|
-
const { isLeaf:
|
|
1676
|
-
!
|
|
1673
|
+
const { isLeaf: g } = c.value || {};
|
|
1674
|
+
!g || !n || !n.length || F(n);
|
|
1677
1675
|
}, {
|
|
1678
1676
|
immediate: !0,
|
|
1679
1677
|
deep: !0
|
|
1680
1678
|
});
|
|
1681
|
-
const p = (n,
|
|
1679
|
+
const p = (n, g) => {
|
|
1682
1680
|
const K = n == null ? void 0 : n.label;
|
|
1683
1681
|
i(K), j(!0);
|
|
1684
|
-
const { isLeaf: d } =
|
|
1682
|
+
const { isLeaf: d } = g, M = {
|
|
1685
1683
|
...n,
|
|
1686
1684
|
isLeaf: d
|
|
1687
1685
|
};
|
|
@@ -1690,7 +1688,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1690
1688
|
rn(async () => {
|
|
1691
1689
|
tA("setLoginInfo", QA.value);
|
|
1692
1690
|
async function n() {
|
|
1693
|
-
var
|
|
1691
|
+
var g, K, d, M, B, m, E, Z, N, Q, O;
|
|
1694
1692
|
try {
|
|
1695
1693
|
let cA = function(gA, PA) {
|
|
1696
1694
|
return PA.map((SA) => gA.map((LA, je) => ({
|
|
@@ -1702,10 +1700,10 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1702
1700
|
const sA = sessionStorage.getItem("systemKey"), [IA, L] = await Promise.all([
|
|
1703
1701
|
we(kl, sA, ""),
|
|
1704
1702
|
we(xl, sA, "")
|
|
1705
|
-
]), pA = (d = (K = (
|
|
1703
|
+
]), pA = (d = (K = (g = IA == null ? void 0 : IA[0]) == null ? void 0 : g.compData) == null ? void 0 : K.find((gA) => (gA == null ? void 0 : gA.key) === "tableContents")) == null ? void 0 : d.contents, mA = (m = (B = (M = L == null ? void 0 : L[0]) == null ? void 0 : M.compData) == null ? void 0 : B.find((gA) => (gA == null ? void 0 : gA.key) === "tableContents")) == null ? void 0 : m.contents, ZA = (N = (Z = (E = L == null ? void 0 : L[0]) == null ? void 0 : E.compData) == null ? void 0 : Z.find((gA) => (gA == null ? void 0 : gA.key) === "header")) == null ? void 0 : N.contents;
|
|
1706
1704
|
console.log("555readData", ZA);
|
|
1707
|
-
let
|
|
1708
|
-
Array.isArray(pA) && Array.isArray(mA) ?
|
|
1705
|
+
let TA = [];
|
|
1706
|
+
Array.isArray(pA) && Array.isArray(mA) ? TA = [...pA, ...mA] : (TA = [], console.warn("unreadMessagesContents 或 readMessagesContents 不是数组")), x.value = cA(ZA, TA), console.log("555allReadMessages.value", x.value);
|
|
1709
1707
|
const ae = ((Q = QA == null ? void 0 : QA.value) == null ? void 0 : Q.account) || ((O = QA == null ? void 0 : QA.value) == null ? void 0 : O.收件人) || "未知", Ae = x.value.filter((gA) => {
|
|
1710
1708
|
var PA;
|
|
1711
1709
|
return ((PA = gA.find((SA) => SA.prop === "收件人")) == null ? void 0 : PA.value) === ae;
|
|
@@ -1723,21 +1721,21 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1723
1721
|
const q = () => {
|
|
1724
1722
|
var K, d;
|
|
1725
1723
|
if ($.value === "" || ((d = bA.value) == null ? void 0 : d[((K = bA.value) == null ? void 0 : K.length) - 1]) === Y) return !1;
|
|
1726
|
-
const n = sessionStorage.getItem("authority"),
|
|
1727
|
-
if (Array.isArray(
|
|
1728
|
-
const M = Array.isArray(
|
|
1724
|
+
const n = sessionStorage.getItem("authority"), g = JSON.parse(n || "");
|
|
1725
|
+
if (Array.isArray(g)) {
|
|
1726
|
+
const M = Array.isArray(g) && (g == null ? void 0 : g.filter((m) => m == null ? void 0 : m.includes($.value))), B = M == null ? void 0 : M.map((m) => {
|
|
1729
1727
|
var E;
|
|
1730
1728
|
return ((E = m == null ? void 0 : m.split("/")) == null ? void 0 : E.pop()) || "";
|
|
1731
1729
|
});
|
|
1732
1730
|
return !!(B != null && B.includes("新增") || B != null && B.includes("新建"));
|
|
1733
|
-
} else return typeof
|
|
1731
|
+
} else return typeof g == "string" && (g == null ? void 0 : g.toUpperCase()) === "SUPERADMIN";
|
|
1734
1732
|
};
|
|
1735
|
-
return (n,
|
|
1736
|
-
const K = oA("el-dialog"), d = oA("el-button"), M = oA("el-header"), B = oA("el-container"), m = oA("router-view"), E = oA("el-main"),
|
|
1733
|
+
return (n, g) => {
|
|
1734
|
+
const K = oA("el-dialog"), d = oA("el-button"), M = oA("el-header"), B = oA("el-container"), m = oA("router-view"), E = oA("el-main"), Z = Vn("loading");
|
|
1737
1735
|
return v(), X(hA, null, [
|
|
1738
1736
|
a(gn, {
|
|
1739
1737
|
visible: DA.value,
|
|
1740
|
-
onBeforeDestroy:
|
|
1738
|
+
onBeforeDestroy: g[0] || (g[0] = (N) => DA.value = !1),
|
|
1741
1739
|
fullScreen: !0
|
|
1742
1740
|
}, {
|
|
1743
1741
|
default: C(() => [
|
|
@@ -1748,7 +1746,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1748
1746
|
a(K, {
|
|
1749
1747
|
"append-to-body": "",
|
|
1750
1748
|
modelValue: iA.value,
|
|
1751
|
-
"onUpdate:modelValue":
|
|
1749
|
+
"onUpdate:modelValue": g[1] || (g[1] = (N) => iA.value = N),
|
|
1752
1750
|
style: { height: "700px", width: "1800px" }
|
|
1753
1751
|
}, {
|
|
1754
1752
|
default: C(() => [
|
|
@@ -1765,7 +1763,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1765
1763
|
id: "transparentBgButton",
|
|
1766
1764
|
onClick: A(_n)
|
|
1767
1765
|
}, {
|
|
1768
|
-
default: C(() =>
|
|
1766
|
+
default: C(() => g[5] || (g[5] = [
|
|
1769
1767
|
ne(" 返回页面 ")
|
|
1770
1768
|
])),
|
|
1771
1769
|
_: 1,
|
|
@@ -1773,7 +1771,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1773
1771
|
}, 8, ["onClick"]),
|
|
1774
1772
|
a(d, {
|
|
1775
1773
|
id: "transparentBgButton",
|
|
1776
|
-
onClick:
|
|
1774
|
+
onClick: g[2] || (g[2] = (N) => {
|
|
1777
1775
|
var Q, O;
|
|
1778
1776
|
return A(At)((O = (Q = A(I)) == null ? void 0 : Q.map((cA) => cA.value)) == null ? void 0 : O.join("/"));
|
|
1779
1777
|
})
|
|
@@ -1782,7 +1780,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1782
1780
|
a(wA, { name: "Store" })
|
|
1783
1781
|
]),
|
|
1784
1782
|
default: C(() => [
|
|
1785
|
-
|
|
1783
|
+
g[6] || (g[6] = ne(" 保存页面 "))
|
|
1786
1784
|
]),
|
|
1787
1785
|
_: 1,
|
|
1788
1786
|
__: [6]
|
|
@@ -1861,7 +1859,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1861
1859
|
key: 0,
|
|
1862
1860
|
class: "top-icon",
|
|
1863
1861
|
title: "界面修改",
|
|
1864
|
-
onClick:
|
|
1862
|
+
onClick: g[3] || (g[3] = //@ts-ignore
|
|
1865
1863
|
(...N) => A(En) && A(En)(...N))
|
|
1866
1864
|
}, [
|
|
1867
1865
|
a(wA, {
|
|
@@ -1910,7 +1908,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1910
1908
|
_: 3
|
|
1911
1909
|
})), [
|
|
1912
1910
|
[ye, A(xA) === "view"],
|
|
1913
|
-
[
|
|
1911
|
+
[Z, A(ie)]
|
|
1914
1912
|
]),
|
|
1915
1913
|
ee(u("div", {
|
|
1916
1914
|
class: "management-page-panel",
|
|
@@ -1922,7 +1920,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1922
1920
|
class: "panel-header",
|
|
1923
1921
|
onMousedown: fA
|
|
1924
1922
|
}, [
|
|
1925
|
-
u("span", null, CA(
|
|
1923
|
+
u("span", null, CA(VA.value), 1),
|
|
1926
1924
|
u("span", {
|
|
1927
1925
|
class: "close",
|
|
1928
1926
|
onClick: S
|
|
@@ -1954,13 +1952,13 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
1954
1952
|
((Q = A(bA)) == null ? void 0 : Q[((N = A(bA)) == null ? void 0 : N.length) - 1]) === A(Y) || (O = A(bA)) != null && O.includes("updateLoading") || (cA = A(bA)) != null && cA.includes("loading") ? (v(), X("div", Xl, [
|
|
1955
1953
|
a(be, {
|
|
1956
1954
|
class: "calculator-content back-content",
|
|
1957
|
-
onClickTrigger:
|
|
1955
|
+
onClickTrigger: g[4] || (g[4] = (L) => A(et)()),
|
|
1958
1956
|
modelValue: "返回"
|
|
1959
1957
|
})
|
|
1960
1958
|
])) : W("", !0),
|
|
1961
1959
|
u("div", Ol, [
|
|
1962
1960
|
re.value ? (v(), aA(m, { key: 0 })) : W("", !0),
|
|
1963
|
-
re.value ? W("", !0) : (v(!0), X(hA, { key: 1 },
|
|
1961
|
+
re.value ? W("", !0) : (v(!0), X(hA, { key: 1 }, GA((sA = A(se)) == null ? void 0 : sA.filter((L) => L.comp !== "FormTop"), (L, pA) => {
|
|
1964
1962
|
var mA;
|
|
1965
1963
|
return v(), X("div", {
|
|
1966
1964
|
class: "item-view-content",
|
|
@@ -2001,7 +1999,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2001
1999
|
])) : W("", !0)
|
|
2002
2000
|
])
|
|
2003
2001
|
])), [
|
|
2004
|
-
[
|
|
2002
|
+
[Z, A(ze)]
|
|
2005
2003
|
])
|
|
2006
2004
|
];
|
|
2007
2005
|
}),
|
|
@@ -2016,7 +2014,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2016
2014
|
]),
|
|
2017
2015
|
ee(u("div", wl, [
|
|
2018
2016
|
u("div", { class: "panel-header" }, [
|
|
2019
|
-
|
|
2017
|
+
g[7] || (g[7] = u("span", null, " 菜单树 ", -1)),
|
|
2020
2018
|
u("span", {
|
|
2021
2019
|
class: "close",
|
|
2022
2020
|
onClick: U
|
|
@@ -2036,7 +2034,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2036
2034
|
], 64);
|
|
2037
2035
|
};
|
|
2038
2036
|
}
|
|
2039
|
-
}), ml = /* @__PURE__ */ Ie(pl, [["__scopeId", "data-v-
|
|
2037
|
+
}), ml = /* @__PURE__ */ Ie(pl, [["__scopeId", "data-v-81ff9b05"]]), Jl = { class: "system-wrap" }, Sl = {
|
|
2040
2038
|
__name: "index",
|
|
2041
2039
|
props: {
|
|
2042
2040
|
windowConfig: {
|
|
@@ -2064,8 +2062,8 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2064
2062
|
setup(H, { emit: lA }) {
|
|
2065
2063
|
const e = ln(XA), x = Hn(XA), AA = vn();
|
|
2066
2064
|
o(!1);
|
|
2067
|
-
const eA = o(!0), P = H, nA = lA, Y = (
|
|
2068
|
-
nA("showChild",
|
|
2065
|
+
const eA = o(!0), P = H, nA = lA, Y = (T) => {
|
|
2066
|
+
nA("showChild", T);
|
|
2069
2067
|
}, vA = RA(() => {
|
|
2070
2068
|
switch (P == null ? void 0 : P.platform) {
|
|
2071
2069
|
case "browser":
|
|
@@ -2075,14 +2073,14 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2075
2073
|
case "three":
|
|
2076
2074
|
return Dt;
|
|
2077
2075
|
}
|
|
2078
|
-
}), I = (
|
|
2076
|
+
}), I = (T) => {
|
|
2079
2077
|
const _ = document.documentElement;
|
|
2080
|
-
|
|
2078
|
+
T == null || T.forEach((rA) => {
|
|
2081
2079
|
_.style.setProperty(rA.name, rA.value);
|
|
2082
2080
|
});
|
|
2083
2081
|
};
|
|
2084
|
-
kA(() => P.platform, (
|
|
2085
|
-
|
|
2082
|
+
kA(() => P.platform, (T, _) => {
|
|
2083
|
+
T && I(vA.value);
|
|
2086
2084
|
}, { immediate: !0 });
|
|
2087
2085
|
const iA = () => {
|
|
2088
2086
|
nA("buildContent");
|
|
@@ -2090,9 +2088,9 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2090
2088
|
return kA(
|
|
2091
2089
|
() => [P == null ? void 0 : P.content, P == null ? void 0 : P.jsonContents],
|
|
2092
2090
|
async () => {
|
|
2093
|
-
var
|
|
2091
|
+
var T, _, rA, zA;
|
|
2094
2092
|
try {
|
|
2095
|
-
if (((
|
|
2093
|
+
if (((T = P == null ? void 0 : P.jsonContents) == null ? void 0 : T.length) > 0) {
|
|
2096
2094
|
e.setOriginalData(P == null ? void 0 : P.jsonContents);
|
|
2097
2095
|
return;
|
|
2098
2096
|
}
|
|
@@ -2108,7 +2106,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2108
2106
|
AA.setImportLoading(!1);
|
|
2109
2107
|
},
|
|
2110
2108
|
{ deep: !0, immediate: !0 }
|
|
2111
|
-
), (
|
|
2109
|
+
), (T, _) => (v(), X("div", Jl, [
|
|
2112
2110
|
H.platform === "three" ? (v(), aA(ml, {
|
|
2113
2111
|
key: 0,
|
|
2114
2112
|
windowConfig: H.windowConfig,
|
|
@@ -2118,7 +2116,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2118
2116
|
platform: P == null ? void 0 : P.platform
|
|
2119
2117
|
}, {
|
|
2120
2118
|
default: C(() => [
|
|
2121
|
-
ke(
|
|
2119
|
+
ke(T.$slots, "default", {}, void 0, !0)
|
|
2122
2120
|
]),
|
|
2123
2121
|
_: 3
|
|
2124
2122
|
}, 8, ["windowConfig", "showButton", "platform"])) : (v(), aA(fl, {
|
|
@@ -2131,7 +2129,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2131
2129
|
taskContent: P.urdfContent
|
|
2132
2130
|
}, {
|
|
2133
2131
|
default: C(() => [
|
|
2134
|
-
ke(
|
|
2132
|
+
ke(T.$slots, "default", {}, void 0, !0)
|
|
2135
2133
|
]),
|
|
2136
2134
|
_: 3
|
|
2137
2135
|
}, 8, ["windowConfig", "showButton", "platform", "taskContent"]))
|
|
@@ -2146,7 +2144,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2146
2144
|
}, Wl = {
|
|
2147
2145
|
class: "drop-menu",
|
|
2148
2146
|
style: { width: "120px" }
|
|
2149
|
-
}, Ul = { class: "select-model-wrapper" }, Ml = { class: "create-project" },
|
|
2147
|
+
}, Ul = { class: "select-model-wrapper" }, Ml = { class: "create-project" }, Zl = { class: "create-project-button" }, Tl = { class: "enter-project" }, Yl = {
|
|
2150
2148
|
key: 0,
|
|
2151
2149
|
class: "enter-project-list"
|
|
2152
2150
|
}, Gl = ["onClick"], Fl = { class: "project-title" }, Vl = { class: "project-operate" }, ql = { class: "enter-project-button" }, _l = {
|
|
@@ -2185,7 +2183,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2185
2183
|
setup(H, { emit: lA }) {
|
|
2186
2184
|
const e = H, x = lA;
|
|
2187
2185
|
wt();
|
|
2188
|
-
const AA = o([]), eA = o(0), P = o([]), nA = o([]), Y = o(0), vA = ln(XA), I = vn(XA), { itemData: iA, originalData:
|
|
2186
|
+
const AA = o([]), eA = o(0), P = o([]), nA = o([]), Y = o(0), vA = ln(XA), I = vn(XA), { itemData: iA, originalData: T } = BA(vA), { activeMenuPath: _, platform: rA } = BA(I), zA = o(null), b = o(0), uA = o([]);
|
|
2189
2187
|
o("");
|
|
2190
2188
|
const OA = o(0), JA = o([]), KA = jn(), { loginUserInfo: V, systemKey: te } = BA(KA), fe = () => {
|
|
2191
2189
|
x("buildContent");
|
|
@@ -2195,7 +2193,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2195
2193
|
async () => {
|
|
2196
2194
|
let t = {};
|
|
2197
2195
|
if ((e == null ? void 0 : e.pageKey) !== "") {
|
|
2198
|
-
const
|
|
2196
|
+
const s = await we(e == null ? void 0 : e.pageKey, sessionStorage.getItem("systemKey"), ""), i = await we("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
2199
2197
|
let j = ["管长", "外径"], G = {};
|
|
2200
2198
|
i == null || i.forEach((S) => {
|
|
2201
2199
|
var jA;
|
|
@@ -2205,12 +2203,12 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2205
2203
|
j.includes(yA == null ? void 0 : yA.key) && (G[yA.key] = yA.value);
|
|
2206
2204
|
}));
|
|
2207
2205
|
}));
|
|
2208
|
-
}),
|
|
2206
|
+
}), s == null || s.forEach((S) => {
|
|
2209
2207
|
var jA, EA, dA, yA, _A, Oe;
|
|
2210
2208
|
if ((S == null ? void 0 : S.comp) === "Table") {
|
|
2211
|
-
let ve = [], Pe = (dA = (EA = (jA = S == null ? void 0 : S.compData) == null ? void 0 : jA.find((fA) => (fA == null ? void 0 : fA.key) === "header")) == null ? void 0 : EA.contents) == null ? void 0 : dA.map((fA) => fA == null ? void 0 : fA.label), $A = (Oe = (_A = (yA = S == null ? void 0 : S.compData) == null ? void 0 : yA.find((fA) => (fA == null ? void 0 : fA.key) === "tableContents")) == null ? void 0 : _A.contents) == null ? void 0 : Oe.map((fA) => (fA = fA == null ? void 0 : fA.filter((
|
|
2209
|
+
let ve = [], Pe = (dA = (EA = (jA = S == null ? void 0 : S.compData) == null ? void 0 : jA.find((fA) => (fA == null ? void 0 : fA.key) === "header")) == null ? void 0 : EA.contents) == null ? void 0 : dA.map((fA) => fA == null ? void 0 : fA.label), $A = (Oe = (_A = (yA = S == null ? void 0 : S.compData) == null ? void 0 : yA.find((fA) => (fA == null ? void 0 : fA.key) === "tableContents")) == null ? void 0 : _A.contents) == null ? void 0 : Oe.map((fA) => (fA = fA == null ? void 0 : fA.filter((MA) => !(MA != null && MA.id)), fA));
|
|
2212
2210
|
$A == null || $A.forEach((fA) => {
|
|
2213
|
-
ve.push(tt(fA, Pe == null ? void 0 : Pe.filter((
|
|
2211
|
+
ve.push(tt(fA, Pe == null ? void 0 : Pe.filter((MA) => MA !== "操作")));
|
|
2214
2212
|
}), t[S.name] = ve, t[S.name + "Content"] = S;
|
|
2215
2213
|
}
|
|
2216
2214
|
}), t.extra = G;
|
|
@@ -2237,15 +2235,15 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2237
2235
|
x("contentChange", t);
|
|
2238
2236
|
}, QA = (t) => {
|
|
2239
2237
|
var i;
|
|
2240
|
-
const
|
|
2238
|
+
const s = (i = fn(t == null ? void 0 : t.wholeValue)) == null ? void 0 : i.map((j) => {
|
|
2241
2239
|
var G;
|
|
2242
2240
|
return (j == null ? void 0 : j.comp) === "Form" && (j.compData = (G = j.compData) == null ? void 0 : G.map((y) => ((y == null ? void 0 : y.key) === "formContent" && (y.contents = yt(y == null ? void 0 : y.contents)), y))), j;
|
|
2243
2241
|
});
|
|
2244
2242
|
x("change", {
|
|
2245
|
-
originalContents:
|
|
2243
|
+
originalContents: T.value,
|
|
2246
2244
|
currentContents: t == null ? void 0 : t.wholeValue,
|
|
2247
2245
|
editContent: t == null ? void 0 : t.editValue,
|
|
2248
|
-
arrayToContents:
|
|
2246
|
+
arrayToContents: s
|
|
2249
2247
|
});
|
|
2250
2248
|
};
|
|
2251
2249
|
kA(
|
|
@@ -2255,14 +2253,14 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2255
2253
|
},
|
|
2256
2254
|
{ deep: !0, immediate: !0 }
|
|
2257
2255
|
);
|
|
2258
|
-
const
|
|
2256
|
+
const FA = () => {
|
|
2259
2257
|
zA.value !== null && zA.value.click();
|
|
2260
2258
|
}, xA = async (t) => {
|
|
2261
2259
|
I.setActiveMenuPath(""), I.setActiveTopMenuPath(""), I.setAsideMenus([]);
|
|
2262
|
-
const
|
|
2263
|
-
if (!
|
|
2264
|
-
new FileReader(), AA.value = [], P.value = [], OA.value =
|
|
2265
|
-
const i = Array.from(
|
|
2260
|
+
const s = t.target.files;
|
|
2261
|
+
if (!s) return;
|
|
2262
|
+
new FileReader(), AA.value = [], P.value = [], OA.value = s.length;
|
|
2263
|
+
const i = Array.from(s).map(async (j) => await new Promise((G) => {
|
|
2266
2264
|
const y = new FileReader();
|
|
2267
2265
|
y.onload = (J) => {
|
|
2268
2266
|
try {
|
|
@@ -2296,19 +2294,19 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2296
2294
|
const t = (tA == null ? void 0 : tA.value) || [];
|
|
2297
2295
|
if (!t.length)
|
|
2298
2296
|
return !1;
|
|
2299
|
-
const
|
|
2297
|
+
const s = t == null ? void 0 : t[0], i = s == null ? void 0 : s.name;
|
|
2300
2298
|
return !(t.length === 1 && !i);
|
|
2301
2299
|
}), ie = () => {
|
|
2302
2300
|
NA.value = !1;
|
|
2303
2301
|
}, Be = async () => {
|
|
2304
2302
|
var G, y, J;
|
|
2305
|
-
const t = (G = V == null ? void 0 : V.value) == null ? void 0 : G.account,
|
|
2303
|
+
const t = (G = V == null ? void 0 : V.value) == null ? void 0 : G.account, s = (y = V == null ? void 0 : V.value) == null ? void 0 : y.password;
|
|
2306
2304
|
if (!t)
|
|
2307
2305
|
return;
|
|
2308
2306
|
const i = await ue({
|
|
2309
2307
|
valueLikes: {
|
|
2310
2308
|
"tableData.account": t,
|
|
2311
|
-
"tableData.password":
|
|
2309
|
+
"tableData.password": s
|
|
2312
2310
|
}
|
|
2313
2311
|
});
|
|
2314
2312
|
let j = ((J = i == null ? void 0 : i.data) == null ? void 0 : J.result) || [];
|
|
@@ -2317,20 +2315,20 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2317
2315
|
return ((dA = (EA = S == null ? void 0 : S.value) == null ? void 0 : EA.tableData) == null ? void 0 : dA.account) === t;
|
|
2318
2316
|
}), j;
|
|
2319
2317
|
}, ze = async () => {
|
|
2320
|
-
const t = await Be(),
|
|
2321
|
-
tA.value =
|
|
2318
|
+
const t = await Be(), s = t == null ? void 0 : t.map((i) => i == null ? void 0 : i.key);
|
|
2319
|
+
tA.value = s;
|
|
2322
2320
|
}, We = () => {
|
|
2323
2321
|
if (!$.value.targetModel) {
|
|
2324
|
-
const
|
|
2322
|
+
const s = tA.value, i = s == null ? void 0 : s[0], j = i == null ? void 0 : i.systemKey;
|
|
2325
2323
|
$.value.targetModel = j;
|
|
2326
2324
|
}
|
|
2327
2325
|
}, bA = async () => {
|
|
2328
|
-
var
|
|
2329
|
-
(
|
|
2326
|
+
var s;
|
|
2327
|
+
(s = V == null ? void 0 : V.value) != null && s.account && (NA.value = !0, await ze(), We());
|
|
2330
2328
|
}, WA = (t) => {
|
|
2331
2329
|
sessionStorage.setItem("systemKey", t), KA.setSystemKey(t), Ut();
|
|
2332
2330
|
}, Qe = async (t) => {
|
|
2333
|
-
var
|
|
2331
|
+
var s, i, j, G, y, J, S, jA, EA;
|
|
2334
2332
|
try {
|
|
2335
2333
|
const dA = await ue({
|
|
2336
2334
|
key: {
|
|
@@ -2338,7 +2336,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2338
2336
|
layer: "superAdmin"
|
|
2339
2337
|
}
|
|
2340
2338
|
});
|
|
2341
|
-
if (((
|
|
2339
|
+
if (((s = dA == null ? void 0 : dA.data) == null ? void 0 : s.code) === 200) {
|
|
2342
2340
|
const yA = (y = (G = (j = (i = dA == null ? void 0 : dA.data) == null ? void 0 : i.result) == null ? void 0 : j[0]) == null ? void 0 : G.key) == null ? void 0 : y.systemType;
|
|
2343
2341
|
let _A = "browser";
|
|
2344
2342
|
yA === "制造系统" && (_A = "client"), yA === "三维系统" && (_A = "three"), I.setPlatform(_A), I.setPlatName(((EA = (jA = (S = (J = dA == null ? void 0 : dA.data) == null ? void 0 : J.result) == null ? void 0 : S[0]) == null ? void 0 : jA.key) == null ? void 0 : EA.name) ?? "");
|
|
@@ -2358,8 +2356,8 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2358
2356
|
ie(), WA($.value.targetModel), Qe($.value.targetModel);
|
|
2359
2357
|
}
|
|
2360
2358
|
}, xe = async () => {
|
|
2361
|
-
var
|
|
2362
|
-
(
|
|
2359
|
+
var s, i, j;
|
|
2360
|
+
(s = V == null ? void 0 : V.value) == null || s.account, (i = V == null ? void 0 : V.value) == null || i.password;
|
|
2363
2361
|
const t = await ue({
|
|
2364
2362
|
key: {
|
|
2365
2363
|
pageKey: "/user"
|
|
@@ -2381,7 +2379,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2381
2379
|
const t = await de();
|
|
2382
2380
|
if (!t)
|
|
2383
2381
|
return;
|
|
2384
|
-
const
|
|
2382
|
+
const s = t + 1, i = s.toString(), j = (y = V == null ? void 0 : V.value) == null ? void 0 : y.account, G = (J = V == null ? void 0 : V.value) == null ? void 0 : J.password;
|
|
2385
2383
|
return (S = $ == null ? void 0 : $.value) == null || S.modelName, await ot({
|
|
2386
2384
|
key: {
|
|
2387
2385
|
pageKey: "/user",
|
|
@@ -2394,35 +2392,35 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2394
2392
|
password: G
|
|
2395
2393
|
}
|
|
2396
2394
|
}
|
|
2397
|
-
}),
|
|
2398
|
-
},
|
|
2395
|
+
}), s;
|
|
2396
|
+
}, VA = async (t) => {
|
|
2399
2397
|
if (!t)
|
|
2400
2398
|
return;
|
|
2401
|
-
const
|
|
2399
|
+
const s = (t == null ? void 0 : t.key) || {}, i = {
|
|
2402
2400
|
id: t == null ? void 0 : t.id,
|
|
2403
2401
|
key: {
|
|
2404
|
-
...
|
|
2402
|
+
...s,
|
|
2405
2403
|
name: ""
|
|
2406
2404
|
}
|
|
2407
2405
|
};
|
|
2408
2406
|
await qn(i);
|
|
2409
2407
|
}, UA = async (t) => {
|
|
2410
2408
|
var i;
|
|
2411
|
-
const
|
|
2412
|
-
(
|
|
2413
|
-
ids:
|
|
2409
|
+
const s = (i = t == null ? void 0 : t.map((j) => j == null ? void 0 : j.id)) == null ? void 0 : i.filter((j) => j);
|
|
2410
|
+
(s == null ? void 0 : s.length) > 0 && await Tn({
|
|
2411
|
+
ids: s
|
|
2414
2412
|
});
|
|
2415
2413
|
}, Je = async () => {
|
|
2416
2414
|
$.value.targetModel = "", await bA();
|
|
2417
2415
|
}, Ue = async (t) => {
|
|
2418
2416
|
var j, G;
|
|
2419
2417
|
I.setImportLoading(!0);
|
|
2420
|
-
const
|
|
2418
|
+
const s = await Be().catch((y) => (I.setImportLoading(!1), oe.error("删除失败"), Promise.reject(y))), i = s == null ? void 0 : s.find((y) => {
|
|
2421
2419
|
var S;
|
|
2422
2420
|
const J = (S = y == null ? void 0 : y.key) == null ? void 0 : S.systemKey;
|
|
2423
2421
|
return t === J;
|
|
2424
2422
|
});
|
|
2425
|
-
if (i && (
|
|
2423
|
+
if (i && (s == null ? void 0 : s.length) === 1 && await VA(i).catch((y) => (I.setImportLoading(!1), oe.error("删除失败"), Promise.reject(y))), i && (s == null ? void 0 : s.length) > 1) {
|
|
2426
2424
|
const y = await ue({
|
|
2427
2425
|
key: {
|
|
2428
2426
|
systemKey: t
|
|
@@ -2438,27 +2436,27 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2438
2436
|
kA(() => te.value, (t) => {
|
|
2439
2437
|
(e == null ? void 0 : e.oldSystemKey) === "" && ($.value.targetModel = t, t || bA());
|
|
2440
2438
|
}, { deep: !0, immediate: !0 });
|
|
2441
|
-
const
|
|
2442
|
-
var
|
|
2439
|
+
const qA = async () => {
|
|
2440
|
+
var s, i, j, G;
|
|
2443
2441
|
I.setImportLoading(!0);
|
|
2444
2442
|
const t = await ue({
|
|
2445
2443
|
key: {
|
|
2446
2444
|
systemKey: sessionStorage.getItem("systemKey")
|
|
2447
2445
|
}
|
|
2448
2446
|
});
|
|
2449
|
-
if (((
|
|
2447
|
+
if (((s = t == null ? void 0 : t.data) == null ? void 0 : s.code) === 200) {
|
|
2450
2448
|
let y = (G = (j = (i = t == null ? void 0 : t.data) == null ? void 0 : i.result) == null ? void 0 : j.map((J) => {
|
|
2451
2449
|
var S;
|
|
2452
2450
|
if (((S = J == null ? void 0 : J.key) == null ? void 0 : S.layer) !== "superAdmin")
|
|
2453
2451
|
return J == null ? void 0 : J.id;
|
|
2454
2452
|
})) == null ? void 0 : G.filter((J) => J);
|
|
2455
|
-
(y == null ? void 0 : y.length) > 0 && await
|
|
2453
|
+
(y == null ? void 0 : y.length) > 0 && await Tn({
|
|
2456
2454
|
ids: y
|
|
2457
2455
|
}), I.setRawMenus([]), vA.setRefreshCurStructure(!0);
|
|
2458
2456
|
}
|
|
2459
2457
|
I.setImportLoading(!1);
|
|
2460
2458
|
};
|
|
2461
|
-
return (t,
|
|
2459
|
+
return (t, s) => {
|
|
2462
2460
|
const i = oA("svg-icon"), j = oA("el-button");
|
|
2463
2461
|
return v(), X("div", hl, [
|
|
2464
2462
|
(e == null ? void 0 : e.mode) === "edit" ? (v(), X("div", Rl, [
|
|
@@ -2501,7 +2499,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2501
2499
|
a(i, { name: "model" })
|
|
2502
2500
|
]),
|
|
2503
2501
|
default: C(() => [
|
|
2504
|
-
|
|
2502
|
+
s[0] || (s[0] = ne(" 模型 "))
|
|
2505
2503
|
]),
|
|
2506
2504
|
_: 1,
|
|
2507
2505
|
__: [0]
|
|
@@ -2511,7 +2509,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2511
2509
|
dropMenu: C(() => [
|
|
2512
2510
|
u("div", Wl, [
|
|
2513
2511
|
a(j, {
|
|
2514
|
-
onClick:
|
|
2512
|
+
onClick: FA,
|
|
2515
2513
|
style: { width: "100%", margin: "0" }
|
|
2516
2514
|
}, {
|
|
2517
2515
|
icon: C(() => [
|
|
@@ -2528,7 +2526,7 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2528
2526
|
style: { display: "none" },
|
|
2529
2527
|
multiple: ""
|
|
2530
2528
|
}, null, 32)),
|
|
2531
|
-
|
|
2529
|
+
s[1] || (s[1] = ne(" 导入模型 "))
|
|
2532
2530
|
]),
|
|
2533
2531
|
_: 1,
|
|
2534
2532
|
__: [1]
|
|
@@ -2538,20 +2536,20 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2538
2536
|
a(i, { name: "export" })
|
|
2539
2537
|
]),
|
|
2540
2538
|
default: C(() => [
|
|
2541
|
-
|
|
2539
|
+
s[2] || (s[2] = ne(" 导出模型 "))
|
|
2542
2540
|
]),
|
|
2543
2541
|
_: 1,
|
|
2544
2542
|
__: [2]
|
|
2545
2543
|
}),
|
|
2546
2544
|
a(j, {
|
|
2547
|
-
onClick:
|
|
2545
|
+
onClick: qA,
|
|
2548
2546
|
style: { width: "100%", margin: "0" }
|
|
2549
2547
|
}, {
|
|
2550
2548
|
icon: C(() => [
|
|
2551
2549
|
a(i, { name: "clear" })
|
|
2552
2550
|
]),
|
|
2553
2551
|
default: C(() => [
|
|
2554
|
-
|
|
2552
|
+
s[3] || (s[3] = ne(" 清空模型 "))
|
|
2555
2553
|
]),
|
|
2556
2554
|
_: 1,
|
|
2557
2555
|
__: [3]
|
|
@@ -2580,8 +2578,8 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2580
2578
|
return [
|
|
2581
2579
|
u("div", Ul, [
|
|
2582
2580
|
u("div", Ml, [
|
|
2583
|
-
|
|
2584
|
-
u("div",
|
|
2581
|
+
s[4] || (s[4] = u("div", { class: "create-project-title" }, " 新建项目 ", -1)),
|
|
2582
|
+
u("div", Zl, [
|
|
2585
2583
|
a(be, {
|
|
2586
2584
|
emptyColor: !0,
|
|
2587
2585
|
onClickTrigger: pe,
|
|
@@ -2590,10 +2588,10 @@ const gl = /* @__PURE__ */ Ie(dt, [["render", sl], ["__scopeId", "data-v-94d06d5
|
|
|
2590
2588
|
})
|
|
2591
2589
|
])
|
|
2592
2590
|
]),
|
|
2593
|
-
u("div",
|
|
2594
|
-
|
|
2591
|
+
u("div", Tl, [
|
|
2592
|
+
s[5] || (s[5] = u("div", { class: "enter-project-title" }, "项目列表", -1)),
|
|
2595
2593
|
(G = tA.value) != null && G.length ? (v(), X("div", Yl, [
|
|
2596
|
-
(v(!0), X(hA, null,
|
|
2594
|
+
(v(!0), X(hA, null, GA(tA.value, (J) => {
|
|
2597
2595
|
var S;
|
|
2598
2596
|
return v(), X("div", {
|
|
2599
2597
|
class: He(["project-item", {
|