|
@@ -71,9 +71,9 @@
|
|
|
<el-tab-pane label="辐射图" name="second">
|
|
|
<div style="float:left;width: 95%;height: 550px" id="fscharts"></div>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="风速曲线图" name="three">
|
|
|
- <div style="float:left;width: 95%;height: 550px" id="wscharts"></div>
|
|
|
- </el-tab-pane>
|
|
|
+<!-- <el-tab-pane label="风速风向图" name="three">-->
|
|
|
+<!-- <div style="float:left;width: 95%;height: 550px" id="wscharts"></div>-->
|
|
|
+<!-- </el-tab-pane>-->
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -111,11 +111,11 @@ export default {
|
|
|
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
- if (!this.wsChart) {
|
|
|
- return
|
|
|
- }
|
|
|
- this.wsChart.dispose()
|
|
|
- this.wsChart = null
|
|
|
+ // if (!this.wsChart) {
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // this.wsChart.dispose()
|
|
|
+ // this.wsChart = null
|
|
|
if (!this.fsChart) {
|
|
|
return
|
|
|
}
|
|
@@ -130,11 +130,11 @@ export default {
|
|
|
this.fsChart.resize();
|
|
|
})
|
|
|
}
|
|
|
- if (this.activeName == 'three') {
|
|
|
- this.$nextTick(function () {
|
|
|
- this.wsChart.resize();
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (this.activeName == 'three') {
|
|
|
+ // this.$nextTick(function () {
|
|
|
+ // this.wsChart.resize();
|
|
|
+ // })
|
|
|
+ // }
|
|
|
},
|
|
|
nameFormat({cellValue, row, column}) {
|
|
|
const item = this.nameList.find(item => item.value === cellValue)
|