@pubinfo/module-rbac 2.0.15 → 2.1.0

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 (44) hide show
  1. package/dist/{HoverCard-DASfDgI1.js → HoverCard-7agF2aDO.js} +1 -1
  2. package/dist/{HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js → HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js} +1 -1
  3. package/dist/{LayoutForm-C-vNwp3q.js → LayoutForm-Pv6UyKl3.js} +1 -1
  4. package/dist/MetaForm-CdjGvTzO.js +42387 -0
  5. package/dist/MetaForm.css +1 -1
  6. package/dist/{OrgAndPosition-DjF_gcp6.js → OrgAndPosition-R-YixdXG.js} +1 -1
  7. package/dist/{OrgAndPosition.vue_vue_type_script_setup_true_lang-CFSDHn40.js → OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js} +1 -1
  8. package/dist/{ResourceEdit-D2YFu-Gk.js → ResourceEdit-DmhCeCzZ.js} +1 -1
  9. package/dist/{ResourceEdit.vue_vue_type_script_setup_true_lang-Cb0mKIlJ.js → ResourceEdit.vue_vue_type_script_setup_true_lang-Bf5bFQcG.js} +2 -2
  10. package/dist/{UserAuthorization-rqttVub5.js → UserAuthorization-Ch_iKzms.js} +1 -1
  11. package/dist/{UserEdit-DkNVPVA4.js → UserEdit-B1fnFcSC.js} +1 -1
  12. package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +315 -0
  13. package/dist/{drawerBlackWhiteList-Cr16yNs8.js → drawerBlackWhiteList-eWyKScZN.js} +1 -1
  14. package/dist/{drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-BR6Yeiie.js → drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js} +17 -16
  15. package/dist/{drawerPosition-BYypSGoF.js → drawerPosition-BA_gLotd.js} +1 -1
  16. package/dist/{drawerPosition.vue_vue_type_script_setup_true_lang-DcZ48XJV.js → drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js} +1 -1
  17. package/dist/{drawerRegion-BiIlYQ0Z.js → drawerRegion-CauOP4lh.js} +1 -1
  18. package/dist/{drawerRegion.vue_vue_type_script_setup_true_lang-BwAj_RKw.js → drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js} +50 -48
  19. package/dist/gangweijiekou-CUGlx4Ni.js +48 -0
  20. package/dist/{index-qn7U9T51.js → index-B0zXLUdu.js} +25 -25
  21. package/dist/{index-Cqkr8Rvk.js → index-BhZNbJp6.js} +1 -1
  22. package/dist/{index-nAPHtTM7.js → index-Bm3WQuJD.js} +1 -1
  23. package/dist/{index-BPkJOFXE.js → index-CW5BpDeG.js} +1 -1
  24. package/dist/{index-DoFuRlsc.js → index-iBmBJd50.js} +2 -2
  25. package/dist/index.js +65 -40
  26. package/dist/index17.css +1 -1
  27. package/dist/isEmpty-BgDIb4aS.js +20 -0
  28. package/dist/vanilla-picker-BAEwS4Fy.js +536 -0
  29. package/dist/views/resource/model.d.ts +1 -0
  30. package/package.json +4 -3
  31. package/src/api/modules/assist/qunzujiekou.ts +3 -0
  32. package/src/api/modules/assist/quyujiekou.ts +2 -0
  33. package/src/api/modules/configData/heibaimingdanfuwu.ts +2 -0
  34. package/src/api/modules/configData/zidifuwu.ts +4 -0
  35. package/src/api/modules/rbac/gangweijiekou.ts +3 -0
  36. package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +2 -0
  37. package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +1 -0
  38. package/src/components/JsonEditorModal/index.vue +54 -0
  39. package/src/views/resource/components/HoverCard.vue +1 -1
  40. package/src/views/resource/components/MetaForm.vue +24 -0
  41. package/src/views/resource/model.ts +2 -0
  42. package/dist/MetaForm-13JASu7v.js +0 -401
  43. package/dist/UserEdit.vue_vue_type_script_setup_true_lang-CFs0SxVJ.js +0 -330
  44. package/dist/gangweijiekou-Cs016LjQ.js +0 -46
