return res 추가, type추가

This commit is contained in:
YangJinSoo94
2025-06-18 14:32:52 +09:00
parent 9b49f12188
commit c5503681f0
2 changed files with 72 additions and 2 deletions
@@ -73,3 +73,73 @@ export const rainStatHeadListExport: TableUpperProps[] = [
rowSpan:2
},
];
export const rainStatDetailHeadListExport: TableUpperProps[] = [
{
id: "ctpvCd",
title: "시도",
row:0,
},
{
id: "sggCd",
title: "시군구",
row:0,
},
{
id: "areaNm",
title: "행정구역명",
row:0,
},
{
id: "",
title: "시설명",
row:0,
},
{
id: "이용용도",
title: "이용용도",
row:0,
colSpan:7
},
{
id: "조경용수",
title: "조경용수",
row:1,
},
{
id: "청소화장실용수",
title: "청소화장실용수",
row:1,
},
{
id:"세척살수용수",
title:"세척살수용수",
row:1,
},
{
id: "농업용수",
title: "농업용수",
row:1,
},
{
id: "공업용수",
title: "공업용수",
row:1,
},
{
id: "친수용수",
title: "친수용수",
row:1,
},
{
id: "기타",
title: "기타",
row:1,
},
{
id: "연간운영비",
title: "연간운영비(백만원/년)",
row:0,
rowSpan:2
},
];
+2 -2
View File
@@ -6,6 +6,7 @@ export type RainStatProps = {
ctpvCd : string //시도
sggCd : string //시군구
areaNm : string //행정구역명
bdstNm : string //시설명
instlCst : number //설치비용
archArea : number //건축연면적
dtfcltCpct : number //처리용량(저류조용량)
@@ -25,8 +26,7 @@ export type RainStatProps = {
const fetchRainStatList = async (year:string) => {
const res = await getFetch(fetchType.WR,`/reuseChk/rainy/stat/${year}`)
console.log(res);
return [];
return res;
}
type rainStatActions = {