mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
+9
-1
@@ -39,9 +39,17 @@ export class DiscartExpedientModalPage implements OnInit {
|
||||
|
||||
} */
|
||||
save(){
|
||||
|
||||
let body = { "serialNumber": this.serialNumber, "action": "Tratado" }
|
||||
let body2 = { "serialNumber": this.serialNumber, "action": "Passivo" }
|
||||
console.log(body);
|
||||
this.processes.PostTaskAction(body);
|
||||
|
||||
if(this.folderId){
|
||||
this.processes.PostTaskAction(body);
|
||||
}
|
||||
else{
|
||||
this.processes.PostTaskAction(body2);
|
||||
}
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
this.modalController.dismiss();
|
||||
}
|
||||
|
||||
+1
-1
@@ -135,7 +135,7 @@ export class ExpedienteDetailPage implements OnInit {
|
||||
}
|
||||
|
||||
discartExpedient() {
|
||||
let body = { "serialNumber": this.serialnumber, "action": "Task Completed" }
|
||||
let body = { "serialNumber": this.serialnumber, "action": "Passivo" }
|
||||
console.log(body);
|
||||
this.processes.PostTaskAction(body);
|
||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||
|
||||
Reference in New Issue
Block a user