diff --git a/src/app/(main)/health-risk-analysis/loading.tsx b/src/app/(main)/health-risk-analysis/loading.tsx new file mode 100644 index 0000000..2c57921 --- /dev/null +++ b/src/app/(main)/health-risk-analysis/loading.tsx @@ -0,0 +1,5 @@ +import { MapSkeleton } from "@components/loading/MapSkeleton"; + +export default function Loading() { + return ; +} diff --git a/src/app/(main)/health-risk-analysis/page.tsx b/src/app/(main)/health-risk-analysis/page.tsx new file mode 100644 index 0000000..c1a4c32 --- /dev/null +++ b/src/app/(main)/health-risk-analysis/page.tsx @@ -0,0 +1,16 @@ +"use client"; + +import MapComponent from "@app/OlMap/MapComponent"; +import Timeline from "@app/OlMap/Controls/Timeline"; +import MapToolbar from "@app/OlMap/Controls/Toolbar"; + +export default function Home() { + return ( +
+ + + + +
+ ); +} diff --git a/src/app/OlMap/Controls/HistoryDataPanel.tsx b/src/app/OlMap/Controls/HistoryDataPanel.tsx index 7632344..2c39468 100644 --- a/src/app/OlMap/Controls/HistoryDataPanel.tsx +++ b/src/app/OlMap/Controls/HistoryDataPanel.tsx @@ -489,7 +489,7 @@ const SCADADataPanel: React.FC = ({ { key: "clean", name: "清洗值" }, { key: "raw", name: "监测值" }, { key: "sim", name: "模拟值" }, - { key: "scheme_sim", name: "策略模拟值" }, + { key: "scheme_sim", name: "方案模拟值" }, ]; suffixes.forEach(({ key, name }) => { @@ -595,7 +595,7 @@ const SCADADataPanel: React.FC = ({ ? "监测值" : suffix === "sim" ? "模拟" - : "策略模拟"; + : "方案模拟"; series.push({ name: `${id} (${displayName})`,