From bde2916433c7830e2879e6524e32b9f6c8bd0bab Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 02 一月 2022 16:31:32 +0800
Subject: [PATCH] 2022-01-02

---
 src/tabviews/custom/components/card/cardcellList/index.jsx |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx
index 747bad8..3798bd6 100644
--- a/src/tabviews/custom/components/card/cardcellList/index.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -657,7 +657,9 @@
       
       let _data = [data]
 
-      if (data.$$type === 'extendCard' || data.$$empty) {
+      if (data.$$type === 'extendCard') {
+        _data = data.$$selectedData || []
+      } else if (data.$$empty) {
         _data = []
       } else if (card.$sync) {
         _data = this.props.syncData
@@ -669,6 +671,7 @@
             <NormalButton
               BID={data.$$BID}
               BData={data.$$BData || ''}
+              disabled={data.$disabled}
               btn={card}
               show={card.show}
               style={card.style}
@@ -683,6 +686,8 @@
           <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
             <ExcelInButton
               BID={data.$$BID}
+              BData={data.$$BData || ''}
+              disabled={data.$disabled}
               btn={card}
               show={card.show}
               style={card.style}
@@ -696,6 +701,8 @@
           <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
             <ExcelOutButton
               BID={data.$$BID}
+              BData={data.$$BData || ''}
+              disabled={data.$disabled}
               btn={card}
               show={card.show}
               style={card.style}
@@ -709,6 +716,7 @@
             <PopupButton
               BID={data.$$BID}
               BData={data.$$BData || ''}
+              disabled={data.$disabled}
               btn={card}
               show={card.show}
               style={card.style}
@@ -721,6 +729,8 @@
         return (
           <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
             <TabButton
+              BData={data.$$BData || ''}
+              disabled={data.$disabled}
               btn={card}
               show={card.show}
               style={card.style}
@@ -733,6 +743,8 @@
         return (
           <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
             <NewPageButton
+              BData={data.$$BData || ''}
+              disabled={data.$disabled}
               btn={card}
               show={card.show}
               style={card.style}
@@ -747,6 +759,8 @@
             <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
               <ChangeUserButton
                 BID={data.$$BID}
+                BData={data.$$BData || ''}
+                disabled={data.$disabled}
                 btn={card}
                 show={card.show}
                 style={card.style}
@@ -761,6 +775,7 @@
               <PrintButton
                 BID={data.$$BID}
                 BData={data.$$BData || ''}
+                disabled={data.$disabled}
                 btn={card}
                 show={card.show}
                 style={card.style}

--
Gitblit v1.8.0