This commit is contained in:
tiago.kayaya
2021-07-13 14:34:05 +01:00
parent 03c9b56ea4
commit bc3306366b
16 changed files with 184 additions and 177 deletions
@@ -31,9 +31,9 @@ export class ExpedientsPage implements OnInit {
private processes:ProcessesService,
private modalController: ModalController,
private alertService: AlertService,
private router: Router,
private router: Router,
private activatedRoute: ActivatedRoute,
) {
) {
this.profile = 'mdgpr';
}
@@ -42,7 +42,7 @@ export class ExpedientsPage implements OnInit {
//Inicializar segment
this.segment = "expedientes";
this.LoadList();
const pathname = window.location.pathname
this.router.events.forEach((event) => {
if(event instanceof NavigationEnd && event.url == pathname) {
@@ -82,6 +82,7 @@ export class ExpedientsPage implements OnInit {
"DocumentsQty": 0,
"WorkflowName": element.workflowDisplayName,
"activityInstanceName": element.activityInstanceName,
"Status": element.workflowInstanceDataFields.Status,
}
this.taskslist.push(task);
});
@@ -97,4 +98,3 @@ export class ExpedientsPage implements OnInit {
}
}