From f7373ab33a33fc1bbd3f1c056a07b13d271065d7 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期五, 24 十一月 2023 08:51:47 +0800 Subject: [PATCH] 1.修改了飞行巡检的异常聚集度和复现率的描述,当具体异常数为0时,不显示该异常描述。 2.修改低中高风险文字 对应的绿黄红颜色 3.调整了跳转到飞行巡检页面时的布局 --- src/views/risk_assessment/DataIndexRank.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/risk_assessment/DataIndexRank.vue b/src/views/risk_assessment/DataIndexRank.vue index 04cbec1..20fc00b 100644 --- a/src/views/risk_assessment/DataIndexRank.vue +++ b/src/views/risk_assessment/DataIndexRank.vue @@ -96,12 +96,12 @@ } } - // 鍦ㄧ嚎鐜囷紝鏈夋晥鐜� 涓嶆弧瓒虫爣鍑嗘椂 鍙橀鑹� if (columnIndex == 7) { if (row.dayOnline < 0.9) { return 'red-color' } } + if (columnIndex == 8) { if (row.dayValid < 0.9) { return 'red-color' @@ -179,7 +179,9 @@ }, openDetail(row) { const encodedSiteName = encodeURIComponent(row.name) - this.$router.push(`/exceptionDetail/${encodedSiteName}/${row.lst}`) + const timeType = '0' + const jumpPage = '2' + this.$router.push(`/exceptionDetail/${encodedSiteName}/${row.lst}/${timeType}/${jumpPage}`) } } } -- Gitblit v1.9.3