| | |
| | | @toggleChange="toggleChange" |
| | | @leaf-click="leafClick" |
| | | ></home-list> |
| | | <content-box |
| | | style="margin-left: 4px; margin-right: 4px;" |
| | | :title="battFullName" |
| | | > |
| | | <content-box style="margin-left: 4px; margin-right: 4px;" :title="battFullName" > |
| | | <div slot="box-tools" class="box-tools"> |
| | | <el-tooltip |
| | | class="item" |
| | |
| | | ></i> |
| | | </el-tooltip> |
| | | </div> |
| | | <div style="right: 72px;" slot="box-tools" class="box-tools"> |
| | | <el-tooltip |
| | | class="item" |
| | | effect="dark" |
| | | content="通讯状态" |
| | | placement="bottom"> |
| | | <hdw-light :type="isLink"></hdw-light> |
| | | </el-tooltip> |
| | | |
| | | </div> |
| | | <div |
| | | slot="box-tools" |
| | | class="box-tools" |
| | | style="right: 72px;" |
| | | style="right: 110px;" |
| | | v-if="esVideoSn" |
| | | > |
| | | <el-tooltip |
| | |
| | | let batt = this.batt; |
| | | realTimeLd9Data({ |
| | | dev_id: batt.FBSDeviceId, |
| | | |
| | | }).then(res=>{ |
| | | let rs = JSON.parse(res.data.result); |
| | | if(rs.code == 1) { |
| | |
| | | //return !isFalseLoad; |
| | | return true; |
| | | }, |
| | | // 设备连接状态1为未连接 0正常 |
| | | isLink() { |
| | | return this.diagram.type == -1?1:0; |
| | | }, |
| | | }, |
| | | created() { |
| | | this.skinActive = localStorage.getItem("activeSkin"); |