| | |
| | | import Utils from '@/utils/utils.js' |
| | | import options from '@/store/options.js' |
| | | |
| | | // import asyncComponent from '@/utils/asyncComponent' |
| | | import SubTable from '@/tabviews/subtable/subTable' |
| | | import SubTable from '@/tabviews/tableshare/normalTable' |
| | | import SubAction from '@/tabviews/tableshare/actionList' |
| | | import SubSearch from '@/tabviews/tableshare/topSearch' |
| | | import NotFount from '@/components/404' |
| | | |
| | | import './index.scss' |
| | | |
| | | // const SubAction = asyncComponent(() => import('@/tabviews/tableshare/actionList')) |
| | | |
| | | class SubTabModalTable extends Component { |
| | | static propTpyes = { |
| | |
| | | this.refs.subtabButton.actionTrigger(btn, record) |
| | | } |
| | | |
| | | /** |
| | | * @description 表格Id变化 |
| | | */ |
| | | handleTableId = () => {} |
| | | |
| | | UNSAFE_componentWillMount () { |
| | | // 组件加载时,获取菜单数据 |
| | | this.loadconfig() |
| | |
| | | {columns && |
| | | <SubTable |
| | | ref="subTable" |
| | | tableId="" |
| | | dict={this.state.dict} |
| | | MenuID={this.props.MenuID} |
| | | setting={setting} |
| | |
| | | logcolumns={this.state.logcolumns} |
| | | refreshdata={this.refreshbytable} |
| | | buttonTrigger={this.buttonTrigger} |
| | | handleTableId={this.handleTableId} |
| | | handleTableId={() => {}} |
| | | /> |
| | | } |
| | | {viewlost ? <NotFount msg={this.state.lostmsg} /> : null} |