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',
|
guard: 'resource',
|
||||||
resourceKey: 'cadastro-of',
|
resourceKey: 'cadastro-of',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/ficha-tecnica',
|
||||||
|
component: () => import('@/pages/CadastroOF'),
|
||||||
|
guard: 'resource',
|
||||||
|
resourceKey: 'cadastro-of',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/seletor-of',
|
path: '/seletor-of',
|
||||||
component: () => import('@/pages/SeletorOF'),
|
component: () => import('@/pages/SeletorOF'),
|
||||||
guard: 'resource',
|
guard: 'resource',
|
||||||
resourceKey: 'cadastro-pecas',
|
resourceKey: 'cadastro-pecas',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/cadastro/pecas',
|
||||||
|
component: () => import('@/pages/SeletorOF'),
|
||||||
|
guard: 'resource',
|
||||||
|
resourceKey: 'cadastro-pecas',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/cadastro-pecas/:ofNumber',
|
path: '/cadastro-pecas/:ofNumber',
|
||||||
component: () => import('@/pages/CadastroPecasFiltrado'),
|
component: () => import('@/pages/CadastroPecasFiltrado'),
|
||||||
@@ -112,6 +124,12 @@ export const routeConfig: RouteDefinition[] = [
|
|||||||
guard: 'resource',
|
guard: 'resource',
|
||||||
resourceKey: 'ofs-cronograma',
|
resourceKey: 'ofs-cronograma',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/cronograma',
|
||||||
|
component: () => import('@/pages/CronogramaOF'),
|
||||||
|
guard: 'resource',
|
||||||
|
resourceKey: 'ofs-cronograma',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/cadastro/ofs-concluidas',
|
path: '/cadastro/ofs-concluidas',
|
||||||
component: () => import('@/pages/OFsConcluidas'),
|
component: () => import('@/pages/OFsConcluidas'),
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ const STEPS: ProcessStep[] = [
|
|||||||
orderNumber: 1,
|
orderNumber: 1,
|
||||||
title: 'Ficha Técnica & Contrato',
|
title: 'Ficha Técnica & Contrato',
|
||||||
subtitle: 'Especificações e base do cliente',
|
subtitle: 'Especificações e base do cliente',
|
||||||
route: '/ficha-tecnica',
|
route: '/cadastro-of',
|
||||||
phaseId: 'engenharia',
|
phaseId: 'engenharia',
|
||||||
phaseName: '1. Engenharia & Cadastros',
|
phaseName: '1. Engenharia & Cadastros',
|
||||||
phaseColor: {
|
phaseColor: {
|
||||||
@@ -176,7 +176,7 @@ const STEPS: ProcessStep[] = [
|
|||||||
orderNumber: 3,
|
orderNumber: 3,
|
||||||
title: 'Cadastro de Peças & Conjuntos',
|
title: 'Cadastro de Peças & Conjuntos',
|
||||||
subtitle: 'A lista de corte e montagem',
|
subtitle: 'A lista de corte e montagem',
|
||||||
route: '/cadastro/pecas',
|
route: '/seletor-of',
|
||||||
phaseId: 'engenharia',
|
phaseId: 'engenharia',
|
||||||
phaseName: '1. Engenharia & Cadastros',
|
phaseName: '1. Engenharia & Cadastros',
|
||||||
phaseColor: {
|
phaseColor: {
|
||||||
@@ -211,7 +211,7 @@ const STEPS: ProcessStep[] = [
|
|||||||
orderNumber: 4,
|
orderNumber: 4,
|
||||||
title: 'Cronograma & Metas',
|
title: 'Cronograma & Metas',
|
||||||
subtitle: 'Curva planejada por processo',
|
subtitle: 'Curva planejada por processo',
|
||||||
route: '/cronograma',
|
route: '/ofs/cronograma',
|
||||||
phaseId: 'pcp',
|
phaseId: 'pcp',
|
||||||
phaseName: '2. Planejamento & PCP',
|
phaseName: '2. Planejamento & PCP',
|
||||||
phaseColor: {
|
phaseColor: {
|
||||||
|
|||||||
Reference in New Issue
Block a user