|
|
@ -473,10 +473,10 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-pagination>
|
|
|
|
</el-pagination>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-dialog title="温度折线图" :visible.sync="wdFlag">
|
|
|
|
<el-dialog title="温度折线图" :visible.sync="wdFlag" width="70%">
|
|
|
|
<div id="wDechart" class="chartClass"></div>
|
|
|
|
<div id="wDechart" class="chartClass"></div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
<el-dialog title="湿度折线图" :visible.sync="sdFlag">
|
|
|
|
<el-dialog title="湿度折线图" :visible.sync="sdFlag" width="70%">
|
|
|
|
<div id="sDechart" class="chartClass"></div>
|
|
|
|
<div id="sDechart" class="chartClass"></div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -797,7 +797,7 @@ export default {
|
|
|
|
this.wdFlag = false;
|
|
|
|
this.wdFlag = false;
|
|
|
|
this.sdFlag = false;
|
|
|
|
this.sdFlag = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
//获取当天告警分类统计
|
|
|
|
//获取温度
|
|
|
|
getEchart4(wd) {
|
|
|
|
getEchart4(wd) {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$echarts.init(document.getElementById("wDechart"));
|
|
|
|
this.$echarts.init(document.getElementById("wDechart"));
|
|
|
@ -870,7 +870,6 @@ export default {
|
|
|
|
series: [
|
|
|
|
series: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "温度",
|
|
|
|
name: "温度",
|
|
|
|
symbol: "none",
|
|
|
|
|
|
|
|
type: "line",
|
|
|
|
type: "line",
|
|
|
|
data: yData,
|
|
|
|
data: yData,
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -882,6 +881,7 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
//湿度
|
|
|
|
getEchart5(sd) {
|
|
|
|
getEchart5(sd) {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$echarts.init(document.getElementById("sDechart"));
|
|
|
|
this.$echarts.init(document.getElementById("sDechart"));
|
|
|
@ -954,7 +954,6 @@ export default {
|
|
|
|
series: [
|
|
|
|
series: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "湿度",
|
|
|
|
name: "湿度",
|
|
|
|
symbol: "none",
|
|
|
|
|
|
|
|
type: "line",
|
|
|
|
type: "line",
|
|
|
|
data: yData,
|
|
|
|
data: yData,
|
|
|
|
},
|
|
|
|
},
|
|
|
|