ss-component-new 1.3.286 → 1.3.288

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.
Files changed (121) hide show
  1. package/dist/{MTLLoader-Bsogql70.cjs → MTLLoader-CdxYhBAE.cjs} +1 -1
  2. package/dist/{MTLLoader-CdsFGQF-.js → MTLLoader-RsaYZtZ_.js} +1 -1
  3. package/dist/{OrbitControls-DWoCUvy4.cjs → OrbitControls-BNTHZN2P.cjs} +1 -1
  4. package/dist/{OrbitControls-C2_UxiUE.js → OrbitControls-D4mDZcDl.js} +1 -1
  5. package/dist/{URDFLoader-BsZKAKIo.cjs → URDFLoader-B56WRl4z.cjs} +1 -1
  6. package/dist/{URDFLoader-Dz9DW7vE.js → URDFLoader-BPNyxykV.js} +2 -2
  7. package/dist/{animationData-DnGVHraX.js → animationData-D4Q3av_t.js} +3 -3
  8. package/dist/{animationData-oN-nuDkg.cjs → animationData-DiyxzUT8.cjs} +1 -1
  9. package/dist/{array-BkvdBkjB.cjs → array-DHHdihdS.cjs} +1 -1
  10. package/dist/{array-MoA3Ri4g.js → array-jbOhhf4v.js} +4 -4
  11. package/dist/{clone-fE05POOC.js → clone-BrrxU6_J.js} +1 -1
  12. package/dist/clone-Dn6v3xp6.cjs +1 -0
  13. package/dist/{dayjs.min-D4NpYk_n.cjs → dayjs.min-DRU3LNcy.cjs} +1 -1
  14. package/dist/{dayjs.min-Dnlx1ZBx.js → dayjs.min-Dx_LN6Bu.js} +1 -1
  15. package/dist/{iconfont-DOzv_3Zg.js → iconfont-DkmQztG1.js} +2 -2
  16. package/dist/{iconfont-Dmx62o41.cjs → iconfont-Dq-DsQsx.cjs} +1 -1
  17. package/dist/{index-C2WU_Ec1.js → index--PidpjSy.js} +2 -2
  18. package/dist/{index-sIKBEcpI.js → index--ZVD8xbU.js} +16 -26
  19. package/dist/{index-BYz3b7aZ.js → index-1rE9nGn_.js} +2 -2
  20. package/dist/{index-2xd8WpWE.js → index-B6b9Lr8M.js} +3 -3
  21. package/dist/{index-B4tCIr_z.cjs → index-BOHy6XZd.cjs} +1 -1
  22. package/dist/index-BVOdzNfr.js +9371 -0
  23. package/dist/{index-DyzZBKOp.cjs → index-BbZoRc6B.cjs} +1 -1
  24. package/dist/index-BdyYMxx4.cjs +1 -0
  25. package/dist/{index-BZ-4my22.cjs → index-Big-I9pF.cjs} +1 -1
  26. package/dist/index-BlAISTfa.cjs +1 -0
  27. package/dist/index-Bs0qreV1.cjs +1 -0
  28. package/dist/{index-Xa-cp7US.js → index-C-z63B9f.js} +9 -9
  29. package/dist/{index-B-U8MdmI.cjs → index-C0A0y_84.cjs} +1 -1
  30. package/dist/{index-DsoXkrYI.js → index-C1dVsNLG.js} +1 -1
  31. package/dist/{index-D1z8j4eV.js → index-C7-Idrnv.js} +1 -1
  32. package/dist/{index-CkgTi0gb.js → index-C9smrIfQ.js} +6 -6
  33. package/dist/{index-jkznII6r.cjs → index-CAcP6bx_.cjs} +1 -1
  34. package/dist/{index-BsOgskIp.js → index-CF4yVz1d.js} +2 -2
  35. package/dist/{index-CTwVZFcK.cjs → index-CQcXApCn.cjs} +1 -1
  36. package/dist/{index-BFrBIvIE.js → index-CTtBV5bC.js} +2 -2
  37. package/dist/{index-BECHZzKg.cjs → index-CUJ_cdPT.cjs} +1 -1
  38. package/dist/{index-BQDdBzrY.js → index-CV8QlXGI.js} +1 -1
  39. package/dist/{index-Yj1Oc3ZA.cjs → index-CXgZFuTt.cjs} +1 -1
  40. package/dist/{index-Dqh2QdZw.js → index-Cbb4eaBp.js} +3 -3
  41. package/dist/{index-_15_kR9u.cjs → index-CdrBTtcu.cjs} +1 -1
  42. package/dist/{index-C4-xNXhM.js → index-Cg7Mpfpj.js} +1 -1
  43. package/dist/{index-Cm9kN1Xu.cjs → index-CiZrZ3Xv.cjs} +1 -1
  44. package/dist/index-CliKgPns.cjs +1 -0
  45. package/dist/{index-BeOgfY4E.js → index-Cml5XnKL.js} +6 -6
  46. package/dist/{index-BRNEBbrZ.cjs → index-CuHxF23O.cjs} +1 -1
  47. package/dist/index-Cxv5DW4K.cjs +2 -0
  48. package/dist/{index-CU99CuPT.cjs → index-D1NTpDPS.cjs} +1 -1
  49. package/dist/{index-C4MvqsS3.js → index-D21dwfqO.js} +1 -1
  50. package/dist/{index-sE0VWxJ7.cjs → index-D3Lvzu_0.cjs} +1 -1
  51. package/dist/{index-BhPO2DCU.cjs → index-DAwnZFmG.cjs} +1 -1
  52. package/dist/{index-DO-1hTj2.cjs → index-DLN6R2tJ.cjs} +1 -1
  53. package/dist/{index-CnTP5O4m.js → index-DSOG6EEa.js} +4 -4
  54. package/dist/{index-DGBPHiex.cjs → index-DTiolIgS.cjs} +1 -1
  55. package/dist/index-DTsHI5xQ.js +30 -0
  56. package/dist/{index-0KXR_hwR.cjs → index-DUAnjHxe.cjs} +1 -1
  57. package/dist/{index-CAZZzLQo.cjs → index-DXWN-UJr.cjs} +1 -1
  58. package/dist/{index-Dz6vpfgy.js → index-DXjgumn5.js} +3 -3
  59. package/dist/{index-B6ql3Xm0.js → index-Df8bxCwR.js} +29 -29
  60. package/dist/{index-CJc4ev1k.cjs → index-Dm_u-SjZ.cjs} +1 -1
  61. package/dist/index-Drj3FBfd.js +1058 -0
  62. package/dist/{index-FA5lLYx0.js → index-H_NM-ZF-.js} +2 -2
  63. package/dist/{index-CbGFrsD8.cjs → index-NnqT8oEL.cjs} +1 -1
  64. package/dist/{index-Baf8WN5y.js → index-QG4F5kTH.js} +2 -2
  65. package/dist/{index-3-c8Ohjp.js → index-RSaGZhb3.js} +2 -2
  66. package/dist/{index-DLQ3bwtv.cjs → index-WTaP_KDd.cjs} +1 -1
  67. package/dist/index-cFt1QbzL.js +308 -0
  68. package/dist/{index-BHelG7C7.js → index-csCFl4vZ.js} +7531 -7517
  69. package/dist/index-gFBtUdzh.js +494 -0
  70. package/dist/{index-V_-cMWsl.cjs → index-mHmXlK2R.cjs} +1 -1
  71. package/dist/{index-DiBR8QS7.js → index-tjDz6s0y.js} +1 -1
  72. package/dist/{index-BIZJ7GKJ.js → index-uBjJS7MI.js} +4 -4
  73. package/dist/index-uSfvbTe3.cjs +25 -0
  74. package/dist/index-vbxWL2yo.cjs +1 -0
  75. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-B6Se_JzC.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DBQ_-V1_.js} +1850 -1845
  76. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-C9SIThm3.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DpyDtD61.cjs} +62 -62
  77. package/dist/{main-CBC6ubO_.cjs → main-CJWCDw-y.cjs} +1 -1
  78. package/dist/{main-C7oFJi1Q.js → main-DQB2eKuh.js} +4 -4
  79. package/dist/{menu-BxHhjSbR.js → menu-CtG1loFf.js} +109 -113
  80. package/dist/{menu-Dl3Jfk-c.cjs → menu-Hdw0L-Y2.cjs} +6 -6
  81. package/dist/{menuIndex-C9SCNvTX.js → menuIndex-DmS5cMwB.js} +1 -1
  82. package/dist/{menuIndex-_ho29ItI.cjs → menuIndex-DqY0uteo.cjs} +1 -1
  83. package/dist/obj/model.mtl +42 -0
  84. package/dist/obj/model.obj +26110 -0
  85. package/dist/ss-component.cjs +1 -1
  86. package/dist/ss-component.css +1 -1
  87. package/dist/ss-component.js +12 -12
  88. package/dist/ss-component2.cjs +1 -1
  89. package/dist/ss-component2.js +12 -12
  90. package/dist/{threeModel-NJj9qUh_.js → threeModel-BV7PfpCu.js} +4 -4
  91. package/dist/{threeModel-BzGOMEcf.cjs → threeModel-BY867mnV.cjs} +1 -1
  92. package/dist/{threePreview-B5IIrseu.js → threePreview-BwElOyqr.js} +4 -4
  93. package/dist/{threePreview-CAyxqtke.cjs → threePreview-CWRtmSvh.cjs} +1 -1
  94. package/dist/{threeSceneView-nFy-ZMDh.js → threeSceneView-BytYkSfT.js} +14 -14
  95. package/dist/{threeSceneView-DmyZ6JVk.cjs → threeSceneView-ff0CsUxF.cjs} +1 -1
  96. package/dist/{threeSceneViewForCPMPIP-5AFgwENl.js → threeSceneViewForCPMPIP-Bp2-YrZL.js} +8 -8
  97. package/dist/{threeSceneViewForCPMPIP-CagUxEZ7.cjs → threeSceneViewForCPMPIP-DDWR6FSl.cjs} +1 -1
  98. package/dist/{threeTrackPathView-DzteP02y.js → threeTrackPathView-BckFDqUs.js} +4 -4
  99. package/dist/{threeTrackPathView-Dmry9hlD.cjs → threeTrackPathView-CamXHHnK.cjs} +1 -1
  100. package/dist/{threeViewerHost-B5IEEj6S.js → threeViewerHost-5ThpQYP3.js} +3 -3
  101. package/dist/{threeViewerHost-Dtrx4MAi.cjs → threeViewerHost-Cuo7oQGW.cjs} +1 -1
  102. package/dist/{urdfTree-DwRiqRR9.js → urdfTree-B6GL3kgV.js} +1 -1
  103. package/dist/{urdfTree-C62b4s3t.cjs → urdfTree-DDQw6tEb.cjs} +1 -1
  104. package/dist/{workpieceTreePanel-5IQMEHLR.cjs → workpieceTreePanel-B6AVU13A.cjs} +1 -1
  105. package/dist/{workpieceTreePanel-B-ueTwVy.js → workpieceTreePanel-BvO881iH.js} +4 -4
  106. package/package.json +1 -1
  107. package/public/obj/model.mtl +42 -0
  108. package/public/obj/model.obj +26110 -0
  109. package/dist/clone-BeaG_uby.cjs +0 -1
  110. package/dist/index-A3W3n1yI.js +0 -9393
  111. package/dist/index-B0Ay1p_8.cjs +0 -1
  112. package/dist/index-Bq07pl6z.js +0 -55
  113. package/dist/index-CTJIAikw.cjs +0 -1
  114. package/dist/index-CdbYspWB.js +0 -494
  115. package/dist/index-D7ANep-L.cjs +0 -1
  116. package/dist/index-DEUqbjst.js +0 -448
  117. package/dist/index-DLHRv2Jb.cjs +0 -25
  118. package/dist/index-DRfDSXeI.js +0 -875
  119. package/dist/index-QYUIqsbh.cjs +0 -1
  120. package/dist/index-cHplSoU4.cjs +0 -2
  121. package/dist/index-uzigFRcN.cjs +0 -1
