系统管理

This commit is contained in:
ym1026
2025-09-05 16:40:35 +08:00
parent c778e4a300
commit c1cce63c85
24 changed files with 2220 additions and 411 deletions

View File

@@ -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