mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve search
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user