From d21470fe80e265cda2c355f636c3258eb0f56636 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 12 五月 2020 18:31:18 +0800
Subject: [PATCH] 2020-05-12

---
 src/templates/comtableconfig/index.jsx |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx
index 2235c15..5bcbb43 100644
--- a/src/templates/comtableconfig/index.jsx
+++ b/src/templates/comtableconfig/index.jsx
@@ -1363,12 +1363,12 @@
                 updatesearch={this.updatesearch}
               />
               <div className="chart-view" style={{position: 'relative'}}>
-                {/* 瑙嗗浘缁� */}
-                <ChartGroupComponent
+                {/* 瑙嗗浘缁� 鏉冮檺 浼氬憳绛夌骇20+ */}
+                {this.props.memberLevel >= 20 ? <ChartGroupComponent
                   config={config}
                   sysRoles={this.props.sysRoles}
                   updatechartgroup={this.updatechartgroup}
-                />
+                /> : null}
                 {config.charts.map(item => {
                   if (!config.expand && chartview !== item.uuid) return ''
 
@@ -1445,7 +1445,8 @@
 const mapStateToProps = (state) => {
   return {
     sysRoles: state.sysRoles,
-    permFuncField: state.permFuncField
+    permFuncField: state.permFuncField,
+    memberLevel: state.memberLevel
   }
 }
 

--
Gitblit v1.8.0