mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -183,10 +183,13 @@ export class GabineteDigitalPage implements OnInit {
|
||||
this.count_exp_pr = Object.keys(res).length
|
||||
});
|
||||
|
||||
this.processesbackend.GetTasksList("Despacho do Presidente da República", false).subscribe(res =>{
|
||||
let despachosPr = diplomas.reverse().filter(data => data.workflowInstanceDataFields.Status != "Revising");
|
||||
this.count_de_pr = Object.keys(diplomasValidar).length;
|
||||
|
||||
/* this.processesbackend.GetTasksList("Despacho do Presidente da República", false).subscribe(res =>{
|
||||
this.showLoader = false;
|
||||
this.count_de_pr = Object.keys(res).length;
|
||||
});
|
||||
}); */
|
||||
this.processesbackend.GetToApprovedEvents('PR','true').subscribe(res=>{
|
||||
this.count_ev_pr = res;
|
||||
});
|
||||
|
||||
@@ -81,10 +81,10 @@ segmentChanged(ev: any) {
|
||||
this.loading = true;
|
||||
|
||||
let result = await this.processes.GetTasksList("Despacho do Presidente da República", false).toPromise();
|
||||
|
||||
console.log(result);
|
||||
let despachosPr = result.reverse().filter(data => data.workflowInstanceDataFields.Status != "Revising");
|
||||
console.log(despachosPr);
|
||||
|
||||
result.forEach( (element, index) => {
|
||||
despachosPr.forEach( (element, index) => {
|
||||
|
||||
let task = {
|
||||
"SerialNumber": element.serialNumber,
|
||||
|
||||
Reference in New Issue
Block a user