ss-component-new 1.3.619 → 1.3.621

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 (69) hide show
  1. package/dist/{MTLLoader-5pQpbMEZ.js → MTLLoader-Cg9LEvNr.js} +2 -2
  2. package/dist/{URDFLoader-BO26K5-d.js → URDFLoader-mPVZjSIW.js} +589 -584
  3. package/dist/{animationData-rL2nYHqW.js → animationData-CDdaleGB.js} +3 -3
  4. package/dist/{array-DtIbnYgx.js → array-HJsOOS05.js} +13 -14
  5. package/dist/{clone-ESeDvnJv.js → clone-MyfSNInd.js} +1 -1
  6. package/dist/{eleIcon-C7Pz9jha.js → eleIcon-BoKZ_PzU.js} +2 -2
  7. package/dist/{iconfont-BIrta5vE.js → iconfont-BBJ_Xa7g.js} +91 -91
  8. package/dist/{index-BvkIoiVW.js → index-6qXeMn6b.js} +3 -3
  9. package/dist/{index-BXh02EAd.js → index-B2LYEScO.js} +4 -4
  10. package/dist/{index-YvUJL9Us.js → index-B4NcYIuS.js} +1 -1
  11. package/dist/{index-ZdNvgZn9.js → index-B86vVYuK.js} +3 -3
  12. package/dist/{index-D8UY4uNQ.js → index-B8NQAdR4.js} +966 -967
  13. package/dist/{index-rlStojTL.js → index-BFqUz4pN.js} +1 -1
  14. package/dist/index-BGVDfril.js +2623 -0
  15. package/dist/{index-Dj2f3bb5.js → index-BVcc8kay.js} +18 -20
  16. package/dist/{index-CPW7tdrA.js → index-BkkvdZXm.js} +17 -20
  17. package/dist/{index-B0M1YCUY.js → index-BvtOLltL.js} +7 -7
  18. package/dist/{index-DsdWSuDi.js → index-BvyM6d06.js} +482 -483
  19. package/dist/{index-CX8Apbo7.js → index-BybrpYzx.js} +1 -1
  20. package/dist/{index-tMqKF2l6.js → index-CM6aWexA.js} +2 -2
  21. package/dist/{index-CHhMgqcG.js → index-CRUkYvae.js} +4 -4
  22. package/dist/{index-BBBCr4Oo.js → index-CT1LWsrT.js} +2 -2
  23. package/dist/{index-D9xMYIes.js → index-CYjsE5Gs.js} +3 -3
  24. package/dist/{index-B_fRppeJ.js → index-CkO7j_i1.js} +8 -8
  25. package/dist/{index-Bk8b7svu.js → index-CpF3wYnE.js} +28389 -29302
  26. package/dist/{index-DlQXFCw8.js → index-CvZcm-Tt.js} +7 -8
  27. package/dist/{index-Bh9xfMUe.js → index-D1vR2n9D.js} +5 -5
  28. package/dist/{index-XvX6TMzr.js → index-DCY5J8nu.js} +1 -1
  29. package/dist/{index-C3pboX9W.js → index-DIVct0z6.js} +5 -5
  30. package/dist/{index-11kpzK0A.js → index-DJrzqi4-.js} +17 -17
  31. package/dist/{index-DMzOSLH7.js → index-DMUuZJrY.js} +3 -3
  32. package/dist/{index-DppGK-cl.js → index-DMkEL6P5.js} +6 -6
  33. package/dist/{index-CEdE_NSq.js → index-DagRVVUS.js} +4 -4
  34. package/dist/{index-BUqviBFi.js → index-DcPtyCDm.js} +29 -35
  35. package/dist/{index-CwzrUS8I.js → index-DibHtT3s.js} +570 -605
  36. package/dist/{index-CjAdUy4n.js → index-DjyxFjoY.js} +60 -62
  37. package/dist/{index-D1E8EPxn.js → index-DmILGKv9.js} +57 -61
  38. package/dist/{index-j9f77uCm.js → index-DneXSBUw.js} +8 -8
  39. package/dist/{index-B8XrhVMF.js → index-QpbdZ-N-.js} +36 -40
  40. package/dist/{index-BHtNKL1L.js → index-dD-mKgue.js} +2 -2
  41. package/dist/{index-DU8bIzXR.js → index-vITXyWii.js} +6973 -6531
  42. package/dist/{index--n0LF76p.js → index-xWwc0MvD.js} +148 -157
  43. 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
  44. package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-VCheSKQF.js} +27760 -27735
  45. package/dist/isString-Dxm3W5iX.js +8 -0
  46. package/dist/{localIcon-D5UoFBU5.js → localIcon-CoJHw5ss.js} +1 -1
  47. package/dist/{main-D8iFsrPY.js → main-BuQcSVmx.js} +9 -9
  48. package/dist/{menuIndex-DAW9B-9g.js → menuIndex-BiUB7t5q.js} +1 -1
  49. package/dist/{request-B1c8BUkR.js → request-BfrhYBTM.js} +3480 -3062
  50. package/dist/ss-component.css +3 -3
  51. package/dist/ss-component.js +14 -14
  52. package/dist/ss-component2.js +13 -13
  53. package/dist/ss-component3.js +1 -1
  54. package/dist/{threeModel-C5B-Ckb-.js → threeModel-Br3xFMq_.js} +174 -174
  55. package/dist/{threePreview-CVU8RHxm.js → threePreview-BjOjXzmX.js} +12 -12
  56. package/dist/{threeSceneView-C1egE4vX.js → threeSceneView-Arn9K2ca.js} +23 -24
  57. package/dist/{threeSceneViewForCPMPIP-_x0AIoTZ.js → threeSceneViewForCPMPIP-DyBpZbxn.js} +16 -17
  58. package/dist/{threeTrackPathView-DB61-HKo.js → threeTrackPathView-DuL77ZaW.js} +7 -7
  59. package/dist/{threeViewerHost-OzpVrArR.js → threeViewerHost-BYzW22O3.js} +4 -4
  60. package/dist/{urdfTree-BTnijMjA.js → urdfTree-xJWz0AN3.js} +9 -9
  61. package/dist/{workpieceTreePanel-Cmcj8MOA.js → workpieceTreePanel-Cfj81zvc.js} +56 -60
  62. package/package.json +1 -1
  63. package/dist/JSEncrypt-B36c1iN5.js +0 -1983
  64. package/dist/index-Bgkzdkye.js +0 -572
  65. package/dist/isString-BlNsHiyU.js +0 -8
  66. package/dist/obj/model.mtl +0 -42
  67. package/dist/obj/model.obj +0 -26110
  68. package/public/obj/model.mtl +0 -42
  69. 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, createElementBlock as D, openBlock as k, createElementVNode as o, createVNode as t, withCtx as s, toDisplayString as A, createBlock as ue, reactive as De, Fragment as pe, renderList as xe, 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-B1c8BUkR.js";
