sigesp 0.8.74-20220504 → 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 (49) hide show
  1. package/bundles/sigesp.umd.js +1692 -99
  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/RecursosHumanos.js +1 -1
  6. package/esm2015/lib/core/models/SNO/MArchivosTxt.model.js +38 -0
  7. package/esm2015/lib/core/models/SNO/MAspectoEvaluacion.model.js +48 -1
  8. package/esm2015/lib/core/models/SNO/MConcursante.model.js +174 -1
  9. package/esm2015/lib/core/models/SNO/MConcurso.model.js +176 -1
  10. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +58 -1
  11. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +7 -1
  12. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +1 -1
  13. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +45 -1
  14. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +70 -0
  15. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +99 -0
  16. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +21 -6
  17. package/esm2015/lib/core/models/SNO/MPeriodosPlan.model.js +46 -0
  18. package/esm2015/lib/core/models/SNO/MPersonal.model.js +90 -1
  19. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +212 -0
  20. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +1 -3
  21. package/esm2015/lib/core/models/SNO/MReportesRRHH.js +402 -0
  22. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +2 -2
  23. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +4 -1
  24. package/esm2015/public-api.js +13 -7
  25. package/esm2015/sigesp.js +11 -11
  26. package/fesm2015/sigesp.js +1554 -88
  27. package/fesm2015/sigesp.js.map +1 -1
  28. package/lib/core/interfaces/RecursosHumanos.d.ts +282 -11
  29. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +14 -0
  30. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +16 -1
  31. package/lib/core/models/SNO/MConcursante.model.d.ts +56 -1
  32. package/lib/core/models/SNO/MConcurso.model.d.ts +58 -1
  33. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +19 -0
  34. package/lib/core/models/SNO/MFamiliares.model.d.ts +1 -0
  35. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +14 -0
  36. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +24 -0
  37. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +33 -0
  38. package/lib/core/models/SNO/MNominaSimple.model.d.ts +7 -3
  39. package/lib/core/models/SNO/MPeriodosPlan.model.d.ts +16 -0
  40. package/lib/core/models/SNO/MPersonal.model.d.ts +31 -1
  41. package/lib/core/models/SNO/MPrestamo.model.d.ts +66 -0
  42. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -1
  43. package/lib/core/models/SNO/MReportesRRHH.d.ts +130 -0
  44. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +1 -1
  45. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +1 -0
  46. package/package.json +1 -1
  47. package/public-api.d.ts +13 -7
  48. package/sigesp.d.ts +26 -25
  49. package/sigesp.metadata.json +1 -1
@@ -391,6 +391,9 @@ class MHojaTiempo extends MBasicModel {
391
391
  this.fechaHastaPeriodo = e.fechasper;
392
392
  this.codigoPeriodo = e.codperi;
393
393
  }
394
+ else {
395
+ this.isNew = true;
396
+ }
394
397
  }
395
398
  dataInterface() {
396
399
  return {
@@ -414,6 +417,47 @@ class MHojaTiempo extends MBasicModel {
414
417
  codperi: this.codigoPeriodo,
415
418
  };
416
419
  }
420
+ }
421
+ class MHorario extends MBasicModel {
422
+ constructor(e) {
423
+ super();
424
+ this.idEmpresa = 0;
425
+ this.idHora = 0;
426
+ this.codigoHorario = '';
427
+ this.denominacionHorario = '';
428
+ this.tipoHorario = 'F';
429
+ this.horaInicial = '0';
430
+ this.horaFinal = '0';
431
+ this.horasLaborales = '0';
432
+ this.horaDescanco = '0';
433
+ if (e) {
434
+ this.idEmpresa = +e.id_empresa;
435
+ this.idHora = +e.id_hora;
436
+ this.codigoHorario = e.codhor;
437
+ this.denominacionHorario = e.denhor;
438
+ this.tipoHorario = e.tiphor;
439
+ this.horaInicial = e.horini;
440
+ this.horaFinal = e.horfin;
441
+ this.horasLaborales = e.horlab;
442
+ this.horaDescanco = e.hordes;
443
+ }
444
+ else {
445
+ this.isNew = true;
446
+ }
447
+ }
448
+ dataInterface() {
449
+ return {
450
+ id_empresa: this.idEmpresa,
451
+ id_hora: this.idHora,
452
+ codhor: this.codigoHorario,
453
+ denhor: this.denominacionHorario,
454
+ tiphor: this.tipoHorario,
455
+ horini: this.horaInicial,
456
+ horfin: this.horaFinal,
457
+ horlab: this.horasLaborales,
458
+ hordes: this.horaDescanco,
459
+ };
460
+ }
417
461
  }
418
462
 
419
463
  class MUsuario {
@@ -3739,10 +3783,11 @@ class MCargosNominas extends MBasicModel {
3739
3783
  }
3740
3784
  }
3741
3785
 
