Skip to content

Commit 351166f

Browse files
committed
丰富页面内容,增加 quartz trigger 触发记录
1 parent 3d55997 commit 351166f

File tree

13 files changed

+613
-62
lines changed

13 files changed

+613
-62
lines changed

config/config.ts

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,61 +117,67 @@ export default {
117117
path: '/runtime',
118118
name: 'runtime',
119119
icon: 'history',
120-
routes:[
120+
routes: [
121121
{
122122
name: 'jobExecutionHistory',
123123
path: '/runtime/jobExecutionHistory',
124124
component: './runtime/jobExecutionHistory',
125-
icon:'bar-chart'
125+
icon: 'bar-chart',
126126
},
127127
{
128128
component: './404',
129129
},
130-
]
130+
],
131131
},
132132
{
133133
path: '/platform',
134134
name: 'platform',
135135
icon: 'cloud-server',
136-
routes:[
136+
routes: [
137137
{
138138
name: 'quartzTriggerList',
139139
path: '/platform/quartzTriggerList',
140140
component: './platform/quartzTriggerList',
141-
icon:'schedule'
141+
icon: 'schedule',
142142
},
143143
{
144144
name: 'jobRunDetail',
145145
path: '/platform/jobRunDetail',
146146
component: './platform/jobRunDetail',
147-
icon:'play-circle'
147+
icon: 'play-circle',
148+
},
149+
{
150+
name: 'quartzJob',
151+
path: '/platform/quartzJob',
152+
component: './platform/quartzJob',
153+
icon: 'play-circle',
148154
},
149155
{
150156
component: './404',
151157
},
152-
]
158+
],
153159
},
154160
{
155161
path: '/configuration',
156162
name: 'configuration',
157163
icon: 'control',
158-
routes:[
164+
routes: [
159165
{
160166
name: 'triggerList',
161167
path: '/configuration/triggerList',
162168
component: './configuration/triggerList',
163-
icon:'schedule'
169+
icon: 'schedule',
164170
},
165171
{
166172
name: 'jobList',
167173
path: '/configuration/jobList',
168174
component: './configuration/jobList',
169-
icon:'play-circle'
175+
icon: 'play-circle',
170176
},
171177
{
172178
component: './404',
173179
},
174-
]
180+
],
175181
},
176182
{
177183
component: './404',

src/locales/en-US/menu.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ export default {
77
'menu.register.result': 'Register Result',
88
'menu.dashboard': 'Dashboard',
99
'menu.dashboard.analysis': 'Run Detail',
10-
'menu.jobRunDetail':'Job Run Detail',
11-
'menu.quartzTriggerList':'Quartz Trigger List',
12-
'menu.triggerList':'Trigger List',
13-
'menu.jobList':'Job List',
10+
'menu.platform':'Platform Run Data',
11+
'menu.platform.jobRunDetail':'Spring Batch Job Run Detail',
12+
'menu.platform.quartzTriggerList':'Quartz Trigger List',
13+
'menu.platform.quartzJob':'Quartz Job Execution History',
14+
'menu.configuration':'Configuration',
15+
'menu.configuration.triggerList':'Config Trigger',
16+
'menu.configuration.jobList':'Config Job',
17+
'menu.runtime':'Run Data',
18+
'menu.runtime.jobExecutionHistory':'Job Run History',
1419
'menu.dashboard.monitor': 'Monitor',
1520
'menu.dashboard.workplace': 'Workplace',
1621
'menu.exception.403': '403',

src/locales/zh-CN/menu.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ export default {
88
'menu.dashboard': 'Dashboard',
99
'menu.dashboard.analysis': '首页',
1010
'menu.platform':'底层运行数据',
11-
'menu.platform.jobRunDetail':'Job 执行详情',
11+
'menu.platform.jobRunDetail':'Spring Batch 任务执行记录',
1212
'menu.platform.quartzTriggerList':'Quartz 触发器列表',
13+
'menu.platform.quartzJob':'Quartz 任务触发记录',
1314
'menu.configuration':'配置触发器和任务',
1415
'menu.configuration.triggerList':'触发器列表',
1516
'menu.configuration.jobList':'任务器列表',
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
export interface TableListItem {
2+
fireInstanceId: string;
3+
triggerName:string;
4+
triggerGroup:string;
5+
jobName:string;
6+
jobGroup:string;
7+
status:number;
8+
message:string;
9+
nextFireTime:Date;
10+
prevFireTime:Date;
11+
fireTime:Date;
12+
finishTime:Date;
13+
}
14+
15+
export interface TableListPagination {
16+
pageSize: number;
17+
pageNumber: number;
18+
current:number;
19+
}
20+
21+
export interface TableListData {
22+
content: TableListItem[];
23+
pageable: Partial<TableListPagination>;
24+
totalElements:number;
25+
}
26+
27+
export interface TableListParams {
28+
status: number;
29+
triggerName: string;
30+
jobName:string;
31+
jobGroup:string;
32+
triggerGroup:string;
33+
pageSize: number;
34+
currentPage: number;
35+
}

0 commit comments

Comments
 (0)