From 7305a614ca20d50e6ab50bbcfbb128a6f1f90e53 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Sun, 15 Jun 2025 04:41:55 +0000 Subject: (최겸) 기술영업 벤더 개발 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../table/tech-vendors-table-columns.tsx | 29 +++------------------- 1 file changed, 4 insertions(+), 25 deletions(-) (limited to 'lib/tech-vendors/table/tech-vendors-table-columns.tsx') diff --git a/lib/tech-vendors/table/tech-vendors-table-columns.tsx b/lib/tech-vendors/table/tech-vendors-table-columns.tsx index 438f4000..e586a667 100644 --- a/lib/tech-vendors/table/tech-vendors-table-columns.tsx +++ b/lib/tech-vendors/table/tech-vendors-table-columns.tsx @@ -217,45 +217,27 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef // Status badge variant mapping - 더 뚜렷한 색상으로 변경 const getStatusConfig = (status: StatusType): StatusConfig & { iconColor: string } => { switch (status) { - case "PENDING_REVIEW": - return { - variant: "outline", - className: "bg-yellow-100 text-yellow-800 border-yellow-300", - iconColor: "text-yellow-600" - }; - case "IN_REVIEW": - return { - variant: "outline", - className: "bg-blue-100 text-blue-800 border-blue-300", - iconColor: "text-blue-600" - }; - case "REJECTED": - return { - variant: "outline", - className: "bg-red-100 text-red-800 border-red-300", - iconColor: "text-red-600" - }; case "ACTIVE": return { - variant: "outline", + variant: "default", className: "bg-emerald-100 text-emerald-800 border-emerald-300 font-semibold", iconColor: "text-emerald-600" }; case "INACTIVE": return { - variant: "outline", + variant: "default", className: "bg-gray-100 text-gray-800 border-gray-300", iconColor: "text-gray-600" }; case "BLACKLISTED": return { - variant: "outline", + variant: "destructive", className: "bg-slate-800 text-white border-slate-900", iconColor: "text-white" }; default: return { - variant: "outline", + variant: "default", className: "bg-gray-100 text-gray-800 border-gray-300", iconColor: "text-gray-600" }; @@ -265,9 +247,6 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef // 상태 표시 텍스트 const getStatusDisplay = (status: StatusType): string => { const statusMap: StatusDisplayMap = { - "PENDING_REVIEW": "가입 신청 중", - "IN_REVIEW": "심사 중", - "REJECTED": "심사 거부됨", "ACTIVE": "활성 상태", "INACTIVE": "비활성 상태", "BLACKLISTED": "거래 금지" -- cgit v1.2.3