src/tabviews/commontable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/subtable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/subtabtable/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/tabviews/commontable/index.jsx
@@ -835,7 +835,7 @@ ]} destroyOnClose > {<SubTabTable SupMenuID={this.props.MenuID} MenuID={this.state.popAction.linkTab} BID={''} ID={this.state.popData ? this.state.popData[setting.primaryKey] : ''} />} {<SubTabTable SupMenuID={this.props.MenuID} MenuID={this.state.popAction.linkTab} BID={''} ID={this.state.popData ? this.state.popData[setting.primaryKey] : ''} refreshSupView={this.reloadtable} />} </Modal> <BackTop> <div className="ant-back-top"> src/tabviews/subtable/index.jsx
@@ -669,7 +669,7 @@ ]} destroyOnClose > {<SubTabTable SupMenuID={this.props.MenuID} MenuID={this.state.popAction.linkTab} BID={''} ID={this.state.popData ? this.state.popData[setting.primaryKey] : ''} />} {<SubTabTable SupMenuID={this.props.MenuID} MenuID={this.state.popAction.linkTab} BID={this.props.BID} ID={this.state.popData ? this.state.popData[setting.primaryKey] : ''} refreshSupView={this.reloadtable} />} </Modal> {viewlost ? <NotFount msg={this.state.lostmsg} /> : null} </div> src/tabviews/subtabtable/index.jsx
@@ -16,9 +16,11 @@ class SubTabModalTable extends Component { static propTpyes = { BID: PropTypes.string, // 上级数据ID ID: PropTypes.string, // 上级数据ID BID: PropTypes.string, // 上上级数据ID MenuID: PropTypes.string, // 菜单Id SupMenuID: PropTypes.string // 上级菜单Id SupMenuID: PropTypes.string, // 上级菜单Id refreshSupView: PropTypes.any // 刷新上级菜单 } state = { @@ -455,6 +457,9 @@ } else if (type === 'excelOut') { this.handleDefaultExcelout(btn) } if (type === 'success') { this.props.refreshSupView() } } /**