set expediente as default and fix assinar diploma

This commit is contained in:
peter.maquiran
2026-01-06 11:58:59 +01:00
parent c14431034c
commit 2673f8a17a
5 changed files with 66 additions and 15 deletions
@@ -271,7 +271,7 @@ export class DiplomaAssinarPage implements OnInit {
async AssinarDraft() {
//if (this.asDraft) {
if (this.asDraft) {
const modal = await this.modalController.create({
component: PopupQuestionPage,
componentProps: {
@@ -315,10 +315,9 @@ export class DiplomaAssinarPage implements OnInit {
});
await modal.present();
//} else {
} else {
this.httpErroHandle.validationMessagge("diplomaAsDraft");
//}
}
}
async openAddNoteModal(actionName: string) {
@@ -342,8 +342,17 @@ export class GabineteDigitalPage implements OnInit {
}
checkUser() {
this.selectedElement = 'allProcessesTag';
this.showAllProcesses = true;
if(SessionStore.user.Profile != 'PR') {
this.selectedElement = 'Correspondence'
let navigationExtras: NavigationExtras = { queryParams: { "expedientes": true, } };
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
this.showExpedients = true;
} else if(SessionStore.user.Profile == 'PR') {
this.selectedElement = 'ExpedientesPr'
let navigationExtras: NavigationExtras = { queryParams: { "expedientes": true, } };
this.router.navigate(['/home/gabinete-digital'], navigationExtras);
this.showExpedientesPr = true;
}
}
hideRefreshButton() {