fix(系统设置): 报表统计二级菜单权限控制
--bug=1015855 --user=李玉号 【系统设置】报表统计,没有报表 / 报告权限,但是会显示二级菜单 https://www.tapd.cn/55049933/s/1224428
This commit is contained in:
parent
8dafd14680
commit
8975f0c0ff
|
@ -4,10 +4,17 @@
|
|||
<project-change :project-name="currentProject"/>
|
||||
<el-col :span="14">
|
||||
<el-menu class="header-menu" :unique-opened="true" mode="horizontal" router :default-active='$route.path'>
|
||||
<el-menu-item :index="'/report/projectStatistics'">
|
||||
<el-menu-item
|
||||
:index="'/report/projectStatistics'"
|
||||
v-permission="['PROJECT_REPORT_ANALYSIS:READ', 'PROJECT_REPORT_ANALYSIS:READ+EXPORT',
|
||||
'PROJECT_REPORT_ANALYSIS:READ+UPDATE', 'PROJECT_REPORT_ANALYSIS:READ+CREATE']">
|
||||
{{ $t("commons.report_statistics.menu.project_statistics") }}
|
||||
</el-menu-item>
|
||||
<el-menu-item :index="'/report/projectReport'" v-xpack v-permission="['PROJECT_API_DEFINITION:READ']">
|
||||
<el-menu-item
|
||||
:index="'/report/projectReport'" v-xpack
|
||||
v-permission="['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']">
|
||||
{{ $t("commons.report_statistics.menu.project_report") }}
|
||||
</el-menu-item>
|
||||
|
||||
|
|
Loading…
Reference in New Issue