dlzn-ui 2.0.5 → 2.0.6

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 (151) hide show
  1. package/assets/IndexItem-CfYDJ95Q.css +1 -0
  2. package/assets/LoginBg-BTrRjkK7.css +1 -0
  3. package/assets/{button-Be7wyDo4.css → button-Bwn73ZEc.css} +1 -1
  4. package/chunks/AssignUser-DCju22tm.mjs +124 -0
  5. package/chunks/{Common-B5NscAh_.mjs → Common-DQbblaTl.mjs} +1 -1
  6. package/chunks/{Day-Ci8nR_Ll.mjs → Day-9BKmHuZl.mjs} +1 -1
  7. package/chunks/{DictTypeDetail-B_aSmp0m.mjs → DictTypeDetail-e14bGyiZ.mjs} +2 -2
  8. package/chunks/{Hour-C1yYXl7B.mjs → Hour-CrFFADzT.mjs} +1 -1
  9. package/chunks/{Index-BxpYRhO7.mjs → Index-7ubKF9v4.mjs} +1 -1
  10. package/chunks/{Index-Z81MxcDh.mjs → Index-CZ0ICyCx.mjs} +1 -1
  11. package/chunks/{Index-DU8S7od8.mjs → Index-CZnP6jHo.mjs} +1 -1
  12. package/chunks/{Index-UHMQ6ORy.mjs → Index-ChH8kYUs.mjs} +1 -1
  13. package/chunks/{Index-CHfwy4gI.mjs → Index-DloA1g7z.mjs} +1 -1
  14. package/chunks/{Index-Bb9OwRGB.mjs → Index-QUCWrT4d.mjs} +1 -1
  15. package/chunks/{IndexItem-BWoJrz24.mjs → IndexItem-OIGXdAkP.mjs} +4 -4
  16. package/chunks/Log-DdemNjDW.mjs +213 -0
  17. package/chunks/{LoginBg-B1auGWuJ.mjs → LoginBg-BD6ChYvu.mjs} +3 -3
  18. package/chunks/{MenuNode-Dp1kCBvH.mjs → MenuNode-DXgE629W.mjs} +1 -1
  19. package/chunks/{Minute-CA5DlXsq.mjs → Minute-xZNOCy8Q.mjs} +1 -1
  20. package/chunks/{Month-D-4ld14M.mjs → Month-CvWOcD_9.mjs} +1 -1
  21. package/chunks/{Second-RPGoCkey.mjs → Second-BvMnEOms.mjs} +1 -1
  22. package/chunks/SelectDept-DmtKBaW0.mjs +68 -0
  23. package/chunks/SelectMenu-tEpLm6Ij.mjs +68 -0
  24. package/chunks/SelectUser-CTvBarod.mjs +57 -0
  25. package/chunks/{UserInfo-CrBlooGu.mjs → UserInfo-qrNR9tve.mjs} +1 -1
  26. package/chunks/{app-DiNoDaOD.mjs → app-CggLqjRQ.mjs} +1 -1
  27. package/chunks/{button-BcpR95gj.mjs → button-Dk3CiB69.mjs} +5 -5
  28. package/chunks/{custom-page-list-DF3Qw4y7.mjs → custom-page-list-CJWB72dw.mjs} +4 -4
  29. package/chunks/{custom-page-table-CH09hGDM.mjs → custom-page-table-5f8lI6CQ.mjs} +2 -2
  30. package/chunks/{overview-BQQnpz4N.mjs → overview-BEtKbidZ.mjs} +1 -1
  31. package/chunks/{page-list-BjjvOqb5.mjs → page-list-C3nqGnnX.mjs} +3 -3
  32. package/chunks/{page-query-BCNFOYTD.mjs → page-query-C6oSW1je.mjs} +1 -1
  33. package/chunks/{page-table-VeEt8uuI.mjs → page-table-3DTiPP9H.mjs} +3 -3
  34. package/chunks/{pagination-BuhM6NW1.mjs → pagination-C6-VAj4W.mjs} +1 -1
  35. package/chunks/{table-B3z8z5O8.mjs → table-Cp9NQHjQ.mjs} +1 -1
  36. package/components/app/index.mjs +1 -1
  37. package/components/app/src/app.mjs +1 -1
  38. package/components/button/index.mjs +1 -1
  39. package/components/button/src/button.mjs +1 -1
  40. package/components/checkbox-group/index.mjs +1 -1
  41. package/components/checkbox-group/src/checkbox-group.mjs +1 -1
  42. package/components/cron/index.mjs +1 -1
  43. package/components/cron/src/Common.mjs +1 -1
  44. package/components/cron/src/Day.mjs +1 -1
  45. package/components/cron/src/Hour.mjs +1 -1
  46. package/components/cron/src/Minute.mjs +1 -1
  47. package/components/cron/src/Month.mjs +1 -1
  48. package/components/cron/src/Picker.mjs +6 -6
  49. package/components/cron/src/Second.mjs +1 -1
  50. package/components/cron/src/cron.mjs +1 -1
  51. package/components/custom-page-list/index.mjs +1 -1
  52. package/components/custom-page-list/src/custom-page-list.mjs +1 -1
  53. package/components/custom-page-table/index.mjs +1 -1
  54. package/components/custom-page-table/src/custom-page-table.mjs +1 -1
  55. package/components/form/index.mjs +1 -1
  56. package/components/form/src/form.mjs +1 -1
  57. package/components/index.mjs +9 -9
  58. package/components/overview/index.mjs +1 -1
  59. package/components/overview/src/DicLabel/Index.mjs +1 -1
  60. package/components/overview/src/IndexItem.mjs +1 -1
  61. package/components/overview/src/overview.mjs +1 -1
  62. package/components/page-list/index.mjs +1 -1
  63. package/components/page-list/src/page-list.mjs +1 -1
  64. package/components/page-query/index.mjs +1 -1
  65. package/components/page-query/src/page-query.mjs +1 -1
  66. package/components/page-table/index.mjs +1 -1
  67. package/components/page-table/src/page-table.mjs +1 -1
  68. package/components/pagination/index.mjs +1 -1
  69. package/components/pagination/src/pagination.mjs +1 -1
  70. package/components/provider/index.mjs +1 -1
  71. package/components/provider/src/Provider.mjs +1 -1
  72. package/components/radio-group/index.mjs +1 -1
  73. package/components/radio-group/src/radio-group.mjs +1 -1
  74. package/components/select/index.mjs +1 -1
  75. package/components/select/src/select.mjs +1 -1
  76. package/components/select-sys-user/index.mjs +1 -1
  77. package/components/select-sys-user/src/Picker.mjs +2 -2
  78. package/components/select-sys-user/src/select-sys-user.mjs +1 -1
  79. package/components/table/index.mjs +1 -1
  80. package/components/table/src/table.mjs +1 -1
  81. package/components/tree/index.mjs +1 -1
  82. package/components/tree/src/tree.mjs +1 -1
  83. package/components/tree-select/index.mjs +1 -1
  84. package/components/tree-select/src/tree-select.mjs +1 -1
  85. package/components/upload/index.mjs +1 -1
  86. package/components/upload/src/upload.mjs +1 -1
  87. package/hooks/useDicOptions/index.mjs +1 -1
  88. package/hooks/useSysUser/index.mjs +1 -1
  89. package/layout/Entry.mjs +2 -0
  90. package/layout/Login.mjs +2 -2
  91. package/layout/NotFound.mjs +1 -1
  92. package/layout/{index2.mjs → index.mjs} +1 -1
  93. package/layout/modules/Aside.mjs +1 -1
  94. package/layout/modules/Breadcrumb.mjs +1 -1
  95. package/layout/modules/Header.mjs +1 -1
  96. package/layout/modules/LoginBg.mjs +1 -1
  97. package/layout/modules/MenuNode.mjs +1 -1
  98. package/layout/profile/Index.mjs +2 -2
  99. package/layout/profile/ResetPwd.mjs +1 -1
  100. package/layout/profile/UserInfo.mjs +1 -1
  101. package/package.json +9 -1
  102. package/plugins/autoImport/$alova/index.mjs +1 -1
  103. package/plugins/autoImport/$confirm/index.mjs +1 -1
  104. package/plugins/autoImport/$dialog/index.mjs +1 -1
  105. package/plugins/autoImport/$drawer/index.mjs +1 -1
  106. package/plugins/captcha/captcha.mjs +1 -1
  107. package/plugins/captcha/index.mjs +1 -1
  108. package/plugins/initialize/webUpdateNotify.mjs +1 -1
  109. package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
  110. package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
  111. package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
  112. package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
  113. package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
  114. package/plugins/tableRenders/cell/index.mjs +5 -5
  115. package/router/index.mjs +1 -1
  116. package/store/modules/common.mjs +1 -1
  117. package/store/modules/login.mjs +1 -1
  118. package/store/modules/recentRouters.mjs +1 -1
  119. package/store/modules/router.mjs +1 -1
  120. package/store/modules/user.mjs +1 -1
  121. package/views/index.mjs +9 -1
  122. package/views/system/dept/index.mjs +256 -0
  123. package/views/system/dept/index.vue.d.ts +3 -0
  124. package/views/system/dept/utils.d.ts +2 -0
  125. package/views/system/dept/utils.mjs +15 -0
  126. package/views/system/dict/index.mjs +3 -3
  127. package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
  128. package/views/system/menu/index.mjs +407 -0
  129. package/views/system/menu/index.vue.d.ts +3 -0
  130. package/views/system/post/index.mjs +182 -0
  131. package/views/system/post/index.vue.d.ts +3 -0
  132. package/views/system/role/index.mjs +319 -0
  133. package/views/system/role/index.vue.d.ts +3 -0
  134. package/views/system/role/modules/AssignUser.mjs +2 -0
  135. package/views/system/role/modules/AssignUser.vue.d.ts +6 -0
  136. package/views/system/role/modules/SelectDept.mjs +2 -0
  137. package/views/system/role/modules/SelectDept.vue.d.ts +6 -0
  138. package/views/system/role/modules/SelectMenu.mjs +2 -0
  139. package/views/system/role/modules/SelectMenu.vue.d.ts +6 -0
  140. package/views/system/role/modules/SelectUser.mjs +2 -0
  141. package/views/system/role/modules/SelectUser.vue.d.ts +11 -0
  142. package/views/system/user/index.mjs +451 -0
  143. package/views/system/user/index.vue.d.ts +9 -0
  144. package/views/tool/job/index.mjs +297 -0
  145. package/views/tool/job/index.vue.d.ts +3 -0
  146. package/views/tool/job/modules/Log.mjs +2 -0
  147. package/views/tool/job/modules/Log.vue.d.ts +6 -0
  148. package/assets/IndexItem-5VrD3wb-.css +0 -1
  149. package/assets/LoginBg-9HH4oQBJ.css +0 -1
  150. package/layout/Index.mjs +0 -2
  151. /package/layout/{Index.vue.d.ts → Entry.vue.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ .t-typography[data-v-0ecdde6f]>p{white-space:nowrap!important}
@@ -0,0 +1 @@
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}}
@@ -1,2 +1,2 @@
1
1
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- [data-v-8784a0a1] .t-menu__logo{height:var(--td-comp-size-xxl)!important;border-bottom:none!important}[data-v-8784a0a1] .t-menu{padding:0!important}.t-default-menu[data-v-8784a0a1] .t-menu__item{height:var(--td-comp-size-xl);line-height:var(--td-comp-size-xl)}.t-default-menu[data-v-8784a0a1] .t-menu__item.t-is-active{color:var(--td-brand-color)}.t-head-menu[data-v-cdf58b1a]{--td-comp-paddingLR-m:var(--td-size-3);--td-comp-size-xxxl:var(--td-comp-size-xxl)}[data-v-cdf58b1a]{--td-comp-size-xxxl:calc(var(--td-comp-size-xxl) + 1px)}[data-v-cdf58b1a] .t-menu__logo{margin:0 8px!important}[data-v-cdf58b1a] .t-head-menu__inner li+li{margin-left:4px}.el-scrollbar[data-v-0f5b5eef]>.el-scrollbar__wrap>.el-scrollbar__view:has(>.h-full){height:100%}.el-scrollbar[data-v-0f5b5eef]>.el-scrollbar__wrap>.el-scrollbar__view:has(>.no_main_padding){padding:0!important}.t-popup__content:has(.t-select__dropdown-inner>.t-select__empty){justify-content:center;align-items:center;display:flex}.t-upload.file[data-v-730cff70] .t-upload__trigger{pointer-events:none}.t-upload.file[data-v-730cff70] .t-upload__trigger .t-button{pointer-events:auto}[data-v-b3c2c148] .t-form__label{padding-right:var(--td-size-1)}[data-v-b3c2c148] .t-form__label--top{min-height:auto;line-height:inherit}[data-v-b3c2c148] .t-form__item{margin-bottom:var(--td-comp-margin-xxl)!important}[data-v-b3c2c148] .t-form__item.no_label_item .t-form__label{display:none}[data-v-b3c2c148] .t-form__item .t-input-adornment{flex:auto}.t-form[data-v-b3c2c148]{--td-comp-margin-xxl:var(--td-comp-margin-xl)}.t-form[data-v-b3c2c148]:has(.t-form__item:not(.no_label_item)) .no_label_item .t-form__label{opacity:0;height:1px;padding-right:0;display:block}.t-form.no_item_mb .t-form__item[data-v-b3c2c148]{margin-bottom:0!important}.t-form-inline[data-v-b3c2c148]{--repeat-min-width:220px;--repeat-gap:24px;grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}.t-form-inline[data-v-b3c2c148] .no_label_item{align-self:flex-end}.t-form-inline[data-v-b3c2c148] .t-form__item{min-width:auto;margin-right:0;display:block}.t-form-inline[data-v-b3c2c148] .t-form__item.grid_item .t-form__controls-content{grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}[data-v-41e01020] .iconify{flex-shrink:0;font-size:var(--td-font-size-body-large)!important}[data-v-41e01020] .iconify+.t-button__text:not(:empty){margin-left:8px}.t-size-s[data-v-41e01020] .iconify{font-size:var(--td-font-size-body-medium)!important}.t-size-l[data-v-41e01020] .iconify{font-size:var(--td-font-size-title-large)!important}.t-button+.t-button[data-v-41e01020]{margin-left:var(--td-comp-margin-m)}.t-button+.t-button.t-size-s[data-v-41e01020]{margin-left:var(--td-comp-margin-xs)}
2
+ [data-v-8784a0a1] .t-menu__logo{height:var(--td-comp-size-xxl)!important;border-bottom:none!important}[data-v-8784a0a1] .t-menu{padding:0!important}.t-default-menu[data-v-8784a0a1] .t-menu__item{height:var(--td-comp-size-xl);line-height:var(--td-comp-size-xl)}.t-default-menu[data-v-8784a0a1] .t-menu__item.t-is-active{color:var(--td-brand-color)}.t-head-menu[data-v-cdf58b1a]{--td-comp-paddingLR-m:var(--td-size-3);--td-comp-size-xxxl:var(--td-comp-size-xxl)}[data-v-cdf58b1a]{--td-comp-size-xxxl:calc(var(--td-comp-size-xxl) + 1px)}[data-v-cdf58b1a] .t-menu__logo{margin:0 8px!important}[data-v-cdf58b1a] .t-head-menu__inner li+li{margin-left:4px}.el-scrollbar[data-v-de5cbc76]>.el-scrollbar__wrap>.el-scrollbar__view:has(>.h-full){height:100%}.el-scrollbar[data-v-de5cbc76]>.el-scrollbar__wrap>.el-scrollbar__view:has(>.no_main_padding){padding:0!important}.t-popup__content:has(.t-select__dropdown-inner>.t-select__empty){justify-content:center;align-items:center;display:flex}.t-upload.file[data-v-730cff70] .t-upload__trigger{pointer-events:none}.t-upload.file[data-v-730cff70] .t-upload__trigger .t-button{pointer-events:auto}[data-v-b3c2c148] .t-form__label{padding-right:var(--td-size-1)}[data-v-b3c2c148] .t-form__label--top{min-height:auto;line-height:inherit}[data-v-b3c2c148] .t-form__item{margin-bottom:var(--td-comp-margin-xxl)!important}[data-v-b3c2c148] .t-form__item.no_label_item .t-form__label{display:none}[data-v-b3c2c148] .t-form__item .t-input-adornment{flex:auto}.t-form[data-v-b3c2c148]{--td-comp-margin-xxl:var(--td-comp-margin-xl)}.t-form[data-v-b3c2c148]:has(.t-form__item:not(.no_label_item)) .no_label_item .t-form__label{opacity:0;height:1px;padding-right:0;display:block}.t-form.no_item_mb .t-form__item[data-v-b3c2c148]{margin-bottom:0!important}.t-form-inline[data-v-b3c2c148]{--repeat-min-width:220px;--repeat-gap:24px;grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}.t-form-inline[data-v-b3c2c148] .no_label_item{align-self:flex-end}.t-form-inline[data-v-b3c2c148] .t-form__item{min-width:auto;margin-right:0;display:block}.t-form-inline[data-v-b3c2c148] .t-form__item.grid_item .t-form__controls-content{grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}[data-v-41e01020] .iconify{flex-shrink:0;font-size:var(--td-font-size-body-large)!important}[data-v-41e01020] .iconify+.t-button__text:not(:empty){margin-left:8px}.t-size-s[data-v-41e01020] .iconify{font-size:var(--td-font-size-body-medium)!important}.t-size-l[data-v-41e01020] .iconify{font-size:var(--td-font-size-title-large)!important}.t-button+.t-button[data-v-41e01020]{margin-left:var(--td-comp-margin-m)}.t-button+.t-button.t-size-s[data-v-41e01020]{margin-left:var(--td-comp-margin-xs)}
@@ -0,0 +1,124 @@
1
+ import { P as e, x as t } from "./button-Dk3CiB69.mjs";
2
+ import n from "../plugins/autoImport/$msg/index.mjs";
3
+ import { t as r } from "./page-list-C3nqGnnX.mjs";
4
+ import "../components/page-list/index.mjs";
5
+ import { t as i } from "./SelectUser-CTvBarod.mjs";
6
+ import { computed as a, createBlock as o, defineComponent as s, h as c, mergeProps as l, openBlock as u, reactive as d, ref as f, unref as p, useTemplateRef as m } from "vue";
7
+ //#endregion
8
+ //#region ../../packages/dlzn-ui/views/system/role/modules/AssignUser.vue
9
+ var h = /* @__PURE__ */ s({
10
+ __name: "AssignUser",
11
+ props: { roleId: {} },
12
+ setup(s) {
13
+ let h = s, g = m("pageListRef"), _ = a(() => g.value?.selectedRowKeys ?? []), v = [
14
+ {
15
+ colKey: "userName",
16
+ title: "用户名称"
17
+ },
18
+ {
19
+ colKey: "nickName",
20
+ title: "用户昵称"
21
+ },
22
+ {
23
+ colKey: "email",
24
+ title: "邮箱"
25
+ },
26
+ {
27
+ colKey: "phonenumber",
28
+ title: "手机"
29
+ },
30
+ {
31
+ cell: {
32
+ component: "DicLabel",
33
+ dicCode: "sys_normal_disable"
34
+ },
35
+ colKey: "status",
36
+ title: "状态"
37
+ },
38
+ {
39
+ colKey: "createTime",
40
+ title: "创建时间"
41
+ }
42
+ ], y = {
43
+ apis: { list: { method: (e) => t.Get("system/role/authUser/allocatedList", { params: {
44
+ ...e,
45
+ roleId: h.roleId
46
+ } }) } },
47
+ cardProps: {
48
+ bodyClassName: "p-0!",
49
+ shadow: !1
50
+ },
51
+ columns: [...v, {
52
+ cell: {
53
+ buttons: [({ row: e }) => ({
54
+ default: "取消授权",
55
+ permission: "system:role:remove",
56
+ popconfirm: {
57
+ content: `确认要取消用户${e.userName}授权的当前角色?`,
58
+ onConfirm: async () => {
59
+ await t.Put("system/role/authUser/cancel", {
60
+ roleId: h.roleId,
61
+ userId: e.userId
62
+ }), n.success("取消授权成功"), g.value.query();
63
+ }
64
+ }
65
+ })],
66
+ component: "Buttons"
67
+ },
68
+ colKey: "_operation",
69
+ title: "操作"
70
+ }],
71
+ formItems: [{
72
+ _label: "用户名称",
73
+ component: "TInput",
74
+ model: "userName"
75
+ }, {
76
+ _label: "手机号码",
77
+ component: "TInput",
78
+ model: "phonenumber"
79
+ }],
80
+ operations: [{
81
+ default: "添加用户",
82
+ onClick: () => {
83
+ let t = f(null);
84
+ e({
85
+ body: () => c(i, {
86
+ ref: t,
87
+ roleId: h.roleId,
88
+ tableCol: v
89
+ }),
90
+ header: "选择用户",
91
+ onConfirmCallback: async () => {
92
+ await t.value.handleSubmit(), await g.value.query();
93
+ },
94
+ width: 1e3
95
+ });
96
+ },
97
+ permission: "system:role:add"
98
+ }, d({
99
+ default: "批量取消授权",
100
+ disabled: a(() => _.value.length === 0),
101
+ onClick: async () => {
102
+ await e("是否给选中用户取消授权当前角色?"), await t.Put("system/role/authUser/cancelAll", {}, { params: {
103
+ roleId: h.roleId,
104
+ userIds: _.value.join(",")
105
+ } }), n.success("取消授权成功"), g.value.query();
106
+ },
107
+ permission: "system:role:remove"
108
+ })],
109
+ tableOtherProps: {
110
+ flexHeight: !1,
111
+ rowKey: "userId",
112
+ showColumnConfigBtn: !1,
113
+ showRowSelect: "multiple",
114
+ showToggleFullscreenBtn: !1
115
+ }
116
+ };
117
+ return (e, t) => (u(), o(p(r), l({
118
+ ref_key: "pageListRef",
119
+ ref: g
120
+ }, y), null, 16));
121
+ }
122
+ });
123
+ //#endregion
124
+ export { h as t };
@@ -1,4 +1,4 @@
1
- import { f as e, g as t, m as n } from "./button-BcpR95gj.mjs";
1
+ import { f as e, g as t, m as n } from "./button-Dk3CiB69.mjs";
2
2
  import { isFalsy as r, isValidNumberString as i } from "../utils/boolean.mjs";
