电站概览地图定位到 龙源

This commit is contained in:
mmc
2026-06-17 21:05:35 +08:00
parent ec4005c1f8
commit 47cd30da5c
4 changed files with 46 additions and 20 deletions

View File

@@ -15,6 +15,7 @@ import {
RobotOutlined
} from '@ant-design/icons';
import { Line, Bar, Pie } from '@ant-design/charts';
import CesiumMap from '../components/Map';
import { getWeatherData, getWeatherType } from '../lib/utils';
import WeatherDisplay from '../components/Weather';
import bgMain from '../assets/images/bgmain.jpg';
@@ -335,13 +336,16 @@ export default function StationDashboard() {
bodyStyle={{ padding: 0, position: 'relative', overflow: 'hidden', height: 500 }}
>
<div style={{ height: "100%", background: '#111827', borderRadius: 8, width: '100%', overflow: 'hidden', position: "relative" }}>
<iframe
{/*<iframe
src="https://pvs.satabot.com/?platform=web"
style={{ width: '100%', height: '100%', border: 'none', borderRadius: '8px', position: "absolute" }}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
title="外部系统"
/>
/>*/}
<CesiumMap />
</div>
</Card>

View File

@@ -15,6 +15,7 @@ import {
import { Line, Bar, Pie } from '@ant-design/charts';
import bgMain from '../assets/images/bgmain.jpg';
import { UniversalBarChart, UniversalLineChart, UniversalPieChart } from '../components/recharts';
import CesiumMap from '../components/Map';
const { Option } = Select;
const { Search } = Input;
@@ -122,7 +123,7 @@ const RealTimeMonitorPage = () => {
bodyStyle={{ padding: 0, position: 'relative', height: 400, overflow: 'hidden' }}
>
<div style={{ height: "100%", background: '#111827', borderRadius: 8, width: '100%', overflow: 'hidden', position: "relative" }}>
<iframe
{/*<iframe
src="https://pvs.satabot.com/?platform=web"
style={{
width: '100%',
@@ -134,7 +135,11 @@ const RealTimeMonitorPage = () => {
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
title="外部系统"
/>
/>*/}
<CesiumMap />
</div>
</Card>