84702473
2023-03-21 5c67fdb06f901a64ba1c924633622faa0aad80e7
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: {