dlzn-ui 2.0.90 → 2.0.91

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 (158) hide show
  1. package/assets/pagination-BpKuirTF.css +1 -0
  2. package/assets/table-CVArV2Pt.css +1 -0
  3. package/chunks/{AssignUser-C1TJqI7T.mjs → AssignUser-Cba5vAl1.mjs} +14 -14
  4. package/chunks/{BasicInfo-ieKCaGwH.mjs → BasicInfo-Bvq-HQJ_.mjs} +1 -1
  5. package/chunks/{ColumnInfo-BhkorfJI.mjs → ColumnInfo-CRLX-mvV.mjs} +2 -2
  6. package/chunks/{Common-BvSQiKo2.mjs → Common-Bq9qdi2i.mjs} +1 -1
  7. package/chunks/{Day-CTBFWJIV.mjs → Day-BUVcUtFu.mjs} +1 -1
  8. package/chunks/{DictTypeDetail-BgfdUvJ-.mjs → DictTypeDetail-BcE2-B5V.mjs} +8 -8
  9. package/chunks/{GenInfo-hM-odgqv.mjs → GenInfo-DJq_EewR.mjs} +1 -1
  10. package/chunks/{Hour-BCoOdrBX.mjs → Hour-CwQQPXaR.mjs} +1 -1
  11. package/chunks/{Import-DXsRyeub.mjs → Import-rJdKqVqG.mjs} +2 -2
  12. package/chunks/{Index-DZAUiAs7.mjs → Index-C_K9w486.mjs} +1 -1
  13. package/chunks/{Index-_rLBm48m.mjs → Index-DVPHy-2h.mjs} +1 -1
  14. package/chunks/{Index-CrYhNcWE.mjs → Index-Wsuv1_GI.mjs} +1 -1
  15. package/chunks/{Index-C8rKiUnc.mjs → Index-xm96pJY-.mjs} +1 -1
  16. package/chunks/{IndexItem-BERW_4wf.mjs → IndexItem-mkv5naiz.mjs} +1 -1
  17. package/chunks/{Log-BgqKjZhH.mjs → Log-i0vc4tLi.mjs} +11 -11
  18. package/chunks/{LoginBg-DbmOre6P.mjs → LoginBg-BtYLzpau.mjs} +1 -1
  19. package/chunks/{Minute-Br6DyEnJ.mjs → Minute-DVOyQfoM.mjs} +1 -1
  20. package/chunks/{Month-BSkP_NNE.mjs → Month-C9EsJdGm.mjs} +1 -1
  21. package/chunks/{Preview-Dq6tVW4P.mjs → Preview-DT31fnBR.mjs} +1 -1
  22. package/chunks/{Second-BaOHtpcm.mjs → Second-2dWCZLjn.mjs} +1 -1
  23. package/chunks/{SelectDept-JdE01RJl.mjs → SelectDept-C_mJ04_S.mjs} +1 -1
  24. package/chunks/{SelectMenu-CBGt2RrU.mjs → SelectMenu-D_SA_EiZ.mjs} +1 -1
  25. package/chunks/{SelectUser-CQpx2HzJ.mjs → SelectUser-DLAbDQ8W.mjs} +2 -2
  26. package/chunks/{UserInfo-tWIden6Y.mjs → UserInfo-Dl2INqhu.mjs} +9 -9
  27. package/chunks/{app-dUSiq7Ru.mjs → app-MIQr7kNK.mjs} +1 -1
  28. package/chunks/{custom-page-list-CUeAAYEa.mjs → custom-page-list-DHK_NW0i.mjs} +4 -4
  29. package/chunks/{custom-page-table-C-gi7OGt.mjs → custom-page-table-1gOvwcJL.mjs} +2 -2
  30. package/chunks/{job-DnYhSDP4.mjs → job-D6_vm6Ii.mjs} +24 -24
  31. package/chunks/{overview-D_tbwhqT.mjs → overview-amJc1B-Y.mjs} +1 -1
  32. package/chunks/{page-list-VSe1LOfK.mjs → page-list-nd2K6s0p.mjs} +3 -3
  33. package/chunks/{page-query-8XmyQiCK.mjs → page-query-Bp2Wfk95.mjs} +1 -1
  34. package/chunks/{page-table-BdNBjt_k.mjs → page-table-Bgq2mekF.mjs} +57 -57
  35. package/chunks/{pagination-BOb4D8uP.mjs → pagination-BlUizDPX.mjs} +3 -3
  36. package/chunks/{provider-CQbOYjc5.mjs → provider-6bwbdidw.mjs} +245 -245
  37. package/chunks/{table-BEeznK4Y.mjs → table-C-19SNwB.mjs} +40 -38
  38. package/components/app/index.mjs +1 -1
  39. package/components/app/src/app.mjs +1 -1
  40. package/components/button/index.mjs +1 -1
  41. package/components/button/src/button.mjs +1 -1
  42. package/components/checkbox-group/index.mjs +1 -1
  43. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  44. package/components/cron/index.mjs +1 -1
  45. package/components/cron/src/Common.mjs +1 -1
  46. package/components/cron/src/Day.mjs +1 -1
  47. package/components/cron/src/Hour.mjs +1 -1
  48. package/components/cron/src/Minute.mjs +1 -1
  49. package/components/cron/src/Month.mjs +1 -1
  50. package/components/cron/src/Picker.mjs +6 -6
  51. package/components/cron/src/Second.mjs +1 -1
  52. package/components/cron/src/cron.mjs +1 -1
  53. package/components/custom-page-list/index.mjs +1 -1
  54. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  55. package/components/custom-page-table/index.mjs +1 -1
  56. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  57. package/components/dialog/index.mjs +1 -1
  58. package/components/dialog/src/dialog.mjs +1 -1
  59. package/components/form/index.mjs +1 -1
  60. package/components/form/src/form.mjs +1 -1
  61. package/components/index.mjs +10 -10
  62. package/components/overview/index.mjs +1 -1
  63. package/components/overview/src/DicLabel/Index.mjs +1 -1
  64. package/components/overview/src/IndexItem.mjs +1 -1
  65. package/components/overview/src/overview.mjs +1 -1
  66. package/components/page-list/index.mjs +1 -1
  67. package/components/page-list/src/page-list.mjs +1 -1
  68. package/components/page-query/index.mjs +1 -1
  69. package/components/page-query/src/page-query.mjs +1 -1
  70. package/components/page-table/index.mjs +1 -1
  71. package/components/page-table/src/page-table.d.ts +1 -1
  72. package/components/page-table/src/page-table.mjs +1 -1
  73. package/components/pagination/index.mjs +1 -1
  74. package/components/pagination/src/pagination.mjs +1 -1
  75. package/components/provider/index.mjs +1 -1
  76. package/components/provider/src/Provider.mjs +1 -1
  77. package/components/radio-group/index.mjs +1 -1
  78. package/components/radio-group/src/radio-group.mjs +1 -1
  79. package/components/select/index.mjs +1 -1
  80. package/components/select/src/select.mjs +1 -1
  81. package/components/select-sys-user/index.mjs +1 -1
  82. package/components/select-sys-user/src/Picker.mjs +2 -2
  83. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  84. package/components/table/index.mjs +1 -1
  85. package/components/table/src/table.mjs +1 -1
  86. package/components/tree/index.mjs +1 -1
  87. package/components/tree/src/tree.mjs +1 -1
  88. package/components/tree-select/index.mjs +1 -1
  89. package/components/tree-select/src/tree-select.mjs +1 -1
  90. package/components/upload/index.mjs +1 -1
  91. package/components/upload/src/upload.mjs +1 -1
  92. package/hooks/useDicOptions/index.mjs +1 -1
  93. package/hooks/useSysUser/index.mjs +1 -1
  94. package/layout/Entry.mjs +1 -1
  95. package/layout/Home.mjs +5 -5
  96. package/layout/Home1.mjs +2 -2
  97. package/layout/Login.mjs +3 -3
  98. package/layout/NotFound.mjs +1 -1
  99. package/layout/modules/Aside.mjs +1 -1
  100. package/layout/modules/Breadcrumb.mjs +1 -1
  101. package/layout/modules/Header.mjs +1 -1
  102. package/layout/modules/LoginBg.mjs +1 -1
  103. package/layout/profile/Index.mjs +2 -2
  104. package/layout/profile/ResetPwd.mjs +1 -1
  105. package/layout/profile/UserInfo.mjs +1 -1
  106. package/main.mjs +3 -3
  107. package/package.json +1 -1
  108. package/plugins/autoImport/$alova/index.d.ts +1 -0
  109. package/plugins/autoImport/$alova/index.mjs +1 -1
  110. package/plugins/autoImport/$confirm/index.mjs +1 -1
  111. package/plugins/autoImport/$dialog/index.mjs +1 -1
  112. package/plugins/autoImport/$drawer/index.mjs +1 -1
  113. package/plugins/captcha/captcha.mjs +1 -1
  114. package/plugins/captcha/index.mjs +1 -1
  115. package/plugins/initialize/webUpdateNotify.mjs +21 -19
  116. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  117. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  118. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  119. package/plugins/tableRenders/cell/index.mjs +3 -3
  120. package/router/index.mjs +1 -1
  121. package/store/modules/common.mjs +1 -1
  122. package/store/modules/login.mjs +1 -1
  123. package/store/modules/recentRouters.mjs +1 -1
  124. package/store/modules/router.mjs +1 -1
  125. package/store/modules/user.mjs +1 -1
  126. package/views/monitor/cache/index.mjs +2 -2
  127. package/views/monitor/cacheList/index.mjs +2 -2
  128. package/views/monitor/job/index.mjs +1 -1
  129. package/views/monitor/logininfor/index.mjs +2 -2
  130. package/views/monitor/online/index.mjs +2 -2
  131. package/views/monitor/operlog/index.mjs +10 -10
  132. package/views/monitor/server/index.mjs +2 -2
  133. package/views/system/config/index.mjs +11 -11
  134. package/views/system/dept/index.mjs +15 -15
  135. package/views/system/dept/utils.mjs +1 -1
  136. package/views/system/dict/index.mjs +15 -15
  137. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  138. package/views/system/menu/index.mjs +19 -19
  139. package/views/system/menu/utils.mjs +1 -1
  140. package/views/system/notice/index.mjs +6 -6
  141. package/views/system/post/index.mjs +6 -6
  142. package/views/system/role/index.mjs +31 -31
  143. package/views/system/role/modules/AssignUser.mjs +1 -1
  144. package/views/system/role/modules/SelectDept.mjs +1 -1
  145. package/views/system/role/modules/SelectMenu.mjs +1 -1
  146. package/views/system/role/modules/SelectUser.mjs +1 -1
  147. package/views/system/user/index.mjs +41 -41
  148. package/views/tool/gen/editTable/index.mjs +14 -14
  149. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  150. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  151. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  152. package/views/tool/gen/index.mjs +11 -11
  153. package/views/tool/gen/modules/Import.mjs +1 -1
  154. package/views/tool/gen/modules/Preview.mjs +1 -1
  155. package/views/tool/job/index.mjs +1 -1
  156. package/views/tool/job/modules/Log.mjs +1 -1
  157. package/assets/pagination-B9tRH6dt.css +0 -1
  158. package/assets/table-Dq4nevWy.css +0 -1
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/DictTypeDetail-BgfdUvJ-.mjs";
1
+ export { t as default } from "../../../../chunks/DictTypeDetail-BcE2-B5V.mjs";
@@ -1,11 +1,11 @@
1
- import { S as e, V as t, n, o as r } from "../../../chunks/provider-CQbOYjc5.mjs";
1
+ import { H as e, S as t, n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import { t as i } from "../../../chunks/icon-DnBGEq-n.mjs";
3
3
  import "../../../components/icon/index.mjs";
4
4
  import { isFalsy as a } from "../../../utils/boolean.mjs";
5
5
  import "../../../components/page-list/index.mjs";
6
6
  import { flatArrToTree as o } from "../../../utils/tree.mjs";
7
7
  import s from "../../../plugins/autoImport/$msg/index.mjs";
8
- import { t as c } from "../../../chunks/page-list-VSe1LOfK.mjs";
8
+ import { t as c } from "../../../chunks/page-list-nd2K6s0p.mjs";
9
9
  import "../../../chunks/utils-SvnLuaWm.mjs";
10
10
  import { useMenuTree as l } from "./utils.mjs";
11
11
  import { createBlock as u, defineComponent as d, h as f, mergeProps as p, openBlock as m, reactive as h, ref as g, unref as _, useTemplateRef as v, watch as y } from "vue";
@@ -158,9 +158,9 @@ var b = /* @__PURE__ */ d({
158
158
  method: "system/menu",
159
159
  permission: "system:menu:remove"
160
160
  },
161
- list: { method: (t) => e.Get("system/menu/list", {
161
+ list: { method: (e) => t.Get("system/menu/list", {
162
162
  params: {
163
- ...t,
163
+ ...e,
164
164
  pageNum: void 0,
165
165
  pageSize: void 0
166
166
  },
@@ -243,7 +243,7 @@ var b = /* @__PURE__ */ d({
243
243
  ...n,
244
244
  parentId: n.parentId === "0" ? "" : n.parentId
245
245
  }, { numberToStringKeys: ["isFrame"] });
246
- }, { once: !0 }), t({
246
+ }, { once: !0 }), e({
247
247
  body: () => f(r, {
248
248
  data: h({
249
249
  isCache: "0",
@@ -268,7 +268,7 @@ var b = /* @__PURE__ */ d({
268
268
  }),
269
269
  header: "编辑菜单",
270
270
  onConfirmCallback: async () => {
271
- let t = await i.value.validate();
271
+ let e = await i.value.validate();
272
272
  [
273
273
  "component",
274
274
  "perms",
@@ -277,12 +277,12 @@ var b = /* @__PURE__ */ d({
277
277
  "isCache",
278
278
  "path",
279
279
  "isFrame"
280
- ].forEach((e) => {
281
- e in t || (t[e] = "");
282
- }), T(t), await e.Put("system/menu", {
283
- ...t,
280
+ ].forEach((t) => {
281
+ t in e || (e[t] = "");
282
+ }), T(e), await t.Put("system/menu", {
283
+ ...e,
284
284
  menuId: n.menuId,
285
- parentId: a(t.parentId) ? "0" : t.parentId
285
+ parentId: a(e.parentId) ? "0" : e.parentId
286
286
  }), x(), s.success("菜单修改成功"), S.value.query();
287
287
  },
288
288
  width: 730
@@ -293,7 +293,7 @@ var b = /* @__PURE__ */ d({
293
293
  default: "新增",
294
294
  onClick: () => {
295
295
  let i = g(null);
296
- t({
296
+ e({
297
297
  body: () => f(r, {
298
298
  data: h({
299
299
  isCache: "0",
@@ -324,8 +324,8 @@ var b = /* @__PURE__ */ d({
324
324
  }),
325
325
  header: "新增菜单",
326
326
  onConfirmCallback: async () => {
327
- let t = await i.value.validate();
328
- T(t), await e.Post("system/menu", t), x(), s.success("菜单修改成功"), S.value.query();
327
+ let e = await i.value.validate();
328
+ T(e), await t.Post("system/menu", e), x(), s.success("菜单修改成功"), S.value.query();
329
329
  },
330
330
  width: 730
331
331
  });
@@ -346,7 +346,7 @@ var b = /* @__PURE__ */ d({
346
346
  default: "新增",
347
347
  onClick: () => {
348
348
  let n = g(null);
349
- t({
349
+ e({
350
350
  body: () => f(r, {
351
351
  data: h({
352
352
  isCache: "0",
@@ -373,10 +373,10 @@ var b = /* @__PURE__ */ d({
373
373
  }),
374
374
  header: "添加菜单",
375
375
  onConfirmCallback: async () => {
376
- let t = await n.value.validate();
377
- T(t), await e.Post("system/menu", {
378
- ...t,
379
- parentId: a(t.parentId) ? "0" : t.parentId
376
+ let e = await n.value.validate();
377
+ T(e), await t.Post("system/menu", {
378
+ ...e,
379
+ parentId: a(e.parentId) ? "0" : e.parentId
380
380
  }), x(), s.success("菜单添加成功"), S.value.query();
381
381
  },
382
382
  width: 730
@@ -1,4 +1,4 @@
1
- import { S as e } from "../../../chunks/provider-CQbOYjc5.mjs";
1
+ import { S as e } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../chunks/utils-SvnLuaWm.mjs";
3
3
  import { flatArrToTree as t } from "../../../utils/tree.mjs";
4
4
  import { useRequest as n } from "alova/client";
@@ -1,6 +1,6 @@
1
- import { S as e, V as t, o as n } from "../../../chunks/provider-CQbOYjc5.mjs";
1
+ import { H as e, S as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-VSe1LOfK.mjs";
3
+ import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
4
4
  import i from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/notice/index.vue
@@ -88,7 +88,7 @@ var h = /* @__PURE__ */ o({
88
88
  let a = d(null);
89
89
  m(a, () => {
90
90
  a.value.setFormData(r);
91
- }, { once: !0 }), t({
91
+ }, { once: !0 }), e({
92
92
  body: () => s(n, {
93
93
  items: _,
94
94
  labelAlign: "right",
@@ -97,7 +97,7 @@ var h = /* @__PURE__ */ o({
97
97
  }),
98
98
  header: "修改公告",
99
99
  onConfirmCallback: async () => {
100
- await e.Put("system/notice", {
100
+ await t.Put("system/notice", {
101
101
  ...await a.value.validate(),
102
102
  noticeId: r.noticeId
103
103
  }), i.success("公告修改成功"), h.value.query();
@@ -122,7 +122,7 @@ var h = /* @__PURE__ */ o({
122
122
  default: "新增",
123
123
  onClick: () => {
124
124
  let r = d(null);
125
- t({
125
+ e({
126
126
  body: () => s(n, {
127
127
  data: u({ status: "0" }),
128
128
  items: _,
@@ -132,7 +132,7 @@ var h = /* @__PURE__ */ o({
132
132
  }),
133
133
  header: "添加公告",
134
134
  onConfirmCallback: async () => {
135
- await e.Post("system/notice", await r.value.validate()), i.success("公告添加成功"), h.value.query();
135
+ await t.Post("system/notice", await r.value.validate()), i.success("公告添加成功"), h.value.query();
136
136
  },
137
137
  width: 460
138
138
  });
@@ -1,6 +1,6 @@
1
- import { S as e, V as t, o as n } from "../../../chunks/provider-CQbOYjc5.mjs";
1
+ import { H as e, S as t, o as n } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-VSe1LOfK.mjs";
3
+ import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
4
4
  import i from "../../../plugins/autoImport/$msg/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  // ../../packages/dlzn-ui/views/system/post/index.vue
@@ -100,7 +100,7 @@ var h = /* @__PURE__ */ o({
100
100
  let a = d(null);
101
101
  m(a, () => {
102
102
  a.value.setFormData(r);
103
- }, { once: !0 }), t({
103
+ }, { once: !0 }), e({
104
104
  body: () => s(n, {
105
105
  items: [
106
106
  g.postCode,
@@ -118,7 +118,7 @@ var h = /* @__PURE__ */ o({
118
118
  }),
119
119
  header: "修改岗位",
120
120
  onConfirmCallback: async () => {
121
- await e.Put("system/post", {
121
+ await t.Put("system/post", {
122
122
  ...await a.value.validate(),
123
123
  postId: r.postId
124
124
  }), i.success("岗位修改成功"), h.value.query();
@@ -143,7 +143,7 @@ var h = /* @__PURE__ */ o({
143
143
  default: "新增",
144
144
  onClick: () => {
145
145
  let r = d(null);
146
- t({
146
+ e({
147
147
  body: () => s(n, {
148
148
  data: u({ status: "0" }),
149
149
  items: [
@@ -162,7 +162,7 @@ var h = /* @__PURE__ */ o({
162
162
  }),
163
163
  header: "添加岗位",
164
164
  onConfirmCallback: async () => {
165
- await e.Post("system/post", await r.value.validate()), i.success("岗位添加成功"), h.value.query();
165
+ await t.Post("system/post", await r.value.validate()), i.success("岗位添加成功"), h.value.query();
166
166
  },
167
167
  width: 430
168
168
  });
@@ -1,10 +1,10 @@
1
- import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-CQbOYjc5.mjs";
1
+ import { H as e, S as t, U as n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-VSe1LOfK.mjs";
3
+ import { t as i } from "../../../chunks/page-list-nd2K6s0p.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-C1TJqI7T.mjs";
6
- import { t as s } from "../../../chunks/SelectDept-JdE01RJl.mjs";
7
- import { t as c } from "../../../chunks/SelectMenu-CBGt2RrU.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-Cba5vAl1.mjs";
6
+ import { t as s } from "../../../chunks/SelectDept-C_mJ04_S.mjs";
7
+ import { t as c } from "../../../chunks/SelectMenu-D_SA_EiZ.mjs";
8
8
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
9
9
  // ../../packages/dlzn-ui/views/system/role/index.vue
10
10
  var y = /* @__PURE__ */ u({
@@ -85,10 +85,10 @@ var y = /* @__PURE__ */ u({
85
85
  title: "显示顺序"
86
86
  },
87
87
  {
88
- cell: (e, { row: r }) => ({
88
+ cell: (n, { row: r }) => ({
89
89
  beforeChange: async () => {
90
- let e = r.status === "1" ? "启用" : "停用";
91
- return await n(`确认${e}${r.roleName}角色吗?`), await t.Put("system/role/changeStatus", {
90
+ let n = r.status === "1" ? "启用" : "停用";
91
+ return await e(`确认${n}${r.roleName}角色吗?`), await t.Put("system/role/changeStatus", {
92
92
  roleId: r.roleId,
93
93
  status: r.status === "1" ? "0" : "1"
94
94
  }, { meta: { useSuccessMsg: !0 } }), y.value.query(), !0;
@@ -123,11 +123,11 @@ var y = /* @__PURE__ */ u({
123
123
  {
124
124
  cell: {
125
125
  buttons: [
126
- ({ row: e }) => ({
126
+ ({ row: n }) => ({
127
127
  default: "编辑",
128
128
  onClick: async () => {
129
- let { checkedKeys: i, menus: o } = await t.Get(`system/menu/roleMenuTreeselect/${e.roleId}`), s = h(null);
130
- if (e.menuCheckStrictly) {
129
+ let { checkedKeys: i, menus: o } = await t.Get(`system/menu/roleMenuTreeselect/${n.roleId}`), s = h(null);
130
+ if (n.menuCheckStrictly) {
131
131
  let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
132
132
  n.forEach((n) => {
133
133
  n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
@@ -136,8 +136,8 @@ var y = /* @__PURE__ */ u({
136
136
  t(o);
137
137
  }
138
138
  v(s, () => {
139
- s.value.setFormData(e);
140
- }, { once: !0 }), n({
139
+ s.value.setFormData(n);
140
+ }, { once: !0 }), e({
141
141
  body: () => d(r, {
142
142
  data: m({ menuIds: i }),
143
143
  items: [
@@ -155,20 +155,20 @@ var y = /* @__PURE__ */ u({
155
155
  await t.Put("system/role", {
156
156
  ...await s.value.validate(),
157
157
  menuCheckStrictly: !1,
158
- roleId: e.roleId
158
+ roleId: n.roleId
159
159
  }), a.success("角色修改成功"), y.value.query();
160
160
  },
161
161
  width: 730
162
162
  });
163
163
  },
164
164
  permission: "system:role:edit",
165
- show: e.roleId !== "1"
165
+ show: n.roleId !== "1"
166
166
  }),
167
- ({ row: e }) => ({
167
+ ({ row: n }) => ({
168
168
  default: "数据权限",
169
169
  onClick: async () => {
170
- let { checkedKeys: i, depts: o } = await t.Get(`system/role/deptTree/${e.roleId}`), c = h(null);
171
- if (e.deptCheckStrictly) {
170
+ let { checkedKeys: i, depts: o } = await t.Get(`system/role/deptTree/${n.roleId}`), c = h(null);
171
+ if (n.deptCheckStrictly) {
172
172
  let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
173
173
  n.forEach((n) => {
174
174
  n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
@@ -177,8 +177,8 @@ var y = /* @__PURE__ */ u({
177
177
  t(o);
178
178
  }
179
179
  v(c, () => {
180
- c.value.setFormData(e);
181
- }, { once: !0 }), n({
180
+ c.value.setFormData(n);
181
+ }, { once: !0 }), e({
182
182
  body: () => d(r, {
183
183
  data: m({ deptIds: i }),
184
184
  items: [
@@ -213,33 +213,33 @@ var y = /* @__PURE__ */ u({
213
213
  ],
214
214
  ref: c
215
215
  }, { dept_ids: () => d(s, { deptOptions: o }) }),
216
- header: `给${e.roleName}分配数据权限`,
216
+ header: `给${n.roleName}分配数据权限`,
217
217
  onConfirmCallback: async () => {
218
218
  await t.Put("system/role/dataScope", {
219
219
  deptIds: [],
220
220
  ...await c.value.validate(),
221
221
  deptCheckStrictly: !1,
222
- roleId: e.roleId
222
+ roleId: n.roleId
223
223
  }), a.success("数据权限分配成功"), y.value.query();
224
224
  },
225
225
  width: 430
226
226
  });
227
227
  },
228
228
  permission: "system:role:edit",
229
- show: e.roleId !== "1"
229
+ show: n.roleId !== "1"
230
230
  }),
231
- ({ row: t }) => ({
231
+ ({ row: e }) => ({
232
232
  default: "分配用户",
233
233
  onClick: async () => {
234
- e({
235
- body: () => d(o, { roleId: t.roleId }),
234
+ n({
235
+ body: () => d(o, { roleId: e.roleId }),
236
236
  footer: !1,
237
- header: `给${t.roleName}分配用户`,
237
+ header: `给${e.roleName}分配用户`,
238
238
  width: 1500
239
239
  });
240
240
  },
241
241
  permission: "system:role:edit",
242
- show: t.roleId !== "1"
242
+ show: e.roleId !== "1"
243
243
  }),
244
244
  ({ row: e }) => ({
245
245
  default: "删除",
@@ -277,8 +277,8 @@ var y = /* @__PURE__ */ u({
277
277
  operations: [{
278
278
  default: "新增",
279
279
  onClick: async () => {
280
- let e = await t.Get("system/menu/treeselect"), i = h(null);
281
- n({
280
+ let n = await t.Get("system/menu/treeselect"), i = h(null);
281
+ e({
282
282
  body: () => d(r, {
283
283
  data: m({
284
284
  menuIds: [],
@@ -293,7 +293,7 @@ var y = /* @__PURE__ */ u({
293
293
  b.remark
294
294
  ],
295
295
  ref: i
296
- }, { menu_ids: () => d(c, { menuOptions: e }) }),
296
+ }, { menu_ids: () => d(c, { menuOptions: n }) }),
297
297
  header: "添加角色",
298
298
  onConfirmCallback: async () => {
299
299
  await t.Post("system/role", {
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/AssignUser-C1TJqI7T.mjs";
1
+ export { t as default } from "../../../../chunks/AssignUser-Cba5vAl1.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectDept-JdE01RJl.mjs";
1
+ export { t as default } from "../../../../chunks/SelectDept-C_mJ04_S.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectMenu-CBGt2RrU.mjs";
1
+ export { t as default } from "../../../../chunks/SelectMenu-D_SA_EiZ.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectUser-CQpx2HzJ.mjs";
1
+ export { t as default } from "../../../../chunks/SelectUser-DLAbDQ8W.mjs";
@@ -1,10 +1,10 @@
1
- import { N as e, S as t, V as n, o as r } from "../../../chunks/provider-CQbOYjc5.mjs";
1
+ import { H as e, P as t, S as n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
3
  import "../../../components/table/index.mjs";
4
4
  import { passwordReg as i, passwordRegMessage as a } from "../../../constants/regs.mjs";
5
- import { t as o } from "../../../chunks/table-BEeznK4Y.mjs";
5
+ import { t as o } from "../../../chunks/table-C-19SNwB.mjs";
6
6
  import s from "../../../plugins/autoImport/$msg/index.mjs";
7
- import { t as c } from "../../../chunks/page-list-VSe1LOfK.mjs";
7
+ import { t as c } from "../../../chunks/page-list-nd2K6s0p.mjs";
8
8
  import { n as l } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
9
9
  import { deptTreeList as u, deptTreeListSend as d } from "../dept/utils.mjs";
10
10
  import { createBlock as f, defineComponent as p, h as m, mergeProps as h, onActivated as g, openBlock as _, reactive as v, ref as y, unref as b, useTemplateRef as x, watch as S } from "vue";
@@ -22,7 +22,7 @@ var w = /* @__PURE__ */ p({
22
22
  g(() => {
23
23
  d();
24
24
  });
25
- let { send: E } = C((e) => t.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
25
+ let { send: E } = C((e) => n.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
26
26
  deptId: v({
27
27
  _label: "归属部门",
28
28
  _required: !0,
@@ -120,7 +120,7 @@ var w = /* @__PURE__ */ p({
120
120
  method: "system/user/export",
121
121
  permission: "system:user:export"
122
122
  },
123
- list: { method: (e) => t.Get("system/user/list", { params: {
123
+ list: { method: (e) => n.Get("system/user/list", { params: {
124
124
  ...e,
125
125
  dateRange: void 0,
126
126
  "params[beginTime]": e.dateRange[0] ?? "",
@@ -160,10 +160,10 @@ var w = /* @__PURE__ */ p({
160
160
  title: "手机号码"
161
161
  },
162
162
  {
163
- cell: (e, { row: r }) => ({
163
+ cell: (t, { row: r }) => ({
164
164
  beforeChange: async () => {
165
- let e = r.status === "1" ? "启用" : "停用";
166
- return await n(`确认${e}${r.userName}用户吗?`), await t.Put("system/user/changeStatus", {
165
+ let t = r.status === "1" ? "启用" : "停用";
166
+ return await e(`确认${t}${r.userName}用户吗?`), await n.Put("system/user/changeStatus", {
167
167
  status: r.status === "1" ? "0" : "1",
168
168
  userId: r.userId
169
169
  }, { meta: { useSuccessMsg: !0 } }), D.value.query(), !0;
@@ -203,7 +203,7 @@ var w = /* @__PURE__ */ p({
203
203
  let { data: a, postIds: o, posts: c, roleIds: l, roles: u } = await E(i.userId), d = y(null);
204
204
  S(d, () => {
205
205
  d.value.setFormData(a, { splitToArrKeys: VITE_APP_ID === "1" ? ["userDeptIds"] : [] });
206
- }, { once: !0 }), n({
206
+ }, { once: !0 }), e({
207
207
  body: () => m(r, {
208
208
  data: v({
209
209
  postIds: o,
@@ -240,13 +240,13 @@ var w = /* @__PURE__ */ p({
240
240
  }),
241
241
  header: "修改用户",
242
242
  onConfirmCallback: async () => {
243
- let n = await d.value.validate();
244
- await t.Put("system/user", {
245
- ...n,
246
- ...VITE_APP_ID === "1" ? { userDeptIds: n.userDeptIds.join(",") } : {},
243
+ let e = await d.value.validate();
244
+ await n.Put("system/user", {
245
+ ...e,
246
+ ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {},
247
247
  userId: a.userId,
248
248
  userName: a.userName
249
- }), e(a.userId), s.success("用户修改成功"), D.value.query();
249
+ }), t(a.userId), s.success("用户修改成功"), D.value.query();
250
250
  },
251
251
  width: 730
252
252
  });
@@ -254,11 +254,11 @@ var w = /* @__PURE__ */ p({
254
254
  permission: "system:user:edit",
255
255
  show: i.userId !== "1"
256
256
  }),
257
- ({ row: e }) => ({
257
+ ({ row: t }) => ({
258
258
  default: "重置密码",
259
259
  onClick: async () => {
260
260
  let o = y(null);
261
- n({
261
+ e({
262
262
  body: () => m(r, {
263
263
  items: [{
264
264
  _required: !0,
@@ -272,25 +272,25 @@ var w = /* @__PURE__ */ p({
272
272
  }],
273
273
  ref: o
274
274
  }),
275
- header: `请输入${e.userName}用户的新密码`,
275
+ header: `请输入${t.userName}用户的新密码`,
276
276
  onConfirmCallback: async () => {
277
- let n = (await o.value.validate()).newPassword;
278
- await t.Put("system/user/resetPwd", {
279
- password: n,
280
- userId: e.userId
281
- }), l(`密码修改成功,新密码是:${n}`), D.value.query();
277
+ let e = (await o.value.validate()).newPassword;
278
+ await n.Put("system/user/resetPwd", {
279
+ password: e,
280
+ userId: t.userId
281
+ }), l(`密码修改成功,新密码是:${e}`), D.value.query();
282
282
  },
283
283
  width: 430
284
284
  });
285
285
  },
286
286
  permission: "system:user:resetPwd",
287
- show: e.userId !== "1"
287
+ show: t.userId !== "1"
288
288
  }),
289
- ({ row: e }) => ({
289
+ ({ row: t }) => ({
290
290
  default: "分配角色",
291
291
  onClick: async () => {
292
- let { roles: r, user: i } = await t.Get(`system/user/authRole/${e.userId}`), a = y(null);
293
- n({
292
+ let { roles: r, user: i } = await n.Get(`system/user/authRole/${t.userId}`), a = y(null);
293
+ e({
294
294
  body: () => m(o, {
295
295
  columns: [
296
296
  {
@@ -322,11 +322,11 @@ var w = /* @__PURE__ */ p({
322
322
  }),
323
323
  header: `为用户${i.nickName}(${i.userName})分配角色`,
324
324
  onConfirmCallback: async () => {
325
- await t.Put("system/user/authRole", {}, {
325
+ await n.Put("system/user/authRole", {}, {
326
326
  meta: { useSuccessMsg: !0 },
327
327
  params: {
328
328
  roleIds: a.value.selectedRowKeys.join(","),
329
- userId: e.userId
329
+ userId: t.userId
330
330
  }
331
331
  }), D.value.query();
332
332
  },
@@ -334,7 +334,7 @@ var w = /* @__PURE__ */ p({
334
334
  });
335
335
  },
336
336
  permission: "system:user:edit",
337
- show: e.userId !== "1"
337
+ show: t.userId !== "1"
338
338
  }),
339
339
  ({ row: e }) => ({
340
340
  default: "删除",
@@ -342,7 +342,7 @@ var w = /* @__PURE__ */ p({
342
342
  popconfirm: {
343
343
  content: "确认删除吗",
344
344
  onConfirm: async () => {
345
- await t.Delete(`system/user/${e.userId}`), s("删除成功"), D.value.query();
345
+ await n.Delete(`system/user/${e.userId}`), s("删除成功"), D.value.query();
346
346
  }
347
347
  },
348
348
  show: e.userId !== "1"
@@ -376,8 +376,8 @@ var w = /* @__PURE__ */ p({
376
376
  {
377
377
  default: "新增",
378
378
  onClick: async () => {
379
- let { posts: e, roles: i } = await E(""), a = y(null);
380
- n({
379
+ let { posts: t, roles: i } = await E(""), a = y(null);
380
+ e({
381
381
  body: () => m(r, {
382
382
  data: v({ status: "0" }),
383
383
  items: [
@@ -393,7 +393,7 @@ var w = /* @__PURE__ */ p({
393
393
  O.status,
394
394
  {
395
395
  ...O.postIds,
396
- options: e.map((e) => ({
396
+ options: t.map((e) => ({
397
397
  disabled: e.status === "1",
398
398
  label: e.postName,
399
399
  value: e.postId
@@ -414,7 +414,7 @@ var w = /* @__PURE__ */ p({
414
414
  header: "添加用户",
415
415
  onConfirmCallback: async () => {
416
416
  let e = await a.value.validate();
417
- await t.Post("system/user", {
417
+ await n.Post("system/user", {
418
418
  ...e,
419
419
  ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {}
420
420
  }), s.success("用户添加成功"), D.value.query();
@@ -428,13 +428,13 @@ var w = /* @__PURE__ */ p({
428
428
  {
429
429
  default: "导入",
430
430
  onClick: async () => {
431
- let e = y(null);
432
- n({
431
+ let t = y(null);
432
+ e({
433
433
  body: () => m(r, {
434
434
  items: [{
435
435
  _required: !0,
436
436
  component: "TUpload",
437
- downloadTemplate: t.Post("system/user/importTemplate", {}, { meta: {
437
+ downloadTemplate: n.Post("system/user/importTemplate", {}, { meta: {
438
438
  useDownload: "用户管理导入模板.xlsx",
439
439
  useResponseBlob: !0
440
440
  } }),
@@ -445,14 +445,14 @@ var w = /* @__PURE__ */ p({
445
445
  label: "是否更新已经存在的用户数据",
446
446
  model: "updateSupport"
447
447
  }],
448
- ref: e
448
+ ref: t
449
449
  }),
450
450
  header: "导入用户",
451
451
  onConfirmCallback: async () => {
452
- let n = await e.value.validate();
453
- await t.Post("system/user/importData", { file: n.file[0].raw }, {
452
+ let e = await t.value.validate();
453
+ await n.Post("system/user/importData", { file: e.file[0].raw }, {
454
454
  meta: { useFormData: !0 },
455
- params: { updateSupport: n.updateSupport }
455
+ params: { updateSupport: e.updateSupport }
456
456
  }), D.value.query();
457
457
  },
458
458
  width: 480