Explorar o código

异常管理修改

duy hai 1 ano
pai
achega
314e717874
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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',