光伏功能

This commit is contained in:
huangjp
2025-11-07 15:23:08 +08:00
parent 6b4e5cd036
commit c6ea4a8c52
18 changed files with 1256 additions and 132 deletions

View File

@ -48,10 +48,10 @@
<runda215 v-else-if="topologyType === 12" ref="tuopu" />
<third v-else-if="topologyType === 13" ref="tuopu" />
<mdPviese v-else-if="topologyType === 14" ref="tuopu" />
<ceshi-t v-else-if="topologyType === 1" />
<standard v-else ref="tuopu" />
</view>
<view class="box">
<!-- <view class="box">
<Section title="测试01" />
<view class="marginT20">
<ceshi-t />
@ -65,11 +65,11 @@
</view>
<view class="box">
<Section title="测试03" />
<!-- 当前组件有数据处理示例 -->
当前组件有数据处理示例
<view class="marginT20">
<ceshi-s />
</view>
</view>
</view> -->
<view v-if="topologyType === 9" class="box">
<Section :title="$t('homePage.home.deviceMonitor')" />
<devicemonitoring ref="deviceFire" />
@ -105,19 +105,19 @@
<zzhbStationData v-else-if="topologyType === 6" />
<commonStationData v-else />
</view>
<view class="box">
<Section title="光伏KPI" />
<view class="box" v-if="topologyType === 1">
<Section :title="$t('homePage.home.pvKpi')" />
<view class="">
<my-grid imgHeight="40rpx" imgWidth="40rpx" :list="lightArr" />
</view>
</view>
<view class="box" v-if="topologyType !== 9">
<view class="box" v-if="topologyType === 1">
<Section :title="$t('homePage.home.environmentalData')" />
<environmentalControlPosition v-if="rightCenter === 'dispositionRightCenter'" />
<environmentalControl v-else />
</view>
<view class="box">
<Section title="社会贡献" />
<Section :title="$t('homePage.home.socialContribution')" />
<view class="">
<my-grid :col="3" imgHeight="72rpx" imgWidth="82rpx" :list="society" />
</view>
@ -207,40 +207,40 @@
tuopuTimer: null,
rightCenter: null,
society: [{
label: '充放电数据',
value: '85.00',
label: this.$t('homePage.home.saveStandardCoal'),
value: '15.00',
image: require('@/static/aidex/images/ll01.png'),
},
{
label: 'CO2减排(吨)',
value: '85.00',
label: this.$t('homePage.home.equivalentCo2Reduction'),
value: '20.50',
image: require('@/static/aidex/images/ll02.png'),
},
{
label: '等效植树(万棵)',
value: '85.00',
label: this.$t('homePage.home.equivalentTreePlantings'),
value: '1.50',
image: require('@/static/aidex/images/ll03.png'),
},
],
lightArr: [{
label: '装机总容量(kWh)',
value: '85.00',
label: this.$t('homePage.home.totalCapacity') + '(kW)',
value: '100.00',
image: require('@/static/aidex/images/ll05.png'),
},
{
label: '当前功率(kW)',
value: '85.00',
label: this.$t('homePage.home.currentPower') + '(kW)',
value: '47.00',
image: require('@/static/aidex/images/ll06.png'),
},
{
label: '日发电量(kWh)',
label: this.$t('homePage.home.dailyPowerGeneration') + '(kWh)',
value: '85.00',
image: require('@/static/aidex/images/ll07.png'),
showMark: true
},
{
label: '总发电量(MWh)',
value: '85.00',
label: this.$t('homePage.home.cumulativePowerGeneration') + '(kWh)',
value: '496.00',
image: require('@/static/aidex/images/ll07.png'),
showMark: true
},
@ -273,7 +273,7 @@
this.stationId = val.id
this.userId = this.userData.userId
console.log(val.topologyType)
console.log('拓扑图',val)
this.topologyType = val.topologyType
this.getComponents()
this.$nextTick(() => {