新增健康风险分析页面(模板)

This commit is contained in:
JIANG
2025-12-17 15:21:26 +08:00
parent bdd228b24f
commit f0ebd257f0
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
import { MapSkeleton } from "@components/loading/MapSkeleton";
export default function Loading() {
return <MapSkeleton />;
}

View File

@@ -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 (
<div className="relative w-full h-full overflow-hidden">
<MapComponent>
<MapToolbar queryType="realtime" />
<Timeline />
</MapComponent>
</div>
);
}

View File

@@ -489,7 +489,7 @@ const SCADADataPanel: React.FC<SCADADataPanelProps> = ({
{ 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<SCADADataPanelProps> = ({
? "监测值"
: suffix === "sim"
? "模拟"
: "策略模拟";
: "方案模拟";
series.push({
name: `${id} (${displayName})`,