dlzn-ui 2.0.93 → 2.0.95

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 (247) hide show
  1. package/assets/provider-Bh_VYGit.css +2 -0
  2. package/assets/{css-CZQicoxs.css → scrollbar-To1tAaeV.css} +1 -1
  3. package/chunks/{AssignUser-Bjm-tcxL.mjs → AssignUser-pMMpNO27.mjs} +14 -14
  4. package/chunks/{BasicInfo-BWfSZ_HQ.mjs → BasicInfo-dMwF0ziF.mjs} +1 -1
  5. package/chunks/{ColumnInfo-sxd5S5fj.mjs → ColumnInfo-0WJQWMbG.mjs} +2 -2
  6. package/chunks/{Common-DtHjLp8S.mjs → Common-DE7thNTn.mjs} +7 -8
  7. package/chunks/{Day-DXmvbaA-.mjs → Day-Dj8dheNY.mjs} +12 -13
  8. package/chunks/{DictTypeDetail-DExEs2pD.mjs → DictTypeDetail-BIVPm9kz.mjs} +10 -10
  9. package/chunks/{GenInfo-zHlSR8Xi.mjs → GenInfo-CVmGFfUf.mjs} +1 -1
  10. package/chunks/{Hour-og6bObii.mjs → Hour-fmUnJG03.mjs} +1 -1
  11. package/chunks/{Import-CB1QuML4.mjs → Import-DWlcNGih.mjs} +2 -2
  12. package/chunks/{Index-CJCfI-r7.mjs → Index--FTIsWxL.mjs} +5 -6
  13. package/chunks/{Index-Djtx-Hvr.mjs → Index-BU7G9MXR.mjs} +1 -1
  14. package/chunks/{Index-kmSafJeE.mjs → Index-BloAp662.mjs} +1 -1
  15. package/chunks/{Index-B71kfXN0.mjs → Index-C97pCXnX.mjs} +2 -2
  16. package/chunks/{Index-DPsmE1uN.mjs → Index-CFtIabpU.mjs} +1 -1
  17. package/chunks/{Index-DJa6TvxZ.mjs → Index-CPJZlyGD.mjs} +2 -2
  18. package/chunks/{Index-Cm8ZetsA.mjs → Index-CSiH5LGc.mjs} +2 -2
  19. package/chunks/{Index-CN4X_4BO.mjs → Index-CiiLzD8p.mjs} +2 -2
  20. package/chunks/Index-D3ymPHcw.mjs +46 -0
  21. package/chunks/Index-D447iwxd.mjs +128 -0
  22. package/chunks/{Index-iSZ25oa5.mjs → Index-D4ys8Z_X.mjs} +1 -1
  23. package/chunks/{Index-DNWEV6qX.mjs → Index-DGf3QrKq.mjs} +1 -1
  24. package/chunks/{Index-cb1Euao4.mjs → Index-Dp_dwqU5.mjs} +1 -1
  25. package/chunks/{Index-D0Rcw6_y.mjs → Index-GJJawnRZ.mjs} +1 -1
  26. package/chunks/{Index-DMar4Ak5.mjs → Index-nLSG5esH.mjs} +2 -2
  27. package/chunks/{Index-CiXTiCPv.mjs → Index-rcLOiKUG.mjs} +5 -5
  28. package/chunks/{Index-Cl3E8sdW.mjs → Index-vepbJg-2.mjs} +1 -1
  29. package/chunks/{IndexItem-DabXJCE1.mjs → IndexItem-D5Ngo4ux.mjs} +7 -7
  30. package/chunks/{Log-Bdl4dLs2.mjs → Log-DiPyKgVW.mjs} +12 -12
  31. package/chunks/{LoginBg-CMSDCnPF.mjs → LoginBg-DK-FxB2n.mjs} +1 -1
  32. package/chunks/{Minute-BNXg2byx.mjs → Minute-D_mesp23.mjs} +1 -1
  33. package/chunks/{Month-BJSN_RQi.mjs → Month-BEnKEFGO.mjs} +1 -1
  34. package/chunks/{Preview-B0gJ53SG.mjs → Preview-DwWeDzEq.mjs} +1 -1
  35. package/chunks/{Second-CwPCm_aA.mjs → Second-DmBfCWw4.mjs} +1 -1
  36. package/chunks/{SelectDept-sNeYNdzH.mjs → SelectDept-DqkpUrLX.mjs} +1 -2
  37. package/chunks/{SelectMenu-27KCnGVX.mjs → SelectMenu-BG2aO4dr.mjs} +1 -2
  38. package/chunks/{SelectUser-Cx0YM3ds.mjs → SelectUser-UL3WHxqY.mjs} +2 -2
  39. package/chunks/{UserInfo-Bb1tmRjV.mjs → UserInfo-CJ1LUaSs.mjs} +9 -9
  40. package/chunks/{Wrapper-D6hdJKG5.mjs → Wrapper-Dd5a1AeJ.mjs} +1 -1
  41. package/chunks/{app-BBa29b74.mjs → app-Q4BryaGi.mjs} +1 -1
  42. package/chunks/{custom-page-list-Cu3uysuq.mjs → custom-page-list-BfwM6BZj.mjs} +4 -4
  43. package/chunks/{custom-page-table-4RY6Lrxk.mjs → custom-page-table-DiSUr7km.mjs} +2 -2
  44. package/chunks/{job-BCL4Boa7.mjs → job-CF59695q.mjs} +33 -33
  45. package/chunks/{overview-CZjS_5ws.mjs → overview-C_YMhM9g.mjs} +1 -1
  46. package/chunks/{page-list-Dyusjn67.mjs → page-list-Da4eL_wk.mjs} +3 -3
  47. package/chunks/{page-query-10dZRPbn.mjs → page-query-jPlr6ld9.mjs} +1 -1
  48. package/chunks/{page-table-D33Gigz2.mjs → page-table-BX-Inp9P.mjs} +24 -25
  49. package/chunks/{pagination-voqexobJ.mjs → pagination-BAsYYvcR.mjs} +1 -1
  50. package/chunks/{provider-BipQBIc8.mjs → provider-ofhdEHHM.mjs} +1287 -565
  51. package/chunks/{scrollbar-DR0tchN3.mjs → scrollbar-CFNjWbWr.mjs} +1 -2
  52. package/chunks/{table-CR8g_CQd.mjs → table-CEHUFrgD.mjs} +7 -8
  53. package/components/app/index.mjs +1 -1
  54. package/components/app/src/app.mjs +1 -1
  55. package/components/audio-play/index.d.ts +2 -0
  56. package/components/audio-play/src/audio-play.d.ts +7 -0
  57. package/components/audio-play/src/audio-play.vue.d.ts +6 -0
  58. package/components/button/index.mjs +1 -1
  59. package/components/button/src/button.mjs +1 -1
  60. package/components/checkbox-group/index.mjs +1 -1
  61. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  62. package/components/cron/index.mjs +1 -1
  63. package/components/cron/src/Common.mjs +1 -1
  64. package/components/cron/src/Day.mjs +1 -1
  65. package/components/cron/src/Hour.mjs +1 -1
  66. package/components/cron/src/Minute.mjs +1 -1
  67. package/components/cron/src/Month.mjs +1 -1
  68. package/components/cron/src/Picker.mjs +6 -6
  69. package/components/cron/src/Second.mjs +1 -1
  70. package/components/cron/src/cron.mjs +1 -1
  71. package/components/cron/src/cron.vue.d.ts +1 -1
  72. package/components/custom-page-list/index.mjs +1 -1
  73. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  74. package/components/custom-page-list/src/custom-page-list.vue.d.ts +3 -3
  75. package/components/custom-page-table/index.mjs +1 -1
  76. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  77. package/components/date-picker/index.mjs +1 -1
  78. package/components/date-picker/src/date-picker.mjs +1 -1
  79. package/components/date-picker/src/date-picker.vue.d.ts +1 -1
  80. package/components/dialog/index.mjs +1 -1
  81. package/components/dialog/src/dialog.mjs +1 -1
  82. package/components/dialog/src/dialog.vue.d.ts +10 -10
  83. package/components/form/index.mjs +1 -1
  84. package/components/form/src/form.mjs +1 -1
  85. package/components/form/src/form.vue.d.ts +1 -1
  86. package/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  87. package/components/index.mjs +26 -32
  88. package/components/input/src/input.vue.d.ts +1 -1
  89. package/components/input-number/index.mjs +1 -1
  90. package/components/input-number/src/input-number.mjs +1 -1
  91. package/components/input-number/src/input-number.vue.d.ts +2 -2
  92. package/components/link/src/link.vue.d.ts +1 -1
  93. package/components/overview/index.mjs +1 -1
  94. package/components/overview/src/DicLabel/Index.mjs +1 -1
  95. package/components/overview/src/IndexItem.mjs +1 -1
  96. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  97. package/components/overview/src/overview.mjs +1 -1
  98. package/components/page-list/index.mjs +1 -1
  99. package/components/page-list/src/page-list.d.ts +77 -77
  100. package/components/page-list/src/page-list.mjs +1 -1
  101. package/components/page-list/src/page-list.vue.d.ts +15 -15
  102. package/components/page-query/index.mjs +1 -1
  103. package/components/page-query/src/page-query.mjs +1 -1
  104. package/components/page-query/src/page-query.vue.d.ts +4 -4
  105. package/components/page-table/index.mjs +1 -1
  106. package/components/page-table/src/page-table.mjs +1 -1
  107. package/components/page-table/src/page-table.vue.d.ts +16 -16
  108. package/components/pagination/index.mjs +1 -1
  109. package/components/pagination/src/pagination.mjs +1 -1
  110. package/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  111. package/components/provider/index.mjs +1 -1
  112. package/components/provider/src/Provider.mjs +1 -1
  113. package/components/radio-group/index.mjs +1 -1
  114. package/components/radio-group/src/radio-group.mjs +1 -1
  115. package/components/range-input/index.mjs +1 -1
  116. package/components/range-input/src/range-input.mjs +1 -1
  117. package/components/range-input/src/range-input.vue.d.ts +1 -1
  118. package/components/scrollbar/index.mjs +1 -1
  119. package/components/scrollbar/src/scrollbar.mjs +1 -1
  120. package/components/select/index.mjs +1 -1
  121. package/components/select/src/select.mjs +1 -1
  122. package/components/select/src/select.vue.d.ts +2 -2
  123. package/components/select-sys-user/index.mjs +1 -1
  124. package/components/select-sys-user/src/Picker.mjs +2 -2
  125. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  126. package/components/tab-panel/src/tab-panel.vue.d.ts +1 -1
  127. package/components/table/index.mjs +1 -1
  128. package/components/table/src/table.mjs +1 -1
  129. package/components/table/src/table.vue.d.ts +3 -3
  130. package/components/textarea/src/textarea.vue.d.ts +1 -1
  131. package/components/tree/index.mjs +1 -1
  132. package/components/tree/src/tree.mjs +1 -1
  133. package/components/tree/src/tree.vue.d.ts +2 -2
  134. package/components/tree-select/index.mjs +1 -1
  135. package/components/tree-select/src/tree-select.mjs +1 -1
  136. package/components/upload/index.mjs +1 -1
  137. package/components/upload/src/upload.mjs +1 -1
  138. package/hooks/useDicOptions/index.mjs +1 -1
  139. package/hooks/useLabel/index.mjs +1 -16
  140. package/hooks/useList/index.mjs +1 -28
  141. package/hooks/useSysUser/index.mjs +1 -1
  142. package/layout/Entry.mjs +1 -1
  143. package/layout/Home.mjs +8 -9
  144. package/layout/Home1.mjs +15 -8
  145. package/layout/Login.mjs +8 -8
  146. package/layout/NotFound.mjs +1 -1
  147. package/layout/modules/Aside.mjs +1 -1
  148. package/layout/modules/Breadcrumb.mjs +1 -1
  149. package/layout/modules/Header.mjs +1 -1
  150. package/layout/modules/LoginBg.mjs +1 -1
  151. package/layout/profile/Index.mjs +9 -10
  152. package/layout/profile/ResetPwd.mjs +1 -1
  153. package/layout/profile/UserInfo.mjs +1 -1
  154. package/layout/vueBits/Plasma.vue.d.ts +1 -1
  155. package/main.mjs +3 -3
  156. package/package.json +2 -1
  157. package/plugins/autoImport/$alova/index.mjs +1 -1
  158. package/plugins/autoImport/$confirm/index.mjs +1 -1
  159. package/plugins/autoImport/$dialog/index.mjs +1 -1
  160. package/plugins/autoImport/$drawer/index.mjs +1 -1
  161. package/plugins/captcha/captcha.mjs +15 -17
  162. package/plugins/captcha/index.mjs +1 -1
  163. package/plugins/directive/index.mjs +7 -7
  164. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  165. package/plugins/tableRenders/Wrapper.mjs +1 -1
  166. package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -0
  167. package/plugins/tableRenders/cell/AudioPlay/Index.vue.d.ts +6 -0
  168. package/plugins/tableRenders/cell/AudioPlay/index.d.ts +2 -0
  169. package/plugins/tableRenders/cell/AudioPlay/index2.mjs +0 -0
  170. package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
  171. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  172. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  173. package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
  174. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  175. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  176. package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
  177. package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
  178. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +2 -2
  179. package/plugins/tableRenders/cell/Input/Index.vue.d.ts +1 -1
  180. package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
  181. package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +2 -2
  182. package/plugins/tableRenders/cell/Link/Index.vue.d.ts +1 -1
  183. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  184. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  185. package/plugins/tableRenders/cell/Select/Index.vue.d.ts +2 -2
  186. package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
  187. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  188. package/plugins/tableRenders/cell/TypographyTextLink/Index.vue.d.ts +1 -1
  189. package/plugins/tableRenders/cell/index.d.ts +2 -0
  190. package/plugins/tableRenders/cell/index.mjs +54 -52
  191. package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
  192. package/plugins/tableRenders/title/index.mjs +2 -2
  193. package/router/index.mjs +1 -1
  194. package/store/modules/common.mjs +1 -1
  195. package/store/modules/login.mjs +1 -1
  196. package/store/modules/recentRouters.mjs +1 -1
  197. package/store/modules/router.mjs +1 -1
  198. package/store/modules/user.mjs +1 -1
  199. package/utils/audio/getAudioElement.d.ts +2 -0
  200. package/utils/audio/getAudioElement.mjs +9 -0
  201. package/utils/audio/playMediaStream.d.ts +6 -0
  202. package/utils/audio/playUrl.d.ts +6 -0
  203. package/utils/gather.mjs +1 -1
  204. package/utils/index.d.ts +2 -0
  205. package/utils/index.mjs +7 -8
  206. package/utils/tool.d.ts +4 -0
  207. package/utils/tool.mjs +1 -28
  208. package/views/monitor/cache/index.mjs +2 -2
  209. package/views/monitor/cacheList/index.mjs +2 -2
  210. package/views/monitor/job/index.mjs +1 -1
  211. package/views/monitor/logininfor/index.mjs +2 -2
  212. package/views/monitor/online/index.mjs +2 -2
  213. package/views/monitor/operlog/index.mjs +2 -2
  214. package/views/monitor/server/index.mjs +2 -2
  215. package/views/system/config/index.mjs +13 -13
  216. package/views/system/dept/index.mjs +27 -28
  217. package/views/system/dept/utils.mjs +1 -2
  218. package/views/system/dict/index.mjs +23 -23
  219. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  220. package/views/system/menu/index.mjs +36 -37
  221. package/views/system/menu/utils.mjs +1 -2
  222. package/views/system/notice/index.mjs +8 -8
  223. package/views/system/post/index.mjs +8 -8
  224. package/views/system/role/index.mjs +43 -43
  225. package/views/system/role/modules/AssignUser.mjs +1 -1
  226. package/views/system/role/modules/SelectDept.mjs +1 -1
  227. package/views/system/role/modules/SelectMenu.mjs +1 -1
  228. package/views/system/role/modules/SelectUser.mjs +1 -1
  229. package/views/system/user/index.mjs +49 -49
  230. package/views/tool/gen/editTable/index.mjs +14 -14
  231. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  232. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  233. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  234. package/views/tool/gen/index.mjs +22 -22
  235. package/views/tool/gen/modules/Import.mjs +1 -1
  236. package/views/tool/gen/modules/Preview.mjs +1 -1
  237. package/views/tool/job/index.mjs +1 -1
  238. package/views/tool/job/modules/Log.mjs +1 -1
  239. package/assets/date-picker-CKUanIvh.css +0 -1
  240. package/assets/input-number-DHmV6oBX.css +0 -2
  241. package/assets/provider-yh_xhvsD.css +0 -2
  242. package/assets/scrollbar-CWhno35V.css +0 -1
  243. package/chunks/Index-Cuc40XIY.mjs +0 -44
  244. package/chunks/date-picker-CoQEj1PX.mjs +0 -376
  245. package/chunks/input-number-DZeNW9Jv.mjs +0 -73
  246. package/chunks/range-input-CTpZmB-d.mjs +0 -109
  247. package/chunks/utils-TGX_Jb3e.mjs +0 -10
