update url address when changing the settings on the statistics analysis page

This commit is contained in:
MaysWind
2024-07-14 19:55:14 +08:00
parent 2cbcc40ca9
commit 7849b2f05c
9 changed files with 558 additions and 269 deletions
+12 -1
View File
@@ -107,7 +107,18 @@ const router = createRouter({
{
path: '/statistics/transaction',
component: StatisticsTransactionPage,
beforeEnter: checkLogin
beforeEnter: checkLogin,
props: route => ({
initAnalysisType: route.query.analysisType,
initChartDataType: route.query.chartDataType,
initChartType: route.query.chartType,
initChartDateType: route.query.chartDateType,
initStartTime: route.query.startTime,
initEndTime: route.query.endTime,
initFilterAccountIds: route.query.filterAccountIds,
initFilterCategoryIds: route.query.filterCategoryIds,
initSortingType: route.query.sortingType
})
},
{
path: '/account/list',