diff --git a/src/api/longoPeration/WaterloggingPoint.js b/src/api/longoPeration/WaterloggingPoint.js
index 725e519..2c454f9 100644
--- a/src/api/longoPeration/WaterloggingPoint.js
+++ b/src/api/longoPeration/WaterloggingPoint.js
@@ -33,3 +33,42 @@
method: 'delete',
});
}
+
+// 易涝积水点 分页
+export function floodYLPage(query) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/page',
+ method: 'get',
+ params: query,
+ });
+}
+// 易涝积水点 新增
+export function floodYLAdd(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/add',
+ method: 'post',
+ data: data,
+ });
+}
+// 易涝积水点 编辑
+export function floodYLEdit(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/edit',
+ method: 'put',
+ data: data,
+ });
+}
+// 易涝积水点 详情
+export function floodYLDetail(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'get',
+ });
+}
+// 易涝积水点 删除
+export function floodYLDelete(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'delete',
+ });
+}
diff --git a/src/api/longoPeration/WaterloggingPoint.js b/src/api/longoPeration/WaterloggingPoint.js
index 725e519..2c454f9 100644
--- a/src/api/longoPeration/WaterloggingPoint.js
+++ b/src/api/longoPeration/WaterloggingPoint.js
@@ -33,3 +33,42 @@
method: 'delete',
});
}
+
+// 易涝积水点 分页
+export function floodYLPage(query) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/page',
+ method: 'get',
+ params: query,
+ });
+}
+// 易涝积水点 新增
+export function floodYLAdd(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/add',
+ method: 'post',
+ data: data,
+ });
+}
+// 易涝积水点 编辑
+export function floodYLEdit(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/edit',
+ method: 'put',
+ data: data,
+ });
+}
+// 易涝积水点 详情
+export function floodYLDetail(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'get',
+ });
+}
+// 易涝积水点 删除
+export function floodYLDelete(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'delete',
+ });
+}
diff --git a/src/views/floodSys/assetManage/floodYL.vue b/src/views/floodSys/assetManage/floodYL.vue
new file mode 100644
index 0000000..c7733db
--- /dev/null
+++ b/src/views/floodSys/assetManage/floodYL.vue
@@ -0,0 +1,249 @@
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/api/longoPeration/WaterloggingPoint.js b/src/api/longoPeration/WaterloggingPoint.js
index 725e519..2c454f9 100644
--- a/src/api/longoPeration/WaterloggingPoint.js
+++ b/src/api/longoPeration/WaterloggingPoint.js
@@ -33,3 +33,42 @@
method: 'delete',
});
}
+
+// 易涝积水点 分页
+export function floodYLPage(query) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/page',
+ method: 'get',
+ params: query,
+ });
+}
+// 易涝积水点 新增
+export function floodYLAdd(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/add',
+ method: 'post',
+ data: data,
+ });
+}
+// 易涝积水点 编辑
+export function floodYLEdit(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/edit',
+ method: 'put',
+ data: data,
+ });
+}
+// 易涝积水点 详情
+export function floodYLDetail(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'get',
+ });
+}
+// 易涝积水点 删除
+export function floodYLDelete(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'delete',
+ });
+}
diff --git a/src/views/floodSys/assetManage/floodYL.vue b/src/views/floodSys/assetManage/floodYL.vue
new file mode 100644
index 0000000..c7733db
--- /dev/null
+++ b/src/views/floodSys/assetManage/floodYL.vue
@@ -0,0 +1,249 @@
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/gisMapPage/commonLegend.js b/src/views/gisMapPage/commonLegend.js
index 0b40687..b6d85dd 100644
--- a/src/views/gisMapPage/commonLegend.js
+++ b/src/views/gisMapPage/commonLegend.js
@@ -49,7 +49,6 @@
//雨水泵站
let resRainwater = await facilityPumpList();
if (resRainwater && resRainwater.code == 200) {
- console.log('resRainwater--', resRainwater.data);
let YSBZDataList = resRainwater.data.filter(data => data.pumpType == 'rain_water');
let WSBZDataList = resRainwater.data.filter(data => data.pumpType == 'sewage_water');
let PLBZDataList = resRainwater.data.filter(data => data.pumpType == 'drain_flooded');
diff --git a/src/api/longoPeration/WaterloggingPoint.js b/src/api/longoPeration/WaterloggingPoint.js
index 725e519..2c454f9 100644
--- a/src/api/longoPeration/WaterloggingPoint.js
+++ b/src/api/longoPeration/WaterloggingPoint.js
@@ -33,3 +33,42 @@
method: 'delete',
});
}
+
+// 易涝积水点 分页
+export function floodYLPage(query) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/page',
+ method: 'get',
+ params: query,
+ });
+}
+// 易涝积水点 新增
+export function floodYLAdd(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/add',
+ method: 'post',
+ data: data,
+ });
+}
+// 易涝积水点 编辑
+export function floodYLEdit(data) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/edit',
+ method: 'put',
+ data: data,
+ });
+}
+// 易涝积水点 详情
+export function floodYLDetail(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'get',
+ });
+}
+// 易涝积水点 删除
+export function floodYLDelete(id) {
+ return request({
+ url: '/business/preventFlood/waterloggingPoint/' + id,
+ method: 'delete',
+ });
+}
diff --git a/src/views/floodSys/assetManage/floodYL.vue b/src/views/floodSys/assetManage/floodYL.vue
new file mode 100644
index 0000000..c7733db
--- /dev/null
+++ b/src/views/floodSys/assetManage/floodYL.vue
@@ -0,0 +1,249 @@
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/gisMapPage/commonLegend.js b/src/views/gisMapPage/commonLegend.js
index 0b40687..b6d85dd 100644
--- a/src/views/gisMapPage/commonLegend.js
+++ b/src/views/gisMapPage/commonLegend.js
@@ -49,7 +49,6 @@
//雨水泵站
let resRainwater = await facilityPumpList();
if (resRainwater && resRainwater.code == 200) {
- console.log('resRainwater--', resRainwater.data);
let YSBZDataList = resRainwater.data.filter(data => data.pumpType == 'rain_water');
let WSBZDataList = resRainwater.data.filter(data => data.pumpType == 'sewage_water');
let PLBZDataList = resRainwater.data.filter(data => data.pumpType == 'drain_flooded');
diff --git a/src/views/sponeScreen/gisMF/cesiumPopup.vue b/src/views/sponeScreen/gisMF/cesiumPopup.vue
index 5526303..16bba35 100644
--- a/src/views/sponeScreen/gisMF/cesiumPopup.vue
+++ b/src/views/sponeScreen/gisMF/cesiumPopup.vue
@@ -8,6 +8,7 @@
{{ allData.dataList.stName }}
{{ allData.dataList.waterloggingName }}
{{ allData.dataList.materialName }}
+
@@ -188,39 +189,54 @@
// 积水点
let chartJSD = null;
function changeDateJSD() {
+ allData.dataList.waterloggingName = allData.dataList.name;
if (!!chartJSD) chartJSD.dispose();
setTimeout(async () => {
chartJSD = echarts.init(document.getElementById('chartHistoryJSD'));
- 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;
- }
+
+ chartOption.popupRainTrend.legend.data = ['积水深度'];
+ chartOption.popupRainTrend.yAxis.name = 'cm'; //单位
+ chartOption.popupRainTrend.xAxis.data = [];
+ chartOption.popupRainTrend.xAxis.boundaryGap = true;
+ chartOption.popupRainTrend.series.name = '积水深度';
+ chartOption.popupRainTrend.series.barWidth = 3;
+ chartOption.popupRainTrend.series.data = [];
+ chartOption.popupRainTrend.graphic.invisible = false; //暂无数据
+ chartOption.popupRainTrend.graphic.style.text = '暂无内涝点积水数据';
+ 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;
+ // }
});
}