import {
inject,
observer
} from 'mobx-react'
import {
WeaTop,
WeaRightMenu,
WeaLocaleProvider,
} from 'ecCom'
const getLabel = WeaLocaleProvider.getLabel;
import RadioGroup from './RadioGroup';
import Table from './Table';
@inject('hrmTimeWageSummary')
@observer
export default class Top extends React.Component {
constructor(props) {
super(props);
}
render() {
const {
hrmTimeWageSummary
} = this.props, {
top,
menus,
table,
radioGroup,
} = hrmTimeWageSummary, {
title,
} = top, {
buttons,
dropMenuDatas,
} = menus, {
tableStore,
hasDatas,
} = table;
return (
}
iconBgcolor='#217346'
loading={tableStore.loading || radioGroup.loading}
buttons={buttons}
showDropIcon={true}
dropMenuDatas={dropMenuDatas}
>
{hasDatas ?
:
{getLabel(83553, '暂无数据')}
}
)
}
}