This commit is contained in:
Peter Maquiran
2021-07-17 14:40:27 +01:00
parent 6b883fbfb1
commit 86586470fe
5 changed files with 12 additions and 2 deletions
@@ -139,6 +139,8 @@ export class DespachoPage implements OnInit {
});
});
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.goBack()
});
}
@@ -123,6 +123,8 @@ export class DiplomaAssinarPage implements OnInit {
});
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.goBack()
});
}
@@ -138,6 +138,8 @@ export class DiplomaPage implements OnInit {
});
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.goBack()
});
}
@@ -184,6 +184,8 @@ export class ExpedientePrPage implements OnInit {
})
}, ()=>{
this.goBack()
});
}
@@ -87,9 +87,9 @@ export class PedidoPage implements OnInit {
async LoadTaskDetail(serial: string) {
this.fulltask = await this.processes.GetTask(this.serialnumber).toPromise();
this.processes.GetTask(this.serialnumber).subscribe(res => {
console.log(res);
this.fulltask = res
if(res.workflowDisplayName == 'Pedido de Parecer' || res.workflowDisplayName == 'Pedido de Parecer do Presidente'){
@@ -153,6 +153,8 @@ export class PedidoPage implements OnInit {
});
});
this.getDocumentDetails(res.workflowInstanceDataFields.FolderID, '361');
}, ()=>{
this.goBack()
});
}