sigesp 0.8.71-220304 → 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 +849 -132
- 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/MConfiguracionSNO.model.js +1 -6
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +84 -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 +3 -1
- package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +4 -4
- 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 +772 -114
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +63 -31
- package/lib/core/interfaces/RecursosHumanos.d.ts +209 -54
- 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 +27 -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/MPersonal.model.d.ts +1 -0
- package/lib/core/models/SNO/MPersonalNomina.model.d.ts +1 -1
- 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
|
@@ -145,7 +145,7 @@ class MPersonalNomina extends MBasicModel {
|
|
|
145
145
|
this.denominacionEstatus = '';
|
|
146
146
|
this.nombreCompleto = '';
|
|
147
147
|
this.nominaRac = 0;
|
|
148
|
-
this.
|
|
148
|
+
this.situacionPersonal = '';
|
|
149
149
|
this.montoPension = 0;
|
|
150
150
|
if (e) {
|
|
151
151
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
@@ -226,7 +226,7 @@ class MPersonalNomina extends MBasicModel {
|
|
|
226
226
|
this.denominacionEstatus = e.staper == '3' ? 'EGRESADO' : 'SUSPENDIDO';
|
|
227
227
|
this.apellidoPersonal = e.apeper;
|
|
228
228
|
this.nombreCompleto = this.nombrePersonal + ' ' + this.apellidoPersonal;
|
|
229
|
-
this.
|
|
229
|
+
this.situacionPersonal = e.situacion;
|
|
230
230
|
this.montoPension = +e.monpen;
|
|
231
231
|
this.nominaRac = parseInt(e.racnom);
|
|
232
232
|
if (this.nominaRac == 0) {
|
|
@@ -237,7 +237,7 @@ class MPersonalNomina extends MBasicModel {
|
|
|
237
237
|
if (this.idTabulador >= 0 && this.nominaRac == 1) {
|
|
238
238
|
this.sueldoPersonal = this.montoSaldoGrado;
|
|
239
239
|
}
|
|
240
|
-
if (this.
|
|
240
|
+
if (this.situacionPersonal == 'J') {
|
|
241
241
|
this.sueldoPersonal = this.montoPension;
|
|
242
242
|
}
|
|
243
243
|
if (this.idAgencia > 0) {
|
|
@@ -2934,16 +2934,12 @@ class MConfiguracionSNO extends MBasicModel {
|
|
|
2934
2934
|
this.registroasistenciaincidencia = I.regasiinc;
|
|
2935
2935
|
this.manejoIndependienteModulo = parseInt(I.manindmod);
|
|
2936
2936
|
this.digitosCodigoConcepto = parseInt(I.digcodcon);
|
|
2937
|
-
this.segmentarPersonal = parseInt(I.segper);
|
|
2938
2937
|
}
|
|
2939
2938
|
else {
|
|
2940
2939
|
this.isNew = true;
|
|
2941
2940
|
}
|
|
2942
2941
|
}
|
|
2943
2942
|
dataInterface() {
|
|
2944
|
-
if (this.segmentarPersonal == 0) {
|
|
2945
|
-
this.segmentarPersonal = 10000;
|
|
2946
|
-
}
|
|
2947
2943
|
return {
|
|
2948
2944
|
id_empresa: this.idEmpresa.toString(),
|
|
2949
2945
|
id_sno: this.idNomina.toString(),
|
|
@@ -3069,7 +3065,6 @@ class MConfiguracionSNO extends MBasicModel {
|
|
|
3069
3065
|
regasiinc: this.registroasistenciaincidencia,
|
|
3070
3066
|
manindmod: this.manejoIndependienteModulo.toString(),
|
|
3071
3067
|
digcodcon: this.digitosCodigoConcepto.toString(),
|
|
3072
|
-
segper: this.segmentarPersonal.toString(),
|
|
3073
3068
|
};
|
|
3074
3069
|
}
|
|
3075
3070
|
}
|
|
@@ -3243,6 +3238,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3243
3238
|
this.idPeriodoNomina = 0;
|
|
3244
3239
|
this.idPeriodoRestablecerNomina = 0;
|
|
3245
3240
|
this.estatusIncidencia = 0;
|
|
3241
|
+
this.segmentarPersonal = 3000;
|
|
3246
3242
|
this.periodosNomina = [];
|
|
3247
3243
|
if (e) {
|
|
3248
3244
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
@@ -3308,6 +3304,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3308
3304
|
this.periodosNomina = e.periodos.map(e => new MPeriodoNomina(e));
|
|
3309
3305
|
this.idPeriodoNomina = parseInt(e.id_periodoactual);
|
|
3310
3306
|
this.idPeriodoRestablecerNomina = parseInt(e.id_perresnom);
|
|
3307
|
+
this.segmentarPersonal = parseInt(e.segper);
|
|
3311
3308
|
}
|
|
3312
3309
|
else {
|
|
3313
3310
|
this.isNew = true;
|
|
@@ -3315,6 +3312,9 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3315
3312
|
}
|
|
3316
3313
|
dataInterface() {
|
|
3317
3314
|
this.getPeriodoNomina();
|
|
3315
|
+
if (this.segmentarPersonal == 0) {
|
|
3316
|
+
this.segmentarPersonal = 10000;
|
|
3317
|
+
}
|
|
3318
3318
|
return {
|
|
3319
3319
|
id_empresa: this.idEmpresa.toString(),
|
|
3320
3320
|
id_nomina: this.idNomina.toString(),
|
|
@@ -3380,6 +3380,7 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3380
3380
|
id_periodoactual: this.idPeriodoNomina.toString(),
|
|
3381
3381
|
id_perresnom: this.idPeriodoRestablecerNomina.toString(),
|
|
3382
3382
|
estincidencia: this.estatusIncidencia.toString(),
|
|
3383
|
+
segper: this.segmentarPersonal.toString(),
|
|
3383
3384
|
periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
|
|
3384
3385
|
};
|
|
3385
3386
|
}
|
|
@@ -3479,6 +3480,83 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3479
3480
|
fechaFinaPeriodoActual() {
|
|
3480
3481
|
return this.periodosNomina[this.indice()].fechaHastaperiodo;
|
|
3481
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
|
+
}
|
|
3482
3560
|
}
|
|
3483
3561
|
|
|
3484
3562
|
class MAsignacionCargo extends MBasicModel {
|
|
@@ -3488,9 +3566,6 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3488
3566
|
this.idAsignacionCargo = 0;
|
|
3489
3567
|
this.codigoAsignacionCargo = '';
|
|
3490
3568
|
this.denominacionAsignacionCargo = '';
|
|
3491
|
-
this.idOrganigrama = 0;
|
|
3492
|
-
this.codigoOrganigrama = '';
|
|
3493
|
-
this.denominacionOrganigrama = '';
|
|
3494
3569
|
this.idEp1 = 0;
|
|
3495
3570
|
this.idEp2 = 0;
|
|
3496
3571
|
this.idEp3 = 0;
|
|
@@ -3515,14 +3590,15 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3515
3590
|
this.totalCargos = 0;
|
|
3516
3591
|
this.numeroCargosOcupados = 0;
|
|
3517
3592
|
this.disponibilidadCargos = 0;
|
|
3593
|
+
this.detallesNominas = [];
|
|
3594
|
+
this.nominaEliminar = [];
|
|
3595
|
+
this.detallesOrganigrama = [];
|
|
3596
|
+
this.organigramaEliminar = [];
|
|
3518
3597
|
if (e) {
|
|
3519
3598
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
3520
3599
|
this.idAsignacionCargo = parseInt(e.id_carper);
|
|
3521
3600
|
this.codigoAsignacionCargo = e.codcar;
|
|
3522
3601
|
this.denominacionAsignacionCargo = e.descar;
|
|
3523
|
-
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
3524
|
-
this.codigoOrganigrama = e.codestorg;
|
|
3525
|
-
this.denominacionOrganigrama = e.denestorg;
|
|
3526
3602
|
this.idEp1 = parseInt(e.id_ep1);
|
|
3527
3603
|
this.idEp2 = parseInt(e.id_ep2);
|
|
3528
3604
|
this.idEp3 = parseInt(e.id_ep3);
|
|
@@ -3547,6 +3623,12 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3547
3623
|
this.totalCargos = parseInt(e.totcar);
|
|
3548
3624
|
this.numeroCargosOcupados = parseInt(e.numocucar);
|
|
3549
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
|
+
}
|
|
3550
3632
|
}
|
|
3551
3633
|
else {
|
|
3552
3634
|
this.isNew = true;
|
|
@@ -3558,38 +3640,106 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
3558
3640
|
id_carper: this.idAsignacionCargo.toString(),
|
|
3559
3641
|
codcar: this.codigoAsignacionCargo,
|
|
3560
3642
|
descar: this.denominacionAsignacionCargo,
|
|
3561
|
-
id_organigrama: this.idOrganigrama.toString(),
|
|
3562
|
-
codestorg: this.codigoOrganigrama,
|
|
3563
|
-
denestorg: this.denominacionOrganigrama,
|
|
3564
3643
|
id_ep1: this.idEp1.toString(),
|
|
3565
3644
|
id_ep2: this.idEp2.toString(),
|
|
3566
3645
|
id_ep3: this.idEp3.toString(),
|
|
3567
3646
|
id_ep4: this.idEp4.toString(),
|
|
3568
3647
|
id_ep5: this.idEp5.toString(),
|
|
3569
|
-
codigo_estructura: this.codigoEstructura,
|
|
3570
|
-
denominacion_estructura: this.denominacionEstructura,
|
|
3571
3648
|
clacar: this.claseCargo,
|
|
3572
3649
|
id_dedicacion: this.idDedicacion.toString(),
|
|
3573
|
-
codded: this.codigoDedicacion,
|
|
3574
|
-
dended: this.denominacionDedicacion,
|
|
3575
3650
|
id_tipopersonal: this.idTipoPersonal.toString(),
|
|
3576
|
-
codtipper: this.codigoTipoPersonal,
|
|
3577
|
-
dentipper: this.denominacionTipoPersonal,
|
|
3578
3651
|
id_tabulador: this.idTabulador.toString(),
|
|
3579
|
-
codtab: this.codigoTipoPersonal,
|
|
3580
|
-
destab: this.denominacionTabulador,
|
|
3581
3652
|
codgra: this.codigoGrado,
|
|
3582
3653
|
codpas: this.codigoPaso,
|
|
3583
|
-
monsalgra: this.salario.toString(),
|
|
3584
|
-
moncomgra: this.compensacion.toString(),
|
|
3585
3654
|
totcar: this.totalCargos.toString(),
|
|
3586
3655
|
numocucar: this.numeroCargosOcupados.toString(),
|
|
3587
|
-
|
|
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(),
|
|
3588
3738
|
};
|
|
3589
3739
|
}
|
|
3590
3740
|
}
|
|
3591
3741
|
|
|
3592
|
-
class MNominaSimple {
|
|
3742
|
+
class MNominaSimple$1 {
|
|
3593
3743
|
constructor(e = null) {
|
|
3594
3744
|
this.idEmpresa = 0;
|
|
3595
3745
|
this.idNnomina = 0;
|
|
@@ -3607,6 +3757,8 @@ class MNominaSimple {
|
|
|
3607
3757
|
this.nominaRac = 0;
|
|
3608
3758
|
this.simbolo = '';
|
|
3609
3759
|
this.color = '';
|
|
3760
|
+
this.periodoActualNomina = '';
|
|
3761
|
+
this.descripcionPeriodoNomina = '';
|
|
3610
3762
|
if (e) {
|
|
3611
3763
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
3612
3764
|
this.idNnomina = parseInt(e.id_nomina);
|
|
@@ -3625,23 +3777,15 @@ class MNominaSimple {
|
|
|
3625
3777
|
this.nominaRac = parseInt(e.racnom);
|
|
3626
3778
|
this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
|
|
3627
3779
|
this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
|
|
3780
|
+
this.descripcionPeriodoNomina = e.despernom;
|
|
3781
|
+
this.periodoActualNomina = e.peractnom;
|
|
3628
3782
|
}
|
|
3629
3783
|
}
|
|
3630
3784
|
dataInterface() {
|
|
3631
3785
|
return {
|
|
3632
3786
|
id_empresa: this.idEmpresa.toString(),
|
|
3633
3787
|
id_nomina: this.idNnomina.toString(),
|
|
3634
|
-
codnom: this.codigoNomina,
|
|
3635
|
-
dennom: this.denominacioNomina,
|
|
3636
|
-
id_periodoactual: this.idPeriodoActual.toString(),
|
|
3637
|
-
totper: this.totalPeriodo.toString(),
|
|
3638
|
-
cerper: this.estatusPeriodo.toString(),
|
|
3639
|
-
prenomina: this.prenomina ? '1' : '0',
|
|
3640
|
-
calculado: this.calculada ? '1' : '0',
|
|
3641
3788
|
id_carper: this.idCargo.toString(),
|
|
3642
|
-
descar: this.denominacionCargo,
|
|
3643
|
-
codcar: this.codigoCargo,
|
|
3644
|
-
racnom: this.nominaRac.toString(),
|
|
3645
3789
|
};
|
|
3646
3790
|
}
|
|
3647
3791
|
}
|
|
@@ -3749,6 +3893,7 @@ class MPersonal extends MBasicModel {
|
|
|
3749
3893
|
this.nombreEstadoNacimiento = '';
|
|
3750
3894
|
this.codigoProfesion = '';
|
|
3751
3895
|
this.denominacionProfesion = '';
|
|
3896
|
+
this.montoPension = 0;
|
|
3752
3897
|
if (p) {
|
|
3753
3898
|
this.idEmpresa = +p.id_empresa;
|
|
3754
3899
|
this.idPersonal = +p.id_personal;
|
|
@@ -3861,6 +4006,7 @@ class MPersonal extends MBasicModel {
|
|
|
3861
4006
|
this.nombrePaisNacimiento = p.despai_nac;
|
|
3862
4007
|
this.codigoProfesion = p.codpro;
|
|
3863
4008
|
this.denominacionProfesion = p.denpro;
|
|
4009
|
+
this.montoPension = +p.monpen;
|
|
3864
4010
|
}
|
|
3865
4011
|
else {
|
|
3866
4012
|
this.isNew = true;
|
|
@@ -5882,7 +6028,7 @@ class SigespService {
|
|
|
5882
6028
|
getPersonalNominaResumida(idPersonal, tipo) {
|
|
5883
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) => {
|
|
5884
6030
|
if (res.success) {
|
|
5885
|
-
res.data = res.data.map(e => new MNominaSimple(e));
|
|
6031
|
+
res.data = res.data.map(e => new MNominaSimple$1(e));
|
|
5886
6032
|
}
|
|
5887
6033
|
return res;
|
|
5888
6034
|
}));
|
|
@@ -5917,7 +6063,6 @@ class SigespService {
|
|
|
5917
6063
|
return this.http.post(`${this.URL}/dao/sss/log_dao.php`, body, {
|
|
5918
6064
|
headers: this.getHttpHeaders()
|
|
5919
6065
|
}).pipe(map((res) => {
|
|
5920
|
-
console.log("Log : ", res);
|
|
5921
6066
|
return res;
|
|
5922
6067
|
}));
|
|
5923
6068
|
}
|
|
@@ -6541,6 +6686,8 @@ class MUserPermit extends MBasicModel {
|
|
|
6541
6686
|
this.userData.name = permit.nomusu;
|
|
6542
6687
|
this.userData.lastname = permit.apeusu;
|
|
6543
6688
|
this.userData.username = permit.codusu;
|
|
6689
|
+
this.descripcion = permit.descripcion;
|
|
6690
|
+
this.id_record = parseInt(permit.id_record);
|
|
6544
6691
|
}
|
|
6545
6692
|
else {
|
|
6546
6693
|
this.isNew = true;
|
|
@@ -6551,6 +6698,8 @@ class MUserPermit extends MBasicModel {
|
|
|
6551
6698
|
activo: this.active ? '1' : '0',
|
|
6552
6699
|
codintper: this.internalPermit,
|
|
6553
6700
|
codsis: this.systemCode,
|
|
6701
|
+
descripcion: this.descripcion,
|
|
6702
|
+
id_record: this.id_record.toString(),
|
|
6554
6703
|
id_permiso: this.id.toString(),
|
|
6555
6704
|
id_usuario: this.userData.id ? this.userData.id.toString() : null,
|
|
6556
6705
|
apeusu: this.userData.lastname ? this.userData.lastname : null,
|
|
@@ -6804,6 +6953,8 @@ class MBeneficiario extends MBasicModel {
|
|
|
6804
6953
|
this.nexoFamiliar = '';
|
|
6805
6954
|
this.nombreBanco = '';
|
|
6806
6955
|
this.denominacionTipoCuenta = '';
|
|
6956
|
+
this.medidaActiva = false;
|
|
6957
|
+
this.tribunal = '';
|
|
6807
6958
|
if (e) {
|
|
6808
6959
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
6809
6960
|
this.idPersonal = parseInt(e.id_personal);
|
|
@@ -6818,6 +6969,8 @@ class MBeneficiario extends MBasicModel {
|
|
|
6818
6969
|
this.numeroExpedienteBeneficiario = e.numexpben;
|
|
6819
6970
|
this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
|
|
6820
6971
|
this.montoPagoBeneficiario = parseFloat(e.monpagben);
|
|
6972
|
+
this.medidaActiva = e.medact == '1' ? true : false;
|
|
6973
|
+
this.tribunal = e.tribunal;
|
|
6821
6974
|
this.nombreCheque = e.nompro;
|
|
6822
6975
|
this.cedulaAutorizado = e.cedpro;
|
|
6823
6976
|
this.nombreFamiliar = e.nomfam;
|
|
@@ -6848,16 +7001,8 @@ class MBeneficiario extends MBasicModel {
|
|
|
6848
7001
|
ctabanben: this.cuentaBancoBeneficiario,
|
|
6849
7002
|
forpagben: this.formaPagoBeneficiario,
|
|
6850
7003
|
numexpben: this.numeroExpedienteBeneficiario,
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
nomfam: this.nombreFamiliar,
|
|
6854
|
-
apefam: this.apellidoFamiliar,
|
|
6855
|
-
cedfam: this.cedulaFamiliar,
|
|
6856
|
-
dirfam: this.direccionFamiliar,
|
|
6857
|
-
telfam: this.telefonoFamiliar,
|
|
6858
|
-
nexfam: this.nexoFamiliar,
|
|
6859
|
-
nomban: this.nombreBanco,
|
|
6860
|
-
nomtipcta: this.denominacionTipoCuenta
|
|
7004
|
+
medact: this.medidaActiva ? '1' : '0',
|
|
7005
|
+
tribunal: this.tribunal,
|
|
6861
7006
|
};
|
|
6862
7007
|
}
|
|
6863
7008
|
}
|
|
@@ -6865,6 +7010,7 @@ class MBeneficiario extends MBasicModel {
|
|
|
6865
7010
|
class MCargosPersonal extends MBasicModel {
|
|
6866
7011
|
constructor(p = null) {
|
|
6867
7012
|
super();
|
|
7013
|
+
this.idEmpresa = 0;
|
|
6868
7014
|
this.idPersonal = 0;
|
|
6869
7015
|
this.idCargo = 0;
|
|
6870
7016
|
this.codigoCargo = '';
|
|
@@ -6872,7 +7018,6 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6872
7018
|
this.codigoDedicacion = '';
|
|
6873
7019
|
this.denominacionDedicacion = '';
|
|
6874
7020
|
this.denominacionTipoPersonalSno = '';
|
|
6875
|
-
this.idOrganigrama = 0;
|
|
6876
7021
|
this.idUbicacionFisica = 0;
|
|
6877
7022
|
this.denominacionUbicacionFisica = '';
|
|
6878
7023
|
this.codigoUbicacionFisica = '';
|
|
@@ -6884,17 +7029,15 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6884
7029
|
this.codigoPaso = '0';
|
|
6885
7030
|
this.codigoTabulador = '';
|
|
6886
7031
|
this.denominacionTabulador = '';
|
|
6887
|
-
this.codigoOrganigrama = '';
|
|
6888
|
-
this.denominacionOrganigrama = '';
|
|
6889
7032
|
this.idPersonalCargo = 0;
|
|
6890
7033
|
this.montoSalarioGrado = 0;
|
|
6891
7034
|
this.montoCompensacionGrado = 0;
|
|
6892
7035
|
this.estatusMPPPE = false;
|
|
7036
|
+
this.detallesOrganigrama = [];
|
|
7037
|
+
this.organigramaEliminar = [];
|
|
7038
|
+
this.detallesNomina = [];
|
|
6893
7039
|
if (p) {
|
|
6894
7040
|
this.idPersonal = parseInt(p.id_personal);
|
|
6895
|
-
this.idOrganigrama = parseInt(p.id_organigrama);
|
|
6896
|
-
this.codigoOrganigrama = p.codestorg;
|
|
6897
|
-
this.denominacionOrganigrama = p.denestorg;
|
|
6898
7041
|
this.idCargo = +p.id_carper;
|
|
6899
7042
|
this.codigoCargo = p.codcar;
|
|
6900
7043
|
this.descripcionCargo = p.descar;
|
|
@@ -6916,6 +7059,12 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6916
7059
|
this.montoSalarioGrado = parseFloat(p.moncomgra);
|
|
6917
7060
|
this.montoCompensacionGrado = parseFloat(p.moncomgra);
|
|
6918
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
|
+
}
|
|
6919
7068
|
}
|
|
6920
7069
|
else {
|
|
6921
7070
|
this.isNew = true;
|
|
@@ -6923,31 +7072,16 @@ class MCargosPersonal extends MBasicModel {
|
|
|
6923
7072
|
}
|
|
6924
7073
|
dataInterface() {
|
|
6925
7074
|
return {
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
denestorg: this.denominacionOrganigrama,
|
|
7075
|
+
id_empresa: this.idEmpresa.toString(),
|
|
7076
|
+
id_personal: this.idPersonal.toString(),
|
|
6929
7077
|
id_carper: this.idCargo.toString(),
|
|
6930
|
-
descar: this.descripcionCargo.toString(),
|
|
6931
|
-
codcar: this.codigoCargo,
|
|
6932
|
-
codded: this.codigoDedicacion,
|
|
6933
|
-
dended: this.denominacionDedicacion,
|
|
6934
|
-
dentipper: this.denominacionTipoPersonalSno,
|
|
6935
|
-
id_ubifis: this.idUbicacionFisica.toString(),
|
|
6936
|
-
codubifis: this.codigoUbicacionFisica,
|
|
6937
|
-
denubifis: this.denominacionUbicacionFisica,
|
|
6938
|
-
codtipper: this.codigoTipoPersonalSno,
|
|
6939
|
-
id_dedicacion: this.idDedicacion.toString(),
|
|
6940
|
-
id_tipopersonal: this.idTipoPersonalSno.toString(),
|
|
6941
7078
|
id_tabulador: this.idTabulador.toString(),
|
|
6942
7079
|
codgra: this.codigoGrado,
|
|
6943
7080
|
codpas: this.codigoPaso,
|
|
6944
|
-
|
|
6945
|
-
destab: this.denominacionTabulador,
|
|
7081
|
+
id_ubifis: this.idUbicacionFisica.toString(),
|
|
6946
7082
|
id_personalcargo: this.idPersonalCargo.toString(),
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
monsalgra: this.montoSalarioGrado.toString(),
|
|
6950
|
-
estmpppe: this.estatusMPPPE ? '1' : '0',
|
|
7083
|
+
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
7084
|
+
eliminar_organigrama: this.organigramaEliminar,
|
|
6951
7085
|
};
|
|
6952
7086
|
}
|
|
6953
7087
|
}
|
|
@@ -7215,6 +7349,8 @@ class MConceptosNomina extends MBasicModel {
|
|
|
7215
7349
|
this.formulaReducida = '';
|
|
7216
7350
|
this.nombreSigno = '';
|
|
7217
7351
|
this.orden = 0;
|
|
7352
|
+
this.evaluarEnPrenomina = 0;
|
|
7353
|
+
this.antiguedadComplementaria = 0;
|
|
7218
7354
|
if (e) {
|
|
7219
7355
|
this.idEmpresa = +e.id_empresa;
|
|
7220
7356
|
this.idNomina = +e.id_nomina;
|
|
@@ -7283,6 +7419,8 @@ class MConceptosNomina extends MBasicModel {
|
|
|
7283
7419
|
this.formulaReducida = e.forcon.substr(0, 40);
|
|
7284
7420
|
}
|
|
7285
7421
|
this.nombreSigno = this.denominacionSigno(this.signoConcepto);
|
|
7422
|
+
this.evaluarEnPrenomina = +e.evaprenom;
|
|
7423
|
+
this.antiguedadComplementaria = +e.antigcomp;
|
|
7286
7424
|
}
|
|
7287
7425
|
else {
|
|
7288
7426
|
this.isNew = true;
|
|
@@ -7350,6 +7488,8 @@ class MConceptosNomina extends MBasicModel {
|
|
|
7350
7488
|
regincidencia: this.registroIncidencia,
|
|
7351
7489
|
forincidencia: this.formulaIncidencia,
|
|
7352
7490
|
orden: this.orden.toString(),
|
|
7491
|
+
evaprenom: this.evaluarEnPrenomina.toString(),
|
|
7492
|
+
antigcomp: this.antiguedadComplementaria.toString(),
|
|
7353
7493
|
};
|
|
7354
7494
|
}
|
|
7355
7495
|
denominacionSigno(sig) {
|
|
@@ -7583,8 +7723,9 @@ class MConstantePersonalNomina extends MBasicModel {
|
|
|
7583
7723
|
}
|
|
7584
7724
|
}
|
|
7585
7725
|
|
|
7586
|
-
class MRango {
|
|
7726
|
+
class MRango extends MBasicModel {
|
|
7587
7727
|
constructor(e = null) {
|
|
7728
|
+
super();
|
|
7588
7729
|
this.idEmpresa = 0;
|
|
7589
7730
|
this.idComponente = 0;
|
|
7590
7731
|
this.IdRango = 0;
|
|
@@ -7603,6 +7744,9 @@ class MRango {
|
|
|
7603
7744
|
this.nombreAbreviatura = e.nomabr;
|
|
7604
7745
|
this.codigoCategoriaRango = e.codcatran;
|
|
7605
7746
|
}
|
|
7747
|
+
else {
|
|
7748
|
+
this.isNew = true;
|
|
7749
|
+
}
|
|
7606
7750
|
}
|
|
7607
7751
|
dataInterface() {
|
|
7608
7752
|
return {
|
|
@@ -7656,66 +7800,125 @@ class MConcursante extends MBasicModel {
|
|
|
7656
7800
|
super();
|
|
7657
7801
|
this.idEmpresa = 0;
|
|
7658
7802
|
this.idConcurso = 0;
|
|
7803
|
+
this.codigoConcurso = '';
|
|
7659
7804
|
this.idConcursante = 0;
|
|
7660
7805
|
this.cedula = '';
|
|
7661
7806
|
this.idProfesion = 0;
|
|
7662
|
-
this.
|
|
7663
|
-
this.
|
|
7664
|
-
this.
|
|
7807
|
+
this.profesion = '';
|
|
7808
|
+
this.nombreProfesion = '';
|
|
7809
|
+
this.fechaInscripcion = '';
|
|
7810
|
+
this.nombres = '';
|
|
7811
|
+
this.apellidos = '';
|
|
7665
7812
|
this.direccion = '';
|
|
7666
7813
|
this.fechaNacimiento = '';
|
|
7667
7814
|
this.estadoCivil = '';
|
|
7668
7815
|
this.codigoPais = '';
|
|
7816
|
+
this.nombrePais = '';
|
|
7669
7817
|
this.codigoEstado = '';
|
|
7818
|
+
this.nombreEstado = '';
|
|
7670
7819
|
this.nacionalidad = '';
|
|
7671
7820
|
this.telefono = '';
|
|
7672
7821
|
this.celular = '';
|
|
7673
7822
|
this.correo = '';
|
|
7674
7823
|
this.genero = '';
|
|
7675
7824
|
this.nivelAcademico = 0;
|
|
7825
|
+
this.estatusRequisitos = 1;
|
|
7676
7826
|
if (e) {
|
|
7677
7827
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
7678
|
-
this.
|
|
7828
|
+
this.idConcurso = parseInt(e.id_concurso);
|
|
7829
|
+
this.codigoConcurso = e.codcon;
|
|
7679
7830
|
this.idConcursante = parseInt(e.id_concursante);
|
|
7680
7831
|
this.cedula = e.cedper;
|
|
7681
7832
|
this.idProfesion = parseInt(e.id_profesion);
|
|
7682
|
-
this.
|
|
7683
|
-
this.
|
|
7684
|
-
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;
|
|
7685
7838
|
this.direccion = e.dirper;
|
|
7686
7839
|
this.fechaNacimiento = e.fecnacper;
|
|
7687
7840
|
this.estadoCivil = e.estcivper;
|
|
7688
7841
|
this.codigoPais = e.codpai;
|
|
7842
|
+
this.nombrePais = e.nombre_pais;
|
|
7689
7843
|
this.codigoEstado = e.codest;
|
|
7844
|
+
this.nombreEstado = e.nombre_estado;
|
|
7690
7845
|
this.nacionalidad = e.nacper;
|
|
7691
7846
|
this.telefono = e.telhabper;
|
|
7692
7847
|
this.celular = e.telmovper;
|
|
7693
7848
|
this.correo = e.emaper;
|
|
7694
7849
|
this.genero = e.sexper;
|
|
7695
7850
|
this.nivelAcademico = parseInt(e.nivacaper);
|
|
7851
|
+
this.estatusRequisitos = parseInt(e.estconper);
|
|
7696
7852
|
}
|
|
7697
7853
|
}
|
|
7698
7854
|
dataInterface() {
|
|
7699
7855
|
return {
|
|
7700
7856
|
id_empresa: this.idEmpresa.toString(),
|
|
7701
7857
|
id_concurso: this.idConcurso.toString(),
|
|
7702
|
-
|
|
7858
|
+
codcon: this.codigoConcurso,
|
|
7859
|
+
id_concursante: this.idConcursante.toString(),
|
|
7703
7860
|
cedper: this.cedula,
|
|
7704
7861
|
id_profesion: this.idProfesion.toString(),
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7862
|
+
profesion: this.profesion,
|
|
7863
|
+
nombre_profesion: this.nombreProfesion,
|
|
7864
|
+
fecreg: this.fechaInscripcion,
|
|
7865
|
+
nomper: this.nombres,
|
|
7866
|
+
apeper: this.apellidos,
|
|
7708
7867
|
dirper: this.direccion,
|
|
7709
7868
|
fecnacper: this.fechaNacimiento,
|
|
7710
7869
|
estcivper: this.estadoCivil,
|
|
7711
7870
|
codpai: this.codigoPais,
|
|
7871
|
+
nombre_pais: this.nombrePais,
|
|
7712
7872
|
codest: this.codigoEstado,
|
|
7873
|
+
nombre_estado: this.nombreEstado,
|
|
7713
7874
|
nacper: this.nacionalidad,
|
|
7714
7875
|
telhabper: this.telefono,
|
|
7715
7876
|
telmovper: this.celular,
|
|
7716
7877
|
emaper: this.correo,
|
|
7717
7878
|
sexper: this.genero,
|
|
7718
|
-
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
|
|
7719
7922
|
};
|
|
7720
7923
|
}
|
|
7721
7924
|
}
|
|
@@ -8181,8 +8384,8 @@ class MFideicomiso extends MBasicModel {
|
|
|
8181
8384
|
this.idfideicomiso = 0;
|
|
8182
8385
|
this.codigoFideicomiso = '';
|
|
8183
8386
|
this.fichaFideicomico = '';
|
|
8184
|
-
this.ubicacionFideicomiso = '';
|
|
8185
8387
|
this.cuentaFideicomiso = '';
|
|
8388
|
+
this.idCuentaFideicomiso = 0;
|
|
8186
8389
|
this.fechaIngresoFideicomiso = '1900-01-01';
|
|
8187
8390
|
this.capitalizacionFideicomiso = 'N';
|
|
8188
8391
|
this.capitalizarAntiguedadComplementaria = 0;
|
|
@@ -8192,14 +8395,17 @@ class MFideicomiso extends MBasicModel {
|
|
|
8192
8395
|
this.scgCuentaAntiguedadFideicomiso = '';
|
|
8193
8396
|
this.scgcuentaInteresFideicomiso = '';
|
|
8194
8397
|
this.calcularIteresFideicomiso = 0;
|
|
8398
|
+
this.idUbicacionFisica = 0;
|
|
8399
|
+
this.denominacionUbicacionFisica = '';
|
|
8400
|
+
this.codigoUbicacionFisica = '';
|
|
8195
8401
|
if (e) {
|
|
8196
8402
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
8197
8403
|
this.idPersonal = parseInt(e.id_personal);
|
|
8198
8404
|
this.idfideicomiso = parseInt(e.id_fideicomiso);
|
|
8199
8405
|
this.codigoFideicomiso = e.codfid;
|
|
8200
8406
|
this.fichaFideicomico = e.ficfid;
|
|
8201
|
-
this.
|
|
8202
|
-
this.cuentaFideicomiso = e.
|
|
8407
|
+
this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
|
|
8408
|
+
this.cuentaFideicomiso = e.ctabanper;
|
|
8203
8409
|
this.fechaIngresoFideicomiso = e.fecingfid;
|
|
8204
8410
|
this.capitalizacionFideicomiso = e.capfid;
|
|
8205
8411
|
this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
|
|
@@ -8209,6 +8415,12 @@ class MFideicomiso extends MBasicModel {
|
|
|
8209
8415
|
this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
|
|
8210
8416
|
this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
|
|
8211
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;
|
|
8212
8424
|
}
|
|
8213
8425
|
}
|
|
8214
8426
|
dataInterface() {
|
|
@@ -8218,8 +8430,7 @@ class MFideicomiso extends MBasicModel {
|
|
|
8218
8430
|
id_fideicomiso: this.idfideicomiso.toString(),
|
|
8219
8431
|
codfid: this.codigoFideicomiso,
|
|
8220
8432
|
ficfid: this.fichaFideicomico,
|
|
8221
|
-
|
|
8222
|
-
cuefid: this.cuentaFideicomiso,
|
|
8433
|
+
id_ctabanper: this.idCuentaFideicomiso.toString(),
|
|
8223
8434
|
fecingfid: this.fechaIngresoFideicomiso,
|
|
8224
8435
|
capfid: this.capitalizacionFideicomiso,
|
|
8225
8436
|
capantcom: this.capitalizarAntiguedadComplementaria.toString(),
|
|
@@ -8229,8 +8440,327 @@ class MFideicomiso extends MBasicModel {
|
|
|
8229
8440
|
scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
|
|
8230
8441
|
scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
|
|
8231
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,
|
|
8232
8563
|
};
|
|
8233
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
|
+
}
|
|
8234
8764
|
}
|
|
8235
8765
|
|
|
8236
8766
|
class MFormacionAcademica extends MBasicModel {
|
|
@@ -8301,6 +8831,9 @@ class MPrimaGrados extends MBasicModel {
|
|
|
8301
8831
|
this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
8302
8832
|
this.isNew = false;
|
|
8303
8833
|
}
|
|
8834
|
+
else {
|
|
8835
|
+
this.isNew = true;
|
|
8836
|
+
}
|
|
8304
8837
|
}
|
|
8305
8838
|
dataInterface() {
|
|
8306
8839
|
return {
|
|
@@ -8379,6 +8912,9 @@ class MPrimasConcepto extends MBasicModel {
|
|
|
8379
8912
|
this.codigoConcepto = e.codconc;
|
|
8380
8913
|
this.nombreConcepto = e.nomcon;
|
|
8381
8914
|
}
|
|
8915
|
+
else {
|
|
8916
|
+
this.isNew = true;
|
|
8917
|
+
}
|
|
8382
8918
|
}
|
|
8383
8919
|
dataInterface() {
|
|
8384
8920
|
return {
|
|
@@ -8417,6 +8953,9 @@ class MRequisitosConcursante extends MBasicModel {
|
|
|
8417
8953
|
this.requisitosEntregado = e.entreqcon;
|
|
8418
8954
|
this.cantidadEntregado = parseInt(e.canentreqcon);
|
|
8419
8955
|
}
|
|
8956
|
+
else {
|
|
8957
|
+
this.isNew = true;
|
|
8958
|
+
}
|
|
8420
8959
|
}
|
|
8421
8960
|
dataInterface() {
|
|
8422
8961
|
return {
|
|
@@ -8815,7 +9354,7 @@ class MTabulador extends MBasicModel {
|
|
|
8815
9354
|
constructor(e = null) {
|
|
8816
9355
|
super();
|
|
8817
9356
|
this.idEmpresa = 0;
|
|
8818
|
-
this.idTabulador =
|
|
9357
|
+
this.idTabulador = -1;
|
|
8819
9358
|
this.codigoTabulador = '';
|
|
8820
9359
|
this.descripcionTabulador = '';
|
|
8821
9360
|
this.totalPasosXGrados = 0;
|
|
@@ -8865,20 +9404,28 @@ class MTabuladorNominas {
|
|
|
8865
9404
|
this.idTabulador = 0;
|
|
8866
9405
|
this.codigoNomina = '';
|
|
8867
9406
|
this.denominacionNomina = '';
|
|
8868
|
-
this.
|
|
9407
|
+
this.estatus = '';
|
|
8869
9408
|
this.idDtNomina = 0;
|
|
8870
9409
|
this.periodoActualNomina = '001';
|
|
8871
|
-
this.
|
|
9410
|
+
this.idPeriodoActual = 0;
|
|
9411
|
+
this.nominaRac = 0;
|
|
9412
|
+
this.descripcionPeriodoNomina = '';
|
|
9413
|
+
this.prenomina = false;
|
|
9414
|
+
this.editable = false;
|
|
9415
|
+
this.calculada = false;
|
|
8872
9416
|
if (e) {
|
|
8873
9417
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
8874
9418
|
this.idNomina = parseInt(e.id_nomina);
|
|
8875
9419
|
this.idTabulador = parseInt(e.id_tabulador);
|
|
8876
9420
|
this.codigoNomina = e.codnom;
|
|
8877
9421
|
this.denominacionNomina = e.dennom;
|
|
8878
|
-
this.estatusNomina = e.estnom;
|
|
8879
9422
|
this.idDtNomina = parseInt(e.id_dt_tabnom);
|
|
8880
9423
|
this.periodoActualNomina = e.peractnom;
|
|
8881
|
-
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;
|
|
8882
9429
|
}
|
|
8883
9430
|
}
|
|
8884
9431
|
dataInterface() {
|
|
@@ -8886,21 +9433,9 @@ class MTabuladorNominas {
|
|
|
8886
9433
|
id_empresa: this.idEmpresa.toString(),
|
|
8887
9434
|
id_nomina: this.idNomina.toString(),
|
|
8888
9435
|
id_tabulador: this.idTabulador.toString(),
|
|
8889
|
-
|
|
8890
|
-
dennom: this.denominacionNomina,
|
|
8891
|
-
estnom: this.estatusNomina,
|
|
8892
|
-
id_dt_tabnom: this.idDtNomina.toString(),
|
|
8893
|
-
periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
|
|
8894
|
-
peractnom: this.periodoActualNomina,
|
|
9436
|
+
id_dt_tabnom: this.idDtNomina.toString()
|
|
8895
9437
|
};
|
|
8896
9438
|
}
|
|
8897
|
-
indice() {
|
|
8898
|
-
return this.periodosNomina.findIndex(e => e.codigoPeriodo == this.periodoActualNomina);
|
|
8899
|
-
}
|
|
8900
|
-
editable() {
|
|
8901
|
-
let i = this.indice();
|
|
8902
|
-
return this.periodosNomina[i].periodoEditable();
|
|
8903
|
-
}
|
|
8904
9439
|
}
|
|
8905
9440
|
|
|
8906
9441
|
class MTipoEvaluacion extends MBasicModel {
|
|
@@ -9439,6 +9974,129 @@ class MPersonalJubilado extends MBasicModel {
|
|
|
9439
9974
|
}
|
|
9440
9975
|
}
|
|
9441
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
|
+
|
|
9442
10100
|
class customPaginator extends MatPaginatorIntl {
|
|
9443
10101
|
constructor() {
|
|
9444
10102
|
super(...arguments);
|
|
@@ -9470,5 +10128,5 @@ class customPaginator extends MatPaginatorIntl {
|
|
|
9470
10128
|
* Generated bundle index. Do not edit.
|
|
9471
10129
|
*/
|
|
9472
10130
|
|
|
9473
|
-
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 };
|
|
9474
10132
|
//# sourceMappingURL=sigesp.js.map
|