From 4e2bb29096ac63837f8d2c5e25766ee094f45d6c Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 27 十二月 2023 14:35:49 +0800
Subject: [PATCH] 	modified:   src/page/index/top/index.vue 	modified:   src/views/common/part.vue 	modified:   src/views/equipment/equipment/index.vue 	modified:   src/views/equipment/metering/index.vue 	modified:   src/views/plan/manufacturingorder/auto-operationtask.vue 	modified:   src/views/plan/operationtask/operationtask-form.vue 	modified:   src/views/quality/Packaging_ledger/index.vue 	modified:   src/views/quality/packageinspect/index.vue 	modified:   src/views/quality/processconfiguration/index.vue 	modified:   src/views/quality/teststandard/index.vue 	modified:   vue.config.js

---
 src/page/index/top/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index 6262812..fadf7a5 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -15,7 +15,7 @@
     </div>
     <div class="top-bar__right">
       
-      <el-tooltip
+      <!-- <el-tooltip
         v-if="showLock"
         effect="dark"
         content="涓婚璁剧疆"
@@ -23,9 +23,9 @@
         <div class="top-bar__item">
           <top-theme></top-theme>
         </div>
-      </el-tooltip>
+      </el-tooltip> -->
       <el-tooltip
-        v-if="showLock"
+        v-if="showLock && permissions.product_work_bench"
         effect="dark"
         content="宸ヤ綔鍙�"
         placement="bottom">
@@ -139,6 +139,7 @@
         showColor: state => state.common.showColor
       }),
       ...mapGetters([
+        'permissions',
         'userInfo',
         'isFullScreen',
         'tagWel',

--
Gitblit v1.9.3