mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
系统管理
This commit is contained in:
@@ -132,7 +132,7 @@ export default {
|
||||
station_id: this.stationId,
|
||||
category: 0
|
||||
}
|
||||
const res = await getReq('/api/queryStatTotal', query)
|
||||
const res = await getReq('/queryStatTotal', query)
|
||||
if (res.errcode === 0) {
|
||||
this.modalInfo.allTotal = res.data
|
||||
this.modalInfo.allTotal.runDays = getRunDays(res.data.launch_date)
|
||||
@@ -153,7 +153,7 @@ export default {
|
||||
const query = {
|
||||
station_id: this.stationId,
|
||||
}
|
||||
const res = await getReq('/api//queryStationInfo', query)
|
||||
const res = await getReq('//queryStationInfo', query)
|
||||
if (res.errcode === 0) {
|
||||
this.modalInfo.prefabTotal = res.data
|
||||
} else {
|
||||
@@ -177,7 +177,7 @@ export default {
|
||||
end_date: getDateDaysAgo(0)
|
||||
}
|
||||
const categoryObj = { 1: 'energy' }
|
||||
const res = await getReq('/api/queryStatDayList', query)
|
||||
const res = await getReq('/queryStatDayList', query)
|
||||
if (res.errcode === 0) {
|
||||
this.modalInfo[categoryObj[category]] = res.data.map((item) => {
|
||||
const { income_charge: incomeCharge, income_elect: incomeElect } = item
|
||||
|
||||
Reference in New Issue
Block a user