ss-component-new 1.3.622 → 1.3.623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{MTLLoader-5pQpbMEZ.js → MTLLoader-DMhnklB_.js} +2 -2
- package/dist/{URDFLoader-BO26K5-d.js → URDFLoader-BAD5outO.js} +589 -584
- package/dist/{animationData-rL2nYHqW.js → animationData-BivNXwi8.js} +3 -3
- package/dist/{array-DuZM66_g.js → array-DVFpR3i6.js} +13 -14
- package/dist/{clone-ESeDvnJv.js → clone-MyfSNInd.js} +1 -1
- package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
- package/dist/{iconfont-BIrta5vE.js → iconfont-CtG24-bX.js} +91 -91
- package/dist/{index-B0LBEDkm.js → index-1I7eukQf.js} +7683 -7235
- package/dist/{index-BvkIoiVW.js → index-6qXeMn6b.js} +3 -3
- package/dist/{index-BXh02EAd.js → index-B2LYEScO.js} +4 -4
- package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
- package/dist/{index-D8UY4uNQ.js → index-B8NQAdR4.js} +966 -967
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/{index-ZdNvgZn9.js → index-BJmov708.js} +3 -3
- package/dist/{index-B1mQwlvc.js → index-BRSmS6mX.js} +574 -609
- package/dist/{index-C2C4Xubh.js → index-BU9xRmBn.js} +5 -5
- package/dist/{index-D9xMYIes.js → index-BfM_hH1v.js} +3 -3
- package/dist/{index-CEdE_NSq.js → index-BjEiOqAI.js} +4 -4
- package/dist/{index-CPW7tdrA.js → index-BkkvdZXm.js} +17 -20
- package/dist/{index-CX8Apbo7.js → index-BybrpYzx.js} +1 -1
- package/dist/{index-CsgdODAE.js → index-C7U5HDoF.js} +6 -6
- package/dist/{index-B0M1YCUY.js → index-CFniuDkF.js} +7 -7
- package/dist/{index-tMqKF2l6.js → index-CM6aWexA.js} +2 -2
- package/dist/{index-CQUr9J0Q.js → index-COpc0s4t.js} +60 -62
- package/dist/{index-BBBCr4Oo.js → index-CT1LWsrT.js} +2 -2
- package/dist/{index-CTGB1BcX.js → index-CjRltPMx.js} +26770 -26595
- package/dist/{index-B_fRppeJ.js → index-CkO7j_i1.js} +8 -8
- package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
- package/dist/{index-C1AGWEl0.js → index-D2Nbhdyp.js} +18 -20
- package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
- package/dist/{index-B8XrhVMF.js → index-DErPB-d8.js} +36 -40
- package/dist/{index-C3pboX9W.js → index-DIVct0z6.js} +5 -5
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-DsdWSuDi.js → index-D_PRj4Vs.js} +2335 -2332
- package/dist/{index-D1E8EPxn.js → index-DmILGKv9.js} +57 -61
- package/dist/{index-D8ybTjwW.js → index-Dr6UVDuO.js} +8 -8
- package/dist/index-DwXNsgEY.js +2623 -0
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-BUqviBFi.js → index-dmrMsEJn.js} +29 -35
- package/dist/{index-CAzlTHKw.js → index-eHRjbFnR.js} +148 -157
- package/dist/{index-BRe_6GdA.js → index-nKrk42el.js} +4 -4
- package/dist/{index-BfOy5Rro.js → index-yipj2id1.js} +3 -3
- package/dist/{index.vue_vue_type_script_setup_true_lang-DRzriV-s.js → index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DrICHBhu.js} +27760 -27735
- package/dist/isString-Dxm3W5iX.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-C4Ocxkhh.js → main-DK4IZx7n.js} +9 -9
- package/dist/{menuIndex-DAW9B-9g.js → menuIndex-BiUB7t5q.js} +1 -1
- package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
- 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-eP_5lGNi.js → threeModel-DyfwUZBe.js} +174 -174
- package/dist/{threePreview-DMxYjkgP.js → threePreview-VgYHwBPZ.js} +12 -12
- package/dist/{threeSceneView-BCi9Iy7Y.js → threeSceneView-B741OdNa.js} +23 -24
- package/dist/{threeSceneViewForCPMPIP-C-O6XT9G.js → threeSceneViewForCPMPIP-UjEFfPgg.js} +16 -17
- package/dist/{threeTrackPathView-DB61-HKo.js → threeTrackPathView-B_uPNM5T.js} +7 -7
- package/dist/{threeViewerHost-CZUXimUc.js → threeViewerHost-BEGDV6UB.js} +4 -4
- package/dist/{urdfTree-BTnijMjA.js → urdfTree-DFTtpJ1T.js} +9 -9
- package/dist/{workpieceTreePanel-Cmcj8MOA.js → workpieceTreePanel-D5BfZ6Fw.js} +56 -60
- package/package.json +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/index-l27pYXil.js +0 -572
- package/dist/isString-BlNsHiyU.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { U as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
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 { U as m } from "./index-CjRltPMx.js";
|
|
3
|
+
import { g as d, c as _ } from "./index-DIVct0z6.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
const l =
|
|
5
|
+
const l = c([]), g = n(() => [
|
|
6
6
|
{
|
|
7
7
|
key: "extraButton",
|
|
8
8
|
contents: [
|
|
@@ -68,7 +68,7 @@ const l = n([]), g = c(() => [
|
|
|
68
68
|
a && (e.tableData = []);
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
|
-
return (o, t) => (
|
|
71
|
+
return (o, t) => (u(), f("div", D, [
|
|
72
72
|
b(m, {
|
|
73
73
|
itemData: e.pageData,
|
|
74
74
|
allowOperate: !1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch as be, ref as w, computed as we } from "vue";
|
|
2
|
-
import { p as E, k as B, w as Le } from "./index-
|
|
3
|
-
import { s as Te, b as V, p as C, u as Re, w as De, c as A, F, E as Ee, k as Be, aV as Ae, aW as Pe, aX as Ue, aY as xe, aZ as Se, a_ as ke } from "./index-
|
|
4
|
-
import { s as z } from "./request-
|
|
2
|
+
import { p as E, k as B, w as Le } from "./index-D_PRj4Vs.js";
|
|
3
|
+
import { s as Te, b as V, p as C, u as Re, w as De, c as A, F, E as Ee, k as Be, aV as Ae, aW as Pe, aX as Ue, aY as xe, aZ as Se, a_ as ke } from "./index-B8NQAdR4.js";
|
|
4
|
+
import { s as z } from "./request-BfrhYBTM.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
|
be(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as x, onMounted as _,
|
|
2
|
-
import { s as b } from "./index-
|
|
3
|
-
import { c as s } from "./index-
|
|
1
|
+
import { ref as x, onMounted as _, openBlock as g, createElementBlock as y, createVNode as C } from "vue";
|
|
2
|
+
import { s as b } from "./index-BJmov708.js";
|
|
3
|
+
import { c as s } from "./index-B8NQAdR4.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const A = (t, n, a) => {
|
|
6
6
|
var r, d, p, m;
|
|
@@ -74,7 +74,7 @@ const A = (t, n, a) => {
|
|
|
74
74
|
var o;
|
|
75
75
|
const e = n == null ? void 0 : n.eChartContents;
|
|
76
76
|
a.value = A(s(e == null ? void 0 : e.compData), (o = c == null ? void 0 : c.find((r) => (r == null ? void 0 : r.key) === (e == null ? void 0 : e.name))) == null ? void 0 : o.value, e == null ? void 0 : e.extraContent);
|
|
77
|
-
}), (e, o) => (
|
|
77
|
+
}), (e, o) => (g(), y("div", v, [
|
|
78
78
|
C(b, { optionContents: a.value }, null, 8, ["optionContents"])
|
|
79
79
|
]));
|
|
80
80
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u,
|
|
2
|
-
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-
|
|
3
|
-
import { w as Qe, E as $e, F as we, c as Ye, k as je, u as Ze, p as He } from "./index-
|
|
4
|
-
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { s as Je } from "./index-
|
|
1
|
+
import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u, openBlock as _, createElementBlock as P, createElementVNode as s, createVNode as o, unref as c, withCtx as i, createTextVNode as N, toDisplayString as le, Fragment as oe, renderList as se, withModifiers as xe, createBlock as re, createCommentVNode as qe } from "vue";
|
|
2
|
+
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-CM6aWexA.js";
|
|
3
|
+
import { w as Qe, E as $e, F as we, c as Ye, k as je, u as Ze, p as He } from "./index-B8NQAdR4.js";
|
|
4
|
+
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
5
|
+
import { s as Je } from "./index-DJrzqi4-.js";
|
|
6
6
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const G = {
|
|
8
8
|
COMPANY: {
|
|
@@ -349,22 +349,20 @@ const G = {
|
|
|
349
349
|
type: "primary",
|
|
350
350
|
onClick: y
|
|
351
351
|
}, {
|
|
352
|
-
default: i(() => a[5] || (a[5] = [
|
|
353
|
-
N("查询")
|
|
354
|
-
])),
|
|
355
|
-
_: 1
|
|
356
|
-
__: [5]
|
|
352
|
+
default: i(() => [...a[5] || (a[5] = [
|
|
353
|
+
N("查询", -1)
|
|
354
|
+
])]),
|
|
355
|
+
_: 1
|
|
357
356
|
}),
|
|
358
357
|
o(te, {
|
|
359
358
|
type: "primary",
|
|
360
359
|
plain: "",
|
|
361
360
|
onClick: X
|
|
362
361
|
}, {
|
|
363
|
-
default: i(() => a[6] || (a[6] = [
|
|
364
|
-
N("重置")
|
|
365
|
-
])),
|
|
366
|
-
_: 1
|
|
367
|
-
__: [6]
|
|
362
|
+
default: i(() => [...a[6] || (a[6] = [
|
|
363
|
+
N("重置", -1)
|
|
364
|
+
])]),
|
|
365
|
+
_: 1
|
|
368
366
|
})
|
|
369
367
|
]),
|
|
370
368
|
s("div", it, [
|
|
@@ -372,11 +370,10 @@ const G = {
|
|
|
372
370
|
type: "primary",
|
|
373
371
|
onClick: a[1] || (a[1] = (r) => ce())
|
|
374
372
|
}, {
|
|
375
|
-
default: i(() => a[7] || (a[7] = [
|
|
376
|
-
N("新增部门")
|
|
377
|
-
])),
|
|
378
|
-
_: 1
|
|
379
|
-
__: [7]
|
|
373
|
+
default: i(() => [...a[7] || (a[7] = [
|
|
374
|
+
N("新增部门", -1)
|
|
375
|
+
])]),
|
|
376
|
+
_: 1
|
|
380
377
|
})
|
|
381
378
|
])
|
|
382
379
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as A, computed as c, onMounted as _ } from "vue";
|
|
2
2
|
import { useRouter as C } from "vue-router";
|
|
3
|
-
import { u as g, p as h, w as R, c as b, k as S, o as E } from "./index-
|
|
3
|
+
import { u as g, p as h, w as R, c as b, k as S, o as E } from "./index-B8NQAdR4.js";
|
|
4
4
|
const l = {
|
|
5
5
|
ALLOW: {
|
|
6
6
|
value: "允许"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as y, ref as C, onMounted as _,
|
|
2
|
-
import { u as h, p as k, s as x, c as m } from "./index-
|
|
3
|
-
import { U as M } from "./index-
|
|
4
|
-
import { a as D, d as T, f as S } from "./index-
|
|
5
|
-
import { g as w } from "./index-
|
|
1
|
+
import { defineComponent as y, ref as C, onMounted as _, openBlock as c, createElementBlock as g, createVNode as v } from "vue";
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-B8NQAdR4.js";
|
|
3
|
+
import { U as M } from "./index-CjRltPMx.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index-DCY5J8nu.js";
|
|
5
|
+
import { g as w } from "./index-B4NcYIuS.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
8
8
|
__name: "index",
|
|
@@ -84,7 +84,7 @@ const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
|
84
84
|
const d = (e) => {
|
|
85
85
|
(e == null ? void 0 : e.buttonName) === "新增" ? D(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "删除" ? T(e == null ? void 0 : e.singleContent) : (e == null ? void 0 : e.buttonName) === "编辑" && S(e == null ? void 0 : e.singleContent);
|
|
86
86
|
};
|
|
87
|
-
return (e, o) => (
|
|
87
|
+
return (e, o) => (c(), g("div", N, [
|
|
88
88
|
v(M, {
|
|
89
89
|
itemData: r.value,
|
|
90
90
|
class: "table-content",
|
|
@@ -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, nextTick as B, reactive as ie, computed as _, watch as ye } from "vue";
|
|
2
|
+
import { c as J, u as be, p as U, a as he, j as Ce, s as Ie } from "./index-B8NQAdR4.js";
|
|
3
|
+
import { j as ke } from "./index-D_PRj4Vs.js";
|
|
4
|
+
import { g as $, c as ae, u as oe, d as Te, a as Me } from "./index-B4NcYIuS.js";
|
|
5
|
+
import { e as Se } from "./menuIndex-BiUB7t5q.js";
|
|
6
|
+
import { E as S } from "./request-BfrhYBTM.js";
|
|
7
|
+
const F = he(U), ne = Ce(U), C = be(U), { menus: ue, configMenu: R, activeMenuPath: q, cacheStructures: K } = Ie(C), z = i(!1), se = _(() => {
|
|
8
8
|
var e, t;
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { watch as n } from "vue";
|
|
2
|
-
import { s as o, b as p, p as u } from "./index-
|
|
3
|
-
import { s as r } from "./request-
|
|
2
|
+
import { s as o, b as p, p as u } from "./index-B8NQAdR4.js";
|
|
3
|
+
import { s as r } from "./request-BfrhYBTM.js";
|
|
4
4
|
const m = p(u), { systemUrl: a } = o(m);
|
|
5
5
|
let e = a.value === "" || !a.value ? "http://222.92.178.198:63002" : a.value;
|
|
6
6
|
n(
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as vt, computed as
|
|
2
|
-
import { u as
|
|
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 { c as Bt } from "./index-
|
|
1
|
+
import { defineAsyncComponent as vt, computed as Ie, onMounted as We, resolveComponent as Z, openBlock as P, createBlock as we, 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, normalizeStyle as Dt, toDisplayString as St, createCommentVNode as Te, createElementVNode as Oe, createTextVNode as Re, renderList as It } from "vue";
|
|
2
|
+
import { c as Ae, u as bt, a as _t, p as Ke, b as Tt, s as Me, v as ue } from "./index-B8NQAdR4.js";
|
|
3
|
+
import { S as Mt } from "./index-dD-mKgue.js";
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DrICHBhu.js";
|
|
5
|
+
import { I as ut } from "./request-BfrhYBTM.js";
|
|
6
|
+
import { s as wt } from "./index-DJrzqi4-.js";
|
|
7
|
+
import { c as Bt } from "./index-1I7eukQf.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-B4NcYIuS.js";
|
|
11
|
+
import { g as Kt } from "./index-CjRltPMx.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-BiUB7t5q.js";
|
|
13
|
+
import { d as qe, e as Je, n as zt } from "./index-D_PRj4Vs.js";
|
|
14
|
+
import { u as qt } from "./index-BfM_hH1v.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-1I7eukQf.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, I = Ie(() => 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(I.value)))
|
|
33
33
|
]),
|
|
34
34
|
_: 1
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
}, Ge = (i, n,
|
|
38
|
+
}, Ge = (i, n, I = 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[I])) : f = f == null ? void 0 : f.map((o) => {
|
|
41
|
+
if (o != null && o.find((l) => l === (n == null ? void 0 : n[I])) && (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[I])), M = I + 1, w = Ge(r, l, M), b = [];
|
|
43
|
+
b.push(o == null ? void 0 : o[0]), w == null || w.forEach((C) => {
|
|
44
|
+
b.push(C);
|
|
45
|
+
}), o = b;
|
|
46
46
|
}
|
|
47
47
|
return o;
|
|
48
48
|
})), f;
|
|
49
|
-
}, Ne = (i, n,
|
|
49
|
+
}, Ne = (i, n, I, 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([I]) : 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, b = Ne(M, r, I, w), C = [];
|
|
54
|
+
C.push(l == null ? void 0 : l[0]), b == null || b.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, I, 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]) === I && (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])), b = o + 1, C = Ee(w, M, I, f, b), 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: I }) {
|
|
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 = bt(), r = _t(Ke), M = Tt(Ke), { loginUserInfo: w } = Me(M), b = j(0), C = At(), u = j(), { asideMenus: a, menuTriggerType: H, platform: Se, jumpMenuInform: O } = Me(l), { fixMenuStatus: be } = Me(r), { isSuperAdmin: Xe } = qt(), Ye = Ie(() => 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 = Ie(() => {
|
|
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("/"), I("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(""), be.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("/"), b.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
|
+
b.value = 1;
|
|
131
131
|
});
|
|
132
|
-
const me =
|
|
132
|
+
const me = Ie(() => {
|
|
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, $, _, 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
|
+
(_ = ($ = (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 : _.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 _ = await qe($, sessionStorage.getItem("systemKey"), "");
|
|
252
|
+
if (((fe = (pe = (ce = (ne = (re = _ == null ? void 0 : _[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 = _ == null ? void 0 : _[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 = _ == null ? void 0 : _[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 = _ == null ? void 0 : _[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
|
+
}, _e = 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
|
+
_e.value && ((e = _e.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: _e,
|
|
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, I, 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"), b = 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, _, 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: (be) => i.onBlur(be, a)
|
|
391
391
|
}, null, 8, ["value", "onBlur"])
|
|
392
392
|
])) : Te("", !0)
|
|
393
393
|
];
|
|
@@ -413,7 +413,7 @@ function Xt(i, n, _, 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, It(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,25 +428,23 @@ function Xt(i, n, _, f, o, l) {
|
|
|
428
428
|
]),
|
|
429
429
|
footer: V(() => [
|
|
430
430
|
Oe("div", null, [
|
|
431
|
-
Y(
|
|
431
|
+
Y(b, {
|
|
432
432
|
id: "themeBorderButton",
|
|
433
433
|
onClick: i.beforeDialogDestroy
|
|
434
434
|
}, {
|
|
435
|
-
default: V(() => n[1] || (n[1] = [
|
|
436
|
-
Re("取消")
|
|
437
|
-
])),
|
|
438
|
-
_: 1
|
|
439
|
-
__: [1]
|
|
435
|
+
default: V(() => [...n[1] || (n[1] = [
|
|
436
|
+
Re("取消", -1)
|
|
437
|
+
])]),
|
|
438
|
+
_: 1
|
|
440
439
|
}, 8, ["onClick"]),
|
|
441
|
-
Y(
|
|
440
|
+
Y(b, {
|
|
442
441
|
id: "themeButton",
|
|
443
442
|
onClick: i.clickSubmitForm
|
|
444
443
|
}, {
|
|
445
|
-
default: V(() => n[2] || (n[2] = [
|
|
446
|
-
Re(" 确认 ")
|
|
447
|
-
])),
|
|
448
|
-
_: 1
|
|
449
|
-
__: [2]
|
|
444
|
+
default: V(() => [...n[2] || (n[2] = [
|
|
445
|
+
Re(" 确认 ", -1)
|
|
446
|
+
])]),
|
|
447
|
+
_: 1
|
|
450
448
|
}, 8, ["onClick"])
|
|
451
449
|
])
|
|
452
450
|
]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as U, b as l, p as h, w as F } from "./index-
|
|
2
|
-
import { s as f } from "./request-
|
|
1
|
+
import { s as U, b as l, p as h, w as F } from "./index-B8NQAdR4.js";
|
|
2
|
+
import { s as f } from "./request-BfrhYBTM.js";
|
|
3
3
|
import { watch as p } from "vue";
|
|
4
4
|
const P = l(h), { systemUrl: s, extraUrl: o } = U(P);
|
|
5
5
|
let d = s.value === "" || !s.value ? "http://222.92.178.198:63002" : s.value, m = o.value === "" || !o.value ? "http://139.196.154.85:20015" : o.value;
|