| | |
| | | <el-button type="danger" @click="closePage" round>{{$t('close')}}</el-button> |
| | | <!-- 新增下载报告提示语 --> |
| | | <H2 v-if ="downDisable">{{$t('finishPersonalityDownInfo')}}</H2> |
| | | <el-button type="danger" v-if ="downDisable" @click="downReport" round>{{$t('down')}}</el-button> |
| | | <el-button type="success" 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>--> |
| | |
| | | _this.downDisable = true |
| | | // 设置下载路径 |
| | | _this.downUrl = '/api/exam/paper/download?fileName=' + re.msg + '&delete=false' |
| | | console.log(re) |
| | | } else { |
| | | console.log(re) |
| | | } |
| | | }) |
| | | |