[feature]山东烁辉海伦分布式光伏电站,分区1、2、3接入

main
huyuanxiang 2 years ago
parent 3709ffc13c
commit 130d1ac8e2

@ -1,13 +1,13 @@
export const AREA_SECOND_STATIONS = ['30', '31'] export const AREA_SECOND_STATIONS = ['30', '31']
export const END_NUM = 65535 export const END_NUM = 65535
// 1集中2组串 // 1集中2组串
export const FIRST_STATIONS = [ export const FIRST_STATIONS = [
'1052758019', '1052758018', '1052758020', '1052758021', '1052758022' '1052758019', '1052758018', '1052758020', '1052758021', '1052758022'
] ]
// 不需要显示采集器的电站,分组 // 不需要显示采集器的电站,分组
export const UN_SHOW_STATIONS = [ export const UN_SHOW_STATIONS = [
'23', '22', '2' '23', '22', '2'
] ]
export const STATION_LIST = { export const STATION_LIST = {
'1052758018': [ '1052758018': [
{ {
@ -39,37 +39,32 @@ export const STATION_LIST = {
id: '6', id: '6',
stationName: '7# 厂房' stationName: '7# 厂房'
}, },
// {
// id: '7',
// stationName: '8# 厂房'
// },
// {
// id: '8',
// stationName: '15#-1 厂房'
// }, {
// id: '9',
// stationName: '15#-2 厂房'
// },
], ],
'1052758020': [ '1052758020': [
{ {
id: '25', id: '25',
stationName: '总装车间' stationName: '总装车间'
}, },
// {
// id: '26',
// stationName: '综合车间'
// },
], ],
'1052758021': [ '1052758021': [
// {
// id: '10',
// stationName: '红塔一期电房'
// },
{ {
id: '11', id: '11',
stationName: '红塔二期电房' stationName: '红塔二期电房'
},], },],
'1052758024': [
{
id: '32',
stationName: ' 分区1'
},
{
id: '33',
stationName: '分区2'
},
{
id: '34',
stationName: '分区3'
},
],
'1052758022': [ '1052758022': [
{ {
id: '27', id: '27',
@ -142,5 +137,4 @@ export const STATION_LIST = {
stationName: '冲压车间' stationName: '冲压车间'
} }
], ],
} }

@ -3,44 +3,8 @@
<uni-nav-bar left-icon="left" fixed="true" title="电站列表" @clickLeft="handleClickLeft"></uni-nav-bar> <uni-nav-bar left-icon="left" fixed="true" title="电站列表" @clickLeft="handleClickLeft"></uni-nav-bar>
<scroll-view :scroll-y="modalName==null" class="page" :class="modalName!=null?'show':''"> <scroll-view :scroll-y="modalName==null" class="page" :class="modalName!=null?'show':''">
<view class="station-box"> <view class="station-box">
<!-- <view>
选择电站<picker mode="selector" :range="stationData"
range-key="stationName"
:value="index" @change="handlerChangeStation">
<view style="color: royalblue;">{{ stationData[index].stationName }}</view>
</picker>
</view> -->
<view class="card-box"> <view class="card-box">
<uni-section title="电站列表" type="line" padding="0 0 5px 0"> <uni-section title="电站列表" type="line" padding="0 0 5px 0">
<!-- <uni-card title="">
<template v-slot:title>
<uni-list>
<uni-list-item showArrow clickable :title="station.stationName" @click="goNext" />
</uni-list>
</template>
<view class="station-info">
<view class="flex station-info-item">
<text class="left">装机容量(MW)</text>
<text>{{ station.capacity }}</text>
</view>
<view class="flex station-info-item">
<text class="left">当日功率(kW)</text>
<text>{{ station.dayPower }}</text>
</view>
<view class="flex station-info-item">
<text class="left">当日发电(kWh)</text>
<text>{{ station.dayElectricity }}</text>
</view>
<view class="flex station-info-item">
<text class="left">累计发电(kWh)</text>
<text>{{ station.totalElectricity }}</text>
</view>
<view class="flex station-info-item">
<text class="left">光照强度(W/m^2)</text>
<text>{{ station.irradiationLevel }}</text>
</view>
</view>
</uni-card> -->
<view class="station-box-list"> <view class="station-box-list">
<uni-card title="" <uni-card title=""
class="arrow animation-slide-right" class="arrow animation-slide-right"

Loading…
Cancel
Save