From e4e4042b31ea69d04ca4c820355acf7fec69bdff Mon Sep 17 00:00:00 2001 From: elmer-20 <80175046+elmer-20@users.noreply.github.com> Date: Mon, 16 Mar 2026 09:01:53 -0500 Subject: [PATCH] Update ConvocatoriasSection.vue --- .../WebPageSections/ConvocatoriasSection.vue | 58 ++++++++++--------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/front/src/components/WebPageSections/ConvocatoriasSection.vue b/front/src/components/WebPageSections/ConvocatoriasSection.vue index 0abc7fa..77d2b76 100644 --- a/front/src/components/WebPageSections/ConvocatoriasSection.vue +++ b/front/src/components/WebPageSections/ConvocatoriasSection.vue @@ -15,86 +15,90 @@
- +
Principal
-

{{ store.procesoPrincipal.titulo }}

+

{{ proceso.titulo }}

PreInscripciones: - {{ formatFecha(store.procesoPrincipal.fecha_inicio_preinscripcion) }} + {{ formatFecha(proceso.fecha_inicio_preinscripcion) }} - - {{ formatFecha(store.procesoPrincipal.fecha_fin_inscripcion) }} + {{ formatFecha(proceso.fecha_fin_inscripcion) }}

Inscripciones: - {{ formatFecha(store.procesoPrincipal.fecha_inicio_inscripcion) }} + {{ formatFecha(proceso.fecha_inicio_inscripcion) }} - - {{ formatFecha(store.procesoPrincipal.fecha_fin_inscripcion) }} + {{ formatFecha(proceso.fecha_fin_inscripcion) }}

Examen: - {{ formatFecha(store.procesoPrincipal.fecha_examen1) }} + {{ formatFecha(proceso.fecha_examen1) }} - - {{ formatFecha(store.procesoPrincipal.fecha_examen2) }} + {{ formatFecha(proceso.fecha_examen2) }}

- {{ store.procesoPrincipal.estado }} + {{ proceso.estado }}

- {{ store.procesoPrincipal.descripcion }} + {{ proceso.descripcion }}

Acciones Rápidas

Requisitos Pagos Vacantes Cronograma @@ -128,11 +132,11 @@

Preinscripción en Línea

Completa tu preinscripción de manera virtual y segura

-
+
@@ -145,8 +149,8 @@
{ }) } -const tieneTipo = (tipo) => { - return store.procesoPrincipal?.detalles?.some((d) => d.tipo === tipo) +const tieneTipo = (proceso, tipo) => { + return proceso?.detalles?.some((d) => d.tipo === tipo) } -const abrirPorTipo = (tipo) => { +const abrirPorTipo = (proceso, tipo) => { detallesSeleccionados.value = - store.procesoPrincipal?.detalles?.filter((d) => d.tipo === tipo) ?? [] + proceso?.detalles?.filter((d) => d.tipo === tipo) ?? [] tituloModal.value = tipo.charAt(0).toUpperCase() + tipo.slice(1) modalVisible.value = true