/*
* 健康体检表
 * Creator:     FJP初始  ML改版
 * CreatDate:   2020-04-
 * descripts：  高级查询 健康体检表
* */

import React, { Component } from 'react';
import {
    Input, Form, Select, Modal, Button, Progress, Upload, message, Tooltip, Icon, Table,
    Card, Row, Col, DatePicker, Popconfirm, Checkbox, Cascader
} from 'antd';
import { Util, dayFormat } from 'tools/index';
import { $http } from 'containers/config/https';
import RangeDatePicker from 'components/rangePicker/index';
import '../style/index.less';
import moment from 'moment';

const Option = Select.Option;
const Search = Input.Search;
const FormItem = Form.Item;
const { TextArea } = Input;
const searchData = [
    {
        descripts: "体检日期",
        descriptsSPCode: "TJRQ^tjrq^tijianriqi^体检日期^体检^日期^体",
        title: "BaseInfo",
        fieldCode: "date",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    },
    {
        descripts: "责任医生",
        descriptsSPCode: "ZRYS^zrys^zerenyisheng^责任医生^责任^医生^责",
        title: "BaseInfo",
        fieldCode: "doctor",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    }, {
        descripts: "症状",
        descriptsSPCode: "ZZ^zz^zhengzhuang^症状^症^状",
        title: "zhengzhuang",
        fieldCode: "a0401",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:260
    }, {
        descripts: "左侧收缩压/舒张压",
        descriptsSPCode: "ZCSSYSZY^zcssy/szy^zuoceshousuoya/shuzhangya^左侧收缩压^舒张压^左侧^收缩压^左",
        title: "justSoso",
        fieldCode: "a010402",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "右侧收缩压/舒张压",
        descriptsSPCode: "YCSSYSZY^ycssy/szy^youceshousuoya/shuzhangya^右侧收缩压^舒张压^右侧^收缩压^右",
        title: "justSoso",
        fieldCode: "a010401",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
        
    }, {
        descripts: "身高",
        descriptsSPCode: "SG^sg^shengao^身高^身^高",
        title: "justSoso",
        fieldCode: "a0105",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        valueS: "a0105S",
        valueSE: "a0105SE",
        fuzzySearch: "Y",
        width:100
        
    }, {
        descripts: "腰围",
        descriptsSPCode: "YW^yw^yaowei^腰围^腰^围",
        title: "justSoso",
        fieldCode: "a0107",
        valueS: "a0107S",
        valueSE: "a0107SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "体重",
        descriptsSPCode: "TZ^tz^tizhong^体重^体^重",
        title: "justSoso",
        fieldCode: "a0106",
        valueS: "a0106S",
        valueSE: "a0106SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "体质指数",
        descriptsSPCode: "TZZS^tzzs^tizhizhishu^体质指数^体质^指数^体",
        title: "justSoso",
        fieldCode: "a0108",
        valueS: "a0108S",
        valueSE: "a0108SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130

    }, {
        descripts: "老年人健康状态自我评估",
        descriptsSPCode: "LNRJKZTZWPG^lnrjkztzwpg^laonianrenjiankangzhuangtaiziwopinggu^老年人健康状态自我评估^老年人^健康^状态^自我评估^自我^评估^老",
        title: "justSoso",
        fieldCode: "a1907",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:260
    }, {
        descripts: "老年人自理能力自我评估",
        descriptsSPCode: "LNRZLNLZWPG^lnrzlnlzwpg^laonianrenjiankangzilinengliziwopinggu^老年人自理能力自我评估^老年人^自理^能力^自我评估^自我^评估^老",
        title: "justSoso",
        fieldCode: "a19",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:260
    }, {
        descripts: "锻炼频率",
        descriptsSPCode: "DLPL^dlpl^duanlianpinlv^锻炼频率^锻炼^频率^锻",
        title: "lifeWay",
        fieldCode: "a030101",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130

    }, {
        descripts: "每次锻炼时间(分钟)",
        descriptsSPCode: "MCDLSJFZ^mcdlsjfz^meiciduanlianshijianfenzhong^每次锻炼时间^锻炼^每次^时间^分钟^每",
        title: "lifeWay",
        fieldCode: "a030102",
        valueS: "a030102S",
        valueSE: "a030102SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "坚持锻炼时间(年)",
        descriptsSPCode: "JCDLSJN^jcdlsjn^jianchiduanlianshijiannian^坚持锻炼时间^锻炼^坚持^时间^年^坚",
        title: "lifeWay",
        fieldCode: "a030103",
        valueS: "a030103S",
        valueSE: "a030103SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "饮食习惯",
        descriptsSPCode: "YSXG^ysxg^yinshixiguan^饮食习惯^饮食^习惯^饮",
        title: "lifeWay",
        fieldCode: "a0302",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    },
    {
        descripts: "吸烟状况",
        descriptsSPCode: "XYZK^xyzk^xiyanzhuangkuang^吸烟状况^吸烟^状况^状",
        title: "lifeWay",
        fieldCode: "a030301",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    }, {
        descripts: "开始吸烟年龄",
        descriptsSPCode: "KSXYNL^ksxynl^kaishixiyannianlin^开始吸烟年龄^开始^吸烟^年龄^开",
        title: "lifeWay",
        fieldCode: "a030303",
        valueS: "a0303S",
        valueSE: "a0303SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "戒烟年龄",
        descriptsSPCode: "JYNL^jynl^jieyannianlin^戒烟年龄^戒烟^年龄^戒",
        title: "lifeWay",
        fieldCode: "a030304",
        valueS: "a030304S",
        valueSE: "a030304SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    },
    {
        descripts: "饮酒频率",
        descriptsSPCode: "YJPL^yjpl^yinjiupinlv^饮酒频率^饮酒^频率^饮",
        title: "lifeWay",
        fieldCode: "a030401",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    },
    {
        descripts: "是否戒酒",
        descriptsSPCode: "SFJJ^sfjj^shifoujiejiu^是否戒酒^是否^戒酒^是",
        title: "lifeWay",
        fieldCode: "a030403",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    },
    {
        descripts: "戒酒年龄",
        descriptsSPCode: "JJNL^jjnl^jiejiunianlin^戒酒年龄^戒酒^年龄^戒",
        title: "lifeWay",
        fieldCode: "a030404",
        valueS: "a030404S",
        valueSE: "a030404SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    },
    {
        descripts: "开始饮酒年龄",
        descriptsSPCode: "KSYJNL^ksxynl^kaishiyinjiunianlin^开始饮酒年龄^开始^饮酒^年龄^饮",
        title: "lifeWay",
        fieldCode: "a030405",
        valueS: "a030405S",
        valueSE: "a030405SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    },
    {
        descripts: "饮酒种类",
        descriptsSPCode: "YJZL^yjzl^yinjiuzhonglei^饮酒种类^饮酒^种类^种",
        title: "lifeWay",
        fieldCode: "a030407",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    },
    {
        descripts: "口唇",
        descriptsSPCode: "KC^kc^kouchun^口唇^口^唇",
        title: "zqgn",
        fieldCode: "a050101",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    },
    {
        descripts: "齿列",
        descriptsSPCode: "CL^cl^chilie^齿列^齿^列",
        title: "zqgn",
        fieldCode: "a050102",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "咽部",
        descriptsSPCode: "YB^yb^yanbu^咽部^咽^部",
        title: "zqgn",
        fieldCode: "a050103",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "听力",
        descriptsSPCode: "TL^tl^tingli^听力^听^力",
        title: "zqgn",
        fieldCode: "a0502",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "运动功能",
        descriptsSPCode: "YDGN^ydgn^yundonggongneng^运动功能^运动^功能^运",
        title: "zqgn",
        fieldCode: "a0503",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    }, {
        descripts: "皮肤",
        descriptsSPCode: "PF^pf^pifu^皮肤^皮^肤",
        title: "body",
        fieldCode: "a0601",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "巩膜",
        descriptsSPCode: "GM^gm^gongmo^巩膜^巩^膜",
        title: "body",
        fieldCode: "a0602",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "淋巴结",
        descriptsSPCode: "LBJ^lbj^lingbajie^淋巴结^淋巴^巴结^淋",
        title: "body",
        fieldCode: "a0603",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "桶状胸",
        descriptsSPCode: "TZX^tzx^tongzhuangxiong^桶状胸^桶状^胸^桶",
        title: "body",
        fieldCode: "a060401",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100

    },  {
        descripts: "呼吸音",
        descriptsSPCode: "HX^hx^huxi^呼吸音^呼吸^音^呼",
        title: "body",
        fieldCode: "a060402",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100

    }, {
        descripts: "罗音",
        descriptsSPCode: "LY^ly^luoyin^罗音^罗^音",
        title: "body",
        fieldCode: "a060403",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "心率",
        descriptsSPCode: "XL^xl^xinlv^心率^心^率",
        title: "body",
        fieldCode: "a06050102",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "杂音",
        descriptsSPCode: "ZY^zy^zayin^杂音^杂^音",
        title: "body",
        fieldCode: "a060502",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "压痛",
        descriptsSPCode: "YT^yt^yatong^压痛^压^痛",
        title: "body",
        fieldCode: "a060601",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "包块",
        descriptsSPCode: "BK^bk^baokuai^包块^包^块",
        title: "body",
        fieldCode: "a060602",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "肝大",
        descriptsSPCode: "GD^gd^ganda^肝大^肝^大",
        title: "body",
        fieldCode: "a060603",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "脾大",
        descriptsSPCode: "PD^pd^pida^脾大^脾^大",
        title: "body",
        fieldCode: "a060604",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "移动性浊音",
        descriptsSPCode: "YDXZY^ydxzy^yidongxingzuoyin^移动性浊音^移动^移动性^浊音^移",
        title: "body",
        fieldCode: "a060605",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:260
    }, {
        descripts: "下肢水肿",
        descriptsSPCode: "XZSZ^xzsz^xiazhishuizhong^下肢水肿^下肢^水肿^下",
        title: "body",
        fieldCode: "a0607",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:220
    }, {
        descripts: "血红蛋白",
        descriptsSPCode: "XHDB^xhdb^xuehongdanbai^血红蛋白^血红^蛋白^血",
        title: "FZXJC",
        fieldCode: "a020201",
        valueS: "a020201S",
        valueSE: "a020201SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "白细胞",
        descriptsSPCode: "BXB^bxb^baixibaoi^白细胞^细胞^白",
        title: "FZXJC",
        fieldCode: "a020202",
        valueS: "a020202S",
        valueSE: "a020202SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "血小板",
        descriptsSPCode: "XXB^xxb^xuexiaoban^血小板^小板^血",
        title: "FZXJC",
        fieldCode: "a020203",
        valueS: "a020203S",
        valueSE: "a020203SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "其他",
        descriptsSPCode: "QT^qt^qita^其他^其^他",
        title: "FZXJC",
        fieldCode: "a020204",
        valueS: "a020204S",
        valueSE: "a020204SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "尿蛋白",
        descriptsSPCode: "NDB^ndb^niaodanbai^尿蛋白^蛋白^尿",
        title: "FZXJC",
        fieldCode: "a020301",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "尿糖",
        descriptsSPCode: "NT^nt^niaotang^尿糖^尿^糖",
        title: "FZXJC",
        fieldCode: "a020302",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "尿酮体",
        descriptsSPCode: "NTT^ntt^niaotongti^尿酮体^尿酮^尿",
        title: "FZXJC",
        fieldCode: "a020303",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "尿潜血",
        descriptsSPCode: "NQX^nqx^niaoqianxue^尿潜血^潜血^尿",
        title: "FZXJC",
        fieldCode: "a020304",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:100
    }, {
        descripts: "其他",
        descriptsSPCode: "QT^qt^qita^其他^其^他",
        title: "FZXJC",
        fieldCode: "a020305",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:226
    }, {
        descripts: "空腹血糖",
        descriptsSPCode: "KFXT^kfxt^kongfuxuetang^空腹血糖^空腹^血糖^空",
        title: "FZXJC",
        fieldCode: "a0204",
        valueS: "a0204S",
        valueSE: "a0204SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    }, {
        descripts: "心电图",
        descriptsSPCode: "XDT^xdt^xindiantu^心电图^心电^心",
        title: "FZXJC",
        fieldCode: "a0212",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    }, {
        descripts: "B超",
        descriptsSPCode: "BC^bc^bichao^B超^B^超",
        title: "FZXJC",
        fieldCode: "a0211",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:100
    }, {
        descripts: "血清谷丙转氨酶",
        descriptsSPCode: "XQGBZAM^xqgbzam^xueqinggubinzhuananmei^血清谷丙转氨酶^血清^谷丙^转氨酶^血",
        title: "FZXJC",
        fieldCode: "a020501",
        valueS: "a020501S",
        valueSE: "a020501SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "血清谷草转氨酶",
        descriptsSPCode: "XQGCZAM^xqgczam^xueqinggucaozhuananmei^血清谷草转氨酶^血清^谷草^转氨酶^血",
        title: "FZXJC",
        fieldCode: "a020502",
        valueS: "a020502S",
        valueSE: "a020502SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:220
    }, {
        descripts: "总胆红素",
        descriptsSPCode: "ZDHS^zdhs^zongdanhongsu^总胆红素^总胆^红素^总",
        title: "FZXJC",
        fieldCode: "a020503",
        valueS: "a020503S",
        valueSE: "a020504SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    }, {
        descripts: "血清肌酐",
        descriptsSPCode: "XQJG^xqjg^xueqingjigan^血清肌酐^血清^肌酐^血",
        title: "FZXJC",
        fieldCode: "a020601",
        valueS: "a020601S",
        valueSE: "a020601SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    }, {
        descripts: "血尿素氮",
        descriptsSPCode: "XNSA^xnsa^xueniaosuan^血尿素氮^血尿^素氮^血",
        title: "FZXJC",
        fieldCode: "a020602",
        valueS: "a020602S",
        valueSE: "a020602SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    }, {
        descripts: "总胆固醇",
        descriptsSPCode: "ZDGC^zdgc^zongdanguchun^总胆固醇^总胆^固醇^总",
        title: "FZXJC",
        fieldCode: "a020701",
        valueS: "a020701S",
        valueSE: "a020701SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    }, {
        descripts: "甘油三酯",
        descriptsSPCode: "GYSZ^gysz^ganyousanzhi^甘油三酯^甘油^三酯^甘",
        title: "FZXJC",
        fieldCode: "a020702",
        valueS: "a020702S",
        valueSE: "a020702SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:130
    }, {
        descripts: "血清低密度脂蛋白胆固醇",
        descriptsSPCode: "XQDMDZDBDGC^xqdmdzdbdgc^xueqingdimiduzhidanbaidanguchun^血清低密度脂蛋白胆固醇^血清^低密度^脂蛋白^胆固醇^血",
        title: "FZXJC",
        fieldCode: "a020703",
        valueS: "a020703S",
        valueSE: "a020703SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:260
    }, {
        descripts: "血清高密度脂蛋白胆固醇",
        descriptsSPCode: "XQGMDZDBDGC^xqgmdzdbdgc^xueqinggaomiduzhidanbaidanguchun^血清高密度脂蛋白胆固醇^血清^高密度^脂蛋白^胆固醇^血",
        title: "FZXJC",
        fieldCode: "a020704",
        valueS: "a020704S",
        valueSE: "a020704SE",
        rangeFlag: "Y",
        value: "",
        valueTo: "",
        fuzzySearch: "Y",
        width:260
    }, {
        descripts: "疾病类型",
        descriptsSPCode: "JBLX^jblx^jibingleixing^疾病类型^疾病^类型^疾",
        title: "now",
        fieldCode: "a10",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    }, {
        descripts: "服药依从性",
        descriptsSPCode: "FYYCX^fyycx^fuyaoyicongxing^服药依从性^服药^依从性^服",
        title: "fu",
        fieldCode: "a11",
        rangeFlag: "N",
        value: "",
        valueTo: "",
        fuzzySearch: "N",
        width:130
    },
]
class ShowQueryAdvancedModal extends Component {

    constructor(props) {
        super(props);
        var date = new Date();
        var userData = JSON.parse(sessionStorage.getItem('userData'));
        this.state = {
            leftData: [],
            rightData: [],
            userData: userData,
            docArr: [],
            searchData,
            noDateStatus: false
        }
    }
    componentWillReceiveProps(nextProp) {
        if (nextProp.isShow === true) {
            this.loadSelectData()
        } else if (this.props.isShow === false) {
            this.handleRest();
        }
    }

    componentDidMount() {
        this.props.onRefHealth(this)
        this.getDoctor()
        this.loadDiseaseType()//疾病类型
        this.loadUseMedicine()
        const { searchData } = this.state

        searchData && searchData.map((i, s) => {
            let str = i.descripts
            if (str) {
                let arr = []
                arr = i.descriptsSPCode.split("^")
                this.setState({
                    ["show" + arr[0]]: true,
                })
            }
        })
        // window.addEventListener('scroll', this.bindHandleScroll)
    }
    // componentWillUnmount(){
    //     window.removeEventListener('scroll', this.bindHandleScroll);
    //   }
    //   bindHandleScroll=(event)=>{
    //     console.log("event",event)
    //   }
    //搜索组件
    getCompent = (name,) => {
        const { searchData } = this.state
        this.setState({
            noDateStatus: false
        })
        let arr1 = []
        searchData && searchData.map((i, s) => {
            let str = i.descripts
            let str1 = i.descriptsSPCode
            if (str) {
                let arr = []
                arr = i.descriptsSPCode.split("^")
                if (str1.indexOf(name) == -1 && str.indexOf(name) == -1) {
                    this.setState({
                        ["show" + arr[0]]: false,
                    })
                    arr1.push(arr[0])
                    if (arr1.length == 64) {
                        this.setState({
                            noDateStatus: true
                        })
                    }
                } else {
                    this.setState({
                        ["show" + arr[0]]: true,
                    })
                }
            }
        })
    }
    getDoctor = () => {
        let datas = {}
        datas = {
            params: [{
                hospID: this.state.userData && this.state.userData.hospID || "",
            }],
        }
        $http.post('urlS', this, {
            code: '03070033',
            data: datas,
            success: function (res) {
                if (+res.errorCode === 0) {
                    this.setState({
                        docArr: res.result.data
                    })
                }
            }
        })
    }
    loadSelectData() {
        var params = {
            params: [{
                logonHospID: this.state.userData.hospID,
                logonGroupID: this.state.userData.groupID,
                sexFlag: 'Y'
            }]
        }
        $http.post('urlDeault', this, {
            code: "03010037",
            data: params,
            success: function (res) {
                if (res.errorCode == '0') {
                    this.setState({
                        sex: res.result.sex,
                    })
                }
            }
        });
    }
  

    startChange(date) {
        this.setState({
            regDateFrom: date,
        })
    }

    endChange(date) {
        this.setState({
            regDateTo: date,
        })
    }
    //清空查询条件
    handleRest = () => {
        this.props.form.resetFields();
        this.setState({
            detailData: {},
            checkboxData:[]
        })
        this.scrollTo("tj")
    }
    //提交
    onSubmit() {
        let { onSubmit } = this.props;
        onSubmit && onSubmit(this.state.data, this.state.newCode);
    }

    //级联选择
    onChangeDisease(e, selectedOptions) {
        if (selectedOptions.length > 1) {
            this.setState({
                diseaseID: selectedOptions[1].code
            });
        } else if (selectedOptions.length === 1) {
            this.setState({
                diseaseID: selectedOptions[0].code
            });
        }
        else {
            this.setState({
                diseaseID: ''
            });
        }
    }
    //疾病类型
    loadDiseaseType() {
        var params = {
            params: [{}]
        }
        $http.post('urlDeault', this, {
            code: "03070018",
            data: params,
            success: function (res) {
                if (res.errorCode == '0') {
                    this.setState({
                        diseaseType: res.result.fatherArr,
                    })
                }
            }
        });
    }
    //服药方式
    loadUseMedicine() {
        var params = {
            params: [{}]
        }
        $http.post('urlDeault', this, {
            code: "03070041",
            data: params,
            success: function (res) {
                if (res.errorCode == '0') {
                    console.log("----",res.data)
                    this.setState({
                        useMedicine: res.data,
                    })
                }
            }
        });
    }
    scrollTo = (acName) => {
        if (acName) {
            // 找到锚点
            let acElement = document.getElementById(acName);
            // 如果对应id的锚点存在，就跳转到锚点
            if (acElement) { acElement.scrollIntoView({ block: 'start', behavior: 'smooth' }); }
        }
    }
    //选中条件
    onChangeCheckArr = (e) => {
        this.setState({
            checkboxData: e,
        })
    }
    //选中数据传递
    toSearchData = () => {
        const { checkboxData, searchData } = this.state
        let searchDatas = searchData
        let newArr = []
        //处理体检日期 和 责任医生
        let healthObj = {
            classShortName: "health",
        }
        searchDatas && searchDatas.map((item, index) => {
            checkboxData && checkboxData.map((i, s) => {
                if (i == item.fieldCode) {
                    //处理范围
                    if (item.rangeFlag == "Y"&&i!="a010402"&&i!="a010401"&&i!="a19") {
                        item.valueTo = this.props.form.getFieldValue(item.valueSE)
                        item.value = this.props.form.getFieldValue(item.valueS)
                        // console.log("a0105S", this.props.form.getFieldValue(item.valueS), item)
                        if(this.props.form.getFieldValue(item.valueSE)||this.props.form.getFieldValue(item.valueS)){
                            newArr.push(item)
                        }
                    }
                     //处理左侧 血压
                     if(i=="a010402"){
                        if(this.props.form.getFieldValue("leftValue")||this.props.form.getFieldValue("leftValueTwo")
                        ||this.props.form.getFieldValue("leftValueTo")||this.props.form.getFieldValue("leftValueToTwo")){
                            item.value = (this.props.form.getFieldValue("leftValue")&&
                            this.props.form.getFieldValue("leftValue")?this.props.form.getFieldValue("leftValue"):"" )
                             + "/" + 
                            (this.props.form.getFieldValue("leftValueTwo")&&
                            this.props.form.getFieldValue("leftValueTwo")?this.props.form.getFieldValue("leftValueTwo"):"" )

                            item.valueTo = (this.props.form.getFieldValue("leftValueTo")&&
                            this.props.form.getFieldValue("leftValueTo")?this.props.form.getFieldValue("leftValueTo"):"" )
                            + "/" + 
                            (this.props.form.getFieldValue("leftValueToTwo")&&
                            this.props.form.getFieldValue("leftValueToTwo")?this.props.form.getFieldValue("leftValueToTwo"):"" )
                            newArr.push(item)
                        }
                    }
                     //处理 右侧 血压
                     if(i=="a010401"){
                        if(this.props.form.getFieldValue("rightValue")||this.props.form.getFieldValue("rightValueTwo")
                        ||this.props.form.getFieldValue("rightValueTo")||this.props.form.getFieldValue("rightValueToTwo")){
                            item.value = (this.props.form.getFieldValue("rightValue")&&
                            this.props.form.getFieldValue("rightValue")?this.props.form.getFieldValue("rightValue"):"" )
                            + "/" +
                            (  this.props.form.getFieldValue("rightValueTwo")&&
                            this.props.form.getFieldValue("rightValueTwo")?this.props.form.getFieldValue("rightValueTwo"):"")

                            item.valueTo =( this.props.form.getFieldValue("rightValueTo")&&this.props.form.getFieldValue("rightValueTo") ?
                            this.props.form.getFieldValue("rightValueTo"):"")
                             + "/" + (this.props.form.getFieldValue("rightValueToTwo")&& this.props.form.getFieldValue("rightValueToTwo")?
                             this.props.form.getFieldValue("rightValueToTwo"):"")
                            newArr.push(item)
                        }
                    }
                    //老年人能力评估
                    if(i=="a19"){
                        if(this.props.form.getFieldValue("a19")){
                            if(this.props.form.getFieldValue("a19")=="a1901"){
                                item.value = 0
                                item.valueTo = 3
                            } if(this.props.form.getFieldValue("a19")=="a1902"){
                                item.value = 4
                                item.valueTo = 8
                            } if(this.props.form.getFieldValue("a19")=="a1903"){
                                item.value = 9
                                item.valueTo = 18
                            } if(this.props.form.getFieldValue("a19")=="a1904"){
                                item.value = 19
                                item.valueTo = ""
                            }
                            newArr.push(item)
                        }
                    }
                    
                    //处理体检日期 和 责任医生
                    if (i == "date") {
                        // console.log("111111")
                        if (this.state.regDateFrom) {
                            // console.log("222222")
                            healthObj.startDate = this.state.regDateFrom
                        } if (this.state.regDateTo) {
                            // console.log("3")
                            healthObj.stopDate = this.state.regDateTo
                        }
                    }
                    if (i == "doctor") {
                        // console.log("4444")
                        if (this.props.form.getFieldValue("doctor")) {
                            healthObj.doctorID = this.props.form.getFieldValue("doctor")
                        }
                    }
                    //处理疾病类型
                    if(i == "a10"){
                        if(this.state.diseaseID){
                            item.value = this.state.diseaseID
                            newArr.push(item)
                        }
                    }
                   
                    //处理日期
                    else if (i == "BirthDate") {
                        // console.log("5555")
                        item.value = moment(this.props.form.getFieldValue(i)).format('YYYY-MM-DD')
                        if(this.props.form.getFieldValue(i)){
                            newArr.push(item)
                        }
                    }
                    
                    //处理正常输入框 选择框
                    else {
                        // console.log("6666666")
                        if ((i != "date" && item.rangeFlag != "Y"&&i!="a19") || (i != "doctor" && item.rangeFlag != "Y"&&i!="a19")) {
                            item.value = this.props.form.getFieldValue(i)
                        }
                        if(this.props.form.getFieldValue(i)&&i!="a19"){
                            newArr.push(item)
                        }
                    }
                    // console.log("newArr",newArr,healthObj)
                    
                }
            })
        })

        this.setState({
            searchData: searchDatas,
        },()=>{
            // console.log("2222222")
            this.props.getHealthData(newArr, healthObj,checkboxData)
        })

    }
    render() {
        var { sex, previewImage, fileList, previewVisible, docArr, diseaseType, useMedicine } = this.state;
        let { getFieldDecorator } = this.props.form;
        var date = new Date()
        let formItemLayout = {
            labelCol: { span: 8 },
            wrapperCol: { span: 15 }
        };
        let formItem816 = {
            labelCol: { span: 8 },
            wrapperCol: { span: 16 }
        };
        let formItem914 = {
            labelCol: { span: 9 },
            wrapperCol: { span: 14 }
        };
        let formItem915 = {
            labelCol: { span: 9 },
            wrapperCol: { span: 15 }
        };
        let formItemLayoutXue = {
            labelCol: { span: 12 },
            wrapperCol: { span: 12 }
        };

        let formItemLayout6 = {
            labelCol: { span: 6 },
            wrapperCol: { span: 10 }
        };
        let formItemLayout15 = {
            labelCol: { span: 15 },
            wrapperCol: { span: 9 }
        };
        let formItemLeftLayout11 = {
            labelCol: { span: 11 },
            wrapperCol: { span: 13 }
        };
        let formItemLeftLayout13 = {
            labelCol: { span: 13 },
            wrapperCol: { span: 11 }
        };
        let formItem22 = {
            labelCol: { span: 11 },
            wrapperCol: { span: 22 }
        };

        let formItemDateLayout = {
            labelCol: { span: 6 },
            wrapperCol: { span: 18 }
        };
        let formItem617 = {
            labelCol: { span: 6 },
            wrapperCol: { span: 17 }
        };

        let formItemLongLayout = {
            labelCol: { span: 14 },
            wrapperCol: { span: 9 }
        };

        let formItemLeftLayout = {
            labelCol: { span: 12 },
            wrapperCol: { span: 11 }
        };

        let formItemHertLayout = {
            labelCol: { span: 16 },
            wrapperCol: { span: 8 }
        };


        let formItemSexLayout = {
            labelCol: { span: 8 },
            wrapperCol: { span: 22 }
        };
        let formItem24 = {
            labelCol: { span: 8 },
            wrapperCol: { span: 24 }
        };
        let formItem714 = {
            labelCol: { span: 7 },
            wrapperCol: { span: 14 }
        };
        let formItem614 = {
            labelCol: { span: 6 },
            wrapperCol: { span: 14 }
        };
        let formItem8 = {
            labelCol: { span: 8 },
            wrapperCol: { span: 16 }
        };

        let formItem14 = {
            labelCol: { span: 14 },
            wrapperCol: { span: 10 }
        }
        let formItem1911 = {
            labelCol: { span: 9 },
            wrapperCol: { span: 11 }
        }
        //疾病
        const symptomData = [
            { label: '无症状', value: 'a040101', descriptsSPCode: "WZZ" },
            { label: '头痛', value: 'a040102', descriptsSPCode: "TT" },
            { label: '头晕', value: 'a040103', descriptsSPCode: "TY" },
            { label: '心悸', value: 'a040104', descriptsSPCode: "XJ" },
            { label: '胸闷', value: 'a040125', descriptsSPCode: "XM" },
            { label: '胸痛', value: 'a040105', descriptsSPCode: "XT" },
            { label: '慢性咳嗽', value: 'a040106', descriptsSPCode: "MXKS" },
            { label: '咳痰', value: 'a040107', descriptsSPCode: "KS" },
            { label: '呼吸困难', value: 'a040108', descriptsSPCode: "HXKN" },
            { label: '多饮', value: 'a040109', descriptsSPCode: "DY" },
            { label: '多尿', value: 'a040110', descriptsSPCode: "DN" },
            { label: '体重下降', value: 'a040111', descriptsSPCode: "TZXJ" },
            { label: '乏力', value: 'a040112', descriptsSPCode: "FL" },
            { label: '关节肿痛', value: 'a040113', descriptsSPCode: "GJZT" },
            { label: '视力模糊', value: 'a040114', descriptsSPCode: "SLMH" },
            { label: '手脚麻木', value: 'a040115', descriptsSPCode: "JJMM" },
            { label: '尿急', value: 'a040116', descriptsSPCode: "NJ" },
            { label: '尿痛', value: 'a040117', descriptsSPCode: "NT" },
            { label: '便秘', value: 'a040118', descriptsSPCode: "BM" },
            { label: '腹泻', value: 'a040119', descriptsSPCode: "FX" },
            { label: '恶心呕吐', value: 'a040120', descriptsSPCode: "EXOT" },
            { label: '眼花', value: 'a040121', descriptsSPCode: "YH" },
            { label: '耳鸣', value: 'a040122', descriptsSPCode: "EM" },
            { label: '乳房胀痛', value: 'a040123', descriptsSPCode: "RFZT" },
            { label: '其他', value: 'a040124', descriptsSPCode: "QT" },
        ];
        //老年人健康状态自我评估
        const selfSattusData = [
            { label: '满意', value: 'a190701', descriptsSPCode: "MY" },
            { label: '基本满意', value: 'a190702', descriptsSPCode: "JBMY" },
            { label: '说不清楚', value: 'a190703', descriptsSPCode: "SBQC" },
            { label: '不太满意', value: 'a190704', descriptsSPCode: "BTMY" },
            { label: '不满意', value: 'a190705', descriptsSPCode: "BMY" },

        ];
        //老年人自理能力自我评估
        const selfDoData = [
            { label: '可自理', value: 'a1901', descriptsSPCode: "KZL", },
            { label: '轻度依赖', value: 'a1902', descriptsSPCode: "QDYN" },
            { label: '中度依赖', value: 'a1903', descriptsSPCode: "ZDYN" },
            { label: '不能自理', value: 'a1904', descriptsSPCode: "BNZL" },

        ];
        //锻炼频率
        const playData = [
            { label: '每天', value: 'a03010101', descriptsSPCode: "MT" },
            { label: '每周一次以上', value: 'a03010102', descriptsSPCode: "MZYC" },
            { label: '偶尔', value: 'a03010103', descriptsSPCode: "OE" },
            { label: '不锻炼', value: 'a03010104', descriptsSPCode: "BDL" },

        ];
        //饮食习惯
        const plainOptions = [
            { label: '荤素均衡', value: 'a030206', descriptsSPCode: "HSJH" },
            { label: '荤食为主', value: 'a030201', descriptsSPCode: "HSWZ" },
            { label: '素食为主', value: 'a030202', descriptsSPCode: "SSWZ" },
            { label: '嗜盐', value: 'a030203', descriptsSPCode: "SY" },
            { label: '嗜油', value: 'a030204', descriptsSPCode: "SY" },
            { label: '嗜糖', value: 'a030205', descriptsSPCode: "ST" },
        ];
        //吸烟情况
        const smokeStatus = [
            { label: '从不吸烟', value: 'a03030101', descriptsSPCode: "CBXY" },
            { label: '已戒烟', value: 'a03030102', descriptsSPCode: "YJY" },
            { label: '吸烟', value: 'a03030103', descriptsSPCode: "XY" },
        ];
        //饮酒频率
        const drinkStatus = [
            { label: '从不', value: 'a03040101', descriptsSPCode: "CB" },
            { label: '偶尔', value: 'a03040102', descriptsSPCode: "OE" },
            { label: '经常', value: 'a03040103', descriptsSPCode: "JC" },
            { label: '每天', value: 'a03040104', descriptsSPCode: "MT" },
        ];
        //是否戒酒
        const drinkNo = [
            { label: '未戒酒', value: 'a03040301', descriptsSPCode: "WJJ" },
            { label: '已戒酒', value: 'a03040302', descriptsSPCode: "YJJ" },
        ];
        //饮酒种类
        const Liquor = [
            { label: '白酒', value: 'a03040701', descriptsSPCode: "BJ" },
            { label: '啤酒', value: 'a03040702', descriptsSPCode: "PJ" },
            { label: '红酒', value: 'a03040703', descriptsSPCode: "HJ" },
            { label: '黄酒', value: 'a03040704', descriptsSPCode: "HJ" },
            { label: '其他', value: 'a03040705', descriptsSPCode: "QT" },
        ];
        //疾病
        var symptomDataOption = []
        symptomData && symptomData.map((item, index) => {
            symptomDataOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //老年人健康状态自我评估selfSattusData
        var selfSattusOption = []
        selfSattusData && selfSattusData.map((item, index) => {
            selfSattusOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //老年人自理能力自我评估
        var selfDoOption = []
        selfDoData && selfDoData.map((item, index) => {
            selfDoOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        // 锻炼频率
        var playOption = []
        playData && playData.map((item, index) => {
            playOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //plainOptions
        var plainOptionsOption = []
        plainOptions && plainOptions.map((item, index) => {
            plainOptionsOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //smokeStatus
        var smokeStatusOption = []
        smokeStatus && smokeStatus.map((item, index) => {
            smokeStatusOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //drinkStatus
        var drinkStatusOption = []
        drinkStatus && drinkStatus.map((item, index) => {
            drinkStatusOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //drinkNo
        var drinkNoOption = []
        drinkNo && drinkNo.map((item, index) => {
            drinkNoOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //Liquor
        var LiquorOption = []
        Liquor && Liquor.map((item, index) => {
            LiquorOption.push(<Option key={index} value={item.value} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.label}</Option>)
        })
        //疾病类型
        var diseaseTypeOption = []
        diseaseType && diseaseType.map((item, index) => {
            diseaseTypeOption.push(<Option key={index} value={item.code} name={item.descriptsSPCode}
                code={item.descriptsSPCode}>{item.descripts}</Option>)
        })
        //服药特性
        var useMedicineOption = []
        useMedicine && useMedicine.map((item, index) => {
            useMedicineOption.push(<Option key={index} value={item.code} name={item.descripts}
                code={item.descriptsSPCode}>{item.descripts}</Option>)
        })
        //责任医生
        let docOp = []
        docArr && docArr.map(item => {
            docOp.push(<Option key={item.id} title={item.descripts} code={item.descripts} name={item.descriptsSPCode} value={String(item.id)}>{item.descripts}</Option>)
        })
        return <div className='show-information-modal'>
            <div style={{ display: (this.state.noDateStatus ? "block" : "none"), textAlign: "center", lineHeight: "80px" }}>
                <p>该字段不存在,请重新检索</p>
            </div>
            <div style={{ display: (this.state.noDateStatus ? "none" : "block") }}>
                <Card className="scroll-dom" style={{ width: '19%', float: 'left', height: '58vh' }}>
                    <p onClick={() => this.scrollTo("tj")} style={{
                        display: (this.state.showTJRQ
                            || this.state.showZRYS
                            ? "block" : "none")
                    }}>
                        <span></span> 体检基本信息
                </p>
                    <p onClick={() => this.scrollTo("zz")} style={{
                        display: (this.state.showZZ
                            ? "block" : "none")
                    }}>
                        <span></span> 症状
                </p>
                    <p onClick={() => this.scrollTo("ybzk")} style={{
                        display: (
                            this.state.showYCSSYSZY
                                || this.state.showSG
                                || this.state.showTZ
                                || this.state.showYW
                                || this.state.showTZZS
                                || this.state.showLNRJKZTZWPG
                                || this.state.showLNRZLNLZWPG
                                ? "block" : "none")
                    }}>
                        <span></span> 一般状况
                </p><p onClick={() => this.scrollTo("shfs")} style={{
                        display: (this.state.showDLPL
                            || this.state.showMCDLSJFZ
                            || this.state.showJCDLSJN
                            || this.state.showYSXG
                            || this.state.showXYZK
                            || this.state.showKSXYNL
                            || this.state.showJYNL
                            || this.state.showYJPL
                            || this.state.showSFJJ
                            || this.state.showJJNL
                            || this.state.showKSYJNL
                            ? "block" : "none")
                    }}>
                        <span></span> 生活方式
                    </p>
                    <p onClick={() => this.scrollTo("zqgn")} style={{
                        display: (this.state.showKC
                            || this.state.showCL
                            || this.state.showYB
                            || this.state.showYDGN
                            || this.state.showTL
                            ? "block" : "none")
                    }}>
                        <span></span> 脏器功能
                </p>
                    <p onClick={() => this.scrollTo("ct")} style={{
                        display: (this.state.showPF
                            || this.state.showGM
                            || this.state.showLBJ
                            || this.state.showTZX
                            || this.state.showLY
                            || this.state.showXL
                            || this.state.showZY
                            || this.state.showYT
                            || this.state.showBK
                            || this.state.showGD
                            || this.state.showPD
                            || this.state.showYDXZY
                            || this.state.showXZSZ
                            ? "block" : "none")
                    }}>
                        <span></span> 查体
                </p>
                    <p onClick={() => this.scrollTo("fzxjc")} style={{
                        display: (this.state.showXHDB
                            || this.state.showBXB
                            || this.state.showXXB
                            || this.state.showQT
                            || this.state.showNDB
                            || this.state.showNT
                            || this.state.showNTT
                            || this.state.showNQX
                            || this.state.showKFXT
                            || this.state.showXDT
                            || this.state.showBC
                            || this.state.showXQGBZAM
                            || this.state.showXQGCZAM
                            || this.state.showZDHS
                            || this.state.showXQJG
                            || this.state.showXNSA
                            || this.state.showZDGC
                            || this.state.showGYSZ
                            || this.state.showXQDMDZDBDGC
                            || this.state.showXQGMDZDBDGC
                            ? "block" : "none")
                    }}>
                        <span></span> 辅助检查
                </p>
                    <p onClick={() => this.scrollTo("xczyjkwt")} style={{
                        display: (this.state.showJBLX
                            ? "block" : "none")
                    }}>
                        <span></span> 现存主要健康问题
                </p>
                    <p onClick={() => this.scrollTo("fyycx")} style={{
                        display: (this.state.showFYYCX
                            ? "block" : "none")
                    }}>
                        <span></span> 服药依从性
                </p>
                </Card>
                <Card style={{ width: '80.8%', float: 'right', height: '58vh', overflow: 'auto', background: '#F0F2F5' }}>
                    <Checkbox.Group style={{ width: '100%' }} value={this.state.checkboxData} onChange={(e) => this.onChangeCheckArr(e)}>
                        <Card id="tj" style={{
                            display: (this.state.showTJRQ
                                || this.state.showZRYS
                                ? "block" : "none")
                        }}>
                            <p
                            >
                                <span className="greenLine"></span><span>基本信息</span>
                            </p>
                            <Form >
                                <Row style={{ marginLeft: "-17px" }}>
                                    <Col span={12} style={{ display: (this.state.showTJRQ ? "block" : "none") }} >
                                        <FormItem {...formItemDateLayout} label={<span><Checkbox value="date" /><span style={{ marginLeft: 5 }}>体检日期</span></span>}>
                                            {getFieldDecorator('date', {
                                                // initialValue: this.state.name,
                                            })(
                                                <RangeDatePicker format='YYYY-MM-DD' width={'85%'} margin={'5px 0 0 0'}
                                                    startDate={this.state.regDateFrom} endDate={this.state.regDateTo}
                                                    startChange={this.startChange.bind(this)} endChange={this.endChange.bind(this)} />
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={8} style={{ display: (this.state.showZRYS ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span><Checkbox value="doctor" /><span style={{ marginLeft: 5 }}>责任医生</span></span>}>
                                            {getFieldDecorator('doctor', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select placeholder='请选择责任医生'
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                        || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}>
                                                    {docOp}
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                            </Form>
                        </Card>

                        <Card id="zz" style={{
                            marginTop: 5, display: (this.state.showZZ
                                ? "block" : "none")
                        }} >
                            <p>
                                <span className="greenLine"></span><span>症状</span>
                            </p>
                            <Row >
                                <Row style={{ marginLeft: "-49px" }}>
                                    <Form>
                                        <Col span={12} style={{ display: (this.state.showZZ ? "block" : "none") }}>
                                            <FormItem {...formItemDateLayout} label={<span>
                                                <Checkbox value="a0401" />
                                                <span style={{ marginLeft: 5 }}>症状</span>
                                            </span>}>
                                                {getFieldDecorator('a0401', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Select style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {symptomDataOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Form>
                                </Row>
                                <Form style={{ display: (this.state.symptomDataID == "a040124" ? "block" : "none") }}>
                                    <Col span={6}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a040124', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Input style={{ width: '80%' }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                            </Row>


                        </Card>

                        <Card id="ybzk" style={{
                            marginTop: 5, display: (this.state.showZCSSYSZY
                                || this.state.showYCSSYSZY
                                || this.state.showSG
                                || this.state.showTZ
                                || this.state.showYW
                                || this.state.showTZZS
                                || this.state.showLNRJKZTZWPG
                                || this.state.showLNRZLNLZWPG
                                ? "block" : "none")
                        }}>
                            <p>
                                <span className="greenLine"></span><span>一般状况</span>
                            </p>
                            <Form>
                                <Row>
                                    <Row>
                                        <Col span={7} className="to-dom" style={{ display: (this.state.showZCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItemLayout15} label={<span><Checkbox value="a010402" />
                                                <span style={{ marginLeft: 5 }}>左侧</span>
                                                <span style={{ marginLeft: 5 }}>收缩压/舒张压</span>
                                            </span>}>
                                                {getFieldDecorator('leftValue', {
                                                    initialValue: undefined,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine" >/</span>
                                        </Col>

                                        <Col span={3} className="to-dom" style={{ display: (this.state.showZCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItem22}>
                                                {getFieldDecorator('leftValueTwo', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span">至</span>
                                        </Col>
                                        <Col span={3}  className="to-dom" style={{ display: (this.state.showZCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItem24}>
                                                {getFieldDecorator('leftValueTo', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine form" >/</span>
                                        </Col>
                                        <Col span={3} style={{ display: (this.state.showZCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItem24}>
                                                {getFieldDecorator('leftValueToTwo', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={5} className="to-dom" style={{ display: (this.state.showSG ? "block" : "none") }}>
                                            <FormItem {...formItem8} label={<span>
                                                <Checkbox value="a0105" />
                                                <span style={{ marginLeft: 5 }}>身高</span></span>}>
                                                {getFieldDecorator('a0105S', {
                                                    // initialValue: this.state.,
                                                })(
                                                    <Input placeholder='开始值' style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span"  style={{left:"171px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showSG ? "block" : "none") }}>
                                            <FormItem {...formItemLayout}>
                                                {getFieldDecorator('a0105SE', {
                                                    // initialValue: this.state.,
                                                })(
                                                    <Input placeholder='结束值' style={{ width: '132%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>

                                    <Row>
                                        <Col span={7}  className="to-dom" style={{ display: (this.state.showYCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItemLayout15} label={<span><Checkbox value="a010401" />
                                                <span style={{ marginLeft: 5 }}>右侧</span>
                                                <span style={{ marginLeft: 5 }}>收缩压/舒张压</span>
                                            </span>}>
                                                {getFieldDecorator('rightValue', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine" >/</span>
                                        </Col>

                                        <Col span={3}  className="to-dom" style={{ display: (this.state.showYCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItem22}>
                                                {getFieldDecorator('rightValueTwo', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span">至</span>
                                        </Col>
                                        <Col span={3} className="to-dom" style={{ display: (this.state.showYCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItem24}>
                                                {getFieldDecorator('rightValueTo', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine form" >/</span>
                                        </Col>
                                        <Col span={3}  style={{ display: (this.state.showYCSSYSZY ? "block" : "none") }}>
                                            <FormItem {...formItem24}>
                                                {getFieldDecorator('rightValueToTwo', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={5}  className="to-dom" style={{ display: (this.state.showTZ ? "block" : "none") }}>
                                            <FormItem {...formItem8} label={<span><Checkbox value="a0106" /><span style={{ marginLeft: 5 }}>体重</span></span>}>
                                                {getFieldDecorator('a0106S', {
                                                    // initialValue: this.state.,
                                                })(
                                                   <Input placeholder='开始值' style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span"  style={{left:"171px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showTZ ? "block" : "none") }}>
                                            <FormItem {...formItemLayout}>
                                                {getFieldDecorator('a0106SE', {
                                                    // initialValue: this.state.,
                                                })(
                                                    <Input placeholder='结束值' style={{ width: '132%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>
                                    <Row style={{ marginLeft: "10px" }}>
                                        <Col span={5}  className="to-dom" style={{ display: (this.state.showYW ? "block" : "none") }}>
                                            <FormItem {...formItem8} label={<span><Checkbox value="a0107" /><span style={{ marginLeft: 5 }}>腰围</span></span>}>
                                                {getFieldDecorator('a0107S', {
                                                    // initialValue: this.state.,
                                                })(
                                                   <Input placeholder='开始值' style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span"  style={{left:"170px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showYW ? "block" : "none") }}>
                                            <FormItem {...formItemLayout}>
                                                {getFieldDecorator('a0107SE', {
                                                    // initialValue: this.state.,
                                                })(
                                                    <Input placeholder='结束值' style={{ width: '132%' }} />
                                                )}
                                            </FormItem>
                                        </Col>

                                        <Col span={6} className="to-dom" style={{ display: (this.state.showTZZS ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11} label={<span><Checkbox value="a0108" /><span style={{ marginLeft: 5 }}>体质指数</span></span>}>
                                                {getFieldDecorator('a0108S', {
                                                    // initialValue: this.state.,
                                                })(
                                                   <Input placeholder='开始值' style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"208px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showTZZS ? "block" : "none") }}>
                                            <FormItem {...formItemLayout}>
                                                {getFieldDecorator('a0108SE', {
                                                    // initialValue: this.state.,
                                                })(
                                                    <Input placeholder='结束值' style={{ width: '140%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>
                                    <Row style={{ marginLeft: "10px" }}>
                                        <Col span={10} style={{ display: (this.state.showLNRJKZTZWPG ? "block" : "none") }}>
                                            <FormItem {...formItemLayoutXue} label={<span><Checkbox value="a1907" /><span style={{ marginLeft: 5 }}>老年人健康状态自我评估</span></span>}>
                                                {getFieldDecorator('a1907', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Select style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {selfSattusOption}</Select>

                                                )}
                                            </FormItem>
                                        </Col>

                                        <Col span={10} style={{ display: (this.state.showLNRZLNLZWPG ? "block" : "none") }}>
                                            <FormItem {...formItemLayoutXue} label={<span><Checkbox value="a19" /><span style={{ marginLeft: 5 }}>老年人自理能力自我评估</span></span>}>
                                                {getFieldDecorator('a19', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    // selfDoOption
                                                    <Select style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {selfDoOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>

                                </Row>
                            </Form>
                        </Card>
                        <Card id="shfs" style={{
                            marginTop: 5, display: (this.state.showDLPL
                                || this.state.showMCDLSJFZ
                                || this.state.showJCDLSJN
                                || this.state.showYSXG
                                || this.state.showXYZK
                                || this.state.showKSXYNL
                                || this.state.showJYNL
                                || this.state.showYJPL
                                || this.state.showSFJJ
                                || this.state.showJJNL
                                || this.state.showKSYJNL
                                || this.state.showYJZL
                                ? "block" : "none")
                        }}>
                            <p>
                                <span className="greenLine"></span><span>生活方式</span>
                            </p>
                            <Form>
                                <Row>
                                    <Row style={{ marginLeft: "10px" }}>
                                        <Col span={6} style={{ display: (this.state.showDLPL ? "block" : "none") }}>
                                            <FormItem {...formItem1911} label={<span><Checkbox value="a030101" /><span style={{ marginLeft: 5 }}>锻炼频率</span></span>}>
                                                {getFieldDecorator('a030101', {
                                                    // initialValue: this.state.name,a030101
                                                })(
                                                    <Select style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {playOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>

                                        <Col span={8} className="to-dom" style={{ display: (this.state.showMCDLSJFZ ? "block" : "none") }}>
                                            <FormItem {...formItem14} label={<span><Checkbox value="a030102" />
                                                <span style={{ marginLeft: 5 }}>每次锻炼时间(分钟)</span></span>}>
                                                {getFieldDecorator('a030102S', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"283px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showMCDLSJFZ ? "block" : "none") }}>
                                            <FormItem {...formItemSexLayout}>
                                                {getFieldDecorator('a030102SE', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <span><Input style={{ width: '96%' }} /></span>
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={6} style={{ display: (this.state.showYSXG ? "block" : "none") }}>
                                            <FormItem {...formItem1911} label={<span><Checkbox value="a0302" /><span style={{ marginLeft: 5 }}>饮食习惯</span></span>}>
                                                {getFieldDecorator('a0302', {
                                                    // initialValue: this.state.name,
                                                })(

                                                    <Select style={{ width: '172px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {plainOptionsOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>
                                    <Row style={{ marginLeft: "10px" }}>
                                        <Col span={6} style={{ display: (this.state.showXYZK ? "block" : "none") }}>
                                            <FormItem {...formItem1911} label={<span><Checkbox value="a030301" /><span style={{ marginLeft: 5 }}>吸烟状况</span></span>}>
                                                {getFieldDecorator('a030301', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Select style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {smokeStatusOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={8} className="to-dom" style={{ display: (this.state.showKSXYNL ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11} label={<span><Checkbox value="a030303" />
                                                <span style={{ marginLeft: 5 }}>开始吸烟年龄</span></span>}>
                                                {getFieldDecorator('a0303S', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"280px"}}>至</span>
                                        </Col>
                                        <Col span={3} style={{ display: (this.state.showKSXYNL ? "block" : "none") }}>
                                            <FormItem {...formItemSexLayout}>
                                                {getFieldDecorator('a0303SE', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <span><Input style={{ width: '96%' }} /></span>
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={5} className="to-dom" style={{ display: (this.state.showJYNL ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11} label={<span><Checkbox value="a030304" />
                                                <span style={{ marginLeft: 5 }}>戒烟年龄</span></span>}>
                                                {getFieldDecorator('a030304S', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"172px"}}>至</span>
                                        </Col>

                                        <Col span={2} style={{ display: (this.state.showJYNL ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11}>
                                                {getFieldDecorator('a030304SE', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '164%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>
                                    <Row style={{ marginLeft: "10px" }}>
                                        <Col span={6}  style={{ display: (this.state.showYJPL ? "block" : "none") }}>
                                            <FormItem {...formItem1911} label={<span><Checkbox value="a030401" /><span style={{ marginLeft: 5 }}>饮酒频率</span></span>}>
                                                {getFieldDecorator('a030401', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Select style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {drinkStatusOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={8} className="to-dom" style={{ display: (this.state.showKSYJNL ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11} label={<span><Checkbox value="a030405" />
                                                <span style={{ marginLeft: 5 }}>开始饮酒年龄</span></span>}>
                                                {getFieldDecorator('a030405S', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"280px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showKSYJNL ? "block" : "none") }}>
                                            <FormItem {...formItemSexLayout}>
                                                {getFieldDecorator('a030405SE', {
                                                    // initialValue: this.state.name,
                                                })(
                                                  <Input style={{ width: '96%' }} />
                                                )}
                                            </FormItem>
                                        </Col>

                                        <Col span={5} className="to-dom" style={{ display: (this.state.showJJNL ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11} label={<span><Checkbox value="a030404" />
                                                <span style={{ marginLeft: 5 }}>戒酒年龄</span></span>}>
                                                {getFieldDecorator('a030404S', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"172px"}}>至</span>
                                        </Col>

                                        <Col span={2} style={{ display: (this.state.showJJNL ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout11}>
                                                {getFieldDecorator('a030404SE', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '164%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>
                                    <Row style={{ marginLeft: "10PX" }}>

                                        <Col span={6} style={{ display: (this.state.showYJZL ? "block" : "none") }}>
                                            <FormItem {...formItem1911} label={<span><Checkbox value="a030407" /><span style={{ marginLeft: 5 }}>饮酒种类</span></span>}>
                                                {getFieldDecorator('a030407', {
                                                    // initialValue: this.state.name,
                                                })(

                                                    <Select
                                                        style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {LiquorOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={8}  className="to-dom"  style={{ display: (this.state.showJCDLSJN ? "block" : "none") }}>
                                            <FormItem {...formItemLeftLayout13} label={<span><Checkbox value="a030103" />
                                                <span style={{ marginLeft: 5 }}>坚持锻炼时间(年)</span></span>}>
                                                {getFieldDecorator('a030103S', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '80%' }} />
                                                )}
                                            </FormItem>
                                            <span className="obliqueLine to-span" style={{left:"283px"}}>至</span>
                                        </Col>

                                        <Col span={3} style={{ display: (this.state.showJCDLSJN ? "block" : "none") }}>
                                            <FormItem {...formItemSexLayout}>
                                                {getFieldDecorator('a030103SE', {
                                                    // initialValue: this.state.name,
                                                })(
                                                   <Input style={{ width: '96%' }} />
                                                )}
                                            </FormItem>
                                        </Col>
                                        <Col span={6} style={{ display: (this.state.showSFJJ ? "block" : "none") }}>
                                            <FormItem {...formItem1911} label={<span><Checkbox value="a030403" /><span style={{ marginLeft: 5 }}>是否戒酒</span></span>}>
                                                {getFieldDecorator('a030403', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Select style={{ width: '172px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                            || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        {drinkNoOption}</Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Row>
                                </Row>
                            </Form>
                        </Card>

                        <Card id="zqgn" style={{
                            marginTop: 5, display: (this.state.showKC
                                || this.state.showCL
                                || this.state.showYB
                                || this.state.showYDGN
                                || this.state.showTL
                                ? "block" : "none")
                        }}>
                            <p>
                                <span className="greenLine"></span><span>脏器功能</span>
                            </p>
                            <Row>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showKC ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a050101"
                                        /><span style={{ marginLeft: 5 }}>口唇</span></span>}>
                                            {getFieldDecorator('a050101', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a05010101' code="HR">红润</Option>
                                                    <Option value='a05010102' code="CB">苍白</Option>
                                                    <Option value='a05010103' code="FG">发绀</Option>
                                                    <Option value='a05010104' code="JL">皲裂</Option>
                                                    <Option value='a05010105' code="ZB">疱疹</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Col span={4} style={{ display: (this.state.showCL ? "block" : "none") }}>
                                    <Form>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a050102"
                                        /><span style={{ marginLeft: 5 }}>齿列</span></span>}>
                                            {getFieldDecorator('a050102', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a05010201' code="ZC">正常</Option>
                                                    <Option value='a05010202' code="QC">缺齿</Option>
                                                    <Option value='a05010203' code="YC">龋齿</Option>
                                                    <Option value='a05010204' code="YC">义齿（假牙）</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Form>
                                </Col>
                                <Col span={5} style={{ display: (this.state.showYB ? "block" : "none") }}>
                                    <Form>
                                        <FormItem {...formItemLayout} label={<span><Checkbox
                                            value="a050103"
                                        /><span style={{ marginLeft: 5 }}>咽部</span></span>}>
                                            {getFieldDecorator('a050103', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a05010301' code="WCX">无充血</Option>
                                                    <Option value='a05010302' code="CX">充血</Option>
                                                    <Option value='a05010303' code="LBLPZS">淋巴滤泡增生</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Form>
                                </Col>
                                <Col span={5} style={{ display: (this.state.showTL ? "block" : "none") }}>
                                    <Form>
                                        <FormItem {...formItemLayout} label={<span><Checkbox
                                            value="a0502"
                                        /><span style={{ marginLeft: 5 }}>听力</span></span>}>
                                            {getFieldDecorator('a0502', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a050201' code="TJ">听见</Option>
                                                    <Option value='a050202' code="TBQHWFTJ">听不清或无法听见</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Form>
                                </Col>
                                <Col span={6} style={{ display: (this.state.showYDGN ? "block" : "none") }}>
                                    <Form>
                                        <FormItem {...formItem915} label={<span><Checkbox
                                            value="a0503"
                                        /><span style={{ marginLeft: 5 }}>运动功能</span></span>}>
                                            {getFieldDecorator('a0503', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a050301' code="KSLWC">可顺利完成</Option>
                                                    <Option value='a050302' code="WFDLWCQZRHYGDZ">无法独立完成其中任何一个动作</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Form>
                                </Col>
                            </Row>
                        </Card>

                        <Card id="ct" style={{
                            marginTop: 5, display: (this.state.showPF
                                || this.state.showGM
                                || this.state.showLBJ
                                || this.state.showTZX
                                || this.state.showLY
                                || this.state.showXL
                                || this.state.showZY
                                || this.state.showYT
                                || this.state.showBK
                                || this.state.showGD
                                || this.state.showPD
                                || this.state.showYDXZY
                                || this.state.showXZSZ
                                ? "block" : "none")
                        }}>
                            <p>
                                <span className="greenLine"></span><span>查体</span>
                            </p>

                            <Row>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showPF ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a0601" /><span style={{ marginLeft: 5 }}>皮肤</span></span>}>
                                            {getFieldDecorator('a0601', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a060101' code="ZC">正常</Option>
                                                    <Option value='a060102' code="CH">潮红</Option>
                                                    <Option value='a060103' code="CB">苍白</Option>
                                                    <Option value='a060104' code="FG">发绀</Option>
                                                    <Option value='a060105' code="HR">黄染</Option>
                                                    <Option value='a060106' code="SSCZ">色素沉着</Option>
                                                    <Option value='a060107' code="QT">其他</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showGM ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a0602"
                                        /><span style={{ marginLeft: 5 }}>巩膜</span></span>}>
                                            {getFieldDecorator('a0602', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a060201' code="ZC">正常</Option>
                                                    <Option value='a060202' code="HR">黄染</Option>
                                                    <Option value='a060203' code="CX">充血</Option>
                                                    <Option value='a060204' code="QT">其他</Option>
                                                </Select>
                                            )}
                                        </FormItem>

                                    </Col></Form> <Form>
                                    <Form>
                                        <Col span={5} style={{ display: (this.state.showLY ? "block" : "none") }}>
                                            <FormItem {...formItemLayout} label={<span><Checkbox
                                                value="a060403"
                                            /><span style={{ marginLeft: 5 }}>罗音</span></span>}>
                                                {getFieldDecorator('a060403', {
                                                    // initialValue: this.state.name,
                                                })(
                                                    <Select
                                                        // style={{ width: '152px' }}
                                                        getPopupContainer={triggerNode => triggerNode.parentNode}
                                                        allowClear
                                                        showSearch
                                                        filterOption={(input, option) =>
                                                            option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                    >
                                                        <Option value='a06040301' code="W">无</Option>
                                                        <Option value='a06040302' code="GLY">干罗音</Option>
                                                        <Option value='a06040303' code="SLY">湿罗音</Option>
                                                        <Option value='a06040304' code="QT">其他</Option>
                                                    </Select>
                                                )}
                                            </FormItem>
                                        </Col>
                                    </Form>
                                    <Col span={5} style={{ display: (this.state.showLBJ ? "block" : "none") }}>

                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a0603"
                                        /><span style={{ marginLeft: 5 }}>淋巴结</span></span>}>
                                            {getFieldDecorator('a0603', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a060301' code="WCJ">未触及</Option>
                                                    <Option value='a060302' code="SGS">锁骨上</Option>
                                                    <Option value='a060303' code="YW">腋窝</Option>
                                                    <Option value='a060304' code="QT">其他</Option>
                                                </Select>
                                            )}
                                        </FormItem>

                                    </Col>
                                </Form>
                                <Form>
                                    <Col span={6} style={{ display: (this.state.showTZX ? "block" : "none") }}>

                                        <FormItem {...formItem816} label={<span><Checkbox
                                            value="a060401"
                                        /><span style={{ marginLeft: 5 }}>桶状胸</span></span>}>
                                            {getFieldDecorator('a060401', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06040102' code="S">是</Option>
                                                    <Option value='a06040101' code="F">否</Option>
                                                </Select>
                                            )}
                                        </FormItem>

                                    </Col></Form>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showHYY ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a060402"
                                        /><span style={{ marginLeft: 5 }}>呼吸音</span></span>}>
                                            {getFieldDecorator('a060402', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06040201' code="ZC">正常</Option>
                                                    <Option value='a06040202' code="YC">异常</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>

                            </Row>
                            <Row>
                                <div style={{
                                    borderBottom: '1px solid #e8e8e8', display: (
                                        this.state.showXL
                                            || this.state.showZY
                                            ? "block" : "none")
                                }}>心脏</div>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showXL ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a06050102"
                                        /><span style={{ marginLeft: 5 }}>心率</span></span>}>
                                            {getFieldDecorator('a06050102', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a0605010201' code="Q">齐</Option>
                                                    <Option value='a0605010202' code="BQ">不齐</Option>
                                                    <Option value='a0605010203' code="JDBQ">绝对不齐</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showZY ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a060502"
                                        /><span style={{ marginLeft: 5 }}>杂音</span></span>}>
                                            {getFieldDecorator('a060502', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06050201' code="W">无</Option>
                                                    <Option value='a06050202' code="Y">有</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                            </Row>
                            <Row>
                                <div style={{
                                    borderBottom: '1px solid #e8e8e8', display: (
                                        this.state.showYT
                                            || this.state.showBK
                                            || this.state.showGD
                                            || this.state.showPD
                                            || this.state.showYDXZY
                                            || this.state.showXZSZ
                                            ? "block" : "none")
                                }}>腹部</div>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showYT ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a060601"
                                        /><span style={{ marginLeft: 5 }}>压痛</span></span>}>
                                            {getFieldDecorator('a060601', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06060101' code="W">无</Option>
                                                    <Option value='a06060102' code="Y">有</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Form>
                                    <Col span={4} style={{ display: (this.state.showBK ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span><Checkbox
                                            value="a060602"
                                        /><span style={{ marginLeft: 5 }}>包块</span></span>}>
                                            {getFieldDecorator('a060602', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06060201' code="W">无</Option>
                                                    <Option value='a06060202' code="Y">有</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Form>  <Col span={5} style={{ display: (this.state.showGD ? "block" : "none") }}>
                                    <FormItem {...formItemLayout} label={<span><Checkbox
                                        value="a060603"
                                    /><span style={{ marginLeft: 5 }}>肝大</span></span>}>
                                        {getFieldDecorator('a060603', {
                                            // initialValue: this.state.name,
                                        })(
                                            <Select
                                                // style={{ width: '152px' }}
                                                getPopupContainer={triggerNode => triggerNode.parentNode}
                                                allowClear
                                                showSearch
                                                filterOption={(input, option) =>
                                                    option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                            >
                                                <Option value='a06060301' code="W">无</Option>
                                                <Option value='a06060302' code="Y">有</Option>
                                            </Select>
                                        )}
                                    </FormItem>
                                </Col></Form>
                                <Form>
                                    <Col span={5} style={{ display: (this.state.showPD ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span><Checkbox
                                            value="a060604"
                                        /><span style={{ marginLeft: 5 }}>脾大</span></span>}>
                                            {getFieldDecorator('a060604', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06060401' code="W">无</Option>
                                                    <Option value='a06060402' code="Y">有</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Form>
                                    <Col span={6} style={{ display: (this.state.showXZSZ ? "block" : "none") }}>
                                        <FormItem {...formItem915} label={<span><Checkbox
                                            value="a0607"
                                        /><span style={{ marginLeft: 5 }}>下肢水肿</span></span>}>
                                            {getFieldDecorator('a0607', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '152px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a060701' code="W">无</Option>
                                                    <Option value='a060702' code="DC">单侧</Option>
                                                    <Option value='a060703' code="SCBDC">双侧不对称</Option>
                                                    <Option value='a060704' code="DCSC">双侧对称</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                                <Form>
                                    <Col span={9} style={{ display: (this.state.showYDXZY ? "block" : "none") }}>
                                        <FormItem {...formItem714} label={<span><Checkbox
                                            value="a060605"
                                        /><span>移动性浊音</span></span>}>
                                            {getFieldDecorator('a060605', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '114px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a06060501' code="W">无</Option>
                                                    <Option value='a06060502' code="Y">有</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Form>
                            </Row>

                        </Card>

                        <Card id="fzxjc" style={{
                            marginTop: 5, display: (this.state.showXHDB
                                || this.state.showBXB
                                || this.state.showXXB
                                || this.state.showQT
                                || this.state.showNDB
                                || this.state.showNT
                                || this.state.showNTT
                                || this.state.showNQX
                                || this.state.showKFXT
                                || this.state.showXDT
                                || this.state.showBC
                                || this.state.showXQGBZAM
                                || this.state.showXQGCZAM
                                || this.state.showZDHS
                                || this.state.showXQJG
                                || this.state.showXNSA
                                || this.state.showZDGC
                                || this.state.showGYSZ
                                || this.state.showXQDMDZDBDGC
                                || this.state.showXQGMDZDBDGC
                                ? "block" : "none")
                        }} >
                            <p>
                                <span className="greenLine"></span><span>辅助性检查</span>
                            </p>
                            <div style={{
                                borderBottom: '1px solid #e8e8e8', display: (this.state.showXHDB
                                    || this.state.showBXB
                                    || this.state.showXXB
                                    || this.state.showQT
                                    ? "block" : "none")
                            }}>血常规</div>
                            <Form>
                                <Row>
                                    <Col span={5} className="to-dom" style={{ display: (this.state.showXHDB ? "block" : "none") }}>
                                        <FormItem {...formItemLayoutXue} label={<span>
                                            <Checkbox value="a020201" /><span>血红蛋白</span></span>}>
                                            {getFieldDecorator('a020201S', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='开始值' style={{ width: '80%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"175px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXHDB ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020201SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '150%' }} />
                                            )}
                                        </FormItem>
                                    </Col>

                                    <Col span={5} className="to-dom" style={{ display: (this.state.showBXB ? "block" : "none") }}>
                                        <FormItem {...formItemLayoutXue} label={<span><Checkbox
                                            value="a020202"
                                        /><span style={{ marginLeft: 5 }}>白细胞</span></span>}>
                                            {getFieldDecorator('a020202S', {
                                                // initialValue: this.state.,
                                            })(
                                              <Input placeholder='开始值' style={{ width: '80%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"175px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showBXB ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020202SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '150%' }} />
                                            )}
                                        </FormItem>
                                    </Col>

                                    <Col span={5} className="to-dom" style={{ display: (this.state.showXXB ? "block" : "none") }}>
                                        <FormItem {...formItemLayoutXue} label={<span><Checkbox
                                            value="a020203"
                                        /><span style={{ marginLeft: 5 }}>血小板</span></span>}>
                                            {getFieldDecorator('a020203S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '80%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"175px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXXB ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020203SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '150%' }} />
                                            )}
                                        </FormItem>
                                    </Col>

                                    <Col span={5} style={{ display: (this.state.showQT ? "block" : "none") }}>
                                        <FormItem {...formItem914} label={<span>
                                            <Checkbox value="a020204" /><span style={{ marginLeft: 5 }}>其他</span></span>}>
                                            {getFieldDecorator('a020204', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Input style={{ width: "172%" }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                                <div style={{
                                    borderBottom: '1px solid #e8e8e8', borderTop: '1px solid #e8e8e8', display: (
                                        this.state.showBXB
                                            || this.state.showNDB
                                            || this.state.showNT
                                            || this.state.showNTT
                                            || this.state.showNQX
                                            || this.state.showKFXT
                                            || this.state.showXDT
                                            || this.state.showBC
                                            ? "block" : "none")
                                }}>尿常规</div>
                                <Row>
                                    <Col span={6} style={{ display: (this.state.showNDB ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span>
                                            <Checkbox value="a020301" /><span style={{ marginLeft: 5 }}>尿蛋白</span></span>}>
                                            {getFieldDecorator('a020301', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                // style={{ width: '114px' }}
                                                getPopupContainer={triggerNode => triggerNode.parentNode}
                                                allowClear
                                                showSearch
                                                filterOption={(input, option) =>
                                                    option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                            >
                                                <Option value='a02030102' code="J">+</Option>
                                                <Option value='a02030103' code="J">-</Option>
                                            </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={6} style={{ display: (this.state.showNT ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span>
                                            <Checkbox value="a020302" /><span style={{ marginLeft: 5 }}>尿糖</span></span>}>
                                            {getFieldDecorator('a020302', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                // style={{ width: '114px' }}
                                                getPopupContainer={triggerNode => triggerNode.parentNode}
                                                allowClear
                                                showSearch
                                                filterOption={(input, option) =>
                                                    option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                            >
                                                <Option value='a02030202' code="J">+</Option>
                                                <Option value='a02030203' code="J">-</Option>
                                            </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={6} style={{ display: (this.state.showNTT ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span>
                                            <Checkbox value="a020303" /><span style={{ marginLeft: 5 }}>尿酮体</span></span>}>
                                            {getFieldDecorator('a020303', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                // style={{ width: '114px' }}
                                                getPopupContainer={triggerNode => triggerNode.parentNode}
                                                allowClear
                                                showSearch
                                                filterOption={(input, option) =>
                                                    option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                            >
                                                <Option value='a02030302' code="J">+</Option>
                                                <Option value='a02030303' code="J">-</Option>
                                            </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={6} style={{ display: (this.state.showNQX ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span>
                                            <Checkbox value="a020304" /><span style={{ marginLeft: 5 }}>尿潜血</span></span>}>
                                            {getFieldDecorator('a020304', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                // style={{ width: '114px' }}
                                                getPopupContainer={triggerNode => triggerNode.parentNode}
                                                allowClear
                                                showSearch
                                                filterOption={(input, option) =>
                                                    option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                            >
                                                <Option value='a02030402' code="J">+</Option>
                                                <Option value='a02030403' code="J">-</Option>
                                            </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={6} style={{ display: (this.state.showQT ? "block" : "none") }}>
                                        <FormItem {...formItem617} label={<span>
                                            <Checkbox value="a020305" /><span style={{ marginLeft: 5 }}>其他</span></span>}>
                                            {getFieldDecorator('a020305', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Input />
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={6} className="to-dom" style={{ display: (this.state.showKFXT ? "block" : "none") }}>
                                        <FormItem {...formItemLeftLayout11} label={<span>
                                            <Checkbox value="a0204" />
                                            <span style={{ marginLeft: 5 }}>空腹血糖</span>
                                        </span>}>
                                            {getFieldDecorator('a0204S', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Input style={{ width: '80%' }} placeholder='开始值' />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"211px"}}>至</span>
                                    </Col>
                                    <Col span={3} style={{ display: (this.state.showKFXT ? "block" : "none") }}>
                                        <FormItem {...formItemSexLayout}>
                                            {getFieldDecorator('a0204SE', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Input style={{ width: '100%' }} placeholder='结束值' />
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={3} style={{ display: (this.state.showKFXT ? "block" : "none") }}>
                                        <FormItem {...formItemSexLayout}>
                                            {getFieldDecorator('a0204DW', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select style={{ width: '106px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a020401' code="mmol">mmol/L</Option>
                                                    <Option value='a020402' code="mg">mg/dL</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={6} style={{ display: (this.state.showXDT ? "block" : "none") }}>
                                        <FormItem {...formItemLayout} label={<span><Checkbox
                                            value="a0212"
                                        /><span style={{ marginLeft: 5 }}>心电图</span></span>}>
                                            {getFieldDecorator('a0212', {
                                                // initialValue: this.state.name,
                                            })(
                                                <Select
                                                    // style={{ width: '144px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a021201' code="ZC">正常</Option> 
                                                    <Option value='a021202' code="YC">异常</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                                <Row>
                                    <Col span={6} style={{ display: (this.state.showBC ? "block" : "none") }}>
                                        <FormItem {...formItem617} label={<span><Checkbox
                                            value="a0211"
                                        /><span style={{ marginLeft: 5 }}>B超</span></span>}>
                                            {getFieldDecorator('a0211', {
                                                // initialValue: this.state.name,
                                            })(

                                                <Select
                                                    // style={{ width: '144px' }}
                                                    getPopupContainer={triggerNode => triggerNode.parentNode}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    <Option value='a021101' code="ZC">正常</Option>
                                                    <Option value='a021102' code="YC">异常</Option>
                                                </Select>
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                                <div style={{
                                    borderBottom: '1px solid #e8e8e8', borderTop: '1px solid #e8e8e8', display: (
                                        this.state.showXQGBZAM
                                            || this.state.showXQGCZAM
                                            || this.state.showZDHS
                                            ? "block" : "none")
                                }}>肝功能</div>
                                <Row>
                                    <Col span={6} className="to-dom" style={{ display: (this.state.showXQGBZAM ? "block" : "none") }}>
                                        <FormItem {...formItem14} label={<span><Checkbox
                                            value="a020501"
                                        />
                                            <span style={{ marginLeft: 5 }}>血清谷丙转氨酶</span></span>}>
                                            {getFieldDecorator('a020501S', {
                                                // initialValue: this.state.name,
                                            })(
                                              <Input style={{ width: '74%' }} placeholder='开始值' />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"211px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXQGBZAM ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020501SE', {
                                                // initialValue: this.state.name,
                                            })(
                                               <Input style={{ width: '141%' }} placeholder='结束值' />
                                            )}
                                        </FormItem>
                                    </Col>

                                    <Col span={6} className="to-dom" style={{ display: (this.state.showXQGCZAM ? "block" : "none") }}>
                                        <FormItem {...formItem14} label={<span><Checkbox
                                            value="a020502"
                                        />
                                            <span style={{ marginLeft: 5 }}>血清谷草转氨酶</span></span>}>
                                            {getFieldDecorator('a020502S', {
                                                // initialValue: this.state.name,
                                            })(
                                               <Input style={{ width: '74%' }} placeholder='开始值' />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"210px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXQGCZAM ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020502SE', {
                                                // initialValue: this.state.name,
                                            })(
                                               <Input placeholder='结束值' style={{ width: '141%' }} />
                                            )}
                                        </FormItem>
                                    </Col>

                                    <Col span={5} className="to-dom" style={{ display: (this.state.showZDHS ? "block" : "none") }}>
                                        <FormItem {...formItemLayoutXue} label={<span><Checkbox
                                            value="a020503"
                                        /><span style={{ marginLeft: 5 }}>总胆红素</span></span>}>
                                            {getFieldDecorator('a020503S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"172px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showZDHS ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020503SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%' }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                                <div style={{
                                    borderBottom: '1px solid #e8e8e8', borderTop: '1px solid #e8e8e8', display: (
                                        this.state.showXQJG
                                            || this.state.showXNSA
                                            ? "block" : "none")
                                }}>肾功能</div>
                                <Row>
                                    <Col span={5} className="to-dom" style={{ display: (this.state.showXQJG ? "block" : "none") }}>
                                        <FormItem {...formItemLeftLayout11} label={<span><Checkbox
                                            value="a020601"
                                        /><span>血清肌酐</span></span>}>
                                            {getFieldDecorator('a020601S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"171px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXQJG ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020601SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%' }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={5} className="to-dom" style={{ display: (this.state.showXNSA ? "block" : "none") }}>
                                        <FormItem {...formItemLeftLayout11} label={<span><Checkbox
                                            value="a020602"
                                        /><span>血尿素氮</span></span>}>
                                            {getFieldDecorator('a020602S', {
                                                // initialValue: this.state.,
                                            })(
                                              <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"171px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXNSA ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020602SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%' }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>

                                <div style={{
                                    borderBottom: '1px solid #e8e8e8', borderTop: '1px solid #e8e8e8', display: (
                                        this.state.showZDGC
                                            || this.state.showGYSZ
                                            || this.state.showXQDMDZDBDGC
                                            || this.state.showXQGMDZDBDGC
                                            ? "block" : "none")
                                }}>血脂</div>
                                <Row>
                                    <Col span={5} className="to-dom" style={{ display: (this.state.showZDGC ? "block" : "none") }}>
                                        <FormItem {...formItemLeftLayout11} label={<span><Checkbox
                                            value="a020701"
                                        /><span>总胆固醇</span></span>}>
                                            {getFieldDecorator('a020701S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"171px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showZDGC ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020701SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%' }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={5} className="to-dom" style={{ display: (this.state.showGYSZ ? "block" : "none") }}>
                                        <FormItem {...formItemLeftLayout11} label={<span><Checkbox
                                            value="a020702"
                                        /><span>甘油三酯</span></span>}>
                                            {getFieldDecorator('a020702S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"171px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showGYSZ ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020702SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%' }} />
                                            )}
                                        </FormItem>
                                    </Col>

                                    <Col span={7} className="to-dom" style={{ display: (this.state.showXQDMDZDBDGC ? "block" : "none") }}>
                                        <FormItem {...formItemHertLayout} label={<span><Checkbox
                                            value="a020703"
                                        /><span>血清低密度脂蛋白胆固醇</span></span>}>
                                            {getFieldDecorator('a020703S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"250px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXQDMDZDBDGC ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020703SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%', }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                    <Col span={7} className="to-dom" style={{ display: (this.state.showXQGMDZDBDGC ? "block" : "none"), marginLeft: "3px" }}>
                                        <FormItem {...formItemHertLayout} label={<span><Checkbox
                                            value="a020704"
                                        /><span>血清高密度脂蛋白胆固醇</span></span>}>
                                            {getFieldDecorator('a020704S', {
                                                // initialValue: this.state.,
                                            })(
                                               <Input placeholder='开始值' style={{ width: '74%' }} />
                                            )}
                                        </FormItem>
                                        <span className="obliqueLine to-span" style={{left:"250px"}}>至</span>
                                    </Col>

                                    <Col span={2} style={{ display: (this.state.showXQGMDZDBDGC ? "block" : "none") }}>
                                        <FormItem {...formItemLayout}>
                                            {getFieldDecorator('a020704SE', {
                                                // initialValue: this.state.,
                                            })(
                                                <Input placeholder='结束值' style={{ width: '141%', }} />
                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                                {/* <Row>
                                
                            </Row> */}
                            </Form>
                        </Card>

                        <Card id="xczyjkwt" style={{
                            marginTop: 5, display: (this.state.showJBLX
                                ? "block" : "none")
                        }}>
                            <p>
                                <span className="greenLine"></span><span>现存主要健康问题</span>
                            </p>
                            <Form>
                                <Row>
                                    <Col span={9} style={{ display: (this.state.showJBLX ? "block" : "none") }}>
                                        <FormItem {...formItem614} label={<span><Checkbox
                                            value="a10"
                                        /><span>疾病类型</span></span>}>
                                            {getFieldDecorator('a10', {
                                                // initialValue: this.state.,
                                            })(
                                                <Cascader style={{ width: '106%' }}
                                                    options={this.state.diseaseType}
                                                    onChange={this.onChangeDisease.bind(this)}
                                                    changeOnSelect
                                                />


                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                            </Form>


                        </Card>

                        <Card id="fyycx" style={{
                            marginTop: 5, display: (this.state.showFYYCX
                                ? "block" : "none")
                        }}>
                            <p>
                                <span className="greenLine"></span><span>主要用药情况</span>
                            </p>
                            <Form>
                                <Row>
                                    <Col span={9} style={{ display: (this.state.showFYYCX ? "block" : "none") }}>
                                        <FormItem {...formItem714} label={<span><Checkbox
                                            value="a11"
                                        /><span>服药依从性</span></span>}>
                                            {getFieldDecorator('a11', {
                                                // initialValue: this.state.,
                                            })(
                                                <Select
                                                    // style={{ width: '230px' }}
                                                    allowClear
                                                    showSearch
                                                    filterOption={(input, option) =>
                                                        option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                        || option.props.code.toLowerCase().indexOf(input.toLowerCase()) >= 0
                                                        || option.props.name.toLowerCase().indexOf(input.toLowerCase()) >= 0}
                                                >
                                                    {useMedicineOption}</Select>

                                            )}
                                        </FormItem>
                                    </Col>
                                </Row>
                            </Form>

                        </Card>
                    </Checkbox.Group>
                </Card>

            </div>
        </div>
    }
}

export default Form.create()(ShowQueryAdvancedModal);