import React from 'react';
import {ItemBox} from '@commonComp';
import AddAssistCheck from '../AddAssistCheck';

import styles from './index.less'
class AssistCheck extends React.Component {
    constructor(props){
        super(props);
        
    }

    render(){
        const {list,getInfomation,assistLabel,assistVal,handleChangeValue,handleSign,fetchPushInfos,handleDelAssist,handleChangeAssistValue,handleChangeDate,isRead,winWidth,assistList} = this.props;
        return (
            <div className={styles.wrapper}>
                <div className={styles.top}>
                    <span id="assistResultData">辅检结果数据</span>
                    {/* <button>导入化验结果</button> */}
                </div>
                <ItemBox 
                    className={styles.title}
                    title={'辅检'}
                    editable={false}
                    border={true}
                    marginTop={'20px'}
                >
                    <div style={{padding:'10px',boxSizing:'border-box'}} >
                        <AddAssistCheck 
                            handleChangeValue={handleChangeValue}
                            list={list}
                            handleSign={handleSign}
                            assistLabel={assistLabel}
                            handleDelAssist={handleDelAssist}
                            handlePush={fetchPushInfos}
                            handleChangeAssistValue={handleChangeAssistValue}
                            handleChangeDate={handleChangeDate}
                            isRead={isRead}
                            winWidth={winWidth}
                            getInfomation={getInfomation}
                            assistList={assistList}
                            assistVal={assistVal}
                        >

                        </AddAssistCheck>
                    </div>
                </ItemBox>
            </div>
        )
    }
}

export default AssistCheck;