main
夜笙歌 1 week ago
parent e1f93a85e5
commit a4d9192e0e

@ -112,6 +112,7 @@
header-cell-class-name="columnClassName"
id="bootstrap-table"
v-loading="loading"
row-key="objId"
:data="dataList"
@selection-change="handleSelectionChange"
>
@ -157,7 +158,7 @@ import {
getYearsBetween
} from '@/utils/dateReportUtils.js'
import { handleExport } from '@/utils/export.js'
import { parseTime } from '@/utils/ruoyi'
import {handleTree, parseTime} from '@/utils/ruoyi'
let data = {}
let optionData = {}
@ -436,7 +437,7 @@ export default {
myChart.setOption(option)
energyPreviewReportList(this.queryParams).then((response) => {
this.dataList = response.data
this.dataList = this.handleTree(response.data,'objId')
this.loading = false
const data = response.data || []

Loading…
Cancel
Save