import React from "react";
import style from "./index.less";
import WrapModalTitle from "./WrapModalTitle";
import WrapModalTable from "./WrapModalTable";
import WrapModalRight from "./WrapModalRight";

class WrapModalBody extends React.Component {
  constructor(props) {
    super(props)
  }
  render() {
    const { handleSearch,hospitalInspect,handleGetSonList } = this.props;
    return <div className={style['container']}>
      <div className={`${style.left}`}>
        <WrapModalTitle handleSearch={handleSearch}></WrapModalTitle>
        <WrapModalTable hospitalInspect={hospitalInspect} handleGetSonList={handleGetSonList}></WrapModalTable>
      </div>
      <div className={`${style.right}`}>
        <WrapModalRight></WrapModalRight>
      </div>
    </div>
  }
}

export default WrapModalBody;
