mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
added new fecture for presatation day
This commit is contained in:
@@ -371,6 +371,6 @@
|
||||
<ion-footer class="background-whit">
|
||||
<div class="buttons">
|
||||
<button class="btn-cancel cursor-pointer" shape="round" (click)="close()">Cancelar</button>
|
||||
<button class="btn-ok cursor-pointer" shape="round" (click)="gravasAction()">Gravar</button>
|
||||
<button class="btn-ok cursor-pointer" shape="round" (click)="gravasAction()">Enviar</button>
|
||||
</div>
|
||||
</ion-footer>
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
<div class="list-people">
|
||||
<ion-item lines="none">
|
||||
<ion-list>
|
||||
<div *ngIf="taskParticipants?.length < 1" class="list-people-title">Adicionar intervenientes</div>
|
||||
<div *ngIf="taskParticipants?.length < 1" class="list-people-title">Adicionar intervenientes*</div>
|
||||
<div *ngFor="let participant of taskParticipants">{{participant.Name}}</div>
|
||||
</ion-list>
|
||||
</ion-item>
|
||||
@@ -321,7 +321,7 @@
|
||||
<ion-title></ion-title>
|
||||
<ion-buttons slot="end">
|
||||
<button class="btn-ok" fill="clear" color="#fff" (click)="save()">
|
||||
<ion-label>Gravar</ion-label>
|
||||
<ion-label>Enviar</ion-label>
|
||||
</button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
|
||||
@@ -123,8 +123,6 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
this.initCalendarName = this.postEvent.CalendarName;
|
||||
|
||||
this.loadedEventAttachments = this.loadedEventAttachments.concat(this.postEvent.Attachments)
|
||||
|
||||
this.getRecurrenceTypes();
|
||||
|
||||
setTimeout(() => {
|
||||
@@ -136,7 +134,7 @@ export class EditEventPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnChanges(changes: any): void {
|
||||
this.loadedEventAttachments = this.loadedEventAttachments.concat(this.postEvent.Attachments)
|
||||
this.loadedEventAttachments = this.postEvent.Attachments
|
||||
}
|
||||
|
||||
close() {
|
||||
@@ -484,8 +482,8 @@ export class EditEventPage implements OnInit {
|
||||
}
|
||||
});
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then( async (res)=>{
|
||||
if(res){
|
||||
modal.onDidDismiss().then( async (res) => {
|
||||
if(res) {
|
||||
const data = res.data;
|
||||
|
||||
const ApplicationIdDocumentToSave: any = {
|
||||
@@ -495,7 +493,6 @@ export class EditEventPage implements OnInit {
|
||||
Stakeholders: data.selected.Stakeholders | data.selected.EntidadeOrganicaNome,
|
||||
ApplicationId: data.selected.ApplicationType.toString(),
|
||||
CreateDate: data.selected.Data,
|
||||
// needed to attach this document
|
||||
Id: 'add',
|
||||
SourceTitle: data.selected.Assunto,
|
||||
Source: '1',
|
||||
@@ -503,7 +500,6 @@ export class EditEventPage implements OnInit {
|
||||
SerialNumber: '',
|
||||
}
|
||||
|
||||
|
||||
this.loadedEventAttachments.push(ApplicationIdDocumentToSave)
|
||||
|
||||
}
|
||||
|
||||
@@ -341,7 +341,7 @@
|
||||
<ion-title></ion-title>
|
||||
<ion-buttons slot="end">
|
||||
<button class="btn-ok" fill="clear" color="#fff" (click)="save()">
|
||||
<ion-label>Gravar</ion-label>
|
||||
<ion-label>Enviar</ion-label>
|
||||
</button>
|
||||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
|
||||
Reference in New Issue
Block a user