sigesp 0.9.53-20230830 → 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 +6 -9
- 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/interfaces/Usuario.js +1 -1
- package/esm2015/lib/core/models/SSS/user.model.js +4 -5
- package/esm2015/lib/sigesp.service.js +4 -7
- package/fesm2015/sigesp.js +6 -10
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Usuario.d.ts +0 -1
- package/lib/core/models/SSS/user.model.d.ts +0 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -984,12 +984,11 @@
|
|
|
984
984
|
_this.procede = user.procede;
|
|
985
985
|
_this.codsis = user.codsis;
|
|
986
986
|
_this.foto = user.foto;
|
|
987
|
-
_this.id =
|
|
987
|
+
_this.id = parseInt(user.id_usuario);
|
|
988
988
|
_this.interface = user;
|
|
989
|
-
_this.nomina =
|
|
990
|
-
_this.periodo =
|
|
989
|
+
_this.nomina = parseInt(user.nomina);
|
|
990
|
+
_this.periodo = parseInt(user.periodo);
|
|
991
991
|
_this.carpeta = user.carpeta;
|
|
992
|
-
_this.sistema = user.sistema;
|
|
993
992
|
}
|
|
994
993
|
else {
|
|
995
994
|
_this.isNew = true;
|
|
@@ -7967,11 +7966,9 @@
|
|
|
7967
7966
|
* @params dato:object {nombre:string, apellido:string, cedula.string} use para la opcion 'catalogo'
|
|
7968
7967
|
*/
|
|
7969
7968
|
SigespService.prototype.getPersonal = function (tipo, dato) {
|
|
7970
|
-
var cadena
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
}
|
|
7974
|
-
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) {
|
|
7969
|
+
var cadena;
|
|
7970
|
+
dato ? cadena = "&cedula=${dato.cedula}&nombre=${dato.nombre}&apellido=${dato.apellido}&expediente=${dato.expediente}&idTipo=${dato.tipo}" : cadena = '';
|
|
7971
|
+
return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + cadena, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
7975
7972
|
if (res.success) {
|
|
7976
7973
|
res.data = res.data.map(function (e) { return new MPersonal(e); });
|
|
7977
7974
|
}
|