dlzn-ui 2.0.124 → 2.0.126

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 (207) hide show
  1. package/assets/{provider-C_AVk_p8.css → provider-z0U48-Jh.css} +1 -1
  2. package/chunks/{AssignUser-DK1MiMdq.mjs → AssignUser-D-JkYOB8.mjs} +3 -3
  3. package/chunks/{BasicInfo-5yGSJ1G1.mjs → BasicInfo-CEsH-0pZ.mjs} +1 -1
  4. package/chunks/{ColumnInfo-CPCdnV6m.mjs → ColumnInfo-BOHugehD.mjs} +2 -2
  5. package/chunks/{Common-u9d-d9TW.mjs → Common-BsB2JBgP.mjs} +1 -1
  6. package/chunks/{Day-D73qn-jG.mjs → Day-BiR1jIvk.mjs} +1 -1
  7. package/chunks/{DictTypeDetail-CV-q703y.mjs → DictTypeDetail-AY-_0xtV.mjs} +2 -2
  8. package/chunks/{GenInfo-n-z1Zhv_.mjs → GenInfo-qOmBAs-q.mjs} +1 -1
  9. package/chunks/{Hour-C5C5qbIX.mjs → Hour-BYr1lHVi.mjs} +1 -1
  10. package/chunks/{Import-DkyhEhYi.mjs → Import-B-3xdr5l.mjs} +2 -2
  11. package/chunks/{Index-C5r_Zq2g.mjs → Index-B9tKApdV.mjs} +1 -1
  12. package/chunks/{Index-Dzf4uB7i.mjs → Index-BC3wAA8r.mjs} +1 -1
  13. package/chunks/{Index-DDHpO22l.mjs → Index-BF0rWiko.mjs} +1 -1
  14. package/chunks/{Index-Q_xHFThM.mjs → Index-BT6MVtwS.mjs} +6 -6
  15. package/chunks/{Index-BUN6TcBS.mjs → Index-BTVq22to.mjs} +1 -1
  16. package/chunks/{Index-DKyjhuIW.mjs → Index-BfwuM5xD.mjs} +1 -1
  17. package/chunks/{Index-DxdsPF04.mjs → Index-BjD7ojxO.mjs} +1 -1
  18. package/chunks/{Index-CXCKD_8l.mjs → Index-C-DfKaE-.mjs} +1 -1
  19. package/chunks/{Index-BtkGXplj.mjs → Index-C5_w2D9b.mjs} +1 -1
  20. package/chunks/{Index-bEAEMr1o.mjs → Index-CFU6LweI.mjs} +1 -1
  21. package/chunks/{Index-CNf8V1zN.mjs → Index-CNQ6cNCJ.mjs} +1 -1
  22. package/chunks/{Index-0E7HKjme.mjs → Index-CXVN-qHx.mjs} +1 -1
  23. package/chunks/{Index-Bcfy3ZxN.mjs → Index-DSrrffcy.mjs} +1 -1
  24. package/chunks/{Index-DghG2pVD.mjs → Index-DZylH6mb.mjs} +1 -1
  25. package/chunks/{Index-lStH6Up4.mjs → Index-dP2JesvU.mjs} +1 -1
  26. package/chunks/{Index-BLANUNDy.mjs → Index-i2yEiNEh.mjs} +1 -1
  27. package/chunks/{Index-CKvqn1VT.mjs → Index-j18-WyNv.mjs} +1 -1
  28. package/chunks/{Index-Dfr10NsD.mjs → Index-jh_Yvfr2.mjs} +1 -1
  29. package/chunks/{Index-CCleBiMu.mjs → Index-oUENB6rm.mjs} +1 -1
  30. package/chunks/{IndexItem-CZ_kv23h.mjs → IndexItem-SJOquf2O.mjs} +3 -3
  31. package/chunks/{Log-B62TtjMC.mjs → Log-BVEVG4qZ.mjs} +2 -2
  32. package/chunks/{LoginBg-C3pB3Prp.mjs → LoginBg-Bdretz4K.mjs} +1 -1
  33. package/chunks/{Minute-DqRgTw-K.mjs → Minute-BLRf_8Jb.mjs} +1 -1
  34. package/chunks/{Month-OwJunIP0.mjs → Month-BtvDf6jD.mjs} +1 -1
  35. package/chunks/{Preview-B6ldeRpA.mjs → Preview-BFbxQzfo.mjs} +1 -1
  36. package/chunks/{Second-G_FPmIQR.mjs → Second-tpZMEkXD.mjs} +1 -1
  37. package/chunks/{SelectDept-D31OC0ZG.mjs → SelectDept-5sPLI_iK.mjs} +1 -1
  38. package/chunks/{SelectMenu-DR4v21OT.mjs → SelectMenu-37nusVLO.mjs} +1 -1
  39. package/chunks/{SelectUser-DQPIG6Y8.mjs → SelectUser-zc8FqJ2O.mjs} +2 -2
  40. package/chunks/{UserInfo-CFpD-BND.mjs → UserInfo-C4BYqudG.mjs} +3 -3
  41. package/chunks/{Wrapper-BNCXQSbQ.mjs → Wrapper-B9YJYhWw.mjs} +1 -1
  42. package/chunks/{app-WRCz6Eys.mjs → app-DKi3BUdV.mjs} +1 -1
  43. package/chunks/{custom-page-list-oEZHtPRe.mjs → custom-page-list-QGwDxKEa.mjs} +4 -4
  44. package/chunks/{custom-page-table-B4lx28cL.mjs → custom-page-table-BQRyBiIM.mjs} +2 -2
  45. package/chunks/{job-C10oJFoE.mjs → job-CgPSoy9O.mjs} +24 -24
  46. package/chunks/{jszip.min-BsTX4vuD.mjs → jszip.min-DUKT3zcE.mjs} +8 -8
  47. package/chunks/{overview-0lv-a-jL.mjs → overview-CqhFuS2y.mjs} +1 -1
  48. package/chunks/{page-list-B2S6cjyN.mjs → page-list-C0ER3Qbw.mjs} +4 -5
  49. package/chunks/{page-query-CUAnIjFV.mjs → page-query-DOPjtsRn.mjs} +1 -1
  50. package/chunks/{page-table-DTbKIx-O.mjs → page-table-DceYXBo3.mjs} +6 -6
  51. package/chunks/{pagination-Ct7V9l1R.mjs → pagination-BknEguko.mjs} +1 -1
  52. package/chunks/{provider-Ci5PGsw4.mjs → provider-D0oA4Xfh.mjs} +425 -435
  53. package/chunks/{table-BeoNI-id.mjs → table-BmJwS_yJ.mjs} +13 -13
  54. package/components/app/index.mjs +1 -1
  55. package/components/app/src/app.mjs +1 -1
  56. package/components/button/index.mjs +1 -1
  57. package/components/button/src/button.mjs +1 -1
  58. package/components/cascader/index.mjs +1 -1
  59. package/components/cascader/src/cascader.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/custom-page-list/index.mjs +1 -1
  72. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  73. package/components/custom-page-table/index.mjs +1 -1
  74. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  75. package/components/date-picker/index.mjs +1 -1
  76. package/components/date-picker/src/date-picker.mjs +1 -1
  77. package/components/dialog/index.mjs +1 -1
  78. package/components/dialog/src/dialog.mjs +1 -1
  79. package/components/form/index.mjs +1 -1
  80. package/components/form/src/form.mjs +1 -1
  81. package/components/index.mjs +10 -10
  82. package/components/input-number/index.mjs +1 -1
  83. package/components/input-number/src/input-number.mjs +1 -1
  84. package/components/overview/index.mjs +1 -1
  85. package/components/overview/src/DicLabel/Index.mjs +1 -1
  86. package/components/overview/src/IndexItem.mjs +1 -1
  87. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  88. package/components/overview/src/overview.mjs +1 -1
  89. package/components/page-list/index.mjs +1 -1
  90. package/components/page-list/src/page-list.mjs +1 -1
  91. package/components/page-query/index.mjs +1 -1
  92. package/components/page-query/src/page-query.mjs +1 -1
  93. package/components/page-table/index.mjs +1 -1
  94. package/components/page-table/src/page-table.mjs +1 -1
  95. package/components/pagination/index.mjs +1 -1
  96. package/components/pagination/src/pagination.mjs +1 -1
  97. package/components/provider/index.mjs +1 -1
  98. package/components/provider/src/Provider.mjs +1 -1
  99. package/components/radio-group/index.mjs +1 -1
  100. package/components/radio-group/src/radio-group.mjs +1 -1
  101. package/components/range-input/index.mjs +1 -1
  102. package/components/range-input/src/range-input.mjs +1 -1
  103. package/components/select/index.mjs +1 -1
  104. package/components/select/src/select.mjs +1 -1
  105. package/components/select-sys-user/index.mjs +1 -1
  106. package/components/select-sys-user/src/Picker.mjs +2 -2
  107. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  108. package/components/table/index.mjs +1 -1
  109. package/components/table/src/table.mjs +1 -1
  110. package/components/tree/index.mjs +1 -1
  111. package/components/tree/src/tree.mjs +1 -1
  112. package/components/tree-select/index.mjs +1 -1
  113. package/components/tree-select/src/tree-select.mjs +1 -1
  114. package/components/upload/index.mjs +1 -1
  115. package/components/upload/src/upload.mjs +1 -1
  116. package/hooks/useDicOptions/index.mjs +1 -1
  117. package/hooks/useLabel/index.mjs +1 -1
  118. package/hooks/useList/index.mjs +1 -1
  119. package/hooks/useSysUser/index.mjs +1 -1
  120. package/layout/Entry.mjs +1 -1
  121. package/layout/Home.mjs +2 -2
  122. package/layout/Login.mjs +9 -9
  123. package/layout/NotFound.mjs +1 -1
  124. package/layout/Test.mjs +3 -3
  125. package/layout/modules/Aside.mjs +1 -1
  126. package/layout/modules/Breadcrumb.mjs +1 -1
  127. package/layout/modules/Header.mjs +1 -1
  128. package/layout/modules/LoginBg.mjs +1 -1
  129. package/layout/profile/Index.mjs +2 -2
  130. package/layout/profile/ResetPwd.mjs +1 -1
  131. package/layout/profile/UserInfo.mjs +1 -1
  132. package/main.mjs +2 -2
  133. package/package.json +3 -3
  134. package/plugins/autoImport/$alova/index.d.ts +2 -2
  135. package/plugins/autoImport/$alova/index.mjs +1 -1
  136. package/plugins/autoImport/$confirm/index.mjs +1 -1
  137. package/plugins/autoImport/$dialog/index.mjs +1 -1
  138. package/plugins/autoImport/$drawer/index.mjs +1 -1
  139. package/plugins/autoImport/$fileView/Entry.mjs +1 -1
  140. package/plugins/autoImport/$fileView/index.mjs +1 -1
  141. package/plugins/captcha/captcha.mjs +1 -1
  142. package/plugins/captcha/index.mjs +1 -1
  143. package/plugins/directive/index.mjs +1 -1
  144. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  145. package/plugins/tableRenders/Wrapper.mjs +1 -1
  146. package/plugins/tableRenders/cell/Audio/Index.mjs +1 -1
  147. package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
  148. package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
  149. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  150. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  151. package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
  152. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  153. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  154. package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  158. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  159. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  160. package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
  161. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  162. package/plugins/tableRenders/cell/index.mjs +17 -17
  163. package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
  164. package/plugins/tableRenders/title/index.mjs +2 -2
  165. package/proj-template/.vscode/settings.json +1 -0
  166. package/router/index.mjs +1 -1
  167. package/store/modules/common.mjs +1 -1
  168. package/store/modules/login.mjs +1 -1
  169. package/store/modules/recentRouters.mjs +1 -1
  170. package/store/modules/router.mjs +1 -1
  171. package/store/modules/user.mjs +1 -1
  172. package/utils/gather.mjs +1 -1
  173. package/utils/index.mjs +8 -8
  174. package/utils/string.mjs +1 -1
  175. package/utils/tool.d.ts +19 -3
  176. package/utils/tool.mjs +1 -1
  177. package/views/monitor/cache/index.mjs +2 -2
  178. package/views/monitor/cacheList/index.mjs +2 -2
  179. package/views/monitor/job/index.mjs +1 -1
  180. package/views/monitor/logininfor/index.mjs +2 -2
  181. package/views/monitor/online/index.mjs +2 -2
  182. package/views/monitor/operlog/index.mjs +4 -4
  183. package/views/monitor/server/index.mjs +2 -2
  184. package/views/system/config/index.mjs +2 -2
  185. package/views/system/dept/index.mjs +2 -2
  186. package/views/system/dept/utils.mjs +1 -1
  187. package/views/system/dict/index.mjs +17 -17
  188. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  189. package/views/system/menu/index.mjs +2 -2
  190. package/views/system/menu/utils.mjs +1 -1
  191. package/views/system/notice/index.mjs +2 -2
  192. package/views/system/post/index.mjs +2 -2
  193. package/views/system/role/index.mjs +30 -30
  194. package/views/system/role/modules/AssignUser.mjs +1 -1
  195. package/views/system/role/modules/SelectDept.mjs +1 -1
  196. package/views/system/role/modules/SelectMenu.mjs +1 -1
  197. package/views/system/role/modules/SelectUser.mjs +1 -1
  198. package/views/system/user/index.mjs +53 -56
  199. package/views/tool/gen/editTable/index.mjs +4 -4
  200. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  201. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  202. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  203. package/views/tool/gen/index.mjs +7 -10
  204. package/views/tool/gen/modules/Import.mjs +1 -1
  205. package/views/tool/gen/modules/Preview.mjs +1 -1
  206. package/views/tool/job/index.mjs +1 -1
  207. package/views/tool/job/modules/Log.mjs +1 -1
