diff --git a/src/views/system/dept/deptDetail.vue b/src/views/system/dept/deptDetail.vue index 5827c30..7e7e988 100644 --- a/src/views/system/dept/deptDetail.vue +++ b/src/views/system/dept/deptDetail.vue @@ -90,8 +90,8 @@ - {{ deptInfo.vehicleVo.offlineDevices.length }} + :style="{ color: deptInfo.vehicleVo.allOfflineNum > 0 ? 'red' : 'gray' }"> + {{ deptInfo.vehicleVo.allOfflineNum }} | {{ deptInfo.vehicleVo.allNum }} @@ -100,8 +100,8 @@ - {{ deptInfo.offlineStatusCount.inStashNum }} + :style="{ color: deptInfo.vehicleVo.allOfflineNum-deptInfo.vehicleVo.offlineNum > 0 ? 'red' : 'gray' }"> + {{ deptInfo.vehicleVo.allOfflineNum-deptInfo.vehicleVo.offlineNum }} |