From 6d0137932fcc8f9848123743c1aad5cff8172d8a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 09 二月 2020 13:09:39 +0800 Subject: [PATCH] 2020-02-09 --- src/tabviews/subtabtable/index.jsx | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx index 185ac6f..f3306e6 100644 --- a/src/tabviews/subtabtable/index.jsx +++ b/src/tabviews/subtabtable/index.jsx @@ -18,8 +18,10 @@ static propTpyes = { ID: PropTypes.string, // 涓婄骇鏁版嵁ID BID: PropTypes.string, // 涓婁笂绾ф暟鎹甀D + BData: PropTypes.any, // 涓婁笂绾ф暟鎹� MenuID: PropTypes.string, // 鑿滃崟Id SupMenuID: PropTypes.string, // 涓婄骇鑿滃崟Id + ContainerId: PropTypes.any, // 涓夌骇鑿滃崟Container(html) ID refreshSupView: PropTypes.any // 鍒锋柊涓婄骇鑿滃崟 } @@ -32,7 +34,7 @@ searchlist: null, // 鎼滅储鏉′欢 actions: null, // 鎸夐挳闆� columns: null, // 鏄剧ず鍒� - logcolumns: null, // 鏃ュ織涓樉绀虹殑鍒椾俊鎭� + logcolumns: null, // 鏃ュ織涓樉绀虹殑鍒椾俊鎭� (澧炲姞鑷冲叏閮ㄥ垪锛岄櫎鍘诲悎骞跺垪) arr_field: '', // 浣跨敤 sPC_Get_TableData 鏃剁殑鏌ヨ瀛楁闆� setting: null, // 椤甸潰鍏ㄥ眬璁剧疆锛氭暟鎹簮銆佹寜閽強鏄剧ず鍒楀浐瀹氥�佷富閿瓑 data: null, // 鍒楄〃鏁版嵁闆� @@ -100,10 +102,7 @@ if (col.field) { _arrField.push(col.field) - // 绛涢�夊嚭鏃ュ織涓殑鏄剧ず鍒楋紝鍙栧墠鍥涗釜 - if (col.Hide !== 'true' && _logcolumns.length < 4) { - _logcolumns.push(col) - } + _logcolumns.push(col) } if (col.type === 'colspan' && col.sublist) { // 绛涢�夐殣钘忓垪 _hideCol = _hideCol.concat(col.sublist) @@ -596,8 +595,10 @@ setting={setting} actions={actions} BID={this.props.BID} + BData={this.props.BData} dict={this.state.dict} MenuID={this.props.SupMenuID} + ContainerId={this.props.ContainerId} refreshdata={this.refreshbyaction} gettableselected={this.gettableselected} /> -- Gitblit v1.8.0