mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Improve search
This commit is contained in:
@@ -41,12 +41,12 @@ export class EventListPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
this.LoadToApproveEvents();
|
||||
// this.LoadToApproveEvents();
|
||||
|
||||
|
||||
this.router.events.forEach((event) => {
|
||||
if(event instanceof NavigationEnd && event.url == this.router.url) {
|
||||
this.LoadToApproveEvents();
|
||||
// this.LoadToApproveEvents();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -123,10 +123,15 @@
|
||||
|
||||
<!-- Aside right -->
|
||||
<div class="aside-content d-none flex-column height-100">
|
||||
<!--
|
||||
<app-empty-container [texto]="emptyTextDescription" *ngIf="showEmptyContainer" class="d-flex height-100 flex-column"></app-empty-container>
|
||||
<app-events-to-approve [profile]="'MDGPR'" *ngIf="showEventsToApprove" class="d-flex height-100 flex-column"></app-events-to-approve>
|
||||
<app-expedients (openExpedientDetail)="openExpedientPage($event)" [profile]="profile" class="d-flex height-100 flex-column" *ngIf="showExpedients"></app-expedients>
|
||||
<app-expediente (openExpedientList)="openExpedientListPage()" [profile]="profile" [serialNumber]="serialNumber" class="d-flex height-100 flex-column" *ngIf="showExpedientDetail"></app-expediente>
|
||||
|
||||
|
||||
<app-expedients (openExpedientDetail)="openExpedientPage($event)" [profile]="profile" class="d-flex height-100 flex-column" *ngIf="showExpedients"></app-expedients>
|
||||
<app-expediente (openExpedientList)="openExpedientListPage()" [profile]="profile" [serialNumber]="serialNumber" class="d-flex height-100 flex-column" *ngIf="showExpedientDetail"></app-expediente>
|
||||
-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
|
||||
@@ -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