mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Improve
This commit is contained in:
+31
-3
@@ -39,6 +39,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
intervenientes: any;
|
||||
cc: any = [];
|
||||
|
||||
|
||||
constructor(private activateRoute: ActivatedRoute,
|
||||
private processes: ProcessesService,
|
||||
private iab: InAppBrowser,
|
||||
@@ -79,16 +80,43 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
this.LoadRelatedEvents(this.serialnumber);
|
||||
}
|
||||
|
||||
close(){
|
||||
close() {
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
|
||||
showToast(){
|
||||
showToast() {
|
||||
this.toastService.presentToast('Não foi possível fazer login"');
|
||||
}
|
||||
|
||||
goBack() {
|
||||
window.history.back()
|
||||
|
||||
|
||||
this.activatedRoute.queryParams.subscribe(params => {
|
||||
if(params["from"] == "inicio") {
|
||||
|
||||
this.router.navigate(['/home/events']);
|
||||
|
||||
} else {
|
||||
|
||||
let navigationExtras: NavigationExtras = {
|
||||
queryParams: {
|
||||
"expedientes": true
|
||||
}
|
||||
};
|
||||
|
||||
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
|
||||
|
||||
}
|
||||
|
||||
if (params["type"] == 'pendentes') {
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* goBack(){
|
||||
|
||||
Reference in New Issue
Block a user