3
3
  import { stringDisplay as a } from "../utils/string.mjs";
4
4
  import "../utils/index.mjs";
@@ -1,4 +1,4 @@
1
- import { f as e, g as t, m as n } from "./button-BcpR95gj.mjs";
1
+ import { f as e, g as t, m as n } from "./button-Dk3CiB69.mjs";
2
2
  import { isValidNumberString as r } from "../utils/boolean.mjs";
3
3
  import "../utils/index.mjs";
4
4
  import { createBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, reactive as u, unref as d, useModel as f, watch as p, withCtx as m } from "vue";
@@ -1,6 +1,6 @@
1
- import { P as e, a as t, x as n } from "./button-BcpR95gj.mjs";
1
+ import { P as e, a as t, x as n } from "./button-Dk3CiB69.mjs";
2
2
  import r from "../plugins/autoImport/$msg/index.mjs";
3
- import { t as i } from "./page-list-BjjvOqb5.mjs";
3
+ import { t as i } from "./page-list-C3nqGnnX.mjs";
4
4
  import "../components/page-list/index.mjs";
5
5
  import { createBlock as a, defineComponent as o, h as s, mergeProps as c, openBlock as l, reactive as u, ref as d, unref as f, useTemplateRef as p, watch as m } from "vue";
6
6
  //#endregion
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-B5NscAh_.mjs";
1
+ import { t as e } from "./Common-DQbblaTl.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Hour.vue
@@ -1,7 +1,7 @@
1
1
  import { n as e, t } from "./link-Byr_BYPx.mjs";
