import { WeaPopoverHrm, WeaLocaleProvider } from 'ecCom'; import { WeaLogView } from 'comsMobx'; import loadjs from 'loadjs'; const WeaLogViewComp = WeaLogView.Component; const { LogStore } = WeaLogView; class Home extends React.Component { constructor(props) { super(props); this.state = { visible: false, logStore: new LogStore(), logType: '3', logSmallType: '' } window.setLogViewProps = this.setLogViewProps; } componentDidMount() { loadjs(["/social/js/drageasy/drageasy.js", "/social/js/bootstrap/js/bootstrap.js?v=20171218", "/social/im/js/IMUtil_wev8.js", "/social/js/imcarousel/imcarousel.js","/js/hrm/validator.min.js"]); } setLogViewProps = (props) => { this.setState({ targetId: '', visible: true, logStore: new LogStore(), logType: '3', ...props, }); } onCancel = (props) => { this.setState({ visible: false, }); } render() { return (