import { inject, observer } from 'mobx-react' import { WeaDialog, WeaRightMenu } from 'ecCom' import Tab from './Tab'; import Table from './Table'; @inject('hrmApplicant') //todo @observer export default class MainDialog extends React.Component { constructor(props) { super(props); } getChildren = () => { return (
) } render() { const { hrmApplicant } = this.props, { mainDialog, closeDialog, buttons, style, dropMenuDatas, } = hrmApplicant, { title, visible, } = mainDialog; return ( closeDialog()} buttons={buttons} style={style} > {visible && this.getChildren()} ) } }