Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
New file |
| | |
| | | [ |
| | | { |
| | | "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" |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | "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 |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | "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 |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | "UserName": "集团公司", |
| | | "ProductionFacilities": 45, |
| | | "GovernanceFacilities": 32 |
| | | }, |
| | | { |
| | | "UserName": "北京石油", |
| | | "ProductionFacilities": 22, |
| | | "GovernanceFacilities": 14 |
| | | }, |
| | | { |
| | | "UserName": "天津石化", |
| | | "ProductionFacilities": 3, |
| | | "GovernanceFacilities": 12 |
| | | }, |
| | | { |
| | | "UserName": "贵州石油", |
| | | "ProductionFacilities": 10, |
| | | "GovernanceFacilities": 6 |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | 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' |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | "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 |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | "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" |
| | | } |
| | | ] |
New file |
| | |
| | | [ |
| | | { |
| | | "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" |
| | | } |
| | | ] |
| | |
| | | }, |
| | | 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) |
| | | } |
| | | } |
| | |
| | | <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> |
| | |
| | | this.selectGroup = !this.selectGroup |
| | | this.isShowMessage = this.selectGroup |
| | | if (this.selectGroup) { |
| | | document.querySelector('#notification').style.opacity = '0' |
| | | this.isShow = [] |
| | | } else { |
| | | this.isShow = !this.isShow |
| | |
| | | handleClose (done) { |
| | | this.selectGroup = false |
| | | this.isShowMessage = false |
| | | document.querySelector('#notification').style.opacity = '1' |
| | | } |
| | | } |
| | | } |
| | |
| | | .dialogMessage{ |
| | | /deep/ .el-dialog{ |
| | | width: 30vw; |
| | | left: 60%; |
| | | right: 0.14583rem; |
| | | top: 0.11979rem; |
| | | } |
| | | .conclusion{ |
| | | text-indent:2em; |
New file |
| | |
| | | <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> |
New file |
| | |
| | | <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> |
| | |
| | | </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 |
New file |
| | |
| | | <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> |
New file |
| | |
| | | <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> |
| | |
| | | <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"> |
| | |
| | | <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', |
| | |
| | | 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' }, |
| | |
| | | ] |
| | | } |
| | | }, |
| | | 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' |
| | |
| | | </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 |
| | |
| | | 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: [{ |
| | | 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' }, |
| | |
| | | ] |
| | | } |
| | | }, |
| | | 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' |
| | |
| | | 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: { |
| | |
| | | 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' |
| | |
| | | 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: { |
| | |
| | | // WasteGas, |
| | | // SoilGroundwater, |
| | | SolidWaste, |
| | | AirQuality |
| | | PollutionSource, |
| | | EnvironmentalRisk, |
| | | Pipeline, |
| | | CorporateEmergency |
| | | }, |
| | | data () { |
| | | return { |
| | | titleProp: '', |
| | | activeName: 'gcComp', |
| | | topicList: TopicList, |
| | | gcComp: AirQuality |
| | | activeName: '污染源', |
| | | topicList: TopicList, // tab项 |
| | | gcComp: PollutionSource // 默认显示污染源内容 |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | 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 |
| | |
| | | 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 |
| | | } |
| | | } |
| | |
| | | isShow: false, |
| | | icon: 'iconditu', |
| | | comp: '' |
| | | }, { |
| | | }, /* { |
| | | name: '土壤及地下水', |
| | | id: 6, |
| | | checked: false, |
| | | isShow: false, |
| | | icon: 'icondxs_green', |
| | | comp: '' |
| | | }, { |
| | | } */ { |
| | | name: '管线', |
| | | id: 7, |
| | | checked: false, |
| | |
| | | isShow: false, |
| | | icon: 'iconqiye', |
| | | comp: '' |
| | | }/* { |
| | | } /* { |
| | | name: '管道变更', |
| | | id: 8, |
| | | checked: false, |