|
@@ -20,7 +20,7 @@
|
|
|
<div class="basic-title">风速监测曲线</div>
|
|
<div class="basic-title">风速监测曲线</div>
|
|
|
<div class="echart-box">
|
|
<div class="echart-box">
|
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :deviceId="deviceID" :deviceType="deviceType" :Type="'windSpeed'" :addData="windsValue" :legendName="'风速'"
|
|
|
|
|
|
|
+ :deviceId="deviceID" :deviceType="deviceType" :Type="'windSpeed'" :legendName="'风速'"
|
|
|
:echartColor="'#ff0000'"></faultEchartLine>
|
|
:echartColor="'#ff0000'"></faultEchartLine>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -28,7 +28,7 @@
|
|
|
<div class="basic-title">风量监测曲线</div>
|
|
<div class="basic-title">风量监测曲线</div>
|
|
|
<div class="echart-box">
|
|
<div class="echart-box">
|
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :deviceId="deviceID" :deviceType="deviceType" :Type="'wind'" :addData="windValue" :legendName="'风量'"
|
|
|
|
|
|
|
+ :deviceId="deviceID" :deviceType="deviceType" :Type="'wind'" :legendName="'风量'"
|
|
|
:echartColor="'#2ec1dd'"></faultEchartLine>
|
|
:echartColor="'#2ec1dd'"></faultEchartLine>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -36,7 +36,7 @@
|
|
|
<div class="basic-title">电流监测曲线</div>
|
|
<div class="basic-title">电流监测曲线</div>
|
|
|
<div class="echart-box">
|
|
<div class="echart-box">
|
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :deviceId="deviceID" :deviceType="deviceType" :Type="'Dl'" :addData="dlValue" :legendName="'电流'"
|
|
|
|
|
|
|
+ :deviceId="deviceID" :deviceType="deviceType" :Type="'Dl'" :legendName="'电流'"
|
|
|
:echartColor="'#fbc21c'">
|
|
:echartColor="'#fbc21c'">
|
|
|
</faultEchartLine>
|
|
</faultEchartLine>
|
|
|
</div>
|
|
</div>
|
|
@@ -45,7 +45,7 @@
|
|
|
<div class="basic-title">电压监测曲线</div>
|
|
<div class="basic-title">电压监测曲线</div>
|
|
|
<div class="echart-box">
|
|
<div class="echart-box">
|
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :deviceId="deviceID" :deviceType="deviceType" :Type="'Dy'" :addData="dyValue" :legendName="'电压'"
|
|
|
|
|
|
|
+ :deviceId="deviceID" :deviceType="deviceType" :Type="'Dy'" :legendName="'电压'"
|
|
|
:echartColor="'#259745'">
|
|
:echartColor="'#259745'">
|
|
|
</faultEchartLine>
|
|
</faultEchartLine>
|
|
|
</div>
|
|
</div>
|
|
@@ -54,7 +54,7 @@
|
|
|
<div class="basic-title">瓦斯浓度监测曲线</div>
|
|
<div class="basic-title">瓦斯浓度监测曲线</div>
|
|
|
<div class="echart-box">
|
|
<div class="echart-box">
|
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :deviceId="deviceID" :deviceType="deviceType" :Type="'wsnd'" :addData="wsndValue" :legendName="'瓦斯浓度'"
|
|
|
|
|
|
|
+ :deviceId="deviceID" :deviceType="deviceType" :Type="'wsnd'" :legendName="'瓦斯浓度'"
|
|
|
:echartColor="'#0fcb74'">
|
|
:echartColor="'#0fcb74'">
|
|
|
</faultEchartLine>
|
|
</faultEchartLine>
|
|
|
</div>
|
|
</div>
|
|
@@ -63,7 +63,7 @@
|
|
|
<div class="basic-title">振动监测曲线</div>
|
|
<div class="basic-title">振动监测曲线</div>
|
|
|
<div class="echart-box">
|
|
<div class="echart-box">
|
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
<faultEchartLine :selectData="selectData" :warningMonitorRowIndex="warningMonitorRowIndex"
|
|
|
- :deviceId="deviceID" :deviceType="deviceType" :Type="'Zd'" :addData="zdValue" :legendName="'振动'"
|
|
|
|
|
|
|
+ :deviceId="deviceID" :deviceType="deviceType" :Type="'Zd'" :legendName="'振动'"
|
|
|
:echartColor="'#00a9ff'">
|
|
:echartColor="'#00a9ff'">
|
|
|
</faultEchartLine>
|
|
</faultEchartLine>
|
|
|
</div>
|
|
</div>
|
|
@@ -106,47 +106,47 @@ let faultList = ref<any[]>([])//异常信息列表
|
|
|
let normalNum = ref(0)//正常测点数量
|
|
let normalNum = ref(0)//正常测点数量
|
|
|
let abnormalNum = ref(0)//
|
|
let abnormalNum = ref(0)//
|
|
|
|
|
|
|
|
-let windsValue = computed(() => {
|
|
|
|
|
- return {
|
|
|
|
|
- y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1WindSpeed'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2WindSpeed'] : '',
|
|
|
|
|
- x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
- }
|
|
|
|
|
-}) //实时风速
|
|
|
|
|
-let windValue = computed(() => {
|
|
|
|
|
- return {
|
|
|
|
|
- y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Wind'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Wind'] : '',
|
|
|
|
|
- x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// let windsValue = computed(() => {
|
|
|
|
|
+// return {
|
|
|
|
|
+// y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1WindSpeed'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2WindSpeed'] : '',
|
|
|
|
|
+// x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
+// }
|
|
|
|
|
+// }) //实时风速
|
|
|
|
|
+// let windValue = computed(() => {
|
|
|
|
|
+// return {
|
|
|
|
|
+// y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Wind'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Wind'] : '',
|
|
|
|
|
+// x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
-}) //实时风量
|
|
|
|
|
-let dlValue = computed(() => {
|
|
|
|
|
- return {
|
|
|
|
|
- y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Dl'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Dl'] : '',
|
|
|
|
|
- x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// }) //实时风量
|
|
|
|
|
+// let dlValue = computed(() => {
|
|
|
|
|
+// return {
|
|
|
|
|
+// y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Dl'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Dl'] : '',
|
|
|
|
|
+// x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
-}) //实时电流
|
|
|
|
|
-let dyValue = computed(() => {
|
|
|
|
|
- return {
|
|
|
|
|
- y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Dy'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Dy'] : '',
|
|
|
|
|
- x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// }) //实时电流
|
|
|
|
|
+// let dyValue = computed(() => {
|
|
|
|
|
+// return {
|
|
|
|
|
+// y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Dy'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Dy'] : '',
|
|
|
|
|
+// x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
-}) //实时电压
|
|
|
|
|
-let wsndValue = computed(() => {
|
|
|
|
|
- return {
|
|
|
|
|
- y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Wsnd'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Wsnd'] : '',
|
|
|
|
|
- x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// }) //实时电压
|
|
|
|
|
+// let wsndValue = computed(() => {
|
|
|
|
|
+// return {
|
|
|
|
|
+// y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Wsnd'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Wsnd'] : '',
|
|
|
|
|
+// x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
-}) //实时瓦斯浓度
|
|
|
|
|
-let zdValue = computed(() => {
|
|
|
|
|
- return {
|
|
|
|
|
- y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Zd'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Zd'] : '',
|
|
|
|
|
- x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// }) //实时瓦斯浓度
|
|
|
|
|
+// let zdValue = computed(() => {
|
|
|
|
|
+// return {
|
|
|
|
|
+// y: props.warningMonitorRowIndex == 0 ? props.selectData['Fan1Zd'] : props.warningMonitorRowIndex == 1 ? props.selectData['Fan2Zd'] : '',
|
|
|
|
|
+// x: props.selectData['tTime'].substring(props.selectData['tTime'].lastIndexOf(' '))
|
|
|
|
|
+// }
|
|
|
|
|
|
|
|
-}) //实时振动
|
|
|
|
|
|
|
+// }) //实时振动
|
|
|
|
|
|
|
|
let $emit = defineEmits(['handlerClose'])
|
|
let $emit = defineEmits(['handlerClose'])
|
|
|
|
|
|