fix box sixing

This commit is contained in:
Peter Maquiran
2023-05-18 17:40:52 +01:00
parent ef882e8ff1
commit a526b91532
36 changed files with 460 additions and 350 deletions
@@ -234,6 +234,7 @@ export class DespachoPrPage implements OnInit {
try {
await this.processes.CompleteTask(body).toPromise()
this.httpErroHandle.httpsSucessMessagge('Executado')
this.TaskService.loadDiplomas()
} catch (error) {
this.httpErroHandle.httpStatusHandle(error)
}
@@ -259,6 +260,7 @@ export class DespachoPrPage implements OnInit {
try {
await this.processes.CompleteTask(body).toPromise()
this.httpErroHandle.httpsSucessMessagge('Arquivar')
this.TaskService.loadDiplomas()
} catch (error) {
this.httpErroHandle.httpStatusHandle(error)
}
@@ -281,6 +283,7 @@ export class DespachoPrPage implements OnInit {
}).toPromise()
this.httpErroHandle.httpsSucessMessagge('Gerar Diploma')
this.TaskService.loadDiplomas()
} catch (error) {
this.httpErroHandle.httpStatusHandle(error)
}
@@ -306,6 +309,7 @@ export class DespachoPrPage implements OnInit {
try {
await this.processes.CompleteTask(body).toPromise()
this.httpErroHandle.httpsSucessMessagge('Concluir')
this.TaskService.loadDiplomas()
} catch (error) {
this.httpErroHandle.httpStatusHandle(error)
}
@@ -331,6 +335,7 @@ export class DespachoPrPage implements OnInit {
try {
await this.processes.CompleteTask(body).toPromise()
this.httpErroHandle.httpsSucessMessagge('Reexecução')
this.TaskService.loadDiplomas()
} catch (error) {
this.httpErroHandle.httpStatusHandle(error)
}
@@ -349,6 +354,7 @@ export class DespachoPrPage implements OnInit {
this.processes.SetTaskToPending(this.serialNumber).subscribe(res => {
this.popoverController.dismiss('close')
this.httpErroHandle.httpsSucessMessagge('Enviar para Pendentes')
this.TaskService.loadDiplomas()
this.goBack()
loader.remove()
}, (error) => {
@@ -408,6 +414,7 @@ export class DespachoPrPage implements OnInit {
await this.reexecutar(res.data.note, docs);
}
this.TaskService.loadDiplomas()
this.goBack();
}
});
@@ -442,6 +449,7 @@ export class DespachoPrPage implements OnInit {
}
this.goBack();
this.TaskService.loadDiplomas()
});
}
@@ -459,7 +467,9 @@ export class DespachoPrPage implements OnInit {
});
await modal.present();
modal.onDidDismiss();
modal.onDidDismiss().then(() => {
this.TaskService.loadDiplomas()
})
}
async openBookMeetingModal(task: any) {
@@ -503,6 +513,7 @@ export class DespachoPrPage implements OnInit {
if(data == 'close') {
this.goBack();
}
this.TaskService.loadDiplomas()
}
});
@@ -526,6 +537,7 @@ export class DespachoPrPage implements OnInit {
if (res['data'] == 'close') {
this.close();
}
this.TaskService.loadDiplomas()
});
}
@@ -551,6 +563,8 @@ export class DespachoPrPage implements OnInit {
}
this.TaskService.loadDiplomas()
}))
}