fix(权限设置): 修复顶部菜单报表统计权限设置

--bug=1008010 --user=刘瑞斌 【用户组和权限】-项目管理员-取消“报告统计”权限设置不生效 https://www.tapd.cn/55049933/s/1070874
This commit is contained in:
CaptainB 2021-11-20 09:59:01 +08:00 committed by 刘瑞斌
parent b29a2fe69a
commit bd1ff2ccd4
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
{{ $t('commons.performance') }}
</el-menu-item>
<el-menu-item index="/report" v-if="check('reportStat')" onselectstart="return false"
v-permission="['PROJECT_TRACK_CASE:READ','PROJECT_TRACK_PLAN:READ','PROJECT_TRACK_REVIEW:READ']">
v-permission="['PROJECT_REPORT_ANALYSIS:READ']">
{{ $t('commons.report_statistics.title') }}
</el-menu-item>

View File

@ -107,5 +107,5 @@ export const PROJECT_GROUP_SCOPE = {
'TRACK': '测试跟踪',
'API': '接口测试',
'PERFORMANCE': '性能测试',
'REPORT': '报统计'
'REPORT': '报统计'
}