From 8b777900a2908efebd767493f77ee3ad489b49a7 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Fri, 24 Oct 2025 16:46:30 +0900 Subject: (김준회) fix: expand 핸들러의 event bubbling 문제 처리, 파일업로드 버튼추가 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swp/table/swp-table-toolbar.tsx | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'lib/swp/table/swp-table-toolbar.tsx') diff --git a/lib/swp/table/swp-table-toolbar.tsx b/lib/swp/table/swp-table-toolbar.tsx index 7c5f2f2e..6858f42e 100644 --- a/lib/swp/table/swp-table-toolbar.tsx +++ b/lib/swp/table/swp-table-toolbar.tsx @@ -84,6 +84,20 @@ export function SwpTableToolbar({ }); }; + /** + * 파일 업로드 핸들러 + * 1) 네트워크 드라이브에 정해진 규칙대로, 파일이름 기반으로 파일 업로드하기 (단, cpyCd는 어떻게 해결할지 고민해봐야 함...) + * 2) 1~N개 파일 받아서, 파일 이름 기준으로 파싱해서 SaveInBoxList API를 통해 업로드 처리 + * + * 개발중인 동안은 토스트 반환하도록 처리 + */ + const handleUploadFiles = () => { + toast({ + title: "파일 업로드", + description: "현재 개발중입니다.", + }); + } + // 검색 적용 const handleSearch = () => { onFiltersChange(localFilters); @@ -122,15 +136,16 @@ export function SwpTableToolbar({ {isSyncing ? "동기화 중..." : "SWP 동기화"} -
SWP 문서 관리 시스템
+
+ +
{/* 검색 필터 */} -- cgit v1.2.3