| | |
| | | <template> |
| | | <div class="Waste-water"> |
| | | <el-table class="tableBox" :data="WasteGastableDataList" :header-cell-style="tableHeaderColor" :cell-style="rowClass" @cell-click="handle"> |
| | | <el-table class="tableBox" :data="tableData" :header-cell-style="tableHeaderColor" :cell-style="rowClass" @cell-click="handle"> |
| | | <el-table-column width="30px" label=""> |
| | | <template slot-scope="{row,$index}"> |
| | | <!-- <i class="el-icon-caret-right" v-if="$index ===1"></i>--> |
| | |
| | | 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: { |
| | |
| | | return { |
| | | isActive: '', |
| | | isShowIcon: false, |
| | | tableData: null, |
| | | tableHeader1: [ |
| | | { name: '排放点', width: '140', propS: 'value1' }, |
| | | { name: '单位部门', width: '80', propS: 'value2' }, |
| | |
| | | ] |
| | | } |
| | | }, |
| | | props: ['WasteGastableDataList'], |
| | | 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' |