From 7420e26c538824bc73f058213a67826c485253a1 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Sat, 11 May 2024 13:33:11 +0800 Subject: [PATCH] =?UTF-8?q?crc=E6=9D=83=E9=99=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 2 +- src/views/trials/trials-layout/components/trialsNavbar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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") }}