mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -46,7 +46,7 @@ export class OptsExpedientePage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
close(){
|
close(){
|
||||||
if( window.innerWidth <= 1024){
|
if( window.innerWidth < 801){
|
||||||
this.popoverController.dismiss();
|
this.popoverController.dismiss();
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
@@ -69,13 +69,22 @@ export class OptsExpedientePage implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
this.activatedRoute.paramMap.subscribe(params => {
|
window.history.back();
|
||||||
|
|
||||||
|
/* this.activatedRoute.paramMap.subscribe(params => {
|
||||||
|
console.log('YES');
|
||||||
|
console.log(params);
|
||||||
|
|
||||||
|
|
||||||
switch (params["params"].caller) {
|
switch (params["params"].caller) {
|
||||||
case 'events':
|
case 'events':
|
||||||
|
console.log('here-1');
|
||||||
|
|
||||||
this.router.navigate(['/home',params["params"].caller]);
|
this.router.navigate(['/home',params["params"].caller]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'gabinete-digital':
|
case 'gabinete-digital':
|
||||||
|
console.log('here0');
|
||||||
let navigationExtras: NavigationExtras = {
|
let navigationExtras: NavigationExtras = {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
"expedientes": true,
|
"expedientes": true,
|
||||||
@@ -83,13 +92,15 @@ export class OptsExpedientePage implements OnInit {
|
|||||||
}
|
}
|
||||||
if( window.innerWidth < 801) {
|
if( window.innerWidth < 801) {
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||||
|
console.log('here');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user