diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 3e1ce6f..3ed7048 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -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" }); diff --git a/src/views/trials/trials-layout/components/trialsNavbar.vue b/src/views/trials/trials-layout/components/trialsNavbar.vue index 603b164..bd9041f 100644 --- a/src/views/trials/trials-layout/components/trialsNavbar.vue +++ b/src/views/trials/trials-layout/components/trialsNavbar.vue @@ -32,7 +32,7 @@ - + {{ $t("trials:menuTitle:inspection") }}