[测评系统]--前端(用户答题页面)
84702473
2023-03-06 1ad79fa6dd4fdd5165db783d9b624699987ce439
src/views/exam/paper/values.vue
@@ -421,7 +421,7 @@
         }
      },
      created: function() {
         console.log("created......", this.$route.query.formDo, typeof(this.$route.query.formDo))
         console.log("created......", this.$route.query.formDo)
         //console.log(".....................Test. config start......................")
         //if(this.memberToken == '' || this.memberToken == undefined) this.setMemberTocken("4bdcf437-185c-4f4e-9528-382c99509ea6")
         //console.log(".....................Test. config ednd.......................")
@@ -587,7 +587,6 @@
            this.caculateScoreRangeSelectedById(sid, 1)
         },
         step3Change(value, question) {
            console.log('step3Change...', this.step3ChangeSrc)
            if (this.step3ChangeSrc.id == null) {
               //首次点击,临时存储
               this.step3ChangeSrc.id = question.id
@@ -1100,7 +1099,7 @@
               //设置每项已选择的数量
               _this.step2ScoreRanges[i]['selected'] = 0
            }
            console.log('initStep2ScoreRanges...', this.step2ScoreRanges)
            //console.log('initStep2ScoreRanges...', this.step2ScoreRanges)
         },
         getStep2StepTagType(step) {
            if (this.step2SubStep > step) {
@@ -1287,11 +1286,11 @@
               answerSubmit['scoreRanges'] = _this.form.titleItems[0].scoreRanges
            } else {
               let item = _this.getStep2StepItem(_this.step2SubStep)
               console.log('getStep2StepItem', _this.step2SubStep, item)
               //console.log('getStep2StepItem', _this.step2SubStep, item)
               answerSubmit['scoreRanges'] = []
               answerSubmit['scoreRanges'].push(item)
            }
            console.log('answerSubmit.scoreRanges=', answerSubmit['scoreRanges'])
            //console.log('answerSubmit.scoreRanges=', answerSubmit['scoreRanges'])
            for (let item of answerSubmit['scoreRanges']) {
               item['completed'] = true
               item['questionReports'] = []
@@ -1327,7 +1326,7 @@
            examPaperAnswerApi.answerSubmit(answerSubmit, _this.memberToken).then(re => {
               loading.close()
               if (re.code === 1) {
                  console.log('answerSubmit...', re)
                  //console.log('answerSubmit...', re)
               }
               _this.formLoading = false
            }).catch(e => {