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