From 2399d5e285bb76c68a2c3368b05ac40478886c2b Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 17 Nov 2025 21:13:34 +0900 Subject: (김준회) swp: document detail dialog에서 불필요 정보 삭제 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swp/table/swp-document-detail-dialog.tsx | 100 ++++++++++----------------- 1 file changed, 38 insertions(+), 62 deletions(-) (limited to 'lib/swp/table/swp-document-detail-dialog.tsx') diff --git a/lib/swp/table/swp-document-detail-dialog.tsx b/lib/swp/table/swp-document-detail-dialog.tsx index d69e2986..a87cd0e2 100644 --- a/lib/swp/table/swp-document-detail-dialog.tsx +++ b/lib/swp/table/swp-document-detail-dialog.tsx @@ -15,8 +15,6 @@ import { Download, FileIcon, AlertCircle, - ArrowDownToLine, - ArrowUpFromLine, } from "lucide-react"; import { Table, @@ -300,21 +298,10 @@ export function SwpDocumentDetailDialog({ {/* Stage 컬럼 (첫 행만 표시, rowspan) */} {idx === 0 && ( - - {stage} - + {stage} )} @@ -326,17 +313,7 @@ export function SwpDocumentDetailDialog({ : "bg-green-100 text-green-800" } > - {activity.inOut === "IN" ? ( - <> - - IN - - ) : ( - <> - - OUT - - )} + {activity.inOut} @@ -396,42 +373,41 @@ export function SwpDocumentDetailDialog({ 파일 로딩 중... ) : activityFiles.length > 0 ? ( -
- {activityFiles.map((file) => ( -
-
- -
-
- {file.FILE_NM} -
- {file.FILE_SZ && ( -
- {formatFileSize(file.FILE_SZ)} -
- )} - {file.STAT && ( - - {file.STAT} - - )} -
-
- -
- ))} -
+ + + + 파일명 + 크기 + 날짜 + 다운로드 + + + + {activityFiles.map((file) => ( + + + {file.FILE_NM} + + + {file.FILE_SZ ? formatFileSize(file.FILE_SZ) : "-"} + + + {file.CRTE_DTM ? formatSwpDateShort(file.CRTE_DTM) : "-"} + + + + + + ))} + +
) : (
-- cgit v1.2.3