ss-component-new 1.3.635 → 1.3.637
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/{MTLLoader-Be67H65Y.js → MTLLoader-BhPRX0CZ.js} +2 -2
- package/dist/{URDFLoader-OnBXPYta.js → URDFLoader-BpPDZViQ.js} +584 -589
- package/dist/{animationData-Dtv6g6wX.js → animationData-kvE7JyPv.js} +3 -3
- package/dist/{array-CgfItA2V.js → array-BWEImZdF.js} +14 -13
- package/dist/{clone-nfIVIy2M.js → clone-CbeCG3Ov.js} +1 -1
- package/dist/{eleIcon-BS0PHlNG.js → eleIcon-Dtsx377t.js} +2 -2
- package/dist/{iconfont-BRuEQM-A.js → iconfont-j7YIG3U0.js} +91 -91
- package/dist/{index-uG-UwNM_.js → index-0pXMlACe.js} +5 -5
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-CqY3swL7.js → index-8tW9j6Nd.js} +869 -832
- package/dist/{index-BHcfu2gF.js → index-9Fyu8Pxd.js} +3 -3
- package/dist/{index-BFDlhDPX.js → index-B4gAc7Q7.js} +4 -4
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-DVNTKLDh.js → index-BI3gwdBk.js} +1 -1
- package/dist/{index-BeNG_zYz.js → index-BK7QfhLA.js} +3 -3
- package/dist/{index-BV19CqoI.js → index-BKn0j-z9.js} +62 -60
- package/dist/{index-BrZu5oa0.js → index-BR4lT5aP.js} +1 -1
- package/dist/{index-DKoy1_kK.js → index-B_k0K6PO.js} +4 -4
- package/dist/{index-DaD_eT8U.js → index-C1AsV1nW.js} +3 -3
- package/dist/{index-BFDHyF-p.js → index-C5Oqc7UY.js} +9442 -9882
- package/dist/{index-Bd8X2qgc.js → index-CDpLX430.js} +8 -7
- package/dist/{index-CAlUiw4g.js → index-CRtGyvT8.js} +40 -36
- package/dist/{index-DtfHDGqE.js → index-CXcBEnqs.js} +3 -3
- package/dist/{index-CzlZH70A.js → index-CaXC8Jyl.js} +5 -5
- package/dist/{index-H-BeqULe.js → index-ClRBUdeO.js} +6 -6
- package/dist/{index-CDIk-Q-C.js → index-CtvxzFRf.js} +967 -966
- package/dist/{index-CaMAJdwV.js → index-CyDayZei.js} +20 -17
- package/dist/{index-CTXAYaZ6.js → index-DB30Hy6E.js} +35 -29
- package/dist/{index-Dfn173QK.js → index-DB7oGP7_.js} +2 -2
- package/dist/{index-nj1izCD6.js → index-DCcZFrdx.js} +8 -8
- package/dist/{index-DVn0RHsR.js → index-DLETjcf6.js} +20 -18
- package/dist/index-DZFlCczr.js +572 -0
- package/dist/{index-B_q85hJ-.js → index-DePuqaJT.js} +61 -57
- package/dist/{index-CP5RTEDo.js → index-DnisKIF5.js} +7 -7
- package/dist/{index-7lcpKmtH.js → index-DvpRXl9O.js} +8 -8
- package/dist/{index-BGn_3mwT.js → index-LiXGVpj2.js} +23668 -23588
- package/dist/{index-Ch1Lxo2h.js → index-TGai9FYc.js} +2 -2
- package/dist/{index-uKYhk8ac.js → index-YLl_DR7v.js} +157 -148
- package/dist/{index-DLVByRyI.js → index-dOgKiCxS.js} +944 -943
- package/dist/{index-ZnBALg-t.js → index-eK-McAIf.js} +4 -4
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-Bjta5SH6.js → index-tLd2cEHX.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-D73nHNBa.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DLv4Xaej.js} +27736 -27761
- package/dist/isString-CXX7MUiv.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-COo57LKP.js → main-DNxulNJR.js} +9 -9
- package/dist/{menuIndex-Dc8x1UZu.js → menuIndex-BsSEf1du.js} +1 -1
- package/dist/{request-BBGFvuRu.js → request-D-LN5bvn.js} +3075 -3493
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-rc2BcoJB.js → threeModel-DPdxQ4BL.js} +174 -174
- package/dist/{threePreview-BKg4VG2g.js → threePreview-DDNHkD4f.js} +12 -12
- package/dist/{threeSceneView-CtKitssX.js → threeSceneView-DK1a8OAr.js} +24 -23
- package/dist/{threeSceneViewForCPMPIP-Ru8_rjK5.js → threeSceneViewForCPMPIP-B_3WdbGd.js} +17 -16
- package/dist/{threeTrackPathView-BxUX6wbt.js → threeTrackPathView-2n1r4CMg.js} +7 -7
- package/dist/{threeViewerHost-Do43SJRT.js → threeViewerHost-DVUdZBs8.js} +4 -4
- package/dist/{urdfTree-CsEZt-eV.js → urdfTree-Ce5xQv0I.js} +9 -9
- package/dist/{workpieceTreePanel-BJWDjT4s.js → workpieceTreePanel-D_5p7rhI.js} +60 -56
- package/package.json +1 -1
- package/dist/index-fcltRNgh.js +0 -2623
- package/dist/isString-AVf8LXlf.js +0 -8
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import { computed as El, defineComponent as Kl, defineProps as Zt, ref as
|
|
2
|
-
import { m as $t, a as es, b as ls, c as io } from "./array-
|
|
3
|
-
import { u as zl, p as Al, s as ml, c as Bl, a as va, b as ua, j as xt, k as ro, m as co, n as uo, o as $a, d as Pt, l as po, q as Wa, e as Xa, r as fo, E as Ha, t as Kt, w as dt, v as pt, x as
|
|
4
|
-
import { _ as bt, s as as, a as wo } from "./index-
|
|
1
|
+
import { computed as El, defineComponent as Kl, defineProps as Zt, ref as S, watch as bl, onMounted as la, onUnmounted as gt, resolveComponent as ae, createBlock as he, openBlock as p, withCtx as n, createElementVNode as x, toDisplayString as nl, createElementBlock as G, Fragment as al, createVNode as s, renderList as fl, withModifiers as ql, normalizeStyle as Ql, createTextVNode as pl, createCommentVNode as Ve, unref as r, resolveDynamicComponent as ba, provide as ut, shallowRef as no, resolveDirective as yt, withDirectives as ia, vShow as La, renderSlot as na, normalizeClass as Fl, createSlots as Dt, mergeProps as Mn, defineAsyncComponent as sn, reactive as Yl, nextTick as ra, withKeys as oo } from "vue";
|
|
2
|
+
import { m as $t, a as es, b as ls, c as io } from "./array-BWEImZdF.js";
|
|
3
|
+
import { u as zl, p as Al, s as ml, c as Bl, a as va, b as ua, j as xt, k as ro, m as co, n as uo, o as $a, d as Pt, l as po, q as Wa, e as Xa, r as fo, E as Ha, t as Kt, w as dt, v as pt, x as _n, y as ho, z as In, i as vo, A as Rt, B as Ta, C as nn, D as go, F as Sn, G as yo, H as bo, I as Tn, J as on, K as Co, L as mo } from "./index-CtvxzFRf.js";
|
|
4
|
+
import { _ as bt, s as as, a as wo } from "./index-BKn0j-z9.js";
|
|
5
5
|
import { useRouter as et } from "vue-router";
|
|
6
6
|
import { a as Ct, d as ts, e as mt, f as wt, g as kt, h as At, t as ko, c as Ao, b as Mo } from "./index-ChNfRlIP.js";
|
|
7
|
-
import { g as Za, s as
|
|
8
|
-
import { u as Dn, g as cn, b as un, c as Eo, a as Do } from "./index-
|
|
9
|
-
import { E as Ol, i as Po, d as Pn, b as
|
|
10
|
-
import { b as No, g as Un, c as Qo, u as ss, d as ma, e as vt, o as Ln, l as Ko, n as Wo, f as Ho, h as ja, s as Bt, t as qo, i as Yo } from "./index-
|
|
11
|
-
import { d as Fo, g as ft, a as Jo } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
12
|
-
import { t as zo, a as jn, b as
|
|
13
|
-
import "./
|
|
14
|
-
import "./index-
|
|
15
|
-
import
|
|
7
|
+
import { g as Za, s as _o, a as Bn, b as Io, c as rn, _ as Wt, u as So, d as En, X as To, Q as Bo } from "./index-C5Oqc7UY.js";
|
|
8
|
+
import { u as Dn, g as cn, b as un, c as Eo, a as Do } from "./index-tLd2cEHX.js";
|
|
9
|
+
import { E as Ol, i as Po, d as Pn, b as Sa, I as Ro, s as ga, e as Rn, a as xn, c as Vn, g as xo, h as Vo, p as On, m as Oo, j as Uo, k as Lo, f as jo } from "./request-D-LN5bvn.js";
|
|
10
|
+
import { b as No, g as Un, c as Qo, u as ss, d as ma, e as vt, o as Ln, l as Ko, n as Wo, f as Ho, h as ja, s as Bt, t as qo, i as Yo } from "./index-dOgKiCxS.js";
|
|
11
|
+
import { d as Fo, g as ft, a as Jo } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DLv4Xaej.js";
|
|
12
|
+
import { t as zo, a as jn, b as Ia, u as Nn, s as Ca, r as ca, o as Ma, c as _a, d as Qn, e as Ht, f as Kn, h as ns, i as Xo, j as Go, k as nt, l as Vt, m as ot, n as Pa, p as Fa, q as Ra, v as Zo, w as xa, x as Va, y as $o, z as Oa, A as Ua, B as Ja, D as dn, C as pn, E as fn, F as hn, G as It, H as pa, I as ei, J as li, K as Ot, L as ai, M as ti, N as si, O as ni, g as Wn, P as oi, Q as vn, R as ii, S as ri } from "./index-LiXGVpj2.js";
|
|
13
|
+
import "./JSEncrypt-B36c1iN5.js";
|
|
14
|
+
import "./index-DnisKIF5.js";
|
|
15
|
+
import "./index-BI3gwdBk.js";
|
|
16
|
+
import { c as os, f as ea, b as Hn, a as ci, g as ui, d as gn } from "./menuIndex-BsSEf1du.js";
|
|
16
17
|
import { _ as aa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
import { s as ha } from "./index-
|
|
18
|
-
import { C as di } from "./index-
|
|
19
|
-
import { S as Nl } from "./index-
|
|
20
|
-
import pi from "./threeModel-
|
|
21
|
-
import { _ as wa } from "./index.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { T as qt, u as fi, a as hi } from "./threeViewerHost-
|
|
23
|
-
import { s as Yt } from "./index-
|
|
24
|
-
import { u as vi } from "./index-
|
|
25
|
-
import { u as gi } from "./index-
|
|
26
|
-
import { u as qn } from "./index-
|
|
27
|
-
import { T as yn } from "./iconfont-
|
|
28
|
-
import { f as yi, a as bi } from "./animationData-
|
|
18
|
+
import { s as ha } from "./index-11kpzK0A.js";
|
|
19
|
+
import { C as di } from "./index-CRtGyvT8.js";
|
|
20
|
+
import { S as Nl } from "./index-BHtNKL1L.js";
|
|
21
|
+
import pi from "./threeModel-DPdxQ4BL.js";
|
|
22
|
+
import { _ as wa } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
23
|
+
import { T as qt, u as fi, a as hi } from "./threeViewerHost-DVUdZBs8.js";
|
|
24
|
+
import { s as Yt } from "./index-DZFlCczr.js";
|
|
25
|
+
import { u as vi } from "./index-TGai9FYc.js";
|
|
26
|
+
import { u as gi } from "./index-BR4lT5aP.js";
|
|
27
|
+
import { u as qn } from "./index-9Fyu8Pxd.js";
|
|
28
|
+
import { T as yn } from "./iconfont-j7YIG3U0.js";
|
|
29
|
+
import { f as yi, a as bi } from "./animationData-kvE7JyPv.js";
|
|
29
30
|
zl();
|
|
30
31
|
const Ci = zl(), Yn = async (l, f) => {
|
|
31
|
-
var o, h,
|
|
32
|
+
var o, h, _, L;
|
|
32
33
|
try {
|
|
33
|
-
const
|
|
34
|
+
const I = await Dn({
|
|
34
35
|
id: l,
|
|
35
36
|
value: {
|
|
36
37
|
pageData: f
|
|
37
38
|
}
|
|
38
39
|
});
|
|
39
|
-
if (((o =
|
|
40
|
-
const V = (
|
|
40
|
+
if (((o = I == null ? void 0 : I.data) == null ? void 0 : o.code) === 200) {
|
|
41
|
+
const V = (_ = (h = f == null ? void 0 : f.compData) == null ? void 0 : h[0]) == null ? void 0 : _.contents;
|
|
41
42
|
Ci.setRawMenus(V ?? []);
|
|
42
43
|
}
|
|
43
|
-
return (L =
|
|
44
|
-
} catch (
|
|
45
|
-
return Promise.reject(
|
|
44
|
+
return (L = I == null ? void 0 : I.data) == null ? void 0 : L.code;
|
|
45
|
+
} catch (I) {
|
|
46
|
+
return Promise.reject(I);
|
|
46
47
|
}
|
|
47
48
|
}, it = {
|
|
48
49
|
ROLE: {
|
|
@@ -149,7 +150,7 @@ function Mi(l = "menu") {
|
|
|
149
150
|
type: String,
|
|
150
151
|
default: "vertical"
|
|
151
152
|
}
|
|
152
|
-
}), o =
|
|
153
|
+
}), o = S("sub-menu-more"), h = zl(), _ = va(Al), L = S(0), I = et(), {
|
|
153
154
|
rawMenus: V,
|
|
154
155
|
activeTopMenuPath: R,
|
|
155
156
|
isRefreshMenus: P,
|
|
@@ -161,7 +162,7 @@ function Mi(l = "menu") {
|
|
|
161
162
|
// activeMenuPath,
|
|
162
163
|
linkMenuInfo: i,
|
|
163
164
|
updateMenuStatus: H
|
|
164
|
-
} = ml(h), N = ua(), { structureData: J } = ml(N), y =
|
|
165
|
+
} = ml(h), N = ua(), { structureData: J } = ml(N), y = S([]), v = S([]), c = El(() => f == null ? void 0 : f.mode), Ie = S({}), ve = (a) => a == null ? void 0 : a.map((g) => g.children && g.children.length > 0 ? {
|
|
165
166
|
...g,
|
|
166
167
|
// 水平菜单仅显示一层
|
|
167
168
|
children: g.level === 0 ? [] : g.children ?? [],
|
|
@@ -198,10 +199,10 @@ function Mi(l = "menu") {
|
|
|
198
199
|
};
|
|
199
200
|
return u.children && u.children.length > 0 && ($.children = re(u.children, k, b + 1)), $;
|
|
200
201
|
});
|
|
201
|
-
}, ne =
|
|
202
|
+
}, ne = S(null), Z = El(() => {
|
|
202
203
|
let a = Bl(y.value);
|
|
203
204
|
if (a = [...a, ...e.value], (a == null ? void 0 : a.length) === 0)
|
|
204
|
-
return
|
|
205
|
+
return I.push("/"), [];
|
|
205
206
|
be(a, Ye.value);
|
|
206
207
|
const g = ve(a);
|
|
207
208
|
return is(g), h.setMenus(g), g;
|
|
@@ -219,10 +220,10 @@ function Mi(l = "menu") {
|
|
|
219
220
|
// icon: temp?.data?.menuConfig?.menuIcon
|
|
220
221
|
};
|
|
221
222
|
return a;
|
|
222
|
-
}, sl =
|
|
223
|
+
}, sl = S(null), hl = async (a, g = null) => await Promise.all(
|
|
223
224
|
a == null ? void 0 : a.map(async (b) => {
|
|
224
225
|
var fe;
|
|
225
|
-
let T = await Oe(b,
|
|
226
|
+
let T = await Oe(b, Ie.value);
|
|
226
227
|
const Y = (T == null ? void 0 : T.config) ?? ((fe = g == null ? void 0 : g.filter((Q) => Q.allowInherit)) == null ? void 0 : fe.map((Q) => {
|
|
227
228
|
var u;
|
|
228
229
|
return {
|
|
@@ -257,21 +258,21 @@ function Mi(l = "menu") {
|
|
|
257
258
|
if (g) {
|
|
258
259
|
const fe = (Y = y.value) == null ? void 0 : Y.find((Q) => (Q == null ? void 0 : Q.path) === g);
|
|
259
260
|
if (!fe || (h.setActiveTopMenuPath(g), !(fe != null && fe.children))) return;
|
|
260
|
-
h.setAsideMenus(fe == null ? void 0 : fe.children), h.setActiveMenuPath(a == null ? void 0 : a.path),
|
|
261
|
+
h.setAsideMenus(fe == null ? void 0 : fe.children), h.setActiveMenuPath(a == null ? void 0 : a.path), _.setRouteToChildPath(a == null ? void 0 : a.path);
|
|
261
262
|
}
|
|
262
263
|
},
|
|
263
264
|
{ immediate: !0 }
|
|
264
265
|
);
|
|
265
266
|
const wl = async (a) => {
|
|
266
267
|
var g, b;
|
|
267
|
-
if (h.setLinkMenuInfo(null), h.setAsideMenuLoading(!0),
|
|
268
|
+
if (h.setLinkMenuInfo(null), h.setAsideMenuLoading(!0), _.setRouteToChildPath(""), h.setActiveTopMenuPath(a == null ? void 0 : a.path), h.setActiveMainMenu(a), sl.value = null, a != null && a.childMenus && ((g = a == null ? void 0 : a.childMenus) == null ? void 0 : g.length) > 0) {
|
|
268
269
|
const T = await vl(a), Y = (T == null ? void 0 : T.length) === 0 ? a == null ? void 0 : a.childMenus : T;
|
|
269
270
|
h.setAsideMenus(Y), H.value || h.setUpdateMenuStatus(!0), h.setActiveAsideMenu((b = a == null ? void 0 : a.childMenus) == null ? void 0 : b[0]);
|
|
270
271
|
} else
|
|
271
272
|
h.setAsideMenus([]), h.setActiveMenuPath(a == null ? void 0 : a.path);
|
|
272
|
-
a.isRouter ?
|
|
273
|
+
a.isRouter ? I.push(a.path) : I.push("/"), h.setAsideMenuLoading(!1);
|
|
273
274
|
}, Je = (a) => {
|
|
274
|
-
|
|
275
|
+
_.setRouteToChildPath(""), ue.value === "click" ? L.value === 1 ? h.setActiveMenuPath(sessionStorage.getItem("pageKey")) : a !== o.value && h.setActiveMenuPath(a) : h.setMenuTriggerType("click"), a != null && a.startsWith("/") ? I.push(a) : I.push("/"), L.value++;
|
|
275
276
|
}, Ml = (a) => {
|
|
276
277
|
a !== o.value && h.setActiveMenuPath(a);
|
|
277
278
|
}, ye = (a) => {
|
|
@@ -393,10 +394,10 @@ function Mi(l = "menu") {
|
|
|
393
394
|
}
|
|
394
395
|
};
|
|
395
396
|
}
|
|
396
|
-
const
|
|
397
|
-
function
|
|
398
|
-
const
|
|
399
|
-
return p(), he(
|
|
397
|
+
const _i = Kl(Mi()), Ii = { class: "menu-title" };
|
|
398
|
+
function Si(l, f, o, h, _, L) {
|
|
399
|
+
const I = ae("ssMenu");
|
|
400
|
+
return p(), he(I, {
|
|
400
401
|
ref: "menuRef",
|
|
401
402
|
mode: l.mode,
|
|
402
403
|
menuList: l.renderMenuList,
|
|
@@ -405,15 +406,15 @@ function _i(l, f, o, h, I, L) {
|
|
|
405
406
|
onCloseMenu: l.closeMenu
|
|
406
407
|
}, {
|
|
407
408
|
title: n(({ menu: V }) => [
|
|
408
|
-
x("span",
|
|
409
|
+
x("span", Ii, nl(V.title ?? ""), 1)
|
|
409
410
|
]),
|
|
410
411
|
_: 1
|
|
411
412
|
}, 8, ["mode", "menuList", "onClickMenu", "onOpenMenu", "onCloseMenu"]);
|
|
412
413
|
}
|
|
413
|
-
const Ti = /* @__PURE__ */ aa(
|
|
414
|
+
const Ti = /* @__PURE__ */ aa(_i, [["render", Si], ["__scopeId", "data-v-ca3f1fb8"]]), Bi = { class: "menu-config-wrap" }, Ei = ["onClick"], Di = { class: "form-content" }, Pi = { class: "dialog-footer" }, Ri = /* @__PURE__ */ Kl({
|
|
414
415
|
__name: "index",
|
|
415
416
|
setup(l) {
|
|
416
|
-
const f =
|
|
417
|
+
const f = S([
|
|
417
418
|
{
|
|
418
419
|
prop: "methodname",
|
|
419
420
|
label: "函数名称"
|
|
@@ -432,13 +433,13 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
432
433
|
label: "操作",
|
|
433
434
|
type: "operate"
|
|
434
435
|
}
|
|
435
|
-
]), o =
|
|
436
|
+
]), o = S([]), h = S([]), _ = S({}), L = S([{
|
|
436
437
|
label: "新增"
|
|
437
|
-
}]),
|
|
438
|
+
}]), I = S([{
|
|
438
439
|
label: "修改"
|
|
439
440
|
}, {
|
|
440
441
|
label: "删除"
|
|
441
|
-
}]), V =
|
|
442
|
+
}]), V = S(720), R = S(""), P = S(!1), ue = S();
|
|
442
443
|
la(async () => {
|
|
443
444
|
var H, N, J, y;
|
|
444
445
|
h.value = (N = (H = f.value) == null ? void 0 : H.map((v) => v == null ? void 0 : v.label)) == null ? void 0 : N.filter((v) => v !== "id");
|
|
@@ -456,10 +457,10 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
456
457
|
id: parseInt(H == null ? void 0 : H.id)
|
|
457
458
|
});
|
|
458
459
|
let v = await xt();
|
|
459
|
-
o.value = ((y = (J = v == null ? void 0 : v.data) == null ? void 0 : J.result) == null ? void 0 : y.sort((c,
|
|
460
|
+
o.value = ((y = (J = v == null ? void 0 : v.data) == null ? void 0 : J.result) == null ? void 0 : y.sort((c, Ie) => parseInt(c == null ? void 0 : c.id) - parseInt(Ie == null ? void 0 : Ie.id))) ?? [];
|
|
460
461
|
}
|
|
461
462
|
}, B = (i) => {
|
|
462
|
-
|
|
463
|
+
_.value = i;
|
|
463
464
|
}, D = (i) => {
|
|
464
465
|
var N, J;
|
|
465
466
|
const H = [];
|
|
@@ -475,33 +476,33 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
475
476
|
});
|
|
476
477
|
}), ue.value = H;
|
|
477
478
|
}, U = async () => {
|
|
478
|
-
var H, N, J, y, v, c,
|
|
479
|
+
var H, N, J, y, v, c, Ie, ve;
|
|
479
480
|
P.value = !1, R.value === "新增" ? await co({
|
|
480
481
|
data: [{
|
|
481
|
-
methodName: (H =
|
|
482
|
-
methodPath: (N =
|
|
482
|
+
methodName: (H = _.value) == null ? void 0 : H.methodname,
|
|
483
|
+
methodPath: (N = _.value) == null ? void 0 : N.methodpath
|
|
483
484
|
}]
|
|
484
485
|
}) : R.value === "修改" && await uo({
|
|
485
486
|
data: [{
|
|
486
|
-
id: parseInt((J =
|
|
487
|
-
methodName: (y =
|
|
488
|
-
methodPath: (c = (v =
|
|
487
|
+
id: parseInt((J = _.value) == null ? void 0 : J.id),
|
|
488
|
+
methodName: (y = _.value) == null ? void 0 : y.methodname,
|
|
489
|
+
methodPath: (c = (v = _.value) == null ? void 0 : v.methodpath) == null ? void 0 : c[0]
|
|
489
490
|
}]
|
|
490
491
|
});
|
|
491
492
|
let i = await xt();
|
|
492
|
-
o.value = ((ve = (
|
|
493
|
+
o.value = ((ve = (Ie = i == null ? void 0 : i.data) == null ? void 0 : Ie.result) == null ? void 0 : ve.sort((j, re) => parseInt(j == null ? void 0 : j.id) - parseInt(re == null ? void 0 : re.id))) ?? [];
|
|
493
494
|
};
|
|
494
495
|
return (i, H) => {
|
|
495
496
|
const N = ae("svg-icon"), J = ae("el-popover"), y = ae("el-button");
|
|
496
497
|
return p(), G(al, null, [
|
|
497
|
-
s(
|
|
498
|
+
s(_o, {
|
|
498
499
|
columns: f.value,
|
|
499
500
|
tableData: o.value,
|
|
500
501
|
checkedColumns: h.value,
|
|
501
502
|
isShowEdit: !1,
|
|
502
503
|
isShowDelete: !1,
|
|
503
504
|
extraButton: L.value,
|
|
504
|
-
rowButton:
|
|
505
|
+
rowButton: I.value
|
|
505
506
|
}, {
|
|
506
507
|
headerButton: n((v) => {
|
|
507
508
|
var c;
|
|
@@ -510,7 +511,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
510
511
|
dataNums: (c = o.value) == null ? void 0 : c.length,
|
|
511
512
|
buttons: v.buttons,
|
|
512
513
|
columns: f.value,
|
|
513
|
-
onButtonClick: H[0] || (H[0] = (
|
|
514
|
+
onButtonClick: H[0] || (H[0] = (Ie, ve, j) => e(Ie, ve))
|
|
514
515
|
}, null, 8, ["dataNums", "buttons", "columns"])
|
|
515
516
|
];
|
|
516
517
|
}),
|
|
@@ -530,15 +531,15 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
530
531
|
]),
|
|
531
532
|
default: n(() => [
|
|
532
533
|
x("div", Bi, [
|
|
533
|
-
(p(!0), G(al, null, fl(
|
|
534
|
+
(p(!0), G(al, null, fl(I.value, (Ie, ve) => (p(), G("div", {
|
|
534
535
|
class: "menu-config-item",
|
|
535
536
|
key: ve,
|
|
536
|
-
onClick: ql((j) => e(
|
|
537
|
+
onClick: ql((j) => e(Ie == null ? void 0 : Ie.label, v), ["stop"])
|
|
537
538
|
}, [
|
|
538
539
|
x("div", {
|
|
539
|
-
style: Ql({ color:
|
|
540
|
+
style: Ql({ color: Ie == null ? void 0 : Ie.textColor }),
|
|
540
541
|
class: "extra-button-label"
|
|
541
|
-
}, nl(
|
|
542
|
+
}, nl(Ie == null ? void 0 : Ie.label), 5)
|
|
542
543
|
], 8, Ei))), 128))
|
|
543
544
|
])
|
|
544
545
|
]),
|
|
@@ -570,20 +571,22 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
570
571
|
onClick: H[2] || (H[2] = (v) => P.value = !1),
|
|
571
572
|
id: "themeBorderButton"
|
|
572
573
|
}, {
|
|
573
|
-
default: n(() =>
|
|
574
|
-
pl(nl("取消")
|
|
575
|
-
])
|
|
576
|
-
_: 1
|
|
574
|
+
default: n(() => H[5] || (H[5] = [
|
|
575
|
+
pl(nl("取消"))
|
|
576
|
+
])),
|
|
577
|
+
_: 1,
|
|
578
|
+
__: [5]
|
|
577
579
|
}),
|
|
578
580
|
s(y, {
|
|
579
581
|
class: "ok-button",
|
|
580
582
|
onClick: H[3] || (H[3] = (v) => U()),
|
|
581
583
|
id: "themeButton"
|
|
582
584
|
}, {
|
|
583
|
-
default: n(() =>
|
|
584
|
-
pl(nl("确认")
|
|
585
|
-
])
|
|
586
|
-
_: 1
|
|
585
|
+
default: n(() => H[6] || (H[6] = [
|
|
586
|
+
pl(nl("确认"))
|
|
587
|
+
])),
|
|
588
|
+
_: 1,
|
|
589
|
+
__: [6]
|
|
587
590
|
})
|
|
588
591
|
])
|
|
589
592
|
]),
|
|
@@ -609,12 +612,12 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
609
612
|
},
|
|
610
613
|
emits: ["click"],
|
|
611
614
|
setup(l, { emit: f }) {
|
|
612
|
-
const o = $a(Al), { selectTitle: h } = ml(o),
|
|
615
|
+
const o = $a(Al), { selectTitle: h } = ml(o), _ = l, L = S(!1), I = S([]), V = f, R = El(() => (B) => No(B) + 60);
|
|
613
616
|
bl(
|
|
614
|
-
() => [
|
|
617
|
+
() => [_ == null ? void 0 : _.breadArray, h.value],
|
|
615
618
|
() => {
|
|
616
619
|
var B;
|
|
617
|
-
|
|
620
|
+
I.value = (B = _ == null ? void 0 : _.breadArray) == null ? void 0 : B.filter((D) => D == null ? void 0 : D.isShow);
|
|
618
621
|
},
|
|
619
622
|
{ deep: !0, immediate: !0 }
|
|
620
623
|
);
|
|
@@ -624,10 +627,10 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
624
627
|
let D = rn(h.value);
|
|
625
628
|
D = D == null ? void 0 : D.filter((U) => (U != null && U.parentContent ? (U == null ? void 0 : U.parentContent) === (B == null ? void 0 : B.parentContent) : (U == null ? void 0 : U.relatedContent) === (B == null ? void 0 : B.relatedContent)) && (U == null ? void 0 : U.condition) === "child"), o.setChooseTitle(D);
|
|
626
629
|
}, e = async (B) => {
|
|
627
|
-
var J, y, v, c,
|
|
630
|
+
var J, y, v, c, Ie, ve, j;
|
|
628
631
|
L.value = !0;
|
|
629
632
|
let D = await jn(B != null && B.parentContent ? B == null ? void 0 : B.parentContent : B == null ? void 0 : B.relatedContent, !1), U = (y = (J = D == null ? void 0 : D.filter((re) => (re == null ? void 0 : re.comp) === "Table")) == null ? void 0 : J[0]) == null ? void 0 : y.compData, i = (v = U == null ? void 0 : U.find((re) => (re == null ? void 0 : re.key) === "header")) == null ? void 0 : v.contents;
|
|
630
|
-
Array.isArray(i == null ? void 0 : i[0]) && (i = Un(i == null ? void 0 : i[0])), i = ((c = i == null ? void 0 : i.find((re) => re == null ? void 0 : re.isMainKey)) == null ? void 0 : c.prop) ?? ((
|
|
633
|
+
Array.isArray(i == null ? void 0 : i[0]) && (i = Un(i == null ? void 0 : i[0])), i = ((c = i == null ? void 0 : i.find((re) => re == null ? void 0 : re.isMainKey)) == null ? void 0 : c.prop) ?? ((Ie = i == null ? void 0 : i[0]) == null ? void 0 : Ie.prop);
|
|
631
634
|
let H = (j = (ve = U == null ? void 0 : U.find((re) => (re == null ? void 0 : re.key) === "tableContents")) == null ? void 0 : ve.contents) == null ? void 0 : j.map((re) => ({
|
|
632
635
|
label: re == null ? void 0 : re[i],
|
|
633
636
|
value: re == null ? void 0 : re[i]
|
|
@@ -635,21 +638,21 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
635
638
|
N = N == null ? void 0 : N.map((re) => ((re != null && re.parentContent ? (re == null ? void 0 : re.parentContent) === (B == null ? void 0 : B.parentContent) : (re == null ? void 0 : re.relatedContent) === (B == null ? void 0 : B.relatedContent)) && (re.options = H), re)), o.setSelectTitle(N), L.value = !1;
|
|
636
639
|
};
|
|
637
640
|
return (B, D) => (p(), G("div", xi, [
|
|
638
|
-
(p(!0), G(al, null, fl(
|
|
639
|
-
var H, N, J, y, v, c,
|
|
641
|
+
(p(!0), G(al, null, fl(I.value, (U, i) => {
|
|
642
|
+
var H, N, J, y, v, c, Ie;
|
|
640
643
|
return p(), G("div", {
|
|
641
644
|
key: i,
|
|
642
645
|
class: "bread-item"
|
|
643
646
|
}, [
|
|
644
647
|
x("div", {
|
|
645
648
|
class: "bread-title",
|
|
646
|
-
style: Ql({ opacity: ((H =
|
|
649
|
+
style: Ql({ opacity: ((H = I.value) == null ? void 0 : H.length) - 1 === i ? "0.7" : "1", fontWeight: ((N = I.value) == null ? void 0 : N.length) - 1 === i ? 400 : 600, fontSize: "var(--ssbutton-fontSize)" })
|
|
647
650
|
}, [
|
|
648
651
|
(U == null ? void 0 : U.condition) !== "child" ? (p(), G("div", {
|
|
649
652
|
key: 0,
|
|
650
653
|
onClick: (ve) => P(U)
|
|
651
654
|
}, nl(U.value), 9, Vi)) : Ve("", !0),
|
|
652
|
-
(U == null ? void 0 : U.condition) === "child" ? (p(), he(
|
|
655
|
+
(U == null ? void 0 : U.condition) === "child" ? (p(), he(Io, {
|
|
653
656
|
style: Ql({ width: R.value((U == null ? void 0 : U.value) ?? "") + "px" }),
|
|
654
657
|
class: "bread-ss-select",
|
|
655
658
|
"popper-class": "bread-ss-select-popper",
|
|
@@ -663,11 +666,11 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
663
666
|
onMouseEnter: (ve) => e(U)
|
|
664
667
|
}, null, 8, ["style", "loading", "modelValue", "onUpdate:modelValue", "content", "onChange", "onMouseEnter"])) : Ve("", !0)
|
|
665
668
|
], 4),
|
|
666
|
-
i !==
|
|
669
|
+
i !== I.value.length - 1 && Array.isArray(I.value) && ((v = (y = I.value) == null ? void 0 : y[i + 1]) == null ? void 0 : v.condition) !== "child" ? (p(), G("div", Oi, [
|
|
667
670
|
s(r(Pn), { style: { width: "14px" } })
|
|
668
|
-
])) : ((
|
|
671
|
+
])) : ((Ie = (c = I.value) == null ? void 0 : c[i + 1]) == null ? void 0 : Ie.condition) === "child" ? (p(), G("div", Ui, D[0] || (D[0] = [
|
|
669
672
|
x("div", null, nl(":"), -1)
|
|
670
|
-
])
|
|
673
|
+
]))) : Ve("", !0)
|
|
671
674
|
]);
|
|
672
675
|
}), 128))
|
|
673
676
|
]));
|
|
@@ -683,7 +686,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
683
686
|
},
|
|
684
687
|
emits: ["change", "contentChange"],
|
|
685
688
|
setup(l, { emit: f }) {
|
|
686
|
-
const o = l, h = f,
|
|
689
|
+
const o = l, h = f, _ = $a(Al), { selectTitle: L } = ml(_), I = zl(Al), { activeMenuPath: V } = ml(I), R = S([]), P = (e, B = "data") => {
|
|
687
690
|
var D;
|
|
688
691
|
h("change", e, B, {
|
|
689
692
|
url: (D = o == null ? void 0 : o.componentParam) == null ? void 0 : D.routerUrl
|
|
@@ -700,16 +703,16 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
700
703
|
return (y == null ? void 0 : y[(y == null ? void 0 : y.length) - 1]) === "/" && (y = y + ((v = e == null ? void 0 : e[0]) == null ? void 0 : v.value)), y;
|
|
701
704
|
}), D = [], U = B == null ? void 0 : B.map(async (y) => {
|
|
702
705
|
let v = await jn(y, !1);
|
|
703
|
-
return v = v == null ? void 0 : v.map((
|
|
706
|
+
return v = v == null ? void 0 : v.map((Ie) => {
|
|
704
707
|
var ve;
|
|
705
|
-
return
|
|
708
|
+
return Ie.isShow = !0, Ie.compData = (ve = Ie.compData) == null ? void 0 : ve.filter((j) => (j == null ? void 0 : j.key) !== "extraButton" && (j == null ? void 0 : j.key) !== "rowButton"), Ie.disabled = !0, Ie;
|
|
706
709
|
}), await Qo(v);
|
|
707
710
|
});
|
|
708
711
|
D = await Promise.all(U);
|
|
709
712
|
let i = [];
|
|
710
713
|
D == null || D.forEach((y, v) => {
|
|
711
|
-
var
|
|
712
|
-
let c = (
|
|
714
|
+
var Ie;
|
|
715
|
+
let c = (Ie = B == null ? void 0 : B[v]) == null ? void 0 : Ie.split("/");
|
|
713
716
|
i.push({
|
|
714
717
|
label: (c == null ? void 0 : c[(c == null ? void 0 : c.length) - 1]) + (c == null ? void 0 : c[(c == null ? void 0 : c.length) - 2]),
|
|
715
718
|
isShow: !0,
|
|
@@ -735,7 +738,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
735
738
|
((H = U == null ? void 0 : U.comp) == null ? void 0 : H.toUpperCase()) !== "TABLE" && (U != null && U.name) ? (p(), G("div", ji, [
|
|
736
739
|
x("div", Ni, nl(U.name), 1)
|
|
737
740
|
])) : Ve("", !0),
|
|
738
|
-
(p(), he(ba(r(
|
|
741
|
+
(p(), he(ba(r(Ia)(U.comp)), {
|
|
739
742
|
compName: U.name,
|
|
740
743
|
itemData: U == null ? void 0 : U.compData,
|
|
741
744
|
childItemData: U == null ? void 0 : U.itemChildData,
|
|
@@ -792,10 +795,10 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
792
795
|
emits: ["onExtendTaskEnd"],
|
|
793
796
|
setup(l, { emit: f }) {
|
|
794
797
|
var i;
|
|
795
|
-
const o = va(Al), { pageMapState: h } = ml(o),
|
|
796
|
-
var J, y, v, c,
|
|
798
|
+
const o = va(Al), { pageMapState: h } = ml(o), _ = zl(Al), { activeMenuPath: L } = ml(_), I = ss(Al), { originalPath: V } = ml(I), R = l, P = f, ue = S(""), e = () => {
|
|
799
|
+
var J, y, v, c, Ie, ve, j, re, ne, Z, Be;
|
|
797
800
|
if (!L.value) return;
|
|
798
|
-
const H = ((y = (J = L.value) == null ? void 0 : J.split(V.value)) == null ? void 0 : y[0]) + V.value + ((v = R == null ? void 0 : R.toolBar) == null ? void 0 : v.mainKeyPropValue), N = (j = (ve = (
|
|
801
|
+
const H = ((y = (J = L.value) == null ? void 0 : J.split(V.value)) == null ? void 0 : y[0]) + V.value + ((v = R == null ? void 0 : R.toolBar) == null ? void 0 : v.mainKeyPropValue), N = (j = (ve = (Ie = (c = h.value) == null ? void 0 : c[H]) == null ? void 0 : Ie.find((me) => {
|
|
799
802
|
var Oe, sl, hl;
|
|
800
803
|
return ((hl = (sl = (Oe = me == null ? void 0 : me.value) == null ? void 0 : Oe.pageData) == null ? void 0 : sl.comp) == null ? void 0 : hl.toUpperCase()) === "FORM";
|
|
801
804
|
})) == null ? void 0 : ve.value) == null ? void 0 : j.pageData;
|
|
@@ -818,7 +821,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
818
821
|
la(() => {
|
|
819
822
|
e();
|
|
820
823
|
});
|
|
821
|
-
const D =
|
|
824
|
+
const D = S((i = R == null ? void 0 : R.toolBar) == null ? void 0 : i.title), U = S("");
|
|
822
825
|
return (H, N) => (p(), G("div", null, [
|
|
823
826
|
x("span", null, nl(D.value), 1),
|
|
824
827
|
U.value ? (p(), G("span", Qi, ":")) : Ve("", !0),
|
|
@@ -854,7 +857,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
854
857
|
}, gr = { class: "message-title" }, yr = { class: "message-time" }, br = { class: "message-content" }, Cr = {
|
|
855
858
|
key: 0,
|
|
856
859
|
class: "no-messages"
|
|
857
|
-
}, mr = { class: "drop-menu" }, wr = { class: "user-base-info" }, kr = { class: "base-info" }, Ar = { class: "group-item" }, Mr = { class: "sys-button" },
|
|
860
|
+
}, mr = { class: "drop-menu" }, wr = { class: "user-base-info" }, kr = { class: "base-info" }, Ar = { class: "group-item" }, Mr = { class: "sys-button" }, _r = { class: "structure-paths" }, Ir = ["data-home-card-mode"], Sr = {
|
|
858
861
|
key: 0,
|
|
859
862
|
class: "main-back-btn"
|
|
860
863
|
}, Tr = { class: "custom-extend-wrapper" }, Br = { key: 1 }, Er = {
|
|
@@ -896,7 +899,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
896
899
|
}, Wr = {
|
|
897
900
|
key: 5,
|
|
898
901
|
class: "item-view-child-content"
|
|
899
|
-
}, Hr = { class: "form-content" }, qr = { class: "dialog-footer" }, Ut = "消息中心/我的消息",
|
|
902
|
+
}, Hr = { class: "form-content" }, qr = { class: "dialog-footer" }, Ut = "消息中心/我的消息", St = 1, Yr = 1, rt = 1, Fr = 0, Jr = /* @__PURE__ */ Kl({
|
|
900
903
|
__name: "index",
|
|
901
904
|
props: {
|
|
902
905
|
windowConfig: {
|
|
@@ -920,7 +923,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
920
923
|
setup(l, { emit: f }) {
|
|
921
924
|
const o = (A, w) => {
|
|
922
925
|
console.log(A, w);
|
|
923
|
-
}, h =
|
|
926
|
+
}, h = S(), _ = S(0), L = S(null), I = S(""), V = zl(Al), { asideMenuLoading: R, importLoading: P, activeAsideMenu: ue, contentLoading: e, activeMenuPath: B, asideMenus: D } = ml(V), U = S(!1), i = S([]), H = S([]), N = S([]), J = S(!0), y = S(!1);
|
|
924
927
|
bl(
|
|
925
928
|
() => D.value,
|
|
926
929
|
() => {
|
|
@@ -934,7 +937,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
934
937
|
var w;
|
|
935
938
|
return ((w = A.find((O) => O.prop === "状态")) == null ? void 0 : w.value) === "未读";
|
|
936
939
|
}).length
|
|
937
|
-
), c = El(() => v.value > 99 ? "99+" : v.value),
|
|
940
|
+
), c = El(() => v.value > 99 ? "99+" : v.value), Ie = ss(Al), { originalPath: ve } = ml(Ie), j = ve.value, re = ua(), { loginUserInfo: ne } = ml(re), { hasSystemManagement: Z, toSystemManagement: Be } = Ai(), { updateFacePhoto: me } = vi();
|
|
938
941
|
async function Oe() {
|
|
939
942
|
var A, w, O, te, Ne, Te;
|
|
940
943
|
try {
|
|
@@ -947,12 +950,12 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
947
950
|
const se = sessionStorage.getItem("systemKey"), [Me] = await Promise.all([
|
|
948
951
|
ma(Ut, se, "")
|
|
949
952
|
]), el = (O = (w = (A = Me == null ? void 0 : Me[0]) == null ? void 0 : A.compData) == null ? void 0 : w.find((il) => (il == null ? void 0 : il.key) === "tableContents")) == null ? void 0 : O.contents, We = (Te = (Ne = (te = Me == null ? void 0 : Me[0]) == null ? void 0 : te.compData) == null ? void 0 : Ne.find((il) => (il == null ? void 0 : il.key) === "header")) == null ? void 0 : Te.contents;
|
|
950
|
-
let Xe = [],
|
|
953
|
+
let Xe = [], Sl = [], Tl = [], xl = [];
|
|
951
954
|
Array.isArray(el) && Array.isArray(We) ? (Tl = el.filter(
|
|
952
955
|
(il) => il.includes("未读")
|
|
953
956
|
), xl = el.filter(
|
|
954
957
|
(il) => il.includes("已读")
|
|
955
|
-
), Xe = [...Tl, ...xl],
|
|
958
|
+
), Xe = [...Tl, ...xl], Sl = [...el]) : (Tl = [], xl = [], Sl = [], console.warn("messagesContents 或 messagesHeader 不是数组")), H.value = ee(We, Sl), i.value = ee(We, Xe), N.value = ee(We, Tl);
|
|
956
959
|
} catch (ee) {
|
|
957
960
|
console.error("获取消息数据失败:", ee);
|
|
958
961
|
}
|
|
@@ -990,7 +993,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
990
993
|
// }
|
|
991
994
|
];
|
|
992
995
|
try {
|
|
993
|
-
const Me = O.find((
|
|
996
|
+
const Me = O.find((Sl) => Sl.prop === "状态"), el = Array.isArray(O) ? O.find((Sl) => Sl.isMainKey) : void 0;
|
|
994
997
|
if (!el) {
|
|
995
998
|
console.warn("该消息没有主键", O);
|
|
996
999
|
return;
|
|
@@ -1002,9 +1005,9 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1002
1005
|
console.error("加载菜单或页面时出错:", Me);
|
|
1003
1006
|
}
|
|
1004
1007
|
})(A);
|
|
1005
|
-
}, wl = $a(Al), { selectTitle: Je } = ml(wl), Ml =
|
|
1008
|
+
}, wl = $a(Al), { selectTitle: Je } = ml(wl), Ml = S(!1), ye = S(), C = S(null), Ye = S(), be = S(!1), Re = Nn(Al), { blobUrls: Ge } = ml(Re), He = S(), ol = S(!1), tl = S(!1), a = S(!1), g = S(!1), b = S(null), T = S([]), Y = S(!1), fe = S(!1), Q = S();
|
|
1006
1009
|
ut("contentRef", b);
|
|
1007
|
-
const u = va(Al), { isEdit: k, routeToChildPath: q } = ml(u), $ = f, { logoUrl: t, platNameEn: d, getPreviousModel: M, rememberPreviousModelByPlatId: z } = Pt(), { toPersonalCenter: Ce } = gi(), Le = l, dl = no(/* @__PURE__ */ new Map()), we = El(() => ue.value.isRouter), ce =
|
|
1010
|
+
const u = va(Al), { isEdit: k, routeToChildPath: q } = ml(u), $ = f, { logoUrl: t, platNameEn: d, getPreviousModel: M, rememberPreviousModelByPlatId: z } = Pt(), { toPersonalCenter: Ce } = gi(), Le = l, dl = no(/* @__PURE__ */ new Map()), we = El(() => ue.value.isRouter), ce = S(""), m = async (A) => {
|
|
1008
1011
|
const w = await Xa({
|
|
1009
1012
|
url: A
|
|
1010
1013
|
});
|
|
@@ -1029,7 +1032,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1029
1032
|
const A = B.value;
|
|
1030
1033
|
return dl.value.get(A);
|
|
1031
1034
|
}), F = Fo(async (A) => {
|
|
1032
|
-
var te, Ne, Te, ee, se, Me, el, We, Xe,
|
|
1035
|
+
var te, Ne, Te, ee, se, Me, el, We, Xe, Sl, Tl, xl, il, ul, jl, Wl;
|
|
1033
1036
|
if ((A == null ? void 0 : A.type) !== "table") return;
|
|
1034
1037
|
const w = (te = Je.value) == null ? void 0 : te.some((Rl) => (Rl == null ? void 0 : Rl.condition) === "parent"), O = (Ne = A == null ? void 0 : A.usingRow) == null ? void 0 : Ne.some((Rl) => Rl == null ? void 0 : Rl.isExistChild);
|
|
1035
1038
|
if (!(w || O))
|
|
@@ -1054,7 +1057,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1054
1057
|
(Dl) => (Dl == null ? void 0 : Dl.condition) === "child" ? { ...Dl, value: Ul, isShow: !0 } : Dl
|
|
1055
1058
|
), Zl = oa.find((Dl) => (Dl == null ? void 0 : Dl.condition) === "child");
|
|
1056
1059
|
else {
|
|
1057
|
-
const Dl = (xl = (Tl = (
|
|
1060
|
+
const Dl = (xl = (Tl = (Sl = Ca) == null ? void 0 : Sl.value) == null ? void 0 : Tl[0]) == null ? void 0 : xl.compData, da = (il = Dl == null ? void 0 : Dl.find(($l) => ($l == null ? void 0 : $l.key) === "header")) == null ? void 0 : il.contents, Ba = ((ul = da == null ? void 0 : da.find(($l) => $l == null ? void 0 : $l.isMainKey)) == null ? void 0 : ul.prop) ?? ((jl = da == null ? void 0 : da[0]) == null ? void 0 : jl.prop), Ea = (Wl = Dl == null ? void 0 : Dl.find(($l) => ($l == null ? void 0 : $l.key) === "tableContents")) == null ? void 0 : Wl.contents, Da = ze(Ea, Ba);
|
|
1058
1061
|
Zl = {
|
|
1059
1062
|
value: Ul,
|
|
1060
1063
|
condition: "child",
|
|
@@ -1099,15 +1102,15 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1099
1102
|
}), w == null || w.forEach((Te) => {
|
|
1100
1103
|
var ee, se, Me, el, We, Xe;
|
|
1101
1104
|
if ((Te == null ? void 0 : Te.comp) === "Table") {
|
|
1102
|
-
let
|
|
1105
|
+
let Sl = [], Tl = (Me = (se = (ee = Te == null ? void 0 : Te.compData) == null ? void 0 : ee.find((il) => (il == null ? void 0 : il.key) === "header")) == null ? void 0 : se.contents) == null ? void 0 : Me.map((il) => il == null ? void 0 : il.label), xl = (Xe = (We = (el = Te == null ? void 0 : Te.compData) == null ? void 0 : el.find((il) => (il == null ? void 0 : il.key) === "tableContents")) == null ? void 0 : We.contents) == null ? void 0 : Xe.map((il) => (il = il == null ? void 0 : il.filter((ul) => !(ul != null && ul.id)), il));
|
|
1103
1106
|
xl == null || xl.forEach((il) => {
|
|
1104
|
-
|
|
1107
|
+
Sl.push(
|
|
1105
1108
|
vt(
|
|
1106
1109
|
il,
|
|
1107
1110
|
Tl == null ? void 0 : Tl.filter((ul) => ul !== "操作")
|
|
1108
1111
|
)
|
|
1109
1112
|
);
|
|
1110
|
-
}), A[Te.name] =
|
|
1113
|
+
}), A[Te.name] = Sl, A[Te.name + "Content"] = Te;
|
|
1111
1114
|
}
|
|
1112
1115
|
}), A.extra = Ne, ye.value = A;
|
|
1113
1116
|
}, Ke = async () => {
|
|
@@ -1155,14 +1158,14 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1155
1158
|
be.value = !0;
|
|
1156
1159
|
let Te = [];
|
|
1157
1160
|
const ee = await ((te = Bl(Ge == null ? void 0 : Ge.value)) == null ? void 0 : te.map(async (se) => {
|
|
1158
|
-
var
|
|
1161
|
+
var Sl, Tl, xl, il, ul, jl, Wl, Rl, Gl, ta;
|
|
1159
1162
|
let Me, el, We;
|
|
1160
|
-
se != null && se.blob.includes("undefined") ? We = (Tl = (
|
|
1163
|
+
se != null && se.blob.includes("undefined") ? We = (Tl = (Sl = se == null ? void 0 : se.blob) == null ? void 0 : Sl.split("undefined,")) == null ? void 0 : Tl[1] : We = se == null ? void 0 : se.blob;
|
|
1161
1164
|
let Xe = We == null ? void 0 : We.split(",");
|
|
1162
1165
|
if ((Xe == null ? void 0 : Xe.length) > 1) {
|
|
1163
1166
|
let Ul = await (Xe == null ? void 0 : Xe.map(async (Hl) => {
|
|
1164
1167
|
var Zl, Dl, da, Ba, Ea, Da;
|
|
1165
|
-
Me = await
|
|
1168
|
+
Me = await Sa.get(Hl, {
|
|
1166
1169
|
responseType: "blob",
|
|
1167
1170
|
headers: {
|
|
1168
1171
|
"Content-Type": "application/json"
|
|
@@ -1170,8 +1173,8 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1170
1173
|
});
|
|
1171
1174
|
let oa = [];
|
|
1172
1175
|
if (((Zl = se == null ? void 0 : se.mtlBlobs) == null ? void 0 : Zl.length) > 0) {
|
|
1173
|
-
let $l = await ((Dl = se == null ? void 0 : se.mtlBlobs) == null ? void 0 : Dl.map(async (
|
|
1174
|
-
let lt = await
|
|
1176
|
+
let $l = await ((Dl = se == null ? void 0 : se.mtlBlobs) == null ? void 0 : Dl.map(async (_t) => {
|
|
1177
|
+
let lt = await Sa.get(_t, {
|
|
1175
1178
|
responseType: "blob",
|
|
1176
1179
|
headers: {
|
|
1177
1180
|
"Content-Type": "application/json"
|
|
@@ -1220,7 +1223,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1220
1223
|
mtlBlobs: Ul
|
|
1221
1224
|
};
|
|
1222
1225
|
} else {
|
|
1223
|
-
Me = await
|
|
1226
|
+
Me = await Sa.get(We, {
|
|
1224
1227
|
responseType: "blob",
|
|
1225
1228
|
headers: {
|
|
1226
1229
|
"Content-Type": "application/json"
|
|
@@ -1229,7 +1232,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1229
1232
|
let Ul = [];
|
|
1230
1233
|
if (((Wl = se == null ? void 0 : se.mtlBlobs) == null ? void 0 : Wl.length) > 0) {
|
|
1231
1234
|
let Hl = await ((Rl = se == null ? void 0 : se.mtlBlobs) == null ? void 0 : Rl.map(async (oa) => {
|
|
1232
|
-
let Zl = await
|
|
1235
|
+
let Zl = await Sa.get(oa, {
|
|
1233
1236
|
responseType: "blob",
|
|
1234
1237
|
headers: {
|
|
1235
1238
|
"Content-Type": "application/json"
|
|
@@ -1260,12 +1263,12 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1260
1263
|
);
|
|
1261
1264
|
const Fe = (A) => {
|
|
1262
1265
|
fe.value = !0, Q.value = A;
|
|
1263
|
-
},
|
|
1266
|
+
}, Se = async () => {
|
|
1264
1267
|
await Ln();
|
|
1265
1268
|
};
|
|
1266
1269
|
la(async () => {
|
|
1267
1270
|
var A;
|
|
1268
|
-
$("setLoginInfo", ne.value), await Oe(),
|
|
1271
|
+
$("setLoginInfo", ne.value), await Oe(), I.value = _e.value + "/" + ((A = ne.value) == null ? void 0 : A.face_photo_url), h.value = "first";
|
|
1269
1272
|
});
|
|
1270
1273
|
const E = () => {
|
|
1271
1274
|
var O, te;
|
|
@@ -1282,12 +1285,12 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1282
1285
|
Ce();
|
|
1283
1286
|
}, Ae = () => {
|
|
1284
1287
|
$("updateVersion");
|
|
1285
|
-
},
|
|
1288
|
+
}, _e = El(() => "http://222.92.178.198:62001"), qe = async (A) => {
|
|
1286
1289
|
var w, O, te, Ne, Te;
|
|
1287
1290
|
try {
|
|
1288
|
-
const ee = await
|
|
1291
|
+
const ee = await So(A);
|
|
1289
1292
|
if (((w = ee == null ? void 0 : ee.data) == null ? void 0 : w.code) === 200) {
|
|
1290
|
-
|
|
1293
|
+
I.value = _e.value + "/" + ((te = (O = ee.data) == null ? void 0 : O.result) == null ? void 0 : te.url);
|
|
1291
1294
|
let se = (Te = (Ne = ee.data) == null ? void 0 : Ne.result) == null ? void 0 : Te.url;
|
|
1292
1295
|
await me(se);
|
|
1293
1296
|
}
|
|
@@ -1356,16 +1359,16 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1356
1359
|
});
|
|
1357
1360
|
return Array.from(new Set(Ne.map((ee) => ee.y))).sort((ee, se) => ee - se).flatMap((ee, se) => {
|
|
1358
1361
|
const Me = Ne.filter((Tl) => Tl.y === ee).sort((Tl, xl) => Tl.x - xl.x), el = rt * Math.max(0, Me.length - 1), We = Math.max(1, 100 - el), Xe = Me.reduce((Tl, xl) => Tl + xl.w, 0) || 100;
|
|
1359
|
-
let
|
|
1362
|
+
let Sl = 0;
|
|
1360
1363
|
return Me.map((Tl, xl) => {
|
|
1361
|
-
const ul = xl === Me.length - 1 ? Math.max(1, 100 -
|
|
1364
|
+
const ul = xl === Me.length - 1 ? Math.max(1, 100 - Sl) : Math.max(1, Math.floor(Tl.w / Xe * We)), jl = {
|
|
1362
1365
|
...Tl,
|
|
1363
|
-
x:
|
|
1364
|
-
y: Tl.y + se *
|
|
1366
|
+
x: Sl,
|
|
1367
|
+
y: Tl.y + se * St,
|
|
1365
1368
|
w: ul,
|
|
1366
1369
|
minW: ul
|
|
1367
1370
|
};
|
|
1368
|
-
return
|
|
1371
|
+
return Sl += ul + rt, jl;
|
|
1369
1372
|
});
|
|
1370
1373
|
});
|
|
1371
1374
|
}, Ze = (A) => {
|
|
@@ -1403,13 +1406,13 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1403
1406
|
}
|
|
1404
1407
|
], te = A.slice(1), Ne = rt, Te = Math.floor((100 - Ne * (te.length - 1)) / te.length);
|
|
1405
1408
|
let ee = 0;
|
|
1406
|
-
return te.forEach((Xe,
|
|
1407
|
-
const Tl =
|
|
1409
|
+
return te.forEach((Xe, Sl) => {
|
|
1410
|
+
const Tl = Sl === te.length - 1 ? Math.max(1, 100 - ee) : Te;
|
|
1408
1411
|
O.push({
|
|
1409
|
-
i: (Xe == null ? void 0 : Xe.id) ?? `section-inner-${
|
|
1410
|
-
id: (Xe == null ? void 0 : Xe.id) ?? `section-inner-${
|
|
1412
|
+
i: (Xe == null ? void 0 : Xe.id) ?? `section-inner-${Sl + 1}`,
|
|
1413
|
+
id: (Xe == null ? void 0 : Xe.id) ?? `section-inner-${Sl + 1}`,
|
|
1411
1414
|
x: ee,
|
|
1412
|
-
y: 18 +
|
|
1415
|
+
y: 18 + St,
|
|
1413
1416
|
w: Tl,
|
|
1414
1417
|
h: 18,
|
|
1415
1418
|
minW: Tl,
|
|
@@ -1418,7 +1421,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1418
1421
|
component: Xe
|
|
1419
1422
|
}), ee += Tl + Ne;
|
|
1420
1423
|
}), O;
|
|
1421
|
-
},
|
|
1424
|
+
}, _l = (A) => {
|
|
1422
1425
|
const w = [];
|
|
1423
1426
|
let O = [], te = 0;
|
|
1424
1427
|
const Ne = () => {
|
|
@@ -1451,12 +1454,12 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1451
1454
|
}, Qe = (A, w, O) => {
|
|
1452
1455
|
const te = A.map((Me, el) => {
|
|
1453
1456
|
var jl, Wl;
|
|
1454
|
-
const We = (Me == null ? void 0 : Me.outerMeta) ?? W((jl = Me == null ? void 0 : Me.items) == null ? void 0 : jl[0]), [Xe = el + 1,
|
|
1457
|
+
const We = (Me == null ? void 0 : Me.outerMeta) ?? W((jl = Me == null ? void 0 : Me.items) == null ? void 0 : jl[0]), [Xe = el + 1, Sl = 1] = (We == null ? void 0 : We.position) ?? [el + 1, 1], [Tl = 0.5, xl = 0.33] = (We == null ? void 0 : We.size) ?? [0.5, 0.33], il = Math.max(1, Math.min(100, Math.round(Tl * 100))), ul = Math.max(16, Math.round(xl * 100));
|
|
1455
1458
|
return {
|
|
1456
1459
|
id: `highlight-card-${O + el}`,
|
|
1457
1460
|
i: `highlight-card-${O + el}`,
|
|
1458
1461
|
row: Math.max(1, Math.floor(Xe)),
|
|
1459
|
-
column: Math.max(1, Math.floor(
|
|
1462
|
+
column: Math.max(1, Math.floor(Sl)),
|
|
1460
1463
|
w: il,
|
|
1461
1464
|
h: ul,
|
|
1462
1465
|
minW: il,
|
|
@@ -1470,16 +1473,16 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1470
1473
|
}), Ne = Array.from(new Set(te.map((Me) => Me.row))).sort((Me, el) => Me - el), Te = /* @__PURE__ */ new Map();
|
|
1471
1474
|
let ee = 0;
|
|
1472
1475
|
return Ne.forEach((Me, el) => {
|
|
1473
|
-
el > 0 && (ee +=
|
|
1476
|
+
el > 0 && (ee += St), Te.set(Me, ee);
|
|
1474
1477
|
const We = Math.max(...te.filter((Xe) => Xe.row === Me).map((Xe) => Xe.h), 0);
|
|
1475
1478
|
ee += We;
|
|
1476
1479
|
}), {
|
|
1477
1480
|
cards: Ne.flatMap((Me) => {
|
|
1478
1481
|
const el = te.filter((il) => il.row === Me).sort((il, ul) => il.column - ul.column), We = rt * Math.max(0, el.length - 1), Xe = el.reduce((il, ul) => il + ul.w, 0);
|
|
1479
|
-
let
|
|
1482
|
+
let Sl = Math.max(0, Xe + We - 100), Tl = el.length, xl = 0;
|
|
1480
1483
|
return el.map((il) => {
|
|
1481
|
-
const ul = Math.min(il.w - 1, Math.ceil(
|
|
1482
|
-
|
|
1484
|
+
const ul = Math.min(il.w - 1, Math.ceil(Sl / Math.max(1, Tl))), jl = Math.max(1, il.w - ul);
|
|
1485
|
+
Sl -= ul, Tl -= 1;
|
|
1483
1486
|
const Wl = {
|
|
1484
1487
|
...il,
|
|
1485
1488
|
x: xl,
|
|
@@ -1494,12 +1497,12 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1494
1497
|
};
|
|
1495
1498
|
}, Vl = () => {
|
|
1496
1499
|
var Te, ee;
|
|
1497
|
-
const A = (ca.value ?? []).filter((se) => (se == null ? void 0 : se.comp) !== "FormTop"), w =
|
|
1500
|
+
const A = (ca.value ?? []).filter((se) => (se == null ? void 0 : se.comp) !== "FormTop"), w = _l(A), O = [];
|
|
1498
1501
|
let te = 0, Ne = 0;
|
|
1499
1502
|
for (let se = 0; se < w.length; se++) {
|
|
1500
1503
|
const Me = w[se];
|
|
1501
1504
|
if ((Me == null ? void 0 : Me.type) === "section") {
|
|
1502
|
-
const
|
|
1505
|
+
const Sl = Ze((Me == null ? void 0 : Me.items) ?? []), Tl = Math.max(...Sl.map((xl) => (Number(xl == null ? void 0 : xl.y) || 0) + (Number(xl == null ? void 0 : xl.h) || 0)), 18) + Fr;
|
|
1503
1506
|
O.push({
|
|
1504
1507
|
id: `section-card-${Ne}`,
|
|
1505
1508
|
i: `section-card-${Ne}`,
|
|
@@ -1512,7 +1515,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1512
1515
|
maxH: Tl,
|
|
1513
1516
|
component: (Te = Me == null ? void 0 : Me.items) == null ? void 0 : Te[0],
|
|
1514
1517
|
components: (Me == null ? void 0 : Me.items) ?? [],
|
|
1515
|
-
innerLayouts:
|
|
1518
|
+
innerLayouts: Sl,
|
|
1516
1519
|
isCardGroup: !0,
|
|
1517
1520
|
isSectionGroup: !0
|
|
1518
1521
|
}), te += Tl + Yr, Ne += 1;
|
|
@@ -1522,7 +1525,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1522
1525
|
for (; se + 1 < w.length && ((ee = w[se + 1]) == null ? void 0 : ee.type) === "highlight"; )
|
|
1523
1526
|
el.push(w[se + 1]), se += 1;
|
|
1524
1527
|
const { cards: We, height: Xe } = Qe(el, te, Ne);
|
|
1525
|
-
O.push(...We), Ne += el.length, te += Xe +
|
|
1528
|
+
O.push(...We), Ne += el.length, te += Xe + St;
|
|
1526
1529
|
}
|
|
1527
1530
|
return O.sort((se, Me) => (se == null ? void 0 : se.y) !== (Me == null ? void 0 : Me.y) ? (se == null ? void 0 : se.y) - (Me == null ? void 0 : Me.y) : ((se == null ? void 0 : se.x) ?? 0) - ((Me == null ? void 0 : Me.x) ?? 0));
|
|
1528
1531
|
}, rl = El(() => {
|
|
@@ -1538,7 +1541,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1538
1541
|
}), Ll = El(() => {
|
|
1539
1542
|
var A, w, O, te;
|
|
1540
1543
|
return ((A = ca.value) == null ? void 0 : A.length) > 0 && ((w = ca.value) != null && w.every((Ne) => Ne == null ? void 0 : Ne.layout)) ? (te = (O = ca.value) == null ? void 0 : O[0]) == null ? void 0 : te.layout : "vertical";
|
|
1541
|
-
}),
|
|
1544
|
+
}), Il = El(() => {
|
|
1542
1545
|
var A, w, O;
|
|
1543
1546
|
return ((A = ca.value) == null ? void 0 : A.length) > 0 && (Ll == null ? void 0 : Ll.value) === "horizontal" ? (O = (w = ca.value) == null ? void 0 : w[0]) == null ? void 0 : O.name : "";
|
|
1544
1547
|
}), Xl = El(() => k.value === "view" && Z.value), Jl = () => {
|
|
@@ -1558,11 +1561,11 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1558
1561
|
} catch (Ne) {
|
|
1559
1562
|
console.error("上传失败:", Ne);
|
|
1560
1563
|
} finally {
|
|
1561
|
-
L.value = null,
|
|
1564
|
+
L.value = null, _.value++;
|
|
1562
1565
|
}
|
|
1563
1566
|
};
|
|
1564
1567
|
return (A, w) => {
|
|
1565
|
-
const O = ae("el-dialog"), te = ae("el-button"), Ne = ae("el-header"), Te = ae("el-splitter-panel"), ee = ae("el-splitter"), se = ae("el-container"), Me = ae("el-tab-pane"), el = ae("el-tabs"), We = ae("el-aside"), Xe = ae("router-view"),
|
|
1568
|
+
const O = ae("el-dialog"), te = ae("el-button"), Ne = ae("el-header"), Te = ae("el-splitter-panel"), ee = ae("el-splitter"), se = ae("el-container"), Me = ae("el-tab-pane"), el = ae("el-tabs"), We = ae("el-aside"), Xe = ae("router-view"), Sl = ae("el-step"), Tl = ae("el-steps"), xl = ae("el-main"), il = yt("loading");
|
|
1566
1569
|
return p(), G(al, null, [
|
|
1567
1570
|
s(ha, {
|
|
1568
1571
|
visible: y.value,
|
|
@@ -1578,7 +1581,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1578
1581
|
ia(s(di, {
|
|
1579
1582
|
ref: "cropperDialogRef",
|
|
1580
1583
|
title: "更改头像",
|
|
1581
|
-
avatarUrl:
|
|
1584
|
+
avatarUrl: I.value,
|
|
1582
1585
|
onSubmitImage: qe
|
|
1583
1586
|
}, null, 8, ["avatarUrl"]), [
|
|
1584
1587
|
[La, U.value]
|
|
@@ -1591,7 +1594,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1591
1594
|
default: n(() => [
|
|
1592
1595
|
s(Jn, {
|
|
1593
1596
|
componentParam: Q.value,
|
|
1594
|
-
onChange: r(
|
|
1597
|
+
onChange: r(_a),
|
|
1595
1598
|
onContentChange: r(Ma)
|
|
1596
1599
|
}, null, 8, ["componentParam", "onChange", "onContentChange"])
|
|
1597
1600
|
]),
|
|
@@ -1625,9 +1628,10 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1625
1628
|
s(Nl, { name: "Back" })
|
|
1626
1629
|
]),
|
|
1627
1630
|
default: n(() => [
|
|
1628
|
-
w[10] || (w[10] = pl(" 返回页面 "
|
|
1631
|
+
w[10] || (w[10] = pl(" 返回页面 "))
|
|
1629
1632
|
]),
|
|
1630
|
-
_: 1
|
|
1633
|
+
_: 1,
|
|
1634
|
+
__: [10]
|
|
1631
1635
|
}, 8, ["onClick"])
|
|
1632
1636
|
]),
|
|
1633
1637
|
x("div", Hi, [
|
|
@@ -1648,9 +1652,10 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1648
1652
|
s(Nl, { name: "Store" })
|
|
1649
1653
|
]),
|
|
1650
1654
|
default: n(() => [
|
|
1651
|
-
w[11] || (w[11] = pl(" 保存页面 "
|
|
1655
|
+
w[11] || (w[11] = pl(" 保存页面 "))
|
|
1652
1656
|
]),
|
|
1653
|
-
_: 1
|
|
1657
|
+
_: 1,
|
|
1658
|
+
__: [11]
|
|
1654
1659
|
})
|
|
1655
1660
|
])
|
|
1656
1661
|
]),
|
|
@@ -1766,9 +1771,10 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1766
1771
|
s(Nl, { name: "系统管理" })
|
|
1767
1772
|
]),
|
|
1768
1773
|
default: n(() => [
|
|
1769
|
-
w[12] || (w[12] = pl(" 系统管理 "
|
|
1774
|
+
w[12] || (w[12] = pl(" 系统管理 "))
|
|
1770
1775
|
]),
|
|
1771
|
-
_: 1
|
|
1776
|
+
_: 1,
|
|
1777
|
+
__: [12]
|
|
1772
1778
|
})) : Ve("", !0),
|
|
1773
1779
|
na(A.$slots, "default", {}, void 0, !0),
|
|
1774
1780
|
s(Wt, null, {
|
|
@@ -1825,11 +1831,11 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1825
1831
|
label: "未读消息",
|
|
1826
1832
|
name: "second"
|
|
1827
1833
|
}, {
|
|
1828
|
-
label: n(() =>
|
|
1834
|
+
label: n(() => w[14] || (w[14] = [
|
|
1829
1835
|
x("div", { class: "message-tab-label" }, [
|
|
1830
1836
|
x("span", null, "未读消息")
|
|
1831
1837
|
], -1)
|
|
1832
|
-
])
|
|
1838
|
+
])),
|
|
1833
1839
|
default: n(() => [
|
|
1834
1840
|
x("div", dr, [
|
|
1835
1841
|
(p(!0), G(al, null, fl(N.value, (ul, jl) => {
|
|
@@ -1954,7 +1960,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1954
1960
|
style: Ql({ paddingLeft: J.value ? "16px" : "0px" })
|
|
1955
1961
|
}, {
|
|
1956
1962
|
default: n(() => {
|
|
1957
|
-
var ul, jl, Wl, Rl, Gl, ta, Ul, Hl, oa, Zl, Dl, da, Ba, Ea, Da, $l,
|
|
1963
|
+
var ul, jl, Wl, Rl, Gl, ta, Ul, Hl, oa, Zl, Dl, da, Ba, Ea, Da, $l, _t, lt, us, ds, ps, fs, hs, vs, gs, ys, bs, Cs, ms, ws, ks, As, Ms;
|
|
1958
1964
|
return [
|
|
1959
1965
|
J.value ? Ve("", !0) : ia((p(), he(We, {
|
|
1960
1966
|
key: 0,
|
|
@@ -1973,7 +1979,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1973
1979
|
x("div", {
|
|
1974
1980
|
class: Fl(["whole-main", { "home-card-whole": Ee.value }])
|
|
1975
1981
|
}, [
|
|
1976
|
-
x("div",
|
|
1982
|
+
x("div", _r, [
|
|
1977
1983
|
s(Ft, {
|
|
1978
1984
|
breadArray: r(Je),
|
|
1979
1985
|
onClick: r(Ht)
|
|
@@ -1986,7 +1992,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
1986
1992
|
ref: b,
|
|
1987
1993
|
"element-loading-text": "正在加载页面数据..."
|
|
1988
1994
|
}, [
|
|
1989
|
-
((jl = r(B)) == null ? void 0 : jl[((ul = r(B)) == null ? void 0 : ul.length) - 1]) === r(j) || (Wl = r(B)) != null && Wl.includes("updateLoading") || (Rl = r(B)) != null && Rl.includes("loading") ? (p(), G("div",
|
|
1995
|
+
((jl = r(B)) == null ? void 0 : jl[((ul = r(B)) == null ? void 0 : ul.length) - 1]) === r(j) || (Wl = r(B)) != null && Wl.includes("updateLoading") || (Rl = r(B)) != null && Rl.includes("loading") ? (p(), G("div", Sr, [
|
|
1990
1996
|
s(wa, {
|
|
1991
1997
|
class: "calculator-content back-content",
|
|
1992
1998
|
onClickTrigger: w[5] || (w[5] = (K) => r(ns)()),
|
|
@@ -2013,7 +2019,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2013
2019
|
((ka = K == null ? void 0 : K.comp) == null ? void 0 : ka.toUpperCase()) !== "TABLE" && K.name && !ke(K) ? (p(), G("div", Er, [
|
|
2014
2020
|
x("div", Dr, nl(K.name), 1)
|
|
2015
2021
|
])) : Ve("", !0),
|
|
2016
|
-
r(Pa) ? (p(), he(ba(r(
|
|
2022
|
+
r(Pa) ? (p(), he(ba(r(Ia)(K.comp)), {
|
|
2017
2023
|
related: K == null ? void 0 : K.relatedTables,
|
|
2018
2024
|
compNames: r(Ja),
|
|
2019
2025
|
compName: K.name,
|
|
@@ -2024,7 +2030,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2024
2030
|
calculator: K == null ? void 0 : K.calculatorFilters,
|
|
2025
2031
|
childItemData: K == null ? void 0 : K.itemChildData,
|
|
2026
2032
|
key: r(Oa),
|
|
2027
|
-
onChange: r(
|
|
2033
|
+
onChange: r(_a),
|
|
2028
2034
|
onClickStep: r($o),
|
|
2029
2035
|
index: (K == null ? void 0 : K.id) ?? yl,
|
|
2030
2036
|
config: {
|
|
@@ -2076,11 +2082,11 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2076
2082
|
class: Fl([r(hn)((ka = K == null ? void 0 : K.component) == null ? void 0 : ka.comp) ? "grid-method-button" : "", "grid-scroll-item", "home-gi-" + yl, K != null && K.isCardGroup ? "home-card-grid-item" : ""])
|
|
2077
2083
|
}, {
|
|
2078
2084
|
default: n(() => {
|
|
2079
|
-
var Aa, Is, Ss,
|
|
2085
|
+
var Aa, _s, Is, Ss, Ts, Bs, Es, Ds, Ps, Rs, xs, Vs, Os, Us, Ls, js, Ns, Qs;
|
|
2080
2086
|
return [
|
|
2081
2087
|
x("div", {
|
|
2082
2088
|
style: Ql({ height: "100%", padding: Ee.value ? "0" : "8px" }),
|
|
2083
|
-
class: Fl(((
|
|
2089
|
+
class: Fl(((_s = r(ot)) != null && _s.includes((Aa = K == null ? void 0 : K.component) == null ? void 0 : Aa.id) ? "item-view-content affix-content" : "item-view-content") + " home-item-scroll")
|
|
2084
2090
|
}, [
|
|
2085
2091
|
K != null && K.isCardGroup ? (p(), G("div", {
|
|
2086
2092
|
key: 0,
|
|
@@ -2117,7 +2123,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2117
2123
|
((Ks = (st = pe == null ? void 0 : pe.component) == null ? void 0 : st.comp) == null ? void 0 : Ks.toUpperCase()) !== "TABLE" && ((Ws = pe == null ? void 0 : pe.component) != null && Ws.name) && !ke(pe == null ? void 0 : pe.component) ? (p(), G("div", Pr, [
|
|
2118
2124
|
x("div", Rr, nl((Hs = pe == null ? void 0 : pe.component) == null ? void 0 : Hs.name), 1)
|
|
2119
2125
|
])) : Ve("", !0),
|
|
2120
|
-
r(Pa) ? (p(), he(ba(r(
|
|
2126
|
+
r(Pa) ? (p(), he(ba(r(Ia)((qs = pe == null ? void 0 : pe.component) == null ? void 0 : qs.comp)), {
|
|
2121
2127
|
pageLayout: Ll.value,
|
|
2122
2128
|
config: {
|
|
2123
2129
|
showIndex: (Ys = pe == null ? void 0 : pe.component) == null ? void 0 : Ys.showIndex,
|
|
@@ -2132,7 +2138,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2132
2138
|
childItemData: (Zs = pe == null ? void 0 : pe.component) == null ? void 0 : Zs.itemChildData,
|
|
2133
2139
|
key: `${r(Oa)}-${(($s = pe == null ? void 0 : pe.component) == null ? void 0 : $s.id) ?? Ya}`,
|
|
2134
2140
|
compItem: pe,
|
|
2135
|
-
onChange: r(
|
|
2141
|
+
onChange: r(_a),
|
|
2136
2142
|
calculator: (en = pe == null ? void 0 : pe.component) == null ? void 0 : en.calculatorFilters,
|
|
2137
2143
|
index: ((ln = pe == null ? void 0 : pe.component) == null ? void 0 : ln.id) ?? Ya,
|
|
2138
2144
|
onContentChange: r(Ma),
|
|
@@ -2146,7 +2152,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2146
2152
|
cacheNewData: r(Ua),
|
|
2147
2153
|
onClickTrigger: r(Ra),
|
|
2148
2154
|
onClickMainKey: r(Fa),
|
|
2149
|
-
onGetSliceContLength: r(
|
|
2155
|
+
onGetSliceContLength: r(It)
|
|
2150
2156
|
}, null, 40, ["pageLayout", "config", "compName", "compNames", "isDevMode", "itemData", "childItemData", "compItem", "onChange", "calculator", "index", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "children", "cacheNewData", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : Ve("", !0)
|
|
2151
2157
|
], 2)
|
|
2152
2158
|
];
|
|
@@ -2166,7 +2172,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2166
2172
|
((st = pe == null ? void 0 : pe.comp) == null ? void 0 : st.toUpperCase()) !== "TABLE" && (pe != null && pe.name) && !ke(pe) ? (p(), G("div", Vr, [
|
|
2167
2173
|
x("div", Or, nl(pe == null ? void 0 : pe.name), 1)
|
|
2168
2174
|
])) : Ve("", !0),
|
|
2169
|
-
r(Pa) ? (p(), he(ba(r(
|
|
2175
|
+
r(Pa) ? (p(), he(ba(r(Ia)(pe == null ? void 0 : pe.comp)), {
|
|
2170
2176
|
pageLayout: Ll.value,
|
|
2171
2177
|
config: {
|
|
2172
2178
|
showIndex: pe == null ? void 0 : pe.showIndex,
|
|
@@ -2181,7 +2187,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2181
2187
|
childItemData: pe == null ? void 0 : pe.itemChildData,
|
|
2182
2188
|
key: `${r(Oa)}-${(pe == null ? void 0 : pe.id) ?? Ya}`,
|
|
2183
2189
|
compItem: { component: pe },
|
|
2184
|
-
onChange: r(
|
|
2190
|
+
onChange: r(_a),
|
|
2185
2191
|
calculator: pe == null ? void 0 : pe.calculatorFilters,
|
|
2186
2192
|
index: (pe == null ? void 0 : pe.id) ?? Ya,
|
|
2187
2193
|
onContentChange: r(Ma),
|
|
@@ -2195,16 +2201,16 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2195
2201
|
cacheNewData: r(Ua),
|
|
2196
2202
|
onClickTrigger: r(Ra),
|
|
2197
2203
|
onClickMainKey: r(Fa),
|
|
2198
|
-
onGetSliceContLength: r(
|
|
2204
|
+
onGetSliceContLength: r(It)
|
|
2199
2205
|
}, null, 40, ["pageLayout", "config", "compName", "compNames", "isDevMode", "itemData", "childItemData", "compItem", "onChange", "calculator", "index", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "children", "cacheNewData", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : Ve("", !0)
|
|
2200
2206
|
], 6);
|
|
2201
2207
|
}), 128))
|
|
2202
2208
|
]))
|
|
2203
2209
|
], 2)) : (p(), G(al, { key: 1 }, [
|
|
2204
|
-
((
|
|
2210
|
+
((Ss = (Is = K == null ? void 0 : K.component) == null ? void 0 : Is.comp) == null ? void 0 : Ss.toUpperCase()) !== "TABLE" && ((Ts = K == null ? void 0 : K.component) != null && Ts.name) && !ke(K == null ? void 0 : K.component) ? (p(), G("div", Ur, [
|
|
2205
2211
|
x("div", Lr, nl((Bs = K == null ? void 0 : K.component) == null ? void 0 : Bs.name), 1)
|
|
2206
2212
|
])) : Ve("", !0),
|
|
2207
|
-
r(Pa) ? (p(), he(ba(r(
|
|
2213
|
+
r(Pa) ? (p(), he(ba(r(Ia)((Es = K == null ? void 0 : K.component) == null ? void 0 : Es.comp)), {
|
|
2208
2214
|
pageLayout: Ll.value,
|
|
2209
2215
|
config: {
|
|
2210
2216
|
showIndex: (Ds = K == null ? void 0 : K.component) == null ? void 0 : Ds.showIndex,
|
|
@@ -2219,7 +2225,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2219
2225
|
childItemData: (Us = K == null ? void 0 : K.component) == null ? void 0 : Us.itemChildData,
|
|
2220
2226
|
key: r(Oa),
|
|
2221
2227
|
compItem: K,
|
|
2222
|
-
onChange: r(
|
|
2228
|
+
onChange: r(_a),
|
|
2223
2229
|
calculator: (Ls = K == null ? void 0 : K.component) == null ? void 0 : Ls.calculatorFilters,
|
|
2224
2230
|
index: ((js = K == null ? void 0 : K.component) == null ? void 0 : js.id) ?? yl,
|
|
2225
2231
|
onContentChange: r(Ma),
|
|
@@ -2233,7 +2239,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2233
2239
|
cacheNewData: r(Ua),
|
|
2234
2240
|
onClickTrigger: r(Ra),
|
|
2235
2241
|
onClickMainKey: r(Fa),
|
|
2236
|
-
onGetSliceContLength: r(
|
|
2242
|
+
onGetSliceContLength: r(It)
|
|
2237
2243
|
}, null, 40, ["pageLayout", "config", "compName", "compNames", "isDevMode", "itemData", "childItemData", "compItem", "onChange", "calculator", "index", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "children", "cacheNewData", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : Ve("", !0)
|
|
2238
2244
|
], 64))
|
|
2239
2245
|
], 6)
|
|
@@ -2247,8 +2253,8 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2247
2253
|
}, 8, ["layout", "margin", "row-height", "style"])) : Ve("", !0),
|
|
2248
2254
|
!r(nt) && Ll.value === "horizontal" ? (p(), G("div", jr, [
|
|
2249
2255
|
s(el, {
|
|
2250
|
-
modelValue:
|
|
2251
|
-
"onUpdate:modelValue": w[6] || (w[6] = (K) =>
|
|
2256
|
+
modelValue: Il.value,
|
|
2257
|
+
"onUpdate:modelValue": w[6] || (w[6] = (K) => Il.value = K),
|
|
2252
2258
|
type: "card",
|
|
2253
2259
|
class: "display-tabs",
|
|
2254
2260
|
onTabClick: o
|
|
@@ -2268,7 +2274,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2268
2274
|
((ka = yl == null ? void 0 : yl.comp) == null ? void 0 : ka.toUpperCase()) !== "TABLE" && yl.name && !ke(yl) ? (p(), G("div", Qr, [
|
|
2269
2275
|
x("div", Kr, nl(yl.name), 1)
|
|
2270
2276
|
])) : Ve("", !0),
|
|
2271
|
-
r(Pa) ? (p(), he(ba(r(
|
|
2277
|
+
r(Pa) ? (p(), he(ba(r(Ia)(yl.comp)), {
|
|
2272
2278
|
pageLayout: Ll.value,
|
|
2273
2279
|
compName: yl.name,
|
|
2274
2280
|
related: yl == null ? void 0 : yl.relatedTables,
|
|
@@ -2278,7 +2284,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2278
2284
|
childItemData: yl == null ? void 0 : yl.itemChildData,
|
|
2279
2285
|
key: r(Oa),
|
|
2280
2286
|
compItem: yl,
|
|
2281
|
-
onChange: r(
|
|
2287
|
+
onChange: r(_a),
|
|
2282
2288
|
index: (yl == null ? void 0 : yl.id) ?? ya,
|
|
2283
2289
|
onContentChange: r(Ma),
|
|
2284
2290
|
onPageChange: r(Va),
|
|
@@ -2297,7 +2303,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2297
2303
|
},
|
|
2298
2304
|
onClickTrigger: r(Ra),
|
|
2299
2305
|
onClickMainKey: r(Fa),
|
|
2300
|
-
onGetSliceContLength: r(
|
|
2306
|
+
onGetSliceContLength: r(It)
|
|
2301
2307
|
}, null, 40, ["pageLayout", "compName", "related", "compNames", "isDevMode", "itemData", "childItemData", "compItem", "onChange", "index", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "children", "cacheNewData", "config", "onClickTrigger", "onClickMainKey", "onGetSliceContLength"])) : Ve("", !0)
|
|
2302
2308
|
])
|
|
2303
2309
|
];
|
|
@@ -2317,7 +2323,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2317
2323
|
class: "display-steps"
|
|
2318
2324
|
}, {
|
|
2319
2325
|
default: n(() => [
|
|
2320
|
-
(p(!0), G(al, null, fl(r(ei), (K, yl) => (p(), he(
|
|
2326
|
+
(p(!0), G(al, null, fl(r(ei), (K, yl) => (p(), he(Sl, {
|
|
2321
2327
|
key: K == null ? void 0 : K.id,
|
|
2322
2328
|
class: "step-item",
|
|
2323
2329
|
status: K == null ? void 0 : K.status,
|
|
@@ -2336,7 +2342,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2336
2342
|
class: Fl((Ba = r(ot)) != null && Ba.includes((da = (Dl = r(pa)) == null ? void 0 : Dl.comp) == null ? void 0 : da.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
2337
2343
|
style: Ql({ display: ((Da = (Ea = r(pa)) == null ? void 0 : Ea.comp) == null ? void 0 : Da.isShow) === !1 ? "none" : "flex" })
|
|
2338
2344
|
}, [
|
|
2339
|
-
r(Pa) ? (p(), he(ba(r(
|
|
2345
|
+
r(Pa) ? (p(), he(ba(r(Ia)((_t = ($l = r(pa)) == null ? void 0 : $l.comp) == null ? void 0 : _t.comp)), {
|
|
2340
2346
|
compItem: (lt = r(pa)) == null ? void 0 : lt.comp,
|
|
2341
2347
|
compNames: r(Ja),
|
|
2342
2348
|
compName: (ds = (us = r(pa)) == null ? void 0 : us.comp) == null ? void 0 : ds.name,
|
|
@@ -2346,7 +2352,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2346
2352
|
itemData: (hs = (fs = r(pa)) == null ? void 0 : fs.comp) == null ? void 0 : hs.compData,
|
|
2347
2353
|
childItemData: (gs = (vs = r(pa)) == null ? void 0 : vs.comp) == null ? void 0 : gs.itemChildData,
|
|
2348
2354
|
key: r(Oa),
|
|
2349
|
-
onChange: r(
|
|
2355
|
+
onChange: r(_a),
|
|
2350
2356
|
index: (bs = (ys = r(pa)) == null ? void 0 : ys.comp) == null ? void 0 : bs.id,
|
|
2351
2357
|
onContentChange: r(Ma),
|
|
2352
2358
|
onPageChange: r(Va),
|
|
@@ -2364,13 +2370,13 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2364
2370
|
E() ? (p(), he(wa, {
|
|
2365
2371
|
key: 0,
|
|
2366
2372
|
class: "calculator-content",
|
|
2367
|
-
onClickTrigger:
|
|
2373
|
+
onClickTrigger: Se,
|
|
2368
2374
|
modelValue: "保存"
|
|
2369
2375
|
})) : Ve("", !0)
|
|
2370
2376
|
])) : Ve("", !0)
|
|
2371
2377
|
]))
|
|
2372
2378
|
], 2))
|
|
2373
|
-
], 10,
|
|
2379
|
+
], 10, Ir)), [
|
|
2374
2380
|
[il, r(e)]
|
|
2375
2381
|
])
|
|
2376
2382
|
], 2)
|
|
@@ -2384,7 +2390,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2384
2390
|
x("div", null, [
|
|
2385
2391
|
(p(), G("input", {
|
|
2386
2392
|
type: "file",
|
|
2387
|
-
key:
|
|
2393
|
+
key: _.value,
|
|
2388
2394
|
ref_key: "bigFile",
|
|
2389
2395
|
ref: L,
|
|
2390
2396
|
webkitdirectory: "",
|
|
@@ -2432,20 +2438,22 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2432
2438
|
onClick: w[7] || (w[7] = (ul) => Ot.value = !1),
|
|
2433
2439
|
id: "themeBorderButton"
|
|
2434
2440
|
}, {
|
|
2435
|
-
default: n(() =>
|
|
2436
|
-
pl(nl("取消")
|
|
2437
|
-
])
|
|
2438
|
-
_: 1
|
|
2441
|
+
default: n(() => w[20] || (w[20] = [
|
|
2442
|
+
pl(nl("取消"))
|
|
2443
|
+
])),
|
|
2444
|
+
_: 1,
|
|
2445
|
+
__: [20]
|
|
2439
2446
|
}),
|
|
2440
2447
|
s(te, {
|
|
2441
2448
|
class: "ok-button",
|
|
2442
2449
|
onClick: w[8] || (w[8] = (ul) => r(ai)()),
|
|
2443
2450
|
id: "themeButton"
|
|
2444
2451
|
}, {
|
|
2445
|
-
default: n(() =>
|
|
2446
|
-
pl(nl("确认")
|
|
2447
|
-
])
|
|
2448
|
-
_: 1
|
|
2452
|
+
default: n(() => w[21] || (w[21] = [
|
|
2453
|
+
pl(nl("确认"))
|
|
2454
|
+
])),
|
|
2455
|
+
_: 1,
|
|
2456
|
+
__: [21]
|
|
2449
2457
|
})
|
|
2450
2458
|
])
|
|
2451
2459
|
]),
|
|
@@ -2473,15 +2481,15 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2473
2481
|
},
|
|
2474
2482
|
emits: ["clickMenu", "openMenu", "closeMenu"],
|
|
2475
2483
|
setup(l, { emit: f }) {
|
|
2476
|
-
const o = f, h = (
|
|
2477
|
-
o("clickMenu",
|
|
2478
|
-
},
|
|
2479
|
-
o("openMenu",
|
|
2480
|
-
}, L = (
|
|
2481
|
-
o("closeMenu",
|
|
2484
|
+
const o = f, h = (I) => {
|
|
2485
|
+
o("clickMenu", I);
|
|
2486
|
+
}, _ = (I) => {
|
|
2487
|
+
o("openMenu", I);
|
|
2488
|
+
}, L = (I) => {
|
|
2489
|
+
o("closeMenu", I);
|
|
2482
2490
|
};
|
|
2483
2491
|
return la(() => {
|
|
2484
|
-
}), (
|
|
2492
|
+
}), (I, V) => {
|
|
2485
2493
|
const R = ae("MenuItem", !0), P = ae("el-sub-menu"), ue = ae("el-menu-item");
|
|
2486
2494
|
return p(!0), G(al, null, fl(l.menuList, (e) => (p(), G(al, null, [
|
|
2487
2495
|
e.show && e.children && e.children.length > 0 ? (p(), he(P, {
|
|
@@ -2490,19 +2498,19 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2490
2498
|
class: Fl(l.editingPath === (e == null ? void 0 : e.path) ? "editing-menu" : "")
|
|
2491
2499
|
}, {
|
|
2492
2500
|
title: n(() => [
|
|
2493
|
-
na(
|
|
2501
|
+
na(I.$slots, "title", { menu: e })
|
|
2494
2502
|
]),
|
|
2495
2503
|
default: n(() => [
|
|
2496
2504
|
s(R, {
|
|
2497
2505
|
menuList: e.children,
|
|
2498
2506
|
onClickMenu: h,
|
|
2499
|
-
onOpenMenu:
|
|
2507
|
+
onOpenMenu: _,
|
|
2500
2508
|
onCloseMenu: L
|
|
2501
2509
|
}, Dt({ _: 2 }, [
|
|
2502
|
-
fl(
|
|
2510
|
+
fl(I.$slots, (B, D) => ({
|
|
2503
2511
|
name: D,
|
|
2504
2512
|
fn: n((U) => [
|
|
2505
|
-
na(
|
|
2513
|
+
na(I.$slots, D, Mn({ ref_for: !0 }, U))
|
|
2506
2514
|
])
|
|
2507
2515
|
}))
|
|
2508
2516
|
]), 1032, ["menuList"])
|
|
@@ -2515,7 +2523,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2515
2523
|
class: Fl(l.editingPath === (e == null ? void 0 : e.path) ? "editing-menu" : "")
|
|
2516
2524
|
}, {
|
|
2517
2525
|
title: n(() => [
|
|
2518
|
-
na(
|
|
2526
|
+
na(I.$slots, "title", { menu: e })
|
|
2519
2527
|
]),
|
|
2520
2528
|
_: 2
|
|
2521
2529
|
}, 1032, ["index", "onClick", "class"])) : Ve("", !0)
|
|
@@ -2543,7 +2551,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2543
2551
|
},
|
|
2544
2552
|
emits: ["clickMenu", "openMenu", "closeMenu", "selectMenu"],
|
|
2545
2553
|
setup(l, { expose: f, emit: o }) {
|
|
2546
|
-
const h = zl(Al), { activeAsideEditMenuPath:
|
|
2554
|
+
const h = zl(Al), { activeAsideEditMenuPath: _, activeEditMenuOpenPaths: L, activeMainEditMenuPath: I } = ml(h), V = va(Al), { routeToChildPath: R } = ml(V), P = l, ue = o, e = (v) => {
|
|
2547
2555
|
ue("clickMenu", v);
|
|
2548
2556
|
}, B = (v) => {
|
|
2549
2557
|
ue("openMenu", v);
|
|
@@ -2551,7 +2559,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2551
2559
|
ue("selectMenu", v);
|
|
2552
2560
|
}, U = (v) => {
|
|
2553
2561
|
ue("closeMenu", v);
|
|
2554
|
-
}, i = El(() => R.value ?
|
|
2562
|
+
}, i = El(() => R.value ? I.value : (P == null ? void 0 : P.mode) === "vertical" ? _.value : I.value), H = El(() => L.value), N = S(null);
|
|
2555
2563
|
return f({
|
|
2556
2564
|
handleResize: () => {
|
|
2557
2565
|
var v;
|
|
@@ -2561,7 +2569,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2561
2569
|
N.value && N.value.open(v);
|
|
2562
2570
|
}
|
|
2563
2571
|
}), (v, c) => {
|
|
2564
|
-
const
|
|
2572
|
+
const Ie = ae("el-sub-menu"), ve = ae("el-menu-item"), j = ae("el-menu");
|
|
2565
2573
|
return p(), he(j, {
|
|
2566
2574
|
ref_key: "menuRef",
|
|
2567
2575
|
ref: N,
|
|
@@ -2581,7 +2589,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2581
2589
|
}, {
|
|
2582
2590
|
default: n(() => [
|
|
2583
2591
|
(p(!0), G(al, null, fl(l.menuList, (re, ne) => (p(), G(al, null, [
|
|
2584
|
-
re.show && re.children && re.children.length > 0 ? (p(), he(
|
|
2592
|
+
re.show && re.children && re.children.length > 0 ? (p(), he(Ie, {
|
|
2585
2593
|
index: re.path,
|
|
2586
2594
|
key: re.path,
|
|
2587
2595
|
style: Ql(re.style),
|
|
@@ -2673,7 +2681,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2673
2681
|
},
|
|
2674
2682
|
emits: ["update:modelValue", "get", "clear"],
|
|
2675
2683
|
setup(l, { emit: f }) {
|
|
2676
|
-
const o = l, h = f,
|
|
2684
|
+
const o = l, h = f, _ = sn(() => import("./localIcon-D5UoFBU5.js")), L = sn(() => import("./eleIcon-Dtsx377t.js")), I = S(), V = Yl({
|
|
2677
2685
|
fontIconPrefix: "",
|
|
2678
2686
|
fontIconWidth: 0,
|
|
2679
2687
|
fontIconSearch: "",
|
|
@@ -2688,7 +2696,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2688
2696
|
if (!o.modelValue) return !1;
|
|
2689
2697
|
V.fontIconSearch = "", V.fontIconPlaceholder = o.modelValue, V.fontIconTabActive = "local";
|
|
2690
2698
|
}, P = () => {
|
|
2691
|
-
}, ue =
|
|
2699
|
+
}, ue = S([]), e = Yl({
|
|
2692
2700
|
local: Object.keys({ "/public/icons/svg/App.svg": 0, "/public/icons/svg/Avatar.svg": 0, "/public/icons/svg/Back.svg": 0, "/public/icons/svg/Cancel.svg": 0, "/public/icons/svg/ChildAdd.svg": 0, "/public/icons/svg/ChildDelete.svg": 0, "/public/icons/svg/ChildFix.svg": 0, "/public/icons/svg/CopyAddMenu.svg": 0, "/public/icons/svg/Delete.svg": 0, "/public/icons/svg/DeleteMenu.svg": 0, "/public/icons/svg/DongHuaFangZhen.svg": 0, "/public/icons/svg/Edit.svg": 0, "/public/icons/svg/EyeFill.svg": 0, "/public/icons/svg/FixedMenu.svg": 0, "/public/icons/svg/Fold.svg": 0, "/public/icons/svg/Form.svg": 0, "/public/icons/svg/Left.svg": 0, "/public/icons/svg/LowCodeEvent.svg": 0, "/public/icons/svg/LowCodeExtend.svg": 0, "/public/icons/svg/LowCodeSetting.svg": 0, "/public/icons/svg/LowCodeStyle.svg": 0, "/public/icons/svg/OCR识别.svg": 0, "/public/icons/svg/Plus.svg": 0, "/public/icons/svg/Right.svg": 0, "/public/icons/svg/Save.svg": 0, "/public/icons/svg/Signature.svg": 0, "/public/icons/svg/Step.svg": 0, "/public/icons/svg/Store.svg": 0, "/public/icons/svg/Table.svg": 0, "/public/icons/svg/TableLook.svg": 0, "/public/icons/svg/Tabs.svg": 0, "/public/icons/svg/TimeLine.svg": 0, "/public/icons/svg/Update.svg": 0, "/public/icons/svg/account.svg": 0, "/public/icons/svg/back-0.svg": 0, "/public/icons/svg/card-delete.svg": 0, "/public/icons/svg/card-edit.svg": 0, "/public/icons/svg/cardViewport.svg": 0, "/public/icons/svg/cardViewport_101.svg": 0, "/public/icons/svg/clear.svg": 0, "/public/icons/svg/colFilter.svg": 0, "/public/icons/svg/colOperate.svg": 0, "/public/icons/svg/config.svg": 0, "/public/icons/svg/default.svg": 0, "/public/icons/svg/dept.svg": 0, "/public/icons/svg/drag.svg": 0, "/public/icons/svg/editTable.svg": 0, "/public/icons/svg/edit_101.svg": 0, "/public/icons/svg/emptyImg.svg": 0, "/public/icons/svg/exit.svg": 0, "/public/icons/svg/expand.svg": 0, "/public/icons/svg/export.svg": 0, "/public/icons/svg/export_101.svg": 0, "/public/icons/svg/functionList.svg": 0, "/public/icons/svg/import.svg": 0, "/public/icons/svg/import_101.svg": 0, "/public/icons/svg/logo.svg": 0, "/public/icons/svg/menuPlus.svg": 0, "/public/icons/svg/menuPlusDark.svg": 0, "/public/icons/svg/message.svg": 0, "/public/icons/svg/model.svg": 0, "/public/icons/svg/modelEditBack.svg": 0, "/public/icons/svg/more.svg": 0, "/public/icons/svg/new.svg": 0, "/public/icons/svg/normal.svg": 0, "/public/icons/svg/operate.svg": 0, "/public/icons/svg/overviewTable.svg": 0, "/public/icons/svg/pack.svg": 0, "/public/icons/svg/password.svg": 0, "/public/icons/svg/personal.svg": 0, "/public/icons/svg/query.svg": 0, "/public/icons/svg/readTable.svg": 0, "/public/icons/svg/role.svg": 0, "/public/icons/svg/rowCreate.svg": 0, "/public/icons/svg/softCancel.svg": 0, "/public/icons/svg/softConfirm.svg": 0, "/public/icons/svg/softDelete.svg": 0, "/public/icons/svg/softEdit.svg": 0, "/public/icons/svg/softForm.svg": 0, "/public/icons/svg/softHome.svg": 0, "/public/icons/svg/softRemove.svg": 0, "/public/icons/svg/softTable.svg": 0, "/public/icons/svg/status.svg": 0, "/public/icons/svg/tableClose.svg": 0, "/public/icons/svg/tableExpand.svg": 0, "/public/icons/svg/three.svg": 0, "/public/icons/svg/treeMore.svg": 0, "/public/icons/svg/upload.svg": 0, "/public/icons/svg/uploadCopy.svg": 0, "/public/icons/svg/userAccount.svg": 0, "/public/icons/svg/wenjian.svg": 0, "/public/icons/svg/wenjianjia.svg": 0, "/public/icons/svg/write.svg": 0, "/public/icons/svg/上台对接.svg": 0, "/public/icons/svg/上面级过程管控.svg": 0, "/public/icons/svg/专项监督报告.svg": 0, "/public/icons/svg/个人中心.svg": 0, "/public/icons/svg/主菜单管理.svg": 0, "/public/icons/svg/交接前准备.svg": 0, "/public/icons/svg/产品检测.svg": 0, "/public/icons/svg/人像.svg": 0, "/public/icons/svg/人员列表.svg": 0, "/public/icons/svg/人员管理.svg": 0, "/public/icons/svg/人员资质.svg": 0, "/public/icons/svg/任务管理.svg": 0, "/public/icons/svg/任务选择.svg": 0, "/public/icons/svg/仿真动画.svg": 0, "/public/icons/svg/会议纪要.svg": 0, "/public/icons/svg/位姿生成.svg": 0, "/public/icons/svg/保存.svg": 0, "/public/icons/svg/停工令.svg": 0, "/public/icons/svg/刀具.svg": 0, "/public/icons/svg/删除弯管.svg": 0, "/public/icons/svg/制造厂.svg": 0, "/public/icons/svg/加工.svg": 0, "/public/icons/svg/协作单位.svg": 0, "/public/icons/svg/单元库.svg": 0, "/public/icons/svg/压气机叶片.svg": 0, "/public/icons/svg/发动机下台.svg": 0, "/public/icons/svg/发动机点火试验.svg": 0, "/public/icons/svg/发动机输送.svg": 0, "/public/icons/svg/取消.svg": 0, "/public/icons/svg/合同管理.svg": 0, "/public/icons/svg/同意.svg": 0, "/public/icons/svg/周报.svg": 0, "/public/icons/svg/在线考试.svg": 0, "/public/icons/svg/场景.svg": 0, "/public/icons/svg/培训学习.svg": 0, "/public/icons/svg/培训计划.svg": 0, "/public/icons/svg/备忘录.svg": 0, "/public/icons/svg/夹具资源.svg": 0, "/public/icons/svg/子菜单.svg": 0, "/public/icons/svg/审批中心0.svg": 0, "/public/icons/svg/审批中心1.svg": 0, "/public/icons/svg/审核.svg": 0, "/public/icons/svg/导入弯管.svg": 0, "/public/icons/svg/导出弯管.svg": 0, "/public/icons/svg/岗位管理.svg": 0, "/public/icons/svg/工件库.svg": 0, "/public/icons/svg/工作台.svg": 0, "/public/icons/svg/工艺生成.svg": 0, "/public/icons/svg/工艺系统.svg": 0, "/public/icons/svg/工艺规程编辑.svg": 0, "/public/icons/svg/工艺规程调用.svg": 0, "/public/icons/svg/已处理.svg": 0, "/public/icons/svg/已完成.svg": 0, "/public/icons/svg/平台管理.svg": 0, "/public/icons/svg/年度监造.svg": 0, "/public/icons/svg/年度计划.svg": 0, "/public/icons/svg/建模分析.svg": 0, "/public/icons/svg/弯管1.svg": 0, "/public/icons/svg/弯管2.svg": 0, "/public/icons/svg/弯管处理.svg": 0, "/public/icons/svg/待办事项.svg": 0, "/public/icons/svg/待处理.svg": 0, "/public/icons/svg/总月报.svg": 0, "/public/icons/svg/我发起.svg": 0, "/public/icons/svg/批准.svg": 0, "/public/icons/svg/承包商.svg": 0, "/public/icons/svg/技术监督单.svg": 0, "/public/icons/svg/抄送我的.svg": 0, "/public/icons/svg/报告中心.svg": 0, "/public/icons/svg/报表模板.svg": 0, "/public/icons/svg/控制系统.svg": 0, "/public/icons/svg/提交.svg": 0, "/public/icons/svg/操作规程.svg": 0, "/public/icons/svg/文件列表.svg": 0, "/public/icons/svg/文件夹.svg": 0, "/public/icons/svg/文件管理.svg": 0, "/public/icons/svg/文档管理.svg": 0, "/public/icons/svg/新建弯管.svg": 0, "/public/icons/svg/方法库.svg": 0, "/public/icons/svg/日志管理.svg": 0, "/public/icons/svg/日报.svg": 0, "/public/icons/svg/曲面.svg": 0, "/public/icons/svg/月报.svg": 0, "/public/icons/svg/未开始.svg": 0, "/public/icons/svg/机器人弯管机.svg": 0, "/public/icons/svg/机床.svg": 0, "/public/icons/svg/权限管理.svg": 0, "/public/icons/svg/标准规范.svg": 0, "/public/icons/svg/档案管理.svg": 0, "/public/icons/svg/模具1.svg": 0, "/public/icons/svg/模具库.svg": 0, "/public/icons/svg/模型管理.svg": 0, "/public/icons/svg/模板管理.svg": 0, "/public/icons/svg/气密性检查.svg": 0, "/public/icons/svg/流程库.svg": 0, "/public/icons/svg/测量系统.svg": 0, "/public/icons/svg/测量系统状态传递表.svg": 0, "/public/icons/svg/消息中心.svg": 0, "/public/icons/svg/消息管理.svg": 0, "/public/icons/svg/涡轮叶片.svg": 0, "/public/icons/svg/涡轮旋转.svg": 0, "/public/icons/svg/灯泡维修.svg": 0, "/public/icons/svg/物项管理.svg": 0, "/public/icons/svg/生成报告.svg": 0, "/public/icons/svg/用户管理.svg": 0, "/public/icons/svg/界面修改.svg": 0, "/public/icons/svg/监造项目.svg": 0, "/public/icons/svg/知识库.svg": 0, "/public/icons/svg/程序输出.svg": 0, "/public/icons/svg/策划报告.svg": 0, "/public/icons/svg/筛选.svg": 0, "/public/icons/svg/算法.svg": 0, "/public/icons/svg/管件解析.svg": 0, "/public/icons/svg/系统消息.svg": 0, "/public/icons/svg/系统管理.svg": 0, "/public/icons/svg/系统设备.svg": 0, "/public/icons/svg/系统配置.svg": 0, "/public/icons/svg/线.svg": 0, "/public/icons/svg/组织团队.svg": 0, "/public/icons/svg/经验反馈1.svg": 0, "/public/icons/svg/经验反馈报告2.svg": 0, "/public/icons/svg/综合测试.svg": 0, "/public/icons/svg/考核.svg": 0, "/public/icons/svg/考试.svg": 0, "/public/icons/svg/考试记录.svg": 0, "/public/icons/svg/耗材库.svg": 0, "/public/icons/svg/职位管理.svg": 0, "/public/icons/svg/菜单管理.svg": 0, "/public/icons/svg/营运单位.svg": 0, "/public/icons/svg/观察意见单.svg": 0, "/public/icons/svg/角色管理.svg": 0, "/public/icons/svg/记录单.svg": 0, "/public/icons/svg/设备使用统计.svg": 0, "/public/icons/svg/设备库.svg": 0, "/public/icons/svg/设备管理.svg": 0, "/public/icons/svg/试卷.svg": 0, "/public/icons/svg/试验人员工作统计.svg": 0, "/public/icons/svg/试验任务.svg": 0, "/public/icons/svg/试验传感器.svg": 0, "/public/icons/svg/试验传感器配置.svg": 0, "/public/icons/svg/试验准备.svg": 0, "/public/icons/svg/试验台.svg": 0, "/public/icons/svg/试验总结.svg": 0, "/public/icons/svg/试验文档.svg": 0, "/public/icons/svg/试验流程.svg": 0, "/public/icons/svg/试验系统.svg": 0, "/public/icons/svg/试验系统设备.svg": 0, "/public/icons/svg/试验系统设备配置.svg": 0, "/public/icons/svg/试验结果评价.svg": 0, "/public/icons/svg/试验设备.svg": 0, "/public/icons/svg/试验过程.svg": 0, "/public/icons/svg/质量计划.svg": 0, "/public/icons/svg/质量计划审查意见单.svg": 0, "/public/icons/svg/质量计划见证点.svg": 0, "/public/icons/svg/轨迹规划.svg": 0, "/public/icons/svg/进度计划.svg": 0, "/public/icons/svg/退出.svg": 0, "/public/icons/svg/选择设备.svg": 0, "/public/icons/svg/部门文件.svg": 0, "/public/icons/svg/部门管理.svg": 0, "/public/icons/svg/配置文件.svg": 0, "/public/icons/svg/附件文件.svg": 0, "/public/icons/svg/项目信息.svg": 0, "/public/icons/svg/项目档案.svg": 0, "/public/icons/svg/项目管理0.svg": 0, "/public/icons/svg/题库.svg": 0, "/public/icons/svg/风机叶片.svg": 0, "/public/icons/svg/首页.svg": 0, "/public/icons/svg/驳回.svg": 0 }).map((N) => {
|
|
2693
2701
|
var J;
|
|
2694
2702
|
return (J = N.match(/\/([^/]+)\.svg$/)) == null ? void 0 : J[1];
|
|
@@ -2699,15 +2707,15 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2699
2707
|
ue.value = e == null ? void 0 : e[N];
|
|
2700
2708
|
}, { immediate: !0 });
|
|
2701
2709
|
const B = () => {
|
|
2702
|
-
|
|
2710
|
+
I.value.focus();
|
|
2703
2711
|
}, D = (N) => {
|
|
2704
|
-
V.fontIconPlaceholder = N, V.fontIconPrefix = N, h("get", V.fontIconPrefix), h("update:modelValue", V.fontIconPrefix),
|
|
2712
|
+
V.fontIconPlaceholder = N, V.fontIconPrefix = N, h("get", V.fontIconPrefix), h("update:modelValue", V.fontIconPrefix), I.value.focus();
|
|
2705
2713
|
}, U = () => {
|
|
2706
2714
|
V.fontIconPrefix = "", h("clear", V.fontIconPrefix), h("update:modelValue", V.fontIconPrefix);
|
|
2707
2715
|
}, i = () => {
|
|
2708
2716
|
ra(() => {
|
|
2709
2717
|
var N, J;
|
|
2710
|
-
V.fontIconWidth = (J = (N =
|
|
2718
|
+
V.fontIconWidth = (J = (N = I.value) == null ? void 0 : N.$el) == null ? void 0 : J.offsetWidth;
|
|
2711
2719
|
});
|
|
2712
2720
|
}, H = () => {
|
|
2713
2721
|
window.addEventListener("resize", () => {
|
|
@@ -2719,7 +2727,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2719
2727
|
}), bl(() => o == null ? void 0 : o.modelValue, (N) => {
|
|
2720
2728
|
V.fontIconPrefix = N;
|
|
2721
2729
|
}, { immediate: !0 }), (N, J) => {
|
|
2722
|
-
const y = ae("svg-icon"), v = ae("el-input"), c = ae("el-tab-pane"),
|
|
2730
|
+
const y = ae("svg-icon"), v = ae("el-input"), c = ae("el-tab-pane"), Ie = ae("el-col"), ve = ae("el-row"), j = ae("el-scrollbar"), re = ae("el-tabs"), ne = ae("el-popover");
|
|
2723
2731
|
return p(), G("div", Zr, [
|
|
2724
2732
|
s(v, {
|
|
2725
2733
|
modelValue: V.fontIconSearch,
|
|
@@ -2729,7 +2737,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2729
2737
|
disabled: l.disabled,
|
|
2730
2738
|
size: l.size,
|
|
2731
2739
|
ref_key: "inputWidthRef",
|
|
2732
|
-
ref:
|
|
2740
|
+
ref: I,
|
|
2733
2741
|
onClear: U,
|
|
2734
2742
|
onFocus: R,
|
|
2735
2743
|
onBlur: P,
|
|
@@ -2753,7 +2761,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2753
2761
|
transition: "el-zoom-in-top",
|
|
2754
2762
|
"popper-class": "icon-selector-popper",
|
|
2755
2763
|
trigger: "click",
|
|
2756
|
-
"virtual-ref":
|
|
2764
|
+
"virtual-ref": I.value,
|
|
2757
2765
|
"virtual-triggering": ""
|
|
2758
2766
|
}, {
|
|
2759
2767
|
default: n(() => [
|
|
@@ -2771,7 +2779,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2771
2779
|
name: "local"
|
|
2772
2780
|
}, {
|
|
2773
2781
|
default: n(() => [
|
|
2774
|
-
s(r(
|
|
2782
|
+
s(r(_), {
|
|
2775
2783
|
list: ue.value,
|
|
2776
2784
|
empty: l.emptyDescription,
|
|
2777
2785
|
prefix: V.fontIconPrefix,
|
|
@@ -2790,7 +2798,7 @@ const Ti = /* @__PURE__ */ aa(Ii, [["render", _i], ["__scopeId", "data-v-ca3f1fb
|
|
|
2790
2798
|
default: n(() => [
|
|
2791
2799
|
s(ve, { gutter: 10 }, {
|
|
2792
2800
|
default: n(() => [
|
|
2793
|
-
(p(!0), G(al, null, fl(ue.value, (Z, Be) => (p(), he(
|
|
2801
|
+
(p(!0), G(al, null, fl(ue.value, (Z, Be) => (p(), he(Ie, {
|
|
2794
2802
|
xs: 6,
|
|
2795
2803
|
sm: 4,
|
|
2796
2804
|
md: 4,
|
|
@@ -2949,7 +2957,7 @@ function oc(l = "menu") {
|
|
|
2949
2957
|
},
|
|
2950
2958
|
emits: ["closeEditing", "closePlusDialog"],
|
|
2951
2959
|
setup(f, { emit: o }) {
|
|
2952
|
-
const h =
|
|
2960
|
+
const h = S("sub-menu-more"), _ = zl(Al), L = va(Al), I = S(0), V = et(), {
|
|
2953
2961
|
rawMenus: R,
|
|
2954
2962
|
menuTriggerType: P,
|
|
2955
2963
|
permissionSideMenus: ue,
|
|
@@ -2958,12 +2966,12 @@ function oc(l = "menu") {
|
|
|
2958
2966
|
linkMenuInfo: D,
|
|
2959
2967
|
updateMenuStatus: U,
|
|
2960
2968
|
menuMap: i
|
|
2961
|
-
} = ml(
|
|
2969
|
+
} = ml(_), H = ua(), { structureData: N } = ml(H), J = S([]), y = S([]), v = El(() => f == null ? void 0 : f.mode), c = (u) => u == null ? void 0 : u.map((k) => k.children && k.children.length > 0 ? {
|
|
2962
2970
|
...k,
|
|
2963
2971
|
// 水平菜单仅显示一层
|
|
2964
2972
|
children: k.level === 0 ? [] : k.children ?? [],
|
|
2965
2973
|
childMenus: c(k.children)
|
|
2966
|
-
} : k),
|
|
2974
|
+
} : k), Ie = (u, k) => {
|
|
2967
2975
|
var q, $;
|
|
2968
2976
|
return ($ = (q = y.value) == null ? void 0 : q.find((t) => (u.title + k).includes(t.value))) == null ? void 0 : $.value;
|
|
2969
2977
|
}, ve = (u) => {
|
|
@@ -2995,7 +3003,7 @@ function oc(l = "menu") {
|
|
|
2995
3003
|
show: !0,
|
|
2996
3004
|
// icon: Icon[`${level}`],
|
|
2997
3005
|
// icon: platform.value === 'client' ? handleStaticIcon(menu, level) : handleDynamicIcon(menu, level),
|
|
2998
|
-
icon:
|
|
3006
|
+
icon: Ie(z, q),
|
|
2999
3007
|
carryData: t == null ? void 0 : t.includes(dl),
|
|
3000
3008
|
//便于角色授权菜单那里给叶子节点添加按钮节点
|
|
3001
3009
|
isPenultimate: !z.children,
|
|
@@ -3016,7 +3024,7 @@ function oc(l = "menu") {
|
|
|
3016
3024
|
return V.push("/"), [];
|
|
3017
3025
|
wl(u, hl.value);
|
|
3018
3026
|
const k = c(u);
|
|
3019
|
-
return is(k),
|
|
3027
|
+
return is(k), _.setMenus(k), ra(() => {
|
|
3020
3028
|
var $;
|
|
3021
3029
|
($ = Q.value) == null || $.handleResize();
|
|
3022
3030
|
}), (q = k == null ? void 0 : k.filter(($) => $ == null ? void 0 : $.show)) == null ? void 0 : q.sort(($, t) => ($ == null ? void 0 : $.create_time) - (t == null ? void 0 : t.create_time));
|
|
@@ -3029,18 +3037,18 @@ function oc(l = "menu") {
|
|
|
3029
3037
|
const k = ($ = (q = u == null ? void 0 : u.path) == null ? void 0 : q.split("/")) == null ? void 0 : $[0];
|
|
3030
3038
|
if (k) {
|
|
3031
3039
|
const d = (t = J.value) == null ? void 0 : t.find((M) => (M == null ? void 0 : M.path) === k);
|
|
3032
|
-
if (!d || (
|
|
3033
|
-
|
|
3040
|
+
if (!d || (_.setActiveTopMenuPath(k), !(d != null && d.children))) return;
|
|
3041
|
+
_.setAsideMenus(d == null ? void 0 : d.children), _.setActiveMenuPath(u == null ? void 0 : u.path), L.setRouteToChildPath(u == null ? void 0 : u.path);
|
|
3034
3042
|
}
|
|
3035
3043
|
},
|
|
3036
3044
|
{ immediate: !0 }
|
|
3037
3045
|
);
|
|
3038
3046
|
const Z = async (u) => {
|
|
3039
3047
|
var k;
|
|
3040
|
-
|
|
3048
|
+
_.setLinkMenuInfo(null), _.setAsideMenuLoading(!0), _.setActiveMainEditMenuPath(u == null ? void 0 : u.path), u != null && u.childMenus && ((k = u == null ? void 0 : u.childMenus) == null ? void 0 : k.length) > 0 ? _.setAsideEditMenus(u == null ? void 0 : u.childMenus) : _.setAsideEditMenus([]), V.push("/");
|
|
3041
3049
|
}, Be = (u) => {
|
|
3042
3050
|
}, me = (u) => {
|
|
3043
|
-
u !== h.value &&
|
|
3051
|
+
u !== h.value && _.setActiveMenuPath(u);
|
|
3044
3052
|
}, Oe = (u) => {
|
|
3045
3053
|
const k = document.documentElement;
|
|
3046
3054
|
u == null || u.forEach((q) => {
|
|
@@ -3059,14 +3067,14 @@ function oc(l = "menu") {
|
|
|
3059
3067
|
father_name: d == null ? void 0 : d.father_name,
|
|
3060
3068
|
property_name: d == null ? void 0 : d.property_name,
|
|
3061
3069
|
create_time: d == null ? void 0 : d.create_time
|
|
3062
|
-
}),
|
|
3070
|
+
}), _.setMenuMap($);
|
|
3063
3071
|
}));
|
|
3064
3072
|
} catch ($) {
|
|
3065
3073
|
throw new Error($);
|
|
3066
3074
|
}
|
|
3067
3075
|
};
|
|
3068
3076
|
la(() => {
|
|
3069
|
-
|
|
3077
|
+
I.value = 1, y.value = Za();
|
|
3070
3078
|
});
|
|
3071
3079
|
const hl = El(() => {
|
|
3072
3080
|
const u = sessionStorage.getItem("authority");
|
|
@@ -3085,7 +3093,7 @@ function oc(l = "menu") {
|
|
|
3085
3093
|
bl(
|
|
3086
3094
|
() => R.value,
|
|
3087
3095
|
async (u) => {
|
|
3088
|
-
y.value = Za(), u ? (U.value && (
|
|
3096
|
+
y.value = Za(), u ? (U.value && (_.setActiveTopMenuPath(""), _.setActiveMenuPath(""), _.setAsideMenus([])), vl(u)) : J.value = [];
|
|
3089
3097
|
},
|
|
3090
3098
|
{
|
|
3091
3099
|
immediate: !0
|
|
@@ -3098,7 +3106,7 @@ function oc(l = "menu") {
|
|
|
3098
3106
|
width: "30%",
|
|
3099
3107
|
type: "create",
|
|
3100
3108
|
title: "新建菜单"
|
|
3101
|
-
}), Ml =
|
|
3109
|
+
}), Ml = S(null), ye = () => {
|
|
3102
3110
|
Je.show = !1, b();
|
|
3103
3111
|
}, C = (u) => {
|
|
3104
3112
|
T.title = "", T.icon = "", Je.type = "create", Je.show = !0;
|
|
@@ -3148,7 +3156,7 @@ function oc(l = "menu") {
|
|
|
3148
3156
|
});
|
|
3149
3157
|
return q;
|
|
3150
3158
|
}
|
|
3151
|
-
const Ge =
|
|
3159
|
+
const Ge = S(!1), He = S(null), ol = async () => {
|
|
3152
3160
|
var u, k, q, $;
|
|
3153
3161
|
Ge.value = !0;
|
|
3154
3162
|
try {
|
|
@@ -3178,7 +3186,7 @@ function oc(l = "menu") {
|
|
|
3178
3186
|
} finally {
|
|
3179
3187
|
Ge.value = !1;
|
|
3180
3188
|
}
|
|
3181
|
-
}, tl =
|
|
3189
|
+
}, tl = S(0), a = () => {
|
|
3182
3190
|
var u;
|
|
3183
3191
|
(u = Ml.value) == null || u.validate(async (k) => {
|
|
3184
3192
|
if (k) {
|
|
@@ -3220,7 +3228,7 @@ function oc(l = "menu") {
|
|
|
3220
3228
|
}
|
|
3221
3229
|
]
|
|
3222
3230
|
}, t = await Kt($);
|
|
3223
|
-
((d = t == null ? void 0 : t.data) == null ? void 0 : d.code) === 200 && ((z = (M = t == null ? void 0 : t.data) == null ? void 0 : M.message) != null && z.includes("成功")) && (J.value = (Ce = ne.value) == null ? void 0 : Ce.filter((Le) => (Le == null ? void 0 : Le.path) !== (u == null ? void 0 : u.path)), tl.value = Date.now(), Je.show = !1, b(),
|
|
3231
|
+
((d = t == null ? void 0 : t.data) == null ? void 0 : d.code) === 200 && ((z = (M = t == null ? void 0 : t.data) == null ? void 0 : M.message) != null && z.includes("成功")) && (J.value = (Ce = ne.value) == null ? void 0 : Ce.filter((Le) => (Le == null ? void 0 : Le.path) !== (u == null ? void 0 : u.path)), tl.value = Date.now(), Je.show = !1, b(), _.setAsideEditMenus([]), Ol.success("删除成功"));
|
|
3224
3232
|
});
|
|
3225
3233
|
} catch (k) {
|
|
3226
3234
|
throw new Error(k);
|
|
@@ -3234,7 +3242,7 @@ function oc(l = "menu") {
|
|
|
3234
3242
|
title: "",
|
|
3235
3243
|
icon: "",
|
|
3236
3244
|
path: ""
|
|
3237
|
-
}), Y =
|
|
3245
|
+
}), Y = S({
|
|
3238
3246
|
title: [
|
|
3239
3247
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
3240
3248
|
]
|
|
@@ -3243,7 +3251,7 @@ function oc(l = "menu") {
|
|
|
3243
3251
|
var k;
|
|
3244
3252
|
(k = He.value) == null || k.focus();
|
|
3245
3253
|
});
|
|
3246
|
-
}, Q =
|
|
3254
|
+
}, Q = S(null);
|
|
3247
3255
|
return bl(() => f, async (u) => {
|
|
3248
3256
|
var t, d;
|
|
3249
3257
|
const { editingForm: k, hasConfirmMenu: q, type: $ } = u;
|
|
@@ -3291,9 +3299,9 @@ function oc(l = "menu") {
|
|
|
3291
3299
|
};
|
|
3292
3300
|
}
|
|
3293
3301
|
const ic = Kl(oc()), rc = ["onDblclick"], cc = { title: "确认" }, uc = { title: "取消" }, dc = { title: "删除" };
|
|
3294
|
-
function pc(l, f, o, h,
|
|
3302
|
+
function pc(l, f, o, h, _, L) {
|
|
3295
3303
|
var D;
|
|
3296
|
-
const
|
|
3304
|
+
const I = ae("svg-icon"), V = ae("IconSelector"), R = ae("el-input"), P = ae("el-form-item"), ue = ae("el-form"), e = ae("ss-edit-menu"), B = yt("loading");
|
|
3297
3305
|
return ia((p(), he(e, {
|
|
3298
3306
|
"element-loading-background": "rgba(0, 0, 0, 0.4)",
|
|
3299
3307
|
ref: "menuRef",
|
|
@@ -3308,7 +3316,7 @@ function pc(l, f, o, h, I, L) {
|
|
|
3308
3316
|
title: n(({ menu: U }) => {
|
|
3309
3317
|
var i, H, N, J;
|
|
3310
3318
|
return [
|
|
3311
|
-
(U == null ? void 0 : U.path) !== ((i = l.menuForm) == null ? void 0 : i.path) ? (p(), he(
|
|
3319
|
+
(U == null ? void 0 : U.path) !== ((i = l.menuForm) == null ? void 0 : i.path) ? (p(), he(I, {
|
|
3312
3320
|
key: 0,
|
|
3313
3321
|
name: U.icon ?? "default",
|
|
3314
3322
|
class: "menu-icon"
|
|
@@ -3353,24 +3361,24 @@ function pc(l, f, o, h, I, L) {
|
|
|
3353
3361
|
var y, v, c;
|
|
3354
3362
|
return [
|
|
3355
3363
|
x("span", cc, [
|
|
3356
|
-
s(
|
|
3364
|
+
s(I, {
|
|
3357
3365
|
name: "softConfirm",
|
|
3358
3366
|
style: Ql({ color: (y = l.menuForm.title) != null && y.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
3359
3367
|
onClick: ql(l.onConfirmMenu, ["stop"])
|
|
3360
3368
|
}, null, 8, ["style", "onClick"])
|
|
3361
3369
|
]),
|
|
3362
3370
|
x("span", uc, [
|
|
3363
|
-
s(
|
|
3371
|
+
s(I, {
|
|
3364
3372
|
name: "softCancel",
|
|
3365
3373
|
style: Ql({ color: (v = l.menuForm.title) != null && v.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
3366
3374
|
onClick: ql(l.onCloseMenuPlusDialog, ["stop"])
|
|
3367
3375
|
}, null, 8, ["style", "onClick"])
|
|
3368
3376
|
]),
|
|
3369
3377
|
x("span", dc, [
|
|
3370
|
-
s(
|
|
3378
|
+
s(I, {
|
|
3371
3379
|
name: "softRemove",
|
|
3372
3380
|
style: Ql({ color: (c = l.menuForm.title) != null && c.length ? "var(--el-color-danger)" : "var(--el-color-info)" }),
|
|
3373
|
-
onClick: ql((
|
|
3381
|
+
onClick: ql((Ie) => l.onDeleteMenu(U), ["stop"]),
|
|
3374
3382
|
title: "删除"
|
|
3375
3383
|
}, null, 8, ["style", "onClick"])
|
|
3376
3384
|
])
|
|
@@ -3415,7 +3423,7 @@ function hc(l = "menu") {
|
|
|
3415
3423
|
isRefreshGroups: Boolean
|
|
3416
3424
|
},
|
|
3417
3425
|
setup(f, { emit: o }) {
|
|
3418
|
-
const h =
|
|
3426
|
+
const h = S([
|
|
3419
3427
|
{
|
|
3420
3428
|
allowInherit: !1,
|
|
3421
3429
|
operateType: "复制新增",
|
|
@@ -3431,23 +3439,23 @@ function hc(l = "menu") {
|
|
|
3431
3439
|
operateType: "修改菜单名",
|
|
3432
3440
|
operateIcon: "FixedMenu"
|
|
3433
3441
|
}
|
|
3434
|
-
]),
|
|
3442
|
+
]), _ = zl(Al), L = va(Al), I = ua(Al), { loginUserInfo: V } = ml(I), R = S(0), P = et(), ue = S(), {
|
|
3435
3443
|
menuMap: e,
|
|
3436
3444
|
activeAsideEditMenuPath: B,
|
|
3437
3445
|
activeMainEditMenuPath: D,
|
|
3438
3446
|
asideEditMenus: U,
|
|
3439
3447
|
menuTriggerType: i,
|
|
3440
3448
|
platform: H
|
|
3441
|
-
} = ml(
|
|
3442
|
-
var
|
|
3443
|
-
return !(Ae != null && Ae.children) || ((
|
|
3449
|
+
} = ml(_), { fixMenuStatus: N } = ml(L), { isSuperAdmin: J } = qn(), y = El(() => f == null ? void 0 : f.mode), v = (E) => E == null ? void 0 : E.map((Ae) => {
|
|
3450
|
+
var _e, qe;
|
|
3451
|
+
return !(Ae != null && Ae.children) || ((_e = Ae == null ? void 0 : Ae.children) == null ? void 0 : _e.length) === 0 ? Ae.config = h.value : Ae != null && Ae.children && ((qe = Ae == null ? void 0 : Ae.children) == null ? void 0 : qe.length) > 0 && (Ae.children = v(Ae.children)), Ae;
|
|
3444
3452
|
}), c = El(() => {
|
|
3445
3453
|
let E = [...U.value];
|
|
3446
3454
|
return (E == null ? void 0 : E.length) === 0 ? (P.push("/"), []) : (hl(E, sl.value), E = E == null ? void 0 : E.map((de) => {
|
|
3447
|
-
var Ae,
|
|
3448
|
-
return !(de != null && de.children) || ((Ae = de == null ? void 0 : de.children) == null ? void 0 : Ae.length) === 0 ? de.config = h.value : de != null && de.children && ((
|
|
3455
|
+
var Ae, _e;
|
|
3456
|
+
return !(de != null && de.children) || ((Ae = de == null ? void 0 : de.children) == null ? void 0 : Ae.length) === 0 ? de.config = h.value : de != null && de.children && ((_e = de == null ? void 0 : de.children) == null ? void 0 : _e.length) > 0 && (de.children = v(de.children)), de;
|
|
3449
3457
|
}), E);
|
|
3450
|
-
}),
|
|
3458
|
+
}), Ie = (E) => {
|
|
3451
3459
|
var xe, Pe;
|
|
3452
3460
|
const de = (le) => {
|
|
3453
3461
|
const Ue = [...le.groups].sort().join("|");
|
|
@@ -3457,15 +3465,15 @@ function hc(l = "menu") {
|
|
|
3457
3465
|
const Ue = de(le);
|
|
3458
3466
|
Ae != null && Ae.has(Ue) || Ae.set(Ue, le);
|
|
3459
3467
|
});
|
|
3460
|
-
const
|
|
3468
|
+
const _e = /* @__PURE__ */ new Map();
|
|
3461
3469
|
(Pe = E == null ? void 0 : E.fatherSyncs) == null || Pe.forEach((le) => {
|
|
3462
3470
|
const Ue = de(le);
|
|
3463
|
-
|
|
3471
|
+
_e != null && _e.has(Ue) || _e.set(Ue, le);
|
|
3464
3472
|
});
|
|
3465
3473
|
const qe = [], X = [], ie = [];
|
|
3466
3474
|
return Ae == null || Ae.forEach((le, Ue) => {
|
|
3467
|
-
|
|
3468
|
-
}),
|
|
3475
|
+
_e != null && _e.has(Ue) ? (ie.push(le), _e.delete(Ue)) : qe.push(le);
|
|
3476
|
+
}), _e == null || _e.forEach((le) => {
|
|
3469
3477
|
X.push(le);
|
|
3470
3478
|
}), [
|
|
3471
3479
|
...qe == null ? void 0 : qe.map((le) => {
|
|
@@ -3490,8 +3498,8 @@ function hc(l = "menu") {
|
|
|
3490
3498
|
};
|
|
3491
3499
|
})
|
|
3492
3500
|
];
|
|
3493
|
-
}, ve =
|
|
3494
|
-
var de, Ae,
|
|
3501
|
+
}, ve = S([]), j = S([]), re = async (E) => {
|
|
3502
|
+
var de, Ae, _e, qe, X, ie, xe, Pe, le, Ue, gl, W, je, $e, Ze, _l, Qe, Vl, rl, Ee, Ll, Il;
|
|
3495
3503
|
try {
|
|
3496
3504
|
if (!e.value) return;
|
|
3497
3505
|
const Xl = /* @__PURE__ */ new Map(), Jl = /* @__PURE__ */ new Map(), Pl = await Wa({
|
|
@@ -3499,16 +3507,16 @@ function hc(l = "menu") {
|
|
|
3499
3507
|
pageName: E == null ? void 0 : E.path
|
|
3500
3508
|
});
|
|
3501
3509
|
if (((de = Pl == null ? void 0 : Pl.data) == null ? void 0 : de.code) === 200) {
|
|
3502
|
-
const kl = (
|
|
3510
|
+
const kl = (_e = (Ae = Pl == null ? void 0 : Pl.data) == null ? void 0 : Ae.result) == null ? void 0 : _e.filter((O) => O == null ? void 0 : O.property_name);
|
|
3503
3511
|
ve.value = kl == null ? void 0 : kl.sort((O, te) => Number((O == null ? void 0 : O.order_no) || 0) - Number((te == null ? void 0 : te.order_no) || 0));
|
|
3504
3512
|
for (const O of kl) {
|
|
3505
3513
|
O != null && O.contents && ((qe = O == null ? void 0 : O.contents) == null ? void 0 : qe.length) > 0 && Xl.set(O == null ? void 0 : O.object_id, O == null ? void 0 : O.property_name);
|
|
3506
3514
|
const te = (xe = (ie = (X = O == null ? void 0 : O.contents) == null ? void 0 : X.find((Xe) => {
|
|
3507
|
-
var
|
|
3508
|
-
return (
|
|
3515
|
+
var Sl;
|
|
3516
|
+
return (Sl = Xe == null ? void 0 : Xe.key) == null ? void 0 : Sl.includes("struct");
|
|
3509
3517
|
})) == null ? void 0 : ie.value) == null ? void 0 : xe[0], Ne = (le = (Pe = O == null ? void 0 : O.contents) == null ? void 0 : Pe.find((Xe) => {
|
|
3510
|
-
var
|
|
3511
|
-
return (
|
|
3518
|
+
var Sl;
|
|
3519
|
+
return (Sl = Xe == null ? void 0 : Xe.key) == null ? void 0 : Sl.includes("content");
|
|
3512
3520
|
})) == null ? void 0 : le.value, Te = Array.isArray(((gl = (Ue = te == null ? void 0 : te.结构) == null ? void 0 : Ue.contents) == null ? void 0 : gl[0]) || ""), ee = Te ? (je = (W = te == null ? void 0 : te.结构) == null ? void 0 : W.contents) == null ? void 0 : je.flatMap((Xe) => Xe) : ($e = te == null ? void 0 : te.结构) == null ? void 0 : $e.contents, se = ["sort", "disabled", "relatedId"], Me = [
|
|
3513
3521
|
{
|
|
3514
3522
|
key: "tableContents",
|
|
@@ -3528,7 +3536,7 @@ function hc(l = "menu") {
|
|
|
3528
3536
|
groupName: O == null ? void 0 : O.property_name,
|
|
3529
3537
|
groupType: (te == null ? void 0 : te.类型) || "",
|
|
3530
3538
|
//注意多级表头处理
|
|
3531
|
-
columns: (
|
|
3539
|
+
columns: (_l = We == null ? void 0 : We.contents) != null && _l.length ? We == null ? void 0 : We.contents : ee,
|
|
3532
3540
|
hiddenColumns: ee == null ? void 0 : ee.filter((Xe) => se == null ? void 0 : se.includes(Xe == null ? void 0 : Xe.prop)),
|
|
3533
3541
|
namePath: ((Qe = Object.values(O == null ? void 0 : O.name)) == null ? void 0 : Qe.length) > 0 ? (Vl = Object.values(O == null ? void 0 : O.name)) == null ? void 0 : Vl.join("/") : "",
|
|
3534
3542
|
hasMultiHeader: Te,
|
|
@@ -3538,11 +3546,11 @@ function hc(l = "menu") {
|
|
|
3538
3546
|
//引用处理
|
|
3539
3547
|
quotes: (Ll = (Ee = O == null ? void 0 : O.filter) == null ? void 0 : Ee.quotes) == null ? void 0 : Ll.map((Xe) => [Xe.menus, ...Xe.groups ?? []]),
|
|
3540
3548
|
// quoteSync: handleSync(item?.filter),
|
|
3541
|
-
quoteWays:
|
|
3549
|
+
quoteWays: Ie(O == null ? void 0 : O.filter) || [],
|
|
3542
3550
|
//结构引用的信息:排列设置、是否可编辑
|
|
3543
3551
|
configInfo: {
|
|
3544
3552
|
id: te == null ? void 0 : te.id,
|
|
3545
|
-
content: (
|
|
3553
|
+
content: (Il = te == null ? void 0 : te.引用) == null ? void 0 : Il.contents
|
|
3546
3554
|
},
|
|
3547
3555
|
menuId: E == null ? void 0 : E.id
|
|
3548
3556
|
});
|
|
@@ -3556,14 +3564,14 @@ function hc(l = "menu") {
|
|
|
3556
3564
|
} catch (Xl) {
|
|
3557
3565
|
throw new Error(Xl);
|
|
3558
3566
|
}
|
|
3559
|
-
}, ne =
|
|
3560
|
-
|
|
3567
|
+
}, ne = S({}), Z = async (E) => {
|
|
3568
|
+
_.setActiveAsideEditMenuPath(E == null ? void 0 : E.path), ne.value = Bl(E), await re(E);
|
|
3561
3569
|
}, Be = async (E) => {
|
|
3562
|
-
N.value ? L.setFixMenuStatus(!1) : (b.value && (i.value = "open"), i.value === "click" ? R.value === 1 ?
|
|
3570
|
+
N.value ? L.setFixMenuStatus(!1) : (b.value && (i.value = "open"), i.value === "click" ? R.value === 1 ? _.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : _.setActiveAsideEditMenuPath(E) : b.value || (_.setMenuTriggerType("click"), _.setActiveAsideEditMenuPath(E))), E != null && E.startsWith("/") ? P.push(E) : P.push("/"), R.value++;
|
|
3563
3571
|
const de = ea(c.value, "path", E);
|
|
3564
3572
|
de && (ne.value = Bl(de), await re(de));
|
|
3565
3573
|
}, me = (E) => {
|
|
3566
|
-
b.value ||
|
|
3574
|
+
b.value || _.setActiveMenuPath(E);
|
|
3567
3575
|
}, Oe = (E) => {
|
|
3568
3576
|
const de = document.documentElement;
|
|
3569
3577
|
E == null || E.forEach((Ae) => {
|
|
@@ -3593,13 +3601,13 @@ function hc(l = "menu") {
|
|
|
3593
3601
|
title: "菜单配置",
|
|
3594
3602
|
width: "30%",
|
|
3595
3603
|
type: "create"
|
|
3596
|
-
}), wl = (E) => Wn(E), Je =
|
|
3597
|
-
|
|
3604
|
+
}), wl = (E) => Wn(E), Je = S({}), Ml = S([]), ye = S({}), C = S({}), Ye = S({}), be = (E) => {
|
|
3605
|
+
_.setCacheInputMenu({
|
|
3598
3606
|
type: vl.type,
|
|
3599
3607
|
data: E
|
|
3600
|
-
}),
|
|
3608
|
+
}), _.setIsRefreshMenus(!0);
|
|
3601
3609
|
}, Re = async (E, de) => {
|
|
3602
|
-
|
|
3610
|
+
_.setIsRefreshMenus(!1), _.setIsRefreshMenus(!0), ue.value = void 0;
|
|
3603
3611
|
}, Ge = (E) => {
|
|
3604
3612
|
m.value = !0;
|
|
3605
3613
|
try {
|
|
@@ -3611,7 +3619,7 @@ function hc(l = "menu") {
|
|
|
3611
3619
|
var X, ie, xe, Pe, le, Ue, gl;
|
|
3612
3620
|
const de = ce(e.value, E == null ? void 0 : E.path), Ae = de != null && de.length ? de == null ? void 0 : de.map((W) => ({
|
|
3613
3621
|
object_id: W == null ? void 0 : W.id
|
|
3614
|
-
})) : [{ object_id: E == null ? void 0 : E.id }],
|
|
3622
|
+
})) : [{ object_id: E == null ? void 0 : E.id }], _e = {
|
|
3615
3623
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
3616
3624
|
changeContents: [
|
|
3617
3625
|
{
|
|
@@ -3619,14 +3627,14 @@ function hc(l = "menu") {
|
|
|
3619
3627
|
tableContents: Ae
|
|
3620
3628
|
}
|
|
3621
3629
|
]
|
|
3622
|
-
}, qe = await Kt(
|
|
3630
|
+
}, qe = await Kt(_e);
|
|
3623
3631
|
if (((X = qe == null ? void 0 : qe.data) == null ? void 0 : X.code) === 200 && ((xe = (ie = qe == null ? void 0 : qe.data) == null ? void 0 : ie.message) != null && xe.includes("成功"))) {
|
|
3624
3632
|
const W = (Pe = E == null ? void 0 : E.path) == null ? void 0 : Pe.split("/"), je = (le = W == null ? void 0 : W.slice(0, -1)) == null ? void 0 : le.join("/"), $e = ea(c.value, "path", je);
|
|
3625
3633
|
if ($e)
|
|
3626
3634
|
$e.children = (Ue = $e.children) == null ? void 0 : Ue.filter((Ze) => (Ze == null ? void 0 : Ze.path) !== (E == null ? void 0 : E.path));
|
|
3627
3635
|
else {
|
|
3628
|
-
const Ze = (gl = c.value) == null ? void 0 : gl.filter((
|
|
3629
|
-
|
|
3636
|
+
const Ze = (gl = c.value) == null ? void 0 : gl.filter((_l) => (_l == null ? void 0 : _l.path) !== (E == null ? void 0 : E.path));
|
|
3637
|
+
_.setAsideEditMenus(Ze);
|
|
3630
3638
|
}
|
|
3631
3639
|
await pt(), z.value = Date.now(), $(), Y.show = !1, Ol.success("删除成功");
|
|
3632
3640
|
}
|
|
@@ -3651,9 +3659,9 @@ function hc(l = "menu") {
|
|
|
3651
3659
|
}, ol = () => {
|
|
3652
3660
|
vl.show = !1;
|
|
3653
3661
|
}, tl = (E) => E == null ? void 0 : E.filter((de) => de.allowInherit), a = () => {
|
|
3654
|
-
var Ae,
|
|
3662
|
+
var Ae, _e, qe, X, ie;
|
|
3655
3663
|
let E;
|
|
3656
|
-
vl.type === "create" && (E = ((Ae = C.value) == null ? void 0 : Ae.path) + "/" + ye.value[(
|
|
3664
|
+
vl.type === "create" && (E = ((Ae = C.value) == null ? void 0 : Ae.path) + "/" + ye.value[(_e = ye.value) == null ? void 0 : _e.prop]), vl.type === "update" && (E = (qe = C.value) == null ? void 0 : qe.path);
|
|
3657
3665
|
const de = {
|
|
3658
3666
|
...C.value,
|
|
3659
3667
|
//是否继承父菜单的配置
|
|
@@ -3665,13 +3673,13 @@ function hc(l = "menu") {
|
|
|
3665
3673
|
};
|
|
3666
3674
|
console.log("clickSubmitForm", Ye.value, C.value, de), be(de), vl.show = !1;
|
|
3667
3675
|
}, g = (E) => {
|
|
3668
|
-
var Ae,
|
|
3676
|
+
var Ae, _e;
|
|
3669
3677
|
const de = (Ae = E == null ? void 0 : E.contents) == null ? void 0 : Ae.find((qe) => qe.key === "formContent");
|
|
3670
|
-
de && (ye.value = (
|
|
3678
|
+
de && (ye.value = (_e = de == null ? void 0 : de.contents) == null ? void 0 : _e.reduce(
|
|
3671
3679
|
(qe, X) => (qe[X.key] = X.value, qe.prop = X.key, qe),
|
|
3672
3680
|
{}
|
|
3673
3681
|
));
|
|
3674
|
-
}, b =
|
|
3682
|
+
}, b = S(!1), T = () => {
|
|
3675
3683
|
b.value = !b.value;
|
|
3676
3684
|
}, Y = Yl({
|
|
3677
3685
|
show: !1,
|
|
@@ -3684,7 +3692,7 @@ function hc(l = "menu") {
|
|
|
3684
3692
|
width: "20%",
|
|
3685
3693
|
type: "create",
|
|
3686
3694
|
title: "新建特性"
|
|
3687
|
-
}), Q =
|
|
3695
|
+
}), Q = S(null), u = S(null), k = () => {
|
|
3688
3696
|
Y.show = !1, $();
|
|
3689
3697
|
}, q = () => {
|
|
3690
3698
|
fe.show = !1, t(), ne.value && Z(ne.value);
|
|
@@ -3700,7 +3708,7 @@ function hc(l = "menu") {
|
|
|
3700
3708
|
(de = cl.value) == null || de.focus();
|
|
3701
3709
|
});
|
|
3702
3710
|
}, M = async (E) => {
|
|
3703
|
-
var Ae,
|
|
3711
|
+
var Ae, _e, qe;
|
|
3704
3712
|
let de;
|
|
3705
3713
|
try {
|
|
3706
3714
|
const X = {
|
|
@@ -3714,14 +3722,14 @@ function hc(l = "menu") {
|
|
|
3714
3722
|
order_no: "",
|
|
3715
3723
|
isShow: !0
|
|
3716
3724
|
}, ie = await nc(Y.type, X);
|
|
3717
|
-
((Ae = ie == null ? void 0 : ie.data) == null ? void 0 : Ae.code) === 200 && (de = (qe = (
|
|
3725
|
+
((Ae = ie == null ? void 0 : ie.data) == null ? void 0 : Ae.code) === 200 && (de = (qe = (_e = ie == null ? void 0 : ie.data) == null ? void 0 : _e.result) == null ? void 0 : qe.object_id, Ol.success("新增成功"));
|
|
3718
3726
|
} catch (X) {
|
|
3719
3727
|
throw new Error(X);
|
|
3720
3728
|
} finally {
|
|
3721
3729
|
z.value = Date.now(), Y.show = !1;
|
|
3722
3730
|
}
|
|
3723
3731
|
return de;
|
|
3724
|
-
}, z =
|
|
3732
|
+
}, z = S(0), Ce = S(""), Le = () => {
|
|
3725
3733
|
var E;
|
|
3726
3734
|
m.value = !0, Ce.value = "";
|
|
3727
3735
|
try {
|
|
@@ -3730,14 +3738,14 @@ function hc(l = "menu") {
|
|
|
3730
3738
|
switch (Y.type) {
|
|
3731
3739
|
case "create":
|
|
3732
3740
|
if (Y.parentPath) {
|
|
3733
|
-
const Ae = ea(c.value, "path", Y.parentPath),
|
|
3741
|
+
const Ae = ea(c.value, "path", Y.parentPath), _e = await M({
|
|
3734
3742
|
...ge,
|
|
3735
3743
|
path: Ae.path + "/" + (ge == null ? void 0 : ge.title)
|
|
3736
3744
|
});
|
|
3737
|
-
if (!
|
|
3745
|
+
if (!_e) return;
|
|
3738
3746
|
Ae.children = [...Ae.children, {
|
|
3739
3747
|
...ge,
|
|
3740
|
-
id:
|
|
3748
|
+
id: _e,
|
|
3741
3749
|
path: Ae.path + "/" + (ge == null ? void 0 : ge.title),
|
|
3742
3750
|
level: (Ae == null ? void 0 : Ae.level) + 1,
|
|
3743
3751
|
carryData: !1,
|
|
@@ -3750,7 +3758,7 @@ function hc(l = "menu") {
|
|
|
3750
3758
|
path: D.value + "/" + (ge == null ? void 0 : ge.title)
|
|
3751
3759
|
});
|
|
3752
3760
|
if (!Ae) return;
|
|
3753
|
-
|
|
3761
|
+
_.setAsideEditMenus([...c.value, {
|
|
3754
3762
|
...ge,
|
|
3755
3763
|
id: Ae,
|
|
3756
3764
|
path: D.value + "/" + (ge == null ? void 0 : ge.title),
|
|
@@ -3792,10 +3800,10 @@ function hc(l = "menu") {
|
|
|
3792
3800
|
}))
|
|
3793
3801
|
}
|
|
3794
3802
|
]
|
|
3795
|
-
},
|
|
3796
|
-
if (((qe =
|
|
3803
|
+
}, _e = await Kt(Ae);
|
|
3804
|
+
if (((qe = _e == null ? void 0 : _e.data) == null ? void 0 : qe.code) === 200 && ((ie = (X = _e == null ? void 0 : _e.data) == null ? void 0 : X.message) != null && ie.includes("成功"))) {
|
|
3797
3805
|
const Pe = (xe = c.value) == null ? void 0 : xe.filter((le) => (le == null ? void 0 : le.path) !== (E == null ? void 0 : E.path));
|
|
3798
|
-
|
|
3806
|
+
_.setAsideEditMenus(Pe), z.value = Date.now(), Y.show = !1, $(), Ol.success("删除成功");
|
|
3799
3807
|
}
|
|
3800
3808
|
});
|
|
3801
3809
|
} catch (de) {
|
|
@@ -3806,19 +3814,19 @@ function hc(l = "menu") {
|
|
|
3806
3814
|
};
|
|
3807
3815
|
function we(E, de, Ae) {
|
|
3808
3816
|
if (!E) return E;
|
|
3809
|
-
const
|
|
3810
|
-
return de < 0 || de >=
|
|
3817
|
+
const _e = E.split("/");
|
|
3818
|
+
return de < 0 || de >= _e.length ? (console.warn(`索引 ${de} 超出范围,路径共有 ${_e.length} 个片段`), E) : (_e[de] = Ae, _e.join("/"));
|
|
3811
3819
|
}
|
|
3812
3820
|
function ce(E, de) {
|
|
3813
|
-
const Ae = [],
|
|
3821
|
+
const Ae = [], _e = new RegExp(`(^|/)${de}(/|$)`), qe = Bl(c.value), X = ea(qe, "path", ge == null ? void 0 : ge.path);
|
|
3814
3822
|
for (const [ie, xe] of E.entries())
|
|
3815
|
-
|
|
3823
|
+
_e.test(xe == null ? void 0 : xe.object_name) && Ae.push({
|
|
3816
3824
|
id: ie,
|
|
3817
3825
|
//批量替换匹配项的path
|
|
3818
3826
|
path: we(xe == null ? void 0 : xe.object_name, X == null ? void 0 : X.level, ge == null ? void 0 : ge.title),
|
|
3819
3827
|
//同步修改fatherName同步点击行面包屑下拉触发
|
|
3820
3828
|
father_name: xe == null ? void 0 : xe.father_name
|
|
3821
|
-
}),
|
|
3829
|
+
}), _e.test(xe == null ? void 0 : xe.father_name) && (xe != null && xe.father_name) && Ae.push({
|
|
3822
3830
|
id: ie,
|
|
3823
3831
|
path: xe == null ? void 0 : xe.object_name,
|
|
3824
3832
|
//同步修改fatherName同步点击行面包屑下拉触发
|
|
@@ -3826,17 +3834,17 @@ function hc(l = "menu") {
|
|
|
3826
3834
|
});
|
|
3827
3835
|
return Ae;
|
|
3828
3836
|
}
|
|
3829
|
-
const m =
|
|
3837
|
+
const m = S(!1), ke = async () => {
|
|
3830
3838
|
var E, de, Ae;
|
|
3831
3839
|
try {
|
|
3832
|
-
const
|
|
3833
|
-
if (!(
|
|
3840
|
+
const _e = ce(e.value, ge == null ? void 0 : ge.path);
|
|
3841
|
+
if (!(_e != null && _e.length)) return;
|
|
3834
3842
|
const qe = {
|
|
3835
3843
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
3836
3844
|
changeContents: [
|
|
3837
3845
|
{
|
|
3838
3846
|
tableName: "main",
|
|
3839
|
-
tableContents:
|
|
3847
|
+
tableContents: _e == null ? void 0 : _e.map((ie) => ({
|
|
3840
3848
|
object_id: ie.id,
|
|
3841
3849
|
object_name: ie.path,
|
|
3842
3850
|
father_name: ie.father_name
|
|
@@ -3849,20 +3857,20 @@ function hc(l = "menu") {
|
|
|
3849
3857
|
if (!ie) return;
|
|
3850
3858
|
ie.icon = ge == null ? void 0 : ge.icon, ie.title = ge == null ? void 0 : ge.title, ie.path = ge == null ? void 0 : ge.path, Ol.success("修改成功");
|
|
3851
3859
|
}
|
|
3852
|
-
} catch (
|
|
3853
|
-
throw new Error(
|
|
3860
|
+
} catch (_e) {
|
|
3861
|
+
throw new Error(_e);
|
|
3854
3862
|
}
|
|
3855
3863
|
}, De = () => {
|
|
3856
3864
|
var E;
|
|
3857
3865
|
m.value = !0;
|
|
3858
3866
|
try {
|
|
3859
3867
|
(E = u.value) == null || E.validate(async (de) => {
|
|
3860
|
-
var Ae,
|
|
3868
|
+
var Ae, _e, qe, X, ie, xe, Pe;
|
|
3861
3869
|
if (de) {
|
|
3862
3870
|
if (!((Ae = ne.value) != null && Ae.path)) return Ol.warning("请先选择所属菜单");
|
|
3863
3871
|
const le = ea(j.value, "groupId", F == null ? void 0 : F.pid);
|
|
3864
3872
|
let Ue;
|
|
3865
|
-
le ? Ue = [...((
|
|
3873
|
+
le ? Ue = [...((_e = le == null ? void 0 : le.namePath) == null ? void 0 : _e.split("/")) ?? [], F == null ? void 0 : F.title] : Ue = [F == null ? void 0 : F.title];
|
|
3866
3874
|
const gl = {
|
|
3867
3875
|
//新增
|
|
3868
3876
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
@@ -3890,7 +3898,7 @@ function hc(l = "menu") {
|
|
|
3890
3898
|
title: "",
|
|
3891
3899
|
icon: "",
|
|
3892
3900
|
path: ""
|
|
3893
|
-
}), oe =
|
|
3901
|
+
}), oe = S({
|
|
3894
3902
|
title: [
|
|
3895
3903
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
3896
3904
|
]
|
|
@@ -3899,7 +3907,7 @@ function hc(l = "menu") {
|
|
|
3899
3907
|
type: "",
|
|
3900
3908
|
//Table
|
|
3901
3909
|
pid: ""
|
|
3902
|
-
}), ze =
|
|
3910
|
+
}), ze = S({
|
|
3903
3911
|
title: [
|
|
3904
3912
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
3905
3913
|
]
|
|
@@ -3928,26 +3936,26 @@ function hc(l = "menu") {
|
|
|
3928
3936
|
value: "delete",
|
|
3929
3937
|
icon: "DeleteMenu"
|
|
3930
3938
|
}
|
|
3931
|
-
], cl =
|
|
3939
|
+
], cl = S(null), Fe = (E) => {
|
|
3932
3940
|
ge.title = E == null ? void 0 : E.title, ge.icon = E == null ? void 0 : E.icon, ge.path = E == null ? void 0 : E.path, Y.type = "update", Y.show = !1, ra(() => {
|
|
3933
3941
|
var de;
|
|
3934
3942
|
(de = cl.value) == null || de.focus();
|
|
3935
3943
|
});
|
|
3936
|
-
},
|
|
3944
|
+
}, Se = S(null);
|
|
3937
3945
|
return bl(() => U.value, async (E) => {
|
|
3938
3946
|
var de, Ae;
|
|
3939
3947
|
if (E) {
|
|
3940
3948
|
await ra();
|
|
3941
|
-
const
|
|
3942
|
-
if (((de =
|
|
3943
|
-
const qe =
|
|
3944
|
-
if (!
|
|
3945
|
-
(Ae =
|
|
3949
|
+
const _e = E == null ? void 0 : E[0];
|
|
3950
|
+
if (((de = _e == null ? void 0 : _e.children) == null ? void 0 : de.length) > 0) {
|
|
3951
|
+
const qe = _e == null ? void 0 : _e.path;
|
|
3952
|
+
if (!Se.value) return;
|
|
3953
|
+
(Ae = Se.value) == null || Ae.openMenuRefByIndex(qe), _.setActiveAsideEditMenuPath(qe ?? "");
|
|
3946
3954
|
} else
|
|
3947
|
-
|
|
3955
|
+
_.setActiveAsideEditMenuPath((_e == null ? void 0 : _e.path) ?? "");
|
|
3948
3956
|
}
|
|
3949
3957
|
}, { immediate: !0 }), {
|
|
3950
|
-
menuRef:
|
|
3958
|
+
menuRef: Se,
|
|
3951
3959
|
isCollapse: b,
|
|
3952
3960
|
handleMenuCollapse: T,
|
|
3953
3961
|
handleCompChange: g,
|
|
@@ -3999,10 +4007,10 @@ const vc = Kl(hc()), gc = ["title", "onDblclick"], yc = { title: "确认" }, bc
|
|
|
3999
4007
|
}, mc = { class: "menu-config-wrap" }, wc = ["onClick"], kc = { class: "plus-wrapper" }, Ac = {
|
|
4000
4008
|
key: 0,
|
|
4001
4009
|
title: "新建单元"
|
|
4002
|
-
}, Mc = { title: "确认" },
|
|
4003
|
-
function
|
|
4010
|
+
}, Mc = { title: "确认" }, _c = { title: "取消" }, Ic = { class: "dialog-footer" };
|
|
4011
|
+
function Sc(l, f, o, h, _, L) {
|
|
4004
4012
|
var y;
|
|
4005
|
-
const
|
|
4013
|
+
const I = ae("svg-icon"), V = ae("IconSelector"), R = ae("el-input"), P = ae("el-form-item"), ue = ae("el-form"), e = ae("el-popover"), B = ae("ss-edit-menu"), D = ae("el-cascader"), U = ae("el-option"), i = ae("el-select"), H = ae("el-button"), N = ae("ss-dialog"), J = yt("loading");
|
|
4006
4014
|
return p(), G(al, null, [
|
|
4007
4015
|
ia((p(), he(B, {
|
|
4008
4016
|
ref: "menuRef",
|
|
@@ -4018,14 +4026,14 @@ function _c(l, f, o, h, I, L) {
|
|
|
4018
4026
|
onCloseMenu: l.closeMenu
|
|
4019
4027
|
}, {
|
|
4020
4028
|
title: n(({ menu: v }) => {
|
|
4021
|
-
var c,
|
|
4029
|
+
var c, Ie, ve, j, re;
|
|
4022
4030
|
return [
|
|
4023
|
-
(v == null ? void 0 : v.path) !== ((c = l.menuForm) == null ? void 0 : c.path) ? (p(), he(
|
|
4031
|
+
(v == null ? void 0 : v.path) !== ((c = l.menuForm) == null ? void 0 : c.path) ? (p(), he(I, {
|
|
4024
4032
|
key: 0,
|
|
4025
4033
|
name: v.icon ?? ((v == null ? void 0 : v.level) <= 2 ? "default" : ""),
|
|
4026
4034
|
class: "menu-icon"
|
|
4027
4035
|
}, null, 8, ["name"])) : Ve("", !0),
|
|
4028
|
-
(v == null ? void 0 : v.path) !== ((
|
|
4036
|
+
(v == null ? void 0 : v.path) !== ((Ie = l.menuForm) == null ? void 0 : Ie.path) ? (p(), G("span", {
|
|
4029
4037
|
key: 1,
|
|
4030
4038
|
title: v.title + "(双击编辑)",
|
|
4031
4039
|
class: "menu-title",
|
|
@@ -4065,14 +4073,14 @@ function _c(l, f, o, h, I, L) {
|
|
|
4065
4073
|
var ne, Z;
|
|
4066
4074
|
return [
|
|
4067
4075
|
x("span", yc, [
|
|
4068
|
-
s(
|
|
4076
|
+
s(I, {
|
|
4069
4077
|
name: "softConfirm",
|
|
4070
4078
|
style: Ql({ color: (ne = l.menuForm.title) != null && ne.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
4071
4079
|
onClick: ql(l.onConfirmMenu, ["stop"])
|
|
4072
4080
|
}, null, 8, ["style", "onClick"])
|
|
4073
4081
|
]),
|
|
4074
4082
|
x("span", bc, [
|
|
4075
|
-
s(
|
|
4083
|
+
s(I, {
|
|
4076
4084
|
name: "softCancel",
|
|
4077
4085
|
style: Ql({ color: (Z = l.menuForm.title) != null && Z.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
4078
4086
|
onClick: ql(l.onCloseMenuPlusDialog, ["stop"])
|
|
@@ -4096,7 +4104,7 @@ function _c(l, f, o, h, I, L) {
|
|
|
4096
4104
|
"popper-class": "menu-operate-popover"
|
|
4097
4105
|
}, {
|
|
4098
4106
|
reference: n(() => [
|
|
4099
|
-
s(
|
|
4107
|
+
s(I, {
|
|
4100
4108
|
name: "more",
|
|
4101
4109
|
style: { cursor: "pointer", width: "15px", height: "15px" }
|
|
4102
4110
|
})
|
|
@@ -4108,7 +4116,7 @@ function _c(l, f, o, h, I, L) {
|
|
|
4108
4116
|
key: ne.title,
|
|
4109
4117
|
onClick: (Z) => l.clickMenuIcon(v, ne)
|
|
4110
4118
|
}, [
|
|
4111
|
-
s(
|
|
4119
|
+
s(I, {
|
|
4112
4120
|
name: ne == null ? void 0 : ne.icon,
|
|
4113
4121
|
style: { width: "15px", height: "15px", "margin-right": "8px" }
|
|
4114
4122
|
}, null, 8, ["name"]),
|
|
@@ -4127,7 +4135,7 @@ function _c(l, f, o, h, I, L) {
|
|
|
4127
4135
|
]),
|
|
4128
4136
|
x("div", kc, [
|
|
4129
4137
|
!l.menuPlusDialogInfo.show && l.activeMainEditMenuPath ? (p(), G("span", Ac, [
|
|
4130
|
-
s(
|
|
4138
|
+
s(I, {
|
|
4131
4139
|
name: "menuPlusDark",
|
|
4132
4140
|
class: "menu-plus-icon",
|
|
4133
4141
|
onClick: ql(l.onClickCreateMenu, ["stop"])
|
|
@@ -4165,14 +4173,14 @@ function _c(l, f, o, h, I, L) {
|
|
|
4165
4173
|
var v, c;
|
|
4166
4174
|
return [
|
|
4167
4175
|
x("span", Mc, [
|
|
4168
|
-
s(
|
|
4176
|
+
s(I, {
|
|
4169
4177
|
name: "softConfirm",
|
|
4170
4178
|
style: Ql({ color: (v = l.menuForm.title) != null && v.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
4171
4179
|
onClick: ql(l.onConfirmMenu, ["stop"])
|
|
4172
4180
|
}, null, 8, ["style", "onClick"])
|
|
4173
4181
|
]),
|
|
4174
|
-
x("span",
|
|
4175
|
-
s(
|
|
4182
|
+
x("span", _c, [
|
|
4183
|
+
s(I, {
|
|
4176
4184
|
name: "softCancel",
|
|
4177
4185
|
style: Ql({ color: (c = l.menuForm.title) != null && c.length ? "var(--el-color-warning)" : "var(--el-color-info)" }),
|
|
4178
4186
|
onClick: ql(l.onCloseMenuPlusDialog, ["stop"])
|
|
@@ -4196,21 +4204,23 @@ function _c(l, f, o, h, I, L) {
|
|
|
4196
4204
|
onBeforeDestroy: l.onCloseGroupDialog
|
|
4197
4205
|
}, {
|
|
4198
4206
|
footer: n(() => [
|
|
4199
|
-
x("div",
|
|
4207
|
+
x("div", Ic, [
|
|
4200
4208
|
s(H, { onClick: l.onCloseGroupDialog }, {
|
|
4201
|
-
default: n(() =>
|
|
4202
|
-
pl("取消"
|
|
4203
|
-
])
|
|
4204
|
-
_: 1
|
|
4209
|
+
default: n(() => f[7] || (f[7] = [
|
|
4210
|
+
pl("取消")
|
|
4211
|
+
])),
|
|
4212
|
+
_: 1,
|
|
4213
|
+
__: [7]
|
|
4205
4214
|
}, 8, ["onClick"]),
|
|
4206
4215
|
s(H, {
|
|
4207
4216
|
type: "primary",
|
|
4208
4217
|
onClick: l.onConfirmGroup
|
|
4209
4218
|
}, {
|
|
4210
|
-
default: n(() =>
|
|
4211
|
-
pl("确认"
|
|
4212
|
-
])
|
|
4213
|
-
_: 1
|
|
4219
|
+
default: n(() => f[8] || (f[8] = [
|
|
4220
|
+
pl("确认")
|
|
4221
|
+
])),
|
|
4222
|
+
_: 1,
|
|
4223
|
+
__: [8]
|
|
4214
4224
|
}, 8, ["onClick"])
|
|
4215
4225
|
])
|
|
4216
4226
|
]),
|
|
@@ -4283,17 +4293,17 @@ function _c(l, f, o, h, I, L) {
|
|
|
4283
4293
|
}, 8, ["title", "width", "visible", "onBeforeDestroy"])
|
|
4284
4294
|
], 64);
|
|
4285
4295
|
}
|
|
4286
|
-
const Tc = /* @__PURE__ */ aa(vc, [["render",
|
|
4287
|
-
var f, o, h,
|
|
4296
|
+
const Tc = /* @__PURE__ */ aa(vc, [["render", Sc], ["__scopeId", "data-v-7f84f446"]]), Bc = ua(Al), { loginUserInfo: fa } = ml(Bc), Ec = zl(), Zn = async () => {
|
|
4297
|
+
var f, o, h, _, L, I, V, R, P, ue;
|
|
4288
4298
|
let l = await Wa({
|
|
4289
4299
|
platId: parseInt((f = fa == null ? void 0 : fa.value) == null ? void 0 : f.plat_id),
|
|
4290
4300
|
pageName: "menu"
|
|
4291
4301
|
});
|
|
4292
4302
|
if (((h = (o = l == null ? void 0 : l.data) == null ? void 0 : o.result) == null ? void 0 : h.length) > 0) {
|
|
4293
|
-
let e = (V = (
|
|
4303
|
+
let e = (V = (I = (L = (_ = l == null ? void 0 : l.data) == null ? void 0 : _.result) == null ? void 0 : L.filter((B) => {
|
|
4294
4304
|
var D, U;
|
|
4295
4305
|
return ((U = B == null ? void 0 : B.object_name) == null ? void 0 : U[((D = B == null ? void 0 : B.object_name) == null ? void 0 : D.length) - 1]) !== "/" && (B == null ? void 0 : B.is_show);
|
|
4296
|
-
})) == null ? void 0 :
|
|
4306
|
+
})) == null ? void 0 : I.sort((B, D) => (B == null ? void 0 : B.object_id) - (D == null ? void 0 : D.object_id))) == null ? void 0 : V.map((B) => {
|
|
4297
4307
|
var D;
|
|
4298
4308
|
return (D = B == null ? void 0 : B.object_name) == null ? void 0 : D.replaceAll("**^", "/");
|
|
4299
4309
|
});
|
|
@@ -4306,11 +4316,11 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4306
4316
|
})) == null ? void 0 : ue.sort((e, B) => (e == null ? void 0 : e.object_id) - (B == null ? void 0 : B.object_id))
|
|
4307
4317
|
};
|
|
4308
4318
|
}, Dc = async (l) => {
|
|
4309
|
-
var o, h,
|
|
4310
|
-
await
|
|
4319
|
+
var o, h, _;
|
|
4320
|
+
await _n({
|
|
4311
4321
|
platId: parseInt((o = fa == null ? void 0 : fa.value) == null ? void 0 : o.plat_id),
|
|
4312
4322
|
userName: (h = fa == null ? void 0 : fa.value) == null ? void 0 : h.user_name,
|
|
4313
|
-
password: (
|
|
4323
|
+
password: (_ = fa == null ? void 0 : fa.value) == null ? void 0 : _.password,
|
|
4314
4324
|
platName: "新模型内容",
|
|
4315
4325
|
changeData: l
|
|
4316
4326
|
});
|
|
@@ -4338,7 +4348,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4338
4348
|
value: "delete",
|
|
4339
4349
|
type: "danger"
|
|
4340
4350
|
}
|
|
4341
|
-
],
|
|
4351
|
+
], _ = S([
|
|
4342
4352
|
{
|
|
4343
4353
|
prop: "prop",
|
|
4344
4354
|
label: "参数英文名称",
|
|
@@ -4374,7 +4384,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4374
4384
|
// render: 'image',
|
|
4375
4385
|
minWidth: 150
|
|
4376
4386
|
}
|
|
4377
|
-
]), L = ({ row: V, rowIndex: R }) => R % 2 === 0 ? "default-row" : "special-row",
|
|
4387
|
+
]), L = ({ row: V, rowIndex: R }) => R % 2 === 0 ? "default-row" : "special-row", I = (V, R, P) => {
|
|
4378
4388
|
o("onClickOperateData", V, R, P);
|
|
4379
4389
|
};
|
|
4380
4390
|
return (V, R) => {
|
|
@@ -4393,7 +4403,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4393
4403
|
width: "70",
|
|
4394
4404
|
align: "center"
|
|
4395
4405
|
}),
|
|
4396
|
-
(p(!0), G(al, null, fl(
|
|
4406
|
+
(p(!0), G(al, null, fl(_.value, (B) => (p(), he(P, {
|
|
4397
4407
|
"min-width": B == null ? void 0 : B.minWidth,
|
|
4398
4408
|
key: B == null ? void 0 : B.prop,
|
|
4399
4409
|
prop: B == null ? void 0 : B.prop,
|
|
@@ -4414,7 +4424,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4414
4424
|
style: { padding: "0", margin: "0 8px 0 0" },
|
|
4415
4425
|
text: "",
|
|
4416
4426
|
type: D == null ? void 0 : D.type,
|
|
4417
|
-
onClick: (U) =>
|
|
4427
|
+
onClick: (U) => I(D == null ? void 0 : D.value, B, l.group)
|
|
4418
4428
|
}, {
|
|
4419
4429
|
default: n(() => [
|
|
4420
4430
|
pl(nl(D == null ? void 0 : D.label), 1)
|
|
@@ -4454,13 +4464,13 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4454
4464
|
},
|
|
4455
4465
|
emits: ["onClickOperateData", "onChangeTabInput", "onDbClickTab", "onDeleteTab"],
|
|
4456
4466
|
setup(l, { emit: f }) {
|
|
4457
|
-
const o = l, h = f,
|
|
4458
|
-
y && (
|
|
4459
|
-
}, R = (y) =>
|
|
4467
|
+
const o = l, h = f, _ = S(""), L = S([]), I = S({}), V = (y, v) => {
|
|
4468
|
+
y && (I.value[v] = y);
|
|
4469
|
+
}, R = (y) => I.value[y], P = (y) => {
|
|
4460
4470
|
var c;
|
|
4461
|
-
const v =
|
|
4471
|
+
const v = I.value[y];
|
|
4462
4472
|
return v ? ((c = v.$el) == null ? void 0 : c.querySelector("input")) || v.$el : null;
|
|
4463
|
-
}, ue = () => Object.keys(
|
|
4473
|
+
}, ue = () => Object.keys(I.value).map((y) => P(y)).filter((y) => y && y.tagName === "INPUT"), e = async () => {
|
|
4464
4474
|
await ra();
|
|
4465
4475
|
const y = ue();
|
|
4466
4476
|
if (y.length === 0) return;
|
|
@@ -4472,8 +4482,8 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4472
4482
|
inline: "end"
|
|
4473
4483
|
//水平方向对齐
|
|
4474
4484
|
});
|
|
4475
|
-
}, B =
|
|
4476
|
-
var c,
|
|
4485
|
+
}, B = S({}), D = (y, v) => {
|
|
4486
|
+
var c, Ie;
|
|
4477
4487
|
switch (v) {
|
|
4478
4488
|
case "remove":
|
|
4479
4489
|
break;
|
|
@@ -4485,25 +4495,25 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4485
4495
|
if (ve) {
|
|
4486
4496
|
const j = R(ve == null ? void 0 : ve.id);
|
|
4487
4497
|
if (j)
|
|
4488
|
-
return j == null || j.focus(),
|
|
4498
|
+
return j == null || j.focus(), _.value = ve == null ? void 0 : ve.id, e();
|
|
4489
4499
|
} else {
|
|
4490
|
-
const j = "new" + ((
|
|
4500
|
+
const j = "new" + ((Ie = L.value) == null ? void 0 : Ie.length) + 1;
|
|
4491
4501
|
B.value = {
|
|
4492
4502
|
id: j,
|
|
4493
4503
|
label: "",
|
|
4494
4504
|
prop: "",
|
|
4495
4505
|
parentProp: o == null ? void 0 : o.parentTab
|
|
4496
|
-
}, L.value.push(B.value),
|
|
4506
|
+
}, L.value.push(B.value), _.value = j, e();
|
|
4497
4507
|
}
|
|
4498
4508
|
break;
|
|
4499
4509
|
}
|
|
4500
4510
|
}, U = (y) => {
|
|
4501
4511
|
var v, c;
|
|
4502
|
-
o != null && o.level && h("onDeleteTab", y), (v = String(y == null ? void 0 : y.id)) != null && v.includes("new") ? L.value = (c = L.value) == null ? void 0 : c.filter((
|
|
4512
|
+
o != null && o.level && h("onDeleteTab", y), (v = String(y == null ? void 0 : y.id)) != null && v.includes("new") ? L.value = (c = L.value) == null ? void 0 : c.filter((Ie) => (Ie == null ? void 0 : Ie.id) !== (y == null ? void 0 : y.id)) : h("onClickOperateData", "delete", y, o == null ? void 0 : o.group);
|
|
4503
4513
|
}, i = (y, v) => {
|
|
4504
4514
|
var ve, j, re;
|
|
4505
4515
|
if (!y) return;
|
|
4506
|
-
const c = (ve = String(v == null ? void 0 : v.id)) != null && ve.includes("new") ? "create" : "update",
|
|
4516
|
+
const c = (ve = String(v == null ? void 0 : v.id)) != null && ve.includes("new") ? "create" : "update", Ie = (j = L.value) == null ? void 0 : j.find((ne) => {
|
|
4507
4517
|
var Z;
|
|
4508
4518
|
return (Z = String(ne == null ? void 0 : ne.id)) == null ? void 0 : Z.includes("new");
|
|
4509
4519
|
});
|
|
@@ -4514,30 +4524,30 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4514
4524
|
label: y,
|
|
4515
4525
|
prop: c === "create" ? y : v == null ? void 0 : v.prop,
|
|
4516
4526
|
//避免修改到其余prop
|
|
4517
|
-
parentProp: (v == null ? void 0 : v.parentProp) || (
|
|
4527
|
+
parentProp: (v == null ? void 0 : v.parentProp) || (Ie == null ? void 0 : Ie.parentProp),
|
|
4518
4528
|
id: c === "create" ? ((v == null ? void 0 : v.parentProp) || (v == null ? void 0 : v.parentTab)) + "." + y : v == null ? void 0 : v.id
|
|
4519
4529
|
}, o == null ? void 0 : o.group, !0), o != null && o.level && h("onChangeTabInput", y, v);
|
|
4520
4530
|
};
|
|
4521
|
-
|
|
4522
|
-
const H =
|
|
4531
|
+
S("");
|
|
4532
|
+
const H = S(!1), N = (y) => {
|
|
4523
4533
|
ra(() => {
|
|
4524
|
-
var v, c,
|
|
4525
|
-
(
|
|
4534
|
+
var v, c, Ie;
|
|
4535
|
+
(Ie = (c = I.value) == null ? void 0 : c[(v = y == null ? void 0 : y.props) == null ? void 0 : v.name]) == null || Ie.focus();
|
|
4526
4536
|
});
|
|
4527
4537
|
}, J = (y) => {
|
|
4528
4538
|
o != null && o.level && h("onDbClickTab", y), H.value = !0, h("onClickOperateData", "update", y, o == null ? void 0 : o.group), ra(() => {
|
|
4529
4539
|
var v, c;
|
|
4530
|
-
(c = (v =
|
|
4540
|
+
(c = (v = I.value) == null ? void 0 : v[y == null ? void 0 : y.id]) == null || c.focus();
|
|
4531
4541
|
});
|
|
4532
4542
|
};
|
|
4533
4543
|
return bl(() => o.data, (y) => {
|
|
4534
4544
|
L.value = y;
|
|
4535
4545
|
}, { immediate: !0, deep: !0 }), (y, v) => {
|
|
4536
|
-
const c = ae("el-icon"),
|
|
4546
|
+
const c = ae("el-icon"), Ie = ae("svg-icon"), ve = ae("el-input"), j = ae("tab-index"), re = ae("el-tab-pane"), ne = ae("el-tabs");
|
|
4537
4547
|
return p(), he(ne, {
|
|
4538
4548
|
key: l.key,
|
|
4539
|
-
modelValue:
|
|
4540
|
-
"onUpdate:modelValue": v[1] || (v[1] = (Z) =>
|
|
4549
|
+
modelValue: _.value,
|
|
4550
|
+
"onUpdate:modelValue": v[1] || (v[1] = (Z) => _.value = Z),
|
|
4541
4551
|
type: "card",
|
|
4542
4552
|
addable: !0,
|
|
4543
4553
|
closable: !1,
|
|
@@ -4555,7 +4565,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4555
4565
|
var Be;
|
|
4556
4566
|
return [
|
|
4557
4567
|
Z != null && Z.children && ((Be = Z == null ? void 0 : Z.children) != null && Be.length) ? (p(), G("span", Rc, [
|
|
4558
|
-
|
|
4568
|
+
_.value === (Z == null ? void 0 : Z.id) ? (p(), he(c, { key: 0 }, {
|
|
4559
4569
|
default: n(() => [
|
|
4560
4570
|
s(r(xo))
|
|
4561
4571
|
]),
|
|
@@ -4567,7 +4577,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4567
4577
|
_: 1
|
|
4568
4578
|
}))
|
|
4569
4579
|
])) : Ve("", !0),
|
|
4570
|
-
|
|
4580
|
+
_.value === (Z == null ? void 0 : Z.id) ? (p(), he(ve, {
|
|
4571
4581
|
key: 1,
|
|
4572
4582
|
ref_for: !0,
|
|
4573
4583
|
ref: (me) => V(me, Z.id),
|
|
@@ -4583,7 +4593,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4583
4593
|
title: "编辑其他属性",
|
|
4584
4594
|
onClick: ql((me) => J(Z), ["stop"])
|
|
4585
4595
|
}, [
|
|
4586
|
-
s(
|
|
4596
|
+
s(Ie, {
|
|
4587
4597
|
name: "softEdit",
|
|
4588
4598
|
style: { width: "16px", height: "16px", color: "var(--el-color-primary)" }
|
|
4589
4599
|
})
|
|
@@ -4593,7 +4603,7 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4593
4603
|
title: "删除",
|
|
4594
4604
|
onClick: ql((me) => U(Z), ["stop"])
|
|
4595
4605
|
}, [
|
|
4596
|
-
s(
|
|
4606
|
+
s(Ie, { name: "softDelete" })
|
|
4597
4607
|
], 8, Vc)
|
|
4598
4608
|
]),
|
|
4599
4609
|
_: 2
|
|
@@ -4794,13 +4804,13 @@ const Tc = /* @__PURE__ */ aa(vc, [["render", _c], ["__scopeId", "data-v-7f84f44
|
|
|
4794
4804
|
label: "进度条",
|
|
4795
4805
|
value: "ProcessBar"
|
|
4796
4806
|
}
|
|
4797
|
-
], za =
|
|
4807
|
+
], za = S([]);
|
|
4798
4808
|
function qc(l) {
|
|
4799
4809
|
if (!l) return "";
|
|
4800
4810
|
let f = "", o = 0;
|
|
4801
4811
|
for (let h = 0; h < (l == null ? void 0 : l.length); h++) {
|
|
4802
|
-
const
|
|
4803
|
-
|
|
4812
|
+
const _ = l[h];
|
|
4813
|
+
_ === "(" ? (o++, f += _) : _ === ")" ? (o--, f += _) : (_ === "," || _ === ",") && o > 0 ? f += "&" : f += _;
|
|
4804
4814
|
}
|
|
4805
4815
|
return f;
|
|
4806
4816
|
}
|
|
@@ -4811,11 +4821,11 @@ function Yc(l) {
|
|
|
4811
4821
|
}
|
|
4812
4822
|
const sa = (l, f) => {
|
|
4813
4823
|
if (!l || (l == null ? void 0 : l.trim()) === "") return null;
|
|
4814
|
-
const o = f != null && f.startsWith("@") ? f : `@${f}`, h = new RegExp(`${o}=([^@]+?)(?=@|$)`, "g"),
|
|
4815
|
-
if (!
|
|
4816
|
-
const L =
|
|
4824
|
+
const o = f != null && f.startsWith("@") ? f : `@${f}`, h = new RegExp(`${o}=([^@]+?)(?=@|$)`, "g"), _ = [...l.matchAll(h)];
|
|
4825
|
+
if (!_ || _.length === 0) return null;
|
|
4826
|
+
const L = _.map((I) => {
|
|
4817
4827
|
var P, ue, e, B;
|
|
4818
|
-
let V = (P =
|
|
4828
|
+
let V = (P = I[1]) == null ? void 0 : P.trim();
|
|
4819
4829
|
if (V = (ue = V == null ? void 0 : V.replace(/[,)]$/, "")) == null ? void 0 : ue.trim(), V != null && V.startsWith("{") && (V != null && V.endsWith("}"))) {
|
|
4820
4830
|
const D = V == null ? void 0 : V.slice(1, -1);
|
|
4821
4831
|
return D === "" ? [] : (e = D == null ? void 0 : D.split(/[,,]/)) == null ? void 0 : e.map((U) => U == null ? void 0 : U.trim());
|
|
@@ -4856,14 +4866,14 @@ const sa = (l, f) => {
|
|
|
4856
4866
|
},
|
|
4857
4867
|
emits: ["onDbClickGroup", "onConfirm", "onDelete", "onClickOperateData"],
|
|
4858
4868
|
setup(l, { emit: f }) {
|
|
4859
|
-
const o = zl(Al), { activeAsideEditMenuPath: h } = ml(o),
|
|
4860
|
-
ye && (
|
|
4869
|
+
const o = zl(Al), { activeAsideEditMenuPath: h } = ml(o), _ = l, L = f, I = S({}), V = (ye, C) => {
|
|
4870
|
+
ye && (I.value[C] = ye);
|
|
4861
4871
|
}, R = (ye) => {
|
|
4862
4872
|
var Ye, be, Re, Ge, He, ol, tl, a, g, b, T, Y, fe, Q, u, k, q, $, t, d, M, z;
|
|
4863
4873
|
const C = JSON.parse(JSON.stringify(ye));
|
|
4864
4874
|
if (e && typeof e == "object" && ((Ye = Object.keys(C)) == null || Ye.forEach((Ce) => {
|
|
4865
4875
|
Ce in e && (e[Ce] = C[Ce]);
|
|
4866
|
-
})), e.id = C == null ? void 0 : C.id, za.value = (Re = (be =
|
|
4876
|
+
})), e.id = C == null ? void 0 : C.id, za.value = (Re = (be = _ == null ? void 0 : _.children) == null ? void 0 : be.filter((Ce) => (Ce == null ? void 0 : Ce.id) !== (e == null ? void 0 : e.id))) == null ? void 0 : Re.map((Ce) => ({
|
|
4867
4877
|
value: Ce == null ? void 0 : Ce.id,
|
|
4868
4878
|
label: Ce == null ? void 0 : Ce.name,
|
|
4869
4879
|
configInfo: Ce == null ? void 0 : Ce.configInfo
|
|
@@ -4899,9 +4909,9 @@ const sa = (l, f) => {
|
|
|
4899
4909
|
}
|
|
4900
4910
|
ra(() => {
|
|
4901
4911
|
var Ce, Le;
|
|
4902
|
-
(Le = (Ce =
|
|
4912
|
+
(Le = (Ce = I.value) == null ? void 0 : Ce[e == null ? void 0 : e.id]) == null || Le.focus();
|
|
4903
4913
|
}), L("onDbClickGroup", C);
|
|
4904
|
-
}, P =
|
|
4914
|
+
}, P = S("structure"), ue = (ye) => {
|
|
4905
4915
|
};
|
|
4906
4916
|
let e = Yl({
|
|
4907
4917
|
id: "",
|
|
@@ -4941,8 +4951,8 @@ const sa = (l, f) => {
|
|
|
4941
4951
|
textBackground: "",
|
|
4942
4952
|
linkSource: ""
|
|
4943
4953
|
});
|
|
4944
|
-
|
|
4945
|
-
const B =
|
|
4954
|
+
S(1);
|
|
4955
|
+
const B = S([
|
|
4946
4956
|
{
|
|
4947
4957
|
id: "",
|
|
4948
4958
|
data: [],
|
|
@@ -4966,7 +4976,7 @@ const sa = (l, f) => {
|
|
|
4966
4976
|
inputRef: null,
|
|
4967
4977
|
inputValue: ""
|
|
4968
4978
|
}) : B.value.splice(C, 1);
|
|
4969
|
-
}, i =
|
|
4979
|
+
}, i = S([
|
|
4970
4980
|
{
|
|
4971
4981
|
key: "TopButton",
|
|
4972
4982
|
data: [],
|
|
@@ -4999,7 +5009,7 @@ const sa = (l, f) => {
|
|
|
4999
5009
|
// inputRef: null,
|
|
5000
5010
|
// inputValue: '',
|
|
5001
5011
|
// },
|
|
5002
|
-
]), H =
|
|
5012
|
+
]), H = S({
|
|
5003
5013
|
name: [
|
|
5004
5014
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
5005
5015
|
]
|
|
@@ -5030,12 +5040,12 @@ const sa = (l, f) => {
|
|
|
5030
5040
|
}, c = (ye) => {
|
|
5031
5041
|
var C;
|
|
5032
5042
|
ye != null && ye.inputValue && (ye == null || ye.data.push((C = ye == null ? void 0 : ye.inputValue) == null ? void 0 : C.trim())), ye.inputVisible = !1, ye.inputValue = "";
|
|
5033
|
-
},
|
|
5043
|
+
}, Ie = (ye) => {
|
|
5034
5044
|
L("onConfirm", ye);
|
|
5035
5045
|
}, ve = (ye) => {
|
|
5036
5046
|
L("onDelete", ye);
|
|
5037
5047
|
};
|
|
5038
|
-
|
|
5048
|
+
S([{
|
|
5039
5049
|
row: "1",
|
|
5040
5050
|
column: "1"
|
|
5041
5051
|
}]);
|
|
@@ -5105,7 +5115,7 @@ const sa = (l, f) => {
|
|
|
5105
5115
|
};
|
|
5106
5116
|
return gt(() => {
|
|
5107
5117
|
N && clearTimeout(N);
|
|
5108
|
-
}), bl(() =>
|
|
5118
|
+
}), bl(() => _ == null ? void 0 : _.isRefreshGroups, (ye) => {
|
|
5109
5119
|
ye && (Be.show = !1);
|
|
5110
5120
|
}, { immediate: !0 }), bl(() => Be.show, (ye) => {
|
|
5111
5121
|
ye || me();
|
|
@@ -5221,7 +5231,7 @@ const sa = (l, f) => {
|
|
|
5221
5231
|
isRefreshGroups: l.isRefreshGroups,
|
|
5222
5232
|
quoteOptions: l.quoteOptions,
|
|
5223
5233
|
onOnClickOperateData: Z,
|
|
5224
|
-
onOnConfirm:
|
|
5234
|
+
onOnConfirm: Ie,
|
|
5225
5235
|
onOnDbClickGroup: R,
|
|
5226
5236
|
onOnDelete: ve
|
|
5227
5237
|
}, null, 8, ["activeGroupOptions", "children", "isRefreshGroups", "quoteOptions"])) : Ve("", !0)
|
|
@@ -5238,19 +5248,21 @@ const sa = (l, f) => {
|
|
|
5238
5248
|
footer: n(() => [
|
|
5239
5249
|
x("div", eu, [
|
|
5240
5250
|
s(Y, { onClick: sl }, {
|
|
5241
|
-
default: n(() =>
|
|
5242
|
-
pl("取消"
|
|
5243
|
-
])
|
|
5244
|
-
_: 1
|
|
5251
|
+
default: n(() => C[36] || (C[36] = [
|
|
5252
|
+
pl("取消")
|
|
5253
|
+
])),
|
|
5254
|
+
_: 1,
|
|
5255
|
+
__: [36]
|
|
5245
5256
|
}),
|
|
5246
5257
|
s(Y, {
|
|
5247
5258
|
type: "primary",
|
|
5248
5259
|
onClick: J
|
|
5249
5260
|
}, {
|
|
5250
|
-
default: n(() =>
|
|
5251
|
-
pl("确认"
|
|
5252
|
-
])
|
|
5253
|
-
_: 1
|
|
5261
|
+
default: n(() => C[37] || (C[37] = [
|
|
5262
|
+
pl("确认")
|
|
5263
|
+
])),
|
|
5264
|
+
_: 1,
|
|
5265
|
+
__: [37]
|
|
5254
5266
|
})
|
|
5255
5267
|
])
|
|
5256
5268
|
]),
|
|
@@ -5578,11 +5590,12 @@ const sa = (l, f) => {
|
|
|
5578
5590
|
size: "small",
|
|
5579
5591
|
onClick: (Ce) => v(t)
|
|
5580
5592
|
}, {
|
|
5581
|
-
default: n(() =>
|
|
5582
|
-
pl(" + "
|
|
5583
|
-
])
|
|
5584
|
-
_:
|
|
5585
|
-
|
|
5593
|
+
default: n(() => C[32] || (C[32] = [
|
|
5594
|
+
pl(" + ")
|
|
5595
|
+
])),
|
|
5596
|
+
_: 2,
|
|
5597
|
+
__: [32]
|
|
5598
|
+
}, 1032, ["onClick"]))
|
|
5586
5599
|
]),
|
|
5587
5600
|
_: 2
|
|
5588
5601
|
}, 1024)
|
|
@@ -5787,12 +5800,13 @@ const sa = (l, f) => {
|
|
|
5787
5800
|
size: "small",
|
|
5788
5801
|
type: "danger"
|
|
5789
5802
|
}, {
|
|
5790
|
-
default: n(() =>
|
|
5791
|
-
pl(" 注意事项:"
|
|
5803
|
+
default: n(() => C[33] || (C[33] = [
|
|
5804
|
+
pl(" 注意事项:"),
|
|
5792
5805
|
x("br", null, null, -1),
|
|
5793
|
-
pl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 "
|
|
5794
|
-
])
|
|
5795
|
-
_: 1
|
|
5806
|
+
pl(" 组合关键字: 用于关键字一致的配置组合,应用于组合容器中 ")
|
|
5807
|
+
])),
|
|
5808
|
+
_: 1,
|
|
5809
|
+
__: [33]
|
|
5796
5810
|
})) : Ve("", !0)
|
|
5797
5811
|
]),
|
|
5798
5812
|
_: 1
|
|
@@ -5839,16 +5853,18 @@ const sa = (l, f) => {
|
|
|
5839
5853
|
s(u, { class: "cascader-title-wrapper" }, {
|
|
5840
5854
|
default: n(() => [
|
|
5841
5855
|
s(Q, { span: 12 }, {
|
|
5842
|
-
default: n(() =>
|
|
5843
|
-
pl("已选选项"
|
|
5844
|
-
])
|
|
5845
|
-
_: 1
|
|
5856
|
+
default: n(() => C[34] || (C[34] = [
|
|
5857
|
+
pl("已选选项")
|
|
5858
|
+
])),
|
|
5859
|
+
_: 1,
|
|
5860
|
+
__: [34]
|
|
5846
5861
|
}),
|
|
5847
5862
|
s(Q, { span: 12 }, {
|
|
5848
|
-
default: n(() =>
|
|
5849
|
-
pl("同步方式"
|
|
5850
|
-
])
|
|
5851
|
-
_: 1
|
|
5863
|
+
default: n(() => C[35] || (C[35] = [
|
|
5864
|
+
pl("同步方式")
|
|
5865
|
+
])),
|
|
5866
|
+
_: 1,
|
|
5867
|
+
__: [35]
|
|
5852
5868
|
})
|
|
5853
5869
|
]),
|
|
5854
5870
|
_: 1
|
|
@@ -5889,8 +5905,8 @@ const sa = (l, f) => {
|
|
|
5889
5905
|
_: 2
|
|
5890
5906
|
}, 1032, ["value"]))), 128))
|
|
5891
5907
|
]),
|
|
5892
|
-
_:
|
|
5893
|
-
},
|
|
5908
|
+
_: 2
|
|
5909
|
+
}, 1032, ["model-value", "onUpdate:modelValue"])
|
|
5894
5910
|
]),
|
|
5895
5911
|
_: 2
|
|
5896
5912
|
}, 1024)
|
|
@@ -6053,31 +6069,31 @@ const sa = (l, f) => {
|
|
|
6053
6069
|
V = zt(V, R, P);
|
|
6054
6070
|
return V;
|
|
6055
6071
|
}
|
|
6056
|
-
let
|
|
6057
|
-
Array.isArray(o) && (
|
|
6058
|
-
const L = f != null && f.startsWith("@") ? f : `@${f}`,
|
|
6059
|
-
if (
|
|
6060
|
-
return l == null ? void 0 : l.replace(
|
|
6072
|
+
let _ = o;
|
|
6073
|
+
Array.isArray(o) && (_ = `[${o.join(",")}]`);
|
|
6074
|
+
const L = f != null && f.startsWith("@") ? f : `@${f}`, I = new RegExp(`${L}=(\\[[^\\]]*\\]|[^,)]+)`);
|
|
6075
|
+
if (I.test(l) && !h)
|
|
6076
|
+
return l == null ? void 0 : l.replace(I, `${L}=${_}`);
|
|
6061
6077
|
{
|
|
6062
|
-
const V = l == null ? void 0 : l.slice(1, -1), R = `${L}=${
|
|
6078
|
+
const V = l == null ? void 0 : l.slice(1, -1), R = `${L}=${_}`;
|
|
6063
6079
|
return (V == null ? void 0 : V.length) === 0 ? `(${R})` : `(${V},${R})`;
|
|
6064
6080
|
}
|
|
6065
6081
|
};
|
|
6066
6082
|
function tu(l) {
|
|
6067
6083
|
const f = [];
|
|
6068
6084
|
function o(h) {
|
|
6069
|
-
var
|
|
6070
|
-
!h || !(h != null && h.children) || (
|
|
6085
|
+
var _;
|
|
6086
|
+
!h || !(h != null && h.children) || (_ = h == null ? void 0 : h.children) == null || _.forEach((L) => {
|
|
6071
6087
|
f.push(L), o(L);
|
|
6072
6088
|
});
|
|
6073
6089
|
}
|
|
6074
6090
|
return o(l), f;
|
|
6075
6091
|
}
|
|
6076
6092
|
function su(l, f, o, h = "name") {
|
|
6077
|
-
const
|
|
6078
|
-
return l != null && l.hasOwnProperty(
|
|
6093
|
+
const _ = `${h}${f}`;
|
|
6094
|
+
return l != null && l.hasOwnProperty(_) ? {
|
|
6079
6095
|
...l,
|
|
6080
|
-
[
|
|
6096
|
+
[_]: o
|
|
6081
6097
|
} : l;
|
|
6082
6098
|
}
|
|
6083
6099
|
const nu = (l, f) => {
|
|
@@ -6096,11 +6112,11 @@ const nu = (l, f) => {
|
|
|
6096
6112
|
if (!Array.isArray(l)) return [];
|
|
6097
6113
|
const f = /* @__PURE__ */ new Map();
|
|
6098
6114
|
return l == null || l.forEach((o) => {
|
|
6099
|
-
var
|
|
6115
|
+
var _, L, I, V, R, P;
|
|
6100
6116
|
const h = o == null ? void 0 : o.object_name;
|
|
6101
|
-
f.has(h) ? (V = (
|
|
6117
|
+
f.has(h) ? (V = (_ = f.get(h)) == null ? void 0 : _.children) == null || V.push({
|
|
6102
6118
|
prop: (L = Object.values(o == null ? void 0 : o.name)) == null ? void 0 : L.join("/"),
|
|
6103
|
-
label: (
|
|
6119
|
+
label: (I = Object.values(o == null ? void 0 : o.name)) == null ? void 0 : I.join("/"),
|
|
6104
6120
|
// children: recurseFormatPropOptions(item?.children),
|
|
6105
6121
|
children: o == null ? void 0 : o.children
|
|
6106
6122
|
}) : f.set(h, {
|
|
@@ -6115,9 +6131,9 @@ const nu = (l, f) => {
|
|
|
6115
6131
|
});
|
|
6116
6132
|
}), [...f.values()];
|
|
6117
6133
|
}, ou = (l) => {
|
|
6118
|
-
const { menus: f = [], groups: o = [], words: h = [] } = l,
|
|
6119
|
-
for (const
|
|
6120
|
-
L.push(
|
|
6134
|
+
const { menus: f = [], groups: o = [], words: h = [] } = l, _ = f == null ? void 0 : f.join("/"), L = [];
|
|
6135
|
+
for (const I of h)
|
|
6136
|
+
L.push(_, ...o, I);
|
|
6121
6137
|
return L;
|
|
6122
6138
|
};
|
|
6123
6139
|
function Xt(l) {
|
|
@@ -6131,15 +6147,15 @@ function Xt(l) {
|
|
|
6131
6147
|
const eo = (l, f = 0) => {
|
|
6132
6148
|
const o = /^[^.]+(\.[^.]+)+$/;
|
|
6133
6149
|
return !l || !Array.isArray(l) ? [] : l == null ? void 0 : l.map((h) => {
|
|
6134
|
-
var
|
|
6135
|
-
const
|
|
6136
|
-
if (
|
|
6137
|
-
if (o.test(
|
|
6138
|
-
const { parent: V, current: R } = Xt(
|
|
6139
|
-
|
|
6150
|
+
var I;
|
|
6151
|
+
const _ = Bl(h), L = h.prop;
|
|
6152
|
+
if (_.prop)
|
|
6153
|
+
if (o.test(_.prop)) {
|
|
6154
|
+
const { parent: V, current: R } = Xt(_.prop);
|
|
6155
|
+
_.prop = R, _.parentProp = V;
|
|
6140
6156
|
} else
|
|
6141
|
-
|
|
6142
|
-
return
|
|
6157
|
+
_.parentProp = "";
|
|
6158
|
+
return _.id || (_.id = L), _.mainKeyLabel = "", _.propType = "string", _.compType = h == null ? void 0 : h.formType, _.defaultValue = h == null ? void 0 : h.value, _.level = f, (I = _.children) != null && I.length ? _.children = eo(_.children, f + 1) : _.children = [], _;
|
|
6143
6159
|
});
|
|
6144
6160
|
}, An = [
|
|
6145
6161
|
"parentProp",
|
|
@@ -6209,7 +6225,7 @@ const eo = (l, f = 0) => {
|
|
|
6209
6225
|
}
|
|
6210
6226
|
},
|
|
6211
6227
|
setup(l) {
|
|
6212
|
-
const { logoUrl: f, platNameEn: o } = Pt(), h = zl(Al), { importLoading:
|
|
6228
|
+
const { logoUrl: f, platNameEn: o } = Pt(), h = zl(Al), { importLoading: _, activeAsideEditMenuPath: L, asideEditMenus: I, activeMainEditMenuPath: V } = ml(h), R = S(null), P = S(null), ue = (t) => {
|
|
6213
6229
|
P.value = Bl(t), N.value = !1;
|
|
6214
6230
|
};
|
|
6215
6231
|
let e = Yl({
|
|
@@ -6252,7 +6268,7 @@ const eo = (l, f = 0) => {
|
|
|
6252
6268
|
const z = (M = R.value) == null ? void 0 : M.wrap$;
|
|
6253
6269
|
z && (z == null || z.dispatchEvent(new Event("scroll")));
|
|
6254
6270
|
}
|
|
6255
|
-
}, D =
|
|
6271
|
+
}, D = S(!1), U = async (t, d) => {
|
|
6256
6272
|
D.value = !0;
|
|
6257
6273
|
try {
|
|
6258
6274
|
const M = tu(t);
|
|
@@ -6283,16 +6299,16 @@ const eo = (l, f = 0) => {
|
|
|
6283
6299
|
const M = ui(b.value, e == null ? void 0 : e.id, "groupId");
|
|
6284
6300
|
e.pid = (M == null ? void 0 : M.groupId) || (e == null ? void 0 : e.menuId) || "", J();
|
|
6285
6301
|
}
|
|
6286
|
-
}, N =
|
|
6287
|
-
var t, d, M, z, Ce, Le, dl, we, ce, m, ke, De, ge, oe, F, ze, ll, Ke, cl, Fe,
|
|
6302
|
+
}, N = S(!1), J = async () => {
|
|
6303
|
+
var t, d, M, z, Ce, Le, dl, we, ce, m, ke, De, ge, oe, F, ze, ll, Ke, cl, Fe, Se, E, de, Ae, _e, qe, X, ie, xe;
|
|
6288
6304
|
D.value = !0;
|
|
6289
6305
|
try {
|
|
6290
6306
|
if (!L.value) return Ol.warning("请先选择所属菜单");
|
|
6291
6307
|
if (!(e != null && e.id)) return;
|
|
6292
6308
|
let Pe = [], le = [];
|
|
6293
6309
|
if (Array.isArray(e == null ? void 0 : e.quotes)) {
|
|
6294
|
-
const $e = (d = (t = e == null ? void 0 : e.quoteWays) == null ? void 0 : t.filter((Qe) => (Qe == null ? void 0 : Qe.value) === "fatherSync")) == null ? void 0 : d.map((Qe) => Qe == null ? void 0 : Qe.key), Ze = (z = (M = e == null ? void 0 : e.quoteWays) == null ? void 0 : M.filter((Qe) => (Qe == null ? void 0 : Qe.value) === "sonSync")) == null ? void 0 : z.map((Qe) => Qe == null ? void 0 : Qe.key),
|
|
6295
|
-
Pe = (we = (dl = e == null ? void 0 : e.quotes) == null ? void 0 : dl.filter((Qe) => ($e == null ? void 0 : $e.includes(Qe == null ? void 0 : Qe.join("/"))) || (
|
|
6310
|
+
const $e = (d = (t = e == null ? void 0 : e.quoteWays) == null ? void 0 : t.filter((Qe) => (Qe == null ? void 0 : Qe.value) === "fatherSync")) == null ? void 0 : d.map((Qe) => Qe == null ? void 0 : Qe.key), Ze = (z = (M = e == null ? void 0 : e.quoteWays) == null ? void 0 : M.filter((Qe) => (Qe == null ? void 0 : Qe.value) === "sonSync")) == null ? void 0 : z.map((Qe) => Qe == null ? void 0 : Qe.key), _l = (Le = (Ce = e == null ? void 0 : e.quoteWays) == null ? void 0 : Ce.filter((Qe) => (Qe == null ? void 0 : Qe.value) === "bothSync")) == null ? void 0 : Le.map((Qe) => Qe == null ? void 0 : Qe.key);
|
|
6311
|
+
Pe = (we = (dl = e == null ? void 0 : e.quotes) == null ? void 0 : dl.filter((Qe) => ($e == null ? void 0 : $e.includes(Qe == null ? void 0 : Qe.join("/"))) || (_l == null ? void 0 : _l.includes(Qe == null ? void 0 : Qe.join("/"))))) == null ? void 0 : we.map((Qe) => {
|
|
6296
6312
|
var Vl;
|
|
6297
6313
|
return {
|
|
6298
6314
|
menus: Qe == null ? void 0 : Qe[0],
|
|
@@ -6300,7 +6316,7 @@ const eo = (l, f = 0) => {
|
|
|
6300
6316
|
groups: (Vl = Qe == null ? void 0 : Qe[1]) == null ? void 0 : Vl.split("/")
|
|
6301
6317
|
//嵌套特性使用,分割,传值数组
|
|
6302
6318
|
};
|
|
6303
|
-
}), le = (m = (ce = e == null ? void 0 : e.quotes) == null ? void 0 : ce.filter((Qe) => (Ze == null ? void 0 : Ze.includes(Qe == null ? void 0 : Qe.join("/"))) || (
|
|
6319
|
+
}), le = (m = (ce = e == null ? void 0 : e.quotes) == null ? void 0 : ce.filter((Qe) => (Ze == null ? void 0 : Ze.includes(Qe == null ? void 0 : Qe.join("/"))) || (_l == null ? void 0 : _l.includes(Qe == null ? void 0 : Qe.join("/"))))) == null ? void 0 : m.map((Qe) => {
|
|
6304
6320
|
var Vl;
|
|
6305
6321
|
return {
|
|
6306
6322
|
menus: Qe == null ? void 0 : Qe[0],
|
|
@@ -6323,7 +6339,7 @@ const eo = (l, f = 0) => {
|
|
|
6323
6339
|
filter: {
|
|
6324
6340
|
fatherSyncs: Pe,
|
|
6325
6341
|
sonSyncs: le,
|
|
6326
|
-
quotes: [...Pe, ...le].filter(($e, Ze,
|
|
6342
|
+
quotes: [...Pe, ...le].filter(($e, Ze, _l) => Ze === _l.findIndex(
|
|
6327
6343
|
(Qe) => Qe.menus === $e.menus && JSON.stringify(Qe.groups) === JSON.stringify($e.groups)
|
|
6328
6344
|
))
|
|
6329
6345
|
},
|
|
@@ -6336,7 +6352,7 @@ const eo = (l, f = 0) => {
|
|
|
6336
6352
|
const $e = ea(a.value, "id", e == null ? void 0 : e.id);
|
|
6337
6353
|
if ((oe = $e == null ? void 0 : $e.configInfo) != null && oe.id) {
|
|
6338
6354
|
let Ze = "";
|
|
6339
|
-
const
|
|
6355
|
+
const _l = [
|
|
6340
6356
|
//按照框架需求,根据fatherSyncs和sonSyncs是否有值,往引用里面新增 @QuoteSonSync=No,@QuoteFatherSync=Yes,便于模型导出
|
|
6341
6357
|
// {
|
|
6342
6358
|
// key: 'QuoteFatherSync',
|
|
@@ -6429,17 +6445,17 @@ const eo = (l, f = 0) => {
|
|
|
6429
6445
|
//"Tab"...
|
|
6430
6446
|
value: e == null ? void 0 : e.combineKey
|
|
6431
6447
|
}
|
|
6432
|
-
)), (Fe = e == null ? void 0 : e.buttonData) != null && Fe.length && ((
|
|
6448
|
+
)), (Fe = e == null ? void 0 : e.buttonData) != null && Fe.length && ((Se = e == null ? void 0 : e.buttonData) == null || Se.forEach((rl) => {
|
|
6433
6449
|
var Ee;
|
|
6434
6450
|
rl != null && rl.key && (Qe == null || Qe.push({
|
|
6435
6451
|
key: "Button",
|
|
6436
6452
|
value: `((${rl == null ? void 0 : rl.value}),${(Ee = rl == null ? void 0 : rl.key) == null ? void 0 : Ee.join(",")})`,
|
|
6437
6453
|
allowRepeat: !0
|
|
6438
6454
|
}));
|
|
6439
|
-
})),
|
|
6440
|
-
let Vl =
|
|
6455
|
+
})), _l.push(...Qe);
|
|
6456
|
+
let Vl = _l == null ? void 0 : _l.reduce((rl, Ee) => Ee != null && Ee.value ? zt(rl, Ee == null ? void 0 : Ee.key, Ee == null ? void 0 : Ee.value, Ee == null ? void 0 : Ee.allowRepeat) : rl, Ze);
|
|
6441
6457
|
if (e != null && e.filterProp) {
|
|
6442
|
-
const rl = (E = e == null ? void 0 : e.dataSource) == null ? void 0 : E.split("/"), Ee = "$" + ((de = rl == null ? void 0 : rl.slice(0, -1)) == null ? void 0 : de.join("$")), Ll = rl == null ? void 0 : rl[(rl == null ? void 0 : rl.length) - 1],
|
|
6458
|
+
const rl = (E = e == null ? void 0 : e.dataSource) == null ? void 0 : E.split("/"), Ee = "$" + ((de = rl == null ? void 0 : rl.slice(0, -1)) == null ? void 0 : de.join("$")), Ll = rl == null ? void 0 : rl[(rl == null ? void 0 : rl.length) - 1], Il = (Ae = e == null ? void 0 : e.applyEle) == null ? void 0 : Ae.split("/"), Xl = "$" + ((_e = Il == null ? void 0 : Il.slice(0, -1)) == null ? void 0 : _e.join("$")), Jl = Il == null ? void 0 : Il[(Il == null ? void 0 : Il.length) - 1], Pl = `(*${e == null ? void 0 : e.name}:${e == null ? void 0 : e.filterProp}=${Ee}:{${Ll}}${Xl}:${Jl})`;
|
|
6443
6459
|
Vl = `(${(Vl == null ? void 0 : Vl.slice(1, -1)) + ",If" + Pl})`;
|
|
6444
6460
|
}
|
|
6445
6461
|
if (console.log("resConfigs", Vl), e != null && e.linkSource && (console.log("链接自定义", Vl, e == null ? void 0 : e.linkSource), Vl = (e == null ? void 0 : e.linkSource) + Vl), gl.push(dt({
|
|
@@ -6456,13 +6472,13 @@ const eo = (l, f = 0) => {
|
|
|
6456
6472
|
})), (X = e.combineItemIds) != null && X.length) {
|
|
6457
6473
|
const rl = (ie = e.combineItemIds) == null ? void 0 : ie.reduce((Ee, Ll) => {
|
|
6458
6474
|
var Pl, kl, A;
|
|
6459
|
-
const
|
|
6460
|
-
if (!
|
|
6461
|
-
const Xl = (e == null ? void 0 : e.combineComp) === "StepName" ?
|
|
6475
|
+
const Il = (Pl = za.value) == null ? void 0 : Pl.find((w) => (w == null ? void 0 : w.value) == Ll);
|
|
6476
|
+
if (!Il) return;
|
|
6477
|
+
const Xl = (e == null ? void 0 : e.combineComp) === "StepName" ? Il == null ? void 0 : Il.label : e == null ? void 0 : e.combineKey, Jl = (e == null ? void 0 : e.combineComp) === "StepName" ? "Step" : e == null ? void 0 : e.combineComp;
|
|
6462
6478
|
return Ee.push({
|
|
6463
|
-
groupId:
|
|
6464
|
-
contentId: (kl =
|
|
6465
|
-
content: zt(((A =
|
|
6479
|
+
groupId: Il == null ? void 0 : Il.value,
|
|
6480
|
+
contentId: (kl = Il == null ? void 0 : Il.configInfo) == null ? void 0 : kl.id,
|
|
6481
|
+
content: zt(((A = Il == null ? void 0 : Il.configInfo) == null ? void 0 : A.content) || "", Jl, Xl || "")
|
|
6466
6482
|
}), Ee;
|
|
6467
6483
|
}, []);
|
|
6468
6484
|
rl == null || rl.forEach((Ee) => {
|
|
@@ -6518,7 +6534,7 @@ const eo = (l, f = 0) => {
|
|
|
6518
6534
|
view: "Edit",
|
|
6519
6535
|
// related: '',
|
|
6520
6536
|
options: []
|
|
6521
|
-
}),
|
|
6537
|
+
}), Ie = S(null), ve = S({
|
|
6522
6538
|
label: [
|
|
6523
6539
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
6524
6540
|
]
|
|
@@ -6541,9 +6557,9 @@ const eo = (l, f = 0) => {
|
|
|
6541
6557
|
if (c != null && c.parentProp) {
|
|
6542
6558
|
const cl = ea(De == null ? void 0 : De.data, "id", c == null ? void 0 : c.parentProp);
|
|
6543
6559
|
if (cl && ((Ce = cl == null ? void 0 : cl.children) != null && Ce.length)) {
|
|
6544
|
-
const Fe = (Le = cl.children) == null ? void 0 : Le.filter((
|
|
6560
|
+
const Fe = (Le = cl.children) == null ? void 0 : Le.filter((Se) => {
|
|
6545
6561
|
var E;
|
|
6546
|
-
return !((E = String(
|
|
6562
|
+
return !((E = String(Se == null ? void 0 : Se.id)) != null && E.includes("new"));
|
|
6547
6563
|
});
|
|
6548
6564
|
cl.children = [...Fe, {
|
|
6549
6565
|
prop: c.parentProp ? c.parentProp + "." + oe : oe,
|
|
@@ -6569,8 +6585,8 @@ const eo = (l, f = 0) => {
|
|
|
6569
6585
|
F = De == null ? void 0 : De.data;
|
|
6570
6586
|
} else {
|
|
6571
6587
|
const cl = (dl = De == null ? void 0 : De.data) == null ? void 0 : dl.filter((Fe) => {
|
|
6572
|
-
var
|
|
6573
|
-
return !((
|
|
6588
|
+
var Se;
|
|
6589
|
+
return !((Se = String(Fe == null ? void 0 : Fe.id)) != null && Se.includes("new"));
|
|
6574
6590
|
});
|
|
6575
6591
|
F = [...cl == null ? void 0 : cl.map((Fe) => ({
|
|
6576
6592
|
...Fe,
|
|
@@ -6619,7 +6635,7 @@ const eo = (l, f = 0) => {
|
|
|
6619
6635
|
}, ne = () => {
|
|
6620
6636
|
var t;
|
|
6621
6637
|
try {
|
|
6622
|
-
N.value = !1, (t =
|
|
6638
|
+
N.value = !1, (t = Ie.value) == null || t.validate(async (d) => {
|
|
6623
6639
|
d && (await re(), v.show = !1);
|
|
6624
6640
|
});
|
|
6625
6641
|
} catch (d) {
|
|
@@ -6632,7 +6648,7 @@ const eo = (l, f = 0) => {
|
|
|
6632
6648
|
value: M.id,
|
|
6633
6649
|
children: M.children || []
|
|
6634
6650
|
}));
|
|
6635
|
-
}, Be =
|
|
6651
|
+
}, Be = S([]), me = S([]), Oe = S([]), sl = S(!1), hl = async () => {
|
|
6636
6652
|
var t, d, M, z, Ce, Le, dl, we, ce, m;
|
|
6637
6653
|
try {
|
|
6638
6654
|
let ke = [];
|
|
@@ -6643,19 +6659,19 @@ const eo = (l, f = 0) => {
|
|
|
6643
6659
|
if (((t = De == null ? void 0 : De.data) == null ? void 0 : t.code) !== 200) return;
|
|
6644
6660
|
const ge = (M = (d = De == null ? void 0 : De.data) == null ? void 0 : d.result) == null ? void 0 : M.map((ze) => ze == null ? void 0 : ze.object_id), oe = [...new Set(ge)].map((ze) => `struct_${ze}`);
|
|
6645
6661
|
if (!(oe != null && oe.length)) return;
|
|
6646
|
-
let F = await
|
|
6662
|
+
let F = await In({
|
|
6647
6663
|
platId: Number(sessionStorage.getItem("systemKey")),
|
|
6648
6664
|
tableNames: oe ?? []
|
|
6649
6665
|
});
|
|
6650
6666
|
if (sl.value = (Ce = (z = F == null ? void 0 : F.data) == null ? void 0 : z.result) == null ? void 0 : Ce.includes("错误"), ((Le = F == null ? void 0 : F.data) == null ? void 0 : Le.code) === 200 && !((we = (dl = F == null ? void 0 : F.data) == null ? void 0 : dl.result) != null && we.includes("错误"))) {
|
|
6651
6667
|
const ze = Bl((ce = F == null ? void 0 : F.data) == null ? void 0 : ce.result);
|
|
6652
6668
|
ke = (m = ze == null ? void 0 : ze.flatMap((Ke) => Ke)) == null ? void 0 : m.map((Ke) => {
|
|
6653
|
-
var E, de, Ae,
|
|
6654
|
-
const cl = Array.isArray((de = (E = Ke == null ? void 0 : Ke.结构) == null ? void 0 : E.contents) == null ? void 0 : de[0]), Fe = (
|
|
6669
|
+
var E, de, Ae, _e, qe, X, ie, xe, Pe;
|
|
6670
|
+
const cl = Array.isArray((de = (E = Ke == null ? void 0 : Ke.结构) == null ? void 0 : E.contents) == null ? void 0 : de[0]), Fe = (_e = (Ae = Ke == null ? void 0 : Ke.source_table) == null ? void 0 : Ae.split("_")) == null ? void 0 : _e[1], Se = ea((qe = De == null ? void 0 : De.data) == null ? void 0 : qe.result, "object_id", Fe);
|
|
6655
6671
|
return {
|
|
6656
|
-
name:
|
|
6657
|
-
object_name:
|
|
6658
|
-
property_name:
|
|
6672
|
+
name: Se == null ? void 0 : Se.name,
|
|
6673
|
+
object_name: Se == null ? void 0 : Se.object_name,
|
|
6674
|
+
property_name: Se == null ? void 0 : Se.property_name,
|
|
6659
6675
|
children: (Pe = cl ? (ie = (X = Ke == null ? void 0 : Ke.结构) == null ? void 0 : X.contents) == null ? void 0 : ie.flatMap((le) => le) : (xe = Ke == null ? void 0 : Ke.结构) == null ? void 0 : xe.contents) == null ? void 0 : Pe.filter((le) => !(Qt != null && Qt.includes(le == null ? void 0 : le.prop)))
|
|
6660
6676
|
};
|
|
6661
6677
|
}), me.value = kn(ke);
|
|
@@ -6729,7 +6745,7 @@ const eo = (l, f = 0) => {
|
|
|
6729
6745
|
} finally {
|
|
6730
6746
|
D.value = !1;
|
|
6731
6747
|
}
|
|
6732
|
-
}, Ml =
|
|
6748
|
+
}, Ml = S(null), ye = () => {
|
|
6733
6749
|
Re.title = "", Re.icon = "", Re.path = "", C.type = "create", He.value = !1, C.show = !0, ra(() => {
|
|
6734
6750
|
var t;
|
|
6735
6751
|
(t = Ml.value) == null || t.focus();
|
|
@@ -6739,7 +6755,7 @@ const eo = (l, f = 0) => {
|
|
|
6739
6755
|
width: "30%",
|
|
6740
6756
|
type: "create",
|
|
6741
6757
|
title: "新建菜单"
|
|
6742
|
-
}), Ye =
|
|
6758
|
+
}), Ye = S(null), be = () => {
|
|
6743
6759
|
for (const t in Re)
|
|
6744
6760
|
Re[t] = "";
|
|
6745
6761
|
}, Re = Yl({
|
|
@@ -6750,23 +6766,23 @@ const eo = (l, f = 0) => {
|
|
|
6750
6766
|
title: [
|
|
6751
6767
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
6752
6768
|
]
|
|
6753
|
-
}, He =
|
|
6769
|
+
}, He = S(!1), ol = () => {
|
|
6754
6770
|
var t;
|
|
6755
|
-
(t = Ye.value) == null || t.validate((
|
|
6771
|
+
(t = Ye.value) == null || t.validate((d) => {
|
|
6756
6772
|
He.value = d;
|
|
6757
|
-
})
|
|
6773
|
+
});
|
|
6758
6774
|
}, tl = () => {
|
|
6759
6775
|
C.show = !1, be();
|
|
6760
|
-
}, a =
|
|
6776
|
+
}, a = S([]), g = El(() => {
|
|
6761
6777
|
var t;
|
|
6762
6778
|
return (t = a.value) == null ? void 0 : t.map((d) => ({
|
|
6763
6779
|
...d,
|
|
6764
6780
|
// data: item?.data?.filter((child: any) => !hiddenProps?.includes(child?.prop || child?.label))
|
|
6765
6781
|
data: d == null ? void 0 : d.data
|
|
6766
6782
|
}));
|
|
6767
|
-
}), b =
|
|
6783
|
+
}), b = S([]), T = (t) => {
|
|
6768
6784
|
b.value = t;
|
|
6769
|
-
}, Y =
|
|
6785
|
+
}, Y = S(null), fe = S(""), Q = (t) => {
|
|
6770
6786
|
var M, z, Ce, Le, dl, we;
|
|
6771
6787
|
let d = [];
|
|
6772
6788
|
Y.value = t;
|
|
@@ -6810,9 +6826,9 @@ const eo = (l, f = 0) => {
|
|
|
6810
6826
|
} catch (d) {
|
|
6811
6827
|
throw new Error(d);
|
|
6812
6828
|
}
|
|
6813
|
-
}, k =
|
|
6829
|
+
}, k = S(""), q = (t) => {
|
|
6814
6830
|
k.value = t;
|
|
6815
|
-
}, $ =
|
|
6831
|
+
}, $ = S(null);
|
|
6816
6832
|
return la(() => {
|
|
6817
6833
|
$.value = setTimeout(() => {
|
|
6818
6834
|
B();
|
|
@@ -6825,7 +6841,7 @@ const eo = (l, f = 0) => {
|
|
|
6825
6841
|
c[d] = "";
|
|
6826
6842
|
c.mainKey = !1, c.propType = "string", c.compType = "Input";
|
|
6827
6843
|
}
|
|
6828
|
-
}, { immediate: !0 }), bl([() =>
|
|
6844
|
+
}, { immediate: !0 }), bl([() => I.value, () => V.value], ([t, d]) => {
|
|
6829
6845
|
((t == null ? void 0 : t.length) === 0 || d) && (a.value = []), hl();
|
|
6830
6846
|
}, { immediate: !0, deep: !0 }), (t, d) => {
|
|
6831
6847
|
const M = ae("el-scrollbar"), z = ae("el-input"), Ce = ae("el-form-item"), Le = ae("el-form"), dl = ae("el-header"), we = ae("el-aside"), ce = ae("el-breadcrumb-item"), m = ae("el-breadcrumb"), ke = ae("el-card"), De = ae("el-main"), ge = ae("el-container"), oe = ae("el-cascader"), F = ae("el-radio"), ze = ae("el-radio-group"), ll = ae("el-option"), Ke = ae("el-select"), cl = ae("el-button"), Fe = yt("loading");
|
|
@@ -6884,7 +6900,7 @@ const eo = (l, f = 0) => {
|
|
|
6884
6900
|
ref_key: "hMenuInputRef",
|
|
6885
6901
|
ref: Ml,
|
|
6886
6902
|
modelValue: Re.title,
|
|
6887
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
6903
|
+
"onUpdate:modelValue": d[1] || (d[1] = (Se) => Re.title = Se),
|
|
6888
6904
|
placeholder: "请输入",
|
|
6889
6905
|
style: { "min-width": "200px" },
|
|
6890
6906
|
onChange: ol
|
|
@@ -6892,18 +6908,18 @@ const eo = (l, f = 0) => {
|
|
|
6892
6908
|
prepend: n(() => [
|
|
6893
6909
|
s(rs, {
|
|
6894
6910
|
modelValue: Re.icon,
|
|
6895
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
6911
|
+
"onUpdate:modelValue": d[0] || (d[0] = (Se) => Re.icon = Se),
|
|
6896
6912
|
placeholder: "菜单图标",
|
|
6897
6913
|
style: { width: "200px" },
|
|
6898
6914
|
type: "all"
|
|
6899
6915
|
}, null, 8, ["modelValue"])
|
|
6900
6916
|
]),
|
|
6901
6917
|
append: n(() => {
|
|
6902
|
-
var
|
|
6918
|
+
var Se, E;
|
|
6903
6919
|
return [
|
|
6904
6920
|
x("span", gu, [
|
|
6905
6921
|
s(Nl, {
|
|
6906
|
-
style: Ql({ color: (
|
|
6922
|
+
style: Ql({ color: (Se = Re.title) != null && Se.length ? "var(--el-color-success)" : "var(--el-color-info)" }),
|
|
6907
6923
|
name: "softConfirm",
|
|
6908
6924
|
onClick: ql(ol, ["stop"])
|
|
6909
6925
|
}, null, 8, ["style"])
|
|
@@ -6970,9 +6986,9 @@ const eo = (l, f = 0) => {
|
|
|
6970
6986
|
x("div", mu, [
|
|
6971
6987
|
s(m, { "separator-icon": r(Pn) }, {
|
|
6972
6988
|
default: n(() => {
|
|
6973
|
-
var
|
|
6989
|
+
var Se;
|
|
6974
6990
|
return [
|
|
6975
|
-
(p(!0), G(al, null, fl((
|
|
6991
|
+
(p(!0), G(al, null, fl((Se = r(L)) == null ? void 0 : Se.split("/"), (E) => (p(), he(ce, { key: E }, {
|
|
6976
6992
|
default: n(() => [
|
|
6977
6993
|
pl(nl(E), 1)
|
|
6978
6994
|
]),
|
|
@@ -7010,7 +7026,7 @@ const eo = (l, f = 0) => {
|
|
|
7010
7026
|
]),
|
|
7011
7027
|
_: 3
|
|
7012
7028
|
})), [
|
|
7013
|
-
[Fe, r(
|
|
7029
|
+
[Fe, r(_)]
|
|
7014
7030
|
]),
|
|
7015
7031
|
s(ha, {
|
|
7016
7032
|
title: v.title,
|
|
@@ -7021,26 +7037,28 @@ const eo = (l, f = 0) => {
|
|
|
7021
7037
|
footer: n(() => [
|
|
7022
7038
|
x("div", wu, [
|
|
7023
7039
|
s(cl, { onClick: j }, {
|
|
7024
|
-
default: n(() =>
|
|
7025
|
-
pl("取消"
|
|
7026
|
-
])
|
|
7027
|
-
_: 1
|
|
7040
|
+
default: n(() => d[13] || (d[13] = [
|
|
7041
|
+
pl("取消")
|
|
7042
|
+
])),
|
|
7043
|
+
_: 1,
|
|
7044
|
+
__: [13]
|
|
7028
7045
|
}),
|
|
7029
7046
|
s(cl, {
|
|
7030
7047
|
type: "primary",
|
|
7031
7048
|
onClick: ne
|
|
7032
7049
|
}, {
|
|
7033
|
-
default: n(() =>
|
|
7034
|
-
pl("确认"
|
|
7035
|
-
])
|
|
7036
|
-
_: 1
|
|
7050
|
+
default: n(() => d[14] || (d[14] = [
|
|
7051
|
+
pl("确认")
|
|
7052
|
+
])),
|
|
7053
|
+
_: 1,
|
|
7054
|
+
__: [14]
|
|
7037
7055
|
})
|
|
7038
7056
|
])
|
|
7039
7057
|
]),
|
|
7040
7058
|
default: n(() => [
|
|
7041
7059
|
s(Le, {
|
|
7042
7060
|
ref_key: "tableFormRef",
|
|
7043
|
-
ref:
|
|
7061
|
+
ref: Ie,
|
|
7044
7062
|
model: c,
|
|
7045
7063
|
rules: ve.value,
|
|
7046
7064
|
"label-width": "auto",
|
|
@@ -7054,7 +7072,7 @@ const eo = (l, f = 0) => {
|
|
|
7054
7072
|
default: n(() => [
|
|
7055
7073
|
s(oe, {
|
|
7056
7074
|
modelValue: c.parentProp,
|
|
7057
|
-
"onUpdate:modelValue": d[2] || (d[2] = (
|
|
7075
|
+
"onUpdate:modelValue": d[2] || (d[2] = (Se) => c.parentProp = Se),
|
|
7058
7076
|
options: Be.value,
|
|
7059
7077
|
props: { checkStrictly: !0, emitPath: !1 },
|
|
7060
7078
|
clearable: "",
|
|
@@ -7070,7 +7088,7 @@ const eo = (l, f = 0) => {
|
|
|
7070
7088
|
default: n(() => [
|
|
7071
7089
|
s(z, {
|
|
7072
7090
|
modelValue: c.label,
|
|
7073
|
-
"onUpdate:modelValue": d[3] || (d[3] = (
|
|
7091
|
+
"onUpdate:modelValue": d[3] || (d[3] = (Se) => c.label = Se),
|
|
7074
7092
|
clearable: "",
|
|
7075
7093
|
placeholder: "请输入"
|
|
7076
7094
|
}, null, 8, ["modelValue"])
|
|
@@ -7084,7 +7102,7 @@ const eo = (l, f = 0) => {
|
|
|
7084
7102
|
default: n(() => [
|
|
7085
7103
|
s(z, {
|
|
7086
7104
|
modelValue: c.prop,
|
|
7087
|
-
"onUpdate:modelValue": d[4] || (d[4] = (
|
|
7105
|
+
"onUpdate:modelValue": d[4] || (d[4] = (Se) => c.prop = Se),
|
|
7088
7106
|
disabled: v.type === "update",
|
|
7089
7107
|
placeholder: "请输入"
|
|
7090
7108
|
}, null, 8, ["modelValue", "disabled"])
|
|
@@ -7098,20 +7116,22 @@ const eo = (l, f = 0) => {
|
|
|
7098
7116
|
default: n(() => [
|
|
7099
7117
|
s(ze, {
|
|
7100
7118
|
modelValue: c.mainKey,
|
|
7101
|
-
"onUpdate:modelValue": d[5] || (d[5] = (
|
|
7119
|
+
"onUpdate:modelValue": d[5] || (d[5] = (Se) => c.mainKey = Se)
|
|
7102
7120
|
}, {
|
|
7103
7121
|
default: n(() => [
|
|
7104
7122
|
s(F, { value: !0 }, {
|
|
7105
|
-
default: n(() =>
|
|
7106
|
-
pl("是"
|
|
7107
|
-
])
|
|
7108
|
-
_: 1
|
|
7123
|
+
default: n(() => d[11] || (d[11] = [
|
|
7124
|
+
pl("是")
|
|
7125
|
+
])),
|
|
7126
|
+
_: 1,
|
|
7127
|
+
__: [11]
|
|
7109
7128
|
}),
|
|
7110
7129
|
s(F, { value: !1 }, {
|
|
7111
|
-
default: n(() =>
|
|
7112
|
-
pl("否"
|
|
7113
|
-
])
|
|
7114
|
-
_: 1
|
|
7130
|
+
default: n(() => d[12] || (d[12] = [
|
|
7131
|
+
pl("否")
|
|
7132
|
+
])),
|
|
7133
|
+
_: 1,
|
|
7134
|
+
__: [12]
|
|
7115
7135
|
})
|
|
7116
7136
|
]),
|
|
7117
7137
|
_: 1
|
|
@@ -7126,14 +7146,14 @@ const eo = (l, f = 0) => {
|
|
|
7126
7146
|
default: n(() => [
|
|
7127
7147
|
s(Ke, {
|
|
7128
7148
|
modelValue: c.propType,
|
|
7129
|
-
"onUpdate:modelValue": d[6] || (d[6] = (
|
|
7149
|
+
"onUpdate:modelValue": d[6] || (d[6] = (Se) => c.propType = Se),
|
|
7130
7150
|
clearable: ""
|
|
7131
7151
|
}, {
|
|
7132
7152
|
default: n(() => [
|
|
7133
|
-
(p(!0), G(al, null, fl(r(iu), (
|
|
7134
|
-
key:
|
|
7135
|
-
label:
|
|
7136
|
-
value:
|
|
7153
|
+
(p(!0), G(al, null, fl(r(iu), (Se) => (p(), he(ll, {
|
|
7154
|
+
key: Se.value,
|
|
7155
|
+
label: Se.label,
|
|
7156
|
+
value: Se.value
|
|
7137
7157
|
}, null, 8, ["label", "value"]))), 128))
|
|
7138
7158
|
]),
|
|
7139
7159
|
_: 1
|
|
@@ -7148,14 +7168,14 @@ const eo = (l, f = 0) => {
|
|
|
7148
7168
|
default: n(() => [
|
|
7149
7169
|
s(Ke, {
|
|
7150
7170
|
modelValue: c.compType,
|
|
7151
|
-
"onUpdate:modelValue": d[7] || (d[7] = (
|
|
7171
|
+
"onUpdate:modelValue": d[7] || (d[7] = (Se) => c.compType = Se),
|
|
7152
7172
|
clearable: ""
|
|
7153
7173
|
}, {
|
|
7154
7174
|
default: n(() => [
|
|
7155
|
-
(p(!0), G(al, null, fl(r(ru), (
|
|
7156
|
-
key:
|
|
7157
|
-
label:
|
|
7158
|
-
value:
|
|
7175
|
+
(p(!0), G(al, null, fl(r(ru), (Se) => (p(), he(ll, {
|
|
7176
|
+
key: Se.value,
|
|
7177
|
+
label: Se.label,
|
|
7178
|
+
value: Se.value
|
|
7159
7179
|
}, null, 8, ["label", "value"]))), 128))
|
|
7160
7180
|
]),
|
|
7161
7181
|
_: 1
|
|
@@ -7170,7 +7190,7 @@ const eo = (l, f = 0) => {
|
|
|
7170
7190
|
default: n(() => [
|
|
7171
7191
|
s(z, {
|
|
7172
7192
|
modelValue: c.defaultValue,
|
|
7173
|
-
"onUpdate:modelValue": d[8] || (d[8] = (
|
|
7193
|
+
"onUpdate:modelValue": d[8] || (d[8] = (Se) => c.defaultValue = Se),
|
|
7174
7194
|
placeholder: c.compType === "Select" ? "请输入选项,以/分割" : "请输入",
|
|
7175
7195
|
clearable: "",
|
|
7176
7196
|
onChange: wl
|
|
@@ -7185,15 +7205,15 @@ const eo = (l, f = 0) => {
|
|
|
7185
7205
|
default: n(() => [
|
|
7186
7206
|
s(ze, {
|
|
7187
7207
|
modelValue: c.view,
|
|
7188
|
-
"onUpdate:modelValue": d[9] || (d[9] = (
|
|
7208
|
+
"onUpdate:modelValue": d[9] || (d[9] = (Se) => c.view = Se)
|
|
7189
7209
|
}, {
|
|
7190
7210
|
default: n(() => [
|
|
7191
|
-
(p(!0), G(al, null, fl(r($n), (
|
|
7192
|
-
key:
|
|
7193
|
-
value:
|
|
7211
|
+
(p(!0), G(al, null, fl(r($n), (Se) => (p(), he(F, {
|
|
7212
|
+
key: Se == null ? void 0 : Se.value,
|
|
7213
|
+
value: Se == null ? void 0 : Se.value
|
|
7194
7214
|
}, {
|
|
7195
7215
|
default: n(() => [
|
|
7196
|
-
pl(nl(
|
|
7216
|
+
pl(nl(Se == null ? void 0 : Se.label), 1)
|
|
7197
7217
|
]),
|
|
7198
7218
|
_: 2
|
|
7199
7219
|
}, 1032, ["value"]))), 128))
|
|
@@ -7211,7 +7231,7 @@ const eo = (l, f = 0) => {
|
|
|
7211
7231
|
default: n(() => [
|
|
7212
7232
|
s(oe, {
|
|
7213
7233
|
modelValue: c.related,
|
|
7214
|
-
"onUpdate:modelValue": d[10] || (d[10] = (
|
|
7234
|
+
"onUpdate:modelValue": d[10] || (d[10] = (Se) => c.related = Se),
|
|
7215
7235
|
options: me.value,
|
|
7216
7236
|
props: {
|
|
7217
7237
|
multiple: !1,
|
|
@@ -7241,16 +7261,16 @@ const eo = (l, f = 0) => {
|
|
|
7241
7261
|
], 64);
|
|
7242
7262
|
};
|
|
7243
7263
|
}
|
|
7244
|
-
}), Au = /* @__PURE__ */ aa(ku, [["__scopeId", "data-v-49b39961"]]), lo = (l, f, o, h,
|
|
7264
|
+
}), Au = /* @__PURE__ */ aa(ku, [["__scopeId", "data-v-49b39961"]]), lo = (l, f, o, h, _ = 0) => {
|
|
7245
7265
|
let L = l;
|
|
7246
|
-
return L != null && L.every((
|
|
7247
|
-
if (
|
|
7248
|
-
let V = Bl(f), R =
|
|
7249
|
-
e.push(
|
|
7266
|
+
return L != null && L.every((I) => Array.isArray(I)) && (L != null && L.every((I) => Array.isArray(I) && I.length === 1) ? L = L == null ? void 0 : L.map((I) => ((I == null ? void 0 : I[0]) === o && (I = [h]), I)) : L = L == null ? void 0 : L.map((I) => {
|
|
7267
|
+
if (I != null && I.find((V) => V === (f == null ? void 0 : f[_])) && (f == null ? void 0 : f.length) !== 1) {
|
|
7268
|
+
let V = Bl(f), R = I == null ? void 0 : I.filter((B) => B !== (V == null ? void 0 : V[_])), P = _ + 1, ue = lo(R, V, o, h, P), e = [];
|
|
7269
|
+
e.push(I == null ? void 0 : I[0]), ue == null || ue.forEach((B) => {
|
|
7250
7270
|
e.push(B);
|
|
7251
|
-
}),
|
|
7271
|
+
}), I = e;
|
|
7252
7272
|
}
|
|
7253
|
-
return
|
|
7273
|
+
return I;
|
|
7254
7274
|
})), L;
|
|
7255
7275
|
};
|
|
7256
7276
|
function ao(l = "menu") {
|
|
@@ -7269,7 +7289,7 @@ function ao(l = "menu") {
|
|
|
7269
7289
|
type: String,
|
|
7270
7290
|
default: "vertical"
|
|
7271
7291
|
}
|
|
7272
|
-
}),
|
|
7292
|
+
}), _ = S([
|
|
7273
7293
|
{
|
|
7274
7294
|
allowInherit: !1,
|
|
7275
7295
|
operateType: "复制新增",
|
|
@@ -7285,9 +7305,9 @@ function ao(l = "menu") {
|
|
|
7285
7305
|
operateType: "修改菜单名",
|
|
7286
7306
|
operateIcon: "FixedMenu"
|
|
7287
7307
|
}
|
|
7288
|
-
]), L = zl(),
|
|
7308
|
+
]), L = zl(), I = va(Al), V = ua(Al), { loginUserInfo: R } = ml(V), P = S(0), ue = et(), e = S(), { asideMenus: B, menuTriggerType: D, platform: U, jumpMenuInform: i } = ml(L), { fixMenuStatus: H } = ml(I), { isSuperAdmin: N } = qn(), J = El(() => h == null ? void 0 : h.mode), y = (a) => a == null ? void 0 : a.map((b) => {
|
|
7289
7309
|
var T, Y;
|
|
7290
|
-
return !(b != null && b.children) || ((T = b == null ? void 0 : b.children) == null ? void 0 : T.length) === 0 ? b.config =
|
|
7310
|
+
return !(b != null && b.children) || ((T = b == null ? void 0 : b.children) == null ? void 0 : T.length) === 0 ? b.config = _.value : b != null && b.children && ((Y = b == null ? void 0 : b.children) == null ? void 0 : Y.length) > 0 && (b.children = y(b.children)), b;
|
|
7291
7311
|
}), v = El(() => {
|
|
7292
7312
|
let a = [...B.value];
|
|
7293
7313
|
if ((a == null ? void 0 : a.length) === 0)
|
|
@@ -7295,13 +7315,13 @@ function ao(l = "menu") {
|
|
|
7295
7315
|
const g = ne(a, re.value);
|
|
7296
7316
|
return g.isFlag || (a = g == null ? void 0 : g.data), a = a == null ? void 0 : a.map((b) => {
|
|
7297
7317
|
var T, Y;
|
|
7298
|
-
return !(b != null && b.children) || ((T = b == null ? void 0 : b.children) == null ? void 0 : T.length) === 0 ? b.config =
|
|
7318
|
+
return !(b != null && b.children) || ((T = b == null ? void 0 : b.children) == null ? void 0 : T.length) === 0 ? b.config = _.value : b != null && b.children && ((Y = b == null ? void 0 : b.children) == null ? void 0 : Y.length) > 0 && (b.children = y(b.children)), b;
|
|
7299
7319
|
}), a;
|
|
7300
7320
|
}), c = async (a, g) => {
|
|
7301
|
-
|
|
7302
|
-
},
|
|
7321
|
+
I.setRouteToChildPath(""), L.setMenuTriggerType("click"), L.setActiveMenuPath(a == null ? void 0 : a.path), L.setActiveAsideMenu(a), a.isRouter ? ue.push(a.path) : ue.push("/"), o("node-click", a, g);
|
|
7322
|
+
}, Ie = async (a) => {
|
|
7303
7323
|
const g = ea(v.value, "path", a);
|
|
7304
|
-
L.setActiveAsideMenu(g),
|
|
7324
|
+
L.setActiveAsideMenu(g), I.setRouteToChildPath(""), H.value ? I.setFixMenuStatus(!1) : (He.value && (D.value = "open"), D.value === "click" ? i.value || L.setActiveMenuPath(a) : He.value || (L.setMenuTriggerType("click"), i.value || L.setActiveMenuPath(a))), a != null && a.startsWith("/") ? ue.push(a) : ue.push("/"), P.value++;
|
|
7305
7325
|
}, ve = (a) => {
|
|
7306
7326
|
He.value || L.setActiveMenuPath(a);
|
|
7307
7327
|
}, j = (a) => {
|
|
@@ -7331,7 +7351,7 @@ function ao(l = "menu") {
|
|
|
7331
7351
|
title: "菜单配置",
|
|
7332
7352
|
width: "30%",
|
|
7333
7353
|
type: "create"
|
|
7334
|
-
}), Be = (a) => Wn(a), me =
|
|
7354
|
+
}), Be = (a) => Wn(a), me = S({}), Oe = S([]), sl = S({}), hl = S({}), vl = (a) => {
|
|
7335
7355
|
switch (a) {
|
|
7336
7356
|
case "复制新增":
|
|
7337
7357
|
return "create";
|
|
@@ -7340,7 +7360,7 @@ function ao(l = "menu") {
|
|
|
7340
7360
|
case "删除":
|
|
7341
7361
|
return "delete";
|
|
7342
7362
|
}
|
|
7343
|
-
}, wl =
|
|
7363
|
+
}, wl = S({}), Je = (a) => {
|
|
7344
7364
|
L.setCacheInputMenu({
|
|
7345
7365
|
type: Z.type,
|
|
7346
7366
|
data: a
|
|
@@ -7348,30 +7368,30 @@ function ao(l = "menu") {
|
|
|
7348
7368
|
}, Ml = async (a, g, b) => {
|
|
7349
7369
|
var T, Y, fe, Q, u, k, q, $, t, d, M, z, Ce, Le, dl, we, ce, m, ke, De, ge, oe, F, ze, ll, Ke, cl;
|
|
7350
7370
|
if (g === "create") {
|
|
7351
|
-
let Fe = (b == null ? void 0 : b.title) + "(1)",
|
|
7352
|
-
var
|
|
7353
|
-
return Ae !== ((qe = (
|
|
7371
|
+
let Fe = (b == null ? void 0 : b.title) + "(1)", Se = (Y = (T = b == null ? void 0 : b.path) == null ? void 0 : T.split("/")) == null ? void 0 : Y.filter((de, Ae) => {
|
|
7372
|
+
var _e, qe;
|
|
7373
|
+
return Ae !== ((qe = (_e = b == null ? void 0 : b.path) == null ? void 0 : _e.split("/")) == null ? void 0 : qe.length) - 1;
|
|
7354
7374
|
}), E = await ma(
|
|
7355
7375
|
(u = (Q = (fe = b == null ? void 0 : b.path) == null ? void 0 : fe.split("/")) == null ? void 0 : Q.filter((de, Ae) => {
|
|
7356
|
-
var
|
|
7357
|
-
return Ae !== ((qe = (
|
|
7376
|
+
var _e, qe;
|
|
7377
|
+
return Ae !== ((qe = (_e = b == null ? void 0 : b.path) == null ? void 0 : _e.split("/")) == null ? void 0 : qe.length) - 1;
|
|
7358
7378
|
})) == null ? void 0 : u.join("/"),
|
|
7359
7379
|
sessionStorage.getItem("systemKey"),
|
|
7360
7380
|
""
|
|
7361
7381
|
);
|
|
7362
|
-
if (
|
|
7363
|
-
let de = E == null ? void 0 : E[0], Ae = (q = (k = de == null ? void 0 : de.compData) == null ? void 0 : k.find((
|
|
7382
|
+
if (Se.push(Fe), Se = Se == null ? void 0 : Se.join("/"), (E == null ? void 0 : E.length) > 0) {
|
|
7383
|
+
let de = E == null ? void 0 : E[0], Ae = (q = (k = de == null ? void 0 : de.compData) == null ? void 0 : k.find((_e) => (_e == null ? void 0 : _e.key) === "header")) == null ? void 0 : q.contents;
|
|
7364
7384
|
if ((($ = Ae == null ? void 0 : Ae[0]) == null ? void 0 : $.directiveLabel) === "#isMain") {
|
|
7365
|
-
let
|
|
7385
|
+
let _e = (t = Ae == null ? void 0 : Ae[0]) == null ? void 0 : t.prop, qe = (M = (d = de == null ? void 0 : de.compData) == null ? void 0 : d.find(
|
|
7366
7386
|
(ie) => (ie == null ? void 0 : ie.key) === "tableContents"
|
|
7367
7387
|
)) == null ? void 0 : M.contents, X;
|
|
7368
7388
|
qe == null || qe.forEach((ie) => {
|
|
7369
7389
|
var xe, Pe;
|
|
7370
7390
|
if (ie.length === 1)
|
|
7371
|
-
((xe = ie == null ? void 0 : ie[0]) == null ? void 0 : xe[
|
|
7391
|
+
((xe = ie == null ? void 0 : ie[0]) == null ? void 0 : xe[_e]) === (b == null ? void 0 : b.title) && (X = ie == null ? void 0 : ie[0], X[_e] = Fe);
|
|
7372
7392
|
else {
|
|
7373
7393
|
let le = (Pe = Ae == null ? void 0 : Ae.filter((W) => W !== "操作")) == null ? void 0 : Pe.map((W) => W == null ? void 0 : W.prop), Ue = ie == null ? void 0 : ie.filter((W) => !(W != null && W.id)), gl = vt(Ue, le);
|
|
7374
|
-
gl[
|
|
7394
|
+
gl[_e] = Fe, X = gl;
|
|
7375
7395
|
}
|
|
7376
7396
|
}), await Eo({
|
|
7377
7397
|
key: {
|
|
@@ -7391,10 +7411,10 @@ function ao(l = "menu") {
|
|
|
7391
7411
|
});
|
|
7392
7412
|
}
|
|
7393
7413
|
}
|
|
7394
|
-
await Wo(b == null ? void 0 : b.path,
|
|
7414
|
+
await Wo(b == null ? void 0 : b.path, Se), L.setUpdateMenuStatus(!1), await pt(), L.setActiveMenuPath(
|
|
7395
7415
|
(De = (ke = (m = b == null ? void 0 : b.path) == null ? void 0 : m.split("/")) == null ? void 0 : ke.filter((de, Ae) => {
|
|
7396
|
-
var
|
|
7397
|
-
return Ae !== ((qe = (
|
|
7416
|
+
var _e, qe;
|
|
7417
|
+
return Ae !== ((qe = (_e = b == null ? void 0 : b.path) == null ? void 0 : _e.split("/")) == null ? void 0 : qe.length) - 1;
|
|
7398
7418
|
})) == null ? void 0 : De.join("/")
|
|
7399
7419
|
), L.setActiveTopMenuPath((oe = (ge = b == null ? void 0 : b.path) == null ? void 0 : ge.split("/")) == null ? void 0 : oe[0]), L.setIsRefreshMenus(!1), L.setIsRefreshMenus(!0);
|
|
7400
7420
|
} else if (g === "update")
|
|
@@ -7404,14 +7424,14 @@ function ao(l = "menu") {
|
|
|
7404
7424
|
(Fe == null ? void 0 : Fe.length) > 0 && await Do({
|
|
7405
7425
|
ids: Fe
|
|
7406
7426
|
}), L.setUpdateMenuStatus(!1), await pt(), L.setActiveMenuPath(
|
|
7407
|
-
(ll = (ze = (F = b == null ? void 0 : b.path) == null ? void 0 : F.split("/")) == null ? void 0 : ze.filter((
|
|
7427
|
+
(ll = (ze = (F = b == null ? void 0 : b.path) == null ? void 0 : F.split("/")) == null ? void 0 : ze.filter((Se, E) => {
|
|
7408
7428
|
var de, Ae;
|
|
7409
7429
|
return E !== ((Ae = (de = b == null ? void 0 : b.path) == null ? void 0 : de.split("/")) == null ? void 0 : Ae.length) - 1;
|
|
7410
7430
|
})) == null ? void 0 : ll.join("/")
|
|
7411
7431
|
), L.setActiveTopMenuPath((cl = (Ke = b == null ? void 0 : b.path) == null ? void 0 : Ke.split("/")) == null ? void 0 : cl[0]), L.setIsRefreshMenus(!1), L.setIsRefreshMenus(!0);
|
|
7412
7432
|
}
|
|
7413
7433
|
}, ye = async (a, g) => {
|
|
7414
|
-
var $, t, d, M, z, Ce, Le, dl, we, ce, m, ke, De, ge, oe, F, ze, ll, Ke, cl, Fe,
|
|
7434
|
+
var $, t, d, M, z, Ce, Le, dl, we, ce, m, ke, De, ge, oe, F, ze, ll, Ke, cl, Fe, Se, E, de, Ae, _e, qe, X, ie, xe, Pe;
|
|
7415
7435
|
let b = await cn({
|
|
7416
7436
|
key: {
|
|
7417
7437
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
@@ -7436,7 +7456,7 @@ function ao(l = "menu") {
|
|
|
7436
7456
|
if (((ke = (m = (ce = (we = (dl = u == null ? void 0 : u[0]) == null ? void 0 : dl.compData) == null ? void 0 : we.find((le) => (le == null ? void 0 : le.key) === "header")) == null ? void 0 : ce.contents) == null ? void 0 : m[0]) == null ? void 0 : ke.directiveLabel) === "#isMain") {
|
|
7437
7457
|
let le = (ze = (F = (oe = (ge = (De = u == null ? void 0 : u[0]) == null ? void 0 : De.compData) == null ? void 0 : ge.find((je) => (je == null ? void 0 : je.key) === "header")) == null ? void 0 : oe.contents) == null ? void 0 : F[0]) == null ? void 0 : ze.prop, Ue = (cl = (Ke = (ll = u == null ? void 0 : u[0]) == null ? void 0 : ll.compData) == null ? void 0 : Ke.find(
|
|
7438
7458
|
(je) => (je == null ? void 0 : je.key) === "tableContents"
|
|
7439
|
-
)) == null ? void 0 : cl.contents, gl = (de = (E = (
|
|
7459
|
+
)) == null ? void 0 : cl.contents, gl = (de = (E = (Se = (Fe = u == null ? void 0 : u[0]) == null ? void 0 : Fe.compData) == null ? void 0 : Se.find((je) => (je == null ? void 0 : je.key) === "header")) == null ? void 0 : E.contents) == null ? void 0 : de.map((je) => je == null ? void 0 : je.prop), W;
|
|
7440
7460
|
if (Ue == null || Ue.forEach((je) => {
|
|
7441
7461
|
var Ze;
|
|
7442
7462
|
let $e = vt(je, gl);
|
|
@@ -7463,7 +7483,7 @@ function ao(l = "menu") {
|
|
|
7463
7483
|
systemKey: sessionStorage.getItem("systemKey"),
|
|
7464
7484
|
pageKey: g == null ? void 0 : g.path
|
|
7465
7485
|
}
|
|
7466
|
-
}), q = (
|
|
7486
|
+
}), q = (_e = (Ae = k == null ? void 0 : k.data) == null ? void 0 : Ae.result) == null ? void 0 : _e.map((le) => ({
|
|
7467
7487
|
id: le == null ? void 0 : le.id,
|
|
7468
7488
|
key: le == null ? void 0 : le.key
|
|
7469
7489
|
}));
|
|
@@ -7500,9 +7520,9 @@ function ao(l = "menu") {
|
|
|
7500
7520
|
(Y, fe) => (Y[fe.key] = fe.value, Y.prop = fe.key, Y),
|
|
7501
7521
|
{}
|
|
7502
7522
|
));
|
|
7503
|
-
}, He =
|
|
7523
|
+
}, He = S(!1), ol = () => {
|
|
7504
7524
|
He.value = !He.value;
|
|
7505
|
-
}, tl =
|
|
7525
|
+
}, tl = S(null);
|
|
7506
7526
|
return bl(() => B.value, async (a) => {
|
|
7507
7527
|
var g, b;
|
|
7508
7528
|
if (a) {
|
|
@@ -7529,7 +7549,7 @@ function ao(l = "menu") {
|
|
|
7529
7549
|
mode: J,
|
|
7530
7550
|
renderMenuList: v,
|
|
7531
7551
|
clickMenu: c,
|
|
7532
|
-
openMenu:
|
|
7552
|
+
openMenu: Ie,
|
|
7533
7553
|
closeMenu: ve,
|
|
7534
7554
|
changeMenuStyle: j,
|
|
7535
7555
|
fixElement: e,
|
|
@@ -7540,11 +7560,11 @@ function ao(l = "menu") {
|
|
|
7540
7560
|
};
|
|
7541
7561
|
}
|
|
7542
7562
|
Kl(ao());
|
|
7543
|
-
const Mu = Kl(ao("ThreeMenu")),
|
|
7544
|
-
function
|
|
7545
|
-
const
|
|
7546
|
-
return p(), G("div",
|
|
7547
|
-
s(
|
|
7563
|
+
const Mu = Kl(ao("ThreeMenu")), _u = { class: "menu-tree" };
|
|
7564
|
+
function Iu(l, f, o, h, _, L) {
|
|
7565
|
+
const I = ae("el-tree");
|
|
7566
|
+
return p(), G("div", _u, [
|
|
7567
|
+
s(I, {
|
|
7548
7568
|
data: l.renderMenuList,
|
|
7549
7569
|
props: {
|
|
7550
7570
|
children: "children",
|
|
@@ -7556,7 +7576,7 @@ function Su(l, f, o, h, I, L) {
|
|
|
7556
7576
|
}, null, 8, ["data", "onNodeClick"])
|
|
7557
7577
|
]);
|
|
7558
7578
|
}
|
|
7559
|
-
const
|
|
7579
|
+
const Su = /* @__PURE__ */ aa(Mu, [["render", Iu], ["__scopeId", "data-v-83196ea8"]]);
|
|
7560
7580
|
function to(l = "menu") {
|
|
7561
7581
|
return {
|
|
7562
7582
|
name: l,
|
|
@@ -7570,7 +7590,7 @@ function to(l = "menu") {
|
|
|
7570
7590
|
type: String,
|
|
7571
7591
|
default: "vertical"
|
|
7572
7592
|
}
|
|
7573
|
-
}), o =
|
|
7593
|
+
}), o = S("sub-menu-more"), h = zl(), _ = va(Al), L = S(0), I = et(), {
|
|
7574
7594
|
rawMenus: V,
|
|
7575
7595
|
activeTopMenuPath: R,
|
|
7576
7596
|
isRefreshMenus: P,
|
|
@@ -7582,7 +7602,7 @@ function to(l = "menu") {
|
|
|
7582
7602
|
// activeMenuPath,
|
|
7583
7603
|
linkMenuInfo: i,
|
|
7584
7604
|
updateMenuStatus: H
|
|
7585
|
-
} = ml(h), N = ua(), { structureData: J } = ml(N), y =
|
|
7605
|
+
} = ml(h), N = ua(), { structureData: J } = ml(N), y = S([]), v = S([]), c = El(() => f == null ? void 0 : f.mode), Ie = S({}), ve = (a) => a == null ? void 0 : a.map((g) => g.children && g.children.length > 0 ? {
|
|
7586
7606
|
...g,
|
|
7587
7607
|
// 水平菜单仅显示一层
|
|
7588
7608
|
children: g.level === 0 ? [] : g.children ?? [],
|
|
@@ -7619,10 +7639,10 @@ function to(l = "menu") {
|
|
|
7619
7639
|
};
|
|
7620
7640
|
return u.children && u.children.length > 0 && ($.children = re(u.children, k, b + 1)), $;
|
|
7621
7641
|
});
|
|
7622
|
-
}, ne =
|
|
7642
|
+
}, ne = S(null), Z = El(() => {
|
|
7623
7643
|
let a = Bl(y.value);
|
|
7624
7644
|
if (a = [...a, ...e.value], (a == null ? void 0 : a.length) === 0)
|
|
7625
|
-
return
|
|
7645
|
+
return I.push("/"), [];
|
|
7626
7646
|
be(a, Ye.value);
|
|
7627
7647
|
const g = ve(a);
|
|
7628
7648
|
return is(g), h.setMenus(g), g;
|
|
@@ -7640,10 +7660,10 @@ function to(l = "menu") {
|
|
|
7640
7660
|
// icon: temp?.data?.menuConfig?.menuIcon
|
|
7641
7661
|
};
|
|
7642
7662
|
return a;
|
|
7643
|
-
}, sl =
|
|
7663
|
+
}, sl = S(null), hl = async (a, g = null) => await Promise.all(
|
|
7644
7664
|
a == null ? void 0 : a.map(async (b) => {
|
|
7645
7665
|
var fe;
|
|
7646
|
-
let T = await Oe(b,
|
|
7666
|
+
let T = await Oe(b, Ie.value);
|
|
7647
7667
|
const Y = (T == null ? void 0 : T.config) ?? ((fe = g == null ? void 0 : g.filter((Q) => Q.allowInherit)) == null ? void 0 : fe.map((Q) => {
|
|
7648
7668
|
var u;
|
|
7649
7669
|
return {
|
|
@@ -7678,21 +7698,21 @@ function to(l = "menu") {
|
|
|
7678
7698
|
if (g) {
|
|
7679
7699
|
const fe = (Y = y.value) == null ? void 0 : Y.find((Q) => (Q == null ? void 0 : Q.path) === g);
|
|
7680
7700
|
if (!fe || (h.setActiveTopMenuPath(g), !(fe != null && fe.children))) return;
|
|
7681
|
-
h.setAsideMenus(fe == null ? void 0 : fe.children), h.setActiveMenuPath(a == null ? void 0 : a.path),
|
|
7701
|
+
h.setAsideMenus(fe == null ? void 0 : fe.children), h.setActiveMenuPath(a == null ? void 0 : a.path), _.setRouteToChildPath(a == null ? void 0 : a.path);
|
|
7682
7702
|
}
|
|
7683
7703
|
},
|
|
7684
7704
|
{ immediate: !0 }
|
|
7685
7705
|
);
|
|
7686
7706
|
const wl = async (a) => {
|
|
7687
7707
|
var g, b;
|
|
7688
|
-
if (h.setLinkMenuInfo(null), h.setAsideMenuLoading(!0),
|
|
7708
|
+
if (h.setLinkMenuInfo(null), h.setAsideMenuLoading(!0), _.setRouteToChildPath(""), h.setActiveTopMenuPath(a == null ? void 0 : a.path), h.setActiveMainMenu(a), sl.value = null, a != null && a.childMenus && ((g = a == null ? void 0 : a.childMenus) == null ? void 0 : g.length) > 0) {
|
|
7689
7709
|
const T = await vl(a), Y = (T == null ? void 0 : T.length) === 0 ? a == null ? void 0 : a.childMenus : T;
|
|
7690
7710
|
h.setAsideMenus(Y), H.value || h.setUpdateMenuStatus(!0), h.setActiveAsideMenu((b = a == null ? void 0 : a.childMenus) == null ? void 0 : b[0]);
|
|
7691
7711
|
} else
|
|
7692
7712
|
h.setAsideMenus([]), h.setActiveMenuPath(a == null ? void 0 : a.path);
|
|
7693
|
-
a.isRouter ?
|
|
7713
|
+
a.isRouter ? I.push(a.path) : I.push("/"), h.setAsideMenuLoading(!1);
|
|
7694
7714
|
}, Je = (a) => {
|
|
7695
|
-
|
|
7715
|
+
_.setRouteToChildPath(""), ue.value === "click" ? L.value === 1 ? h.setActiveMenuPath(sessionStorage.getItem("pageKey")) : a !== o.value && h.setActiveMenuPath(a) : h.setMenuTriggerType("click"), a != null && a.startsWith("/") ? I.push(a) : I.push("/"), L.value++;
|
|
7696
7716
|
}, Ml = (a) => {
|
|
7697
7717
|
a !== o.value && h.setActiveMenuPath(a);
|
|
7698
7718
|
}, ye = (a) => {
|
|
@@ -7816,12 +7836,12 @@ function to(l = "menu") {
|
|
|
7816
7836
|
}
|
|
7817
7837
|
Kl(to());
|
|
7818
7838
|
const Tu = Kl(to("ThreeMenu")), Bu = { class: "three-menu" }, Eu = ["onClick"];
|
|
7819
|
-
function Du(l, f, o, h,
|
|
7839
|
+
function Du(l, f, o, h, _, L) {
|
|
7820
7840
|
return p(), G("div", Bu, [
|
|
7821
|
-
(p(!0), G(al, null, fl(l.renderMenuList, (
|
|
7822
|
-
onClick: (V) => l.clickMenu(
|
|
7841
|
+
(p(!0), G(al, null, fl(l.renderMenuList, (I) => (p(), G("div", {
|
|
7842
|
+
onClick: (V) => l.clickMenu(I)
|
|
7823
7843
|
}, [
|
|
7824
|
-
na(l.$slots, "menu", { menu:
|
|
7844
|
+
na(l.$slots, "menu", { menu: I }, void 0, !0)
|
|
7825
7845
|
], 8, Eu))), 256)),
|
|
7826
7846
|
na(l.$slots, "extraIcon", {}, void 0, !0)
|
|
7827
7847
|
]);
|
|
@@ -7861,21 +7881,21 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
7861
7881
|
},
|
|
7862
7882
|
emits: ["showChild", "buildContent", "setLoginInfo"],
|
|
7863
7883
|
setup(l, { emit: f }) {
|
|
7864
|
-
const o =
|
|
7884
|
+
const o = S(), h = S([]), _ = S([]), L = El(
|
|
7865
7885
|
() => h.value.filter((X) => {
|
|
7866
7886
|
var ie;
|
|
7867
7887
|
return ((ie = X.find((xe) => xe.prop === "状态")) == null ? void 0 : ie.value) === "未读";
|
|
7868
7888
|
}).length
|
|
7869
7889
|
);
|
|
7870
7890
|
El(() => L.value > 99 ? "99+" : L.value);
|
|
7871
|
-
const
|
|
7891
|
+
const I = ss(Al), { originalPath: V } = ml(I), R = V.value, P = $a(Al), { selectTitle: ue } = ml(P), e = S(!1), B = S(null), D = S(), U = S(!1), i = Nn(Al), { blobUrls: H } = ml(i), N = S(!1), J = S(!1), y = S(!1), v = S([]), c = S(!1), Ie = S(null), ve = S([]), j = S(!1), re = (X) => {
|
|
7872
7892
|
const ie = (X == null ? void 0 : X.menuFilter) || [];
|
|
7873
7893
|
return Array.isArray(ie) && (ie == null ? void 0 : ie.some((xe) => {
|
|
7874
7894
|
const Pe = typeof xe == "string" ? xe : JSON.stringify(xe);
|
|
7875
7895
|
return Pe == null ? void 0 : Pe.includes("HideGroup=Yes");
|
|
7876
7896
|
}));
|
|
7877
7897
|
};
|
|
7878
|
-
ut("contentRef",
|
|
7898
|
+
ut("contentRef", Ie);
|
|
7879
7899
|
const ne = ua(), { loginUserInfo: Z } = ml(ne), Be = va(Al), { isEdit: me, routeToChildPath: Oe } = ml(Be), sl = f, hl = zl(Al), { asideMenuLoading: vl, importLoading: wl, activeAsideMenu: Je, contentLoading: Ml, platName: ye, activeMenuPath: C } = ml(hl), Ye = fi(Al), { data: be } = ml(Ye), { setData: Re } = hi(), Ge = El(() => Je.value.isRouter), He = () => {
|
|
7880
7900
|
sessionStorage.clear(), window.location.reload();
|
|
7881
7901
|
}, ol = (X) => {
|
|
@@ -7919,14 +7939,14 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
7919
7939
|
U.value = !0;
|
|
7920
7940
|
let Ue = [];
|
|
7921
7941
|
const gl = await ((Pe = Bl(H == null ? void 0 : H.value)) == null ? void 0 : Pe.map(async (W) => {
|
|
7922
|
-
var Qe, Vl, rl, Ee, Ll,
|
|
7942
|
+
var Qe, Vl, rl, Ee, Ll, Il, Xl, Jl, Pl, kl;
|
|
7923
7943
|
let je, $e, Ze;
|
|
7924
7944
|
W != null && W.blob.includes("undefined") ? Ze = (Vl = (Qe = W == null ? void 0 : W.blob) == null ? void 0 : Qe.split("undefined,")) == null ? void 0 : Vl[1] : Ze = W == null ? void 0 : W.blob;
|
|
7925
|
-
let
|
|
7926
|
-
if ((
|
|
7927
|
-
let A = await (
|
|
7945
|
+
let _l = Ze == null ? void 0 : Ze.split(",");
|
|
7946
|
+
if ((_l == null ? void 0 : _l.length) > 1) {
|
|
7947
|
+
let A = await (_l == null ? void 0 : _l.map(async (w) => {
|
|
7928
7948
|
var te, Ne, Te, ee, se, Me;
|
|
7929
|
-
je = await
|
|
7949
|
+
je = await Sa.get(w, {
|
|
7930
7950
|
responseType: "blob",
|
|
7931
7951
|
headers: {
|
|
7932
7952
|
"Content-Type": "application/json"
|
|
@@ -7935,7 +7955,7 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
7935
7955
|
let O = [];
|
|
7936
7956
|
if (((te = W == null ? void 0 : W.mtlBlobs) == null ? void 0 : te.length) > 0) {
|
|
7937
7957
|
let el = await ((Ne = W == null ? void 0 : W.mtlBlobs) == null ? void 0 : Ne.map(async (We) => {
|
|
7938
|
-
let Xe = await
|
|
7958
|
+
let Xe = await Sa.get(We, {
|
|
7939
7959
|
responseType: "blob",
|
|
7940
7960
|
headers: {
|
|
7941
7961
|
"Content-Type": "application/json"
|
|
@@ -7977,14 +7997,14 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
7977
7997
|
await Promise.all(w);
|
|
7978
7998
|
}
|
|
7979
7999
|
$e = {
|
|
7980
|
-
suffix: "." + ((
|
|
8000
|
+
suffix: "." + ((Il = Ze == null ? void 0 : Ze.split(".")) == null ? void 0 : Il[((Ll = Ze == null ? void 0 : Ze.split(".")) == null ? void 0 : Ll.length) - 1]),
|
|
7981
8001
|
blob: new Blob([je.data], {
|
|
7982
8002
|
type: "application/octet-stream;charset=UTF-8"
|
|
7983
8003
|
}),
|
|
7984
8004
|
mtlBlobs: A
|
|
7985
8005
|
};
|
|
7986
8006
|
} else {
|
|
7987
|
-
je = await
|
|
8007
|
+
je = await Sa.get(Ze, {
|
|
7988
8008
|
responseType: "blob",
|
|
7989
8009
|
headers: {
|
|
7990
8010
|
"Content-Type": "application/json"
|
|
@@ -7993,7 +8013,7 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
7993
8013
|
let A = [];
|
|
7994
8014
|
if (((Xl = W == null ? void 0 : W.mtlBlobs) == null ? void 0 : Xl.length) > 0) {
|
|
7995
8015
|
let w = await ((Jl = W == null ? void 0 : W.mtlBlobs) == null ? void 0 : Jl.map(async (O) => {
|
|
7996
|
-
let te = await
|
|
8016
|
+
let te = await Sa.get(O, {
|
|
7997
8017
|
responseType: "blob",
|
|
7998
8018
|
headers: {
|
|
7999
8019
|
"Content-Type": "application/json"
|
|
@@ -8032,7 +8052,7 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8032
8052
|
});
|
|
8033
8053
|
}, a = async () => {
|
|
8034
8054
|
await Ln();
|
|
8035
|
-
}, g =
|
|
8055
|
+
}, g = S("数据管理"), b = S(!1), T = S(), Y = S(), fe = S({
|
|
8036
8056
|
x: 0,
|
|
8037
8057
|
y: 0
|
|
8038
8058
|
}), Q = () => {
|
|
@@ -8040,7 +8060,7 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8040
8060
|
x: 0,
|
|
8041
8061
|
y: 0
|
|
8042
8062
|
};
|
|
8043
|
-
}, u =
|
|
8063
|
+
}, u = S({
|
|
8044
8064
|
width: "20vw"
|
|
8045
8065
|
}), k = (X) => {
|
|
8046
8066
|
g.value = X;
|
|
@@ -8079,15 +8099,15 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8079
8099
|
function F() {
|
|
8080
8100
|
document.removeEventListener("mousemove", oe), document.removeEventListener("mouseup", F);
|
|
8081
8101
|
}
|
|
8082
|
-
const ze =
|
|
8102
|
+
const ze = S(""), ll = (X) => {
|
|
8083
8103
|
ze.value = X;
|
|
8084
|
-
}, Ke =
|
|
8104
|
+
}, Ke = S(!1), cl = (X) => {
|
|
8085
8105
|
Ke.value = X;
|
|
8086
8106
|
}, Fe = () => {
|
|
8087
8107
|
Ke.value = !Ke.value;
|
|
8088
|
-
},
|
|
8108
|
+
}, Se = () => {
|
|
8089
8109
|
cl(!1);
|
|
8090
|
-
}, E =
|
|
8110
|
+
}, E = S(), de = (X) => {
|
|
8091
8111
|
E.value = X;
|
|
8092
8112
|
}, Ae = (X) => {
|
|
8093
8113
|
const ie = Jo(X);
|
|
@@ -8102,7 +8122,7 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8102
8122
|
immediate: !0,
|
|
8103
8123
|
deep: !0
|
|
8104
8124
|
});
|
|
8105
|
-
const
|
|
8125
|
+
const _e = (X, ie) => {
|
|
8106
8126
|
const xe = X == null ? void 0 : X.label;
|
|
8107
8127
|
k(xe), q(!0);
|
|
8108
8128
|
const { isLeaf: Pe } = ie, le = {
|
|
@@ -8114,7 +8134,7 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8114
8134
|
la(async () => {
|
|
8115
8135
|
sl("setLoginInfo", Z.value);
|
|
8116
8136
|
async function X() {
|
|
8117
|
-
var ie, xe, Pe, le, Ue, gl, W, je, $e, Ze,
|
|
8137
|
+
var ie, xe, Pe, le, Ue, gl, W, je, $e, Ze, _l;
|
|
8118
8138
|
try {
|
|
8119
8139
|
let Qe = function(A, w) {
|
|
8120
8140
|
return w.map((O) => A.map((te, Ne) => ({
|
|
@@ -8126,15 +8146,15 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8126
8146
|
const Vl = sessionStorage.getItem("systemKey"), [rl, Ee] = await Promise.all([
|
|
8127
8147
|
ma(zu, Vl, ""),
|
|
8128
8148
|
ma(Xu, Vl, "")
|
|
8129
|
-
]), Ll = (Pe = (xe = (ie = rl == null ? void 0 : rl[0]) == null ? void 0 : ie.compData) == null ? void 0 : xe.find((A) => (A == null ? void 0 : A.key) === "tableContents")) == null ? void 0 : Pe.contents,
|
|
8149
|
+
]), Ll = (Pe = (xe = (ie = rl == null ? void 0 : rl[0]) == null ? void 0 : ie.compData) == null ? void 0 : xe.find((A) => (A == null ? void 0 : A.key) === "tableContents")) == null ? void 0 : Pe.contents, Il = (gl = (Ue = (le = Ee == null ? void 0 : Ee[0]) == null ? void 0 : le.compData) == null ? void 0 : Ue.find((A) => (A == null ? void 0 : A.key) === "tableContents")) == null ? void 0 : gl.contents, Xl = ($e = (je = (W = Ee == null ? void 0 : Ee[0]) == null ? void 0 : W.compData) == null ? void 0 : je.find((A) => (A == null ? void 0 : A.key) === "header")) == null ? void 0 : $e.contents;
|
|
8130
8150
|
console.log("555readData", Xl);
|
|
8131
8151
|
let Jl = [];
|
|
8132
|
-
Array.isArray(Ll) && Array.isArray(
|
|
8133
|
-
const Pl = ((Ze = Z == null ? void 0 : Z.value) == null ? void 0 : Ze.account) || ((
|
|
8152
|
+
Array.isArray(Ll) && Array.isArray(Il) ? Jl = [...Ll, ...Il] : (Jl = [], console.warn("unreadMessagesContents 或 readMessagesContents 不是数组")), h.value = Qe(Xl, Jl), console.log("555allReadMessages.value", h.value);
|
|
8153
|
+
const Pl = ((Ze = Z == null ? void 0 : Z.value) == null ? void 0 : Ze.account) || ((_l = Z == null ? void 0 : Z.value) == null ? void 0 : _l.收件人) || "未知", kl = h.value.filter((A) => {
|
|
8134
8154
|
var w;
|
|
8135
8155
|
return ((w = A.find((O) => O.prop === "收件人")) == null ? void 0 : w.value) === Pl;
|
|
8136
8156
|
});
|
|
8137
|
-
|
|
8157
|
+
_.value = kl;
|
|
8138
8158
|
} catch (Qe) {
|
|
8139
8159
|
console.error("获取消息数据失败:", Qe);
|
|
8140
8160
|
}
|
|
@@ -8189,25 +8209,27 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8189
8209
|
id: "transparentBgButton",
|
|
8190
8210
|
onClick: r(Qn)
|
|
8191
8211
|
}, {
|
|
8192
|
-
default: n(() =>
|
|
8193
|
-
pl(" 返回页面 "
|
|
8194
|
-
])
|
|
8195
|
-
_: 1
|
|
8212
|
+
default: n(() => ie[5] || (ie[5] = [
|
|
8213
|
+
pl(" 返回页面 ")
|
|
8214
|
+
])),
|
|
8215
|
+
_: 1,
|
|
8216
|
+
__: [5]
|
|
8196
8217
|
}, 8, ["onClick"]),
|
|
8197
8218
|
s(Pe, {
|
|
8198
8219
|
id: "transparentBgButton",
|
|
8199
8220
|
onClick: ie[2] || (ie[2] = ($e) => {
|
|
8200
|
-
var Ze,
|
|
8201
|
-
return r(Kn)((
|
|
8221
|
+
var Ze, _l;
|
|
8222
|
+
return r(Kn)((_l = (Ze = r(ue)) == null ? void 0 : Ze.map((Qe) => Qe.value)) == null ? void 0 : _l.join("/"));
|
|
8202
8223
|
})
|
|
8203
8224
|
}, {
|
|
8204
8225
|
icon: n(() => [
|
|
8205
8226
|
s(Nl, { name: "Store" })
|
|
8206
8227
|
]),
|
|
8207
8228
|
default: n(() => [
|
|
8208
|
-
ie[6] || (ie[6] = pl(" 保存页面 "
|
|
8229
|
+
ie[6] || (ie[6] = pl(" 保存页面 "))
|
|
8209
8230
|
]),
|
|
8210
|
-
_: 1
|
|
8231
|
+
_: 1,
|
|
8232
|
+
__: [6]
|
|
8211
8233
|
})
|
|
8212
8234
|
]),
|
|
8213
8235
|
x("div", xu, [
|
|
@@ -8365,15 +8387,15 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8365
8387
|
default: n(() => [
|
|
8366
8388
|
s(W, { class: "client-main" }, {
|
|
8367
8389
|
default: n(() => {
|
|
8368
|
-
var $e, Ze,
|
|
8390
|
+
var $e, Ze, _l, Qe, Vl, rl;
|
|
8369
8391
|
return [
|
|
8370
8392
|
ia((p(), G("div", {
|
|
8371
8393
|
class: "client-main-operate",
|
|
8372
8394
|
ref_key: "contentRef",
|
|
8373
|
-
ref:
|
|
8395
|
+
ref: Ie,
|
|
8374
8396
|
"element-loading-text": "正在加载页面数据..."
|
|
8375
8397
|
}, [
|
|
8376
|
-
((Ze = r(C)) == null ? void 0 : Ze[(($e = r(C)) == null ? void 0 : $e.length) - 1]) === r(R) || (
|
|
8398
|
+
((Ze = r(C)) == null ? void 0 : Ze[(($e = r(C)) == null ? void 0 : $e.length) - 1]) === r(R) || (_l = r(C)) != null && _l.includes("updateLoading") || (Qe = r(C)) != null && Qe.includes("loading") ? (p(), G("div", Ku, [
|
|
8377
8399
|
s(wa, {
|
|
8378
8400
|
class: "calculator-content back-content",
|
|
8379
8401
|
onClickTrigger: ie[4] || (ie[4] = (Ee) => r(ns)()),
|
|
@@ -8383,23 +8405,23 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8383
8405
|
x("div", Wu, [
|
|
8384
8406
|
Ge.value ? (p(), he(gl, { key: 0 })) : Ve("", !0),
|
|
8385
8407
|
Ge.value ? Ve("", !0) : (p(!0), G(al, { key: 1 }, fl((Vl = r(Ca)) == null ? void 0 : Vl.filter((Ee) => Ee.comp !== "FormTop"), (Ee, Ll) => {
|
|
8386
|
-
var
|
|
8408
|
+
var Il;
|
|
8387
8409
|
return p(), G("div", {
|
|
8388
8410
|
class: "item-view-content",
|
|
8389
8411
|
key: Ll,
|
|
8390
8412
|
style: Ql({ display: (Ee == null ? void 0 : Ee.isShow) === !1 ? "none" : "flex" })
|
|
8391
8413
|
}, [
|
|
8392
|
-
((
|
|
8414
|
+
((Il = Ee == null ? void 0 : Ee.comp) == null ? void 0 : Il.toUpperCase()) !== "TABLE" && Ee.name ? (p(), G("div", Hu, [
|
|
8393
8415
|
re(Ee) ? Ve("", !0) : (p(), G("div", qu, nl(Ee.name), 1))
|
|
8394
8416
|
])) : Ve("", !0),
|
|
8395
|
-
r(Pa) ? (p(), he(ba(r(
|
|
8417
|
+
r(Pa) ? (p(), he(ba(r(Ia)(Ee.comp)), {
|
|
8396
8418
|
compName: Ee.name,
|
|
8397
8419
|
cacheNewData: r(Ua),
|
|
8398
8420
|
isDevMode: l.showButton,
|
|
8399
8421
|
itemData: Ee == null ? void 0 : Ee.compData,
|
|
8400
8422
|
childItemData: Ee == null ? void 0 : Ee.itemChildData,
|
|
8401
8423
|
key: r(Oa),
|
|
8402
|
-
onChange: r(
|
|
8424
|
+
onChange: r(_a),
|
|
8403
8425
|
index: (Ee == null ? void 0 : Ee.id) ?? Ll,
|
|
8404
8426
|
onContentChange: r(Ma),
|
|
8405
8427
|
onPageChange: r(Va),
|
|
@@ -8441,13 +8463,13 @@ const Pu = /* @__PURE__ */ aa(Tu, [["render", Du], ["__scopeId", "data-v-94d06d5
|
|
|
8441
8463
|
ie[7] || (ie[7] = x("span", null, " 菜单树 ", -1)),
|
|
8442
8464
|
x("span", {
|
|
8443
8465
|
class: "close",
|
|
8444
|
-
onClick:
|
|
8466
|
+
onClick: Se
|
|
8445
8467
|
}, " X ")
|
|
8446
8468
|
]),
|
|
8447
8469
|
x("div", Ju, [
|
|
8448
8470
|
s(Ue, { class: "client-body" }, {
|
|
8449
8471
|
default: n(() => [
|
|
8450
|
-
s(
|
|
8472
|
+
s(Su, { onNodeClick: _e })
|
|
8451
8473
|
]),
|
|
8452
8474
|
_: 1
|
|
8453
8475
|
})
|
|
@@ -8769,10 +8791,10 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8769
8791
|
const f = ((o = l == null ? void 0 : l.name) == null ? void 0 : o.join("/")) ?? "";
|
|
8770
8792
|
return td(l) ? `${f}__layout__${JSON.stringify((l == null ? void 0 : l.cardLayout) ?? {})}__${Et(l == null ? void 0 : l.menuFilter, l == null ? void 0 : l.groupFilter).join("|")}` : f;
|
|
8771
8793
|
}, so = (l, f, o, h) => {
|
|
8772
|
-
var L,
|
|
8773
|
-
let
|
|
8774
|
-
if (!Array.isArray(
|
|
8775
|
-
let ve = Bl(
|
|
8794
|
+
var L, I, V, R, P, ue, e, B, D, U, i, H, N, J, y, v, c, Ie;
|
|
8795
|
+
let _ = ((I = (L = f.get(l == null ? void 0 : l.quotePage)) == null ? void 0 : L.contents) == null ? void 0 : I.find((ve) => Bt((h == null ? void 0 : h.quoteGroup) ?? [], ve == null ? void 0 : ve.name))) ?? ((V = f.get(l == null ? void 0 : l.quotePage)) == null ? void 0 : V.contents) ?? [];
|
|
8796
|
+
if (!Array.isArray(_) && ((R = _ == null ? void 0 : _.tableColumns) == null ? void 0 : R.length) > 0) {
|
|
8797
|
+
let ve = Bl(_), j = (e = (ue = (P = ve.filter) == null ? void 0 : P.replace("(", Cl)) == null ? void 0 : ue.split(Cl)) == null ? void 0 : e[1];
|
|
8776
8798
|
j = "(" + (j == null ? void 0 : j.slice(0, (j == null ? void 0 : j.length) - 1));
|
|
8777
8799
|
let re = (U = (D = (B = l == null ? void 0 : l.filter) == null ? void 0 : B.replace("(", Cl)) == null ? void 0 : D.split(Cl)) == null ? void 0 : U[0];
|
|
8778
8800
|
!(ve != null && ve.filter) || (ve == null ? void 0 : ve.filter) === "" ? ve.filter = l == null ? void 0 : l.filter : ve.filter = re + j + "," + ((N = (H = (i = l == null ? void 0 : l.filter) == null ? void 0 : i.replace("(", Cl)) == null ? void 0 : H.split(Cl)) == null ? void 0 : N[1]);
|
|
@@ -8780,10 +8802,10 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8780
8802
|
ne = ne == null ? void 0 : ne.slice(0, (ne == null ? void 0 : ne.length) - 1), ne = ja(ne, ",");
|
|
8781
8803
|
let Z = ne == null ? void 0 : ne.filter((Be) => Be == null ? void 0 : Be.includes("@Type"));
|
|
8782
8804
|
return (Z == null ? void 0 : Z.length) > 0 && (Z != null && Z.find((Be) => Be == null ? void 0 : Be.includes("@Type"))) && ((c = Z == null ? void 0 : Z[(Z == null ? void 0 : Z.length) - 1]) != null && c.includes("Manual")) && (ve.tableContents = []), ve.calculatorFilters = h.calculatorFilters, Qa(ve, h), ve.name = o, [ve];
|
|
8783
|
-
} else if (
|
|
8784
|
-
Array.isArray(
|
|
8805
|
+
} else if (_) {
|
|
8806
|
+
Array.isArray(_) || (_ = [_]);
|
|
8785
8807
|
let ve = [];
|
|
8786
|
-
return (
|
|
8808
|
+
return (Ie = Bl(_)) == null || Ie.forEach((j) => {
|
|
8787
8809
|
var re, ne, Z, Be, me, Oe, sl, hl, vl, wl, Je, Ml, ye, C, Ye, be, Re, Ge, He, ol, tl, a, g, b, T, Y;
|
|
8788
8810
|
if (!(j != null && j.filter) || ((re = j == null ? void 0 : j.tableColumns) == null ? void 0 : re.length) > 0 || ((ne = j == null ? void 0 : j.value) == null ? void 0 : ne.length) > 0) {
|
|
8789
8811
|
let fe = (me = (Be = (Z = l == null ? void 0 : l.filter) == null ? void 0 : Z.replace("(", Cl)) == null ? void 0 : Be.split(Cl)) == null ? void 0 : me[0], Q = (hl = (sl = (Oe = j.filter) == null ? void 0 : Oe.replace("(", Cl)) == null ? void 0 : sl.split(Cl)) == null ? void 0 : hl[1];
|
|
@@ -8802,35 +8824,35 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8802
8824
|
} else
|
|
8803
8825
|
return [];
|
|
8804
8826
|
}, sd = async (l, f) => {
|
|
8805
|
-
let o = [], h = ii(l),
|
|
8827
|
+
let o = [], h = ii(l), _ = /* @__PURE__ */ new Map();
|
|
8806
8828
|
h == null || h.forEach((R) => {
|
|
8807
|
-
|
|
8808
|
-
}), h = [...
|
|
8829
|
+
_ != null && _.has(R.path) || _.set(R.path, R);
|
|
8830
|
+
}), h = [..._.values()], o.push({
|
|
8809
8831
|
key: "menuPath",
|
|
8810
8832
|
contents: [...h, ...$u]
|
|
8811
8833
|
});
|
|
8812
8834
|
let L = l.map(async (R) => await ri(R, Bl(h)));
|
|
8813
8835
|
L = await Promise.all(L);
|
|
8814
|
-
let
|
|
8836
|
+
let I = /* @__PURE__ */ new Map();
|
|
8815
8837
|
L == null || L.forEach((R) => {
|
|
8816
8838
|
R == null || R.forEach((P) => {
|
|
8817
8839
|
var e, B, D, U;
|
|
8818
8840
|
let ue = (D = (B = (e = P == null ? void 0 : P.find((i) => (i == null ? void 0 : i.key) === "path")) == null ? void 0 : e.value) == null ? void 0 : B.replaceAll("{", "")) == null ? void 0 : D.replaceAll("}", "");
|
|
8819
|
-
if (
|
|
8820
|
-
let i =
|
|
8841
|
+
if (I.has(ue)) {
|
|
8842
|
+
let i = I.get(ue).contents;
|
|
8821
8843
|
P == null || P.forEach((H) => {
|
|
8822
8844
|
(H == null ? void 0 : H.key) !== "path" && (i == null || i.push(H));
|
|
8823
8845
|
}), i = i == null ? void 0 : i.map((H, N) => {
|
|
8824
8846
|
var J, y;
|
|
8825
8847
|
if (N === (i == null ? void 0 : i.length) - 1) {
|
|
8826
|
-
const v = (J = P == null ? void 0 : P.find((ve) => (ve == null ? void 0 : ve.key) === "path")) == null ? void 0 : J.isShow, c = ((y = P == null ? void 0 : P.find((ve) => (ve == null ? void 0 : ve.key) === "path")) == null ? void 0 : y.menuFilter) ?? [],
|
|
8848
|
+
const v = (J = P == null ? void 0 : P.find((ve) => (ve == null ? void 0 : ve.key) === "path")) == null ? void 0 : J.isShow, c = ((y = P == null ? void 0 : P.find((ve) => (ve == null ? void 0 : ve.key) === "path")) == null ? void 0 : y.menuFilter) ?? [], Ie = Array.isArray(c) && (c == null ? void 0 : c.some((ve) => {
|
|
8827
8849
|
const j = typeof ve == "string" ? ve : JSON.stringify(ve);
|
|
8828
8850
|
return (j == null ? void 0 : j.includes("@Hide")) && (j == null ? void 0 : j.includes("Yes"));
|
|
8829
8851
|
}));
|
|
8830
|
-
H.isShow = v ?? (
|
|
8852
|
+
H.isShow = v ?? (Ie ? !1 : H.isShow ?? !0);
|
|
8831
8853
|
}
|
|
8832
8854
|
return H;
|
|
8833
|
-
}),
|
|
8855
|
+
}), I.get(ue).contents = i;
|
|
8834
8856
|
} else {
|
|
8835
8857
|
let i = ue, H = [];
|
|
8836
8858
|
P == null || P.forEach((N) => {
|
|
@@ -8838,21 +8860,21 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8838
8860
|
}), H = H == null ? void 0 : H.map((N, J) => {
|
|
8839
8861
|
var y, v;
|
|
8840
8862
|
if (J === (H == null ? void 0 : H.length) - 1) {
|
|
8841
|
-
const c = (y = P == null ? void 0 : P.find((j) => (j == null ? void 0 : j.key) === "path")) == null ? void 0 : y.isShow,
|
|
8863
|
+
const c = (y = P == null ? void 0 : P.find((j) => (j == null ? void 0 : j.key) === "path")) == null ? void 0 : y.isShow, Ie = ((v = P == null ? void 0 : P.find((j) => (j == null ? void 0 : j.key) === "path")) == null ? void 0 : v.menuFilter) ?? [], ve = Array.isArray(Ie) && (Ie == null ? void 0 : Ie.some((j) => {
|
|
8842
8864
|
const re = typeof j == "string" ? j : JSON.stringify(j);
|
|
8843
8865
|
return (re == null ? void 0 : re.includes("@Hide")) && (re == null ? void 0 : re.includes("Yes"));
|
|
8844
8866
|
}));
|
|
8845
8867
|
N.isShow = c ?? (ve ? !1 : N.isShow ?? !0);
|
|
8846
8868
|
}
|
|
8847
8869
|
return N;
|
|
8848
|
-
}),
|
|
8870
|
+
}), I.set(ue, {
|
|
8849
8871
|
key: (U = i == null ? void 0 : i.replaceAll("{", "")) == null ? void 0 : U.replaceAll("}", ""),
|
|
8850
8872
|
contents: H
|
|
8851
8873
|
});
|
|
8852
8874
|
}
|
|
8853
8875
|
});
|
|
8854
8876
|
});
|
|
8855
|
-
let V = [...
|
|
8877
|
+
let V = [...I.values()];
|
|
8856
8878
|
return V = V == null ? void 0 : V.map((R) => {
|
|
8857
8879
|
var e, B, D, U;
|
|
8858
8880
|
let P = [], ue = ((D = (B = (e = R == null ? void 0 : R.key) == null ? void 0 : e.split("/")) == null ? void 0 : B.filter((i, H) => {
|
|
@@ -8860,17 +8882,17 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8860
8882
|
return ((J = (N = R == null ? void 0 : R.key) == null ? void 0 : N.split("/")) == null ? void 0 : J.length) - 1 !== H;
|
|
8861
8883
|
})) == null ? void 0 : D.join("/")) + "/";
|
|
8862
8884
|
return (U = R.contents) == null || U.forEach((i, H) => {
|
|
8863
|
-
var v, c,
|
|
8885
|
+
var v, c, Ie, ve, j, re, ne, Z, Be, me, Oe, sl, hl, vl, wl, Je, Ml, ye, C, Ye, be, Re, Ge, He, ol, tl, a, g, b, T, Y, fe, Q, u, k, q, $, t, d, M, z, Ce, Le, dl;
|
|
8864
8886
|
const N = i == null ? void 0 : i.isShow, J = (i == null ? void 0 : i.menuFilter) ?? [], y = Array.isArray(J) && (J == null ? void 0 : J.some((we) => {
|
|
8865
8887
|
const ce = typeof we == "string" ? we : JSON.stringify(we);
|
|
8866
8888
|
return (ce == null ? void 0 : ce.includes("@Hide")) && (ce == null ? void 0 : ce.includes("Yes"));
|
|
8867
8889
|
}));
|
|
8868
|
-
if (N == null && y && (i.isShow = !1), i.isShow = ((
|
|
8890
|
+
if (N == null && y && (i.isShow = !1), i.isShow = ((Ie = (c = (v = I == null ? void 0 : I.get(ue)) == null ? void 0 : v.contents) == null ? void 0 : c.find((we) => {
|
|
8869
8891
|
var ce, m, ke, De;
|
|
8870
8892
|
return ((m = we == null ? void 0 : we.name) == null ? void 0 : m[((ce = we == null ? void 0 : we.name) == null ? void 0 : ce.length) - 1]) === ((De = i == null ? void 0 : i.name) == null ? void 0 : De[((ke = i == null ? void 0 : i.name) == null ? void 0 : ke.length) - 1]);
|
|
8871
|
-
})) == null ? void 0 :
|
|
8893
|
+
})) == null ? void 0 : Ie.isShow) ?? i.isShow, (i == null ? void 0 : i.filter) !== "" && (i != null && i.filter) && (i != null && i.quotePage))
|
|
8872
8894
|
if (((ve = i == null ? void 0 : i.tableColumns) == null ? void 0 : ve.length) === 0) {
|
|
8873
|
-
let we = ((re = (j =
|
|
8895
|
+
let we = ((re = (j = I.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : j.contents) == null ? void 0 : re.find((ce) => Bt(i == null ? void 0 : i.quoteGroup, (ce == null ? void 0 : ce.name) ?? []))) ?? ((ne = I.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : ne.contents) ?? [];
|
|
8874
8896
|
if (!Array.isArray(we) && ((Z = we == null ? void 0 : we.tableColumns) == null ? void 0 : Z.length) > 0) {
|
|
8875
8897
|
i.tableColumns = Bl(we == null ? void 0 : we.tableColumns) ?? [];
|
|
8876
8898
|
let ce = (Oe = (me = (Be = i == null ? void 0 : i.filter) == null ? void 0 : Be.replace("(", Cl)) == null ? void 0 : me.split(Cl)) == null ? void 0 : Oe[1];
|
|
@@ -8880,11 +8902,11 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8880
8902
|
} else {
|
|
8881
8903
|
let ce = [];
|
|
8882
8904
|
Array.isArray(we) || (we = [we]), (hl = Bl(we)) == null || hl.forEach((m) => {
|
|
8883
|
-
var ke, De, ge, oe, F, ze, ll, Ke, cl, Fe,
|
|
8905
|
+
var ke, De, ge, oe, F, ze, ll, Ke, cl, Fe, Se, E, de, Ae, _e, qe, X, ie, xe, Pe, le, Ue, gl, W, je, $e, Ze, _l, Qe, Vl, rl, Ee, Ll, Il, Xl;
|
|
8884
8906
|
if (!(m != null && m.filter) || ((ke = m == null ? void 0 : m.tableColumns) == null ? void 0 : ke.length) > 0 || ((De = m == null ? void 0 : m.value) == null ? void 0 : De.length) > 0) {
|
|
8885
8907
|
m.name = [...i == null ? void 0 : i.name, ...(m == null ? void 0 : m.name) ?? []];
|
|
8886
8908
|
let Jl = (F = (oe = (ge = i == null ? void 0 : i.filter) == null ? void 0 : ge.replace("(", Cl)) == null ? void 0 : oe.split(Cl)) == null ? void 0 : F[0], Pl = (Ke = (ll = (ze = m.filter) == null ? void 0 : ze.replace("(", Cl)) == null ? void 0 : ll.split(Cl)) == null ? void 0 : Ke[1];
|
|
8887
|
-
Pl = "(" + (Pl == null ? void 0 : Pl.slice(0, (Pl == null ? void 0 : Pl.length) - 1)), !(m != null && m.filter) || (m == null ? void 0 : m.filter) === "" ? m.filter = i == null ? void 0 : i.filter : m.filter = Jl + Pl + "," + ((
|
|
8909
|
+
Pl = "(" + (Pl == null ? void 0 : Pl.slice(0, (Pl == null ? void 0 : Pl.length) - 1)), !(m != null && m.filter) || (m == null ? void 0 : m.filter) === "" ? m.filter = i == null ? void 0 : i.filter : m.filter = Jl + Pl + "," + ((Se = (Fe = (cl = i == null ? void 0 : i.filter) == null ? void 0 : cl.replace("(", Cl)) == null ? void 0 : Fe.split(Cl)) == null ? void 0 : Se[1]), m.calculatorFilters = i.calculatorFilters, m.fatherSyncContents = (i == null ? void 0 : i.fatherSyncContents) ?? [], m.sonSyncContents = i.sonSyncContents ?? [], m.fatherSyncContents = (E = m == null ? void 0 : m.fatherSyncContents) == null ? void 0 : E.map((w) => {
|
|
8888
8910
|
var O, te;
|
|
8889
8911
|
return w != null && w.groups ? { ...w } : Object.assign({}, w, {
|
|
8890
8912
|
groups: (te = m.name) == null ? void 0 : te[((O = m.name) == null ? void 0 : O.length) - 1]
|
|
@@ -8895,14 +8917,14 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8895
8917
|
groups: (te = m.name) == null ? void 0 : te[((O = m.name) == null ? void 0 : O.length) - 1]
|
|
8896
8918
|
});
|
|
8897
8919
|
}), m.relatedQuotes = i.relatedQuotes ?? [], Qa(m, i);
|
|
8898
|
-
let kl = (qe = (
|
|
8920
|
+
let kl = (qe = (_e = (Ae = m == null ? void 0 : m.filter) == null ? void 0 : Ae.replace("(", Cl)) == null ? void 0 : _e.split(Cl)) == null ? void 0 : qe[1];
|
|
8899
8921
|
kl = kl == null ? void 0 : kl.slice(0, (kl == null ? void 0 : kl.length) - 1), kl = ja(kl, ",");
|
|
8900
8922
|
let A = kl == null ? void 0 : kl.filter((w) => w == null ? void 0 : w.includes("@Type"));
|
|
8901
8923
|
((X = m == null ? void 0 : m.tableContents) == null ? void 0 : X.length) > 0 && (kl != null && kl.find((w) => w == null ? void 0 : w.includes("@Type"))) && ((ie = A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) != null && ie.includes("Manual")) && (m.tableContents = []), ce.push(m);
|
|
8902
8924
|
} else {
|
|
8903
8925
|
let Jl = (le = (Pe = (xe = i == null ? void 0 : i.filter) == null ? void 0 : xe.replace("(", Cl)) == null ? void 0 : Pe.split(Cl)) == null ? void 0 : le[0], Pl = (W = (gl = (Ue = m.filter) == null ? void 0 : Ue.replace("(", Cl)) == null ? void 0 : gl.split(Cl)) == null ? void 0 : W[1];
|
|
8904
8926
|
Pl = "(" + (Pl == null ? void 0 : Pl.slice(0, (Pl == null ? void 0 : Pl.length) - 1)), !(m != null && m.filter) || (m == null ? void 0 : m.filter) === "" ? m.filter = i == null ? void 0 : i.filter : m.filter = Jl + Pl + "," + ((Ze = ($e = (je = i == null ? void 0 : i.filter) == null ? void 0 : je.replace("(", Cl)) == null ? void 0 : $e.split(Cl)) == null ? void 0 : Ze[1]);
|
|
8905
|
-
let kl = (Vl = (Qe = (
|
|
8927
|
+
let kl = (Vl = (Qe = (_l = m.filter) == null ? void 0 : _l.replace("(", Cl)) == null ? void 0 : Qe.split(Cl)) == null ? void 0 : Vl[1];
|
|
8906
8928
|
kl = kl == null ? void 0 : kl.slice(0, (kl == null ? void 0 : kl.length) - 1), kl = ja(kl, ","), m.calculatorFilters = i.calculatorFilters, m.fatherSyncContents = (i == null ? void 0 : i.fatherSyncContents) ?? [], m.sonSyncContents = i.sonSyncContents ?? [], m.fatherSyncContents = (rl = m == null ? void 0 : m.fatherSyncContents) == null ? void 0 : rl.map((w) => {
|
|
8907
8929
|
var O, te;
|
|
8908
8930
|
return w != null && w.groups || (w.groups = (te = i.name) == null ? void 0 : te[((O = i.name) == null ? void 0 : O.length) - 1]), w;
|
|
@@ -8911,7 +8933,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8911
8933
|
return w != null && w.groups || (w.groups = (te = i.name) == null ? void 0 : te[((O = i.name) == null ? void 0 : O.length) - 1]), w;
|
|
8912
8934
|
}), m.relatedQuotes = i.relatedQuotes ?? [], Qa(m, i);
|
|
8913
8935
|
let A = kl == null ? void 0 : kl.filter((w) => w == null ? void 0 : w.includes("@Type"));
|
|
8914
|
-
(A == null ? void 0 : A.length) > 0 && (A != null && A.find((w) => w == null ? void 0 : w.includes("@eType"))) && ((Ll = A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) != null && Ll.includes("Manual")) && (m.tableContents = []), (Xl = so(m,
|
|
8936
|
+
(A == null ? void 0 : A.length) > 0 && (A != null && A.find((w) => w == null ? void 0 : w.includes("@eType"))) && ((Ll = A == null ? void 0 : A[(A == null ? void 0 : A.length) - 1]) != null && Ll.includes("Manual")) && (m.tableContents = []), (Xl = so(m, I, (((Il = i == null ? void 0 : i.name) == null ? void 0 : Il.length) > 0, i == null ? void 0 : i.name), i)) == null || Xl.forEach((w) => {
|
|
8915
8937
|
ce.push(Bl(w));
|
|
8916
8938
|
});
|
|
8917
8939
|
}
|
|
@@ -8920,7 +8942,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8920
8942
|
});
|
|
8921
8943
|
}
|
|
8922
8944
|
} else {
|
|
8923
|
-
let we = ((wl = (vl =
|
|
8945
|
+
let we = ((wl = (vl = I.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : vl.contents) == null ? void 0 : wl.find((ke) => Bt(i == null ? void 0 : i.quoteGroup, (ke == null ? void 0 : ke.name) ?? []))) ?? ((Je = I.get(i == null ? void 0 : i.quotePage)) == null ? void 0 : Je.contents) ?? [], ce = (C = (ye = (Ml = i == null ? void 0 : i.filter) == null ? void 0 : Ml.replace("(", Cl)) == null ? void 0 : ye.split(Cl)) == null ? void 0 : C[1];
|
|
8924
8946
|
ce = ce == null ? void 0 : ce.slice(0, (ce == null ? void 0 : ce.length) - 1), ce = ja(ce, ",");
|
|
8925
8947
|
let m = ce == null ? void 0 : ce.filter((ke) => ke == null ? void 0 : ke.includes("@Type"));
|
|
8926
8948
|
if (ce != null && ce.find((ke) => ke == null ? void 0 : ke.includes("@Type")) && !((Ye = m == null ? void 0 : m[(m == null ? void 0 : m.length) - 1]) != null && Ye.includes("Manual"))) {
|
|
@@ -8940,7 +8962,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8940
8962
|
else if ((i == null ? void 0 : i.filter) !== "" && (i != null && i.filter) && ((Re = i == null ? void 0 : i.value) == null ? void 0 : Re.length) === 0) {
|
|
8941
8963
|
let we = i == null ? void 0 : i.formPage;
|
|
8942
8964
|
(we == null ? void 0 : we[(we == null ? void 0 : we.length) - 1]) === "/" && (we = we == null ? void 0 : we.slice(0, (we == null ? void 0 : we.length) - 1));
|
|
8943
|
-
let ce = (He = (Ge =
|
|
8965
|
+
let ce = (He = (Ge = I.get(we)) == null ? void 0 : Ge.contents) == null ? void 0 : He.find((m) => Bt(i == null ? void 0 : i.formGroup, (m == null ? void 0 : m.name) ?? []));
|
|
8944
8966
|
!Array.isArray(ce) && (((ol = ce == null ? void 0 : ce.value) == null ? void 0 : ol.length) > 0 || ((tl = ce == null ? void 0 : ce.tableColumns) == null ? void 0 : tl.length) > 0) && (((a = ce == null ? void 0 : ce.value) == null ? void 0 : a.length) > 0 ? i.value = ce == null ? void 0 : ce.value : (i.value = (b = (g = Bl(ce)) == null ? void 0 : g.tableColumns) == null ? void 0 : b.map((m) => {
|
|
8945
8967
|
var ke;
|
|
8946
8968
|
return m.disabled = !0, m.width = (ke = ce == null ? void 0 : ce.tableColumns) == null ? void 0 : ke.length, m;
|
|
@@ -8950,11 +8972,11 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8950
8972
|
var ke, De;
|
|
8951
8973
|
return m !== ((De = (ke = R == null ? void 0 : R.key) == null ? void 0 : ke.split("/")) == null ? void 0 : De.length) - 1;
|
|
8952
8974
|
})) == null ? void 0 : q.join("/")) + "/";
|
|
8953
|
-
if (((d = (t = ($ =
|
|
8975
|
+
if (((d = (t = ($ = I == null ? void 0 : I.get(we)) == null ? void 0 : $.contents) == null ? void 0 : t[H]) == null ? void 0 : d.key) === "Form") {
|
|
8954
8976
|
let ce = Bl(i).tableContents;
|
|
8955
|
-
i = (z = (M =
|
|
8977
|
+
i = (z = (M = I == null ? void 0 : I.get(we)) == null ? void 0 : M.contents) == null ? void 0 : z[H], i.contents = ce;
|
|
8956
8978
|
} else
|
|
8957
|
-
i.tableColumns = (dl = (Le = (Ce =
|
|
8979
|
+
i.tableColumns = (dl = (Le = (Ce = I == null ? void 0 : I.get(we)) == null ? void 0 : Ce.contents) == null ? void 0 : Le[H]) == null ? void 0 : dl.tableColumns;
|
|
8958
8980
|
P.push(i);
|
|
8959
8981
|
} else
|
|
8960
8982
|
P.push(i);
|
|
@@ -8981,17 +9003,17 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
8981
9003
|
return R;
|
|
8982
9004
|
}), f && (f == null ? void 0 : f.length) === 0 ? (V = [...V, ...ed], o = [...o, ...V]) : o = V, o;
|
|
8983
9005
|
}, nd = (l) => {
|
|
8984
|
-
var
|
|
9006
|
+
var _, L, I, V, R, P;
|
|
8985
9007
|
let f = ja(l, "*"), o, h;
|
|
8986
|
-
return (f == null ? void 0 : f.length) > 1 || !((
|
|
9008
|
+
return (f == null ? void 0 : f.length) > 1 || !((_ = f == null ? void 0 : f[0]) != null && _.includes("==")) ? (o = f == null ? void 0 : f[0], (o == null ? void 0 : o[(o == null ? void 0 : o.length) - 1]) === "*" && (o = o == null ? void 0 : o.slice(0, (o == null ? void 0 : o.length) - 1)), h = (L = f == null ? void 0 : f.filter((ue, e) => e !== 0)) == null ? void 0 : L.join(""), h = h ? "*" + h : "") : (o = (V = (I = l == null ? void 0 : l.replace("==", Cl)) == null ? void 0 : I.split(Cl)) == null ? void 0 : V[0], h = (P = (R = l == null ? void 0 : l.replace("==", Cl)) == null ? void 0 : R.split(Cl)) == null ? void 0 : P[1]), (o == null ? void 0 : o[0]) !== "$" && (h = Bl(o) + (h ?? ""), o = ""), {
|
|
8987
9009
|
key: o,
|
|
8988
9010
|
value: h
|
|
8989
9011
|
};
|
|
8990
9012
|
}, od = async (l, f) => {
|
|
8991
|
-
var L,
|
|
9013
|
+
var L, I;
|
|
8992
9014
|
let o = Ho(l, [",", ":", "@", "=", "&"]);
|
|
8993
9015
|
o = (L = o == null ? void 0 : o.filter((V) => V !== "")) == null ? void 0 : L.map((V) => V.replaceAll(",", ","));
|
|
8994
|
-
let h = (
|
|
9016
|
+
let h = (I = o == null ? void 0 : o.filter((V) => !V.includes("/*") && !V.includes("*/"))) == null ? void 0 : I.map((V) => nd(V));
|
|
8995
9017
|
return await sd(h, f);
|
|
8996
9018
|
}, id = {
|
|
8997
9019
|
key: 1,
|
|
@@ -9028,7 +9050,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9028
9050
|
},
|
|
9029
9051
|
emits: ["buildContent", "showChild", "clearLogin", "systemContent", "updateVersion"],
|
|
9030
9052
|
setup(l, { emit: f }) {
|
|
9031
|
-
const o = va(Al), h = $a(Al),
|
|
9053
|
+
const o = va(Al), h = $a(Al), _ = zl(Al), L = S(!0), { hasClickEditComp: I } = ml(_), V = ua(Al), { loginUserInfo: R } = ml(V), P = l, ue = f, e = () => {
|
|
9032
9054
|
ue("clearLogin");
|
|
9033
9055
|
}, B = (y) => {
|
|
9034
9056
|
ue("showChild", y);
|
|
@@ -9060,7 +9082,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9060
9082
|
ue("buildContent");
|
|
9061
9083
|
}, N = async () => {
|
|
9062
9084
|
var y, v, c;
|
|
9063
|
-
return
|
|
9085
|
+
return _n({
|
|
9064
9086
|
platId: parseInt((y = R == null ? void 0 : R.value) == null ? void 0 : y.plat_id),
|
|
9065
9087
|
userName: (v = R == null ? void 0 : R.value) == null ? void 0 : v.user_name,
|
|
9066
9088
|
password: (c = R == null ? void 0 : R.value) == null ? void 0 : c.password,
|
|
@@ -9068,14 +9090,14 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9068
9090
|
changeData: ld
|
|
9069
9091
|
});
|
|
9070
9092
|
}, J = async () => {
|
|
9071
|
-
var v, c,
|
|
9093
|
+
var v, c, Ie, ve;
|
|
9072
9094
|
const y = (v = R == null ? void 0 : R.value) == null ? void 0 : v.plat_id;
|
|
9073
9095
|
if (y && !o.homepageBackgroundTableId)
|
|
9074
9096
|
try {
|
|
9075
9097
|
const j = await Wa({
|
|
9076
9098
|
platId: parseInt(y),
|
|
9077
9099
|
pageName: "Form背景配置"
|
|
9078
|
-
}), re = (ve = (
|
|
9100
|
+
}), re = (ve = (Ie = (c = j == null ? void 0 : j.data) == null ? void 0 : c.result) == null ? void 0 : Ie[0]) == null ? void 0 : ve.object_id;
|
|
9079
9101
|
re && o.setHomepageBackgroundTableId(re);
|
|
9080
9102
|
} catch (j) {
|
|
9081
9103
|
console.error("恢复首页背景表ID失败:", j);
|
|
@@ -9093,7 +9115,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9093
9115
|
), bl(
|
|
9094
9116
|
() => [P == null ? void 0 : P.content, P == null ? void 0 : P.jsonContents],
|
|
9095
9117
|
async () => {
|
|
9096
|
-
var y, v, c,
|
|
9118
|
+
var y, v, c, Ie, ve, j, re, ne, Z, Be, me;
|
|
9097
9119
|
try {
|
|
9098
9120
|
if (((y = P == null ? void 0 : P.jsonContents) == null ? void 0 : y.length) > 0) {
|
|
9099
9121
|
console.log("走了 jsonContents 分支,未重新创建背景表");
|
|
@@ -9104,7 +9126,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9104
9126
|
platId: parseInt((c = R == null ? void 0 : R.value) == null ? void 0 : c.plat_id),
|
|
9105
9127
|
pageName: "menu"
|
|
9106
9128
|
});
|
|
9107
|
-
Oe = (
|
|
9129
|
+
Oe = (Ie = Oe == null ? void 0 : Oe.data) == null ? void 0 : Ie.result, Oe = Oe == null ? void 0 : Oe.filter((Je) => (Je == null ? void 0 : Je.object_name) !== "Form背景配置"), L.value = !0, _.setImportLoading(!0);
|
|
9108
9130
|
let sl = [];
|
|
9109
9131
|
h.setSelectTitle([]), h.setSelectIndex(""), h.setSelectMenu("");
|
|
9110
9132
|
let hl = (ve = P == null ? void 0 : P.content) == null ? void 0 : ve.filter((Je) => Je !== "");
|
|
@@ -9123,7 +9145,7 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9123
9145
|
} else
|
|
9124
9146
|
Je.set(be == null ? void 0 : be.object_name, [be]);
|
|
9125
9147
|
});
|
|
9126
|
-
let ye = /* @__PURE__ */ new Map(), C = await
|
|
9148
|
+
let ye = /* @__PURE__ */ new Map(), C = await In({
|
|
9127
9149
|
platId: parseInt((j = R == null ? void 0 : R.value) == null ? void 0 : j.plat_id),
|
|
9128
9150
|
tableNames: Ml ?? []
|
|
9129
9151
|
});
|
|
@@ -9165,10 +9187,10 @@ const ad = (l) => Array.isArray(l) ? l.filter((f) => f != null && f !== "") : l
|
|
|
9165
9187
|
} catch (Oe) {
|
|
9166
9188
|
console.error(Oe), Ol.error("模型内容错误");
|
|
9167
9189
|
}
|
|
9168
|
-
|
|
9190
|
+
_.setImportLoading(!1);
|
|
9169
9191
|
},
|
|
9170
9192
|
{ deep: !0, immediate: !0 }
|
|
9171
|
-
), (y, v) => r(
|
|
9193
|
+
), (y, v) => r(I) ? (p(), he(Au, {
|
|
9172
9194
|
key: 0,
|
|
9173
9195
|
platform: P == null ? void 0 : P.platform
|
|
9174
9196
|
}, {
|
|
@@ -9278,8 +9300,8 @@ const bd = (l) => {
|
|
|
9278
9300
|
};
|
|
9279
9301
|
}, md = (l) => (l == null ? void 0 : l.insert) && typeof (l == null ? void 0 : l.insert) == "string" && !(l != null && l.attributes), wd = (l) => {
|
|
9280
9302
|
let h = ((l.insert || "").split(`
|
|
9281
|
-
`) || []).map((
|
|
9282
|
-
return h = h.filter((
|
|
9303
|
+
`) || []).map((_) => _.trim());
|
|
9304
|
+
return h = h.filter((_) => !!_), h;
|
|
9283
9305
|
}, kd = (l) => {
|
|
9284
9306
|
if (!l || !Array.isArray(l)) return [];
|
|
9285
9307
|
const f = [];
|
|
@@ -9318,11 +9340,11 @@ const bd = (l) => {
|
|
|
9318
9340
|
var J;
|
|
9319
9341
|
const N = await dd();
|
|
9320
9342
|
return (J = N == null ? void 0 : N.data) == null ? void 0 : J.result;
|
|
9321
|
-
},
|
|
9343
|
+
}, _ = async () => await h(), L = async (N) => {
|
|
9322
9344
|
var y;
|
|
9323
9345
|
const J = await gd(N);
|
|
9324
9346
|
return (y = J == null ? void 0 : J.data) == null ? void 0 : y.result;
|
|
9325
|
-
},
|
|
9347
|
+
}, I = async (N) => await L({ platId: N }), V = async (N) => {
|
|
9326
9348
|
var y;
|
|
9327
9349
|
const J = await pd(N);
|
|
9328
9350
|
return (y = J == null ? void 0 : J.data) == null ? void 0 : y.result;
|
|
@@ -9346,18 +9368,18 @@ const bd = (l) => {
|
|
|
9346
9368
|
return {
|
|
9347
9369
|
isSuperAdmin: l,
|
|
9348
9370
|
initMethodItem: o,
|
|
9349
|
-
initMethodList:
|
|
9350
|
-
initAssignedMethodList:
|
|
9371
|
+
initMethodList: _,
|
|
9372
|
+
initAssignedMethodList: I,
|
|
9351
9373
|
initCreate: R,
|
|
9352
9374
|
initUpdate: ue,
|
|
9353
9375
|
initDelete: B,
|
|
9354
9376
|
initExecute: U,
|
|
9355
9377
|
initAssignMethodToPlatform: async (N) => await i(N)
|
|
9356
9378
|
};
|
|
9357
|
-
}, Ad = { class: "method-library" }, Md = { class: "method-list" },
|
|
9379
|
+
}, Ad = { class: "method-library" }, Md = { class: "method-list" }, _d = ["onClick", "title"], Id = { class: "method-name" }, Sd = { class: "operate" }, Td = { class: "library-right-card" }, Bd = { class: "method-operate" }, Ed = { class: "operate-right" }, Dd = { class: "method-detail" }, Pd = { class: "detail-form-wrapper" }, Rd = { class: "detail-footer" }, xd = { class: "footer-right" }, Vd = /* @__PURE__ */ Kl({
|
|
9358
9380
|
__name: "index",
|
|
9359
9381
|
setup(l) {
|
|
9360
|
-
const { isSuperAdmin: f, initMethodItem: o, initMethodList: h, initCreate:
|
|
9382
|
+
const { isSuperAdmin: f, initMethodItem: o, initMethodList: h, initCreate: _, initUpdate: L, initDelete: I, initExecute: V } = cs(), R = S([]), P = async (Be) => {
|
|
9361
9383
|
var hl, vl, wl;
|
|
9362
9384
|
R.value = await h();
|
|
9363
9385
|
const me = (hl = R.value) == null ? void 0 : hl[0], sl = ((wl = (vl = R.value) == null ? void 0 : vl.find) == null ? void 0 : wl.call(vl, (Je) => {
|
|
@@ -9369,7 +9391,7 @@ const bd = (l) => {
|
|
|
9369
9391
|
la(async () => {
|
|
9370
9392
|
await P();
|
|
9371
9393
|
});
|
|
9372
|
-
const ue =
|
|
9394
|
+
const ue = S(null), e = (Be) => {
|
|
9373
9395
|
var me;
|
|
9374
9396
|
if (Be) {
|
|
9375
9397
|
const Oe = Bl(Be);
|
|
@@ -9377,7 +9399,7 @@ const bd = (l) => {
|
|
|
9377
9399
|
} else
|
|
9378
9400
|
ue.value = null;
|
|
9379
9401
|
(me = B.value) == null || me.setContent((Be == null ? void 0 : Be.input) || ""), H(Be);
|
|
9380
|
-
}, B =
|
|
9402
|
+
}, B = S(), D = S(), U = Yl({
|
|
9381
9403
|
name: [
|
|
9382
9404
|
{ required: !0, message: "请输入名称", trigger: "blur" }
|
|
9383
9405
|
],
|
|
@@ -9390,10 +9412,10 @@ const bd = (l) => {
|
|
|
9390
9412
|
// output: [
|
|
9391
9413
|
// { required: true, message: '请填写输出', trigger: 'blur' },
|
|
9392
9414
|
// ],
|
|
9393
|
-
}), i =
|
|
9415
|
+
}), i = S(o()), H = async (Be) => {
|
|
9394
9416
|
f.value && (i.value = o(Be));
|
|
9395
9417
|
}, N = async () => {
|
|
9396
|
-
const Be = await
|
|
9418
|
+
const Be = await _(i.value);
|
|
9397
9419
|
await P(), e(Be);
|
|
9398
9420
|
}, J = async () => {
|
|
9399
9421
|
await L(i.value), await P(i.value.id);
|
|
@@ -9411,7 +9433,7 @@ const bd = (l) => {
|
|
|
9411
9433
|
Be.close();
|
|
9412
9434
|
});
|
|
9413
9435
|
}, v = async (Be) => {
|
|
9414
|
-
await
|
|
9436
|
+
await I(Be.id), await P();
|
|
9415
9437
|
}, c = async (Be) => {
|
|
9416
9438
|
await Ha.confirm("确定要删除吗?", "提示", {
|
|
9417
9439
|
confirmButtonText: "确定",
|
|
@@ -9426,12 +9448,12 @@ const bd = (l) => {
|
|
|
9426
9448
|
await v(Be).finally(() => {
|
|
9427
9449
|
me.close();
|
|
9428
9450
|
});
|
|
9429
|
-
},
|
|
9451
|
+
}, Ie = () => {
|
|
9430
9452
|
var Oe, sl;
|
|
9431
9453
|
const Be = (sl = (Oe = B == null ? void 0 : B.value) == null ? void 0 : Oe.getDeltaOps) == null ? void 0 : sl.call(Oe);
|
|
9432
9454
|
return kd(Be) || [];
|
|
9433
9455
|
}, ve = () => (i.value.description || "").split(",").map((sl) => sl.trim()).filter((sl) => sl), j = () => {
|
|
9434
|
-
const Be = ve(), me =
|
|
9456
|
+
const Be = ve(), me = Ie(), Oe = {};
|
|
9435
9457
|
return Be.forEach((sl, hl) => {
|
|
9436
9458
|
Oe[sl] = me[hl] || "";
|
|
9437
9459
|
}), Oe;
|
|
@@ -9467,11 +9489,11 @@ const bd = (l) => {
|
|
|
9467
9489
|
class: "library-left-card",
|
|
9468
9490
|
"body-class": "library-left-card-body"
|
|
9469
9491
|
}, {
|
|
9470
|
-
header: n(() =>
|
|
9492
|
+
header: n(() => me[7] || (me[7] = [
|
|
9471
9493
|
x("div", { class: "method-list-header" }, [
|
|
9472
9494
|
x("div", { class: "title" }, "方法列表")
|
|
9473
9495
|
], -1)
|
|
9474
|
-
])
|
|
9496
|
+
])),
|
|
9475
9497
|
default: n(() => [
|
|
9476
9498
|
x("div", Md, [
|
|
9477
9499
|
(p(!0), G(al, null, fl(R.value, (C) => {
|
|
@@ -9482,8 +9504,8 @@ const bd = (l) => {
|
|
|
9482
9504
|
onClick: (be) => e(C),
|
|
9483
9505
|
title: C.name
|
|
9484
9506
|
}, [
|
|
9485
|
-
x("div",
|
|
9486
|
-
x("div",
|
|
9507
|
+
x("div", Id, nl(C.name), 1),
|
|
9508
|
+
x("div", Sd, [
|
|
9487
9509
|
s(Oe, {
|
|
9488
9510
|
class: "delete-icon",
|
|
9489
9511
|
name: "Delete",
|
|
@@ -9491,7 +9513,7 @@ const bd = (l) => {
|
|
|
9491
9513
|
onClick: ql((be) => c(C), ["stop"])
|
|
9492
9514
|
}, null, 8, ["onClick"])
|
|
9493
9515
|
])
|
|
9494
|
-
], 10,
|
|
9516
|
+
], 10, _d);
|
|
9495
9517
|
}), 128))
|
|
9496
9518
|
])
|
|
9497
9519
|
]),
|
|
@@ -9505,10 +9527,11 @@ const bd = (l) => {
|
|
|
9505
9527
|
type: "primary",
|
|
9506
9528
|
onClick: me[0] || (me[0] = (C) => e())
|
|
9507
9529
|
}, {
|
|
9508
|
-
default: n(() =>
|
|
9509
|
-
pl("创建方法"
|
|
9510
|
-
])
|
|
9511
|
-
_: 1
|
|
9530
|
+
default: n(() => me[8] || (me[8] = [
|
|
9531
|
+
pl("创建方法")
|
|
9532
|
+
])),
|
|
9533
|
+
_: 1,
|
|
9534
|
+
__: [8]
|
|
9512
9535
|
})
|
|
9513
9536
|
])
|
|
9514
9537
|
]),
|
|
@@ -9670,20 +9693,22 @@ const bd = (l) => {
|
|
|
9670
9693
|
type: "primary",
|
|
9671
9694
|
onClick: y
|
|
9672
9695
|
}, {
|
|
9673
|
-
default: n(() =>
|
|
9674
|
-
pl("保存"
|
|
9675
|
-
])
|
|
9676
|
-
_: 1
|
|
9696
|
+
default: n(() => me[10] || (me[10] = [
|
|
9697
|
+
pl("保存")
|
|
9698
|
+
])),
|
|
9699
|
+
_: 1,
|
|
9700
|
+
__: [10]
|
|
9677
9701
|
}),
|
|
9678
9702
|
i.value.id ? (p(), he(hl, {
|
|
9679
9703
|
key: 0,
|
|
9680
9704
|
type: "primary",
|
|
9681
9705
|
onClick: me[6] || (me[6] = (C) => Z())
|
|
9682
9706
|
}, {
|
|
9683
|
-
default: n(() =>
|
|
9684
|
-
pl("执行"
|
|
9685
|
-
])
|
|
9686
|
-
_: 1
|
|
9707
|
+
default: n(() => me[11] || (me[11] = [
|
|
9708
|
+
pl("执行")
|
|
9709
|
+
])),
|
|
9710
|
+
_: 1,
|
|
9711
|
+
__: [11]
|
|
9687
9712
|
})) : Ve("", !0)
|
|
9688
9713
|
])
|
|
9689
9714
|
])
|
|
@@ -9695,17 +9720,17 @@ const bd = (l) => {
|
|
|
9695
9720
|
}), Od = { class: "body-wrapper" }, Ud = { class: "method-library-dialog-header" }, Ld = { class: "back" }, jd = /* @__PURE__ */ Kl({
|
|
9696
9721
|
__name: "index",
|
|
9697
9722
|
setup(l, { expose: f }) {
|
|
9698
|
-
const o =
|
|
9723
|
+
const o = S(!1), h = () => {
|
|
9699
9724
|
o.value = !0;
|
|
9700
|
-
},
|
|
9725
|
+
}, _ = () => {
|
|
9701
9726
|
o.value = !1;
|
|
9702
9727
|
}, L = () => {
|
|
9703
|
-
|
|
9728
|
+
_();
|
|
9704
9729
|
};
|
|
9705
9730
|
return f({
|
|
9706
9731
|
openDialog: h,
|
|
9707
9732
|
handleClose: L
|
|
9708
|
-
}), (
|
|
9733
|
+
}), (I, V) => {
|
|
9709
9734
|
const R = ae("svg-icon"), P = ae("el-dialog");
|
|
9710
9735
|
return p(), he(P, {
|
|
9711
9736
|
class: "method-library-dialog",
|
|
@@ -9716,21 +9741,21 @@ const bd = (l) => {
|
|
|
9716
9741
|
"destroy-on-close": "",
|
|
9717
9742
|
"show-close": !1
|
|
9718
9743
|
}, {
|
|
9719
|
-
header: n(() =>
|
|
9744
|
+
header: n(() => V[1] || (V[1] = [])),
|
|
9720
9745
|
default: n(() => [
|
|
9721
9746
|
x("div", Od, [
|
|
9722
9747
|
x("div", Ud, [
|
|
9723
9748
|
x("div", Ld, [
|
|
9724
9749
|
s(R, {
|
|
9725
9750
|
name: "back-0",
|
|
9726
|
-
onClick:
|
|
9751
|
+
onClick: _
|
|
9727
9752
|
})
|
|
9728
9753
|
])
|
|
9729
9754
|
]),
|
|
9730
9755
|
s(Vd)
|
|
9731
9756
|
])
|
|
9732
9757
|
]),
|
|
9733
|
-
footer: n(() =>
|
|
9758
|
+
footer: n(() => V[2] || (V[2] = [])),
|
|
9734
9759
|
_: 1
|
|
9735
9760
|
}, 8, ["modelValue"]);
|
|
9736
9761
|
};
|
|
@@ -9741,12 +9766,12 @@ const bd = (l) => {
|
|
|
9741
9766
|
platId: {}
|
|
9742
9767
|
},
|
|
9743
9768
|
setup(l, { expose: f }) {
|
|
9744
|
-
const o = l, { initMethodList: h, initAssignedMethodList:
|
|
9769
|
+
const o = l, { initMethodList: h, initAssignedMethodList: _ } = cs(), L = S([]), I = S([]), V = S([]), R = async () => {
|
|
9745
9770
|
const D = await h();
|
|
9746
9771
|
L.value = D;
|
|
9747
9772
|
}, P = async () => {
|
|
9748
|
-
const D = await
|
|
9749
|
-
|
|
9773
|
+
const D = await _(o.platId);
|
|
9774
|
+
I.value = D, V.value = D.map((U) => U.algorithm_id);
|
|
9750
9775
|
}, ue = async () => {
|
|
9751
9776
|
await R(), await P();
|
|
9752
9777
|
};
|
|
@@ -9787,10 +9812,10 @@ const bd = (l) => {
|
|
|
9787
9812
|
const o = l, h = El(() => {
|
|
9788
9813
|
var B;
|
|
9789
9814
|
return (B = o.modelInfo) == null ? void 0 : B.plat_id;
|
|
9790
|
-
}), { initAssignMethodToPlatform:
|
|
9791
|
-
|
|
9815
|
+
}), { initAssignMethodToPlatform: _ } = cs(), L = S(), I = S(!1), V = () => {
|
|
9816
|
+
I.value = !0;
|
|
9792
9817
|
}, R = () => {
|
|
9793
|
-
|
|
9818
|
+
I.value = !1;
|
|
9794
9819
|
}, P = () => {
|
|
9795
9820
|
R();
|
|
9796
9821
|
}, ue = async () => {
|
|
@@ -9799,7 +9824,7 @@ const bd = (l) => {
|
|
|
9799
9824
|
platId: h.value,
|
|
9800
9825
|
algorithmIds: B
|
|
9801
9826
|
};
|
|
9802
|
-
await
|
|
9827
|
+
await _(D);
|
|
9803
9828
|
}, e = async () => {
|
|
9804
9829
|
const B = Ta.service({
|
|
9805
9830
|
lock: !0,
|
|
@@ -9817,8 +9842,8 @@ const bd = (l) => {
|
|
|
9817
9842
|
const U = ae("el-dialog");
|
|
9818
9843
|
return p(), he(U, {
|
|
9819
9844
|
class: "method-allocation-dialog",
|
|
9820
|
-
modelValue:
|
|
9821
|
-
"onUpdate:modelValue": D[0] || (D[0] = (i) =>
|
|
9845
|
+
modelValue: I.value,
|
|
9846
|
+
"onUpdate:modelValue": D[0] || (D[0] = (i) => I.value = i),
|
|
9822
9847
|
showClose: !1,
|
|
9823
9848
|
closeOnClickModal: !1,
|
|
9824
9849
|
closeOnPressEscape: !1,
|
|
@@ -9826,9 +9851,9 @@ const bd = (l) => {
|
|
|
9826
9851
|
"destroy-on-close": "",
|
|
9827
9852
|
modalClass: "allocation-modal"
|
|
9828
9853
|
}, {
|
|
9829
|
-
header: n(() =>
|
|
9854
|
+
header: n(() => D[1] || (D[1] = [
|
|
9830
9855
|
x("div", null, "方法分配", -1)
|
|
9831
|
-
])
|
|
9856
|
+
])),
|
|
9832
9857
|
default: n(() => [
|
|
9833
9858
|
x("div", Wd, [
|
|
9834
9859
|
s(Kd, {
|
|
@@ -9879,8 +9904,8 @@ const bd = (l) => {
|
|
|
9879
9904
|
"close"
|
|
9880
9905
|
],
|
|
9881
9906
|
setup(l, { expose: f, emit: o }) {
|
|
9882
|
-
const h = zl(Al),
|
|
9883
|
-
initModelInfo:
|
|
9907
|
+
const h = zl(Al), _ = o, L = l, {
|
|
9908
|
+
initModelInfo: I,
|
|
9884
9909
|
rememberPreviousModel: V,
|
|
9885
9910
|
initModelItem: R,
|
|
9886
9911
|
initModelList: P,
|
|
@@ -9891,28 +9916,28 @@ const bd = (l) => {
|
|
|
9891
9916
|
initUpload: U,
|
|
9892
9917
|
isSuperAdmin: i
|
|
9893
9918
|
} = Pt(), H = ua(), { loginUserInfo: N } = ml(H);
|
|
9894
|
-
|
|
9895
|
-
const J =
|
|
9919
|
+
S(), S(), S(400);
|
|
9920
|
+
const J = S(!1), y = () => {
|
|
9896
9921
|
i.value && (J.value = !0);
|
|
9897
9922
|
}, v = () => {
|
|
9898
9923
|
J.value = !1, g.show = !1;
|
|
9899
|
-
}, c =
|
|
9924
|
+
}, c = S();
|
|
9900
9925
|
El(() => {
|
|
9901
9926
|
if (!c.value)
|
|
9902
9927
|
return [];
|
|
9903
9928
|
const { myModelList: oe = [], otherList: F = [] } = c.value;
|
|
9904
9929
|
return [...oe, ...F];
|
|
9905
9930
|
});
|
|
9906
|
-
const
|
|
9931
|
+
const Ie = (oe) => ue(oe), ve = async () => {
|
|
9907
9932
|
const oe = await P();
|
|
9908
|
-
c.value =
|
|
9933
|
+
c.value = Ie(oe);
|
|
9909
9934
|
}, j = async () => {
|
|
9910
9935
|
await ve();
|
|
9911
9936
|
};
|
|
9912
9937
|
la(() => {
|
|
9913
9938
|
j();
|
|
9914
9939
|
});
|
|
9915
|
-
const re =
|
|
9940
|
+
const re = S(null), ne = S(R()), Z = {
|
|
9916
9941
|
// platType: [{
|
|
9917
9942
|
// required: true,
|
|
9918
9943
|
// trigger: "blur",
|
|
@@ -9923,11 +9948,11 @@ const bd = (l) => {
|
|
|
9923
9948
|
trigger: "blur",
|
|
9924
9949
|
message: "请输入"
|
|
9925
9950
|
}]
|
|
9926
|
-
}, Be =
|
|
9951
|
+
}, Be = S(!1), me = () => {
|
|
9927
9952
|
Be.value = !0;
|
|
9928
9953
|
}, Oe = () => {
|
|
9929
9954
|
Be.value = !1;
|
|
9930
|
-
}, sl =
|
|
9955
|
+
}, sl = S(!1), hl = async (oe) => {
|
|
9931
9956
|
ne.value = R(oe), me();
|
|
9932
9957
|
}, vl = () => {
|
|
9933
9958
|
ne.value = R(), ke(), Oe();
|
|
@@ -9952,7 +9977,7 @@ const bd = (l) => {
|
|
|
9952
9977
|
oe.close();
|
|
9953
9978
|
}, 2e3);
|
|
9954
9979
|
}
|
|
9955
|
-
}, Je =
|
|
9980
|
+
}, Je = S(!1), Ml = (oe) => {
|
|
9956
9981
|
const F = oe == null ? void 0 : oe.type;
|
|
9957
9982
|
return F === "image/jpeg" || F === "image/png" || F === "image/gif" || F === "image/webp";
|
|
9958
9983
|
}, ye = async (oe) => {
|
|
@@ -9972,7 +9997,7 @@ const bd = (l) => {
|
|
|
9972
9997
|
}, be = async () => {
|
|
9973
9998
|
await B(ne.value);
|
|
9974
9999
|
}, Re = async (oe) => {
|
|
9975
|
-
V(oe),
|
|
10000
|
+
V(oe), I(oe), v(), ns();
|
|
9976
10001
|
}, Ge = async (oe) => {
|
|
9977
10002
|
const F = await Le({
|
|
9978
10003
|
isPlat: !1,
|
|
@@ -10003,12 +10028,12 @@ const bd = (l) => {
|
|
|
10003
10028
|
// userName: loginUserInfo.value?.userName,
|
|
10004
10029
|
// password: loginUserInfo.value?.password,
|
|
10005
10030
|
platId: oe == null ? void 0 : oe.plat_id
|
|
10006
|
-
}, cl = await Promise.all([go(Ke),
|
|
10031
|
+
}, cl = await Promise.all([go(Ke), Sn({
|
|
10007
10032
|
platId: parseInt((Fe = N == null ? void 0 : N.value) == null ? void 0 : Fe.plat_id)
|
|
10008
10033
|
})]);
|
|
10009
|
-
ll = cl == null ? void 0 : cl.every((
|
|
10034
|
+
ll = cl == null ? void 0 : cl.every((Se) => {
|
|
10010
10035
|
var E;
|
|
10011
|
-
return ((E =
|
|
10036
|
+
return ((E = Se == null ? void 0 : Se.data) == null ? void 0 : E.code) === 200;
|
|
10012
10037
|
}), ll && await ke();
|
|
10013
10038
|
});
|
|
10014
10039
|
} catch (Ke) {
|
|
@@ -10018,7 +10043,7 @@ const bd = (l) => {
|
|
|
10018
10043
|
ze.close();
|
|
10019
10044
|
}, 2e3);
|
|
10020
10045
|
}
|
|
10021
|
-
}, He =
|
|
10046
|
+
}, He = S(), ol = S(), tl = (oe) => {
|
|
10022
10047
|
var F;
|
|
10023
10048
|
He.value = oe, oe && ((F = ol.value) == null || F.openDialog());
|
|
10024
10049
|
}, a = async (oe, F) => {
|
|
@@ -10027,7 +10052,7 @@ const bd = (l) => {
|
|
|
10027
10052
|
case "set-default":
|
|
10028
10053
|
const { plat_id: Ke } = ll;
|
|
10029
10054
|
if (!Ke) return;
|
|
10030
|
-
await D(Ke), await ke(), V(ll),
|
|
10055
|
+
await D(Ke), await ke(), V(ll), I(ll);
|
|
10031
10056
|
break;
|
|
10032
10057
|
case "edit":
|
|
10033
10058
|
await hl(ll);
|
|
@@ -10050,16 +10075,16 @@ const bd = (l) => {
|
|
|
10050
10075
|
title: "",
|
|
10051
10076
|
fullscreen: !0
|
|
10052
10077
|
}), b = async () => {
|
|
10053
|
-
|
|
10078
|
+
_("open"), ke();
|
|
10054
10079
|
}, T = () => {
|
|
10055
|
-
g.show = !1,
|
|
10080
|
+
g.show = !1, _("close");
|
|
10056
10081
|
};
|
|
10057
10082
|
bl(() => L == null ? void 0 : L.modelValue, (oe) => {
|
|
10058
10083
|
g.show = oe;
|
|
10059
10084
|
}, { immediate: !0 });
|
|
10060
10085
|
const Y = (oe, F) => {
|
|
10061
10086
|
F == null || F.property;
|
|
10062
|
-
}, fe =
|
|
10087
|
+
}, fe = S(null), Q = Yl({
|
|
10063
10088
|
title: "创建",
|
|
10064
10089
|
type: "create",
|
|
10065
10090
|
show: !1,
|
|
@@ -10069,7 +10094,7 @@ const bd = (l) => {
|
|
|
10069
10094
|
}
|
|
10070
10095
|
}), u = Yl({
|
|
10071
10096
|
value: ""
|
|
10072
|
-
}), k =
|
|
10097
|
+
}), k = S(null), q = S([
|
|
10073
10098
|
{
|
|
10074
10099
|
label: "试验/检测综合管控平台",
|
|
10075
10100
|
value: "试验/检测综合管控平台"
|
|
@@ -10082,7 +10107,7 @@ const bd = (l) => {
|
|
|
10082
10107
|
label: "制造工艺规划及生产过程管控平台",
|
|
10083
10108
|
value: "制造工艺规划及生产过程管控平台"
|
|
10084
10109
|
}
|
|
10085
|
-
]), $ =
|
|
10110
|
+
]), $ = S([
|
|
10086
10111
|
// {
|
|
10087
10112
|
// label: '试验/检测综合管控平台',
|
|
10088
10113
|
// id: 1,
|
|
@@ -10118,7 +10143,7 @@ const bd = (l) => {
|
|
|
10118
10143
|
// ]
|
|
10119
10144
|
// },
|
|
10120
10145
|
]);
|
|
10121
|
-
|
|
10146
|
+
S([
|
|
10122
10147
|
{
|
|
10123
10148
|
label: "编辑",
|
|
10124
10149
|
value: "edit"
|
|
@@ -10128,7 +10153,7 @@ const bd = (l) => {
|
|
|
10128
10153
|
value: "delete"
|
|
10129
10154
|
}
|
|
10130
10155
|
]);
|
|
10131
|
-
const t =
|
|
10156
|
+
const t = S([]), d = S([
|
|
10132
10157
|
{
|
|
10133
10158
|
label: "设为默认",
|
|
10134
10159
|
value: "set-default",
|
|
@@ -10161,7 +10186,7 @@ const bd = (l) => {
|
|
|
10161
10186
|
type: "info",
|
|
10162
10187
|
render: "link"
|
|
10163
10188
|
}
|
|
10164
|
-
]), M =
|
|
10189
|
+
]), M = S([
|
|
10165
10190
|
// {
|
|
10166
10191
|
// prop: 'plat_id',
|
|
10167
10192
|
// label: '客户名称',
|
|
@@ -10214,16 +10239,16 @@ const bd = (l) => {
|
|
|
10214
10239
|
// 业务类型字段
|
|
10215
10240
|
} = F;
|
|
10216
10241
|
return Array.isArray(oe) ? oe == null ? void 0 : oe.map((Fe) => {
|
|
10217
|
-
const
|
|
10242
|
+
const Se = {
|
|
10218
10243
|
[ze]: Fe[ze] || Fe[Ke] || "管理系统",
|
|
10219
10244
|
value: Fe[ze] || Fe[Ke] || "管理系统",
|
|
10220
10245
|
isPlat: !!(Fe != null && Fe.platType)
|
|
10221
10246
|
};
|
|
10222
|
-
return Fe[cl] && Array.isArray(Fe[cl]) && (
|
|
10247
|
+
return Fe[cl] && Array.isArray(Fe[cl]) && (Se[ll] = Fe[cl].map((E) => ({
|
|
10223
10248
|
[ze]: E[ze] || E.businessType || "",
|
|
10224
10249
|
value: E[ze] || E.businessType || "",
|
|
10225
10250
|
isPlat: !!(E != null && E.platType)
|
|
10226
|
-
}))),
|
|
10251
|
+
}))), Se;
|
|
10227
10252
|
}) : [];
|
|
10228
10253
|
}
|
|
10229
10254
|
const Ce = async () => {
|
|
@@ -10238,19 +10263,19 @@ const bd = (l) => {
|
|
|
10238
10263
|
throw new Error(Ke);
|
|
10239
10264
|
}
|
|
10240
10265
|
};
|
|
10241
|
-
|
|
10266
|
+
S({});
|
|
10242
10267
|
const Le = async (oe) => {
|
|
10243
10268
|
var ze, ll, Ke, cl;
|
|
10244
10269
|
let F;
|
|
10245
10270
|
try {
|
|
10246
10271
|
if (!((ze = N == null ? void 0 : N.value) != null && ze.user_id)) return;
|
|
10247
|
-
const Fe = (oe == null ? void 0 : oe.value) === "管理系统" ? "" : oe == null ? void 0 : oe.value,
|
|
10272
|
+
const Fe = (oe == null ? void 0 : oe.value) === "管理系统" ? "" : oe == null ? void 0 : oe.value, Se = await yo({
|
|
10248
10273
|
userId: (ll = N == null ? void 0 : N.value) == null ? void 0 : ll.user_id,
|
|
10249
10274
|
platType: oe != null && oe.isPlat ? Fe : "",
|
|
10250
10275
|
businessType: oe != null && oe.isPlat ? "" : Fe
|
|
10251
10276
|
});
|
|
10252
|
-
if (((Ke =
|
|
10253
|
-
const E = ((cl =
|
|
10277
|
+
if (((Ke = Se == null ? void 0 : Se.data) == null ? void 0 : Ke.code) === 200) {
|
|
10278
|
+
const E = ((cl = Se == null ? void 0 : Se.data) == null ? void 0 : cl.result) || [];
|
|
10254
10279
|
t.value = E, F = E;
|
|
10255
10280
|
}
|
|
10256
10281
|
} catch (Fe) {
|
|
@@ -10258,7 +10283,7 @@ const bd = (l) => {
|
|
|
10258
10283
|
} finally {
|
|
10259
10284
|
}
|
|
10260
10285
|
return F;
|
|
10261
|
-
}, dl =
|
|
10286
|
+
}, dl = S(null), we = async (oe) => {
|
|
10262
10287
|
dl.value = oe, await Le(oe);
|
|
10263
10288
|
}, ce = () => {
|
|
10264
10289
|
var oe, F;
|
|
@@ -10269,12 +10294,12 @@ const bd = (l) => {
|
|
|
10269
10294
|
isPlat: !!((oe = dl.value) != null && oe.platType),
|
|
10270
10295
|
value: (F = dl.value) == null ? void 0 : F.value
|
|
10271
10296
|
});
|
|
10272
|
-
}, De =
|
|
10297
|
+
}, De = S(), ge = () => {
|
|
10273
10298
|
var oe;
|
|
10274
10299
|
(oe = De.value) == null || oe.openDialog();
|
|
10275
10300
|
};
|
|
10276
10301
|
return f({ openDialog: y }), (oe, F) => {
|
|
10277
|
-
const ze = ae("svg-icon"), ll = ae("el-button"), Ke = ae("el-tree"), cl = ae("el-card"), Fe = ae("el-input"),
|
|
10302
|
+
const ze = ae("svg-icon"), ll = ae("el-button"), Ke = ae("el-tree"), cl = ae("el-card"), Fe = ae("el-input"), Se = ae("el-table-column"), E = ae("el-icon"), de = ae("el-image"), Ae = ae("el-tag"), _e = ae("el-link"), qe = ae("el-table"), X = ae("el-dialog"), ie = ae("el-cascader"), xe = ae("el-form-item"), Pe = ae("el-col"), le = ae("el-row"), Ue = ae("el-upload"), gl = ae("el-form");
|
|
10278
10303
|
return p(), G(al, null, [
|
|
10279
10304
|
s(X, {
|
|
10280
10305
|
class: "model-management-dialog",
|
|
@@ -10307,10 +10332,11 @@ const bd = (l) => {
|
|
|
10307
10332
|
type: "primary",
|
|
10308
10333
|
onClick: ce
|
|
10309
10334
|
}, {
|
|
10310
|
-
default: n(() =>
|
|
10311
|
-
pl("查看所有"
|
|
10312
|
-
])
|
|
10313
|
-
_: 1
|
|
10335
|
+
default: n(() => F[8] || (F[8] = [
|
|
10336
|
+
pl("查看所有")
|
|
10337
|
+
])),
|
|
10338
|
+
_: 1,
|
|
10339
|
+
__: [8]
|
|
10314
10340
|
})
|
|
10315
10341
|
]),
|
|
10316
10342
|
default: n(() => [
|
|
@@ -10350,19 +10376,21 @@ const bd = (l) => {
|
|
|
10350
10376
|
type: "primary",
|
|
10351
10377
|
onClick: ge
|
|
10352
10378
|
}, {
|
|
10353
|
-
default: n(() =>
|
|
10354
|
-
pl("方法库"
|
|
10355
|
-
])
|
|
10356
|
-
_: 1
|
|
10379
|
+
default: n(() => F[10] || (F[10] = [
|
|
10380
|
+
pl("方法库")
|
|
10381
|
+
])),
|
|
10382
|
+
_: 1,
|
|
10383
|
+
__: [10]
|
|
10357
10384
|
}),
|
|
10358
10385
|
s(ll, {
|
|
10359
10386
|
type: "primary",
|
|
10360
10387
|
onClick: F[1] || (F[1] = (W) => hl())
|
|
10361
10388
|
}, {
|
|
10362
|
-
default: n(() =>
|
|
10363
|
-
pl("创建系统"
|
|
10364
|
-
])
|
|
10365
|
-
_: 1
|
|
10389
|
+
default: n(() => F[11] || (F[11] = [
|
|
10390
|
+
pl("创建系统")
|
|
10391
|
+
])),
|
|
10392
|
+
_: 1,
|
|
10393
|
+
__: [11]
|
|
10366
10394
|
})
|
|
10367
10395
|
])
|
|
10368
10396
|
])
|
|
@@ -10380,13 +10408,13 @@ const bd = (l) => {
|
|
|
10380
10408
|
onRowDblclick: Y
|
|
10381
10409
|
}, {
|
|
10382
10410
|
default: n(() => [
|
|
10383
|
-
s(
|
|
10411
|
+
s(Se, {
|
|
10384
10412
|
type: "index",
|
|
10385
10413
|
label: "序号",
|
|
10386
10414
|
width: "70",
|
|
10387
10415
|
align: "center"
|
|
10388
10416
|
}),
|
|
10389
|
-
(p(!0), G(al, null, fl(M.value, (W) => (p(), he(
|
|
10417
|
+
(p(!0), G(al, null, fl(M.value, (W) => (p(), he(Se, {
|
|
10390
10418
|
"min-width": W == null ? void 0 : W.minWidth,
|
|
10391
10419
|
key: W == null ? void 0 : W.prop,
|
|
10392
10420
|
prop: W == null ? void 0 : W.prop,
|
|
@@ -10412,8 +10440,8 @@ const bd = (l) => {
|
|
|
10412
10440
|
_: 1
|
|
10413
10441
|
})
|
|
10414
10442
|
]),
|
|
10415
|
-
_:
|
|
10416
|
-
},
|
|
10443
|
+
_: 2
|
|
10444
|
+
}, 1032, ["src"])) : Ve("", !0),
|
|
10417
10445
|
(W == null ? void 0 : W.render) === "tag" && (je != null && je[W == null ? void 0 : W.prop]) ? (p(), he(Ae, {
|
|
10418
10446
|
key: 1,
|
|
10419
10447
|
style: { color: "#fff" },
|
|
@@ -10428,7 +10456,7 @@ const bd = (l) => {
|
|
|
10428
10456
|
]),
|
|
10429
10457
|
_: 2
|
|
10430
10458
|
}, 1032, ["min-width", "prop", "label", "fixed"]))), 128)),
|
|
10431
|
-
s(
|
|
10459
|
+
s(Se, {
|
|
10432
10460
|
fixed: "right",
|
|
10433
10461
|
prop: "operate",
|
|
10434
10462
|
label: "操作",
|
|
@@ -10441,7 +10469,7 @@ const bd = (l) => {
|
|
|
10441
10469
|
return p(), G(al, {
|
|
10442
10470
|
key: je == null ? void 0 : je.value
|
|
10443
10471
|
}, [
|
|
10444
|
-
(je == null ? void 0 : je.render) === "link" ? (p(), he(
|
|
10472
|
+
(je == null ? void 0 : je.render) === "link" ? (p(), he(_e, {
|
|
10445
10473
|
key: 0,
|
|
10446
10474
|
underline: "always",
|
|
10447
10475
|
type: je == null ? void 0 : je.type,
|
|
@@ -10745,7 +10773,7 @@ const bd = (l) => {
|
|
|
10745
10773
|
content: h
|
|
10746
10774
|
};
|
|
10747
10775
|
} };
|
|
10748
|
-
}, fp = { class: "workspace-wrapper" }, hp = { class: "workspace-header" }, vp = { class: "model-back" }, gp = { class: "workspace-body" }, yp = { class: "body-left" }, bp = { class: "operate-wrapper" }, Cp = ["icon"], mp = ["onClick"], wp = { class: "operate-label" }, kp = { class: "body-right" }, Ap = { class: "right-content" }, Mp = { class: "history-list" },
|
|
10776
|
+
}, fp = { class: "workspace-wrapper" }, hp = { class: "workspace-header" }, vp = { class: "model-back" }, gp = { class: "workspace-body" }, yp = { class: "body-left" }, bp = { class: "operate-wrapper" }, Cp = ["icon"], mp = ["onClick"], wp = { class: "operate-label" }, kp = { class: "body-right" }, Ap = { class: "right-content" }, Mp = { class: "history-list" }, _p = ["onDblclick"], Ip = ["title"], Sp = ["title"], Tp = ["title"], Bp = /* @__PURE__ */ Kl({
|
|
10749
10777
|
__name: "index",
|
|
10750
10778
|
props: {
|
|
10751
10779
|
historyData: { default: () => [] }
|
|
@@ -10756,12 +10784,12 @@ const bd = (l) => {
|
|
|
10756
10784
|
setup(l, { expose: f, emit: o }) {
|
|
10757
10785
|
const h = o;
|
|
10758
10786
|
zl(Al);
|
|
10759
|
-
const { isSuperAdmin:
|
|
10787
|
+
const { isSuperAdmin: _ } = Rt(), L = S({
|
|
10760
10788
|
show: !1,
|
|
10761
10789
|
title: "",
|
|
10762
10790
|
fullscreen: !0
|
|
10763
|
-
}),
|
|
10764
|
-
|
|
10791
|
+
}), I = () => {
|
|
10792
|
+
_.value && (L.value.show = !0);
|
|
10765
10793
|
}, V = () => {
|
|
10766
10794
|
L.value.show = !1;
|
|
10767
10795
|
}, R = () => {
|
|
@@ -10787,7 +10815,7 @@ const bd = (l) => {
|
|
|
10787
10815
|
});
|
|
10788
10816
|
};
|
|
10789
10817
|
return f({
|
|
10790
|
-
openDialog:
|
|
10818
|
+
openDialog: I,
|
|
10791
10819
|
closeDialog: V
|
|
10792
10820
|
}), (B, D) => {
|
|
10793
10821
|
const U = ae("svg-icon"), i = ae("el-dialog");
|
|
@@ -10840,7 +10868,7 @@ const bd = (l) => {
|
|
|
10840
10868
|
], -1)),
|
|
10841
10869
|
x("div", Ap, [
|
|
10842
10870
|
x("div", Mp, [
|
|
10843
|
-
(p(!0), G(al, null, fl(
|
|
10871
|
+
(p(!0), G(al, null, fl(B.historyData, (H) => (p(), G("div", {
|
|
10844
10872
|
class: "history-item",
|
|
10845
10873
|
key: H.path,
|
|
10846
10874
|
onDblclick: (N) => e(H)
|
|
@@ -10848,16 +10876,16 @@ const bd = (l) => {
|
|
|
10848
10876
|
x("div", {
|
|
10849
10877
|
class: "history-name",
|
|
10850
10878
|
title: H.name
|
|
10851
|
-
}, nl(H.name), 9,
|
|
10879
|
+
}, nl(H.name), 9, Ip),
|
|
10852
10880
|
x("div", {
|
|
10853
10881
|
class: "history-path",
|
|
10854
10882
|
title: H.path
|
|
10855
|
-
}, nl(H.path), 9,
|
|
10883
|
+
}, nl(H.path), 9, Sp),
|
|
10856
10884
|
x("div", {
|
|
10857
10885
|
class: "history-time",
|
|
10858
10886
|
title: r(on)(H.modifiedAt)
|
|
10859
10887
|
}, nl(r(on)(H.modifiedAt)), 9, Tp)
|
|
10860
|
-
], 40,
|
|
10888
|
+
], 40, _p))), 128))
|
|
10861
10889
|
])
|
|
10862
10890
|
])
|
|
10863
10891
|
])
|
|
@@ -10920,11 +10948,11 @@ const bd = (l) => {
|
|
|
10920
10948
|
},
|
|
10921
10949
|
emits: ["change", "contentChange", "buildContent", "openThreeBuild", "threeData", "clearLogin", "clearFileContent", "systemContent", "executeWorkspace", "updateVersion"],
|
|
10922
10950
|
setup(l, { emit: f }) {
|
|
10923
|
-
const o = l, h = f,
|
|
10951
|
+
const o = l, h = f, _ = S([]), L = S(0), I = S([]), V = S([]), R = S(0), P = va(Al), ue = zl(Al), { originalData: e } = ml(P), { platform: B } = ml(ue), D = S(null), U = S(0), i = S([]), H = S(0), N = S([]), J = ua(), { loginUserInfo: y, systemKey: v } = ml(J), c = $a(Al), { isSuperAdmin: Ie } = Rt(), {
|
|
10924
10952
|
initModelList: ve,
|
|
10925
10953
|
getPreviousModel: j,
|
|
10926
10954
|
initModelInfo: re
|
|
10927
|
-
} = Pt(), { initModelToWorkspaceData: ne } = pp(), Z =
|
|
10955
|
+
} = Pt(), { initModelToWorkspaceData: ne } = pp(), Z = S(!1), Be = S(!1), me = () => {
|
|
10928
10956
|
Z.value = !0;
|
|
10929
10957
|
}, Oe = () => {
|
|
10930
10958
|
Z.value = !1;
|
|
@@ -10996,9 +11024,9 @@ const bd = (l) => {
|
|
|
10996
11024
|
});
|
|
10997
11025
|
};
|
|
10998
11026
|
bl(
|
|
10999
|
-
() =>
|
|
11027
|
+
() => I.value,
|
|
11000
11028
|
() => {
|
|
11001
|
-
H.value ===
|
|
11029
|
+
H.value === I.value.length && I.value.length !== 0 && (_.value = I.value);
|
|
11002
11030
|
},
|
|
11003
11031
|
{ deep: !0, immediate: !0 }
|
|
11004
11032
|
);
|
|
@@ -11008,12 +11036,12 @@ const bd = (l) => {
|
|
|
11008
11036
|
ue.setActiveMenuPath(""), ue.setActiveTopMenuPath(""), ue.setAsideMenus([]);
|
|
11009
11037
|
const u = Q.target.files;
|
|
11010
11038
|
if (!u) return;
|
|
11011
|
-
|
|
11039
|
+
_.value = [], I.value = [], H.value = u.length;
|
|
11012
11040
|
const k = Array.from(u).map(async (q) => await new Promise(($) => {
|
|
11013
11041
|
const t = new FileReader();
|
|
11014
11042
|
t.onload = (d) => {
|
|
11015
11043
|
try {
|
|
11016
|
-
|
|
11044
|
+
I.value.push(d.target.result), U.value++;
|
|
11017
11045
|
} catch (M) {
|
|
11018
11046
|
console.error("解析失败:", M);
|
|
11019
11047
|
return;
|
|
@@ -11025,7 +11053,7 @@ const bd = (l) => {
|
|
|
11025
11053
|
bl(
|
|
11026
11054
|
() => [o == null ? void 0 : o.content, o == null ? void 0 : o.jsonContents],
|
|
11027
11055
|
async () => {
|
|
11028
|
-
await Yo(),
|
|
11056
|
+
await Yo(), _.value = o.content, V.value = o == null ? void 0 : o.jsonContents;
|
|
11029
11057
|
},
|
|
11030
11058
|
{ deep: !0, immediate: !0 }
|
|
11031
11059
|
), bl(
|
|
@@ -11103,7 +11131,7 @@ const bd = (l) => {
|
|
|
11103
11131
|
ue.setImportLoading(!1);
|
|
11104
11132
|
}
|
|
11105
11133
|
}, tl = async () => {
|
|
11106
|
-
if (!
|
|
11134
|
+
if (!Ie.value)
|
|
11107
11135
|
return;
|
|
11108
11136
|
const Q = await ve();
|
|
11109
11137
|
let u = null, k = Q[0];
|
|
@@ -11126,11 +11154,11 @@ const bd = (l) => {
|
|
|
11126
11154
|
const a = async () => {
|
|
11127
11155
|
var u, k;
|
|
11128
11156
|
h("clearFileContent"), ue.setImportLoading(!0);
|
|
11129
|
-
const Q = await
|
|
11157
|
+
const Q = await Sn({
|
|
11130
11158
|
platId: parseInt((u = y == null ? void 0 : y.value) == null ? void 0 : u.plat_id)
|
|
11131
11159
|
});
|
|
11132
11160
|
((k = Q == null ? void 0 : Q.data) == null ? void 0 : k.code) === 200 && (ue.setRawMenus([]), P.setRefreshCurStructure(!0), ue.setAsideMenus([]), ue.setAsideEditMenus([]), c.setSelectTitle([]), ue.setActiveMenuPath("/")), ue.setImportLoading(!1);
|
|
11133
|
-
}, g =
|
|
11161
|
+
}, g = S(), b = () => {
|
|
11134
11162
|
var Q;
|
|
11135
11163
|
h("executeWorkspace", {
|
|
11136
11164
|
type: ht.GET_HISTORY_DATA
|
|
@@ -11150,7 +11178,7 @@ const bd = (l) => {
|
|
|
11150
11178
|
h("executeWorkspace", Q);
|
|
11151
11179
|
}, Y = () => {
|
|
11152
11180
|
const { contentType: Q, content: u } = o.workspaceInfo || {};
|
|
11153
|
-
Q !== up.ERROR.value && (ue.setActiveMenuPath(""), ue.setActiveTopMenuPath(""), ue.setAsideMenus([]),
|
|
11181
|
+
Q !== up.ERROR.value && (ue.setActiveMenuPath(""), ue.setActiveTopMenuPath(""), ue.setAsideMenus([]), _.value = [], I.value = [], H.value = 1, I.value.push(u), U.value++, L.value++);
|
|
11154
11182
|
}, fe = async () => {
|
|
11155
11183
|
var u;
|
|
11156
11184
|
const Q = Ta.service({
|
|
@@ -11189,7 +11217,7 @@ const bd = (l) => {
|
|
|
11189
11217
|
(p(), he(cd, {
|
|
11190
11218
|
showButton: o == null ? void 0 : o.showButton,
|
|
11191
11219
|
platform: r(B),
|
|
11192
|
-
content:
|
|
11220
|
+
content: _.value,
|
|
11193
11221
|
onChange: ye,
|
|
11194
11222
|
jsonContents: V.value,
|
|
11195
11223
|
onContentChange: Ml,
|
|
@@ -11214,9 +11242,10 @@ const bd = (l) => {
|
|
|
11214
11242
|
s(k, { name: "model" })
|
|
11215
11243
|
]),
|
|
11216
11244
|
default: n(() => [
|
|
11217
|
-
u[2] || (u[2] = pl(" 模型 "
|
|
11245
|
+
u[2] || (u[2] = pl(" 模型 "))
|
|
11218
11246
|
]),
|
|
11219
|
-
_: 1
|
|
11247
|
+
_: 1,
|
|
11248
|
+
__: [2]
|
|
11220
11249
|
})) : Ve("", !0)
|
|
11221
11250
|
];
|
|
11222
11251
|
}),
|
|
@@ -11230,9 +11259,10 @@ const bd = (l) => {
|
|
|
11230
11259
|
s(k, { name: "模板管理" })
|
|
11231
11260
|
]),
|
|
11232
11261
|
default: n(() => [
|
|
11233
|
-
u[3] || (u[3] = pl(" 模型列表 "
|
|
11262
|
+
u[3] || (u[3] = pl(" 模型列表 "))
|
|
11234
11263
|
]),
|
|
11235
|
-
_: 1
|
|
11264
|
+
_: 1,
|
|
11265
|
+
__: [3]
|
|
11236
11266
|
}),
|
|
11237
11267
|
s(q, {
|
|
11238
11268
|
onClick: C,
|
|
@@ -11252,9 +11282,10 @@ const bd = (l) => {
|
|
|
11252
11282
|
style: { display: "none" },
|
|
11253
11283
|
multiple: ""
|
|
11254
11284
|
}, null, 32)),
|
|
11255
|
-
u[4] || (u[4] = pl(" 导入模型 "
|
|
11285
|
+
u[4] || (u[4] = pl(" 导入模型 "))
|
|
11256
11286
|
]),
|
|
11257
|
-
_: 1
|
|
11287
|
+
_: 1,
|
|
11288
|
+
__: [4]
|
|
11258
11289
|
}),
|
|
11259
11290
|
s(q, {
|
|
11260
11291
|
onClick: Re,
|
|
@@ -11264,9 +11295,10 @@ const bd = (l) => {
|
|
|
11264
11295
|
s(k, { name: "export" })
|
|
11265
11296
|
]),
|
|
11266
11297
|
default: n(() => [
|
|
11267
|
-
u[5] || (u[5] = pl(" 导出模型 "
|
|
11298
|
+
u[5] || (u[5] = pl(" 导出模型 "))
|
|
11268
11299
|
]),
|
|
11269
|
-
_: 1
|
|
11300
|
+
_: 1,
|
|
11301
|
+
__: [5]
|
|
11270
11302
|
}),
|
|
11271
11303
|
s(q, {
|
|
11272
11304
|
onClick: a,
|
|
@@ -11276,9 +11308,10 @@ const bd = (l) => {
|
|
|
11276
11308
|
s(k, { name: "clear" })
|
|
11277
11309
|
]),
|
|
11278
11310
|
default: n(() => [
|
|
11279
|
-
u[6] || (u[6] = pl(" 清空模型 "
|
|
11311
|
+
u[6] || (u[6] = pl(" 清空模型 "))
|
|
11280
11312
|
]),
|
|
11281
|
-
_: 1
|
|
11313
|
+
_: 1,
|
|
11314
|
+
__: [6]
|
|
11282
11315
|
})
|
|
11283
11316
|
])
|
|
11284
11317
|
]),
|
|
@@ -11293,9 +11326,10 @@ const bd = (l) => {
|
|
|
11293
11326
|
s(k, { name: "工作台" })
|
|
11294
11327
|
]),
|
|
11295
11328
|
default: n(() => [
|
|
11296
|
-
u[7] || (u[7] = pl(" 工作区 "
|
|
11329
|
+
u[7] || (u[7] = pl(" 工作区 "))
|
|
11297
11330
|
]),
|
|
11298
|
-
_: 1
|
|
11331
|
+
_: 1,
|
|
11332
|
+
__: [7]
|
|
11299
11333
|
})) : Ve("", !0)
|
|
11300
11334
|
]),
|
|
11301
11335
|
_: 1
|
|
@@ -11327,25 +11361,28 @@ const bd = (l) => {
|
|
|
11327
11361
|
type: "primary",
|
|
11328
11362
|
onClick: He
|
|
11329
11363
|
}, {
|
|
11330
|
-
default: n(() =>
|
|
11331
|
-
pl("导出模型"
|
|
11332
|
-
])
|
|
11333
|
-
_: 1
|
|
11364
|
+
default: n(() => u[8] || (u[8] = [
|
|
11365
|
+
pl("导出模型")
|
|
11366
|
+
])),
|
|
11367
|
+
_: 1,
|
|
11368
|
+
__: [8]
|
|
11334
11369
|
}),
|
|
11335
11370
|
s(q, { disabled: "" }, {
|
|
11336
|
-
default: n(() =>
|
|
11337
|
-
pl("导出数据"
|
|
11338
|
-
])
|
|
11339
|
-
_: 1
|
|
11371
|
+
default: n(() => u[9] || (u[9] = [
|
|
11372
|
+
pl("导出数据")
|
|
11373
|
+
])),
|
|
11374
|
+
_: 1,
|
|
11375
|
+
__: [9]
|
|
11340
11376
|
}),
|
|
11341
11377
|
s(q, {
|
|
11342
11378
|
type: "primary",
|
|
11343
11379
|
onClick: ol
|
|
11344
11380
|
}, {
|
|
11345
|
-
default: n(() =>
|
|
11346
|
-
pl("导出模型数据"
|
|
11347
|
-
])
|
|
11348
|
-
_: 1
|
|
11381
|
+
default: n(() => u[10] || (u[10] = [
|
|
11382
|
+
pl("导出模型数据")
|
|
11383
|
+
])),
|
|
11384
|
+
_: 1,
|
|
11385
|
+
__: [10]
|
|
11349
11386
|
})
|
|
11350
11387
|
])
|
|
11351
11388
|
]),
|
|
@@ -11354,7 +11391,7 @@ const bd = (l) => {
|
|
|
11354
11391
|
]);
|
|
11355
11392
|
};
|
|
11356
11393
|
}
|
|
11357
|
-
}),
|
|
11394
|
+
}), hf = /* @__PURE__ */ aa(Up, [["__scopeId", "data-v-a8c2fe98"]]);
|
|
11358
11395
|
export {
|
|
11359
|
-
|
|
11396
|
+
hf as default
|
|
11360
11397
|
};
|