소스 검색

EX01 Financial Report,

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 1 년 전
부모
커밋
cc0418f547
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      src/components/Report/FinancialStatusReportGen/FinancialStatusReportGen.tsx

+ 2
- 1
src/components/Report/FinancialStatusReportGen/FinancialStatusReportGen.tsx 파일 보기

@@ -43,7 +43,7 @@ const GenFinancialStatusReport: React.FC<Props> = ({ projects, teamCombo }) => {
if (query.code.length > 0 && query.code.toLocaleLowerCase() !== "all") {
const projectIndex = teamCombo.findIndex((project) => `${project.code} - ${project.name}` === query.code)
console.log(teamCombo[projectIndex].id)
const response = await fetchProjectsFinancialStatusReport({ teamLeadId: projects[projectIndex].id })
const response = await fetchProjectsFinancialStatusReport({ teamLeadId: teamCombo[projectIndex].id })
if (response) {
downloadFile(new Uint8Array(response.blobValue), response.filename!!)
}
@@ -55,6 +55,7 @@ const GenFinancialStatusReport: React.FC<Props> = ({ projects, teamCombo }) => {
}
}
}}
formType="download"
/>
{/* <DownloadReportButton /> */}
</>


불러오는 중...
취소
저장