diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-17 21:12:01 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-17 21:12:01 +0900 |
| commit | cefe5712e521c576d6f16f7a39a51c46d120b737 (patch) | |
| tree | e891a2244983a9b3c81a8cd43f1c85c2f29dc187 /components/form-data/form-data-table.tsx | |
| parent | e6403e9610253b2bfc7a46e470c236e2ed10c626 (diff) | |
(김준회) S-EDP 가이드 추가 - 임대홍 프로 요구사항
Diffstat (limited to 'components/form-data/form-data-table.tsx')
| -rw-r--r-- | components/form-data/form-data-table.tsx | 24 |
1 files changed, 21 insertions, 3 deletions
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 |
