dlzn-ui 2.0.125 → 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 (203) hide show
  1. package/chunks/{AssignUser-DBjdGE2L.mjs → AssignUser-D-JkYOB8.mjs} +3 -3
  2. package/chunks/{BasicInfo-BEJ82Ja3.mjs → BasicInfo-CEsH-0pZ.mjs} +1 -1
  3. package/chunks/{ColumnInfo-5yksHDQR.mjs → ColumnInfo-BOHugehD.mjs} +2 -2
  4. package/chunks/{Common-Bvbt9AsN.mjs → Common-BsB2JBgP.mjs} +1 -1
  5. package/chunks/{Day-37obm918.mjs → Day-BiR1jIvk.mjs} +1 -1
  6. package/chunks/{DictTypeDetail-p4osTU6G.mjs → DictTypeDetail-AY-_0xtV.mjs} +2 -2
  7. package/chunks/{GenInfo-DpkErCW4.mjs → GenInfo-qOmBAs-q.mjs} +1 -1
  8. package/chunks/{Hour-Z2ejyfC0.mjs → Hour-BYr1lHVi.mjs} +1 -1
  9. package/chunks/{Import-CrjW3m5r.mjs → Import-B-3xdr5l.mjs} +2 -2
  10. package/chunks/{Index-BvNsPSfB.mjs → Index-B9tKApdV.mjs} +1 -1
  11. package/chunks/{Index-CxBlN3tl.mjs → Index-BC3wAA8r.mjs} +1 -1
  12. package/chunks/{Index-C5vk04nq.mjs → Index-BF0rWiko.mjs} +1 -1
  13. package/chunks/{Index-CnL8r_nR.mjs → Index-BT6MVtwS.mjs} +6 -6
  14. package/chunks/{Index-CsrogkLP.mjs → Index-BTVq22to.mjs} +1 -1
  15. package/chunks/{Index-BON9SotS.mjs → Index-BfwuM5xD.mjs} +1 -1
  16. package/chunks/{Index-HmwhpWYj.mjs → Index-BjD7ojxO.mjs} +1 -1
  17. package/chunks/{Index-vlh3EGoD.mjs → Index-C-DfKaE-.mjs} +1 -1
  18. package/chunks/{Index-j7VN4Iof.mjs → Index-C5_w2D9b.mjs} +1 -1
  19. package/chunks/{Index-CzLmpRF_.mjs → Index-CFU6LweI.mjs} +1 -1
  20. package/chunks/{Index-CKP2JA4k.mjs → Index-CNQ6cNCJ.mjs} +1 -1
  21. package/chunks/{Index-BxgESSZe.mjs → Index-CXVN-qHx.mjs} +1 -1
  22. package/chunks/{Index-BjxtT_9p.mjs → Index-DSrrffcy.mjs} +1 -1
  23. package/chunks/{Index-B2EW_j-f.mjs → Index-DZylH6mb.mjs} +1 -1
  24. package/chunks/{Index-h1cI8Sun.mjs → Index-dP2JesvU.mjs} +1 -1
  25. package/chunks/{Index-DP82x2cN.mjs → Index-i2yEiNEh.mjs} +1 -1
  26. package/chunks/{Index-BdMR2koN.mjs → Index-j18-WyNv.mjs} +1 -1
  27. package/chunks/{Index-Bb3hxy9C.mjs → Index-jh_Yvfr2.mjs} +1 -1
  28. package/chunks/{Index-2rqfZEEZ.mjs → Index-oUENB6rm.mjs} +1 -1
  29. package/chunks/{IndexItem-Cw8tyAMG.mjs → IndexItem-SJOquf2O.mjs} +3 -3
  30. package/chunks/{Log-QORSazNm.mjs → Log-BVEVG4qZ.mjs} +2 -2
  31. package/chunks/{LoginBg-CEKh3aGu.mjs → LoginBg-Bdretz4K.mjs} +1 -1
  32. package/chunks/{Minute-CUFAEwxi.mjs → Minute-BLRf_8Jb.mjs} +1 -1
  33. package/chunks/{Month-gxTSvKff.mjs → Month-BtvDf6jD.mjs} +1 -1
  34. package/chunks/{Preview-Cbv0cCcV.mjs → Preview-BFbxQzfo.mjs} +1 -1
  35. package/chunks/{Second-CDVMQNVS.mjs → Second-tpZMEkXD.mjs} +1 -1
  36. package/chunks/{SelectDept-C6eiJno8.mjs → SelectDept-5sPLI_iK.mjs} +1 -1
  37. package/chunks/{SelectMenu-CTtbxBkS.mjs → SelectMenu-37nusVLO.mjs} +1 -1
  38. package/chunks/{SelectUser-C1E4JyDL.mjs → SelectUser-zc8FqJ2O.mjs} +2 -2
  39. package/chunks/{UserInfo-BwFPXF17.mjs → UserInfo-C4BYqudG.mjs} +3 -3
  40. package/chunks/{Wrapper-DNUJFy6s.mjs → Wrapper-B9YJYhWw.mjs} +1 -1
  41. package/chunks/{app-BQzwHVua.mjs → app-DKi3BUdV.mjs} +1 -1
  42. package/chunks/{custom-page-list-Dz_cPRN9.mjs → custom-page-list-QGwDxKEa.mjs} +4 -4
  43. package/chunks/{custom-page-table-DqB1qQY0.mjs → custom-page-table-BQRyBiIM.mjs} +2 -2
  44. package/chunks/{job-CtWlk9GE.mjs → job-CgPSoy9O.mjs} +24 -24
  45. package/chunks/{jszip.min-Blm-2Wov.mjs → jszip.min-DUKT3zcE.mjs} +8 -8
  46. package/chunks/{overview-E_ImVxk3.mjs → overview-CqhFuS2y.mjs} +1 -1
  47. package/chunks/{page-list-BRWTu0ul.mjs → page-list-C0ER3Qbw.mjs} +3 -3
  48. package/chunks/{page-query-BkKTknCQ.mjs → page-query-DOPjtsRn.mjs} +1 -1
  49. package/chunks/{page-table-Bt0aAzt7.mjs → page-table-DceYXBo3.mjs} +6 -6
  50. package/chunks/{pagination-DZr7IMZL.mjs → pagination-BknEguko.mjs} +1 -1
  51. package/chunks/{provider-NV4Rfkxu.mjs → provider-D0oA4Xfh.mjs} +66 -63
  52. package/chunks/{table-CP4tg6Ct.mjs → table-BmJwS_yJ.mjs} +13 -13
  53. package/components/app/index.mjs +1 -1
  54. package/components/app/src/app.mjs +1 -1
  55. package/components/button/index.mjs +1 -1
  56. package/components/button/src/button.mjs +1 -1
  57. package/components/cascader/index.mjs +1 -1
  58. package/components/cascader/src/cascader.mjs +1 -1
  59. package/components/checkbox-group/index.mjs +1 -1
  60. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  61. package/components/cron/index.mjs +1 -1
  62. package/components/cron/src/Common.mjs +1 -1
  63. package/components/cron/src/Day.mjs +1 -1
  64. package/components/cron/src/Hour.mjs +1 -1
  65. package/components/cron/src/Minute.mjs +1 -1
  66. package/components/cron/src/Month.mjs +1 -1
  67. package/components/cron/src/Picker.mjs +6 -6
  68. package/components/cron/src/Second.mjs +1 -1
  69. package/components/cron/src/cron.mjs +1 -1
  70. package/components/custom-page-list/index.mjs +1 -1
  71. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  72. package/components/custom-page-table/index.mjs +1 -1
  73. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  74. package/components/date-picker/index.mjs +1 -1
  75. package/components/date-picker/src/date-picker.mjs +1 -1
  76. package/components/dialog/index.mjs +1 -1
  77. package/components/dialog/src/dialog.mjs +1 -1
  78. package/components/form/index.mjs +1 -1
  79. package/components/form/src/form.mjs +1 -1
  80. package/components/index.mjs +10 -10
  81. package/components/input-number/index.mjs +1 -1
  82. package/components/input-number/src/input-number.mjs +1 -1
  83. package/components/overview/index.mjs +1 -1
  84. package/components/overview/src/DicLabel/Index.mjs +1 -1
  85. package/components/overview/src/IndexItem.mjs +1 -1
  86. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  87. package/components/overview/src/overview.mjs +1 -1
  88. package/components/page-list/index.mjs +1 -1
  89. package/components/page-list/src/page-list.mjs +1 -1
  90. package/components/page-query/index.mjs +1 -1
  91. package/components/page-query/src/page-query.mjs +1 -1
  92. package/components/page-table/index.mjs +1 -1
  93. package/components/page-table/src/page-table.mjs +1 -1
  94. package/components/pagination/index.mjs +1 -1
  95. package/components/pagination/src/pagination.mjs +1 -1
  96. package/components/provider/index.mjs +1 -1
  97. package/components/provider/src/Provider.mjs +1 -1
  98. package/components/radio-group/index.mjs +1 -1
  99. package/components/radio-group/src/radio-group.mjs +1 -1
  100. package/components/range-input/index.mjs +1 -1
  101. package/components/range-input/src/range-input.mjs +1 -1
  102. package/components/select/index.mjs +1 -1
  103. package/components/select/src/select.mjs +1 -1
  104. package/components/select-sys-user/index.mjs +1 -1
  105. package/components/select-sys-user/src/Picker.mjs +2 -2
  106. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  107. package/components/table/index.mjs +1 -1
  108. package/components/table/src/table.mjs +1 -1
  109. package/components/tree/index.mjs +1 -1
  110. package/components/tree/src/tree.mjs +1 -1
  111. package/components/tree-select/index.mjs +1 -1
  112. package/components/tree-select/src/tree-select.mjs +1 -1
  113. package/components/upload/index.mjs +1 -1
  114. package/components/upload/src/upload.mjs +1 -1
  115. package/hooks/useDicOptions/index.mjs +1 -1
  116. package/hooks/useLabel/index.mjs +1 -1
  117. package/hooks/useList/index.mjs +1 -1
  118. package/hooks/useSysUser/index.mjs +1 -1
  119. package/layout/Entry.mjs +1 -1
  120. package/layout/Home.mjs +2 -2
  121. package/layout/Login.mjs +9 -9
  122. package/layout/NotFound.mjs +1 -1
  123. package/layout/Test.mjs +3 -3
  124. package/layout/modules/Aside.mjs +1 -1
  125. package/layout/modules/Breadcrumb.mjs +1 -1
  126. package/layout/modules/Header.mjs +1 -1
  127. package/layout/modules/LoginBg.mjs +1 -1
  128. package/layout/profile/Index.mjs +2 -2
  129. package/layout/profile/ResetPwd.mjs +1 -1
  130. package/layout/profile/UserInfo.mjs +1 -1
  131. package/main.mjs +2 -2
  132. package/package.json +1 -1
  133. package/plugins/autoImport/$alova/index.mjs +1 -1
  134. package/plugins/autoImport/$confirm/index.mjs +1 -1
  135. package/plugins/autoImport/$dialog/index.mjs +1 -1
  136. package/plugins/autoImport/$drawer/index.mjs +1 -1
  137. package/plugins/autoImport/$fileView/Entry.mjs +1 -1
  138. package/plugins/autoImport/$fileView/index.mjs +1 -1
  139. package/plugins/captcha/captcha.mjs +1 -1
  140. package/plugins/captcha/index.mjs +1 -1
  141. package/plugins/directive/index.mjs +1 -1
  142. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  143. package/plugins/tableRenders/Wrapper.mjs +1 -1
  144. package/plugins/tableRenders/cell/Audio/Index.mjs +1 -1
  145. package/plugins/tableRenders/cell/AudioPlay/Index.mjs +1 -1
  146. package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
  147. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  148. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  149. package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
  150. package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
  151. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  152. package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
  153. package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
  154. package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  158. package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
  159. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  160. package/plugins/tableRenders/cell/index.mjs +17 -17
  161. package/plugins/tableRenders/title/TypographyText/Index.mjs +1 -1
  162. package/plugins/tableRenders/title/index.mjs +2 -2
  163. package/router/index.mjs +1 -1
  164. package/store/modules/common.mjs +1 -1
  165. package/store/modules/login.mjs +1 -1
  166. package/store/modules/recentRouters.mjs +1 -1
  167. package/store/modules/router.mjs +1 -1
  168. package/store/modules/user.mjs +1 -1
  169. package/utils/gather.mjs +1 -1
  170. package/utils/index.mjs +8 -8
  171. package/utils/tool.d.ts +7 -0
  172. package/utils/tool.mjs +1 -1
  173. package/views/monitor/cache/index.mjs +2 -2
  174. package/views/monitor/cacheList/index.mjs +2 -2
  175. package/views/monitor/job/index.mjs +1 -1
  176. package/views/monitor/logininfor/index.mjs +2 -2
  177. package/views/monitor/online/index.mjs +2 -2
  178. package/views/monitor/operlog/index.mjs +4 -4
  179. package/views/monitor/server/index.mjs +2 -2
  180. package/views/system/config/index.mjs +2 -2
  181. package/views/system/dept/index.mjs +2 -2
  182. package/views/system/dept/utils.mjs +1 -1
  183. package/views/system/dict/index.mjs +17 -17
  184. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  185. package/views/system/menu/index.mjs +2 -2
  186. package/views/system/menu/utils.mjs +1 -1
  187. package/views/system/notice/index.mjs +2 -2
  188. package/views/system/post/index.mjs +2 -2
  189. package/views/system/role/index.mjs +30 -30
  190. package/views/system/role/modules/AssignUser.mjs +1 -1
  191. package/views/system/role/modules/SelectDept.mjs +1 -1
  192. package/views/system/role/modules/SelectMenu.mjs +1 -1
  193. package/views/system/role/modules/SelectUser.mjs +1 -1
  194. package/views/system/user/index.mjs +53 -53
  195. package/views/tool/gen/editTable/index.mjs +4 -4
  196. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  197. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  198. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  199. package/views/tool/gen/index.mjs +6 -6
  200. package/views/tool/gen/modules/Import.mjs +1 -1
  201. package/views/tool/gen/modules/Preview.mjs +1 -1
  202. package/views/tool/job/index.mjs +1 -1
  203. package/views/tool/job/modules/Log.mjs +1 -1
