From 3054bbce49457c82df9ad32523f3a0186e268d6f Mon Sep 17 00:00:00 2001
From: yangdelong <828900aaa>
Date: 星期五, 28 五月 2021 21:17:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop

---
 src/components/table/components/WasteWater.vue |   54 +++++-------------------------------------------------
 1 files changed, 5 insertions(+), 49 deletions(-)

diff --git a/src/components/table/components/WasteWater.vue b/src/components/table/components/WasteWater.vue
index a4c51fd..6540b1a 100644
--- a/src/components/table/components/WasteWater.vue
+++ b/src/components/table/components/WasteWater.vue
@@ -70,6 +70,7 @@
 import ChemicalWastewater from './componented/ChemicalWastewater'
 import Refinery from '@components/table/components/componented/refinery'
 import MissingAlarm from '@components/table/components/componented/MissingAlarm'
+import mapApi from '@/api/mapApi'
 export default {
   name: 'WasteWater',
   components: {
@@ -81,57 +82,12 @@
     return {
       isActive: '',
       isShowIcon: false,
-      tableData: [{
-        UserName: '闆嗗洟鍚嶇О',
-        WasteWaters: '',
-        AddOutPut: '',
-        MonthOutPut: '',
-        NH4NPut: '',
-        NH4NMonth: '',
-        normal: '',
-        overProof: '',
-        Abnormal: '',
-        StopProduction: '',
-        deficiency: ''
-      }, {
-        UserName: '澶╂触鐭冲寲',
-        WasteWaters: '116.6',
-        AddOutPut: '58.3',
-        MonthOutPut: '13.1',
-        NH4NPut: '58.3',
-        NH4NMonth: '13.1',
-        normal: '21',
-        overProof: '2',
-        Abnormal: '2',
-        StopProduction: '2',
-        deficiency: '2'
-      }, {
-        UserName: 'xxxx鐐煎寲3',
-        WasteWaters: '116.6',
-        MonthOutPut: '13.1',
-        NH4NPut: '58.3',
-        NH4NMonth: '13.1',
-        normal: '21',
-        overProof: '2',
-        Abnormal: '2',
-        StopProduction: '2',
-        deficiency: '2'
-      }, {
-        UserName: 'xxxx4',
-        WasteWaters: '116.6',
-        AddOutPut: '58.3',
-        MonthOutPut: '13.1',
-        NH4NPut: '58.3',
-        NH4NMonth: '13.1',
-        normal: '21',
-        overProof: '2',
-        Abnormal: '2',
-        StopProduction: '2',
-        deficiency: '2'
-
-      }]
+      tableData: null
     }
   },
+  async mounted () {
+    this.tableData = await mapApi.getWasteWaterStatistics()
+  },
   methods: {
     tableHeaderColor ({ row, column, owIndex, columnIndex }) {
     //  return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px'

--
Gitblit v1.8.0