mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
fix discart method
This commit is contained in:
+2
-2
@@ -40,7 +40,7 @@ export class DiscartExpedientModalPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
save(){
|
save(){
|
||||||
/* if(this.action != 'discart'){
|
if(this.action != 'discart'){
|
||||||
let body = { "serialNumber": this.serialNumber, "action": "Tratado" }
|
let body = { "serialNumber": this.serialNumber, "action": "Tratado" }
|
||||||
console.log(body);
|
console.log(body);
|
||||||
this.processes.PostTaskAction(body);
|
this.processes.PostTaskAction(body);
|
||||||
@@ -49,7 +49,7 @@ export class DiscartExpedientModalPage implements OnInit {
|
|||||||
let body = { "serialNumber": this.serialNumber, "action": "Passivo" }
|
let body = { "serialNumber": this.serialNumber, "action": "Passivo" }
|
||||||
console.log(body);
|
console.log(body);
|
||||||
this.processes.PostTaskAction(body);
|
this.processes.PostTaskAction(body);
|
||||||
} */
|
}
|
||||||
this.router.navigate(['/home/gabinete-digital/expediente']);
|
this.router.navigate(['/home/gabinete-digital/expediente']);
|
||||||
this.modalController.dismiss('close');
|
this.modalController.dismiss('close');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user