diff --git a/apps/wr/app/store/stats/rainStat/headList.tsx b/apps/wr/app/store/stats/rainStat/headList.tsx index e1c427fdf..412b79178 100644 --- a/apps/wr/app/store/stats/rainStat/headList.tsx +++ b/apps/wr/app/store/stats/rainStat/headList.tsx @@ -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 + }, +]; \ No newline at end of file diff --git a/apps/wr/app/store/stats/rainStat/index.tsx b/apps/wr/app/store/stats/rainStat/index.tsx index 2a1a5bc5a..a2c9f45a7 100644 --- a/apps/wr/app/store/stats/rainStat/index.tsx +++ b/apps/wr/app/store/stats/rainStat/index.tsx @@ -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 = {