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": 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 |
| | | } |
| | | ] |
| | |
| | | }, |
| | | 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) |
| | | } |
| | | } |
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="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> |
| | |
| | | import SolidWaste from '@components/table/components/WasteSolid' |
| | | 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 { |
| | |
| | | // SoilGroundwater, |
| | | SolidWaste, |
| | | PollutionSource, |
| | | EnvironmentalRisk |
| | | EnvironmentalRisk, |
| | | Pipeline, |
| | | CorporateEmergency |
| | | }, |
| | | data () { |
| | | return { |
| | |
| | | this.gcComp = SoilGroundwater |
| | | break |
| | | case '管线': |
| | | // this.gcComp = AirQuality |
| | | this.gcComp = Pipeline |
| | | break |
| | | case '企业应急': |
| | | this.gcComp = CorporateEmergency |
| | | break |
| | | } |
| | | } |