mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
set expediente as default and fix assinar diploma
This commit is contained in:
+3
-4
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user