fix: update sub-class-code binding in encounter components and log user data

This commit is contained in:
riefive
2025-11-24 14:05:19 +07:00
parent 3d8378deac
commit 1053d794a0
4 changed files with 4 additions and 432 deletions
@@ -40,6 +40,8 @@ const id = typeof route.params.id == 'string' ? parseInt(route.params.id) : 0
const data = ref<any>(null)
const isShowPatient = computed(() => data.value && data.value?.patient?.person)
console.log(user)
if (activePosition.value === 'none') { // if user position is none, redirect to home page
router.push('/')
}