From cc890f987b770e5a73f5ef12d41b25f6bb448fcd Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 23 十一月 2023 16:37:45 +0800 Subject: [PATCH] 1.增加了风险模型跳转逻辑 2.修改了风险模型页面部分逻辑 --- src/views/risk_assessment/DataIndexRank.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/risk_assessment/DataIndexRank.vue b/src/views/risk_assessment/DataIndexRank.vue index ab31486..04e205d 100644 --- a/src/views/risk_assessment/DataIndexRank.vue +++ b/src/views/risk_assessment/DataIndexRank.vue @@ -95,14 +95,15 @@ } } - // 鍦ㄧ嚎鐜囷紝鏈夋晥鐜� 涓嶆弧瓒虫爣鍑嗘椂 鍙橀鑹� if (columnIndex == 7) { - if (!this.cmpp(row.dayOnline, '90%')) { + if (row.dayOnline < 0.9) { return 'red-color' } } + + if (columnIndex == 8) { - if (!this.cmpp(row.dayValid, '90%')) { + if (row.dayValid < 0.9) { return 'red-color' } } @@ -171,9 +172,10 @@ }) }, openDetail(row) { - const encodedSiteName = encodeURIComponent(row.siteName) - let titleName = '绔欑偣椋庨櫓鏁版嵁璇︽儏' - this.$router.push(`/detail/${encodedSiteName}/${this.form.month}/${titleName}`) + const encodedSiteName = encodeURIComponent(row.name) + const timeType = '0' + const jumpPage = '2' + this.$router.push(`/exceptionDetail/${encodedSiteName}/${row.lst}/${timeType}/${jumpPage}`) } } } -- Gitblit v1.9.3