Improve search

This commit is contained in:
Peter Maquiran
2021-04-19 15:21:35 +01:00
parent bd2a2fd3f4
commit 8b26ffd9a5
8 changed files with 116 additions and 36 deletions
@@ -56,15 +56,14 @@ export class GabineteDigitalPage implements OnInit {
if( window.innerWidth <= 1024){
this.modalController.dismiss();
}
};
this.activatedRoute.queryParams.subscribe(params => {
if(params["show"]){
this.openExpedientListPage();
// this.openExpedientListPage();
}
else if(params["events"]){
this.openEventsToApprovePage("MDGPR");
// this.openEventsToApprovePage("MDGPR");
}
});
@@ -84,23 +83,21 @@ export class GabineteDigitalPage implements OnInit {
this.router.events.forEach((event) => {
if(event instanceof NavigationEnd && event.url == this.router.url) {
this.LoadCounts();
//this.LoadCounts();
}
});
this.LoadCounts();
// this.LoadCounts();
/* this.eventService.getAllMdEvents.subscribe(res=>{
console.log(res);
});
console.log(this.eventService.getAllPrEvents.length);
*/
this.processesbackend.GetActionsList().subscribe(res=>{
console.log(res);
});
console.log(this.eventService.getAllPrEvents.length);
*/
// this.processesbackend.GetActionsList().subscribe(res=>{
// console.log(res);
//});
}
@@ -190,7 +187,7 @@ this.processesbackend.GetActionsList().subscribe(res=>{
}
openExpedientPage(data){
console.log(data);
/* console.log(data); */
this.closeAllDesktopComponents();
if( window.innerWidth <= 1024){