mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
fix box sixing
This commit is contained in:
@@ -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()
|
||||
|
||||
}))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user