[测评系统]--前端(用户答题页面)
linzhijie
2023-05-15 c26cec9ebc2cd2a2220aaa33a2975c12d1adc3e4
src/views/exam/paper/finish.vue
@@ -4,17 +4,17 @@
      <el-header class="align-center" style="height: 0px; margin: 8%;">
      </el-header>
      <el-main class="align-center">
        <H1 v-if="content!==null && content.trim()!==''">{{content}}</H1>
        <H1 v-else>{{$t('finishMsg')}}</H1>
        <H2 v-if="content!==null && content.trim()!==''">{{content}}</H2>
        <H2 v-else>{{$t('finishMsg')}}</H2>
        <!-- 新增下载报告提示语 -->
        <H1 v-if ="downDisable">{{$t('finishPersonalityDownInfo')}}</H1>
        <H2 v-if ="downDisable">{{$t('finishPersonalityDownInfo')}}</H2>
        <el-button type="danger" v-if ="downDisable" @click="downReport" round>{{$t('down')}}</el-button>
        <!-- 新增预览提示语 -->
<!--        <H1 v-if ="viewDisable">{{$t('finishViewReportInfo')}}</H1>-->
<!--        <el-button type="danger" v-if ="viewDisable" @click="viewReport" round>{{$t('view')}}</el-button>-->
        <!--  -->
        <H1 v-if ="type == 'CIAQ' && isMobile()">{{$t('finishViewReportInfo')}}</H1>
        <el-button type="danger" v-if ="type == 'CIAQ' && isMobile()" @click="viewReportH5" round>{{$t('view')}}</el-button>
        <H2 v-if ="type == 'CIAQ'">{{$t('finishViewReportInfo')}}</H2>
        <el-button type="danger" v-if ="type == 'CIAQ'" @click="viewReportH5" round>{{$t('view')}}</el-button>
      </el-main>
    </el-container>
  </div>