添加静态菜单及对应空白页面;
This commit is contained in:
64
src/router/modules/aircraft.ts
Normal file
64
src/router/modules/aircraft.ts
Normal file
@@ -0,0 +1,64 @@
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
export default {
|
||||
path: "/aircraft",
|
||||
name: "aircraft",
|
||||
component: Layout,
|
||||
redirect: "/aircraft/archives",
|
||||
meta: {
|
||||
icon: "ep:apple",
|
||||
title: "飞机管理",
|
||||
rank: 5
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/aircraft/archives",
|
||||
name: "archives",
|
||||
component: () => import("@/views/aircraft/archives/index.vue"),
|
||||
meta: {
|
||||
title: "飞机档案"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/aircraft/time-control",
|
||||
name: "timecontrol",
|
||||
component: () => import("@/views/aircraft/timecontrol/index.vue"),
|
||||
meta: {
|
||||
title: "时控件"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/aircraft/disassemble",
|
||||
name: "disassemble",
|
||||
component: () => import("@/views/aircraft/disassemble/index.vue"),
|
||||
meta: {
|
||||
title: "拆卸记录"
|
||||
}
|
||||
},
|
||||
{
|
||||
// Maintenance Planning Data
|
||||
path: "/aircraft/mpd",
|
||||
name: "mpd",
|
||||
component: () => import("@/views/aircraft/mpd/index.vue"),
|
||||
meta: {
|
||||
title: "维修项目控制"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/aircraft/ad-sb",
|
||||
name: "adsb",
|
||||
component: () => import("@/views/aircraft/adsb/index.vue"),
|
||||
meta: {
|
||||
title: "AD/SB"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/aircraft/exchange",
|
||||
name: "exchange",
|
||||
component: () => import("@/views/aircraft/exchange/index.vue"),
|
||||
meta: {
|
||||
title: "串换件记录"
|
||||
}
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
Reference in New Issue
Block a user