king
2020-03-11 590a8198e9fcb503aaeb04f6d550c65bf30c0566
src/tabviews/subtabtable/index.jsx
@@ -5,8 +5,8 @@
import { notification, Spin} from 'antd'
import moment from 'moment'
import Api from '@/api'
import asyncComponent from '@/utils/asyncComponent'
import SubTable from '@/tabviews/subtable/subTable'
import SubAction from '@/tabviews/tableshare/actionList'
import SubSearch from '@/tabviews/tableshare/topSearch'
import NotFount from '@/components/404'
import zhCN from '@/locales/zh-CN/main.js'
@@ -14,6 +14,8 @@
import Utils from '@/utils/utils.js'
import options from '@/store/options.js'
import './index.scss'
const SubAction = asyncComponent(() => import('@/tabviews/tableshare/actionList'))
class SubTabModalTable extends Component {
  static propTpyes = {
@@ -612,21 +614,23 @@
            dict={this.state.dict}
          /> : null
        }
        {actions &&
          <SubAction
            ref="subtabButton"
            type="subtab"
            menuType={this.props.menuType}
            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}
          />
        {actions ?
          <div style={{minHeight: '45px'}}>
            <SubAction
              ref="subtabButton"
              type="subtab"
              menuType={this.props.menuType}
              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}
            />
          </div> : null
        }
        {columns &&
          <SubTable