From abe930c37a0e8f47fd40096e6ec28ede6d0e1349 Mon Sep 17 00:00:00 2001 From: leedj312 Date: Fri, 8 Aug 2025 13:34:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9A=B4=EC=98=81=EC=8B=A4=ED=83=9C=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EA=B5=AC=EC=A1=B0=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/fo/app/layout.tsx | 3 +-- apps/fo/app/pages/(map-layout)/layout.tsx | 10 ++++++++++ apps/fo/app/pages/{ => (map-layout)}/map/page.tsx | 0 .../dashboard/drainageEquipment/page.tsx | 0 .../dashboard/facilityInfo/modal/page.tsx | 0 .../dashboard/facilityInfo/page.tsx | 0 .../dashboard/maingraph/page.tsx | 0 .../pages/{ => (with-layout)}/dashboard/page.tsx | 0 .../dashboard/rainManage/page.tsx | 0 .../{ => (with-layout)}/dashboardMain/page.tsx | 2 +- .../facilityPrecipitation/modal/page.tsx | 0 .../facilityPrecipitation/page.tsx | 0 .../facilityWaterQlty/HeadMakeColSpan.tsx | 0 .../facilityWaterQlty/modal/page.tsx | 4 ++-- .../{ => (with-layout)}/facilityWaterQlty/page.tsx | 0 .../{ => (with-layout)}/flowRate/modal/page.tsx | 2 +- .../app/pages/{ => (with-layout)}/flowRate/page.tsx | 0 apps/fo/app/pages/(with-layout)/layout.tsx | 13 +++++++++++++ .../pages/{ => (with-layout)}/planSewage/page.tsx | 0 .../processArea/HeadMakeColSpan.tsx | 2 +- .../{ => (with-layout)}/processArea/modal/page.tsx | 0 .../pages/{ => (with-layout)}/processArea/page.tsx | 0 .../processFacility/modal/page.tsx | 0 .../{ => (with-layout)}/processFacility/page.tsx | 0 apps/fo/app/pages/{ => (with-layout)}/rdi/page.tsx | 0 .../{ => (with-layout)}/sewageOccur/modal/page.tsx | 0 .../pages/{ => (with-layout)}/sewageOccur/page.tsx | 0 .../underWaterInput/modal/page.tsx | 0 .../{ => (with-layout)}/underWaterInput/page.tsx | 0 29 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 apps/fo/app/pages/(map-layout)/layout.tsx rename apps/fo/app/pages/{ => (map-layout)}/map/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboard/drainageEquipment/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboard/facilityInfo/modal/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboard/facilityInfo/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboard/maingraph/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboard/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboard/rainManage/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/dashboardMain/page.tsx (96%) rename apps/fo/app/pages/{ => (with-layout)}/facilityPrecipitation/modal/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/facilityPrecipitation/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/facilityWaterQlty/HeadMakeColSpan.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/facilityWaterQlty/modal/page.tsx (99%) rename apps/fo/app/pages/{ => (with-layout)}/facilityWaterQlty/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/flowRate/modal/page.tsx (99%) rename apps/fo/app/pages/{ => (with-layout)}/flowRate/page.tsx (100%) create mode 100644 apps/fo/app/pages/(with-layout)/layout.tsx rename apps/fo/app/pages/{ => (with-layout)}/planSewage/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/processArea/HeadMakeColSpan.tsx (99%) rename apps/fo/app/pages/{ => (with-layout)}/processArea/modal/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/processArea/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/processFacility/modal/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/processFacility/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/rdi/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/sewageOccur/modal/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/sewageOccur/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/underWaterInput/modal/page.tsx (100%) rename apps/fo/app/pages/{ => (with-layout)}/underWaterInput/page.tsx (100%) diff --git a/apps/fo/app/layout.tsx b/apps/fo/app/layout.tsx index 352c25034..af0725a7b 100644 --- a/apps/fo/app/layout.tsx +++ b/apps/fo/app/layout.tsx @@ -1,5 +1,4 @@ "use client" -import Base from "./base"; import "./globals.css"; import { StoreProvider } from "./store"; @@ -12,7 +11,7 @@ export default function RootLayout({ - {children} + {children} diff --git a/apps/fo/app/pages/(map-layout)/layout.tsx b/apps/fo/app/pages/(map-layout)/layout.tsx new file mode 100644 index 000000000..a9e3baa7f --- /dev/null +++ b/apps/fo/app/pages/(map-layout)/layout.tsx @@ -0,0 +1,10 @@ + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( +
{children}
+ ); +} diff --git a/apps/fo/app/pages/map/page.tsx b/apps/fo/app/pages/(map-layout)/map/page.tsx similarity index 100% rename from apps/fo/app/pages/map/page.tsx rename to apps/fo/app/pages/(map-layout)/map/page.tsx diff --git a/apps/fo/app/pages/dashboard/drainageEquipment/page.tsx b/apps/fo/app/pages/(with-layout)/dashboard/drainageEquipment/page.tsx similarity index 100% rename from apps/fo/app/pages/dashboard/drainageEquipment/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboard/drainageEquipment/page.tsx diff --git a/apps/fo/app/pages/dashboard/facilityInfo/modal/page.tsx b/apps/fo/app/pages/(with-layout)/dashboard/facilityInfo/modal/page.tsx similarity index 100% rename from apps/fo/app/pages/dashboard/facilityInfo/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboard/facilityInfo/modal/page.tsx diff --git a/apps/fo/app/pages/dashboard/facilityInfo/page.tsx b/apps/fo/app/pages/(with-layout)/dashboard/facilityInfo/page.tsx similarity index 100% rename from apps/fo/app/pages/dashboard/facilityInfo/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboard/facilityInfo/page.tsx diff --git a/apps/fo/app/pages/dashboard/maingraph/page.tsx b/apps/fo/app/pages/(with-layout)/dashboard/maingraph/page.tsx similarity index 100% rename from apps/fo/app/pages/dashboard/maingraph/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboard/maingraph/page.tsx diff --git a/apps/fo/app/pages/dashboard/page.tsx b/apps/fo/app/pages/(with-layout)/dashboard/page.tsx similarity index 100% rename from apps/fo/app/pages/dashboard/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboard/page.tsx diff --git a/apps/fo/app/pages/dashboard/rainManage/page.tsx b/apps/fo/app/pages/(with-layout)/dashboard/rainManage/page.tsx similarity index 100% rename from apps/fo/app/pages/dashboard/rainManage/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboard/rainManage/page.tsx diff --git a/apps/fo/app/pages/dashboardMain/page.tsx b/apps/fo/app/pages/(with-layout)/dashboardMain/page.tsx similarity index 96% rename from apps/fo/app/pages/dashboardMain/page.tsx rename to apps/fo/app/pages/(with-layout)/dashboardMain/page.tsx index 143a78acd..71372672a 100644 --- a/apps/fo/app/pages/dashboardMain/page.tsx +++ b/apps/fo/app/pages/(with-layout)/dashboardMain/page.tsx @@ -1,7 +1,7 @@ "use client" import { useFoStore } from "@/app/store"; import { useEffect, useState } from "react"; -import SearchInput from "../../components/common/SearchInput"; +import SearchInput from "../../../components/common/SearchInput"; export default function DashBoardFclty({ onFacilityChange, sidoSigun, facilityNm, }: { onFacilityChange?: (facility: { bscFctCd: string, bscFctNm: string, fcltyCpc: number | '', trtFrfNm: string | '', efflWqltStndrdNm: string | '' }) => void, sidoSigun?: string, facilityNm?: string }) { // 입력값 상태 관리 diff --git a/apps/fo/app/pages/facilityPrecipitation/modal/page.tsx b/apps/fo/app/pages/(with-layout)/facilityPrecipitation/modal/page.tsx similarity index 100% rename from apps/fo/app/pages/facilityPrecipitation/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/facilityPrecipitation/modal/page.tsx diff --git a/apps/fo/app/pages/facilityPrecipitation/page.tsx b/apps/fo/app/pages/(with-layout)/facilityPrecipitation/page.tsx similarity index 100% rename from apps/fo/app/pages/facilityPrecipitation/page.tsx rename to apps/fo/app/pages/(with-layout)/facilityPrecipitation/page.tsx diff --git a/apps/fo/app/pages/facilityWaterQlty/HeadMakeColSpan.tsx b/apps/fo/app/pages/(with-layout)/facilityWaterQlty/HeadMakeColSpan.tsx similarity index 100% rename from apps/fo/app/pages/facilityWaterQlty/HeadMakeColSpan.tsx rename to apps/fo/app/pages/(with-layout)/facilityWaterQlty/HeadMakeColSpan.tsx diff --git a/apps/fo/app/pages/facilityWaterQlty/modal/page.tsx b/apps/fo/app/pages/(with-layout)/facilityWaterQlty/modal/page.tsx similarity index 99% rename from apps/fo/app/pages/facilityWaterQlty/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/facilityWaterQlty/modal/page.tsx index 1ac1bc00f..0362b1ec3 100644 --- a/apps/fo/app/pages/facilityWaterQlty/modal/page.tsx +++ b/apps/fo/app/pages/(with-layout)/facilityWaterQlty/modal/page.tsx @@ -4,8 +4,8 @@ import type { FacilityWaterQltyProps, modalExcelType } from "@/app/store/facilit import { downloadExcel, UITab, UiTable } from "@common/business_components/ui"; import { Button, TabsContent } from "@common/components/ui"; import { useCallback, useEffect, useRef, useState } from "react"; -import type { ReturnType } from "../../../components/common/FacilityTermModalHeader"; -import FacilityTermModalHeader from "../../../components/common/FacilityTermModalHeader"; +import type { ReturnType } from "../../../../components/common/FacilityTermModalHeader"; +import FacilityTermModalHeader from "../../../../components/common/FacilityTermModalHeader"; import { HeadMakeColSpan } from "../HeadMakeColSpan"; type ModalProps ={ diff --git a/apps/fo/app/pages/facilityWaterQlty/page.tsx b/apps/fo/app/pages/(with-layout)/facilityWaterQlty/page.tsx similarity index 100% rename from apps/fo/app/pages/facilityWaterQlty/page.tsx rename to apps/fo/app/pages/(with-layout)/facilityWaterQlty/page.tsx diff --git a/apps/fo/app/pages/flowRate/modal/page.tsx b/apps/fo/app/pages/(with-layout)/flowRate/modal/page.tsx similarity index 99% rename from apps/fo/app/pages/flowRate/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/flowRate/modal/page.tsx index bc121708c..92e81f61d 100644 --- a/apps/fo/app/pages/flowRate/modal/page.tsx +++ b/apps/fo/app/pages/(with-layout)/flowRate/modal/page.tsx @@ -5,7 +5,7 @@ import type { FlowRateModalInterface, modalExcelType } from "@/app/store/flowRat import { downloadExcel, UITab, UiTable } from "@common/business_components/ui"; import { Button, TabsContent } from "@common/components/ui"; import { useCallback, useEffect, useRef, useState } from "react"; -import type { ReturnType } from "../../../components/common/FacilityTermModalHeader"; +import type { ReturnType } from "../../../../components/common/FacilityTermModalHeader"; const tabList = [ { value: 'tab_term_year', label: '연간' }, diff --git a/apps/fo/app/pages/flowRate/page.tsx b/apps/fo/app/pages/(with-layout)/flowRate/page.tsx similarity index 100% rename from apps/fo/app/pages/flowRate/page.tsx rename to apps/fo/app/pages/(with-layout)/flowRate/page.tsx diff --git a/apps/fo/app/pages/(with-layout)/layout.tsx b/apps/fo/app/pages/(with-layout)/layout.tsx new file mode 100644 index 000000000..f7c0e62ba --- /dev/null +++ b/apps/fo/app/pages/(with-layout)/layout.tsx @@ -0,0 +1,13 @@ +"use client" + +import Base from "@/app/base"; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + {children} + ); +} diff --git a/apps/fo/app/pages/planSewage/page.tsx b/apps/fo/app/pages/(with-layout)/planSewage/page.tsx similarity index 100% rename from apps/fo/app/pages/planSewage/page.tsx rename to apps/fo/app/pages/(with-layout)/planSewage/page.tsx diff --git a/apps/fo/app/pages/processArea/HeadMakeColSpan.tsx b/apps/fo/app/pages/(with-layout)/processArea/HeadMakeColSpan.tsx similarity index 99% rename from apps/fo/app/pages/processArea/HeadMakeColSpan.tsx rename to apps/fo/app/pages/(with-layout)/processArea/HeadMakeColSpan.tsx index ffd556b2e..4045ed7b2 100644 --- a/apps/fo/app/pages/processArea/HeadMakeColSpan.tsx +++ b/apps/fo/app/pages/(with-layout)/processArea/HeadMakeColSpan.tsx @@ -1,5 +1,5 @@ +import type { TableUpperProps } from "@/app/store/common"; import { TableHead, TableRow } from "@common/components/ui"; -import type { TableUpperProps } from "../../store/dashboard"; const HeadMakeColSpan = ({ upHeadList, layoutNum }: { upHeadList: TableUpperProps[], layoutNum: number }) => { return ( diff --git a/apps/fo/app/pages/processArea/modal/page.tsx b/apps/fo/app/pages/(with-layout)/processArea/modal/page.tsx similarity index 100% rename from apps/fo/app/pages/processArea/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/processArea/modal/page.tsx diff --git a/apps/fo/app/pages/processArea/page.tsx b/apps/fo/app/pages/(with-layout)/processArea/page.tsx similarity index 100% rename from apps/fo/app/pages/processArea/page.tsx rename to apps/fo/app/pages/(with-layout)/processArea/page.tsx diff --git a/apps/fo/app/pages/processFacility/modal/page.tsx b/apps/fo/app/pages/(with-layout)/processFacility/modal/page.tsx similarity index 100% rename from apps/fo/app/pages/processFacility/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/processFacility/modal/page.tsx diff --git a/apps/fo/app/pages/processFacility/page.tsx b/apps/fo/app/pages/(with-layout)/processFacility/page.tsx similarity index 100% rename from apps/fo/app/pages/processFacility/page.tsx rename to apps/fo/app/pages/(with-layout)/processFacility/page.tsx diff --git a/apps/fo/app/pages/rdi/page.tsx b/apps/fo/app/pages/(with-layout)/rdi/page.tsx similarity index 100% rename from apps/fo/app/pages/rdi/page.tsx rename to apps/fo/app/pages/(with-layout)/rdi/page.tsx diff --git a/apps/fo/app/pages/sewageOccur/modal/page.tsx b/apps/fo/app/pages/(with-layout)/sewageOccur/modal/page.tsx similarity index 100% rename from apps/fo/app/pages/sewageOccur/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/sewageOccur/modal/page.tsx diff --git a/apps/fo/app/pages/sewageOccur/page.tsx b/apps/fo/app/pages/(with-layout)/sewageOccur/page.tsx similarity index 100% rename from apps/fo/app/pages/sewageOccur/page.tsx rename to apps/fo/app/pages/(with-layout)/sewageOccur/page.tsx diff --git a/apps/fo/app/pages/underWaterInput/modal/page.tsx b/apps/fo/app/pages/(with-layout)/underWaterInput/modal/page.tsx similarity index 100% rename from apps/fo/app/pages/underWaterInput/modal/page.tsx rename to apps/fo/app/pages/(with-layout)/underWaterInput/modal/page.tsx diff --git a/apps/fo/app/pages/underWaterInput/page.tsx b/apps/fo/app/pages/(with-layout)/underWaterInput/page.tsx similarity index 100% rename from apps/fo/app/pages/underWaterInput/page.tsx rename to apps/fo/app/pages/(with-layout)/underWaterInput/page.tsx