dlzn-ui 2.0.89 → 2.0.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/assets/pagination-BpKuirTF.css +1 -0
  2. package/assets/table-CVArV2Pt.css +1 -0
  3. package/chunks/{AssignUser-vDx4D82G.mjs → AssignUser-Cba5vAl1.mjs} +14 -14
  4. package/chunks/{BasicInfo-BvKBHQyo.mjs → BasicInfo-Bvq-HQJ_.mjs} +1 -1
  5. package/chunks/{ColumnInfo-BYddY4ID.mjs → ColumnInfo-CRLX-mvV.mjs} +2 -2
  6. package/chunks/{Common-DgFtn6uk.mjs → Common-Bq9qdi2i.mjs} +1 -1
  7. package/chunks/{Day-D57OuSr1.mjs → Day-BUVcUtFu.mjs} +1 -1
  8. package/chunks/{DictTypeDetail-Bgcoi5BX.mjs → DictTypeDetail-BcE2-B5V.mjs} +8 -8
  9. package/chunks/{GenInfo-Cpjb07t9.mjs → GenInfo-DJq_EewR.mjs} +1 -1
  10. package/chunks/{Hour-C2kHsnWx.mjs → Hour-CwQQPXaR.mjs} +1 -1
  11. package/chunks/{Import-CUwSBuu3.mjs → Import-rJdKqVqG.mjs} +2 -2
  12. package/chunks/{Index-BHTir2BG.mjs → Index-C_K9w486.mjs} +1 -1
  13. package/chunks/{Index-qbd9CTh4.mjs → Index-DVPHy-2h.mjs} +1 -1
  14. package/chunks/{Index-C_Gf0Jgf.mjs → Index-Wsuv1_GI.mjs} +1 -1
  15. package/chunks/{Index-BLw1K1xl.mjs → Index-xm96pJY-.mjs} +1 -1
  16. package/chunks/{IndexItem-COlhUIdm.mjs → IndexItem-mkv5naiz.mjs} +1 -1
  17. package/chunks/{Log-uPhl0QJF.mjs → Log-i0vc4tLi.mjs} +14 -16
  18. package/chunks/{LoginBg-DBc-wBJI.mjs → LoginBg-BtYLzpau.mjs} +1 -1
  19. package/chunks/{Minute-cq4gHso5.mjs → Minute-DVOyQfoM.mjs} +1 -1
  20. package/chunks/{Month-RO9Bk7PX.mjs → Month-C9EsJdGm.mjs} +1 -1
  21. package/chunks/{Preview-Gx0BbBT4.mjs → Preview-DT31fnBR.mjs} +1 -1
  22. package/chunks/{Second-CKdMmksB.mjs → Second-2dWCZLjn.mjs} +1 -1
  23. package/chunks/{SelectDept-BPAzWxOq.mjs → SelectDept-C_mJ04_S.mjs} +1 -1
  24. package/chunks/{SelectMenu-C8m9RvV3.mjs → SelectMenu-D_SA_EiZ.mjs} +1 -1
  25. package/chunks/{SelectUser-sanLPSrz.mjs → SelectUser-DLAbDQ8W.mjs} +2 -2
  26. package/chunks/{UserInfo-CDNoS8Vd.mjs → UserInfo-Dl2INqhu.mjs} +9 -9
  27. package/chunks/{app-Cd7qvZaM.mjs → app-MIQr7kNK.mjs} +1 -1
  28. package/chunks/{custom-page-list-BZCbj6h1.mjs → custom-page-list-DHK_NW0i.mjs} +4 -4
  29. package/chunks/{custom-page-table-Cm72ycKd.mjs → custom-page-table-1gOvwcJL.mjs} +2 -2
  30. package/chunks/{job-dsXPTFKb.mjs → job-D6_vm6Ii.mjs} +24 -24
  31. package/chunks/{overview-ub_GTqi8.mjs → overview-amJc1B-Y.mjs} +1 -1
  32. package/chunks/{page-list-CX7BUCM4.mjs → page-list-nd2K6s0p.mjs} +3 -3
  33. package/chunks/page-query-Bp2Wfk95.mjs +119 -0
  34. package/chunks/{page-table-B4zES_VU.mjs → page-table-Bgq2mekF.mjs} +57 -57
  35. package/chunks/{pagination-D9VeheYA.mjs → pagination-BlUizDPX.mjs} +3 -3
  36. package/chunks/{provider-BeVE1nWg.mjs → provider-6bwbdidw.mjs} +76 -76
  37. package/chunks/{table-DTNEiuNZ.mjs → table-C-19SNwB.mjs} +12 -12
  38. package/components/app/index.mjs +1 -1
  39. package/components/app/src/app.mjs +1 -1
  40. package/components/button/index.mjs +1 -1
  41. package/components/button/src/button.mjs +1 -1
  42. package/components/checkbox-group/index.mjs +1 -1
  43. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  44. package/components/cron/index.mjs +1 -1
  45. package/components/cron/src/Common.mjs +1 -1
  46. package/components/cron/src/Day.mjs +1 -1
  47. package/components/cron/src/Hour.mjs +1 -1
  48. package/components/cron/src/Minute.mjs +1 -1
  49. package/components/cron/src/Month.mjs +1 -1
  50. package/components/cron/src/Picker.mjs +6 -6
  51. package/components/cron/src/Second.mjs +1 -1
  52. package/components/cron/src/cron.mjs +1 -1
  53. package/components/custom-page-list/index.mjs +1 -1
  54. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  55. package/components/custom-page-table/index.mjs +1 -1
  56. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  57. package/components/dialog/index.mjs +1 -1
  58. package/components/dialog/src/dialog.mjs +1 -1
  59. package/components/form/index.mjs +1 -1
  60. package/components/form/src/form.mjs +1 -1
  61. package/components/index.mjs +10 -10
  62. package/components/overview/index.mjs +1 -1
  63. package/components/overview/src/DicLabel/Index.mjs +1 -1
  64. package/components/overview/src/IndexItem.mjs +1 -1
  65. package/components/overview/src/overview.mjs +1 -1
  66. package/components/page-list/index.mjs +1 -1
  67. package/components/page-list/src/page-list.mjs +1 -1
  68. package/components/page-query/index.mjs +1 -1
  69. package/components/page-query/src/page-query.mjs +1 -1
  70. package/components/page-query/src/page-query.vue.d.ts +1 -2
  71. package/components/page-table/index.mjs +1 -1
  72. package/components/page-table/src/page-table.d.ts +1 -1
  73. package/components/page-table/src/page-table.mjs +1 -1
  74. package/components/pagination/index.mjs +1 -1
  75. package/components/pagination/src/pagination.mjs +1 -1
  76. package/components/provider/index.mjs +1 -1
  77. package/components/provider/src/Provider.mjs +1 -1
  78. package/components/radio-group/index.mjs +1 -1
  79. package/components/radio-group/src/radio-group.mjs +1 -1
  80. package/components/select/index.mjs +1 -1
  81. package/components/select/src/select.mjs +1 -1
  82. package/components/select-sys-user/index.mjs +1 -1
  83. package/components/select-sys-user/src/Picker.mjs +2 -2
  84. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  85. package/components/table/index.mjs +1 -1
  86. package/components/table/src/table.mjs +1 -1
  87. package/components/tree/index.mjs +1 -1
  88. package/components/tree/src/tree.mjs +1 -1
  89. package/components/tree-select/index.mjs +1 -1
  90. package/components/tree-select/src/tree-select.mjs +1 -1
  91. package/components/upload/index.mjs +1 -1
  92. package/components/upload/src/upload.mjs +1 -1
  93. package/hooks/useDicOptions/index.mjs +1 -1
  94. package/hooks/useMountedPromise/index.d.ts +2 -0
  95. package/hooks/useMountedPromise/index.mjs +14 -0
  96. package/hooks/useSysUser/index.mjs +1 -1
  97. package/layout/Entry.mjs +1 -1
  98. package/layout/Home.mjs +5 -5
  99. package/layout/Home1.mjs +2 -2
  100. package/layout/Login.mjs +3 -3
  101. package/layout/NotFound.mjs +1 -1
  102. package/layout/modules/Aside.mjs +1 -1
  103. package/layout/modules/Breadcrumb.mjs +1 -1
  104. package/layout/modules/Header.mjs +1 -1
  105. package/layout/modules/LoginBg.mjs +1 -1
  106. package/layout/profile/Index.mjs +2 -2
  107. package/layout/profile/ResetPwd.mjs +1 -1
  108. package/layout/profile/UserInfo.mjs +1 -1
  109. package/main.mjs +3 -3
  110. package/package.json +1 -1
  111. package/plugins/autoImport/$alova/index.d.ts +1 -0
  112. package/plugins/autoImport/$alova/index.mjs +1 -1
  113. package/plugins/autoImport/$confirm/index.mjs +1 -1
  114. package/plugins/autoImport/$dialog/index.mjs +1 -1
  115. package/plugins/autoImport/$drawer/index.mjs +1 -1
  116. package/plugins/captcha/captcha.mjs +1 -1
  117. package/plugins/captcha/index.mjs +1 -1
  118. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  119. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  120. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  121. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  122. package/plugins/tableRenders/cell/index.mjs +3 -3
  123. package/router/index.mjs +1 -1
  124. package/store/modules/common.mjs +1 -1
  125. package/store/modules/login.mjs +1 -1
  126. package/store/modules/recentRouters.mjs +1 -1
  127. package/store/modules/router.mjs +1 -1
  128. package/store/modules/user.mjs +1 -1
  129. package/views/monitor/cache/index.mjs +2 -2
  130. package/views/monitor/cacheList/index.mjs +2 -2
  131. package/views/monitor/job/index.mjs +1 -1
  132. package/views/monitor/logininfor/index.mjs +2 -2
  133. package/views/monitor/online/index.mjs +2 -2
  134. package/views/monitor/operlog/index.mjs +10 -10
  135. package/views/monitor/server/index.mjs +2 -2
  136. package/views/system/config/index.mjs +11 -11
  137. package/views/system/dept/index.mjs +15 -15
  138. package/views/system/dept/utils.mjs +1 -1
  139. package/views/system/dict/index.mjs +15 -15
  140. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  141. package/views/system/menu/index.mjs +19 -19
  142. package/views/system/menu/utils.mjs +1 -1
  143. package/views/system/notice/index.mjs +6 -6
  144. package/views/system/post/index.mjs +6 -6
  145. package/views/system/role/index.mjs +31 -31
  146. package/views/system/role/modules/AssignUser.mjs +1 -1
  147. package/views/system/role/modules/SelectDept.mjs +1 -1
  148. package/views/system/role/modules/SelectMenu.mjs +1 -1
  149. package/views/system/role/modules/SelectUser.mjs +1 -1
  150. package/views/system/user/index.mjs +41 -41
  151. package/views/tool/gen/editTable/index.mjs +30 -30
  152. package/views/tool/gen/editTable/modules/BasicInfo.mjs +1 -1
  153. package/views/tool/gen/editTable/modules/ColumnInfo.mjs +1 -1
  154. package/views/tool/gen/editTable/modules/GenInfo.mjs +1 -1
  155. package/views/tool/gen/index.mjs +11 -11
  156. package/views/tool/gen/modules/Import.mjs +1 -1
  157. package/views/tool/gen/modules/Preview.mjs +1 -1
  158. package/views/tool/job/index.mjs +1 -1
  159. package/views/tool/job/modules/Log.mjs +1 -1
  160. package/assets/pagination-B9tRH6dt.css +0 -1
  161. package/assets/table-D9WewhPF.css +0 -1
  162. package/chunks/page-query-BmWKqp80.mjs +0 -121
