代码合并

This commit is contained in:
BianLzhaoMin 2024-08-06 14:28:51 +08:00
parent 4d1f452043
commit 9cecab50bd
2 changed files with 24 additions and 8 deletions

View File

@ -203,6 +203,13 @@
color: #FFF; color: #FFF;
opacity: 0.5; opacity: 0.5;
} }
/** 去除百度地图的水印和logo */
.BMap_cpyCtrl,
.anchorBL {
display: none;
}
</style> </style>
</head> </head>

View File

@ -532,7 +532,12 @@
<!-- <el-button type="primary" @click="downloadCode"> </el-button> --> <!-- <el-button type="primary" @click="downloadCode"> </el-button> -->
</div> </div>
</el-dialog> </el-dialog>
<MapDialog ref="mapDialog" @getList="getList" /> <MapDialog
v-if="mapDialogVisible"
:deviceName="deviceName"
:deviceType="deviceType"
@handelCloseDialog="handelCloseDialog"
/>
</div> </div>
<div v-else> <div v-else>
<BindIOT :props="props" /> <BindIOT :props="props" />
@ -637,6 +642,9 @@ export default {
}, },
], ],
}, },
mapDialogVisible: false,
deviceName: '',
deviceType: '',
} }
}, },
created() { created() {
@ -833,13 +841,14 @@ export default {
}, },
// //
handleMap(row) { handleMap(row) {
console.log('~ handleMap ~ 地图', row) this.deviceName = row.specificationType
const params = { this.deviceType = row.maStatusName
deviceType: row.deviceType, this.mapDialogVisible = true
} },
//
this.$refs.mapDialog.openMapDialog(true) /** 关闭地图弹框 */
this.$refs.mapDialog.getEquipmentInfo(params) handelCloseDialog() {
this.mapDialogVisible = false
}, },
}, },
} }