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:
@@ -111,7 +111,9 @@ export class EventsPage implements OnInit {
|
|||||||
this.router.events.forEach((event) => {
|
this.router.events.forEach((event) => {
|
||||||
if(event instanceof NavigationEnd && event.url == '/home/events') {
|
if(event instanceof NavigationEnd && event.url == '/home/events') {
|
||||||
this.RefreshEvents();
|
this.RefreshEvents();
|
||||||
|
setTimeout(()=>{
|
||||||
this.LoadList();
|
this.LoadList();
|
||||||
|
}, 1500)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.hideSearch();
|
this.hideSearch();
|
||||||
@@ -362,7 +364,7 @@ export class EventsPage implements OnInit {
|
|||||||
|
|
||||||
viewExpedientListPage(){
|
viewExpedientListPage(){
|
||||||
if(this.loggeduser.Profile == 'MDGPR'){
|
if(this.loggeduser.Profile == 'MDGPR'){
|
||||||
if( window.innerWidth < 801){
|
if( window.innerWidth < 701){
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
@@ -371,7 +373,7 @@ export class EventsPage implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(this.loggeduser.Profile == 'PR'){
|
else if(this.loggeduser.Profile == 'PR'){
|
||||||
if( window.innerWidth < 801){
|
if( window.innerWidth < 701){
|
||||||
this.router.navigate(['/home/gabinete-digital/expedientes-pr']);
|
this.router.navigate(['/home/gabinete-digital/expedientes-pr']);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
+1
-1
@@ -143,7 +143,7 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
|
|
||||||
async openAddNoteModal(actionName:string) {
|
async openAddNoteModal(actionName:string) {
|
||||||
let classs;
|
let classs;
|
||||||
if( window.innerWidth < 801) {
|
if( window.innerWidth < 701) {
|
||||||
classs = 'modal modal-desktop'
|
classs = 'modal modal-desktop'
|
||||||
} else {
|
} else {
|
||||||
classs = 'add-note-modal'
|
classs = 'add-note-modal'
|
||||||
|
|||||||
Reference in New Issue
Block a user