ly hace 3 años
padre
commit
88be8d6d29
Se han modificado 2 ficheros con 2 adiciones y 121 borrados
  1. 2 3
      ui/src/views/monitor/elec/centerRight2.vue
  2. 0 118
      ui/src/views/sems/specYlgd/index.vue

+ 2 - 3
ui/src/views/monitor/elec/centerRight2.vue

@@ -18,7 +18,7 @@
 
       </div>
       <div class="d-flex jc-center body-box" style=" margin-top: 0;height: 60px">
-        <div class="fontElec"><p class="title-p">用电量</p><p class="title-p2">{{dashboardelecdata.eveLec}}</p>p</div>
+        <div class="fontElec"><p class="title-p">用电量</p><p class="title-p2">{{dashboardelecdata.eveLec}}</p></div>
 
       </div>
     </div>
@@ -137,8 +137,7 @@
     float: left;
   }
   .title-p2{
-    margin-left: 0.3rem;
-    width:100px;
+
     color: #cfe5ea;
     font:30px/15px 'ds-digitalbold';
     float: left;

+ 0 - 118
ui/src/views/sems/specYlgd/index.vue

@@ -1187,124 +1187,6 @@ export default {
     },
     //位号颜色变换
     tableCellStyle({ row, column, rowIndex, columnIndex }) {
-      if(columnIndex == 1 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 2 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 3 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 4 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 5 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 6 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 7 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 9 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 10 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 11 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 12 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 13 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 14 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 15 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 16 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 17 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 18 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 19 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 20 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 21 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 22 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 23 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 24 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 25 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 26 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 27 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 28 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 29 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 30 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 31 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 32 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 33 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 34 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 35 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 36 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 37 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 38 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 39 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-      if(columnIndex == 40 && row.isRepeat == 1){
-        return "background-color:rgba(255, 68,68, 0.5);"
-      }
-
       if (columnIndex == 8 && row.isRepeat == 1){
         return "color:rgba(255, 26, 26, 0.98);background-color:rgba(255, 68,68, 0.5);"
       }