| | |
| | | partRemailTime: 'Remaining Time:', |
| | | finishIntelligenceInfo: 'You have completed the cognitive ability test questionnaire, the data has been successfully uploaded to the server, and has been saved. Thank you.', |
| | | finishPersonalityInfo: 'You have completed the personality questionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityInfo_mobile: 'You have completed the personality questionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityInfo_apifan: 'You have completed the personality questionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityInfo_apifan_mobile: 'You have completed the personality questionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishCareerInterestsInfo: 'You have completed the Career Interests questionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityDownInfo: 'You may click the button below to download your test report.', |
| | | finishViewReportInfo: 'You can click on the button below to view your result report.', |
| | |
| | | partRemailTime: 'Remaining Time:', |
| | | finishIntelligenceInfo: 'You have completed the cognitive ability test questionnaire, the data has been successfully uploaded to the server, and has been saved. Thank you.', |
| | | finishPersonalityInfo: 'You have completed the personality quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityInfo_mobile: 'You have completed the personality quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityInfo_apifan: 'You have completed the personality quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityInfo_apifan_mobile: 'You have completed the personality quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishCareerInterestsInfo: 'You have completed the Career Interests quetionnaire, and the data has been successfully uploaded to the server and saved. ', |
| | | finishPersonalityDownInfo: 'You may click the button below to download your test report.', |
| | | finishViewReportInfo: 'You can click on the button below to view your result report.', |
| | |
| | | partRemailTime: '剩余时间:', |
| | | finishIntelligenceInfo: '您已经完成了认知能力测试问卷,数据已经成功地上传至服务器,并已经保存好。谢谢。', |
| | | finishPersonalityInfo: '您已经完成了人格测试问卷,数据已经成功地上传至服务器,并已经保存好。现在您可以点击下面的“关闭”按钮关闭页面', |
| | | finishPersonalityInfo_mobile: '您已经完成了人格测试问卷,数据已经成功地上传至服务器,并已经保存好。', |
| | | finishPersonalityInfo_apifan: '您已经完成了人格测试问卷,数据已经成功地上传至服务器,已经保存好。现在您可以点击下面的“关闭”按钮关闭页面。', |
| | | finishPersonalityInfo_apifan_mobile: '您已经完成了人格测试问卷,数据已经成功地上传至服务器,已经保存好。', |
| | | finishCareerInterestsInfo: '您已经完成了职业兴趣问卷,数据已经成功地上传至服务器,并已经保存好。', |
| | | finishPersonalityDownInfo: '您可以点击下面按钮下载您的结果报告。', |
| | | finishViewReportInfo: '您可以点击下面按钮查看您的结果报告。', |
| | |
| | | <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> |
| | | <el-button class="close-page" type="danger" @click="closePage" round>{{$t('close')}}</el-button> |
| | | <!-- 新增下载报告提示语 --> |
| | | <H2 v-if ="downDisable">{{$t('finishPersonalityDownInfo')}}</H2> |
| | | <el-button type="success" v-if ="downDisable" @click="downReport" round>{{$t('down')}}</el-button> |
| | |
| | | viewReportH5: function () { |
| | | let _this = this |
| | | _this.$router.push({ path: '/report/h5', query: { tokenId: _this.tokenId } }) |
| | | }, |
| | | isMobile () { |
| | | let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i) |
| | | return flag |
| | | } |
| | | // isMobile () { |
| | | // let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i) |
| | | // return flag |
| | | // } |
| | | }, |
| | | computed: { |
| | | } |
| | |
| | | padding-left: 25px; |
| | | padding-right: 25px; |
| | | } |
| | | |
| | | @media (max-width: 1024px) { |
| | | .close-page { |
| | | display: none; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | } else { |
| | | _this.answer.verifyStatus = 1 |
| | | _this.answer.finish = 1 |
| | | let text = _this.$t('finishPersonalityInfo') |
| | | if (_this.isMobile()) { |
| | | text = _this.$t('finishPersonalityInfo_mobile') |
| | | } |
| | | if (this.form) { |
| | | let productType = this.form.productType |
| | | if (productType === 'API_Fan') { |
| | | _this.submitAnswer(_this.$t('finishPersonalityInfo_apifan')) |
| | | } else { |
| | | _this.submitAnswer(_this.$t('finishPersonalityInfo')) |
| | | text = _this.$t('finishPersonalityInfo_apifan') |
| | | if (_this.isMobile()) { |
| | | text = _this.$t('finishPersonalityInfo_apifan_mobile') |
| | | } |
| | | } else { |
| | | _this.submitAnswer(_this.$t('finishPersonalityInfo')) |
| | | } |
| | | } |
| | | _this.submitAnswer(text) |
| | | } |
| | | }, |
| | | startDo: function () { |
| | |
| | | let _this = this |
| | | return _this.form.titleItems[0].questionItems[_this.order].partOrder !== _this.form.titleItems[0].questionItems[_this.order - 1].partOrder |
| | | }, |
| | | isMobile: function () { |
| | | return window.innerWidth < 1025 |
| | | }, |
| | | ...mapMutations('user', ['setLangType']), |
| | | ...mapMutations('user', ['setLangFlag']), |
| | | ...mapMutations('user', ['getFormDo']), |