sigesp 0.8.72-220304 → 0.8.75-20220504

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.
Files changed (81) hide show
  1. package/bundles/sigesp.umd.js +2597 -289
  2. package/bundles/sigesp.umd.js.map +1 -1
  3. package/bundles/sigesp.umd.min.js +1 -1
  4. package/bundles/sigesp.umd.min.js.map +1 -1
  5. package/esm2015/lib/core/interfaces/Nomina.js +1 -1
  6. package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
  7. package/esm2015/lib/core/interfaces/Seguridad.js +1 -1
  8. package/esm2015/lib/core/interfaces/Usuario.js +1 -1
  9. package/esm2015/lib/core/models/SNO/MArchivosTxt.model.js +38 -0
  10. package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +93 -21
  11. package/esm2015/lib/core/models/SNO/MAspectoEvaluacion.model.js +48 -1
  12. package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +7 -11
  13. package/esm2015/lib/core/models/SNO/MCargaMasiva.model.js +34 -0
  14. package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +18 -27
  15. package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +7 -1
  16. package/esm2015/lib/core/models/SNO/MConcursante.model.js +245 -13
  17. package/esm2015/lib/core/models/SNO/MConcurso.model.js +176 -1
  18. package/esm2015/lib/core/models/SNO/MConfiguracionSNO.model.js +1 -6
  19. package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +84 -1
  20. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +58 -1
  21. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +7 -1
  22. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +333 -6
  23. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +45 -1
  24. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +70 -0
  25. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +99 -0
  26. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +24 -15
  27. package/esm2015/lib/core/models/SNO/MPeriodosPlan.model.js +46 -0
  28. package/esm2015/lib/core/models/SNO/MPermisos.model.js +61 -0
  29. package/esm2015/lib/core/models/SNO/MPersonal.model.js +90 -1
  30. package/esm2015/lib/core/models/SNO/MPlantillaConstancia.model.js +31 -0
  31. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +212 -0
  32. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +4 -3
  33. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +4 -1
  34. package/esm2015/lib/core/models/SNO/MRango.model.js +7 -2
  35. package/esm2015/lib/core/models/SNO/MReportesRRHH.js +402 -0
  36. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +5 -2
  37. package/esm2015/lib/core/models/SNO/MTabulador.model.js +15 -20
  38. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +4 -1
  39. package/esm2015/lib/core/models/SSS/userPermit.model.js +5 -1
  40. package/esm2015/lib/sigesp.service.js +1 -2
  41. package/esm2015/public-api.js +17 -7
  42. package/esm2015/sigesp.js +11 -11
  43. package/fesm2015/sigesp.js +2345 -223
  44. package/fesm2015/sigesp.js.map +1 -1
  45. package/lib/core/interfaces/Nomina.d.ts +62 -30
  46. package/lib/core/interfaces/RecursosHumanos.d.ts +490 -65
  47. package/lib/core/interfaces/Seguridad.d.ts +2 -0
  48. package/lib/core/interfaces/Usuario.d.ts +13 -0
  49. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +14 -0
  50. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +35 -4
  51. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +16 -1
  52. package/lib/core/models/SNO/MBeneficiario.model.d.ts +2 -0
  53. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
  54. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +6 -3
  55. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +2 -0
  56. package/lib/core/models/SNO/MConcursante.model.d.ts +78 -4
  57. package/lib/core/models/SNO/MConcurso.model.d.ts +58 -1
  58. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +27 -1
  59. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +19 -0
  60. package/lib/core/models/SNO/MFamiliares.model.d.ts +1 -0
  61. package/lib/core/models/SNO/MFideicomiso.model.d.ts +115 -2
  62. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +14 -0
  63. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +24 -0
  64. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +33 -0
  65. package/lib/core/models/SNO/MNominaSimple.model.d.ts +8 -2
  66. package/lib/core/models/SNO/MPeriodosPlan.model.d.ts +16 -0
  67. package/lib/core/models/SNO/MPermisos.model.d.ts +21 -0
  68. package/lib/core/models/SNO/MPersonal.model.d.ts +31 -1
  69. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
  70. package/lib/core/models/SNO/MPrestamo.model.d.ts +66 -0
  71. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -1
  72. package/lib/core/models/SNO/MRango.model.d.ts +2 -1
  73. package/lib/core/models/SNO/MReportesRRHH.d.ts +130 -0
  74. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +1 -1
  75. package/lib/core/models/SNO/MTabulador.model.d.ts +7 -5
  76. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +1 -0
  77. package/lib/core/models/SSS/userPermit.model.d.ts +2 -0
  78. package/package.json +1 -1
  79. package/public-api.d.ts +17 -7
  80. package/sigesp.d.ts +26 -25
  81. package/sigesp.metadata.json +1 -1
@@ -684,6 +684,9 @@
684
684
  _this.fechaHastaPeriodo = e.fechasper;
685
685
  _this.codigoPeriodo = e.codperi;
686
686
  }
687
+ else {
688
+ _this.isNew = true;
689
+ }
687
690
  return _this;
688
691
  }
689
692
  MHojaTiempo.prototype.dataInterface = function () {
@@ -709,6 +712,50 @@
709
712
  };
710
713
  };
711
714
  return MHojaTiempo;
715
+ }(MBasicModel));
716
+ var MHorario = /** @class */ (function (_super) {
717
+ __extends(MHorario, _super);
718
+ function MHorario(e) {
719
+ var _this = _super.call(this) || this;
720
+ _this.idEmpresa = 0;
721
+ _this.idHora = 0;
722
+ _this.codigoHorario = '';
723
+ _this.denominacionHorario = '';
724
+ _this.tipoHorario = 'F';
725
+ _this.horaInicial = '0';
726
+ _this.horaFinal = '0';
727
+ _this.horasLaborales = '0';
728
+ _this.horaDescanco = '0';
729
+ if (e) {
730
+ _this.idEmpresa = +e.id_empresa;
731
+ _this.idHora = +e.id_hora;
732
+ _this.codigoHorario = e.codhor;
733
+ _this.denominacionHorario = e.denhor;
734
+ _this.tipoHorario = e.tiphor;
735
+ _this.horaInicial = e.horini;
736
+ _this.horaFinal = e.horfin;
737
+ _this.horasLaborales = e.horlab;
738
+ _this.horaDescanco = e.hordes;
739
+ }
740
+ else {
741
+ _this.isNew = true;
742
+ }
743
+ return _this;
744
+ }
745
+ MHorario.prototype.dataInterface = function () {
746
+ return {
747
+ id_empresa: this.idEmpresa,
748
+ id_hora: this.idHora,
749
+ codhor: this.codigoHorario,
750
+ denhor: this.denominacionHorario,
751
+ tiphor: this.tipoHorario,
752
+ horini: this.horaInicial,
753
+ horfin: this.horaFinal,
754
+ horlab: this.horasLaborales,
755
+ hordes: this.horaDescanco,
756
+ };
757
+ };
758
+ return MHorario;
712
759
  }(MBasicModel));
713
760
 
714
761
  var MUsuario = /** @class */ (function () {
@@ -3359,7 +3406,6 @@
3359
3406
  _this.registroasistenciaincidencia = I.regasiinc;
3360
3407
  _this.manejoIndependienteModulo = parseInt(I.manindmod);
3361
3408
  _this.digitosCodigoConcepto = parseInt(I.digcodcon);
3362
- _this.segmentarPersonal = parseInt(I.segper);
3363
3409
  }
3364
3410
  else {
3365
3411
  _this.isNew = true;
@@ -3367,9 +3413,6 @@
3367
3413
  return _this;
3368
3414
  }
3369
3415
  MConfiguracionSNO.prototype.dataInterface = function () {
3370
- if (this.segmentarPersonal == 0) {
3371
- this.segmentarPersonal = 10000;
3372
- }
3373
3416
  return {
3374
3417
  id_empresa: this.idEmpresa.toString(),
3375
3418
  id_sno: this.idNomina.toString(),
@@ -3495,7 +3538,6 @@
3495
3538
  regasiinc: this.registroasistenciaincidencia,
3496
3539
  manindmod: this.manejoIndependienteModulo.toString(),
3497
3540
  digcodcon: this.digitosCodigoConcepto.toString(),
3498
- segper: this.segmentarPersonal.toString(),
3499
3541
  };
3500
3542
  };
3501
3543
  return MConfiguracionSNO;
@@ -3676,6 +3718,7 @@
3676
3718
  _this.idPeriodoNomina = 0;
3677
3719
  _this.idPeriodoRestablecerNomina = 0;
3678
3720
  _this.estatusIncidencia = 0;
3721
+ _this.segmentarPersonal = 3000;
3679
3722
  _this.periodosNomina = [];
3680
3723
  if (e) {
3681
3724
  _this.idEmpresa = parseInt(e.id_empresa);
@@ -3741,6 +3784,7 @@
3741
3784
  _this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
3742
3785
  _this.idPeriodoNomina = parseInt(e.id_periodoactual);
3743
3786
  _this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
3787
+ _this.segmentarPersonal = parseInt(e.segper);
3744
3788
  }
3745
3789
  else {
3746
3790
  _this.isNew = true;
@@ -3749,6 +3793,9 @@
3749
3793
  }
3750
3794
  MDefinicionNomina.prototype.dataInterface = function () {
3751
3795
  this.getPeriodoNomina();
3796
+ if (this.segmentarPersonal == 0) {
3797
+ this.segmentarPersonal = 10000;
3798
+ }
3752
3799
  return {
3753
3800
  id_empresa: this.idEmpresa.toString(),
3754
3801
  id_nomina: this.idNomina.toString(),
@@ -3814,6 +3861,7 @@
3814
3861
  id_periodoactual: this.idPeriodoNomina.toString(),
3815
3862
  id_perresnom: this.idPeriodoRestablecerNomina.toString(),
3816
3863
  estincidencia: this.estatusIncidencia.toString(),
3864
+ segper: this.segmentarPersonal.toString(),
3817
3865
  periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
3818
3866
  };
3819
3867
  };
@@ -3915,6 +3963,87 @@
3915
3963
  return this.periodosNomina[this.indice()].fechaHastaperiodo;
3916
3964
  };
3917
3965
  return MDefinicionNomina;
3966
+ }(MBasicModel));
3967
+ var MNominaSimple = /** @class */ (function (_super) {
3968
+ __extends(MNominaSimple, _super);
3969
+ function MNominaSimple(e) {
3970
+ if (e === void 0) { e = null; }
3971
+ var _this = _super.call(this) || this;
3972
+ _this.idEmpresa = 0;
3973
+ _this.idNomina = 0;
3974
+ _this.codigoNomina = '';
3975
+ _this.denominacioNomina = '';
3976
+ _this.idPeriodoActual = 0;
3977
+ _this.totalPeriodo = 0;
3978
+ _this.estatus = '';
3979
+ _this.estatusPeriodo = 0;
3980
+ _this.calculada = false;
3981
+ _this.prenomina = false;
3982
+ _this.idCargo = 0;
3983
+ _this.codigoCargo = '';
3984
+ _this.denominacionCargo = '';
3985
+ _this.nominaRac = 0;
3986
+ _this.simbolo = '';
3987
+ _this.color = '';
3988
+ _this.estatusPersonal = 0;
3989
+ _this.denominacionEstatuspersonal = '';
3990
+ _this.descripcionPeriodoNomina = '';
3991
+ _this.periodoActualNomina = '';
3992
+ _this.editable = false;
3993
+ if (e) {
3994
+ _this.idEmpresa = parseInt(e.id_empresa);
3995
+ _this.idNomina = parseInt(e.id_nomina);
3996
+ _this.codigoNomina = e.codnom;
3997
+ _this.denominacioNomina = e.dennom;
3998
+ _this.idPeriodoActual = +e.id_periodoactual;
3999
+ _this.totalPeriodo = parseFloat(e.totper),
4000
+ _this.estatusPeriodo = parseInt(e.cerper);
4001
+ _this.calculada = e.calculado == '1' ? true : false;
4002
+ _this.prenomina = e.prenomina == '1' ? true : false;
4003
+ _this.estatus = _this.calculada ? 'Calculada' :
4004
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4005
+ _this.editable = (_this.calculada || _this.prenomina) ? false : true;
4006
+ _this.idCargo = parseInt(e.id_carper);
4007
+ _this.codigoCargo = e.codcar;
4008
+ _this.denominacionCargo = e.descar;
4009
+ _this.nominaRac = parseInt(e.racnom);
4010
+ _this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
4011
+ _this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
4012
+ _this.estatusPersonal = parseInt(e.staper);
4013
+ _this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
4014
+ _this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
4015
+ _this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
4016
+ _this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
4017
+ _this.denominacionEstatuspersonal = "SUSPENDIDO";
4018
+ _this.descripcionPeriodoNomina = e.despernom;
4019
+ _this.periodoActualNomina = e.peractnom;
4020
+ }
4021
+ else {
4022
+ _this.isNew = false;
4023
+ }
4024
+ return _this;
4025
+ }
4026
+ MNominaSimple.prototype.dataInterface = function () {
4027
+ return {
4028
+ id_empresa: this.idEmpresa.toString(),
4029
+ id_nomina: this.idNomina.toString(),
4030
+ codnom: this.codigoNomina,
4031
+ dennom: this.denominacioNomina,
4032
+ id_periodoactual: this.idPeriodoActual.toString(),
4033
+ totper: this.totalPeriodo.toString(),
4034
+ cerper: this.estatusPeriodo.toString(),
4035
+ prenomina: this.prenomina ? '1' : '0',
4036
+ calculado: this.calculada ? '1' : '0',
4037
+ id_carper: this.idCargo.toString(),
4038
+ descar: this.denominacionCargo,
4039
+ codcar: this.codigoCargo,
4040
+ racnom: this.nominaRac.toString(),
4041
+ staper: this.estatusPersonal.toString(),
4042
+ despernom: this.descripcionPeriodoNomina,
4043
+ peractnom: this.periodoActualNomina,
4044
+ };
4045
+ };
4046
+ return MNominaSimple;
3918
4047
  }(MBasicModel));
3919
4048
 
3920
4049
  var MAsignacionCargo = /** @class */ (function (_super) {
@@ -3926,9 +4055,6 @@
3926
4055
  _this.idAsignacionCargo = 0;
3927
4056
  _this.codigoAsignacionCargo = '';
3928
4057
  _this.denominacionAsignacionCargo = '';
3929
- _this.idOrganigrama = 0;
3930
- _this.codigoOrganigrama = '';
3931
- _this.denominacionOrganigrama = '';
3932
4058
  _this.idEp1 = 0;
3933
4059
  _this.idEp2 = 0;
3934
4060
  _this.idEp3 = 0;
@@ -3953,14 +4079,15 @@
3953
4079
  _this.totalCargos = 0;
3954
4080
  _this.numeroCargosOcupados = 0;
3955
4081
  _this.disponibilidadCargos = 0;
4082
+ _this.detallesNominas = [];
4083
+ _this.nominaEliminar = [];
4084
+ _this.detallesOrganigrama = [];
4085
+ _this.organigramaEliminar = [];
3956
4086
  if (e) {
3957
4087
  _this.idEmpresa = parseInt(e.id_empresa);
3958
4088
  _this.idAsignacionCargo = parseInt(e.id_carper);
3959
4089
  _this.codigoAsignacionCargo = e.codcar;
3960
4090
  _this.denominacionAsignacionCargo = e.descar;
3961
- _this.idOrganigrama = parseInt(e.id_organigrama);
3962
- _this.codigoOrganigrama = e.codestorg;
3963
- _this.denominacionOrganigrama = e.denestorg;
3964
4091
  _this.idEp1 = parseInt(e.id_ep1);
3965
4092
  _this.idEp2 = parseInt(e.id_ep2);
3966
4093
  _this.idEp3 = parseInt(e.id_ep3);
@@ -3985,6 +4112,12 @@
3985
4112
  _this.totalCargos = parseInt(e.totcar);
3986
4113
  _this.numeroCargosOcupados = parseInt(e.numocucar);
3987
4114
  _this.disponibilidadCargos = parseInt(e.disponibilidad);
4115
+ if (e.detalles_nomina) {
4116
+ _this.detallesNominas = e.detalles_nomina.map(function (e) { return new MCargosNominas(e); });
4117
+ }
4118
+ if (e.detalles_organigrama) {
4119
+ _this.detallesOrganigrama = e.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
4120
+ }
3988
4121
  }
3989
4122
  else {
3990
4123
  _this.isNew = true;
@@ -3997,96 +4130,182 @@
3997
4130
  id_carper: this.idAsignacionCargo.toString(),
3998
4131
  codcar: this.codigoAsignacionCargo,
3999
4132
  descar: this.denominacionAsignacionCargo,
4000
- id_organigrama: this.idOrganigrama.toString(),
4001
- codestorg: this.codigoOrganigrama,
4002
- denestorg: this.denominacionOrganigrama,
4003
4133
  id_ep1: this.idEp1.toString(),
4004
4134
  id_ep2: this.idEp2.toString(),
4005
4135
  id_ep3: this.idEp3.toString(),
4006
4136
  id_ep4: this.idEp4.toString(),
4007
4137
  id_ep5: this.idEp5.toString(),
4008
- codigo_estructura: this.codigoEstructura,
4009
- denominacion_estructura: this.denominacionEstructura,
4010
4138
  clacar: this.claseCargo,
4011
4139
  id_dedicacion: this.idDedicacion.toString(),
4012
- codded: this.codigoDedicacion,
4013
- dended: this.denominacionDedicacion,
4014
4140
  id_tipopersonal: this.idTipoPersonal.toString(),
4015
- codtipper: this.codigoTipoPersonal,
4016
- dentipper: this.denominacionTipoPersonal,
4017
4141
  id_tabulador: this.idTabulador.toString(),
4018
- codtab: this.codigoTipoPersonal,
4019
- destab: this.denominacionTabulador,
4020
4142
  codgra: this.codigoGrado,
4021
4143
  codpas: this.codigoPaso,
4022
- monsalgra: this.salario.toString(),
4023
- moncomgra: this.compensacion.toString(),
4024
4144
  totcar: this.totalCargos.toString(),
4025
4145
  numocucar: this.numeroCargosOcupados.toString(),
4026
- disponibilidad: this.disponibilidadCargos.toString(),
4146
+ detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
4147
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
4148
+ eliminar_nomina: this.nominaEliminar,
4149
+ eliminar_organigrama: this.organigramaEliminar,
4027
4150
  };
4028
4151
  };
4029
4152
  return MAsignacionCargo;
4153
+ }(MBasicModel));
4154
+ var MCargoEstructuraOrganizativa = /** @class */ (function (_super) {
4155
+ __extends(MCargoEstructuraOrganizativa, _super);
4156
+ function MCargoEstructuraOrganizativa(e) {
4157
+ if (e === void 0) { e = null; }
4158
+ var _this = _super.call(this) || this;
4159
+ _this.idEmpresa = 0;
4160
+ _this.idCargoPersonal = 0;
4161
+ _this.idOrganigrama = 0;
4162
+ _this.idDtCargoEstructura = 0;
4163
+ _this.idPersonal = 0;
4164
+ _this.codigoEstructuraOrganizativa = '';
4165
+ _this.denominacionEstructuraOrganizativa = '';
4166
+ _this.nivel = 0;
4167
+ if (e) {
4168
+ _this.idEmpresa = parseInt(e.id_empresa);
4169
+ _this.idCargoPersonal = parseInt(e.id_carper);
4170
+ _this.idOrganigrama = parseInt(e.id_organigrama);
4171
+ _this.codigoEstructuraOrganizativa = e.codestorg;
4172
+ _this.denominacionEstructuraOrganizativa = e.denestorg;
4173
+ _this.idPersonal = parseInt(e.id_personal);
4174
+ _this.nivel = parseInt(e.nivel);
4175
+ }
4176
+ else {
4177
+ _this.isNew = true;
4178
+ }
4179
+ return _this;
4180
+ }
4181
+ MCargoEstructuraOrganizativa.prototype.dataInterface = function () {
4182
+ return {
4183
+ id_empresa: this.idEmpresa.toString(),
4184
+ id_carper: this.idCargoPersonal.toString(),
4185
+ id_organigrama: this.idOrganigrama.toString(),
4186
+ id_dt: this.idDtCargoEstructura.toString(),
4187
+ id_personal: this.idPersonal.toString(),
4188
+ };
4189
+ };
4190
+ return MCargoEstructuraOrganizativa;
4191
+ }(MBasicModel));
4192
+ var MCargosNominas = /** @class */ (function (_super) {
4193
+ __extends(MCargosNominas, _super);
4194
+ function MCargosNominas(e) {
4195
+ if (e === void 0) { e = null; }
4196
+ var _this = _super.call(this) || this;
4197
+ _this.idEmpresa = 0;
4198
+ _this.idNomina = 0;
4199
+ _this.idCargo = 0;
4200
+ _this.codigoNomina = '';
4201
+ _this.denominacionNomina = '';
4202
+ _this.estatus = '';
4203
+ _this.idDtNomina = 0;
4204
+ _this.periodoActualNomina = '001';
4205
+ _this.idPeriodoActual = 0;
4206
+ _this.nominaRac = 0;
4207
+ _this.descripcionPeriodoNomina = '';
4208
+ _this.prenomina = false;
4209
+ _this.editables = false;
4210
+ _this.calculada = false;
4211
+ if (e) {
4212
+ _this.idEmpresa = parseInt(e.id_empresa);
4213
+ _this.idNomina = parseInt(e.id_nomina);
4214
+ _this.idCargo = parseInt(e.id_carper);
4215
+ _this.codigoNomina = e.codnom;
4216
+ _this.denominacionNomina = e.dennom;
4217
+ _this.idDtNomina = parseInt(e.id_dt_carnom);
4218
+ _this.periodoActualNomina = e.peractnom;
4219
+ _this.calculada = e.calculado == '1' ? true : false;
4220
+ _this.prenomina = e.prenomina == '1' ? true : false;
4221
+ _this.estatus = _this.calculada ? 'Calculada' :
4222
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4223
+ _this.editables = (_this.calculada || _this.prenomina) ? false : true;
4224
+ }
4225
+ else {
4226
+ _this.isNew = true;
4227
+ }
4228
+ return _this;
4229
+ }
4230
+ MCargosNominas.prototype.dataInterface = function () {
4231
+ return {
4232
+ id_empresa: this.idEmpresa.toString(),
4233
+ id_nomina: this.idNomina.toString(),
4234
+ id_carper: this.idCargo.toString(),
4235
+ id_dt_carnom: this.idDtNomina.toString(),
4236
+ };
4237
+ };
4238
+ return MCargosNominas;
4030
4239
  }(MBasicModel));
