diff --git a/src/views/sponeScreen/HaiMianScreen/index.vue b/src/views/sponeScreen/HaiMianScreen/index.vue
index 0dcce8e..2334f07 100644
--- a/src/views/sponeScreen/HaiMianScreen/index.vue
+++ b/src/views/sponeScreen/HaiMianScreen/index.vue
@@ -3,13 +3,13 @@
-
+ > -->
{{ allData.dataList.address }}
-
-
进水COD:
-
{{ sewageObj.jsCOD || '--' }}mg/L
-
进水总磷:
-
{{ sewageObj.jsTP || '--' }}mg/L
-
-
-
进水总氮:
-
{{ sewageObj.jsTN || '--' }}mg/L
-
进水氨氮:
-
{{ sewageObj.jsNH3N || '--' }}mg/L
-
-
-
出水COD:
-
{{ sewageObj.csCOD || '--' }}mg/L
-
出水总磷:
-
{{ sewageObj.csTP || '--' }}mg/L
-
-
-
出水总氮:
-
{{ sewageObj.csTN || '--' }}mg/L
-
出水氨氮:
-
{{ sewageObj.csNH3N || '--' }}mg/L
-
+ 查看工况图
@@ -211,7 +188,6 @@
const seleceName = ref('');
const unitName = ref('');
const propertyMonitorXList = ref([]);
-const sewageObj = ref({});
//
function closePopupCES() {
@@ -288,62 +264,23 @@
}
};
-// 污水处理厂数据
-function getDataWSC() {
- let params = {
- stationCode: allData.dataList.sewageCode,
- };
- realtimeDataList(params).then(res => {
- let datas = res.data || {};
- console.log(datas);
- if (Object.keys(datas).length > 0) {
- for (let i in datas) {
- if (i.includes('COD-JS')) {
- sewageObj.value.jsCOD = datas[i];
- }
- // 总磷
- if (i.includes('TP-JS')) {
- sewageObj.value.jsTP = datas[i];
- }
- // 总氮
- if (i.includes('TN-JS')) {
- sewageObj.value.jsTN = datas[i];
- }
- // 氨氮
- if (i.includes('NH3N-JS')) {
- sewageObj.value.jsNH3N = datas[i];
- }
- if (i.includes('COD-CS')) {
- sewageObj.value.csCOD = datas[i];
- }
- if (i.includes('TP-CS')) {
- sewageObj.value.csTP = datas[i];
- }
- if (i.includes('TN-CS')) {
- sewageObj.value.csTN = datas[i];
- }
- if (i.includes('NH3N-CS')) {
- sewageObj.value.csNH3N = datas[i];
- }
- }
- } else {
- sewageObj.value = {};
- }
- });
-}
-
// 泵站工况图查看
function checkGYT() {
closePopupCES(); //关闭弹窗
bus.emit('checkBZGYT', allData.dataList);
}
+// 污水厂工艺图查看
+function checkWSC() {
+ closePopupCES(); //关闭弹窗
+ bus.emit('checkWSCGYT', allData.dataList);
+}
+
onMounted(() => {
bus.on('popupcontent', data => {
allData.dataList = data.popupInfo;
console.log(allData.dataList, 9999);
if (allData.dataList.siteType == 'rain') changeDate(); //雨量站曲线图
- if (allData.dataList.sewageCode) getDataWSC(); //污水处理厂pcl实时数据
});
});
onBeforeUnmount(() => {
diff --git a/src/views/sponeScreen/HaiMianScreen/index.vue b/src/views/sponeScreen/HaiMianScreen/index.vue
index 0dcce8e..2334f07 100644
--- a/src/views/sponeScreen/HaiMianScreen/index.vue
+++ b/src/views/sponeScreen/HaiMianScreen/index.vue
@@ -3,13 +3,13 @@
-
+ > -->
地址:
{{ allData.dataList.address }}
-
-
进水COD:
-
{{ sewageObj.jsCOD || '--' }}mg/L
-
进水总磷:
-
{{ sewageObj.jsTP || '--' }}mg/L
-
-
-
进水总氮:
-
{{ sewageObj.jsTN || '--' }}mg/L
-
进水氨氮:
-
{{ sewageObj.jsNH3N || '--' }}mg/L
-
-
-
出水COD:
-
{{ sewageObj.csCOD || '--' }}mg/L
-
出水总磷:
-
{{ sewageObj.csTP || '--' }}mg/L
-
-
-
出水总氮:
-
{{ sewageObj.csTN || '--' }}mg/L
-
出水氨氮:
-
{{ sewageObj.csNH3N || '--' }}mg/L
-
+ 查看工况图
@@ -211,7 +188,6 @@
const seleceName = ref('');
const unitName = ref('');
const propertyMonitorXList = ref([]);
-const sewageObj = ref({});
//
function closePopupCES() {
@@ -288,62 +264,23 @@
}
};
-// 污水处理厂数据
-function getDataWSC() {
- let params = {
- stationCode: allData.dataList.sewageCode,
- };
- realtimeDataList(params).then(res => {
- let datas = res.data || {};
- console.log(datas);
- if (Object.keys(datas).length > 0) {
- for (let i in datas) {
- if (i.includes('COD-JS')) {
- sewageObj.value.jsCOD = datas[i];
- }
- // 总磷
- if (i.includes('TP-JS')) {
- sewageObj.value.jsTP = datas[i];
- }
- // 总氮
- if (i.includes('TN-JS')) {
- sewageObj.value.jsTN = datas[i];
- }
- // 氨氮
- if (i.includes('NH3N-JS')) {
- sewageObj.value.jsNH3N = datas[i];
- }
- if (i.includes('COD-CS')) {
- sewageObj.value.csCOD = datas[i];
- }
- if (i.includes('TP-CS')) {
- sewageObj.value.csTP = datas[i];
- }
- if (i.includes('TN-CS')) {
- sewageObj.value.csTN = datas[i];
- }
- if (i.includes('NH3N-CS')) {
- sewageObj.value.csNH3N = datas[i];
- }
- }
- } else {
- sewageObj.value = {};
- }
- });
-}
-
// 泵站工况图查看
function checkGYT() {
closePopupCES(); //关闭弹窗
bus.emit('checkBZGYT', allData.dataList);
}
+// 污水厂工艺图查看
+function checkWSC() {
+ closePopupCES(); //关闭弹窗
+ bus.emit('checkWSCGYT', allData.dataList);
+}
+
onMounted(() => {
bus.on('popupcontent', data => {
allData.dataList = data.popupInfo;
console.log(allData.dataList, 9999);
if (allData.dataList.siteType == 'rain') changeDate(); //雨量站曲线图
- if (allData.dataList.sewageCode) getDataWSC(); //污水处理厂pcl实时数据
});
});
onBeforeUnmount(() => {
diff --git a/src/views/sponeScreen/waterFlood/index.vue b/src/views/sponeScreen/waterFlood/index.vue
index c2a10a0..99df467 100644
--- a/src/views/sponeScreen/waterFlood/index.vue
+++ b/src/views/sponeScreen/waterFlood/index.vue
@@ -33,6 +33,9 @@
+
+
+
@@ -42,6 +45,7 @@
+
+