Browse Source

修改证据文献删除

zhuhao 2 years ago
parent
commit
a8f4f7d826

+ 7 - 2
RMS-FrontEnd/src/views/report/InvalidResponse/components/evidenceAndRequest.vue

@@ -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(() => {