feat(工作台): 工作台路由映射配置

This commit is contained in:
baiqi 2024-11-07 17:32:05 +08:00 committed by 刘瑞斌
parent 1641a5497e
commit 578f593d7c
3 changed files with 44 additions and 2 deletions

View File

@ -269,6 +269,13 @@ export const pathMap: PathMapItem[] = [
permission: [],
level: MENU_LEVEL[2],
},
{
key: 'CASE_MANAGEMENT_REVIEW_REVIEW_MODULE', // 功能测试-功能用例-用例评审-模块
locale: 'common.module',
route: RouteEnum.CASE_MANAGEMENT_REVIEW,
permission: [],
level: MENU_LEVEL[2],
},
],
},
],
@ -902,4 +909,41 @@ export const pathMap: PathMapItem[] = [
permission: [],
level: MENU_LEVEL[0],
},
{
key: 'WORKBENCH', // 工作台
locale: 'menu.workbench',
route: RouteEnum.WORKBENCH,
permission: [],
level: MENU_LEVEL[1],
children: [
{
key: 'WORKBENCH_INDEX', // 工作台-首页
locale: 'menu.workbenchHomeSort',
route: RouteEnum.WORKBENCH_INDEX,
permission: [],
level: MENU_LEVEL[1],
},
{
key: 'WORKBENCH_INDEX_WAIT', // 工作台-待办
locale: 'menu.workbenchWaitSort',
route: RouteEnum.WORKBENCH_INDEX_WAIT,
permission: [],
level: MENU_LEVEL[1],
},
{
key: 'WORKBENCH_INDEX_FOLLOW', // 工作台-我关注的
locale: 'menu.workbenchFollowSort',
route: RouteEnum.WORKBENCH_INDEX_FOLLOW,
permission: [],
level: MENU_LEVEL[1],
},
{
key: 'WORKBENCH_INDEX_CREATED', // 工作台-我创建的
locale: 'menu.workbenchCreatedSort',
route: RouteEnum.WORKBENCH_INDEX_CREATED,
permission: [],
level: MENU_LEVEL[1],
},
],
},
];

View File

@ -71,7 +71,6 @@ export default {
'menu.caseManagement.caseManagementReviewDetailCaseDetail': 'Review Case Detail',
'menu.caseManagement.caseManagementCaseReviewEdit': 'Update Review',
'menu.caseManagement.caseManagementCaseDetail': 'Case Detail',
'menu.workstation': 'Workstation',
'menu.loadTest': 'Performance Test',
'menu.projectManagement.projectPermission': 'Project Permission',
'menu.projectManagement.log': 'Log',

View File

@ -49,7 +49,6 @@ export default {
'menu.apiTest.reportDetail': '报告详情',
'menu.uiTest': 'UI测试',
'menu.taskCenter': '任务中心',
'menu.workstation': '工作台',
'menu.loadTest': '性能测试',
'menu.performanceTest': '性能测试',
'menu.projectManagement': '项目管理',