23 lines
729 B
TypeScript
23 lines
729 B
TypeScript
import {
|
|
get,
|
|
post,
|
|
} from '@/common/utils/http-util.ts'
|
|
|
|
export default {
|
|
paging(data: Task_execute_logTypes.SearchTask_execute_logParam) {
|
|
return get<G.PageResult<Task_execute_logTypes.SearchTask_execute_logResult>>('/sys_task_execute_log/paging', data)
|
|
},
|
|
detail(id: string) {
|
|
return get<Task_execute_logTypes.SearchTask_execute_logResult>('/sys_task_execute_log/detail', {id})
|
|
},
|
|
add(data: Task_execute_logTypes.AddTask_execute_logParam) {
|
|
return post('/sys_task_execute_log/add', data)
|
|
},
|
|
modify(data: Task_execute_logTypes.ModifyTask_execute_logParam) {
|
|
return post('/sys_task_execute_log/modify', data)
|
|
},
|
|
del(ids: string[]) {
|
|
return post('/sys_task_execute_log/del', ids)
|
|
},
|
|
}
|