2
2
  import "../components/link/index.mjs";
3
3
  import { createBlock as n, createTextVNode as r, createVNode as i, defineComponent as a, guardReactiveProps as o, normalizeProps as s, openBlock as c, toDisplayString as l, unref as u, useAttrs as d, withCtx as f } from "vue";
4
- import { Typography as p } from "tdesign-vue-next";
4
+ import { Text as p } from "tdesign-vue-next";
5
5
  import { get as m } from "lodash-es";
6
6
  //#endregion
7
7
  //#region ../../packages/dlzn-ui/plugins/tableRenders/cell/TypographyTextLink/Index.vue
@@ -1,4 +1,4 @@
1
- import { v as e } from "./button-BcpR95gj.mjs";
1
+ import { v as e } from "./button-Dk3CiB69.mjs";
2
2
  import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
3
  import { t as n } from "./tag-CfeJWJii.mjs";
4
4
  import "../components/tag/index.mjs";
@@ -1,5 +1,5 @@
1
1
  import { createBlock as e, createTextVNode as t, defineComponent as n, guardReactiveProps as r, normalizeProps as i, openBlock as a, toDisplayString as o, unref as s, useAttrs as c, withCtx as l } from "vue";
2
- import { Typography as u } from "tdesign-vue-next";
2
+ import { Text as u } from "tdesign-vue-next";
3
3
  import { get as d } from "lodash-es";
