[测评系统]--前端(用户答题页面)
src/views/exam/paper/guide.vue
@@ -7,9 +7,9 @@
      <el-main style="padding-top:0%">
        <div v-html="formDo.guide"></div>
        <el-row class="do-align-center">
          <el-button v-if="formDo.productType !== 'APIFan'" @click="doExam" type="primary" round>{{$t('startDo')}}</el-button>
          <el-button v-if="formDo.questionTemplateId === 'job'" @click="openExplain" type="danger" round>打开岗位说明</el-button>
          <el-button v-if="formDo.productType === 'APIFan'" @click="openExercise" type="primary" round>继续</el-button>
          <el-button v-if="formDo.questionTemplateId !== 'personality'" @click="doExam" type="primary" round>{{$t('startDo')}}</el-button>
          <el-button v-if="formDo.questionTemplateId === 'job'" @click="openExplain" type="danger" round>{{$t('openJobDesc')}}</el-button>
          <el-button v-if="formDo.questionTemplateId === 'personality'" @click="openExercise" type="primary" round>{{$t('exercise_start')}}</el-button>
        </el-row>
      </el-main>
    </el-container>
@@ -29,7 +29,7 @@
  },
  mounted () {
    // 替换APIFan指导语中的变量
    if (this.formDo.productType === 'APIFan') {
    if (this.formDo.productType === 'API_Fan') {
      let guide = this.formDo.guide
      guide = guide.replace('%%fullName%%', this.formDo.memberName)
      guide = guide.replace('%%company%%', this.formDo.reportCompany)