diff --git a/src/models/_/real.js b/src/models/_/real.js index eaf48bf..9bc113d 100644 --- a/src/models/_/real.js +++ b/src/models/_/real.js @@ -85,7 +85,7 @@ export const SkRealPromise = new CachePromise( obj.h24 = item.h24+num2*1.8 obj.h48 = item.h48+num2*1.9 if(obj.w<=0.5){ - c.push(obj) + // c.push(obj) } return obj }) diff --git a/src/views/Home/InfoDlg/HistoryYyDlg/fxyb.js b/src/views/Home/InfoDlg/HistoryYyDlg/fxyb.js index 053c1a4..cf7cd70 100644 --- a/src/views/Home/InfoDlg/HistoryYyDlg/fxyb.js +++ b/src/views/Home/InfoDlg/HistoryYyDlg/fxyb.js @@ -10,6 +10,7 @@ import { const useStyles = makeStyles((theme) => ({ root: { + padding: theme.spacing(2), }, section: { @@ -31,11 +32,14 @@ const useStyles = makeStyles((theme) => ({ table: { minWidth: 400, '& th': { - // backgroundColor: '#f5f5f5', + backgroundColor: 'transparent', fontWeight: 'bold', textAlign: 'left', }, + '& td': { + backgroundColor: 'transparent', + } }, statusChip: { padding: '2px 8px', @@ -205,7 +209,7 @@ const FloodImpactMonitor = () => { {enterpriseData.map((item, index) => ( - + {item.name} {item.department} {item.manager} @@ -228,28 +232,28 @@ const FloodImpactMonitor = () => { - + 🌊 {statistics.floodArea} 淹没面积(km²) - + 🏘️ {statistics.affectedVillages} 影响村庄(个) - + 🏠 {statistics.affectedHouseholds} 影响户数(户) - + 👥 {statistics.affectedPopulation} 影响人口(人) diff --git a/src/views/Home/InfoDlg/HistoryYyDlg/index.js b/src/views/Home/InfoDlg/HistoryYyDlg/index.js index d84c2bd..02b7235 100644 --- a/src/views/Home/InfoDlg/HistoryYyDlg/index.js +++ b/src/views/Home/InfoDlg/HistoryYyDlg/index.js @@ -16,11 +16,11 @@ function HDStDlg({ record, onClose }) { const [value, setValue] = React.useState(0); const warnObj = { id: 1, - title: '2024年12月10日-降雨叠加50mm-无隐患', + title: '2024年12月10日-降雨叠加50mm-最不利', type: '现在时', - risk: '余家河无隐患', + risk: '余家河最不利', timeRange: '2024-12-10 10:00:00至2024-12-10 18:00:00', - status: '实测降雨+无隐患', + status: '实测降雨+最不利', createTime: '2024-12-10 16:24:16' } return ( diff --git a/src/views/Home/panels/RainfallCenter/historyYy.js b/src/views/Home/panels/RainfallCenter/historyYy.js index fcf0d8a..8524f9d 100644 --- a/src/views/Home/panels/RainfallCenter/historyYy.js +++ b/src/views/Home/panels/RainfallCenter/historyYy.js @@ -5,7 +5,7 @@ import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles(() => ({ card: { marginBottom: '16px', - // backgroundColor: '#fff', + backgroundColor: 'transparent', '&:hover': { boxShadow: '0 4px 12px rgba(0,0,0,0.1)' } diff --git a/src/views/Home/panels/RainfallCenter/index.js b/src/views/Home/panels/RainfallCenter/index.js index 25f4b52..133abec 100644 --- a/src/views/Home/panels/RainfallCenter/index.js +++ b/src/views/Home/panels/RainfallCenter/index.js @@ -24,29 +24,29 @@ function RainfallCenter({ style }) { const warningData = [ { id: 1, - title: '2024年12月10日-降雨叠加50mm-无隐患', + title: '2024年12月10日-降雨叠加50mm-最不利', type: '现在时', - risk: '余家河无隐患', + risk: '余家河最不利', timeRange: '2024-12-10 10:00:00至2024-12-10 18:00:00', - status: '实测降雨+无隐患', + status: '实测降雨+最不利', createTime: '2024-12-10 16:24:16' }, { id: 2, - title: '2024年12月11日-降雨叠加35mm-无隐患', + title: '2024年12月11日-降雨叠加35mm-最不利', type: '现在时', - risk: '余家河无隐患', + risk: '余家河最不利', timeRange: '2024-12-11 10:00:00至2024-12-11 18:00:00', - status: '实测降雨+无隐患', + status: '实测降雨+最不利', createTime: '2024-12-10 16:24:16' }, { id: 3, - title: '2024年12月12日-降雨叠加40mm-无隐患', + title: '2024年12月12日-降雨叠加40mm-最不利', type: '现在时', - risk: '余家河无隐患', + risk: '余家河最不利', timeRange: '2024-12-12 10:00:00至2024-12-12 18:00:00', - status: '实测降雨+无隐患', + status: '实测降雨+最不利', createTime: '2024-12-10 16:24:16' }, // 可以添加更多预警数据