fix(系统设置): 修复系统设置定时任务中心日志跳转展示问题&修复权限位不正确

This commit is contained in:
xinxin.wu 2024-06-24 11:56:31 +08:00 committed by 刘瑞斌
parent aed5ccecab
commit 1996e03bab
3 changed files with 8 additions and 9 deletions

View File

@ -325,7 +325,7 @@ export const pathMap: PathMapItem[] = [
children: [
{
key: 'SETTING_SYSTEM_TASK_CENTER_REAL_TIME', // 系统设置-系统-任务中心-实时任务
locale: 'project.taskCenter.real',
locale: 'project.taskCenter.realTimeTask',
route: RouteEnum.SETTING_SYSTEM_TASK_CENTER,
permission: [],
level: MENU_LEVEL[0],
@ -372,7 +372,7 @@ export const pathMap: PathMapItem[] = [
permission: [],
level: MENU_LEVEL[0],
routeQuery: {
tab: 'timeTask',
tab: 'timing',
},
children: [
{
@ -382,7 +382,7 @@ export const pathMap: PathMapItem[] = [
permission: [],
level: MENU_LEVEL[0],
routeQuery: {
tab: 'timeTask',
tab: 'timing',
type: TaskCenterEnum.API_SCENARIO,
},
},
@ -393,7 +393,7 @@ export const pathMap: PathMapItem[] = [
permission: [],
level: MENU_LEVEL[0],
routeQuery: {
tab: 'timeTask',
tab: 'timing',
type: TaskCenterEnum.API_IMPORT,
},
},
@ -404,7 +404,7 @@ export const pathMap: PathMapItem[] = [
permission: [],
level: MENU_LEVEL[0],
routeQuery: {
tab: 'timeTask',
tab: 'timing',
type: TaskCenterEnum.TEST_PLAN,
},
},
@ -465,7 +465,7 @@ export const pathMap: PathMapItem[] = [
children: [
{
key: 'SETTING_ORGANIZATION_TASK_CENTER_REAL_TIME', // 系统设置-组织-任务中心-实时任务
locale: 'project.taskCenter.real',
locale: 'project.taskCenter.realTimeTask',
route: RouteEnum.SETTING_ORGANIZATION_TASK_CENTER,
permission: [],
level: MENU_LEVEL[1],

View File

@ -30,7 +30,7 @@
<MsBaseTable
v-bind="propsRes"
:action-config="tableBatchActions"
:selectable="hasAnyPermission(['ORGANIZATION_MEMBER:READ+UPDATE', 'PROJECT_USER:READ+DELETE'])"
:selectable="hasAnyPermission(['PROJECT_USER:READ+UPDATE', 'PROJECT_USER:READ+DELETE'])"
@selected-change="handleTableSelect"
v-on="propsEvent"
@batch-action="handleTableBatch"

View File

@ -76,7 +76,7 @@
},
{
title: 'report.plan.name',
dataIndex: 'name',
dataIndex: 'testPlanName',
showTooltip: true,
width: 180,
},
@ -88,7 +88,6 @@
options: statusResultOptions.value,
filterSlotName: FilterSlotNameEnum.TEST_PLAN_STATUS_FILTER,
},
showTooltip: true,
width: 200,
},
{