提交 | 用户 | 时间
|
820397
|
1 |
import request from '@/config/axios' |
H |
2 |
|
|
3 |
export interface JobLogVO { |
|
4 |
id: number |
|
5 |
jobId: number |
|
6 |
handlerName: string |
|
7 |
handlerParam: string |
|
8 |
cronExpression: string |
|
9 |
executeIndex: string |
|
10 |
beginTime: Date |
|
11 |
endTime: Date |
|
12 |
duration: string |
|
13 |
status: number |
|
14 |
createTime: string |
|
15 |
result: string |
|
16 |
} |
|
17 |
|
|
18 |
// 任务日志列表 |
|
19 |
export const getJobLogPage = (params: PageParam) => { |
|
20 |
return request.get({ url: '/infra/job-log/page', params }) |
|
21 |
} |
|
22 |
|
|
23 |
// 任务日志详情 |
|
24 |
export const getJobLog = (id: number) => { |
|
25 |
return request.get({ url: '/infra/job-log/get?id=' + id }) |
|
26 |
} |
|
27 |
|
|
28 |
// 导出定时任务日志 |
|
29 |
export const exportJobLog = (params) => { |
|
30 |
return request.download({ |
|
31 |
url: '/infra/job-log/export-excel', |
|
32 |
params |
|
33 |
}) |
|
34 |
} |