sigesp 1.1.68-20250910 → 1.1.69-20250919
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/esm2020/lib/core/interfaces/Constantes.mjs +4 -1
- package/esm2020/lib/core/interfaces/Nomina.mjs +1 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MPersonal.model.mjs +8 -2
- package/esm2020/lib/core/models/SNO/MPersonalNomina.model.mjs +28 -21
- package/fesm2015/sigesp.mjs +36 -20
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +36 -20
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +7 -5
- package/lib/core/interfaces/RecursosHumanos.d.ts +2 -0
- package/lib/core/models/SNO/MPersonal.model.d.ts +3 -1
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +8 -4
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -342,6 +342,9 @@ const EstatusPersonal = [
|
|
|
342
342
|
{ value: "6", denominacion: 'DESTITUCIÓN' },
|
|
343
343
|
{ value: "7", denominacion: 'LIQUIDADO' },
|
|
344
344
|
{ value: "8", denominacion: 'REINGRESO' },
|
|
345
|
+
{ value: "10", denominacion: 'FALLECIDO' },
|
|
346
|
+
{ value: "11", denominacion: 'PENSIONADO' },
|
|
347
|
+
{ value: "12", denominacion: 'JUBILADO' }
|
|
345
348
|
];
|
|
346
349
|
const EstatusPersonalNomina = [
|
|
347
350
|
{ value: "0", denominacion: 'No Asignado' },
|
|
@@ -703,7 +706,6 @@ class MPersonalNomina extends MBasicModel {
|
|
|
703
706
|
this.tipoCuentaPersonal = '';
|
|
704
707
|
this.fechaIngresoSistema = '1900-01-01';
|
|
705
708
|
this.codigoBanco = '';
|
|
706
|
-
this.idClasificacionObrero = 0;
|
|
707
709
|
this.idCodigoUnicoRac = 0;
|
|
708
710
|
this.montoCompensacionGrado = 0;
|
|
709
711
|
this.horaAdicional1 = 0;
|
|
@@ -717,7 +719,6 @@ class MPersonalNomina extends MBasicModel {
|
|
|
717
719
|
this.situacionPersonal = '';
|
|
718
720
|
this.montoPension = 0;
|
|
719
721
|
this.nacionalidad = '';
|
|
720
|
-
this.idClasificadorDocente = 0;
|
|
721
722
|
this.codigoClasificador = '';
|
|
722
723
|
this.denominacionClasificador = '';
|
|
723
724
|
this.idPlanHorario = 0;
|
|
@@ -733,8 +734,9 @@ class MPersonalNomina extends MBasicModel {
|
|
|
733
734
|
this.sueldoNormalVariable = 0;
|
|
734
735
|
this.sueldoNormalBonoVacaciones = 0;
|
|
735
736
|
this.sueldoNormalBonoFinAnio = 0;
|
|
736
|
-
this.
|
|
737
|
-
this.
|
|
737
|
+
this.idClasificadorPersonal = 0;
|
|
738
|
+
this.codigoUnidadOrganizativa = '';
|
|
739
|
+
this.denominacionUnidadOrganizativa = '';
|
|
738
740
|
this.codigoCentroCosto = '';
|
|
739
741
|
this.denominacionCentroCosto = '';
|
|
740
742
|
this.estructura = '';
|
|
@@ -745,6 +747,11 @@ class MPersonalNomina extends MBasicModel {
|
|
|
745
747
|
this.idEp3 = 0;
|
|
746
748
|
this.idEp4 = 0;
|
|
747
749
|
this.idEp5 = 0;
|
|
750
|
+
this.idSituacion = 0;
|
|
751
|
+
this.denominacionSituacion = '';
|
|
752
|
+
this.codigoSituacion = '';
|
|
753
|
+
this.estatusPersonalFicha = 0;
|
|
754
|
+
this.denominacionEstatusPersonalFicha = '';
|
|
748
755
|
if (e) {
|
|
749
756
|
this.idEnterprise = +e.id_enterprise;
|
|
750
757
|
this.idEmpresa = e.id_empresa;
|
|
@@ -809,7 +816,6 @@ class MPersonalNomina extends MBasicModel {
|
|
|
809
816
|
this.denominacionCategoriaViaticos = e.dencatvia;
|
|
810
817
|
this.tipoCuentaPersonal = e.nomtipcta;
|
|
811
818
|
this.fechaIngresoSistema = e.fecregsis;
|
|
812
|
-
this.idClasificacionObrero = parseInt(e.id_claobr);
|
|
813
819
|
this.montoCompensacionGrado = parseFloat(e.moncomgra);
|
|
814
820
|
this.horaAdicional1 = parseFloat(e.horadi1);
|
|
815
821
|
this.horaAdicional2 = parseFloat(e.horadi2);
|
|
@@ -820,9 +826,6 @@ class MPersonalNomina extends MBasicModel {
|
|
|
820
826
|
this.nombreCompleto = this.nombrePersonal + ' ' + this.apellidoPersonal;
|
|
821
827
|
this.situacionPersonal = e.situacion;
|
|
822
828
|
this.montoPension = +e.monpen;
|
|
823
|
-
this.idClasificadorDocente = +e.id_clasificacion_docente;
|
|
824
|
-
this.codigoClasificador = e.codcladoc;
|
|
825
|
-
this.denominacionClasificador = e.dencladec;
|
|
826
829
|
this.nominaRac = parseInt(e.racnom);
|
|
827
830
|
if (this.nominaRac == 0) {
|
|
828
831
|
this.idTabulador = 0;
|
|
@@ -832,7 +835,7 @@ class MPersonalNomina extends MBasicModel {
|
|
|
832
835
|
if (this.idTabulador >= 0 && this.nominaRac == 1) {
|
|
833
836
|
this.sueldoPersonal = this.montoSaldoGrado;
|
|
834
837
|
}
|
|
835
|
-
if (this.
|
|
838
|
+
if (this.estatusPersonalFicha == 12) {
|
|
836
839
|
this.sueldoPersonal = this.montoPension;
|
|
837
840
|
}
|
|
838
841
|
if (this.idAgencia > 0) {
|
|
@@ -857,18 +860,26 @@ class MPersonalNomina extends MBasicModel {
|
|
|
857
860
|
this.sueldoNormalVariable = +e.suenorvar;
|
|
858
861
|
this.sueldoNormalBonoVacaciones = +e.suenorbon;
|
|
859
862
|
this.sueldoNormalBonoFinAnio = +e.suenorbonfin;
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
863
|
+
this.idClasificadorPersonal = +e.id_claper;
|
|
864
|
+
this.codigoClasificador = e.codcla;
|
|
865
|
+
this.denominacionClasificador = e.dencla;
|
|
866
|
+
this.codigoUnidadOrganizativa = e.coduniadm;
|
|
867
|
+
this.denominacionUnidadOrganizativa = e.denuniadm;
|
|
862
868
|
this.codigoCentroCosto = e.codcencos;
|
|
863
|
-
this.denominacionCentroCosto = e.
|
|
869
|
+
this.denominacionCentroCosto = e.dencencos;
|
|
864
870
|
this.estructura = e.estructura;
|
|
865
871
|
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
866
872
|
this.idCentroCosto = +e.id_cencos;
|
|
867
|
-
this.idEp1
|
|
868
|
-
this.idEp2
|
|
869
|
-
this.idEp3
|
|
870
|
-
this.idEp4
|
|
871
|
-
this.idEp5
|
|
873
|
+
this.idEp1 = +e.id_ep1;
|
|
874
|
+
this.idEp2 = +e.id_ep2;
|
|
875
|
+
this.idEp3 = +e.id_ep3;
|
|
876
|
+
this.idEp4 = +e.id_ep4;
|
|
877
|
+
this.idEp5 = +e.id_ep5;
|
|
878
|
+
this.idSituacion = +e.id_situacion;
|
|
879
|
+
this.codigoSituacion = e.codsituacion;
|
|
880
|
+
this.situacionPersonal = e.situacion;
|
|
881
|
+
this.estatusPersonalFicha = +e.estper;
|
|
882
|
+
this.denominacionEstatusPersonalFicha = (EstatusPersonal.find(f => f.value == e.estper).denominacion).toUpperCase();
|
|
872
883
|
}
|
|
873
884
|
else {
|
|
874
885
|
this.isNew = true;
|
|
@@ -952,20 +963,19 @@ class MPersonalNomina extends MBasicModel {
|
|
|
952
963
|
nomban_ctaper: this.codigoBanco,
|
|
953
964
|
codban_ctaper: this.nombreBanco,
|
|
954
965
|
id_banco_ctaper: this.idBanco.toString(),
|
|
955
|
-
id_claobr: this.idClasificacionObrero.toString(),
|
|
956
966
|
moncomgra: this.montoCompensacionGrado.toString(),
|
|
957
967
|
horadi1: this.horaAdicional1.toString(),
|
|
958
968
|
horadi2: this.horaAdicional2.toString(),
|
|
959
969
|
estmpppe: this.estatusMPPPE ? '1' : '0',
|
|
960
970
|
monsalgra: this.montoSaldoGrado.toString(),
|
|
961
971
|
apeper: this.apellidoPersonal,
|
|
962
|
-
id_clasificacion_docente: this.idClasificadorDocente.toString(),
|
|
963
972
|
id_planhor: this.idPlanHorario.toString(),
|
|
964
973
|
tipcar: this.tipoCargo,
|
|
965
974
|
suenorfij: this.sueldoNormalFijo.toString(),
|
|
966
975
|
suenorvar: this.sueldoNormalVariable.toString(),
|
|
967
976
|
suenorbon: this.sueldoNormalBonoVacaciones.toString(),
|
|
968
977
|
suenorbonfin: this.sueldoNormalBonoFinAnio.toString(),
|
|
978
|
+
id_claper: this.idClasificadorPersonal.toString(),
|
|
969
979
|
};
|
|
970
980
|
}
|
|
971
981
|
}
|
|
@@ -5627,7 +5637,6 @@ class MPersonal extends MBasicModel {
|
|
|
5627
5637
|
this.fechaDefuncion = '1900-01-01';
|
|
5628
5638
|
this.fechaActaDefuncion = '1900-01-01';
|
|
5629
5639
|
this.numeroActaDefuncion = '';
|
|
5630
|
-
this.denominacionSituacion = '';
|
|
5631
5640
|
this.codigoClasificadorPersonal = '';
|
|
5632
5641
|
this.denominacionClasificadorPersonal = '';
|
|
5633
5642
|
this.idPermisoPersonal = 0;
|
|
@@ -5637,6 +5646,9 @@ class MPersonal extends MBasicModel {
|
|
|
5637
5646
|
this.denominacionRuta = '';
|
|
5638
5647
|
this.centoVotacion = '';
|
|
5639
5648
|
this.puntoReferencia = '';
|
|
5649
|
+
this.idSituacion = 0;
|
|
5650
|
+
this.denominacionSituacion = '';
|
|
5651
|
+
this.codigoSituacion = '';
|
|
5640
5652
|
if (p) {
|
|
5641
5653
|
this.idEnterprise = +p.id_enterprise;
|
|
5642
5654
|
this.idEmpresa = p.id_empresa;
|
|
@@ -5710,6 +5722,8 @@ class MPersonal extends MBasicModel {
|
|
|
5710
5722
|
this.observacionEgresoPersonal = p.obsegrper;
|
|
5711
5723
|
this.preaviso = p.preaviso;
|
|
5712
5724
|
this.fechaLOSFAN = p.feclossfan;
|
|
5725
|
+
this.idSituacion = +p.id_situacion;
|
|
5726
|
+
this.codigoSituacion = p.codsituacion;
|
|
5713
5727
|
this.situacion = p.situacion;
|
|
5714
5728
|
this.fechaSituacion = p.fecsitu;
|
|
5715
5729
|
this.idCausales = +p.id_causales;
|
|
@@ -5891,6 +5905,8 @@ class MPersonal extends MBasicModel {
|
|
|
5891
5905
|
denrut: this.denominacionRuta,
|
|
5892
5906
|
cenvot: this.centoVotacion,
|
|
5893
5907
|
punref: this.puntoReferencia,
|
|
5908
|
+
id_situacion: this.idSituacion.toString(),
|
|
5909
|
+
codsituacion: this.codigoSituacion,
|
|
5894
5910
|
};
|
|
5895
5911
|
}
|
|
5896
5912
|
}
|