dlzn-ui 2.0.98 → 2.0.99

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 (239) hide show
  1. package/.cursorrules +6 -0
  2. package/assets/{provider-Bh_VYGit.css → provider-BGH-ekpY.css} +1 -1
  3. package/chunks/{AssignUser-CoK8ysxX.mjs → AssignUser-waAXeDTQ.mjs} +3 -3
  4. package/chunks/{BasicInfo-DP-TjE-1.mjs → BasicInfo-BT5JLMMj.mjs} +1 -1
  5. package/chunks/{ColumnInfo-BENcNcjv.mjs → ColumnInfo-wAuxVvli.mjs} +2 -2
  6. package/chunks/{Common-Dy7MWkoY.mjs → Common-B6LL_pJ1.mjs} +1 -1
  7. package/chunks/{Day-wwoyNS4q.mjs → Day-Cre05o7r.mjs} +1 -1
  8. package/chunks/{DictTypeDetail-Ctod_5i6.mjs → DictTypeDetail-Bx5bKwXw.mjs} +6 -6
  9. package/chunks/{GenInfo-BtgCto3F.mjs → GenInfo-DC95WCnD.mjs} +1 -1
  10. package/chunks/{Hour-671UOFuG.mjs → Hour-DJzYk7GJ.mjs} +1 -1
  11. package/chunks/{Import-DJkIqTQV.mjs → Import-BWoojnMv.mjs} +2 -2
  12. package/chunks/{Index-BtHM8HUR.mjs → Index-BDBHDQ07.mjs} +1 -1
  13. package/chunks/{Index-B57t87C8.mjs → Index-BJG3s8ex.mjs} +1 -1
  14. package/chunks/{Index-CKcGE0EC.mjs → Index-BOFxzo4M.mjs} +1 -1
  15. package/chunks/{Index-BcADFXLn.mjs → Index-BRZxYZIv.mjs} +1 -1
  16. package/chunks/{Index-DYXxzove.mjs → Index-Boh3OOFV.mjs} +1 -1
  17. package/chunks/{Index-D5b_WwEP.mjs → Index-C68kZR8E.mjs} +1 -1
  18. package/chunks/{Index-DYWlT_JS.mjs → Index-CXkLdOfe.mjs} +5 -5
  19. package/chunks/{Index-oFoDfJUs.mjs → Index-CykdZsB_.mjs} +1 -1
  20. package/chunks/{Index-BGRs3LTK.mjs → Index-DaytT_AW.mjs} +1 -1
  21. package/chunks/{Index-BdZ3Kq8E.mjs → Index-DbakWwBg.mjs} +1 -1
  22. package/chunks/{Index-Cc3RliiL.mjs → Index-Dq8shC0r.mjs} +1 -1
  23. package/chunks/{Index-D3Ycoo9A.mjs → Index-DrOqyR73.mjs} +1 -1
  24. package/chunks/{Index-D85EL5Ks.mjs → Index-Dt1_qIE0.mjs} +1 -1
  25. package/chunks/{Index-B9oAsB5e.mjs → Index-ROYmxgxz.mjs} +1 -1
  26. package/chunks/{Index-We8Fg-mW.mjs → Index-VM6U6bBT.mjs} +1 -1
  27. package/chunks/{Index-j6vlkcpq.mjs → Index-pHj1MGDH.mjs} +1 -1
  28. package/chunks/{Index-vIIDoFwC.mjs → Index-vl5EgFpp.mjs} +1 -1
  29. package/chunks/{IndexItem-Bm9pfvHi.mjs → IndexItem-DdtjD7Tk.mjs} +3 -3
  30. package/chunks/{Log-bjAcmR1V.mjs → Log-BWLsqcsC.mjs} +4 -4
  31. package/chunks/{LoginBg-CApgktMj.mjs → LoginBg-spbuiV_l.mjs} +1 -1
  32. package/chunks/{Minute-DBg5h7LI.mjs → Minute-xQVuuTaZ.mjs} +1 -1
  33. package/chunks/{Month-DBj0XrgG.mjs → Month-MA5abT2b.mjs} +1 -1
  34. package/chunks/{Preview-CYT7hfg9.mjs → Preview-WVWdOYW0.mjs} +1 -1
  35. package/chunks/{Second-CoqZLN8R.mjs → Second-Stezm_9i.mjs} +1 -1
  36. package/chunks/{SelectDept-C3g-TST-.mjs → SelectDept-vjJb8OgS.mjs} +12 -12
  37. package/chunks/{SelectMenu-D_ak5roV.mjs → SelectMenu-Cst3XCuO.mjs} +12 -12
  38. package/chunks/{SelectUser-DKwn52un.mjs → SelectUser-Cvi9nuX8.mjs} +2 -2
  39. package/chunks/{UserInfo-WP04COQ9.mjs → UserInfo-Bagkd0ip.mjs} +8 -8
  40. package/chunks/{Wrapper-BttSSoR1.mjs → Wrapper-D8ohSgzb.mjs} +1 -1
  41. package/chunks/{app-CanT8Ncn.mjs → app-YCKX4EtG.mjs} +1 -1
  42. package/chunks/{custom-page-list-B5gQ48KA.mjs → custom-page-list-DFGQrCfH.mjs} +4 -4
  43. package/chunks/{custom-page-table-duLPDjna.mjs → custom-page-table-cC9-s4tW.mjs} +2 -2
  44. package/chunks/{job-Ckt1Ja6v.mjs → job-Bo00bGj4.mjs} +14 -14
  45. package/chunks/{overview-BIpvG_fg.mjs → overview-DWhfi84T.mjs} +1 -1
  46. package/chunks/{page-list-DYgpO_gu.mjs → page-list-BpswI1cl.mjs} +3 -3
  47. package/chunks/{page-query-B2TUPeap.mjs → page-query-CYtTTZ1J.mjs} +1 -1
  48. package/chunks/{page-table-CDvPEogF.mjs → page-table-CUN9oB0C.mjs} +6 -6
  49. package/chunks/{pagination-Dzzt6uHT.mjs → pagination-CxJoeMdk.mjs} +1 -1
  50. package/chunks/{provider-dcoB0WiG.mjs → provider-ClG0820c.mjs} +722 -628
  51. package/chunks/{table-DozfgXaR.mjs → table-fzyYo8Na.mjs} +1 -1
  52. package/components/app/index.mjs +1 -1
  53. package/components/app/src/app.mjs +1 -1
  54. package/components/audio-play/src/audio-play.vue.d.ts +1 -1
  55. package/components/auto-complete/src/auto-complete.vue.d.ts +1 -1
  56. package/components/button/index.mjs +1 -1
  57. package/components/button/src/button.mjs +1 -1
  58. package/components/cascader/index.d.ts +2 -0
  59. package/components/cascader/index.mjs +1 -0
  60. package/components/cascader/src/cascader.d.ts +19 -0
  61. package/components/cascader/src/cascader.mjs +1 -0
  62. package/components/cascader/src/cascader.vue.d.ts +15 -0
  63. package/components/checkbox-group/index.mjs +1 -1
  64. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  65. package/components/cron/index.mjs +1 -1
  66. package/components/cron/src/Common.mjs +1 -1
  67. package/components/cron/src/Day.mjs +1 -1
  68. package/components/cron/src/Hour.mjs +1 -1
  69. package/components/cron/src/Minute.mjs +1 -1
  70. package/components/cron/src/Month.mjs +1 -1
  71. package/components/cron/src/Picker.mjs +6 -6
  72. package/components/cron/src/Second.mjs +1 -1
  73. package/components/cron/src/cron.mjs +1 -1
  74. package/components/cron/src/cron.vue.d.ts +2 -2
  75. package/components/custom-page-list/index.mjs +1 -1
  76. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  77. package/components/custom-page-list/src/custom-page-list.vue.d.ts +3 -3
  78. package/components/custom-page-table/index.mjs +1 -1
  79. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  80. package/components/date-picker/index.mjs +1 -1
  81. package/components/date-picker/src/date-picker.mjs +1 -1
  82. package/components/date-picker/src/date-picker.vue.d.ts +2 -2
  83. package/components/dialog/index.mjs +1 -1
  84. package/components/dialog/src/dialog.mjs +1 -1
  85. package/components/dialog/src/dialog.vue.d.ts +10 -10
  86. package/components/form/index.mjs +1 -1
  87. package/components/form/src/form.d.ts +2 -0
  88. package/components/form/src/form.mjs +1 -1
  89. package/components/form/src/form.vue.d.ts +1 -1
  90. package/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  91. package/components/index.d.ts +1 -0
  92. package/components/index.mjs +27 -27
  93. package/components/input/src/input.vue.d.ts +2 -2
  94. package/components/input-number/index.mjs +1 -1
  95. package/components/input-number/src/input-number.mjs +1 -1
  96. package/components/input-number/src/input-number.vue.d.ts +1 -1
  97. package/components/link/src/link.vue.d.ts +1 -1
  98. package/components/overview/index.mjs +1 -1
  99. package/components/overview/src/DicLabel/Index.mjs +1 -1
  100. package/components/overview/src/IndexItem.mjs +1 -1
  101. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  102. package/components/overview/src/overview.mjs +1 -1
  103. package/components/page-list/index.mjs +1 -1
  104. package/components/page-list/src/page-list.d.ts +311 -199
  105. package/components/page-list/src/page-list.mjs +1 -1
  106. package/components/page-list/src/page-list.vue.d.ts +17 -17
  107. package/components/page-query/index.mjs +1 -1
  108. package/components/page-query/src/page-query.mjs +1 -1
  109. package/components/page-query/src/page-query.vue.d.ts +4 -4
  110. package/components/page-table/index.mjs +1 -1
  111. package/components/page-table/src/page-table.mjs +1 -1
  112. package/components/page-table/src/page-table.vue.d.ts +18 -18
  113. package/components/pagination/index.mjs +1 -1
  114. package/components/pagination/src/pagination.mjs +1 -1
  115. package/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  116. package/components/provider/index.mjs +1 -1
  117. package/components/provider/src/Provider.mjs +1 -1
  118. package/components/radio-group/index.mjs +1 -1
  119. package/components/radio-group/src/radio-group.mjs +1 -1
  120. package/components/range-input/index.mjs +1 -1
  121. package/components/range-input/src/range-input.mjs +1 -1
  122. package/components/range-input/src/range-input.vue.d.ts +2 -2
  123. package/components/select/index.mjs +1 -1
  124. package/components/select/src/select.d.ts +0 -1
  125. package/components/select/src/select.mjs +1 -1
  126. package/components/select/src/select.vue.d.ts +5 -6
  127. package/components/select-sys-user/index.mjs +1 -1
  128. package/components/select-sys-user/src/Picker.mjs +2 -2
  129. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  130. package/components/tab-panel/src/tab-panel.vue.d.ts +1 -1
  131. package/components/table/index.mjs +1 -1
  132. package/components/table/src/table.mjs +1 -1
  133. package/components/table/src/table.vue.d.ts +3 -3
  134. package/components/textarea/src/textarea.vue.d.ts +1 -1
  135. package/components/tree/index.mjs +1 -1
  136. package/components/tree/src/tree.mjs +1 -1
  137. package/components/tree/src/tree.vue.d.ts +3 -3
  138. package/components/tree-select/index.mjs +1 -1
  139. package/components/tree-select/src/tree-select.mjs +1 -1
  140. package/components/tree-select/src/tree-select.vue.d.ts +2 -1
  141. package/components/upload/index.mjs +1 -1
  142. package/components/upload/src/upload.mjs +1 -1
  143. package/hooks/useDicOptions/index.mjs +1 -1
  144. package/hooks/useLabel/index.mjs +1 -1
  145. package/hooks/useList/index.d.ts +20 -8
  146. package/hooks/useList/index.mjs +1 -1
  147. package/hooks/useSysUser/index.mjs +1 -1
  148. package/index.d.ts +1 -2
  149. package/layout/Entry.mjs +1 -1
  150. package/layout/Home.mjs +2 -2
  151. package/layout/Home1.mjs +21 -16
  152. package/layout/Login.mjs +7 -7
  153. package/layout/NotFound.mjs +1 -1
  154. package/layout/modules/Aside.mjs +1 -1
  155. package/layout/modules/Breadcrumb.mjs +1 -1
  156. package/layout/modules/Header.mjs +1 -1
  157. package/layout/modules/LoginBg.mjs +1 -1
  158. package/layout/profile/Index.mjs +2 -2
  159. package/layout/profile/ResetPwd.mjs +1 -1
  160. package/layout/profile/UserInfo.mjs +1 -1
  161. package/layout/vueBits/Plasma.vue.d.ts +1 -1
  162. package/main.mjs +3 -3
  163. package/package.json +1 -1
  164. package/plugins/autoImport/$alova/index.mjs +1 -1
  165. package/plugins/autoImport/$confirm/index.mjs +1 -1
  166. package/plugins/autoImport/$dialog/index.mjs +1 -1
  167. package/plugins/autoImport/$drawer/index.mjs +1 -1
  168. package/plugins/captcha/captcha.mjs +1 -1
  169. package/plugins/captcha/index.mjs +1 -1
  170. package/plugins/directive/index.mjs +1 -1
  171. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  172. package/plugins/tableRenders/Wrapper.mjs +1 -1
  173. package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
  174. package/plugins/tableRenders/cell/AudioPlay/Index.vue.d.ts +1 -1
  175. package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
  176. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  177. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  178. package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
  179. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  180. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  181. package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
  182. package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
  183. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +2 -2
  184. package/plugins/tableRenders/cell/Input/Index.vue.d.ts +2 -2
  185. package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
  186. package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +1 -1
  187. package/plugins/tableRenders/cell/Link/Index.vue.d.ts +1 -1
  188. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  189. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  190. package/plugins/tableRenders/cell/Select/Index.vue.d.ts +5 -6
  191. package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
  192. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  193. package/plugins/tableRenders/cell/index.mjs +15 -15
  194. package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
  195. package/plugins/tableRenders/title/index.mjs +2 -2
  196. package/proj-template/.vscode/settings.json +3 -2
  197. package/router/index.mjs +1 -1
  198. package/store/modules/common.mjs +1 -1
  199. package/store/modules/login.mjs +1 -1
  200. package/store/modules/recentRouters.mjs +1 -1
  201. package/store/modules/router.mjs +1 -1
  202. package/store/modules/user.mjs +1 -1
  203. package/types/globle.d.ts +12 -2
  204. package/utils/gather.mjs +1 -1
  205. package/utils/index.mjs +3 -3
  206. package/utils/tool.mjs +1 -1
  207. package/utils/tree.d.ts +58 -4
  208. package/utils/tree.mjs +35 -17
  209. package/views/monitor/cache/index.mjs +2 -2
  210. package/views/monitor/cacheList/index.mjs +2 -2
  211. package/views/monitor/job/index.mjs +1 -1
  212. package/views/monitor/logininfor/index.mjs +2 -2
  213. package/views/monitor/online/index.mjs +2 -2
  214. package/views/monitor/operlog/index.mjs +2 -2
  215. package/views/monitor/server/index.mjs +2 -2
  216. package/views/system/config/index.mjs +6 -6
  217. package/views/system/dept/index.mjs +72 -72
  218. package/views/system/dept/utils.mjs +1 -1
  219. package/views/system/dict/index.mjs +7 -7
  220. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  221. package/views/system/menu/index.mjs +101 -101
  222. package/views/system/menu/utils.mjs +1 -1
  223. package/views/system/notice/index.mjs +6 -6
  224. package/views/system/post/index.mjs +6 -6
  225. package/views/system/role/index.mjs +17 -17
  226. package/views/system/role/modules/AssignUser.mjs +1 -1
  227. package/views/system/role/modules/SelectDept.mjs +1 -1
  228. package/views/system/role/modules/SelectMenu.mjs +1 -1
  229. package/views/system/role/modules/SelectUser.mjs +1 -1
  230. package/views/system/user/index.mjs +20 -20
  231. package/views/tool/gen/editTable/index.mjs +4 -4
  232. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  233. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  234. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  235. package/views/tool/gen/index.mjs +4 -4
  236. package/views/tool/gen/modules/Import.mjs +1 -1
  237. package/views/tool/gen/modules/Preview.mjs +1 -1
  238. package/views/tool/job/index.mjs +1 -1
  239. package/views/tool/job/modules/Log.mjs +1 -1
