From ebf7a029c270a728c7578870d6d60a5762f0d1f2 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 16 十二月 2024 19:35:07 +0800
Subject: [PATCH] ll

---
 admin/src/views/business/reportRecord.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/admin/src/views/business/reportRecord.vue b/admin/src/views/business/reportRecord.vue
index 0c1c06b..b5a71a7 100644
--- a/admin/src/views/business/reportRecord.vue
+++ b/admin/src/views/business/reportRecord.vue
@@ -149,7 +149,8 @@
       },
       pagination: {
         capacity: 10,
-        page: 1
+        page: 1,
+        total: 0
       },
       total: 0
     }
@@ -203,6 +204,7 @@
         ...pagination
       }).then(res => {
         this.dataList = res.records || []
+        this.pagination.total = res.total
       })
     },
     clear () {
@@ -213,6 +215,7 @@
     },
     handleSizeChange (capacity) {
       this.pagination.capacity = capacity
+      this.getList()
     }
   }
 }

--
Gitblit v1.9.3