ss-component-new 1.3.683 → 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-DPHzTMwa.js → MTLLoader-DzMo1SNe.js} +102 -102
- package/dist/{URDFLoader-M-UG5-pR.js → URDFLoader-BAROJ9ka.js} +591 -586
- package/dist/{animationData-DRuHGkTO.js → animationData-CTWTDXsQ.js} +7 -7
- package/dist/{array-DjjQ0-_X.js → array-CRYq9Jxn.js} +13 -14
- package/dist/{clone-nUXh221j.js → clone-sAhQxdz5.js} +1 -1
- package/dist/{eleIcon-DlIcb4df.js → eleIcon-6RTuwqdk.js} +2 -2
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/{iconfont-BhJBoU2I.js → iconfont-TorEaqH3.js} +125 -125
- package/dist/{index-CG1vGzHt.js → index--N4l6N1w.js} +1 -1
- package/dist/{index-B6x7nsvL.js → index-2gwwCj6d.js} +5 -5
- package/dist/{index-ChfKhYMO.js → index-9UYMNDVY.js} +24355 -24391
- package/dist/{index-Cl2tex39.js → index-B0BoH4wm.js} +163 -172
- package/dist/{index-R2i3Xnfq.js → index-B30aeKGM.js} +4 -4
- package/dist/index-B4nNFQS-.js +11779 -0
- package/dist/{index-CIoBc8yl.js → index-B8_ZqXDA.js} +60 -62
- package/dist/{index-zdWtzZvH.js → index-BCmMcLum.js} +7 -7
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/{index-DlFmNKos.js → index-BKMAFsRN.js} +7 -8
- package/dist/{index-Dx-bFdbp.js → index-BRQACLz0.js} +8 -8
- package/dist/{index-DyOGhRxL.js → index-BZg5q_rs.js} +4 -4
- package/dist/{index-gFBsqsq6.js → index-Bkg9CQm3.js} +3 -3
- package/dist/{index-CM6CVZ_d.js → index-Bywqjsvo.js} +21513 -15029
- package/dist/{index-CzgY9rV-.js → index-BzT9veMM.js} +57 -61
- package/dist/{index-QdkaQuAk.js → index-C06Ba2iF.js} +2 -2
- package/dist/{index-CYspf59Y.js → index-C8LpAkhu.js} +8 -8
- package/dist/{index-BNDaeOZD.js → index-C9_Pcose.js} +40 -43
- package/dist/index-CGzlH16h.js +331 -0
- package/dist/{index-DewO44mx.js → index-COBZQS9O.js} +2 -2
- package/dist/{index-DkFpug1v.js → index-COV5ar9Q.js} +18 -20
- package/dist/{index-CJySKIdc.js → index-CvOCu8lX.js} +1 -1
- package/dist/{index-CnmXW-Bj.js → index-D-YGtSgX.js} +36 -40
- package/dist/{index-CJbdXJRV.js → index-D-_Ie1fO.js} +3 -3
- package/dist/{index-CccqT4-H.js → index-D2g9hX2c.js} +6 -6
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-CKB74hmA.js → index-DUPQ7Cfd.js} +482 -483
- package/dist/{index-CsqopIxB.js → index-D_f48W32.js} +1078 -1079
- package/dist/{index-8KwwXnRD.js → index-DyoKmN7k.js} +3 -3
- package/dist/index-G2ZhOQG1.js +2623 -0
- package/dist/{index-BLFiId9N.js → index-TpycHQ-H.js} +5 -5
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-CBL2Pg06.js → index-dcW2d4Zs.js} +5 -5
- package/dist/{index-Cpv5443J.js → index-hGjbrq0G.js} +4 -4
- package/dist/{index-DTjEPXdC.js → index-tLigeTzl.js} +76 -81
- 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_83e6d490_lang-BsOR2Ig8.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-LGVq0cuS.js} +50343 -56267
- package/dist/isString-DzMmG8uL.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-C7zjHnDD.js → main-B27LAY78.js} +9 -9
- package/dist/{menuIndex-BE8WKQ_M.js → menuIndex-C_G8igKy.js} +1 -1
- package/dist/{request-DolpfyNJ.js → request-CllqY4TP.js} +3482 -3063
- 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-DiiHNAHL.js → threeModel-vX7holAy.js} +174 -174
- package/dist/{threePreview-Bu2Spume.js → threePreview-0iSlhKYj.js} +12 -12
- package/dist/{threeSceneView-DxeVIhrp.js → threeSceneView-D1dS9xmL.js} +49 -50
- package/dist/{threeSceneViewForCPMPIP-DPYmtlbM.js → threeSceneViewForCPMPIP-DWvkVqSw.js} +16 -17
- package/dist/{threeTrackPathView-fb0Ye-HT.js → threeTrackPathView-BzrYvQKg.js} +36 -36
- package/dist/{threeViewerHost-DHRT4ihY.js → threeViewerHost-BA3W7FKF.js} +36 -36
- package/dist/{urdfTree-CFaALNOQ.js → urdfTree-CZeEnUnE.js} +9 -9
- package/dist/{workpieceTreePanel-BxNqg9o9.js → workpieceTreePanel-BLWHbILu.js} +76 -80
- package/package.json +2 -4
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/icons/svg/method.svg +0 -1
- package/dist/index-BBzJ8BLa.js +0 -572
- package/dist/index-Ba8phnvt.js +0 -342
- package/dist/index-CBPXalBI.js +0 -15007
- package/dist/isString-h0UV2hrP.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/public/icons/svg/method.svg +0 -1
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -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,
|
|
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
|
-
import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T,
|
|
2
|
-
import { S as x } from "./index-
|
|
3
|
-
import { V as B } from "./index-
|
|
4
|
-
import { s as F } from "./index-
|
|
5
|
-
import { a as y } from "./index-
|
|
6
|
-
import { u as S, p as I, s as N } from "./index-
|
|
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-BCmMcLum.js";
|
|
3
|
+
import { V as B } from "./index-9UYMNDVY.js";
|
|
4
|
+
import { s as F } from "./index-DJrzqi4-.js";
|
|
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",
|
|
@@ -19,9 +19,9 @@ const E = { class: "menu-module" }, M = {
|
|
|
19
19
|
(l = s.value) == null || l.setCurrentKey((o = a.value) == null ? void 0 : o.path), c.setActiveMenuPath("/平台管理/菜单管理");
|
|
20
20
|
}), a.value && e.getInitialSubStructure((r = a.value) == null ? void 0 : r.path);
|
|
21
21
|
}), (r, o) => {
|
|
22
|
-
const l = i("el-tree"), d = i("el-splitter-panel"),
|
|
23
|
-
return
|
|
24
|
-
t(
|
|
22
|
+
const l = i("el-tree"), d = i("el-splitter-panel"), _ = i("el-splitter"), g = i("el-button"), h = T("loading");
|
|
23
|
+
return m(), u("div", E, [
|
|
24
|
+
t(_, null, {
|
|
25
25
|
default: n(() => [
|
|
26
26
|
t(d, {
|
|
27
27
|
size: 208,
|
|
@@ -47,7 +47,7 @@ const E = { class: "menu-module" }, M = {
|
|
|
47
47
|
}),
|
|
48
48
|
t(d, { min: 500 }, {
|
|
49
49
|
default: n(() => [
|
|
50
|
-
w((
|
|
50
|
+
w((m(), u("div", M, [
|
|
51
51
|
t(B, {
|
|
52
52
|
itemData: e.menuPageData,
|
|
53
53
|
changedContent: e.changedRow,
|
|
@@ -90,21 +90,19 @@ const E = { class: "menu-module" }, M = {
|
|
|
90
90
|
onClick: e.beforeDialogDestroy,
|
|
91
91
|
id: "themeBorderButton"
|
|
92
92
|
}, {
|
|
93
|
-
default: n(() => o[0] || (o[0] = [
|
|
94
|
-
|
|
95
|
-
])),
|
|
96
|
-
_: 1
|
|
97
|
-
__: [0]
|
|
93
|
+
default: n(() => [...o[0] || (o[0] = [
|
|
94
|
+
f("取消", -1)
|
|
95
|
+
])]),
|
|
96
|
+
_: 1
|
|
98
97
|
}, 8, ["onClick"]),
|
|
99
98
|
t(g, {
|
|
100
99
|
id: "themeButton",
|
|
101
100
|
onClick: e.clickSubmitForm
|
|
102
101
|
}, {
|
|
103
|
-
default: n(() => o[1] || (o[1] = [
|
|
104
|
-
|
|
105
|
-
])),
|
|
106
|
-
_: 1
|
|
107
|
-
__: [1]
|
|
102
|
+
default: n(() => [...o[1] || (o[1] = [
|
|
103
|
+
f(" 确认 ", -1)
|
|
104
|
+
])]),
|
|
105
|
+
_: 1
|
|
108
106
|
}, 8, ["onClick"])
|
|
109
107
|
])
|
|
110
108
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v,
|
|
2
|
-
import {
|
|
3
|
-
import { aD as X, az as J, ao as G, a7 as D,
|
|
1
|
+
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, 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 { 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 {
|
|
@@ -163,7 +163,7 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
163
163
|
}, y = () => {
|
|
164
164
|
var s;
|
|
165
165
|
(s = e.cropper) == null || s.destroy(), e.isShowDialog = !1;
|
|
166
|
-
},
|
|
166
|
+
}, w = () => {
|
|
167
167
|
y();
|
|
168
168
|
}, b = async () => {
|
|
169
169
|
const s = await S();
|
|
@@ -203,13 +203,13 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
203
203
|
return r({
|
|
204
204
|
openDialog: i
|
|
205
205
|
}), (s, a) => {
|
|
206
|
-
const m = v("ele-Edit"), C = v("el-icon"),
|
|
207
|
-
return
|
|
206
|
+
const m = v("ele-Edit"), C = v("el-icon"), _ = v("el-button"), O = v("el-upload"), j = v("el-dialog");
|
|
207
|
+
return E(), U("div", null, [
|
|
208
208
|
u(j, {
|
|
209
209
|
modelValue: e.isShowDialog,
|
|
210
210
|
"onUpdate:modelValue": a[0] || (a[0] = (A) => e.isShowDialog = A),
|
|
211
211
|
width: "769px",
|
|
212
|
-
"before-close":
|
|
212
|
+
"before-close": w
|
|
213
213
|
}, {
|
|
214
214
|
header: d(() => [
|
|
215
215
|
l("div", ae, [
|
|
@@ -239,53 +239,49 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
239
239
|
"on-exceed": P
|
|
240
240
|
}, {
|
|
241
241
|
trigger: d(() => [
|
|
242
|
-
u(
|
|
242
|
+
u(_, {
|
|
243
243
|
type: "info",
|
|
244
244
|
icon: "ele-Picture"
|
|
245
245
|
}, {
|
|
246
|
-
default: d(() => a[4] || (a[4] = [
|
|
247
|
-
h("选择图片")
|
|
248
|
-
])),
|
|
249
|
-
_: 1
|
|
250
|
-
__: [4]
|
|
246
|
+
default: d(() => [...a[4] || (a[4] = [
|
|
247
|
+
h("选择图片", -1)
|
|
248
|
+
])]),
|
|
249
|
+
_: 1
|
|
251
250
|
})
|
|
252
251
|
]),
|
|
253
252
|
default: d(() => [
|
|
254
|
-
u(
|
|
253
|
+
u(_, {
|
|
255
254
|
onClick: f,
|
|
256
255
|
type: "danger",
|
|
257
256
|
icon: "ele-Picture",
|
|
258
257
|
style: { "margin-left": "8px" }
|
|
259
258
|
}, {
|
|
260
|
-
default: d(() => a[5] || (a[5] = [
|
|
261
|
-
h("删除图片")
|
|
262
|
-
])),
|
|
263
|
-
_: 1
|
|
264
|
-
__: [5]
|
|
259
|
+
default: d(() => [...a[5] || (a[5] = [
|
|
260
|
+
h("删除图片", -1)
|
|
261
|
+
])]),
|
|
262
|
+
_: 1
|
|
265
263
|
})
|
|
266
264
|
]),
|
|
267
265
|
_: 1
|
|
268
266
|
}, 512),
|
|
269
267
|
l("div", null, [
|
|
270
|
-
u(
|
|
271
|
-
onClick:
|
|
268
|
+
u(_, {
|
|
269
|
+
onClick: w,
|
|
272
270
|
id: "themeBorderButton"
|
|
273
271
|
}, {
|
|
274
|
-
default: d(() => a[6] || (a[6] = [
|
|
275
|
-
h("取 消")
|
|
276
|
-
])),
|
|
277
|
-
_: 1
|
|
278
|
-
__: [6]
|
|
272
|
+
default: d(() => [...a[6] || (a[6] = [
|
|
273
|
+
h("取 消", -1)
|
|
274
|
+
])]),
|
|
275
|
+
_: 1
|
|
279
276
|
}),
|
|
280
|
-
u(
|
|
277
|
+
u(_, {
|
|
281
278
|
onClick: b,
|
|
282
279
|
id: "themeButton"
|
|
283
280
|
}, {
|
|
284
|
-
default: d(() => a[7] || (a[7] = [
|
|
285
|
-
h("确 定")
|
|
286
|
-
])),
|
|
287
|
-
_: 1
|
|
288
|
-
__: [7]
|
|
281
|
+
default: d(() => [...a[7] || (a[7] = [
|
|
282
|
+
h("确 定", -1)
|
|
283
|
+
])]),
|
|
284
|
+
_: 1
|
|
289
285
|
})
|
|
290
286
|
])
|
|
291
287
|
])
|
|
@@ -359,14 +355,14 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
359
355
|
const o = t, n = I(), p = I(null), e = r, i = () => !0, y = async () => {
|
|
360
356
|
var f;
|
|
361
357
|
o != null && o.banClick || (e("clickAvatar", o.avatarUrl), (f = n.value) == null || f.openDialog(o.avatarBlob));
|
|
362
|
-
},
|
|
358
|
+
}, w = async (f) => {
|
|
363
359
|
e("submitImage", f);
|
|
364
360
|
}, b = async () => {
|
|
365
361
|
e("deleteImage");
|
|
366
362
|
};
|
|
367
363
|
return (f, k) => {
|
|
368
364
|
const S = v("el-avatar");
|
|
369
|
-
return
|
|
365
|
+
return E(), U(q, null, [
|
|
370
366
|
u(S, {
|
|
371
367
|
src: t.avatarUrl,
|
|
372
368
|
onClick: y,
|
|
@@ -379,16 +375,16 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
379
375
|
onError: i
|
|
380
376
|
}, {
|
|
381
377
|
default: d(() => [
|
|
382
|
-
|
|
378
|
+
H(f.$slots, "avatarDefault", {}, void 0, !0)
|
|
383
379
|
]),
|
|
384
380
|
_: 3
|
|
385
381
|
}, 8, ["src", "size"]),
|
|
386
|
-
|
|
382
|
+
$(u(ve, {
|
|
387
383
|
ref_key: "cropperDialogRef",
|
|
388
384
|
ref: n,
|
|
389
385
|
title: "更改头像",
|
|
390
386
|
avatarUrl: t.avatarUrl,
|
|
391
|
-
onSubmitImage:
|
|
387
|
+
onSubmitImage: w,
|
|
392
388
|
onDeleteImage: b
|
|
393
389
|
}, null, 8, ["avatarUrl"]), [
|
|
394
390
|
[M, t.showCropper && (o == null ? void 0 : o.clickStop)]
|
|
@@ -396,12 +392,12 @@ const te = () => Date.now() + ee++, re = D({
|
|
|
396
392
|
], 64);
|
|
397
393
|
};
|
|
398
394
|
}
|
|
399
|
-
}),
|
|
395
|
+
}), we = /* @__PURE__ */ L(ye, [["__scopeId", "data-v-82946fb9"]]), Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
400
396
|
__proto__: null,
|
|
401
|
-
default:
|
|
397
|
+
default: we
|
|
402
398
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
403
399
|
export {
|
|
404
|
-
|
|
400
|
+
we as A,
|
|
405
401
|
ve as C,
|
|
406
402
|
re as a,
|
|
407
403
|
Ce as b,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as c, onMounted as p, watch as u, onUnmounted as f,
|
|
2
|
-
import {
|
|
1
|
+
import { ref as c, onMounted as p, watch as u, onUnmounted as f, openBlock as v, createElementBlock as m } from "vue";
|
|
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",
|
|
@@ -35,7 +35,7 @@ const z = {
|
|
|
35
35
|
const a = s.value;
|
|
36
36
|
e.setOption(a), e.resize();
|
|
37
37
|
};
|
|
38
|
-
return (a, C) => (
|
|
38
|
+
return (a, C) => (v(), m("div", {
|
|
39
39
|
id: "chartModelId",
|
|
40
40
|
class: "chart-model-class",
|
|
41
41
|
ref_key: "chartModelRef",
|
|
@@ -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 { 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-
|
|
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-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",
|
|
@@ -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",
|