This commit is contained in:
Jane
2023-12-22 10:59:10 +08:00
parent 751c43e199
commit d1ede2d4aa
2774 changed files with 291509 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
import request from '@/utils/request'
// datax插件api
export function getList(params) {
return request({
url: '/data/dts/log/pageList',
method: 'get',
params
})
}
export function clearLog(jobGroup, jobId, type) {
return request({
url: '/data/dts/log/clearLog?jobGroup=' + jobGroup + '&jobId=' + jobId + '&type=' + type,
method: 'post'
})
}
export function killJob(data) {
return request({
url: '/data/dts/log/killJob',
method: 'post',
data
})
}
export function viewJobLog(executorAddress, triggerTime, logId, fromLineNum) {
return request({
url: '/data/dts/log/logDetailCat?executorAddress=' + executorAddress + '&triggerTime=' + triggerTime + '&logId=' + logId + '&fromLineNum=' + fromLineNum,
method: 'get'
})
}