* добавлены операции и услуги операций

* добавлена выборка и подсчет по датам для роли зав.
* переключатель ролей
* выбор отделений для роли зав.
This commit is contained in:
brusnitsyn
2026-01-22 17:58:27 +09:00
parent 8a0fdf9470
commit cb43c74a72
28 changed files with 961 additions and 143 deletions

View File

@@ -0,0 +1,22 @@
<script setup>
import {useAuthStore} from "../Stores/auth.js";
import {NSelect} from "naive-ui";
import {computed, ref} from "vue";
const authStore = useAuthStore()
const value = ref(authStore.userDepartment.department_id)
const departments = computed(() => authStore.availableDepartments.map(item => ({
label: item.name_full,
value: item.department_id
})))
</script>
<template>
<NSelect v-model:value="value" :options="departments" class="max-w-[280px]" />
</template>
<style scoped>
</style>