fix(系统设置): 修复日志操作对象为空的缺陷

This commit is contained in:
wxg0103 2024-06-24 09:35:21 +08:00 committed by Craftsman
parent 4b218f2baf
commit 8b6c46cd1c
1 changed files with 44 additions and 0 deletions

View File

@ -352,6 +352,17 @@ export const pathMap: PathMapItem[] = [
type: TaskCenterEnum.API_SCENARIO, type: TaskCenterEnum.API_SCENARIO,
}, },
}, },
{
key: 'SETTING_SYSTEM_TASK_CENTER_REAL_TIME_TEST_PLAN', // 系统设置-系统-任务中心-实时任务-测试计划
locale: 'project.taskCenter.testPlan',
route: RouteEnum.SETTING_SYSTEM_TASK_CENTER,
permission: [],
level: MENU_LEVEL[0],
routeQuery: {
tab: 'real',
type: TaskCenterEnum.TEST_PLAN,
},
},
], ],
}, },
{ {
@ -386,6 +397,17 @@ export const pathMap: PathMapItem[] = [
type: TaskCenterEnum.API_IMPORT, type: TaskCenterEnum.API_IMPORT,
}, },
}, },
{
key: 'SETTING_SYSTEM_TASK_CENTER_TIME_TEST_PLAN', // 系统设置-系统-任务中心-定时任务-测试计划
locale: 'project.taskCenter.testPlan',
route: RouteEnum.SETTING_SYSTEM_TASK_CENTER,
permission: [],
level: MENU_LEVEL[0],
routeQuery: {
tab: 'timeTask',
type: TaskCenterEnum.TEST_PLAN,
},
},
], ],
}, },
], ],
@ -470,6 +492,17 @@ export const pathMap: PathMapItem[] = [
type: TaskCenterEnum.API_SCENARIO, type: TaskCenterEnum.API_SCENARIO,
}, },
}, },
{
key: 'SETTING_ORGANIZATION_TASK_CENTER_REAL_TIME_TEST_PLAN', // 系统设置-组织-任务中心-实时任务-测试计划
locale: 'project.taskCenter.testPlan',
route: RouteEnum.SETTING_ORGANIZATION_TASK_CENTER,
permission: [],
level: MENU_LEVEL[1],
routeQuery: {
tab: 'real',
type: TaskCenterEnum.TEST_PLAN,
},
},
], ],
}, },
{ {
@ -504,6 +537,17 @@ export const pathMap: PathMapItem[] = [
type: TaskCenterEnum.API_IMPORT, type: TaskCenterEnum.API_IMPORT,
}, },
}, },
{
key: 'SETTING_ORGANIZATION_TASK_CENTER_TIME_TEST_PLAN', // 系统设置-组织-任务中心-定时任务-测试计划
locale: 'project.taskCenter.testPlan',
route: RouteEnum.SETTING_ORGANIZATION_TASK_CENTER,
permission: [],
level: MENU_LEVEL[1],
routeQuery: {
tab: 'timeTask',
type: TaskCenterEnum.TEST_PLAN,
},
},
], ],
}, },
], ],