首页:调整风机转速
This commit is contained in:
parent
ef7e5fcc3f
commit
6b8b86f773
@ -18,7 +18,6 @@
|
|||||||
<span>{{item.eventText}}、</span>
|
<span>{{item.eventText}}、</span>
|
||||||
<span>{{item.eventTimeFormate}}</span>
|
<span>{{item.eventTimeFormate}}</span>
|
||||||
</p>
|
</p>
|
||||||
<!-- <span v-if="tableData.length==0">暂无告警</span>-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -28,29 +27,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :md="24" :lg="8" style="padding: 0px">
|
|
||||||
<div class="grid-content ep-bg-purple cardContentRight">
|
|
||||||
<!–实时告警–>
|
|
||||||
<div class="realPart panelBg" style="margin-bottom: 0">
|
|
||||||
<el-text class="mx-1 homelabel">实时告警</el-text>
|
|
||||||
<div class="realAlert"
|
|
||||||
ref="scrollRef"
|
|
||||||
@mouseover.native="clearScroll"
|
|
||||||
@mouseleave.native="createScroll">
|
|
||||||
<ul>
|
|
||||||
<li v-for="(item,index) in tableData"
|
|
||||||
:key="index"
|
|
||||||
@click="open(item)"
|
|
||||||
>
|
|
||||||
<span>{{item.deviceCode}}、</span>
|
|
||||||
<span>{{item.eventText}}、</span>
|
|
||||||
<span>{{item.eventTimeFormate}}</span>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</el-col>-->
|
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -52,22 +52,28 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="fanlist-data">
|
<el-row class="fanlist-data">
|
||||||
|
<!-- <div class="fanlist-text">
|
||||||
|
<span class="content-number">{{ item.attributeMap.iwindspeed }}</span><span>m/s</span>
|
||||||
|
</div>
|
||||||
|
<div class="fanlist-text">
|
||||||
|
<span class="content-number">{{ item.attributeMap.igenpower }}</span><span>MW</span>
|
||||||
|
</div>
|
||||||
|
<div class="fanlist-text">
|
||||||
|
<span class="content-number">{{ item.attributeMap.ikwhthisday }}</span><span>kWh</span>
|
||||||
|
</div>-->
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<div class="fanlist-text">
|
<div class="fanlist-text">
|
||||||
<span class="content-number">{{ item.attributeMap.iwindspeed }}</span
|
<span class="content-number">{{ item.attributeMap.iwindspeed }}</span><span>风速m/s</span>
|
||||||
><span>风速m/s</span>
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<div class="fanlist-text">
|
<div class="fanlist-text">
|
||||||
<span class="content-number">{{ item.attributeMap.igenpower }}</span
|
<span class="content-number">{{ item.attributeMap.igenpower }}</span><span>功率MW</span>
|
||||||
><span>功率MW</span>
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<div class="fanlist-text">
|
<div class="fanlist-text">
|
||||||
<span class="content-number">{{ item.attributeMap.ikwhthisday }}</span
|
<span class="content-number">{{ item.attributeMap.ikwhthisday }}</span><span>日发电量kWh</span>
|
||||||
><span>日发电量kWh</span>
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -97,7 +103,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
const getAnimationStyle = (item) => {
|
const getAnimationStyle = (item) => {
|
||||||
const irotorspeed = item.attributeMap?.irotorspeed ?? 0
|
const irotorspeed = item.attributeMap?.irotorspeed ?? 0
|
||||||
const animationDuration = (1 / irotorspeed) * 10
|
const animationDuration = 60 / irotorspeed
|
||||||
return {
|
return {
|
||||||
'animation-duration': `${animationDuration}s`,
|
'animation-duration': `${animationDuration}s`,
|
||||||
'animation-timing-function': 'linear',
|
'animation-timing-function': 'linear',
|
||||||
|
Loading…
Reference in New Issue
Block a user