From a312e0dd96d8f7e96fb3341f1a55561b12394405 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期日, 30 五月 2021 12:29:48 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/table/components/SoilGroundwater.vue |   55 +++++--------------------------------------------------
 1 files changed, 5 insertions(+), 50 deletions(-)

diff --git a/src/components/table/components/SoilGroundwater.vue b/src/components/table/components/SoilGroundwater.vue
index cad6f79..6c3538b 100644
--- a/src/components/table/components/SoilGroundwater.vue
+++ b/src/components/table/components/SoilGroundwater.vue
@@ -1,6 +1,6 @@
 <template>
     <div class="waste-water">
-        <el-table class="tableBox" :data="tableData" style="width: 100%" @cell-click="handle">
+        <el-table class="tableBox" :data="SolidWastetableDataList" style="width: 100%" @cell-click="handle">
             <el-table-column width="30px" label="">
                 <template slot-scope="{row,$index}">
                     <el-popover placement="bottom" trigger="click" :disabled="!isShowIcon" popper-class="popovers">
@@ -84,6 +84,7 @@
 <script>
 // import ChemicalWastewater from './componented/ChemicalWastewater'
 import Refinery from '@components/table/components/componented/refinery'
+import mapApi from '@/api/mapApi'
 // import MissingAlarm from '@components/table/components/componented/MissingAlarm'
 export default {
   name: 'WasteWater',
@@ -96,55 +97,6 @@
     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'
-
-      }],
       tableHeader1: [
         { name: '浼佷笟鍚嶇О', width: '140', propS: 'value1' },
         { name: '鍦板潡鍚嶇О', width: '140', propS: 'value2' },
@@ -165,6 +117,9 @@
       ]
     }
   },
+  async mounted () {
+    this.tableData = await mapApi.getSolidWasteStatistics()
+  },
   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