From ba35e67845f935c8ce0151c9ef1fefa0b0510faf Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 22 Sep 2025 18:59:13 +0900 Subject: (김준회) AVL 피드백 반영 (이진용 프로 건) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx | 66 ++++++++++----------------- 1 file changed, 23 insertions(+), 43 deletions(-) (limited to 'app') diff --git a/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx b/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx index f8df3c49..7152bdc2 100644 --- a/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx +++ b/app/[lng]/evcp/(evcp)/avl/avl-page-client.tsx @@ -1,11 +1,6 @@ "use client" import { useEffect, useState } from "react" -import { - ResizablePanelGroup, - ResizablePanel, - ResizableHandle, -} from "@/components/ui/resizable" import { AvlTable } from "@/lib/avl/table/avl-table" import { AvlRegistrationArea } from "@/lib/avl/table/avl-registration-area" import { getAvlLists } from "@/lib/avl/service" @@ -21,7 +16,6 @@ export function AvlPageClient({ initialData }: AvlPageClientProps) { const [avlListData, setAvlListData] = useState(initialData) const [isLoading, setIsLoading] = useState(false) const [registrationMode, setRegistrationMode] = useState<'standard' | 'project' | null>(null) - const [selectedAvlRow, setSelectedAvlRow] = useState(null) // 초기 데이터 설정 useEffect(() => { @@ -71,47 +65,33 @@ export function AvlPageClient({ initialData }: AvlPageClientProps) { setRegistrationMode(mode) } - // 행 선택 핸들러 - const handleRowSelect = (selectedRow: AvlListItem | null) => { - setSelectedAvlRow(selectedRow) - } + // 행 선택 핸들러 (현재는 사용하지 않지만 향후 확장 대비) + const handleRowSelect = () => {} return ( -
-
- - - {/* info button and header section */} -
-

- AVL(Approved Vendor List) 목록 -

- -
- - - {/* 상단 패널: AVL 목록 */} - -
- -
-
+
+ {/* info button and header section */} +
+

+ AVL(Approved Vendor List) 목록 +

+ +
- + {/* 상단: AVL 목록 */} +
+ +
- {/* 하단 패널: AVL 등록 */} - -
- -
-
- + {/* 하단: AVL 등록 */} +
+
) -- cgit v1.2.3