mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 08:44:25 +08:00
support filtering transaction amount
This commit is contained in:
@@ -100,6 +100,7 @@ const router = createRouter({
|
||||
initType: route.query.type,
|
||||
initCategoryId: route.query.categoryId,
|
||||
initAccountId: route.query.accountId,
|
||||
initAmountFilter: route.query.amountFilter,
|
||||
initKeyword: route.query.keyword
|
||||
})
|
||||
},
|
||||
|
||||
@@ -7,6 +7,7 @@ import UnlockPage from '@/views/mobile/UnlockPage.vue';
|
||||
|
||||
import TransactionListPage from '@/views/mobile/transactions/ListPage.vue';
|
||||
import TransactionEditPage from '@/views/mobile/transactions/EditPage.vue';
|
||||
import TransactionAmountFilterPage from '@/views/mobile/transactions/AmountFilterPage.vue';
|
||||
|
||||
import AccountListPage from '@/views/mobile/accounts/ListPage.vue';
|
||||
import AccountEditPage from '@/views/mobile/accounts/EditPage.vue';
|
||||
@@ -148,6 +149,11 @@ const routes = [
|
||||
async: asyncResolve(TransactionListPage),
|
||||
beforeEnter: [checkLogin]
|
||||
},
|
||||
{
|
||||
path: '/transaction/filter/amount',
|
||||
async: asyncResolve(TransactionAmountFilterPage),
|
||||
beforeEnter: [checkLogin]
|
||||
},
|
||||
{
|
||||
path: '/transaction/add',
|
||||
async: asyncResolve(TransactionEditPage),
|
||||
|
||||
Reference in New Issue
Block a user