ss-component-new 1.3.682 → 1.3.684
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-qT5QxtXm.js → MTLLoader-DzMo1SNe.js} +86 -86
- package/dist/{URDFLoader-D3eMTiZb.js → URDFLoader-BAROJ9ka.js} +112 -112
- package/dist/{animationData-DBAbHIow.js → animationData-CTWTDXsQ.js} +7 -7
- package/dist/{array-jRfpOka6.js → array-CRYq9Jxn.js} +4 -4
- package/dist/{clone-epSiajPW.js → clone-sAhQxdz5.js} +1 -1
- package/dist/{eleIcon-BWVKfp5t.js → eleIcon-6RTuwqdk.js} +1 -1
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/{iconfont-DsSG_70z.js → iconfont-TorEaqH3.js} +49 -49
- package/dist/{index-Bvvz41NY.js → index--N4l6N1w.js} +1 -1
- package/dist/{index-Bmk-CXy5.js → index-2gwwCj6d.js} +2 -2
- package/dist/{index-BLAPVSLU.js → index-9UYMNDVY.js} +25949 -25999
- package/dist/{index-CH8pGxiX.js → index-B0BoH4wm.js} +8 -8
- package/dist/{index-XGieOXX9.js → index-B30aeKGM.js} +2 -2
- package/dist/{index-BkChdIqr.js → index-B4nNFQS-.js} +22 -22
- package/dist/{index-C-Cstw1x.js → index-B8_ZqXDA.js} +10 -10
- package/dist/{index--PjD6UIW.js → index-BCmMcLum.js} +5 -5
- package/dist/{index-D_kI6aHR.js → index-BKMAFsRN.js} +2 -2
- package/dist/{index-SjNcMhxZ.js → index-BRQACLz0.js} +5 -5
- package/dist/{index-D1o4d6gh.js → index-BZg5q_rs.js} +2 -2
- package/dist/{index-BLnbN_F-.js → index-Bkg9CQm3.js} +1 -1
- package/dist/{index-DVURXaLH.js → index-Bywqjsvo.js} +11810 -11450
- package/dist/{index-CmRnsU1X.js → index-BzT9veMM.js} +4 -4
- package/dist/{index-B4vESlof.js → index-C06Ba2iF.js} +2 -2
- package/dist/{index-CNydoPVR.js → index-C8LpAkhu.js} +6 -6
- package/dist/{index-FNOjQQWl.js → index-C9_Pcose.js} +2 -2
- package/dist/index-CGzlH16h.js +331 -0
- package/dist/{index-BpGFvMaU.js → index-COBZQS9O.js} +2 -2
- package/dist/{index-kmuFWiAq.js → index-COV5ar9Q.js} +4 -4
- package/dist/{index-YVR3acYT.js → index-CvOCu8lX.js} +1 -1
- package/dist/{index-C5r4GvjQ.js → index-D-YGtSgX.js} +5 -5
- package/dist/{index-CfHObnEf.js → index-D-_Ie1fO.js} +1 -1
- package/dist/{index-CUJOuk-t.js → index-D2g9hX2c.js} +4 -4
- package/dist/{index-CPRVBnQZ.js → index-DUPQ7Cfd.js} +3 -3
- package/dist/{index-DT2KzAmL.js → index-D_f48W32.js} +4 -4
- package/dist/{index-3va3ENB8.js → index-DyoKmN7k.js} +2 -2
- package/dist/{index-B-oUd2b-.js → index-G2ZhOQG1.js} +6 -6
- package/dist/{index-Bto8e0_l.js → index-TpycHQ-H.js} +3 -3
- package/dist/{index-Bd9AU0ks.js → index-dcW2d4Zs.js} +1 -1
- package/dist/{index-CWCQy24b.js → index-hGjbrq0G.js} +2 -2
- package/dist/{index-Lc7md2MS.js → index-tLigeTzl.js} +10 -9
- package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js} +13581 -13407
- package/dist/{isString-CoCw_sp3.js → isString-DzMmG8uL.js} +1 -1
- package/dist/{main-Bgh_Vl8E.js → main-B27LAY78.js} +4 -4
- package/dist/{menuIndex-B7ZUahFp.js → menuIndex-C_G8igKy.js} +1 -1
- package/dist/{request-DiogHwkN.js → request-CllqY4TP.js} +1 -0
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.js +13 -13
- package/dist/{threeModel-DF67wAtc.js → threeModel-vX7holAy.js} +5 -5
- package/dist/{threePreview-CQQPm2oj.js → threePreview-0iSlhKYj.js} +5 -5
- package/dist/{threeSceneView-MukJjphg.js → threeSceneView-D1dS9xmL.js} +12 -12
- package/dist/{threeSceneViewForCPMPIP-Cmw3lxMx.js → threeSceneViewForCPMPIP-DWvkVqSw.js} +9 -9
- package/dist/{threeTrackPathView-d9QnH6pv.js → threeTrackPathView-BzrYvQKg.js} +87 -87
- package/dist/{threeViewerHost-CxKP0BGS.js → threeViewerHost-BA3W7FKF.js} +3 -3
- package/dist/{urdfTree-BMwSzHf8.js → urdfTree-CZeEnUnE.js} +1 -1
- package/dist/{workpieceTreePanel-DTFfwsXF.js → workpieceTreePanel-BLWHbILu.js} +32 -32
- package/package.json +1 -1
- package/dist/index-CN6F4ryE.js +0 -342
|
@@ -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 { 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-
|
|
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-D_f48W32.js";
|
|
4
4
|
import { _ as Y } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
5
|
-
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-
|
|
6
|
-
import { u as xe } from "./index-
|
|
5
|
+
import { c as qe, a as Ae, f as Ie, b as re, E as ce } from "./request-CllqY4TP.js";
|
|
6
|
+
import { u as xe } from "./index-COBZQS9O.js";
|
|
7
7
|
import { useRouter as De } from "vue-router";
|
|
8
|
-
import { l as Fe } from "./index-
|
|
8
|
+
import { l as Fe } from "./index-B30aeKGM.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,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-D_f48W32.js";
|
|
3
|
+
import { s as r } from "./request-CllqY4TP.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,12 +1,12 @@
|
|
|
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_83e6d490_lang-
|
|
2
|
+
import { S as I, t as x, s as w, a as L } from "./index-G2ZhOQG1.js";
|
|
3
|
+
import "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
|
|
4
4
|
import "./index-dD-mKgue.js";
|
|
5
|
-
import { f as E } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { b as N, s as U } from "./index-DT2KzAmL.js";
|
|
8
|
-
import "./request-DiogHwkN.js";
|
|
5
|
+
import { f as E } from "./index-Bywqjsvo.js";
|
|
6
|
+
import { b as N, s as U } from "./index-D_f48W32.js";
|
|
9
7
|
/* empty css */
|
|
8
|
+
import "./index-DUPQ7Cfd.js";
|
|
9
|
+
import "./request-CllqY4TP.js";
|
|
10
10
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const z = { class: "personal-wrapper" }, F = { class: "personal-box left" }, H = { class: "base-avatar" }, K = { class: "center-avatar" }, M = { class: "base-info" }, R = { class: "base-signature" }, j = { class: "personal-box right" }, q = /* @__PURE__ */ C({
|
|
12
12
|
__name: "index",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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 qe, createBlock as re, createCommentVNode as xe } from "vue";
|
|
2
|
-
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-
|
|
3
|
-
import { A as Qe, E as $e, J as we, c as Ye, q as je, u as Je, p as Ze } from "./index-
|
|
2
|
+
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-C06Ba2iF.js";
|
|
3
|
+
import { A as Qe, E as $e, J as we, c as Ye, q as je, u as Je, p as Ze } from "./index-D_f48W32.js";
|
|
4
4
|
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
5
5
|
import { s as He } from "./index-DJrzqi4-.js";
|
|
6
6
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { watch as be, ref as h, computed as Le } from "vue";
|
|
2
|
+
import { p as w, k as D, w as Te } from "./index-DUPQ7Cfd.js";
|
|
3
|
+
import { s as we, b as N, p as F, u as De, A as Ee, c as E, J as U, E as Re, q as Ae, aZ as Be, a_ as Pe, a$ as Se, b0 as qe, b1 as xe, b2 as Ue } from "./index-D_f48W32.js";
|
|
4
|
+
import { s as V } from "./request-CllqY4TP.js";
|
|
5
|
+
import { i as ke } from "./fileUtil-UOt_otFo.js";
|
|
6
|
+
const Ne = N(F), { systemUrl: p } = we(Ne);
|
|
7
|
+
let R = p.value === "" || !p.value ? "http://222.92.178.198:63002" : p.value;
|
|
8
|
+
be(
|
|
9
|
+
() => p.value,
|
|
10
|
+
() => {
|
|
11
|
+
R = p.value === "" || !p.value ? "http://222.92.178.198:63002" : p.value;
|
|
12
|
+
},
|
|
13
|
+
{ deep: !0, immediate: !0 }
|
|
14
|
+
);
|
|
15
|
+
function Fe(d) {
|
|
16
|
+
return V({
|
|
17
|
+
url: `${R}/platform/import_data`,
|
|
18
|
+
method: "post",
|
|
19
|
+
data: d
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function Ve(d) {
|
|
23
|
+
return V({
|
|
24
|
+
url: `${R}/platform/export_data`,
|
|
25
|
+
method: "post",
|
|
26
|
+
data: d,
|
|
27
|
+
responseType: "blob"
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
const Ke = [
|
|
31
|
+
{
|
|
32
|
+
label: "编辑",
|
|
33
|
+
value: "edit"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: "删除",
|
|
37
|
+
value: "delete"
|
|
38
|
+
}
|
|
39
|
+
], k = "role", u = {
|
|
40
|
+
ENABLE: {
|
|
41
|
+
value: "enable",
|
|
42
|
+
label: "启用",
|
|
43
|
+
tag: "primary"
|
|
44
|
+
},
|
|
45
|
+
DISABLED: {
|
|
46
|
+
value: "disabled",
|
|
47
|
+
label: "禁用",
|
|
48
|
+
tag: "info"
|
|
49
|
+
}
|
|
50
|
+
}, c = {
|
|
51
|
+
EDITABLE: {
|
|
52
|
+
value: "editable",
|
|
53
|
+
label: "可编辑",
|
|
54
|
+
tag: "primary"
|
|
55
|
+
},
|
|
56
|
+
DISABLED: {
|
|
57
|
+
value: "disabled",
|
|
58
|
+
label: "不可编辑",
|
|
59
|
+
tag: "info"
|
|
60
|
+
}
|
|
61
|
+
}, ze = {
|
|
62
|
+
TABLE: {
|
|
63
|
+
value: "Table"
|
|
64
|
+
}
|
|
65
|
+
}, $e = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"], We = () => {
|
|
66
|
+
const d = N(), o = De(F), { isSuperAdmin: y, userId: z, userName: v, platId: l } = Ee(), A = h([]), $ = (t) => {
|
|
67
|
+
const { propertyType: e } = t || {};
|
|
68
|
+
return e === ze.TABLE.value;
|
|
69
|
+
}, I = h({}), G = Le(() => {
|
|
70
|
+
var e;
|
|
71
|
+
return y.value ? !0 : ((e = I.value) == null ? void 0 : e.status) === c.EDITABLE.value;
|
|
72
|
+
}), C = (t) => {
|
|
73
|
+
var s, n;
|
|
74
|
+
const e = U(Date.now()), { id: a = 0 } = d.loginUserInfo || {}, r = E(t);
|
|
75
|
+
return r.update_user_id = a, r.update_user_name = v.value, r.update_time = e, r.checked_ids = ((n = (s = r == null ? void 0 : r.main_ids) == null ? void 0 : s.map) == null ? void 0 : n.call(s, (i) => {
|
|
76
|
+
const { id: f } = i;
|
|
77
|
+
return f;
|
|
78
|
+
})) || [], r;
|
|
79
|
+
}, B = (t) => {
|
|
80
|
+
let e = [];
|
|
81
|
+
return t.forEach((a) => {
|
|
82
|
+
var r;
|
|
83
|
+
if (a.isPropertyLeaf) {
|
|
84
|
+
const s = E(a);
|
|
85
|
+
e.push(s);
|
|
86
|
+
}
|
|
87
|
+
a.children && ((r = a.children) == null ? void 0 : r.length) > 0 && (e = e.concat(B(a.children)));
|
|
88
|
+
}), e;
|
|
89
|
+
}, P = (t = []) => {
|
|
90
|
+
let e = [];
|
|
91
|
+
for (let a = 0; a < t.length; a++) {
|
|
92
|
+
const r = t[a], s = r.children || [];
|
|
93
|
+
delete r.children, e.push(r), s && s.length > 0 && (e = e.concat(P(s)));
|
|
94
|
+
}
|
|
95
|
+
return e;
|
|
96
|
+
}, M = (t) => {
|
|
97
|
+
let e = [];
|
|
98
|
+
return t.forEach((a) => {
|
|
99
|
+
if (a.isPropertyLeaf) {
|
|
100
|
+
const r = P(a.params);
|
|
101
|
+
e = e.concat(r);
|
|
102
|
+
}
|
|
103
|
+
}), e;
|
|
104
|
+
}, S = (t, e) => {
|
|
105
|
+
const a = d.loginUserInfo, { id: r = 0 } = a || {}, s = U(Date.now());
|
|
106
|
+
let n = {
|
|
107
|
+
name: "",
|
|
108
|
+
code: "",
|
|
109
|
+
order_no: 1,
|
|
110
|
+
data_scope: 1,
|
|
111
|
+
remark: "",
|
|
112
|
+
tenant_id: "",
|
|
113
|
+
create_time: s,
|
|
114
|
+
update_time: s,
|
|
115
|
+
create_user_id: r,
|
|
116
|
+
create_user_name: v.value,
|
|
117
|
+
update_user_id: r,
|
|
118
|
+
update_user_name: v.value,
|
|
119
|
+
status: u.ENABLE.value,
|
|
120
|
+
main_ids: [],
|
|
121
|
+
checked_ids: [],
|
|
122
|
+
params: []
|
|
123
|
+
};
|
|
124
|
+
const { checkAll: i, tree: f } = e || {};
|
|
125
|
+
if (i && f) {
|
|
126
|
+
const g = B(f), Ie = g.map((T) => ({
|
|
127
|
+
...T,
|
|
128
|
+
department_scope: "unlimited"
|
|
129
|
+
}));
|
|
130
|
+
n.main_ids = Ie, n.checked_ids = g.map((T) => T.id), n.params = M(g);
|
|
131
|
+
}
|
|
132
|
+
if (t) {
|
|
133
|
+
const g = C(t);
|
|
134
|
+
n = {
|
|
135
|
+
...n,
|
|
136
|
+
...g
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
return n;
|
|
140
|
+
}, b = (t) => {
|
|
141
|
+
const e = [t];
|
|
142
|
+
return {
|
|
143
|
+
platId: l.value,
|
|
144
|
+
changeRoleData: e
|
|
145
|
+
};
|
|
146
|
+
}, O = async (t) => await xe({
|
|
147
|
+
platId: t
|
|
148
|
+
}), H = async () => {
|
|
149
|
+
var e;
|
|
150
|
+
o.setImportLoading(!0);
|
|
151
|
+
const t = await O(l.value).finally(() => {
|
|
152
|
+
o.setImportLoading(!1);
|
|
153
|
+
});
|
|
154
|
+
return (e = t == null ? void 0 : t.data) == null ? void 0 : e.result;
|
|
155
|
+
}, q = () => ({
|
|
156
|
+
name: ""
|
|
157
|
+
}), _ = h(q()), Q = () => {
|
|
158
|
+
_.value = q();
|
|
159
|
+
}, m = h({
|
|
160
|
+
pageNum: 1,
|
|
161
|
+
pageSize: 10,
|
|
162
|
+
total: 0,
|
|
163
|
+
pageSizes: [5, 10, 20, 50, 100]
|
|
164
|
+
}), J = (t) => {
|
|
165
|
+
m.value.pageNum = t;
|
|
166
|
+
}, K = (t) => {
|
|
167
|
+
m.value.pageSize = t;
|
|
168
|
+
}, W = () => ({
|
|
169
|
+
platId: l.value,
|
|
170
|
+
pageNum: m.value.pageNum,
|
|
171
|
+
pageSize: m.value.pageSize,
|
|
172
|
+
filter: {
|
|
173
|
+
..._.value
|
|
174
|
+
}
|
|
175
|
+
}), Z = async (t) => {
|
|
176
|
+
var a;
|
|
177
|
+
const e = await Ue(t);
|
|
178
|
+
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
179
|
+
}, j = async () => {
|
|
180
|
+
const t = W(), e = await Z(t), { total: a } = e || {};
|
|
181
|
+
return m.value.total = a, e || {};
|
|
182
|
+
}, X = async (t) => {
|
|
183
|
+
delete t.role_id;
|
|
184
|
+
const e = b(t);
|
|
185
|
+
await qe(e);
|
|
186
|
+
}, Y = async (t) => {
|
|
187
|
+
o.setImportLoading(!0), await X(t).finally(() => {
|
|
188
|
+
o.setImportLoading(!1);
|
|
189
|
+
});
|
|
190
|
+
}, ee = async (t) => {
|
|
191
|
+
const e = b(t);
|
|
192
|
+
await Se(e);
|
|
193
|
+
}, te = async (t) => {
|
|
194
|
+
o.setImportLoading(!0), await ee(t).finally(() => {
|
|
195
|
+
o.setImportLoading(!1);
|
|
196
|
+
});
|
|
197
|
+
}, ae = async (t) => {
|
|
198
|
+
const { role_id: e } = t, a = {
|
|
199
|
+
platId: l.value,
|
|
200
|
+
role_id: [e]
|
|
201
|
+
};
|
|
202
|
+
await Pe(a);
|
|
203
|
+
}, re = async (t) => {
|
|
204
|
+
await Re.confirm("是否确认要删除", "", {
|
|
205
|
+
showClose: !1,
|
|
206
|
+
confirmButtonText: "确认",
|
|
207
|
+
cancelButtonText: "取消",
|
|
208
|
+
type: "warning",
|
|
209
|
+
modalClass: "delete-role-message-modal",
|
|
210
|
+
confirmButtonClass: "delete-role-confirm"
|
|
211
|
+
}), o.setImportLoading(!0), await ae(t).finally(() => {
|
|
212
|
+
o.setImportLoading(!1);
|
|
213
|
+
});
|
|
214
|
+
}, se = (t) => {
|
|
215
|
+
const e = t.toUpperCase(), a = u == null ? void 0 : u[e];
|
|
216
|
+
return (a == null ? void 0 : a.label) || t;
|
|
217
|
+
}, ne = (t) => {
|
|
218
|
+
const e = t.toUpperCase(), a = u == null ? void 0 : u[e];
|
|
219
|
+
return (a == null ? void 0 : a.tag) || "info";
|
|
220
|
+
}, oe = async (t) => {
|
|
221
|
+
var a;
|
|
222
|
+
const e = await Be(t);
|
|
223
|
+
return ((a = e == null ? void 0 : e.data) == null ? void 0 : a.result) || [];
|
|
224
|
+
}, le = async (t) => {
|
|
225
|
+
const e = {
|
|
226
|
+
platId: l.value,
|
|
227
|
+
includeHidden: !0,
|
|
228
|
+
roleIds: t
|
|
229
|
+
};
|
|
230
|
+
o.setImportLoading(!0);
|
|
231
|
+
const a = await oe(e).finally(() => {
|
|
232
|
+
o.setImportLoading(!1);
|
|
233
|
+
});
|
|
234
|
+
A.value = a;
|
|
235
|
+
}, ie = (t = "") => {
|
|
236
|
+
const e = t.toUpperCase(), a = c == null ? void 0 : c[e];
|
|
237
|
+
return (a == null ? void 0 : a.label) || t;
|
|
238
|
+
}, ce = (t = "") => {
|
|
239
|
+
const e = t.toUpperCase(), a = c == null ? void 0 : c[e];
|
|
240
|
+
return (a == null ? void 0 : a.tag) || "info";
|
|
241
|
+
}, L = (t) => t === c.EDITABLE.value, ue = (t, e) => {
|
|
242
|
+
const { status: a } = t || {}, { tableOperate: r } = e || {};
|
|
243
|
+
return !!(L(a) || r && $e.includes(r));
|
|
244
|
+
}, pe = (t, e) => {
|
|
245
|
+
const { status: a } = t || {};
|
|
246
|
+
return L(a);
|
|
247
|
+
}, de = (t, e) => {
|
|
248
|
+
if (y.value)
|
|
249
|
+
return !0;
|
|
250
|
+
const { type: a } = e || {};
|
|
251
|
+
if (w.TABLE === a)
|
|
252
|
+
return ue(t, e);
|
|
253
|
+
if (w.FORM === a)
|
|
254
|
+
return pe(t);
|
|
255
|
+
const { status: r } = t || {};
|
|
256
|
+
return L(r);
|
|
257
|
+
}, me = async () => {
|
|
258
|
+
var r, s;
|
|
259
|
+
const e = {
|
|
260
|
+
pageName: "系统管理/角色管理",
|
|
261
|
+
platId: l.value,
|
|
262
|
+
userId: z.value
|
|
263
|
+
}, a = await Ae(e);
|
|
264
|
+
return (s = (r = a == null ? void 0 : a.data) == null ? void 0 : r.result) == null ? void 0 : s[0];
|
|
265
|
+
}, fe = async () => {
|
|
266
|
+
if (!y.value)
|
|
267
|
+
return I.value = await me(), I;
|
|
268
|
+
}, x = (t) => {
|
|
269
|
+
const e = E(t);
|
|
270
|
+
for (let a = 0; a < e.length; a++) {
|
|
271
|
+
const r = e == null ? void 0 : e[a], { id: s, prop: n, children: i } = r || {};
|
|
272
|
+
r.uniqueKey = `${s}_${n}`, i && (r.children = x(i));
|
|
273
|
+
}
|
|
274
|
+
return e;
|
|
275
|
+
}, ge = async (t) => {
|
|
276
|
+
var a;
|
|
277
|
+
const e = await Fe(t);
|
|
278
|
+
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
279
|
+
}, ye = async (t) => {
|
|
280
|
+
const e = new FormData(), a = S(), { create_user_id: r, update_user_id: s, create_user_name: n, update_user_name: i } = a;
|
|
281
|
+
return e.set("platId", l.value), e.set("file", t), e.set("tableType", k), e.set("create_user_id", r), e.set("update_user_id", s), e.set("create_user_name", n), e.set("update_user_name", i), await ge(e);
|
|
282
|
+
}, _e = async (t) => await Ve(t), he = async () => {
|
|
283
|
+
const t = {
|
|
284
|
+
platId: l.value,
|
|
285
|
+
tableType: k,
|
|
286
|
+
filter: _.value
|
|
287
|
+
}, e = await _e(t);
|
|
288
|
+
return ke(e), e;
|
|
289
|
+
}, ve = [["名称", "编码", "备注", "状态"]];
|
|
290
|
+
return {
|
|
291
|
+
compType: w,
|
|
292
|
+
isTableFeature: $,
|
|
293
|
+
queryInfo: _,
|
|
294
|
+
resetQuery: Q,
|
|
295
|
+
pageInfo: m,
|
|
296
|
+
setPageNum: J,
|
|
297
|
+
setPageSize: K,
|
|
298
|
+
initGetByPage: j,
|
|
299
|
+
initRoleList: H,
|
|
300
|
+
initCreate: Y,
|
|
301
|
+
initUpdate: te,
|
|
302
|
+
initDelete: re,
|
|
303
|
+
initRoleRequestData: b,
|
|
304
|
+
initPropertyAuthTree: le,
|
|
305
|
+
propertyAuthTree: A,
|
|
306
|
+
initRoleItem: S,
|
|
307
|
+
isSuperAdmin: y,
|
|
308
|
+
getStatusLabelByValue: se,
|
|
309
|
+
getStatusTagByValue: ne,
|
|
310
|
+
getFeatureStatusLabelByValue: ie,
|
|
311
|
+
getFeatureStatusTagByValue: ce,
|
|
312
|
+
hasEditable: de,
|
|
313
|
+
initRoleConfig: fe,
|
|
314
|
+
hasRoleEditAuth: G,
|
|
315
|
+
buildParamAuthTree: x,
|
|
316
|
+
initImport: ye,
|
|
317
|
+
initExport: he,
|
|
318
|
+
exportTemplate: async () => {
|
|
319
|
+
const t = D.aoa_to_sheet(ve), e = D.book_new();
|
|
320
|
+
D.book_append_sheet(e, t, "角色"), Te(e, "角色模板.xlsx");
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
export {
|
|
325
|
+
Ve as e,
|
|
326
|
+
c as f,
|
|
327
|
+
Fe as i,
|
|
328
|
+
Ke as o,
|
|
329
|
+
u as s,
|
|
330
|
+
We as u
|
|
331
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as h, b as l, p as w, A as F } from "./index-
|
|
2
|
-
import { s as f } from "./request-
|
|
1
|
+
import { s as h, b as l, p as w, A as F } from "./index-D_f48W32.js";
|
|
2
|
+
import { s as f } from "./request-CllqY4TP.js";
|
|
3
3
|
import { watch as p } from "vue";
|
|
4
4
|
const P = l(w), { systemUrl: s, extraUrl: o } = h(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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, openBlock as m, createElementBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
|
|
2
|
-
import { S as x } from "./index
|
|
3
|
-
import { V as B } from "./index-
|
|
2
|
+
import { S as x } from "./index-BCmMcLum.js";
|
|
3
|
+
import { V as B } from "./index-9UYMNDVY.js";
|
|
4
4
|
import { s as F } from "./index-DJrzqi4-.js";
|
|
5
|
-
import { a as y } from "./index-
|
|
6
|
-
import { u as S, p as I, s as N } from "./index-
|
|
5
|
+
import { a as y } from "./index-Bywqjsvo.js";
|
|
6
|
+
import { u as S, p as I, s as N } from "./index-D_f48W32.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const E = { class: "menu-module" }, M = {
|
|
9
9
|
class: "table-wrap",
|
|
@@ -1,6 +1,6 @@
|
|
|
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 z, nextTick as N, Fragment as q, renderSlot as H, withDirectives as $, vShow as M } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { aD as X, az as J, ao as G, a7 as D, ab as c, ac as R, ar as g } from "./request-
|
|
2
|
+
import { as as V } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
|
|
3
|
+
import { aD as X, az as J, ao as G, a7 as D, ab as c, ac as R, ar as g } from "./request-CllqY4TP.js";
|
|
4
4
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const K = "ElUpload";
|
|
6
6
|
class Q extends Error {
|
|
@@ -203,9 +203,9 @@ 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"), _ = v("el-button"),
|
|
206
|
+
const m = v("ele-Edit"), C = v("el-icon"), _ = v("el-button"), O = v("el-upload"), j = v("el-dialog");
|
|
207
207
|
return E(), U("div", null, [
|
|
208
|
-
u(
|
|
208
|
+
u(j, {
|
|
209
209
|
modelValue: e.isShowDialog,
|
|
210
210
|
"onUpdate:modelValue": a[0] || (a[0] = (A) => e.isShowDialog = A),
|
|
211
211
|
width: "769px",
|
|
@@ -227,7 +227,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
227
227
|
]),
|
|
228
228
|
footer: d(() => [
|
|
229
229
|
l("span", ge, [
|
|
230
|
-
u(
|
|
230
|
+
u(O, {
|
|
231
231
|
class: "avatar-uploader",
|
|
232
232
|
ref_key: "uploadSignRef",
|
|
233
233
|
ref: p,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as c, onMounted as p, watch as u, onUnmounted as f, openBlock as v, createElementBlock as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ah as _ } from "./index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "index",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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-
|
|
3
|
-
import { V as M } from "./index-
|
|
4
|
-
import { a as D, d as T, f as S } from "./index
|
|
5
|
-
import { g as w } from "./index-
|
|
2
|
+
import { u as h, p as k, s as x, c as m } from "./index-D_f48W32.js";
|
|
3
|
+
import { V as M } from "./index-9UYMNDVY.js";
|
|
4
|
+
import { a as D, d as T, f as S } from "./index--N4l6N1w.js";
|
|
5
|
+
import { g as w } from "./index-CvOCu8lX.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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as pt, b as Ll, e as ni, a as Gh } from "./index-
|
|
2
|
-
import { c as ae, s as Lr, b as o0, p as Cr, a0 as Wf, u as D0, o as Hf, a as li } from "./index-
|
|
3
|
-
import { E as J0 } from "./request-
|
|
1
|
+
import { g as pt, b as Ll, e as ni, a as Gh } from "./index-CvOCu8lX.js";
|
|
2
|
+
import { c as ae, s as Lr, b as o0, p as Cr, a0 as Wf, u as D0, o as Hf, a as li } from "./index-D_f48W32.js";
|
|
3
|
+
import { E as J0 } from "./request-CllqY4TP.js";
|
|
4
4
|
import { ref as Oa, reactive as oo, computed as fs, watch as uo } from "vue";
|
|
5
5
|
const WT = (e, a) => {
|
|
6
6
|
var s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as zo, G as Tr, y as Ou, H as _a, J as Ta, q as Du, K as ku, L as Yn, B as Zo, C as Ia, M as Ba, N as Cu, O as Ma, x as _u, P as Fa, Q as Tu, R as Iu, U as Ir, v as Na, T as Go, V as Pa, W as jn, z as Bu, S as Mu, X as Fu, Y as La, Z as Nu, _ as Pu, r as Lu, $ as Hu, a0 as Vu, a1 as Me, a2 as gt, a3 as $o, a4 as Ut, a5 as Br, a6 as Ru, a7 as Gn, a8 as ze, a9 as rn, a as xu, aa as Ha, ab as We, ac as Uu, ad as at, ae as qu, af as Qu, ag as Ju, ah as Yu, ai as fo, aj as hn, ak as Dt, al as ju, am as Wu, an as Xu, ao as Va, ap as Ku, aq as nt, ar as Rt, as as qt, at as Ra, au as er, av as tr, aw as zu, ax as Co, ay as Zu, az as Ao, aA as _o, aB as Gu, aC as Mr, aD as $u, aE as el, aF as To, aG as ln, aH as tl, aI as xa, aJ as nl, aK as ol, aL as Fr, aM as Nr, aN as rl, s as Ee, E as Ua, b as ce } from "./request-
|
|
1
|
+
import { i as zo, G as Tr, y as Ou, H as _a, J as Ta, q as Du, K as ku, L as Yn, B as Zo, C as Ia, M as Ba, N as Cu, O as Ma, x as _u, P as Fa, Q as Tu, R as Iu, U as Ir, v as Na, T as Go, V as Pa, W as jn, z as Bu, S as Mu, X as Fu, Y as La, Z as Nu, _ as Pu, r as Lu, $ as Hu, a0 as Vu, a1 as Me, a2 as gt, a3 as $o, a4 as Ut, a5 as Br, a6 as Ru, a7 as Gn, a8 as ze, a9 as rn, a as xu, aa as Ha, ab as We, ac as Uu, ad as at, ae as qu, af as Qu, ag as Ju, ah as Yu, ai as fo, aj as hn, ak as Dt, al as ju, am as Wu, an as Xu, ao as Va, ap as Ku, aq as nt, ar as Rt, as as qt, at as Ra, au as er, av as tr, aw as zu, ax as Co, ay as Zu, az as Ao, aA as _o, aB as Gu, aC as Mr, aD as $u, aE as el, aF as To, aG as ln, aH as tl, aI as xa, aJ as nl, aK as ol, aL as Fr, aM as Nr, aN as rl, s as Ee, E as Ua, b as ce } from "./request-CllqY4TP.js";
|
|
2
2
|
import { computed as U, getCurrentInstance as Wt, inject as Ue, unref as T, ref as b, onMounted as _t, watch as ae, toRef as it, onUnmounted as sl, shallowRef as Mn, nextTick as fe, defineComponent as Qe, useAttrs as al, useSlots as qa, openBlock as J, createElementBlock as me, normalizeStyle as Wn, normalizeClass as X, createCommentVNode as ne, Fragment as sn, renderSlot as Be, createElementVNode as Se, createBlock as re, withCtx as pe, resolveDynamicComponent as Ce, mergeProps as Io, withModifiers as ht, toDisplayString as Xe, onBeforeUnmount as mn, provide as Qa, Text as il, reactive as $n, isVNode as Re, Comment as ul, createVNode as ot, h as Pt, watchEffect as ll, isRef as ut, onScopeDispose as Ja, Transition as Ya, withDirectives as Fn, vShow as Nn, createApp as cl, toRefs as Xn, markRaw as Ve, resolveComponent as en, withKeys as bn, createTextVNode as Pr, render as ja, toRaw as Qt, isReactive as eo, effectScope as Wa, hasInjectionContext as Bo, getCurrentScope as dl } from "vue";
|
|
3
3
|
function fl(e) {
|
|
4
4
|
return e;
|
|
@@ -8889,9 +8889,9 @@ export {
|
|
|
8889
8889
|
Pl as V,
|
|
8890
8890
|
Wl as W,
|
|
8891
8891
|
pc as X,
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8892
|
+
p0 as Y,
|
|
8893
|
+
mf as Z,
|
|
8894
|
+
Ef as _,
|
|
8895
8895
|
Mg as a,
|
|
8896
8896
|
S0 as a$,
|
|
8897
8897
|
ao as a0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as W, ref as z, computed as N, watch as y, nextTick as V, onMounted as k, onUnmounted as G, resolveComponent as $, openBlock as w, createElementBlock as L, createBlock as q } from "vue";
|
|
2
|
-
import { b as J, p as h, s as v, d as Q, a as X, u as Y, g as Z, v as p } from "./index-
|
|
3
|
-
import { l as ee } from "./index-
|
|
2
|
+
import { b as J, p as h, s as v, d as Q, a as X, u as Y, g as Z, v as p } from "./index-D_f48W32.js";
|
|
3
|
+
import { l as ee } from "./index-B30aeKGM.js";
|
|
4
4
|
import { useRouter as te } from "vue-router";
|
|
5
5
|
import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
@@ -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
|
-
import { c8 as Se, c9 as Te, ca as we, E as rt } from "./request-
|
|
3
|
-
import { s as Wt, c as Ee, b as De, p as Yt, u as xe, e as Ae } from "./index-
|
|
4
|
-
import { g as Qt, u as Re } from "./index-
|
|
5
|
-
import { a4 as Be } from "./index-
|
|
6
|
-
import { A as Ie } from "./index-
|
|
7
|
-
import { u as Xt, n as Oe } from "./index-
|
|
2
|
+
import { c8 as Se, c9 as Te, ca as we, E as rt } from "./request-CllqY4TP.js";
|
|
3
|
+
import { s as Wt, c as Ee, b as De, p as Yt, u as xe, e as Ae } from "./index-D_f48W32.js";
|
|
4
|
+
import { g as Qt, u as Re } from "./index-CvOCu8lX.js";
|
|
5
|
+
import { a4 as Be } from "./index-DUPQ7Cfd.js";
|
|
6
|
+
import { A as Ie } from "./index-D-YGtSgX.js";
|
|
7
|
+
import { u as Xt, n as Oe } from "./index-Bywqjsvo.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,7 +1,7 @@
|
|
|
1
1
|
import { computed as _, ref as A } from "vue";
|
|
2
|
-
import { a as I, g as M } from "./index-
|
|
3
|
-
import { E as N } from "./index-
|
|
4
|
-
import { E as s } from "./request-
|
|
2
|
+
import { a as I, g as M } from "./index-CvOCu8lX.js";
|
|
3
|
+
import { E as N } from "./index-D_f48W32.js";
|
|
4
|
+
import { E as s } from "./request-CllqY4TP.js";
|
|
5
5
|
const K = A([]), T = _(() => [
|
|
6
6
|
{
|
|
7
7
|
key: "extraButton",
|
|
@@ -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-D_f48W32.js";
|
|
4
4
|
const l = {
|
|
5
5
|
ALLOW: {
|
|
6
6
|
value: "允许"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { c as s } from "./index-
|
|
2
|
+
import { s as b } from "./index-D-_Ie1fO.js";
|
|
3
|
+
import { c as s } from "./index-D_f48W32.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;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { watch as qe, ref as v, computed as ze, defineComponent as Ue, onMounted as Ae, reactive as $e, 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 Fe, renderList as Re, withModifiers as Me } from "vue";
|
|
2
|
-
import { s as G, u as Ge, k as Qe } from "./request-
|
|
3
|
-
import { k as de, w as Oe } from "./index-
|
|
4
|
-
import { s as je, b as He, p as he, A as Je, E as Ke, J as be, q as We, c as Xe, u as Ye } from "./index-
|
|
5
|
-
import { f as Ze,
|
|
2
|
+
import { s as G, u as Ge, k as Qe } from "./request-CllqY4TP.js";
|
|
3
|
+
import { k as de, w as Oe } from "./index-DUPQ7Cfd.js";
|
|
4
|
+
import { s as je, b as He, p as he, A as Je, E as Ke, J as be, q as We, c as Xe, u as Ye } from "./index-D_f48W32.js";
|
|
5
|
+
import { f as Ze, e as et, i as tt } from "./index-CGzlH16h.js";
|
|
6
|
+
import { i as ot } from "./fileUtil-UOt_otFo.js";
|
|
6
7
|
import { _ as ce } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
7
8
|
import { s as at } from "./index-DJrzqi4-.js";
|
|
8
9
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -175,19 +176,19 @@ const pt = [
|
|
|
175
176
|
}), await oe(e);
|
|
176
177
|
}, ae = async (e) => {
|
|
177
178
|
var n;
|
|
178
|
-
const t = await
|
|
179
|
+
const t = await tt(e);
|
|
179
180
|
return (n = t == null ? void 0 : t.data) == null ? void 0 : n.result;
|
|
180
181
|
}, d = async (e) => {
|
|
181
182
|
const t = new FormData();
|
|
182
183
|
return t.set("platId", u.value), t.set("file", e), t.set("tableType", Ie), await ae(t);
|
|
183
|
-
}, E = async (e) => await
|
|
184
|
+
}, E = async (e) => await et(e), ne = async () => {
|
|
184
185
|
const e = {
|
|
185
186
|
platId: u.value,
|
|
186
187
|
tableType: Ie,
|
|
187
188
|
filter: y.value,
|
|
188
189
|
orderBy: P.value
|
|
189
190
|
}, t = await E(e);
|
|
190
|
-
return
|
|
191
|
+
return ot(t), t;
|
|
191
192
|
}, F = [["名称", "编码", "状态", "排序"]];
|
|
192
193
|
return {
|
|
193
194
|
sortInfo: P,
|
|
@@ -652,7 +653,7 @@ const pt = [
|
|
|
652
653
|
]);
|
|
653
654
|
};
|
|
654
655
|
}
|
|
655
|
-
}),
|
|
656
|
+
}), $t = /* @__PURE__ */ nt(Et, [["__scopeId", "data-v-c988d077"]]);
|
|
656
657
|
export {
|
|
657
|
-
|
|
658
|
+
$t as default
|
|
658
659
|
};
|