mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Notification for Eventos para aprovação changed to agenda and notification diploma-assinar open bug fixed
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<name>gabinete digital</name>
|
<name>gabinete digital</name>
|
||||||
<description>An awesome Ionic/Cordova app.</description>
|
<description>An awesome Ionic/Cordova app.</description>
|
||||||
<author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
|
<author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
|
||||||
<content src="index.html" />
|
<content original-src="index.html" src="http://localhost:8100" />
|
||||||
<access origin="*" />
|
<access origin="*" />
|
||||||
<allow-navigation href="http://*/*" />
|
<allow-navigation href="http://*/*" />
|
||||||
<allow-navigation href="https://*/*" />
|
<allow-navigation href="https://*/*" />
|
||||||
|
|||||||
@@ -145,14 +145,16 @@ export class ProfilePage implements OnInit {
|
|||||||
|
|
||||||
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
|
notificatinsRoutes = (index, Service, Object, IdObject, FolderId) => {
|
||||||
|
|
||||||
if (Service === "agenda") {
|
if (Service === "agenda" && IdObject.length > 10) {
|
||||||
|
console.log("Id Lenght",IdObject.length)
|
||||||
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
|
this.zone.run(() => this.router.navigate(['/home/agenda', IdObject, 'agenda']));
|
||||||
}
|
}
|
||||||
else if (Service === "gabinete-digital" && Object === "expediente") {
|
else if (Service === "gabinete-digital" && Object === "expediente") {
|
||||||
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expediente', IdObject, 'gabinete-digital']));
|
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expediente', IdObject, 'gabinete-digital']));
|
||||||
}
|
}
|
||||||
else if (Service === "gabinete-digital" && Object === "event-list") {
|
else if (Service === "agenda" && Object === "event-list") {
|
||||||
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/event-list/approve-event',IdObject, 'gabinete-digital']));
|
//this.zone.run(() => this.router.navigate(['/home/gabinete-digital/event-list/approve-event',IdObject, 'agenda']));
|
||||||
|
this.zone.run(() =>this.router.navigate(['/home/agenda/event-list/approve-event',IdObject, 'agenda']));
|
||||||
|
|
||||||
} else if (Service === "gabinete-digital" && Object === "despachos") {
|
} else if (Service === "gabinete-digital" && Object === "despachos") {
|
||||||
|
|
||||||
@@ -180,12 +182,8 @@ export class ProfilePage implements OnInit {
|
|||||||
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/diplomas', IdObject, 'gabinete-digital']));
|
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/diplomas', IdObject, 'gabinete-digital']));
|
||||||
}
|
}
|
||||||
else if (Service === "gabinete-digital" && Object === "diplomas-assinar") {
|
else if (Service === "gabinete-digital" && Object === "diplomas-assinar") {
|
||||||
let navigationExtras: NavigationExtras = {
|
|
||||||
queryParams: {
|
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/diplomas-assinar',IdObject,'gabinete-digital']));
|
||||||
"serialNumber": IdObject,
|
|
||||||
}
|
|
||||||
};
|
|
||||||
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/diplomas-assinar/diploma-assinar'], navigationExtras));
|
|
||||||
}
|
}
|
||||||
else if (Service === "gabinete-digital" && Object === "expedientes-pr") {
|
else if (Service === "gabinete-digital" && Object === "expedientes-pr") {
|
||||||
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expedientes-pr', IdObject, 'gabinete-digital']));
|
this.zone.run(() => this.router.navigate(['/home/gabinete-digital/expedientes-pr', IdObject, 'gabinete-digital']));
|
||||||
|
|||||||
Reference in New Issue
Block a user