se cambiò el tamaño del campo serie y se agregò nuevos reportes
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user