sigesp 0.8.73-220307 → 0.8.74-20220504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sigesp.umd.js +838 -124
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
- package/esm2015/lib/core/interfaces/Seguridad.js +1 -1
- package/esm2015/lib/core/interfaces/Usuario.js +1 -1
- package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +93 -21
- package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +7 -11
- package/esm2015/lib/core/models/SNO/MCargaMasiva.model.js +34 -0
- package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +18 -27
- package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +7 -1
- package/esm2015/lib/core/models/SNO/MConcursante.model.js +72 -13
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +78 -1
- package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +333 -6
- package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +5 -11
- package/esm2015/lib/core/models/SNO/MPermisos.model.js +61 -0
- package/esm2015/lib/core/models/SNO/MPersonal.model.js +1 -1
- package/esm2015/lib/core/models/SNO/MPlantillaConstancia.model.js +31 -0
- package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +4 -1
- package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +4 -1
- package/esm2015/lib/core/models/SNO/MRango.model.js +7 -2
- package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +4 -1
- package/esm2015/lib/core/models/SNO/MTabulador.model.js +15 -20
- package/esm2015/lib/core/models/SSS/userPermit.model.js +5 -1
- package/esm2015/lib/sigesp.service.js +1 -2
- package/esm2015/public-api.js +6 -2
- package/fesm2015/sigesp.js +761 -106
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +61 -30
- package/lib/core/interfaces/RecursosHumanos.d.ts +208 -53
- package/lib/core/interfaces/Seguridad.d.ts +2 -0
- package/lib/core/interfaces/Usuario.d.ts +13 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +35 -4
- package/lib/core/models/SNO/MBeneficiario.model.d.ts +2 -0
- package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +6 -3
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +2 -0
- package/lib/core/models/SNO/MConcursante.model.d.ts +23 -4
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +26 -1
- package/lib/core/models/SNO/MFideicomiso.model.d.ts +115 -2
- package/lib/core/models/SNO/MNominaSimple.model.d.ts +2 -0
- package/lib/core/models/SNO/MPermisos.model.d.ts +21 -0
- package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
- package/lib/core/models/SNO/MRango.model.d.ts +2 -1
- package/lib/core/models/SNO/MTabulador.model.d.ts +7 -5
- package/lib/core/models/SSS/userPermit.model.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -2
- package/sigesp.metadata.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -3480,6 +3480,83 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3480
3480
|
fechaFinaPeriodoActual() {
|
|
3481
3481
|
return this.periodosNomina[this.indice()].fechaHastaperiodo;
|
|
3482
3482
|
}
|
|
3483
|
+
}
|
|
3484
|
+
class MNominaSimple extends MBasicModel {
|
|
3485
|
+
constructor(e = null) {
|
|
3486
|
+
super();
|
|
3487
|
+
this.idEmpresa = 0;
|
|
3488
|
+
this.idNomina = 0;
|
|
3489
|
+
this.codigoNomina = '';
|
|
3490
|
+
this.denominacioNomina = '';
|
|
3491
|
+
this.idPeriodoActual = 0;
|
|
3492
|
+
this.totalPeriodo = 0;
|
|
3493
|
+
this.estatus = '';
|
|
3494
|
+
this.estatusPeriodo = 0;
|
|
3495
|
+
this.calculada = false;
|
|
3496
|
+
this.prenomina = false;
|
|
3497
|
+
this.idCargo = 0;
|
|
3498
|
+
this.codigoCargo = '';
|
|
3499
|
+
this.denominacionCargo = '';
|
|
3500
|
+
this.nominaRac = 0;
|
|
3501
|
+
this.simbolo = '';
|
|
3502
|
+
this.color = '';
|
|
3503
|
+
this.estatusPersonal = 0;
|
|
3504
|
+
this.denominacionEstatuspersonal = '';
|
|
3505
|
+
this.descripcionPeriodoNomina = '';
|
|
3506
|
+
this.periodoActualNomina = '';
|
|
3507
|
+
this.editable = false;
|
|
3508
|
+
if (e) {
|
|
3509
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
3510
|
+
this.idNomina = parseInt(e.id_nomina);
|
|
3511
|
+
this.codigoNomina = e.codnom;
|
|
3512
|
+
this.denominacioNomina = e.dennom;
|
|
3513
|
+
this.idPeriodoActual = +e.id_periodoactual;
|
|
3514
|
+
this.totalPeriodo = parseFloat(e.totper),
|
|
3515
|
+
this.estatusPeriodo = parseInt(e.cerper);
|
|
3516
|
+
this.calculada = e.calculado == '1' ? true : false;
|
|
3517
|
+
this.prenomina = e.prenomina == '1' ? true : false;
|
|
3518
|
+
this.estatus = this.calculada ? 'Calculada' :
|
|
3519
|
+
!this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
3520
|
+
this.editable = (this.calculada || this.prenomina) ? false : true;
|
|
3521
|
+
this.idCargo = parseInt(e.id_carper);
|
|
3522
|
+
this.codigoCargo = e.codcar;
|
|
3523
|
+
this.denominacionCargo = e.descar;
|
|
3524
|
+
this.nominaRac = parseInt(e.racnom);
|
|
3525
|
+
this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
|
|
3526
|
+
this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
|
|
3527
|
+
this.estatusPersonal = parseInt(e.staper);
|
|
3528
|
+
this.estatusPersonal == 0 ? this.denominacionEstatuspersonal = "NO ASIGNADO" :
|
|
3529
|
+
this.estatusPersonal == 1 ? this.denominacionEstatuspersonal = "ACTIVO" :
|
|
3530
|
+
this.estatusPersonal == 2 ? this.denominacionEstatuspersonal = "VACACIONES" :
|
|
3531
|
+
this.estatusPersonal == 3 ? this.denominacionEstatuspersonal = "EGRESADO" :
|
|
3532
|
+
this.denominacionEstatuspersonal = "SUSPENDIDO";
|
|
3533
|
+
this.descripcionPeriodoNomina = e.despernom;
|
|
3534
|
+
this.periodoActualNomina = e.peractnom;
|
|
3535
|
+
}
|
|
3536
|
+
else {
|
|
3537
|
+
this.isNew = false;
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
dataInterface() {
|
|
3541
|
+
return {
|
|
3542
|
+
id_empresa: this.idEmpresa.toString(),
|
|
3543
|
+
id_nomina: this.idNomina.toString(),
|
|
3544
|
+
codnom: this.codigoNomina,
|
|
3545
|
+
dennom: this.denominacioNomina,
|
|
3546
|
+
id_periodoactual: this.idPeriodoActual.toString(),
|
|
3547
|
+
totper: this.totalPeriodo.toString(),
|
|
3548
|
+
cerper: this.estatusPeriodo.toString(),
|
|
3549
|
+
prenomina: this.prenomina ? '1' : '0',
|
|
3550
|
+
calculado: this.calculada ? '1' : '0',
|
|
3551
|
+
id_carper: this.idCargo.toString(),
|
|
3552
|
+
descar: this.denominacionCargo,
|
|
3553
|
+
codcar: this.codigoCargo,
|
|
3554
|
+
racnom: this.nominaRac.toString(),
|
|
3555
|
+
staper: this.estatusPersonal.toString(),
|
|
3556
|
+
despernom: this.descripcionPeriodoNomina,
|
|
3557
|
+
peractnom: this.periodoActualNomina,
|
|
3558
|
+
};
|
|
3559
|
+
}
|
|
3483
3560
|
}
|
|
3484
3561
|
|
|
3485
3562
|
class MAsignacionCargo extends MBasicModel {
|
|
@@ -3489,9 +3566,6 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3489
3566
|
this.idAsignacionCargo = 0;
|
|
3490
3567
|
this.codigoAsignacionCargo = '';
|
|
3491
3568
|
this.denominacionAsignacionCargo = '';
|
|
3492
|
-
this.idOrganigrama = 0;
|
|
3493
|
-
this.codigoOrganigrama = '';
|
|
3494
|
-
this.denominacionOrganigrama = '';
|
|
3495
3569
|
this.idEp1 = 0;
|
|
3496
3570
|
this.idEp2 = 0;
|
|
3497
3571
|
this.idEp3 = 0;
|
|
@@ -3516,14 +3590,15 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3516
3590
|
this.totalCargos = 0;
|
|
3517
3591
|
this.numeroCargosOcupados = 0;
|
|
3518
3592
|
this.disponibilidadCargos = 0;
|
|
3593
|
+
this.detallesNominas = [];
|
|
3594
|
+
this.nominaEliminar = [];
|
|
3595
|
+
this.detallesOrganigrama = [];
|
|
3596
|
+
this.organigramaEliminar = [];
|
|
3519
3597
|
if (e) {
|
|
3520
3598
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
3521
3599
|
this.idAsignacionCargo = parseInt(e.id_carper);
|
|
3522
3600
|
this.codigoAsignacionCargo = e.codcar;
|
|
3523
3601
|
this.denominacionAsignacionCargo = e.descar;
|
|
3524
|
-
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
3525
|
-
this.codigoOrganigrama = e.codestorg;
|
|
3526
|
-
this.denominacionOrganigrama = e.denestorg;
|
|
3527
3602
|
this.idEp1 = parseInt(e.id_ep1);
|
|
3528
3603
|
this.idEp2 = parseInt(e.id_ep2);
|
|
3529
3604
|
this.idEp3 = parseInt(e.id_ep3);
|
|
@@ -3548,6 +3623,12 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3548
3623
|
this.totalCargos = parseInt(e.totcar);
|
|
3549
3624
|
this.numeroCargosOcupados = parseInt(e.numocucar);
|
|
3550
3625
|
this.disponibilidadCargos = parseInt(e.disponibilidad);
|
|
3626
|
+
if (e.detalles_nomina) {
|
|
3627
|
+
this.detallesNominas = e.detalles_nomina.map(e => new MCargosNominas(e));
|
|
3628
|
+
}
|
|
3629
|
+
if (e.detalles_organigrama) {
|
|
3630
|
+
this.detallesOrganigrama = e.detalles_organigrama.map(e => new MCargoEstructuraOrganizativa(e));
|
|
3631
|
+
}
|
|
3551
3632
|
}
|
|
3552
3633
|
else {
|
|
3553
3634
|
this.isNew = true;
|
|
@@ -3559,38 +3640,106 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3559
3640
|
id_carper: this.idAsignacionCargo.toString(),
|
|
3560
3641
|
codcar: this.codigoAsignacionCargo,
|
|
3561
3642
|
descar: this.denominacionAsignacionCargo,
|
|
3562
|
-
id_organigrama: this.idOrganigrama.toString(),
|
|
3563
|
-
codestorg: this.codigoOrganigrama,
|
|
3564
|
-
denestorg: this.denominacionOrganigrama,
|
|
3565
3643
|
id_ep1: this.idEp1.toString(),
|
|
3566
3644
|
id_ep2: this.idEp2.toString(),
|
|
3567
3645
|
id_ep3: this.idEp3.toString(),
|
|
3568
3646
|
id_ep4: this.idEp4.toString(),
|
|
3569
3647
|
id_ep5: this.idEp5.toString(),
|
|
3570
|
-
codigo_estructura: this.codigoEstructura,
|
|
3571
|
-
denominacion_estructura: this.denominacionEstructura,
|
|
3572
3648
|
clacar: this.claseCargo,
|
|
3573
3649
|
id_dedicacion: this.idDedicacion.toString(),
|
|
3574
|
-
codded: this.codigoDedicacion,
|
|
3575
|
-
dended: this.denominacionDedicacion,
|
|
3576
3650
|
id_tipopersonal: this.idTipoPersonal.toString(),
|
|
3577
|
-
codtipper: this.codigoTipoPersonal,
|
|
3578
|
-
dentipper: this.denominacionTipoPersonal,
|
|
3579
3651
|
id_tabulador: this.idTabulador.toString(),
|
|
3580
|
-
codtab: this.codigoTipoPersonal,
|
|
3581
|
-
destab: this.denominacionTabulador,
|
|
3582
3652
|
codgra: this.codigoGrado,
|
|
3583
3653
|
codpas: this.codigoPaso,
|
|
3584
|
-
monsalgra: this.salario.toString(),
|
|
3585
|
-
moncomgra: this.compensacion.toString(),
|
|
3586
3654
|
totcar: this.totalCargos.toString(),
|
|
3587
3655
|
numocucar: this.numeroCargosOcupados.toString(),
|
|
3588
|
-
|
|
3656
|
+
detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
|
|
3657
|
+
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
3658
|
+
eliminar_nomina: this.nominaEliminar,
|
|
3659
|
+
eliminar_organigrama: this.organigramaEliminar,
|
|
3660
|
+
};
|
|
3661
|
+
}
|
|
3662
|
+
}
|
|
3663
|
+
class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
3664
|
+
constructor(e = null) {
|
|
3665
|
+
super();
|
|
3666
|
+
this.idEmpresa = 0;
|
|
3667
|
+
this.idCargoPersonal = 0;
|
|
3668
|
+
this.idOrganigrama = 0;
|
|
3669
|
+
this.idDtCargoEstructura = 0;
|
|
3670
|
+
this.idPersonal = 0;
|
|
3671
|
+
this.codigoEstructuraOrganizativa = '';
|
|
3672
|
+
this.denominacionEstructuraOrganizativa = '';
|
|
3673
|
+
this.nivel = 0;
|
|
3674
|
+
if (e) {
|
|
3675
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
3676
|
+
this.idCargoPersonal = parseInt(e.id_carper);
|
|
3677
|
+
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
3678
|
+
this.codigoEstructuraOrganizativa = e.codestorg;
|
|
3679
|
+
this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
3680
|
+
this.idPersonal = parseInt(e.id_personal);
|
|
3681
|
+
this.nivel = parseInt(e.nivel);
|
|
3682
|
+
}
|
|
3683
|
+
else {
|
|
3684
|
+
this.isNew = true;
|
|
3685
|
+
}
|
|
3686
|
+
}
|
|
3687
|
+
dataInterface() {
|
|
3688
|
+
return {
|
|
3689
|
+
id_empresa: this.idEmpresa.toString(),
|
|
3690
|
+
id_carper: this.idCargoPersonal.toString(),
|
|
3691
|
+
id_organigrama: this.idOrganigrama.toString(),
|
|
3692
|
+
id_dt: this.idDtCargoEstructura.toString(),
|
|
3693
|
+
id_personal: this.idPersonal.toString(),
|
|
3694
|
+
};
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
class MCargosNominas extends MBasicModel {
|
|
3698
|
+
constructor(e = null) {
|
|
3699
|
+
super();
|
|
3700
|
+
this.idEmpresa = 0;
|
|
3701
|
+
this.idNomina = 0;
|
|
3702
|
+
this.idCargo = 0;
|
|
3703
|
+
this.codigoNomina = '';
|
|
3704
|
+
this.denominacionNomina = '';
|
|
3705
|
+
this.estatus = '';
|
|
3706
|
+
this.idDtNomina = 0;
|
|
3707
|
+
this.periodoActualNomina = '001';
|
|
3708
|
+
this.idPeriodoActual = 0;
|
|
3709
|
+
this.nominaRac = 0;
|
|
3710
|
+
this.descripcionPeriodoNomina = '';
|
|
3711
|
+
this.prenomina = false;
|
|
3712
|
+
this.editables = false;
|
|
3713
|
+
this.calculada = false;
|
|
3714
|
+
if (e) {
|
|
3715
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
3716
|
+
this.idNomina = parseInt(e.id_nomina);
|
|
3717
|
+
this.idCargo = parseInt(e.id_carper);
|
|
3718
|
+
this.codigoNomina = e.codnom;
|
|
3719
|
+
this.denominacionNomina = e.dennom;
|
|
3720
|
+
this.idDtNomina = parseInt(e.id_dt_carnom);
|
|
3721
|
+
this.periodoActualNomina = e.peractnom;
|
|
3722
|
+
this.calculada = e.calculado == '1' ? true : false;
|
|
3723
|
+
this.prenomina = e.prenomina == '1' ? true : false;
|
|
3724
|
+
this.estatus = this.calculada ? 'Calculada' :
|
|
3725
|
+
!this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
3726
|
+
this.editables = (this.calculada || this.prenomina) ? false : true;
|
|
3727
|
+
}
|
|
3728
|
+
else {
|
|
3729
|
+
this.isNew = true;
|
|
3730
|
+
}
|
|
3731
|
+
}
|
|
3732
|
+
dataInterface() {
|
|
3733
|
+
return {
|
|
3734
|
+
id_empresa: this.idEmpresa.toString(),
|
|
3735
|
+
id_nomina: this.idNomina.toString(),
|
|
3736
|
+
id_carper: this.idCargo.toString(),
|
|
3737
|
+
id_dt_carnom: this.idDtNomina.toString(),
|
|
3589
3738
|
};
|
|
3590
3739
|
}
|
|
3591
3740
|
}
|
|
3592
3741
|
|
|
3593
|
-
class MNominaSimple {
|
|
3742
|
+
class MNominaSimple$1 {
|
|
3594
3743
|
constructor(e = null) {
|
|
3595
3744
|
this.idEmpresa = 0;
|
|
3596
3745
|
this.idNnomina = 0;
|
|
@@ -3608,6 +3757,8 @@ class MNominaSimple {
|
|
|
3608
3757
|
this.nominaRac = 0;
|
|
3609
3758
|
this.simbolo = '';
|
|
3610
3759
|
this.color = '';
|
|
3760
|
+
this.periodoActualNomina = '';
|
|
3761
|
+
this.descripcionPeriodoNomina = '';
|
|
3611
3762
|
if (e) {
|
|
3612
3763
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
3613
3764
|
this.idNnomina = parseInt(e.id_nomina);
|
|
@@ -3626,23 +3777,15 @@ class MNominaSimple {
|
|
|
3626
3777
|
this.nominaRac = parseInt(e.racnom);
|
|
3627
3778
|
this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
|
|
3628
3779
|
this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
|
|
3780
|
+
this.descripcionPeriodoNomina = e.despernom;
|
|
3781
|
+
this.periodoActualNomina = e.peractnom;
|
|
3629
3782
|
}
|
|
3630
3783
|
}
|
|
3631
3784
|
dataInterface() {
|
|
3632
3785
|
return {
|
|
3633
3786
|
id_empresa: this.idEmpresa.toString(),
|
|
3634
3787
|
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',
|
|
3642
3788
|
id_carper: this.idCargo.toString(),
|
|
3643
|
-
descar: this.denominacionCargo,
|
|
3644
|
-
codcar: this.codigoCargo,
|
|
3645
|
-
racnom: this.nominaRac.toString(),
|
|
3646
3789
|
};
|
|
3647
3790
|
}
|
|
3648
3791
|
}
|
|
@@ -5885,7 +6028,7 @@ class SigespService {
|
|
|
5885
6028
|
getPersonalNominaResumida(idPersonal, tipo) {
|
|
5886
6029
|
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
6030
|
if (res.success) {
|
|
5888
|
-
res.data = res.data.map(e => new MNominaSimple(e));
|
|
6031
|
+
res.data = res.data.map(e => new MNominaSimple$1(e));
|
|
5889
6032
|
}
|
|
5890
6033
|
return res;
|
|
5891
6034
|
}));
|
|
@@ -5920,7 +6063,6 @@ class SigespService {
|
|
|
5920
6063
|
return this.http.post(`${this.URL}/dao/sss/log_dao.php`, body, {
|
|
5921
6064
|
headers: this.getHttpHeaders()
|
|
5922
6065
|
}).pipe(map((res) => {
|
|
5923
|
-
console.log("Log : ", res);
|
|
5924
6066
|
return res;
|
|
5925
6067
|
}));
|
|
5926
6068
|
}
|
|
@@ -6544,6 +6686,8 @@ class MUserPermit extends MBasicModel {
|
|
|
6544
6686
|
this.userData.name = permit.nomusu;
|
|
6545
6687
|
this.userData.lastname = permit.apeusu;
|
|
6546
6688
|
this.userData.username = permit.codusu;
|
|
6689
|
+
this.descripcion = permit.descripcion;
|
|
6690
|
+
this.id_record = parseInt(permit.id_record);
|
|
6547
6691
|
}
|
|
6548
6692
|
else {
|
|
6549
6693
|
this.isNew = true;
|
|
@@ -6554,6 +6698,8 @@ class MUserPermit extends MBasicModel {
|
|
|
6554
6698
|
activo: this.active ? '1' : '0',
|
|
6555
6699
|
codintper: this.internalPermit,
|
|
6556
6700
|
codsis: this.systemCode,
|
|
6701
|
+
descripcion: this.descripcion,
|
|
6702
|
+
id_record: this.id_record.toString(),
|
|
6557
6703
|
id_permiso: this.id.toString(),
|
|
6558
6704
|
id_usuario: this.userData.id ? this.userData.id.toString() : null,
|
|
6559
6705
|
apeusu: this.userData.lastname ? this.userData.lastname : null,
|
|
@@ -6807,6 +6953,8 @@ class MBeneficiario extends MBasicModel {
|
|
|
6807
6953
|
this.nexoFamiliar = '';
|
|
6808
6954
|
this.nombreBanco = '';
|
|
6809
6955
|
this.denominacionTipoCuenta = '';
|
|
6956
|
+
this.medidaActiva = false;
|
|
6957
|
+
this.tribunal = '';
|
|
6810
6958
|
if (e) {
|
|
6811
6959
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
6812
6960
|
this.idPersonal = parseInt(e.id_personal);
|
|
@@ -6821,6 +6969,8 @@ class MBeneficiario extends MBasicModel {
|
|
|
6821
6969
|
this.numeroExpedienteBeneficiario = e.numexpben;
|
|
6822
6970
|
this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
|
|
6823
6971
|
this.montoPagoBeneficiario = parseFloat(e.monpagben);
|
|
6972
|
+
this.medidaActiva = e.medact == '1' ? true : false;
|
|
6973
|
+
this.tribunal = e.tribunal;
|
|
6824
6974
|
this.nombreCheque = e.nompro;
|
|
6825
6975
|
this.cedulaAutorizado = e.cedpro;
|
|
6826
6976
|
this.nombreFamiliar = e.nomfam;
|
|
@@ -6851,16 +7001,8 @@ class MBeneficiario extends MBasicModel {
|
|
|
6851
7001
|
ctabanben: this.cuentaBancoBeneficiario,
|
|
6852
7002
|
forpagben: this.formaPagoBeneficiario,
|
|
6853
7003
|
numexpben: this.numeroExpedienteBeneficiario,
|
|
6854
|
-
|
|
6855
|
-
|
|
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
|
|
7004
|
+
medact: this.medidaActiva ? '1' : '0',
|
|
7005
|
+
tribunal: this.tribunal,
|
|
6864
7006
|
};
|
|
6865
7007
|
}
|
|
6866
7008
|
}
|
|
@@ -6868,6 +7010,7 @@ class MBeneficiario extends MBasicModel {
|
|
|
6868
7010
|
class MCargosPersonal extends MBasicModel {
|
|
6869
7011
|
constructor(p = null) {
|
|
6870
7012
|
super();
|
|
7013
|
+
this.idEmpresa = 0;
|
|
6871
7014
|
this.idPersonal = 0;
|
|
6872
7015
|
this.idCargo = 0;
|
|
6873
7016
|
this.codigoCargo = '';
|
|
@@ -6875,7 +7018,6 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6875
7018
|
this.codigoDedicacion = '';
|
|
6876
7019
|
this.denominacionDedicacion = '';
|
|
6877
7020
|
this.denominacionTipoPersonalSno = '';
|
|
6878
|
-
this.idOrganigrama = 0;
|
|
6879
7021
|
this.idUbicacionFisica = 0;
|
|
6880
7022
|
this.denominacionUbicacionFisica = '';
|
|
6881
7023
|
this.codigoUbicacionFisica = '';
|
|
@@ -6887,17 +7029,15 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6887
7029
|
this.codigoPaso = '0';
|
|
6888
7030
|
this.codigoTabulador = '';
|
|
6889
7031
|
this.denominacionTabulador = '';
|
|
6890
|
-
this.codigoOrganigrama = '';
|
|
6891
|
-
this.denominacionOrganigrama = '';
|
|
6892
7032
|
this.idPersonalCargo = 0;
|
|
6893
7033
|
this.montoSalarioGrado = 0;
|
|
6894
7034
|
this.montoCompensacionGrado = 0;
|
|
6895
7035
|
this.estatusMPPPE = false;
|
|
7036
|
+
this.detallesOrganigrama = [];
|
|
7037
|
+
this.organigramaEliminar = [];
|
|
7038
|
+
this.detallesNomina = [];
|
|
6896
7039
|
if (p) {
|
|
6897
7040
|
this.idPersonal = parseInt(p.id_personal);
|
|
6898
|
-
this.idOrganigrama = parseInt(p.id_organigrama);
|
|
6899
|
-
this.codigoOrganigrama = p.codestorg;
|
|
6900
|
-
this.denominacionOrganigrama = p.denestorg;
|
|
6901
7041
|
this.idCargo = +p.id_carper;
|
|
6902
7042
|
this.codigoCargo = p.codcar;
|
|
6903
7043
|
this.descripcionCargo = p.descar;
|
|
@@ -6919,6 +7059,12 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6919
7059
|
this.montoSalarioGrado = parseFloat(p.moncomgra);
|
|
6920
7060
|
this.montoCompensacionGrado = parseFloat(p.moncomgra);
|
|
6921
7061
|
this.estatusMPPPE = p.estmpppe == '1' ? true : false;
|
|
7062
|
+
if (p.detalles_organigrama) {
|
|
7063
|
+
this.detallesOrganigrama = p.detalles_organigrama.map(e => new MCargoEstructuraOrganizativa(e));
|
|
7064
|
+
}
|
|
7065
|
+
if (p.detalles_nomina) {
|
|
7066
|
+
this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
|
|
7067
|
+
}
|
|
6922
7068
|
}
|
|
6923
7069
|
else {
|
|
6924
7070
|
this.isNew = true;
|
|
@@ -6926,31 +7072,16 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6926
7072
|
}
|
|
6927
7073
|
dataInterface() {
|
|
6928
7074
|
return {
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
denestorg: this.denominacionOrganigrama,
|
|
7075
|
+
id_empresa: this.idEmpresa.toString(),
|
|
7076
|
+
id_personal: this.idPersonal.toString(),
|
|
6932
7077
|
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
7078
|
id_tabulador: this.idTabulador.toString(),
|
|
6945
7079
|
codgra: this.codigoGrado,
|
|
6946
7080
|
codpas: this.codigoPaso,
|
|
6947
|
-
|
|
6948
|
-
destab: this.denominacionTabulador,
|
|
7081
|
+
id_ubifis: this.idUbicacionFisica.toString(),
|
|
6949
7082
|
id_personalcargo: this.idPersonalCargo.toString(),
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
monsalgra: this.montoSalarioGrado.toString(),
|
|
6953
|
-
estmpppe: this.estatusMPPPE ? '1' : '0',
|
|
7083
|
+
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
7084
|
+
eliminar_organigrama: this.organigramaEliminar,
|
|
6954
7085
|
};
|
|
6955
7086
|
}
|
|
6956
7087
|
}
|
|
@@ -7218,6 +7349,8 @@ class MConceptosNomina extends MBasicModel {
|
|
|
7218
7349
|
this.formulaReducida = '';
|
|
7219
7350
|
this.nombreSigno = '';
|
|
7220
7351
|
this.orden = 0;
|
|
7352
|
+
this.evaluarEnPrenomina = 0;
|
|
7353
|
+
this.antiguedadComplementaria = 0;
|
|
7221
7354
|
if (e) {
|
|
7222
7355
|
this.idEmpresa = +e.id_empresa;
|
|
7223
7356
|
this.idNomina = +e.id_nomina;
|
|
@@ -7286,6 +7419,8 @@ class MConceptosNomina extends MBasicModel {
|
|
|
7286
7419
|
this.formulaReducida = e.forcon.substr(0, 40);
|
|
7287
7420
|
}
|
|
7288
7421
|
this.nombreSigno = this.denominacionSigno(this.signoConcepto);
|
|
7422
|
+
this.evaluarEnPrenomina = +e.evaprenom;
|
|
7423
|
+
this.antiguedadComplementaria = +e.antigcomp;
|
|
7289
7424
|
}
|
|
7290
7425
|
else {
|
|
7291
7426
|
this.isNew = true;
|
|
@@ -7353,6 +7488,8 @@ class MConceptosNomina extends MBasicModel {
|
|
|
7353
7488
|
regincidencia: this.registroIncidencia,
|
|
7354
7489
|
forincidencia: this.formulaIncidencia,
|
|
7355
7490
|
orden: this.orden.toString(),
|
|
7491
|
+
evaprenom: this.evaluarEnPrenomina.toString(),
|
|
7492
|
+
antigcomp: this.antiguedadComplementaria.toString(),
|
|
7356
7493
|
};
|
|
7357
7494
|
}
|
|
7358
7495
|
denominacionSigno(sig) {
|
|
@@ -7586,8 +7723,9 @@ class MConstantePersonalNomina extends MBasicModel {
|
|
|
7586
7723
|
}
|
|
7587
7724
|
}
|
|
7588
7725
|
|
|
7589
|
-
class MRango {
|
|
7726
|
+
class MRango extends MBasicModel {
|
|
7590
7727
|
constructor(e = null) {
|
|
7728
|
+
super();
|
|
7591
7729
|
this.idEmpresa = 0;
|
|
7592
7730
|
this.idComponente = 0;
|
|
7593
7731
|
this.IdRango = 0;
|
|
@@ -7606,6 +7744,9 @@ class MRango {
|
|
|
7606
7744
|
this.nombreAbreviatura = e.nomabr;
|
|
7607
7745
|
this.codigoCategoriaRango = e.codcatran;
|
|
7608
7746
|
}
|
|
7747
|
+
else {
|
|
7748
|
+
this.isNew = true;
|
|
7749
|
+
}
|
|
7609
7750
|
}
|
|
7610
7751
|
dataInterface() {
|
|
7611
7752
|
return {
|
|
@@ -7659,66 +7800,125 @@ class MConcursante extends MBasicModel {
|
|
|
7659
7800
|
super();
|
|
7660
7801
|
this.idEmpresa = 0;
|
|
7661
7802
|
this.idConcurso = 0;
|
|
7803
|
+
this.codigoConcurso = '';
|
|
7662
7804
|
this.idConcursante = 0;
|
|
7663
7805
|
this.cedula = '';
|
|
7664
7806
|
this.idProfesion = 0;
|
|
7665
|
-
this.
|
|
7666
|
-
this.
|
|
7667
|
-
this.
|
|
7807
|
+
this.profesion = '';
|
|
7808
|
+
this.nombreProfesion = '';
|
|
7809
|
+
this.fechaInscripcion = '';
|
|
7810
|
+
this.nombres = '';
|
|
7811
|
+
this.apellidos = '';
|
|
7668
7812
|
this.direccion = '';
|
|
7669
7813
|
this.fechaNacimiento = '';
|
|
7670
7814
|
this.estadoCivil = '';
|
|
7671
7815
|
this.codigoPais = '';
|
|
7816
|
+
this.nombrePais = '';
|
|
7672
7817
|
this.codigoEstado = '';
|
|
7818
|
+
this.nombreEstado = '';
|
|
7673
7819
|
this.nacionalidad = '';
|
|
7674
7820
|
this.telefono = '';
|
|
7675
7821
|
this.celular = '';
|
|
7676
7822
|
this.correo = '';
|
|
7677
7823
|
this.genero = '';
|
|
7678
7824
|
this.nivelAcademico = 0;
|
|
7825
|
+
this.estatusRequisitos = 1;
|
|
7679
7826
|
if (e) {
|
|
7680
7827
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
7681
|
-
this.
|
|
7828
|
+
this.idConcurso = parseInt(e.id_concurso);
|
|
7829
|
+
this.codigoConcurso = e.codcon;
|
|
7682
7830
|
this.idConcursante = parseInt(e.id_concursante);
|
|
7683
7831
|
this.cedula = e.cedper;
|
|
7684
7832
|
this.idProfesion = parseInt(e.id_profesion);
|
|
7685
|
-
this.
|
|
7686
|
-
this.
|
|
7687
|
-
this.
|
|
7833
|
+
this.profesion = e.profesion;
|
|
7834
|
+
this.nombreProfesion = e.nombre_profesion;
|
|
7835
|
+
this.fechaInscripcion = e.fecreg;
|
|
7836
|
+
this.nombres = e.nomper;
|
|
7837
|
+
this.apellidos = e.apeper;
|
|
7688
7838
|
this.direccion = e.dirper;
|
|
7689
7839
|
this.fechaNacimiento = e.fecnacper;
|
|
7690
7840
|
this.estadoCivil = e.estcivper;
|
|
7691
7841
|
this.codigoPais = e.codpai;
|
|
7842
|
+
this.nombrePais = e.nombre_pais;
|
|
7692
7843
|
this.codigoEstado = e.codest;
|
|
7844
|
+
this.nombreEstado = e.nombre_estado;
|
|
7693
7845
|
this.nacionalidad = e.nacper;
|
|
7694
7846
|
this.telefono = e.telhabper;
|
|
7695
7847
|
this.celular = e.telmovper;
|
|
7696
7848
|
this.correo = e.emaper;
|
|
7697
7849
|
this.genero = e.sexper;
|
|
7698
7850
|
this.nivelAcademico = parseInt(e.nivacaper);
|
|
7851
|
+
this.estatusRequisitos = parseInt(e.estconper);
|
|
7699
7852
|
}
|
|
7700
7853
|
}
|
|
7701
7854
|
dataInterface() {
|
|
7702
7855
|
return {
|
|
7703
7856
|
id_empresa: this.idEmpresa.toString(),
|
|
7704
7857
|
id_concurso: this.idConcurso.toString(),
|
|
7705
|
-
|
|
7858
|
+
codcon: this.codigoConcurso,
|
|
7859
|
+
id_concursante: this.idConcursante.toString(),
|
|
7706
7860
|
cedper: this.cedula,
|
|
7707
7861
|
id_profesion: this.idProfesion.toString(),
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7862
|
+
profesion: this.profesion,
|
|
7863
|
+
nombre_profesion: this.nombreProfesion,
|
|
7864
|
+
fecreg: this.fechaInscripcion,
|
|
7865
|
+
nomper: this.nombres,
|
|
7866
|
+
apeper: this.apellidos,
|
|
7711
7867
|
dirper: this.direccion,
|
|
7712
7868
|
fecnacper: this.fechaNacimiento,
|
|
7713
7869
|
estcivper: this.estadoCivil,
|
|
7714
7870
|
codpai: this.codigoPais,
|
|
7871
|
+
nombre_pais: this.nombrePais,
|
|
7715
7872
|
codest: this.codigoEstado,
|
|
7873
|
+
nombre_estado: this.nombreEstado,
|
|
7716
7874
|
nacper: this.nacionalidad,
|
|
7717
7875
|
telhabper: this.telefono,
|
|
7718
7876
|
telmovper: this.celular,
|
|
7719
7877
|
emaper: this.correo,
|
|
7720
7878
|
sexper: this.genero,
|
|
7721
|
-
nivacaper: this.nivelAcademico.toString()
|
|
7879
|
+
nivacaper: this.nivelAcademico.toString(),
|
|
7880
|
+
estconper: this.estatusRequisitos.toString()
|
|
7881
|
+
};
|
|
7882
|
+
}
|
|
7883
|
+
}
|
|
7884
|
+
class MTrabajosConcursantes extends MBasicModel {
|
|
7885
|
+
constructor(e) {
|
|
7886
|
+
super();
|
|
7887
|
+
this.idEmpresa = 0;
|
|
7888
|
+
this.idConcurso = 0;
|
|
7889
|
+
this.idConcursante = 0;
|
|
7890
|
+
this.idTrabajo = 0;
|
|
7891
|
+
this.codigo = '';
|
|
7892
|
+
this.empresaTrabajoAnterior = '';
|
|
7893
|
+
this.cargoTrabajoAnterior = '';
|
|
7894
|
+
this.fechaIngreso = '';
|
|
7895
|
+
this.fechaRetiro = '';
|
|
7896
|
+
if (e) {
|
|
7897
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
7898
|
+
this.idConcurso = parseInt(e.id_concurso);
|
|
7899
|
+
this.idConcursante = parseInt(e.id_concursante);
|
|
7900
|
+
this.idTrabajo = parseInt(e.id_trabajocon);
|
|
7901
|
+
this.codigo = e.codtraper;
|
|
7902
|
+
this.empresaTrabajoAnterior = e.emptraper;
|
|
7903
|
+
this.cargoTrabajoAnterior = e.cartraant;
|
|
7904
|
+
this.fechaIngreso = e.fecingtraant;
|
|
7905
|
+
this.fechaRetiro = e.fecrettraant;
|
|
7906
|
+
}
|
|
7907
|
+
else {
|
|
7908
|
+
this.isNew = true;
|
|
7909
|
+
}
|
|
7910
|
+
}
|
|
7911
|
+
dataInterface() {
|
|
7912
|
+
return {
|
|
7913
|
+
id_empresa: this.idEmpresa.toString(),
|
|
7914
|
+
id_concurso: this.idConcurso.toString(),
|
|
7915
|
+
id_concursante: this.idConcursante.toString(),
|
|
7916
|
+
id_trabajocon: this.idTrabajo.toString(),
|
|
7917
|
+
codtraper: this.codigo,
|
|
7918
|
+
emptraper: this.empresaTrabajoAnterior,
|
|
7919
|
+
cartraant: this.cargoTrabajoAnterior,
|
|
7920
|
+
fecingtraant: this.fechaIngreso,
|
|
7921
|
+
fecrettraant: this.fechaRetiro
|
|
7722
7922
|
};
|
|
7723
7923
|
}
|
|
7724
7924
|
}
|
|
@@ -8184,8 +8384,8 @@ class MFideicomiso extends MBasicModel {
|
|
|
8184
8384
|
this.idfideicomiso = 0;
|
|
8185
8385
|
this.codigoFideicomiso = '';
|
|
8186
8386
|
this.fichaFideicomico = '';
|
|
8187
|
-
this.ubicacionFideicomiso = '';
|
|
8188
8387
|
this.cuentaFideicomiso = '';
|
|
8388
|
+
this.idCuentaFideicomiso = 0;
|
|
8189
8389
|
this.fechaIngresoFideicomiso = '1900-01-01';
|
|
8190
8390
|
this.capitalizacionFideicomiso = 'N';
|
|
8191
8391
|
this.capitalizarAntiguedadComplementaria = 0;
|
|
@@ -8195,14 +8395,17 @@ class MFideicomiso extends MBasicModel {
|
|
|
8195
8395
|
this.scgCuentaAntiguedadFideicomiso = '';
|
|
8196
8396
|
this.scgcuentaInteresFideicomiso = '';
|
|
8197
8397
|
this.calcularIteresFideicomiso = 0;
|
|
8398
|
+
this.idUbicacionFisica = 0;
|
|
8399
|
+
this.denominacionUbicacionFisica = '';
|
|
8400
|
+
this.codigoUbicacionFisica = '';
|
|
8198
8401
|
if (e) {
|
|
8199
8402
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
8200
8403
|
this.idPersonal = parseInt(e.id_personal);
|
|
8201
8404
|
this.idfideicomiso = parseInt(e.id_fideicomiso);
|
|
8202
8405
|
this.codigoFideicomiso = e.codfid;
|
|
8203
8406
|
this.fichaFideicomico = e.ficfid;
|
|
8204
|
-
this.
|
|
8205
|
-
this.cuentaFideicomiso = e.
|
|
8407
|
+
this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
|
|
8408
|
+
this.cuentaFideicomiso = e.ctabanper;
|
|
8206
8409
|
this.fechaIngresoFideicomiso = e.fecingfid;
|
|
8207
8410
|
this.capitalizacionFideicomiso = e.capfid;
|
|
8208
8411
|
this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
|
|
@@ -8212,6 +8415,12 @@ class MFideicomiso extends MBasicModel {
|
|
|
8212
8415
|
this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
|
|
8213
8416
|
this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
|
|
8214
8417
|
this.calcularIteresFideicomiso = +e.calintfid;
|
|
8418
|
+
this.idUbicacionFisica = parseInt(e.id_ubifis);
|
|
8419
|
+
this.denominacionUbicacionFisica = e.denubifis;
|
|
8420
|
+
this.codigoUbicacionFisica = e.codubifis;
|
|
8421
|
+
}
|
|
8422
|
+
else {
|
|
8423
|
+
this.isNew = true;
|
|
8215
8424
|
}
|
|
8216
8425
|
}
|
|
8217
8426
|
dataInterface() {
|
|
@@ -8221,8 +8430,7 @@ class MFideicomiso extends MBasicModel {
|
|
|
8221
8430
|
id_fideicomiso: this.idfideicomiso.toString(),
|
|
8222
8431
|
codfid: this.codigoFideicomiso,
|
|
8223
8432
|
ficfid: this.fichaFideicomico,
|
|
8224
|
-
|
|
8225
|
-
cuefid: this.cuentaFideicomiso,
|
|
8433
|
+
id_ctabanper: this.idCuentaFideicomiso.toString(),
|
|
8226
8434
|
fecingfid: this.fechaIngresoFideicomiso,
|
|
8227
8435
|
capfid: this.capitalizacionFideicomiso,
|
|
8228
8436
|
capantcom: this.capitalizarAntiguedadComplementaria.toString(),
|
|
@@ -8232,8 +8440,327 @@ class MFideicomiso extends MBasicModel {
|
|
|
8232
8440
|
scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
|
|
8233
8441
|
scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
|
|
8234
8442
|
calintfid: +this.calcularIteresFideicomiso,
|
|
8443
|
+
id_ubifis: this.idUbicacionFisica.toString(),
|
|
8444
|
+
};
|
|
8445
|
+
}
|
|
8446
|
+
}
|
|
8447
|
+
class MConfiguracionFideicomiso extends MBasicModel {
|
|
8448
|
+
constructor(e) {
|
|
8449
|
+
super();
|
|
8450
|
+
this.idEmpresa = 0;
|
|
8451
|
+
this.idFideicomisoConfiguracion = 0;
|
|
8452
|
+
this.idDedicacion = 0;
|
|
8453
|
+
this.idTipoPersonal = 0;
|
|
8454
|
+
this.anioCursoFideicomiso = '';
|
|
8455
|
+
this.diaBonoVacacionalFideicomiso = 0;
|
|
8456
|
+
this.diasBonoFinAnio = 0;
|
|
8457
|
+
this.cuentaFideicomiso = '';
|
|
8458
|
+
this.denominacionDedicacion = '';
|
|
8459
|
+
this.codigoDedicacion = '';
|
|
8460
|
+
this.codigoTipoPersonal = '';
|
|
8461
|
+
this.denominacionTipoPersonal = '';
|
|
8462
|
+
this.formulaFideicomiso = 'xxx';
|
|
8463
|
+
if (e) {
|
|
8464
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
8465
|
+
this.idDedicacion = parseInt(e.id_dedicacion);
|
|
8466
|
+
this.idTipoPersonal = parseInt(e.id_tipopersonal);
|
|
8467
|
+
this.anioCursoFideicomiso = e.anocurfid;
|
|
8468
|
+
this.diaBonoVacacionalFideicomiso = parseInt(e.diabonvacfid);
|
|
8469
|
+
this.diasBonoFinAnio = parseInt(e.diabonfinfid);
|
|
8470
|
+
this.cuentaFideicomiso = e.cuefid;
|
|
8471
|
+
this.denominacionDedicacion = e.dended;
|
|
8472
|
+
this.codigoDedicacion = e.codded;
|
|
8473
|
+
this.codigoTipoPersonal = e.codtipper;
|
|
8474
|
+
this.denominacionTipoPersonal = e.dentipper;
|
|
8475
|
+
this.idFideicomisoConfiguracion = parseInt(e.id_fidconfig);
|
|
8476
|
+
this.formulaFideicomiso = e.forfid;
|
|
8477
|
+
}
|
|
8478
|
+
else {
|
|
8479
|
+
this.isNew = true;
|
|
8480
|
+
}
|
|
8481
|
+
}
|
|
8482
|
+
dataInterface() {
|
|
8483
|
+
return {
|
|
8484
|
+
id_empresa: this.idEmpresa.toString(),
|
|
8485
|
+
id_fidconfig: this.idFideicomisoConfiguracion.toString(),
|
|
8486
|
+
id_dedicacion: this.idDedicacion.toString(),
|
|
8487
|
+
id_tipopersonal: this.idTipoPersonal.toString(),
|
|
8488
|
+
anocurfid: this.anioCursoFideicomiso,
|
|
8489
|
+
diabonvacfid: this.diaBonoVacacionalFideicomiso.toString(),
|
|
8490
|
+
diabonfinfid: this.diasBonoFinAnio.toString(),
|
|
8491
|
+
cuefid: this.cuentaFideicomiso,
|
|
8492
|
+
forfid: this.formulaFideicomiso,
|
|
8493
|
+
};
|
|
8494
|
+
}
|
|
8495
|
+
}
|
|
8496
|
+
class MFideicomisoInteres extends MBasicModel {
|
|
8497
|
+
constructor(e) {
|
|
8498
|
+
super();
|
|
8499
|
+
this.idEmpresa = 0;
|
|
8500
|
+
this.idInteresFideicomiso = 0;
|
|
8501
|
+
this.mesInteres = 0;
|
|
8502
|
+
this.anioInteres = 0;
|
|
8503
|
+
this.numeroGacetaInteres = '';
|
|
8504
|
+
this.fechaVigenciaGacetaInteres = '1900-01-01';
|
|
8505
|
+
this.montoTasaInteres = 0;
|
|
8506
|
+
if (e) {
|
|
8507
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
8508
|
+
this.idInteresFideicomiso = parseInt(e.id_intfide);
|
|
8509
|
+
this.mesInteres = parseInt(e.mesint);
|
|
8510
|
+
this.anioInteres = parseInt(e.anoint);
|
|
8511
|
+
this.numeroGacetaInteres = e.nrogacint;
|
|
8512
|
+
this.fechaVigenciaGacetaInteres = e.fecviggacint;
|
|
8513
|
+
this.montoTasaInteres = +e.montasint;
|
|
8514
|
+
}
|
|
8515
|
+
else {
|
|
8516
|
+
this.isNew = true;
|
|
8517
|
+
}
|
|
8518
|
+
}
|
|
8519
|
+
dataInterface() {
|
|
8520
|
+
return {
|
|
8521
|
+
id_empresa: this.idEmpresa.toString(),
|
|
8522
|
+
id_intfide: this.idInteresFideicomiso.toString(),
|
|
8523
|
+
mesint: this.mesInteres.toString(),
|
|
8524
|
+
anoint: this.anioInteres.toString(),
|
|
8525
|
+
nrogacint: this.numeroGacetaInteres,
|
|
8526
|
+
fecviggacint: this.fechaVigenciaGacetaInteres,
|
|
8527
|
+
montasint: this.montoTasaInteres.toString(),
|
|
8528
|
+
};
|
|
8529
|
+
}
|
|
8530
|
+
}
|
|
8531
|
+
class MCalculoPrestacion extends MBasicModel {
|
|
8532
|
+
constructor(e = null) {
|
|
8533
|
+
super();
|
|
8534
|
+
this.idEmpresa = 0;
|
|
8535
|
+
this.mes = '';
|
|
8536
|
+
this.anio = '';
|
|
8537
|
+
this.cedulaDesde = '';
|
|
8538
|
+
this.cedulaHasta = '';
|
|
8539
|
+
this.mesCalculado = '';
|
|
8540
|
+
this.anioCalculado = '';
|
|
8541
|
+
if (e) {
|
|
8542
|
+
this.idEmpresa = parseInt(e.id_empresa);
|
|
8543
|
+
this.mes = e.mes;
|
|
8544
|
+
this.anio = e.anio;
|
|
8545
|
+
this.cedulaDesde = e.cedula_desde;
|
|
8546
|
+
this.cedulaDesde = e.cedula_hasta;
|
|
8547
|
+
this.mesCalculado = e.mescal;
|
|
8548
|
+
this.anioCalculado = e.aniocal;
|
|
8549
|
+
}
|
|
8550
|
+
else {
|
|
8551
|
+
this.isNew = true;
|
|
8552
|
+
}
|
|
8553
|
+
}
|
|
8554
|
+
dataInterface() {
|
|
8555
|
+
return {
|
|
8556
|
+
id_empresa: this.idEmpresa.toString(),
|
|
8557
|
+
mes: this.mes,
|
|
8558
|
+
anio: this.anio,
|
|
8559
|
+
cedula_desde: this.cedulaDesde,
|
|
8560
|
+
cedula_hasta: this.cedulaHasta,
|
|
8561
|
+
mescal: this.mesCalculado,
|
|
8562
|
+
aniocal: this.anioCalculado,
|
|
8235
8563
|
};
|
|
8236
8564
|
}
|
|
8565
|
+
}
|
|
8566
|
+
class MFideicomisoPeriodo extends MBasicModel {
|
|
8567
|
+
constructor(e = null) {
|
|
8568
|
+
super();
|
|
8569
|
+
this.idEmpresa = 0;
|
|
8570
|
+
this.idPersonal = 0;
|
|
8571
|
+
this.idNomina = 0;
|
|
8572
|
+
this.codigoNomina = '';
|
|
8573
|
+
this.idFideicomiso = 0;
|
|
8574
|
+
this.anioCursoPeriodo = '';
|
|
8575
|
+
this.mesCursoPeriodo = '';
|
|
8576
|
+
this.sueldointergralPeronal = 0;
|
|
8577
|
+
this.bonoExtraPersonal = 0;
|
|
8578
|
+
this.bonoVacacionalPersonal = 0;
|
|
8579
|
+
this.bonoFinPersonal = 0;
|
|
8580
|
+
this.aportePersonal = 0;
|
|
8581
|
+
this.diaFideicomiso = 0;
|
|
8582
|
+
this.diaAdicional = 0;
|
|
8583
|
+
this.metodoPrestacion = 0;
|
|
8584
|
+
this.metodoAdicional = 0;
|
|
8585
|
+
this.bonoVacionalAdicional = 0;
|
|
8586
|
+
this.bonoFinAdicional = 0;
|
|
8587
|
+
this.sueldoIntegralAdicional = 0;
|
|
8588
|
+
this.aportePrestacion = 0;
|
|
8589
|
+
this.aporteAdicionalPersonal = 0;
|
|
8590
|
+
this.codigoUsuario = '';
|
|
8591
|
+
this.idDtFideicomisoPeriodo = 0;
|
|
8592
|
+
this.cedulaPersonal = '';
|
|
8593
|
+
this.nombrePersonal = '';
|
|
8594
|
+
this.apellidoPersonal = '';
|
|
8595
|
+
this.fechaIngresoPersonal = '1900-01-01';
|
|
8596
|
+
this.estatusPersonal = '';
|
|
8597
|
+
this.codigoPersonal = '';
|
|
8598
|
+
this.denominacionEstatus = '';
|
|
8599
|
+
this.denominacionMes = '';
|
|
8600
|
+
if (e) {
|
|
8601
|
+
this.idEmpresa = +e.id_empresa;
|
|
8602
|
+
this.idPersonal = +e.id_personal;
|
|
8603
|
+
this.idNomina = +e.id_nomina;
|
|
8604
|
+
this.codigoNomina = e.codnom;
|
|
8605
|
+
this.idFideicomiso = +e.id_dt_fideiperiodo;
|
|
8606
|
+
this.anioCursoPeriodo = e.anocurper;
|
|
8607
|
+
this.mesCursoPeriodo = e.mescurper;
|
|
8608
|
+
this.sueldointergralPeronal = +e.sueintper;
|
|
8609
|
+
this.bonoExtraPersonal = +e.bonextper;
|
|
8610
|
+
this.bonoVacacionalPersonal = +e.bonvacper;
|
|
8611
|
+
this.bonoFinPersonal = +e.bonfinper;
|
|
8612
|
+
this.aportePersonal = +e.apoper;
|
|
8613
|
+
this.diaFideicomiso = +e.diafid;
|
|
8614
|
+
this.diaAdicional = +e.diaadi;
|
|
8615
|
+
this.metodoPrestacion = +e.metodopre;
|
|
8616
|
+
this.metodoAdicional = +e.metodoadi;
|
|
8617
|
+
this.bonoVacionalAdicional = +e.bonvacadiper;
|
|
8618
|
+
this.bonoFinAdicional = +e.bonfinadiper;
|
|
8619
|
+
this.sueldoIntegralAdicional = +e.sueintadiper;
|
|
8620
|
+
this.aportePrestacion = +e.apopreper;
|
|
8621
|
+
this.aporteAdicionalPersonal = +e.apoadiper;
|
|
8622
|
+
this.codigoUsuario = e.codusu;
|
|
8623
|
+
this.idDtFideicomisoPeriodo = +e.id_dt_fideiperiodo;
|
|
8624
|
+
this.cedulaPersonal = e.cedper;
|
|
8625
|
+
this.nombrePersonal = e.nomper;
|
|
8626
|
+
this.apellidoPersonal = e.apeper;
|
|
8627
|
+
this.fechaIngresoPersonal = e.fecingper;
|
|
8628
|
+
this.estatusPersonal = e.estper;
|
|
8629
|
+
this.codigoPersonal = e.codper;
|
|
8630
|
+
this.estatusPersonal == '0' ? this.denominacionEstatus = 'PRE-INGRESO' :
|
|
8631
|
+
this.estatusPersonal == '1' ? this.denominacionEstatus = 'ACTIVO' :
|
|
8632
|
+
this.estatusPersonal == '2' ? this.denominacionEstatus = 'NINGUNO' :
|
|
8633
|
+
this.estatusPersonal == '3' ? this.denominacionEstatus = 'EGRESADO' :
|
|
8634
|
+
this.estatusPersonal == '4' ? this.denominacionEstatus = 'REMOCIÓN' :
|
|
8635
|
+
this.estatusPersonal == '5' ? this.denominacionEstatus = 'RETIRO' :
|
|
8636
|
+
this.estatusPersonal == '6' ? this.denominacionEstatus = 'DESTITUCIÓN' :
|
|
8637
|
+
this.estatusPersonal == '7' ? this.denominacionEstatus = 'LIQUIDACIÓN' : '';
|
|
8638
|
+
this.mesCursoPeriodo == '01' ? this.denominacionMes = 'ENERO' :
|
|
8639
|
+
this.mesCursoPeriodo == '02' ? this.denominacionMes = 'FEBREO' :
|
|
8640
|
+
this.mesCursoPeriodo == '03' ? this.denominacionMes = 'MARZO' :
|
|
8641
|
+
this.mesCursoPeriodo == '04' ? this.denominacionMes = 'ABRIL' :
|
|
8642
|
+
this.mesCursoPeriodo == '05' ? this.denominacionMes = 'MAYO' :
|
|
8643
|
+
this.mesCursoPeriodo == '06' ? this.denominacionMes = 'JUNIO' :
|
|
8644
|
+
this.mesCursoPeriodo == '07' ? this.denominacionMes = 'JULIO' : '';
|
|
8645
|
+
this.mesCursoPeriodo == '08' ? this.denominacionMes = 'AGOSTO' :
|
|
8646
|
+
this.mesCursoPeriodo == '09' ? this.denominacionMes = 'SEPTIEMBRE' :
|
|
8647
|
+
this.mesCursoPeriodo == '10' ? this.denominacionMes = 'OCTUBRE' :
|
|
8648
|
+
this.mesCursoPeriodo == '11' ? this.denominacionMes = 'NOVIEMBRE' :
|
|
8649
|
+
this.mesCursoPeriodo == '12' ? this.denominacionMes = 'DICIEMBRE' : '';
|
|
8650
|
+
}
|
|
8651
|
+
else {
|
|
8652
|
+
this.isNew = true;
|
|
8653
|
+
}
|
|
8654
|
+
}
|
|
8655
|
+
}
|
|
8656
|
+
class MFideicomisoPeriodoInteresCatalogo extends MBasicModel {
|
|
8657
|
+
constructor(e = null) {
|
|
8658
|
+
super();
|
|
8659
|
+
this.idPersonal = 0;
|
|
8660
|
+
this.codigoPersonal = '';
|
|
8661
|
+
this.cedulaPersonal = '';
|
|
8662
|
+
this.nombrePersonal = '';
|
|
8663
|
+
this.apellidoPersonal = '';
|
|
8664
|
+
this.fechaIngresoPersonal = '1900-01-01';
|
|
8665
|
+
this.estatusPersonal = '';
|
|
8666
|
+
this.denominacionEstatus = '';
|
|
8667
|
+
this.interes = [];
|
|
8668
|
+
if (e) {
|
|
8669
|
+
this.idPersonal = +e.id_personal;
|
|
8670
|
+
this.codigoPersonal = e.codper;
|
|
8671
|
+
this.cedulaPersonal = e.cedper;
|
|
8672
|
+
this.nombrePersonal = e.nomper;
|
|
8673
|
+
this.apellidoPersonal = e.apeper;
|
|
8674
|
+
this.estatusPersonal = e.estper;
|
|
8675
|
+
this.fechaIngresoPersonal = e.fecingper;
|
|
8676
|
+
this.estatusPersonal == '0' ? this.denominacionEstatus = 'PRE-INGRESO' :
|
|
8677
|
+
this.estatusPersonal == '1' ? this.denominacionEstatus = 'ACTIVO' :
|
|
8678
|
+
this.estatusPersonal == '2' ? this.denominacionEstatus = 'NINGUNO' :
|
|
8679
|
+
this.estatusPersonal == '3' ? this.denominacionEstatus = 'EGRESADO' :
|
|
8680
|
+
this.estatusPersonal == '4' ? this.denominacionEstatus = 'REMOCIÓN' :
|
|
8681
|
+
this.estatusPersonal == '5' ? this.denominacionEstatus = 'RETIRO' :
|
|
8682
|
+
this.estatusPersonal == '6' ? this.denominacionEstatus = 'DESTITUCIÓN' :
|
|
8683
|
+
this.estatusPersonal == '7' ? this.denominacionEstatus = 'LIQUIDACIÓN' : '';
|
|
8684
|
+
if (e.intereses) {
|
|
8685
|
+
this.interes = e.intereses.map(e => new MFideicomisoPeriodoInteres(e));
|
|
8686
|
+
}
|
|
8687
|
+
}
|
|
8688
|
+
else {
|
|
8689
|
+
this.isNew = true;
|
|
8690
|
+
}
|
|
8691
|
+
}
|
|
8692
|
+
}
|
|
8693
|
+
class MFideicomisoPeriodoInteres extends MBasicModel {
|
|
8694
|
+
constructor(e = null) {
|
|
8695
|
+
super();
|
|
8696
|
+
this.idEmpresa = 0;
|
|
8697
|
+
this.idPersonal = 0;
|
|
8698
|
+
this.idNomina = 0;
|
|
8699
|
+
this.mesInteres = 0;
|
|
8700
|
+
this.anioInteres = '';
|
|
8701
|
+
this.montoAnteriorAcumulado = 0;
|
|
8702
|
+
this.montoAnterior = 0;
|
|
8703
|
+
this.porcentajeInteres = 0;
|
|
8704
|
+
this.montoInteres = 0;
|
|
8705
|
+
this.montoCapital = 0;
|
|
8706
|
+
this.anticipoPrestamo = 0;
|
|
8707
|
+
this.idDtFide = 0;
|
|
8708
|
+
this.cedulaPersonal = '';
|
|
8709
|
+
this.nombrePersonal = '';
|
|
8710
|
+
this.apellidoPersonal = '';
|
|
8711
|
+
this.fechaIngresoPersonal = '1900-01-01';
|
|
8712
|
+
this.estatusPersonal = '';
|
|
8713
|
+
this.codigoPersonal = '';
|
|
8714
|
+
this.denominacionEstatus = '';
|
|
8715
|
+
this.denominacionMes = '';
|
|
8716
|
+
this.capital = 0;
|
|
8717
|
+
this.codigoNomina = '';
|
|
8718
|
+
if (e) {
|
|
8719
|
+
this.idEmpresa = +e.id_empresa;
|
|
8720
|
+
this.idPersonal = +e.id_personal;
|
|
8721
|
+
this.idNomina = +e.id_nomina;
|
|
8722
|
+
this.mesInteres = +e.mesint;
|
|
8723
|
+
this.anioInteres = e.anoint;
|
|
8724
|
+
this.montoAnteriorAcumulado = +e.monantacu;
|
|
8725
|
+
this.montoAnterior = +e.monant;
|
|
8726
|
+
this.porcentajeInteres = +e.porint;
|
|
8727
|
+
this.montoInteres = +e.monint;
|
|
8728
|
+
this.montoCapital = +e.moncap;
|
|
8729
|
+
this.anticipoPrestamo = +e.antpre;
|
|
8730
|
+
this.capital = +e.capital;
|
|
8731
|
+
this.idDtFide = +e.id_dt_fidperint;
|
|
8732
|
+
this.cedulaPersonal = e.cedper;
|
|
8733
|
+
this.nombrePersonal = e.nomper;
|
|
8734
|
+
this.apellidoPersonal = e.apeper;
|
|
8735
|
+
this.fechaIngresoPersonal = e.fecingper;
|
|
8736
|
+
this.estatusPersonal = e.estper;
|
|
8737
|
+
this.codigoPersonal = e.codper;
|
|
8738
|
+
this.estatusPersonal == '0' ? this.denominacionEstatus = 'PRE-INGRESO' :
|
|
8739
|
+
this.estatusPersonal == '1' ? this.denominacionEstatus = 'ACTIVO' :
|
|
8740
|
+
this.estatusPersonal == '2' ? this.denominacionEstatus = 'NINGUNO' :
|
|
8741
|
+
this.estatusPersonal == '3' ? this.denominacionEstatus = 'EGRESADO' :
|
|
8742
|
+
this.estatusPersonal == '4' ? this.denominacionEstatus = 'REMOCIÓN' :
|
|
8743
|
+
this.estatusPersonal == '5' ? this.denominacionEstatus = 'RETIRO' :
|
|
8744
|
+
this.estatusPersonal == '6' ? this.denominacionEstatus = 'DESTITUCIÓN' :
|
|
8745
|
+
this.estatusPersonal == '7' ? this.denominacionEstatus = 'LIQUIDACIÓN' : '';
|
|
8746
|
+
this.mesInteres == 1 ? this.denominacionMes = 'ENERO' :
|
|
8747
|
+
this.mesInteres == 2 ? this.denominacionMes = 'FEBREO' :
|
|
8748
|
+
this.mesInteres == 3 ? this.denominacionMes = 'MARZO' :
|
|
8749
|
+
this.mesInteres == 4 ? this.denominacionMes = 'ABRIL' :
|
|
8750
|
+
this.mesInteres == 5 ? this.denominacionMes = 'MAYO' :
|
|
8751
|
+
this.mesInteres == 6 ? this.denominacionMes = 'JUNIO' :
|
|
8752
|
+
this.mesInteres == 7 ? this.denominacionMes = 'JULIO' : '';
|
|
8753
|
+
this.mesInteres == 8 ? this.denominacionMes = 'AGOSTO' :
|
|
8754
|
+
this.mesInteres == 9 ? this.denominacionMes = 'SEPTIEMBRE' :
|
|
8755
|
+
this.mesInteres == 10 ? this.denominacionMes = 'OCTUBRE' :
|
|
8756
|
+
this.mesInteres == 11 ? this.denominacionMes = 'NOVIEMBRE' :
|
|
8757
|
+
this.mesInteres == 12 ? this.denominacionMes = 'DICIEMBRE' : '';
|
|
8758
|
+
this.codigoNomina = e.codnom;
|
|
8759
|
+
}
|
|
8760
|
+
else {
|
|
8761
|
+
this.isNew = true;
|
|
8762
|
+
}
|
|
8763
|
+
}
|
|
8237
8764
|
}
|
|
8238
8765
|
|
|
8239
8766
|
class MFormacionAcademica extends MBasicModel {
|
|
@@ -8304,6 +8831,9 @@ class MPrimaGrados extends MBasicModel {
|
|
|
8304
8831
|
this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
8305
8832
|
this.isNew = false;
|
|
8306
8833
|
}
|
|
8834
|
+
else {
|
|
8835
|
+
this.isNew = true;
|
|
8836
|
+
}
|
|
8307
8837
|
}
|
|
8308
8838
|
dataInterface() {
|
|
8309
8839
|
return {
|
|
@@ -8382,6 +8912,9 @@ class MPrimasConcepto extends MBasicModel {
|
|
|
8382
8912
|
this.codigoConcepto = e.codconc;
|
|
8383
8913
|
this.nombreConcepto = e.nomcon;
|
|
8384
8914
|
}
|
|
8915
|
+
else {
|
|
8916
|
+
this.isNew = true;
|
|
8917
|
+
}
|
|
8385
8918
|
}
|
|
8386
8919
|
dataInterface() {
|
|
8387
8920
|
return {
|
|
@@ -8420,6 +8953,9 @@ class MRequisitosConcursante extends MBasicModel {
|
|
|
8420
8953
|
this.requisitosEntregado = e.entreqcon;
|
|
8421
8954
|
this.cantidadEntregado = parseInt(e.canentreqcon);
|
|
8422
8955
|
}
|
|
8956
|
+
else {
|
|
8957
|
+
this.isNew = true;
|
|
8958
|
+
}
|
|
8423
8959
|
}
|
|
8424
8960
|
dataInterface() {
|
|
8425
8961
|
return {
|
|
@@ -8818,7 +9354,7 @@ class MTabulador extends MBasicModel {
|
|
|
8818
9354
|
constructor(e = null) {
|
|
8819
9355
|
super();
|
|
8820
9356
|
this.idEmpresa = 0;
|
|
8821
|
-
this.idTabulador =
|
|
9357
|
+
this.idTabulador = -1;
|
|
8822
9358
|
this.codigoTabulador = '';
|
|
8823
9359
|
this.descripcionTabulador = '';
|
|
8824
9360
|
this.totalPasosXGrados = 0;
|
|
@@ -8868,20 +9404,28 @@ class MTabuladorNominas {
|
|
|
8868
9404
|
this.idTabulador = 0;
|
|
8869
9405
|
this.codigoNomina = '';
|
|
8870
9406
|
this.denominacionNomina = '';
|
|
8871
|
-
this.
|
|
9407
|
+
this.estatus = '';
|
|
8872
9408
|
this.idDtNomina = 0;
|
|
8873
9409
|
this.periodoActualNomina = '001';
|
|
8874
|
-
this.
|
|
9410
|
+
this.idPeriodoActual = 0;
|
|
9411
|
+
this.nominaRac = 0;
|
|
9412
|
+
this.descripcionPeriodoNomina = '';
|
|
9413
|
+
this.prenomina = false;
|
|
9414
|
+
this.editable = false;
|
|
9415
|
+
this.calculada = false;
|
|
8875
9416
|
if (e) {
|
|
8876
9417
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
8877
9418
|
this.idNomina = parseInt(e.id_nomina);
|
|
8878
9419
|
this.idTabulador = parseInt(e.id_tabulador);
|
|
8879
9420
|
this.codigoNomina = e.codnom;
|
|
8880
9421
|
this.denominacionNomina = e.dennom;
|
|
8881
|
-
this.estatusNomina = e.estnom;
|
|
8882
9422
|
this.idDtNomina = parseInt(e.id_dt_tabnom);
|
|
8883
9423
|
this.periodoActualNomina = e.peractnom;
|
|
8884
|
-
this.
|
|
9424
|
+
this.calculada = e.calculado == '1' ? true : false;
|
|
9425
|
+
this.prenomina = e.prenomina == '1' ? true : false;
|
|
9426
|
+
this.estatus = this.calculada ? 'Calculada' :
|
|
9427
|
+
!this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
9428
|
+
this.editable = (this.calculada || this.prenomina) ? false : true;
|
|
8885
9429
|
}
|
|
8886
9430
|
}
|
|
8887
9431
|
dataInterface() {
|
|
@@ -8889,21 +9433,9 @@ class MTabuladorNominas {
|
|
|
8889
9433
|
id_empresa: this.idEmpresa.toString(),
|
|
8890
9434
|
id_nomina: this.idNomina.toString(),
|
|
8891
9435
|
id_tabulador: this.idTabulador.toString(),
|
|
8892
|
-
|
|
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,
|
|
9436
|
+
id_dt_tabnom: this.idDtNomina.toString()
|
|
8898
9437
|
};
|
|
8899
9438
|
}
|
|
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
9439
|
}
|
|
8908
9440
|
|
|
8909
9441
|
class MTipoEvaluacion extends MBasicModel {
|
|
@@ -9442,6 +9974,129 @@ class MPersonalJubilado extends MBasicModel {
|
|
|
9442
9974
|
}
|
|
9443
9975
|
}
|
|
9444
9976
|
|
|
9977
|
+
class MPermisos extends MBasicModel {
|
|
9978
|
+
constructor(e) {
|
|
9979
|
+
super();
|
|
9980
|
+
this.idEmpresa = 0;
|
|
9981
|
+
this.idPersonal = 0;
|
|
9982
|
+
this.idPermiso = 0;
|
|
9983
|
+
this.fechaInicioPermiso = '';
|
|
9984
|
+
this.fechaFinPermiso = '';
|
|
9985
|
+
this.numeroDiasPermiso = 0;
|
|
9986
|
+
this.afectaVacaionesPermiso = '0';
|
|
9987
|
+
this.tipoPermiso = '2';
|
|
9988
|
+
this.observacionPermiso = '';
|
|
9989
|
+
this.remuneradoPermiso = '1';
|
|
9990
|
+
this.totalHorasPermiso = 0;
|
|
9991
|
+
this.descontarVacaciones = 0;
|
|
9992
|
+
this.codigoPermiso = '';
|
|
9993
|
+
this.idTipoEnfermedad = 0;
|
|
9994
|
+
this.denominacionEnfermedad = '';
|
|
9995
|
+
if (e) {
|
|
9996
|
+
this.idEmpresa = +e.id_empresa;
|
|
9997
|
+
this.idPersonal = +e.id_personal;
|
|
9998
|
+
this.idPermiso = +e.id_permiso;
|
|
9999
|
+
this.fechaInicioPermiso = e.fecfinper;
|
|
10000
|
+
this.fechaFinPermiso = e.fecfinper;
|
|
10001
|
+
this.numeroDiasPermiso = +e.numdiapero;
|
|
10002
|
+
this.afectaVacaionesPermiso = e.afevacper.toString();
|
|
10003
|
+
this.tipoPermiso = e.tipper.toString();
|
|
10004
|
+
this.observacionPermiso = e.obsper;
|
|
10005
|
+
this.remuneradoPermiso = e.remper.toString();
|
|
10006
|
+
this.totalHorasPermiso = +e.tothorper;
|
|
10007
|
+
this.descontarVacaciones = +e.desvacper;
|
|
10008
|
+
this.codigoPermiso = e.codpermiso;
|
|
10009
|
+
this.idTipoEnfermedad = parseInt(e.id_enfermedad);
|
|
10010
|
+
this.denominacionEnfermedad = e.denenf;
|
|
10011
|
+
}
|
|
10012
|
+
else {
|
|
10013
|
+
this.isNew = true;
|
|
10014
|
+
}
|
|
10015
|
+
}
|
|
10016
|
+
dataInterface() {
|
|
10017
|
+
return {
|
|
10018
|
+
id_empresa: this.idEmpresa,
|
|
10019
|
+
id_personal: this.idPersonal,
|
|
10020
|
+
id_permiso: this.idPermiso,
|
|
10021
|
+
feciniper: this.fechaInicioPermiso,
|
|
10022
|
+
fecfinper: this.fechaFinPermiso,
|
|
10023
|
+
numdiapero: this.numeroDiasPermiso,
|
|
10024
|
+
afevacper: +this.afectaVacaionesPermiso,
|
|
10025
|
+
tipper: +this.tipoPermiso,
|
|
10026
|
+
obsper: this.observacionPermiso,
|
|
10027
|
+
remper: +this.remuneradoPermiso,
|
|
10028
|
+
tothorper: this.totalHorasPermiso,
|
|
10029
|
+
desvacper: this.descontarVacaciones,
|
|
10030
|
+
codpermiso: this.codigoPermiso,
|
|
10031
|
+
id_enfermedad: this.idTipoEnfermedad.toString(),
|
|
10032
|
+
denenf: this.denominacionEnfermedad
|
|
10033
|
+
};
|
|
10034
|
+
}
|
|
10035
|
+
}
|
|
10036
|
+
|
|
10037
|
+
class MCargaMasiva extends MBasicModel {
|
|
10038
|
+
constructor(e = null) {
|
|
10039
|
+
super();
|
|
10040
|
+
this.proceso = '';
|
|
10041
|
+
this.id_nomina = 0;
|
|
10042
|
+
this.tipo = '';
|
|
10043
|
+
this.nombreArchivo = '';
|
|
10044
|
+
this.base64textString = '';
|
|
10045
|
+
this.modulo = '';
|
|
10046
|
+
if (e) {
|
|
10047
|
+
this.proceso = e.proceso;
|
|
10048
|
+
this.id_nomina = e.id_nomina;
|
|
10049
|
+
this.tipo = e.tipo;
|
|
10050
|
+
this.nombreArchivo = e.nombreArchivo;
|
|
10051
|
+
this.base64textString = e.base64textString;
|
|
10052
|
+
this.modulo = e.modulo;
|
|
10053
|
+
}
|
|
10054
|
+
else {
|
|
10055
|
+
this.isNew;
|
|
10056
|
+
}
|
|
10057
|
+
}
|
|
10058
|
+
dataInterface() {
|
|
10059
|
+
return {
|
|
10060
|
+
proceso: this.proceso,
|
|
10061
|
+
id_nomina: this.id_nomina,
|
|
10062
|
+
tipo: this.tipo,
|
|
10063
|
+
nombreArchivo: this.nombreArchivo,
|
|
10064
|
+
base64textString: this.base64textString,
|
|
10065
|
+
modulo: this.modulo
|
|
10066
|
+
};
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
|
|
10070
|
+
class MPlantillasConstancia extends MBasicModel {
|
|
10071
|
+
constructor(e = null) {
|
|
10072
|
+
super();
|
|
10073
|
+
this.idConstancia = 0;
|
|
10074
|
+
this.codigoConstancia = '';
|
|
10075
|
+
this.descripcionConstancia = '';
|
|
10076
|
+
this.plantillaRTF = '';
|
|
10077
|
+
this.archivoConstancia = '';
|
|
10078
|
+
if (e) {
|
|
10079
|
+
this.idConstancia = e.id_constancia;
|
|
10080
|
+
this.codigoConstancia = e.codconstra;
|
|
10081
|
+
this.descripcionConstancia = e.desconstra;
|
|
10082
|
+
this.plantillaRTF = e.plantilla_rtf;
|
|
10083
|
+
this.archivoConstancia = e.archivo;
|
|
10084
|
+
}
|
|
10085
|
+
else {
|
|
10086
|
+
this.isNew = true;
|
|
10087
|
+
}
|
|
10088
|
+
}
|
|
10089
|
+
dataInterface() {
|
|
10090
|
+
return {
|
|
10091
|
+
id_constancia: this.idConstancia,
|
|
10092
|
+
codconstra: this.codigoConstancia,
|
|
10093
|
+
desconstra: this.descripcionConstancia,
|
|
10094
|
+
plantilla_rtf: this.plantillaRTF,
|
|
10095
|
+
archivo: this.archivoConstancia
|
|
10096
|
+
};
|
|
10097
|
+
}
|
|
10098
|
+
}
|
|
10099
|
+
|
|
9445
10100
|
class customPaginator extends MatPaginatorIntl {
|
|
9446
10101
|
constructor() {
|
|
9447
10102
|
super(...arguments);
|
|
@@ -9473,5 +10128,5 @@ class customPaginator extends MatPaginatorIntl {
|
|
|
9473
10128
|
* Generated bundle index. Do not edit.
|
|
9474
10129
|
*/
|
|
9475
10130
|
|
|
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 };
|
|
10131
|
+
export { AppModule, CurrencyService, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCargaFamiliar, MCargaMasiva, MCargo, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MLog, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple$1 as MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPermisos, MPersonal, MPersonalJubilado, MPersonalNomina, MPlanUnicoCuenta, MPlantillasConstancia, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRango, MRequisitosConcursante, MRequisitosConcursos, MRequisitosMinimos, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSolicitudEmpleo, MSpecialty, MState, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDocumentoCXP, MTipoEvaluacion, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Reporte, SalarioNormal, SigespService, Signo, TipoCestaTicket, customPaginator, AppComponent as ɵc, SharedModule as ɵd, CatalogoComponent as ɵe, ConfirmComponent as ɵg, IconComponent as ɵh, TableSelectComponent as ɵi, CatalogoEstructurasComponent as ɵj, CatalogoDobleInputComponent as ɵk, IsoCurrencyPipe as ɵl, CustonMaterialModule as ɵm };
|
|
9477
10132
|
//# sourceMappingURL=sigesp.js.map
|