From 90554bd2be9ac46c10945befb35f4135f9a605be Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 13 Sep 2022 17:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/display/simulationMenu.vue | 30 +++++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index d00c4092c..c4b81c816 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -62,15 +62,15 @@ export default { {label:'退出剧本', name:'quitScript', click:this.quitScript, isShow:true}, {label:'开始', name:'start', click:this.startSimulation, isShow:true}, // 暂停 {label:'按计划行车', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'初始化', name:'drivingPlan', click:this.drivingPlan, isShow:true} + {label:'初始化', name:'initialize', click:this.initialize, isShow:true} ]}, {label:'设备操作', name:'deviceOprate', isShow:true, children:[ {label:'数字沙盘', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'cctv视图', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'故障设备', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'司机视角', name:'drivingPlan', click:this.drivingPlan, isShow:true}, + {label:'cctv视图', name:'cctvView', click:this.cctvView, isShow:true}, + {label:'故障设备', name:'jlmap3dFault', click:this.jlmap3dFault, isShow:true}, + {label:'司机视角', name:'jlmap3dDriver', click:this.jlmap3dDriver, isShow:true}, {label:'设备视图', name:'jl3dmodel', click:this.jlmap3dmodel, isShow:false}, - {label:'IBP盘', name:'drivingPlan', click:this.drivingPlan, isShow:true} + {label:'IBP盘', name:'IBP', click:this.IBP, isShow:true} ]}, {label:'竞赛管理', name:'competitionManage', isShow:true, children:[ {label:'实操练习', name:'drivingPlan', click:this.drivingPlan, isShow:true}, @@ -345,6 +345,26 @@ export default { // 按计划行车 drivingPlan() { this.hideMenuList(); + }, + // 初始化 + initialize() { + this.hideMenuList(); + }, + // cctv视图 + cctvView() { + this.hideMenuList(); + }, + // ibp盘 + IBP() { + this.hideMenuList(); + }, + // 故障设备 + jlmap3dFault() { + this.hideMenuList(); + }, + // 司机视角 + jlmap3dDriver() { + this.hideMenuList(); } }