[as] WIP: 하수도기본계획 신청 페이지(이전기본계획조회)

This commit is contained in:
2026-07-30 11:23:44 +09:00
parent b8b0b24b0e
commit e56938f7ff
17 changed files with 612 additions and 164 deletions
@@ -2,9 +2,12 @@ import { SewerBscPlanEditPage } from "@/pages/sewer-bsc-plan";
interface PageProps {
params: Promise<{ id: string }>;
searchParams: Promise<{ chgCycl?: string }>;
}
export default async function Page({ params }: PageProps) {
export default async function Page({ params, searchParams }: PageProps) {
const { id } = await params;
return <SewerBscPlanEditPage id={id} />;
const { chgCycl } = await searchParams;
const propChgCycl = chgCycl ? Number(chgCycl) : undefined;
return <SewerBscPlanEditPage id={id} propChgCycl={propChgCycl} />;
}