From da7068bd48791cdee966c786ce0dfd46f6e03df9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 08 一月 2021 19:02:24 +0800
Subject: [PATCH] 2021-01-08

---
 src/tabviews/zshare/normalTable/index.jsx |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/src/tabviews/zshare/normalTable/index.jsx b/src/tabviews/zshare/normalTable/index.jsx
index bb65378..0d1e6dd 100644
--- a/src/tabviews/zshare/normalTable/index.jsx
+++ b/src/tabviews/zshare/normalTable/index.jsx
@@ -29,7 +29,6 @@
     pickup: PropTypes.any,           // 鏁版嵁鏀惰捣
     columns: PropTypes.array,        // 琛ㄦ牸鍒�
     fields: PropTypes.array,         // 缁勪欢瀛楁闆�
-    BID: PropTypes.any,              // 涓昏〃Id
     ContainerId: PropTypes.any,      // 鏍囩椤靛灞侷d
     BData: PropTypes.any,            // 涓昏〃鏁版嵁
     data: PropTypes.any,             // 琛ㄦ牸鏁版嵁
@@ -38,7 +37,6 @@
     refreshdata: PropTypes.func,     // 琛ㄦ牸涓帓搴忓垪銆侀〉鐮佺殑鍙樺寲鏃跺埛鏂�
     handleTableId: PropTypes.func,   // 鏁版嵁鍒囨崲
     chgSelectData: PropTypes.func,   // 鏁版嵁鍒囨崲
-    refreshbyaction: PropTypes.func, // 鎸夐挳鎵ц瀹屾垚鍚庡埛鏂�
   }
 
   state = {
@@ -209,12 +207,6 @@
       return
     }
     MKEmitter.removeListener('resetTable', this.resetTable)
-  }
-
-  updateStatus = (type, positon, btn) => {
-    if (type === 'refresh') {
-      this.props.refreshbyaction(positon, btn)
-    }
   }
 
   // 瀛楁閫忚
@@ -595,13 +587,12 @@
                 <NormalButton
                   key={btn.uuid}
                   btn={btn}
-                  BID={this.props.BID}
+                  BID={record.$$BID}
                   selectedData={[record]}
                   BData={this.props.BData}
                   setting={this.props.setting}
                   columns={this.props.fields || this.props.columns}
                   ContainerId={this.props.ContainerId}
-                  updateStatus={this.updateStatus}
                 />
               )
             } else if (btn.OpenType === 'popview') {
@@ -609,11 +600,10 @@
                 <PopupButton
                   key={btn.uuid}
                   btn={btn}
-                  BID={this.props.BID}
+                  BID={record.$$BID}
                   selectedData={[record]}
                   BData={this.props.BData}
                   setting={this.props.setting}
-                  updateStatus={this.updateStatus}
                 />
               )
             } else if (btn.OpenType === 'tab' || btn.OpenType === 'blank') {
@@ -624,7 +614,6 @@
                   selectedData={[record]}
                   MenuID={this.props.MenuID}
                   setting={this.props.setting}
-                  updateStatus={this.updateStatus}
                 />
               )
             } else if (btn.OpenType === 'innerpage' || btn.OpenType === 'outerpage') {
@@ -634,7 +623,6 @@
                   btn={btn}
                   selectedData={[record]}
                   setting={this.props.setting}
-                  updateStatus={this.updateStatus}
                 />
               )
             }

--
Gitblit v1.8.0