4
4
  import '../assets/Index-Y4khRYm7.css';//#endregion
5
5
  //#region ../../packages/dlzn-ui/plugins/tableRenders/cell/TypographyText/Index.vue
@@ -1,4 +1,4 @@
1
- import { r as e, t } from "./button-BcpR95gj.mjs";
1
+ import { r as e, t } from "./button-Dk3CiB69.mjs";
2
2
  import { t as n } from "./icon-COjp1yrx.mjs";
3
3
  import "../components/icon/index.mjs";
4
4
  import { t as r } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
@@ -1,4 +1,4 @@
1
- import { f as e, p as t } from "./button-BcpR95gj.mjs";
1
+ import { f as e, p as t } from "./button-Dk3CiB69.mjs";
2
2
  import { createBlock as n, defineComponent as r, mergeDefaults as i, mergeModels as a, mergeProps as o, openBlock as s, unref as c, useAttrs as l, useModel as u } from "vue";
3
3
  import { get as d, set as f } from "lodash-es";
4
4
  import '../assets/Index-CgpaCUYu.css';//#endregion
@@ -1,4 +1,4 @@
1
- import { v as e } from "./button-BcpR95gj.mjs";
1
+ import { v as e } from "./button-Dk3CiB69.mjs";
2
2
  import { t } from "./tag-CfeJWJii.mjs";
