|
|
@@ -77,7 +77,6 @@ export class MESMPRComponent implements OnInit {
|
|
|
this.snackAlert('Sesión expirada. Vuelva a iniciar sesión');
|
|
|
}else{
|
|
|
let verPeriodos:MesmprInterface[] = res.response.filter((element:any) => element.CADUCADO === "No" && element.DETALLES.length > 0);
|
|
|
-
|
|
|
this.periodos = verPeriodos;
|
|
|
this.obtenerCasos(res.response);
|
|
|
this.loading = false;
|
|
|
@@ -181,7 +180,7 @@ export class MESMPRComponent implements OnInit {
|
|
|
let arrFecha = element.FECHASVACACIONES.split('|');
|
|
|
return {
|
|
|
fecha_inicio: arrFecha[0],
|
|
|
- fecha_fin: arrFecha[0],
|
|
|
+ fecha_fin: arrFecha[1],
|
|
|
dias_tomados: element.DIASTOMADOS
|
|
|
}
|
|
|
});
|