From 33b53ec9f9804067fa30fe0b8d5e16a0ae2368e1 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 20 一月 2025 17:24:28 +0800
Subject: [PATCH] 111

---
 src/views/system/package/index.vue |   31 ++++++++++++++++++-------------
 1 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/src/views/system/package/index.vue b/src/views/system/package/index.vue
index 666f2ff..3319d86 100644
--- a/src/views/system/package/index.vue
+++ b/src/views/system/package/index.vue
@@ -560,7 +560,7 @@
           <el-input
             placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�"
             @input="handleFilterInput"
-            v-model="queryParams.nr"
+            v-model="queryParams1.nr"
             clearable
           />
           <div class="tab3" style="height: 365px">
@@ -580,11 +580,11 @@
             </el-tree>
             <pagination
               small
-              v-show="total > 0"
-              :total="total"
-              :page.sync="queryParams.page"
-              :limit.sync="queryParams.pageSize"
-              @pagination="handlePageChange"
+              v-show="total1 > 0"
+              :total="total1"
+              :page.sync="queryParams1.page"
+              :limit.sync="queryParams1.pageSize"
+              @pagination="getDataList"
             />
           </div>
         </el-col>
@@ -826,13 +826,18 @@
       pacId: "",
       // 鎬绘潯鏁�
       total: 0,
+      total1: 0,
       // 鏌ヨ鍙傛暟
       queryParams: {
-        page: 1,
         pageNum: 1,
         pageSize: 10,
         pacName: null,
         pacRemark: null,
+    
+      },
+      queryParams1: {
+        page: 1,
+        pageSize: 30,
         nr: "",
       },
       // 琛ㄥ崟鍙傛暟
@@ -1267,9 +1272,9 @@
     },
     getDataList() {
       this.loading = true;
-      search(this.queryParams).then((response) => {
+      search(this.queryParams1).then((response) => {
         this.Treedata = response.data.list; // 鏇存柊鏍戝舰鏁版嵁
-        this.total = response.data.total; // 鏇存柊鎬绘潯鏁�
+        this.total1 = response.data.total; // 鏇存柊鎬绘潯鏁�
         this.pics = this.DataList.reduce(
           (total, item) => total + item.priceOrd,
           0
@@ -1284,12 +1289,12 @@
     //     this.Treedata = response.data.list;
     //     /*  if (this.form.tjProjectList) {
     //       this.form.tjProjectList.forEach((item) => {
-    //         this.Treedata.forEach((item1) => {    
+    //         this.Treedata.forEach((item1) => {
     //           if (item.proId == item1.proId) {
     //             this.checkedkey.push(item1.proId);
- 
+
     //             this.DataList.push(item1);
-                
+
     //             this.DataList.forEach((item1) => {
     //               item1.limits = 10;
     //               if (item1.limits > 10) {
@@ -1299,7 +1304,7 @@
     //               }
     //               this.updateProPrice(item1); // 鏇存柊浠锋牸鎴栧叾浠栭�昏緫
     //             });
- 
+
     //           }
     //         });
     //       });

--
Gitblit v1.8.0