보수이력 기능 개발

This commit is contained in:
2026-08-11 10:32:35 +09:00
parent b99fe8daf1
commit 2649ce286b
9 changed files with 771 additions and 38 deletions
@@ -174,6 +174,13 @@ export const windowPopupDefinitions = {
width: 1180,
height: 760,
},
repairHistoryPopup: {
key: "repairHistoryPopup",
title: "보수이력",
width: 1260,
height: 760,
requiredParams: ["zoneId"],
},
floodPredictionMapPopup: {
key: "floodPredictionMapPopup",
title: "침수예측지도",
@@ -62,6 +62,9 @@ export const WINDOW_POPUP_MESSAGE_TYPE = {
WATER_RISK_READY: "sn:popup:waterRiskReady",
WATER_RISK_SYNC: "sn:popup:waterRiskSync",
WATER_RISK_SELECT_RESULT: "sn:popup:waterRiskSelectResult",
REPAIR_HISTORY_SHOW_RESULTS: "sn:popup:repairHistoryShowResults",
REPAIR_HISTORY_SELECT_PIPE: "sn:popup:repairHistorySelectPipe",
REPAIR_HISTORY_CLEAR: "sn:popup:repairHistoryClear",
} as const;
export type WindowPopupMessageType =
@@ -34,6 +34,7 @@ import GisEditSessionPopupContent from "./ui/GisEditSessionPopupContent";
import GisManagementPopupContent from "./ui/GisManagementPopupContent";
import PipeAnalysisPopupContent from "./ui/PipeAnalysisPopupContent";
import PipeAnalysisDetailPopupContent from "./ui/PipeAnalysisDetailPopupContent";
import RepairHistoryPopupContent from "./ui/RepairHistoryPopupContent";
import WaterRiskPopupContent from "./ui/WaterRiskPopupContent";
const FloodPredictionPlaceholderPopupContent = (
@@ -151,6 +152,10 @@ export const windowPopupRegistry = {
...windowPopupDefinitions.pipeAnalysisDetailPopup,
component: PipeAnalysisDetailPopupContent,
},
repairHistoryPopup: {
...windowPopupDefinitions.repairHistoryPopup,
component: RepairHistoryPopupContent,
},
floodPredictionMapPopup: {
...windowPopupDefinitions.floodPredictionMapPopup,
component: FloodPredictionPlaceholderPopupContent,
@@ -0,0 +1,6 @@
import RepairHistoryPopupPage from "@/app/(map-layout)/map/components/repairHistory/RepairHistoryPopupPage";
import type { WindowPopupContentProps } from "../model/types";
export default function RepairHistoryPopupContent(props: WindowPopupContentProps) {
return <RepairHistoryPopupPage {...props} />;
}