|
|
@ -268,6 +268,12 @@ |
|
|
|
* Close the delete layer |
|
|
|
* Close the delete layer |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
_closeDelete (i) { |
|
|
|
_closeDelete (i) { |
|
|
|
|
|
|
|
// close batch |
|
|
|
|
|
|
|
if (i < 0) { |
|
|
|
|
|
|
|
this.$refs['poptipDeleteAll'].doClose() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// close one |
|
|
|
this.$refs[`poptip-delete-${i}`][0].doClose() |
|
|
|
this.$refs[`poptip-delete-${i}`][0].doClose() |
|
|
|
}, |
|
|
|
}, |
|
|
|
/** |
|
|
|
/** |
|
|
@ -596,8 +602,10 @@ |
|
|
|
}).then(res => { |
|
|
|
}).then(res => { |
|
|
|
this._onUpdate() |
|
|
|
this._onUpdate() |
|
|
|
this.checkAll = false |
|
|
|
this.checkAll = false |
|
|
|
|
|
|
|
this.strSelectIds = '' |
|
|
|
this.$message.success(res.msg) |
|
|
|
this.$message.success(res.msg) |
|
|
|
}).catch(e => { |
|
|
|
}).catch(e => { |
|
|
|
|
|
|
|
this.strSelectIds = '' |
|
|
|
this.checkAll = false |
|
|
|
this.checkAll = false |
|
|
|
this.$message.error(e.msg || '') |
|
|
|
this.$message.error(e.msg || '') |
|
|
|
}) |
|
|
|
}) |
|
|
|