From f68b6f735eb1b0f3702022d3a25510fcd21d1cf8 Mon Sep 17 00:00:00 2001
From: renkang <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 09 一月 2025 18:30:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1

---
 admin/src/views/project/components/floorLevel.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/admin/src/views/project/components/floorLevel.vue b/admin/src/views/project/components/floorLevel.vue
index a8b0ad8..a593b63 100644
--- a/admin/src/views/project/components/floorLevel.vue
+++ b/admin/src/views/project/components/floorLevel.vue
@@ -90,12 +90,12 @@
         }
       })
     },
-    getList(buildingId) {
+    getList(page) {
       const { pagination, id } = this
       // this.buildingId =
       let capacity = pagination.pageSize
-      let page = pagination.page
-      fetchList({ capacity, page, model: { buildingId: id } }).then(res => {
+      let paget = page ||  pagination.page
+      fetchList({ capacity, page: paget, model: { buildingId: id } }).then(res => {
         this.list = res.records
         this.pagination.total = res.total
       })
@@ -127,6 +127,7 @@
     },
     handleSizeChange(capacity) {
       this.pagination.pageSize = capacity
+      this.getList()
     }
   }
 }

--
Gitblit v1.9.3