sigesp 0.8.73-220307 → 0.8.74-20220504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sigesp.umd.js +838 -124
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
- package/esm2015/lib/core/interfaces/Seguridad.js +1 -1
- package/esm2015/lib/core/interfaces/Usuario.js +1 -1
- package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +93 -21
- package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +7 -11
- package/esm2015/lib/core/models/SNO/MCargaMasiva.model.js +34 -0
- package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +18 -27
- package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +7 -1
- package/esm2015/lib/core/models/SNO/MConcursante.model.js +72 -13
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +78 -1
- package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +333 -6
- package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +5 -11
- package/esm2015/lib/core/models/SNO/MPermisos.model.js +61 -0
- package/esm2015/lib/core/models/SNO/MPersonal.model.js +1 -1
- package/esm2015/lib/core/models/SNO/MPlantillaConstancia.model.js +31 -0
- package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +4 -1
- package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +4 -1
- package/esm2015/lib/core/models/SNO/MRango.model.js +7 -2
- package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +4 -1
- package/esm2015/lib/core/models/SNO/MTabulador.model.js +15 -20
- package/esm2015/lib/core/models/SSS/userPermit.model.js +5 -1
- package/esm2015/lib/sigesp.service.js +1 -2
- package/esm2015/public-api.js +6 -2
- package/fesm2015/sigesp.js +761 -106
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +61 -30
- package/lib/core/interfaces/RecursosHumanos.d.ts +208 -53
- package/lib/core/interfaces/Seguridad.d.ts +2 -0
- package/lib/core/interfaces/Usuario.d.ts +13 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +35 -4
- package/lib/core/models/SNO/MBeneficiario.model.d.ts +2 -0
- package/lib/core/models/SNO/MCargaMasiva.model.d.ts +12 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +6 -3
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +2 -0
- package/lib/core/models/SNO/MConcursante.model.d.ts +23 -4
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +26 -1
- package/lib/core/models/SNO/MFideicomiso.model.d.ts +115 -2
- package/lib/core/models/SNO/MNominaSimple.model.d.ts +2 -0
- package/lib/core/models/SNO/MPermisos.model.d.ts +21 -0
- package/lib/core/models/SNO/MPlantillaConstancia.model.d.ts +11 -0
- package/lib/core/models/SNO/MRango.model.d.ts +2 -1
- package/lib/core/models/SNO/MTabulador.model.d.ts +7 -5
- package/lib/core/models/SSS/userPermit.model.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -2
- package/sigesp.metadata.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -3916,6 +3916,87 @@
|
|
|
3916
3916
|
return this.periodosNomina[this.indice()].fechaHastaperiodo;
|
|
3917
3917
|
};
|
|
3918
3918
|
return MDefinicionNomina;
|
|
3919
|
+
}(MBasicModel));
|
|
3920
|
+
var MNominaSimple = /** @class */ (function (_super) {
|
|
3921
|
+
__extends(MNominaSimple, _super);
|
|
3922
|
+
function MNominaSimple(e) {
|
|
3923
|
+
if (e === void 0) { e = null; }
|
|
3924
|
+
var _this = _super.call(this) || this;
|
|
3925
|
+
_this.idEmpresa = 0;
|
|
3926
|
+
_this.idNomina = 0;
|
|
3927
|
+
_this.codigoNomina = '';
|
|
3928
|
+
_this.denominacioNomina = '';
|
|
3929
|
+
_this.idPeriodoActual = 0;
|
|
3930
|
+
_this.totalPeriodo = 0;
|
|
3931
|
+
_this.estatus = '';
|
|
3932
|
+
_this.estatusPeriodo = 0;
|
|
3933
|
+
_this.calculada = false;
|
|
3934
|
+
_this.prenomina = false;
|
|
3935
|
+
_this.idCargo = 0;
|
|
3936
|
+
_this.codigoCargo = '';
|
|
3937
|
+
_this.denominacionCargo = '';
|
|
3938
|
+
_this.nominaRac = 0;
|
|
3939
|
+
_this.simbolo = '';
|
|
3940
|
+
_this.color = '';
|
|
3941
|
+
_this.estatusPersonal = 0;
|
|
3942
|
+
_this.denominacionEstatuspersonal = '';
|
|
3943
|
+
_this.descripcionPeriodoNomina = '';
|
|
3944
|
+
_this.periodoActualNomina = '';
|
|
3945
|
+
_this.editable = false;
|
|
3946
|
+
if (e) {
|
|
3947
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
3948
|
+
_this.idNomina = parseInt(e.id_nomina);
|
|
3949
|
+
_this.codigoNomina = e.codnom;
|
|
3950
|
+
_this.denominacioNomina = e.dennom;
|
|
3951
|
+
_this.idPeriodoActual = +e.id_periodoactual;
|
|
3952
|
+
_this.totalPeriodo = parseFloat(e.totper),
|
|
3953
|
+
_this.estatusPeriodo = parseInt(e.cerper);
|
|
3954
|
+
_this.calculada = e.calculado == '1' ? true : false;
|
|
3955
|
+
_this.prenomina = e.prenomina == '1' ? true : false;
|
|
3956
|
+
_this.estatus = _this.calculada ? 'Calculada' :
|
|
3957
|
+
!_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
3958
|
+
_this.editable = (_this.calculada || _this.prenomina) ? false : true;
|
|
3959
|
+
_this.idCargo = parseInt(e.id_carper);
|
|
3960
|
+
_this.codigoCargo = e.codcar;
|
|
3961
|
+
_this.denominacionCargo = e.descar;
|
|
3962
|
+
_this.nominaRac = parseInt(e.racnom);
|
|
3963
|
+
_this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
|
|
3964
|
+
_this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
|
|
3965
|
+
_this.estatusPersonal = parseInt(e.staper);
|
|
3966
|
+
_this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
|
|
3967
|
+
_this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
|
|
3968
|
+
_this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
|
|
3969
|
+
_this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
|
|
3970
|
+
_this.denominacionEstatuspersonal = "SUSPENDIDO";
|
|
3971
|
+
_this.descripcionPeriodoNomina = e.despernom;
|
|
3972
|
+
_this.periodoActualNomina = e.peractnom;
|
|
3973
|
+
}
|
|
3974
|
+
else {
|
|
3975
|
+
_this.isNew = false;
|
|
3976
|
+
}
|
|
3977
|
+
return _this;
|
|
3978
|
+
}
|
|
3979
|
+
MNominaSimple.prototype.dataInterface = function () {
|
|
3980
|
+
return {
|
|
3981
|
+
id_empresa: this.idEmpresa.toString(),
|
|
3982
|
+
id_nomina: this.idNomina.toString(),
|
|
3983
|
+
codnom: this.codigoNomina,
|
|
3984
|
+
dennom: this.denominacioNomina,
|
|
3985
|
+
id_periodoactual: this.idPeriodoActual.toString(),
|
|
3986
|
+
totper: this.totalPeriodo.toString(),
|
|
3987
|
+
cerper: this.estatusPeriodo.toString(),
|
|
3988
|
+
prenomina: this.prenomina ? '1' : '0',
|
|
3989
|
+
calculado: this.calculada ? '1' : '0',
|
|
3990
|
+
id_carper: this.idCargo.toString(),
|
|
3991
|
+
descar: this.denominacionCargo,
|
|
3992
|
+
codcar: this.codigoCargo,
|
|
3993
|
+
racnom: this.nominaRac.toString(),
|
|
3994
|
+
staper: this.estatusPersonal.toString(),
|
|
3995
|
+
despernom: this.descripcionPeriodoNomina,
|
|
3996
|
+
peractnom: this.periodoActualNomina,
|
|
3997
|
+
};
|
|
3998
|
+
};
|
|
3999
|
+
return MNominaSimple;
|
|
3919
4000
|
}(MBasicModel));
|
|
3920
4001
|
|
|
3921
4002
|
var MAsignacionCargo = /** @class */ (function (_super) {
|
|
@@ -3927,9 +4008,6 @@
|
|
|
3927
4008
|
_this.idAsignacionCargo = 0;
|
|
3928
4009
|
_this.codigoAsignacionCargo = '';
|
|
3929
4010
|
_this.denominacionAsignacionCargo = '';
|
|
3930
|
-
_this.idOrganigrama = 0;
|
|
3931
|
-
_this.codigoOrganigrama = '';
|
|
3932
|
-
_this.denominacionOrganigrama = '';
|
|
3933
4011
|
_this.idEp1 = 0;
|
|
3934
4012
|
_this.idEp2 = 0;
|
|
3935
4013
|
_this.idEp3 = 0;
|
|
@@ -3954,14 +4032,15 @@
|
|
|
3954
4032
|
_this.totalCargos = 0;
|
|
3955
4033
|
_this.numeroCargosOcupados = 0;
|
|
3956
4034
|
_this.disponibilidadCargos = 0;
|
|
4035
|
+
_this.detallesNominas = [];
|
|
4036
|
+
_this.nominaEliminar = [];
|
|
4037
|
+
_this.detallesOrganigrama = [];
|
|
4038
|
+
_this.organigramaEliminar = [];
|
|
3957
4039
|
if (e) {
|
|
3958
4040
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
3959
4041
|
_this.idAsignacionCargo = parseInt(e.id_carper);
|
|
3960
4042
|
_this.codigoAsignacionCargo = e.codcar;
|
|
3961
4043
|
_this.denominacionAsignacionCargo = e.descar;
|
|
3962
|
-
_this.idOrganigrama = parseInt(e.id_organigrama);
|
|
3963
|
-
_this.codigoOrganigrama = e.codestorg;
|
|
3964
|
-
_this.denominacionOrganigrama = e.denestorg;
|
|
3965
4044
|
_this.idEp1 = parseInt(e.id_ep1);
|
|
3966
4045
|
_this.idEp2 = parseInt(e.id_ep2);
|
|
3967
4046
|
_this.idEp3 = parseInt(e.id_ep3);
|
|
@@ -3986,6 +4065,12 @@
|
|
|
3986
4065
|
_this.totalCargos = parseInt(e.totcar);
|
|
3987
4066
|
_this.numeroCargosOcupados = parseInt(e.numocucar);
|
|
3988
4067
|
_this.disponibilidadCargos = parseInt(e.disponibilidad);
|
|
4068
|
+
if (e.detalles_nomina) {
|
|
4069
|
+
_this.detallesNominas = e.detalles_nomina.map(function (e) { return new MCargosNominas(e); });
|
|
4070
|
+
}
|
|
4071
|
+
if (e.detalles_organigrama) {
|
|
4072
|
+
_this.detallesOrganigrama = e.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
|
|
4073
|
+
}
|
|
3989
4074
|
}
|
|
3990
4075
|
else {
|
|
3991
4076
|
_this.isNew = true;
|
|
@@ -3998,39 +4083,115 @@
|
|
|
3998
4083
|
id_carper: this.idAsignacionCargo.toString(),
|
|
3999
4084
|
codcar: this.codigoAsignacionCargo,
|
|
4000
4085
|
descar: this.denominacionAsignacionCargo,
|
|
4001
|
-
id_organigrama: this.idOrganigrama.toString(),
|
|
4002
|
-
codestorg: this.codigoOrganigrama,
|
|
4003
|
-
denestorg: this.denominacionOrganigrama,
|
|
4004
4086
|
id_ep1: this.idEp1.toString(),
|
|
4005
4087
|
id_ep2: this.idEp2.toString(),
|
|
4006
4088
|
id_ep3: this.idEp3.toString(),
|
|
4007
4089
|
id_ep4: this.idEp4.toString(),
|
|
4008
4090
|
id_ep5: this.idEp5.toString(),
|
|
4009
|
-
codigo_estructura: this.codigoEstructura,
|
|
4010
|
-
denominacion_estructura: this.denominacionEstructura,
|
|
4011
4091
|
clacar: this.claseCargo,
|
|
4012
4092
|
id_dedicacion: this.idDedicacion.toString(),
|
|
4013
|
-
codded: this.codigoDedicacion,
|
|
4014
|
-
dended: this.denominacionDedicacion,
|
|
4015
4093
|
id_tipopersonal: this.idTipoPersonal.toString(),
|
|
4016
|
-
codtipper: this.codigoTipoPersonal,
|
|
4017
|
-
dentipper: this.denominacionTipoPersonal,
|
|
4018
4094
|
id_tabulador: this.idTabulador.toString(),
|
|
4019
|
-
codtab: this.codigoTipoPersonal,
|
|
4020
|
-
destab: this.denominacionTabulador,
|
|
4021
4095
|
codgra: this.codigoGrado,
|
|
4022
4096
|
codpas: this.codigoPaso,
|
|
4023
|
-
monsalgra: this.salario.toString(),
|
|
4024
|
-
moncomgra: this.compensacion.toString(),
|
|
4025
4097
|
totcar: this.totalCargos.toString(),
|
|
4026
4098
|
numocucar: this.numeroCargosOcupados.toString(),
|
|
4027
|
-
|
|
4099
|
+
detalles_nomina: this.detallesNominas.map(function (e) { return e.dataInterface(); }),
|
|
4100
|
+
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
4101
|
+
eliminar_nomina: this.nominaEliminar,
|
|
4102
|
+
eliminar_organigrama: this.organigramaEliminar,
|
|
4028
4103
|
};
|
|
4029
4104
|
};
|
|
4030
4105
|
return MAsignacionCargo;
|
|
4106
|
+
}(MBasicModel));
|
|
4107
|
+
var MCargoEstructuraOrganizativa = /** @class */ (function (_super) {
|
|
4108
|
+
__extends(MCargoEstructuraOrganizativa, _super);
|
|
4109
|
+
function MCargoEstructuraOrganizativa(e) {
|
|
4110
|
+
if (e === void 0) { e = null; }
|
|
4111
|
+
var _this = _super.call(this) || this;
|
|
4112
|
+
_this.idEmpresa = 0;
|
|
4113
|
+
_this.idCargoPersonal = 0;
|
|
4114
|
+
_this.idOrganigrama = 0;
|
|
4115
|
+
_this.idDtCargoEstructura = 0;
|
|
4116
|
+
_this.idPersonal = 0;
|
|
4117
|
+
_this.codigoEstructuraOrganizativa = '';
|
|
4118
|
+
_this.denominacionEstructuraOrganizativa = '';
|
|
4119
|
+
_this.nivel = 0;
|
|
4120
|
+
if (e) {
|
|
4121
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
4122
|
+
_this.idCargoPersonal = parseInt(e.id_carper);
|
|
4123
|
+
_this.idOrganigrama = parseInt(e.id_organigrama);
|
|
4124
|
+
_this.codigoEstructuraOrganizativa = e.codestorg;
|
|
4125
|
+
_this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
4126
|
+
_this.idPersonal = parseInt(e.id_personal);
|
|
4127
|
+
_this.nivel = parseInt(e.nivel);
|
|
4128
|
+
}
|
|
4129
|
+
else {
|
|
4130
|
+
_this.isNew = true;
|
|
4131
|
+
}
|
|
4132
|
+
return _this;
|
|
4133
|
+
}
|
|
4134
|
+
MCargoEstructuraOrganizativa.prototype.dataInterface = function () {
|
|
4135
|
+
return {
|
|
4136
|
+
id_empresa: this.idEmpresa.toString(),
|
|
4137
|
+
id_carper: this.idCargoPersonal.toString(),
|
|
4138
|
+
id_organigrama: this.idOrganigrama.toString(),
|
|
4139
|
+
id_dt: this.idDtCargoEstructura.toString(),
|
|
4140
|
+
id_personal: this.idPersonal.toString(),
|
|
4141
|
+
};
|
|
4142
|
+
};
|
|
4143
|
+
return MCargoEstructuraOrganizativa;
|
|
4144
|
+
}(MBasicModel));
|
|
4145
|
+
var MCargosNominas = /** @class */ (function (_super) {
|
|
4146
|
+
__extends(MCargosNominas, _super);
|
|
4147
|
+
function MCargosNominas(e) {
|
|
4148
|
+
if (e === void 0) { e = null; }
|
|
4149
|
+
var _this = _super.call(this) || this;
|
|
4150
|
+
_this.idEmpresa = 0;
|
|
4151
|
+
_this.idNomina = 0;
|
|
4152
|
+
_this.idCargo = 0;
|
|
4153
|
+
_this.codigoNomina = '';
|
|
4154
|
+
_this.denominacionNomina = '';
|
|
4155
|
+
_this.estatus = '';
|
|
4156
|
+
_this.idDtNomina = 0;
|
|
4157
|
+
_this.periodoActualNomina = '001';
|
|
4158
|
+
_this.idPeriodoActual = 0;
|
|
4159
|
+
_this.nominaRac = 0;
|
|
4160
|
+
_this.descripcionPeriodoNomina = '';
|
|
4161
|
+
_this.prenomina = false;
|
|
4162
|
+
_this.editables = false;
|
|
4163
|
+
_this.calculada = false;
|
|
4164
|
+
if (e) {
|
|
4165
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
4166
|
+
_this.idNomina = parseInt(e.id_nomina);
|
|
4167
|
+
_this.idCargo = parseInt(e.id_carper);
|
|
4168
|
+
_this.codigoNomina = e.codnom;
|
|
4169
|
+
_this.denominacionNomina = e.dennom;
|
|
4170
|
+
_this.idDtNomina = parseInt(e.id_dt_carnom);
|
|
4171
|
+
_this.periodoActualNomina = e.peractnom;
|
|
4172
|
+
_this.calculada = e.calculado == '1' ? true : false;
|
|
4173
|
+
_this.prenomina = e.prenomina == '1' ? true : false;
|
|
4174
|
+
_this.estatus = _this.calculada ? 'Calculada' :
|
|
4175
|
+
!_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
4176
|
+
_this.editables = (_this.calculada || _this.prenomina) ? false : true;
|
|
4177
|
+
}
|
|
4178
|
+
else {
|
|
4179
|
+
_this.isNew = true;
|
|
4180
|
+
}
|
|
4181
|
+
return _this;
|
|
4182
|
+
}
|
|
4183
|
+
MCargosNominas.prototype.dataInterface = function () {
|
|
4184
|
+
return {
|
|
4185
|
+
id_empresa: this.idEmpresa.toString(),
|
|
4186
|
+
id_nomina: this.idNomina.toString(),
|
|
4187
|
+
id_carper: this.idCargo.toString(),
|
|
4188
|
+
id_dt_carnom: this.idDtNomina.toString(),
|
|
4189
|
+
};
|
|
4190
|
+
};
|
|
4191
|
+
return MCargosNominas;
|
|
4031
4192
|
}(MBasicModel));
|
|
4032
4193
|
|
|
4033
|
-
var MNominaSimple = /** @class */ (function () {
|
|
4194
|
+
var MNominaSimple$1 = /** @class */ (function () {
|
|
4034
4195
|
function MNominaSimple(e) {
|
|
4035
4196
|
if (e === void 0) { e = null; }
|
|
4036
4197
|
this.idEmpresa = 0;
|
|
@@ -4049,6 +4210,8 @@
|
|
|
4049
4210
|
this.nominaRac = 0;
|
|
4050
4211
|
this.simbolo = '';
|
|
4051
4212
|
this.color = '';
|
|
4213
|
+
this.periodoActualNomina = '';
|
|
4214
|
+
this.descripcionPeriodoNomina = '';
|
|
4052
4215
|
if (e) {
|
|
4053
4216
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
4054
4217
|
this.idNnomina = parseInt(e.id_nomina);
|
|
@@ -4067,23 +4230,15 @@
|
|
|
4067
4230
|
this.nominaRac = parseInt(e.racnom);
|
|
4068
4231
|
this.nominaRac == 1 ? this.simbolo = 'check' : this.simbolo = '';
|
|
4069
4232
|
this.nominaRac == 1 ? this.color = 'primary' : this.color = '';
|
|
4233
|
+
this.descripcionPeriodoNomina = e.despernom;
|
|
4234
|
+
this.periodoActualNomina = e.peractnom;
|
|
4070
4235
|
}
|
|
4071
4236
|
}
|
|
4072
4237
|
MNominaSimple.prototype.dataInterface = function () {
|
|
4073
4238
|
return {
|
|
4074
4239
|
id_empresa: this.idEmpresa.toString(),
|
|
4075
4240
|
id_nomina: this.idNnomina.toString(),
|
|
4076
|
-
codnom: this.codigoNomina,
|
|
4077
|
-
dennom: this.denominacioNomina,
|
|
4078
|
-
id_periodoactual: this.idPeriodoActual.toString(),
|
|
4079
|
-
totper: this.totalPeriodo.toString(),
|
|
4080
|
-
cerper: this.estatusPeriodo.toString(),
|
|
4081
|
-
prenomina: this.prenomina ? '1' : '0',
|
|
4082
|
-
calculado: this.calculada ? '1' : '0',
|
|
4083
4241
|
id_carper: this.idCargo.toString(),
|
|
4084
|
-
descar: this.denominacionCargo,
|
|
4085
|
-
codcar: this.codigoCargo,
|
|
4086
|
-
racnom: this.nominaRac.toString(),
|
|
4087
4242
|
};
|
|
4088
4243
|
};
|
|
4089
4244
|
return MNominaSimple;
|
|
@@ -6471,7 +6626,7 @@
|
|
|
6471
6626
|
SigespService.prototype.getPersonalNominaResumida = function (idPersonal, tipo) {
|
|
6472
6627
|
return this.http.get(this.URL + "/dao/sno/personal_dao.php?idPersonal=" + idPersonal + "&tipo=" + tipo, { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
|
|
6473
6628
|
if (res.success) {
|
|
6474
|
-
res.data = res.data.map(function (e) { return new MNominaSimple(e); });
|
|
6629
|
+
res.data = res.data.map(function (e) { return new MNominaSimple$1(e); });
|
|
6475
6630
|
}
|
|
6476
6631
|
return res;
|
|
6477
6632
|
}));
|
|
@@ -6507,7 +6662,6 @@
|
|
|
6507
6662
|
return this.http.post(this.URL + "/dao/sss/log_dao.php", body, {
|
|
6508
6663
|
headers: this.getHttpHeaders()
|
|
6509
6664
|
}).pipe(operators.map(function (res) {
|
|
6510
|
-
console.log("Log : ", res);
|
|
6511
6665
|
return res;
|
|
6512
6666
|
}));
|
|
6513
6667
|
};
|
|
@@ -7181,6 +7335,8 @@
|
|
|
7181
7335
|
_this.userData.name = permit.nomusu;
|
|
7182
7336
|
_this.userData.lastname = permit.apeusu;
|
|
7183
7337
|
_this.userData.username = permit.codusu;
|
|
7338
|
+
_this.descripcion = permit.descripcion;
|
|
7339
|
+
_this.id_record = parseInt(permit.id_record);
|
|
7184
7340
|
}
|
|
7185
7341
|
else {
|
|
7186
7342
|
_this.isNew = true;
|
|
@@ -7192,6 +7348,8 @@
|
|
|
7192
7348
|
activo: this.active ? '1' : '0',
|
|
7193
7349
|
codintper: this.internalPermit,
|
|
7194
7350
|
codsis: this.systemCode,
|
|
7351
|
+
descripcion: this.descripcion,
|
|
7352
|
+
id_record: this.id_record.toString(),
|
|
7195
7353
|
id_permiso: this.id.toString(),
|
|
7196
7354
|
id_usuario: this.userData.id ? this.userData.id.toString() : null,
|
|
7197
7355
|
apeusu: this.userData.lastname ? this.userData.lastname : null,
|
|
@@ -7460,6 +7618,8 @@
|
|
|
7460
7618
|
_this.nexoFamiliar = '';
|
|
7461
7619
|
_this.nombreBanco = '';
|
|
7462
7620
|
_this.denominacionTipoCuenta = '';
|
|
7621
|
+
_this.medidaActiva = false;
|
|
7622
|
+
_this.tribunal = '';
|
|
7463
7623
|
if (e) {
|
|
7464
7624
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
7465
7625
|
_this.idPersonal = parseInt(e.id_personal);
|
|
@@ -7474,6 +7634,8 @@
|
|
|
7474
7634
|
_this.numeroExpedienteBeneficiario = e.numexpben;
|
|
7475
7635
|
_this.porcentajePagoBeneficiario = parseFloat(e.porpagben);
|
|
7476
7636
|
_this.montoPagoBeneficiario = parseFloat(e.monpagben);
|
|
7637
|
+
_this.medidaActiva = e.medact == '1' ? true : false;
|
|
7638
|
+
_this.tribunal = e.tribunal;
|
|
7477
7639
|
_this.nombreCheque = e.nompro;
|
|
7478
7640
|
_this.cedulaAutorizado = e.cedpro;
|
|
7479
7641
|
_this.nombreFamiliar = e.nomfam;
|
|
@@ -7505,16 +7667,8 @@
|
|
|
7505
7667
|
ctabanben: this.cuentaBancoBeneficiario,
|
|
7506
7668
|
forpagben: this.formaPagoBeneficiario,
|
|
7507
7669
|
numexpben: this.numeroExpedienteBeneficiario,
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
nomfam: this.nombreFamiliar,
|
|
7511
|
-
apefam: this.apellidoFamiliar,
|
|
7512
|
-
cedfam: this.cedulaFamiliar,
|
|
7513
|
-
dirfam: this.direccionFamiliar,
|
|
7514
|
-
telfam: this.telefonoFamiliar,
|
|
7515
|
-
nexfam: this.nexoFamiliar,
|
|
7516
|
-
nomban: this.nombreBanco,
|
|
7517
|
-
nomtipcta: this.denominacionTipoCuenta
|
|
7670
|
+
medact: this.medidaActiva ? '1' : '0',
|
|
7671
|
+
tribunal: this.tribunal,
|
|
7518
7672
|
};
|
|
7519
7673
|
};
|
|
7520
7674
|
return MBeneficiario;
|
|
@@ -7525,6 +7679,7 @@
|
|
|
7525
7679
|
function MCargosPersonal(p) {
|
|
7526
7680
|
if (p === void 0) { p = null; }
|
|
7527
7681
|
var _this = _super.call(this) || this;
|
|
7682
|
+
_this.idEmpresa = 0;
|
|
7528
7683
|
_this.idPersonal = 0;
|
|
7529
7684
|
_this.idCargo = 0;
|
|
7530
7685
|
_this.codigoCargo = '';
|
|
@@ -7532,7 +7687,6 @@
|
|
|
7532
7687
|
_this.codigoDedicacion = '';
|
|
7533
7688
|
_this.denominacionDedicacion = '';
|
|
7534
7689
|
_this.denominacionTipoPersonalSno = '';
|
|
7535
|
-
_this.idOrganigrama = 0;
|
|
7536
7690
|
_this.idUbicacionFisica = 0;
|
|
7537
7691
|
_this.denominacionUbicacionFisica = '';
|
|
7538
7692
|
_this.codigoUbicacionFisica = '';
|
|
@@ -7544,17 +7698,15 @@
|
|
|
7544
7698
|
_this.codigoPaso = '0';
|
|
7545
7699
|
_this.codigoTabulador = '';
|
|
7546
7700
|
_this.denominacionTabulador = '';
|
|
7547
|
-
_this.codigoOrganigrama = '';
|
|
7548
|
-
_this.denominacionOrganigrama = '';
|
|
7549
7701
|
_this.idPersonalCargo = 0;
|
|
7550
7702
|
_this.montoSalarioGrado = 0;
|
|
7551
7703
|
_this.montoCompensacionGrado = 0;
|
|
7552
7704
|
_this.estatusMPPPE = false;
|
|
7705
|
+
_this.detallesOrganigrama = [];
|
|
7706
|
+
_this.organigramaEliminar = [];
|
|
7707
|
+
_this.detallesNomina = [];
|
|
7553
7708
|
if (p) {
|
|
7554
7709
|
_this.idPersonal = parseInt(p.id_personal);
|
|
7555
|
-
_this.idOrganigrama = parseInt(p.id_organigrama);
|
|
7556
|
-
_this.codigoOrganigrama = p.codestorg;
|
|
7557
|
-
_this.denominacionOrganigrama = p.denestorg;
|
|
7558
7710
|
_this.idCargo = +p.id_carper;
|
|
7559
7711
|
_this.codigoCargo = p.codcar;
|
|
7560
7712
|
_this.descripcionCargo = p.descar;
|
|
@@ -7576,6 +7728,12 @@
|
|
|
7576
7728
|
_this.montoSalarioGrado = parseFloat(p.moncomgra);
|
|
7577
7729
|
_this.montoCompensacionGrado = parseFloat(p.moncomgra);
|
|
7578
7730
|
_this.estatusMPPPE = p.estmpppe == '1' ? true : false;
|
|
7731
|
+
if (p.detalles_organigrama) {
|
|
7732
|
+
_this.detallesOrganigrama = p.detalles_organigrama.map(function (e) { return new MCargoEstructuraOrganizativa(e); });
|
|
7733
|
+
}
|
|
7734
|
+
if (p.detalles_nomina) {
|
|
7735
|
+
_this.detallesNomina = p.detalles_nomina.map(function (e) { return new MNominaSimple(e); });
|
|
7736
|
+
}
|
|
7579
7737
|
}
|
|
7580
7738
|
else {
|
|
7581
7739
|
_this.isNew = true;
|
|
@@ -7584,31 +7742,16 @@
|
|
|
7584
7742
|
}
|
|
7585
7743
|
MCargosPersonal.prototype.dataInterface = function () {
|
|
7586
7744
|
return {
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
denestorg: this.denominacionOrganigrama,
|
|
7745
|
+
id_empresa: this.idEmpresa.toString(),
|
|
7746
|
+
id_personal: this.idPersonal.toString(),
|
|
7590
7747
|
id_carper: this.idCargo.toString(),
|
|
7591
|
-
descar: this.descripcionCargo.toString(),
|
|
7592
|
-
codcar: this.codigoCargo,
|
|
7593
|
-
codded: this.codigoDedicacion,
|
|
7594
|
-
dended: this.denominacionDedicacion,
|
|
7595
|
-
dentipper: this.denominacionTipoPersonalSno,
|
|
7596
|
-
id_ubifis: this.idUbicacionFisica.toString(),
|
|
7597
|
-
codubifis: this.codigoUbicacionFisica,
|
|
7598
|
-
denubifis: this.denominacionUbicacionFisica,
|
|
7599
|
-
codtipper: this.codigoTipoPersonalSno,
|
|
7600
|
-
id_dedicacion: this.idDedicacion.toString(),
|
|
7601
|
-
id_tipopersonal: this.idTipoPersonalSno.toString(),
|
|
7602
7748
|
id_tabulador: this.idTabulador.toString(),
|
|
7603
7749
|
codgra: this.codigoGrado,
|
|
7604
7750
|
codpas: this.codigoPaso,
|
|
7605
|
-
|
|
7606
|
-
destab: this.denominacionTabulador,
|
|
7751
|
+
id_ubifis: this.idUbicacionFisica.toString(),
|
|
7607
7752
|
id_personalcargo: this.idPersonalCargo.toString(),
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
monsalgra: this.montoSalarioGrado.toString(),
|
|
7611
|
-
estmpppe: this.estatusMPPPE ? '1' : '0',
|
|
7753
|
+
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
7754
|
+
eliminar_organigrama: this.organigramaEliminar,
|
|
7612
7755
|
};
|
|
7613
7756
|
};
|
|
7614
7757
|
return MCargosPersonal;
|
|
@@ -7889,6 +8032,8 @@
|
|
|
7889
8032
|
_this.formulaReducida = '';
|
|
7890
8033
|
_this.nombreSigno = '';
|
|
7891
8034
|
_this.orden = 0;
|
|
8035
|
+
_this.evaluarEnPrenomina = 0;
|
|
8036
|
+
_this.antiguedadComplementaria = 0;
|
|
7892
8037
|
if (e) {
|
|
7893
8038
|
_this.idEmpresa = +e.id_empresa;
|
|
7894
8039
|
_this.idNomina = +e.id_nomina;
|
|
@@ -7957,6 +8102,8 @@
|
|
|
7957
8102
|
_this.formulaReducida = e.forcon.substr(0, 40);
|
|
7958
8103
|
}
|
|
7959
8104
|
_this.nombreSigno = _this.denominacionSigno(_this.signoConcepto);
|
|
8105
|
+
_this.evaluarEnPrenomina = +e.evaprenom;
|
|
8106
|
+
_this.antiguedadComplementaria = +e.antigcomp;
|
|
7960
8107
|
}
|
|
7961
8108
|
else {
|
|
7962
8109
|
_this.isNew = true;
|
|
@@ -8025,6 +8172,8 @@
|
|
|
8025
8172
|
regincidencia: this.registroIncidencia,
|
|
8026
8173
|
forincidencia: this.formulaIncidencia,
|
|
8027
8174
|
orden: this.orden.toString(),
|
|
8175
|
+
evaprenom: this.evaluarEnPrenomina.toString(),
|
|
8176
|
+
antigcomp: this.antiguedadComplementaria.toString(),
|
|
8028
8177
|
};
|
|
8029
8178
|
};
|
|
8030
8179
|
MConceptosNomina.prototype.denominacionSigno = function (sig) {
|
|
@@ -8271,27 +8420,33 @@
|
|
|
8271
8420
|
return MConstantePersonalNomina;
|
|
8272
8421
|
}(MBasicModel));
|
|
8273
8422
|
|
|
8274
|
-
var MRango = /** @class */ (function () {
|
|
8423
|
+
var MRango = /** @class */ (function (_super) {
|
|
8424
|
+
__extends(MRango, _super);
|
|
8275
8425
|
function MRango(e) {
|
|
8276
8426
|
if (e === void 0) { e = null; }
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8427
|
+
var _this = _super.call(this) || this;
|
|
8428
|
+
_this.idEmpresa = 0;
|
|
8429
|
+
_this.idComponente = 0;
|
|
8430
|
+
_this.IdRango = 0;
|
|
8431
|
+
_this.IdCategoria = 0;
|
|
8432
|
+
_this.codigoRango = '';
|
|
8433
|
+
_this.denominacionRango = '';
|
|
8434
|
+
_this.nombreAbreviatura = '';
|
|
8435
|
+
_this.codigoCategoriaRango = '';
|
|
8285
8436
|
if (e) {
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8437
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
8438
|
+
_this.idComponente = parseInt(e.id_componente);
|
|
8439
|
+
_this.IdRango = parseInt(e.id_rango);
|
|
8440
|
+
_this.IdCategoria = parseInt(e.id_catrango);
|
|
8441
|
+
_this.codigoRango = e.codran;
|
|
8442
|
+
_this.denominacionRango = e.denran;
|
|
8443
|
+
_this.nombreAbreviatura = e.nomabr;
|
|
8444
|
+
_this.codigoCategoriaRango = e.codcatran;
|
|
8445
|
+
}
|
|
8446
|
+
else {
|
|
8447
|
+
_this.isNew = true;
|
|
8294
8448
|
}
|
|
8449
|
+
return _this;
|
|
8295
8450
|
}
|
|
8296
8451
|
MRango.prototype.dataInterface = function () {
|
|
8297
8452
|
return {
|
|
@@ -8306,7 +8461,7 @@
|
|
|
8306
8461
|
};
|
|
8307
8462
|
};
|
|
8308
8463
|
return MRango;
|
|
8309
|
-
}());
|
|
8464
|
+
}(MBasicModel));
|
|
8310
8465
|
|
|
8311
8466
|
var MComponete = /** @class */ (function (_super) {
|
|
8312
8467
|
__extends(MComponete, _super);
|
|
@@ -8351,43 +8506,55 @@
|
|
|
8351
8506
|
var _this = _super.call(this) || this;
|
|
8352
8507
|
_this.idEmpresa = 0;
|
|
8353
8508
|
_this.idConcurso = 0;
|
|
8509
|
+
_this.codigoConcurso = '';
|
|
8354
8510
|
_this.idConcursante = 0;
|
|
8355
8511
|
_this.cedula = '';
|
|
8356
8512
|
_this.idProfesion = 0;
|
|
8357
|
-
_this.
|
|
8358
|
-
_this.
|
|
8359
|
-
_this.
|
|
8513
|
+
_this.profesion = '';
|
|
8514
|
+
_this.nombreProfesion = '';
|
|
8515
|
+
_this.fechaInscripcion = '';
|
|
8516
|
+
_this.nombres = '';
|
|
8517
|
+
_this.apellidos = '';
|
|
8360
8518
|
_this.direccion = '';
|
|
8361
8519
|
_this.fechaNacimiento = '';
|
|
8362
8520
|
_this.estadoCivil = '';
|
|
8363
8521
|
_this.codigoPais = '';
|
|
8522
|
+
_this.nombrePais = '';
|
|
8364
8523
|
_this.codigoEstado = '';
|
|
8524
|
+
_this.nombreEstado = '';
|
|
8365
8525
|
_this.nacionalidad = '';
|
|
8366
8526
|
_this.telefono = '';
|
|
8367
8527
|
_this.celular = '';
|
|
8368
8528
|
_this.correo = '';
|
|
8369
8529
|
_this.genero = '';
|
|
8370
8530
|
_this.nivelAcademico = 0;
|
|
8531
|
+
_this.estatusRequisitos = 1;
|
|
8371
8532
|
if (e) {
|
|
8372
8533
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
8373
|
-
_this.
|
|
8534
|
+
_this.idConcurso = parseInt(e.id_concurso);
|
|
8535
|
+
_this.codigoConcurso = e.codcon;
|
|
8374
8536
|
_this.idConcursante = parseInt(e.id_concursante);
|
|
8375
8537
|
_this.cedula = e.cedper;
|
|
8376
8538
|
_this.idProfesion = parseInt(e.id_profesion);
|
|
8377
|
-
_this.
|
|
8378
|
-
_this.
|
|
8379
|
-
_this.
|
|
8539
|
+
_this.profesion = e.profesion;
|
|
8540
|
+
_this.nombreProfesion = e.nombre_profesion;
|
|
8541
|
+
_this.fechaInscripcion = e.fecreg;
|
|
8542
|
+
_this.nombres = e.nomper;
|
|
8543
|
+
_this.apellidos = e.apeper;
|
|
8380
8544
|
_this.direccion = e.dirper;
|
|
8381
8545
|
_this.fechaNacimiento = e.fecnacper;
|
|
8382
8546
|
_this.estadoCivil = e.estcivper;
|
|
8383
8547
|
_this.codigoPais = e.codpai;
|
|
8548
|
+
_this.nombrePais = e.nombre_pais;
|
|
8384
8549
|
_this.codigoEstado = e.codest;
|
|
8550
|
+
_this.nombreEstado = e.nombre_estado;
|
|
8385
8551
|
_this.nacionalidad = e.nacper;
|
|
8386
8552
|
_this.telefono = e.telhabper;
|
|
8387
8553
|
_this.celular = e.telmovper;
|
|
8388
8554
|
_this.correo = e.emaper;
|
|
8389
8555
|
_this.genero = e.sexper;
|
|
8390
8556
|
_this.nivelAcademico = parseInt(e.nivacaper);
|
|
8557
|
+
_this.estatusRequisitos = parseInt(e.estconper);
|
|
8391
8558
|
}
|
|
8392
8559
|
return _this;
|
|
8393
8560
|
}
|
|
@@ -8395,26 +8562,76 @@
|
|
|
8395
8562
|
return {
|
|
8396
8563
|
id_empresa: this.idEmpresa.toString(),
|
|
8397
8564
|
id_concurso: this.idConcurso.toString(),
|
|
8398
|
-
|
|
8565
|
+
codcon: this.codigoConcurso,
|
|
8566
|
+
id_concursante: this.idConcursante.toString(),
|
|
8399
8567
|
cedper: this.cedula,
|
|
8400
8568
|
id_profesion: this.idProfesion.toString(),
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8569
|
+
profesion: this.profesion,
|
|
8570
|
+
nombre_profesion: this.nombreProfesion,
|
|
8571
|
+
fecreg: this.fechaInscripcion,
|
|
8572
|
+
nomper: this.nombres,
|
|
8573
|
+
apeper: this.apellidos,
|
|
8404
8574
|
dirper: this.direccion,
|
|
8405
8575
|
fecnacper: this.fechaNacimiento,
|
|
8406
8576
|
estcivper: this.estadoCivil,
|
|
8407
8577
|
codpai: this.codigoPais,
|
|
8578
|
+
nombre_pais: this.nombrePais,
|
|
8408
8579
|
codest: this.codigoEstado,
|
|
8580
|
+
nombre_estado: this.nombreEstado,
|
|
8409
8581
|
nacper: this.nacionalidad,
|
|
8410
8582
|
telhabper: this.telefono,
|
|
8411
8583
|
telmovper: this.celular,
|
|
8412
8584
|
emaper: this.correo,
|
|
8413
8585
|
sexper: this.genero,
|
|
8414
|
-
nivacaper: this.nivelAcademico.toString()
|
|
8586
|
+
nivacaper: this.nivelAcademico.toString(),
|
|
8587
|
+
estconper: this.estatusRequisitos.toString()
|
|
8415
8588
|
};
|
|
8416
8589
|
};
|
|
8417
8590
|
return MConcursante;
|
|
8591
|
+
}(MBasicModel));
|
|
8592
|
+
var MTrabajosConcursantes = /** @class */ (function (_super) {
|
|
8593
|
+
__extends(MTrabajosConcursantes, _super);
|
|
8594
|
+
function MTrabajosConcursantes(e) {
|
|
8595
|
+
var _this = _super.call(this) || this;
|
|
8596
|
+
_this.idEmpresa = 0;
|
|
8597
|
+
_this.idConcurso = 0;
|
|
8598
|
+
_this.idConcursante = 0;
|
|
8599
|
+
_this.idTrabajo = 0;
|
|
8600
|
+
_this.codigo = '';
|
|
8601
|
+
_this.empresaTrabajoAnterior = '';
|
|
8602
|
+
_this.cargoTrabajoAnterior = '';
|
|
8603
|
+
_this.fechaIngreso = '';
|
|
8604
|
+
_this.fechaRetiro = '';
|
|
8605
|
+
if (e) {
|
|
8606
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
8607
|
+
_this.idConcurso = parseInt(e.id_concurso);
|
|
8608
|
+
_this.idConcursante = parseInt(e.id_concursante);
|
|
8609
|
+
_this.idTrabajo = parseInt(e.id_trabajocon);
|
|
8610
|
+
_this.codigo = e.codtraper;
|
|
8611
|
+
_this.empresaTrabajoAnterior = e.emptraper;
|
|
8612
|
+
_this.cargoTrabajoAnterior = e.cartraant;
|
|
8613
|
+
_this.fechaIngreso = e.fecingtraant;
|
|
8614
|
+
_this.fechaRetiro = e.fecrettraant;
|
|
8615
|
+
}
|
|
8616
|
+
else {
|
|
8617
|
+
_this.isNew = true;
|
|
8618
|
+
}
|
|
8619
|
+
return _this;
|
|
8620
|
+
}
|
|
8621
|
+
MTrabajosConcursantes.prototype.dataInterface = function () {
|
|
8622
|
+
return {
|
|
8623
|
+
id_empresa: this.idEmpresa.toString(),
|
|
8624
|
+
id_concurso: this.idConcurso.toString(),
|
|
8625
|
+
id_concursante: this.idConcursante.toString(),
|
|
8626
|
+
id_trabajocon: this.idTrabajo.toString(),
|
|
8627
|
+
codtraper: this.codigo,
|
|
8628
|
+
emptraper: this.empresaTrabajoAnterior,
|
|
8629
|
+
cartraant: this.cargoTrabajoAnterior,
|
|
8630
|
+
fecingtraant: this.fechaIngreso,
|
|
8631
|
+
fecrettraant: this.fechaRetiro
|
|
8632
|
+
};
|
|
8633
|
+
};
|
|
8634
|
+
return MTrabajosConcursantes;
|
|
8418
8635
|
}(MBasicModel));
|
|
8419
8636
|
|
|
8420
8637
|
var MRequisitosConcursos = /** @class */ (function (_super) {
|
|
@@ -8916,8 +9133,8 @@
|
|
|
8916
9133
|
_this.idfideicomiso = 0;
|
|
8917
9134
|
_this.codigoFideicomiso = '';
|
|
8918
9135
|
_this.fichaFideicomico = '';
|
|
8919
|
-
_this.ubicacionFideicomiso = '';
|
|
8920
9136
|
_this.cuentaFideicomiso = '';
|
|
9137
|
+
_this.idCuentaFideicomiso = 0;
|
|
8921
9138
|
_this.fechaIngresoFideicomiso = '1900-01-01';
|
|
8922
9139
|
_this.capitalizacionFideicomiso = 'N';
|
|
8923
9140
|
_this.capitalizarAntiguedadComplementaria = 0;
|
|
@@ -8927,14 +9144,17 @@
|
|
|
8927
9144
|
_this.scgCuentaAntiguedadFideicomiso = '';
|
|
8928
9145
|
_this.scgcuentaInteresFideicomiso = '';
|
|
8929
9146
|
_this.calcularIteresFideicomiso = 0;
|
|
9147
|
+
_this.idUbicacionFisica = 0;
|
|
9148
|
+
_this.denominacionUbicacionFisica = '';
|
|
9149
|
+
_this.codigoUbicacionFisica = '';
|
|
8930
9150
|
if (e) {
|
|
8931
9151
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
8932
9152
|
_this.idPersonal = parseInt(e.id_personal);
|
|
8933
9153
|
_this.idfideicomiso = parseInt(e.id_fideicomiso);
|
|
8934
9154
|
_this.codigoFideicomiso = e.codfid;
|
|
8935
9155
|
_this.fichaFideicomico = e.ficfid;
|
|
8936
|
-
_this.
|
|
8937
|
-
_this.cuentaFideicomiso = e.
|
|
9156
|
+
_this.idCuentaFideicomiso = parseInt(e.id_ctabanper);
|
|
9157
|
+
_this.cuentaFideicomiso = e.ctabanper;
|
|
8938
9158
|
_this.fechaIngresoFideicomiso = e.fecingfid;
|
|
8939
9159
|
_this.capitalizacionFideicomiso = e.capfid;
|
|
8940
9160
|
_this.capitalizarAntiguedadComplementaria = parseInt(e.capantcom);
|
|
@@ -8944,6 +9164,12 @@
|
|
|
8944
9164
|
_this.scgCuentaAntiguedadFideicomiso = e.scg_cuentafid;
|
|
8945
9165
|
_this.scgcuentaInteresFideicomiso = e.scg_cuentaintfid;
|
|
8946
9166
|
_this.calcularIteresFideicomiso = +e.calintfid;
|
|
9167
|
+
_this.idUbicacionFisica = parseInt(e.id_ubifis);
|
|
9168
|
+
_this.denominacionUbicacionFisica = e.denubifis;
|
|
9169
|
+
_this.codigoUbicacionFisica = e.codubifis;
|
|
9170
|
+
}
|
|
9171
|
+
else {
|
|
9172
|
+
_this.isNew = true;
|
|
8947
9173
|
}
|
|
8948
9174
|
return _this;
|
|
8949
9175
|
}
|
|
@@ -8954,8 +9180,7 @@
|
|
|
8954
9180
|
id_fideicomiso: this.idfideicomiso.toString(),
|
|
8955
9181
|
codfid: this.codigoFideicomiso,
|
|
8956
9182
|
ficfid: this.fichaFideicomico,
|
|
8957
|
-
|
|
8958
|
-
cuefid: this.cuentaFideicomiso,
|
|
9183
|
+
id_ctabanper: this.idCuentaFideicomiso.toString(),
|
|
8959
9184
|
fecingfid: this.fechaIngresoFideicomiso,
|
|
8960
9185
|
capfid: this.capitalizacionFideicomiso,
|
|
8961
9186
|
capantcom: this.capitalizarAntiguedadComplementaria.toString(),
|
|
@@ -8965,9 +9190,350 @@
|
|
|
8965
9190
|
scg_cuentafid: this.scgCuentaAntiguedadFideicomiso,
|
|
8966
9191
|
scg_cuentaintfid: this.scgcuentaInteresFideicomiso,
|
|
8967
9192
|
calintfid: +this.calcularIteresFideicomiso,
|
|
9193
|
+
id_ubifis: this.idUbicacionFisica.toString(),
|
|
8968
9194
|
};
|
|
8969
9195
|
};
|
|
8970
9196
|
return MFideicomiso;
|
|
9197
|
+
}(MBasicModel));
|
|
9198
|
+
var MConfiguracionFideicomiso = /** @class */ (function (_super) {
|
|
9199
|
+
__extends(MConfiguracionFideicomiso, _super);
|
|
9200
|
+
function MConfiguracionFideicomiso(e) {
|
|
9201
|
+
var _this = _super.call(this) || this;
|
|
9202
|
+
_this.idEmpresa = 0;
|
|
9203
|
+
_this.idFideicomisoConfiguracion = 0;
|
|
9204
|
+
_this.idDedicacion = 0;
|
|
9205
|
+
_this.idTipoPersonal = 0;
|
|
9206
|
+
_this.anioCursoFideicomiso = '';
|
|
9207
|
+
_this.diaBonoVacacionalFideicomiso = 0;
|
|
9208
|
+
_this.diasBonoFinAnio = 0;
|
|
9209
|
+
_this.cuentaFideicomiso = '';
|
|
9210
|
+
_this.denominacionDedicacion = '';
|
|
9211
|
+
_this.codigoDedicacion = '';
|
|
9212
|
+
_this.codigoTipoPersonal = '';
|
|
9213
|
+
_this.denominacionTipoPersonal = '';
|
|
9214
|
+
_this.formulaFideicomiso = 'xxx';
|
|
9215
|
+
if (e) {
|
|
9216
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
9217
|
+
_this.idDedicacion = parseInt(e.id_dedicacion);
|
|
9218
|
+
_this.idTipoPersonal = parseInt(e.id_tipopersonal);
|
|
9219
|
+
_this.anioCursoFideicomiso = e.anocurfid;
|
|
9220
|
+
_this.diaBonoVacacionalFideicomiso = parseInt(e.diabonvacfid);
|
|
9221
|
+
_this.diasBonoFinAnio = parseInt(e.diabonfinfid);
|
|
9222
|
+
_this.cuentaFideicomiso = e.cuefid;
|
|
9223
|
+
_this.denominacionDedicacion = e.dended;
|
|
9224
|
+
_this.codigoDedicacion = e.codded;
|
|
9225
|
+
_this.codigoTipoPersonal = e.codtipper;
|
|
9226
|
+
_this.denominacionTipoPersonal = e.dentipper;
|
|
9227
|
+
_this.idFideicomisoConfiguracion = parseInt(e.id_fidconfig);
|
|
9228
|
+
_this.formulaFideicomiso = e.forfid;
|
|
9229
|
+
}
|
|
9230
|
+
else {
|
|
9231
|
+
_this.isNew = true;
|
|
9232
|
+
}
|
|
9233
|
+
return _this;
|
|
9234
|
+
}
|
|
9235
|
+
MConfiguracionFideicomiso.prototype.dataInterface = function () {
|
|
9236
|
+
return {
|
|
9237
|
+
id_empresa: this.idEmpresa.toString(),
|
|
9238
|
+
id_fidconfig: this.idFideicomisoConfiguracion.toString(),
|
|
9239
|
+
id_dedicacion: this.idDedicacion.toString(),
|
|
9240
|
+
id_tipopersonal: this.idTipoPersonal.toString(),
|
|
9241
|
+
anocurfid: this.anioCursoFideicomiso,
|
|
9242
|
+
diabonvacfid: this.diaBonoVacacionalFideicomiso.toString(),
|
|
9243
|
+
diabonfinfid: this.diasBonoFinAnio.toString(),
|
|
9244
|
+
cuefid: this.cuentaFideicomiso,
|
|
9245
|
+
forfid: this.formulaFideicomiso,
|
|
9246
|
+
};
|
|
9247
|
+
};
|
|
9248
|
+
return MConfiguracionFideicomiso;
|
|
9249
|
+
}(MBasicModel));
|
|
9250
|
+
var MFideicomisoInteres = /** @class */ (function (_super) {
|
|
9251
|
+
__extends(MFideicomisoInteres, _super);
|
|
9252
|
+
function MFideicomisoInteres(e) {
|
|
9253
|
+
var _this = _super.call(this) || this;
|
|
9254
|
+
_this.idEmpresa = 0;
|
|
9255
|
+
_this.idInteresFideicomiso = 0;
|
|
9256
|
+
_this.mesInteres = 0;
|
|
9257
|
+
_this.anioInteres = 0;
|
|
9258
|
+
_this.numeroGacetaInteres = '';
|
|
9259
|
+
_this.fechaVigenciaGacetaInteres = '1900-01-01';
|
|
9260
|
+
_this.montoTasaInteres = 0;
|
|
9261
|
+
if (e) {
|
|
9262
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
9263
|
+
_this.idInteresFideicomiso = parseInt(e.id_intfide);
|
|
9264
|
+
_this.mesInteres = parseInt(e.mesint);
|
|
9265
|
+
_this.anioInteres = parseInt(e.anoint);
|
|
9266
|
+
_this.numeroGacetaInteres = e.nrogacint;
|
|
9267
|
+
_this.fechaVigenciaGacetaInteres = e.fecviggacint;
|
|
9268
|
+
_this.montoTasaInteres = +e.montasint;
|
|
9269
|
+
}
|
|
9270
|
+
else {
|
|
9271
|
+
_this.isNew = true;
|
|
9272
|
+
}
|
|
9273
|
+
return _this;
|
|
9274
|
+
}
|
|
9275
|
+
MFideicomisoInteres.prototype.dataInterface = function () {
|
|
9276
|
+
return {
|
|
9277
|
+
id_empresa: this.idEmpresa.toString(),
|
|
9278
|
+
id_intfide: this.idInteresFideicomiso.toString(),
|
|
9279
|
+
mesint: this.mesInteres.toString(),
|
|
9280
|
+
anoint: this.anioInteres.toString(),
|
|
9281
|
+
nrogacint: this.numeroGacetaInteres,
|
|
9282
|
+
fecviggacint: this.fechaVigenciaGacetaInteres,
|
|
9283
|
+
montasint: this.montoTasaInteres.toString(),
|
|
9284
|
+
};
|
|
9285
|
+
};
|
|
9286
|
+
return MFideicomisoInteres;
|
|
9287
|
+
}(MBasicModel));
|
|
9288
|
+
var MCalculoPrestacion = /** @class */ (function (_super) {
|
|
9289
|
+
__extends(MCalculoPrestacion, _super);
|
|
9290
|
+
function MCalculoPrestacion(e) {
|
|
9291
|
+
if (e === void 0) { e = null; }
|
|
9292
|
+
var _this = _super.call(this) || this;
|
|
9293
|
+
_this.idEmpresa = 0;
|
|
9294
|
+
_this.mes = '';
|
|
9295
|
+
_this.anio = '';
|
|
9296
|
+
_this.cedulaDesde = '';
|
|
9297
|
+
_this.cedulaHasta = '';
|
|
9298
|
+
_this.mesCalculado = '';
|
|
9299
|
+
_this.anioCalculado = '';
|
|
9300
|
+
if (e) {
|
|
9301
|
+
_this.idEmpresa = parseInt(e.id_empresa);
|
|
9302
|
+
_this.mes = e.mes;
|
|
9303
|
+
_this.anio = e.anio;
|
|
9304
|
+
_this.cedulaDesde = e.cedula_desde;
|
|
9305
|
+
_this.cedulaDesde = e.cedula_hasta;
|
|
9306
|
+
_this.mesCalculado = e.mescal;
|
|
9307
|
+
_this.anioCalculado = e.aniocal;
|
|
9308
|
+
}
|
|
9309
|
+
else {
|
|
9310
|
+
_this.isNew = true;
|
|
9311
|
+
}
|
|
9312
|
+
return _this;
|
|
9313
|
+
}
|
|
9314
|
+
MCalculoPrestacion.prototype.dataInterface = function () {
|
|
9315
|
+
return {
|
|
9316
|
+
id_empresa: this.idEmpresa.toString(),
|
|
9317
|
+
mes: this.mes,
|
|
9318
|
+
anio: this.anio,
|
|
9319
|
+
cedula_desde: this.cedulaDesde,
|
|
9320
|
+
cedula_hasta: this.cedulaHasta,
|
|
9321
|
+
mescal: this.mesCalculado,
|
|
9322
|
+
aniocal: this.anioCalculado,
|
|
9323
|
+
};
|
|
9324
|
+
};
|
|
9325
|
+
return MCalculoPrestacion;
|
|
9326
|
+
}(MBasicModel));
|
|
9327
|
+
var MFideicomisoPeriodo = /** @class */ (function (_super) {
|
|
9328
|
+
__extends(MFideicomisoPeriodo, _super);
|
|
9329
|
+
function MFideicomisoPeriodo(e) {
|
|
9330
|
+
if (e === void 0) { e = null; }
|
|
9331
|
+
var _this = _super.call(this) || this;
|
|
9332
|
+
_this.idEmpresa = 0;
|
|
9333
|
+
_this.idPersonal = 0;
|
|
9334
|
+
_this.idNomina = 0;
|
|
9335
|
+
_this.codigoNomina = '';
|
|
9336
|
+
_this.idFideicomiso = 0;
|
|
9337
|
+
_this.anioCursoPeriodo = '';
|
|
9338
|
+
_this.mesCursoPeriodo = '';
|
|
9339
|
+
_this.sueldointergralPeronal = 0;
|
|
9340
|
+
_this.bonoExtraPersonal = 0;
|
|
9341
|
+
_this.bonoVacacionalPersonal = 0;
|
|
9342
|
+
_this.bonoFinPersonal = 0;
|
|
9343
|
+
_this.aportePersonal = 0;
|
|
9344
|
+
_this.diaFideicomiso = 0;
|
|
9345
|
+
_this.diaAdicional = 0;
|
|
9346
|
+
_this.metodoPrestacion = 0;
|
|
9347
|
+
_this.metodoAdicional = 0;
|
|
9348
|
+
_this.bonoVacionalAdicional = 0;
|
|
9349
|
+
_this.bonoFinAdicional = 0;
|
|
9350
|
+
_this.sueldoIntegralAdicional = 0;
|
|
9351
|
+
_this.aportePrestacion = 0;
|
|
9352
|
+
_this.aporteAdicionalPersonal = 0;
|
|
9353
|
+
_this.codigoUsuario = '';
|
|
9354
|
+
_this.idDtFideicomisoPeriodo = 0;
|
|
9355
|
+
_this.cedulaPersonal = '';
|
|
9356
|
+
_this.nombrePersonal = '';
|
|
9357
|
+
_this.apellidoPersonal = '';
|
|
9358
|
+
_this.fechaIngresoPersonal = '1900-01-01';
|
|
9359
|
+
_this.estatusPersonal = '';
|
|
9360
|
+
_this.codigoPersonal = '';
|
|
9361
|
+
_this.denominacionEstatus = '';
|
|
9362
|
+
_this.denominacionMes = '';
|
|
9363
|
+
if (e) {
|
|
9364
|
+
_this.idEmpresa = +e.id_empresa;
|
|
9365
|
+
_this.idPersonal = +e.id_personal;
|
|
9366
|
+
_this.idNomina = +e.id_nomina;
|
|
9367
|
+
_this.codigoNomina = e.codnom;
|
|
9368
|
+
_this.idFideicomiso = +e.id_dt_fideiperiodo;
|
|
9369
|
+
_this.anioCursoPeriodo = e.anocurper;
|
|
9370
|
+
_this.mesCursoPeriodo = e.mescurper;
|
|
9371
|
+
_this.sueldointergralPeronal = +e.sueintper;
|
|
9372
|
+
_this.bonoExtraPersonal = +e.bonextper;
|
|
9373
|
+
_this.bonoVacacionalPersonal = +e.bonvacper;
|
|
9374
|
+
_this.bonoFinPersonal = +e.bonfinper;
|
|
9375
|
+
_this.aportePersonal = +e.apoper;
|
|
9376
|
+
_this.diaFideicomiso = +e.diafid;
|
|
9377
|
+
_this.diaAdicional = +e.diaadi;
|
|
9378
|
+
_this.metodoPrestacion = +e.metodopre;
|
|
9379
|
+
_this.metodoAdicional = +e.metodoadi;
|
|
9380
|
+
_this.bonoVacionalAdicional = +e.bonvacadiper;
|
|
9381
|
+
_this.bonoFinAdicional = +e.bonfinadiper;
|
|
9382
|
+
_this.sueldoIntegralAdicional = +e.sueintadiper;
|
|
9383
|
+
_this.aportePrestacion = +e.apopreper;
|
|
9384
|
+
_this.aporteAdicionalPersonal = +e.apoadiper;
|
|
9385
|
+
_this.codigoUsuario = e.codusu;
|
|
9386
|
+
_this.idDtFideicomisoPeriodo = +e.id_dt_fideiperiodo;
|
|
9387
|
+
_this.cedulaPersonal = e.cedper;
|
|
9388
|
+
_this.nombrePersonal = e.nomper;
|
|
9389
|
+
_this.apellidoPersonal = e.apeper;
|
|
9390
|
+
_this.fechaIngresoPersonal = e.fecingper;
|
|
9391
|
+
_this.estatusPersonal = e.estper;
|
|
9392
|
+
_this.codigoPersonal = e.codper;
|
|
9393
|
+
_this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
|
|
9394
|
+
_this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
|
|
9395
|
+
_this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
|
|
9396
|
+
_this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
|
|
9397
|
+
_this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
|
|
9398
|
+
_this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
|
|
9399
|
+
_this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
|
|
9400
|
+
_this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
|
|
9401
|
+
_this.mesCursoPeriodo == '01' ? _this.denominacionMes = 'ENERO' :
|
|
9402
|
+
_this.mesCursoPeriodo == '02' ? _this.denominacionMes = 'FEBREO' :
|
|
9403
|
+
_this.mesCursoPeriodo == '03' ? _this.denominacionMes = 'MARZO' :
|
|
9404
|
+
_this.mesCursoPeriodo == '04' ? _this.denominacionMes = 'ABRIL' :
|
|
9405
|
+
_this.mesCursoPeriodo == '05' ? _this.denominacionMes = 'MAYO' :
|
|
9406
|
+
_this.mesCursoPeriodo == '06' ? _this.denominacionMes = 'JUNIO' :
|
|
9407
|
+
_this.mesCursoPeriodo == '07' ? _this.denominacionMes = 'JULIO' : '';
|
|
9408
|
+
_this.mesCursoPeriodo == '08' ? _this.denominacionMes = 'AGOSTO' :
|
|
9409
|
+
_this.mesCursoPeriodo == '09' ? _this.denominacionMes = 'SEPTIEMBRE' :
|
|
9410
|
+
_this.mesCursoPeriodo == '10' ? _this.denominacionMes = 'OCTUBRE' :
|
|
9411
|
+
_this.mesCursoPeriodo == '11' ? _this.denominacionMes = 'NOVIEMBRE' :
|
|
9412
|
+
_this.mesCursoPeriodo == '12' ? _this.denominacionMes = 'DICIEMBRE' : '';
|
|
9413
|
+
}
|
|
9414
|
+
else {
|
|
9415
|
+
_this.isNew = true;
|
|
9416
|
+
}
|
|
9417
|
+
return _this;
|
|
9418
|
+
}
|
|
9419
|
+
return MFideicomisoPeriodo;
|
|
9420
|
+
}(MBasicModel));
|
|
9421
|
+
var MFideicomisoPeriodoInteresCatalogo = /** @class */ (function (_super) {
|
|
9422
|
+
__extends(MFideicomisoPeriodoInteresCatalogo, _super);
|
|
9423
|
+
function MFideicomisoPeriodoInteresCatalogo(e) {
|
|
9424
|
+
if (e === void 0) { e = null; }
|
|
9425
|
+
var _this = _super.call(this) || this;
|
|
9426
|
+
_this.idPersonal = 0;
|
|
9427
|
+
_this.codigoPersonal = '';
|
|
9428
|
+
_this.cedulaPersonal = '';
|
|
9429
|
+
_this.nombrePersonal = '';
|
|
9430
|
+
_this.apellidoPersonal = '';
|
|
9431
|
+
_this.fechaIngresoPersonal = '1900-01-01';
|
|
9432
|
+
_this.estatusPersonal = '';
|
|
9433
|
+
_this.denominacionEstatus = '';
|
|
9434
|
+
_this.interes = [];
|
|
9435
|
+
if (e) {
|
|
9436
|
+
_this.idPersonal = +e.id_personal;
|
|
9437
|
+
_this.codigoPersonal = e.codper;
|
|
9438
|
+
_this.cedulaPersonal = e.cedper;
|
|
9439
|
+
_this.nombrePersonal = e.nomper;
|
|
9440
|
+
_this.apellidoPersonal = e.apeper;
|
|
9441
|
+
_this.estatusPersonal = e.estper;
|
|
9442
|
+
_this.fechaIngresoPersonal = e.fecingper;
|
|
9443
|
+
_this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
|
|
9444
|
+
_this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
|
|
9445
|
+
_this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
|
|
9446
|
+
_this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
|
|
9447
|
+
_this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
|
|
9448
|
+
_this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
|
|
9449
|
+
_this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
|
|
9450
|
+
_this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
|
|
9451
|
+
if (e.intereses) {
|
|
9452
|
+
_this.interes = e.intereses.map(function (e) { return new MFideicomisoPeriodoInteres(e); });
|
|
9453
|
+
}
|
|
9454
|
+
}
|
|
9455
|
+
else {
|
|
9456
|
+
_this.isNew = true;
|
|
9457
|
+
}
|
|
9458
|
+
return _this;
|
|
9459
|
+
}
|
|
9460
|
+
return MFideicomisoPeriodoInteresCatalogo;
|
|
9461
|
+
}(MBasicModel));
|
|
9462
|
+
var MFideicomisoPeriodoInteres = /** @class */ (function (_super) {
|
|
9463
|
+
__extends(MFideicomisoPeriodoInteres, _super);
|
|
9464
|
+
function MFideicomisoPeriodoInteres(e) {
|
|
9465
|
+
if (e === void 0) { e = null; }
|
|
9466
|
+
var _this = _super.call(this) || this;
|
|
9467
|
+
_this.idEmpresa = 0;
|
|
9468
|
+
_this.idPersonal = 0;
|
|
9469
|
+
_this.idNomina = 0;
|
|
9470
|
+
_this.mesInteres = 0;
|
|
9471
|
+
_this.anioInteres = '';
|
|
9472
|
+
_this.montoAnteriorAcumulado = 0;
|
|
9473
|
+
_this.montoAnterior = 0;
|
|
9474
|
+
_this.porcentajeInteres = 0;
|
|
9475
|
+
_this.montoInteres = 0;
|
|
9476
|
+
_this.montoCapital = 0;
|
|
9477
|
+
_this.anticipoPrestamo = 0;
|
|
9478
|
+
_this.idDtFide = 0;
|
|
9479
|
+
_this.cedulaPersonal = '';
|
|
9480
|
+
_this.nombrePersonal = '';
|
|
9481
|
+
_this.apellidoPersonal = '';
|
|
9482
|
+
_this.fechaIngresoPersonal = '1900-01-01';
|
|
9483
|
+
_this.estatusPersonal = '';
|
|
9484
|
+
_this.codigoPersonal = '';
|
|
9485
|
+
_this.denominacionEstatus = '';
|
|
9486
|
+
_this.denominacionMes = '';
|
|
9487
|
+
_this.capital = 0;
|
|
9488
|
+
_this.codigoNomina = '';
|
|
9489
|
+
if (e) {
|
|
9490
|
+
_this.idEmpresa = +e.id_empresa;
|
|
9491
|
+
_this.idPersonal = +e.id_personal;
|
|
9492
|
+
_this.idNomina = +e.id_nomina;
|
|
9493
|
+
_this.mesInteres = +e.mesint;
|
|
9494
|
+
_this.anioInteres = e.anoint;
|
|
9495
|
+
_this.montoAnteriorAcumulado = +e.monantacu;
|
|
9496
|
+
_this.montoAnterior = +e.monant;
|
|
9497
|
+
_this.porcentajeInteres = +e.porint;
|
|
9498
|
+
_this.montoInteres = +e.monint;
|
|
9499
|
+
_this.montoCapital = +e.moncap;
|
|
9500
|
+
_this.anticipoPrestamo = +e.antpre;
|
|
9501
|
+
_this.capital = +e.capital;
|
|
9502
|
+
_this.idDtFide = +e.id_dt_fidperint;
|
|
9503
|
+
_this.cedulaPersonal = e.cedper;
|
|
9504
|
+
_this.nombrePersonal = e.nomper;
|
|
9505
|
+
_this.apellidoPersonal = e.apeper;
|
|
9506
|
+
_this.fechaIngresoPersonal = e.fecingper;
|
|
9507
|
+
_this.estatusPersonal = e.estper;
|
|
9508
|
+
_this.codigoPersonal = e.codper;
|
|
9509
|
+
_this.estatusPersonal == '0' ? _this.denominacionEstatus = 'PRE-INGRESO' :
|
|
9510
|
+
_this.estatusPersonal == '1' ? _this.denominacionEstatus = 'ACTIVO' :
|
|
9511
|
+
_this.estatusPersonal == '2' ? _this.denominacionEstatus = 'NINGUNO' :
|
|
9512
|
+
_this.estatusPersonal == '3' ? _this.denominacionEstatus = 'EGRESADO' :
|
|
9513
|
+
_this.estatusPersonal == '4' ? _this.denominacionEstatus = 'REMOCIÓN' :
|
|
9514
|
+
_this.estatusPersonal == '5' ? _this.denominacionEstatus = 'RETIRO' :
|
|
9515
|
+
_this.estatusPersonal == '6' ? _this.denominacionEstatus = 'DESTITUCIÓN' :
|
|
9516
|
+
_this.estatusPersonal == '7' ? _this.denominacionEstatus = 'LIQUIDACIÓN' : '';
|
|
9517
|
+
_this.mesInteres == 1 ? _this.denominacionMes = 'ENERO' :
|
|
9518
|
+
_this.mesInteres == 2 ? _this.denominacionMes = 'FEBREO' :
|
|
9519
|
+
_this.mesInteres == 3 ? _this.denominacionMes = 'MARZO' :
|
|
9520
|
+
_this.mesInteres == 4 ? _this.denominacionMes = 'ABRIL' :
|
|
9521
|
+
_this.mesInteres == 5 ? _this.denominacionMes = 'MAYO' :
|
|
9522
|
+
_this.mesInteres == 6 ? _this.denominacionMes = 'JUNIO' :
|
|
9523
|
+
_this.mesInteres == 7 ? _this.denominacionMes = 'JULIO' : '';
|
|
9524
|
+
_this.mesInteres == 8 ? _this.denominacionMes = 'AGOSTO' :
|
|
9525
|
+
_this.mesInteres == 9 ? _this.denominacionMes = 'SEPTIEMBRE' :
|
|
9526
|
+
_this.mesInteres == 10 ? _this.denominacionMes = 'OCTUBRE' :
|
|
9527
|
+
_this.mesInteres == 11 ? _this.denominacionMes = 'NOVIEMBRE' :
|
|
9528
|
+
_this.mesInteres == 12 ? _this.denominacionMes = 'DICIEMBRE' : '';
|
|
9529
|
+
_this.codigoNomina = e.codnom;
|
|
9530
|
+
}
|
|
9531
|
+
else {
|
|
9532
|
+
_this.isNew = true;
|
|
9533
|
+
}
|
|
9534
|
+
return _this;
|
|
9535
|
+
}
|
|
9536
|
+
return MFideicomisoPeriodoInteres;
|
|
8971
9537
|
}(MBasicModel));
|
|
8972
9538
|
|
|
8973
9539
|
var MFormacionAcademica = /** @class */ (function (_super) {
|
|
@@ -9043,6 +9609,9 @@
|
|
|
9043
9609
|
_this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
9044
9610
|
_this.isNew = false;
|
|
9045
9611
|
}
|
|
9612
|
+
else {
|
|
9613
|
+
_this.isNew = true;
|
|
9614
|
+
}
|
|
9046
9615
|
return _this;
|
|
9047
9616
|
}
|
|
9048
9617
|
MPrimaGrados.prototype.dataInterface = function () {
|
|
@@ -9129,6 +9698,9 @@
|
|
|
9129
9698
|
_this.codigoConcepto = e.codconc;
|
|
9130
9699
|
_this.nombreConcepto = e.nomcon;
|
|
9131
9700
|
}
|
|
9701
|
+
else {
|
|
9702
|
+
_this.isNew = true;
|
|
9703
|
+
}
|
|
9132
9704
|
return _this;
|
|
9133
9705
|
}
|
|
9134
9706
|
MPrimasConcepto.prototype.dataInterface = function () {
|
|
@@ -9171,6 +9743,9 @@
|
|
|
9171
9743
|
_this.requisitosEntregado = e.entreqcon;
|
|
9172
9744
|
_this.cantidadEntregado = parseInt(e.canentreqcon);
|
|
9173
9745
|
}
|
|
9746
|
+
else {
|
|
9747
|
+
_this.isNew = true;
|
|
9748
|
+
}
|
|
9174
9749
|
return _this;
|
|
9175
9750
|
}
|
|
9176
9751
|
MRequisitosConcursante.prototype.dataInterface = function () {
|
|
@@ -9591,7 +10166,7 @@
|
|
|
9591
10166
|
if (e === void 0) { e = null; }
|
|
9592
10167
|
var _this = _super.call(this) || this;
|
|
9593
10168
|
_this.idEmpresa = 0;
|
|
9594
|
-
_this.idTabulador =
|
|
10169
|
+
_this.idTabulador = -1;
|
|
9595
10170
|
_this.codigoTabulador = '';
|
|
9596
10171
|
_this.descripcionTabulador = '';
|
|
9597
10172
|
_this.totalPasosXGrados = 0;
|
|
@@ -9644,20 +10219,28 @@
|
|
|
9644
10219
|
this.idTabulador = 0;
|
|
9645
10220
|
this.codigoNomina = '';
|
|
9646
10221
|
this.denominacionNomina = '';
|
|
9647
|
-
this.
|
|
10222
|
+
this.estatus = '';
|
|
9648
10223
|
this.idDtNomina = 0;
|
|
9649
10224
|
this.periodoActualNomina = '001';
|
|
9650
|
-
this.
|
|
10225
|
+
this.idPeriodoActual = 0;
|
|
10226
|
+
this.nominaRac = 0;
|
|
10227
|
+
this.descripcionPeriodoNomina = '';
|
|
10228
|
+
this.prenomina = false;
|
|
10229
|
+
this.editable = false;
|
|
10230
|
+
this.calculada = false;
|
|
9651
10231
|
if (e) {
|
|
9652
10232
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
9653
10233
|
this.idNomina = parseInt(e.id_nomina);
|
|
9654
10234
|
this.idTabulador = parseInt(e.id_tabulador);
|
|
9655
10235
|
this.codigoNomina = e.codnom;
|
|
9656
10236
|
this.denominacionNomina = e.dennom;
|
|
9657
|
-
this.estatusNomina = e.estnom;
|
|
9658
10237
|
this.idDtNomina = parseInt(e.id_dt_tabnom);
|
|
9659
10238
|
this.periodoActualNomina = e.peractnom;
|
|
9660
|
-
this.
|
|
10239
|
+
this.calculada = e.calculado == '1' ? true : false;
|
|
10240
|
+
this.prenomina = e.prenomina == '1' ? true : false;
|
|
10241
|
+
this.estatus = this.calculada ? 'Calculada' :
|
|
10242
|
+
!this.calculada && this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
10243
|
+
this.editable = (this.calculada || this.prenomina) ? false : true;
|
|
9661
10244
|
}
|
|
9662
10245
|
}
|
|
9663
10246
|
MTabuladorNominas.prototype.dataInterface = function () {
|
|
@@ -9665,22 +10248,9 @@
|
|
|
9665
10248
|
id_empresa: this.idEmpresa.toString(),
|
|
9666
10249
|
id_nomina: this.idNomina.toString(),
|
|
9667
10250
|
id_tabulador: this.idTabulador.toString(),
|
|
9668
|
-
|
|
9669
|
-
dennom: this.denominacionNomina,
|
|
9670
|
-
estnom: this.estatusNomina,
|
|
9671
|
-
id_dt_tabnom: this.idDtNomina.toString(),
|
|
9672
|
-
periodos: this.periodosNomina.map((function (e) { return e.dataInterface(); })),
|
|
9673
|
-
peractnom: this.periodoActualNomina,
|
|
10251
|
+
id_dt_tabnom: this.idDtNomina.toString()
|
|
9674
10252
|
};
|
|
9675
10253
|
};
|
|
9676
|
-
MTabuladorNominas.prototype.indice = function () {
|
|
9677
|
-
var _this = this;
|
|
9678
|
-
return this.periodosNomina.findIndex(function (e) { return e.codigoPeriodo == _this.periodoActualNomina; });
|
|
9679
|
-
};
|
|
9680
|
-
MTabuladorNominas.prototype.editable = function () {
|
|
9681
|
-
var i = this.indice();
|
|
9682
|
-
return this.periodosNomina[i].periodoEditable();
|
|
9683
|
-
};
|
|
9684
10254
|
return MTabuladorNominas;
|
|
9685
10255
|
}());
|
|
9686
10256
|
|
|
@@ -10251,6 +10821,140 @@
|
|
|
10251
10821
|
return MPersonalJubilado;
|
|
10252
10822
|
}(MBasicModel));
|
|
10253
10823
|
|
|
10824
|
+
var MPermisos = /** @class */ (function (_super) {
|
|
10825
|
+
__extends(MPermisos, _super);
|
|
10826
|
+
function MPermisos(e) {
|
|
10827
|
+
var _this = _super.call(this) || this;
|
|
10828
|
+
_this.idEmpresa = 0;
|
|
10829
|
+
_this.idPersonal = 0;
|
|
10830
|
+
_this.idPermiso = 0;
|
|
10831
|
+
_this.fechaInicioPermiso = '';
|
|
10832
|
+
_this.fechaFinPermiso = '';
|
|
10833
|
+
_this.numeroDiasPermiso = 0;
|
|
10834
|
+
_this.afectaVacaionesPermiso = '0';
|
|
10835
|
+
_this.tipoPermiso = '2';
|
|
10836
|
+
_this.observacionPermiso = '';
|
|
10837
|
+
_this.remuneradoPermiso = '1';
|
|
10838
|
+
_this.totalHorasPermiso = 0;
|
|
10839
|
+
_this.descontarVacaciones = 0;
|
|
10840
|
+
_this.codigoPermiso = '';
|
|
10841
|
+
_this.idTipoEnfermedad = 0;
|
|
10842
|
+
_this.denominacionEnfermedad = '';
|
|
10843
|
+
if (e) {
|
|
10844
|
+
_this.idEmpresa = +e.id_empresa;
|
|
10845
|
+
_this.idPersonal = +e.id_personal;
|
|
10846
|
+
_this.idPermiso = +e.id_permiso;
|
|
10847
|
+
_this.fechaInicioPermiso = e.fecfinper;
|
|
10848
|
+
_this.fechaFinPermiso = e.fecfinper;
|
|
10849
|
+
_this.numeroDiasPermiso = +e.numdiapero;
|
|
10850
|
+
_this.afectaVacaionesPermiso = e.afevacper.toString();
|
|
10851
|
+
_this.tipoPermiso = e.tipper.toString();
|
|
10852
|
+
_this.observacionPermiso = e.obsper;
|
|
10853
|
+
_this.remuneradoPermiso = e.remper.toString();
|
|
10854
|
+
_this.totalHorasPermiso = +e.tothorper;
|
|
10855
|
+
_this.descontarVacaciones = +e.desvacper;
|
|
10856
|
+
_this.codigoPermiso = e.codpermiso;
|
|
10857
|
+
_this.idTipoEnfermedad = parseInt(e.id_enfermedad);
|
|
10858
|
+
_this.denominacionEnfermedad = e.denenf;
|
|
10859
|
+
}
|
|
10860
|
+
else {
|
|
10861
|
+
_this.isNew = true;
|
|
10862
|
+
}
|
|
10863
|
+
return _this;
|
|
10864
|
+
}
|
|
10865
|
+
MPermisos.prototype.dataInterface = function () {
|
|
10866
|
+
return {
|
|
10867
|
+
id_empresa: this.idEmpresa,
|
|
10868
|
+
id_personal: this.idPersonal,
|
|
10869
|
+
id_permiso: this.idPermiso,
|
|
10870
|
+
feciniper: this.fechaInicioPermiso,
|
|
10871
|
+
fecfinper: this.fechaFinPermiso,
|
|
10872
|
+
numdiapero: this.numeroDiasPermiso,
|
|
10873
|
+
afevacper: +this.afectaVacaionesPermiso,
|
|
10874
|
+
tipper: +this.tipoPermiso,
|
|
10875
|
+
obsper: this.observacionPermiso,
|
|
10876
|
+
remper: +this.remuneradoPermiso,
|
|
10877
|
+
tothorper: this.totalHorasPermiso,
|
|
10878
|
+
desvacper: this.descontarVacaciones,
|
|
10879
|
+
codpermiso: this.codigoPermiso,
|
|
10880
|
+
id_enfermedad: this.idTipoEnfermedad.toString(),
|
|
10881
|
+
denenf: this.denominacionEnfermedad
|
|
10882
|
+
};
|
|
10883
|
+
};
|
|
10884
|
+
return MPermisos;
|
|
10885
|
+
}(MBasicModel));
|
|
10886
|
+
|
|
10887
|
+
var MCargaMasiva = /** @class */ (function (_super) {
|
|
10888
|
+
__extends(MCargaMasiva, _super);
|
|
10889
|
+
function MCargaMasiva(e) {
|
|
10890
|
+
if (e === void 0) { e = null; }
|
|
10891
|
+
var _this = _super.call(this) || this;
|
|
10892
|
+
_this.proceso = '';
|
|
10893
|
+
_this.id_nomina = 0;
|
|
10894
|
+
_this.tipo = '';
|
|
10895
|
+
_this.nombreArchivo = '';
|
|
10896
|
+
_this.base64textString = '';
|
|
10897
|
+
_this.modulo = '';
|
|
10898
|
+
if (e) {
|
|
10899
|
+
_this.proceso = e.proceso;
|
|
10900
|
+
_this.id_nomina = e.id_nomina;
|
|
10901
|
+
_this.tipo = e.tipo;
|
|
10902
|
+
_this.nombreArchivo = e.nombreArchivo;
|
|
10903
|
+
_this.base64textString = e.base64textString;
|
|
10904
|
+
_this.modulo = e.modulo;
|
|
10905
|
+
}
|
|
10906
|
+
else {
|
|
10907
|
+
_this.isNew;
|
|
10908
|
+
}
|
|
10909
|
+
return _this;
|
|
10910
|
+
}
|
|
10911
|
+
MCargaMasiva.prototype.dataInterface = function () {
|
|
10912
|
+
return {
|
|
10913
|
+
proceso: this.proceso,
|
|
10914
|
+
id_nomina: this.id_nomina,
|
|
10915
|
+
tipo: this.tipo,
|
|
10916
|
+
nombreArchivo: this.nombreArchivo,
|
|
10917
|
+
base64textString: this.base64textString,
|
|
10918
|
+
modulo: this.modulo
|
|
10919
|
+
};
|
|
10920
|
+
};
|
|
10921
|
+
return MCargaMasiva;
|
|
10922
|
+
}(MBasicModel));
|
|
10923
|
+
|
|
10924
|
+
var MPlantillasConstancia = /** @class */ (function (_super) {
|
|
10925
|
+
__extends(MPlantillasConstancia, _super);
|
|
10926
|
+
function MPlantillasConstancia(e) {
|
|
10927
|
+
if (e === void 0) { e = null; }
|
|
10928
|
+
var _this = _super.call(this) || this;
|
|
10929
|
+
_this.idConstancia = 0;
|
|
10930
|
+
_this.codigoConstancia = '';
|
|
10931
|
+
_this.descripcionConstancia = '';
|
|
10932
|
+
_this.plantillaRTF = '';
|
|
10933
|
+
_this.archivoConstancia = '';
|
|
10934
|
+
if (e) {
|
|
10935
|
+
_this.idConstancia = e.id_constancia;
|
|
10936
|
+
_this.codigoConstancia = e.codconstra;
|
|
10937
|
+
_this.descripcionConstancia = e.desconstra;
|
|
10938
|
+
_this.plantillaRTF = e.plantilla_rtf;
|
|
10939
|
+
_this.archivoConstancia = e.archivo;
|
|
10940
|
+
}
|
|
10941
|
+
else {
|
|
10942
|
+
_this.isNew = true;
|
|
10943
|
+
}
|
|
10944
|
+
return _this;
|
|
10945
|
+
}
|
|
10946
|
+
MPlantillasConstancia.prototype.dataInterface = function () {
|
|
10947
|
+
return {
|
|
10948
|
+
id_constancia: this.idConstancia,
|
|
10949
|
+
codconstra: this.codigoConstancia,
|
|
10950
|
+
desconstra: this.descripcionConstancia,
|
|
10951
|
+
plantilla_rtf: this.plantillaRTF,
|
|
10952
|
+
archivo: this.archivoConstancia
|
|
10953
|
+
};
|
|
10954
|
+
};
|
|
10955
|
+
return MPlantillasConstancia;
|
|
10956
|
+
}(MBasicModel));
|
|
10957
|
+
|
|
10254
10958
|
var customPaginator = /** @class */ (function (_super) {
|
|
10255
10959
|
__extends(customPaginator, _super);
|
|
10256
10960
|
function customPaginator() {
|
|
@@ -10299,7 +11003,9 @@
|
|
|
10299
11003
|
exports.MBankAccountType = MBankAccountType;
|
|
10300
11004
|
exports.MBasicModel = MBasicModel;
|
|
10301
11005
|
exports.MBeneficiario = MBeneficiario;
|
|
11006
|
+
exports.MCalculoPrestacion = MCalculoPrestacion;
|
|
10302
11007
|
exports.MCargaFamiliar = MCargaFamiliar;
|
|
11008
|
+
exports.MCargaMasiva = MCargaMasiva;
|
|
10303
11009
|
exports.MCargo = MCargo;
|
|
10304
11010
|
exports.MCargosPersonal = MCargosPersonal;
|
|
10305
11011
|
exports.MCentroCosto = MCentroCosto;
|
|
@@ -10323,6 +11029,7 @@
|
|
|
10323
11029
|
exports.MConcurso = MConcurso;
|
|
10324
11030
|
exports.MConfigSOC = MConfigSOC;
|
|
10325
11031
|
exports.MConfigSSS = MConfigSSS;
|
|
11032
|
+
exports.MConfiguracionFideicomiso = MConfiguracionFideicomiso;
|
|
10326
11033
|
exports.MConfiguracionSCG = MConfiguracionSCG;
|
|
10327
11034
|
exports.MConfiguracionSNO = MConfiguracionSNO;
|
|
10328
11035
|
exports.MConfigurationRPC = MConfigurationRPC;
|
|
@@ -10359,6 +11066,10 @@
|
|
|
10359
11066
|
exports.MFamiliares = MFamiliares;
|
|
10360
11067
|
exports.MFeriados = MFeriados;
|
|
10361
11068
|
exports.MFideicomiso = MFideicomiso;
|
|
11069
|
+
exports.MFideicomisoInteres = MFideicomisoInteres;
|
|
11070
|
+
exports.MFideicomisoPeriodo = MFideicomisoPeriodo;
|
|
11071
|
+
exports.MFideicomisoPeriodoInteres = MFideicomisoPeriodoInteres;
|
|
11072
|
+
exports.MFideicomisoPeriodoInteresCatalogo = MFideicomisoPeriodoInteresCatalogo;
|
|
10362
11073
|
exports.MFormacionAcademica = MFormacionAcademica;
|
|
10363
11074
|
exports.MFuenteFinanciamiento = MFuenteFinanciamiento;
|
|
10364
11075
|
exports.MGrados = MGrados;
|
|
@@ -10368,14 +11079,16 @@
|
|
|
10368
11079
|
exports.MMoneda = MMoneda;
|
|
10369
11080
|
exports.MMonedaConfig = MMonedaConfig;
|
|
10370
11081
|
exports.MMunicipality = MMunicipality;
|
|
10371
|
-
exports.MNominaSimple = MNominaSimple;
|
|
11082
|
+
exports.MNominaSimple = MNominaSimple$1;
|
|
10372
11083
|
exports.MOrganizationType = MOrganizationType;
|
|
10373
11084
|
exports.MParish = MParish;
|
|
10374
11085
|
exports.MPeriodoNomina = MPeriodoNomina;
|
|
11086
|
+
exports.MPermisos = MPermisos;
|
|
10375
11087
|
exports.MPersonal = MPersonal;
|
|
10376
11088
|
exports.MPersonalJubilado = MPersonalJubilado;
|
|
10377
11089
|
exports.MPersonalNomina = MPersonalNomina;
|
|
10378
11090
|
exports.MPlanUnicoCuenta = MPlanUnicoCuenta;
|
|
11091
|
+
exports.MPlantillasConstancia = MPlantillasConstancia;
|
|
10379
11092
|
exports.MPrimaGrados = MPrimaGrados;
|
|
10380
11093
|
exports.MPrimasConcepto = MPrimasConcepto;
|
|
10381
11094
|
exports.MProveedor = MProveedor;
|
|
@@ -10404,6 +11117,7 @@
|
|
|
10404
11117
|
exports.MTipoPersonal = MTipoPersonal;
|
|
10405
11118
|
exports.MTiposEnfermedad = MTiposEnfermedad;
|
|
10406
11119
|
exports.MTrabajoAnterior = MTrabajoAnterior;
|
|
11120
|
+
exports.MTrabajosConcursantes = MTrabajosConcursantes;
|
|
10407
11121
|
exports.MUbicacionFisica = MUbicacionFisica;
|
|
10408
11122
|
exports.MUnidadTributaria = MUnidadTributaria;
|
|
10409
11123
|
exports.MUserDetail = MUserDetail;
|