From f6c9a013b54768974fbdd96c0d5a2bb164bc40a9 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Thu, 25 Jun 2026 14:59:29 +0900 Subject: [PATCH] =?UTF-8?q?260625=5F07=5FENH:=20table=20=EA=B0=84=EA=B2=A9?= =?UTF-8?q?=20=EC=A1=B0=EC=A0=95=20->=20=EC=82=AC=EC=97=85=EC=9C=A0?= =?UTF-8?q?=ED=98=95,=20=EB=8B=A8=EC=B2=B4=EB=AA=85,=20=EC=82=AC=EC=97=85?= =?UTF-8?q?=EB=AA=85=20...=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(pages)/(main)/performance/page.tsx | 39 +++++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/src/app/(pages)/(main)/performance/page.tsx b/src/app/(pages)/(main)/performance/page.tsx index d523384..af677c9 100644 --- a/src/app/(pages)/(main)/performance/page.tsx +++ b/src/app/(pages)/(main)/performance/page.tsx @@ -360,11 +360,44 @@ const PerformancePage = () => { enableSorting: false }, ]: []) as DataTableColumn[], - {id: "businessType", header: PERFORMANCE_FIELD_LABELS.businessType, cell: ({row}) => getCodeLabel(codes, "business_type", row.original.businessType)}, + { + id: "businessType", + header: PERFORMANCE_FIELD_LABELS.businessType, + cell: ({row}) => { + const value = getCodeLabel(codes, "business_type", row.original.businessType); + return ( +
+ {value} +
+ ); + }, + size: 130, + maxSize: 130, + }, {id: "genre", header: PERFORMANCE_FIELD_LABELS.performanceGenre, cell: ({row}) => getCodeLabel(codes, "genre", row.original.performanceGenre)}, {id: "area", header: PERFORMANCE_FIELD_LABELS.performanceArea, cell: ({row}) => getCodeLabel(codes, "area", row.original.performanceArea)}, - {accessorKey: "artistName", header: PERFORMANCE_FIELD_LABELS.artistName}, - {accessorKey: "performanceName", header: PERFORMANCE_FIELD_LABELS.performanceName}, + { + accessorKey: "artistName", + header: PERFORMANCE_FIELD_LABELS.artistName, + cell: ({row}) => ( +
+ {row.original.artistName} +
+ ), + size: 120, + maxSize: 120, + }, + { + accessorKey: "performanceName", + header: PERFORMANCE_FIELD_LABELS.performanceName, + cell: ({row}) => ( +
+ {row.original.performanceName} +
+ ), + size: 300, + maxSize: 300, + }, {id: "startMonth", header: PERFORMANCE_FIELD_LABELS.performanceStartMonth, accessorFn: (row) => row.performanceStartMonth ?? 0, cell: ({row}) => row.original.performanceStartMonth === 0? "미정":`${row.original.performanceStartMonth}월`},