[ADD] NUEVOS CAMBOS Y FILTROS

parent 273b20c0
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"@angular/platform-browser-dynamic": "^18.2.0", "@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0", "@angular/router": "^18.2.0",
"axios": "^1.7.7", "axios": "^1.7.7",
"ngx-mat-timepicker": "^19.0.0",
"notiflix": "^3.2.8", "notiflix": "^3.2.8",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
...@@ -10178,6 +10179,26 @@ ...@@ -10178,6 +10179,26 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/ngx-mat-timepicker": {
"version": "19.0.0",
"resolved": "https://registry.npmjs.org/ngx-mat-timepicker/-/ngx-mat-timepicker-19.0.0.tgz",
"integrity": "sha512-r40jia6koyxwPRU8vG7XyeqfZrKI7tMnwcF6a4EqYiX5cM8CODpLeAq686fQteFD00dBc+t57+pCC1MMDp36Kw==",
"license": "MIT",
"dependencies": {
"ts-luxon": "^5.0.6",
"tslib": "^2.5.3"
},
"peerDependencies": {
"@angular/animations": "^19.0.0",
"@angular/cdk": "^19.0.0",
"@angular/common": "^19.0.0",
"@angular/compiler": "^19.0.0",
"@angular/core": "^19.0.0",
"@angular/forms": "^19.0.0",
"@angular/material": "^19.0.0",
"@angular/platform-browser": "^19.0.0"
}
},
"node_modules/nice-napi": { "node_modules/nice-napi": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz",
...@@ -13406,6 +13427,15 @@ ...@@ -13406,6 +13427,15 @@
"dev": true, "dev": true,
"license": "Apache-2.0" "license": "Apache-2.0"
}, },
"node_modules/ts-luxon": {
"version": "5.0.6",
"resolved": "https://registry.npmjs.org/ts-luxon/-/ts-luxon-5.0.6.tgz",
"integrity": "sha512-FFSi0UKcQ8lgCBBTl6OMGcp26cANEV67cwJyXi4pTHuxa28wJUDtjBwcgDGn04a+wqtnHqdNaMnor2UDicmPDQ==",
"license": "MIT",
"engines": {
"node": ">=13"
}
},
"node_modules/tslib": { "node_modules/tslib": {
"version": "2.7.0", "version": "2.7.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
"@angular/platform-browser-dynamic": "^18.2.0", "@angular/platform-browser-dynamic": "^18.2.0",
"@angular/router": "^18.2.0", "@angular/router": "^18.2.0",
"axios": "^1.7.7", "axios": "^1.7.7",
"ngx-mat-timepicker": "^19.0.0",
"notiflix": "^3.2.8", "notiflix": "^3.2.8",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
......
...@@ -42,3 +42,7 @@ mat-label { ...@@ -42,3 +42,7 @@ mat-label {
opacity: 1; /* Por defecto, el label será completamente visible */ opacity: 1; /* Por defecto, el label será completamente visible */
} }
.custom-snackbar {
white-space: pre-line; /* Permite respetar saltos de línea */
}
...@@ -26,6 +26,15 @@ export class ConformidadHelper { ...@@ -26,6 +26,15 @@ export class ConformidadHelper {
} }
} }
async cargarCargosU(){
const respuesta = await this.ConformidadService.listadoGeneral(4);
if(respuesta?.status){
return respuesta.data;
}else{
return [];
}
}
async listadoGeneralHorizon(json: any){ async listadoGeneralHorizon(json: any){
const respuesta = await this.ConformidadService.listadoGeneralHorizon(json); const respuesta = await this.ConformidadService.listadoGeneralHorizon(json);
if (respuesta?.status) { if (respuesta?.status) {
......
...@@ -71,7 +71,9 @@ export class ConformidadService { ...@@ -71,7 +71,9 @@ export class ConformidadService {
desctrabajo: json.desctrabajo || '', desctrabajo: json.desctrabajo || '',
pasaje : json.pasaje || 0, pasaje : json.pasaje || 0,
codrequerimiento : json.codrequerimiento || 0, codrequerimiento : json.codrequerimiento || 0,
codordensalida : json.codordensalida || 0 codordensalida : json.codordensalida || 0,
minhoratrabajo : json.minhoratrabajo || '',
maxhoratrabajo : json.maxhoratrabajo || '',
}; };
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment