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.
@@ -5156,6 +5156,10 @@ class MAsignacionCargo extends MBasicModel {
5156
5156
  this.nominaEliminar = [];
5157
5157
  this.detallesOrganigrama = [];
5158
5158
  this.organigramaEliminar = [];
5159
+ this.idUsuarioAsignacion = -1;
5160
+ this.idUsuarioCese = -1;
5161
+ this.fechaAsignacion = 0;
5162
+ this.fechaCese = 0;
5159
5163
  if (e) {
5160
5164
  this.idEnterprise = +e.id_enterprise;
5161
5165
  this.idEmpresa = +e.id_empresa;
@@ -7307,7 +7311,7 @@ class SigespService {
7307
7311
  * @author Miguel Ramírez
7308
7312
  */
7309
7313
  getCuentasPresupuesto(filter) {
7310
- return this.http.get(`${this.URL}/dao/scg/plan_unico_cuentas_dao.php?filter=${filter}`, { headers: this.getHttpHeaders() }).pipe(map((res) => res.data.map(element => new MCuentaPresupuesto(element))));
7314
+ 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))));
7311
7315
  }
7312
7316
  /**
7313
7317
  * @description Abre el cátalogo de cuentas de la tabla "spg_cuentas"
@@ -9983,6 +9987,9 @@ class MCargosPersonal extends MBasicModel {
9983
9987
  this.codigoEstructuraOrganizativa = '';
9984
9988
  this.denominacionEstructuraOrganizativa = '';
9985
9989
  this.detallesNomina = [];
9990
+ this.fechaAsignacion = '1900-01-01';
9991
+ this.fechaCese = '1900-01-01';
9992
+ this.estatus = true;
9986
9993
  if (p) {
9987
9994
  this.idEnterprise = +p.id_enterprise;
9988
9995
  this.idEmpresa = +p.id_empresa;
@@ -10016,6 +10023,10 @@ class MCargosPersonal extends MBasicModel {
10016
10023
  this.idOrganigrama = +p.id_organigrama;
10017
10024
  this.codigoEstructuraOrganizativa = p.codestorg;
10018
10025
  this.denominacionEstructuraOrganizativa = p.denestorg;
10026
+ this.estatus = p.estatus == '1';
10027
+ this.fechaAsignacion = p.fecasi;
10028
+ this.fechaCese = p.fecces;
10029
+ this.estatus ? this.denominacionEstatus = 'ACTIVO' : this.denominacionEstatus = 'INACTIVO';
10019
10030
  if (p.detalles_nomina) {
10020
10031
  this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
10021
10032
  }
@@ -10039,6 +10050,9 @@ class MCargosPersonal extends MBasicModel {
10039
10050
  id_dedicacion: this.idDedicacion.toString(),
10040
10051
  id_tipopersonal: this.idTipoPersonalSno.toString(),
10041
10052
  id_organigrama: this.idOrganigrama.toString(),
10053
+ estatus: this.estatus ? '1' : '0',
10054
+ fecasi: this.fechaAsignacion,
10055
+ fecces: this.fechaCese,
10042
10056
  detalles_nomina: this.detallesNomina.map(function (e) { return e.dataInterface(); }),
10043
10057
  };
10044
10058
  }