From 009f7b57a22a8c59a26fe0b2be01d24377f37873 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Fri, 13 Nov 2020 09:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9B=BD=E8=B5=9B=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../displayNew/dispatherContest/index.vue | 25 ++++++++++++++++++- .../displayNew/dispatherContest/sceneList.vue | 12 ++++----- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/views/newMap/displayNew/dispatherContest/index.vue b/src/views/newMap/displayNew/dispatherContest/index.vue index a4d27e0a8..cd04b7f1e 100644 --- a/src/views/newMap/displayNew/dispatherContest/index.vue +++ b/src/views/newMap/displayNew/dispatherContest/index.vue @@ -37,9 +37,12 @@ 退出场景 结束 开始 + 说明 @@ -177,7 +180,21 @@ export default { '02': '02', // 行调 => 行调 '04': '02', // 司机 => 行调 '05': '' // 派班 => null - } + }, + ossList: [ + { name: '场景1', url: '场景1—桂花园道岔故障(配分版60分).pdf' }, + { name: '场景2', url: '场景2—体育馆道岔故障(配分版60分).pdf' }, + { name: '场景3', url: '场景3—火车站道岔故障(配分版60分).pdf' }, + { name: '场景4', url: '场景4—列车救援(配分版60分).pdf' }, + { name: '场景5', url: '场景5—接触网无电(配分版60分).pdf' }, + { name: '场景6', url: '场景6—计轴故障试题(配分版60分).pdf' }, + { name: '场景7', url: '场景7—大学城道岔故障(配分版40分).pdf' }, + { name: '场景8', url: '场景8—车站照明故障(配分版40分).pdf' }, + { name: '场景9', url: '场景9—车站站台门故障(配分版40分).pdf' }, + { name: '场景10', url: '场景10—列车限速(配分版40分).pdf' }, + { name: '场景11', url: '场景11—区间疏导乘客(配分版40分).pdf' }, + { name: '场景12', url: '场景12—区域控制器故障(配分版40分).pdf' } + ] }; }, computed: { @@ -458,6 +475,12 @@ export default { (this.$store.state.training.memberData[role.id] || {}).disabled = true; this.runScriptMode(memberId); }, + handleExplain() { + const name = this.$store.state.training.notifySelected.title; + const ossData = this.ossList.find(ele => { return ele.name == name; }); + const href = `https://joylink.club/oss/cbtc/race/${ossData.url}`; + window.open(href, '_blank'); + }, finishTraining(data) { this.isScriptRun = false; this.showResultData(data); diff --git a/src/views/newMap/displayNew/dispatherContest/sceneList.vue b/src/views/newMap/displayNew/dispatherContest/sceneList.vue index 7d82481a4..0c62d99af 100644 --- a/src/views/newMap/displayNew/dispatherContest/sceneList.vue +++ b/src/views/newMap/displayNew/dispatherContest/sceneList.vue @@ -1,6 +1,6 @@