This commit is contained in:
Peter Maquiran
2021-08-05 16:59:17 +01:00
parent 4572aa2c24
commit c081a1ac28
3 changed files with 56 additions and 40 deletions
@@ -237,32 +237,6 @@ export class DespachoPage implements OnInit {
}
async reencaminhar(note:string, documents:any) {
let body = {
"serialNumber": this.serialnumber,
"action": "Reencaminhar",
"ActionTypeId": 98,
"dataFields": {
"ReviewUserComment": note,
},
"AttachmentList" :documents,
}
const loader = this.toastService.loading()
try {
await this.processes.CompleteTask(body).toPromise()
this.toastService.successMessage()
this.close();
} catch (error) {
this.toastService.badRequest()
}
finally {
loader.remove()
}
}
async reexecute(note:string, documents:any) {
let body = {
"serialNumber": this.serialnumber,