|
@@ -116,10 +116,9 @@
|
|
|
<script>
|
|
|
import * as echarts from 'echarts/core';
|
|
|
import {listByFacs,listFacsMeter} from '@/api/device/elecMeterH'
|
|
|
-import {listHSum, sumByFacsH, sumBySubCategoryH, getPowerData, getPowerMaxLoad} from '@/api/mgr/elecUseH'
|
|
|
+import { getPowerData, getPowerMaxLoad} from '@/api/mgr/elecUseH'
|
|
|
import {getFacsCategorygetByCode} from '@/api/basecfg/emsfacs'
|
|
|
import {areaTreeByFacsCategory} from '@/api/basecfg/area'
|
|
|
-import {listAllFacs} from '@/api/basecfg/emsfacs'
|
|
|
import dayjs from 'dayjs'
|
|
|
import {DateTool} from '@/utils/DateTool'
|
|
|
import {dateFormat} from '@/utils';
|
|
@@ -223,8 +222,6 @@ export default {
|
|
|
date: null,
|
|
|
time: null,
|
|
|
timeIndex: null,
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
queryObjParams: {
|
|
|
refArea: null,
|
|
@@ -570,10 +567,10 @@ export default {
|
|
|
getPowerChart () {
|
|
|
this.powerMaxLoad = ''
|
|
|
this.powerChartData = []
|
|
|
- const [startTime, endTime] = this.powerDate
|
|
|
+ const [startRecTime, endRecTime] = this.powerDate
|
|
|
const params = {
|
|
|
- startTime,
|
|
|
- endTime,
|
|
|
+ startRecTime,
|
|
|
+ endRecTime,
|
|
|
areaCode: '-1',
|
|
|
objType: '2',
|
|
|
}
|
|
@@ -595,10 +592,10 @@ export default {
|
|
|
getEquipPowerChart () {
|
|
|
this.equipPowerMaxLoad = ''
|
|
|
this.equipPowerChartData = []
|
|
|
- const [startTime, endTime] = this.dateRange
|
|
|
+ const [startRecTime, endRecTime] = this.dateRange
|
|
|
const params = {
|
|
|
- startTime,
|
|
|
- endTime,
|
|
|
+ startRecTime,
|
|
|
+ endRecTime,
|
|
|
areaCode: '-1',
|
|
|
objType: '2',
|
|
|
facsCategory: 'Z',
|