|
@@ -2,7 +2,7 @@
|
|
|
* @Author: chenbaoxin chenbaoxin
|
|
|
* @Date: 2024-05-13 16:41:29
|
|
|
* @LastEditors: chenbaoxin chenbaoxin
|
|
|
- * @LastEditTime: 2024-07-08 08:50:24
|
|
|
+ * @LastEditTime: 2024-07-16 17:55:23
|
|
|
* @FilePath: \ocean-engineer\src\views\conditionClassification\index.vue
|
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
-->
|
|
@@ -869,15 +869,15 @@ const healthyStatusText = ref({
|
|
|
});
|
|
|
let flag = false;
|
|
|
const healthyMessage = (data: Object) => {
|
|
|
- // if (data.avg_num == 99) {
|
|
|
- // if (flag) {
|
|
|
- // data.avg_num = 92
|
|
|
- // flag = false
|
|
|
- // } else {
|
|
|
- // data.avg_num = 98
|
|
|
- // flag = true
|
|
|
- // }
|
|
|
- // }
|
|
|
+ if (data.avg_num == 99) {
|
|
|
+ if (flag) {
|
|
|
+ data.avg_num = 92
|
|
|
+ flag = false
|
|
|
+ } else {
|
|
|
+ data.avg_num = 98
|
|
|
+ flag = true
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
// 获取健康数据
|
|
|
// let obj=determineHealthStatus(data.avg_num)
|