This commit is contained in:
张成
2026-02-28 10:38:28 +08:00
parent 1a011bcc01
commit dfd3119163
44 changed files with 449 additions and 13555 deletions

View File

@@ -87,7 +87,9 @@ class TaskStatusServer {
* @returns {Promise}
*/
cancel(row) {
return window.framework.http.post(`task_status/${row.taskId}/cancel`)
return window.framework.http.post('task/cancel', {
taskId: row.taskId || row.id
})
}
/**
@@ -96,7 +98,9 @@ class TaskStatusServer {
* @returns {Promise}
*/
retry(row) {
return window.framework.http.post(`task_status/${row.taskId}/retry`)
return window.framework.http.post('task/retry', {
taskId: row.taskId || row.id
})
}
/**