3
3
  import "../components/tag/index.mjs";
4
4
  import { getSplitSymbolCellValue as n } from "../plugins/tableRenders/utils.mjs";
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
2
2
  import { stringDisplay as t } from "../utils/string.mjs";
3
3
  import "../utils/index.mjs";
4
- import { t as n } from "./Index-Z81MxcDh.mjs";
4
+ import { t as n } from "./Index-CZ0ICyCx.mjs";
5
5
  import { t as r } from "./Index-Bu5a_B5n.mjs";
6
6
  import { createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, h as u, mergeProps as d, normalizeProps as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
7
7
  import { useResizeObserver as b, useThrottleFn as x } from "@vueuse/core";
8
- import { Typography as S } from "tdesign-vue-next";
8
+ import { Text as S } from "tdesign-vue-next";
9
9
  import { defaultsDeep as C } from "lodash-es";
10
- import '../assets/IndexItem-5VrD3wb-.css';//#region ../../packages/dlzn-ui/components/overview/src/IndexItem.vue?vue&type=script&setup=true&lang.ts
10
+ import '../assets/IndexItem-CfYDJ95Q.css';//#region ../../packages/dlzn-ui/components/overview/src/IndexItem.vue?vue&type=script&setup=true&lang.ts
11
11
  var w = { class: "shrink-0 text-(--td-text-color-placeholder)" }, T = /*#__PURE__*/ e(/* @__PURE__ */ c({
12
12
  __name: "IndexItem",
13
13
  props: { item: {} },
@@ -66,6 +66,6 @@ var w = { class: "shrink-0 text-(--td-text-color-placeholder)" }, T = /*#__PURE_
66
66
  _: 1
67
67
  }, 16)], 16));
68
68
  }
69
- }), [["__scopeId", "data-v-034d6ce8"]]);
69
+ }), [["__scopeId", "data-v-0ecdde6f"]]);
70
70
  //#endregion
71
71
  export { T as t };
@@ -0,0 +1,213 @@
1
+ import { P as e, a as t, x as n } from "./button-Dk3CiB69.mjs";
2
+ import r from "../plugins/autoImport/$msg/index.mjs";
3
+ import { t as i } from "./page-list-C3nqGnnX.mjs";
4
+ import "../components/page-list/index.mjs";
5
+ import { computed as a, createBlock as o, defineComponent as s, h as c, mergeProps as l, nextTick as u, openBlock as d, reactive as f, ref as p, unref as m, useTemplateRef as h, watch as g } from "vue";
6
+ import { useRequest as _ } from "alova/client";
7
+ //#endregion
8
+ //#region ../../packages/dlzn-ui/views/tool/job/modules/Log.vue
9
+ var v = /* @__PURE__ */ s({
10
+ __name: "Log",
11
+ props: { id: {} },
12
+ setup(s) {
13
+ let v = s, y = h("pageListRef"), { data: b, send: x } = _((e) => n.Get(`monitor/job/${e}`), {
14
+ immediate: !1,
15
+ initialData: {}
16
+ });
17
+ v.id === void 0 ? u(() => {
18
+ y.value.query();
19
+ }) : x(v.id).then(() => {
20
+ u(() => {
21
+ y.value.query();
22
+ });
23
+ });
24
+ let S = {
25
+ createTime: {
26
+ _label: "执行时间",
27
+ component: "TInput",
28
+ model: "createTime"
29
+ },
30
+ exceptionInfo: {
31
+ __others: ({ formData: e }) => ({ show: e.status === "1" }),
32
+ _class: "col-span-full",
33
+ _label: "异常信息",
34
+ component: "TTextarea",
35
+ maxlength: "",
36
+ model: "exceptionInfo"
37
+ },
38
+ invokeTarget: {
39
+ _class: "col-span-full",
40
+ _label: "调用目标方法",
41
+ component: "TTextarea",
42
+ model: "invokeTarget"
43
+ },
44
+ jobGroup: {
45
+ _label: "任务分组",
46
+ component: "TSelect",
47
+ dicCode: "sys_job_group",
48
+ model: "jobGroup"
49
+ },
50
+ jobLogId: {
51
+ _label: "日志编号",
52
+ component: "TInput",
53
+ model: "jobLogId"
54
+ },
55
+ jobMessage: {
56
+ _class: "col-span-full",
57
+ _label: "日志信息",
58
+ component: "TTextarea",
59
+ maxlength: "",
60
+ model: "jobMessage"
61
+ },
62
+ jobName: {
63
+ _label: "任务名称",
64
+ component: "TInput",
65
+ model: "jobName"
66
+ },
67
+ status: {
68
+ _label: "执行状态",
69
+ component: "TRadioGroup",
70
+ dicCode: "sys_job_status",
71
+ model: "status"
72
+ }
73
+ }, C = {
74
+ apis: {
75
+ delete: {
76
+ method: "monitor/jobLog",
77
+ permission: "monitor:job:remove",
78
+ showBatch: !0
79
+ },
80
+ export: {
81
+ method: "monitor/jobLog/export",
82
+ permission: "monitor:job:export"
83
+ },
84
+ list: { method: (e) => n.Get("monitor/jobLog/list", { params: {
85
+ ...e,
86
+ dateRange: void 0,
87
+ "params[beginTime]": e.dateRange[0] ?? "",
88
+ "params[endTime]": e.dateRange[1] ?? ""
89
+ } }) }
90
+ },
91
+ cardProps: {
92
+ bodyClassName: "p-0!",
93
+ shadow: !1
94
+ },
95
+ columns: [
96
+ {
97
+ colKey: "jobLogId",
98
+ title: "日志编号"
99
+ },
100
+ {
101
+ colKey: "jobName",
102
+ title: "任务名称"
103
+ },
104
+ {
105
+ cell: {
106
+ component: "DicLabel",
107
+ dicCode: "sys_job_group"
108
+ },
109
+ colKey: "jobGroup",
110
+ title: "任务组名"
111
+ },
112
+ {
113
+ colKey: "invokeTarget",
114
+ title: "调用目标字符串"
115
+ },
116
+ {
117
+ colKey: "jobMessage",
118
+ title: "日志信息"
119
+ },
120
+ {
121
+ cell: {
122
+ component: "DicLabel",
123
+ dicCode: "sys_job_status"
124
+ },
125
+ colKey: "status",
126
+ title: "执行状态"
127
+ },
128
+ {
129
+ colKey: "createTime",
130
+ title: "执行时间"
131
+ },
132
+ {
133
+ cell: {
134
+ buttons: [({ row: n }) => ({
135
+ default: "详情",
136
+ onClick: () => {
137
+ let r = p(null);
138
+ g(r, () => {
139
+ r.value.setFormData(n);
140
+ }, { once: !0 }), e({
141
+ body: () => c(t, {
142
+ items: [
143
+ S.jobLogId,
144
+ S.jobName,
145
+ S.jobGroup,
146
+ S.createTime,
147
+ S.invokeTarget,
148
+ S.jobMessage,
149
+ S.status,
150
+ S.exceptionInfo
151
+ ],
152
+ readonly: !0,
153
+ ref: r
154
+ }),
155
+ footer: !1,
156
+ header: "调度日志详细",
157
+ width: 730
158
+ });
159
+ },
160
+ permission: "monitor:job:query"
161
+ })],
162
+ component: "Buttons"
163
+ },
164
+ colKey: "_operation",
165
+ title: "操作"
166
+ }
167
+ ],
168
+ formItems: [
169
+ S.jobName,
170
+ S.jobGroup,
171
+ {
172
+ ...S.status,
173
+ component: "TSelect"
174
+ },
175
+ {
176
+ _class: "col-span-2",
177
+ _label: "执行时间",
178
+ component: "TDatePicker",
179
+ model: "dateRange",
180
+ type: "daterange"
181
+ }
182
+ ],
183
+ initialFormData: f({
184
+ jobGroup: a(() => b.value.jobGroup ?? ""),
185
+ jobName: a(() => b.value.jobName ?? "")
186
+ }),
187
+ isFirstQueryByParent: !0,
188
+ operations: [{
189
+ default: "清空",
190
+ permission: "monitor:job:remove",
191
+ popconfirm: {
192
+ content: "确认清空吗",
193
+ onConfirm: async () => {
194
+ await n.Delete("monitor/jobLog/clean"), r.success("清空成功"), y.value.query();
195
+ }
196
+ }
197
+ }],
198
+ tableOtherProps: {
199
+ flexHeight: !1,
200
+ rowKey: "jobLogId",
201
+ showColumnConfigBtn: !1,
202
+ showRowSelect: "multiple",
203
+ showToggleFullscreenBtn: !1
204
+ }
205
+ };
206
+ return (e, t) => (d(), o(m(i), l({
207
+ ref_key: "pageListRef",
208
+ ref: y
209
+ }, C), null, 16));
210
+ }
211
+ });
212
+ //#endregion
213
+ export { v as t };
@@ -4,10 +4,10 @@ import "../components/image/index.mjs";
4
4
  import { t as n } from "./card-BfHb58zl.mjs";
5
5
  import "../components/card/index.mjs";
6
6
  import { createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, openBlock as l, renderSlot as u, unref as d, withCtx as f } from "vue";
7
- import '../assets/LoginBg-9HH4oQBJ.css';//#region ../../packages/dlzn-ui/layout/modules/LoginBg.vue?vue&type=script&setup=true&lang.ts
7
+ import '../assets/LoginBg-BTrRjkK7.css';//#region ../../packages/dlzn-ui/layout/modules/LoginBg.vue?vue&type=script&setup=true&lang.ts
8
8
  var p = {
9
9
  class: "relative flex h-full items-center justify-center",
10
- style: { background: "linear-gradient(159deg, #baccf6 0%, #fff 43%, #fff 61%, #baccf6 100%)" }
10
+ style: { background: "linear-gradient(\n 159deg,\n var(--td-brand-color-3) 0%,\n #fff 43%,\n #fff 61%,\n var(--td-brand-color-3) 100%\n )" }
11
11
  }, m = { class: "bg_inner flex items-stretch justify-between" }, h = /*#__PURE__*/ e(/* @__PURE__ */ c({
12
12
  __name: "LoginBg",
13
13
  setup(e) {
@@ -33,6 +33,6 @@ var p = {
33
33
  src: d(h)
34
34
  }, null, 8, ["src"])) : i("v-if", !0)]));
35
35
  }
36
- }), [["__scopeId", "data-v-46e9141a"]]);
36
+ }), [["__scopeId", "data-v-bf909017"]]);
37
37
  //#endregion
