Jelajahi Sumber

裂解巡检 - 测温/测压趋势图切换tab不显示问题

wangggziwen 2 minggu lalu
induk
melakukan
b55e98dee9

+ 2 - 3
ui/src/views/production/pressure/coil.vue

@@ -122,7 +122,7 @@
           <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleCoilAnalysis(null, null)">搜索</el-button>
         </el-form-item>
       </el-form>
-      <div id="trendChart" style="width:100%; height: 600px;"></div>
+      <div id="trendChartPressure" style="width:100%; height: 600px;"></div>
     </el-dialog>
   </div>
 </template>
@@ -273,7 +273,6 @@
       draw() {
         this.valueList = [];
         this.dateList = [];
-        console.log(this.analysisQueryParams.passNo)
         listCoilAnalysis(this.analysisQueryParams).then(response => {
           let data = response.data;
           this.maxValue = 0;
@@ -290,7 +289,7 @@
               }
             }
           }
-          this.chart = this.echarts.init(document.getElementById("trendChart"));
+          this.chart = this.echarts.init(document.getElementById("trendChartPressure"));
           let option = {
             tooltip: {
               trigger: "item"

+ 2 - 2
ui/src/views/production/temperature/coil.vue

@@ -133,7 +133,7 @@
           <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleCoilAnalysis(null, null)">搜索</el-button>
         </el-form-item>
       </el-form>
-      <div id="trendChart" style="width:100%; height: 600px;"></div>
+      <div id="trendChartTemperature" style="width:100%; height: 600px;"></div>
     </el-dialog>
   </div>
 </template>
@@ -300,7 +300,7 @@
               }
             }
           }
-          this.chart = this.echarts.init(document.getElementById("trendChart"));
+          this.chart = this.echarts.init(document.getElementById("trendChartTemperature"));
           let option = {
             tooltip: {
               trigger: "item"