dlzn-ui 2.0.4 → 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.
- package/assets/IndexItem-CfYDJ95Q.css +1 -0
- package/assets/LoginBg-BTrRjkK7.css +1 -0
- package/assets/button-Bwn73ZEc.css +2 -0
- package/chunks/AssignUser-DCju22tm.mjs +124 -0
- package/chunks/{Common-BQTZ_uz9.mjs → Common-DQbblaTl.mjs} +1 -1
- package/chunks/{Day-DHc-joxZ.mjs → Day-9BKmHuZl.mjs} +1 -1
- package/chunks/DictTypeDetail-e14bGyiZ.mjs +188 -0
- package/chunks/{Hour-C4kJ4rZT.mjs → Hour-CrFFADzT.mjs} +1 -1
- package/chunks/{Index-BxpYRhO7.mjs → Index-7ubKF9v4.mjs} +1 -1
- package/chunks/{Index-Bk3I0k1K.mjs → Index-CZ0ICyCx.mjs} +1 -1
- package/chunks/{Index-DU8S7od8.mjs → Index-CZnP6jHo.mjs} +1 -1
- package/chunks/{Index-CCG3SRsb.mjs → Index-ChH8kYUs.mjs} +1 -1
- package/chunks/{Index-BJtXtnZE.mjs → Index-DloA1g7z.mjs} +1 -1
- package/chunks/{Index-7nQvK_SL.mjs → Index-QUCWrT4d.mjs} +1 -1
- package/chunks/{IndexItem-BYR8l3fS.mjs → IndexItem-OIGXdAkP.mjs} +4 -4
- package/chunks/Log-DdemNjDW.mjs +213 -0
- package/chunks/{LoginBg-B1auGWuJ.mjs → LoginBg-BD6ChYvu.mjs} +3 -3
- package/chunks/{MenuNode-D8j_Ugxd.mjs → MenuNode-DXgE629W.mjs} +2 -2
- package/chunks/{Minute-CvRY311e.mjs → Minute-xZNOCy8Q.mjs} +1 -1
- package/chunks/{Month-CKIsP_K8.mjs → Month-CvWOcD_9.mjs} +1 -1
- package/chunks/{Second-BA45p0oz.mjs → Second-BvMnEOms.mjs} +1 -1
- package/chunks/SelectDept-DmtKBaW0.mjs +68 -0
- package/chunks/SelectMenu-tEpLm6Ij.mjs +68 -0
- package/chunks/SelectUser-CTvBarod.mjs +57 -0
- package/chunks/{UserInfo-BmzDf5OX.mjs → UserInfo-qrNR9tve.mjs} +1 -1
- package/chunks/{app-gfbohwfS.mjs → app-CggLqjRQ.mjs} +1 -1
- package/chunks/{button-CI_79tzA.mjs → button-Dk3CiB69.mjs} +381 -380
- package/chunks/{custom-page-list-ClOelq_X.mjs → custom-page-list-CJWB72dw.mjs} +4 -4
- package/chunks/{custom-page-table-BmrOVzPO.mjs → custom-page-table-5f8lI6CQ.mjs} +2 -2
- package/chunks/{overview-B15xOap9.mjs → overview-BEtKbidZ.mjs} +1 -1
- package/chunks/{page-list-TMA20Io6.mjs → page-list-C3nqGnnX.mjs} +3 -3
- package/chunks/{page-query-CGlzVmmX.mjs → page-query-C6oSW1je.mjs} +1 -1
- package/chunks/{page-table-BLWMUBZ0.mjs → page-table-3DTiPP9H.mjs} +3 -3
- package/chunks/{pagination-X1rzhDDh.mjs → pagination-C6-VAj4W.mjs} +1 -1
- package/chunks/{table-DI_apdgZ.mjs → table-Cp9NQHjQ.mjs} +1 -1
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +9 -9
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/index.d.ts +1 -1
- package/layout/Entry.mjs +2 -0
- package/layout/Login.mjs +2 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/{index2.mjs → index.mjs} +2 -2
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/modules/MenuNode.mjs +1 -1
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/package.json +9 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyText/Index.mjs +1 -1
- package/plugins/tableRenders/cell/TypographyTextLink/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +5 -5
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/views/index.d.ts +4 -0
- package/views/index.mjs +15 -0
- package/views/system/dept/index.mjs +256 -0
- package/views/system/dept/index.vue.d.ts +3 -0
- package/views/system/dept/utils.d.ts +2 -0
- package/views/system/dept/utils.mjs +15 -0
- package/views/system/dict/index.mjs +195 -0
- package/views/system/dict/index.vue.d.ts +3 -0
- package/views/system/dict/modules/DictTypeDetail.mjs +2 -0
- package/views/system/dict/modules/DictTypeDetail.vue.d.ts +6 -0
- package/views/system/menu/index.mjs +407 -0
- package/views/system/menu/index.vue.d.ts +3 -0
- package/views/system/post/index.mjs +182 -0
- package/views/system/post/index.vue.d.ts +3 -0
- package/views/system/role/index.mjs +319 -0
- package/views/system/role/index.vue.d.ts +3 -0
- package/views/system/role/modules/AssignUser.mjs +2 -0
- package/views/system/role/modules/AssignUser.vue.d.ts +6 -0
- package/views/system/role/modules/SelectDept.mjs +2 -0
- package/views/system/role/modules/SelectDept.vue.d.ts +6 -0
- package/views/system/role/modules/SelectMenu.mjs +2 -0
- package/views/system/role/modules/SelectMenu.vue.d.ts +6 -0
- package/views/system/role/modules/SelectUser.mjs +2 -0
- package/views/system/role/modules/SelectUser.vue.d.ts +11 -0
- package/views/system/user/index.mjs +451 -0
- package/views/system/user/index.vue.d.ts +9 -0
- package/views/tool/job/index.mjs +297 -0
- package/views/tool/job/index.vue.d.ts +3 -0
- package/views/tool/job/modules/Log.mjs +2 -0
- package/views/tool/job/modules/Log.vue.d.ts +6 -0
- package/assets/IndexItem-5VrD3wb-.css +0 -1
- package/assets/LoginBg-9HH4oQBJ.css +0 -1
- package/assets/button-BtFXYlHm.css +0 -2
- package/layout/Index.mjs +0 -2
- /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}}
|
|
@@ -0,0 +1,2 @@
|
|
|
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-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-
|
|
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-
|
|
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";
|
|
@@ -0,0 +1,188 @@
|
|
|
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 { 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
|
+
//#endregion
|
|
7
|
+
//#region ../../packages/dlzn-ui/views/system/dict/modules/DictTypeDetail.vue
|
|
8
|
+
var h = /* @__PURE__ */ o({
|
|
9
|
+
__name: "DictTypeDetail",
|
|
10
|
+
props: { dictType: {} },
|
|
11
|
+
setup(o) {
|
|
12
|
+
let h = o, g = p("pageListRef"), _ = {
|
|
13
|
+
dictLabel: {
|
|
14
|
+
_label: "数据名",
|
|
15
|
+
_required: !0,
|
|
16
|
+
component: "TInput",
|
|
17
|
+
model: "dictLabel"
|
|
18
|
+
},
|
|
19
|
+
dictSort: {
|
|
20
|
+
_label: "字典排序",
|
|
21
|
+
_required: !0,
|
|
22
|
+
component: "TInputNumber",
|
|
23
|
+
decimalPlaces: 0,
|
|
24
|
+
model: "dictSort",
|
|
25
|
+
theme: "row"
|
|
26
|
+
},
|
|
27
|
+
dictType: {
|
|
28
|
+
_label: "字典类型",
|
|
29
|
+
component: "TInput",
|
|
30
|
+
disabled: !0,
|
|
31
|
+
model: "dictType"
|
|
32
|
+
},
|
|
33
|
+
dictValue: {
|
|
34
|
+
_label: "数据值",
|
|
35
|
+
_required: !0,
|
|
36
|
+
component: "TInput",
|
|
37
|
+
model: "dictValue"
|
|
38
|
+
},
|
|
39
|
+
remark: {
|
|
40
|
+
_label: "备注",
|
|
41
|
+
component: "TTextarea",
|
|
42
|
+
model: "remark"
|
|
43
|
+
},
|
|
44
|
+
status: {
|
|
45
|
+
_label: "状态",
|
|
46
|
+
component: "TRadioGroup",
|
|
47
|
+
dicCode: "sys_normal_disable",
|
|
48
|
+
model: "status"
|
|
49
|
+
}
|
|
50
|
+
}, v = {
|
|
51
|
+
apis: {
|
|
52
|
+
delete: {
|
|
53
|
+
method: "system/dict/data",
|
|
54
|
+
permission: "system:dict:remove",
|
|
55
|
+
showBatch: !0
|
|
56
|
+
},
|
|
57
|
+
list: { method: (e) => n.Get("system/dict/data/list", { params: {
|
|
58
|
+
...e,
|
|
59
|
+
dictType: h.dictType
|
|
60
|
+
} }) }
|
|
61
|
+
},
|
|
62
|
+
cardProps: {
|
|
63
|
+
bodyClassName: "p-0!",
|
|
64
|
+
shadow: !1
|
|
65
|
+
},
|
|
66
|
+
columns: [
|
|
67
|
+
{
|
|
68
|
+
colKey: "dictCode",
|
|
69
|
+
title: "字典编码"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
colKey: "dictLabel",
|
|
73
|
+
title: "字典标签"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
colKey: "dictValue",
|
|
77
|
+
title: "字典值"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
colKey: "dictSort",
|
|
81
|
+
title: "字典排序"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
cell: {
|
|
85
|
+
component: "DicLabel",
|
|
86
|
+
dicCode: "sys_normal_disable"
|
|
87
|
+
},
|
|
88
|
+
colKey: "status",
|
|
89
|
+
title: "状态"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
colKey: "remark",
|
|
93
|
+
title: "备注"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
colKey: "createBy",
|
|
97
|
+
title: "创建人"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
colKey: "createTime",
|
|
101
|
+
title: "创建时间"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
cell: {
|
|
105
|
+
buttons: [({ row: i }) => ({
|
|
106
|
+
default: "编辑",
|
|
107
|
+
onClick: () => {
|
|
108
|
+
let a = d(null);
|
|
109
|
+
m(a, () => {
|
|
110
|
+
a.value.setFormData(i);
|
|
111
|
+
}, { once: !0 }), e({
|
|
112
|
+
body: () => s(t, {
|
|
113
|
+
items: [
|
|
114
|
+
_.dictType,
|
|
115
|
+
_.dictLabel,
|
|
116
|
+
_.dictValue,
|
|
117
|
+
_.dictSort,
|
|
118
|
+
_.status,
|
|
119
|
+
_.remark
|
|
120
|
+
],
|
|
121
|
+
labelAlign: "right",
|
|
122
|
+
layout: "vertical",
|
|
123
|
+
ref: a
|
|
124
|
+
}),
|
|
125
|
+
header: "修改字典数据",
|
|
126
|
+
onConfirmCallback: async () => {
|
|
127
|
+
await n.Put("system/dict/data", {
|
|
128
|
+
...await a.value.validate(),
|
|
129
|
+
dictCode: i.dictCode
|
|
130
|
+
}), r.success("字典数据修改成功"), g.value.query();
|
|
131
|
+
},
|
|
132
|
+
width: 430
|
|
133
|
+
});
|
|
134
|
+
},
|
|
135
|
+
permission: "system:dict:edit"
|
|
136
|
+
})],
|
|
137
|
+
component: "Buttons"
|
|
138
|
+
},
|
|
139
|
+
colKey: "_operation",
|
|
140
|
+
title: "操作"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
operations: [{
|
|
144
|
+
default: "新增",
|
|
145
|
+
onClick: () => {
|
|
146
|
+
let i = d(null);
|
|
147
|
+
e({
|
|
148
|
+
body: () => s(t, {
|
|
149
|
+
data: u({
|
|
150
|
+
dictType: h.dictType,
|
|
151
|
+
status: "0"
|
|
152
|
+
}),
|
|
153
|
+
items: [
|
|
154
|
+
_.dictType,
|
|
155
|
+
_.dictLabel,
|
|
156
|
+
_.dictValue,
|
|
157
|
+
_.dictSort,
|
|
158
|
+
_.status,
|
|
159
|
+
_.remark
|
|
160
|
+
],
|
|
161
|
+
labelAlign: "right",
|
|
162
|
+
layout: "vertical",
|
|
163
|
+
ref: i
|
|
164
|
+
}),
|
|
165
|
+
header: "添加字典数据",
|
|
166
|
+
onConfirmCallback: async () => {
|
|
167
|
+
await n.Post("system/dict/data", await i.value.validate()), r.success("字典数据添加成功"), g.value.query();
|
|
168
|
+
},
|
|
169
|
+
width: 430
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
permission: "system:dict:add"
|
|
173
|
+
}],
|
|
174
|
+
tableOtherProps: {
|
|
175
|
+
flexHeight: !1,
|
|
176
|
+
rowKey: "dictCode",
|
|
177
|
+
showColumnConfigBtn: !1,
|
|
178
|
+
showToggleFullscreenBtn: !1
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
return (e, t) => (l(), a(f(i), c({
|
|
182
|
+
ref_key: "pageListRef",
|
|
183
|
+
ref: g
|
|
184
|
+
}, v), null, 16));
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
//#endregion
|
|
188
|
+
export { h as t };
|
|
@@ -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 {
|
|
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,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 {
|
|
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 { f as e, p as t } from "./button-
|
|
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,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-
|
|
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 {
|
|
8
|
+
import { Text as S } from "tdesign-vue-next";
|
|
9
9
|
import { defaultsDeep as C } from "lodash-es";
|
|
10
|
-
import '../assets/IndexItem-
|
|
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-
|
|
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-
|
|
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
|
|
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-
|
|
36
|
+
}), [["__scopeId", "data-v-bf909017"]]);
|
|
37
37
|
//#endregion
|
|
38
38
|
export { h as t };
|
|
@@ -30,7 +30,7 @@ var _ = /* @__PURE__ */ c({
|
|
|
30
30
|
}, [c.level === 0 ? {
|
|
31
31
|
name: "icon",
|
|
32
32
|
fn: m(() => [s(p(e), {
|
|
33
|
-
class: "mr-
|
|
33
|
+
class: "mr-2",
|
|
34
34
|
icon: _(u),
|
|
35
35
|
size: "20"
|
|
36
36
|
}, null, 8, ["icon"])]),
|
|
@@ -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-
|
|
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-
|
|
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
|