- 분류 관리: SortableJS 드래그 정렬(터치 지원), 순서는 내역 추가 화면에도 반영 - 예산: 월 예상 수입 입력 + 수입 대비 총 예산 비교(여유/초과) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -65,6 +65,12 @@ export const accountApi = {
|
||||
budgetPeriod({ unit, year, month }) {
|
||||
return http.get('/account/budgets/period', { params: { unit, year, month } })
|
||||
},
|
||||
expectedIncome() {
|
||||
return http.get('/account/budgets/income')
|
||||
},
|
||||
setExpectedIncome(expectedIncome) {
|
||||
return http.put('/account/budgets/income', { expectedIncome })
|
||||
},
|
||||
createBudget(payload) {
|
||||
return http.post('/account/budgets', payload)
|
||||
},
|
||||
@@ -123,6 +129,9 @@ export const accountApi = {
|
||||
removeCategory(id) {
|
||||
return http.delete(`/account/categories/${id}`)
|
||||
},
|
||||
reorderCategories(type, ids) {
|
||||
return http.put('/account/categories/reorder', { type, ids })
|
||||
},
|
||||
importCategories() {
|
||||
return http.post('/account/categories/import')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user