mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
save
This commit is contained in:
@@ -171,7 +171,6 @@ export class DiplomaPage implements OnInit {
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.close();
|
||||
this.successMessage()
|
||||
} catch (error) {
|
||||
this.badRequest()
|
||||
@@ -179,6 +178,7 @@ export class DiplomaPage implements OnInit {
|
||||
}
|
||||
|
||||
async finish(note:string, documents:any){
|
||||
|
||||
let body = {
|
||||
"serialNumber": this.serialnumber,
|
||||
"action": "Concluir",
|
||||
@@ -189,9 +189,8 @@ export class DiplomaPage implements OnInit {
|
||||
"AttachmentList" :documents,
|
||||
}
|
||||
try {
|
||||
await this.processes.CompleteTask(body);
|
||||
await this.processes.CompleteTask(body).toPromise();
|
||||
this.successMessage()
|
||||
this.close();
|
||||
} catch (error) {
|
||||
this.badRequest()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user