king
2020-03-18 cb4c8706eb48183ac8875d92d4a950ad6b6675a2
src/tabviews/subtable/index.jsx
@@ -11,17 +11,15 @@
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 = {
@@ -632,8 +630,8 @@
  /**
   * @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)
  }
  /**
@@ -697,7 +695,7 @@
          /> : null
        }
        {actions ?
          <div style={{minHeight: '25px'}}>
          <div className="sub-action">
            <SubAction
              ref="subButton"
              type="sub"
@@ -726,6 +724,7 @@
            }
            <SubTable
              ref="subTable"
              tableId={this.props.Tab.uuid}
              pickup={pickup}
              setting={setting}
              columns={columns}