From 67a307d8f0fa25fbc56ee9f84c313d521280925f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 04 三月 2022 15:33:09 +0800
Subject: [PATCH] 2022-03-04

---
 src/tabviews/zshare/actionList/index.jsx |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/actionList/index.jsx b/src/tabviews/zshare/actionList/index.jsx
index 068783c..be12727 100644
--- a/src/tabviews/zshare/actionList/index.jsx
+++ b/src/tabviews/zshare/actionList/index.jsx
@@ -18,6 +18,7 @@
 class ActionList extends Component {
   static propTpyes = {
     BID: PropTypes.any,               // 涓昏〃ID
+    lock: PropTypes.any,              // 鍙紪杈戣〃涓寜閽攣瀹�
     BData: PropTypes.any,             // 涓昏〃鏁版嵁
     selectedData: PropTypes.any,      // 瀛愯〃涓�夋嫨鏁版嵁
     Tab: PropTypes.any,               // 濡傛灉褰撳墠鍏冪礌涓烘爣绛炬椂锛宼ab涓烘爣绛句俊鎭�
@@ -35,7 +36,7 @@
   }
 
   getButtonList = (actions) => {
-    const { BID, BData, MenuID, Tab, columns, setting, ContainerId, selectedData } = this.props
+    const { BID, BData, MenuID, Tab, columns, setting, ContainerId, selectedData, lock } = this.props
 
     return actions.map(item => {
       if (['exec', 'prompt', 'pop'].includes(item.OpenType)) {
@@ -43,6 +44,7 @@
           <NormalButton
             key={item.uuid}
             show={item.show || 'actionList'}
+            disabled={lock || false}
             BID={BID}
             Tab={Tab}
             btn={item}
@@ -58,6 +60,7 @@
           <ExcelInButton
             key={item.uuid}
             show={item.show || 'actionList'}
+            disabled={lock || false}
             BID={BID}
             Tab={Tab}
             btn={item}
@@ -71,6 +74,7 @@
           <ExcelOutButton
             key={item.uuid}
             show={item.show || 'actionList'}
+            disabled={lock || false}
             BID={BID}
             Tab={Tab}
             btn={item}
@@ -83,6 +87,7 @@
           <PopupButton
             key={item.uuid}
             show={item.show || 'actionList'}
+            disabled={lock || false}
             BID={BID}
             Tab={Tab}
             btn={item}
@@ -96,6 +101,7 @@
           <TabButton
             key={item.uuid}
             show={item.show || 'actionList'}
+            disabled={lock || false}
             btn={item}
             BData={BData}
             MenuID={MenuID}
@@ -108,6 +114,7 @@
           <NewPageButton
             key={item.uuid}
             show="actionList"
+            disabled={lock || false}
             btn={item}
             BData={BData}
             setting={setting}
@@ -120,6 +127,7 @@
             <ChangeUserButton
               key={item.uuid}
               show={item.show || 'actionList'}
+              disabled={lock || false}
               BID={BID}
               btn={item}
               BData={BData}
@@ -133,6 +141,7 @@
             <PrintButton
               key={item.uuid}
               show={item.show || 'actionList'}
+              disabled={lock || false}
               BID={BID}
               Tab={Tab}
               btn={item}

--
Gitblit v1.8.0