mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-12 12:16:42 +08:00
Merge pull request #3781 from break60/1.3.3-release
[Fix-3707][ui]cherry pick The batch delete function in the workflow definition and workflow ins…
This commit is contained in:
commit
44645657b2
@ -263,6 +263,12 @@
|
||||
* Close the delete layer
|
||||
*/
|
||||
_closeDelete (i) {
|
||||
// close batch
|
||||
if (i < 0) {
|
||||
this.$refs['poptipDeleteAll'].doClose()
|
||||
return
|
||||
}
|
||||
// close one
|
||||
this.$refs[`poptip-delete-${i}`][0].doClose()
|
||||
},
|
||||
/**
|
||||
@ -396,8 +402,10 @@
|
||||
}).then(res => {
|
||||
this._onUpdate()
|
||||
this.checkAll = false
|
||||
this.strSelectIds = ''
|
||||
this.$message.success(res.msg)
|
||||
}).catch(e => {
|
||||
this.strSelectIds = ''
|
||||
this.checkAll = false
|
||||
this.$message.error(e.msg || '')
|
||||
})
|
||||
|
@ -344,6 +344,12 @@
|
||||
* Close the delete layer
|
||||
*/
|
||||
_closeDelete (i) {
|
||||
// close batch
|
||||
if (i < 0) {
|
||||
this.$refs['poptipDeleteAll'].doClose()
|
||||
return
|
||||
}
|
||||
// close one
|
||||
this.$refs[`poptip-delete-${i}`][0].doClose()
|
||||
},
|
||||
/**
|
||||
@ -539,9 +545,11 @@
|
||||
}).then(res => {
|
||||
this._onUpdate()
|
||||
this.checkAll = false
|
||||
this.strDelete = ''
|
||||
this.$message.success(res.msg)
|
||||
}).catch(e => {
|
||||
this.checkAll = false
|
||||
this.strDelete = ''
|
||||
this.$message.error(e.msg || '')
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user