sigesp 0.9.61-20230911 → 0.9.62-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 +14 -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/models/SNO/{McargaFamiliar.model.js → MCargaFamiliar.model.js} +1 -1
- package/esm2015/lib/sigesp.service.js +15 -3
- package/esm2015/public-api.js +2 -2
- package/fesm2015/sigesp.js +14 -2
- package/fesm2015/sigesp.js.map +1 -1
- 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
|
@@ -8081,7 +8081,7 @@
|
|
|
8081
8081
|
apellido = dato.apellido;
|
|
8082
8082
|
idEnterprise = dato.idEnterprise;
|
|
8083
8083
|
}
|
|
8084
|
-
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido + "
|
|
8084
|
+
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
8085
|
if (res.success) {
|
|
8086
8086
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|
|
8087
8087
|
}
|
|
@@ -8097,7 +8097,19 @@
|
|
|
8097
8097
|
|
|
8098
8098
|
*/
|
|
8099
8099
|
SigespService.prototype.getPersonalNomina = function (tipo, dato) {
|
|
8100
|
-
|
|
8100
|
+
var cedula = '';
|
|
8101
|
+
var nombre = '';
|
|
8102
|
+
var apellido = '';
|
|
8103
|
+
var idEnterprise = 0;
|
|
8104
|
+
var idNomina = 0;
|
|
8105
|
+
if (dato) {
|
|
8106
|
+
cedula = dato.cedula;
|
|
8107
|
+
nombre = dato.nombre;
|
|
8108
|
+
apellido = dato.apellido;
|
|
8109
|
+
idEnterprise = dato.idEnterprise;
|
|
8110
|
+
idNomina = dato.idNomina;
|
|
8111
|
+
}
|
|
8112
|
+
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
8113
|
if (res.success) {
|
|
8102
8114
|
res.data = res.data.map(function (e) { return new MPersonalNomina(e); });
|
|
8103
8115
|
}
|