mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Merge
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
</div>
|
||||
</ion-header>
|
||||
</div>
|
||||
<ion-item-sliding class="overflow-y-auto">
|
||||
<ion-item-sliding class="overflow-y-auto" >
|
||||
<div class="px-20">
|
||||
<div class="ion-item-container width-100">
|
||||
<ion-input placeholder="Assunto*" [(ngModel)]="eventProcess.workflowInstanceDataFields.Subject"></ion-input>
|
||||
|
||||
@@ -41,7 +41,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
public stepHour = 1;
|
||||
public stepMinute = 5;
|
||||
public stepSecond = 5;
|
||||
|
||||
public dateControlStart = new FormControl(moment("DD MM YYYY hh"));
|
||||
public dateControlEnd = new FormControl(moment("DD MM YYYY hh"));
|
||||
|
||||
@@ -88,7 +87,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
show = false
|
||||
isRecurring:string;
|
||||
isEventEdited: boolean;
|
||||
segment:string = "true";
|
||||
profile:string;
|
||||
eventAttendees: EventPerson[];
|
||||
|
||||
@@ -101,7 +99,7 @@ export class EditEventToApprovePage implements OnInit {
|
||||
|
||||
showAttendees = false;
|
||||
|
||||
InstanceId: string
|
||||
InstanceId: string;
|
||||
|
||||
@Output() openAttendeesComponent = new EventEmitter<any>();
|
||||
@Output() clearContact = new EventEmitter<any>();
|
||||
@@ -109,6 +107,8 @@ export class EditEventToApprovePage implements OnInit {
|
||||
@Output() setIntervenientCC = new EventEmitter<any>();
|
||||
@Output() closeComponent = new EventEmitter<any>();
|
||||
|
||||
@Input() saveData: any;
|
||||
|
||||
constructor(
|
||||
private modalController: ModalController,
|
||||
private eventsService: EventsService,
|
||||
@@ -117,9 +117,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
private processes:ProcessesService,
|
||||
private toastService: ToastService,
|
||||
) {
|
||||
|
||||
/* this.serialNumber = this.navParams.get('serialNumber'); */
|
||||
|
||||
this.isEventEdited = false;
|
||||
|
||||
}
|
||||
@@ -221,7 +218,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
ReviewUserComment: ''
|
||||
}
|
||||
|
||||
console.log(event);
|
||||
|
||||
this.eventsService.postEventToApproveEdit(event).subscribe(()=>{
|
||||
this.toastService.successMessage('Evento editado');
|
||||
@@ -229,7 +225,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
this.toastService.badRequest('Evento não editado');
|
||||
})
|
||||
|
||||
|
||||
this.loadedAttachments.forEach((document:any)=>{
|
||||
if(document['action'] == 'add') {
|
||||
delete document.action
|
||||
@@ -249,7 +244,6 @@ export class EditEventToApprovePage implements OnInit {
|
||||
|
||||
})
|
||||
|
||||
|
||||
this.modalController.dismiss();
|
||||
|
||||
}
|
||||
@@ -281,21 +275,21 @@ export class EditEventToApprovePage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
async addParticipants() {
|
||||
// async addParticipants() {
|
||||
|
||||
//this.saveTemporaryData();
|
||||
// //this.saveTemporaryData();
|
||||
|
||||
this.openAttendeesComponent.emit({
|
||||
type: "intervenient"
|
||||
});
|
||||
// this.openAttendeesComponent.emit({
|
||||
// type: "intervenient"
|
||||
// });
|
||||
|
||||
this.clearContact.emit();
|
||||
}
|
||||
// this.clearContact.emit();
|
||||
// }
|
||||
|
||||
|
||||
async addParticipantsCC() {
|
||||
|
||||
//this.saveTemporaryData();
|
||||
// //this.saveTemporaryData();
|
||||
|
||||
this.openAttendeesComponent.emit({
|
||||
type: "CC"
|
||||
@@ -331,6 +325,8 @@ export class EditEventToApprovePage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
// this.clearContact.emit();
|
||||
// }
|
||||
|
||||
async getAttachments() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user