38
38
  export { h as t };
@@ -48,7 +48,7 @@ var _ = /* @__PURE__ */ c({
48
48
  }, [c.level === 0 ? {
49
49
  name: "icon",
50
50
  fn: m(() => [s(p(e), {
51
- class: "mr-3.5",
51
+ class: "mr-2",
52
52
  icon: _(u),
53
53
  size: "20"
54
54
  }, null, 8, ["icon"])]),
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-B5NscAh_.mjs";
1
+ import { t as e } from "./Common-DQbblaTl.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Minute.vue
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-B5NscAh_.mjs";
1
+ import { t as e } from "./Common-DQbblaTl.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Month.vue
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-B5NscAh_.mjs";
1
+ import { t as e } from "./Common-DQbblaTl.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Second.vue
@@ -0,0 +1,68 @@
1
+ import { l as e } from "./button-Dk3CiB69.mjs";
2
+ import { t } from "./checkbox-CLlUEbkk.mjs";
3
+ import "../components/checkbox/index.mjs";
4
+ import { treeToFlatArr as n } from "../utils/tree.mjs";
5
+ import "../utils/index.mjs";
6
+ import { computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, inject as c, openBlock as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
7
+ //#region ../../packages/dlzn-ui/views/system/role/modules/SelectDept.vue?vue&type=script&setup=true&lang.ts
8
+ var m = { class: "w-full" }, h = { class: "mb-1 flex gap-4" }, g = /* @__PURE__ */ s({
9
+ __name: "SelectDept",
10
+ props: { deptOptions: {} },
11
+ setup(s) {
12
+ let g = s, _ = c("formData"), v = u(!0), y = u(!1), b = u(!0), x = r(() => {
13
+ let e = [], t = (n) => {
14
+ n.forEach((n) => {
15
+ e.push(n), n.children && t(n.children);
16
+ });
17
+ };
18
+ return t(g.deptOptions), e;
19
+ });
20
+ p(y, (e) => {
21
+ e ? _.deptIds = x.value.map((e) => e.id) : _.deptIds = [];
22
+ });
23
+ let S = f("treeRef"), C = (...e) => {
24
+ if (!b.value) return;
25
+ let { node: t, trigger: r } = e[1], i = e[0].includes(t.value);
26
+ if (r === "node-click") {
27
+ let e = S.value.getTreeData(t.value);
28
+ n(e).forEach((e) => {
29
+ S.value.setItem(e.value, { checked: i });
30
+ });
31
+ }
32
+ };
33
+ return (n, r) => (l(), i("div", m, [a("div", h, [
34
+ o(d(t), {
35
+ modelValue: v.value,
36
+ "onUpdate:modelValue": r[0] ||= (e) => v.value = e,
37
+ label: "展开/折叠"
38
+ }, null, 8, ["modelValue"]),
39
+ o(d(t), {
40
+ modelValue: y.value,
41
+ "onUpdate:modelValue": r[1] ||= (e) => y.value = e,
42
+ label: "全选/全不选"
43
+ }, null, 8, ["modelValue"]),
44
+ o(d(t), {
45
+ modelValue: b.value,
46
+ "onUpdate:modelValue": r[2] ||= (e) => b.value = e,
47
+ label: "父子联动"
48
+ }, null, 8, ["modelValue"])
49
+ ]), o(d(e), {
50
+ ref_key: "treeRef",
51
+ ref: S,
52
+ modelValue: d(_).deptIds,
53
+ "onUpdate:modelValue": r[3] ||= (e) => d(_).deptIds = e,
54
+ "check-strictly": !0,
55
+ checkable: "",
56
+ data: s.deptOptions,
57
+ "expand-all": v.value,
58
+ keys: { value: "id" },
59
+ onChange: C
60
+ }, null, 8, [
61
+ "modelValue",
62
+ "data",
63
+ "expand-all"
64
+ ])]));
65
+ }
66
+ });
67
+ //#endregion
68
+ export { g as t };
@@ -0,0 +1,68 @@
1
+ import { l as e } from "./button-Dk3CiB69.mjs";
2
+ import { t } from "./checkbox-CLlUEbkk.mjs";
3
+ import "../components/checkbox/index.mjs";
4
+ import { treeToFlatArr as n } from "../utils/tree.mjs";
5
+ import "../utils/index.mjs";
6
+ import { computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, inject as c, openBlock as l, ref as u, unref as d, useTemplateRef as f, watch as p } from "vue";
7
+ //#region ../../packages/dlzn-ui/views/system/role/modules/SelectMenu.vue?vue&type=script&setup=true&lang.ts
8
+ var m = { class: "w-full" }, h = { class: "mb-1 flex gap-4" }, g = /* @__PURE__ */ s({
9
+ __name: "SelectMenu",
10
+ props: { menuOptions: {} },
11
+ setup(s) {
12
+ let g = s, _ = c("formData"), v = u(!1), y = u(!1), b = u(!0), x = r(() => {
13
+ let e = [], t = (n) => {
14
+ n.forEach((n) => {
15
+ e.push(n), n.children && t(n.children);
16
+ });
17
+ };
18
+ return t(g.menuOptions), e;
19
+ });
20
+ p(y, (e) => {
21
+ e ? _.menuIds = x.value.map((e) => e.id) : _.menuIds = [];
22
+ });
23
+ let S = f("treeRef"), C = (...e) => {
24
+ if (!b.value) return;
25
+ let { node: t, trigger: r } = e[1], i = e[0].includes(t.value);
26
+ if (r === "node-click") {
27
+ let e = S.value.getTreeData(t.value);
28
+ n(e).forEach((e) => {
29
+ S.value.setItem(e.value, { checked: i });
30
+ });
31
+ }
32
+ };
33
+ return (n, r) => (l(), i("div", m, [a("div", h, [
34
+ o(d(t), {
35
+ modelValue: v.value,
36
+ "onUpdate:modelValue": r[0] ||= (e) => v.value = e,
37
+ label: "展开/折叠"
38
+ }, null, 8, ["modelValue"]),
39
+ o(d(t), {
40
+ modelValue: y.value,
41
+ "onUpdate:modelValue": r[1] ||= (e) => y.value = e,
42
+ label: "全选/全不选"
43
+ }, null, 8, ["modelValue"]),
44
+ o(d(t), {
45
+ modelValue: b.value,
46
+ "onUpdate:modelValue": r[2] ||= (e) => b.value = e,
47
+ label: "父子联动"
48
+ }, null, 8, ["modelValue"])
49
+ ]), o(d(e), {
50
+ ref_key: "treeRef",
51
+ ref: S,
52
+ modelValue: d(_).menuIds,
53
+ "onUpdate:modelValue": r[3] ||= (e) => d(_).menuIds = e,
54
+ "check-strictly": !0,
55
+ checkable: "",
56
+ data: s.menuOptions,
57
+ "expand-all": v.value,
58
+ keys: { value: "id" },
59
+ onChange: C
60
+ }, null, 8, [
61
+ "modelValue",
62
+ "data",
63
+ "expand-all"
64
+ ])]));
65
+ }
66
+ });
67
+ //#endregion
68
+ export { g as t };