调整国赛场景说明
This commit is contained in:
parent
19e1a4208e
commit
009f7b57a2
@ -37,9 +37,12 @@
|
||||
<el-button type="danger" size="small" @click="handleQuitQuest">退出场景</el-button>
|
||||
<el-button type="success" size="small" :disabled="!isScriptRun" @click="endTraining">结束</el-button>
|
||||
<el-button type="primary" size="small" :disabled="isScriptRun" @click="startTraining">开始</el-button>
|
||||
<el-button type="" size="small" @click="handleExplain">说明</el-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
<!-- 初始化 -->
|
||||
<el-button type="danger" size="small" @click="end">{{ $t('display.demon.initialize') }}</el-button>
|
||||
<!-- 按计划行车 -->
|
||||
<el-button type="success" :disabled="isDisable" size="small" @click="selectBeginTime">{{ $t('display.demon.drivingByPlan') }}</el-button>
|
||||
</template>
|
||||
</template>
|
||||
@ -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);
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-dialog v-dialogDrag title="场景列表" :visible.sync="dialogVisible" width="1140px" center>
|
||||
<el-dialog v-dialogDrag title="场景列表" :visible.sync="dialogVisible" width="1150px" center>
|
||||
<el-tabs v-model="activeName" type="card" style="height: 500px;">
|
||||
<el-tab-pane label="主场景列表" name="first">
|
||||
<el-table :data="mainSceneData" border :span-method="objectSpanMethod" style="overflow: auto;height: 436px;" stripe :cell-style="{padding: '8px 0'}">
|
||||
@ -11,9 +11,9 @@
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.result">
|
||||
<template v-for="(each,index) in scope.row.result">
|
||||
<el-tooltip :key="index" class="item" effect="dark" :content="'场景描述: '+ each.description + '\n' + '处置流程: ' +each.disposalProcesses" popper-class="tooltip-box" placement="top">
|
||||
<el-button type="primary" size="small" @click="handleLoad(each)">{{ each.name }}</el-button>
|
||||
</el-tooltip>
|
||||
<!-- <el-tooltip :key="index" class="item" effect="dark" :content="'场景描述: '+ each.description + '\n' + '处置流程: ' +each.disposalProcesses" popper-class="tooltip-box" placement="top"> -->
|
||||
<el-button :key="index" type="primary" size="small" @click="handleLoad(each)">{{ each.name }}</el-button>
|
||||
<!-- </el-tooltip> -->
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
@ -98,7 +98,7 @@ export default {
|
||||
{ name: '场景9', url: '场景9—车站站台门故障(配分版40分).pdf' },
|
||||
{ name: '场景10', url: '场景10—列车限速(配分版40分).pdf' },
|
||||
{ name: '场景11', url: '场景11—区间疏导乘客(配分版40分).pdf' },
|
||||
{ name: '场景12', url: '场景12—区域控制器故障(配分版40分).pdf' },
|
||||
{ name: '场景12', url: '场景12—区域控制器故障(配分版40分).pdf' }
|
||||
]
|
||||
};
|
||||
},
|
||||
@ -242,7 +242,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async handleExplain(row) {
|
||||
const ossData = this.ossList.find(ele => { return ele.name == row.name });
|
||||
const ossData = this.ossList.find(ele => { return ele.name == row.name; });
|
||||
const href = `https://joylink.club/oss/cbtc/race/${ossData.url}`;
|
||||
window.open(href, '_blank');
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user