mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -266,16 +266,16 @@ export class GabineteDigitalPage implements OnInit {
|
||||
return false;
|
||||
}
|
||||
|
||||
openEventsToApprovePage(profile:any){
|
||||
openEventsToApprovePage(profile:any) {
|
||||
console.log(profile);
|
||||
|
||||
this.closeAllDesktopComponents();
|
||||
let navigationExtras: NavigationExtras = { queryParams: {"eventos": true,}};
|
||||
if( window.innerWidth <= 800){
|
||||
if( window.innerWidth <= 800) {
|
||||
//this.openEventsToApproveList(profile);
|
||||
this.router.navigate(['/home/gabinete-digital/event-list']);
|
||||
}
|
||||
else{
|
||||
else {
|
||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||
this.showEventsToApprove = true;
|
||||
}
|
||||
@@ -347,7 +347,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
|
||||
openPedidosPage(segment:string){
|
||||
this.closeAllDesktopComponents();
|
||||
if( window.innerWidth <= 800){
|
||||
if( window.innerWidth <= 800) {
|
||||
this.openPedidoList();
|
||||
}
|
||||
else{
|
||||
@@ -463,7 +463,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
//if( window.innerWidth <= 1024){
|
||||
const modal = await this.modalController.create({
|
||||
component: ExpedientePage,
|
||||
componentProps:{
|
||||
componentProps: {
|
||||
profile: this.profile,
|
||||
},
|
||||
cssClass: 'modal modal-desktop',
|
||||
@@ -497,6 +497,7 @@ export class GabineteDigitalPage implements OnInit {
|
||||
component: DespachosPage,
|
||||
componentProps:{
|
||||
profile: this.profile,
|
||||
serialNumber: this.serialNumber
|
||||
},
|
||||
cssClass: 'modal modal-desktop',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user