QYF-GitLab1
13 小时以前 8f3c61c740322c6a9eb5314a05e43016a5f2191c
packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -111,7 +111,6 @@
      const flag = list.findIndex((item) => item.checked == true);
    },
  },
  methods: {
    handleList(tree) {
      for (let index = 0; index < tree.length; index++) {
@@ -281,7 +280,8 @@
          url = "/packageDomain/pages/resourceDetails/document/index";
        }
        wx.navigateTo({
          url: `${url}?productLinkPath=${item.productLinkPath}&parentProductLinkPath=${parentProductLinkPath}&parentName=${parentName}&activeId=${item.id}&bookId=${this.properties.bookInfo.id}&bookName=${this.properties.bookInfo.name}&cmsId=${this.properties.bookInfo.rootCmsItemId}&formPath=${this.properties.tab}&applyState=${this.properties.applyState}&deadline=${this.properties.deadline}`,
          // url: `${url}?productLinkPath=${item.productLinkPath}&parentProductLinkPath=${parentProductLinkPath}&parentName=${parentName}&activeId=${item.id}&bookId=${this.properties.bookInfo.id}&bookName=${this.properties.bookInfo.name}&cmsId=${this.properties.bookInfo.rootCmsItemId}&formPath=${this.properties.tab}&applyState=${this.properties.applyState}&deadline=${this.properties.deadline}`,
          url: '/packageDomain/pages/resourceDetails/myVideo/index?formPath=jsek_cloudLearning&parentName=mingxing&cmsId=161796&productLinkPath=161796\\161798\\165396\\162299&activeId=162299&parentProductLinkPath=161798\\165396&source=qrcode&bookName=&bookId=7129'
        });
      }
      const token = wx.getStorageSync(app.config.tokenKey);
@@ -293,7 +293,6 @@
        goPlayerFun()
      }
    },
    // 拿到所有项
    getAllChildren(id) {
      let result = [];
@@ -338,7 +337,6 @@
      });
      return result;
    },
    // 变为true
    findAndUpdateItemsByIds(tree, ids, state) {
      function findAndUpdate(node) {
@@ -356,7 +354,6 @@
      }
      return tree; // 返回修改后的完整数组
    },
    // 全选
    checkAll() {
      wx.showLoading()
@@ -393,7 +390,6 @@
      this.triggerEvent("changeCheckAll", myEventDetail, myEventOption);
      wx.hideLoading()
    },
    // 章节勾选
    checkResourceTitle(e) {
      wx.showLoading()