From ef4c533ebacc2cdc97e518f30e9a9350004fcdfb Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 28 Apr 2025 02:13:30 +0000
Subject: ~20250428 작업사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../form-data-report-temp-upload-dialog.tsx        | 45 +++++++---------------
 1 file changed, 13 insertions(+), 32 deletions(-)

(limited to 'components/form-data/form-data-report-temp-upload-dialog.tsx')

diff --git a/components/form-data/form-data-report-temp-upload-dialog.tsx b/components/form-data/form-data-report-temp-upload-dialog.tsx
index 74cfe7c3..e4d78248 100644
--- a/components/form-data/form-data-report-temp-upload-dialog.tsx
+++ b/components/form-data/form-data-report-temp-upload-dialog.tsx
@@ -8,6 +8,7 @@ import {
   DialogTitle,
   DialogDescription,
 } from "@/components/ui/dialog";
+import { Button } from "@/components/ui/button";
 import { Label } from "@/components/ui/label";
 import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
 import {
@@ -48,53 +49,33 @@ export const FormDataReportTempUploadDialog: FC<
   return (
     <Dialog open={open} onOpenChange={setOpen}>
       <DialogContent className="w-[600px]" style={{ maxWidth: "none" }}>
-        <DialogHeader>
+        <DialogHeader className="gap-2">
           <DialogTitle>Vendor Document Template</DialogTitle>
-          <DialogDescription>
+          <DialogDescription className="flex justify-around gap-[16px] ">
             {/* 사용하시고자 하는 Vendor Document Template(.docx)를 업로드
             하여주시기 바랍니다. */}
+            <TempDownloadBtn />
+            <VarListDownloadBtn columnsJSON={columnsJSON} formCode={formCode} />
           </DialogDescription>
         </DialogHeader>
         <Tabs value={tabValue}>
           <div className="flex justify-between items-center">
-            <TabsList>
-              <TabsTrigger value="upload" onClick={() => setTabValue("upload")}>
+            <TabsList className="w-full">
+              <TabsTrigger
+                value="upload"
+                onClick={() => setTabValue("upload")}
+                className="flex-1"
+              >
                 Upload Template File
               </TabsTrigger>
               <TabsTrigger
                 value="uploaded"
                 onClick={() => setTabValue("uploaded")}
+                className="flex-1"
               >
                 Uploaded Template File List
               </TabsTrigger>
             </TabsList>
-            <div className="flex flex-row gap-2">
-              <TooltipProvider>
-                <Tooltip>
-                  <TooltipTrigger asChild>
-                    <div>
-                      <TempDownloadBtn />
-                    </div>
-                  </TooltipTrigger>
-                  <TooltipContent>
-                    <Label>Template Sample File Download</Label>
-                  </TooltipContent>
-                </Tooltip>
-                <Tooltip>
-                  <TooltipTrigger asChild>
-                    <div>
-                      <VarListDownloadBtn
-                        columnsJSON={columnsJSON}
-                        formCode={formCode}
-                      />
-                    </div>
-                  </TooltipTrigger>
-                  <TooltipContent>
-                    <Label>Variable List File Download</Label>
-                  </TooltipContent>
-                </Tooltip>
-              </TooltipProvider>
-            </div>
           </div>
           <TabsContent value="upload">
             <FormDataReportTempUploadTab
@@ -113,4 +94,4 @@ export const FormDataReportTempUploadDialog: FC<
       </DialogContent>
     </Dialog>
   );
-};
+};
\ No newline at end of file
-- 
cgit v1.2.3

