sigesp 1.1.43-20250318 → 1.1.44-20250319
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/esm2020/lib/core/interfaces/Nomina.mjs +1 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +4 -1
- package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +7 -1
- package/fesm2015/sigesp.mjs +9 -0
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +9 -0
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +1 -0
- package/lib/core/interfaces/RecursosHumanos.d.ts +3 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +1 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +3 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -5165,6 +5165,7 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
5165
5165
|
this.idUsuarioCese = -1;
|
|
5166
5166
|
this.fechaAsignacion = 0;
|
|
5167
5167
|
this.fechaCese = 0;
|
|
5168
|
+
this.factorManoObra = 0;
|
|
5168
5169
|
if (e) {
|
|
5169
5170
|
this.idEnterprise = +e.id_enterprise;
|
|
5170
5171
|
this.idEmpresa = +e.id_empresa;
|
|
@@ -5195,6 +5196,7 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
5195
5196
|
this.totalCargos = parseInt(e.totcar);
|
|
5196
5197
|
this.numeroCargosOcupados = parseInt(e.numocucar);
|
|
5197
5198
|
this.disponibilidadCargos = parseInt(e.disponibilidad);
|
|
5199
|
+
this.factorManoObra = +e.facmanobr;
|
|
5198
5200
|
if (e.detalles_nomina) {
|
|
5199
5201
|
this.detallesNominas = e.detalles_nomina.map(e => new MCargosNominas(e));
|
|
5200
5202
|
}
|
|
@@ -5230,6 +5232,7 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
5230
5232
|
detalles_organigrama: this.detallesOrganigrama.map(function (e) { return e.dataInterface(); }),
|
|
5231
5233
|
eliminar_nomina: this.nominaEliminar,
|
|
5232
5234
|
eliminar_organigrama: this.organigramaEliminar,
|
|
5235
|
+
facmanobr: this.factorManoObra.toString(),
|
|
5233
5236
|
};
|
|
5234
5237
|
}
|
|
5235
5238
|
}
|
|
@@ -10012,6 +10015,9 @@ class MCargosPersonal extends MBasicModel {
|
|
|
10012
10015
|
this.fechaAsignacion = '1900-01-01';
|
|
10013
10016
|
this.fechaCese = '1900-01-01';
|
|
10014
10017
|
this.estatus = true;
|
|
10018
|
+
this.idPuestoTrabajo = 0;
|
|
10019
|
+
this.codigoPuestoTrabajo = '';
|
|
10020
|
+
this.descripcionPuestoTrabajo = '';
|
|
10015
10021
|
if (p) {
|
|
10016
10022
|
this.idEnterprise = +p.id_enterprise;
|
|
10017
10023
|
this.idEmpresa = +p.id_empresa;
|
|
@@ -10049,6 +10055,8 @@ class MCargosPersonal extends MBasicModel {
|
|
|
10049
10055
|
this.fechaAsignacion = p.fecasi;
|
|
10050
10056
|
this.fechaCese = p.fecces;
|
|
10051
10057
|
this.estatus ? this.denominacionEstatus = 'ACTIVO' : this.denominacionEstatus = 'INACTIVO';
|
|
10058
|
+
this.descripcionPuestoTrabajo = p.despuetra;
|
|
10059
|
+
this.codigoPuestoTrabajo = p.codpuetra;
|
|
10052
10060
|
if (p.detalles_nomina) {
|
|
10053
10061
|
this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
|
|
10054
10062
|
}
|
|
@@ -10072,6 +10080,7 @@ class MCargosPersonal extends MBasicModel {
|
|
|
10072
10080
|
id_dedicacion: this.idDedicacion.toString(),
|
|
10073
10081
|
id_tipopersonal: this.idTipoPersonalSno.toString(),
|
|
10074
10082
|
id_organigrama: this.idOrganigrama.toString(),
|
|
10083
|
+
id_puetra: this.idPuestoTrabajo.toString(),
|
|
10075
10084
|
estatus: this.estatus ? '1' : '0',
|
|
10076
10085
|
fecasi: this.fechaAsignacion,
|
|
10077
10086
|
fecces: this.fechaCese,
|