@@ -0,0 +1,1058 @@
1
+ import { defineComponent as te, ref as p, computed as $e, resolveComponent as d, createElementBlock as T, openBlock as y, createElementVNode as a, createVNode as e, withCtx as o, toDisplayString as F, createBlock as _e, reactive as Be, Fragment as fe, renderList as Ie, unref as c, createTextVNode as g, onMounted as rt, withModifiers as nt, createCommentVNode as q } from "vue";
2
+ import { u as it, g as dt } from "./request-CoGtW0Ux.js";
3
+ import { u as Re, o as ct, s as pe, f as me } from "./index-Cbb4eaBp.js";
4
+ import "./dayjs.min-Dx_LN6Bu.js";
5
+ import { q as Ae, r as ut, u as pt, p as mt } from "./menu-CtG1loFf.js";
6
+ import { s as ee } from "./index-CnjGqJZS.js";
7
+ import "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DBQ_-V1_.js";
8
+ import "./index-csCFl4vZ.js";
9
+ import "./index-BHtNKL1L.js";
10
+ import { _ as S } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
11
+ import "./index-RSaGZhb3.js";
12
+ import "./index-uBjJS7MI.js";
13
+ import "./index-Cg7Mpfpj.js";
14
+ import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ import { c as ve } from "./clone-BrrxU6_J.js";
16
+ const _t = { class: "param-auth" }, ft = { class: "body" }, vt = { class: "node-content-wrapper" }, gt = { class: "node-label-wrapper" }, yt = { class: "node-label" }, ht = /* @__PURE__ */ te({
17
+ __name: "index",
18
+ props: {
19
+ params: {},
20
+ checkedParams: {}
21
+ },
22
+ setup(j, { expose: L }) {
23
+ const _ = j, $ = {
24
+ value: "uniqueKey",
25
+ label: "label",
26
+ children: "children",
27
+ class: (C) => {
28
+ }
29
+ }, { buildParamAuthTree: E } = Re(), h = p(), B = $e(() => E(_.params)), m = $e(() => _.checkedParams.map((C) => `${C.id}_${C.prop}`));
30
+ return L({ getCheckedParams: () => {
31
+ var f;
32
+ return ((f = h.value) == null ? void 0 : f.getCheckedNodes()) || [];
33
+ } }), (C, f) => {
34
+ const w = d("el-tree");
35
+ return y(), T("div", _t, [
36
+ f[0] || (f[0] = a("div", { class: "header" }, [
37
+ a("div", { class: "header-left" }),
38
+ a("div", { class: "header-right" })
39
+ ], -1)),
40
+ a("div", ft, [
41
+ e(w, {
42
+ ref_key: "paramTreeRef",
43
+ ref: h,
44
+ class: "param-tree",
45
+ data: B.value,
46
+ props: $,
47
+ "node-key": "uniqueKey",
48
+ "show-checkbox": "",
49
+ "default-expanded-keys": m.value,
50
+ "default-checked-keys": m.value,
51
+ height: "100%"
52
+ }, {
53
+ default: o(({ node: v, data: M }) => [
54
+ a("div", vt, [
55
+ a("div", gt, [
56
+ a("div", yt, F(v.label), 1)
57
+ ])
58
+ ])
59
+ ]),
60
+ _: 1
61
+ }, 8, ["data", "default-expanded-keys", "default-checked-keys"])
62
+ ]),
63
+ f[1] || (f[1] = a("div", { class: "footer" }, [
64
+ a("div", { class: "footer-left" }),
65
+ a("div", { class: "footer-right" })
66
+ ], -1))
67
+ ]);
68
+ };
69
+ }
70
+ }), kt = /* @__PURE__ */ ae(ht, [["__scopeId", "data-v-b7ce5c18"]]), bt = { class: "param-wrapper" }, Ct = { class: "param-body" }, wt = { class: "role-form-wrapper" }, Pt = { class: "edit-footer" }, Tt = { class: "footer-right" }, Vt = /* @__PURE__ */ te({
71
+ __name: "index",
72
+ props: {
73
+ params: {},
74
+ checkedParams: {}
75
+ },
76
+ emits: ["updateParams"],
77
+ setup(j, { expose: L, emit: _ }) {
78
+ const $ = _, E = p(), h = p(!1), B = () => {
79
+ h.value = !0;
80
+ }, m = () => {
81
+ h.value = !1;
82
+ }, b = () => {
83
+ m();
84
+ }, C = () => {
85
+ const w = f();
86
+ $("updateParams", w), m();
87
+ }, f = () => {
88
+ var v;
89
+ return ((v = E.value) == null ? void 0 : v.getCheckedParams()) || [];
90
+ };
91
+ return L({ openEditDialog: B }), (w, v) => (y(), _e(ee, {
92
+ class: "param-edit-dialog",
93
+ visible: h.value,
94
+ title: "参数权限",
95
+ onBeforeDestroy: m,
96
+ showClose: !0,
97
+ closeOnClickModal: !1,
98
+ closeOnPressEscape: !1,
99
+ modalClass: "role-edit-modal",
100
+ alignCenter: !0,
101
+ appendToBody: !1
102
+ }, {
103
+ default: o(() => [
104
+ a("div", bt, [
105
+ v[0] || (v[0] = a("div", { class: "param-header" }, [
106
+ a("div", { class: "header-left" }),
107
+ a("div", { class: "header-right" })
108
+ ], -1)),
109
+ a("div", Ct, [
110
+ a("div", wt, [
111
+ e(kt, {
112
+ ref_key: "paramAuthTree",
113
+ ref: E,
114
+ params: w.params,
115
+ "checked-params": w.checkedParams
116
+ }, null, 8, ["params", "checked-params"])
117
+ ])
118
+ ])
119
+ ])
120
+ ]),
121
+ footer: o(() => [
122
+ a("div", Pt, [
123
+ v[1] || (v[1] = a("div", { class: "footer-left" }, null, -1)),
124
+ a("div", Tt, [
125
+ e(S, {
126
+ class: "cancel",
127
+ emptyColor: !0,
128
+ onClickTrigger: b,
129
+ modelValue: "取消",
130
+ buttonType: "info"
131
+ }),
132
+ e(S, {
133
+ class: "confirm",
134
+ emptyColor: !0,
135
+ onClickTrigger: C,
136
+ modelValue: "确定",
137
+ buttonType: "primary"
138
+ })
139
+ ])
140
+ ])
141
+ ]),
142
+ _: 1
143
+ }, 8, ["visible"]));
144
+ }
145
+ }), Et = /* @__PURE__ */ ae(Vt, [["__scopeId", "data-v-875ed466"]]), Dt = { class: "scope-management-wrapper" }, xt = { class: "scope-management-body" }, St = { class: "scope-form-wrapper" }, Lt = { class: "edit-footer" }, $t = { class: "footer-right" }, Bt = /* @__PURE__ */ te({
146
+ __name: "index",
147
+ emits: ["confirm"],
148
+ setup(j, { expose: L, emit: _ }) {
149
+ const $ = _, { initDepartmentScope: E } = Ae(), h = p(), B = Be({
150
+ departmentScope: [
151
+ { required: !0, message: "请输入角色名称", trigger: "change" }
152
+ ]
153
+ }), m = p(E()), b = p(!1), C = () => {
154
+ b.value = !0;
155
+ }, f = () => {
156
+ b.value = !1;
157
+ }, w = async (D) => {
158
+ m.value = ve(D), C();
159
+ }, v = () => {
160
+ m.value = E(), f();
161
+ }, M = async () => {
162
+ var D, k;
163
+ await ((k = (D = h.value) == null ? void 0 : D.validate) == null ? void 0 : k.call(D)), $("confirm", ve(m.value)), v();
164
+ };
165
+ return L({ handleEdit: w }), (D, k) => {
166
+ const oe = d("el-radio"), le = d("el-radio-group"), se = d("el-form-item"), H = d("el-col"), J = d("el-row"), re = d("el-form");
167
+ return y(), _e(ee, {
168
+ class: "scope-edit-dialog",
169
+ visible: b.value,
170
+ title: "数据权限",
171
+ onBeforeDestroy: f,
172
+ showClose: !0,
173
+ closeOnClickModal: !1,
174
+ closeOnPressEscape: !1,
175
+ modalClass: "scope-edit-modal",
176
+ alignCenter: !0,
177
+ appendToBody: !1
178
+ }, {
179
+ default: o(() => [
180
+ a("div", Dt, [
181
+ k[1] || (k[1] = a("div", { class: "scope-management-header" }, [
182
+ a("div", { class: "header-left" }),
183
+ a("div", { class: "header-right" })
184
+ ], -1)),
185
+ a("div", xt, [
186
+ a("div", St, [
187
+ e(re, {
188
+ class: "scope-edit-form",
189
+ ref_key: "scopeFormRef",
190
+ ref: h,
191
+ model: m.value,
192
+ rules: B
193
+ }, {
194
+ default: o(() => [
195
+ e(J, { gutter: 20 }, {
196
+ default: o(() => [
197
+ e(H, { span: 24 }, {
198
+ default: o(() => [
199
+ e(se, {
200
+ prop: "departmentScope",
201
+ label: "部门权限范围",
202
+ "label-position": "top"
203
+ }, {
204
+ default: o(() => [
205
+ e(le, {
206
+ modelValue: m.value.departmentScope,
207
+ "onUpdate:modelValue": k[0] || (k[0] = (x) => m.value.departmentScope = x)
208
+ }, {
209
+ default: o(() => [
210
+ (y(!0), T(fe, null, Ie(c(ut), (x) => (y(), _e(oe, {
211
+ key: x.value,
212
+ value: x.value
213
+ }, {
214
+ default: o(() => [
215
+ g(F(x.label), 1)
216
+ ]),
217
+ _: 2
218
+ }, 1032, ["value"]))), 128))
219
+ ]),
220
+ _: 1
221
+ }, 8, ["modelValue"])
222
+ ]),
223
+ _: 1
224
+ })
225
+ ]),
226
+ _: 1
227
+ })
228
+ ]),
229
+ _: 1
230
+ })
231
+ ]),
232
+ _: 1
233
+ }, 8, ["model", "rules"])
234
+ ])
235
+ ])
236
+ ])
237
+ ]),
238
+ footer: o(() => [
239
+ a("div", Lt, [
240
+ k[2] || (k[2] = a("div", { class: "footer-left" }, null, -1)),
241
+ a("div", $t, [
242
+ e(S, {
243
+ class: "cancel",
244
+ emptyColor: !0,
245
+ onClickTrigger: v,
246
+ modelValue: "取消",
247
+ buttonType: "info"
248
+ }),
249
+ e(S, {
250
+ class: "confirm",
251
+ emptyColor: !0,
252
+ onClickTrigger: M,
253
+ modelValue: "确定",
254
+ buttonType: "primary"
255
+ })
256
+ ])
257
+ ])
258
+ ]),
259
+ _: 1
260
+ }, 8, ["visible"]);
261
+ };
262
+ }
263
+ }), It = /* @__PURE__ */ ae(Bt, [["__scopeId", "data-v-40d37c72"]]), Rt = { class: "role-management" }, At = { class: "header" }, Ft = { class: "header-left" }, Nt = { class: "query-wrapper" }, Ot = { class: "header-right" }, Ut = { class: "body" }, zt = { class: "role-table-wrapper" }, qt = { class: "operate-list" }, Mt = ["onClick"], Kt = { class: "pagination-wrapper" }, Gt = { class: "role-management-wrapper" }, Qt = { class: "role-management-body" }, jt = { class: "role-form-wrapper" }, Ht = { class: "node-content-wrapper" }, Jt = { class: "node-label-wrapper" }, Wt = { class: "node-label" }, Xt = {
264
+ key: 0,
265
+ class: "status-tag"
266
+ }, Yt = {
267
+ key: 1,
268
+ class: "status-tag"
269
+ }, Zt = { class: "edit-footer" }, ea = { class: "footer-right" }, ta = { class: "role-management-wrapper" }, aa = { class: "role-management-body" }, oa = { class: "role-form-wrapper" }, la = { class: "node-content-wrapper" }, sa = { class: "node-label-wrapper" }, ra = { class: "node-label" }, na = {
270
+ key: 0,
271
+ class: "status-tag"
272
+ }, ia = {
273
+ key: 1,
274
+ class: "status-tag"
275
+ }, da = {
276
+ key: 2,
277
+ class: "status-tag"
278
+ }, ca = {
279
+ key: 3,
280
+ class: "status-tag"
281
+ }, ua = { class: "edit-footer" }, pa = { class: "footer-right" }, ma = /* @__PURE__ */ te({
282
+ __name: "index",
283
+ setup(j) {
284
+ const L = {
285
+ value: "id",
286
+ label: "label",
287
+ children: "children"
288
+ // class: (data: TreeNode) => {
289
+ // const { isProperty } = data
290
+ // return isProperty ? 'property-node' : 'unit-node'
291
+ // }
292
+ }, _ = pt(mt), { initDepartmentScope: $, recAndInitNodeDataPermission: E } = Ae(), {
293
+ initRoleItem: h,
294
+ queryInfo: B,
295
+ resetQuery: m,
296
+ pageInfo: b,
297
+ setPageNum: C,
298
+ setPageSize: f,
299
+ initGetByPage: w,
300
+ // initRoleList,
301
+ initCreate: v,
302
+ initUpdate: M,
303
+ initDelete: D,
304
+ propertyAuthTree: k,
305
+ initPropertyAuthTree: oe,
306
+ getStatusLabelByValue: le,
307
+ getStatusTagByValue: se,
308
+ getFeatureStatusLabelByValue: H,
309
+ getFeatureStatusTagByValue: J,
310
+ initRoleConfig: re,
311
+ hasRoleEditAuth: x,
312
+ isTableFeature: Fe,
313
+ initImport: Ne,
314
+ initExport: Oe,
315
+ exportTemplate: Ue
316
+ } = Re(), ge = p([]), ze = async () => {
317
+ const l = await w(), { roleData: t = [] } = l;
318
+ return t;
319
+ }, K = async () => {
320
+ ge.value = await ze();
321
+ }, qe = (l) => {
322
+ C(l), K();
323
+ }, Me = (l) => {
324
+ f(l), K();
325
+ }, Ke = async () => {
326
+ m(), _.setImportLoading(!0), await K().finally(() => {
327
+ _.setImportLoading(!1);
328
+ });
329
+ }, O = async () => {
330
+ await K(), await re();
331
+ };
332
+ rt(() => {
333
+ O();
334
+ });
335
+ const ne = p(), ye = Be({
336
+ name: [
337
+ { required: !0, message: "请输入角色名称", trigger: "blur" }
338
+ ]
339
+ }), W = p(), n = p(h()), he = p([]), X = p(), ke = (l, t) => {
340
+ var s;
341
+ l.stopPropagation(), he.value = t.params || [], (s = X == null ? void 0 : X.value) == null || s.openEditDialog();
342
+ }, Ge = (l) => {
343
+ var u;
344
+ const t = (u = l == null ? void 0 : l[0]) == null ? void 0 : u.id, s = n.value.params.filter((V) => V.id !== t);
345
+ n.value.params = [...s, ...l];
346
+ }, Y = p(!1), Qe = () => {
347
+ Y.value = !0;
348
+ }, ie = () => {
349
+ Y.value = !1;
350
+ }, be = async (l) => {
351
+ if (!x.value)
352
+ return;
353
+ const t = [];
354
+ l && t.push(l.role_id), await oe(t);
355
+ let s = {};
356
+ l != null && l.role_id || (s = {
357
+ checkAll: !0,
358
+ tree: k.value
359
+ }), n.value = h(l, s), Qe();
360
+ }, de = () => {
361
+ n.value = h(), ie();
362
+ }, Ce = async () => {
363
+ var s, u, V;
364
+ await ((u = (s = ne.value) == null ? void 0 : s.validate) == null ? void 0 : u.call(s));
365
+ let l = ((V = W.value) == null ? void 0 : V.getCheckedNodes()) || [];
366
+ l = l.filter((I) => I.isPropertyLeaf), l = l.map((I) => {
367
+ const { departmentScope: ue } = I.dataPermission || {};
368
+ return {
369
+ ...I,
370
+ department_scope: ue
371
+ };
372
+ }), n.value.main_ids = l;
373
+ const { role_id: t } = n.value;
374
+ t ? await Je() : await He(), de();
375
+ }, je = async (l) => {
376
+ if (!x.value)
377
+ return;
378
+ const { status: t } = l;
379
+ pe.ENABLE.value === t ? l.status = pe.DISABLED.value : l.status = pe.ENABLE.value, await M(l), await O();
380
+ }, He = async () => {
381
+ await v(n.value), await O();
382
+ }, Je = async () => {
383
+ await M(n.value), await O();
384
+ }, We = async (l) => {
385
+ await D(l), await O();
386
+ }, Xe = async (l, t) => {
387
+ if (!x.value)
388
+ return;
389
+ const { value: s } = l, u = t.row;
390
+ if (s === "edit") {
391
+ be(u);
392
+ return;
393
+ }
394
+ if (s === "delete") {
395
+ await We(u);
396
+ return;
397
+ }
398
+ }, we = async (l, t) => {
399
+ l.stopPropagation();
400
+ const { status: s } = t;
401
+ me.EDITABLE.value === s ? t.status = me.DISABLED.value : t.status = me.EDITABLE.value;
402
+ }, G = (l) => {
403
+ var s;
404
+ return (((s = W.value) == null ? void 0 : s.getCheckedKeys(!0)) || []).includes(l.id);
405
+ }, Pe = p(), Z = p(), ce = p($()), Te = (l, t) => {
406
+ var s;
407
+ l.stopPropagation(), Z.value = t, t.isPropertyLeaf && (ce.value = ve(t.dataPermission)), t.isProperty || (ce.value = $("")), (s = Pe.value) == null || s.handleEdit(ce.value);
408
+ }, Ye = (l) => {
409
+ const { isProperty: t, isPropertyLeaf: s } = Z.value;
410
+ if (s) {
411
+ Z.value.dataPermission = l;
412
+ return;
413
+ }
414
+ if (!t) {
415
+ E(Z.value, l);
416
+ return;
417
+ }
418
+ }, Ze = async () => {
419
+ await et();
420
+ }, et = async () => {
421
+ const l = document.createElement("input");
422
+ l.type = "file", l.accept = ".xlsx", l.onchange = async (t) => {
423
+ var V;
424
+ const u = (V = t.target.files) == null ? void 0 : V[0];
425
+ if (u)
426
+ try {
427
+ _.setImportLoading(!0), await Ne(u), await O(), _.setImportLoading(!1);
428
+ } catch {
429
+ _.setImportLoading(!1);
430
+ }
431
+ }, l.click();
432
+ }, tt = async () => {
433
+ _.setImportLoading(!0), await Oe().finally(() => {
434
+ _.setImportLoading(!1);
435
+ });
436
+ }, at = async () => {
437
+ Ue();
438
+ };
439
+ return (l, t) => {
440
+ var De, xe, Se, Le;
441
+ const s = d("el-input"), u = d("el-button"), V = d("el-icon"), I = d("el-dropdown-item"), ue = d("el-dropdown-menu"), ot = d("el-dropdown"), Q = d("el-table-column"), N = d("el-tag"), lt = d("el-table"), st = d("el-pagination"), R = d("el-form-item"), A = d("el-col"), U = d("el-row"), Ve = d("el-tree"), Ee = d("el-form");
442
+ return y(), T(fe, null, [
443
+ a("div", Rt, [
444
+ a("div", At, [
445
+ a("div", Ft, [
446
+ a("div", Nt, [
447
+ e(s, {
448
+ modelValue: c(B).name,
449
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => c(B).name = i),
450
+ style: { width: "240px" },
451
+ placeholder: "请输入名称"
452
+ }, null, 8, ["modelValue"]),
453
+ e(u, {
454
+ type: "primary",
455
+ onClick: K
456
+ }, {
457
+ default: o(() => t[8] || (t[8] = [
458
+ g("查询")
459
+ ])),
460
+ _: 1,
461
+ __: [8]
462
+ }),
463
+ e(u, {
464
+ type: "primary",
465
+ plain: "",
466
+ onClick: Ke
467
+ }, {
468
+ default: o(() => t[9] || (t[9] = [
469
+ g("重置")
470
+ ])),
471
+ _: 1,
472
+ __: [9]
473
+ })
474
+ ])
475
+ ]),
476
+ a("div", Ot, [
477
+ e(u, {
478
+ type: "primary",
479
+ onClick: Ze
480
+ }, {
481
+ default: o(() => [
482
+ t[10] || (t[10] = g(" 导入 ")),
483
+ e(V, { class: "el-icon--right" }, {
484
+ default: o(() => [
485
+ e(c(it))
486
+ ]),
487
+ _: 1
488
+ })
489
+ ]),
490
+ _: 1,
491
+ __: [10]
492
+ }),
493
+ e(ot, null, {
494
+ dropdown: o(() => [
495
+ e(ue, null, {
496
+ default: o(() => [
497
+ e(I, { onClick: at }, {
498
+ default: o(() => t[12] || (t[12] = [
499
+ g("导出模板")
500
+ ])),
501
+ _: 1,
502
+ __: [12]
503
+ }),
504
+ e(I, { onClick: tt }, {
505
+ default: o(() => t[13] || (t[13] = [
506
+ g("导出数据")
507
+ ])),
508
+ _: 1,
509
+ __: [13]
510
+ })
511
+ ]),
512
+ _: 1
513
+ })
514
+ ]),
515
+ default: o(() => [
516
+ e(u, { type: "primary" }, {
517
+ default: o(() => [
518
+ t[11] || (t[11] = g(" 导出 ")),
519
+ e(V, { class: "el-icon--right" }, {
520
+ default: o(() => [
521
+ e(c(dt))
522
+ ]),
523
+ _: 1
524
+ })
525
+ ]),
526
+ _: 1,
527
+ __: [11]
528
+ })
529
+ ]),
530
+ _: 1
531
+ }),
532
+ e(S, {
533
+ emptyColor: !0,
534
+ onClickTrigger: t[1] || (t[1] = (i) => be()),
535
+ modelValue: "创建角色",
536
+ buttonType: "primary"
537
+ })
538
+ ])
539
+ ]),
540
+ a("div", Ut, [
541
+ a("div", zt, [
542
+ e(lt, {
543
+ class: "role-table",
544
+ data: ge.value,
545
+ "empty-text": ""
546
+ }, {
547
+ default: o(() => [
548
+ e(Q, {
549
+ prop: "name",
550
+ label: "名称",
551
+ align: "center"
552
+ }),
553
+ e(Q, {
554
+ prop: "code",
555
+ label: "编码",
556
+ align: "center"
557
+ }),
558
+ e(Q, {
559
+ prop: "remark",
560
+ label: "备注",
561
+ align: "center"
562
+ }),
563
+ e(Q, {
564
+ prop: "status",
565
+ label: "状态",
566
+ align: "center"
567
+ }, {
568
+ default: o((i) => [
569
+ e(N, {
570
+ class: "status-tag",
571
+ type: c(se)(i.row.status),
572
+ title: "点击切换",
573
+ onClick: (r) => je(i.row)
574
+ }, {
575
+ default: o(() => [
576
+ g(F(c(le)(i.row.status)), 1)
577
+ ]),
578
+ _: 2
579
+ }, 1032, ["type", "onClick"])
580
+ ]),
581
+ _: 1
582
+ }),
583
+ e(Q, {
584
+ label: "操作",
585
+ align: "center"
586
+ }, {
587
+ default: o((i) => [
588
+ a("div", qt, [
589
+ (y(!0), T(fe, null, Ie(c(ct), (r) => (y(), T("div", {
590
+ class: "operate-item",
591
+ key: r.value,
592
+ onClick: nt((z) => Xe(r, i), ["stop"])
593
+ }, F(r.label), 9, Mt))), 128))
594
+ ])
595
+ ]),
596
+ _: 1
597
+ })
598
+ ]),
599
+ _: 1
600
+ }, 8, ["data"])
601
+ ]),
602
+ a("div", Kt, [
603
+ t[14] || (t[14] = a("div", null, null, -1)),
604
+ e(st, {
605
+ onSizeChange: Me,
606
+ onCurrentChange: qe,
607
+ "current-page": (De = c(b)) == null ? void 0 : De.pageNum,
608
+ "page-sizes": (xe = c(b)) == null ? void 0 : xe.pageSizes,
609
+ "page-size": ((Se = c(b)) == null ? void 0 : Se.pageSize) ?? 10,
610
+ layout: "total, sizes, prev, pager, next, jumper",
611
+ total: ((Le = c(b)) == null ? void 0 : Le.total) ?? 0
612
+ }, null, 8, ["current-page", "page-sizes", "page-size", "total"])
613
+ ])
614
+ ]),
615
+ t[15] || (t[15] = a("div", { class: "footer" }, [
616
+ a("div", { class: "footer-left" }),
617
+ a("div", { class: "footer-right" })
618
+ ], -1))
619
+ ]),
620
+ e(ee, {
621
+ class: "role-edit-dialog",
622
+ visible: Y.value,
623
+ title: "角色信息",
624
+ onBeforeDestroy: ie,
625
+ showClose: !0,
626
+ closeOnClickModal: !1,
627
+ closeOnPressEscape: !1,
628
+ modalClass: "role-edit-modal",
629
+ alignCenter: !0,
630
+ appendToBody: !1
631
+ }, {
632
+ default: o(() => [
633
+ a("div", Gt, [
634
+ t[17] || (t[17] = a("div", { class: "role-management-header" }, [
635
+ a("div", { class: "header-left" }),
636
+ a("div", { class: "header-right" })
637
+ ], -1)),
638
+ a("div", Qt, [
639
+ a("div", jt, [
640
+ e(Ee, {
641
+ class: "role-edit-form",
642
+ ref_key: "roleFormRef",
643
+ ref: ne,
644
+ model: n.value,
645
+ rules: ye
646
+ }, {
647
+ default: o(() => [
648
+ e(U, { gutter: 20 }, {
649
+ default: o(() => [
650
+ e(A, { span: 12 }, {
651
+ default: o(() => [
652
+ e(R, {
653
+ prop: "name",
654
+ label: "角色名称",
655
+ "label-position": "top"
656
+ }, {
657
+ default: o(() => [
658
+ e(s, {
659
+ modelValue: n.value.name,
660
+ "onUpdate:modelValue": t[2] || (t[2] = (i) => n.value.name = i),
661
+ "aria-label": "角色名称",
662
+ placeholder: "角色名称"
663
+ }, null, 8, ["modelValue"])
664
+ ]),
665
+ _: 1
666
+ })
667
+ ]),
668
+ _: 1
669
+ }),
670
+ e(A, { span: 12 }, {
671
+ default: o(() => [
672
+ e(R, {
673
+ label: "角色编码",
674
+ "label-position": "top"
675
+ }, {
676
+ default: o(() => [
677
+ e(s, {
678
+ modelValue: n.value.code,
679
+ "onUpdate:modelValue": t[3] || (t[3] = (i) => n.value.code = i),
680
+ "aria-label": "角色编码",
681
+ placeholder: "角色编码"
682
+ }, null, 8, ["modelValue"])
683
+ ]),
684
+ _: 1
685
+ })
686
+ ]),
687
+ _: 1
688
+ })
689
+ ]),
690
+ _: 1
691
+ }),
692
+ e(U, { gutter: 20 }, {
693
+ default: o(() => [
694
+ e(A, { span: 12 }, {
695
+ default: o(() => [
696
+ e(R, {
697
+ label: "备注",
698
+ "label-position": "top"
699
+ }, {
700
+ default: o(() => [
701
+ e(s, {
702
+ modelValue: n.value.remark,
703
+ "onUpdate:modelValue": t[4] || (t[4] = (i) => n.value.remark = i),
704
+ "aria-label": "备注",
705
+ placeholder: "备注"
706
+ }, null, 8, ["modelValue"])
707
+ ]),
708
+ _: 1
709
+ })
710
+ ]),
711
+ _: 1
712
+ })
713
+ ]),
714
+ _: 1
715
+ }),
716
+ e(U, {
717
+ class: "auth-tree-row",
718
+ gutter: 20
719
+ }, {
720
+ default: o(() => [
721
+ e(A, { span: 24 }, {
722
+ default: o(() => [
723
+ e(R, {
724
+ label: "特性权限",
725
+ "label-position": "top"
726
+ }, {
727
+ default: o(() => [
728
+ e(Ve, {
729
+ ref_key: "propertyTreeRef",
730
+ ref: W,
731
+ class: "auth-tree",
732
+ data: c(k),
733
+ props: L,
734
+ "node-key": "id",
735
+ "show-checkbox": "",
736
+ "default-expanded-keys": n.value.checked_ids,
737
+ "default-checked-keys": n.value.checked_ids,
738
+ height: "100%"
739
+ }, {
740
+ default: o(({ node: i, data: r }) => {
741
+ var z;
742
+ return [
743
+ a("div", Ht, [
744
+ a("div", Jt, [
745
+ a("div", Wt, F(i.label), 1)
746
+ ]),
747
+ r.isPropertyLeaf && G(r) ? (y(), T("div", Xt, [
748
+ e(N, {
749
+ class: "status-tag",
750
+ type: c(J)(r.status),
751
+ title: "点击切换",
752
+ onClick: (P) => we(P, r)
753
+ }, {
754
+ default: o(() => [
755
+ g(F(c(H)(r.status)), 1)
756
+ ]),
757
+ _: 2
758
+ }, 1032, ["type", "onClick"])
759
+ ])) : q("", !0),
760
+ r.isProperty && G(r) && ((z = r.params) == null ? void 0 : z.length) > 0 ? (y(), T("div", Yt, [
761
+ e(N, {
762
+ class: "status-tag",
763
+ type: "success",
764
+ onClick: (P) => ke(P, r)
765
+ }, {
766
+ default: o(() => t[16] || (t[16] = [
767
+ g(" 参数设置 ")
768
+ ])),
769
+ _: 2,
770
+ __: [16]
771
+ }, 1032, ["onClick"])
772
+ ])) : q("", !0)
773
+ ])
774
+ ];
775
+ }),
776
+ _: 1
777
+ }, 8, ["data", "default-expanded-keys", "default-checked-keys"])
778
+ ]),
779
+ _: 1
780
+ })
781
+ ]),
782
+ _: 1
783
+ })
784
+ ]),
785
+ _: 1
786
+ })
787
+ ]),
788
+ _: 1
789
+ }, 8, ["model", "rules"])
790
+ ])
791
+ ])
792
+ ])
793
+ ]),
794
+ footer: o(() => [
795
+ a("div", Zt, [
796
+ t[18] || (t[18] = a("div", { class: "footer-left" }, null, -1)),
797
+ a("div", ea, [
798
+ e(S, {
799
+ class: "cancel",
800
+ emptyColor: !0,
801
+ onClickTrigger: de,
802
+ modelValue: "取消",
803
+ buttonType: "info"
804
+ }),
805
+ e(S, {
806
+ class: "confirm",
807
+ emptyColor: !0,
808
+ onClickTrigger: Ce,
809
+ modelValue: "确定",
810
+ buttonType: "primary"
811
+ })
812
+ ])
813
+ ])
814
+ ]),
815
+ _: 1
816
+ }, 8, ["visible"]),
817
+ e(Et, {
818
+ ref_key: "paramAuthDialog",
819
+ ref: X,
820
+ params: he.value,
821
+ "checked-params": n.value.params,
822
+ onUpdateParams: Ge
823
+ }, null, 8, ["params", "checked-params"]),
824
+ e(ee, {
825
+ class: "role-edit-dialog",
826
+ visible: Y.value,
827
+ title: "角色信息",
828
+ onBeforeDestroy: ie,
829
+ showClose: !0,
830
+ closeOnClickModal: !1,
831
+ closeOnPressEscape: !1,
832
+ modalClass: "role-edit-modal",
833
+ alignCenter: !0,
834
+ appendToBody: !1
835
+ }, {
836
+ default: o(() => [
837
+ a("div", ta, [
838
+ t[22] || (t[22] = a("div", { class: "role-management-header" }, [
839
+ a("div", { class: "header-left" }),
840
+ a("div", { class: "header-right" })
841
+ ], -1)),
842
+ a("div", aa, [
843
+ a("div", oa, [
844
+ e(Ee, {
845
+ class: "role-edit-form",
846
+ ref_key: "roleFormRef",
847
+ ref: ne,
848
+ model: n.value,
849
+ rules: ye
850
+ }, {
851
+ default: o(() => [
852
+ e(U, { gutter: 20 }, {
853
+ default: o(() => [
854
+ e(A, { span: 12 }, {
855
+ default: o(() => [
856
+ e(R, {
857
+ prop: "name",
858
+ label: "角色名称",
859
+ "label-position": "top"
860
+ }, {
861
+ default: o(() => [
862
+ e(s, {
863
+ modelValue: n.value.name,
864
+ "onUpdate:modelValue": t[5] || (t[5] = (i) => n.value.name = i),
865
+ "aria-label": "角色名称",
866
+ placeholder: "角色名称"
867
+ }, null, 8, ["modelValue"])
868
+ ]),
869
+ _: 1
870
+ })
871
+ ]),
872
+ _: 1
873
+ }),
874
+ e(A, { span: 12 }, {
875
+ default: o(() => [
876
+ e(R, {
877
+ label: "角色编码",
878
+ "label-position": "top"
879
+ }, {
880
+ default: o(() => [
881
+ e(s, {
882
+ modelValue: n.value.code,
883
+ "onUpdate:modelValue": t[6] || (t[6] = (i) => n.value.code = i),
884
+ "aria-label": "角色编码",
885
+ placeholder: "角色编码"
886
+ }, null, 8, ["modelValue"])
887
+ ]),
888
+ _: 1
889
+ })
890
+ ]),
891
+ _: 1
892
+ })
893
+ ]),
894
+ _: 1
895
+ }),
896
+ e(U, { gutter: 20 }, {
897
+ default: o(() => [
898
+ e(A, { span: 12 }, {
899
+ default: o(() => [
900
+ e(R, {
901
+ label: "备注",
902
+ "label-position": "top"
903
+ }, {
904
+ default: o(() => [
905
+ e(s, {
906
+ modelValue: n.value.remark,
907
+ "onUpdate:modelValue": t[7] || (t[7] = (i) => n.value.remark = i),
908
+ "aria-label": "备注",
909
+ placeholder: "备注"
910
+ }, null, 8, ["modelValue"])
911
+ ]),
912
+ _: 1
913
+ })
914
+ ]),
915
+ _: 1
916
+ })
917
+ ]),
918
+ _: 1
919
+ }),
920
+ e(U, {
921
+ class: "auth-tree-row",
922
+ gutter: 20
923
+ }, {
924
+ default: o(() => [
925
+ e(A, { span: 24 }, {
926
+ default: o(() => [
927
+ e(R, {
928
+ label: "特性权限",
929
+ "label-position": "top"
930
+ }, {
931
+ default: o(() => [
932
+ e(Ve, {
933
+ ref_key: "propertyTreeRef",
934
+ ref: W,
935
+ class: "auth-tree",
936
+ data: c(k),
937
+ props: L,
938
+ "node-key": "id",
939
+ "show-checkbox": "",
940
+ "default-expanded-keys": n.value.checked_ids,
941
+ "default-checked-keys": n.value.checked_ids,
942
+ height: "100%"
943
+ }, {
944
+ default: o(({ node: i, data: r }) => {
945
+ var z;
946
+ return [
947
+ a("div", la, [
948
+ a("div", sa, [
949
+ a("div", ra, F(i.label), 1)
950
+ ]),
951
+ r.isPropertyLeaf && G(r) ? (y(), T("div", na, [
952
+ e(N, {
953
+ class: "status-tag",
954
+ type: c(J)(r.status),
955
+ title: "点击切换",
956
+ onClick: (P) => we(P, r)
957
+ }, {
958
+ default: o(() => [
959
+ g(F(c(H)(r.status)), 1)
960
+ ]),
961
+ _: 2
962
+ }, 1032, ["type", "onClick"])
963
+ ])) : q("", !0),
964
+ r.isProperty && G(r) && ((z = r.params) == null ? void 0 : z.length) > 0 ? (y(), T("div", ia, [
965
+ e(N, {
966
+ class: "status-tag",
967
+ type: "success",
968
+ onClick: (P) => ke(P, r)
969
+ }, {
970
+ default: o(() => t[19] || (t[19] = [
971
+ g(" 参数设置 ")
972
+ ])),
973
+ _: 2,
974
+ __: [19]
975
+ }, 1032, ["onClick"])
976
+ ])) : q("", !0),
977
+ r.isPropertyLeaf && G(r) && c(Fe)(r) ? (y(), T("div", da, [
978
+ e(N, {
979
+ class: "status-tag",
980
+ type: "warning",
981
+ onClick: (P) => Te(P, r)
982
+ }, {
983
+ default: o(() => t[20] || (t[20] = [
984
+ g(" 数据权限 ")
985
+ ])),
986
+ _: 2,
987
+ __: [20]
988
+ }, 1032, ["onClick"])
989
+ ])) : q("", !0),
990
+ i.level == 1 && i.checked && !r.isProperty ? (y(), T("div", ca, [
991
+ e(N, {
992
+ class: "status-tag",
993
+ type: "warning",
994
+ onClick: (P) => Te(P, r)
995
+ }, {
996
+ default: o(() => t[21] || (t[21] = [
997
+ g(" 数据权限重置 ")
998
+ ])),
999
+ _: 2,
1000
+ __: [21]
1001
+ }, 1032, ["onClick"])
1002
+ ])) : q("", !0)
1003
+ ])
1004
+ ];
1005
+ }),
1006
+ _: 1
1007
+ }, 8, ["data", "default-expanded-keys", "default-checked-keys"])
1008
+ ]),
1009
+ _: 1
1010
+ })
1011
+ ]),
1012
+ _: 1
1013
+ })
1014
+ ]),
1015
+ _: 1
1016
+ })
1017
+ ]),
1018
+ _: 1
1019
+ }, 8, ["model", "rules"])
1020
+ ])
1021
+ ])
1022
+ ])
1023
+ ]),
1024
+ footer: o(() => [
1025
+ a("div", ua, [
1026
+ t[23] || (t[23] = a("div", { class: "footer-left" }, null, -1)),
1027
+ a("div", pa, [
1028
+ e(S, {
1029
+ class: "cancel",
1030
+ emptyColor: !0,
1031
+ onClickTrigger: de,
1032
+ modelValue: "取消",
1033
+ buttonType: "info"
1034
+ }),
1035
+ e(S, {
1036
+ class: "confirm",
1037
+ emptyColor: !0,
1038
+ onClickTrigger: Ce,
1039
+ modelValue: "确定",
1040
+ buttonType: "primary"
1041
+ })
1042
+ ])
1043
+ ])
1044
+ ]),
1045
+ _: 1
1046
+ }, 8, ["visible"]),
1047
+ e(It, {
1048
+ ref_key: "scopeDialog",
1049
+ ref: Pe,
1050
+ onConfirm: Ye
1051
+ }, null, 512)
1052
+ ], 64);
1053
+ };
1054
+ }
1055
+ }), xa = /* @__PURE__ */ ae(ma, [["__scopeId", "data-v-8f06e1a7"]]);
1056
+ export {
1057
+ xa as default
1058
+ };