hermione scenarios

This commit is contained in:
paola.trabucco
2024-08-01 15:36:09 +02:00
parent e466ff879e
commit fa96add05b
7 changed files with 195 additions and 150 deletions

View File

@@ -1,4 +1,5 @@
import AppLayout from '@/layout/AppLayout.vue';
import { createRouter, createWebHistory } from 'vue-router';
const router = createRouter({
@@ -8,17 +9,23 @@ const router = createRouter({
path: '/',
component: AppLayout,
children: [
{
path: 'scenario',
children: [
{
path: '/scenario',
children: [
{path: 'list', name: 'scenario-list', component: () => import('@/views/pages/ScenarioExec.vue')},
{path: ':id', name: 'scenario-exec', component: () => import('@/views/pages/ScenarioExec.vue')}
]
path: '/',
name: 'scenario-list',
component: () => import('@/views/pages/ScenarioList.vue')
},
]
}
{
path: 'exec/:id',
name: 'scenario-exec',
component: () => import('@/views/pages/ScenarioExec.vue')
}
]
}
]
}
]
});