mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
add insights & explore page
This commit is contained in:
@@ -18,6 +18,8 @@ import TransactionListPage from '@/views/desktop/transactions/ListPage.vue';
|
||||
|
||||
import StatisticsTransactionPage from '@/views/desktop/statistics/TransactionPage.vue';
|
||||
|
||||
import InsightsExplorePage from '@/views/desktop/insights/ExplorePage.vue';
|
||||
|
||||
import AccountListPage from '@/views/desktop/accounts/ListPage.vue';
|
||||
|
||||
import TransactionCategoryListPage from '@/views/desktop/categories/ListPage.vue';
|
||||
@@ -136,6 +138,18 @@ const router = createRouter({
|
||||
initAssetTrendsDateAggregationType: route.query['assetTrendsDateAggregationType']
|
||||
})
|
||||
},
|
||||
{
|
||||
path: '/insights/explore',
|
||||
component: InsightsExplorePage,
|
||||
beforeEnter: checkLogin,
|
||||
props: route => ({
|
||||
initId: route.query['id'],
|
||||
initActiveTab: route.query['activeTab'],
|
||||
initDateRangeType: route.query['dateRangeType'],
|
||||
initStartTime: route.query['startTime'],
|
||||
initEndTime: route.query['endTime']
|
||||
})
|
||||
},
|
||||
{
|
||||
path: '/account/list',
|
||||
component: AccountListPage,
|
||||
|
||||
Reference in New Issue
Block a user