| | |
| | | } |
| | | } |
| | | |
| | | // 在线率,有效率 不满足标准时 变颜色 |
| | | 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' |
| | | } |
| | | } |
| | |
| | | }) |
| | | }, |
| | | 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}`) |
| | | } |
| | | } |
| | | } |