sigesp 1.1.26-20241119 → 1.1.28-20241208
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/Nomina.mjs +1 -1
- package/esm2020/lib/core/interfaces/RecursosHumanos.mjs +1 -1
- package/esm2020/lib/core/models/SNO/MAsignacionCargo.model.mjs +8 -2
- package/esm2020/lib/core/models/SNO/MEstructuraOrganizativa.model.mjs +17 -9
- package/esm2020/lib/core/models/SNO/MGrado.model.mjs +1 -4
- package/esm2020/lib/core/models/SPG/configurationSPG.model.mjs +5 -1
- package/esm2020/lib/sigesp.service.mjs +5 -8
- package/fesm2015/sigesp.mjs +73 -60
- package/fesm2015/sigesp.mjs.map +1 -1
- package/fesm2020/sigesp.mjs +73 -60
- package/fesm2020/sigesp.mjs.map +1 -1
- package/lib/core/interfaces/Nomina.d.ts +3 -1
- package/lib/core/interfaces/RecursosHumanos.d.ts +3 -1
- package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +2 -0
- package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +3 -0
- package/lib/core/models/SPG/configurationSPG.model.d.ts +2 -0
- package/lib/sigesp.service.d.ts +2 -2
- package/package.json +2 -2
package/fesm2020/sigesp.mjs
CHANGED
|
@@ -1812,7 +1812,9 @@ class MConfigurationSPG {
|
|
|
1812
1812
|
this.idEP5 = 0;
|
|
1813
1813
|
this.denominacionUnidadAdministrativa = '';
|
|
1814
1814
|
this.codigoUnidadAdministrativa = '';
|
|
1815
|
+
this.denominacionFuenteFinanciaminto = '';
|
|
1815
1816
|
this.codigoFuenteFinanciaminto = '';
|
|
1817
|
+
this.denominacionCentroCosto = '';
|
|
1816
1818
|
this.codigoCentroCosto = '';
|
|
1817
1819
|
this.estructuraPresupuestaria = '';
|
|
1818
1820
|
this.editable = false;
|
|
@@ -1855,7 +1857,9 @@ class MConfigurationSPG {
|
|
|
1855
1857
|
this.idUnidadAdministrativa = +configuration.id_uniadm;
|
|
1856
1858
|
this.denominacionUnidadAdministrativa = configuration.denuniadm;
|
|
1857
1859
|
this.codigoUnidadAdministrativa = configuration.coduniadm;
|
|
1860
|
+
this.denominacionFuenteFinanciaminto = configuration.denfufin;
|
|
1858
1861
|
this.codigoFuenteFinanciaminto = configuration.codigoftefin;
|
|
1862
|
+
this.denominacionCentroCosto = configuration.dencencos;
|
|
1859
1863
|
this.codigoCentroCosto = configuration.codcencos;
|
|
1860
1864
|
this.estructuraPresupuestaria = configuration.estpre;
|
|
1861
1865
|
this.editable = configuration.editable == '0';
|
|
@@ -5213,6 +5217,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5213
5217
|
constructor(e = null) {
|
|
5214
5218
|
super();
|
|
5215
5219
|
this.idEmpresa = 0;
|
|
5220
|
+
this.idEnterprise = 0;
|
|
5216
5221
|
this.idCargoPersonal = 0;
|
|
5217
5222
|
this.codigoCargo = '';
|
|
5218
5223
|
this.descripcionCargo = '';
|
|
@@ -5230,6 +5235,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5230
5235
|
this.nivel = 0;
|
|
5231
5236
|
if (e) {
|
|
5232
5237
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
5238
|
+
this.idEnterprise = parseInt(e.id_enterprise);
|
|
5233
5239
|
this.idCargoPersonal = parseInt(e.id_carper);
|
|
5234
5240
|
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
5235
5241
|
this.codigoEstructuraOrganizativa = e.codestorg;
|
|
@@ -5238,7 +5244,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5238
5244
|
this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
5239
5245
|
this.idPersonal = parseInt(e.id_personal);
|
|
5240
5246
|
this.nivel = parseInt(e.nivel);
|
|
5241
|
-
this.codigoEstructuraPresupuestaria = e.
|
|
5247
|
+
this.codigoEstructuraPresupuestaria = e.estructura;
|
|
5242
5248
|
this.codigoCentroCosto = e.codcencos;
|
|
5243
5249
|
this.dnominacionCentroCosto = e.denominacion;
|
|
5244
5250
|
this.idDtCargoEstructura = parseInt(e.id_dt);
|
|
@@ -5253,6 +5259,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5253
5259
|
dataInterface() {
|
|
5254
5260
|
return {
|
|
5255
5261
|
id_empresa: this.idEmpresa.toString(),
|
|
5262
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
5256
5263
|
id_carper: this.idCargoPersonal.toString(),
|
|
5257
5264
|
id_organigrama: this.idOrganigrama.toString(),
|
|
5258
5265
|
id_dt: this.idDtCargoEstructura.toString(),
|
|
@@ -5266,6 +5273,7 @@ class MCargosNominas extends MBasicModel {
|
|
|
5266
5273
|
super();
|
|
5267
5274
|
this.idEmpresa = 0;
|
|
5268
5275
|
this.idNomina = 0;
|
|
5276
|
+
this.idEnterprise = 0;
|
|
5269
5277
|
this.idCargo = 0;
|
|
5270
5278
|
this.codigoNomina = '';
|
|
5271
5279
|
this.denominacionNomina = '';
|
|
@@ -5283,6 +5291,7 @@ class MCargosNominas extends MBasicModel {
|
|
|
5283
5291
|
this.denominacionEstructuraOrganizativa = '';
|
|
5284
5292
|
if (e) {
|
|
5285
5293
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
5294
|
+
this.idEnterprise = +e.id_enterprise;
|
|
5286
5295
|
this.idNomina = parseInt(e.id_nomina);
|
|
5287
5296
|
this.idCargo = parseInt(e.id_carper);
|
|
5288
5297
|
this.codigoNomina = e.codnom;
|
|
@@ -5305,6 +5314,7 @@ class MCargosNominas extends MBasicModel {
|
|
|
5305
5314
|
dataInterface() {
|
|
5306
5315
|
return {
|
|
5307
5316
|
id_empresa: this.idEmpresa.toString(),
|
|
5317
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
5308
5318
|
id_nomina: this.idNomina.toString(),
|
|
5309
5319
|
id_carper: this.idCargo.toString(),
|
|
5310
5320
|
id_dt_carnom: this.idDtNomina.toString(),
|
|
@@ -6822,15 +6832,12 @@ class SigespService {
|
|
|
6822
6832
|
* @return Observable<MConfiguracionSNO[]>
|
|
6823
6833
|
* @date 27-07-2021
|
|
6824
6834
|
*/
|
|
6825
|
-
getConfigurationSNO() {
|
|
6826
|
-
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6835
|
+
getConfigurationSNO(idEnterprise) {
|
|
6836
|
+
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}&e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6827
6837
|
if (resp.success) {
|
|
6828
6838
|
if (resp.data != null) {
|
|
6829
6839
|
resp.data = resp.data.map(e => new MConfiguracionSNO(e));
|
|
6830
6840
|
}
|
|
6831
|
-
else {
|
|
6832
|
-
resp.data = [];
|
|
6833
|
-
}
|
|
6834
6841
|
}
|
|
6835
6842
|
return resp;
|
|
6836
6843
|
}));
|
|
@@ -6843,8 +6850,8 @@ class SigespService {
|
|
|
6843
6850
|
* @return Observable<IResponse>
|
|
6844
6851
|
* @author Carlos Albornoz
|
|
6845
6852
|
*/
|
|
6846
|
-
getConfigSSS() {
|
|
6847
|
-
return this.http.get(`${this.URL}/dao/sss/seguridad_config_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6853
|
+
getConfigSSS(idEnterprise = 0) {
|
|
6854
|
+
return this.http.get(`${this.URL}/dao/sss/seguridad_config_dao.php?e=${idEnterprise}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6848
6855
|
if (resp.success) {
|
|
6849
6856
|
resp.data = new MConfigSSS(resp.data);
|
|
6850
6857
|
}
|
|
@@ -11595,12 +11602,14 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11595
11602
|
this.nivel = 0;
|
|
11596
11603
|
this.nivelPadre = 0;
|
|
11597
11604
|
this.codigoCentroCosto = '---';
|
|
11605
|
+
this.denominacionCentroCosto = '---';
|
|
11598
11606
|
this.idEp1 = 0;
|
|
11599
11607
|
this.idEp2 = 0;
|
|
11600
11608
|
this.idEp3 = 0;
|
|
11601
11609
|
this.idEp4 = 0;
|
|
11602
11610
|
this.idEp5 = 0;
|
|
11603
11611
|
this.codigoPadre = '';
|
|
11612
|
+
this.denominacionPadre = '';
|
|
11604
11613
|
this.codigoPais = '000058';
|
|
11605
11614
|
this.nombrePais = 'Venezuela';
|
|
11606
11615
|
this.codigoEstado = '';
|
|
@@ -11624,21 +11633,22 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11624
11633
|
this.codigoUnidadAdministrativa = '';
|
|
11625
11634
|
this.denominacionUnidadAdministraiva = '';
|
|
11626
11635
|
this.idCentroCosto = 0;
|
|
11636
|
+
this.estructura = '';
|
|
11627
11637
|
if (e) {
|
|
11628
11638
|
this.idEnterprise = +e.id_enterprise;
|
|
11629
11639
|
this.idEmpresa = +e.id_empresa;
|
|
11630
11640
|
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
11641
|
+
this.idCentroCosto = +e.id_cencos;
|
|
11631
11642
|
this.codigoEstructuraOrganizativa = e.codestorg;
|
|
11632
11643
|
this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
11633
|
-
this.nivel =
|
|
11634
|
-
this.nivelPadre =
|
|
11635
|
-
this.idCentroCosto = +e.id_cencos;
|
|
11644
|
+
this.nivel = +e.nivel;
|
|
11645
|
+
this.nivelPadre = +e.nivpad;
|
|
11636
11646
|
this.codigoCentroCosto = e.codcencos;
|
|
11637
|
-
this.idEp1 =
|
|
11638
|
-
this.idEp2 =
|
|
11639
|
-
this.idEp3 =
|
|
11640
|
-
this.idEp4 =
|
|
11641
|
-
this.idEp5 =
|
|
11647
|
+
this.idEp1 = +e.id_ep1;
|
|
11648
|
+
this.idEp2 = +e.id_ep2;
|
|
11649
|
+
this.idEp3 = +e.id_ep3;
|
|
11650
|
+
this.idEp4 = +e.id_ep4;
|
|
11651
|
+
this.idEp5 = +e.id_ep5;
|
|
11642
11652
|
this.codigoPadre = e.codpadre;
|
|
11643
11653
|
this.codigoPais = e.codpai;
|
|
11644
11654
|
this.nombrePais = e.despai;
|
|
@@ -11662,6 +11672,8 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11662
11672
|
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
11663
11673
|
this.codigoUnidadAdministrativa = e.coduniadm;
|
|
11664
11674
|
this.denominacionUnidadAdministraiva = e.denuniadm;
|
|
11675
|
+
this.estructura = e.estructura;
|
|
11676
|
+
this.denominacionPadre = e.denpadre;
|
|
11665
11677
|
}
|
|
11666
11678
|
}
|
|
11667
11679
|
dataInterface() {
|
|
@@ -11701,6 +11713,9 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11701
11713
|
ubizona: this.ubicacionZona,
|
|
11702
11714
|
ubinoaplica: this.ubicacionNoAplica,
|
|
11703
11715
|
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
11716
|
+
dencencos: this.denominacionCentroCosto,
|
|
11717
|
+
denpadre: this.denominacionPadre,
|
|
11718
|
+
estructura: this.estructura
|
|
11704
11719
|
};
|
|
11705
11720
|
}
|
|
11706
11721
|
}
|
|
@@ -12284,48 +12299,6 @@ class MFormacionAcademica extends MBasicModel {
|
|
|
12284
12299
|
}
|
|
12285
12300
|
}
|
|
12286
12301
|
|
|
12287
|
-
class MPrimaGrados extends MBasicModel {
|
|
12288
|
-
constructor(e = null) {
|
|
12289
|
-
super();
|
|
12290
|
-
this.idEnterprise = 0;
|
|
12291
|
-
this.idEmpresa = 0;
|
|
12292
|
-
this.idTabulador = 0;
|
|
12293
|
-
this.codigoGrado = '';
|
|
12294
|
-
this.codigoPaso = '';
|
|
12295
|
-
this.codigoPrima = '';
|
|
12296
|
-
this.descripcionPrima = '';
|
|
12297
|
-
this.montoPrima = 0;
|
|
12298
|
-
this.IdDetallePrima = 0;
|
|
12299
|
-
if (e) {
|
|
12300
|
-
this.idEnterprise = +e.id_enterprise;
|
|
12301
|
-
this.idEmpresa = +e.id_empresa;
|
|
12302
|
-
this.idTabulador = parseInt(e.id_tabulador);
|
|
12303
|
-
this.codigoGrado = e.codgra;
|
|
12304
|
-
this.codigoPaso = e.codpas;
|
|
12305
|
-
this.codigoPrima = e.codpri;
|
|
12306
|
-
this.descripcionPrima = e.despri;
|
|
12307
|
-
this.montoPrima = parseInt(e.monpri);
|
|
12308
|
-
this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
12309
|
-
}
|
|
12310
|
-
else {
|
|
12311
|
-
this.isNew = true;
|
|
12312
|
-
}
|
|
12313
|
-
}
|
|
12314
|
-
dataInterface() {
|
|
12315
|
-
return {
|
|
12316
|
-
id_enterprise: this.idEnterprise.toString(),
|
|
12317
|
-
id_empresa: this.idEmpresa,
|
|
12318
|
-
id_tabulador: this.idTabulador.toString(),
|
|
12319
|
-
codgra: this.codigoGrado,
|
|
12320
|
-
codpas: this.codigoPaso,
|
|
12321
|
-
codpri: this.codigoPrima,
|
|
12322
|
-
despri: this.descripcionPrima,
|
|
12323
|
-
monpri: this.montoPrima.toString(),
|
|
12324
|
-
id_dt_prima: this.IdDetallePrima.toString(),
|
|
12325
|
-
};
|
|
12326
|
-
}
|
|
12327
|
-
}
|
|
12328
|
-
|
|
12329
12302
|
class MGrados extends MBasicModel {
|
|
12330
12303
|
constructor(e = null) {
|
|
12331
12304
|
super();
|
|
@@ -12351,7 +12324,6 @@ class MGrados extends MBasicModel {
|
|
|
12351
12324
|
this.yearDesde = parseInt(e.aniodes);
|
|
12352
12325
|
this.yearHasta = parseInt(e.aniohas);
|
|
12353
12326
|
this.IdDetalleGrado = parseInt(e.id_dt_grado);
|
|
12354
|
-
this.detallePrima = e.detalles_prima.map(e => new MPrimaGrados(e));
|
|
12355
12327
|
}
|
|
12356
12328
|
}
|
|
12357
12329
|
dataInterface() {
|
|
@@ -12366,7 +12338,6 @@ class MGrados extends MBasicModel {
|
|
|
12366
12338
|
aniodes: this.yearDesde.toString(),
|
|
12367
12339
|
aniohas: this.yearHasta.toString(),
|
|
12368
12340
|
id_dt_grado: this.IdDetalleGrado.toString(),
|
|
12369
|
-
detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
|
|
12370
12341
|
};
|
|
12371
12342
|
}
|
|
12372
12343
|
}
|
|
@@ -12413,6 +12384,48 @@ class MPrimasConcepto extends MBasicModel {
|
|
|
12413
12384
|
}
|
|
12414
12385
|
}
|
|
12415
12386
|
|
|
12387
|
+
class MPrimaGrados extends MBasicModel {
|
|
12388
|
+
constructor(e = null) {
|
|
12389
|
+
super();
|
|
12390
|
+
this.idEnterprise = 0;
|
|
12391
|
+
this.idEmpresa = 0;
|
|
12392
|
+
this.idTabulador = 0;
|
|
12393
|
+
this.codigoGrado = '';
|
|
12394
|
+
this.codigoPaso = '';
|
|
12395
|
+
this.codigoPrima = '';
|
|
12396
|
+
this.descripcionPrima = '';
|
|
12397
|
+
this.montoPrima = 0;
|
|
12398
|
+
this.IdDetallePrima = 0;
|
|
12399
|
+
if (e) {
|
|
12400
|
+
this.idEnterprise = +e.id_enterprise;
|
|
12401
|
+
this.idEmpresa = +e.id_empresa;
|
|
12402
|
+
this.idTabulador = parseInt(e.id_tabulador);
|
|
12403
|
+
this.codigoGrado = e.codgra;
|
|
12404
|
+
this.codigoPaso = e.codpas;
|
|
12405
|
+
this.codigoPrima = e.codpri;
|
|
12406
|
+
this.descripcionPrima = e.despri;
|
|
12407
|
+
this.montoPrima = parseInt(e.monpri);
|
|
12408
|
+
this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
12409
|
+
}
|
|
12410
|
+
else {
|
|
12411
|
+
this.isNew = true;
|
|
12412
|
+
}
|
|
12413
|
+
}
|
|
12414
|
+
dataInterface() {
|
|
12415
|
+
return {
|
|
12416
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
12417
|
+
id_empresa: this.idEmpresa,
|
|
12418
|
+
id_tabulador: this.idTabulador.toString(),
|
|
12419
|
+
codgra: this.codigoGrado,
|
|
12420
|
+
codpas: this.codigoPaso,
|
|
12421
|
+
codpri: this.codigoPrima,
|
|
12422
|
+
despri: this.descripcionPrima,
|
|
12423
|
+
monpri: this.montoPrima.toString(),
|
|
12424
|
+
id_dt_prima: this.IdDetallePrima.toString(),
|
|
12425
|
+
};
|
|
12426
|
+
}
|
|
12427
|
+
}
|
|
12428
|
+
|
|
12416
12429
|
class MRequisitosConcursantes extends MBasicModel {
|
|
12417
12430
|
constructor(e = null) {
|
|
12418
12431
|
super();
|