【修改】监控流程
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user