ss-component-new 1.3.736 → 1.3.738
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-BVktbBYH.js +657 -0
- package/dist/URDFLoader-DOfmRu4N.js +2299 -0
- package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
- package/dist/animationData-DFwWrgvB.js +83 -0
- package/dist/array-BblFKp6J.js +1045 -0
- package/dist/clone-B58hfp9X.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-qStmsM1q.js +29 -0
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/iconfont-kC8HZ4Ly.js +1030 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/method.svg +1 -0
- package/dist/index-11kpzK0A.js +209 -0
- package/dist/index-5E79iwO0.js +83 -0
- package/dist/index-B1p0mv2e.js +201 -0
- package/dist/index-B4TcjId0.js +331 -0
- package/dist/index-B5ngelGR.js +20578 -0
- package/dist/index-BHtNKL1L.js +27 -0
- package/dist/index-BiiVP9UY.js +447 -0
- package/dist/index-BzB2Vn8c.js +93 -0
- package/dist/index-C-eAXBcR.js +78 -0
- package/dist/index-C5USB9qE.js +48 -0
- package/dist/index-C84z9NFx.js +30 -0
- package/dist/index-CDE3W8eV.js +103 -0
- package/dist/index-CK4tG84e.js +572 -0
- package/dist/index-CLm6QFZK.js +627 -0
- package/dist/index-CToBJlDQ.js +28500 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CWOXvFfD.js +44 -0
- package/dist/index-CXQiVSNJ.js +622 -0
- package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
- package/dist/index-Cryd-gMS.js +62 -0
- package/dist/index-Cy0pOs1M.js +411 -0
- package/dist/index-DJJYgWGf.js +93 -0
- package/dist/index-DQsXaCwv.js +25341 -0
- package/dist/index-DUbk5m5P.js +99 -0
- package/dist/index-Dep-Vngh.js +1000 -0
- package/dist/index-Dgtvod-r.js +84 -0
- package/dist/index-Di9zYrW0.js +665 -0
- package/dist/index-DrKojU3W.js +470 -0
- package/dist/index-Q06_a3No.js +873 -0
- package/dist/index-XnbtYIMr.js +58 -0
- package/dist/index-YjBTGOkO.js +61 -0
- package/dist/index-fQsebbH3.js +107 -0
- package/dist/index-nOF50-Li.js +98 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/index-wkaC1Dyn.js +119 -0
- package/dist/index-yOnrK71-.js +8994 -0
- package/dist/index-yRb0l-bC.js +63306 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-lORgn-P0.js +137927 -0
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-BeZonpqe.js +502 -0
- package/dist/menuIndex-Cv7pne94.js +159 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/pyodide-Dc1Mu-0d.js +489 -0
- package/dist/request-1RPa2bBn.js +9048 -0
- package/dist/ss-component.css +8 -2
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BFDsEVGl.js +1109 -0
- package/dist/threePreview-CgmqKkIH.js +3091 -0
- package/dist/threeSceneView-BEZwdi1j.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-CusZYRCU.js +539 -0
- package/dist/threeTrackPathView-CbhiJklA.js +620 -0
- package/dist/threeViewerHost-d0umFxXA.js +233 -0
- package/dist/urdfTree-Bko5D1KR.js +254 -0
- package/dist/workpieceTreePanel-DTgX-q2q.js +559 -0
- package/package.json +8 -11
- package/public/config.js +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/method.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-8KTFGqOM.js +0 -25
- package/dist/index-A8OE-eSF.js +0 -29
- package/dist/index-B2xkIV6C.js +0 -25
- package/dist/index-B3v82KuY.js +0 -1044
- package/dist/index-BeE5LpiD.js +0 -50679
- package/dist/index-C0HH0uAE.js +0 -188
- package/dist/index-C0U2Epeo.js +0 -25
- package/dist/index-C8GSZPvd.js +0 -4
- package/dist/index-CA0CoKiz.js +0 -25
- package/dist/index-CHjBtkir.js +0 -4
- package/dist/index-CJP9hdx4.js +0 -53
- package/dist/index-COeMUCuq.js +0 -213
- package/dist/index-COxVr3MC.js +0 -4
- package/dist/index-CXoQiaXz.js +0 -27
- package/dist/index-CdanNGTM.js +0 -4
- package/dist/index-CfwzR4gE.js +0 -469
- package/dist/index-CoEteqj_.js +0 -4
- package/dist/index-Cqt27z96.js +0 -23
- package/dist/index-Cqyl2URI.js +0 -32
- package/dist/index-CuIbbhNo.js +0 -25
- package/dist/index-D1WMhpsE.js +0 -26
- package/dist/index-D3G5ymZc.js +0 -4
- package/dist/index-D5oMkTBW.js +0 -35
- package/dist/index-D7CiXPV2.js +0 -634
- package/dist/index-DGogREB4.js +0 -26
- package/dist/index-DRqX_bCT.js +0 -4
- package/dist/index-DbUt70zC.js +0 -50
- package/dist/index-DnLZtsZU.js +0 -4
- package/dist/index-IoMa0kLh.js +0 -27
- package/dist/index-JkTP1vyC.js +0 -4
- package/dist/index-LuY_QZlf.js +0 -181
- package/dist/index-boICNvPL.js +0 -4
- package/dist/index-uriwf_fo.js +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-B-JCE78v.js +0 -21
- package/dist/index.vue_vue_type_script_setup_true_lang-BSZB17y-.js +0 -42
- package/dist/index.vue_vue_type_script_setup_true_lang-Brir5Bym.js +0 -41
- package/dist/index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CARZt7yC.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-CVALRKBG.js +0 -48
- package/dist/index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js +0 -39
- package/dist/index.vue_vue_type_script_setup_true_lang-DAb-qhJ1.js +0 -40
- package/dist/index.vue_vue_type_script_setup_true_lang-DimtrEJj.js +0 -26
- package/dist/menu-ClNHLze7.js +0 -5208
- package/dist/platform-CPTootse.js +0 -11429
- /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{update.svg → Update.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { f as C, h as L, d as b, b as N, p as P, s as R, i as T } from "./index-yOnrK71-.js";
|
|
2
|
+
import { E as k } from "./request-1RPa2bBn.js";
|
|
3
|
+
const q = N(P), { isDefaultModel: D } = b(), E = async (m, a) => {
|
|
4
|
+
var c, n, i, r, l, s, g, f, _, y, h, w, S, A;
|
|
5
|
+
let e = Object.values(m), t = await C({
|
|
6
|
+
userName: (c = e == null ? void 0 : e[0]) == null ? void 0 : c.trim(),
|
|
7
|
+
password: (n = e == null ? void 0 : e[1]) == null ? void 0 : n.trim()
|
|
8
|
+
});
|
|
9
|
+
if (((i = t == null ? void 0 : t.data) == null ? void 0 : i.status) === 200 && ((l = (r = t == null ? void 0 : t.data) == null ? void 0 : r.result) == null ? void 0 : l.length) <= 0 && (t = await L({
|
|
10
|
+
userName: (s = e == null ? void 0 : e[0]) == null ? void 0 : s.trim(),
|
|
11
|
+
password: (g = e == null ? void 0 : e[1]) == null ? void 0 : g.trim(),
|
|
12
|
+
path: "系统管理/用户管理",
|
|
13
|
+
platId: a
|
|
14
|
+
})), ((f = t == null ? void 0 : t.data) == null ? void 0 : f.status) === 200 && ((y = (_ = t == null ? void 0 : t.data) == null ? void 0 : _.result) == null ? void 0 : y.length) > 0) {
|
|
15
|
+
const o = ((w = (h = t == null ? void 0 : t.data) == null ? void 0 : h.result) == null ? void 0 : w.find((M) => D(M))) || ((A = (S = t == null ? void 0 : t.data) == null ? void 0 : S.result) == null ? void 0 : A[0]);
|
|
16
|
+
sessionStorage.setItem("systemKey", a && a !== "" ? a : o == null ? void 0 : o.plat_id);
|
|
17
|
+
let u = o;
|
|
18
|
+
return u.plat_id = u.plat_id ?? a, q.setLoginUserInfo(u), q.setSystemKey(a && a !== "" ? a : o == null ? void 0 : o.plat_id), !0;
|
|
19
|
+
} else
|
|
20
|
+
return k.error("输入的密码错误,请重新输入"), !1;
|
|
21
|
+
}, I = N(P), { systemInfo: d, loginUserInfo: p } = R(I), { handlePlatformInfo: K } = b(), O = async () => (sessionStorage.setItem("loginToken", "111"), !0), x = async () => (sessionStorage.setItem("magicToken", "123456"), !0), J = async (m) => {
|
|
22
|
+
var n, i, r, l;
|
|
23
|
+
(n = d.value) != null && n.plat_id || await K();
|
|
24
|
+
let a = [E(m, (i = d.value) == null ? void 0 : i.plat_id), O(), x()];
|
|
25
|
+
const e = await Promise.all(a), t = e == null ? void 0 : e.every((s) => s);
|
|
26
|
+
let c = [
|
|
27
|
+
{
|
|
28
|
+
id: "1",
|
|
29
|
+
request_method: "Post",
|
|
30
|
+
request_url: "/platform/getdata",
|
|
31
|
+
request_param: JSON.stringify({
|
|
32
|
+
userName: "hjj",
|
|
33
|
+
password: "1"
|
|
34
|
+
}),
|
|
35
|
+
request_result: "{}",
|
|
36
|
+
is_delete: !1,
|
|
37
|
+
request_table: "admin_user",
|
|
38
|
+
request_type: "login"
|
|
39
|
+
}
|
|
40
|
+
];
|
|
41
|
+
try {
|
|
42
|
+
const s = ((r = p == null ? void 0 : p.value) == null ? void 0 : r.plat_id) || ((l = d.value) == null ? void 0 : l.plat_id);
|
|
43
|
+
return await T({
|
|
44
|
+
platId: parseInt(s),
|
|
45
|
+
changeContents: [
|
|
46
|
+
{
|
|
47
|
+
tableName: "log",
|
|
48
|
+
tableContents: c
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}), t;
|
|
52
|
+
} catch {
|
|
53
|
+
return t;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
J as l
|
|
58
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { s as a } from "./request-1RPa2bBn.js";
|
|
2
|
+
function n(t) {
|
|
3
|
+
return a({
|
|
4
|
+
url: "/api/insofData/add",
|
|
5
|
+
method: "post",
|
|
6
|
+
data: t
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function s(t) {
|
|
10
|
+
var e;
|
|
11
|
+
if (((e = Object.keys(t)) == null ? void 0 : e.length) !== 0)
|
|
12
|
+
return a({
|
|
13
|
+
url: "/api/insofData/get",
|
|
14
|
+
method: "post",
|
|
15
|
+
data: t
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function i(t) {
|
|
19
|
+
return a({
|
|
20
|
+
url: "/api/insofData/update",
|
|
21
|
+
method: "post",
|
|
22
|
+
data: t
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function r(t) {
|
|
26
|
+
return a({
|
|
27
|
+
url: "/api/insofData/delete",
|
|
28
|
+
method: "post",
|
|
29
|
+
data: t
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function p(t) {
|
|
33
|
+
return a({
|
|
34
|
+
url: "/api/insofData/batchAdd",
|
|
35
|
+
method: "post",
|
|
36
|
+
data: t
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function u(t) {
|
|
40
|
+
return a({
|
|
41
|
+
url: "/api/insofData/batchDelete",
|
|
42
|
+
method: "post",
|
|
43
|
+
data: t
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function f(t) {
|
|
47
|
+
return a({
|
|
48
|
+
url: "/api/insofData/batchUpdate",
|
|
49
|
+
method: "post",
|
|
50
|
+
data: t
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
u as a,
|
|
55
|
+
f as b,
|
|
56
|
+
n as c,
|
|
57
|
+
r as d,
|
|
58
|
+
p as e,
|
|
59
|
+
s as g,
|
|
60
|
+
i as u
|
|
61
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
+
import { W as C } from "./index-yRb0l-bC.js";
|
|
3
|
+
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const b = () => {
|
|
5
|
+
const i = l("日志管理"), o = l(), a = l([
|
|
6
|
+
{
|
|
7
|
+
key: "header",
|
|
8
|
+
contents: [
|
|
9
|
+
{
|
|
10
|
+
prop: "name",
|
|
11
|
+
align: "center",
|
|
12
|
+
isRun: !1,
|
|
13
|
+
label: "日志名称",
|
|
14
|
+
isRoute: !1,
|
|
15
|
+
isTableColHidden: !1,
|
|
16
|
+
isFormColHidden: !1
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
prop: "time",
|
|
20
|
+
align: "center",
|
|
21
|
+
isRun: !1,
|
|
22
|
+
label: "生成时间",
|
|
23
|
+
isRoute: !1,
|
|
24
|
+
isTableColHidden: !1,
|
|
25
|
+
isFormColHidden: !1
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
prop: "sort",
|
|
29
|
+
align: "operator",
|
|
30
|
+
isRun: !1,
|
|
31
|
+
label: "操作人",
|
|
32
|
+
isRoute: !1,
|
|
33
|
+
isTableColHidden: !1,
|
|
34
|
+
isFormColHidden: !1
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
prop: "remark",
|
|
38
|
+
align: "center",
|
|
39
|
+
isRun: !1,
|
|
40
|
+
label: "备注",
|
|
41
|
+
isRoute: !1,
|
|
42
|
+
isTableColHidden: !1,
|
|
43
|
+
isFormColHidden: !1
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "操作",
|
|
47
|
+
isMainKey: !0
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: "extraButton",
|
|
53
|
+
contents: [
|
|
54
|
+
// { label: '新增' },
|
|
55
|
+
// { label: '删除' }
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
key: "rowButton",
|
|
60
|
+
contents: [{ label: "删除" }]
|
|
61
|
+
},
|
|
62
|
+
{ key: "tableFilter", contents: [] },
|
|
63
|
+
{
|
|
64
|
+
key: "tableContents",
|
|
65
|
+
contents: [[{ id: 764397741125751 }, "test", "test", "test", "test"]]
|
|
66
|
+
}
|
|
67
|
+
]);
|
|
68
|
+
return {
|
|
69
|
+
compName: i,
|
|
70
|
+
changedRow: o,
|
|
71
|
+
tableInfo: a,
|
|
72
|
+
handleItemDataChange: (s) => {
|
|
73
|
+
},
|
|
74
|
+
clickRowButton: async (s, d) => {
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}, h = { class: "log-management" }, k = { class: "body" }, R = /* @__PURE__ */ m({
|
|
78
|
+
__name: "index",
|
|
79
|
+
setup(i) {
|
|
80
|
+
const {
|
|
81
|
+
compName: o,
|
|
82
|
+
changedRow: a,
|
|
83
|
+
tableInfo: r,
|
|
84
|
+
handleItemDataChange: c,
|
|
85
|
+
clickRowButton: s
|
|
86
|
+
} = b();
|
|
87
|
+
return (d, n) => (p(), f("div", h, [
|
|
88
|
+
n[0] || (n[0] = e("div", { class: "header" }, null, -1)),
|
|
89
|
+
e("div", k, [
|
|
90
|
+
u(C, {
|
|
91
|
+
compName: t(o),
|
|
92
|
+
itemData: t(r),
|
|
93
|
+
changedContent: t(a),
|
|
94
|
+
onChange: t(c),
|
|
95
|
+
onOnButtonClick: t(s)
|
|
96
|
+
}, null, 8, ["compName", "itemData", "changedContent", "onChange", "onOnButtonClick"])
|
|
97
|
+
]),
|
|
98
|
+
n[1] || (n[1] = e("div", { class: "footer" }, [
|
|
99
|
+
e("div", { class: "footer-left" }),
|
|
100
|
+
e("div", { class: "footer-right" })
|
|
101
|
+
], -1))
|
|
102
|
+
]));
|
|
103
|
+
}
|
|
104
|
+
}), H = /* @__PURE__ */ g(R, [["__scopeId", "data-v-5bfd5576"]]);
|
|
105
|
+
export {
|
|
106
|
+
H as default
|
|
107
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-yOnrK71-.js";
|
|
3
|
+
import { W as M } from "./index-yRb0l-bC.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index-CWOXvFfD.js";
|
|
5
|
+
import { g as w } from "./index-YjBTGOkO.js";
|
|
6
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const N = { class: "menu-content" }, E = /* @__PURE__ */ y({
|
|
8
|
+
__name: "index",
|
|
9
|
+
setup(I) {
|
|
10
|
+
const p = h(k), { menus: b } = x(p), r = C([]), f = async () => {
|
|
11
|
+
var o, l, t, a;
|
|
12
|
+
const e = await w({
|
|
13
|
+
key: {
|
|
14
|
+
type: "mainEquip",
|
|
15
|
+
systemKey: sessionStorage.getItem("systemKey")
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
if (((o = e == null ? void 0 : e.data) == null ? void 0 : o.type) === "success") {
|
|
19
|
+
let i = (t = (l = e == null ? void 0 : e.data) == null ? void 0 : l.result) == null ? void 0 : t.map((s) => s);
|
|
20
|
+
return i = (a = m(i)) == null ? void 0 : a.map((s) => {
|
|
21
|
+
var n;
|
|
22
|
+
const u = Object.values((n = s == null ? void 0 : s.value) == null ? void 0 : n.tableData);
|
|
23
|
+
return u.unshift({
|
|
24
|
+
id: s == null ? void 0 : s.id
|
|
25
|
+
}), u;
|
|
26
|
+
}), i;
|
|
27
|
+
} else
|
|
28
|
+
return [];
|
|
29
|
+
};
|
|
30
|
+
_(async () => {
|
|
31
|
+
var t;
|
|
32
|
+
const e = await f(), l = [
|
|
33
|
+
{
|
|
34
|
+
key: "header",
|
|
35
|
+
contents: [
|
|
36
|
+
{
|
|
37
|
+
label: "主菜单名称",
|
|
38
|
+
formType: "Select",
|
|
39
|
+
options: (t = m(b.value)) == null ? void 0 : t.map((a) => ({
|
|
40
|
+
label: a == null ? void 0 : a.title,
|
|
41
|
+
value: a == null ? void 0 : a.title
|
|
42
|
+
})),
|
|
43
|
+
prop: "主菜单名称"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: "隐藏三维显示",
|
|
47
|
+
formType: "Switch",
|
|
48
|
+
value: !1,
|
|
49
|
+
prop: "隐藏三维显示"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: "操作"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "extraButton",
|
|
58
|
+
contents: [
|
|
59
|
+
{
|
|
60
|
+
label: "新增"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: "rowButton",
|
|
66
|
+
contents: [
|
|
67
|
+
{
|
|
68
|
+
label: "查看"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: "编辑"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: "删除"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
l.push({
|
|
80
|
+
key: "tableContents",
|
|
81
|
+
contents: e
|
|
82
|
+
}), r.value = l;
|
|
83
|
+
});
|
|
84
|
+
const d = (e) => {
|
|
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
|
+
};
|
|
87
|
+
return (e, o) => (g(), c("div", N, [
|
|
88
|
+
v(M, {
|
|
89
|
+
itemData: r.value,
|
|
90
|
+
class: "table-content",
|
|
91
|
+
onChange: d
|
|
92
|
+
}, null, 8, ["itemData"])
|
|
93
|
+
]));
|
|
94
|
+
}
|
|
95
|
+
}), R = /* @__PURE__ */ B(E, [["__scopeId", "data-v-26f5cadc"]]);
|
|
96
|
+
export {
|
|
97
|
+
R as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ref as g, resolveComponent as r, createBlock as m, openBlock as l, withCtx as n, createElementBlock as h, Fragment as k, renderList as B, renderSlot as i } from "vue";
|
|
2
|
+
const V = {
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
collapseContents: Array,
|
|
6
|
+
accordion: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
emits: ["change"],
|
|
12
|
+
setup(a, { emit: p }) {
|
|
13
|
+
const u = a, d = p, o = g([]), _ = () => {
|
|
14
|
+
d("change", o.value);
|
|
15
|
+
};
|
|
16
|
+
return (c, s) => {
|
|
17
|
+
const f = r("el-collapse-item"), v = r("el-collapse");
|
|
18
|
+
return l(), m(v, {
|
|
19
|
+
modelValue: o.value,
|
|
20
|
+
"onUpdate:modelValue": s[0] || (s[0] = (e) => o.value = e),
|
|
21
|
+
accordion: a.accordion,
|
|
22
|
+
onChange: _
|
|
23
|
+
}, {
|
|
24
|
+
default: n(() => [
|
|
25
|
+
(l(!0), h(k, null, B(u.collapseContents, (e, t) => (l(), m(f, {
|
|
26
|
+
key: t,
|
|
27
|
+
name: t
|
|
28
|
+
}, {
|
|
29
|
+
title: n(({ isActive: C }) => [
|
|
30
|
+
i(c.$slots, "title", {
|
|
31
|
+
item: e,
|
|
32
|
+
index: t,
|
|
33
|
+
isActive: C
|
|
34
|
+
})
|
|
35
|
+
]),
|
|
36
|
+
default: n(() => [
|
|
37
|
+
i(c.$slots, "content", {
|
|
38
|
+
item: e,
|
|
39
|
+
index: t
|
|
40
|
+
})
|
|
41
|
+
]),
|
|
42
|
+
_: 2
|
|
43
|
+
}, 1032, ["name"]))), 128))
|
|
44
|
+
]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 8, ["modelValue", "accordion"]);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
V as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
|
|
2
|
+
import { S as x } from "./index-CLm6QFZK.js";
|
|
3
|
+
import { W as B } from "./index-yRb0l-bC.js";
|
|
4
|
+
import { s as F } from "./index-11kpzK0A.js";
|
|
5
|
+
import { a as y } from "./index-DQsXaCwv.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-yOnrK71-.js";
|
|
7
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const E = { class: "menu-module" }, M = {
|
|
9
|
+
class: "table-wrap",
|
|
10
|
+
"element-loading-text": "加载中..."
|
|
11
|
+
}, O = { class: "module-dialog-default" }, V = /* @__PURE__ */ C({
|
|
12
|
+
__name: "index",
|
|
13
|
+
setup(P) {
|
|
14
|
+
const e = k({ ...x }), s = v(null), c = S(I), { configMenu: a } = N(c);
|
|
15
|
+
return D(() => {
|
|
16
|
+
var r;
|
|
17
|
+
e.formatFormData(a.value), b(() => {
|
|
18
|
+
var o, l;
|
|
19
|
+
(l = s.value) == null || l.setCurrentKey((o = a.value) == null ? void 0 : o.path), c.setActiveMenuPath("/平台管理/菜单管理");
|
|
20
|
+
}), a.value && e.getInitialSubStructure((r = a.value) == null ? void 0 : r.path);
|
|
21
|
+
}), (r, o) => {
|
|
22
|
+
const l = i("el-tree"), d = i("el-splitter-panel"), f = i("el-splitter"), g = i("el-button"), h = T("loading");
|
|
23
|
+
return u(), m("div", E, [
|
|
24
|
+
t(f, null, {
|
|
25
|
+
default: n(() => [
|
|
26
|
+
t(d, {
|
|
27
|
+
size: 208,
|
|
28
|
+
class: "tree-wrap",
|
|
29
|
+
min: 200
|
|
30
|
+
}, {
|
|
31
|
+
default: n(() => [
|
|
32
|
+
t(l, {
|
|
33
|
+
ref_key: "treeRef",
|
|
34
|
+
ref: s,
|
|
35
|
+
data: e.treeData,
|
|
36
|
+
"expand-on-click-node": !1,
|
|
37
|
+
"node-key": "path",
|
|
38
|
+
props: { children: "children", label: "label", path: "path" },
|
|
39
|
+
"highlight-current": "",
|
|
40
|
+
"default-expand-all": "",
|
|
41
|
+
"check-on-click-leaf": !1,
|
|
42
|
+
"check-strictly": "",
|
|
43
|
+
onNodeClick: e.clickNodeTrigger
|
|
44
|
+
}, null, 8, ["data", "onNodeClick"])
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
}),
|
|
48
|
+
t(d, { min: 500 }, {
|
|
49
|
+
default: n(() => [
|
|
50
|
+
w((u(), m("div", M, [
|
|
51
|
+
t(B, {
|
|
52
|
+
itemData: e.menuPageData,
|
|
53
|
+
changedContent: e.changedRow,
|
|
54
|
+
operatingForm: e.operatingForm,
|
|
55
|
+
onOnFormChange: e.changeTrigger,
|
|
56
|
+
onChange: e.handleItemDataChange,
|
|
57
|
+
onClickTrigger: e.clickTrigger,
|
|
58
|
+
onOnButtonClick: e.clickRowButton
|
|
59
|
+
}, null, 8, ["itemData", "changedContent", "operatingForm", "onOnFormChange", "onChange", "onClickTrigger", "onOnButtonClick"])
|
|
60
|
+
])), [
|
|
61
|
+
[h, e.tableLoading]
|
|
62
|
+
])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
})
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}),
|
|
69
|
+
t(F, {
|
|
70
|
+
class: "module-dialog",
|
|
71
|
+
title: e.dialogInfo.title,
|
|
72
|
+
visible: e.dialogInfo.show,
|
|
73
|
+
width: e.dialogInfo.width,
|
|
74
|
+
onBeforeDestroy: e.beforeDialogDestroy
|
|
75
|
+
}, {
|
|
76
|
+
default: n(() => [
|
|
77
|
+
p("div", O, [
|
|
78
|
+
t(y, {
|
|
79
|
+
rowContents: e.renderFormData,
|
|
80
|
+
isEnableWrap: !1,
|
|
81
|
+
isEdit: !0,
|
|
82
|
+
onChange: e.changeTrigger,
|
|
83
|
+
onClickTrigger: e.clickTrigger
|
|
84
|
+
}, null, 8, ["rowContents", "onChange", "onClickTrigger"])
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
footer: n(() => [
|
|
88
|
+
p("div", null, [
|
|
89
|
+
t(g, {
|
|
90
|
+
onClick: e.beforeDialogDestroy,
|
|
91
|
+
id: "themeBorderButton"
|
|
92
|
+
}, {
|
|
93
|
+
default: n(() => o[0] || (o[0] = [
|
|
94
|
+
_("取消")
|
|
95
|
+
])),
|
|
96
|
+
_: 1,
|
|
97
|
+
__: [0]
|
|
98
|
+
}, 8, ["onClick"]),
|
|
99
|
+
t(g, {
|
|
100
|
+
id: "themeButton",
|
|
101
|
+
onClick: e.clickSubmitForm
|
|
102
|
+
}, {
|
|
103
|
+
default: n(() => o[1] || (o[1] = [
|
|
104
|
+
_(" 确认 ")
|
|
105
|
+
])),
|
|
106
|
+
_: 1,
|
|
107
|
+
__: [1]
|
|
108
|
+
}, 8, ["onClick"])
|
|
109
|
+
])
|
|
110
|
+
]),
|
|
111
|
+
_: 1
|
|
112
|
+
}, 8, ["title", "visible", "width", "onBeforeDestroy"])
|
|
113
|
+
]);
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}), G = /* @__PURE__ */ R(V, [["__scopeId", "data-v-74868a06"]]);
|
|
117
|
+
export {
|
|
118
|
+
G as default
|
|
119
|
+
};
|