diff --git a/src/config/routeConfig.ts b/src/config/routeConfig.ts index 8df0154..1d33f64 100644 --- a/src/config/routeConfig.ts +++ b/src/config/routeConfig.ts @@ -49,12 +49,24 @@ export const routeConfig: RouteDefinition[] = [ guard: 'resource', resourceKey: 'cadastro-of', }, + { + path: '/ficha-tecnica', + component: () => import('@/pages/CadastroOF'), + guard: 'resource', + resourceKey: 'cadastro-of', + }, { path: '/seletor-of', component: () => import('@/pages/SeletorOF'), guard: 'resource', resourceKey: 'cadastro-pecas', }, + { + path: '/cadastro/pecas', + component: () => import('@/pages/SeletorOF'), + guard: 'resource', + resourceKey: 'cadastro-pecas', + }, { path: '/cadastro-pecas/:ofNumber', component: () => import('@/pages/CadastroPecasFiltrado'), @@ -112,6 +124,12 @@ export const routeConfig: RouteDefinition[] = [ guard: 'resource', resourceKey: 'ofs-cronograma', }, + { + path: '/cronograma', + component: () => import('@/pages/CronogramaOF'), + guard: 'resource', + resourceKey: 'ofs-cronograma', + }, { path: '/cadastro/ofs-concluidas', component: () => import('@/pages/OFsConcluidas'), diff --git a/src/pages/MapaInterativo.tsx b/src/pages/MapaInterativo.tsx index b1f4d56..5675a10 100644 --- a/src/pages/MapaInterativo.tsx +++ b/src/pages/MapaInterativo.tsx @@ -107,7 +107,7 @@ const STEPS: ProcessStep[] = [ orderNumber: 1, title: 'Ficha Técnica & Contrato', subtitle: 'Especificações e base do cliente', - route: '/ficha-tecnica', + route: '/cadastro-of', phaseId: 'engenharia', phaseName: '1. Engenharia & Cadastros', phaseColor: { @@ -176,7 +176,7 @@ const STEPS: ProcessStep[] = [ orderNumber: 3, title: 'Cadastro de Peças & Conjuntos', subtitle: 'A lista de corte e montagem', - route: '/cadastro/pecas', + route: '/seletor-of', phaseId: 'engenharia', phaseName: '1. Engenharia & Cadastros', phaseColor: { @@ -211,7 +211,7 @@ const STEPS: ProcessStep[] = [ orderNumber: 4, title: 'Cronograma & Metas', subtitle: 'Curva planejada por processo', - route: '/cronograma', + route: '/ofs/cronograma', phaseId: 'pcp', phaseName: '2. Planejamento & PCP', phaseColor: {