From 7dd2b9fc1856306652f311d19697d9880955bfab Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 22 Aug 2025 02:12:15 +0000 Subject: (최겸) 공지사항, 인포메이션 기능 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/additional-info/join-form.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'components/additional-info') diff --git a/components/additional-info/join-form.tsx b/components/additional-info/join-form.tsx index ca0c60d5..90effddb 100644 --- a/components/additional-info/join-form.tsx +++ b/components/additional-info/join-form.tsx @@ -87,7 +87,6 @@ import { InformationButton } from "@/components/information/information-button" // 보안 파일 다운로드 유틸리티 import import { - downloadFile, quickDownload, smartFileAction, getFileInfo, @@ -366,6 +365,7 @@ export function InfoForm() { const downloadUrl = `/api/vendors/attachments/download?id=${fileId}&vendorId=${Number(companyId)}`; // 보안 다운로드 유틸리티 사용 + const { downloadFile } = await import('@/lib/file-download') const result = await downloadFile(downloadUrl, fileName, { action: 'download', showToast: false, // 우리가 직접 토스트 관리 @@ -413,6 +413,8 @@ export function InfoForm() { const fileName = `vendor-${companyId}-files.zip`; // 보안 다운로드 유틸리티 사용 + + const { downloadFile } = await import('@/lib/file-download') const result = await downloadFile(downloadUrl, fileName, { action: 'download', showToast: false, // 우리가 직접 토스트 관리 @@ -708,7 +710,7 @@ export function InfoForm() { } // 보안 정보 가져오기 (선택적으로 사용자에게 표시) - const securityInfo = getSecurityInfo(); + // const securityInfo = getSecurityInfo(); // Render return ( @@ -746,9 +748,9 @@ export function InfoForm() { )} {/* 보안 정보 표시 (선택적) */} -
+ {/*

📁 허용 파일 크기: {securityInfo.maxFileSizeFormatted} | 남은 다운로드: {securityInfo.remainingDownloads}/분

-
+
*/} @@ -1860,7 +1862,7 @@ export function InfoForm() { domesticCredit: "not_submitted", }, basicContracts: registrationData.basicContracts || [], - documentFiles: { + documentFiles: registrationData.documentFiles || { businessRegistration: [], creditEvaluation: [], bankCopy: [], -- cgit v1.2.3