Feat: agregar 4 flujos complejos al seed y filtrar lotes finales en grafos
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m6s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 1m6s
- Agregar flujo 5: Las Nubes (Geisha) + El Paraíso (Castillo) → SEC-EXOTIC-001 - Agregar flujo 6: Santa Rita (Caturra Rojo) → División → SEC-SRT-PREM-001 + SEC-SRT-STD-001 - Agregar flujo 7: Trinidad + San José + Villa Rosa → Triple Blend → SEC-TRIPLE-001 - Agregar flujo 8: Mezcla de segundas calidades → SEC-COMERCIAL-001 - Implementar filtro soloFinales en queries, API y composable - Modificar tab Grafos para mostrar solo lotes finales (sin hijos) - Actualizar descripción de tab Grafos para clarificar el filtro - Total: 7 lotes finales de secado para visualización de grafos
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-3">
|
||||
<div>
|
||||
<h3 class="text-xl font-semibold">Grafo de trazabilidad</h3>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">Visualiza el grafo desde el lote seleccionado (por defecto el más reciente).</p>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">Visualiza el grafo completo desde un lote final (sin hijos). Solo se muestran lotes que no han sido procesados.</p>
|
||||
</div>
|
||||
<div class="flex gap-2 items-center">
|
||||
<USelect
|
||||
@@ -418,7 +418,8 @@ const loadGraphLotes = async () => {
|
||||
graphLoading.value = true
|
||||
graphError.value = null
|
||||
try {
|
||||
const lotes = await fetchLotesComposable()
|
||||
// Filtrar solo lotes finales (sin hijos) para el grafo
|
||||
const lotes = await fetchLotesComposable({ soloFinales: true })
|
||||
graphLotes.value = lotes.sort((a, b) =>
|
||||
new Date(b.fecha_creado).getTime() - new Date(a.fecha_creado).getTime()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user