[fix]添加伟创力B15 17 7详情组串显示数量不一致

main
huyuanxiang 8 months ago
parent ababdcda2f
commit 28d296a42a

@ -8,6 +8,8 @@ export const FIRST_STATIONS = [
export const UN_SHOW_STATIONS = [
'23', '22', '2'
]
export const eightNumArr = ['1052758023'] // 塞纳8个组串
export const sixteenNumArr = ['30','35','36','37'] // 16个组串
export const STATION_LIST = {
'1052758018': [
{

File diff suppressed because it is too large Load Diff

@ -264,7 +264,7 @@
getBigScreenPowerInverterMqttBySn
} from '@/api/modules/station.js'
import _mixin from './mixin.js'
import { AREA_SECOND_STATIONS, FIRST_STATIONS, UN_SHOW_STATIONS, END_NUM } from './config'
import { AREA_SECOND_STATIONS, FIRST_STATIONS, UN_SHOW_STATIONS, END_NUM, sixteenNumArr, eightNumArr } from './config'
let myChart = null
let SECOND_VALUE = ''
let timer = null
@ -527,8 +527,6 @@
},
_getMaxNum(item, text = 'dayEnergy') {
if (text !== 'dayEnergy') {
const eightNumArr = ['1052758023'] // 8
const sixteenNumArr = ['30'] // 16
return eightNumArr.includes(this.selectStations[0]) ? 8 :
sixteenNumArr.includes(this.selectStations[1]) ? 16 : 12
}

Loading…
Cancel
Save