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