4031
4240
 
4032
- var MNominaSimple = /** @class */ (function () {
4241
+ var MNominaSimple$1 = /** @class */ (function (_super) {
4242
+ __extends(MNominaSimple, _super);
4033
4243
  function MNominaSimple(e) {
4034
4244
  if (e === void 0) { e = null; }
4035
- this.idEmpresa = 0;
4036
- this.idNnomina = 0;
4037
- this.codigoNomina = '';
4038
- this.denominacioNomina = '';
4039
- this.idPeriodoActual = 0;
4040
- this.totalPeriodo = 0;
4041
- this.estatus = '';
4042
- this.estatusPeriodo = 0;
4043
- this.calculada = false;
4044
- this.prenomina = false;
4045
- this.idCargo = 0;
4046
- this.codigoCargo = '';
4047
- this.denominacionCargo = '';
4048
- this.nominaRac = 0;
4049
- this.simbolo = '';
4050
- this.color = '';
4245
+ var _this = _super.call(this) || this;
4246
+ _this.idEmpresa = 0;
4247
+ _this.idNomina = 0;
4248
+ _this.codigoNomina = '';
4249
+ _this.denominacioNomina = '';
4250
+ _this.idPeriodoActual = 0;
4251
+ _this.totalPeriodo = 0;
4252
+ _this.estatus = '';
4253
+ _this.estatusPeriodo = 0;
4254
+ _this.calculada = false;
4255
+ _this.prenomina = false;
4256
+ _this.idCargo = 0;
4257
+ _this.codigoCargo = '';
4258
+ _this.denominacionCargo = '';
4259
+ _this.nominaRac = 0;
4260
+ _this.simbolo = '';
4261
+ _this.color = '';
4262
+ _this.estatusPersonal = 0;
4263
+ _this.denominacionEstatuspersonal = '';
4264
+ _this.descripcionPeriodoNomina = '';
4265
+ _this.periodoActualNomina = '';
4266
+ _this.editable = false;
4051
4267
  if (e) {
4052
- this.idEmpresa = parseInt(e.id_empresa);
4053
- this.idNnomina = parseInt(e.id_nomina);
4054
- this.codigoNomina = e.codnom;
4055
- this.denominacioNomina = e.dennom;
4056
- this.idPeriodoActual = +e.id_periodoactual;
4057
- this.totalPeriodo = parseFloat(e.totper),
4058
- this.estatusPeriodo = parseInt(e.cerper);
4059
- this.calculada = e.calculado == '1' ? true : false;
4060
- this.prenomina = e.prenomina == '1' ? true : false;
4061
- this.estatus = this.calculada ? 'Calculada' :
4062
- !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4063
- this.idCargo = parseInt(e.id_carper);
4064
- this.codigoCargo = e.codcar;
4065
- this.denominacionCargo = e.descar;
4066
- this.nominaRac = parseInt(e.racnom);
4067
- this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
4068
- this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
4268
+ _this.idEmpresa = parseInt(e.id_empresa);
4269
+ _this.idNomina = parseInt(e.id_nomina);
4270
+ _this.codigoNomina = e.codnom;
4271
+ _this.denominacioNomina = e.dennom;
4272
+ _this.idPeriodoActual = +e.id_periodoactual;
4273
+ _this.totalPeriodo = parseFloat(e.totper),
4274
+ _this.estatusPeriodo = parseInt(e.cerper);
4275
+ _this.calculada = e.calculado == '1' ? true : false;
4276
+ _this.prenomina = e.prenomina == '1' ? true : false;
4277
+ _this.estatus = _this.calculada ? 'Calculada' :
4278
+ !_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
4279
+ _this.editable = (_this.calculada || _this.prenomina) ? false : true;
4280
+ _this.idCargo = parseInt(e.id_carper);
4281
+ _this.codigoCargo = e.codcar;
4282
+ _this.denominacionCargo = e.descar;
4283
+ _this.nominaRac = parseInt(e.racnom);
4284
+ _this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
4285
+ _this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
4286
+ _this.estatusPersonal = parseInt(e.staper);
4287
+ _this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
4288
+ _this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
4289
+ _this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
4290
+ _this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
4291
+ _this.denominacionEstatuspersonal = "SUSPENDIDO";
4292
+ _this.descripcionPeriodoNomina = e.despernom;
4293
+ _this.periodoActualNomina = e.peractnom;
4294
+ }
4295
+ else {
4296
+ _this.isNew = true;
4069
4297
  }
4298
+ return _this;
4070
4299
  }
4071
4300
  MNominaSimple.prototype.dataInterface = function () {
4072
4301
  return {
4073
4302
  id_empresa: this.idEmpresa.toString(),
4074
- id_nomina: this.idNnomina.toString(),
4075
- codnom: this.codigoNomina,
4076
- dennom: this.denominacioNomina,
4077
- id_periodoactual: this.idPeriodoActual.toString(),
4078
- totper: this.totalPeriodo.toString(),
4079
- cerper: this.estatusPeriodo.toString(),
4080
- prenomina: this.prenomina ? '1' : '0',
4081
- calculado: this.calculada ? '1' : '0',
4303
+ id_nomina: this.idNomina.toString(),
4082
4304
  id_carper: this.idCargo.toString(),
4083
- descar: this.denominacionCargo,
4084
- codcar: this.codigoCargo,
4085
- racnom: this.nominaRac.toString(),
4086
4305
  };
4087
4306
  };
4088
4307
  return MNominaSimple;
4089
- }());
4308
+ }(MBasicModel));
4090
4309
 
4091
4310
  var MPersonal = /** @class */ (function (_super) {
4092
4311
  __extends(MPersonal, _super);
@@ -4414,6 +4633,102 @@
4414
4633
  };
4415
4634
  };
4416
4635
  return MPersonal;
4636
+ }(MBasicModel));
4637
+ var MCambioEstatusPersonal = /** @class */ (function (_super) {
4638
+ __extends(MCambioEstatusPersonal, _super);
4639
+ function MCambioEstatusPersonal(e) {
4640
+ if (e === void 0) { e = null; }
4641
+ var _this = _super.call(this) || this;
4642
+ _this.idPersonal = 0;
4643
+ _this.codigoPersonal = '';
4644
+ _this.estatusActual = '2';
4645
+ _this.estatusNuevo = '2';
4646
+ _this.fechaEgreso = '';
4647
+ _this.causaEgreso = '';
4648
+ _this.preaviso = '1';
4649
+ _this.idCausales = 0;
4650
+ _this.observacion = '';
4651
+ _this.fechaReingreso = '1900-01-01';
4652
+ if (e) {
4653
+ _this.idPersonal = e.idPersonal;
4654
+ _this.codigoPersonal = e.codigoPersonal;
4655
+ _this.estatusActual = e.estatusActual;
4656
+ _this.estatusNuevo = e.estatusNuevo;
4657
+ _this.fechaEgreso = e.fechaEgreso;
4658
+ _this.causaEgreso = e.causaEgreso;
4659
+ _this.preaviso = e.preaviso;
4660
+ _this.idCausales = e.idCausales;
4661
+ _this.observacion = e.observacion;
4662
+ _this.fechaReingreso = e.fechaReingreso;
4663
+ }
4664
+ return _this;
4665
+ }
4666
+ MCambioEstatusPersonal.prototype.dataInterface = function () {
4667
+ return {
4668
+ idPersonal: this.idPersonal,
4669
+ codigoPersonal: this.codigoPersonal,
4670
+ estatusActual: this.estatusActual,
4671
+ estatusNuevo: this.estatusNuevo,
4672
+ fechaEgreso: this.fechaEgreso,
4673
+ causaEgreso: this.causaEgreso,
4674
+ preaviso: this.preaviso,
4675
+ idCausales: this.idCausales,
4676
+ observacion: this.observacion,
4677
+ fechaReingreso: this.fechaReingreso,
4678
+ };
4679
+ };
4680
+ return MCambioEstatusPersonal;
4681
+ }(MBasicModel));
4682
+ var MPersonalCuentaBanco = /** @class */ (function (_super) {
4683
+ __extends(MPersonalCuentaBanco, _super);
4684
+ function MPersonalCuentaBanco(e) {
4685
+ var _this = _super.call(this) || this;
4686
+ _this.idEmpresa = 0;
4687
+ _this.idPersonal = 0;
4688
+ _this.idCuentaBancoPersonal = -1;
4689
+ _this.codigoCuentaBancoPersonal = '';
4690
+ _this.denominacionCuentaBancoPersonal = '';
4691
+ _this.idBanco = 0;
4692
+ _this.idTipoCuentaBanco = 0;
4693
+ _this.cuentaBancoPersonal = '';
4694
+ _this.estatusCuentaBanco = '1';
4695
+ _this.tipoCuentaPrincipal = '0';
4696
+ _this.codigoBanco = '';
4697
+ _this.cuentaReducida = '';
4698
+ if (e) {
4699
+ _this.idEmpresa = parseInt(e.id_empresa);
4700
+ _this.idPersonal = parseInt(e.id_personal);
4701
+ _this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4702
+ _this.codigoCuentaBancoPersonal = e.codctabanper;
4703
+ _this.denominacionCuentaBancoPersonal = e.denctabanper;
4704
+ _this.idBanco = parseInt(e.id_banco);
4705
+ _this.idTipoCuentaBanco = parseInt(e.id_tipocta);
4706
+ _this.cuentaBancoPersonal = e.ctabanper;
4707
+ _this.estatusCuentaBanco = e.estctabco;
4708
+ _this.tipoCuentaPrincipal = e.tipctapri;
4709
+ _this.codigoBanco = _this.cuentaBancoPersonal.substring(0, 4);
4710
+ _this.cuentaReducida = _this.cuentaBancoPersonal.slice(4);
4711
+ }
4712
+ else {
4713
+ _this.isNew = true;
4714
+ }
4715
+ return _this;
4716
+ }
4717
+ MPersonalCuentaBanco.prototype.dataInterface = function () {
4718
+ return {
4719
+ id_empresa: this.idEmpresa.toString(),
4720
+ id_personal: this.idPersonal.toString(),
4721
+ id_ctabanper: this.idCuentaBancoPersonal.toString(),
4722
+ codctabanper: this.codigoCuentaBancoPersonal,
4723
+ denctabanper: this.denominacionCuentaBancoPersonal,
4724
+ id_banco: this.idBanco.toString(),
4725
+ id_tipocta: this.idTipoCuentaBanco.toString(),
4726
+ ctabanper: this.cuentaBancoPersonal,
4727
+ estctabco: this.estatusCuentaBanco,
4728
+ tipctapri: this.tipoCuentaPrincipal,
4729
+ };
4730
+ };
4731
+ return MPersonalCuentaBanco;
4417
4732
  }(MBasicModel));
4418
4733
 
4419
4734
  var MDetaContable = /** @class */ (function (_super) {
@@ -6470,7 +6785,7 @@
6470
6785
  SigespService.prototype.getPersonalNominaResumida = function (idPersonal, tipo) {
6471
6786
  return this.http.get(this.URL + "/dao/sno/personal_dao.php?idPersonal=" + idPersonal + "&tipo=" + tipo, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6472
6787
  if (res.success) {
6473
- res.data = res.data.map(function (e) { return new MNominaSimple(e); });
6788
+ res.data = res.data.map(function (e) { return new MNominaSimple$1(e); });
6474
6789
  }
6475
6790
  return res;
6476
6791
  }));
@@ -6506,7 +6821,6 @@
6506
6821
  return this.http.post(this.URL + "/dao/sss/log_dao.php", body, {
6507
6822
  headers: this.getHttpHeaders()
6508
6823
  }).pipe(operators.map(function (res) {
6509
- console.log("Log : ", res);
6510
6824
  return res;
6511
6825
  }));
6512
6826
  };
@@ -7180,6 +7494,8 @@
7180
7494
  _this.userData.name = permit.nomusu;
7181
7495
  _this.userData.lastname = permit.apeusu;
7182
7496
  _this.userData.username = permit.codusu;
7497
+ _this.descripcion = permit.descripcion;
7498
+ _this.id_record = parseInt(permit.id_record);
7183
7499
  }
7184
7500
  else {
7185
7501
  _this.isNew = true;
@@ -7191,6 +7507,8 @@
7191
7507
  activo: this.active ? '1' : '0',
7192
7508
  codintper: this.internalPermit,
7193
7509
  codsis: this.systemCode,
7510
+ descripcion: this.descripcion,
7511
+ id_record: this.id_record.toString(),
7194
7512
  id_permiso: this.id.toString(),
7195
7513
  id_usuario: this.userData.id ? this.userData.id.toString() : null,
7196
7514
  apeusu: this.userData.lastname ? this.userData.lastname : null,
@@ -7393,7 +7711,47 @@
7393
7711
  return MArchivoTxtCampo;
7394
7712
  }(MBasicModel));
7395
7713
 
7396
- var MAspectoEvaluacion = /** @class */ (function (_super) {
7714
+ var MArchivosTxt = /** @class */ (function (_super) {
7715
+ __extends(MArchivosTxt, _super);
7716
+ function MArchivosTxt(e) {
7717
+ if (e === void 0) { e = null; }
7718
+ var _this = _super.call(this) || this;
7719
+ _this.idEmpresa = 0;
7720
+ _this.idArchivoTxt = 0;
7721
+ _this.codigoArchivo = '';
7722
+ _this.denominacionArchivo = '';
7723
+ _this.tipoArchivo = 'I';
7724
+ _this.acumularMonto = false;
7725
+ _this.campos = [];
7726
+ if (e) {
7727
+ e.acumon == '1' ? _this.acumularMonto = true : _this.acumularMonto = false;
7728
+ _this.idEmpresa = parseInt(e.id_empresa);
7729
+ _this.idArchivoTxt = parseInt(e.id_archivotxt);
7730
+ _this.codigoArchivo = e.codarch;
7731
+ _this.denominacionArchivo = e.denarch;
7732
+ _this.tipoArchivo = e.tiparch;
7733
+ _this.campos = e.campos.map(function (e) { return new MArchivoTxtCampo(e); });
7734
+ }
7735
+ else {
7736
+ _this.isNew = true;
7737
+ }
7738
+ return _this;
7739
+ }
7740
+ MArchivosTxt.prototype.dataInterface = function () {
7741
+ return {
7742
+ id_empresa: this.idEmpresa.toString(),
7743
+ id_archivotxt: this.idArchivoTxt.toString(),
7744
+ codarch: this.codigoArchivo,
7745
+ denarch: this.denominacionArchivo,
7746
+ tiparch: this.tipoArchivo,
7747
+ acumon: this.acumularMonto ? '1' : '0',
7748
+ campos: this.campos.map(function (e) { return e.dataInterface(); }),
7749
+ };
7750
+ };
7751
+ return MArchivosTxt;
7752
+ }(MBasicModel));
7753
+
7754
+ var MAspectoEvaluacion = /** @class */ (function (_super) {
7397
7755
  __extends(MAspectoEvaluacion, _super);
7398
7756
  function MAspectoEvaluacion(e) {
7399
7757
  var _this = _super.call(this) || this;
@@ -7430,6 +7788,57 @@
7430
7788
  };
7431
7789
  };
7432
7790
  return MAspectoEvaluacion;
7791
+ }(MBasicModel));
7792
+ var MItemsEvalucion = /** @class */ (function (_super) {
7793
+ __extends(MItemsEvalucion, _super);
7794
+ function MItemsEvalucion(e) {
7795
+ if (e === void 0) { e = null; }
7796
+ var _this = _super.call(this) || this;
7797
+ _this.idEmpresa = 0;
7798
+ _this.idTipoEvaluacion = 0;
7799
+ _this.idAspectoEvaluacion = 0;
7800
+ _this.idItems = 0;
7801
+ _this.codigoItems = '';
7802
+ _this.denominacionItems = '';
7803
+ _this.valorMaximo = 0;
7804
+ _this.codigoTipoEvaluacion = '';
7805
+ _this.denominacionTipoEvaluacion = '';
7806
+ _this.codigoAspecto = '';
7807
+ _this.denominacionAspecto = '';
7808
+ if (e) {
7809
+ _this.idEmpresa = parseInt(e.id_empresa);
7810
+ _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7811
+ _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7812
+ _this.idItems = parseInt(e.id_item);
7813
+ _this.codigoItems = e.codite;
7814
+ _this.denominacionItems = e.denite;
7815
+ _this.valorMaximo = e.valormax;
7816
+ _this.codigoTipoEvaluacion = e.codtipeval;
7817
+ _this.denominacionTipoEvaluacion = e.dentipeval;
7818
+ _this.codigoAspecto = e.codasp;
7819
+ _this.denominacionAspecto = e.denasp;
7820
+ }
7821
+ else {
7822
+ _this.isNew = true;
7823
+ }
7824
+ return _this;
7825
+ }
7826
+ MItemsEvalucion.prototype.dataInterface = function () {
7827
+ return {
7828
+ id_empresa: this.idEmpresa.toString(),
7829
+ id_tipoeval: this.idTipoEvaluacion.toString(),
7830
+ id_aspecto: this.idAspectoEvaluacion.toString(),
7831
+ id_item: this.idItems.toString(),
7832
+ codite: this.codigoItems,
7833
+ denite: this.denominacionItems,
7834
+ valormax: this.valorMaximo,
7835
+ codasp: this.codigoAspecto,
7836
+ denasp: this.denominacionAspecto,
7837
+ codtipeval: this.codigoTipoEvaluacion,
7838
+ dentipeval: this.denominacionTipoEvaluacion,
7839
+ };
7840
+ };
7841
+ return MItemsEvalucion;
7433
7842
  }(MBasicModel));
7434
7843
 
7435
7844
  var MBeneficiario = /** @class */ (function (_super) {
@@ -7459,6 +7868,8 @@
7459
7868
  _this.nexoFamiliar = '';
7460
7869
  _this.nombreBanco = '';
7461
7870
  _this.denominacionTipoCuenta = '';
7871
+ _this.medidaActiva = false;
7872
+ _this.tribunal = '';
7462
7873
  if (e) {
7463
7874
  _this.idEmpresa = parseInt(e.id_empresa);
7464
7875
  _this.idPersonal = parseInt(e.id_personal);
@@ -7473,6 +7884,8 @@
7473
7884
  _this.numeroExpedienteBeneficiario = e.numexpben;
7474
7885
  _this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
7475
7886
  _this.montoPagoBeneficiario = parseFloat(e.monpagben);
7887
+ _this.medidaActiva = e.medact == '1' ? true : false;
7888
+ _this.tribunal = e.tribunal;
7476
7889
  _this.nombreCheque = e.nompro;
7477
7890
  _this.cedulaAutorizado = e.cedpro;
7478
7891
  _this.nombreFamiliar = e.nomfam;
@@ -7504,16 +7917,8 @@
7504
7917
  ctabanben: this.cuentaBancoBeneficiario,
7505
7918
  forpagben: this.formaPagoBeneficiario,
7506
7919
  numexpben: this.numeroExpedienteBeneficiario,
7507
- cedpro: this.cedulaAutorizado,
7508
- nompro: this.nombreCheque,
7509
- nomfam: this.nombreFamiliar,
7510
- apefam: this.apellidoFamiliar,
7511
- cedfam: this.cedulaFamiliar,
7512
- dirfam: this.direccionFamiliar,
7513
- telfam: this.telefonoFamiliar,
7514
- nexfam: this.nexoFamiliar,
7515
- nomban: this.nombreBanco,
7516
- nomtipcta: this.denominacionTipoCuenta
7920
+ medact: this.medidaActiva ? '1' : '0',
7921
+ tribunal: this.tribunal,
7517
7922
  };
7518
7923
  };
7519
7924
  return MBeneficiario;
@@ -7524,6 +7929,7 @@
7524
7929
  function MCargosPersonal(p) {
7525
7930
  if (p === void 0) { p = null; }
7526
7931
  var _this = _super.call(this) || this;
7932
+ _this.idEmpresa = 0;
7527
7933
  _this.idPersonal = 0;
7528
7934
  _this.idCargo = 0;
7529
7935
  _this.codigoCargo = '';
@@ -7531,7 +7937,6 @@
7531
7937
  _this.codigoDedicacion = '';
7532
7938
  _this.denominacionDedicacion = '';
7533
7939
  _this.denominacionTipoPersonalSno = '';
7534
- _this.idOrganigrama = 0;
7535
7940
  _this.idUbicacionFisica = 0;
7536
7941
  _this.denominacionUbicacionFisica = '';
7537
7942
  _this.codigoUbicacionFisica = '';
@@ -7543,17 +7948,15 @@
7543
7948
  _this.codigoPaso = '0';
7544
7949
  _this.codigoTabulador = '';
7545
7950
  _this.denominacionTabulador = '';
7546
- _this.codigoOrganigrama = '';
7547
- _this.denominacionOrganigrama = '';
7548
7951
  _this.idPersonalCargo = 0;
7549
7952
  _this.montoSalarioGrado = 0;
7550
7953
  _this.montoCompensacionGrado = 0;
7551
7954
  _this.estatusMPPPE = false;
7955
+ _this.detallesOrganigrama = [];
7956
+ _this.organigramaEliminar = [];
7957
+ _this.detallesNomina = [];
7552
7958
  if (p) {
7553
7959
  _this.idPersonal = parseInt(p.id_personal);
7554
- _this.idOrganigrama = parseInt(p.id_organigrama);
7555
- _this.codigoOrganigrama = p.codestorg;
7556
- _this.denominacionOrganigrama = p.denestorg;
7557
7960
  _this.idCargo = +p.id_carper;
7558
7961
  _this.codigoCargo = p.codcar;
7559
7962
  _this.descripcionCargo = p.descar;
@@ -7575,6 +7978,12 @@
7575
7978
  _this.montoSalarioGrado = parseFloat(p.moncomgra);
7576
7979
  _this.montoCompensacionGrado = parseFloat(p.moncomgra);
7577
7980
  _this.estatusMPPPE = p.estmpppe == '1' ? true : false;
7981
+ if (p.detalles_organigrama) {
7982
+ _this.detallesOrganigrama = p.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
7983
+ }
7984
+ if (p.detalles_nomina) {
7985
+ _this.detallesNomina = p.detalles_nomina.map(function (e) { return new MNominaSimple(e); });
7986
+ }
7578
7987
  }
7579
7988
  else {
7580
7989
  _this.isNew = true;
@@ -7583,31 +7992,16 @@
7583
7992
  }
7584
7993
  MCargosPersonal.prototype.dataInterface = function () {
7585
7994
  return {
7586
- id_organigrama: this.idOrganigrama.toString(),
7587
- codestorg: this.codigoOrganigrama,
7588
- denestorg: this.denominacionOrganigrama,
7995
+ id_empresa: this.idEmpresa.toString(),
7996
+ id_personal: this.idPersonal.toString(),
7589
7997
  id_carper: this.idCargo.toString(),
7590
- descar: this.descripcionCargo.toString(),
7591
- codcar: this.codigoCargo,
7592
- codded: this.codigoDedicacion,
7593
- dended: this.denominacionDedicacion,
7594
- dentipper: this.denominacionTipoPersonalSno,
7595
- id_ubifis: this.idUbicacionFisica.toString(),
7596
- codubifis: this.codigoUbicacionFisica,
7597
- denubifis: this.denominacionUbicacionFisica,
7598
- codtipper: this.codigoTipoPersonalSno,
7599
- id_dedicacion: this.idDedicacion.toString(),
7600
- id_tipopersonal: this.idTipoPersonalSno.toString(),
7601
7998
  id_tabulador: this.idTabulador.toString(),
7602
7999
  codgra: this.codigoGrado,
7603
8000
  codpas: this.codigoPaso,
7604
- codtab: this.codigoTabulador,
7605
- destab: this.denominacionTabulador,
8001
+ id_ubifis: this.idUbicacionFisica.toString(),
7606
8002
  id_personalcargo: this.idPersonalCargo.toString(),
7607
- id_personal: this.idPersonal.toString(),
7608
- moncomgra: this.montoCompensacionGrado.toString(),
7609
- monsalgra: this.montoSalarioGrado.toString(),
7610
- estmpppe: this.estatusMPPPE ? '1' : '0',
8003
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
8004
+ eliminar_organigrama: this.organigramaEliminar,
7611
8005
  };
7612
8006
  };
7613
8007
  return MCargosPersonal;
@@ -7888,6 +8282,8 @@
7888
8282
  _this.formulaReducida = '';
7889
8283
  _this.nombreSigno = '';
7890
8284
  _this.orden = 0;
8285
+ _this.evaluarEnPrenomina = 0;
8286
+ _this.antiguedadComplementaria = 0;
7891
8287
  if (e) {
7892
8288
  _this.idEmpresa = +e.id_empresa;
7893
8289
  _this.idNomina = +e.id_nomina;
@@ -7956,6 +8352,8 @@
7956
8352
  _this.formulaReducida = e.forcon.substr(0, 40);
7957
8353
  }
7958
8354
  _this.nombreSigno = _this.denominacionSigno(_this.signoConcepto);
8355
+ _this.evaluarEnPrenomina = +e.evaprenom;
8356
+ _this.antiguedadComplementaria = +e.antigcomp;
7959
8357
  }
7960
8358
  else {
7961
8359
  _this.isNew = true;
@@ -8024,6 +8422,8 @@
8024
8422
  regincidencia: this.registroIncidencia,
8025
8423
  forincidencia: this.formulaIncidencia,
8026
8424
  orden: this.orden.toString(),
8425
+ evaprenom: this.evaluarEnPrenomina.toString(),
8426
+ antigcomp: this.antiguedadComplementaria.toString(),
8027
8427
  };
8028
8428
  };
8029
8429
  MConceptosNomina.prototype.denominacionSigno = function (sig) {
@@ -8270,27 +8670,33 @@
8270
8670
  return MConstantePersonalNomina;
8271
8671
  }(MBasicModel));
