sigesp 0.8.73-220307 → 0.8.76-20220506

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 (80) hide show
  1. package/bundles/sigesp.umd.js +2599 -291
  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 +94 -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/MDefinicionNomina.model.js +78 -1
  19. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +58 -1
  20. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +7 -1
  21. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +333 -6
  22. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +45 -1
  23. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +70 -0
  24. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +99 -0
  25. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +24 -15
  26. package/esm2015/lib/core/models/SNO/MPeriodosPlan.model.js +46 -0
  27. package/esm2015/lib/core/models/SNO/MPermisos.model.js +61 -0
  28. package/esm2015/lib/core/models/SNO/MPersonal.model.js +90 -1
  29. package/esm2015/lib/core/models/SNO/MPlantillaConstancia.model.js +31 -0
  30. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +212 -0
  31. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +4 -3
  32. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +4 -1
  33. package/esm2015/lib/core/models/SNO/MRango.model.js +7 -2
  34. package/esm2015/lib/core/models/SNO/MReportesRRHH.js +402 -0
  35. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +5 -2
  36. package/esm2015/lib/core/models/SNO/MTabulador.model.js +15 -20
  37. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +4 -1
  38. package/esm2015/lib/core/models/SSS/userPermit.model.js +5 -1
  39. package/esm2015/lib/sigesp.service.js +1 -2
  40. package/esm2015/public-api.js +17 -7
  41. package/esm2015/sigesp.js +11 -11
  42. package/fesm2015/sigesp.js +2344 -222
  43. package/fesm2015/sigesp.js.map +1 -1
  44. package/lib/core/interfaces/Nomina.d.ts +61 -30
  45. package/lib/core/interfaces/RecursosHumanos.d.ts +490 -64
  46. package/lib/core/interfaces/Seguridad.d.ts +2 -0
  47. package/lib/core/interfaces/Usuario.d.ts +13 -0
  48. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +14 -0
  49. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +35 -4
  50. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +16 -1
  51. package/lib/core/models/SNO/MBeneficiario.model.d.ts +2 -0
  52. package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
  53. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +6 -3
  54. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +2 -0
  55. package/lib/core/models/SNO/MConcursante.model.d.ts +78 -4
  56. package/lib/core/models/SNO/MConcurso.model.d.ts +58 -1
  57. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +26 -1
  58. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +19 -0
  59. package/lib/core/models/SNO/MFamiliares.model.d.ts +1 -0
  60. package/lib/core/models/SNO/MFideicomiso.model.d.ts +115 -2
  61. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +14 -0
  62. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +24 -0
  63. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +33 -0
  64. package/lib/core/models/SNO/MNominaSimple.model.d.ts +8 -2
  65. package/lib/core/models/SNO/MPeriodosPlan.model.d.ts +16 -0
  66. package/lib/core/models/SNO/MPermisos.model.d.ts +21 -0
  67. package/lib/core/models/SNO/MPersonal.model.d.ts +31 -1
  68. package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
  69. package/lib/core/models/SNO/MPrestamo.model.d.ts +66 -0
  70. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +0 -1
  71. package/lib/core/models/SNO/MRango.model.d.ts +2 -1
  72. package/lib/core/models/SNO/MReportesRRHH.d.ts +130 -0
  73. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +1 -1
  74. package/lib/core/models/SNO/MTabulador.model.d.ts +7 -5
  75. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +1 -0
  76. package/lib/core/models/SSS/userPermit.model.d.ts +2 -0
  77. package/package.json +1 -1
  78. package/public-api.d.ts +17 -7
  79. package/sigesp.d.ts +26 -25
  80. 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 {
@@ -3480,6 +3524,83 @@ class MDefinicionNomina extends MBasicModel {
3480
3524
  fechaFinaPeriodoActual() {
3481
3525
  return this.periodosNomina[this.indice()].fechaHastaperiodo;
3482
3526
  }
3527
+ }
3528
+ class MNominaSimple extends MBasicModel {
3529
+ constructor(e = null) {
3530
+ super();
3531
+ this.idEmpresa = 0;
3532
+ this.idNomina = 0;
3533
+ this.codigoNomina = '';
3534
+ this.denominacioNomina = '';
3535
+ this.idPeriodoActual = 0;
3536
+ this.totalPeriodo = 0;
3537
+ this.estatus = '';
3538
+ this.estatusPeriodo = 0;
3539
+ this.calculada = false;
3540
+ this.prenomina = false;
3541
+ this.idCargo = 0;
3542
+ this.codigoCargo = '';
3543
+ this.denominacionCargo = '';
3544
+ this.nominaRac = 0;
3545
+ this.simbolo = '';
3546
+ this.color = '';
3547
+ this.estatusPersonal = 0;
3548
+ this.denominacionEstatuspersonal = '';
3549
+ this.descripcionPeriodoNomina = '';
3550
+ this.periodoActualNomina = '';
3551
+ this.editable = false;
3552
+ if (e) {
3553
+ this.idEmpresa = parseInt(e.id_empresa);
3554
+ this.idNomina = parseInt(e.id_nomina);
3555
+ this.codigoNomina = e.codnom;
3556
+ this.denominacioNomina = e.dennom;
3557
+ this.idPeriodoActual = +e.id_periodoactual;
3558
+ this.totalPeriodo = parseFloat(e.totper),
3559
+ this.estatusPeriodo = parseInt(e.cerper);
3560
+ this.calculada = e.calculado == '1' ? true : false;
3561
+ this.prenomina = e.prenomina == '1' ? true : false;
3562
+ this.estatus = this.calculada ? 'Calculada' :
3563
+ !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
3564
+ this.editable = (this.calculada || this.prenomina) ? false : true;
3565
+ this.idCargo = parseInt(e.id_carper);
3566
+ this.codigoCargo = e.codcar;
3567
+ this.denominacionCargo = e.descar;
3568
+ this.nominaRac = parseInt(e.racnom);
3569
+ this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
3570
+ this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
3571
+ this.estatusPersonal = parseInt(e.staper);
3572
+ this.estatusPersonal == 0 ? this.denominacionEstatuspersonal = "NO ASIGNADO" :
3573
+ this.estatusPersonal == 1 ? this.denominacionEstatuspersonal = "ACTIVO" :
3574
+ this.estatusPersonal == 2 ? this.denominacionEstatuspersonal = "VACACIONES" :
3575
+ this.estatusPersonal == 3 ? this.denominacionEstatuspersonal = "EGRESADO" :
3576
+ this.denominacionEstatuspersonal = "SUSPENDIDO";
3577
+ this.descripcionPeriodoNomina = e.despernom;
3578
+ this.periodoActualNomina = e.peractnom;
3579
+ }
3580
+ else {
3581
+ this.isNew = false;
3582
+ }
3583
+ }
3584
+ dataInterface() {
3585
+ return {
3586
+ id_empresa: this.idEmpresa.toString(),
3587
+ id_nomina: this.idNomina.toString(),
3588
+ codnom: this.codigoNomina,
3589
+ dennom: this.denominacioNomina,
3590
+ id_periodoactual: this.idPeriodoActual.toString(),
3591
+ totper: this.totalPeriodo.toString(),
3592
+ cerper: this.estatusPeriodo.toString(),
3593
+ prenomina: this.prenomina ? '1' : '0',
3594
+ calculado: this.calculada ? '1' : '0',
3595
+ id_carper: this.idCargo.toString(),
3596
+ descar: this.denominacionCargo,
3597
+ codcar: this.codigoCargo,
3598
+ racnom: this.nominaRac.toString(),
3599
+ staper: this.estatusPersonal.toString(),
3600
+ despernom: this.descripcionPeriodoNomina,
3601
+ peractnom: this.periodoActualNomina,
3602
+ };
3603
+ }
3483
3604
  }
3484
3605
 
3485
3606
  class MAsignacionCargo extends MBasicModel {
@@ -3489,9 +3610,6 @@ class MAsignacionCargo extends MBasicModel {
3489
3610
  this.idAsignacionCargo = 0;
3490
3611
  this.codigoAsignacionCargo = '';
3491
3612
  this.denominacionAsignacionCargo = '';
3492
- this.idOrganigrama = 0;
3493
- this.codigoOrganigrama = '';
3494
- this.denominacionOrganigrama = '';
3495
3613
  this.idEp1 = 0;
3496
3614
  this.idEp2 = 0;
3497
3615
  this.idEp3 = 0;
@@ -3516,14 +3634,15 @@ class MAsignacionCargo extends MBasicModel {
3516
3634
  this.totalCargos = 0;
3517
3635
  this.numeroCargosOcupados = 0;
3518
3636
  this.disponibilidadCargos = 0;
3637
+ this.detallesNominas = [];
3638
+ this.nominaEliminar = [];
3639
+ this.detallesOrganigrama = [];
3640
+ this.organigramaEliminar = [];
3519
3641
  if (e) {
3520
3642
  this.idEmpresa = parseInt(e.id_empresa);
3521
3643
  this.idAsignacionCargo = parseInt(e.id_carper);
3522
3644
  this.codigoAsignacionCargo = e.codcar;
3523
3645
  this.denominacionAsignacionCargo = e.descar;
3524
- this.idOrganigrama = parseInt(e.id_organigrama);
3525
- this.codigoOrganigrama = e.codestorg;
3526
- this.denominacionOrganigrama = e.denestorg;
3527
3646
  this.idEp1 = parseInt(e.id_ep1);
3528
3647
  this.idEp2 = parseInt(e.id_ep2);
3529
3648
  this.idEp3 = parseInt(e.id_ep3);
@@ -3548,6 +3667,12 @@ class MAsignacionCargo extends MBasicModel {
3548
3667
  this.totalCargos = parseInt(e.totcar);
3549
3668
  this.numeroCargosOcupados = parseInt(e.numocucar);
3550
3669
  this.disponibilidadCargos = parseInt(e.disponibilidad);
3670
+ if (e.detalles_nomina) {
3671
+ this.detallesNominas = e.detalles_nomina.map(e => new MCargosNominas(e));
3672
+ }
3673
+ if (e.detalles_organigrama) {
3674
+ this.detallesOrganigrama = e.detalles_organigrama.map(e => new MCargoEstructuraOrganizativa(e));
3675
+ }
3551
3676
  }
3552
3677
  else {
3553
3678
  this.isNew = true;
@@ -3559,41 +3684,111 @@ class MAsignacionCargo extends MBasicModel {
3559
3684
  id_carper: this.idAsignacionCargo.toString(),
3560
3685
  codcar: this.codigoAsignacionCargo,
3561
3686
  descar: this.denominacionAsignacionCargo,
3562
- id_organigrama: this.idOrganigrama.toString(),
3563
- codestorg: this.codigoOrganigrama,
3564
- denestorg: this.denominacionOrganigrama,
3565
3687
  id_ep1: this.idEp1.toString(),
3566
3688
  id_ep2: this.idEp2.toString(),
3567
3689
  id_ep3: this.idEp3.toString(),
3568
3690
  id_ep4: this.idEp4.toString(),
3569
3691
  id_ep5: this.idEp5.toString(),
3570
- codigo_estructura: this.codigoEstructura,
3571
- denominacion_estructura: this.denominacionEstructura,
3572
3692
  clacar: this.claseCargo,
3573
3693
  id_dedicacion: this.idDedicacion.toString(),
3574
- codded: this.codigoDedicacion,
3575
- dended: this.denominacionDedicacion,
3576
3694
  id_tipopersonal: this.idTipoPersonal.toString(),
3577
- codtipper: this.codigoTipoPersonal,
3578
- dentipper: this.denominacionTipoPersonal,
3579
3695
  id_tabulador: this.idTabulador.toString(),
3580
- codtab: this.codigoTipoPersonal,
3581
- destab: this.denominacionTabulador,
3582
3696
  codgra: this.codigoGrado,
3583
3697
  codpas: this.codigoPaso,
3584
- monsalgra: this.salario.toString(),
3585
- moncomgra: this.compensacion.toString(),
3586
3698
  totcar: this.totalCargos.toString(),
3587
3699
  numocucar: this.numeroCargosOcupados.toString(),
3588
- disponibilidad: this.disponibilidadCargos.toString(),
3700
+ detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
3701
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
3702
+ eliminar_nomina: this.nominaEliminar,
3703
+ eliminar_organigrama: this.organigramaEliminar,
3704
+ };
3705
+ }
3706
+ }
3707
+ class MCargoEstructuraOrganizativa extends MBasicModel {
3708
+ constructor(e = null) {
3709
+ super();
3710
+ this.idEmpresa = 0;
3711
+ this.idCargoPersonal = 0;
3712
+ this.idOrganigrama = 0;
3713
+ this.idDtCargoEstructura = 0;
3714
+ this.idPersonal = 0;
3715
+ this.codigoEstructuraOrganizativa = '';
3716
+ this.denominacionEstructuraOrganizativa = '';
3717
+ this.nivel = 0;
3718
+ if (e) {
3719
+ this.idEmpresa = parseInt(e.id_empresa);
3720
+ this.idCargoPersonal = parseInt(e.id_carper);
3721
+ this.idOrganigrama = parseInt(e.id_organigrama);
3722
+ this.codigoEstructuraOrganizativa = e.codestorg;
3723
+ this.denominacionEstructuraOrganizativa = e.denestorg;
3724
+ this.idPersonal = parseInt(e.id_personal);
3725
+ this.nivel = parseInt(e.nivel);
3726
+ this.idDtCargoEstructura = parseInt(e.id_dt);
3727
+ }
3728
+ else {
3729
+ this.isNew = true;
3730
+ }
3731
+ }
3732
+ dataInterface() {
3733
+ return {
3734
+ id_empresa: this.idEmpresa.toString(),
3735
+ id_carper: this.idCargoPersonal.toString(),
3736
+ id_organigrama: this.idOrganigrama.toString(),
3737
+ id_dt: this.idDtCargoEstructura.toString(),
3738
+ id_personal: this.idPersonal.toString(),
3739
+ };
3740
+ }
3741
+ }
3742
+ class MCargosNominas extends MBasicModel {
3743
+ constructor(e = null) {
3744
+ super();
3745
+ this.idEmpresa = 0;
3746
+ this.idNomina = 0;
3747
+ this.idCargo = 0;
3748
+ this.codigoNomina = '';
3749
+ this.denominacionNomina = '';
3750
+ this.estatus = '';
3751
+ this.idDtNomina = 0;
3752
+ this.periodoActualNomina = '001';
3753
+ this.idPeriodoActual = 0;
3754
+ this.nominaRac = 0;
3755
+ this.descripcionPeriodoNomina = '';
3756
+ this.prenomina = false;
3757
+ this.editables = false;
3758
+ this.calculada = false;
3759
+ if (e) {
3760
+ this.idEmpresa = parseInt(e.id_empresa);
3761
+ this.idNomina = parseInt(e.id_nomina);
3762
+ this.idCargo = parseInt(e.id_carper);
3763
+ this.codigoNomina = e.codnom;
3764
+ this.denominacionNomina = e.dennom;
3765
+ this.idDtNomina = parseInt(e.id_dt_carnom);
3766
+ this.periodoActualNomina = e.peractnom;
3767
+ this.calculada = e.calculado == '1' ? true : false;
3768
+ this.prenomina = e.prenomina == '1' ? true : false;
3769
+ this.estatus = this.calculada ? 'Calculada' :
3770
+ !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
3771
+ this.editables = (this.calculada || this.prenomina) ? false : true;
3772
+ }
3773
+ else {
3774
+ this.isNew = true;
3775
+ }
3776
+ }
3777
+ dataInterface() {
3778
+ return {
3779
+ id_empresa: this.idEmpresa.toString(),
3780
+ id_nomina: this.idNomina.toString(),
3781
+ id_carper: this.idCargo.toString(),
3782
+ id_dt_carnom: this.idDtNomina.toString(),
3589
3783
  };
3590
3784
  }
3591
3785
  }
3592
3786
 
3593
- class MNominaSimple {
3787
+ class MNominaSimple$1 extends MBasicModel {
3594
3788
  constructor(e = null) {
3789
+ super();
3595
3790
  this.idEmpresa = 0;
3596
- this.idNnomina = 0;
3791
+ this.idNomina = 0;
3597
3792
  this.codigoNomina = '';
3598
3793
  this.denominacioNomina = '';
3599
3794
  this.idPeriodoActual = 0;
@@ -3608,9 +3803,14 @@ class MNominaSimple {
3608
3803
  this.nominaRac = 0;
3609
3804
  this.simbolo = '';
3610
3805
  this.color = '';
3806
+ this.estatusPersonal = 0;
3807
+ this.denominacionEstatuspersonal = '';
3808
+ this.descripcionPeriodoNomina = '';
3809
+ this.periodoActualNomina = '';
3810
+ this.editable = false;
3611
3811
  if (e) {
3612
3812
  this.idEmpresa = parseInt(e.id_empresa);
3613
- this.idNnomina = parseInt(e.id_nomina);
3813
+ this.idNomina = parseInt(e.id_nomina);
3614
3814
  this.codigoNomina = e.codnom;
3615
3815
  this.denominacioNomina = e.dennom;
3616
3816
  this.idPeriodoActual = +e.id_periodoactual;
@@ -3620,29 +3820,31 @@ class MNominaSimple {
3620
3820
  this.prenomina = e.prenomina == '1' ? true : false;
3621
3821
  this.estatus = this.calculada ? 'Calculada' :
3622
3822
  !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
3823
+ this.editable = (this.calculada || this.prenomina) ? false : true;
3623
3824
  this.idCargo = parseInt(e.id_carper);
3624
3825
  this.codigoCargo = e.codcar;
3625
3826
  this.denominacionCargo = e.descar;
3626
3827
  this.nominaRac = parseInt(e.racnom);
3627
3828
  this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
3628
3829
  this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
3830
+ this.estatusPersonal = parseInt(e.staper);
3831
+ this.estatusPersonal == 0 ? this.denominacionEstatuspersonal = "NO ASIGNADO" :
3832
+ this.estatusPersonal == 1 ? this.denominacionEstatuspersonal = "ACTIVO" :
3833
+ this.estatusPersonal == 2 ? this.denominacionEstatuspersonal = "VACACIONES" :
3834
+ this.estatusPersonal == 3 ? this.denominacionEstatuspersonal = "EGRESADO" :
3835
+ this.denominacionEstatuspersonal = "SUSPENDIDO";
3836
+ this.descripcionPeriodoNomina = e.despernom;
3837
+ this.periodoActualNomina = e.peractnom;
3838
+ }
3839
+ else {
3840
+ this.isNew = true;
3629
3841
  }
3630
3842
  }
3631
3843
  dataInterface() {
3632
3844
  return {
3633
3845
  id_empresa: this.idEmpresa.toString(),
3634
- id_nomina: this.idNnomina.toString(),
3635
- codnom: this.codigoNomina,
3636
- dennom: this.denominacioNomina,
3637
- id_periodoactual: this.idPeriodoActual.toString(),
3638
- totper: this.totalPeriodo.toString(),
3639
- cerper: this.estatusPeriodo.toString(),
3640
- prenomina: this.prenomina ? '1' : '0',
3641
- calculado: this.calculada ? '1' : '0',
3846
+ id_nomina: this.idNomina.toString(),
3642
3847
  id_carper: this.idCargo.toString(),
3643
- descar: this.denominacionCargo,
3644
- codcar: this.codigoCargo,
3645
- racnom: this.nominaRac.toString(),
3646
3848
  };
3647
3849
  }
3648
3850
  }
@@ -3969,6 +4171,95 @@ class MPersonal extends MBasicModel {
3969
4171
  despai_nac: this.nombrePaisNacimiento,
3970
4172
  };
3971
4173
  }
4174
+ }
4175
+ class MCambioEstatusPersonal extends MBasicModel {
4176
+ constructor(e = null) {
4177
+ super();
4178
+ this.idPersonal = 0;
4179
+ this.codigoPersonal = '';
4180
+ this.estatusActual = '2';
4181
+ this.estatusNuevo = '2';
4182
+ this.fechaEgreso = '';
4183
+ this.causaEgreso = '';
4184
+ this.preaviso = '1';
4185
+ this.idCausales = 0;
4186
+ this.observacion = '';
4187
+ this.fechaReingreso = '1900-01-01';
4188
+ if (e) {
4189
+ this.idPersonal = e.idPersonal;
4190
+ this.codigoPersonal = e.codigoPersonal;
4191
+ this.estatusActual = e.estatusActual;
4192
+ this.estatusNuevo = e.estatusNuevo;
4193
+ this.fechaEgreso = e.fechaEgreso;
4194
+ this.causaEgreso = e.causaEgreso;
4195
+ this.preaviso = e.preaviso;
4196
+ this.idCausales = e.idCausales;
4197
+ this.observacion = e.observacion;
4198
+ this.fechaReingreso = e.fechaReingreso;
4199
+ }
4200
+ }
4201
+ dataInterface() {
4202
+ return {
4203
+ idPersonal: this.idPersonal,
4204
+ codigoPersonal: this.codigoPersonal,
4205
+ estatusActual: this.estatusActual,
4206
+ estatusNuevo: this.estatusNuevo,
4207
+ fechaEgreso: this.fechaEgreso,
4208
+ causaEgreso: this.causaEgreso,
4209
+ preaviso: this.preaviso,
4210
+ idCausales: this.idCausales,
4211
+ observacion: this.observacion,
4212
+ fechaReingreso: this.fechaReingreso,
4213
+ };
4214
+ }
4215
+ }
4216
+ class MPersonalCuentaBanco extends MBasicModel {
4217
+ constructor(e) {
4218
+ super();
4219
+ this.idEmpresa = 0;
4220
+ this.idPersonal = 0;
4221
+ this.idCuentaBancoPersonal = -1;
4222
+ this.codigoCuentaBancoPersonal = '';
4223
+ this.denominacionCuentaBancoPersonal = '';
4224
+ this.idBanco = 0;
4225
+ this.idTipoCuentaBanco = 0;
4226
+ this.cuentaBancoPersonal = '';
4227
+ this.estatusCuentaBanco = '1';
4228
+ this.tipoCuentaPrincipal = '0';
4229
+ this.codigoBanco = '';
4230
+ this.cuentaReducida = '';
4231
+ if (e) {
4232
+ this.idEmpresa = parseInt(e.id_empresa);
4233
+ this.idPersonal = parseInt(e.id_personal);
4234
+ this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
4235
+ this.codigoCuentaBancoPersonal = e.codctabanper;
4236
+ this.denominacionCuentaBancoPersonal = e.denctabanper;
4237
+ this.idBanco = parseInt(e.id_banco);
4238
+ this.idTipoCuentaBanco = parseInt(e.id_tipocta);
4239
+ this.cuentaBancoPersonal = e.ctabanper;
4240
+ this.estatusCuentaBanco = e.estctabco;
4241
+ this.tipoCuentaPrincipal = e.tipctapri;
4242
+ this.codigoBanco = this.cuentaBancoPersonal.substring(0, 4);
4243
+ this.cuentaReducida = this.cuentaBancoPersonal.slice(4);
4244
+ }
4245
+ else {
4246
+ this.isNew = true;
4247
+ }
4248
+ }
4249
+ dataInterface() {
4250
+ return {
4251
+ id_empresa: this.idEmpresa.toString(),
4252
+ id_personal: this.idPersonal.toString(),
4253
+ id_ctabanper: this.idCuentaBancoPersonal.toString(),
4254
+ codctabanper: this.codigoCuentaBancoPersonal,
4255
+ denctabanper: this.denominacionCuentaBancoPersonal,
4256
+ id_banco: this.idBanco.toString(),
4257
+ id_tipocta: this.idTipoCuentaBanco.toString(),
4258
+ ctabanper: this.cuentaBancoPersonal,
4259
+ estctabco: this.estatusCuentaBanco,
4260
+ tipctapri: this.tipoCuentaPrincipal,
4261
+ };
4262
+ }
3972
4263
  }
3973
4264
 
3974
4265
  class MDetaContable extends MBasicModel {
@@ -5885,7 +6176,7 @@ class SigespService {
5885
6176
  getPersonalNominaResumida(idPersonal, tipo) {
5886
6177
  return this.http.get(`${this.URL}/dao/sno/personal_dao.php?idPersonal=${idPersonal}&tipo=${tipo}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
5887
6178
  if (res.success) {
5888
- res.data = res.data.map(e => new MNominaSimple(e));
6179
+ res.data = res.data.map(e => new MNominaSimple$1(e));
5889
6180
  }
5890
6181
  return res;
5891
6182
  }));
@@ -5920,7 +6211,6 @@ class SigespService {
5920
6211
  return this.http.post(`${this.URL}/dao/sss/log_dao.php`, body, {
5921
6212
  headers: this.getHttpHeaders()
5922
6213
  }).pipe(map((res) => {
5923
- console.log("Log : ", res);
5924
6214
  return res;
5925
6215
  }));
5926
6216
  }
@@ -6544,6 +6834,8 @@ class MUserPermit extends MBasicModel {
6544
6834
  this.userData.name = permit.nomusu;
6545
6835
  this.userData.lastname = permit.apeusu;
6546
6836
  this.userData.username = permit.codusu;
6837
+ this.descripcion = permit.descripcion;
6838
+ this.id_record = parseInt(permit.id_record);
6547
6839
  }
6548
6840
  else {
6549
6841
  this.isNew = true;
@@ -6554,6 +6846,8 @@ class MUserPermit extends MBasicModel {
6554
6846
  activo: this.active ? '1' : '0',
6555
6847
  codintper: this.internalPermit,
6556
6848
  codsis: this.systemCode,
6849
+ descripcion: this.descripcion,
6850
+ id_record: this.id_record.toString(),
6557
6851
  id_permiso: this.id.toString(),
6558
6852
  id_usuario: this.userData.id ? this.userData.id.toString() : null,
6559
6853
  apeusu: this.userData.lastname ? this.userData.lastname : null,
@@ -6745,24 +7039,24 @@ class MArchivoTxtCampo extends MBasicModel {
6745
7039
  }
6746
7040
  }
6747
7041
 
6748
- class MAspectoEvaluacion extends MBasicModel {
6749
- constructor(e) {
7042
+ class MArchivosTxt extends MBasicModel {
7043
+ constructor(e = null) {
6750
7044
  super();
6751
7045
  this.idEmpresa = 0;
6752
- this.idTipoEvaluacion = 0;
6753
- this.idAspectoEvaluacion = 0;
6754
- this.codigoTipoEvaluacion = '';
6755
- this.denominacionTipoEvaluacion = '';
6756
- this.codigoAspecto = '';
6757
- this.denominacionAspecto = '';
7046
+ this.idArchivoTxt = 0;
7047
+ this.codigoArchivo = '';
7048
+ this.denominacionArchivo = '';
7049
+ this.tipoArchivo = 'I';
7050
+ this.acumularMonto = false;
7051
+ this.campos = [];
6758
7052
  if (e) {
7053
+ e.acumon == '1' ? this.acumularMonto = true : this.acumularMonto = false;
6759
7054
  this.idEmpresa = parseInt(e.id_empresa);
6760
- this.idTipoEvaluacion = parseInt(e.id_tipoeval);
6761
- this.idAspectoEvaluacion = parseInt(e.id_aspecto);
6762
- this.codigoTipoEvaluacion = e.codtipeval;
6763
- this.denominacionTipoEvaluacion = e.dentipeval;
6764
- this.codigoAspecto = e.codasp;
6765
- this.denominacionAspecto = e.denasp;
7055
+ this.idArchivoTxt = parseInt(e.id_archivotxt);
7056
+ this.codigoArchivo = e.codarch;
7057
+ this.denominacionArchivo = e.denarch;
7058
+ this.tipoArchivo = e.tiparch;
7059
+ this.campos = e.campos.map(e => new MArchivoTxtCampo(e));
6766
7060
  }
6767
7061
  else {
6768
7062
  this.isNew = true;
@@ -6771,8 +7065,91 @@ class MAspectoEvaluacion extends MBasicModel {
6771
7065
  dataInterface() {
6772
7066
  return {
6773
7067
  id_empresa: this.idEmpresa.toString(),
6774
- id_tipoeval: this.idTipoEvaluacion.toString(),
7068
+ id_archivotxt: this.idArchivoTxt.toString(),
7069
+ codarch: this.codigoArchivo,
7070
+ denarch: this.denominacionArchivo,
7071
+ tiparch: this.tipoArchivo,
7072
+ acumon: this.acumularMonto ? '1' : '0',
7073
+ campos: this.campos.map(function (e) { return e.dataInterface(); }),
7074
+ };
7075
+ }
7076
+ }
7077
+
7078
+ class MAspectoEvaluacion extends MBasicModel {
7079
+ constructor(e) {
7080
+ super();
7081
+ this.idEmpresa = 0;
7082
+ this.idTipoEvaluacion = 0;
7083
+ this.idAspectoEvaluacion = 0;
7084
+ this.codigoTipoEvaluacion = '';
7085
+ this.denominacionTipoEvaluacion = '';
7086
+ this.codigoAspecto = '';
7087
+ this.denominacionAspecto = '';
7088
+ if (e) {
7089
+ this.idEmpresa = parseInt(e.id_empresa);
7090
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7091
+ this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7092
+ this.codigoTipoEvaluacion = e.codtipeval;
7093
+ this.denominacionTipoEvaluacion = e.dentipeval;
7094
+ this.codigoAspecto = e.codasp;
7095
+ this.denominacionAspecto = e.denasp;
7096
+ }
7097
+ else {
7098
+ this.isNew = true;
7099
+ }
7100
+ }
7101
+ dataInterface() {
7102
+ return {
7103
+ id_empresa: this.idEmpresa.toString(),
7104
+ id_tipoeval: this.idTipoEvaluacion.toString(),
7105
+ id_aspecto: this.idAspectoEvaluacion.toString(),
7106
+ codasp: this.codigoAspecto,
7107
+ denasp: this.denominacionAspecto,
7108
+ codtipeval: this.codigoTipoEvaluacion,
7109
+ dentipeval: this.denominacionTipoEvaluacion,
7110
+ };
7111
+ }
7112
+ }
7113
+ class MItemsEvalucion extends MBasicModel {
7114
+ constructor(e = null) {
7115
+ super();
7116
+ this.idEmpresa = 0;
7117
+ this.idTipoEvaluacion = 0;
7118
+ this.idAspectoEvaluacion = 0;
7119
+ this.idItems = 0;
7120
+ this.codigoItems = '';
7121
+ this.denominacionItems = '';
7122
+ this.valorMaximo = 0;
7123
+ this.codigoTipoEvaluacion = '';
7124
+ this.denominacionTipoEvaluacion = '';
7125
+ this.codigoAspecto = '';
7126
+ this.denominacionAspecto = '';
7127
+ if (e) {
7128
+ this.idEmpresa = parseInt(e.id_empresa);
7129
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
7130
+ this.idAspectoEvaluacion = parseInt(e.id_aspecto);
7131
+ this.idItems = parseInt(e.id_item);
7132
+ this.codigoItems = e.codite;
7133
+ this.denominacionItems = e.denite;
7134
+ this.valorMaximo = e.valormax;
7135
+ this.codigoTipoEvaluacion = e.codtipeval;
7136
+ this.denominacionTipoEvaluacion = e.dentipeval;
7137
+ this.codigoAspecto = e.codasp;
7138
+ this.denominacionAspecto = e.denasp;
7139
+ }
7140
+ else {
7141
+ this.isNew = true;
7142
+ }
7143
+ }
7144
+ dataInterface() {
7145
+ return {
7146
+ id_empresa: this.idEmpresa.toString(),
7147
+ id_tipoeval: this.idTipoEvaluacion.toString(),
6775
7148
  id_aspecto: this.idAspectoEvaluacion.toString(),
7149
+ id_item: this.idItems.toString(),
7150
+ codite: this.codigoItems,
7151
+ denite: this.denominacionItems,
7152
+ valormax: this.valorMaximo,
6776
7153
  codasp: this.codigoAspecto,
6777
7154
  denasp: this.denominacionAspecto,
6778
7155
  codtipeval: this.codigoTipoEvaluacion,
@@ -6807,6 +7184,8 @@ class MBeneficiario extends MBasicModel {
6807
7184
  this.nexoFamiliar = '';
6808
7185
  this.nombreBanco = '';
6809
7186
  this.denominacionTipoCuenta = '';
7187
+ this.medidaActiva = false;
7188
+ this.tribunal = '';
6810
7189
  if (e) {
6811
7190
  this.idEmpresa = parseInt(e.id_empresa);
6812
7191
  this.idPersonal = parseInt(e.id_personal);
@@ -6821,6 +7200,8 @@ class MBeneficiario extends MBasicModel {
6821
7200
  this.numeroExpedienteBeneficiario = e.numexpben;
6822
7201
  this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
6823
7202
  this.montoPagoBeneficiario = parseFloat(e.monpagben);
7203
+ this.medidaActiva = e.medact == '1' ? true : false;
7204
+ this.tribunal = e.tribunal;
6824
7205
  this.nombreCheque = e.nompro;
6825
7206
  this.cedulaAutorizado = e.cedpro;
6826
7207
  this.nombreFamiliar = e.nomfam;
@@ -6851,16 +7232,8 @@ class MBeneficiario extends MBasicModel {
6851
7232
  ctabanben: this.cuentaBancoBeneficiario,
6852
7233
  forpagben: this.formaPagoBeneficiario,
6853
7234
  numexpben: this.numeroExpedienteBeneficiario,
6854
- cedpro: this.cedulaAutorizado,
6855
- nompro: this.nombreCheque,
6856
- nomfam: this.nombreFamiliar,
6857
- apefam: this.apellidoFamiliar,
6858
- cedfam: this.cedulaFamiliar,
6859
- dirfam: this.direccionFamiliar,
6860
- telfam: this.telefonoFamiliar,
6861
- nexfam: this.nexoFamiliar,
6862
- nomban: this.nombreBanco,
6863
- nomtipcta: this.denominacionTipoCuenta
7235
+ medact: this.medidaActiva ? '1' : '0',
7236
+ tribunal: this.tribunal,
6864
7237
  };
6865
7238
  }
6866
7239
  }
@@ -6868,6 +7241,7 @@ class MBeneficiario extends MBasicModel {
6868
7241
  class MCargosPersonal extends MBasicModel {
6869
7242
  constructor(p = null) {
6870
7243
  super();
7244
+ this.idEmpresa = 0;
6871
7245
  this.idPersonal = 0;
6872
7246
  this.idCargo = 0;
6873
7247
  this.codigoCargo = '';
@@ -6875,7 +7249,6 @@ class MCargosPersonal extends MBasicModel {
6875
7249
  this.codigoDedicacion = '';
6876
7250
  this.denominacionDedicacion = '';
6877
7251
  this.denominacionTipoPersonalSno = '';
6878
- this.idOrganigrama = 0;
6879
7252
  this.idUbicacionFisica = 0;
6880
7253
  this.denominacionUbicacionFisica = '';
6881
7254
  this.codigoUbicacionFisica = '';
@@ -6887,17 +7260,15 @@ class MCargosPersonal extends MBasicModel {
6887
7260
  this.codigoPaso = '0';
6888
7261
  this.codigoTabulador = '';
6889
7262
  this.denominacionTabulador = '';
6890
- this.codigoOrganigrama = '';
6891
- this.denominacionOrganigrama = '';
6892
7263
  this.idPersonalCargo = 0;
6893
7264
  this.montoSalarioGrado = 0;
6894
7265
  this.montoCompensacionGrado = 0;
6895
7266
  this.estatusMPPPE = false;
7267
+ this.detallesOrganigrama = [];
7268
+ this.organigramaEliminar = [];
7269
+ this.detallesNomina = [];
6896
7270
  if (p) {
6897
7271
  this.idPersonal = parseInt(p.id_personal);
6898
- this.idOrganigrama = parseInt(p.id_organigrama);
6899
- this.codigoOrganigrama = p.codestorg;
6900
- this.denominacionOrganigrama = p.denestorg;
6901
7272
  this.idCargo = +p.id_carper;
6902
7273
  this.codigoCargo = p.codcar;
6903
7274
  this.descripcionCargo = p.descar;
@@ -6919,6 +7290,12 @@ class MCargosPersonal extends MBasicModel {
6919
7290
  this.montoSalarioGrado = parseFloat(p.moncomgra);
6920
7291
  this.montoCompensacionGrado = parseFloat(p.moncomgra);
6921
7292
  this.estatusMPPPE = p.estmpppe == '1' ? true : false;
7293
+ if (p.detalles_organigrama) {
7294
+ this.detallesOrganigrama = p.detalles_organigrama.map(e => new MCargoEstructuraOrganizativa(e));
7295
+ }
7296
+ if (p.detalles_nomina) {
7297
+ this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
7298
+ }
6922
7299
  }
6923
7300
  else {
6924
7301
  this.isNew = true;
@@ -6926,31 +7303,16 @@ class MCargosPersonal extends MBasicModel {
6926
7303
  }
6927
7304
  dataInterface() {
6928
7305
  return {
6929
- id_organigrama: this.idOrganigrama.toString(),
6930
- codestorg: this.codigoOrganigrama,
6931
- denestorg: this.denominacionOrganigrama,
7306
+ id_empresa: this.idEmpresa.toString(),
7307
+ id_personal: this.idPersonal.toString(),
6932
7308
  id_carper: this.idCargo.toString(),
6933
- descar: this.descripcionCargo.toString(),
6934
- codcar: this.codigoCargo,
6935
- codded: this.codigoDedicacion,
6936
- dended: this.denominacionDedicacion,
6937
- dentipper: this.denominacionTipoPersonalSno,
6938
- id_ubifis: this.idUbicacionFisica.toString(),
6939
- codubifis: this.codigoUbicacionFisica,
6940
- denubifis: this.denominacionUbicacionFisica,
6941
- codtipper: this.codigoTipoPersonalSno,
6942
- id_dedicacion: this.idDedicacion.toString(),
6943
- id_tipopersonal: this.idTipoPersonalSno.toString(),
6944
7309
  id_tabulador: this.idTabulador.toString(),
6945
7310
  codgra: this.codigoGrado,
6946
7311
  codpas: this.codigoPaso,
6947
- codtab: this.codigoTabulador,
6948
- destab: this.denominacionTabulador,
7312
+ id_ubifis: this.idUbicacionFisica.toString(),
6949
7313
  id_personalcargo: this.idPersonalCargo.toString(),
6950
- id_personal: this.idPersonal.toString(),
6951
- moncomgra: this.montoCompensacionGrado.toString(),
6952
- monsalgra: this.montoSalarioGrado.toString(),
6953
- estmpppe: this.estatusMPPPE ? '1' : '0',
7314
+ detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
7315
+ eliminar_organigrama: this.organigramaEliminar,
6954
7316
  };
6955
7317
  }
6956
7318
  }
@@ -7218,6 +7580,8 @@ class MConceptosNomina extends MBasicModel {
7218
7580
  this.formulaReducida = '';
7219
7581
  this.nombreSigno = '';
7220
7582
  this.orden = 0;
7583
+ this.evaluarEnPrenomina = 0;
7584
+ this.antiguedadComplementaria = 0;
7221
7585
  if (e) {
7222
7586
  this.idEmpresa = +e.id_empresa;
7223
7587
  this.idNomina = +e.id_nomina;
@@ -7286,6 +7650,8 @@ class MConceptosNomina extends MBasicModel {
7286
7650
  this.formulaReducida = e.forcon.substr(0, 40);
7287
7651
  }
7288
7652
  this.nombreSigno = this.denominacionSigno(this.signoConcepto);
7653
+ this.evaluarEnPrenomina = +e.evaprenom;
7654
+ this.antiguedadComplementaria = +e.antigcomp;
7289
7655
  }
7290
7656
  else {
7291
7657
  this.isNew = true;
@@ -7353,6 +7719,8 @@ class MConceptosNomina extends MBasicModel {
7353
7719
  regincidencia: this.registroIncidencia,
7354
7720
  forincidencia: this.formulaIncidencia,
7355
7721
  orden: this.orden.toString(),
7722
+ evaprenom: this.evaluarEnPrenomina.toString(),
7723
+ antigcomp: this.antiguedadComplementaria.toString(),
7356
7724
  };
7357
7725
  }
7358
7726
  denominacionSigno(sig) {
@@ -7586,8 +7954,9 @@ class MConstantePersonalNomina extends MBasicModel {
7586
7954
  }
7587
7955
  }
7588
7956
 
7589
- class MRango {
7957
+ class MRango extends MBasicModel {
7590
7958
  constructor(e = null) {
7959
+ super();
7591
7960
  this.idEmpresa = 0;
7592
7961
  this.idComponente = 0;
7593
7962
  this.IdRango = 0;
@@ -7606,6 +7975,9 @@ class MRango {
7606
7975
  this.nombreAbreviatura = e.nomabr;
7607
7976
  this.codigoCategoriaRango = e.codcatran;
7608
7977
  }
7978
+ else {
7979
+ this.isNew = true;
7980
+ }
7609
7981
  }
7610
7982
  dataInterface() {
7611
7983
  return {
@@ -7659,66 +8031,298 @@ class MConcursante extends MBasicModel {
7659
8031
  super();
7660
8032
  this.idEmpresa = 0;
7661
8033
  this.idConcurso = 0;
8034
+ this.codigoConcurso = '';
7662
8035
  this.idConcursante = 0;
7663
8036
  this.cedula = '';
7664
8037
  this.idProfesion = 0;
7665
- this.fechaRegistro = '';
7666
- this.nombre = '';
7667
- this.apellido = '';
8038
+ this.profesion = '';
8039
+ this.nombreProfesion = '';
8040
+ this.fechaInscripcion = '';
8041
+ this.nombres = '';
8042
+ this.apellidos = '';
7668
8043
  this.direccion = '';
7669
8044
  this.fechaNacimiento = '';
7670
8045
  this.estadoCivil = '';
7671
8046
  this.codigoPais = '';
8047
+ this.nombrePais = '';
7672
8048
  this.codigoEstado = '';
8049
+ this.nombreEstado = '';
7673
8050
  this.nacionalidad = '';
7674
8051
  this.telefono = '';
7675
8052
  this.celular = '';
7676
8053
  this.correo = '';
7677
8054
  this.genero = '';
7678
8055
  this.nivelAcademico = 0;
8056
+ this.estatusRequisitos = 1;
7679
8057
  if (e) {
7680
8058
  this.idEmpresa = parseInt(e.id_empresa);
7681
- this.idConcursante = parseInt(e.id_concurso);
8059
+ this.idConcurso = parseInt(e.id_concurso);
8060
+ this.codigoConcurso = e.codcon;
7682
8061
  this.idConcursante = parseInt(e.id_concursante);
7683
8062
  this.cedula = e.cedper;
7684
8063
  this.idProfesion = parseInt(e.id_profesion);
7685
- this.fechaRegistro = e.fecreg;
7686
- this.nombre = e.nomper;
7687
- this.apellido = e.apeper;
8064
+ this.profesion = e.profesion;
8065
+ this.nombreProfesion = e.nombre_profesion;
8066
+ this.fechaInscripcion = e.fecreg;
8067
+ this.nombres = e.nomper;
8068
+ this.apellidos = e.apeper;
7688
8069
  this.direccion = e.dirper;
7689
8070
  this.fechaNacimiento = e.fecnacper;
7690
8071
  this.estadoCivil = e.estcivper;
7691
8072
  this.codigoPais = e.codpai;
8073
+ this.nombrePais = e.nombre_pais;
7692
8074
  this.codigoEstado = e.codest;
8075
+ this.nombreEstado = e.nombre_estado;
7693
8076
  this.nacionalidad = e.nacper;
7694
8077
  this.telefono = e.telhabper;
7695
8078
  this.celular = e.telmovper;
7696
8079
  this.correo = e.emaper;
7697
8080
  this.genero = e.sexper;
7698
8081
  this.nivelAcademico = parseInt(e.nivacaper);
8082
+ this.estatusRequisitos = parseInt(e.estconper);
7699
8083
  }
7700
8084
  }
7701
8085
  dataInterface() {
7702
8086
  return {
7703
8087
  id_empresa: this.idEmpresa.toString(),
7704
8088
  id_concurso: this.idConcurso.toString(),
7705
- id_concursante: this.idConcurso.toString(),
8089
+ codcon: this.codigoConcurso,
8090
+ id_concursante: this.idConcursante.toString(),
7706
8091
  cedper: this.cedula,
7707
8092
  id_profesion: this.idProfesion.toString(),
7708
- fecreg: this.fechaRegistro,
7709
- nomper: this.nombre,
7710
- apeper: this.apellido,
8093
+ profesion: this.profesion,
8094
+ nombre_profesion: this.nombreProfesion,
8095
+ fecreg: this.fechaInscripcion,
8096
+ nomper: this.nombres,
8097
+ apeper: this.apellidos,
7711
8098
  dirper: this.direccion,
7712
8099
  fecnacper: this.fechaNacimiento,
7713
8100
  estcivper: this.estadoCivil,
7714
8101
  codpai: this.codigoPais,
8102
+ nombre_pais: this.nombrePais,
7715
8103
  codest: this.codigoEstado,
8104
+ nombre_estado: this.nombreEstado,
7716
8105
  nacper: this.nacionalidad,
7717
8106
  telhabper: this.telefono,
7718
8107
  telmovper: this.celular,
7719
8108
  emaper: this.correo,
7720
8109
  sexper: this.genero,
7721
- nivacaper: this.nivelAcademico.toString()
8110
+ nivacaper: this.nivelAcademico.toString(),
8111
+ estconper: this.estatusRequisitos.toString()
8112
+ };
8113
+ }
8114
+ }
8115
+ class MTrabajosConcursantes extends MBasicModel {
8116
+ constructor(e) {
8117
+ super();
8118
+ this.idEmpresa = 0;
8119
+ this.idConcurso = 0;
8120
+ this.idConcursante = 0;
8121
+ this.idTrabajo = 0;
8122
+ this.codigo = '';
8123
+ this.empresaTrabajoAnterior = '';
8124
+ this.cargoTrabajoAnterior = '';
8125
+ this.fechaIngreso = '';
8126
+ this.fechaRetiro = '';
8127
+ if (e) {
8128
+ this.idEmpresa = parseInt(e.id_empresa);
8129
+ this.idConcurso = parseInt(e.id_concurso);
8130
+ this.idConcursante = parseInt(e.id_concursante);
8131
+ this.idTrabajo = parseInt(e.id_trabajocon);
8132
+ this.codigo = e.codtraper;
8133
+ this.empresaTrabajoAnterior = e.emptraper;
8134
+ this.cargoTrabajoAnterior = e.cartraant;
8135
+ this.fechaIngreso = e.fecingtraant;
8136
+ this.fechaRetiro = e.fecrettraant;
8137
+ }
8138
+ else {
8139
+ this.isNew = true;
8140
+ }
8141
+ }
8142
+ dataInterface() {
8143
+ return {
8144
+ id_empresa: this.idEmpresa.toString(),
8145
+ id_concurso: this.idConcurso.toString(),
8146
+ id_concursante: this.idConcursante.toString(),
8147
+ id_trabajocon: this.idTrabajo.toString(),
8148
+ codtraper: this.codigo,
8149
+ emptraper: this.empresaTrabajoAnterior,
8150
+ cartraant: this.cargoTrabajoAnterior,
8151
+ fecingtraant: this.fechaIngreso,
8152
+ fecrettraant: this.fechaRetiro
8153
+ };
8154
+ }
8155
+ }
8156
+ class MEstudiosConcursantes extends MBasicModel {
8157
+ constructor(e = null) {
8158
+ super();
8159
+ this.idEmpresa = 0;
8160
+ this.idConcurso = 0;
8161
+ this.idConcursante = 0;
8162
+ this.idEstudio = 0;
8163
+ this.codigoEstudio = '';
8164
+ this.institutoEstudio = '';
8165
+ this.descripcionEstudio = '';
8166
+ this.fechaInicioEstudio = '';
8167
+ this.fechaFinEstudio = '';
8168
+ this.tituloObtenido = 0;
8169
+ this.yearAprobados = 0;
8170
+ this.horasEstudiosRealizadas = 0;
8171
+ if (e) {
8172
+ this.idEmpresa = parseInt(e.id_empresa);
8173
+ this.idConcurso = parseInt(e.id_concurso);
8174
+ this.idConcursante = parseInt(e.id_concursante);
8175
+ this.idEstudio = parseInt(e.id_estudiocon);
8176
+ this.codigoEstudio = e.codestrea;
8177
+ this.institutoEstudio = e.insestper;
8178
+ this.descripcionEstudio = e.desestper;
8179
+ this.fechaInicioEstudio = e.fecinireaest;
8180
+ this.fechaFinEstudio = e.fecfinestrea;
8181
+ this.tituloObtenido = parseInt(e.titestper);
8182
+ this.yearAprobados = parseInt(e.anoaprestper);
8183
+ this.horasEstudiosRealizadas = parseInt(e.horestrea);
8184
+ }
8185
+ else {
8186
+ this.isNew = true;
8187
+ }
8188
+ }
8189
+ dataInterface() {
8190
+ return {
8191
+ id_empresa: this.idEmpresa.toString(),
8192
+ id_concurso: this.idConcurso.toString(),
8193
+ id_concursante: this.idConcursante.toString(),
8194
+ id_estudiocon: this.idEstudio.toString(),
8195
+ codestrea: this.codigoEstudio,
8196
+ insestper: this.institutoEstudio,
8197
+ desestper: this.descripcionEstudio,
8198
+ fecinireaest: this.fechaInicioEstudio,
8199
+ fecfinestrea: this.fechaFinEstudio,
8200
+ titestper: this.tituloObtenido.toString(),
8201
+ anoaprestper: this.yearAprobados.toString(),
8202
+ horestrea: this.horasEstudiosRealizadas.toString(),
8203
+ };
8204
+ }
8205
+ }
8206
+ class MExperienciaLaboral extends MBasicModel {
8207
+ constructor(e = null) {
8208
+ super();
8209
+ this.idEmpresa = 0;
8210
+ this.idConcurso = 0;
8211
+ this.idConcursante = 0;
8212
+ this.idTrabajoConcursante = 0;
8213
+ this.codigoTrabajo = '';
8214
+ this.empresa = '';
8215
+ this.cargo = '';
8216
+ this.fechaIngreso = '';
8217
+ this.fechaRetiro = '';
8218
+ if (e) {
8219
+ this.idEmpresa = parseInt(e.id_empresa);
8220
+ this.idConcursante = parseInt(e.id_concurso);
8221
+ this.idConcursante = parseInt(e.id_concursante);
8222
+ this.idTrabajoConcursante = parseInt(e.id_trabajocon);
8223
+ this.codigoTrabajo = e.codtra;
8224
+ this.empresa = e.emptraper;
8225
+ this.cargo = e.cartraant;
8226
+ this.fechaIngreso = e.fecingtraant;
8227
+ this.fechaRetiro = e.fecrettraant;
8228
+ }
8229
+ else {
8230
+ this.isNew = true;
8231
+ }
8232
+ }
8233
+ dataInterface() {
8234
+ return {
8235
+ id_empresa: this.idEmpresa.toString(),
8236
+ id_concurso: this.idConcurso.toString(),
8237
+ id_concursante: this.idConcursante.toString(),
8238
+ id_trabajocon: this.idTrabajoConcursante.toString(),
8239
+ codtra: this.codigoTrabajo,
8240
+ emptraper: this.empresa,
8241
+ cartraant: this.cargo,
8242
+ fecingtraant: this.fechaIngreso,
8243
+ fecrettraant: this.fechaRetiro
8244
+ };
8245
+ }
8246
+ }
8247
+ class MFamiliaConcursante extends MBasicModel {
8248
+ constructor(e = null) {
8249
+ super();
8250
+ this.idEmpresa = 0;
8251
+ this.idConcurso = 0;
8252
+ this.idConcursante = 0;
8253
+ this.idFamiliar = 0;
8254
+ this.codigo = '';
8255
+ this.cedula = '';
8256
+ this.nombre = '';
8257
+ this.apellido = '';
8258
+ this.sexo = '';
8259
+ this.nexo = '';
8260
+ this.fecha = '';
8261
+ if (e) {
8262
+ this.idEmpresa = parseInt(e.id_empresa);
8263
+ this.idConcurso = parseInt(e.id_concurso);
8264
+ this.idConcursante = parseInt(e.id_concursante);
8265
+ this.idFamiliar = parseInt(e.id_familiacon);
8266
+ this.codigo = e.codfam;
8267
+ this.cedula = e.cedfam;
8268
+ this.nombre = e.nomfam;
8269
+ this.apellido = e.apefam;
8270
+ this.sexo = e.sexfam;
8271
+ this.nexo = e.nexfam;
8272
+ this.fecha = e.fecnacfam;
8273
+ }
8274
+ else {
8275
+ this.isNew = true;
8276
+ }
8277
+ }
8278
+ dataInterface() {
8279
+ return {
8280
+ id_empresa: this.idEmpresa.toString(),
8281
+ id_concurso: this.idConcurso.toString(),
8282
+ id_concursante: this.idConcursante.toString(),
8283
+ id_familiacon: this.idFamiliar.toString(),
8284
+ codfam: this.codigo,
8285
+ cedfam: this.cedula,
8286
+ nomfam: this.nombre,
8287
+ apefam: this.apellido,
8288
+ sexfam: this.sexo,
8289
+ nexfam: this.nexo,
8290
+ fecnacfam: this.fecha,
8291
+ };
8292
+ }
8293
+ }
8294
+ class MFormacionInformal extends MBasicModel {
8295
+ constructor(e = null) {
8296
+ super();
8297
+ this.idEmpresa = 0;
8298
+ this.idConcurso = 0;
8299
+ this.idConcursante = 0;
8300
+ this.idCurso = 0;
8301
+ this.codigoCurso = '';
8302
+ this.descripcionCurso = '';
8303
+ this.horasCurso = 0;
8304
+ if (e) {
8305
+ this.idEmpresa = parseInt(e.id_empresa);
8306
+ this.idConcursante = parseInt(e.id_concurso);
8307
+ this.idConcursante = parseInt(e.id_concursante);
8308
+ this.idCurso = parseInt(e.id_curso);
8309
+ this.codigoCurso = e.codcur;
8310
+ this.descripcionCurso = e.desestrea;
8311
+ this.horasCurso = parseInt(e.horestrea);
8312
+ }
8313
+ else {
8314
+ this.isNew = true;
8315
+ }
8316
+ }
8317
+ dataInterface() {
8318
+ return {
8319
+ id_empresa: this.idEmpresa.toString(),
8320
+ id_concurso: this.idConcurso.toString(),
8321
+ id_concursante: this.idConcurso.toString(),
8322
+ id_curso: this.idCurso.toString(),
8323
+ codcur: this.codigoCurso,
8324
+ desestrea: this.descripcionCurso,
8325
+ horestrea: this.horasCurso.toString()
7722
8326
  };
7723
8327
  }
7724
8328
  }
@@ -7811,10 +8415,185 @@ class MConcurso extends MBasicModel {
7811
8415
  eliminar_detalles: this.eliminarDetalles,
7812
8416
  };
7813
8417
  }
7814
- }
7815
-
7816
- class MTipoPersonal extends MBasicModel {
7817
- constructor(e) {
8418
+ }
8419
+ class MPrevioEvaluacion extends MBasicModel {
8420
+ constructor(e = null) {
8421
+ super();
8422
+ this.idEmpresa = 0;
8423
+ this.idPrevio = 0;
8424
+ this.proceso = '';
8425
+ this.idConcurso = 0;
8426
+ this.codigoConcurso = '';
8427
+ this.nombreConcurso = '';
8428
+ this.idConcursante = 0;
8429
+ this.codigoConcursante = '';
8430
+ this.nombreConcursante = '';
8431
+ this.idTipoEvaluacion = 0;
8432
+ this.codigoTipoEvaluacion = '';
8433
+ this.nombreTipoEvaluacion = '';
8434
+ this.fechaRegistro = '';
8435
+ this.valorMinimoRequerido = 0;
8436
+ this.usuarioRegistro = '';
8437
+ this.horaRegistro = '';
8438
+ this.estatusRegistro = 0;
8439
+ this.detallesRegistro = [];
8440
+ if (e) {
8441
+ this.idEmpresa = parseInt(e.id_empresa);
8442
+ this.idPrevio = parseInt(e.id_previo);
8443
+ this.proceso = e.proceso;
8444
+ this.idConcurso = parseInt(e.id_concurso);
8445
+ this.codigoConcurso = e.codcon,
8446
+ this.nombreConcurso = e.dencon,
8447
+ this.idConcursante = parseInt(e.id_concursante);
8448
+ this.codigoConcursante = e.cedper,
8449
+ this.nombreConcursante = e.nomper,
8450
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8451
+ this.codigoTipoEvaluacion = e.codtipeval;
8452
+ this.nombreTipoEvaluacion = e.dentipeval;
8453
+ this.fechaRegistro = e.fecha;
8454
+ this.valorMinimoRequerido = parseFloat(e.punreqmin);
8455
+ this.usuarioRegistro = e.usuario;
8456
+ this.horaRegistro = e.hora;
8457
+ this.estatusRegistro = parseInt(e.estatus);
8458
+ this.tipo = e.tipo;
8459
+ this.detallesRegistro = e.detalles.map(e => new MPrevioEvaluacionDt(e));
8460
+ }
8461
+ else {
8462
+ this.isNew = true;
8463
+ }
8464
+ }
8465
+ dataInterface() {
8466
+ return {
8467
+ id_empresa: this.idEmpresa.toString(),
8468
+ id_previo: this.idPrevio.toString(),
8469
+ proceso: this.proceso,
8470
+ id_concurso: this.idConcurso.toString(),
8471
+ codcon: this.codigoConcurso,
8472
+ dencon: this.nombreConcurso,
8473
+ id_concursante: this.idConcursante.toString(),
8474
+ cedper: this.codigoConcursante,
8475
+ nomper: this.nombreConcursante,
8476
+ id_tipoeval: this.idTipoEvaluacion.toString(),
8477
+ codtipeval: this.codigoTipoEvaluacion,
8478
+ dentipeval: this.nombreTipoEvaluacion,
8479
+ fecha: this.fechaRegistro,
8480
+ punreqmin: this.valorMinimoRequerido.toString(),
8481
+ usuario: this.usuarioRegistro,
8482
+ hora: this.horaRegistro,
8483
+ estatus: this.estatusRegistro.toString(),
8484
+ tipo: this.tipo,
8485
+ detalles: this.detallesRegistro.map(function (e) { return e.dataInterface(); })
8486
+ };
8487
+ }
8488
+ }
8489
+ class MPrevioEvaluacionDt extends MBasicModel {
8490
+ constructor(e = null) {
8491
+ super();
8492
+ this.idEmpresa = 0;
8493
+ this.idPrevio = 0;
8494
+ this.idAspecto = 0;
8495
+ this.idTipoEvaluacion = 0;
8496
+ this.idItem = 0;
8497
+ this.idDtPrevio = 0;
8498
+ this.codigo = '';
8499
+ this.descripcion = '';
8500
+ this.puntos = 0;
8501
+ this.valorMaximo = 0;
8502
+ if (e) {
8503
+ this.idEmpresa = parseInt(e.id_empresa);
8504
+ this.idPrevio = parseInt(e.id_previo);
8505
+ this.idAspecto = parseInt(e.id_aspecto);
8506
+ this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8507
+ this.idItem = parseInt(e.id_item);
8508
+ this.idDtPrevio = parseInt(e.id_dt_previo);
8509
+ this.codigo = e.codite;
8510
+ this.descripcion = e.denite;
8511
+ this.puntos = parseInt(e.puntos);
8512
+ this.valorMaximo = parseInt(e.valormax);
8513
+ }
8514
+ else {
8515
+ this.isNew = true;
8516
+ }
8517
+ }
8518
+ dataInterface() {
8519
+ return {
8520
+ id_empresa: this.idEmpresa.toString(),
8521
+ id_previo: this.idPrevio.toString(),
8522
+ id_tipoeval: this.idTipoEvaluacion.toString(),
8523
+ id_aspecto: this.idAspecto.toString(),
8524
+ id_item: this.idItem.toString(),
8525
+ codite: this.codigo,
8526
+ denite: this.descripcion,
8527
+ puntos: this.puntos.toString(),
8528
+ valormax: this.valorMaximo.toString(),
8529
+ id_dt_previo: this.idDtPrevio.toString(),
8530
+ };
8531
+ }
8532
+ }
8533
+ class MResultadosEvaluacion extends MBasicModel {
8534
+ constructor(e) {
8535
+ super();
8536
+ this.idEmpresa = 0;
8537
+ this.idEvaluacion = 0;
8538
+ this.idConcurso = 0;
8539
+ this.codigoConcurso = '';
8540
+ this.nombreConcurso = '';
8541
+ this.idConcursante = 0;
8542
+ this.codigoConcursante = '';
8543
+ this.nombreConcursante = '';
8544
+ this.observacion = '';
8545
+ this.fechaRegistro = '';
8546
+ this.resultado_tec = 0;
8547
+ this.resultado_total = 0;
8548
+ this.resultado_psi = 0;
8549
+ this.resultado_rqm = 0;
8550
+ this.usuarioRegistro = '';
8551
+ if (e) {
8552
+ this.idEmpresa = parseInt(e.id_empresa);
8553
+ this.idEvaluacion = parseInt(e.id_evaluacion);
8554
+ this.idConcurso = parseInt(e.id_concurso);
8555
+ this.codigoConcurso = e.codcon,
8556
+ this.nombreConcurso = e.dencon,
8557
+ this.idConcursante = parseInt(e.id_concursante);
8558
+ this.codigoConcursante = e.cedper,
8559
+ this.nombreConcursante = e.nomper,
8560
+ this.observacion = e.observacion,
8561
+ this.fechaRegistro = e.fecha;
8562
+ this.usuarioRegistro = e.usuario;
8563
+ this.resultado_tec = parseFloat(e.resultado_tec);
8564
+ this.resultado_total = parseFloat(e.resultado_total);
8565
+ this.resultado_psi = parseFloat(e.resultado_psi);
8566
+ this.resultado_rqm = parseFloat(e.resultado_rqm);
8567
+ this.conclusion = e.conclusion;
8568
+ }
8569
+ else {
8570
+ this.isNew = true;
8571
+ }
8572
+ }
8573
+ dataInterface() {
8574
+ return {
8575
+ id_empresa: this.idEmpresa.toString(),
8576
+ id_evaluacion: this.idEvaluacion.toString(),
8577
+ id_concurso: this.idConcurso.toString(),
8578
+ codcon: this.codigoConcurso,
8579
+ dencon: this.nombreConcurso,
8580
+ id_concursante: this.idConcursante.toString(),
8581
+ cedper: this.codigoConcursante,
8582
+ nomper: this.nombreConcursante,
8583
+ observacion: this.observacion,
8584
+ fecha: this.fechaRegistro,
8585
+ usuario: this.usuarioRegistro,
8586
+ resultado_tec: this.resultado_tec.toString(),
8587
+ resultado_psi: this.resultado_psi.toString(),
8588
+ resultado_total: this.resultado_total.toString(),
8589
+ resultado_rqm: this.resultado_rqm.toString(),
8590
+ conclusion: this.conclusion,
8591
+ };
8592
+ }
8593
+ }
8594
+
8595
+ class MTipoPersonal extends MBasicModel {
8596
+ constructor(e) {
7818
8597
  super();
7819
8598
  this.idEmpresa = 0;
7820
8599
  this.idDedicacion = 0;
@@ -8030,6 +8809,25 @@ class MEstructuraOrganizativa extends MBasicModel {
8030
8809
  this.idEp4 = 0;
8031
8810
  this.idEp5 = 0;
8032
8811
  this.codigoPadre = '';
8812
+ this.codigoPais = '000058';
8813
+ this.nombrePais = 'Venezuela';
8814
+ this.codigoEstado = '';
8815
+ this.nombreEstado = '';
8816
+ this.codigoMunicipio = '';
8817
+ this.nombreMunicipio = '';
8818
+ this.codigoParroquia = '';
8819
+ this.nombreParroquia = '';
8820
+ this.estatusmpppe = 0;
8821
+ this.ubicacionBolivariana = 0;
8822
+ this.ubicacionFrontera = 0;
8823
+ this.ubicacionIndigena = 0;
8824
+ this.ubicacionInsular = 0;
8825
+ this.ubicacionMarginal = 0;
8826
+ this.ubicacionNocturno = 0;
8827
+ this.ubicacionPlanta = 0;
8828
+ this.ubicacionRobinson = 0;
8829
+ this.ubicacionZona = 0;
8830
+ this.ubicacionNoAplica = 0;
8033
8831
  if (e) {
8034
8832
  this.idEmpresa = parseInt(e.id_empresa);
8035
8833
  this.idOrganigrama = parseInt(e.id_organigrama);
@@ -8044,6 +8842,25 @@ class MEstructuraOrganizativa extends MBasicModel {
8044
8842
  this.idEp4 = parseInt(e.id_ep4);
8045
8843
  this.idEp5 = parseInt(e.id_ep5);
8046
8844
  this.codigoPadre = e.codpadre;
8845
+ this.codigoPais = e.codpai;
8846
+ this.nombrePais = e.despai;
8847
+ this.codigoEstado = e.codest;
8848
+ this.nombreEstado = e.desest;
8849
+ this.codigoMunicipio = e.codmun;
8850
+ this.nombreMunicipio = e.desmun;
8851
+ this.codigoParroquia = e.codpar;
8852
+ this.nombreParroquia = e.despar;
8853
+ this.estatusmpppe = e.estmpppe;
8854
+ this.ubicacionBolivariana = e.ubibolivariana;
8855
+ this.ubicacionFrontera = e.ubifrontera;
8856
+ this.ubicacionIndigena = e.ubiindigena;
8857
+ this.ubicacionInsular = e.ubiinsular;
8858
+ this.ubicacionMarginal = e.ubimarginal;
8859
+ this.ubicacionNocturno = e.ubinocturno;
8860
+ this.ubicacionPlanta = e.ubiplanta;
8861
+ this.ubicacionRobinson = e.ubirobinson;
8862
+ this.ubicacionZona = e.ubizona;
8863
+ this.ubicacionNoAplica = e.ubinoaplica;
8047
8864
  }
8048
8865
  }
8049
8866
  dataInterface() {
@@ -8061,6 +8878,25 @@ class MEstructuraOrganizativa extends MBasicModel {
8061
8878
  id_ep4: this.idEp4.toString(),
8062
8879
  id_ep5: this.idEp5.toString(),
8063
8880
  codpadre: this.codigoPadre,
8881
+ codpai: this.codigoPais,
8882
+ despai: this.nombrePais,
8883
+ codest: this.codigoEstado,
8884
+ desest: this.nombreEstado,
8885
+ codmun: this.codigoMunicipio,
8886
+ desmun: this.nombreMunicipio,
8887
+ codpar: this.codigoParroquia,
8888
+ despar: this.nombreParroquia,
8889
+ estmpppe: this.estatusmpppe,
8890
+ ubibolivariana: this.ubicacionBolivariana,
8891
+ ubifrontera: this.ubicacionFrontera,
8892
+ ubiindigena: this.ubicacionIndigena,
8893
+ ubiinsular: this.ubicacionInsular,
8894
+ ubimarginal: this.ubicacionMarginal,
8895
+ ubinocturno: this.ubicacionNocturno,
8896
+ ubiplanta: this.ubicacionPlanta,
8897
+ ubirobinson: this.ubicacionRobinson,
8898
+ ubizona: this.ubicacionZona,
8899
+ ubinoaplica: this.ubicacionNoAplica
8064
8900
  };
8065
8901
  }
8066
8902
  }
@@ -8087,6 +8923,7 @@ class MFamiliares extends MBasicModel {
8087
8923
  this.codigoFamiliar = '';
8088
8924
  this.direccionFamiliar = '';
8089
8925
  this.telefonoFamiliar = '';
8926
+ this.hijoDiscapacidad = '0';
8090
8927
  if (e) {
8091
8928
  this.idEmpresa = parseInt(e.id_empresa);
8092
8929
  this.idPersonal = parseInt(e.id_personal);
@@ -8107,6 +8944,10 @@ class MFamiliares extends MBasicModel {
8107
8944
  this.codigoFamiliar = e.codfam;
8108
8945
  this.direccionFamiliar = e.dirfam;
8109
8946
  this.telefonoFamiliar = e.telfam;
8947
+ this.hijoDiscapacidad = e.hijodiscapacitado;
8948
+ }
8949
+ else {
8950
+ this.isNew = true;
8110
8951
  }
8111
8952
  }
8112
8953
  dataInterface() {
@@ -8130,6 +8971,7 @@ class MFamiliares extends MBasicModel {
8130
8971
  codfam: this.codigoFamiliar,
8131
8972
  dirfam: this.direccionFamiliar,
8132
8973
  telfam: this.telefonoFamiliar,
8974
+ hijodiscapacitado: this.hijoDiscapacidad,
8133
8975
  };
8134
8976
  }
8135
8977
  }
@@ -8184,8 +9026,8 @@ class MFideicomiso extends MBasicModel {
8184
9026
  this.idfideicomiso = 0;
8185
9027
  this.codigoFideicomiso = '';
8186
9028
  this.fichaFideicomico = '';
8187
- this.ubicacionFideicomiso = '';
8188
9029
  this.cuentaFideicomiso = '';
9030
+ this.idCuentaFideicomiso = 0;
8189
9031
  this.fechaIngresoFideicomiso = '1900-01-01';
8190
9032
  this.capitalizacionFideicomiso = 'N';
8191
9033
  this.capitalizarAntiguedadComplementaria = 0;
@@ -8195,14 +9037,17 @@ class MFideicomiso extends MBasicModel {
8195
9037
  this.scgCuentaAntiguedadFideicomiso = '';
8196
9038
  this.scgcuentaInteresFideicomiso = '';
8197
9039
  this.calcularIteresFideicomiso = 0;
9040
+ this.idUbicacionFisica = 0;
9041
+ this.denominacionUbicacionFisica = '';
9042
+ this.codigoUbicacionFisica = '';
8198
9043
  if (e) {
8199
9044
  this.idEmpresa = parseInt(e.id_empresa);
8200
9045
  this.idPersonal = parseInt(e.id_personal);
8201
9046
  this.idfideicomiso = parseInt(e.id_fideicomiso);
8202
9047
  this.codigoFideicomiso = e.codfid;
8203
9048
  this.fichaFideicomico = e.ficfid;
8204
- this.ubicacionFideicomiso = e.ubifid;
8205
- this.cuentaFideicomiso = e.cuefid;
9049
+ this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
9050
+ this.cuentaFideicomiso = e.ctabanper;
8206
9051
  this.fechaIngresoFideicomiso = e.fecingfid;
8207
9052
  this.capitalizacionFideicomiso = e.capfid;
8208
9053
  this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
@@ -8212,6 +9057,12 @@ class MFideicomiso extends MBasicModel {
8212
9057
  this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
8213
9058
  this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
8214
9059
  this.calcularIteresFideicomiso = +e.calintfid;
9060
+ this.idUbicacionFisica = parseInt(e.id_ubifis);
9061
+ this.denominacionUbicacionFisica = e.denubifis;
9062
+ this.codigoUbicacionFisica = e.codubifis;
9063
+ }
9064
+ else {
9065
+ this.isNew = true;
8215
9066
  }
8216
9067
  }
8217
9068
  dataInterface() {
@@ -8221,8 +9072,7 @@ class MFideicomiso extends MBasicModel {
8221
9072
  id_fideicomiso: this.idfideicomiso.toString(),
8222
9073
  codfid: this.codigoFideicomiso,
8223
9074
  ficfid: this.fichaFideicomico,
8224
- ubifid: this.ubicacionFideicomiso,
8225
- cuefid: this.cuentaFideicomiso,
9075
+ id_ctabanper: this.idCuentaFideicomiso.toString(),
8226
9076
  fecingfid: this.fechaIngresoFideicomiso,
8227
9077
  capfid: this.capitalizacionFideicomiso,
8228
9078
  capantcom: this.capitalizarAntiguedadComplementaria.toString(),
@@ -8232,136 +9082,456 @@ class MFideicomiso extends MBasicModel {
8232
9082
  scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
8233
9083
  scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
8234
9084
  calintfid: +this.calcularIteresFideicomiso,
9085
+ id_ubifis: this.idUbicacionFisica.toString(),
8235
9086
  };
8236
9087
  }
8237
- }
8238
-
8239
- class MFormacionAcademica extends MBasicModel {
9088
+ }
9089
+ class MConfiguracionFideicomiso extends MBasicModel {
8240
9090
  constructor(e) {
8241
9091
  super();
8242
9092
  this.idEmpresa = 0;
8243
- this.idConcurso = 0;
8244
- this.idConcursante = 0;
8245
- this.idEstudioConcursante = 0;
8246
- this.codigoEstudio = '';
8247
- this.institutoEstudio = '';
8248
- this.descripcionEstudio = '';
8249
- this.fechaInicial = '';
8250
- this.fechaFin = '';
8251
- this.tituloObtenido = '';
8252
- this.yearAprobados = 0;
9093
+ this.idFideicomisoConfiguracion = 0;
9094
+ this.idDedicacion = 0;
9095
+ this.idTipoPersonal = 0;
9096
+ this.anioCursoFideicomiso = '';
9097
+ this.diaBonoVacacionalFideicomiso = 0;
9098
+ this.diasBonoFinAnio = 0;
9099
+ this.cuentaFideicomiso = '';
9100
+ this.denominacionDedicacion = '';
9101
+ this.codigoDedicacion = '';
9102
+ this.codigoTipoPersonal = '';
9103
+ this.denominacionTipoPersonal = '';
9104
+ this.formulaFideicomiso = 'xxx';
8253
9105
  if (e) {
8254
9106
  this.idEmpresa = parseInt(e.id_empresa);
8255
- this.idConcurso = parseInt(e.id_concurso);
8256
- this.idConcursante = parseInt(e.id_concursante);
8257
- this.idEstudioConcursante = parseInt(e.id_estudiocon);
8258
- this.codigoEstudio = e.codestrea;
8259
- this.institutoEstudio = e.insestper;
8260
- this.descripcionEstudio = e.desestper;
8261
- this.fechaInicial = e.fecinireaest;
8262
- this.fechaFin = e.fecfinestrea;
8263
- this.tituloObtenido = e.titestper;
8264
- this.yearAprobados = parseInt(e.anoaprestper);
9107
+ this.idDedicacion = parseInt(e.id_dedicacion);
9108
+ this.idTipoPersonal = parseInt(e.id_tipopersonal);
9109
+ this.anioCursoFideicomiso = e.anocurfid;
9110
+ this.diaBonoVacacionalFideicomiso = parseInt(e.diabonvacfid);
9111
+ this.diasBonoFinAnio = parseInt(e.diabonfinfid);
9112
+ this.cuentaFideicomiso = e.cuefid;
9113
+ this.denominacionDedicacion = e.dended;
9114
+ this.codigoDedicacion = e.codded;
9115
+ this.codigoTipoPersonal = e.codtipper;
9116
+ this.denominacionTipoPersonal = e.dentipper;
9117
+ this.idFideicomisoConfiguracion = parseInt(e.id_fidconfig);
9118
+ this.formulaFideicomiso = e.forfid;
9119
+ }
9120
+ else {
9121
+ this.isNew = true;
8265
9122
  }
8266
9123
  }
8267
9124
  dataInterface() {
8268
9125
  return {
8269
9126
  id_empresa: this.idEmpresa.toString(),
8270
- id_concurso: this.idConcurso.toString(),
8271
- id_concursante: this.idConcursante.toString(),
8272
- id_estudiocon: this.idEstudioConcursante.toString(),
8273
- codestrea: this.codigoEstudio,
8274
- insestper: this.institutoEstudio,
8275
- desestper: this.descripcionEstudio,
8276
- fecinireaest: this.fechaInicial,
8277
- fecfinestrea: this.fechaFin,
8278
- titestper: this.tituloObtenido,
8279
- anoaprestper: this.yearAprobados.toString()
9127
+ id_fidconfig: this.idFideicomisoConfiguracion.toString(),
9128
+ id_dedicacion: this.idDedicacion.toString(),
9129
+ id_tipopersonal: this.idTipoPersonal.toString(),
9130
+ anocurfid: this.anioCursoFideicomiso,
9131
+ diabonvacfid: this.diaBonoVacacionalFideicomiso.toString(),
9132
+ diabonfinfid: this.diasBonoFinAnio.toString(),
9133
+ cuefid: this.cuentaFideicomiso,
9134
+ forfid: this.formulaFideicomiso,
8280
9135
  };
8281
9136
  }
8282
- }
8283
-
8284
- class MPrimaGrados extends MBasicModel {
8285
- constructor(e = null) {
9137
+ }
9138
+ class MFideicomisoInteres extends MBasicModel {
9139
+ constructor(e) {
8286
9140
  super();
8287
9141
  this.idEmpresa = 0;
8288
- this.idTabulador = 0;
8289
- this.codigoGrado = '';
8290
- this.codigoPaso = '';
8291
- this.codigoPrima = '';
8292
- this.descripcionPrima = '';
8293
- this.montoPrima = 0;
8294
- this.IdDetallePrima = 0;
8295
- this.isNew = true;
9142
+ this.idInteresFideicomiso = 0;
9143
+ this.mesInteres = 0;
9144
+ this.anioInteres = 0;
9145
+ this.numeroGacetaInteres = '';
9146
+ this.fechaVigenciaGacetaInteres = '1900-01-01';
9147
+ this.montoTasaInteres = 0;
8296
9148
  if (e) {
8297
9149
  this.idEmpresa = parseInt(e.id_empresa);
8298
- this.idTabulador = parseInt(e.id_tabulador);
8299
- this.codigoGrado = e.codgra;
8300
- this.codigoPaso = e.codpas;
8301
- this.codigoPrima = e.codpri;
8302
- this.descripcionPrima = e.despri;
8303
- this.montoPrima = parseInt(e.monpri);
8304
- this.IdDetallePrima = parseInt(e.id_dt_prima);
8305
- this.isNew = false;
9150
+ this.idInteresFideicomiso = parseInt(e.id_intfide);
9151
+ this.mesInteres = parseInt(e.mesint);
9152
+ this.anioInteres = parseInt(e.anoint);
9153
+ this.numeroGacetaInteres = e.nrogacint;
9154
+ this.fechaVigenciaGacetaInteres = e.fecviggacint;
9155
+ this.montoTasaInteres = +e.montasint;
9156
+ }
9157
+ else {
9158
+ this.isNew = true;
8306
9159
  }
8307
9160
  }
8308
9161
  dataInterface() {
8309
9162
  return {
8310
9163
  id_empresa: this.idEmpresa.toString(),
8311
- id_tabulador: this.idTabulador.toString(),
8312
- codgra: this.codigoGrado,
8313
- codpas: this.codigoPaso,
8314
- codpri: this.codigoPrima,
8315
- despri: this.descripcionPrima,
8316
- monpri: this.montoPrima.toString(),
8317
- id_dt_prima: this.IdDetallePrima.toString(),
9164
+ id_intfide: this.idInteresFideicomiso.toString(),
9165
+ mesint: this.mesInteres.toString(),
9166
+ anoint: this.anioInteres.toString(),
9167
+ nrogacint: this.numeroGacetaInteres,
9168
+ fecviggacint: this.fechaVigenciaGacetaInteres,
9169
+ montasint: this.montoTasaInteres.toString(),
8318
9170
  };
8319
9171
  }
8320
- }
8321
-
8322
- class MGrados extends MBasicModel {
9172
+ }
9173
+ class MCalculoPrestacion extends MBasicModel {
8323
9174
  constructor(e = null) {
8324
9175
  super();
8325
9176
  this.idEmpresa = 0;
8326
- this.idTabulador = 0;
8327
- this.codigoGrado = 0;
8328
- this.codigoPaso = 0;
8329
- this.montoSalario = 0;
8330
- this.montoCompensacion = 0;
8331
- this.yearDesde = 0;
8332
- this.yearHasta = 0;
8333
- this.IdDetalleGrado = 0;
8334
- this.detallePrima = [];
9177
+ this.mes = '';
9178
+ this.anio = '';
9179
+ this.cedulaDesde = '';
9180
+ this.cedulaHasta = '';
9181
+ this.mesCalculado = '';
9182
+ this.anioCalculado = '';
8335
9183
  if (e) {
8336
9184
  this.idEmpresa = parseInt(e.id_empresa);
8337
- this.idTabulador = parseInt(e.id_tabulador);
8338
- this.codigoGrado = parseInt(e.codgra);
8339
- this.codigoPaso = parseInt(e.codpas);
8340
- this.montoSalario = parseFloat(e.monsalgra);
8341
- this.montoCompensacion = parseFloat(e.moncomgra);
8342
- this.yearDesde = parseInt(e.aniodes);
8343
- this.yearHasta = parseInt(e.aniohas);
8344
- this.IdDetalleGrado = parseInt(e.id_dt_grado);
8345
- this.detallePrima = e.detalles_prima.map(e => new MPrimaGrados(e));
9185
+ this.mes = e.mes;
9186
+ this.anio = e.anio;
9187
+ this.cedulaDesde = e.cedula_desde;
9188
+ this.cedulaDesde = e.cedula_hasta;
9189
+ this.mesCalculado = e.mescal;
9190
+ this.anioCalculado = e.aniocal;
9191
+ }
9192
+ else {
9193
+ this.isNew = true;
8346
9194
  }
8347
9195
  }
8348
9196
  dataInterface() {
8349
9197
  return {
8350
9198
  id_empresa: this.idEmpresa.toString(),
8351
- id_tabulador: this.idTabulador.toString(),
8352
- codgra: this.codigoGrado.toString(),
8353
- codpas: this.codigoPaso.toString(),
8354
- monsalgra: this.montoSalario.toString(),
8355
- moncomgra: this.montoCompensacion.toString(),
8356
- aniodes: this.yearDesde.toString(),
8357
- aniohas: this.yearHasta.toString(),
8358
- id_dt_grado: this.IdDetalleGrado.toString(),
8359
- detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
9199
+ mes: this.mes,
9200
+ anio: this.anio,
9201
+ cedula_desde: this.cedulaDesde,
9202
+ cedula_hasta: this.cedulaHasta,
9203
+ mescal: this.mesCalculado,
9204
+ aniocal: this.anioCalculado,
8360
9205
  };
8361
9206
  }
8362
- }
8363
-
8364
- class MPrimasConcepto extends MBasicModel {
9207
+ }
9208
+ class MFideicomisoPeriodo extends MBasicModel {
9209
+ constructor(e = null) {
9210
+ super();
9211
+ this.idEmpresa = 0;
9212
+ this.idPersonal = 0;
9213
+ this.idNomina = 0;
9214
+ this.codigoNomina = '';
9215
+ this.idFideicomiso = 0;
9216
+ this.anioCursoPeriodo = '';
9217
+ this.mesCursoPeriodo = '';
9218
+ this.sueldointergralPeronal = 0;
9219
+ this.bonoExtraPersonal = 0;
9220
+ this.bonoVacacionalPersonal = 0;
9221
+ this.bonoFinPersonal = 0;
9222
+ this.aportePersonal = 0;
9223
+ this.diaFideicomiso = 0;
9224
+ this.diaAdicional = 0;
9225
+ this.metodoPrestacion = 0;
9226
+ this.metodoAdicional = 0;
9227
+ this.bonoVacionalAdicional = 0;
9228
+ this.bonoFinAdicional = 0;
9229
+ this.sueldoIntegralAdicional = 0;
9230
+ this.aportePrestacion = 0;
9231
+ this.aporteAdicionalPersonal = 0;
9232
+ this.codigoUsuario = '';
9233
+ this.idDtFideicomisoPeriodo = 0;
9234
+ this.cedulaPersonal = '';
9235
+ this.nombrePersonal = '';
9236
+ this.apellidoPersonal = '';
9237
+ this.fechaIngresoPersonal = '1900-01-01';
9238
+ this.estatusPersonal = '';
9239
+ this.codigoPersonal = '';
9240
+ this.denominacionEstatus = '';
9241
+ this.denominacionMes = '';
9242
+ if (e) {
9243
+ this.idEmpresa = +e.id_empresa;
9244
+ this.idPersonal = +e.id_personal;
9245
+ this.idNomina = +e.id_nomina;
9246
+ this.codigoNomina = e.codnom;
9247
+ this.idFideicomiso = +e.id_dt_fideiperiodo;
9248
+ this.anioCursoPeriodo = e.anocurper;
9249
+ this.mesCursoPeriodo = e.mescurper;
9250
+ this.sueldointergralPeronal = +e.sueintper;
9251
+ this.bonoExtraPersonal = +e.bonextper;
9252
+ this.bonoVacacionalPersonal = +e.bonvacper;
9253
+ this.bonoFinPersonal = +e.bonfinper;
9254
+ this.aportePersonal = +e.apoper;
9255
+ this.diaFideicomiso = +e.diafid;
9256
+ this.diaAdicional = +e.diaadi;
9257
+ this.metodoPrestacion = +e.metodopre;
9258
+ this.metodoAdicional = +e.metodoadi;
9259
+ this.bonoVacionalAdicional = +e.bonvacadiper;
9260
+ this.bonoFinAdicional = +e.bonfinadiper;
9261
+ this.sueldoIntegralAdicional = +e.sueintadiper;
9262
+ this.aportePrestacion = +e.apopreper;
9263
+ this.aporteAdicionalPersonal = +e.apoadiper;
9264
+ this.codigoUsuario = e.codusu;
9265
+ this.idDtFideicomisoPeriodo = +e.id_dt_fideiperiodo;
9266
+ this.cedulaPersonal = e.cedper;
9267
+ this.nombrePersonal = e.nomper;
9268
+ this.apellidoPersonal = e.apeper;
9269
+ this.fechaIngresoPersonal = e.fecingper;
9270
+ this.estatusPersonal = e.estper;
9271
+ this.codigoPersonal = e.codper;
9272
+ this.estatusPersonal == '0' ? this.denominacionEstatus = 'PRE-INGRESO' :
9273
+ this.estatusPersonal == '1' ? this.denominacionEstatus = 'ACTIVO' :
9274
+ this.estatusPersonal == '2' ? this.denominacionEstatus = 'NINGUNO' :
9275
+ this.estatusPersonal == '3' ? this.denominacionEstatus = 'EGRESADO' :
9276
+ this.estatusPersonal == '4' ? this.denominacionEstatus = 'REMOCIÓN' :
9277
+ this.estatusPersonal == '5' ? this.denominacionEstatus = 'RETIRO' :
9278
+ this.estatusPersonal == '6' ? this.denominacionEstatus = 'DESTITUCIÓN' :
9279
+ this.estatusPersonal == '7' ? this.denominacionEstatus = 'LIQUIDACIÓN' : '';
9280
+ this.mesCursoPeriodo == '01' ? this.denominacionMes = 'ENERO' :
9281
+ this.mesCursoPeriodo == '02' ? this.denominacionMes = 'FEBREO' :
9282
+ this.mesCursoPeriodo == '03' ? this.denominacionMes = 'MARZO' :
9283
+ this.mesCursoPeriodo == '04' ? this.denominacionMes = 'ABRIL' :
9284
+ this.mesCursoPeriodo == '05' ? this.denominacionMes = 'MAYO' :
9285
+ this.mesCursoPeriodo == '06' ? this.denominacionMes = 'JUNIO' :
9286
+ this.mesCursoPeriodo == '07' ? this.denominacionMes = 'JULIO' : '';
9287
+ this.mesCursoPeriodo == '08' ? this.denominacionMes = 'AGOSTO' :
9288
+ this.mesCursoPeriodo == '09' ? this.denominacionMes = 'SEPTIEMBRE' :
9289
+ this.mesCursoPeriodo == '10' ? this.denominacionMes = 'OCTUBRE' :
9290
+ this.mesCursoPeriodo == '11' ? this.denominacionMes = 'NOVIEMBRE' :
9291
+ this.mesCursoPeriodo == '12' ? this.denominacionMes = 'DICIEMBRE' : '';
9292
+ }
9293
+ else {
9294
+ this.isNew = true;
9295
+ }
9296
+ }
9297
+ }
9298
+ class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
9299
+ constructor(e = null) {
9300
+ super();
9301
+ this.idPersonal = 0;
9302
+ this.codigoPersonal = '';
9303
+ this.cedulaPersonal = '';
9304
+ this.nombrePersonal = '';
9305
+ this.apellidoPersonal = '';
9306
+ this.fechaIngresoPersonal = '1900-01-01';
9307
+ this.estatusPersonal = '';
9308
+ this.denominacionEstatus = '';
9309
+ this.interes = [];
9310
+ if (e) {
9311
+ this.idPersonal = +e.id_personal;
9312
+ this.codigoPersonal = e.codper;
9313
+ this.cedulaPersonal = e.cedper;
9314
+ this.nombrePersonal = e.nomper;
9315
+ this.apellidoPersonal = e.apeper;
9316
+ this.estatusPersonal = e.estper;
9317
+ this.fechaIngresoPersonal = e.fecingper;
9318
+ this.estatusPersonal == '0' ? this.denominacionEstatus = 'PRE-INGRESO' :
9319
+ this.estatusPersonal == '1' ? this.denominacionEstatus = 'ACTIVO' :
9320
+ this.estatusPersonal == '2' ? this.denominacionEstatus = 'NINGUNO' :
9321
+ this.estatusPersonal == '3' ? this.denominacionEstatus = 'EGRESADO' :
9322
+ this.estatusPersonal == '4' ? this.denominacionEstatus = 'REMOCIÓN' :
9323
+ this.estatusPersonal == '5' ? this.denominacionEstatus = 'RETIRO' :
9324
+ this.estatusPersonal == '6' ? this.denominacionEstatus = 'DESTITUCIÓN' :
9325
+ this.estatusPersonal == '7' ? this.denominacionEstatus = 'LIQUIDACIÓN' : '';
9326
+ if (e.intereses) {
9327
+ this.interes = e.intereses.map(e => new MFideicomisoPeriodoInteres(e));
9328
+ }
9329
+ }
9330
+ else {
9331
+ this.isNew = true;
9332
+ }
9333
+ }
9334
+ }
9335
+ class MFideicomisoPeriodoInteres extends MBasicModel {
9336
+ constructor(e = null) {
9337
+ super();
9338
+ this.idEmpresa = 0;
9339
+ this.idPersonal = 0;
9340
+ this.idNomina = 0;
9341
+ this.mesInteres = 0;
9342
+ this.anioInteres = '';
9343
+ this.montoAnteriorAcumulado = 0;
9344
+ this.montoAnterior = 0;
9345
+ this.porcentajeInteres = 0;
9346
+ this.montoInteres = 0;
9347
+ this.montoCapital = 0;
9348
+ this.anticipoPrestamo = 0;
9349
+ this.idDtFide = 0;
9350
+ this.cedulaPersonal = '';
9351
+ this.nombrePersonal = '';
9352
+ this.apellidoPersonal = '';
9353
+ this.fechaIngresoPersonal = '1900-01-01';
9354
+ this.estatusPersonal = '';
9355
+ this.codigoPersonal = '';
9356
+ this.denominacionEstatus = '';
9357
+ this.denominacionMes = '';
9358
+ this.capital = 0;
9359
+ this.codigoNomina = '';
9360
+ if (e) {
9361
+ this.idEmpresa = +e.id_empresa;
9362
+ this.idPersonal = +e.id_personal;
9363
+ this.idNomina = +e.id_nomina;
9364
+ this.mesInteres = +e.mesint;
9365
+ this.anioInteres = e.anoint;
9366
+ this.montoAnteriorAcumulado = +e.monantacu;
9367
+ this.montoAnterior = +e.monant;
9368
+ this.porcentajeInteres = +e.porint;
9369
+ this.montoInteres = +e.monint;
9370
+ this.montoCapital = +e.moncap;
9371
+ this.anticipoPrestamo = +e.antpre;
9372
+ this.capital = +e.capital;
9373
+ this.idDtFide = +e.id_dt_fidperint;
9374
+ this.cedulaPersonal = e.cedper;
9375
+ this.nombrePersonal = e.nomper;
9376
+ this.apellidoPersonal = e.apeper;
9377
+ this.fechaIngresoPersonal = e.fecingper;
9378
+ this.estatusPersonal = e.estper;
9379
+ this.codigoPersonal = e.codper;
9380
+ this.estatusPersonal == '0' ? this.denominacionEstatus = 'PRE-INGRESO' :
9381
+ this.estatusPersonal == '1' ? this.denominacionEstatus = 'ACTIVO' :
9382
+ this.estatusPersonal == '2' ? this.denominacionEstatus = 'NINGUNO' :
9383
+ this.estatusPersonal == '3' ? this.denominacionEstatus = 'EGRESADO' :
9384
+ this.estatusPersonal == '4' ? this.denominacionEstatus = 'REMOCIÓN' :
9385
+ this.estatusPersonal == '5' ? this.denominacionEstatus = 'RETIRO' :
9386
+ this.estatusPersonal == '6' ? this.denominacionEstatus = 'DESTITUCIÓN' :
9387
+ this.estatusPersonal == '7' ? this.denominacionEstatus = 'LIQUIDACIÓN' : '';
9388
+ this.mesInteres == 1 ? this.denominacionMes = 'ENERO' :
9389
+ this.mesInteres == 2 ? this.denominacionMes = 'FEBREO' :
9390
+ this.mesInteres == 3 ? this.denominacionMes = 'MARZO' :
9391
+ this.mesInteres == 4 ? this.denominacionMes = 'ABRIL' :
9392
+ this.mesInteres == 5 ? this.denominacionMes = 'MAYO' :
9393
+ this.mesInteres == 6 ? this.denominacionMes = 'JUNIO' :
9394
+ this.mesInteres == 7 ? this.denominacionMes = 'JULIO' : '';
9395
+ this.mesInteres == 8 ? this.denominacionMes = 'AGOSTO' :
9396
+ this.mesInteres == 9 ? this.denominacionMes = 'SEPTIEMBRE' :
9397
+ this.mesInteres == 10 ? this.denominacionMes = 'OCTUBRE' :
9398
+ this.mesInteres == 11 ? this.denominacionMes = 'NOVIEMBRE' :
9399
+ this.mesInteres == 12 ? this.denominacionMes = 'DICIEMBRE' : '';
9400
+ this.codigoNomina = e.codnom;
9401
+ }
9402
+ else {
9403
+ this.isNew = true;
9404
+ }
9405
+ }
9406
+ }
9407
+
9408
+ class MFormacionAcademica extends MBasicModel {
9409
+ constructor(e) {
9410
+ super();
9411
+ this.idEmpresa = 0;
9412
+ this.idConcurso = 0;
9413
+ this.idConcursante = 0;
9414
+ this.idEstudioConcursante = 0;
9415
+ this.codigoEstudio = '';
9416
+ this.institutoEstudio = '';
9417
+ this.descripcionEstudio = '';
9418
+ this.fechaInicial = '';
9419
+ this.fechaFin = '';
9420
+ this.tituloObtenido = '';
9421
+ this.yearAprobados = 0;
9422
+ if (e) {
9423
+ this.idEmpresa = parseInt(e.id_empresa);
9424
+ this.idConcurso = parseInt(e.id_concurso);
9425
+ this.idConcursante = parseInt(e.id_concursante);
9426
+ this.idEstudioConcursante = parseInt(e.id_estudiocon);
9427
+ this.codigoEstudio = e.codestrea;
9428
+ this.institutoEstudio = e.insestper;
9429
+ this.descripcionEstudio = e.desestper;
9430
+ this.fechaInicial = e.fecinireaest;
9431
+ this.fechaFin = e.fecfinestrea;
9432
+ this.tituloObtenido = e.titestper;
9433
+ this.yearAprobados = parseInt(e.anoaprestper);
9434
+ }
9435
+ }
9436
+ dataInterface() {
9437
+ return {
9438
+ id_empresa: this.idEmpresa.toString(),
9439
+ id_concurso: this.idConcurso.toString(),
9440
+ id_concursante: this.idConcursante.toString(),
9441
+ id_estudiocon: this.idEstudioConcursante.toString(),
9442
+ codestrea: this.codigoEstudio,
9443
+ insestper: this.institutoEstudio,
9444
+ desestper: this.descripcionEstudio,
9445
+ fecinireaest: this.fechaInicial,
9446
+ fecfinestrea: this.fechaFin,
9447
+ titestper: this.tituloObtenido,
9448
+ anoaprestper: this.yearAprobados.toString()
9449
+ };
9450
+ }
9451
+ }
9452
+
9453
+ class MPrimaGrados extends MBasicModel {
9454
+ constructor(e = null) {
9455
+ super();
9456
+ this.idEmpresa = 0;
9457
+ this.idTabulador = 0;
9458
+ this.codigoGrado = '';
9459
+ this.codigoPaso = '';
9460
+ this.codigoPrima = '';
9461
+ this.descripcionPrima = '';
9462
+ this.montoPrima = 0;
9463
+ this.IdDetallePrima = 0;
9464
+ if (e) {
9465
+ this.idEmpresa = parseInt(e.id_empresa);
9466
+ this.idTabulador = parseInt(e.id_tabulador);
9467
+ this.codigoGrado = e.codgra;
9468
+ this.codigoPaso = e.codpas;
9469
+ this.codigoPrima = e.codpri;
9470
+ this.descripcionPrima = e.despri;
9471
+ this.montoPrima = parseInt(e.monpri);
9472
+ this.IdDetallePrima = parseInt(e.id_dt_prima);
9473
+ }
9474
+ else {
9475
+ this.isNew = true;
9476
+ }
9477
+ }
9478
+ dataInterface() {
9479
+ return {
9480
+ id_empresa: this.idEmpresa.toString(),
9481
+ id_tabulador: this.idTabulador.toString(),
9482
+ codgra: this.codigoGrado,
9483
+ codpas: this.codigoPaso,
9484
+ codpri: this.codigoPrima,
9485
+ despri: this.descripcionPrima,
9486
+ monpri: this.montoPrima.toString(),
9487
+ id_dt_prima: this.IdDetallePrima.toString(),
9488
+ };
9489
+ }
9490
+ }
9491
+
9492
+ class MGrados extends MBasicModel {
9493
+ constructor(e = null) {
9494
+ super();
9495
+ this.idEmpresa = 0;
9496
+ this.idTabulador = 0;
9497
+ this.codigoGrado = 0;
9498
+ this.codigoPaso = 0;
9499
+ this.montoSalario = 0;
9500
+ this.montoCompensacion = 0;
9501
+ this.yearDesde = 0;
9502
+ this.yearHasta = 0;
9503
+ this.IdDetalleGrado = 0;
9504
+ this.detallePrima = [];
9505
+ if (e) {
9506
+ this.idEmpresa = parseInt(e.id_empresa);
9507
+ this.idTabulador = parseInt(e.id_tabulador);
9508
+ this.codigoGrado = parseInt(e.codgra);
9509
+ this.codigoPaso = parseInt(e.codpas);
9510
+ this.montoSalario = parseFloat(e.monsalgra);
9511
+ this.montoCompensacion = parseFloat(e.moncomgra);
9512
+ this.yearDesde = parseInt(e.aniodes);
9513
+ this.yearHasta = parseInt(e.aniohas);
9514
+ this.IdDetalleGrado = parseInt(e.id_dt_grado);
9515
+ this.detallePrima = e.detalles_prima.map(e => new MPrimaGrados(e));
9516
+ }
9517
+ }
9518
+ dataInterface() {
9519
+ return {
9520
+ id_empresa: this.idEmpresa.toString(),
9521
+ id_tabulador: this.idTabulador.toString(),
9522
+ codgra: this.codigoGrado.toString(),
9523
+ codpas: this.codigoPaso.toString(),
9524
+ monsalgra: this.montoSalario.toString(),
9525
+ moncomgra: this.montoCompensacion.toString(),
9526
+ aniodes: this.yearDesde.toString(),
9527
+ aniohas: this.yearHasta.toString(),
9528
+ id_dt_grado: this.IdDetalleGrado.toString(),
9529
+ detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
9530
+ };
9531
+ }
9532
+ }
9533
+
9534
+ class MPrimasConcepto extends MBasicModel {
8365
9535
  constructor(e = null) {
8366
9536
  super();
8367
9537
  this.idEmpresa = 0;
@@ -8382,6 +9552,9 @@ class MPrimasConcepto extends MBasicModel {
8382
9552
  this.codigoConcepto = e.codconc;
8383
9553
  this.nombreConcepto = e.nomcon;
8384
9554
  }
9555
+ else {
9556
+ this.isNew = true;
9557
+ }
8385
9558
  }
8386
9559
  dataInterface() {
8387
9560
  return {
@@ -8397,7 +9570,7 @@ class MPrimasConcepto extends MBasicModel {
8397
9570
  }
8398
9571
  }
8399
9572
 
8400
- class MRequisitosConcursante extends MBasicModel {
9573
+ class MRequisitosConcursantes extends MBasicModel {
8401
9574
  constructor(e = null) {
8402
9575
  super();
8403
9576
  this.idEmpresa = 0;
@@ -8420,6 +9593,9 @@ class MRequisitosConcursante extends MBasicModel {
8420
9593
  this.requisitosEntregado = e.entreqcon;
8421
9594
  this.cantidadEntregado = parseInt(e.canentreqcon);
8422
9595
  }
9596
+ else {
9597
+ this.isNew = true;
9598
+ }
8423
9599
  }
8424
9600
  dataInterface() {
8425
9601
  return {
@@ -8818,7 +9994,7 @@ class MTabulador extends MBasicModel {
8818
9994
  constructor(e = null) {
8819
9995
  super();
8820
9996
  this.idEmpresa = 0;
8821
- this.idTabulador = 0;
9997
+ this.idTabulador = -1;
8822
9998
  this.codigoTabulador = '';
8823
9999
  this.descripcionTabulador = '';
8824
10000
  this.totalPasosXGrados = 0;
@@ -8868,20 +10044,28 @@ class MTabuladorNominas {
8868
10044
  this.idTabulador = 0;
8869
10045
  this.codigoNomina = '';
8870
10046
  this.denominacionNomina = '';
8871
- this.estatusNomina = '';
10047
+ this.estatus = '';
8872
10048
  this.idDtNomina = 0;
8873
10049
  this.periodoActualNomina = '001';
8874
- this.periodosNomina = [];
10050
+ this.idPeriodoActual = 0;
10051
+ this.nominaRac = 0;
10052
+ this.descripcionPeriodoNomina = '';
10053
+ this.prenomina = false;
10054
+ this.editable = false;
10055
+ this.calculada = false;
8875
10056
  if (e) {
8876
10057
  this.idEmpresa = parseInt(e.id_empresa);
8877
10058
  this.idNomina = parseInt(e.id_nomina);
8878
10059
  this.idTabulador = parseInt(e.id_tabulador);
8879
10060
  this.codigoNomina = e.codnom;
8880
10061
  this.denominacionNomina = e.dennom;
8881
- this.estatusNomina = e.estnom;
8882
10062
  this.idDtNomina = parseInt(e.id_dt_tabnom);
8883
10063
  this.periodoActualNomina = e.peractnom;
8884
- this.periodosNomina = e.periodos.map(e => new MPeriodoNomina(e));
10064
+ this.calculada = e.calculado == '1' ? true : false;
10065
+ this.prenomina = e.prenomina == '1' ? true : false;
10066
+ this.estatus = this.calculada ? 'Calculada' :
10067
+ !this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
10068
+ this.editable = (this.calculada || this.prenomina) ? false : true;
8885
10069
  }
8886
10070
  }
8887
10071
  dataInterface() {
@@ -8889,21 +10073,9 @@ class MTabuladorNominas {
8889
10073
  id_empresa: this.idEmpresa.toString(),
8890
10074
  id_nomina: this.idNomina.toString(),
8891
10075
  id_tabulador: this.idTabulador.toString(),
8892
- codnom: this.codigoNomina,
8893
- dennom: this.denominacionNomina,
8894
- estnom: this.estatusNomina,
8895
- id_dt_tabnom: this.idDtNomina.toString(),
8896
- periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
8897
- peractnom: this.periodoActualNomina,
10076
+ id_dt_tabnom: this.idDtNomina.toString()
8898
10077
  };
8899
10078
  }
8900
- indice() {
8901
- return this.periodosNomina.findIndex(e => e.codigoPeriodo == this.periodoActualNomina);
8902
- }
8903
- editable() {
8904
- let i = this.indice();
8905
- return this.periodosNomina[i].periodoEditable();
8906
- }
8907
10079
  }
8908
10080
 
8909
10081
  class MTipoEvaluacion extends MBasicModel {
@@ -9155,6 +10327,7 @@ class MVacacionesPersonal extends MBasicModel {
9155
10327
  this.codigoUsuario = '';
9156
10328
  this.diaVacacionesCalendario = 0;
9157
10329
  this.diasHabiles = 0;
10330
+ this.procesarFueraPeriodo = 0;
9158
10331
  if (e) {
9159
10332
  this.idEmpresa = parseInt(e.id_empresa);
9160
10333
  this.idPersonal = parseInt(e.id_personal);
@@ -9188,6 +10361,7 @@ class MVacacionesPersonal extends MBasicModel {
9188
10361
  this.codigoUsuario = (e.codusu);
9189
10362
  this.diaVacacionesCalendario = parseInt(e.diavaccal);
9190
10363
  this.diasHabiles = parseInt(e.diahab);
10364
+ this.procesarFueraPeriodo = parseInt(e.profueper);
9191
10365
  }
9192
10366
  }
9193
10367
  dataInterface() {
@@ -9224,6 +10398,7 @@ class MVacacionesPersonal extends MBasicModel {
9224
10398
  codusu: this.codigoUsuario,
9225
10399
  diavaccal: this.diaVacacionesCalendario.toString(),
9226
10400
  diahab: this.diasHabiles.toString(),
10401
+ profueper: this.procesarFueraPeriodo.toString(),
9227
10402
  };
9228
10403
  }
9229
10404
  }
@@ -9442,6 +10617,953 @@ class MPersonalJubilado extends MBasicModel {
9442
10617
  }
9443
10618
  }
9444
10619
 
10620
+ class MPermisos extends MBasicModel {
10621
+ constructor(e) {
10622
+ super();
10623
+ this.idEmpresa = 0;
10624
+ this.idPersonal = 0;
10625
+ this.idPermiso = 0;
10626
+ this.fechaInicioPermiso = '';
10627
+ this.fechaFinPermiso = '';
10628
+ this.numeroDiasPermiso = 0;
10629
+ this.afectaVacaionesPermiso = '0';
10630
+ this.tipoPermiso = '2';
10631
+ this.observacionPermiso = '';
10632
+ this.remuneradoPermiso = '1';
10633
+ this.totalHorasPermiso = 0;
10634
+ this.descontarVacaciones = 0;
10635
+ this.codigoPermiso = '';
10636
+ this.idTipoEnfermedad = 0;
10637
+ this.denominacionEnfermedad = '';
10638
+ if (e) {
10639
+ this.idEmpresa = +e.id_empresa;
10640
+ this.idPersonal = +e.id_personal;
10641
+ this.idPermiso = +e.id_permiso;
10642
+ this.fechaInicioPermiso = e.fecfinper;
10643
+ this.fechaFinPermiso = e.fecfinper;
10644
+ this.numeroDiasPermiso = +e.numdiapero;
10645
+ this.afectaVacaionesPermiso = e.afevacper.toString();
10646
+ this.tipoPermiso = e.tipper.toString();
10647
+ this.observacionPermiso = e.obsper;
10648
+ this.remuneradoPermiso = e.remper.toString();
10649
+ this.totalHorasPermiso = +e.tothorper;
10650
+ this.descontarVacaciones = +e.desvacper;
10651
+ this.codigoPermiso = e.codpermiso;
10652
+ this.idTipoEnfermedad = parseInt(e.id_enfermedad);
10653
+ this.denominacionEnfermedad = e.denenf;
10654
+ }
10655
+ else {
10656
+ this.isNew = true;
10657
+ }
10658
+ }
10659
+ dataInterface() {
10660
+ return {
10661
+ id_empresa: this.idEmpresa,
10662
+ id_personal: this.idPersonal,
10663
+ id_permiso: this.idPermiso,
10664
+ feciniper: this.fechaInicioPermiso,
10665
+ fecfinper: this.fechaFinPermiso,
10666
+ numdiapero: this.numeroDiasPermiso,
10667
+ afevacper: +this.afectaVacaionesPermiso,
10668
+ tipper: +this.tipoPermiso,
10669
+ obsper: this.observacionPermiso,
10670
+ remper: +this.remuneradoPermiso,
10671
+ tothorper: this.totalHorasPermiso,
10672
+ desvacper: this.descontarVacaciones,
10673
+ codpermiso: this.codigoPermiso,
10674
+ id_enfermedad: this.idTipoEnfermedad.toString(),
10675
+ denenf: this.denominacionEnfermedad
10676
+ };
10677
+ }
10678
+ }
10679
+
10680
+ class MCargaMasiva extends MBasicModel {
10681
+ constructor(e = null) {
10682
+ super();
10683
+ this.proceso = '';
10684
+ this.id_nomina = 0;
10685
+ this.tipo = '';
10686
+ this.nombreArchivo = '';
10687
+ this.base64textString = '';
10688
+ this.modulo = '';
10689
+ if (e) {
10690
+ this.proceso = e.proceso;
10691
+ this.id_nomina = e.id_nomina;
10692
+ this.tipo = e.tipo;
10693
+ this.nombreArchivo = e.nombreArchivo;
10694
+ this.base64textString = e.base64textString;
10695
+ this.modulo = e.modulo;
10696
+ }
10697
+ else {
10698
+ this.isNew;
10699
+ }
10700
+ }
10701
+ dataInterface() {
10702
+ return {
10703
+ proceso: this.proceso,
10704
+ id_nomina: this.id_nomina,
10705
+ tipo: this.tipo,
10706
+ nombreArchivo: this.nombreArchivo,
10707
+ base64textString: this.base64textString,
10708
+ modulo: this.modulo
10709
+ };
10710
+ }
10711
+ }
10712
+
10713
+ class MPlantillasConstancia extends MBasicModel {
10714
+ constructor(e = null) {
10715
+ super();
10716
+ this.idConstancia = 0;
10717
+ this.codigoConstancia = '';
10718
+ this.descripcionConstancia = '';
10719
+ this.plantillaRTF = '';
10720
+ this.archivoConstancia = '';
10721
+ if (e) {
10722
+ this.idConstancia = e.id_constancia;
10723
+ this.codigoConstancia = e.codconstra;
10724
+ this.descripcionConstancia = e.desconstra;
10725
+ this.plantillaRTF = e.plantilla_rtf;
10726
+ this.archivoConstancia = e.archivo;
10727
+ }
10728
+ else {
10729
+ this.isNew = true;
10730
+ }
10731
+ }
10732
+ dataInterface() {
10733
+ return {
10734
+ id_constancia: this.idConstancia,
10735
+ codconstra: this.codigoConstancia,
10736
+ desconstra: this.descripcionConstancia,
10737
+ plantilla_rtf: this.plantillaRTF,
10738
+ archivo: this.archivoConstancia
10739
+ };
10740
+ }
10741
+ }
10742
+
10743
+ class MImpuestoSobreRenta extends MBasicModel {
10744
+ constructor(e) {
10745
+ super();
10746
+ this.idEmpresa = 0;
10747
+ this.idPersonal = 0;
10748
+ this.idImpuestoSobreRenta = 0;
10749
+ this.porcentajeIsr = 0;
10750
+ this.idConcepto = 0;
10751
+ this.enero = 0;
10752
+ this.febrero = 0;
10753
+ this.marzo = 0;
10754
+ this.abril = 0;
10755
+ this.mayo = 0;
10756
+ this.junio = 0;
10757
+ this.julio = 0;
10758
+ this.agosto = 0;
10759
+ this.septiembre = 0;
10760
+ this.octubre = 0;
10761
+ this.noviembre = 0;
10762
+ this.diciembre = 0;
10763
+ this.denominacionConcepto = '';
10764
+ if (e) {
10765
+ this.idEmpresa = +e.id_empresa;
10766
+ this.idPersonal = +e.id_personal;
10767
+ this.idImpuestoSobreRenta = +e.id_isr;
10768
+ this.porcentajeIsr = +e.porisr;
10769
+ this.idConcepto = +e.id_conret;
10770
+ this.enero = +e.enero;
10771
+ this.febrero = +e.febrero;
10772
+ this.marzo = +e.marzo;
10773
+ this.abril = +e.abril;
10774
+ this.mayo = +e.mayo;
10775
+ this.junio = +e.junio;
10776
+ this.julio = +e.julio;
10777
+ this.agosto = +e.agosto;
10778
+ this.septiembre = +e.septiembre;
10779
+ this.octubre = +e.octubre;
10780
+ this.noviembre = +e.noviembre;
10781
+ this.diciembre = +e.diciembre;
10782
+ this.denominacionConcepto = e.desact;
10783
+ }
10784
+ else {
10785
+ this.isNew = true;
10786
+ }
10787
+ }
10788
+ dataInterface() {
10789
+ return {
10790
+ id_empresa: this.idEmpresa,
10791
+ id_personal: this.idPersonal,
10792
+ id_isr: this.idImpuestoSobreRenta,
10793
+ porisr: this.porcentajeIsr,
10794
+ id_conret: this.idConcepto,
10795
+ enero: this.enero,
10796
+ febrero: this.febrero,
10797
+ marzo: this.marzo,
10798
+ abril: this.abril,
10799
+ mayo: this.mayo,
10800
+ junio: this.junio,
10801
+ julio: this.julio,
10802
+ agosto: this.agosto,
10803
+ septiembre: this.septiembre,
10804
+ octubre: this.octubre,
10805
+ noviembre: this.noviembre,
10806
+ diciembre: this.diciembre,
10807
+ desact: this.denominacionConcepto
10808
+ };
10809
+ }
10810
+ }
10811
+
10812
+ class MMetodoBanco extends MBasicModel {
10813
+ constructor(e = null) {
10814
+ super();
10815
+ this.idEmpresa = 0;
10816
+ this.idMetodoBanco = 0;
10817
+ this.id = 0;
10818
+ this.codigoMetodo = '';
10819
+ this.denominacionMetodo = '';
10820
+ this.tipoMetodo = '';
10821
+ this.codigoEmpresaNominal = '';
10822
+ this.tipoCuentaCreditoNominal = '';
10823
+ this.tipoCuentaDebitoNominal = '';
10824
+ this.codigoOficinaNomina = '';
10825
+ this.pagoTaquillaNomina = 0;
10826
+ this.numeroReferencia = 0;
10827
+ this.numeroConvenio = '';
10828
+ this.activo = 0;
10829
+ if (e) {
10830
+ this.idEmpresa = parseInt(e.id_empresa);
10831
+ this.idMetodoBanco = parseInt(e.id_metbco);
10832
+ this.codigoMetodo = e.codmet;
10833
+ this.denominacionMetodo = e.denmet;
10834
+ this.tipoMetodo = e.tipmet;
10835
+ this.id = parseInt(e.id_banco);
10836
+ this.codigoEmpresaNominal = e.codempnom;
10837
+ this.tipoCuentaCreditoNominal = e.tipcuecrenom;
10838
+ this.tipoCuentaDebitoNominal = e.tipcuedebnom;
10839
+ this.codigoOficinaNomina = e.codofinom;
10840
+ this.pagoTaquillaNomina = parseInt(e.pagtaqnom);
10841
+ this.numeroReferencia = parseInt(e.nroref);
10842
+ this.activo = parseInt(e.activo);
10843
+ this.numeroConvenio = e.numconnom;
10844
+ }
10845
+ else {
10846
+ this.isNew = true;
10847
+ }
10848
+ }
10849
+ dataInterface() {
10850
+ return {
10851
+ id_empresa: this.idEmpresa.toString(),
10852
+ id_metbco: this.idMetodoBanco.toString(),
10853
+ codmet: this.codigoMetodo,
10854
+ denmet: this.denominacionMetodo,
10855
+ tipmet: this.tipoMetodo,
10856
+ id_banco: this.id.toString(),
10857
+ codempnom: this.codigoEmpresaNominal,
10858
+ tipcuecrenom: this.tipoCuentaCreditoNominal,
10859
+ tipcuedebnom: this.tipoCuentaDebitoNominal,
10860
+ codofinom: this.codigoOficinaNomina,
10861
+ pagtaqnom: this.pagoTaquillaNomina.toString(),
10862
+ nroref: this.numeroReferencia.toString(),
10863
+ activo: this.activo.toString(),
10864
+ numconnom: this.numeroConvenio,
10865
+ };
10866
+ }
10867
+ }
10868
+ class MMetodos extends MBasicModel {
10869
+ constructor(e = null) {
10870
+ super();
10871
+ this.idEmpresa = 0;
10872
+ this.idMetodo = 0;
10873
+ this.codigoMetodo = '';
10874
+ this.denominacionMetodo = '';
10875
+ this.montoMetodo = 0;
10876
+ this.metodoCestaTicket = '';
10877
+ this.codigoProducto = '';
10878
+ this.montoDescuentoDia = 0;
10879
+ this.numeroTarjeta = '';
10880
+ if (e) {
10881
+ this.idEmpresa = parseInt(e.id_empresa);
10882
+ this.idMetodo = parseInt(e.id_metodo);
10883
+ this.codigoMetodo = e.codmet;
10884
+ this.denominacionMetodo = e.denmet;
10885
+ this.montoMetodo = +e.monmet;
10886
+ this.metodoCestaTicket = e.metcestic;
10887
+ this.codigoProducto = e.codprod;
10888
+ this.montoDescuentoDia = +e.mondesdia;
10889
+ this.numeroTarjeta = e.nrotarjeta;
10890
+ }
10891
+ else {
10892
+ this.isNew = true;
10893
+ }
10894
+ }
10895
+ dataInterface() {
10896
+ return {
10897
+ id_empresa: this.idEmpresa.toString(),
10898
+ id_metodo: this.idMetodo.toString(),
10899
+ codmet: this.codigoMetodo,
10900
+ denmet: this.denominacionMetodo,
10901
+ monmet: this.montoMetodo,
10902
+ metcestic: this.metodoCestaTicket,
10903
+ codprod: this.codigoProducto,
10904
+ mondesdia: this.montoDescuentoDia,
10905
+ nrotarjeta: this.numeroTarjeta,
10906
+ };
10907
+ }
10908
+ }
10909
+
10910
+ class MPeriodosPlan extends MBasicModel {
10911
+ constructor(e = null) {
10912
+ super();
10913
+ this.idEmpresa = 0;
10914
+ this.idPlanHorario = 0;
10915
+ this.codigoPeriodoPlan = '';
10916
+ this.denominacionPeriodoPlan = '';
10917
+ this.fechaPeriodoPlan = '1900-01-01';
10918
+ this.idPeriodo = 0;
10919
+ this.codigoPeriodo = '';
10920
+ this.idHorario = 0;
10921
+ this.incidencias = '';
10922
+ this.idDetalle = 0;
10923
+ if (e) {
10924
+ this.idEmpresa = +e.id_empresa;
10925
+ this.idPlanHorario = +e.id_planhor;
10926
+ this.codigoPeriodo = e.codperplan;
10927
+ this.denominacionPeriodoPlan = e.denperplan;
10928
+ this.fechaPeriodoPlan = e.fecperplan;
10929
+ this.idPeriodo = +e.id_periodo;
10930
+ this.codigoPeriodo = e.codperi;
10931
+ this.idHorario = +e.id_hora;
10932
+ this.incidencias = e.incidencias;
10933
+ this.idDetalle = +e.id_detalle;
10934
+ }
10935
+ else {
10936
+ this.isNew = true;
10937
+ }
10938
+ }
10939
+ dataInterface() {
10940
+ return {
10941
+ id_empresa: this.idEmpresa.toString(),
10942
+ id_planhor: this.idPlanHorario.toString(),
10943
+ codperplan: this.codigoPeriodoPlan,
10944
+ denperplan: this.denominacionPeriodoPlan,
10945
+ fecperplan: this.fechaPeriodoPlan,
10946
+ id_periodo: this.idPeriodo.toString(),
10947
+ codperi: this.codigoPeriodo,
10948
+ id_hora: this.idHorario.toString(),
10949
+ incidencias: this.incidencias,
10950
+ id_detalle: this.idDetalle.toString(),
10951
+ };
10952
+ }
10953
+ }
10954
+
10955
+ class MPrestamo extends MBasicModel {
10956
+ constructor(e = null) {
10957
+ super();
10958
+ this.idEmpresa = 0;
10959
+ this.idPersonal = 0;
10960
+ this.idPrestamo = 0;
10961
+ this.numeroPrestamo = 0;
10962
+ this.idTipoPrestamo = 0;
10963
+ this.idNomina = 0;
10964
+ this.idConcepto = 0;
10965
+ this.montoPrestamo = 0;
10966
+ this.numeroCuotasPrestamo = 0;
10967
+ this.idPeriodo = 0;
10968
+ this.motoAmortizacionPrestamo = 0;
10969
+ this.estatusPrestamo = 1;
10970
+ this.fechaPrestamo = '1900-01-01';
10971
+ this.observacionRecalculoPrestamo = '';
10972
+ this.observacionSuspencionPrestamo = '';
10973
+ this.tipoCuota = '0';
10974
+ this.denominacionTipoPrestamo = '';
10975
+ this.codigoTipoPrestamo = '';
10976
+ this.denominacionNomina = '';
10977
+ this.codigoNomina = '';
10978
+ this.denominacionConcepto = '';
10979
+ this.codigoConcepto = '';
10980
+ this.codigoPeriodo = '';
10981
+ this.fechaFinPeriodo = '1900-01-01';
10982
+ this.montoCuotaPrestamo = 0;
10983
+ this.saldoPrestamo = 0;
10984
+ this.numeroPeriodoNomina = 0;
10985
+ this.periodos = [];
10986
+ this.amortizacion = [];
10987
+ if (e) {
10988
+ this.idEmpresa = +e.id_empresa;
10989
+ this.idPrestamo = +e.id_prestamo;
10990
+ this.idPersonal = +e.id_personal;
10991
+ this.numeroPrestamo = +e.numpre;
10992
+ this.idTipoPrestamo = +e.id_tipoprestamo;
10993
+ this.idNomina = +e.id_nomina;
10994
+ this.idConcepto = +e.id_concepto;
10995
+ this.montoPrestamo = +e.monpre;
10996
+ this.numeroCuotasPrestamo = +e.numcuopre;
10997
+ this.idPeriodo = +e.id_periodo;
10998
+ this.motoAmortizacionPrestamo = +e.monamopre;
10999
+ this.estatusPrestamo = +e.estpre;
11000
+ this.fechaPrestamo = e.fecpre;
11001
+ this.observacionRecalculoPrestamo = e.obsrecpre;
11002
+ this.observacionSuspencionPrestamo = e.obssuspre;
11003
+ this.tipoCuota = e.tipcuopre;
11004
+ this.denominacionTipoPrestamo = e.destippre;
11005
+ this.codigoTipoPrestamo = e.codtippre;
11006
+ this.denominacionNomina = e.dennom;
11007
+ this.codigoNomina = e.codnom;
11008
+ this.denominacionConcepto = e.nomcon;
11009
+ this.codigoConcepto = e.codconc;
11010
+ this.codigoPeriodo = e.codperi;
11011
+ this.fechaFinPeriodo = e.fechasper;
11012
+ this.numeroPeriodoNomina = +e.numpernom;
11013
+ this.periodos = e.periodos.map(e => new MPrestamosPeriodo(e));
11014
+ this.amortizacion = e.amortizacion.map(e => new MPrestamoAmortizacion(e));
11015
+ this.montoCuotaPrestamo = this.calcularCuotas();
11016
+ this.saldoPrestamo = this.calcularSaldo();
11017
+ }
11018
+ else {
11019
+ this.isNew = true;
11020
+ }
11021
+ }
11022
+ dataInterface() {
11023
+ return {
11024
+ id_empresa: this.idEmpresa,
11025
+ id_personal: this.idPersonal,
11026
+ id_prestamo: this.idPrestamo,
11027
+ numpre: this.numeroPrestamo,
11028
+ id_tipoprestamo: this.idTipoPrestamo,
11029
+ id_nomina: this.idNomina,
11030
+ id_concepto: this.idConcepto,
11031
+ monpre: this.montoPrestamo,
11032
+ numcuopre: this.numeroCuotasPrestamo,
11033
+ id_periodo: this.idPeriodo,
11034
+ monamopre: this.motoAmortizacionPrestamo,
11035
+ estpre: this.estatusPrestamo,
11036
+ fecpre: this.fechaPrestamo,
11037
+ obsrecpre: this.observacionRecalculoPrestamo,
11038
+ obssuspre: this.observacionSuspencionPrestamo,
11039
+ tipcuopre: this.tipoCuota,
11040
+ dennom: this.denominacionNomina,
11041
+ codnom: this.codigoNomina,
11042
+ destippre: this.denominacionTipoPrestamo,
11043
+ codtippre: this.codigoTipoPrestamo,
11044
+ nomcon: this.denominacionConcepto,
11045
+ codconc: this.codigoConcepto,
11046
+ codperi: this.codigoPeriodo,
11047
+ fechasper: this.fechaFinPeriodo,
11048
+ numpernom: this.numeroPeriodoNomina,
11049
+ periodos: this.periodos.map((function (e) { return e.dataInterface(); })),
11050
+ amortizacion: this.amortizacion.map((function (e) { return e.dataInterface(); }))
11051
+ };
11052
+ }
11053
+ calcularCuotas() {
11054
+ let i = this.periodos.length - 1;
11055
+ if (i > 0) {
11056
+ return this.periodos[i].montoCuota;
11057
+ }
11058
+ return 0;
11059
+ }
11060
+ calcularSaldo() {
11061
+ let montoPago = 0;
11062
+ this.periodos.forEach(element => {
11063
+ if (element.estatusCuota == 1) {
11064
+ montoPago = montoPago + element.montoCuota;
11065
+ }
11066
+ });
11067
+ return this.montoPrestamo - this.motoAmortizacionPrestamo - montoPago;
11068
+ }
11069
+ cuotasCanceladas() {
11070
+ let cuotas = 0;
11071
+ this.periodos.forEach(element => {
11072
+ if (element.estatusCuota == 1) {
11073
+ cuotas = cuotas + 1;
11074
+ }
11075
+ });
11076
+ return cuotas;
11077
+ }
11078
+ }
11079
+ class MPrestamosPeriodo extends MBasicModel {
11080
+ constructor(e) {
11081
+ super();
11082
+ this.idEmpresa = 0;
11083
+ this.idPersonal = 0;
11084
+ this.idPrestamo = 0;
11085
+ this.numeroCuota = 0;
11086
+ this.idPeriodo = 0;
11087
+ this.fechaInicioPeriodo = '';
11088
+ this.fechaFinPeriodo = '';
11089
+ this.montoCuota = 0;
11090
+ this.estatusCuota = 0;
11091
+ if (e) {
11092
+ this.idEmpresa = +e.id_empresa;
11093
+ this.idPersonal = +e.id_personal;
11094
+ this.idPrestamo = +e.id_prestamo;
11095
+ this.numeroCuota = +e.numcuo;
11096
+ this.idPeriodo = +e.id_periodocob;
11097
+ this.fechaInicioPeriodo = e.feciniper;
11098
+ this.fechaFinPeriodo = e.fecfinper;
11099
+ this.montoCuota = +e.moncuo;
11100
+ this.estatusCuota = +e.estcuo;
11101
+ this.codigoPeriodo = e.codperipre;
11102
+ this.denominacionEstatus = this.denominacion();
11103
+ }
11104
+ else {
11105
+ this.isNew = true;
11106
+ }
11107
+ }
11108
+ dataInterface() {
11109
+ return {
11110
+ id_empresa: this.idEmpresa,
11111
+ id_personal: this.idPersonal,
11112
+ id_prestamo: this.idPrestamo,
11113
+ numcuo: this.numeroCuota,
11114
+ id_periodocob: this.idPeriodo,
11115
+ feciniper: this.fechaInicioPeriodo,
11116
+ fecfinper: this.fechaFinPeriodo,
11117
+ moncuo: this.montoCuota,
11118
+ estcuo: this.estatusCuota,
11119
+ codperipre: this.codigoPeriodo
11120
+ };
11121
+ }
11122
+ denominacion() {
11123
+ if (this.estatusCuota == 1) {
11124
+ return 'Cancelado';
11125
+ }
11126
+ else
11127
+ return 'No Cancelado';
11128
+ }
11129
+ }
11130
+ class MPrestamoAmortizacion extends MBasicModel {
11131
+ constructor(e) {
11132
+ super();
11133
+ this.idEmpresa = 0;
11134
+ this.idPersonal = 0;
11135
+ this.idPrestamo = 0;
11136
+ this.numeroAmortizacion = 0;
11137
+ this.idPeriodoAmortizacion = 0;
11138
+ this.fecchaAmortizacion = '1900-01-01';
11139
+ this.montoAmortizacion = 0;
11140
+ this.descripcionAmortizacion = '';
11141
+ if (e) {
11142
+ this.idEmpresa = +e.id_empresa;
11143
+ this.idPersonal = +e.id_personal;
11144
+ this.idPrestamo = +e.id_prestamo;
11145
+ this.numeroAmortizacion = +e.numamo;
11146
+ this.idPeriodoAmortizacion = +e.id_periodoamo;
11147
+ this.fecchaAmortizacion = e.fecamo;
11148
+ this.montoAmortizacion = +e.monamo;
11149
+ this.descripcionAmortizacion = e.desamo;
11150
+ }
11151
+ }
11152
+ dataInterface() {
11153
+ return {
11154
+ id_empresa: this.idEmpresa,
11155
+ id_personal: this.idPersonal,
11156
+ id_prestamo: this.idPrestamo,
11157
+ numamo: this.numeroAmortizacion,
11158
+ id_periodoamo: this.idPeriodoAmortizacion,
11159
+ fecamo: this.fecchaAmortizacion,
11160
+ monamo: this.montoAmortizacion,
11161
+ desamo: this.descripcionAmortizacion,
11162
+ };
11163
+ }
11164
+ }
11165
+
11166
+ class MRConsolidadoConceptos extends MBasicModel {
11167
+ constructor(e = null) {
11168
+ super();
11169
+ this.idNominaDes = 0;
11170
+ this.idNominaHas = 0;
11171
+ this.codigoNominaDes = "";
11172
+ this.codigoNominaHas = "";
11173
+ this.idPersonalDes = 0;
11174
+ this.idPersonalHas = 0;
11175
+ this.codigoPersonalDes = "";
11176
+ this.codigoPersonalHas = "";
11177
+ this.ordenDesde = 0;
11178
+ this.ordenHasta = 0;
11179
+ this.idConceptoDes = 0;
11180
+ this.idConceptoHas = 0;
11181
+ this.codigoConceptoDes = "";
11182
+ this.codigoConceptoHas = "";
11183
+ this.tipoConcepto = "";
11184
+ this.idPeriodoDes = 0;
11185
+ this.idPeriodoHas = 0;
11186
+ this.codidoPeriodoDes = "";
11187
+ this.codidoPeriodoHas = "";
11188
+ this.annocurso = 0;
11189
+ this.orden = "1";
11190
+ this.reporte = "";
11191
+ if (e) {
11192
+ this.idNominaDes = e.id_nominaDes;
11193
+ this.idNominaHas = e.id_nominaHas;
11194
+ this.codigoNominaDes = e.codnomDes;
11195
+ this.codigoNominaHas = e.codnomHas;
11196
+ this.idPersonalDes = e.id_personalDes;
11197
+ this.idPersonalHas = e.id_personalHas;
11198
+ this.codigoPersonalDes = e.codperDes;
11199
+ this.codigoPersonalHas = e.codperHas;
11200
+ this.ordenDesde = e.ordenDesde;
11201
+ this.ordenHasta = e.ordenHasta;
11202
+ this.idConceptoDes = e.id_conceptoDes;
11203
+ this.idConceptoHas = e.id_conceptoHas;
11204
+ this.codigoConceptoDes = e.codconcDes;
11205
+ this.codigoConceptoHas = e.codconcHas;
11206
+ this.tipoConcepto = e.tipconc;
11207
+ this.idPeriodoDes = e.id_periodoDes;
11208
+ this.idPeriodoHas = e.id_periodoHas;
11209
+ this.codidoPeriodoDes = e.codperiDes;
11210
+ this.codidoPeriodoHas = e.codperiHas;
11211
+ this.annocurso = e.anocur;
11212
+ this.orden = e.orden;
11213
+ this.reporte = e.reporte;
11214
+ }
11215
+ else {
11216
+ this.isNew = true;
11217
+ }
11218
+ }
11219
+ dataInterface() {
11220
+ return {
11221
+ id_nominaDes: this.idNominaDes,
11222
+ id_nominaHas: this.idNominaHas,
11223
+ codnomDes: this.codigoNominaDes,
11224
+ codnomHas: this.codigoNominaHas,
11225
+ id_personalDes: this.idPersonalDes,
11226
+ id_personalHas: this.idPersonalHas,
11227
+ codperDes: this.codigoPersonalDes,
11228
+ codperHas: this.codigoPersonalHas,
11229
+ ordenDesde: this.ordenDesde,
11230
+ ordenHasta: this.ordenHasta,
11231
+ id_conceptoDes: this.idConceptoDes,
11232
+ id_conceptoHas: this.idConceptoHas,
11233
+ codconcDes: this.codigoConceptoDes,
11234
+ codconcHas: this.codigoConceptoHas,
11235
+ tipconc: this.tipoConcepto,
11236
+ id_periodoDes: this.idPeriodoDes,
11237
+ id_periodoHas: this.idPeriodoHas,
11238
+ codperiDes: this.codidoPeriodoDes,
11239
+ codperiHas: this.codidoPeriodoHas,
11240
+ anocur: this.annocurso,
11241
+ orden: this.orden,
11242
+ reporte: this.reporte
11243
+ };
11244
+ }
11245
+ }
11246
+ class MRConstanciaTrabajo extends MBasicModel {
11247
+ constructor(e = null) {
11248
+ super();
11249
+ this.id_constancia = 0;
11250
+ this.codigoconstancia = '';
11251
+ this.plantilla_rtf = '';
11252
+ this.archivo = '';
11253
+ this.id_nomina = 0;
11254
+ this.codigonomina = '';
11255
+ this.id_personalDes = 0;
11256
+ this.id_personalHas = 0;
11257
+ this.codigopersonalDes = '';
11258
+ this.codigopersonalHas = '';
11259
+ this.orden = '1';
11260
+ if (e) {
11261
+ this.id_constancia = e.id_constancia;
11262
+ this.codigoconstancia = e.codconstra;
11263
+ this.plantilla_rtf = e.plantilla_rtf;
11264
+ this.archivo = e.archivo;
11265
+ this.id_nomina = e.id_nomina;
11266
+ this.codigonomina = e.codnom;
11267
+ this.id_personalDes = e.id_personalDes;
11268
+ this.id_personalHas = e.id_personalHas;
11269
+ this.codigopersonalDes = e.codperDes;
11270
+ this.codigopersonalHas = e.codperHas;
11271
+ this.orden = e.orden;
11272
+ }
11273
+ else {
11274
+ this.isNew = true;
11275
+ }
11276
+ }
11277
+ dataInterface() {
11278
+ return {
11279
+ id_constancia: this.id_constancia,
11280
+ codconstra: this.codigoconstancia,
11281
+ plantilla_rtf: this.plantilla_rtf,
11282
+ archivo: this.archivo,
11283
+ id_nomina: this.id_nomina,
11284
+ codnom: this.codigonomina,
11285
+ id_personalDes: this.id_personalDes,
11286
+ id_personalHas: this.id_personalHas,
11287
+ codperDes: this.codigopersonalDes,
11288
+ codperHas: this.codigopersonalHas,
11289
+ orden: this.orden,
11290
+ };
11291
+ }
11292
+ }
11293
+ class MRArchivoTXT extends MBasicModel {
11294
+ constructor(e = null) {
11295
+ super();
11296
+ this.nombrearchivo = '';
11297
+ if (e) {
11298
+ this.nombrearchivo = e.nombrearchivo;
11299
+ }
11300
+ else {
11301
+ this.isNew = true;
11302
+ }
11303
+ }
11304
+ dataInterface() {
11305
+ return {
11306
+ nombrearchivo: this.nombrearchivo
11307
+ };
11308
+ }
11309
+ }
11310
+ class MRListadoPersonal extends MBasicModel {
11311
+ constructor(e = null) {
11312
+ super();
11313
+ this.idNominaDes = 0;
11314
+ this.idNominaHas = 0;
11315
+ this.codigoNominaDes = "";
11316
+ this.codigoNominaHas = "";
11317
+ this.denominacionNominaDes = "";
11318
+ this.denominacionNominaHas = "";
11319
+ this.id_personalDes = 0;
11320
+ this.id_personalHas = 0;
11321
+ this.codigoPersonalDes = "";
11322
+ this.codigoPersonalHas = "";
11323
+ this.nombrePersonalDes = "";
11324
+ this.nombrePersonalHas = "";
11325
+ this.estatusPersonal = 1;
11326
+ this.causaEgresoPer = "";
11327
+ this.sexo = "";
11328
+ this.codigoPais = "000058";
11329
+ this.codigoEstado = "";
11330
+ this.codigoMunicipio = "";
11331
+ this.codigoParroquia = "";
11332
+ this.nombrePais = "Venezuela";
11333
+ this.nombreEstado = "";
11334
+ this.nombreMunicipio = "";
11335
+ this.nombreParroquia = "";
11336
+ this.statusPersonalNomina = "";
11337
+ this.fechaDesde = "";
11338
+ this.fechaHasta = "";
11339
+ this.orden = "1";
11340
+ this.reporte = "";
11341
+ if (e) {
11342
+ this.idNominaDes = e.id_nominaDes;
11343
+ this.idNominaHas = e.id_nominaHas;
11344
+ this.codigoNominaDes = e.codnomDes;
11345
+ this.codigoNominaHas = e.codnomHas;
11346
+ this.denominacionNominaDes = e.dennomDes;
11347
+ this.denominacionNominaHas = e.dennomHas;
11348
+ this.id_personalDes = e.id_personalDes;
11349
+ this.id_personalHas = e.id_personalHas;
11350
+ this.codigoPersonalDes = e.codperDes;
11351
+ this.codigoPersonalHas = e.codperHas;
11352
+ this.nombrePersonalDes = e.nomperDes;
11353
+ this.nombrePersonalHas = e.nomperHas;
11354
+ this.estatusPersonal = e.estper;
11355
+ this.causaEgresoPer = e.cauegrper;
11356
+ this.sexo = e.sexper;
11357
+ this.codigoPais = e.codpai;
11358
+ this.codigoEstado = e.codest;
11359
+ this.codigoMunicipio = e.codmun;
11360
+ this.codigoParroquia = e.codpar;
11361
+ this.nombrePais = e.despai;
11362
+ this.nombreEstado = e.desest;
11363
+ this.nombreMunicipio = e.desmun;
11364
+ this.nombreParroquia = e.despar;
11365
+ this.statusPersonalNomina = e.staper;
11366
+ this.fechaDesde = e.fechaDes;
11367
+ this.fechaHasta = e.fechaHas;
11368
+ this.orden = e.orden;
11369
+ this.reporte = e.reporte;
11370
+ }
11371
+ else {
11372
+ this.isNew = true;
11373
+ }
11374
+ }
11375
+ dataInterface() {
11376
+ return {
11377
+ id_nominaDes: this.idNominaDes,
11378
+ id_nominaHas: this.idNominaHas,
11379
+ codnomDes: this.codigoNominaDes,
11380
+ codnomHas: this.codigoNominaHas,
11381
+ dennomDes: this.denominacionNominaDes,
11382
+ dennomHas: this.denominacionNominaHas,
11383
+ id_personalDes: this.id_personalDes,
11384
+ id_personalHas: this.id_personalHas,
11385
+ codperDes: this.codigoPersonalDes,
11386
+ codperHas: this.codigoPersonalHas,
11387
+ nomperDes: this.nombrePersonalDes,
11388
+ nomperHas: this.nombrePersonalHas,
11389
+ estper: this.estatusPersonal,
11390
+ cauegrper: this.causaEgresoPer,
11391
+ sexper: this.sexo,
11392
+ codpai: this.codigoPais,
11393
+ codest: this.codigoEstado,
11394
+ codmun: this.codigoMunicipio,
11395
+ codpar: this.codigoParroquia,
11396
+ despai: this.nombrePais,
11397
+ desest: this.nombreEstado,
11398
+ desmun: this.nombreMunicipio,
11399
+ despar: this.nombreParroquia,
11400
+ staper: this.statusPersonalNomina,
11401
+ fechaDes: this.fechaDesde,
11402
+ fechaHas: this.fechaHasta,
11403
+ orden: this.orden,
11404
+ reporte: this.reporte
11405
+ };
11406
+ }
11407
+ }
11408
+ class MRListadoSindicato extends MBasicModel {
11409
+ constructor(e = null) {
11410
+ super();
11411
+ this.idSindicatoDes = 0;
11412
+ this.idSindicatoHas = 0;
11413
+ this.codigoSindicatoDes = '';
11414
+ this.codigoSindicatoHas = '';
11415
+ this.reporte = '';
11416
+ if (e) {
11417
+ this.idSindicatoDes = e.id_sindicatoDes;
11418
+ this.idSindicatoHas = e.id_sindicatoHas;
11419
+ this.codigoSindicatoDes = e.codSindicatoDes;
11420
+ this.codigoSindicatoHas = e.codSindicatoHas;
11421
+ this.reporte = e.reporte;
11422
+ }
11423
+ else {
11424
+ this.isNew = true;
11425
+ }
11426
+ }
11427
+ dataInterface() {
11428
+ return {
11429
+ id_sindicatoDes: this.idSindicatoDes,
11430
+ id_sindicatoHas: this.idSindicatoHas,
11431
+ codSindicatoDes: this.codigoSindicatoDes,
11432
+ codSindicatoHas: this.codigoSindicatoHas,
11433
+ reporte: this.reporte,
11434
+ };
11435
+ }
11436
+ }
11437
+ class MRListadoTipoPersonal extends MBasicModel {
11438
+ constructor(e = null) {
11439
+ super();
11440
+ this.idUbicacionFisica = 0;
11441
+ this.codigoUbicacionFisica = "";
11442
+ this.denominacionUbicacionFisica = "";
11443
+ this.codigoPais = '000058';
11444
+ this.nombrePais = 'Venezuela';
11445
+ this.codigoEstado = '---';
11446
+ this.nombreEstado = '';
11447
+ this.codigoMunicipio = '---';
11448
+ this.nombreMunicipio = '';
11449
+ this.codigoParroquia = '---';
11450
+ this.nombreParroquia = '';
11451
+ this.reporte = '';
11452
+ this.estatusPersonal = '';
11453
+ this.idOrganigrama = 0;
11454
+ this.codigoEstOrganizativa = '';
11455
+ this.denominacionEstOrganizativa = '';
11456
+ this.orden = '1';
11457
+ if (e) {
11458
+ this.idUbicacionFisica = e.id_ubifis;
11459
+ this.codigoUbicacionFisica = e.codubifis;
11460
+ this.denominacionUbicacionFisica = e.denubifis;
11461
+ this.codigoPais = '000058';
11462
+ this.nombrePais = 'Venezuela';
11463
+ this.codigoEstado = e.codest;
11464
+ this.nombreEstado = e.desest;
11465
+ this.codigoMunicipio = e.codmun;
11466
+ this.nombreMunicipio = e.desmun;
11467
+ this.codigoParroquia = e.codpar;
11468
+ this.nombreParroquia = e.despar;
11469
+ this.estatusPersonal = e.estper;
11470
+ this.idOrganigrama = e.id_organigrama;
11471
+ this.codigoEstOrganizativa = e.codestorg;
11472
+ this.denominacionEstOrganizativa = e.denestorg;
11473
+ this.reporte = e.reporte;
11474
+ this.orden = e.orden;
11475
+ }
11476
+ else {
11477
+ this.isNew = true;
11478
+ }
11479
+ }
11480
+ dataInterface() {
11481
+ return {
11482
+ id_ubifis: this.idUbicacionFisica,
11483
+ codubifis: this.codigoUbicacionFisica,
11484
+ denubifis: this.denominacionUbicacionFisica,
11485
+ codpai: this.codigoPais,
11486
+ despai: this.nombrePais,
11487
+ codest: this.codigoEstado,
11488
+ desest: this.nombreEstado,
11489
+ codmun: this.codigoMunicipio,
11490
+ desmun: this.nombreMunicipio,
11491
+ codpar: this.codigoParroquia,
11492
+ despar: this.nombreParroquia,
11493
+ estper: this.estatusPersonal,
11494
+ id_organigrama: this.idOrganigrama,
11495
+ codestorg: this.codigoEstOrganizativa,
11496
+ denestorg: this.denominacionEstOrganizativa,
11497
+ reporte: this.reporte,
11498
+ orden: this.orden
11499
+ };
11500
+ }
11501
+ }
11502
+ class MRPeriodo extends MBasicModel {
11503
+ constructor(e = null) {
11504
+ super();
11505
+ this.idPeriodo = 0;
11506
+ this.codigoPeriodo = '';
11507
+ this.fechaDesdePeriodo = '1900-01-01';
11508
+ this.fechaHastaperiodo = '1900-01-01';
11509
+ if (e) {
11510
+ this.idPeriodo = parseInt(e.id_periodo);
11511
+ this.codigoPeriodo = e.codperi;
11512
+ this.fechaDesdePeriodo = e.fecdesper;
11513
+ this.fechaHastaperiodo = e.fechasper;
11514
+ }
11515
+ else {
11516
+ this.isNew = true;
11517
+ }
11518
+ }
11519
+ dataInterface() {
11520
+ return {
11521
+ id_periodo: this.idPeriodo.toString(),
11522
+ codperi: this.codigoPeriodo,
11523
+ fecdesper: this.fechaDesdePeriodo,
11524
+ fechasper: this.fechaHastaperiodo
11525
+ };
11526
+ }
11527
+ }
11528
+ class MRRetenciones extends MBasicModel {
11529
+ constructor(e = null) {
11530
+ super();
11531
+ this.id_nomina = 0;
11532
+ this.codigonomina = '';
11533
+ this.id_personalDes = 0;
11534
+ this.id_personalHas = 0;
11535
+ this.codigopersonalDes = "";
11536
+ this.codigopersonalHas = "";
11537
+ this.annocurso = "";
11538
+ this.reporte = "";
11539
+ if (e) {
11540
+ this.id_nomina = e.id_nomina;
11541
+ this.codigonomina = e.codnom;
11542
+ this.id_personalDes = e.id_personalDes;
11543
+ this.id_personalHas = e.id_personalHas;
11544
+ this.codigopersonalDes = e.codperDes;
11545
+ this.codigopersonalHas = e.codperHas;
11546
+ this.annocurso = e.annocurso;
11547
+ this.reporte = e.reporte;
11548
+ }
11549
+ else {
11550
+ this.isNew = true;
11551
+ }
11552
+ }
11553
+ dataInterface() {
11554
+ return {
11555
+ id_nomina: this.id_nomina,
11556
+ codnom: this.codigonomina,
11557
+ id_personalDes: this.id_personalDes,
11558
+ id_personalHas: this.id_personalHas,
11559
+ codperDes: this.codigopersonalDes,
11560
+ codperHas: this.codigopersonalHas,
11561
+ annocurso: this.annocurso,
11562
+ reporte: this.reporte
11563
+ };
11564
+ }
11565
+ }
11566
+
9445
11567
  class customPaginator extends MatPaginatorIntl {
9446
11568
  constructor() {
9447
11569
  super(...arguments);
@@ -9473,5 +11595,5 @@ class customPaginator extends MatPaginatorIntl {
9473
11595
  * Generated bundle index. Do not edit.
9474
11596
  */
9475
11597
 
9476
- export { AppModule, CurrencyService, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCargaFamiliar, MCargo, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, 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, MFormacionAcademica, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MLog, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPersonal, MPersonalJubilado, MPersonalNomina, MPlanUnicoCuenta, 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, 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 };
11598
+ 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 };
9477
11599
  //# sourceMappingURL=sigesp.js.map