feat: 예산 예상수입 월별 + 계좌 관리 드래그앤드랍 정렬
CI / build (push) Failing after 12m7s

- 예산: 예상 수입을 해당 월별로 조회/저장(월 이동 시 갱신)
- 계좌 관리: SortableJS 드래그 정렬(터치 지원), 타입별 순서 저장

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-01 22:54:41 +09:00
parent 252f00e527
commit 483cf755ed
3 changed files with 73 additions and 12 deletions
+7 -4
View File
@@ -65,11 +65,11 @@ export const accountApi = {
budgetPeriod({ unit, year, month }) {
return http.get('/account/budgets/period', { params: { unit, year, month } })
},
expectedIncome() {
return http.get('/account/budgets/income')
expectedIncome({ year, month }) {
return http.get('/account/budgets/income', { params: { year, month } })
},
setExpectedIncome(expectedIncome) {
return http.put('/account/budgets/income', { expectedIncome })
setExpectedIncome({ year, month, expectedIncome }) {
return http.put('/account/budgets/income', { expectedIncome }, { params: { year, month } })
},
createBudget(payload) {
return http.post('/account/budgets', payload)
@@ -89,6 +89,9 @@ export const accountApi = {
removeWallet(id) {
return http.delete(`/account/wallets/${id}`)
},
reorderWallets(type, ids) {
return http.put('/account/wallets/reorder', { type, ids })
},
walletEntries(id) {
return http.get(`/account/wallets/${id}/entries`)
},