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/fesm2015/sigesp.js
CHANGED
|
@@ -7317,10 +7317,8 @@ class SigespService {
|
|
|
7317
7317
|
* @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
|
|
7318
7318
|
*/
|
|
7319
7319
|
getPersonal(tipo, dato) {
|
|
7320
|
-
let cadena
|
|
7321
|
-
|
|
7322
|
-
cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}";
|
|
7323
|
-
}
|
|
7320
|
+
let cadena;
|
|
7321
|
+
dato ? cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}" : cadena = '';
|
|
7324
7322
|
return this.http.get(`${this.URL}/dao/sno/personal_dao.php?
|
|
7325
7323
|
tipo=${tipo}&cadena`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7326
7324
|
if (res.success) {
|