Обновлен стартовый экран
Переписаны запросы для статистики, отчетов Добавлена интеграция отчета сестры
This commit is contained in:
@@ -23,6 +23,10 @@ const show = defineModel('show', { default: false })
|
||||
const props = defineProps({
|
||||
historyId: {
|
||||
type: Number
|
||||
},
|
||||
reportNurseId: {
|
||||
type: Number,
|
||||
default: null
|
||||
}
|
||||
})
|
||||
|
||||
@@ -105,16 +109,11 @@ const visitResultOptions = [
|
||||
const submit = async () => {
|
||||
buttonLoading.value = true
|
||||
await axios.post(`/api/nurse/patients/${form.value.patient_id}/correction`, {
|
||||
...form.value
|
||||
...form.value,
|
||||
report_nurse_id: props.reportNurseId,
|
||||
}).then(res => {
|
||||
router.reload({
|
||||
only: [
|
||||
'inDepartmentHistories',
|
||||
'recipientHistories',
|
||||
'dischargedHistories',
|
||||
'deceasedHistories',
|
||||
'transferredHistories'
|
||||
],
|
||||
only: ['patients'],
|
||||
onSuccess: () => {
|
||||
show.value = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user