QYF-GitLab1
4 天以前 b55024ee2f42aa93e0ecaa3113bdeb286f6e59ac
packageBookService/pages/bookServices/examination/examination.js
@@ -951,7 +951,7 @@
          let oldObj = "";
          if (oldList)
            oldObj = oldList.find((oldItem) => oldItem.id == item.id);
          console.log(item.Embedded_QuestionBank_Stem, 111)
          // console.log(item.Embedded_QuestionBank_Stem, 111)
          let questionObj = {
            // num: index, // 题号
            id: item.id,
@@ -1488,7 +1488,7 @@
            questionObj.questionType == "completion" ||
            questionObj.questionType == "multipleChoice"
          ) {
            console.log(questionObj.answer, "111")
            // console.log(questionObj.answer, "111")
            try {
              questionObj.answer = JSON.parse(questionObj.answer).toString();
            } catch (error) {
@@ -1821,7 +1821,7 @@
          if (src) {
            questionObj.src = src
            questionObj.stem.stemTxt = this.removeVideoAndAudioTags(questionObj.stem.stemTxt)
            console.log('题干', questionObj.stem.stemTxt);
            // console.log('题干', questionObj.stem.stemTxt);
          }
        }
        if (item.Embedded_QuestionBank_QuestionType == "judge") {
@@ -1868,7 +1868,7 @@
        cardList: cardList,
        loading: false,
      });
      console.log(this.data.questionDataList, "questionDataList");
      // console.log(this.data.questionDataList, "questionDataList");
    });
  },
  // 获取组卷结果
@@ -2220,7 +2220,7 @@
              JSON.parse(res[0].value).time : 1000,
            "mockData.answer": JSON.parse(res[0].value).answerData,
          });
          console.log(JSON.parse(res[0].value));
          // console.log(JSON.parse(res[0].value));
          data = JSON.parse(res[0].value).answerData;
        }
      });
@@ -2275,7 +2275,7 @@
        this.setData({
          saveTime: 20,
        });
        console.log("模考答题数据已记录");
        // console.log("模考答题数据已记录");
      });
  },
@@ -2495,8 +2495,9 @@
      // 做完了且加入了班级,提交到message
      if (this.data.classList.length && this.data.joinGroup) {
        this.data.classList.forEach(item => {
          if (item.linkProductDto.product.id == this.data.bookId && item.topicId)
          if (item.linkProductDto.product.id == this.data.bookId && item.topicId) {
            this.newTopicMessage(item.topicId)
          }
        })
        this.setinteractionInfo()
      } else {