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 ++++++-
components/form-data/guide-dialog.tsx | 116 +++++++++++++++++++++++++++++++
2 files changed, 137 insertions(+), 3 deletions(-)
create mode 100644 components/form-data/guide-dialog.tsx
(limited to 'components/form-data')
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({
+ {/* Guide 버튼 */}
+
+
{/* 리포트 관리 드롭다운 */}
@@ -1273,6 +1285,12 @@ export default function DynamicTable({
formId={formId}
/>
)}
+
+ {/* Guide Dialog */}
+
>
);
}
\ No newline at end of file
diff --git a/components/form-data/guide-dialog.tsx b/components/form-data/guide-dialog.tsx
new file mode 100644
index 00000000..2b00093e
--- /dev/null
+++ b/components/form-data/guide-dialog.tsx
@@ -0,0 +1,116 @@
+"use client";
+
+import {
+ Dialog,
+ DialogContent,
+ DialogDescription,
+ DialogHeader,
+ DialogTitle,
+} from "@/components/ui/dialog";
+
+interface GuideDialogProps {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+}
+
+export function GuideDialog({ open, onOpenChange }: GuideDialogProps) {
+ return (
+
+ );
+}
+
--
cgit v1.2.3