实现V4目录管理后台前端

This commit is contained in:
andy
2026-07-20 00:09:58 +07:00
parent 739fccd955
commit f40f90553f
19 changed files with 1654 additions and 11 deletions

View File

@@ -178,6 +178,15 @@ export const router = createRouter({
permission: 'HOTEL_MANAGE',
},
},
{
path: 'reservation-catalogs',
name: 'system-reservation-catalogs',
component: () => import('@/views/system/SystemReservationCatalogsView.vue'),
meta: {
titleKey: 'nav.systemReservationCatalogs',
permission: 'RESERVATION_CATALOG_MANAGE',
},
},
{
path: 'audits',
name: 'system-audits',
@@ -258,5 +267,8 @@ function resolveSystemAdminEntryPath(authStore: AuthStore): string {
if (authStore.hasPermission('HOTEL_MANAGE')) {
return '/system/hotels'
}
if (authStore.hasPermission('RESERVATION_CATALOG_MANAGE')) {
return '/system/reservation-catalogs'
}
return '/system/audits'
}