闫增涛
2025-01-22 d00d7f8ba2dfed17984aa5d41c7694c24d9d198a
packageBookService/pages/bookServices/list/index.js
@@ -131,7 +131,7 @@
    // 获取二级分类
    this.getSecondList(`${options.assortCode}\\${options.stairCode}`);
    this.getBookList(`${options.assortCode}\\${options.stairCode}`);
    // 获取重点项目
    // 获取获奖情况
    this.getProjectList("bookClassification");
    this.getProjectList("newFormsTextbooks");
  },
@@ -200,6 +200,7 @@
   * 用户点击右上角分享
   */
  onShareAppMessage() {},
  onShareTimeline() {},
  goBack() {
    wx.navigateBack();
  },
@@ -278,7 +279,7 @@
      });
    });
  },
  // 获取重点项目
  // 获取获奖情况
  getProjectList(type) {
    this.setData({
      disabledProject: false,
@@ -335,7 +336,7 @@
        this.setData({
          "newTextBook.options": options,
        });
        console.log("重点项目", this.data.newTextBook);
        console.log("获奖情况", this.data.newTextBook);
      }
    });
  },
@@ -411,6 +412,7 @@
        "||author*": this.data.searchValue,
        "||isbn*": this.data.searchValue,
        "||seriesName*": this.data.searchValue,
        "||projectLeader*": this.data.searchValue
      };
    }
    const query = {
@@ -539,7 +541,7 @@
    });
    this.getBookList(this.data.path);
  },
  // 重点项目改变
  // 获奖情况改变
  changeMajorProject(e) {
    this.setData({
      backTop: "#assort-title",
@@ -547,7 +549,7 @@
    });
    this.getBookList(this.data.path);
  },
  // 重点项目重置
  // 获奖情况重置
  resetMajorProject() {
    this.setData({
      "majorProjectList.value": [],