dlzn-ui 2.0.5 → 2.0.7

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 (166) hide show
  1. package/assets/IndexItem-CfYDJ95Q.css +1 -0
  2. package/assets/LoginBg-XqWOv7dJ.css +1 -0
  3. package/assets/main-CxSb5Gqw.css +2 -0
  4. package/assets/{button-Be7wyDo4.css → provider-1BcdscQq.css} +1 -1
  5. package/chunks/AssignUser-BPrzGjCg.mjs +124 -0
  6. package/chunks/{Common-B5NscAh_.mjs → Common-Ds4A0g73.mjs} +7 -7
  7. package/chunks/{Day-Ci8nR_Ll.mjs → Day-CWWVjsXu.mjs} +13 -13
  8. package/chunks/{DictTypeDetail-B_aSmp0m.mjs → DictTypeDetail-ijxK2MDm.mjs} +7 -7
  9. package/chunks/{Hour-C1yYXl7B.mjs → Hour-D-2s4xgR.mjs} +1 -1
  10. package/chunks/{Index-BxpYRhO7.mjs → Index-7ubKF9v4.mjs} +1 -1
  11. package/chunks/{Index-DU8S7od8.mjs → Index-CZnP6jHo.mjs} +1 -1
  12. package/chunks/{Index-UHMQ6ORy.mjs → Index-D0dEcWw2.mjs} +1 -1
  13. package/chunks/{Index-CHfwy4gI.mjs → Index-DhkEiAro.mjs} +5 -5
  14. package/chunks/{Index-Bb9OwRGB.mjs → Index-DoPLbOv7.mjs} +1 -1
  15. package/chunks/{Index-Z81MxcDh.mjs → Index-az-w01U3.mjs} +1 -1
  16. package/chunks/{IndexItem-BWoJrz24.mjs → IndexItem-KlRJte7i.mjs} +8 -8
  17. package/chunks/Log-LYCmf0zI.mjs +213 -0
  18. package/chunks/{LoginBg-B1auGWuJ.mjs → LoginBg-BtuSDFUq.mjs} +11 -19
  19. package/chunks/{MenuNode-Dp1kCBvH.mjs → MenuNode-6Nca-v9i.mjs} +2 -2
  20. package/chunks/{Minute-CA5DlXsq.mjs → Minute-8BpPY8V6.mjs} +1 -1
  21. package/chunks/{Month-D-4ld14M.mjs → Month-C5iIZpY7.mjs} +1 -1
  22. package/chunks/{Second-RPGoCkey.mjs → Second-BKF09AKl.mjs} +1 -1
  23. package/chunks/SelectDept-C78pnJtp.mjs +68 -0
  24. package/chunks/SelectMenu-B2-QkHU2.mjs +68 -0
  25. package/chunks/SelectUser-BuE4Lgm0.mjs +57 -0
  26. package/chunks/{UserInfo-CrBlooGu.mjs → UserInfo-uDVj4WPH.mjs} +11 -11
  27. package/chunks/{Wrapper-LEchQmDn.mjs → Wrapper-C6BtJDSa.mjs} +5 -5
  28. package/chunks/{app-DiNoDaOD.mjs → app-BXskd1Ae.mjs} +4 -4
  29. package/chunks/{custom-page-list-DF3Qw4y7.mjs → custom-page-list-r5EUcg98.mjs} +4 -4
  30. package/chunks/{custom-page-table-CH09hGDM.mjs → custom-page-table-D1FmkEop.mjs} +2 -2
  31. package/chunks/{overview-BQQnpz4N.mjs → overview-BCXuALeB.mjs} +1 -1
  32. package/chunks/{page-list-BjjvOqb5.mjs → page-list-Zp_EiMZd.mjs} +36 -36
  33. package/chunks/{page-query-BCNFOYTD.mjs → page-query-CxZBtQht.mjs} +5 -5
  34. package/chunks/{page-table-VeEt8uuI.mjs → page-table-BpyyKTMq.mjs} +9 -9
  35. package/chunks/{pagination-BuhM6NW1.mjs → pagination-y5tkmGDM.mjs} +1 -1
  36. package/chunks/{button-BcpR95gj.mjs → provider-C6TTHGoz.mjs} +429 -433
  37. package/chunks/{table-B3z8z5O8.mjs → table-2Eqd8Kcx.mjs} +10 -10
  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/date-picker/index.mjs +1 -1
  58. package/components/date-picker/src/date-picker.mjs +1 -1
  59. package/components/form/index.mjs +1 -1
  60. package/components/form/src/form.mjs +1 -1
  61. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  62. package/components/index.mjs +11 -11
  63. package/components/overview/index.mjs +1 -1
  64. package/components/overview/src/DicLabel/Index.mjs +1 -1
  65. package/components/overview/src/IndexItem.mjs +1 -1
  66. package/components/overview/src/overview.mjs +1 -1
  67. package/components/page-list/index.mjs +1 -1
  68. package/components/page-list/src/page-list.d.ts +3 -3
  69. package/components/page-list/src/page-list.mjs +1 -1
  70. package/components/page-query/index.mjs +1 -1
  71. package/components/page-query/src/page-query.mjs +1 -1
  72. package/components/page-table/index.mjs +1 -1
  73. package/components/page-table/src/page-table.mjs +1 -1
  74. package/components/page-table/src/page-table.vue.d.ts +1 -1
  75. package/components/pagination/index.mjs +1 -1
  76. package/components/pagination/src/pagination.mjs +1 -1
  77. package/components/provider/index.mjs +1 -1
  78. package/components/provider/src/Provider.mjs +1 -1
  79. package/components/radio-group/index.mjs +1 -1
  80. package/components/radio-group/src/radio-group.mjs +1 -1
  81. package/components/select/index.mjs +2 -2
  82. package/components/select/src/select.mjs +1 -1
  83. package/components/select-sys-user/index.mjs +1 -1
  84. package/components/select-sys-user/src/Picker.mjs +2 -2
  85. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  86. package/components/table/index.mjs +1 -1
  87. package/components/table/src/table.mjs +1 -1
  88. package/components/table/src/table.vue.d.ts +1 -1
  89. package/components/tree/index.mjs +2 -2
  90. package/components/tree/src/tree.mjs +1 -1
  91. package/components/tree-select/index.mjs +1 -1
  92. package/components/tree-select/src/tree-select.mjs +1 -1
  93. package/components/upload/index.mjs +2 -2
  94. package/components/upload/src/upload.mjs +1 -1
  95. package/hooks/useDicOptions/index.mjs +2 -2
  96. package/hooks/useSysUser/index.mjs +2 -2
  97. package/index.d.ts +3 -0
  98. package/layout/Entry.mjs +2 -0
  99. package/layout/Login.mjs +5 -5
  100. package/layout/NotFound.mjs +1 -1
  101. package/layout/{index2.mjs → index.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/modules/MenuNode.mjs +1 -1
  107. package/layout/profile/Index.mjs +4 -4
  108. package/layout/profile/ResetPwd.mjs +1 -1
  109. package/layout/profile/UserInfo.mjs +1 -1
  110. package/main.d.ts +2 -0
  111. package/main.mjs +14 -0
  112. package/package.json +13 -1
  113. package/plugins/autoImport/$alova/index.mjs +2 -2
  114. package/plugins/autoImport/$confirm/index.mjs +1 -1
  115. package/plugins/autoImport/$dialog/index.mjs +1 -1
  116. package/plugins/autoImport/$drawer/index.mjs +1 -1
  117. package/plugins/captcha/captcha.mjs +12 -12
  118. package/plugins/captcha/index.mjs +1 -1
  119. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  120. package/plugins/tableRenders/Wrapper.mjs +1 -1
  121. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  122. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  123. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  124. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  125. package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
  126. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  127. package/plugins/tableRenders/cell/index.mjs +6 -6
  128. package/plugins/tableRenders/title/index.mjs +1 -1
  129. package/router/index.mjs +1 -1
  130. package/store/modules/common.mjs +1 -1
  131. package/store/modules/login.mjs +1 -1
  132. package/store/modules/recentRouters.mjs +1 -1
  133. package/store/modules/router.mjs +1 -1
  134. package/store/modules/user.mjs +2 -2
  135. package/views/index.mjs +9 -1
  136. package/views/system/dept/index.mjs +256 -0
  137. package/views/system/dept/index.vue.d.ts +3 -0
  138. package/views/system/dept/utils.d.ts +2 -0
  139. package/views/system/dept/utils.mjs +15 -0
  140. package/views/system/dict/index.mjs +18 -18
  141. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  142. package/views/system/menu/index.mjs +407 -0
  143. package/views/system/menu/index.vue.d.ts +3 -0
  144. package/views/system/post/index.mjs +182 -0
  145. package/views/system/post/index.vue.d.ts +3 -0
  146. package/views/system/role/index.mjs +319 -0
  147. package/views/system/role/index.vue.d.ts +3 -0
  148. package/views/system/role/modules/AssignUser.mjs +2 -0
  149. package/views/system/role/modules/AssignUser.vue.d.ts +6 -0
  150. package/views/system/role/modules/SelectDept.mjs +2 -0
  151. package/views/system/role/modules/SelectDept.vue.d.ts +6 -0
  152. package/views/system/role/modules/SelectMenu.mjs +2 -0
  153. package/views/system/role/modules/SelectMenu.vue.d.ts +6 -0
  154. package/views/system/role/modules/SelectUser.mjs +2 -0
  155. package/views/system/role/modules/SelectUser.vue.d.ts +11 -0
  156. package/views/system/user/index.mjs +451 -0
  157. package/views/system/user/index.vue.d.ts +9 -0
  158. package/views/tool/job/index.mjs +297 -0
  159. package/views/tool/job/index.vue.d.ts +3 -0
  160. package/views/tool/job/modules/Log.mjs +2 -0
  161. package/views/tool/job/modules/Log.vue.d.ts +6 -0
  162. package/assets/IndexItem-5VrD3wb-.css +0 -1
  163. package/assets/LoginBg-9HH4oQBJ.css +0 -1
  164. package/layout/Index.mjs +0 -2
  165. package/chunks/{date-picker-DtbDIFUH.mjs → date-picker-D15OhWnK.mjs} +1 -1
  166. /package/layout/{Index.vue.d.ts → Entry.vue.d.ts} +0 -0
@@ -0,0 +1,297 @@
1
+ import { F as e, I as t, S as n, o as r } from "../../../chunks/provider-C6TTHGoz.mjs";
2
+ import i from "../../../plugins/autoImport/$msg/index.mjs";
3
+ import { t as a } from "../../../chunks/page-list-Zp_EiMZd.mjs";
4
+ import "../../../components/page-list/index.mjs";
5
+ import { t as o } from "../../../chunks/Log-LYCmf0zI.mjs";
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
+ //#endregion
8
+ //#region ../../packages/dlzn-ui/views/tool/job/index.vue
9
+ var _ = /* @__PURE__ */ c({
10
+ __name: "index",
11
+ setup(c) {
12
+ let _ = h("pageListRef"), v = {
13
+ concurrent: {
14
+ _label: "是否并发",
15
+ component: "TRadioGroup",
16
+ model: "concurrent",
17
+ options: [{
18
+ label: "允许",
19
+ value: "0"
20
+ }, {
21
+ label: "禁止",
22
+ value: "1"
23
+ }]
24
+ },
25
+ createTime: {
26
+ _label: "创建时间",
27
+ component: "TInput",
28
+ model: "createTime"
29
+ },
30
+ cronExpression: {
31
+ _label: "cron表达式",
32
+ _required: !0,
33
+ component: "TCron",
34
+ model: "cronExpression"
35
+ },
36
+ invokeTarget: {
37
+ _class: "col-span-full",
38
+ _label: "调用方法",
39
+ _required: !0,
40
+ component: "TTextarea",
41
+ model: "invokeTarget",
42
+ placeholder: "Bean调用示例:ryTask.ryParams('ry')\nClass类调用示例:com.ruoyi.quartz.task.RyTask.ryParams('ry')\n参数说明:支持字符串,布尔类型,长整型,浮点型,整型"
43
+ },
44
+ jobGroup: {
45
+ _label: "任务组名",
46
+ component: "TSelect",
47
+ dicCode: "sys_job_group",
48
+ model: "jobGroup"
49
+ },
50
+ jobId: {
51
+ _label: "任务编号",
52
+ component: "TInput",
53
+ model: "jobId"
54
+ },
55
+ jobName: {
56
+ _label: "任务名称",
57
+ _required: !0,
58
+ component: "TInput",
59
+ model: "jobName"
60
+ },
61
+ misfirePolicy: {
62
+ _label: "执行策略",
63
+ component: "TRadioGroup",
64
+ model: "misfirePolicy",
65
+ options: [
66
+ {
67
+ label: "立即执行",
68
+ value: "1"
69
+ },
70
+ {
71
+ label: "执行一次",
72
+ value: "2"
73
+ },
74
+ {
75
+ label: "放弃执行",
76
+ value: "3"
77
+ }
78
+ ]
79
+ },
80
+ nextValidTime: {
81
+ _label: "下次执行时间",
82
+ component: "TInput",
83
+ model: "nextValidTime"
84
+ },
85
+ status: {
86
+ _label: "状态",
87
+ component: "TRadioGroup",
88
+ dicCode: "sys_job_status",
89
+ model: "status"
90
+ }
91
+ }, y = {
92
+ apis: {
93
+ delete: {
94
+ method: "monitor/job",
95
+ permission: "monitor:job:remove"
96
+ },
97
+ export: {
98
+ method: "monitor/job/export",
99
+ permission: "monitor:job:export"
100
+ },
101
+ list: { method: "monitor/job/list" }
102
+ },
103
+ columns: [
104
+ {
105
+ colKey: "jobId",
106
+ title: "任务编号"
107
+ },
108
+ {
109
+ colKey: "jobName",
110
+ title: "任务名称"
111
+ },
112
+ {
113
+ cell: {
114
+ component: "DicLabel",
115
+ dicCode: "sys_job_group"
116
+ },
117
+ colKey: "jobGroup",
118
+ title: "任务组名"
119
+ },
120
+ {
121
+ colKey: "invokeTarget",
122
+ title: "调用目标字符串"
123
+ },
124
+ {
125
+ colKey: "cronExpression",
126
+ title: "cron执行表达式"
127
+ },
128
+ {
129
+ cell: (t, { row: r }) => ({
130
+ beforeChange: async () => {
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
+ }, { meta: { useSuccessMsg: !0 } }), _.value.query(), !0;
136
+ },
137
+ component: "Switch",
138
+ customValue: ["0", "1"]
139
+ }),
140
+ colKey: "status",
141
+ title: "状态"
142
+ },
143
+ {
144
+ cell: {
145
+ buttons: [
146
+ ({ row: t }) => ({
147
+ default: "编辑",
148
+ onClick: () => {
149
+ let a = p(null);
150
+ g(a, () => {
151
+ a.value.setFormData(t);
152
+ }, { once: !0 }), e({
153
+ body: () => l(r, {
154
+ items: [
155
+ v.jobName,
156
+ v.jobGroup,
157
+ v.invokeTarget,
158
+ v.cronExpression,
159
+ v.status,
160
+ v.misfirePolicy,
161
+ v.concurrent
162
+ ],
163
+ ref: a
164
+ }),
165
+ header: "修改任务",
166
+ onConfirmCallback: async () => {
167
+ await n.Put("monitor/job", {
168
+ ...await a.value.validate(),
169
+ jobId: t.jobId
170
+ }), i.success("任务修改成功"), _.value.query();
171
+ },
172
+ width: 730
173
+ });
174
+ },
175
+ permission: "monitor:job:edit"
176
+ }),
177
+ ({ row: e }) => ({
178
+ default: "执行一次",
179
+ permission: "monitor:job:changeStatus",
180
+ popconfirm: {
181
+ content: `确认要立即执行一次${e.jobName}任务吗?`,
182
+ onConfirm: async () => {
183
+ await n.Put("monitor/job/run", {
184
+ jobGroup: e.jobGroup,
185
+ jobId: e.jobId
186
+ }, { meta: { useSuccessMsg: !0 } });
187
+ }
188
+ }
189
+ }),
190
+ ({ row: t }) => ({
191
+ default: "任务详细",
192
+ onClick: () => {
193
+ let n = p(null);
194
+ g(n, () => {
195
+ n.value.setFormData(t);
196
+ }, { once: !0 }), e({
197
+ body: () => l(r, {
198
+ items: [
199
+ v.jobId,
200
+ v.jobName,
201
+ v.jobGroup,
202
+ v.createTime,
203
+ v.cronExpression,
204
+ v.nextValidTime,
205
+ v.invokeTarget,
206
+ v.status,
207
+ v.misfirePolicy,
208
+ v.concurrent
209
+ ],
210
+ readonly: !0,
211
+ ref: n
212
+ }),
213
+ footer: !1,
214
+ header: "任务详细",
215
+ width: 730
216
+ });
217
+ },
218
+ permission: "monitor:job:query"
219
+ }),
220
+ ({ row: e }) => ({
221
+ default: "调度日志",
222
+ onClick: () => {
223
+ t({
224
+ body: () => l(o, { id: e.jobId }),
225
+ footer: !1,
226
+ header: "查看调度日志",
227
+ width: 1500
228
+ });
229
+ },
230
+ permission: "monitor:job:query"
231
+ })
232
+ ],
233
+ component: "Buttons"
234
+ },
235
+ colKey: "_operation",
236
+ title: "操作"
237
+ }
238
+ ],
239
+ formItems: [
240
+ v.jobName,
241
+ v.jobGroup,
242
+ {
243
+ ...v.status,
244
+ component: "TSelect"
245
+ }
246
+ ],
247
+ operations: [{
248
+ default: "新增",
249
+ onClick: () => {
250
+ let t = p(null);
251
+ e({
252
+ body: () => l(r, {
253
+ data: f({
254
+ concurrent: "1",
255
+ misfirePolicy: "1",
256
+ status: "0"
257
+ }),
258
+ items: [
259
+ v.jobName,
260
+ v.jobGroup,
261
+ v.invokeTarget,
262
+ v.cronExpression,
263
+ v.misfirePolicy,
264
+ v.concurrent
265
+ ],
266
+ ref: t
267
+ }),
268
+ header: "新增任务",
269
+ onConfirmCallback: async () => {
270
+ await n.Post("monitor/job", await t.value.validate()), i.success("任务新增成功"), _.value.query();
271
+ },
272
+ width: 730
273
+ });
274
+ },
275
+ permission: "monitor:job:add"
276
+ }, {
277
+ default: "日志",
278
+ onClick: () => {
279
+ t({
280
+ body: () => l(o),
281
+ footer: !1,
282
+ header: "查看调度日志",
283
+ width: 1500
284
+ });
285
+ },
286
+ permission: "monitor:job:query"
287
+ }],
288
+ tableOtherProps: { rowKey: "jobId" }
289
+ };
290
+ return (e, t) => (d(), s(m(a), u({
291
+ ref_key: "pageListRef",
292
+ ref: _
293
+ }, y), null, 16));
294
+ }
295
+ });
296
+ //#endregion
297
+ export { _ as default };
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../../../chunks/Log-LYCmf0zI.mjs";
2
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ type __VLS_Props = {
2
+ id?: string;
3
+ };
4
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
@@ -1 +0,0 @@
1
- .t-typography[data-v-034d6ce8]>p{white-space:nowrap!important}
@@ -1 +0,0 @@
1
- .logo[data-v-46e9141a]{max-width:200px;max-height:100px;position:absolute;top:25px;left:25px}.bg_inner[data-v-46e9141a]{width:calc(12% + 860px);max-width:96%;height:450px}.login_form_wrapper[data-v-46e9141a]{width:430px;max-width:100%}@media screen and (width<=1100px){.left_banner[data-v-46e9141a]{display:none}.bg_inner[data-v-46e9141a]{justify-content:center}}
package/layout/Index.mjs DELETED
@@ -1,2 +0,0 @@
1
- import { O as e } from "../chunks/button-BcpR95gj.mjs";
2
- export { e as default };
@@ -1,6 +1,6 @@
1
+ import '../assets/css-BPkXehJY.css';import '../assets/date-picker-CKUanIvh.css';/* empty css */
1
2
  import { t as e } from "./icon-COjp1yrx.mjs";
2
3
  import "../components/icon/index.mjs";
3
- import '../assets/css-BPkXehJY.css';import '../assets/date-picker-CKUanIvh.css';/* empty css */
4
4
  import { isFalsy as t } from "../utils/boolean.mjs";
5
5
  import "../utils/index.mjs";
6
6
  import n from "../plugins/autoImport/dayjs/index.mjs";
File without changes