ss-component-new 1.3.642 → 1.3.644

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 (70) hide show
  1. package/dist/JSEncrypt-B36c1iN5.js +1983 -0
  2. package/dist/{MTLLoader-CZqN7Zrs.js → MTLLoader-CzUQTGKY.js} +2 -2
  3. package/dist/{URDFLoader-5yxKptss.js → URDFLoader-Cpc_aT68.js} +584 -589
  4. package/dist/{animationData-_pwKquvD.js → animationData-BgDqzRLe.js} +3 -3
  5. package/dist/{array-DnDxObVG.js → array-D8M1X1Ro.js} +14 -13
  6. package/dist/{clone-BjJ_R9XN.js → clone-DqQwDoSV.js} +1 -1
  7. package/dist/{eleIcon-BWVKfp5t.js → eleIcon-Dtsx377t.js} +2 -2
  8. package/dist/{iconfont-DGtoabuW.js → iconfont-B4WPRBLy.js} +91 -91
  9. package/dist/{index-DuWxkinQ.js → index-0Pw9Txsz.js} +176 -167
  10. package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
  11. package/dist/{index-BibSA99e.js → index-B2i-wZ7I.js} +20 -17
  12. package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
  13. package/dist/{index-Bvvz41NY.js → index-BI3gwdBk.js} +1 -1
  14. package/dist/{index-D4wGWsnp.js → index-BIxhrXtt.js} +3 -3
  15. package/dist/{index-DwmZbmjQ.js → index-BjSS0ovo.js} +80 -74
  16. package/dist/{index-qv_1lhhv.js → index-BkAYMm70.js} +2 -2
  17. package/dist/{index-CgdG1jHE.js → index-BrtXf90v.js} +23003 -23095
  18. package/dist/{index-Df6vtfN9.js → index-BvrZtqVU.js} +20 -18
  19. package/dist/{index-FPf0BzIG.js → index-C4OLi6tq.js} +551 -554
  20. package/dist/index-C9QM6oa1.js +11397 -0
  21. package/dist/{index-ChxyvjM5.js → index-C9y1HVim.js} +6 -6
  22. package/dist/{index-CmGpt__g.js → index-CB2B4YM9.js} +3 -3
  23. package/dist/{index-D_kI6aHR.js → index-CDpLX430.js} +8 -7
  24. package/dist/{index-CC9AzuGU.js → index-CFjNYQu4.js} +5 -5
  25. package/dist/{index-DV-y9RNF.js → index-C_c-5ZAh.js} +61 -57
  26. package/dist/{index-CNBXFDkc.js → index-C_proWoC.js} +4 -4
  27. package/dist/{index-CcdSuqPt.js → index-Cnet9-km.js} +8 -8
  28. package/dist/{index-CUB0YIQp.js → index-D8cOzz3g.js} +5 -5
  29. package/dist/{index-DW6CZC2b.js → index-DGmjWChr.js} +1051 -1053
  30. package/dist/{index-DEzoAZ20.js → index-DHmpeyMt.js} +9164 -9616
  31. package/dist/{index-CwKQTNJ6.js → index-DLZVUgaP.js} +2 -2
  32. package/dist/{index-BiHdwruW.js → index-DT7MjPj0.js} +62 -60
  33. package/dist/{index-DlH7-Quf.js → index-DpcGBPYo.js} +3 -3
  34. package/dist/{index-Dae7KcRH.js → index-DzZWEErj.js} +3 -3
  35. package/dist/index-Dzmh37xZ.js +572 -0
  36. package/dist/{index-C6ZyziE9.js → index-FCnO8UeA.js} +4 -4
  37. package/dist/{index-BcWf6LmN.js → index-IXxKIj3h.js} +4 -4
  38. package/dist/{index-BwEO2Ckl.js → index-NwTP3AQl.js} +7 -7
  39. package/dist/{index-CUUkM-MP.js → index-awI81WIz.js} +47 -43
  40. package/dist/{index-JxFaaWxD.js → index-fxJSVddL.js} +1 -1
  41. package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
  42. package/dist/{index-YVR3acYT.js → index-tLd2cEHX.js} +1 -1
  43. package/dist/{index-Dt57dqp_.js → index-z5wovvkI.js} +8 -8
  44. package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
  45. package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DdTK-nti.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js} +27735 -27760
  46. package/dist/isString-CXX7MUiv.js +8 -0
  47. package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
  48. package/dist/{main-DNhfV8BO.js → main-CAAw_Zsf.js} +9 -9
  49. package/dist/{menuIndex-CY5XD7Ny.js → menuIndex-2JX7SuB8.js} +1 -1
  50. package/dist/obj/model.mtl +42 -0
  51. package/dist/obj/model.obj +26110 -0
  52. package/dist/{request-DiogHwkN.js → request-D-LN5bvn.js} +3075 -3494
  53. package/dist/ss-component.css +3 -3
  54. package/dist/ss-component.js +14 -14
  55. package/dist/ss-component2.js +13 -13
  56. package/dist/ss-component3.js +1 -1
  57. package/dist/{threeModel-CySDiDg5.js → threeModel-D7pZcypI.js} +174 -174
  58. package/dist/{threePreview-BC0mxp0t.js → threePreview-Cjupz9HK.js} +12 -12
  59. package/dist/{threeSceneView-CPEVDWcz.js → threeSceneView-DzpPQCjn.js} +111 -110
  60. package/dist/{threeSceneViewForCPMPIP-COMjXvyR.js → threeSceneViewForCPMPIP-C39zZNzT.js} +17 -16
  61. package/dist/{threeTrackPathView-C8RcSYdk.js → threeTrackPathView-DuiNPnon.js} +7 -7
  62. package/dist/{threeViewerHost-B1IN5jlg.js → threeViewerHost-URHOdtr5.js} +4 -4
  63. package/dist/{urdfTree-BGPikD3W.js → urdfTree-CymLIkE8.js} +9 -9
  64. package/dist/{workpieceTreePanel-DO6BojnM.js → workpieceTreePanel-DaTdJC9q.js} +60 -56
  65. package/package.json +1 -1
  66. package/public/obj/model.mtl +42 -0
  67. package/public/obj/model.obj +26110 -0
  68. package/dist/index-T3VFnH9E.js +0 -2623
  69. package/dist/index-lmzbsYe_.js +0 -11550
  70. package/dist/isString-CoCw_sp3.js +0 -8
