Implementación AnomalIA - Fix de dropdowns y permisos.
All checks were successful
Optimized Build and Deploy / remote-build-and-deploy (push) Successful in 5m17s

This commit is contained in:
2025-06-30 15:26:14 -03:00
parent 95aa09d62a
commit c96d259892
59 changed files with 1430 additions and 337 deletions

View File

@@ -76,6 +76,9 @@ import GestionarNovedadesCanillaPage from '../pages/Distribucion/GestionarNoveda
import ReporteNovedadesCanillasPage from '../pages/Reportes/ReporteNovedadesCanillasPage';
import ReporteListadoDistMensualPage from '../pages/Reportes/ReporteListadoDistMensualPage';
// Anonalías
import AlertasPage from '../pages/Anomalia/AlertasPage';
// Auditorias
import GestionarAuditoriaUsuariosPage from '../pages/Usuarios/Auditoria/GestionarAuditoriaUsuariosPage';
import AuditoriaGeneralPage from '../pages/Auditoria/AuditoriaGeneralPage';
@@ -130,6 +133,19 @@ const AppRoutes = () => {
{/* Rutas hijas que se renderizarán en el Outlet de MainLayoutWrapper */}
<Route index element={<HomePage />} /> {/* Para la ruta exacta "/" */}
{/* Módulo de Anomalías */}
<Route
path="anomalias"
element={
<SectionProtectedRoute requiredPermission="AL001" sectionName="Anomalías">
<Outlet />
</SectionProtectedRoute>
}
>
<Route index element={<Navigate to="alertas" replace />} />
<Route path="alertas" element={<AlertasPage />} />
</Route>
{/* Módulo de Distribución (anidado) */}
<Route
path="distribucion"