added termic printer and scanner printer

This commit is contained in:
2025-11-21 10:33:36 -06:00
parent 19db5ec5cb
commit d8282a4dc8
+34 -15
View File
@@ -14,7 +14,8 @@ interface EquiposImpresion {
laserAltoVolumenColor: string; laserAltoVolumenColor: string;
impresora3D: string; impresora3D: string;
plotter: string; plotter: string;
// credencial: string; credencial: string;
termica: string;
} }
export default function Pregunta1EP() { export default function Pregunta1EP() {
@@ -28,7 +29,8 @@ export default function Pregunta1EP() {
laserAltoVolumenColor: "0", laserAltoVolumenColor: "0",
impresora3D: "0", impresora3D: "0",
plotter: "0", plotter: "0",
// credencial: "0", credencial: "0",
termica: "0",
}); });
const api_url = process.env.NEXT_PUBLIC_API_URL; const api_url = process.env.NEXT_PUBLIC_API_URL;
@@ -54,7 +56,8 @@ export default function Pregunta1EP() {
laserAltoVolumenColor: "0", laserAltoVolumenColor: "0",
impresora3D: "0", impresora3D: "0",
plotter: "0", plotter: "0",
// credencial: "0", credencial: "0",
termica: "0",
}; };
data.forEach((item: any) => { data.forEach((item: any) => {
@@ -92,9 +95,12 @@ export default function Pregunta1EP() {
case "3D": case "3D":
valores.impresora3D = total; valores.impresora3D = total;
break; break;
// case "IMPRESORA CREDENCIALES": case "IMPRESORA CREDENCIALES":
// valores.credencial = total; valores.credencial = total;
// break; break;
case "IMPRESORA TÉRMICA":
valores.termica = total;
break;
case "PLOTTER": case "PLOTTER":
valores.plotter = total; valores.plotter = total;
break; break;
@@ -154,6 +160,17 @@ export default function Pregunta1EP() {
/> />
</div> </div>
<div className="item">
<label htmlFor="laserAltoVolumenColor">IMPRESORA CREDENCIALES</label>
<input
type="text"
id="laserAltoVolumenColor"
name="laserAltoVolumenColor"
value={equipos.credencial}
disabled
/>
</div>
<div className="item"> <div className="item">
<label htmlFor="laserPequenaBN">Láser pequeña B/N</label> <label htmlFor="laserPequenaBN">Láser pequeña B/N</label>
<input <input
@@ -187,6 +204,17 @@ export default function Pregunta1EP() {
/> />
</div> </div>
<div className="item">
<label htmlFor="matrizPuntos">IMPRESORA TÉRMICA</label>
<input
type="text"
id="matrizPuntos"
name="matrizPuntos"
value={equipos.termica}
disabled
/>
</div>
<div className="item"> <div className="item">
<label htmlFor="matrizPuntos">Matriz de puntos</label> <label htmlFor="matrizPuntos">Matriz de puntos</label>
<input <input
@@ -219,15 +247,6 @@ export default function Pregunta1EP() {
disabled disabled
/> />
</div> </div>
{/* <div className="item">
<label>Credencial</label>
<input
type="text"
value={equipos.credencial}
disabled
/>
</div> */}
</div> </div>
</div> </div>
); );