@@ -1,18 +1,18 @@
1
- import { N as e, n as t, o as n, rt as r } from "../../../chunks/provider-dcoB0WiG.mjs";
2
- import { t as i } from "../../../chunks/icon-DnBGEq-n.mjs";
1
+ import { E as e, P as t, it as n, n as r, o as i } from "../../../chunks/provider-ClG0820c.mjs";
2
+ import { t as a } from "../../../chunks/icon-DnBGEq-n.mjs";
3
3
  import "../../../components/icon/index.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { isFalsy as a } from "../../../utils/boolean.mjs";
6
- import { flatArrToTree as o } from "../../../utils/tree.mjs";
7
- import { t as s } from "../../../chunks/page-list-DYgpO_gu.mjs";
8
- import c from "../../../plugins/autoImport/$msg/index.mjs";
9
- import { useMenuTree as l } from "./utils.mjs";
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";
5
+ import { isFalsy as o } from "../../../utils/boolean.mjs";
6
+ import { flatArrToTree as s } from "../../../utils/tree.mjs";
7
+ import { t as c } from "../../../chunks/page-list-BpswI1cl.mjs";
8
+ import l from "../../../plugins/autoImport/$msg/index.mjs";
9
+ import { useMenuTree as u } from "./utils.mjs";
10
+ import { createBlock as d, defineComponent as f, h as p, mergeProps as m, openBlock as h, reactive as g, ref as _, unref as v, useTemplateRef as y, watch as b } from "vue";
11
11
  // ../../packages/dlzn-ui/views/system/menu/index.vue
