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