diff --git a/pages/station/config.js b/pages/station/config.js index 60466ba..3624857 100644 --- a/pages/station/config.js +++ b/pages/station/config.js @@ -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': [ { diff --git a/pages/station/item1.vue b/pages/station/item1.vue index 5e44e99..1b587fc 100644 --- a/pages/station/item1.vue +++ b/pages/station/item1.vue @@ -1,295 +1,295 @@ diff --git a/pages/station/item2.vue b/pages/station/item2.vue index c4b51b9..7fabfaa 100644 --- a/pages/station/item2.vue +++ b/pages/station/item2.vue @@ -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 }