mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
some changes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<ion-label class="title">{{modalTitle[taskType]}}</ion-label>
|
||||
</ion-item>
|
||||
<div class="ion-item-container width-100">
|
||||
<ion-input placeholder="Assunto" [(ngModel)]="postData.DispatchFolder.Subject"></ion-input>
|
||||
<ion-textarea placeholder="Assunto" [(ngModel)]="postData.DispatchFolder.Subject"></ion-textarea>
|
||||
</div>
|
||||
|
||||
<div class="container-div width-100">
|
||||
|
||||
@@ -62,7 +62,7 @@ export class DarParecerPage implements OnInit {
|
||||
console.log(body);
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
await this.processes.CompleteTask(body).toPromise();
|
||||
this.modalController.dismiss();
|
||||
this.successMessage()
|
||||
} catch (error) {
|
||||
|
||||
@@ -75,6 +75,9 @@ export class DelegarPage implements OnInit {
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
goBack() {
|
||||
window.history.back()
|
||||
}
|
||||
cancelTask(){
|
||||
this.modalController.dismiss(null);
|
||||
}
|
||||
@@ -100,7 +103,7 @@ export class DelegarPage implements OnInit {
|
||||
(error)=>{
|
||||
this.badRequest()
|
||||
});
|
||||
this.close();
|
||||
this.goBack();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user