25 lines
486 B
Vue
25 lines
486 B
Vue
<script setup lang="ts">
|
|
import Error from '~/components/pub/my-ui/error/error.vue'
|
|
|
|
definePageMeta({
|
|
roles: ['doctor', 'nurse', 'admisi', 'pharmacy', 'billing', 'management'],
|
|
title: 'Daftar Floor',
|
|
contentFrame: 'cf-container-lg',
|
|
})
|
|
|
|
const route = useRoute()
|
|
|
|
useHead({
|
|
title: () => route.meta.title as string,
|
|
})
|
|
|
|
const canRead = true
|
|
</script>
|
|
|
|
<template>
|
|
<template v-if="canRead">
|
|
<ContentFloorList />
|
|
</template>
|
|
<Error v-else :status-code="403" />
|
|
</template>
|