12
- var b = /* @__PURE__ */ d({
12
+ var x = /* @__PURE__ */ f({
13
13
  __name: "index",
14
- setup(d) {
15
- let { menuTreeList: b, menuTreeListSend: x } = l(), S = v("pageListRef"), C = g([]), w = {
14
+ setup(f) {
15
+ let { menuTreeList: x, menuTreeListSend: S } = u(), C = y("pageListRef"), w = _([]), T = {
16
16
  component: {
17
17
  __others: ({ formData: e }) => ({ show: e.menuType === "C" }),
18
18
  _class: "col-span-full",
@@ -25,7 +25,7 @@ var b = /* @__PURE__ */ d({
25
25
  icon: {
26
26
  __others: ({ formData: e }) => ({
27
27
  adornment: {
28
- append: () => f(t, {
28
+ append: () => p(r, {
29
29
  default: "去选择",
30
30
  icon: "line-md:link",
31
31
  onClick: () => {
@@ -33,12 +33,12 @@ var b = /* @__PURE__ */ d({
33
33
  },
34
34
  variant: "text"
35
35
  }),
36
- prepend: () => f(i, {
36
+ prepend: () => p(a, {
37
37
  class: "mx-1",
38
38
  icon: e.icon
39
39
  })
40
40
  },
41
- show: e.menuType !== "F" && a(e.parentId)
41
+ show: e.menuType !== "F" && o(e.parentId)
42
42
  }),
43
43
  _label: "菜单图标",
44
44
  _required: !0,
@@ -105,11 +105,11 @@ var b = /* @__PURE__ */ d({
105
105
  model: "orderNum",
106
106
  theme: "row"
107
107
  },
108
- parentId: h({
108
+ parentId: g({
109
109
  _class: "col-span-full",
110
110
  _label: "上级菜单",
111
111
  component: "TTreeSelect",
112
- data: b,
112
+ data: x,
113
113
  model: "parentId",
114
114
  placeholder: "请选择上级菜单, 不选择的话, 默认为顶级菜单"
115
115
  }),
@@ -143,28 +143,28 @@ var b = /* @__PURE__ */ d({
143
143
  model: "visible"
144
144
  }
145
145
  };
146
- function T(e) {
147
- if (a(e.component)) return;
146
+ function E(e) {
147
+ if (o(e.component)) return;
148
148
  let t = e.component.split("___");
149
149
  e.component = e.isFrame === "0" ? `${t[0]}___0` : t[0];
150
150
  }
151
- let E = {
151
+ let D = {
152
152
  apis: {
153
153
  delete: {
154
154
  callback: () => {
155
- x();
155
+ S(), e("systemMenuTree");
156
156
  },
157
157
  method: "system/menu",
158
158
  permission: "system:menu:remove"
159
159
  },
160
- list: { method: (t) => e.Get("system/menu/list", {
160
+ list: { method: (e) => t.Get("system/menu/list", {
161
161
  params: {
162
- ...t,
162
+ ...e,
163
163
  pageNum: void 0,
164
164
  pageSize: void 0
165
165
  },
166
166
  transform: (e) => ({
167
- rows: o(e, { idKey: "menuId" }),
167
+ rows: s(e, { idKey: "menuId" }),
168
168
  total: 0
169
169
  })
170
170
  }) }
@@ -233,41 +233,41 @@ var b = /* @__PURE__ */ d({
233
233
  },
234
234
  {
235
235
  cell: {
236
- buttons: [({ row: t }) => ({
236
+ buttons: [({ row: r }) => ({
237
237
  default: "编辑",
238
238
  onClick: () => {
239
- let i = g(null);
240
- y(i, () => {
241
- i.value.setFormData({
242
- ...t,
243
- parentId: t.parentId === "0" ? "" : t.parentId
239
+ let a = _(null);
240
+ b(a, () => {
241
+ a.value.setFormData({
242
+ ...r,
243
+ parentId: r.parentId === "0" ? "" : r.parentId
244
244
  }, { numberToStringKeys: ["isFrame"] });
245
- }, { once: !0 }), r({
246
- body: () => f(n, {
247
- data: h({
245
+ }, { once: !0 }), n({
246
+ body: () => p(i, {
247
+ data: g({
248
248
  isCache: "0",
249
249
  isFrame: "1",
250
250
  visible: "0"
251
251
  }),
252
252
  items: [
253
- w.parentId,
254
- w.menuType,
255
- w.icon,
256
- w.menuName,
257
- w.orderNum,
258
- w.path,
259
- w.component,
260
- w.perms,
261
- w.isCache,
262
- w.visible,
263
- w.isFrame,
264
- w.status
253
+ T.parentId,
254
+ T.menuType,
255
+ T.icon,
256
+ T.menuName,
257
+ T.orderNum,
258
+ T.path,
259
+ T.component,
260
+ T.perms,
261
+ T.isCache,
262
+ T.visible,
263
+ T.isFrame,
264
+ T.status
265
265
  ],
266
- ref: i
266
+ ref: a
267
267
  }),
268
268
  header: "编辑菜单",
269
269
  onConfirmCallback: async () => {
270
- let n = await i.value.validate();
270
+ let n = await a.value.validate();
271
271
  [
272
272
  "component",
273
273
  "perms",
@@ -278,53 +278,53 @@ var b = /* @__PURE__ */ d({
278
278
  "isFrame"
279
279
  ].forEach((e) => {
280
280
  e in n || (n[e] = "");
281
- }), T(n), await e.Put("system/menu", {
281
+ }), E(n), await t.Put("system/menu", {
282
282
  ...n,
283
- menuId: t.menuId,
284
- parentId: a(n.parentId) ? "0" : n.parentId
285
- }), x(), c.success("菜单修改成功"), S.value.query();
283
+ menuId: r.menuId,
284
+ parentId: o(n.parentId) ? "0" : n.parentId
285
+ }), S(), e("systemMenuTree"), l.success("菜单修改成功"), C.value.query();
286
286
  },
287
287
  width: 730
288
288
  });
289
289
  },
290
290
  permission: "system:menu:edit"
291
- }), ({ row: t }) => ({
291
+ }), ({ row: r }) => ({
292
292
  default: "新增",
293
293
  onClick: () => {
294
- let i = g(null);
295
- r({
296
- body: () => f(n, {
297
- data: h({
294
+ let a = _(null);
295
+ n({
296
+ body: () => p(i, {
297
+ data: g({
298
298
  isCache: "0",
299
299
  isFrame: "1",
300
300
  menuType: "M",
301
- parentId: t.menuId,
301
+ parentId: r.menuId,
302
302
  status: "0",
303
303
  visible: "0"
304
304
  }),
305
305
  items: [
306
306
  {
307
- ...w.parentId,
307
+ ...T.parentId,
308
308
  disabled: !0
309
309
  },
310
- w.menuType,
311
- w.icon,
312
- w.menuName,
313
- w.orderNum,
314
- w.path,
315
- w.component,
316
- w.perms,
317
- w.isCache,
318
- w.visible,
319
- w.isFrame,
320
- w.status
310
+ T.menuType,
311
+ T.icon,
312
+ T.menuName,
313
+ T.orderNum,
314
+ T.path,
315
+ T.component,
316
+ T.perms,
317
+ T.isCache,
318
+ T.visible,
319
+ T.isFrame,
320
+ T.status
321
321
  ],
322
- ref: i
322
+ ref: a
323
323
  }),
324
324
  header: "新增菜单",
325
325
  onConfirmCallback: async () => {
326
- let t = await i.value.validate();
327
- T(t), await e.Post("system/menu", t), x(), c.success("菜单修改成功"), S.value.query();
326
+ let n = await a.value.validate();
327
+ E(n), await t.Post("system/menu", n), S(), e("systemMenuTree"), l.success("菜单修改成功"), C.value.query();
328
328
  },
329
329
  width: 730
330
330
  });
@@ -337,17 +337,17 @@ var b = /* @__PURE__ */ d({
337
337
  title: "操作"
338
338
  }
339
339
  ],
340
- formItems: [w.menuName, {
341
- ...w.status,
340
+ formItems: [T.menuName, {
341
+ ...T.status,
342
342
  component: "TSelect"
343
343
  }],
344
344
  operations: [{
345
345
  default: "新增",
346
346
  onClick: () => {
347
- let t = g(null);
348
- r({
349
- body: () => f(n, {
350
- data: h({
347
+ let r = _(null);
348
+ n({
349
+ body: () => p(i, {
350
+ data: g({
351
351
  isCache: "0",
352
352
  isFrame: "1",
353
353
  menuType: "M",
@@ -355,47 +355,47 @@ var b = /* @__PURE__ */ d({
355
355
  visible: "0"
356
356
  }),
357
357
  items: [
358
- w.parentId,
359
- w.menuType,
360
- w.icon,
361
- w.menuName,
362
- w.orderNum,
363
- w.path,
364
- w.component,
365
- w.perms,
366
- w.isCache,
367
- w.visible,
368
- w.isFrame,
369
- w.status
358
+ T.parentId,
359
+ T.menuType,
360
+ T.icon,
361
+ T.menuName,
362
+ T.orderNum,
363
+ T.path,
364
+ T.component,
365
+ T.perms,
366
+ T.isCache,
367
+ T.visible,
368
+ T.isFrame,
369
+ T.status
370
370
  ],
371
- ref: t
371
+ ref: r
372
372
  }),
373
373
  header: "添加菜单",
374
374
  onConfirmCallback: async () => {
375
- let n = await t.value.validate();
376
- T(n), await e.Post("system/menu", {
375
+ let n = await r.value.validate();
376
+ E(n), await t.Post("system/menu", {
377
377
  ...n,
378
- parentId: a(n.parentId) ? "0" : n.parentId
379
- }), x(), c.success("菜单添加成功"), S.value.query();
378
+ parentId: o(n.parentId) ? "0" : n.parentId
379
+ }), S(), e("systemMenuTree"), l.success("菜单添加成功"), C.value.query();
380
380
  },
381
381
  width: 730
382
382
  });
383
383
  },
384
384
  permission: "system:menu:add"
385
385
  }],
386
- tableOtherProps: h({
387
- expandedTreeNodes: C,
386
+ tableOtherProps: g({
387
+ expandedTreeNodes: w,
388
388
  onExpandedTreeNodesChange: (e) => {
389
- C.value = e;
389
+ w.value = e;
390
390
  },
391
391
  rowKey: "menuId",
392
392
  showSerialNumber: !1
393
393
  })
394
394
  };
395
- return (e, t) => (m(), u(_(s), p({
395
+ return (e, t) => (h(), d(v(c), m({
396
396
  ref_key: "pageListRef",
397
- ref: S
398
- }, E), null, 16));
397
+ ref: C
398
+ }, D), null, 16));
399
399
  }
400
400
  });
401
- export { b as default };
401
+ export { x as default };
@@ -1,4 +1,4 @@
1
- import { N as e } from "../../../chunks/provider-dcoB0WiG.mjs";
1
+ import { P as e } from "../../../chunks/provider-ClG0820c.mjs";
2
2
  import { flatArrToTree as t } from "../../../utils/tree.mjs";
3
3
  import { useRequest as n } from "alova/client";
4
4
  // ../../packages/dlzn-ui/views/system/menu/utils.ts
@@ -1,6 +1,6 @@
1
- import { N as e, o as t, rt as n } from "../../../chunks/provider-dcoB0WiG.mjs";
1
+ import { P as e, it as t, o as n } from "../../../chunks/provider-ClG0820c.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-DYgpO_gu.mjs";
3
+ import { t as r } from "../../../chunks/page-list-BpswI1cl.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 }), n({
92
- body: () => s(t, {
91
+ }, { once: !0 }), t({
92
+ body: () => s(n, {
93
93
  items: _,
94
94
  labelAlign: "right",
95
95
  layout: "vertical",
@@ -122,8 +122,8 @@ var h = /* @__PURE__ */ o({
122
122
  default: "新增",
123
123
  onClick: () => {
124
124
  let r = d(null);
125
- n({
126
- body: () => s(t, {
125
+ t({
126
+ body: () => s(n, {
127
127
  data: u({ status: "0" }),
128
128
  items: _,
129
129
  labelAlign: "right",
@@ -1,6 +1,6 @@
1
- import { N as e, o as t, rt as n } from "../../../chunks/provider-dcoB0WiG.mjs";
1
+ import { P as e, it as t, o as n } from "../../../chunks/provider-ClG0820c.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-DYgpO_gu.mjs";
3
+ import { t as r } from "../../../chunks/page-list-BpswI1cl.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 }), n({
104
- body: () => s(t, {
103
+ }, { once: !0 }), t({
104
+ body: () => s(n, {
105
105
  items: [
106
106
  g.postCode,
107
107
  g.postName,
@@ -143,8 +143,8 @@ var h = /* @__PURE__ */ o({
143
143
  default: "新增",
144
144
  onClick: () => {
145
145
  let r = d(null);
146
- n({
147
- body: () => s(t, {
146
+ t({
147
+ body: () => s(n, {
148
148
  data: u({ status: "0" }),
149
149
  items: [
150
150
  g.postCode,
@@ -1,10 +1,10 @@
1
- import { N as e, it as t, o as n, rt as r } from "../../../chunks/provider-dcoB0WiG.mjs";
1
+ import { P as e, at as t, it as n, o as r } from "../../../chunks/provider-ClG0820c.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-DYgpO_gu.mjs";
3
+ import { t as i } from "../../../chunks/page-list-BpswI1cl.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-CoK8ysxX.mjs";
6
- import { t as s } from "../../../chunks/SelectDept-C3g-TST-.mjs";
7
- import { t as c } from "../../../chunks/SelectMenu-D_ak5roV.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-waAXeDTQ.mjs";
6
+ import { t as s } from "../../../chunks/SelectDept-vjJb8OgS.mjs";
7
+ import { t as c } from "../../../chunks/SelectMenu-Cst3XCuO.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,17 +85,17 @@ var y = /* @__PURE__ */ u({
85
85
  title: "显示顺序"
86
86
  },
87
87
  {
88
- cell: (t, { row: n }) => ({
88
+ cell: (t, { row: r }) => ({
89
89
  beforeChange: async () => {
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"
90
+ let t = r.status === "1" ? "启用" : "停用";
91
+ return await n(`确认${t}${r.roleName}角色吗?`), await e.Put("system/role/changeStatus", {
92
+ roleId: r.roleId,
93
+ status: r.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: n.roleId === "1"
98
+ disabled: r.roleId === "1"
99
99
  }),
100
100
  colKey: "status",
101
101
  title: "角色状态"
@@ -137,8 +137,8 @@ var y = /* @__PURE__ */ u({
137
137
  }
138
138
  v(s, () => {
139
139
  s.value.setFormData(t);
140
- }, { once: !0 }), r({
141
- body: () => d(n, {
140
+ }, { once: !0 }), n({
141
+ body: () => d(r, {
142
142
  data: m({ menuIds: i }),
143
143
  items: [
144
144
  b.roleName,
@@ -178,8 +178,8 @@ var y = /* @__PURE__ */ u({
178
178
  }
179
179
  v(c, () => {
180
180
  c.value.setFormData(t);
181
- }, { once: !0 }), r({
182
- body: () => d(n, {
181
+ }, { once: !0 }), n({
182
+ body: () => d(r, {
183
183
  data: m({ deptIds: i }),
184
184
  items: [
185
185
  {
@@ -278,8 +278,8 @@ var y = /* @__PURE__ */ u({
278
278
  default: "新增",
279
279
  onClick: async () => {
280
280
  let t = await e.Get("system/menu/treeselect"), i = h(null);
281
- r({
282
- body: () => d(n, {
281
+ n({
282
+ body: () => d(r, {
283
283
  data: m({
284
284
  menuIds: [],
285
285
  status: "0"
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/AssignUser-CoK8ysxX.mjs";
1
+ export { t as default } from "../../../../chunks/AssignUser-waAXeDTQ.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectDept-C3g-TST-.mjs";
1
+ export { t as default } from "../../../../chunks/SelectDept-vjJb8OgS.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectMenu-D_ak5roV.mjs";
1
+ export { t as default } from "../../../../chunks/SelectMenu-Cst3XCuO.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectUser-DKwn52un.mjs";
1
+ export { t as default } from "../../../../chunks/SelectUser-Cvi9nuX8.mjs";
@@ -1,10 +1,10 @@
1
- import { G as e, N as t, o as n, rt as r } from "../../../chunks/provider-dcoB0WiG.mjs";
1
+ import { K as e, P as t, it as n, o as r } from "../../../chunks/provider-ClG0820c.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-DozfgXaR.mjs";
5
+ import { t as o } from "../../../chunks/table-fzyYo8Na.mjs";
6
6
  import s from "../../../plugins/autoImport/$msg/index.mjs";
7
- import { t as c } from "../../../chunks/page-list-DYgpO_gu.mjs";
7
+ import { t as c } from "../../../chunks/page-list-BpswI1cl.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";
@@ -160,12 +160,12 @@ var w = /* @__PURE__ */ p({
160
160
  title: "手机号码"
161
161
  },
162
162
  {
163
- cell: (e, { row: n }) => ({
163
+ cell: (e, { row: r }) => ({
164
164
  beforeChange: async () => {
165
- let e = n.status === "1" ? "启用" : "停用";
166
- return await r(`确认${e}${n.userName}用户吗?`), await t.Put("system/user/changeStatus", {
167
- status: n.status === "1" ? "0" : "1",
168
- userId: n.userId
165
+ let e = r.status === "1" ? "启用" : "停用";
166
+ return await n(`确认${e}${r.userName}用户吗?`), await t.Put("system/user/changeStatus", {
167
+ status: r.status === "1" ? "0" : "1",
168
+ userId: r.userId
169
169
  }, { meta: { useSuccessMsg: !0 } }), D.value.query(), !0;
170
170
  },
171
171
  component: "Switch",
@@ -203,8 +203,8 @@ 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 }), r({
207
- body: () => m(n, {
206
+ }, { once: !0 }), n({
207
+ body: () => m(r, {
208
208
  data: v({
209
209
  postIds: o,
210
210
  roleIds: l
@@ -258,8 +258,8 @@ var w = /* @__PURE__ */ p({
258
258
  default: "重置密码",
259
259
  onClick: async () => {
260
260
  let o = y(null);
261
- r({
262
- body: () => m(n, {
261
+ n({
262
+ body: () => m(r, {
263
263
  items: [{
264
264
  _required: !0,
265
265
  _rules: [{
@@ -289,8 +289,8 @@ var w = /* @__PURE__ */ p({
289
289
  ({ row: e }) => ({
290
290
  default: "分配角色",
291
291
  onClick: async () => {
292
- let { roles: n, user: i } = await t.Get(`system/user/authRole/${e.userId}`), a = y(null);
293
- r({
292
+ let { roles: r, user: i } = await t.Get(`system/user/authRole/${e.userId}`), a = y(null);
293
+ n({
294
294
  body: () => m(o, {
295
295
  columns: [
296
296
  {
@@ -314,8 +314,8 @@ var w = /* @__PURE__ */ p({
314
314
  title: "角色说明"
315
315
  }
316
316
  ],
317
- data: n,
318
- defaultSelectedRowKeys: n.filter((e) => e.flag).map((e) => e.roleId),
317
+ data: r,
318
+ defaultSelectedRowKeys: r.filter((e) => e.flag).map((e) => e.roleId),
319
319
  ref: a,
320
320
  rowKey: "roleId",
321
321
  showRowSelect: "multiple"
@@ -377,8 +377,8 @@ var w = /* @__PURE__ */ p({
377
377
  default: "新增",
378
378
  onClick: async () => {
379
379
  let { posts: e, roles: i } = await E(""), a = y(null);
380
- r({
381
- body: () => m(n, {
380
+ n({
381
+ body: () => m(r, {
382
382
  data: v({ status: "0" }),
383
383
  items: [
384
384
  O.nickName,
@@ -429,8 +429,8 @@ var w = /* @__PURE__ */ p({
429
429
  default: "导入",
430
430
  onClick: async () => {
431
431
  let e = y(null);
432
- r({
433
- body: () => m(n, {
432
+ n({
433
+ body: () => m(r, {
434
434
  items: [{
435
435
  _required: !0,
436
436
  component: "TUpload",
@@ -1,9 +1,9 @@
1
- import { N as e, n as t, tt as n } from "../../../../chunks/provider-dcoB0WiG.mjs";
1
+ import { P as e, n as t, nt as n } from "../../../../chunks/provider-ClG0820c.mjs";
2
2
  import r from "../../../../hooks/useMountedPromise/index.mjs";
3
3
  import i from "../../../../store/modules/excludeKPname.mjs";
4
- import { t as a } from "../../../../chunks/BasicInfo-DP-TjE-1.mjs";
5
- import { t as o } from "../../../../chunks/ColumnInfo-BENcNcjv.mjs";
6
- import { t as s } from "../../../../chunks/GenInfo-BtgCto3F.mjs";
4
+ import { t as a } from "../../../../chunks/BasicInfo-BT5JLMMj.mjs";
5
+ import { t as o } from "../../../../chunks/ColumnInfo-wAuxVvli.mjs";
6
+ import { t as s } from "../../../../chunks/GenInfo-DC95WCnD.mjs";
7
7
  import { createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, unref as h, withCtx as g } from "vue";
8
8
  import { useRoute as _ } from "vue-router";
9
9
  // ../../packages/dlzn-ui/views/tool/gen/editTable/index.vue?vue&type=script&setup=true&lang.ts
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/BasicInfo-DP-TjE-1.mjs";
1
+ export { t as default } from "../../../../../chunks/BasicInfo-BT5JLMMj.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/ColumnInfo-BENcNcjv.mjs";
1
+ export { t as default } from "../../../../../chunks/ColumnInfo-wAuxVvli.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/GenInfo-BtgCto3F.mjs";
1
+ export { t as default } from "../../../../../chunks/GenInfo-DC95WCnD.mjs";
@@ -1,9 +1,9 @@
1
1
  import "../../../components/page-list/index.mjs";
2
- import { N as e, it as t, rt as n } from "../../../chunks/provider-dcoB0WiG.mjs";
3
- import { t as r } from "../../../chunks/page-list-DYgpO_gu.mjs";
2
+ import { P as e, at as t, it as n } from "../../../chunks/provider-ClG0820c.mjs";
3
+ import { t as r } from "../../../chunks/page-list-BpswI1cl.mjs";
4
4
  import { n as i } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
5
- import { t as a } from "../../../chunks/Import-DJkIqTQV.mjs";
6
- import { t as o } from "../../../chunks/Preview-CYT7hfg9.mjs";
5
+ import { t as a } from "../../../chunks/Import-BWoojnMv.mjs";
6
+ import { t as o } from "../../../chunks/Preview-WVWdOYW0.mjs";
7
7
  import { computed as s, createBlock as c, defineComponent as l, h as u, mergeProps as d, openBlock as f, reactive as p, ref as m, unref as h, useTemplateRef as g } from "vue";
8
8
  import { useRouter as _ } from "vue-router";
9
9
  // ../../packages/dlzn-ui/views/tool/gen/index.vue
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Import-DJkIqTQV.mjs";
1
+ export { t as default } from "../../../../chunks/Import-BWoojnMv.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Preview-CYT7hfg9.mjs";
1
+ export { t as default } from "../../../../chunks/Preview-WVWdOYW0.mjs";