8272
8672
 
8273
- var MRango = /** @class */ (function () {
8673
+ var MRango = /** @class */ (function (_super) {
8674
+ __extends(MRango, _super);
8274
8675
  function MRango(e) {
8275
8676
  if (e === void 0) { e = null; }
8276
- this.idEmpresa = 0;
8277
- this.idComponente = 0;
8278
- this.IdRango = 0;
8279
- this.IdCategoria = 0;
8280
- this.codigoRango = '';
8281
- this.denominacionRango = '';
8282
- this.nombreAbreviatura = '';
8283
- this.codigoCategoriaRango = '';
8677
+ var _this = _super.call(this) || this;
8678
+ _this.idEmpresa = 0;
8679
+ _this.idComponente = 0;
8680
+ _this.IdRango = 0;
8681
+ _this.IdCategoria = 0;
8682
+ _this.codigoRango = '';
8683
+ _this.denominacionRango = '';
8684
+ _this.nombreAbreviatura = '';
8685
+ _this.codigoCategoriaRango = '';
8284
8686
  if (e) {
8285
- this.idEmpresa = parseInt(e.id_empresa);
8286
- this.idComponente = parseInt(e.id_componente);
8287
- this.IdRango = parseInt(e.id_rango);
8288
- this.IdCategoria = parseInt(e.id_catrango);
8289
- this.codigoRango = e.codran;
8290
- this.denominacionRango = e.denran;
8291
- this.nombreAbreviatura = e.nomabr;
8292
- this.codigoCategoriaRango = e.codcatran;
8687
+ _this.idEmpresa = parseInt(e.id_empresa);
8688
+ _this.idComponente = parseInt(e.id_componente);
8689
+ _this.IdRango = parseInt(e.id_rango);
8690
+ _this.IdCategoria = parseInt(e.id_catrango);
8691
+ _this.codigoRango = e.codran;
8692
+ _this.denominacionRango = e.denran;
8693
+ _this.nombreAbreviatura = e.nomabr;
8694
+ _this.codigoCategoriaRango = e.codcatran;
8695
+ }
8696
+ else {
8697
+ _this.isNew = true;
8293
8698
  }
8699
+ return _this;
8294
8700
  }
8295
8701
  MRango.prototype.dataInterface = function () {
8296
8702
  return {
@@ -8305,7 +8711,7 @@
8305
8711
  };
8306
8712
  };
8307
8713
  return MRango;
8308
- }());
8714
+ }(MBasicModel));
8309
8715
 
8310
8716
  var MComponete = /** @class */ (function (_super) {
8311
8717
  __extends(MComponete, _super);
@@ -8350,43 +8756,55 @@
8350
8756
  var _this = _super.call(this) || this;
8351
8757
  _this.idEmpresa = 0;
8352
8758
  _this.idConcurso = 0;
8759
+ _this.codigoConcurso = '';
8353
8760
  _this.idConcursante = 0;
8354
8761
  _this.cedula = '';
8355
8762
  _this.idProfesion = 0;
8356
- _this.fechaRegistro = '';
8357
- _this.nombre = '';
8358
- _this.apellido = '';
8763
+ _this.profesion = '';
8764
+ _this.nombreProfesion = '';
8765
+ _this.fechaInscripcion = '';
8766
+ _this.nombres = '';
8767
+ _this.apellidos = '';
8359
8768
  _this.direccion = '';
8360
8769
  _this.fechaNacimiento = '';
8361
8770
  _this.estadoCivil = '';
8362
8771
  _this.codigoPais = '';
8772
+ _this.nombrePais = '';
8363
8773
  _this.codigoEstado = '';
8774
+ _this.nombreEstado = '';
8364
8775
  _this.nacionalidad = '';
8365
8776
  _this.telefono = '';
8366
8777
  _this.celular = '';
8367
8778
  _this.correo = '';
8368
8779
  _this.genero = '';
8369
8780
  _this.nivelAcademico = 0;
8781
+ _this.estatusRequisitos = 1;
8370
8782
  if (e) {
8371
8783
  _this.idEmpresa = parseInt(e.id_empresa);
8372
- _this.idConcursante = parseInt(e.id_concurso);
8784
+ _this.idConcurso = parseInt(e.id_concurso);
8785
+ _this.codigoConcurso = e.codcon;
8373
8786
  _this.idConcursante = parseInt(e.id_concursante);
8374
8787
  _this.cedula = e.cedper;
8375
8788
  _this.idProfesion = parseInt(e.id_profesion);
8376
- _this.fechaRegistro = e.fecreg;
8377
- _this.nombre = e.nomper;
8378
- _this.apellido = e.apeper;
8789
+ _this.profesion = e.profesion;
8790
+ _this.nombreProfesion = e.nombre_profesion;
8791
+ _this.fechaInscripcion = e.fecreg;
8792
+ _this.nombres = e.nomper;
8793
+ _this.apellidos = e.apeper;
8379
8794
  _this.direccion = e.dirper;
8380
8795
  _this.fechaNacimiento = e.fecnacper;
8381
8796
  _this.estadoCivil = e.estcivper;
8382
8797
  _this.codigoPais = e.codpai;
8798
+ _this.nombrePais = e.nombre_pais;
8383
8799
  _this.codigoEstado = e.codest;
8800
+ _this.nombreEstado = e.nombre_estado;
8384
8801
  _this.nacionalidad = e.nacper;
8385
8802
  _this.telefono = e.telhabper;
8386
8803
  _this.celular = e.telmovper;
8387
8804
  _this.correo = e.emaper;
8388
8805
  _this.genero = e.sexper;
8389
8806
  _this.nivelAcademico = parseInt(e.nivacaper);
8807
+ _this.estatusRequisitos = parseInt(e.estconper);
8390
8808
  }
8391
8809
  return _this;
8392
8810
  }
@@ -8394,26 +8812,265 @@
8394
8812
  return {
8395
8813
  id_empresa: this.idEmpresa.toString(),
8396
8814
  id_concurso: this.idConcurso.toString(),
8397
- id_concursante: this.idConcurso.toString(),
8815
+ codcon: this.codigoConcurso,
8816
+ id_concursante: this.idConcursante.toString(),
8398
8817
  cedper: this.cedula,
8399
8818
  id_profesion: this.idProfesion.toString(),
8400
- fecreg: this.fechaRegistro,
8401
- nomper: this.nombre,
8402
- apeper: this.apellido,
8819
+ profesion: this.profesion,
8820
+ nombre_profesion: this.nombreProfesion,
8821
+ fecreg: this.fechaInscripcion,
8822
+ nomper: this.nombres,
8823
+ apeper: this.apellidos,
8403
8824
  dirper: this.direccion,
8404
8825
  fecnacper: this.fechaNacimiento,
8405
8826
  estcivper: this.estadoCivil,
8406
8827
  codpai: this.codigoPais,
8828
+ nombre_pais: this.nombrePais,
8407
8829
  codest: this.codigoEstado,
8830
+ nombre_estado: this.nombreEstado,
8408
8831
  nacper: this.nacionalidad,
8409
8832
  telhabper: this.telefono,
8410
8833
  telmovper: this.celular,
8411
8834
  emaper: this.correo,
8412
8835
  sexper: this.genero,
8413
- nivacaper: this.nivelAcademico.toString()
8836
+ nivacaper: this.nivelAcademico.toString(),
8837
+ estconper: this.estatusRequisitos.toString()
8414
8838
  };
8415
8839
  };
8416
8840
  return MConcursante;
8841
+ }(MBasicModel));
8842
+ var MTrabajosConcursantes = /** @class */ (function (_super) {
8843
+ __extends(MTrabajosConcursantes, _super);
8844
+ function MTrabajosConcursantes(e) {
8845
+ var _this = _super.call(this) || this;
8846
+ _this.idEmpresa = 0;
8847
+ _this.idConcurso = 0;
8848
+ _this.idConcursante = 0;
8849
+ _this.idTrabajo = 0;
8850
+ _this.codigo = '';
8851
+ _this.empresaTrabajoAnterior = '';
8852
+ _this.cargoTrabajoAnterior = '';
8853
+ _this.fechaIngreso = '';
8854
+ _this.fechaRetiro = '';
8855
+ if (e) {
8856
+ _this.idEmpresa = parseInt(e.id_empresa);
8857
+ _this.idConcurso = parseInt(e.id_concurso);
8858
+ _this.idConcursante = parseInt(e.id_concursante);
8859
+ _this.idTrabajo = parseInt(e.id_trabajocon);
8860
+ _this.codigo = e.codtraper;
8861
+ _this.empresaTrabajoAnterior = e.emptraper;
8862
+ _this.cargoTrabajoAnterior = e.cartraant;
8863
+ _this.fechaIngreso = e.fecingtraant;
8864
+ _this.fechaRetiro = e.fecrettraant;
8865
+ }
8866
+ else {
8867
+ _this.isNew = true;
8868
+ }
8869
+ return _this;
8870
+ }
8871
+ MTrabajosConcursantes.prototype.dataInterface = function () {
8872
+ return {
8873
+ id_empresa: this.idEmpresa.toString(),
8874
+ id_concurso: this.idConcurso.toString(),
8875
+ id_concursante: this.idConcursante.toString(),
8876
+ id_trabajocon: this.idTrabajo.toString(),
8877
+ codtraper: this.codigo,
8878
+ emptraper: this.empresaTrabajoAnterior,
8879
+ cartraant: this.cargoTrabajoAnterior,
8880
+ fecingtraant: this.fechaIngreso,
8881
+ fecrettraant: this.fechaRetiro
8882
+ };
8883
+ };
8884
+ return MTrabajosConcursantes;
8885
+ }(MBasicModel));
8886
+ var MEstudiosConcursantes = /** @class */ (function (_super) {
8887
+ __extends(MEstudiosConcursantes, _super);
8888
+ function MEstudiosConcursantes(e) {
8889
+ if (e === void 0) { e = null; }
8890
+ var _this = _super.call(this) || this;
8891
+ _this.idEmpresa = 0;
8892
+ _this.idConcurso = 0;
8893
+ _this.idConcursante = 0;
8894
+ _this.idEstudio = 0;
8895
+ _this.codigoEstudio = '';
8896
+ _this.institutoEstudio = '';
8897
+ _this.descripcionEstudio = '';
8898
+ _this.fechaInicioEstudio = '';
8899
+ _this.fechaFinEstudio = '';
8900
+ _this.tituloObtenido = 0;
8901
+ _this.yearAprobados = 0;
8902
+ _this.horasEstudiosRealizadas = 0;
8903
+ if (e) {
8904
+ _this.idEmpresa = parseInt(e.id_empresa);
8905
+ _this.idConcurso = parseInt(e.id_concurso);
8906
+ _this.idConcursante = parseInt(e.id_concursante);
8907
+ _this.idEstudio = parseInt(e.id_estudiocon);
8908
+ _this.codigoEstudio = e.codestrea;
8909
+ _this.institutoEstudio = e.insestper;
8910
+ _this.descripcionEstudio = e.desestper;
8911
+ _this.fechaInicioEstudio = e.fecinireaest;
8912
+ _this.fechaFinEstudio = e.fecfinestrea;
8913
+ _this.tituloObtenido = parseInt(e.titestper);
8914
+ _this.yearAprobados = parseInt(e.anoaprestper);
8915
+ _this.horasEstudiosRealizadas = parseInt(e.horestrea);
8916
+ }
8917
+ else {
8918
+ _this.isNew = true;
8919
+ }
8920
+ return _this;
8921
+ }
8922
+ MEstudiosConcursantes.prototype.dataInterface = function () {
8923
+ return {
8924
+ id_empresa: this.idEmpresa.toString(),
8925
+ id_concurso: this.idConcurso.toString(),
8926
+ id_concursante: this.idConcursante.toString(),
8927
+ id_estudiocon: this.idEstudio.toString(),
8928
+ codestrea: this.codigoEstudio,
8929
+ insestper: this.institutoEstudio,
8930
+ desestper: this.descripcionEstudio,
8931
+ fecinireaest: this.fechaInicioEstudio,
8932
+ fecfinestrea: this.fechaFinEstudio,
8933
+ titestper: this.tituloObtenido.toString(),
8934
+ anoaprestper: this.yearAprobados.toString(),
8935
+ horestrea: this.horasEstudiosRealizadas.toString(),
8936
+ };
8937
+ };
8938
+ return MEstudiosConcursantes;
8939
+ }(MBasicModel));
8940
+ var MExperienciaLaboral = /** @class */ (function (_super) {
8941
+ __extends(MExperienciaLaboral, _super);
8942
+ function MExperienciaLaboral(e) {
8943
+ if (e === void 0) { e = null; }
8944
+ var _this = _super.call(this) || this;
8945
+ _this.idEmpresa = 0;
8946
+ _this.idConcurso = 0;
8947
+ _this.idConcursante = 0;
8948
+ _this.idTrabajoConcursante = 0;
8949
+ _this.codigoTrabajo = '';
8950
+ _this.empresa = '';
8951
+ _this.cargo = '';
8952
+ _this.fechaIngreso = '';
8953
+ _this.fechaRetiro = '';
8954
+ if (e) {
8955
+ _this.idEmpresa = parseInt(e.id_empresa);
8956
+ _this.idConcursante = parseInt(e.id_concurso);
8957
+ _this.idConcursante = parseInt(e.id_concursante);
8958
+ _this.idTrabajoConcursante = parseInt(e.id_trabajocon);
8959
+ _this.codigoTrabajo = e.codtra;
8960
+ _this.empresa = e.emptraper;
8961
+ _this.cargo = e.cartraant;
8962
+ _this.fechaIngreso = e.fecingtraant;
8963
+ _this.fechaRetiro = e.fecrettraant;
8964
+ }
8965
+ else {
8966
+ _this.isNew = true;
8967
+ }
8968
+ return _this;
8969
+ }
8970
+ MExperienciaLaboral.prototype.dataInterface = function () {
8971
+ return {
8972
+ id_empresa: this.idEmpresa.toString(),
8973
+ id_concurso: this.idConcurso.toString(),
8974
+ id_concursante: this.idConcursante.toString(),
8975
+ id_trabajocon: this.idTrabajoConcursante.toString(),
8976
+ codtra: this.codigoTrabajo,
8977
+ emptraper: this.empresa,
8978
+ cartraant: this.cargo,
8979
+ fecingtraant: this.fechaIngreso,
8980
+ fecrettraant: this.fechaRetiro
8981
+ };
8982
+ };
8983
+ return MExperienciaLaboral;
8984
+ }(MBasicModel));
8985
+ var MFamiliaConcursante = /** @class */ (function (_super) {
8986
+ __extends(MFamiliaConcursante, _super);
8987
+ function MFamiliaConcursante(e) {
8988
+ if (e === void 0) { e = null; }
8989
+ var _this = _super.call(this) || this;
8990
+ _this.idEmpresa = 0;
8991
+ _this.idConcurso = 0;
8992
+ _this.idConcursante = 0;
8993
+ _this.idFamiliar = 0;
8994
+ _this.codigo = '';
8995
+ _this.cedula = '';
8996
+ _this.nombre = '';
8997
+ _this.apellido = '';
8998
+ _this.sexo = '';
8999
+ _this.nexo = '';
9000
+ _this.fecha = '';
9001
+ if (e) {
9002
+ _this.idEmpresa = parseInt(e.id_empresa);
9003
+ _this.idConcurso = parseInt(e.id_concurso);
9004
+ _this.idConcursante = parseInt(e.id_concursante);
9005
+ _this.idFamiliar = parseInt(e.id_familiacon);
9006
+ _this.codigo = e.codfam;
9007
+ _this.cedula = e.cedfam;
9008
+ _this.nombre = e.nomfam;
9009
+ _this.apellido = e.apefam;
9010
+ _this.sexo = e.sexfam;
9011
+ _this.nexo = e.nexfam;
9012
+ _this.fecha = e.fecnacfam;
9013
+ }
9014
+ else {
9015
+ _this.isNew = true;
9016
+ }
9017
+ return _this;
9018
+ }
9019
+ MFamiliaConcursante.prototype.dataInterface = function () {
9020
+ return {
9021
+ id_empresa: this.idEmpresa.toString(),
9022
+ id_concurso: this.idConcurso.toString(),
9023
+ id_concursante: this.idConcursante.toString(),
9024
+ id_familiacon: this.idFamiliar.toString(),
9025
+ codfam: this.codigo,
9026
+ cedfam: this.cedula,
9027
+ nomfam: this.nombre,
9028
+ apefam: this.apellido,
9029
+ sexfam: this.sexo,
9030
+ nexfam: this.nexo,
9031
+ fecnacfam: this.fecha,
9032
+ };
9033
+ };
9034
+ return MFamiliaConcursante;
9035
+ }(MBasicModel));
9036
+ var MFormacionInformal = /** @class */ (function (_super) {
9037
+ __extends(MFormacionInformal, _super);
9038
+ function MFormacionInformal(e) {
9039
+ if (e === void 0) { e = null; }
9040
+ var _this = _super.call(this) || this;
9041
+ _this.idEmpresa = 0;
9042
+ _this.idConcurso = 0;
9043
+ _this.idConcursante = 0;
9044
+ _this.idCurso = 0;
9045
+ _this.codigoCurso = '';
9046
+ _this.descripcionCurso = '';
9047
+ _this.horasCurso = 0;
9048
+ if (e) {
9049
+ _this.idEmpresa = parseInt(e.id_empresa);
9050
+ _this.idConcursante = parseInt(e.id_concurso);
9051
+ _this.idConcursante = parseInt(e.id_concursante);
9052
+ _this.idCurso = parseInt(e.id_curso);
9053
+ _this.codigoCurso = e.codcur;
9054
+ _this.descripcionCurso = e.desestrea;
9055
+ _this.horasCurso = parseInt(e.horestrea);
9056
+ }
9057
+ else {
9058
+ _this.isNew = true;
9059
+ }
9060
+ return _this;
9061
+ }
9062
+ MFormacionInformal.prototype.dataInterface = function () {
9063
+ return {
9064
+ id_empresa: this.idEmpresa.toString(),
9065
+ id_concurso: this.idConcurso.toString(),
9066
+ id_concursante: this.idConcurso.toString(),
9067
+ id_curso: this.idCurso.toString(),
9068
+ codcur: this.codigoCurso,
9069
+ desestrea: this.descripcionCurso,
9070
+ horestrea: this.horasCurso.toString()
9071
+ };
9072
+ };
9073
+ return MFormacionInformal;
8417
9074
  }(MBasicModel));
8418
9075
 
8419
9076
  var MRequisitosConcursos = /** @class */ (function (_super) {
@@ -8511,11 +9168,197 @@
8511
9168
  };
8512
9169
  };
8513
9170
  return MConcurso;
