Задача #8
Убран фильтр по номеру карты Добавлена загрузка связи visitResult Правка размеров колонок Добавлена колонка исход Исправлено определение последнего движения в SttMedicalHistory
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user