sigesp 0.9.52-20230813 → 0.9.54-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 +2 -4
- 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 +3 -5
- package/fesm2015/sigesp.js +2 -4
- package/fesm2015/sigesp.js.map +1 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -7966,10 +7966,8 @@
|
|
|
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 cadena
|
|
7970
|
-
|
|
7971
|
-
cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}";
|
|
7972
|
-
}
|
|
7969
|
+
var cadena;
|
|
7970
|
+
dato ? cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}" : cadena = '';
|
|
7973
7971
|
return this.http.get(this.URL + "/dao/sno/personal_dao.php?\n tipo=" + tipo + "&cadena", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
7974
7972
|
if (res.success) {
|
|
7975
7973
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|