3
- import { u as Se, o as _t, s as de, f as ce } from "./index-D9xMYIes.js";
4
- import { I as Le, J as ft, u as vt, p as gt } from "./index-D8UY4uNQ.js";
5
- import { s as _e } from "./index-11kpzK0A.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-CoMb-4Xy.js";
7
- import "./index-Bk8b7svu.js";
8
- import "./index-BHtNKL1L.js";
9
- import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
10
- import "./index-DsdWSuDi.js";
11
- import "./index-Bgkzdkye.js";
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-VCheSKQF.js";
7
+ import "./index-CpF3wYnE.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-BGVDfril.js";
12
12
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- import { c as me } from "./clone-ESeDvnJv.js";
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(U, { expose: $ }) {
21
- const _ = U, x = {
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: T } = Se(), g = u(), S = Ve(() => T(_.params)), m = Ve(() => _.checkedParams.map((b) => `${b.id}_${b.prop}`));
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 f;
30
- return ((f = g.value) == null ? void 0 : f.getCheckedNodes()) || [];
31
- } }), (b, f) => {
32
- const w = n("el-tree");
33
- return k(), D("div", yt, [
34
- f[0] || (f[0] = o("div", { class: "header" }, [
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(w, {
39
+ t(T, {
40
40
  ref_key: "paramTreeRef",
41
41
  ref: g,
42
42
  class: "param-tree",
43
43
  data: S.value,
44
- props: x,
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: N }) => [
51
+ default: s(({ node: v, data: F }) => [
52
52
  o("div", kt, [
53
53
  o("div", Ct, [
54
- o("div", bt, A(v.label), 1)
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
- f[1] || (f[1] = o("div", { class: "footer" }, [
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" }, Dt = { class: "edit-footer" }, xt = { class: "footer-right" }, St = /* @__PURE__ */ H({
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(U, { expose: $, emit: _ }) {
76
- const x = _, T = u(), g = u(!1), S = () => {
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 w = f();
84
- x("updateParams", w), m();
85
- }, f = () => {
83
+ const T = _();
84
+ D("updateParams", T), m();
85
+ }, _ = () => {
86
86
  var v;
87
- return ((v = T.value) == null ? void 0 : v.getCheckedParams()) || [];
87
+ return ((v = P.value) == null ? void 0 : v.getCheckedParams()) || [];
88
88
  };
89
- return $({ openEditDialog: S }), (w, v) => (k(), ue(_e, {
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: T,
112
- params: w.params,
113
- "checked-params": w.checkedParams
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", Dt, [
120
+ o("div", xt, [
121
121
  v[1] || (v[1] = o("div", { class: "footer-left" }, null, -1)),
122
- o("div", xt, [
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(U, { expose: $, emit: _ }) {
147
- const x = _, { initDepartmentScope: T } = Le(), g = u(), S = De({
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(T()), C = u(!1), b = () => {
151
+ }), m = u(P()), C = u(!1), b = () => {
152
152
  C.value = !0;
153
- }, f = () => {
153
+ }, _ = () => {
154
154
  C.value = !1;
155
- }, w = async (E) => {
155
+ }, T = async (E) => {
156
156
  m.value = me(E), b();
157
157
  }, v = () => {
158
- m.value = T(), f();
159
- }, N = async () => {
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)), x("confirm", me(m.value)), v();
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: w }), (E, y) => {
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(_e, {
165
+ return k(), ue(fe, {
166
166
  class: "scope-edit-dialog",
167
167
  visible: C.value,
168
168
  title: "数据权限",
169
- onBeforeDestroy: f,
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), D(pe, null, xe(c(ft), (V) => (k(), ue(X, {
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(A(V.label), 1)
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: N,
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(U) {
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
- }, _ = vt(gt), { initDepartmentScope: x, recAndInitNodeDataPermission: T } = Le(), {
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: f,
291
- initGetByPage: w,
290
+ setPageSize: _,
291
+ initGetByPage: T,
292
292
  // initRoleList,
293
293
  initCreate: v,
294
- initUpdate: N,
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(), fe = u([]), Ae = async () => {
309
- const a = await w(), { roleData: e = [] } = a;
308
+ } = Se(), _e = u([]), Ae = async () => {
309
+ const a = await T(), { roleData: e = [] } = a;
310
310
  return e;
311
- }, F = async () => {
312
- fe.value = await Ae();
311
+ }, z = async () => {
312
+ _e.value = await Ae();
313
313
  }, Ne = (a) => {
314
- b(a), F();
314
+ b(a), z();
315
315
  }, Fe = (a) => {
316
- f(a), F();
316
+ _(a), z();
317
317
  }, ze = async () => {
318
- m(), _.setImportLoading(!0), await F().finally(() => {
319
- _.setImportLoading(!1);
318
+ m(), f.setImportLoading(!0), await z().finally(() => {
319
+ f.setImportLoading(!1);
320
320
  });
321
- }, R = async () => {
322
- await F(), await ae();
321
+ }, A = async () => {
322
+ await z(), await ae();
323
323
  };
324
324
  it(() => {
325
- R();
325
+ A();
326
326
  });
327
- const ve = u(), Oe = De({
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((P) => P.id !== e);
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, 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 = ((P = q.value) == null ? void 0 : P.getCheckedNodes()) || [];
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 N(a), await R();
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 R();
377
+ await v(d.value), await A();
378
378
  }, Je = async () => {
379
- await N(d.value), await R();
379
+ await F(d.value), await A();
380
380
  }, He = async (a) => {
381
- await E(a), await R();
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(x()), be = (a, e) => {
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 = x("")), (l = Ce.value) == null || l.handleEdit(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
- T(G.value, a);
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 P;
420
- const p = (P = e.target.files) == null ? void 0 : P[0];
419
+ var w;
420
+ const p = (w = e.target.files) == null ? void 0 : w[0];
421
421
  if (p)
422
422
  try {
423
- _.setImportLoading(!0), await Ie(p), await R(), _.setImportLoading(!1);
423
+ f.setImportLoading(!0), await Ie(p), await A(), f.setImportLoading(!1);
424
424
  } catch {
425
- _.setImportLoading(!1);
425
+ f.setImportLoading(!1);
426
426
  }
427
427
  }, a.click();
428
428
  }, tt = async () => {
429
- _.setImportLoading(!0), await Be().finally(() => {
430
- _.setImportLoading(!1);
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"), P = n("el-icon"), L = n("el-dropdown-item"), ne = n("el-dropdown-menu"), ot = n("el-dropdown"), z = n("el-table-column"), O = 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(), D(pe, null, [
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: F
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(P, { class: "el-icon--right" }, {
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(P, { class: "el-icon--right" }, {
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: fe.value,
534
+ data: _e.value,
541
535
  "empty-text": ""
542
536
  }, {
543
537
  default: s(() => [
544
- t(z, {
538
+ t(O, {
545
539
  prop: "name",
546
540
  label: "名称",
547
541
  align: "center"
548
542
  }),
549
- t(z, {
543
+ t(O, {
550
544
  prop: "code",
551
545
  label: "编码",
552
546
  align: "center"
553
547
  }),
554
- t(z, {
548
+ t(O, {
555
549
  prop: "remark",
556
550
  label: "备注",
557
551
  align: "center"
558
552
  }),
559
- t(z, {
553
+ t(O, {
560
554
  prop: "status",
561
555
  label: "状态",
562
556
  align: "center"
563
557
  }, {
564
558
  default: s((r) => [
565
- t(O, {
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(A(c(Y)(r.row.status)), 1)
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(z, {
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), D(pe, null, xe(c(_t), (i) => (k(), D("div", {
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
- }, A(i.label), 9, jt))), 128))
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(_e, {
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(P, { class: "el-input__icon" }, {
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, A(r.label), 1)
750
+ o("div", ta, N(r.label), 1)
757
751
  ]),
758
- i.isPropertyLeaf && se(i) ? (k(), D("div", aa, [
759
- t(O, {
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(A(c(ee)(i.status)), 1)
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(), D("div", oa, [
772
- t(O, {
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
- _: 2,
781
- __: [14]
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(), D("div", sa, [
785
- t(O, {
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
- _: 2,
794
- __: [15]
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(), D("div", la, [
798
- t(O, {
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
- _: 2,
807
- __: [16]
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
  ];