From 058b32e0e5ab5bc6fd02fe57b3dde6e934f91040 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Sun, 14 Sep 2025 06:43:13 +0000
Subject: (최겸) 입찰 긴급여부 추가, 입찰첨부문서 추가
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/biddings-table-columns.tsx | 30 +++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

(limited to 'lib/bidding/list/biddings-table-columns.tsx')

diff --git a/lib/bidding/list/biddings-table-columns.tsx b/lib/bidding/list/biddings-table-columns.tsx
index ed9d20e3..5240b134 100644
--- a/lib/bidding/list/biddings-table-columns.tsx
+++ b/lib/bidding/list/biddings-table-columns.tsx
@@ -5,9 +5,10 @@ import { type ColumnDef } from "@tanstack/react-table"
 import { Checkbox } from "@/components/ui/checkbox"
 import { Badge } from "@/components/ui/badge"
 import { Button } from "@/components/ui/button"
-import { 
+import {
   Eye, Edit, MoreHorizontal, FileText, Users, Calendar,
-  Building, Package, DollarSign, Clock, CheckCircle, XCircle
+  Building, Package, DollarSign, Clock, CheckCircle, XCircle,
+  AlertTriangle
 } from "lucide-react"
 import {
   Tooltip,
@@ -136,6 +137,31 @@ export function getBiddingsColumns({ setRowAction }: GetColumnsProps): ColumnDef
       meta: { excelHeader: "입찰상태" },
     },
 
+    // ░░░ 긴급여부 ░░░
+    {
+      accessorKey: "isUrgent",
+      header: ({ column }) => <DataTableColumnHeaderSimple column={column} title="긴급여부" />,
+      cell: ({ row }) => {
+        const isUrgent = row.original.isUrgent
+
+        return isUrgent ? (
+          <div className="flex items-center gap-1">
+            <AlertTriangle className="h-4 w-4 text-red-600" />
+            <Badge variant="destructive" className="text-xs">
+              긴급
+            </Badge>
+          </div>
+        ) : (
+          <div className="flex items-center gap-1">
+            <CheckCircle className="h-4 w-4 text-green-600" />
+            <span className="text-xs text-muted-foreground">일반</span>
+          </div>
+        )
+      },
+      size: 90,
+      meta: { excelHeader: "긴급여부" },
+    },
+
     // ░░░ 사전견적 ░░░
     {
       id: "preQuote",
-- 
cgit v1.2.3

