mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
feat(frontend): 数据集 定时任务 管理
This commit is contained in:
parent
7965552518
commit
64f78e9b9e
@ -298,6 +298,11 @@ export default {
|
||||
// })
|
||||
},
|
||||
deleteTask(task) {
|
||||
this.$confirm(this.$t('dataset.confirm_delete'), this.$t('dataset.tips'), {
|
||||
confirmButtonText: this.$t('dataset.confirm'),
|
||||
cancelButtonText: this.$t('dataset.cancel'),
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
post('/dataset/task/delete/' + task.id, null).then(response => {
|
||||
this.$message({
|
||||
message: this.$t('dataset.delete_success'),
|
||||
@ -307,6 +312,8 @@ export default {
|
||||
this.resetTaskForm()
|
||||
this.listTask()
|
||||
})
|
||||
}).catch(() => {
|
||||
})
|
||||
},
|
||||
closeTask() {
|
||||
this.update_task = false
|
||||
|
Loading…
Reference in New Issue
Block a user