ss-component-new 1.2.113 → 1.2.115
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-CxvMDUe0.js → MTLLoader-ChZw6xWv.js} +1 -1
- package/dist/{MTLLoader-DGjQiY9j.cjs → MTLLoader-Du7jscN5.cjs} +1 -1
- package/dist/{OBJLoader-qAJoaDam.js → OBJLoader-CjBxghms.js} +1 -1
- package/dist/{OBJLoader-DJpc8vUj.cjs → OBJLoader-DGv0iaIs.cjs} +1 -1
- package/dist/{OrbitControls-Y0_MwO63.cjs → OrbitControls-Bo_mBp8h.cjs} +1 -1
- package/dist/{OrbitControls-BMEUSilq.js → OrbitControls-q9rTrMaN.js} +1 -1
- package/dist/{URDFLoader-DFaB1rOB.js → URDFLoader-BbpEP04U.js} +2 -2
- package/dist/{URDFLoader-z_OD751c.cjs → URDFLoader-Vr0YcMmf.cjs} +1 -1
- package/dist/{animationData-DcdD2uXH.cjs → animationData-BCm6_zFX.cjs} +1 -1
- package/dist/{animationData-Clde34ha.js → animationData-Cu-nUwtX.js} +1 -1
- package/dist/{array-DyI9Z7da.cjs → array-Ce5HiXZM.cjs} +1 -1
- package/dist/{array-DdC5qADi.js → array-Doh7RAHg.js} +1 -1
- package/dist/{iconfont-Bi9FnKuf.cjs → iconfont-BS0A4Srp.cjs} +1 -1
- package/dist/{iconfont-BXKkx1g6.js → iconfont-RGqnbWE0.js} +2 -2
- package/dist/{index-CL-M8PGp.js → index-4CkDSXiQ.js} +10 -10
- package/dist/{index-BWdy2G65.cjs → index-4QWO0cmt.cjs} +1 -1
- package/dist/{index-CoVIQ7yB.cjs → index-B4o8Nb8o.cjs} +1 -1
- package/dist/{index-BDUgsfdc.cjs → index-B6a3sUJW.cjs} +1 -1
- package/dist/{index-OXqTOaYL.js → index-BPKtA44Y.js} +1 -1
- package/dist/{index-6hYePeg5.cjs → index-BQZhQmW4.cjs} +1 -1
- package/dist/{index-Dn7a-X3Y.js → index-BXrKm_EY.js} +2 -2
- package/dist/{index-CXPAg3zi.cjs → index-BYhjZjl9.cjs} +1 -1
- package/dist/{index-BsyhUS4V.cjs → index-BaTVlPay.cjs} +1 -1
- package/dist/{index-CH7VgZsg.js → index-BfWXnn2e.js} +5 -5
- package/dist/{index-Ddk7mQP9.cjs → index-BmToqlpI.cjs} +1 -1
- package/dist/{index-CNyI4C5D.js → index-Bp--2CgX.js} +4 -4
- package/dist/{index-BfVijxl4.js → index-C3wEQJ7-.js} +1 -1
- package/dist/{index-CWUgMjDD.cjs → index-C43tJFru.cjs} +1 -1
- package/dist/index-CEz5dP4D.cjs +1 -0
- package/dist/{index-B1DG30Df.cjs → index-CF7ZDRSw.cjs} +1 -1
- package/dist/{index-D2J4nD2U.js → index-CH_hR-6t.js} +3 -3
- package/dist/{index-D6gzqbUQ.cjs → index-CNBTC3qV.cjs} +1 -1
- package/dist/{index-C5pOxrIu.cjs → index-CbaQWEb6.cjs} +1 -1
- package/dist/{index-BUC9msP6.cjs → index-Ce85nYZO.cjs} +1 -1
- package/dist/{index-DyLovBRT.cjs → index-CgP1r9FH.cjs} +1 -1
- package/dist/{index-Ct7FxVrb.js → index-CiaZD4Lw.js} +1 -1
- package/dist/{index-Cfh6xox2.js → index-CySsnRMw.js} +1 -1
- package/dist/{index-CKtVnHqz.js → index-D2Sqmvo3.js} +1 -1
- package/dist/{index-bNwKGgV2.js → index-D5G8hyYX.js} +4 -4
- package/dist/{index-Cag9EKDi.js → index-DCIxl_gZ.js} +971 -968
- package/dist/{index-4PVKlafX.js → index-DCrLkzl5.js} +1 -1
- package/dist/{index-Md9bylWp.cjs → index-DFhskDMM.cjs} +1 -1
- package/dist/{index-BAvTpFlb.js → index-DL-N0WPL.js} +1 -1
- package/dist/{index-BxrVd7R_.js → index-DQJ7cTj4.js} +1 -1
- package/dist/{index-C6VrMmAM.cjs → index-DYY7fQSq.cjs} +1 -1
- package/dist/{index-CrLgmQwX.js → index-DcZ9F6gE.js} +516 -521
- package/dist/{index-Ddl5YPaT.js → index-DeY6ui7X.js} +7 -7
- package/dist/{index-DZ6iK-To.js → index-Dg81xC48.js} +2 -2
- package/dist/{index-B8eH4yd_.js → index-DlT4U6c7.js} +1 -1
- package/dist/{index-DvR7fcc6.cjs → index-DoQCOt2n.cjs} +1 -1
- package/dist/{index-D7uWgp_G.js → index-Dvu-D2YB.js} +1 -1
- package/dist/{index-lOzwjQZi.cjs → index-Dw9BZhKc.cjs} +1 -1
- package/dist/{index-Ce63svvK.cjs → index-NybE7ES_.cjs} +1 -1
- package/dist/{index-BGYM_yzB.js → index-QxsR9_5U.js} +1 -1
- package/dist/{index-Dw15nvpm.cjs → index-iSGUQpi1.cjs} +1 -1
- package/dist/{index-BgMxvBrj.cjs → index-kyd731ZG.cjs} +1 -1
- package/dist/{index-BZBOlP5a.js → index-ufQDKQWq.js} +3 -3
- package/dist/{index-PGBtNsFS.cjs → index-w6g6nLke.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D1CNkdop.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BlB8Er1e.js} +7 -7
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DzZjQSCB.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DM8z_38o.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DV9lk-8w.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D86KARi-.js} +10867 -10865
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D_eVz0Sp.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-vSEn_BxR.cjs} +165 -165
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Bo97w4bj.cjs → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-1DnPpHum.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Deyo5lI4.js → index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Z4fETtju.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-Duqg1WtV.js → index.vue_vue_type_style_index_1_lang-B2ZrOvVF.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_1_lang-BwsR7epS.cjs → index.vue_vue_type_style_index_1_lang-sLoccwtY.cjs} +1 -1
- package/dist/{loaderUtil-Cq8QCp9W.cjs → loaderUtil-EhcWxG87.cjs} +1 -1
- package/dist/{loaderUtil-1wRb28no.js → loaderUtil-zatghsLn.js} +1 -1
- package/dist/{main-CBFpUWMt.cjs → main-DIdvY4K2.cjs} +1 -1
- package/dist/{main-5e5sWLUD.js → main-a6a_9ryo.js} +3 -3
- 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-BbUQzHU5.cjs → threeModel-BqyUWmYY.cjs} +1 -1
- package/dist/{threeModel-BqpIaxlN.js → threeModel-C-fhCBOv.js} +4 -4
- package/dist/{threePreview-Aib1ZmEj.cjs → threePreview-4gCs8AYu.cjs} +1 -1
- package/dist/{threePreview-B-BL8PZx.js → threePreview-Bd7q7Vl_.js} +4 -4
- package/dist/{threeSceneView-CLF-6z2y.cjs → threeSceneView-ClAXcrXV.cjs} +1 -1
- package/dist/{threeSceneView-BVK89QUf.js → threeSceneView-DKDXoCXH.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-BjV_TpZd.js → threeSceneViewForCPMPIP-Bdamvfk1.js} +7 -7
- package/dist/{threeSceneViewForCPMPIP-wW_fS1HP.cjs → threeSceneViewForCPMPIP-Cm4U5hzm.cjs} +1 -1
- package/dist/{threeTrackPathView-BwlIgu4k.js → threeTrackPathView-N8b2ilJa.js} +4 -4
- package/dist/{threeTrackPathView-CjpKhUbd.cjs → threeTrackPathView-kOsdFRa8.cjs} +1 -1
- package/dist/{threeViewerHost-EljVz9SK.cjs → threeViewerHost-CL04W08y.cjs} +1 -1
- package/dist/{threeViewerHost-D3LMGTE2.js → threeViewerHost-CbpQyudr.js} +2 -2
- package/dist/{urdfTree-C1_9e3Ka.js → urdfTree-CR-e6R9V.js} +1 -1
- package/dist/{urdfTree-W9sGK4ua.cjs → urdfTree-Cl0WHFV5.cjs} +1 -1
- package/dist/{workpieceTreePanel-B5YNWinu.js → workpieceTreePanel-CiWoxido.js} +5 -5
- package/dist/{workpieceTreePanel-DrSgMdW9.cjs → workpieceTreePanel-Du-eCh1J.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-DnoDETkE.cjs +0 -1
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C, createElementVNode as
|
|
2
|
-
import { m as
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-
|
|
1
|
+
import { resolveComponent as oA, createBlock as lA, openBlock as f, withCtx as C, createElementVNode as c, toDisplayString as CA, defineComponent as ln, ref as o, watch as xA, createElementBlock as Q, Fragment as hA, renderList as FA, createCommentVNode as W, normalizeStyle as Re, createVNode as a, unref as A, resolveDynamicComponent as Le, onMounted as On, computed as RA, provide as Fe, resolveDirective as $n, withDirectives as ne, vShow as ye, createTextVNode as te, renderSlot as ke, normalizeClass as He, onUnmounted as ut, createSlots as st } from "vue";
|
|
2
|
+
import { m as jn, a as yn, b as Hn } from "./index-Bp--2CgX.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Z4fETtju.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 { p as QA, s as BA, d as ot, c as fn, u 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-BlB8Er1e.js";
|
|
6
|
+
import { p as QA, s as BA, d as ot, c as fn, u as wn, b as Ee, g as ue, e as At, E as oe, f as Gn, h as Et } from "./index-DIUrwul5.js";
|
|
7
7
|
import { a as vn, u as an } from "./index-AIq5wzuR.js";
|
|
8
8
|
import { S as bA } from "./index-BHtNKL1L.js";
|
|
9
|
-
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as
|
|
10
|
-
import { a as Ht } from "./array-
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as dn, _ as xt, a as
|
|
13
|
-
import "./index.vue_vue_type_style_index_1_lang-
|
|
9
|
+
import { a as he, s as se, b as It, c as it, r as wA, o as Je, d as Se, e as et, f as En, h as nt, i as In, j as tt, k as Bt, t as zt, l as Ge, m as Pn, n as Cn, p as Ve, q as sn, u as qe, v as _e, w as $e, x as An, y as en, z as gn, D as Qt, A as Xt, B as Ot, C as Fn, E as Vn, F as GA, G as jt, H as yt, I as qn } from "./index-4CkDSXiQ.js";
|
|
10
|
+
import { a as Ht } from "./array-Doh7RAHg.js";
|
|
11
|
+
import { u as bn, d as nn, g as we, a as ft, b as tn, o as lt, c as wt, l as bt, e as kt, f as vt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D86KARi-.js";
|
|
12
|
+
import { u as dn, _ as xt, a as Bn } from "./index-BfWXnn2e.js";
|
|
13
|
+
import "./index.vue_vue_type_style_index_1_lang-B2ZrOvVF.js";
|
|
14
14
|
import "./index-_lg-jrRI.js";
|
|
15
15
|
import { useRouter as pt } from "vue-router";
|
|
16
|
-
import mt from "./index-
|
|
17
|
-
import { C as Jt } from "./index-
|
|
18
|
-
import St from "./threeModel-
|
|
16
|
+
import mt from "./index-Dg81xC48.js";
|
|
17
|
+
import { C as Jt } from "./index-CySsnRMw.js";
|
|
18
|
+
import St from "./threeModel-C-fhCBOv.js";
|
|
19
19
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
20
|
-
import { s as rn } from "./index-
|
|
21
|
-
import { T as
|
|
22
|
-
import { s as
|
|
23
|
-
import { u as at } from "./index-
|
|
20
|
+
import { s as rn } from "./index-DQJ7cTj4.js";
|
|
21
|
+
import { T as zn, u as Lt, a as ht } from "./threeViewerHost-CbpQyudr.js";
|
|
22
|
+
import { s as Qn } from "./index-ufQDKQWq.js";
|
|
23
|
+
import { u as at } from "./index-DCIxl_gZ.js";
|
|
24
24
|
import { T as _n } from "./svgIcon-D-_fXUBL.js";
|
|
25
25
|
import { t as Rt, c as Kt, b as Dt } from "./index-CAPx0_D4.js";
|
|
26
26
|
import { v as Nt } from "./index-gvHJ-SKY.js";
|
|
27
|
-
import { f as Wt, a as Ut } from "./animationData-
|
|
27
|
+
import { f as Wt, a as Ut } from "./animationData-Cu-nUwtX.js";
|
|
28
28
|
const Mt = { class: "menu-title" };
|
|
29
|
-
function Zt(
|
|
29
|
+
function Zt(Z, jA, g, vA, AA, cA) {
|
|
30
30
|
const z = oA("ssMenu");
|
|
31
31
|
return f(), lA(z, {
|
|
32
|
-
mode:
|
|
33
|
-
menuList:
|
|
34
|
-
onClickMenu:
|
|
35
|
-
onOpenMenu:
|
|
36
|
-
onCloseMenu:
|
|
32
|
+
mode: Z.mode,
|
|
33
|
+
menuList: Z.renderMenuList,
|
|
34
|
+
onClickMenu: Z.clickMenu,
|
|
35
|
+
onOpenMenu: Z.openMenu,
|
|
36
|
+
onCloseMenu: Z.closeMenu
|
|
37
37
|
}, {
|
|
38
38
|
title: C(({ menu: sA }) => [
|
|
39
|
-
|
|
39
|
+
c("span", Mt, CA(sA.title ?? ""), 1)
|
|
40
40
|
]),
|
|
41
41
|
_: 1
|
|
42
42
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
@@ -56,8 +56,8 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
emits: ["click"],
|
|
59
|
-
setup(
|
|
60
|
-
const g = dn(QA), { chooseTitle: vA } = BA(g), AA =
|
|
59
|
+
setup(Z, { emit: jA }) {
|
|
60
|
+
const g = dn(QA), { chooseTitle: vA } = BA(g), AA = Z, cA = o([]), z = jA;
|
|
61
61
|
xA(
|
|
62
62
|
() => AA == null ? void 0 : AA.breadArray,
|
|
63
63
|
() => {
|
|
@@ -69,41 +69,41 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
69
69
|
z("click", q);
|
|
70
70
|
}, eA = (q) => {
|
|
71
71
|
let P = vA.value;
|
|
72
|
-
P = P == null ? void 0 : P.map((
|
|
72
|
+
P = P == null ? void 0 : P.map((M) => ((M == null ? void 0 : M.parentContent) === (q == null ? void 0 : q.parentContent) && (M.value = q.value), M)), g.setChooseTitle(P);
|
|
73
73
|
};
|
|
74
74
|
return (q, P) => (f(), Q("div", Yt, [
|
|
75
|
-
(f(!0), Q(hA, null,
|
|
76
|
-
var
|
|
75
|
+
(f(!0), Q(hA, null, FA(cA.value, (M, N) => {
|
|
76
|
+
var G, aA, IA, H, fA, zA;
|
|
77
77
|
return f(), Q("div", {
|
|
78
78
|
key: N,
|
|
79
79
|
class: "bread-item"
|
|
80
80
|
}, [
|
|
81
|
-
|
|
81
|
+
c("div", {
|
|
82
82
|
class: "bread-title",
|
|
83
|
-
style: Re({ opacity: ((
|
|
83
|
+
style: Re({ opacity: ((G = cA.value) == null ? void 0 : G.length) - 1 === N ? "0.7" : "1", fontWeight: ((aA = cA.value) == null ? void 0 : aA.length) - 1 === N ? 400 : 600 })
|
|
84
84
|
}, [
|
|
85
|
-
!(
|
|
85
|
+
!(M != null && M.condition) || (M == null ? void 0 : M.condition) !== "child" ? (f(), Q("div", {
|
|
86
86
|
key: 0,
|
|
87
|
-
onClick: (OA) => sA(
|
|
88
|
-
}, CA(
|
|
87
|
+
onClick: (OA) => sA(M)
|
|
88
|
+
}, CA(M.value), 9, Gt)) : (f(), lA(xt, {
|
|
89
89
|
key: 1,
|
|
90
|
-
modelValue:
|
|
91
|
-
"onUpdate:modelValue": (OA) =>
|
|
92
|
-
content:
|
|
90
|
+
modelValue: M.value,
|
|
91
|
+
"onUpdate:modelValue": (OA) => M.value = OA,
|
|
92
|
+
content: M.options ?? [],
|
|
93
93
|
clearable: !1,
|
|
94
|
-
onChange: (OA) => eA(
|
|
94
|
+
onChange: (OA) => eA(M)
|
|
95
95
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "content", "onChange"]))
|
|
96
96
|
], 4),
|
|
97
|
-
N !== cA.value.length - 1 && Array.isArray(cA.value) && ((
|
|
97
|
+
N !== cA.value.length - 1 && Array.isArray(cA.value) && ((H = (IA = cA.value) == null ? void 0 : IA[N + 1]) == null ? void 0 : H.condition) !== "child" ? (f(), Q("div", Ft, [
|
|
98
98
|
a(A(ot), { style: { width: "14px" } })
|
|
99
99
|
])) : ((zA = (fA = cA.value) == null ? void 0 : fA[N + 1]) == null ? void 0 : zA.condition) === "child" ? (f(), Q("div", Vt, P[0] || (P[0] = [
|
|
100
|
-
|
|
100
|
+
c("div", null, CA(":"), -1)
|
|
101
101
|
]))) : W("", !0)
|
|
102
102
|
]);
|
|
103
103
|
}), 128))
|
|
104
104
|
]));
|
|
105
105
|
}
|
|
106
|
-
}),
|
|
106
|
+
}), Xn = /* @__PURE__ */ Ie(qt, [["__scopeId", "data-v-cfa15216"]]), Ke = [
|
|
107
107
|
{
|
|
108
108
|
key: "型线生成",
|
|
109
109
|
value: "http://139.196.154.85:20024/api/algorithmRun/downloadFileByFileName/35326658522693/outputResources/sampling_points_20.cpt"
|
|
@@ -147,8 +147,8 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
147
147
|
componentParam: {}
|
|
148
148
|
},
|
|
149
149
|
emits: ["change", "contentChange"],
|
|
150
|
-
setup(
|
|
151
|
-
const g =
|
|
150
|
+
setup(Z, { emit: jA }) {
|
|
151
|
+
const g = Z, vA = jA, AA = o([]), cA = (sA, eA = "data") => {
|
|
152
152
|
var q;
|
|
153
153
|
vA("change", sA, eA, {
|
|
154
154
|
url: (q = g == null ? void 0 : g.componentParam) == null ? void 0 : q.routerUrl
|
|
@@ -161,16 +161,16 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
161
161
|
() => {
|
|
162
162
|
var sA, eA, q;
|
|
163
163
|
((sA = g == null ? void 0 : g.componentParam) == null ? void 0 : sA.isEdit) === !0 ? AA.value = (eA = fn(g == null ? void 0 : g.dialogItem)) == null ? void 0 : eA.map((P) => {
|
|
164
|
-
var
|
|
165
|
-
return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (
|
|
166
|
-
var
|
|
167
|
-
return (N == null ? void 0 : N.key) === "formContent" && (N.contents = (
|
|
164
|
+
var M;
|
|
165
|
+
return (P == null ? void 0 : P.comp) === "Form" && (P.compData = (M = P.compData) == null ? void 0 : M.map((N) => {
|
|
166
|
+
var G;
|
|
167
|
+
return (N == null ? void 0 : N.key) === "formContent" && (N.contents = (G = N.contents) == null ? void 0 : G.map((aA) => (aA.type = "Upload", aA))), N;
|
|
168
168
|
})), P;
|
|
169
169
|
}) : AA.value = (q = fn(g == null ? void 0 : g.dialogItem)) == null ? void 0 : q.map((P) => {
|
|
170
|
-
var
|
|
171
|
-
return (P == null ? void 0 : P.comp) === "Table" && (P.compData = (
|
|
170
|
+
var M, N;
|
|
171
|
+
return (P == null ? void 0 : P.comp) === "Table" && (P.compData = (M = P.compData) == null ? void 0 : M.filter((G) => (G == null ? void 0 : G.key) !== "rowButton" && (G == null ? void 0 : G.key) !== "extraButton"), P.compData = (N = P.compData) == null ? void 0 : N.map((G) => {
|
|
172
172
|
var aA;
|
|
173
|
-
return (
|
|
173
|
+
return (G == null ? void 0 : G.key) === "header" && (G.contents = (aA = G.contents) == null ? void 0 : aA.filter((IA) => (IA == null ? void 0 : IA.prop) !== "操作")), G;
|
|
174
174
|
})), P;
|
|
175
175
|
});
|
|
176
176
|
},
|
|
@@ -178,20 +178,20 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
178
178
|
), (sA, eA) => {
|
|
179
179
|
var q;
|
|
180
180
|
return f(), Q("div", null, [
|
|
181
|
-
(f(!0), Q(hA, null,
|
|
181
|
+
(f(!0), Q(hA, null, FA((q = AA.value) == null ? void 0 : q.filter((P) => P.comp !== "FormTop"), (P, M) => {
|
|
182
182
|
var N;
|
|
183
183
|
return f(), Q("div", {
|
|
184
184
|
class: "item-view-content",
|
|
185
|
-
key:
|
|
185
|
+
key: M
|
|
186
186
|
}, [
|
|
187
187
|
((N = P == null ? void 0 : P.comp) == null ? void 0 : N.toUpperCase()) !== "TABLE" && (P != null && P.name) ? (f(), Q("div", _t, [
|
|
188
|
-
|
|
188
|
+
c("div", $t, CA(P.name), 1)
|
|
189
189
|
])) : W("", !0),
|
|
190
190
|
(f(), lA(Le(A(he)(P.comp)), {
|
|
191
191
|
compName: P.name,
|
|
192
192
|
itemData: P == null ? void 0 : P.compData,
|
|
193
193
|
childItemData: P == null ? void 0 : P.itemChildData,
|
|
194
|
-
index: (P == null ? void 0 : P.id) ??
|
|
194
|
+
index: (P == null ? void 0 : P.id) ?? M,
|
|
195
195
|
onChange: cA,
|
|
196
196
|
onContentChange: z
|
|
197
197
|
}, null, 40, ["compName", "itemData", "childItemData", "index"]))
|
|
@@ -209,21 +209,21 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
209
209
|
toolBar: Object
|
|
210
210
|
},
|
|
211
211
|
emits: ["onExtendTaskEnd"],
|
|
212
|
-
setup(
|
|
212
|
+
setup(Z, { emit: jA }) {
|
|
213
213
|
var IA;
|
|
214
|
-
const g = vn(QA), { pageMapState: vA } = BA(g), AA = an(QA), { activeMenuPath: cA } = BA(AA), z =
|
|
215
|
-
var zA, OA, KA, _,
|
|
214
|
+
const g = vn(QA), { pageMapState: vA } = BA(g), AA = an(QA), { activeMenuPath: cA } = BA(AA), z = bn(QA), { originalPath: sA } = BA(z), eA = Z, q = jA, P = o(""), M = () => {
|
|
215
|
+
var zA, OA, KA, _, VA, NA, DA, ge, XA, fe, pA;
|
|
216
216
|
if (!cA.value) return;
|
|
217
|
-
const
|
|
218
|
-
var nA,
|
|
219
|
-
return ((le = (
|
|
220
|
-
})) == null ? void 0 :
|
|
217
|
+
const H = ((OA = (zA = cA.value) == null ? void 0 : zA.split(sA.value)) == null ? void 0 : OA[0]) + sA.value + ((KA = eA == null ? void 0 : eA.toolBar) == null ? void 0 : KA.mainKeyPropValue), fA = (DA = (NA = (VA = (_ = vA.value) == null ? void 0 : _[H]) == null ? void 0 : VA.find(($) => {
|
|
218
|
+
var nA, WA, le;
|
|
219
|
+
return ((le = (WA = (nA = $ == null ? void 0 : $.value) == null ? void 0 : nA.pageData) == null ? void 0 : WA.comp) == null ? void 0 : le.toUpperCase()) === "FORM";
|
|
220
|
+
})) == null ? void 0 : NA.value) == null ? void 0 : DA.pageData;
|
|
221
221
|
P.value = (pA = (fe = (XA = (ge = fA == null ? void 0 : fA.compData) == null ? void 0 : ge.find(($) => ($ == null ? void 0 : $.key) === "formContent")) == null ? void 0 : XA.contents) == null ? void 0 : fe.find(($) => {
|
|
222
222
|
var nA;
|
|
223
223
|
return ($ == null ? void 0 : $.prop) === ((nA = eA == null ? void 0 : eA.toolBar) == null ? void 0 : nA.prop);
|
|
224
224
|
})) == null ? void 0 : pA.value, P.value && N(Number(P.value));
|
|
225
|
-
}, N = (
|
|
226
|
-
let fA =
|
|
225
|
+
}, N = (H) => {
|
|
226
|
+
let fA = H * 60;
|
|
227
227
|
const zA = setInterval(() => {
|
|
228
228
|
if (fA <= 0)
|
|
229
229
|
clearInterval(zA), q("onExtendTaskEnd");
|
|
@@ -234,14 +234,14 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
234
234
|
}
|
|
235
235
|
}, 1e3);
|
|
236
236
|
};
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
On(() => {
|
|
238
|
+
M();
|
|
239
239
|
});
|
|
240
|
-
const
|
|
241
|
-
return (
|
|
242
|
-
|
|
240
|
+
const G = o((IA = eA == null ? void 0 : eA.toolBar) == null ? void 0 : IA.title), aA = o("");
|
|
241
|
+
return (H, fA) => (f(), Q("div", null, [
|
|
242
|
+
c("span", null, CA(G.value), 1),
|
|
243
243
|
aA.value ? (f(), Q("span", tf, ":")) : W("", !0),
|
|
244
|
-
|
|
244
|
+
c("span", null, CA(aA.value), 1)
|
|
245
245
|
]));
|
|
246
246
|
}
|
|
247
247
|
}), lf = { class: "structure-buttons" }, vf = { class: "structure-paths" }, af = { class: "client-header-user" }, cf = { class: "model-select" }, uf = { class: "model-show" }, sf = { class: "model-fill" }, gf = { class: "client-header-menu" }, rf = { class: "client-header-user" }, df = {
|
|
@@ -303,7 +303,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
303
303
|
}, el = {
|
|
304
304
|
key: 5,
|
|
305
305
|
class: "item-view-child-content"
|
|
306
|
-
},
|
|
306
|
+
}, on = "消息中心/我的消息", nl = /* @__PURE__ */ ln({
|
|
307
307
|
__name: "index",
|
|
308
308
|
props: {
|
|
309
309
|
windowConfig: {
|
|
@@ -324,17 +324,17 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
326
|
emits: ["showChild", "buildContent", "setLoginInfo"],
|
|
327
|
-
setup(
|
|
327
|
+
setup(Z, { emit: jA }) {
|
|
328
328
|
const g = (r, l) => {
|
|
329
329
|
console.log(r, l);
|
|
330
330
|
}, vA = o(), AA = o(""), cA = o(), z = o(!1), sA = o([]), eA = o([]), q = o([]), P = RA(
|
|
331
331
|
() => sA.value.filter((r) => {
|
|
332
332
|
var l;
|
|
333
|
-
return ((l = r.find((
|
|
333
|
+
return ((l = r.find((w) => w.prop === "状态")) == null ? void 0 : l.value) === "未读";
|
|
334
334
|
}).length
|
|
335
|
-
),
|
|
335
|
+
), M = RA(() => P.value > 99 ? "99+" : P.value), N = bn(QA), { originalPath: G } = BA(N), aA = G.value, IA = wn(), { loginUserInfo: H } = BA(IA), fA = o();
|
|
336
336
|
async function zA() {
|
|
337
|
-
var r, l,
|
|
337
|
+
var r, l, w, h, x, i;
|
|
338
338
|
try {
|
|
339
339
|
let R = function(d, T) {
|
|
340
340
|
return T.map((B) => d.map((p, E) => ({
|
|
@@ -343,14 +343,14 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
343
343
|
})));
|
|
344
344
|
};
|
|
345
345
|
const v = sessionStorage.getItem("systemKey"), [L] = await Promise.all([
|
|
346
|
-
we(
|
|
347
|
-
]),
|
|
348
|
-
let
|
|
349
|
-
Array.isArray(
|
|
346
|
+
we(on, v, "")
|
|
347
|
+
]), U = (w = (l = (r = L == null ? void 0 : L[0]) == null ? void 0 : r.compData) == null ? void 0 : l.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : w.contents, b = (i = (x = (h = L == null ? void 0 : L[0]) == null ? void 0 : h.compData) == null ? void 0 : x.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : i.contents;
|
|
348
|
+
let F = [], e = [], s = [], K = [];
|
|
349
|
+
Array.isArray(U) && Array.isArray(b) ? (s = U.filter(
|
|
350
350
|
(d) => d.includes("未读")
|
|
351
|
-
), K =
|
|
351
|
+
), K = U.filter(
|
|
352
352
|
(d) => d.includes("已读")
|
|
353
|
-
),
|
|
353
|
+
), F = [...s, ...K], e = [...U]) : (s = [], K = [], e = [], console.warn("messagesContents 或 messagesHeader 不是数组")), eA.value = R(b, e), sA.value = R(b, F), q.value = R(b, s);
|
|
354
354
|
} catch (R) {
|
|
355
355
|
console.error("获取消息数据失败:", R);
|
|
356
356
|
}
|
|
@@ -361,12 +361,12 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
361
361
|
r - OA < 1200 || (OA = r, zA(), console.log("获取消息中心数据成功"));
|
|
362
362
|
}, _ = async (r) => {
|
|
363
363
|
if (!r) return;
|
|
364
|
-
(async (
|
|
364
|
+
(async (w) => {
|
|
365
365
|
var x, i, R, v;
|
|
366
366
|
const h = [
|
|
367
367
|
{
|
|
368
368
|
title: "我的消息",
|
|
369
|
-
path:
|
|
369
|
+
path: on,
|
|
370
370
|
level: 1,
|
|
371
371
|
show: !0,
|
|
372
372
|
carryData: !0,
|
|
@@ -388,119 +388,114 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
388
388
|
// }
|
|
389
389
|
];
|
|
390
390
|
try {
|
|
391
|
-
const L =
|
|
392
|
-
if (!
|
|
393
|
-
console.warn("该消息没有主键",
|
|
391
|
+
const L = w.find((e) => e.prop === "状态"), U = Array.isArray(w) ? w.find((e) => e.isMainKey) : void 0;
|
|
392
|
+
if (!U) {
|
|
393
|
+
console.warn("该消息没有主键", w);
|
|
394
394
|
return;
|
|
395
395
|
}
|
|
396
|
-
qA.setAsideMenus(h), (L == null ? void 0 : L.value) === "未读" && (L.value = "已读", qA.setActiveMenuPath(
|
|
397
|
-
const
|
|
398
|
-
await bt(
|
|
396
|
+
qA.setAsideMenus(h), (L == null ? void 0 : L.value) === "未读" && (L.value = "已读", qA.setActiveMenuPath(on));
|
|
397
|
+
const b = u.value + aA + U.value, F = u.value;
|
|
398
|
+
await bt(b, b + aA + `updateLoading${((x = H.value) == null ? void 0 : x.account) || ((i = H.value) == null ? void 0 : i.账号)}`), xe.setRouteToChildPath(F), qA.setActiveMenuPath(b + aA + `updateLoading${((R = H.value) == null ? void 0 : R.account) || ((v = H.value) == null ? void 0 : v.账号)}`), qA.setActiveTopMenuPath("消息中心"), console.log("444showItems.value", se.value);
|
|
399
399
|
} catch (L) {
|
|
400
400
|
console.error("加载菜单或页面时出错:", L);
|
|
401
401
|
}
|
|
402
402
|
})(r);
|
|
403
|
-
},
|
|
403
|
+
}, VA = dn(QA), { selectTitle: NA } = BA(VA), DA = o(!1), ge = o(), XA = o(null), fe = o(), pA = o(!1), $ = at(QA), { blobUrls: nA } = BA($), WA = o(), le = o(!1), ie = o(!1), Be = o(!1), ze = o([]), De = o(!1), kA = o(null), UA = o([]), Qe = o(!1), Xe = o(!1), re = o();
|
|
404
404
|
Fe("contentRef", kA);
|
|
405
|
-
const xe = vn(QA), { isEdit: de, routeToChildPath: pe } = BA(xe), Ne = jA, qA = an(QA), { asideMenuLoading:
|
|
405
|
+
const xe = vn(QA), { isEdit: de, routeToChildPath: pe } = BA(xe), Ne = jA, qA = an(QA), { asideMenuLoading: MA, importLoading: me, activeAsideMenu: We, contentLoading: _A, platName: n, activeMenuPath: u } = BA(qA), I = Z, j = RA(() => We.value.isRouter), V = () => {
|
|
406
406
|
sessionStorage.clear(), window.location.reload();
|
|
407
|
-
},
|
|
408
|
-
var l,
|
|
409
|
-
if ((r == null ? void 0 : r.type) === "table" && (((l =
|
|
410
|
-
let
|
|
411
|
-
label:
|
|
412
|
-
value:
|
|
407
|
+
}, y = (r) => {
|
|
408
|
+
var l, w, h, x, i, R, v, L;
|
|
409
|
+
if ((r == null ? void 0 : r.type) === "table" && (((l = qn.value) == null ? void 0 : l.compData) === u.value || (w = r == null ? void 0 : r.usingRow) != null && w.find((U) => (U == null ? void 0 : U.directiveLabel) === "#isMain"))) {
|
|
410
|
+
let U = (i = r == null ? void 0 : r.row) == null ? void 0 : i[(x = (h = r == null ? void 0 : r.usingRow) == null ? void 0 : h[0]) == null ? void 0 : x.prop], b = (R = NA.value) == null ? void 0 : R.filter((e) => !(e != null && e.condition)), F = (v = r == null ? void 0 : r.firstContents) == null ? void 0 : v.map((e) => ({
|
|
411
|
+
label: e,
|
|
412
|
+
value: e
|
|
413
413
|
}));
|
|
414
|
-
|
|
415
|
-
value:
|
|
414
|
+
b.push({
|
|
415
|
+
value: U,
|
|
416
416
|
condition: "child",
|
|
417
|
-
options:
|
|
418
|
-
parentContent: (L =
|
|
419
|
-
}),
|
|
420
|
-
value: y,
|
|
421
|
-
condition: "child",
|
|
422
|
-
options: e,
|
|
423
|
-
parentContent: (Z = on.value) == null ? void 0 : Z.compData
|
|
424
|
-
}]);
|
|
417
|
+
options: F,
|
|
418
|
+
parentContent: (L = qn.value) == null ? void 0 : L.compData
|
|
419
|
+
}), VA.setSelectTitle(b);
|
|
425
420
|
}
|
|
426
421
|
}, m = async () => {
|
|
427
422
|
let r = {};
|
|
428
|
-
const l = await we("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""),
|
|
423
|
+
const l = await we("弯管仿真加工分析/仿真动画生成", sessionStorage.getItem("systemKey"), ""), w = await we("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
429
424
|
let h = ["管长", "外径"], x = {};
|
|
430
|
-
|
|
425
|
+
w == null || w.forEach((i) => {
|
|
431
426
|
var R;
|
|
432
427
|
(i == null ? void 0 : i.comp) === "Form" && ((R = i == null ? void 0 : i.compData) == null || R.forEach((v) => {
|
|
433
428
|
var L;
|
|
434
|
-
(v == null ? void 0 : v.key) === "formContent" && ((L = v == null ? void 0 : v.contents) == null || L.forEach((
|
|
435
|
-
h.includes(
|
|
429
|
+
(v == null ? void 0 : v.key) === "formContent" && ((L = v == null ? void 0 : v.contents) == null || L.forEach((U) => {
|
|
430
|
+
h.includes(U == null ? void 0 : U.key) && (x[U.key] = U.value);
|
|
436
431
|
}));
|
|
437
432
|
}));
|
|
438
433
|
}), l == null || l.forEach((i) => {
|
|
439
|
-
var R, v, L,
|
|
434
|
+
var R, v, L, U, b, F;
|
|
440
435
|
if ((i == null ? void 0 : i.comp) === "Table") {
|
|
441
|
-
let e = [],
|
|
436
|
+
let e = [], s = (L = (v = (R = i == null ? void 0 : i.compData) == null ? void 0 : R.find((d) => (d == null ? void 0 : d.key) === "header")) == null ? void 0 : v.contents) == null ? void 0 : L.map((d) => d == null ? void 0 : d.label), K = (F = (b = (U = i == null ? void 0 : i.compData) == null ? void 0 : U.find((d) => (d == null ? void 0 : d.key) === "tableContents")) == null ? void 0 : b.contents) == null ? void 0 : F.map((d) => (d = d == null ? void 0 : d.filter((T) => !(T != null && T.id)), d));
|
|
442
437
|
K == null || K.forEach((d) => {
|
|
443
438
|
e.push(
|
|
444
439
|
ft(
|
|
445
440
|
d,
|
|
446
|
-
|
|
441
|
+
s == null ? void 0 : s.filter((T) => T !== "操作")
|
|
447
442
|
)
|
|
448
443
|
);
|
|
449
444
|
}), r[i.name] = e, r[i.name + "Content"] = i;
|
|
450
445
|
}
|
|
451
446
|
}), r.extra = x, ge.value = r;
|
|
452
447
|
}, J = async () => {
|
|
453
|
-
var r, l,
|
|
448
|
+
var r, l, w, h, x, i, R;
|
|
454
449
|
if ((I == null ? void 0 : I.platform) !== "browser") {
|
|
455
|
-
if (DA.value = !0,
|
|
450
|
+
if (DA.value = !0, WA.value = (r = I == null ? void 0 : I.taskContent) == null ? void 0 : r.sceneType, UA.value = [{
|
|
456
451
|
url: (l = I == null ? void 0 : I.taskContent) == null ? void 0 : l.url,
|
|
457
|
-
extension: tn((
|
|
452
|
+
extension: tn((w = I == null ? void 0 : I.taskContent) == null ? void 0 : w.url)
|
|
458
453
|
}], fe.value) {
|
|
459
454
|
const v = fe.value;
|
|
460
455
|
let L = [];
|
|
461
456
|
if (typeof (v == null ? void 0 : v.url) == "string")
|
|
462
457
|
if ((h = v == null ? void 0 : v.url) != null && h.includes(",")) {
|
|
463
|
-
const
|
|
464
|
-
url:
|
|
465
|
-
extension: tn(
|
|
458
|
+
const b = ((x = v == null ? void 0 : v.url) == null ? void 0 : x.split(",")).map((F) => ({
|
|
459
|
+
url: F,
|
|
460
|
+
extension: tn(F)
|
|
466
461
|
}));
|
|
467
|
-
|
|
462
|
+
UA.value = b;
|
|
468
463
|
} else
|
|
469
|
-
|
|
464
|
+
UA.value = [{
|
|
470
465
|
url: v == null ? void 0 : v.url,
|
|
471
466
|
extension: tn(v == null ? void 0 : v.url)
|
|
472
467
|
}];
|
|
473
468
|
(i = XA.value) == null || i.loadModelByDefaultPath(L);
|
|
474
469
|
}
|
|
475
|
-
Qe.value = (R =
|
|
470
|
+
Qe.value = (R = UA.value) == null ? void 0 : R.every((v) => v.url.toUpperCase().includes(".URDF"));
|
|
476
471
|
}
|
|
477
472
|
}, yA = () => {
|
|
478
473
|
pA.value = !1, XA.value = null;
|
|
479
474
|
};
|
|
480
475
|
xA(
|
|
481
|
-
() =>
|
|
476
|
+
() => u.value,
|
|
482
477
|
async (r) => {
|
|
483
478
|
r && (ie.value = !0), r === "弯管仿真加工分析/仿真动画生成" ? Be.value = !0 : Be.value = !1, r === "弯管仿真加工分析/程序输出" ? De.value = !0 : De.value = !1, Ke != null && Ke.find((l) => {
|
|
484
|
-
var
|
|
485
|
-
return (l == null ? void 0 : l.key) === ((
|
|
479
|
+
var w;
|
|
480
|
+
return (l == null ? void 0 : l.key) === ((w = r == null ? void 0 : r.split("/")) == null ? void 0 : w[(r == null ? void 0 : r.split("/").length) - 1]);
|
|
486
481
|
}) ? le.value = !0 : le.value = !1;
|
|
487
482
|
},
|
|
488
483
|
{ immediate: !0 }
|
|
489
484
|
), xA(
|
|
490
485
|
() => [nA == null ? void 0 : nA.value],
|
|
491
486
|
async () => {
|
|
492
|
-
var r, l,
|
|
493
|
-
if (nA != null && nA.value && ((r = nA == null ? void 0 : nA.value) == null ? void 0 : r.length) > 0 && !le.value && !((l = se.value) != null && l.find((i) => (i == null ? void 0 : i.name) === "输入") && ((
|
|
487
|
+
var r, l, w, h, x;
|
|
488
|
+
if (nA != null && nA.value && ((r = nA == null ? void 0 : nA.value) == null ? void 0 : r.length) > 0 && !le.value && !((l = se.value) != null && l.find((i) => (i == null ? void 0 : i.name) === "输入") && ((w = se.value) != null && w.find((i) => (i == null ? void 0 : i.name) === "输出")))) {
|
|
494
489
|
pA.value = !0;
|
|
495
490
|
let i = [];
|
|
496
491
|
const R = await ((h = fn(nA == null ? void 0 : nA.value)) == null ? void 0 : h.map(async (v) => {
|
|
497
|
-
var e,
|
|
498
|
-
let L,
|
|
499
|
-
v != null && v.blob.includes("undefined") ?
|
|
500
|
-
let
|
|
501
|
-
if ((
|
|
502
|
-
let X = await (
|
|
503
|
-
var gA, iA, S, mA, JA,
|
|
492
|
+
var e, s, K, d, T, B, p, E, Y, D;
|
|
493
|
+
let L, U, b;
|
|
494
|
+
v != null && v.blob.includes("undefined") ? b = (s = (e = v == null ? void 0 : v.blob) == null ? void 0 : e.split("undefined,")) == null ? void 0 : s[1] : b = v == null ? void 0 : v.blob;
|
|
495
|
+
let F = b == null ? void 0 : b.split(",");
|
|
496
|
+
if ((F == null ? void 0 : F.length) > 1) {
|
|
497
|
+
let X = await (F == null ? void 0 : F.map(async (O) => {
|
|
498
|
+
var gA, iA, S, mA, JA, TA;
|
|
504
499
|
L = await Ee.get(O, {
|
|
505
500
|
responseType: "blob",
|
|
506
501
|
headers: {
|
|
@@ -509,7 +504,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
509
504
|
});
|
|
510
505
|
let uA = [];
|
|
511
506
|
if (((gA = v == null ? void 0 : v.mtlBlobs) == null ? void 0 : gA.length) > 0) {
|
|
512
|
-
let
|
|
507
|
+
let YA = await ((iA = v == null ? void 0 : v.mtlBlobs) == null ? void 0 : iA.map(async (ae) => {
|
|
513
508
|
let ee = await Ee.get(ae, {
|
|
514
509
|
responseType: "blob",
|
|
515
510
|
headers: {
|
|
@@ -522,10 +517,10 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
522
517
|
})
|
|
523
518
|
), ee;
|
|
524
519
|
}));
|
|
525
|
-
await Promise.all(
|
|
520
|
+
await Promise.all(YA);
|
|
526
521
|
}
|
|
527
522
|
return ((mA = O == null ? void 0 : O.split(".")) == null ? void 0 : mA[((S = O == null ? void 0 : O.split(".")) == null ? void 0 : S.length) - 1]) !== "undefined" && i.push({
|
|
528
|
-
suffix: "." + ((
|
|
523
|
+
suffix: "." + ((TA = O == null ? void 0 : O.split(".")) == null ? void 0 : TA[((JA = O == null ? void 0 : O.split(".")) == null ? void 0 : JA.length) - 1]),
|
|
529
524
|
blob: new Blob([L.data], {
|
|
530
525
|
type: "application/octet-stream;charset=UTF-8"
|
|
531
526
|
}),
|
|
@@ -533,9 +528,9 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
533
528
|
}), L;
|
|
534
529
|
}));
|
|
535
530
|
await Promise.all(X);
|
|
536
|
-
} else if (!(
|
|
531
|
+
} else if (!(b != null && b.includes("https://")) && !(b != null && b.includes("http://"))) {
|
|
537
532
|
L = await nn({
|
|
538
|
-
url:
|
|
533
|
+
url: b
|
|
539
534
|
});
|
|
540
535
|
let X = [];
|
|
541
536
|
if (((K = v == null ? void 0 : v.mtlBlobs) == null ? void 0 : K.length) > 0) {
|
|
@@ -551,15 +546,15 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
551
546
|
}));
|
|
552
547
|
await Promise.all(O);
|
|
553
548
|
}
|
|
554
|
-
|
|
555
|
-
suffix: "." + ((B =
|
|
549
|
+
U = {
|
|
550
|
+
suffix: "." + ((B = b == null ? void 0 : b.split(".")) == null ? void 0 : B[((T = b == null ? void 0 : b.split(".")) == null ? void 0 : T.length) - 1]),
|
|
556
551
|
blob: new Blob([L.data], {
|
|
557
552
|
type: "application/octet-stream;charset=UTF-8"
|
|
558
553
|
}),
|
|
559
554
|
mtlBlobs: X
|
|
560
555
|
};
|
|
561
556
|
} else {
|
|
562
|
-
L = await Ee.get(
|
|
557
|
+
L = await Ee.get(b, {
|
|
563
558
|
responseType: "blob",
|
|
564
559
|
headers: {
|
|
565
560
|
"Content-Type": "application/json"
|
|
@@ -582,15 +577,15 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
582
577
|
}));
|
|
583
578
|
await Promise.all(O);
|
|
584
579
|
}
|
|
585
|
-
|
|
586
|
-
suffix: v != null && v.suffix ? v == null ? void 0 : v.suffix : "." + ((D =
|
|
580
|
+
U = {
|
|
581
|
+
suffix: v != null && v.suffix ? v == null ? void 0 : v.suffix : "." + ((D = b == null ? void 0 : b.split(".")) == null ? void 0 : D[((Y = b == null ? void 0 : b.split(".")) == null ? void 0 : Y.length) - 1]),
|
|
587
582
|
blob: new Blob([L.data], {
|
|
588
583
|
type: "application/octet-stream;charset=UTF-8"
|
|
589
584
|
}),
|
|
590
585
|
mtlBlobs: X
|
|
591
586
|
};
|
|
592
587
|
}
|
|
593
|
-
|
|
588
|
+
U && i.push(U);
|
|
594
589
|
}));
|
|
595
590
|
await Promise.all(R), (i == null ? void 0 : i.length) !== 0 && ((x = XA.value) == null || x.loadModelByDefaultPath(i));
|
|
596
591
|
}
|
|
@@ -598,19 +593,19 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
598
593
|
{ immediate: !0, deep: !0 }
|
|
599
594
|
);
|
|
600
595
|
const EA = (r, l) => {
|
|
601
|
-
Xe.value = !0, re.value = l, (l == null ? void 0 : l.isEdit) === !0 ? ze.value = r : ze.value = r == null ? void 0 : r.map((
|
|
596
|
+
Xe.value = !0, re.value = l, (l == null ? void 0 : l.isEdit) === !0 ? ze.value = r : ze.value = r == null ? void 0 : r.map((w) => {
|
|
602
597
|
var h;
|
|
603
|
-
return
|
|
598
|
+
return w.compData = (h = w.compData) == null ? void 0 : h.map((x) => {
|
|
604
599
|
var i;
|
|
605
600
|
return (x == null ? void 0 : x.key) === "formContent" && (x.contents = (i = x.contents) == null ? void 0 : i.map((R) => (R.disabled = !0, R))), x;
|
|
606
|
-
}),
|
|
601
|
+
}), w;
|
|
607
602
|
});
|
|
608
603
|
}, dA = async () => {
|
|
609
604
|
await lt();
|
|
610
605
|
};
|
|
611
|
-
|
|
606
|
+
On(async () => {
|
|
612
607
|
var h, x, i, R;
|
|
613
|
-
Ne("setLoginInfo",
|
|
608
|
+
Ne("setLoginInfo", H.value), await zA();
|
|
614
609
|
let r = await ue({
|
|
615
610
|
key: {
|
|
616
611
|
layer: "superAdmin",
|
|
@@ -624,15 +619,15 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
624
619
|
}
|
|
625
620
|
});
|
|
626
621
|
r = [...(h = r == null ? void 0 : r.data) == null ? void 0 : h.result, ...(x = l == null ? void 0 : l.data) == null ? void 0 : x.result];
|
|
627
|
-
let
|
|
628
|
-
var L,
|
|
629
|
-
return ((
|
|
622
|
+
let w = (R = (i = r == null ? void 0 : r.find((v) => {
|
|
623
|
+
var L, U, b, F, e, s, K, d;
|
|
624
|
+
return ((U = (L = v == null ? void 0 : v.value) == null ? void 0 : L.tableData) == null ? void 0 : U.account) === (((b = H.value) == null ? void 0 : b.account) ?? ((F = H.value) == null ? void 0 : F.账号)) || ((s = (e = v == null ? void 0 : v.value) == null ? void 0 : e.tableData) == null ? void 0 : s.账号) === (((K = H.value) == null ? void 0 : K.account) ?? ((d = H.value) == null ? void 0 : d.账号));
|
|
630
625
|
})) == null ? void 0 : i.value) == null ? void 0 : R.tableData;
|
|
631
|
-
AA.value = ve.value + "/" + (
|
|
626
|
+
AA.value = ve.value + "/" + (w == null ? void 0 : w.authorityPhoto), vA.value = "first";
|
|
632
627
|
});
|
|
633
628
|
const HA = () => {
|
|
634
|
-
var
|
|
635
|
-
if (pe.value === "" || ((h =
|
|
629
|
+
var w, h;
|
|
630
|
+
if (pe.value === "" || ((h = u.value) == null ? void 0 : h[((w = u.value) == null ? void 0 : w.length) - 1]) === aA) return !1;
|
|
636
631
|
const r = sessionStorage.getItem("authority"), l = JSON.parse(r || "");
|
|
637
632
|
if (Array.isArray(l)) {
|
|
638
633
|
const x = Array.isArray(l) && (l == null ? void 0 : l.filter((R) => R == null ? void 0 : R.includes(pe.value))), i = x == null ? void 0 : x.map((R) => {
|
|
@@ -643,21 +638,21 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
643
638
|
} else return typeof l == "string" && (l == null ? void 0 : l.toUpperCase()) === "SUPERADMIN";
|
|
644
639
|
}, $A = async () => {
|
|
645
640
|
}, Oe = async () => {
|
|
646
|
-
var
|
|
641
|
+
var w, h, x;
|
|
647
642
|
z.value = !0;
|
|
648
|
-
let r = (h = (
|
|
643
|
+
let r = (h = (w = AA.value) == null ? void 0 : w.split(ve.value + "/")) == null ? void 0 : h[1];
|
|
649
644
|
const l = await nn({
|
|
650
645
|
url: r
|
|
651
646
|
// url: props.avatarUrl
|
|
652
647
|
});
|
|
653
648
|
cA.value = l == null ? void 0 : l.data, (x = fA.value) == null || x.openDialog(cA.value);
|
|
654
649
|
}, ve = RA(() => "http://222.92.178.198:62001"), Pe = async (r) => {
|
|
655
|
-
var l,
|
|
650
|
+
var l, w, h, x, i, R, v, L, U, b;
|
|
656
651
|
try {
|
|
657
|
-
const
|
|
658
|
-
if (((l =
|
|
659
|
-
AA.value = ve.value + "/" + ((h = (
|
|
660
|
-
let e = (i = (x =
|
|
652
|
+
const F = await wt(r);
|
|
653
|
+
if (((l = F == null ? void 0 : F.data) == null ? void 0 : l.code) === 200) {
|
|
654
|
+
AA.value = ve.value + "/" + ((h = (w = F.data) == null ? void 0 : w.result) == null ? void 0 : h.url);
|
|
655
|
+
let e = (i = (x = F.data) == null ? void 0 : x.result) == null ? void 0 : i.url, s = await ue({
|
|
661
656
|
key: {
|
|
662
657
|
layer: "superAdmin",
|
|
663
658
|
systemKey: sessionStorage.getItem("systemKey")
|
|
@@ -669,14 +664,14 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
669
664
|
type: "data"
|
|
670
665
|
}
|
|
671
666
|
});
|
|
672
|
-
|
|
673
|
-
let d = (L =
|
|
667
|
+
s = [...(R = s == null ? void 0 : s.data) == null ? void 0 : R.result, ...(v = K == null ? void 0 : K.data) == null ? void 0 : v.result];
|
|
668
|
+
let d = (L = s == null ? void 0 : s.find((p) => {
|
|
674
669
|
var E, Y, D, X, O, uA, gA, iA;
|
|
675
|
-
return ((Y = (E = p == null ? void 0 : p.value) == null ? void 0 : E.tableData) == null ? void 0 : Y.account) === (((D =
|
|
676
|
-
})) == null ? void 0 : L.id, B = (
|
|
670
|
+
return ((Y = (E = p == null ? void 0 : p.value) == null ? void 0 : E.tableData) == null ? void 0 : Y.account) === (((D = H.value) == null ? void 0 : D.account) ?? ((X = H.value) == null ? void 0 : X.账号)) || ((uA = (O = p == null ? void 0 : p.value) == null ? void 0 : O.tableData) == null ? void 0 : uA.账号) === (((gA = H.value) == null ? void 0 : gA.account) ?? ((iA = H.value) == null ? void 0 : iA.账号));
|
|
671
|
+
})) == null ? void 0 : L.id, B = (b = (U = s == null ? void 0 : s.find((p) => {
|
|
677
672
|
var E, Y, D, X, O, uA, gA, iA;
|
|
678
|
-
return ((Y = (E = p == null ? void 0 : p.value) == null ? void 0 : E.tableData) == null ? void 0 : Y.account) === (((D =
|
|
679
|
-
})) == null ? void 0 :
|
|
673
|
+
return ((Y = (E = p == null ? void 0 : p.value) == null ? void 0 : E.tableData) == null ? void 0 : Y.account) === (((D = H.value) == null ? void 0 : D.account) ?? ((X = H.value) == null ? void 0 : X.账号)) || ((uA = (O = p == null ? void 0 : p.value) == null ? void 0 : O.tableData) == null ? void 0 : uA.账号) === (((gA = H.value) == null ? void 0 : gA.account) ?? ((iA = H.value) == null ? void 0 : iA.账号));
|
|
674
|
+
})) == null ? void 0 : U.value) == null ? void 0 : b.tableData;
|
|
680
675
|
B.authorityPhoto = e, await At({
|
|
681
676
|
id: d,
|
|
682
677
|
value: {
|
|
@@ -684,18 +679,18 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
684
679
|
}
|
|
685
680
|
});
|
|
686
681
|
}
|
|
687
|
-
} catch (
|
|
688
|
-
oe.error(
|
|
682
|
+
} catch (F) {
|
|
683
|
+
oe.error(F);
|
|
689
684
|
}
|
|
690
685
|
}, Ae = RA(() => It(wA.value, it.value)), tA = RA(() => {
|
|
691
|
-
var r, l,
|
|
692
|
-
return ((r = wA.value) == null ? void 0 : r.length) > 0 && ((l = wA.value) != null && l.every((x) => x == null ? void 0 : x.layout)) ? (h = (
|
|
693
|
-
}),
|
|
694
|
-
var r, l,
|
|
695
|
-
return ((r = wA.value) == null ? void 0 : r.length) > 0 && (tA == null ? void 0 : tA.value) === "horizontal" ? (
|
|
686
|
+
var r, l, w, h;
|
|
687
|
+
return ((r = wA.value) == null ? void 0 : r.length) > 0 && ((l = wA.value) != null && l.every((x) => x == null ? void 0 : x.layout)) ? (h = (w = wA.value) == null ? void 0 : w[0]) == null ? void 0 : h.layout : "vertical";
|
|
688
|
+
}), ZA = RA(() => {
|
|
689
|
+
var r, l, w;
|
|
690
|
+
return ((r = wA.value) == null ? void 0 : r.length) > 0 && (tA == null ? void 0 : tA.value) === "horizontal" ? (w = (l = wA.value) == null ? void 0 : l[0]) == null ? void 0 : w.name : "";
|
|
696
691
|
});
|
|
697
692
|
return (r, l) => {
|
|
698
|
-
const
|
|
693
|
+
const w = oA("el-dialog"), h = oA("el-button"), x = oA("el-header"), i = oA("el-splitter-panel"), R = oA("el-splitter"), v = oA("el-container"), L = oA("el-tab-pane"), U = oA("el-tabs"), b = oA("el-aside"), F = oA("el-image"), e = oA("router-view"), s = oA("el-step"), K = oA("el-steps"), d = oA("el-main"), T = $n("loading");
|
|
699
694
|
return f(), Q(hA, null, [
|
|
700
695
|
ne(a(Jt, {
|
|
701
696
|
ref_key: "cropperDialogRef",
|
|
@@ -721,16 +716,16 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
721
716
|
]),
|
|
722
717
|
_: 1
|
|
723
718
|
}, 8, ["visible"]),
|
|
724
|
-
a(
|
|
719
|
+
a(w, {
|
|
725
720
|
"append-to-body": "",
|
|
726
721
|
modelValue: DA.value,
|
|
727
722
|
"onUpdate:modelValue": l[1] || (l[1] = (B) => DA.value = B),
|
|
728
723
|
style: { height: "700px", width: "1800px" }
|
|
729
724
|
}, {
|
|
730
725
|
default: C(() => [
|
|
731
|
-
a(
|
|
732
|
-
files:
|
|
733
|
-
componentType:
|
|
726
|
+
a(zn, {
|
|
727
|
+
files: UA.value,
|
|
728
|
+
componentType: WA.value,
|
|
734
729
|
onGetAnimationData: m
|
|
735
730
|
}, null, 8, ["files", "componentType"])
|
|
736
731
|
]),
|
|
@@ -740,7 +735,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
740
735
|
default: C(() => [
|
|
741
736
|
a(x, { class: "client-structure-header" }, {
|
|
742
737
|
default: C(() => [
|
|
743
|
-
|
|
738
|
+
c("div", lf, [
|
|
744
739
|
a(h, {
|
|
745
740
|
id: "transparentBgButton",
|
|
746
741
|
onClick: A(et)
|
|
@@ -755,18 +750,18 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
755
750
|
__: [7]
|
|
756
751
|
}, 8, ["onClick"])
|
|
757
752
|
]),
|
|
758
|
-
|
|
759
|
-
a(
|
|
760
|
-
breadArray: A(
|
|
761
|
-
onClick: A(
|
|
753
|
+
c("div", vf, [
|
|
754
|
+
a(Xn, {
|
|
755
|
+
breadArray: A(NA),
|
|
756
|
+
onClick: A(En)
|
|
762
757
|
}, null, 8, ["breadArray", "onClick"])
|
|
763
758
|
]),
|
|
764
|
-
|
|
759
|
+
c("div", af, [
|
|
765
760
|
a(h, {
|
|
766
761
|
id: "themeButton",
|
|
767
762
|
onClick: l[2] || (l[2] = (B) => {
|
|
768
763
|
var p, E;
|
|
769
|
-
return A(nt)((E = (p = A(
|
|
764
|
+
return A(nt)((E = (p = A(NA)) == null ? void 0 : p.map((Y) => Y.value)) == null ? void 0 : E.join("/"));
|
|
770
765
|
})
|
|
771
766
|
}, {
|
|
772
767
|
icon: C(() => [
|
|
@@ -808,8 +803,8 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
808
803
|
})
|
|
809
804
|
]),
|
|
810
805
|
default: C(() => [
|
|
811
|
-
|
|
812
|
-
a(
|
|
806
|
+
c("div", cf, [
|
|
807
|
+
a(jn)
|
|
813
808
|
])
|
|
814
809
|
]),
|
|
815
810
|
_: 1
|
|
@@ -831,8 +826,8 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
831
826
|
})
|
|
832
827
|
]),
|
|
833
828
|
default: C(() => [
|
|
834
|
-
|
|
835
|
-
a(
|
|
829
|
+
c("div", uf, [
|
|
830
|
+
a(yn)
|
|
836
831
|
])
|
|
837
832
|
]),
|
|
838
833
|
_: 1
|
|
@@ -843,8 +838,8 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
843
838
|
collapsible: !0
|
|
844
839
|
}, {
|
|
845
840
|
default: C(() => [
|
|
846
|
-
|
|
847
|
-
a(
|
|
841
|
+
c("div", sf, [
|
|
842
|
+
a(Hn)
|
|
848
843
|
])
|
|
849
844
|
]),
|
|
850
845
|
_: 1
|
|
@@ -867,18 +862,18 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
867
862
|
default: C(() => [
|
|
868
863
|
a(x, { class: "client-header" }, {
|
|
869
864
|
default: C(() => [
|
|
870
|
-
|
|
865
|
+
c("div", {
|
|
871
866
|
class: "client-header-logo",
|
|
872
867
|
onClick: J
|
|
873
868
|
}, CA(A(n) === "" ? "ISIP" : A(n)), 1),
|
|
874
|
-
|
|
869
|
+
c("div", gf, [
|
|
875
870
|
a(Tt, { mode: "horizontal" })
|
|
876
871
|
]),
|
|
877
|
-
|
|
872
|
+
c("div", rf, [
|
|
878
873
|
I != null && I.showButton && A(de) === "view" ? (f(), lA(h, {
|
|
879
874
|
key: 0,
|
|
880
875
|
class: "system-default-button",
|
|
881
|
-
onClick: A(
|
|
876
|
+
onClick: A(In)
|
|
882
877
|
}, {
|
|
883
878
|
icon: C(() => [
|
|
884
879
|
a(bA, { name: "write" })
|
|
@@ -890,9 +885,9 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
890
885
|
__: [9]
|
|
891
886
|
}, 8, ["onClick"])) : W("", !0),
|
|
892
887
|
ke(r.$slots, "default", {}, void 0, !0),
|
|
893
|
-
a(
|
|
888
|
+
a(Bn, null, {
|
|
894
889
|
dropTitle: C(() => [
|
|
895
|
-
|
|
890
|
+
c("div", {
|
|
896
891
|
class: "icon-wrapper",
|
|
897
892
|
onMouseenter: KA
|
|
898
893
|
}, [
|
|
@@ -901,7 +896,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
901
896
|
], 32)
|
|
902
897
|
]),
|
|
903
898
|
dropMenu: C(() => [
|
|
904
|
-
a(
|
|
899
|
+
a(U, {
|
|
905
900
|
modelValue: vA.value,
|
|
906
901
|
"onUpdate:modelValue": l[3] || (l[3] = (B) => vA.value = B),
|
|
907
902
|
class: "drop-menu1 message-dropdown",
|
|
@@ -913,26 +908,26 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
913
908
|
name: "first"
|
|
914
909
|
}, {
|
|
915
910
|
label: C(() => [
|
|
916
|
-
|
|
917
|
-
l[10] || (l[10] =
|
|
918
|
-
P.value > 0 ? (f(), Q("span", Cf, CA(
|
|
911
|
+
c("div", Pf, [
|
|
912
|
+
l[10] || (l[10] = c("span", null, "我的消息", -1)),
|
|
913
|
+
P.value > 0 ? (f(), Q("span", Cf, CA(M.value), 1)) : W("", !0)
|
|
919
914
|
])
|
|
920
915
|
]),
|
|
921
916
|
default: C(() => [
|
|
922
|
-
|
|
923
|
-
(f(!0), Q(hA, null,
|
|
917
|
+
c("div", of, [
|
|
918
|
+
(f(!0), Q(hA, null, FA(eA.value, (B, p) => {
|
|
924
919
|
var E, Y, D, X;
|
|
925
920
|
return f(), Q("div", {
|
|
926
921
|
class: "message-item",
|
|
927
922
|
key: p,
|
|
928
923
|
onClick: (O) => _(B)
|
|
929
924
|
}, [
|
|
930
|
-
|
|
925
|
+
c("div", If, [
|
|
931
926
|
((E = B.find((O) => O.prop === "状态")) == null ? void 0 : E.value) === "未读" ? (f(), Q("span", Bf, "[未读]")) : (f(), Q("span", zf, "[已读]")),
|
|
932
|
-
|
|
933
|
-
|
|
927
|
+
c("div", Qf, CA((Y = B.find((O) => O.prop === "消息类别")) == null ? void 0 : Y.value), 1),
|
|
928
|
+
c("div", Xf, CA((D = B.find((O) => O.prop === "发送时间")) == null ? void 0 : D.value), 1)
|
|
934
929
|
]),
|
|
935
|
-
|
|
930
|
+
c("div", Of, CA((X = B.find((O) => O.prop === "内容")) == null ? void 0 : X.value), 1)
|
|
936
931
|
], 8, Ef);
|
|
937
932
|
}), 128)),
|
|
938
933
|
eA.value.length === 0 ? (f(), Q("div", jf, "暂无消息")) : W("", !0)
|
|
@@ -945,25 +940,25 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
945
940
|
name: "second"
|
|
946
941
|
}, {
|
|
947
942
|
label: C(() => l[11] || (l[11] = [
|
|
948
|
-
|
|
949
|
-
|
|
943
|
+
c("div", { class: "message-tab-label" }, [
|
|
944
|
+
c("span", null, "未读消息")
|
|
950
945
|
], -1)
|
|
951
946
|
])),
|
|
952
947
|
default: C(() => [
|
|
953
|
-
|
|
954
|
-
(f(!0), Q(hA, null,
|
|
948
|
+
c("div", yf, [
|
|
949
|
+
(f(!0), Q(hA, null, FA(q.value, (B, p) => {
|
|
955
950
|
var E, Y, D, X;
|
|
956
951
|
return f(), Q("div", {
|
|
957
952
|
class: "message-item",
|
|
958
953
|
key: p,
|
|
959
954
|
onClick: (O) => _(B)
|
|
960
955
|
}, [
|
|
961
|
-
|
|
956
|
+
c("div", wf, [
|
|
962
957
|
((E = B.find((O) => O.prop === "状态")) == null ? void 0 : E.value) === "未读" ? (f(), Q("span", bf, "[未读]")) : (f(), Q("span", kf, "[已读]")),
|
|
963
|
-
|
|
964
|
-
|
|
958
|
+
c("div", xf, CA((Y = B.find((O) => O.prop === "消息类别")) == null ? void 0 : Y.value), 1),
|
|
959
|
+
c("div", pf, CA((D = B.find((O) => O.prop === "发送时间")) == null ? void 0 : D.value), 1)
|
|
965
960
|
]),
|
|
966
|
-
|
|
961
|
+
c("div", mf, CA((X = B.find((O) => O.prop === "内容")) == null ? void 0 : X.value), 1)
|
|
967
962
|
], 8, Hf);
|
|
968
963
|
}), 128)),
|
|
969
964
|
q.value.length === 0 ? (f(), Q("div", Jf, "暂无消息")) : W("", !0)
|
|
@@ -977,58 +972,58 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
977
972
|
]),
|
|
978
973
|
_: 1
|
|
979
974
|
}),
|
|
980
|
-
a(
|
|
975
|
+
a(Bn, null, {
|
|
981
976
|
dropTitle: C(() => [
|
|
982
|
-
a(
|
|
977
|
+
a(Qn, {
|
|
983
978
|
size: 35,
|
|
984
979
|
disabled: !0,
|
|
985
|
-
userInfo: A(
|
|
980
|
+
userInfo: A(H),
|
|
986
981
|
clickStop: !1
|
|
987
982
|
}, null, 8, ["userInfo"])
|
|
988
983
|
]),
|
|
989
984
|
dropMenu: C(() => {
|
|
990
985
|
var B, p, E, Y, D, X;
|
|
991
986
|
return [
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
a(
|
|
987
|
+
c("div", Sf, [
|
|
988
|
+
c("div", Lf, [
|
|
989
|
+
a(Qn, {
|
|
995
990
|
size: 35,
|
|
996
991
|
disabled: !0,
|
|
997
|
-
userInfo: A(
|
|
992
|
+
userInfo: A(H)
|
|
998
993
|
}, null, 8, ["userInfo"]),
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
994
|
+
c("div", hf, [
|
|
995
|
+
c("div", null, [
|
|
996
|
+
c("span", null, CA(((B = A(H)) == null ? void 0 : B.account) || ((p = A(H)) == null ? void 0 : p.账号) || "未知"), 1),
|
|
997
|
+
c("span", null, CA(((Y = (E = A(H)) == null ? void 0 : E.layer) == null ? void 0 : Y.toUpperCase()) === "SUPERADMIN" ? "超级管理员" : ((D = A(H)) == null ? void 0 : D.角色名称) ?? "未知"), 1)
|
|
1003
998
|
]),
|
|
1004
|
-
|
|
999
|
+
c("div", null, CA(((X = A(H)) == null ? void 0 : X.工号) || "未知"), 1)
|
|
1005
1000
|
])
|
|
1006
1001
|
]),
|
|
1007
|
-
|
|
1008
|
-
|
|
1002
|
+
c("div", Rf, [
|
|
1003
|
+
c("div", { onClick: $A }, [
|
|
1009
1004
|
a(bA, {
|
|
1010
1005
|
name: "personal",
|
|
1011
1006
|
style: { width: "15px", height: "15px" }
|
|
1012
1007
|
}),
|
|
1013
|
-
l[12] || (l[12] =
|
|
1008
|
+
l[12] || (l[12] = c("span", null, "个人主页", -1))
|
|
1014
1009
|
]),
|
|
1015
|
-
|
|
1010
|
+
c("div", null, [
|
|
1016
1011
|
a(bA, {
|
|
1017
1012
|
name: "message",
|
|
1018
1013
|
style: { width: "15px", height: "15px" }
|
|
1019
1014
|
}),
|
|
1020
|
-
l[13] || (l[13] =
|
|
1015
|
+
l[13] || (l[13] = c("span", null, "消息中心", -1))
|
|
1021
1016
|
]),
|
|
1022
|
-
|
|
1017
|
+
c("div", { onClick: Oe }, [
|
|
1023
1018
|
a(bA, {
|
|
1024
1019
|
name: "人像",
|
|
1025
1020
|
style: { width: "15px", height: "15px" }
|
|
1026
1021
|
}),
|
|
1027
|
-
l[14] || (l[14] =
|
|
1022
|
+
l[14] || (l[14] = c("span", null, "更换照片", -1))
|
|
1028
1023
|
])
|
|
1029
1024
|
]),
|
|
1030
|
-
|
|
1031
|
-
|
|
1025
|
+
c("div", Kf, [
|
|
1026
|
+
c("div", null, [
|
|
1032
1027
|
a(bA, {
|
|
1033
1028
|
name: "exit",
|
|
1034
1029
|
style: { width: "15px", height: "15px", color: "#eb503d" }
|
|
@@ -1056,11 +1051,11 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1056
1051
|
default: C(() => [
|
|
1057
1052
|
a(d, { class: "client-main" }, {
|
|
1058
1053
|
default: C(() => {
|
|
1059
|
-
var B, p, E, Y, D, X, O, uA, gA, iA, S, mA, JA,
|
|
1054
|
+
var B, p, E, Y, D, X, O, uA, gA, iA, S, mA, JA, TA, YA, ae, ee, rA, PA, SA, LA, je, Ue, Me, Ze, Te, cn, un, Ye, kn, xn;
|
|
1060
1055
|
return [
|
|
1061
|
-
ne((f(), lA(
|
|
1056
|
+
ne((f(), lA(b, {
|
|
1062
1057
|
class: "client-aside",
|
|
1063
|
-
style: Re({ backgroundImage:
|
|
1058
|
+
style: Re({ backgroundImage: Z.platform === "client" ? `url(${A(ef)})` : `url(${A(nf)})` }),
|
|
1064
1059
|
"element-loading-text": "正在加载数据...",
|
|
1065
1060
|
width: "auto"
|
|
1066
1061
|
}, {
|
|
@@ -1069,13 +1064,13 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1069
1064
|
]),
|
|
1070
1065
|
_: 1
|
|
1071
1066
|
}, 8, ["style"])), [
|
|
1072
|
-
[T, A(
|
|
1067
|
+
[T, A(MA)]
|
|
1073
1068
|
]),
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
a(
|
|
1077
|
-
breadArray: A(
|
|
1078
|
-
onClick: A(
|
|
1069
|
+
c("div", Df, [
|
|
1070
|
+
c("div", Nf, [
|
|
1071
|
+
a(Xn, {
|
|
1072
|
+
breadArray: A(NA),
|
|
1073
|
+
onClick: A(En)
|
|
1079
1074
|
}, null, 8, ["breadArray", "onClick"])
|
|
1080
1075
|
]),
|
|
1081
1076
|
ne((f(), Q("div", {
|
|
@@ -1084,27 +1079,27 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1084
1079
|
ref: kA,
|
|
1085
1080
|
"element-loading-text": "正在加载页面数据..."
|
|
1086
1081
|
}, [
|
|
1087
|
-
((p = A(
|
|
1082
|
+
((p = A(u)) == null ? void 0 : p[((B = A(u)) == null ? void 0 : B.length) - 1]) === A(aA) || (E = A(u)) != null && E.includes("updateLoading") || (Y = A(u)) != null && Y.includes("loading") ? (f(), Q("div", Wf, [
|
|
1088
1083
|
a(be, {
|
|
1089
1084
|
class: "calculator-content back-content",
|
|
1090
1085
|
onClickTrigger: l[4] || (l[4] = (t) => A(tt)()),
|
|
1091
1086
|
modelValue: "返回"
|
|
1092
1087
|
}),
|
|
1093
|
-
|
|
1088
|
+
c("div", Uf, [
|
|
1094
1089
|
a(ff, {
|
|
1095
1090
|
toolBar: A(zt),
|
|
1096
1091
|
onOnExtendTaskEnd: A(Bt)
|
|
1097
1092
|
}, null, 8, ["toolBar", "onOnExtendTaskEnd"])
|
|
1098
1093
|
])
|
|
1099
1094
|
])) : W("", !0),
|
|
1100
|
-
(D = A(
|
|
1101
|
-
a(
|
|
1095
|
+
(D = A(u)) != null && D.includes("首页") ? (f(), Q("div", Mf, [
|
|
1096
|
+
a(F, {
|
|
1102
1097
|
src: A(Af),
|
|
1103
1098
|
fit: "contain"
|
|
1104
1099
|
}, null, 8, ["src"])
|
|
1105
1100
|
])) : (f(), Q("div", Zf, [
|
|
1106
1101
|
j.value ? (f(), lA(e, { key: 0 })) : (f(), Q("div", Tf, [
|
|
1107
|
-
!A(Ge) && tA.value === "vertical" && (((X = A(Pn)) == null ? void 0 : X.length) === 0 || !A(Pn)) ? (f(!0), Q(hA, { key: 0 },
|
|
1102
|
+
!A(Ge) && tA.value === "vertical" && (((X = A(Pn)) == null ? void 0 : X.length) === 0 || !A(Pn)) ? (f(!0), Q(hA, { key: 0 }, FA((O = A(wA)) == null ? void 0 : O.filter((t) => t.comp !== "FormTop"), (t, k) => {
|
|
1108
1103
|
var ce, Ce;
|
|
1109
1104
|
return f(), Q("div", {
|
|
1110
1105
|
class: He((ce = A(Cn)) != null && ce.includes(t == null ? void 0 : t.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
@@ -1112,13 +1107,13 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1112
1107
|
style: Re({ display: (t == null ? void 0 : t.isShow) === !1 ? "none" : "flex" })
|
|
1113
1108
|
}, [
|
|
1114
1109
|
((Ce = t == null ? void 0 : t.comp) == null ? void 0 : Ce.toUpperCase()) !== "TABLE" && t.name ? (f(), Q("div", Yf, [
|
|
1115
|
-
|
|
1110
|
+
c("div", Gf, CA(t.name), 1)
|
|
1116
1111
|
])) : W("", !0),
|
|
1117
1112
|
A(Ve) ? (f(), lA(Le(A(he)(t.comp)), {
|
|
1118
1113
|
compNames: A(gn),
|
|
1119
1114
|
compName: t.name,
|
|
1120
1115
|
cacheNewData: A(en),
|
|
1121
|
-
isDevMode:
|
|
1116
|
+
isDevMode: Z.showButton,
|
|
1122
1117
|
itemData: t == null ? void 0 : t.compData,
|
|
1123
1118
|
childItemData: t == null ? void 0 : t.itemChildData,
|
|
1124
1119
|
key: A(An),
|
|
@@ -1131,7 +1126,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1131
1126
|
},
|
|
1132
1127
|
onContentChange: A(Je),
|
|
1133
1128
|
onPageChange: A($e),
|
|
1134
|
-
onRowClick:
|
|
1129
|
+
onRowClick: y,
|
|
1135
1130
|
onRouteUrl: EA,
|
|
1136
1131
|
parentTableId: t == null ? void 0 : t.tableId,
|
|
1137
1132
|
allMapContents: A(_e),
|
|
@@ -1153,7 +1148,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1153
1148
|
"row-height": A(Xt)
|
|
1154
1149
|
}, {
|
|
1155
1150
|
default: C(() => [
|
|
1156
|
-
(f(!0), Q(hA, null,
|
|
1151
|
+
(f(!0), Q(hA, null, FA(Ae.value, (t, k) => {
|
|
1157
1152
|
var ce, Ce;
|
|
1158
1153
|
return f(), lA(A(Ot), {
|
|
1159
1154
|
key: t.i,
|
|
@@ -1163,46 +1158,46 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1163
1158
|
"max-h": t.maxH,
|
|
1164
1159
|
"min-w": t.minW,
|
|
1165
1160
|
w: t.w,
|
|
1166
|
-
h: A(
|
|
1161
|
+
h: A(Fn)((ce = t == null ? void 0 : t.component) == null ? void 0 : ce.comp) ? 0 : t.h,
|
|
1167
1162
|
i: t.i,
|
|
1168
|
-
class: He(A(
|
|
1163
|
+
class: He(A(Fn)((Ce = t == null ? void 0 : t.component) == null ? void 0 : Ce.comp) ? "grid-method-button" : "")
|
|
1169
1164
|
}, {
|
|
1170
1165
|
default: C(() => {
|
|
1171
|
-
var mn, Jn, Sn, Ln, hn, Rn, Kn, Dn, Nn, Wn, Un, Mn, Zn, Tn, Yn
|
|
1166
|
+
var pn, mn, Jn, Sn, Ln, hn, Rn, Kn, Dn, Nn, Wn, Un, Mn, Zn, Tn, Yn;
|
|
1172
1167
|
return [
|
|
1173
|
-
|
|
1174
|
-
class: He((
|
|
1168
|
+
c("div", {
|
|
1169
|
+
class: He((mn = A(Cn)) != null && mn.includes((pn = t == null ? void 0 : t.component) == null ? void 0 : pn.id) ? "item-view-content affix-content" : "item-view-content")
|
|
1175
1170
|
}, [
|
|
1176
|
-
((
|
|
1177
|
-
|
|
1171
|
+
((Sn = (Jn = t == null ? void 0 : t.component) == null ? void 0 : Jn.comp) == null ? void 0 : Sn.toUpperCase()) !== "TABLE" && ((Ln = t == null ? void 0 : t.component) != null && Ln.name) ? (f(), Q("div", Ff, [
|
|
1172
|
+
c("div", Vf, CA((hn = t == null ? void 0 : t.component) == null ? void 0 : hn.name), 1)
|
|
1178
1173
|
])) : W("", !0),
|
|
1179
|
-
A(Ve) ? (f(), lA(Le(A(he)((
|
|
1174
|
+
A(Ve) ? (f(), lA(Le(A(he)((Rn = t == null ? void 0 : t.component) == null ? void 0 : Rn.comp)), {
|
|
1180
1175
|
pageLayout: tA.value,
|
|
1181
1176
|
config: {
|
|
1182
|
-
showIndex: (
|
|
1183
|
-
allowMove: (
|
|
1184
|
-
viewport: (
|
|
1177
|
+
showIndex: (Kn = A(wA)[k]) == null ? void 0 : Kn.showIndex,
|
|
1178
|
+
allowMove: (Dn = A(wA)[k]) == null ? void 0 : Dn.allowMove,
|
|
1179
|
+
viewport: (Nn = A(wA)[k]) == null ? void 0 : Nn.viewport
|
|
1185
1180
|
},
|
|
1186
|
-
compName: (
|
|
1181
|
+
compName: (Wn = t == null ? void 0 : t.component) == null ? void 0 : Wn.name,
|
|
1187
1182
|
compNames: A(gn),
|
|
1188
|
-
isDevMode:
|
|
1189
|
-
itemData: (
|
|
1190
|
-
childItemData: (
|
|
1183
|
+
isDevMode: Z.showButton,
|
|
1184
|
+
itemData: (Un = A(wA)[k]) == null ? void 0 : Un.compData,
|
|
1185
|
+
childItemData: (Mn = A(wA)[k]) == null ? void 0 : Mn.itemChildData,
|
|
1191
1186
|
key: A(An),
|
|
1192
1187
|
onChange: A(Se),
|
|
1193
|
-
index: ((
|
|
1188
|
+
index: ((Zn = A(wA)[k]) == null ? void 0 : Zn.id) ?? k,
|
|
1194
1189
|
onContentChange: A(Je),
|
|
1195
1190
|
onPageChange: A($e),
|
|
1196
|
-
onRowClick:
|
|
1191
|
+
onRowClick: y,
|
|
1197
1192
|
onRouteUrl: EA,
|
|
1198
|
-
parentTableId: (
|
|
1193
|
+
parentTableId: (Tn = A(wA)[k]) == null ? void 0 : Tn.tableId,
|
|
1199
1194
|
allMapContents: A(_e),
|
|
1200
|
-
children: (
|
|
1195
|
+
children: (Yn = A(wA)[k]) == null ? void 0 : Yn.children,
|
|
1201
1196
|
level: 1,
|
|
1202
1197
|
cacheNewData: A(en),
|
|
1203
1198
|
onClickTrigger: A(qe),
|
|
1204
1199
|
onClickMainKey: A(sn),
|
|
1205
|
-
onGetSliceContLength: A(
|
|
1200
|
+
onGetSliceContLength: A(Vn)
|
|
1206
1201
|
}, null, 40, ["pageLayout", "config", "compName", "compNames", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "cacheNewData", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : W("", !0)
|
|
1207
1202
|
], 2)
|
|
1208
1203
|
];
|
|
@@ -1214,9 +1209,9 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1214
1209
|
_: 1
|
|
1215
1210
|
}, 8, ["layout", "row-height"])) : W("", !0),
|
|
1216
1211
|
!A(Ge) && tA.value === "horizontal" ? (f(), Q("div", qf, [
|
|
1217
|
-
a(
|
|
1218
|
-
modelValue:
|
|
1219
|
-
"onUpdate:modelValue": l[6] || (l[6] = (t) =>
|
|
1212
|
+
a(U, {
|
|
1213
|
+
modelValue: ZA.value,
|
|
1214
|
+
"onUpdate:modelValue": l[6] || (l[6] = (t) => ZA.value = t),
|
|
1220
1215
|
type: "card",
|
|
1221
1216
|
class: "display-tabs",
|
|
1222
1217
|
onTabClick: g
|
|
@@ -1224,7 +1219,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1224
1219
|
default: C(() => {
|
|
1225
1220
|
var t;
|
|
1226
1221
|
return [
|
|
1227
|
-
(f(!0), Q(hA, null,
|
|
1222
|
+
(f(!0), Q(hA, null, FA((t = A(wA)) == null ? void 0 : t.filter((k) => k.comp !== "FormTop"), (k, ce) => (f(), lA(L, {
|
|
1228
1223
|
key: ce,
|
|
1229
1224
|
label: k.name,
|
|
1230
1225
|
name: k.name
|
|
@@ -1232,15 +1227,15 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1232
1227
|
default: C(() => {
|
|
1233
1228
|
var Ce;
|
|
1234
1229
|
return [
|
|
1235
|
-
|
|
1230
|
+
c("div", _f, [
|
|
1236
1231
|
((Ce = k == null ? void 0 : k.comp) == null ? void 0 : Ce.toUpperCase()) !== "TABLE" && k.name ? (f(), Q("div", $f, [
|
|
1237
|
-
|
|
1232
|
+
c("div", Al, CA(k.name), 1)
|
|
1238
1233
|
])) : W("", !0),
|
|
1239
1234
|
A(Ve) ? (f(), lA(Le(A(he)(k.comp)), {
|
|
1240
1235
|
pageLayout: tA.value,
|
|
1241
1236
|
compName: k.name,
|
|
1242
1237
|
compNames: A(gn),
|
|
1243
|
-
isDevMode:
|
|
1238
|
+
isDevMode: Z.showButton,
|
|
1244
1239
|
itemData: k == null ? void 0 : k.compData,
|
|
1245
1240
|
childItemData: k == null ? void 0 : k.itemChildData,
|
|
1246
1241
|
key: A(An),
|
|
@@ -1248,7 +1243,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1248
1243
|
index: (k == null ? void 0 : k.id) ?? ce,
|
|
1249
1244
|
onContentChange: A(Je),
|
|
1250
1245
|
onPageChange: A($e),
|
|
1251
|
-
onRowClick:
|
|
1246
|
+
onRowClick: y,
|
|
1252
1247
|
onRouteUrl: EA,
|
|
1253
1248
|
parentTableId: k == null ? void 0 : k.tableId,
|
|
1254
1249
|
allMapContents: A(_e),
|
|
@@ -1262,7 +1257,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1262
1257
|
},
|
|
1263
1258
|
onClickTrigger: A(qe),
|
|
1264
1259
|
onClickMainKey: A(sn),
|
|
1265
|
-
onGetSliceContLength: A(
|
|
1260
|
+
onGetSliceContLength: A(Vn)
|
|
1266
1261
|
}, null, 40, ["pageLayout", "compName", "compNames", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "cacheNewData", "config", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : W("", !0)
|
|
1267
1262
|
])
|
|
1268
1263
|
];
|
|
@@ -1277,12 +1272,12 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1277
1272
|
A(Ge) ? (f(), lA(K, {
|
|
1278
1273
|
key: 3,
|
|
1279
1274
|
direction: "horizontal",
|
|
1280
|
-
active: (gA = A(
|
|
1275
|
+
active: (gA = A(GA)) == null ? void 0 : gA.index,
|
|
1281
1276
|
"align-center": !0,
|
|
1282
1277
|
class: "display-steps"
|
|
1283
1278
|
}, {
|
|
1284
1279
|
default: C(() => [
|
|
1285
|
-
(f(!0), Q(hA, null,
|
|
1280
|
+
(f(!0), Q(hA, null, FA(A(jt), (t, k) => (f(), lA(s, {
|
|
1286
1281
|
key: t == null ? void 0 : t.id,
|
|
1287
1282
|
class: "step-item",
|
|
1288
1283
|
status: t == null ? void 0 : t.status,
|
|
@@ -1298,33 +1293,33 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1298
1293
|
}, 8, ["active"])) : W("", !0),
|
|
1299
1294
|
A(Ge) ? (f(), Q("div", {
|
|
1300
1295
|
key: 4,
|
|
1301
|
-
class: He((mA = A(Cn)) != null && mA.includes((S = (iA = A(
|
|
1302
|
-
style: Re({ display: ((
|
|
1296
|
+
class: He((mA = A(Cn)) != null && mA.includes((S = (iA = A(GA)) == null ? void 0 : iA.comp) == null ? void 0 : S.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
1297
|
+
style: Re({ display: ((TA = (JA = A(GA)) == null ? void 0 : JA.comp) == null ? void 0 : TA.isShow) === !1 ? "none" : "flex" })
|
|
1303
1298
|
}, [
|
|
1304
|
-
A(Ve) ? (f(), lA(Le(A(he)((ae = (
|
|
1305
|
-
compItem: (ee = A(
|
|
1299
|
+
A(Ve) ? (f(), lA(Le(A(he)((ae = (YA = A(GA)) == null ? void 0 : YA.comp) == null ? void 0 : ae.comp)), {
|
|
1300
|
+
compItem: (ee = A(GA)) == null ? void 0 : ee.comp,
|
|
1306
1301
|
compNames: A(gn),
|
|
1307
|
-
compName: (PA = (rA = A(
|
|
1302
|
+
compName: (PA = (rA = A(GA)) == null ? void 0 : rA.comp) == null ? void 0 : PA.name,
|
|
1308
1303
|
cacheNewData: A(en),
|
|
1309
|
-
isDevMode:
|
|
1310
|
-
itemData: (LA = (SA = A(
|
|
1311
|
-
childItemData: (Ue = (je = A(
|
|
1304
|
+
isDevMode: Z.showButton,
|
|
1305
|
+
itemData: (LA = (SA = A(GA)) == null ? void 0 : SA.comp) == null ? void 0 : LA.compData,
|
|
1306
|
+
childItemData: (Ue = (je = A(GA)) == null ? void 0 : je.comp) == null ? void 0 : Ue.itemChildData,
|
|
1312
1307
|
key: A(An),
|
|
1313
1308
|
onChange: A(Se),
|
|
1314
|
-
index: (Ze = (Me = A(
|
|
1309
|
+
index: (Ze = (Me = A(GA)) == null ? void 0 : Me.comp) == null ? void 0 : Ze.id,
|
|
1315
1310
|
onContentChange: A(Je),
|
|
1316
1311
|
onPageChange: A($e),
|
|
1317
|
-
onRowClick:
|
|
1312
|
+
onRowClick: y,
|
|
1318
1313
|
onRouteUrl: EA,
|
|
1319
|
-
parentTableId: (cn = (Te = A(
|
|
1314
|
+
parentTableId: (cn = (Te = A(GA)) == null ? void 0 : Te.comp) == null ? void 0 : cn.tableId,
|
|
1320
1315
|
allMapContents: A(_e),
|
|
1321
|
-
children: (Ye = (un = A(
|
|
1316
|
+
children: (Ye = (un = A(GA)) == null ? void 0 : un.comp) == null ? void 0 : Ye.children,
|
|
1322
1317
|
level: 1,
|
|
1323
1318
|
onClickTrigger: A(qe),
|
|
1324
1319
|
onClickMainKey: A(sn)
|
|
1325
1320
|
}, null, 40, ["compItem", "compNames", "compName", "cacheNewData", "isDevMode", "itemData", "childItemData", "onChange", "index", "onContentChange", "onPageChange", "parentTableId", "allMapContents", "children", "onClickTrigger", "onClickMainKey"])) : W("", !0)
|
|
1326
1321
|
], 6)) : W("", !0),
|
|
1327
|
-
!((
|
|
1322
|
+
!((kn = A(se)) != null && kn.find((t) => t.comp === "methodButton")) && ((xn = A(u)) != null && xn.includes(A(G))) ? (f(), Q("div", el, [
|
|
1328
1323
|
HA() ? (f(), lA(be, {
|
|
1329
1324
|
key: 0,
|
|
1330
1325
|
class: "calculator-content",
|
|
@@ -1345,7 +1340,7 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1345
1340
|
]),
|
|
1346
1341
|
_: 1
|
|
1347
1342
|
}),
|
|
1348
|
-
|
|
1343
|
+
c("div", null, [
|
|
1349
1344
|
a(rn, {
|
|
1350
1345
|
visible: pA.value,
|
|
1351
1346
|
onBeforeDestroy: yA,
|
|
@@ -1369,31 +1364,31 @@ const Tt = /* @__PURE__ */ Ie(gt, [["render", Zt], ["__scopeId", "data-v-0cbc421
|
|
|
1369
1364
|
], 64);
|
|
1370
1365
|
};
|
|
1371
1366
|
}
|
|
1372
|
-
}), tl = /* @__PURE__ */ Ie(nl, [["__scopeId", "data-v-
|
|
1373
|
-
function ll(
|
|
1367
|
+
}), tl = /* @__PURE__ */ Ie(nl, [["__scopeId", "data-v-3aa8ee19"]]), fl = { class: "menu-tree" };
|
|
1368
|
+
function ll(Z, jA, g, vA, AA, cA) {
|
|
1374
1369
|
const z = oA("el-tree");
|
|
1375
1370
|
return f(), Q("div", fl, [
|
|
1376
1371
|
a(z, {
|
|
1377
|
-
data:
|
|
1372
|
+
data: Z.renderMenuList,
|
|
1378
1373
|
props: {
|
|
1379
1374
|
children: "children",
|
|
1380
1375
|
label: "title"
|
|
1381
1376
|
},
|
|
1382
1377
|
"node-key": "title",
|
|
1383
|
-
onNodeClick:
|
|
1378
|
+
onNodeClick: Z.clickMenu,
|
|
1384
1379
|
"highlight-current": ""
|
|
1385
1380
|
}, null, 8, ["data", "onNodeClick"])
|
|
1386
1381
|
]);
|
|
1387
1382
|
}
|
|
1388
1383
|
const vl = /* @__PURE__ */ Ie(rt, [["render", ll], ["__scopeId", "data-v-83196ea8"]]), al = { class: "three-menu" }, cl = ["onClick"];
|
|
1389
|
-
function ul(
|
|
1384
|
+
function ul(Z, jA, g, vA, AA, cA) {
|
|
1390
1385
|
return f(), Q("div", al, [
|
|
1391
|
-
(f(!0), Q(hA, null,
|
|
1392
|
-
onClick: (sA) =>
|
|
1386
|
+
(f(!0), Q(hA, null, FA(Z.renderMenuList, (z) => (f(), Q("div", {
|
|
1387
|
+
onClick: (sA) => Z.clickMenu(z)
|
|
1393
1388
|
}, [
|
|
1394
|
-
ke(
|
|
1389
|
+
ke(Z.$slots, "menu", { menu: z }, void 0, !0)
|
|
1395
1390
|
], 8, cl))), 256)),
|
|
1396
|
-
ke(
|
|
1391
|
+
ke(Z.$slots, "extraIcon", {}, void 0, !0)
|
|
1397
1392
|
]);
|
|
1398
1393
|
}
|
|
1399
1394
|
const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d52"]]), gl = { class: "structure-buttons" }, rl = { class: "structure-paths" }, dl = { class: "client-header-user" }, Pl = { class: "model-select" }, Cl = { class: "model-show" }, ol = { class: "model-fill" }, El = ["title", "onClick"], Il = { class: "panel-body client-container" }, il = {
|
|
@@ -1429,25 +1424,25 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1429
1424
|
}
|
|
1430
1425
|
},
|
|
1431
1426
|
emits: ["showChild", "buildContent", "setLoginInfo"],
|
|
1432
|
-
setup(
|
|
1427
|
+
setup(Z, { emit: jA }) {
|
|
1433
1428
|
const g = o(), vA = o([]), AA = o([]), cA = RA(
|
|
1434
1429
|
() => vA.value.filter((e) => {
|
|
1435
|
-
var
|
|
1436
|
-
return ((
|
|
1430
|
+
var s;
|
|
1431
|
+
return ((s = e.find((K) => K.prop === "状态")) == null ? void 0 : s.value) === "未读";
|
|
1437
1432
|
}).length
|
|
1438
1433
|
);
|
|
1439
1434
|
RA(() => cA.value > 99 ? "99+" : cA.value);
|
|
1440
|
-
const z =
|
|
1441
|
-
Fe("contentRef",
|
|
1442
|
-
const ge =
|
|
1435
|
+
const z = bn(QA), { originalPath: sA } = BA(z), eA = sA.value, q = dn(QA), { selectTitle: P } = BA(q), M = o(!1), N = o(null), G = o(), aA = o(!1), IA = at(QA), { blobUrls: H } = BA(IA), fA = o(!1), zA = o(!1), OA = o(!1), KA = o([]), _ = o(!1), VA = o(null), NA = o([]), DA = o(!1);
|
|
1436
|
+
Fe("contentRef", VA);
|
|
1437
|
+
const ge = wn(), { loginUserInfo: XA } = BA(ge), fe = vn(QA), { isEdit: pA, routeToChildPath: $ } = BA(fe), nA = jA, WA = an(QA), { asideMenuLoading: le, importLoading: ie, activeAsideMenu: Be, contentLoading: ze, platName: De, activeMenuPath: kA } = BA(WA), UA = Lt(QA), { data: Qe } = BA(UA), { setData: Xe } = ht(), re = RA(() => Be.value.isRouter), xe = () => {
|
|
1443
1438
|
sessionStorage.clear(), window.location.reload();
|
|
1444
1439
|
}, de = (e) => {
|
|
1445
1440
|
if ((e == null ? void 0 : e.type) === "table") {
|
|
1446
|
-
let
|
|
1441
|
+
let s = e == null ? void 0 : e.row;
|
|
1447
1442
|
const K = e == null ? void 0 : e.rowData;
|
|
1448
|
-
let d =
|
|
1443
|
+
let d = s;
|
|
1449
1444
|
if (d) {
|
|
1450
|
-
|
|
1445
|
+
G.value = {
|
|
1451
1446
|
url: d,
|
|
1452
1447
|
row: e == null ? void 0 : e.row
|
|
1453
1448
|
};
|
|
@@ -1458,7 +1453,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1458
1453
|
})) : T = [{
|
|
1459
1454
|
url: d,
|
|
1460
1455
|
extension: tn(d)
|
|
1461
|
-
}]),
|
|
1456
|
+
}]), UA.setData({
|
|
1462
1457
|
files: T,
|
|
1463
1458
|
data: K
|
|
1464
1459
|
});
|
|
@@ -1468,21 +1463,21 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1468
1463
|
xA(
|
|
1469
1464
|
() => kA.value,
|
|
1470
1465
|
async (e) => {
|
|
1471
|
-
e && (zA.value = !0), e === "弯管仿真加工分析/仿真动画生成" ? OA.value = !0 : OA.value = !1, e === "弯管仿真加工分析/程序输出" ? _.value = !0 : _.value = !1, Ke != null && Ke.find((
|
|
1466
|
+
e && (zA.value = !0), e === "弯管仿真加工分析/仿真动画生成" ? OA.value = !0 : OA.value = !1, e === "弯管仿真加工分析/程序输出" ? _.value = !0 : _.value = !1, Ke != null && Ke.find((s) => {
|
|
1472
1467
|
var K;
|
|
1473
|
-
return (
|
|
1468
|
+
return (s == null ? void 0 : s.key) === ((K = e == null ? void 0 : e.split("/")) == null ? void 0 : K[(e == null ? void 0 : e.split("/").length) - 1]);
|
|
1474
1469
|
}) ? fA.value = !0 : fA.value = !1;
|
|
1475
1470
|
},
|
|
1476
1471
|
{ immediate: !0 }
|
|
1477
1472
|
), xA(
|
|
1478
|
-
() => [
|
|
1473
|
+
() => [H == null ? void 0 : H.value],
|
|
1479
1474
|
async () => {
|
|
1480
|
-
var e,
|
|
1481
|
-
if (
|
|
1475
|
+
var e, s, K, d, T;
|
|
1476
|
+
if (H != null && H.value && ((e = H == null ? void 0 : H.value) == null ? void 0 : e.length) > 0 && !fA.value && !((s = se.value) != null && s.find((B) => (B == null ? void 0 : B.name) === "输入") && ((K = se.value) != null && K.find((B) => (B == null ? void 0 : B.name) === "输出")))) {
|
|
1482
1477
|
aA.value = !0;
|
|
1483
1478
|
let B = [];
|
|
1484
|
-
const p = await ((d = fn(
|
|
1485
|
-
var uA, gA, iA, S, mA, JA,
|
|
1479
|
+
const p = await ((d = fn(H == null ? void 0 : H.value)) == null ? void 0 : d.map(async (E) => {
|
|
1480
|
+
var uA, gA, iA, S, mA, JA, TA, YA, ae, ee;
|
|
1486
1481
|
let Y, D, X;
|
|
1487
1482
|
E != null && E.blob.includes("undefined") ? X = (gA = (uA = E == null ? void 0 : E.blob) == null ? void 0 : uA.split("undefined,")) == null ? void 0 : gA[1] : X = E == null ? void 0 : E.blob;
|
|
1488
1483
|
let O = X == null ? void 0 : X.split(",");
|
|
@@ -1554,8 +1549,8 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1554
1549
|
}
|
|
1555
1550
|
});
|
|
1556
1551
|
let rA = [];
|
|
1557
|
-
if (((
|
|
1558
|
-
let PA = await ((
|
|
1552
|
+
if (((TA = E == null ? void 0 : E.mtlBlobs) == null ? void 0 : TA.length) > 0) {
|
|
1553
|
+
let PA = await ((YA = E == null ? void 0 : E.mtlBlobs) == null ? void 0 : YA.map(async (SA) => {
|
|
1559
1554
|
let LA = await Ee.get(SA, {
|
|
1560
1555
|
responseType: "blob",
|
|
1561
1556
|
headers: {
|
|
@@ -1586,16 +1581,16 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1586
1581
|
{ immediate: !0, deep: !0 }
|
|
1587
1582
|
);
|
|
1588
1583
|
const pe = (e) => {
|
|
1589
|
-
DA.value = !0, KA.value = e == null ? void 0 : e.map((
|
|
1584
|
+
DA.value = !0, KA.value = e == null ? void 0 : e.map((s) => {
|
|
1590
1585
|
var K;
|
|
1591
|
-
return
|
|
1586
|
+
return s.compData = (K = s.compData) == null ? void 0 : K.map((d) => {
|
|
1592
1587
|
var T;
|
|
1593
1588
|
return (d == null ? void 0 : d.key) === "formContent" && (d.contents = (T = d.contents) == null ? void 0 : T.map((B) => (B.disabled = !0, B))), d;
|
|
1594
|
-
}),
|
|
1589
|
+
}), s;
|
|
1595
1590
|
});
|
|
1596
1591
|
}, Ne = async () => {
|
|
1597
1592
|
await lt();
|
|
1598
|
-
}, qA = o("数据管理"),
|
|
1593
|
+
}, qA = o("数据管理"), MA = o(!1), me = o(), We = o(), _A = o({
|
|
1599
1594
|
x: 0,
|
|
1600
1595
|
y: 0
|
|
1601
1596
|
}), n = () => {
|
|
@@ -1603,28 +1598,28 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1603
1598
|
x: 0,
|
|
1604
1599
|
y: 0
|
|
1605
1600
|
};
|
|
1606
|
-
},
|
|
1601
|
+
}, u = o({
|
|
1607
1602
|
width: "20vw"
|
|
1608
1603
|
}), I = (e) => {
|
|
1609
1604
|
qA.value = e;
|
|
1610
1605
|
}, j = (e) => {
|
|
1611
|
-
n(),
|
|
1606
|
+
n(), MA.value = e;
|
|
1612
1607
|
}, V = () => {
|
|
1613
|
-
j(!(
|
|
1614
|
-
},
|
|
1608
|
+
j(!(MA != null && MA.value));
|
|
1609
|
+
}, y = RA(() => ({
|
|
1615
1610
|
right: `${80 - _A.value.x}px`,
|
|
1616
1611
|
// transform: `translate(${resTranslateX}, ${resTranslateY})`,
|
|
1617
|
-
width:
|
|
1612
|
+
width: u.value.width
|
|
1618
1613
|
})), m = (e) => {
|
|
1619
|
-
|
|
1614
|
+
w(e == null ? void 0 : e.title), x(!0), L(e);
|
|
1620
1615
|
}, J = () => {
|
|
1621
1616
|
j(!1);
|
|
1622
1617
|
};
|
|
1623
|
-
Fe("managementPageVisible",
|
|
1618
|
+
Fe("managementPageVisible", MA), Fe("setManagementPageTitle", I), Fe("setManagementPageVisible", j);
|
|
1624
1619
|
let yA = 0, EA = 0;
|
|
1625
1620
|
function dA(e) {
|
|
1626
|
-
const
|
|
1627
|
-
|
|
1621
|
+
const s = EA - (e.clientX - yA);
|
|
1622
|
+
u.value.width = `${s}px`;
|
|
1628
1623
|
}
|
|
1629
1624
|
function HA() {
|
|
1630
1625
|
document.removeEventListener("mousemove", dA), document.removeEventListener("mouseup", HA);
|
|
@@ -1634,15 +1629,15 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1634
1629
|
};
|
|
1635
1630
|
let Oe = 0, ve = 0, Pe = 0, Ae = 0;
|
|
1636
1631
|
function tA(e) {
|
|
1637
|
-
Oe = e.clientX, ve = e.clientY, Pe = _A.value.x, Ae = _A.value.y, document.addEventListener("mousemove",
|
|
1632
|
+
Oe = e.clientX, ve = e.clientY, Pe = _A.value.x, Ae = _A.value.y, document.addEventListener("mousemove", ZA), document.addEventListener("mouseup", r);
|
|
1638
1633
|
}
|
|
1639
|
-
function
|
|
1634
|
+
function ZA(e) {
|
|
1640
1635
|
_A.value.x = Pe + (e.clientX - Oe), _A.value.y = Ae + (e.clientY - ve);
|
|
1641
1636
|
}
|
|
1642
1637
|
function r() {
|
|
1643
|
-
document.removeEventListener("mousemove",
|
|
1638
|
+
document.removeEventListener("mousemove", ZA), document.removeEventListener("mouseup", r);
|
|
1644
1639
|
}
|
|
1645
|
-
const l = o(""),
|
|
1640
|
+
const l = o(""), w = (e) => {
|
|
1646
1641
|
l.value = e;
|
|
1647
1642
|
}, h = o(!1), x = (e) => {
|
|
1648
1643
|
h.value = e;
|
|
@@ -1652,32 +1647,32 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1652
1647
|
x(!1);
|
|
1653
1648
|
}, v = o(), L = (e) => {
|
|
1654
1649
|
v.value = e;
|
|
1655
|
-
},
|
|
1656
|
-
const
|
|
1657
|
-
if (!
|
|
1650
|
+
}, U = (e) => {
|
|
1651
|
+
const s = kt(e);
|
|
1652
|
+
if (!s)
|
|
1658
1653
|
return;
|
|
1659
|
-
Xe(
|
|
1654
|
+
Xe(s);
|
|
1660
1655
|
};
|
|
1661
1656
|
xA(se, (e) => {
|
|
1662
|
-
const { isLeaf:
|
|
1663
|
-
!
|
|
1657
|
+
const { isLeaf: s } = v.value || {};
|
|
1658
|
+
!s || !e || !e.length || U(e);
|
|
1664
1659
|
}, {
|
|
1665
1660
|
immediate: !0,
|
|
1666
1661
|
deep: !0
|
|
1667
1662
|
});
|
|
1668
|
-
const
|
|
1663
|
+
const b = (e, s) => {
|
|
1669
1664
|
const K = e == null ? void 0 : e.label;
|
|
1670
1665
|
I(K), j(!0);
|
|
1671
|
-
const { isLeaf: d } =
|
|
1666
|
+
const { isLeaf: d } = s, T = {
|
|
1672
1667
|
...e,
|
|
1673
1668
|
isLeaf: d
|
|
1674
1669
|
};
|
|
1675
1670
|
L(T);
|
|
1676
1671
|
};
|
|
1677
|
-
|
|
1672
|
+
On(async () => {
|
|
1678
1673
|
nA("setLoginInfo", XA.value);
|
|
1679
1674
|
async function e() {
|
|
1680
|
-
var
|
|
1675
|
+
var s, K, d, T, B, p, E, Y, D, X, O;
|
|
1681
1676
|
try {
|
|
1682
1677
|
let uA = function(rA, PA) {
|
|
1683
1678
|
return PA.map((SA) => rA.map((LA, je) => ({
|
|
@@ -1689,10 +1684,10 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1689
1684
|
const gA = sessionStorage.getItem("systemKey"), [iA, S] = await Promise.all([
|
|
1690
1685
|
we(Hl, gA, ""),
|
|
1691
1686
|
we(wl, gA, "")
|
|
1692
|
-
]), mA = (d = (K = (
|
|
1693
|
-
console.log("555readData",
|
|
1694
|
-
let
|
|
1695
|
-
Array.isArray(mA) && Array.isArray(JA) ?
|
|
1687
|
+
]), mA = (d = (K = (s = iA == null ? void 0 : iA[0]) == null ? void 0 : s.compData) == null ? void 0 : K.find((rA) => (rA == null ? void 0 : rA.key) === "tableContents")) == null ? void 0 : d.contents, JA = (p = (B = (T = S == null ? void 0 : S[0]) == null ? void 0 : T.compData) == null ? void 0 : B.find((rA) => (rA == null ? void 0 : rA.key) === "tableContents")) == null ? void 0 : p.contents, TA = (D = (Y = (E = S == null ? void 0 : S[0]) == null ? void 0 : E.compData) == null ? void 0 : Y.find((rA) => (rA == null ? void 0 : rA.key) === "header")) == null ? void 0 : D.contents;
|
|
1688
|
+
console.log("555readData", TA);
|
|
1689
|
+
let YA = [];
|
|
1690
|
+
Array.isArray(mA) && Array.isArray(JA) ? YA = [...mA, ...JA] : (YA = [], console.warn("unreadMessagesContents 或 readMessagesContents 不是数组")), vA.value = uA(TA, YA), console.log("555allReadMessages.value", vA.value);
|
|
1696
1691
|
const ae = ((X = XA == null ? void 0 : XA.value) == null ? void 0 : X.account) || ((O = XA == null ? void 0 : XA.value) == null ? void 0 : O.收件人) || "未知", ee = vA.value.filter((rA) => {
|
|
1697
1692
|
var PA;
|
|
1698
1693
|
return ((PA = rA.find((SA) => SA.prop === "收件人")) == null ? void 0 : PA.value) === ae;
|
|
@@ -1707,24 +1702,24 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1707
1702
|
const e = window.messageIntervalId;
|
|
1708
1703
|
e && clearInterval(e);
|
|
1709
1704
|
});
|
|
1710
|
-
const
|
|
1705
|
+
const F = () => {
|
|
1711
1706
|
var K, d;
|
|
1712
1707
|
if ($.value === "" || ((d = kA.value) == null ? void 0 : d[((K = kA.value) == null ? void 0 : K.length) - 1]) === eA) return !1;
|
|
1713
|
-
const e = sessionStorage.getItem("authority"),
|
|
1714
|
-
if (Array.isArray(
|
|
1715
|
-
const T = Array.isArray(
|
|
1708
|
+
const e = sessionStorage.getItem("authority"), s = JSON.parse(e || "");
|
|
1709
|
+
if (Array.isArray(s)) {
|
|
1710
|
+
const T = Array.isArray(s) && (s == null ? void 0 : s.filter((p) => p == null ? void 0 : p.includes($.value))), B = T == null ? void 0 : T.map((p) => {
|
|
1716
1711
|
var E;
|
|
1717
1712
|
return ((E = p == null ? void 0 : p.split("/")) == null ? void 0 : E.pop()) || "";
|
|
1718
1713
|
});
|
|
1719
1714
|
return !!(B != null && B.includes("新增") || B != null && B.includes("新建"));
|
|
1720
|
-
} else return typeof
|
|
1715
|
+
} else return typeof s == "string" && (s == null ? void 0 : s.toUpperCase()) === "SUPERADMIN";
|
|
1721
1716
|
};
|
|
1722
|
-
return (e,
|
|
1717
|
+
return (e, s) => {
|
|
1723
1718
|
const K = oA("el-dialog"), d = oA("el-button"), T = oA("el-header"), B = oA("el-container"), p = oA("router-view"), E = oA("el-main"), Y = $n("loading");
|
|
1724
1719
|
return f(), Q(hA, null, [
|
|
1725
1720
|
a(rn, {
|
|
1726
1721
|
visible: DA.value,
|
|
1727
|
-
onBeforeDestroy:
|
|
1722
|
+
onBeforeDestroy: s[0] || (s[0] = (D) => DA.value = !1),
|
|
1728
1723
|
fullScreen: !0
|
|
1729
1724
|
}, {
|
|
1730
1725
|
default: C(() => [
|
|
@@ -1734,12 +1729,12 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1734
1729
|
}, 8, ["visible"]),
|
|
1735
1730
|
a(K, {
|
|
1736
1731
|
"append-to-body": "",
|
|
1737
|
-
modelValue:
|
|
1738
|
-
"onUpdate:modelValue":
|
|
1732
|
+
modelValue: M.value,
|
|
1733
|
+
"onUpdate:modelValue": s[1] || (s[1] = (D) => M.value = D),
|
|
1739
1734
|
style: { height: "700px", width: "1800px" }
|
|
1740
1735
|
}, {
|
|
1741
1736
|
default: C(() => [
|
|
1742
|
-
a(
|
|
1737
|
+
a(zn, { files: NA.value }, null, 8, ["files"])
|
|
1743
1738
|
]),
|
|
1744
1739
|
_: 1
|
|
1745
1740
|
}, 8, ["modelValue"]),
|
|
@@ -1747,12 +1742,12 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1747
1742
|
default: C(() => [
|
|
1748
1743
|
a(T, { class: "client-structure-header" }, {
|
|
1749
1744
|
default: C(() => [
|
|
1750
|
-
|
|
1745
|
+
c("div", gl, [
|
|
1751
1746
|
a(d, {
|
|
1752
1747
|
id: "transparentBgButton",
|
|
1753
1748
|
onClick: A(et)
|
|
1754
1749
|
}, {
|
|
1755
|
-
default: C(() =>
|
|
1750
|
+
default: C(() => s[5] || (s[5] = [
|
|
1756
1751
|
te(" 返回页面 ")
|
|
1757
1752
|
])),
|
|
1758
1753
|
_: 1,
|
|
@@ -1760,7 +1755,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1760
1755
|
}, 8, ["onClick"]),
|
|
1761
1756
|
a(d, {
|
|
1762
1757
|
id: "transparentBgButton",
|
|
1763
|
-
onClick:
|
|
1758
|
+
onClick: s[2] || (s[2] = (D) => {
|
|
1764
1759
|
var X, O;
|
|
1765
1760
|
return A(nt)((O = (X = A(P)) == null ? void 0 : X.map((uA) => uA.value)) == null ? void 0 : O.join("/"));
|
|
1766
1761
|
})
|
|
@@ -1769,21 +1764,21 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1769
1764
|
a(bA, { name: "Store" })
|
|
1770
1765
|
]),
|
|
1771
1766
|
default: C(() => [
|
|
1772
|
-
|
|
1767
|
+
s[6] || (s[6] = te(" 保存页面 "))
|
|
1773
1768
|
]),
|
|
1774
1769
|
_: 1,
|
|
1775
1770
|
__: [6]
|
|
1776
1771
|
})
|
|
1777
1772
|
]),
|
|
1778
|
-
|
|
1779
|
-
a(
|
|
1773
|
+
c("div", rl, [
|
|
1774
|
+
a(Xn, {
|
|
1780
1775
|
breadArray: A(P),
|
|
1781
|
-
onClick: A(
|
|
1776
|
+
onClick: A(En)
|
|
1782
1777
|
}, null, 8, ["breadArray", "onClick"])
|
|
1783
1778
|
]),
|
|
1784
|
-
|
|
1779
|
+
c("div", dl, [
|
|
1785
1780
|
ke(e.$slots, "default", {}, void 0, !0),
|
|
1786
|
-
a(
|
|
1781
|
+
a(Qn, {
|
|
1787
1782
|
size: 35,
|
|
1788
1783
|
disabled: !0,
|
|
1789
1784
|
userInfo: A(XA)
|
|
@@ -1798,14 +1793,14 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1798
1793
|
style: { "margin-top": "10px", height: "0px" }
|
|
1799
1794
|
}, {
|
|
1800
1795
|
default: C(() => [
|
|
1801
|
-
|
|
1796
|
+
c("div", Pl, [
|
|
1797
|
+
a(jn)
|
|
1798
|
+
]),
|
|
1799
|
+
c("div", Cl, [
|
|
1802
1800
|
a(yn)
|
|
1803
1801
|
]),
|
|
1804
|
-
|
|
1802
|
+
c("div", ol, [
|
|
1805
1803
|
a(Hn)
|
|
1806
|
-
]),
|
|
1807
|
-
u("div", ol, [
|
|
1808
|
-
a(wn)
|
|
1809
1804
|
])
|
|
1810
1805
|
]),
|
|
1811
1806
|
_: 1
|
|
@@ -1820,7 +1815,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1820
1815
|
"element-loading-text": "正在加载页面数据..."
|
|
1821
1816
|
}, {
|
|
1822
1817
|
default: C(() => [
|
|
1823
|
-
a(
|
|
1818
|
+
a(zn, {
|
|
1824
1819
|
class: "client-body",
|
|
1825
1820
|
files: A(Qe).files,
|
|
1826
1821
|
"three-data": A(Qe)
|
|
@@ -1828,7 +1823,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1828
1823
|
"top-menu": C(() => [
|
|
1829
1824
|
a(sl, null, st({
|
|
1830
1825
|
menu: C(({ menu: D }) => [
|
|
1831
|
-
|
|
1826
|
+
c("div", {
|
|
1832
1827
|
class: "top-icon",
|
|
1833
1828
|
title: D.title,
|
|
1834
1829
|
onClick: (X) => m(D)
|
|
@@ -1841,22 +1836,22 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1841
1836
|
]),
|
|
1842
1837
|
_: 2
|
|
1843
1838
|
}, [
|
|
1844
|
-
|
|
1839
|
+
Z.showButton ? {
|
|
1845
1840
|
name: "extraIcon",
|
|
1846
1841
|
fn: C(() => [
|
|
1847
1842
|
A(pA) === "view" ? (f(), Q("div", {
|
|
1848
1843
|
key: 0,
|
|
1849
1844
|
class: "top-icon",
|
|
1850
1845
|
title: "界面修改",
|
|
1851
|
-
onClick:
|
|
1852
|
-
(...D) => A(
|
|
1846
|
+
onClick: s[3] || (s[3] = //@ts-ignore
|
|
1847
|
+
(...D) => A(In) && A(In)(...D))
|
|
1853
1848
|
}, [
|
|
1854
1849
|
a(bA, {
|
|
1855
1850
|
name: "界面修改",
|
|
1856
1851
|
class: "menu-icon"
|
|
1857
1852
|
})
|
|
1858
1853
|
])) : W("", !0),
|
|
1859
|
-
|
|
1854
|
+
c("div", {
|
|
1860
1855
|
class: "top-icon",
|
|
1861
1856
|
title: "登出",
|
|
1862
1857
|
onClick: xe
|
|
@@ -1887,7 +1882,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1887
1882
|
name: "yemian",
|
|
1888
1883
|
size: "24",
|
|
1889
1884
|
onClick: V,
|
|
1890
|
-
active:
|
|
1885
|
+
active: MA.value,
|
|
1891
1886
|
title: "数据管理"
|
|
1892
1887
|
}, null, 8, ["active"])
|
|
1893
1888
|
]),
|
|
@@ -1899,25 +1894,25 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1899
1894
|
[ye, A(pA) === "view"],
|
|
1900
1895
|
[Y, A(ie)]
|
|
1901
1896
|
]),
|
|
1902
|
-
ne(
|
|
1897
|
+
ne(c("div", {
|
|
1903
1898
|
class: "management-page-panel",
|
|
1904
1899
|
ref_key: "managementPagePanel",
|
|
1905
1900
|
ref: me,
|
|
1906
|
-
style: Re(
|
|
1901
|
+
style: Re(y.value)
|
|
1907
1902
|
}, [
|
|
1908
|
-
|
|
1903
|
+
c("div", {
|
|
1909
1904
|
class: "panel-header",
|
|
1910
1905
|
onMousedown: tA
|
|
1911
1906
|
}, [
|
|
1912
|
-
|
|
1913
|
-
|
|
1907
|
+
c("span", null, CA(qA.value), 1),
|
|
1908
|
+
c("span", {
|
|
1914
1909
|
class: "close",
|
|
1915
1910
|
onClick: J
|
|
1916
1911
|
}, " X ")
|
|
1917
1912
|
], 32),
|
|
1918
|
-
|
|
1913
|
+
c("div", Il, [
|
|
1919
1914
|
A(kA) ? W("", !0) : (f(), Q("div", il, " 请先选择菜单 ")),
|
|
1920
|
-
|
|
1915
|
+
c("div", {
|
|
1921
1916
|
class: "resize-bar",
|
|
1922
1917
|
ref_key: "managementResizeBar",
|
|
1923
1918
|
ref: We,
|
|
@@ -1935,19 +1930,19 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1935
1930
|
ne((f(), Q("div", {
|
|
1936
1931
|
class: "client-main-operate",
|
|
1937
1932
|
ref_key: "contentRef",
|
|
1938
|
-
ref:
|
|
1933
|
+
ref: VA,
|
|
1939
1934
|
"element-loading-text": "正在加载页面数据..."
|
|
1940
1935
|
}, [
|
|
1941
1936
|
((X = A(kA)) == null ? void 0 : X[((D = A(kA)) == null ? void 0 : D.length) - 1]) === A(eA) || (O = A(kA)) != null && O.includes("updateLoading") || (uA = A(kA)) != null && uA.includes("loading") ? (f(), Q("div", Bl, [
|
|
1942
1937
|
a(be, {
|
|
1943
1938
|
class: "calculator-content back-content",
|
|
1944
|
-
onClickTrigger:
|
|
1939
|
+
onClickTrigger: s[4] || (s[4] = (S) => A(tt)()),
|
|
1945
1940
|
modelValue: "返回"
|
|
1946
1941
|
})
|
|
1947
1942
|
])) : W("", !0),
|
|
1948
|
-
|
|
1943
|
+
c("div", zl, [
|
|
1949
1944
|
re.value ? (f(), lA(p, { key: 0 })) : W("", !0),
|
|
1950
|
-
re.value ? W("", !0) : (f(!0), Q(hA, { key: 1 },
|
|
1945
|
+
re.value ? W("", !0) : (f(!0), Q(hA, { key: 1 }, FA((gA = A(se)) == null ? void 0 : gA.filter((S) => S.comp !== "FormTop"), (S, mA) => {
|
|
1951
1946
|
var JA;
|
|
1952
1947
|
return f(), Q("div", {
|
|
1953
1948
|
class: "item-view-content",
|
|
@@ -1955,12 +1950,12 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1955
1950
|
style: Re({ display: (S == null ? void 0 : S.isShow) === !1 ? "none" : "flex" })
|
|
1956
1951
|
}, [
|
|
1957
1952
|
((JA = S == null ? void 0 : S.comp) == null ? void 0 : JA.toUpperCase()) !== "TABLE" && S.name ? (f(), Q("div", Ql, [
|
|
1958
|
-
|
|
1953
|
+
c("div", Xl, CA(S.name), 1)
|
|
1959
1954
|
])) : W("", !0),
|
|
1960
1955
|
A(Ve) ? (f(), lA(Le(A(he)(S.comp)), {
|
|
1961
1956
|
compName: S.name,
|
|
1962
1957
|
cacheNewData: A(en),
|
|
1963
|
-
isDevMode:
|
|
1958
|
+
isDevMode: Z.showButton,
|
|
1964
1959
|
itemData: S == null ? void 0 : S.compData,
|
|
1965
1960
|
childItemData: S == null ? void 0 : S.itemChildData,
|
|
1966
1961
|
key: A(An),
|
|
@@ -1979,7 +1974,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1979
1974
|
], 4);
|
|
1980
1975
|
}), 128)),
|
|
1981
1976
|
!re.value && !((iA = A(se)) != null && iA.find((S) => S.comp === "methodButton")) ? (f(), Q("div", Ol, [
|
|
1982
|
-
|
|
1977
|
+
F() ? (f(), lA(be, {
|
|
1983
1978
|
key: 0,
|
|
1984
1979
|
class: "calculator-content",
|
|
1985
1980
|
onClickTrigger: Ne,
|
|
@@ -1999,20 +1994,20 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
1999
1994
|
})) : W("", !0)
|
|
2000
1995
|
])
|
|
2001
1996
|
], 4), [
|
|
2002
|
-
[ye,
|
|
1997
|
+
[ye, MA.value]
|
|
2003
1998
|
]),
|
|
2004
|
-
ne(
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
1999
|
+
ne(c("div", jl, [
|
|
2000
|
+
c("div", { class: "panel-header" }, [
|
|
2001
|
+
s[7] || (s[7] = c("span", null, " 菜单树 ", -1)),
|
|
2002
|
+
c("span", {
|
|
2008
2003
|
class: "close",
|
|
2009
2004
|
onClick: R
|
|
2010
2005
|
}, " X ")
|
|
2011
2006
|
]),
|
|
2012
|
-
|
|
2007
|
+
c("div", yl, [
|
|
2013
2008
|
a(B, { class: "client-body" }, {
|
|
2014
2009
|
default: C(() => [
|
|
2015
|
-
a(vl, { onNodeClick:
|
|
2010
|
+
a(vl, { onNodeClick: b })
|
|
2016
2011
|
]),
|
|
2017
2012
|
_: 1
|
|
2018
2013
|
})
|
|
@@ -2048,10 +2043,10 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2048
2043
|
}
|
|
2049
2044
|
},
|
|
2050
2045
|
emits: ["buildContent", "showChild"],
|
|
2051
|
-
setup(
|
|
2046
|
+
setup(Z, { emit: jA }) {
|
|
2052
2047
|
const g = vn(QA), vA = dn(QA), AA = an();
|
|
2053
2048
|
o(!1);
|
|
2054
|
-
const cA = o(!0), z =
|
|
2049
|
+
const cA = o(!0), z = Z, sA = jA, eA = (N) => {
|
|
2055
2050
|
sA("showChild", N);
|
|
2056
2051
|
}, q = RA(() => {
|
|
2057
2052
|
switch (z == null ? void 0 : z.platform) {
|
|
@@ -2063,44 +2058,44 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2063
2058
|
return Rt;
|
|
2064
2059
|
}
|
|
2065
2060
|
}), P = (N) => {
|
|
2066
|
-
const
|
|
2061
|
+
const G = document.documentElement;
|
|
2067
2062
|
N == null || N.forEach((aA) => {
|
|
2068
|
-
|
|
2063
|
+
G.style.setProperty(aA.name, aA.value);
|
|
2069
2064
|
});
|
|
2070
2065
|
};
|
|
2071
|
-
xA(() => z.platform, (N,
|
|
2066
|
+
xA(() => z.platform, (N, G) => {
|
|
2072
2067
|
N && P(q.value);
|
|
2073
2068
|
}, { immediate: !0 });
|
|
2074
|
-
const
|
|
2069
|
+
const M = () => {
|
|
2075
2070
|
sA("buildContent");
|
|
2076
2071
|
};
|
|
2077
2072
|
return xA(
|
|
2078
2073
|
() => [z == null ? void 0 : z.content, z == null ? void 0 : z.jsonContents],
|
|
2079
2074
|
async () => {
|
|
2080
|
-
var N,
|
|
2075
|
+
var N, G, aA, IA;
|
|
2081
2076
|
try {
|
|
2082
2077
|
if (((N = z == null ? void 0 : z.jsonContents) == null ? void 0 : N.length) > 0) {
|
|
2083
2078
|
g.setOriginalData(z == null ? void 0 : z.jsonContents);
|
|
2084
2079
|
return;
|
|
2085
2080
|
}
|
|
2086
|
-
if (!(z != null && z.content) || ((
|
|
2081
|
+
if (!(z != null && z.content) || ((G = z == null ? void 0 : z.content) == null ? void 0 : G.length) === 0) return;
|
|
2087
2082
|
cA.value = !0, AA.setImportLoading(!0);
|
|
2088
|
-
let
|
|
2083
|
+
let H = [], fA = [];
|
|
2089
2084
|
vA.setSelectTitle([]), vA.setSelectIndex(""), vA.setSelectMenu(""), (IA = (aA = z == null ? void 0 : z.content) == null ? void 0 : aA.filter((zA) => zA !== "")) == null || IA.forEach((zA) => {
|
|
2090
2085
|
fA.push(Pt(zA));
|
|
2091
|
-
}),
|
|
2086
|
+
}), H = fA == null ? void 0 : fA[0], await Ct(H), await vt(), g.setOriginalData(H);
|
|
2092
2087
|
} catch {
|
|
2093
2088
|
oe.error("模型内容错误");
|
|
2094
2089
|
}
|
|
2095
2090
|
AA.setImportLoading(!1);
|
|
2096
2091
|
},
|
|
2097
2092
|
{ deep: !0, immediate: !0 }
|
|
2098
|
-
), (N,
|
|
2099
|
-
|
|
2093
|
+
), (N, G) => (f(), Q("div", xl, [
|
|
2094
|
+
Z.platform === "three" ? (f(), lA(kl, {
|
|
2100
2095
|
key: 0,
|
|
2101
|
-
windowConfig:
|
|
2096
|
+
windowConfig: Z.windowConfig,
|
|
2102
2097
|
showButton: z == null ? void 0 : z.showButton,
|
|
2103
|
-
onBuildContent:
|
|
2098
|
+
onBuildContent: M,
|
|
2104
2099
|
onShowChild: eA,
|
|
2105
2100
|
platform: z == null ? void 0 : z.platform
|
|
2106
2101
|
}, {
|
|
@@ -2110,9 +2105,9 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2110
2105
|
_: 3
|
|
2111
2106
|
}, 8, ["windowConfig", "showButton", "platform"])) : (f(), lA(tl, {
|
|
2112
2107
|
key: 1,
|
|
2113
|
-
windowConfig:
|
|
2108
|
+
windowConfig: Z.windowConfig,
|
|
2114
2109
|
showButton: z == null ? void 0 : z.showButton,
|
|
2115
|
-
onBuildContent:
|
|
2110
|
+
onBuildContent: M,
|
|
2116
2111
|
onShowChild: eA,
|
|
2117
2112
|
platform: z == null ? void 0 : z.platform,
|
|
2118
2113
|
taskContent: z.urdfContent
|
|
@@ -2169,12 +2164,12 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2169
2164
|
}
|
|
2170
2165
|
},
|
|
2171
2166
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData"],
|
|
2172
|
-
setup(
|
|
2173
|
-
const g =
|
|
2167
|
+
setup(Z, { emit: jA }) {
|
|
2168
|
+
const g = Z, vA = jA;
|
|
2174
2169
|
pt();
|
|
2175
|
-
const AA = o([]), cA = o(0), z = o([]), sA = o([]), eA = o(0), q = vn(QA), P = an(QA), { itemData:
|
|
2170
|
+
const AA = o([]), cA = o(0), z = o([]), sA = o([]), eA = o(0), q = vn(QA), P = an(QA), { itemData: M, originalData: N } = BA(q), { activeMenuPath: G, platform: aA } = BA(P), IA = o(null), H = o(0), fA = o([]);
|
|
2176
2171
|
o("");
|
|
2177
|
-
const zA = o(0), OA = o([]), KA =
|
|
2172
|
+
const zA = o(0), OA = o([]), KA = wn(), { loginUserInfo: _, systemKey: VA } = BA(KA), NA = () => {
|
|
2178
2173
|
vA("buildContent");
|
|
2179
2174
|
};
|
|
2180
2175
|
xA(
|
|
@@ -2182,7 +2177,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2182
2177
|
async () => {
|
|
2183
2178
|
let n = {};
|
|
2184
2179
|
if ((g == null ? void 0 : g.pageKey) !== "") {
|
|
2185
|
-
const
|
|
2180
|
+
const u = await we(g == null ? void 0 : g.pageKey, sessionStorage.getItem("systemKey"), ""), I = await we("弯管仿真加工分析/管件解析", sessionStorage.getItem("systemKey"), "");
|
|
2186
2181
|
let j = ["管长", "外径"], V = {};
|
|
2187
2182
|
I == null || I.forEach((J) => {
|
|
2188
2183
|
var yA;
|
|
@@ -2192,17 +2187,17 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2192
2187
|
j.includes(HA == null ? void 0 : HA.key) && (V[HA.key] = HA.value);
|
|
2193
2188
|
}));
|
|
2194
2189
|
}));
|
|
2195
|
-
}),
|
|
2190
|
+
}), u == null || u.forEach((J) => {
|
|
2196
2191
|
var yA, EA, dA, HA, $A, Oe;
|
|
2197
2192
|
if ((J == null ? void 0 : J.comp) === "Table") {
|
|
2198
|
-
let ve = [], Pe = (dA = (EA = (yA = J == null ? void 0 : J.compData) == null ? void 0 : yA.find((tA) => (tA == null ? void 0 : tA.key) === "header")) == null ? void 0 : EA.contents) == null ? void 0 : dA.map((tA) => tA == null ? void 0 : tA.label), Ae = (Oe = ($A = (HA = J == null ? void 0 : J.compData) == null ? void 0 : HA.find((tA) => (tA == null ? void 0 : tA.key) === "tableContents")) == null ? void 0 : $A.contents) == null ? void 0 : Oe.map((tA) => (tA = tA == null ? void 0 : tA.filter((
|
|
2193
|
+
let ve = [], Pe = (dA = (EA = (yA = J == null ? void 0 : J.compData) == null ? void 0 : yA.find((tA) => (tA == null ? void 0 : tA.key) === "header")) == null ? void 0 : EA.contents) == null ? void 0 : dA.map((tA) => tA == null ? void 0 : tA.label), Ae = (Oe = ($A = (HA = J == null ? void 0 : J.compData) == null ? void 0 : HA.find((tA) => (tA == null ? void 0 : tA.key) === "tableContents")) == null ? void 0 : $A.contents) == null ? void 0 : Oe.map((tA) => (tA = tA == null ? void 0 : tA.filter((ZA) => !(ZA != null && ZA.id)), tA));
|
|
2199
2194
|
Ae == null || Ae.forEach((tA) => {
|
|
2200
|
-
ve.push(ft(tA, Pe == null ? void 0 : Pe.filter((
|
|
2195
|
+
ve.push(ft(tA, Pe == null ? void 0 : Pe.filter((ZA) => ZA !== "操作")));
|
|
2201
2196
|
}), n[J.name] = ve, n[J.name + "Content"] = J;
|
|
2202
2197
|
}
|
|
2203
2198
|
}), n.extra = V;
|
|
2204
|
-
const
|
|
2205
|
-
n.singleRobotData =
|
|
2199
|
+
const y = await Wt(), m = await Ut();
|
|
2200
|
+
n.singleRobotData = y, n.doubleRobotData = m, vA("threeData", n);
|
|
2206
2201
|
}
|
|
2207
2202
|
},
|
|
2208
2203
|
{ deep: !0, immediate: !0 }
|
|
@@ -2224,15 +2219,15 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2224
2219
|
vA("contentChange", n);
|
|
2225
2220
|
}, XA = (n) => {
|
|
2226
2221
|
var I;
|
|
2227
|
-
const
|
|
2222
|
+
const u = (I = fn(n == null ? void 0 : n.wholeValue)) == null ? void 0 : I.map((j) => {
|
|
2228
2223
|
var V;
|
|
2229
|
-
return (j == null ? void 0 : j.comp) === "Form" && (j.compData = (V = j.compData) == null ? void 0 : V.map((
|
|
2224
|
+
return (j == null ? void 0 : j.comp) === "Form" && (j.compData = (V = j.compData) == null ? void 0 : V.map((y) => ((y == null ? void 0 : y.key) === "formContent" && (y.contents = Ht(y == null ? void 0 : y.contents)), y))), j;
|
|
2230
2225
|
});
|
|
2231
2226
|
vA("change", {
|
|
2232
2227
|
originalContents: N.value,
|
|
2233
2228
|
currentContents: n == null ? void 0 : n.wholeValue,
|
|
2234
2229
|
editContent: n == null ? void 0 : n.editValue,
|
|
2235
|
-
arrayToContents:
|
|
2230
|
+
arrayToContents: u
|
|
2236
2231
|
});
|
|
2237
2232
|
};
|
|
2238
2233
|
xA(
|
|
@@ -2246,19 +2241,19 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2246
2241
|
IA.value !== null && IA.value.click();
|
|
2247
2242
|
}, pA = async (n) => {
|
|
2248
2243
|
P.setActiveMenuPath(""), P.setActiveTopMenuPath(""), P.setAsideMenus([]);
|
|
2249
|
-
const
|
|
2250
|
-
if (!
|
|
2251
|
-
new FileReader(), AA.value = [], z.value = [], zA.value =
|
|
2252
|
-
const I = Array.from(
|
|
2253
|
-
const
|
|
2254
|
-
|
|
2244
|
+
const u = n.target.files;
|
|
2245
|
+
if (!u) return;
|
|
2246
|
+
new FileReader(), AA.value = [], z.value = [], zA.value = u.length;
|
|
2247
|
+
const I = Array.from(u).map(async (j) => await new Promise((V) => {
|
|
2248
|
+
const y = new FileReader();
|
|
2249
|
+
y.onload = (m) => {
|
|
2255
2250
|
try {
|
|
2256
|
-
z.value.push(m.target.result),
|
|
2251
|
+
z.value.push(m.target.result), H.value++;
|
|
2257
2252
|
} catch (J) {
|
|
2258
2253
|
console.error("解析失败:", J);
|
|
2259
2254
|
return;
|
|
2260
2255
|
}
|
|
2261
|
-
},
|
|
2256
|
+
}, y.onerror = () => V(`读取 ${j.name} 失败`), y.readAsText(j), n.target.value = "", IA.value = null, cA.value++;
|
|
2262
2257
|
}));
|
|
2263
2258
|
await Promise.all(I);
|
|
2264
2259
|
};
|
|
@@ -2269,7 +2264,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2269
2264
|
},
|
|
2270
2265
|
{ deep: !0, immediate: !0 }
|
|
2271
2266
|
), xA(
|
|
2272
|
-
() =>
|
|
2267
|
+
() => H.value,
|
|
2273
2268
|
() => {
|
|
2274
2269
|
var n;
|
|
2275
2270
|
((n = fA.value) == null ? void 0 : n.length) !== 0 && (q.setOriginalData(fA.value), q.setItemData(fA.value));
|
|
@@ -2279,23 +2274,23 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2279
2274
|
const $ = o({
|
|
2280
2275
|
targetModel: "",
|
|
2281
2276
|
modelName: ""
|
|
2282
|
-
}), nA = o([]),
|
|
2277
|
+
}), nA = o([]), WA = o(!1), le = RA(() => {
|
|
2283
2278
|
const n = (nA == null ? void 0 : nA.value) || [];
|
|
2284
2279
|
if (!n.length)
|
|
2285
2280
|
return !1;
|
|
2286
|
-
const
|
|
2281
|
+
const u = n == null ? void 0 : n[0], I = u == null ? void 0 : u.name;
|
|
2287
2282
|
return !(n.length === 1 && !I);
|
|
2288
2283
|
}), ie = () => {
|
|
2289
|
-
|
|
2284
|
+
WA.value = !1;
|
|
2290
2285
|
}, Be = async () => {
|
|
2291
|
-
var V,
|
|
2292
|
-
const n = (V = _ == null ? void 0 : _.value) == null ? void 0 : V.account,
|
|
2286
|
+
var V, y, m;
|
|
2287
|
+
const n = (V = _ == null ? void 0 : _.value) == null ? void 0 : V.account, u = (y = _ == null ? void 0 : _.value) == null ? void 0 : y.password;
|
|
2293
2288
|
if (!n)
|
|
2294
2289
|
return;
|
|
2295
2290
|
const I = await ue({
|
|
2296
2291
|
valueLikes: {
|
|
2297
2292
|
"tableData.account": n,
|
|
2298
|
-
"tableData.password":
|
|
2293
|
+
"tableData.password": u
|
|
2299
2294
|
}
|
|
2300
2295
|
});
|
|
2301
2296
|
let j = ((m = I == null ? void 0 : I.data) == null ? void 0 : m.result) || [];
|
|
@@ -2304,20 +2299,20 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2304
2299
|
return ((dA = (EA = J == null ? void 0 : J.value) == null ? void 0 : EA.tableData) == null ? void 0 : dA.account) === n;
|
|
2305
2300
|
}), j;
|
|
2306
2301
|
}, ze = async () => {
|
|
2307
|
-
const n = await Be(),
|
|
2308
|
-
nA.value =
|
|
2302
|
+
const n = await Be(), u = n == null ? void 0 : n.map((I) => I == null ? void 0 : I.key);
|
|
2303
|
+
nA.value = u;
|
|
2309
2304
|
}, De = () => {
|
|
2310
2305
|
if (!$.value.targetModel) {
|
|
2311
|
-
const
|
|
2306
|
+
const u = nA.value, I = u == null ? void 0 : u[0], j = I == null ? void 0 : I.systemKey;
|
|
2312
2307
|
$.value.targetModel = j;
|
|
2313
2308
|
}
|
|
2314
2309
|
}, kA = async () => {
|
|
2315
|
-
var
|
|
2316
|
-
(
|
|
2317
|
-
},
|
|
2310
|
+
var u;
|
|
2311
|
+
(u = _ == null ? void 0 : _.value) != null && u.account && (WA.value = !0, await ze(), De());
|
|
2312
|
+
}, UA = (n) => {
|
|
2318
2313
|
sessionStorage.setItem("systemKey", n), KA.setSystemKey(n), Nt();
|
|
2319
2314
|
}, Qe = async (n) => {
|
|
2320
|
-
var
|
|
2315
|
+
var u, I, j, V, y, m, J, yA, EA;
|
|
2321
2316
|
try {
|
|
2322
2317
|
const dA = await ue({
|
|
2323
2318
|
key: {
|
|
@@ -2325,8 +2320,8 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2325
2320
|
layer: "superAdmin"
|
|
2326
2321
|
}
|
|
2327
2322
|
});
|
|
2328
|
-
if (((
|
|
2329
|
-
const HA = (
|
|
2323
|
+
if (((u = dA == null ? void 0 : dA.data) == null ? void 0 : u.code) === 200) {
|
|
2324
|
+
const HA = (y = (V = (j = (I = dA == null ? void 0 : dA.data) == null ? void 0 : I.result) == null ? void 0 : j[0]) == null ? void 0 : V.key) == null ? void 0 : y.systemType;
|
|
2330
2325
|
let $A = "browser";
|
|
2331
2326
|
HA === "制造系统" && ($A = "client"), HA === "三维系统" && ($A = "three"), P.setPlatform($A), P.setPlatName(((EA = (yA = (J = (m = dA == null ? void 0 : dA.data) == null ? void 0 : m.result) == null ? void 0 : J[0]) == null ? void 0 : yA.key) == null ? void 0 : EA.name) ?? "");
|
|
2332
2327
|
}
|
|
@@ -2342,11 +2337,11 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2342
2337
|
oe.warning("请先选择模型");
|
|
2343
2338
|
return;
|
|
2344
2339
|
}
|
|
2345
|
-
ie(),
|
|
2340
|
+
ie(), UA($.value.targetModel), Qe($.value.targetModel);
|
|
2346
2341
|
}
|
|
2347
2342
|
}, xe = async () => {
|
|
2348
|
-
var
|
|
2349
|
-
(
|
|
2343
|
+
var u, I, j;
|
|
2344
|
+
(u = _ == null ? void 0 : _.value) == null || u.account, (I = _ == null ? void 0 : _.value) == null || I.password;
|
|
2350
2345
|
const n = await ue({
|
|
2351
2346
|
key: {
|
|
2352
2347
|
pageKey: "/user"
|
|
@@ -2357,18 +2352,18 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2357
2352
|
const n = await xe();
|
|
2358
2353
|
return n == null ? void 0 : n.reduce((I, j) => {
|
|
2359
2354
|
var m;
|
|
2360
|
-
const V = ((m = j == null ? void 0 : j.key) == null ? void 0 : m.systemKey) || -1,
|
|
2361
|
-
return Math.max(
|
|
2355
|
+
const V = ((m = j == null ? void 0 : j.key) == null ? void 0 : m.systemKey) || -1, y = Number(V);
|
|
2356
|
+
return Math.max(y, I);
|
|
2362
2357
|
}, 0);
|
|
2363
2358
|
}, pe = async () => {
|
|
2364
2359
|
const n = await Ne();
|
|
2365
|
-
|
|
2360
|
+
UA(n), Qe(n), ie();
|
|
2366
2361
|
}, Ne = async () => {
|
|
2367
|
-
var
|
|
2362
|
+
var y, m, J;
|
|
2368
2363
|
const n = await de();
|
|
2369
2364
|
if (!n)
|
|
2370
2365
|
return;
|
|
2371
|
-
const
|
|
2366
|
+
const u = n + 1, I = u.toString(), j = (y = _ == null ? void 0 : _.value) == null ? void 0 : y.account, V = (m = _ == null ? void 0 : _.value) == null ? void 0 : m.password;
|
|
2372
2367
|
return (J = $ == null ? void 0 : $.value) == null || J.modelName, await Et({
|
|
2373
2368
|
key: {
|
|
2374
2369
|
pageKey: "/user",
|
|
@@ -2381,85 +2376,85 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2381
2376
|
password: V
|
|
2382
2377
|
}
|
|
2383
2378
|
}
|
|
2384
|
-
}),
|
|
2379
|
+
}), u;
|
|
2385
2380
|
}, qA = async (n) => {
|
|
2386
2381
|
if (!n)
|
|
2387
2382
|
return;
|
|
2388
|
-
const
|
|
2383
|
+
const u = (n == null ? void 0 : n.key) || {}, I = {
|
|
2389
2384
|
id: n == null ? void 0 : n.id,
|
|
2390
2385
|
key: {
|
|
2391
|
-
...
|
|
2386
|
+
...u,
|
|
2392
2387
|
name: ""
|
|
2393
2388
|
}
|
|
2394
2389
|
};
|
|
2395
2390
|
await At(I);
|
|
2396
|
-
},
|
|
2391
|
+
}, MA = async (n) => {
|
|
2397
2392
|
var I;
|
|
2398
|
-
const
|
|
2399
|
-
(
|
|
2400
|
-
ids:
|
|
2393
|
+
const u = (I = n == null ? void 0 : n.map((j) => j == null ? void 0 : j.id)) == null ? void 0 : I.filter((j) => j);
|
|
2394
|
+
(u == null ? void 0 : u.length) > 0 && await Gn({
|
|
2395
|
+
ids: u
|
|
2401
2396
|
});
|
|
2402
2397
|
}, me = async () => {
|
|
2403
2398
|
$.value.targetModel = "", await kA();
|
|
2404
2399
|
}, We = async (n) => {
|
|
2405
2400
|
var j, V;
|
|
2406
2401
|
P.setImportLoading(!0);
|
|
2407
|
-
const
|
|
2402
|
+
const u = await Be().catch((y) => (P.setImportLoading(!1), oe.error("删除失败"), Promise.reject(y))), I = u == null ? void 0 : u.find((y) => {
|
|
2408
2403
|
var J;
|
|
2409
|
-
const m = (J =
|
|
2404
|
+
const m = (J = y == null ? void 0 : y.key) == null ? void 0 : J.systemKey;
|
|
2410
2405
|
return n === m;
|
|
2411
2406
|
});
|
|
2412
|
-
if (I && (
|
|
2413
|
-
const
|
|
2407
|
+
if (I && (u == null ? void 0 : u.length) === 1 && await qA(I).catch((y) => (P.setImportLoading(!1), oe.error("删除失败"), Promise.reject(y))), I && (u == null ? void 0 : u.length) > 1) {
|
|
2408
|
+
const y = await ue({
|
|
2414
2409
|
key: {
|
|
2415
2410
|
systemKey: n
|
|
2416
2411
|
}
|
|
2417
2412
|
}).catch((m) => (P.setImportLoading(!1), oe.error("删除失败"), Promise.reject(m)));
|
|
2418
|
-
if (((j =
|
|
2419
|
-
const m = (V =
|
|
2420
|
-
await
|
|
2413
|
+
if (((j = y == null ? void 0 : y.data) == null ? void 0 : j.code) === 200) {
|
|
2414
|
+
const m = (V = y == null ? void 0 : y.data) == null ? void 0 : V.result;
|
|
2415
|
+
await MA(m).catch((J) => (P.setImportLoading(!1), oe.error("删除失败"), Promise.reject(J)));
|
|
2421
2416
|
}
|
|
2422
2417
|
}
|
|
2423
2418
|
await me(), P.setImportLoading(!1), oe.success("删除成功");
|
|
2424
2419
|
};
|
|
2425
|
-
xA(() =>
|
|
2420
|
+
xA(() => VA.value, (n) => {
|
|
2426
2421
|
(g == null ? void 0 : g.oldSystemKey) === "" && ($.value.targetModel = n, n || kA());
|
|
2427
2422
|
}, { deep: !0, immediate: !0 });
|
|
2428
2423
|
const _A = async () => {
|
|
2429
|
-
var
|
|
2424
|
+
var u, I, j, V;
|
|
2430
2425
|
P.setImportLoading(!0);
|
|
2431
2426
|
const n = await ue({
|
|
2432
2427
|
key: {
|
|
2433
2428
|
systemKey: sessionStorage.getItem("systemKey")
|
|
2434
2429
|
}
|
|
2435
2430
|
});
|
|
2436
|
-
if (((
|
|
2437
|
-
let
|
|
2431
|
+
if (((u = n == null ? void 0 : n.data) == null ? void 0 : u.code) === 200) {
|
|
2432
|
+
let y = (V = (j = (I = n == null ? void 0 : n.data) == null ? void 0 : I.result) == null ? void 0 : j.map((m) => {
|
|
2438
2433
|
var J;
|
|
2439
2434
|
if (((J = m == null ? void 0 : m.key) == null ? void 0 : J.layer) !== "superAdmin")
|
|
2440
2435
|
return m == null ? void 0 : m.id;
|
|
2441
2436
|
})) == null ? void 0 : V.filter((m) => m);
|
|
2442
|
-
(
|
|
2443
|
-
ids:
|
|
2437
|
+
(y == null ? void 0 : y.length) > 0 && await Gn({
|
|
2438
|
+
ids: y
|
|
2444
2439
|
}), P.setRawMenus([]), q.setRefreshCurStructure(!0);
|
|
2445
2440
|
}
|
|
2446
2441
|
P.setImportLoading(!1);
|
|
2447
2442
|
};
|
|
2448
|
-
return (n,
|
|
2443
|
+
return (n, u) => {
|
|
2449
2444
|
const I = oA("svg-icon"), j = oA("el-button");
|
|
2450
2445
|
return f(), Q("div", Jl, [
|
|
2451
2446
|
(g == null ? void 0 : g.mode) === "edit" ? (f(), Q("div", Sl, [
|
|
2452
|
-
|
|
2453
|
-
a(
|
|
2447
|
+
c("div", Ll, [
|
|
2448
|
+
a(jn)
|
|
2454
2449
|
]),
|
|
2455
2450
|
(f(), Q("div", {
|
|
2456
2451
|
class: "model-show",
|
|
2457
2452
|
key: eA.value
|
|
2458
2453
|
}, [
|
|
2459
|
-
a(
|
|
2454
|
+
a(yn)
|
|
2460
2455
|
])),
|
|
2461
|
-
|
|
2462
|
-
a(
|
|
2456
|
+
c("div", hl, [
|
|
2457
|
+
a(Hn)
|
|
2463
2458
|
])
|
|
2464
2459
|
])) : W("", !0),
|
|
2465
2460
|
(g == null ? void 0 : g.mode) === "view" ? (f(), Q("div", Rl, [
|
|
@@ -2470,13 +2465,13 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2470
2465
|
onChange: XA,
|
|
2471
2466
|
jsonContents: sA.value,
|
|
2472
2467
|
onContentChange: ge,
|
|
2473
|
-
onBuildContent:
|
|
2468
|
+
onBuildContent: NA,
|
|
2474
2469
|
key: eA.value,
|
|
2475
2470
|
onShowChild: DA,
|
|
2476
2471
|
urdfContent: OA.value
|
|
2477
2472
|
}, {
|
|
2478
2473
|
default: C(() => [
|
|
2479
|
-
a(
|
|
2474
|
+
a(Bn, null, {
|
|
2480
2475
|
dropTitle: C(() => {
|
|
2481
2476
|
var V;
|
|
2482
2477
|
return [
|
|
@@ -2488,7 +2483,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2488
2483
|
a(I, { name: "model" })
|
|
2489
2484
|
]),
|
|
2490
2485
|
default: C(() => [
|
|
2491
|
-
|
|
2486
|
+
u[0] || (u[0] = te(" 模型 "))
|
|
2492
2487
|
]),
|
|
2493
2488
|
_: 1,
|
|
2494
2489
|
__: [0]
|
|
@@ -2496,7 +2491,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2496
2491
|
];
|
|
2497
2492
|
}),
|
|
2498
2493
|
dropMenu: C(() => [
|
|
2499
|
-
|
|
2494
|
+
c("div", Kl, [
|
|
2500
2495
|
a(j, {
|
|
2501
2496
|
onClick: fe,
|
|
2502
2497
|
style: { width: "100%", margin: "0" }
|
|
@@ -2515,7 +2510,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2515
2510
|
style: { display: "none" },
|
|
2516
2511
|
multiple: ""
|
|
2517
2512
|
}, null, 32)),
|
|
2518
|
-
|
|
2513
|
+
u[1] || (u[1] = te(" 导入模型 "))
|
|
2519
2514
|
]),
|
|
2520
2515
|
_: 1,
|
|
2521
2516
|
__: [1]
|
|
@@ -2525,7 +2520,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2525
2520
|
a(I, { name: "export" })
|
|
2526
2521
|
]),
|
|
2527
2522
|
default: C(() => [
|
|
2528
|
-
|
|
2523
|
+
u[2] || (u[2] = te(" 导出模型 "))
|
|
2529
2524
|
]),
|
|
2530
2525
|
_: 1,
|
|
2531
2526
|
__: [2]
|
|
@@ -2538,7 +2533,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2538
2533
|
a(I, { name: "clear" })
|
|
2539
2534
|
]),
|
|
2540
2535
|
default: C(() => [
|
|
2541
|
-
|
|
2536
|
+
u[3] || (u[3] = te(" 清空模型 "))
|
|
2542
2537
|
]),
|
|
2543
2538
|
_: 1,
|
|
2544
2539
|
__: [3]
|
|
@@ -2553,7 +2548,7 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2553
2548
|
])) : W("", !0),
|
|
2554
2549
|
a(rn, {
|
|
2555
2550
|
class: "select-model-dialog",
|
|
2556
|
-
visible:
|
|
2551
|
+
visible: WA.value && (g == null ? void 0 : g.oldSystemKey) === "",
|
|
2557
2552
|
onBeforeDestroy: ie,
|
|
2558
2553
|
showClose: !1,
|
|
2559
2554
|
closeOnClickModal: !1,
|
|
@@ -2563,12 +2558,12 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2563
2558
|
appendToBody: !1
|
|
2564
2559
|
}, {
|
|
2565
2560
|
default: C(() => {
|
|
2566
|
-
var V,
|
|
2561
|
+
var V, y;
|
|
2567
2562
|
return [
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2563
|
+
c("div", Dl, [
|
|
2564
|
+
c("div", Nl, [
|
|
2565
|
+
u[4] || (u[4] = c("div", { class: "create-project-title" }, " 新建项目 ", -1)),
|
|
2566
|
+
c("div", Wl, [
|
|
2572
2567
|
a(be, {
|
|
2573
2568
|
emptyColor: !0,
|
|
2574
2569
|
onClickTrigger: pe,
|
|
@@ -2577,10 +2572,10 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2577
2572
|
})
|
|
2578
2573
|
])
|
|
2579
2574
|
]),
|
|
2580
|
-
|
|
2581
|
-
|
|
2575
|
+
c("div", Ul, [
|
|
2576
|
+
u[5] || (u[5] = c("div", { class: "enter-project-title" }, "项目列表", -1)),
|
|
2582
2577
|
(V = nA.value) != null && V.length ? (f(), Q("div", Ml, [
|
|
2583
|
-
(f(!0), Q(hA, null,
|
|
2578
|
+
(f(!0), Q(hA, null, FA(nA.value, (m) => {
|
|
2584
2579
|
var J;
|
|
2585
2580
|
return f(), Q("div", {
|
|
2586
2581
|
class: He(["project-item", {
|
|
@@ -2588,8 +2583,8 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2588
2583
|
}]),
|
|
2589
2584
|
onClick: (yA) => Xe(m == null ? void 0 : m.systemKey)
|
|
2590
2585
|
}, [
|
|
2591
|
-
|
|
2592
|
-
|
|
2586
|
+
c("div", Tl, CA(`${m.name ?? ""}(${m.systemKey})`), 1),
|
|
2587
|
+
c("div", Yl, [
|
|
2593
2588
|
((J = nA.value) == null ? void 0 : J.length) > 1 ? (f(), lA(I, {
|
|
2594
2589
|
key: 0,
|
|
2595
2590
|
class: "project-delete",
|
|
@@ -2600,9 +2595,9 @@ const sl = /* @__PURE__ */ Ie(dt, [["render", ul], ["__scopeId", "data-v-94d06d5
|
|
|
2600
2595
|
], 10, Zl);
|
|
2601
2596
|
}), 256))
|
|
2602
2597
|
])) : W("", !0),
|
|
2603
|
-
|
|
2598
|
+
c("div", Gl, [
|
|
2604
2599
|
a(be, {
|
|
2605
|
-
class: He({ "enter-button-disable": !((
|
|
2600
|
+
class: He({ "enter-button-disable": !((y = nA.value) != null && y.length) }),
|
|
2606
2601
|
emptyColor: !0,
|
|
2607
2602
|
onClickTrigger: re,
|
|
2608
2603
|
modelValue: "进入项目",
|