|
@@ -391,432 +391,12 @@
|
|
<view class="qiun-chart"><canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas></view>
|
|
<view class="qiun-chart"><canvas canvas-id="canvasColumnStack" id="canvasColumnStack" class="chart" @touchstart="touchColumn"></canvas></view>
|
|
</view>
|
|
</view>
|
|
<!-- 风电场卡片 -->
|
|
<!-- 风电场卡片 -->
|
|
-
|
|
|
|
<view class="windStation">
|
|
<view class="windStation">
|
|
<scroll-view scroll-x class="scrollWindStationCard">
|
|
<scroll-view scroll-x class="scrollWindStationCard">
|
|
<view class="windStationCardContainer">
|
|
<view class="windStationCardContainer">
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '崇礼')">
|
|
|
|
- <view class="windStationTitle">崇礼风电场</view>
|
|
|
|
- <view class="powerAndSpeedContainer">
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 预测发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.ycdl}}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 日发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.rfdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.rfdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实风速(m/s):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssfs }} --></span>
|
|
|
|
- <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.ssfs }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实功率(万kw):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ssgl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false"> {{ index_windStation_cardmodule.index_windStation_cardmodule.CL_FDC.ssgl }}
|
|
|
|
- </span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <!-- HQChart图 -->
|
|
|
|
- <!-- <view class="HQChart">
|
|
|
|
- <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
|
|
|
|
- </view> -->
|
|
|
|
- <view class="UChartContainer">
|
|
|
|
- <view class="windStationUChart">
|
|
|
|
- <view class="windStationQiun-charts">
|
|
|
|
- <canvas canvas-id="windStationCanvasLineA" id="windStationCanvasLineA" class="windStationCharts" @touchstart="touchLineB1"></canvas>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartTitle">风速功率曲线图</view>
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="fanStatusContainer">
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">接入 0</span>
|
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.jr }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.dj }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">运行 0</span>
|
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.yx }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">故障 0</span>
|
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.gz }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">维护 0</span>
|
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.wh }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">离线 0</span>
|
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.CL_FDC.lx }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '代县')">
|
|
|
|
- <view class="windStationTitle">代县风电场</view>
|
|
|
|
- <view class="powerAndSpeedContainer">
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 预测发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.ycdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 日发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.rfdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实风速(m/s):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.ssfs }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实功率(万kw):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.DX_FDC.ssgl }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <!-- HQChart图 -->
|
|
|
|
- <!-- <view class="HQChart">
|
|
|
|
- <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
|
|
|
|
- </view> -->
|
|
|
|
- <view class="UChartContainer">
|
|
|
|
- <view class="windStationUChart">
|
|
|
|
- <view class="windStationQiun-charts">
|
|
|
|
- <canvas canvas-id="windStationCanvasLineB" id="windStationCanvasLineB" class="windStationCharts" @touchstart="touchLineB2"></canvas>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartTitle">风速功率曲线图</view>
|
|
|
|
- <!-- <view class="xTime">时间</view> -->
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="fanStatusContainer">
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">接入 0</span>
|
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.jr }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.dj }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">运行 0</span>
|
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.yx }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">故障 0</span>
|
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.gz }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">维护 0</span>
|
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.wh }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">离线 0</span>
|
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.DX_FDC.lx }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view v-for="(item,index) in plusDrawerList" :key="index">
|
|
|
|
+ <WindFarmcard ref="windFarmcard"></WindFarmcard>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '康保')">
|
|
|
|
- <view class="windStationTitle">康保风电场</view>
|
|
|
|
- <view class="powerAndSpeedContainer">
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 预测发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.ycdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 日发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.rfdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实风速(m/s):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.ssfs }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实功率(万kw):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <!-- {{ index_windStation_cardmodule.index_windStation_cardmodule.MHS_FDC.ycdl }} --></span>
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.KB_FDC.ssgl }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <!-- HQChart图 -->
|
|
|
|
- <!-- <view class="HQChart">
|
|
|
|
- <div class="divchart" ref="divchart"><div id="minute" style="width: 250px; height: 100px;" ref="minute"></div></div>
|
|
|
|
- </view> -->
|
|
|
|
- <view class="UChartContainer">
|
|
|
|
- <view class="windStationUChart">
|
|
|
|
- <view class="windStationQiun-charts">
|
|
|
|
- <canvas canvas-id="windStationCanvasLineC" id="windStationCanvasLineC" class="windStationCharts" @touchstart="touchLineB3"></canvas>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartTitle">风速功率曲线图</view>
|
|
|
|
- <!-- <view class="xTime">时间</view> -->
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="fanStatusContainer">
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">接入 0</span>
|
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.jr }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.dj }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">运行 0</span>
|
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.yx }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">故障 0</span>
|
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.gz }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">维护 0</span>
|
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.wh }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">离线 0</span>
|
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.KB_FDC.lx }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <!-- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '青山')">
|
|
|
|
- <view class="windStationTitle">青山风电场</view>
|
|
|
|
- <view class="powerAndSpeedContainer">
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 预测发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ycdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 日发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.rfdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实风速(m/s):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ssfs }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实功率(万kw):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.QS_FDC.ssgl }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartContainer">
|
|
|
|
- <view class="windStationUChart">
|
|
|
|
- <view class="windStationQiun-charts">
|
|
|
|
- <canvas canvas-id="windStationCanvasLineD" id="windStationCanvasLineD" class="windStationCharts" @touchstart="touchLineB4"></canvas>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartTitle">风速功率曲线图</view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="fanStatusContainer">
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">接入 0</span>
|
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.jr }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.dj }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">运行 0</span>
|
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.yx }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">故障 0</span>
|
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.gz }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">维护 0</span>
|
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.wh }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">离线 0</span>
|
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.QS_FDC.lx }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view> -->
|
|
|
|
-
|
|
|
|
- <!-- <view class="windStationCard" @tap="common.navTo('/components/windStationCardDetail/WindStationCardDetail?option=' + '香山')">
|
|
|
|
- <view class="windStationTitle">香山风电场</view>
|
|
|
|
- <view class="powerAndSpeedContainer">
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 预测发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ycdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 日发(万kwh):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.rfdl }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实风速(m/s):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ssfs }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="powerAndSpeedRed">
|
|
|
|
- 实功率(万kw):
|
|
|
|
- <span v-if="cardmodule">
|
|
|
|
- <span v-if="cardmodule==false">{{ index_windStation_cardmodule.index_windStation_cardmodule.XS_FDC.ssgl }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartContainer">
|
|
|
|
- <view class="windStationUChart">
|
|
|
|
- <view class="windStationQiun-charts">
|
|
|
|
- <canvas canvas-id="windStationCanvasLineE" id="windStationCanvasLineE" class="windStationCharts" @touchstart="touchLineB5"></canvas>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="UChartTitle">风速功率曲线图</view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="fanStatusContainer">
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/001.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">接入 0</span>
|
|
|
|
- <span v-if="module==false">接入 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.jr }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/002.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">待机 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.dj }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/003.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">运行 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.yx }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/004.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">故障 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.gz }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/005.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">维护 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.wh }}</span>
|
|
|
|
- </view>
|
|
|
|
- <view class="fanStatus">
|
|
|
|
- <view class="statusIcon">
|
|
|
|
- <image src="../../static/picture/006.png" style="width: 16px;height: 16px;margin-top: 7px;"></image>
|
|
|
|
- </view>
|
|
|
|
- <span v-if="module">待机 0</span>
|
|
|
|
- <span v-if="module==false">离线 {{ fdcstatusmodule.fdcstatusmodule.XS_FDC.lx }}</span>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view> -->
|
|
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</scroll-view>
|
|
<!-- 底导航栏挡住部分显示 -->
|
|
<!-- 底导航栏挡住部分显示 -->
|
|
@@ -832,6 +412,7 @@
|
|
import plusDrawer from '../../components/drawer/plusDrawer.vue';
|
|
import plusDrawer from '../../components/drawer/plusDrawer.vue';
|
|
import drawer from '../../components/drawer/threeLineDrawer.vue';
|
|
import drawer from '../../components/drawer/threeLineDrawer.vue';
|
|
import uCharts from '../../components/tools/u-charts/u-charts.js';
|
|
import uCharts from '../../components/tools/u-charts/u-charts.js';
|
|
|
|
+ import WindFarmcard from '../../components/windFarmcard/WindFarmcard.vue';
|
|
var _self;
|
|
var _self;
|
|
var canvaLineA = null;
|
|
var canvaLineA = null;
|
|
var canvaColumn = null;
|
|
var canvaColumn = null;
|
|
@@ -843,7 +424,8 @@
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
drawer: drawer,
|
|
drawer: drawer,
|
|
- plusDrawer: plusDrawer
|
|
|
|
|
|
+ plusDrawer: plusDrawer,
|
|
|
|
+ WindFarmcard: WindFarmcard
|
|
},
|
|
},
|
|
data: function() {
|
|
data: function() {
|
|
return {
|
|
return {
|
|
@@ -901,9 +483,9 @@
|
|
},
|
|
},
|
|
badge: 22,
|
|
badge: 22,
|
|
drawerList: [],
|
|
drawerList: [],
|
|
- permissionsInformation:[],
|
|
|
|
|
|
+ permissionsInformation: [],
|
|
plusDrawerList: [],
|
|
plusDrawerList: [],
|
|
- leftNavigationtitle:'监视功能分组',
|
|
|
|
|
|
+ leftNavigationtitle: '监视功能分组',
|
|
modalName: null,
|
|
modalName: null,
|
|
address: '河北能源集团',
|
|
address: '河北能源集团',
|
|
windPowerStationId: '',
|
|
windPowerStationId: '',
|
|
@@ -954,34 +536,32 @@
|
|
|
|
|
|
module: true,
|
|
module: true,
|
|
cardmodule: true,
|
|
cardmodule: true,
|
|
- dateNow:""
|
|
|
|
|
|
+ dateNow: "",
|
|
|
|
+ windFielddata:[],
|
|
|
|
+ windFieldsituation: [],
|
|
|
|
+ lineChartdata:[],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created: function() {
|
|
created: function() {
|
|
-
|
|
|
|
this.timeNow();
|
|
this.timeNow();
|
|
-
|
|
|
|
-
|
|
|
|
this.viewUserid();
|
|
this.viewUserid();
|
|
this.monitoringAuthority();
|
|
this.monitoringAuthority();
|
|
|
|
+ this.judgeWindfield();
|
|
this.address = this.dataprocessing.getWindPowerStationName();
|
|
this.address = this.dataprocessing.getWindPowerStationName();
|
|
- this.FDC=this.dataprocessing.getWindPowerStationId();
|
|
|
|
- this.windPowerStationId =this.dataprocessing.getWindPowerStationId();
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ this.FDC = this.dataprocessing.getWindPowerStationId();
|
|
|
|
+ this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
onLoad: function() {
|
|
onLoad: function() {
|
|
let that = this;
|
|
let that = this;
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
that.loading = true;
|
|
that.loading = true;
|
|
}, 500);
|
|
}, 500);
|
|
_self = this;
|
|
_self = this;
|
|
-
|
|
|
|
|
|
+
|
|
this.address = this.dataprocessing.getWindPowerStationName();
|
|
this.address = this.dataprocessing.getWindPowerStationName();
|
|
- this.FDC=this.dataprocessing.getWindPowerStationId();
|
|
|
|
- this.windPowerStationId =this.dataprocessing.getWindPowerStationId();
|
|
|
|
-
|
|
|
|
|
|
+ this.FDC = this.dataprocessing.getWindPowerStationId();
|
|
|
|
+ this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
|
|
this.cWidth = uni.upx2px(750);
|
|
this.cWidth = uni.upx2px(750);
|
|
this.cHeight = uni.upx2px(400);
|
|
this.cHeight = uni.upx2px(400);
|
|
this.getServerData();
|
|
this.getServerData();
|
|
@@ -1015,24 +595,36 @@
|
|
},
|
|
},
|
|
onShow: function() {
|
|
onShow: function() {
|
|
this.address = this.dataprocessing.getWindPowerStationName();
|
|
this.address = this.dataprocessing.getWindPowerStationName();
|
|
- this.FDC=this.dataprocessing.getWindPowerStationId();
|
|
|
|
- this.windPowerStationId =this.dataprocessing.getWindPowerStationId();
|
|
|
|
-
|
|
|
|
|
|
+ this.FDC = this.dataprocessing.getWindPowerStationId();
|
|
|
|
+ this.windPowerStationId = this.dataprocessing.getWindPowerStationId();
|
|
this.viewUserid();
|
|
this.viewUserid();
|
|
this.monitoringAuthority();
|
|
this.monitoringAuthority();
|
|
|
|
+ this.judgeWindfield();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- timeNow(){
|
|
|
|
|
|
+ timeNow() {
|
|
this.getTimeFormat();
|
|
this.getTimeFormat();
|
|
- this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
|
|
|
|
|
|
+ this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
- this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
|
|
|
|
|
|
+ this.dateNow = new Date().Format('yyyy年MM月dd hh:mm');
|
|
}, 60000);
|
|
}, 60000);
|
|
- },viewUserid: function() {
|
|
|
|
- this.plusDrawerList=uni.getStorageSync('plusList');
|
|
|
|
|
|
+ },
|
|
|
|
+ viewUserid: function() {
|
|
|
|
+ this.plusDrawerList = uni.getStorageSync('plusList');
|
|
|
|
+ let _this = this;
|
|
|
|
+ for (let i = 0; i < _this.plusDrawerList.length; i++) {
|
|
|
|
+ _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ judgeWindfield:function(){
|
|
|
|
+ this.plusDrawerList = uni.getStorageSync('plusList');
|
|
|
|
+ let _this = this;
|
|
|
|
+ for (let i = 0; i < _this.plusDrawerList.length; i++) {
|
|
|
|
+ _this.$refs.windFarmcard[i].getWindfieldid(_this.plusDrawerList[i]);
|
|
|
|
+ }
|
|
},
|
|
},
|
|
monitoringAuthority: function() {
|
|
monitoringAuthority: function() {
|
|
- this.drawerList=uni.getStorageSync('leftlist1');
|
|
|
|
|
|
+ this.drawerList = uni.getStorageSync('leftlist1');
|
|
},
|
|
},
|
|
async index_curve_columnar_five_loss() {
|
|
async index_curve_columnar_five_loss() {
|
|
Date.prototype.Format = function(fmt) {
|
|
Date.prototype.Format = function(fmt) {
|
|
@@ -1294,9 +886,14 @@
|
|
// 注:只有连接正常打开中 ,才能正常收到消息
|
|
// 注:只有连接正常打开中 ,才能正常收到消息
|
|
this.socketTask_index_windStation_card.onMessage(res => {
|
|
this.socketTask_index_windStation_card.onMessage(res => {
|
|
//console.log("收到服务器内容:" + res.data);
|
|
//console.log("收到服务器内容:" + res.data);
|
|
- _this.index_windStation_cardmodule.index_windStation_cardmodule = JSON.parse(res.data);
|
|
|
|
|
|
+ let json = JSON.parse(res.data);
|
|
|
|
+ for (let x in json) {
|
|
|
|
+ _this.windFielddata.push(json[x])
|
|
|
|
+ }
|
|
|
|
+ for(let i=0;i<_this.plusDrawerList.length;i++){
|
|
|
|
+ _this.$refs.windFarmcard[i].getWindfielddata(_this.windFielddata[i]);
|
|
|
|
+ }
|
|
_this.cardmodule = false;
|
|
_this.cardmodule = false;
|
|
- console.log();
|
|
|
|
});
|
|
});
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -1338,8 +935,14 @@
|
|
// 注:只有连接正常打开中 ,才能正常收到消息
|
|
// 注:只有连接正常打开中 ,才能正常收到消息
|
|
this.socketTask_index_curve_columnar_windSpeed_power.onMessage(res => {
|
|
this.socketTask_index_curve_columnar_windSpeed_power.onMessage(res => {
|
|
//console.log("收到服务器内容:" + res.data);
|
|
//console.log("收到服务器内容:" + res.data);
|
|
- _this.index_curve_columnar_windSpeed_powermodule.index_curve_columnar_windSpeed_powermodule = JSON.parse(res
|
|
|
|
- .data);
|
|
|
|
|
|
+ let json = JSON.parse(res.data);
|
|
|
|
+ console.log(json);
|
|
|
|
+ for(let x in json){
|
|
|
|
+ _this.lineChartdata.push(json[x]);
|
|
|
|
+ }
|
|
|
|
+ for(let i=0;i<_this.plusDrawerList.length;i++){
|
|
|
|
+ _this.$refs.windFarmcard[i].getUchartData(_this.lineChartdata[i]);
|
|
|
|
+ }
|
|
console.log("---");
|
|
console.log("---");
|
|
let LineA = {
|
|
let LineA = {
|
|
categories: [],
|
|
categories: [],
|
|
@@ -1906,7 +1509,7 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
openDrawer: function() {
|
|
openDrawer: function() {
|
|
- this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList,this.leftNavigationtitle);
|
|
|
|
|
|
+ this.$refs.drawer.openDrawer(250, this.drawerList, this.inconList, this.leftNavigationtitle);
|
|
},
|
|
},
|
|
closeDrawer: function() {
|
|
closeDrawer: function() {
|
|
this.drawerIsShow = false;
|
|
this.drawerIsShow = false;
|
|
@@ -2016,7 +1619,15 @@
|
|
this.socketTask_index_windturbine_status.onMessage(res => {
|
|
this.socketTask_index_windturbine_status.onMessage(res => {
|
|
//console.log("收到服务器内容:" + res.data);
|
|
//console.log("收到服务器内容:" + res.data);
|
|
_this.windpowerstationdetail.index_windturbine_status = JSON.parse(res.data)[_this.FDC];
|
|
_this.windpowerstationdetail.index_windturbine_status = JSON.parse(res.data)[_this.FDC];
|
|
- _this.fdcstatusmodule.fdcstatusmodule = JSON.parse(res.data);
|
|
|
|
|
|
+ // _this.fdcstatusmodule.fdcstatusmodule = JSON.parse(res.data);
|
|
|
|
+ let json = JSON.parse(res.data);
|
|
|
|
+ for (let x in json) {
|
|
|
|
+ _this.windFieldsituation.push(json[x]);
|
|
|
|
+ }
|
|
|
|
+ for(let i=0;i<_this.plusDrawerList.length;i++){
|
|
|
|
+ _this.$refs.windFarmcard[i].getHoursWeatherData(_this.windFieldsituation[i]);
|
|
|
|
+ }
|
|
|
|
+ _this.cardmodule = false;
|
|
console.log("---");
|
|
console.log("---");
|
|
_this.module = false;
|
|
_this.module = false;
|
|
});
|
|
});
|