@@ -1,4 +1,4 @@
1
- import { P as e } from "../../../chunks/provider-Ci5PGsw4.mjs";
1
+ import { F as e } from "../../../chunks/provider-D0oA4Xfh.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 { P as e, it as t, o as n } from "../../../chunks/provider-Ci5PGsw4.mjs";
1
+ import { F as e, at as t, o as n } from "../../../chunks/provider-D0oA4Xfh.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-B2S6cjyN.mjs";
3
+ import { t as r } from "../../../chunks/page-list-C0ER3Qbw.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
@@ -1,6 +1,6 @@
1
- import { P as e, it as t, o as n } from "../../../chunks/provider-Ci5PGsw4.mjs";
1
+ import { F as e, at as t, o as n } from "../../../chunks/provider-D0oA4Xfh.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as r } from "../../../chunks/page-list-B2S6cjyN.mjs";
3
+ import { t as r } from "../../../chunks/page-list-C0ER3Qbw.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
@@ -1,10 +1,10 @@
1
- import { P as e, at as t, it as n, o as r } from "../../../chunks/provider-Ci5PGsw4.mjs";
1
+ import { F as e, at as t, o as n, ot as r } from "../../../chunks/provider-D0oA4Xfh.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-B2S6cjyN.mjs";
3
+ import { t as i } from "../../../chunks/page-list-C0ER3Qbw.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-DK1MiMdq.mjs";
6
- import { t as s } from "../../../chunks/SelectDept-D31OC0ZG.mjs";
7
- import { t as c } from "../../../chunks/SelectMenu-DR4v21OT.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-D-JkYOB8.mjs";
6
+ import { t as s } from "../../../chunks/SelectDept-5sPLI_iK.mjs";
7
+ import { t as c } from "../../../chunks/SelectMenu-37nusVLO.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: (t, { row: r }) => ({
88
+ cell: (n, { row: r }) => ({
89
89
  beforeChange: async () => {
90
- let t = r.status === "1" ? "启用" : "停用";
91
- return await n(`确认${t}${r.roleName}角色吗?`), await e.Put("system/role/changeStatus", {
90
+ let n = r.status === "1" ? "启用" : "停用";
91
+ return await t(`确认${n}${r.roleName}角色吗?`), await e.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: t }) => ({
126
+ ({ row: r }) => ({
127
127
  default: "编辑",
128
128
  onClick: async () => {
129
- let { checkedKeys: i, menus: o } = await e.Get(`system/menu/roleMenuTreeselect/${t.roleId}`), s = h(null);
130
- if (t.menuCheckStrictly) {
129
+ let { checkedKeys: i, menus: o } = await e.Get(`system/menu/roleMenuTreeselect/${r.roleId}`), s = h(null);
130
+ if (r.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(t);
140
- }, { once: !0 }), n({
141
- body: () => d(r, {
139
+ s.value.setFormData(r);
140
+ }, { once: !0 }), t({
141
+ body: () => d(n, {
142
142
  data: m({ menuIds: i }),
143
143
  items: [
144
144
  b.roleName,
@@ -155,20 +155,20 @@ var y = /* @__PURE__ */ u({
155
155
  await e.Put("system/role", {
156
156
  ...await s.value.validate(),
157
157
  menuCheckStrictly: !1,
158
- roleId: t.roleId
158
+ roleId: r.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: t.roleId !== "1"
165
+ show: r.roleId !== "1"
166
166
  }),
167
- ({ row: t }) => ({
167
+ ({ row: r }) => ({
168
168
  default: "数据权限",
169
169
  onClick: async () => {
170
- let { checkedKeys: i, depts: o } = await e.Get(`system/role/deptTree/${t.roleId}`), c = h(null);
171
- if (t.deptCheckStrictly) {
170
+ let { checkedKeys: i, depts: o } = await e.Get(`system/role/deptTree/${r.roleId}`), c = h(null);
171
+ if (r.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(t);
181
- }, { once: !0 }), n({
182
- body: () => d(r, {
180
+ c.value.setFormData(r);
181
+ }, { once: !0 }), t({
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: `给${t.roleName}分配数据权限`,
216
+ header: `给${r.roleName}分配数据权限`,
217
217
  onConfirmCallback: async () => {
218
218
  await e.Put("system/role/dataScope", {
219
219
  deptIds: [],
220
220
  ...await c.value.validate(),
221
221
  deptCheckStrictly: !1,
222
- roleId: t.roleId
222
+ roleId: r.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: t.roleId !== "1"
229
+ show: r.roleId !== "1"
230
230
  }),
231
231
  ({ row: e }) => ({
232
232
  default: "分配用户",
233
233
  onClick: async () => {
234
- t({
234
+ r({
235
235
  body: () => d(o, { roleId: e.roleId }),
236
236
  footer: !1,
237
237
  header: `给${e.roleName}分配用户`,
@@ -277,9 +277,9 @@ var y = /* @__PURE__ */ u({
277
277
  operations: [{
278
278
  default: "新增",
279
279
  onClick: async () => {
280
- let t = await e.Get("system/menu/treeselect"), i = h(null);
281
- n({
282
- body: () => d(r, {
280
+ let r = await e.Get("system/menu/treeselect"), i = h(null);
281
+ t({
282
+ body: () => d(n, {
283
283
  data: m({
284
284
  menuIds: [],
285
285
  status: "0"
@@ -293,7 +293,7 @@ var y = /* @__PURE__ */ u({
293
293
  b.remark
294
294
  ],
295
295
  ref: i
296
- }, { menu_ids: () => d(c, { menuOptions: t }) }),
296
+ }, { menu_ids: () => d(c, { menuOptions: r }) }),
297
297
  header: "添加角色",
298
298
  onConfirmCallback: async () => {
299
299
  await e.Post("system/role", {
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/AssignUser-DK1MiMdq.mjs";
1
+ export { t as default } from "../../../../chunks/AssignUser-D-JkYOB8.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectDept-D31OC0ZG.mjs";
1
+ export { t as default } from "../../../../chunks/SelectDept-5sPLI_iK.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectMenu-DR4v21OT.mjs";
1
+ export { t as default } from "../../../../chunks/SelectMenu-37nusVLO.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectUser-DQPIG6Y8.mjs";
1
+ export { t as default } from "../../../../chunks/SelectUser-zc8FqJ2O.mjs";
@@ -1,10 +1,10 @@
1
- import { K as e, P as t, it as n, o as r } from "../../../chunks/provider-Ci5PGsw4.mjs";
1
+ import { F as e, at as t, o as n, q as r } from "../../../chunks/provider-D0oA4Xfh.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-BeoNI-id.mjs";
5
+ import { t as o } from "../../../chunks/table-BmJwS_yJ.mjs";
6
6
  import s from "../../../plugins/autoImport/$msg/index.mjs";
7
- import { t as c } from "../../../chunks/page-list-B2S6cjyN.mjs";
7
+ import { t as c } from "../../../chunks/page-list-C0ER3Qbw.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((t) => e.Get(`system/user/${t}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
26
26
  deptId: v({
27
27
  _label: "归属部门",
28
28
  _required: !0,
@@ -120,11 +120,11 @@ 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: {
124
- ...e,
123
+ list: { method: (t) => e.Get("system/user/list", { params: {
124
+ ...t,
125
125
  dateRange: void 0,
126
- "params[beginTime]": e.dateRange[0] ?? "",
127
- "params[endTime]": e.dateRange[1] ?? ""
126
+ "params[beginTime]": t.dateRange[0] ?? "",
127
+ "params[endTime]": t.dateRange[1] ?? ""
128
128
  } }) }
129
129
  },
130
130
  columns: [
@@ -160,10 +160,10 @@ var w = /* @__PURE__ */ p({
160
160
  title: "手机号码"
161
161
  },
162
162
  {
163
- cell: (e, { row: r }) => ({
163
+ cell: (n, { 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 n = r.status === "1" ? "启用" : "停用";
166
+ return await t(`确认${n}${r.userName}用户吗?`), await e.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,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 }), n({
207
- body: () => m(r, {
206
+ }, { once: !0 }), t({
207
+ body: () => m(n, {
208
208
  data: v({
209
209
  postIds: o,
210
210
  roleIds: l
@@ -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 t = await d.value.validate();
244
+ await e.Put("system/user", {
245
+ ...t,
246
+ ...VITE_APP_ID === "1" ? { userDeptIds: t.userDeptIds.join(",") } : {},
247
247
  userId: a.userId,
248
248
  userName: a.userName
249
- }), e(a.userId), s.success("用户修改成功"), D.value.query();
249
+ }), r(a.userId), s.success("用户修改成功"), D.value.query();
250
250
  },
251
251
  width: 730
252
252
  });
@@ -254,12 +254,12 @@ var w = /* @__PURE__ */ p({
254
254
  permission: "system:user:edit",
255
255
  show: i.userId !== "1"
256
256
  }),
257
- ({ row: e }) => ({
257
+ ({ row: r }) => ({
258
258
  default: "重置密码",
259
259
  onClick: async () => {
260
260
  let o = y(null);
261
- n({
262
- body: () => m(r, {
261
+ t({
262
+ body: () => m(n, {
263
263
  items: [{
264
264
  _required: !0,
265
265
  _rules: [{
@@ -272,25 +272,25 @@ var w = /* @__PURE__ */ p({
272
272
  }],
273
273
  ref: o
274
274
  }),
275
- header: `请输入${e.userName}用户的新密码`,
275
+ header: `请输入${r.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 t = (await o.value.validate()).newPassword;
278
+ await e.Put("system/user/resetPwd", {
279
+ password: t,
280
+ userId: r.userId
281
+ }), l(`密码修改成功,新密码是:${t}`), 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: r.userId !== "1"
288
288
  }),
289
- ({ row: e }) => ({
289
+ ({ row: n }) => ({
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 e.Get(`system/user/authRole/${n.userId}`), a = y(null);
293
+ t({
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 e.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: n.userId
330
330
  }
331
331
  }), D.value.query();
332
332
  },
@@ -334,18 +334,18 @@ var w = /* @__PURE__ */ p({
334
334
  });
335
335
  },
336
336
  permission: "system:user:edit",
337
- show: e.userId !== "1"
337
+ show: n.userId !== "1"
338
338
  }),
339
- ({ row: e }) => ({
339
+ ({ row: t }) => ({
340
340
  default: "删除",
341
341
  permission: "system:user:remove",
342
342
  popconfirm: {
343
343
  content: "确认删除吗",
344
344
  onConfirm: async () => {
345
- await t.Delete(`system/user/${e.userId}`), s("删除成功"), D.value.query();
345
+ await e.Delete(`system/user/${t.userId}`), s("删除成功"), D.value.query();
346
346
  }
347
347
  },
348
- show: e.userId !== "1"
348
+ show: t.userId !== "1"
349
349
  })
350
350
  ],
351
351
  component: "Buttons"
@@ -376,9 +376,9 @@ 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({
381
- body: () => m(r, {
379
+ let { posts: r, roles: i } = await E(""), a = y(null);
380
+ t({
381
+ body: () => m(n, {
382
382
  data: v({ status: "0" }),
383
383
  items: [
384
384
  O.nickName,
@@ -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: r.map((e) => ({
397
397
  disabled: e.status === "1",
398
398
  label: e.postName,
399
399
  value: e.postId
@@ -413,10 +413,10 @@ var w = /* @__PURE__ */ p({
413
413
  }),
414
414
  header: "添加用户",
415
415
  onConfirmCallback: async () => {
416
- let e = await a.value.validate();
417
- await t.Post("system/user", {
418
- ...e,
419
- ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {}
416
+ let t = await a.value.validate();
417
+ await e.Post("system/user", {
418
+ ...t,
419
+ ...VITE_APP_ID === "1" ? { userDeptIds: t.userDeptIds.join(",") } : {}
420
420
  }), s.success("用户添加成功"), D.value.query();
421
421
  },
422
422
  width: 730
@@ -428,16 +428,13 @@ var w = /* @__PURE__ */ p({
428
428
  {
429
429
  default: "导入",
430
430
  onClick: async () => {
431
- let e = y(null);
432
- n({
433
- body: () => m(r, {
431
+ let r = y(null);
432
+ t({
433
+ body: () => m(n, {
434
434
  items: [{
435
435
  _required: !0,
436
436
  component: "TUpload",
437
- downloadTemplate: t.Post("system/user/importTemplate", {}, { meta: {
438
- useDownload: "用户管理导入模板.xlsx",
439
- useResponseBlob: !0
440
- } }),
437
+ downloadTemplate: e.Post("system/user/importTemplate", {}, { meta: { useDownload: "用户管理导入模板.xlsx" } }),
441
438
  model: "file",
442
439
  tips: "请下载模板,并按照模板格式导入"
443
440
  }, {
@@ -445,14 +442,14 @@ var w = /* @__PURE__ */ p({
445
442
  label: "是否更新已经存在的用户数据",
446
443
  model: "updateSupport"
447
444
  }],
448
- ref: e
445
+ ref: r
449
446
  }),
450
447
  header: "导入用户",
451
448
  onConfirmCallback: async () => {
452
- let n = await e.value.validate();
453
- await t.Post("system/user/importData", { file: n.file[0].raw }, {
449
+ let t = await r.value.validate();
450
+ await e.Post("system/user/importData", { file: t.file[0].raw }, {
454
451
  meta: { useFormData: !0 },
455
- params: { updateSupport: n.updateSupport }
452
+ params: { updateSupport: t.updateSupport }
456
453
  }), D.value.query();
457
454
  },
458
455
  width: 480
@@ -1,9 +1,9 @@
1
- import { P as e, n as t, nt as n } from "../../../../chunks/provider-Ci5PGsw4.mjs";
1
+ import { F as e, n as t, rt as n } from "../../../../chunks/provider-D0oA4Xfh.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-5yGSJ1G1.mjs";
5
- import { t as o } from "../../../../chunks/ColumnInfo-CPCdnV6m.mjs";
6
- import { t as s } from "../../../../chunks/GenInfo-n-z1Zhv_.mjs";
4
+ import { t as a } from "../../../../chunks/BasicInfo-CEsH-0pZ.mjs";
5
+ import { t as o } from "../../../../chunks/ColumnInfo-BOHugehD.mjs";
6
+ import { t as s } from "../../../../chunks/GenInfo-qOmBAs-q.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-5yGSJ1G1.mjs";
1
+ export { t as default } from "../../../../../chunks/BasicInfo-CEsH-0pZ.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/ColumnInfo-CPCdnV6m.mjs";
1
+ export { t as default } from "../../../../../chunks/ColumnInfo-BOHugehD.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/GenInfo-n-z1Zhv_.mjs";
1
+ export { t as default } from "../../../../../chunks/GenInfo-qOmBAs-q.mjs";
@@ -1,9 +1,9 @@
1
1
  import "../../../components/page-list/index.mjs";
2
- import { P as e, at as t, it as n } from "../../../chunks/provider-Ci5PGsw4.mjs";
3
- import { t as r } from "../../../chunks/page-list-B2S6cjyN.mjs";
2
+ import { F as e, at as t, ot as n } from "../../../chunks/provider-D0oA4Xfh.mjs";
3
+ import { t as r } from "../../../chunks/page-list-C0ER3Qbw.mjs";
4
4
  import { n as i } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
5
- import { t as a } from "../../../chunks/Import-DkyhEhYi.mjs";
6
- import { t as o } from "../../../chunks/Preview-B6ldeRpA.mjs";
5
+ import { t as a } from "../../../chunks/Import-B-3xdr5l.mjs";
6
+ import { t as o } from "../../../chunks/Preview-BFbxQzfo.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
@@ -31,10 +31,7 @@ var v = /* @__PURE__ */ l({
31
31
  };
32
32
  async function S(t) {
33
33
  await e.Get("tool/gen/batchGenCode", {
34
- meta: {
35
- useDownload: `生成的代码${t}.zip`,
36
- useResponseBlob: !0
37
- },
34
+ meta: { useDownload: `生成的代码${t}.zip` },
38
35
  params: { tables: t }
39
36
  });
40
37
  }
@@ -79,7 +76,7 @@ var v = /* @__PURE__ */ l({
79
76
  ({ row: e }) => ({
80
77
  default: "预览",
81
78
  onClick: () => {
82
- t({
79
+ n({
83
80
  body: () => u(o, { tableId: e.tableId }),
84
81
  cancelBtn: "关闭",
85
82
  confirmBtn: null,
@@ -139,7 +136,7 @@ var v = /* @__PURE__ */ l({
139
136
  default: "导入",
140
137
  onClick: () => {
141
138
  let e = m(null);
142
- n({
139
+ t({
143
140
  body: () => u(a, { ref: e }),
144
141
  header: "导入表",
145
142
  onConfirmCallback: async () => {
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Import-DkyhEhYi.mjs";
1
+ export { t as default } from "../../../../chunks/Import-B-3xdr5l.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Preview-B6ldeRpA.mjs";
1
+ export { t as default } from "../../../../chunks/Preview-BFbxQzfo.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/job-C10oJFoE.mjs";
1
+ export { t as default } from "../../../chunks/job-CgPSoy9O.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Log-B62TtjMC.mjs";
1
+ export { t as default } from "../../../../chunks/Log-BVEVG4qZ.mjs";