Форматирование
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user