瀏覽代碼

异常管理修改

duy 1 年之前
父節點
當前提交
314e717874
共有 1 個文件被更改,包括 6 次插入1 次删除
  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',