[测评系统]--前端(用户答题页面)
yj
2025-11-27 e9d90e9ea68a2ee82869124ff092dc21f329f2b0
src/views/exam/paper/intelligence.vue
@@ -108,7 +108,8 @@
      isSubmitClick: false,
      timeoutValue: 6,
      downBtnFlag: false,
      downBtnFlagInit: true
      downBtnFlagInit: true,
      hasShownSubmitTip: false // 标志是否已经显示过提交提示
    }
  },
  created: function () {
@@ -538,7 +539,18 @@
      _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)