import { inject, observer, } from 'mobx-react'; import { Icon, } from 'antd'; @inject('hrmUsedemand') @observer export default class Summary extends React.Component { constructor(props) { super(props); } componentDidMount() { // this.props.hrmUsedemand.getSummaryDatas(); } componentWillUnmount() { this.props.hrmUsedemand.resetSummaryDatas(); } render() { const { hrmUsedemand } = this.props, { summary, openDialog, } = hrmUsedemand, { countDatas } = summary; return (