From 62ae55ae397b7997b147a7b946f7ad5f1c78a45d Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期三, 26 十月 2022 19:34:33 +0800
Subject: [PATCH] 综合展示,系统管理,授权管理,专题图,资料馆添加权限配置

---
 src/views/Synthesis/orientation.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/views/Synthesis/orientation.vue b/src/views/Synthesis/orientation.vue
index 9a83dc7..3a564a4 100644
--- a/src/views/Synthesis/orientation.vue
+++ b/src/views/Synthesis/orientation.vue
@@ -33,7 +33,21 @@
       ],
     };
   },
+  created() {
+    var cover_Id = this.$store.state.syntiesis.menu;
+    var cover_perms = this.$store.state.permsEntity;
+
+    for (var i = 0; i < cover_perms.length; i++) {
+      if (cover_perms[i].pid == cover_Id) {
+        this.showViewMenu(cover_perms[i]);
+      }
+    }
+  },
   methods: {
+    showViewMenu(res) {
+      if (res.cnName != '瀹氫綅') return;
+      console.log('瀹氫綅', res.tag);
+    },
     changeOrietnt(res) {
       var val = {
         name: 'Coord',

--
Gitblit v1.9.3