@@ -1,92 +1,92 @@
1
- import { defineComponent as J, 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 H } from "vue";
2
- import { u as ut, k as pt, l as mt } from "./request-DiogHwkN.js";
3
- import { u as Se, o as ft, s as de, f as ce } from "./index-DlH7-Quf.js";
4
- import { M as Le, N as _t, u as vt, p as gt } from "./index-DW6CZC2b.js";
5
- import { s as fe } from "./index-DJrzqi4-.js";
6
- import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DdTK-nti.js";
7
- import "./index-CgdG1jHE.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-FPf0BzIG.js";
11
- import "./index-T3VFnH9E.js";
1
+ import { defineComponent as J, 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 H } from "vue";
2
+ import { u as ut, h as pt, j as mt } from "./request-D-LN5bvn.js";
3
+ import { u as Se, o as _t, s as de, f as ce } from "./index-DpcGBPYo.js";
4
+ import { M as Le, N as ft, u as vt, p as gt } from "./index-DGmjWChr.js";
5
+ import { s as _e } from "./index-11kpzK0A.js";
6
+ import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-BEPFL4uU.js";
7
+ import "./index-BrtXf90v.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-C4OLi6tq.js";
11
+ import "./index-Dzmh37xZ.js";
12
12
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- import { c as me } from "./clone-BjJ_R9XN.js";
13
+ import { c as me } from "./clone-DqQwDoSV.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__ */ J({
15
15
  __name: "index",
16
16
  props: {
17
17
  params: {},
18
18
  checkedParams: {}
19
19
  },
