Browse Source

暂存,切换分支改bug

shaun-sheep 5 năm trước cách đây
mục cha
commit
72c385794e
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      src/views/model/report/index.vue

+ 4 - 3
src/views/model/report/index.vue

@@ -35,7 +35,8 @@
           <el-table
             ref="multipleTable"
             :data="tableData"
-            stripe height="100%"
+            stripe
+            height="100%"
             :header-cell-style="headerStyle"
             v-loading='loading'
             :row-class-name="tableRowClassName"
@@ -207,7 +208,7 @@
   methods: {
     cellStyle({row, column, rowIndex, columnIndex}) {
       console.log(column.label,'==')
-      if (column.label === '模型楼层'|| column.label === '待删除设备数量' || column.label === '待补充设备数量' || column.label === '有问题的检查项') {
+      if (column.label !== '模型楼层' && column.label !== '待删除设备数量' && column.label !== '待补充设备数量' && column.label !== '有问题的检查项') {
         return {
           // background: '#f9f9f9',
           // color: '#606266',
@@ -506,7 +507,7 @@
 }
 /deep/ .el-table__row.warning-row {
   td {
-    background: #f9f9f9 !important;
+    /*background: #f9f9f9 !important;*/
   }
 }
 </style>