|
|
|
@ -245,16 +245,9 @@
|
|
|
|
|
|
|
|
|
|
import { scrollSmoothTo } from '@/common/util/index.js'
|
|
|
|
|
import _mixin from './mixin.js'
|
|
|
|
|
import { AREA_SECOND_STATIONS, FIRST_STATIONS, UN_SHOW_STATIONS, END_NUM } from './config'
|
|
|
|
|
import { getBigScreenPowerInverterInfo, getBigScreenPowerInverterInfo2 } from '@/api/modules/station.js'
|
|
|
|
|
// 1集中,2组串
|
|
|
|
|
const FIRST_STATIONS = [
|
|
|
|
|
'1052758019', '1052758018', '1052758020', '1052758021', '1052758022'
|
|
|
|
|
]
|
|
|
|
|
// 不需要显示采集器的电站,分组
|
|
|
|
|
const UN_SHOW_STATIONS = [
|
|
|
|
|
'23', '22', '2'
|
|
|
|
|
]
|
|
|
|
|
const END_NUM = 65535
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
@ -324,7 +317,7 @@
|
|
|
|
|
this.station = this.stationData.filter(v => {
|
|
|
|
|
return v.id === data[0]
|
|
|
|
|
})[0]
|
|
|
|
|
const AREA_SECOND_STATIONS = ['30']
|
|
|
|
|
|
|
|
|
|
this.type = AREA_SECOND_STATIONS.includes(data[1]) ? 'second' : FIRST_STATIONS.includes(data[0]) ? 'first' : 'second'
|
|
|
|
|
// this.type = FIRST_STATIONS.includes(data[0]) ? 'first' : 'second'
|
|
|
|
|
this.getDataInfo(this.type)
|
|
|
|
|