代码调整

This commit is contained in:
joylink_cuiweidong 2022-09-21 13:20:40 +08:00
parent d184687860
commit c7001e1946

View File

@ -186,7 +186,6 @@ export default {
'script':[
]
},
// {value:'xty', label:'西'},
// {value: 'gzb', label: ''},
// {value: 'xadt', label: '西'},
@ -222,11 +221,11 @@ export default {
{label:'切换客流数据', name:'changeFlowData', click:this.changeFlowData, isShow:true},
{label:'大客流策略', name:'bigLPFStrategy', click:this.bigLPFStrategy, isShow:true},
{label:'权限分发', name:'distribute', click:this.distribute, isShow:true},
{label:'留言板', name:'messageBoard', click:this.messageBoard, isShow:true},
// {label:'', name:'messageBoard', click:this.messageBoard, isShow:true},
{label:'联系方式', name:'contectUs', click:this.contectUs, isShow:true},
{label:'按计划行车', name:'drivingPlan', click:this.drivingPlan, isShow:true},
{label:'初始化', name:'initialize', click:this.initialize, isShow:true},
{label:'退出', name:'backBJD', click:this.backBJD, isShow:true}
{label:'返回', name:'backBJD', click:this.backBJD, isShow:true}
// ATS
],
'designBjd':[
@ -241,7 +240,10 @@ export default {
],
'login':[
{label:'设备视图', name:'jlmap3dmodel', click:this.jlmap3dmodel, isShow:true},
{label:['16', '19'].includes(this.$route.query.lineCode) ? '修改系统时间' : '按计划行车', name:'modifyOrDriving', click:this.modifyOrDriving, isShow:true },
{label:'初始化', name:'initialize', click:this.initialize, isShow:true},
{label:this.$route.query.projectDevice ? '退出' : '返回', name:'backOrQuit', click:this.back, isShow:true }
],
'design':[
@ -312,7 +314,6 @@ export default {
// }
// });
// });
this.menuList = this.projectMenuMap[this.project];
window.addEventListener('click', this.close, false);
},
@ -324,6 +325,13 @@ export default {
event.stopPropagation();
this.active = index;
},
modifyOrDriving() {
if (this.datie) {
this.modifySysTime();
} else {
this.drivingPlan();
}
},
close() {
this.hideMenuList();
},