ss-component-new 1.3.592 → 1.3.593
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-DLRwDSq9.js → MTLLoader-IoORm7Xy.js} +1 -1
- package/dist/{OrbitControls-VdSvi6qo.js → OrbitControls-DjKxlySM.js} +1 -1
- package/dist/{URDFLoader-DhyvlhkT.js → URDFLoader-5h_AgL9v.js} +2 -2
- package/dist/{animationData-ByZIPDPc.js → animationData-DCvSnnkl.js} +7 -7
- package/dist/array-Bn8J1Ybt.js +1044 -0
- package/dist/{clone-D5TKyMdO.js → clone-MyfSNInd.js} +1 -1
- package/dist/{iconfont-CqFSe5EU.js → iconfont-C1vgOyVl.js} +2 -2
- package/dist/{index-mQI3ujkE.js → index-B2LYEScO.js} +1 -1
- package/dist/{index-BSMt0OZo.js → index-B8NQAdR4.js} +5 -5
- package/dist/{index-CVk15ReJ.js → index-B9jvDVI4.js} +2 -2
- package/dist/{index-C67TeTN3.js → index-BEIX2w-s.js} +4 -4
- package/dist/{index-Ifg8aVTq.js → index-BkkvdZXm.js} +2 -2
- package/dist/{index-BVS7HHp4.js → index-BooTxrf0.js} +1 -1
- package/dist/{index-DlxAjIs9.js → index-BvtOLltL.js} +15 -15
- package/dist/{index-Bytb2Q_T.js → index-BvyM6d06.js} +414 -346
- package/dist/{index-Bb88Fjjp.js → index-BybrpYzx.js} +1 -1
- package/dist/{index-D9vhij7d.js → index-CHITXBP8.js} +2 -2
- package/dist/{index-rsglChpR.js → index-CM6aWexA.js} +2 -2
- package/dist/{index-DIlCmYlU.js → index-CT1LWsrT.js} +3 -3
- package/dist/{index-Do6KLvYX.js → index-CYjsE5Gs.js} +2 -2
- package/dist/{index-B3DudN3T.js → index-CahXu506.js} +16 -16
- package/dist/{index-JZWQVbZk.js → index-CcNofqvR.js} +2 -2
- package/dist/{index-DWCGStVg.js → index-CkO7j_i1.js} +4 -4
- package/dist/{index-DYBugViC.js → index-CnVTTuJX.js} +1 -1
- package/dist/{index-Dk-QuykT.js → index-CymdCuJN.js} +6 -6
- package/dist/index-D33gkv3n.js +10843 -0
- package/dist/{index-CM_QMg_M.js → index-D9UIlesH.js} +18609 -18609
- package/dist/{index-BXuFvudN.js → index-DGuZ5wp-.js} +7 -7
- package/dist/{index-C0Qvl5_h.js → index-DIVct0z6.js} +1 -1
- package/dist/{index-qzqfH3bH.js → index-DO2hRjRp.js} +2 -2
- package/dist/{index-DQpp2FMD.js → index-DYGcFilp.js} +8 -8
- package/dist/{index-gKCLMm1H.js → index-DcPtyCDm.js} +23 -23
- package/dist/{index-B_X5U5tn.js → index-DfDUkCbN.js} +1 -1
- package/dist/{index-CnH0AhvF.js → index-DmILGKv9.js} +3 -3
- package/dist/{index-DzGsNMvh.js → index-M7J_qxQw.js} +32 -32
- package/dist/{index-DBI9NUGP.js → index-o5SO709_.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_07c75c98_lang-CSKqhil-.js → index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js} +7 -7
- package/dist/main-1mbUGlWA.js +502 -0
- package/dist/{menuIndex-_8JUtdkK.js → menuIndex-BiUB7t5q.js} +1 -1
- package/dist/{ss-component3.js → router.js} +12 -12
- package/dist/{ss-component.css → ss-component-new.css} +1 -1
- package/dist/ss-component.js +71 -9
- package/dist/svg.js +12 -0
- package/dist/{threeModel-9I62DmQE.js → threeModel-BpG-AcGZ.js} +4 -4
- package/dist/{threePreview-BbFA3Cr_.js → threePreview-CwE8MXTl.js} +4 -4
- package/dist/{threeSceneView-BSaAqV79.js → threeSceneView-DGvDz7Lr.js} +11 -11
- package/dist/{threeSceneViewForCPMPIP-B2nOcHD0.js → threeSceneViewForCPMPIP-CalaPv9B.js} +8 -8
- package/dist/{threeTrackPathView-BlOfpQQx.js → threeTrackPathView-6-V10AFb.js} +4 -4
- package/dist/{threeViewerHost-CfL6vu2n.js → threeViewerHost-BsUgakNM.js} +3 -3
- package/dist/{urdfTree-RhU4c2KY.js → urdfTree-PYe9AY5_.js} +1 -1
- package/dist/{workpieceTreePanel-Cf62OkTw.js → workpieceTreePanel-D5mGwMQx.js} +4 -4
- package/package.json +20 -2
- package/dist/index-B7vro097.js +0 -11873
- package/dist/ss-component2.js +0 -70
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as H, ref as u, computed as Ve, resolveComponent as n, openBlock as k, createElementBlock as x, createElementVNode as o, createVNode as t, withCtx as s, toDisplayString as N, createBlock as ue, reactive as xe, Fragment as pe, renderList as De, unref as c, createTextVNode as h, onMounted as it, watch as dt, withModifiers as ct, createCommentVNode as J } from "vue";
|
|
2
2
|
import { u as ut, h as pt, i as mt } from "./request-BfrhYBTM.js";
|
|
3
|
-
import { u as Se, o as ft, s as de, f as ce } from "./index-
|
|
4
|
-
import { I as Le, J as _t, u as vt, p as gt } from "./index-
|
|
3
|
+
import { u as Se, o as ft, s as de, f as ce } from "./index-CYjsE5Gs.js";
|
|
4
|
+
import { I as Le, J as _t, u as vt, p as gt } from "./index-B8NQAdR4.js";
|
|
5
5
|
import { s as fe } from "./index-DJrzqi4-.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
7
|
-
import "./index-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
|
|
7
|
+
import "./index-D9UIlesH.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
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./index-BvyM6d06.js";
|
|
11
|
+
import "./index-o5SO709_.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
import { c as me } from "./clone-
|
|
13
|
+
import { c as me } from "./clone-MyfSNInd.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__ */ H({
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as _, ref as A } from "vue";
|
|
2
2
|
import { a as I, g as M } from "./index-B4NcYIuS.js";
|
|
3
|
-
import { E as N } from "./index-
|
|
3
|
+
import { E as N } from "./index-B8NQAdR4.js";
|
|
4
4
|
import { E as s } from "./request-BfrhYBTM.js";
|
|
5
5
|
const K = A([]), T = _(() => [
|
|
6
6
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { W as m } from "./index-
|
|
3
|
-
import { g as d, c as _ } from "./index-
|
|
2
|
+
import { W as m } from "./index-D9UIlesH.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
5
|
const l = c([]), g = n(() => [
|
|
6
6
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, onMounted as D, resolveComponent as B, resolveDirective as T, openBlock as u, createElementBlock as y, createElementVNode as t, withDirectives as p, createVNode as o, unref as n, toDisplayString as r, createBlock as A } from "vue";
|
|
2
|
-
import { S as I, t as x, s as w, a as L } from "./index-
|
|
3
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-o5SO709_.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
|
|
4
4
|
import "./index-dD-mKgue.js";
|
|
5
|
-
import { e as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import {
|
|
5
|
+
import { e as E } from "./index-CahXu506.js";
|
|
6
|
+
import "./index-BvyM6d06.js";
|
|
7
|
+
import { b as N, s as U } from "./index-B8NQAdR4.js";
|
|
8
8
|
import "./request-BfrhYBTM.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -16,7 +16,7 @@ const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H =
|
|
|
16
16
|
var l;
|
|
17
17
|
e.getUserTableHeadersAsync(), e.refreshLoginUserInfoAsync((l = s == null ? void 0 : s.value) == null ? void 0 : l.id), x.value++;
|
|
18
18
|
}), (l, a) => {
|
|
19
|
-
var g, m, _, v,
|
|
19
|
+
var g, m, _, v, b, f, h;
|
|
20
20
|
const i = B("svg-icon"), c = T("loading");
|
|
21
21
|
return u(), y("div", z, [
|
|
22
22
|
t("div", F, [
|
|
@@ -52,14 +52,14 @@ const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H =
|
|
|
52
52
|
name: "dept",
|
|
53
53
|
style: { width: "15px", height: "15px" }
|
|
54
54
|
}),
|
|
55
|
-
t("span", null, r(((
|
|
55
|
+
t("span", null, r(((b = n(s)) == null ? void 0 : b.部门名称) ?? "未知"), 1)
|
|
56
56
|
]),
|
|
57
57
|
t("div", null, [
|
|
58
58
|
o(i, {
|
|
59
59
|
name: "status",
|
|
60
60
|
style: { width: "15px", height: "15px" }
|
|
61
61
|
}),
|
|
62
|
-
t("span", null, r(((
|
|
62
|
+
t("span", null, r(((f = n(s)) == null ? void 0 : f.layer) === "superAdmin" ? "启用" : ((h = n(s)) == null ? void 0 : h.状态) ?? "未知"), 1)
|
|
63
63
|
])
|
|
64
64
|
]),
|
|
65
65
|
t("div", R, [
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { watch as ze, ref as v, computed as qe, defineComponent as Ue, onMounted as Ae, reactive as Fe, resolveComponent as p, openBlock as ue, createElementBlock as pe, createElementVNode as i, createVNode as a, unref as f, withCtx as l, createTextVNode as C, toDisplayString as we, Fragment as $e, renderList as Re, withModifiers as Me } from "vue";
|
|
2
2
|
import { s as G, u as Ge, h as Qe } from "./request-BfrhYBTM.js";
|
|
3
|
-
import {
|
|
4
|
-
import { s as je,
|
|
5
|
-
import { f as Ze, i as et, e as tt, a as ot } from "./index-
|
|
3
|
+
import { k as de, w as Oe } from "./index-BvyM6d06.js";
|
|
4
|
+
import { s as je, b as He, p as Ie, w as Je, E as Ke, F as be, k as We, c as Xe, u as Ye } from "./index-B8NQAdR4.js";
|
|
5
|
+
import { f as Ze, i as et, e as tt, a as ot } from "./index-CYjsE5Gs.js";
|
|
6
6
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
7
7
|
import { s as at } from "./index-DJrzqi4-.js";
|
|
8
8
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const st = He(Ie), { systemUrl: D } = je(st);
|
|
10
|
-
let
|
|
10
|
+
let B = D.value === "" || !D.value ? "http://222.92.178.198:63002" : D.value;
|
|
11
11
|
ze(
|
|
12
12
|
() => D.value,
|
|
13
13
|
() => {
|
|
14
|
-
|
|
14
|
+
B = D.value === "" || !D.value ? "http://222.92.178.198:63002" : D.value;
|
|
15
15
|
},
|
|
16
16
|
{ deep: !0, immediate: !0 }
|
|
17
17
|
);
|
|
18
18
|
function lt(u) {
|
|
19
19
|
return G({
|
|
20
|
-
url: `${
|
|
20
|
+
url: `${B}/platform/getdata_post`,
|
|
21
21
|
method: "post",
|
|
22
22
|
data: u
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
function it(u) {
|
|
26
26
|
return G({
|
|
27
|
-
url: `${
|
|
27
|
+
url: `${B}/platform/createdata_post`,
|
|
28
28
|
method: "post",
|
|
29
29
|
data: u
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
function rt(u) {
|
|
33
33
|
return G({
|
|
34
|
-
url: `${
|
|
34
|
+
url: `${B}/platform/updatedata_post`,
|
|
35
35
|
method: "post",
|
|
36
36
|
data: u
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
function ut(u) {
|
|
40
40
|
return G({
|
|
41
|
-
url: `${
|
|
41
|
+
url: `${B}/platform/deletedata_post`,
|
|
42
42
|
method: "post",
|
|
43
43
|
data: u
|
|
44
44
|
});
|
|
@@ -326,8 +326,8 @@ const pt = [
|
|
|
326
326
|
}, De = async () => {
|
|
327
327
|
const s = document.createElement("input");
|
|
328
328
|
s.type = "file", s.accept = ".xlsx", s.onchange = async (o) => {
|
|
329
|
-
var
|
|
330
|
-
const g = (
|
|
329
|
+
var k;
|
|
330
|
+
const g = (k = o.target.files) == null ? void 0 : k[0];
|
|
331
331
|
if (g)
|
|
332
332
|
try {
|
|
333
333
|
r.setImportLoading(!0), await K(g), await h(), r.setImportLoading(!1);
|
|
@@ -344,7 +344,7 @@ const pt = [
|
|
|
344
344
|
};
|
|
345
345
|
return (s, o) => {
|
|
346
346
|
var ge, _e, ve, ye;
|
|
347
|
-
const m = p("el-input"), g = p("el-button"),
|
|
347
|
+
const m = p("el-input"), g = p("el-button"), k = p("el-icon"), le = p("el-dropdown-item"), Ee = p("el-dropdown-menu"), ke = p("el-dropdown"), x = p("el-table-column"), xe = p("el-tag"), Be = p("el-table"), Te = p("el-pagination"), ie = p("el-form-item"), re = p("el-col"), fe = p("el-row"), Ve = p("el-input-number"), Ne = p("el-form");
|
|
348
348
|
return ue(), pe("div", ct, [
|
|
349
349
|
i("div", mt, [
|
|
350
350
|
i("div", ft, [
|
|
@@ -383,7 +383,7 @@ const pt = [
|
|
|
383
383
|
}, {
|
|
384
384
|
default: l(() => [
|
|
385
385
|
o[7] || (o[7] = C(" 导入 ", -1)),
|
|
386
|
-
a(
|
|
386
|
+
a(k, { class: "el-icon--right" }, {
|
|
387
387
|
default: l(() => [
|
|
388
388
|
a(f(Ge))
|
|
389
389
|
]),
|
|
@@ -392,7 +392,7 @@ const pt = [
|
|
|
392
392
|
]),
|
|
393
393
|
_: 1
|
|
394
394
|
}),
|
|
395
|
-
a(
|
|
395
|
+
a(ke, null, {
|
|
396
396
|
dropdown: l(() => [
|
|
397
397
|
a(Ee, null, {
|
|
398
398
|
default: l(() => [
|
|
@@ -416,7 +416,7 @@ const pt = [
|
|
|
416
416
|
a(g, { type: "primary" }, {
|
|
417
417
|
default: l(() => [
|
|
418
418
|
o[8] || (o[8] = C(" 导出 ", -1)),
|
|
419
|
-
a(
|
|
419
|
+
a(k, { class: "el-icon--right" }, {
|
|
420
420
|
default: l(() => [
|
|
421
421
|
a(f(Qe))
|
|
422
422
|
]),
|
|
@@ -439,7 +439,7 @@ const pt = [
|
|
|
439
439
|
i("div", vt, [
|
|
440
440
|
i("div", yt, [
|
|
441
441
|
i("div", wt, [
|
|
442
|
-
a(
|
|
442
|
+
a(Be, {
|
|
443
443
|
class: "department-table",
|
|
444
444
|
data: U.value,
|
|
445
445
|
"empty-text": "",
|
|
@@ -447,23 +447,23 @@ const pt = [
|
|
|
447
447
|
onSortChange: ee
|
|
448
448
|
}, {
|
|
449
449
|
default: l(() => [
|
|
450
|
-
a(
|
|
450
|
+
a(x, {
|
|
451
451
|
prop: "name",
|
|
452
452
|
label: "名称",
|
|
453
453
|
align: "center"
|
|
454
454
|
}),
|
|
455
|
-
a(
|
|
455
|
+
a(x, {
|
|
456
456
|
prop: "code",
|
|
457
457
|
label: "编码",
|
|
458
458
|
align: "center"
|
|
459
459
|
}),
|
|
460
|
-
a(
|
|
460
|
+
a(x, {
|
|
461
461
|
prop: "status",
|
|
462
462
|
label: "状态",
|
|
463
463
|
align: "center"
|
|
464
464
|
}, {
|
|
465
465
|
default: l((c) => [
|
|
466
|
-
a(
|
|
466
|
+
a(xe, {
|
|
467
467
|
class: "status-tag",
|
|
468
468
|
type: f(J)(c.row.status),
|
|
469
469
|
title: "点击切换",
|
|
@@ -477,13 +477,13 @@ const pt = [
|
|
|
477
477
|
]),
|
|
478
478
|
_: 1
|
|
479
479
|
}),
|
|
480
|
-
a(
|
|
480
|
+
a(x, {
|
|
481
481
|
prop: "sort",
|
|
482
482
|
label: "排序",
|
|
483
483
|
align: "center",
|
|
484
484
|
sortable: "custom"
|
|
485
485
|
}),
|
|
486
|
-
a(
|
|
486
|
+
a(x, {
|
|
487
487
|
label: "操作",
|
|
488
488
|
align: "center"
|
|
489
489
|
}, {
|
|
@@ -492,7 +492,7 @@ const pt = [
|
|
|
492
492
|
(ue(!0), pe($e, null, Re(f(pt), (M) => (ue(), pe("div", {
|
|
493
493
|
class: "operate-item",
|
|
494
494
|
key: M.value,
|
|
495
|
-
onClick: Me((
|
|
495
|
+
onClick: Me((kt) => oe(M, c), ["stop"])
|
|
496
496
|
}, we(M.label), 9, ht))), 128))
|
|
497
497
|
])
|
|
498
498
|
]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, openBlock as E, createElementBlock as U, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as N, nextTick as q, Fragment as z, renderSlot as H, withDirectives as $, vShow as M } from "vue";
|
|
2
|
-
import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
2
|
+
import { aj as V } from "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
|
|
3
3
|
import { aB as X, ax as J, am as G, a5 as D, a9 as c, aa as B, ap as g } from "./request-BfrhYBTM.js";
|
|
4
4
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const K = "ElUpload";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { openBlock as L, createElementBlock as D, createElementVNode as s, renderSlot as E, defineComponent as W, ref as _, resolveComponent as b, createVNode as t, withCtx as a, unref as P, reactive as le, computed as G, onMounted as me, createBlock as J, resolveDirective as ye, createCommentVNode as ae, normalizeClass as ie, toDisplayString as S, withDirectives as he, Transition as Ce, watch as ee, Fragment as we, createTextVNode as O, onBeforeUnmount as Te } from "vue";
|
|
2
2
|
import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b as ne, p as Q, s as se, u as ke, a as Ue, l as Ve, e as Le, v as $e } from "./index-B8NQAdR4.js";
|
|
4
4
|
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
5
5
|
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-BfrhYBTM.js";
|
|
6
|
-
import { u as xe } from "./index-
|
|
6
|
+
import { u as xe } from "./index-CT1LWsrT.js";
|
|
7
7
|
import { useRouter as De } from "vue-router";
|
|
8
|
-
import { l as Fe } from "./index-
|
|
8
|
+
import { l as Fe } from "./index-B2LYEScO.js";
|
|
9
9
|
const Re = {}, Ne = { class: "left-wrap" }, Se = { class: "left-bg" };
|
|
10
10
|
function Ee(y, T) {
|
|
11
11
|
return L(), D("div", Ne, [
|
|
@@ -1,19 +1,19 @@
|
|
|
1
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 {
|
|
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
3
|
import { S as Mt } from "./index-dD-mKgue.js";
|
|
4
|
-
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-
|
|
4
|
+
import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
|
|
5
5
|
import { I as ut } from "./request-BfrhYBTM.js";
|
|
6
6
|
import { s as wt } from "./index-DJrzqi4-.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c as Bt } from "./index-CahXu506.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-B4NcYIuS.js";
|
|
11
|
-
import { g as Kt } from "./index-
|
|
12
|
-
import { f as $t } from "./menuIndex-
|
|
13
|
-
import {
|
|
14
|
-
import { u as Jt } from "./index-
|
|
11
|
+
import { g as Kt } from "./index-D9UIlesH.js";
|
|
12
|
+
import { f as $t } from "./menuIndex-BiUB7t5q.js";
|
|
13
|
+
import { d as Je, e as qe, n as zt } from "./index-BvyM6d06.js";
|
|
14
|
+
import { u as Jt } from "./index-CYjsE5Gs.js";
|
|
15
15
|
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const Be = vt(() => import("./index-
|
|
16
|
+
const Be = vt(() => import("./index-CahXu506.js").then((i) => i.p));
|
|
17
17
|
Be.install = (i) => {
|
|
18
18
|
i.component("ssMenu", Be);
|
|
19
19
|
};
|
|
@@ -39,10 +39,10 @@ const Wt = {
|
|
|
39
39
|
let f = i;
|
|
40
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
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),
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}), o =
|
|
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;
|
|
@@ -50,8 +50,8 @@ const Wt = {
|
|
|
50
50
|
let o = i;
|
|
51
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
|
}
|
|
@@ -61,7 +61,7 @@ const Wt = {
|
|
|
61
61
|
let l = i;
|
|
62
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;
|
|
@@ -101,7 +101,7 @@ 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 } = Jt(), 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
107
|
}), Le = Ie(() => {
|
|
@@ -117,7 +117,7 @@ function Qe(i = "menu") {
|
|
|
117
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
|
}, q = (t) => {
|
|
@@ -127,7 +127,7 @@ function Qe(i = "menu") {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
We(() => {
|
|
130
|
-
|
|
130
|
+
b.value = 1;
|
|
131
131
|
});
|
|
132
132
|
const me = Ie(() => {
|
|
133
133
|
const t = sessionStorage.getItem("authority");
|
|
@@ -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 Je(
|
|
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 Je($, 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 = qe(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,
|
|
@@ -362,7 +362,7 @@ const xt = yt(Qe()), Gt = ["title"], Nt = {
|
|
|
362
362
|
}, Qt = { class: "module-dialog-content" };
|
|
363
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, 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: (be) => i.onBlur(be, a)
|
|
391
391
|
}, null, 8, ["value", "onBlur"])
|
|
392
392
|
])) : Te("", !0)
|
|
393
393
|
];
|
|
@@ -428,7 +428,7 @@ function Xt(i, n, I, 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
|
}, {
|
|
@@ -437,7 +437,7 @@ function Xt(i, n, I, f, o, l) {
|
|
|
437
437
|
])]),
|
|
438
438
|
_: 1
|
|
439
439
|
}, 8, ["onClick"]),
|
|
440
|
-
Y(
|
|
440
|
+
Y(b, {
|
|
441
441
|
id: "themeButton",
|
|
442
442
|
onClick: i.clickSubmitForm
|
|
443
443
|
}, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as O, computed as it, reactive as $t, defineComponent as Gt, watch as Jt, openBlock as j, createElementBlock as dt, createVNode as K, withCtx as C, createTextVNode as xt, toDisplayString as vt, createCommentVNode as ve, resolveComponent as st, createBlock as St, Fragment as ge, renderList as ye, createElementVNode as me, normalizeStyle as be } from "vue";
|
|
2
2
|
import { c7 as Se, c8 as Te, c9 as we, E as rt } from "./request-BfrhYBTM.js";
|
|
3
|
-
import { s as Wt,
|
|
3
|
+
import { s as Wt, c as Ee, b as De, p as Yt, u as xe, e as Ae } from "./index-B8NQAdR4.js";
|
|
4
4
|
import { g as Qt, u as Re } from "./index-B4NcYIuS.js";
|
|
5
|
-
import {
|
|
6
|
-
import { A as Ie } from "./index-
|
|
7
|
-
import { u as Xt,
|
|
5
|
+
import { a5 as Be } from "./index-BvyM6d06.js";
|
|
6
|
+
import { A as Ie } from "./index-DfDUkCbN.js";
|
|
7
|
+
import { u as Xt, l as Oe } from "./index-CahXu506.js";
|
|
8
8
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import { S as Tt } from "./index-dD-mKgue.js";
|
|
10
10
|
var Ve = "0123456789abcdefghijklmnopqrstuvwxyz";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Ddt = Object.defineProperty;
|
|
2
2
|
var Idt = (r, t, e) => t in r ? Ddt(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
3
|
var Vr = (r, t, e) => Idt(r, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { K as Ldt, L as Pdt, M as Ndt, N as Odt, O as Fdt, P as KJ, Q as Bdt, R as zdt, S as Udt, T as Vdt,
|
|
5
|
-
import {
|
|
6
|
-
import { e as Qdt } from "./index-
|
|
4
|
+
import { K as Ldt, L as Pdt, M as Ndt, N as Odt, O as Fdt, P as KJ, Q as Bdt, R as zdt, S as Udt, T as Vdt, b as OL, p as b2, s as w2, t as Hdt, k as jdt, j as Wdt, u as JJ, e as Gdt, U as Rm, V as $dt, W as _l, c as Qb, X as qdt } from "./index-B8NQAdR4.js";
|
|
5
|
+
import { m as Kz, h as Xdt, r as Ydt, k as Zdt, p as QJ, q as Kdt, x as Jdt } from "./index-BvyM6d06.js";
|
|
6
|
+
import { e as Qdt } from "./index-CM6aWexA.js";
|
|
7
7
|
import { k as tpt, l as _2, n as tQ, o as ept, q as eQ, r as rQ, t as rpt, v as npt, w as ipt, x as apt, y as spt, z as Jz, A as Qz, B as opt, S as lpt, C as z7 } from "./request-BfrhYBTM.js";
|
|
8
8
|
var upt = /\s/;
|
|
9
9
|
function cpt(r) {
|
|
@@ -159,7 +159,7 @@ function iQ(r, t, e, n, i) {
|
|
|
159
159
|
var sm = bpt(function(r, t, e) {
|
|
160
160
|
iQ(r, t, e);
|
|
161
161
|
});
|
|
162
|
-
const Npt =
|
|
162
|
+
const Npt = Wdt(b2), { selectTitle: u8 } = w2(Npt), Opt = JJ(b2), { currentMenuPath: Ty } = w2(Opt);
|
|
163
163
|
let cv = "$R";
|
|
164
164
|
const v_ = /* @__PURE__ */ new Map(), Fpt = (r) => r == null ? void 0 : r.map((e) => {
|
|
165
165
|
var o, l, u, c, h, f, d, p, m, g, y, v, b, w, _, x, S, T, E, D, L, B, C, R, A, M, I, k, N, z, O;
|
|
@@ -232,7 +232,7 @@ const v_ = /* @__PURE__ */ new Map(), Fpt = (r) => r == null ? void 0 : r.map((e
|
|
|
232
232
|
var h, f, d;
|
|
233
233
|
const c = v_.get(l);
|
|
234
234
|
try {
|
|
235
|
-
const p = await
|
|
235
|
+
const p = await jdt({
|
|
236
236
|
platId: parseInt(u),
|
|
237
237
|
pageName: l
|
|
238
238
|
}), m = (h = p == null ? void 0 : p.data) == null ? void 0 : h.result, g = Fpt(m);
|
|
@@ -346,7 +346,7 @@ const v_ = /* @__PURE__ */ new Map(), Fpt = (r) => r == null ? void 0 : r.map((e
|
|
|
346
346
|
}
|
|
347
347
|
if (e === "系统管理/角色管理") {
|
|
348
348
|
const q = OL(b2), { loginUserInfo: rt } = w2(q);
|
|
349
|
-
i = await
|
|
349
|
+
i = await Hdt({
|
|
350
350
|
platId: parseInt((vt = rt == null ? void 0 : rt.value) == null ? void 0 : vt.plat_id),
|
|
351
351
|
tableNames: ["role"]
|
|
352
352
|
}), i = ((et = (W = i == null ? void 0 : i.data) == null ? void 0 : W.result) == null ? void 0 : et[0]) ?? [], o = i;
|
|
@@ -7965,7 +7965,7 @@ function rgt(r, t) {
|
|
|
7965
7965
|
if (Fe(n) != "object") return n;
|
|
7966
7966
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
7967
7967
|
}
|
|
7968
|
-
return
|
|
7968
|
+
return String(r);
|
|
7969
7969
|
}
|
|
7970
7970
|
function MU(r) {
|
|
7971
7971
|
return new zQ(r, 0);
|