This commit is contained in:
wangxiaoxian 2026-03-03 14:27:44 +08:00
parent ffaf738960
commit 4d23e028bb
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<el-card>
<template slot="header">
<div class="card-header">
<span>公寓列表</span>
<span>公寓管理</span>
<el-button type="primary" @click="handleAdd">添加公寓</el-button>
</div>
</template>
@ -75,7 +75,7 @@ export default {
//
const regionsResponse = await regionApi.getAll()
this.regions = regionsResponse
//
const params = {
regionId: this.searchForm.regionId,
@ -83,7 +83,7 @@ export default {
page: this.currentPage,
pageSize: this.pageSize
}
//
const apartmentsResponse = await apartmentApi.getAll(params)
this.apartments = apartmentsResponse.data.map(apartment => {
@ -160,4 +160,4 @@ export default {
display: flex;
justify-content: flex-end;
}
</style>
</style>