You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
541 B
JavaScript
29 lines
541 B
JavaScript
1 year ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 获得定时任务
|
||
|
export function getJobLog(id) {
|
||
|
return request({
|
||
|
url: '/infra/job-log/get?id=' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获得定时任务分页
|
||
|
export function getJobLogPage(query) {
|
||
|
return request({
|
||
|
url: '/infra/job-log/page',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 导出定时任务 Excel
|
||
|
export function exportJobLogExcel(query) {
|
||
|
return request({
|
||
|
url: '/infra/job-log/export-excel',
|
||
|
method: 'get',
|
||
|
params: query,
|
||
|
responseType: 'blob'
|
||
|
})
|
||
|
}
|