mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
实现excel报表文件生成功能
This commit is contained in:
@@ -535,6 +535,7 @@ export default {
|
||||
const currentInfo = this.echartsInfo[this.activeKey]
|
||||
const query = {
|
||||
...this.paramsDate,
|
||||
station_id: this.stationId,
|
||||
category: this.activeKey
|
||||
}
|
||||
|
||||
@@ -559,6 +560,7 @@ export default {
|
||||
const currentInfo = this.tableList[this.activeKey]
|
||||
const query = {
|
||||
...this.paramsDate,
|
||||
station_id: this.stationId,
|
||||
category: this.activeKey,
|
||||
page_size: currentInfo.pageOption.pageSize,
|
||||
page: currentInfo.pageOption.page
|
||||
@@ -632,6 +634,8 @@ export default {
|
||||
},
|
||||
changeStation() {
|
||||
this.getStatCharts()
|
||||
this.getEchartsListForActiveKey()
|
||||
this.getTableListForActiveKey()
|
||||
},
|
||||
|
||||
async getStatCharts() {
|
||||
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
}
|
||||
|
||||
try {
|
||||
const res = await getReq('/querySystemLogList', params)
|
||||
const res = await getReq('/queryAlertLogList', params)
|
||||
if (res.errcode === 0) {
|
||||
this.$refs.comTable.loading = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user