From f0ebd257f011ef47a9888b65c16c85b80be8c4e5 Mon Sep 17 00:00:00 2001 From: JIANG Date: Wed, 17 Dec 2025 15:21:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=81=A5=E5=BA=B7=E9=A3=8E?= =?UTF-8?q?=E9=99=A9=E5=88=86=E6=9E=90=E9=A1=B5=E9=9D=A2=EF=BC=88=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(main)/health-risk-analysis/loading.tsx | 5 +++++ src/app/(main)/health-risk-analysis/page.tsx | 16 ++++++++++++++++ src/app/OlMap/Controls/HistoryDataPanel.tsx | 4 ++-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 src/app/(main)/health-risk-analysis/loading.tsx create mode 100644 src/app/(main)/health-risk-analysis/page.tsx 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})`,