单站监控菜单栏

This commit is contained in:
白菜
2025-06-18 01:01:17 +08:00
parent 9174e8b6aa
commit 4218776b77
16 changed files with 926 additions and 11 deletions

View File

@ -0,0 +1,74 @@
<template>
<div class="ssyx-ems-dashboard-editor-container">
<!-- 6个方块-->
<el-row :gutter="10">
<el-col :xs="12" :sm="8" :lg="4" class="single-square-box-container" v-for="(item,index) in singleZdSqaure" :key="index+'singleSquareBox'">
<single-square-box :data="item"></single-square-box>
</el-col>
</el-row>
<!-- echart图表-->
<el-row :gutter="32" style="background:#fff;margin:30px 0;">
<el-col :xs="24" :sm="12" :lg="12">
<cnglqx-chart/>
</el-col>
<el-col :xs="24" :sm="12" :lg="12">
<pocpjwd-chart/>
</el-col>
</el-row>
<el-row :gutter="32" style="margin:30px 0;">
<el-col :xs="24" :sm="12" :lg="12">
<dcpjsoc-chart/>
</el-col>
<el-col :xs="24" :sm="12" :lg="12">
<dcpjwd-chart/>
</el-col>
</el-row>
</div>
</template>
<style scoped lang="scss">
</style>
<script>
import SingleSquareBox from "@/components/Ems/SingleSquareBox/index.vue";
import CnglqxChart from './CnglqxChart.vue'
import PocpjwdChart from './PocpjwdChart.vue'
import DcpjwdChart from './DcpjwdChart.vue'
import DcpjsocChart from './DcpjsocChart.vue'
export default {
components:{SingleSquareBox,CnglqxChart,PocpjwdChart,DcpjwdChart,DcpjsocChart},
data() {
return {
// 单个电站 四个方块数据
singleZdSqaure:[{
title:'实时有功功率kW',
value:'22.74',
bgColor:'#FFF2CB'
},{
title:'实时无功功率kVar',
value:'22.74',
bgColor:'#CBD6FF'
},{
title:'电池催SOC',
value:'22.74',
bgColor:'#DCCBFF'
},{
title:'电池堆SOH',
value:'22.74',
bgColor:'#FFD4CB'
},{
title:'今日充电量kWh',
value:'22.74',
bgColor:'#FFD6F8'
},{
title:'今日放电量kWh',
value:'22.74',
bgColor:'#E1FFCA'
}]
}
},
}
</script>