| | |
| | | <el-main class="align-center"> |
| | | <H2 v-if="content!==null && content.trim()!==''">{{content}}</H2> |
| | | <H2 v-else>{{$t('finishMsg')}}</H2> |
| | | <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> |
| | |
| | | beforeDestroy () { |
| | | }, |
| | | methods: { |
| | | |
| | | // 下载报告 |
| | | downReport: function () { |
| | | let _this = this |
| | | window.open(_this.downUrl) |
| | | }, |
| | | // 关闭页面 |
| | | closePage: function () { |
| | | window.close() |
| | | }, |
| | | // 预览报告 |
| | | viewReport: function () { |
| | | let _this = this |