mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Agenda noclatura completed
This commit is contained in:
@@ -61,8 +61,8 @@
|
|||||||
<mat-select [(value)]="CalendarName" (selectionChange)="changeAgenda()">
|
<mat-select [(value)]="CalendarName" (selectionChange)="changeAgenda()">
|
||||||
|
|
||||||
<mat-option *ngFor="let calendars of _eventService.calendarNamesAry" value="{{calendars}}">
|
<mat-option *ngFor="let calendars of _eventService.calendarNamesAry" value="{{calendars}}">
|
||||||
<div *ngIf="calendars != 'Meu calendario' "> Calendário de {{calendars}} </div>
|
<div *ngIf="calendars != 'Meu calendario' "> Agenda de {{calendars}} </div>
|
||||||
<div *ngIf="calendars == 'Meu calendario'"> {{calendars}} </div>
|
<div *ngIf="calendars == 'Meu calendario'"> Agenda de {{loggeduser.FullName}} </div>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -219,8 +219,8 @@
|
|||||||
<!-- List -->
|
<!-- List -->
|
||||||
<ul *ngIf="showTimelineFilterState">
|
<ul *ngIf="showTimelineFilterState">
|
||||||
<li class="changeText" [class.active]="segment == 'Combinado' " (click)="changeSegment('Combinado')" class="cursor-pointer">Todos</li>
|
<li class="changeText" [class.active]="segment == 'Combinado' " (click)="changeSegment('Combinado')" class="cursor-pointer">Todos</li>
|
||||||
<li class="changeText" [class.active]="segment == 'Oficial' " (click)="changeSegment('Oficial')" class="cursor-pointer">Oficial</li>
|
<li class="changeText" [class.active]="segment == 'Oficial' " (click)="changeSegment('Oficial')" class="cursor-pointer">Calendário Oficial</li>
|
||||||
<li class="changeText" [class.active]="segment == 'Pessoal' " (click)="changeSegment('Pessoal')" class="cursor-pointer">Pessoal</li>
|
<li class="changeText" [class.active]="segment == 'Pessoal' " (click)="changeSegment('Pessoal')" class="cursor-pointer">Calendário Pessoal</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</ion-row>
|
</ion-row>
|
||||||
@@ -228,11 +228,14 @@
|
|||||||
|
|
||||||
<div class="calendar-title-container px-20 d-none d-md-flex">
|
<div class="calendar-title-container px-20 d-none d-md-flex">
|
||||||
<div class="calendar-title-description flex-grow-1 text-grey d-flex justify-center align-center" *ngIf="eventService.hasOwnCalendar">
|
<div class="calendar-title-description flex-grow-1 text-grey d-flex justify-center align-center" *ngIf="eventService.hasOwnCalendar">
|
||||||
<div >Meu Calendário</div>
|
<div >Agenda de {{loggeduser.FullName}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="calendar-title-description text-black align-center" *ngIf="eventService.hasSharedCalendar">
|
<div class="calendar-title-description text-black align-center" *ngIf="eventService.hasSharedCalendar">
|
||||||
<div class="flex-grow-1 text-grey d-flex justify-center align-center">
|
<div class="flex-grow-1 text-grey d-flex justify-center align-center">
|
||||||
<div >Calendário Partilhado</div>
|
|
||||||
|
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars}}">
|
||||||
|
<div *ngIf="calendars != 'Meu calendario' "> Agenda de {{calendars}} </div>
|
||||||
|
</mat-option>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -281,7 +284,8 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<p class="m-0">{{event.event.Subject}}</p>
|
<p class="m-0">{{event.event.Subject}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="font-13"> {{ eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) }}</div>
|
<div class="font-13"*ngIf="eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) == 'Meu calendario'">{{loggeduser.FullName}} </div>
|
||||||
|
<ng-template #other_content>{{eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId)}}</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -322,7 +326,8 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<p class="m-0">{{event.event.Subject}}</p>
|
<p class="m-0">{{event.event.Subject}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="font-13"> {{ eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) }}</div>
|
<div class="font-13"*ngIf="eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) == 'Meu calendario'">{{loggeduser.FullName}} </div>
|
||||||
|
<ng-template #other_content>{{eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId)}}</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -364,7 +369,8 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<p class="m-0">{{event.event.Subject}}</p>
|
<p class="m-0">{{event.event.Subject}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="font-13"> {{ eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) }}</div>
|
<div class="font-13"*ngIf="eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId) == 'Meu calendario'"> {{loggeduser.FullName}} </div>
|
||||||
|
<ng-template #other_content>{{eventService.getCalendarOwnNameByCalendarId(event.event.CalendarId)}}</ng-template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ export class AgendaPage implements OnInit {
|
|||||||
private backgroundservice: BackgroundService,
|
private backgroundservice: BackgroundService,
|
||||||
public ThemeService: ThemeService,
|
public ThemeService: ThemeService,
|
||||||
private storage:Storage,
|
private storage:Storage,
|
||||||
public p: PermissionService
|
public p: PermissionService,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
this.dateAdapter.setLocale('es');
|
this.dateAdapter.setLocale('es');
|
||||||
|
|||||||
@@ -64,10 +64,10 @@
|
|||||||
<mat-form-field appearance="none" floatLabel="never" class="width-100 " >
|
<mat-form-field appearance="none" floatLabel="never" class="width-100 " >
|
||||||
<mat-select placeholder="Selecione agenda*" [(ngModel)]="postEvent.CalendarName" >
|
<mat-select placeholder="Selecione agenda*" [(ngModel)]="postEvent.CalendarName" >
|
||||||
<mat-option value="Oficial">
|
<mat-option value="Oficial">
|
||||||
Oficial
|
Calendário Oficial
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option value="Pessoal">
|
<mat-option value="Pessoal">
|
||||||
Pessoal
|
Calendário Pessoal
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
<mat-select [(value)]="CalendarName" (selectionChange)="changeAgenda()">
|
<mat-select [(value)]="CalendarName" (selectionChange)="changeAgenda()">
|
||||||
|
|
||||||
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars}}">
|
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars}}">
|
||||||
<div *ngIf="calendars != 'Meu calendario' "> Calendário de {{calendars}} </div>
|
<div *ngIf="calendars != 'Meu calendario' "> Agenda de {{calendars}} </div>
|
||||||
<div *ngIf="calendars == 'Meu calendario'"> {{calendars}} </div>
|
<div *ngIf="calendars == 'Meu calendario'"> Agenda de {{loggeduser.FullName}} </div>
|
||||||
|
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<mat-form-field appearance="none" class="width-100" color="ion-color-secondary" placeholder="Selecione agenda">
|
<mat-form-field appearance="none" class="width-100" color="ion-color-secondary" placeholder="Selecione agenda">
|
||||||
<mat-select [(value)]="postEvent.CalendarName" >
|
<mat-select [(value)]="postEvent.CalendarName" >
|
||||||
<mat-option *ngFor="let calendars of CalendarNamesOptions" value="{{calendars}}">
|
<mat-option *ngFor="let calendars of CalendarNamesOptions" value="{{calendars}}">
|
||||||
{{ calendars }}
|
Calendário {{ calendars }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|||||||
+2
-2
@@ -35,8 +35,8 @@
|
|||||||
<mat-select [(value)]="CalendarOwnerName" (selectionChange)="changeAgenda()">
|
<mat-select [(value)]="CalendarOwnerName" (selectionChange)="changeAgenda()">
|
||||||
|
|
||||||
<mat-option *ngFor="let calendars of calendarService.calendarNamesAry" value="{{calendars}}">
|
<mat-option *ngFor="let calendars of calendarService.calendarNamesAry" value="{{calendars}}">
|
||||||
<div *ngIf="calendars != 'Meu calendario' "> Calendário de {{calendars}} </div>
|
<div *ngIf="calendars != 'Meu calendario' "> Agenda de {{calendars}} </div>
|
||||||
<div *ngIf="calendars == 'Meu calendario'"> {{calendars}} </div>
|
<div *ngIf="calendars == 'Meu calendario'"> Agenda de {{loggeduser.FullName}} </div>
|
||||||
|
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
|
|||||||
@@ -65,8 +65,8 @@
|
|||||||
interface="action-sheet" Cancel-text="Cancelar"
|
interface="action-sheet" Cancel-text="Cancelar"
|
||||||
required
|
required
|
||||||
>
|
>
|
||||||
<ion-select-option value="Oficial">Oficial</ion-select-option>
|
<ion-select-option value="Oficial">Calendário Oficial</ion-select-option>
|
||||||
<ion-select-option value="Pessoal">Pessoal</ion-select-option>
|
<ion-select-option value="Pessoal">Calendário Pessoal</ion-select-option>
|
||||||
</ion-select>
|
</ion-select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
|
<ion-segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
|
||||||
<ion-segment-button value="MDGPR">
|
<ion-segment-button value="MDGPR">
|
||||||
Meu Calendário
|
Agenda de {{loggeduser.FullName}}
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
<ion-segment-button value="PR">
|
<ion-segment-button value="PR">
|
||||||
Calendário Partilhado
|
Calendário Partilhado
|
||||||
|
|||||||
@@ -40,13 +40,12 @@
|
|||||||
<mat-select [(value)]="CalendarName" (selectionChange)="changeAgenda()">
|
<mat-select [(value)]="CalendarName" (selectionChange)="changeAgenda()">
|
||||||
|
|
||||||
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars}}">
|
<mat-option *ngFor="let calendars of eventService.calendarNamesAry" value="{{calendars}}">
|
||||||
<div *ngIf="calendars != 'Meu calendario' "> Calendário de {{calendars}} </div>
|
<div *ngIf="calendars != 'Meu calendario' "> Agenda de {{calendars}} </div>
|
||||||
<div *ngIf="calendars == 'Meu calendario'"> {{calendars}} </div>
|
<div *ngIf="calendars == 'Meu calendario'"> Agenda de {{loggeduser.FullName}} </div>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -76,7 +75,7 @@
|
|||||||
<mat-select [(value)]="postEvent.CalendarName" >
|
<mat-select [(value)]="postEvent.CalendarName" >
|
||||||
|
|
||||||
<mat-option *ngFor="let calendars of CalendarNamesOptions" value="{{calendars}}">
|
<mat-option *ngFor="let calendars of CalendarNamesOptions" value="{{calendars}}">
|
||||||
{{ calendars }}
|
Calendário {{ calendars }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@@ -56,10 +56,10 @@
|
|||||||
<mat-form-field appearance="none" class="width-100" >
|
<mat-form-field appearance="none" class="width-100" >
|
||||||
<mat-select placeholder="Selecione agenda" [(ngModel)]="eventProcess.workflowInstanceDataFields.Agenda" >
|
<mat-select placeholder="Selecione agenda" [(ngModel)]="eventProcess.workflowInstanceDataFields.Agenda" >
|
||||||
<mat-option value="Oficial">
|
<mat-option value="Oficial">
|
||||||
Oficial
|
Calendário Oficial
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option value="Pessoal">
|
<mat-option value="Pessoal">
|
||||||
Pessoal
|
Calendário Pessoal
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<ion-toolbar>
|
<ion-toolbar>
|
||||||
<ion-segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
|
<ion-segment [(ngModel)]="segment" (ionChange)="segmentChanged($event)">
|
||||||
<ion-segment-button value="MDGPR">
|
<ion-segment-button value="MDGPR">
|
||||||
Meu Calendário
|
Agenda de {{loggeduser.FullName}}
|
||||||
</ion-segment-button>
|
</ion-segment-button>
|
||||||
<ion-segment-button value="PR">
|
<ion-segment-button value="PR">
|
||||||
Calendário Partilhado
|
Calendário Partilhado
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
// apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
// apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
||||||
apiURL: 'https://gd-api.oapr.gov.ao/GabineteDigital.Services/V5/api/',
|
apiURL: 'https://gd-api.oapr.gov.ao/api/',
|
||||||
// apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/',
|
// apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V5/api/',
|
||||||
// apiChatUrl: 'http://192.168.0.29:3000/api/v1/',
|
// apiChatUrl: 'http://192.168.0.29:3000/api/v1/',
|
||||||
// apiWsChatUrl: 'wss://192.168.0.29:3000/websocket',
|
// apiWsChatUrl: 'wss://192.168.0.29:3000/websocket',
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
//apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
//apiURL: 'https://gabinetedigital.dyndns.info/GabineteDigital.Services/V5/api/',
|
||||||
apiURL: 'https://gd-api.oapr.gov.ao/GabineteDigital.Services/V5/api/',
|
apiURL: 'https://gd-api.oapr.gov.ao/api/',
|
||||||
//apiURL: 'https://gdapi-dev.dyndns.info/GabineteDigital.Services/V5/api/',
|
//apiURL: 'https://gdapi-dev.dyndns.info/GabineteDigital.Services/V5/api/',
|
||||||
apiChatUrl: 'https://gd-chat.oapr.gov.ao/api/v1/',
|
apiChatUrl: 'https://gd-chat.oapr.gov.ao/api/v1/',
|
||||||
apiWsChatUrl: 'ws://gd-chat.oapr.gov.ao/websocket',
|
apiWsChatUrl: 'ws://gd-chat.oapr.gov.ao/websocket',
|
||||||
|
|||||||
Reference in New Issue
Block a user