|
|
@@ -860,6 +860,63 @@ const routes: Array<RouteRecordRaw> = [
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/platinum_capital_flow',
|
|
|
+ name: 'platinum_capital_flow',
|
|
|
+ component: Main,
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ redirect: { name: 'platinum_capital_flow_tab' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/platinum_capital_flow_tab/tab',
|
|
|
+ name: 'platinum_capital_flow_tab',
|
|
|
+ component: () => import('@/views/platinum/platinum_capital_flow/platinum_capital_flow_tab/index.vue'),
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/platinum_promotion_report',
|
|
|
+ name: 'platinum_promotion_report',
|
|
|
+ component: Main,
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ redirect: { name: 'platinum_promotion_report_tab' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/platinum_promotion_report/tab',
|
|
|
+ name: 'platinum_promotion_report_tab',
|
|
|
+ component: () => import('@/views/platinum/platinum_promotion_report/platinum_promotion_report_tab/index.vue'),
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/platinum_broker_management',
|
|
|
+ name: 'platinum_broker_management',
|
|
|
+ component: Main,
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ redirect: { name: 'platinum_broker_management_tab' },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/platinum_broker_management/tab',
|
|
|
+ name: 'platinum_broker_management_tab',
|
|
|
+ component: () => import('@/views/platinum/platinum_broker_management/platinum_broker_management_tab/index.vue'),
|
|
|
+ meta: {
|
|
|
+ requireAuth: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
@@ -912,7 +969,7 @@ router.beforeEach((to, from, next) => {
|
|
|
} else { // 跳转到登录页面
|
|
|
next()
|
|
|
}
|
|
|
- } else { //
|
|
|
+ } else { //
|
|
|
next()
|
|
|
}
|
|
|
}
|