| | |
| | | } 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']), |