|
@@ -206,10 +206,21 @@
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="item.prop != 'status'&&item.prop != 'lighteness'">{{scope.row[item.prop]}}{{item.unit?item.unit:''}}</span>
|
|
|
|
|
|
- <div v-if="item.prop == 'status'" class="status">
|
|
|
- <img src="../img/projectManagement/Online.png" v-if="scope.row[item.prop] == '1'">
|
|
|
- <img src="../img/projectManagement/Offline.png" v-if="scope.row[item.prop] == '0'" >
|
|
|
+ <div v-if="item.prop == 'status'&&scope.row[item.prop] == '0'" class="status">
|
|
|
+ <!-- <img src="../img/projectManagement/Online.png" v-if="scope.row[item.prop] == '1'"> -->
|
|
|
+ <img src="../img/projectManagement/Offline.png">
|
|
|
</div>
|
|
|
+ <el-popover
|
|
|
+ v-if="item.prop == 'status' && scope.row.status=='1'"
|
|
|
+ placement="right"
|
|
|
+ trigger="hover">
|
|
|
+ <div>
|
|
|
+ <p>RSSI: {{scope.row.rssi}} dBm</p>
|
|
|
+ </div>
|
|
|
+ <div class="status" slot="reference">
|
|
|
+ <img src="../img/projectManagement/Online.png">
|
|
|
+ </div>
|
|
|
+ </el-popover>
|
|
|
<div v-if="item.prop == 'lighteness'" class="Brightness">
|
|
|
<div class="progress_outer" @click="brightnessAdjustment($event,scope.row)">
|
|
|
<div class="progress_inner" :style="{'width':scope.row['lighteness']+'%'}">
|