|
|
@ -77,7 +77,7 @@
|
|
|
|
</el-image>
|
|
|
|
</el-image>
|
|
|
|
<el-image
|
|
|
|
<el-image
|
|
|
|
v-else-if="i.devicePic"
|
|
|
|
v-else-if="i.devicePic"
|
|
|
|
:src="i.devicePic"
|
|
|
|
:src=" typeof i.devicePic === 'string'?i.devicePic.replace('http:','') : i.devicePic "
|
|
|
|
style="width: 100%; height: 100%">
|
|
|
|
style="width: 100%; height: 100%">
|
|
|
|
</el-image>
|
|
|
|
</el-image>
|
|
|
|
<el-image
|
|
|
|
<el-image
|
|
|
@ -211,7 +211,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async getDevice(e) {
|
|
|
|
async getDevice(e) {
|
|
|
|
if(this.$store.getters.sceneId){
|
|
|
|
if (this.$store.getters.sceneId) {
|
|
|
|
const {data} = await selectDevicesByMonitorUnitId(e, this.$store.getters.sceneId)
|
|
|
|
const {data} = await selectDevicesByMonitorUnitId(e, this.$store.getters.sceneId)
|
|
|
|
this.deviceId = e
|
|
|
|
this.deviceId = e
|
|
|
|
this.controlList = data.control
|
|
|
|
this.controlList = data.control
|
|
|
|