From 59f35775b1eb9530ed9843b101fe6dc362de4b3c Mon Sep 17 00:00:00 2001 From: leedj312 Date: Thu, 13 Mar 2025 11:29:35 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=EA=B3=B5=ED=95=98=EC=88=98=EC=B2=98?= =?UTF-8?q?=EB=A6=AC=EC=8B=9C=EC=84=A4=20css=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../publicReuseFaciltyInsert/page.tsx | 4 +- .../store/publicReuseFaciltyInsert/index.tsx | 38 +++++----- .../components/ui/publicReuseInsertForm.tsx | 71 +++++++++---------- 3 files changed, 54 insertions(+), 59 deletions(-) diff --git a/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx b/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx index c5bb231ab..a122d99c3 100644 --- a/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx +++ b/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx @@ -11,10 +11,10 @@ import { useWrStore } from '../../../store'; const {pubFac} = useWrStore((state) => state); const { pubFacHeadList, publicReuseFacilityData} = pubFac; const searchDiv = '하수재이용시설 ' - const selectBox = [{ text: '서울하수처리시설', val: "1" }, { text: '서울1하수처리시설', val: "2" }, { text: '서울2하수처리시설', val: "3" }] + const selectBox = [{ text: '서울하수처리시설', val: "1_hasu" }, { text: '서울1하수처리시설', val: "2_hasu" }, { text: '서울2하수처리시설', val: "3_hasu" }] const headName = () => { return ( -

○공공 허수처리시설 등록

+

○공공 하수처리시설 등록

) } const onSelectValue = (val: string) => { diff --git a/apps/wr/app/store/publicReuseFaciltyInsert/index.tsx b/apps/wr/app/store/publicReuseFaciltyInsert/index.tsx index b57604257..131132b85 100644 --- a/apps/wr/app/store/publicReuseFaciltyInsert/index.tsx +++ b/apps/wr/app/store/publicReuseFaciltyInsert/index.tsx @@ -96,39 +96,35 @@ const pubFacHeadList:TableProps[] = [ const erctUswtrCd:selectLabel[]=[ - {text:'처리장연계',val:'1'}, - {text:'자체/연계',val:'2'}, - {text:'자체처리',val:'3'}, + {text:'처리장연계',val:'1_erct'}, + {text:'자체/연계',val:'2_erct'}, + {text:'자체처리',val:'3_erct'}, ] const cyclCd :selectLabel[]= [ - { text: "1치", val: "1" }, - { text: "2차", val: "2" }, + { text: "1차", val: "1_cyc" }, + { text: "2차", val: "2_cyc" }, ]; const seCd :selectLabel[] = [ - { text: "신규", val: "1" }, - { text: "진행", val: "2" }, + { text: "신규", val: "1_Se" }, + { text: "진행", val: "2_Se" }, ]; const buseCd :selectLabel[]= [ - { text: "재정", val: "1" }, - { text: "만루", val: "2" }, + { text: "재정", val: "1_bus" }, + { text: "만루", val: "2_bus" }, ]; const rprcsCd :selectLabel[] = [ - { text: "물리적처리", val: "1" }, - { text: "생물학적처리", val: "2" }, + { text: "물리적처리", val: "1_rprc" }, + { text: "생물학적처리", val: "2_rprc" }, ]; const buseMet :selectLabel[] = [ - { text: "재정", val: "1" }, - { text: "민간투자", val: "2" }, - { text: "자체", val: "2" }, + { text: "재정", val: "1_busemet" }, + { text: "민간투자", val: "2_busemet" }, + { text: "자체", val: "3_busemet" }, ]; const rprcLoCd :selectLabel[] = [ - { text: "내부", val: "1" }, - { text: "외부", val: "2" }, - ]; - const rprcLoCd :selectLabel[] = [ - { text: "내부", val: "1" }, - { text: "외부", val: "2" }, + { text: "내부", val: "1_rprc" }, + { text: "외부", val: "2_rprc" }, ]; export type pubFacState = {pubFac:{ @@ -165,7 +161,7 @@ export const pubFacStateExport:pubFacState= {pubFac:{ buseCd:buseCd, rprcsCd:rprcsCd, buseMet:buseMet, - rprcLoCd: + rprcLoCd:rprcLoCd }} export const pubFacActionsExport:(set:any)=>pubFacActions=(set: any) => { return { diff --git a/apps/wr/components/ui/publicReuseInsertForm.tsx b/apps/wr/components/ui/publicReuseInsertForm.tsx index 3113560ce..a521e8a59 100644 --- a/apps/wr/components/ui/publicReuseInsertForm.tsx +++ b/apps/wr/components/ui/publicReuseInsertForm.tsx @@ -54,7 +54,8 @@ const nodeList = headMakeColSpan(pubMngUpHeadList); } - const [datePick, setDatePick] = useState(new Date()) + const [instlAprvDate, setInstlAprvDate] = useState(new Date()) + const [bizCmcnDate, setBizCmcnDate] = useState(new Date()) const [files, setFiles] = useState(null); return ( @@ -62,30 +63,24 @@ const nodeList = headMakeColSpan(pubMngUpHeadList);
- {/*
*/} -
+
-

○ 재이용시설 운영정보

-
- -
+

○ 재이용시설 운영정보

( - + )} /> -
-
+
+ -
-
- +
+

○ 재이용시설 운영정보

@@ -150,7 +146,7 @@ const nodeList = headMakeColSpan(pubMngUpHeadList); )} />
- +
-
-
-

+
+

○ 차수별 하수처리수 재이용 시설 현황

-
-
+
+

+ 등록차수 +

( - - + + )} /> -
-
-
+

♦︎하수처리수 재이용 시설 현황

@@ -246,12 +241,14 @@ const nodeList = headMakeColSpan(pubMngUpHeadList); name="name_2450741594" render={({ field }) => ( - { - if (date) setDatePick(date) - } - }} mode="single" {...field}/> + { + if (date) setInstlAprvDate(date); + } + }} mode="single" {...field}/> )} /> @@ -262,12 +259,14 @@ const nodeList = headMakeColSpan(pubMngUpHeadList); name="name_2450741594" render={({ field }) => ( - + )} />