feature: RBAC + Clinical Audit Logging

This commit is contained in:
voltsrage
2026-06-21 15:46:55 +08:00
parent a43db52813
commit 5af6ab490e
83 changed files with 4281 additions and 70 deletions
+7 -1
View File
@@ -1,9 +1,14 @@
<script setup>
import { computed } from 'vue'
import { useRoute } from 'vue-router'
import AppShell from '@/components/layout/AppShell.vue'
const route = useRoute()
const useShell = computed(() => !route.meta.public)
</script>
<template>
<AppShell>
<AppShell v-if="useShell">
<RouterView v-slot="{ Component }">
<KeepAlive include="WardDashboard">
<Transition name="fade" mode="out-in">
@@ -12,6 +17,7 @@ import AppShell from '@/components/layout/AppShell.vue'
</KeepAlive>
</RouterView>
</AppShell>
<RouterView v-else />
</template>
<style>