2021-03-01 18:40:58 +08:00
|
|
|
<template>
|
2021-03-12 18:23:32 +08:00
|
|
|
<div class="bar">
|
|
|
|
<menu-nav :menus="menuList" background="#fff" color="#303133" />
|
|
|
|
</div>
|
2021-03-01 18:40:58 +08:00
|
|
|
</template>
|
|
|
|
<script>
|
2021-03-16 18:23:56 +08:00
|
|
|
import MenuNav from './components/menuNav/index';
|
2021-03-01 18:40:58 +08:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'PlanNavBar',
|
|
|
|
components: {
|
|
|
|
MenuNav
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
menuList: [
|
|
|
|
{
|
|
|
|
title: '文件(F)',
|
|
|
|
children: [
|
|
|
|
{
|
2021-03-02 18:21:55 +08:00
|
|
|
title: '打开数据库',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '退出',
|
|
|
|
handle: this.newRunPlan
|
2021-03-01 18:40:58 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '车站(A)',
|
|
|
|
children: [
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '车站平面图(F)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '追踪间隔时分(I)',
|
|
|
|
handle: this.newRunPlan,
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '区间(S)',
|
|
|
|
children: [
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '区间信息(I)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '车底(C)',
|
|
|
|
children: [
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '车底信息(I)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '车底折返时间(R)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
]
|
|
|
|
},
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '列车(N)',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: '区间运行标尺(E)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '列车停站标尺(S)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '列车交路管理(S)',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: 'test1',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: 'test1',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
isSeparation: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'test2',
|
2021-03-04 18:22:32 +08:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: 'test1',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'test2',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
]
|
2021-03-02 18:21:55 +08:00
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'test2',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-03-01 18:40:58 +08:00
|
|
|
{
|
|
|
|
title: '底图结构(D)',
|
|
|
|
children: [
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '生成地图结构(C)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '地图结构管理(M)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '运行图(T)',
|
|
|
|
children: [
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '运行图编制(G)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-03-02 18:21:55 +08:00
|
|
|
title: '系统(S)',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: '系统参数(P)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-03-01 18:40:58 +08:00
|
|
|
title: '帮助(H)',
|
|
|
|
children: [
|
2021-03-02 18:21:55 +08:00
|
|
|
{
|
|
|
|
title: '有关(A)',
|
|
|
|
handle: this.newRunPlan
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
},
|
|
|
|
methods: {
|
2021-03-02 18:21:55 +08:00
|
|
|
newRunPlan() {
|
|
|
|
console.log(11111111)
|
|
|
|
}
|
2021-03-01 18:40:58 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
2021-03-12 18:23:32 +08:00
|
|
|
<style scoped lang="scss">
|
|
|
|
.bar {
|
|
|
|
position: relative;
|
|
|
|
width: 100%
|
2021-03-01 18:40:58 +08:00
|
|
|
}
|
|
|
|
</style>
|