From a2299a6d4a6f99e9c11132138f5d3e9ec68f03ea Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 06 六月 2025 19:19:34 +0800 Subject: [PATCH] 开发更新 --- 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