|
@@ -198,11 +198,16 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- let ids = [ row.id ]
|
|
|
+ let ids = [row.id]
|
|
|
+ var index = this.tableAll.findIndex(item =>{
|
|
|
+ return item.id == row.id
|
|
|
+ })
|
|
|
+ this.tableAll.splice(index,1)
|
|
|
this.$api.deleteCompareFile(ids).then(response => {
|
|
|
if (response.code == 200) {
|
|
|
- this.getList()
|
|
|
+ // this.getList()
|
|
|
this.$message.success('删除证据文献成功')
|
|
|
+ this.addOrder()
|
|
|
}
|
|
|
})
|
|
|
}).catch(() => {
|