Добавил вывод метрик для врача дежурного

This commit is contained in:
brusnitsyn
2026-07-13 16:25:13 +09:00
parent d194ea3030
commit 6b3a4bfceb
5 changed files with 62 additions and 18 deletions

View File

@@ -120,10 +120,10 @@ const latestReportObj = ref(props.latestReport ?? {
const loading = ref(false)
const showUnwantedEventModal = ref(false)
const reportForm = ref({
recipient: props.stats.nurse.recipient,
discharged: props.stats.nurse.discharged,
current: props.stats.nurse.current,
staff: 0,
recipient: props.stats.duty.recipient,
discharged: props.stats.duty.discharged,
current: props.stats.duty.current,
staff: props.stats.duty.staff,
observables: []
})
const updateReportForm = (form) => {
@@ -199,9 +199,9 @@ const syncPageProps = (pageProps = props) => {
latestReportObj.value = pageProps.latestReport ?? { unwanted_events: [] }
reportForm.value = {
...reportForm.value,
recipient: pageProps.stats.nurse.recipient,
discharged: pageProps.stats.nurse.discharged,
current: pageProps.stats.nurse.current,
recipient: pageProps.stats.duty.recipient,
discharged: pageProps.stats.duty.discharged,
current: pageProps.stats.duty.current,
}
}