mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-18 13:05:07 +08:00
feat: add vue3(element-plus)
This commit is contained in:
21
yudao-ui-admin-vue3/src/api/infra/jobLog/index.ts
Normal file
21
yudao-ui-admin-vue3/src/api/infra/jobLog/index.ts
Normal file
@ -0,0 +1,21 @@
|
||||
import { defHttp } from '@/config/axios'
|
||||
import type { JobLogVO } from './types'
|
||||
|
||||
// 任务日志列表
|
||||
export const getJobLogPageApi = ({ params }) => {
|
||||
return defHttp.get<PageResult<JobLogVO>>({ url: '/infra/job-log/page', params })
|
||||
}
|
||||
|
||||
// 任务日志详情
|
||||
export const getJobLogApi = (id: number) => {
|
||||
return defHttp.get<JobLogVO>({ url: '/infra/job-log/get?id=' + id })
|
||||
}
|
||||
|
||||
// 导出定时任务日志
|
||||
export const exportJobLogApi = (params) => {
|
||||
return defHttp.get({
|
||||
url: '/infra/job-log/export-excel',
|
||||
params,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user