wj 2 years ago
parent 46de43e9aa
commit 200af8d6dc
  1. 16
      psdc-ui/src/views/analyse/nhfx/index.vue
  2. 20
      psdc-ui/src/views/bigview/index.vue
  3. 1
      psdc-ui/src/views/control/manual/index.vue

@ -21,10 +21,10 @@
<div class="tableBox1"> <div class="tableBox1">
<el-table :data="tbfxDataTable" height="345px"> <el-table :data="tbfxDataTable" height="345px">
<el-table-column label="月份" align="center" prop="month" width="100"/> <el-table-column label="月份" align="center" prop="month" width="100"/>
<el-table-column label="本期" align="center" prop="year"/> <el-table-column label="本期/kWh" align="center" prop="year"/>
<el-table-column label="同期" align="center" prop="toYear"/> <el-table-column label="同期/kWh" align="center" prop="toYear"/>
<el-table-column label="同比(%)" align="center" prop="compute"/> <el-table-column label="同比" align="center" prop="compute"/>
<el-table-column label="累计同比(%)" align="center" prop="addUp"/> <el-table-column label="累计同比" align="center" prop="addUp"/>
</el-table> </el-table>
</div> </div>
</el-tab-pane> </el-tab-pane>
@ -45,8 +45,8 @@
<el-table-column label="用能设备" align="center" prop="deviceName"/> <el-table-column label="用能设备" align="center" prop="deviceName"/>
<el-table-column :label="label1" align="center" :prop="prop1"/> <el-table-column :label="label1" align="center" :prop="prop1"/>
<el-table-column :label="label2" align="center" :prop="prop2"/> <el-table-column :label="label2" align="center" :prop="prop2"/>
<el-table-column label="增加值" align="center" prop="addUp"/> <el-table-column label="增加值/kWh" align="center" prop="addUp"/>
<el-table-column label="环比(%)" align="center" prop="compute"/> <el-table-column label="环比" align="center" prop="compute"/>
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center">
<template v-slot="scope"> <template v-slot="scope">
<el-button type="primary" size="small" :icon="Histogram" @click="handleChart(scope)">图表</el-button> <el-button type="primary" size="small" :icon="Histogram" @click="handleChart(scope)">图表</el-button>
@ -612,8 +612,12 @@ function huanbiChartFun(){
/** 页面销毁时*/ /** 页面销毁时*/
onBeforeUnmount(() => { onBeforeUnmount(() => {
if(tongbiChart){
tongbiChart.dispose(); // tongbiChart.dispose(); //
}
if(huanbiChart){
huanbiChart.dispose(); huanbiChart.dispose();
}
}); });
</script> </script>

@ -257,7 +257,7 @@ function dcglChartFun(){
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
formatter: "{b0}: {c0}℃", // formatter: "{b0} {c0}",
// borderColor: '#00fcff', // borderColor: '#00fcff',
borderWidth: 1 borderWidth: 1
}, },
@ -350,7 +350,7 @@ function xrglChartFun(){
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
formatter: "{b0}: {c0}℃", // formatter: "{b0} {c0}",
// borderColor: '#00fcff', // borderColor: '#00fcff',
borderWidth: 1 borderWidth: 1
}, },
@ -443,7 +443,7 @@ function kqyrbChartFun(){
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
formatter: "{b0}: {c0}℃", // formatter: "{b0} {c0}",
// borderColor: '#00fcff', // borderColor: '#00fcff',
borderWidth: 1 borderWidth: 1
}, },
@ -536,7 +536,7 @@ function frdlChartFun(){
}, },
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
formatter: "{b0}: {c0}℃", // formatter: "{b0} {c0}",
// borderColor: '#00fcff', // borderColor: '#00fcff',
borderWidth: 1 borderWidth: 1
}, },
@ -739,11 +739,21 @@ function dqglChartFun(){
/** 页面销毁时*/ /** 页面销毁时*/
onBeforeUnmount(() => { onBeforeUnmount(() => {
dcglChart.dispose(); // if(dcglChart) {
dcglChart.dispose(); // }
if (xrglChart) {
xrglChart.dispose(); xrglChart.dispose();
}
if (kqyrbChart) {
kqyrbChart.dispose(); kqyrbChart.dispose();
}
if (frdlChart) {
frdlChart.dispose(); frdlChart.dispose();
}
if (dqglChart) {
dqglChart.dispose(); dqglChart.dispose();
}
}
}); });
</script> </script>

@ -195,6 +195,7 @@ function handleDevChangeFun(id,sta){
}) })
} }
}) })
getControlLogListFun()
} }
/** 设置温度*/ /** 设置温度*/

Loading…
Cancel
Save