fix: 운영실태(fo), 물재이용(wr) 프록시 라우트 파일 추가

This commit is contained in:
swcho
2025-10-21 15:11:12 +09:00
parent 77dd04a140
commit 0585a6d8df
7 changed files with 253 additions and 5 deletions
@@ -72,6 +72,11 @@ const FileUploadForm = ({
handleUploadWithResponse(files, currentFile)
.then(({ atflCd, atflId }) => {
// 업로드 완료 후 onSubmit 실행
console.log('fileNm', fileNm);
console.log('selectedYear', selectedYear);
console.log('selectedQuarter', selectedQuarter);
console.log('atflCd', atflCd);
console.log('atflId', atflId);
onSubmit(fileNm, selectedYear, selectedQuarter, atflCd || '', atflId || '');
// UI 초기화
@@ -120,6 +125,8 @@ const FileUploadForm = ({
reject(error);
};
console.log('Starting upload for files:', files);
// 기존 handleUpload 유틸리티 사용 (수정하지 않음)
handleUpload(files, {
handleUploadStart: setUpload,
@@ -160,6 +167,10 @@ const FileUploadForm = ({
setFileName(firstFile.name);
setCurrentFile(firstFile);
console.log('selectedFiles', selectedFiles);
console.log('firstFile', firstFile);
console.log('firstFile name', firstFile.name);
if (onFileSelect) {
onFileSelect(firstFile, internalAtflCd, internalAtflId);
}