vehicle-monitor/src/router/modules/home.ts

39 lines
987 B
TypeScript
Raw Normal View History

2025-03-02 22:46:59 +08:00
import Layout from '@/layout/index.vue';
2025-03-01 21:32:03 +08:00
import type { RouteConfigsTable } from '@/types/router/Route';
2025-02-28 20:14:37 +08:00
2025-03-01 21:32:03 +08:00
const routes: RouteConfigsTable[] = [
2025-02-28 20:14:37 +08:00
{
path: '/welcome',
name: 'welcome',
2025-03-01 23:10:44 +08:00
component: () => import('@/views/welcome/index.vue'),
2025-03-01 21:32:03 +08:00
meta: { transition: 'fade', title: '后台管理系统大标题' },
2025-02-28 20:14:37 +08:00
},
2025-03-02 22:46:59 +08:00
{
path: '/manage-forms',
name: 'manageForms',
component: () => import('@/views/manage-forms/index.vue'),
meta: { title: '智慧经营监管中心', subtitle: '园区经营可视化' },
},
2025-02-28 20:14:37 +08:00
{
2025-03-05 13:00:34 +08:00
path: '/smart-park',
2025-02-28 20:14:37 +08:00
name: 'smartParking',
2025-03-05 13:00:34 +08:00
component: () => import('@/views/smart-park/index.vue'),
2025-03-01 21:32:03 +08:00
meta: { title: '智慧智能监管中心', subtitle: '车辆监控中心' },
2025-02-28 20:14:37 +08:00
},
2025-03-01 23:10:44 +08:00
{
2025-03-02 22:46:59 +08:00
path: '/redirect',
component: Layout,
meta: { hidden: true },
children: [
{
path: '/redirect/:path(.*)',
component: () => import('@/views/redirect/index.vue'),
},
],
2025-03-01 23:10:44 +08:00
},
2025-02-28 20:14:37 +08:00
];
export default routes;