8514
- }(MBasicModel));
8515
-
8516
- var MTipoPersonal = /** @class */ (function (_super) {
8517
- __extends(MTipoPersonal, _super);
8518
- function MTipoPersonal(e) {
9171
+ }(MBasicModel));
9172
+ var MPrevioEvaluacion = /** @class */ (function (_super) {
9173
+ __extends(MPrevioEvaluacion, _super);
9174
+ function MPrevioEvaluacion(e) {
9175
+ if (e === void 0) { e = null; }
9176
+ var _this = _super.call(this) || this;
9177
+ _this.idEmpresa = 0;
9178
+ _this.idPrevio = 0;
9179
+ _this.proceso = '';
9180
+ _this.idConcurso = 0;
9181
+ _this.codigoConcurso = '';
9182
+ _this.nombreConcurso = '';
9183
+ _this.idConcursante = 0;
9184
+ _this.codigoConcursante = '';
9185
+ _this.nombreConcursante = '';
9186
+ _this.idTipoEvaluacion = 0;
9187
+ _this.codigoTipoEvaluacion = '';
9188
+ _this.nombreTipoEvaluacion = '';
9189
+ _this.fechaRegistro = '';
9190
+ _this.valorMinimoRequerido = 0;
9191
+ _this.usuarioRegistro = '';
9192
+ _this.horaRegistro = '';
9193
+ _this.estatusRegistro = 0;
9194
+ _this.detallesRegistro = [];
9195
+ if (e) {
9196
+ _this.idEmpresa = parseInt(e.id_empresa);
9197
+ _this.idPrevio = parseInt(e.id_previo);
9198
+ _this.proceso = e.proceso;
9199
+ _this.idConcurso = parseInt(e.id_concurso);
9200
+ _this.codigoConcurso = e.codcon,
9201
+ _this.nombreConcurso = e.dencon,
9202
+ _this.idConcursante = parseInt(e.id_concursante);
9203
+ _this.codigoConcursante = e.cedper,
9204
+ _this.nombreConcursante = e.nomper,
9205
+ _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
9206
+ _this.codigoTipoEvaluacion = e.codtipeval;
9207
+ _this.nombreTipoEvaluacion = e.dentipeval;
9208
+ _this.fechaRegistro = e.fecha;
9209
+ _this.valorMinimoRequerido = parseFloat(e.punreqmin);
9210
+ _this.usuarioRegistro = e.usuario;
9211
+ _this.horaRegistro = e.hora;
9212
+ _this.estatusRegistro = parseInt(e.estatus);
9213
+ _this.tipo = e.tipo;
9214
+ _this.detallesRegistro = e.detalles.map(function (e) { return new MPrevioEvaluacionDt(e); });
9215
+ }
9216
+ else {
9217
+ _this.isNew = true;
9218
+ }
9219
+ return _this;
9220
+ }
9221
+ MPrevioEvaluacion.prototype.dataInterface = function () {
9222
+ return {
9223
+ id_empresa: this.idEmpresa.toString(),
9224
+ id_previo: this.idPrevio.toString(),
9225
+ proceso: this.proceso,
9226
+ id_concurso: this.idConcurso.toString(),
9227
+ codcon: this.codigoConcurso,
9228
+ dencon: this.nombreConcurso,
9229
+ id_concursante: this.idConcursante.toString(),
9230
+ cedper: this.codigoConcursante,
9231
+ nomper: this.nombreConcursante,
9232
+ id_tipoeval: this.idTipoEvaluacion.toString(),
9233
+ codtipeval: this.codigoTipoEvaluacion,
9234
+ dentipeval: this.nombreTipoEvaluacion,
9235
+ fecha: this.fechaRegistro,
9236
+ punreqmin: this.valorMinimoRequerido.toString(),
9237
+ usuario: this.usuarioRegistro,
9238
+ hora: this.horaRegistro,
9239
+ estatus: this.estatusRegistro.toString(),
9240
+ tipo: this.tipo,
9241
+ detalles: this.detallesRegistro.map(function (e) { return e.dataInterface(); })
9242
+ };
9243
+ };
9244
+ return MPrevioEvaluacion;
9245
+ }(MBasicModel));
9246
+ var MPrevioEvaluacionDt = /** @class */ (function (_super) {
9247
+ __extends(MPrevioEvaluacionDt, _super);
9248
+ function MPrevioEvaluacionDt(e) {
9249
+ if (e === void 0) { e = null; }
9250
+ var _this = _super.call(this) || this;
9251
+ _this.idEmpresa = 0;
9252
+ _this.idPrevio = 0;
9253
+ _this.idAspecto = 0;
9254
+ _this.idTipoEvaluacion = 0;
9255
+ _this.idItem = 0;
9256
+ _this.idDtPrevio = 0;
9257
+ _this.codigo = '';
9258
+ _this.descripcion = '';
9259
+ _this.puntos = 0;
9260
+ _this.valorMaximo = 0;
9261
+ if (e) {
9262
+ _this.idEmpresa = parseInt(e.id_empresa);
9263
+ _this.idPrevio = parseInt(e.id_previo);
9264
+ _this.idAspecto = parseInt(e.id_aspecto);
9265
+ _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
9266
+ _this.idItem = parseInt(e.id_item);
9267
+ _this.idDtPrevio = parseInt(e.id_dt_previo);
9268
+ _this.codigo = e.codite;
9269
+ _this.descripcion = e.denite;
9270
+ _this.puntos = parseInt(e.puntos);
9271
+ _this.valorMaximo = parseInt(e.valormax);
9272
+ }
9273
+ else {
9274
+ _this.isNew = true;
9275
+ }
9276
+ return _this;
9277
+ }
9278
+ MPrevioEvaluacionDt.prototype.dataInterface = function () {
9279
+ return {
9280
+ id_empresa: this.idEmpresa.toString(),
9281
+ id_previo: this.idPrevio.toString(),
9282
+ id_tipoeval: this.idTipoEvaluacion.toString(),
9283
+ id_aspecto: this.idAspecto.toString(),
9284
+ id_item: this.idItem.toString(),
9285
+ codite: this.codigo,
9286
+ denite: this.descripcion,
9287
+ puntos: this.puntos.toString(),
9288
+ valormax: this.valorMaximo.toString(),
9289
+ id_dt_previo: this.idDtPrevio.toString(),
9290
+ };
9291
+ };
9292
+ return MPrevioEvaluacionDt;
9293
+ }(MBasicModel));
9294
+ var MResultadosEvaluacion = /** @class */ (function (_super) {
9295
+ __extends(MResultadosEvaluacion, _super);
9296
+ function MResultadosEvaluacion(e) {
9297
+ var _this = _super.call(this) || this;
9298
+ _this.idEmpresa = 0;
9299
+ _this.idEvaluacion = 0;
9300
+ _this.idConcurso = 0;
9301
+ _this.codigoConcurso = '';
9302
+ _this.nombreConcurso = '';
9303
+ _this.idConcursante = 0;
9304
+ _this.codigoConcursante = '';
9305
+ _this.nombreConcursante = '';
9306
+ _this.observacion = '';
9307
+ _this.fechaRegistro = '';
9308
+ _this.resultado_tec = 0;
9309
+ _this.resultado_total = 0;
9310
+ _this.resultado_psi = 0;
9311
+ _this.resultado_rqm = 0;
9312
+ _this.usuarioRegistro = '';
9313
+ if (e) {
9314
+ _this.idEmpresa = parseInt(e.id_empresa);
9315
+ _this.idEvaluacion = parseInt(e.id_evaluacion);
9316
+ _this.idConcurso = parseInt(e.id_concurso);
9317
+ _this.codigoConcurso = e.codcon,
9318
+ _this.nombreConcurso = e.dencon,
9319
+ _this.idConcursante = parseInt(e.id_concursante);
9320
+ _this.codigoConcursante = e.cedper,
9321
+ _this.nombreConcursante = e.nomper,
9322
+ _this.observacion = e.observacion,
9323
+ _this.fechaRegistro = e.fecha;
9324
+ _this.usuarioRegistro = e.usuario;
9325
+ _this.resultado_tec = parseFloat(e.resultado_tec);
9326
+ _this.resultado_total = parseFloat(e.resultado_total);
9327
+ _this.resultado_psi = parseFloat(e.resultado_psi);
9328
+ _this.resultado_rqm = parseFloat(e.resultado_rqm);
9329
+ _this.conclusion = e.conclusion;
9330
+ }
9331
+ else {
9332
+ _this.isNew = true;
9333
+ }
9334
+ return _this;
9335
+ }
9336
+ MResultadosEvaluacion.prototype.dataInterface = function () {
9337
+ return {
9338
+ id_empresa: this.idEmpresa.toString(),
9339
+ id_evaluacion: this.idEvaluacion.toString(),
9340
+ id_concurso: this.idConcurso.toString(),
9341
+ codcon: this.codigoConcurso,
9342
+ dencon: this.nombreConcurso,
9343
+ id_concursante: this.idConcursante.toString(),
9344
+ cedper: this.codigoConcursante,
9345
+ nomper: this.nombreConcursante,
9346
+ observacion: this.observacion,
9347
+ fecha: this.fechaRegistro,
9348
+ usuario: this.usuarioRegistro,
9349
+ resultado_tec: this.resultado_tec.toString(),
9350
+ resultado_psi: this.resultado_psi.toString(),
9351
+ resultado_total: this.resultado_total.toString(),
9352
+ resultado_rqm: this.resultado_rqm.toString(),
9353
+ conclusion: this.conclusion,
9354
+ };
9355
+ };
9356
+ return MResultadosEvaluacion;
9357
+ }(MBasicModel));
9358
+
9359
+ var MTipoPersonal = /** @class */ (function (_super) {
9360
+ __extends(MTipoPersonal, _super);
9361
+ function MTipoPersonal(e) {
8519
9362
  var _this = _super.call(this) || this;
8520
9363
  _this.idEmpresa = 0;
8521
9364
  _this.idDedicacion = 0;
@@ -8752,6 +9595,25 @@
8752
9595
  _this.idEp4 = 0;
8753
9596
  _this.idEp5 = 0;
8754
9597
  _this.codigoPadre = '';
9598
+ _this.codigoPais = '000058';
9599
+ _this.nombrePais = 'Venezuela';
9600
+ _this.codigoEstado = '';
9601
+ _this.nombreEstado = '';
9602
+ _this.codigoMunicipio = '';
9603
+ _this.nombreMunicipio = '';
9604
+ _this.codigoParroquia = '';
9605
+ _this.nombreParroquia = '';
9606
+ _this.estatusmpppe = 0;
9607
+ _this.ubicacionBolivariana = 0;
9608
+ _this.ubicacionFrontera = 0;
9609
+ _this.ubicacionIndigena = 0;
9610
+ _this.ubicacionInsular = 0;
9611
+ _this.ubicacionMarginal = 0;
9612
+ _this.ubicacionNocturno = 0;
9613
+ _this.ubicacionPlanta = 0;
9614
+ _this.ubicacionRobinson = 0;
9615
+ _this.ubicacionZona = 0;
9616
+ _this.ubicacionNoAplica = 0;
8755
9617
  if (e) {
8756
9618
  _this.idEmpresa = parseInt(e.id_empresa);
8757
9619
  _this.idOrganigrama = parseInt(e.id_organigrama);
@@ -8766,6 +9628,25 @@
8766
9628
  _this.idEp4 = parseInt(e.id_ep4);
8767
9629
  _this.idEp5 = parseInt(e.id_ep5);
8768
9630
  _this.codigoPadre = e.codpadre;
9631
+ _this.codigoPais = e.codpai;
9632
+ _this.nombrePais = e.despai;
9633
+ _this.codigoEstado = e.codest;
9634
+ _this.nombreEstado = e.desest;
9635
+ _this.codigoMunicipio = e.codmun;
9636
+ _this.nombreMunicipio = e.desmun;
9637
+ _this.codigoParroquia = e.codpar;
9638
+ _this.nombreParroquia = e.despar;
9639
+ _this.estatusmpppe = e.estmpppe;
9640
+ _this.ubicacionBolivariana = e.ubibolivariana;
9641
+ _this.ubicacionFrontera = e.ubifrontera;
9642
+ _this.ubicacionIndigena = e.ubiindigena;
9643
+ _this.ubicacionInsular = e.ubiinsular;
9644
+ _this.ubicacionMarginal = e.ubimarginal;
9645
+ _this.ubicacionNocturno = e.ubinocturno;
9646
+ _this.ubicacionPlanta = e.ubiplanta;
9647
+ _this.ubicacionRobinson = e.ubirobinson;
9648
+ _this.ubicacionZona = e.ubizona;
9649
+ _this.ubicacionNoAplica = e.ubinoaplica;
8769
9650
  }
8770
9651
  return _this;
8771
9652
  }
@@ -8784,6 +9665,25 @@
8784
9665
  id_ep4: this.idEp4.toString(),
8785
9666
  id_ep5: this.idEp5.toString(),
8786
9667
  codpadre: this.codigoPadre,
9668
+ codpai: this.codigoPais,
9669
+ despai: this.nombrePais,
9670
+ codest: this.codigoEstado,
9671
+ desest: this.nombreEstado,
9672
+ codmun: this.codigoMunicipio,
9673
+ desmun: this.nombreMunicipio,
9674
+ codpar: this.codigoParroquia,
9675
+ despar: this.nombreParroquia,
9676
+ estmpppe: this.estatusmpppe,
9677
+ ubibolivariana: this.ubicacionBolivariana,
9678
+ ubifrontera: this.ubicacionFrontera,
9679
+ ubiindigena: this.ubicacionIndigena,
9680
+ ubiinsular: this.ubicacionInsular,
9681
+ ubimarginal: this.ubicacionMarginal,
9682
+ ubinocturno: this.ubicacionNocturno,
9683
+ ubiplanta: this.ubicacionPlanta,
9684
+ ubirobinson: this.ubicacionRobinson,
9685
+ ubizona: this.ubicacionZona,
9686
+ ubinoaplica: this.ubicacionNoAplica
8787
9687
  };
8788
9688
  };
8789
9689
  return MEstructuraOrganizativa;
@@ -8812,6 +9712,7 @@
8812
9712
  _this.codigoFamiliar = '';
8813
9713
  _this.direccionFamiliar = '';
8814
9714
  _this.telefonoFamiliar = '';
9715
+ _this.hijoDiscapacidad = '0';
8815
9716
  if (e) {
8816
9717
  _this.idEmpresa = parseInt(e.id_empresa);
8817
9718
  _this.idPersonal = parseInt(e.id_personal);
@@ -8832,6 +9733,10 @@
8832
9733
  _this.codigoFamiliar = e.codfam;
8833
9734
  _this.direccionFamiliar = e.dirfam;
8834
9735
  _this.telefonoFamiliar = e.telfam;
9736
+ _this.hijoDiscapacidad = e.hijodiscapacitado;
9737
+ }
9738
+ else {
9739
+ _this.isNew = true;
8835
9740
  }
8836
9741
  return _this;
8837
9742
  }
@@ -8856,6 +9761,7 @@
8856
9761
  codfam: this.codigoFamiliar,
8857
9762
  dirfam: this.direccionFamiliar,
8858
9763
  telfam: this.telefonoFamiliar,
9764
+ hijodiscapacitado: this.hijoDiscapacidad,
8859
9765
  };
8860
9766
  };
8861
9767
  return MFamiliares;
@@ -8915,8 +9821,8 @@
8915
9821
  _this.idfideicomiso = 0;
8916
9822
  _this.codigoFideicomiso = '';
8917
9823
  _this.fichaFideicomico = '';
8918
- _this.ubicacionFideicomiso = '';
8919
9824
  _this.cuentaFideicomiso = '';
9825
+ _this.idCuentaFideicomiso = 0;
8920
9826
  _this.fechaIngresoFideicomiso = '1900-01-01';
8921
9827
  _this.capitalizacionFideicomiso = 'N';
8922
9828
  _this.capitalizarAntiguedadComplementaria = 0;
@@ -8926,14 +9832,17 @@
8926
9832
  _this.scgCuentaAntiguedadFideicomiso = '';
8927
9833
  _this.scgcuentaInteresFideicomiso = '';
8928
9834
  _this.calcularIteresFideicomiso = 0;
9835
+ _this.idUbicacionFisica = 0;
9836
+ _this.denominacionUbicacionFisica = '';
9837
+ _this.codigoUbicacionFisica = '';
8929
9838
  if (e) {
8930
9839
  _this.idEmpresa = parseInt(e.id_empresa);
8931
9840
  _this.idPersonal = parseInt(e.id_personal);
8932
9841
  _this.idfideicomiso = parseInt(e.id_fideicomiso);
8933
9842
  _this.codigoFideicomiso = e.codfid;
8934
9843
  _this.fichaFideicomico = e.ficfid;
8935
- _this.ubicacionFideicomiso = e.ubifid;
8936
- _this.cuentaFideicomiso = e.cuefid;
9844
+ _this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
9845
+ _this.cuentaFideicomiso = e.ctabanper;
8937
9846
  _this.fechaIngresoFideicomiso = e.fecingfid;
8938
9847
  _this.capitalizacionFideicomiso = e.capfid;
8939
9848
  _this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
@@ -8943,6 +9852,12 @@
8943
9852
  _this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
8944
9853
  _this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
8945
9854
  _this.calcularIteresFideicomiso = +e.calintfid;
9855
+ _this.idUbicacionFisica = parseInt(e.id_ubifis);
9856
+ _this.denominacionUbicacionFisica = e.denubifis;
9857
+ _this.codigoUbicacionFisica = e.codubifis;
9858
+ }
9859
+ else {
9860
+ _this.isNew = true;
8946
9861
  }
8947
9862
  return _this;
8948
9863
  }
@@ -8953,8 +9868,7 @@
8953
9868
  id_fideicomiso: this.idfideicomiso.toString(),
8954
9869
  codfid: this.codigoFideicomiso,
8955
9870
  ficfid: this.fichaFideicomico,
8956
- ubifid: this.ubicacionFideicomiso,
8957
- cuefid: this.cuentaFideicomiso,
9871
+ id_ctabanper: this.idCuentaFideicomiso.toString(),
8958
9872
  fecingfid: this.fechaIngresoFideicomiso,
8959
9873
  capfid: this.capitalizacionFideicomiso,
8960
9874
  capantcom: this.capitalizarAntiguedadComplementaria.toString(),
@@ -8964,145 +9878,487 @@
8964
9878
  scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
8965
9879
  scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
8966
9880
  calintfid: +this.calcularIteresFideicomiso,
9881
+ id_ubifis: this.idUbicacionFisica.toString(),
8967
9882
  };
8968
9883
  };
8969
9884
  return MFideicomiso;
