mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +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() {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user