import request from '@/utils/request' ; import { TableListParams } from './data' ; export async function loadBatchJob ( params ) { return request ( '/batch/load' , { params , } ) ; } export async function stopBatchJob ( params ) { return request ( '/batch/stop' , { method : 'POST' , params , } ) ; } export async function abandonBatchJob ( params ) { return request ( '/batch/abandon' , { method : 'POST' , params , } ) ; } export async function restartBatchJob ( params ) { return request ( '/batch/restart' , { method : 'POST' , params , } ) ; } export async function startNextInstanceBatchJob ( params ) { return request ( '/batch/startNextInstance' , { method : 'POST' , params , } ) ; }