sigesp 0.9.12-20221217 → 0.9.14-20221218
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/bundles/sigesp.umd.js +346 -52
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +2 -2
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/CentroCosto.js +1 -1
- package/esm2015/lib/core/interfaces/Configuracion.js +1 -1
- package/esm2015/lib/core/interfaces/Moneda.js +1 -1
- package/esm2015/lib/core/interfaces/UsuarioPrefijo.js +1 -1
- package/esm2015/lib/core/models/CFG/MPrefijo.model.js +61 -0
- package/esm2015/lib/core/models/CFG/Procede.model.js +31 -0
- package/esm2015/lib/core/models/CFG/TasaCambio.model.js +37 -0
- package/esm2015/lib/core/models/CFG/moneda.model.js +42 -0
- package/esm2015/lib/core/models/CFG/userPrefix.model.js +43 -0
- package/esm2015/lib/core/models/SCG/centroCosto.model.js +50 -6
- package/esm2015/lib/core/models/SPG/configurationSPG.model.js +2 -2
- package/esm2015/lib/core/models/SSS/sistema.js +21 -6
- package/esm2015/lib/sigesp.service.js +52 -5
- package/esm2015/lib/validation.service.js +1 -1
- package/esm2015/public-api.js +7 -4
- package/esm2015/sigesp.js +1 -1
- package/fesm2015/sigesp.js +308 -39
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/CentroCosto.d.ts +8 -1
- package/lib/core/interfaces/Configuracion.d.ts +33 -0
- package/lib/core/interfaces/UsuarioPrefijo.d.ts +8 -5
- package/lib/core/models/CFG/MPrefijo.model.d.ts +21 -0
- package/lib/core/models/CFG/Procede.model.d.ts +11 -0
- package/lib/core/models/CFG/TasaCambio.model.d.ts +13 -0
- package/lib/core/models/{STB → CFG}/moneda.model.d.ts +4 -2
- package/lib/core/models/CFG/userPrefix.model.d.ts +15 -0
- package/lib/core/models/SCG/centroCosto.model.d.ts +13 -1
- package/lib/core/models/SPG/configurationSPG.model.d.ts +1 -1
- package/lib/core/models/SSS/sistema.d.ts +4 -2
- package/lib/sigesp.service.d.ts +31 -3
- package/lib/validation.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +9 -5
- package/sigesp.d.ts +10 -11
- package/sigesp.metadata.json +1 -1
- package/esm2015/lib/core/models/SSS/userPrefix.model.js +0 -15
- package/esm2015/lib/core/models/STB/moneda.model.js +0 -27
- package/lib/core/models/SSS/userPrefix.model.d.ts +0 -11
package/fesm2015/sigesp.js
CHANGED
|
@@ -60,6 +60,107 @@ class MBasicModel {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
class MUsuarioPrefijo extends MBasicModel {
|
|
64
|
+
constructor(e) {
|
|
65
|
+
super();
|
|
66
|
+
this.idEmpresa = 0;
|
|
67
|
+
this.id = 0;
|
|
68
|
+
this.idUsuario = 0;
|
|
69
|
+
this.idDtPrefijo = 0;
|
|
70
|
+
this.prefijo = '';
|
|
71
|
+
this.procede = '';
|
|
72
|
+
this.codigoSistema = '';
|
|
73
|
+
this.codigoUsuario = '';
|
|
74
|
+
this.estatusActivo = true;
|
|
75
|
+
if (e) {
|
|
76
|
+
this.idEmpresa = +e.id_empresa;
|
|
77
|
+
this.id = +e.id;
|
|
78
|
+
this.idUsuario = +e.id_usuario;
|
|
79
|
+
this.idDtPrefijo = +e.id_dt_prefijo;
|
|
80
|
+
this.prefijo = e.prefijo;
|
|
81
|
+
this.procede = e.procede;
|
|
82
|
+
this.codigoSistema = e.codsis;
|
|
83
|
+
this.codigoUsuario = e.codusu;
|
|
84
|
+
this.estatusActivo = e.estact == '1';
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
this.isNew = true;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
dataInterface() {
|
|
91
|
+
return {
|
|
92
|
+
id_empresa: this.idEmpresa.toString(),
|
|
93
|
+
id: this.id.toString(),
|
|
94
|
+
id_usuario: this.idUsuario.toString(),
|
|
95
|
+
id_dt_prefijo: this.idDtPrefijo.toString(),
|
|
96
|
+
prefijo: this.prefijo,
|
|
97
|
+
procede: this.procede,
|
|
98
|
+
codsis: this.codigoSistema,
|
|
99
|
+
codusu: this.codigoUsuario,
|
|
100
|
+
estact: this.estatusActivo ? '1' : '0',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
class MPrefijo extends MBasicModel {
|
|
106
|
+
constructor(e) {
|
|
107
|
+
super();
|
|
108
|
+
this.idEmpresa = 0;
|
|
109
|
+
this.id = 0;
|
|
110
|
+
this.prefijo = '';
|
|
111
|
+
this.procede = '';
|
|
112
|
+
this.codsis = '';
|
|
113
|
+
this.numeroInicial = 0;
|
|
114
|
+
this.numeroFinal = 0;
|
|
115
|
+
this.maximaLogitud = 0;
|
|
116
|
+
this.numeroActual = 0;
|
|
117
|
+
this.estatusActivo = true;
|
|
118
|
+
this.estatusInicializarComprobanteSCG = false;
|
|
119
|
+
this.estatusPrefijoGeneral = false;
|
|
120
|
+
this.estatusPrefijoFecha = false;
|
|
121
|
+
this.usuarios = [];
|
|
122
|
+
if (e) {
|
|
123
|
+
this.idEmpresa = +e.id_empresa;
|
|
124
|
+
this.id = +e.id;
|
|
125
|
+
this.prefijo = e.prefijo;
|
|
126
|
+
this.procede = e.procede;
|
|
127
|
+
this.codsis = e.codsis;
|
|
128
|
+
this.numeroInicial = +e.nro_inicial;
|
|
129
|
+
this.numeroFinal = +e.nro_final;
|
|
130
|
+
this.maximaLogitud = +e.maxlen;
|
|
131
|
+
this.numeroActual = +e.nro_actual;
|
|
132
|
+
this.estatusActivo = e.estact == '1';
|
|
133
|
+
this.estatusInicializarComprobanteSCG = e.estcompscg == '1';
|
|
134
|
+
this.estatusPrefijoGeneral = e.estpregral == '1';
|
|
135
|
+
this.estatusPrefijoFecha = e.estprefec == '1';
|
|
136
|
+
if (this.usuarios) {
|
|
137
|
+
this.usuarios = e.usuarios.map(e => new MUsuarioPrefijo(e));
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
this.isNew = true;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
dataInterface() {
|
|
145
|
+
return {
|
|
146
|
+
id_empresa: this.idEmpresa.toString(),
|
|
147
|
+
id: this.id.toString(),
|
|
148
|
+
prefijo: this.prefijo,
|
|
149
|
+
procede: this.procede,
|
|
150
|
+
codsis: this.codsis,
|
|
151
|
+
nro_inicial: this.numeroInicial.toString(),
|
|
152
|
+
nro_final: this.numeroFinal.toString(),
|
|
153
|
+
maxlen: this.maximaLogitud.toString(),
|
|
154
|
+
nro_actual: this.numeroActual.toString(),
|
|
155
|
+
estact: this.estatusActivo ? '1' : '0',
|
|
156
|
+
estcompscg: this.estatusInicializarComprobanteSCG ? '1' : '0',
|
|
157
|
+
estpregral: this.estatusPrefijoGeneral ? '1' : '0',
|
|
158
|
+
estprefec: this.estatusPrefijoFecha ? '1' : '0',
|
|
159
|
+
usuarios: this.usuarios.map(function (e) { return e.dataInterface(); }),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
63
164
|
class MEnterprise extends MBasicModel {
|
|
64
165
|
constructor(e) {
|
|
65
166
|
super();
|
|
@@ -586,20 +687,6 @@ class MProveedor {
|
|
|
586
687
|
}
|
|
587
688
|
}
|
|
588
689
|
|
|
589
|
-
class MUsuarioPrefijo extends MBasicModel {
|
|
590
|
-
constructor(prefijo) {
|
|
591
|
-
super();
|
|
592
|
-
if (prefijo) {
|
|
593
|
-
this.codsis = prefijo.codsis;
|
|
594
|
-
this.codusu = prefijo.codusu;
|
|
595
|
-
this.id = prefijo.id;
|
|
596
|
-
this.id_empresa = prefijo.id_empresa;
|
|
597
|
-
this.prefijo = prefijo.prefijo;
|
|
598
|
-
this.procede = prefijo.procede;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
690
|
class CatalogoComponent {
|
|
604
691
|
constructor(dialogRef, dialogData) {
|
|
605
692
|
this.dialogRef = dialogRef;
|
|
@@ -700,22 +787,36 @@ class MMoneda {
|
|
|
700
787
|
this.simbolo = moneda.simbolo;
|
|
701
788
|
}
|
|
702
789
|
}
|
|
703
|
-
class MMonedaConfig {
|
|
790
|
+
class MMonedaConfig extends MBasicModel {
|
|
704
791
|
constructor(moneda) {
|
|
792
|
+
super();
|
|
705
793
|
this.codigo = null;
|
|
706
|
-
this.denominacion =
|
|
707
|
-
this.codigoIso =
|
|
708
|
-
this.simbolo =
|
|
709
|
-
this.separadorDecimal =
|
|
710
|
-
this.separadorMiles =
|
|
711
|
-
this.decimales =
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
794
|
+
this.denominacion = '';
|
|
795
|
+
this.codigoIso = '';
|
|
796
|
+
this.simbolo = '';
|
|
797
|
+
this.separadorDecimal = '';
|
|
798
|
+
this.separadorMiles = '';
|
|
799
|
+
this.decimales = 0;
|
|
800
|
+
if (moneda) {
|
|
801
|
+
this.codigo = moneda.codmon;
|
|
802
|
+
this.denominacion = moneda.denmon;
|
|
803
|
+
this.codigoIso = moneda.codiso;
|
|
804
|
+
this.separadorDecimal = moneda.separadordec;
|
|
805
|
+
this.separadorMiles = moneda.separadormil;
|
|
806
|
+
this.simbolo = moneda.simmon;
|
|
807
|
+
this.decimales = parseInt(moneda.decimal);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
dataInterface() {
|
|
811
|
+
return {
|
|
812
|
+
codmon: this.codigo,
|
|
813
|
+
denmon: this.denominacion,
|
|
814
|
+
codiso: this.codigoIso,
|
|
815
|
+
simmon: this.simbolo,
|
|
816
|
+
separadordec: this.separadorDecimal,
|
|
817
|
+
separadormil: this.separadorMiles,
|
|
818
|
+
decimal: this.decimales.toString()
|
|
819
|
+
};
|
|
719
820
|
}
|
|
720
821
|
}
|
|
721
822
|
|
|
@@ -1199,16 +1300,59 @@ class MAllStructure {
|
|
|
1199
1300
|
}
|
|
1200
1301
|
}
|
|
1201
1302
|
|
|
1202
|
-
class MCentroCosto {
|
|
1303
|
+
class MCentroCosto extends MBasicModel {
|
|
1203
1304
|
constructor(centroCosto) {
|
|
1305
|
+
super();
|
|
1204
1306
|
this.idEmpresa = 0;
|
|
1205
1307
|
this.idEnterprise = 0;
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1308
|
+
if (centroCosto) {
|
|
1309
|
+
this.idEmpresa = +centroCosto.id_empresa;
|
|
1310
|
+
this.idEnterprise = +centroCosto.id_enterprise;
|
|
1311
|
+
this.centro = centroCosto.centro ? centroCosto.centro : centroCosto.codcencos;
|
|
1312
|
+
this.denominacion = centroCosto.denominacion;
|
|
1313
|
+
}
|
|
1314
|
+
else {
|
|
1315
|
+
this.isNew = true;
|
|
1316
|
+
}
|
|
1210
1317
|
}
|
|
1211
1318
|
;
|
|
1319
|
+
dataInterface() {
|
|
1320
|
+
return {
|
|
1321
|
+
id_empresa: this.idEmpresa.toString(),
|
|
1322
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
1323
|
+
codcencos: this.centro,
|
|
1324
|
+
denominacion: this.denominacion,
|
|
1325
|
+
};
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
class MUsuarioCentroCosto extends MBasicModel {
|
|
1329
|
+
constructor(e) {
|
|
1330
|
+
super();
|
|
1331
|
+
this.idEmpresa = 0;
|
|
1332
|
+
this.idEnterprise = 0;
|
|
1333
|
+
this.codigoCentroCosto = '';
|
|
1334
|
+
this.usuario = '';
|
|
1335
|
+
this.idDtCentro = 0;
|
|
1336
|
+
if (e) {
|
|
1337
|
+
this.idEmpresa = +e.id_empresa;
|
|
1338
|
+
this.idEnterprise = +e.id_enterprise;
|
|
1339
|
+
this.codigoCentroCosto = e.codcencos;
|
|
1340
|
+
this.usuario = e.codusu;
|
|
1341
|
+
this.usuario = e.codusu;
|
|
1342
|
+
}
|
|
1343
|
+
else {
|
|
1344
|
+
this.isNew = true;
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
dataInterface() {
|
|
1348
|
+
return {
|
|
1349
|
+
id_empresa: this.idEmpresa.toString(),
|
|
1350
|
+
id_enterprise: this.idEnterprise.toString(),
|
|
1351
|
+
codcencos: this.codigoCentroCosto,
|
|
1352
|
+
codusu: this.usuario,
|
|
1353
|
+
id_dt_cencos: this.idDtCentro.toString(),
|
|
1354
|
+
};
|
|
1355
|
+
}
|
|
1212
1356
|
}
|
|
1213
1357
|
|
|
1214
1358
|
class MFuenteFinanciamiento {
|
|
@@ -1552,17 +1696,31 @@ class MUserDetail extends MBasicModel {
|
|
|
1552
1696
|
}
|
|
1553
1697
|
}
|
|
1554
1698
|
|
|
1555
|
-
class MSistema {
|
|
1699
|
+
class MSistema extends MBasicModel {
|
|
1556
1700
|
constructor(sis) {
|
|
1701
|
+
super();
|
|
1557
1702
|
this.nombre = null;
|
|
1558
1703
|
this.codigo = null;
|
|
1559
1704
|
this.estado = null;
|
|
1560
1705
|
this.usuarios = [];
|
|
1561
1706
|
this.eliminados = [];
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1707
|
+
if (sis) {
|
|
1708
|
+
this.nombre = sis.nomsis;
|
|
1709
|
+
this.codigo = sis.codsis;
|
|
1710
|
+
this.estado = sis.estsis;
|
|
1711
|
+
this.usuarios = sis.usuarios.map(e => new MUserDetail(e));
|
|
1712
|
+
}
|
|
1713
|
+
else {
|
|
1714
|
+
this.isNew = true;
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
dataInterface() {
|
|
1718
|
+
return {
|
|
1719
|
+
codsis: this.nombre,
|
|
1720
|
+
nomsis: this.codigo,
|
|
1721
|
+
estsis: this.estado,
|
|
1722
|
+
usuarios: this.usuarios.map(function (e) { return e.turnToInterface(); }),
|
|
1723
|
+
};
|
|
1566
1724
|
}
|
|
1567
1725
|
}
|
|
1568
1726
|
|
|
@@ -5293,6 +5451,42 @@ class MComunidad {
|
|
|
5293
5451
|
}
|
|
5294
5452
|
}
|
|
5295
5453
|
|
|
5454
|
+
class MExchangeRate extends MBasicModel {
|
|
5455
|
+
constructor(e) {
|
|
5456
|
+
super();
|
|
5457
|
+
this.codigoMoneda = 0;
|
|
5458
|
+
this.fechaDesde = '1900-01-01';
|
|
5459
|
+
this.horaCambioTasa = '';
|
|
5460
|
+
this.fechaHasta = '1900-01-01';
|
|
5461
|
+
this.montoTasa = 0;
|
|
5462
|
+
this.denominacionMoneda = '';
|
|
5463
|
+
this.idTasaCambio = 0;
|
|
5464
|
+
if (e) {
|
|
5465
|
+
this.idTasaCambio = +e.id_tascam;
|
|
5466
|
+
this.codigoMoneda = +e.codmon;
|
|
5467
|
+
this.fechaDesde = e.fectasdes;
|
|
5468
|
+
this.horaCambioTasa = e.horcamtas;
|
|
5469
|
+
this.fechaHasta = e.fectashas;
|
|
5470
|
+
this.montoTasa = +e.montascam;
|
|
5471
|
+
this.denominacionMoneda = e.denmon;
|
|
5472
|
+
}
|
|
5473
|
+
else {
|
|
5474
|
+
this.isNew = true;
|
|
5475
|
+
}
|
|
5476
|
+
}
|
|
5477
|
+
dataInterface() {
|
|
5478
|
+
return {
|
|
5479
|
+
id_tascam: this.idTasaCambio.toString(),
|
|
5480
|
+
codmon: this.codigoMoneda.toString(),
|
|
5481
|
+
fectasdes: this.fechaDesde,
|
|
5482
|
+
horcamtas: this.horaCambioTasa,
|
|
5483
|
+
fectashas: this.fechaHasta,
|
|
5484
|
+
montascam: this.montoTasa.toString(),
|
|
5485
|
+
denmon: this.denominacionMoneda,
|
|
5486
|
+
};
|
|
5487
|
+
}
|
|
5488
|
+
}
|
|
5489
|
+
|
|
5296
5490
|
class SigespService {
|
|
5297
5491
|
// public URL: string = "http://192.168.1.67/sigesp_php";
|
|
5298
5492
|
// usuarioActivo: MUsuario = {
|
|
@@ -5787,6 +5981,14 @@ class SigespService {
|
|
|
5787
5981
|
return res;
|
|
5788
5982
|
}));
|
|
5789
5983
|
}
|
|
5984
|
+
getUserCostCenters(codigo) {
|
|
5985
|
+
return this.http.get(`${this.URL}/dao/scg/control_numero_usuario_dao.php?codigo=${codigo}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
5986
|
+
if (res.success) {
|
|
5987
|
+
res.data = res.data.map(element => new MUsuarioCentroCosto(element));
|
|
5988
|
+
}
|
|
5989
|
+
return res;
|
|
5990
|
+
}));
|
|
5991
|
+
}
|
|
5790
5992
|
/**
|
|
5791
5993
|
* @description Abre el dialog de checkks
|
|
5792
5994
|
* @param columns Columnas que va a tener la tabla
|
|
@@ -6115,6 +6317,15 @@ class SigespService {
|
|
|
6115
6317
|
getMonedas(tipo, id) {
|
|
6116
6318
|
return this.http.get(`${this.URL}/dao/cfg/monedas_dao.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.map(element => new MMoneda(element))));
|
|
6117
6319
|
}
|
|
6320
|
+
/**
|
|
6321
|
+
* @Description: Obtiene la tasa de cambio
|
|
6322
|
+
* @param tipo string
|
|
6323
|
+
* @param id codigo moneda
|
|
6324
|
+
* @returns array/null
|
|
6325
|
+
*/
|
|
6326
|
+
getCurrencyExchangeRate(tipo = null, id) {
|
|
6327
|
+
return this.http.get(`${this.URL}/dao/cfg/sigesp_tasacambio_moneda.php?tipo=${tipo}&id=${id}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((resp) => resp.map(element => new MExchangeRate(element))));
|
|
6328
|
+
}
|
|
6118
6329
|
/**
|
|
6119
6330
|
* @description Abre el dialog de las las cuentas contables (Cuentas Institucionales)
|
|
6120
6331
|
* @return Promise<McuentaInstitucional>
|
|
@@ -6356,12 +6567,25 @@ class SigespService {
|
|
|
6356
6567
|
* @author Carlos Albornoz
|
|
6357
6568
|
* @modificado 10-01-2022
|
|
6358
6569
|
* @param pais: Codigo del pais
|
|
6570
|
+
* @param estado: Codigo del estado
|
|
6571
|
+
|
|
6359
6572
|
|
|
6360
6573
|
*/
|
|
6361
6574
|
getCity(pais, estado) {
|
|
6362
6575
|
return this.http.get(`${this.URL}/dao/cfg/ciudades_dao.php?pais=${pais}&estado=${estado}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => res.data.map(e => new MCity(e))));
|
|
6363
6576
|
}
|
|
6364
6577
|
/**
|
|
6578
|
+
* @description Obtiene las ciudades
|
|
6579
|
+
* @return Observable<MParish>
|
|
6580
|
+
* @author Dimaly Crespo
|
|
6581
|
+
* @modificado 10-01-2022
|
|
6582
|
+
* @param pais: Codigo del pais
|
|
6583
|
+
|
|
6584
|
+
*/
|
|
6585
|
+
getCommunities(pais, estado, municipio, parroquia) {
|
|
6586
|
+
return this.http.get(`${this.URL}/dao/cfg/comunidades_dao.php?pais=${pais}&estado=${estado}&municipio=${municipio}&parroquia=${parroquia}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => res.data.map(e => new MCommunity(e))));
|
|
6587
|
+
}
|
|
6588
|
+
/**
|
|
6365
6589
|
* @description Obtiene los sistemas activas
|
|
6366
6590
|
* @return Observable<MSistema>
|
|
6367
6591
|
* @author Carlos Albornoz
|
|
@@ -6465,6 +6689,21 @@ class SigespService {
|
|
|
6465
6689
|
return res;
|
|
6466
6690
|
}));
|
|
6467
6691
|
}
|
|
6692
|
+
/**
|
|
6693
|
+
* @description Obtiene los pefijo
|
|
6694
|
+
* @param procede De que módulo procede
|
|
6695
|
+
* @param codsis Código del sistema
|
|
6696
|
+
* @return Observable<MUsuarioPrefijo[]>
|
|
6697
|
+
* @author DimalyCrespo 17-12-2022
|
|
6698
|
+
*/
|
|
6699
|
+
getPrefix(filter = null, code = null) {
|
|
6700
|
+
return this.http.get(`${this.URL}/dao/cfg/control_numero_dao.php${filter ? `?filter=${filter}&code=${code}` : ''}`, { headers: this.getHttpHeaders() }).pipe(retry(3), catchError(this.handlerError), map((res) => {
|
|
6701
|
+
if (res.success) {
|
|
6702
|
+
res.data = res.data.map(e => new MPrefijo(e));
|
|
6703
|
+
}
|
|
6704
|
+
return res;
|
|
6705
|
+
}));
|
|
6706
|
+
}
|
|
6468
6707
|
/**
|
|
6469
6708
|
* @description Abre el dialog para buscar los proveedores
|
|
6470
6709
|
* @return Promise<MProveedor>
|
|
@@ -7487,6 +7726,36 @@ AppModule.decorators = [
|
|
|
7487
7726
|
},] }
|
|
7488
7727
|
];
|
|
7489
7728
|
|
|
7729
|
+
class MProcedencia extends MBasicModel {
|
|
7730
|
+
constructor(e) {
|
|
7731
|
+
super();
|
|
7732
|
+
this.procede = '';
|
|
7733
|
+
this.codigoSistema = '';
|
|
7734
|
+
this.operacion = '';
|
|
7735
|
+
this.descripcion = '';
|
|
7736
|
+
this.estatus = 1;
|
|
7737
|
+
if (e) {
|
|
7738
|
+
this.procede = e.procede;
|
|
7739
|
+
this.codigoSistema = e.codsis;
|
|
7740
|
+
this.operacion = e.opeproc;
|
|
7741
|
+
this.descripcion = e.desproc;
|
|
7742
|
+
this.estatus = +e.estdel;
|
|
7743
|
+
}
|
|
7744
|
+
else {
|
|
7745
|
+
this.isNew = true;
|
|
7746
|
+
}
|
|
7747
|
+
}
|
|
7748
|
+
dataInterface() {
|
|
7749
|
+
return {
|
|
7750
|
+
procede: this.procede,
|
|
7751
|
+
codsis: this.codigoSistema,
|
|
7752
|
+
opeproc: this.operacion,
|
|
7753
|
+
desproc: this.descripcion,
|
|
7754
|
+
estdel: this.estatus.toString(),
|
|
7755
|
+
};
|
|
7756
|
+
}
|
|
7757
|
+
}
|
|
7758
|
+
|
|
7490
7759
|
class MAccountMarriage {
|
|
7491
7760
|
constructor(marriage) {
|
|
7492
7761
|
this.idEmpresa = null;
|
|
@@ -12886,5 +13155,5 @@ class customPaginator extends MatPaginatorIntl {
|
|
|
12886
13155
|
* Generated bundle index. Do not edit.
|
|
12887
13156
|
*/
|
|
12888
13157
|
|
|
12889
|
-
export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioPrefijo, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵf, SharedModule as ɵg, CatalogoComponent as ɵh, ConfirmComponent as ɵj, IconComponent as ɵk, TableSelectComponent as ɵl, CatalogoEstructurasComponent as ɵm, CatalogoDobleInputComponent as ɵn, IsoCurrencyPipe as ɵo, CustonMaterialModule as ɵp };
|
|
13158
|
+
export { Acciones, AppModule, CausaEgreso, ContabilizacionNomina, CurrencyService, Destino, EstadoCivil, Estatus, EstatusEstudio, EstatusPersonal, EstatusPersonalNomina, EstatusPrestamo, EstatusVacaciones, Estudios, FormaPago, LetraRif, Longitud, MAccountMarriage, MAdministrativeUnit, MAgenciaBanco, MAllStructure, MAnticipoPrestaciones, MArchivoTxtCampo, MArchivosTxt, MAsignacionCargo, MAspectoEvaluacion, MBank, MBankAccountType, MBasicModel, MBeneficiario, MCalculoPrestacion, MCambioEstatusPersonal, MCargaFamiliar, MCargaMasiva, MCargo, MCargoEstructuraOrganizativa, MCargosNominas, MCargosPersonal, MCentroCosto, MCity, MClasificacionObrero, MClasification, MClause, MClauseModality, MCodigoUnicoRac, MCommunity, MComponent, MComponete, MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos, MComunidad, MConceptoRetencion, MConceptoVacaciones, MConceptosCXP, MConceptosNomina, MConceptosPersonalNomina, MConcursante, MConcurso, MConfigSOC, MConfigSSS, MConfiguracionFideicomiso, MConfiguracionSCG, MConfiguracionSNO, MConfigurationRPC, MConfigurationSPG, MConstanteNomina, MConstantePersonalNomina, MCountry, MCuentaBanco, MCuentaEgresos, MCuentaIngresos, MCuentaInstitucional, MCuentaPresupuesto, MDedicacion, MDeduction, MDeductionType, MDefinicionNomina, MDefinicionesBasicas, MDetaContable, MDetaEntrada, MDeudaAnterior, MDocument, MEmpresa, MEncargaduria, MEnterprise, MEntradaSuministros, MEscalaEvaluacion, MEscalaEvaluacionDt, MEstructuraOrganizativa, MEstructuraPresupuestariaFive, MEstructuraPresupuestariaFiveComplete, MEstructuraPresupuestariaFour, MEstructuraPresupuestariaOne, MEstructuraPresupuestariaThree, MEstructuraPresupuestariaTwo, MEstudiosConcursantes, MEstudiosRealizados, MExchangeRate, MExperienciaLaboral, MFamiliaConcursante, MFamiliares, MFeriados, MFideicomiso, MFideicomisoInteres, MFideicomisoPeriodo, MFideicomisoPeriodoInteres, MFideicomisoPeriodoInteresCatalogo, MFormacionAcademica, MFormacionInformal, MFuenteFinanciamiento, MGrados, MGroup, MHojaTiempo, MHorario, MImpuestoSobreRenta, MItemsEvalucion, MLog, MMetodoBanco, MMetodos, MMoneda, MMonedaConfig, MMunicipality, MNominaSimple, MOrganizationType, MParish, MPeriodoNomina, MPeriodosPlan, MPermisos, MPersonal, MPersonalCuentaBanco, MPersonalJubilado, MPersonalNomina, MPlanHorario, MPlanUnicoCuenta, MPlantillasConstancia, MPrefijo, MPrestacionesAntiguedad, MPrestamo, MPrestamoAmortizacion, MPrestamosPeriodo, MPrevioEvaluacion, MPrevioEvaluacionDt, MPrimaGrados, MPrimasConcepto, MProcedencia, MProveedor, MProviderBankAccount, MProviderBeneficiary, MRArchivoTXT, MRConsolidadoConceptos, MRConstanciaTrabajo, MRango, MRequisitosConcursantes, MRequisitosConcursos, MRequisitosMinimos, MResultadosEvaluacion, MRights, MSalarioHistorico, MService, MServiceCharge, MServiceType, MSigecofBank, MSistema, MSnoLog, MSolicitudEmpleo, MSpecialty, MState, MSueldoMinimo, MTablaVacaciones, MTablaVacacionesPeriodo, MTabulador, MTabuladorNominas, MTipoDepositos, MTipoDocumentoCXP, MTipoEvaluacion, MTipoEvaluacionAspecto, MTipoPersonal, MTiposEnfermedad, MTrabajoAnterior, MTrabajosConcursantes, MUbicacionFisica, MUnidadTributaria, MUserDetail, MUserPermit, MUsuario, MUsuarioCentroCosto, MUsuarioPrefijo, MVacacionesPersonal, Meses, MetodosTicket, Nacionalidad, Nexofamiliar, NivelAcademico, NivelAcademicoFamiliar, Orden, Preaviso, Reporte, SalarioNormal, Sexo, Sexo2, SigespService, Signo, SituacionPersonal, TipoBeneficiario, TipoCestaTicket, TipoCuota, TipoDefiniciones, TipoEmpresa, TipoHorario, TipoJubilacion, TipoNomina, TipoPeriodoNomina, TipoPermiso, TipoVivienda, Turno, academico, camposConstaciaTrabajo, customPaginator, AppComponent as ɵf, SharedModule as ɵg, CatalogoComponent as ɵh, ConfirmComponent as ɵj, IconComponent as ɵk, TableSelectComponent as ɵl, CatalogoEstructurasComponent as ɵm, CatalogoDobleInputComponent as ɵn, IsoCurrencyPipe as ɵo, CustonMaterialModule as ɵp };
|
|
12890
13159
|
//# sourceMappingURL=sigesp.js.map
|