/**
 *体检

 */
import React from 'react';
import {
    Popconfirm, Table, Input, Upload, Select, Row, Col, Checkbox, Tabs,
    DatePicker, Button, Progress, Modal, Timeline, message, Radio, Anchor,
} from 'antd';
import { Util, dayFormat } from 'tools/index';
import { $http } from 'containers/config/https';
import RecordingLeft from './RecordingLeft'
import store from 'store';
import moment from 'moment';
import '../style/Secondary.less';
import { $loadTemplate } from '../../lodop/Common/Print.js';
import BasicUpload from './BasicUpload'
import MainDrugPhotos from './MainDrugPhotos'
const { RangePicker } = DatePicker;
const Option = Select.Option;
const Search = Input.Search;
const TabPane = Tabs.TabPane;
const CheckboxGroup = Checkbox.Group;
const { TextArea } = Input;
const { Link } = Anchor;
var children = [];
var arr = [];

class MedicalExamination extends React.Component {
    constructor(props) {
        super(props)
        var date = new Date();
        var userData = JSON.parse(sessionStorage.getItem('userData'))
        var patID = JSON.parse(sessionStorage.getItem('patID'))
        var seesionID = JSON.parse(sessionStorage.getItem('healthRecordID'))
        this.state = {
            pictureData: '',//图片
            MainDrugPhotos: '',//主要用药图片
            looding: true,
            showDefault: false,
            text: false,
            Optional: '',
            classNameShow: '',
            leftList: [],//左侧进度栏列表
            generally: {},//一般情况数据
            Auxiliaryxamination: {},//辅助检查数据
            lifestyle: {},//生活方式
            symptom: {},//症状
            organFunction: {}, //脏器功能
            physicalExamination: {}, //查体
            pastHistory: {}, //既往史
            familyHistorySelect: {}, //家庭史
            dataSource: [],//住院史数据表格
            familyHistoryData: [],//家庭病床史表格数据
            newQuestionData: {},//现存主要问题数据
            // PhysiqueReview: {},//中医体质综述
            medicineGuidance: {},//中医指导
            healthGuidance: {},//健康指导
            healthAssessmentSelect: {},//健康评价有无异常
            nonImmunization: {},//非免疫规划预防接种史
            mainMedicationSelect: {},//主要用药情况
            familyBedHistoryAll: {},//家庭病床史
            healthAssessmentData: [],//健康评价表格数据
            UnplannedVaccinationData: [],//非计划免疫预防接种史
            mainMedicationData: [],//主要用药情况表格数据
            copyData1: '',
            copyData2: '',
            copyData3: '',
            copyData4: '',
            copyData5: '',
            copyData6: '',
            copyData7: '',
            copyData8: '',
            copyData9: '',
            copyData10: '',
            copyData11: '',
            copyData12: '',
            copyData13: '',
            copyData14: '',
            copyData15: '',
            count: 1,
            countF: 1,
            countJ: 1,
            countU: 1,
            countP: 1,
            healthRecordID: '',//体检表id
            userData: userData,
            patID: patID,
            seesionID: seesionID,
            activeKey: '1',
            startDate: moment(date).format(dayFormat),
            startTimeDate: moment(date, dayFormat),
            fileList: [],
            fileListA11: [],
            userInfo: {}, //患者信息
            selectData: [],//医生下拉
            healthRecordDate: '',
            doctorID: '', //医生id
            MedicationSelect: [],//服药依从性下拉
            showUserID: false,//默认责任医生下拉是否是登录医生
            showDoctorID: false,//默认责任医生下拉
            a0101: '',//体温
            a0102: '',//脉率
            a0103: '',//呼吸频率
            a010401: '',//血压右侧
            a010401XYRL: '',//血压右侧
            a010401XYRR: '',//血压右侧
            a010402XYL: '',//血压左侧
            a010402XYR: '',//血压左侧
            a010402: '',//血压左侧
            a0105: '',//身高
            a0106: '',//体重
            a0107: '',//腰围
            a0108: '',//BMI
            a010901: '',//视力左
            a010902: '',//视力右
            a010903: '',//矫正后视力左
            a010904: '',//矫正后视力右
            a0201: '',//血型
            a0213: '',//血型下
            a020201: '',//血红蛋白
            a020202: '',//白细胞
            a020203: '',//血小板
            a020204: '', //血常规其他
            a020204Input: '',
            a020301: '', //尿蛋白
            a020302: '', //尿糖
            a020303: '', //尿酮体
            a020304: '', //尿潜血
            a020305: '', //尿常规其他
            a020305Input: '',
            FBSL: '', //空腹血糖左
            valueXTL: '', //空腹血糖左
            valueXTR: '', //空腹血糖左
            FBSR: '', //空腹血糖右
            a020501: '', //血清谷丙转氨酶
            a020502: '', //血清谷草转氨酶
            a020503: '', //总胆红素
            a020601: '', //血清肌酐
            a020602: '', //血尿素氮
            a020701: '', //总胆固醇
            a020702: '', //甘油三酯
            a020703: '', //血清低密度脂蛋白胆固醇
            a020704: '', //血清高密度脂蛋白胆固醇
            a0208: '', //辅助检查其他
            a0209: '', //骨质疏松检查结果
            a0210: '', //预约老年人流感或肺炎疫苗
            a0211: '', //B超
            a0211note: '', //B超value
            a0212: '', //心电图
            a0212note: '', //心电图异常值
            a030101: '', //锻炼频率
            a030102: '', //每次锻炼时间
            a030104: '',
            a030105: '', //服用维生素D
            a0302: [], //饮食习惯
            a03020: [], //饮食习惯
            a030301: '', //吸烟状况
            a030302: '', //日吸烟量
            a030303: '', //开始吸烟年龄
            a030304: '', //戒烟年龄
            a030401: '', //饮酒频率
            a030402: '', //日饮酒量
            a030403: '', //是否戒酒
            a030404: '', //戒酒年龄
            a030405: '', //开始饮酒年龄
            a030406: '', //近一年是否曾醉酒
            a030407: [], //饮酒种类
            a03040705: '', //饮酒种类其他
            a03040: [],
            a0305: '', //职业病危害因素接触史
            a030503: '', //工种
            a030504: '', //从业时间
            a03050501: '', //尘埃
            a0305050101: '', //防范措施
            a03050502: '', //放射物质
            a0305050201: '', //防范措施
            a0305050201note: '', //防范措施否
            a03050503: '', //物理因素
            a0305050301: '', //物理因素防范
            a0305050301note: '', //物理因素防范value
            a03050504: '', //化学物理
            a0305050401: '', //化学防范措施
            a0305050401note: '', //化学防范措施否
            a03050505: '', //职业其他
            a0305050501: '', //职业其他防范措施
            a0305050501note: '', //职业其他防范措施否
            a0401: '', //症状
            a04010: '',
            a0401note: '', //症状其他
            a050101: '', //口唇
            a050102: '', //齿列
            a0501020: '', //齿列
            a050102note: '', //牙列input
            a050102noteTL: '',
            a050102noteTR: '',
            a050102noteBL: '',
            a050102noteBR: '',
            a050102noteValue1: [],
            a050102noteValue2: [],
            a050102noteValue3: [],
            a050102noteValue4: [],
            a050102noteValue5: [],
            a050102noteValue6: [],
            a050102noteValue7: [],
            a050102noteValue8: [],
            a050102noteValue9: [],
            a050102noteValue10: [],
            a050102noteValue11: [],
            a050102noteValue12: [],
            a050103: '', //咽喉
            a0501030: '',
            a0502: '', //听力
            a0503: '', //运动功能
            a0601: '', //皮肤
            a0601note: '', //皮肤其他
            a0602: '',//巩膜
            a0602note: '', //巩膜其他
            a0603: '', //淋巴结其他
            a0603note: '', //淋巴结其他
            a060401: '', //桶状胸
            a060402: '', //呼吸音
            a060402note: '', //呼吸音
            a060403: '', //罗音
            a060403note: '', //罗音其他
            a06050101: '', //心率左
            a06050102: '', //心率右
            a060502: '', //杂音
            a060502note: '', //杂音有
            a060601: '', //压痛
            a060601note: '', //压痛有
            a060602: '', //包块
            a060602note: '', //包块有
            a060603: '', //肝大
            a060603note: '', //肝大有
            a060604: '', //脾大
            a060604note: '', //脾大有
            a060605: '', //移动性浊音
            a060605note: '', //移动性浊音有
            a0607: '', //下肢水肿
            a0608: '', //足背动脉搏动
            a06080: '',
            a0609: '', //查体其他
            a0801: '', //手术史
            a080103: '', //手术史名称
            a080104: '', //手术史时间
            a0802: '', //外伤
            a080203: '', //外伤名称
            a080204: '', //外伤时间
            a0803: '', //输血史
            a080303: '', //输血史原因
            a080304: '', //输血史时间
            a0902: [], //家族史父亲
            a0902note: '', //家族史父亲其他
            a09020: '',
            a0903: [], //家族史母亲
            a0903note: '', //家族史母亲其他
            a09030: '',
            a0904: [], //家族史兄弟姐妹
            a0904note: '', //家族史兄弟姐妹其他
            a09040: '',
            a0905: [], //家族史子女
            a0905note: '', //家族史子女其他
            a09050: '',
            a1001: [], //脑血管疾病
            a1001note: '', //脑血管疾病其他
            a10010: '',
            a080401: [],
            a080401note: '',
            a0804010: '',
            a080402: [],
            a080402note: '',
            a0804020: '',
            a080403: [],
            a080403note: '',
            a0804030: '',
            a080404: [],
            a080404note: '',
            a0804040: '',
            a080405: [],
            a080405note: '',
            a0804050: '',
            a080406: [],
            a080406note: '',
            a0804060: '',
            a080407: [],
            a080407note: '',
            a0804070: '',
            a1002: [], //肾脏疾病
            a1002note: '', //肾脏疾病其他
            a10020: '',
            a1003: [], //心脏疾病
            a1003note: '', //心脏疾病其他
            a10030: '',
            a1004: [], //血管疾病
            a1004note: '', //血管疾病其他
            a10040: '',
            a1005: [], //眼部疾病
            a1005note: '', //眼部疾病其他
            a10050: '',
            a1006: [], //神经系统疾病
            a1006note: '', //神经系统疾病其他
            a10060: '',
            a1007: [], //其他系统疾病
            a1007note: '', //其他系统疾病其他
            a10070: '',
            a1301: '', //中医体质综述
            a1201: '', //非免疫规划预防接种史
            a0701: '', //住院史
            a0702: '', //家庭病床史
            a1101: '', //主要用药情况
            a1401: '', //健康评价
            a1601: '', //中医指导
            a1501: '', //健康指导
            a15010: '', //健康指导
            a1504: '', //危险因素控制
            a15040: '',
            a150406: '',//减体重
            a150409: '',//其他
            a150408: '',//建议接种疫苗
            a150408note: '',//建议接种疫苗note
            valueA01041: '',
            valueA01042: '',
            valueA01043: '',
            valueA01044: '',
            a0401a: '',
            a0902a: '',
            a050103a: '',
            a050102a: '',
            a0608a: '',
            a0903a: '',
            a0904a: '',
            a0905a: '',
            a1001a: '',
            a080401a: '',
            a080402a: '',
            a080403a: '',
            a080404a: '',
            a080405a: '',
            a080406a: '',
            a080407a: '',
            a1002a: '',
            a1003a: '',
            a1004a: '',
            a1005a: '',
            a1006a: '',
            a1007a: '',
            showA01: false,//是否显示具体信息
            showA02: false,
            showA03: false,
            showA04: false,
            showA05: false,
            showA06: false,
            showA07: false,
            showA08: false,
            showA09: false,
            showA10: false,
            showA11: false,
            showA12: false,
            showA13: false,
            showA14: false,
            showA15: false,
            showA16: false,
            ScheduleNum: 0,//进度
            a150401Val: '',//健康指导提示
            a150402Val: '',
            a150403Val: '',
            a150404Val: '',
            a150405Val: '',
            a150406Val: '',
            a150407Val: '',
            a150408Val: '',
            a020204SelectList: [],//血常规下拉
            a020305SelectList: [],//尿常规下拉
            assessCatFlag: '',
            checked: true,
        };
        this.columns = [
            {
                title: '入院日期',
                dataIndex: 'inDate',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <DatePicker disabledDate={this.disabledDate} className='time' value={record.inDate ? moment(record.inDate, dayFormat) : undefined} style={{ width: '96%' }} onChange={(e) => this.handleTimeChange(e, 'inDate', record.patHospID ? record.patHospID : record.key)} />
                }
            },
            {
                title: '出院日期',
                dataIndex: 'outDate',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <DatePicker disabledDate={this.disabledDate} className='time' value={record.outDate ? moment(record.outDate, dayFormat) : undefined} style={{ width: '96%' }} onChange={(e) => this.handleTimeChange(e, 'outDate', record.patHospID ? record.patHospID : record.key)} />
                }
            },
            {
                title: '原因',
                dataIndex: 'reason',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleFieldChange(e, 'reason', record.patHospID ? record.patHospID : record.key)} />
                }
            },
            {
                title: '医疗机构名称',
                dataIndex: 'hospName',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleFieldChange(e, 'hospName', record.patHospID ? record.patHospID : record.key)} />
                }
            },
            {
                title: '病案号',
                dataIndex: 'medicalNo',
                width: 80,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleFieldChange(e, 'medicalNo', record.patHospID ? record.patHospID : record.key)} />
                }
            },
            {
                title: '操作',
                dataIndex: 'opertion',
                width: 80,
                align: 'center',
                render: (text, data) => {
                    return <span>
                        <Popconfirm title="确定要删除吗?" onConfirm={this.deleteA0701Data.bind(this, data)} >
                            <span className='span' style={{ color: 'rgba(240,65,52,1)' }}>删除</span>
                        </Popconfirm>
                    </span>
                }
            },
        ];
        this.columnsTable = [
            {
                title: '建床日期',
                dataIndex: 'inDate',
                width: 160,
                align: 'center',
                render: (text, record) => {
                    return <DatePicker value={record.inDate ? moment(record.inDate, dayFormat) : undefined} disabledDate={this.disabledDate} className='time' style={{ width: '96%' }} onChange={(e) => this.handleFamilTimeChange(e, 'inDate', record.id ? record.id : record.key)} format={dayFormat} />
                }
            },
            {
                title: '撤床日期',
                dataIndex: 'outDate',
                width: 160,
                align: 'center',
                render: (text, record) => {
                    return <DatePicker value={record.outDate ? moment(record.outDate, dayFormat) : undefined} disabledDate={this.disabledDate} className='time' style={{ width: '96%' }} onChange={(e) => this.handleFamilTimeChange(e, 'outDate', record.id ? record.id : record.key)} />
                }
            },
            {
                title: '原因',
                dataIndex: 'reason',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleFamilChange(e, 'reason', record.id ? record.id : record.key)} />
                }
            },
            {
                title: '医疗机构名称',
                dataIndex: 'hospName',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleFamilChange(e, 'hospName', record.id ? record.id : record.key)} />
                }
            },
            {
                title: '病案号',
                dataIndex: 'medicalNo',
                width: 80,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleFamilChange(e, 'medicalNo', record.id ? record.id : record.key)} />
                }
            },
            {
                title: '操作',
                dataIndex: 'opertion',
                width: 80,
                align: 'center',
                render: (text, data) => {
                    return <span>
                        <Popconfirm title="确定要删除吗?" onConfirm={this.deleteA0702Data.bind(this, data)} >
                            <span className='span' style={{ color: 'rgba(240,65,52,1)' }}>删除</span>
                        </Popconfirm>
                    </span>
                }
            },
        ];
        this.medicationTable = [
            {
                title: '药品名称',
                dataIndex: 'drugName',
                width: '15%',
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleMainChange(e, 'drugName', record.ID ? record.ID : record.key)} />
                }
            },
            {
                title: '用法',
                dataIndex: 'usage',
                width: '15%',
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleMainChange(e, 'usage', record.ID ? record.ID : record.key)} />
                }
            },
            {
                title: '用量',
                dataIndex: 'dose',
                width: '10%',
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleMainChange(e, 'dose', record.ID ? record.ID : record.key)} />
                }
            },
            {
                title: '用药时间',
                dataIndex: 'date',
                width: '28%',
                align: 'center',
                render: (text, record) => {
                    return <div className='table-scl'>
                        <span><Input value={record.drugDuration} onChange={(e) => { this.handleMainChange(e, 'drugDuration', record.ID ? record.ID : record.key) }} /></span>
                        <span>
                            <Select defaultValue="天" value={record.durationUnit} style={{ width: "50px", height: '26px', verticalAlign: 'top' }} onChange={(e) => { this.handleMainChange(e, 'durationUnit', record.ID ? record.ID : record.key) }}>
                                <Option value="天">天</Option>
                                <Option value="月">月</Option>
                                <Option value="年">年</Option>
                            </Select>
                        </span>
                    </div>
                }
            },
            {
                title: '服药依从性',
                dataIndex: 'drugComplianceID',
                width: '27%',
                align: 'center',
                render: (text, record) => {
                    return <Radio.Group style={{ width: '100%', padding: '0' }} value={text} onChange={(e) => this.handleMainChange(e, 'drugComplianceID', record.ID ? record.ID : record.key)}>
                        {this.state.MedicationSelect.length > 0 && this.state.MedicationSelect.map((item, key) => {
                            return <Radio key={key} value={item.code}>{item.descripts}</Radio>
                        })

                        }
                    </Radio.Group>
                }
            },
            {
                title: '操作',
                dataIndex: 'opertion',
                width: 80,
                align: 'center',
                render: (text, data) => {
                    return <span>
                        <Popconfirm title="确定要删除吗?" onConfirm={this.deleteA11Data.bind(this, data)} >
                            <span className='span' style={{ color: 'rgba(240,65,52,1)' }}>删除</span>
                        </Popconfirm>
                    </span>
                }
            },
        ];
        this.UnplannedTable = [
            {
                title: '名称',
                dataIndex: 'vaccineName',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleTvaccineChange(e, 'vaccineName', record.id ? record.id : record.key)} />
                }
            },
            {
                title: '接种日期',
                dataIndex: 'vaccineDate',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <DatePicker
                        disabledDate={this.disabledDate}
                        className='time'
                        value={record.vaccineDate ? moment(record.vaccineDate, dayFormat) : ''}
                        onChange={(e) => this.handleTvaccineimeChange(e, 'vaccineDate', record.id ? record.id : record.key)}
                        style={{ width: '96%' }}
                    />
                }
            },
            {
                title: '接种机构',
                dataIndex: 'hospName',
                width: 150,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleTvaccineChange(e, 'hospName', record.id ? record.id : record.key)} />
                }
            },
            {
                title: '操作',
                dataIndex: 'opertion',
                width: 80,
                align: 'center',
                render: (text, data) => {
                    return <span>
                        <Popconfirm title="确定要删除吗?" onConfirm={this.deleteA12Data.bind(this, data)} >
                            <span className='span' style={{ color: 'rgba(240,65,52,1)' }}>删除</span>
                        </Popconfirm>
                    </span>
                }
            },
        ];
        this.EvaluationTable = [
            {
                title: '序号',
                dataIndex: 'Code',
                width: 50,
                align: 'center',
                render: (text, record, index) => {
                    return <span>{index + 1}</span>
                }
            },
            {
                title: '异常项目',
                dataIndex: 'item',
                width: 250,
                align: 'center',
            },
            {
                title: '评价为异常',
                dataIndex: 'abnormal',
                width: 100,
                align: 'center',
                render: (text, record) => {
                    return <Checkbox checked={record.abnormal == "Y" ? true : false} onChange={(e) => this.handleAssessmentChange(e, 'abnormal', record.ID ? record.ID : record.key)}></Checkbox>
                }
            },
            {
                title: '评价内容',
                dataIndex: 'appraise',
                width: 200,
                align: 'center',
                render: (text, record) => {
                    return <Input style={{ width: '96%' }} value={text} onChange={(e) => this.handleAssessmentChange(e, 'appraise', record.ID ? record.ID : record.key)} />
                }
            },
            {
                title: '操作',
                dataIndex: 'opertion',
                width: 80,
                align: 'center',
                render: (text, data) => {
                    return <span>
                        <Popconfirm title="确定要删除吗?" onConfirm={this.deleteA14Data.bind(this, data)} >
                            <span className='span' style={{ color: 'rgba(240,65,52,1)' }}>删除</span>
                        </Popconfirm>
                    </span>
                }
            },
        ]
    }

    componentDidMount() {
        this.props.onRef(this);
        this.initialData();
        this.getIconUrl();
    }
    componentWillUnmount() {
        sessionStorage.removeItem("healthRecordID");
        sessionStorage.removeItem("changeValue")
    }

    disabledDate = (current) => {
        // Can not select days before today and today
        return current && current > moment().endOf('day');
    };
    getList = (val) => {
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : '';
        let data = {
            params: [{
                userID: this.state.userData.userID,
                hospID: this.state.userData.hospID,
                healthRecordID: val ? val : seesionID,
            }]
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070025",
            data: data,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ leftList: res.result.data }, () => {
                        let val = res.result.data;
                        let showA01 = val.some(item => { if (item.assCode == 'a01') { return true } });
                        let showA02 = val.some(item => { if (item.assCode == 'a02') { return true } });
                        let showA03 = val.some(item => { if (item.assCode == 'a03') { return true } });
                        let showA04 = val.some(item => { if (item.assCode == 'a04') { return true } });
                        let showA05 = val.some(item => { if (item.assCode == 'a05') { return true } });
                        let showA06 = val.some(item => { if (item.assCode == 'a06') { return true } });
                        let showA07 = val.some(item => { if (item.assCode == 'a07') { return true } });
                        let showA08 = val.some(item => { if (item.assCode == 'a08') { return true } });
                        let showA09 = val.some(item => { if (item.assCode == 'a09') { return true } });
                        let showA10 = val.some(item => { if (item.assCode == 'a10') { return true } });
                        let showA11 = val.some(item => { if (item.assCode == 'a11') { return true } });
                        let showA12 = val.some(item => { if (item.assCode == 'a12') { return true } });
                        let showA13 = val.some(item => { if (item.assCode == 'a13') { return true } });
                        let showA14 = val.some(item => { if (item.assCode == 'a14') { return true } });
                        let showA15 = val.some(item => { if (item.assCode == 'a15') { return true } });
                        let showA16 = val.some(item => { if (item.assCode == 'a16') { return true } });
                        this.setState({
                            showA01, showA02, showA03, showA04, showA05, showA06, showA07, showA08,
                            showA09, showA10, showA11, showA12, showA13, showA14, showA15, showA16,
                        })
                    })
                }
            }
        });
    }

    //初始接口获取患者信息
    initialData = () => {
        let data = {
            params: [{
                patID: this.state.patID ? this.state.patID : '',
            }]
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070028",
            data: data,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ userInfo: res.result[0] })
                }
            }
        });
        //获取医生下拉
        let hospCode = {
            params: [{
                hospID: this.state.userData.hospID ? this.state.userData.hospID : '',
            }]
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070033",
            data: hospCode,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ selectData: res.result.data }, () => {
                        if (this.state.selectData.length > 0) {
                            let a = this.state.selectData.filter((item) => item.id == this.state.userData.userID);
                            let showUserID = a.length > 0 ? true : false;
                            this.setState({ showUserID });
                            if (this.childModal.state.recordingData && this.childModal.state.recordingData.length == '0') {
                                this.setState({ showDefault: true })
                            }
                        }
                    })
                }
            }
        })
        //获取依从性下拉
        let MedicationSelect = {
            params: []
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070041",
            data: MedicationSelect,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ MedicationSelect: res.data })
                }
            }
        });

        //获取血常规
        let a020204Select = {
            params: []
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070105",
            data: a020204Select,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ a020204SelectList: res.result })
                }
            }
        })
        //获取尿常规
        let a020305Select = {
            params: []
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070106",
            data: a020305Select,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ a020305SelectList: res.result })
                }
            }
        })
    };
    getIconUrl = () => {
        let { userData } = this.state;
        let aSelect = {
            params: [{
                userID: userData.userID,
                locID: userData.locID,
                groupID: userData.groupID,
                hospID: userData.hospID
            }]
        };
        // 获取下拉数据
        $http.post('urlS', this, {
            code: "03070114",
            data: aSelect,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({ iconImg: res.result })
                }
            }
        })
    }
    handleCancel = () => this.setState({ previewVisible: false });

    handleChange = ({ fileList }) => {
        this.setState({ fileList });
    };

    //删除体检表
    deleteExamination = () => {
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : "";
        // let {seesionID} =this.state;
        if (seesionID || this.childModal.state.detailsId) {
            var params = {
                params: [{
                    userID: this.state.userData.userID,
                    healthRecordID: seesionID ? seesionID : '',
                    status: 'C'
                }]
            }
            $http.post('urlDeault', this, {
                code: "03070070",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        message.success(res.errorMessage);
                        this.childModal.initialData();
                    }
                }
            });
        }
    };

    //保存体检表
    saveTable = () => {
        this.setState({ looding: false })
        let { userData, generally, Auxiliaryxamination, lifestyle, symptom, organFunction, physicalExamination, pastHistory, familyHistorySelect, newQuestionData, healthAssessmentSelect, nonImmunization, mainMedicationSelect, familyBedHistoryAll, healthAssessmentData, healthGuidance, patID } = this.state;
        if (!this.state.doctorID && !this.state.userData.userID) {
            message.error('责任医生不能为空');
            return
        }
        let tooth1 = this.state.a050102noteValue1.length > 0 ? this.state.a050102noteValue1.toString().replace(/,/g, '') : '';
        let tooth2 = this.state.a050102noteValue2.length > 0 ? this.state.a050102noteValue2.toString().replace(/,/g, '') : '';
        let tooth3 = this.state.a050102noteValue3.length > 0 ? this.state.a050102noteValue3.toString().replace(/,/g, '') : '';
        let tooth4 = this.state.a050102noteValue4.length > 0 ? this.state.a050102noteValue4.toString().replace(/,/g, '') : '';
        let tooth5 = this.state.a050102noteValue5.length > 0 ? this.state.a050102noteValue5.toString().replace(/,/g, '') : '';
        let tooth6 = this.state.a050102noteValue6.length > 0 ? this.state.a050102noteValue6.toString().replace(/,/g, '') : '';
        let tooth7 = this.state.a050102noteValue7.length > 0 ? this.state.a050102noteValue7.toString().replace(/,/g, '') : '';
        let tooth8 = this.state.a050102noteValue8.length > 0 ? this.state.a050102noteValue8.toString().replace(/,/g, '') : '';
        let tooth9 = this.state.a050102noteValue9.length > 0 ? this.state.a050102noteValue9.toString().replace(/,/g, '') : '';
        let tooth10 = this.state.a050102noteValue10.length > 0 ? this.state.a050102noteValue10.toString().replace(/,/g, '') : '';
        let tooth11 = this.state.a050102noteValue11.length > 0 ? this.state.a050102noteValue11.toString().replace(/,/g, '') : '';
        let tooth12 = this.state.a050102noteValue12.length > 0 ? this.state.a050102noteValue12.toString().replace(/,/g, '') : '';
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : '';
        let healthList = healthGuidance.a1504 ? healthGuidance.a1504.split('&') : [];
        // let {seesionID} =this.state;
        let data = {
            params: [{
                picture: this.childIcon.getImgStr(),
                drugPhotos: this.childPhotos.getImgStr(),
                healthDate: this.state.healthRecordDate,
                doctorID: this.state.doctorID ? this.state.doctorID : this.state.userData.userID,
                locID: userData.locID ? userData.locID : '',
                hospID: userData.hospID ? userData.hospID : '',
                patID: patID ? patID : '',
                healthRecordID: seesionID ? seesionID : this.childModal.state.detailsId,
                assessCat: [
                    {
                        assessCatCode: 'a01',
                        assessItem: [
                            {
                                assessItemCode: 'a0101',
                                assessItemValue: this.state.a0101 || generally['a0101'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0102',
                                assessItemValue: this.state.a0102 || generally['a0102'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0103',
                                assessItemValue: this.state.a0103 || generally['a0103'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a010401',
                                assessItemValue: this.state.valueA01043 || this.state.valueA01044 ? this.state.valueA01043 + '&' + this.state.valueA01044 : generally['a010401'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a010402',
                                assessItemValue: this.state.valueA01041 || this.state.valueA01042 ? this.state.valueA01041 + '&' + this.state.valueA01042 : generally['a010402'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0105',
                                assessItemValue: this.state.a0105 || generally['a0105'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0106',
                                assessItemValue: this.state.a0106 || generally['a0106'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0107',
                                assessItemValue: this.state.a0107 || generally['a0107'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0108',
                                assessItemValue: this.state.a0108 || generally['a0108'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a010901',
                                assessItemValue: this.state.a010901 || generally['a010901'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a010902',
                                assessItemValue: this.state.a010902 || generally['a010902'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a010903',
                                assessItemValue: this.state.a010903 || generally['a010903'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a010904',
                                assessItemValue: this.state.a010904 || generally['a010904'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a02',
                        assessItem: [
                            {
                                assessItemCode: 'a0201',
                                assessItemValue: this.state.a0201 || Auxiliaryxamination['a0201'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0213',
                                assessItemValue: this.state.a0213 || Auxiliaryxamination['a0213'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020201',
                                assessItemValue: this.state.a020201 || Auxiliaryxamination['a020201'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020202',
                                assessItemValue: this.state.a020202 || Auxiliaryxamination['a020202'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020203',
                                assessItemValue: this.state.a020203 || Auxiliaryxamination['a020203'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020204',
                                assessItemValue: this.state.a020204Input,
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020301',
                                assessItemValue: this.state.a020301 || Auxiliaryxamination['a020301'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020302',
                                assessItemValue: this.state.a020302 || Auxiliaryxamination['a020302'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020303',
                                assessItemValue: this.state.a020303 || Auxiliaryxamination['a020303'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020304',
                                assessItemValue: this.state.a020304 || Auxiliaryxamination['a020304'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020305',
                                assessItemValue: this.state.a020305Input,
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0204',
                                assessItemValue: this.state.valueXTL || this.state.valueXTR ? (this.state.valueXTL + '&' + this.state.valueXTR) : Auxiliaryxamination['a0204'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020501',
                                assessItemValue: this.state.a020501 || Auxiliaryxamination['a020501'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020502',
                                assessItemValue: this.state.a020502 || Auxiliaryxamination['a020502'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020503',
                                assessItemValue: this.state.a020503 || Auxiliaryxamination['a020503'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020601',
                                assessItemValue: this.state.a020601 || Auxiliaryxamination['a020601'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020602',
                                assessItemValue: this.state.a020602 || Auxiliaryxamination['a020602'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020701',
                                assessItemValue: this.state.a020701 || Auxiliaryxamination['a020701'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020702',
                                assessItemValue: this.state.a020702 || Auxiliaryxamination['a020702'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020703',
                                assessItemValue: this.state.a020703 || Auxiliaryxamination['a020703'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a020704',
                                assessItemValue: this.state.a020704 || Auxiliaryxamination['a020704'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0208',
                                assessItemValue: this.state.a0208 || Auxiliaryxamination['a0208'],
                                assessNote: ''
                            },
                            // {
                            //     assessItemCode:'a0209',
                            //     assessItemValue: this.state.a0209 || Auxiliaryxamination['a0209'],
                            //     assessNote:''
                            // },
                            {
                                assessItemCode: 'a0210',
                                assessItemValue: this.state.a0210 || Auxiliaryxamination['a0210'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0211',
                                assessItemValue: this.state.a0211 || Auxiliaryxamination['a0211'],
                                assessNote: Auxiliaryxamination['a0211'] == 'a021102' ? Auxiliaryxamination['a0211note'] : ''
                            },
                            {
                                assessItemCode: 'a0212',
                                assessItemValue: this.state.a0212 || Auxiliaryxamination['a0212'],
                                assessNote: Auxiliaryxamination['a0212'] == 'a021202' ? Auxiliaryxamination['a0212note'] : ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a03',
                        assessItem: [
                            {
                                assessItemCode: 'a030101',
                                assessItemValue: this.state.a030101 || lifestyle['a030101'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030102',
                                assessItemValue: this.state.a030102 || lifestyle['a030102'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030103',
                                assessItemValue: this.state.a030103 || lifestyle['a030103'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030104',
                                assessItemValue: this.state.a030104 || lifestyle['a030104'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030105',
                                assessItemValue: this.state.a030105 || lifestyle['a030105'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0302',
                                assessItemValue: lifestyle['a0302'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030301',
                                assessItemValue: this.state.a030301 || lifestyle['a030301'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030302',
                                assessItemValue: this.state.a030302 || lifestyle['a030302'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030303',
                                assessItemValue: this.state.a030303 || lifestyle['a030303'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030304',
                                assessItemValue: this.state.a030304 || lifestyle['a030304'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030401',
                                assessItemValue: this.state.a030401 || lifestyle['a030401'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030402',
                                assessItemValue: this.state.a030402 || lifestyle['a030402'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030403',
                                assessItemValue: this.state.a030403 || lifestyle['a030403'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030404',
                                assessItemValue: this.state.a030404 || lifestyle['a030404'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030405',
                                assessItemValue: this.state.a030405 || lifestyle['a030405'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030406',
                                assessItemValue: this.state.a030406 || lifestyle['a030406'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030407',
                                assessItemValue: lifestyle['a030407'],
                                assessNote: lifestyle.a030407 && lifestyle.a030407.indexOf('a03040705') !== -1 ? lifestyle['a030407note'] || this.state.a03040705 : ''
                            },
                            {
                                assessItemCode: 'a0305',
                                assessItemValue: this.state.a0305 || lifestyle['a0305'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030503',
                                assessItemValue: this.state.a030503 || lifestyle['a030503'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a030504',
                                assessItemValue: this.state.a030504 || lifestyle['a030504'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a03050501',
                                assessItemValue: this.state.a03050501 || lifestyle['a03050501'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0305050101',
                                assessItemValue: this.state.a0305050101 || lifestyle['a0305050101'],
                                assessNote: this.state.a0305050101 == 'a030505010101' ? this.state.a0305050101note : lifestyle['a0305050101note']
                            },
                            {
                                assessItemCode: 'a03050502',
                                assessItemValue: this.state.a03050502 || lifestyle['a03050502'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0305050201',
                                assessItemValue: this.state.a0305050201 || lifestyle['a0305050201'],
                                assessNote: this.state.a0305050201 == 'a030505020102' ? this.state.a0305050201note : lifestyle['a0305050201note']
                            },
                            {
                                assessItemCode: 'a03050503',
                                assessItemValue: this.state.a03050503 || lifestyle['a03050503'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a03050504',
                                assessItemValue: this.state.a03050504 || lifestyle['a03050504'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a03050505',
                                assessItemValue: this.state.a03050505 || lifestyle['a03050505'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0305050301',
                                assessItemValue: this.state.a0305050301 || lifestyle['a0305050301'],
                                assessNote: this.state.a0305050301 == 'a030505030102' ? this.state.a0305050301note : lifestyle['a0305050301note']
                            },
                            {
                                assessItemCode: 'a0305050401',
                                assessItemValue: this.state.a0305050401 || lifestyle['a0305050401'],
                                assessNote: this.state.a0305050401 == 'a030505040102' ? this.state.a0305050401note : lifestyle['a0305050401note']
                            },
                            {
                                assessItemCode: 'a0305050501',
                                assessItemValue: this.state.a0305050501 || lifestyle['a0305050501'],
                                assessNote: this.state.a0305050501 == 'a030505050102' ? this.state.a0305050501note : lifestyle['a0305050501note']
                            },
                            // {
                            //     assessItemCode: 'a04',
                            //     assessItemValue: this.state.a04 || lifestyle['a04'],
                            //     assessNote: this.state.a04 == 'a04024' ? this.state.a04note :lifestyle['a04note']
                            // },
                        ]
                    },
                    {
                        assessCatCode: 'a04',
                        assessItem: [
                            {
                                assessItemCode: 'a0401',
                                assessItemValue: this.state.a0401 || symptom['a0401'],
                                assessNote: this.state.a0401 == 'a040124' ? this.state.a0401note : symptom['a0401note']
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a05',
                        assessItem: [
                            {
                                assessItemCode: 'a050101',
                                assessItemValue: this.state.a050101 || organFunction['a050101'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a050102',
                                assessItemValue: this.state.a0501020 || organFunction['a050102'],
                                assessNote: organFunction['a050102'] !== 'a05010201' ? tooth1 + '|' + tooth2 + '|' + tooth3 + '|' + tooth4 + '&' + tooth5 + '|' + tooth6 + '|' + tooth7 + '|' + tooth8 + '&' + tooth9 + '|' + tooth10 + '|' + tooth11 + '|' + tooth12 : organFunction['a050102note']
                            },
                            {
                                assessItemCode: 'a050103',
                                assessItemValue: this.state.a0501030 || organFunction['a050103'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0502',
                                assessItemValue: this.state.a0502 || organFunction['a0502'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0503',
                                assessItemValue: this.state.a0503 || organFunction['a0503'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a06',
                        assessItem: [
                            {
                                assessItemCode: 'a0601',
                                assessItemValue: this.state.a0601 || physicalExamination['a0601'],
                                assessNote: this.state.a0601 == 'a060107' ? this.state.a0601note : physicalExamination['a0601note']
                            },
                            {
                                assessItemCode: 'a0602',
                                assessItemValue: this.state.a0602 || physicalExamination['a0602'],
                                assessNote: this.state.a0602 == 'a060204' ? this.state.a0602note : physicalExamination['a0602note']
                            },
                            {
                                assessItemCode: 'a0603',
                                assessItemValue: this.state.a0603 || physicalExamination['a0603'],
                                assessNote: this.state.a0603 == 'a060204' ? this.state.a0603note : physicalExamination['a0603note']
                            },
                            {
                                assessItemCode: 'a060401',
                                assessItemValue: this.state.a060401 || physicalExamination['a060401'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a060402',
                                assessItemValue: this.state.a060402 || physicalExamination['a060402'],
                                assessNote: this.state.a060402 == 'a06040202' ? this.state.a060402note : physicalExamination['a060402note']
                            },
                            {
                                assessItemCode: 'a060403',
                                assessItemValue: this.state.a060403 || physicalExamination['a060403'],
                                assessNote: this.state.a060403 == 'a06040304' ? this.state.a060403note : physicalExamination['a060403note']
                            },
                            {
                                assessItemCode: 'a06050101',
                                assessItemValue: this.state.a06050101 || physicalExamination['a06050101'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a06050102',
                                assessItemValue: this.state.a06050102 || physicalExamination['a06050102'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a060502',
                                assessItemValue: this.state.a060502 || physicalExamination['a060502'],
                                assessNote: this.state.a060502 == 'a06050202' ? this.state.a060502note : physicalExamination['a060502note']
                            },
                            {
                                assessItemCode: 'a060601',
                                assessItemValue: this.state.a060601 || physicalExamination['a060601'],
                                assessNote: this.state.a060502 == 'a06060102' ? this.state.a060601note : physicalExamination['a060601note']
                            },
                            {
                                assessItemCode: 'a060602',
                                assessItemValue: this.state.a060602 || physicalExamination['a060602'],
                                assessNote: this.state.a060602 == 'a06060202' ? this.state.a060602note : physicalExamination['a060602note']
                            },
                            {
                                assessItemCode: 'a060603',
                                assessItemValue: this.state.a060603 || physicalExamination['a060603'],
                                assessNote: this.state.a060603 == 'a06060302' ? this.state.a060603note : physicalExamination['a060603note']
                            },
                            {
                                assessItemCode: 'a060604',
                                assessItemValue: this.state.a060604 || physicalExamination['a060604'],
                                assessNote: this.state.a060604 == 'a06060402' ? this.state.a060604note : physicalExamination['a060604note']
                            },
                            {
                                assessItemCode: 'a060605',
                                assessItemValue: this.state.a060605 || physicalExamination['a060605'],
                                assessNote: this.state.a060605 == 'a06060502' ? this.state.a060605note : physicalExamination['a060605note']
                            },
                            {
                                assessItemCode: 'a0607',
                                assessItemValue: this.state.a0607 || physicalExamination['a0607'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0608',
                                assessItemValue: this.state.a06080 || physicalExamination['a0608'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0609',
                                assessItemValue: this.state.a0609 || physicalExamination['a0609'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a07',
                        assessItem: [
                            {
                                assessItemCode: 'a0701',
                                assessItemValue: this.state.a0701 || familyBedHistoryAll['a0701'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0702',
                                assessItemValue: this.state.a0702 || familyBedHistoryAll['a0702'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a07',
                        tableData: [
                            {
                                code: 'a0701',
                                data: this.state.dataSource
                            },
                            {
                                code: 'a0702',
                                data: this.state.familyHistoryData
                            }
                        ]
                    },
                    {
                        assessCatCode: 'a08',
                        assessItem: [
                            {
                                assessItemCode: 'a0801',
                                assessItemValue: this.state.a0801 || pastHistory['a0801'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080103',
                                assessItemValue: this.state.a080103 || pastHistory['a080103'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080104',
                                assessItemValue: this.state.a080104 || pastHistory['a080104'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0802',
                                assessItemValue: this.state.a0802 || pastHistory['a0802'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080203',
                                assessItemValue: this.state.a080203 || pastHistory['a080203'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080204',
                                assessItemValue: this.state.a080204 || pastHistory['a080204'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a0803',
                                assessItemValue: this.state.a0803 || pastHistory['a0803'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080303',
                                assessItemValue: this.state.a080303 || pastHistory['a080303'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080304',
                                assessItemValue: this.state.a080304 || pastHistory['a080304'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a080401',
                                assessItemValue: this.state.a080401.length > 0 ? this.state.a080401 : '' || pastHistory['a080401'],
                                assessNote: this.state.a080401note || pastHistory['a080401note']
                            },
                            {
                                assessItemCode: 'a080402',
                                assessItemValue: this.state.a080402.length > 0 ? this.state.a080402 : '' || pastHistory['a080402'],
                                assessNote: this.state.a080402note || pastHistory['a080402note']
                            },
                            {
                                assessItemCode: 'a080403',
                                assessItemValue: this.state.a080403.length > 0 ? this.state.a080403 : '' || pastHistory['a080403'],
                                assessNote: this.state.a080403note || pastHistory['a080403note']
                            },
                            {
                                assessItemCode: 'a080405',
                                assessItemValue: this.state.a080405.length > 0 ? this.state.a080405 : '' || pastHistory['a080405'],
                                assessNote: this.state.a080405note || pastHistory['a080405note']
                            },
                            {
                                assessItemCode: 'a080404',
                                assessItemValue: this.state.a080404.length > 0 ? this.state.a080404 : '' || pastHistory['a080404'],
                                assessNote: this.state.a080404note || pastHistory['a080404note']
                            },
                            {
                                assessItemCode: 'a080406',
                                assessItemValue: this.state.a080406.length > 0 ? this.state.a080406 : '' || pastHistory['a080406'],
                                assessNote: this.state.a080406note || pastHistory['a080406note']
                            },
                            {
                                assessItemCode: 'a080407',
                                assessItemValue: this.state.a080407.length > 0 ? this.state.a080407 : '' || pastHistory['a080407'],
                                assessNote: this.state.a080407note || pastHistory['a080407note']
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a09',
                        assessItem: [
                            {
                                assessItemCode: 'a0902',
                                assessItemValue: this.state.a0902.length > 0 ? this.state.a0902 : '' || familyHistorySelect['a0902'],
                                assessNote: this.state.a0902 == 'a090212' ? this.state.a0902note : familyHistorySelect['a0902note']
                            },
                            {
                                assessItemCode: 'a0903',
                                assessItemValue: this.state.a0903.length > 0 ? this.state.a0903 : '' || familyHistorySelect['a0903'],
                                assessNote: this.state.a0903 == 'a090312' ? this.state.a0903note : familyHistorySelect['a0903note']
                            },
                            {
                                assessItemCode: 'a0904',
                                assessItemValue: this.state.a0904.length > 0 ? this.state.a0904 : '' || familyHistorySelect['a0904'],
                                assessNote: this.state.a0904 == 'a090412' ? this.state.a0904note : familyHistorySelect['a0904note']
                            },
                            {
                                assessItemCode: 'a0905',
                                assessItemValue: this.state.a0905.length > 0 ? this.state.a0905 : '' || familyHistorySelect['a0905'],
                                assessNote: this.state.a0905 == 'a090512' ? this.state.a0905note : familyHistorySelect['a0905note']
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a10',
                        assessItem: [
                            {
                                assessItemCode: 'a1001',
                                assessItemValue: this.state.a1001.length > 0 ? this.state.a1001 : '' || newQuestionData['a1001'],
                                assessNote: this.state.a1001 == 'a100106' ? this.state.a1001note : newQuestionData['a1001note']
                            },
                            {
                                assessItemCode: 'a1002',
                                assessItemValue: this.state.a1002.length > 0 ? this.state.a1002 : '' || newQuestionData['a1002'],
                                assessNote: this.state.a1002 == 'a100206' ? this.state.a1002note : newQuestionData['a1002note']
                            },
                            {
                                assessItemCode: 'a1003',
                                assessItemValue: this.state.a1003.length > 0 ? this.state.a1003 : '' || newQuestionData['a1003'],
                                assessNote: this.state.a1003 == 'a100307' ? this.state.a1003note : newQuestionData['a1003note']
                            },
                            {
                                assessItemCode: 'a1004',
                                assessItemValue: this.state.a1004.length > 0 ? this.state.a1004 : '' || newQuestionData['a1004'],
                                assessNote: this.state.a1004 == 'a100404' ? this.state.a1004note : newQuestionData['a1004note']
                            },
                            {
                                assessItemCode: 'a1005',
                                assessItemValue: this.state.a1005.length > 0 ? this.state.a1005 : '' || newQuestionData['a1005'],
                                assessNote: this.state.a1005 == 'a100505' ? this.state.a1005note : newQuestionData['a1005note']
                            },
                            {
                                assessItemCode: 'a1006',
                                assessItemValue: this.state.a1006.length > 0 ? this.state.a1006 : '' || newQuestionData['a1006'],
                                assessNote: this.state.a1006 == 'a100604' ? this.state.a1006note : newQuestionData['a1006note']
                            },
                            {
                                assessItemCode: 'a1007',
                                assessItemValue: this.state.a1007.length > 0 ? this.state.a1007 : '' || newQuestionData['a1007'],
                                assessNote: this.state.a1007 == 'a100706' ? this.state.a1007note : newQuestionData['a1007note']
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a11',
                        assessItem: [
                            {
                                assessItemCode: 'a1101',
                                assessItemValue: this.state.a1101 || mainMedicationSelect['a1101'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a11',
                        tableData: [
                            {
                                code: 'a11',
                                data: this.state.mainMedicationData
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a12',
                        assessItem: [
                            {
                                assessItemCode: 'a1201',
                                assessItemValue: this.state.a1201 || nonImmunization['a1201'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a12',
                        tableData: [
                            {
                                code: 'a12',
                                data: this.state.UnplannedVaccinationData
                            },
                        ]
                    },
                    // {
                    //     assessCatCode: 'a13',
                    //     assessItem: [
                    //         {
                    //             assessItemCode: 'a1301',
                    //             assessItemValue: this.state.a1301 || PhysiqueReview['a1301'],
                    //             assessNote: ''
                    //         },
                    //     ]
                    // },
                    {
                        assessCatCode: 'a14',
                        assessItem: [
                            {
                                assessItemCode: 'a1401',
                                assessItemValue: this.state.a1401 || healthAssessmentSelect['a1401'],
                                assessNote: ''
                            },
                        ]
                    },
                    {
                        assessCatCode: 'a14',
                        tableData: [
                            {
                                code: 'a14',
                                data: healthAssessmentData
                            },
                        ]
                    },
                    // {
                    //     assessCatCode: 'a16',
                    //     assessItem: [
                    //         {
                    //             assessItemCode: 'a1601',
                    //             assessItemValue: this.state.a1601 || medicineGuidance['a1601'],
                    //             assessNote: ''
                    //         },
                    //     ]
                    // },
                    {
                        assessCatCode: 'a15',
                        assessItem: [
                            {
                                assessItemCode: 'a1501',
                                assessItemValue: this.state.a1501 || healthGuidance['a1501'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: 'a1504',
                                assessItemValue: this.state.a1504 || healthGuidance['a1504'],
                                assessNote: ''
                            },
                            {
                                assessItemCode: this.state.a15040.indexOf("a150406") !== -1 ? 'a150406' : undefined,
                                assessItemValue: this.state.a15040.indexOf("a150406") !== -1 ? this.state.a150406 || healthGuidance['a150406'] : undefined,
                                assessNote: ''
                            },
                            {
                                assessItemCode: healthGuidance['a1504'] && healthGuidance['a1504'].indexOf("a150408") !== -1 ? 'a150408' : undefined,
                                assessItemValue: healthGuidance['a1504'] && healthGuidance['a1504'].indexOf("a150408") !== -1 ? this.state.a150408 || healthGuidance['a150408'] : undefined,
                                assessNote: healthGuidance['a1504'] && healthGuidance['a1504'].indexOf("a150408") !== -1 && healthGuidance.a150408.indexOf('a15040803') !== -1 && healthGuidance['a150408note']
                            },
                            {
                                assessItemCode: healthList.indexOf("a150409") !== -1 ? 'a150409' : undefined,
                                assessItemValue: healthList.indexOf("a150409") !== -1 ? this.state.a150409 || healthGuidance['a150409'] : undefined,
                                assessNote: ''
                            },
                        ]
                    },
                ]
            }]
        };
        $http.post('urlS', this, {
            code: "03070035",
            data: data,
            success: function (res) {
                if (+res.errorCode === 0) {
                    children = [];
                    arr = [];
                    this.setState({ looding: true })
                    message.success(res.errorMessage);
                    this.clearForm();
                    this.childModal.initialData(this.childModal.state.detailsId);
                    window.sessionStorage.setItem("changeValue", JSON.stringify(false));
                    this.noClickChildTabs();
                } else {
                    this.setState({ looding: true })
                }
            }
        })
    };
    onRef = (ref) => {
        this.childModal = ref;
    };
    onRefIcon = (ref) => {
        this.childIcon = ref;
    };
    onPhotos = (ref) => {
        this.childPhotos = ref;
    };
    scrollToAnchor = (anchorName) => {
        this.setState({ classNameShow: anchorName })
        if (anchorName) {
            // 找到锚点
            let anchorElement = document.getElementById(anchorName);
            // 如果对应id的锚点存在，就跳转到锚点
            if (anchorElement) { anchorElement.scrollIntoView({ block: 'start', behavior: 'smooth' }); }
        }
    }
    //获取体检详情数据
    detailsData = (id) => {
        children = [];
        arr = [];
        let data = {
            params: [{
                userID: this.state.userData.userID,
                hospID: this.state.userData.hospID,
                healthRecordID: id ? id : '',
            }]
        };
        $http.post('urlS', this, {
            code: "03070037",
            data: data,
            success: function (res) {
                if (+res.errorCode === 0) {
                    let that = this;
                    let pictureData = res.result.picture ? res.result.picture : '';
                    if (pictureData) {
                        this.childIcon.tranList(pictureData);
                    } else {
                        this.childIcon.setState({ fileList: [] })
                    }
                    let allDataList = res.result.father ? res.result.father : [];

                    let general = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a01').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a01')[0].children : {} : {};//一般
                    let Auxiliaryxamination = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a02').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a02')[0].children : {} : {}; //辅助
                    let lifestyle = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a03').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a03')[0].children : {} : {}; //生活方式
                    let symptom = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a04').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a04')[0].children : {} : {}; //症状
                    let organFunction = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a05').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a05')[0].children : {} : {}; //脏器功能

                    let physicalExamination = allDataList.length > 0 ?
                        allDataList.filter(item => item.assessmentCatCode == 'a06').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a06')[0].children : {} : {}; //查体

                    let pastHistory = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a08').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a08')[0].children : {} : {}; //既往史
                    let familyHistorySelect = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a09').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a09')[0].children : {} : {}; //家庭史
                    let newQuestionData = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a10').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a10')[0].children : {} : {}; //现存问题
                    // let PhysiqueReview = allDataList.length>0 ?  allDataList.filter(item=> item.assessmentCatCode == 'a13').length>0 && allDataList.filter(item=> item.assessmentCatCode == 'a13')[0].children: {} ; //中医体质综述
                    let familyBedHistoryAll = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a07').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a07')[0].children : {} : {}; //住院治疗情况
                    let mainMedicationSelect = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a11').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a11')[0].children : {} : {}; //主要用药情况
                    let nonImmunization = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a12').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a12')[0].children : {} : {}; //非计划免疫预防接种史
                    let healthAssessmentSelect = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a14').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a14')[0].children : {} : {}; //健康评价有无异常
                    // let medicineGuidance = allDataList.length>0 ? allDataList.filter(item=> item.assessmentCatCode == 'a16').length>0 ? allDataList.filter(item=> item.assessmentCatCode == 'a16')[0].children : {} :{}; //中医指导
                    let healthGuidance = allDataList.length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a15').length > 0 ? allDataList.filter(item => item.assessmentCatCode == 'a15')[0].children : {} : {}; //健康指导
                    let copyData1 = JSON.parse(JSON.stringify(general));
                    let copyData2 = JSON.parse(JSON.stringify(Auxiliaryxamination));
                    let copyData3 = JSON.parse(JSON.stringify(lifestyle));
                    let copyData4 = JSON.parse(JSON.stringify(symptom));
                    let copyData5 = JSON.parse(JSON.stringify(organFunction));
                    let copyData6 = JSON.parse(JSON.stringify(physicalExamination));
                    let copyData7 = JSON.parse(JSON.stringify(pastHistory));
                    let copyData8 = JSON.parse(JSON.stringify(familyHistorySelect));
                    let copyData9 = JSON.parse(JSON.stringify(newQuestionData));
                    let copyData10 = JSON.parse(JSON.stringify(familyBedHistoryAll));
                    let copyData11 = JSON.parse(JSON.stringify(mainMedicationSelect));
                    let copyData12 = JSON.parse(JSON.stringify(nonImmunization));
                    let copyData13 = JSON.parse(JSON.stringify(healthAssessmentSelect));
                    // let   copyData14= JSON.parse(JSON.stringify(medicineGuidance));
                    let copyData15 = JSON.parse(JSON.stringify(healthGuidance));
                    this.setState({
                        generally: general, Auxiliaryxamination, lifestyle, symptom, organFunction, physicalExamination, pastHistory, familyHistorySelect, newQuestionData, mainMedicationSelect, familyBedHistoryAll, nonImmunization, healthAssessmentSelect, healthGuidance, pictureData, MainDrugPhotos,
                        valueXTL: Auxiliaryxamination.a0204 ? Auxiliaryxamination.a0204.split("&")[0] && Auxiliaryxamination.a0204.split("&")[0] : '',
                        valueXTR: Auxiliaryxamination.a0204 ? Auxiliaryxamination.a0204.split("&")[1] && Auxiliaryxamination.a0204.split("&")[1] : '',
                        a020204Input: Auxiliaryxamination.a020204 ? Auxiliaryxamination.a020204 : '',
                        a020305Input: Auxiliaryxamination.a020305 ? Auxiliaryxamination.a020305 : '',
                        valueA01041: general.a010402 ? general.a010402.split("&")[0] && general.a010402.split("&")[0] : '',
                        valueA01042: general.a010402 ? general.a010402.split("&")[1] && general.a010402.split("&")[1] : '',
                        valueA01043: general.a010401 ? general.a010401.split("&")[0] && general.a010401.split("&")[0] : '',
                        valueA01044: general.a010401 ? general.a010401.split("&")[1] && general.a010401.split("&")[1] : '',
                        a050102note1: organFunction.a050102note ? organFunction.a050102note.split("&")[0] && organFunction.a050102note.split("&")[0] : [],
                        a050102note2: organFunction.a050102note ? organFunction.a050102note.split("&")[1] && organFunction.a050102note.split("&")[1] : [],
                        a050102note3: organFunction.a050102note ? organFunction.a050102note.split("&")[2] && organFunction.a050102note.split("&")[2] : [],
                        copyData1,
                        copyData2,
                        copyData3,
                        copyData4,
                        copyData5,
                        copyData6,
                        copyData7,
                        copyData8,
                        copyData9,
                        copyData10,
                        copyData11,
                        copyData12,
                        copyData13,
                        copyData15,
                    }, () => {
                        let lack = this.state.a050102note1.length > 0 ? this.state.a050102note1.split('|') : [];
                        let Caries = this.state.a050102note2.length > 0 ? this.state.a050102note2.split('|') : [];
                        let denture = this.state.a050102note3.length > 0 ? this.state.a050102note3.split('|') : [];

                        this.setState({
                            a050102noteValue1: lack[0] ? lack[0].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue2: lack[1] ? lack[1].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue3: lack[2] ? lack[2].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue4: lack[3] ? lack[3].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue5: Caries[0] ? Caries[0].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue6: Caries[1] ? Caries[1].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue7: Caries[2] ? Caries[2].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue8: Caries[3] ? Caries[3].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue9: denture[0] ? denture[0].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue10: denture[1] ? denture[1].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue11: denture[2] ? denture[2].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],
                            a050102noteValue12: denture[3] ? denture[3].replace(/(.)(?=[^$])/g, "$1,").split(",") : [],

                        })
                    })
                    if (res.result.tableData.a0701.length > 0) {
                        for (var i = 0; i < res.result.tableData.a0701.length; i++) {
                            res.result.tableData.a0701[i].key = i
                        }
                        this.setState({ dataSource: res.result.tableData.a0701 })
                    }
                    if (res.result.tableData.a0702.length > 0) {
                        for (var i = 0; i < res.result.tableData.a0702.length; i++) {
                            res.result.tableData.a0702[i].key = i
                        }
                        this.setState({ familyHistoryData: res.result.tableData.a0702 })
                    }
                    if (res.result.tableData.a11.length > 0) {
                        for (var i = 0; i < res.result.tableData.a11.length; i++) {
                            res.result.tableData.a11[i].key = i
                        }
                        this.setState({ mainMedicationData: res.result.tableData.a11 })
                    }
                    //非计划免疫预防接种史
                    if (res.result.tableData.a12.length > 0) {
                        for (var i = 0; i < res.result.tableData.a12.length; i++) {
                            res.result.tableData.a12[i].key = i
                        }
                        this.setState({ UnplannedVaccinationData: res.result.tableData.a12 })
                    }
                    //健康评价
                    if (res.result.tableData.a14.length > 0) {
                        for (var i = 0; i < res.result.tableData.a14.length; i++) {
                            res.result.tableData.a14[i].key = i
                        }
                        this.setState({ healthAssessmentData: res.result.tableData.a14 })
                    }

                    if (this.state.selectData.length > 0) {
                        let a = this.state.selectData.filter((item) => item.id == res.result.doctorID);
                        let showDoctorID = a.length > 0 ? true : false;
                        this.setState({ doctorID: showDoctorID ? res.result.doctorID : "", })
                    }
                    this.setState({ recordingData: res.result, healthRecordID: res.result.healthRecordID, healthRecordDate: res.result.healthRecordDate });
                    let MainDrugPhotos = res.result.drugPhotos ? res.result.drugPhotos : '';
                    if (MainDrugPhotos) {
                        this.childPhotos.tranList(MainDrugPhotos);
                    } else {
                        this.childPhotos.setState({ fileList: [] })
                    }
                }
            }
        });
    };
    //清空表单
    clearForm = (v) => {
        if (v) {
            window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        } else {
            window.sessionStorage.setItem("changeValue", JSON.stringify(false));
        }

        sessionStorage.removeItem("healthRecordID");
        this.setState({
            showDefault: v ? true : false,
            generally: {},
            Auxiliaryxamination: {},
            lifestyle: {},
            symptom: {},
            organFunction: {},
            physicalExamination: {},
            pastHistory: {},
            familyHistorySelect: {},
            familyHistoryData: [],//家庭病床史表格数据
            newQuestionData: {},//现存主要问题表格数据
            mainMedicationData: [],//主要用药情况表格数据
            dataSource: [],
            UnplannedVaccinationData: [],
            nonImmunization: {},
            mainMedicationSelect: {},
            familyBedHistoryAll: {},
            healthAssessmentSelect: {},
            healthAssessmentData: [],
            medicineGuidance: {},
            healthGuidance: {},
            recordingData: {},
            healthRecordDate: '',
            doctorID: '',
            healthRecordID: '',
            copyData1: '',
            copyData2: '',
            copyData3: '',
            copyData4: '',
            copyData5: '',
            copyData6: '',
            copyData7: '',
            copyData8: '',
            copyData9: '',
            copyData10: '',
            copyData11: '',
            copyData12: '',
            copyData13: '',
            copyData14: '',
            copyData15: '',
            a0101: '',//体温
            a0102: '',//脉率
            a0103: '',//呼吸频率
            a010401: '',//血压右侧
            a010402: '',//血压左侧
            a010401XYRL: '',//血压右侧
            a010401XYRR: '',//血压右侧
            a010402XYL: '',//血压左侧
            a010402XYR: '',//血压左侧
            a0105: '',//身高
            a0106: '',//体重
            a0107: '',//腰围
            a0108: '',//BMI
            a010901: '',//视力左
            a010902: '',//视力右
            a010903: '',//矫正后视力左
            a010904: '',//矫正后视力右
            a0201: '',//血型
            a0213: '',//血型下
            a020201: '',//血红蛋白
            a020202: '',//白细胞
            a020203: '',//血小板
            a020204: '', //血常规其他
            a020204Input: '',
            a020301: '', //尿蛋白
            a020302: '', //尿糖
            a020303: '', //尿酮体
            a020304: '', //尿潜血
            a020305: '', //尿常规其他
            a020305Input: '', //尿常规其他
            FBSL: '', //空腹血糖左
            FBSR: '', //空腹血糖右
            valueXTL: '', //空腹血糖左
            valueXTR: '', //空腹血糖左
            a020501: '', //血清谷丙转氨酶
            a020502: '', //血清谷草转氨酶
            a020503: '', //总胆红素
            a020601: '', //血清肌酐
            a020602: '', //血尿素氮
            a020701: '', //总胆固醇
            a020702: '', //甘油三酯
            a020703: '', //血清低密度脂蛋白胆固醇
            a020704: '', //血清高密度脂蛋白胆固醇
            a0208: '', //辅助检查其他
            a0209: '', //骨质疏松检查结果
            a0210: '', //预约老年人流感或肺炎疫苗
            a0211: '', //B超
            a0211note: '', //B超value
            a0212: '', //心电图
            a0212note: '', //心电图异常值
            a030101: '', //锻炼频率
            a030102: '', //每次锻炼时间
            a030104: '',
            a030105: '', //服用维生素D
            a0302: [], //饮食习惯
            a03020: [], //饮食习惯
            a030301: '', //吸烟状况
            a030302: '', //日吸烟量
            a030303: '', //开始吸烟年龄
            a030304: '', //戒烟年龄
            a030401: '', //饮酒频率
            a030402: '', //日饮酒量
            a030403: '', //是否戒酒
            a030404: '', //戒酒年龄
            a030405: '', //开始饮酒年龄
            a030406: '', //近一年是否曾醉酒
            a030407: [], //饮酒种类
            a03040705: '', //饮酒种类其他
            a03040: [],
            a0305: '', //职业病危害因素接触史
            a030503: '', //工种
            a030504: '', //从业时间
            a03050501: '', //尘埃
            a0305050101: '', //防范措施
            a03050502: '', //放射物质
            a0305050201: '', //防范措施
            a0305050201note: '', //防范措施否
            a03050503: '', //物理因素
            a0305050301: '', //物理因素防范
            a0305050301note: '', //物理因素防范value
            a03050504: '', //化学物理
            a0305050401: '', //化学防范措施
            a0305050401note: '', //化学防范措施否
            a03050505: '', //职业其他
            a0305050501: '', //职业其他防范措施
            a0305050501note: '', //职业其他防范措施否
            a0401: '', //症状
            a04010: '',
            a0401note: '', //症状其他
            a050101: '', //口唇
            a050102: '', //齿列
            a0501020: '', //齿列
            a050102note: '', //牙列input
            a050102noteValue1: [],
            a050102noteValue2: [],
            a050102noteValue3: [],
            a050102noteValue4: [],
            a050102noteValue5: [],
            a050102noteValue6: [],
            a050102noteValue7: [],
            a050102noteValue8: [],
            a050102noteValue9: [],
            a050102noteValue10: [],
            a050102noteValue11: [],
            a050102noteValue12: [],
            a050103: '', //咽喉
            a0501030: '',
            a0502: '', //听力
            a0503: '', //运动功能
            a0601: '', //皮肤
            a0601note: '', //皮肤其他
            a0602: '',//巩膜
            a0602note: '', //巩膜其他
            a0603: '', //淋巴结其他
            a0603note: '', //淋巴结其他
            a060401: '', //桶状胸
            a060402: '', //呼吸音
            a060402note: '', //呼吸音
            a060403: '', //罗音
            a060403note: '', //罗音其他
            a06050101: '', //心率左
            a06050102: '', //心率右
            a060502: '', //杂音
            a060502note: '', //杂音有
            a060601: '', //压痛
            a060601note: '', //压痛有
            a060602: '', //包块
            a060602note: '', //包块有
            a060603: '', //肝大
            a060603note: '', //肝大有
            a060604: '', //脾大
            a060604note: '', //脾大有
            a060605: '', //移动性浊音
            a060605note: '', //移动性浊音有
            a0607: '', //下肢水肿
            a0608: '', //足背动脉搏动
            a06080: '',
            a0609: '', //查体其他
            a0801: '', //手术史
            a080103: '', //手术史名称
            a080104: '', //手术史时间
            a0802: '', //外伤
            a080203: '', //外伤名称
            a080204: '', //外伤时间
            a0803: '', //输血史
            a080303: '', //输血史原因
            a080304: '', //输血史时间
            a0902: [], //家族史父亲
            a0902note: '', //家族史父亲其他
            a09020: '',
            a0903: [], //家族史母亲
            a0903note: '', //家族史母亲其他
            a09030: '',
            a0904: [], //家族史兄弟姐妹
            a0904note: '', //家族史兄弟姐妹其他
            a09040: '',
            a0905: [], //家族史子女
            a0905note: '', //家族史子女其他
            a09050: '',
            a1001: [], //脑血管疾病
            a1001note: '', //脑血管疾病其他
            a10010: '',
            a080401: [],
            a080401note: '',
            a0804010: '',
            a080402: [],
            a080402note: '',
            a0804020: '',
            a080403: [],
            a080403note: '',
            a0804030: '',
            a080404: [],
            a080404note: '',
            a0804040: '',
            a080405: [],
            a080405note: '',
            a0804050: '',
            a080406: [],
            a080406note: '',
            a0804060: '',
            a080407: [],
            a080407note: '',
            a0804070: '',
            a1002: [], //肾脏疾病
            a1002note: '', //肾脏疾病其他
            a10020: '',
            a1003: [], //心脏疾病
            a1003note: '', //心脏疾病其他
            a10030: '',
            a1004: [], //血管疾病
            a1004note: '', //血管疾病其他
            a10040: '',
            a1005: [], //眼部疾病
            a1005note: '', //眼部疾病其他
            a10050: '',
            a1006: [], //神经系统疾病
            a1006note: '', //神经系统疾病其他
            a10060: '',
            a1007: [], //其他系统疾病
            a1007note: '', //其他系统疾病其他
            a10070: '',
            a1301: '', //中医体质综述
            a1201: '', //非免疫规划预防接种史
            a0701: '', //住院史
            a0702: '', //家庭病床史
            a1101: '', //主要用药情况
            a1401: '', //健康评价
            a1601: '', //中医指导
            a1501: '', //健康指导
            a15010: '', //健康指导
            a1504: '', //危险因素控制
            a15040: '',
            a150406: '',//减体重
            a150409: '',//其他
            a150408: '',//建议接种疫苗
            a150408note: '',//建议接种疫苗note
            count: 1,
            countF: 1,
            countJ: 1,
            countU: 1,
            countP: 1,
            valueA01041: '',
            valueA01042: '',
            valueA01043: '',
            valueA01044: '',
            a0401a: '',
            a0608a: '',
            a0902a: '',
            a050103a: '',
            a050102a: '',
            a0903a: '',
            a0904a: '',
            a0905a: '',
            a1001a: '',
            a080401a: '',
            a080402a: '',
            a080403a: '',
            a080404a: '',
            a080405a: '',
            a080406a: '',
            a080407a: '',
            a1002a: '',
            a1003a: '',
            a1004a: '',
            a1005a: '',
            a1006a: '',
            a1007a: '',
            ScheduleNum: 0,
            a150401Val: '',//健康指导提示
            a150402Val: '',
            a150403Val: '',
            a150404Val: '',
            a150405Val: '',
            a150406Val: '',
            a150407Val: '',
            a150408Val: '',
        });
        children = [];
        arr = [];

        this.childIcon.setState({ fileList: [] });
        this.childPhotos.setState({ fileList: [] });

    };
    clearID = () => {

        this.childModal.setState({ detailsId: '' }, () => {
            this.clearForm(true);
            this.getList();
            this.noClickChildTabs();
        });
    }
    noClickChildTabs = () => {
        this.props.handle.noClickTabs()
    };
    sessionData = () => {
        let id = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : '';
        if (id) {
            this.childModal.setState({ detailsId: id });
            this.getList();
            this.detailsData(id);
            this.getSchedule();
            this.getPromptData();
        } else {
            this.childModal.initialData();
        }

    }

    //完成进度
    getSchedule = () => {
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : '';
        // let {seesionID} =this.state;
        var params = {
            params: [{
                userID: this.state.userData.userID,
                hospID: this.state.userData.hospID,
                healthRecordID: seesionID ? seesionID : '',
            }]
        }
        $http.post('urlDeault', this, {
            code: "03070102",
            data: params,
            success: function (res) {
                if (res.errorCode == '0') {
                    this.setState({ ScheduleNum: parseInt(res.result * 100) })
                }
            }
        });
    };
    //健康指导提示数据
    getPromptData = () => {
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : '';
        // let {seesionID} =this.state;
        var params = {
            params: [{
                assItemCode: 'a1504',
                healthRecordID: seesionID ? seesionID : '',
                itemCode: ''
            }]
        }
        $http.post('urlDeault', this, {
            code: "03070104",
            data: params,
            success: function (res) {
                if (res.errorCode == '0') {
                    this.setState({
                        a150401Val: res.result.a150401 && res.result.a150401.descripts ? res.result.a150401.descripts : '',
                        a150402Val: res.result.a150402 && res.result.a150402.descripts ? res.result.a150402.descripts : '',
                        a150403Val: res.result.a150403 && res.result.a150403.descripts ? res.result.a150403.descripts : '',
                        a150404Val: res.result.a150404 && res.result.a150404.descripts ? res.result.a150404.descripts : '',
                        a150405Val: res.result.a150405 && res.result.a150405.descripts ? res.result.a150405.descripts : '',
                        a150406Val: res.result.a150406 && res.result.a150406.descripts ? res.result.a150406.descripts : '',
                        a150407Val: res.result.a150407 && res.result.a150407.descripts ? res.result.a150407.descripts : '',
                        a150408Val: res.result.a150408 && res.result.a150408.descripts ? res.result.a150408.descripts : '',
                    })
                }
            }
        });
    };
    //打印体检表
    examinationRequest = () => {
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : '';
        // let {seesionID} =this.state;
        if (seesionID || this.childModal.state.detailsId) {
            var params = {
                params: [{
                    healthRecordID: seesionID ? seesionID : ''

                }]
            }
            $http.post('urlDeault', this, {
                code: "03070086",
                data: params,
                success: function (res) {
                    if (res.result && res.result.length > 0) {
                        res.result.map((item, i) => {
                            $loadTemplate(item.template, item.printStr)
                        })
                    }
                }
            });
        } else {
            message.error('没有打印对象')
        }

    };
    //生成报告
    GenerateReport = () => {
        let seesionID = JSON.parse(sessionStorage.getItem('healthRecordID')) ? JSON.parse(sessionStorage.getItem('healthRecordID')) : "";
        // let {seesionID} =this.state;
        if (seesionID || this.childModal.state.detailsId) {
            var params = {
                params: [{
                    userID: this.state.userData.userID,
                    healthRecordID: seesionID ? seesionID : '',
                    status: 'F'
                }]
            }
            $http.post('urlDeault', this, {
                code: "03070070",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        message.success(res.errorMessage)
                    }
                }
            });
        } else {
            message.error('没有生成对象')
        }

    }
    //删除住院史
    deleteA0701Data = (g) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (g.patHospID) {
            var params = {
                params: [{
                    patHospID: g.patHospID,
                    updateUserID: this.state.userData.userID

                }]
            }
            $http.post('urlDeault', this, {
                code: "03070043",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        // this.detailsData();
                        let newdata = this.state.dataSource.filter(item => item.patHospID !== g.patHospID);
                        this.setState({ dataSource: newdata })
                    }
                }
            });
        } else {
            let newArr = this.state.dataSource.filter(item => item.key !== g.key);
            this.setState({ dataSource: newArr })
        }
    };
    //删除家庭病床史
    deleteA0702Data = (g) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (g.id) {
            var params = {
                params: [{
                    id: g.id,
                    updateUserID: this.state.userData.userID

                }]
            }
            $http.post('urlDeault', this, {
                code: "03070049",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        // this.detailsData();
                        let newdata = this.state.familyHistoryData.filter(item => item.id !== g.id);
                        this.setState({ familyHistoryData: newdata })
                    }
                }
            });
        } else {
            let newArr = this.state.familyHistoryData.filter(item => item.key !== g.key);
            this.setState({ familyHistoryData: newArr })
        }
    };
    //删除主要用药
    deleteA11Data = (g) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (g.ID) {
            var params = {
                params: [{
                    ID: g.ID,
                    userID: this.state.userData.userID

                }]
            }
            $http.post('urlDeault', this, {
                code: "03070046",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        // this.detailsData();
                        let newdata = this.state.mainMedicationData.filter(item => item.ID !== g.ID);
                        this.setState({ mainMedicationData: newdata })
                    }
                }
            });
        } else {
            let newArr = this.state.mainMedicationData.filter(item => item.key !== g.key);
            this.setState({ mainMedicationData: newArr })
        }
    };
    //删除非计划免疫预防接种史
    deleteA12Data = (g) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (g.id) {
            var params = {
                params: [{
                    id: g.id,
                    updateUserID: this.state.userData.userID

                }]
            }
            $http.post('urlDeault', this, {
                code: "03070051",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        // this.detailsData();
                        let newdata = this.state.UnplannedVaccinationData.filter(item => item.id !== g.id);
                        this.setState({ UnplannedVaccinationData: newdata })
                    }
                }
            });
        } else {
            let newArr = this.state.UnplannedVaccinationData.filter(item => item.key !== g.key);
            this.setState({ UnplannedVaccinationData: newArr })
        }
    };
    //删除健康评价
    deleteA14Data = (g) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (g.ID) {
            var params = {
                params: [{
                    ID: g.ID,
                    userID: this.state.userData.userID

                }]
            }
            $http.post('urlDeault', this, {
                code: "03070055",
                data: params,
                success: function (res) {
                    if (res.errorCode == '0') {
                        // this.detailsData();
                        let newdata = this.state.healthAssessmentData.filter(item => item.ID !== g.ID);
                        this.setState({ healthAssessmentData: newdata })
                    }
                }
            });
        } else {
            let newArr = this.state.healthAssessmentData.filter(item => item.key !== g.key);
            this.setState({ healthAssessmentData: newArr })
        }
    };
    setTimeDate = (v) => {
        this.setState({ healthRecordDate: v ? moment(v).format('YYYY-MM-DD') : '' });
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    }
    //获取操作行数据对象
    getRowByKey(key, newData) {
        const { dataSource } = this.state;
        return (newData || dataSource).filter(item => item.patHospID ? item.patHospID === key : item.key === key)[0];
    }

    //文本框数据修改住院史
    handleFieldChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { dataSource } = this.state;
        const newData = dataSource.map(item => ({ ...item }));
        const target = this.getRowByKey(key, newData);
        if (target) {
            target[fieldName] = e.target.value;
            this.setState({ dataSource: newData });
        }
    };
    //文本框数据时间修改
    handleTimeChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { dataSource } = this.state;
        const newData = dataSource.map(item => ({ ...item }));
        const target = this.getRowByKey(key, newData);
        if (target) {
            target[fieldName] = e !== null ? moment(e).format('YYYY-MM-DD') : '';
            this.setState({ dataSource: newData });
        }
    };
    //获取操作行数据对象住院史
    getRowByFamilKey(key, newData) {
        const { familyHistoryData } = this.state;
        return (newData || familyHistoryData).filter(item => item.id ? item.id === key : item.key === key)[0];
    }

    //获取操作行数据对象
    getFamilTimeByKey(key, newData) {
        const { familyHistoryData } = this.state;
        return (newData || familyHistoryData).filter(item => item.id ? item.id === key : item.key === key)[0];
    }
    //文本框数据修改家庭病床史
    handleFamilChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { familyHistoryData } = this.state;
        const newData = familyHistoryData.map(item => ({ ...item }));
        const target = this.getRowByFamilKey(key, newData);
        if (target) {
            target[fieldName] = e.target.value;
            this.setState({ familyHistoryData: newData });
        }
    };
    //文本框数据修改家庭病床史
    handleFamilTimeChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { familyHistoryData } = this.state;
        const newData = familyHistoryData.map(item => ({ ...item }));
        const target = this.getFamilTimeByKey(key, newData);
        if (target) {
            target[fieldName] = e !== null ? moment(e).format('YYYY-MM-DD') : '';
            this.setState({ familyHistoryData: newData });
        }
    };

    //获取操作行数据对象主要用药情况
    getRowByMainKey(key, newData) {
        const { mainMedicationData } = this.state;
        return (newData || mainMedicationData).filter(item => item.ID ? item.ID === key : item.key === key)[0];
    }

    //文本框数据修改主要用药情况
    handleMainChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { mainMedicationData } = this.state;
        const newData = mainMedicationData.map(item => ({ ...item }));
        const target = this.getRowByMainKey(key, newData);
        if (target) {
            target[fieldName] = fieldName == 'durationUnit' ? e : e.target.value;
            this.setState({ mainMedicationData: newData });
        }
    };
    //时间文本框数据修改主要用药情况
    handleMainxuanzheChange = (e, fieldName, key) => {
        const { mainMedicationData } = this.state;
        const newData = mainMedicationData.map(item => ({ ...item }));
        const target = this.getRowByMainKey(key, newData);
        if (target) {
            target['drugSatrtDate'] = e[0];
            target['drugStopDate'] = e[1];
            // target[fieldName] = moment(e).format('YYYY-MM-DD');
            this.setState({ mainMedicationData: newData });
        }
    };

    //非计划免疫预防接种史
    getRowTvaccineKey(key, newData) {
        const { UnplannedVaccinationData } = this.state;
        return (newData || UnplannedVaccinationData).filter(item => item.id ? item.id === key : item.key === key)[0];
    }

    //文本框数据修改非计划免疫预防接种史
    handleTvaccineChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { UnplannedVaccinationData } = this.state;
        const newData = UnplannedVaccinationData.map(item => ({ ...item }));
        const target = this.getRowTvaccineKey(key, newData);
        if (target) {
            target[fieldName] = e.target.value;
            this.setState({ UnplannedVaccinationData: newData });
        }
    };
    //健康评价
    getRowAssessmentKey(key, newData) {
        const { healthAssessmentData } = this.state;
        return (newData || healthAssessmentData).filter(item => item.ID ? item.ID === key : item.key === key)[0];
    }

    //文本框数据修改健康评价
    handleAssessmentChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { healthAssessmentData } = this.state;
        const newData = healthAssessmentData.map(item => ({ ...item }));
        const target = this.getRowAssessmentKey(key, newData);
        if (target) {
            target[fieldName] = fieldName == 'abnormal' ? e.target.checked ? 'Y' : 'N' : e.target.value;
            this.setState({ healthAssessmentData: newData });
        }
    };
    //文本框数据时间修改非计划免疫预防接种史
    handleTvaccineimeChange = (e, fieldName, key) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        const { UnplannedVaccinationData } = this.state;
        const newData = UnplannedVaccinationData.map(item => ({ ...item }));
        const target = this.getRowByKey(key, newData);
        if (target) {
            target[fieldName] = moment(e).format('YYYY-MM-DD');
            this.setState({ UnplannedVaccinationData: newData });
        }
    };

    //添加修改住院史
    handleAdd = () => {
        const { dataSource } = this.state;
        const newData = {
            patHospID: '',
            healthRecordID: this.state.healthRecordID,
            key: dataSource.length + 1,
            inDate: moment(new Date()).format(dayFormat),
            outDate: moment(new Date()).format(dayFormat),
            reason: '',
            hospName: '',
            medicalNo: ''
        };
        this.setState({
            dataSource: [...dataSource, newData]
        });
        // window.sessionStorage.setItem("changeValue",JSON.stringify(true));
    };
    //添加修改家庭病床史
    familyHistoryDataAdd = () => {
        const { familyHistoryData } = this.state;
        const newDa = {
            id: '',
            healthRecordID: this.state.healthRecordID,
            key: familyHistoryData.length + 1,
            inDate: moment(new Date()).format(dayFormat),
            outDate: moment(new Date()).format(dayFormat),
            reason: '',
            hospName: '',
            medicalNo: ''
        };
        this.setState({
            familyHistoryData: [...familyHistoryData, newDa]
        });
    };
    //添加修改主要用药情况
    mainMedicationDataAdd = () => {
        const { mainMedicationData } = this.state;
        const newDa = {
            healthRecordID: this.state.healthRecordID,
            ID: '',
            key: mainMedicationData.length + 1,
            drugSatrtDate: moment(new Date()).format(dayFormat),
            drugStopDate: moment(new Date()).format(dayFormat),
            durationUnit: '天',
            drugDuration: '',
            drugName: '',
            dose: '',
            usage: '',
            drugComplianceID: ''
        };
        this.setState({
            mainMedicationData: [...mainMedicationData, newDa]
        });
    };
    //添加修改非计划免疫预防接种史
    UnplannedVaccinationDataAdd = () => {
        const { UnplannedVaccinationData } = this.state;
        const newDa = {
            healthRecordID: this.state.healthRecordID,
            key: UnplannedVaccinationData.length + 1,
            vaccineDate: '',
            hospName: '',
            vaccineName: '',
            id: ''
        };
        this.setState({
            UnplannedVaccinationData: [...UnplannedVaccinationData, newDa]

        });
    };
    //添加修改健康评价表格
    healthAssessmentDataAdd = () => {
        const { healthAssessmentData } = this.state;
        const newDa = {
            ID: '',
            healthRecordID: this.state.healthRecordID,
            key: healthAssessmentData.length + 1,
            abnormal: 'Y',
            appraise: '',
            item: '',
            state: true,
        };
        this.setState({
            healthAssessmentData: [...healthAssessmentData, newDa]
        });
    };

    //触发改变一般情况值
    generalOnChange = (e, v) => {
        if (v == 'a010401XYR') {
            if (this.state.generally) {
                let a = this.state.generally['a010401'] ? this.state.generally['a010401'].split('&') : [];
                this.state.generally['a010401'] = e.target.value;
            }
        } else {
            if (this.state.generally) {
                this.state.generally[v] = e.target.value;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));

    };
    //辅助检查
    AuxiliaryOnChange = (e, v) => {
        if (this.state.Auxiliaryxamination) {
            this.state.Auxiliaryxamination[v] = e.target.value;
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变生活方式值
    lifestyleOnChange = (e, v) => {
        if (this.state.lifestyle) {
            if (v == 'a030407' || v == 'a0302') {
                this.state.lifestyle[v] = e;
            } else {
                this.state.lifestyle[v] = e.target.value;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变症状值
    symptomOnChange = (e, v) => {
        if (this.state.symptom) {
            if (v == 'a0401note') {
                this.state.symptom[v] = e.target.value;
            } else {
                this.state.symptom[v] = e;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变脏器功能值
    organFunctionOnChange = (e, v) => {
        if (this.state.organFunction) {
            if (v == 'a050102' || v == 'a050103') {
                this.state.organFunction[v] = e;
            } else {
                this.state.organFunction[v] = e.target.value;
            }

        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };

    //触发改变查体值
    physicalExaminationOnChange = (e, v) => {
        if (this.state.physicalExamination) {
            if (v == 'a0608') {
                this.state.physicalExamination[v] = e;
            } else {
                this.state.physicalExamination[v] = e.target.value;
            }

        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变既往史值
    pastHistoryOnChange = (e, v) => {
        if (this.state.pastHistory) {
            if (v == 'a080104' || v == 'a080204' || v == 'a080304' || v == 'a080401' || v == 'a080402' || v == 'a080403' || v == 'a080404' || v == 'a080405' || v == 'a080406' || v == 'a080407') {
                this.state.pastHistory[v] = e;
            } else {
                this.state.pastHistory[v] = e.target.value;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变家族史值
    familyHistorySelectOnChange = (e, v) => {
        if (this.state.familyHistorySelect) {
            if (v == 'a0901' || v == 'a0902' || v == 'a0903' || v == 'a0904' || v == 'a0905') {
                this.state.familyHistorySelect[v] = e;
            } else {
                this.state.familyHistorySelect[v] = e.target.value;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变现存主要问题值
    newQuestionDataOnChange = (e, v) => {
        if (this.state.newQuestionData) {
            if (v == 'a1001' || v == 'a1002' || v == 'a1003' || v == 'a1004' || v == 'a1005' || v == 'a1006' || v == 'a1007') {
                this.state.newQuestionData[v] = e;
            } else {
                this.state.newQuestionData[v] = e.target.value;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变中医体质综述值
    // PhysiqueReviewOnChange=(e,v)=>{
    //     if(this.state.PhysiqueReview){
    //         this.state.PhysiqueReview[v] =e.target.value;
    //     }
    // };
    //触发改变中医指导
    // medicineGuidanceOnChange=(e,v)=>{
    //     if(this.state.medicineGuidance){
    //         this.state.medicineGuidance[v] =e.target.value;
    //     }
    // };
    //触发改变健康指导
    healthGuidanceOnChange = (e, v) => {
        if (this.state.healthGuidance) {
            if (v == 'a1504' || v == 'a1501' || v == 'a150408') {
                this.state.healthGuidance[v] = e;
            } else {
                this.state.healthGuidance[v] = e.target.value;
            }
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //主要用药情况
    mainMedicationSelectOnChange = (e, v) => {
        if (this.state.mainMedicationSelect) {
            this.state.mainMedicationSelect[v] = e.target.value;
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //住院
    familyBedHistoryAllOnChange = (e, v) => {
        if (this.state.familyBedHistoryAll) {
            this.state.familyBedHistoryAll[v] = e.target.value;
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };

    //非免疫规划预防接种史
    nonImmunizationOnChange = (e, v) => {
        if (this.state.nonImmunization) {
            this.state.nonImmunization[v] = e.target.value;
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    //触发改变中医体质综述值
    healthAssessmentSelectOnChange = (e, v) => {
        if (this.state.healthAssessmentSelect) {
            this.state.healthAssessmentSelect[v] = e.target.value;
        }
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    };
    onChangeSelect = (v) => {
        this.setState({ doctorID: v });
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
    }; //选择医生数据

    //校验
    commonInputChange(name, code, e) {
        var value = e.target.value;
        if (code == '1') {
            var reg = /(^[1-9][0-9]*$)|(^[1-9][0-9]*\.\d{0,2}$)|^0(?!\d)\.?\d{0,2}$|^[1-9]?$/;
            if (!reg.test(value)) {
                return
            }
        } else if (code == '2') {
            var regs = /^\d+$/;
            if (!regs.test(value) && !Util.isEmpty(value)) {
                return
            }
        }
        this.setState({
            [name]: value
        })
    }
    selectInput = (val) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (this.state.a020204Input) {
            this.setState({ a020204Input: this.state.a020204Input + ',' + val })
        } else {
            this.setState({ a020204Input: val })
        }
    };
    selectA020305 = (val) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        if (this.state.a020305Input) {
            this.setState({ a020305Input: this.state.a020305Input + ',' + val })
        } else {
            this.setState({ a020305Input: val })
        }
    };
    a0101 = (e) => { this.generalOnChange(e, 'a0101'); this.commonInputChange('a0101', '1', e); }; //体温
    a0102 = (e) => { this.generalOnChange(e, 'a0102'); this.commonInputChange('a0102', '2', e) }; //脉率
    a0103 = (e) => { this.generalOnChange(e, 'a0103'); this.commonInputChange('a0103', '2', e) }; //呼吸频率
    a010401XYR = (e) => { this.commonInputChange('a010401XYR', '2', e) }; //血压右侧
    a010401XYL = (e) => { this.commonInputChange('a010401XYL', '2', e) }; //血压右侧
    valueA01041 = (e) => { this.commonInputChange('valueA01041', '2', e) }; //血压左侧
    valueA01042 = (e) => { this.commonInputChange('valueA01042', '2', e) }; //血压左侧
    valueA01043 = (e) => { this.commonInputChange('valueA01043', '2', e) }; //血压左侧
    valueA01044 = (e) => { this.commonInputChange('valueA01044', '2', e) }; //血压左侧
    a0105 = (e) => { this.generalOnChange(e, 'a0105'); this.commonInputChange('a0105', '1', e) }; //身高
    a0105Blur = (e) => {
        if (!this.state.generally['a0106'] || !e.target.value) {
            this.state.generally['a0108'] = '';
            this.setState({ a0108: '' })
            return
        }
        if (this.state.generally['a0106'] && e.target.value) {
            let a = (this.state.generally['a0106']) / ((e.target.value / 100) * (e.target.value / 100));
            if (a.toFixed(2)) {
                this.state.generally['a0108'] = a.toFixed(2);
                this.setState({ a0108: a.toFixed(2) })
            }
        } else {
            let a = (this.state.generally['a0106']) / (e.target.value / 100) * (e.target.value / 100);
            if (a.toFixed(2) && this.state.generally['a0106'] && e.target.value) {
                this.state.generally['a0108'] = a.toFixed(2);
                this.setState({ a0108: a.toFixed(2) })
            }
        }
    };
    a0106 = (e) => {
        this.generalOnChange(e, 'a0106'); this.commonInputChange('a0106', '1', e)
    }; //体重
    a0106Blur = (e) => {
        if (!this.state.generally['a0105'] || !e.target.value) {
            this.state.generally['a0108'] = '';
            this.setState({ a0108: '' });
            return
        }
        if (this.state.generally['a0105'] && e.target.value) {
            let a = (e.target.value) / ((this.state.generally['a0105'] / 100) * (this.state.generally['a0105'] / 100));
            if (a.toFixed(2)) {
                this.state.generally['a0108'] = a.toFixed(2);
                this.setState({ a0108: a.toFixed(2) })
            }
        } else {
            let a = (e.target.value) / (this.state.generally['a0105'] / 100);
            if (a.toFixed(2) && this.state.generally['a0105'] && e.target.value) {
                this.state.generally['a0108'] = a.toFixed(2);
                this.setState({ a0108: a.toFixed(2) })
            }
        }

    }
    a0107 = (e) => { this.generalOnChange(e, 'a0107'); this.commonInputChange('a0107', '1', e) };
    a0108 = (e) => { this.generalOnChange(e, 'a0108'); this.commonInputChange('a0108', '1', e); };
    a010901 = (e) => { this.generalOnChange(e, 'a010901'); this.commonInputChange('a010901', '1', e) };
    a010902 = (e) => { this.generalOnChange(e, 'a010902'); this.commonInputChange('a010902', '1', e) };
    a010903 = (e) => { this.generalOnChange(e, 'a010903'); this.commonInputChange('a010903', '1', e) };
    a010904 = (e) => { this.generalOnChange(e, 'a010904'); this.commonInputChange('a010904', '1', e) };

    a0201 = (e) => { this.AuxiliaryOnChange(e, 'a0201'); this.commonInputChange('a0201', '0', e) };
    a0213 = (e) => { this.AuxiliaryOnChange(e, 'a0213'); this.commonInputChange('a0213', '0', e) };
    a020201 = (e) => { this.AuxiliaryOnChange(e, 'a020201'); this.commonInputChange('a020201', '1', e) };
    a020202 = (e) => { this.AuxiliaryOnChange(e, 'a020202'); this.commonInputChange('a020202', '1', e) };
    a020203 = (e) => { this.AuxiliaryOnChange(e, 'a020203'); this.commonInputChange('a020203', '1', e) };
    a020204 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        this.setState({ a020204Input: e.target.value })
        // this.AuxiliaryOnChange(e,'a020204');this.commonInputChange('a020204', '0',e)
    };
    a020301 = (e) => { this.AuxiliaryOnChange(e, 'a020301'); this.setState({ a020301: e.target.value }) };
    a020302 = (e) => { this.AuxiliaryOnChange(e, 'a020302'); this.setState({ a020302: e.target.value }) };
    a020303 = (e) => { this.AuxiliaryOnChange(e, 'a020303'); this.setState({ a020303: e.target.value }) };
    a020304 = (e) => { this.AuxiliaryOnChange(e, 'a020304'); this.setState({ a020304: e.target.value }) };
    a020305 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        this.setState({ a020305Input: e.target.value })
        // this.AuxiliaryOnChange(e,'a020305');
        // this.commonInputChange('a020305', '0',e);
    };
    valueXTL = (e) => { this.commonInputChange('valueXTL', '1', e) };
    valueXTR = (e) => { this.commonInputChange('valueXTR', '1', e) };
    a020501 = (e) => { this.AuxiliaryOnChange(e, 'a020501'); this.commonInputChange('a020501', '1', e) };
    a020502 = (e) => { this.AuxiliaryOnChange(e, 'a020502'); this.commonInputChange('a020502', '1', e) };
    a020503 = (e) => { this.AuxiliaryOnChange(e, 'a020503'); this.commonInputChange('a020503', '1', e) };
    a020601 = (e) => { this.AuxiliaryOnChange(e, 'a020601'); this.commonInputChange('a020601', '1', e) };
    a020602 = (e) => { this.AuxiliaryOnChange(e, 'a020602'); this.commonInputChange('a020602', '1', e) };
    a020701 = (e) => { this.AuxiliaryOnChange(e, 'a020701'); this.commonInputChange('a020701', '1', e) };
    a020702 = (e) => { this.AuxiliaryOnChange(e, 'a020702'); this.commonInputChange('a020702', '1', e) };
    a020703 = (e) => { this.AuxiliaryOnChange(e, 'a020703'); this.commonInputChange('a020703', '1', e) };
    a020704 = (e) => { this.AuxiliaryOnChange(e, 'a020704'); this.commonInputChange('a020704', '1', e) };
    a0208 = (e) => { this.AuxiliaryOnChange(e, 'a0208'); this.setState({ a0208: e.target.value }) };
    // a0209=(e)=>{this.AuxiliaryOnChange(e,'a0209');this.setState({a0209 : e.target.value})};
    a0210 = (e) => { this.AuxiliaryOnChange(e, 'a0210'); this.setState({ a0210: e.target.value }) };
    a0211 = (e) => {
        this.AuxiliaryOnChange(e, 'a0211');
        this.setState({ a0211: e.target.value });
        if (e.target.value == 'a021101') {
            this.state.Auxiliaryxamination['a0211note'] = '';
            this.setState({ a0211note: '' })
        }
    };
    a0211note = (e) => { this.AuxiliaryOnChange(e, 'a0211note'); this.setState({ a0211note: e.target.value }) };
    a0212 = (e) => {
        this.AuxiliaryOnChange(e, 'a0212');
        this.setState({ a0212: e.target.value });
        if (e.target.value == 'a021201') {
            this.state.Auxiliaryxamination['a0212note'] = '';
            this.setState({ a0212note: '' })
        }
    };
    a0212note = (e) => { this.AuxiliaryOnChange(e, 'a0212note'); this.setState({ a0212note: e.target.value }) };

    a030101 = (e) => { this.lifestyleOnChange(e, 'a030101'); this.setState({ a030101: e.target.value }) };
    a030102 = (e) => { this.lifestyleOnChange(e, 'a030102'); this.commonInputChange('a030102', '1', e) };
    a030103 = (e) => { this.lifestyleOnChange(e, 'a030103'); this.commonInputChange('a030103', '1', e) };
    a030104 = (e) => { this.lifestyleOnChange(e, 'a030104'); this.commonInputChange('a030104', '0', e) };
    a030105 = (e) => { this.lifestyleOnChange(e, 'a030105'); this.setState({ a030105: e.target.value }) };
    a0302 = (e) => {
        if (e.length > 0) {
            let a = e.toString();
            let data = a.replace(/,/g, "&");
            this.lifestyleOnChange(data, 'a0302');
            this.setState({ a0302: e, a03020: data })
        } else {
            this.state.lifestyle['a0302'] = '';
            this.setState({ a0302: '', a03020: '' })
        }

    };
    a030301 = (e) => { this.lifestyleOnChange(e, 'a030301'); this.setState({ a030301: e.target.value }) };
    a030302 = (e) => { this.lifestyleOnChange(e, 'a030302'); this.commonInputChange('a030302', '1', e) };
    a030303 = (e) => { this.lifestyleOnChange(e, 'a030303'); this.commonInputChange('a030303', '1', e) };
    a030304 = (e) => { this.lifestyleOnChange(e, 'a030304'); this.commonInputChange('a030304', '1', e) };
    a030401 = (e) => { this.lifestyleOnChange(e, 'a030401'); this.setState({ a030401: e.target.value }); };
    a030402 = (e) => { this.lifestyleOnChange(e, 'a030402'); this.commonInputChange('a030402', '1', e) };
    a030403 = (e) => { this.lifestyleOnChange(e, 'a030403'); this.setState({ a030403: e.target.value }) };
    a030404 = (e) => { this.lifestyleOnChange(e, 'a030404'); this.commonInputChange('a030404', '1', e) };
    a030405 = (e) => { this.lifestyleOnChange(e, 'a030405'); this.commonInputChange('a030405', '1', e) };
    a030406 = (e) => { this.lifestyleOnChange(e, 'a030406'); this.setState({ a030406: e.target.value }) };
    a03040705 = (e) => { this.lifestyleOnChange(e, 'a030407note'); this.setState({ a03040705: e.target.value }) };
    a030407 = (e) => {
        if (e.length > 0) {
            let a = e.toString();
            let data = a.replace(/,/g, "&");
            this.lifestyleOnChange(data, 'a030407');
            this.setState({ a03040: e, a030407: data })
        } else {
            this.state.lifestyle['a030407'] = '';
            this.setState({ a03040: [], a030407: '' })
        }
    };
    a0305 = (e) => {
        this.lifestyleOnChange(e, 'a0305');
        this.setState({ a0305: e.target.value });

        if (e.target.value == 'a030501') {
            this.state.lifestyle['a030503'] = '';
            this.state.lifestyle['a030504'] = '';
            this.state.lifestyle['a03050501'] = '';
            this.state.lifestyle['a03050502'] = '';
            this.state.lifestyle['a03050503'] = '';
            this.state.lifestyle['a03050504'] = '';
            this.state.lifestyle['a03050505'] = '';
            this.state.lifestyle['a0305050501note'] = '';
            this.state.lifestyle['a0305050401note'] = '';
            this.state.lifestyle['a0305050301note'] = '';
            this.state.lifestyle['a0305050201note'] = '';
            this.state.lifestyle['a0305050101note'] = '';
            this.setState({ a030503: '', a030504: '', a03050501: '', a03050502: '', a03050503: '', a03050504: '', a03050505: '', a0305050101note: '', a0305050201note: '', a0305050301note: '', a0305050401note: '', a0305050501note: '' });
        }
    };
    a030503 = (e) => { this.lifestyleOnChange(e, 'a030503'); this.setState({ a030503: e.target.value }) };
    a030504 = (e) => { this.lifestyleOnChange(e, 'a030504'); this.setState({ a030504: e.target.value }) };
    a03050501 = (e) => { this.lifestyleOnChange(e, 'a03050501'); this.setState({ a03050501: e.target.value }) };
    a0305050101 = (e) => {
        this.lifestyleOnChange(e, 'a0305050101');
        this.setState({ a0305050101: e.target.value });
        if (e.target.value == 'a030505010101') {
            this.state.lifestyle['a0305050101note'] = '';
            this.setState({ a0305050101note: '' })
        }
    };
    a0305050101note = (e) => { this.lifestyleOnChange(e, 'a0305050101note'); this.setState({ a0305050101note: e.target.value }) };
    a03050502 = (e) => { this.lifestyleOnChange(e, 'a03050502'); this.setState({ a03050502: e.target.value }) };
    a0305050201 = (e) => {
        this.lifestyleOnChange(e, 'a0305050201');
        this.setState({ a0305050201: e.target.value });
        if (e.target.value == 'a030505020101') {
            this.state.lifestyle['a0305050201note'] = '';
            this.setState({ a0305050201note: '' })
        }
    };
    a0305050201note = (e) => { this.lifestyleOnChange(e, 'a0305050201note'); this.setState({ a0305050201note: e.target.value }) };
    a03050503 = (e) => { this.lifestyleOnChange(e, 'a03050503'); this.setState({ a03050503: e.target.value }) };
    a03050504 = (e) => { this.lifestyleOnChange(e, 'a03050504'); this.setState({ a03050504: e.target.value }) };
    a03050505 = (e) => { this.lifestyleOnChange(e, 'a03050505'); this.setState({ a03050505: e.target.value }) };
    a0305050301 = (e) => {
        this.lifestyleOnChange(e, 'a0305050301');
        this.setState({ a0305050301: e.target.value });
        if (e.target.value == 'a030505030101') {
            this.state.lifestyle['a0305050301note'] = '';
            this.setState({ a0305050301note: '' })
        }
    };
    a0305050301note = (e) => { this.lifestyleOnChange(e, 'a0305050301note'); this.setState({ a0305050301note: e.target.value }) };
    a0305050401 = (e) => {
        this.lifestyleOnChange(e, 'a0305050401');
        this.setState({ a0305050401: e.target.value });
        if (e.target.value == 'a030505040101') {
            this.state.lifestyle['a0305050401note'] = '';
            this.setState({ a0305050401note: '' })
        }
    };
    a0305050401note = (e) => { this.lifestyleOnChange(e, 'a0305050401note'); this.setState({ a0305050401note: e.target.value }) };
    a0305050501 = (e) => {
        this.lifestyleOnChange(e, 'a0305050501');
        this.setState({ a0305050501: e.target.value });
        if (e.target.value == 'a030505050101') {
            this.state.lifestyle['a0305050501note'] = '';
            this.setState({ a0305050501note: '' })
        }
    };
    a0305050501note = (e) => { this.lifestyleOnChange(e, 'a0305050501note'); this.setState({ a0305050501note: e.target.value }) };
    a0401note = (e) => { this.symptomOnChange(e, 'a0401note'); this.setState({ a0401note: e.target.value }) };
    a0401 = (e) => {
        if (e.indexOf('a040124') == -1 || e.length < 1) {
            if (this.state.symptom && this.state.symptom['a0401note']) {
                this.state.symptom['a0401note'] = '';
            }
            this.setState({ a0401note: '' })
        }
        this.commonNumerous(e, 'a040101', 'a0401');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a040101' ? 'a040101' : a.replace(/,/g, "&");
            this.symptomOnChange(data, 'a0401');
            this.setState({ a04010: e, a0401: data })
        } else {
            this.state.symptom['a0401'] = '';
            this.setState({ a04010: '', a0401: '' })
        }
    };
    a050101 = (e) => { this.organFunctionOnChange(e, 'a050101'); this.setState({ a050101: e.target.value }) };
    a050102 = (e) => {
        if (this.state.organFunction['a050102']) {
            let show0501 = this.state.organFunction['a050102'].split('&');
            if (show0501.indexOf('a05010202') == -1) {
                this.setState({
                    a050102noteValue1: [],
                    a050102noteValue2: [],
                    a050102noteValue3: [],
                    a050102noteValue4: [],
                })
            } else if (show0501.indexOf('a05010203') == -1) {
                this.setState({
                    a050102noteValue5: [],
                    a050102noteValue6: [],
                    a050102noteValue7: [],
                    a050102noteValue8: [],
                })
            } else if (show0501.indexOf('a05010204') == -1) {
                this.setState({
                    a050102noteValue9: [],
                    a050102noteValue10: [],
                    a050102noteValue11: [],
                    a050102noteValue12: [],
                })
            } else if (this.state.organFunction['a050102'] == 'a05010201') {
                this.setState({
                    a050102noteValue1: [],
                    a050102noteValue2: [],
                    a050102noteValue3: [],
                    a050102noteValue4: [],
                    a050102noteValue5: [],
                    a050102noteValue6: [],
                    a050102noteValue7: [],
                    a050102noteValue8: [],
                    a050102noteValue9: [],
                    a050102noteValue10: [],
                    a050102noteValue11: [],
                    a050102noteValue12: [],
                })
            }
        }
        this.commonNumerous(e, 'a05010201', 'a050102');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a05010201' ? 'a05010201' : a.replace(/,/g, "&");
            this.organFunctionOnChange(data, 'a050102');
            this.setState({ a050102: e, a0501020: data })
        } else {
            this.state.organFunction['a050102'] = '';
            this.setState({ a050102: '', a0501020: '' })
        }
    };
    a050102noteValue1 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue1;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue1: v });
        } else if (v.length > 0) {
            let a = this.state.a050102noteValue1.filter(item => { return item !== e });
            this.setState({ a050102noteValue1: a });
        }
    };
    a050102noteValue2 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue2;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue2: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue2: a });
        }
    };
    a050102noteValue3 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue3;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue3: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue3: a });
        }
    };
    a050102noteValue4 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue4;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue4: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue4: a });
        }
    };
    a050102noteValue5 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue5;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue5: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue5: a });
        }
    };
    // a050102noteValueALL=(e,name)=>{
    //     window.sessionStorage.setItem("changeValue",JSON.stringify(true));
    //     let v= [name] = this.state;
    //     if(v.indexOf(e) ==-1){
    //         v.push(e);
    //         this.setState({a050102noteValue5: v});
    //     }else if(v.length>0){
    //         let a = v.filter(item=> {return item !== e});
    //         this.setState({a050102noteValue5: a});
    //     }
    // };
    a050102noteValue6 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue6;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue6: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue6: a });
        }
    };
    a050102noteValue7 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue7;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue7: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue7: a });
        }
    };
    a050102noteValue8 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue8;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue8: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue8: a });
        }
    };
    a050102noteValue9 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue9;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue9: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue9: a });
        }
    };
    a050102noteValue10 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue10;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue10: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue10: a });
        }
    };
    a050102noteValue11 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue11;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue11: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue11: a });
        }
    };
    a050102noteValue12 = (e) => {
        window.sessionStorage.setItem("changeValue", JSON.stringify(true));
        let v = this.state.a050102noteValue12;
        if (v.indexOf(e) == -1) {
            v.push(e);
            this.setState({ a050102noteValue12: v });
        } else if (v.length > 0) {
            let a = v.filter(item => { return item !== e });
            this.setState({ a050102noteValue12: a });
        }
    };
    a050103 = (e) => {
        this.commonNumerous(e, 'a05010301', 'a050103');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a05010301' ? 'a05010301' : a.replace(/,/g, "&");
            this.organFunctionOnChange(data, 'a050103');
            this.setState({ a050103: e, a0501030: data })
        } else {
            this.state.organFunction['a050103'] = '';
            this.setState({ a050103: '', a0501030: '' })
        }

        // this.organFunctionOnChange(e,'a050103');
        // this.setState({a050103 : e.target.value});

    };
    a0502 = (e) => { this.organFunctionOnChange(e, 'a0502'); this.setState({ a0502: e.target.value }) };
    a0503 = (e) => { this.organFunctionOnChange(e, 'a0503'); this.setState({ a0503: e.target.value }) };

    a0601 = (e) => {
        this.physicalExaminationOnChange(e, 'a0601');
        this.setState({ a0601: e.target.value });
        if (e.target.value !== 'a060107') {
            this.state.physicalExamination['a0601note'] = '';
            this.setState({ a0601note: '' })
        }
    };
    a0601note = (e) => { this.physicalExaminationOnChange(e, 'a0601note'); this.setState({ a0601note: e.target.value }) };
    a0602 = (e) => {
        this.physicalExaminationOnChange(e, 'a0602');
        this.setState({ a0602: e.target.value });
        if (e.target.value !== 'a060204') {
            this.state.physicalExamination['a0602note'] = '';
            this.setState({ a0602note: '' })
        }
    };
    a0602note = (e) => { this.physicalExaminationOnChange(e, 'a0602note'); this.setState({ a0602note: e.target.value }) };
    a0603 = (e) => {
        this.physicalExaminationOnChange(e, 'a0603');
        this.setState({ a0603: e.target.value });
        if (e.target.value !== 'a060304') {
            this.state.physicalExamination['a0603note'] = '';
            this.setState({ a0603note: '' })
        }
    };
    a0603note = (e) => { this.physicalExaminationOnChange(e, 'a0603note'); this.setState({ a0603note: e.target.value }) };
    a060401 = (e) => { this.physicalExaminationOnChange(e, 'a060401'); this.setState({ a060401: e.target.value }) };
    a060402 = (e) => {
        this.physicalExaminationOnChange(e, 'a060402');
        this.setState({ a060402: e.target.value });

        if (e.target.value == 'a06040201') {
            this.state.physicalExamination['a060402note'] = '';
            this.setState({ a060402note: '' })
        }
    };
    a060402note = (e) => { this.physicalExaminationOnChange(e, 'a060402note'); this.setState({ a060402note: e.target.value }) };
    a060403 = (e) => {
        this.physicalExaminationOnChange(e, 'a060403');
        this.setState({ a060403: e.target.value });
        if (e.target.value !== 'a06040304') {
            this.state.physicalExamination['a060403note'] = '';
            this.setState({ a060403note: '' })
        }
    };
    a060403note = (e) => { this.physicalExaminationOnChange(e, 'a060403note'); this.setState({ a060403note: e.target.value }) };
    a06050101 = (e) => { this.physicalExaminationOnChange(e, 'a06050101'); this.commonInputChange('a06050101', '2', e) };
    a06050102 = (e) => { this.physicalExaminationOnChange(e, 'a06050102'); this.setState({ a06050102: e.target.value }) };
    a060502 = (e) => {
        this.physicalExaminationOnChange(e, 'a060502');
        this.setState({ a060502: e.target.value });
        if (e.target.value == 'a06050201') {
            this.state.physicalExamination['a060502note'] = '';
            this.setState({ a060502note: '' })
        }
    };
    a060502note = (e) => { this.physicalExaminationOnChange(e, 'a060502note'); this.setState({ a060502note: e.target.value }) };
    a060601 = (e) => {
        this.physicalExaminationOnChange(e, 'a060601');
        this.setState({ a060601: e.target.value });
        if (e.target.value == 'a06060101') {
            this.state.physicalExamination['a060601note'] = '';
            this.setState({ a060601note: '' })
        }
    };
    a060601note = (e) => { this.physicalExaminationOnChange(e, 'a060601note'); this.setState({ a060601note: e.target.value }) };
    a060602 = (e) => {
        this.physicalExaminationOnChange(e, 'a060602');
        this.setState({ a060602: e.target.value });
        if (e.target.value == 'a06060201') {
            this.state.physicalExamination['a060602note'] = '';
            this.setState({ a060602note: '' })
        }
    };
    a060602note = (e) => { this.physicalExaminationOnChange(e, 'a060602note'); this.setState({ a060602note: e.target.value }) };
    a060603 = (e) => {
        this.physicalExaminationOnChange(e, 'a060603');
        this.setState({ a060603: e.target.value });
        if (e.target.value == 'a06060301') {
            this.state.physicalExamination['a060603note'] = '';
            this.setState({ a060603note: '' })
        }
    };
    a060603note = (e) => { this.physicalExaminationOnChange(e, 'a060603note'); this.setState({ a060603note: e.target.value }) };
    a060604 = (e) => {
        this.physicalExaminationOnChange(e, 'a060604');
        this.setState({ a060604: e.target.value });
        if (e.target.value == 'a06060401') {
            this.state.physicalExamination['a060604note'] = '';
            this.setState({ a060604note: '' })
        }
    };
    a060604note = (e) => { this.physicalExaminationOnChange(e, 'a060604note'); this.setState({ a060604note: e.target.value }) };
    a060605 = (e) => {
        this.physicalExaminationOnChange(e, 'a060605');
        this.setState({ a060605: e.target.value });
        if (e.target.value == 'a06060501') {
            this.state.physicalExamination['a060605note'] = '';
            this.setState({ a060605note: '' })
        }
    };
    a060605note = (e) => { this.physicalExaminationOnChange(e, 'a060605note'); this.setState({ a060605note: e.target.value }) };
    a0607 = (e) => { this.physicalExaminationOnChange(e, 'a0607'); this.setState({ a0607: e.target.value }) };
    a0608 = (e) => {
        if (e == 'a060801') {
            this.commonNumerous(e, 'a060801', 'a0608');
        } else if (e == 'a060802') {
            this.commonNumerous(e, 'a060802', 'a0608');
        } else {
            this.setState({ a0608a: '' });

        }
        // this.commonNumerous(e,e[0]=='a060801'?'a060801':e[0]=='a060802'?'a060802': ,'a0608');
        if (e.length > 0) {
            let a = e.toString();
            if (e[0] == 'a060801') {
                let data = e[0] == 'a060801' ? 'a060801' : a.replace(/,/g, "&");
                this.physicalExaminationOnChange(data, 'a0608');
                this.setState({ a0608: e, a06080: data })
            } else if (e[0] == 'a060802') {
                let data = e[0] == 'a060802' ? 'a060802' : a.replace(/,/g, "&");
                this.physicalExaminationOnChange(data, 'a0608');
                this.setState({ a0608: e, a06080: data })
            } else {
                let data = a.replace(/,/g, "&");
                this.physicalExaminationOnChange(data, 'a0608');
                this.setState({ a0608: e, a06080: data })
            }

        } else {
            this.state.physicalExamination['a0608'] = '';
            this.setState({ a06080: '', a0608: '' })
        }

        // this.physicalExaminationOnChange(e,'a0608');
        // this.setState({a0608 : e.target.value});

    };
    a0609 = (e) => { this.physicalExaminationOnChange(e, 'a0609'); this.setState({ a0609: e.target.value }) };

    a0801 = (e) => {
        if (e.target.value == 'a080101') {
            this.state.pastHistory['a080103'] = '';
            this.state.pastHistory['a080104'] = '';
            this.setState({ a080103: '', a080104: '' })
        }
        this.pastHistoryOnChange(e, 'a0801');
        this.setState({ a0801: e.target.value })
    };
    a080103 = (e) => { this.pastHistoryOnChange(e, 'a080103'); this.setState({ a080103: e.target.value }) };
    a080104 = (e) => {
        this.pastHistoryOnChange(e, 'a080104'); this.setState({ a080104: e ? moment(e).format('YYYY-MM-DD') : undefined })
    };
    a0802 = (e) => {
        if (e.target.value == 'a080201') {
            this.state.pastHistory['a080203'] = '';
            this.state.pastHistory['a080204'] = '';
            this.setState({ a080203: '', a080204: '' })
        }
        this.pastHistoryOnChange(e, 'a0802');
        this.setState({ a0802: e.target.value })
    };
    a080203 = (e) => { this.pastHistoryOnChange(e, 'a080203'); this.setState({ a080203: e.target.value }) };
    a080204 = (e) => { this.pastHistoryOnChange(e, 'a080204'); this.setState({ a080204: e ? moment(e).format('YYYY-MM-DD') : undefined }) };
    a0803 = (e) => {
        if (e.target.value == 'a080301') {
            this.state.pastHistory['a080303'] = '';
            this.state.pastHistory['a080304'] = '';
            this.setState({ a080303: '', a080304: '' })
        }
        this.pastHistoryOnChange(e, 'a0803');
        this.setState({ a0803: e.target.value })
    };
    a080303 = (e) => { this.pastHistoryOnChange(e, 'a080303'); this.setState({ a080303: e.target.value }) };
    a080304 = (e) => { this.pastHistoryOnChange(e, 'a080304'); this.setState({ a080304: e ? moment(e).format('YYYY-MM-DD') : undefined }) };
    a080401note = (e) => { this.pastHistoryOnChange(e, 'a080401note'); this.setState({ a080401note: e.target.value }) };
    a080401 = (e) => {
        if (e.indexOf('a08040106') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080401note']) {
                this.state.pastHistory['a080401note'] = '';
            }
            this.setState({ a080401note: '' })
        }
        this.commonNumerous(e, 'a08040101', 'a080401');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040101' ? 'a08040101' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080401');
            this.setState({ a0804010: e, a080401: data })
        } else {
            this.state.pastHistory['a080401'] = '';
            this.setState({ a0804010: '', a080401: '' })
        }
    };
    a080402note = (e) => { this.pastHistoryOnChange(e, 'a080402note'); this.setState({ a080402note: e.target.value }) };
    a080402 = (e) => {
        if (e.indexOf('a08040206') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080402note']) {
                this.state.pastHistory['a080402note'] = '';
            }
            this.setState({ a080402note: '' })
        }
        this.commonNumerous(e, 'a08040201', 'a080402');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040201' ? 'a08040201' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080402');
            this.setState({ a0804020: e, a080402: data })
        } else {
            this.state.pastHistory['a080402'] = '';
            this.setState({ a0804020: '', a080402: '' })
        }
    };
    a080403note = (e) => { this.pastHistoryOnChange(e, 'a080403note'); this.setState({ a080403note: e.target.value }) };
    a080403 = (e) => {
        if (e.indexOf('a08040307') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080403note']) {
                this.state.pastHistory['a080403note'] = '';
            }
            this.setState({ a080403note: '' })
        }
        this.commonNumerous(e, 'a08040301', 'a080403');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040301' ? 'a08040301' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080403');
            this.setState({ a0804030: e, a080403: data })
        } else {
            this.state.pastHistory['a080403'] = '';
            this.setState({ a0804030: '', a080403: '' })
        }
    };
    a080404note = (e) => { this.pastHistoryOnChange(e, 'a080404note'); this.setState({ a080404note: e.target.value }) };
    a080404 = (e) => {
        if (e.indexOf('a08040404') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080404note']) {
                this.state.pastHistory['a080404note'] = '';
            }
            this.setState({ a080404note: '' })
        }
        this.commonNumerous(e, 'a08040401', 'a080404');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040401' ? 'a08040401' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080404');
            this.setState({ a0804040: e, a080404: data })
        } else {
            this.state.pastHistory['a080404'] = '';
            this.setState({ a0804040: '', a080404: '' })
        }
    };
    a080405note = (e) => { this.pastHistoryOnChange(e, 'a080405note'); this.setState({ a080405note: e.target.value }) };
    a080405 = (e) => {
        if (e.indexOf('a08040505') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080405note']) {
                this.state.pastHistory['a080405note'] = '';
            }
            this.setState({ a080405note: '' })
        }
        this.commonNumerous(e, 'a08040501', 'a080405');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040501' ? 'a08040501' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080405');
            this.setState({ a0804050: e, a080405: data })
        } else {
            this.state.pastHistory['a080405'] = '';
            this.setState({ a0804050: '', a080405: '' })
        }
    };
    a080406note = (e) => { this.pastHistoryOnChange(e, 'a080406note'); this.setState({ a080406note: e.target.value }) };
    a080406 = (e) => {
        if (e.indexOf('a08040604') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080406note']) {
                this.state.pastHistory['a080406note'] = '';
            }
            this.setState({ a080406note: '' })
        }
        this.commonNumerous(e, 'a08040601', 'a080406');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040601' ? 'a08040601' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080406');
            this.setState({ a0804060: e, a080406: data })
        } else {
            this.state.pastHistory['a080406'] = '';
            this.setState({ a0804060: '', a080406: '' })
        }
    };
    a080407note = (e) => { this.pastHistoryOnChange(e, 'a080407note'); this.setState({ a080407note: e.target.value }) };
    a080407 = (e) => {
        if (e.indexOf('a08040706') == -1 || e.length < 1) {
            if (this.state.pastHistory && this.state.pastHistory['a080407note']) {
                this.state.pastHistory['a080407note'] = '';
            }
            this.setState({ a080407note: '' })
        }
        this.commonNumerous(e, 'a08040701', 'a080407');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a08040701' ? 'a08040701' : a.replace(/,/g, "&");
            this.pastHistoryOnChange(data, 'a080407');
            this.setState({ a0804070: e, a080407: data })
        } else {
            this.state.pastHistory['a080407'] = '';
            this.setState({ a0804070: '', a080407: '' })
        }
    };
    commonNumerous = (e, v, name) => {
        if (e[0] == v) {
            this.setState({ [name + 'a']: e[0] });
        } else {
            this.setState({ [name + 'a']: '' });
        }
    }


    a0902note = (e) => { this.familyHistorySelectOnChange(e, 'a0902note'); this.setState({ a0902note: e.target.value }) };
    a0902 = (e) => {
        if (e.indexOf('a090212') == -1 || e.length < 1) {
            if (this.state.familyHistorySelect && this.state.familyHistorySelect['a0902note']) {
                this.state.familyHistorySelect['a0902note'] = '';
            }
            this.setState({ a0902note: '' })
        }
        this.commonNumerous(e, 'a090201', 'a0902');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a090201' ? 'a090201' : a.replace(/,/g, "&");
            this.familyHistorySelectOnChange(data, 'a0902');
            this.setState({ a09020: e, a0902: data })
        } else {
            this.state.familyHistorySelect['a0902'] = '';
            this.setState({ a09020: '', a0902: '' })
        }
    };
    a0903note = (e) => { this.familyHistorySelectOnChange(e, 'a0903note'); this.setState({ a0903note: e.target.value }) };
    a0903 = (e) => {
        if (e.indexOf('a090312') == -1 || e.length < 1) {
            if (this.state.familyHistorySelect && this.state.familyHistorySelect['a0903note']) {
                this.state.familyHistorySelect['a0903note'] = '';
            }
            this.setState({ a0903note: '' })
        }
        this.commonNumerous(e, 'a090301', 'a0903');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a090301' ? 'a090301' : a.replace(/,/g, "&");
            this.familyHistorySelectOnChange(data, 'a0903');
            this.setState({ a09030: e, a0903: data })
        } else {
            this.state.familyHistorySelect['a0903'] = '';
            this.setState({ a09030: '', a0903: '' })
        }

    };
    a0904note = (e) => { this.familyHistorySelectOnChange(e, 'a0904note'); this.setState({ a0904note: e.target.value }) };
    a0904 = (e) => {
        if (e.indexOf('a090412') == -1 || e.length < 1) {
            if (this.state.familyHistorySelect && this.state.familyHistorySelect['a0904note']) {
                this.state.familyHistorySelect['a0904note'] = '';
            }
            this.setState({ a0904note: '' })
        }
        this.commonNumerous(e, 'a090401', 'a0904');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a090401' ? 'a090401' : a.replace(/,/g, "&");
            this.familyHistorySelectOnChange(data, 'a0904');
            this.setState({ a09040: e, a0904: data })
        } else {
            this.state.familyHistorySelect['a0904'] = '';
            this.setState({ a09040: '', a0904: '' })
        }
    };
    a0905note = (e) => { this.familyHistorySelectOnChange(e, 'a0905note'); this.setState({ a0905note: e.target.value }) };
    a0905 = (e) => {
        if (e.indexOf('a090512') == -1 || e.length < 1) {
            if (this.state.familyHistorySelect && this.state.familyHistorySelect['a0905note']) {
                this.state.familyHistorySelect['a0905note'] = '';
            }
            this.setState({ a0905note: '' })
        }
        this.commonNumerous(e, 'a090501', 'a0905');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a090501' ? 'a090501' : a.replace(/,/g, "&");
            this.familyHistorySelectOnChange(data, 'a0905');
            this.setState({ a09050: e, a0905: data })
        } else {
            this.state.familyHistorySelect['a0905'] = '';
            this.setState({ a09050: '', a0905: '' })
        }
    };

    a1001note = (e) => { this.newQuestionDataOnChange(e, 'a1001note'); this.setState({ a1001note: e.target.value }) };
    a1001 = (e) => {
        if (e.indexOf('a100106') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1001note']) {
                this.state.newQuestionData['a1001note'] = '';
            }
            this.setState({ a1001note: '' })
        }
        this.commonNumerous(e, 'a100101', 'a1001');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100101' ? 'a100101' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1001');
            this.setState({ a10010: e, a1001: data })
        } else {
            this.state.newQuestionData['a1001'] = '';
            this.setState({ a10010: '', a1001: '' })
        }
    };
    a1002note = (e) => { this.newQuestionDataOnChange(e, 'a1002note'); this.setState({ a1002note: e.target.value }) };
    a1002 = (e) => {
        if (e.indexOf('a100206') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1002note']) {
                this.state.newQuestionData['a1002note'] = '';
            }
            this.setState({ a1002note: '' })
        }
        this.commonNumerous(e, 'a100201', 'a1002');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100201' ? 'a100201' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1002');
            this.setState({ a10020: e, a1002: data })
        } else {
            this.state.newQuestionData['a1002'] = '';
            this.setState({ a10020: '', a1002: '' })
        }
    };
    a1003note = (e) => { this.newQuestionDataOnChange(e, 'a1003note'); this.setState({ a1003note: e.target.value }) };
    a1003 = (e) => {
        if (e.indexOf('a100307') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1003note']) {
                this.state.newQuestionData['a1003note'] = '';
            }
            this.setState({ a1003note: '' })
        }
        this.commonNumerous(e, 'a100301', 'a1003');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100301' ? 'a100301' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1003');
            this.setState({ a10030: e, a1003: data })
        } else {
            this.state.newQuestionData['a1003'] = '';
            this.setState({ a10030: '', a1003: '' })
        }
    };
    a1004note = (e) => { this.newQuestionDataOnChange(e, 'a1004note'); this.setState({ a1004note: e.target.value }) };
    a1004 = (e) => {
        if (e.indexOf('a100404') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1004note']) {
                this.state.newQuestionData['a1004note'] = '';
            }
            this.setState({ a1004note: '' })
        }
        this.commonNumerous(e, 'a100401', 'a1004');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100401' ? 'a100401' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1004');
            this.setState({ a10040: e, a1004: data })
        } else {
            this.state.newQuestionData['a1004'] = '';
            this.setState({ a10040: '', a1004: '' })
        }
    };
    a1005note = (e) => { this.newQuestionDataOnChange(e, 'a1005note'); this.setState({ a1005note: e.target.value }) };
    a1005 = (e) => {
        if (e.indexOf('a100505') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1005note']) {
                this.state.newQuestionData['a1005note'] = '';
            }
            this.setState({ a1005note: '' })
        }
        this.commonNumerous(e, 'a100501', 'a1005');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100501' ? 'a100501' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1005');
            this.setState({ a10050: e, a1005: data })
        } else {
            this.state.newQuestionData['a1005'] = '';
            this.setState({ a10050: '', a1005: '' })
        }
    };
    a1006note = (e) => { this.newQuestionDataOnChange(e, 'a1006note'); this.setState({ a1006note: e.target.value }) };
    a1006 = (e) => {
        if (e.indexOf('a100604') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1006note']) {
                this.state.newQuestionData['a1006note'] = '';
            }
            this.setState({ a1006note: '' })
        }
        this.commonNumerous(e, 'a100601', 'a1006');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100601' ? 'a100601' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1006');
            this.setState({ a10060: e, a1006: data })
        } else {
            this.state.newQuestionData['a1006'] = '';
            this.setState({ a10060: '', a1006: '' })
        }
    };
    a1007note = (e) => { this.newQuestionDataOnChange(e, 'a1007note'); this.setState({ a1007note: e.target.value }) };
    a1007 = (e) => {
        if (e.indexOf('a100706') == -1 || e.length < 1) {
            if (this.state.newQuestionData && this.state.newQuestionData['a1007note']) {
                this.state.newQuestionData['a1007note'] = '';
            }
            this.setState({ a1007note: '' })
        }
        this.commonNumerous(e, 'a100701', 'a1007');
        if (e.length > 0) {
            let a = e.toString();
            let data = e[0] == 'a100701' ? 'a100701' : a.replace(/,/g, "&");
            this.newQuestionDataOnChange(data, 'a1007');
            this.setState({ a10070: e, a1007: data })
        } else {
            this.state.newQuestionData['a1007'] = '';
            this.setState({ a10070: '', a1007: '' })
        }
    };

    // a1301=(e)=>{this.PhysiqueReviewOnChange(e,'a1301');this.setState({a1301 : e.target.value})};
    a1101 = (e) => { this.mainMedicationSelectOnChange(e, 'a1101'); this.setState({ a1101: e.target.value }) };
    a0701 = (e) => { this.familyBedHistoryAllOnChange(e, 'a0701'); this.setState({ a0701: e.target.value }) };
    a0702 = (e) => { this.familyBedHistoryAllOnChange(e, 'a0702'); this.setState({ a0702: e.target.value }) };
    a1201 = (e) => { this.nonImmunizationOnChange(e, 'a1201'); this.setState({ a1201: e.target.value }) };
    a1401 = (e) => { this.healthAssessmentSelectOnChange(e, 'a1401'); this.setState({ a1401: e.target.value }) };

    // a1601=(e)=>{this.medicineGuidanceOnChange(e,'a1601');this.setState({a1601 : e.target.value})};

    // a1501=(e)=>{this.healthGuidanceOnChange(e,'a1501');this.setState({a1501 : e.target.value})};

    a1501 = (e) => {
        if (e.length > 0) {

            let a = e.toString();
            let data = a.replace(/,/g, "&");
            this.healthGuidanceOnChange(data, 'a1501');
            this.setState({ a15010: e, a1501: data })
        } else {
            this.state.healthGuidance['a1501'] = '';
            this.setState({ a15010: '', a1501: '' })
        }
    };
    a150406 = (e) => { this.healthGuidanceOnChange(e, 'a150406'); this.commonInputChange('a150406', '1', e) };
    a150409 = (e) => { this.healthGuidanceOnChange(e, 'a150409'); this.setState({ a150409: e.target.value }) };
    a1504 = (e) => {
        // if(e.indexOf('a150409') == -1 || e.length<1){
        //     this.state.newQuestionData['a150409']='';
        //     this.setState({a150409: ''})
        // }
        if (e.length > 0) {
            let a = e.toString();
            let data = a.replace(/,/g, "&");
            this.healthGuidanceOnChange(data, 'a1504');
            this.setState({ a15040: e, a1504: data })
        } else {
            this.state.healthGuidance['a1504'] = '';
            this.setState({ a15040: '', a1504: '' })
        }
    };
    a150408 = (e) => {
        if (e.length > 0) {
            let a = e.toString();
            let data = a.replace(/,/g, "&");
            this.healthGuidanceOnChange(data, 'a150408');
            this.setState({ a1504080: e, a150408: data })
        } else {
            this.state.healthGuidance['a150408'] = '';
            this.setState({ a1504080: '', a150408: '' })
        }
        // this.healthGuidanceOnChange(e,'a150408');
        // this.setState({a150408 : e.target.value})
    };
    a150408note = (e) => { this.healthGuidanceOnChange(e, 'a150408note'); this.setState({ a150408note: e.target.value }) };

    render() {
        var { userInfo, startTimeDate, generally, Auxiliaryxamination, lifestyle, symptom, organFunction, physicalExamination, pastHistory, familyHistorySelect, newQuestionData, healthAssessmentSelect, nonImmunization, mainMedicationSelect, familyBedHistoryAll, healthAssessmentData, healthGuidance, ScheduleNum
        } = this.state;
        const plainOptions = [
            { label: '荤素均衡', value: 'a030206' },
            { label: '荤食为主', value: 'a030201' },
            { label: '素食为主', value: 'a030202' },
            { label: '嗜盐', value: 'a030203' },
            { label: '嗜油', value: 'a030204' },
            { label: '嗜糖', value: 'a030205' },
        ];
        let lifestylePlainOptions = lifestyle.a0302 ? lifestyle.a0302.split('&') : [];
        let lifestyleLiquor = lifestyle.a030407 ? lifestyle.a030407.split('&') : [];
        const Liquor = [
            { label: '白酒', value: 'a03040701' },
            { label: '啤酒', value: 'a03040702' },
            { label: '红酒', value: 'a03040703' },
            { label: '黄酒', value: 'a03040704' },
            { label: '其他', value: 'a03040705' },
        ];
        const Pharynx = [
            { label: '无充血', value: 'a05010301' },
            { label: '充血', value: 'a05010302', disabled: this.state.a050103a == 'a05010301' ? true : organFunction.a050103 == 'a05010301' ? true : false },
            { label: '淋巴滤泡增生', value: 'a05010303', disabled: this.state.a050103a == 'a05010301' ? true : organFunction.a050103 == 'a05010301' ? true : false },
        ];
        const InstepData = [
            { label: '未触及', value: 'a060801', disabled: this.state.a0608a == 'a060802' ? true : physicalExamination.a0608 == 'a060802' ? true : false },
            { label: '触及双侧对称', value: 'a060802', disabled: this.state.a0608a == 'a060801' ? true : physicalExamination.a0608 == 'a060801' ? true : false },
            { label: '触及左侧弱或消失', value: 'a060803', disabled: this.state.a0608a == 'a060801' || this.state.a0608a == 'a060802' ? true : physicalExamination.a0608 == 'a060801' || physicalExamination.a0608 == 'a060802' ? true : false },
            { label: '触及右侧弱或消失', value: 'a060804', disabled: this.state.a0608a == 'a060801' || this.state.a0608a == 'a060802' ? true : physicalExamination.a0608 == 'a060801' || physicalExamination.a0608 == 'a060802' ? true : false }
        ];
        const symptomData = [
            { label: '无症状', value: 'a040101' },
            { label: '头痛', value: 'a040102', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '头晕', value: 'a040103', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '心悸', value: 'a040104', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '胸闷', value: 'a040125', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '胸痛', value: 'a040105', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '慢性咳嗽', value: 'a040106', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '咳痰', value: 'a040107', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '呼吸困难', value: 'a040108', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '多饮', value: 'a040109', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '多尿', value: 'a040110', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '体重下降', value: 'a040111', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '乏力', value: 'a040112', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '关节肿痛', value: 'a040113', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '视力模糊', value: 'a040114', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '手脚麻木', value: 'a040115', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '尿急', value: 'a040116', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '尿痛', value: 'a040117', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '便秘', value: 'a040118', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '腹泻', value: 'a040119', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '恶心呕吐', value: 'a040120', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '眼花', value: 'a040121', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '耳鸣', value: 'a040122', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '乳房胀痛', value: 'a040123', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
            { label: '其他', value: 'a040124', disabled: this.state.a0401a == 'a040101' ? true : symptom.a0401 == 'a040101' ? true : false },
        ];
        let symptomLiquor = symptom.a0401 ? symptom.a0401.split('&') : [];
        let InstepLiquor = physicalExamination.a0608 ? physicalExamination.a0608.split('&') : [];
        let PharynxList = organFunction.a050103 ? organFunction.a050103.split('&') : [];
        let organTooth = organFunction.a050102 ? organFunction.a050102.split('&') : [];
        const toothList = [
            { label: '正常', value: 'a05010201' },
            { label: '缺牙', value: 'a05010202', disabled: this.state.a050102a == 'a05010201' ? true : organFunction.a050102 == 'a05010201' ? true : false },
            { label: '龋齿', value: 'a05010203', disabled: this.state.a050102a == 'a05010201' ? true : organFunction.a050102 == 'a05010201' ? true : false },
            { label: '义齿（假牙）', value: 'a05010204', disabled: this.state.a050102a == 'a05010201' ? true : organFunction.a050102 == 'a05010201' ? true : false }
        ];

        const familyHistoryF = [
            { label: '无', value: 'a090201' },
            { label: '高血压', value: 'a090202', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '糖尿病', value: 'a090203', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '冠心病', value: 'a090204', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '慢性阻塞性肺疾病', value: 'a090205', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '恶性肿瘤', value: 'a090206', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '脑卒中', value: 'a090207', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '结核', value: 'a090208', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '肝炎', value: 'a090209', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '先天畸形', value: 'a090210', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '骨折（椎体、髋、腕部）', value: 'a090211', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false },
            { label: '其他', value: 'a090212', disabled: this.state.a0902a == 'a090201' ? true : familyHistorySelect.a0902 == 'a090201' ? true : false }
        ];
        const familyHistoryM = [
            { label: '无', value: 'a090301' },
            { label: '高血压', value: 'a090302', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '糖尿病', value: 'a090303', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '冠心病', value: 'a090304', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '慢性阻塞性肺疾病', value: 'a090305', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '恶性肿瘤', value: 'a090306', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '脑卒中', value: 'a090307', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '结核', value: 'a090308', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '肝炎', value: 'a090309', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '先天畸形', value: 'a090310', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '骨折（椎体、髋、腕部）', value: 'a090311', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false },
            { label: '其他', value: 'a090312', disabled: this.state.a0903a == 'a090301' ? true : familyHistorySelect.a0903 == 'a090301' ? true : false }
        ];
        const familyHistoryBS = [
            { label: '无', value: 'a090401' },
            { label: '高血压', value: 'a090402', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '糖尿病', value: 'a090403', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '冠心病', value: 'a090404', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '慢性阻塞性肺疾病', value: 'a090405', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '恶性肿瘤', value: 'a090406', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '脑卒中', value: 'a090407', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '结核', value: 'a090408', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '肝炎', value: 'a090409', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '先天畸形', value: 'a090410', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '骨折（椎体、髋、腕部）', value: 'a090411', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false },
            { label: '其他', value: 'a090412', disabled: this.state.a0904a == 'a090401' ? true : familyHistorySelect.a0904 == 'a090401' ? true : false }
        ];
        const familyHistoryC = [
            { label: '无', value: 'a090501' },
            { label: '高血压', value: 'a090502', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '糖尿病', value: 'a090503', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '冠心病', value: 'a090504', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '慢性阻塞性肺疾病', value: 'a090505', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '恶性肿瘤', value: 'a090506', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '脑卒中', value: 'a090507', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '结核', value: 'a090508', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '肝炎', value: 'a090509', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '先天畸形', value: 'a090510', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '骨折（椎体、髋、腕部）', value: 'a090511', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false },
            { label: '其他', value: 'a090512', disabled: this.state.a0905a == 'a090501' ? true : familyHistorySelect.a0905 == 'a090501' ? true : false }
        ];
        const medicalHistoryNX = [
            { label: '未发现', value: 'a08040101' },
            { label: '缺血性卒中', value: 'a08040102', disabled: this.state.a080401a == 'a08040101' ? true : pastHistory.a080401 == 'a08040101' ? true : false },
            { label: '脑出血', value: 'a08040103', disabled: this.state.a080401a == 'aa08040101' ? true : pastHistory.a080401 == 'a08040101' ? true : false },
            { label: '蛛网膜下腔出血', value: 'a08040104', disabled: this.state.a080401a == 'a08040101' ? true : pastHistory.a080401 == 'a08040101' ? true : false },
            { label: '短暂性脑缺血发作', value: 'a08040105', disabled: this.state.a080401a == 'a08040101' ? true : pastHistory.a080401 == 'a08040101' ? true : false },
            { label: '其他', value: 'a08040106', disabled: this.state.a080401a == 'a08040101' ? true : pastHistory.a080401 == 'a08040101' ? true : false }
        ];
        const medicalHistorySZ = [
            { label: '未发现', value: 'a08040201' },
            { label: '糖尿病肾病', value: 'a08040202', disabled: this.state.a080402a == 'a08040201' ? true : pastHistory.a080402 == 'a08040201' ? true : false },
            { label: '肾功能衰竭', value: 'a08040203', disabled: this.state.a080402a == 'a08040201' ? true : pastHistory.a080402 == 'a08040201' ? true : false },
            { label: '急性肾炎', value: 'a08040204', disabled: this.state.a080402a == 'a08040201' ? true : pastHistory.a080402 == 'a08040201' ? true : false },
            { label: '慢性肾炎', value: 'a08040205', disabled: this.state.a080402a == 'a08040201' ? true : pastHistory.a080402 == 'a08040201' ? true : false },
            { label: '其他', value: 'a08040206', disabled: this.state.a080402a == 'a08040201' ? true : pastHistory.a080402 == 'a08040201' ? true : false }
        ];
        const medicalHistoryXZ = [
            { label: '未发现', value: 'a08040301' },
            { label: '心肌梗死', value: 'a08040302', disabled: this.state.a080403a == 'a08040301' ? true : pastHistory.a080403 == 'a08040301' ? true : false },
            { label: '心绞痛', value: 'a08040303', disabled: this.state.a080403a == 'a08040301' ? true : pastHistory.a080403 == 'a08040301' ? true : false },
            { label: '冠状动脉血运重建', value: 'a08040304', disabled: this.state.a080403a == 'a08040301' ? true : pastHistory.a080403 == 'a08040301' ? true : false },
            { label: '充血性心力衰竭', value: 'a08040305', disabled: this.state.a080403a == 'a08040301' ? true : pastHistory.a080403 == 'a08040301' ? true : false },
            { label: '心前区疼痛', value: 'a08040306', disabled: this.state.a080403a == 'a08040301' ? true : pastHistory.a080403 == 'a08040301' ? true : false },
            { label: '其他', value: 'a08040307', disabled: this.state.a080403a == 'a08040301' ? true : pastHistory.a080403 == 'a08040301' ? true : false }
        ];
        const medicalHistoryXG = [
            { label: '未发现', value: 'a08040401' },
            { label: '夹层动脉瘤', value: 'a08040402', disabled: this.state.a080404a == 'a08040401' ? true : pastHistory.a080404 == 'a08040401' ? true : false },
            { label: '动脉闭塞性疾病', value: 'a08040403', disabled: this.state.a080404a == 'a08040401' ? true : pastHistory.a080404 == 'a08040401' ? true : false },
            { label: '其他', value: 'a08040404', disabled: this.state.a080404a == 'a08040401' ? true : pastHistory.a080404 == 'a08040401' ? true : false }
        ];
        const medicalHistoryYB = [
            { label: '未发现', value: 'a08040501' },
            { label: '视网膜出血或渗出', value: 'a08040502', disabled: this.state.a080405a == 'a08040501' ? true : pastHistory.a080405 == 'a08040501' ? true : false },
            { label: '视乳头水肿', value: 'a08040503', disabled: this.state.a080405a == 'a08040501' ? true : pastHistory.a080405 == 'a08040501' ? true : false },
            { label: '白内障', value: 'a08040504', disabled: this.state.a080405a == 'a08040501' ? true : pastHistory.a080405 == 'a08040501' ? true : false },
            { label: '其他', value: 'a08040505', disabled: this.state.a080405a == 'a08040501' ? true : pastHistory.a080405 == 'a08040501' ? true : false }
        ];
        const medicalHistorySJ = [
            { label: '未发现', value: 'a08040601' },
            { label: '帕金森疾病', value: 'a08040602', disabled: this.state.a080406a == 'a08040601' ? true : pastHistory.a080406 == 'a08040601' ? true : false },
            { label: '阿尔茨海默病', value: 'a08040603', disabled: this.state.a080406a == 'a08040601' ? true : pastHistory.a080406 == 'a08040601' ? true : false },
            { label: '其他', value: 'a08040604', disabled: this.state.a080406a == 'a08040601' ? true : pastHistory.a080406 == 'a08040601' ? true : false }
        ];
        const medicalHistoryQT = [
            { label: '未发现', value: 'a08040701' },
            { label: '高血压', value: 'a08040702', disabled: this.state.a080407a == 'a08040701' ? true : pastHistory.a080407 == 'a08040701' ? true : false },
            { label: '糖尿病', value: 'a08040703', disabled: this.state.a080407a == 'a08040701' ? true : pastHistory.a080407 == 'a08040701' ? true : false },
            { label: '高脂血症', value: 'a08040704', disabled: this.state.a080407a == 'a08040701' ? true : pastHistory.a080407 == 'a08040701' ? true : false },
            { label: '前列腺疾病', value: 'a08040705', disabled: this.state.a080407a == 'a08040701' ? true : pastHistory.a080407 == 'a08040701' ? true : false },
            { label: '其他', value: 'a08040706', disabled: this.state.a080407a == 'a08040701' ? true : pastHistory.a080407 == 'a08040701' ? true : false }
        ];
        const nowTheProblem = [
            { label: '未发现', value: 'a100101' },
            { label: '缺血性卒中', value: 'a100102', disabled: this.state.a1001a == 'a100101' ? true : newQuestionData.a1001 == 'a100101' ? true : false },
            { label: '脑出血', value: 'a100103', disabled: this.state.a1001a == 'a100101' ? true : newQuestionData.a1001 == 'a100101' ? true : false },
            { label: '蛛网膜下腔出血', value: 'a100104', disabled: this.state.a1001a == 'a100101' ? true : newQuestionData.a1001 == 'a100101' ? true : false },
            { label: '短暂性脑缺血发作', value: 'a100105', disabled: this.state.a1001a == 'a100101' ? true : newQuestionData.a1001 == 'a100101' ? true : false },
            { label: '其他', value: 'a100106', disabled: this.state.a1001a == 'a100101' ? true : newQuestionData.a1001 == 'a100101' ? true : false }
        ];
        const nowTheProblemSZ = [
            { label: '未发现', value: 'a100201' },
            { label: '糖尿病肾病', value: 'a100202', disabled: this.state.a1002a == 'a100201' ? true : newQuestionData.a1002 == 'a100201' ? true : false },
            { label: '肾功能衰竭', value: 'a100203', disabled: this.state.a1002a == 'a100201' ? true : newQuestionData.a1002 == 'a100201' ? true : false },
            { label: '急性肾炎', value: 'a100204', disabled: this.state.a1002a == 'a100201' ? true : newQuestionData.a1002 == 'a100201' ? true : false },
            { label: '慢性肾炎', value: 'a100205', disabled: this.state.a1002a == 'a100201' ? true : newQuestionData.a1002 == 'a100201' ? true : false },
            { label: '其他', value: 'a100206', disabled: this.state.a1002a == 'a100201' ? true : newQuestionData.a1002 == 'a100201' ? true : false }
        ];
        const nowTheProblemXZ = [
            { label: '未发现', value: 'a100301' },
            { label: '心肌梗死', value: 'a100302', disabled: this.state.a1003a == 'a100301' ? true : newQuestionData.a1003 == 'a100301' ? true : false },
            { label: '心绞痛', value: 'a100303', disabled: this.state.a1003a == 'a100301' ? true : newQuestionData.a1003 == 'a100301' ? true : false },
            { label: '冠状动脉血运重建', value: 'a100304', disabled: this.state.a1003a == 'a100301' ? true : newQuestionData.a1003 == 'a100301' ? true : false },
            { label: '充血性心力衰竭', value: 'a100305', disabled: this.state.a1003a == 'a100301' ? true : newQuestionData.a1003 == 'a100301' ? true : false },
            { label: '心前区疼痛', value: 'a100306', disabled: this.state.a1003a == 'a100301' ? true : newQuestionData.a1003 == 'a100301' ? true : false },
            { label: '其他', value: 'a100307', disabled: this.state.a1003a == 'a100301' ? true : newQuestionData.a1003 == 'a100301' ? true : false }
        ];
        const nowTheProblemXG = [
            { label: '未发现', value: 'a100401' },
            { label: '夹层动脉瘤', value: 'a100402', disabled: this.state.a1004a == 'a100401' ? true : newQuestionData.a1004 == 'a100401' ? true : false },
            { label: '动脉闭塞性疾病', value: 'a100403', disabled: this.state.a1004a == 'a100401' ? true : newQuestionData.a1004 == 'a100401' ? true : false },
            { label: '其他', value: 'a100404', disabled: this.state.a1004a == 'a100401' ? true : newQuestionData.a1004 == 'a100401' ? true : false }
        ];
        const nowTheProblemYB = [
            { label: '未发现', value: 'a100501' },
            { label: '视网膜出血或渗出', value: 'a100502', disabled: this.state.a1005a == 'a100501' ? true : newQuestionData.a1005 == 'a100501' ? true : false },
            { label: '视乳头水肿', value: 'a100503', disabled: this.state.a1005a == 'a100501' ? true : newQuestionData.a1005 == 'a100501' ? true : false },
            { label: '白内障', value: 'a100504', disabled: this.state.a1005a == 'a100501' ? true : newQuestionData.a1005 == 'a100501' ? true : false },
            { label: '其他', value: 'a100505', disabled: this.state.a1005a == 'a100501' ? true : newQuestionData.a1005 == 'a100501' ? true : false }
        ];
        const nowTheProblemXJ = [
            { label: '未发现', value: 'a100601' },
            { label: '帕金森疾病', value: 'a100602', disabled: this.state.a1006a == 'a100601' ? true : newQuestionData.a1006 == 'a100601' ? true : false },
            { label: '阿尔茨海默病', value: 'a100603', disabled: this.state.a1006a == 'a100601' ? true : newQuestionData.a1006 == 'a100601' ? true : false },
            { label: '其他', value: 'a100604', disabled: this.state.a1006a == 'a100601' ? true : newQuestionData.a1006 == 'a100601' ? true : false }
        ];
        const nowTheProblemQT = [
            { label: '未发现', value: 'a100701' },
            { label: '高血压', value: 'a100702', disabled: this.state.a1007a == 'a100701' ? true : newQuestionData.a1007 == 'a100701' ? true : false },
            { label: '糖尿病', value: 'a100703', disabled: this.state.a1007a == 'a100701' ? true : newQuestionData.a1007 == 'a100701' ? true : false },
            { label: '高脂血症', value: 'a100704', disabled: this.state.a1007a == 'a100701' ? true : newQuestionData.a1007 == 'a100701' ? true : false },
            { label: '前列腺疾病', value: 'a100705', disabled: this.state.a1007a == 'a100701' ? true : newQuestionData.a1007 == 'a100701' ? true : false },
            { label: '其他', value: 'a100706', disabled: this.state.a1007a == 'a100701' ? true : newQuestionData.a1007 == 'a100701' ? true : false }
        ];
        const healthGuidanceSelect = [
            { label: '戒烟', value: 'a150401' },
            { label: '健康饮酒', value: 'a150402' },
            { label: '饮食', value: 'a150403' },
            { label: '锻炼', value: 'a150404' },
            { label: '防跌倒 防骨质疏松 防意外伤害、自救、认知和情感等 健康指导', value: 'a150405' },
            { label: '减体重', value: 'a150406' },
            { label: '减腰围', value: 'a150407' },
            { label: '建议接种疫苗', value: 'a150408' },
            { label: '其他', value: 'a150409' }
        ];
        const healthGuidanceSelectZDJY = [
            { label: '流感', value: 'a15040801' },
            { label: '肺炎', value: 'a15040802' },
            { label: '其他', value: 'a15040803' },
        ];
        const healthGuidanceSelectZD = [
            { label: '纳入慢性病患者健康管理', value: 'a150101' },
            { label: '建议复查', value: 'a150102' },
            { label: '建议转诊', value: 'a150103' },
        ];
        let familyJistorySlectF = familyHistorySelect.a0902 ? familyHistorySelect.a0902.split('&') : [];
        let familyJistorySlectM = familyHistorySelect.a0903 ? familyHistorySelect.a0903.split('&') : [];
        let familyJistorySlectBS = familyHistorySelect.a0904 ? familyHistorySelect.a0904.split('&') : [];
        let familyJistorySlectC = familyHistorySelect.a0905 ? familyHistorySelect.a0905.split('&') : [];
        let newQuestionDataN = newQuestionData.a1001 ? newQuestionData.a1001.split('&') : [];
        let newQuestionDataSZ = newQuestionData.a1002 ? newQuestionData.a1002.split('&') : [];
        let newQuestionDataXZ = newQuestionData.a1003 ? newQuestionData.a1003.split('&') : [];
        let newQuestionDataXG = newQuestionData.a1004 ? newQuestionData.a1004.split('&') : [];
        let newQuestionDataYB = newQuestionData.a1005 ? newQuestionData.a1005.split('&') : [];
        let newQuestionDataXJ = newQuestionData.a1006 ? newQuestionData.a1006.split('&') : [];
        let newQuestionDataQT = newQuestionData.a1007 ? newQuestionData.a1007.split('&') : [];
        let newQuestionDataJK = healthGuidance.a1504 ? healthGuidance.a1504.split('&') : [];
        let newQuestionDataJKZD = healthGuidance.a1501 ? healthGuidance.a1501.split('&') : [];
        let newQuestionDataJKZDJY = healthGuidance.a150408 ? healthGuidance.a150408.split('&') : [];
        let pastHistoryBS = pastHistory.a080401 ? pastHistory.a080401.split('&') : [];
        let pastHistorySZ = pastHistory.a080402 ? pastHistory.a080402.split('&') : [];
        let pastHistoryXZ = pastHistory.a080403 ? pastHistory.a080403.split('&') : [];
        let pastHistoryXG = pastHistory.a080404 ? pastHistory.a080404.split('&') : [];
        let pastHistoryYB = pastHistory.a080405 ? pastHistory.a080405.split('&') : [];
        let pastHistorySJ = pastHistory.a080406 ? pastHistory.a080406.split('&') : [];
        let pastHistoryQT = pastHistory.a080407 ? pastHistory.a080407.split('&') : [];

        let healthData = this.childModal && this.childModal.state && this.childModal.state.healthList ? this.childModal.state.healthList : {}
        return <div className='MedicalExamination'>
            <Col className='recordingLeft' style={{ height: store.getState().tableHeight.y + 82 + 'px' }} >
                <RecordingLeft showPupop={true} onRef={this.onRef} handleThis={this} />
            </Col>
            <Col className='recordingRight' style={{ height: store.getState().tableHeight.y + 82 + 'px' }}>
                <Row>
                    <Col className='recordingRightSchedule' style={{ height: store.getState().tableHeight.y + 82 + 'px' }}>
                        <div style={{ textAlign: 'center', margin: '5px 0' }}>
                            <span>完成进度</span>
                        </div>
                        <div style={{ textAlign: 'center', borderBottom: '1px #dedede solid', paddingBottom: '10px', marginBottom: '10px' }}>
                            <Progress type="circle" width={100} percent={ScheduleNum} />
                        </div>
                        <div style={{ height: store.getState().tableHeight.y - 72 + 'px', overflow: 'auto', padding: '5px' }}>
                            <Timeline>
                                {this.state.leftList.length > 0 && this.state.leftList.map((item, i) => {
                                    return <Timeline.Item color={item.assessCatFlag == '1.00' ? 'green' : item.assessCatFlag == '0.00' ? 'gray' : 'red'} key={i} className={this.state.classNameShow == item.assCode ? 'Highlight' : ''} style={{ cursor: 'pointer' }} onClick={() => this.scrollToAnchor(item.assCode)}>{item.assCatDesc}</Timeline.Item>
                                })}
                            </Timeline>
                        </div>
                    </Col>
                    <Col className='recordingRightInfo' style={{ height: store.getState().tableHeight.y + 82 + 'px' }}>
                        <Row className='basicInfo'>体检基本信息</Row>
                        <Row className='info'>
                            <div className='details'>
                                <div >
                                    <span className='T' style={{ marginLeft: '15px' }}>姓名： <span>{userInfo.patName}</span></span>
                                    <span className='T'>年龄： <span>{userInfo.patAge}</span></span>
                                    <span className='T'>性别： <span>{userInfo.patSexDesc}</span></span>
                                    <span className='T'>体检日期： <span> <DatePicker defaultValue={moment(startTimeDate)} format="YYYY-MM-DD" onChange={this.setTimeDate} value={this.state.healthRecordDate ? moment(this.state.healthRecordDate) : moment()} /></span></span>
                                    <span className='T'>体检医生： <span>
                                        <Select value={this.state.doctorID ? this.state.doctorID : this.state.showUserID && this.state.showDefault ? this.state.userData.userID : ''} allowClear showSearch optionFilterProp="seatchprop" style={{ width: '10%' }} onChange={this.onChangeSelect}>
                                            {this.state.selectData.length > 0 && this.state.selectData.map((item, i) => { return <Option value={item.id} key={i} seatchprop={item.descripts + '^' + item.descriptsSPCode}>{item.descripts}</Option> })}
                                        </Select>
                                    </span></span>
                                    <span className='T'><Button type="dashed" onClick={() => { this.clearID() }}>新增</Button></span>
                                    {JSON.parse(sessionStorage.getItem('changeValue')) ?
                                        <span><Button disabled={!this.state.looding} type="primary" onClick={this.saveTable}>{this.state.looding ? '保存' : '保存中...'}</Button></span>
                                        :
                                        <span><Button disabled type="primary" >{this.state.looding ? '保存' : '保存中...'}</Button></span>


                                    }

                                    <span><Button type="primary" style={{ margin: '0 10px', padding: '0 8px' }} onClick={this.GenerateReport}>生成报告</Button></span>

                                    <span>
                                        <Popconfirm title={"确定要删除  " + healthData.doctorDesc + " " + healthData.healthDate + '  体检记录？'} onConfirm={() => { this.deleteExamination() }} >
                                            <Button style={{ color: 'rgba(240,65,52,1', fontWeight: 'bold', marginRight: '10px' }} type="dashed">删除</Button>
                                            {/*<span className='span' style={{ color: 'rgba(240,65,52,1)' }}>删除</span>*/}
                                        </Popconfirm>
                                    </span>
                                    <span><Button style={{ color: '#333333', fontWeight: 'bold' }} type="dashed" onClick={this.examinationRequest}>打印</Button></span>

                                </div>
                            </div>
                            <div style={{ height: store.getState().tableHeight.y + 17 + 'px', overflow: 'auto' }}>
                                <div style={{ height: '105px' }}>
                                    <div style={{
                                        float: 'left', width: '13%', height: '100px',
                                        lineHeight: '100px', paddingLeft: '10px'
                                    }}> 体检图像采集：</div>
                                    <div style={{
                                        marginLeft: 20, float: 'left', height: '100px',
                                        lineHeight: '100px', width: '84%'
                                    }}>
                                        <BasicUpload that={this} HealthStore={this.state.iconImg} onRef={this.onRefIcon} pictureData={this.state.pictureData} />
                                    </div>
                                </div>

                                {this.state.showA01 &&
                                    <div>
                                        <div style={{ background: '#f0f2f5' }} id='a01'>一般情况</div>
                                        <div className='table'>
                                            <div className='tableBorder'>
                                                <span className='one'>体温</span>
                                                <span className='two'><Input value={generally.a0101 ? generally.a0101 : this.state.a0101} onChange={this.a0101} style={{ width: '25%', marginLeft: '5px' }} />  °C
                                                    {generally.a0101 && generally.a0101 < 36 && <span className='error'>体温偏低</span>}
                                                    {37.2 < generally.a0101 && generally.a0101 < 40 && <span className='error'>体温偏高</span>}
                                                    {generally.a0101 >= 40 && <span className='error'>体温过高</span>}

                                                </span>
                                                <span className='three'>脉率</span>
                                                <span className='four'><Input value={generally.a0102 ? generally.a0102 : this.state.a0102} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a0102} />  次/分钟
                                                    {generally.a0102 && generally.a0102 < 60 && <span className='error'>心动过缓</span>}
                                                    {generally.a0102 > 100 && <span className='error'>心动过速</span>}
                                                </span>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '140px', lineHeight: '140px' }}>
                                                <div className='one' style={{ display: 'block', float: 'left' }}>呼吸频率</div>
                                                <div className='two' style={{ display: 'block', float: 'left' }}><Input style={{ width: '25%', marginLeft: '5px' }} value={generally.a0103 ? generally.a0103 : this.state.a0103} onChange={this.a0103} />  次/分钟
                                                    {generally.a0103 && generally.a0103 < 12 && <span className='error'>呼吸过缓</span>}
                                                    {generally.a0103 > 20 && generally.a0103 <= 24 && <span className='error'>呼吸较快</span>}
                                                    {generally.a0103 > 24 && <span className='error'>呼吸过速</span>}
                                                </div>
                                                <div className='three' style={{
                                                    display: 'block', float: 'left',
                                                    position: 'relative',
                                                    height: '140px', padding: '0'
                                                }}>
                                                    <span style={{
                                                        display: 'inline-block',
                                                        width: '100%',
                                                        height: '70px',
                                                        lineHeight: '70px',
                                                        borderBottom: '1px silver solid',
                                                        paddingLeft: '5px',
                                                        position: 'absolute'
                                                    }}>血压</span>
                                                </div>
                                                <div className='four' style={{ display: 'block', float: 'left', padding: '0' }}>
                                                    <div style={{ height: '70px', lineHeight: '70px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            <span>左侧</span>
                                                            <span>
                                                                <Input placeholder='收缩压' value={this.state.valueA01041} style={{ width: '20%', marginLeft: '5px' }} onChange={this.valueA01041} />
                                                            </span>/
                                                            <span>
                                                                <Input placeholder='舒张压' value={this.state.valueA01042} style={{ width: '20%', marginLeft: '5px' }} onChange={this.valueA01042} />
                                                            </span>
                                                            mmHg
                                                        </div>
                                                        <div style={{ height: '30px', lineHeight: '30px', paddingLeft: '5px', position: 'relative' }}>
                                                            {this.state.valueA01041 && this.state.valueA01041 >= 140 && <span className='error' style={{ position: 'absolute', left: '18px' }}>血压升高</span>}
                                                            {this.state.valueA01041 && this.state.valueA01041 < 90 && <span className='error' style={{ position: 'absolute', left: '18px' }}>血压偏低</span>}
                                                            {this.state.valueA01042 && this.state.valueA01042 >= 90 && <span className='error' style={{ position: 'absolute', left: '98px' }}>血压升高</span>}
                                                            {this.state.valueA01042 && this.state.valueA01042 < 60 && <span className='error' style={{ position: 'absolute', left: '98px' }}>血压偏低</span>}
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '70px', lineHeight: '70px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            <span>右侧</span>
                                                            <span>
                                                                <Input placeholder='收缩压' value={this.state.valueA01043} style={{ width: '20%', marginLeft: '5px' }} onChange={this.valueA01043} />
                                                            </span>/
                                                            <span>
                                                                <Input placeholder='舒张压' value={this.state.valueA01044} style={{ width: '20%', marginLeft: '5px' }} onChange={this.valueA01044} />
                                                            </span>
                                                            mmHg
                                                        </div>
                                                        <div style={{ height: '30px', lineHeight: '30px', paddingLeft: '5px', position: 'relative' }}>
                                                            {this.state.valueA01043 && this.state.valueA01043 >= 140 && <span className='error' style={{ position: 'absolute', left: '18px' }}>血压升高</span>}
                                                            {this.state.valueA01043 && this.state.valueA01043 < 90 && <span className='error' style={{ position: 'absolute', left: '18px' }}>血压偏低</span>}
                                                            {this.state.valueA01044 && this.state.valueA01044 >= 90 && <span className='error' style={{ position: 'absolute', left: '98px' }}>血压升高</span>}
                                                            {this.state.valueA01044 && this.state.valueA01044 < 60 && <span className='error' style={{ position: 'absolute', left: '98px' }}>血压偏低</span>}
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <span className='one'>身高</span>
                                                <span className='two'><Input value={generally.a0105 ? generally.a0105 : this.state.a0105} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a0105} onBlur={this.a0105Blur} />  cm <span className={false ? 'error' : 'displayNone'}>中度发烧</span></span>
                                                <span className='three'>体重</span>
                                                <span className='four'><Input value={generally.a0106 ? generally.a0106 : this.state.a0106} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a0106} onBlur={this.a0106Blur} />  Kg <span className={false ? 'error' : 'displayNone'}>超重</span></span>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <span className='one'>腰围</span>
                                                <span className='two'><Input value={generally.a0107 ? generally.a0107 : this.state.a0107} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a0107} />  cm
                                                    {userInfo.patSexDesc == '男' && generally.a0107 > 90 && <span className='error'>中心型肥胖</span>}
                                                    {userInfo.patSexDesc == '女' && generally.a0107 > 85 && <span className='error'>中心型肥胖</span>}
                                                </span>
                                                <span className='three'>体质指数（BMI）</span>
                                                <span className='four'><Input value={this.state.a0108 ? this.state.a0108 : generally.a0108} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a0108} disabled={true} />  Kg/m²
                                                    {generally.a0108 && generally.a0108 <= 18.5 && <span className='error'>体重过轻</span>}
                                                    {generally.a0108 > 24 && generally.a0108 <= 28 && <span className='error'>超重</span>}
                                                    {generally.a0108 > 28 && <span className='error'>肥胖</span>}
                                                </span>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <span className='one'>视力</span>
                                                <span style={{ paddingLeft: '5px' }}>
                                                    左眼 <span><input value={generally.a010901 ? generally.a010901 : this.state.a010901} style={{ width: '7%', marginLeft: '5px' }} onChange={this.a010901} /></span>
                                                </span>
                                                <span>
                                                    右眼 <span style={{ marginLeft: '5px' }}><input value={generally.a010902 ? generally.a010902 : this.state.a010902} style={{ width: '7%', marginLeft: '5px' }} onChange={this.a010902} /></span>
                                                    <span className={false ? 'error' : 'displayNone'}>心动过速</span>
                                                </span>
                                                <span style={{ marginLeft: '90px' }}>
                                                    矫正后视力：
                                                    <span>
                                                        左眼 <span><input value={generally.a010903 ? generally.a010903 : this.state.a010903} style={{ width: '7%', marginLeft: '5px' }} onChange={this.a010903} /></span>
                                                    </span>
                                                    <span>
                                                        右眼 <span style={{ marginLeft: '5px' }}><input value={generally.a010904 ? generally.a010904 : this.state.a010904} style={{ width: '7%', marginLeft: '5px' }} onChange={this.a010904} /></span>
                                                        <span className={false ? 'error' : 'displayNone'}>心动过速</span>
                                                    </span>
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA02 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a02'>辅助检查</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '80px', lineHeight: '80px' }}>
                                                <div className='one' style={{ float: 'left' }}>血型</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <Radio.Group value={Auxiliaryxamination.a0201 ? Auxiliaryxamination.a0201.split('&')[0] : this.state.a0201} onChange={this.a0201}>
                                                            <Radio value='a020101'>A型</Radio>
                                                            <Radio value='a020102'>B型</Radio>
                                                            <Radio value='a020103'>O型</Radio>
                                                            <Radio value='a020104'>AB型</Radio>
                                                            <Radio value='a020105'>A\B\O不详</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                        {/*<Radio.Group onChange={this.a0201}>*/}
                                                        {/*</Radio.Group>*/}
                                                        <Radio.Group value={Auxiliaryxamination.a0213 ? Auxiliaryxamination.a0213 : this.state.a0213} onChange={this.a0213}>
                                                            <Radio value='a020106'>RH阴性</Radio>
                                                            <Radio value='a020107'>RH阳性</Radio>
                                                            <Radio value='a020108'>RH不详</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '120px', lineHeight: '120px' }}>
                                                <div className='one' style={{ float: 'left' }}>血常规</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '120px', lineHeight: '120px', borderRight: '1px solid silver', paddingLeft: '5px', width: '50%', float: 'left' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px' }}>
                                                            <div style={{ height: '40px', lineHeight: '40px' }}>
                                                                <span style={{ width: '60px', display: 'inline-block' }}>血红蛋白</span>
                                                                <Input value={Auxiliaryxamination.a020201 ? Auxiliaryxamination.a020201 : this.state.a020201} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020201} />  g/L
                                                                {Auxiliaryxamination.a020201 && Auxiliaryxamination.a020201 < 110 && <span className='error'>偏低</span>}
                                                                {Auxiliaryxamination.a020201 > 153 && <span className='error'>偏高</span>}
                                                            </div>
                                                        </div>
                                                        <div style={{ height: '40px', lineHeight: '40px' }}>
                                                            <div style={{ height: '40px', lineHeight: '40px' }}>
                                                                <span style={{ width: '60px', display: 'inline-block' }}>白细胞</span>
                                                                <Input value={Auxiliaryxamination.a020202 ? Auxiliaryxamination.a020202 : this.state.a020202} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020202} />  *10^9/L
                                                                {Auxiliaryxamination.a020202 && Auxiliaryxamination.a020202 < 4 && <span className='error'>偏低</span>}
                                                                {Auxiliaryxamination.a020202 > 10 && <span className='error'>偏高</span>}
                                                            </div>
                                                        </div>
                                                        <div style={{ height: '40px', lineHeight: '40px' }}>
                                                            <div style={{ height: '40px', lineHeight: '40px' }}>
                                                                <span style={{ width: '60px', display: 'inline-block' }}>血小板</span>
                                                                <Input value={Auxiliaryxamination.a020203 ? Auxiliaryxamination.a020203 : this.state.a020203} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020203} />  *10^9/L
                                                                {Auxiliaryxamination.a020203 && Auxiliaryxamination.a020203 < 100 && <span className='error'>偏低</span>}
                                                                {Auxiliaryxamination.a020203 > 300 && <span className='error'>偏高</span>}
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '120px', lineHeight: '120px', float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            其它 <span>
                                                                <Select
                                                                    showSearch
                                                                    style={{ width: '70%', paddingLeft: '5px' }}
                                                                    optionFilterProp="seatchprop"
                                                                    onChange={this.selectInput}
                                                                >
                                                                    {this.state.a020204SelectList.length > 0 && this.state.a020204SelectList.map((item, i) => {
                                                                        return <Option key={i} value={item.descripts} seatchprop={item.descripts + item.descriptsSPCode}>{item.descripts}</Option>
                                                                    })}
                                                                </Select>
                                                            </span>
                                                        </div>
                                                        <div style={{ height: '70px', lineHeight: '70px', width: '83%', margin: '0px 7px' }}>
                                                            <TextArea value={this.state.a020204Input} rows={3} onChange={this.a020204} />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '120px', lineHeight: '120px' }}>
                                                <div className='one' style={{ float: 'left' }}>尿常规</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '120px', lineHeight: '120px', borderRight: '1px solid silver', paddingLeft: '5px', float: 'left', width: '50%' }}>
                                                        <div style={{ float: 'left', width: '50%', height: '40px', lineHeight: '40px' }}>
                                                            <span style={{ width: '60px', display: 'inline-block' }}>尿蛋白</span>

                                                            <Radio.Group value={Auxiliaryxamination.a020301 ? Auxiliaryxamination.a020301 : this.state.a020301} style={{ width: '65%', marginLeft: '5px' }} onChange={this.a020301}>
                                                                <Radio value='a02030102'>+</Radio>
                                                                <Radio value='a02030103'>-</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', width: '50%', height: '40px', lineHeight: '40px' }}>
                                                            <span style={{ width: '60px', display: 'inline-block' }}>尿糖</span>
                                                            <Radio.Group value={Auxiliaryxamination.a020302 ? Auxiliaryxamination.a020302 : this.state.a020302} style={{ width: '65%', marginLeft: '5px' }} onChange={this.a020302}>
                                                                <Radio value='a02030202'>+</Radio>
                                                                <Radio value='a02030203'>-</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', width: '50%', height: '40px', lineHeight: '40px' }}>
                                                            <span style={{ width: '60px', display: 'inline-block' }}>尿酮体</span>
                                                            <Radio.Group value={Auxiliaryxamination.a020303 ? Auxiliaryxamination.a020303 : this.state.a020303} style={{ width: '65%', marginLeft: '5px' }} onChange={this.a020303}>
                                                                <Radio value='a02030302'>+</Radio>
                                                                <Radio value='a02030303'>-</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', width: '50%', height: '40px', lineHeight: '40px' }}>
                                                            <span style={{ width: '60px', display: 'inline-block' }}>尿潜血</span>
                                                            <Radio.Group value={Auxiliaryxamination.a020304 ? Auxiliaryxamination.a020304 : this.state.a020304} style={{ width: '65%', marginLeft: '5px' }} onChange={this.a020304}>
                                                                <Radio value='a02030402'>+</Radio>
                                                                <Radio value='a02030403'>-</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                    </div>
                                                    {/*<div style={{height: '40px',lineHeight: '40px',paddingLeft: '5px'}}>*/}
                                                    {/*<span>*/}
                                                    {/*其他 <span><input value={Auxiliaryxamination.a020305 ? Auxiliaryxamination.a020305 : this.state.a020305} style={{width: '60%',marginLeft: '5px'}} onChange={this.a020305} /></span>*/}
                                                    {/*</span>*/}
                                                    {/*</div>*/}
                                                    <div style={{ height: '120px', lineHeight: '120px', float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            其它 <span>
                                                                <Select
                                                                    showSearch
                                                                    style={{ width: '70%', paddingLeft: '5px' }}
                                                                    optionFilterProp="seatchprop"
                                                                    onChange={this.selectA020305}
                                                                >
                                                                    {this.state.a020305SelectList.length > 0 && this.state.a020305SelectList.map((item, i) => {
                                                                        return <Option key={i} value={item.descripts} seatchprop={item.descripts + item.descriptsSPCode}>{item.descripts}</Option>
                                                                    })}
                                                                </Select>
                                                            </span>
                                                        </div>
                                                        <div style={{ height: '70px', lineHeight: '70px', width: '83%', margin: '0px 7px' }}>
                                                            <TextArea value={this.state.a020305Input} rows={3} onChange={this.a020305} />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <div className='one' style={{ float: 'left' }}>空腹血糖</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <Input value={this.state.valueXTL} style={{ width: '20%', marginLeft: '5px' }} onChange={this.valueXTL} />  mmol/L 或
                                                    <Input value={this.state.valueXTR} style={{ width: '20%', marginLeft: '5px' }} onChange={this.valueXTR} />  mg/dL
                                                    {this.state.valueXTL && this.state.valueXTL < 3.9 && <span className='error'>偏低</span>}
                                                    {this.state.valueXTL > 6.1 && <span className='error'>血糖升高</span>}
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '80px', lineHeight: '80px', overflow: 'hidden' }}>
                                                <div className='one' style={{ float: 'left' }}>肝功能</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            <span >血清谷丙转氨酶</span>
                                                            <Input value={Auxiliaryxamination.a020501 ? Auxiliaryxamination.a020501 : this.state.a020501} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020501} /> U/L
                                                            {Auxiliaryxamination.a020501 && Auxiliaryxamination.a020501 < 7 && <span className='error'>偏低</span>}
                                                            {Auxiliaryxamination.a020501 > 40 && <span className='error'>偏高</span>}
                                                        </div>

                                                    </div>
                                                    <div style={{ float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px' }}>
                                                            <span >血清谷草转氨酶</span>
                                                            <Input value={Auxiliaryxamination.a020502 ? Auxiliaryxamination.a020502 : this.state.a020502} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020502} />  U/L
                                                            {Auxiliaryxamination.a020502 && Auxiliaryxamination.a020502 < 13 && <span className='error'>偏低</span>}
                                                            {Auxiliaryxamination.a020502 > 35 && <span className='error'>偏高</span>}
                                                        </div>
                                                    </div>
                                                    <div style={{ float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            <span >总胆红素</span>
                                                            <Input value={Auxiliaryxamination.a020503 ? Auxiliaryxamination.a020503 : this.state.a020503} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020503} />  umol/L
                                                            {Auxiliaryxamination.a020503 && Auxiliaryxamination.a020503 < 3 && <span className='error'>偏低</span>}
                                                            {Auxiliaryxamination.a020503 > 20.3 && <span className='error'>偏高</span>}
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <div className='one' style={{ float: 'left' }}>肾功能</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ float: 'left', width: '50%', paddingLeft: '5px' }}>
                                                        <span >血清肌酐</span>
                                                        <Input value={Auxiliaryxamination.a020601 ? Auxiliaryxamination.a020601 : this.state.a020601} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020601} /> μmol/L
                                                        {Auxiliaryxamination.a020601 && Auxiliaryxamination.a020601 < 49 && <span className='error'>偏低</span>}
                                                        {Auxiliaryxamination.a020601 > 90 && <span className='error'>偏高</span>}
                                                    </div>
                                                    <div style={{ float: 'left', width: '50%' }}>
                                                        <span >血尿素氮</span>
                                                        <Input value={Auxiliaryxamination.a020602 ? Auxiliaryxamination.a020602 : this.state.a020602} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020602} />  mmol/L
                                                        {Auxiliaryxamination.a020602 && Auxiliaryxamination.a020602 < 2.9 && <span className='error'>偏低</span>}
                                                        {Auxiliaryxamination.a020602 > 7.5 && <span className='error'>偏高</span>}
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '80px', lineHeight: '80px' }}>
                                                <div className='one' style={{ float: 'left' }}>血脂</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                            <span >总胆固醇</span>
                                                            <Input value={Auxiliaryxamination.a020701 ? Auxiliaryxamination.a020701 : this.state.a020701} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020701} /> mmol/L

                                                            {Auxiliaryxamination.a020701 && Auxiliaryxamination.a020701 < 2.1 && <span className='error'>偏低</span>}
                                                            {Auxiliaryxamination.a020701 > 5.17 && <span className='error'>偏高</span>}
                                                        </div>

                                                    </div>
                                                    <div style={{ float: 'left', width: '50%' }}>
                                                        <div style={{ height: '40px', lineHeight: '40px' }}>
                                                            <span >甘油三酯</span>
                                                            <Input value={Auxiliaryxamination.a020702 ? Auxiliaryxamination.a020702 : this.state.a020702} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020702} />  mmol/L
                                                            {Auxiliaryxamination.a020702 && Auxiliaryxamination.a020702 < 0.1 && <span className='error'>偏低</span>}
                                                            {Auxiliaryxamination.a020702 > 1.43 && <span className='error'>偏高</span>}
                                                        </div>
                                                    </div>
                                                    <div style={{ float: 'left', width: '100%' }}>
                                                        <div style={{ height: '30px', lineHeight: '30px', width: '50%', float: 'left', paddingLeft: '5px' }}>
                                                            <span >血清低密度脂蛋白胆固醇</span>
                                                            <Input value={Auxiliaryxamination.a020703 ? Auxiliaryxamination.a020703 : this.state.a020703} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020703} />  mmol/L

                                                            {Auxiliaryxamination.a020703 > 3.4 && <span className='error'>偏高</span>}
                                                        </div>
                                                        <div style={{ height: '30px', lineHeight: '30px', width: '50%', float: 'left' }}>
                                                            <span >血清高密度脂蛋白胆固醇</span>
                                                            <Input value={Auxiliaryxamination.a020704 ? Auxiliaryxamination.a020704 : this.state.a020704} style={{ width: '25%', marginLeft: '5px' }} onChange={this.a020704} />  mmol/L
                                                            {Auxiliaryxamination.a020704 && Auxiliaryxamination.a020704 <= 1.0 && <span className='error'>偏低</span>}
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <div className='one' style={{ float: 'left' }}>其他</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <Input value={Auxiliaryxamination.a0208 ? Auxiliaryxamination.a0208 : this.state.a0208} style={{ width: '60%', marginLeft: '5px' }} onChange={this.a0208} />
                                                </div>
                                            </div>
                                            {/*<div className='tableBorder noBorder'>*/}
                                            {/*<div className='one' style={{float: 'left',wordBreak: 'keep-all',paddingLeft: '5px'}}>骨质疏松检查结果</div>                                        <div style={{float: 'left', width: '87%'}}>*/}
                                            {/*T值 <Input value={Auxiliaryxamination.a0209 ? Auxiliaryxamination.a0209 : this.state.a0209} style={{width: '60%',marginLeft: '5px'}} onChange={this.a0209}/>*/}
                                            {/*{Auxiliaryxamination.a0209 <=-2.5 && <span className='error'>骨质疏松症</span>}*/}
                                            {/*{Auxiliaryxamination.a0209 >-2.5&&Auxiliaryxamination.a0209<=-1 && <span className='error'>骨量低下</span>}*/}
                                            {/*</div>*/}
                                            {/*</div>*/}
                                            <div className='tableBorder noBorder' style={{ height: '60px', lineHeight: '60px' }}>
                                                <div className='one' style={{ float: 'left', height: '60px', lineHeight: '40px' }}>
                                                    <p style={{ height: '20px', margin: '0' }}>预约老年人流感</p>
                                                    <p style={{ height: '30px', margin: '0' }}>或肺炎疫苗</p>
                                                </div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <Radio.Group value={Auxiliaryxamination.a0210 ? Auxiliaryxamination.a0210 : this.state.a0210} onChange={this.a0210}>
                                                        <Radio value='a021001'>流感疫苗</Radio>
                                                        <Radio value='a021002'>肺炎疫苗</Radio>
                                                        <Radio value='a021003'>流感和肺炎疫苗</Radio>
                                                        <Radio value='a021004'>不预约</Radio>
                                                    </Radio.Group>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <div className='one' style={{ float: 'left', wordBreak: 'keep-all' }}>腹部B超</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <Radio.Group value={Auxiliaryxamination.a0211 ? Auxiliaryxamination.a0211 : this.state.a0211} onChange={this.a0211}>
                                                        <Radio value='a021101'>正常</Radio>
                                                        <Radio value='a021102'>异常</Radio>
                                                    </Radio.Group>
                                                    <Input className={Auxiliaryxamination.a0211 == 'a021102' || this.state.a0211 == 'a021102' ? '' : 'displayNone'} value={Auxiliaryxamination.a0211note ? Auxiliaryxamination.a0211note : this.state.a0211note} style={{ width: '50%', marginLeft: '5px' }} onChange={this.a0211note} />
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <div className='one' style={{ float: 'left', wordBreak: 'keep-all' }}>心电图</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <Radio.Group value={Auxiliaryxamination.a0212 ? Auxiliaryxamination.a0212 : this.state.a0212} onChange={this.a0212}>
                                                        <Radio value='a021201'>正常</Radio>
                                                        <Radio value='a021202'>异常</Radio>
                                                    </Radio.Group>
                                                    <Input className={Auxiliaryxamination.a0212 == 'a021202' || this.state.a0212 == 'a021202' ? '' : 'displayNone'} value={Auxiliaryxamination.a0212note ? Auxiliaryxamination.a0212note : this.state.a0212note} style={{ width: '50%', marginLeft: '5px' }} onChange={this.a0212note} />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA03 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a03'>生活方式</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '120px', lineHeight: '120px' }}>
                                                <div className='one' style={{ float: 'left' }}>体育锻炼</div>
                                                <div style={{ float: 'left', width: '13%', borderRight: '1px silver solid', }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 锻炼频率</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 每次锻炼时间</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}> 锻炼方式</div>
                                                </div>
                                                <div style={{ float: 'left', width: '74%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <Radio.Group value={lifestyle.a030101 ? lifestyle.a030101 : this.state.a030101} onChange={this.a030101}>
                                                            <Radio value='a03010101'>每天</Radio>
                                                            <Radio value='a03010102'>每周一次以上</Radio>
                                                            <Radio value='a03010103'>偶尔</Radio>
                                                            <Radio value='a03010104'>不锻炼</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px' }}>
                                                        <div style={{ float: 'left', width: '50%', borderRight: '1px silver solid' }}>
                                                            <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                                <Input disabled={lifestyle.a030101 == 'a03010104' ? true : false} value={lifestyle.a030102 ? lifestyle.a030102 : this.state.a030102} style={{ width: '60%', marginLeft: '5px' }} onChange={this.a030102} /> 分钟
                                                            </div>
                                                            <div style={{ height: '40px', lineHeight: '40px' }}>
                                                                <Input disabled={lifestyle.a030101 == 'a03010104' ? true : false} value={lifestyle.a030104 ? lifestyle.a030104 : this.state.a030104} style={{ width: '60%', marginLeft: '5px' }} onChange={this.a030104} />
                                                            </div>
                                                        </div>
                                                        <div style={{ float: 'left', width: '25%', borderRight: '1px silver solid' }}>
                                                            <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}> 坚持锻炼时间</div>
                                                            <div style={{ height: '40px', lineHeight: '40px' }}> 服用维生素D</div>
                                                        </div>
                                                        <div style={{ float: 'left', width: '25%' }}>
                                                            <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                                <Input disabled={lifestyle.a030101 == 'a03010104' ? true : false} value={lifestyle.a030103 ? lifestyle.a030103 : this.state.a030103} style={{ width: '40%', marginLeft: '5px' }} onChange={this.a030103} /> 年
                                                            </div>
                                                            <div style={{ height: '40px', lineHeight: '40px', marginLeft: '5px' }}>
                                                                <Radio.Group value={lifestyle.a030105 ? lifestyle.a030105 : this.state.a030105} onChange={this.a030105}>
                                                                    <Radio value='a03010501'>是</Radio>
                                                                    <Radio value='a03010502'>否</Radio>
                                                                </Radio.Group>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder'>
                                                <div className='one' style={{ float: 'left' }}>饮食习惯</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '50px' }}>
                                                    <CheckboxGroup
                                                        options={plainOptions}
                                                        onChange={this.a0302}
                                                        value={lifestyle.a0302 ? lifestylePlainOptions : this.state.a0302}
                                                    />
                                                </div>
                                            </div>
                                            <div className='tableBorder' style={{ height: '120px', lineHeight: '120px' }}>
                                                <div className='one' style={{ float: 'left' }}>吸烟情况</div>
                                                <div style={{ float: 'left', width: '13%', borderRight: '1px silver solid', }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 吸烟状况</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 日吸烟量</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}> 开始吸烟年龄</div>
                                                </div>
                                                <div style={{ float: 'left', width: '74%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <Radio.Group value={lifestyle.a030301 ? lifestyle.a030301 : this.state.a030301} onChange={this.a030301}>
                                                            <Radio value='a03030101'>从不吸烟</Radio>
                                                            <Radio value='a03030102'>已戒烟</Radio>
                                                            <Radio value='a03030103'>吸烟</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <span>平均</span>
                                                        <Input disabled={lifestyle.a030301 == 'a03030101' ? true : false} value={lifestyle.a030302 ? lifestyle.a030302 : this.state.a030302} style={{ width: '30%', marginLeft: '5px' }} onChange={this.a030302} /> 支
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <div style={{ float: 'left', width: '35%', borderRight: '1px silver solid' }}>
                                                            <Input disabled={lifestyle.a030301 == 'a03030101' ? true : false} value={lifestyle.a030303 ? lifestyle.a030303 : this.state.a030303} style={{ width: '60%', marginLeft: '5px' }} onChange={this.a030303} /> 岁
                                                        </div>
                                                        <div style={{ float: 'left', width: '30%', borderRight: '1px silver solid', paddingLeft: '5px' }}> 戒烟年龄</div>
                                                        <div style={{ float: 'left', width: '35%' }}>
                                                            <Input disabled={lifestyle.a030301 == 'a03030101' ? true : lifestyle.a030301 == 'a03030103' ? true : false} value={lifestyle.a030304 ? lifestyle.a030304 : this.state.a030304} style={{ width: '60%', marginLeft: '5px' }} onChange={this.a030304} /> 岁
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder' style={{ height: '200px', lineHeight: '200px' }}>
                                                <div className='one' style={{ float: 'left' }}>饮酒情况</div>
                                                <div style={{ float: 'left', width: '13%', borderRight: '1px silver solid', }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 饮酒频率</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 日饮酒量</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 是否戒酒</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}> 开始饮酒年龄</div>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}> 饮酒种类</div>
                                                </div>
                                                <div style={{ float: 'left', width: '74%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <Radio.Group value={lifestyle.a030401 ? lifestyle.a030401 : this.state.a030401} onChange={this.a030401}>
                                                            <Radio value='a03040101'>从不</Radio>
                                                            <Radio value='a03040102'>偶尔</Radio>
                                                            <Radio value='a03040103'>经常</Radio>
                                                            <Radio value='a03040104'>每天</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <span>平均</span>
                                                        <Input disabled={lifestyle.a030401 == 'a03040101' ? true : false} value={lifestyle.a030402 ? lifestyle.a030402 : this.state.a030402} onChange={this.a030402} style={{ width: '30%', marginLeft: '5px' }} /> 两
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '35%', borderRight: '1px silver solid' }}>
                                                            <Radio.Group disabled={lifestyle.a030401 == 'a03040101' ? true : false} onChange={this.a030403} value={lifestyle.a030403 ? lifestyle.a030403 : this.state.a030403}>
                                                                <Radio value='a03040301'>未戒酒</Radio>
                                                                <Radio value='a03040302'>已戒酒</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', width: '30%', borderRight: '1px silver solid', paddingLeft: '5px' }}> 戒酒年龄</div>
                                                        <div style={{ float: 'left', width: '35%' }}>
                                                            <Input disabled={lifestyle.a030401 == 'a03040101' ? true : lifestyle.a030403 == 'a03040301' ? true : false} value={lifestyle.a030404 ? lifestyle.a030404 : this.state.a030404} onChange={this.a030404} style={{ width: '60%', marginLeft: '5px' }} /> 岁
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '35%', borderRight: '1px silver solid' }}>
                                                            <Input disabled={lifestyle.a030401 == 'a03040101' ? true : false} value={lifestyle.a030405 ? lifestyle.a030405 : this.state.a030405} onChange={this.a030405} style={{ width: '60%', marginLeft: '5px' }} /> 岁
                                                        </div>
                                                        <div style={{ float: 'left', width: '30%', borderRight: '1px silver solid', paddingLeft: '5px' }}> 近一年是否曾醉酒</div>
                                                        <div style={{ float: 'left', width: '35%' }}>
                                                            <Radio.Group disabled={lifestyle.a030401 == 'a03040101' ? true : false} value={lifestyle.a030406 ? lifestyle.a030406 : this.state.a030406} onChange={this.a030406}>
                                                                <Radio value='a03040601'>是</Radio>
                                                                <Radio value='a03040602'>否</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <CheckboxGroup
                                                            disabled={lifestyle.a030401 == 'a03040101' ? true : false}
                                                            options={Liquor}
                                                            value={lifestyle.a030407 ? lifestyleLiquor : this.state.a03040.length == 0 ? '' : this.state.a03040}
                                                            onChange={this.a030407}
                                                        />
                                                        <Input disabled={lifestyle.a030401 == 'a03040101' ? true : false} className={lifestyleLiquor.indexOf('a03040705') !== -1 ? '' : 'displayNone'} value={lifestyle.a030407note ? lifestyle.a030407note : this.state.a03040705} onChange={this.a03040705} style={{ width: '27%', marginLeft: '5px' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '270px', lineHeight: '270px' }}>
                                                <div className='one' style={{ float: 'left', height: '270px', lineHeight: '240px' }}>
                                                    <p style={{ height: '30px', margin: '0' }}>职业病危害因素</p>
                                                    <p style={{ height: '30px', margin: '0' }}>接触史</p>
                                                </div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <Radio.Group value={lifestyle.a0305 ? lifestyle.a0305 : this.state.a0305} onChange={this.a0305}>
                                                            <Radio value='a030501'>无</Radio>
                                                            <Radio value='a030502'>有</Radio>
                                                        </Radio.Group>
                                                        <span> 工种</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a030503 ? lifestyle.a030503 : this.state.a030503} style={{ width: '30%', marginLeft: '5px' }} onChange={this.a030503} />
                                                        <span> 从业时间</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a030504 ? lifestyle.a030504 : this.state.a030504} style={{ width: '30%', marginLeft: '5px' }} onChange={this.a030504} /> 年
                                                    </div>
                                                    <div style={{ height: '30px', lineHeight: '30px' }}>
                                                        <span>毒物种类</span>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <span style={{ width: '60px', display: 'inline-block', textAlign: 'right' }}>粉尘</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a03050501 ? lifestyle.a03050501 : this.state.a03050501} style={{ width: '20%', marginLeft: '5px' }} onChange={this.a03050501} />
                                                        <span style={{ paddingLeft: '5px' }}>防护措施</span>
                                                        <span>    <Radio.Group onChange={this.a0305050101} value={lifestyle.a0305050101 ? lifestyle.a0305050101 : this.state.a0305050101}>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050501 ? false : true : true} value='a030505010101'>无</Radio>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050501 ? false : true : true} value='a030505010102'>有</Radio>
                                                        </Radio.Group></span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050501 ? false : true : true} className={lifestyle.a0305050101 == 'a030505010102' || this.state.a0305050101 == 'a030505010102' ? '' : 'displayNone'} value={lifestyle.a0305050101note ? lifestyle.a0305050101note : this.state.a0305050101note} onChange={this.a0305050101note} style={{ width: '20%', marginLeft: '5px' }} />
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <span style={{ width: '60px', display: 'inline-block', textAlign: 'right' }}>放射物质</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a03050502 ? lifestyle.a03050502 : this.state.a03050502} onChange={this.a03050502} style={{ width: '20%', marginLeft: '5px' }} />
                                                        <span style={{ paddingLeft: '5px' }}>防护措施</span>
                                                        <span>    <Radio.Group value={lifestyle.a0305050201 ? lifestyle.a0305050201 : this.state.a0305050201} onChange={this.a0305050201}>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050502 ? false : true : true} value='a030505020101'>无</Radio>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050502 ? false : true : true} value='a030505020102'>有</Radio>
                                                        </Radio.Group></span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050502 ? false : true : true} className={lifestyle.a0305050201 == 'a030505020102' || this.state.a0305050201 == 'a030505020102' ? '' : 'displayNone'} value={lifestyle.a0305050201note ? lifestyle.a0305050201note : this.setState.a0305050201note} onChange={this.a0305050201note} style={{ width: '20%', marginLeft: '5px' }} />
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <span style={{ width: '60px', display: 'inline-block', textAlign: 'right' }}>物理因素</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a03050503 ? lifestyle.a03050503 : this.state.a03050503} onChange={this.a03050503} style={{ width: '20%', marginLeft: '5px' }} />
                                                        <span style={{ paddingLeft: '5px' }}>防护措施</span>
                                                        <span>    <Radio.Group value={lifestyle.a0305050301 ? lifestyle.a0305050301 : this.state.a0305050301} onChange={this.a0305050301}>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050503 ? false : true : true} value='a030505030101'>无</Radio>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050503 ? false : true : true} value='a030505030102'>有</Radio>
                                                        </Radio.Group></span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050503 ? false : true : true} className={lifestyle.a0305050301 == 'a030505030102' || this.state.a0305050301 == 'a030505030102' ? '' : 'displayNone'} value={lifestyle.a0305050301note ? lifestyle.a0305050301note : this.state.a0305050301note} onChange={this.a0305050301note} style={{ width: '20%', marginLeft: '5px' }} />
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <span style={{ width: '60px', display: 'inline-block', textAlign: 'right' }}>化学物质</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a03050504 ? lifestyle.a03050504 : this.state.a03050504} onChange={this.a03050504} style={{ width: '20%', marginLeft: '5px' }} />
                                                        <span style={{ paddingLeft: '5px' }}>防护措施</span>
                                                        <span>    <Radio.Group value={lifestyle.a0305050401 ? lifestyle.a0305050401 : this.state.a0305050401} onChange={this.a0305050401}>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050504 ? false : true : true} value='a030505040101'>无</Radio>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050504 ? false : true : true} value='a030505040102'>有</Radio>
                                                        </Radio.Group></span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050504 ? false : true : true} className={lifestyle.a0305050401 == 'a030505040102' || this.state.a0305050401 == 'a030505040102' ? '' : 'displayNone'} value={lifestyle.a0305050401note ? lifestyle.a0305050401note : this.state.a0305050401note} onChange={this.a0305050401note} style={{ width: '20%', marginLeft: '5px' }} />
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <span style={{ width: '60px', display: 'inline-block', textAlign: 'right' }}>其他</span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? false : true} value={lifestyle.a03050505 ? lifestyle.a03050505 : this.state.a03050505} onChange={this.a03050505} style={{ width: '20%', marginLeft: '5px' }} />
                                                        <span style={{ paddingLeft: '5px' }}>防护措施</span>
                                                        <span>    <Radio.Group value={lifestyle.a0305050501 ? lifestyle.a0305050501 : this.state.a0305050501} onChange={this.a0305050501}>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050505 ? false : true : true} value='a030505050101'>无</Radio>
                                                            <Radio disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050505 ? false : true : true} value='a030505050102'>有</Radio>
                                                        </Radio.Group></span>
                                                        <Input disabled={lifestyle.a0305 == 'a030502' ? lifestyle.a03050505 ? false : true : true} className={lifestyle.a0305050501 == 'a030505050102' || this.state.a0305050501 == 'a030505050102' ? '' : 'displayNone'} value={lifestyle.a0305050501note ? lifestyle.a0305050501note : this.state.a0305050501note} onChange={this.a0305050501note} style={{ width: '20%', marginLeft: '5px' }} />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA04 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a04'>症状</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '110px', padding: '5px', position: 'relative' }}>
                                                <CheckboxGroup
                                                    options={symptomData}
                                                    value={symptom.a0401 ? symptomLiquor : this.state.a04010}
                                                    onChange={this.a0401}
                                                />
                                                {/*className={symptom.a0401 == 'a040124' || this.state.a0401 =='a040124' ? '' : 'displayNone'} value={symptom.a0401note ? symptom.a0401note : this.state.a0401note}*/}
                                                <Input className={symptomLiquor.indexOf('a040124') !== -1 ? '' : 'displayNone'} style={{ width: '27%', position: 'absolute', left: '27%', top: '50px' }} onChange={this.a0401note} value={symptom.a0401note ? symptom.a0401note : this.state.a0401note} />
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA05 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a05'>脏器功能</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '320px', lineHeight: '320px' }}>
                                                <div className='one' style={{ float: 'left' }}>口腔</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver', paddingLeft: '5px' }}>
                                                        <div style={{ float: 'left' }}>口唇  </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={organFunction.a050101 ? organFunction.a050101 : this.state.a050101} onChange={this.a050101}>
                                                                <Radio value='a05010101'>红润</Radio>
                                                                <Radio value='a05010102'>苍白</Radio>
                                                                <Radio value='a05010103'>发绀</Radio>
                                                                <Radio value='a05010104'>皲裂</Radio>
                                                                <Radio value='a05010105'>疱疹</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '240px', lineHeight: '240px', borderBottom: '1px solid silver', position: 'relative', paddingLeft: '5px' }}>
                                                        <div style={{ float: 'left' }}>齿列  </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px', width: '95%' }} className='Dentition'>
                                                            <CheckboxGroup
                                                                options={toothList}
                                                                value={organFunction.a050102 ? organTooth : this.state.a050102}
                                                                onChange={this.a050102}
                                                            />
                                                            <div style={{ width: '100%', position: 'absolute', top: '65px', left: '20%' }} className={organTooth.indexOf('a05010202') !== -1 ? '' : 'displayNone'}>
                                                                <div style={{ width: '34%', height: '25px', lineHeight: '25px', float: 'left', borderRight: '1px solid silver', borderBottom: '1px solid silver' }}>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('8') }}>8</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue1.length > 0 && this.state.a050102noteValue1.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue1('1') }}>1</span>
                                                                </div>
                                                                <div style={{ width: '36%', height: '25px', lineHeight: '25px', float: 'left', borderBottom: '1px solid silver', paddingLeft: '12px' }}>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('1') }}>1</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue2.length > 0 && this.state.a050102noteValue2.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue2('8') }}>8</span>
                                                                </div>
                                                                <div style={{ width: '34%', height: '25px', lineHeight: '25px', float: 'left', borderRight: '1px solid silver' }}>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('8') }}>8</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue3.length > 0 && this.state.a050102noteValue3.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue3('1') }}>1</span>
                                                                </div>
                                                                <div style={{ width: '37%', height: '25px', lineHeight: '25px', float: 'left', paddingLeft: '12px' }}>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('1') }}>1</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue4.length > 0 && this.state.a050102noteValue4.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue4('8') }}>8</span>
                                                                </div>
                                                            </div>
                                                            <div style={{ width: '100%', position: 'absolute', top: '127px', left: '20%' }} className={organTooth.indexOf('a05010203') !== -1 ? '' : 'displayNone'}>
                                                                <div style={{ width: '34%', height: '25px', lineHeight: '25px', float: 'left', borderRight: '1px solid silver', borderBottom: '1px solid silver' }}>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('8') }}>8</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue5.length > 0 && this.state.a050102noteValue5.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue5('1') }}>1</span>
                                                                </div>
                                                                <div style={{ width: '36%', height: '25px', lineHeight: '25px', float: 'left', borderBottom: '1px solid silver', paddingLeft: '12px' }}>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('1') }}>1</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue6.length > 0 && this.state.a050102noteValue6.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue6('8') }}>8</span>
                                                                </div>
                                                                <div style={{ width: '34%', height: '25px', lineHeight: '25px', float: 'left', borderRight: '1px solid silver' }}>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('8') }}>8</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue7.length > 0 && this.state.a050102noteValue7.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue7('1') }}>1</span>
                                                                </div>
                                                                <div style={{ width: '37%', height: '25px', lineHeight: '25px', float: 'left', paddingLeft: '12px' }}>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('1') }}>1</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue8.length > 0 && this.state.a050102noteValue8.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue8('8') }}>8</span>
                                                                </div>
                                                            </div>
                                                            <div style={{ width: '100%', position: 'absolute', top: '187px', left: '20%' }} className={organTooth.indexOf('a05010204') !== -1 ? '' : 'displayNone'}>
                                                                <div style={{ width: '34%', height: '25px', lineHeight: '25px', float: 'left', borderRight: '1px solid silver', borderBottom: '1px solid silver' }}>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('8') }}>8</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue9.length > 0 && this.state.a050102noteValue9.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue9('1') }}>1</span>
                                                                </div>
                                                                <div style={{ width: '36%', height: '25px', lineHeight: '25px', float: 'left', borderBottom: '1px solid silver', paddingLeft: '12px' }}>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('1') }}>1</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue10.length > 0 && this.state.a050102noteValue10.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue10('8') }}>8</span>
                                                                </div>
                                                                <div style={{ width: '34%', height: '25px', lineHeight: '25px', float: 'left', borderRight: '1px solid silver' }}>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('8') }}>8</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue11.length > 0 && this.state.a050102noteValue11.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue11('1') }}>1</span>
                                                                </div>
                                                                <div style={{ width: '37%', height: '25px', lineHeight: '25px', float: 'left', paddingLeft: '12px' }}>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('1') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('1') }}>1</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('2') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('2') }}>2</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('3') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('3') }}>3</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('4') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('4') }}>4</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('5') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('5') }}>5</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('6') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('6') }}>6</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('7') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('7') }}>7</span>
                                                                    <span className={this.state.a050102noteValue12.length > 0 && this.state.a050102noteValue12.indexOf('8') !== -1 ? 'spanTooth blue' : 'spanTooth'} onClick={() => { this.a050102noteValue12('8') }}>8</span>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                        <div style={{ float: 'left' }}>咽部  </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <CheckboxGroup
                                                                options={Pharynx}
                                                                value={organFunction.a050103 ? PharynxList : this.state.a050103}
                                                                onChange={this.a050103}
                                                            />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>听力</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <Radio.Group value={organFunction.a0502 ? organFunction.a0502 : this.state.a0502} onChange={this.a0502}>
                                                        <Radio value='a050201'>听见</Radio>
                                                        <Radio value='a050202'>听不清或无法听见</Radio>
                                                    </Radio.Group>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>运动功能</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <Radio.Group onChange={this.a0503} value={organFunction.a0503 ? organFunction.a0503 : this.state.a0503}>
                                                        <Radio value='a050301'>可顺利完成</Radio>
                                                        <Radio value='a050302'>无法独立完成其中任何一个动作</Radio>
                                                    </Radio.Group>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA06 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a06'>查体</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>皮肤</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Radio.Group value={physicalExamination.a0601 ? physicalExamination.a0601 : this.state.a0601} onChange={this.a0601}>
                                                            <Radio value='a060101'>正常</Radio>
                                                            <Radio value='a060102'>潮红</Radio>
                                                            <Radio value='a060103'>苍白</Radio>
                                                            <Radio value='a060104'>发绀</Radio>
                                                            <Radio value='a060105'>黄染</Radio>
                                                            <Radio value='a060106'>色素沉着</Radio>
                                                            <Radio value='a060107'>其他</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Input className={physicalExamination.a0601 == 'a060107' || this.state.a0601 == 'a060107' ? '' : 'displayNone'} value={physicalExamination.a0601note ? physicalExamination.a0601note : this.state.a0601note} onChange={this.a0601note} style={{ width: '100%', }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>巩膜</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Radio.Group value={physicalExamination.a0602 ? physicalExamination.a0602 : this.state.a0602} onChange={this.a0602}>
                                                            <Radio value='a060201'>正常</Radio>
                                                            <Radio value='a060202'>黄染</Radio>
                                                            <Radio value='a060203'>充血</Radio>
                                                            <Radio value='a060204'>其他</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Input className={physicalExamination.a0602 == 'a060204' || this.state.a0602 == 'a060204' ? '' : 'displayNone'} value={physicalExamination.a0602note ? physicalExamination.a0602note : this.state.a0602note} onChange={this.a0602note} style={{ width: '100%', }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>淋巴结</div>
                                                <div style={{ float: 'left', width: '87%', paddingLeft: '5px' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Radio.Group value={physicalExamination.a0603 ? physicalExamination.a0603 : this.state.a0603} onChange={this.a0603}>
                                                            <Radio value='a060301'>未触及</Radio>
                                                            <Radio value='a060302'>锁骨上</Radio>
                                                            <Radio value='a060303'>腋窝</Radio>
                                                            <Radio value='a060304'>其他</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Input className={physicalExamination.a0603 == 'a060304' || this.state.a0603 == 'a060304' ? '' : 'displayNone'} value={physicalExamination.a0603note ? physicalExamination.a0603note : this.state.a0603note} onChange={this.a0603note} style={{ width: '100%', }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '120px', lineHeight: '120px' }}>
                                                <div className='one' style={{ float: 'left' }}>肺</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>桶状胸</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060401 ? physicalExamination.a060401 : this.state.a060401} onChange={this.a060401}>
                                                                <Radio value='a06040101'>否</Radio>
                                                                <Radio value='a06040102'>是</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>呼吸音</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060402 ? physicalExamination.a060402 : this.state.a060402} onChange={this.a060402}>
                                                                <Radio value='a06040201'>正常</Radio>
                                                                <Radio value='a06040202'>异常</Radio>
                                                            </Radio.Group>
                                                            <Input className={physicalExamination.a060402 == 'a06040202' || this.state.a060402 == 'a06040202' ? '' : 'displayNone'} value={physicalExamination.a060402note ? physicalExamination.a060402note : this.state.a060402note} style={{ width: '50%', marginLeft: '5px' }} onChange={this.a060402note} />
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>罗音</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060403 ? physicalExamination.a060403 : this.state.a060403} onChange={this.a060403}>
                                                                <Radio value='a06040301'>无</Radio>
                                                                <Radio value='a06040302'>干罗音</Radio>
                                                                <Radio value='a06040303'>湿罗音</Radio>
                                                                <Radio value='a06040304'>其他</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060403 == 'a06040304' || this.state.a060403 == 'a06040304' ? '' : 'displayNone'} value={physicalExamination.a060403note ? physicalExamination.a060403note : this.state.a060403note} onChange={this.a060403note} style={{ width: '100%', }} />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '80px', lineHeight: '80px' }}>
                                                <div className='one' style={{ float: 'left' }}>心脏</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>心率</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <span><Input value={physicalExamination.a06050101 ? physicalExamination.a06050101 : this.state.a06050101} onChange={this.a06050101} style={{ paddingLeft: '5px', width: '20%' }} /></span> 次/分钟
                                                            {physicalExamination.a06050101 && physicalExamination.a06050101 < 60 && <span className='error'>窦性心动过缓</span>}
                                                            {physicalExamination.a06050101 > 100 && <span className='error'>窦性心动过速</span>}
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <div style={{ float: 'left' }}>心率</div>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <Radio.Group value={physicalExamination.a06050102 ? physicalExamination.a06050102 : this.state.a06050102} onChange={this.a06050102}>
                                                                    <Radio value='a0605010201'>齐</Radio>
                                                                    <Radio value='a0605010202'>不齐</Radio>
                                                                    <Radio value='a0605010203'>绝对不齐</Radio>
                                                                </Radio.Group>
                                                            </div>

                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>杂音</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060502 ? physicalExamination.a060502 : this.state.a060502} onChange={this.a060502}>
                                                                <Radio value='a06050201'>无</Radio>
                                                                <Radio value='a06050202'>有</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060502 == 'a06050202' || this.state.a060502 == 'a06050202' ? '' : 'displayNone'} value={physicalExamination.a060502note ? physicalExamination.a060502note : this.state.a060502note} onChange={this.a060502note} style={{ width: '100%', }} />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '200px', lineHeight: '200px' }}>
                                                <div className='one' style={{ float: 'left' }}>腹部</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>压痛</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060601 ? physicalExamination.a060601 : this.state.a060601} onChange={this.a060601}>
                                                                <Radio value='a06060101'>无</Radio>
                                                                <Radio value='a06060102'>有</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060601 == 'a06060102' || this.state.a060601 == 'a06060102' ? '' : 'displayNone'} value={physicalExamination.a060601note ? physicalExamination.a060601note : this.state.a060601note} onChange={this.a060601note} style={{ width: '100%', }} />
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>包块</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060602 ? physicalExamination.a060602 : this.state.a060602} onChange={this.a060602}>
                                                                <Radio value='a06060201'>无</Radio>
                                                                <Radio value='a06060202'>有</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060602 == 'a06060202' || this.state.a060602 == 'a06060202' ? '' : 'displayNone'} value={physicalExamination.a060602note ? physicalExamination.a060602note : this.state.a060602note} onChange={this.a060602note} style={{ width: '100%', }} />
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>肝大</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060603 ? physicalExamination.a060603 : this.state.a060603} onChange={this.a060603}>
                                                                <Radio value='a06060301'>无</Radio>
                                                                <Radio value='a06060302'>有</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060603 == 'a06060302' || this.state.a060603 == 'a06060302' ? '' : 'displayNone'} value={physicalExamination.a060603note ? physicalExamination.a060603note : this.state.a060603note} onChange={this.a060603note} style={{ width: '100%', }} />
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px', borderBottom: '1px solid silver' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>脾大</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060604 ? physicalExamination.a060604 : this.state.a060604} onChange={this.a060604}>
                                                                <Radio value='a06060401'>无</Radio>
                                                                <Radio value='a06060402'>有</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060604 == 'a06060402' || this.state.a060604 == 'a06060402' ? '' : 'displayNone'} value={physicalExamination.a060604note ? physicalExamination.a060604note : this.state.a060604note} onChange={this.a060604note} style={{ width: '100%', }} />
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '40px', lineHeight: '40px' }}>
                                                        <div style={{ float: 'left', width: '10%', paddingLeft: '5px' }}>移动性浊音</div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Radio.Group value={physicalExamination.a060605 ? physicalExamination.a060605 : this.state.a060605} onChange={this.a060605}>
                                                                <Radio value='a06060501'>无</Radio>
                                                                <Radio value='a06060502'>有</Radio>
                                                            </Radio.Group>
                                                        </div>
                                                        <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                            <Input className={physicalExamination.a060605 == 'a06060502' || this.state.a060605 == 'a06060502' ? '' : 'displayNone'} value={physicalExamination.a060605note ? physicalExamination.a060605note : this.state.a060605note} onChange={this.a060605note} style={{ width: '100%' }} />
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>下肢水肿</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                        <Radio.Group value={physicalExamination.a0607 ? physicalExamination.a0607 : this.state.a0607} onChange={this.a0607}>
                                                            <Radio value='a060701'>无</Radio>
                                                            <Radio value='a060702'>单侧</Radio>
                                                            <Radio value='a060703'>双侧不对称</Radio>
                                                            <Radio value='a060704'>双侧对称</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>足背动脉搏动</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>

                                                        <CheckboxGroup
                                                            options={InstepData}
                                                            value={physicalExamination.a0608 ? InstepLiquor : this.state.a0608}
                                                            onChange={this.a0608}
                                                        />
                                                        {/*<Radio.Group value={physicalExamination.a0608 ? physicalExamination.a0608 : this.state.a0608} onChange={this.a0608}>*/}
                                                        {/*<Radio value='a060801'>未触及</Radio>*/}
                                                        {/*<Radio value='a060802'>触及双侧对称</Radio>*/}
                                                        {/*<Radio value='a060803'>触及左侧弱或消失</Radio>*/}
                                                        {/*<Radio value='a060804'>触及右侧弱或消失</Radio>*/}
                                                        {/*</Radio.Group>*/}
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>其他</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ height: '40px', lineHeight: '40px', paddingLeft: '5px' }}>
                                                        <Input value={physicalExamination.a0609 ? physicalExamination.a0609 : this.state.a0609} onChange={this.a0609} style={{ width: '35%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA07 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a07'>住院治疗情况</div>
                                        <div className='table'>
                                            <div style={{ height: '30px', lineHeight: '30px' }}>
                                                <span>住院史</span>
                                                <span className='span' style={{ marginLeft: '30px' }}>
                                                    <Radio.Group value={familyBedHistoryAll.a0701 ? familyBedHistoryAll.a0701 : this.state.a0701} onChange={this.a0701}>
                                                        <Radio value='a070101'>无</Radio>
                                                        <Radio value='a070102'>有</Radio>
                                                    </Radio.Group>
                                                </span>
                                                <span className={familyBedHistoryAll.a0701 == 'a070102' || this.state.a0701 == 'a070102' ? 'span ' : 'span displayNone'} style={{ float: 'right' }} onClick={this.handleAdd}>添加</span>
                                            </div>
                                            <div style={{ height: '150px' }}>
                                                <Table columns={this.columns} dataSource={this.state.dataSource}
                                                    bordered pagination={false}
                                                    scroll={{ x: 800, y: '115px' }}>
                                                </Table>
                                            </div>
                                            <div style={{ height: '30px', lineHeight: '30px', marginTop: '15px' }}>
                                                <span>家庭病床史</span>
                                                <span className='span' style={{ marginLeft: '30px' }}>
                                                    <Radio.Group value={familyBedHistoryAll.a0702 ? familyBedHistoryAll.a0702 : this.state.a0702} onChange={this.a0702}>
                                                        <Radio value='a070201'>无</Radio>
                                                        <Radio value='a070202'>有</Radio>
                                                    </Radio.Group>
                                                </span>
                                                <span className={familyBedHistoryAll.a0702 == 'a070202' || this.state.a0702 == 'a070202' ? 'span ' : 'span displayNone'} style={{ float: 'right' }} onClick={this.familyHistoryDataAdd}>添加</span>
                                            </div>
                                            <div style={{ height: '150px' }}>
                                                <Table columns={this.columnsTable} dataSource={this.state.familyHistoryData}
                                                    bordered pagination={false}
                                                    scroll={{ x: 800, y: '115px' }}>
                                                </Table>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA08 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5', marginTop: '15px' }} id='a08'>既往史</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>手术史</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Radio.Group value={pastHistory.a0801 ? pastHistory.a0801 : this.state.a0801} onChange={this.a0801}>
                                                            <Radio value='a080101'>无</Radio>
                                                            <Radio value='a080102'>有</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ float: 'left' }} className={pastHistory.a0801 == 'a080102' ? '' : 'displayNone'}>
                                                        <span style={{ padding: '0 5px' }}>名称</span>
                                                        <Input onChange={this.a080103} value={pastHistory.a080103 ? pastHistory.a080103 : this.state.a080103} style={{ width: '35%', paddingLeft: '5px' }} />
                                                        <span style={{ padding: '0 5px' }}>时间</span>
                                                        <DatePicker disabledDate={this.disabledDate} className='time' style={{ width: '47%', paddingLeft: '5px' }} onChange={this.a080104} value={pastHistory.a080104 ? moment(pastHistory.a080104) : this.state.a080104} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>外伤史</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Radio.Group value={pastHistory.a0802 ? pastHistory.a0802 : this.state.a0802} onChange={this.a0802}>
                                                            <Radio value='a080201'>无</Radio>
                                                            <Radio value='a080202'>有</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ float: 'left' }} className={pastHistory.a0802 == 'a080202' ? '' : 'displayNone'}>
                                                        <span style={{ padding: '0 5px' }}>名称</span>
                                                        <Input onChange={this.a080203} value={pastHistory.a080203 ? pastHistory.a080203 : this.state.a080203} style={{ width: '35%', paddingLeft: '5px' }} />
                                                        <span style={{ padding: '0 5px' }}>时间</span>
                                                        <DatePicker disabledDate={this.disabledDate} className='time' format={dayFormat} style={{ width: '47%', paddingLeft: '5px' }} onChange={this.a080204} value={pastHistory.a080204 ? moment(pastHistory.a080204) : this.state.a080204} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>输血史</div>
                                                <div style={{ float: 'left', width: '87%' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <Radio.Group value={pastHistory.a0803 ? pastHistory.a0803 : this.state.a0803} onChange={this.a0803}>
                                                            <Radio value='a080301'>无</Radio>
                                                            <Radio value='a080302'>有</Radio>
                                                        </Radio.Group>
                                                    </div>
                                                    <div style={{ float: 'left' }} className={pastHistory.a0803 == 'a080302' ? '' : 'displayNone'}>
                                                        <span style={{ padding: '0 5px' }}>名称</span>
                                                        <Input onChange={this.a080303} value={pastHistory.a080303 ? pastHistory.a080303 : this.state.a080303} style={{ width: '35%', paddingLeft: '5px' }} />
                                                        <span style={{ padding: '0 5px' }}>时间</span>
                                                        <DatePicker disabledDate={this.disabledDate} className='time' format={dayFormat} style={{ width: '47%', paddingLeft: '5px' }} onChange={this.a080304} value={pastHistory.a080304 ? moment(pastHistory.a080304) : this.state.a080304} />
                                                    </div>
                                                </div>
                                            </div>


                                            <div className='tableBorder noBorder sickLabel' style={{ height: '560px', lineHeight: '560px' }}>
                                                <div className='one' style={{ float: 'left' }}>病史</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ height: '80px', lineHeight: '80px', borderBottom: '1px silver solid' }}>
                                                        <div className='one' style={{ float: 'left' }}>脑血管疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistoryNX}
                                                                    value={pastHistory.a080401 ? pastHistoryBS : this.state.a0804010}
                                                                    onChange={this.a080401}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistoryBS.indexOf('a08040106') !== -1 ? '' : 'displayNone'} value={pastHistory.a080401note ? pastHistory.a080401note : this.state.a080401note} onChange={this.a080401note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px', borderBottom: '1px silver solid' }}>
                                                        <div className='one' style={{ float: 'left' }}>肾脏疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistorySZ}
                                                                    value={pastHistory.a080402 ? pastHistorySZ : this.state.a0804020}
                                                                    onChange={this.a080402}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistorySZ.indexOf('a08040206') !== -1 ? '' : 'displayNone'} value={pastHistory.a080402note ? pastHistory.a080402note : this.state.a080402note} onChange={this.a080402note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px', borderBottom: '1px silver solid' }}>
                                                        <div className='one' style={{ float: 'left' }}>心脏疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistoryXZ}
                                                                    value={pastHistory.a080403 ? pastHistoryXZ : this.state.a0804030}
                                                                    onChange={this.a080403}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistoryXZ.indexOf('a08040307') !== -1 ? '' : 'displayNone'} value={pastHistory.a080403note ? pastHistory.a080403note : this.state.a080403note} onChange={this.a080403note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px', borderBottom: '1px silver solid' }}>
                                                        <div className='one' style={{ float: 'left' }}>血管疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistoryXG}
                                                                    value={pastHistory.a080404 ? pastHistoryXG : this.state.a0804040}
                                                                    onChange={this.a080404}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistoryXG.indexOf('a08040404') !== -1 ? '' : 'displayNone'} value={pastHistory.a080404note ? pastHistory.a080404note : this.state.a080404note} onChange={this.a080404note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px', borderBottom: '1px silver solid' }}>
                                                        <div className='one' style={{ float: 'left' }}>眼部疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistoryYB}
                                                                    value={pastHistory.a080405 ? pastHistoryYB : this.state.a0804050}
                                                                    onChange={this.a080405}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistoryYB.indexOf('a08040505') !== -1 ? '' : 'displayNone'} value={pastHistory.a080405note ? pastHistory.a080405note : this.state.a080405note} onChange={this.a080405note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px', borderBottom: '1px silver solid' }}>
                                                        <div className='one' style={{ float: 'left' }}>神经系统疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistorySJ}
                                                                    value={pastHistory.a080406 ? pastHistorySJ : this.state.a0804060}
                                                                    onChange={this.a080406}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistorySJ.indexOf('a08040604') !== -1 ? '' : 'displayNone'} value={pastHistory.a080406note ? pastHistory.a080406note : this.state.a080406note} onChange={this.a080406note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div style={{ height: '80px', lineHeight: '80px' }}>
                                                        <div className='one' style={{ float: 'left' }}>其他系统疾病</div>
                                                        <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                            <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                                <CheckboxGroup
                                                                    options={medicalHistoryQT}
                                                                    value={pastHistory.a080407 ? pastHistoryQT : this.state.a0804070}
                                                                    onChange={this.a080407}
                                                                />
                                                            </div>
                                                            <div style={{ position: 'absolute', left: '12%', top: '5px' }}>
                                                                <Input className={pastHistoryQT.indexOf('a08040706') !== -1 ? '' : 'displayNone'} value={pastHistory.a080407note ? pastHistory.a080407note : this.state.a080407note} onChange={this.a080407note} style={{ width: '100%' }} />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA09 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a09'>家族史</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '100px', lineHeight: '100px' }}>
                                                <div className='one' style={{ float: 'left' }}>父亲</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={familyHistoryF}
                                                            value={familyHistorySelect.a0902 ? familyJistorySlectF : this.state.a09020}
                                                            onChange={this.a0902}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', top: '5px', left: '50%' }}>
                                                        <Input className={familyJistorySlectF.indexOf('a090212') !== -1 ? '' : 'displayNone'} value={familyHistorySelect.a0902note ? familyHistorySelect.a0902note : this.state.a0902note} onChange={this.a0902note} style={{ width: '100%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '100px', lineHeight: '100px' }}>
                                                <div className='one' style={{ float: 'left' }}>母亲</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={familyHistoryM}
                                                            value={familyHistorySelect.a0903 ? familyJistorySlectM : this.state.a09030}
                                                            onChange={this.a0903}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', top: '5px', left: '50%' }}>
                                                        <Input className={familyJistorySlectM.indexOf('a090312') !== -1 ? '' : 'displayNone'} value={familyHistorySelect.a0903note ? familyHistorySelect.a0903note : this.state.a0903note} onChange={this.a0903note} style={{ width: '100%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '100px', lineHeight: '100px' }}>
                                                <div className='one' style={{ float: 'left' }}>兄弟姐妹</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={familyHistoryBS}
                                                            value={familyHistorySelect.a0904 ? familyJistorySlectBS : this.state.a09040}
                                                            onChange={this.a0904}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', top: '5px', left: '50%' }}>
                                                        <Input className={familyJistorySlectBS.indexOf('a090412') !== -1 ? '' : 'displayNone'} value={familyHistorySelect.a0904note ? familyHistorySelect.a0904note : this.state.a0904note} onChange={this.a0904note} style={{ width: '100%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '100px', lineHeight: '100px' }}>
                                                <div className='one' style={{ float: 'left' }}>子女</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={familyHistoryC}
                                                            value={familyHistorySelect.a0905 ? familyJistorySlectC : this.state.a09050}
                                                            onChange={this.a0905}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', top: '5px', left: '50%' }}>
                                                        <Input className={familyJistorySlectC.indexOf('a090512') !== -1 ? '' : 'displayNone'} value={familyHistorySelect.a0905note ? familyHistorySelect.a0905note : this.state.a0905note} onChange={this.a0905note} style={{ width: '100%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA10 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a10'>现存主要问题</div>
                                        <div className='table'>
                                            <div className='tableBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>脑血管疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblem}
                                                            value={newQuestionData.a1001 ? newQuestionDataN : this.state.a10010}
                                                            onChange={this.a1001}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', left: '80%' }}>
                                                        <Input className={newQuestionDataN.indexOf('a100106') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1001note ? newQuestionData.a1001note : this.state.a1001note} onChange={this.a1001note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>肾脏疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblemSZ}
                                                            value={newQuestionData.a1002 ? newQuestionDataSZ : this.state.a10020}
                                                            onChange={this.a1002}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', right: '4%' }}>
                                                        <Input className={newQuestionDataSZ.indexOf('a100206') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1002note ? newQuestionData.a1002note : this.state.a1002note} onChange={this.a1002note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>心脏疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblemXZ}
                                                            value={newQuestionData.a1003 ? newQuestionDataXZ : this.state.a10030}
                                                            onChange={this.a1003}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', left: '91%' }}>
                                                        <Input className={newQuestionDataXZ.indexOf('a100307') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1003note ? newQuestionData.a1003note : this.state.a1003note} onChange={this.a1003note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>血管疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblemXG}
                                                            value={newQuestionData.a1004 ? newQuestionDataXG : this.state.a10040}
                                                            onChange={this.a1004}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', right: '25%' }}>
                                                        <Input className={newQuestionDataXG.indexOf('a100404') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1004note ? newQuestionData.a1004note : this.state.a1004note} onChange={this.a1004note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>眼部疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblemYB}
                                                            value={newQuestionData.a1005 ? newQuestionDataYB : this.state.a10050}
                                                            onChange={this.a1005}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', right: '12%' }}>
                                                        <Input className={newQuestionDataYB.indexOf('a100505') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1005note ? newQuestionData.a1005note : this.state.a1005note} onChange={this.a1005note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>神经系统疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblemXJ}
                                                            value={newQuestionData.a1006 ? newQuestionDataXJ : this.state.a10060}
                                                            onChange={this.a1006}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', right: '26%' }}>
                                                        <Input className={newQuestionDataXJ.indexOf('a100604') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1006note ? newQuestionData.a1006note : this.state.a1006note} onChange={this.a1006note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                            <div className='tableBorder noBorder' style={{ height: '40px', lineHeight: '40px' }}>
                                                <div className='one' style={{ float: 'left' }}>其他系统疾病</div>
                                                <div style={{ float: 'left', width: '87%', position: 'relative' }}>
                                                    <div style={{ float: 'left', paddingLeft: '5px' }}>
                                                        <CheckboxGroup
                                                            options={nowTheProblemQT}
                                                            value={newQuestionData.a1007 ? newQuestionDataQT : this.state.a10070}
                                                            onChange={this.a1007}
                                                        />
                                                    </div>
                                                    <div style={{ position: 'absolute', right: '1%' }}>
                                                        <Input className={newQuestionDataQT.indexOf('a100706') !== -1 ? '' : 'displayNone'} value={newQuestionData.a1007note ? newQuestionData.a1007note : this.state.a1007note} onChange={this.a1007note} style={{ width: '90%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                    </div>
                                }

                                {this.state.showA11 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a11'>主要用药情况</div>
                                        <div className='table'>
                                            <div style={{ height: '30px', lineHeight: '30px' }}>
                                                <span className='span' style={{ marginLeft: '30px' }}>
                                                    <Radio.Group value={mainMedicationSelect.a1101 ? mainMedicationSelect.a1101 : this.state.a1101} onChange={this.a1101}>
                                                        <Radio value='a110101'>无</Radio>
                                                        <Radio value='a110102'>有</Radio>
                                                    </Radio.Group>
                                                </span>
                                                {/*<span className={mainMedicationSelect.a1101 == 'a110102' ||this.state.a1101 == 'a110102' ? 'span ': 'span displayNone'} style={{float: 'right'}} onClick={this.mainMedicationDataAdd}>添加</span>*/}
                                            </div>
                                            <div style={{ marginLeft: 20 }} className='uploadA11'>
                                                <MainDrugPhotos that={this} HealthStore={this.state.iconImg} onPhotos={this.onPhotos} />
                                            </div>
                                            <div style={{ height: '30px', lineHeight: '30px' }}>
                                                <span className={mainMedicationSelect.a1101 == 'a110102' || this.state.a1101 == 'a110102' ? 'span ' : 'span displayNone'} style={{ float: 'right' }} onClick={this.mainMedicationDataAdd}>添加</span>
                                            </div>
                                            <div style={{ height: '150px' }}>
                                                <Table columns={this.medicationTable} dataSource={this.state.mainMedicationData}
                                                    bordered pagination={false}
                                                    scroll={{ x: 800, y: '115px' }}>
                                                </Table>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA12 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a12'>非计划免疫预防接种史</div>
                                        <div className='table'>
                                            <div style={{ height: '30px', lineHeight: '30px' }}>
                                                <span className='span' style={{ marginLeft: '30px' }}>
                                                    <Radio.Group value={nonImmunization.a1201 ? nonImmunization.a1201 : this.state.a1201} onChange={this.a1201}>
                                                        <Radio value='a120101'>无</Radio>
                                                        <Radio value='a120102'>有</Radio>
                                                    </Radio.Group>
                                                </span>

                                                <span className={nonImmunization.a1201 == 'a120102' || this.state.a1201 == 'a120102' ? 'span ' : 'span displayNone'} style={{ float: 'right' }} onClick={this.UnplannedVaccinationDataAdd}>添加</span>
                                            </div>
                                            <div style={{ height: '150px' }}>
                                                <Table columns={this.UnplannedTable} dataSource={this.state.UnplannedVaccinationData}
                                                    bordered pagination={false}
                                                    scroll={{ x: 800, y: '115px' }}>
                                                </Table>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA13 &&
                                    <div>
                                        {/*<div style={{clear: 'both'}}></div>*/}
                                        {/*<div style={{background: '#f0f2f5'}} id='a13'>中医体质综述</div>*/}
                                        {/*<div className='table'>*/}
                                        {/*<TextArea rows={3} value={PhysiqueReview.a1301 ? PhysiqueReview.a1301 : this.state.a1301} onChange={this.a1301} />*/}
                                        {/*</div>*/}
                                    </div>
                                }
                                {this.state.showA14 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5' }} id='a14'>健康评价</div>
                                        <div className='table'>
                                            <div style={{ height: '30px', lineHeight: '30px' }}>
                                                <span className='span' style={{ marginLeft: '30px' }}>
                                                    <Radio.Group value={healthAssessmentSelect.a1401 ? healthAssessmentSelect.a1401 : this.state.a1401} onChange={this.a1401}>
                                                        <Radio value='a140101'>体检无异常</Radio>
                                                        <Radio value='a140102'>有异常</Radio>
                                                    </Radio.Group>
                                                </span>

                                                <span className={healthAssessmentSelect.a1401 == 'a140102' || this.state.a1401 == 'a140102' ? 'span ' : 'span displayNone'} style={{ float: 'right' }} onClick={this.healthAssessmentDataAdd}>添加评价</span>
                                            </div>
                                            <div style={{ height: '350px' }}>
                                                <Table columns={this.EvaluationTable} dataSource={healthAssessmentData}
                                                    bordered pagination={false}
                                                    scroll={{ x: 800, y: '280px' }}>
                                                </Table>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {this.state.showA15 &&
                                    <div>
                                        <div style={{ clear: 'both' }}></div>
                                        <div style={{ background: '#f0f2f5', marginTop: '10px' }} id='a15'>健康指导</div>
                                        <div className='table'>
                                            <div style={{ border: '1px solid silver', height: '40px', lineHeight: '40px' }}>

                                                <CheckboxGroup
                                                    options={healthGuidanceSelectZD}
                                                    value={healthGuidance.a1501 ? newQuestionDataJKZD : this.state.a15010}
                                                    onChange={this.a1501}
                                                />
                                            </div>
                                            <div className='CheckboxGroup' style={{ border: '1px solid silver', padding: '10px 15px' }}>
                                                <span>危险因素控制</span>
                                                <div style={{ position: 'relative' }}>
                                                    <CheckboxGroup
                                                        options={healthGuidanceSelect}
                                                        value={healthGuidance.a1504 ? newQuestionDataJK : this.state.a15040}
                                                        onChange={this.a1504}
                                                    />
                                                    <div style={{ position: 'absolute', top: '23px', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150401Val}</div>
                                                    <div style={{ position: 'absolute', top: '15%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150402Val}</div>
                                                    <div style={{ position: 'absolute', top: '26%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150403Val}</div>
                                                    <div style={{ position: 'absolute', top: '37%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150404Val}</div>
                                                    <div style={{ position: 'absolute', top: '48%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150405Val}</div>
                                                    <div style={{ position: 'absolute', top: '59%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150406Val}</div>
                                                    <div style={{ position: 'absolute', top: '70%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150407Val}</div>
                                                    <div style={{ position: 'absolute', top: '81%', left: '5px', width: '100%', color: '#ff3b3b', padding: '2px 7px', backgroundColor: '#f0f2f5' }}>{this.state.a150408Val}</div>
                                                    <div style={{ position: 'absolute', bottom: '41%', left: '83px' }}>
                                                        <span>(目标 ： <Input value={healthGuidance.a150406 ? healthGuidance.a150406 : this.state.a150406} onChange={this.a150406} style={{ width: '25%' }} /> kg）</span>
                                                    </div>
                                                    <div style={{ height: '40', position: 'absolute', bottom: '19%', left: '130px' }}>
                                                        <div style={{ float: 'left' }} className='radio'>

                                                            <CheckboxGroup
                                                                options={healthGuidanceSelectZDJY}
                                                                value={healthGuidance.a150408 ? newQuestionDataJKZDJY : this.state.a150408}
                                                                onChange={this.a150408}
                                                            />
                                                            {/*<Radio.Group value={healthGuidance.a150408 ? healthGuidance.a150408 : this.state.a150408} onChange={this.a150408}>*/}
                                                            {/*<Radio value='a15040801'>流感</Radio>*/}
                                                            {/*<Radio value='a15040802'>肺炎</Radio>*/}
                                                            {/*<Radio value='a15040803'>其他</Radio>*/}
                                                            {/*</Radio.Group>*/}
                                                        </div>
                                                        <div style={{ float: 'left' }}>
                                                            <Input className={newQuestionDataJKZDJY.indexOf('a15040803') !== -1 ? '' : 'displayNone'} value={healthGuidance.a150408note ? healthGuidance.a150408note : this.state.a150408note} onChange={this.a150408note} style={{ width: '100%' }} />
                                                        </div>

                                                    </div>
                                                    <div style={{ position: 'absolute', bottom: '6%', left: '84px' }}>
                                                        <Input value={healthGuidance.a150409 ? healthGuidance.a150409 : this.state.a150409} onChange={this.a150409} style={{ width: '100%' }} />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                }
                                {/*{this.state.showA16 &&*/}
                                {/*<div>*/}
                                {/*<div style={{clear: 'both'}}></div>*/}
                                {/*<div style={{background: '#f0f2f5'}} id='a16'>中医指导</div>*/}
                                {/*<div className='table'>*/}
                                {/*<TextArea rows={3} value={medicineGuidance.a1601 ? medicineGuidance.a1601 : this.state.a1601} onChange={this.a1601}/>*/}
                                {/*</div>*/}
                                {/*</div>*/}
                                {/*}*/}
                            </div>
                        </Row>
                    </Col>
                </Row>
            </Col>
        </div>
    }

}

export default MedicalExamination;
