diff --git a/apps/cs/src/pages/site/ui/site-page.tsx b/apps/cs/src/pages/site/ui/site-page.tsx
index 110b2e4eb..2e8e62f4f 100644
--- a/apps/cs/src/pages/site/ui/site-page.tsx
+++ b/apps/cs/src/pages/site/ui/site-page.tsx
@@ -2,8 +2,6 @@
import "@common/assets/styles/grid.css";
-import { ENDPOINT } from "@/shared/config/api";
-import { Button, DataTable, Input } from "@common/components";
import { useQuery } from "@tanstack/react-query";
import { getCoreRowModel, useReactTable } from "@tanstack/react-table";
import { Button, DataTable, Input } from "@common/components";
@@ -11,6 +9,8 @@ import { SiteApi, type ISite, type ISiteParams } from "@/entities/site";
import { ENDPOINT } from "@/shared/config";
import { PageLayout } from "@/shared/ui/page-layout";
import { columns } from "../model/table-columns";
+import { useRouter } from "next/navigation";
+import { useEffect, useState } from "react";
function SitePage() {
const router = useRouter();
diff --git a/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx b/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx
deleted file mode 100644
index 57c48a84d..000000000
--- a/apps/wr/app/reuseFaciltyManage/reuseFacilityInsert/publicReuseFaciltyInsert/page.tsx
+++ /dev/null
@@ -1,52 +0,0 @@
-'use client'
-
-import { ScrollArea, SearchDiv, SelectBox, UiTable } from '@common/business_components';
-import { Button } from '@common/components';
-import { PublicReuseFaciltyFormInsert } from '../../../../components/ui/publicReuseInsertForm';
-import { useWrStore } from '../../../store';
-
-
-
- export default function PublicReuseFaciltyInsert() {
- const {pubFac} = useWrStore((state) => state);
- const { pubFacHeadList, publicReuseFacilityData} = pubFac;
- const searchDiv = '하수재이용시설 '
- const selectBox = [{ text: '서울하수처리시설', val: "1_hasu" }, { text: '서울1하수처리시설', val: "2_hasu" }, { text: '서울2하수처리시설', val: "3_hasu" }]
- const headName = () => {
- return (
-
○공공 하수처리시설 등록
- )
- }
- const onSelectValue = (val: string) => {
- console.log(val)
- }
- return (
- <>
-
-
-
하수재이용시설 등록
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- )
-}
diff --git a/apps/wr/app/ruseFcltMng/fcltReg/rainReg/page.tsx b/apps/wr/app/ruseFcltMng/fcltReg/rainReg/page.tsx
index 5f796a6da..88fdab5e7 100644
--- a/apps/wr/app/ruseFcltMng/fcltReg/rainReg/page.tsx
+++ b/apps/wr/app/ruseFcltMng/fcltReg/rainReg/page.tsx
@@ -4,7 +4,7 @@ import type { bdstType, rainRuseType, TableUpperProps } from "@/app/store/ruseFc
import { BdstReg } from "@/components/ui/form/fcltReg/bdstReg/bdstRegForm";
import { RainRegForm } from "@/components/ui/form/fcltReg/rainReg/component";
import { BdstRegModal } from "@/components/ui/modal/bdstReg/component";
-import { ScrollArea, SearchDiv, SearchInput, UiTable } from "@common/business_components";
+import { ScrollArea, SearchDiv, SearchInput, UiModal, UiTable } from "@common/business_components";
import { Button, TableHead, TableRow } from "@common/components";
import { useEffect, useState } from "react";
@@ -56,7 +56,7 @@ export default function Home() {
setbdstTable(table)
}
}, [code,bdstObj]);
- const cellClick=(val:number)=>{
+ const cellClick: (val: number | undefined) => void = (val) => {
let data
if((bdstTable ?? []).length > 0) {
@@ -64,15 +64,7 @@ export default function Home() {
setRinBdstForm(data)
}
}
- const divTest =()=>{
- return(
- <>
-
- >
-
- )
- }
return (
<>
@@ -82,11 +74,13 @@ export default function Home() {
-
+
- } />
+ } bodyClass="sm:max-w-7xl" />
{/* */}
diff --git a/apps/wr/components/ui/form/fcltReg/rainReg/component.tsx b/apps/wr/components/ui/form/fcltReg/rainReg/component.tsx
index a6dcb71d0..74b59d9d5 100644
--- a/apps/wr/components/ui/form/fcltReg/rainReg/component.tsx
+++ b/apps/wr/components/ui/form/fcltReg/rainReg/component.tsx
@@ -158,7 +158,6 @@ export function RainRegForm({data}:{data:rainRuseType[]} ) {
onSelectValue(val);
}}
value={field.value}
- defaultValue={field.value}
/>
)}
@@ -258,7 +257,7 @@ export function RainRegForm({data}:{data:rainRuseType[]} ) {
label={""}
selectArray={rain.selectYN}
onSelectValue={onSelectValue}
- {...field}
+ value={field.value}
/>
)}
@@ -298,7 +297,7 @@ export function RainRegForm({data}:{data:rainRuseType[]} ) {
label={""}
selectArray={rain.selectYN}
onSelectValue={onSelectValue}
- {...field}
+ value={field.value}
/>
)}