mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
Remove relevant console log,
This commit is contained in:
+2
-9
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user