se cambiò el tamaño del campo serie y se agregò nuevos reportes

This commit is contained in:
2025-11-21 10:21:29 -06:00
parent 519dba72fe
commit df87cb3c58
5 changed files with 92 additions and 58 deletions
+26
View File
@@ -303,6 +303,32 @@ export class EquipoController {
);
}
}
@UseGuards(AuthGuard('jwt'))
@Get('reporte/contar_laboratorio')
async reporte_contar_laboratorio() {
try {
return await this.equipoService.laboratorio_equipos();
} catch (error) {
throw new BadRequestException(
'Error al generar el reporte perifericos_antiguedad:',
error,
);
}
}
@UseGuards(AuthGuard('jwt'))
@Get('reporte/contar_proyecto')
async reporte_contar_proyecto() {
try {
return await this.equipoService.proyecto_equipos();
} catch (error) {
throw new BadRequestException(
'Error al generar el reporte perifericos_antiguedad:',
error,
);
}
}
}
let escritorio = ['ESCRITORIO PC', 'ESCRITORIO MAC OS ', 'ESCRITORIO LINUX'];