|
|
|
@ -105,10 +105,7 @@ |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td>{{ device.temperature || 0 }}°C</td> |
|
|
|
<td>{{ device.temperature || 0 }}°C</td> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<div class="health-bar"> |
|
|
|
<el-tag :hit="false" :type="device.health == '1'?'success':device.health == '2'?'':device.health == '3'?'danger':device.health == '4'?'warning':'info'"> {{ device.health == '1'?'健康':device.health == '2'?'良好':device.health == '3'?'一般':device.health == '4'?'需维护':'未获取' }} </el-tag> |
|
|
|
<div class="health-fill" :class="getHealthStatus(device.health || 0)"></div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{{ device.health || 0 }}% |
|
|
|
|
|
|
|
</td> |
|
|
|
</td> |
|
|
|
<td>{{ formatDuration(device.contWorkPeriod) }}</td> |
|
|
|
<td>{{ formatDuration(device.contWorkPeriod) }}</td> |
|
|
|
<td>{{ parseTime(device.gatherTime) || '--' }}</td> |
|
|
|
<td>{{ parseTime(device.gatherTime) || '--' }}</td> |
|
|
|
|