diff --git a/src/api/api.js b/src/api/api.js index 0bd6bed..be2b8f8 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -57,7 +57,10 @@ export const statisticsApi = { getRegionHouseStats: () => get('/statistics/region-house'), getRegionApartmentHouseStats: () => get('/statistics/region-apartment-house'), getDashboardStats: () => get('/statistics/dashboard'), - getApartmentRoomStatusStats: () => get('/statistics/apartment-room-status') + getApartmentRoomStatusStats: () => get('/statistics/apartment-room-status'), + getEmptyRoomsByApartment: () => get('/statistics/empty-rooms-by-apartment'), + getRentedRoomsByApartment: () => get('/statistics/rented-rooms-by-apartment'), + getTenantRentalStats: () => get('/statistics/tenant-rental-stats') }; // 水费管理API diff --git a/src/views/rental/List.vue b/src/views/rental/List.vue index bc732c6..967cded 100644 --- a/src/views/rental/List.vue +++ b/src/views/rental/List.vue @@ -49,6 +49,9 @@