|
|
|
@ -162,6 +162,7 @@ let mapMarker = null
|
|
|
|
|
let flag = true
|
|
|
|
|
export default {
|
|
|
|
|
components: {},
|
|
|
|
|
props:['dialogData'],
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
mapOffset: 0,
|
|
|
|
@ -189,9 +190,9 @@ export default {
|
|
|
|
|
zoom: 11,
|
|
|
|
|
center: [113.4, 23.35],
|
|
|
|
|
});
|
|
|
|
|
if (this.$route.query.id) {
|
|
|
|
|
this.deviceId = this.$route.query.id
|
|
|
|
|
this.deviceModeId = this.$route.query.deviceModeId
|
|
|
|
|
if (this.$route.query.id || this.dialogData.id) {
|
|
|
|
|
this.deviceId = this.$route.query.id || this.dialogData.id
|
|
|
|
|
this.deviceModeId = this.$route.query.deviceModeId || this.dialogData.deviceModeId
|
|
|
|
|
}
|
|
|
|
|
await this.getData()
|
|
|
|
|
},
|
|
|
|
@ -421,20 +422,22 @@ export default {
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.container {
|
|
|
|
|
background-image: url("~@/assets/board/senso/bg.jpg");
|
|
|
|
|
//background-image: url("~@/assets/board/senso/bg.jpg");
|
|
|
|
|
background-image: none;
|
|
|
|
|
background-color: #022449;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: calc(100vh);
|
|
|
|
|
height: calc(80vh);
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.collapse {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 9%;
|
|
|
|
|
top: 4%;
|
|
|
|
|
left: 2%;
|
|
|
|
|
width: 96%;
|
|
|
|
|
height: 87%;
|
|
|
|
|
height: 92%;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
|
|
/deep/ .el-collapse-item__wrap {
|
|
|
|
|