|
@@ -73,7 +73,7 @@ import { ElMessage } from 'element-plus';
|
|
|
return {
|
|
|
ChangZhan: [],
|
|
|
query: {
|
|
|
- stationId: 'MHS_FDC',
|
|
|
+ stationId: 'DWK_GDC',
|
|
|
date: new Date().formatDate("yyyy-MM-dd"),
|
|
|
useType: '1',
|
|
|
time: '0930'
|
|
@@ -108,6 +108,7 @@ import { ElMessage } from 'element-plus';
|
|
|
//链接赋值
|
|
|
el.href = window.__MODE__.baseURL + 'loadrate/down?date=' + this.query.date;
|
|
|
el.download = '';
|
|
|
+ el.target = '_blank'
|
|
|
document.body.appendChild(el)
|
|
|
el.click()
|
|
|
document.body.removeChild(el)
|
|
@@ -119,10 +120,10 @@ import { ElMessage } from 'element-plus';
|
|
|
var that = this;
|
|
|
that.API.requestData({
|
|
|
method: "GET",
|
|
|
- subUrl: "powercompare/windfarmAjax",
|
|
|
+ subUrl: "powercompare/windfarmAllAjax",
|
|
|
success(res) {
|
|
|
- that.ChangZhan = res.data;
|
|
|
- that.query.stationId = res.data[0].id;
|
|
|
+ that.ChangZhan = res.data.filter(o => o.id.includes('GDC'));
|
|
|
+ that.query.stationId = that.ChangZhan[0].id;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -243,7 +244,7 @@ import { ElMessage } from 'element-plus';
|
|
|
that.tableData.total = 0;
|
|
|
that.tableLoading = false;
|
|
|
}
|
|
|
- });
|
|
|
+ })
|
|
|
},
|
|
|
formatTime(value) {
|
|
|
if (typeof(value) == 'undefined') {
|