Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
Conflicts:
src/views/MapTemplate.vue
| | |
| | | <i class="el-icon-circle-close" @click="closePopup"></i> |
| | | </div> |
| | | <div class="public-bounced-content"> |
| | | <span>内容</span> |
| | | <!-- <span>内容</span>--> |
| | | <popup-gas></popup-gas> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import PopupGas from '@components/flueGas/popup-gas' |
| | | export default { |
| | | name: 'PublicBounced', |
| | | data () { |
| | |
| | | flag: false |
| | | } |
| | | }, |
| | | components: { |
| | | PopupGas |
| | | }, |
| | | methods: { |
| | | setData (data) { |
| | | this.displayContent = data |
| | |
| | | // 点击 事件 |
| | | marker.on('click', (e) => { |
| | | try { |
| | | // console.log(e) |
| | | console.log(e) |
| | | this.EffectOfPulse(e.target.getLatLng()) |
| | | this.SolidWastePopup.setData(data[i]) |
| | | return this.SolidWastePopup.$el |
| | |
| | | .el-row { |
| | | color: #00d0f9; |
| | | .el-col{ |
| | | width: 240px; |
| | | width: 200px; |
| | | height: 28px; |
| | | background-color: #243a55; |
| | | border-radius: 0.05rem; |
| | | margin: 5px; |
| | | //margin: 5px; |
| | | text-align: center; |
| | | line-height: 28px; |
| | | } |
| | |
| | | // // 线 |
| | | // var polyline = this.L.polyline(latlngs, { color: 'red' }).addTo(this.map) |
| | | // console.log(polyline) |
| | | marker.bindPopup(() => { |
| | | return this.FlueGasPopup.$el |
| | | }, { |
| | | className: 's-map-popup', |
| | | minWidth: 1548, |
| | | closeButton: true, |
| | | autoClose: false |
| | | }) |
| | | // marker.bindPopup(() => { |
| | | // return this.FlueGasPopup.$el |
| | | // }, { |
| | | // className: 's-map-popup', |
| | | // minWidth: 1548, |
| | | // closeButton: true, |
| | | // autoClose: false |
| | | // }) |
| | | // 划过出现 展示数据 |
| | | marker.bindTooltip(data[i].porltName, { |
| | | permanent: true, |
| | |
| | | // 点击 事件 |
| | | marker.on('click', (e) => { |
| | | try { |
| | | // console.log(e) |
| | | console.log(e) |
| | | this.EffectOfPulse(e.target.getLatLng()) |
| | | this.FlueGasPopup.setDate(data[i]) |
| | | this.FlueGasPopup.setData(data[i]) |
| | | return this.FlueGasPopup.$el |
| | | } catch (error) { |
| | | console.log(error) |
| | | } |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | setDate (data) { |
| | | console.log(data) |
| | | this.displayContent = data |
| | | } |
| | | // setDate (data) { |
| | | // console.log(data) |
| | | // this.displayContent = data |
| | | // } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | @import "../common/variable"; |
| | | //@import "../common/variable"; |
| | | |
| | | /* 主题色 |
| | | -------------------------- */ |
| | |
| | | <PublicBounced ref="PublicBounced"></PublicBounced> |
| | | <!-- <SolidContent ref="SolidWastePopup"></SolidContent>--> |
| | | <el-button type="primary" @click="AddGasHelper" class="flue-gas">废气</el-button> |
| | | <popup-gas ref="FlueGas"></popup-gas> |
| | | <PublicBounced ref="PublicBounced"></PublicBounced> |
| | | </div> |
| | | </template> |
| | |
| | | // import SolidContent from '@components/SolidWaste/SolidContent' |
| | | // 废气 |
| | | import AddGasHelper from '@components/flueGas/flueGas' |
| | | import PopupGas from '@/components/flueGas/popup-gas' |
| | | // import PopupGas from '@/components/flueGas/popup-gas' |
| | | // // 公共展示数据 |
| | | import PublicBounced from '@components/BaseNav/PublicBounced/PublicBounced' |
| | | export default { |
| | |
| | | SolidContent, |
| | | // WasteWaterContent, |
| | | // SolidContent, |
| | | PopupGas, |
| | | // PopupGas, |
| | | PublicBounced |
| | | }, |
| | | data () { |
| | | return { |
| | | show: true, |
| | | // isShowBtn: false, |
| | | map: null, |
| | | lcServiceLayerVisible: false, |
| | |
| | | |
| | | // this.ChangeState() |
| | | // this.AddGasHelper() |
| | | // this.ChangeState() |
| | | // this.ChangeWaterState() |
| | | |
| | | this.saveMapStatus() |