地图右边栏新增气象监测按钮页面

20240528Test
limingyu 2024-04-29 11:44:47 +08:00
parent a264207157
commit de3482be03
3 changed files with 68 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"/>
@ -54,6 +54,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>
@ -99,6 +102,7 @@ import hotworkFirst from './hotworkFirst'
import peoplePositionYGS from './peoplePositionYGS.vue' 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 meteorologicalMonitoring from './meteorologicalMonitoring.vue'
export default { export default {
components: { components: {
@ -141,7 +145,8 @@ export default {
hotworkFirst, hotworkFirst,
peoplePositionYGS, peoplePositionYGS,
outSourceInfo, outSourceInfo,
outSourceVideoInfo outSourceVideoInfo,
meteorologicalMonitoring
}, },
props: { props: {
title: { title: {
@ -217,7 +222,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

@ -368,6 +368,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: {},
@ -1604,6 +1610,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) {