光伏功能

This commit is contained in:
huangjp
2025-11-07 15:23:08 +08:00
parent 6b4e5cd036
commit c6ea4a8c52
18 changed files with 1256 additions and 132 deletions

View File

@ -39,7 +39,7 @@
column: {
width: '10',
}
}
},
}
};
},
@ -49,17 +49,18 @@
},
methods: {
getServerData() {
let _this = this;
//模拟从服务器获取数据时的延时
setTimeout(() => {
//模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
let res = {
categories: ["2018-10-17", "2018-10-17", "2018-10-17", "2018-10-17", "2018-10-17",
"2018-10-17"
categories: ["2025-10-17", "2025-10-18", "2025-10-19", "2025-10-20", "2025-10-21",
"2025-10-22"
],
series: [
{
name:this.$t('homePage.home.powerGeneration'),
textColor: "#FFFFFF",
data: [18, 27, 21, 24, 6, 28]
}