Files
gofly-platform-services/zlt-web/yingyan/config/routes.ts
T

48 lines
984 B
TypeScript
Raw Normal View History

2025-12-26 19:50:46 +08:00
/**
* 鹰眼管控平台 - 路由配置
2025-12-30 17:14:17 +08:00
* 支持多平台切换:通用监控大屏 / 海事智慧监控平台
2025-12-26 19:50:46 +08:00
*/
export default [
// 登录页 - 无布局
{
path: '/user/login',
component: '@/pages/user/Login',
layout: false,
},
// 主应用 - 无菜单布局
{
path: '/',
component: '@/layouts/BlankLayout',
routes: [
2025-12-30 17:14:17 +08:00
// 默认跳转海事大屏
2025-12-26 19:50:46 +08:00
{
path: '/',
2025-12-30 17:14:17 +08:00
redirect: '/maritime',
2025-12-26 19:50:46 +08:00
},
2025-12-30 17:14:17 +08:00
// 通用监控大屏首页
2025-12-26 19:50:46 +08:00
{
path: '/dashboard',
component: '@/pages/dashboard',
name: '监控大屏',
},
2025-12-30 17:14:17 +08:00
// 海事智慧监控平台
{
path: '/maritime',
component: '@/pages/maritime/dashboard',
name: '海事监控',
},
2025-12-26 19:50:46 +08:00
// 3D地图
{
path: '/map3d',
component: '@/pages/map3d',
name: '3D地图',
},
// 404
{
path: '*',
component: '@/pages/404',
},
],
},
];