added batch restart tasks

This commit is contained in:
marvzhang
2020-07-18 11:43:34 +08:00
parent b1c5ffc540
commit 0f85f9231f
5 changed files with 48 additions and 7 deletions

View File

@@ -259,6 +259,11 @@ const actions = {
return await request.post(`/tasks-cancel`, {
ids
})
},
async restartTaskMultiple({ dispatch }, ids) {
return await request.post(`/tasks-restart`, {
ids
})
}
}