Добавлено сохранение правок поверх МИС
Добавлено версионирование сохраненных правок Добавлено сохранение отчета мед. сестры
This commit is contained in:
@@ -5,8 +5,8 @@ import AppContainer from "../../../Components/AppContainer.vue";
|
||||
import AppPanel from "../../../Components/AppPanel.vue";
|
||||
import DatePickerQuery from "../../../Components/DatePickerQuery.vue";
|
||||
import UrgencyBadge from "../../../Components/UrgencyBadge.vue";
|
||||
import {computed, h, ref, shallowRef} from "vue"
|
||||
import {TbArrowMoveRight, TbArrowMoveUp, TbEdit, TbCirclePlus, TbPencil} from 'vue-icons-plus/tb'
|
||||
import {h, ref, shallowRef} from "vue"
|
||||
import {TbCirclePlus, TbPencil} from 'vue-icons-plus/tb'
|
||||
import {useAuthStore} from "../../../Stores/auth.js";
|
||||
import AddMedicalHistoryModal from "../Components/AddMedicalHistoryModal.vue";
|
||||
import EditMedicalHistoryModal from "../Components/EditMedicalHistoryModal.vue";
|
||||
@@ -84,6 +84,10 @@ const onClickEditButton = (historyId) => {
|
||||
editHistoryId.value = historyId
|
||||
}
|
||||
|
||||
const submit = () => {
|
||||
// TODO: сохранение отчета и пациентов
|
||||
}
|
||||
|
||||
const formattedLabel = (word, count) => {
|
||||
return `${word} (${count})`
|
||||
}
|
||||
@@ -97,7 +101,7 @@ const formattedLabel = (word, count) => {
|
||||
<NTag type="info" :bordered="false">
|
||||
{{ userDepartment.name_full }}
|
||||
</NTag>
|
||||
<DatePickerQuery :date="dates" />
|
||||
<DatePickerQuery :date="dates" class="text-lg!" />
|
||||
</NFlex>
|
||||
</AppPanel>
|
||||
<AppPanel header="Пациенты в отделении" header-include-body>
|
||||
@@ -116,44 +120,47 @@ const formattedLabel = (word, count) => {
|
||||
<NDataTable :columns="columns"
|
||||
:data="inDepartmentHistories"
|
||||
table-layout="fixed"
|
||||
max-height="calc(100vh - 375px)"
|
||||
min-height="calc(100vh - 375px)"
|
||||
max-height="calc(100vh - 435px)"
|
||||
min-height="calc(100vh - 435px)"
|
||||
/>
|
||||
</NTabPane>
|
||||
<NTabPane name="income" :tab="formattedLabel('Поступившие', recipientHistories.length)">
|
||||
<NDataTable :columns="columns"
|
||||
:data="recipientHistories"
|
||||
table-layout="fixed"
|
||||
max-height="calc(100vh - 375px)"
|
||||
min-height="calc(100vh - 375px)"
|
||||
max-height="calc(100vh - 435px)"
|
||||
min-height="calc(100vh - 435px)"
|
||||
/>
|
||||
</NTabPane>
|
||||
<NTabPane name="outcome" :tab="formattedLabel('Выписанные', dischargedHistories.length)">
|
||||
<NDataTable :columns="columns"
|
||||
:data="dischargedHistories"
|
||||
table-layout="fixed"
|
||||
max-height="calc(100vh - 375px)"
|
||||
min-height="calc(100vh - 375px)"
|
||||
max-height="calc(100vh - 435px)"
|
||||
min-height="calc(100vh - 435px)"
|
||||
/>
|
||||
</NTabPane>
|
||||
<NTabPane name="dead" :tab="formattedLabel('Умершие', deceasedHistories.length)">
|
||||
<NDataTable :columns="columns"
|
||||
:data="deceasedHistories"
|
||||
table-layout="fixed"
|
||||
max-height="calc(100vh - 375px)"
|
||||
min-height="calc(100vh - 375px)"
|
||||
max-height="calc(100vh - 435px)"
|
||||
min-height="calc(100vh - 435px)"
|
||||
/>
|
||||
</NTabPane>
|
||||
<NTabPane name="transfer" :tab="formattedLabel('Переведенные', transferredHistories.length)">
|
||||
<NDataTable :columns="columns"
|
||||
:data="transferredHistories"
|
||||
table-layout="fixed"
|
||||
max-height="calc(100vh - 375px)"
|
||||
min-height="calc(100vh - 375px)"
|
||||
max-height="calc(100vh - 435px)"
|
||||
min-height="calc(100vh - 435px)"
|
||||
/>
|
||||
</NTabPane>
|
||||
</NTabs>
|
||||
</AppPanel>
|
||||
<NButton secondary size="large">
|
||||
Сохранить отчет
|
||||
</NButton>
|
||||
</AppContainer>
|
||||
<AddMedicalHistoryModal v-model:show="showAddMedicalHistoryModal" />
|
||||
<EditMedicalHistoryModal v-model:show="showEditMedicalHistoryModal" :history-id="editHistoryId" />
|
||||
|
||||
Reference in New Issue
Block a user