From cefe5712e521c576d6f16f7a39a51c46d120b737 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Mon, 17 Nov 2025 21:12:01 +0900
Subject: (김준회) S-EDP 가이드 추가 - 임대홍 프로 요구사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/form-data/form-data-table.tsx | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

(limited to 'components/form-data/form-data-table.tsx')

diff --git a/components/form-data/form-data-table.tsx b/components/form-data/form-data-table.tsx
index 58cd1933..70e93a68 100644
--- a/components/form-data/form-data-table.tsx
+++ b/components/form-data/form-data-table.tsx
@@ -1,7 +1,7 @@
 "use client";
 
 import * as React from "react";
-import { useParams, useRouter, usePathname } from "next/navigation";
+import { useParams, useRouter } from "next/navigation";
 import { useTranslation } from "@/i18n/client";
 
 import { ClientDataTable } from "../client-data-table/data-table";
@@ -28,10 +28,10 @@ import {
   Trash2,
   Eye,
   FileText,
-  Target,
   CheckCircle2,
   AlertCircle,
-  Clock
+  Clock,
+  BookOpen
 } from "lucide-react";
 import { toast } from "sonner";
 import {
@@ -52,6 +52,7 @@ import {
   DropdownMenuTrigger,
 } from "@/components/ui/dropdown-menu";
 import { AddFormTagDialog } from "./add-formTag-dialog";
+import { GuideDialog } from "./guide-dialog";
 import { importExcelData } from "./import-excel-form";
 import { exportExcelData } from "./export-excel-form";
 import { SEDPConfirmationDialog, SEDPStatusDialog } from "./sedp-components";
@@ -280,6 +281,7 @@ export default function DynamicTable({
   const [batchDownDialog, setBatchDownDialog] = React.useState(false);
   const [tempCount, setTempCount] = React.useState(0);
   const [addTagDialogOpen, setAddTagDialogOpen] = React.useState(false);
+  const [guideDialogOpen, setGuideDialogOpen] = React.useState(false);
 
   // TAG_NO가 있는 첫 번째 행의 shi 값 확인
   const isAddTagDisabled = React.useMemo(() => {
@@ -1010,6 +1012,16 @@ export default function DynamicTable({
             </DropdownMenuContent>
           </DropdownMenu>
 
+          {/* Guide 버튼 */}
+          <Button
+            variant="outline"
+            size="sm"
+            onClick={() => setGuideDialogOpen(true)}
+          >
+            <BookOpen className="mr-2 size-4" />
+            Guide
+          </Button>
+
           {/* 리포트 관리 드롭다운 */}
           <DropdownMenu>
             <DropdownMenuTrigger asChild>
@@ -1273,6 +1285,12 @@ export default function DynamicTable({
           formId={formId}
         />
       )}
+
+      {/* Guide Dialog */}
+      <GuideDialog
+        open={guideDialogOpen}
+        onOpenChange={setGuideDialogOpen}
+      />
     </>
   );
 }
\ No newline at end of file
-- 
cgit v1.2.3

