组件之间数据渲染逻辑

This commit is contained in:
ym1026
2025-09-03 15:41:12 +08:00
parent 1568677c8e
commit 369f7165cb
15 changed files with 1018 additions and 892 deletions

View File

@@ -47,6 +47,7 @@ export default {
menuList: [
{
name: '系统总览',
path: '/main/',
icon: 'icon-xitongguanli'
},
{

File diff suppressed because it is too large Load Diff

View File

@@ -344,7 +344,12 @@ export default {
throw res
}
} catch (error) {
this.deviceInfo.onLine = {}
this.deviceInfo.onLine = {
launchDate:11,
incomeTotal:12,
solarDeviceNum:10,
stationNum:15
}
}
},
// 查询系统累计统计信息
@@ -423,29 +428,7 @@ export default {
throw res
}
} catch (error) {
// this.deviceInfo.allStatDayList = []
// this.deviceInfo.allStatDayList = [
// {
// date: '2025-08-30',
// storageElectIn: 2,
// storageElectOut: 5,
// chargeElect: 4,
// chargeNum: 5,
// incomeCharge: 7,
// solarElectGen: 7,
// solarElectGrid: 7
// },
// {
// date: '2025-08-31',
// storageElectIn: 3,
// storageElectOut: 7,
// chargeElect: 5,
// chargeNum: 5,
// incomeCharge: 4,
// solarElectGen: 6,
// solarElectGrid: 8
// }
// ]
console.log(error)
}
}
}