From 366de5b4636679392a1e3d2984fc23bd5eaa5ac3 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期二, 27 八月 2024 17:48:03 +0800
Subject: [PATCH] wenti

---
 packageBookService/pages/bookServices/list/index.js |   42 +++++++++++++++++++++++++++++++++---------
 1 files changed, 33 insertions(+), 9 deletions(-)

diff --git a/packageBookService/pages/bookServices/list/index.js b/packageBookService/pages/bookServices/list/index.js
index 6cdf707..f5a8654 100644
--- a/packageBookService/pages/bookServices/list/index.js
+++ b/packageBookService/pages/bookServices/list/index.js
@@ -272,6 +272,7 @@
         "secondList.options": options,
       });
       const second = [this.data.secondCode];
+      console.log(second);
       this.setData({
         "secondList.value": second,
       });
@@ -410,6 +411,7 @@
         "||author*": this.data.searchValue,
         "||isbn*": this.data.searchValue,
         "||seriesName*": this.data.searchValue,
+        "||projectLeader*": this.data.searchValue
       };
     }
     const query = {
@@ -419,6 +421,9 @@
         field: "state",
       }, ],
       sort,
+      coverSize: {
+        width: 180
+      },
       paging: {
         start: 0,
         size: this.data.pageCount.page * 8,
@@ -491,10 +496,34 @@
     // }
     await this.getBookList(path);
   },
-  // 浜岀骇鍒嗙被鍒囨崲
-  onChangeSecond(e) {
-
-    console.log(789);
+  // // 浜岀骇鍒嗙被鍒囨崲
+  // onChangeSecond(e) {
+  //   const pathList = [];
+  //   for (let index = 0; index < e.detail.value.length; index++) {
+  //     const element = e.detail.value[index];
+  //     pathList.push({
+  //       Path: element,
+  //       Type: "*",
+  //       StoreRefCode: app.config.goodsStore,
+  //     });
+  //   }
+  //   this.setData({
+  //     backTop: "#assort-title",
+  //     pathList: pathList,
+  //     "secondList.value": e.detail.value,
+  //   });
+  // },
+  // 浜岀骇鍒嗙被閲嶇疆
+  resetSecond() {
+    this.setData({
+      backTop: "#assort-title",
+      pathList: [],
+      "secondList.value": [],
+    });
+    this.getBookList(this.data.path);
+  },
+  // 浜岀骇鍒嗙被纭畾
+  onConfirmSecond(e) {
     const pathList = [];
     for (let index = 0; index < e.detail.value.length; index++) {
       const element = e.detail.value[index];
@@ -509,11 +538,6 @@
       pathList: pathList,
       "secondList.value": e.detail.value,
     });
-  },
-  //
-  onConfirmSecond() {
-
-
     this.getBookList(this.data.path);
   },
   // 閲嶇偣椤圭洰鏀瑰彉

--
Gitblit v1.9.1