ss-component-new 1.3.646 → 1.3.648
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-CZqN7Zrs.js → MTLLoader-BZFzdPnX.js} +2 -2
- package/dist/{URDFLoader-5yxKptss.js → URDFLoader-Ce6ST3KA.js} +584 -589
- package/dist/{animationData-_pwKquvD.js → animationData-CH5BUmFv.js} +3 -3
- package/dist/{array-O8Kxp5jI.js → array-DnttreLx.js} +14 -13
- package/dist/{clone-BjJ_R9XN.js → clone-Lj02KCaK.js} +1 -1
- package/dist/{eleIcon-BWVKfp5t.js → eleIcon-DlIcb4df.js} +2 -2
- package/dist/{iconfont-DGtoabuW.js → iconfont-D4KABMmd.js} +91 -91
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-CmGpt__g.js → index-82jv_BLj.js} +3 -3
- package/dist/{index-DTocCaLK.js → index-8noaAojX.js} +157 -148
- package/dist/{index-BB_8QEV4.js → index-B8LvIYsB.js} +5 -5
- package/dist/{index-qv_1lhhv.js → index-BGll-BCG.js} +2 -2
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-BibSA99e.js → index-BKBRlHTG.js} +20 -17
- package/dist/{index-DwmZbmjQ.js → index-BNeijxMN.js} +35 -29
- package/dist/{index-CUB0YIQp.js → index-BaBpTzW6.js} +5 -5
- package/dist/{index-p7BMuuhh.js → index-Bld7MkVu.js} +9010 -9452
- package/dist/{index-CdGcTCI1.js → index-BmsO-R_T.js} +8 -8
- package/dist/{index-Dae7KcRH.js → index-Bnen55s5.js} +14 -14
- package/dist/{index-BU8pWPcl.js → index-Bo2h_wXI.js} +6 -6
- package/dist/{index-DW6CZC2b.js → index-C02plr9M.js} +1051 -1053
- package/dist/{index-Ba47LLQD.js → index-C6R12LHP.js} +20 -18
- package/dist/{index-DV-y9RNF.js → index-CBJPyh-r.js} +61 -57
- package/dist/{index-Bvvz41NY.js → index-CG1vGzHt.js} +1 -1
- package/dist/{index-YVR3acYT.js → index-CJySKIdc.js} +1 -1
- package/dist/{index-8vLuP9mO.js → index-COG151iX.js} +11927 -11890
- package/dist/index-COG1VSmJ.js +572 -0
- package/dist/{index-C6ZyziE9.js → index-CWUDWgef.js} +4 -4
- package/dist/{index-CcdSuqPt.js → index-CXWc_obJ.js} +8 -8
- package/dist/{index-BuRhsuYg.js → index-CaT7vMf3.js} +3948 -3947
- package/dist/{index-JxFaaWxD.js → index-DDBlBNGz.js} +1 -1
- package/dist/{index-BcWf6LmN.js → index-DDwzZ4tq.js} +4 -4
- package/dist/{index-DNlWMJrl.js → index-DFRE32eZ.js} +4 -4
- package/dist/{index-BwEO2Ckl.js → index-DIW18hAu.js} +7 -7
- package/dist/{index-DlH7-Quf.js → index-DZwnRZNI.js} +3 -3
- package/dist/{index-D_kI6aHR.js → index-DlFmNKos.js} +8 -7
- package/dist/{index-CCHCUfkj.js → index-DucNAU4U.js} +62 -60
- package/dist/{index-CUUkM-MP.js → index-DzMxMh46.js} +40 -36
- package/dist/{index-FPf0BzIG.js → index-a2lAUtbV.js} +483 -482
- package/dist/{index--khMgoSl.js → index-mdcn_vO2.js} +3 -3
- package/dist/{index-CwKQTNJ6.js → index-neD21sAf.js} +2 -2
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.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-DdTK-nti.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CSocraHr.js} +27735 -27760
- package/dist/isString-h0UV2hrP.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-B2M0A-TQ.js → main-B7lrNiRx.js} +9 -9
- package/dist/{menuIndex-CY5XD7Ny.js → menuIndex-BbxAsUl_.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-DiogHwkN.js → request-DolpfyNJ.js} +3076 -3494
- 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-BpuW7rIv.js → threeModel-DJRelezj.js} +174 -174
- package/dist/{threePreview-BC0mxp0t.js → threePreview-Pz5R0byR.js} +12 -12
- package/dist/{threeSceneView-Dk8H_CF6.js → threeSceneView-CouxcEQi.js} +24 -23
- package/dist/{threeSceneViewForCPMPIP-DSKXueAv.js → threeSceneViewForCPMPIP-DpDvUUhu.js} +17 -16
- package/dist/{threeTrackPathView-C8RcSYdk.js → threeTrackPathView-Ubv3KiZu.js} +7 -7
- package/dist/{threeViewerHost-DQt5_D31.js → threeViewerHost-Bp4vm58M.js} +4 -4
- package/dist/{urdfTree-BGPikD3W.js → urdfTree-BYmwkvtn.js} +9 -9
- package/dist/{workpieceTreePanel-DO6BojnM.js → workpieceTreePanel-CJgl8JKx.js} +60 -56
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-CEBVoJT9.js +0 -2623
- package/dist/isString-CoCw_sp3.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as P, computed as c, onMounted as _ } from "vue";
|
|
2
2
|
import { useRouter as C } from "vue-router";
|
|
3
|
-
import { u as g, p as h, A as R, c as b, q as S, w as E } from "./index-
|
|
3
|
+
import { u as g, p as h, A as R, c as b, q as S, w as E } from "./index-C02plr9M.js";
|
|
4
4
|
const l = {
|
|
5
5
|
ALLOW: {
|
|
6
6
|
value: "允许"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as P, h as C, d as L, b, p as N,
|
|
2
|
-
import { E as k } from "./request-
|
|
1
|
+
import { f as P, h as C, d as L, b, p as N, s as R, i as T } from "./index-C02plr9M.js";
|
|
2
|
+
import { E as k } from "./request-DolpfyNJ.js";
|
|
3
3
|
const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
|
|
4
4
|
var l, n, r, i, s, d, g, p, f, _, y, h, S, w;
|
|
5
5
|
let e = Object.values(c), t = await P({
|
|
@@ -18,7 +18,7 @@ const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
|
|
|
18
18
|
return m.plat_id = m.plat_id ?? a, A.setLoginUserInfo(m), A.setSystemKey(a && a !== "" ? a : o == null ? void 0 : o.plat_id), !0;
|
|
19
19
|
} else
|
|
20
20
|
return k.error("输入的密码错误,请重新输入"), !1;
|
|
21
|
-
}, K = b(N), { systemInfo: q, loginUserInfo: u } =
|
|
21
|
+
}, K = b(N), { systemInfo: q, loginUserInfo: u } = R(K), O = async () => (sessionStorage.setItem("loginToken", "111"), !0), x = async () => (sessionStorage.setItem("magicToken", "123456"), !0), I = async (c) => {
|
|
22
22
|
var n, r, i;
|
|
23
23
|
let a = [E(c, (n = q.value) == null ? void 0 : n.plat_id), O(), x()];
|
|
24
24
|
const e = await Promise.all(a), t = e == null ? void 0 : e.every((s) => s);
|
|
@@ -39,7 +39,7 @@ const A = b(N), { isDefaultModel: D } = L(), E = async (c, a) => {
|
|
|
39
39
|
];
|
|
40
40
|
try {
|
|
41
41
|
const s = ((r = u == null ? void 0 : u.value) == null ? void 0 : r.plat_id) || ((i = q.value) == null ? void 0 : i.plat_id);
|
|
42
|
-
return await
|
|
42
|
+
return await T({
|
|
43
43
|
platId: parseInt(s),
|
|
44
44
|
changeContents: [{
|
|
45
45
|
tableName: "log",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as l, reactive as c, onMounted as s,
|
|
2
|
-
import { S as m } from "./index-
|
|
3
|
-
import { V as _ } from "./index-
|
|
1
|
+
import { defineComponent as l, reactive as c, onMounted as s, createElementBlock as r, openBlock as i, createVNode as p } from "vue";
|
|
2
|
+
import { S as m } from "./index-BaBpTzW6.js";
|
|
3
|
+
import { V as _ } from "./index-COG151iX.js";
|
|
4
4
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
6
6
|
__name: "index",
|
|
@@ -15,7 +15,7 @@ const f = { class: "log-wrap" }, u = /* @__PURE__ */ l({
|
|
|
15
15
|
console.log("清空操作成功:", a), a && (t.tableData = []);
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
-
return (o, e) => (
|
|
18
|
+
return (o, e) => (i(), r("div", f, [
|
|
19
19
|
p(_, {
|
|
20
20
|
itemData: t.pageData,
|
|
21
21
|
allowOperate: !1,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as i,
|
|
2
|
-
import { c as J,
|
|
3
|
-
import { j as ke } from "./index-
|
|
4
|
-
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-
|
|
5
|
-
import { e as Se } from "./menuIndex-
|
|
6
|
-
import { E as S } from "./request-
|
|
7
|
-
const F =
|
|
1
|
+
import { ref as i, computed as _, reactive as ie, nextTick as B, watch as ye } from "vue";
|
|
2
|
+
import { c as J, s as be, u as he, a as Ce, o as Ie, p as U } from "./index-C02plr9M.js";
|
|
3
|
+
import { j as ke } from "./index-a2lAUtbV.js";
|
|
4
|
+
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-CJySKIdc.js";
|
|
5
|
+
import { e as Se } from "./menuIndex-BbxAsUl_.js";
|
|
6
|
+
import { E as S } from "./request-DolpfyNJ.js";
|
|
7
|
+
const F = Ce(U), ne = Ie(U), C = he(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = be(C), z = i(!1), se = _(() => {
|
|
8
8
|
var e, t;
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch as Ie, ref as w, computed as we } from "vue";
|
|
2
|
-
import { p as E, k as A, w as Le } from "./index-
|
|
3
|
-
import { s as Te, b as V, p as C, u as Re, A as De, c as B, J as N, E as Ee, q as Ae, aZ as Be, a_ as Pe, a$ as Ue, b0 as xe, b1 as Se, b2 as ke } from "./index-
|
|
4
|
-
import { s as z } from "./request-
|
|
2
|
+
import { p as E, k as A, w as Le } from "./index-a2lAUtbV.js";
|
|
3
|
+
import { s as Te, b as V, p as C, u as Re, A as De, c as B, J as N, E as Ee, q as Ae, aZ as Be, a_ as Pe, a$ as Ue, b0 as xe, b1 as Se, b2 as ke } from "./index-C02plr9M.js";
|
|
4
|
+
import { s as z } from "./request-DolpfyNJ.js";
|
|
5
5
|
const qe = V(C), { systemUrl: f } = Te(qe);
|
|
6
6
|
let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
7
7
|
Ie(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s,
|
|
2
|
-
import { g as I } from "./index-
|
|
1
|
+
import { defineComponent as C, reactive as f, ref as i, onMounted as E, resolveComponent as s, createElementBlock as v, openBlock as _, createElementVNode as b, createVNode as u, withCtx as c, Fragment as w, renderList as A, createBlock as B, createTextVNode as F } from "vue";
|
|
2
|
+
import { g as I } from "./index-CJySKIdc.js";
|
|
3
3
|
import { useRouter as M } from "vue-router";
|
|
4
|
-
import { E as g } from "./request-
|
|
4
|
+
import { E as g } from "./request-DolpfyNJ.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__PURE__ */ C({
|
|
7
7
|
__name: "index",
|
|
@@ -83,10 +83,11 @@ const T = { class: "tenant-wrap" }, $ = { class: "tenant-content" }, q = /* @__P
|
|
|
83
83
|
type: "primary",
|
|
84
84
|
onClick: t[1] || (t[1] = (a) => V(m.value))
|
|
85
85
|
}, {
|
|
86
|
-
default: c(() =>
|
|
87
|
-
F(" 确认 "
|
|
88
|
-
])
|
|
89
|
-
_: 1
|
|
86
|
+
default: c(() => t[2] || (t[2] = [
|
|
87
|
+
F(" 确认 ")
|
|
88
|
+
])),
|
|
89
|
+
_: 1,
|
|
90
|
+
__: [2]
|
|
90
91
|
})
|
|
91
92
|
])
|
|
92
93
|
]);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as vt, computed as
|
|
2
|
-
import {
|
|
3
|
-
import { S as Mt } from "./index-
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
5
|
-
import { I as ut } from "./request-
|
|
6
|
-
import { s as wt } from "./index-
|
|
7
|
-
import { d as Bt } from "./index-
|
|
1
|
+
import { defineAsyncComponent as vt, computed as _e, onMounted as We, resolveComponent as Z, createBlock as we, openBlock as P, withCtx as V, resolveDynamicComponent as xe, defineComponent as yt, defineProps as Ct, ref as j, watch as je, reactive as gt, nextTick as kt, createElementBlock as X, Fragment as Pe, createVNode as Y, createCommentVNode as Te, normalizeStyle as Dt, toDisplayString as St, createElementVNode as Oe, createTextVNode as Re, renderList as _t } from "vue";
|
|
2
|
+
import { u as It, a as bt, p as Ke, b as Tt, s as Me, c as Ae, v as ue } from "./index-C02plr9M.js";
|
|
3
|
+
import { S as Mt } from "./index-BHtNKL1L.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CSocraHr.js";
|
|
5
|
+
import { I as ut } from "./request-DolpfyNJ.js";
|
|
6
|
+
import { s as wt } from "./index-11kpzK0A.js";
|
|
7
|
+
import { d as Bt } from "./index-Bld7MkVu.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
|
-
import { g as $e, u as Pt, b as ze, c as Ot, a as Rt } from "./index-
|
|
11
|
-
import { g as Kt } from "./index-
|
|
12
|
-
import { f as $t } from "./menuIndex-
|
|
13
|
-
import { d as qe, e as Je, n as zt } from "./index-
|
|
14
|
-
import { u as qt } from "./index-
|
|
10
|
+
import { g as $e, u as Pt, b as ze, c as Ot, a as Rt } from "./index-CJySKIdc.js";
|
|
11
|
+
import { g as Kt } from "./index-COG151iX.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-BbxAsUl_.js";
|
|
13
|
+
import { d as qe, e as Je, n as zt } from "./index-a2lAUtbV.js";
|
|
14
|
+
import { u as qt } from "./index-DZwnRZNI.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-Bld7MkVu.js").then((i) => i.q));
|
|
17
17
|
Be.install = (i) => {
|
|
18
18
|
i.component("ssMenu", Be);
|
|
19
19
|
};
|
|
@@ -23,45 +23,45 @@ const Wt = {
|
|
|
23
23
|
name: String
|
|
24
24
|
},
|
|
25
25
|
setup(i) {
|
|
26
|
-
const n = i,
|
|
26
|
+
const n = i, _ = _e(() => ut[n.name]);
|
|
27
27
|
return We(() => {
|
|
28
28
|
}), (f, o) => {
|
|
29
29
|
const l = Z("el-icon");
|
|
30
30
|
return P(), we(l, null, {
|
|
31
31
|
default: V(() => [
|
|
32
|
-
(P(), we(xe(
|
|
32
|
+
(P(), we(xe(_.value)))
|
|
33
33
|
]),
|
|
34
34
|
_: 1
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
}, Ge = (i, n,
|
|
38
|
+
}, Ge = (i, n, _ = 0) => {
|
|
39
39
|
let f = i;
|
|
40
|
-
return f != null && f.every((o) => Array.isArray(o)) && (f != null && f.every((o) => Array.isArray(o) && o.length === 1) ? f = f == null ? void 0 : f.filter((o) => (o == null ? void 0 : o[0]) !== (n == null ? void 0 : n[
|
|
41
|
-
if (o != null && o.find((l) => l === (n == null ? void 0 : n[
|
|
42
|
-
let l = Ae(n), r = o == null ? void 0 : o.filter((C) => C !== (l == null ? void 0 : l[
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}), o =
|
|
40
|
+
return f != null && f.every((o) => Array.isArray(o)) && (f != null && f.every((o) => Array.isArray(o) && o.length === 1) ? f = f == null ? void 0 : f.filter((o) => (o == null ? void 0 : o[0]) !== (n == null ? void 0 : n[_])) : f = f == null ? void 0 : f.map((o) => {
|
|
41
|
+
if (o != null && o.find((l) => l === (n == null ? void 0 : n[_])) && (n == null ? void 0 : n.length) !== 1) {
|
|
42
|
+
let l = Ae(n), r = o == null ? void 0 : o.filter((C) => C !== (l == null ? void 0 : l[_])), M = _ + 1, w = Ge(r, l, M), I = [];
|
|
43
|
+
I.push(o == null ? void 0 : o[0]), w == null || w.forEach((C) => {
|
|
44
|
+
I.push(C);
|
|
45
|
+
}), o = I;
|
|
46
46
|
}
|
|
47
47
|
return o;
|
|
48
48
|
})), f;
|
|
49
|
-
}, Ne = (i, n,
|
|
49
|
+
}, Ne = (i, n, _, f = 0) => {
|
|
50
50
|
let o = i;
|
|
51
|
-
return o != null && o.every((l) => Array.isArray(l)) && (o != null && o.every((l) => Array.isArray(l) && l.length === 1) ? o.push([
|
|
51
|
+
return o != null && o.every((l) => Array.isArray(l)) && (o != null && o.every((l) => Array.isArray(l) && l.length === 1) ? o.push([_]) : o = o == null ? void 0 : o.map((l) => {
|
|
52
52
|
if (l != null && l.find((r) => r === (n == null ? void 0 : n[f])) && (n == null ? void 0 : n.length) !== 1) {
|
|
53
|
-
let r = Ae(n), M = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1,
|
|
54
|
-
C.push(l == null ? void 0 : l[0]),
|
|
53
|
+
let r = Ae(n), M = l == null ? void 0 : l.filter((u) => u !== (r == null ? void 0 : r[f])), w = f + 1, I = Ne(M, r, _, w), C = [];
|
|
54
|
+
C.push(l == null ? void 0 : l[0]), I == null || I.forEach((u) => {
|
|
55
55
|
C.push(u);
|
|
56
56
|
}), l = C;
|
|
57
57
|
}
|
|
58
58
|
return l;
|
|
59
59
|
})), o;
|
|
60
|
-
}, Ee = (i, n,
|
|
60
|
+
}, Ee = (i, n, _, f, o = 0) => {
|
|
61
61
|
let l = i;
|
|
62
|
-
return l != null && l.every((r) => Array.isArray(r)) && (l != null && l.every((r) => Array.isArray(r) && r.length === 1) ? l = l == null ? void 0 : l.map((r) => ((r == null ? void 0 : r[0]) ===
|
|
62
|
+
return l != null && l.every((r) => Array.isArray(r)) && (l != null && l.every((r) => Array.isArray(r) && r.length === 1) ? l = l == null ? void 0 : l.map((r) => ((r == null ? void 0 : r[0]) === _ && (r = [f]), r)) : l = l == null ? void 0 : l.map((r) => {
|
|
63
63
|
if (r != null && r.find((M) => M === (n == null ? void 0 : n[o])) && (n == null ? void 0 : n.length) !== 1) {
|
|
64
|
-
let M = Ae(n), w = r == null ? void 0 : r.filter((a) => a !== (M == null ? void 0 : M[o])),
|
|
64
|
+
let M = Ae(n), w = r == null ? void 0 : r.filter((a) => a !== (M == null ? void 0 : M[o])), I = o + 1, C = Ee(w, M, _, f, I), u = [];
|
|
65
65
|
u.push(r == null ? void 0 : r[0]), C == null || C.forEach((a) => {
|
|
66
66
|
u.push(a);
|
|
67
67
|
}), r = u;
|
|
@@ -79,7 +79,7 @@ function Qe(i = "menu") {
|
|
|
79
79
|
ssDialog: wt,
|
|
80
80
|
ssInput: Bt
|
|
81
81
|
},
|
|
82
|
-
setup(n, { emit:
|
|
82
|
+
setup(n, { emit: _ }) {
|
|
83
83
|
const f = Ct({
|
|
84
84
|
mode: {
|
|
85
85
|
type: String,
|
|
@@ -101,10 +101,10 @@ function Qe(i = "menu") {
|
|
|
101
101
|
operateType: "修改菜单名",
|
|
102
102
|
operateIcon: "FixedMenu"
|
|
103
103
|
}
|
|
104
|
-
]), l =
|
|
104
|
+
]), l = It(), r = bt(Ke), M = Tt(Ke), { loginUserInfo: w } = Me(M), I = j(0), C = At(), u = j(), { asideMenus: a, menuTriggerType: H, platform: Se, jumpMenuInform: O } = Me(l), { fixMenuStatus: Ie } = Me(r), { isSuperAdmin: Xe } = qt(), Ye = _e(() => f == null ? void 0 : f.mode), Fe = (t) => t == null ? void 0 : t.map((e) => {
|
|
105
105
|
var c, d;
|
|
106
106
|
return !(e != null && e.children) || ((c = e == null ? void 0 : e.children) == null ? void 0 : c.length) === 0 ? e.config = o.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children = Fe(e.children)), e;
|
|
107
|
-
}), Le =
|
|
107
|
+
}), Le = _e(() => {
|
|
108
108
|
let t = [...a.value];
|
|
109
109
|
if ((t == null ? void 0 : t.length) === 0)
|
|
110
110
|
return C.push("/"), [];
|
|
@@ -114,10 +114,10 @@ function Qe(i = "menu") {
|
|
|
114
114
|
return !(e != null && e.children) || ((c = e == null ? void 0 : e.children) == null ? void 0 : c.length) === 0 ? e.config = o.value : e != null && e.children && ((d = e == null ? void 0 : e.children) == null ? void 0 : d.length) > 0 && (e.children = Fe(e.children)), e;
|
|
115
115
|
}), t;
|
|
116
116
|
}), Ze = async (t, s) => {
|
|
117
|
-
r.setRouteToChildPath(""), l.setMenuTriggerType("click"), l.setActiveMenuPath(t == null ? void 0 : t.path), l.setActiveAsideMenu(t), t.isRouter ? C.push(t.path) : C.push("/"),
|
|
117
|
+
r.setRouteToChildPath(""), l.setMenuTriggerType("click"), l.setActiveMenuPath(t == null ? void 0 : t.path), l.setActiveAsideMenu(t), t.isRouter ? C.push(t.path) : C.push("/"), _("node-click", t, s);
|
|
118
118
|
}, Ve = async (t) => {
|
|
119
119
|
const s = $t(Le.value, "path", t);
|
|
120
|
-
l.setActiveAsideMenu(s), r.setRouteToChildPath(""),
|
|
120
|
+
l.setActiveAsideMenu(s), r.setRouteToChildPath(""), Ie.value ? r.setFixMenuStatus(!1) : (x.value && (H.value = "open"), H.value === "click" ? O.value || l.setActiveMenuPath(t) : x.value || (l.setMenuTriggerType("click"), O.value || l.setActiveMenuPath(t))), t != null && t.startsWith("/") ? C.push(t) : C.push("/"), I.value++;
|
|
121
121
|
}, He = (t) => {
|
|
122
122
|
x.value || l.setActiveMenuPath(t);
|
|
123
123
|
}, J = (t) => {
|
|
@@ -127,9 +127,9 @@ function Qe(i = "menu") {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
We(() => {
|
|
130
|
-
|
|
130
|
+
I.value = 1;
|
|
131
131
|
});
|
|
132
|
-
const me =
|
|
132
|
+
const me = _e(() => {
|
|
133
133
|
const t = sessionStorage.getItem("authority");
|
|
134
134
|
return t ? JSON.parse(t) : [];
|
|
135
135
|
});
|
|
@@ -162,16 +162,16 @@ function Qe(i = "menu") {
|
|
|
162
162
|
data: t
|
|
163
163
|
}), l.setIsRefreshMenus(!0);
|
|
164
164
|
}, it = async (t, s, e) => {
|
|
165
|
-
var c, d, g, $,
|
|
165
|
+
var c, d, g, $, b, G, E, ee, te, le, se, oe, ae, ie, re, ne, ce, pe, fe, he, de, ve, ye, Ce, ge, ke, De;
|
|
166
166
|
if (s === "create") {
|
|
167
167
|
let F = (e == null ? void 0 : e.title) + "(1)", U = (d = (c = e == null ? void 0 : e.path) == null ? void 0 : c.split("/")) == null ? void 0 : d.filter((D, v) => {
|
|
168
168
|
var k, T;
|
|
169
169
|
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
170
170
|
}), L = await qe(
|
|
171
|
-
(
|
|
171
|
+
(b = ($ = (g = e == null ? void 0 : e.path) == null ? void 0 : g.split("/")) == null ? void 0 : $.filter((D, v) => {
|
|
172
172
|
var k, T;
|
|
173
173
|
return v !== ((T = (k = e == null ? void 0 : e.path) == null ? void 0 : k.split("/")) == null ? void 0 : T.length) - 1;
|
|
174
|
-
})) == null ? void 0 :
|
|
174
|
+
})) == null ? void 0 : b.join("/"),
|
|
175
175
|
sessionStorage.getItem("systemKey"),
|
|
176
176
|
""
|
|
177
177
|
);
|
|
@@ -248,11 +248,11 @@ function Qe(i = "menu") {
|
|
|
248
248
|
return A !== ((h = (B = s == null ? void 0 : s.path) == null ? void 0 : B.split("/")) == null ? void 0 : h.length) - 1;
|
|
249
249
|
}), $ = g == null ? void 0 : g.join("/");
|
|
250
250
|
g.push((ie = t == null ? void 0 : t.target) == null ? void 0 : ie.value), g = g == null ? void 0 : g.join("/");
|
|
251
|
-
let
|
|
252
|
-
if (((fe = (pe = (ce = (ne = (re =
|
|
253
|
-
let p = (Ce = (ye = (ve = (de = (he =
|
|
251
|
+
let b = await qe($, sessionStorage.getItem("systemKey"), "");
|
|
252
|
+
if (((fe = (pe = (ce = (ne = (re = b == null ? void 0 : b[0]) == null ? void 0 : re.compData) == null ? void 0 : ne.find((p) => (p == null ? void 0 : p.key) === "header")) == null ? void 0 : ce.contents) == null ? void 0 : pe[0]) == null ? void 0 : fe.directiveLabel) === "#isMain") {
|
|
253
|
+
let p = (Ce = (ye = (ve = (de = (he = b == null ? void 0 : b[0]) == null ? void 0 : he.compData) == null ? void 0 : de.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : ve.contents) == null ? void 0 : ye[0]) == null ? void 0 : Ce.prop, A = (De = (ke = (ge = b == null ? void 0 : b[0]) == null ? void 0 : ge.compData) == null ? void 0 : ke.find(
|
|
254
254
|
(y) => (y == null ? void 0 : y.key) === "tableContents"
|
|
255
|
-
)) == null ? void 0 : De.contents, B = (D = (L = (U = (F =
|
|
255
|
+
)) == null ? void 0 : De.contents, B = (D = (L = (U = (F = b == null ? void 0 : b[0]) == null ? void 0 : F.compData) == null ? void 0 : U.find((y) => (y == null ? void 0 : y.key) === "header")) == null ? void 0 : L.contents) == null ? void 0 : D.map((y) => y == null ? void 0 : y.prop), h;
|
|
256
256
|
if (A == null || A.forEach((y) => {
|
|
257
257
|
var Q;
|
|
258
258
|
let N = Je(y, B);
|
|
@@ -318,7 +318,7 @@ function Qe(i = "menu") {
|
|
|
318
318
|
));
|
|
319
319
|
}, x = j(!1), dt = () => {
|
|
320
320
|
x.value = !x.value;
|
|
321
|
-
},
|
|
321
|
+
}, be = j(null);
|
|
322
322
|
return je(() => a.value, async (t) => {
|
|
323
323
|
var s, e;
|
|
324
324
|
if (t) {
|
|
@@ -326,12 +326,12 @@ function Qe(i = "menu") {
|
|
|
326
326
|
const c = t == null ? void 0 : t[0];
|
|
327
327
|
if (((s = c == null ? void 0 : c.children) == null ? void 0 : s.length) > 0) {
|
|
328
328
|
const d = c == null ? void 0 : c.path;
|
|
329
|
-
|
|
329
|
+
be.value && ((e = be.value) == null || e.openMenuRefByIndex(d));
|
|
330
330
|
} else
|
|
331
331
|
O != null && O.value ? l.setJumpMenuInform(!1) : l.setActiveMenuPath((c == null ? void 0 : c.path) ?? "");
|
|
332
332
|
}
|
|
333
333
|
}, { immediate: !0 }), {
|
|
334
|
-
menuRef:
|
|
334
|
+
menuRef: be,
|
|
335
335
|
isCollapse: x,
|
|
336
336
|
handleMenuCollapse: dt,
|
|
337
337
|
handleCompChange: ht,
|
|
@@ -360,9 +360,9 @@ const xt = yt(Qe()), Gt = ["title"], Nt = {
|
|
|
360
360
|
class: "menu-title",
|
|
361
361
|
style: { display: "flex", width: "100px" }
|
|
362
362
|
}, Qt = { class: "module-dialog-content" };
|
|
363
|
-
function Xt(i, n,
|
|
363
|
+
function Xt(i, n, _, f, o, l) {
|
|
364
364
|
var u;
|
|
365
|
-
const r = Z("ss-input"), M = Z("ss-menu"), w = Z("svg-icon"),
|
|
365
|
+
const r = Z("ss-input"), M = Z("ss-menu"), w = Z("svg-icon"), I = Z("el-button"), C = Z("ss-dialog");
|
|
366
366
|
return P(), X(Pe, null, [
|
|
367
367
|
Y(M, {
|
|
368
368
|
ref: "menuRef",
|
|
@@ -387,7 +387,7 @@ function Xt(i, n, I, f, o, l) {
|
|
|
387
387
|
i.fixElement && (a == null ? void 0 : a.path) === ((O = i.fixElement) == null ? void 0 : O.path) ? (P(), X("span", Nt, [
|
|
388
388
|
Y(r, {
|
|
389
389
|
value: a.title,
|
|
390
|
-
onBlur: (
|
|
390
|
+
onBlur: (Ie) => i.onBlur(Ie, a)
|
|
391
391
|
}, null, 8, ["value", "onBlur"])
|
|
392
392
|
])) : Te("", !0)
|
|
393
393
|
];
|
|
@@ -413,7 +413,7 @@ function Xt(i, n, I, f, o, l) {
|
|
|
413
413
|
}, {
|
|
414
414
|
default: V(() => [
|
|
415
415
|
Oe("div", Qt, [
|
|
416
|
-
(P(!0), X(Pe, null,
|
|
416
|
+
(P(!0), X(Pe, null, _t(i.dialogRenderComps, (a) => (P(), X("div", {
|
|
417
417
|
key: a.id
|
|
418
418
|
}, [
|
|
419
419
|
(P(), we(xe(i.getComponents((a == null ? void 0 : a.comp) ?? "Input")), {
|
|
@@ -428,23 +428,25 @@ function Xt(i, n, I, f, o, l) {
|
|
|
428
428
|
]),
|
|
429
429
|
footer: V(() => [
|
|
430
430
|
Oe("div", null, [
|
|
431
|
-
Y(
|
|
431
|
+
Y(I, {
|
|
432
432
|
id: "themeBorderButton",
|
|
433
433
|
onClick: i.beforeDialogDestroy
|
|
434
434
|
}, {
|
|
435
|
-
default: V(() =>
|
|
436
|
-
Re("取消"
|
|
437
|
-
])
|
|
438
|
-
_: 1
|
|
435
|
+
default: V(() => n[1] || (n[1] = [
|
|
436
|
+
Re("取消")
|
|
437
|
+
])),
|
|
438
|
+
_: 1,
|
|
439
|
+
__: [1]
|
|
439
440
|
}, 8, ["onClick"]),
|
|
440
|
-
Y(
|
|
441
|
+
Y(I, {
|
|
441
442
|
id: "themeButton",
|
|
442
443
|
onClick: i.clickSubmitForm
|
|
443
444
|
}, {
|
|
444
|
-
default: V(() =>
|
|
445
|
-
Re(" 确认 "
|
|
446
|
-
])
|
|
447
|
-
_: 1
|
|
445
|
+
default: V(() => n[2] || (n[2] = [
|
|
446
|
+
Re(" 确认 ")
|
|
447
|
+
])),
|
|
448
|
+
_: 1,
|
|
449
|
+
__: [2]
|
|
448
450
|
}, 8, ["onClick"])
|
|
449
451
|
])
|
|
450
452
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v,
|
|
2
|
-
import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
3
|
-
import { aD as X, az as J, ao as G, a7 as D,
|
|
1
|
+
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as E, openBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as z, nextTick as N, Fragment as q, withDirectives as H, renderSlot as $, vShow as M } from "vue";
|
|
2
|
+
import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CSocraHr.js";
|
|
3
|
+
import { aD as X, az as J, ao as G, a7 as D, a9 as c, aa as R, ar as g } from "./request-DolpfyNJ.js";
|
|
4
4
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const K = "ElUpload";
|
|
6
6
|
class Q extends Error {
|
|
@@ -163,7 +163,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
163
163
|
}, y = () => {
|
|
164
164
|
var s;
|
|
165
165
|
(s = e.cropper) == null || s.destroy(), e.isShowDialog = !1;
|
|
166
|
-
},
|
|
166
|
+
}, _ = () => {
|
|
167
167
|
y();
|
|
168
168
|
}, b = async () => {
|
|
169
169
|
const s = await S();
|
|
@@ -203,13 +203,13 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
203
203
|
return r({
|
|
204
204
|
openDialog: i
|
|
205
205
|
}), (s, a) => {
|
|
206
|
-
const m = v("ele-Edit"), C = v("el-icon"),
|
|
207
|
-
return
|
|
206
|
+
const m = v("ele-Edit"), C = v("el-icon"), w = v("el-button"), j = v("el-upload"), O = v("el-dialog");
|
|
207
|
+
return U(), E("div", null, [
|
|
208
208
|
u(O, {
|
|
209
209
|
modelValue: e.isShowDialog,
|
|
210
210
|
"onUpdate:modelValue": a[0] || (a[0] = (A) => e.isShowDialog = A),
|
|
211
211
|
width: "769px",
|
|
212
|
-
"before-close":
|
|
212
|
+
"before-close": _
|
|
213
213
|
}, {
|
|
214
214
|
header: d(() => [
|
|
215
215
|
l("div", ae, [
|
|
@@ -239,49 +239,53 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
239
239
|
"on-exceed": P
|
|
240
240
|
}, {
|
|
241
241
|
trigger: d(() => [
|
|
242
|
-
u(
|
|
242
|
+
u(w, {
|
|
243
243
|
type: "info",
|
|
244
244
|
icon: "ele-Picture"
|
|
245
245
|
}, {
|
|
246
|
-
default: d(() =>
|
|
247
|
-
h("选择图片"
|
|
248
|
-
])
|
|
249
|
-
_: 1
|
|
246
|
+
default: d(() => a[4] || (a[4] = [
|
|
247
|
+
h("选择图片")
|
|
248
|
+
])),
|
|
249
|
+
_: 1,
|
|
250
|
+
__: [4]
|
|
250
251
|
})
|
|
251
252
|
]),
|
|
252
253
|
default: d(() => [
|
|
253
|
-
u(
|
|
254
|
+
u(w, {
|
|
254
255
|
onClick: f,
|
|
255
256
|
type: "danger",
|
|
256
257
|
icon: "ele-Picture",
|
|
257
258
|
style: { "margin-left": "8px" }
|
|
258
259
|
}, {
|
|
259
|
-
default: d(() =>
|
|
260
|
-
h("删除图片"
|
|
261
|
-
])
|
|
262
|
-
_: 1
|
|
260
|
+
default: d(() => a[5] || (a[5] = [
|
|
261
|
+
h("删除图片")
|
|
262
|
+
])),
|
|
263
|
+
_: 1,
|
|
264
|
+
__: [5]
|
|
263
265
|
})
|
|
264
266
|
]),
|
|
265
267
|
_: 1
|
|
266
268
|
}, 512),
|
|
267
269
|
l("div", null, [
|
|
268
|
-
u(
|
|
269
|
-
onClick:
|
|
270
|
+
u(w, {
|
|
271
|
+
onClick: _,
|
|
270
272
|
id: "themeBorderButton"
|
|
271
273
|
}, {
|
|
272
|
-
default: d(() =>
|
|
273
|
-
h("取 消"
|
|
274
|
-
])
|
|
275
|
-
_: 1
|
|
274
|
+
default: d(() => a[6] || (a[6] = [
|
|
275
|
+
h("取 消")
|
|
276
|
+
])),
|
|
277
|
+
_: 1,
|
|
278
|
+
__: [6]
|
|
276
279
|
}),
|
|
277
|
-
u(
|
|
280
|
+
u(w, {
|
|
278
281
|
onClick: b,
|
|
279
282
|
id: "themeButton"
|
|
280
283
|
}, {
|
|
281
|
-
default: d(() =>
|
|
282
|
-
h("确 定"
|
|
283
|
-
])
|
|
284
|
-
_: 1
|
|
284
|
+
default: d(() => a[7] || (a[7] = [
|
|
285
|
+
h("确 定")
|
|
286
|
+
])),
|
|
287
|
+
_: 1,
|
|
288
|
+
__: [7]
|
|
285
289
|
})
|
|
286
290
|
])
|
|
287
291
|
])
|
|
@@ -355,14 +359,14 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
355
359
|
const o = t, n = I(), p = I(null), e = r, i = () => !0, y = async () => {
|
|
356
360
|
var f;
|
|
357
361
|
o != null && o.banClick || (e("clickAvatar", o.avatarUrl), (f = n.value) == null || f.openDialog(o.avatarBlob));
|
|
358
|
-
},
|
|
362
|
+
}, _ = async (f) => {
|
|
359
363
|
e("submitImage", f);
|
|
360
364
|
}, b = async () => {
|
|
361
365
|
e("deleteImage");
|
|
362
366
|
};
|
|
363
367
|
return (f, k) => {
|
|
364
368
|
const S = v("el-avatar");
|
|
365
|
-
return
|
|
369
|
+
return U(), E(q, null, [
|
|
366
370
|
u(S, {
|
|
367
371
|
src: t.avatarUrl,
|
|
368
372
|
onClick: y,
|
|
@@ -375,16 +379,16 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
375
379
|
onError: i
|
|
376
380
|
}, {
|
|
377
381
|
default: d(() => [
|
|
378
|
-
|
|
382
|
+
$(f.$slots, "avatarDefault", {}, void 0, !0)
|
|
379
383
|
]),
|
|
380
384
|
_: 3
|
|
381
385
|
}, 8, ["src", "size"]),
|
|
382
|
-
|
|
386
|
+
H(u(ve, {
|
|
383
387
|
ref_key: "cropperDialogRef",
|
|
384
388
|
ref: n,
|
|
385
389
|
title: "更改头像",
|
|
386
390
|
avatarUrl: t.avatarUrl,
|
|
387
|
-
onSubmitImage:
|
|
391
|
+
onSubmitImage: _,
|
|
388
392
|
onDeleteImage: b
|
|
389
393
|
}, null, 8, ["avatarUrl"]), [
|
|
390
394
|
[M, t.showCropper && (o == null ? void 0 : o.clickStop)]
|
|
@@ -392,12 +396,12 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
392
396
|
], 64);
|
|
393
397
|
};
|
|
394
398
|
}
|
|
395
|
-
}),
|
|
399
|
+
}), _e = /* @__PURE__ */ L(ye, [["__scopeId", "data-v-82946fb9"]]), Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
396
400
|
__proto__: null,
|
|
397
|
-
default:
|
|
401
|
+
default: _e
|
|
398
402
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
399
403
|
export {
|
|
400
|
-
|
|
404
|
+
_e as A,
|
|
401
405
|
ve as C,
|
|
402
406
|
re as a,
|
|
403
407
|
Ce as b,
|