ss-component-new 1.3.606 → 1.3.608
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-BL2uYkTJ.js → MTLLoader-B6ottYFV.js} +2 -2
- package/dist/{OrbitControls-Zyj23qrC.js → OrbitControls-BFVKU7s-.js} +1 -1
- package/dist/{URDFLoader-CRx5L75v.js → URDFLoader-CH-7Pzmq.js} +589 -584
- package/dist/{animationData-CJQE6_nu.js → animationData-F0z3GN7j.js} +3 -3
- package/dist/{array-BkavaXXQ.js → array-Clho0aNm.js} +13 -14
- package/dist/{clone-ESeDvnJv.js → clone-MyfSNInd.js} +1 -1
- package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
- package/dist/{iconfont-BnmSp7qc.js → iconfont-BJYdStg5.js} +4 -4
- package/dist/{index-BvkIoiVW.js → index-6qXeMn6b.js} +3 -3
- package/dist/{index-DIC1IjU6.js → index-B1pggnuk.js} +60 -62
- package/dist/{index-BXh02EAd.js → index-B2LYEScO.js} +4 -4
- package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
- package/dist/{index-ClbVbnpS.js → index-B4xzD-6v.js} +18 -20
- package/dist/{index-D8UY4uNQ.js → index-B8NQAdR4.js} +966 -967
- package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
- package/dist/{index-Bdlw5PXG.js → index-BPpFNODf.js} +5 -5
- package/dist/{index-C5QKOpfx.js → index-BWPIkFPn.js} +9227 -8773
- package/dist/{index-CPW7tdrA.js → index-BkkvdZXm.js} +17 -20
- package/dist/{index-BG89B83e.js → index-Bqqhe316.js} +148 -157
- package/dist/{index-B0M1YCUY.js → index-BvtOLltL.js} +7 -7
- package/dist/{index-DsdWSuDi.js → index-BvyM6d06.js} +482 -483
- package/dist/{index-CX8Apbo7.js → index-BybrpYzx.js} +1 -1
- package/dist/{index-tMqKF2l6.js → index-CM6aWexA.js} +2 -2
- package/dist/{index-C31Pm35-.js → index-CQHLe7l6.js} +573 -608
- package/dist/{index-BBBCr4Oo.js → index-CT1LWsrT.js} +2 -2
- package/dist/{index-CTicGWoS.js → index-CXqqIuf-.js} +3 -3
- package/dist/{index-D9xMYIes.js → index-CYjsE5Gs.js} +3 -3
- package/dist/index-CjNWVVhm.js +2623 -0
- package/dist/{index-B_fRppeJ.js → index-CkO7j_i1.js} +8 -8
- package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
- package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
- package/dist/{index-C3pboX9W.js → index-DIVct0z6.js} +5 -5
- package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
- package/dist/{index-DADd4cmS.js → index-DK9-eF24.js} +21851 -21873
- package/dist/{index-BUqviBFi.js → index-DcPtyCDm.js} +29 -35
- package/dist/{index-D1E8EPxn.js → index-DmILGKv9.js} +57 -61
- package/dist/{index-B4-GD2HP.js → index-DpdwR2O0.js} +3 -3
- package/dist/{index-BOqo9XDw.js → index-S5AsqKOU.js} +6 -6
- package/dist/{index-BA1kJZth.js → index-aTEfnfYn.js} +36 -40
- package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
- package/dist/{index-UC3celFR.js → index-gAcMQttx.js} +8 -8
- package/dist/{index-DkumSU1-.js → index-hg0CdgKe.js} +4 -4
- package/dist/{index-CC5AxngM.js → index-meZOiovI.js} +4 -4
- 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_39e1db95_lang-X_k372gl.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js} +27760 -27735
- package/dist/isString-Dxm3W5iX.js +8 -0
- package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
- package/dist/{main-CmzE3HuC.js → main-cZ53HaDl.js} +9 -9
- package/dist/{menuIndex-DAW9B-9g.js → menuIndex-BiUB7t5q.js} +1 -1
- package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
- 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/svgIcon-4m2zaZkj.js +42 -0
- package/dist/{threeModel-DDlWUHsN.js → threeModel-D5dzjyJO.js} +174 -174
- package/dist/{threePreview-CVO6XMIe.js → threePreview-CpcrqmFS.js} +13 -13
- package/dist/{threeSceneView-BQXSPHMu.js → threeSceneView-BbM1FFcc.js} +24 -25
- package/dist/{threeSceneViewForCPMPIP-BYUnvSDz.js → threeSceneViewForCPMPIP-4bANk0sU.js} +17 -18
- package/dist/{threeTrackPathView-7_x3jeap.js → threeTrackPathView-Bw6e-quT.js} +8 -8
- package/dist/{threeViewerHost-DTWrmIQy.js → threeViewerHost-BMUhfp_Z.js} +4 -4
- package/dist/{urdfTree-D0Iom75E.js → urdfTree-DU02c_91.js} +9 -9
- package/dist/{workpieceTreePanel-DEEMKY1v.js → workpieceTreePanel-XH9mYAT2.js} +56 -60
- package/package.json +1 -1
- package/dist/JSEncrypt-B36c1iN5.js +0 -1983
- package/dist/index-iD7cVTqr.js +0 -572
- package/dist/isString-BlNsHiyU.js +0 -8
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/svgIcon-4u4PW7Is.js +0 -42
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import { defineComponent as H, ref as u, computed as Ve, resolveComponent as n,
|
|
2
|
-
import { u as ut, h as pt, i as mt } from "./request-
|
|
3
|
-
import { u as Se, o as
|
|
4
|
-
import { I as Le, J as
|
|
5
|
-
import { s as
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
1
|
+
import { defineComponent as H, ref as u, computed as Ve, resolveComponent as n, openBlock as k, createElementBlock as x, createElementVNode as o, createVNode as t, withCtx as s, toDisplayString as N, createBlock as ue, reactive as xe, Fragment as pe, renderList as De, unref as c, createTextVNode as h, onMounted as it, watch as dt, withModifiers as ct, createCommentVNode as J } from "vue";
|
|
2
|
+
import { u as ut, h as pt, i as mt } from "./request-BfrhYBTM.js";
|
|
3
|
+
import { u as Se, o as ft, s as de, f as ce } from "./index-CYjsE5Gs.js";
|
|
4
|
+
import { I as Le, J as _t, u as vt, p as gt } from "./index-B8NQAdR4.js";
|
|
5
|
+
import { s as fe } from "./index-DJrzqi4-.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-Dp7tIi0S.js";
|
|
7
|
+
import "./index-DK9-eF24.js";
|
|
8
|
+
import "./index-dD-mKgue.js";
|
|
9
|
+
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js";
|
|
10
|
+
import "./index-BvyM6d06.js";
|
|
11
|
+
import "./index-CjNWVVhm.js";
|
|
12
12
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
import { c as me } from "./clone-
|
|
13
|
+
import { c as me } from "./clone-MyfSNInd.js";
|
|
14
14
|
const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-content-wrapper" }, Ct = { class: "node-label-wrapper" }, bt = { class: "node-label" }, wt = /* @__PURE__ */ H({
|
|
15
15
|
__name: "index",
|
|
16
16
|
props: {
|
|
17
17
|
params: {},
|
|
18
18
|
checkedParams: {}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
20
|
+
setup(R, { expose: $ }) {
|
|
21
|
+
const f = R, D = {
|
|
22
22
|
value: "uniqueKey",
|
|
23
23
|
label: "label",
|
|
24
24
|
children: "children",
|
|
25
25
|
class: (b) => {
|
|
26
26
|
}
|
|
27
|
-
}, { buildParamAuthTree:
|
|
27
|
+
}, { buildParamAuthTree: P } = Se(), g = u(), S = Ve(() => P(f.params)), m = Ve(() => f.checkedParams.map((b) => `${b.id}_${b.prop}`));
|
|
28
28
|
return $({ getCheckedParams: () => {
|
|
29
|
-
var
|
|
30
|
-
return ((
|
|
31
|
-
} }), (b,
|
|
32
|
-
const
|
|
33
|
-
return k(),
|
|
34
|
-
|
|
29
|
+
var _;
|
|
30
|
+
return ((_ = g.value) == null ? void 0 : _.getCheckedNodes()) || [];
|
|
31
|
+
} }), (b, _) => {
|
|
32
|
+
const T = n("el-tree");
|
|
33
|
+
return k(), x("div", yt, [
|
|
34
|
+
_[0] || (_[0] = o("div", { class: "header" }, [
|
|
35
35
|
o("div", { class: "header-left" }),
|
|
36
36
|
o("div", { class: "header-right" })
|
|
37
37
|
], -1)),
|
|
38
38
|
o("div", ht, [
|
|
39
|
-
t(
|
|
39
|
+
t(T, {
|
|
40
40
|
ref_key: "paramTreeRef",
|
|
41
41
|
ref: g,
|
|
42
42
|
class: "param-tree",
|
|
43
43
|
data: S.value,
|
|
44
|
-
props:
|
|
44
|
+
props: D,
|
|
45
45
|
"node-key": "uniqueKey",
|
|
46
46
|
"show-checkbox": "",
|
|
47
47
|
"default-expanded-keys": m.value,
|
|
48
48
|
"default-checked-keys": m.value,
|
|
49
49
|
height: "100%"
|
|
50
50
|
}, {
|
|
51
|
-
default: s(({ node: v, data:
|
|
51
|
+
default: s(({ node: v, data: F }) => [
|
|
52
52
|
o("div", kt, [
|
|
53
53
|
o("div", Ct, [
|
|
54
|
-
o("div", bt,
|
|
54
|
+
o("div", bt, N(v.label), 1)
|
|
55
55
|
])
|
|
56
56
|
])
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
}, 8, ["data", "default-expanded-keys", "default-checked-keys"])
|
|
60
60
|
]),
|
|
61
|
-
|
|
61
|
+
_[1] || (_[1] = o("div", { class: "footer" }, [
|
|
62
62
|
o("div", { class: "footer-left" }),
|
|
63
63
|
o("div", { class: "footer-right" })
|
|
64
64
|
], -1))
|
|
65
65
|
]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
}), Pt = /* @__PURE__ */ W(wt, [["__scopeId", "data-v-b7ce5c18"]]), Tt = { class: "param-wrapper" }, Et = { class: "param-body" }, Vt = { class: "role-form-wrapper" },
|
|
68
|
+
}), Pt = /* @__PURE__ */ W(wt, [["__scopeId", "data-v-b7ce5c18"]]), Tt = { class: "param-wrapper" }, Et = { class: "param-body" }, Vt = { class: "role-form-wrapper" }, xt = { class: "edit-footer" }, Dt = { class: "footer-right" }, St = /* @__PURE__ */ H({
|
|
69
69
|
__name: "index",
|
|
70
70
|
props: {
|
|
71
71
|
params: {},
|
|
72
72
|
checkedParams: {}
|
|
73
73
|
},
|
|
74
74
|
emits: ["updateParams"],
|
|
75
|
-
setup(
|
|
76
|
-
const
|
|
75
|
+
setup(R, { expose: $, emit: f }) {
|
|
76
|
+
const D = f, P = u(), g = u(!1), S = () => {
|
|
77
77
|
g.value = !0;
|
|
78
78
|
}, m = () => {
|
|
79
79
|
g.value = !1;
|
|
80
80
|
}, C = () => {
|
|
81
81
|
m();
|
|
82
82
|
}, b = () => {
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
},
|
|
83
|
+
const T = _();
|
|
84
|
+
D("updateParams", T), m();
|
|
85
|
+
}, _ = () => {
|
|
86
86
|
var v;
|
|
87
|
-
return ((v =
|
|
87
|
+
return ((v = P.value) == null ? void 0 : v.getCheckedParams()) || [];
|
|
88
88
|
};
|
|
89
|
-
return $({ openEditDialog: S }), (
|
|
89
|
+
return $({ openEditDialog: S }), (T, v) => (k(), ue(fe, {
|
|
90
90
|
class: "param-edit-dialog",
|
|
91
91
|
visible: g.value,
|
|
92
92
|
title: "参数权限",
|
|
@@ -108,18 +108,18 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
108
108
|
o("div", Vt, [
|
|
109
109
|
t(Pt, {
|
|
110
110
|
ref_key: "paramAuthTree",
|
|
111
|
-
ref:
|
|
112
|
-
params:
|
|
113
|
-
"checked-params":
|
|
111
|
+
ref: P,
|
|
112
|
+
params: R.params,
|
|
113
|
+
"checked-params": R.checkedParams
|
|
114
114
|
}, null, 8, ["params", "checked-params"])
|
|
115
115
|
])
|
|
116
116
|
])
|
|
117
117
|
])
|
|
118
118
|
]),
|
|
119
119
|
footer: s(() => [
|
|
120
|
-
o("div",
|
|
120
|
+
o("div", xt, [
|
|
121
121
|
v[1] || (v[1] = o("div", { class: "footer-left" }, null, -1)),
|
|
122
|
-
o("div",
|
|
122
|
+
o("div", Dt, [
|
|
123
123
|
t(B, {
|
|
124
124
|
class: "cancel",
|
|
125
125
|
emptyColor: !0,
|
|
@@ -143,30 +143,30 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
143
143
|
}), Lt = /* @__PURE__ */ W(St, [["__scopeId", "data-v-875ed466"]]), $t = { class: "scope-management-wrapper" }, It = { class: "scope-management-body" }, Bt = { class: "scope-form-wrapper" }, Rt = { class: "edit-footer" }, At = { class: "footer-right" }, Nt = /* @__PURE__ */ H({
|
|
144
144
|
__name: "index",
|
|
145
145
|
emits: ["confirm"],
|
|
146
|
-
setup(
|
|
147
|
-
const
|
|
146
|
+
setup(R, { expose: $, emit: f }) {
|
|
147
|
+
const D = f, { initDepartmentScope: P } = Le(), g = u(), S = xe({
|
|
148
148
|
departmentScope: [
|
|
149
149
|
{ required: !0, message: "请输入角色名称", trigger: "change" }
|
|
150
150
|
]
|
|
151
|
-
}), m = u(
|
|
151
|
+
}), m = u(P()), C = u(!1), b = () => {
|
|
152
152
|
C.value = !0;
|
|
153
|
-
},
|
|
153
|
+
}, _ = () => {
|
|
154
154
|
C.value = !1;
|
|
155
|
-
},
|
|
155
|
+
}, T = async (E) => {
|
|
156
156
|
m.value = me(E), b();
|
|
157
157
|
}, v = () => {
|
|
158
|
-
m.value =
|
|
159
|
-
},
|
|
158
|
+
m.value = P(), _();
|
|
159
|
+
}, F = async () => {
|
|
160
160
|
var E, y;
|
|
161
|
-
await ((y = (E = g.value) == null ? void 0 : E.validate) == null ? void 0 : y.call(E)),
|
|
161
|
+
await ((y = (E = g.value) == null ? void 0 : E.validate) == null ? void 0 : y.call(E)), D("confirm", me(m.value)), v();
|
|
162
162
|
};
|
|
163
|
-
return $({ handleEdit:
|
|
163
|
+
return $({ handleEdit: T }), (E, y) => {
|
|
164
164
|
const X = n("el-radio"), Y = n("el-radio-group"), Z = n("el-form-item"), ee = n("el-col"), te = n("el-row"), ae = n("el-form");
|
|
165
|
-
return k(), ue(
|
|
165
|
+
return k(), ue(fe, {
|
|
166
166
|
class: "scope-edit-dialog",
|
|
167
167
|
visible: C.value,
|
|
168
168
|
title: "数据权限",
|
|
169
|
-
onBeforeDestroy:
|
|
169
|
+
onBeforeDestroy: _,
|
|
170
170
|
showClose: !0,
|
|
171
171
|
closeOnClickModal: !1,
|
|
172
172
|
closeOnPressEscape: !1,
|
|
@@ -205,12 +205,12 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
205
205
|
"onUpdate:modelValue": y[0] || (y[0] = (V) => m.value.departmentScope = V)
|
|
206
206
|
}, {
|
|
207
207
|
default: s(() => [
|
|
208
|
-
(k(!0),
|
|
208
|
+
(k(!0), x(pe, null, De(c(_t), (V) => (k(), ue(X, {
|
|
209
209
|
key: V.value,
|
|
210
210
|
value: V.value
|
|
211
211
|
}, {
|
|
212
212
|
default: s(() => [
|
|
213
|
-
h(
|
|
213
|
+
h(N(V.label), 1)
|
|
214
214
|
]),
|
|
215
215
|
_: 2
|
|
216
216
|
}, 1032, ["value"]))), 128))
|
|
@@ -247,7 +247,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
247
247
|
t(B, {
|
|
248
248
|
class: "confirm",
|
|
249
249
|
emptyColor: !0,
|
|
250
|
-
onClickTrigger:
|
|
250
|
+
onClickTrigger: F,
|
|
251
251
|
modelValue: "确定",
|
|
252
252
|
buttonType: "primary"
|
|
253
253
|
})
|
|
@@ -272,7 +272,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
272
272
|
class: "status-tag"
|
|
273
273
|
}, na = { class: "edit-footer" }, ra = { class: "footer-right" }, ia = /* @__PURE__ */ H({
|
|
274
274
|
__name: "index",
|
|
275
|
-
setup(
|
|
275
|
+
setup(R) {
|
|
276
276
|
const $ = {
|
|
277
277
|
value: "id",
|
|
278
278
|
label: "label",
|
|
@@ -281,17 +281,17 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
281
281
|
// const { isProperty } = data
|
|
282
282
|
// return isProperty ? 'property-node' : 'unit-node'
|
|
283
283
|
// }
|
|
284
|
-
},
|
|
284
|
+
}, f = vt(gt), { initDepartmentScope: D, recAndInitNodeDataPermission: P } = Le(), {
|
|
285
285
|
initRoleItem: g,
|
|
286
286
|
queryInfo: S,
|
|
287
287
|
resetQuery: m,
|
|
288
288
|
pageInfo: C,
|
|
289
289
|
setPageNum: b,
|
|
290
|
-
setPageSize:
|
|
291
|
-
initGetByPage:
|
|
290
|
+
setPageSize: _,
|
|
291
|
+
initGetByPage: T,
|
|
292
292
|
// initRoleList,
|
|
293
293
|
initCreate: v,
|
|
294
|
-
initUpdate:
|
|
294
|
+
initUpdate: F,
|
|
295
295
|
initDelete: E,
|
|
296
296
|
propertyAuthTree: y,
|
|
297
297
|
initPropertyAuthTree: X,
|
|
@@ -305,26 +305,26 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
305
305
|
initImport: Ie,
|
|
306
306
|
initExport: Be,
|
|
307
307
|
exportTemplate: Re
|
|
308
|
-
} = Se(),
|
|
309
|
-
const a = await
|
|
308
|
+
} = Se(), _e = u([]), Ae = async () => {
|
|
309
|
+
const a = await T(), { roleData: e = [] } = a;
|
|
310
310
|
return e;
|
|
311
|
-
},
|
|
312
|
-
|
|
311
|
+
}, z = async () => {
|
|
312
|
+
_e.value = await Ae();
|
|
313
313
|
}, Ne = (a) => {
|
|
314
|
-
b(a),
|
|
314
|
+
b(a), z();
|
|
315
315
|
}, Fe = (a) => {
|
|
316
|
-
|
|
316
|
+
_(a), z();
|
|
317
317
|
}, ze = async () => {
|
|
318
|
-
m(),
|
|
319
|
-
|
|
318
|
+
m(), f.setImportLoading(!0), await z().finally(() => {
|
|
319
|
+
f.setImportLoading(!1);
|
|
320
320
|
});
|
|
321
|
-
},
|
|
322
|
-
await
|
|
321
|
+
}, A = async () => {
|
|
322
|
+
await z(), await ae();
|
|
323
323
|
};
|
|
324
324
|
it(() => {
|
|
325
|
-
|
|
325
|
+
A();
|
|
326
326
|
});
|
|
327
|
-
const ve = u(), Oe =
|
|
327
|
+
const ve = u(), Oe = xe({
|
|
328
328
|
name: [
|
|
329
329
|
{ required: !0, message: "请输入角色名称", trigger: "blur" }
|
|
330
330
|
]
|
|
@@ -337,7 +337,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
337
337
|
a.stopPropagation(), ge.value = e.params || [], (l = K == null ? void 0 : K.value) == null || l.openEditDialog();
|
|
338
338
|
}, Me = (a) => {
|
|
339
339
|
var p;
|
|
340
|
-
const e = (p = a == null ? void 0 : a[0]) == null ? void 0 : p.id, l = d.value.params.filter((
|
|
340
|
+
const e = (p = a == null ? void 0 : a[0]) == null ? void 0 : p.id, l = d.value.params.filter((w) => w.id !== e);
|
|
341
341
|
d.value.params = [...l, ...a];
|
|
342
342
|
}, oe = u(!1), Ke = () => {
|
|
343
343
|
oe.value = !0;
|
|
@@ -356,9 +356,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
356
356
|
}, ke = () => {
|
|
357
357
|
d.value = g(), ye();
|
|
358
358
|
}, Ge = async () => {
|
|
359
|
-
var l, p,
|
|
359
|
+
var l, p, w;
|
|
360
360
|
await ((p = (l = ve.value) == null ? void 0 : l.validate) == null ? void 0 : p.call(l));
|
|
361
|
-
let a = ((
|
|
361
|
+
let a = ((w = q.value) == null ? void 0 : w.getCheckedNodes()) || [];
|
|
362
362
|
a = a.filter((L) => L.isPropertyLeaf), a = a.map((L) => {
|
|
363
363
|
const { departmentScope: ne } = L.dataPermission || {};
|
|
364
364
|
return {
|
|
@@ -372,13 +372,13 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
372
372
|
if (!V.value)
|
|
373
373
|
return;
|
|
374
374
|
const { status: e } = a;
|
|
375
|
-
de.ENABLE.value === e ? a.status = de.DISABLED.value : a.status = de.ENABLE.value, await
|
|
375
|
+
de.ENABLE.value === e ? a.status = de.DISABLED.value : a.status = de.ENABLE.value, await F(a), await A();
|
|
376
376
|
}, je = async () => {
|
|
377
|
-
await v(d.value), await
|
|
377
|
+
await v(d.value), await A();
|
|
378
378
|
}, Je = async () => {
|
|
379
|
-
await
|
|
379
|
+
await F(d.value), await A();
|
|
380
380
|
}, He = async (a) => {
|
|
381
|
-
await E(a), await
|
|
381
|
+
await E(a), await A();
|
|
382
382
|
}, We = async (a, e) => {
|
|
383
383
|
if (!V.value)
|
|
384
384
|
return;
|
|
@@ -398,9 +398,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
398
398
|
}, se = (a) => {
|
|
399
399
|
var l;
|
|
400
400
|
return (((l = q.value) == null ? void 0 : l.getCheckedKeys(!0)) || []).includes(a.id);
|
|
401
|
-
}, Ce = u(), G = u(), le = u(
|
|
401
|
+
}, Ce = u(), G = u(), le = u(D()), be = (a, e) => {
|
|
402
402
|
var l;
|
|
403
|
-
a.stopPropagation(), G.value = e, e.isPropertyLeaf && (le.value = me(e.dataPermission)), e.isProperty || (le.value =
|
|
403
|
+
a.stopPropagation(), G.value = e, e.isPropertyLeaf && (le.value = me(e.dataPermission)), e.isProperty || (le.value = D("")), (l = Ce.value) == null || l.handleEdit(le.value);
|
|
404
404
|
}, Ye = (a) => {
|
|
405
405
|
const { isProperty: e, isPropertyLeaf: l } = G.value;
|
|
406
406
|
if (l) {
|
|
@@ -408,7 +408,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
408
408
|
return;
|
|
409
409
|
}
|
|
410
410
|
if (!e) {
|
|
411
|
-
|
|
411
|
+
P(G.value, a);
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
414
|
}, Ze = async () => {
|
|
@@ -416,26 +416,26 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
416
416
|
}, et = async () => {
|
|
417
417
|
const a = document.createElement("input");
|
|
418
418
|
a.type = "file", a.accept = ".xlsx", a.onchange = async (e) => {
|
|
419
|
-
var
|
|
420
|
-
const p = (
|
|
419
|
+
var w;
|
|
420
|
+
const p = (w = e.target.files) == null ? void 0 : w[0];
|
|
421
421
|
if (p)
|
|
422
422
|
try {
|
|
423
|
-
|
|
423
|
+
f.setImportLoading(!0), await Ie(p), await A(), f.setImportLoading(!1);
|
|
424
424
|
} catch {
|
|
425
|
-
|
|
425
|
+
f.setImportLoading(!1);
|
|
426
426
|
}
|
|
427
427
|
}, a.click();
|
|
428
428
|
}, tt = async () => {
|
|
429
|
-
|
|
430
|
-
|
|
429
|
+
f.setImportLoading(!0), await Be().finally(() => {
|
|
430
|
+
f.setImportLoading(!1);
|
|
431
431
|
});
|
|
432
432
|
}, at = async () => {
|
|
433
433
|
Re();
|
|
434
434
|
};
|
|
435
435
|
return (a, e) => {
|
|
436
436
|
var we, Pe, Te, Ee;
|
|
437
|
-
const l = n("el-input"), p = n("el-button"),
|
|
438
|
-
return k(),
|
|
437
|
+
const l = n("el-input"), p = n("el-button"), w = n("el-icon"), L = n("el-dropdown-item"), ne = n("el-dropdown-menu"), ot = n("el-dropdown"), O = n("el-table-column"), U = n("el-tag"), st = n("el-table"), lt = n("el-pagination"), Q = n("el-form-item"), j = n("el-col"), re = n("el-row"), nt = n("el-tree"), rt = n("el-form");
|
|
438
|
+
return k(), x(pe, null, [
|
|
439
439
|
o("div", zt, [
|
|
440
440
|
o("div", Ot, [
|
|
441
441
|
o("div", Ut, [
|
|
@@ -448,24 +448,22 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
448
448
|
}, null, 8, ["modelValue"]),
|
|
449
449
|
t(p, {
|
|
450
450
|
type: "primary",
|
|
451
|
-
onClick:
|
|
451
|
+
onClick: z
|
|
452
452
|
}, {
|
|
453
|
-
default: s(() => e[6] || (e[6] = [
|
|
454
|
-
h("查询")
|
|
455
|
-
])),
|
|
456
|
-
_: 1
|
|
457
|
-
__: [6]
|
|
453
|
+
default: s(() => [...e[6] || (e[6] = [
|
|
454
|
+
h("查询", -1)
|
|
455
|
+
])]),
|
|
456
|
+
_: 1
|
|
458
457
|
}),
|
|
459
458
|
t(p, {
|
|
460
459
|
type: "primary",
|
|
461
460
|
plain: "",
|
|
462
461
|
onClick: ze
|
|
463
462
|
}, {
|
|
464
|
-
default: s(() => e[7] || (e[7] = [
|
|
465
|
-
h("重置")
|
|
466
|
-
])),
|
|
467
|
-
_: 1
|
|
468
|
-
__: [7]
|
|
463
|
+
default: s(() => [...e[7] || (e[7] = [
|
|
464
|
+
h("重置", -1)
|
|
465
|
+
])]),
|
|
466
|
+
_: 1
|
|
469
467
|
})
|
|
470
468
|
])
|
|
471
469
|
]),
|
|
@@ -475,34 +473,31 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
475
473
|
onClick: Ze
|
|
476
474
|
}, {
|
|
477
475
|
default: s(() => [
|
|
478
|
-
e[8] || (e[8] = h(" 导入 ")),
|
|
479
|
-
t(
|
|
476
|
+
e[8] || (e[8] = h(" 导入 ", -1)),
|
|
477
|
+
t(w, { class: "el-icon--right" }, {
|
|
480
478
|
default: s(() => [
|
|
481
479
|
t(c(ut))
|
|
482
480
|
]),
|
|
483
481
|
_: 1
|
|
484
482
|
})
|
|
485
483
|
]),
|
|
486
|
-
_: 1
|
|
487
|
-
__: [8]
|
|
484
|
+
_: 1
|
|
488
485
|
}),
|
|
489
486
|
t(ot, null, {
|
|
490
487
|
dropdown: s(() => [
|
|
491
488
|
t(ne, null, {
|
|
492
489
|
default: s(() => [
|
|
493
490
|
t(L, { onClick: at }, {
|
|
494
|
-
default: s(() => e[10] || (e[10] = [
|
|
495
|
-
h("导出模板")
|
|
496
|
-
])),
|
|
497
|
-
_: 1
|
|
498
|
-
__: [10]
|
|
491
|
+
default: s(() => [...e[10] || (e[10] = [
|
|
492
|
+
h("导出模板", -1)
|
|
493
|
+
])]),
|
|
494
|
+
_: 1
|
|
499
495
|
}),
|
|
500
496
|
t(L, { onClick: tt }, {
|
|
501
|
-
default: s(() => e[11] || (e[11] = [
|
|
502
|
-
h("导出数据")
|
|
503
|
-
])),
|
|
504
|
-
_: 1
|
|
505
|
-
__: [11]
|
|
497
|
+
default: s(() => [...e[11] || (e[11] = [
|
|
498
|
+
h("导出数据", -1)
|
|
499
|
+
])]),
|
|
500
|
+
_: 1
|
|
506
501
|
})
|
|
507
502
|
]),
|
|
508
503
|
_: 1
|
|
@@ -511,16 +506,15 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
511
506
|
default: s(() => [
|
|
512
507
|
t(p, { type: "primary" }, {
|
|
513
508
|
default: s(() => [
|
|
514
|
-
e[9] || (e[9] = h(" 导出 ")),
|
|
515
|
-
t(
|
|
509
|
+
e[9] || (e[9] = h(" 导出 ", -1)),
|
|
510
|
+
t(w, { class: "el-icon--right" }, {
|
|
516
511
|
default: s(() => [
|
|
517
512
|
t(c(pt))
|
|
518
513
|
]),
|
|
519
514
|
_: 1
|
|
520
515
|
})
|
|
521
516
|
]),
|
|
522
|
-
_: 1
|
|
523
|
-
__: [9]
|
|
517
|
+
_: 1
|
|
524
518
|
})
|
|
525
519
|
]),
|
|
526
520
|
_: 1
|
|
@@ -537,56 +531,56 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
537
531
|
o("div", Gt, [
|
|
538
532
|
t(st, {
|
|
539
533
|
class: "role-table",
|
|
540
|
-
data:
|
|
534
|
+
data: _e.value,
|
|
541
535
|
"empty-text": ""
|
|
542
536
|
}, {
|
|
543
537
|
default: s(() => [
|
|
544
|
-
t(
|
|
538
|
+
t(O, {
|
|
545
539
|
prop: "name",
|
|
546
540
|
label: "名称",
|
|
547
541
|
align: "center"
|
|
548
542
|
}),
|
|
549
|
-
t(
|
|
543
|
+
t(O, {
|
|
550
544
|
prop: "code",
|
|
551
545
|
label: "编码",
|
|
552
546
|
align: "center"
|
|
553
547
|
}),
|
|
554
|
-
t(
|
|
548
|
+
t(O, {
|
|
555
549
|
prop: "remark",
|
|
556
550
|
label: "备注",
|
|
557
551
|
align: "center"
|
|
558
552
|
}),
|
|
559
|
-
t(
|
|
553
|
+
t(O, {
|
|
560
554
|
prop: "status",
|
|
561
555
|
label: "状态",
|
|
562
556
|
align: "center"
|
|
563
557
|
}, {
|
|
564
558
|
default: s((r) => [
|
|
565
|
-
t(
|
|
559
|
+
t(U, {
|
|
566
560
|
class: "status-tag",
|
|
567
561
|
type: c(Z)(r.row.status),
|
|
568
562
|
title: "点击切换",
|
|
569
563
|
onClick: (i) => Qe(r.row)
|
|
570
564
|
}, {
|
|
571
565
|
default: s(() => [
|
|
572
|
-
h(
|
|
566
|
+
h(N(c(Y)(r.row.status)), 1)
|
|
573
567
|
]),
|
|
574
568
|
_: 2
|
|
575
569
|
}, 1032, ["type", "onClick"])
|
|
576
570
|
]),
|
|
577
571
|
_: 1
|
|
578
572
|
}),
|
|
579
|
-
t(
|
|
573
|
+
t(O, {
|
|
580
574
|
label: "操作",
|
|
581
575
|
align: "center"
|
|
582
576
|
}, {
|
|
583
577
|
default: s((r) => [
|
|
584
578
|
o("div", Qt, [
|
|
585
|
-
(k(!0),
|
|
579
|
+
(k(!0), x(pe, null, De(c(ft), (i) => (k(), x("div", {
|
|
586
580
|
class: "operate-item",
|
|
587
581
|
key: i.value,
|
|
588
582
|
onClick: ct((ie) => We(i, r), ["stop"])
|
|
589
|
-
},
|
|
583
|
+
}, N(i.label), 9, jt))), 128))
|
|
590
584
|
])
|
|
591
585
|
]),
|
|
592
586
|
_: 1
|
|
@@ -613,7 +607,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
613
607
|
o("div", { class: "footer-right" })
|
|
614
608
|
], -1))
|
|
615
609
|
]),
|
|
616
|
-
t(
|
|
610
|
+
t(fe, {
|
|
617
611
|
class: "role-edit-dialog",
|
|
618
612
|
visible: oe.value,
|
|
619
613
|
title: "角色信息",
|
|
@@ -727,7 +721,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
727
721
|
"onUpdate:modelValue": e[5] || (e[5] = (r) => M.value = r)
|
|
728
722
|
}, {
|
|
729
723
|
prefix: s(() => [
|
|
730
|
-
t(
|
|
724
|
+
t(w, { class: "el-input__icon" }, {
|
|
731
725
|
default: s(() => [
|
|
732
726
|
t(c(mt))
|
|
733
727
|
]),
|
|
@@ -753,59 +747,56 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
|
|
|
753
747
|
return [
|
|
754
748
|
o("div", Zt, [
|
|
755
749
|
o("div", ea, [
|
|
756
|
-
o("div", ta,
|
|
750
|
+
o("div", ta, N(r.label), 1)
|
|
757
751
|
]),
|
|
758
|
-
i.isPropertyLeaf && se(i) ? (k(),
|
|
759
|
-
t(
|
|
752
|
+
i.isPropertyLeaf && se(i) ? (k(), x("div", aa, [
|
|
753
|
+
t(U, {
|
|
760
754
|
class: "status-tag",
|
|
761
755
|
type: c(te)(i.status),
|
|
762
756
|
title: "点击切换",
|
|
763
757
|
onClick: (I) => Xe(I, i)
|
|
764
758
|
}, {
|
|
765
759
|
default: s(() => [
|
|
766
|
-
h(
|
|
760
|
+
h(N(c(ee)(i.status)), 1)
|
|
767
761
|
]),
|
|
768
762
|
_: 2
|
|
769
763
|
}, 1032, ["type", "onClick"])
|
|
770
764
|
])) : J("", !0),
|
|
771
|
-
i.isProperty && se(i) && ((ie = i.params) == null ? void 0 : ie.length) > 0 ? (k(),
|
|
772
|
-
t(
|
|
765
|
+
i.isProperty && se(i) && ((ie = i.params) == null ? void 0 : ie.length) > 0 ? (k(), x("div", oa, [
|
|
766
|
+
t(U, {
|
|
773
767
|
class: "status-tag",
|
|
774
768
|
type: "success",
|
|
775
769
|
onClick: (I) => qe(I, i)
|
|
776
770
|
}, {
|
|
777
|
-
default: s(() => e[14] || (e[14] = [
|
|
778
|
-
h(" 参数设置 ")
|
|
779
|
-
])),
|
|
780
|
-
_:
|
|
781
|
-
|
|
782
|
-
}, 1032, ["onClick"])
|
|
771
|
+
default: s(() => [...e[14] || (e[14] = [
|
|
772
|
+
h(" 参数设置 ", -1)
|
|
773
|
+
])]),
|
|
774
|
+
_: 1
|
|
775
|
+
}, 8, ["onClick"])
|
|
783
776
|
])) : J("", !0),
|
|
784
|
-
i.isPropertyLeaf && se(i) && c($e)(i) ? (k(),
|
|
785
|
-
t(
|
|
777
|
+
i.isPropertyLeaf && se(i) && c($e)(i) ? (k(), x("div", sa, [
|
|
778
|
+
t(U, {
|
|
786
779
|
class: "status-tag",
|
|
787
780
|
type: "warning",
|
|
788
781
|
onClick: (I) => be(I, i)
|
|
789
782
|
}, {
|
|
790
|
-
default: s(() => e[15] || (e[15] = [
|
|
791
|
-
h(" 数据权限 ")
|
|
792
|
-
])),
|
|
793
|
-
_:
|
|
794
|
-
|
|
795
|
-
}, 1032, ["onClick"])
|
|
783
|
+
default: s(() => [...e[15] || (e[15] = [
|
|
784
|
+
h(" 数据权限 ", -1)
|
|
785
|
+
])]),
|
|
786
|
+
_: 1
|
|
787
|
+
}, 8, ["onClick"])
|
|
796
788
|
])) : J("", !0),
|
|
797
|
-
r.level == 1 && r.checked && !i.isProperty ? (k(),
|
|
798
|
-
t(
|
|
789
|
+
r.level == 1 && r.checked && !i.isProperty ? (k(), x("div", la, [
|
|
790
|
+
t(U, {
|
|
799
791
|
class: "status-tag",
|
|
800
792
|
type: "warning",
|
|
801
793
|
onClick: (I) => be(I, i)
|
|
802
794
|
}, {
|
|
803
|
-
default: s(() => e[16] || (e[16] = [
|
|
804
|
-
h(" 数据权限重置 ")
|
|
805
|
-
])),
|
|
806
|
-
_:
|
|
807
|
-
|
|
808
|
-
}, 1032, ["onClick"])
|
|
795
|
+
default: s(() => [...e[16] || (e[16] = [
|
|
796
|
+
h(" 数据权限重置 ", -1)
|
|
797
|
+
])]),
|
|
798
|
+
_: 1
|
|
799
|
+
}, 8, ["onClick"])
|
|
809
800
|
])) : J("", !0)
|
|
810
801
|
])
|
|
811
802
|
];
|