* блокировка изменения отчета для врача

* вывод данных из отчетов для ролей адм и зав
* поправил ширину стобцов ввода
* добавил календарь на страницу статистики
* переделал календарь у заведующего на странице отчета
* добавил и привязал метрики в статистику
This commit is contained in:
brusnitsyn
2026-02-03 17:03:37 +09:00
parent 2805e5e4bc
commit 9ee33bc517
20 changed files with 889 additions and 159 deletions

View File

@@ -4,13 +4,21 @@ import ReportSelectDate from "../../Components/ReportSelectDate.vue";
import AppUserButton from "./AppUserButton.vue";
import {Link} from "@inertiajs/vue3";
import AppHeaderRole from "./AppHeaderRole.vue";
import {computed, useSlots} from "vue";
const slots = useSlots()
const hasHeaderExtra = computed(() => !!slots.headerExtra)
</script>
<template>
<div class="grid grid-cols-[auto_1fr_auto] px-4 w-full h-full">
<NButton :tag="Link" text href="/">
Метрика
</NButton>
<NSpace align="center">
<NButton :tag="Link" text href="/">
Метрика
</NButton>
<NDivider v-if="hasHeaderExtra" vertical />
<slot name="headerExtra" />
</NSpace>
<div></div>
<AppUserButton />
</div>