mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change actions date field
This commit is contained in:
@@ -99,7 +99,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
CalendarNamesOptions
|
||||
testeFormDefaul = "Eudes"
|
||||
environment = environment
|
||||
|
||||
|
||||
constructor(
|
||||
private modalController: ModalController,
|
||||
private router:Router,
|
||||
@@ -122,7 +122,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
this.attachments = [this.document]
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
this.document = []
|
||||
|
||||
@@ -163,8 +163,8 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
this.adding = "intervenient";
|
||||
this.setDefaultTime()
|
||||
this.getRecurrenceTypes();
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
@@ -249,17 +249,17 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
this.CalendarNameShow = true
|
||||
|
||||
if(this._eventService.calendarNamesType[this.CalendarName]?.['Oficial'] && this._eventService.calendarNamesType[this.CalendarName]?.['Pessoal']) {
|
||||
|
||||
|
||||
this.CalendarNamesOptions = ['Oficial', 'Pessoal']
|
||||
|
||||
|
||||
} else if (this._eventService.calendarNamesType[this.CalendarName]?.['Oficial']) {
|
||||
this.CalendarNamesOptions = ['Oficial']
|
||||
this.postData.CalendarName = 'Oficial'
|
||||
|
||||
|
||||
} else if (this._eventService.calendarNamesType[this.CalendarName]?.['Pessoal']) {
|
||||
this.CalendarNamesOptions = ['Pessoal']
|
||||
this.postData.CalendarName = 'Pessoal'
|
||||
|
||||
|
||||
} else {
|
||||
this.CalendarNamesOptions = ['Oficial', 'Pessoal']
|
||||
}
|
||||
@@ -364,7 +364,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
this.setIntervenientCC(newAttendeesCC);
|
||||
}
|
||||
}, (error) => {
|
||||
// console.log(error)
|
||||
console.log(error)
|
||||
});
|
||||
|
||||
await modal.present()
|
||||
@@ -390,7 +390,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
backdropDismiss: false
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
modal.onDidDismiss().then((data) => {
|
||||
|
||||
@@ -423,7 +423,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
select: true
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
modal.onDidDismiss().then((res)=> {
|
||||
if(res){
|
||||
const data = res.data;
|
||||
@@ -460,7 +460,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
return '11:11'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
dynamicSetIntervenient({taskParticipants, taskParticipantsCc}) {
|
||||
this.taskParticipants = taskParticipants;
|
||||
this.taskParticipantsCc = taskParticipantsCc;
|
||||
@@ -485,7 +485,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
date.setSeconds(0);
|
||||
|
||||
if(minutes % 15 != 0) {
|
||||
|
||||
|
||||
if (minutes > 45) {
|
||||
date.setMinutes(60)
|
||||
} else if (minutes > 30) {
|
||||
@@ -496,7 +496,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
date.setMinutes(15)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return date
|
||||
}
|
||||
@@ -505,7 +505,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
const _date = new Date(date);
|
||||
const minutes = _date .getMinutes();
|
||||
_date .setMinutes(minutes + 15)
|
||||
return _date
|
||||
return _date
|
||||
}
|
||||
|
||||
checkRoleInArray(str) {
|
||||
@@ -513,4 +513,4 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user