From 6d654b1ba2c19e0bf1745b636908e3b00a0f02c7 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 9 Jul 2025 12:19:05 +0000 Subject: (대표님) 20250709 변경사항 (약 18시 30분까지) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/welding/table/ocr-table-columns.tsx | 40 +++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) (limited to 'lib/welding/table/ocr-table-columns.tsx') diff --git a/lib/welding/table/ocr-table-columns.tsx b/lib/welding/table/ocr-table-columns.tsx index 93ee1004..d4ca9f5f 100644 --- a/lib/welding/table/ocr-table-columns.tsx +++ b/lib/welding/table/ocr-table-columns.tsx @@ -51,7 +51,25 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef enableSorting: false, enableHiding: false, }, - + { + accessorKey: "fileName", + header: ({ column }) => ( + + ), + cell: ({ getValue }) => { + const fileName = getValue() as string + return ( +
+ {/* */} + {fileName || "N/A"} + {/* */} + +
+ ) + }, + enableSorting: true, + enableHiding: false, + }, // Report No 컬럼 { accessorKey: "reportNo", @@ -233,7 +251,25 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef // }, // enableSorting: true, // }, - + { + accessorKey: "inspectionDate", + header: ({ column }) => ( + + ), + cell: ({ getValue }) => { + const inspectionDate = getValue() as string + return ( +
+ {/* */} + {inspectionDate || "N/A"} + {/* */} + +
+ ) + }, + enableSorting: true, + enableHiding: false, + }, { accessorKey: "userName", -- cgit v1.2.3