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
|
|
|
{
|
2025-03-01 22:18:18 +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
|
|
|
{
|
|
|
|
path: '/smart-parking',
|
|
|
|
name: 'smartParking',
|
|
|
|
component: () => import('@/views/smart-parking/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;
|