sigesp 1.1.53-20250619 → 1.1.55-20250722
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/Presupuesto.mjs +1 -1
- package/esm2020/lib/core/models/SPG/administrativeUnit.model.mjs +8 -1
- package/fesm2015/sigesp.mjs +7 -0
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +7 -0
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Presupuesto.d.ts +4 -0
- package/lib/core/models/SPG/administrativeUnit.model.d.ts +3 -0
- package/package.json +1 -1
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -3827,6 +3827,9 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3827
3827
|
this.id = 0;
|
|
3828
3828
|
this.denominacionUnidadCentral = '';
|
|
3829
3829
|
this.codigoUnidadCentral = '';
|
|
3830
|
+
this.idPersonal = 0;
|
|
3831
|
+
this.cedula = '';
|
|
3832
|
+
this.nombre = '';
|
|
3830
3833
|
this.estructuras = [];
|
|
3831
3834
|
this.centroCosto = [];
|
|
3832
3835
|
if (unidad) {
|
|
@@ -3840,6 +3843,9 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3840
3843
|
this.emiteRequisicion = unidad.estemireq == '1' ? true : false;
|
|
3841
3844
|
this.denominacionUnidadCentral = unidad.denuac;
|
|
3842
3845
|
this.codigoUnidadCentral = unidad.codigouac;
|
|
3846
|
+
this.idPersonal = +unidad.id_personal;
|
|
3847
|
+
this.cedula = unidad.cedper;
|
|
3848
|
+
this.nombre = unidad.nomper + ' ' + unidad.apeper;
|
|
3843
3849
|
if (unidad.estructuras) {
|
|
3844
3850
|
this.estructuras = unidad.estructuras.map(e => new MEstructuras(e));
|
|
3845
3851
|
}
|
|
@@ -3861,6 +3867,7 @@ class MAdministrativeUnit extends MBasicModel {
|
|
|
3861
3867
|
denuniadm: this.denominacion,
|
|
3862
3868
|
estemireq: this.emiteRequisicion ? '1' : '0',
|
|
3863
3869
|
id_uniadm: this.id.toString(),
|
|
3870
|
+
id_personal: this.idPersonal.toString(),
|
|
3864
3871
|
estructuras: this.estructuras.map(function (e) { return e.dataInterface(); }),
|
|
3865
3872
|
centros: this.centroCosto.map(function (e) { return e.dataInterface(); }),
|
|
3866
3873
|
};
|