From be5a0efb45b6f504c5076c8512aefeb70dd8ef3f Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 22 May 2024 09:40:04 +0800
Subject: [PATCH] =?UTF-8?q?sadmin=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 | 4 +++-
src/views/system/role/index.vue | 2 +-
src/views/trials/trials-layout/components/trialsNavbar.vue | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 9b0783c..686ba0d 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -284,7 +284,9 @@ export default {
this.$router.replace({ path: res[0].path });
return;
}
- if (this.hasPermi(["role:pm",'role:oa','role:admin'])) {
+ if (
+ this.hasPermi(["role:pm", "role:oa", "role:admin", "role:dev"])
+ ) {
this.$router.replace({ path: "/trials/trials-inspection" });
} else if (this.hasPermi(["role:oa"])) {
this.$router.replace({ path: "/system" });
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index af573cc..95f81c9 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -42,7 +42,7 @@
-
+
-
+
{{ $t("trials:menuTitle:inspection") }}