sigesp 1.1.29-20241208 → 1.1.31-20241209
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/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +18 -9
- package/esm2020/lib/core/models/SNO/MConceptosNomina.model.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MDefinicionNomina.model.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MDefinicionesBasicas.model.mjs +4 -16
- package/fesm2015/sigesp.mjs +20 -22
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +20 -22
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/RecursosHumanos.d.ts +8 -5
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +7 -2
- package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +1 -2
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -9942,8 +9942,13 @@ class MCargosPersonal extends MBasicModel {
|
|
|
9942
9942
|
this.idClasificadorPersonal = 0;
|
|
9943
9943
|
this.codigoClasificadorPersonal = '';
|
|
9944
9944
|
this.denominacionClasificadorPersonal = '';
|
|
9945
|
-
this.
|
|
9945
|
+
this.idOrganigrama = 0;
|
|
9946
|
+
this.codigoEstructuraOrganizativa = '';
|
|
9947
|
+
this.denominacionEstructuraOrganizativa = '';
|
|
9946
9948
|
this.detallesNomina = [];
|
|
9949
|
+
this.fechaAsignacion = '1900-01-01';
|
|
9950
|
+
this.fechaCese = '1900-01-01';
|
|
9951
|
+
this.estatus = true;
|
|
9947
9952
|
if (p) {
|
|
9948
9953
|
this.idEnterprise = +p.id_enterprise;
|
|
9949
9954
|
this.idEmpresa = +p.id_empresa;
|
|
@@ -9969,15 +9974,18 @@ class MCargosPersonal extends MBasicModel {
|
|
|
9969
9974
|
this.montoSalarioGrado = parseFloat(p.monsalgra);
|
|
9970
9975
|
this.montoCompensacionGrado = parseFloat(p.moncomgra);
|
|
9971
9976
|
this.estatusMPPPE = p.estmpppe == '1' ? true : false;
|
|
9972
|
-
this.idClasificadorDocente = +p.id_clasificacion_docente;
|
|
9973
9977
|
this.codigoClasificador = p.codcladoc;
|
|
9974
9978
|
this.denominacionClasificador = p.dencladec;
|
|
9975
9979
|
this.idClasificadorPersonal = +p.id_claper;
|
|
9976
9980
|
this.codigoClasificadorPersonal = p.codclaper;
|
|
9977
9981
|
this.denominacionClasificadorPersonal = p.denclaper;
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9982
|
+
this.idOrganigrama = +p.id_organigrama;
|
|
9983
|
+
this.codigoEstructuraOrganizativa = p.codestorg;
|
|
9984
|
+
this.denominacionEstructuraOrganizativa = p.denestorg;
|
|
9985
|
+
this.estatus = p.estatus == '1';
|
|
9986
|
+
this.fechaAsignacion = p.fecasi;
|
|
9987
|
+
this.fechaCese = p.fecces;
|
|
9988
|
+
this.estatus ? this.denominacionEstatus = 'ACTIVO' : this.denominacionEstatus = 'INACTIVO';
|
|
9981
9989
|
if (p.detalles_nomina) {
|
|
9982
9990
|
this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
|
|
9983
9991
|
}
|
|
@@ -9997,11 +10005,13 @@ class MCargosPersonal extends MBasicModel {
|
|
|
9997
10005
|
codpas: this.codigoPaso,
|
|
9998
10006
|
id_ubifis: this.idUbicacionFisica.toString(),
|
|
9999
10007
|
id_personalcargo: this.idPersonalCargo.toString(),
|
|
10000
|
-
id_clasificacion_docente: this.idClasificadorDocente.toString(),
|
|
10001
10008
|
id_claper: this.idClasificadorPersonal.toString(),
|
|
10002
10009
|
id_dedicacion: this.idDedicacion.toString(),
|
|
10003
10010
|
id_tipopersonal: this.idTipoPersonalSno.toString(),
|
|
10004
|
-
|
|
10011
|
+
id_organigrama: this.idOrganigrama.toString(),
|
|
10012
|
+
estatus: this.estatus ? '1' : '0',
|
|
10013
|
+
fecasi: this.fechaAsignacion,
|
|
10014
|
+
fecces: this.fechaCese,
|
|
10005
10015
|
detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
|
|
10006
10016
|
};
|
|
10007
10017
|
}
|
|
@@ -11405,39 +11415,27 @@ class MDefinicionesBasicas extends MBasicModel {
|
|
|
11405
11415
|
this.idDefinicion = -1;
|
|
11406
11416
|
this.codigo = '';
|
|
11407
11417
|
this.denominacion = '';
|
|
11408
|
-
this.
|
|
11409
|
-
this.observacionRetenciones = '';
|
|
11418
|
+
this.tipo = 0;
|
|
11410
11419
|
if (e) {
|
|
11411
11420
|
this.idEnterprise = +e.id_enterprise;
|
|
11412
11421
|
this.idEmpresa = +e.id_empresa;
|
|
11413
11422
|
this.idDefinicion = parseInt(e.id);
|
|
11414
11423
|
this.codigo = e.coddef;
|
|
11415
11424
|
this.denominacion = e.dendef;
|
|
11416
|
-
|
|
11417
|
-
this.tipoPersonalObrero = false;
|
|
11418
|
-
}
|
|
11419
|
-
else if (e.tipperobr == '1') {
|
|
11420
|
-
this.tipoPersonalObrero = true;
|
|
11421
|
-
}
|
|
11422
|
-
this.observacionRetenciones = e.obsconret;
|
|
11425
|
+
this.tipo = +e.tipo;
|
|
11423
11426
|
}
|
|
11424
11427
|
else {
|
|
11425
11428
|
this.isNew = true;
|
|
11426
11429
|
}
|
|
11427
11430
|
}
|
|
11428
11431
|
dataInterface() {
|
|
11429
|
-
let tipo = '0';
|
|
11430
|
-
if (this.tipoPersonalObrero) {
|
|
11431
|
-
tipo = '1';
|
|
11432
|
-
}
|
|
11433
11432
|
return {
|
|
11434
11433
|
id_enterprise: this.idEnterprise.toString(),
|
|
11435
11434
|
id_empresa: this.idEmpresa,
|
|
11436
11435
|
id: this.idDefinicion.toString(),
|
|
11437
11436
|
coddef: this.codigo,
|
|
11438
11437
|
dendef: this.denominacion,
|
|
11439
|
-
|
|
11440
|
-
obsconret: this.observacionRetenciones,
|
|
11438
|
+
tipo: this.tipo.toString(),
|
|
11441
11439
|
};
|
|
11442
11440
|
}
|
|
11443
11441
|
}
|