sigesp 0.9.0-20220727 → 0.9.2-20220820
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 +21 -8
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Nomina.js +1 -1
- package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +4 -4
- package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +15 -1
- package/esm2015/lib/core/models/SNO/MPeriodoNomina.model.js +1 -1
- package/esm2015/lib/core/models/SNO/MPermisos.model.js +2 -2
- package/esm2015/lib/shared/components/table-select/table-select.component.js +4 -4
- package/fesm2015/sigesp.js +21 -7
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/models/SNO/MConceptosNomina.model.d.ts +1 -1
- package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +1 -0
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
package/fesm2015/sigesp.js
CHANGED
|
@@ -891,7 +891,7 @@ class TableSelectComponent {
|
|
|
891
891
|
ngAfterViewInit() {
|
|
892
892
|
this.dataSource.paginator = this.paginator;
|
|
893
893
|
this.dataSource.sort = this.sort;
|
|
894
|
-
this.sort.sortChange.subscribe(() => this.paginator.pageIndex = 0);
|
|
894
|
+
// this.sort.sortChange.subscribe(() => this.paginator.pageIndex = 0);
|
|
895
895
|
}
|
|
896
896
|
isAllSelected() {
|
|
897
897
|
const numSelected = this.selection.selected.length;
|
|
@@ -943,8 +943,8 @@ TableSelectComponent.ctorParameters = () => [
|
|
|
943
943
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
944
944
|
];
|
|
945
945
|
TableSelectComponent.propDecorators = {
|
|
946
|
-
paginator: [{ type: ViewChild, args: [MatPaginator,] }],
|
|
947
|
-
sort: [{ type: ViewChild, args: [MatSort,] }]
|
|
946
|
+
paginator: [{ type: ViewChild, args: [MatPaginator, { static: true },] }],
|
|
947
|
+
sort: [{ type: ViewChild, args: [MatSort, { static: true },] }]
|
|
948
948
|
};
|
|
949
949
|
|
|
950
950
|
class MConfigurationSPG {
|
|
@@ -3533,6 +3533,20 @@ class MDefinicionNomina extends MBasicModel {
|
|
|
3533
3533
|
fechaFinaPeriodoActual() {
|
|
3534
3534
|
return this.periodosNomina[this.indice()].fechaHastaperiodo;
|
|
3535
3535
|
}
|
|
3536
|
+
ultimoPeriodoNomina() {
|
|
3537
|
+
if (this.numeroPeriodoNomina == 52) {
|
|
3538
|
+
return '052';
|
|
3539
|
+
}
|
|
3540
|
+
else if (this.numeroPeriodoNomina == 24) {
|
|
3541
|
+
return '024';
|
|
3542
|
+
}
|
|
3543
|
+
else if (this.numeroPeriodoNomina == 12) {
|
|
3544
|
+
return '012';
|
|
3545
|
+
}
|
|
3546
|
+
else if (this.numeroPeriodoNomina == 1) {
|
|
3547
|
+
return '001';
|
|
3548
|
+
}
|
|
3549
|
+
}
|
|
3536
3550
|
}
|
|
3537
3551
|
|
|
3538
3552
|
class MAsignacionCargo extends MBasicModel {
|
|
@@ -8066,7 +8080,7 @@ class MConceptosNomina extends MBasicModel {
|
|
|
8066
8080
|
this.denominacionNomina = '';
|
|
8067
8081
|
this.codigoNomina = '';
|
|
8068
8082
|
this.idTipoConceptoEspecial = 0;
|
|
8069
|
-
this.
|
|
8083
|
+
this.estatusIncidencia = 0;
|
|
8070
8084
|
this.registroIncidencia = '';
|
|
8071
8085
|
this.formulaIncidencia = '';
|
|
8072
8086
|
this.formulaReducida = '';
|
|
@@ -8131,7 +8145,7 @@ class MConceptosNomina extends MBasicModel {
|
|
|
8131
8145
|
this.denominacionNomina = e.dennom;
|
|
8132
8146
|
this.codigoNomina = e.codnom;
|
|
8133
8147
|
this.idTipoConceptoEspecial = parseInt(e.id_tipconesp);
|
|
8134
|
-
this.
|
|
8148
|
+
this.estatusIncidencia = parseInt(e.estincidencia);
|
|
8135
8149
|
this.registroIncidencia = e.regincidencia;
|
|
8136
8150
|
this.formulaIncidencia = e.forincidencia;
|
|
8137
8151
|
this.orden = parseInt(e.orden);
|
|
@@ -8207,7 +8221,7 @@ class MConceptosNomina extends MBasicModel {
|
|
|
8207
8221
|
dennom: this.denominacionNomina,
|
|
8208
8222
|
codnom: this.codigoNomina,
|
|
8209
8223
|
id_tipconesp: this.idTipoConceptoEspecial.toString(),
|
|
8210
|
-
estincidencia: this.
|
|
8224
|
+
estincidencia: this.estatusIncidencia.toString(),
|
|
8211
8225
|
regincidencia: this.registroIncidencia,
|
|
8212
8226
|
forincidencia: this.formulaIncidencia,
|
|
8213
8227
|
orden: this.orden.toString(),
|
|
@@ -11184,7 +11198,7 @@ class MPermisos extends MBasicModel {
|
|
|
11184
11198
|
this.idEmpresa = +e.id_empresa;
|
|
11185
11199
|
this.idPersonal = +e.id_personal;
|
|
11186
11200
|
this.idPermiso = +e.id_permiso;
|
|
11187
|
-
this.fechaInicioPermiso = e.
|
|
11201
|
+
this.fechaInicioPermiso = e.feciniper;
|
|
11188
11202
|
this.fechaFinPermiso = e.fecfinper;
|
|
11189
11203
|
this.numeroDiasPermiso = +e.numdiapero;
|
|
11190
11204
|
this.afectaVacaionesPermiso = e.afevacper == 1 ? true : false;
|