mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Add parecer and deferimento integration
Create models Update methods in processes
This commit is contained in:
@@ -34,17 +34,12 @@ export class ApproveEventModalPage implements OnInit {
|
||||
)
|
||||
{
|
||||
this.serialNumber = this.navParams.get('serialNumber');
|
||||
|
||||
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.getTask();
|
||||
|
||||
console.log(this.today);
|
||||
|
||||
|
||||
this.getTask();
|
||||
}
|
||||
|
||||
notImplemented(){
|
||||
this.alertService.presentAlert('Funcionalidade em desenvolvimento');
|
||||
}
|
||||
@@ -77,8 +72,7 @@ export class ApproveEventModalPage implements OnInit {
|
||||
console.log('Emendar');
|
||||
this.menu.close();
|
||||
this.openEmendMessageModal(serialNumber);
|
||||
|
||||
/* this.modalController.dismiss(null); */
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
|
||||
rejectTask(serialNumber:string){
|
||||
@@ -125,8 +119,8 @@ export class ApproveEventModalPage implements OnInit {
|
||||
}
|
||||
console.log(body);
|
||||
this.processes.PostTaskAction(body);
|
||||
this.alertService.presentAlert('Operação realizada com sucesso!');
|
||||
this.router.navigate(['/home/gabinete-digital/event-list']);
|
||||
this.alertService.presentAlert('Operação realizada com sucesso!');
|
||||
}
|
||||
else{
|
||||
this.alertService.presentAlert('Operação cancelada!');
|
||||
|
||||
Reference in New Issue
Block a user