From 5dc6fe4e3b573d10d779c02104b2d3ed87f5ceb1 Mon Sep 17 00:00:00 2001 From: dongsilove Date: Fri, 13 Feb 2026 22:32:24 +0900 Subject: [PATCH] =?UTF-8?q?wr:=20=EC=97=91=EC=85=80=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=EB=AA=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../matMng/coMat/ruseCaseMng/page.tsx | 3 +- .../matMng/coMng/coSttn/page.tsx | 3 +- .../matMng/coMng/drgtSttn/page.tsx | 2 +- .../ruseFcltMng/fcltSttn/htdflSttn/page.tsx | 2 +- .../ruseFcltMng/fcltSttn/rainSttn/page.tsx | 6 +- .../ruseFcltMng/fcltSttn/rswtSttn/page.tsx | 2 +- .../prfmncSttn/chkgdnSttn/page.tsx | 3 +- .../fcltSttn/rainSttn/headList.tsx | 615 +++--------------- .../ruseFcltMng/fcltSttn/rainSttn/index.tsx | 5 +- .../LayerPopUp/RainFacility/RainFacility.tsx | 2 +- 10 files changed, 85 insertions(+), 558 deletions(-) diff --git a/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx b/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx index dfb2b11e3..2439a38e9 100644 --- a/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx +++ b/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx @@ -278,7 +278,7 @@ export default function RuseCaseMng() { // download() }} > - 다운로드 + 엑셀다운로드 @@ -293,4 +293,3 @@ export default function Page() { ); } - diff --git a/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/headList.tsx b/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/headList.tsx index ab77aaf6a..a461b3336 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/headList.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/headList.tsx @@ -10,574 +10,107 @@ export const sttnHeadListType = z.array( ); export const rainSttHeadListExport: z.infer = [ - { - id: "cityText", - title: "시도", - visible: true, - }, - { - id: "sggText", - title: "시군구", - visible: true, - }, - { - id: "bdstNm", - title: "건축물명", - visible: true, - }, - { - id: "daddr", - title: "주소", - visible: true, - }, - { - id: "bdsgUsgText", - title: "건축물용도", - visible: true, - }, - { - id: "frstArchPrmsnDt", - title: "최초건축허가일시", - visible: true, - }, - { - id: "archArea", - title: "건축면적", - visible: true, - }, - { - id: "chBuildingYn", - title: "증축・개축・재축여부", - visible: true, - }, - { - id: "lawTrgtYn", - title: "법적의무대상여부", - visible: true, - }, - { - id: "instlCmptnDt", - title: "설치완료일시", - visible: true, - }, + { id: "cityText", title: "시도", visible: true, }, + { id: "sggText", title: "시군구", visible: true, }, + { id: "bdstNm", title: "건축물명", visible: true, }, + { id: "daddr", title: "주소", visible: true, }, + { id: "bdsgUsgText", title: "건축물용도", visible: true, }, + { id: "frstArchPrmsnDt", title: "최초건축허가일시", visible: true, }, + { id: "archArea", title: "건축면적", visible: true, }, + { id: "chBuildingYn", title: "증축・개축・재축여부", visible: true, }, + { id: "lawTrgtYn", title: "법적의무대상여부", visible: true, }, + { id: "instlCmptnDt", title: "설치완료일시", visible: true, }, - { - id: "instlCst", - title: "설치비용", - visible: true, - }, + { id: "instlCst", title: "설치비용", visible: true, }, - { - id: "pntfColKnd", - title: "집수지점종류", - visible: true, - }, - { - id: "pntfColArea", - title: "집수지점면적", - visible: true, - }, + { id: "pntfColKnd", title: "집수지점종류", visible: true, }, + { id: "pntfColArea", title: "집수지점면적", visible: true, }, - { - id: "dtfcltCpct", - title: "저류조용량", - visible: true, - }, - { - id: "filtrTrtmfctYn", - title: "여과처리시설유무", - visible: true, - }, - { - id: "filtrTrtmfctCpct", - title: "여과처리시설용량", - visible: true, - }, - { - id: "filtrTrtmfctPrs", - title: "여과처리시설처리공정", - visible: true, - }, + { id: "dtfcltCpct", title: "저류조용량", visible: true, }, + { id: "filtrTrtmfctYn", title: "여과처리시설유무", visible: true, }, + { id: "filtrTrtmfctCpct", title: "여과처리시설용량", visible: true, }, + { id: "filtrTrtmfctPrs", title: "여과처리시설처리공정", visible: true, }, - { - id: "instlCstSprtYn", - title: "설치지원비용여부", - visible: true, - }, - { - id: "instlCstSprtAmt", - title: "설치지원비용", - visible: true, - }, + { id: "instlCstSprtYn", title: "설치지원비용여부", visible: true, }, + { id: "instlCstSprtAmt", title: "설치지원비용", visible: true, }, - { - id: "grntchBdstCertYn", - title: "녹색건축물인증여부", - visible: true, - }, - { - id: "grntchBdstCertYr", - title: "녹색건축물인증년도", - visible: true, - }, - { - id: "grntchBdstCertNo", - title: "녹색건축물인증번호", - visible: true, - }, - { - id: "grntchBdstCertGrdText", - title: "녹색건축물인증등급", - visible: true, - }, + { id: "grntchBdstCertYn", title: "녹색건축물인증여부", visible: true, }, + { id: "grntchBdstCertYr", title: "녹색건축물인증년도", visible: true, }, + { id: "grntchBdstCertNo", title: "녹색건축물인증번호", visible: true, }, + { id: "grntchBdstCertGrdText", title: "녹색건축물인증등급", visible: true, }, ]; // id는 다확인해야함 export const rainSttNodeListExport: CommonTableProps[] = [ - { - id: "bdnstInfo", - title: "건축물정보", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 10, - }, - { - id: "rainFcltInfo", - title: "빗물이용시설정보", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 7, - }, - { - id: "insenInfo", - title: "인센티브 정보", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 6, - }, - { - id: "adminDiv", - title: "행정구역", - visible: true, - row: 2, - upName: "bdnstInfo", - rowSpan: 1, - colSpan: 2, - }, + { id: "bdnstInfo", title: "건축물정보", visible: true, row: 1, rowSpan: 1, colSpan: 10, }, + { id: "rainFcltInfo", title: "빗물이용시설정보", visible: true, row: 1, rowSpan: 1, colSpan: 7, }, + { id: "insenInfo", title: "인센티브 정보", visible: true, row: 1, rowSpan: 1, colSpan: 6, }, + { id: "adminDiv", title: "행정구역", visible: true, row: 2, upName: "bdnstInfo", rowSpan: 1, colSpan: 2, }, // 3번째줄 시작 - { - id: "cityText", - title: "시도", - visible: true, - upName: "adminDiv", - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "sggText", - title: "시군구", - visible: true, - upName: "adminDiv", - row: 3, - rowSpan: 1, - colSpan: 1, - }, + { id: "cityText", title: "시도", visible: true, upName: "adminDiv", row: 3, rowSpan: 1, colSpan: 1, }, + { id: "sggText", title: "시군구", visible: true, upName: "adminDiv", row: 3, rowSpan: 1, colSpan: 1, }, // 2번째 줄 // 1번째 줄 건축물정보 아래의 행으로 만들 헤더 - { - id: "bdstNm", - title: "건축물명", - visible: true, - upName: "bdnstInfo", - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "daddr", - title: "주소", - visible: true, - upName: "bdnstInfo", - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "bdsgUsgText", - title: "건축물용도", - upName: "bdnstInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "frstArchPrmsnDt", - title: "최초건축허가일시", - upName: "bdnstInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "archArea", - title: "건축면적(m²)", - upName: "bdnstInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "chBuildingYn", - title: "증축・개축・재축여부", - upName: "bdnstInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "lawTrgtYn", - title: "법적의무대상여부", - upName: "bdnstInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "instlCmptnDt", - title: "설치완료일시", - upName: "bdnstInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, + { id: "bdstNm", title: "건축물명", visible: true, upName: "bdnstInfo", row: 2, rowSpan: 2, colSpan: 1, }, + { id: "daddr", title: "주소", visible: true, upName: "bdnstInfo", row: 2, rowSpan: 2, colSpan: 1, }, + { id: "bdsgUsgText", title: "건축물용도", upName: "bdnstInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, + { id: "frstArchPrmsnDt", title: "최초건축허가일시", upName: "bdnstInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, + { id: "archArea", title: "건축면적(m²)", upName: "bdnstInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, + { id: "chBuildingYn", title: "증축・개축・재축여부", upName: "bdnstInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, + { id: "lawTrgtYn", title: "법적의무대상여부", upName: "bdnstInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, + { id: "instlCmptnDt", title: "설치완료일시", upName: "bdnstInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, - { - id: "instlCst", - title: "설치비용(원)", - upName: "rainFcltInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, + { id: "instlCst", title: "설치비용(원)", upName: "rainFcltInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, - { - id: "pntfCol", - title: "집수면", - upName: "rainFcltInfo", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 2, - }, + { id: "pntfCol", title: "집수면", upName: "rainFcltInfo", visible: true, row: 2, rowSpan: 1, colSpan: 2, }, - { - id: "pntfColKnd", - title: "종류", - upName: "pntfCol", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "pntfColArea", - title: "면적(m²)", - upName: "pntfCol", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, + { id: "pntfColKnd", title: "종류", upName: "pntfCol", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "pntfColArea", title: "면적(m²)", upName: "pntfCol", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, - { - id: "dtfcltCpct", - title: "저류조용량(m³)", - upName: "rainFcltInfo", - visible: true, - row: 2, - rowSpan: 2, - colSpan: 1, - }, - { - id: "filtrTrtmfctYn", - title: "여과처리시설유무", - upName: "filtrTrtmfct", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "filtrTrtmfctCpct", - title: "여과처리시설용량(m³)", - upName: "filtrTrtmfct", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "filtrTrtmfctPrs", - title: "여과처리시설처리공정", - upName: "filtrTrtmfct", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, + { id: "dtfcltCpct", title: "저류조용량(m³)", upName: "rainFcltInfo", visible: true, row: 2, rowSpan: 2, colSpan: 1, }, + { id: "filtrTrtmfctYn", title: "여과처리시설유무", upName: "filtrTrtmfct", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "filtrTrtmfctCpct", title: "여과처리시설용량(m³)", upName: "filtrTrtmfct", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "filtrTrtmfctPrs", title: "여과처리시설처리공정", upName: "filtrTrtmfct", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, - { - id: "filtrTrtmfct", - title: "여과등 처리시설", - visible: true, - upName: "rainFcltInfo", - row: 2, - rowSpan: 1, - colSpan: 3, - }, - { - id: "instlCstSprtYn", - title: "설치지원비용여부", - upName: "instlCstSprt", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "instlCstSprtAmt", - title: "설치지원비용(원)", - upName: "instlCstSprt", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, + { id: "filtrTrtmfct", title: "여과등 처리시설", visible: true, upName: "rainFcltInfo", row: 2, rowSpan: 1, colSpan: 3, }, + { id: "instlCstSprtYn", title: "설치지원비용여부", upName: "instlCstSprt", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "instlCstSprtAmt", title: "설치지원비용(원)", upName: "instlCstSprt", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, - { - id: "instlCstSprt", - title: "설치비지원", - upName: "insenInfo", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 2, - }, + { id: "instlCstSprt", title: "설치비지원", upName: "insenInfo", visible: true, row: 2, rowSpan: 1, colSpan: 2, }, - { - id: "grntchBdstCertYn", - title: "인증여부", - upName: "grntchBdstCert", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "grntchBdstCertYr", - title: "인증년도", - upName: "grntchBdstCert", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "grntchBdstCertNo", - title: "인증번호", - upName: "grntchBdstCert", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "grntchBdstCertGrdText", - title: "인증등급", - upName: "grntchBdstCert", - visible: true, - row: 3, - rowSpan: 1, - colSpan: 1, - }, - { - id: "grntchBdstCert", - title: "녹색건축물인증", - upName: "insenInfo", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 4, - }, + { id: "grntchBdstCertYn", title: "인증여부", upName: "grntchBdstCert", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "grntchBdstCertYr", title: "인증년도", upName: "grntchBdstCert", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "grntchBdstCertNo", title: "인증번호", upName: "grntchBdstCert", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "grntchBdstCertGrdText", title: "인증등급", upName: "grntchBdstCert", visible: true, row: 3, rowSpan: 1, colSpan: 1, }, + { id: "grntchBdstCert", title: "녹색건축물인증", upName: "insenInfo", visible: true, row: 2, rowSpan: 1, colSpan: 4, }, ]; export const rainSttnDetailNodeListExport:CommonTableProps[] = [ - { id: "totalSplyUswtrUtztnQnt", - title: "연간보급수이용량(m³)", - visible: true, - row: 1, - rowSpan: 2, - colSpan: 1, - }, - { id: "totalRuseFcltUtztnQnt", title: "연간빗물이용량(m³)", - visible: true, - row: 1, - rowSpan: 2, - colSpan: 1 - }, - { id: "useQulity", - title: "이용수질(필요시)", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 4 - }, - { id: "ph", title: "pH", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - - }, - { - id: "trbt", - title: "탁도", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - }, - { - id: "grssClfg", - title: "총대장균군수", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - }, - { - id: "etc", - title: "기타", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - }, - { id: "feeHistory", - title: "과태료부과내역", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 3 - }, - { - id: "vltnDt", - title: "부과일(위반일)", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - }, - { - id: "vltnMttr", - title: "위반사항", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - }, - { - id: "levyAmt", - title: "부과금액(천원)", - visible: true, - row: 2, - rowSpan: 1, - colSpan: 1 - }, + { id: "totalSplyUswtrUtztnQnt", title: "연간보급수이용량(m³)", visible: true, row: 1, rowSpan: 2, colSpan: 1, }, + { id: "totalRuseFcltUtztnQnt", title: "연간빗물이용량(m³)", visible: true, row: 1, rowSpan: 2, colSpan: 1 }, + { id: "useQulity", title: "이용수질(필요시)", visible: true, row: 1, rowSpan: 1, colSpan: 4 }, + { id: "ph", title: "pH", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, + { id: "trbt", title: "탁도", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, + { id: "grssClfg", title: "총대장균군수", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, + { id: "etc", title: "기타", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, + { id: "feeHistory", title: "과태료부과내역", visible: true, row: 1, rowSpan: 1, colSpan: 3 }, + { id: "vltnDt", title: "부과일(위반일)", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, + { id: "vltnMttr", title: "위반사항", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, + { id: "levyAmt", title: "부과금액(천원)", visible: true, row: 2, rowSpan: 1, colSpan: 1 }, ]; export const rainSttnDetailHeadListExport:CommonTableProps[] = [ - { id: "totalSplyUswtrUtztnQnt", - title: "연간보급수이용량(m³)", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1, - }, - { id: "totalRuseFcltUtztnQnt", title: "연간빗물이용량(m³)", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, + { id: "totalSplyUswtrUtztnQnt", title: "연간보급수이용량(m³)", visible: true, row: 1, rowSpan: 1, colSpan: 1, }, + { id: "totalRuseFcltUtztnQnt", title: "연간빗물이용량(m³)", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, - { id: "ph", title: "pH", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - - }, - { - id: "trbt", - title: "탁도", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, - { - id: "grssClfg", - title: "총대장균군수", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, - { - id: "etc", - title: "기타", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, + { id: "ph", title: "pH", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, + { id: "trbt", title: "탁도", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, + { id: "grssClfg", title: "총대장균군수", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, + { id: "etc", title: "기타", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, - { - id: "vltnDt", - title: "부과일(위반일)", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, - { - id: "vltnMttr", - title: "위반사항", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, - { - id: "levyAmt", - title: "부과금액(천원)", - visible: true, - row: 1, - rowSpan: 1, - colSpan: 1 - }, + { id: "vltnDt", title: "부과일(위반일)", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, + { id: "vltnMttr", title: "위반사항", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, + { id: "levyAmt", title: "부과금액(천원)", visible: true, row: 1, rowSpan: 1, colSpan: 1 }, ]; diff --git a/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/index.tsx index e57603fe3..b278a9a22 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltSttn/rainSttn/index.tsx @@ -222,10 +222,7 @@ export const rainSttnActionsExport: (set: any) => rainSttnActions = ( rainSttnChkSearch: async ( rusePk: string ) => { - const rainChkRes = await getFetch( - fetchType.WR, - `/reuseChk/rainy/${rusePk}` - ); + const rainChkRes = await getFetch( fetchType.WR, `/reuseChk/rainy/${rusePk}` ); return set((state: rainSttnState) => ({ rainSttn: { diff --git a/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx b/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx index 96ecadcc9..09ff83774 100644 --- a/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx +++ b/apps/wr/components/ui/map/LayerPopUp/RainFacility/RainFacility.tsx @@ -123,7 +123,7 @@ export function RainFacility({ if (rainMapExcelList.length > 0) { excelDownload( rainMapExcelList, - "빗물재이용시설 현황", + "빗물이용시설 현황", "sample_rainSttn.xlsx", "A1:W3" );