src/views/exam/paper/guide.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/exam/paper/guide.vue
@@ -8,6 +8,7 @@ <div v-html="formDo.guide"></div> <el-row class="do-align-center"> <el-button @click="doExam" type="primary" round>{{$t('startDo')}}</el-button> <el-button v-if="formDo.questionTemplateId === 'job'" @click="openExplain" type="danger" round>打开岗位说明</el-button> </el-row> </el-main> </el-container> @@ -39,6 +40,10 @@ }).catch(re => { _this.$message.error(re.message + ' 更新状态失败') }) }, openExplain: function () { let _this = this window.open(_this.formDo.jobDescriptionFile); } }, computed: {