派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-27 91a1b18cd9b949c65e493d802cfb8393667b214d
Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
12个文件已添加
9个文件已修改
786 ■■■■ 已修改文件
public/assets/corporateEmergency.json 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/indexStatistics.json 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/pipeline.json 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/pollutionSource.json 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/soilGroundwater.json 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/warn.json 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/wasteGas.json 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/wasteWater.json 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/mapApi.js 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/message/index.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/CorporateEmergency.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/EnvironmentalRisk.vue 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/IndexStatistics.vue 28 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/Pipeline.vue 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/PollutionSource.vue 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/SoilGroundwater.vue 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/Warn.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/WasteGas.vue 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/WasteWater.vue 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/table/components/tabHandover.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/conf/Topic.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/assets/corporateEmergency.json
New file
@@ -0,0 +1,53 @@
[
  {
    "UserName": "集团名称",
    "WasteWaters": "",
    "AddOutPut": "",
    "MonthOutPut": "",
    "NH4NPut": "",
    "NH4NMonth": "",
    "normal": "",
    "overProof": "",
    "Abnormal": "",
    "StopProduction": "",
    "deficiency": ""
  },
  {
    "UserName": "天津石化",
    "WasteWaters": "116.6",
    "AddOutPut": "58",
    "MonthOutPut": "13",
    "NH4NPut": "58",
    "NH4NMonth": "13",
    "normal": "21",
    "overProof": "2",
    "Abnormal": "2",
    "StopProduction": "2",
    "deficiency": "2"
  },
  {
    "UserName": "xxxx炼化3",
    "WasteWaters": "116",
    "MonthOutPut": "13",
    "NH4NPut": "58",
    "NH4NMonth": "13",
    "normal": "21",
    "overProof": "2",
    "Abnormal": "2",
    "StopProduction": "2",
    "deficiency": "2"
  },
  {
    "UserName": "xxxx4",
    "WasteWaters": "116",
    "AddOutPut": "58",
    "MonthOutPut": "13",
    "NH4NPut": "58",
    "NH4NMonth": "13",
    "normal": "21",
    "overProof": "2",
    "Abnormal": "2",
    "StopProduction": "2",
    "deficiency": "2"
  }
]
public/assets/indexStatistics.json
New file
@@ -0,0 +1,26 @@
[
  {
    "date": "集团公司",
    "name": "35",
    "province": "23",
    "city": "11",
    "address": 235,
    "zip": 23
  },
  {
    "date": "天津石化",
    "name": 32,
    "province": 33,
    "city": 44,
    "address": 53,
    "zip": 200333
  },
  {
    "date": "济南炼化",
    "name": 35,
    "province": 13,
    "city": 33,
    "address": 44,
    "zip": 200333
  }
]
public/assets/pipeline.json
New file
@@ -0,0 +1,34 @@
[
  {
    "date": "集团公司",
    "name": 1,
    "province": 1,
    "city": 0,
    "address": 1,
    "zip": 0
  },
  {
    "date": "天津石化",
    "name": 1,
    "province": 0,
    "city": 1,
    "address": 1,
    "zip": 2
  },
  {
    "date": "XXX炼化",
    "name": 1,
    "province": 2,
    "city": 0,
    "address": 0,
    "zip": 1
  },
  {
    "date": "XXX炼化2",
    "name": 1,
    "province": 2,
    "city": 0,
    "address": 0,
    "zip": 1
  }
]
public/assets/pollutionSource.json
New file
@@ -0,0 +1,22 @@
[
  {
    "UserName": "集团公司",
    "ProductionFacilities": 45,
    "GovernanceFacilities": 32
  },
  {
    "UserName": "北京石油",
    "ProductionFacilities": 22,
    "GovernanceFacilities": 14
  },
  {
    "UserName": "天津石化",
    "ProductionFacilities": 3,
    "GovernanceFacilities": 12
  },
  {
    "UserName": "贵州石油",
    "ProductionFacilities": 10,
    "GovernanceFacilities": 6
  }
]
public/assets/soilGroundwater.json
New file
@@ -0,0 +1,53 @@
[
  {
    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'
  }
]
public/assets/warn.json
New file
@@ -0,0 +1,34 @@
[
  {
    "date": "集团公司",
    "name": 1,
    "province": 1,
    "city": 0,
    "address": 1,
    "zip": 0
  },
  {
    "date": "天津石化",
    "name": 1,
    "province": 0,
    "city": 1,
    "address": 1,
    "zip": 2
  },
  {
    "date": "XXX炼化",
    "name": 1,
    "province": 2,
    "city": 0,
    "address": 0,
    "zip": 1
  },
  {
    "date": "XXX炼化2",
    "name": 1,
    "province": 2,
    "city": 0,
    "address": 0,
    "zip": 1
  }
]
public/assets/wasteGas.json
New file
@@ -0,0 +1,53 @@
[
  {
    "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"
  }
]
public/assets/wasteWater.json
New file
@@ -0,0 +1,53 @@
[
  {
    "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"
  }
]
src/api/mapApi.js
@@ -91,5 +91,32 @@
  },
  getRiskEnterprise (data) {
    return axios.get('/assets/riskEnterprise.json', data)
  },
  getPollutionSourceStatistics (data) {
    return axios.get('/assets/pollutionSource.json', data)
  },
  getWasteWaterStatistics (data) {
    return axios.get('/assets/wasteWater.json', data)
  },
  getWasteGasStatistics (data) {
    return axios.get('/assets/wasteGas.json', data)
  },
  getSolidWasteStatistics (data) {
    return axios.get('/assets/wasteGas.json', data)
  },
  getEnvironmentalRiskStatistics (data) {
    return axios.get('/assets/pollutionSource.json', data)
  },
  getIndexStatistics (data) {
    return axios.get('/assets/indexStatistics.json', data)
  },
  getwarnStatistics (data) {
    return axios.get('/assets/warn.json', data)
  },
  getPipelineStatistics (data) {
    return axios.get('/assets/pipeline.json', data)
  },
  getCorporateEmergencyStatistics (data) {
    return axios.get('/assets/corporateEmergency.json', data)
  }
}
src/components/message/index.vue
@@ -1,6 +1,6 @@
<template>
    <div class="message">
        <el-tooltip :popper-class="'message-btn'" effect="dark" content="通知" placement="left">
        <el-tooltip id="notification" :popper-class="'message-btn'" effect="dark" content="通知" placement="left">
            <div :class='["iconBtn",selectGroup === true  ? "active-button" : ""]' @click="changeSelectMouse" >
                <i class="icon el-icon-bell" ></i>
            </div>
