| | |
| | | isSubmitClick: false, |
| | | timeoutValue: 6, |
| | | downBtnFlag: false, |
| | | downBtnFlagInit: true |
| | | downBtnFlagInit: true, |
| | | hasShownSubmitTip: false // 标志是否已经显示过提交提示 |
| | | } |
| | | }, |
| | | created: function () { |
| | |
| | | _this.determineWhetherIntelligenceTitle() |
| | | }, |
| | | onChoice () { // 是否显示提交按钮 |
| | | let _this = this |
| | | if (this.isLastQuestionOrder()) { |
| | | // 检查是否是最后一题且已答完,弹出提示框 |
| | | if (_this.isContentNotEmpty(_this.order)) { |
| | | if (!_this.hasShownSubmitTip) { |
| | | _this.hasShownSubmitTip = true |
| | | _this.$alert(_this.$t('submit_tip'), _this.$t('prompt'), { |
| | | confirmButtonText: _this.$t('determine'), |
| | | customClass: 'submit-tip-dialog' |
| | | }) |
| | | } |
| | | } |
| | | return |
| | | } |
| | | this.isShowNextQuestionButton(this) |