@@ -1,12 +1,11 @@
1
- import { H as e, S as t, n, o as r } from "../../../chunks/provider-BipQBIc8.mjs";
1
+ import { N as e, n as t, o as n, rt as r } from "../../../chunks/provider-ofhdEHHM.mjs";
2
2
  import { t as i } from "../../../chunks/icon-DnBGEq-n.mjs";
3
3
  import "../../../components/icon/index.mjs";
4
- import { isFalsy as a } from "../../../utils/boolean.mjs";
5
4
  import "../../../components/page-list/index.mjs";
5
+ import { isFalsy as a } from "../../../utils/boolean.mjs";
6
6
  import { flatArrToTree as o } from "../../../utils/tree.mjs";
7
- import s from "../../../plugins/autoImport/$msg/index.mjs";
8
- import { t as c } from "../../../chunks/page-list-Dyusjn67.mjs";
9
- import "../../../chunks/utils-TGX_Jb3e.mjs";
7
+ import { t as s } from "../../../chunks/page-list-Da4eL_wk.mjs";
8
+ import c from "../../../plugins/autoImport/$msg/index.mjs";
10
9
  import { useMenuTree as l } from "./utils.mjs";
11
10
  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";
12
11
  // ../../packages/dlzn-ui/views/system/menu/index.vue
