Добавил выбор ст. мед. сестер из отделений

This commit is contained in:
brusnitsyn
2026-06-02 17:20:15 +09:00
parent f55dfdc084
commit f2cb6373ce
5 changed files with 77 additions and 40 deletions

View File

@@ -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"