sigesp 0.9.61-20230911 → 0.9.63-20230912
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/bundles/sigesp.umd.js +25 -2
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
- package/esm2015/lib/core/models/SNO/{McargaFamiliar.model.js → MCargaFamiliar.model.js} +1 -1
- package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +8 -1
- package/esm2015/lib/core/models/SNO/MPersonal.model.js +5 -1
- package/esm2015/lib/sigesp.service.js +15 -3
- package/esm2015/public-api.js +2 -2
- package/fesm2015/sigesp.js +25 -2
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/RecursosHumanos.d.ts +5 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +3 -0
- package/lib/core/models/SNO/MPersonal.model.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/sigesp.metadata.json +1 -1
- /package/lib/core/models/SNO/{McargaFamiliar.model.d.ts → MCargaFamiliar.model.d.ts} +0 -0
package/bundles/sigesp.umd.js
CHANGED
|
@@ -5299,6 +5299,8 @@
|
|
|
5299
5299
|
_this.fechaActaDefuncion = '1900-01-01';
|
|
5300
5300
|
_this.numeroActaDefuncion = '';
|
|
5301
5301
|
_this.denominacionSituacion = '';
|
|
5302
|
+
_this.codigoClasificadorPersonal = '';
|
|
5303
|
+
_this.denominacionClasificadorPersonal = '';
|
|
5302
5304
|
if (p) {
|
|
5303
5305
|
_this.idEnterprise = +p.id_enterprise;
|
|
5304
5306
|
_this.idEmpresa = p.id_empresa;
|
|
@@ -5421,6 +5423,8 @@
|
|
|
5421
5423
|
_this.descripcionPuestoTrabajo = p.despuetra;
|
|
5422
5424
|
_this.codigoPuestoTrabajo = p.codpuetra;
|
|
5423
5425
|
_this.denominacionSituacion = (SituacionPersonal.find(function (e) { return e.value == p.situacion; }).denominacion).toLocaleUpperCase();
|
|
5426
|
+
_this.codigoClasificadorPersonal = p.codclaper;
|
|
5427
|
+
_this.denominacionClasificadorPersonal = p.denclaper;
|
|
5424
5428
|
}
|
|
5425
5429
|
else {
|
|
5426
5430
|
_this.isNew = true;
|
|
@@ -8081,7 +8085,7 @@
|
|
|
8081
8085
|
apellido = dato.apellido;
|
|
8082
8086
|
idEnterprise = dato.idEnterprise;
|
|
8083
8087
|
}
|
|
8084
|
-
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "
|
|
8088
|
+
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "&e=" + idEnterprise, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
8085
8089
|
if (res.success) {
|
|
8086
8090
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|
|
8087
8091
|
}
|
|
@@ -8097,7 +8101,19 @@
|
|
|
8097
8101
|
|
|
8098
8102
|
*/
|
|
8099
8103
|
SigespService.prototype.getPersonalNomina = function (tipo, dato) {
|
|
8100
|
-
|
|
8104
|
+
var cedula = '';
|
|
8105
|
+
var nombre = '';
|
|
8106
|
+
var apellido = '';
|
|
8107
|
+
var idEnterprise = 0;
|
|
8108
|
+
var idNomina = 0;
|
|
8109
|
+
if (dato) {
|
|
8110
|
+
cedula = dato.cedula;
|
|
8111
|
+
nombre = dato.nombre;
|
|
8112
|
+
apellido = dato.apellido;
|
|
8113
|
+
idEnterprise = dato.idEnterprise;
|
|
8114
|
+
idNomina = dato.idNomina;
|
|
8115
|
+
}
|
|
8116
|
+
return this.http.get(this.URL + "/dao/sno/asignacion_personal_nomina_dao.php?\n tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "&idNomina=" + idNomina + "&idEnterprise=" + idEnterprise, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
|
|
8101
8117
|
if (res.success) {
|
|
8102
8118
|
res.data = res.data.map(function (e) { return new MPersonalNomina(e); });
|
|
8103
8119
|
}
|
|
@@ -9410,6 +9426,9 @@
|
|
|
9410
9426
|
_this.idClasificadorDocente = 0;
|
|
9411
9427
|
_this.codigoClasificador = '';
|
|
9412
9428
|
_this.denominacionClasificador = '';
|
|
9429
|
+
_this.idClasificadorPersonal = 0;
|
|
9430
|
+
_this.codigoClasificadorPersonal = '';
|
|
9431
|
+
_this.denominacionClasificadorPersonal = '';
|
|
9413
9432
|
_this.detallesOrganigrama = [];
|
|
9414
9433
|
_this.detallesNomina = [];
|
|
9415
9434
|
if (p) {
|
|
@@ -9440,6 +9459,9 @@
|
|
|
9440
9459
|
_this.idClasificadorDocente = +p.id_clasificacion_docente;
|
|
9441
9460
|
_this.codigoClasificador = p.codcladoc;
|
|
9442
9461
|
_this.denominacionClasificador = p.dencladec;
|
|
9462
|
+
_this.idClasificadorPersonal = +p.id_claper;
|
|
9463
|
+
_this.codigoClasificadorPersonal = p.codclaper;
|
|
9464
|
+
_this.denominacionClasificadorPersonal = p.denclaper;
|
|
9443
9465
|
if (p.detalles_organigrama) {
|
|
9444
9466
|
_this.detallesOrganigrama = p.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
|
|
9445
9467
|
}
|
|
@@ -9464,6 +9486,7 @@
|
|
|
9464
9486
|
id_ubifis: this.idUbicacionFisica.toString(),
|
|
9465
9487
|
id_personalcargo: this.idPersonalCargo.toString(),
|
|
9466
9488
|
id_clasificacion_docente: this.idClasificadorDocente.toString(),
|
|
9489
|
+
id_claper: this.idClasificadorPersonal.toString(),
|
|
9467
9490
|
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
9468
9491
|
detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
|
|
9469
9492
|
};
|