|
@@ -23,7 +23,7 @@
|
|
|
<div class="now-status">{{ fjStatus }}</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <div class="now-status" style="margin-left: 25px">正在运行</div>
|
|
|
+ <div class="now-status" style="margin-left: 25px">断开</div>
|
|
|
</template>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -70,14 +70,17 @@
|
|
|
? '1号风机'
|
|
|
: selectData.readData.Fan2StartStatus && selectData.readData.Fan2StartStatus == '1'
|
|
|
? '2号风机'
|
|
|
- : '--';
|
|
|
+ : '断开';
|
|
|
echartData.xdata = selectData.readData.windQuantity1;
|
|
|
echartData.ydata = selectData.readData.windQuantity2;
|
|
|
- if (echartData.xdata && echartData.ydata) {
|
|
|
- getOption();
|
|
|
- } else {
|
|
|
- isShowGif.value = true;
|
|
|
- }
|
|
|
+ getOption();
|
|
|
+ // if (echartData.xdata && echartData.ydata) {
|
|
|
+ // getOption();
|
|
|
+ // } else {
|
|
|
+ // isShowGif.value = true;
|
|
|
+ // }
|
|
|
+ }else {
|
|
|
+ isShowGif.value = true;
|
|
|
}
|
|
|
}
|
|
|
function getOption() {
|
|
@@ -287,6 +290,7 @@
|
|
|
watch(
|
|
|
() => props.fandata,
|
|
|
(val) => {
|
|
|
+ console.log('000999',val)
|
|
|
fanList = val[0];
|
|
|
fanTypeList.length = 0;
|
|
|
fanList.forEach((el) => {
|