重构预算管理模块,添加预算记录和服务,更新相关API,优化预算统计逻辑
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 25s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s

This commit is contained in:
孙诚
2026-01-06 21:15:02 +08:00
parent 0ca7f44e37
commit 343c754431
10 changed files with 654 additions and 221 deletions

View File

@@ -0,0 +1,27 @@
/**
* 预算周期类型
*/
export const BudgetPeriodType = {
Week: 0,
Month: 1,
Year: 2,
Longterm: 3
}
/**
* 预算类别
*/
export const BudgetCategory = {
Expense: 0,
Income: 1,
Savings: 2
}
/**
* 交易类型 (与后端 TransactionType 对应)
*/
export const TransactionType = {
Expense: 0,
Income: 1,
None: 2
}