首页
This commit is contained in:
parent
a5feaea801
commit
f4899b6bb2
@ -7,15 +7,15 @@
|
|||||||
@contextmenu.prevent="windContextMenu($event,item)"
|
@contextmenu.prevent="windContextMenu($event,item)"
|
||||||
>
|
>
|
||||||
<div class="FanList-panel wind-default" :class="{
|
<div class="FanList-panel wind-default" :class="{
|
||||||
'': item.standard==1,
|
'': item.standard==1,
|
||||||
'': item.standard==0,
|
'': item.standard==0,
|
||||||
'wind-offline': item.attributeMap.processedoperationmode == 33
|
'wind-offline': item.attributeMap.processedoperationmode == 33
|
||||||
}">
|
}">
|
||||||
|
|
||||||
<div class="fanlist-top">
|
<div class="fanlist-top">
|
||||||
<span :class="item.standard == 1 ? 'wind-mark-icon' : 'fanlist-icon'">
|
<span :class="item.standard == 1 ? 'wind-mark-icon' : 'fanlist-icon'">
|
||||||
<img :class="item.standard == 1 ? '' : 'wind-picture'" src="~assets/dashboard/biaogan.png" alt="" />
|
<img :class="item.standard == 1 ? '' : 'wind-picture'" src="~assets/dashboard/biaogan.png" alt="" />
|
||||||
</span>
|
</span>
|
||||||
<span class="fanlist-name"> {{ item.name }}</span>
|
<span class="fanlist-name"> {{ item.name }}</span>
|
||||||
<el-tag v-if="item.attributeMap.processedoperationmode === 20" class="tag-panel" :style="getStyles(item.attributeMap.color)" type="primary">并网</el-tag>
|
<el-tag v-if="item.attributeMap.processedoperationmode === 20" class="tag-panel" :style="getStyles(item.attributeMap.color)" type="primary">并网</el-tag>
|
||||||
<el-tag v-if="item.attributeMap.processedoperationmode === 11" class="tag-panel" :style="getStyles(item.attributeMap.color)" type="primary">待机</el-tag>
|
<el-tag v-if="item.attributeMap.processedoperationmode === 11" class="tag-panel" :style="getStyles(item.attributeMap.color)" type="primary">待机</el-tag>
|
||||||
@ -37,43 +37,16 @@
|
|||||||
>通讯中断</el-tag>
|
>通讯中断</el-tag>
|
||||||
</div>
|
</div>
|
||||||
<div class="fanlist-main">
|
<div class="fanlist-main">
|
||||||
<el-row>
|
<WindContentleft :item="item" v-if="item.layout==='风格1'"></WindContentleft>
|
||||||
<el-col :span="24">
|
<WindContentright :item="item" v-else-if="item.layout==='风格2'"></WindContentright>
|
||||||
<div class="fanlist-pic">
|
<WindContentcenter :item="item" v-else-if="item.layout==='风格3'"></WindContentcenter>
|
||||||
<div class="mask">
|
|
||||||
<div class="heart"><img src="~assets/dashboard/leaf2.png" alt="" /></div>
|
|
||||||
<div class="leafs" :style="getAnimationStyle(item)">
|
|
||||||
<div class="leaf_1"><img src="~assets/dashboard/leaf1.png" alt="" /></div>
|
|
||||||
<div class="leaf_2"><img src="~assets/dashboard/leaf1.png" alt="" /></div>
|
|
||||||
<div class="leaf_3"><img src="~assets/dashboard/leaf1.png" alt="" /></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="fanlist-pic">
|
|
||||||
<img src="~assets/dashboard/fanlist2.png" alt="" />
|
|
||||||
</div>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
<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>kW</span>
|
|
||||||
</div>
|
|
||||||
<div class="fanlist-text">
|
|
||||||
<span class="content-number">{{ item.attributeMap.ikwhthisday }}</span>
|
|
||||||
<span>kWh</span>
|
|
||||||
</div>
|
|
||||||
</el-row>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="fanlist-bottom">
|
<div class="fanlist-bottom">
|
||||||
<!-- <el-tag class="tag-panel is-danger">已锁定</el-tag>-->
|
<!-- <el-tag class="tag-panel is-danger">已锁定</el-tag>-->
|
||||||
<el-tag v-if="item.attributeMap.locked === 1" class="tag-panel is-danger">已锁定</el-tag>
|
<el-tag v-if="item.attributeMap.locked === 1" class="tag-panel is-danger">已锁定</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@ -121,9 +94,11 @@ import ContextMenu from '/@/views/backend/auth/model/contextMenu.vue'
|
|||||||
import { sendCommandReq, sendManualCommandReq } from '/@/api/backend/control/request'
|
import { sendCommandReq, sendManualCommandReq } from '/@/api/backend/control/request'
|
||||||
import {ElMessage, ElMessageBox} from "element-plus";
|
import {ElMessage, ElMessageBox} from "element-plus";
|
||||||
import {equipUpdate} from '/@/api/backend/index.ts'
|
import {equipUpdate} from '/@/api/backend/index.ts'
|
||||||
|
import WindContentleft from './windMatrixleft.vue'
|
||||||
|
import WindContentright from './windMatrixright.vue'
|
||||||
|
import WindContentcenter from './windMatrixcenter.vue'
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
debugger
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
parentData: {
|
parentData: {
|
||||||
type: Array,
|
type: Array,
|
||||||
|
Loading…
Reference in New Issue
Block a user