@@ -26,7 +25,7 @@ var b = /* @__PURE__ */ d({
26
25
  icon: {
27
26
  __others: ({ formData: e }) => ({
28
27
  adornment: {
29
- append: () => f(n, {
28
+ append: () => f(t, {
30
29
  default: "去选择",
31
30
  icon: "line-md:link",
32
31
  onClick: () => {
@@ -158,9 +157,9 @@ var b = /* @__PURE__ */ d({
158
157
  method: "system/menu",
159
158
  permission: "system:menu:remove"
160
159
  },
161
- list: { method: (e) => t.Get("system/menu/list", {
160
+ list: { method: (t) => e.Get("system/menu/list", {
162
161
  params: {
163
- ...e,
162
+ ...t,
164
163
  pageNum: void 0,
165
164
  pageSize: void 0
166
165
  },
@@ -234,17 +233,17 @@ var b = /* @__PURE__ */ d({
234
233
  },
235
234
  {
236
235
  cell: {
237
- buttons: [({ row: n }) => ({
236
+ buttons: [({ row: t }) => ({
238
237
  default: "编辑",
239
238
  onClick: () => {
240
239
  let i = g(null);
241
240
  y(i, () => {
242
241
  i.value.setFormData({
243
- ...n,
244
- parentId: n.parentId === "0" ? "" : n.parentId
242
+ ...t,
243
+ parentId: t.parentId === "0" ? "" : t.parentId
245
244
  }, { numberToStringKeys: ["isFrame"] });
246
- }, { once: !0 }), e({
247
- body: () => f(r, {
245
+ }, { once: !0 }), r({
246
+ body: () => f(n, {
248
247
  data: h({
249
248
  isCache: "0",
250
249
  isFrame: "1",
@@ -268,7 +267,7 @@ var b = /* @__PURE__ */ d({
268
267
  }),
269
268
  header: "编辑菜单",
270
269
  onConfirmCallback: async () => {
271
- let e = await i.value.validate();
270
+ let n = await i.value.validate();
272
271
  [
273
272
  "component",
274
273
  "perms",
@@ -277,29 +276,29 @@ var b = /* @__PURE__ */ d({
277
276
  "isCache",
278
277
  "path",
279
278
  "isFrame"
280
- ].forEach((t) => {
281
- t in e || (e[t] = "");
282
- }), T(e), await t.Put("system/menu", {
283
- ...e,
284
- menuId: n.menuId,
285
- parentId: a(e.parentId) ? "0" : e.parentId
286
- }), x(), s.success("菜单修改成功"), S.value.query();
279
+ ].forEach((e) => {
280
+ e in n || (n[e] = "");
281
+ }), T(n), await e.Put("system/menu", {
282
+ ...n,
283
+ menuId: t.menuId,
284
+ parentId: a(n.parentId) ? "0" : n.parentId
285
+ }), x(), c.success("菜单修改成功"), S.value.query();
287
286
  },
288
287
  width: 730
289
288
  });
290
289
  },
291
290
  permission: "system:menu:edit"
292
- }), ({ row: n }) => ({
291
+ }), ({ row: t }) => ({
293
292
  default: "新增",
294
293
  onClick: () => {
295
294
  let i = g(null);
296
- e({
297
- body: () => f(r, {
295
+ r({
296
+ body: () => f(n, {
298
297
  data: h({
299
298
  isCache: "0",
300
299
  isFrame: "1",
301
300
  menuType: "M",
302
- parentId: n.menuId,
301
+ parentId: t.menuId,
303
302
  status: "0",
304
303
  visible: "0"
305
304
  }),
@@ -324,8 +323,8 @@ var b = /* @__PURE__ */ d({
324
323
  }),
325
324
  header: "新增菜单",
326
325
  onConfirmCallback: async () => {
327
- let e = await i.value.validate();
328
- T(e), await t.Post("system/menu", e), x(), s.success("菜单修改成功"), S.value.query();
326
+ let t = await i.value.validate();
327
+ T(t), await e.Post("system/menu", t), x(), c.success("菜单修改成功"), S.value.query();
329
328
  },
330
329
  width: 730
331
330
  });
@@ -345,9 +344,9 @@ var b = /* @__PURE__ */ d({
345
344
  operations: [{
346
345
  default: "新增",
347
346
  onClick: () => {
348
- let n = g(null);
349
- e({
350
- body: () => f(r, {
347
+ let t = g(null);
348
+ r({
349
+ body: () => f(n, {
351
350
  data: h({
352
351
  isCache: "0",
353
352
  isFrame: "1",
@@ -369,15 +368,15 @@ var b = /* @__PURE__ */ d({
369
368
  w.isFrame,
370
369
  w.status
371
370
  ],
372
- ref: n
371
+ ref: t
373
372
  }),
374
373
  header: "添加菜单",
375
374
  onConfirmCallback: async () => {
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
- }), x(), s.success("菜单添加成功"), S.value.query();
375
+ let n = await t.value.validate();
376
+ T(n), await e.Post("system/menu", {
377
+ ...n,
378
+ parentId: a(n.parentId) ? "0" : n.parentId
379
+ }), x(), c.success("菜单添加成功"), S.value.query();
381
380
  },
382
381
  width: 730
383
382
  });
@@ -393,7 +392,7 @@ var b = /* @__PURE__ */ d({
393
392
  showSerialNumber: !1
394
393
  })
395
394
  };
396
- return (e, t) => (m(), u(_(c), p({
395
+ return (e, t) => (m(), u(_(s), p({
397
396
  ref_key: "pageListRef",
398
397
  ref: S
399
398
  }, E), null, 16));
@@ -1,5 +1,4 @@
1
- import { S as e } from "../../../chunks/provider-BipQBIc8.mjs";
2
- import "../../../chunks/utils-TGX_Jb3e.mjs";
1
+ import { N as e } from "../../../chunks/provider-ofhdEHHM.mjs";
3
2
  import { flatArrToTree as t } from "../../../utils/tree.mjs";
4
3
  import { useRequest as n } from "alova/client";
5
4
  // ../../packages/dlzn-ui/views/system/menu/utils.ts
@@ -1,6 +1,6 @@
1
- import { H as e, S as t, o as n } from "../../../chunks/provider-BipQBIc8.mjs";
1
+ import { N as e, o as t, rt as n } from "../../../chunks/provider-ofhdEHHM.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-Dyusjn67.mjs";
3
+ import { t as r } from "../../../chunks/page-list-Da4eL_wk.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,8 +88,8 @@ var h = /* @__PURE__ */ o({
88
88
  let a = d(null);
89
89
  m(a, () => {
90
90
  a.value.setFormData(r);
91
- }, { once: !0 }), e({
92
- body: () => s(n, {
91
+ }, { once: !0 }), n({
92
+ body: () => s(t, {
93
93
  items: _,
94
94
  labelAlign: "right",
95
95
  layout: "vertical",
@@ -97,7 +97,7 @@ var h = /* @__PURE__ */ o({
97
97
  }),
98
98
  header: "修改公告",
99
99
  onConfirmCallback: async () => {
100
- await t.Put("system/notice", {
100
+ await e.Put("system/notice", {
101
101
  ...await a.value.validate(),
102
102
  noticeId: r.noticeId
103
103
  }), i.success("公告修改成功"), h.value.query();
@@ -122,8 +122,8 @@ var h = /* @__PURE__ */ o({
122
122
  default: "新增",
123
123
  onClick: () => {
124
124
  let r = d(null);
125
- e({
126
- body: () => s(n, {
125
+ n({
126
+ body: () => s(t, {
127
127
  data: u({ status: "0" }),
128
128
  items: _,
129
129
  labelAlign: "right",
@@ -132,7 +132,7 @@ var h = /* @__PURE__ */ o({
132
132
  }),
133
133
  header: "添加公告",
134
134
  onConfirmCallback: async () => {
135
- await t.Post("system/notice", await r.value.validate()), i.success("公告添加成功"), h.value.query();
135
+ await e.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 { H as e, S as t, o as n } from "../../../chunks/provider-BipQBIc8.mjs";
1
+ import { N as e, o as t, rt as n } from "../../../chunks/provider-ofhdEHHM.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-Dyusjn67.mjs";
3
+ import { t as r } from "../../../chunks/page-list-Da4eL_wk.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,8 +100,8 @@ var h = /* @__PURE__ */ o({
100
100
  let a = d(null);
101
101
  m(a, () => {
102
102
  a.value.setFormData(r);
103
- }, { once: !0 }), e({
104
- body: () => s(n, {
103
+ }, { once: !0 }), n({
104
+ body: () => s(t, {
105
105
  items: [
106
106
  g.postCode,
107
107
  g.postName,
@@ -118,7 +118,7 @@ var h = /* @__PURE__ */ o({
118
118
  }),
119
119
  header: "修改岗位",
120
120
  onConfirmCallback: async () => {
121
- await t.Put("system/post", {
121
+ await e.Put("system/post", {
122
122
  ...await a.value.validate(),
123
123
  postId: r.postId
124
124
  }), i.success("岗位修改成功"), h.value.query();
@@ -143,8 +143,8 @@ var h = /* @__PURE__ */ o({
143
143
  default: "新增",
144
144
  onClick: () => {
145
145
  let r = d(null);
146
- e({
147
- body: () => s(n, {
146
+ n({
147
+ body: () => s(t, {
148
148
  data: u({ status: "0" }),
149
149
  items: [
150
150
  g.postCode,
@@ -162,7 +162,7 @@ var h = /* @__PURE__ */ o({
162
162
  }),
163
163
  header: "添加岗位",
164
164
  onConfirmCallback: async () => {
165
- await t.Post("system/post", await r.value.validate()), i.success("岗位添加成功"), h.value.query();
165
+ await e.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, U as n, o as r } from "../../../chunks/provider-BipQBIc8.mjs";
1
+ import { N as e, it as t, o as n, rt as r } from "../../../chunks/provider-ofhdEHHM.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-Dyusjn67.mjs";
3
+ import { t as i } from "../../../chunks/page-list-Da4eL_wk.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-Bjm-tcxL.mjs";
6
- import { t as s } from "../../../chunks/SelectDept-sNeYNdzH.mjs";
7
- import { t as c } from "../../../chunks/SelectMenu-27KCnGVX.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-pMMpNO27.mjs";
6
+ import { t as s } from "../../../chunks/SelectDept-DqkpUrLX.mjs";
7
+ import { t as c } from "../../../chunks/SelectMenu-BG2aO4dr.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({
@@ -60,11 +60,11 @@ var y = /* @__PURE__ */ u({
60
60
  method: "system/role/export",
61
61
  permission: "system:role:export"
62
62
  },
63
- list: { method: (e) => t.Get("system/role/list", { params: {
64
- ...e,
63
+ list: { method: (t) => e.Get("system/role/list", { params: {
64
+ ...t,
65
65
  dateRange: void 0,
66
- "params[beginTime]": e.dateRange[0] ?? "",
67
- "params[endTime]": e.dateRange[1] ?? ""
66
+ "params[beginTime]": t.dateRange[0] ?? "",
67
+ "params[endTime]": t.dateRange[1] ?? ""
68
68
  } }) }
69
69
  },
70
70
  columns: [
@@ -85,17 +85,17 @@ var y = /* @__PURE__ */ u({
85
85
  title: "显示顺序"
86
86
  },
87
87
  {
88
- cell: (n, { row: r }) => ({
88
+ cell: (t, { row: n }) => ({
89
89
  beforeChange: async () => {
90
- let n = r.status === "1" ? "启用" : "停用";
91
- return await e(`确认${n}${r.roleName}角色吗?`), await t.Put("system/role/changeStatus", {
92
- roleId: r.roleId,
93
- status: r.status === "1" ? "0" : "1"
90
+ let t = n.status === "1" ? "启用" : "停用";
91
+ return await r(`确认${t}${n.roleName}角色吗?`), await e.Put("system/role/changeStatus", {
92
+ roleId: n.roleId,
93
+ status: n.status === "1" ? "0" : "1"
94
94
  }, { meta: { useSuccessMsg: !0 } }), y.value.query(), !0;
95
95
  },
96
96
  component: "Switch",
97
97
  customValue: ["0", "1"],
98
- disabled: r.roleId === "1"
98
+ disabled: n.roleId === "1"
99
99
  }),
100
100
  colKey: "status",
101
101
  title: "角色状态"
@@ -123,11 +123,11 @@ var y = /* @__PURE__ */ u({
123
123
  {
124
124
  cell: {
125
125
  buttons: [
126
- ({ row: n }) => ({
126
+ ({ row: t }) => ({
127
127
  default: "编辑",
128
128
  onClick: async () => {
129
- let { checkedKeys: i, menus: o } = await t.Get(`system/menu/roleMenuTreeselect/${n.roleId}`), s = h(null);
130
- if (n.menuCheckStrictly) {
129
+ let { checkedKeys: i, menus: o } = await e.Get(`system/menu/roleMenuTreeselect/${t.roleId}`), s = h(null);
130
+ if (t.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,9 +136,9 @@ var y = /* @__PURE__ */ u({
136
136
  t(o);
137
137
  }
138
138
  v(s, () => {
139
- s.value.setFormData(n);
140
- }, { once: !0 }), e({
141
- body: () => d(r, {
139
+ s.value.setFormData(t);
140
+ }, { once: !0 }), r({
141
+ body: () => d(n, {
142
142
  data: m({ menuIds: i }),
143
143
  items: [
144
144
  b.roleName,
@@ -152,23 +152,23 @@ var y = /* @__PURE__ */ u({
152
152
  }, { menu_ids: () => d(c, { menuOptions: o }) }),
153
153
  header: "修改角色",
154
154
  onConfirmCallback: async () => {
155
- await t.Put("system/role", {
155
+ await e.Put("system/role", {
156
156
  ...await s.value.validate(),
157
157
  menuCheckStrictly: !1,
158
- roleId: n.roleId
158
+ roleId: t.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: n.roleId !== "1"
165
+ show: t.roleId !== "1"
166
166
  }),
167
- ({ row: n }) => ({
167
+ ({ row: t }) => ({
168
168
  default: "数据权限",
169
169
  onClick: async () => {
170
- let { checkedKeys: i, depts: o } = await t.Get(`system/role/deptTree/${n.roleId}`), c = h(null);
171
- if (n.deptCheckStrictly) {
170
+ let { checkedKeys: i, depts: o } = await e.Get(`system/role/deptTree/${t.roleId}`), c = h(null);
171
+ if (t.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,9 +177,9 @@ var y = /* @__PURE__ */ u({
177
177
  t(o);
178
178
  }
179
179
  v(c, () => {
180
- c.value.setFormData(n);
181
- }, { once: !0 }), e({
182
- body: () => d(r, {
180
+ c.value.setFormData(t);
181
+ }, { once: !0 }), r({
182
+ body: () => d(n, {
183
183
  data: m({ deptIds: i }),
184
184
  items: [
185
185
  {
@@ -213,25 +213,25 @@ var y = /* @__PURE__ */ u({
213
213
  ],
214
214
  ref: c
215
215
  }, { dept_ids: () => d(s, { deptOptions: o }) }),
216
- header: `给${n.roleName}分配数据权限`,
216
+ header: `给${t.roleName}分配数据权限`,
217
217
  onConfirmCallback: async () => {
218
- await t.Put("system/role/dataScope", {
218
+ await e.Put("system/role/dataScope", {
219
219
  deptIds: [],
220
220
  ...await c.value.validate(),
221
221
  deptCheckStrictly: !1,
222
- roleId: n.roleId
222
+ roleId: t.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: n.roleId !== "1"
229
+ show: t.roleId !== "1"
230
230
  }),
231
231
  ({ row: e }) => ({
232
232
  default: "分配用户",
233
233
  onClick: async () => {
234
- n({
234
+ t({
235
235
  body: () => d(o, { roleId: e.roleId }),
236
236
  footer: !1,
237
237
  header: `给${e.roleName}分配用户`,
@@ -241,16 +241,16 @@ var y = /* @__PURE__ */ u({
241
241
  permission: "system:role:edit",
242
242
  show: e.roleId !== "1"
243
243
  }),
244
- ({ row: e }) => ({
244
+ ({ row: t }) => ({
245
245
  default: "删除",
246
246
  permission: "system:role:remove",
247
247
  popconfirm: {
248
248
  content: "确认删除吗",
249
249
  onConfirm: async () => {
250
- await t.Delete(`system/role/${e.roleId}`), a("删除成功"), y.value.query();
250
+ await e.Delete(`system/role/${t.roleId}`), a("删除成功"), y.value.query();
251
251
  }
252
252
  },
253
- show: e.roleId !== "1"
253
+ show: t.roleId !== "1"
254
254
  })
255
255
  ],
256
256
  component: "Buttons"
@@ -277,9 +277,9 @@ var y = /* @__PURE__ */ u({
277
277
  operations: [{
278
278
  default: "新增",
279
279
  onClick: async () => {
280
- let n = await t.Get("system/menu/treeselect"), i = h(null);
281
- e({
282
- body: () => d(r, {
280
+ let t = await e.Get("system/menu/treeselect"), i = h(null);
281
+ r({
282
+ body: () => d(n, {
283
283
  data: m({
284
284
  menuIds: [],
285
285
  status: "0"
@@ -293,10 +293,10 @@ var y = /* @__PURE__ */ u({
293
293
  b.remark
294
294
  ],
295
295
  ref: i
296
- }, { menu_ids: () => d(c, { menuOptions: n }) }),
296
+ }, { menu_ids: () => d(c, { menuOptions: t }) }),
297
297
  header: "添加角色",
298
298
  onConfirmCallback: async () => {
299
- await t.Post("system/role", {
299
+ await e.Post("system/role", {
300
300
  ...await i.value.validate(),
301
301
  menuCheckStrictly: !1
302
302
  }), a.success("角色添加成功"), y.value.query();
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/AssignUser-Bjm-tcxL.mjs";
1
+ export { t as default } from "../../../../chunks/AssignUser-pMMpNO27.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectDept-sNeYNdzH.mjs";
1
+ export { t as default } from "../../../../chunks/SelectDept-DqkpUrLX.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectMenu-27KCnGVX.mjs";
1
+ export { t as default } from "../../../../chunks/SelectMenu-BG2aO4dr.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectUser-Cx0YM3ds.mjs";
1
+ export { t as default } from "../../../../chunks/SelectUser-UL3WHxqY.mjs";