litian
2024-12-16 6f5904aabf18277a09e1990d9e2ec4db8b5d8f1e
packageBookService/pages/bookServices/detail/index.js
@@ -1165,14 +1165,16 @@
            if (isTSFW.length > 0) {
              data = res.datas.cmsDatas[0].datas.filter((item) => item.type == 'questionBankFolder' && (item.childrenFolderCount > 0 || item.childrenCount > 0) && (item.name !== '填空题' &&
                item.name !== '判断题' &&
                item.name !== '多选题' &&
                item.name !== '简答题'))
                  item.name !== '判断题' &&
                  item.name !== '多选题' &&
                  item.name !== '简答题')) &&
                item.refCode != 'jsek_interaction'
              that.setData({
                jslx: false,
              });
            } else {
              data = res.datas.cmsDatas[0].datas.filter((item) => item.type == 'questionBankFolder')
              data = res.datas.cmsDatas[0].datas.filter((item) => item.type == 'questionBankFolder' &&
                item.refCode != 'jsek_interaction')
              that.setData({
                jslx: true,
              });
@@ -1188,18 +1190,19 @@
                loading: false,
                openTeachids: result,
              });
              const bookId = that.data.bookId
              if (bookId == 6619) {
                const jsonData = {}
                jsonData.name = "心理测评"
                jsonData.children = [...pastData.postData.list]
                var test = that.data.test;
                test.push(jsonData);
                that.setData({
                  test: test,
                });
                console.log(that.data.test, "教学互动");
              }
              //Json赋值
              // const bookId = that.data.bookId
              // if (bookId == 6619) {
              //   const jsonData = {}
              //   jsonData.name = "心理测评"
              //   jsonData.children = [...pastData.postData.list]
              //   var test = that.data.test;
              //   test.push(jsonData);
              //   that.setData({
              //     test: test,
              //   });
              //   console.log(that.data.test, "教学互动");
              // }
            } else {
              that.setData({