dlzn-ui 2.0.6 → 2.0.8

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 (187) hide show
  1. package/assets/$loading-D_Zs2VgL.css +1 -0
  2. package/assets/LoginBg-XqWOv7dJ.css +1 -0
  3. package/assets/main-CxSb5Gqw.css +2 -0
  4. package/assets/{button-Bwn73ZEc.css → provider-1BcdscQq.css} +1 -1
  5. package/chunks/$loading-Df3COGfW.mjs +241 -0
  6. package/chunks/{AssignUser-DCju22tm.mjs → AssignUser-Dj8rq5gH.mjs} +3 -3
  7. package/chunks/{Common-DQbblaTl.mjs → Common-CnrITpXz.mjs} +7 -7
  8. package/chunks/{Day-9BKmHuZl.mjs → Day-tjS-0iDA.mjs} +13 -13
  9. package/chunks/{DictTypeDetail-e14bGyiZ.mjs → DictTypeDetail-CcohOVfN.mjs} +7 -7
  10. package/chunks/FileSaver.min-BAG7TK0U.mjs +70 -0
  11. package/chunks/{Hour-CrFFADzT.mjs → Hour-B9fx59cM.mjs} +1 -1
  12. package/chunks/{Index-Bu5a_B5n.mjs → Index-B-_PVf5U.mjs} +1 -1
  13. package/chunks/{Index-QUCWrT4d.mjs → Index-BTEVAXbg.mjs} +2 -2
  14. package/chunks/{Index-bEWcnIHJ.mjs → Index-BxfxoY-l.mjs} +1 -1
  15. package/chunks/{Index-Bi44jQm2.mjs → Index-CrxoIuR-.mjs} +1 -1
  16. package/chunks/{Index-ChH8kYUs.mjs → Index-D-gi1OVy.mjs} +2 -2
  17. package/chunks/{Index-DloA1g7z.mjs → Index-DlrNiiDp.mjs} +5 -5
  18. package/chunks/{Index-De48YIRG.mjs → Index-baebFewJ.mjs} +1 -1
  19. package/chunks/{Index-CZ0ICyCx.mjs → Index-z9vUMzmS.mjs} +2 -2
  20. package/chunks/{IndexItem-OIGXdAkP.mjs → IndexItem-rt5wZA39.mjs} +7 -7
  21. package/chunks/{Log-DdemNjDW.mjs → Log-DK5aduPG.mjs} +8 -8
  22. package/chunks/{LoginBg-BD6ChYvu.mjs → LoginBg-BtuSDFUq.mjs} +10 -18
  23. package/chunks/{MenuNode-ByutDAqI.mjs → MenuNode-B0M4WpOn.mjs} +1 -1
  24. package/chunks/{MenuNode-DXgE629W.mjs → MenuNode-DEBSfNz9.mjs} +3 -3
  25. package/chunks/{Minute-xZNOCy8Q.mjs → Minute-hPwzkaCM.mjs} +1 -1
  26. package/chunks/{Month-CvWOcD_9.mjs → Month-Cnjhbs28.mjs} +1 -1
  27. package/chunks/{Second-BvMnEOms.mjs → Second-DAYKul2s.mjs} +1 -1
  28. package/chunks/{SelectDept-DmtKBaW0.mjs → SelectDept-CC4ckbbt.mjs} +1 -1
  29. package/chunks/{SelectMenu-tEpLm6Ij.mjs → SelectMenu-pBim6_Lj.mjs} +1 -1
  30. package/chunks/{SelectUser-CTvBarod.mjs → SelectUser-D6dBXxlL.mjs} +2 -2
  31. package/chunks/Triangle-C5ogSVp9.mjs +1140 -0
  32. package/chunks/{UserInfo-qrNR9tve.mjs → UserInfo-BUlPdKge.mjs} +11 -11
  33. package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
  34. package/chunks/__vite-browser-external-D1GT_Hx9.mjs +7 -0
  35. package/chunks/{app-CggLqjRQ.mjs → app-Dk-mybzX.mjs} +5 -5
  36. package/chunks/auto-animate-FPySn19g.mjs +341 -0
  37. package/chunks/crypto-js-DWj_rBsG.mjs +3695 -0
  38. package/chunks/css-Cw_qlmlv.mjs +521 -0
  39. package/chunks/{custom-page-list-CJWB72dw.mjs → custom-page-list-EQhltX7t.mjs} +4 -4
  40. package/chunks/{custom-page-table-5f8lI6CQ.mjs → custom-page-table-CYLFzT4F.mjs} +2 -2
  41. package/chunks/date-picker-C_5NJHjq.mjs +8186 -0
  42. package/chunks/icon-jnCbW4iu.mjs +1013 -0
  43. package/chunks/{menu-CjNx3wKR.mjs → menu-DYwAudY3.mjs} +1 -1
  44. package/chunks/{overview-BEtKbidZ.mjs → overview-D9YB44O0.mjs} +1 -1
  45. package/chunks/{page-list-C3nqGnnX.mjs → page-list-BnGVTcad.mjs} +36 -36
  46. package/chunks/{page-query-C6oSW1je.mjs → page-query-QCT-mat_.mjs} +5 -5
  47. package/chunks/{page-table-3DTiPP9H.mjs → page-table-DMOjg44G.mjs} +9 -9
  48. package/chunks/{pagination-C6-VAj4W.mjs → pagination-BNAZYVJk.mjs} +1 -1
  49. package/chunks/{button-Dk3CiB69.mjs → provider-DQIMA4mE.mjs} +840 -809
  50. package/chunks/rolldown-runtime-D_tDV3RV.mjs +23 -0
  51. package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-B0u39t4J.mjs} +9 -10
  52. package/chunks/store-C46_JI7q.mjs +112 -0
  53. package/chunks/{table-Cp9NQHjQ.mjs → table-BFP90EA0.mjs} +11 -11
  54. package/chunks/{tag-CfeJWJii.mjs → tag-BDpZ8-Fj.mjs} +1 -1
  55. package/components/app/index.mjs +1 -1
  56. package/components/app/src/app.mjs +1 -1
  57. package/components/button/index.mjs +1 -1
  58. package/components/button/src/button.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 +6206 -103
  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/form/index.mjs +1 -1
  77. package/components/form/src/form.mjs +1 -1
  78. package/components/icon/index.mjs +1 -1
  79. package/components/icon/src/icon.mjs +1 -1
  80. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  81. package/components/index.mjs +19 -19
  82. package/components/overview/index.mjs +1 -1
  83. package/components/overview/src/DicLabel/Index.mjs +1 -1
  84. package/components/overview/src/IndexItem.mjs +1 -1
  85. package/components/overview/src/OptionLabel/Index.mjs +1 -1
  86. package/components/overview/src/overview.mjs +1 -1
  87. package/components/page-list/index.mjs +1 -1
  88. package/components/page-list/src/page-list.d.ts +3 -3
  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/page-table/src/page-table.vue.d.ts +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/scrollbar/index.mjs +1 -1
  102. package/components/scrollbar/src/scrollbar.mjs +1 -1
  103. package/components/select/index.mjs +2 -2
  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/table/src/table.vue.d.ts +1 -1
  111. package/components/tag/index.mjs +1 -1
  112. package/components/tag/src/tag.mjs +1 -1
  113. package/components/tree/index.mjs +2 -2
  114. package/components/tree/src/tree.mjs +1 -1
  115. package/components/tree-select/index.mjs +1 -1
  116. package/components/tree-select/src/tree-select.mjs +1 -1
  117. package/components/upload/index.mjs +2 -2
  118. package/components/upload/src/upload.mjs +1 -1
  119. package/hooks/useAnimateAuto/index.mjs +6 -6
  120. package/hooks/useContextMenu/menu/index.mjs +1 -1
  121. package/hooks/useContextMenu/menu/src/MenuNode.mjs +1 -1
  122. package/hooks/useContextMenu/menu/src/menu.mjs +1 -1
  123. package/hooks/useDicOptions/index.mjs +2 -2
  124. package/hooks/useSysUser/index.mjs +2 -2
  125. package/index.d.ts +3 -0
  126. package/layout/Entry.mjs +1 -1
  127. package/layout/Login.mjs +6 -6
  128. package/layout/NotFound.mjs +1 -1
  129. package/layout/modules/Aside.mjs +1 -1
  130. package/layout/modules/Breadcrumb.mjs +1 -1
  131. package/layout/modules/Header.mjs +1 -1
  132. package/layout/modules/LoginBg.mjs +1 -1
  133. package/layout/modules/MenuNode.mjs +1 -1
  134. package/layout/profile/Index.mjs +4 -4
  135. package/layout/profile/ResetPwd.mjs +1 -1
  136. package/layout/profile/UserInfo.mjs +1 -1
  137. package/layout/vueBits/LightRays.mjs +47 -47
  138. package/layout/vueBits/Plasma.mjs +29 -29
  139. package/layout/vueBits/Prism.mjs +51 -51
  140. package/main.d.ts +2 -0
  141. package/main.mjs +41 -0
  142. package/package.json +17 -11
  143. package/plugins/autoImport/$alova/index.mjs +2 -2
  144. package/plugins/autoImport/$confirm/index.mjs +1 -1
  145. package/plugins/autoImport/$dialog/index.mjs +1 -1
  146. package/plugins/autoImport/$drawer/index.mjs +1 -1
  147. package/plugins/autoImport/$loading/index.mjs +2 -38
  148. package/plugins/captcha/captcha.mjs +13 -13
  149. package/plugins/captcha/index.mjs +1 -1
  150. package/plugins/echarts/index.mjs +705 -25
  151. package/plugins/initialize/index.mjs +1 -1
  152. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  153. package/plugins/tableRenders/Wrapper.mjs +1 -1
  154. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  155. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  156. package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
  157. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  158. package/plugins/tableRenders/cell/OptionLabel/Index.mjs +1 -1
  159. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  160. package/plugins/tableRenders/cell/Tags/Index.mjs +1 -1
  161. package/plugins/tableRenders/cell/index.mjs +7 -7
  162. package/plugins/tableRenders/title/index.mjs +1 -1
  163. package/router/index.mjs +1 -1
  164. package/store/index.mjs +2 -7
  165. package/store/modules/common.mjs +1 -1
  166. package/store/modules/login.mjs +1 -1
  167. package/store/modules/recentRouters.mjs +1 -1
  168. package/store/modules/router.mjs +1 -1
  169. package/store/modules/user.mjs +2 -2
  170. package/utils/tool.mjs +16 -15
  171. package/views/system/dept/index.mjs +10 -10
  172. package/views/system/dept/utils.mjs +1 -1
  173. package/views/system/dict/index.mjs +18 -18
  174. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  175. package/views/system/menu/index.mjs +11 -11
  176. package/views/system/post/index.mjs +6 -6
  177. package/views/system/role/index.mjs +42 -42
  178. package/views/system/role/modules/AssignUser.mjs +1 -1
  179. package/views/system/role/modules/SelectDept.mjs +1 -1
  180. package/views/system/role/modules/SelectMenu.mjs +1 -1
  181. package/views/system/role/modules/SelectUser.mjs +1 -1
  182. package/views/system/user/index.mjs +49 -49
  183. package/views/tool/job/index.mjs +31 -31
  184. package/views/tool/job/modules/Log.mjs +1 -1
  185. package/assets/LoginBg-BTrRjkK7.css +0 -1
  186. package/chunks/date-picker-DtbDIFUH.mjs +0 -378
  187. package/chunks/icon-COjp1yrx.mjs +0 -21
