feat: 添加现货机器人管理功能,更新相关路由和国际化配置,新增编辑组件
This commit is contained in:
@@ -26,6 +26,7 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
|
||||
home: () => import("@/views/home/index.vue"),
|
||||
news: () => import("@/views/news/index.vue"),
|
||||
notification: () => import("@/views/notification/index.vue"),
|
||||
robot_spot: () => import("@/views/robot/spot/index.vue"),
|
||||
rwa_product: () => import("@/views/rwa/product/index.vue"),
|
||||
rwa_producttype: () => import("@/views/rwa/productType/index.vue"),
|
||||
rwa_subscribe: () => import("@/views/rwa/subscribe/index.vue"),
|
||||
|
||||
@@ -133,9 +133,30 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
meta: {
|
||||
title: 'notification',
|
||||
i18nKey: 'route.notification',
|
||||
order: 7
|
||||
order: 9
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'robot',
|
||||
path: '/robot',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'robot',
|
||||
i18nKey: 'route.robot',
|
||||
order: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'robot_spot',
|
||||
path: '/robot/spot',
|
||||
component: 'view.robot_spot',
|
||||
meta: {
|
||||
title: 'robot_spot',
|
||||
i18nKey: 'route.robot_spot'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'rwa',
|
||||
path: '/rwa',
|
||||
@@ -225,6 +246,15 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
order: 4
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'user_list',
|
||||
path: '/user/list',
|
||||
component: 'view.user_list',
|
||||
meta: {
|
||||
title: 'user_list',
|
||||
i18nKey: 'route.user_list'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'user_bankcard',
|
||||
path: '/user/bankcard',
|
||||
@@ -234,15 +264,6 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
i18nKey: 'route.user_bankcard'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'user_list',
|
||||
path: '/user/list',
|
||||
component: 'view.user_list',
|
||||
meta: {
|
||||
title: 'user_list',
|
||||
i18nKey: 'route.user_list'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -175,6 +175,8 @@ const routeMap: RouteMap = {
|
||||
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?",
|
||||
"news": "/news",
|
||||
"notification": "/notification",
|
||||
"robot": "/robot",
|
||||
"robot_spot": "/robot/spot",
|
||||
"rwa": "/rwa",
|
||||
"rwa_product": "/rwa/product",
|
||||
"rwa_producttype": "/rwa/producttype",
|
||||
|
||||
Reference in New Issue
Block a user