添加静态菜单及对应空白页面;
This commit is contained in:
39
src/router/modules/statistics.ts
Normal file
39
src/router/modules/statistics.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
export default {
|
||||
path: "/statistics",
|
||||
name: "statistics",
|
||||
component: Layout,
|
||||
redirect: "/statistics/flightrecord",
|
||||
meta: {
|
||||
icon: "ep:apple",
|
||||
title: "数据统计",
|
||||
rank: 4
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/statistics/flight-record",
|
||||
name: "flight-record-statistics",
|
||||
component: () => import("@/views/statistics/flightrecord/index.vue"),
|
||||
meta: {
|
||||
title: "飞行记录汇总"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/statistics/flight-time",
|
||||
name: "flight-time-statistics",
|
||||
component: () => import("@/views/statistics/flighttime/index.vue"),
|
||||
meta: {
|
||||
title: "飞行时长统计"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/statistics/aircraft-data",
|
||||
name: "aircraft-data-statistics",
|
||||
component: () => import("@/views/statistics/aircraftdata/index.vue"),
|
||||
meta: {
|
||||
title: "飞行数据统计"
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user