From bf64fa0dc69960bedf9127f696ce67da6a3e1cf5 Mon Sep 17 00:00:00 2001 From: Andrey Epifancev Date: Thu, 29 Oct 2026 12:10:47 +0400 Subject: [PATCH] =?UTF-8?q?fix(dict-vsp):=20=D1=88=D0=B8=D1=80=D0=B8=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BA=D0=BE=D0=BB=D0=BE=D0=BD=D0=BE=D0=BA=20=D0=BA?= =?UTF-8?q?=D0=B0=D0=BA=20=D0=B2=20test=20=E2=80=94=20grid-=D1=80=D0=B0?= =?UTF-8?q?=D1=81=D0=BA=D0=BB=D0=B0=D0=B4=D0=BA=D0=B0=20=D0=BD=D0=B5=20?= =?UTF-8?q?=D0=B4=D0=BE=D0=BB=D0=B6=D0=BD=D0=B0=20=D0=BC=D0=B5=D0=BD=D1=8F?= =?UTF-8?q?=D1=82=D1=8C=20=D0=B2=D0=B8=D0=B4=20=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BE=D1=87=D0=BD=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- .../DictVspPage/components/TableDictVsp.jsx | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/web/src/pages/DictVspPage/components/TableDictVsp.jsx b/web/src/pages/DictVspPage/components/TableDictVsp.jsx index db92a98..499e794 100644 --- a/web/src/pages/DictVspPage/components/TableDictVsp.jsx +++ b/web/src/pages/DictVspPage/components/TableDictVsp.jsx @@ -34,9 +34,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'system_code', header: 'Код РФ', - size: 110, - minSize: 90, - maxSize: 140, + size: 100, + minSize: 50, + maxSize: 100, Cell: ({ cell }) => ( {cell.getValue() || '-'} @@ -48,9 +48,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'registration_number', header: 'Регистрационный номер ВСП', - size: 250, - minSize: 200, - maxSize: 300, + size: 180, + minSize: 150, + maxSize: 200, Cell: ({ cell }) => ( {cell.getValue() || '-'} @@ -62,9 +62,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'regional_branch', header: 'Региональный филиал/ССП', - size: 230, - minSize: 180, - maxSize: 300, + size: 186, + minSize: 100, + maxSize: 200, Cell: ({ cell }) => {cell.getValue() || '-'}, enableColumnActions: false, enableSorting: false, @@ -82,9 +82,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'address', header: 'Адрес объекта', - size: 300, + size: 250, minSize: 200, - maxSize: 500, + maxSize: 350, Cell: ({ cell }) => {cell.getValue() || '-'}, enableColumnActions: false, enableSorting: false, @@ -92,9 +92,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'approved_format', header: 'Утверждённый формат', - size: 190, - minSize: 160, - maxSize: 240, + size: 159, + minSize: 120, + maxSize: 180, Cell: ({ cell }) => {cell.getValue() || '-'}, enableColumnActions: false, enableSorting: false, @@ -102,9 +102,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'open_date', header: 'Дата открытия ВСП', - size: 180, - minSize: 150, - maxSize: 220, + size: 138, + minSize: 110, + maxSize: 150, Cell: ({ cell }) => { const date = cell.getValue(); return {date ? new Date(date).toLocaleDateString('ru-RU') : '-'}; @@ -115,9 +115,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'close_date', header: 'Дата закрытия ВСП', - size: 180, - minSize: 150, - maxSize: 220, + size: 137, + minSize: 110, + maxSize: 150, Cell: ({ cell }) => { const date = cell.getValue(); return {date ? new Date(date).toLocaleDateString('ru-RU') : '-'}; @@ -128,9 +128,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'placement_type', header: 'Форма расположения ВСП', - size: 220, - minSize: 180, - maxSize: 260, + size: 170, + minSize: 140, + maxSize: 200, Cell: ({ cell }) => {cell.getValue() || '-'}, enableColumnActions: false, enableSorting: false, @@ -138,9 +138,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'staff_count', header: 'Штатная численность ВСП', - size: 230, - minSize: 190, - maxSize: 270, + size: 170, + minSize: 140, + maxSize: 200, Cell: ({ cell }) => { const value = cell.getValue(); return {value !== undefined && value !== null ? value : '-'}; @@ -161,9 +161,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'rent_contract_num', header: 'Номер договора', - size: 150, - minSize: 130, - maxSize: 200, + size: 130, + minSize: 110, + maxSize: 160, Cell: ({ cell }) => {cell.getValue() || '-'}, enableColumnActions: false, enableSorting: false, @@ -171,9 +171,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'rent_end_date', header: 'Дата окончания договора', - size: 230, - minSize: 190, - maxSize: 270, + size: 150, + minSize: 130, + maxSize: 170, Cell: ({ cell }) => { const date = cell.getValue(); return {date ? new Date(date).toLocaleDateString('ru-RU') : '-'}; @@ -184,9 +184,9 @@ const TableDictVsp = ({ data, onEditClick, onAddClick, onExportClick, loading = { accessorKey: 'notes', header: 'Примечания', - size: 300, - minSize: 200, - maxSize: 500, + size: 200, + minSize: 150, + maxSize: 300, Cell: ({ cell }) => ( {cell.getValue() || '-'}