@@ -1,10 +1,10 @@
1
- import { K as e, P as t, it as n, o as r } from "../../../chunks/provider-NV4Rfkxu.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-CP4tg6Ct.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-BRWTu0ul.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,13 +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: { useDownload: "用户管理导入模板.xlsx" } }),
437
+ downloadTemplate: e.Post("system/user/importTemplate", {}, { meta: { useDownload: "用户管理导入模板.xlsx" } }),
438
438
  model: "file",
439
439
  tips: "请下载模板,并按照模板格式导入"
440
440
  }, {
@@ -442,14 +442,14 @@ var w = /* @__PURE__ */ p({
442
442
  label: "是否更新已经存在的用户数据",
443
443
  model: "updateSupport"
444
444
  }],
445
- ref: e
445
+ ref: r
446
446
  }),
447
447
  header: "导入用户",
448
448
  onConfirmCallback: async () => {
449
- let n = await e.value.validate();
450
- 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 }, {
451
451
  meta: { useFormData: !0 },
452
- params: { updateSupport: n.updateSupport }
452
+ params: { updateSupport: t.updateSupport }
453
453
  }), D.value.query();
454
454
  },
455
455
  width: 480
@@ -1,9 +1,9 @@
1
- import { P as e, n as t, nt as n } from "../../../../chunks/provider-NV4Rfkxu.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-BEJ82Ja3.mjs";
5
- import { t as o } from "../../../../chunks/ColumnInfo-5yksHDQR.mjs";
6
- import { t as s } from "../../../../chunks/GenInfo-DpkErCW4.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-BEJ82Ja3.mjs";
1
+ export { t as default } from "../../../../../chunks/BasicInfo-CEsH-0pZ.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/ColumnInfo-5yksHDQR.mjs";
1
+ export { t as default } from "../../../../../chunks/ColumnInfo-BOHugehD.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/GenInfo-DpkErCW4.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-NV4Rfkxu.mjs";
3
- import { t as r } from "../../../chunks/page-list-BRWTu0ul.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-CrjW3m5r.mjs";
6
- import { t as o } from "../../../chunks/Preview-Cbv0cCcV.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
@@ -76,7 +76,7 @@ var v = /* @__PURE__ */ l({
76
76
  ({ row: e }) => ({
77
77
  default: "预览",
78
78
  onClick: () => {
79
- t({
79
+ n({
80
80
  body: () => u(o, { tableId: e.tableId }),
81
81
  cancelBtn: "关闭",
82
82
  confirmBtn: null,
@@ -136,7 +136,7 @@ var v = /* @__PURE__ */ l({
136
136
  default: "导入",
137
137
  onClick: () => {
138
138
  let e = m(null);
139
- n({
139
+ t({
140
140
  body: () => u(a, { ref: e }),
141
141
  header: "导入表",
142
142
  onConfirmCallback: async () => {
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Import-CrjW3m5r.mjs";
1
+ export { t as default } from "../../../../chunks/Import-B-3xdr5l.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Preview-Cbv0cCcV.mjs";
1
+ export { t as default } from "../../../../chunks/Preview-BFbxQzfo.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/job-CtWlk9GE.mjs";
1
+ export { t as default } from "../../../chunks/job-CgPSoy9O.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Log-QORSazNm.mjs";
1
+ export { t as default } from "../../../../chunks/Log-BVEVG4qZ.mjs";