【修改】监控流程

This commit is contained in:
zhoulingpo
2023-04-28 23:29:35 +08:00
parent 03dc95ca36
commit 7c2b6a3b55
2 changed files with 39 additions and 15 deletions
@@ -160,18 +160,18 @@ export default {
// 有idde
console.log(this.value)
debugger
let idsList=this.checkIds.filter(item=>{
var idsList=this.checkIds.filter(item=>{
if(item.id && item.id !=''){
return item
}
})
let reportList=this.checkIds.filter(item=>{
var reportList=this.checkIds.filter(item=>{
if(!item.id ){
return item
}
})
let newValue=[]
var newValue=[]
if(idsList.length>0){
idsList=idsList.map(item=>{
return item.id
@@ -186,6 +186,11 @@ export default {
reportids.indexOf(item.reportId)==-1
)
this.$emit('updateTable', newValue,reportids)
}else{
newValue=this.value.filter(item =>
idsList.indexOf(item.id)==-1
)
this.$emit('updateTable', newValue,idsList)
}
// })
}else{