sigesp 0.8.79-20220510 → 0.8.80-20220511

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.
@@ -480,6 +480,7 @@
480
480
  _this.codigoUsuario = e.codusu;
481
481
  _this.nombrePersonal = e.nomper;
482
482
  _this.codigoPersonal = e.codper;
483
+ _this.nacionalidad = e.nacper.toUpperCase();
483
484
  _this.cedulaPersonal = e.cedper;
484
485
  _this.codigoTablaVacaciones = e.codtabvac;
485
486
  _this.denominacionTablaVacaciones = e.dentabvac;
@@ -3991,6 +3992,9 @@
3991
3992
  _this.descripcionPeriodoNomina = '';
3992
3993
  _this.periodoActualNomina = '';
3993
3994
  _this.editable = false;
3995
+ _this.idOrganigrama = 0;
3996
+ _this.codigoEstructuraOrganizativa = '';
3997
+ _this.denominacionEstructuraOrganizativa = '';
3994
3998
  if (e) {
3995
3999
  _this.idEmpresa = parseInt(e.id_empresa);
3996
4000
  _this.idNomina = parseInt(e.id_nomina);
@@ -4018,6 +4022,9 @@
4018
4022
  _this.denominacionEstatuspersonal = "SUSPENDIDO";
4019
4023
  _this.descripcionPeriodoNomina = e.despernom;
4020
4024
  _this.periodoActualNomina = e.peractnom;
4025
+ _this.idOrganigrama = +e.id_organigrama;
4026
+ _this.codigoEstructuraOrganizativa = e.codestorg;
4027
+ _this.denominacionEstructuraOrganizativa = e.denestorg;
4021
4028
  }
4022
4029
  else {
4023
4030
  _this.isNew = false;
@@ -6544,7 +6551,7 @@
6544
6551
  *
6545
6552
  */
6546
6553
  SigespService.prototype.getNomina = function (tipo, id) {
6547
- return this.http.get(this.URL + "/dao/sno/definicion_nomina_dao.php?tipo=" + tipo + "$id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6554
+ return this.http.get(this.URL + "/dao/sno/definicion_nomina_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6548
6555
  if (res.success) {
6549
6556
  res.data = res.data.map(function (e) { return new MDefinicionNomina(e); });
6550
6557
  }
@@ -6558,7 +6565,7 @@
6558
6565
  * @returns array()
6559
6566
  */
6560
6567
  SigespService.prototype.getCargosNomina = function (tipo, id) {
6561
- return this.http.get(this.URL + "/dao/sno/asignacion_cargos_dao.php?tipo=" + tipo + "$id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6568
+ return this.http.get(this.URL + "/dao/sno/asignacion_cargos_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6562
6569
  if (res.success) {
6563
6570
  res.data = res.data.map(function (e) { return new MAsignacionCargo(e); });
6564
6571
  }
@@ -6571,7 +6578,7 @@
6571
6578
  * @author Dimaly Crespo
6572
6579
  */
6573
6580
  SigespService.prototype.getPersonalSRH = function (tipo, id) {
6574
- return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "$id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6581
+ return this.http.get(this.URL + "/dao/sno/personal_dao.php?tipo=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6575
6582
  if (res.success) {
6576
6583
  res.data = res.data.map(function (e) { return new MPersonal(e); });
6577
6584
  }
@@ -6584,7 +6591,7 @@
6584
6591
  * @author Dimaly Crespo
6585
6592
  */
6586
6593
  SigespService.prototype.getAgenciaBanco = function (tipo, id) {
6587
- return this.http.get(this.URL + "/dao/scb/agencia_dao.php?code=" + tipo + "$id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6594
+ return this.http.get(this.URL + "/dao/scb/agencia_dao.php?code=" + tipo + "&id=" + id, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6588
6595
  if (res.success) {
6589
6596
  res.data = res.data.map(function (e) { return new MAgenciaBanco(e); });
6590
6597
  }
@@ -8352,10 +8359,10 @@
8352
8359
  _this.formulaIncidencia = e.forincidencia;
8353
8360
  _this.orden = parseInt(e.orden);
8354
8361
  if (e.forcon.length > 40) {
8355
- _this.formulaReducida = e.forcon.substr(0, 40) + '...';
8362
+ _this.formulaReducida = e.forcon.substring(0, 40) + '...';
8356
8363
  }
8357
8364
  else {
8358
- _this.formulaReducida = e.forcon.substr(0, 40);
8365
+ _this.formulaReducida = e.forcon.substring(0, 40);
8359
8366
  }
8360
8367
  _this.nombreSigno = _this.denominacionSigno(_this.signoConcepto);
8361
8368
  _this.evaluarEnPrenomina = +e.evaprenom;