|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="title1">监控单元</div>
|
|
|
|
|
<div class="centerImg"></div>
|
|
|
|
|
<BoardTopNav ref="boardTopNav" nowMenu="3" @sceneIdChange="sceneIdChange"></BoardTopNav>
|
|
|
|
|
<div class="title">物联网平台</div>
|
|
|
|
@ -162,6 +163,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
async getDevice(e) {
|
|
|
|
|
const {data} = await selectDevicesByMonitorUnitId(this.$store.getters.sceneId, e)
|
|
|
|
|
console.log(data)
|
|
|
|
|
this.deviceId = e
|
|
|
|
|
this.controlList = data.control
|
|
|
|
|
this.acquisitionList = data.acquisition
|
|
|
|
@ -188,6 +190,14 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.title1{
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 12%;
|
|
|
|
|
left: 73%;
|
|
|
|
|
font-size: 1vw;
|
|
|
|
|
color: #00f8ff;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
}
|
|
|
|
|
.container {
|
|
|
|
|
background-image: url("~@/assets/board/equipment/bg.jpg");
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|