diff --git a/src/components/reserve/RoomList.vue b/src/components/reserve/RoomList.vue index 1405c84..83a9b41 100644 --- a/src/components/reserve/RoomList.vue +++ b/src/components/reserve/RoomList.vue @@ -34,21 +34,15 @@ - - - 预定 - + - - - - - + + 维护中 + 使用中 + {{ item.people_number }} @@ -126,6 +120,15 @@ const spec = ref(true) + // 房间状态枚举 + enum RoomStatus { + WAIT_CLEANING = 1, // 待打扫 - 灰色 + AVAILABLE = 2, // 空闲中 - 绿色 + MAINTENANCE = 3, // 维护中 - 红色 + CLEANING = 4, // 打扫中 - 橙色 + IN_USE = 5, // 使用中 - 蓝色 + } + // 使用团购优惠券选择的包间 const couponRoomIndex = ref(-1)