not impl
diff --git a/src/views/Home/components/PanelBox/PanelBox.less b/src/views/Home/components/PanelBox/PanelBox.less
index 03eea40..a93092c 100644
--- a/src/views/Home/components/PanelBox/PanelBox.less
+++ b/src/views/Home/components/PanelBox/PanelBox.less
@@ -129,4 +129,48 @@
flex-grow: 1;
overflow-x: hidden;
}
+}
+
+.tabStyle{
+ .card-group {
+ font-size: 0.8rem;
+ color: rgb(172, 188, 190);
+
+ & > span {
+ cursor: pointer;
+ margin-right: 1rem;
+ display: inline-block;
+ position: relative;
+ border: 1px solid #209aec46;
+ padding: 0.15rem 0.5rem;
+ border-radius: 0.2rem;
+ }
+
+ .number {
+ color: #fff;
+ font-size: 0.8rem;
+ background-color: red;
+ display: inline-block;
+ position: absolute;
+ top: -0.2rem;
+ right: -0.2rem;
+ border-radius: 50%;
+ padding: 0px 0.35rem;
+ margin-top: -0.5rem;
+ margin-right: -0.5rem;
+ }
+
+ .value {
+ color: #00deff;
+ font-weight: bold;
+ text-shadow: 0 0 2rem #00deff;
+ }
+
+ .active {
+ color: #fff;
+ cursor: default;
+ font-weight: bold;
+ border: 1px solid #209aec9f;
+ }
+ }
}
\ No newline at end of file
diff --git a/src/views/Home/panels/FhxsAreaDrp/chart.js b/src/views/Home/panels/FhxsAreaDrp/chart.js
new file mode 100644
index 0000000..968f34b
--- /dev/null
+++ b/src/views/Home/panels/FhxsAreaDrp/chart.js
@@ -0,0 +1,141 @@
+import React, { useMemo } from 'react';
+import echarts from 'echarts/lib/echarts';
+import ReactEcharts from 'echarts-for-react';
+
+
+const pallete = [
+ ['#177ab3', '#51c3e7'],
+ ['#9976dc', '#c792ee'],
+ ['#94a1eb', '#a7caf8'],
+ ['#7ae5c3', '#c9f4ea'],
+ ['#c7dca5', '#f5fcd5'],
+ ['#7988d9', '#9dc6f1'],
+ ['#d9ed8f', '#d3f89b'],
+];
+
+const palleteLen = pallete.length;
+
+
+const AreaDrpChart = ({ data }) => {
+ const { max, sdata } = useMemo(() => {
+ let max = 0;
+ data.forEach(o => {
+ max = Math.max(max, o.av)
+ });
+ max = [10, 20, 50, 100, 200, 300, 400].find(i => i >= max);
+
+ return {
+ max,
+ sdata: data.map(o => ({ ...o, name: o.NAME.split('').join('\n') })),
+ }
+ }, [data]);
+
+ var option = {
+ tooltip: {
+ trigger: 'item',
+ formatter: function (params) {
+ var res = `${params.name.substr('2020-10-14 '.length, 2)}时降雨:${params.data}mm`;
+ return res;
+ }
+ },
+ grid: {
+ x: 18,
+ y: 24,
+ x2: 28,
+ y2: 36,
+ bottom: 80,
+ borderWidth: 0
+ },
+ calculable: true,
+ xAxis: [
+ {
+ type: 'category',
+ data: sdata.map(o => o.name),
+ splitLine: {
+ show: false
+ },
+ axisLabel: {
+ color: '#bbb',
+ fontSize: 10,
+ textShadowBlur: 4,
+ textShadowColor: '#6ab',
+ },
+ axisLine: {
+ lineStyle: {
+ color: '#07a6ff',
+ width: 0.5,
+ }
+ },
+ axisTick: {
+ show: false,
+ }
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ position: 'right',
+ splitLine: {
+ show: true,
+ lineStyle: {
+ color: '#07a6ff',
+ width: 0.25,
+ type: 'dashed'
+ }
+ },
+ axisLabel: {
+ color: '#bbb',
+ fontSize: 10,
+ textShadowBlur: 4,
+ textShadowColor: '#6ab',
+ },
+ axisLine: {
+ show: false
+ },
+ axisTick: {
+ show: false,
+ },
+ min: 0,
+ max,
+ }
+ ],
+ series: [
+ {
+ name: '降雨',
+ type: 'bar',
+ barWidth: '60%',
+ data: sdata.map(o => o.av),
+ itemStyle: {
+ normal: {
+ color: (params) => {
+ return new echarts.graphic.LinearGradient(
+ 0, 0, 0, 1,
+ [
+ { offset: 0, color: pallete[params.dataIndex % palleteLen][0] },
+ { offset: 1, color: pallete[params.dataIndex % palleteLen][1] }
+ ]
+ )
+ },
+ },
+ },
+ label: {
+ show: true,
+ position: 'top',
+ color: '#bbb',
+ fontSize: 12,
+ textShadowBlur: 4,
+ textShadowColor: '#6ab',
+ },
+ }
+ ]
+ };
+
+ return (
+
+ )
+}
+
+export default React.memo(AreaDrpChart);
diff --git a/src/views/Home/panels/FhxsAreaDrp/index.js b/src/views/Home/panels/FhxsAreaDrp/index.js
new file mode 100644
index 0000000..48f99b7
--- /dev/null
+++ b/src/views/Home/panels/FhxsAreaDrp/index.js
@@ -0,0 +1,70 @@
+import clsx from 'clsx';
+import React, { useMemo } from 'react';
+import { useDispatch, useSelector } from 'react-redux';
+import { ZhenDataPromise } from '../../../../models/_/adcd';
+import { DrpRealPromise } from '../../../../models/_/real';
+import useRefresh from '../../../../utils/useRefresh';
+import useRequest from '../../../../utils/useRequest';
+import PanelBox from '../../components/PanelBox';
+import AreaDrpChart from './chart';
+
+export default function AreaDrp({ style }) {
+ const t = useRefresh(60 * 1000);
+ const { data: adcdList } = useRequest(ZhenDataPromise.get);
+ const { data: drpList } = useRequest(DrpRealPromise.get, t);
+ const areaDrpTmType = useSelector(s => s.overallview.areaDrpTmType);
+ const dispatch = useDispatch();
+
+ const data = useMemo(() => {
+ if (!adcdList) {
+ return [];
+ }
+
+ const resMap = {};
+ adcdList.forEach(({ ADCD, NAME }) => {
+ resMap[ADCD.substr(0, 9)] = {
+ ADCD,
+ NAME,
+ drp: 0,
+ cnt: 0,
+ av: 0,
+ }
+ });
+
+ drpList?.forEach(o => {
+ const adcd = o?.adcd?.substr(0, 9);
+ if (resMap[adcd]) {
+ resMap[adcd].drp += o[areaDrpTmType] || 0;
+ resMap[adcd].cnt += 1;
+ }
+ });
+
+ const ret = Object.values(resMap);
+ ret.forEach(o => {
+ if (o.cnt) {
+ o.av = parseFloat((o.drp / o.cnt).toFixed(1));
+ }
+ })
+
+ return Object.values(resMap);
+ }, [adcdList, drpList, areaDrpTmType]);
+
+ return (
+
+ {
+ ['h1', 'h3', 'h6', 'h12', 'h24', 'h48'].map(key => (
+ dispatch.overallview.setAreaDrpTmType(key)}>{key}
+ ))
+ }
+
+ }
+ >
+
+
+ )
+}
diff --git a/src/views/Home/panels/FhxsSq/chart.js b/src/views/Home/panels/FhxsSq/chart.js
new file mode 100644
index 0000000..5c0a83b
--- /dev/null
+++ b/src/views/Home/panels/FhxsSq/chart.js
@@ -0,0 +1,261 @@
+import React, { useMemo } from 'react';
+import echarts from 'echarts/lib/echarts';
+import ReactEcharts from 'echarts-for-react';
+
+
+const pallete = [
+ ['#177ab3', '#51c3e7'],
+ ['#9976dc', '#c792ee'],
+ ['#94a1eb', '#a7caf8'],
+ ['#7ae5c3', '#c9f4ea'],
+ ['#c7dca5', '#f5fcd5'],
+ ['#7988d9', '#9dc6f1'],
+ ['#d9ed8f', '#d3f89b'],
+];
+
+const palleteLen = pallete.length;
+
+const data = [
+ [
+ "2025-06-02 15:00:00",
+ 134.05
+ ],
+ [
+ "2025-06-02 16:00:00",
+ 134.04
+ ],
+ [
+ "2025-06-02 17:00:00",
+ 134.03
+ ],
+ [
+ "2025-06-02 18:00:00",
+ 134.03
+ ],
+ [
+ "2025-06-02 19:00:00",
+ 134.02
+ ],
+ [
+ "2025-06-02 20:00:00",
+ 134.02
+ ],
+ [
+ "2025-06-02 21:00:00",
+ 134.02
+ ],
+ [
+ "2025-06-03 01:00:00",
+ 134
+ ],
+ [
+ "2025-06-03 02:00:00",
+ 133.99
+ ],
+ [
+ "2025-06-03 04:00:00",
+ 133.99
+ ],
+ [
+ "2025-06-03 06:00:00",
+ 133.97
+ ],
+ [
+ "2025-06-03 08:00:00",
+ 133.97
+ ],
+ [
+ "2025-06-03 10:00:00",
+ 133.97
+ ],
+ [
+ "2025-06-03 12:00:00",
+ 133.98
+ ],
+ [
+ "2025-06-03 13:00:00",
+ 133.97
+ ],
+ [
+ "2025-06-03 14:00:00",
+ 133.97
+ ]
+]
+
+
+
+
+const AreaDrpChart = () => {
+
+
+
+ var option = {
+ tooltip: {
+ trigger: 'axis',
+ axisPointer: {
+ type: 'shadow',
+ label: {
+ show: false
+ }
+ },
+ valueFormatter: (value) => value + ' 万m³'
+ },
+ grid: {
+ top: 42,
+ left: 50,
+ right: 0,
+ bottom: 27,
+ },
+ legend: {
+ data: ['警戒水位', '危险水位','水位'],
+ top: '8',
+ icon:'circle',
+ left: 'center',
+ itemWidth: 11,//11,
+ itemHeight: 11,//11,
+ textStyle: {
+ color: '#B9BFC9',
+ fontSize: 12,//12
+ }
+ },
+ xAxis: [
+ {
+ type: 'category',
+ // data: x,
+ splitLine: {
+ show: true, //隐藏X轴轴线
+ lineStyle: {
+ color: 'rgba(255,255,255,0.2)',
+ width: 0
+ }
+ },
+ axisLabel: {
+ show: true,
+ textStyle: {
+ color: '#B9BFC9' //X轴文字颜色
+ },
+ formatter: val => val.substr('2020-10-14 '.length, 5),
+ // rotate: 20, // 角度值:Number
+ fontSize: 10,//10
+ },
+ axisLine: {
+ show: true, //隐藏X轴轴线
+ lineStyle: {
+ color: 'rgba(255,255,255,0.2)',
+ width: 0
+ }
+ },
+ axisTick: {
+ show: true,
+ }
+ }
+ ],
+ yAxis: [
+ {
+ type: 'value',
+ position: 'left',
+ name: '水位m',
+ nameTextStyle: {
+ color: '#B9BFC9',
+ fontSize: 10,//10,
+ padding: [0, 0, 0, -40],//[0, 0, 0, -30]//控制y轴标题位置
+ },
+ nameGap: 17,
+
+ splitLine: {
+ show: true,
+ lineStyle: {
+ width: 1,
+ color: 'rgba(255,255,255,0.2)'
+ }
+ },
+ axisLabel: {
+ show: true,
+ textStyle: {
+ color: '#B9BFC9',
+ fontSize: 11,//11
+ }
+ },
+ axisLine: {
+ show: false
+ },
+ axisTick: {
+ show: false,
+ },
+ min: 133,
+ // max: 135,
+ }
+ ],
+ series: [
+ {
+ name: '水位',
+ type: 'line',
+ barWidth: 10,
+ data: data,
+ showSymbol: false,
+ itemStyle: {
+ normal: {
+ color: '#32e1b5'
+ },
+ },
+ // label: {
+ // show: true,
+ // position: 'top',
+ // color: '#bbb',
+ // fontSize: 12,
+ // textShadowBlur: 4,
+ // textShadowColor: '#6ab',
+ // },
+ },
+ {
+ name: '警戒水位',
+ type: 'line',
+ barWidth: 10,
+ showSymbol: false,
+ data: data.map((item)=>134.5),
+ itemStyle: {
+ normal: {
+ color: '#f19932'
+ },
+ },
+ // label: {
+ // show: true,
+ // position: 'top',
+ // color: '#bbb',
+ // fontSize: 12,
+ // textShadowBlur: 4,
+ // textShadowColor: '#6ab',
+ // },
+ },
+ {
+ name: '危险水位',
+ type: 'line',
+ barWidth: 10,
+ showSymbol: false,
+ data: data.map((item)=>134.8),
+ itemStyle: {
+ normal: {
+ color: '#e1554e'
+ },
+ },
+ // label: {
+ // show: true,
+ // position: 'top',
+ // color: '#bbb',
+ // fontSize: 12,
+ // textShadowBlur: 4,
+ // textShadowColor: '#6ab',
+ // },
+ }
+ ]
+ };
+
+ return (
+
+ )
+}
+
+export default React.memo(AreaDrpChart);
diff --git a/src/views/Home/panels/FhxsSq/index.js b/src/views/Home/panels/FhxsSq/index.js
new file mode 100644
index 0000000..13fe07d
--- /dev/null
+++ b/src/views/Home/panels/FhxsSq/index.js
@@ -0,0 +1,56 @@
+import React, { useMemo, useState } from 'react';
+import { Switch, FormControlLabel,InputLabel, Select, MenuItem,FormControl } from '@material-ui/core/index'
+import PanelBox from '../../components/PanelBox';
+import AreaDrpChart from './chart';
+
+
+
+function DrpReal({ style }) {
+ const [dimension, setDimension] =useState('ft');
+
+
+ return (
+
+ {/*
*/}
+
+
+
+ >
+ }
+ >
+
+
+ )
+}
+
+export default DrpReal;
diff --git a/src/views/Home/panels/FhxsTqyb/index.js b/src/views/Home/panels/FhxsTqyb/index.js
new file mode 100644
index 0000000..2c2c5a3
--- /dev/null
+++ b/src/views/Home/panels/FhxsTqyb/index.js
@@ -0,0 +1,23 @@
+import React, { useMemo, useState } from 'react';
+import PanelBox from '../../components/PanelBox';
+
+function DrpReal({ style }) {
+
+ return (
+
+ //
+ //
+ // >
+ // }
+ >
+
+
+ )
+}
+
+export default DrpReal;
diff --git a/src/views/Home/panels/Tqyb24h/index.js b/src/views/Home/panels/Tqyb24h/index.js
new file mode 100644
index 0000000..1425d7a
--- /dev/null
+++ b/src/views/Home/panels/Tqyb24h/index.js
@@ -0,0 +1,70 @@
+import React, { useState } from 'react';
+import PanelBox from '../../components/PanelBox';
+import clsx from 'clsx';
+import { useDispatch, useSelector } from 'react-redux';
+import { Button, Grid, makeStyles } from '@material-ui/core'
+import Yb24h from './yb24h'
+
+const useStyles = makeStyles({
+ root: {
+ color: '#fff',
+ padding: '0.8rem 0',
+ },
+
+ tool: {
+ marginBottom: '1.2rem',
+ },
+
+
+ buttons: {
+ backgroundColor: 'red',
+ flexShrink: 0,
+ },
+ legend: {
+ backgroundColor: 'green',
+ },
+
+ checklabel: {
+ justifyContent: 'flex-start',
+ }
+});
+
+export default function AreaDrp({ style }) {
+ const classes = useStyles();
+ const [tab,setTab] = useState('1')
+
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ {
+ tab==='1'?
+
+ :null
+ }
+
+ )
+}
diff --git a/src/views/Home/panels/Tqyb24h/yb24h.js b/src/views/Home/panels/Tqyb24h/yb24h.js
new file mode 100644
index 0000000..dbca1cb
--- /dev/null
+++ b/src/views/Home/panels/Tqyb24h/yb24h.js
@@ -0,0 +1,2603 @@
+import clsx from 'clsx';
+import React, { useMemo, useState,useEffect } from 'react';
+import { useDispatch, useSelector } from 'react-redux';
+import useRequest from '../../../../utils/useRequest';
+import PanelBox from '../../components/PanelBox';
+import TableContainer from '@material-ui/core/TableContainer';
+import TableBody from '@material-ui/core/TableBody';
+import TableHead from '@material-ui/core/TableHead';
+import TableRow from '@material-ui/core/TableRow';
+import DpTableCell from '../../../../layouts/mui/DpTableCell';
+import DpTableRow from '../../../../layouts/mui/DpTableRow';
+import appconsts from '../../../../models/appconsts';
+import Table from '@material-ui/core/Table';
+import { DatePicker } from 'antd';
+import { SkRealPromise } from '../../../../models/_/real';
+import { InfoPopNames } from '../../InfoPops';
+import { renderDrp, renderSkArz, renderSkRz } from '../../../../utils/renutils';
+import config from '../../../../config';
+import moment from 'moment';
+const { RangePicker } = DatePicker;
+
+const lyData = [
+ {
+ "id": "FE220003640420000",
+ "name": "唐崖河",
+ "drp": 0.1,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0.1
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0.1
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FE223017470420000",
+ "name": "南河",
+ "drp": 0.1,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0.1
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FE225417700420000",
+ "name": "土溪河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FE224122490420000",
+ "name": "青狮河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "WFE22001211Z0000",
+ "name": "蛇盘溪河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FA851L26420420000",
+ "name": "野猫河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FA85A813600420001",
+ "name": "曲江河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FA85B120410420000",
+ "name": "龙洞河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "WFE22001291P0000",
+ "name": "冷水河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FA85A813600420000",
+ "name": "忠建河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "FE243615050420000",
+ "name": "龙嘴河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "WFE22001211j0000",
+ "name": "白家河",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ }
+]
+const qyData = [
+ {
+ "id": "422826203",
+ "name": "小村乡",
+ "drp": 0.1,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0.1
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826204",
+ "name": "黄金洞乡",
+ "drp": 0.1,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0.1
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0.1
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826102",
+ "name": "坪坝营镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826100",
+ "name": "高乐山镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826105",
+ "name": "唐崖镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826104",
+ "name": "清坪镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826106",
+ "name": "曲江镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826101",
+ "name": "忠堡镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826103",
+ "name": "朝阳寺镇",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826202",
+ "name": "活龙坪乡",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ },
+ {
+ "id": "422826400",
+ "name": "大路坝区",
+ "drp": 0,
+ "lgtd": null,
+ "lttd": null,
+ "timeRainVos": [
+ {
+ "tm": "2025-06-03 09:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 10:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 11:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 12:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 13:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 14:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 15:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 16:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 17:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 18:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 19:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 20:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 21:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 22:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-03 23:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 00:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 01:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 02:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 03:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 04:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 05:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 06:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 07:00:00",
+ "drp": 0
+ },
+ {
+ "tm": "2025-06-04 08:00:00",
+ "drp": 0
+ }
+ ]
+ }
+]
+
+export default function AreaDrp({ style }) {
+ const dispatch = useDispatch();
+ const [params, setParams] = useState({ tm: [moment(),moment().add(1,'days')] })
+ const [tabVal, setTabVal] = useState('1')
+ let { data } = useRequest(SkRealPromise.get);
+ const sortedData = useMemo(() => (data || []).sort((a, b) => (b.aRz - a.aRz), [data]));
+
+ const flyTo = (record) => {
+ const { lgtd, lttd } = record;
+ if (lgtd && lttd) {
+ dispatch.runtime.setFeaturePop({ type: InfoPopNames.RealSkPop, properties: record, coordinates: [lgtd, lttd] });
+ dispatch.runtime.setCameraTarget({
+ center: [lgtd, lttd + config.poiPositionOffsetY.sk],
+ zoom: config.poiPositionZoom.sk,
+ pitch: config.poiPitch,
+ bearing: 0,
+ });
+ }
+ }
+
+ return (
+ <>
+ 预报时间选择
+
+ {
+ setParams({
+ ...params,
+ stm: e[0].format("YYYY-MM-DD HH:mm"),
+ etm: e[1].format("YYYY-MM-DD HH:mm"),
+ tm:e,
+ })
+ }}
+ allowClear
+ format="YYYY-MM-DD HH:mm"
+ showTime={{
+ format: 'HH:mm',
+ }}
+ value={params.tm}
+ />
+
+
+
+
+ setTabVal('1')}
+ >水库统计
+
+ setTabVal('2')}
+ >流域降雨
+
+ setTabVal('3')}
+ >区域降雨
+
+ setTabVal('4')}
+ >量级降雨
+
+
+
+
+ {
+ tabVal==='1'?
+
+
+
+ 名称
+ 雨量
+ {/* 水位 */}
+ {/* 超汛限 */}
+
+
+
+ {sortedData.map((row) => (
+
+
+ flyTo(row)}>{row.stnm}
+
+ {/* {'-'} */}
+ {row?.rz}
+ {/* {renderSkArz(row)} */}
+
+ ))}
+
+
+ :null
+ }
+ {
+ tabVal==='2'?
+
+
+
+ 名称
+ 雨量
+ {/* 水位 */}
+ {/* 超汛限 */}
+
+
+
+ {lyData.map((row) => (
+
+
+ {}}>{row.name}
+
+ {/* {'-'} */}
+ {'-'}
+ {/* {renderSkArz(row)} */}
+
+ ))}
+
+
+ :null
+ }
+ {
+ tabVal==='3'?
+
+
+
+ 名称
+ 雨量
+ {/* 水位 */}
+ {/* 超汛限 */}
+
+
+
+ {qyData.map((row) => (
+
+
+ {}}>{row.name}
+
+ {/* {'-'} */}
+ {'-'}
+ {/* {renderSkArz(row)} */}
+
+ ))}
+
+
+ :null
+ }
+
+
+ 站点统计(个):120
+ 其中有雨站点(个):120
+
+
+ >
+ )
+}
diff --git a/src/views/Home/panels/Warn/ShYj.js b/src/views/Home/panels/Warn/ShYj.js
index 1d67336..2cf42df 100644
--- a/src/views/Home/panels/Warn/ShYj.js
+++ b/src/views/Home/panels/Warn/ShYj.js
@@ -42,8 +42,14 @@ function ShYj({ data }) {
}
if (data.length === 0) {
- httpget(apiurl.shyj.find, { adcd: config.SHYJ_ADCD, page: 1, size: 10, warnstatusid: 30 })
- .then(({ data }) => sethisdata(data.list || []))
+ // httpget(apiurl.shyj.find, { adcd: config.SHYJ_ADCD, page: 1, size: 10, warnstatusid: 30 })
+ // .then(({ data }) => {
+ // sethisdata(data.list || [])
+ // })
+ fetch(`${process.env.PUBLIC_URL}/data/shyjFind.json`)
+ .then((response) => response.json())
+ .then((data) => sethisdata(data || []))
+ .catch(() => null)
}
}, [data?.length]);