sigesp 1.0.10-20240526 → 1.0.11-20240603
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.
- package/esm2020/lib/core/interfaces/Constantes.mjs +2 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +13 -1
- package/fesm2015/sigesp.mjs +13 -0
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +13 -0
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/RecursosHumanos.d.ts +4 -0
- package/lib/core/models/SNO/MPersonal.model.d.ts +4 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -258,6 +258,7 @@ const TipoDefiniciones = [
|
|
|
258
258
|
{ value: "3", denominacion: 'Nivel de Selección' },
|
|
259
259
|
{ value: "4", denominacion: 'Profesiones' },
|
|
260
260
|
{ value: "16", denominacion: 'Permisos Personal' },
|
|
261
|
+
{ value: "17", denominacion: 'Rutas' },
|
|
261
262
|
{ value: "14", denominacion: 'Sindicato' },
|
|
262
263
|
{ value: "5", denominacion: 'Tipo de Accidentes' },
|
|
263
264
|
{ value: "6", denominacion: 'Tipo de Cobertura de Salud' },
|
|
@@ -5283,6 +5284,10 @@ class MPersonal extends MBasicModel {
|
|
|
5283
5284
|
this.idPermisoPersonal = 0;
|
|
5284
5285
|
this.codigoPermisoPersonal = '';
|
|
5285
5286
|
this.denominacionPermisoPersonal = '';
|
|
5287
|
+
this.idRuta = 0;
|
|
5288
|
+
this.denominacionRuta = '';
|
|
5289
|
+
this.centoVotacion = '';
|
|
5290
|
+
this.puntoReferencia = '';
|
|
5286
5291
|
if (p) {
|
|
5287
5292
|
this.idEnterprise = +p.id_enterprise;
|
|
5288
5293
|
this.idEmpresa = p.id_empresa;
|
|
@@ -5412,6 +5417,10 @@ class MPersonal extends MBasicModel {
|
|
|
5412
5417
|
this.idPermisoPersonal = +p.id_perper;
|
|
5413
5418
|
this.denominacionPermisoPersonal = p.denperper;
|
|
5414
5419
|
this.codigoPermisoPersonal = p.codperper;
|
|
5420
|
+
this.idRuta = +p.id_ruta;
|
|
5421
|
+
this.denominacionRuta = p.denrut;
|
|
5422
|
+
this.centoVotacion = p.cenvot;
|
|
5423
|
+
this.puntoReferencia = p.punref;
|
|
5415
5424
|
}
|
|
5416
5425
|
else {
|
|
5417
5426
|
this.isNew = true;
|
|
@@ -5529,6 +5538,10 @@ class MPersonal extends MBasicModel {
|
|
|
5529
5538
|
id_perper: this.idPermisoPersonal.toString(),
|
|
5530
5539
|
denperper: this.denominacionPermisoPersonal,
|
|
5531
5540
|
codperper: this.codigoPermisoPersonal,
|
|
5541
|
+
id_ruta: this.idRuta.toString(),
|
|
5542
|
+
denrut: this.denominacionRuta,
|
|
5543
|
+
cenvot: this.centoVotacion,
|
|
5544
|
+
punref: this.puntoReferencia,
|
|
5532
5545
|
};
|
|
5533
5546
|
}
|
|
5534
5547
|
}
|