Browse Source

更改首页

chenbaoxin 4 months ago
parent
commit
7877efc240
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/HealthStatusAnalysis/index.vue

+ 2 - 1
src/views/HealthStatusAnalysis/index.vue

@@ -776,7 +776,8 @@ const healthyMessage = (data: Object) => {
   }
   }
 
 
   // 获取健康数据
   // 获取健康数据
-  let obj=determineHealthStatus(data.avg_num)
+  // let obj=determineHealthStatus(data.avg_num)
+  let obj=`${data.sha}(${data.avg_num*100}%)`
   healthyStatusText.value=obj
   healthyStatusText.value=obj
   xAxisData.value.push(moment(data.date).format('HH:mm:ss'));
   xAxisData.value.push(moment(data.date).format('HH:mm:ss'));
   seriesData.value[0].data.push(data.avg_num)
   seriesData.value[0].data.push(data.avg_num)