Browse Source

异常管理修改

duy 1 year ago
parent
commit
314e717874
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/views/anomaly/index.vue

+ 6 - 1
src/views/anomaly/index.vue

@@ -112,10 +112,15 @@ const tableData = ref([
 const tableCellStyle = ({ row, column, rowIndex, columnIndex }) => {
     if (column.property === 'key5' && row.key5 === '二级异常') {
         return {
-            backgroundColor: '#FFBE00',
+            backgroundColor: '#FF9102',
             color: 'white',
         }
     } else if (column.property === 'key5' && row.key5 === '三级异常') {
+        return {
+            backgroundColor: '#06B2F6',
+            color: 'white',
+        }
+    } else if (column.property === 'key5' && row.key5 === '一级异常') {
         return {
             backgroundColor: '#FF0001',
             color: 'white',