Форматирование

This commit is contained in:
brusnitsyn
2026-04-24 16:46:10 +09:00
parent fd0e6ee817
commit 63daa62888
87 changed files with 1380 additions and 791 deletions

View File

@@ -394,6 +394,17 @@ export const useReportStore = defineStore('reportStore', () => {
await axios.delete(`/api/report/manual-patients/${departmentPatientId}/operations/${operationId}`)
}
const saveReanimationIndicator = async (payload) => {
await axios.post('/api/report/reanimation-indicators', {
...payload,
departmentId: reportInfo.value?.department?.department_id,
startAt: reportInfo.value?.dates?.startAt,
endAt: reportInfo.value?.dates?.endAt,
})
await loadPatientsByStatus('mis-reanimation', { resetPage: true })
}
return {
reportFormRef,
timestampNow,
@@ -439,6 +450,7 @@ export const useReportStore = defineStore('reportStore', () => {
createManualPatientOperation,
updateManualPatientOperation,
deleteManualPatientOperation,
saveReanimationIndicator,
sendReportForm,
addRowNumbers,
}