From 28d296a42af1a2037f6b009c0476eef45f576c3f Mon Sep 17 00:00:00 2001 From: huyuanxiang <273637057@qq.com> Date: Tue, 24 Sep 2024 11:55:06 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E6=B7=BB=E5=8A=A0=E4=BC=9F=E5=88=9B?= =?UTF-8?q?=E5=8A=9BB15=2017=207=E8=AF=A6=E6=83=85=E7=BB=84=E4=B8=B2?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=95=B0=E9=87=8F=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/station/config.js | 2 + pages/station/item1.vue | 1601 ++++++++++++++++++++------------------- pages/station/item2.vue | 4 +- 3 files changed, 808 insertions(+), 799 deletions(-) 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 }