mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
save
This commit is contained in:
@@ -295,10 +295,7 @@ export class DespachosPrPage implements OnInit {
|
||||
await modal.present();
|
||||
modal.onDidDismiss().then(res=>{
|
||||
if(res['data']=='close'){
|
||||
// this.close();
|
||||
/* console.log('2Expedient Discard closed2');
|
||||
this.close();
|
||||
this.openMenu(); */
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
+1
-5
@@ -263,16 +263,12 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
} catch (error) {
|
||||
this.badRequest('Processo não descartado')
|
||||
}
|
||||
|
||||
|
||||
this.goBack();
|
||||
}
|
||||
else if(res['data'] == 'No'){
|
||||
console.log('Update');
|
||||
|
||||
|
||||
try {
|
||||
await this.processes.UpdateTaskStatus(this.task.FolderId);
|
||||
await this.processes.UpdateTaskStatus(this.task.FolderId).toPromise();
|
||||
this.successMessage();
|
||||
this.goBack();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user