mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
remove console logs
This commit is contained in:
@@ -126,10 +126,10 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
|
||||
if (!this.CalendarName) {
|
||||
console.log('true', this.eventService.calendarNamesAry.includes('Meu calendario'))
|
||||
// console.log('true', this.eventService.calendarNamesAry.includes('Meu calendario'))
|
||||
if (this.eventService.calendarNamesAry.includes('Meu calendario')) {
|
||||
this.CalendarName = 'Meu calendario';
|
||||
console.log(this.eventService.calendarNamesAry)
|
||||
// console.log(this.eventService.calendarNamesAry)
|
||||
} else {
|
||||
this.CalendarName = this.eventService.calendarNamesAry[0]
|
||||
}
|
||||
@@ -391,7 +391,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
|
||||
async save() {
|
||||
|
||||
|
||||
this.injectValidation()
|
||||
this.runValidation()
|
||||
|
||||
@@ -433,7 +433,7 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
} else if (this.loggeduser.Profile == 'SGGPR') {
|
||||
|
||||
|
||||
|
||||
this.saveAproveEvent();
|
||||
|
||||
|
||||
@@ -622,23 +622,23 @@ export class NewEventPage implements OnInit {
|
||||
|
||||
checkRoleInArray() {
|
||||
for (let index = 0; index < this.eventService.calendarNamesAry.length; index++) {
|
||||
console.log('ROLE1', this.eventService.calendarNamesAry[index])
|
||||
// console.log('ROLE1', this.eventService.calendarNamesAry[index])
|
||||
|
||||
}
|
||||
|
||||
for (let index = 0; index < this.eventService.calendarRole.length; index++) {
|
||||
console.log('ROLE2', this.eventService.calendarRole[index])
|
||||
// console.log('ROLE2', this.eventService.calendarRole[index])
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//Deve ser removido posteriormente
|
||||
//Deve ser removido posteriormente
|
||||
async saveAproveEvent() {
|
||||
|
||||
console.log(this.postEvent)
|
||||
console.log(this.postEvent.CalendarName)
|
||||
console.log(this.CalendarName)
|
||||
console.log(this.eventService.calendarNamesAry)
|
||||
// console.log(this.postEvent)
|
||||
// console.log(this.postEvent.CalendarName)
|
||||
// console.log(this.CalendarName)
|
||||
// console.log(this.eventService.calendarNamesAry)
|
||||
const CalendarId = this.selectedCalendarId()
|
||||
|
||||
let selectedCalendar
|
||||
@@ -682,7 +682,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
if (DocumentToSave.length == 0) {
|
||||
this.afterSave();
|
||||
} */
|
||||
@@ -725,7 +725,7 @@ export class NewEventPage implements OnInit {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
if (DocumentToSave.length == 0) {
|
||||
this.afterSave();
|
||||
} */
|
||||
|
||||
@@ -657,13 +657,13 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
800, // maxHeight
|
||||
0.9 // quality
|
||||
).then((picture) => {
|
||||
console.log('Selected: ', picture)
|
||||
// console.log('Selected: ', picture)
|
||||
imageBase64 = picture
|
||||
});
|
||||
|
||||
const blob = this.dataURItoBlob(imageBase64)
|
||||
|
||||
console.log(imageBase64)
|
||||
// console.log(imageBase64)
|
||||
|
||||
const formData = new FormData();
|
||||
formData.append("blobFile", blob);
|
||||
@@ -720,7 +720,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
|
||||
800, // maxHeight
|
||||
0.9 // quality
|
||||
).then((picture) => {
|
||||
console.log('Selected: ', picture)
|
||||
// console.log('Selected: ', picture)
|
||||
imageBase64 = picture
|
||||
});
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ export class DespachoPage implements OnInit {
|
||||
this.processes.GetTask(serial).subscribe((res: fullTask) => {
|
||||
this.TaskService.loadDiplomas();
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
console.log('sring to array', stringDraft)
|
||||
// console.log('sring to array', stringDraft)
|
||||
let split_stringDraft = stringDraft?.split(";").filter(Boolean);
|
||||
|
||||
this.mergedArray = []
|
||||
@@ -148,7 +148,7 @@ export class DespachoPage implements OnInit {
|
||||
this.fulltask = res;
|
||||
|
||||
this.getDocumentPdf(this.fulltask.Documents)
|
||||
|
||||
|
||||
console.log('All', this.mergedArray)
|
||||
|
||||
let thedate = new Date(this.task.CreateDate);
|
||||
@@ -201,7 +201,7 @@ export class DespachoPage implements OnInit {
|
||||
}
|
||||
getDraft(split_stringDraft: string[]) {
|
||||
split_stringDraft.forEach(element => {
|
||||
console.log('List of ids', element)
|
||||
// console.log('List of ids', element)
|
||||
this.processes.GetDraftByID(element).subscribe((resd) => {
|
||||
let object = {
|
||||
"ApplicationId": "",
|
||||
@@ -218,7 +218,7 @@ export class DespachoPage implements OnInit {
|
||||
"status": resd.data.status,
|
||||
}
|
||||
this.mergedArray.push(object)
|
||||
console.log('List of draff', resd)
|
||||
// console.log('List of draff', resd)
|
||||
})
|
||||
|
||||
});
|
||||
@@ -486,9 +486,9 @@ export class DespachoPage implements OnInit {
|
||||
if(res.data?.action != 'cancel') {
|
||||
this.goBack();
|
||||
}
|
||||
|
||||
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
// console.log(error)
|
||||
});
|
||||
|
||||
await modal.present();
|
||||
@@ -562,7 +562,7 @@ export class DespachoPage implements OnInit {
|
||||
modal.onDidDismiss().then(res => {
|
||||
if (res['data'] == 'close') {
|
||||
this.close();
|
||||
/*
|
||||
/*
|
||||
this.close();
|
||||
this.openMenu(); */
|
||||
}
|
||||
|
||||
+1
-1
@@ -516,7 +516,7 @@ export class BookMeetingModalPage implements OnInit {
|
||||
if (res) {
|
||||
const data = res.data;
|
||||
this.documents.push(data.selected);
|
||||
console.log(this.documents)
|
||||
// console.log(this.documents)
|
||||
}
|
||||
}, (error) => {
|
||||
console.log(error)
|
||||
|
||||
Reference in New Issue
Block a user