修复目录管理酒店筛选与边界测试

This commit is contained in:
andy
2026-07-20 00:26:34 +07:00
parent f40f90553f
commit b7b04cf1ac
2 changed files with 69 additions and 1 deletions

View File

@@ -559,7 +559,10 @@ async function loadCatalog(): Promise<void> {
loading.value = true
errorMessage.value = ''
try {
const query = { ...filters }
const query = {
...filters,
hotel_id: activeHotelId(),
}
const result = activeCatalog.value === 'accounts'
? await fetchAdminReservationCatalogAccounts(query)
: activeCatalog.value === 'room-types'