【修改】监控流程

This commit is contained in:
zhoulingpo
2023-04-29 01:09:12 +08:00
parent 0fe93ec48c
commit e5bf906c13
2 changed files with 43 additions and 26 deletions
@@ -174,7 +174,7 @@ export default {
var newValue=[]
if(idsList.length>0){
idsList=idsList.map(item=>{
return item.id
return item.reportId
})
reportList=reportList.map(item=>{
return item.reportId
@@ -185,10 +185,10 @@ export default {
newValue=this.value.filter(item =>
reportids.indexOf(item.reportId)==-1
)
this.$emit('updateTable', newValue,reportids)
this.$emit('updateTable', newValue,idsList)
}else{
newValue=this.value.filter(item =>
idsList.indexOf(item.id)==-1
idsList.indexOf(item.reportId)==-1
)
this.$emit('updateTable', newValue,idsList)
}
@@ -220,7 +220,7 @@ export default {
if (this.$route.query.taskDefinitionKey == 'aid4' ){
if(row.id && row.id !=''){
// this.$api.permissionProcess.deletReport({ids:[row.id]}).then(()=>{
this.$emit('updateTable',this.value.filter(item => item.id !== row.id),[row.id])
this.$emit('updateTable',this.value.filter(item => item.id !== row.id),[row.reportId])
// })
}else{
this.$emit('updateTable', this.value.filter(item => item.reportId !== row.reportId),[])