From dc2ed575ac5236f5100baac236254a434dcae8b9 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 24 一月 2025 18:01:22 +0800
Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/funingyunwei into 2.0.1
---
admin/src/views/project/components/floorLevel.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/admin/src/views/project/components/floorLevel.vue b/admin/src/views/project/components/floorLevel.vue
index edc027b..a593b63 100644
--- a/admin/src/views/project/components/floorLevel.vue
+++ b/admin/src/views/project/components/floorLevel.vue
@@ -90,13 +90,14 @@
}
})
},
- 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
})
},
editClick(row) {
@@ -126,6 +127,7 @@
},
handleSizeChange(capacity) {
this.pagination.pageSize = capacity
+ this.getList()
}
}
}
--
Gitblit v1.9.3