@@ -1,51 +1,53 @@
1
1
  import { Drawer as k, Form as S, FormItem as A, Input as j, Select as F, InputNumber as X, Space as M, Button as O } from "ant-design-vue/es";
2
- import { defineComponent as z, reactive as H, ref as b, createBlock as q, openBlock as w, unref as t, isRef as J, withCtx as l, createVNode as a, createCommentVNode as K, createTextVNode as y, toDisplayString as Q } from "vue";
3
- import { message as W } from "ant-design-vue";
4
- import { b as f, u as E, q as Y } from "./index.js";
5
- function Z(o, i) {
6
- return f.Post("/region/addRegion", o, {
2
+ import { defineComponent as h, reactive as z, ref as b, createBlock as q, openBlock as w, unref as t, isRef as H, withCtx as l, createVNode as o, createCommentVNode as J, createTextVNode as y, toDisplayString as K } from "vue";
3
+ import { message as Q } from "ant-design-vue";
4
+ import { b as f, u as E, q as W } from "./index.js";
5
+ function Y(a, i) {
6
+ return f.Post("/region/addRegion", a, {
7
7
  headers: {
8
8
  "Content-Type": "application/json"
9
9
  },
10
10
  ...i || {}
11
11
  });
12
12
  }
13
- function re(o, i) {
14
- const { code: p, ...m } = o;
13
+ function re(a, i) {
14
+ const { code: p, ...m } = a;
15
15
  return f.Get(`/region/deleteRegion/${p}`, {
16
- params: { ...m }
16
+ params: { ...m },
17
+ meta: { pathParams: [p] }
17
18
  });
18
19
  }
19
- function le(o, i) {
20
+ function le(a, i) {
20
21
  return f.Get("/region/getListByParentId", {
21
22
  params: {
22
23
  // parentId has a default value: 0
23
24
  parentId: "0",
24
- ...o
25
+ ...a
25
26
  }
26
27
  });
27
28
  }
28
- function h(o, i) {
29
- const { code: p, ...m } = o;
29
+ function Z(a, i) {
30
+ const { code: p, ...m } = a;
30
31
  return f.Get(`/region/getRegionDetail/${p}`, {
31
- params: { ...m }
32
+ params: { ...m },
33
+ meta: { pathParams: [p] }
32
34
  });
33
35
  }
34
- function ee(o, i) {
35
- return f.Post("/region/updateRegion", o, {
36
+ function ee(a, i) {
37
+ return f.Post("/region/updateRegion", a, {
36
38
  headers: {
37
39
  "Content-Type": "application/json"
38
40
  },
39
41
  ...i || {}
40
42
  });
41
43
  }
42
- var g = /* @__PURE__ */ ((o) => (o.ADD = "新增", o.EDIT = "编辑", o.REMOVE = "删除", o.ADDNEXT = "新建下级", o))(g || {});
43
- const se = /* @__PURE__ */ z({
44
+ var g = /* @__PURE__ */ ((a) => (a.ADD = "新增", a.EDIT = "编辑", a.REMOVE = "删除", a.ADDNEXT = "新建下级", a))(g || {});
45
+ const se = /* @__PURE__ */ h({
44
46
  name: "DrawerRegion",
45
47
  __name: "drawerRegion",
46
48
  emits: ["submit"],
47
- setup(o, { expose: i, emit: p }) {
48
- const m = p, T = {
49
+ setup(a, { expose: i, emit: p }) {
50
+ const m = p, P = {
49
51
  name: [
50
52
  { required: !0, message: "请输入区域名称", trigger: "blur" },
51
53
  { max: 128, message: "长度不能超过128位", trigger: "change" }
@@ -59,19 +61,19 @@ const se = /* @__PURE__ */ z({
59
61
  { required: !0, message: "请输入行政区划编码", trigger: "blur" },
60
62
  { max: 16, message: "长度不能超过16位", trigger: "change" }
61
63
  ]
62
- }, d = H({
64
+ }, d = z({
63
65
  title: "",
64
66
  type: ""
65
67
  }), [c, _] = E(!1), R = b(), n = b({ parentId: "" }), D = b([]);
66
- Y({ dictCode: "regionType" }).then((u) => {
68
+ W({ dictCode: "regionType" }).then((u) => {
67
69
  D.value = u.data?.map((e) => ({
68
70
  label: e.dictLabel,
69
71
  value: e.dictValue
70
72
  }));
71
73
  });
72
- async function B(u, e) {
74
+ async function T(u, e) {
73
75
  if (_(!0), d.title = u, u === g.EDIT) {
74
- const s = await h({ code: e?.code });
76
+ const s = await Z({ code: e?.code });
75
77
  s.success && (n.value = s.data ?? {});
76
78
  } else u === g.ADDNEXT ? n.value = {
77
79
  parentName: e?.name,
@@ -80,14 +82,14 @@ const se = /* @__PURE__ */ z({
80
82
  parentId: ""
81
83
  };
82
84
  }
83
- const [U, I] = E(!1);
84
- function P() {
85
- const u = d.title === g.EDIT ? ee : Z;
85
+ const [B, I] = E(!1);
86
+ function U() {
87
+ const u = d.title === g.EDIT ? ee : Y;
86
88
  R.value?.validate().then(() => {
87
89
  I(!0);
88
90
  const e = { ...n.value };
89
91
  u(e).then((s) => {
90
- s.success && (W.success(`${d.title}成功!`), _(!1), m("submit"));
92
+ s.success && (Q.success(`${d.title}成功!`), _(!1), m("submit"));
91
93
  }).finally(() => I(!1));
92
94
  });
93
95
  }
@@ -97,12 +99,12 @@ const se = /* @__PURE__ */ z({
97
99
  }, _(!1);
98
100
  }
99
101
  return i({
100
- open: B
102
+ open: T
101
103
  }), (u, e) => {
102
104
  const s = A, v = j, G = F, L = X, N = S, C = O, V = M, $ = k;
103
105
  return w(), q($, {
104
106
  open: t(c),
105
- "onUpdate:open": e[6] || (e[6] = (r) => J(c) ? c.value = r : null),
107
+ "onUpdate:open": e[6] || (e[6] = (r) => H(c) ? c.value = r : null),
106
108
  title: `${t(d).title}区域`,
107
109
  placement: "right",
108
110
  width: 600,
@@ -111,19 +113,19 @@ const se = /* @__PURE__ */ z({
111
113
  onClose: x
112
114
  }, {
113
115
  footer: l(() => [
114
- a(V, null, {
116
+ o(V, null, {
115
117
  default: l(() => [
116
- a(C, { onClick: x }, {
118
+ o(C, { onClick: x }, {
117
119
  default: l(() => e[7] || (e[7] = [
118
120
  y(" 取消 ")
119
121
  ])),
120
122
  _: 1,
121
123
  __: [7]
122
124
  }),
123
- a(C, {
125
+ o(C, {
124
126
  type: "primary",
125
- loading: t(U),
126
- onClick: e[5] || (e[5] = (r) => P())
127
+ loading: t(B),
128
+ onClick: e[5] || (e[5] = (r) => U())
127
129
  }, {
128
130
  default: l(() => e[8] || (e[8] = [
129
131
  y(" 提交 ")
@@ -136,11 +138,11 @@ const se = /* @__PURE__ */ z({
136
138
  })
137
139
  ]),
138
140
  default: l(() => [
139
- a(N, {
141
+ o(N, {
140
142
  ref_key: "formRef",
141
143
  ref: R,
142
144
  model: t(n),
143
- rules: T,
145
+ rules: P,
144
146
  "label-col": { span: 5 },
145
147
  "label-wrap": !0
146
148
  }, {
@@ -150,16 +152,16 @@ const se = /* @__PURE__ */ z({
150
152
  label: "上级区域"
151
153
  }, {
152
154
  default: l(() => [
153
- y(Q(t(n).parentName), 1)
155
+ y(K(t(n).parentName), 1)
154
156
  ]),
155
157
  _: 1
156
- })) : K("", !0),
157
- a(s, {
158
+ })) : J("", !0),
159
+ o(s, {
158
160
  label: "区域名称",
159
161
  name: "name"
160
162
  }, {
161
163
  default: l(() => [
162
- a(v, {
164
+ o(v, {
163
165
  value: t(n).name,
164
166
  "onUpdate:value": e[0] || (e[0] = (r) => t(n).name = r),
165
167
  maxlength: 128
@@ -167,12 +169,12 @@ const se = /* @__PURE__ */ z({
167
169
  ]),
168
170
  _: 1
169
171
  }),
170
- a(s, {
172
+ o(s, {
171
173
  label: "区域范围",
172
174
  name: "type"
173
175
  }, {
174
176
  default: l(() => [
175
- a(G, {
177
+ o(G, {
176
178
  value: t(n).type,
177
179
  "onUpdate:value": e[1] || (e[1] = (r) => t(n).type = r),
178
180
  options: t(D)
@@ -180,12 +182,12 @@ const se = /* @__PURE__ */ z({
180
182
  ]),
181
183
  _: 1
182
184
  }),
183
- a(s, {
185
+ o(s, {
184
186
  label: "区域编码",
185
187
  name: "regionCode"
186
188
  }, {
187
189
  default: l(() => [
188
- a(v, {
190
+ o(v, {
189
191
  value: t(n).regionCode,
190
192
  "onUpdate:value": e[2] || (e[2] = (r) => t(n).regionCode = r),
191
193
  maxlength: 16
@@ -193,12 +195,12 @@ const se = /* @__PURE__ */ z({
193
195
  ]),
194
196
  _: 1
195
197
  }),
196
- a(s, {
198
+ o(s, {
197
199
  label: "行政区划编码",
198
200
  name: "code"
199
201
  }, {
200
202
  default: l(() => [
201
- a(v, {
203
+ o(v, {
202
204
  value: t(n).code,
203
205
  "onUpdate:value": e[3] || (e[3] = (r) => t(n).code = r),
204
206
  disabled: t(d).title === t(g).EDIT,
@@ -207,9 +209,9 @@ const se = /* @__PURE__ */ z({
207
209
  ]),
208
210
  _: 1
209
211
  }),
210
- a(s, { label: "排序" }, {
212
+ o(s, { label: "排序" }, {
211
213
  default: l(() => [
212
- a(L, {
214
+ o(L, {
213
215
  value: t(n).sort,
214
216
  "onUpdate:value": e[4] || (e[4] = (r) => t(n).sort = r)
215
217
  }, null, 8, ["value"])
@@ -0,0 +1,48 @@
1
+ import { b as e } from "./index.js";
2
+ function r(t, a) {
3
+ const { id: s, ...o } = t;
4
+ return e.Delete(
5
+ `/rbac/post/delete/${s}`,
6
+ {},
7
+ {
8
+ params: { ...o },
9
+ meta: { pathParams: [s] }
10
+ }
11
+ );
12
+ }
13
+ function p(t, a) {
14
+ const { id: s, ...o } = t;
15
+ return e.Get(`/rbac/post/detail/${s}`, {
16
+ params: { ...o },
17
+ meta: { pathParams: [s] }
18
+ });
19
+ }
20
+ function i(t, a) {
21
+ return e.Post("/rbac/post/findPage", t, {
22
+ headers: {
23
+ "Content-Type": "application/json"
24
+ }
25
+ });
26
+ }
27
+ function c(t, a) {
28
+ return e.Get("/rbac/post/list", {
29
+ params: {
30
+ ...t
31
+ },
32
+ ...a || {}
33
+ });
34
+ }
35
+ function b(t, a) {
36
+ return e.Post("/rbac/post/save", t, {
37
+ headers: {
38
+ "Content-Type": "application/json"
39
+ }
40
+ });
41
+ }
42
+ export {
43
+ b as a,
44
+ c as b,
45
+ r as d,
46
+ p as g,
47
+ i as p
48
+ };
@@ -1,27 +1,27 @@
1
1
  import { Card as H, Spin as Z, Empty as j, Tree as q, Row as F, Col as X, Space as G, Button as J } from "ant-design-vue/es";
2
2
  import { useAuth as K, PubinfoIcon as Q } from "pubinfo";
3
3
  import { PlusCircleOutlined as Y } from "@ant-design/icons-vue";
4
- import { defineComponent as N, ref as h, onMounted as ee, createBlock as C, openBlock as r, withCtx as l, createVNode as a, unref as n, mergeProps as te, createElementVNode as x, toDisplayString as R, resolveDirective as ne, createElementBlock as w, createCommentVNode as T, withDirectives as D, createTextVNode as ae, isVNode as se } from "vue";
5
- import { u as oe, l as re, _ as le, x as ie, y as ce, z as ue } from "./index.js";
4
+ import { defineComponent as z, ref as h, onMounted as ee, createBlock as C, openBlock as r, withCtx as l, createVNode as a, unref as n, mergeProps as te, createElementVNode as x, toDisplayString as R, resolveDirective as ne, createElementBlock as w, createCommentVNode as T, withDirectives as D, createTextVNode as ae, isVNode as se } from "vue";
5
+ import { u as oe, l as re, _ as le, a0 as ie, a1 as ce, a2 as ue } from "./index.js";
6
6
  import { ProTable as de } from "@pubinfo/pro-components";
7
- import { Popover as pe, Space as _e, Badge as V, Modal as z, message as M } from "ant-design-vue";
8
- import fe from "./UserAuthorization-rqttVub5.js";
9
- import { A as t, _ as me } from "./UserEdit.vue_vue_type_script_setup_true_lang-CFs0SxVJ.js";
10
- import './index15.css';const he = { class: "flex w-full items-center overflow-hidden" }, ge = ["title"], ve = /* @__PURE__ */ N({
7
+ import { Popover as pe, Space as _e, Badge as V, Modal as M, message as N } from "ant-design-vue";
8
+ import fe from "./UserAuthorization-Ch_iKzms.js";
9
+ import { A as t, _ as me } from "./UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js";
10
+ import './index15.css';const he = { class: "flex w-full items-center overflow-hidden" }, ge = ["title"], ve = /* @__PURE__ */ z({
11
11
  name: "OrgTree",
12
12
  __name: "index",
13
13
  props: {
14
14
  auth: {}
15
15
  },
16
16
  setup(g) {
17
- const U = g, p = h([]), [v, y] = oe(!1);
18
- function I(o) {
17
+ const U = g, p = h([]), [v, I] = oe(!1);
18
+ function y(o) {
19
19
  return new Promise((_, b) => {
20
20
  if (o?.dataRef?.children) {
21
21
  _();
22
22
  return;
23
23
  }
24
- y(!0), re(
24
+ I(!0), re(
25
25
  {
26
26
  parentId: o?.dataRef?.id,
27
27
  enable: !0
@@ -35,7 +35,7 @@ import './index15.css';const he = { class: "flex w-full items-center overflow-hi
35
35
  o?.dataRef ? o.dataRef.children = i : p.value = i;
36
36
  }
37
37
  p.value = [...p.value], _();
38
- }).catch(b).finally(() => y(!1));
38
+ }).catch(b).finally(() => I(!1));
39
39
  });
40
40
  }
41
41
  function P(o) {
@@ -46,7 +46,7 @@ import './index15.css';const he = { class: "flex w-full items-center overflow-hi
46
46
  };
47
47
  }
48
48
  return ee(() => {
49
- I();
49
+ y();
50
50
  }), (o, _) => {
51
51
  const b = j, u = q, i = Z, f = H;
52
52
  return r(), C(f, {
@@ -58,7 +58,7 @@ import './index15.css';const he = { class: "flex w-full items-center overflow-hi
58
58
  default: l(() => [
59
59
  n(p).length === 0 ? (r(), C(b, { key: 0 })) : (r(), C(u, te({ key: 1 }, o.$attrs, {
60
60
  "block-node": "",
61
- "load-data": I,
61
+ "load-data": y,
62
62
  "tree-data": n(p),
63
63
  "field-names": { children: "children", title: "name", key: "id" }
64
64
  }), {
@@ -86,11 +86,11 @@ import './index15.css';const he = { class: "flex w-full items-center overflow-hi
86
86
  "py-10px": "",
87
87
  "px-10px": "",
88
88
  "overflow-hidden": ""
89
- }, ye = ["onClick"], Ie = ["onClick"], be = ["onClick"], Ee = ["onClick"];
89
+ }, Ie = ["onClick"], ye = ["onClick"], be = ["onClick"], Ee = ["onClick"];
90
90
  function Se(g) {
91
91
  return typeof g == "function" || Object.prototype.toString.call(g) === "[object Object]" && !se(g);
92
92
  }
93
- const $e = /* @__PURE__ */ N({
93
+ const $e = /* @__PURE__ */ z({
94
94
  name: "User",
95
95
  __name: "index",
96
96
  setup(g) {
@@ -177,7 +177,7 @@ const $e = /* @__PURE__ */ N({
177
177
  hideInTable() {
178
178
  return !U(["user_authorize", "user_reset_password", "user_edit", "user_remove"]);
179
179
  }
180
- }], v = h({}), y = h({}), I = h({}), P = h();
180
+ }], v = h({}), I = h({}), y = h({}), P = h();
181
181
  async function o(s) {
182
182
  const {
183
183
  current: e,
@@ -187,7 +187,7 @@ const $e = /* @__PURE__ */ N({
187
187
  currentPage: e,
188
188
  pageSize: c,
189
189
  orgId: v.value?.orgId,
190
- ...I.value,
190
+ ...y.value,
191
191
  ...E
192
192
  });
193
193
  return {
@@ -214,31 +214,31 @@ const $e = /* @__PURE__ */ N({
214
214
  u.value.open(s);
215
215
  break;
216
216
  case t.AUTHORIZE:
217
- e && (y.value = e), i.value && i.value.open && i.value.open();
217
+ e && (I.value = e), i.value && i.value.open && i.value.open();
218
218
  break;
219
219
  case t.EDIT:
220
220
  u.value.open(s, e);
221
221
  break;
222
222
  case t.RESET_PASSWORD:
223
- z.confirm({
223
+ M.confirm({
224
224
  title: "重置密码",
225
225
  content: "确定要重置该用户密码吗?",
226
226
  async onOk() {
227
227
  (await ue({
228
228
  userId: e?.id
229
- })).success && M.success("重置密码成功");
229
+ })).success && N.success("重置密码成功");
230
230
  }
231
231
  });
232
232
  break;
233
233
  case t.REMOVE: {
234
234
  const c = e?.userOrgList && e.userOrgList?.length > 1;
235
- z.confirm({
235
+ M.confirm({
236
236
  title: "删除",
237
237
  content: `确定要删除该用户吗?${c ? "该用户存在多个组织下,若只需移除组织,请在编辑中操作。" : ""}`,
238
238
  async onOk() {
239
239
  (await ce({
240
240
  userId: e?.id
241
- })).success && (M.success("删除成功"), _());
241
+ })).success && (N.success("删除成功"), _());
242
242
  }
243
243
  });
244
244
  break;
@@ -260,7 +260,7 @@ const $e = /* @__PURE__ */ N({
260
260
  class: "h-full overflow-hidden"
261
261
  }, {
262
262
  default: l(() => [a(c, {
263
- "select-keys": [n(I).orgId],
263
+ "select-keys": [n(y).orgId],
264
264
  bordered: !1,
265
265
  auth: "organization",
266
266
  onSelect: b
@@ -302,7 +302,7 @@ const $e = /* @__PURE__ */ N({
302
302
  name: "authorize",
303
303
  "mr-1": "",
304
304
  "text-base": ""
305
- }), x("span", null, R(n(t).AUTHORIZE), 1)], 8, ye)), [[k, "user_authorize"]]) : T("", !0), m(n(t).RESET_PASSWORD, d) ? D((r(), w("a", {
305
+ }), x("span", null, R(n(t).AUTHORIZE), 1)], 8, Ie)), [[k, "user_authorize"]]) : T("", !0), m(n(t).RESET_PASSWORD, d) ? D((r(), w("a", {
306
306
  key: 1,
307
307
  class: "flex items-center",
308
308
  onClick: ($) => f(n(t).RESET_PASSWORD, d)
@@ -310,7 +310,7 @@ const $e = /* @__PURE__ */ N({
310
310
  name: "i-ci-arrows-reload-01",
311
311
  "mr-1": "",
312
312
  "text-base": ""
313
- }), x("span", null, R(n(t).RESET_PASSWORD), 1)], 8, Ie)), [[k, "user_reset_password"]]) : T("", !0), m(n(t).EDIT, d) ? D((r(), w("a", {
313
+ }), x("span", null, R(n(t).RESET_PASSWORD), 1)], 8, ye)), [[k, "user_reset_password"]]) : T("", !0), m(n(t).EDIT, d) ? D((r(), w("a", {
314
314
  key: 2,
315
315
  class: "flex items-center",
316
316
  onClick: ($) => f(n(t).EDIT, d)
@@ -340,7 +340,7 @@ const $e = /* @__PURE__ */ N({
340
340
  }, null, 8, ["current-org"]), a(fe, {
341
341
  ref_key: "authorizationRef",
342
342
  ref: i,
343
- "user-id": n(y).id || ""
343
+ "user-id": n(I).id || ""
344
344
  }, null, 8, ["user-id"])]);
345
345
  };
346
346
  }
@@ -5,7 +5,7 @@ import { defineComponent as q, ref as d, resolveDirective as L, createElementBlo
5
5
  import { ProTable as G } from "@pubinfo/pro-components";
6
6
  import { Modal as K, message as z } from "ant-design-vue";
7
7
  import "./index.js";
8
- import { A as o, _ as F, g as H, a as J } from "./drawerRegion.vue_vue_type_script_setup_true_lang-BwAj_RKw.js";
8
+ import { A as o, _ as F, g as H, a as J } from "./drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js";
9
9
  import { c as Q } from "./cloneDeep-BOLZdR62.js";
10
10
  const U = {
11
11
  "w-full": "",
@@ -4,7 +4,7 @@ import { PlusCircleOutlined as J } from "@ant-design/icons-vue";
4
4
  import { defineComponent as Q, ref as L, computed as u, resolveDirective as X, createElementBlock as p, openBlock as i, createVNode as d, unref as e, withCtx as E, createCommentVNode as T, createBlock as W, createElementVNode as f, normalizeClass as Y, toDisplayString as m, withDirectives as b, createTextVNode as Z } from "vue";
5
5
  import { ProTable as ee } from "@pubinfo/pro-components";
6
6
  import { message as V, Modal as te } from "ant-design-vue";
7
- import { _ as se, p as ae, a as le, g as ne } from "./drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-BR6Yeiie.js";
7
+ import { _ as se, p as ae, a as le, g as ne } from "./drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js";
8
8
  import { u as ie, _ as oe } from "./index.js";
9
9
  import { useRoute as ce } from "vue-router";
10
10
  import './index.css';var t = /* @__PURE__ */ ((o) => (o.ADD = "新增", o.EDIT = "编辑", o.REMOVE = "删除", o.ENABLE = "启用", o.DISABLE = "停用", o))(t || {});
@@ -7,7 +7,7 @@ import { useAuth as j, PubinfoIcon as I, RESOURCE_TYPE as T } from "pubinfo";
7
7
  import "./index.js";
8
8
  import { b as G, c as J } from "./ziyuanjiekou-BC65-bFK.js";
9
9
  import { _ as Q } from "./ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js";
10
- import { _ as W } from "./ResourceEdit.vue_vue_type_script_setup_true_lang-Cb0mKIlJ.js";
10
+ import { _ as W } from "./ResourceEdit.vue_vue_type_script_setup_true_lang-Bf5bFQcG.js";
11
11
  import { _ as Z } from "./RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js";
12
12
  import { r as L, A as t, R as ee } from "./enum-D5iPiZiT.js";
13
13
  import { c as te } from "./cloneDeep-BOLZdR62.js";
@@ -4,9 +4,9 @@ import { PlusCircleOutlined as V } from "@ant-design/icons-vue";
4
4
  import { defineComponent as B, ref as y, resolveDirective as M, createElementBlock as l, openBlock as a, createVNode as o, unref as s, withCtx as d, createCommentVNode as k, createBlock as D, createElementVNode as x, toDisplayString as u, withDirectives as I, createTextVNode as N } from "vue";
5
5
  import { ProTable as W } from "@pubinfo/pro-components";
6
6
  import { Badge as P, Modal as $, message as q } from "ant-design-vue";
7
- import { p as F, d as z } from "./gangweijiekou-Cs016LjQ.js";
7
+ import { p as F, d as z } from "./gangweijiekou-CUGlx4Ni.js";
8
8
  import "./index.js";
9
- import { A as t, _ as j } from "./drawerPosition.vue_vue_type_script_setup_true_lang-DcZ48XJV.js";
9
+ import { A as t, _ as j } from "./drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js";
10
10
  const G = {
11
11
  "py-10px": "",
12
12
  "px-10px": "",