This commit is contained in:
Peter Maquiran
2021-05-13 15:19:37 +01:00
parent f9e2924f67
commit bb49078bfc
2 changed files with 7 additions and 1 deletions
@@ -24,6 +24,7 @@ export class GabineteDigitalPage implements OnInit {
public profile:string;
count_exp_dailywork=0;
count_exp_pr =0
count_desp_dailywork=0;
count_desp_pending=0;
count_par_dailywork=0;
@@ -172,6 +173,11 @@ export class GabineteDigitalPage implements OnInit {
this.processesbackend.GetTasksList("Despacho do Presidente da República", false).subscribe(e=>{
this.count_de_pr = Object.keys(e).length
});
this.processesbackend.GetTasksList("Expediente", false).subscribe(result => {
let res = result.reverse().filter(data => data.workflowInstanceDataFields.Status == "Active");
this.count_exp_pr = Object.keys(res).length
});
this.processesbackend.GetTasksList("Despacho do PR", false).subscribe(res =>{
this.showLoader = false;