地图右侧新增气象监测地图模块按钮

pet_li_6.6
limingyu 2024-04-29 14:17:08 +08:00
parent c1125a06c7
commit cf952e0ee3
3 changed files with 69 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="bi-different-dialog"> <div class="bi-different-dialog">
<el-dialog id="eldig" :visible="visible" :before-close="closeDialog" :title="title" :close-on-click-modal="false" :width="width"> <el-dialog id="eldig" :visible="visible" :before-close="closeDialog" :title="title" :close-on-click-modal="false" :width="width" top="50px">
<!-- 动火 --> <!-- 动火 -->
<!--消防模块对接--> <!--消防模块对接-->
<weatherstation v-if="type === '293187ddfd984c9ab3fd716aef58da0e'" :id="id" :type="type" :gangkou="gangkou"/> <weatherstation v-if="type === '293187ddfd984c9ab3fd716aef58da0e'" :id="id" :type="type" :gangkou="gangkou"/>
@ -59,6 +59,9 @@
<outSourceInfo v-if="type === 'PROJECT'" :id="id" :type="type" /> <outSourceInfo v-if="type === 'PROJECT'" :id="id" :type="type" />
<outSourceVideoInfo v-if="type === 'VIDEO'" :id="id" :type="type" /> <outSourceVideoInfo v-if="type === 'VIDEO'" :id="id" :type="type" />
<!-- 重点工程 end --> <!-- 重点工程 end -->
<!-- 气象监测-右边栏 start-->
<meteorological-monitoring v-if="type === 'METEOROLOGICAL'" :id="id" :type="type" :gangkou="gangkou"/>
<!-- 气象监测-右边栏 end-->
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
@ -106,6 +109,8 @@ import peoplePositionYGS from './peoplePositionYGS.vue'
import outSourceInfo from './outSourceInfo.vue' import outSourceInfo from './outSourceInfo.vue'
import outSourceVideoInfo from './outSourceVideoInfo.vue' import outSourceVideoInfo from './outSourceVideoInfo.vue'
import AlarmDevice from './alarmDevice' import AlarmDevice from './alarmDevice'
import meteorologicalMonitoring from './meteorologicalMonitoring.vue'
export default { export default {
components: { components: {
@ -150,7 +155,8 @@ export default {
peoplePositionYGS, peoplePositionYGS,
outSourceInfo, outSourceInfo,
outSourceVideoInfo, outSourceVideoInfo,
MkGateMachineCmt MkGateMachineCmt,
meteorologicalMonitoring
}, },
props: { props: {
title: { title: {
@ -230,7 +236,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #fff; color: #fff;
overflow-y: auto; overflow-y: auto;
max-height: 60vh; max-height: 85vh;
// //
&::-webkit-scrollbar { &::-webkit-scrollbar {

View File

@ -0,0 +1,46 @@
<template>
<div class="app-container print-work">
<iframe
:src="'http://192.168.42.57:8080/QinHuangDao'"
style="width: 100%;height: 80vh;"/>
</div>
</template>
<script>
export default {
props: {
id: {
type: String,
default() {
return ''
}
},
type: {
type: String,
default() {
return ''
}
}
},
data() {
return {}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
#main4{
width: 340px;
height: 380px;
}
#main5{
width: 340px;
height: 380px;
}
#main6{
width: 340px;
height: 380px;
}
</style>

View File

@ -429,6 +429,12 @@ export default {
checkImg: require('../../assets/map/index/map_on.png'), checkImg: require('../../assets/map/index/map_on.png'),
check: false, check: false,
label: '纯净地图' label: '纯净地图'
},
{
img: require('../../assets/map/index/map.png'),
checkImg: require('../../assets/map/index/map_on.png'),
check: '',
label: '气象监测'
} }
], ],
myEntityCollection: {}, myEntityCollection: {},
@ -1894,6 +1900,14 @@ export default {
this.componentKey = Math.random() this.componentKey = Math.random()
this.bottomOptionsKey = Math.random() this.bottomOptionsKey = Math.random()
this.bottomOptionsAnimationComplex = false this.bottomOptionsAnimationComplex = false
} else if (index === 6) {
this.dialog.visible = true
this.dialog.title = '气象监测'
this.dialog.type = 'METEOROLOGICAL'
this.dialog.id = 'METEOROLOGICAL'
this.dialog.corpInfoId = ''
this.dialog.infoname = ''
this.dialog.width = '96%'
} }
}, },
changeSceneMode(check) { changeSceneMode(check) {