* исправил нумерацию пациентов

This commit is contained in:
brusnitsyn
2026-02-09 09:41:43 +09:00
parent 5c82d08185
commit e08942e699
2 changed files with 15 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ const fetchPatients = async () => {
endAt: reportStore.timestampCurrentRange[1],
}
await axios.post('/api/mis/patients', data).then((res) => {
patientsData.value[props.status] = res.data
patientsData.value[props.status] = reportStore.addRowNumbers(res.data)
}).finally(() => {
isLoading.value = false
})
@@ -287,7 +287,7 @@ onMounted(async () => {
max-height="200"
min-height="200"
:row-props="rowProps"
:row-key="(row) => row.id"
:row-key="(row, index) => row.id"
class="text-sm!">
</NDataTable>