sigesp 0.9.54-20230904 → 0.9.55-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 -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/sigesp.service.js +3 -4
- package/fesm2015/sigesp.js +2 -3
- package/fesm2015/sigesp.js.map +1 -1
- package/package.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -7318,9 +7318,8 @@ class SigespService {
|
|
|
7318
7318
|
*/
|
|
7319
7319
|
getPersonal(tipo, dato) {
|
|
7320
7320
|
let cadena;
|
|
7321
|
-
dato ? cadena = "cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}" : cadena = '';
|
|
7322
|
-
return this.http.get(`${this.URL}/dao/sno/personal_dao.php?
|
|
7323
|
-
tipo=${tipo}&cadena`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7321
|
+
dato ? cadena = "&cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}" : cadena = '';
|
|
7322
|
+
return this.http.get(`${this.URL}/dao/sno/personal_dao.php?tipo=${tipo}${cadena}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
7324
7323
|
if (res.success) {
|
|
7325
7324
|
res.data = res.data.map(e => new MPersonal(e));
|
|
7326
7325
|
}
|