zhulizhen 5 gadi atpakaļ
vecāks
revīzija
f7b8f521ca

+ 8 - 5
src/views/evaluate/evIndoorTemperature.vue

@@ -76,7 +76,11 @@ export default {
           trigger: "axis",
           axisPointer: {
             type: "shadow"
+          },
+          formatter:function(params){
+            return params[0].name +'<br/> Legend'+params[0].seriesName+'<br/>'+'<i class="icon1"></i> 室内温度:'+params[1].value +'% <br/>'+'<i class="icon2"></i>节能率:'+params[2].value+'%'
           }
+        
         },
         grid: {
           right: "5%",
@@ -148,10 +152,8 @@ export default {
             },
             splitLine: {
               show: false
-            },
-            
+            },     
             position: "left",
-
             axisLabel: {
               formatter: "{value} %"
             }
@@ -237,7 +239,9 @@ export default {
     color: #000000;
     text-align: center;
     margin-top: 20px;
-    .icon1 {
+   
+  }
+   .icon1 {
       display: inline-block;
       width: 12px;
       height: 12px;
@@ -283,6 +287,5 @@ export default {
       margin-right: 3px;
       margin-left: 20px;
     }
-  }
 }
 </style>

+ 0 - 3
src/views/evaluate/evTwoTable.vue

@@ -68,9 +68,6 @@ export default {
   mounted() {
     this.initExpand()
   },
-  updated (){
-    this.initExpand()
-  },
   methods: {
     initExpand() {
       this.dataList.forEach(i => {