feat: 添加按日期查询用电记录功能,支持切换查看历史用电趋势

1. 新增/api/records-by-date后端接口,支持按日期查询详细用电记录并计算当日用量和费用
2. 前端新增日期选择器,支持切换查看指定日期的用电趋势
3. 更新README文档,补充功能说明、配置项和接口文档
4. 新增.trae目录到gitignore
5. 引入IconPack图标库和dayjs日期处理库
This commit is contained in:
EchoZenith
2026-05-24 22:38:32 +08:00
parent 467928f2e2
commit f0b6f9e8dd
5 changed files with 108 additions and 21 deletions

1
.gitignore vendored
View File

@@ -23,6 +23,7 @@ dist/
*.swp
*.swo
*~
.trae/
# OS
.DS_Store