import { request } from '../utils/request'; export function fetchJobList(groupName: string) { return request({ url: '/job/list', method: 'get', params: { groupName } }); } export function fetchNodeRetry(nodeId: string, taskBatchId: string) { return request({ url: `/workflow/node/retry/${nodeId}/${taskBatchId}`, method: 'post' }); } export function fetchNodeStop(nodeId: string, taskBatchId: string) { return request({ url: `/workflow/node/stop/${nodeId}/${taskBatchId}`, method: 'post' }); } export function fetchGroupNameList() { return request({ url: `/group/all/group-name/list`, method: 'get' }); }