sigesp 0.8.80-20220511 → 0.8.83-20220512
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 +21 -90
- 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/models/SNO/MAsignacionCargo.model.js +7 -1
- package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +2 -2
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +1 -84
- package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +13 -1
- package/fesm2015/sigesp.js +21 -86
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +5 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +3 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +1 -1
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +1 -29
- package/lib/core/models/SNO/MNominaSimple.model.d.ts +5 -0
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -3965,93 +3965,6 @@
|
|
|
3965
3965
|
return this.periodosNomina[this.indice()].fechaHastaperiodo;
|
|
3966
3966
|
};
|
|
3967
3967
|
return MDefinicionNomina;
|
|
3968
|
-
}(MBasicModel));
|
|
3969
|
-
var MNominaSimple = /** @class */ (function (_super) {
|
|
3970
|
-
__extends(MNominaSimple, _super);
|
|
3971
|
-
function MNominaSimple(e) {
|
|
3972
|
-
if (e === void 0) { e = null; }
|
|
3973
|
-
var _this = _super.call(this) || this;
|
|
3974
|
-
_this.idEmpresa = 0;
|
|
3975
|
-
_this.idNomina = 0;
|
|
3976
|
-
_this.codigoNomina = '';
|
|
3977
|
-
_this.denominacioNomina = '';
|
|
3978
|
-
_this.idPeriodoActual = 0;
|
|
3979
|
-
_this.totalPeriodo = 0;
|
|
3980
|
-
_this.estatus = '';
|
|
3981
|
-
_this.estatusPeriodo = 0;
|
|
3982
|
-
_this.calculada = false;
|
|
3983
|
-
_this.prenomina = false;
|
|
3984
|
-
_this.idCargo = 0;
|
|
3985
|
-
_this.codigoCargo = '';
|
|
3986
|
-
_this.denominacionCargo = '';
|
|
3987
|
-
_this.nominaRac = 0;
|
|
3988
|
-
_this.simbolo = '';
|
|
3989
|
-
_this.color = '';
|
|
3990
|
-
_this.estatusPersonal = 0;
|
|
3991
|
-
_this.denominacionEstatuspersonal = '';
|
|
3992
|
-
_this.descripcionPeriodoNomina = '';
|
|
3993
|
-
_this.periodoActualNomina = '';
|
|
3994
|
-
_this.editable = false;
|
|
3995
|
-
_this.idOrganigrama = 0;
|
|
3996
|
-
_this.codigoEstructuraOrganizativa = '';
|
|
3997
|
-
_this.denominacionEstructuraOrganizativa = '';
|
|
3998
|
-
if (e) {
|
|
3999
|
-
_this.idEmpresa = parseInt(e.id_empresa);
|
|
4000
|
-
_this.idNomina = parseInt(e.id_nomina);
|
|
4001
|
-
_this.codigoNomina = e.codnom;
|
|
4002
|
-
_this.denominacioNomina = e.dennom;
|
|
4003
|
-
_this.idPeriodoActual = +e.id_periodoactual;
|
|
4004
|
-
_this.totalPeriodo = parseFloat(e.totper),
|
|
4005
|
-
_this.estatusPeriodo = parseInt(e.cerper);
|
|
4006
|
-
_this.calculada = e.calculado == '1' ? true : false;
|
|
4007
|
-
_this.prenomina = e.prenomina == '1' ? true : false;
|
|
4008
|
-
_this.estatus = _this.calculada ? 'Calculada' :
|
|
4009
|
-
!_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
4010
|
-
_this.editable = (_this.calculada || _this.prenomina) ? false : true;
|
|
4011
|
-
_this.idCargo = parseInt(e.id_carper);
|
|
4012
|
-
_this.codigoCargo = e.codcar;
|
|
4013
|
-
_this.denominacionCargo = e.descar;
|
|
4014
|
-
_this.nominaRac = parseInt(e.racnom);
|
|
4015
|
-
_this.nominaRac == 1 ? _this.simbolo = 'check' : _this.simbolo = '';
|
|
4016
|
-
_this.nominaRac == 1 ? _this.color = 'primary' : _this.color = '';
|
|
4017
|
-
_this.estatusPersonal = parseInt(e.staper);
|
|
4018
|
-
_this.estatusPersonal == 0 ? _this.denominacionEstatuspersonal = "NO ASIGNADO" :
|
|
4019
|
-
_this.estatusPersonal == 1 ? _this.denominacionEstatuspersonal = "ACTIVO" :
|
|
4020
|
-
_this.estatusPersonal == 2 ? _this.denominacionEstatuspersonal = "VACACIONES" :
|
|
4021
|
-
_this.estatusPersonal == 3 ? _this.denominacionEstatuspersonal = "EGRESADO" :
|
|
4022
|
-
_this.denominacionEstatuspersonal = "SUSPENDIDO";
|
|
4023
|
-
_this.descripcionPeriodoNomina = e.despernom;
|
|
4024
|
-
_this.periodoActualNomina = e.peractnom;
|
|
4025
|
-
_this.idOrganigrama = +e.id_organigrama;
|
|
4026
|
-
_this.codigoEstructuraOrganizativa = e.codestorg;
|
|
4027
|
-
_this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
4028
|
-
}
|
|
4029
|
-
else {
|
|
4030
|
-
_this.isNew = false;
|
|
4031
|
-
}
|
|
4032
|
-
return _this;
|
|
4033
|
-
}
|
|
4034
|
-
MNominaSimple.prototype.dataInterface = function () {
|
|
4035
|
-
return {
|
|
4036
|
-
id_empresa: this.idEmpresa.toString(),
|
|
4037
|
-
id_nomina: this.idNomina.toString(),
|
|
4038
|
-
codnom: this.codigoNomina,
|
|
4039
|
-
dennom: this.denominacioNomina,
|
|
4040
|
-
id_periodoactual: this.idPeriodoActual.toString(),
|
|
4041
|
-
totper: this.totalPeriodo.toString(),
|
|
4042
|
-
cerper: this.estatusPeriodo.toString(),
|
|
4043
|
-
prenomina: this.prenomina ? '1' : '0',
|
|
4044
|
-
calculado: this.calculada ? '1' : '0',
|
|
4045
|
-
id_carper: this.idCargo.toString(),
|
|
4046
|
-
descar: this.denominacionCargo,
|
|
4047
|
-
codcar: this.codigoCargo,
|
|
4048
|
-
racnom: this.nominaRac.toString(),
|
|
4049
|
-
staper: this.estatusPersonal.toString(),
|
|
4050
|
-
despernom: this.descripcionPeriodoNomina,
|
|
4051
|
-
peractnom: this.periodoActualNomina,
|
|
4052
|
-
};
|
|
4053
|
-
};
|
|
4054
|
-
return MNominaSimple;
|
|
4055
3968
|
}(MBasicModel));
|
|
4056
3969
|
|
|
4057
3970
|
var MAsignacionCargo = /** @class */ (function (_super) {
|
|
@@ -4221,6 +4134,9 @@
|
|
|
4221
4134
|
_this.prenomina = false;
|
|
4222
4135
|
_this.editables = false;
|
|
4223
4136
|
_this.calculada = false;
|
|
4137
|
+
_this.idOrganigrama = 0;
|
|
4138
|
+
_this.codigoEstructuraOrganizativa = '';
|
|
4139
|
+
_this.denominacionEstructuraOrganizativa = '';
|
|
4224
4140
|
if (e) {
|
|
4225
4141
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
4226
4142
|
_this.idNomina = parseInt(e.id_nomina);
|
|
@@ -4234,6 +4150,9 @@
|
|
|
4234
4150
|
_this.estatus = _this.calculada ? 'Calculada' :
|
|
4235
4151
|
!_this.calculada && _this.prenomina ? 'Pre-Calculada' : 'Sin Calcular';
|
|
4236
4152
|
_this.editables = (_this.calculada || _this.prenomina) ? false : true;
|
|
4153
|
+
_this.idOrganigrama = +e.id_organigrama;
|
|
4154
|
+
_this.codigoEstructuraOrganizativa = e.codestorg;
|
|
4155
|
+
_this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
4237
4156
|
}
|
|
4238
4157
|
else {
|
|
4239
4158
|
_this.isNew = true;
|
|
@@ -4251,7 +4170,7 @@
|
|
|
4251
4170
|
return MCargosNominas;
|
|
4252
4171
|
}(MBasicModel));
|
|
4253
4172
|
|
|
4254
|
-
var MNominaSimple
|
|
4173
|
+
var MNominaSimple = /** @class */ (function (_super) {
|
|
4255
4174
|
__extends(MNominaSimple, _super);
|
|
4256
4175
|
function MNominaSimple(e) {
|
|
4257
4176
|
if (e === void 0) { e = null; }
|
|
@@ -4277,6 +4196,11 @@
|
|
|
4277
4196
|
_this.descripcionPeriodoNomina = '';
|
|
4278
4197
|
_this.periodoActualNomina = '';
|
|
4279
4198
|
_this.editable = false;
|
|
4199
|
+
_this.idOrganigrama = 0;
|
|
4200
|
+
_this.codigoEstructuraOrganizativa = '';
|
|
4201
|
+
_this.denominacionEstructuraOrganizativa = '';
|
|
4202
|
+
_this.idPersonal = 0;
|
|
4203
|
+
_this.idPersonalNomina = 0;
|
|
4280
4204
|
if (e) {
|
|
4281
4205
|
_this.idEmpresa = parseInt(e.id_empresa);
|
|
4282
4206
|
_this.idNomina = parseInt(e.id_nomina);
|
|
@@ -4304,6 +4228,11 @@
|
|
|
4304
4228
|
_this.denominacionEstatuspersonal = "SUSPENDIDO";
|
|
4305
4229
|
_this.descripcionPeriodoNomina = e.despernom;
|
|
4306
4230
|
_this.periodoActualNomina = e.peractnom;
|
|
4231
|
+
_this.idOrganigrama = +e.id_organigrama;
|
|
4232
|
+
_this.codigoEstructuraOrganizativa = e.codestorg;
|
|
4233
|
+
_this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
4234
|
+
_this.idPersonal = +e.id_personal;
|
|
4235
|
+
_this.idPersonalNomina = +e.id_personalnomina;
|
|
4307
4236
|
}
|
|
4308
4237
|
else {
|
|
4309
4238
|
_this.isNew = true;
|
|
@@ -4315,6 +4244,8 @@
|
|
|
4315
4244
|
id_empresa: this.idEmpresa.toString(),
|
|
4316
4245
|
id_nomina: this.idNomina.toString(),
|
|
4317
4246
|
id_carper: this.idCargo.toString(),
|
|
4247
|
+
id_personal: this.idPersonal.toString(),
|
|
4248
|
+
id_personalnomina: this.idPersonalNomina.toString(),
|
|
4318
4249
|
};
|
|
4319
4250
|
};
|
|
4320
4251
|
return MNominaSimple;
|
|
@@ -6798,7 +6729,7 @@
|
|
|
6798
6729
|
SigespService.prototype.getPersonalNominaResumida = function (idPersonal, tipo) {
|
|
6799
6730
|
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) {
|
|
6800
6731
|
if (res.success) {
|
|
6801
|
-
res.data = res.data.map(function (e) { return new MNominaSimple
|
|
6732
|
+
res.data = res.data.map(function (e) { return new MNominaSimple(e); });
|
|
6802
6733
|
}
|
|
6803
6734
|
return res;
|
|
6804
6735
|
}));
|
|
@@ -12674,7 +12605,7 @@
|
|
|
12674
12605
|
exports.MMoneda = MMoneda;
|
|
12675
12606
|
exports.MMonedaConfig = MMonedaConfig;
|
|
12676
12607
|
exports.MMunicipality = MMunicipality;
|
|
12677
|
-
exports.MNominaSimple = MNominaSimple
|
|
12608
|
+
exports.MNominaSimple = MNominaSimple;
|
|
12678
12609
|
exports.MOrganizationType = MOrganizationType;
|
|
12679
12610
|
exports.MParish = MParish;
|
|
12680
12611
|
exports.MPeriodoNomina = MPeriodoNomina;
|