ss-component-new 1.3.682 → 1.3.683
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-qT5QxtXm.js → MTLLoader-DPHzTMwa.js} +28 -28
- package/dist/{URDFLoader-D3eMTiZb.js → URDFLoader-M-UG5-pR.js} +606 -611
- package/dist/{animationData-DBAbHIow.js → animationData-DRuHGkTO.js} +3 -3
- package/dist/{array-jRfpOka6.js → array-DjjQ0-_X.js} +14 -13
- package/dist/{clone-epSiajPW.js → clone-nUXh221j.js} +1 -1
- package/dist/{eleIcon-BWVKfp5t.js → eleIcon-DlIcb4df.js} +2 -2
- package/dist/{iconfont-DsSG_70z.js → iconfont-BhJBoU2I.js} +91 -91
- package/dist/icons/svg/method.svg +1 -0
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-3va3ENB8.js → index-8KwwXnRD.js} +3 -3
- package/dist/{index-Bmk-CXy5.js → index-B6x7nsvL.js} +5 -5
- package/dist/index-BBzJ8BLa.js +572 -0
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-Bto8e0_l.js → index-BLFiId9N.js} +5 -5
- package/dist/{index-FNOjQQWl.js → index-BNDaeOZD.js} +43 -40
- package/dist/{index-CN6F4ryE.js → index-Ba8phnvt.js} +23 -23
- package/dist/{index-Bd9AU0ks.js → index-CBL2Pg06.js} +5 -5
- package/dist/index-CBPXalBI.js +15007 -0
- package/dist/{index-Bvvz41NY.js → index-CG1vGzHt.js} +1 -1
- package/dist/{index-C-Cstw1x.js → index-CIoBc8yl.js} +62 -60
- package/dist/{index-CfHObnEf.js → index-CJbdXJRV.js} +3 -3
- package/dist/{index-YVR3acYT.js → index-CJySKIdc.js} +1 -1
- package/dist/{index-CPRVBnQZ.js → index-CKB74hmA.js} +483 -482
- package/dist/{index-DVURXaLH.js → index-CM6CVZ_d.js} +13935 -20059
- package/dist/{index-CNydoPVR.js → index-CYspf59Y.js} +8 -8
- package/dist/{index-CUJOuk-t.js → index-CccqT4-H.js} +6 -6
- package/dist/{index-BLAPVSLU.js → index-ChfKhYMO.js} +22242 -22256
- package/dist/{index-CH8pGxiX.js → index-Cl2tex39.js} +172 -163
- package/dist/{index-C5r4GvjQ.js → index-CnmXW-Bj.js} +42 -38
- package/dist/{index-CWCQy24b.js → index-Cpv5443J.js} +4 -4
- package/dist/{index-DT2KzAmL.js → index-CsqopIxB.js} +1077 -1076
- package/dist/{index-CmRnsU1X.js → index-CzgY9rV-.js} +61 -57
- package/dist/{index-Lc7md2MS.js → index-DTjEPXdC.js} +76 -70
- package/dist/{index-BpGFvMaU.js → index-DewO44mx.js} +2 -2
- package/dist/{index-kmuFWiAq.js → index-DkFpug1v.js} +20 -18
- package/dist/{index-D_kI6aHR.js → index-DlFmNKos.js} +8 -7
- package/dist/{index-SjNcMhxZ.js → index-Dx-bFdbp.js} +8 -8
- package/dist/{index-D1o4d6gh.js → index-DyOGhRxL.js} +4 -4
- package/dist/{index-B4vESlof.js → index-QdkaQuAk.js} +2 -2
- package/dist/{index-XGieOXX9.js → index-R2i3Xnfq.js} +4 -4
- package/dist/{index-BLnbN_F-.js → index-gFBsqsq6.js} +3 -3
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index--PjD6UIW.js → index-zdWtzZvH.js} +7 -7
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_83e6d490_lang-QPys2KyW.js → index.vue_vue_type_style_index_0_scoped_83e6d490_lang-BsOR2Ig8.js} +56038 -49940
- package/dist/isString-h0UV2hrP.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-Bgh_Vl8E.js → main-C7zjHnDD.js} +9 -9
- package/dist/{menuIndex-B7ZUahFp.js → menuIndex-BE8WKQ_M.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-DiogHwkN.js → request-DolpfyNJ.js} +3076 -3494
- 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-DF67wAtc.js → threeModel-DiiHNAHL.js} +174 -174
- package/dist/{threePreview-CQQPm2oj.js → threePreview-Bu2Spume.js} +12 -12
- package/dist/{threeSceneView-MukJjphg.js → threeSceneView-DxeVIhrp.js} +50 -49
- package/dist/{threeSceneViewForCPMPIP-Cmw3lxMx.js → threeSceneViewForCPMPIP-DPYmtlbM.js} +17 -16
- package/dist/{threeTrackPathView-d9QnH6pv.js → threeTrackPathView-fb0Ye-HT.js} +114 -114
- package/dist/{threeViewerHost-CxKP0BGS.js → threeViewerHost-DHRT4ihY.js} +36 -36
- package/dist/{urdfTree-BMwSzHf8.js → urdfTree-CFaALNOQ.js} +9 -9
- package/dist/{workpieceTreePanel-DTFfwsXF.js → workpieceTreePanel-BxNqg9o9.js} +60 -56
- package/package.json +4 -2
- 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-B-oUd2b-.js +0 -2623
- package/dist/index-BkChdIqr.js +0 -11779
- package/dist/isString-CoCw_sp3.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as s,
|
|
1
|
+
import { computed as s, createElementBlock as a, openBlock as c, mergeProps as l, toHandlers as i, createElementVNode as m } from "vue";
|
|
2
2
|
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
const u = ["xlink:href"], _ = {
|
|
4
4
|
__name: "index",
|
|
@@ -14,7 +14,7 @@ const u = ["xlink:href"], _ = {
|
|
|
14
14
|
},
|
|
15
15
|
setup(t) {
|
|
16
16
|
const e = t, n = s(() => `#icon-${e.name}`), o = s(() => e.className ? `svg-icon ${e.className}` : "svg-icon");
|
|
17
|
-
return (r, d) => (
|
|
17
|
+
return (r, d) => (c(), a("svg", l({
|
|
18
18
|
class: o.value,
|
|
19
19
|
"aria-hidden": "true"
|
|
20
20
|
}, i(r.$attrs, !0)), [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as I, g as M } from "./index-
|
|
3
|
-
import { E as N } from "./index-
|
|
4
|
-
import { E as s } from "./request-
|
|
5
|
-
const K =
|
|
1
|
+
import { ref as _, computed as A } from "vue";
|
|
2
|
+
import { a as I, g as M } from "./index-CJySKIdc.js";
|
|
3
|
+
import { E as N } from "./index-CsqopIxB.js";
|
|
4
|
+
import { E as s } from "./request-DolpfyNJ.js";
|
|
5
|
+
const K = _([]), T = A(() => [
|
|
6
6
|
{
|
|
7
7
|
key: "extraButton",
|
|
8
8
|
contents: [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u,
|
|
2
|
-
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { s as He } from "./index-
|
|
6
|
-
import { _ as
|
|
1
|
+
import { ref as v, computed as Ce, defineComponent as Ve, onMounted as Ae, reactive as ze, resolveComponent as u, createElementBlock as P, openBlock as _, createElementVNode as s, createVNode as o, unref as c, withCtx as i, createTextVNode as N, toDisplayString as le, Fragment as oe, renderList as se, withModifiers as xe, createBlock as re, createCommentVNode as qe } from "vue";
|
|
2
|
+
import { g as Ue, d as Ge, u as Oe, c as Me, a as Re, b as Fe } from "./index-QdkaQuAk.js";
|
|
3
|
+
import { B as Qe, E as $e, K as we, c as Ye, r as je, u as Ke, p as Ze } from "./index-CsqopIxB.js";
|
|
4
|
+
import { _ as he } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
5
|
+
import { s as He } from "./index-11kpzK0A.js";
|
|
6
|
+
import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const G = {
|
|
8
8
|
COMPANY: {
|
|
9
9
|
label: "公司",
|
|
@@ -94,7 +94,7 @@ const G = {
|
|
|
94
94
|
var n;
|
|
95
95
|
const t = await Re(e);
|
|
96
96
|
return ((n = t == null ? void 0 : t.data) == null ? void 0 : n.result) || [];
|
|
97
|
-
},
|
|
97
|
+
}, K = async () => {
|
|
98
98
|
const e = {
|
|
99
99
|
platId: b.value
|
|
100
100
|
}, t = await j(e);
|
|
@@ -126,16 +126,16 @@ const G = {
|
|
|
126
126
|
platId: b.value,
|
|
127
127
|
changeDepartmentData: t
|
|
128
128
|
};
|
|
129
|
-
},
|
|
129
|
+
}, x = async (e) => {
|
|
130
130
|
delete e.department_id;
|
|
131
131
|
const t = z(e);
|
|
132
132
|
await Me(t);
|
|
133
133
|
}, H = async (e) => {
|
|
134
|
-
await
|
|
134
|
+
await x(e);
|
|
135
135
|
}, y = async (e) => {
|
|
136
136
|
const t = z(e);
|
|
137
137
|
await Oe(t);
|
|
138
|
-
},
|
|
138
|
+
}, J = async (e) => {
|
|
139
139
|
await y(e);
|
|
140
140
|
}, W = async (e) => {
|
|
141
141
|
const { department_id: t } = e, n = {
|
|
@@ -166,12 +166,12 @@ const G = {
|
|
|
166
166
|
convertPageInfoToRequestData: A,
|
|
167
167
|
initGetByPage: Y,
|
|
168
168
|
departmentTree: E,
|
|
169
|
-
initDepartmentTree:
|
|
169
|
+
initDepartmentTree: K,
|
|
170
170
|
hasDepartmentEditAuth: R,
|
|
171
171
|
initDepartmentConfig: F,
|
|
172
172
|
initDepartmentItem: Z,
|
|
173
173
|
initCreate: H,
|
|
174
|
-
initUpdate:
|
|
174
|
+
initUpdate: J,
|
|
175
175
|
initDelete: X,
|
|
176
176
|
initGetParentByType: async (e) => {
|
|
177
177
|
const t = {
|
|
@@ -196,7 +196,7 @@ const G = {
|
|
|
196
196
|
value: "department_id",
|
|
197
197
|
label: "name",
|
|
198
198
|
children: "children"
|
|
199
|
-
}, d =
|
|
199
|
+
}, d = Ke(Ze), {
|
|
200
200
|
queryInfo: k,
|
|
201
201
|
resetQuery: M,
|
|
202
202
|
departmentTree: T,
|
|
@@ -215,7 +215,7 @@ const G = {
|
|
|
215
215
|
getTypeLabel: Y,
|
|
216
216
|
isCompany: E,
|
|
217
217
|
getStatusLabelByValue: j,
|
|
218
|
-
getStatusTagByValue:
|
|
218
|
+
getStatusTagByValue: K
|
|
219
219
|
} = tt(), C = v(), Z = Ce(() => {
|
|
220
220
|
var l;
|
|
221
221
|
return (l = C.value) == null ? void 0 : l.department_id;
|
|
@@ -223,13 +223,13 @@ const G = {
|
|
|
223
223
|
C.value = l, d.setImportLoading(!0), y().finally(() => {
|
|
224
224
|
d.setImportLoading(!1);
|
|
225
225
|
});
|
|
226
|
-
},
|
|
226
|
+
}, x = v([]), H = async () => {
|
|
227
227
|
var p;
|
|
228
228
|
const l = await L((p = C.value) == null ? void 0 : p.department_id), { departmentData: a = [] } = l;
|
|
229
229
|
return a;
|
|
230
230
|
}, y = async () => {
|
|
231
|
-
|
|
232
|
-
},
|
|
231
|
+
x.value = await H();
|
|
232
|
+
}, J = (l) => {
|
|
233
233
|
F(l), d.setImportLoading(!0), y().finally(() => {
|
|
234
234
|
d.setImportLoading(!1);
|
|
235
235
|
});
|
|
@@ -315,7 +315,7 @@ const G = {
|
|
|
315
315
|
};
|
|
316
316
|
return (l, a) => {
|
|
317
317
|
var ye, _e, be, De;
|
|
318
|
-
const p = u("el-tree"), I = u("el-input"), te = u("el-button"),
|
|
318
|
+
const p = u("el-tree"), I = u("el-input"), te = u("el-button"), q = u("el-table-column"), Pe = u("el-tag"), Ne = u("el-table"), ke = u("el-pagination"), ae = u("el-form-item"), ne = u("el-col"), ge = u("el-option"), fe = u("el-select"), ve = u("el-row"), Se = u("el-form");
|
|
319
319
|
return _(), P("div", at, [
|
|
320
320
|
a[11] || (a[11] = s("div", { class: "header" }, [
|
|
321
321
|
s("div", { class: "header-left" }),
|
|
@@ -349,20 +349,22 @@ const G = {
|
|
|
349
349
|
type: "primary",
|
|
350
350
|
onClick: y
|
|
351
351
|
}, {
|
|
352
|
-
default: i(() =>
|
|
353
|
-
N("查询"
|
|
354
|
-
])
|
|
355
|
-
_: 1
|
|
352
|
+
default: i(() => a[5] || (a[5] = [
|
|
353
|
+
N("查询")
|
|
354
|
+
])),
|
|
355
|
+
_: 1,
|
|
356
|
+
__: [5]
|
|
356
357
|
}),
|
|
357
358
|
o(te, {
|
|
358
359
|
type: "primary",
|
|
359
360
|
plain: "",
|
|
360
361
|
onClick: X
|
|
361
362
|
}, {
|
|
362
|
-
default: i(() =>
|
|
363
|
-
N("重置"
|
|
364
|
-
])
|
|
365
|
-
_: 1
|
|
363
|
+
default: i(() => a[6] || (a[6] = [
|
|
364
|
+
N("重置")
|
|
365
|
+
])),
|
|
366
|
+
_: 1,
|
|
367
|
+
__: [6]
|
|
366
368
|
})
|
|
367
369
|
]),
|
|
368
370
|
s("div", it, [
|
|
@@ -370,26 +372,27 @@ const G = {
|
|
|
370
372
|
type: "primary",
|
|
371
373
|
onClick: a[1] || (a[1] = (r) => ce())
|
|
372
374
|
}, {
|
|
373
|
-
default: i(() =>
|
|
374
|
-
N("新增部门"
|
|
375
|
-
])
|
|
376
|
-
_: 1
|
|
375
|
+
default: i(() => a[7] || (a[7] = [
|
|
376
|
+
N("新增部门")
|
|
377
|
+
])),
|
|
378
|
+
_: 1,
|
|
379
|
+
__: [7]
|
|
377
380
|
})
|
|
378
381
|
])
|
|
379
382
|
]),
|
|
380
383
|
s("div", dt, [
|
|
381
384
|
o(Ne, {
|
|
382
385
|
class: "department-table",
|
|
383
|
-
data:
|
|
386
|
+
data: x.value,
|
|
384
387
|
"empty-text": ""
|
|
385
388
|
}, {
|
|
386
389
|
default: i(() => [
|
|
387
|
-
o(
|
|
390
|
+
o(q, {
|
|
388
391
|
prop: "name",
|
|
389
392
|
label: "名称",
|
|
390
393
|
align: "center"
|
|
391
394
|
}),
|
|
392
|
-
o(
|
|
395
|
+
o(q, {
|
|
393
396
|
prop: "type",
|
|
394
397
|
label: "分类",
|
|
395
398
|
align: "center"
|
|
@@ -399,7 +402,7 @@ const G = {
|
|
|
399
402
|
]),
|
|
400
403
|
_: 1
|
|
401
404
|
}),
|
|
402
|
-
o(
|
|
405
|
+
o(q, {
|
|
403
406
|
prop: "status",
|
|
404
407
|
label: "状态",
|
|
405
408
|
align: "center"
|
|
@@ -407,7 +410,7 @@ const G = {
|
|
|
407
410
|
default: i((r) => [
|
|
408
411
|
o(Pe, {
|
|
409
412
|
class: "status-tag",
|
|
410
|
-
type: c(
|
|
413
|
+
type: c(K)(r.row.status),
|
|
411
414
|
title: "点击切换",
|
|
412
415
|
onClick: (U) => Ee(r.row)
|
|
413
416
|
}, {
|
|
@@ -419,7 +422,7 @@ const G = {
|
|
|
419
422
|
]),
|
|
420
423
|
_: 1
|
|
421
424
|
}),
|
|
422
|
-
o(
|
|
425
|
+
o(q, {
|
|
423
426
|
label: "操作",
|
|
424
427
|
align: "center"
|
|
425
428
|
}, {
|
|
@@ -428,7 +431,7 @@ const G = {
|
|
|
428
431
|
(_(!0), P(oe, null, se(c(Xe), (U) => (_(), P("div", {
|
|
429
432
|
class: "operate-item",
|
|
430
433
|
key: U.value,
|
|
431
|
-
onClick:
|
|
434
|
+
onClick: xe((bt) => de(U, r), ["stop"])
|
|
432
435
|
}, le(U.label), 9, ut))), 128))
|
|
433
436
|
])
|
|
434
437
|
]),
|
|
@@ -441,7 +444,7 @@ const G = {
|
|
|
441
444
|
a[8] || (a[8] = s("div", null, null, -1)),
|
|
442
445
|
o(ke, {
|
|
443
446
|
onSizeChange: W,
|
|
444
|
-
onCurrentChange:
|
|
447
|
+
onCurrentChange: J,
|
|
445
448
|
"current-page": (ye = c(h)) == null ? void 0 : ye.pageNum,
|
|
446
449
|
"page-sizes": (_e = c(h)) == null ? void 0 : _e.pageSizes,
|
|
447
450
|
"page-size": ((be = c(h)) == null ? void 0 : be.pageSize) ?? 10,
|
|
@@ -576,7 +579,7 @@ const G = {
|
|
|
576
579
|
})
|
|
577
580
|
]),
|
|
578
581
|
_: 1
|
|
579
|
-
})) :
|
|
582
|
+
})) : qe("", !0)
|
|
580
583
|
]),
|
|
581
584
|
_: 1
|
|
582
585
|
})
|
|
@@ -613,7 +616,7 @@ const G = {
|
|
|
613
616
|
]);
|
|
614
617
|
};
|
|
615
618
|
}
|
|
616
|
-
}), Lt = /* @__PURE__ */
|
|
619
|
+
}), Lt = /* @__PURE__ */ Je(_t, [["__scopeId", "data-v-80962709"]]);
|
|
617
620
|
export {
|
|
618
621
|
Lt as default
|
|
619
622
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch as Ie, ref as w, computed as we } from "vue";
|
|
2
|
-
import { p as E, k as
|
|
3
|
-
import { s as Te, b as V, p as C, u as Re,
|
|
4
|
-
import { s as z } from "./request-
|
|
2
|
+
import { p as E, k as B, w as Le } from "./index-CKB74hmA.js";
|
|
3
|
+
import { s as Te, b as V, p as C, u as Re, B as De, c as A, K as N, E as Ee, r as Be, aZ as Ae, a_ as Pe, a$ as Ue, b0 as xe, b1 as Se, b2 as ke } from "./index-CsqopIxB.js";
|
|
4
|
+
import { s as z } from "./request-DolpfyNJ.js";
|
|
5
5
|
const qe = V(C), { systemUrl: f } = Te(qe);
|
|
6
6
|
let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
7
7
|
Ie(
|
|
@@ -37,7 +37,7 @@ const Ce = (s) => {
|
|
|
37
37
|
var b, g;
|
|
38
38
|
const r = ((b = s == null ? void 0 : s.headers) == null ? void 0 : b["content-type"]) || "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", i = new Blob([s.data], { type: r }), L = (g = s == null ? void 0 : s.headers) == null ? void 0 : g["content-disposition"], h = Ve(L) || "数据.xlsx", c = window.URL.createObjectURL(i), u = document.createElement("a");
|
|
39
39
|
u.href = c, u.setAttribute("download", h), document.body.appendChild(u), u.click(), document.body.removeChild(u), window.URL.revokeObjectURL(c);
|
|
40
|
-
},
|
|
40
|
+
}, Qe = [
|
|
41
41
|
{
|
|
42
42
|
label: "编辑",
|
|
43
43
|
value: "edit"
|
|
@@ -72,7 +72,7 @@ const Ce = (s) => {
|
|
|
72
72
|
TABLE: {
|
|
73
73
|
value: "Table"
|
|
74
74
|
}
|
|
75
|
-
}, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"],
|
|
75
|
+
}, Oe = ["查看", "查看三维模型", "导出paraform", "导出", "导出全部", "导出选中"], We = () => {
|
|
76
76
|
const s = V(), r = Re(C), { isSuperAdmin: i, userId: L, userName: h, platId: c } = De(), u = w([]), b = (t) => {
|
|
77
77
|
const { propertyType: e } = t || {};
|
|
78
78
|
return e === ze.TABLE.value;
|
|
@@ -81,7 +81,7 @@ const Ce = (s) => {
|
|
|
81
81
|
return i.value ? !0 : ((e = g.value) == null ? void 0 : e.status) === d.EDITABLE.value;
|
|
82
82
|
}), $ = (t) => {
|
|
83
83
|
var o, l;
|
|
84
|
-
const e = N(Date.now()), { id: a = 0 } = s.loginUserInfo || {}, n =
|
|
84
|
+
const e = N(Date.now()), { id: a = 0 } = s.loginUserInfo || {}, n = A(t);
|
|
85
85
|
return n.update_user_id = a, n.update_user_name = h.value, n.update_time = e, n.checked_ids = ((l = (o = n == null ? void 0 : n.main_ids) == null ? void 0 : o.map) == null ? void 0 : l.call(o, (p) => {
|
|
86
86
|
const { id: _ } = p;
|
|
87
87
|
return _;
|
|
@@ -91,7 +91,7 @@ const Ce = (s) => {
|
|
|
91
91
|
return t.forEach((a) => {
|
|
92
92
|
var n;
|
|
93
93
|
if (a.isPropertyLeaf) {
|
|
94
|
-
const o =
|
|
94
|
+
const o = A(a);
|
|
95
95
|
e.push(o);
|
|
96
96
|
}
|
|
97
97
|
a.children && ((n = a.children) == null ? void 0 : n.length) > 0 && (e = e.concat(U(a.children)));
|
|
@@ -171,23 +171,23 @@ const Ce = (s) => {
|
|
|
171
171
|
pageSize: 10,
|
|
172
172
|
total: 0,
|
|
173
173
|
pageSizes: [5, 10, 20, 50, 100]
|
|
174
|
-
}),
|
|
174
|
+
}), K = (t) => {
|
|
175
175
|
y.value.pageNum = t;
|
|
176
|
-
},
|
|
176
|
+
}, Q = (t) => {
|
|
177
177
|
y.value.pageSize = t;
|
|
178
|
-
},
|
|
178
|
+
}, W = () => ({
|
|
179
179
|
platId: c.value,
|
|
180
180
|
pageNum: y.value.pageNum,
|
|
181
181
|
pageSize: y.value.pageSize,
|
|
182
182
|
filter: {
|
|
183
183
|
...I.value
|
|
184
184
|
}
|
|
185
|
-
}),
|
|
185
|
+
}), Z = async (t) => {
|
|
186
186
|
var a;
|
|
187
187
|
const e = await ke(t);
|
|
188
188
|
return (a = e == null ? void 0 : e.data) == null ? void 0 : a.result;
|
|
189
|
-
},
|
|
190
|
-
const t =
|
|
189
|
+
}, J = async () => {
|
|
190
|
+
const t = W(), e = await Z(t), { total: a } = e || {};
|
|
191
191
|
return y.value.total = a, e || {};
|
|
192
192
|
}, X = async (t) => {
|
|
193
193
|
delete t.role_id;
|
|
@@ -229,7 +229,7 @@ const Ce = (s) => {
|
|
|
229
229
|
return (a == null ? void 0 : a.tag) || "info";
|
|
230
230
|
}, re = async (t) => {
|
|
231
231
|
var a;
|
|
232
|
-
const e = await
|
|
232
|
+
const e = await Ae(t);
|
|
233
233
|
return ((a = e == null ? void 0 : e.data) == null ? void 0 : a.result) || [];
|
|
234
234
|
}, le = async (t) => {
|
|
235
235
|
const e = {
|
|
@@ -270,13 +270,13 @@ const Ce = (s) => {
|
|
|
270
270
|
pageName: "系统管理/角色管理",
|
|
271
271
|
platId: c.value,
|
|
272
272
|
userId: L.value
|
|
273
|
-
}, a = await
|
|
273
|
+
}, a = await Be(e);
|
|
274
274
|
return (o = (n = a == null ? void 0 : a.data) == null ? void 0 : n.result) == null ? void 0 : o[0];
|
|
275
275
|
}, fe = async () => {
|
|
276
276
|
if (!i.value)
|
|
277
277
|
return g.value = await me(), g;
|
|
278
278
|
}, q = (t) => {
|
|
279
|
-
const e =
|
|
279
|
+
const e = A(t);
|
|
280
280
|
for (let a = 0; a < e.length; a++) {
|
|
281
281
|
const n = e == null ? void 0 : e[a], { id: o, prop: l, children: p } = n || {};
|
|
282
282
|
n.uniqueKey = `${o}_${l}`, p && (n.children = q(p));
|
|
@@ -303,9 +303,9 @@ const Ce = (s) => {
|
|
|
303
303
|
queryInfo: I,
|
|
304
304
|
resetQuery: H,
|
|
305
305
|
pageInfo: y,
|
|
306
|
-
setPageNum:
|
|
307
|
-
setPageSize:
|
|
308
|
-
initGetByPage:
|
|
306
|
+
setPageNum: K,
|
|
307
|
+
setPageSize: Q,
|
|
308
|
+
initGetByPage: J,
|
|
309
309
|
initRoleList: j,
|
|
310
310
|
initCreate: Y,
|
|
311
311
|
initUpdate: te,
|
|
@@ -326,8 +326,8 @@ const Ce = (s) => {
|
|
|
326
326
|
initImport: ye,
|
|
327
327
|
initExport: _e,
|
|
328
328
|
exportTemplate: async () => {
|
|
329
|
-
const t =
|
|
330
|
-
|
|
329
|
+
const t = B.aoa_to_sheet(ve), e = B.book_new();
|
|
330
|
+
B.book_append_sheet(e, t, "角色"), Le(e, "角色模板.xlsx");
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
};
|
|
@@ -336,7 +336,7 @@ export {
|
|
|
336
336
|
Fe as e,
|
|
337
337
|
d as f,
|
|
338
338
|
Ce as i,
|
|
339
|
-
|
|
339
|
+
Qe as o,
|
|
340
340
|
m as s,
|
|
341
|
-
|
|
341
|
+
We as u
|
|
342
342
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as A, computed as c, onMounted as _ } from "vue";
|
|
2
2
|
import { useRouter as C } from "vue-router";
|
|
3
|
-
import { u as g, p as h,
|
|
3
|
+
import { u as g, p as h, B as R, c as b, r as S, x as E } from "./index-CsqopIxB.js";
|
|
4
4
|
const l = {
|
|
5
5
|
ALLOW: {
|
|
6
6
|
value: "允许"
|
|
@@ -36,7 +36,7 @@ const l = {
|
|
|
36
36
|
password: "",
|
|
37
37
|
allow_reset_password: l.DENY.value
|
|
38
38
|
};
|
|
39
|
-
}, r =
|
|
39
|
+
}, r = A([]), d = c(() => {
|
|
40
40
|
var t, a;
|
|
41
41
|
const e = (a = (t = r.value) == null ? void 0 : t.find) == null ? void 0 : a.call(t, (n) => n.property_name === N);
|
|
42
42
|
return e == null ? void 0 : e.object_id;
|
|
@@ -72,7 +72,7 @@ const l = {
|
|
|
72
72
|
password: a,
|
|
73
73
|
allow_reset_password: n
|
|
74
74
|
});
|
|
75
|
-
},
|
|
75
|
+
}, P = async (e) => {
|
|
76
76
|
const t = await v(e);
|
|
77
77
|
return await E(t);
|
|
78
78
|
};
|
|
@@ -83,7 +83,7 @@ const l = {
|
|
|
83
83
|
s.setAsideMenus([e]), s.setActiveMenuPath(e == null ? void 0 : e.path), s.setActiveAsideMenu(e), u.push(e.path);
|
|
84
84
|
},
|
|
85
85
|
isAllowReplacePassword: I,
|
|
86
|
-
initReplacePassword: async (e) => await
|
|
86
|
+
initReplacePassword: async (e) => await P(e),
|
|
87
87
|
initEditForm: p
|
|
88
88
|
};
|
|
89
89
|
};
|