fix: sincronizar rotas oficiais de todas as etapas do mapa interativo e criar aliases
This commit is contained in:
@@ -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'),
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user