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