url 오타 수정
iipbs_sn / build (push) Waiting to run

This commit is contained in:
JIeunhuh
2025-05-23 14:26:45 +09:00
parent 36e5e7761f
commit d26c499c2a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ const Page = () => {
handleDownload(`/attach-service/api/v1/download/${atflId}`, fileNm)
}
const registFile = async (fileNm: string, year: string, quater: string, cd: string, id: string) => {
const data = await postData('api/v1/sbmrgPrevnt', {
const data = await postData('v1/sbmrgPrevnt', {
atflNm: fileNm,
mngYr: year,
mngQu: quater,
@@ -114,7 +114,7 @@ const Page = () => {
}}></UiTable>
</ListDiv>
<ListDiv className="mt-4">
<FileUploadForm title='도시침수 예방사업 사업추진현황 등록' onSubmit={async () => { await registFile }} />
<FileUploadForm title='도시침수 예방사업 사업추진현황 등록' onSubmit={async (file, year, quater, cd, id) => {await registFile(file, year,quater, cd,id) }} />
</ListDiv>
</ContentLayout>
)
+2 -2
View File
@@ -42,7 +42,7 @@ const Page = () => {
return true
}
const registFile = async (fileNm:string, year: string, quater: string,cd: string, id: string) => {
const data = await postData('api/v1/dcrpPpl', {
const data = await postData('v1/dcrpPpl', {
atflNm: fileNm,
mngYr: year,
mngQu: quater,
@@ -115,7 +115,7 @@ const Page = () => {
}}></UiTable>
</ListDiv>
<ListDiv className="mt-4">
<FileUploadForm title='노후 하수관로 정비사업 주진현황 등록' onSubmit={() => { registFile }} />
<FileUploadForm title='노후 하수관로 정비사업 주진현황 등록' onSubmit={async (file, year, quater, cd, id) => {await registFile(file, year,quater, cd,id)}} />
</ListDiv>
</ContentLayout>
)