sigesp 1.1.30-20241209 → 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.
@@ -9946,6 +9946,9 @@ class MCargosPersonal extends MBasicModel {
9946
9946
  this.codigoEstructuraOrganizativa = '';
9947
9947
  this.denominacionEstructuraOrganizativa = '';
9948
9948
  this.detallesNomina = [];
9949
+ this.fechaAsignacion = '1900-01-01';
9950
+ this.fechaCese = '1900-01-01';
9951
+ this.estatus = true;
9949
9952
  if (p) {
9950
9953
  this.idEnterprise = +p.id_enterprise;
9951
9954
  this.idEmpresa = +p.id_empresa;
@@ -9979,6 +9982,10 @@ class MCargosPersonal extends MBasicModel {
9979
9982
  this.idOrganigrama = +p.id_organigrama;
9980
9983
  this.codigoEstructuraOrganizativa = p.codestorg;
9981
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';
9982
9989
  if (p.detalles_nomina) {
9983
9990
  this.detallesNomina = p.detalles_nomina.map(e => new MNominaSimple(e));
9984
9991
  }
@@ -10002,6 +10009,9 @@ class MCargosPersonal extends MBasicModel {
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
  }