From d8282a4dc8661a71aaf1d1024924dc9a22beb9f2 Mon Sep 17 00:00:00 2001 From: IO420 <320154041@pcpuma.acatlan.unam.mx> Date: Fri, 21 Nov 2025 10:33:36 -0600 Subject: [PATCH] added termic printer and scanner printer --- src/components/Perifericos/Pregunta1EP.tsx | 49 +++++++++++++++------- 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a/src/components/Perifericos/Pregunta1EP.tsx b/src/components/Perifericos/Pregunta1EP.tsx index 98a57dc..34694f3 100644 --- a/src/components/Perifericos/Pregunta1EP.tsx +++ b/src/components/Perifericos/Pregunta1EP.tsx @@ -14,7 +14,8 @@ interface EquiposImpresion { laserAltoVolumenColor: string; impresora3D: string; plotter: string; - // credencial: string; + credencial: string; + termica: string; } export default function Pregunta1EP() { @@ -28,7 +29,8 @@ export default function Pregunta1EP() { laserAltoVolumenColor: "0", impresora3D: "0", plotter: "0", - // credencial: "0", + credencial: "0", + termica: "0", }); const api_url = process.env.NEXT_PUBLIC_API_URL; @@ -54,7 +56,8 @@ export default function Pregunta1EP() { laserAltoVolumenColor: "0", impresora3D: "0", plotter: "0", - // credencial: "0", + credencial: "0", + termica: "0", }; data.forEach((item: any) => { @@ -92,9 +95,12 @@ export default function Pregunta1EP() { case "3D": valores.impresora3D = total; break; - // case "IMPRESORA CREDENCIALES": - // valores.credencial = total; - // break; + case "IMPRESORA CREDENCIALES": + valores.credencial = total; + break; + case "IMPRESORA TÉRMICA": + valores.termica = total; + break; case "PLOTTER": valores.plotter = total; break; @@ -154,6 +160,17 @@ export default function Pregunta1EP() { /> +