ss-component-new 1.3.654 → 1.3.655
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{array-Bo1MEcpM.js → array-ZHuLeGAy.js} +2 -2
- package/dist/{index-DiODSadc.js → index-BIi0ObCv.js} +1 -1
- package/dist/{index-CoI9-Jrv.js → index-BJl9Nv5S.js} +3 -3
- package/dist/{index-CpI9OldX.js → index-BNh0ycfA.js} +1 -1
- package/dist/{index-DkGC8tEN.js → index-Bbu5xmeM.js} +1 -1
- package/dist/{index-CqMlvK0q.js → index-Bdq3ARgu.js} +2 -2
- package/dist/{index-DATgv2nm.js → index-BlcDLNNV.js} +1 -1
- package/dist/{index-CKxKubbz.js → index-BuUlQ93D.js} +62 -62
- package/dist/{index-C96PSG4Y.js → index-CpRTBlBR.js} +792 -784
- package/dist/{index-DH6pHKv6.js → index-CqPxEd6O.js} +1 -1
- package/dist/{index-BYZ9KXGk.js → index-DngwQbVQ.js} +2 -2
- package/dist/{index-pTf2oK3c.js → index-DoyoW4XQ.js} +1 -1
- package/dist/{index-D2xHrOIy.js → index-DxqKfinV.js} +2 -2
- package/dist/{main-DeJ_SrGD.js → main-BXbC0ROJ.js} +2 -2
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +5 -5
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-CeMm3u3-.js → threeModel-B6_w8pQV.js} +1 -1
- package/dist/{threeSceneView-CewXUgld.js → threeSceneView-D3DCoIN1.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-DAxHqVvE.js → threeSceneViewForCPMPIP-C2KSH393.js} +1 -1
- package/dist/{threeViewerHost-C4r_q8-R.js → threeViewerHost-BP7bxLpf.js} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as k, computed as ae, resolveComponent as te, openBlock as p, createElementBlock as M, Fragment as ue, renderList as ce, createElementVNode as w, toDisplayString as re, createVNode as R, reactive as la, watch as be, createBlock as j, resolveDynamicComponent as le, unref as _, withCtx as L, isRef as Ye, createTextVNode as de, normalizeStyle as ta, createCommentVNode as q, withModifiers as ve, normalizeClass as qe, nextTick as na } from "vue";
|
|
2
|
-
import { T as Ie, g as aa, D as oa, E as sa, F as Je, U as ra } from "./index-
|
|
2
|
+
import { T as Ie, g as aa, D as oa, E as sa, F as Je, U as ra } from "./index-CpRTBlBR.js";
|
|
3
3
|
import { a as Ce, p as he, s as ie, c as K, u as ke, E as ua } from "./index-DGObzWyL.js";
|
|
4
4
|
import { _ as we } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import ca from "./index-BFqUz4pN.js";
|
|
6
|
-
import { e as ia, d as da } from "./index-
|
|
6
|
+
import { e as ia, d as da } from "./index-Bbu5xmeM.js";
|
|
7
7
|
import { s as va } from "./index-DJrzqi4-.js";
|
|
8
8
|
import { E as pa } from "./request-DiogHwkN.js";
|
|
9
9
|
const fa = { class: "type-select" }, ha = { class: "group-label" }, ga = { class: "group-items" }, ma = ["onDragstart"], ba = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as n, ref as c, defineComponent as s, reactive as p, onMounted as i, openBlock as u, createElementBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { V as m } from "./index-
|
|
2
|
+
import { V as m } from "./index-CpRTBlBR.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-C9DBY1gg.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = c([]), g = n(() => [
|
|
@@ -4,16 +4,16 @@ import { S as Mt } from "./index-dD-mKgue.js";
|
|
|
4
4
|
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VfNiiQre.js";
|
|
5
5
|
import { I as ut } from "./request-DiogHwkN.js";
|
|
6
6
|
import { s as wt } from "./index-DJrzqi4-.js";
|
|
7
|
-
import { d as Bt } from "./index-
|
|
7
|
+
import { d as Bt } from "./index-Bbu5xmeM.js";
|
|
8
8
|
import { useRouter as At } from "vue-router";
|
|
9
9
|
import { a as Et, e as Ft, f as Lt, g as Ut, h as jt } from "./index-ChNfRlIP.js";
|
|
10
10
|
import { g as $e, u as Pt, b as ze, c as Ot, a as Rt } from "./index-YVR3acYT.js";
|
|
11
|
-
import { g as Kt } from "./index-
|
|
11
|
+
import { g as Kt } from "./index-CpRTBlBR.js";
|
|
12
12
|
import { f as $t } from "./menuIndex-Dt0NyAyE.js";
|
|
13
13
|
import { d as qe, e as Je, n as zt } from "./index-8GyCRFFa.js";
|
|
14
14
|
import { u as qt } from "./index-HT2w2M6q.js";
|
|
15
15
|
import { _ as Jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const Be = vt(() => import("./index-
|
|
16
|
+
const Be = vt(() => import("./index-Bbu5xmeM.js").then((i) => i.q));
|
|
17
17
|
Be.install = (i) => {
|
|
18
18
|
i.component("ssMenu", Be);
|
|
19
19
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, defineComponent as m, openBlock as f, createElementBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
-
import { V as C } from "./index-
|
|
2
|
+
import { V as C } from "./index-CpRTBlBR.js";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = () => {
|
|
5
5
|
const i = l("日志管理"), o = l(), a = l([
|
|
@@ -8,7 +8,7 @@ import { _ as T0 } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js
|
|
|
8
8
|
import { m as cn, B as n9, X as xl } from "./index-8GyCRFFa.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { s as ri } from "./index-DJrzqi4-.js";
|
|
11
|
-
import { T as hn, a as s9 } from "./threeViewerHost-
|
|
11
|
+
import { T as hn, a as s9 } from "./threeViewerHost-BP7bxLpf.js";
|
|
12
12
|
import { A as l9 } from "./index-ZzGc5CBr.js";
|
|
13
13
|
var o9 = "[object Date]";
|
|
14
14
|
function r9(n) {
|
|
@@ -4,11 +4,11 @@ import { u as Se, o as ft, s as de, f as ce } from "./index-HT2w2M6q.js";
|
|
|
4
4
|
import { M as Le, N as _t, u as vt, p as gt } from "./index-DGObzWyL.js";
|
|
5
5
|
import { s as fe } from "./index-DJrzqi4-.js";
|
|
6
6
|
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VfNiiQre.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-CpRTBlBR.js";
|
|
8
8
|
import "./index-dD-mKgue.js";
|
|
9
9
|
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
10
10
|
import "./index-8GyCRFFa.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-DoyoW4XQ.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { c as me } from "./clone-Ddn1p6-1.js";
|
|
14
14
|
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */ J({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, openBlock as c, createElementBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { u as h, p as k, s as x, c as m } from "./index-DGObzWyL.js";
|
|
3
|
-
import { V as M } from "./index-
|
|
3
|
+
import { V as M } from "./index-CpRTBlBR.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-Bvvz41NY.js";
|
|
5
5
|
import { g as w } from "./index-YVR3acYT.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { computed as Vl, defineComponent as zl, defineProps as Co, ref as T, watch as Ml, onMounted as da, onUnmounted as Rt, resolveComponent as ne, openBlock as f, createBlock as he, withCtx as r, createElementVNode as L, toDisplayString as dl, createElementBlock as X, Fragment as cl, createVNode as s, renderList as wl, withModifiers as Jl, normalizeStyle as Yl, createTextVNode as bl, createCommentVNode as Be, unref as o, resolveDynamicComponent as ha, provide as _t, shallowRef as dr, nextTick as
|
|
2
|
-
import { m as wo, a as ko, b as mo, c as hr } from "./array-
|
|
1
|
+
import { computed as Vl, defineComponent as zl, defineProps as Co, ref as T, watch as Ml, onMounted as da, onUnmounted as Rt, resolveComponent as ne, openBlock as f, createBlock as he, withCtx as r, createElementVNode as L, toDisplayString as dl, createElementBlock as X, Fragment as cl, createVNode as s, renderList as wl, withModifiers as Jl, normalizeStyle as Yl, createTextVNode as bl, createCommentVNode as Be, unref as o, resolveDynamicComponent as ha, provide as _t, shallowRef as dr, nextTick as ra, onBeforeUnmount as pr, resolveDirective as xt, withDirectives as ya, vShow as et, renderSlot as va, normalizeClass as ql, mergeProps as ja, createSlots as zt, defineAsyncComponent as Gs, reactive as aa, withKeys as fr } from "vue";
|
|
2
|
+
import { m as wo, a as ko, b as mo, c as hr } from "./array-ZHuLeGAy.js";
|
|
3
3
|
import { u as oa, p as Bl, s as Il, c as Ll, a as Ea, b as Ca, j as $t, k as vr, m as gr, n as yr, o as yt, d as Gt, l as br, q as st, e as ht, r as Cr, g as wr, E as nt, t as co, w as It, v as Tt, x as yn, y as kr, z as bn, i as mr, A as Xt, B as Ha, C as Xs, D as Ar, F as Cn, G as Mr, H as Sr, I as wn, J as Zs, K as _r, L as Ir } from "./index-DGObzWyL.js";
|
|
4
|
-
import { _ as Pt, s as Ao, a as Tr } from "./index-
|
|
4
|
+
import { _ as Pt, s as Ao, a as Tr } from "./index-BJl9Nv5S.js";
|
|
5
5
|
import { useRouter as bt } from "vue-router";
|
|
6
6
|
import { a as Vt, d as Mo, e as Lt, f as Ot, g as Nt, h as Ut, t as Er, c as Dr, b as Br } from "./index-ChNfRlIP.js";
|
|
7
|
-
import { g as gt, s as Rr, a as kn, b as xr, c as $s, _ as io, u as Pr, d as mn, X as Vr, Q as Lr } from "./index-
|
|
7
|
+
import { g as gt, s as Rr, a as kn, b as xr, c as $s, _ as io, u as Pr, d as mn, X as Vr, Q as Lr } from "./index-Bbu5xmeM.js";
|
|
8
8
|
import { u as An, g as en, b as ln, c as Or, a as Nr } from "./index-YVR3acYT.js";
|
|
9
9
|
import { E as jl, i as Ur, d as Mn, b as Ka, e as it, g as ut, I as jr, s as Da, h as Sn, a as _n, c as In, j as Qr, k as Kr, p as Tn, m as Hr, l as Wr, n as qr, f as Fr } from "./request-DiogHwkN.js";
|
|
10
10
|
import { b as Yr, g as En, c as Jr, u as So, d as Pa, e as Bt, o as Dn, l as zr, n as Gr, f as Xr, h as lt, s as Yt, t as Zr, i as $r } from "./index-8GyCRFFa.js";
|
|
11
11
|
import { d as ec, g as Et, a as lc } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VfNiiQre.js";
|
|
12
|
-
import { t as ac, a as Bn, b as Qa, u as Rn, c as Wt, s as xa, r as ga, o as Na, d as Ua, e as xn, f as uo, h as Pn, i as _o, j as tc, k as oc, l as mt, m as eo, n as At, p as Ja, q as dt, v as pt, w as za, x as sc, y as Ga, z as Xa, A as nc, B as Za, C as $a, D as an, E as tn, F as on, G as qt, H as Xl, I as rc, J as cc, K as lo, L as ic, M as uc, N as dc, O as pc, g as Vn, P as fc, Q as sn, R as hc, S as vc } from "./index-
|
|
12
|
+
import { t as ac, a as Bn, b as Qa, u as Rn, c as Wt, s as xa, r as ga, o as Na, d as Ua, e as xn, f as uo, h as Pn, i as _o, j as tc, k as oc, l as mt, m as eo, n as At, p as Ja, q as dt, v as pt, w as za, x as sc, y as Ga, z as Xa, A as nc, B as Za, C as $a, D as an, E as tn, F as on, G as qt, H as Xl, I as rc, J as cc, K as lo, L as ic, M as uc, N as dc, O as pc, g as Vn, P as fc, Q as sn, R as hc, S as vc } from "./index-CpRTBlBR.js";
|
|
13
13
|
import "./index-3ciBVJPa.js";
|
|
14
14
|
import "./index-Bvvz41NY.js";
|
|
15
|
-
import { c as Io, f as
|
|
15
|
+
import { c as Io, f as ua, b as Ln, a as gc, g as yc, d as nn } from "./menuIndex-Dt0NyAyE.js";
|
|
16
16
|
import { _ as pa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
import { s as Ma } from "./index-DJrzqi4-.js";
|
|
18
18
|
import { C as bc } from "./index-ZzGc5CBr.js";
|
|
19
19
|
import { S as Fl } from "./index-dD-mKgue.js";
|
|
20
|
-
import Cc from "./threeModel-
|
|
20
|
+
import Cc from "./threeModel-B6_w8pQV.js";
|
|
21
21
|
import { _ as Va } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
22
|
-
import { T as po, u as wc, a as kc } from "./threeViewerHost-
|
|
23
|
-
import { s as fo } from "./index-
|
|
22
|
+
import { T as po, u as wc, a as kc } from "./threeViewerHost-BP7bxLpf.js";
|
|
23
|
+
import { s as fo } from "./index-DoyoW4XQ.js";
|
|
24
24
|
import { u as mc } from "./index-WPJbEuld.js";
|
|
25
25
|
import { u as Ac } from "./index-D-5v1Jx7.js";
|
|
26
26
|
import { u as On } from "./index-HT2w2M6q.js";
|
|
@@ -1040,23 +1040,23 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1040
1040
|
(Nl) => (Nl == null ? void 0 : Nl.father_name) === la || (Nl == null ? void 0 : Nl.father_name) === la + "/"
|
|
1041
1041
|
)) return;
|
|
1042
1042
|
const Zl = (Ne = n == null ? void 0 : n.row) == null ? void 0 : Ne[(xe = (Y = n == null ? void 0 : n.usingRow) == null ? void 0 : Y[0]) == null ? void 0 : xe.prop], Dl = (sl = Xe.value) == null ? void 0 : sl.find((Nl) => (Nl == null ? void 0 : Nl.condition) === "child");
|
|
1043
|
-
let ta,
|
|
1043
|
+
let ta, ca;
|
|
1044
1044
|
if (Dl)
|
|
1045
1045
|
ta = Xe.value.map(
|
|
1046
1046
|
(Nl) => (Nl == null ? void 0 : Nl.condition) === "child" ? { ...Nl, value: Zl, isShow: !0 } : Nl
|
|
1047
|
-
),
|
|
1047
|
+
), ca = ta.find((Nl) => (Nl == null ? void 0 : Nl.condition) === "child");
|
|
1048
1048
|
else {
|
|
1049
|
-
const Nl = (vl = (ol = (nl = xa) == null ? void 0 : nl.value) == null ? void 0 : ol[0]) == null ? void 0 : vl.compData, ka = (yl = Nl == null ? void 0 : Nl.find((
|
|
1050
|
-
|
|
1049
|
+
const Nl = (vl = (ol = (nl = xa) == null ? void 0 : nl.value) == null ? void 0 : ol[0]) == null ? void 0 : vl.compData, ka = (yl = Nl == null ? void 0 : Nl.find((ia) => (ia == null ? void 0 : ia.key) === "header")) == null ? void 0 : yl.contents, qa = ((Wl = ka == null ? void 0 : ka.find((ia) => ia == null ? void 0 : ia.isMainKey)) == null ? void 0 : Wl.prop) ?? ((Ol = ka == null ? void 0 : ka[0]) == null ? void 0 : Ol.prop), Fa = (Gl = Nl == null ? void 0 : Nl.find((ia) => (ia == null ? void 0 : ia.key) === "tableContents")) == null ? void 0 : Gl.contents, Ya = al(Fa, qa);
|
|
1050
|
+
ca = {
|
|
1051
1051
|
value: Zl,
|
|
1052
1052
|
condition: "child",
|
|
1053
1053
|
options: Ya,
|
|
1054
1054
|
// 传入生成器函数或计算属性
|
|
1055
1055
|
parentContent: la,
|
|
1056
1056
|
isShow: !0
|
|
1057
|
-
}, ta = [...Xe.value,
|
|
1057
|
+
}, ta = [...Xe.value, ca];
|
|
1058
1058
|
}
|
|
1059
|
-
Tl.setSelectTitle(ta), Tl.setChooseTitle([
|
|
1059
|
+
Tl.setSelectTitle(ta), Tl.setChooseTitle([ca]);
|
|
1060
1060
|
} catch {
|
|
1061
1061
|
}
|
|
1062
1062
|
}, 300);
|
|
@@ -1153,7 +1153,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1153
1153
|
let sl = Ne == null ? void 0 : Ne.split(",");
|
|
1154
1154
|
if ((sl == null ? void 0 : sl.length) > 1) {
|
|
1155
1155
|
let Zl = await (sl == null ? void 0 : sl.map(async (Dl) => {
|
|
1156
|
-
var
|
|
1156
|
+
var ca, Nl, ka, qa, Fa, Ya;
|
|
1157
1157
|
Y = await Ka.get(Dl, {
|
|
1158
1158
|
responseType: "blob",
|
|
1159
1159
|
headers: {
|
|
@@ -1161,8 +1161,8 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1161
1161
|
}
|
|
1162
1162
|
});
|
|
1163
1163
|
let ta = [];
|
|
1164
|
-
if (((
|
|
1165
|
-
let
|
|
1164
|
+
if (((ca = q == null ? void 0 : q.mtlBlobs) == null ? void 0 : ca.length) > 0) {
|
|
1165
|
+
let ia = await ((Nl = q == null ? void 0 : q.mtlBlobs) == null ? void 0 : Nl.map(async (Kt) => {
|
|
1166
1166
|
let Ct = await Ka.get(Kt, {
|
|
1167
1167
|
responseType: "blob",
|
|
1168
1168
|
headers: {
|
|
@@ -1175,7 +1175,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1175
1175
|
})
|
|
1176
1176
|
), Ct;
|
|
1177
1177
|
}));
|
|
1178
|
-
await Promise.all(
|
|
1178
|
+
await Promise.all(ia);
|
|
1179
1179
|
}
|
|
1180
1180
|
return ((qa = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : qa[((ka = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : ka.length) - 1]) !== "undefined" && se.push({
|
|
1181
1181
|
suffix: "." + ((Ya = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Ya[((Fa = Dl == null ? void 0 : Dl.split(".")) == null ? void 0 : Fa.length) - 1]),
|
|
@@ -1193,14 +1193,14 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1193
1193
|
let Zl = [];
|
|
1194
1194
|
if (((vl = q == null ? void 0 : q.mtlBlobs) == null ? void 0 : vl.length) > 0) {
|
|
1195
1195
|
let Dl = await ((yl = q == null ? void 0 : q.mtlBlobs) == null ? void 0 : yl.map(async (ta) => {
|
|
1196
|
-
let
|
|
1196
|
+
let ca = await ht({
|
|
1197
1197
|
url: ta
|
|
1198
1198
|
});
|
|
1199
1199
|
return Zl.push(
|
|
1200
|
-
new Blob([
|
|
1200
|
+
new Blob([ca.data], {
|
|
1201
1201
|
type: "application/octet-stream;charset=UTF-8"
|
|
1202
1202
|
})
|
|
1203
|
-
),
|
|
1203
|
+
), ca;
|
|
1204
1204
|
}));
|
|
1205
1205
|
await Promise.all(Dl);
|
|
1206
1206
|
}
|
|
@@ -1221,17 +1221,17 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1221
1221
|
let Zl = [];
|
|
1222
1222
|
if (((Gl = q == null ? void 0 : q.mtlBlobs) == null ? void 0 : Gl.length) > 0) {
|
|
1223
1223
|
let Dl = await ((Pl = q == null ? void 0 : q.mtlBlobs) == null ? void 0 : Pl.map(async (ta) => {
|
|
1224
|
-
let
|
|
1224
|
+
let ca = await Ka.get(ta, {
|
|
1225
1225
|
responseType: "blob",
|
|
1226
1226
|
headers: {
|
|
1227
1227
|
"Content-Type": "application/json"
|
|
1228
1228
|
}
|
|
1229
1229
|
});
|
|
1230
1230
|
return Zl.push(
|
|
1231
|
-
new Blob([
|
|
1231
|
+
new Blob([ca.data], {
|
|
1232
1232
|
type: "application/octet-stream;charset=UTF-8"
|
|
1233
1233
|
})
|
|
1234
|
-
),
|
|
1234
|
+
), ca;
|
|
1235
1235
|
}));
|
|
1236
1236
|
await Promise.all(Dl);
|
|
1237
1237
|
}
|
|
@@ -1257,7 +1257,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1257
1257
|
};
|
|
1258
1258
|
da(async () => {
|
|
1259
1259
|
var n;
|
|
1260
|
-
Z("setLoginInfo", re.value), await je(), E.value = Ve.value + "/" + ((n = re.value) == null ? void 0 : n.face_photo_url), v.value = "first", await
|
|
1260
|
+
Z("setLoginInfo", re.value), await je(), E.value = Ve.value + "/" + ((n = re.value) == null ? void 0 : n.face_photo_url), v.value = "first", await ra(), Vo(), Qt();
|
|
1261
1261
|
}), pr(() => {
|
|
1262
1262
|
ae && (ae.disconnect(), ae = null);
|
|
1263
1263
|
});
|
|
@@ -1752,7 +1752,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1752
1752
|
Ml(
|
|
1753
1753
|
() => [ba.value, A.value, Wt.value, $.value],
|
|
1754
1754
|
async () => {
|
|
1755
|
-
await
|
|
1755
|
+
await ra(), Vo(), Qt();
|
|
1756
1756
|
},
|
|
1757
1757
|
{ immediate: !0 }
|
|
1758
1758
|
), Ml(
|
|
@@ -1761,7 +1761,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
1761
1761
|
return [(n = ga.value) == null ? void 0 : n.length, l.value];
|
|
1762
1762
|
},
|
|
1763
1763
|
async () => {
|
|
1764
|
-
Qt();
|
|
1764
|
+
await ra(), Qt();
|
|
1765
1765
|
}
|
|
1766
1766
|
);
|
|
1767
1767
|
const Ba = Vl(() => {
|
|
@@ -2187,7 +2187,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2187
2187
|
style: Yl({ paddingLeft: $.value ? "16px" : "0px" })
|
|
2188
2188
|
}, {
|
|
2189
2189
|
default: r(() => {
|
|
2190
|
-
var Ol, Gl, Pl, la, na, Zl, Dl, ta,
|
|
2190
|
+
var Ol, Gl, Pl, la, na, Zl, Dl, ta, ca, Nl, ka, qa, Fa, Ya, ia, Kt, Ct, Oo, No, Uo, jo, Qo, Ko, Ho, Wo, qo, Fo, Yo, Jo, zo, Go, Xo, Zo, $o, es, ls, as, ts, os, ss, ns, rs, cs, is, us, ds, ps, fs, hs, vs;
|
|
2191
2191
|
return [
|
|
2192
2192
|
$.value ? Be("", !0) : ya((f(), he(Ne, {
|
|
2193
2193
|
key: 0,
|
|
@@ -2303,7 +2303,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2303
2303
|
onClickMainKey: o(pt)
|
|
2304
2304
|
}), null, 16, ["related", "compNames", "compName", "groupNames", "cacheNewData", "isDevMode", "itemData", "calculator", "childItemData", "compItem", "onChange", "onClickStep", "index", "config", "onContentChange", "onPageChange", "onRowClick", "parentTableId", "allMapContents", "onRadioChange", "children", "onClickTrigger", "onClickMainKey"])) : Be("", !0)
|
|
2305
2305
|
], 6);
|
|
2306
|
-
}), 128)) : !o(mt) && Ba.value === "vertical" && ((
|
|
2306
|
+
}), 128)) : !o(mt) && Ba.value === "vertical" && ((ca = o(A)) != null && ca.includes("首页") || ((Nl = o(eo)) == null ? void 0 : Nl.length) > 0) ? (f(), he(o(an), {
|
|
2307
2307
|
key: 1,
|
|
2308
2308
|
layout: xo.value,
|
|
2309
2309
|
"is-draggable": !1,
|
|
@@ -2663,7 +2663,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2663
2663
|
o(mt) ? (f(), X("div", {
|
|
2664
2664
|
key: 4,
|
|
2665
2665
|
class: ql((Ya = o(At)) != null && Ya.includes((Fa = (qa = o(Xl)) == null ? void 0 : qa.comp) == null ? void 0 : Fa.name) ? "item-view-content affix-content" : "item-view-content"),
|
|
2666
|
-
style: Yl({ display: ((Kt = (
|
|
2666
|
+
style: Yl({ display: ((Kt = (ia = o(Xl)) == null ? void 0 : ia.comp) == null ? void 0 : Kt.isShow) === !1 ? "none" : "flex" })
|
|
2667
2667
|
}, [
|
|
2668
2668
|
Hl((Ct = o(Xl)) == null ? void 0 : Ct.comp) ? (f(), X("div", {
|
|
2669
2669
|
key: 0,
|
|
@@ -2817,7 +2817,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
2817
2817
|
], 64);
|
|
2818
2818
|
};
|
|
2819
2819
|
}
|
|
2820
|
-
}), su = /* @__PURE__ */ pa(ou, [["__scopeId", "data-v-
|
|
2820
|
+
}), su = /* @__PURE__ */ pa(ou, [["__scopeId", "data-v-149b6440"]]), nu = /* @__PURE__ */ zl({
|
|
2821
2821
|
__name: "menuItem",
|
|
2822
2822
|
props: {
|
|
2823
2823
|
menuList: {
|
|
@@ -3061,7 +3061,7 @@ const Vc = /* @__PURE__ */ pa(Rc, [["render", Pc], ["__scopeId", "data-v-ca3f1fb
|
|
|
3061
3061
|
}, O = () => {
|
|
3062
3062
|
V.fontIconPrefix = "", v("clear", V.fontIconPrefix), v("update:modelValue", V.fontIconPrefix);
|
|
3063
3063
|
}, i = () => {
|
|
3064
|
-
|
|
3064
|
+
ra(() => {
|
|
3065
3065
|
var K, $;
|
|
3066
3066
|
V.fontIconWidth = ($ = (K = E.value) == null ? void 0 : K.$el) == null ? void 0 : $.offsetWidth;
|
|
3067
3067
|
});
|
|
@@ -3372,7 +3372,7 @@ function gu(e = "menu") {
|
|
|
3372
3372
|
return V.push("/"), [];
|
|
3373
3373
|
Tl(d, kl.value);
|
|
3374
3374
|
const S = u(d);
|
|
3375
|
-
return To(S), M.setMenus(S),
|
|
3375
|
+
return To(S), M.setMenus(S), ra(() => {
|
|
3376
3376
|
var ae;
|
|
3377
3377
|
(ae = H.value) == null || ae.handleResize();
|
|
3378
3378
|
}), (z = S == null ? void 0 : S.filter((ae) => ae == null ? void 0 : ae.show)) == null ? void 0 : z.sort((ae, t) => (ae == null ? void 0 : ae.create_time) - (t == null ? void 0 : t.create_time));
|
|
@@ -3488,7 +3488,7 @@ function gu(e = "menu") {
|
|
|
3488
3488
|
}
|
|
3489
3489
|
function Le(d, S) {
|
|
3490
3490
|
if (!S) return [];
|
|
3491
|
-
const z = [], ae = new RegExp(`(^|/)${S}(/|$)`), t = Ll($.value), p =
|
|
3491
|
+
const z = [], ae = new RegExp(`(^|/)${S}(/|$)`), t = Ll($.value), p = ua(t, "path", D == null ? void 0 : D.path);
|
|
3492
3492
|
for (const [I, Z] of d.entries())
|
|
3493
3493
|
ae.test(Z == null ? void 0 : Z.object_name) && z.push({
|
|
3494
3494
|
id: I,
|
|
@@ -3595,7 +3595,7 @@ function gu(e = "menu") {
|
|
|
3595
3595
|
{ required: !0, message: "请输入", trigger: "blur" }
|
|
3596
3596
|
]
|
|
3597
3597
|
}), ye = (d) => {
|
|
3598
|
-
D.title = d == null ? void 0 : d.title, D.icon = d == null ? void 0 : d.icon, D.path = d == null ? void 0 : d.path, Xe.type = "update", Xe.show = !1, c("closePlusDialog"),
|
|
3598
|
+
D.title = d == null ? void 0 : d.title, D.icon = d == null ? void 0 : d.icon, D.path = d == null ? void 0 : d.path, Xe.type = "update", Xe.show = !1, c("closePlusDialog"), ra(() => {
|
|
3599
3599
|
var S;
|
|
3600
3600
|
(S = qe.value) == null || S.focus();
|
|
3601
3601
|
});
|
|
@@ -3916,7 +3916,7 @@ function Mu(e = "menu") {
|
|
|
3916
3916
|
M.setActiveAsideEditMenuPath(x == null ? void 0 : x.path), re.value = Ll(x), await de(x);
|
|
3917
3917
|
}, De = async (x) => {
|
|
3918
3918
|
K.value ? U.setFixMenuStatus(!1) : (C.value && (i.value = "open"), i.value === "click" ? P.value === 1 ? M.setActiveAsideEditMenuPath(sessionStorage.getItem("pageKey")) : M.setActiveAsideEditMenuPath(x) : C.value || (M.setMenuTriggerType("click"), M.setActiveAsideEditMenuPath(x))), x != null && x.startsWith("/") ? R.push(x) : R.push("/"), P.value++;
|
|
3919
|
-
const fe =
|
|
3919
|
+
const fe = ua(u.value, "path", x);
|
|
3920
3920
|
fe && (re.value = Ll(fe), await de(fe));
|
|
3921
3921
|
}, Me = (x) => {
|
|
3922
3922
|
C.value || M.setActiveMenuPath(x);
|
|
@@ -3977,7 +3977,7 @@ function Mu(e = "menu") {
|
|
|
3977
3977
|
]
|
|
3978
3978
|
}, Ye = await co(Te);
|
|
3979
3979
|
if (((le = Ye == null ? void 0 : Ye.data) == null ? void 0 : le.code) === 200 && ((Ve = (ue = Ye == null ? void 0 : Ye.data) == null ? void 0 : ue.message) != null && Ve.includes("成功"))) {
|
|
3980
|
-
const F = (Oe = x == null ? void 0 : x.path) == null ? void 0 : Oe.split("/"), Ke = (te = F == null ? void 0 : F.slice(0, -1)) == null ? void 0 : te.join("/"), ll =
|
|
3980
|
+
const F = (Oe = x == null ? void 0 : x.path) == null ? void 0 : Oe.split("/"), Ke = (te = F == null ? void 0 : F.slice(0, -1)) == null ? void 0 : te.join("/"), ll = ua(u.value, "path", Ke);
|
|
3981
3981
|
if (ll)
|
|
3982
3982
|
ll.children = (Qe = ll.children) == null ? void 0 : Qe.filter(($e) => ($e == null ? void 0 : $e.path) !== (x == null ? void 0 : x.path));
|
|
3983
3983
|
else {
|
|
@@ -4051,7 +4051,7 @@ function Mu(e = "menu") {
|
|
|
4051
4051
|
for (const x in ee)
|
|
4052
4052
|
ee[x] = "";
|
|
4053
4053
|
}, p = (x) => {
|
|
4054
|
-
ae(), G.parentPath = x == null ? void 0 : x.path, G.type = "create", G.show = !0,
|
|
4054
|
+
ae(), G.parentPath = x == null ? void 0 : x.path, G.type = "create", G.show = !0, ra(() => {
|
|
4055
4055
|
var fe;
|
|
4056
4056
|
(fe = ul.value) == null || fe.focus();
|
|
4057
4057
|
});
|
|
@@ -4086,7 +4086,7 @@ function Mu(e = "menu") {
|
|
|
4086
4086
|
switch (G.type) {
|
|
4087
4087
|
case "create":
|
|
4088
4088
|
if (G.parentPath) {
|
|
4089
|
-
const me =
|
|
4089
|
+
const me = ua(u.value, "path", G.parentPath), Te = await I({
|
|
4090
4090
|
...be,
|
|
4091
4091
|
path: me.path + "/" + (be == null ? void 0 : be.title)
|
|
4092
4092
|
});
|
|
@@ -4166,7 +4166,7 @@ function Mu(e = "menu") {
|
|
|
4166
4166
|
return fe < 0 || fe >= Te.length ? (console.warn(`索引 ${fe} 超出范围,路径共有 ${Te.length} 个片段`), x) : (Te[fe] = me, Te.join("/"));
|
|
4167
4167
|
}
|
|
4168
4168
|
function pe(x, fe) {
|
|
4169
|
-
const me = [], Te = new RegExp(`(^|/)${fe}(/|$)`), Ye = Ll(u.value), le =
|
|
4169
|
+
const me = [], Te = new RegExp(`(^|/)${fe}(/|$)`), Ye = Ll(u.value), le = ua(Ye, "path", be == null ? void 0 : be.path);
|
|
4170
4170
|
for (const [ue, Ve] of x.entries())
|
|
4171
4171
|
Te.test(Ve == null ? void 0 : Ve.object_name) && me.push({
|
|
4172
4172
|
id: ue,
|
|
@@ -4201,7 +4201,7 @@ function Mu(e = "menu") {
|
|
|
4201
4201
|
]
|
|
4202
4202
|
}, le = await It(Ye);
|
|
4203
4203
|
if (((x = le == null ? void 0 : le.data) == null ? void 0 : x.code) === 200 && ((me = (fe = le == null ? void 0 : le.data) == null ? void 0 : fe.message) != null && me.includes("成功"))) {
|
|
4204
|
-
const ue =
|
|
4204
|
+
const ue = ua(u.value, "path", be.path);
|
|
4205
4205
|
if (!ue) return;
|
|
4206
4206
|
ue.icon = be == null ? void 0 : be.icon, ue.title = be == null ? void 0 : be.title, ue.path = be == null ? void 0 : be.path, jl.success("修改成功");
|
|
4207
4207
|
}
|
|
@@ -4216,7 +4216,7 @@ function Mu(e = "menu") {
|
|
|
4216
4216
|
var me, Te, Ye, le, ue, Ve, Oe;
|
|
4217
4217
|
if (fe) {
|
|
4218
4218
|
if (!((me = re.value) != null && me.path)) return jl.warning("请先选择所属菜单");
|
|
4219
|
-
const te =
|
|
4219
|
+
const te = ua(j.value, "groupId", ee == null ? void 0 : ee.pid);
|
|
4220
4220
|
let Qe;
|
|
4221
4221
|
te ? Qe = [...((Te = te == null ? void 0 : te.namePath) == null ? void 0 : Te.split("/")) ?? [], ee == null ? void 0 : ee.title] : Qe = [ee == null ? void 0 : ee.title];
|
|
4222
4222
|
const Al = {
|
|
@@ -4285,7 +4285,7 @@ function Mu(e = "menu") {
|
|
|
4285
4285
|
icon: "DeleteMenu"
|
|
4286
4286
|
}
|
|
4287
4287
|
], ul = T(null), al = (x) => {
|
|
4288
|
-
be.title = x == null ? void 0 : x.title, be.icon = x == null ? void 0 : x.icon, be.path = x == null ? void 0 : x.path, G.type = "update", G.show = !1,
|
|
4288
|
+
be.title = x == null ? void 0 : x.title, be.icon = x == null ? void 0 : x.icon, be.path = x == null ? void 0 : x.path, G.type = "update", G.show = !1, ra(() => {
|
|
4289
4289
|
var fe;
|
|
4290
4290
|
(fe = ul.value) == null || fe.focus();
|
|
4291
4291
|
});
|
|
@@ -4293,7 +4293,7 @@ function Mu(e = "menu") {
|
|
|
4293
4293
|
return Ml(() => O.value, async (x) => {
|
|
4294
4294
|
var fe, me;
|
|
4295
4295
|
if (x) {
|
|
4296
|
-
await
|
|
4296
|
+
await ra();
|
|
4297
4297
|
const Te = x == null ? void 0 : x[0];
|
|
4298
4298
|
if (((fe = Te == null ? void 0 : Te.children) == null ? void 0 : fe.length) > 0) {
|
|
4299
4299
|
const Ye = Te == null ? void 0 : Te.path;
|
|
@@ -4817,7 +4817,7 @@ const Nu = /* @__PURE__ */ pa(Su, [["render", Ou], ["__scopeId", "data-v-7f84f44
|
|
|
4817
4817
|
const g = E.value[b];
|
|
4818
4818
|
return g ? ((u = g.$el) == null ? void 0 : u.querySelector("input")) || g.$el : null;
|
|
4819
4819
|
}, ie = () => Object.keys(E.value).map((b) => R(b)).filter((b) => b && b.tagName === "INPUT"), l = async () => {
|
|
4820
|
-
await
|
|
4820
|
+
await ra();
|
|
4821
4821
|
const b = ie();
|
|
4822
4822
|
if (b.length === 0) return;
|
|
4823
4823
|
const g = b[b.length - 1];
|
|
@@ -4876,12 +4876,12 @@ const Nu = /* @__PURE__ */ pa(Su, [["render", Ou], ["__scopeId", "data-v-7f84f44
|
|
|
4876
4876
|
};
|
|
4877
4877
|
T("");
|
|
4878
4878
|
const J = T(!1), K = (b) => {
|
|
4879
|
-
|
|
4879
|
+
ra(() => {
|
|
4880
4880
|
var g, u, _e;
|
|
4881
4881
|
(_e = (u = E.value) == null ? void 0 : u[(g = b == null ? void 0 : b.props) == null ? void 0 : g.name]) == null || _e.focus();
|
|
4882
4882
|
});
|
|
4883
4883
|
}, $ = (b) => {
|
|
4884
|
-
c != null && c.level && v("onDbClickTab", b), J.value = !0, v("onClickOperateData", "update", b, c == null ? void 0 : c.group),
|
|
4884
|
+
c != null && c.level && v("onDbClickTab", b), J.value = !0, v("onClickOperateData", "update", b, c == null ? void 0 : c.group), ra(() => {
|
|
4885
4885
|
var g, u;
|
|
4886
4886
|
(u = (g = E.value) == null ? void 0 : g[b == null ? void 0 : b.id]) == null || u.focus();
|
|
4887
4887
|
});
|
|
@@ -5253,7 +5253,7 @@ const fa = (e, h) => {
|
|
|
5253
5253
|
return (Ie = w == null ? void 0 : w.data) == null ? void 0 : Ie.length;
|
|
5254
5254
|
}));
|
|
5255
5255
|
}
|
|
5256
|
-
|
|
5256
|
+
ra(() => {
|
|
5257
5257
|
var Ae, Fe;
|
|
5258
5258
|
(Fe = (Ae = E.value) == null ? void 0 : Ae[l == null ? void 0 : l.id]) == null || Fe.focus();
|
|
5259
5259
|
}), U("onDbClickGroup", m);
|
|
@@ -5379,7 +5379,7 @@ const fa = (e, h) => {
|
|
|
5379
5379
|
var Ge, ke;
|
|
5380
5380
|
(ke = we.data) == null || ke.splice((Ge = we.data) == null ? void 0 : Ge.indexOf(m), 1);
|
|
5381
5381
|
}, g = (we) => {
|
|
5382
|
-
we.inputVisible = !0,
|
|
5382
|
+
we.inputVisible = !0, ra(() => {
|
|
5383
5383
|
var m, Ge;
|
|
5384
5384
|
(Ge = (m = we == null ? void 0 : we.inputRef) == null ? void 0 : m.input) == null || Ge.focus();
|
|
5385
5385
|
});
|
|
@@ -6603,7 +6603,7 @@ const Fn = (e, h = 0) => {
|
|
|
6603
6603
|
});
|
|
6604
6604
|
const A = async () => {
|
|
6605
6605
|
var t, p, I;
|
|
6606
|
-
if (await
|
|
6606
|
+
if (await ra(), P.value) {
|
|
6607
6607
|
(t = P.value) != null && t.update && ((p = P.value) == null || p.update());
|
|
6608
6608
|
const Z = (I = P.value) == null ? void 0 : I.wrap$;
|
|
6609
6609
|
Z && (Z == null || Z.dispatchEvent(new Event("scroll")));
|
|
@@ -6687,9 +6687,9 @@ const Fn = (e, h = 0) => {
|
|
|
6687
6687
|
isShow: !0
|
|
6688
6688
|
};
|
|
6689
6689
|
let Al = [];
|
|
6690
|
-
const F =
|
|
6690
|
+
const F = ua(a.value, "id", l == null ? void 0 : l.id);
|
|
6691
6691
|
if (F && ((Ie = F == null ? void 0 : F.children) != null && Ie.length) && Al.push(O(F, l == null ? void 0 : l.name)), (Pe = F == null ? void 0 : F.id) != null && Pe.includes("virtual") || Al.push(vo("update", Qe)), !((be = F == null ? void 0 : F.id) != null && be.includes("virtual")) && (l != null && l.maxColumn || Oe != null && Oe.length || te != null && te.length || l != null && l.edit || l != null && l.formType)) {
|
|
6692
|
-
const ll =
|
|
6692
|
+
const ll = ua(a.value, "id", l == null ? void 0 : l.id);
|
|
6693
6693
|
if ((ce = ll == null ? void 0 : ll.configInfo) != null && ce.id) {
|
|
6694
6694
|
let $e = "";
|
|
6695
6695
|
const xl = [
|
|
@@ -6885,7 +6885,7 @@ const Fn = (e, h = 0) => {
|
|
|
6885
6885
|
K.value = !1, B.value = !0;
|
|
6886
6886
|
try {
|
|
6887
6887
|
if (!u.groupId || !u.groupType) return jl.error("特性信息获取出错了");
|
|
6888
|
-
const Ie =
|
|
6888
|
+
const Ie = ua(a.value, "id", u.groupId), Pe = Ll(Ie), be = {
|
|
6889
6889
|
groups: u != null && u.related ? [(t = u == null ? void 0 : u.related) == null ? void 0 : t[1]] : [],
|
|
6890
6890
|
menus: u != null && u.related ? (I = (p = u == null ? void 0 : u.related) == null ? void 0 : p[0]) == null ? void 0 : I.split("/") : [],
|
|
6891
6891
|
words: u != null && u.related ? (Z = u == null ? void 0 : u.related) == null ? void 0 : Z.slice(2) : []
|
|
@@ -6895,7 +6895,7 @@ const Fn = (e, h = 0) => {
|
|
|
6895
6895
|
const ce = (u == null ? void 0 : u.prop) || (u == null ? void 0 : u.label);
|
|
6896
6896
|
let ee;
|
|
6897
6897
|
if (u != null && u.parentProp) {
|
|
6898
|
-
const ul =
|
|
6898
|
+
const ul = ua(Pe == null ? void 0 : Pe.data, "id", u == null ? void 0 : u.parentProp);
|
|
6899
6899
|
if (ul && ((Ae = ul == null ? void 0 : ul.children) != null && Ae.length)) {
|
|
6900
6900
|
const al = (Fe = ul.children) == null ? void 0 : Fe.filter((Ee) => {
|
|
6901
6901
|
var x;
|
|
@@ -6953,7 +6953,7 @@ const Fn = (e, h = 0) => {
|
|
|
6953
6953
|
((Se = We == null ? void 0 : We.data) == null ? void 0 : Se.code) === 200 && (Ie.data = Pe.data, K.value = !0, jl.success("新增成功"));
|
|
6954
6954
|
} else {
|
|
6955
6955
|
if (!G.value) return;
|
|
6956
|
-
const ce =
|
|
6956
|
+
const ce = ua(Pe == null ? void 0 : Pe.data, "id", u == null ? void 0 : u.id);
|
|
6957
6957
|
if ((ce == null ? void 0 : ce.id) !== (u == null ? void 0 : u.id)) return;
|
|
6958
6958
|
(pe = Object.keys(u)) == null || pe.forEach((We) => {
|
|
6959
6959
|
We in ce && (ce[We] = u[We], ce.formType = u == null ? void 0 : u.compType, ce.value = u == null ? void 0 : u.defaultValue, ce.prop = u == null ? void 0 : u.id, ce.disabled = (u == null ? void 0 : u.view) === "Read", ce.mainKey = u == null ? void 0 : u.mainKey, ce.options = u != null && u.defaultValue ? u == null ? void 0 : u.options : [], ce.groups = be == null ? void 0 : be.groups, ce.menus = be == null ? void 0 : be.menus, ce.words = be == null ? void 0 : be.words);
|
|
@@ -7007,7 +7007,7 @@ const Fn = (e, h = 0) => {
|
|
|
7007
7007
|
const Ze = Ll((pe = ee == null ? void 0 : ee.data) == null ? void 0 : pe.result);
|
|
7008
7008
|
Ie = (w = Ze == null ? void 0 : Ze.flatMap((We) => We)) == null ? void 0 : w.map((We) => {
|
|
7009
7009
|
var x, fe, me, Te, Ye, le, ue, Ve, Oe;
|
|
7010
|
-
const ul = Array.isArray((fe = (x = We == null ? void 0 : We.结构) == null ? void 0 : x.contents) == null ? void 0 : fe[0]), al = (Te = (me = We == null ? void 0 : We.source_table) == null ? void 0 : me.split("_")) == null ? void 0 : Te[1], Ee =
|
|
7010
|
+
const ul = Array.isArray((fe = (x = We == null ? void 0 : We.结构) == null ? void 0 : x.contents) == null ? void 0 : fe[0]), al = (Te = (me = We == null ? void 0 : We.source_table) == null ? void 0 : me.split("_")) == null ? void 0 : Te[1], Ee = ua((Ye = Pe == null ? void 0 : Pe.data) == null ? void 0 : Ye.result, "object_id", al);
|
|
7011
7011
|
return {
|
|
7012
7012
|
name: Ee == null ? void 0 : Ee.name,
|
|
7013
7013
|
object_name: Ee == null ? void 0 : Ee.object_name,
|
|
@@ -7060,11 +7060,11 @@ const Fn = (e, h = 0) => {
|
|
|
7060
7060
|
type: "warning"
|
|
7061
7061
|
}).then(async () => {
|
|
7062
7062
|
var ee, Ze, tl;
|
|
7063
|
-
const w =
|
|
7063
|
+
const w = ua(a.value, "id", I == null ? void 0 : I.id);
|
|
7064
7064
|
if (!w) return;
|
|
7065
7065
|
const Ie = Ll(w), { parent: Pe } = yo(p == null ? void 0 : p.id);
|
|
7066
7066
|
if (Pe) {
|
|
7067
|
-
const We =
|
|
7067
|
+
const We = ua(Ie == null ? void 0 : Ie.data, "id", Pe);
|
|
7068
7068
|
if (!We) return;
|
|
7069
7069
|
We.children = (ee = We.children) == null ? void 0 : ee.filter((ul) => (ul == null ? void 0 : ul.id) !== (p == null ? void 0 : p.id));
|
|
7070
7070
|
} else
|
|
@@ -7086,7 +7086,7 @@ const Fn = (e, h = 0) => {
|
|
|
7086
7086
|
B.value = !1;
|
|
7087
7087
|
}
|
|
7088
7088
|
}, Rl = T(null), we = () => {
|
|
7089
|
-
Le.title = "", Le.icon = "", Le.path = "", m.type = "create", qe.value = !1, m.show = !0,
|
|
7089
|
+
Le.title = "", Le.icon = "", Le.path = "", m.type = "create", qe.value = !1, m.show = !0, ra(() => {
|
|
7090
7090
|
var t;
|
|
7091
7091
|
(t = Rl.value) == null || t.focus();
|
|
7092
7092
|
});
|
|
@@ -7656,7 +7656,7 @@ function Jn(e = "menu") {
|
|
|
7656
7656
|
}), u = async (a, y) => {
|
|
7657
7657
|
E.setRouteToChildPath(""), U.setMenuTriggerType("click"), U.setActiveMenuPath(a == null ? void 0 : a.path), U.setActiveAsideMenu(a), a.isRouter ? ie.push(a.path) : ie.push("/"), c("node-click", a, y);
|
|
7658
7658
|
}, _e = async (a) => {
|
|
7659
|
-
const y =
|
|
7659
|
+
const y = ua(g.value, "path", a);
|
|
7660
7660
|
U.setActiveAsideMenu(y), E.setRouteToChildPath(""), J.value ? E.setFixMenuStatus(!1) : (qe.value && (B.value = "open"), B.value === "click" ? i.value || U.setActiveMenuPath(a) : qe.value || (U.setMenuTriggerType("click"), i.value || U.setActiveMenuPath(a))), a != null && a.startsWith("/") ? ie.push(a) : ie.push("/"), R.value++;
|
|
7661
7661
|
}, Ce = (a) => {
|
|
7662
7662
|
qe.value || U.setActiveMenuPath(a);
|
|
@@ -7862,7 +7862,7 @@ function Jn(e = "menu") {
|
|
|
7862
7862
|
return Ml(() => A.value, async (a) => {
|
|
7863
7863
|
var y, C;
|
|
7864
7864
|
if (a) {
|
|
7865
|
-
await
|
|
7865
|
+
await ra();
|
|
7866
7866
|
const D = a == null ? void 0 : a[0];
|
|
7867
7867
|
if (((y = D == null ? void 0 : D.children) == null ? void 0 : y.length) > 0) {
|
|
7868
7868
|
const G = D == null ? void 0 : D.path;
|