3742
- class MNominaSimple$1 {
3786
+ class MNominaSimple$1 extends MBasicModel {
3743
3787
  constructor(e = null) {
3788
+ super();
3744
3789
  this.idEmpresa = 0;
3745
- this.idNnomina = 0;
3790
+ this.idNomina = 0;
3746
3791
  this.codigoNomina = '';
3747
3792
  this.denominacioNomina = '';
3748
3793
  this.idPeriodoActual = 0;
@@ -3757,11 +3802,14 @@ class MNominaSimple$1 {
3757
3802
  this.nominaRac = 0;
3758
3803
  this.simbolo = '';
3759
3804
  this.color = '';
3760
- this.periodoActualNomina = '';
3805
+ this.estatusPersonal = 0;
3806
+ this.denominacionEstatuspersonal = '';
3761
3807
  this.descripcionPeriodoNomina = '';
3808
+ this.periodoActualNomina = '';
3809
+ this.editable = false;
3762
3810
  if (e) {
3763
3811
  this.idEmpresa = parseInt(e.id_empresa);
3764
- this.idNnomina = parseInt(e.id_nomina);
3812
+ this.idNomina = parseInt(e.id_nomina);
3765
3813
  this.codigoNomina = e.codnom;
3766
3814
  this.denominacioNomina = e.dennom;
3767
3815
  this.idPeriodoActual = +e.id_periodoactual;
@@ -3771,20 +3819,30 @@ class MNominaSimple$1 {
3771
3819
  this.prenomina = e.prenomina == '1' ? true : false;
3772
3820
  this.estatus = this.calculada ? 'Calculada' :
3773
3821
  !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
3822
+ this.editable = (this.calculada || this.prenomina) ? false : true;
3774
3823
  this.idCargo = parseInt(e.id_carper);
3775
3824
  this.codigoCargo = e.codcar;
3776
3825
  this.denominacionCargo = e.descar;
3777
3826
  this.nominaRac = parseInt(e.racnom);
3778
3827
  this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
3779
3828
  this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
3829
+ this.estatusPersonal = parseInt(e.staper);
3830
+ this.estatusPersonal == 0 ? this.denominacionEstatuspersonal = "NO ASIGNADO" :
3831
+ this.estatusPersonal == 1 ? this.denominacionEstatuspersonal = "ACTIVO" :
3832
+ this.estatusPersonal == 2 ? this.denominacionEstatuspersonal = "VACACIONES" :
3833
+ this.estatusPersonal == 3 ? this.denominacionEstatuspersonal = "EGRESADO" :
3834
+ this.denominacionEstatuspersonal = "SUSPENDIDO";
3780
3835
  this.descripcionPeriodoNomina = e.despernom;
3781
3836
  this.periodoActualNomina = e.peractnom;
3782
3837
  }
3838
+ else {
3839
+ this.isNew = true;
3840
+ }
3783
3841
  }
3784
3842
  dataInterface() {
3785
3843
  return {
3786
3844
  id_empresa: this.idEmpresa.toString(),
3787
- id_nomina: this.idNnomina.toString(),
3845
+ id_nomina: this.idNomina.toString(),
3788
3846
  id_carper: this.idCargo.toString(),
3789
3847
  };
3790
3848
  }
@@ -4112,6 +4170,95 @@ class MPersonal extends MBasicModel {
4112
4170
  despai_nac: this.nombrePaisNacimiento,
4113
4171
  };
4114
4172
  }
4173
+ }
4174
+ class MCambioEstatusPersonal extends MBasicModel {
4175
+ constructor(e = null) {
4176
+ super();
4177
+ this.idPersonal = 0;
4178
+ this.codigoPersonal = '';
4179
+ this.estatusActual = '2';
4180
+ this.estatusNuevo = '2';
4181
+ this.fechaEgreso = '';
4182
+ this.causaEgreso = '';
4183
+ this.preaviso = '1';
4184
+ this.idCausales = 0;
4185
+ this.observacion = '';
4186
+ this.fechaReingreso = '1900-01-01';
4187
+ if (e) {
4188
+ this.idPersonal = e.idPersonal;
4189
+ this.codigoPersonal = e.codigoPersonal;
4190
+ this.estatusActual = e.estatusActual;
4191
+ this.estatusNuevo = e.estatusNuevo;
4192
+ this.fechaEgreso = e.fechaEgreso;
4193
+ this.causaEgreso = e.causaEgreso;
4194
+ this.preaviso = e.preaviso;
4195
+ this.idCausales = e.idCausales;
4196
+ this.observacion = e.observacion;
4197
+ this.fechaReingreso = e.fechaReingreso;
4198
+ }
4199
+ }
4200
+ dataInterface() {
4201
+ return {
4202
+ idPersonal: this.idPersonal,
4203
+ codigoPersonal: this.codigoPersonal,
4204
+ estatusActual: this.estatusActual,
4205
+ estatusNuevo: this.estatusNuevo,
4206
+ fechaEgreso: this.fechaEgreso,
4207
+ causaEgreso: this.causaEgreso,
4208
+ preaviso: this.preaviso,
4209
+ idCausales: this.idCausales,
4210
+ observacion: this.observacion,
4211
+ fechaReingreso: this.fechaReingreso,
4212
+ };
4213
+ }
4214
+ }
4215
+ class MPersonalCuentaBanco extends MBasicModel {
4216
+ constructor(e) {
4217
+ super();
4218
+ this.idEmpresa = 0;
4219
+ this.idPersonal = 0;
4220
+ this.idCuentaBancoPersonal = -1;
4221
+ this.codigoCuentaBancoPersonal = '';
4222
+ this.denominacionCuentaBancoPersonal = '';
4223
+ this.idBanco = 0;
4224
+ this.idTipoCuentaBanco = 0;
4225
+ this.cuentaBancoPersonal = '';
4226
+ this.estatusCuentaBanco = '1';
4227
+ this.tipoCuentaPrincipal = '0';
4228
+ this.codigoBanco = '';
4229
+ this.cuentaReducida = '';
4230
+ if (e) {
4231
+ this.idEmpresa = parseInt(e.id_empresa);
4232
+ this.idPersonal = parseInt(e.id_personal);
4233
+ this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4234
+ this.codigoCuentaBancoPersonal = e.codctabanper;
4235
+ this.denominacionCuentaBancoPersonal = e.denctabanper;
4236
+ this.idBanco = parseInt(e.id_banco);
4237
+ this.idTipoCuentaBanco = parseInt(e.id_tipocta);
4238
+ this.cuentaBancoPersonal = e.ctabanper;
4239
+ this.estatusCuentaBanco = e.estctabco;
4240
+ this.tipoCuentaPrincipal = e.tipctapri;
4241
+ this.codigoBanco = this.cuentaBancoPersonal.substring(0, 4);
4242
+ this.cuentaReducida = this.cuentaBancoPersonal.slice(4);
4243
+ }
4244
+ else {
4245
+ this.isNew = true;
4246
+ }
4247
+ }
4248
+ dataInterface() {
4249
+ return {
4250
+ id_empresa: this.idEmpresa.toString(),
4251
+ id_personal: this.idPersonal.toString(),
4252
+ id_ctabanper: this.idCuentaBancoPersonal.toString(),
4253
+ codctabanper: this.codigoCuentaBancoPersonal,
4254
+ denctabanper: this.denominacionCuentaBancoPersonal,
4255
+ id_banco: this.idBanco.toString(),
4256
+ id_tipocta: this.idTipoCuentaBanco.toString(),
4257
+ ctabanper: this.cuentaBancoPersonal,
4258
+ estctabco: this.estatusCuentaBanco,
4259
+ tipctapri: this.tipoCuentaPrincipal,
4260
+ };
4261
+ }
4115
4262
  }
4116
4263
 
4117
4264
  class MDetaContable extends MBasicModel {
@@ -6891,6 +7038,42 @@ class MArchivoTxtCampo extends MBasicModel {
6891
7038
  }
6892
7039
  }
6893
7040
 
7041
+ class MArchivosTxt extends MBasicModel {
7042
+ constructor(e = null) {
7043
+ super();
7044
+ this.idEmpresa = 0;
7045
+ this.idArchivoTxt = 0;
7046
+ this.codigoArchivo = '';
7047
+ this.denominacionArchivo = '';
7048
+ this.tipoArchivo = 'I';
7049
+ this.acumularMonto = false;
7050
+ this.campos = [];
7051
+ if (e) {
7052
+ e.acumon == '1' ? this.acumularMonto = true : this.acumularMonto = false;
7053
+ this.idEmpresa = parseInt(e.id_empresa);
7054
+ this.idArchivoTxt = parseInt(e.id_archivotxt);
7055
+ this.codigoArchivo = e.codarch;
7056
+ this.denominacionArchivo = e.denarch;
7057
+ this.tipoArchivo = e.tiparch;
7058
+ this.campos = e.campos.map(e => new MArchivoTxtCampo(e));
7059
+ }
7060
+ else {
7061
+ this.isNew = true;
7062
+ }
7063
+ }
7064
+ dataInterface() {
7065
+ return {
7066
+ id_empresa: this.idEmpresa.toString(),
7067
+ id_archivotxt: this.idArchivoTxt.toString(),
7068
+ codarch: this.codigoArchivo,
7069
+ denarch: this.denominacionArchivo,
7070
+ tiparch: this.tipoArchivo,
7071
+ acumon: this.acumularMonto ? '1' : '0',
7072
+ campos: this.campos.map(function (e) { return e.dataInterface(); }),
7073
+ };
7074
+ }
7075
+ }
7076
+
6894
7077
  class MAspectoEvaluacion extends MBasicModel {
6895
7078
  constructor(e) {
6896
7079
  super();
@@ -6925,6 +7108,53 @@ class MAspectoEvaluacion extends MBasicModel {
6925
7108
  dentipeval: this.denominacionTipoEvaluacion,
6926
7109
  };
6927
7110
  }
7111
+ }
7112
+ class MItemsEvalucion extends MBasicModel {
7113
+ constructor(e = null) {
7114
+ super();
7115
+ this.idEmpresa = 0;
7116
+ this.idTipoEvaluacion = 0;
7117
+ this.idAspectoEvaluacion = 0;
7118
+ this.idItems = 0;
7119
+ this.codigoItems = '';
7120
+ this.denominacionItems = '';
7121
+ this.valorMaximo = 0;
7122
+ this.codigoTipoEvaluacion = '';
7123
+ this.denominacionTipoEvaluacion = '';
7124
+ this.codigoAspecto = '';
7125
+ this.denominacionAspecto = '';
7126
+ if (e) {
7127
+ this.idEmpresa = parseInt(e.id_empresa);
7128
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7129
+ this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7130
+ this.idItems = parseInt(e.id_item);
7131
+ this.codigoItems = e.codite;
7132
+ this.denominacionItems = e.denite;
7133
+ this.valorMaximo = e.valormax;
7134
+ this.codigoTipoEvaluacion = e.codtipeval;
7135
+ this.denominacionTipoEvaluacion = e.dentipeval;
7136
+ this.codigoAspecto = e.codasp;
7137
+ this.denominacionAspecto = e.denasp;
7138
+ }
7139
+ else {
7140
+ this.isNew = true;
7141
+ }
7142
+ }
7143
+ dataInterface() {
7144
+ return {
7145
+ id_empresa: this.idEmpresa.toString(),
7146
+ id_tipoeval: this.idTipoEvaluacion.toString(),
7147
+ id_aspecto: this.idAspectoEvaluacion.toString(),
7148
+ id_item: this.idItems.toString(),
7149
+ codite: this.codigoItems,
7150
+ denite: this.denominacionItems,
7151
+ valormax: this.valorMaximo,
7152
+ codasp: this.codigoAspecto,
7153
+ denasp: this.denominacionAspecto,
7154
+ codtipeval: this.codigoTipoEvaluacion,
7155
+ dentipeval: this.denominacionTipoEvaluacion,
7156
+ };
7157
+ }
6928
7158
  }
6929
7159
 
6930
7160
  class MBeneficiario extends MBasicModel {
@@ -7921,111 +8151,459 @@ class MTrabajosConcursantes extends MBasicModel {
7921
8151
  fecrettraant: this.fechaRetiro
7922
8152
  };
7923
8153
  }
7924
- }
7925
-
7926
- class MRequisitosConcursos extends MBasicModel {
7927
- constructor(e) {
8154
+ }
8155
+ class MEstudiosConcursantes extends MBasicModel {
8156
+ constructor(e = null) {
7928
8157
  super();
7929
8158
  this.idEmpresa = 0;
7930
8159
  this.idConcurso = 0;
7931
- this.idRequisito = 0;
7932
- this.codigoRequisito = '';
7933
- this.denominacionRequisito = '';
7934
- this.cantidadRequisito = 0;
7935
- this.requisitoIndispensable = 0;
8160
+ this.idConcursante = 0;
8161
+ this.idEstudio = 0;
8162
+ this.codigoEstudio = '';
8163
+ this.institutoEstudio = '';
8164
+ this.descripcionEstudio = '';
8165
+ this.fechaInicioEstudio = '';
8166
+ this.fechaFinEstudio = '';
8167
+ this.tituloObtenido = 0;
8168
+ this.yearAprobados = 0;
8169
+ this.horasEstudiosRealizadas = 0;
7936
8170
  if (e) {
7937
8171
  this.idEmpresa = parseInt(e.id_empresa);
7938
8172
  this.idConcurso = parseInt(e.id_concurso);
7939
- this.idRequisito = parseInt(e.id_reqcon);
7940
- this.codigoRequisito = e.codreqcon;
7941
- this.denominacionRequisito = e.denreqcon;
7942
- this.cantidadRequisito = parseInt(e.cantreq);
7943
- this.requisitoIndispensable = parseInt(e.reqindcon);
8173
+ this.idConcursante = parseInt(e.id_concursante);
8174
+ this.idEstudio = parseInt(e.id_estudiocon);
8175
+ this.codigoEstudio = e.codestrea;
8176
+ this.institutoEstudio = e.insestper;
8177
+ this.descripcionEstudio = e.desestper;
8178
+ this.fechaInicioEstudio = e.fecinireaest;
8179
+ this.fechaFinEstudio = e.fecfinestrea;
8180
+ this.tituloObtenido = parseInt(e.titestper);
8181
+ this.yearAprobados = parseInt(e.anoaprestper);
8182
+ this.horasEstudiosRealizadas = parseInt(e.horestrea);
8183
+ }
8184
+ else {
8185
+ this.isNew = true;
7944
8186
  }
7945
8187
  }
7946
8188
  dataInterface() {
7947
8189
  return {
7948
8190
  id_empresa: this.idEmpresa.toString(),
7949
8191
  id_concurso: this.idConcurso.toString(),
7950
- id_reqcon: this.idRequisito.toString(),
7951
- codreqcon: this.codigoRequisito,
7952
- denreqcon: this.denominacionRequisito,
7953
- cantreq: this.cantidadRequisito.toString(),
7954
- reqindcon: this.requisitoIndispensable.toString()
8192
+ id_concursante: this.idConcursante.toString(),
8193
+ id_estudiocon: this.idEstudio.toString(),
8194
+ codestrea: this.codigoEstudio,
8195
+ insestper: this.institutoEstudio,
8196
+ desestper: this.descripcionEstudio,
8197
+ fecinireaest: this.fechaInicioEstudio,
8198
+ fecfinestrea: this.fechaFinEstudio,
8199
+ titestper: this.tituloObtenido.toString(),
8200
+ anoaprestper: this.yearAprobados.toString(),
8201
+ horestrea: this.horasEstudiosRealizadas.toString(),
7955
8202
  };
7956
8203
  }
7957
- }
7958
-
7959
- class MConcurso extends MBasicModel {
8204
+ }
8205
+ class MExperienciaLaboral extends MBasicModel {
7960
8206
  constructor(e = null) {
7961
8207
  super();
7962
8208
  this.idEmpresa = 0;
7963
8209
  this.idConcurso = 0;
7964
- this.codigoConcurso = '';
7965
- this.denominacionConcurso = '';
7966
- this.fechaAperturaConcurso = '';
7967
- this.fechaCierreConcurso = '';
7968
- this.idCargo = 0;
7969
- this.codigoCargo = '';
7970
- this.denominacionCargo = '';
7971
- this.tipo = '';
7972
- this.cantidadCargos = 0;
7973
- this.estatusConcurso = '1';
7974
- this.denominacionEstatus = '';
7975
- this.detalleRequisitos = [];
7976
- this.eliminarDetalles = [];
8210
+ this.idConcursante = 0;
8211
+ this.idTrabajoConcursante = 0;
8212
+ this.codigoTrabajo = '';
8213
+ this.empresa = '';
8214
+ this.cargo = '';
8215
+ this.fechaIngreso = '';
8216
+ this.fechaRetiro = '';
7977
8217
  if (e) {
7978
8218
  this.idEmpresa = parseInt(e.id_empresa);
7979
- this.idConcurso = parseInt(e.id_concurso);
7980
- this.codigoConcurso = e.codcon;
7981
- this.denominacionConcurso = e.dencon;
7982
- this.fechaAperturaConcurso = e.fecapecon;
7983
- this.fechaCierreConcurso = e.fecciecon;
7984
- this.idCargo = parseInt(e.id_carper);
7985
- this.codigoCargo = e.codcar;
7986
- this.denominacionCargo = e.descar;
7987
- this.tipo = e.tipo;
7988
- this.cantidadCargos = parseInt(e.cantcar);
7989
- this.estatusConcurso = e.estcon;
7990
- this.denominacionEstatus = this.estatusConcurso == '1' ? 'Abierto' : 'Cerrado';
7991
- if (e.detalles_requisitos) {
7992
- this.detalleRequisitos = e.detalles_requisitos.map(e => new MRequisitosConcursos(e));
7993
- }
8219
+ this.idConcursante = parseInt(e.id_concurso);
8220
+ this.idConcursante = parseInt(e.id_concursante);
8221
+ this.idTrabajoConcursante = parseInt(e.id_trabajocon);
8222
+ this.codigoTrabajo = e.codtra;
8223
+ this.empresa = e.emptraper;
8224
+ this.cargo = e.cartraant;
8225
+ this.fechaIngreso = e.fecingtraant;
8226
+ this.fechaRetiro = e.fecrettraant;
8227
+ }
8228
+ else {
8229
+ this.isNew = true;
7994
8230
  }
7995
8231
  }
7996
8232
  dataInterface() {
7997
8233
  return {
7998
8234
  id_empresa: this.idEmpresa.toString(),
7999
8235
  id_concurso: this.idConcurso.toString(),
8000
- codcon: this.codigoConcurso,
8001
- dencon: this.denominacionConcurso,
8002
- fecapecon: this.fechaAperturaConcurso,
8003
- fecciecon: this.fechaCierreConcurso,
8004
- id_carper: this.idCargo.toString(),
8005
- codcar: this.codigoCargo,
8006
- descar: this.denominacionCargo,
8007
- tipo: this.tipo,
8008
- cantcar: this.cantidadCargos.toString(),
8009
- estcon: this.estatusConcurso,
8010
- detalles_requisitos: this.detalleRequisitos.map(function (e) { return e.dataInterface(); }),
8011
- eliminar_detalles: this.eliminarDetalles,
8236
+ id_concursante: this.idConcursante.toString(),
8237
+ id_trabajocon: this.idTrabajoConcursante.toString(),
8238
+ codtra: this.codigoTrabajo,
8239
+ emptraper: this.empresa,
8240
+ cartraant: this.cargo,
8241
+ fecingtraant: this.fechaIngreso,
8242
+ fecrettraant: this.fechaRetiro
8012
8243
  };
8013
8244
  }
8014
- }
8015
-
8016
- class MTipoPersonal extends MBasicModel {
8017
- constructor(e) {
8245
+ }
8246
+ class MFamiliaConcursante extends MBasicModel {
8247
+ constructor(e = null) {
8018
8248
  super();
8019
8249
  this.idEmpresa = 0;
8020
- this.idDedicacion = 0;
8021
- this.idTipoPersonal = 0;
8022
- this.idDtTipoPersonal = 0;
8023
- this.codigoTipoPersonal = '';
8024
- this.denominacionTipoPersonal = '';
8025
- if (e) {
8026
- this.idEmpresa = parseInt(e.id_empresa);
8027
- this.idDedicacion = parseInt(e.id_dedicacion);
8028
- this.idTipoPersonal = parseInt(e.id_tipopersonal);
8250
+ this.idConcurso = 0;
8251
+ this.idConcursante = 0;
8252
+ this.idFamiliar = 0;
8253
+ this.codigo = '';
8254
+ this.cedula = '';
8255
+ this.nombre = '';
8256
+ this.apellido = '';
8257
+ this.sexo = '';
8258
+ this.nexo = '';
8259
+ this.fecha = '';
8260
+ if (e) {
8261
+ this.idEmpresa = parseInt(e.id_empresa);
8262
+ this.idConcurso = parseInt(e.id_concurso);
8263
+ this.idConcursante = parseInt(e.id_concursante);
8264
+ this.idFamiliar = parseInt(e.id_familiacon);
8265
+ this.codigo = e.codfam;
8266
+ this.cedula = e.cedfam;
8267
+ this.nombre = e.nomfam;
8268
+ this.apellido = e.apefam;
8269
+ this.sexo = e.sexfam;
8270
+ this.nexo = e.nexfam;
8271
+ this.fecha = e.fecnacfam;
8272
+ }
8273
+ else {
8274
+ this.isNew = true;
8275
+ }
8276
+ }
8277
+ dataInterface() {
8278
+ return {
8279
+ id_empresa: this.idEmpresa.toString(),
8280
+ id_concurso: this.idConcurso.toString(),
8281
+ id_concursante: this.idConcursante.toString(),
8282
+ id_familiacon: this.idFamiliar.toString(),
8283
+ codfam: this.codigo,
8284
+ cedfam: this.cedula,
8285
+ nomfam: this.nombre,
8286
+ apefam: this.apellido,
8287
+ sexfam: this.sexo,
8288
+ nexfam: this.nexo,
8289
+ fecnacfam: this.fecha,
8290
+ };
8291
+ }
8292
+ }
8293
+ class MFormacionInformal extends MBasicModel {
8294
+ constructor(e = null) {
8295
+ super();
8296
+ this.idEmpresa = 0;
8297
+ this.idConcurso = 0;
8298
+ this.idConcursante = 0;
8299
+ this.idCurso = 0;
8300
+ this.codigoCurso = '';
8301
+ this.descripcionCurso = '';
8302
+ this.horasCurso = 0;
8303
+ if (e) {
8304
+ this.idEmpresa = parseInt(e.id_empresa);
8305
+ this.idConcursante = parseInt(e.id_concurso);
8306
+ this.idConcursante = parseInt(e.id_concursante);
8307
+ this.idCurso = parseInt(e.id_curso);
8308
+ this.codigoCurso = e.codcur;
8309
+ this.descripcionCurso = e.desestrea;
8310
+ this.horasCurso = parseInt(e.horestrea);
8311
+ }
8312
+ else {
8313
+ this.isNew = true;
8314
+ }
8315
+ }
8316
+ dataInterface() {
8317
+ return {
8318
+ id_empresa: this.idEmpresa.toString(),
8319
+ id_concurso: this.idConcurso.toString(),
8320
+ id_concursante: this.idConcurso.toString(),
8321
+ id_curso: this.idCurso.toString(),
8322
+ codcur: this.codigoCurso,
8323
+ desestrea: this.descripcionCurso,
8324
+ horestrea: this.horasCurso.toString()
8325
+ };
8326
+ }
8327
+ }
8328
+
8329
+ class MRequisitosConcursos extends MBasicModel {
8330
+ constructor(e) {
8331
+ super();
8332
+ this.idEmpresa = 0;
8333
+ this.idConcurso = 0;
8334
+ this.idRequisito = 0;
8335
+ this.codigoRequisito = '';
8336
+ this.denominacionRequisito = '';
8337
+ this.cantidadRequisito = 0;
8338
+ this.requisitoIndispensable = 0;
8339
+ if (e) {
8340
+ this.idEmpresa = parseInt(e.id_empresa);
8341
+ this.idConcurso = parseInt(e.id_concurso);
8342
+ this.idRequisito = parseInt(e.id_reqcon);
8343
+ this.codigoRequisito = e.codreqcon;
8344
+ this.denominacionRequisito = e.denreqcon;
8345
+ this.cantidadRequisito = parseInt(e.cantreq);
8346
+ this.requisitoIndispensable = parseInt(e.reqindcon);
8347
+ }
8348
+ }
8349
+ dataInterface() {
8350
+ return {
8351
+ id_empresa: this.idEmpresa.toString(),
8352
+ id_concurso: this.idConcurso.toString(),
8353
+ id_reqcon: this.idRequisito.toString(),
8354
+ codreqcon: this.codigoRequisito,
8355
+ denreqcon: this.denominacionRequisito,
8356
+ cantreq: this.cantidadRequisito.toString(),
8357
+ reqindcon: this.requisitoIndispensable.toString()
8358
+ };
8359
+ }
8360
+ }
8361
+
8362
+ class MConcurso extends MBasicModel {
8363
+ constructor(e = null) {
8364
+ super();
8365
+ this.idEmpresa = 0;
8366
+ this.idConcurso = 0;
8367
+ this.codigoConcurso = '';
8368
+ this.denominacionConcurso = '';
8369
+ this.fechaAperturaConcurso = '';
8370
+ this.fechaCierreConcurso = '';
8371
+ this.idCargo = 0;
8372
+ this.codigoCargo = '';
8373
+ this.denominacionCargo = '';
8374
+ this.tipo = '';
8375
+ this.cantidadCargos = 0;
8376
+ this.estatusConcurso = '1';
8377
+ this.denominacionEstatus = '';
8378
+ this.detalleRequisitos = [];
8379
+ this.eliminarDetalles = [];
8380
+ if (e) {
8381
+ this.idEmpresa = parseInt(e.id_empresa);
8382
+ this.idConcurso = parseInt(e.id_concurso);
8383
+ this.codigoConcurso = e.codcon;
8384
+ this.denominacionConcurso = e.dencon;
8385
+ this.fechaAperturaConcurso = e.fecapecon;
8386
+ this.fechaCierreConcurso = e.fecciecon;
8387
+ this.idCargo = parseInt(e.id_carper);
8388
+ this.codigoCargo = e.codcar;
8389
+ this.denominacionCargo = e.descar;
8390
+ this.tipo = e.tipo;
8391
+ this.cantidadCargos = parseInt(e.cantcar);
8392
+ this.estatusConcurso = e.estcon;
8393
+ this.denominacionEstatus = this.estatusConcurso == '1' ? 'Abierto' : 'Cerrado';
8394
+ if (e.detalles_requisitos) {
8395
+ this.detalleRequisitos = e.detalles_requisitos.map(e => new MRequisitosConcursos(e));
8396
+ }
8397
+ }
8398
+ }
8399
+ dataInterface() {
8400
+ return {
8401
+ id_empresa: this.idEmpresa.toString(),
8402
+ id_concurso: this.idConcurso.toString(),
8403
+ codcon: this.codigoConcurso,
8404
+ dencon: this.denominacionConcurso,
8405
+ fecapecon: this.fechaAperturaConcurso,
8406
+ fecciecon: this.fechaCierreConcurso,
8407
+ id_carper: this.idCargo.toString(),
8408
+ codcar: this.codigoCargo,
8409
+ descar: this.denominacionCargo,
8410
+ tipo: this.tipo,
8411
+ cantcar: this.cantidadCargos.toString(),
8412
+ estcon: this.estatusConcurso,
8413
+ detalles_requisitos: this.detalleRequisitos.map(function (e) { return e.dataInterface(); }),
8414
+ eliminar_detalles: this.eliminarDetalles,
8415
+ };
8416
+ }
8417
+ }
8418
+ class MPrevioEvaluacion extends MBasicModel {
8419
+ constructor(e = null) {
8420
+ super();
8421
+ this.idEmpresa = 0;
8422
+ this.idPrevio = 0;
8423
+ this.proceso = '';
8424
+ this.idConcurso = 0;
8425
+ this.codigoConcurso = '';
8426
+ this.nombreConcurso = '';
8427
+ this.idConcursante = 0;
8428
+ this.codigoConcursante = '';
8429
+ this.nombreConcursante = '';
8430
+ this.idTipoEvaluacion = 0;
8431
+ this.codigoTipoEvaluacion = '';
8432
+ this.nombreTipoEvaluacion = '';
8433
+ this.fechaRegistro = '';
8434
+ this.valorMinimoRequerido = 0;
8435
+ this.usuarioRegistro = '';
8436
+ this.horaRegistro = '';
8437
+ this.estatusRegistro = 0;
8438
+ this.detallesRegistro = [];
8439
+ if (e) {
8440
+ this.idEmpresa = parseInt(e.id_empresa);
8441
+ this.idPrevio = parseInt(e.id_previo);
8442
+ this.proceso = e.proceso;
8443
+ this.idConcurso = parseInt(e.id_concurso);
8444
+ this.codigoConcurso = e.codcon,
8445
+ this.nombreConcurso = e.dencon,
8446
+ this.idConcursante = parseInt(e.id_concursante);
8447
+ this.codigoConcursante = e.cedper,
8448
+ this.nombreConcursante = e.nomper,
8449
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8450
+ this.codigoTipoEvaluacion = e.codtipeval;
8451
+ this.nombreTipoEvaluacion = e.dentipeval;
8452
+ this.fechaRegistro = e.fecha;
8453
+ this.valorMinimoRequerido = parseFloat(e.punreqmin);
8454
+ this.usuarioRegistro = e.usuario;
8455
+ this.horaRegistro = e.hora;
8456
+ this.estatusRegistro = parseInt(e.estatus);
8457
+ this.tipo = e.tipo;
8458
+ this.detallesRegistro = e.detalles.map(e => new MPrevioEvaluacionDt(e));
8459
+ }
8460
+ else {
8461
+ this.isNew = true;
8462
+ }
8463
+ }
8464
+ dataInterface() {
8465
+ return {
8466
+ id_empresa: this.idEmpresa.toString(),
8467
+ id_previo: this.idPrevio.toString(),
8468
+ proceso: this.proceso,
8469
+ id_concurso: this.idConcurso.toString(),
8470
+ codcon: this.codigoConcurso,
8471
+ dencon: this.nombreConcurso,
8472
+ id_concursante: this.idConcursante.toString(),
8473
+ cedper: this.codigoConcursante,
8474
+ nomper: this.nombreConcursante,
8475
+ id_tipoeval: this.idTipoEvaluacion.toString(),
8476
+ codtipeval: this.codigoTipoEvaluacion,
8477
+ dentipeval: this.nombreTipoEvaluacion,
8478
+ fecha: this.fechaRegistro,
8479
+ punreqmin: this.valorMinimoRequerido.toString(),
8480
+ usuario: this.usuarioRegistro,
8481
+ hora: this.horaRegistro,
8482
+ estatus: this.estatusRegistro.toString(),
8483
+ tipo: this.tipo,
8484
+ detalles: this.detallesRegistro.map(function (e) { return e.dataInterface(); })
8485
+ };
8486
+ }
8487
+ }
8488
+ class MPrevioEvaluacionDt extends MBasicModel {
8489
+ constructor(e = null) {
8490
+ super();
8491
+ this.idEmpresa = 0;
8492
+ this.idPrevio = 0;
8493
+ this.idAspecto = 0;
8494
+ this.idTipoEvaluacion = 0;
8495
+ this.idItem = 0;
8496
+ this.idDtPrevio = 0;
8497
+ this.codigo = '';
8498
+ this.descripcion = '';
8499
+ this.puntos = 0;
8500
+ this.valorMaximo = 0;
8501
+ if (e) {
8502
+ this.idEmpresa = parseInt(e.id_empresa);
8503
+ this.idPrevio = parseInt(e.id_previo);
8504
+ this.idAspecto = parseInt(e.id_aspecto);
8505
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8506
+ this.idItem = parseInt(e.id_item);
8507
+ this.idDtPrevio = parseInt(e.id_dt_previo);
8508
+ this.codigo = e.codite;
8509
+ this.descripcion = e.denite;
8510
+ this.puntos = parseInt(e.puntos);
8511
+ this.valorMaximo = parseInt(e.valormax);
8512
+ }
8513
+ else {
8514
+ this.isNew = true;
8515
+ }
8516
+ }
8517
+ dataInterface() {
8518
+ return {
8519
+ id_empresa: this.idEmpresa.toString(),
8520
+ id_previo: this.idPrevio.toString(),
8521
+ id_tipoeval: this.idTipoEvaluacion.toString(),
8522
+ id_aspecto: this.idAspecto.toString(),
8523
+ id_item: this.idItem.toString(),
8524
+ codite: this.codigo,
8525
+ denite: this.descripcion,
8526
+ puntos: this.puntos.toString(),
8527
+ valormax: this.valorMaximo.toString(),
8528
+ id_dt_previo: this.idDtPrevio.toString(),
8529
+ };
8530
+ }
8531
+ }
8532
+ class MResultadosEvaluacion extends MBasicModel {
8533
+ constructor(e) {
8534
+ super();
8535
+ this.idEmpresa = 0;
8536
+ this.idEvaluacion = 0;
8537
+ this.idConcurso = 0;
8538
+ this.codigoConcurso = '';
8539
+ this.nombreConcurso = '';
8540
+ this.idConcursante = 0;
8541
+ this.codigoConcursante = '';
8542
+ this.nombreConcursante = '';
8543
+ this.observacion = '';
8544
+ this.fechaRegistro = '';
8545
+ this.resultado_tec = 0;
8546
+ this.resultado_total = 0;
8547
+ this.resultado_psi = 0;
8548
+ this.resultado_rqm = 0;
8549
+ this.usuarioRegistro = '';
8550
+ if (e) {
8551
+ this.idEmpresa = parseInt(e.id_empresa);
8552
+ this.idEvaluacion = parseInt(e.id_evaluacion);
8553
+ this.idConcurso = parseInt(e.id_concurso);
8554
+ this.codigoConcurso = e.codcon,
8555
+ this.nombreConcurso = e.dencon,
8556
+ this.idConcursante = parseInt(e.id_concursante);
8557
+ this.codigoConcursante = e.cedper,
8558
+ this.nombreConcursante = e.nomper,
8559
+ this.observacion = e.observacion,
8560
+ this.fechaRegistro = e.fecha;
8561
+ this.usuarioRegistro = e.usuario;
8562
+ this.resultado_tec = parseFloat(e.resultado_tec);
8563
+ this.resultado_total = parseFloat(e.resultado_total);
8564
+ this.resultado_psi = parseFloat(e.resultado_psi);
8565
+ this.resultado_rqm = parseFloat(e.resultado_rqm);
8566
+ this.conclusion = e.conclusion;
8567
+ }
8568
+ else {
8569
+ this.isNew = true;
8570
+ }
8571
+ }
8572
+ dataInterface() {
8573
+ return {
8574
+ id_empresa: this.idEmpresa.toString(),
8575
+ id_evaluacion: this.idEvaluacion.toString(),
8576
+ id_concurso: this.idConcurso.toString(),
8577
+ codcon: this.codigoConcurso,
8578
+ dencon: this.nombreConcurso,
8579
+ id_concursante: this.idConcursante.toString(),
8580
+ cedper: this.codigoConcursante,
8581
+ nomper: this.nombreConcursante,
8582
+ observacion: this.observacion,
8583
+ fecha: this.fechaRegistro,
8584
+ usuario: this.usuarioRegistro,
8585
+ resultado_tec: this.resultado_tec.toString(),
8586
+ resultado_psi: this.resultado_psi.toString(),
8587
+ resultado_total: this.resultado_total.toString(),
8588
+ resultado_rqm: this.resultado_rqm.toString(),
8589
+ conclusion: this.conclusion,
8590
+ };
8591
+ }
8592
+ }
8593
+
8594
+ class MTipoPersonal extends MBasicModel {
8595
+ constructor(e) {
8596
+ super();
8597
+ this.idEmpresa = 0;
8598
+ this.idDedicacion = 0;
8599
+ this.idTipoPersonal = 0;
8600
+ this.idDtTipoPersonal = 0;
8601
+ this.codigoTipoPersonal = '';
8602
+ this.denominacionTipoPersonal = '';
8603
+ if (e) {
8604
+ this.idEmpresa = parseInt(e.id_empresa);
8605
+ this.idDedicacion = parseInt(e.id_dedicacion);
8606
+ this.idTipoPersonal = parseInt(e.id_tipopersonal);
8029
8607
  this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
8030
8608
  this.codigoTipoPersonal = e.codtipper;
8031
8609
  this.denominacionTipoPersonal = e.dentipper;
@@ -8230,6 +8808,25 @@ class MEstructuraOrganizativa extends MBasicModel {
8230
8808
  this.idEp4 = 0;
8231
8809
  this.idEp5 = 0;
8232
8810
  this.codigoPadre = '';
8811
+ this.codigoPais = '000058';
8812
+ this.nombrePais = 'Venezuela';
8813
+ this.codigoEstado = '';
8814
+ this.nombreEstado = '';
8815
+ this.codigoMunicipio = '';
8816
+ this.nombreMunicipio = '';
8817
+ this.codigoParroquia = '';
8818
+ this.nombreParroquia = '';
8819
+ this.estatusmpppe = 0;
8820
+ this.ubicacionBolivariana = 0;
8821
+ this.ubicacionFrontera = 0;
8822
+ this.ubicacionIndigena = 0;
8823
+ this.ubicacionInsular = 0;
8824
+ this.ubicacionMarginal = 0;
8825
+ this.ubicacionNocturno = 0;
8826
+ this.ubicacionPlanta = 0;
8827
+ this.ubicacionRobinson = 0;
8828
+ this.ubicacionZona = 0;
8829
+ this.ubicacionNoAplica = 0;
8233
8830
  if (e) {
8234
8831
  this.idEmpresa = parseInt(e.id_empresa);
8235
8832
  this.idOrganigrama = parseInt(e.id_organigrama);
@@ -8244,10 +8841,29 @@ class MEstructuraOrganizativa extends MBasicModel {
8244
8841
  this.idEp4 = parseInt(e.id_ep4);
8245
8842
  this.idEp5 = parseInt(e.id_ep5);
8246
8843
  this.codigoPadre = e.codpadre;
8247
- }
8248
- }
8249
- dataInterface() {
8250
- return {
8844
+ this.codigoPais = e.codpai;
8845
+ this.nombrePais = e.despai;
8846
+ this.codigoEstado = e.codest;
8847
+ this.nombreEstado = e.desest;
8848
+ this.codigoMunicipio = e.codmun;
8849
+ this.nombreMunicipio = e.desmun;
8850
+ this.codigoParroquia = e.codpar;
8851
+ this.nombreParroquia = e.despar;
8852
+ this.estatusmpppe = e.estmpppe;
8853
+ this.ubicacionBolivariana = e.ubibolivariana;
8854
+ this.ubicacionFrontera = e.ubifrontera;
8855
+ this.ubicacionIndigena = e.ubiindigena;
8856
+ this.ubicacionInsular = e.ubiinsular;
8857
+ this.ubicacionMarginal = e.ubimarginal;
8858
+ this.ubicacionNocturno = e.ubinocturno;
8859
+ this.ubicacionPlanta = e.ubiplanta;
8860
+ this.ubicacionRobinson = e.ubirobinson;
8861
+ this.ubicacionZona = e.ubizona;
8862
+ this.ubicacionNoAplica = e.ubinoaplica;
8863
+ }
8864
+ }
8865
+ dataInterface() {
8866
+ return {
8251
8867
  id_empresa: this.idEmpresa.toString(),
8252
8868
  id_organigrama: this.idOrganigrama.toString(),
8253
8869
  codestorg: this.codigoEstructuraOrganizativa,
@@ -8261,6 +8877,25 @@ class MEstructuraOrganizativa extends MBasicModel {
8261
8877
  id_ep4: this.idEp4.toString(),
8262
8878
  id_ep5: this.idEp5.toString(),
8263
8879
  codpadre: this.codigoPadre,
8880
+ codpai: this.codigoPais,
8881
+ despai: this.nombrePais,
8882
+ codest: this.codigoEstado,
8883
+ desest: this.nombreEstado,
8884
+ codmun: this.codigoMunicipio,
8885
+ desmun: this.nombreMunicipio,
8886
+ codpar: this.codigoParroquia,
8887
+ despar: this.nombreParroquia,
8888
+ estmpppe: this.estatusmpppe,
8889
+ ubibolivariana: this.ubicacionBolivariana,
8890
+ ubifrontera: this.ubicacionFrontera,
8891
+ ubiindigena: this.ubicacionIndigena,
8892
+ ubiinsular: this.ubicacionInsular,
8893
+ ubimarginal: this.ubicacionMarginal,
8894
+ ubinocturno: this.ubicacionNocturno,
8895
+ ubiplanta: this.ubicacionPlanta,
8896
+ ubirobinson: this.ubicacionRobinson,
8897
+ ubizona: this.ubicacionZona,
8898
+ ubinoaplica: this.ubicacionNoAplica
8264
8899
  };
8265
8900
  }
8266
8901
  }
@@ -8287,6 +8922,7 @@ class MFamiliares extends MBasicModel {
8287
8922
  this.codigoFamiliar = '';
8288
8923
  this.direccionFamiliar = '';
8289
8924
  this.telefonoFamiliar = '';
8925
+ this.hijoDiscapacidad = '0';
8290
8926
  if (e) {
8291
8927
  this.idEmpresa = parseInt(e.id_empresa);
8292
8928
  this.idPersonal = parseInt(e.id_personal);
@@ -8307,6 +8943,10 @@ class MFamiliares extends MBasicModel {
8307
8943
  this.codigoFamiliar = e.codfam;
8308
8944
  this.direccionFamiliar = e.dirfam;
8309
8945
  this.telefonoFamiliar = e.telfam;
8946
+ this.hijoDiscapacidad = e.hijodiscapacitado;
8947
+ }
8948
+ else {
8949
+ this.isNew = true;
8310
8950
  }
8311
8951
  }
8312
8952
  dataInterface() {
@@ -8330,6 +8970,7 @@ class MFamiliares extends MBasicModel {
8330
8970
  codfam: this.codigoFamiliar,
8331
8971
  dirfam: this.direccionFamiliar,
8332
8972
  telfam: this.telefonoFamiliar,
8973
+ hijodiscapacitado: this.hijoDiscapacidad,
8333
8974
  };
8334
8975
  }
8335
8976
  }
@@ -8819,7 +9460,6 @@ class MPrimaGrados extends MBasicModel {
8819
9460
  this.descripcionPrima = '';
8820
9461
  this.montoPrima = 0;
8821
9462
  this.IdDetallePrima = 0;
8822
- this.isNew = true;
8823
9463
  if (e) {
8824
9464
  this.idEmpresa = parseInt(e.id_empresa);
8825
9465
  this.idTabulador = parseInt(e.id_tabulador);
@@ -8829,7 +9469,6 @@ class MPrimaGrados extends MBasicModel {
8829
9469
  this.descripcionPrima = e.despri;
8830
9470
  this.montoPrima = parseInt(e.monpri);
8831
9471
  this.IdDetallePrima = parseInt(e.id_dt_prima);
8832
- this.isNew = false;
8833
9472
  }
8834
9473
  else {
8835
9474
  this.isNew = true;
@@ -8930,7 +9569,7 @@ class MPrimasConcepto extends MBasicModel {
8930
9569
  }
8931
9570
  }
8932
9571
 
8933
- class MRequisitosConcursante extends MBasicModel {
9572
+ class MRequisitosConcursantes extends MBasicModel {
8934
9573
  constructor(e = null) {
8935
9574
  super();
8936
9575
  this.idEmpresa = 0;
@@ -9687,6 +10326,7 @@ class MVacacionesPersonal extends MBasicModel {
9687
10326
  this.codigoUsuario = '';
9688
10327
  this.diaVacacionesCalendario = 0;
9689
10328
  this.diasHabiles = 0;
10329
+ this.procesarFueraPeriodo = 0;
9690
10330
  if (e) {
9691
10331
  this.idEmpresa = parseInt(e.id_empresa);
9692
10332
  this.idPersonal = parseInt(e.id_personal);
@@ -9720,6 +10360,7 @@ class MVacacionesPersonal extends MBasicModel {
9720
10360
  this.codigoUsuario = (e.codusu);
9721
10361
  this.diaVacacionesCalendario = parseInt(e.diavaccal);
9722
10362
  this.diasHabiles = parseInt(e.diahab);
10363
+ this.procesarFueraPeriodo = parseInt(e.profueper);
9723
10364
  }
9724
10365
  }
9725
10366
  dataInterface() {
@@ -9756,6 +10397,7 @@ class MVacacionesPersonal extends MBasicModel {
9756
10397
  codusu: this.codigoUsuario,
9757
10398
  diavaccal: this.diaVacacionesCalendario.toString(),
9758
10399
  diahab: this.diasHabiles.toString(),
10400
+ profueper: this.procesarFueraPeriodo.toString(),
9759
10401
  };
9760
10402
  }
9761
10403
  }
@@ -10097,6 +10739,830 @@ class MPlantillasConstancia extends MBasicModel {
10097
10739
  }
10098
10740
  }
10099
10741
 
10742
+ class MImpuestoSobreRenta extends MBasicModel {
10743
+ constructor(e) {
10744
+ super();
10745
+ this.idEmpresa = 0;
10746
+ this.idPersonal = 0;
10747
+ this.idImpuestoSobreRenta = 0;
10748
+ this.porcentajeIsr = 0;
10749
+ this.idConcepto = 0;
10750
+ this.enero = 0;
10751
+ this.febrero = 0;
10752
+ this.marzo = 0;
10753
+ this.abril = 0;
10754
+ this.mayo = 0;
10755
+ this.junio = 0;
10756
+ this.julio = 0;
10757
+ this.agosto = 0;
10758
+ this.septiembre = 0;
10759
+ this.octubre = 0;
10760
+ this.noviembre = 0;
10761
+ this.diciembre = 0;
10762
+ this.denominacionConcepto = '';
10763
+ if (e) {
10764
+ this.idEmpresa = +e.id_empresa;
10765
+ this.idPersonal = +e.id_personal;
10766
+ this.idImpuestoSobreRenta = +e.id_isr;
10767
+ this.porcentajeIsr = +e.porisr;
10768
+ this.idConcepto = +e.id_conret;
10769
+ this.enero = +e.enero;
10770
+ this.febrero = +e.febrero;
10771
+ this.marzo = +e.marzo;
10772
+ this.abril = +e.abril;
10773
+ this.mayo = +e.mayo;
10774
+ this.junio = +e.junio;
10775
+ this.julio = +e.julio;
10776
+ this.agosto = +e.agosto;
10777
+ this.septiembre = +e.septiembre;
10778
+ this.octubre = +e.octubre;
10779
+ this.noviembre = +e.noviembre;
10780
+ this.diciembre = +e.diciembre;
10781
+ this.denominacionConcepto = e.desact;
10782
+ }
10783
+ else {
10784
+ this.isNew = true;
10785
+ }
10786
+ }
10787
+ dataInterface() {
10788
+ return {
10789
+ id_empresa: this.idEmpresa,
10790
+ id_personal: this.idPersonal,
10791
+ id_isr: this.idImpuestoSobreRenta,
10792
+ porisr: this.porcentajeIsr,
10793
+ id_conret: this.idConcepto,
10794
+ enero: this.enero,
10795
+ febrero: this.febrero,
10796
+ marzo: this.marzo,
10797
+ abril: this.abril,
10798
+ mayo: this.mayo,
10799
+ junio: this.junio,
10800
+ julio: this.julio,
10801
+ agosto: this.agosto,
10802
+ septiembre: this.septiembre,
10803
+ octubre: this.octubre,
10804
+ noviembre: this.noviembre,
10805
+ diciembre: this.diciembre,
10806
+ desact: this.denominacionConcepto
10807
+ };
10808
+ }
10809
+ }
10810
+
10811
+ class MMetodoBanco extends MBasicModel {
10812
+ constructor(e = null) {
10813
+ super();
10814
+ this.idEmpresa = 0;
10815
+ this.idMetodoBanco = 0;
10816
+ this.id = 0;
10817
+ this.codigoMetodo = '';
10818
+ this.denominacionMetodo = '';
10819
+ this.tipoMetodo = '';
10820
+ this.codigoEmpresaNominal = '';
10821
+ this.tipoCuentaCreditoNominal = '';
10822
+ this.tipoCuentaDebitoNominal = '';
10823
+ this.codigoOficinaNomina = '';
10824
+ this.pagoTaquillaNomina = 0;
10825
+ this.numeroReferencia = 0;
10826
+ this.numeroConvenio = '';
10827
+ this.activo = 0;
10828
+ if (e) {
10829
+ this.idEmpresa = parseInt(e.id_empresa);
10830
+ this.idMetodoBanco = parseInt(e.id_metbco);
10831
+ this.codigoMetodo = e.codmet;
10832
+ this.denominacionMetodo = e.denmet;
10833
+ this.tipoMetodo = e.tipmet;
10834
+ this.id = parseInt(e.id_banco);
10835
+ this.codigoEmpresaNominal = e.codempnom;
10836
+ this.tipoCuentaCreditoNominal = e.tipcuecrenom;
10837
+ this.tipoCuentaDebitoNominal = e.tipcuedebnom;
10838
+ this.codigoOficinaNomina = e.codofinom;
10839
+ this.pagoTaquillaNomina = parseInt(e.pagtaqnom);
10840
+ this.numeroReferencia = parseInt(e.nroref);
10841
+ this.activo = parseInt(e.activo);
10842
+ this.numeroConvenio = e.numconnom;
10843
+ }
10844
+ else {
10845
+ this.isNew = true;
10846
+ }
10847
+ }
10848
+ dataInterface() {
10849
+ return {
10850
+ id_empresa: this.idEmpresa.toString(),
10851
+ id_metbco: this.idMetodoBanco.toString(),
10852
+ codmet: this.codigoMetodo,
10853
+ denmet: this.denominacionMetodo,
10854
+ tipmet: this.tipoMetodo,
10855
+ id_banco: this.id.toString(),
10856
+ codempnom: this.codigoEmpresaNominal,
10857
+ tipcuecrenom: this.tipoCuentaCreditoNominal,
10858
+ tipcuedebnom: this.tipoCuentaDebitoNominal,
10859
+ codofinom: this.codigoOficinaNomina,
10860
+ pagtaqnom: this.pagoTaquillaNomina.toString(),
10861
+ nroref: this.numeroReferencia.toString(),
10862
+ activo: this.activo.toString(),
10863
+ numconnom: this.numeroConvenio,
10864
+ };
10865
+ }
10866
+ }
10867
+ class MMetodos extends MBasicModel {
10868
+ constructor(e = null) {
10869
+ super();
10870
+ this.idEmpresa = 0;
10871
+ this.idMetodo = 0;
10872
+ this.codigoMetodo = '';
10873
+ this.denominacionMetodo = '';
10874
+ this.montoMetodo = 0;
10875
+ this.metodoCestaTicket = '';
10876
+ this.codigoProducto = '';
10877
+ this.montoDescuentoDia = 0;
10878
+ this.numeroTarjeta = '';
10879
+ if (e) {
10880
+ this.idEmpresa = parseInt(e.id_empresa);
10881
+ this.idMetodo = parseInt(e.id_metodo);
10882
+ this.codigoMetodo = e.codmet;
10883
+ this.denominacionMetodo = e.denmet;
10884
+ this.montoMetodo = +e.monmet;
10885
+ this.metodoCestaTicket = e.metcestic;
10886
+ this.codigoProducto = e.codprod;
10887
+ this.montoDescuentoDia = +e.mondesdia;
10888
+ this.numeroTarjeta = e.nrotarjeta;
10889
+ }
10890
+ else {
10891
+ this.isNew = true;
10892
+ }
10893
+ }
10894
+ dataInterface() {
10895
+ return {
10896
+ id_empresa: this.idEmpresa.toString(),
10897
+ id_metodo: this.idMetodo.toString(),
10898
+ codmet: this.codigoMetodo,
10899
+ denmet: this.denominacionMetodo,
10900
+ monmet: this.montoMetodo,
10901
+ metcestic: this.metodoCestaTicket,
10902
+ codprod: this.codigoProducto,
10903
+ mondesdia: this.montoDescuentoDia,
10904
+ nrotarjeta: this.numeroTarjeta,
10905
+ };
10906
+ }
10907
+ }
10908
+
10909
+ class MPeriodosPlan extends MBasicModel {
10910
+ constructor(e = null) {
10911
+ super();
10912
+ this.idEmpresa = 0;
10913
+ this.idPlanHorario = 0;
10914
+ this.codigoPeriodoPlan = '';
10915
+ this.denominacionPeriodoPlan = '';
10916
+ this.fechaPeriodoPlan = '1900-01-01';
10917
+ this.idPeriodo = 0;
10918
+ this.codigoPeriodo = '';
10919
+ this.idHorario = 0;
10920
+ this.incidencias = '';
10921
+ this.idDetalle = 0;
10922
+ if (e) {
10923
+ this.idEmpresa = +e.id_empresa;
10924
+ this.idPlanHorario = +e.id_planhor;
10925
+ this.codigoPeriodo = e.codperplan;
10926
+ this.denominacionPeriodoPlan = e.denperplan;
10927
+ this.fechaPeriodoPlan = e.fecperplan;
10928
+ this.idPeriodo = +e.id_periodo;
10929
+ this.codigoPeriodo = e.codperi;
10930
+ this.idHorario = +e.id_hora;
10931
+ this.incidencias = e.incidencias;
10932
+ this.idDetalle = +e.id_detalle;
10933
+ }
10934
+ else {
10935
+ this.isNew = true;
10936
+ }
10937
+ }
10938
+ dataInterface() {
10939
+ return {
10940
+ id_empresa: this.idEmpresa.toString(),
10941
+ id_planhor: this.idPlanHorario.toString(),
10942
+ codperplan: this.codigoPeriodoPlan,
10943
+ denperplan: this.denominacionPeriodoPlan,
10944
+ fecperplan: this.fechaPeriodoPlan,
10945
+ id_periodo: this.idPeriodo.toString(),
10946
+ codperi: this.codigoPeriodo,
10947
+ id_hora: this.idHorario.toString(),
10948
+ incidencias: this.incidencias,
10949
+ id_detalle: this.idDetalle.toString(),
10950
+ };
10951
+ }
10952
+ }
10953
+
10954
+ class MPrestamo extends MBasicModel {
10955
+ constructor(e = null) {
10956
+ super();
10957
+ this.idEmpresa = 0;
10958
+ this.idPersonal = 0;
10959
+ this.idPrestamo = 0;
10960
+ this.numeroPrestamo = 0;
10961
+ this.idTipoPrestamo = 0;
10962
+ this.idNomina = 0;
10963
+ this.idConcepto = 0;
10964
+ this.montoPrestamo = 0;
10965
+ this.numeroCuotasPrestamo = 0;
10966
+ this.idPeriodo = 0;
10967
+ this.motoAmortizacionPrestamo = 0;
10968
+ this.estatusPrestamo = 1;
10969
+ this.fechaPrestamo = '1900-01-01';
10970
+ this.observacionRecalculoPrestamo = '';
10971
+ this.observacionSuspencionPrestamo = '';
10972
+ this.tipoCuota = '0';
10973
+ this.denominacionTipoPrestamo = '';
10974
+ this.codigoTipoPrestamo = '';
10975
+ this.denominacionNomina = '';
10976
+ this.codigoNomina = '';
10977
+ this.denominacionConcepto = '';
10978
+ this.codigoConcepto = '';
10979
+ this.codigoPeriodo = '';
10980
+ this.fechaFinPeriodo = '1900-01-01';
10981
+ this.montoCuotaPrestamo = 0;
10982
+ this.saldoPrestamo = 0;
10983
+ this.numeroPeriodoNomina = 0;
10984
+ this.periodos = [];
10985
+ this.amortizacion = [];
10986
+ if (e) {
10987
+ this.idEmpresa = +e.id_empresa;
10988
+ this.idPrestamo = +e.id_prestamo;
10989
+ this.idPersonal = +e.id_personal;
10990
+ this.numeroPrestamo = +e.numpre;
10991
+ this.idTipoPrestamo = +e.id_tipoprestamo;
10992
+ this.idNomina = +e.id_nomina;
10993
+ this.idConcepto = +e.id_concepto;
10994
+ this.montoPrestamo = +e.monpre;
10995
+ this.numeroCuotasPrestamo = +e.numcuopre;
10996
+ this.idPeriodo = +e.id_periodo;
10997
+ this.motoAmortizacionPrestamo = +e.monamopre;
10998
+ this.estatusPrestamo = +e.estpre;
10999
+ this.fechaPrestamo = e.fecpre;
11000
+ this.observacionRecalculoPrestamo = e.obsrecpre;
11001
+ this.observacionSuspencionPrestamo = e.obssuspre;
11002
+ this.tipoCuota = e.tipcuopre;
11003
+ this.denominacionTipoPrestamo = e.destippre;
11004
+ this.codigoTipoPrestamo = e.codtippre;
11005
+ this.denominacionNomina = e.dennom;
11006
+ this.codigoNomina = e.codnom;
11007
+ this.denominacionConcepto = e.nomcon;
11008
+ this.codigoConcepto = e.codconc;
11009
+ this.codigoPeriodo = e.codperi;
11010
+ this.fechaFinPeriodo = e.fechasper;
11011
+ this.numeroPeriodoNomina = +e.numpernom;
11012
+ this.periodos = e.periodos.map(e => new MPrestamosPeriodo(e));
11013
+ this.amortizacion = e.amortizacion.map(e => new MPrestamoAmortizacion(e));
11014
+ this.montoCuotaPrestamo = this.calcularCuotas();
11015
+ this.saldoPrestamo = this.calcularSaldo();
11016
+ }
11017
+ else {
11018
+ this.isNew = true;
11019
+ }
11020
+ }
11021
+ dataInterface() {
11022
+ return {
11023
+ id_empresa: this.idEmpresa,
11024
+ id_personal: this.idPersonal,
11025
+ id_prestamo: this.idPrestamo,
11026
+ numpre: this.numeroPrestamo,
11027
+ id_tipoprestamo: this.idTipoPrestamo,
11028
+ id_nomina: this.idNomina,
11029
+ id_concepto: this.idConcepto,
11030
+ monpre: this.montoPrestamo,
11031
+ numcuopre: this.numeroCuotasPrestamo,
11032
+ id_periodo: this.idPeriodo,
11033
+ monamopre: this.motoAmortizacionPrestamo,
11034
+ estpre: this.estatusPrestamo,
11035
+ fecpre: this.fechaPrestamo,
11036
+ obsrecpre: this.observacionRecalculoPrestamo,
11037
+ obssuspre: this.observacionSuspencionPrestamo,
11038
+ tipcuopre: this.tipoCuota,
11039
+ dennom: this.denominacionNomina,
11040
+ codnom: this.codigoNomina,
11041
+ destippre: this.denominacionTipoPrestamo,
11042
+ codtippre: this.codigoTipoPrestamo,
11043
+ nomcon: this.denominacionConcepto,
11044
+ codconc: this.codigoConcepto,
11045
+ codperi: this.codigoPeriodo,
11046
+ fechasper: this.fechaFinPeriodo,
11047
+ numpernom: this.numeroPeriodoNomina,
11048
+ periodos: this.periodos.map((function (e) { return e.dataInterface(); })),
11049
+ amortizacion: this.amortizacion.map((function (e) { return e.dataInterface(); }))
11050
+ };
11051
+ }
11052
+ calcularCuotas() {
11053
+ let i = this.periodos.length - 1;
11054
+ if (i > 0) {
11055
+ return this.periodos[i].montoCuota;
11056
+ }
11057
+ return 0;
11058
+ }
11059
+ calcularSaldo() {
11060
+ let montoPago = 0;
11061
+ this.periodos.forEach(element => {
11062
+ if (element.estatusCuota == 1) {
11063
+ montoPago = montoPago + element.montoCuota;
11064
+ }
11065
+ });
11066
+ return this.montoPrestamo - this.motoAmortizacionPrestamo - montoPago;
11067
+ }
11068
+ cuotasCanceladas() {
11069
+ let cuotas = 0;
11070
+ this.periodos.forEach(element => {
11071
+ if (element.estatusCuota == 1) {
11072
+ cuotas = cuotas + 1;
11073
+ }
11074
+ });
11075
+ return cuotas;
11076
+ }
11077
+ }
11078
+ class MPrestamosPeriodo extends MBasicModel {
11079
+ constructor(e) {
11080
+ super();
11081
+ this.idEmpresa = 0;
11082
+ this.idPersonal = 0;
11083
+ this.idPrestamo = 0;
11084
+ this.numeroCuota = 0;
11085
+ this.idPeriodo = 0;
11086
+ this.fechaInicioPeriodo = '';
11087
+ this.fechaFinPeriodo = '';
11088
+ this.montoCuota = 0;
11089
+ this.estatusCuota = 0;
11090
+ if (e) {
11091
+ this.idEmpresa = +e.id_empresa;
11092
+ this.idPersonal = +e.id_personal;
11093
+ this.idPrestamo = +e.id_prestamo;
11094
+ this.numeroCuota = +e.numcuo;
11095
+ this.idPeriodo = +e.id_periodocob;
11096
+ this.fechaInicioPeriodo = e.feciniper;
11097
+ this.fechaFinPeriodo = e.fecfinper;
11098
+ this.montoCuota = +e.moncuo;
11099
+ this.estatusCuota = +e.estcuo;
11100
+ this.codigoPeriodo = e.codperipre;
11101
+ this.denominacionEstatus = this.denominacion();
11102
+ }
11103
+ else {
11104
+ this.isNew = true;
11105
+ }
11106
+ }
11107
+ dataInterface() {
11108
+ return {
11109
+ id_empresa: this.idEmpresa,
11110
+ id_personal: this.idPersonal,
11111
+ id_prestamo: this.idPrestamo,
11112
+ numcuo: this.numeroCuota,
11113
+ id_periodocob: this.idPeriodo,
11114
+ feciniper: this.fechaInicioPeriodo,
11115
+ fecfinper: this.fechaFinPeriodo,
11116
+ moncuo: this.montoCuota,
11117
+ estcuo: this.estatusCuota,
11118
+ codperipre: this.codigoPeriodo
11119
+ };
11120
+ }
11121
+ denominacion() {
11122
+ if (this.estatusCuota == 1) {
11123
+ return 'Cancelado';
11124
+ }
11125
+ else
11126
+ return 'No Cancelado';
11127
+ }
11128
+ }
11129
+ class MPrestamoAmortizacion extends MBasicModel {
11130
+ constructor(e) {
11131
+ super();
11132
+ this.idEmpresa = 0;
11133
+ this.idPersonal = 0;
11134
+ this.idPrestamo = 0;
11135
+ this.numeroAmortizacion = 0;
11136
+ this.idPeriodoAmortizacion = 0;
11137
+ this.fecchaAmortizacion = '1900-01-01';
11138
+ this.montoAmortizacion = 0;
11139
+ this.descripcionAmortizacion = '';
11140
+ if (e) {
11141
+ this.idEmpresa = +e.id_empresa;
11142
+ this.idPersonal = +e.id_personal;
11143
+ this.idPrestamo = +e.id_prestamo;
11144
+ this.numeroAmortizacion = +e.numamo;
11145
+ this.idPeriodoAmortizacion = +e.id_periodoamo;
11146
+ this.fecchaAmortizacion = e.fecamo;
11147
+ this.montoAmortizacion = +e.monamo;
11148
+ this.descripcionAmortizacion = e.desamo;
11149
+ }
11150
+ }
11151
+ dataInterface() {
11152
+ return {
11153
+ id_empresa: this.idEmpresa,
11154
+ id_personal: this.idPersonal,
11155
+ id_prestamo: this.idPrestamo,
11156
+ numamo: this.numeroAmortizacion,
11157
+ id_periodoamo: this.idPeriodoAmortizacion,
11158
+ fecamo: this.fecchaAmortizacion,
11159
+ monamo: this.montoAmortizacion,
11160
+ desamo: this.descripcionAmortizacion,
11161
+ };
11162
+ }
11163
+ }
11164
+
11165
+ class MRConsolidadoConceptos extends MBasicModel {
11166
+ constructor(e = null) {
11167
+ super();
11168
+ this.idNominaDes = 0;
11169
+ this.idNominaHas = 0;
11170
+ this.codigoNominaDes = "";
11171
+ this.codigoNominaHas = "";
11172
+ this.idPersonalDes = 0;
11173
+ this.idPersonalHas = 0;
11174
+ this.codigoPersonalDes = "";
11175
+ this.codigoPersonalHas = "";
11176
+ this.ordenDesde = 0;
11177
+ this.ordenHasta = 0;
11178
+ this.idConceptoDes = 0;
11179
+ this.idConceptoHas = 0;
11180
+ this.codigoConceptoDes = "";
11181
+ this.codigoConceptoHas = "";
11182
+ this.tipoConcepto = "";
11183
+ this.idPeriodoDes = 0;
11184
+ this.idPeriodoHas = 0;
11185
+ this.codidoPeriodoDes = "";
11186
+ this.codidoPeriodoHas = "";
11187
+ this.annocurso = 0;
11188
+ this.orden = "1";
11189
+ this.reporte = "";
11190
+ if (e) {
11191
+ this.idNominaDes = e.id_nominaDes;
11192
+ this.idNominaHas = e.id_nominaHas;
11193
+ this.codigoNominaDes = e.codnomDes;
11194
+ this.codigoNominaHas = e.codnomHas;
11195
+ this.idPersonalDes = e.id_personalDes;
11196
+ this.idPersonalHas = e.id_personalHas;
11197
+ this.codigoPersonalDes = e.codperDes;
11198
+ this.codigoPersonalHas = e.codperHas;
11199
+ this.ordenDesde = e.ordenDesde;
11200
+ this.ordenHasta = e.ordenHasta;
11201
+ this.idConceptoDes = e.id_conceptoDes;
11202
+ this.idConceptoHas = e.id_conceptoHas;
11203
+ this.codigoConceptoDes = e.codconcDes;
11204
+ this.codigoConceptoHas = e.codconcHas;
11205
+ this.tipoConcepto = e.tipconc;
11206
+ this.idPeriodoDes = e.id_periodoDes;
11207
+ this.idPeriodoHas = e.id_periodoHas;
11208
+ this.codidoPeriodoDes = e.codperiDes;
11209
+ this.codidoPeriodoHas = e.codperiHas;
11210
+ this.annocurso = e.anocur;
11211
+ this.orden = e.orden;
11212
+ this.reporte = e.reporte;
11213
+ }
11214
+ else {
11215
+ this.isNew = true;
11216
+ }
11217
+ }
11218
+ dataInterface() {
11219
+ return {
11220
+ id_nominaDes: this.idNominaDes,
11221
+ id_nominaHas: this.idNominaHas,
11222
+ codnomDes: this.codigoNominaDes,
11223
+ codnomHas: this.codigoNominaHas,
11224
+ id_personalDes: this.idPersonalDes,
11225
+ id_personalHas: this.idPersonalHas,
11226
+ codperDes: this.codigoPersonalDes,
11227
+ codperHas: this.codigoPersonalHas,
11228
+ ordenDesde: this.ordenDesde,
11229
+ ordenHasta: this.ordenHasta,
11230
+ id_conceptoDes: this.idConceptoDes,
11231
+ id_conceptoHas: this.idConceptoHas,
11232
+ codconcDes: this.codigoConceptoDes,
11233
+ codconcHas: this.codigoConceptoHas,
11234
+ tipconc: this.tipoConcepto,
11235
+ id_periodoDes: this.idPeriodoDes,
11236
+ id_periodoHas: this.idPeriodoHas,
11237
+ codperiDes: this.codidoPeriodoDes,
11238
+ codperiHas: this.codidoPeriodoHas,
11239
+ anocur: this.annocurso,
11240
+ orden: this.orden,
11241
+ reporte: this.reporte
11242
+ };
11243
+ }
11244
+ }
11245
+ class MRConstanciaTrabajo extends MBasicModel {
11246
+ constructor(e = null) {
11247
+ super();
11248
+ this.id_constancia = 0;
11249
+ this.codigoconstancia = '';
11250
+ this.plantilla_rtf = '';
11251
+ this.archivo = '';
11252
+ this.id_nomina = 0;
11253
+ this.codigonomina = '';
11254
+ this.id_personalDes = 0;
11255
+ this.id_personalHas = 0;
11256
+ this.codigopersonalDes = '';
11257
+ this.codigopersonalHas = '';
11258
+ this.orden = '1';
11259
+ if (e) {
11260
+ this.id_constancia = e.id_constancia;
11261
+ this.codigoconstancia = e.codconstra;
11262
+ this.plantilla_rtf = e.plantilla_rtf;
11263
+ this.archivo = e.archivo;
11264
+ this.id_nomina = e.id_nomina;
11265
+ this.codigonomina = e.codnom;
11266
+ this.id_personalDes = e.id_personalDes;
11267
+ this.id_personalHas = e.id_personalHas;
11268
+ this.codigopersonalDes = e.codperDes;
11269
+ this.codigopersonalHas = e.codperHas;
11270
+ this.orden = e.orden;
11271
+ }
11272
+ else {
11273
+ this.isNew = true;
11274
+ }
11275
+ }
11276
+ dataInterface() {
11277
+ return {
11278
+ id_constancia: this.id_constancia,
11279
+ codconstra: this.codigoconstancia,
11280
+ plantilla_rtf: this.plantilla_rtf,
11281
+ archivo: this.archivo,
11282
+ id_nomina: this.id_nomina,
11283
+ codnom: this.codigonomina,
11284
+ id_personalDes: this.id_personalDes,
11285
+ id_personalHas: this.id_personalHas,
11286
+ codperDes: this.codigopersonalDes,
11287
+ codperHas: this.codigopersonalHas,
11288
+ orden: this.orden,
11289
+ };
11290
+ }
11291
+ }
11292
+ class MRArchivoTXT extends MBasicModel {
11293
+ constructor(e = null) {
11294
+ super();
11295
+ this.nombrearchivo = '';
11296
+ if (e) {
11297
+ this.nombrearchivo = e.nombrearchivo;
11298
+ }
11299
+ else {
11300
+ this.isNew = true;
11301
+ }
11302
+ }
11303
+ dataInterface() {
11304
+ return {
11305
+ nombrearchivo: this.nombrearchivo
11306
+ };
11307
+ }
11308
+ }
11309
+ class MRListadoPersonal extends MBasicModel {
11310
+ constructor(e = null) {
11311
+ super();
11312
+ this.idNominaDes = 0;
11313
+ this.idNominaHas = 0;
11314
+ this.codigoNominaDes = "";
11315
+ this.codigoNominaHas = "";
11316
+ this.denominacionNominaDes = "";
11317
+ this.denominacionNominaHas = "";
11318
+ this.id_personalDes = 0;
11319
+ this.id_personalHas = 0;
11320
+ this.codigoPersonalDes = "";
11321
+ this.codigoPersonalHas = "";
11322
+ this.nombrePersonalDes = "";
11323
+ this.nombrePersonalHas = "";
11324
+ this.estatusPersonal = 1;
11325
+ this.causaEgresoPer = "";
11326
+ this.sexo = "";
11327
+ this.codigoPais = "000058";
11328
+ this.codigoEstado = "";
11329
+ this.codigoMunicipio = "";
11330
+ this.codigoParroquia = "";
11331
+ this.nombrePais = "Venezuela";
11332
+ this.nombreEstado = "";
11333
+ this.nombreMunicipio = "";
11334
+ this.nombreParroquia = "";
11335
+ this.statusPersonalNomina = "";
11336
+ this.fechaDesde = "";
11337
+ this.fechaHasta = "";
11338
+ this.orden = "1";
11339
+ this.reporte = "";
11340
+ if (e) {
11341
+ this.idNominaDes = e.id_nominaDes;
11342
+ this.idNominaHas = e.id_nominaHas;
11343
+ this.codigoNominaDes = e.codnomDes;
11344
+ this.codigoNominaHas = e.codnomHas;
11345
+ this.denominacionNominaDes = e.dennomDes;
11346
+ this.denominacionNominaHas = e.dennomHas;
11347
+ this.id_personalDes = e.id_personalDes;
11348
+ this.id_personalHas = e.id_personalHas;
11349
+ this.codigoPersonalDes = e.codperDes;
11350
+ this.codigoPersonalHas = e.codperHas;
11351
+ this.nombrePersonalDes = e.nomperDes;
11352
+ this.nombrePersonalHas = e.nomperHas;
11353
+ this.estatusPersonal = e.estper;
11354
+ this.causaEgresoPer = e.cauegrper;
11355
+ this.sexo = e.sexper;
11356
+ this.codigoPais = e.codpai;
11357
+ this.codigoEstado = e.codest;
11358
+ this.codigoMunicipio = e.codmun;
11359
+ this.codigoParroquia = e.codpar;
11360
+ this.nombrePais = e.despai;
11361
+ this.nombreEstado = e.desest;
11362
+ this.nombreMunicipio = e.desmun;
11363
+ this.nombreParroquia = e.despar;
11364
+ this.statusPersonalNomina = e.staper;
11365
+ this.fechaDesde = e.fechaDes;
11366
+ this.fechaHasta = e.fechaHas;
11367
+ this.orden = e.orden;
11368
+ this.reporte = e.reporte;
11369
+ }
11370
+ else {
11371
+ this.isNew = true;
11372
+ }
11373
+ }
11374
+ dataInterface() {
11375
+ return {
11376
+ id_nominaDes: this.idNominaDes,
11377
+ id_nominaHas: this.idNominaHas,
11378
+ codnomDes: this.codigoNominaDes,
11379
+ codnomHas: this.codigoNominaHas,
11380
+ dennomDes: this.denominacionNominaDes,
11381
+ dennomHas: this.denominacionNominaHas,
11382
+ id_personalDes: this.id_personalDes,
11383
+ id_personalHas: this.id_personalHas,
11384
+ codperDes: this.codigoPersonalDes,
11385
+ codperHas: this.codigoPersonalHas,
11386
+ nomperDes: this.nombrePersonalDes,
11387
+ nomperHas: this.nombrePersonalHas,
11388
+ estper: this.estatusPersonal,
11389
+ cauegrper: this.causaEgresoPer,
11390
+ sexper: this.sexo,
11391
+ codpai: this.codigoPais,
11392
+ codest: this.codigoEstado,
11393
+ codmun: this.codigoMunicipio,
11394
+ codpar: this.codigoParroquia,
11395
+ despai: this.nombrePais,
11396
+ desest: this.nombreEstado,
11397
+ desmun: this.nombreMunicipio,
11398
+ despar: this.nombreParroquia,
11399
+ staper: this.statusPersonalNomina,
11400
+ fechaDes: this.fechaDesde,
11401
+ fechaHas: this.fechaHasta,
11402
+ orden: this.orden,
11403
+ reporte: this.reporte
11404
+ };
11405
+ }
11406
+ }
11407
+ class MRListadoSindicato extends MBasicModel {
11408
+ constructor(e = null) {
11409
+ super();
11410
+ this.idSindicatoDes = 0;
11411
+ this.idSindicatoHas = 0;
11412
+ this.codigoSindicatoDes = '';
11413
+ this.codigoSindicatoHas = '';
11414
+ this.reporte = '';
11415
+ if (e) {
11416
+ this.idSindicatoDes = e.id_sindicatoDes;
11417
+ this.idSindicatoHas = e.id_sindicatoHas;
11418
+ this.codigoSindicatoDes = e.codSindicatoDes;
11419
+ this.codigoSindicatoHas = e.codSindicatoHas;
11420
+ this.reporte = e.reporte;
11421
+ }
11422
+ else {
11423
+ this.isNew = true;
11424
+ }
11425
+ }
11426
+ dataInterface() {
11427
+ return {
11428
+ id_sindicatoDes: this.idSindicatoDes,
11429
+ id_sindicatoHas: this.idSindicatoHas,
11430
+ codSindicatoDes: this.codigoSindicatoDes,
11431
+ codSindicatoHas: this.codigoSindicatoHas,
11432
+ reporte: this.reporte,
11433
+ };
11434
+ }
11435
+ }
11436
+ class MRListadoTipoPersonal extends MBasicModel {
11437
+ constructor(e = null) {
11438
+ super();
11439
+ this.idUbicacionFisica = 0;
11440
+ this.codigoUbicacionFisica = "";
11441
+ this.denominacionUbicacionFisica = "";
11442
+ this.codigoPais = '000058';
11443
+ this.nombrePais = 'Venezuela';
11444
+ this.codigoEstado = '---';
11445
+ this.nombreEstado = '';
11446
+ this.codigoMunicipio = '---';
11447
+ this.nombreMunicipio = '';
11448
+ this.codigoParroquia = '---';
11449
+ this.nombreParroquia = '';
11450
+ this.reporte = '';
11451
+ this.estatusPersonal = '';
11452
+ this.idOrganigrama = 0;
11453
+ this.codigoEstOrganizativa = '';
11454
+ this.denominacionEstOrganizativa = '';
11455
+ this.orden = '1';
11456
+ if (e) {
11457
+ this.idUbicacionFisica = e.id_ubifis;
11458
+ this.codigoUbicacionFisica = e.codubifis;
11459
+ this.denominacionUbicacionFisica = e.denubifis;
11460
+ this.codigoPais = '000058';
11461
+ this.nombrePais = 'Venezuela';
11462
+ this.codigoEstado = e.codest;
11463
+ this.nombreEstado = e.desest;
11464
+ this.codigoMunicipio = e.codmun;
11465
+ this.nombreMunicipio = e.desmun;
11466
+ this.codigoParroquia = e.codpar;
11467
+ this.nombreParroquia = e.despar;
11468
+ this.estatusPersonal = e.estper;
11469
+ this.idOrganigrama = e.id_organigrama;
11470
+ this.codigoEstOrganizativa = e.codestorg;
11471
+ this.denominacionEstOrganizativa = e.denestorg;
11472
+ this.reporte = e.reporte;
11473
+ this.orden = e.orden;
11474
+ }
11475
+ else {
11476
+ this.isNew = true;
11477
+ }
11478
+ }
11479
+ dataInterface() {
11480
+ return {
11481
+ id_ubifis: this.idUbicacionFisica,
11482
+ codubifis: this.codigoUbicacionFisica,
11483
+ denubifis: this.denominacionUbicacionFisica,
11484
+ codpai: this.codigoPais,
11485
+ despai: this.nombrePais,
11486
+ codest: this.codigoEstado,
11487
+ desest: this.nombreEstado,
11488
+ codmun: this.codigoMunicipio,
11489
+ desmun: this.nombreMunicipio,
11490
+ codpar: this.codigoParroquia,
11491
+ despar: this.nombreParroquia,
11492
+ estper: this.estatusPersonal,
11493
+ id_organigrama: this.idOrganigrama,
11494
+ codestorg: this.codigoEstOrganizativa,
11495
+ denestorg: this.denominacionEstOrganizativa,
11496
+ reporte: this.reporte,
11497
+ orden: this.orden
11498
+ };
11499
+ }
11500
+ }
11501
+ class MRPeriodo extends MBasicModel {
11502
+ constructor(e = null) {
11503
+ super();
11504
+ this.idPeriodo = 0;
11505
+ this.codigoPeriodo = '';
11506
+ this.fechaDesdePeriodo = '1900-01-01';
11507
+ this.fechaHastaperiodo = '1900-01-01';
11508
+ if (e) {
11509
+ this.idPeriodo = parseInt(e.id_periodo);
11510
+ this.codigoPeriodo = e.codperi;
11511
+ this.fechaDesdePeriodo = e.fecdesper;
11512
+ this.fechaHastaperiodo = e.fechasper;
11513
+ }
11514
+ else {
11515
+ this.isNew = true;
11516
+ }
11517
+ }
11518
+ dataInterface() {
11519
+ return {
11520
+ id_periodo: this.idPeriodo.toString(),
11521
+ codperi: this.codigoPeriodo,
11522
+ fecdesper: this.fechaDesdePeriodo,
11523
+ fechasper: this.fechaHastaperiodo
11524
+ };
11525
+ }
11526
+ }
11527
+ class MRRetenciones extends MBasicModel {
11528
+ constructor(e = null) {
11529
+ super();
11530
+ this.id_nomina = 0;
11531
+ this.codigonomina = '';
11532
+ this.id_personalDes = 0;
11533
+ this.id_personalHas = 0;
11534
+ this.codigopersonalDes = "";
11535
+ this.codigopersonalHas = "";
11536
+ this.annocurso = "";
11537
+ this.reporte = "";
11538
+ if (e) {
11539
+ this.id_nomina = e.id_nomina;
11540
+ this.codigonomina = e.codnom;
11541
+ this.id_personalDes = e.id_personalDes;
11542
+ this.id_personalHas = e.id_personalHas;
11543
+ this.codigopersonalDes = e.codperDes;
11544
+ this.codigopersonalHas = e.codperHas;
11545
+ this.annocurso = e.annocurso;
11546
+ this.reporte = e.reporte;
11547
+ }
11548
+ else {
11549
+ this.isNew = true;
11550
+ }
11551
+ }
11552
+ dataInterface() {
11553
+ return {
11554
+ id_nomina: this.id_nomina,
11555
+ codnom: this.codigonomina,
11556
+ id_personalDes: this.id_personalDes,
11557
+ id_personalHas: this.id_personalHas,
11558
+ codperDes: this.codigopersonalDes,
11559
+ codperHas: this.codigopersonalHas,
11560
+ annocurso: this.annocurso,
11561
+ reporte: this.reporte
11562
+ };
11563
+ }
11564
+ }
11565
+
10100
11566
  class customPaginator extends MatPaginatorIntl {
10101
11567
  constructor() {
10102
11568
  super(...arguments);
@@ -10128,5 +11594,5 @@ class customPaginator extends MatPaginatorIntl {
10128
11594
  * Generated bundle index. Do not edit.
10129
11595
  */
10130
11596
 
10131
- export { AppModule, CurrencyService, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCargaFamiliar, MCargaMasiva, MCargo, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MLog, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple$1 as MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPermisos, MPersonal, MPersonalJubilado, MPersonalNomina, MPlanUnicoCuenta, MPlantillasConstancia, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRango, MRequisitosConcursante, MRequisitosConcursos, MRequisitosMinimos, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSolicitudEmpleo, MSpecialty, MState, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDocumentoCXP, MTipoEvaluacion, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Reporte, SalarioNormal, SigespService, Signo, TipoCestaTicket, customPaginator, AppComponent as ɵc, SharedModule as ɵd, CatalogoComponent as ɵe, ConfirmComponent as ɵg, IconComponent as ɵh, TableSelectComponent as ɵi, CatalogoEstructurasComponent as ɵj, CatalogoDobleInputComponent as ɵk, IsoCurrencyPipe as ɵl, CustonMaterialModule as ɵm };
11597
+ export { AppModule, CurrencyService, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple$1 as MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanUnicoCuenta, MPlantillasConstancia, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSolicitudEmpleo, MSpecialty, MState, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDocumentoCXP, MTipoEvaluacion, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Reporte, SalarioNormal, SigespService, Signo, TipoCestaTicket, customPaginator, AppComponent as ɵe, SharedModule as ɵf, CatalogoComponent as ɵg, ConfirmComponent as ɵi, IconComponent as ɵj, TableSelectComponent as ɵk, CatalogoEstructurasComponent as ɵl, CatalogoDobleInputComponent as ɵm, IsoCurrencyPipe as ɵn, CustonMaterialModule as ɵo };
10132
11598
  //# sourceMappingURL=sigesp.js.map