| | |
| | | import Utils from '@/utils/utils.js' |
| | | import options from '@/store/options.js' |
| | | |
| | | import SubTable from './subTable' |
| | | import SubTable from '@/tabviews/tableshare/normalTable' |
| | | import SubAction from '@/tabviews/tableshare/actionList' |
| | | import SubSearch from '@/tabviews/tableshare/topSearch' |
| | | import asyncLoadComponent from '@/utils/asyncLoadComponent' |
| | | // import asyncComponent from '@/utils/asyncComponent' |
| | | import NotFount from '@/components/404' |
| | | |
| | | import './index.scss' |
| | | |
| | | const SubTabTable = asyncLoadComponent(() => import('@/tabviews/subtabtable')) |
| | | // const SubAction = asyncComponent(() => import('@/tabviews/tableshare/actionList')) |
| | | |
| | | class SubTabViewTable extends Component { |
| | | static propTpyes = { |
| | |
| | | /** |
| | | * @description 表格Id变化 |
| | | */ |
| | | handleTableId = (id = '', data = '') => { |
| | | this.props.handleTableId(this.props.Tab.uuid, id, data) |
| | | handleTableId = (type = this.props.Tab.uuid, id = '', data = '') => { |
| | | this.props.handleTableId(type, id, data) |
| | | } |
| | | |
| | | /** |
| | |
| | | /> : null |
| | | } |
| | | {actions ? |
| | | <div style={{minHeight: '25px'}}> |
| | | <div className="sub-action"> |
| | | <SubAction |
| | | ref="subButton" |
| | | type="sub" |
| | |
| | | } |
| | | <SubTable |
| | | ref="subTable" |
| | | tableId={this.props.Tab.uuid} |
| | | pickup={pickup} |
| | | setting={setting} |
| | | columns={columns} |