Добавил выбор ст. мед. сестер из отделений
This commit is contained in:
@@ -70,11 +70,12 @@ const openReport = (path) => {
|
||||
}
|
||||
|
||||
const openNurseReport = () => {
|
||||
if (authStore.isSeniorStaff) {
|
||||
showSelectNurseUserModal.value = true
|
||||
} else {
|
||||
router.visit('/nurse/report')
|
||||
}
|
||||
// if (authStore.isSeniorStaff) {
|
||||
// showSelectNurseUserModal.value = true
|
||||
// } else {
|
||||
// router.visit('/nurse/report')
|
||||
// }
|
||||
showSelectNurseUserModal.value = true
|
||||
}
|
||||
|
||||
const cardColor = computed(() => themeVars.value.cardColor)
|
||||
@@ -174,7 +175,7 @@ const dividerColor = computed(() => themeVars.value.dividerColor)
|
||||
</NFlex>
|
||||
</div>
|
||||
|
||||
<SelectUserModal v-model:show="showSelectUserModal" />
|
||||
<SelectUserModal v-model:show="showSelectUserModal" :only-user-department="false" />
|
||||
<SelectUserModal
|
||||
v-model:show="showSelectNurseUserModal"
|
||||
target-path="/nurse/report"
|
||||
|
||||
Reference in New Issue
Block a user