@@ -71,6 +71,7 @@
      this.selectGroup = !this.selectGroup
      this.isShowMessage = this.selectGroup
      if (this.selectGroup) {
        document.querySelector('#notification').style.opacity = '0'
        this.isShow = []
      } else {
        this.isShow = !this.isShow
@@ -88,6 +89,7 @@
    handleClose (done) {
      this.selectGroup = false
      this.isShowMessage = false
      document.querySelector('#notification').style.opacity = '1'
    }
  }
}
@@ -102,7 +104,8 @@
        .dialogMessage{
            /deep/ .el-dialog{
                width: 30vw;
                left: 60%;
                right: 0.14583rem;
                top: 0.11979rem;
            }
            .conclusion{
                text-indent:2em;
src/components/table/components/CorporateEmergency.vue
New file
@@ -0,0 +1,39 @@
<template>
  <div class="Pipeline">
    <el-table class="tableBox" :data="tableData" border>
      <el-table-column width="30px" label="">
        <template>
          <i class="el-icon-caret-right"></i>
          <span style="margin-left: 10px"></span>
        </template>
      </el-table-column>
      <el-table-column label="序号" width="60px" type="index"></el-table-column>
      <el-table-column prop="UserName" label="企业名称"></el-table-column>
      <el-table-column prop="WasteWaters" label="应急预案数量(个)"></el-table-column>
      <el-table-column prop="AddOutPut" label="应急预案备案号"></el-table-column>
      <el-table-column prop="MonthOutPut" label="应急物资存放点"></el-table-column>
      <el-table-column prop="NH4NPut" label="环保事件(个)"></el-table-column>
      <el-table-column prop="NH4NMonth" label="环保处罚(个)"></el-table-column>
      <el-table-column prop="normal" label="处罚金额(万元)"></el-table-column>
    </el-table>
  </div>
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  name: 'CorporateEmergency',
  data () {
    return {
      tableData: null
    }
  },
  async mounted () {
    this.tableData = await mapApi.getCorporateEmergencyStatistics()
  }
}
</script>
<style scoped>
</style>
src/components/table/components/EnvironmentalRisk.vue
New file
@@ -0,0 +1,46 @@
<template>
  <div class="PollutionSource">
    <el-table class="tableBox" :data="tableData" :header-cell-style="tableHeaderColor" :cell-style="rowClass" border>
      <el-table-column width="30px" label="">
        <template>
          <i class="el-icon-caret-right"></i>
          <span style="margin-left: 10px"></span>
        </template>
      </el-table-column>
      <el-table-column label="序号" width="60px" type="index"></el-table-column>
      <el-table-column prop="UserName" label="企业名称"></el-table-column>
      <el-table-column prop="ProductionFacilities" label="一级风险源(个)"></el-table-column>
      <el-table-column prop="GovernanceFacilities" label="二级风险源(个)"></el-table-column>
      <el-table-column prop="GovernanceFacilities" label="三级风险源(个)"></el-table-column>
      <el-table-column prop="GovernanceFacilities" label="应急物资存放点"></el-table-column>
    </el-table>
  </div>
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  name: 'AirQuality',
  data () {
    return {
      tableData: null
    }
  },
  async mounted () {
    this.tableData = await mapApi.getEnvironmentalRiskStatistics()
  },
  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'
    },
    // 表头样式设置
    rowClass  () {
      // return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px'
    }
  }
}
</script>
<style scoped>
</style>
src/components/table/components/IndexStatistics.vue
@@ -66,37 +66,19 @@
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  name: 'IndexStatistics',
  data () {
    return {
      titleProp: '',
      activeName: 'first',
      tableData: [{
        date: '集团公司',
        name: '35',
        province: '23',
        city: '11',
        address: 235,
        zip: 23
      }, {
        date: '天津石化',
        name: 32,
        province: 33,
        city: 44,
        address: 53,
        zip: 200333
      }, {
        date: '济南炼化',
        name: 35,
        province: 13,
        city: 33,
        address: 44,
        zip: 200333
      }]
      tableData: null
    }
  },
  async mounted () {
    this.tableData = await mapApi.getIndexStatistics()
  },
  methods: {
    refsDatatitle (item) {
      this.titleProp = item
src/components/table/components/Pipeline.vue
New file
@@ -0,0 +1,37 @@
<template>
  <div class="Pipeline">
    <el-table class="tableBox" :data="tableData" border>
      <el-table-column width="30px" label="">
        <template>
          <i class="el-icon-caret-right"></i>
          <span style="margin-left: 10px"></span>
        </template>
      </el-table-column>
      <el-table-column label="序号" width="60px" type="index"></el-table-column>
      <el-table-column prop="date" label="企业名称"></el-table-column>
      <el-table-column prop="name" label="管线总长度(km)"></el-table-column>
      <el-table-column prop="province" label="周边环境 "></el-table-column>
      <el-table-column prop="city" label="拦截设施"></el-table-column>
      <el-table-column prop="address" label="内外排口"></el-table-column>
    </el-table>
  </div>
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  name: 'Pipeline',
  data () {
    return {
      tableData: null
    }
  },
  async mounted () {
    this.tableData = await mapApi.getPipelineStatistics()
  }
}
</script>
<style scoped>
</style>
src/components/table/components/PollutionSource.vue
New file
@@ -0,0 +1,44 @@
<template>
    <div class="PollutionSource">
        <el-table class="tableBox" :data="tableData" :header-cell-style="tableHeaderColor" :cell-style="rowClass" border>
            <el-table-column width="30px" label="">
                <template>
                    <i class="el-icon-caret-right"></i>
                    <span style="margin-left: 10px"></span>
                </template>
            </el-table-column>
            <el-table-column label="序号" width="60px" type="index"></el-table-column>
            <el-table-column prop="UserName" label="企业名称"></el-table-column>
            <el-table-column prop="ProductionFacilities" label="生产设施"></el-table-column>
            <el-table-column prop="GovernanceFacilities" label="治理设施"></el-table-column>
        </el-table>
    </div>
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  name: 'AirQuality',
  data () {
    return {
      tableData: null
    }
  },
  async mounted () {
    this.tableData = await mapApi.getPollutionSourceStatistics()
  },
  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'
    },
    // 表头样式设置
    rowClass  () {
      // return 'text-align: center;background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;width:64px'
    }
  }
}
</script>
<style scoped>
</style>
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'
src/components/table/components/Warn.vue
@@ -149,42 +149,18 @@
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  data () {
    return {
      titleProp: '',
      activeName: 'first',
      tableData: [{
        date: '集团公司',
        name: 1,
        province: 1,
        city: 0,
        address: 1,
        zip: 0
      }, {
        date: '天津石化',
        name: 1,
        province: 0,
        city: 1,
        address: 1,
        zip: 2
      }, {
        date: 'XXX炼化',
        name: 1,
        province: 2,
        city: 0,
        address: 0,
        zip: 1
      }, {
        date: 'XXX炼化2',
        name: 1,
        province: 2,
        city: 0,
        address: 0,
        zip: 1
      }]
      tableData: null
    }
  },
  async mounted () {
    this.tableData = await mapApi.getwarnStatistics()
  },
  methods: {
    refsDatatitle (item) {
      this.titleProp = item
src/components/table/components/WasteGas.vue
@@ -63,6 +63,7 @@
import ChemicalWastewater from '@components/table/components/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: 'WasteGas',
  components: {
@@ -74,55 +75,7 @@
    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,
      tableHeader1: [
        { name: '排放点', width: '140', propS: 'value1' },
        { name: '单位部门', width: '80', propS: 'value2' },
@@ -137,6 +90,9 @@
      ]
    }
  },
  async mounted () {
    this.tableData = await mapApi.getWasteGasStatistics()
  },
  methods: {
    tableHeaderColor ({ columnIndex }) {
      //   return 'background-color: rgba(26, 73, 81, 0.901960784313726);color:#fff;font-wight:500;font-size:12px;text-align:center;height:0px'
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'
src/components/table/components/tabHandover.vue
@@ -15,10 +15,12 @@
import SoilGroundwater from '@components/table/components/SoilGroundwater'
import WasteGas from '@components/table/components/WasteGas'
import SolidWaste from '@components/table/components/WasteSolid'
import AirQuality from '@components/table/components/AirQuality'
import PollutionSource from '@components/table/components/PollutionSource'
import EnvironmentalRisk from '@components/table/components/EnvironmentalRisk'
import Pipeline from '@components/table/components/Pipeline'
import CorporateEmergency from '@components/table/components/CorporateEmergency'
import { TopicList } from '../../../conf/Topic'
export default {
  name: 'tabHandover',
  components: {
@@ -26,14 +28,17 @@
    // WasteGas,
    // SoilGroundwater,
    SolidWaste,
    AirQuality
    PollutionSource,
    EnvironmentalRisk,
    Pipeline,
    CorporateEmergency
  },
  data () {
    return {
      titleProp: '',
      activeName: 'gcComp',
      topicList: TopicList,
      gcComp: AirQuality
      activeName: '污染源',
      topicList: TopicList, // tab项
      gcComp: PollutionSource // 默认显示污染源内容
    }
  },
  methods: {
@@ -41,10 +46,9 @@
      this.titleProp = item
    },
    handleClick (tab, event) {
      console.log(tab.label)
      switch (tab.label) {
        case '污染源':
          this.gcComp = AirQuality
          this.gcComp = PollutionSource
          break
        case '废水':
          this.gcComp = WasteWater
@@ -56,13 +60,16 @@
          this.gcComp = SolidWaste
          break
        case '环境风险':
          this.gcComp = AirQuality
          this.gcComp = EnvironmentalRisk
          break
        case '土壤及地下水':
          this.gcComp = SoilGroundwater
          break
        case '管线':
          this.gcComp = AirQuality
          this.gcComp = Pipeline
          break
        case '企业应急':
          this.gcComp = CorporateEmergency
          break
      }
    }
src/conf/Topic.js
@@ -47,14 +47,14 @@
  isShow: false,
  icon: 'iconditu',
  comp: ''
}, {
}, /* {
  name: '土壤及地下水',
  id: 6,
  checked: false,
  isShow: false,
  icon: 'icondxs_green',
  comp: ''
}, {
} */ {
  name: '管线',
  id: 7,
  checked: false,
@@ -68,7 +68,7 @@
  isShow: false,
  icon: 'iconqiye',
  comp: ''
}/* {
} /* {
  name: '管道变更',
  id: 8,
  checked: false,