20
- setup(R, { expose: $ }) {
21
- const f = R, D = {
20
+ setup(U, { expose: $ }) {
21
+ const _ = U, x = {
22
22
  value: "uniqueKey",
23
23
  label: "label",
24
24
  children: "children",
25
25
  class: (b) => {
26
26
  }
27
- }, { buildParamAuthTree: P } = Se(), g = u(), S = Ve(() => P(f.params)), m = Ve(() => f.checkedParams.map((b) => `${b.id}_${b.prop}`));
27
+ }, { buildParamAuthTree: T } = Se(), g = u(), S = Ve(() => T(_.params)), m = Ve(() => _.checkedParams.map((b) => `${b.id}_${b.prop}`));
28
28
  return $({ getCheckedParams: () => {
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" }, [
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" }, [
35
35
  o("div", { class: "header-left" }),
36
36
  o("div", { class: "header-right" })
37
37
  ], -1)),
38
38
  o("div", ht, [
39
- t(T, {
39
+ t(w, {
40
40
  ref_key: "paramTreeRef",
41
41
  ref: g,
42
42
  class: "param-tree",
43
43
  data: S.value,
44
- props: D,
44
+ props: x,
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: F }) => [
51
+ default: s(({ node: v, data: N }) => [
52
52
  o("div", kt, [
53
53
  o("div", Ct, [
54
- o("div", bt, N(v.label), 1)
54
+ o("div", bt, A(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
- _[1] || (_[1] = o("div", { class: "footer" }, [
61
+ f[1] || (f[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" }, xt = { class: "edit-footer" }, Dt = { class: "footer-right" }, St = /* @__PURE__ */ J({
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__ */ J({
69
69
  __name: "index",
70
70
  props: {
71
71
  params: {},
72
72
  checkedParams: {}
73
73
  },
74
74
  emits: ["updateParams"],
75
- setup(R, { expose: $, emit: f }) {
76
- const D = f, P = u(), g = u(!1), S = () => {
75
+ setup(U, { expose: $, emit: _ }) {
76
+ const x = _, T = 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 T = _();
84
- D("updateParams", T), m();
85
- }, _ = () => {
83
+ const w = f();
84
+ x("updateParams", w), m();
85
+ }, f = () => {
86
86
  var v;
87
- return ((v = P.value) == null ? void 0 : v.getCheckedParams()) || [];
87
+ return ((v = T.value) == null ? void 0 : v.getCheckedParams()) || [];
88
88
  };
89
- return $({ openEditDialog: S }), (T, v) => (k(), ue(fe, {
89
+ return $({ openEditDialog: S }), (w, v) => (k(), ue(_e, {
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: P,
112
- params: R.params,
113
- "checked-params": R.checkedParams
111
+ ref: T,
112
+ params: w.params,
113
+ "checked-params": w.checkedParams
114
114
  }, null, 8, ["params", "checked-params"])
115
115
  ])
116
116
  ])
117
117
  ])
118
118
  ]),
119
119
  footer: s(() => [
120
- o("div", xt, [
120
+ o("div", Dt, [
121
121
  v[1] || (v[1] = o("div", { class: "footer-left" }, null, -1)),
122
- o("div", Dt, [
122
+ o("div", xt, [
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__ */ J({
144
144
  __name: "index",
145
145
  emits: ["confirm"],
146
- setup(R, { expose: $, emit: f }) {
147
- const D = f, { initDepartmentScope: P } = Le(), g = u(), S = xe({
146
+ setup(U, { expose: $, emit: _ }) {
147
+ const x = _, { initDepartmentScope: T } = Le(), g = u(), S = De({
148
148
  departmentScope: [
149
149
  { required: !0, message: "请输入角色名称", trigger: "change" }
150
150
  ]
151
- }), m = u(P()), C = u(!1), b = () => {
151
+ }), m = u(T()), C = u(!1), b = () => {
152
152
  C.value = !0;
153
- }, _ = () => {
153
+ }, f = () => {
154
154
  C.value = !1;
155
- }, T = async (E) => {
155
+ }, w = async (E) => {
156
156
  m.value = me(E), b();
157
157
  }, v = () => {
158
- m.value = P(), _();
159
- }, F = async () => {
158
+ m.value = T(), f();
159
+ }, N = async () => {
160
160
  var E, y;
161
- await ((y = (E = g.value) == null ? void 0 : E.validate) == null ? void 0 : y.call(E)), D("confirm", me(m.value)), v();
161
+ await ((y = (E = g.value) == null ? void 0 : E.validate) == null ? void 0 : y.call(E)), x("confirm", me(m.value)), v();
162
162
  };
163
- return $({ handleEdit: T }), (E, y) => {
163
+ return $({ handleEdit: w }), (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(fe, {
165
+ return k(), ue(_e, {
166
166
  class: "scope-edit-dialog",
167
167
  visible: C.value,
168
168
  title: "数据权限",
169
- onBeforeDestroy: _,
169
+ onBeforeDestroy: f,
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), x(pe, null, De(c(_t), (V) => (k(), ue(X, {
208
+ (k(!0), D(pe, null, xe(c(ft), (V) => (k(), ue(X, {
209
209
  key: V.value,
210
210
  value: V.value
211
211
  }, {
212
212
  default: s(() => [
213
- h(N(V.label), 1)
213
+ h(A(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: F,
250
+ onClickTrigger: N,
251
251
  modelValue: "确定",
252
252
  buttonType: "primary"
253
253
  })
@@ -258,7 +258,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
258
258
  }, 8, ["visible"]);
259
259
  };
260
260
  }
261
- }), Ft = /* @__PURE__ */ W(Nt, [["__scopeId", "data-v-40d37c72"]]), zt = { class: "role-management" }, Ot = { class: "header" }, Ut = { class: "header-left" }, Mt = { class: "query-wrapper" }, qt = { class: "header-right" }, Kt = { class: "body" }, Gt = { class: "role-table-wrapper" }, Qt = { class: "operate-list" }, jt = ["onClick"], Ht = { class: "pagination-wrapper" }, Jt = { class: "role-management-wrapper" }, Wt = { class: "role-management-body" }, Xt = { class: "role-form-wrapper" }, Yt = { class: "auth-tree-wrapper" }, Zt = { class: "node-content-wrapper" }, ea = { class: "node-label-wrapper" }, ta = { class: "node-label" }, aa = {
261
+ }), Ft = /* @__PURE__ */ W(Nt, [["__scopeId", "data-v-40d37c72"]]), zt = { class: "role-management" }, Ot = { class: "header" }, Ut = { class: "header-left" }, Mt = { class: "query-wrapper" }, qt = { class: "header-right" }, Kt = { class: "body" }, jt = { class: "role-table-wrapper" }, Gt = { class: "operate-list" }, Qt = ["onClick"], Ht = { class: "pagination-wrapper" }, Jt = { class: "role-management-wrapper" }, Wt = { class: "role-management-body" }, Xt = { class: "role-form-wrapper" }, Yt = { class: "auth-tree-wrapper" }, Zt = { class: "node-content-wrapper" }, ea = { class: "node-label-wrapper" }, ta = { class: "node-label" }, aa = {
262
262
  key: 0,
263
263
  class: "status-tag"
264
264
  }, oa = {
@@ -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__ */ J({
274
274
  __name: "index",
275
- setup(R) {
275
+ setup(U) {
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
- }, f = vt(gt), { initDepartmentScope: D, recAndInitNodeDataPermission: P } = Le(), {
284
+ }, _ = vt(gt), { initDepartmentScope: x, recAndInitNodeDataPermission: T } = 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: T,
290
+ setPageSize: f,
291
+ initGetByPage: w,
292
292
  // initRoleList,
293
293
  initCreate: v,
294
- initUpdate: F,
294
+ initUpdate: N,
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(), _e = u([]), Ae = async () => {
309
- const a = await T(), { roleData: e = [] } = a;
308
+ } = Se(), fe = u([]), Ae = async () => {
309
+ const a = await w(), { roleData: e = [] } = a;
310
310
  return e;
311
- }, z = async () => {
312
- _e.value = await Ae();
311
+ }, F = async () => {
312
+ fe.value = await Ae();
313
313
  }, Ne = (a) => {
314
- b(a), z();
314
+ b(a), F();
315
315
  }, Fe = (a) => {
316
- _(a), z();
316
+ f(a), F();
317
317
  }, ze = async () => {
318
- m(), f.setImportLoading(!0), await z().finally(() => {
319
- f.setImportLoading(!1);
318
+ m(), _.setImportLoading(!0), await F().finally(() => {
319
+ _.setImportLoading(!1);
320
320
  });
321
- }, A = async () => {
322
- await z(), await ae();
321
+ }, R = async () => {
322
+ await F(), await ae();
323
323
  };
324
324
  it(() => {
325
- A();
325
+ R();
326
326
  });
327
- const ve = u(), Oe = xe({
327
+ const ve = u(), Oe = De({
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
  }, qe = (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((w) => w.id !== e);
340
+ const e = (p = a == null ? void 0 : a[0]) == null ? void 0 : p.id, l = d.value.params.filter((P) => P.id !== e);
341
341
  d.value.params = [...l, ...a];
342
342
  }, oe = u(!1), Ke = () => {
343
343
  oe.value = !0;
@@ -355,10 +355,10 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
355
355
  }), d.value = g(a, l), Ke();
356
356
  }, ke = () => {
357
357
  d.value = g(), ye();
358
- }, Ge = async () => {
359
- var l, p, w;
358
+ }, je = async () => {
359
+ var l, p, P;
360
360
  await ((p = (l = ve.value) == null ? void 0 : l.validate) == null ? void 0 : p.call(l));
361
- let a = ((w = M.value) == null ? void 0 : w.getCheckedNodes()) || [];
361
+ let a = ((P = M.value) == null ? void 0 : P.getCheckedNodes()) || [];
362
362
  a = a.filter((L) => L.isPropertyLeaf), a = a.map((L) => {
363
363
  const { departmentScope: ne } = L.dataPermission || {};
364
364
  return {
@@ -367,18 +367,18 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
367
367
  };
368
368
  }), d.value.main_ids = a;
369
369
  const { role_id: e } = d.value;
370
- e ? await He() : await je(), ke();
371
- }, Qe = async (a) => {
370
+ e ? await He() : await Qe(), ke();
371
+ }, Ge = async (a) => {
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 F(a), await A();
376
- }, je = async () => {
377
- await v(d.value), await A();
375
+ de.ENABLE.value === e ? a.status = de.DISABLED.value : a.status = de.ENABLE.value, await N(a), await R();
376
+ }, Qe = async () => {
377
+ await v(d.value), await R();
378
378
  }, He = async () => {
379
- await F(d.value), await A();
379
+ await N(d.value), await R();
380
380
  }, Je = async (a) => {
381
- await E(a), await A();
381
+ await E(a), await R();
382
382
  }, We = async (a, e) => {
383
383
  if (!V.value)
384
384
  return;
@@ -398,17 +398,17 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
398
398
  }, se = (a) => {
399
399
  var l;
400
400
  return (((l = M.value) == null ? void 0 : l.getCheckedKeys(!0)) || []).includes(a.id);
401
- }, Ce = u(), G = u(), le = u(D()), be = (a, e) => {
401
+ }, Ce = u(), j = u(), le = u(x()), be = (a, e) => {
402
402
  var l;
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);
403
+ a.stopPropagation(), j.value = e, e.isPropertyLeaf && (le.value = me(e.dataPermission)), e.isProperty || (le.value = x("")), (l = Ce.value) == null || l.handleEdit(le.value);
404
404
  }, Ye = (a) => {
405
- const { isProperty: e, isPropertyLeaf: l } = G.value;
405
+ const { isProperty: e, isPropertyLeaf: l } = j.value;
406
406
  if (l) {
407
- G.value.dataPermission = a;
407
+ j.value.dataPermission = a;
408
408
  return;
409
409
  }
410
410
  if (!e) {
411
- P(G.value, a);
411
+ T(j.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 w;
420
- const p = (w = e.target.files) == null ? void 0 : w[0];
419
+ var P;
420
+ const p = (P = e.target.files) == null ? void 0 : P[0];
421
421
  if (p)
422
422
  try {
423
- f.setImportLoading(!0), await Ie(p), await A(), f.setImportLoading(!1);
423
+ _.setImportLoading(!0), await Ie(p), await R(), _.setImportLoading(!1);
424
424
  } catch {
425
- f.setImportLoading(!1);
425
+ _.setImportLoading(!1);
426
426
  }
427
427
  }, a.click();
428
428
  }, tt = async () => {
429
- f.setImportLoading(!0), await Be().finally(() => {
430
- f.setImportLoading(!1);
429
+ _.setImportLoading(!0), await Be().finally(() => {
430
+ _.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"), 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, [
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"), G = n("el-form-item"), Q = n("el-col"), re = n("el-row"), nt = n("el-tree"), rt = n("el-form");
438
+ return k(), D(pe, null, [
439
439
  o("div", zt, [
440
440
  o("div", Ot, [
441
441
  o("div", Ut, [
@@ -448,22 +448,24 @@ 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: z
451
+ onClick: F
452
452
  }, {
453
- default: s(() => [...e[6] || (e[6] = [
454
- h("查询", -1)
455
- ])]),
456
- _: 1
453
+ default: s(() => e[6] || (e[6] = [
454
+ h("查询")
455
+ ])),
456
+ _: 1,
457
+ __: [6]
457
458
  }),
458
459
  t(p, {
459
460
  type: "primary",
460
461
  plain: "",
461
462
  onClick: ze
462
463
  }, {
463
- default: s(() => [...e[7] || (e[7] = [
464
- h("重置", -1)
465
- ])]),
466
- _: 1
464
+ default: s(() => e[7] || (e[7] = [
465
+ h("重置")
466
+ ])),
467
+ _: 1,
468
+ __: [7]
467
469
  })
468
470
  ])
469
471
  ]),
@@ -473,31 +475,34 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
473
475
  onClick: Ze
474
476
  }, {
475
477
  default: s(() => [
476
- e[8] || (e[8] = h(" 导入 ", -1)),
477
- t(w, { class: "el-icon--right" }, {
478
+ e[8] || (e[8] = h(" 导入 ")),
479
+ t(P, { class: "el-icon--right" }, {
478
480
  default: s(() => [
479
481
  t(c(ut))
480
482
  ]),
481
483
  _: 1
482
484
  })
483
485
  ]),
484
- _: 1
486
+ _: 1,
487
+ __: [8]
485
488
  }),
486
489
  t(ot, null, {
487
490
  dropdown: s(() => [
488
491
  t(ne, null, {
489
492
  default: s(() => [
490
493
  t(L, { onClick: at }, {
491
- default: s(() => [...e[10] || (e[10] = [
492
- h("导出模板", -1)
493
- ])]),
494
- _: 1
494
+ default: s(() => e[10] || (e[10] = [
495
+ h("导出模板")
496
+ ])),
497
+ _: 1,
498
+ __: [10]
495
499
  }),
496
500
  t(L, { onClick: tt }, {
497
- default: s(() => [...e[11] || (e[11] = [
498
- h("导出数据", -1)
499
- ])]),
500
- _: 1
501
+ default: s(() => e[11] || (e[11] = [
502
+ h("导出数据")
503
+ ])),
504
+ _: 1,
505
+ __: [11]
501
506
  })
502
507
  ]),
503
508
  _: 1
@@ -506,15 +511,16 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
506
511
  default: s(() => [
507
512
  t(p, { type: "primary" }, {
508
513
  default: s(() => [
509
- e[9] || (e[9] = h(" 导出 ", -1)),
510
- t(w, { class: "el-icon--right" }, {
514
+ e[9] || (e[9] = h(" 导出 ")),
515
+ t(P, { class: "el-icon--right" }, {
511
516
  default: s(() => [
512
517
  t(c(pt))
513
518
  ]),
514
519
  _: 1
515
520
  })
516
521
  ]),
517
- _: 1
522
+ _: 1,
523
+ __: [9]
518
524
  })
519
525
  ]),
520
526
  _: 1
@@ -528,59 +534,59 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
528
534
  ])
529
535
  ]),
530
536
  o("div", Kt, [
531
- o("div", Gt, [
537
+ o("div", jt, [
532
538
  t(st, {
533
539
  class: "role-table",
534
- data: _e.value,
540
+ data: fe.value,
535
541
  "empty-text": ""
536
542
  }, {
537
543
  default: s(() => [
538
- t(O, {
544
+ t(z, {
539
545
  prop: "name",
540
546
  label: "名称",
541
547
  align: "center"
542
548
  }),
543
- t(O, {
549
+ t(z, {
544
550
  prop: "code",
545
551
  label: "编码",
546
552
  align: "center"
547
553
  }),
548
- t(O, {
554
+ t(z, {
549
555
  prop: "remark",
550
556
  label: "备注",
551
557
  align: "center"
552
558
  }),
553
- t(O, {
559
+ t(z, {
554
560
  prop: "status",
555
561
  label: "状态",
556
562
  align: "center"
557
563
  }, {
558
564
  default: s((r) => [
559
- t(U, {
565
+ t(O, {
560
566
  class: "status-tag",
561
567
  type: c(Z)(r.row.status),
562
568
  title: "点击切换",
563
- onClick: (i) => Qe(r.row)
569
+ onClick: (i) => Ge(r.row)
564
570
  }, {
565
571
  default: s(() => [
566
- h(N(c(Y)(r.row.status)), 1)
572
+ h(A(c(Y)(r.row.status)), 1)
567
573
  ]),
568
574
  _: 2
569
575
  }, 1032, ["type", "onClick"])
570
576
  ]),
571
577
  _: 1
572
578
  }),
573
- t(O, {
579
+ t(z, {
574
580
  label: "操作",
575
581
  align: "center"
576
582
  }, {
577
583
  default: s((r) => [
578
- o("div", Qt, [
579
- (k(!0), x(pe, null, De(c(ft), (i) => (k(), x("div", {
584
+ o("div", Gt, [
585
+ (k(!0), D(pe, null, xe(c(_t), (i) => (k(), D("div", {
580
586
  class: "operate-item",
581
587
  key: i.value,
582
588
  onClick: ct((ie) => We(i, r), ["stop"])
583
- }, N(i.label), 9, jt))), 128))
589
+ }, A(i.label), 9, Qt))), 128))
584
590
  ])
585
591
  ]),
586
592
  _: 1
@@ -607,7 +613,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
607
613
  o("div", { class: "footer-right" })
608
614
  ], -1))
609
615
  ]),
610
- t(fe, {
616
+ t(_e, {
611
617
  class: "role-edit-dialog",
612
618
  visible: oe.value,
613
619
  title: "角色信息",
@@ -637,9 +643,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
637
643
  default: s(() => [
638
644
  t(re, { gutter: 20 }, {
639
645
  default: s(() => [
640
- t(j, { span: 12 }, {
646
+ t(Q, { span: 12 }, {
641
647
  default: s(() => [
642
- t(Q, {
648
+ t(G, {
643
649
  prop: "name",
644
650
  label: "角色名称",
645
651
  "label-position": "top"
@@ -657,9 +663,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
657
663
  ]),
658
664
  _: 1
659
665
  }),
660
- t(j, { span: 12 }, {
666
+ t(Q, { span: 12 }, {
661
667
  default: s(() => [
662
- t(Q, {
668
+ t(G, {
663
669
  label: "角色编码",
664
670
  "label-position": "top"
665
671
  }, {
@@ -681,9 +687,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
681
687
  }),
682
688
  t(re, { gutter: 20 }, {
683
689
  default: s(() => [
684
- t(j, { span: 12 }, {
690
+ t(Q, { span: 12 }, {
685
691
  default: s(() => [
686
- t(Q, {
692
+ t(G, {
687
693
  label: "备注",
688
694
  "label-position": "top"
689
695
  }, {
@@ -708,9 +714,9 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
708
714
  gutter: 20
709
715
  }, {
710
716
  default: s(() => [
711
- t(j, { span: 24 }, {
717
+ t(Q, { span: 24 }, {
712
718
  default: s(() => [
713
- t(Q, {
719
+ t(G, {
714
720
  label: "特性权限",
715
721
  "label-position": "top"
716
722
  }, {
@@ -721,7 +727,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
721
727
  "onUpdate:modelValue": e[5] || (e[5] = (r) => q.value = r)
722
728
  }, {
723
729
  prefix: s(() => [
724
- t(w, { class: "el-input__icon" }, {
730
+ t(P, { class: "el-input__icon" }, {
725
731
  default: s(() => [
726
732
  t(c(mt))
727
733
  ]),
@@ -747,56 +753,59 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
747
753
  return [
748
754
  o("div", Zt, [
749
755
  o("div", ea, [
750
- o("div", ta, N(r.label), 1)
756
+ o("div", ta, A(r.label), 1)
751
757
  ]),
752
- i.isPropertyLeaf && se(i) ? (k(), x("div", aa, [
753
- t(U, {
758
+ i.isPropertyLeaf && se(i) ? (k(), D("div", aa, [
759
+ t(O, {
754
760
  class: "status-tag",
755
761
  type: c(te)(i.status),
756
762
  title: "点击切换",
757
763
  onClick: (I) => Xe(I, i)
758
764
  }, {
759
765
  default: s(() => [
760
- h(N(c(ee)(i.status)), 1)
766
+ h(A(c(ee)(i.status)), 1)
761
767
  ]),
762
768
  _: 2
763
769
  }, 1032, ["type", "onClick"])
764
770
  ])) : H("", !0),
765
- i.isProperty && se(i) && ((ie = i.params) == null ? void 0 : ie.length) > 0 ? (k(), x("div", oa, [
766
- t(U, {
771
+ i.isProperty && se(i) && ((ie = i.params) == null ? void 0 : ie.length) > 0 ? (k(), D("div", oa, [
772
+ t(O, {
767
773
  class: "status-tag",
768
774
  type: "success",
769
775
  onClick: (I) => Me(I, i)
770
776
  }, {
771
- default: s(() => [...e[14] || (e[14] = [
772
- h(" 参数设置 ", -1)
773
- ])]),
774
- _: 1
775
- }, 8, ["onClick"])
777
+ default: s(() => e[14] || (e[14] = [
778
+ h(" 参数设置 ")
779
+ ])),
780
+ _: 2,
781
+ __: [14]
782
+ }, 1032, ["onClick"])
776
783
  ])) : H("", !0),
777
- i.isPropertyLeaf && se(i) && c($e)(i) ? (k(), x("div", sa, [
778
- t(U, {
784
+ i.isPropertyLeaf && se(i) && c($e)(i) ? (k(), D("div", sa, [
785
+ t(O, {
779
786
  class: "status-tag",
780
787
  type: "warning",
781
788
  onClick: (I) => be(I, i)
782
789
  }, {
783
- default: s(() => [...e[15] || (e[15] = [
784
- h(" 数据权限 ", -1)
785
- ])]),
786
- _: 1
787
- }, 8, ["onClick"])
790
+ default: s(() => e[15] || (e[15] = [
791
+ h(" 数据权限 ")
792
+ ])),
793
+ _: 2,
794
+ __: [15]
795
+ }, 1032, ["onClick"])
788
796
  ])) : H("", !0),
789
- r.level == 1 && r.checked && !i.isProperty ? (k(), x("div", la, [
790
- t(U, {
797
+ r.level == 1 && r.checked && !i.isProperty ? (k(), D("div", la, [
798
+ t(O, {
791
799
  class: "status-tag",
792
800
  type: "warning",
793
801
  onClick: (I) => be(I, i)
794
802
  }, {
795
- default: s(() => [...e[16] || (e[16] = [
796
- h(" 数据权限重置 ", -1)
797
- ])]),
798
- _: 1
799
- }, 8, ["onClick"])
803
+ default: s(() => e[16] || (e[16] = [
804
+ h(" 数据权限重置 ")
805
+ ])),
806
+ _: 2,
807
+ __: [16]
808
+ }, 1032, ["onClick"])
800
809
  ])) : H("", !0)
801
810
  ])
802
811
  ];
@@ -834,7 +843,7 @@ const yt = { class: "param-auth" }, ht = { class: "body" }, kt = { class: "node-
834
843
  t(B, {
835
844
  class: "confirm",
836
845
  emptyColor: !0,
837
- onClickTrigger: Ge,
846
+ onClickTrigger: je,
838
847
  modelValue: "确定",
839
848
  buttonType: "primary"
840
849
  })