mower-ng/ui/src/routes.js
zhbaor 8131d573c8
All checks were successful
ci/woodpecker/push/check_format Pipeline was successful
设置界面改进
2024-12-11 23:51:21 +08:00

79 lines
2 KiB
JavaScript

export const routes = [
{
path: '/',
children: [
{
path: '',
component: () => import('@/pages/Log.vue'),
meta: { title: '日志' },
name: 'log'
},
{
path: 'plan-editor',
component: () => import('@/pages/Plan.vue'),
meta: { title: '排班' },
name: 'plan'
},
{
path: 'settings',
component: () => import('@/pages/MobileSettings.vue'),
meta: { title: '设置' },
name: 'settings'
},
{
path: 'aio',
component: () => import('@/pages/Material_all_in_one.vue'),
meta: { title: '设置' },
name: 'aio'
},
{
path: 'doc',
component: () => import('@/pages/Doc.vue'),
meta: { title: '文档' },
name: 'doc'
},
{
path: 'BasementSkill',
component: () => import('@/pages/BasementSkill.vue'),
meta: { title: '基建技能' },
name: 'BasementSkill'
},
{
path: 'debug',
component: () => import('@/pages/DebugConsole.vue'),
meta: { title: '日志' },
name: 'DebugConsole'
},
{
path: 'record',
children: [
{
path: 'line',
component: () => import('@/pages/RecordLine.vue'),
meta: { title: '心情曲线' },
name: 'record_line'
},
{
path: 'depot',
component: () => import('@/pages/depot.vue'),
meta: { title: '仓库数据' },
name: 'depot'
},
{
path: 'pie',
component: () => import('@/pages/RecordPie.vue'),
meta: { title: '心情饼图' },
name: 'record_pie'
},
{
path: 'report',
component: () => import('@/pages/report.vue'),
meta: { title: '基建报告' },
name: 'report'
}
]
}
]
},
{ path: '/:pathMatch(.*)', component: () => import('@/pages/NotFound.vue') }
]