diff --git a/src/router/index.js b/src/router/index.js index a496720..b83273d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -75,6 +75,31 @@ const routes = [ meta: { hidden: true } } ] + }, + { + path: 'platformData', + name: 'platformData', + meta: { title: '平台数据管理', icon: "TrendCharts", showSidebar: true, isParentNav: true }, + children: [ + { + path: 'overview', + name: 'overview', + component: () => import('../views/PlatformData/UserOverview.vue'), + meta: { title: '用户数据概览', showSidebar: true } + }, + { + path: 'loginStats', + name: 'loginStats', + component: () => import('../views/PlatformData/UserLoginStats.vue'), + meta: { title: '用户类登录统计', showSidebar: true } + }, + { + path: 'activityStats', + name: 'activityStats', + component: () => import('../views/PlatformData/UserActivityStats.vue'), + meta: { title: '用户活跃度统计', showSidebar: true } + } + ] } ] } diff --git a/src/views/PlatformData/UserActivityStats.vue b/src/views/PlatformData/UserActivityStats.vue new file mode 100644 index 0000000..4b69495 --- /dev/null +++ b/src/views/PlatformData/UserActivityStats.vue @@ -0,0 +1,14 @@ + + + + + diff --git a/src/views/PlatformData/UserLoginStats.vue b/src/views/PlatformData/UserLoginStats.vue new file mode 100644 index 0000000..3c9af67 --- /dev/null +++ b/src/views/PlatformData/UserLoginStats.vue @@ -0,0 +1,14 @@ + + + + + diff --git a/src/views/PlatformData/UserOverview.vue b/src/views/PlatformData/UserOverview.vue new file mode 100644 index 0000000..cbeb848 --- /dev/null +++ b/src/views/PlatformData/UserOverview.vue @@ -0,0 +1,14 @@ + + + + +