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() {
+3 -3
View File
@@ -4,9 +4,9 @@ import { Environment } from './../../app/models/envarioment'
export const DevDev: Environment = {
id:'3',
apiURLStage: 'https://gdapi-dev.dyndns.info/stage/api/v2/',
apiURL: 'https://gdapi-dev.dyndns.info/jwt/api/',
apiPCURL: 'https://gdcmapi-dev.dyndns.info/api/',
apiURLStage: 'https://gdapi-dev.doneit.co.ao/stage/api/v2/',
apiURL: 'https://gdapi-dev.doneit.co.ao/jwt/api/',
apiPCURL: 'https://gdapi-dev.doneit.co.ao/api/',
logoLabel: 'Presidente da República',
despachoLabel: 'Presidenciais',
despachoLabel2: 'Despachos Presidênciais',