rwd
litian
2024-09-27 8b79283a72251d10649d0627a1b27aa5620a5232
packageBookService/pages/bookServices/detail/components/learnTask/index.js
@@ -269,8 +269,12 @@
                school: content.school,
                class: content.class,
                learnTime: content.learnTime,
                taskShow: true,
              });
              if (this.data.name && this.data.school && this.data.class) {
                this.setData({
                  taskShow: true,
                })
              }
              this.getChildTasksList()
              if (content.evaluate.length > 0) {
                // content.evaluate.forEach((element) => {
@@ -327,9 +331,6 @@
          item.teacherEvaluation = ''
        })
      }
      this.setData({
      });
      if (this.data.name && this.data.school && this.data.class) {
        this.setData({
          dataList: res.datas.cmsDatas[0].datas,
@@ -592,19 +593,16 @@
  },
  confirmBtn() {
    if (this.data.invitee == 'teacher' && this.data.teacherEvaluated) {
      wx.showToast({
        title: "教师已经评价,不能再邀请教师评价!",
        icon: 'none',
        duration: 1000
      })
      return false
    } else {
      wx.showShareMenu({
        withShareTicket: true
      });
    }
    wx.showShareMenu({
      withShareTicket: true
    });
  },
  confirmBtn1() {
    wx.showToast({
      title: "教师已经评价,不能再邀请教师评价!",
      icon: 'none',
      duration: 1000
    })
  },
  submitComment() {
    let mateEvaluationList = []