|
|
|
@ -392,6 +392,7 @@ export default { |
|
|
|
|
this.$confirm("确定要删除吗?", "提示", { |
|
|
|
|
type: "warning" |
|
|
|
|
}).then(() => { |
|
|
|
|
|
|
|
|
|
this.$post(this.api.deleteAssessment, ids).then(res => { |
|
|
|
|
this.multipleSelection = []; |
|
|
|
|
this.$refs.table.clearSelection(); |
|
|
|
@ -400,6 +401,10 @@ export default { |
|
|
|
|
this.getData(); |
|
|
|
|
}).catch(res => { |
|
|
|
|
}); |
|
|
|
|
if(this.multipleSelection.length === this.listData.length && this.pageNum>1) { |
|
|
|
|
console.log(this.pageNum - 1) |
|
|
|
|
this.handleCurrentChange(this.pageNum - 1) |
|
|
|
|
} |
|
|
|
|
}).catch(() => { |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|