fix(系统设置): 报表统计菜单权限问题

--bug=1015855 --user=李玉号 【系统设置】报表统计,没有报表 / 报告权限,但是会显示二级菜单
https://www.tapd.cn/55049933/s/1228774
This commit is contained in:
shiziyuan9527 2022-08-22 11:04:01 +08:00 committed by lyh
parent 2c13e4721d
commit 585d403190
1 changed files with 4 additions and 1 deletions

View File

@ -50,7 +50,10 @@
</div>
</el-menu-item>
<el-menu-item index="/report" v-if="check('reportStat')" onselectstart="return false"
v-permission="['PROJECT_REPORT_ANALYSIS:READ']">
v-permission="['PROJECT_REPORT_ANALYSIS:READ','PROJECT_ENTERPRISE_REPORT:READ+EXPORT',
'PROJECT_ENTERPRISE_REPORT:READ+CREATE', 'PROJECT_ENTERPRISE_REPORT:READ+DELETE',
'PROJECT_ENTERPRISE_REPORT:READ+COPY', 'PROJECT_ENTERPRISE_REPORT:READ+SCHEDULE',
'PROJECT_ENTERPRISE_REPORT:READ+EDIT']">
<div>
<svg-icon iconClass="report" class-name="ms-menu-img"/>
<span slot="title" class="ms-menu-item-title">{{ $t('commons.report_statistics.title') }}</span>