@@ -1,10 +1,10 @@
1
- import { H as e, S as t, V as n, o as r } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ import { H as e, S as t, U as n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
- import { t as i } from "../../../chunks/page-list-CX7BUCM4.mjs";
3
+ import { t as i } from "../../../chunks/page-list-nd2K6s0p.mjs";
4
4
  import a from "../../../plugins/autoImport/$msg/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-vDx4D82G.mjs";
6
- import { t as s } from "../../../chunks/SelectDept-BPAzWxOq.mjs";
7
- import { t as c } from "../../../chunks/SelectMenu-C8m9RvV3.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-Cba5vAl1.mjs";
6
+ import { t as s } from "../../../chunks/SelectDept-C_mJ04_S.mjs";
7
+ import { t as c } from "../../../chunks/SelectMenu-D_SA_EiZ.mjs";
8
8
  import { createBlock as l, defineComponent as u, h as d, mergeProps as f, openBlock as p, reactive as m, ref as h, unref as g, useTemplateRef as _, watch as v } from "vue";
9
9
  // ../../packages/dlzn-ui/views/system/role/index.vue
10
10
  var y = /* @__PURE__ */ u({
@@ -85,10 +85,10 @@ var y = /* @__PURE__ */ u({
85
85
  title: "显示顺序"
86
86
  },
87
87
  {
88
- cell: (e, { row: r }) => ({
88
+ cell: (n, { row: r }) => ({
89
89
  beforeChange: async () => {
90
- let e = r.status === "1" ? "启用" : "停用";
91
- return await n(`确认${e}${r.roleName}角色吗?`), await t.Put("system/role/changeStatus", {
90
+ let n = r.status === "1" ? "启用" : "停用";
91
+ return await e(`确认${n}${r.roleName}角色吗?`), await t.Put("system/role/changeStatus", {
92
92
  roleId: r.roleId,
93
93
  status: r.status === "1" ? "0" : "1"
94
94
  }, { meta: { useSuccessMsg: !0 } }), y.value.query(), !0;
@@ -123,11 +123,11 @@ var y = /* @__PURE__ */ u({
123
123
  {
124
124
  cell: {
125
125
  buttons: [
126
- ({ row: e }) => ({
126
+ ({ row: n }) => ({
127
127
  default: "编辑",
128
128
  onClick: async () => {
129
- let { checkedKeys: i, menus: o } = await t.Get(`system/menu/roleMenuTreeselect/${e.roleId}`), s = h(null);
130
- if (e.menuCheckStrictly) {
129
+ let { checkedKeys: i, menus: o } = await t.Get(`system/menu/roleMenuTreeselect/${n.roleId}`), s = h(null);
130
+ if (n.menuCheckStrictly) {
131
131
  let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
132
132
  n.forEach((n) => {
133
133
  n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
@@ -136,8 +136,8 @@ var y = /* @__PURE__ */ u({
136
136
  t(o);
137
137
  }
138
138
  v(s, () => {
139
- s.value.setFormData(e);
140
- }, { once: !0 }), n({
139
+ s.value.setFormData(n);
140
+ }, { once: !0 }), e({
141
141
  body: () => d(r, {
142
142
  data: m({ menuIds: i }),
143
143
  items: [
@@ -155,20 +155,20 @@ var y = /* @__PURE__ */ u({
155
155
  await t.Put("system/role", {
156
156
  ...await s.value.validate(),
157
157
  menuCheckStrictly: !1,
158
- roleId: e.roleId
158
+ roleId: n.roleId
159
159
  }), a.success("角色修改成功"), y.value.query();
160
160
  },
161
161
  width: 730
162
162
  });
163
163
  },
164
164
  permission: "system:role:edit",
165
- show: e.roleId !== "1"
165
+ show: n.roleId !== "1"
166
166
  }),
167
- ({ row: e }) => ({
167
+ ({ row: n }) => ({
168
168
  default: "数据权限",
169
169
  onClick: async () => {
170
- let { checkedKeys: i, depts: o } = await t.Get(`system/role/deptTree/${e.roleId}`), c = h(null);
171
- if (e.deptCheckStrictly) {
170
+ let { checkedKeys: i, depts: o } = await t.Get(`system/role/deptTree/${n.roleId}`), c = h(null);
171
+ if (n.deptCheckStrictly) {
172
172
  let e = (t) => t.some((t) => t.children && e(t.children) || i.includes(t.id)), t = (n) => {
173
173
  n.forEach((n) => {
174
174
  n.children && (e(n.children) && (i.includes(n.id) || i.push(n.id)), t(n.children));
@@ -177,8 +177,8 @@ var y = /* @__PURE__ */ u({
177
177
  t(o);
178
178
  }
179
179
  v(c, () => {
180
- c.value.setFormData(e);
181
- }, { once: !0 }), n({
180
+ c.value.setFormData(n);
181
+ }, { once: !0 }), e({
182
182
  body: () => d(r, {
183
183
  data: m({ deptIds: i }),
184
184
  items: [
@@ -213,33 +213,33 @@ var y = /* @__PURE__ */ u({
213
213
  ],
214
214
  ref: c
215
215
  }, { dept_ids: () => d(s, { deptOptions: o }) }),
216
- header: `给${e.roleName}分配数据权限`,
216
+ header: `给${n.roleName}分配数据权限`,
217
217
  onConfirmCallback: async () => {
218
218
  await t.Put("system/role/dataScope", {
219
219
  deptIds: [],
220
220
  ...await c.value.validate(),
221
221
  deptCheckStrictly: !1,
222
- roleId: e.roleId
222
+ roleId: n.roleId
223
223
  }), a.success("数据权限分配成功"), y.value.query();
224
224
  },
225
225
  width: 430
226
226
  });
227
227
  },
228
228
  permission: "system:role:edit",
229
- show: e.roleId !== "1"
229
+ show: n.roleId !== "1"
230
230
  }),
231
- ({ row: t }) => ({
231
+ ({ row: e }) => ({
232
232
  default: "分配用户",
233
233
  onClick: async () => {
234
- e({
235
- body: () => d(o, { roleId: t.roleId }),
234
+ n({
235
+ body: () => d(o, { roleId: e.roleId }),
236
236
  footer: !1,
237
- header: `给${t.roleName}分配用户`,
237
+ header: `给${e.roleName}分配用户`,
238
238
  width: 1500
239
239
  });
240
240
  },
241
241
  permission: "system:role:edit",
242
- show: t.roleId !== "1"
242
+ show: e.roleId !== "1"
243
243
  }),
244
244
  ({ row: e }) => ({
245
245
  default: "删除",
@@ -277,8 +277,8 @@ var y = /* @__PURE__ */ u({
277
277
  operations: [{
278
278
  default: "新增",
279
279
  onClick: async () => {
280
- let e = await t.Get("system/menu/treeselect"), i = h(null);
281
- n({
280
+ let n = await t.Get("system/menu/treeselect"), i = h(null);
281
+ e({
282
282
  body: () => d(r, {
283
283
  data: m({
284
284
  menuIds: [],
@@ -293,7 +293,7 @@ var y = /* @__PURE__ */ u({
293
293
  b.remark
294
294
  ],
295
295
  ref: i
296
- }, { menu_ids: () => d(c, { menuOptions: e }) }),
296
+ }, { menu_ids: () => d(c, { menuOptions: n }) }),
297
297
  header: "添加角色",
298
298
  onConfirmCallback: async () => {
299
299
  await t.Post("system/role", {
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/AssignUser-vDx4D82G.mjs";
1
+ export { t as default } from "../../../../chunks/AssignUser-Cba5vAl1.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectDept-BPAzWxOq.mjs";
1
+ export { t as default } from "../../../../chunks/SelectDept-C_mJ04_S.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectMenu-C8m9RvV3.mjs";
1
+ export { t as default } from "../../../../chunks/SelectMenu-D_SA_EiZ.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/SelectUser-sanLPSrz.mjs";
1
+ export { t as default } from "../../../../chunks/SelectUser-DLAbDQ8W.mjs";
@@ -1,10 +1,10 @@
1
- import { N as e, S as t, V as n, o as r } from "../../../chunks/provider-BeVE1nWg.mjs";
1
+ import { H as e, P as t, S as n, o as r } from "../../../chunks/provider-6bwbdidw.mjs";
2
2
  import "../../../components/page-list/index.mjs";
3
3
  import "../../../components/table/index.mjs";
4
4
  import { passwordReg as i, passwordRegMessage as a } from "../../../constants/regs.mjs";
5
- import { t as o } from "../../../chunks/table-DTNEiuNZ.mjs";
5
+ import { t as o } from "../../../chunks/table-C-19SNwB.mjs";
6
6
  import s from "../../../plugins/autoImport/$msg/index.mjs";
7
- import { t as c } from "../../../chunks/page-list-CX7BUCM4.mjs";
7
+ import { t as c } from "../../../chunks/page-list-nd2K6s0p.mjs";
8
8
  import { n as l } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
9
9
  import { deptTreeList as u, deptTreeListSend as d } from "../dept/utils.mjs";
10
10
  import { createBlock as f, defineComponent as p, h as m, mergeProps as h, onActivated as g, openBlock as _, reactive as v, ref as y, unref as b, useTemplateRef as x, watch as S } from "vue";
@@ -22,7 +22,7 @@ var w = /* @__PURE__ */ p({
22
22
  g(() => {
23
23
  d();
24
24
  });
25
- let { send: E } = C((e) => t.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
25
+ let { send: E } = C((e) => n.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), D = x("pageListRef"), O = {
26
26
  deptId: v({
27
27
  _label: "归属部门",
28
28
  _required: !0,
@@ -120,7 +120,7 @@ var w = /* @__PURE__ */ p({
120
120
  method: "system/user/export",
121
121
  permission: "system:user:export"
122
122
  },
123
- list: { method: (e) => t.Get("system/user/list", { params: {
123
+ list: { method: (e) => n.Get("system/user/list", { params: {
124
124
  ...e,
125
125
  dateRange: void 0,
126
126
  "params[beginTime]": e.dateRange[0] ?? "",
@@ -160,10 +160,10 @@ var w = /* @__PURE__ */ p({
160
160
  title: "手机号码"
161
161
  },
162
162
  {
163
- cell: (e, { row: r }) => ({
163
+ cell: (t, { row: r }) => ({
164
164
  beforeChange: async () => {
165
- let e = r.status === "1" ? "启用" : "停用";
166
- return await n(`确认${e}${r.userName}用户吗?`), await t.Put("system/user/changeStatus", {
165
+ let t = r.status === "1" ? "启用" : "停用";
166
+ return await e(`确认${t}${r.userName}用户吗?`), await n.Put("system/user/changeStatus", {
167
167
  status: r.status === "1" ? "0" : "1",
168
168
  userId: r.userId
169
169
  }, { meta: { useSuccessMsg: !0 } }), D.value.query(), !0;
@@ -203,7 +203,7 @@ var w = /* @__PURE__ */ p({
203
203
  let { data: a, postIds: o, posts: c, roleIds: l, roles: u } = await E(i.userId), d = y(null);
204
204
  S(d, () => {
205
205
  d.value.setFormData(a, { splitToArrKeys: VITE_APP_ID === "1" ? ["userDeptIds"] : [] });
206
- }, { once: !0 }), n({
206
+ }, { once: !0 }), e({
207
207
  body: () => m(r, {
208
208
  data: v({
209
209
  postIds: o,
@@ -240,13 +240,13 @@ var w = /* @__PURE__ */ p({
240
240
  }),
241
241
  header: "修改用户",
242
242
  onConfirmCallback: async () => {
243
- let n = await d.value.validate();
244
- await t.Put("system/user", {
245
- ...n,
246
- ...VITE_APP_ID === "1" ? { userDeptIds: n.userDeptIds.join(",") } : {},
243
+ let e = await d.value.validate();
244
+ await n.Put("system/user", {
245
+ ...e,
246
+ ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {},
247
247
  userId: a.userId,
248
248
  userName: a.userName
249
- }), e(a.userId), s.success("用户修改成功"), D.value.query();
249
+ }), t(a.userId), s.success("用户修改成功"), D.value.query();
250
250
  },
251
251
  width: 730
252
252
  });
@@ -254,11 +254,11 @@ var w = /* @__PURE__ */ p({
254
254
  permission: "system:user:edit",
255
255
  show: i.userId !== "1"
256
256
  }),
257
- ({ row: e }) => ({
257
+ ({ row: t }) => ({
258
258
  default: "重置密码",
259
259
  onClick: async () => {
260
260
  let o = y(null);
261
- n({
261
+ e({
262
262
  body: () => m(r, {
263
263
  items: [{
264
264
  _required: !0,
@@ -272,25 +272,25 @@ var w = /* @__PURE__ */ p({
272
272
  }],
273
273
  ref: o
274
274
  }),
275
- header: `请输入${e.userName}用户的新密码`,
275
+ header: `请输入${t.userName}用户的新密码`,
276
276
  onConfirmCallback: async () => {
277
- let n = (await o.value.validate()).newPassword;
278
- await t.Put("system/user/resetPwd", {
279
- password: n,
280
- userId: e.userId
281
- }), l(`密码修改成功,新密码是:${n}`), D.value.query();
277
+ let e = (await o.value.validate()).newPassword;
278
+ await n.Put("system/user/resetPwd", {
279
+ password: e,
280
+ userId: t.userId
281
+ }), l(`密码修改成功,新密码是:${e}`), D.value.query();
282
282
  },
283
283
  width: 430
284
284
  });
285
285
  },
286
286
  permission: "system:user:resetPwd",
287
- show: e.userId !== "1"
287
+ show: t.userId !== "1"
288
288
  }),
289
- ({ row: e }) => ({
289
+ ({ row: t }) => ({
290
290
  default: "分配角色",
291
291
  onClick: async () => {
292
- let { roles: r, user: i } = await t.Get(`system/user/authRole/${e.userId}`), a = y(null);
293
- n({
292
+ let { roles: r, user: i } = await n.Get(`system/user/authRole/${t.userId}`), a = y(null);
293
+ e({
294
294
  body: () => m(o, {
295
295
  columns: [
296
296
  {
@@ -322,11 +322,11 @@ var w = /* @__PURE__ */ p({
322
322
  }),
323
323
  header: `为用户${i.nickName}(${i.userName})分配角色`,
324
324
  onConfirmCallback: async () => {
325
- await t.Put("system/user/authRole", {}, {
325
+ await n.Put("system/user/authRole", {}, {
326
326
  meta: { useSuccessMsg: !0 },
327
327
  params: {
328
328
  roleIds: a.value.selectedRowKeys.join(","),
329
- userId: e.userId
329
+ userId: t.userId
330
330
  }
331
331
  }), D.value.query();
332
332
  },
@@ -334,7 +334,7 @@ var w = /* @__PURE__ */ p({
334
334
  });
335
335
  },
336
336
  permission: "system:user:edit",
337
- show: e.userId !== "1"
337
+ show: t.userId !== "1"
338
338
  }),
339
339
  ({ row: e }) => ({
340
340
  default: "删除",
@@ -342,7 +342,7 @@ var w = /* @__PURE__ */ p({
342
342
  popconfirm: {
343
343
  content: "确认删除吗",
344
344
  onConfirm: async () => {
345
- await t.Delete(`system/user/${e.userId}`), s("删除成功"), D.value.query();
345
+ await n.Delete(`system/user/${e.userId}`), s("删除成功"), D.value.query();
346
346
  }
347
347
  },
348
348
  show: e.userId !== "1"
@@ -376,8 +376,8 @@ var w = /* @__PURE__ */ p({
376
376
  {
377
377
  default: "新增",
378
378
  onClick: async () => {
379
- let { posts: e, roles: i } = await E(""), a = y(null);
380
- n({
379
+ let { posts: t, roles: i } = await E(""), a = y(null);
380
+ e({
381
381
  body: () => m(r, {
382
382
  data: v({ status: "0" }),
383
383
  items: [
@@ -393,7 +393,7 @@ var w = /* @__PURE__ */ p({
393
393
  O.status,
394
394
  {
395
395
  ...O.postIds,
396
- options: e.map((e) => ({
396
+ options: t.map((e) => ({
397
397
  disabled: e.status === "1",
398
398
  label: e.postName,
399
399
  value: e.postId
@@ -414,7 +414,7 @@ var w = /* @__PURE__ */ p({
414
414
  header: "添加用户",
415
415
  onConfirmCallback: async () => {
416
416
  let e = await a.value.validate();
417
- await t.Post("system/user", {
417
+ await n.Post("system/user", {
418
418
  ...e,
419
419
  ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {}
420
420
  }), s.success("用户添加成功"), D.value.query();
@@ -428,13 +428,13 @@ var w = /* @__PURE__ */ p({
428
428
  {
429
429
  default: "导入",
430
430
  onClick: async () => {
431
- let e = y(null);
432
- n({
431
+ let t = y(null);
432
+ e({
433
433
  body: () => m(r, {
434
434
  items: [{
435
435
  _required: !0,
436
436
  component: "TUpload",
437
- downloadTemplate: t.Post("system/user/importTemplate", {}, { meta: {
437
+ downloadTemplate: n.Post("system/user/importTemplate", {}, { meta: {
438
438
  useDownload: "用户管理导入模板.xlsx",
439
439
  useResponseBlob: !0
440
440
  } }),
@@ -445,14 +445,14 @@ var w = /* @__PURE__ */ p({
445
445
  label: "是否更新已经存在的用户数据",
446
446
  model: "updateSupport"
447
447
  }],
448
- ref: e
448
+ ref: t
449
449
  }),
450
450
  header: "导入用户",
451
451
  onConfirmCallback: async () => {
452
- let n = await e.value.validate();
453
- await t.Post("system/user/importData", { file: n.file[0].raw }, {
452
+ let e = await t.value.validate();
453
+ await n.Post("system/user/importData", { file: e.file[0].raw }, {
454
454
  meta: { useFormData: !0 },
455
- params: { updateSupport: n.updateSupport }
455
+ params: { updateSupport: e.updateSupport }
456
456
  }), D.value.query();
457
457
  },
458
458
  width: 480
@@ -1,63 +1,63 @@
1
- import { S as e, n as t, z as n } from "../../../../chunks/provider-BeVE1nWg.mjs";
2
- import r from "../../../../store/modules/excludeKPname.mjs";
3
- import { t as i } from "../../../../chunks/BasicInfo-BvKBHQyo.mjs";
4
- import { t as a } from "../../../../chunks/ColumnInfo-BYddY4ID.mjs";
5
- import { t as o } from "../../../../chunks/GenInfo-Cpjb07t9.mjs";
6
- import { createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, nextTick as f, openBlock as p, ref as m, unref as h, withCtx as g } from "vue";
1
+ import { B as e, S as t, n } from "../../../../chunks/provider-6bwbdidw.mjs";
2
+ import r from "../../../../hooks/useMountedPromise/index.mjs";
3
+ import i from "../../../../store/modules/excludeKPname.mjs";
4
+ import { t as a } from "../../../../chunks/BasicInfo-Bvq-HQJ_.mjs";
5
+ import { t as o } from "../../../../chunks/ColumnInfo-CRLX-mvV.mjs";
6
+ import { t as s } from "../../../../chunks/GenInfo-DJq_EewR.mjs";
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";
7
8
  import { useRoute as _ } from "vue-router";
8
9
  // ../../packages/dlzn-ui/views/tool/gen/editTable/index.vue?vue&type=script&setup=true&lang.ts
9
- var v = { class: "mt-4 text-center" }, y = /* @__PURE__ */ d({
10
+ var v = { class: "mt-4 text-center" }, y = /* @__PURE__ */ f({
10
11
  __name: "index",
11
- setup(d) {
12
+ setup(f) {
12
13
  let y = _(), b = m(null), x = m(null), S = m(null);
13
14
  function C() {
14
- n().close(y.name);
15
+ e().close(y.name);
15
16
  }
16
- function w({ info: e }) {
17
- f(() => {
18
- b.value.setFormData(e), x.value.setFormData(e);
19
- });
17
+ let w = r();
18
+ async function T({ info: e }) {
19
+ await w, b.value.setFormData(e), x.value.setFormData(e);
20
20
  }
21
- async function T() {
22
- let [t, i, a] = await Promise.all([
21
+ async function E() {
22
+ let [n, r, a] = await Promise.all([
23
23
  b.value.handleSubmit(),
24
24
  x.value.handleSubmit(),
25
25
  S.value.handleSubmit()
26
26
  ]);
27
- await e.Put("tool/gen", {
28
- ...t,
29
- ...i,
27
+ await t.Put("tool/gen", {
28
+ ...n,
29
+ ...r,
30
30
  columns: a,
31
- params: { parentMenuId: i.parentMenuId },
31
+ params: { parentMenuId: r.parentMenuId },
32
32
  tableId: y.query.id
33
- }, { meta: { useSuccessMsg: !0 } }), r().add("Gen"), n().close(y.name);
33
+ }, { meta: { useSuccessMsg: !0 } }), i().add("Gen"), e().close(y.name);
34
34
  }
35
- return (e, n) => (p(), s("div", null, [
36
- u(i, {
35
+ return (e, t) => (p(), c("div", null, [
36
+ d(a, {
37
37
  ref_key: "basicInfoRef",
38
38
  ref: b
39
39
  }, null, 512),
40
- u(o, {
40
+ d(s, {
41
41
  ref_key: "genInfoRef",
42
42
  ref: x
43
43
  }, null, 512),
44
- u(a, {
44
+ d(o, {
45
45
  ref_key: "columnInfoRef",
46
46
  ref: S,
47
- onQuerySuccess: w
47
+ onQuerySuccess: T
48
48
  }, null, 512),
49
- c("div", v, [u(h(t), {
49
+ l("div", v, [d(h(n), {
50
50
  theme: "default",
51
51
  variant: "outline",
52
52
  onClick: C
53
53
  }, {
54
- default: g(() => [...n[0] ||= [l("取消", -1)]]),
54
+ default: g(() => [...t[0] ||= [u("取消", -1)]]),
55
55
  _: 1
56
- }), u(h(t), {
56
+ }), d(h(n), {
57
57
  class: "ml-4!",
58
- onClick: T
58
+ onClick: E
59
59
  }, {
60
- default: g(() => [...n[1] ||= [l("保存", -1)]]),
60
+ default: g(() => [...t[1] ||= [u("保存", -1)]]),
61
61
  _: 1
62
62
  })])
63
63
  ]));
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/BasicInfo-BvKBHQyo.mjs";
1
+ export { t as default } from "../../../../../chunks/BasicInfo-Bvq-HQJ_.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/ColumnInfo-BYddY4ID.mjs";
1
+ export { t as default } from "../../../../../chunks/ColumnInfo-CRLX-mvV.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../../chunks/GenInfo-Cpjb07t9.mjs";
1
+ export { t as default } from "../../../../../chunks/GenInfo-DJq_EewR.mjs";
@@ -1,9 +1,9 @@
1
1
  import "../../../components/page-list/index.mjs";
2
- import { H as e, S as t, V as n } from "../../../chunks/provider-BeVE1nWg.mjs";
3
- import { t as r } from "../../../chunks/page-list-CX7BUCM4.mjs";
2
+ import { H as e, S as t, U as n } from "../../../chunks/provider-6bwbdidw.mjs";
3
+ import { t as r } from "../../../chunks/page-list-nd2K6s0p.mjs";
4
4
  import { n as i } from "../../../chunks/useAppContext-DAxNLHY9.mjs";
5
- import { t as a } from "../../../chunks/Import-CUwSBuu3.mjs";
6
- import { t as o } from "../../../chunks/Preview-Gx0BbBT4.mjs";
5
+ import { t as a } from "../../../chunks/Import-rJdKqVqG.mjs";
6
+ import { t as o } from "../../../chunks/Preview-DT31fnBR.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,11 +76,11 @@ var v = /* @__PURE__ */ l({
76
76
  {
77
77
  cell: {
78
78
  buttons: [
79
- ({ row: t }) => ({
79
+ ({ row: e }) => ({
80
80
  default: "预览",
81
81
  onClick: () => {
82
- e({
83
- body: () => u(o, { tableId: t.tableId }),
82
+ n({
83
+ body: () => u(o, { tableId: e.tableId }),
84
84
  cancelBtn: "关闭",
85
85
  confirmBtn: null,
86
86
  header: "代码预览",
@@ -138,12 +138,12 @@ var v = /* @__PURE__ */ l({
138
138
  }), {
139
139
  default: "导入",
140
140
  onClick: () => {
141
- let e = m(null);
142
- n({
143
- body: () => u(a, { ref: e }),
141
+ let t = m(null);
142
+ e({
143
+ body: () => u(a, { ref: t }),
144
144
  header: "导入表",
145
145
  onConfirmCallback: async () => {
146
- await e.value.handleSubmit(), y.value.query();
146
+ await t.value.handleSubmit(), y.value.query();
147
147
  },
148
148
  width: 800
149
149
  });
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Import-CUwSBuu3.mjs";
1
+ export { t as default } from "../../../../chunks/Import-rJdKqVqG.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Preview-Gx0BbBT4.mjs";
1
+ export { t as default } from "../../../../chunks/Preview-DT31fnBR.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../chunks/job-dsXPTFKb.mjs";
1
+ export { t as default } from "../../../chunks/job-D6_vm6Ii.mjs";
@@ -1 +1 @@
1
- export { t as default } from "../../../../chunks/Log-uPhl0QJF.mjs";
1
+ export { t as default } from "../../../../chunks/Log-i0vc4tLi.mjs";
@@ -1 +0,0 @@
1
- .t-pagination[data-v-1aba7f8a] .t-pagination__total{flex:none;order:2}.t-pagination[data-v-1aba7f8a] .t-pagination__select .t-input{min-width:100px}
@@ -1 +0,0 @@
1
- [data-v-ea754182] table{border-collapse:separate}[data-v-ea754182] table td,[data-v-ea754182] table th{height:45px}[data-v-ea754182] table th,[data-v-ea754182] table thead td{color:inherit;font-weight:600;background-color:var(--td-brand-color-1)!important}[data-v-ea754182] table tfoot tr{background-color:var(--td-gray-color-2)!important}[data-v-ea754182] .t-table__content::-webkit-scrollbar{width:10px;height:10px}[data-v-ea754182] .t-table__content::-webkit-scrollbar-thumb{cursor:pointer}[data-v-ea754182] .t-table__scroll-bar-divider{top:-1px;right:10px!important}[data-v-ea754182] .t-table__affixed-header-elm-wrap{width:calc(100% - 10px)!important}[data-v-ea754182] .t-table__affixed-header-elm-wrap>.t-table__affixed-header-elm{width:calc(100% - 1px)!important}.t-table[data-v-ea754182]{--td-font-body-medium:13px / var(--td-line-height-body-medium) var(--td-font-family);--td-comp-paddingTB-m:0;--td-comp-paddingLR-l:12px}.t-table.t-table__content--scrollable-to-left[data-v-ea754182] .t-table__cell--fixed-left-last{box-shadow:8px 0 10px -5px #0000001f}.t-table.t-table__content--scrollable-to-left[data-v-ea754182] .t-table__cell--fixed-left-last:after{border-right-width:1px}.t-table.t-table__content--scrollable-to-right[data-v-ea754182] .t-table__cell--fixed-right-first{box-shadow:-8px 0 10px -5px #0000001f}.t-table.t-table__content--scrollable-to-right[data-v-ea754182] .t-table__cell--fixed-right-first:after{border-left-width:1px}.t-table[data-v-ea754182] .t-table__empty{inset:calc(var(--v676abc94) * 1px + 12px) 12px 12px;pointer-events:none;position:absolute;width:auto!important}.t-table[data-v-ea754182] .t-table__content:has(.t-table__empty){position:static}.t-table[data-v-ea754182] td:has(.t-table__empty){position:static}.t-table[data-v-ea754182] .t-table__sort-column{background-color:var(--td-brand-color-1)}.t-table[data-v-ea754182] .t-table__filter-icon-wrap{width:auto;height:auto}.t-table[data-v-ea754182] .t-table__cell--sort-trigger{flex-direction:row;display:flex}.t-table[data-v-ea754182] .t-table__cell--sort-trigger .iconify{color:var(--td-font-gray-4)}.t-table[data-v-ea754182] .t-table__cell--sort-trigger .t-table__sort-icon--active .iconify{color:var(--td-brand-color)}.t-table[data-v-ea754182] .t-table__cell--sort-trigger .t-table-sort-asc{top:0}.t-table[data-v-ea754182] .t-table__cell--sort-trigger .t-table-sort-desc{bottom:0}.t-table[data-v-ea754182] .t-table__tree-op-icon:empty{display:none}.table_parent[data-v-ea754182]{min-height:calc(var(--v676abc94) * 1px + var(--v463858a2) * 1px + 46px)}.table_parent[data-v-ea754182]:has(.t-table--width-overflow){min-height:calc(var(--v676abc94) * 1px + var(--v463858a2) * 1px + 56px)}.table_parent[data-v-ea754182]:has(.t-table__empty){min-height:calc(var(--v676abc94) * 1px + 144px)}.table_parent[data-v-ea754182]:has(.t-table__empty) .t-table__footer{display:none}:is(.table_parent[data-v-ea754182]:has(.t-table__empty) .t-table,.table_parent[data-v-ea754182]:has(.t-table__empty) .t-table__content){min-height:inherit}.t-table--bordered[data-v-ea754182]:after{z-index:32;content:"";border-bottom:1px solid var(--td-component-border);display:block;position:absolute;bottom:1px;left:2px;right:2px}.t-table--bordered[data-v-ea754182]>.t-table__content{border-bottom-color:#0000}.t-table--bordered[data-v-ea754182]>.t-table__content>table>tfoot>tr:last-child>td,.t-table--bordered[data-v-ea754182]>.t-table__content>table>tbody>tr:last-child:not(.t-table__empty-row)>td{border-bottom:1px solid var(--td-component-border)}.t-table--bordered[data-v-ea754182]>.t-table__content>table>tfoot>tr:first-child>td{border-top:none}.t-table--bordered[data-v-ea754182]>.t-table__content>table>tfoot:before{z-index:1;content:"";border-bottom:1px solid var(--td-component-border);width:100%;position:absolute;top:-1px;left:0}.t-table--striped[data-v-ea754182]>.t-table__content>table>tbody>tr:nth-of-type(odd):not(.t-table__expanded-row){background-color:var(--td-bg-color-container)!important}.t-table--striped[data-v-ea754182]>.t-table__content>table>tbody>tr:nth-of-type(2n):not(.t-table__expanded-row){background-color:var(--td-bg-color-secondarycontainer)!important}.t-table--striped.t-table--hoverable[data-v-ea754182]>.t-table__content>table>tbody tr:not(.t-table__empty-row):hover{background-color:var(--td-bg-color-secondarycontainer-hover)!important}.table_operations_wrapper[data-v-ea754182]{display:none}.table_operations_wrapper[data-v-ea754182]:has(>:not(:empty)){display:flex}.transform_tfoot[data-v-ea754182] tfoot{transform:translateY(calc(var(--e8ced730) * 1px))}.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input){border-color:var(--td-border-level-2-color)!important}:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)):not(.t-is-disabled):hover{border-color:var(--td-brand-color)!important}:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)).t-is-focused,:is(.t-table .t-range-input,.t-table .t-textarea__inner,.t-table .t-input:not(.t-range-input .t-input)).t-input--focused{border-color:var(--td-brand-color)!important;box-shadow:0 0 0 1px var(--td-brand-color) inset!important}.t-table .el-date-editor .el-input__wrapper{--el-input-border-color:var(--td-border-level-2-color)!important;--el-input-hover-border-color:var(--td-brand-color)!important;--el-input-focus-border-color:var(--td-brand-color)!important}.t-table .t-empty .t-icon{font-size:inherit}:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning{border-color:var(--td-error-color)!important}:is(:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning).t-is-focused,:is(:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-error,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-success,:is(.t-is-error .t-table .t-range-input,.t-is-error .t-table .t-textarea__inner,.t-is-error .t-table .t-input:not(.t-range-input .t-input)).t-is-warning).t-input--focused{box-shadow:0 0 0 1px var(--td-error-color) inset!important}:is(.t-is-error .t-table .el-date-editor.t-is-error,.t-is-error .t-table .el-date-editor.t-is-success,.t-is-error .t-table .el-date-editor.t-is-warning) .el-input__wrapper{--el-input-border-color:var(--td-error-color)!important;--el-input-hover-border-color:var(--td-error-color)!important;--el-input-focus-border-color:var(--td-error-color)!important}