Remove relevant console log,

This commit is contained in:
Eudes Inácio
2022-04-28 09:32:27 +01:00
parent 3021e8b0e1
commit 2826cea9df
153 changed files with 1001 additions and 1132 deletions
@@ -74,10 +74,8 @@ export class ApproveEventModalPage implements OnInit {
getTask() {
this.processes.GetTask(this.serialNumber).subscribe(res => {
console.log('GET TASK SERIALNUMBER: ', this.serialNumber,'Approve event',res);
this.loadedEvent = res;
this.today = new Date(res.workflowInstanceDataFields.StartDate);
console.log(new Date(this.today));
this.customDate = this.days[this.today.getDay()]+ ", " + this.today.getDate() +" de " + ( this.months[this.today.getMonth()]);
this.InstanceId = res.workflowInstanceDataFields.InstanceId
@@ -89,7 +87,6 @@ export class ApproveEventModalPage implements OnInit {
viewDocument(docId:string, applicationId:string){
this.processes.GetDocumentUrl(docId, applicationId).subscribe(res=>{
console.log(res);
const url: string = res.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");
const browser = this.iab.create(url,"_blank");
browser.show();
@@ -97,9 +94,7 @@ export class ApproveEventModalPage implements OnInit {
}
async approveTask(serialNumber:string) {
console.log('approveTask SERIALNUMBER: ', serialNumber)
let body = { "serialNumber": serialNumber, "action": "Aprovar" }
console.log(body);
const loader = this.toastService.loading()
@@ -121,8 +116,6 @@ export class ApproveEventModalPage implements OnInit {
}
emendTask(serialNumber:string){
console.log('emendTask: ',serialNumber)
/* console.log('Emendar'); */
this.menu.close();
this.openEmendMessageModal(serialNumber);
this.modalController.dismiss(null);
@@ -153,7 +146,7 @@ export class ApproveEventModalPage implements OnInit {
async getAttachments() {
this.loadedAttachments = await this.attachmentsService.getAttachmentsById(this.InstanceId).toPromise();
console.log(this.loadedAttachments);
}
async openOptions(ev:any) {
@@ -191,7 +184,7 @@ export class ApproveEventModalPage implements OnInit {
}
}
//console.log(body);
//
const loader = this.toastService.loading()
try {