Привязка ввода в отчете дежурного к значениям из отчета мед сестры
This commit is contained in:
@@ -118,9 +118,9 @@ const latestReportObj = ref(props.latestReport ?? {
|
|||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const showUnwantedEventModal = ref(false)
|
const showUnwantedEventModal = ref(false)
|
||||||
const reportForm = ref({
|
const reportForm = ref({
|
||||||
recipient: props.stats.duty.recipient,
|
recipient: props.stats.nurse.recipient,
|
||||||
discharged: props.stats.duty.discharged,
|
discharged: props.stats.nurse.discharged,
|
||||||
current: props.stats.duty.current,
|
current: props.stats.nurse.current,
|
||||||
staff: 0,
|
staff: 0,
|
||||||
observables: []
|
observables: []
|
||||||
})
|
})
|
||||||
@@ -197,9 +197,9 @@ const syncPageProps = (pageProps = props) => {
|
|||||||
latestReportObj.value = pageProps.latestReport ?? { unwanted_events: [] }
|
latestReportObj.value = pageProps.latestReport ?? { unwanted_events: [] }
|
||||||
reportForm.value = {
|
reportForm.value = {
|
||||||
...reportForm.value,
|
...reportForm.value,
|
||||||
recipient: pageProps.stats.duty.recipient,
|
recipient: pageProps.stats.nurse.recipient,
|
||||||
discharged: pageProps.stats.duty.discharged,
|
discharged: pageProps.stats.nurse.discharged,
|
||||||
current: pageProps.stats.duty.current,
|
current: pageProps.stats.nurse.current,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user