Compare commits

...

2 Commits

Author SHA1 Message Date
wangxiaoshuang aef3c8e924 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/hir_web
continuous-integration/drone/push Build is passing Details
2024-05-11 13:33:23 +08:00
wangxiaoshuang 7420e26c53 crc权限配置 2024-05-11 13:33:11 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ export default {
this.$router.replace({ path: res[0].path });
return;
}
if (this.hasPermi(["role:pm"])) {
if (this.hasPermi(["role:pm",'role:crc'])) {
this.$router.replace({ path: "/trials/trials-inspection" });
} else if (this.hasPermi(["role:oa"])) {
this.$router.replace({ path: "/system" });

View File

@ -32,7 +32,7 @@
<!-- 工作台 -->
<!-- <span slot="title">{{ $t('trials:menuTitle:workbench') }}</span>
</el-menu-item> -->
<el-menu-item v-if="hasPermi(['role:pm'])" index="1">
<el-menu-item v-if="hasPermi(['role:pm','role:crc'])" index="1">
<i class="el-icon-odometer" />
<!-- 检查 -->
<span slot="title">{{ $t("trials:menuTitle:inspection") }}</span>