|
|
@ -35,7 +35,7 @@ const router = new Router({ |
|
|
|
name: 'home', |
|
|
|
name: 'home', |
|
|
|
component: resolve => require(['../pages/home/index'], resolve), |
|
|
|
component: resolve => require(['../pages/home/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('首页')} - EasyScheduler` |
|
|
|
title: `${i18n.$t('Home')} - EasyScheduler` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -43,7 +43,7 @@ const router = new Router({ |
|
|
|
name: 'projects', |
|
|
|
name: 'projects', |
|
|
|
component: resolve => require(['../pages/projects/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('项目管理')}` |
|
|
|
title: `${i18n.$t('Project')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'projects-list' |
|
|
|
name: 'projects-list' |
|
|
@ -54,7 +54,7 @@ const router = new Router({ |
|
|
|
name: 'projects-index', |
|
|
|
name: 'projects-index', |
|
|
|
component: resolve => require(['../pages/projects/pages/index/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/index/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('项目首页')}` |
|
|
|
title: `${i18n.$t('Project Home')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -62,7 +62,7 @@ const router = new Router({ |
|
|
|
name: 'projects-list', |
|
|
|
name: 'projects-list', |
|
|
|
component: resolve => require(['../pages/projects/pages/list/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/list/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('项目')}` |
|
|
|
title: `${i18n.$t('Project')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -70,7 +70,7 @@ const router = new Router({ |
|
|
|
name: 'definition', |
|
|
|
name: 'definition', |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('工作流定义')}` |
|
|
|
title: `${i18n.$t('Process definition')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'projects-definition-list' |
|
|
|
name: 'projects-definition-list' |
|
|
@ -81,7 +81,7 @@ const router = new Router({ |
|
|
|
name: 'projects-definition-list', |
|
|
|
name: 'projects-definition-list', |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/list/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/list/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('工作流定义')}` |
|
|
|
title: `${i18n.$t('Process definition')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -89,7 +89,7 @@ const router = new Router({ |
|
|
|
name: 'projects-definition-details', |
|
|
|
name: 'projects-definition-details', |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/details/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/details/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('流程定义详情')}` |
|
|
|
title: `${i18n.$t('Process definition details')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -97,7 +97,7 @@ const router = new Router({ |
|
|
|
name: 'definition-create', |
|
|
|
name: 'definition-create', |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/create/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/create/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('创建流程定义')}` |
|
|
|
title: `${i18n.$t('Create process definition')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -105,7 +105,7 @@ const router = new Router({ |
|
|
|
name: 'definition-tree-view-index', |
|
|
|
name: 'definition-tree-view-index', |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/tree/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/pages/tree/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('树形图')}` |
|
|
|
title: `${i18n.$t('TreeView')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -113,7 +113,7 @@ const router = new Router({ |
|
|
|
name: 'definition-timing-details', |
|
|
|
name: 'definition-timing-details', |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/timing/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/definition/timing/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('定时任务列表')}` |
|
|
|
title: `${i18n.$t('Scheduled task list')}` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
@ -123,7 +123,7 @@ const router = new Router({ |
|
|
|
name: 'instance', |
|
|
|
name: 'instance', |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('工作流实例')}` |
|
|
|
title: `${i18n.$t('Process Instance')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'projects-instance-list' |
|
|
|
name: 'projects-instance-list' |
|
|
@ -134,7 +134,7 @@ const router = new Router({ |
|
|
|
name: 'projects-instance-list', |
|
|
|
name: 'projects-instance-list', |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/pages/list/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/pages/list/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('工作流实例')}` |
|
|
|
title: `${i18n.$t('Process Instance')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -142,7 +142,7 @@ const router = new Router({ |
|
|
|
name: 'projects-instance-details', |
|
|
|
name: 'projects-instance-details', |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/pages/details/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/pages/details/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('流程实例详情')}` |
|
|
|
title: `${i18n.$t('Process instance details')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -150,52 +150,36 @@ const router = new Router({ |
|
|
|
name: 'instance-gantt-index', |
|
|
|
name: 'instance-gantt-index', |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/pages/gantt/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/instance/pages/gantt/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('甘特图')}` |
|
|
|
title: `${i18n.$t('Gantt')}` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/projects/task-instance', |
|
|
|
path: '/projects/task-instance', |
|
|
|
name: 'task-instance-index', |
|
|
|
name: 'task-instance', |
|
|
|
component: resolve => require(['../pages/projects/pages/taskInstance'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/taskInstance'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('任务实例')}` |
|
|
|
title: `${i18n.$t('Task Instance')}` |
|
|
|
}, |
|
|
|
|
|
|
|
redirect: { |
|
|
|
|
|
|
|
name: 'task-instance-list' |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
children: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
path: '/projects/task-instance/list', |
|
|
|
|
|
|
|
name: 'task-instance-list', |
|
|
|
|
|
|
|
component: resolve => require(['../pages/projects/pages/taskInstance/pages/list/index'], resolve), |
|
|
|
|
|
|
|
meta: { |
|
|
|
|
|
|
|
title: `${i18n.$t('任务实例')}` |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/projects/task-record', |
|
|
|
path: '/projects/task-record', |
|
|
|
name: 'task-record-index', |
|
|
|
name: 'task-record', |
|
|
|
component: resolve => require(['../pages/projects/pages/taskRecord'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/taskRecord'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('任务记录')}` |
|
|
|
title: `${i18n.$t('Task record')}` |
|
|
|
}, |
|
|
|
} |
|
|
|
redirect: { |
|
|
|
|
|
|
|
name: 'task-record-list' |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/projects/task-record/list', |
|
|
|
path: '/projects/history-task-record', |
|
|
|
name: 'task-record-list', |
|
|
|
name: 'history-task-record', |
|
|
|
component: resolve => require(['../pages/projects/pages/taskRecord/pages/list/index'], resolve), |
|
|
|
component: resolve => require(['../pages/projects/pages/historyTaskRecord'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('任务记录')}` |
|
|
|
title: `History task record` |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
@ -207,7 +191,7 @@ const router = new Router({ |
|
|
|
name: 'file' |
|
|
|
name: 'file' |
|
|
|
}, |
|
|
|
}, |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('资源中心')}` |
|
|
|
title: `${i18n.$t('Resources')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -215,7 +199,7 @@ const router = new Router({ |
|
|
|
name: 'file', |
|
|
|
name: 'file', |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/list/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/list/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('文件管理')}` |
|
|
|
title: `${i18n.$t('File Manage')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -223,7 +207,7 @@ const router = new Router({ |
|
|
|
name: 'resource-file-create', |
|
|
|
name: 'resource-file-create', |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/create/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/create/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('创建资源')}` |
|
|
|
title: `${i18n.$t('Create Resource')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -231,7 +215,7 @@ const router = new Router({ |
|
|
|
name: 'resource-file-details', |
|
|
|
name: 'resource-file-details', |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/details/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/details/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('文件详情')}` |
|
|
|
title: `${i18n.$t('File Details')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -239,7 +223,7 @@ const router = new Router({ |
|
|
|
name: 'resource-file-edit', |
|
|
|
name: 'resource-file-edit', |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/edit/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/file/pages/edit/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('文件详情')}` |
|
|
|
title: `${i18n.$t('File Details')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -247,7 +231,7 @@ const router = new Router({ |
|
|
|
name: 'udf', |
|
|
|
name: 'udf', |
|
|
|
component: resolve => require(['../pages/resource/pages/udf/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/udf/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('UDF管理')}` |
|
|
|
title: `${i18n.$t('UDF manage')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -255,7 +239,7 @@ const router = new Router({ |
|
|
|
name: 'resource-udf-resource', |
|
|
|
name: 'resource-udf-resource', |
|
|
|
component: resolve => require(['../pages/resource/pages/udf/pages/resource/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/udf/pages/resource/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('UDF资源管理')}` |
|
|
|
title: `${i18n.$t('UDF Resources')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -263,7 +247,7 @@ const router = new Router({ |
|
|
|
name: 'resource-udf-function', |
|
|
|
name: 'resource-udf-function', |
|
|
|
component: resolve => require(['../pages/resource/pages/udf/pages/function/index'], resolve), |
|
|
|
component: resolve => require(['../pages/resource/pages/udf/pages/function/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('UDF函数管理')}` |
|
|
|
title: `${i18n.$t('UDF Function')}` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
@ -275,7 +259,7 @@ const router = new Router({ |
|
|
|
name: 'datasource', |
|
|
|
name: 'datasource', |
|
|
|
component: resolve => require(['../pages/datasource/index'], resolve), |
|
|
|
component: resolve => require(['../pages/datasource/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('数据源中心')}` |
|
|
|
title: `${i18n.$t('Datasource')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'datasource-list' |
|
|
|
name: 'datasource-list' |
|
|
@ -286,7 +270,7 @@ const router = new Router({ |
|
|
|
name: 'datasource-list', |
|
|
|
name: 'datasource-list', |
|
|
|
component: resolve => require(['../pages/datasource/pages/list/index'], resolve), |
|
|
|
component: resolve => require(['../pages/datasource/pages/list/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('数据源中心')}` |
|
|
|
title: `${i18n.$t('Datasource')}` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
@ -296,7 +280,7 @@ const router = new Router({ |
|
|
|
name: 'security', |
|
|
|
name: 'security', |
|
|
|
component: resolve => require(['../pages/security/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('安全中心')}` |
|
|
|
title: `${i18n.$t('Security')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'tenement-manage' |
|
|
|
name: 'tenement-manage' |
|
|
@ -307,7 +291,7 @@ const router = new Router({ |
|
|
|
name: 'tenement-manage', |
|
|
|
name: 'tenement-manage', |
|
|
|
component: resolve => require(['../pages/security/pages/tenement/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/tenement/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('租户管理')}` |
|
|
|
title: `${i18n.$t('Tenant Manage')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -315,7 +299,7 @@ const router = new Router({ |
|
|
|
name: 'users-manage', |
|
|
|
name: 'users-manage', |
|
|
|
component: resolve => require(['../pages/security/pages/users/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/users/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('用户管理')}` |
|
|
|
title: `${i18n.$t('User Manage')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -323,7 +307,7 @@ const router = new Router({ |
|
|
|
name: 'warning-groups-manage', |
|
|
|
name: 'warning-groups-manage', |
|
|
|
component: resolve => require(['../pages/security/pages/warningGroups/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/warningGroups/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('告警组管理')}` |
|
|
|
title: `${i18n.$t('Warning group manage')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -331,7 +315,7 @@ const router = new Router({ |
|
|
|
name: 'queue-manage', |
|
|
|
name: 'queue-manage', |
|
|
|
component: resolve => require(['../pages/security/pages/queue/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/queue/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('队列管理')}` |
|
|
|
title: `${i18n.$t('Queue manage')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -339,7 +323,7 @@ const router = new Router({ |
|
|
|
name: 'servers-manage', |
|
|
|
name: 'servers-manage', |
|
|
|
component: resolve => require(['../pages/security/pages/servers/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/servers/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('服务管理')}` |
|
|
|
title: `${i18n.$t('Servers manage')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'servers-master' |
|
|
|
name: 'servers-master' |
|
|
@ -350,7 +334,7 @@ const router = new Router({ |
|
|
|
name: 'servers-master', |
|
|
|
name: 'servers-master', |
|
|
|
component: resolve => require(['../pages/security/pages/servers/pages/master/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/servers/pages/master/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('服务管理-Master')}` |
|
|
|
title: `${i18n.$t('Service-Master')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -358,7 +342,7 @@ const router = new Router({ |
|
|
|
name: 'servers-worker', |
|
|
|
name: 'servers-worker', |
|
|
|
component: resolve => require(['../pages/security/pages/servers/pages/worker/index'], resolve), |
|
|
|
component: resolve => require(['../pages/security/pages/servers/pages/worker/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('服务管理-Worker')}` |
|
|
|
title: `${i18n.$t('Service-Worker')}` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
@ -370,7 +354,7 @@ const router = new Router({ |
|
|
|
name: 'user', |
|
|
|
name: 'user', |
|
|
|
component: resolve => require(['../pages/user/index'], resolve), |
|
|
|
component: resolve => require(['../pages/user/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('用户中心')}` |
|
|
|
title: `${i18n.$t('User Center')}` |
|
|
|
}, |
|
|
|
}, |
|
|
|
redirect: { |
|
|
|
redirect: { |
|
|
|
name: 'account' |
|
|
|
name: 'account' |
|
|
@ -381,7 +365,7 @@ const router = new Router({ |
|
|
|
name: 'account', |
|
|
|
name: 'account', |
|
|
|
component: resolve => require(['../pages/user/pages/account/index'], resolve), |
|
|
|
component: resolve => require(['../pages/user/pages/account/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('用户信息')}` |
|
|
|
title: `${i18n.$t('User Information')}` |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -389,7 +373,7 @@ const router = new Router({ |
|
|
|
name: 'password', |
|
|
|
name: 'password', |
|
|
|
component: resolve => require(['../pages/user/pages/password/index'], resolve), |
|
|
|
component: resolve => require(['../pages/user/pages/password/index'], resolve), |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
title: `${i18n.$t('修改密码')}` |
|
|
|
title: `${i18n.$t('Edit password')}` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|