mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save mdgpr
This commit is contained in:
@@ -22,7 +22,7 @@ export class HomePage implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
//Initialize profile as mdgpr
|
//Initialize profile as mdgpr
|
||||||
this.profile = "pr";
|
this.profile = "mdgpr";
|
||||||
if(this.profile == "mdgpr"){
|
if(this.profile == "mdgpr"){
|
||||||
this.eventService.getAllMdEvents(formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
this.eventService.getAllMdEvents(formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 00:00:00', formatDate(new Date(), 'yyyy-MM-dd', 'pt') + ' 23:59:59').subscribe(res => {
|
||||||
this.eventsList = res;
|
this.eventsList = res;
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-buttons slot="end">
|
<ion-buttons slot="end">
|
||||||
<!-- customized TOGGLE button -->
|
<!-- customized TOGGLE button -->
|
||||||
<!-- <div class="toggleBox">
|
<div class="toggleBox">
|
||||||
<div (click)="changeProfile()" class="toggle">
|
<div (click)="changeProfile()" class="toggle">
|
||||||
<input type="checkbox">
|
<input type="checkbox">
|
||||||
<label for="" class="onbtn">PR</label>
|
<label for="" class="onbtn">PR</label>
|
||||||
<label for="" class="ofbtn">MDGPR</label>
|
<label for="" class="ofbtn">MDGPR</label>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
<ion-title>Agenda</ion-title>
|
<ion-title>Agenda</ion-title>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export class AgendaPage implements OnInit {
|
|||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.profile = "pr";
|
this.profile = "mdgpr";
|
||||||
//Inicializar segment
|
//Inicializar segment
|
||||||
/* localStorage.setItem('test', this.eventSelectedDate.toString()); */
|
/* localStorage.setItem('test', this.eventSelectedDate.toString()); */
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,13 @@
|
|||||||
</ion-label>
|
</ion-label>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-buttons slot="end">
|
<ion-buttons slot="end">
|
||||||
<!-- <div class="toggleBox">
|
<div class="toggleBox">
|
||||||
<div (click)="changeProfile()" class="toggle">
|
<div (click)="changeProfile()" class="toggle">
|
||||||
<input type="checkbox">
|
<input type="checkbox">
|
||||||
<label for="" class="onbtn">PR</label>
|
<label for="" class="onbtn">PR</label>
|
||||||
<label for="" class="ofbtn">MDGPR</label>
|
<label for="" class="ofbtn">MDGPR</label>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
</ion-buttons>
|
</ion-buttons>
|
||||||
</ion-toolbar>
|
</ion-toolbar>
|
||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ export class EventsPage implements OnInit {
|
|||||||
//Inicializar segment
|
//Inicializar segment
|
||||||
this.segment = "Combinada";
|
this.segment = "Combinada";
|
||||||
//Initialize profile as mdgpr
|
//Initialize profile as mdgpr
|
||||||
this.profile = "pr";
|
this.profile = "mdgpr";
|
||||||
console.log(this.profile);
|
console.log(this.profile);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -100,7 +100,7 @@ export class BookMeetingModalPage implements OnInit {
|
|||||||
|
|
||||||
this.processes.FindTaskDocId(this.task.SerialNumber).subscribe(res =>{
|
this.processes.FindTaskDocId(this.task.SerialNumber).subscribe(res =>{
|
||||||
if(res){
|
if(res){
|
||||||
this.calendarService.postExpedientEvent(res, this.postData, "pr",this.task.SerialNumber);
|
this.calendarService.postExpedientEvent(res, this.postData, "md",this.task.SerialNumber);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.distartExpedientModal();
|
this.distartExpedientModal();
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<ion-refresher-content>
|
<ion-refresher-content>
|
||||||
</ion-refresher-content>
|
</ion-refresher-content>
|
||||||
</ion-refresher>
|
</ion-refresher>
|
||||||
<!-- <ion-card color="#d4d5ca">
|
<ion-card color="#d4d5ca">
|
||||||
<ion-card-header>
|
<ion-card-header>
|
||||||
<ion-card-title>Eventos para Aprovação</ion-card-title>
|
<ion-card-title>Eventos para Aprovação</ion-card-title>
|
||||||
<ion-card-content>
|
<ion-card-content>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
</ion-card-header>
|
</ion-card-header>
|
||||||
</ion-card> -->
|
</ion-card>
|
||||||
<ion-card color="#d4d5ca">
|
<ion-card color="#d4d5ca">
|
||||||
<ion-card-header>
|
<ion-card-header>
|
||||||
<ion-card-title>Expediente</ion-card-title>
|
<ion-card-title>Expediente</ion-card-title>
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
</ion-card-header>
|
</ion-card-header>
|
||||||
</ion-card>
|
</ion-card>
|
||||||
<!-- <ion-card color="#d4d5ca">
|
<ion-card color="#d4d5ca">
|
||||||
<ion-card-header>
|
<ion-card-header>
|
||||||
<ion-card-title>Expediente para o PR</ion-card-title>
|
<ion-card-title>Expediente para o PR</ion-card-title>
|
||||||
<ion-card-content>
|
<ion-card-content>
|
||||||
@@ -80,6 +80,6 @@
|
|||||||
</ion-item>
|
</ion-item>
|
||||||
</ion-card-content>
|
</ion-card-content>
|
||||||
</ion-card-header>
|
</ion-card-header>
|
||||||
</ion-card> -->
|
</ion-card>
|
||||||
|
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const environment = {
|
|||||||
apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V3/api/',
|
apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V3/api/',
|
||||||
apiChatUrl: 'http://192.168.100.111:3000/api/v1/',
|
apiChatUrl: 'http://192.168.100.111:3000/api/v1/',
|
||||||
domain: 'gabinetedigital.local',
|
domain: 'gabinetedigital.local',
|
||||||
defaultuser: 'tiago.kayaya',
|
defaultuser: 'paulo.pinto',
|
||||||
defaultuserpwd: 'tabteste@006'
|
defaultuserpwd: 'tabteste@006'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user