This commit is contained in:
tiago.kayaya
2021-05-19 14:51:32 +01:00
4 changed files with 12 additions and 3 deletions
@@ -35,6 +35,7 @@ export class GabineteDigitalPage implements OnInit {
count_exp_pp : string;
count_exp_pd : string;
count_dip_apr : string;
count_dip_Signed =0
count_dip_pv=0;
count_de_pr = 0;
count_ev_pr=0;
@@ -184,6 +185,14 @@ export class GabineteDigitalPage implements OnInit {
this.count_exp_pr = Object.keys(res).length
});
this.processesbackend.GetTasksList("Expediente", false).subscribe(result => {
let res = result.reverse().filter(data => data.workflowInstanceDataFields.Status == "Signed");
this.count_dip_Signed = Object.keys(res).length
});
this.processesbackend.GetToApprovedEvents('PR','true').subscribe(res=>{
this.count_ev_pr = res;
});