Задача #8
Some checks failed
Build and Push Docker Image / test (push) Failing after 4s
Build and Push Docker Image / build (push) Failing after 25s

Убран фильтр по номеру карты
Добавлена загрузка связи visitResult
Правка размеров колонок
Добавлена колонка исход
Исправлено определение последнего движения в SttMedicalHistory
This commit is contained in:
brusnitsyn
2026-03-17 14:34:39 +09:00
parent 3c32aeabbe
commit 40d1af7212
4 changed files with 30 additions and 14 deletions

View File

@@ -44,19 +44,25 @@ const columns = ref([
{
title: '№ карты',
key: 'medcardnum',
width: 100,
width: 80,
render: (row) => h(NEllipsis, null, { default: () => row.medcardnum })
},
{
title: 'ФИО',
key: 'fullname',
width: 250,
width: 200,
render: (row) => h(NEllipsis, null, { default: () => row.fullname })
},
{
title: 'Исход',
key: 'visitresult',
width: 60,
render: (row) => h(NEllipsis, null, { default: () => row.visitresult ?? 'Н/д' })
},
{
title: 'Отделение',
key: 'department',
width: 180,
width: 220,
render: (row) => h(NEllipsis, null, { default: () => row.department })
},
{
@@ -74,25 +80,25 @@ const columns = ref([
{
title: 'Дата выписки',
key: 'dateextract',
width: 100,
width: 80,
render: (row) => h(NEllipsis, null, { default: () => row.dateextract })
},
{
title: '№ архива',
key: 'card_num',
width: 120,
width: 80,
render: (row) => h(NEllipsis, null, { default: () => row.card_num || '-' })
},
{
title: 'Дата архива',
key: 'datearhiv',
width: 130,
width: 80,
render: (row) => h(NEllipsis, null, { default: () => row.datearhiv })
},
{
title: 'Статус',
key: 'status',
width: 100,
width: 60,
render: (row) => archiveStatusColumn(row.status)
}
])
@@ -152,6 +158,7 @@ watch(() => archiveCardStore.isOpenArchiveCard, (isOpen) => {
<template>
<NDataTable remote
:single-line="false"
striped
:loading="isLoading"
:row-props="rowProps"