diff --git a/src/views/newMap/display/simulationMenu.vue b/src/views/newMap/display/simulationMenu.vue index ff1d87ff7..201b41810 100644 --- a/src/views/newMap/display/simulationMenu.vue +++ b/src/views/newMap/display/simulationMenu.vue @@ -259,81 +259,88 @@ export default { // {value: 'richor_cxjs', label: '长兴技校'}, // {value: 'hyd_railway', label: '哈盈达大铁'}, // {value: 'wh', label: '武汉8号线'} - projectMenuMap:{ - // 北交大 - 'bjd':[ - {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:'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} - // ATS行调工作站 - ], - 'designBjd':[ + // projectMenuMap:{ + // // 北交大 + // 'bjd':[ + // {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:'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} + // // ATS行调工作站 + // ], + // 'designBjd':[ - ], - // 陪标项目 - 'urtss':[ + // ], + // // 陪标项目 + // 'urtss':[ - ], - // 微机联锁 - 'wjls':[ - {label:'设备视图', name:'jlmap3dmodel', click:this.jlmap3dmodel, isShow:true}, - {label:'经典案例分析', name:'caseAnalysis ', click:this.caseAnalysis, isShow:true}, - {label:'规范学习', name:'normativeStudy', click:this.normativeStudy, isShow:true}, - {label:'占线板', name:'lineBoard', click:this.lineBoard, isShow:true}, - {label:this.$store.state.socket.simulationPause ? '开始' : '暂停', name:'startOrPause', click:this.startOrPause, isShow:true}, // 开始/暂停 - {label:'初始化', name:'initialize', click:this.end, isShow:true}, - {label:'返回', name:'backWJLS', click:this.backWJLS, isShow:true} - ], - 'login':[ - {label:'路票', name:'trainTicket ', click:this.trainTicket, isShow:true}, - {label:'簿册', name:'registerBook ', click:this.registerBook, isShow:true}, - // {label:'数字沙盘', name:'digitalStand ', click:this.digitalStand, isShow:true}, - {label:'派班计划加载', name:'schedulingLoad', click:this.schedulingLoad, isShow:true}, - {label:'派班计划预览', name:'schedulingView', click:this.schedulingView, isShow:true}, - {label:'设备视图', name:'jlmap3dmodel', click:this.jlmap3dmodel, isShow:true}, - {label:'联系方式', name:'contectUs', click:this.contectUs, 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 } + // ], + // // 微机联锁 + // 'wjls':[ + // {label:'设备视图', name:'jlmap3dmodel', click:this.jlmap3dmodel, isShow:true}, + // {label:'经典案例分析', name:'caseAnalysis ', click:this.caseAnalysis, isShow:true}, + // {label:'规范学习', name:'normativeStudy', click:this.normativeStudy, isShow:true}, + // {label:'占线板', name:'lineBoard', click:this.lineBoard, isShow:true}, + // {label:this.$store.state.socket.simulationPause ? '开始' : '暂停', name:'startOrPause', click:this.startOrPause, isShow:true}, // 开始/暂停 + // {label:'初始化', name:'initialize', click:this.end, isShow:true}, + // {label:'返回', name:'backWJLS', click:this.backWJLS, isShow:true} + // ], + // 'login':[ + // {label:'路票', name:'trainTicket ', click:this.trainTicket, isShow:true}, + // {label:'簿册', name:'registerBook ', click:this.registerBook, isShow:true}, + // // {label:'数字沙盘', name:'digitalStand ', click:this.digitalStand, isShow:true}, + // {label:'派班计划加载', name:'schedulingLoad', click:this.schedulingLoad, isShow:true}, + // {label:'派班计划预览', name:'schedulingView', click:this.schedulingView, isShow:true}, + // {label:'设备视图', name:'jlmap3dmodel', click:this.jlmap3dmodel, isShow:true}, + // {label:'联系方式', name:'contectUs', click:this.contectUs, 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':[ - {label:'路票', name:'trainTicket ', click:this.trainTicket, isShow:true}, - {label:'簿册', name:'registerBook ', click:this.registerBook, isShow:true}, - {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 } - ], - // 调度大赛 - 'drts':[ - {label:'联系方式', name:'contectUs', click:this.contectUs, isShow:true}, - {label:'实操练习', name:'fieldPractice', click:this.fieldPractice, isShow:true}, - {label:'理论考试', name:'theoryQuiz', click:this.theoryQuiz, isShow:true}, - {label:'运行图预览', name:'runPlanView', click:this.runPlanView, isShow:true}, - {label:'按计划行车', name:'drivingPlan', click:this.drivingPlan, isShow:true}, - {label:'初始化', name:'initialize', click:this.end, isShow:true}, - {label:'返回', name:'backBJD', click:this.backBJD, isShow:true} - ], - // 郑州共赢 - 'zzww':[ - - ] - // 实操练习 - // 理论考试 - // showRegisterBookBtn() { - // const roleList = ['STATION_SUPERVISOR', 'STATION_ASSISTANT', 'STATION_SIGNALER', 'STATION_SWITCH_MAN', 'STATION_MASTER', 'STATION_WORKER', 'DEVICE_MANAGER']; - // return this.$route.query.lineCode === '16' && roleList.includes(this.$store.state.training.userRole); - // } - // srsandbox jxgm ===> noChat - // 'say':{}, // 苏安院 - // 'teaching':{} // 教学通用 - }, + // ], + // 'design':[ + // {label:'路票', name:'trainTicket ', click:this.trainTicket, isShow:true}, + // {label:'簿册', name:'registerBook ', click:this.registerBook, isShow:true}, + // {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 } + // ], + // // 调度大赛 + // 'drts':[ + // {label:'联系方式', name:'contectUs', click:this.contectUs, isShow:true}, + // {label:'实操练习', name:'fieldPractice', click:this.fieldPractice, isShow:true}, + // {label:'理论考试', name:'theoryQuiz', click:this.theoryQuiz, isShow:true}, + // {label:'运行图预览', name:'runPlanView', click:this.runPlanView, isShow:true}, + // {label:'按计划行车', name:'drivingPlan', click:this.drivingPlan, isShow:true}, + // {label:'初始化', name:'initialize', click:this.end, isShow:true}, + // {label:'返回', name:'backBJD', click:this.backBJD, isShow:true} + // ], + // // 郑州共赢 + // 'zzww':[ + // ] + // // 实操练习 + // // 理论考试 + // // showRegisterBookBtn() { + // // const roleList = ['STATION_SUPERVISOR', 'STATION_ASSISTANT', 'STATION_SIGNALER', 'STATION_SWITCH_MAN', 'STATION_MASTER', 'STATION_WORKER', 'DEVICE_MANAGER']; + // // return this.$route.query.lineCode === '16' && roleList.includes(this.$store.state.training.userRole); + // // } + // // srsandbox jxgm ===> noChat + // // 'say':{}, // 苏安院 + // // 'teaching':{} // 教学通用 + // }, + allMenuList:[ + {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.end, isShow:true}, + {label:'联系方式', name:'contectUs', click:this.contectUs, isShow:true}, + {label:'权限分发', name:'distribute', click:this.distribute, isShow:true}, + {label:this.$route.query.projectDevice ? '退出' : '返回', name:'backOrQuit', click:this.back, isShow:true } + ], deviceif:false, deviceShow: true }; @@ -392,7 +399,8 @@ export default { // } // }); // }); - this.menuList = this.projectMenuMap[this.project]; + // this.menuList = this.projectMenuMap[this.project]; + this.menuList = this.allMenuList; window.addEventListener('click', this.close, false); }, beforeDestroy() {