rk
2025-09-28 a8fb7ae2dbb61a94141ed5e73d3bb2632b7b84df
h5/pages/answer/answer.vue
@@ -304,7 +304,6 @@
              item.status = '0'
              item.selAnswer = null
            })
            console.log(res.data)
            this.list = res.data
          }
          // res.param.problemsDOList.forEach(item => {
@@ -316,7 +315,7 @@
    },
    // 单选选择中题目
    select(line, i) {
      if (this.status === '2') return
      if (this.status != '0') return
      this.list.forEach((item, index) => {
        if (index === i) {
          item.selAnswer = line.code
@@ -325,7 +324,7 @@
      // this.problemIndex = index
    },
    changeBox(index, jeck) {
      if (this.status === '2') return
      if (this.status != '0') return
      this.list.forEach((item, i) => {
        if (index === i) {
          item.options.forEach((item2, j) => {
@@ -408,11 +407,12 @@
      saveProblemsVO({
        openId: this.$store.state.openId,
        useType: '1',
        content: ''
        content: '',
            score: this.score
      }).then(res => {
        this.score = 0
        uni.navigateTo({
          url: `/pages/userinfo/userinfo?answerId=${res.data}`
          url: `/pages/appointment/appointment?answerId=${res.data}`
        })
      })