From 5f666eb4edbf660a44c3bf81b72515b8641147d3 Mon Sep 17 00:00:00 2001 From: JIeunhuh Date: Mon, 21 Apr 2025 17:15:56 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/ii/baseinfo/observe/page.tsx | 21 +----- apps/sn/app/ii/ir/irsetting/page.tsx | 64 +++++++++------- apps/sn/app/ii/rdii/rdiisetting/page.tsx | 94 ++++++++++++------------ 3 files changed, 89 insertions(+), 90 deletions(-) diff --git a/apps/sn/app/ii/baseinfo/observe/page.tsx b/apps/sn/app/ii/baseinfo/observe/page.tsx index 86caf198f..16bd24fb2 100644 --- a/apps/sn/app/ii/baseinfo/observe/page.tsx +++ b/apps/sn/app/ii/baseinfo/observe/page.tsx @@ -3,9 +3,8 @@ import { z } from "zod" import { useForm, useFieldArray } from "react-hook-form" import { zodResolver } from "@hookform/resolvers/zod" -import { FileUpload, Form, FormControl, FormField, FormItem, FormLabel, FormMessage, FormUi, SearchDiv, SearchFormLeft, SearchFormRight, SearchInput, SelectBox } from "@common/business_components/ui" -import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Input, Button, DatePicker, Label } from "@common/components/ui" -import { UiTable } from "@common/business_components/ui" +import { FormField, SelectBox } from "@common/business_components/ui" +import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Input, DatePicker } from "@common/components/ui" import React, { useState } from "react" import BaseLayout from "@/ii/BaseLayout" @@ -15,7 +14,7 @@ const formSchema = z.object({ inputdate: z.coerce.date(), rtkSource: z.string(), }) - +const region:{text:string,val:number}[] = [{text:'양평', val:1},{text:'강남',val:2},{text:'test',val:3}] export default function RTKForm() { const form = useForm>({ resolver: zodResolver(formSchema), @@ -26,9 +25,6 @@ export default function RTKForm() { } }) const [selectedDate, setSelectedDate] = useState(new Date()) - const onSubmit = (data: z.infer) => { - console.log("✅ 제출 데이터:", data) - } // TODO: 임시 데이터 const rtxNmHeadlist = [ { id: 'no', title: '번호' }, @@ -54,16 +50,7 @@ export default function RTKForm() { control={form.control} name="region" render={({ field }) => ( - + {}} selectClass="" className="w-[150px]"/> )} /> diff --git a/apps/sn/app/ii/ir/irsetting/page.tsx b/apps/sn/app/ii/ir/irsetting/page.tsx index 8eec2a4fa..865864d4c 100644 --- a/apps/sn/app/ii/ir/irsetting/page.tsx +++ b/apps/sn/app/ii/ir/irsetting/page.tsx @@ -40,7 +40,7 @@ const IrSetting = () => { const [selectedDate, setSelectedDate] = useState(new Date()) return ( { }} graphBtn={true} tableInfoData={{ headList: rtxNmHeadlist, tableData: rtxNmDataList, cellClickFunc: () => { }, onPageChangeFunc: () => { } }}> -
+
○ 처리구역
{ )} />
-
-
○ 수용가 수
- ( - { }} selectClass={undefined} className='w-[150px]' /> - )} - /> -
-
-
○ 상수사용량 정보
- ( - { if (date) setSelectedDate(date) }} - mode={"single"} className='w-[150px]' - /> - )} - /> -
○ 오수 전환율
{ />
-
○ 파일위치
+
○ 수용가 수
+ ( + { }} selectClass={undefined} className='w-[150px]' /> + )} + /> +
+
+
○ 수용가-맨홀 매칭
+ ( +
+ +
+ )} + /> +
+
+
○ 상수사용량 정보
+ ( + { if (date) setSelectedDate(date) }} + mode={"single"} className='w-[150px]' + /> + )} + /> +
+
+
○ 관망도 자료
{ const [selectedDate, setSelectedDate] = useState(new Date()) return ( { }} graphBtn={true} tableInfoData={{ headList: rtxNmHeadlist, tableData: rtxNmDataList, cellClickFunc: () => { }, onPageChangeFunc: () => { } }}> -
+
○ 처리구역
{ )} />
-
-
○ RDII 기여면적(ha)
- ( - - )} - /> -
-
-
○ 수용가 수
- ( - { }} selectClass={undefined} className='w-[150px] h-[3.2rem]' /> - )} - /> -
○ 상수사용량 정보
{ )} />
+
+
○ 관망도자료
+ ( +
+ +
+ )} + /> +
+
+
○ RDII 기여면적(ha)
+ ( + + )} + /> +
○ 오수 전환율
{ )} />
-
-
○ 오수 전환율
- ( - { }} selectClass={undefined} className='h-[3.2rem] w-[150px]' /> - )} - /> -
-
-
○ 관망도자료
- ( -
- -
- )} - /> -
○ 강우자료
{ )} />
+
+
○ 수용가 수
+ ( + { }} selectClass={undefined} className='w-[150px] h-[3.2rem]' /> + )} + /> +
+
+
○ 수용가-맨홀 매칭
+ ( + { }} selectClass={undefined} className='h-[3.2rem] w-[150px]' /> + )} + /> +
)