8970
- }(MBasicModel));
8971
-
8972
- var MFormacionAcademica = /** @class */ (function (_super) {
8973
- __extends(MFormacionAcademica, _super);
8974
- function MFormacionAcademica(e) {
9885
+ }(MBasicModel));
9886
+ var MConfiguracionFideicomiso = /** @class */ (function (_super) {
9887
+ __extends(MConfiguracionFideicomiso, _super);
9888
+ function MConfiguracionFideicomiso(e) {
8975
9889
  var _this = _super.call(this) || this;
8976
9890
  _this.idEmpresa = 0;
8977
- _this.idConcurso = 0;
8978
- _this.idConcursante = 0;
8979
- _this.idEstudioConcursante = 0;
8980
- _this.codigoEstudio = '';
8981
- _this.institutoEstudio = '';
8982
- _this.descripcionEstudio = '';
8983
- _this.fechaInicial = '';
8984
- _this.fechaFin = '';
8985
- _this.tituloObtenido = '';
8986
- _this.yearAprobados = 0;
9891
+ _this.idFideicomisoConfiguracion = 0;
9892
+ _this.idDedicacion = 0;
9893
+ _this.idTipoPersonal = 0;
9894
+ _this.anioCursoFideicomiso = '';
9895
+ _this.diaBonoVacacionalFideicomiso = 0;
9896
+ _this.diasBonoFinAnio = 0;
9897
+ _this.cuentaFideicomiso = '';
9898
+ _this.denominacionDedicacion = '';
9899
+ _this.codigoDedicacion = '';
9900
+ _this.codigoTipoPersonal = '';
9901
+ _this.denominacionTipoPersonal = '';
9902
+ _this.formulaFideicomiso = 'xxx';
8987
9903
  if (e) {
8988
9904
  _this.idEmpresa = parseInt(e.id_empresa);
8989
- _this.idConcurso = parseInt(e.id_concurso);
8990
- _this.idConcursante = parseInt(e.id_concursante);
8991
- _this.idEstudioConcursante = parseInt(e.id_estudiocon);
8992
- _this.codigoEstudio = e.codestrea;
8993
- _this.institutoEstudio = e.insestper;
8994
- _this.descripcionEstudio = e.desestper;
8995
- _this.fechaInicial = e.fecinireaest;
8996
- _this.fechaFin = e.fecfinestrea;
8997
- _this.tituloObtenido = e.titestper;
8998
- _this.yearAprobados = parseInt(e.anoaprestper);
9905
+ _this.idDedicacion = parseInt(e.id_dedicacion);
9906
+ _this.idTipoPersonal = parseInt(e.id_tipopersonal);
9907
+ _this.anioCursoFideicomiso = e.anocurfid;
9908
+ _this.diaBonoVacacionalFideicomiso = parseInt(e.diabonvacfid);
9909
+ _this.diasBonoFinAnio = parseInt(e.diabonfinfid);
9910
+ _this.cuentaFideicomiso = e.cuefid;
9911
+ _this.denominacionDedicacion = e.dended;
9912
+ _this.codigoDedicacion = e.codded;
9913
+ _this.codigoTipoPersonal = e.codtipper;
9914
+ _this.denominacionTipoPersonal = e.dentipper;
9915
+ _this.idFideicomisoConfiguracion = parseInt(e.id_fidconfig);
9916
+ _this.formulaFideicomiso = e.forfid;
9917
+ }
9918
+ else {
9919
+ _this.isNew = true;
8999
9920
  }
9000
9921
  return _this;
9001
9922
  }
9002
- MFormacionAcademica.prototype.dataInterface = function () {
9923
+ MConfiguracionFideicomiso.prototype.dataInterface = function () {
9003
9924
  return {
9004
9925
  id_empresa: this.idEmpresa.toString(),
9005
- id_concurso: this.idConcurso.toString(),
9006
- id_concursante: this.idConcursante.toString(),
9007
- id_estudiocon: this.idEstudioConcursante.toString(),
9008
- codestrea: this.codigoEstudio,
9009
- insestper: this.institutoEstudio,
9010
- desestper: this.descripcionEstudio,
9011
- fecinireaest: this.fechaInicial,
9012
- fecfinestrea: this.fechaFin,
9013
- titestper: this.tituloObtenido,
9014
- anoaprestper: this.yearAprobados.toString()
9926
+ id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9927
+ id_dedicacion: this.idDedicacion.toString(),
9928
+ id_tipopersonal: this.idTipoPersonal.toString(),
9929
+ anocurfid: this.anioCursoFideicomiso,
9930
+ diabonvacfid: this.diaBonoVacacionalFideicomiso.toString(),
9931
+ diabonfinfid: this.diasBonoFinAnio.toString(),
9932
+ cuefid: this.cuentaFideicomiso,
9933
+ forfid: this.formulaFideicomiso,
9015
9934
  };
9016
9935
  };
9017
- return MFormacionAcademica;
9018
- }(MBasicModel));
9019
-
9020
- var MPrimaGrados = /** @class */ (function (_super) {
9021
- __extends(MPrimaGrados, _super);
9022
- function MPrimaGrados(e) {
9023
- if (e === void 0) { e = null; }
9936
+ return MConfiguracionFideicomiso;
9937
+ }(MBasicModel));
9938
+ var MFideicomisoInteres = /** @class */ (function (_super) {
9939
+ __extends(MFideicomisoInteres, _super);
9940
+ function MFideicomisoInteres(e) {
9024
9941
  var _this = _super.call(this) || this;
9025
9942
  _this.idEmpresa = 0;
9026
- _this.idTabulador = 0;
9027
- _this.codigoGrado = '';
9028
- _this.codigoPaso = '';
9029
- _this.codigoPrima = '';
9030
- _this.descripcionPrima = '';
9031
- _this.montoPrima = 0;
9032
- _this.IdDetallePrima = 0;
9033
- _this.isNew = true;
9943
+ _this.idInteresFideicomiso = 0;
9944
+ _this.mesInteres = 0;
9945
+ _this.anioInteres = 0;
9946
+ _this.numeroGacetaInteres = '';
9947
+ _this.fechaVigenciaGacetaInteres = '1900-01-01';
9948
+ _this.montoTasaInteres = 0;
9034
9949
  if (e) {
9035
9950
  _this.idEmpresa = parseInt(e.id_empresa);
9036
- _this.idTabulador = parseInt(e.id_tabulador);
9037
- _this.codigoGrado = e.codgra;
9038
- _this.codigoPaso = e.codpas;
9039
- _this.codigoPrima = e.codpri;
9040
- _this.descripcionPrima = e.despri;
9041
- _this.montoPrima = parseInt(e.monpri);
9042
- _this.IdDetallePrima = parseInt(e.id_dt_prima);
9043
- _this.isNew = false;
9951
+ _this.idInteresFideicomiso = parseInt(e.id_intfide);
9952
+ _this.mesInteres = parseInt(e.mesint);
9953
+ _this.anioInteres = parseInt(e.anoint);
9954
+ _this.numeroGacetaInteres = e.nrogacint;
9955
+ _this.fechaVigenciaGacetaInteres = e.fecviggacint;
9956
+ _this.montoTasaInteres = +e.montasint;
9957
+ }
9958
+ else {
9959
+ _this.isNew = true;
9044
9960
  }
9045
9961
  return _this;
9046
9962
  }
9047
- MPrimaGrados.prototype.dataInterface = function () {
9963
+ MFideicomisoInteres.prototype.dataInterface = function () {
9048
9964
  return {
9049
9965
  id_empresa: this.idEmpresa.toString(),
9050
- id_tabulador: this.idTabulador.toString(),
9051
- codgra: this.codigoGrado,
9052
- codpas: this.codigoPaso,
9053
- codpri: this.codigoPrima,
9054
- despri: this.descripcionPrima,
9055
- monpri: this.montoPrima.toString(),
9056
- id_dt_prima: this.IdDetallePrima.toString(),
9966
+ id_intfide: this.idInteresFideicomiso.toString(),
9967
+ mesint: this.mesInteres.toString(),
9968
+ anoint: this.anioInteres.toString(),
9969
+ nrogacint: this.numeroGacetaInteres,
9970
+ fecviggacint: this.fechaVigenciaGacetaInteres,
9971
+ montasint: this.montoTasaInteres.toString(),
9057
9972
  };
9058
9973
  };
9059
- return MPrimaGrados;
9060
- }(MBasicModel));
9061
-
9062
- var MGrados = /** @class */ (function (_super) {
9063
- __extends(MGrados, _super);
9064
- function MGrados(e) {
9974
+ return MFideicomisoInteres;
9975
+ }(MBasicModel));
9976
+ var MCalculoPrestacion = /** @class */ (function (_super) {
9977
+ __extends(MCalculoPrestacion, _super);
9978
+ function MCalculoPrestacion(e) {
9065
9979
  if (e === void 0) { e = null; }
9066
9980
  var _this = _super.call(this) || this;
9067
9981
  _this.idEmpresa = 0;
9068
- _this.idTabulador = 0;
9069
- _this.codigoGrado = 0;
9070
- _this.codigoPaso = 0;
9071
- _this.montoSalario = 0;
9072
- _this.montoCompensacion = 0;
9073
- _this.yearDesde = 0;
9074
- _this.yearHasta = 0;
9075
- _this.IdDetalleGrado = 0;
9076
- _this.detallePrima = [];
9982
+ _this.mes = '';
9983
+ _this.anio = '';
9984
+ _this.cedulaDesde = '';
9985
+ _this.cedulaHasta = '';
9986
+ _this.mesCalculado = '';
9987
+ _this.anioCalculado = '';
9077
9988
  if (e) {
9078
9989
  _this.idEmpresa = parseInt(e.id_empresa);
9079
- _this.idTabulador = parseInt(e.id_tabulador);
9080
- _this.codigoGrado = parseInt(e.codgra);
9081
- _this.codigoPaso = parseInt(e.codpas);
9082
- _this.montoSalario = parseFloat(e.monsalgra);
9083
- _this.montoCompensacion = parseFloat(e.moncomgra);
9084
- _this.yearDesde = parseInt(e.aniodes);
9085
- _this.yearHasta = parseInt(e.aniohas);
9086
- _this.IdDetalleGrado = parseInt(e.id_dt_grado);
9087
- _this.detallePrima = e.detalles_prima.map(function (e) { return new MPrimaGrados(e); });
9990
+ _this.mes = e.mes;
9991
+ _this.anio = e.anio;
9992
+ _this.cedulaDesde = e.cedula_desde;
9993
+ _this.cedulaDesde = e.cedula_hasta;
9994
+ _this.mesCalculado = e.mescal;
9995
+ _this.anioCalculado = e.aniocal;
9996
+ }
9997
+ else {
9998
+ _this.isNew = true;
9088
9999
  }
9089
10000
  return _this;
9090
10001
  }
9091
- MGrados.prototype.dataInterface = function () {
10002
+ MCalculoPrestacion.prototype.dataInterface = function () {
9092
10003
  return {
9093
10004
  id_empresa: this.idEmpresa.toString(),
9094
- id_tabulador: this.idTabulador.toString(),
9095
- codgra: this.codigoGrado.toString(),
9096
- codpas: this.codigoPaso.toString(),
9097
- monsalgra: this.montoSalario.toString(),
9098
- moncomgra: this.montoCompensacion.toString(),
9099
- aniodes: this.yearDesde.toString(),
9100
- aniohas: this.yearHasta.toString(),
9101
- id_dt_grado: this.IdDetalleGrado.toString(),
9102
- detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
10005
+ mes: this.mes,
10006
+ anio: this.anio,
10007
+ cedula_desde: this.cedulaDesde,
10008
+ cedula_hasta: this.cedulaHasta,
10009
+ mescal: this.mesCalculado,
10010
+ aniocal: this.anioCalculado,
9103
10011
  };
9104
10012
  };
9105
- return MGrados;
10013
+ return MCalculoPrestacion;
10014
+ }(MBasicModel));
10015
+ var MFideicomisoPeriodo = /** @class */ (function (_super) {
10016
+ __extends(MFideicomisoPeriodo, _super);
10017
+ function MFideicomisoPeriodo(e) {
10018
+ if (e === void 0) { e = null; }
10019
+ var _this = _super.call(this) || this;
10020
+ _this.idEmpresa = 0;
10021
+ _this.idPersonal = 0;
10022
+ _this.idNomina = 0;
10023
+ _this.codigoNomina = '';
10024
+ _this.idFideicomiso = 0;
10025
+ _this.anioCursoPeriodo = '';
10026
+ _this.mesCursoPeriodo = '';
10027
+ _this.sueldointergralPeronal = 0;
10028
+ _this.bonoExtraPersonal = 0;
10029
+ _this.bonoVacacionalPersonal = 0;
10030
+ _this.bonoFinPersonal = 0;
10031
+ _this.aportePersonal = 0;
10032
+ _this.diaFideicomiso = 0;
10033
+ _this.diaAdicional = 0;
10034
+ _this.metodoPrestacion = 0;
10035
+ _this.metodoAdicional = 0;
10036
+ _this.bonoVacionalAdicional = 0;
10037
+ _this.bonoFinAdicional = 0;
10038
+ _this.sueldoIntegralAdicional = 0;
10039
+ _this.aportePrestacion = 0;
10040
+ _this.aporteAdicionalPersonal = 0;
10041
+ _this.codigoUsuario = '';
10042
+ _this.idDtFideicomisoPeriodo = 0;
10043
+ _this.cedulaPersonal = '';
10044
+ _this.nombrePersonal = '';
10045
+ _this.apellidoPersonal = '';
10046
+ _this.fechaIngresoPersonal = '1900-01-01';
10047
+ _this.estatusPersonal = '';
10048
+ _this.codigoPersonal = '';
10049
+ _this.denominacionEstatus = '';
10050
+ _this.denominacionMes = '';
10051
+ if (e) {
10052
+ _this.idEmpresa = +e.id_empresa;
10053
+ _this.idPersonal = +e.id_personal;
10054
+ _this.idNomina = +e.id_nomina;
10055
+ _this.codigoNomina = e.codnom;
10056
+ _this.idFideicomiso = +e.id_dt_fideiperiodo;
10057
+ _this.anioCursoPeriodo = e.anocurper;
10058
+ _this.mesCursoPeriodo = e.mescurper;
10059
+ _this.sueldointergralPeronal = +e.sueintper;
10060
+ _this.bonoExtraPersonal = +e.bonextper;
10061
+ _this.bonoVacacionalPersonal = +e.bonvacper;
10062
+ _this.bonoFinPersonal = +e.bonfinper;
10063
+ _this.aportePersonal = +e.apoper;
10064
+ _this.diaFideicomiso = +e.diafid;
10065
+ _this.diaAdicional = +e.diaadi;
10066
+ _this.metodoPrestacion = +e.metodopre;
10067
+ _this.metodoAdicional = +e.metodoadi;
10068
+ _this.bonoVacionalAdicional = +e.bonvacadiper;
10069
+ _this.bonoFinAdicional = +e.bonfinadiper;
10070
+ _this.sueldoIntegralAdicional = +e.sueintadiper;
10071
+ _this.aportePrestacion = +e.apopreper;
10072
+ _this.aporteAdicionalPersonal = +e.apoadiper;
10073
+ _this.codigoUsuario = e.codusu;
10074
+ _this.idDtFideicomisoPeriodo = +e.id_dt_fideiperiodo;
10075
+ _this.cedulaPersonal = e.cedper;
10076
+ _this.nombrePersonal = e.nomper;
10077
+ _this.apellidoPersonal = e.apeper;
10078
+ _this.fechaIngresoPersonal = e.fecingper;
10079
+ _this.estatusPersonal = e.estper;
10080
+ _this.codigoPersonal = e.codper;
10081
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
10082
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
10083
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
10084
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
10085
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
10086
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
10087
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
10088
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
10089
+ _this.mesCursoPeriodo == '01' ? _this.denominacionMes = 'ENERO' :
10090
+ _this.mesCursoPeriodo == '02' ? _this.denominacionMes = 'FEBREO' :
10091
+ _this.mesCursoPeriodo == '03' ? _this.denominacionMes = 'MARZO' :
10092
+ _this.mesCursoPeriodo == '04' ? _this.denominacionMes = 'ABRIL' :
10093
+ _this.mesCursoPeriodo == '05' ? _this.denominacionMes = 'MAYO' :
10094
+ _this.mesCursoPeriodo == '06' ? _this.denominacionMes = 'JUNIO' :
10095
+ _this.mesCursoPeriodo == '07' ? _this.denominacionMes = 'JULIO' : '';
10096
+ _this.mesCursoPeriodo == '08' ? _this.denominacionMes = 'AGOSTO' :
10097
+ _this.mesCursoPeriodo == '09' ? _this.denominacionMes = 'SEPTIEMBRE' :
10098
+ _this.mesCursoPeriodo == '10' ? _this.denominacionMes = 'OCTUBRE' :
10099
+ _this.mesCursoPeriodo == '11' ? _this.denominacionMes = 'NOVIEMBRE' :
10100
+ _this.mesCursoPeriodo == '12' ? _this.denominacionMes = 'DICIEMBRE' : '';
10101
+ }
10102
+ else {
10103
+ _this.isNew = true;
10104
+ }
10105
+ return _this;
10106
+ }
10107
+ return MFideicomisoPeriodo;
10108
+ }(MBasicModel));
10109
+ var MFideicomisoPeriodoInteresCatalogo = /** @class */ (function (_super) {
10110
+ __extends(MFideicomisoPeriodoInteresCatalogo, _super);
10111
+ function MFideicomisoPeriodoInteresCatalogo(e) {
10112
+ if (e === void 0) { e = null; }
10113
+ var _this = _super.call(this) || this;
10114
+ _this.idPersonal = 0;
10115
+ _this.codigoPersonal = '';
10116
+ _this.cedulaPersonal = '';
10117
+ _this.nombrePersonal = '';
10118
+ _this.apellidoPersonal = '';
10119
+ _this.fechaIngresoPersonal = '1900-01-01';
10120
+ _this.estatusPersonal = '';
10121
+ _this.denominacionEstatus = '';
10122
+ _this.interes = [];
10123
+ if (e) {
10124
+ _this.idPersonal = +e.id_personal;
10125
+ _this.codigoPersonal = e.codper;
10126
+ _this.cedulaPersonal = e.cedper;
10127
+ _this.nombrePersonal = e.nomper;
10128
+ _this.apellidoPersonal = e.apeper;
10129
+ _this.estatusPersonal = e.estper;
10130
+ _this.fechaIngresoPersonal = e.fecingper;
10131
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
10132
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
10133
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
10134
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
10135
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
10136
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
10137
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
10138
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
10139
+ if (e.intereses) {
10140
+ _this.interes = e.intereses.map(function (e) { return new MFideicomisoPeriodoInteres(e); });
10141
+ }
10142
+ }
10143
+ else {
10144
+ _this.isNew = true;
10145
+ }
10146
+ return _this;
10147
+ }
10148
+ return MFideicomisoPeriodoInteresCatalogo;
10149
+ }(MBasicModel));
10150
+ var MFideicomisoPeriodoInteres = /** @class */ (function (_super) {
10151
+ __extends(MFideicomisoPeriodoInteres, _super);
10152
+ function MFideicomisoPeriodoInteres(e) {
10153
+ if (e === void 0) { e = null; }
10154
+ var _this = _super.call(this) || this;
10155
+ _this.idEmpresa = 0;
10156
+ _this.idPersonal = 0;
10157
+ _this.idNomina = 0;
10158
+ _this.mesInteres = 0;
10159
+ _this.anioInteres = '';
10160
+ _this.montoAnteriorAcumulado = 0;
10161
+ _this.montoAnterior = 0;
10162
+ _this.porcentajeInteres = 0;
10163
+ _this.montoInteres = 0;
10164
+ _this.montoCapital = 0;
10165
+ _this.anticipoPrestamo = 0;
10166
+ _this.idDtFide = 0;
10167
+ _this.cedulaPersonal = '';
10168
+ _this.nombrePersonal = '';
10169
+ _this.apellidoPersonal = '';
10170
+ _this.fechaIngresoPersonal = '1900-01-01';
10171
+ _this.estatusPersonal = '';
10172
+ _this.codigoPersonal = '';
10173
+ _this.denominacionEstatus = '';
10174
+ _this.denominacionMes = '';
10175
+ _this.capital = 0;
10176
+ _this.codigoNomina = '';
10177
+ if (e) {
10178
+ _this.idEmpresa = +e.id_empresa;
10179
+ _this.idPersonal = +e.id_personal;
10180
+ _this.idNomina = +e.id_nomina;
10181
+ _this.mesInteres = +e.mesint;
10182
+ _this.anioInteres = e.anoint;
10183
+ _this.montoAnteriorAcumulado = +e.monantacu;
10184
+ _this.montoAnterior = +e.monant;
10185
+ _this.porcentajeInteres = +e.porint;
10186
+ _this.montoInteres = +e.monint;
10187
+ _this.montoCapital = +e.moncap;
10188
+ _this.anticipoPrestamo = +e.antpre;
10189
+ _this.capital = +e.capital;
10190
+ _this.idDtFide = +e.id_dt_fidperint;
10191
+ _this.cedulaPersonal = e.cedper;
10192
+ _this.nombrePersonal = e.nomper;
10193
+ _this.apellidoPersonal = e.apeper;
10194
+ _this.fechaIngresoPersonal = e.fecingper;
10195
+ _this.estatusPersonal = e.estper;
10196
+ _this.codigoPersonal = e.codper;
10197
+ _this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
10198
+ _this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
10199
+ _this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
10200
+ _this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
10201
+ _this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
10202
+ _this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
10203
+ _this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
10204
+ _this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
10205
+ _this.mesInteres == 1 ? _this.denominacionMes = 'ENERO' :
10206
+ _this.mesInteres == 2 ? _this.denominacionMes = 'FEBREO' :
10207
+ _this.mesInteres == 3 ? _this.denominacionMes = 'MARZO' :
10208
+ _this.mesInteres == 4 ? _this.denominacionMes = 'ABRIL' :
10209
+ _this.mesInteres == 5 ? _this.denominacionMes = 'MAYO' :
10210
+ _this.mesInteres == 6 ? _this.denominacionMes = 'JUNIO' :
10211
+ _this.mesInteres == 7 ? _this.denominacionMes = 'JULIO' : '';
10212
+ _this.mesInteres == 8 ? _this.denominacionMes = 'AGOSTO' :
10213
+ _this.mesInteres == 9 ? _this.denominacionMes = 'SEPTIEMBRE' :
10214
+ _this.mesInteres == 10 ? _this.denominacionMes = 'OCTUBRE' :
10215
+ _this.mesInteres == 11 ? _this.denominacionMes = 'NOVIEMBRE' :
10216
+ _this.mesInteres == 12 ? _this.denominacionMes = 'DICIEMBRE' : '';
10217
+ _this.codigoNomina = e.codnom;
10218
+ }
10219
+ else {
10220
+ _this.isNew = true;
10221
+ }
10222
+ return _this;
10223
+ }
10224
+ return MFideicomisoPeriodoInteres;
10225
+ }(MBasicModel));
10226
+
10227
+ var MFormacionAcademica = /** @class */ (function (_super) {
10228
+ __extends(MFormacionAcademica, _super);
10229
+ function MFormacionAcademica(e) {
10230
+ var _this = _super.call(this) || this;
10231
+ _this.idEmpresa = 0;
10232
+ _this.idConcurso = 0;
10233
+ _this.idConcursante = 0;
10234
+ _this.idEstudioConcursante = 0;
10235
+ _this.codigoEstudio = '';
10236
+ _this.institutoEstudio = '';
10237
+ _this.descripcionEstudio = '';
10238
+ _this.fechaInicial = '';
10239
+ _this.fechaFin = '';
10240
+ _this.tituloObtenido = '';
10241
+ _this.yearAprobados = 0;
10242
+ if (e) {
10243
+ _this.idEmpresa = parseInt(e.id_empresa);
10244
+ _this.idConcurso = parseInt(e.id_concurso);
10245
+ _this.idConcursante = parseInt(e.id_concursante);
10246
+ _this.idEstudioConcursante = parseInt(e.id_estudiocon);
10247
+ _this.codigoEstudio = e.codestrea;
10248
+ _this.institutoEstudio = e.insestper;
10249
+ _this.descripcionEstudio = e.desestper;
10250
+ _this.fechaInicial = e.fecinireaest;
10251
+ _this.fechaFin = e.fecfinestrea;
10252
+ _this.tituloObtenido = e.titestper;
10253
+ _this.yearAprobados = parseInt(e.anoaprestper);
10254
+ }
10255
+ return _this;
10256
+ }
10257
+ MFormacionAcademica.prototype.dataInterface = function () {
10258
+ return {
10259
+ id_empresa: this.idEmpresa.toString(),
10260
+ id_concurso: this.idConcurso.toString(),
10261
+ id_concursante: this.idConcursante.toString(),
10262
+ id_estudiocon: this.idEstudioConcursante.toString(),
10263
+ codestrea: this.codigoEstudio,
10264
+ insestper: this.institutoEstudio,
10265
+ desestper: this.descripcionEstudio,
10266
+ fecinireaest: this.fechaInicial,
10267
+ fecfinestrea: this.fechaFin,
10268
+ titestper: this.tituloObtenido,
10269
+ anoaprestper: this.yearAprobados.toString()
10270
+ };
10271
+ };
10272
+ return MFormacionAcademica;
10273
+ }(MBasicModel));
10274
+
10275
+ var MPrimaGrados = /** @class */ (function (_super) {
10276
+ __extends(MPrimaGrados, _super);
10277
+ function MPrimaGrados(e) {
10278
+ if (e === void 0) { e = null; }
10279
+ var _this = _super.call(this) || this;
10280
+ _this.idEmpresa = 0;
10281
+ _this.idTabulador = 0;
10282
+ _this.codigoGrado = '';
10283
+ _this.codigoPaso = '';
10284
+ _this.codigoPrima = '';
10285
+ _this.descripcionPrima = '';
10286
+ _this.montoPrima = 0;
10287
+ _this.IdDetallePrima = 0;
10288
+ if (e) {
10289
+ _this.idEmpresa = parseInt(e.id_empresa);
10290
+ _this.idTabulador = parseInt(e.id_tabulador);
10291
+ _this.codigoGrado = e.codgra;
10292
+ _this.codigoPaso = e.codpas;
10293
+ _this.codigoPrima = e.codpri;
10294
+ _this.descripcionPrima = e.despri;
10295
+ _this.montoPrima = parseInt(e.monpri);
10296
+ _this.IdDetallePrima = parseInt(e.id_dt_prima);
10297
+ }
10298
+ else {
10299
+ _this.isNew = true;
10300
+ }
10301
+ return _this;
10302
+ }
10303
+ MPrimaGrados.prototype.dataInterface = function () {
10304
+ return {
10305
+ id_empresa: this.idEmpresa.toString(),
10306
+ id_tabulador: this.idTabulador.toString(),
10307
+ codgra: this.codigoGrado,
10308
+ codpas: this.codigoPaso,
10309
+ codpri: this.codigoPrima,
10310
+ despri: this.descripcionPrima,
10311
+ monpri: this.montoPrima.toString(),
10312
+ id_dt_prima: this.IdDetallePrima.toString(),
10313
+ };
10314
+ };
10315
+ return MPrimaGrados;
10316
+ }(MBasicModel));
10317
+
10318
+ var MGrados = /** @class */ (function (_super) {
10319
+ __extends(MGrados, _super);
10320
+ function MGrados(e) {
10321
+ if (e === void 0) { e = null; }
10322
+ var _this = _super.call(this) || this;
10323
+ _this.idEmpresa = 0;
10324
+ _this.idTabulador = 0;
10325
+ _this.codigoGrado = 0;
10326
+ _this.codigoPaso = 0;
10327
+ _this.montoSalario = 0;
10328
+ _this.montoCompensacion = 0;
10329
+ _this.yearDesde = 0;
10330
+ _this.yearHasta = 0;
10331
+ _this.IdDetalleGrado = 0;
10332
+ _this.detallePrima = [];
10333
+ if (e) {
10334
+ _this.idEmpresa = parseInt(e.id_empresa);
10335
+ _this.idTabulador = parseInt(e.id_tabulador);
10336
+ _this.codigoGrado = parseInt(e.codgra);
10337
+ _this.codigoPaso = parseInt(e.codpas);
10338
+ _this.montoSalario = parseFloat(e.monsalgra);
10339
+ _this.montoCompensacion = parseFloat(e.moncomgra);
10340
+ _this.yearDesde = parseInt(e.aniodes);
10341
+ _this.yearHasta = parseInt(e.aniohas);
10342
+ _this.IdDetalleGrado = parseInt(e.id_dt_grado);
10343
+ _this.detallePrima = e.detalles_prima.map(function (e) { return new MPrimaGrados(e); });
10344
+ }
10345
+ return _this;
10346
+ }
10347
+ MGrados.prototype.dataInterface = function () {
10348
+ return {
10349
+ id_empresa: this.idEmpresa.toString(),
10350
+ id_tabulador: this.idTabulador.toString(),
10351
+ codgra: this.codigoGrado.toString(),
10352
+ codpas: this.codigoPaso.toString(),
10353
+ monsalgra: this.montoSalario.toString(),
10354
+ moncomgra: this.montoCompensacion.toString(),
10355
+ aniodes: this.yearDesde.toString(),
10356
+ aniohas: this.yearHasta.toString(),
10357
+ id_dt_grado: this.IdDetalleGrado.toString(),
10358
+ detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
10359
+ };
10360
+ };
10361
+ return MGrados;
9106
10362
  }(MBasicModel));
9107
10363
 
9108
10364
  var MPrimasConcepto = /** @class */ (function (_super) {
@@ -9128,6 +10384,9 @@
9128
10384
  _this.codigoConcepto = e.codconc;
9129
10385
  _this.nombreConcepto = e.nomcon;
9130
10386
  }
10387
+ else {
10388
+ _this.isNew = true;
10389
+ }
9131
10390
  return _this;
9132
10391
  }
9133
10392
  MPrimasConcepto.prototype.dataInterface = function () {
@@ -9145,9 +10404,9 @@
9145
10404
  return MPrimasConcepto;
9146
10405
  }(MBasicModel));
9147
10406
 
9148
- var MRequisitosConcursante = /** @class */ (function (_super) {
9149
- __extends(MRequisitosConcursante, _super);
9150
- function MRequisitosConcursante(e) {
10407
+ var MRequisitosConcursantes = /** @class */ (function (_super) {
10408
+ __extends(MRequisitosConcursantes, _super);
10409
+ function MRequisitosConcursantes(e) {
9151
10410
  if (e === void 0) { e = null; }
9152
10411
  var _this = _super.call(this) || this;
9153
10412
  _this.idEmpresa = 0;
@@ -9170,9 +10429,12 @@
9170
10429
  _this.requisitosEntregado = e.entreqcon;
9171
10430
  _this.cantidadEntregado = parseInt(e.canentreqcon);
9172
10431
  }
10432
+ else {
10433
+ _this.isNew = true;
10434
+ }
9173
10435
  return _this;
9174
10436
  }
9175
- MRequisitosConcursante.prototype.dataInterface = function () {
10437
+ MRequisitosConcursantes.prototype.dataInterface = function () {
9176
10438
  return {
9177
10439
  id_empresa: this.idEmpresa.toString(),
9178
10440
  id_concurso: this.idConcurso.toString(),
@@ -9185,7 +10447,7 @@
9185
10447
  canentreqcon: this.cantidadEntregado.toString()
9186
10448
  };
9187
10449
  };
9188
- return MRequisitosConcursante;
10450
+ return MRequisitosConcursantes;
9189
10451
  }(MBasicModel));
9190
10452
 
9191
10453
  var MRequisitosMinimos = /** @class */ (function (_super) {
@@ -9590,7 +10852,7 @@
9590
10852
  if (e === void 0) { e = null; }
9591
10853
  var _this = _super.call(this) || this;
9592
10854
  _this.idEmpresa = 0;
9593
- _this.idTabulador = 0;
10855
+ _this.idTabulador = -1;
9594
10856
  _this.codigoTabulador = '';
9595
10857
  _this.descripcionTabulador = '';
9596
10858
  _this.totalPasosXGrados = 0;
@@ -9643,43 +10905,38 @@
9643
10905
  this.idTabulador = 0;
9644
10906
  this.codigoNomina = '';
9645
10907
  this.denominacionNomina = '';
9646
- this.estatusNomina = '';
10908
+ this.estatus = '';
9647
10909
  this.idDtNomina = 0;
9648
10910
  this.periodoActualNomina = '001';
9649
- this.periodosNomina = [];
10911
+ this.idPeriodoActual = 0;
10912
+ this.nominaRac = 0;
10913
+ this.descripcionPeriodoNomina = '';
10914
+ this.prenomina = false;
10915
+ this.editable = false;
10916
+ this.calculada = false;
9650
10917
  if (e) {
9651
10918
  this.idEmpresa = parseInt(e.id_empresa);
9652
10919
  this.idNomina = parseInt(e.id_nomina);
9653
10920
  this.idTabulador = parseInt(e.id_tabulador);
9654
10921
  this.codigoNomina = e.codnom;
9655
10922
  this.denominacionNomina = e.dennom;
9656
- this.estatusNomina = e.estnom;
9657
10923
  this.idDtNomina = parseInt(e.id_dt_tabnom);
9658
10924
  this.periodoActualNomina = e.peractnom;
9659
- this.periodosNomina = e.periodos.map(function (e) { return new MPeriodoNomina(e); });
9660
- }
10925
+ this.calculada = e.calculado == '1' ? true : false;
10926
+ this.prenomina = e.prenomina == '1' ? true : false;
10927
+ this.estatus = this.calculada ? 'Calculada' :
10928
+ !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
10929
+ this.editable = (this.calculada || this.prenomina) ? false : true;
10930
+ }
9661
10931
  }
9662
10932
  MTabuladorNominas.prototype.dataInterface = function () {
9663
10933
  return {
9664
10934
  id_empresa: this.idEmpresa.toString(),
9665
10935
  id_nomina: this.idNomina.toString(),
9666
10936
  id_tabulador: this.idTabulador.toString(),
9667
- codnom: this.codigoNomina,
9668
- dennom: this.denominacionNomina,
9669
- estnom: this.estatusNomina,
9670
- id_dt_tabnom: this.idDtNomina.toString(),
9671
- periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
9672
- peractnom: this.periodoActualNomina,
10937
+ id_dt_tabnom: this.idDtNomina.toString()
9673
10938
  };
9674
10939
  };
9675
- MTabuladorNominas.prototype.indice = function () {
9676
- var _this = this;
9677
- return this.periodosNomina.findIndex(function (e) { return e.codigoPeriodo == _this.periodoActualNomina; });
9678
- };
9679
- MTabuladorNominas.prototype.editable = function () {
9680
- var i = this.indice();
9681
- return this.periodosNomina[i].periodoEditable();
9682
- };
9683
10940
  return MTabuladorNominas;
9684
10941
  }());
9685
10942
 
@@ -9952,6 +11209,7 @@
9952
11209
  _this.codigoUsuario = '';
9953
11210
  _this.diaVacacionesCalendario = 0;
9954
11211
  _this.diasHabiles = 0;
11212
+ _this.procesarFueraPeriodo = 0;
9955
11213
  if (e) {
9956
11214
  _this.idEmpresa = parseInt(e.id_empresa);
9957
11215
  _this.idPersonal = parseInt(e.id_personal);
@@ -9985,6 +11243,7 @@
9985
11243
  _this.codigoUsuario = (e.codusu);
9986
11244
  _this.diaVacacionesCalendario = parseInt(e.diavaccal);
9987
11245
  _this.diasHabiles = parseInt(e.diahab);
11246
+ _this.procesarFueraPeriodo = parseInt(e.profueper);
9988
11247
  }
9989
11248
  return _this;
9990
11249
  }
@@ -10022,6 +11281,7 @@
10022
11281
  codusu: this.codigoUsuario,
10023
11282
  diavaccal: this.diaVacacionesCalendario.toString(),
10024
11283
  diahab: this.diasHabiles.toString(),
11284
+ profueper: this.procesarFueraPeriodo.toString(),
10025
11285
  };
10026
11286
  };
10027
11287
  return MVacacionesPersonal;
@@ -10250,6 +11510,1021 @@
10250
11510
  return MPersonalJubilado;
10251
11511
  }(MBasicModel));
10252
11512
 
11513
+ var MPermisos = /** @class */ (function (_super) {
11514
+ __extends(MPermisos, _super);
11515
+ function MPermisos(e) {
11516
+ var _this = _super.call(this) || this;
11517
+ _this.idEmpresa = 0;
11518
+ _this.idPersonal = 0;
11519
+ _this.idPermiso = 0;
11520
+ _this.fechaInicioPermiso = '';
11521
+ _this.fechaFinPermiso = '';
11522
+ _this.numeroDiasPermiso = 0;
11523
+ _this.afectaVacaionesPermiso = '0';
11524
+ _this.tipoPermiso = '2';
11525
+ _this.observacionPermiso = '';
11526
+ _this.remuneradoPermiso = '1';
11527
+ _this.totalHorasPermiso = 0;
11528
+ _this.descontarVacaciones = 0;
11529
+ _this.codigoPermiso = '';
11530
+ _this.idTipoEnfermedad = 0;
11531
+ _this.denominacionEnfermedad = '';
11532
+ if (e) {
11533
+ _this.idEmpresa = +e.id_empresa;
11534
+ _this.idPersonal = +e.id_personal;
11535
+ _this.idPermiso = +e.id_permiso;
11536
+ _this.fechaInicioPermiso = e.fecfinper;
11537
+ _this.fechaFinPermiso = e.fecfinper;
11538
+ _this.numeroDiasPermiso = +e.numdiapero;
11539
+ _this.afectaVacaionesPermiso = e.afevacper.toString();
11540
+ _this.tipoPermiso = e.tipper.toString();
11541
+ _this.observacionPermiso = e.obsper;
11542
+ _this.remuneradoPermiso = e.remper.toString();
11543
+ _this.totalHorasPermiso = +e.tothorper;
11544
+ _this.descontarVacaciones = +e.desvacper;
11545
+ _this.codigoPermiso = e.codpermiso;
11546
+ _this.idTipoEnfermedad = parseInt(e.id_enfermedad);
11547
+ _this.denominacionEnfermedad = e.denenf;
11548
+ }
11549
+ else {
11550
+ _this.isNew = true;
11551
+ }
11552
+ return _this;
11553
+ }
11554
+ MPermisos.prototype.dataInterface = function () {
11555
+ return {
11556
+ id_empresa: this.idEmpresa,
11557
+ id_personal: this.idPersonal,
11558
+ id_permiso: this.idPermiso,
11559
+ feciniper: this.fechaInicioPermiso,
11560
+ fecfinper: this.fechaFinPermiso,
11561
+ numdiapero: this.numeroDiasPermiso,
11562
+ afevacper: +this.afectaVacaionesPermiso,
11563
+ tipper: +this.tipoPermiso,
11564
+ obsper: this.observacionPermiso,
11565
+ remper: +this.remuneradoPermiso,
11566
+ tothorper: this.totalHorasPermiso,
11567
+ desvacper: this.descontarVacaciones,
11568
+ codpermiso: this.codigoPermiso,
11569
+ id_enfermedad: this.idTipoEnfermedad.toString(),
11570
+ denenf: this.denominacionEnfermedad
11571
+ };
11572
+ };
11573
+ return MPermisos;
11574
+ }(MBasicModel));
11575
+
11576
+ var MCargaMasiva = /** @class */ (function (_super) {
11577
+ __extends(MCargaMasiva, _super);
11578
+ function MCargaMasiva(e) {
11579
+ if (e === void 0) { e = null; }
11580
+ var _this = _super.call(this) || this;
11581
+ _this.proceso = '';
11582
+ _this.id_nomina = 0;
11583
+ _this.tipo = '';
11584
+ _this.nombreArchivo = '';
11585
+ _this.base64textString = '';
11586
+ _this.modulo = '';
11587
+ if (e) {
11588
+ _this.proceso = e.proceso;
11589
+ _this.id_nomina = e.id_nomina;
11590
+ _this.tipo = e.tipo;
11591
+ _this.nombreArchivo = e.nombreArchivo;
11592
+ _this.base64textString = e.base64textString;
11593
+ _this.modulo = e.modulo;
11594
+ }
11595
+ else {
11596
+ _this.isNew;
11597
+ }
11598
+ return _this;
11599
+ }
11600
+ MCargaMasiva.prototype.dataInterface = function () {
11601
+ return {
11602
+ proceso: this.proceso,
11603
+ id_nomina: this.id_nomina,
11604
+ tipo: this.tipo,
11605
+ nombreArchivo: this.nombreArchivo,
11606
+ base64textString: this.base64textString,
11607
+ modulo: this.modulo
11608
+ };
11609
+ };
11610
+ return MCargaMasiva;
11611
+ }(MBasicModel));
11612
+
11613
+ var MPlantillasConstancia = /** @class */ (function (_super) {
11614
+ __extends(MPlantillasConstancia, _super);
11615
+ function MPlantillasConstancia(e) {
11616
+ if (e === void 0) { e = null; }
11617
+ var _this = _super.call(this) || this;
11618
+ _this.idConstancia = 0;
11619
+ _this.codigoConstancia = '';
11620
+ _this.descripcionConstancia = '';
11621
+ _this.plantillaRTF = '';
11622
+ _this.archivoConstancia = '';
11623
+ if (e) {
11624
+ _this.idConstancia = e.id_constancia;
11625
+ _this.codigoConstancia = e.codconstra;
11626
+ _this.descripcionConstancia = e.desconstra;
11627
+ _this.plantillaRTF = e.plantilla_rtf;
11628
+ _this.archivoConstancia = e.archivo;
11629
+ }
11630
+ else {
11631
+ _this.isNew = true;
11632
+ }
11633
+ return _this;
11634
+ }
11635
+ MPlantillasConstancia.prototype.dataInterface = function () {
11636
+ return {
11637
+ id_constancia: this.idConstancia,
11638
+ codconstra: this.codigoConstancia,
11639
+ desconstra: this.descripcionConstancia,
11640
+ plantilla_rtf: this.plantillaRTF,
11641
+ archivo: this.archivoConstancia
11642
+ };
11643
+ };
11644
+ return MPlantillasConstancia;
11645
+ }(MBasicModel));
11646
+
11647
+ var MImpuestoSobreRenta = /** @class */ (function (_super) {
11648
+ __extends(MImpuestoSobreRenta, _super);
11649
+ function MImpuestoSobreRenta(e) {
11650
+ var _this = _super.call(this) || this;
11651
+ _this.idEmpresa = 0;
11652
+ _this.idPersonal = 0;
11653
+ _this.idImpuestoSobreRenta = 0;
11654
+ _this.porcentajeIsr = 0;
11655
+ _this.idConcepto = 0;
11656
+ _this.enero = 0;
11657
+ _this.febrero = 0;
11658
+ _this.marzo = 0;
11659
+ _this.abril = 0;
11660
+ _this.mayo = 0;
11661
+ _this.junio = 0;
11662
+ _this.julio = 0;
11663
+ _this.agosto = 0;
11664
+ _this.septiembre = 0;
11665
+ _this.octubre = 0;
11666
+ _this.noviembre = 0;
11667
+ _this.diciembre = 0;
11668
+ _this.denominacionConcepto = '';
11669
+ if (e) {
11670
+ _this.idEmpresa = +e.id_empresa;
11671
+ _this.idPersonal = +e.id_personal;
11672
+ _this.idImpuestoSobreRenta = +e.id_isr;
11673
+ _this.porcentajeIsr = +e.porisr;
11674
+ _this.idConcepto = +e.id_conret;
11675
+ _this.enero = +e.enero;
11676
+ _this.febrero = +e.febrero;
11677
+ _this.marzo = +e.marzo;
11678
+ _this.abril = +e.abril;
11679
+ _this.mayo = +e.mayo;
11680
+ _this.junio = +e.junio;
11681
+ _this.julio = +e.julio;
11682
+ _this.agosto = +e.agosto;
11683
+ _this.septiembre = +e.septiembre;
11684
+ _this.octubre = +e.octubre;
11685
+ _this.noviembre = +e.noviembre;
11686
+ _this.diciembre = +e.diciembre;
11687
+ _this.denominacionConcepto = e.desact;
11688
+ }
11689
+ else {
11690
+ _this.isNew = true;
11691
+ }
11692
+ return _this;
11693
+ }
11694
+ MImpuestoSobreRenta.prototype.dataInterface = function () {
11695
+ return {
11696
+ id_empresa: this.idEmpresa,
11697
+ id_personal: this.idPersonal,
11698
+ id_isr: this.idImpuestoSobreRenta,
11699
+ porisr: this.porcentajeIsr,
11700
+ id_conret: this.idConcepto,
11701
+ enero: this.enero,
11702
+ febrero: this.febrero,
11703
+ marzo: this.marzo,
11704
+ abril: this.abril,
11705
+ mayo: this.mayo,
11706
+ junio: this.junio,
11707
+ julio: this.julio,
11708
+ agosto: this.agosto,
11709
+ septiembre: this.septiembre,
11710
+ octubre: this.octubre,
11711
+ noviembre: this.noviembre,
11712
+ diciembre: this.diciembre,
11713
+ desact: this.denominacionConcepto
11714
+ };
11715
+ };
11716
+ return MImpuestoSobreRenta;
11717
+ }(MBasicModel));
11718
+
11719
+ var MMetodoBanco = /** @class */ (function (_super) {
11720
+ __extends(MMetodoBanco, _super);
11721
+ function MMetodoBanco(e) {
11722
+ if (e === void 0) { e = null; }
11723
+ var _this = _super.call(this) || this;
11724
+ _this.idEmpresa = 0;
11725
+ _this.idMetodoBanco = 0;
11726
+ _this.id = 0;
11727
+ _this.codigoMetodo = '';
11728
+ _this.denominacionMetodo = '';
11729
+ _this.tipoMetodo = '';
11730
+ _this.codigoEmpresaNominal = '';
11731
+ _this.tipoCuentaCreditoNominal = '';
11732
+ _this.tipoCuentaDebitoNominal = '';
11733
+ _this.codigoOficinaNomina = '';
11734
+ _this.pagoTaquillaNomina = 0;
11735
+ _this.numeroReferencia = 0;
11736
+ _this.numeroConvenio = '';
11737
+ _this.activo = 0;
11738
+ if (e) {
11739
+ _this.idEmpresa = parseInt(e.id_empresa);
11740
+ _this.idMetodoBanco = parseInt(e.id_metbco);
11741
+ _this.codigoMetodo = e.codmet;
11742
+ _this.denominacionMetodo = e.denmet;
11743
+ _this.tipoMetodo = e.tipmet;
11744
+ _this.id = parseInt(e.id_banco);
11745
+ _this.codigoEmpresaNominal = e.codempnom;
11746
+ _this.tipoCuentaCreditoNominal = e.tipcuecrenom;
11747
+ _this.tipoCuentaDebitoNominal = e.tipcuedebnom;
11748
+ _this.codigoOficinaNomina = e.codofinom;
11749
+ _this.pagoTaquillaNomina = parseInt(e.pagtaqnom);
11750
+ _this.numeroReferencia = parseInt(e.nroref);
11751
+ _this.activo = parseInt(e.activo);
11752
+ _this.numeroConvenio = e.numconnom;
11753
+ }
11754
+ else {
11755
+ _this.isNew = true;
11756
+ }
11757
+ return _this;
11758
+ }
11759
+ MMetodoBanco.prototype.dataInterface = function () {
11760
+ return {
11761
+ id_empresa: this.idEmpresa.toString(),
11762
+ id_metbco: this.idMetodoBanco.toString(),
11763
+ codmet: this.codigoMetodo,
11764
+ denmet: this.denominacionMetodo,
11765
+ tipmet: this.tipoMetodo,
11766
+ id_banco: this.id.toString(),
11767
+ codempnom: this.codigoEmpresaNominal,
11768
+ tipcuecrenom: this.tipoCuentaCreditoNominal,
11769
+ tipcuedebnom: this.tipoCuentaDebitoNominal,
11770
+ codofinom: this.codigoOficinaNomina,
11771
+ pagtaqnom: this.pagoTaquillaNomina.toString(),
11772
+ nroref: this.numeroReferencia.toString(),
11773
+ activo: this.activo.toString(),
11774
+ numconnom: this.numeroConvenio,
11775
+ };
11776
+ };
11777
+ return MMetodoBanco;
11778
+ }(MBasicModel));
11779
+ var MMetodos = /** @class */ (function (_super) {
11780
+ __extends(MMetodos, _super);
11781
+ function MMetodos(e) {
11782
+ if (e === void 0) { e = null; }
11783
+ var _this = _super.call(this) || this;
11784
+ _this.idEmpresa = 0;
11785
+ _this.idMetodo = 0;
11786
+ _this.codigoMetodo = '';
11787
+ _this.denominacionMetodo = '';
11788
+ _this.montoMetodo = 0;
11789
+ _this.metodoCestaTicket = '';
11790
+ _this.codigoProducto = '';
11791
+ _this.montoDescuentoDia = 0;
11792
+ _this.numeroTarjeta = '';
11793
+ if (e) {
11794
+ _this.idEmpresa = parseInt(e.id_empresa);
11795
+ _this.idMetodo = parseInt(e.id_metodo);
11796
+ _this.codigoMetodo = e.codmet;
11797
+ _this.denominacionMetodo = e.denmet;
11798
+ _this.montoMetodo = +e.monmet;
11799
+ _this.metodoCestaTicket = e.metcestic;
11800
+ _this.codigoProducto = e.codprod;
11801
+ _this.montoDescuentoDia = +e.mondesdia;
11802
+ _this.numeroTarjeta = e.nrotarjeta;
11803
+ }
11804
+ else {
11805
+ _this.isNew = true;
11806
+ }
11807
+ return _this;
11808
+ }
11809
+ MMetodos.prototype.dataInterface = function () {
11810
+ return {
11811
+ id_empresa: this.idEmpresa.toString(),
11812
+ id_metodo: this.idMetodo.toString(),
11813
+ codmet: this.codigoMetodo,
11814
+ denmet: this.denominacionMetodo,
11815
+ monmet: this.montoMetodo,
11816
+ metcestic: this.metodoCestaTicket,
11817
+ codprod: this.codigoProducto,
11818
+ mondesdia: this.montoDescuentoDia,
11819
+ nrotarjeta: this.numeroTarjeta,
11820
+ };
11821
+ };
11822
+ return MMetodos;
11823
+ }(MBasicModel));
11824
+
11825
+ var MPeriodosPlan = /** @class */ (function (_super) {
11826
+ __extends(MPeriodosPlan, _super);
11827
+ function MPeriodosPlan(e) {
11828
+ if (e === void 0) { e = null; }
11829
+ var _this = _super.call(this) || this;
11830
+ _this.idEmpresa = 0;
11831
+ _this.idPlanHorario = 0;
11832
+ _this.codigoPeriodoPlan = '';
11833
+ _this.denominacionPeriodoPlan = '';
11834
+ _this.fechaPeriodoPlan = '1900-01-01';
11835
+ _this.idPeriodo = 0;
11836
+ _this.codigoPeriodo = '';
11837
+ _this.idHorario = 0;
11838
+ _this.incidencias = '';
11839
+ _this.idDetalle = 0;
11840
+ if (e) {
11841
+ _this.idEmpresa = +e.id_empresa;
11842
+ _this.idPlanHorario = +e.id_planhor;
11843
+ _this.codigoPeriodo = e.codperplan;
11844
+ _this.denominacionPeriodoPlan = e.denperplan;
11845
+ _this.fechaPeriodoPlan = e.fecperplan;
11846
+ _this.idPeriodo = +e.id_periodo;
11847
+ _this.codigoPeriodo = e.codperi;
11848
+ _this.idHorario = +e.id_hora;
11849
+ _this.incidencias = e.incidencias;
11850
+ _this.idDetalle = +e.id_detalle;
11851
+ }
11852
+ else {
11853
+ _this.isNew = true;
11854
+ }
11855
+ return _this;
11856
+ }
11857
+ MPeriodosPlan.prototype.dataInterface = function () {
11858
+ return {
11859
+ id_empresa: this.idEmpresa.toString(),
11860
+ id_planhor: this.idPlanHorario.toString(),
11861
+ codperplan: this.codigoPeriodoPlan,
11862
+ denperplan: this.denominacionPeriodoPlan,
11863
+ fecperplan: this.fechaPeriodoPlan,
11864
+ id_periodo: this.idPeriodo.toString(),
11865
+ codperi: this.codigoPeriodo,
11866
+ id_hora: this.idHorario.toString(),
11867
+ incidencias: this.incidencias,
11868
+ id_detalle: this.idDetalle.toString(),
11869
+ };
11870
+ };
11871
+ return MPeriodosPlan;
11872
+ }(MBasicModel));
11873
+
11874
+ var MPrestamo = /** @class */ (function (_super) {
11875
+ __extends(MPrestamo, _super);
11876
+ function MPrestamo(e) {
11877
+ if (e === void 0) { e = null; }
11878
+ var _this = _super.call(this) || this;
11879
+ _this.idEmpresa = 0;
11880
+ _this.idPersonal = 0;
11881
+ _this.idPrestamo = 0;
11882
+ _this.numeroPrestamo = 0;
11883
+ _this.idTipoPrestamo = 0;
11884
+ _this.idNomina = 0;
11885
+ _this.idConcepto = 0;
11886
+ _this.montoPrestamo = 0;
11887
+ _this.numeroCuotasPrestamo = 0;
11888
+ _this.idPeriodo = 0;
11889
+ _this.motoAmortizacionPrestamo = 0;
11890
+ _this.estatusPrestamo = 1;
11891
+ _this.fechaPrestamo = '1900-01-01';
11892
+ _this.observacionRecalculoPrestamo = '';
11893
+ _this.observacionSuspencionPrestamo = '';
11894
+ _this.tipoCuota = '0';
11895
+ _this.denominacionTipoPrestamo = '';
11896
+ _this.codigoTipoPrestamo = '';
11897
+ _this.denominacionNomina = '';
11898
+ _this.codigoNomina = '';
11899
+ _this.denominacionConcepto = '';
11900
+ _this.codigoConcepto = '';
11901
+ _this.codigoPeriodo = '';
11902
+ _this.fechaFinPeriodo = '1900-01-01';
11903
+ _this.montoCuotaPrestamo = 0;
11904
+ _this.saldoPrestamo = 0;
11905
+ _this.numeroPeriodoNomina = 0;
11906
+ _this.periodos = [];
11907
+ _this.amortizacion = [];
11908
+ if (e) {
11909
+ _this.idEmpresa = +e.id_empresa;
11910
+ _this.idPrestamo = +e.id_prestamo;
11911
+ _this.idPersonal = +e.id_personal;
11912
+ _this.numeroPrestamo = +e.numpre;
11913
+ _this.idTipoPrestamo = +e.id_tipoprestamo;
11914
+ _this.idNomina = +e.id_nomina;
11915
+ _this.idConcepto = +e.id_concepto;
11916
+ _this.montoPrestamo = +e.monpre;
11917
+ _this.numeroCuotasPrestamo = +e.numcuopre;
11918
+ _this.idPeriodo = +e.id_periodo;
11919
+ _this.motoAmortizacionPrestamo = +e.monamopre;
11920
+ _this.estatusPrestamo = +e.estpre;
11921
+ _this.fechaPrestamo = e.fecpre;
11922
+ _this.observacionRecalculoPrestamo = e.obsrecpre;
11923
+ _this.observacionSuspencionPrestamo = e.obssuspre;
11924
+ _this.tipoCuota = e.tipcuopre;
11925
+ _this.denominacionTipoPrestamo = e.destippre;
11926
+ _this.codigoTipoPrestamo = e.codtippre;
11927
+ _this.denominacionNomina = e.dennom;
11928
+ _this.codigoNomina = e.codnom;
11929
+ _this.denominacionConcepto = e.nomcon;
11930
+ _this.codigoConcepto = e.codconc;
11931
+ _this.codigoPeriodo = e.codperi;
11932
+ _this.fechaFinPeriodo = e.fechasper;
11933
+ _this.numeroPeriodoNomina = +e.numpernom;
11934
+ _this.periodos = e.periodos.map(function (e) { return new MPrestamosPeriodo(e); });
11935
+ _this.amortizacion = e.amortizacion.map(function (e) { return new MPrestamoAmortizacion(e); });
11936
+ _this.montoCuotaPrestamo = _this.calcularCuotas();
11937
+ _this.saldoPrestamo = _this.calcularSaldo();
11938
+ }
11939
+ else {
11940
+ _this.isNew = true;
11941
+ }
11942
+ return _this;
11943
+ }
11944
+ MPrestamo.prototype.dataInterface = function () {
11945
+ return {
11946
+ id_empresa: this.idEmpresa,
11947
+ id_personal: this.idPersonal,
11948
+ id_prestamo: this.idPrestamo,
11949
+ numpre: this.numeroPrestamo,
11950
+ id_tipoprestamo: this.idTipoPrestamo,
11951
+ id_nomina: this.idNomina,
11952
+ id_concepto: this.idConcepto,
11953
+ monpre: this.montoPrestamo,
11954
+ numcuopre: this.numeroCuotasPrestamo,
11955
+ id_periodo: this.idPeriodo,
11956
+ monamopre: this.motoAmortizacionPrestamo,
11957
+ estpre: this.estatusPrestamo,
11958
+ fecpre: this.fechaPrestamo,
11959
+ obsrecpre: this.observacionRecalculoPrestamo,
11960
+ obssuspre: this.observacionSuspencionPrestamo,
11961
+ tipcuopre: this.tipoCuota,
11962
+ dennom: this.denominacionNomina,
11963
+ codnom: this.codigoNomina,
11964
+ destippre: this.denominacionTipoPrestamo,
11965
+ codtippre: this.codigoTipoPrestamo,
11966
+ nomcon: this.denominacionConcepto,
11967
+ codconc: this.codigoConcepto,
11968
+ codperi: this.codigoPeriodo,
11969
+ fechasper: this.fechaFinPeriodo,
11970
+ numpernom: this.numeroPeriodoNomina,
11971
+ periodos: this.periodos.map((function (e) { return e.dataInterface(); })),
11972
+ amortizacion: this.amortizacion.map((function (e) { return e.dataInterface(); }))
11973
+ };
11974
+ };
11975
+ MPrestamo.prototype.calcularCuotas = function () {
11976
+ var i = this.periodos.length - 1;
11977
+ if (i > 0) {
11978
+ return this.periodos[i].montoCuota;
11979
+ }
11980
+ return 0;
11981
+ };
11982
+ MPrestamo.prototype.calcularSaldo = function () {
11983
+ var montoPago = 0;
11984
+ this.periodos.forEach(function (element) {
11985
+ if (element.estatusCuota == 1) {
11986
+ montoPago = montoPago + element.montoCuota;
11987
+ }
11988
+ });
11989
+ return this.montoPrestamo - this.motoAmortizacionPrestamo - montoPago;
11990
+ };
11991
+ MPrestamo.prototype.cuotasCanceladas = function () {
11992
+ var cuotas = 0;
11993
+ this.periodos.forEach(function (element) {
11994
+ if (element.estatusCuota == 1) {
11995
+ cuotas = cuotas + 1;
11996
+ }
11997
+ });
11998
+ return cuotas;
11999
+ };
12000
+ return MPrestamo;
12001
+ }(MBasicModel));
12002
+ var MPrestamosPeriodo = /** @class */ (function (_super) {
12003
+ __extends(MPrestamosPeriodo, _super);
12004
+ function MPrestamosPeriodo(e) {
12005
+ var _this = _super.call(this) || this;
12006
+ _this.idEmpresa = 0;
12007
+ _this.idPersonal = 0;
12008
+ _this.idPrestamo = 0;
12009
+ _this.numeroCuota = 0;
12010
+ _this.idPeriodo = 0;
12011
+ _this.fechaInicioPeriodo = '';
12012
+ _this.fechaFinPeriodo = '';
12013
+ _this.montoCuota = 0;
12014
+ _this.estatusCuota = 0;
12015
+ if (e) {
12016
+ _this.idEmpresa = +e.id_empresa;
12017
+ _this.idPersonal = +e.id_personal;
12018
+ _this.idPrestamo = +e.id_prestamo;
12019
+ _this.numeroCuota = +e.numcuo;
12020
+ _this.idPeriodo = +e.id_periodocob;
12021
+ _this.fechaInicioPeriodo = e.feciniper;
12022
+ _this.fechaFinPeriodo = e.fecfinper;
12023
+ _this.montoCuota = +e.moncuo;
12024
+ _this.estatusCuota = +e.estcuo;
12025
+ _this.codigoPeriodo = e.codperipre;
12026
+ _this.denominacionEstatus = _this.denominacion();
12027
+ }
12028
+ else {
12029
+ _this.isNew = true;
12030
+ }
12031
+ return _this;
12032
+ }
12033
+ MPrestamosPeriodo.prototype.dataInterface = function () {
12034
+ return {
12035
+ id_empresa: this.idEmpresa,
12036
+ id_personal: this.idPersonal,
12037
+ id_prestamo: this.idPrestamo,
12038
+ numcuo: this.numeroCuota,
12039
+ id_periodocob: this.idPeriodo,
12040
+ feciniper: this.fechaInicioPeriodo,
12041
+ fecfinper: this.fechaFinPeriodo,
12042
+ moncuo: this.montoCuota,
12043
+ estcuo: this.estatusCuota,
12044
+ codperipre: this.codigoPeriodo
12045
+ };
12046
+ };
12047
+ MPrestamosPeriodo.prototype.denominacion = function () {
12048
+ if (this.estatusCuota == 1) {
12049
+ return 'Cancelado';
12050
+ }
12051
+ else
12052
+ return 'No Cancelado';
12053
+ };
12054
+ return MPrestamosPeriodo;
12055
+ }(MBasicModel));
12056
+ var MPrestamoAmortizacion = /** @class */ (function (_super) {
12057
+ __extends(MPrestamoAmortizacion, _super);
12058
+ function MPrestamoAmortizacion(e) {
12059
+ var _this = _super.call(this) || this;
12060
+ _this.idEmpresa = 0;
12061
+ _this.idPersonal = 0;
12062
+ _this.idPrestamo = 0;
12063
+ _this.numeroAmortizacion = 0;
12064
+ _this.idPeriodoAmortizacion = 0;
12065
+ _this.fecchaAmortizacion = '1900-01-01';
12066
+ _this.montoAmortizacion = 0;
12067
+ _this.descripcionAmortizacion = '';
12068
+ if (e) {
12069
+ _this.idEmpresa = +e.id_empresa;
12070
+ _this.idPersonal = +e.id_personal;
12071
+ _this.idPrestamo = +e.id_prestamo;
12072
+ _this.numeroAmortizacion = +e.numamo;
12073
+ _this.idPeriodoAmortizacion = +e.id_periodoamo;
12074
+ _this.fecchaAmortizacion = e.fecamo;
12075
+ _this.montoAmortizacion = +e.monamo;
12076
+ _this.descripcionAmortizacion = e.desamo;
12077
+ }
12078
+ return _this;
12079
+ }
12080
+ MPrestamoAmortizacion.prototype.dataInterface = function () {
12081
+ return {
12082
+ id_empresa: this.idEmpresa,
12083
+ id_personal: this.idPersonal,
12084
+ id_prestamo: this.idPrestamo,
12085
+ numamo: this.numeroAmortizacion,
12086
+ id_periodoamo: this.idPeriodoAmortizacion,
12087
+ fecamo: this.fecchaAmortizacion,
12088
+ monamo: this.montoAmortizacion,
12089
+ desamo: this.descripcionAmortizacion,
12090
+ };
12091
+ };
12092
+ return MPrestamoAmortizacion;
12093
+ }(MBasicModel));
12094
+
12095
+ var MRConsolidadoConceptos = /** @class */ (function (_super) {
12096
+ __extends(MRConsolidadoConceptos, _super);
12097
+ function MRConsolidadoConceptos(e) {
12098
+ if (e === void 0) { e = null; }
12099
+ var _this = _super.call(this) || this;
12100
+ _this.idNominaDes = 0;
12101
+ _this.idNominaHas = 0;
12102
+ _this.codigoNominaDes = "";
12103
+ _this.codigoNominaHas = "";
12104
+ _this.idPersonalDes = 0;
12105
+ _this.idPersonalHas = 0;
12106
+ _this.codigoPersonalDes = "";
12107
+ _this.codigoPersonalHas = "";
12108
+ _this.ordenDesde = 0;
12109
+ _this.ordenHasta = 0;
12110
+ _this.idConceptoDes = 0;
12111
+ _this.idConceptoHas = 0;
12112
+ _this.codigoConceptoDes = "";
12113
+ _this.codigoConceptoHas = "";
12114
+ _this.tipoConcepto = "";
12115
+ _this.idPeriodoDes = 0;
12116
+ _this.idPeriodoHas = 0;
12117
+ _this.codidoPeriodoDes = "";
12118
+ _this.codidoPeriodoHas = "";
12119
+ _this.annocurso = 0;
12120
+ _this.orden = "1";
12121
+ _this.reporte = "";
12122
+ if (e) {
12123
+ _this.idNominaDes = e.id_nominaDes;
12124
+ _this.idNominaHas = e.id_nominaHas;
12125
+ _this.codigoNominaDes = e.codnomDes;
12126
+ _this.codigoNominaHas = e.codnomHas;
12127
+ _this.idPersonalDes = e.id_personalDes;
12128
+ _this.idPersonalHas = e.id_personalHas;
12129
+ _this.codigoPersonalDes = e.codperDes;
12130
+ _this.codigoPersonalHas = e.codperHas;
12131
+ _this.ordenDesde = e.ordenDesde;
12132
+ _this.ordenHasta = e.ordenHasta;
12133
+ _this.idConceptoDes = e.id_conceptoDes;
12134
+ _this.idConceptoHas = e.id_conceptoHas;
12135
+ _this.codigoConceptoDes = e.codconcDes;
12136
+ _this.codigoConceptoHas = e.codconcHas;
12137
+ _this.tipoConcepto = e.tipconc;
12138
+ _this.idPeriodoDes = e.id_periodoDes;
12139
+ _this.idPeriodoHas = e.id_periodoHas;
12140
+ _this.codidoPeriodoDes = e.codperiDes;
12141
+ _this.codidoPeriodoHas = e.codperiHas;
12142
+ _this.annocurso = e.anocur;
12143
+ _this.orden = e.orden;
12144
+ _this.reporte = e.reporte;
12145
+ }
12146
+ else {
12147
+ _this.isNew = true;
12148
+ }
12149
+ return _this;
12150
+ }
12151
+ MRConsolidadoConceptos.prototype.dataInterface = function () {
12152
+ return {
12153
+ id_nominaDes: this.idNominaDes,
12154
+ id_nominaHas: this.idNominaHas,
12155
+ codnomDes: this.codigoNominaDes,
12156
+ codnomHas: this.codigoNominaHas,
12157
+ id_personalDes: this.idPersonalDes,
12158
+ id_personalHas: this.idPersonalHas,
12159
+ codperDes: this.codigoPersonalDes,
12160
+ codperHas: this.codigoPersonalHas,
12161
+ ordenDesde: this.ordenDesde,
12162
+ ordenHasta: this.ordenHasta,
12163
+ id_conceptoDes: this.idConceptoDes,
12164
+ id_conceptoHas: this.idConceptoHas,
12165
+ codconcDes: this.codigoConceptoDes,
12166
+ codconcHas: this.codigoConceptoHas,
12167
+ tipconc: this.tipoConcepto,
12168
+ id_periodoDes: this.idPeriodoDes,
12169
+ id_periodoHas: this.idPeriodoHas,
12170
+ codperiDes: this.codidoPeriodoDes,
12171
+ codperiHas: this.codidoPeriodoHas,
12172
+ anocur: this.annocurso,
12173
+ orden: this.orden,
12174
+ reporte: this.reporte
12175
+ };
12176
+ };
12177
+ return MRConsolidadoConceptos;
12178
+ }(MBasicModel));
12179
+ var MRConstanciaTrabajo = /** @class */ (function (_super) {
12180
+ __extends(MRConstanciaTrabajo, _super);
12181
+ function MRConstanciaTrabajo(e) {
12182
+ if (e === void 0) { e = null; }
12183
+ var _this = _super.call(this) || this;
12184
+ _this.id_constancia = 0;
12185
+ _this.codigoconstancia = '';
12186
+ _this.plantilla_rtf = '';
12187
+ _this.archivo = '';
12188
+ _this.id_nomina = 0;
12189
+ _this.codigonomina = '';
12190
+ _this.id_personalDes = 0;
12191
+ _this.id_personalHas = 0;
12192
+ _this.codigopersonalDes = '';
12193
+ _this.codigopersonalHas = '';
12194
+ _this.orden = '1';
12195
+ if (e) {
12196
+ _this.id_constancia = e.id_constancia;
12197
+ _this.codigoconstancia = e.codconstra;
12198
+ _this.plantilla_rtf = e.plantilla_rtf;
12199
+ _this.archivo = e.archivo;
12200
+ _this.id_nomina = e.id_nomina;
12201
+ _this.codigonomina = e.codnom;
12202
+ _this.id_personalDes = e.id_personalDes;
12203
+ _this.id_personalHas = e.id_personalHas;
12204
+ _this.codigopersonalDes = e.codperDes;
12205
+ _this.codigopersonalHas = e.codperHas;
12206
+ _this.orden = e.orden;
12207
+ }
12208
+ else {
12209
+ _this.isNew = true;
12210
+ }
12211
+ return _this;
12212
+ }
12213
+ MRConstanciaTrabajo.prototype.dataInterface = function () {
12214
+ return {
12215
+ id_constancia: this.id_constancia,
12216
+ codconstra: this.codigoconstancia,
12217
+ plantilla_rtf: this.plantilla_rtf,
12218
+ archivo: this.archivo,
12219
+ id_nomina: this.id_nomina,
12220
+ codnom: this.codigonomina,
12221
+ id_personalDes: this.id_personalDes,
12222
+ id_personalHas: this.id_personalHas,
12223
+ codperDes: this.codigopersonalDes,
12224
+ codperHas: this.codigopersonalHas,
12225
+ orden: this.orden,
12226
+ };
12227
+ };
12228
+ return MRConstanciaTrabajo;
12229
+ }(MBasicModel));
12230
+ var MRArchivoTXT = /** @class */ (function (_super) {
12231
+ __extends(MRArchivoTXT, _super);
12232
+ function MRArchivoTXT(e) {
12233
+ if (e === void 0) { e = null; }
12234
+ var _this = _super.call(this) || this;
12235
+ _this.nombrearchivo = '';
12236
+ if (e) {
12237
+ _this.nombrearchivo = e.nombrearchivo;
12238
+ }
12239
+ else {
12240
+ _this.isNew = true;
12241
+ }
12242
+ return _this;
12243
+ }
12244
+ MRArchivoTXT.prototype.dataInterface = function () {
12245
+ return {
12246
+ nombrearchivo: this.nombrearchivo
12247
+ };
12248
+ };
12249
+ return MRArchivoTXT;
12250
+ }(MBasicModel));
12251
+ var MRListadoPersonal = /** @class */ (function (_super) {
12252
+ __extends(MRListadoPersonal, _super);
12253
+ function MRListadoPersonal(e) {
12254
+ if (e === void 0) { e = null; }
12255
+ var _this = _super.call(this) || this;
12256
+ _this.idNominaDes = 0;
12257
+ _this.idNominaHas = 0;
12258
+ _this.codigoNominaDes = "";
12259
+ _this.codigoNominaHas = "";
12260
+ _this.denominacionNominaDes = "";
12261
+ _this.denominacionNominaHas = "";
12262
+ _this.id_personalDes = 0;
12263
+ _this.id_personalHas = 0;
12264
+ _this.codigoPersonalDes = "";
12265
+ _this.codigoPersonalHas = "";
12266
+ _this.nombrePersonalDes = "";
12267
+ _this.nombrePersonalHas = "";
12268
+ _this.estatusPersonal = 1;
12269
+ _this.causaEgresoPer = "";
12270
+ _this.sexo = "";
12271
+ _this.codigoPais = "000058";
12272
+ _this.codigoEstado = "";
12273
+ _this.codigoMunicipio = "";
12274
+ _this.codigoParroquia = "";
12275
+ _this.nombrePais = "Venezuela";
12276
+ _this.nombreEstado = "";
12277
+ _this.nombreMunicipio = "";
12278
+ _this.nombreParroquia = "";
12279
+ _this.statusPersonalNomina = "";
12280
+ _this.fechaDesde = "";
12281
+ _this.fechaHasta = "";
12282
+ _this.orden = "1";
12283
+ _this.reporte = "";
12284
+ if (e) {
12285
+ _this.idNominaDes = e.id_nominaDes;
12286
+ _this.idNominaHas = e.id_nominaHas;
12287
+ _this.codigoNominaDes = e.codnomDes;
12288
+ _this.codigoNominaHas = e.codnomHas;
12289
+ _this.denominacionNominaDes = e.dennomDes;
12290
+ _this.denominacionNominaHas = e.dennomHas;
12291
+ _this.id_personalDes = e.id_personalDes;
12292
+ _this.id_personalHas = e.id_personalHas;
12293
+ _this.codigoPersonalDes = e.codperDes;
12294
+ _this.codigoPersonalHas = e.codperHas;
12295
+ _this.nombrePersonalDes = e.nomperDes;
12296
+ _this.nombrePersonalHas = e.nomperHas;
12297
+ _this.estatusPersonal = e.estper;
12298
+ _this.causaEgresoPer = e.cauegrper;
12299
+ _this.sexo = e.sexper;
12300
+ _this.codigoPais = e.codpai;
12301
+ _this.codigoEstado = e.codest;
12302
+ _this.codigoMunicipio = e.codmun;
12303
+ _this.codigoParroquia = e.codpar;
12304
+ _this.nombrePais = e.despai;
12305
+ _this.nombreEstado = e.desest;
12306
+ _this.nombreMunicipio = e.desmun;
12307
+ _this.nombreParroquia = e.despar;
12308
+ _this.statusPersonalNomina = e.staper;
12309
+ _this.fechaDesde = e.fechaDes;
12310
+ _this.fechaHasta = e.fechaHas;
12311
+ _this.orden = e.orden;
12312
+ _this.reporte = e.reporte;
12313
+ }
12314
+ else {
12315
+ _this.isNew = true;
12316
+ }
12317
+ return _this;
12318
+ }
12319
+ MRListadoPersonal.prototype.dataInterface = function () {
12320
+ return {
12321
+ id_nominaDes: this.idNominaDes,
12322
+ id_nominaHas: this.idNominaHas,
12323
+ codnomDes: this.codigoNominaDes,
12324
+ codnomHas: this.codigoNominaHas,
12325
+ dennomDes: this.denominacionNominaDes,
12326
+ dennomHas: this.denominacionNominaHas,
12327
+ id_personalDes: this.id_personalDes,
12328
+ id_personalHas: this.id_personalHas,
12329
+ codperDes: this.codigoPersonalDes,
12330
+ codperHas: this.codigoPersonalHas,
12331
+ nomperDes: this.nombrePersonalDes,
12332
+ nomperHas: this.nombrePersonalHas,
12333
+ estper: this.estatusPersonal,
12334
+ cauegrper: this.causaEgresoPer,
12335
+ sexper: this.sexo,
12336
+ codpai: this.codigoPais,
12337
+ codest: this.codigoEstado,
12338
+ codmun: this.codigoMunicipio,
12339
+ codpar: this.codigoParroquia,
12340
+ despai: this.nombrePais,
12341
+ desest: this.nombreEstado,
12342
+ desmun: this.nombreMunicipio,
12343
+ despar: this.nombreParroquia,
12344
+ staper: this.statusPersonalNomina,
12345
+ fechaDes: this.fechaDesde,
12346
+ fechaHas: this.fechaHasta,
12347
+ orden: this.orden,
12348
+ reporte: this.reporte
12349
+ };
12350
+ };
12351
+ return MRListadoPersonal;
12352
+ }(MBasicModel));
12353
+ var MRListadoSindicato = /** @class */ (function (_super) {
12354
+ __extends(MRListadoSindicato, _super);
12355
+ function MRListadoSindicato(e) {
12356
+ if (e === void 0) { e = null; }
12357
+ var _this = _super.call(this) || this;
12358
+ _this.idSindicatoDes = 0;
12359
+ _this.idSindicatoHas = 0;
12360
+ _this.codigoSindicatoDes = '';
12361
+ _this.codigoSindicatoHas = '';
12362
+ _this.reporte = '';
12363
+ if (e) {
12364
+ _this.idSindicatoDes = e.id_sindicatoDes;
12365
+ _this.idSindicatoHas = e.id_sindicatoHas;
12366
+ _this.codigoSindicatoDes = e.codSindicatoDes;
12367
+ _this.codigoSindicatoHas = e.codSindicatoHas;
12368
+ _this.reporte = e.reporte;
12369
+ }
12370
+ else {
12371
+ _this.isNew = true;
12372
+ }
12373
+ return _this;
12374
+ }
12375
+ MRListadoSindicato.prototype.dataInterface = function () {
12376
+ return {
12377
+ id_sindicatoDes: this.idSindicatoDes,
12378
+ id_sindicatoHas: this.idSindicatoHas,
12379
+ codSindicatoDes: this.codigoSindicatoDes,
12380
+ codSindicatoHas: this.codigoSindicatoHas,
12381
+ reporte: this.reporte,
12382
+ };
12383
+ };
12384
+ return MRListadoSindicato;
12385
+ }(MBasicModel));
12386
+ var MRListadoTipoPersonal = /** @class */ (function (_super) {
12387
+ __extends(MRListadoTipoPersonal, _super);
12388
+ function MRListadoTipoPersonal(e) {
12389
+ if (e === void 0) { e = null; }
12390
+ var _this = _super.call(this) || this;
12391
+ _this.idUbicacionFisica = 0;
12392
+ _this.codigoUbicacionFisica = "";
12393
+ _this.denominacionUbicacionFisica = "";
12394
+ _this.codigoPais = '000058';
12395
+ _this.nombrePais = 'Venezuela';
12396
+ _this.codigoEstado = '---';
12397
+ _this.nombreEstado = '';
12398
+ _this.codigoMunicipio = '---';
12399
+ _this.nombreMunicipio = '';
12400
+ _this.codigoParroquia = '---';
12401
+ _this.nombreParroquia = '';
12402
+ _this.reporte = '';
12403
+ _this.estatusPersonal = '';
12404
+ _this.idOrganigrama = 0;
12405
+ _this.codigoEstOrganizativa = '';
12406
+ _this.denominacionEstOrganizativa = '';
12407
+ _this.orden = '1';
12408
+ if (e) {
12409
+ _this.idUbicacionFisica = e.id_ubifis;
12410
+ _this.codigoUbicacionFisica = e.codubifis;
12411
+ _this.denominacionUbicacionFisica = e.denubifis;
12412
+ _this.codigoPais = '000058';
12413
+ _this.nombrePais = 'Venezuela';
12414
+ _this.codigoEstado = e.codest;
12415
+ _this.nombreEstado = e.desest;
12416
+ _this.codigoMunicipio = e.codmun;
12417
+ _this.nombreMunicipio = e.desmun;
12418
+ _this.codigoParroquia = e.codpar;
12419
+ _this.nombreParroquia = e.despar;
12420
+ _this.estatusPersonal = e.estper;
12421
+ _this.idOrganigrama = e.id_organigrama;
12422
+ _this.codigoEstOrganizativa = e.codestorg;
12423
+ _this.denominacionEstOrganizativa = e.denestorg;
12424
+ _this.reporte = e.reporte;
12425
+ _this.orden = e.orden;
12426
+ }
12427
+ else {
12428
+ _this.isNew = true;
12429
+ }
12430
+ return _this;
12431
+ }
12432
+ MRListadoTipoPersonal.prototype.dataInterface = function () {
12433
+ return {
12434
+ id_ubifis: this.idUbicacionFisica,
12435
+ codubifis: this.codigoUbicacionFisica,
12436
+ denubifis: this.denominacionUbicacionFisica,
12437
+ codpai: this.codigoPais,
12438
+ despai: this.nombrePais,
12439
+ codest: this.codigoEstado,
12440
+ desest: this.nombreEstado,
12441
+ codmun: this.codigoMunicipio,
12442
+ desmun: this.nombreMunicipio,
12443
+ codpar: this.codigoParroquia,
12444
+ despar: this.nombreParroquia,
12445
+ estper: this.estatusPersonal,
12446
+ id_organigrama: this.idOrganigrama,
12447
+ codestorg: this.codigoEstOrganizativa,
12448
+ denestorg: this.denominacionEstOrganizativa,
12449
+ reporte: this.reporte,
12450
+ orden: this.orden
12451
+ };
12452
+ };
12453
+ return MRListadoTipoPersonal;
12454
+ }(MBasicModel));
12455
+ var MRPeriodo = /** @class */ (function (_super) {
12456
+ __extends(MRPeriodo, _super);
12457
+ function MRPeriodo(e) {
12458
+ if (e === void 0) { e = null; }
12459
+ var _this = _super.call(this) || this;
12460
+ _this.idPeriodo = 0;
12461
+ _this.codigoPeriodo = '';
12462
+ _this.fechaDesdePeriodo = '1900-01-01';
12463
+ _this.fechaHastaperiodo = '1900-01-01';
12464
+ if (e) {
12465
+ _this.idPeriodo = parseInt(e.id_periodo);
12466
+ _this.codigoPeriodo = e.codperi;
12467
+ _this.fechaDesdePeriodo = e.fecdesper;
12468
+ _this.fechaHastaperiodo = e.fechasper;
12469
+ }
12470
+ else {
12471
+ _this.isNew = true;
12472
+ }
12473
+ return _this;
12474
+ }
12475
+ MRPeriodo.prototype.dataInterface = function () {
12476
+ return {
12477
+ id_periodo: this.idPeriodo.toString(),
12478
+ codperi: this.codigoPeriodo,
12479
+ fecdesper: this.fechaDesdePeriodo,
12480
+ fechasper: this.fechaHastaperiodo
12481
+ };
12482
+ };
12483
+ return MRPeriodo;
12484
+ }(MBasicModel));
12485
+ var MRRetenciones = /** @class */ (function (_super) {
12486
+ __extends(MRRetenciones, _super);
12487
+ function MRRetenciones(e) {
12488
+ if (e === void 0) { e = null; }
12489
+ var _this = _super.call(this) || this;
12490
+ _this.id_nomina = 0;
12491
+ _this.codigonomina = '';
12492
+ _this.id_personalDes = 0;
12493
+ _this.id_personalHas = 0;
12494
+ _this.codigopersonalDes = "";
12495
+ _this.codigopersonalHas = "";
12496
+ _this.annocurso = "";
12497
+ _this.reporte = "";
12498
+ if (e) {
12499
+ _this.id_nomina = e.id_nomina;
12500
+ _this.codigonomina = e.codnom;
12501
+ _this.id_personalDes = e.id_personalDes;
12502
+ _this.id_personalHas = e.id_personalHas;
12503
+ _this.codigopersonalDes = e.codperDes;
12504
+ _this.codigopersonalHas = e.codperHas;
12505
+ _this.annocurso = e.annocurso;
12506
+ _this.reporte = e.reporte;
12507
+ }
12508
+ else {
12509
+ _this.isNew = true;
12510
+ }
12511
+ return _this;
12512
+ }
12513
+ MRRetenciones.prototype.dataInterface = function () {
12514
+ return {
12515
+ id_nomina: this.id_nomina,
12516
+ codnom: this.codigonomina,
12517
+ id_personalDes: this.id_personalDes,
12518
+ id_personalHas: this.id_personalHas,
12519
+ codperDes: this.codigopersonalDes,
12520
+ codperHas: this.codigopersonalHas,
12521
+ annocurso: this.annocurso,
12522
+ reporte: this.reporte
12523
+ };
12524
+ };
12525
+ return MRRetenciones;
12526
+ }(MBasicModel));
12527
+
10253
12528
  var customPaginator = /** @class */ (function (_super) {
10254
12529
  __extends(customPaginator, _super);
10255
12530
  function customPaginator() {
@@ -10292,14 +12567,20 @@
10292
12567
  exports.MAllStructure = MAllStructure;
10293
12568
  exports.MAnticipoPrestaciones = MAnticipoPrestaciones;
10294
12569
  exports.MArchivoTxtCampo = MArchivoTxtCampo;
12570
+ exports.MArchivosTxt = MArchivosTxt;
10295
12571
  exports.MAsignacionCargo = MAsignacionCargo;
10296
12572
  exports.MAspectoEvaluacion = MAspectoEvaluacion;
10297
12573
  exports.MBank = MBank;
10298
12574
  exports.MBankAccountType = MBankAccountType;
10299
12575
  exports.MBasicModel = MBasicModel;
10300
12576
  exports.MBeneficiario = MBeneficiario;
12577
+ exports.MCalculoPrestacion = MCalculoPrestacion;
12578
+ exports.MCambioEstatusPersonal = MCambioEstatusPersonal;
10301
12579
  exports.MCargaFamiliar = MCargaFamiliar;
12580
+ exports.MCargaMasiva = MCargaMasiva;
10302
12581
  exports.MCargo = MCargo;
12582
+ exports.MCargoEstructuraOrganizativa = MCargoEstructuraOrganizativa;
12583
+ exports.MCargosNominas = MCargosNominas;
10303
12584
  exports.MCargosPersonal = MCargosPersonal;
10304
12585
  exports.MCentroCosto = MCentroCosto;
10305
12586
  exports.MCity = MCity;
@@ -10322,6 +12603,7 @@
10322
12603
  exports.MConcurso = MConcurso;
10323
12604
  exports.MConfigSOC = MConfigSOC;
10324
12605
  exports.MConfigSSS = MConfigSSS;
12606
+ exports.MConfiguracionFideicomiso = MConfiguracionFideicomiso;
10325
12607
  exports.MConfiguracionSCG = MConfiguracionSCG;
10326
12608
  exports.MConfiguracionSNO = MConfiguracionSNO;
10327
12609
  exports.MConfigurationRPC = MConfigurationRPC;
@@ -10355,35 +12637,60 @@
10355
12637
  exports.MEstructuraPresupuestariaOne = MEstructuraPresupuestariaOne;
10356
12638
  exports.MEstructuraPresupuestariaThree = MEstructuraPresupuestariaThree;
10357
12639
  exports.MEstructuraPresupuestariaTwo = MEstructuraPresupuestariaTwo;
12640
+ exports.MEstudiosConcursantes = MEstudiosConcursantes;
12641
+ exports.MExperienciaLaboral = MExperienciaLaboral;
12642
+ exports.MFamiliaConcursante = MFamiliaConcursante;
10358
12643
  exports.MFamiliares = MFamiliares;
10359
12644
  exports.MFeriados = MFeriados;
10360
12645
  exports.MFideicomiso = MFideicomiso;
12646
+ exports.MFideicomisoInteres = MFideicomisoInteres;
12647
+ exports.MFideicomisoPeriodo = MFideicomisoPeriodo;
12648
+ exports.MFideicomisoPeriodoInteres = MFideicomisoPeriodoInteres;
12649
+ exports.MFideicomisoPeriodoInteresCatalogo = MFideicomisoPeriodoInteresCatalogo;
10361
12650
  exports.MFormacionAcademica = MFormacionAcademica;
12651
+ exports.MFormacionInformal = MFormacionInformal;
10362
12652
  exports.MFuenteFinanciamiento = MFuenteFinanciamiento;
10363
12653
  exports.MGrados = MGrados;
10364
12654
  exports.MGroup = MGroup;
10365
12655
  exports.MHojaTiempo = MHojaTiempo;
12656
+ exports.MImpuestoSobreRenta = MImpuestoSobreRenta;
12657
+ exports.MItemsEvalucion = MItemsEvalucion;
10366
12658
  exports.MLog = MLog;
12659
+ exports.MMetodoBanco = MMetodoBanco;
12660
+ exports.MMetodos = MMetodos;
10367
12661
  exports.MMoneda = MMoneda;
10368
12662
  exports.MMonedaConfig = MMonedaConfig;
10369
12663
  exports.MMunicipality = MMunicipality;
10370
- exports.MNominaSimple = MNominaSimple;
12664
+ exports.MNominaSimple = MNominaSimple$1;
10371
12665
  exports.MOrganizationType = MOrganizationType;
10372
12666
  exports.MParish = MParish;
10373
12667
  exports.MPeriodoNomina = MPeriodoNomina;
12668
+ exports.MPeriodosPlan = MPeriodosPlan;
12669
+ exports.MPermisos = MPermisos;
10374
12670
  exports.MPersonal = MPersonal;
12671
+ exports.MPersonalCuentaBanco = MPersonalCuentaBanco;
10375
12672
  exports.MPersonalJubilado = MPersonalJubilado;
10376
12673
  exports.MPersonalNomina = MPersonalNomina;
10377
12674
  exports.MPlanUnicoCuenta = MPlanUnicoCuenta;
12675
+ exports.MPlantillasConstancia = MPlantillasConstancia;
12676
+ exports.MPrestamo = MPrestamo;
12677
+ exports.MPrestamoAmortizacion = MPrestamoAmortizacion;
12678
+ exports.MPrestamosPeriodo = MPrestamosPeriodo;
12679
+ exports.MPrevioEvaluacion = MPrevioEvaluacion;
12680
+ exports.MPrevioEvaluacionDt = MPrevioEvaluacionDt;
10378
12681
  exports.MPrimaGrados = MPrimaGrados;
10379
12682
  exports.MPrimasConcepto = MPrimasConcepto;
10380
12683
  exports.MProveedor = MProveedor;
10381
12684
  exports.MProviderBankAccount = MProviderBankAccount;
10382
12685
  exports.MProviderBeneficiary = MProviderBeneficiary;
12686
+ exports.MRArchivoTXT = MRArchivoTXT;
12687
+ exports.MRConsolidadoConceptos = MRConsolidadoConceptos;
12688
+ exports.MRConstanciaTrabajo = MRConstanciaTrabajo;
10383
12689
  exports.MRango = MRango;
10384
- exports.MRequisitosConcursante = MRequisitosConcursante;
12690
+ exports.MRequisitosConcursantes = MRequisitosConcursantes;
10385
12691
  exports.MRequisitosConcursos = MRequisitosConcursos;
10386
12692
  exports.MRequisitosMinimos = MRequisitosMinimos;
12693
+ exports.MResultadosEvaluacion = MResultadosEvaluacion;
10387
12694
  exports.MRights = MRights;
10388
12695
  exports.MSalarioHistorico = MSalarioHistorico;
10389
12696
  exports.MService = MService;
@@ -10403,6 +12710,7 @@
10403
12710
  exports.MTipoPersonal = MTipoPersonal;
10404
12711
  exports.MTiposEnfermedad = MTiposEnfermedad;
10405
12712
  exports.MTrabajoAnterior = MTrabajoAnterior;
12713
+ exports.MTrabajosConcursantes = MTrabajosConcursantes;
10406
12714
  exports.MUbicacionFisica = MUbicacionFisica;
10407
12715
  exports.MUnidadTributaria = MUnidadTributaria;
10408
12716
  exports.MUserDetail = MUserDetail;
@@ -10416,16 +12724,16 @@
10416
12724
  exports.Signo = Signo;
10417
12725
  exports.TipoCestaTicket = TipoCestaTicket;
10418
12726
  exports.customPaginator = customPaginator;
10419
- exports.ɵc = AppComponent;
10420
- exports.ɵd = SharedModule;
10421
- exports.ɵe = CatalogoComponent;
10422
- exports.ɵg = ConfirmComponent;
10423
- exports.ɵh = IconComponent;
10424
- exports.ɵi = TableSelectComponent;
10425
- exports.ɵj = CatalogoEstructurasComponent;
10426
- exports.ɵk = CatalogoDobleInputComponent;
10427
- exports.ɵl = IsoCurrencyPipe;
10428
- exports.ɵm = CustonMaterialModule;
12727
+ exports.ɵe = AppComponent;
12728
+ exports.ɵf = SharedModule;
12729
+ exports.ɵg = CatalogoComponent;
12730
+ exports.ɵi = ConfirmComponent;
12731
+ exports.ɵj = IconComponent;
12732
+ exports.ɵk = TableSelectComponent;
12733
+ exports.ɵl = CatalogoEstructurasComponent;
12734
+ exports.ɵm = CatalogoDobleInputComponent;
12735
+ exports.ɵn = IsoCurrencyPipe;
12736
+ exports.ɵo = CustonMaterialModule;
10429
12737
 
10430
12738
  Object.defineProperty(exports, '__esModule', { value: true });
10431
12739