|
@@ -246,13 +246,13 @@ export default {
|
|
|
},
|
|
|
//审核
|
|
|
examine(row,type){
|
|
|
- this.submitExamine([row.id],type)
|
|
|
+ this.submitExamine([row.id],type,row)
|
|
|
},
|
|
|
examineAll(type){
|
|
|
var ids = this.multipleSelection.map(item=>item.id)
|
|
|
this.submitExamine(ids,type)
|
|
|
},
|
|
|
- submitExamine(data,type){
|
|
|
+ submitExamine(data,type,row){
|
|
|
var params = {
|
|
|
ids:data,
|
|
|
result:type
|
|
@@ -266,6 +266,11 @@ export default {
|
|
|
if(response.code == 200){
|
|
|
message.close()
|
|
|
this.$message.success('任务处理完成')
|
|
|
+ if(row){
|
|
|
+ this.$set(row,'status',type)
|
|
|
+ }else{
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
}
|
|
|
}).catch(error=>{
|
|
|
message.close()
|