Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
Conflicts:
src/views/MapTemplate.vue
| | |
| | | <div class="main"> |
| | | <div class="main-matter"> |
| | | <el-row type="flex" class="row-bg row-item-one" justify="space-around"> |
| | | <el-col :span="12">氮氧化物:{{ displayContent.Name }} 标准: 100</el-col> |
| | | <el-col :span="12">二氧化硫:{{ displayContent.DeptSname }} 标准: 50</el-col> |
| | | <el-col :span="12">烟尘:{{ displayContent.EmissTypeName }} 标准: 30</el-col> |
| | | <el-col :span="12">废气流量:{{ displayContent.EmissTypeName }}</el-col> |
| | | <el-col :span="6">氮氧化物:{{ displayContent.Name }} 标准: 100</el-col> |
| | | <el-col :span="6">二氧化硫:{{ displayContent.DeptSname }} 标准: 50</el-col> |
| | | <el-col :span="6">烟尘:{{ displayContent.EmissTypeName }} 标准: 30</el-col> |
| | | <el-col :span="6">废气流量:{{ displayContent.EmissTypeName }}</el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | |
| | | .main-matter{ |
| | | font-size: 13px; |
| | | font-weight: normal; |
| | | padding: 10px 6px; |
| | | border: 1px solid #396d83; |
| | | .row-item-one{ |
| | | margin-bottom: 7px; |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | // import GasECharts from '@components/BaseNav/PublicBounced/GasComponents/GasECharts' |
| | | export default { |
| | | name: 'GasTabs' |
| | | name: 'GasTabs', |
| | | components: {} |
| | | // GasECharts |
| | | } |
| | | </script> |
| | | |
| | |
| | | background-color: rgba(33, 41, 69,0.9); |
| | | } |
| | | .main { |
| | | width: 100%; |
| | | height: 100%; |
| | | padding: 5px; |
| | | border: 1px solid #396d83; |
| | | padding: 6px; |
| | | .main-video { |
| | | //border: 1px solid #396d83; |
| | | width: 100%; |
| | | height: 100%; |
| | | video { |
| | |
| | | <div class="border_corner border_corner_left_bottom"></div> |
| | | <div class="border_corner border_corner_right_bottom"></div> |
| | | <div class="main"> |
| | | <el-col class="main-video"> |
| | | <div class="main-video"> |
| | | <el-table |
| | | border |
| | | tooltip-effect="dark" |
| | | :data="data" |
| | | > |
| | |
| | | <el-table-column prop="name" label="储存量"></el-table-column> |
| | | <el-table-column prop="date" label="产生装置"></el-table-column> |
| | | </el-table> |
| | | </el-col> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | data: [{ |
| | | date: '2016-05-03', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙518区金沙江路' |
| | | address: '上海市普陀区' |
| | | }, { |
| | | date: '2016-05-02', |
| | | name: '王小虎', |
| | | address: '上海市普陀区金沙江区金沙' |
| | | address: '上海市普陀区' |
| | | }] |
| | | } |
| | | }, |
| | |
| | | .main { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | //padding: 10px 6px; |
| | | //border: 1px solid #396d83; |
| | | .main-video { |
| | | //border: 1px solid #396d83; |
| | | width: 100%; |
| | |
| | | import PublicTable from '@components/BaseNav/PublicBounced/GasComponents/PublicTable' |
| | | import GasECharts from '@components/BaseNav/PublicBounced/GasComponents/GasECharts' |
| | | import GasVideo from '@components/BaseNav/PublicBounced/GasComponents/GasVideo' |
| | | // import GasTabs from './GasComponents/GasTabs' |
| | | |
| | | export default { |
| | | name: 'PublicBounced', |
| | |
| | | .public-bounced-content { |
| | | margin: 15px auto; |
| | | display: flex; |
| | | //align-items: center; |
| | | justify-content: space-around; |
| | | padding: 10px; |
| | | |
| | |
| | | |
| | | .public-bounced-content-right { |
| | | flex: 2; |
| | | //width: 48%; |
| | | height: 100%; |
| | | } |
| | | } |
| | |
| | | console.log(res) |
| | | const data = res.Result.DataInfo || {} |
| | | for (let i = 0; i < data.length; i++) { |
| | | console.log(data[i]) |
| | | // 经纬度 位置 |
| | | const positionX = data[i].Latitude |
| | | const positionY = data[i].Longitude |
| | |
| | | return '企业' |
| | | } |
| | | |
| | | this.clickListener = (layer) => { |
| | | /* this.animalService.pulseEffect(e.latlng) |
| | | this.clickListener = (e) => { |
| | | this.animalService.pulseEffect(e.latlng) |
| | | console.log(e) |
| | | return this.PublicBounced.$el |
| | | */ |
| | | console.log(layer) |
| | | } |
| | | |
| | | // 固废点击进行的 内容的设置 |
| | | // SetSolidWasteContent (config, containerPopup) { |
| | | // this.SolidWastePopup = containerPopup |
| | | // } |
| | | } |
| | |
| | | const ImagBright = '/assets/images/map/exhaust/fq_bright_green.png' |
| | | |
| | | const mapApi = require('../../../api/mapApi').default |
| | | const publicBounced = require('../../BaseNav/PublicBounced/PublicBounced').default |
| | | module.exports = function () { |
| | | /** |
| | | * 返回marker对象数组 |
| | |
| | | |
| | | this.bindTooltip = (layer) => { |
| | | console.log(layer) |
| | | return '测试废气' |
| | | return '废气点' |
| | | } |
| | | |
| | | this.clickListener = (e) => { |
| | | console.log(e) |
| | | this.clickListener = async (e) => { |
| | | // console.log(e) |
| | | this.animalService.pulseEffect(e.latlng) |
| | | const dataValue = { |
| | | StoragePlaceId: e.layer.options.test.StoragePlaceId |
| | | } |
| | | const result = await mapApi.GetWasteGas(dataValue) |
| | | const PublicBounced = window.Vue.extend(publicBounced) |
| | | const instance = new PublicBounced() |
| | | instance.setData(result) |
| | | instance.$mount() |
| | | document.body.appendChild(instance.$el) |
| | | } |
| | | // 不同类型图片封装 |
| | | // 不同类型图片加载 |
| | | this.differentTypes = (ContrLevel) => { |
| | | var effectOfChange |
| | | if (ContrLevel === 1) { |
| | |
| | | wasteGasJcd: 'WasteGas.js', |
| | | wasteWaterJcd: 'WasteWater.js', |
| | | solidWasteJcd: 'SolidWaste.js', |
| | | fsqy: 'Company.js' |
| | | sewersAreaGs: 'Company.js' |
| | | } |
| | | |
| | | export const props = { |
| | |
| | | name: '公司', |
| | | sname: '公司', // 表名 |
| | | checked: true, // 默认选中状态 |
| | | wfs: WFS_URL + '?TYPENAME=公司', |
| | | url: WFS_URL + '?TYPENAME=公司', |
| | | minZoom: 10, // 在指定级别显示 |
| | | childLayer: 'fsss,hbss' // 关联PointLayers |
| | | }, |