15815213711
2025-07-30 e05d842dc2b6176238c6ff957bf0d0e6ad8250c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import request,{download,requestType} from "@/utils/request";
import {BaseEntityInterface} from "@/utils/globalInterface";
export interface LogI extends BaseEntityInterface{
  jobLogId ?:  number   ,            jobName ?:  string   ,            jobGroup ?:  string   ,            invokeTarget ?:  string   ,            jobMessage ?:  string   ,            status ?:  string   ,            exceptionInfo ?:  string   ,            createTime ?:  string       }
// 查询调度日志列表
export const listJobLog:requestType = (query) => {
  return request({
    url: '/monitor/jobLog/list',
    method: 'get',
    params: query
  })
}
 
// 删除调度日志
export const delJobLog:requestType = (jobLogId) => {
  return request({
    url: '/monitor/jobLog/' + jobLogId,
    method: 'delete'
  })
}
 
// 清空调度日志
export const cleanJobLog:requestType = () => {
  return request({
    url: '/monitor/jobLog/clean',
    method: 'delete'
  })
}
/**
 * 查询定时任务调度详细
 * @param jobId
 */
export const getJobLog: requestType = (jobId) => {
  return request({
    url: `/monitor/jobLog/${jobId}`,
    method: 'get'
  })
}/**
 * 导出定时任务调度
 */
export const exportJobLog: requestType = (query) => {
      return new Promise<any>(() => {
        download(`/monitor/jobLog/export`, query);
      })
    }