sigesp 1.1.30-20241209 → 1.1.32-20241215
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/MAsignacionCargo.model.mjs +5 -1
- package/esm2020/lib/core/models/SNO/MCargosPersonal.model.mjs +11 -1
- package/esm2020/lib/sigesp.service.mjs +2 -2
- package/fesm2015/sigesp.mjs +15 -1
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +15 -1
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/RecursosHumanos.d.ts +3 -0
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +4 -0
- package/lib/core/models/SNO/MCargosPersonal.model.d.ts +4 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -5145,6 +5145,10 @@ class MAsignacionCargo extends MBasicModel {
|
|
|
5145
5145
|
this.nominaEliminar = [];
|
|
5146
5146
|
this.detallesOrganigrama = [];
|
|
5147
5147
|
this.organigramaEliminar = [];
|
|
5148
|
+
this.idUsuarioAsignacion = -1;
|
|
5149
|
+
this.idUsuarioCese = -1;
|
|
5150
|
+
this.fechaAsignacion = 0;
|
|
5151
|
+
this.fechaCese = 0;
|
|
5148
5152
|
if (e) {
|
|
5149
5153
|
this.idEnterprise = +e.id_enterprise;
|
|
5150
5154
|
this.idEmpresa = +e.id_empresa;
|
|
@@ -7282,7 +7286,7 @@ class SigespService {
|
|
|
7282
7286
|
* @author Miguel Ramírez
|
|
7283
7287
|
*/
|
|
7284
7288
|
getCuentasPresupuesto(filter) {
|
|
7285
|
-
return this.http.get(`${this.URL}/dao/
|
|
7289
|
+
return this.http.get(`${this.URL}/dao/spg/plan_unico_cuentas_dao.php?filter=${filter}`, { headers: this.getHttpHeaders() }).pipe(map((res) => res.data.map(element => new MCuentaPresupuesto(element))));
|
|
7286
7290
|
}
|
|
7287
7291
|
/**
|
|
7288
7292
|
* @description Abre el cátalogo de cuentas de la tabla "spg_cuentas"
|
|
@@ -9946,6 +9950,9 @@ class MCargosPersonal extends MBasicModel {
|
|
|
9946
9950
|
this.codigoEstructuraOrganizativa = '';
|
|
9947
9951
|
this.denominacionEstructuraOrganizativa = '';
|
|
9948
9952
|
this.detallesNomina = [];
|
|
9953
|
+
this.fechaAsignacion = '1900-01-01';
|
|
9954
|
+
this.fechaCese = '1900-01-01';
|
|
9955
|
+
this.estatus = true;
|
|
9949
9956
|
if (p) {
|
|
9950
9957
|
this.idEnterprise = +p.id_enterprise;
|
|
9951
9958
|
this.idEmpresa = +p.id_empresa;
|
|
@@ -9979,6 +9986,10 @@ class MCargosPersonal extends MBasicModel {
|
|
|
9979
9986
|
this.idOrganigrama = +p.id_organigrama;
|
|
9980
9987
|
this.codigoEstructuraOrganizativa = p.codestorg;
|
|
9981
9988
|
this.denominacionEstructuraOrganizativa = p.denestorg;
|
|
9989
|
+
this.estatus = p.estatus == '1';
|
|
9990
|
+
this.fechaAsignacion = p.fecasi;
|
|
9991
|
+
this.fechaCese = p.fecces;
|
|
9992
|
+
this.estatus ? this.denominacionEstatus = 'ACTIVO' : this.denominacionEstatus = 'INACTIVO';
|
|
9982
9993
|
if (p.detalles_nomina) {
|
|
9983
9994
|
this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
|
|
9984
9995
|
}
|
|
@@ -10002,6 +10013,9 @@ class MCargosPersonal extends MBasicModel {
|
|
|
10002
10013
|
id_dedicacion: this.idDedicacion.toString(),
|
|
10003
10014
|
id_tipopersonal: this.idTipoPersonalSno.toString(),
|
|
10004
10015
|
id_organigrama: this.idOrganigrama.toString(),
|
|
10016
|
+
estatus: this.estatus ? '1' : '0',
|
|
10017
|
+
fecasi: this.fechaAsignacion,
|
|
10018
|
+
fecces: this.fechaCese,
|
|
10005
10019
|
detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
|
|
10006
10020
|
};
|
|
10007
10021
|
}
|