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/fesm2015/sigesp.mjs
CHANGED
|
@@ -1819,7 +1819,9 @@ class MConfigurationSPG {
|
|
|
1819
1819
|
this.idEP5 = 0;
|
|
1820
1820
|
this.denominacionUnidadAdministrativa = '';
|
|
1821
1821
|
this.codigoUnidadAdministrativa = '';
|
|
1822
|
+
this.denominacionFuenteFinanciaminto = '';
|
|
1822
1823
|
this.codigoFuenteFinanciaminto = '';
|
|
1824
|
+
this.denominacionCentroCosto = '';
|
|
1823
1825
|
this.codigoCentroCosto = '';
|
|
1824
1826
|
this.estructuraPresupuestaria = '';
|
|
1825
1827
|
this.editable = false;
|
|
@@ -1862,7 +1864,9 @@ class MConfigurationSPG {
|
|
|
1862
1864
|
this.idUnidadAdministrativa = +configuration.id_uniadm;
|
|
1863
1865
|
this.denominacionUnidadAdministrativa = configuration.denuniadm;
|
|
1864
1866
|
this.codigoUnidadAdministrativa = configuration.coduniadm;
|
|
1867
|
+
this.denominacionFuenteFinanciaminto = configuration.denfufin;
|
|
1865
1868
|
this.codigoFuenteFinanciaminto = configuration.codigoftefin;
|
|
1869
|
+
this.denominacionCentroCosto = configuration.dencencos;
|
|
1866
1870
|
this.codigoCentroCosto = configuration.codcencos;
|
|
1867
1871
|
this.estructuraPresupuestaria = configuration.estpre;
|
|
1868
1872
|
this.editable = configuration.editable == '0';
|
|
@@ -5224,6 +5228,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5224
5228
|
constructor(e = null) {
|
|
5225
5229
|
super();
|
|
5226
5230
|
this.idEmpresa = 0;
|
|
5231
|
+
this.idEnterprise = 0;
|
|
5227
5232
|
this.idCargoPersonal = 0;
|
|
5228
5233
|
this.codigoCargo = '';
|
|
5229
5234
|
this.descripcionCargo = '';
|
|
@@ -5241,6 +5246,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5241
5246
|
this.nivel = 0;
|
|
5242
5247
|
if (e) {
|
|
5243
5248
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
5249
|
+
this.idEnterprise = parseInt(e.id_enterprise);
|
|
5244
5250
|
this.idCargoPersonal = parseInt(e.id_carper);
|
|
5245
5251
|
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
5246
5252
|
this.codigoEstructuraOrganizativa = e.codestorg;
|
|
@@ -5249,7 +5255,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5249
5255
|
this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
5250
5256
|
this.idPersonal = parseInt(e.id_personal);
|
|
5251
5257
|
this.nivel = parseInt(e.nivel);
|
|
5252
|
-
this.codigoEstructuraPresupuestaria = e.
|
|
5258
|
+
this.codigoEstructuraPresupuestaria = e.estructura;
|
|
5253
5259
|
this.codigoCentroCosto = e.codcencos;
|
|
5254
5260
|
this.dnominacionCentroCosto = e.denominacion;
|
|
5255
5261
|
this.idDtCargoEstructura = parseInt(e.id_dt);
|
|
@@ -5264,6 +5270,7 @@ class MCargoEstructuraOrganizativa extends MBasicModel {
|
|
|
5264
5270
|
dataInterface() {
|
|
5265
5271
|
return {
|
|
5266
5272
|
id_empresa: this.idEmpresa.toString(),
|
|
5273
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
5267
5274
|
id_carper: this.idCargoPersonal.toString(),
|
|
5268
5275
|
id_organigrama: this.idOrganigrama.toString(),
|
|
5269
5276
|
id_dt: this.idDtCargoEstructura.toString(),
|
|
@@ -5277,6 +5284,7 @@ class MCargosNominas extends MBasicModel {
|
|
|
5277
5284
|
super();
|
|
5278
5285
|
this.idEmpresa = 0;
|
|
5279
5286
|
this.idNomina = 0;
|
|
5287
|
+
this.idEnterprise = 0;
|
|
5280
5288
|
this.idCargo = 0;
|
|
5281
5289
|
this.codigoNomina = '';
|
|
5282
5290
|
this.denominacionNomina = '';
|
|
@@ -5294,6 +5302,7 @@ class MCargosNominas extends MBasicModel {
|
|
|
5294
5302
|
this.denominacionEstructuraOrganizativa = '';
|
|
5295
5303
|
if (e) {
|
|
5296
5304
|
this.idEmpresa = parseInt(e.id_empresa);
|
|
5305
|
+
this.idEnterprise = +e.id_enterprise;
|
|
5297
5306
|
this.idNomina = parseInt(e.id_nomina);
|
|
5298
5307
|
this.idCargo = parseInt(e.id_carper);
|
|
5299
5308
|
this.codigoNomina = e.codnom;
|
|
@@ -5316,6 +5325,7 @@ class MCargosNominas extends MBasicModel {
|
|
|
5316
5325
|
dataInterface() {
|
|
5317
5326
|
return {
|
|
5318
5327
|
id_empresa: this.idEmpresa.toString(),
|
|
5328
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
5319
5329
|
id_nomina: this.idNomina.toString(),
|
|
5320
5330
|
id_carper: this.idCargo.toString(),
|
|
5321
5331
|
id_dt_carnom: this.idDtNomina.toString(),
|
|
@@ -6833,15 +6843,12 @@ class SigespService {
|
|
|
6833
6843
|
* @return Observable<MConfiguracionSNO[]>
|
|
6834
6844
|
* @date 27-07-2021
|
|
6835
6845
|
*/
|
|
6836
|
-
getConfigurationSNO() {
|
|
6837
|
-
return this.http.get(`${this.URL}/dao/sno/configuracion_dao.php?tipo=${'configuracion'}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6846
|
+
getConfigurationSNO(idEnterprise) {
|
|
6847
|
+
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) => {
|
|
6838
6848
|
if (resp.success) {
|
|
6839
6849
|
if (resp.data != null) {
|
|
6840
6850
|
resp.data = resp.data.map(e => new MConfiguracionSNO(e));
|
|
6841
6851
|
}
|
|
6842
|
-
else {
|
|
6843
|
-
resp.data = [];
|
|
6844
|
-
}
|
|
6845
6852
|
}
|
|
6846
6853
|
return resp;
|
|
6847
6854
|
}));
|
|
@@ -6854,8 +6861,8 @@ class SigespService {
|
|
|
6854
6861
|
* @return Observable<IResponse>
|
|
6855
6862
|
* @author Carlos Albornoz
|
|
6856
6863
|
*/
|
|
6857
|
-
getConfigSSS() {
|
|
6858
|
-
return this.http.get(`${this.URL}/dao/sss/seguridad_config_dao.php`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => {
|
|
6864
|
+
getConfigSSS(idEnterprise = 0) {
|
|
6865
|
+
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) => {
|
|
6859
6866
|
if (resp.success) {
|
|
6860
6867
|
resp.data = new MConfigSSS(resp.data);
|
|
6861
6868
|
}
|
|
@@ -11632,12 +11639,14 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11632
11639
|
this.nivel = 0;
|
|
11633
11640
|
this.nivelPadre = 0;
|
|
11634
11641
|
this.codigoCentroCosto = '---';
|
|
11642
|
+
this.denominacionCentroCosto = '---';
|
|
11635
11643
|
this.idEp1 = 0;
|
|
11636
11644
|
this.idEp2 = 0;
|
|
11637
11645
|
this.idEp3 = 0;
|
|
11638
11646
|
this.idEp4 = 0;
|
|
11639
11647
|
this.idEp5 = 0;
|
|
11640
11648
|
this.codigoPadre = '';
|
|
11649
|
+
this.denominacionPadre = '';
|
|
11641
11650
|
this.codigoPais = '000058';
|
|
11642
11651
|
this.nombrePais = 'Venezuela';
|
|
11643
11652
|
this.codigoEstado = '';
|
|
@@ -11661,21 +11670,22 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11661
11670
|
this.codigoUnidadAdministrativa = '';
|
|
11662
11671
|
this.denominacionUnidadAdministraiva = '';
|
|
11663
11672
|
this.idCentroCosto = 0;
|
|
11673
|
+
this.estructura = '';
|
|
11664
11674
|
if (e) {
|
|
11665
11675
|
this.idEnterprise = +e.id_enterprise;
|
|
11666
11676
|
this.idEmpresa = +e.id_empresa;
|
|
11667
11677
|
this.idOrganigrama = parseInt(e.id_organigrama);
|
|
11678
|
+
this.idCentroCosto = +e.id_cencos;
|
|
11668
11679
|
this.codigoEstructuraOrganizativa = e.codestorg;
|
|
11669
11680
|
this.denominacionEstructuraOrganizativa = e.denestorg;
|
|
11670
|
-
this.nivel =
|
|
11671
|
-
this.nivelPadre =
|
|
11672
|
-
this.idCentroCosto = +e.id_cencos;
|
|
11681
|
+
this.nivel = +e.nivel;
|
|
11682
|
+
this.nivelPadre = +e.nivpad;
|
|
11673
11683
|
this.codigoCentroCosto = e.codcencos;
|
|
11674
|
-
this.idEp1 =
|
|
11675
|
-
this.idEp2 =
|
|
11676
|
-
this.idEp3 =
|
|
11677
|
-
this.idEp4 =
|
|
11678
|
-
this.idEp5 =
|
|
11684
|
+
this.idEp1 = +e.id_ep1;
|
|
11685
|
+
this.idEp2 = +e.id_ep2;
|
|
11686
|
+
this.idEp3 = +e.id_ep3;
|
|
11687
|
+
this.idEp4 = +e.id_ep4;
|
|
11688
|
+
this.idEp5 = +e.id_ep5;
|
|
11679
11689
|
this.codigoPadre = e.codpadre;
|
|
11680
11690
|
this.codigoPais = e.codpai;
|
|
11681
11691
|
this.nombrePais = e.despai;
|
|
@@ -11699,6 +11709,8 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11699
11709
|
this.idUnidadAdministrativa = +e.id_uniadm;
|
|
11700
11710
|
this.codigoUnidadAdministrativa = e.coduniadm;
|
|
11701
11711
|
this.denominacionUnidadAdministraiva = e.denuniadm;
|
|
11712
|
+
this.estructura = e.estructura;
|
|
11713
|
+
this.denominacionPadre = e.denpadre;
|
|
11702
11714
|
}
|
|
11703
11715
|
}
|
|
11704
11716
|
dataInterface() {
|
|
@@ -11738,6 +11750,9 @@ class MEstructuraOrganizativa extends MBasicModel {
|
|
|
11738
11750
|
ubizona: this.ubicacionZona,
|
|
11739
11751
|
ubinoaplica: this.ubicacionNoAplica,
|
|
11740
11752
|
id_uniadm: this.idUnidadAdministrativa.toString(),
|
|
11753
|
+
dencencos: this.denominacionCentroCosto,
|
|
11754
|
+
denpadre: this.denominacionPadre,
|
|
11755
|
+
estructura: this.estructura
|
|
11741
11756
|
};
|
|
11742
11757
|
}
|
|
11743
11758
|
}
|
|
@@ -12321,48 +12336,6 @@ class MFormacionAcademica extends MBasicModel {
|
|
|
12321
12336
|
}
|
|
12322
12337
|
}
|
|
12323
12338
|
|
|
12324
|
-
class MPrimaGrados extends MBasicModel {
|
|
12325
|
-
constructor(e = null) {
|
|
12326
|
-
super();
|
|
12327
|
-
this.idEnterprise = 0;
|
|
12328
|
-
this.idEmpresa = 0;
|
|
12329
|
-
this.idTabulador = 0;
|
|
12330
|
-
this.codigoGrado = '';
|
|
12331
|
-
this.codigoPaso = '';
|
|
12332
|
-
this.codigoPrima = '';
|
|
12333
|
-
this.descripcionPrima = '';
|
|
12334
|
-
this.montoPrima = 0;
|
|
12335
|
-
this.IdDetallePrima = 0;
|
|
12336
|
-
if (e) {
|
|
12337
|
-
this.idEnterprise = +e.id_enterprise;
|
|
12338
|
-
this.idEmpresa = +e.id_empresa;
|
|
12339
|
-
this.idTabulador = parseInt(e.id_tabulador);
|
|
12340
|
-
this.codigoGrado = e.codgra;
|
|
12341
|
-
this.codigoPaso = e.codpas;
|
|
12342
|
-
this.codigoPrima = e.codpri;
|
|
12343
|
-
this.descripcionPrima = e.despri;
|
|
12344
|
-
this.montoPrima = parseInt(e.monpri);
|
|
12345
|
-
this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
12346
|
-
}
|
|
12347
|
-
else {
|
|
12348
|
-
this.isNew = true;
|
|
12349
|
-
}
|
|
12350
|
-
}
|
|
12351
|
-
dataInterface() {
|
|
12352
|
-
return {
|
|
12353
|
-
id_enterprise: this.idEnterprise.toString(),
|
|
12354
|
-
id_empresa: this.idEmpresa,
|
|
12355
|
-
id_tabulador: this.idTabulador.toString(),
|
|
12356
|
-
codgra: this.codigoGrado,
|
|
12357
|
-
codpas: this.codigoPaso,
|
|
12358
|
-
codpri: this.codigoPrima,
|
|
12359
|
-
despri: this.descripcionPrima,
|
|
12360
|
-
monpri: this.montoPrima.toString(),
|
|
12361
|
-
id_dt_prima: this.IdDetallePrima.toString(),
|
|
12362
|
-
};
|
|
12363
|
-
}
|
|
12364
|
-
}
|
|
12365
|
-
|
|
12366
12339
|
class MGrados extends MBasicModel {
|
|
12367
12340
|
constructor(e = null) {
|
|
12368
12341
|
super();
|
|
@@ -12388,7 +12361,6 @@ class MGrados extends MBasicModel {
|
|
|
12388
12361
|
this.yearDesde = parseInt(e.aniodes);
|
|
12389
12362
|
this.yearHasta = parseInt(e.aniohas);
|
|
12390
12363
|
this.IdDetalleGrado = parseInt(e.id_dt_grado);
|
|
12391
|
-
this.detallePrima = e.detalles_prima.map(e => new MPrimaGrados(e));
|
|
12392
12364
|
}
|
|
12393
12365
|
}
|
|
12394
12366
|
dataInterface() {
|
|
@@ -12403,7 +12375,6 @@ class MGrados extends MBasicModel {
|
|
|
12403
12375
|
aniodes: this.yearDesde.toString(),
|
|
12404
12376
|
aniohas: this.yearHasta.toString(),
|
|
12405
12377
|
id_dt_grado: this.IdDetalleGrado.toString(),
|
|
12406
|
-
detalles_prima: this.detallePrima.map(function (e) { return e.dataInterface(); })
|
|
12407
12378
|
};
|
|
12408
12379
|
}
|
|
12409
12380
|
}
|
|
@@ -12450,6 +12421,48 @@ class MPrimasConcepto extends MBasicModel {
|
|
|
12450
12421
|
}
|
|
12451
12422
|
}
|
|
12452
12423
|
|
|
12424
|
+
class MPrimaGrados extends MBasicModel {
|
|
12425
|
+
constructor(e = null) {
|
|
12426
|
+
super();
|
|
12427
|
+
this.idEnterprise = 0;
|
|
12428
|
+
this.idEmpresa = 0;
|
|
12429
|
+
this.idTabulador = 0;
|
|
12430
|
+
this.codigoGrado = '';
|
|
12431
|
+
this.codigoPaso = '';
|
|
12432
|
+
this.codigoPrima = '';
|
|
12433
|
+
this.descripcionPrima = '';
|
|
12434
|
+
this.montoPrima = 0;
|
|
12435
|
+
this.IdDetallePrima = 0;
|
|
12436
|
+
if (e) {
|
|
12437
|
+
this.idEnterprise = +e.id_enterprise;
|
|
12438
|
+
this.idEmpresa = +e.id_empresa;
|
|
12439
|
+
this.idTabulador = parseInt(e.id_tabulador);
|
|
12440
|
+
this.codigoGrado = e.codgra;
|
|
12441
|
+
this.codigoPaso = e.codpas;
|
|
12442
|
+
this.codigoPrima = e.codpri;
|
|
12443
|
+
this.descripcionPrima = e.despri;
|
|
12444
|
+
this.montoPrima = parseInt(e.monpri);
|
|
12445
|
+
this.IdDetallePrima = parseInt(e.id_dt_prima);
|
|
12446
|
+
}
|
|
12447
|
+
else {
|
|
12448
|
+
this.isNew = true;
|
|
12449
|
+
}
|
|
12450
|
+
}
|
|
12451
|
+
dataInterface() {
|
|
12452
|
+
return {
|
|
12453
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
12454
|
+
id_empresa: this.idEmpresa,
|
|
12455
|
+
id_tabulador: this.idTabulador.toString(),
|
|
12456
|
+
codgra: this.codigoGrado,
|
|
12457
|
+
codpas: this.codigoPaso,
|
|
12458
|
+
codpri: this.codigoPrima,
|
|
12459
|
+
despri: this.descripcionPrima,
|
|
12460
|
+
monpri: this.montoPrima.toString(),
|
|
12461
|
+
id_dt_prima: this.IdDetallePrima.toString(),
|
|
12462
|
+
};
|
|
12463
|
+
}
|
|
12464
|
+
}
|
|
12465
|
+
|
|
12453
12466
|
class MRequisitosConcursantes extends MBasicModel {
|
|
12454
12467
|
constructor(e = null) {
|
|
12455
12468
|
super();
|