|
@@ -175,6 +175,7 @@ export default {
|
|
this.$message.success('更新成功')
|
|
this.$message.success('更新成功')
|
|
row.oldData = null
|
|
row.oldData = null
|
|
this.$set(row,'edit',false)
|
|
this.$set(row,'edit',false)
|
|
|
|
+ this.$emit('edit',false)
|
|
this.tableData[index] = JSON.parse(JSON.stringify(row))
|
|
this.tableData[index] = JSON.parse(JSON.stringify(row))
|
|
|
|
|
|
this.refreshData = false
|
|
this.refreshData = false
|
|
@@ -191,6 +192,8 @@ export default {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
|
+
|
|
|
|
+ this.evidence.proofStrIds.splice(this.evidence.proofStrIds.indexOf(id), 1)
|
|
this.deletes([id])
|
|
this.deletes([id])
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
});
|
|
});
|
|
@@ -201,6 +204,7 @@ export default {
|
|
this.$api.deleteProofStr(ids).then(response=>{
|
|
this.$api.deleteProofStr(ids).then(response=>{
|
|
if(response.code == 200){
|
|
if(response.code == 200){
|
|
this.$message.success('删除成功')
|
|
this.$message.success('删除成功')
|
|
|
|
+ this.$emit('edit',false)
|
|
this.getPoofArguments(this.evidence,this.right)
|
|
this.getPoofArguments(this.evidence,this.right)
|
|
}
|
|
}
|
|
})
|
|
})
|