sigesp 0.8.93-202205268 → 0.8.94-20220529

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4403,9 +4403,10 @@
4403
4403
  { value: "V", denominacion: 'Viudo(a)' },
4404
4404
  ];
4405
4405
  var NivelAcademicoFamiliar = [
4406
- { value: "T", denominacion: 'Ninguno' },
4406
+ { value: "N", denominacion: 'Ninguno' },
4407
4407
  { value: "P", denominacion: 'Primaria' },
4408
4408
  { value: "D", denominacion: 'Diversificada' },
4409
+ { value: "T", denominacion: 'Técnico' },
4409
4410
  { value: "U", denominacion: 'Universitario' },
4410
4411
  ];
4411
4412
  var TipoBeneficiario = [
@@ -10255,7 +10256,7 @@
10255
10256
  _this.telefonoFamiliar = '';
10256
10257
  _this.hijoDiscapacidad = false;
10257
10258
  _this.Nexo = Nexofamiliar;
10258
- _this.Academico = NivelAcademico;
10259
+ _this.Academico = NivelAcademicoFamiliar;
10259
10260
  if (e) {
10260
10261
  _this.idEmpresa = parseInt(e.id_empresa);
10261
10262
  _this.idPersonal = parseInt(e.id_personal);
@@ -12068,15 +12069,17 @@
12068
12069
  _this.fechaInicioPermiso = '';
12069
12070
  _this.fechaFinPermiso = '';
12070
12071
  _this.numeroDiasPermiso = 0;
12071
- _this.afectaVacaionesPermiso = '0';
12072
+ _this.afectaVacaionesPermiso = false;
12072
12073
  _this.tipoPermiso = '2';
12074
+ _this.denominacionTipoPermiso = '2';
12073
12075
  _this.observacionPermiso = '';
12074
- _this.remuneradoPermiso = '1';
12076
+ _this.remuneradoPermiso = false;
12075
12077
  _this.totalHorasPermiso = 0;
12076
12078
  _this.descontarVacaciones = 0;
12077
12079
  _this.codigoPermiso = '';
12078
12080
  _this.idTipoEnfermedad = 0;
12079
12081
  _this.denominacionEnfermedad = '';
12082
+ _this.TipoPermiso = TipoPermiso;
12080
12083
  if (e) {
12081
12084
  _this.idEmpresa = +e.id_empresa;
12082
12085
  _this.idPersonal = +e.id_personal;
@@ -12084,15 +12087,16 @@
12084
12087
  _this.fechaInicioPermiso = e.fecfinper;
12085
12088
  _this.fechaFinPermiso = e.fecfinper;
12086
12089
  _this.numeroDiasPermiso = +e.numdiapero;
12087
- _this.afectaVacaionesPermiso = e.afevacper.toString();
12090
+ _this.afectaVacaionesPermiso = e.afevacper == 1 ? true : false;
12088
12091
  _this.tipoPermiso = e.tipper.toString();
12089
12092
  _this.observacionPermiso = e.obsper;
12090
- _this.remuneradoPermiso = e.remper.toString();
12093
+ _this.remuneradoPermiso = e.remper == 1 ? true : false;
12091
12094
  _this.totalHorasPermiso = +e.tothorper;
12092
12095
  _this.descontarVacaciones = +e.desvacper;
12093
12096
  _this.codigoPermiso = e.codpermiso;
12094
12097
  _this.idTipoEnfermedad = parseInt(e.id_enfermedad);
12095
12098
  _this.denominacionEnfermedad = e.denenf;
12099
+ _this.denominacionTipoPermiso = _this.TipoPermiso.find(function (e) { return e.value == _this.tipoPermiso; }).denominacion;
12096
12100
  }
12097
12101
  else {
12098
12102
  _this.isNew = true;