diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-22 02:12:15 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-08-22 02:12:15 +0000 |
| commit | 7dd2b9fc1856306652f311d19697d9880955bfab (patch) | |
| tree | 3144f14e2b6e9d66c25f10686ca9e94d61d9154e /components/additional-info | |
| parent | 94082bfe915d3b0337f8929a2bb27828abb5d3c7 (diff) | |
(최겸) 공지사항, 인포메이션 기능 수정
Diffstat (limited to 'components/additional-info')
| -rw-r--r-- | components/additional-info/join-form.tsx | 12 |
1 files changed, 7 insertions, 5 deletions
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() { )} {/* 보안 정보 표시 (선택적) */} - <div className="text-xs text-muted-foreground"> + {/* <div className="text-xs text-muted-foreground"> <p>📁 허용 파일 크기: {securityInfo.maxFileSizeFormatted} | 남은 다운로드: {securityInfo.remainingDownloads}/분</p> - </div> + </div> */} </div> <Separator /> @@ -1860,7 +1862,7 @@ export function InfoForm() { domesticCredit: "not_submitted", }, basicContracts: registrationData.basicContracts || [], - documentFiles: { + documentFiles: registrationData.documentFiles || { businessRegistration: [], creditEvaluation: [], bankCopy: [], |
