sigesp 0.9.54-20230904 → 0.9.56-20230904
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 +9 -3
- 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/sigesp.service.js +10 -5
- package/fesm2015/sigesp.js +9 -4
- package/fesm2015/sigesp.js.map +1 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -7966,9 +7966,15 @@
|
|
|
7966
7966
|
* @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
|
|
7967
7967
|
*/
|
|
7968
7968
|
SigespService.prototype.getPersonal = function (tipo, dato) {
|
|
7969
|
-
var
|
|
7970
|
-
|
|
7971
|
-
|
|
7969
|
+
var cedula = '';
|
|
7970
|
+
var nombre = '';
|
|
7971
|
+
var apellido = '';
|
|
7972
|
+
if (dato) {
|
|
7973
|
+
cedula = dato.cedula;
|
|
7974
|
+
nombre = dato.nombre;
|
|
7975
|
+
apellido = dato.apellido;
|
|
7976
|
+
}
|
|
7977
|
+
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&cedula=" + cedula + "&nombre=" + nombre + "&apellido=" + apellido, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
7972
7978
|
if (res.success) {
|
|
7973
7979
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|
|
7974
7980
|
}
|