diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-27 01:16:20 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-27 01:16:20 +0000 |
| commit | e9897d416b3e7327bbd4d4aef887eee37751ae82 (patch) | |
| tree | bd20ce6eadf9b21755bd7425492d2d31c7700a0e /lib/vendor-evaluation-submit | |
| parent | 3bf1952c1dad9d479bb8b22031b06a7434d37c37 (diff) | |
(대표님) 20250627 오전 10시 작업사항
Diffstat (limited to 'lib/vendor-evaluation-submit')
| -rw-r--r-- | lib/vendor-evaluation-submit/table/evaluation-submissions-table-columns.tsx | 94 |
1 files changed, 45 insertions, 49 deletions
diff --git a/lib/vendor-evaluation-submit/table/evaluation-submissions-table-columns.tsx b/lib/vendor-evaluation-submit/table/evaluation-submissions-table-columns.tsx index 869839cb..aa6255bc 100644 --- a/lib/vendor-evaluation-submit/table/evaluation-submissions-table-columns.tsx +++ b/lib/vendor-evaluation-submit/table/evaluation-submissions-table-columns.tsx @@ -140,54 +140,43 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef<Evaluat // minSize: 400, // }, - { - id: "vendorInfo", - header: ({ column }) => ( - <DataTableColumnHeaderSimple column={column} title="협력업체" /> - ), - cell: ({ row }) => { - const vendor = row.original.vendor; - return ( - <div className="space-y-1"> - <div className="font-medium">{vendor.vendorName}</div> - <div className="text-sm text-muted-foreground"> - {vendor.vendorCode} • {vendor.countryCode} - </div> - </div> - ); - }, - enableSorting: false, - size: 200, - }, + // { + // id: "vendorInfo", + // header: ({ column }) => ( + // <DataTableColumnHeaderSimple column={column} title="협력업체" /> + // ), + // cell: ({ row }) => { + // const vendor = row.original.vendor; + // return ( + // <div className="space-y-1"> + // <div className="font-medium">{vendor.vendorName}</div> + // <div className="text-sm text-muted-foreground"> + // {vendor.vendorCode} • {vendor.countryCode} + // </div> + // </div> + // ); + // }, + // enableSorting: false, + // size: 200, + // }, - { - accessorKey: "evaluationYear", - header: ({ column }) => ( - <DataTableColumnHeaderSimple column={column} title="평가연도" /> - ), - cell: ({ row }) => ( - <Badge variant="outline"> - {row.getValue("evaluationYear")}년 - </Badge> - ), - size: 60, - }, + - { - accessorKey: "evaluationRound", - header: ({ column }) => ( - <DataTableColumnHeaderSimple column={column} title="평가회차" /> - ), - cell: ({ row }) => { - const round = row.getValue("evaluationRound") as string; - return round ? ( - <Badge variant="secondary">{round}</Badge> - ) : ( - <span className="text-muted-foreground">-</span> - ); - }, - size: 60, - }, + // { + // accessorKey: "evaluationRound", + // header: ({ column }) => ( + // <DataTableColumnHeaderSimple column={column} title="평가회차" /> + // ), + // cell: ({ row }) => { + // const round = row.getValue("evaluationRound") as string; + // return round ? ( + // <Badge variant="secondary">{round}</Badge> + // ) : ( + // <span className="text-muted-foreground">-</span> + // ); + // }, + // size: 60, + // }, ] // ---------------------------------------------------------------- @@ -520,9 +509,16 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef<Evaluat return [ selectColumn, { - id: "basicInfo", - header: "기본 정보", - columns: basicColumns, + accessorKey: "evaluationYear", + header: ({ column }) => ( + <DataTableColumnHeaderSimple column={column} title="평가연도" /> + ), + cell: ({ row }) => ( + <Badge variant="outline"> + {row.getValue("evaluationYear")}년 + </Badge> + ), + size: 60, }, { id: "statusInfo", |