@@ -1,10 +1,10 @@
1
- import { F as e, P as t, a as n, x as r } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-DQIMA4mE.mjs";
2
2
  import i from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as a } from "../../../chunks/page-list-C3nqGnnX.mjs";
3
+ import { t as a } from "../../../chunks/page-list-BnGVTcad.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { t as o } from "../../../chunks/AssignUser-DCju22tm.mjs";
6
- import { t as s } from "../../../chunks/SelectDept-DmtKBaW0.mjs";
7
- import { t as c } from "../../../chunks/SelectMenu-tEpLm6Ij.mjs";
5
+ import { t as o } from "../../../chunks/AssignUser-Dj8rq5gH.mjs";
6
+ import { t as s } from "../../../chunks/SelectDept-CC4ckbbt.mjs";
7
+ import { t as c } from "../../../chunks/SelectMenu-pBim6_Lj.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
  //#endregion
10
10
  //#region ../../packages/dlzn-ui/views/system/role/index.vue
@@ -61,7 +61,7 @@ var y = /* @__PURE__ */ u({
61
61
  method: "system/role/export",
62
62
  permission: "system:role:export"
63
63
  },
64
- list: { method: (e) => r.Get("system/role/list", { params: {
64
+ list: { method: (e) => n.Get("system/role/list", { params: {
65
65
  ...e,
66
66
  dateRange: void 0,
67
67
  "params[beginTime]": e.dateRange[0] ?? "",
@@ -86,17 +86,17 @@ var y = /* @__PURE__ */ u({
86
86
  title: "显示顺序"
87
87
  },
88
88
  {
89
- cell: (e, { row: n }) => ({
89
+ cell: (t, { row: r }) => ({
90
90
  beforeChange: async () => {
91
- let e = n.status === "1" ? "启用" : "停用";
92
- return await t(`确认${e}${n.roleName}角色吗?`), await r.Put("system/role/changeStatus", {
93
- roleId: n.roleId,
94
- status: n.status === "1" ? "0" : "1"
91
+ let t = r.status === "1" ? "启用" : "停用";
92
+ return await e(`确认${t}${r.roleName}角色吗?`), await n.Put("system/role/changeStatus", {
93
+ roleId: r.roleId,
94
+ status: r.status === "1" ? "0" : "1"
95
95
  }, { meta: { useSuccessMsg: !0 } }), y.value.query(), !0;
96
96
  },
97
97
  component: "Switch",
98
98
  customValue: ["0", "1"],
99
- disabled: n.roleId === "1"
99
+ disabled: r.roleId === "1"
100
100
  }),
101
101
  colKey: "status",
102
102
  title: "角色状态"
@@ -124,11 +124,11 @@ var y = /* @__PURE__ */ u({
124
124
  {
125
125
  cell: {
126
126
  buttons: [
127
- ({ row: e }) => ({
127
+ ({ row: t }) => ({
128
128
  default: "编辑",
129
129
  onClick: async () => {
130
- let { checkedKeys: a, menus: o } = await r.Get(`system/menu/roleMenuTreeselect/${e.roleId}`), s = h(null);
131
- if (e.menuCheckStrictly) {
130
+ let { checkedKeys: a, menus: o } = await n.Get(`system/menu/roleMenuTreeselect/${t.roleId}`), s = h(null);
131
+ if (t.menuCheckStrictly) {
132
132
  let e = (t) => t.some((t) => t.children && e(t.children) || a.includes(t.id)), t = (n) => {
133
133
  n.forEach((n) => {
134
134
  n.children && (e(n.children) && (a.includes(n.id) || a.push(n.id)), t(n.children));
@@ -137,9 +137,9 @@ var y = /* @__PURE__ */ u({
137
137
  t(o);
138
138
  }
139
139
  v(s, () => {
140
- s.value.setFormData(e);
141
- }, { once: !0 }), t({
142
- body: () => d(n, {
140
+ s.value.setFormData(t);
141
+ }, { once: !0 }), e({
142
+ body: () => d(r, {
143
143
  data: m({ menuIds: a }),
144
144
  items: [
145
145
  b.roleName,
@@ -153,23 +153,23 @@ var y = /* @__PURE__ */ u({
153
153
  }, { menu_ids: () => d(c, { menuOptions: o }) }),
154
154
  header: "修改角色",
155
155
  onConfirmCallback: async () => {
156
- await r.Put("system/role", {
156
+ await n.Put("system/role", {
157
157
  ...await s.value.validate(),
158
158
  menuCheckStrictly: !1,
159
- roleId: e.roleId
159
+ roleId: t.roleId
160
160
  }), i.success("角色修改成功"), y.value.query();
161
161
  },
162
162
  width: 730
163
163
  });
164
164
  },
165
165
  permission: "system:role:edit",
166
- show: e.roleId !== "1"
166
+ show: t.roleId !== "1"
167
167
  }),
168
- ({ row: e }) => ({
168
+ ({ row: t }) => ({
169
169
  default: "数据权限",
170
170
  onClick: async () => {
171
- let { checkedKeys: a, depts: o } = await r.Get(`system/role/deptTree/${e.roleId}`), c = h(null);
172
- if (e.deptCheckStrictly) {
171
+ let { checkedKeys: a, depts: o } = await n.Get(`system/role/deptTree/${t.roleId}`), c = h(null);
172
+ if (t.deptCheckStrictly) {
173
173
  let e = (t) => t.some((t) => t.children && e(t.children) || a.includes(t.id)), t = (n) => {
174
174
  n.forEach((n) => {
175
175
  n.children && (e(n.children) && (a.includes(n.id) || a.push(n.id)), t(n.children));
@@ -178,9 +178,9 @@ var y = /* @__PURE__ */ u({
178
178
  t(o);
179
179
  }
180
180
  v(c, () => {
181
- c.value.setFormData(e);
182
- }, { once: !0 }), t({
183
- body: () => d(n, {
181
+ c.value.setFormData(t);
182
+ }, { once: !0 }), e({
183
+ body: () => d(r, {
184
184
  data: m({ deptIds: a }),
185
185
  items: [
186
186
  {
@@ -214,33 +214,33 @@ var y = /* @__PURE__ */ u({
214
214
  ],
215
215
  ref: c
216
216
  }, { dept_ids: () => d(s, { deptOptions: o }) }),
217
- header: `给${e.roleName}分配数据权限`,
217
+ header: `给${t.roleName}分配数据权限`,
218
218
  onConfirmCallback: async () => {
219
- await r.Put("system/role/dataScope", {
219
+ await n.Put("system/role/dataScope", {
220
220
  deptIds: [],
221
221
  ...await c.value.validate(),
222
222
  deptCheckStrictly: !1,
223
- roleId: e.roleId
223
+ roleId: t.roleId
224
224
  }), i.success("数据权限分配成功"), y.value.query();
225
225
  },
226
226
  width: 430
227
227
  });
228
228
  },
229
229
  permission: "system:role:edit",
230
- show: e.roleId !== "1"
230
+ show: t.roleId !== "1"
231
231
  }),
232
- ({ row: t }) => ({
232
+ ({ row: e }) => ({
233
233
  default: "分配用户",
234
234
  onClick: async () => {
235
- e({
236
- body: () => d(o, { roleId: t.roleId }),
235
+ t({
236
+ body: () => d(o, { roleId: e.roleId }),
237
237
  footer: !1,
238
- header: `给${t.roleName}分配用户`,
238
+ header: `给${e.roleName}分配用户`,
239
239
  width: 1500
240
240
  });
241
241
  },
242
242
  permission: "system:role:edit",
243
- show: t.roleId !== "1"
243
+ show: e.roleId !== "1"
244
244
  }),
245
245
  ({ row: e }) => ({
246
246
  default: "删除",
@@ -248,7 +248,7 @@ var y = /* @__PURE__ */ u({
248
248
  popconfirm: {
249
249
  content: "确认删除吗",
250
250
  onConfirm: async () => {
251
- await r.Delete(`system/role/${e.roleId}`), i("删除成功"), y.value.query();
251
+ await n.Delete(`system/role/${e.roleId}`), i("删除成功"), y.value.query();
252
252
  }
253
253
  },
254
254
  show: e.roleId !== "1"
@@ -278,9 +278,9 @@ var y = /* @__PURE__ */ u({
278
278
  operations: [{
279
279
  default: "新增",
280
280
  onClick: async () => {
281
- let e = await r.Get("system/menu/treeselect"), a = h(null);
282
- t({
283
- body: () => d(n, {
281
+ let t = await n.Get("system/menu/treeselect"), a = h(null);
282
+ e({
283
+ body: () => d(r, {
284
284
  data: m({
285
285
  menuIds: [],
286
286
  status: "0"
@@ -294,10 +294,10 @@ var y = /* @__PURE__ */ u({
294
294
  b.remark
295
295
  ],
296
296
  ref: a
297
- }, { menu_ids: () => d(c, { menuOptions: e }) }),
297
+ }, { menu_ids: () => d(c, { menuOptions: t }) }),
298
298
  header: "添加角色",
299
299
  onConfirmCallback: async () => {
300
- await r.Post("system/role", {
300
+ await n.Post("system/role", {
301
301
  ...await a.value.validate(),
302
302
  menuCheckStrictly: !1
303
303
  }), i.success("角色添加成功"), y.value.query();
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/AssignUser-DCju22tm.mjs";
1
+ import { t as e } from "../../../../chunks/AssignUser-Dj8rq5gH.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/SelectDept-DmtKBaW0.mjs";
1
+ import { t as e } from "../../../../chunks/SelectDept-CC4ckbbt.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/SelectMenu-tEpLm6Ij.mjs";
1
+ import { t as e } from "../../../../chunks/SelectMenu-pBim6_Lj.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/SelectUser-CTvBarod.mjs";
1
+ import { t as e } from "../../../../chunks/SelectUser-D6dBXxlL.mjs";
2
2
  export { e as default };
@@ -1,10 +1,10 @@
1
- import { M as e, P as t, a as n, x as r } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e, N as t, S as n, o as r } from "../../../chunks/provider-DQIMA4mE.mjs";
2
2
  import { n as i } from "../../../chunks/useAppContext-D47amIp5.mjs";
3
3
  import a from "../../../plugins/autoImport/$msg/index.mjs";
4
4
  import { passwordReg as o, passwordRegMessage as s } from "../../../constants/others.mjs";
5
- import { t as c } from "../../../chunks/table-Cp9NQHjQ.mjs";
5
+ import { t as c } from "../../../chunks/table-BFP90EA0.mjs";
6
6
  import "../../../components/table/index.mjs";
7
- import { t as l } from "../../../chunks/page-list-C3nqGnnX.mjs";
7
+ import { t as l } from "../../../chunks/page-list-BnGVTcad.mjs";
8
8
  import "../../../components/page-list/index.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: T } = C((e) => r.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), E = x("pageListRef"), D = {
25
+ let { send: T } = C((e) => n.Get(`system/user/${e}`, { meta: { useDataResult: !1 } }), { immediate: !1 }), E = x("pageListRef"), D = {
26
26
  deptId: v({
27
27
  _label: "归属部门",
28
28
  _required: !0,
@@ -114,7 +114,7 @@ var w = /* @__PURE__ */ p({
114
114
  method: "system/user/export",
115
115
  permission: "system:user:export"
116
116
  },
117
- list: { method: (e) => r.Get("system/user/list", { params: {
117
+ list: { method: (e) => n.Get("system/user/list", { params: {
118
118
  ...e,
119
119
  dateRange: void 0,
120
120
  "params[beginTime]": e.dateRange[0] ?? "",
@@ -145,12 +145,12 @@ var w = /* @__PURE__ */ p({
145
145
  title: "手机号码"
146
146
  },
147
147
  {
148
- cell: (e, { row: n }) => ({
148
+ cell: (t, { row: r }) => ({
149
149
  beforeChange: async () => {
150
- let e = n.status === "1" ? "启用" : "停用";
151
- return await t(`确认${e}${n.userName}用户吗?`), await r.Put("system/user/changeStatus", {
152
- status: n.status === "1" ? "0" : "1",
153
- userId: n.userId
150
+ let t = r.status === "1" ? "启用" : "停用";
151
+ return await e(`确认${t}${r.userName}用户吗?`), await n.Put("system/user/changeStatus", {
152
+ status: r.status === "1" ? "0" : "1",
153
+ userId: r.userId
154
154
  }, { meta: { useSuccessMsg: !0 } }), E.value.query(), !0;
155
155
  },
156
156
  component: "Switch",
@@ -188,8 +188,8 @@ var w = /* @__PURE__ */ p({
188
188
  let { data: o, postIds: s, posts: c, roleIds: l, roles: u } = await T(i.userId), d = y(null);
189
189
  S(d, () => {
190
190
  d.value.setFormData(o, { splitToArrKeys: VITE_APP_ID === "1" ? ["userDeptIds"] : [] });
191
- }, { once: !0 }), t({
192
- body: () => m(n, {
191
+ }, { once: !0 }), e({
192
+ body: () => m(r, {
193
193
  data: v({
194
194
  postIds: s,
195
195
  roleIds: l
@@ -224,13 +224,13 @@ var w = /* @__PURE__ */ p({
224
224
  }),
225
225
  header: "修改用户",
226
226
  onConfirmCallback: async () => {
227
- let t = await d.value.validate();
228
- await r.Put("system/user", {
229
- ...t,
230
- ...VITE_APP_ID === "1" ? { userDeptIds: t.userDeptIds.join(",") } : {},
227
+ let e = await d.value.validate();
228
+ await n.Put("system/user", {
229
+ ...e,
230
+ ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {},
231
231
  userId: o.userId,
232
232
  userName: o.userName
233
- }), e(o.userId), a.success("用户修改成功"), E.value.query();
233
+ }), t(o.userId), a.success("用户修改成功"), E.value.query();
234
234
  },
235
235
  width: 730
236
236
  });
@@ -238,12 +238,12 @@ var w = /* @__PURE__ */ p({
238
238
  permission: "system:user:edit",
239
239
  show: i.userId !== "1"
240
240
  }),
241
- ({ row: e }) => ({
241
+ ({ row: t }) => ({
242
242
  default: "重置密码",
243
243
  onClick: async () => {
244
244
  let a = y(null);
245
- t({
246
- body: () => m(n, {
245
+ e({
246
+ body: () => m(r, {
247
247
  items: [{
248
248
  _required: !0,
249
249
  _rules: [{
@@ -256,25 +256,25 @@ var w = /* @__PURE__ */ p({
256
256
  }],
257
257
  ref: a
258
258
  }),
259
- header: `请输入${e.userName}用户的新密码`,
259
+ header: `请输入${t.userName}用户的新密码`,
260
260
  onConfirmCallback: async () => {
261
- let t = (await a.value.validate()).newPassword;
262
- await r.Put("system/user/resetPwd", {
263
- password: t,
264
- userId: e.userId
265
- }), i(`密码修改成功,新密码是:${t}`), E.value.query();
261
+ let e = (await a.value.validate()).newPassword;
262
+ await n.Put("system/user/resetPwd", {
263
+ password: e,
264
+ userId: t.userId
265
+ }), i(`密码修改成功,新密码是:${e}`), E.value.query();
266
266
  },
267
267
  width: 430
268
268
  });
269
269
  },
270
270
  permission: "system:user:resetPwd",
271
- show: e.userId !== "1"
271
+ show: t.userId !== "1"
272
272
  }),
273
- ({ row: e }) => ({
273
+ ({ row: t }) => ({
274
274
  default: "分配角色",
275
275
  onClick: async () => {
276
- let { roles: n, user: i } = await r.Get(`system/user/authRole/${e.userId}`), a = y(null);
277
- t({
276
+ let { roles: r, user: i } = await n.Get(`system/user/authRole/${t.userId}`), a = y(null);
277
+ e({
278
278
  body: () => m(c, {
279
279
  columns: [
280
280
  {
@@ -298,19 +298,19 @@ var w = /* @__PURE__ */ p({
298
298
  title: "角色说明"
299
299
  }
300
300
  ],
301
- data: n,
302
- defaultSelectedRowKeys: n.filter((e) => e.flag).map((e) => e.roleId),
301
+ data: r,
302
+ defaultSelectedRowKeys: r.filter((e) => e.flag).map((e) => e.roleId),
303
303
  ref: a,
304
304
  rowKey: "roleId",
305
305
  showRowSelect: "multiple"
306
306
  }),
307
307
  header: `为用户${i.nickName}(${i.userName})分配角色`,
308
308
  onConfirmCallback: async () => {
309
- await r.Put("system/user/authRole", {}, {
309
+ await n.Put("system/user/authRole", {}, {
310
310
  meta: { useSuccessMsg: !0 },
311
311
  params: {
312
312
  roleIds: a.value.selectedRowKeys.join(","),
313
- userId: e.userId
313
+ userId: t.userId
314
314
  }
315
315
  }), E.value.query();
316
316
  },
@@ -318,7 +318,7 @@ var w = /* @__PURE__ */ p({
318
318
  });
319
319
  },
320
320
  permission: "system:user:edit",
321
- show: e.userId !== "1"
321
+ show: t.userId !== "1"
322
322
  }),
323
323
  ({ row: e }) => ({
324
324
  default: "删除",
@@ -326,7 +326,7 @@ var w = /* @__PURE__ */ p({
326
326
  popconfirm: {
327
327
  content: "确认删除吗",
328
328
  onConfirm: async () => {
329
- await r.Delete(`system/user/${e.userId}`), a("删除成功"), E.value.query();
329
+ await n.Delete(`system/user/${e.userId}`), a("删除成功"), E.value.query();
330
330
  }
331
331
  },
332
332
  show: e.userId !== "1"
@@ -358,9 +358,9 @@ var w = /* @__PURE__ */ p({
358
358
  operations: [{
359
359
  default: "新增",
360
360
  onClick: async () => {
361
- let { posts: e, roles: i } = await T(""), o = y(null);
362
- t({
363
- body: () => m(n, {
361
+ let { posts: t, roles: i } = await T(""), o = y(null);
362
+ e({
363
+ body: () => m(r, {
364
364
  data: v({ status: "0" }),
365
365
  items: [
366
366
  D.nickName,
@@ -374,7 +374,7 @@ var w = /* @__PURE__ */ p({
374
374
  D.status,
375
375
  {
376
376
  ...D.postIds,
377
- options: e.map((e) => ({
377
+ options: t.map((e) => ({
378
378
  disabled: e.status === "1",
379
379
  label: e.postName,
380
380
  value: e.postId
@@ -395,7 +395,7 @@ var w = /* @__PURE__ */ p({
395
395
  header: "添加用户",
396
396
  onConfirmCallback: async () => {
397
397
  let e = await o.value.validate();
398
- await r.Post("system/user", {
398
+ await n.Post("system/user", {
399
399
  ...e,
400
400
  ...VITE_APP_ID === "1" ? { userDeptIds: e.userDeptIds.join(",") } : {}
401
401
  }), a.success("用户添加成功"), E.value.query();
@@ -407,13 +407,13 @@ var w = /* @__PURE__ */ p({
407
407
  }, {
408
408
  default: "导入",
409
409
  onClick: async () => {
410
- let e = y(null);
411
- t({
412
- body: () => m(n, {
410
+ let t = y(null);
411
+ e({
412
+ body: () => m(r, {
413
413
  items: [{
414
414
  _required: !0,
415
415
  component: "TUpload",
416
- downloadTemplate: r.Post("system/user/importTemplate", {}, { meta: {
416
+ downloadTemplate: n.Post("system/user/importTemplate", {}, { meta: {
417
417
  useDownload: "用户管理导入模板.xlsx",
418
418
  useResponseBlob: !0
419
419
  } }),
@@ -424,14 +424,14 @@ var w = /* @__PURE__ */ p({
424
424
  label: "是否更新已经存在的用户数据",
425
425
  model: "updateSupport"
426
426
  }],
427
- ref: e
427
+ ref: t
428
428
  }),
429
429
  header: "导入用户",
430
430
  onConfirmCallback: async () => {
431
- let t = await e.value.validate();
432
- await r.Post("system/user/importData", { file: t.file[0].raw }, {
431
+ let e = await t.value.validate();
432
+ await n.Post("system/user/importData", { file: e.file[0].raw }, {
433
433
  meta: { useFormData: !0 },
434
- params: { updateSupport: t.updateSupport }
434
+ params: { updateSupport: e.updateSupport }
435
435
  }), E.value.query();
436
436
  },
437
437
  width: 480
@@ -1,8 +1,8 @@
1
- import { F as e, P as t, a as n, x as r } from "../../../chunks/button-Dk3CiB69.mjs";
1
+ import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-DQIMA4mE.mjs";
2
2
  import i from "../../../plugins/autoImport/$msg/index.mjs";
3
- import { t as a } from "../../../chunks/page-list-C3nqGnnX.mjs";
3
+ import { t as a } from "../../../chunks/page-list-BnGVTcad.mjs";
4
4
  import "../../../components/page-list/index.mjs";
5
- import { t as o } from "../../../chunks/Log-DdemNjDW.mjs";
5
+ import { t as o } from "../../../chunks/Log-DK5aduPG.mjs";
6
6
  import { createBlock as s, defineComponent as c, h as l, mergeProps as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
7
7
  //#endregion
8
8
  //#region ../../packages/dlzn-ui/views/tool/job/index.vue
@@ -126,12 +126,12 @@ var _ = /* @__PURE__ */ c({
126
126
  title: "cron执行表达式"
127
127
  },
128
128
  {
129
- cell: (e, { row: n }) => ({
129
+ cell: (t, { row: r }) => ({
130
130
  beforeChange: async () => {
131
- let e = n.status === "1" ? "启用" : "停用";
132
- return await t(`确认${e}${n.jobName}任务吗?`), await r.Put("monitor/job/changeStatus", {
133
- jobId: n.jobId,
134
- status: n.status === "1" ? "0" : "1"
131
+ let t = r.status === "1" ? "启用" : "停用";
132
+ return await e(`确认${t}${r.jobName}任务吗?`), await n.Put("monitor/job/changeStatus", {
133
+ jobId: r.jobId,
134
+ status: r.status === "1" ? "0" : "1"
135
135
  }, { meta: { useSuccessMsg: !0 } }), _.value.query(), !0;
136
136
  },
137
137
  component: "Switch",
@@ -143,14 +143,14 @@ var _ = /* @__PURE__ */ c({
143
143
  {
144
144
  cell: {
145
145
  buttons: [
146
- ({ row: e }) => ({
146
+ ({ row: t }) => ({
147
147
  default: "编辑",
148
148
  onClick: () => {
149
149
  let a = p(null);
150
150
  g(a, () => {
151
- a.value.setFormData(e);
152
- }, { once: !0 }), t({
153
- body: () => l(n, {
151
+ a.value.setFormData(t);
152
+ }, { once: !0 }), e({
153
+ body: () => l(r, {
154
154
  items: [
155
155
  v.jobName,
156
156
  v.jobGroup,
@@ -164,9 +164,9 @@ var _ = /* @__PURE__ */ c({
164
164
  }),
165
165
  header: "修改任务",
166
166
  onConfirmCallback: async () => {
167
- await r.Put("monitor/job", {
167
+ await n.Put("monitor/job", {
168
168
  ...await a.value.validate(),
169
- jobId: e.jobId
169
+ jobId: t.jobId
170
170
  }), i.success("任务修改成功"), _.value.query();
171
171
  },
172
172
  width: 730
@@ -180,21 +180,21 @@ var _ = /* @__PURE__ */ c({
180
180
  popconfirm: {
181
181
  content: `确认要立即执行一次${e.jobName}任务吗?`,
182
182
  onConfirm: async () => {
183
- await r.Put("monitor/job/run", {
183
+ await n.Put("monitor/job/run", {
184
184
  jobGroup: e.jobGroup,
185
185
  jobId: e.jobId
186
186
  }, { meta: { useSuccessMsg: !0 } });
187
187
  }
188
188
  }
189
189
  }),
190
- ({ row: e }) => ({
190
+ ({ row: t }) => ({
191
191
  default: "任务详细",
192
192
  onClick: () => {
193
- let r = p(null);
194
- g(r, () => {
195
- r.value.setFormData(e);
196
- }, { once: !0 }), t({
197
- body: () => l(n, {
193
+ let n = p(null);
194
+ g(n, () => {
195
+ n.value.setFormData(t);
196
+ }, { once: !0 }), e({
197
+ body: () => l(r, {
198
198
  items: [
199
199
  v.jobId,
200
200
  v.jobName,
@@ -208,7 +208,7 @@ var _ = /* @__PURE__ */ c({
208
208
  v.concurrent
209
209
  ],
210
210
  readonly: !0,
211
- ref: r
211
+ ref: n
212
212
  }),
213
213
  footer: !1,
214
214
  header: "任务详细",
@@ -217,11 +217,11 @@ var _ = /* @__PURE__ */ c({
217
217
  },
218
218
  permission: "monitor:job:query"
219
219
  }),
220
- ({ row: t }) => ({
220
+ ({ row: e }) => ({
221
221
  default: "调度日志",
222
222
  onClick: () => {
223
- e({
224
- body: () => l(o, { id: t.jobId }),
223
+ t({
224
+ body: () => l(o, { id: e.jobId }),
225
225
  footer: !1,
226
226
  header: "查看调度日志",
227
227
  width: 1500
@@ -247,9 +247,9 @@ var _ = /* @__PURE__ */ c({
247
247
  operations: [{
248
248
  default: "新增",
249
249
  onClick: () => {
250
- let e = p(null);
251
- t({
252
- body: () => l(n, {
250
+ let t = p(null);
251
+ e({
252
+ body: () => l(r, {
253
253
  data: f({
254
254
  concurrent: "1",
255
255
  misfirePolicy: "1",
@@ -263,11 +263,11 @@ var _ = /* @__PURE__ */ c({
263
263
  v.misfirePolicy,
264
264
  v.concurrent
265
265
  ],
266
- ref: e
266
+ ref: t
267
267
  }),
268
268
  header: "新增任务",
269
269
  onConfirmCallback: async () => {
270
- await r.Post("monitor/job", await e.value.validate()), i.success("任务新增成功"), _.value.query();
270
+ await n.Post("monitor/job", await t.value.validate()), i.success("任务新增成功"), _.value.query();
271
271
  },
272
272
  width: 730
273
273
  });
@@ -276,7 +276,7 @@ var _ = /* @__PURE__ */ c({
276
276
  }, {
277
277
  default: "日志",
278
278
  onClick: () => {
279
- e({
279
+ t({
280
280
  body: () => l(o),
281
281
  footer: !1,
282
282
  header: "查看调度日志",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../../chunks/Log-DdemNjDW.mjs";
1
+ import { t as e } from "../../../../chunks/Log-DK5aduPG.mjs";
2
2
  export { e as default };
@@ -1 +0,0 @@
1
- .logo[data-v-bf909017]{max-width:200px;max-height:100px;position:absolute;top:25px;left:25px}.bg_inner[data-v-bf909017]{width:calc(12% + 860px);max-width:96%;height:450px}.login_form_wrapper[data-v-bf909017]{width:430px;max-width:100%}@media screen and (width<=1100px){.left_banner[data-v-bf909017]{display:none}.bg_inner[data-v-bf909017]{justify-content:center}}