@@ -158,7 +160,8 @@
const allData = reactive({
dataList: {},
popupShow: false,
- dateTime: [proxy.moment(new Date()).subtract(7, 'days').format('YYYY-MM-DD'), proxy.moment().format('YYYY-MM-DD')],
+ dateTimeJSD: [proxy.moment(new Date()).subtract(1, 'days').format('YYYY-MM-DD'), proxy.moment().format('YYYY-MM-DD')],
+ dateTimeRain: [proxy.moment(new Date()).subtract(3, 'days').format('YYYY-MM-DD'), proxy.moment().format('YYYY-MM-DD')],
});
const dataOption = ref([]);
const selectData = ref([]);
@@ -167,6 +170,7 @@
const unitName = ref('');
const propertyMonitorXList = ref([]);
const realRiverVal = ref(0);
+const jsdLoading = ref(true);
//
function closePopupCES() {
@@ -184,26 +188,39 @@
// 积水点
let chartJSD = null;
function changeDateJSD() {
- setTimeout(() => {
- if (!!chartJSD) chartJSD.dispose();
+ if (!!chartJSD) chartJSD.dispose();
+ setTimeout(async () => {
chartJSD = echarts.init(document.getElementById('chartHistoryJSD'));
- chartOption.popupRainTrend.legend.data = ['水深'];
- chartOption.popupRainTrend.yAxis.name = 'm';
- chartOption.popupRainTrend.xAxis.data = ['2024-07-12 12:30:20', '2024-07-12 13:30:20', '2024-07-12 14:30:20', '2024-07-12 15:30:20'];
- chartOption.popupRainTrend.xAxis.boundaryGap = true;
- chartOption.popupRainTrend.series.name = '水深';
- chartOption.popupRainTrend.series.barWidth = 10;
- chartOption.popupRainTrend.series.data = [0.23, 0.3, 0.25, 0.18];
- // 设置鼠标滚轮放大缩小展示数据区间
- // chartOption.popupRainTrend.dataZoom = [{ type: 'inside', startValue: propertyMonitorXList.value[propertyMonitorXList.value.length / 2] }];
- // if (propertyMonitorXList.value.length > 0) {
- // chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
- // } else {
- // chartOption.popupRainTrend.graphic.invisible = false; //暂无数据
- // }
- chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
- chartJSD.clear();
- chartJSD.setOption(chartOption.popupRainTrend);
+ let params = {
+ startTime: allData.dateTimeJSD[0],
+ endTime: allData.dateTimeJSD[1],
+ stCode: allData.dataList['stCode'],
+ };
+ jsdLoading.value = true;
+ let res = await graphicReport(params);
+ if (res && res.code == 200) {
+ let datas = res.data;
+ chartOption.popupRainTrend.legend.data = [datas.propertyMonitorList[0].monitorPropertyName];
+ chartOption.popupRainTrend.yAxis.name = datas.propertyMonitorList[0].propertyUnit; //单位
+ chartOption.popupRainTrend.xAxis.data = datas.propertyMonitorXList;
+ chartOption.popupRainTrend.xAxis.boundaryGap = true;
+ chartOption.popupRainTrend.series.name = datas.propertyMonitorList[0].monitorPropertyName;
+ chartOption.popupRainTrend.series.barWidth = 3;
+ chartOption.popupRainTrend.series.data = datas.propertyMonitorList[0].ylist;
+ // 设置鼠标滚轮放大缩小展示数据区间
+ chartOption.popupRainTrend.dataZoom = [
+ { type: 'inside', startValue: datas.propertyMonitorXList[datas.propertyMonitorXList.length - 48] },
+ ];
+ if (datas.propertyMonitorXList > 0) {
+ chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
+ } else {
+ chartOption.popupRainTrend.graphic.invisible = false; //暂无数据
+ }
+ chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
+ chartJSD.clear();
+ chartJSD.setOption(chartOption.popupRainTrend);
+ jsdLoading.value = false;
+ }
});
}
@@ -285,11 +302,11 @@
selectData.value = obj.ylist;
initEchartsPopup();
};
-//获取监测数据
+//获取雨量站监测数据
const getSuperViseData = async () => {
let params = {
- startTime: allData.dateTime[0],
- endTime: allData.dateTime[1],
+ startTime: allData.dateTimeRain[0],
+ endTime: allData.dateTimeRain[1],
stCode: allData.dataList['stCode'],
};
dataOption.value = [];
@@ -373,7 +390,10 @@
allData.popupShow = true;
if (allData.dataList.siteType == 'rain') changeDate(); //雨量站曲线图
if (allData.dataList.type == 'waterCourse') changeDateSW(); //河道水位计
- if (allData.dataList.type == 'waterLoging') changeDateJSD(); //内涝积水点
+ //内涝积水点
+ if (allData.dataList.type == 'waterLoging') {
+ changeDateJSD();
+ }
});
});
onBeforeUnmount(() => {
diff --git a/src/views/sponeScreen/waterFlood/index.vue b/src/views/sponeScreen/waterFlood/index.vue
index b862cff..13e91cc 100644
--- a/src/views/sponeScreen/waterFlood/index.vue
+++ b/src/views/sponeScreen/waterFlood/index.vue
@@ -20,9 +20,6 @@
-
-
-
@@ -42,7 +39,7 @@
-
+
@@ -55,7 +52,6 @@
import PsssCount from '@/views/sponeScreen/waterFlood/PsssCount.vue'; //排水设施统计
import ReportRain from '@/views/sponeScreen/waterFlood/rainReport.vue'; //降雨报告
import FloodWZ from '@/views/sponeScreen/waterFlood/floodWZ.vue'; //防汛物资
-import MonitorBZ from '@/views/sponeScreen/waterFlood/pumpMonitor.vue'; //泵站运行监控
import MonitorEquip from '@/views/sponeScreen/waterFlood/equipMonitor.vue'; //监测设备
import FutureRain from '@/views/sponeScreen/waterFlood/futureRain.vue'; //降雨预报
import { nextTick, onBeforeUnmount } from 'vue';
@@ -71,6 +67,7 @@
const showWSC = ref(false);
const wscObj = ref({});
const wscTitle = ref('污水处理厂');
+const pipeParams = ref({});
// 面板内容展开收起控制
const props = defineProps({
@@ -100,6 +97,7 @@
});
// 管网监测点
bus.on('pipeMonitorBus', params => {
+ pipeParams.value = params;
showPipe.value = true;
});
setTimeout(() => {
@@ -140,36 +138,40 @@
pitch: 30,
});
bus.emit('setIniteLayer', [
- {
- layername: 'YSBZ', //雨水泵站
- show: false,
- },
- {
- layername: 'combineBengZhan', //合流泵站
- show: false,
- },
- {
- layername: 'sewageFactory', //污水处理厂
- show: false,
- },
- {
- layername: 'ysLine1', //雨水管网
- show: false,
- },
- {
- layername: 'hsLine1', //合流管网
- show: false,
- },
- {
- layername: 'pipeline_info_flow', //管网流向
- show: false,
- },
+ // {
+ // layername: 'YSBZ', //雨水泵站
+ // show: false,
+ // },
+ // {
+ // layername: 'combineBengZhan', //合流泵站
+ // show: false,
+ // },
+ // {
+ // layername: 'sewageFactory', //污水处理厂
+ // show: false,
+ // },
+ // {
+ // layername: 'ysLine1', //雨水管网
+ // show: false,
+ // },
+ // {
+ // layername: 'hsLine1', //合流管网
+ // show: false,
+ // },
+ // {
+ // layername: 'pipeline_info_flow', //管网流向
+ // show: false,
+ // },
{
layername: 'pipeMonitor', //管网监测点,测试
show: false,
},
+ // {
+ // layername: 'waterCourse', //河道水位计
+ // show: false,
+ // },
{
- layername: 'waterCourse', //河道水位计
+ layername: 'waterLoging', //内涝积水点
show: false,
},
]);
diff --git a/src/views/dataAnalysis/rtuSiteInfo/index.vue b/src/views/dataAnalysis/rtuSiteInfo/index.vue
index 7d974f4..8a23003 100644
--- a/src/views/dataAnalysis/rtuSiteInfo/index.vue
+++ b/src/views/dataAnalysis/rtuSiteInfo/index.vue
@@ -192,8 +192,8 @@
-
-
+
+
diff --git a/src/views/sponeScreen/HaiMianScreen/index.vue b/src/views/sponeScreen/HaiMianScreen/index.vue
index a0ce88f..b34cc61 100644
--- a/src/views/sponeScreen/HaiMianScreen/index.vue
+++ b/src/views/sponeScreen/HaiMianScreen/index.vue
@@ -177,7 +177,7 @@
{ name: '排水防涝', id: 4 },
{ name: '长效运维', id: 5 },
]);
-const menuIndex = ref(1);
+const menuIndex = ref(4);
const showPanel = ref(false);
const showLegend = ref(false);
const showPipe = ref(false);
diff --git a/src/views/sponeScreen/gisMF/cesiumMapLegend.js b/src/views/sponeScreen/gisMF/cesiumMapLegend.js
index 9cc5b48..7c3f9b5 100644
--- a/src/views/sponeScreen/gisMF/cesiumMapLegend.js
+++ b/src/views/sponeScreen/gisMF/cesiumMapLegend.js
@@ -69,25 +69,36 @@
let WSCLCDataList = resWSCLC.data;
WSCLC = this.getGeojsonData(WSCLCDataList); //污水处理厂
wscArea = this.getPolygonGeojson(WSCLCDataList); //污水处理厂范围
- let waterLogingRes = await waterloggingPointList();
+
+ // 获取内涝点数据
+ // let waterLogingRes = await waterloggingPointList();
+ let waterLogingRes = await getStationList({ monitorTargetType: 'waterlogging' });
if (waterLogingRes && waterLogingRes.code == 200) {
waterLogingPoint = this.getGeojsonData(waterLogingRes.data); //内涝点
}
+
+ // 管网监测点数据 测试用
+ let pipeRes = await getStationList({ monitorTargetType: 'pipeline' });
+ if (pipeRes && pipeRes.code == 200) {
+ pipeMonitorData = this.getGeojsonData(pipeRes.data); //内涝点
+ }
+ // pipeMonitorData = this.getGeojsonData([
+ // {
+ // projectNo: 'JZGW02',
+ // projectName: '汴京路管网监测点',
+ // stCode: '2109600028',
+ // stName: '汴京路管网监测点',
+ // lonlat: '114.3141225,34.79221',
+ // },
+ // ]);
+
+ // 海绵设施
let params = {};
let projectStationRes = await queryProjectStation(params);
if (projectStationRes && projectStationRes.code == 200) {
projectStation = this.getGeojsonData(projectStationRes.data); //海绵设施
}
- // 管网监测点 测试用
- pipeMonitorData = this.getGeojsonData([
- {
- projectNo: 'JZGW02',
- projectName: '汴京路管网监测点',
- stCode: '2109600028',
- stName: '汴京路管网监测点',
- lonlat: '114.3141225,34.79221',
- },
- ]);
+
//发送图例
legendDataList = this.legendData();
bus.emit('cesiumLegendDataList', legendDataList);
diff --git a/src/views/sponeScreen/gisMF/cesiumPopup.vue b/src/views/sponeScreen/gisMF/cesiumPopup.vue
index 66f77a6..e775208 100644
--- a/src/views/sponeScreen/gisMF/cesiumPopup.vue
+++ b/src/views/sponeScreen/gisMF/cesiumPopup.vue
@@ -82,18 +82,19 @@
-
+
@@ -114,7 +115,7 @@
@@ -158,7 +160,8 @@
const allData = reactive({
dataList: {},
popupShow: false,
- dateTime: [proxy.moment(new Date()).subtract(7, 'days').format('YYYY-MM-DD'), proxy.moment().format('YYYY-MM-DD')],
+ dateTimeJSD: [proxy.moment(new Date()).subtract(1, 'days').format('YYYY-MM-DD'), proxy.moment().format('YYYY-MM-DD')],
+ dateTimeRain: [proxy.moment(new Date()).subtract(3, 'days').format('YYYY-MM-DD'), proxy.moment().format('YYYY-MM-DD')],
});
const dataOption = ref([]);
const selectData = ref([]);
@@ -167,6 +170,7 @@
const unitName = ref('');
const propertyMonitorXList = ref([]);
const realRiverVal = ref(0);
+const jsdLoading = ref(true);
//
function closePopupCES() {
@@ -184,26 +188,39 @@
// 积水点
let chartJSD = null;
function changeDateJSD() {
- setTimeout(() => {
- if (!!chartJSD) chartJSD.dispose();
+ if (!!chartJSD) chartJSD.dispose();
+ setTimeout(async () => {
chartJSD = echarts.init(document.getElementById('chartHistoryJSD'));
- chartOption.popupRainTrend.legend.data = ['水深'];
- chartOption.popupRainTrend.yAxis.name = 'm';
- chartOption.popupRainTrend.xAxis.data = ['2024-07-12 12:30:20', '2024-07-12 13:30:20', '2024-07-12 14:30:20', '2024-07-12 15:30:20'];
- chartOption.popupRainTrend.xAxis.boundaryGap = true;
- chartOption.popupRainTrend.series.name = '水深';
- chartOption.popupRainTrend.series.barWidth = 10;
- chartOption.popupRainTrend.series.data = [0.23, 0.3, 0.25, 0.18];
- // 设置鼠标滚轮放大缩小展示数据区间
- // chartOption.popupRainTrend.dataZoom = [{ type: 'inside', startValue: propertyMonitorXList.value[propertyMonitorXList.value.length / 2] }];
- // if (propertyMonitorXList.value.length > 0) {
- // chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
- // } else {
- // chartOption.popupRainTrend.graphic.invisible = false; //暂无数据
- // }
- chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
- chartJSD.clear();
- chartJSD.setOption(chartOption.popupRainTrend);
+ let params = {
+ startTime: allData.dateTimeJSD[0],
+ endTime: allData.dateTimeJSD[1],
+ stCode: allData.dataList['stCode'],
+ };
+ jsdLoading.value = true;
+ let res = await graphicReport(params);
+ if (res && res.code == 200) {
+ let datas = res.data;
+ chartOption.popupRainTrend.legend.data = [datas.propertyMonitorList[0].monitorPropertyName];
+ chartOption.popupRainTrend.yAxis.name = datas.propertyMonitorList[0].propertyUnit; //单位
+ chartOption.popupRainTrend.xAxis.data = datas.propertyMonitorXList;
+ chartOption.popupRainTrend.xAxis.boundaryGap = true;
+ chartOption.popupRainTrend.series.name = datas.propertyMonitorList[0].monitorPropertyName;
+ chartOption.popupRainTrend.series.barWidth = 3;
+ chartOption.popupRainTrend.series.data = datas.propertyMonitorList[0].ylist;
+ // 设置鼠标滚轮放大缩小展示数据区间
+ chartOption.popupRainTrend.dataZoom = [
+ { type: 'inside', startValue: datas.propertyMonitorXList[datas.propertyMonitorXList.length - 48] },
+ ];
+ if (datas.propertyMonitorXList > 0) {
+ chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
+ } else {
+ chartOption.popupRainTrend.graphic.invisible = false; //暂无数据
+ }
+ chartOption.popupRainTrend.graphic.invisible = true; //暂无数据
+ chartJSD.clear();
+ chartJSD.setOption(chartOption.popupRainTrend);
+ jsdLoading.value = false;
+ }
});
}
@@ -285,11 +302,11 @@
selectData.value = obj.ylist;
initEchartsPopup();
};
-//获取监测数据
+//获取雨量站监测数据
const getSuperViseData = async () => {
let params = {
- startTime: allData.dateTime[0],
- endTime: allData.dateTime[1],
+ startTime: allData.dateTimeRain[0],
+ endTime: allData.dateTimeRain[1],
stCode: allData.dataList['stCode'],
};
dataOption.value = [];
@@ -373,7 +390,10 @@
allData.popupShow = true;
if (allData.dataList.siteType == 'rain') changeDate(); //雨量站曲线图
if (allData.dataList.type == 'waterCourse') changeDateSW(); //河道水位计
- if (allData.dataList.type == 'waterLoging') changeDateJSD(); //内涝积水点
+ //内涝积水点
+ if (allData.dataList.type == 'waterLoging') {
+ changeDateJSD();
+ }
});
});
onBeforeUnmount(() => {
diff --git a/src/views/sponeScreen/waterFlood/index.vue b/src/views/sponeScreen/waterFlood/index.vue
index b862cff..13e91cc 100644
--- a/src/views/sponeScreen/waterFlood/index.vue
+++ b/src/views/sponeScreen/waterFlood/index.vue
@@ -20,9 +20,6 @@
-
-
-
@@ -42,7 +39,7 @@
-
+
@@ -55,7 +52,6 @@
import PsssCount from '@/views/sponeScreen/waterFlood/PsssCount.vue'; //排水设施统计
import ReportRain from '@/views/sponeScreen/waterFlood/rainReport.vue'; //降雨报告
import FloodWZ from '@/views/sponeScreen/waterFlood/floodWZ.vue'; //防汛物资
-import MonitorBZ from '@/views/sponeScreen/waterFlood/pumpMonitor.vue'; //泵站运行监控
import MonitorEquip from '@/views/sponeScreen/waterFlood/equipMonitor.vue'; //监测设备
import FutureRain from '@/views/sponeScreen/waterFlood/futureRain.vue'; //降雨预报
import { nextTick, onBeforeUnmount } from 'vue';
@@ -71,6 +67,7 @@
const showWSC = ref(false);
const wscObj = ref({});
const wscTitle = ref('污水处理厂');
+const pipeParams = ref({});
// 面板内容展开收起控制
const props = defineProps({
@@ -100,6 +97,7 @@
});
// 管网监测点
bus.on('pipeMonitorBus', params => {
+ pipeParams.value = params;
showPipe.value = true;
});
setTimeout(() => {
@@ -140,36 +138,40 @@
pitch: 30,
});
bus.emit('setIniteLayer', [
- {
- layername: 'YSBZ', //雨水泵站
- show: false,
- },
- {
- layername: 'combineBengZhan', //合流泵站
- show: false,
- },
- {
- layername: 'sewageFactory', //污水处理厂
- show: false,
- },
- {
- layername: 'ysLine1', //雨水管网
- show: false,
- },
- {
- layername: 'hsLine1', //合流管网
- show: false,
- },
- {
- layername: 'pipeline_info_flow', //管网流向
- show: false,
- },
+ // {
+ // layername: 'YSBZ', //雨水泵站
+ // show: false,
+ // },
+ // {
+ // layername: 'combineBengZhan', //合流泵站
+ // show: false,
+ // },
+ // {
+ // layername: 'sewageFactory', //污水处理厂
+ // show: false,
+ // },
+ // {
+ // layername: 'ysLine1', //雨水管网
+ // show: false,
+ // },
+ // {
+ // layername: 'hsLine1', //合流管网
+ // show: false,
+ // },
+ // {
+ // layername: 'pipeline_info_flow', //管网流向
+ // show: false,
+ // },
{
layername: 'pipeMonitor', //管网监测点,测试
show: false,
},
+ // {
+ // layername: 'waterCourse', //河道水位计
+ // show: false,
+ // },
{
- layername: 'waterCourse', //河道水位计
+ layername: 'waterLoging', //内涝积水点
show: false,
},
]);
diff --git a/src/views/sponeScreen/waterFlood/pipeDetail.vue b/src/views/sponeScreen/waterFlood/pipeDetail.vue
index bfc4481..ffde517 100644
--- a/src/views/sponeScreen/waterFlood/pipeDetail.vue
+++ b/src/views/sponeScreen/waterFlood/pipeDetail.vue
@@ -14,10 +14,10 @@
-
水深:3.5米
+
水深:{{ realData.z }} 米
-
瞬时流量:0.06m³/s
+
小时流量:{{ realData.sbl1 }} m³/h
@@ -25,16 +25,16 @@
基本信息
+
站点名称:
+
{{ realData.stName }}
+
+
所在位置:
-
黄河大街
+
{{ pipeDetail.address }}
-
-
井盖材质:
-
铸铁
+
建设方式:
+
{{ pipeDetail.buildType == 'owner' ? '自建' : '共享' }}
安装高度:
-
4.80米
+
{{ realData.installHeight || '--' }}米
井深:
@@ -52,19 +52,23 @@
实时数据
水深:
-
5.50米
+
{{ realData.z }} 米
-
温度:
-
30.8℃
+
累计流量:
+
{{ realData.sbl1 }}m³
-
瞬时流量:
-
0.06m³/s
+
流速:
+
{{ realData.va }}m/s
-
SS:
-
38.6mg/L
+
浊度:
+
{{ realData.turb }} 度
+
+
+
更新时间:
+
{{ realData.tt }}
@@ -74,13 +78,15 @@
搜索
-