From 00ecc1dc722ff3fd1a6844d209e77f0f90ed5290 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Tue, 9 Sep 2025 13:39:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EC=B0=A8=ED=8A=B8=20=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=20,=20=EC=A0=9C=EA=B1=B0=20=EB=B0=8F=20=EB=85=84?= =?UTF-8?q?=EB=8F=84=20=EA=B3=B5=ED=86=B5=20=EB=B3=80=EC=88=98=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/dm/app/(base-layout)/pages/wrStatus/page.tsx | 10 +++++----- apps/dm/app/common/comFunction.ts | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/dm/app/(base-layout)/pages/wrStatus/page.tsx b/apps/dm/app/(base-layout)/pages/wrStatus/page.tsx index 263d9e42e..5552c2f53 100644 --- a/apps/dm/app/(base-layout)/pages/wrStatus/page.tsx +++ b/apps/dm/app/(base-layout)/pages/wrStatus/page.tsx @@ -36,7 +36,7 @@ export default function WrStatusPage() { { label: '온배수', color: '#FED16A', key: 'thermal' }, ]; const facilityTotalsColor = ['#FF6B6B', '#4ECDC4', '#45B7D1', '#FED16A']; - + const defaultYear= '2023' const handleMarkerClick = (regionId: string) => { @@ -142,7 +142,7 @@ export default function WrStatusPage() { useEffect(() => { - getDmStatusData('2023'); + getDmStatusData(defaultYear); },[]) @@ -245,7 +245,7 @@ export default function WrStatusPage() {
{/* 타이틀 영역 */}
-

재이용시설현황(2023)

+

{`재이용시설현황(${defaultYear})`}

행정구역별 재이용시설현황(개소)

@@ -306,7 +306,7 @@ export default function WrStatusPage() { {/* 타이틀 + 버튼 영역 */}
-

재이용시설현황(2023)

+

{`재이용시설현황(${defaultYear})`}

행정구역별 재이용시설현황[개소(천m³/년)]

@@ -350,7 +350,7 @@ export default function WrStatusPage() { {/* 재이용통계 차트 */}
-

재이용통계(2023)

+

{`재이용통계(${defaultYear})`}

행정구역별 재이용시설 현황 개소수 그래프

diff --git a/apps/dm/app/common/comFunction.ts b/apps/dm/app/common/comFunction.ts index 6d7274b95..02db72e8d 100644 --- a/apps/dm/app/common/comFunction.ts +++ b/apps/dm/app/common/comFunction.ts @@ -66,9 +66,9 @@ const makeRegion = (region: string) => { export const changeStatusMapData= (data: DmStatusDataType[]) : DmStatusChartType[]=> { return data.map((item) => ({ label: makeRegion(item.region??''), - 하수: item.sewage.split('(')[0]??'', - 빗물: item.rainwater.split('(')[0]??'', - 중수도: item.reclaimed.split('(')[0] ??'', - 온배수: item.thermal.split('(')[0] ??'', + 하수: item.sewage.split('(')[0]?.replaceAll(',','') ??'', + 빗물: item.rainwater.split('(')[0]?.replaceAll(',','')??'', + 중수도: item.reclaimed.split('(')[0]?.replaceAll(',','') ??'', + 온배수: item.thermal.split('(')[0]?.replaceAll(',','') ??'', })); } \ No newline at end of file From 6844db4c295b7ceab1ffe49255630ad90082edb7 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Wed, 17 Sep 2025 17:52:52 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EB=8C=80=EB=AF=BC=20=EC=88=98=EC=9A=94?= =?UTF-8?q?=EC=B2=98=20=EB=93=B1=EB=A1=9D=20=ED=8C=8C=EB=9D=BC=EB=AF=B8?= =?UTF-8?q?=ED=84=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/dm/app/(base-layout)/pages/sdmMng/sdmInsert/page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dm/app/(base-layout)/pages/sdmMng/sdmInsert/page.tsx b/apps/dm/app/(base-layout)/pages/sdmMng/sdmInsert/page.tsx index 9a68510e3..79eb07830 100644 --- a/apps/dm/app/(base-layout)/pages/sdmMng/sdmInsert/page.tsx +++ b/apps/dm/app/(base-layout)/pages/sdmMng/sdmInsert/page.tsx @@ -58,6 +58,7 @@ export default function MyForm() { dataList={demandCompList} rtnValue={callback} rtnInputData={handleInsertSdmData} + openNetwork={true} />