/*
 * Creator:     ML
 * CreatDate:   2020-04-08
 * descripts：  老年人生活自理能力评估表
 * */
import React from 'react';
import moment from 'moment';
import store from "store";
import { dayFormat } from 'tools/index';
import { Form, Col, Select, Icon, Tooltip, Button, Row, TimePicker, DatePicker, Radio, Input, message, Popconfirm } from 'antd';
import { $http } from 'containers/config/https';
//组件const
const Option = Select.Option;
const FormItem = Form.Item;
const padding = {
    padding: "0px"
}
const formItemLayout = { // label 和input宽度
    labelCol: { span: 3 },
    wrapperCol: { span: 20 }
}
const formItemLayoutPeo = {
    labelCol: { span: 6 },
    wrapperCol: { span: 18 }
}
const formItemLayoutDataForm = {
    labelCol: { span: 8 },
    wrapperCol: { span: 16 },
}
const formItemLayoutCenter = {
    labelCol: { span: 2 },
    wrapperCol: { span: 24 },
}
const formItemLayouts = {
    labelCol: { span: 3 },
    wrapperCol: { span: 24 }
}
const AssessmentSelfCareAbility = Form.create()(
    class AssessmentSelfCareAbility extends React.Component {
        constructor(props) {
            let userData = sessionStorage.getItem("userData") ? JSON.parse(sessionStorage.getItem("userData")) : {};
            let assessData = sessionStorage.getItem("assessData") ? JSON.parse(sessionStorage.getItem("assessData")) : {};
            super(props);
            var date = new Date();
            this.state = {
                userData,
                assessData,
                diseaseArr: [],
                diseaseSubArr: [],
                typeArr: [],
                StartDate: undefined,  // //开始日期
                EndDate: moment(date).format(dayFormat),  // //结束日期
                advicelogMessage: "",
                advicelogVisible: false,
                requid: this.props.requireds,
                requireds: true,
                isTransitionStart: true,
                assessItemCode: [],
                healthRecordID: "",
                doctor: "",
                delStatus: true,
                oneValue: "",
                oneScore: 0,
                twoValue: "",
                twoScore: 0,
                threeValue: "",
                threeScore: 0,
                fourValue: "",
                fourScore: 0,
                fiveValue: "",
                fiveScore: 0,
                inputValue: "",
                sixValue: 0,
                total: 0,
                noSave: false,
            };
        }

        componentWillReceiveProps(nextProps) {
            if (nextProps.doctorID != this.state.doctor) {
                if (nextProps.doctorID) {
                    this.handleGetData(nextProps.doctorID)
                    this.setState({
                        doctorID: nextProps.doctorID,
                        doctor: nextProps.doctorID
                    })
                }
            }
        }
        componentDidMount = () => {
            this.props.onSelf(this)
            this.props.updateList()
            const { userData } = this.state
            let data = {}
            data = {
                params: [{
                    hospID: userData && userData.hospID || "",
                }],
            }
            $http.post('urlS', this, {
                code: '03070033',
                data: data,
                success: function (res) {
                    if (+res.errorCode === 0) {
                        this.setState({
                            diseaseArr: res.result.data
                        })
                    }
                }
            })
            document.getElementById('self-conent').style.height = store.getState().tableHeight.y - 40 + 'px';
        }

        //日期
        onPanelChange = (n, v) => {
            if (!v) {
                if (n == 1) {
                    window.sessionStorage.setItem("noSave", true);
                    this.setState({
                        dateF: "",
                    })
                } else {
                    this.setState({
                        dateT: ""
                    })
                }
            } else {
                if (n == 1) {
                    window.sessionStorage.setItem("noSave", true);
                    this.setState({
                        dateF: moment(v).format("YYYY-MM-DD"),
                    })
                } else {
                    this.setState({
                        dateT: moment(v).format("YYYY-MM-DD"),
                    })
                }
            }

        }
        //展开/关闭起始时间
        handleOnOpenChangeStart = (status) => {
            if (!status) {
                this.setState({ isTransitionStart: true })
            } else {
                this.setState({ isTransitionStart: false })
            }
        }
        setValue = (id) => {
            this.setState({
                doctorID: id
            }, () => {
                this.handleGetData(id)
            })
        }
        //获取
        handleGetData = (id) => {
            const { assessData } = this.state
            let data = {}
            data = {
                params: [
                    {
                        healthRecordID: id || "",
                        assessmentCatCode: "a19"
                    }
                ],
            }
            $http.post('urlS', this, {
                code: '03070037',
                data: data,
                success: function (res) {
                    if (+res.errorCode === 0) {
                        this.props.form.resetFields();
                        if(res.result.doctorID){
                            this.setState({
                                healthDoctorID:res.result.doctorID
                            })
                        }
                        if (res.result.doctorID && res.result.father) {
                            this.setState({
                                collectTime: res.result.father[0].collectTime,
                            })
                            // debugger
                            this.props.form.setFieldsValue({ diseaseID: res.result.father[0].collectUserID, collectDate: moment(res.result.father[0].collectDate), });
                        } else {
                            //清空
                            this.clear()
                            this.setState({
                                delStatus: true
                            })
                        }
                        if (res.result.father[0].ID) {
                            this.setState({
                                delStatus: false
                            })
                        }
                        if (res.result.father[0].children) {
                            let data = res.result.father[0].children
                            this.setState({
                                oneValue: data.a1901,
                                oneScore: Number(data.a1901note),
                                twoValue: data.a1902,
                                twoScore: Number(data.a1902note),
                                threeValue: data.a1903,
                                threeScore: Number(data.a1903note),
                                fourValue: data.a1904,
                                fourScore: Number(data.a1904note),
                                fiveValue: data.a1905,
                                fiveScore: Number(data.a1905note),
                                inputValue: data.a1906,
                                sixValue: data.a1907,
                                total: Number(res.result.father[0].assessmentCatScore)
                            })
                        }

                    } else {

                    }
                }
            })
        }
        clear = (d) => {
            this.setState({
                // oneValue: "a190101",
                // oneScore: 0,
                // twoValue: "a190201",
                // twoScore: 0,
                // threeValue: "a190301",
                // threeScore: 0,
                // fourValue: "a190401",
                // fourScore: 0,
                // fiveValue: "a190501",
                // fiveScore: 0,
                // inputValue: "",
                // sixValue: 0,
                // total: 0,
                collectTime: "",
                oneValue: "",
                oneScore: 0,
                twoValue: "",
                twoScore: 0,
                threeValue: "",
                threeScore: 0,
                fourValue: "",
                fourScore: 0,
                fiveValue: "",
                fiveScore: 0,
                inputValue: "",
                sixValue: 0,
                total: 0,
                // doctorID:""
            })
            this.props.form.resetFields();
            if (d) {
                this.setState({
                    delStatus: true,
                    doctorID: ""
                })
            }
        }
        //保存
        handleSave = () => {
            const { userData, assessData } = this.state
            // console.log("this.state.healthDoctorID ",this.state.healthDoctorID )
            this.props.form.validateFields((err, values) => {
                if (!err) {
                    let data = {}
                    data = {
                        params: [
                            {
                                doctorID: this.state.healthDoctorID || "",//体检记录责任医生 
                                locID: userData && userData.locID || "",
                                hospID: userData && userData.hospID || "",
                                patID: sessionStorage.getItem("patID") ? JSON.parse(sessionStorage.getItem("patID")) : "",
                                healthRecordID: this.state.doctorID || "",
                                assessCat: [
                                    {
                                        assessCatCode: "a19",
                                        score: this.state.total,
                                        collectDate: values.collectDate ? moment(values.collectDate).format('YYYY-MM-DD') : moment(moment()).format('YYYY-MM-DD'),
                                        collectTime: this.state.collectTime || moment(moment()).format('HH:mm:ss'),
                                        collectUserID: values.diseaseID || "",
                                        // identifyUserID: "",
                                        assessItem: [
                                            {
                                                assessItemCode: "a1901",
                                                assessItemValue: this.state.oneValue,
                                                assessNote: this.state.oneScore,
                                            },
                                            {
                                                assessItemCode: "a1902",
                                                assessItemValue: this.state.twoValue,
                                                assessNote: this.state.twoScore,
                                            }, {
                                                assessItemCode: "a1903",
                                                assessItemValue: this.state.threeValue,
                                                assessNote: this.state.threeScore,
                                            }, {
                                                assessItemCode: "a1904",
                                                assessItemValue: this.state.fourValue,
                                                assessNote: this.state.fourScore,
                                            }, {
                                                assessItemCode: "a1905",
                                                assessItemValue: this.state.fiveValue,
                                                assessNote: this.state.fiveScore,
                                            }, {
                                                assessItemCode: "a1906",
                                                assessItemValue: this.state.inputValue,
                                                assessNote: "",
                                            }, {
                                                assessItemCode: "a1907",
                                                assessItemValue: this.state.sixValue,
                                                assessNote: "",
                                            },
                                        ]
                                    }
                                ]
                            }
                        ],
                    }
                    $http.post('urlS', this, {
                        code: '03070035',
                        data: data,
                        success: function (res) {
                            if (+res.errorCode === 0) {
                                // if (this.state.doctorID && this.state.doctorID) {
                                //     message.success("更新成功")
                                // } else {
                                //     message.success("保存成功")
                                // }
                                this.setState({
                                    delStatus: false
                                })
                                window.sessionStorage.setItem("healthRecordID", res.result.healthRecordID);
                                window.sessionStorage.setItem("noSave", false);
                                if (!this.state.doctorID) {

                                }
                                this.props.updateList()
                                this.props.getPress()
                                message.success("保存成功")
                                this.handleGetData(res.result.healthRecordID)

                            } else {

                            }
                        }
                    })
                }
            })

        }
        handleTotal = () => {
            let total = 0
            total = (this.state.oneScore || 0) + (this.state.twoScore || 0) + (this.state.threeScore || 0) + (this.state.fourScore || 0) + (this.state.fiveScore || 0)
            this.setState({
                total,
            })
        }
        //单选
        handleChange = (e, name, v) => {
            if (e.target) {
                if (name) {
                    if (this.state[name + "Value"] !== e.target.value) {
                        window.sessionStorage.setItem("noSave", true);
                    } else {
                        window.sessionStorage.setItem("noSave", false);
                    }
                    this.setState({
                        [name + "Value"]: e.target.value,
                        [name + "Score"]: e.target.score,
                    }, () => {
                        this.handleTotal()

                    });
                }
            }
        };
        //输入
        handleInput = (e) => {
            if (e.target) {
                window.sessionStorage.setItem("noSave", true);
                this.setState({
                    inputValue: e.target.value,
                })
            }
        }
        del = () => {
            const { userData } = this.state
            let data = {}
            data = {
                params: [{
                    userID: userData && userData.userID || "",
                    healthRecordID: this.state.doctorID,
                    assessCatCode: "a19"
                }],
            }
            $http.post('urlS', this, {
                code: '03070081',
                data: data,
                success: function (res) {
                    if (+res.errorCode === 0) {
                        message.success("删除成功")
                        window.sessionStorage.setItem("noSave", false);
                        this.clear()
                        this.props.getPress()
                        this.setState({
                            delStatus: true
                        })
                    }
                }
            })
        }
        handleRadio = (e, ) => {
            let tag = e.target;
            let arr = tag.id.split("^")
            if (tag.value) {
                if (tag.type === 'radio' && arr[0].toString() === tag.value.toString()) {
                    this.setState({
                        [arr[1]]: '',
                        [arr[2]]: 0,
                    }, () => {
                        this.handleTotal()
                    });
                }
            }
        }
        render() {
            const { getFieldDecorator } = this.props.form;
            const { diseaseArr, diseaseSubArr, userData, assessData } = this.state;
            //疾病
            let diseaseOp = []
            diseaseArr && diseaseArr.map(item => {
                diseaseOp.push(<Option key={item.id} title={item.descripts} onClick={() => window.sessionStorage.setItem("noSave", true)} role={item.descripts + '^' + item.descriptsSPCode} value={String(item.id)}>{item.descripts}</Option>)
            })
            return (
                <div className="assess-dom">
                    <Row style={{ textAlign: "center" }}>
                        <h2>老年人生活自理能力评估表</h2>
                    </Row>
                    <Row style={{ color: "#bfbfbf", marginBottom: "12px" }}>
                        该表为自评表，根据下表中5个方面进行评估，将各方面判断评分汇总后，0~3分者为可自理；4~8分者为轻度依赖；9~18分者为中度依赖；>=19分者为不能自理
                    </Row>
                    <Row style={{ position: "relative" }}>
                        <Form>
                            <Col span={4} className="starDataDom" style={{ padding: "0" }}>
                                <FormItem label='调查时间' {...formItemLayoutDataForm}>
                                    {getFieldDecorator('collectDate', {
                                        initialValue: moment(),
                                        rules: [{ required: false, message: '' }],
                                    })(
                                        <DatePicker onChange={(v) => this.onPanelChange(1, v)} style={{ width: '100%' }} placeholder={'调查日期'} disabledDate={(curDate) => {
                                            return curDate && curDate > moment().endOf('day');
                                        }} />
                                    )}
                                </FormItem>
                            </Col>
                            <Col span={2} style={{ paddingLeft: "5px", paddingRight: "0px", textAlign: "center" }}>
                                <Form.Item {...formItemLayoutCenter}>
                                    <Col>
                                        {getFieldDecorator('fraction', {
                                            initialValue: undefined,
                                        })(
                                            <div>
                                                <span>得分:</span><span style={{ color: "#096dd9", fontSize: "22px", margin: "0 6px" }}>{this.state.total || 0}</span>
                                            </div>
                                        )}
                                    </Col>
                                </Form.Item>
                            </Col>
                            <Col span={4} style={{ paddingLeft: "5px", paddingRight: "0px", textAlign: "left" }}>
                                <Form.Item {...formItemLayoutCenter}>
                                    <Col>
                                        {getFieldDecorator('selfStatus', {
                                            initialValue: undefined,
                                        })(
                                            <div>
                                                <span>评估结果:</span><span style={{ color: "#40a9ff", fontSize: "18px", margin: "0 6px" }}>{this.state.total <= 3 ? "可自理" : this.state.total <= 8 ? "轻度依赖" : this.state.total <= 18 ? "中度依赖" : this.state.total >= 19 ? "不能自理" : "待评估"}</span>
                                            </div>
                                        )}
                                    </Col>
                                </Form.Item>
                            </Col>
                            <Col span={5} style={padding} className="select-item">
                                <FormItem {...formItemLayoutPeo} label={this.props.locale && this.props.locale == 'EN' ? 'disease' : '采集人'} >
                                    {getFieldDecorator('diseaseID', {
                                        initialValue: this.state.userData && this.state.userData.userID || undefined,
                                        rules: [{ required: true, message: '请选择采集人' }]
                                    })(
                                        <Select
                                            style={{ width: "100%", textAlign: "left", }}
                                            showSearch={true}
                                            optionFilterProp="role"
                                        >
                                            {diseaseOp}
                                        </Select>
                                    )}
                                </FormItem>
                            </Col>
                            <Col span={2} style={{ paddingLeft: "0", position: "absolute", right: "96px" }}>
                                <FormItem  {...formItemLayout}>
                                    {getFieldDecorator('findData', {
                                        initialValue: undefined,
                                        rules: [{ required: false, message: '' }],
                                    })(
                                        <div style={{ display: "flex", marginTop: "4px" }}>
                                            <Popconfirm disabled={this.state.delStatus} title="删除不可恢复，你确定要删除吗?" onConfirm={() => this.del()} >
                                                <Button type="danger" style={{ color: this.state.delStatus ? "#bfbfbf" : "#ffff", cursor: this.state.delStatus ? "not-allowed" : "pointer", background: this.state.delStatus ? "#fff" : "#ff7875", border: this.state.delStatus ? "1px solid #bfbfbf" : "1px solid #ff7875" }}  >删除评估</Button>
                                            </Popconfirm>
                                            {/* <Button style={{ background: "#fff", color: "#1890ff", margin: "0 18px 0 18px" }} type="primary">打印</Button> */}
                                            {/* <Button onClick={this.handleSave} type="primary">{this.state.doctorID && this.state.doctorID ? "更新" : "保存"}</Button> */}
                                            <Button style={{ margin: "0 18px 0 18px" }} onClick={this.handleSave} type="primary">保存</Button>
                                        </div>
                                    )}
                                </FormItem>
                            </Col>
                        </Form>
                    </Row>
                    <div className="conent" id="self-conent" onClick={(e) => this.handleRadio(e)}>
                        <Row>
                            <p>
                                1、进餐：使用餐具将饭菜送入口、咀嚼、吞咽等活动
                        </p>

                            <Radio.Group onChange={(e) => this.handleChange(e, "one")} value={this.state.oneValue}>
                                <Radio value={"a190101"} id={this.state.oneValue + "^" + "oneValue" + "^" + "oneScore" + "^" + "a190101"} score={0} assessCatCode="aaa19" assessItemCode="a1901" assessItemValue="a190101">独立完成（可自理0分)</Radio>
                                <Radio value={"a190102"} id={this.state.oneValue + "^" + "oneValue" + "^" + "oneScore" + "^" + "a190102"} score={0} assessCatCode="aaa19" assessItemCode="a1901" assessItemValue="a190102">轻度依赖（0分)</Radio>
                                <Radio value={"a190103"} id={this.state.oneValue + "^" + "oneValue" + "^" + "oneScore" + "^" + "a190103"} score={3} assessCatCode="aaa19" assessItemCode="a1901" assessItemValue="a190103">需要协助，如切碎、搅拌食物等（中度依赖3分）</Radio>
                                <Radio value={"a190104"} id={this.state.oneValue + "^" + "oneValue" + "^" + "oneScore" + "^" + "a190104"} score={5} assessCatCode="aaa19" assessItemCode="a1901" assessItemValue="a190104">完全需要帮助（不能自理5分）</Radio>
                            </Radio.Group>

                            <b>{this.state.oneScore || 0}分</b>
                        </Row>
                        <Row>
                            <p>
                                2、梳洗：梳头、洗脸、刷牙、剃须洗澡等活动
                        </p>
                            <Radio.Group onChange={(e) => this.handleChange(e, "two")} defaultValue="a190201" value={this.state.twoValue}>
                                <Radio value={"a190201"} id={this.state.twoValue + "^" + "twoValue" + "^" + "twoScore" + "^" + "a190201"} score={0} assessCatCode="aaa19" assessItemCode="a1902" assessItemValue="a190201">独立完成（可自理0分)</Radio>
                                <Radio value={"a190202"} id={this.state.twoValue + "^" + "twoValue" + "^" + "twoScore" + "^" + "a190202"} score={1} assessCatCode="aaa19" assessItemCode="a1902" assessItemValue="a190202">能独立地洗头、梳头、洗脸、刷牙、剃须等；洗澡需要协助（轻度依赖1分）</Radio>
                                <Radio value={"a190203"} id={this.state.twoValue + "^" + "twoValue" + "^" + "twoScore" + "^" + "a190203"} score={3} assessCatCode="aaa19" assessItemCode="a1902" assessItemValue="a190203">在协助下和适当的时间内，能完成部分梳洗活动（中度依赖3分）</Radio>
                                <Radio value={"a190204"} id={this.state.twoValue + "^" + "twoValue" + "^" + "twoScore" + "^" + "a190204"} score={7} assessCatCode="aaa19" assessItemCode="a1902" assessItemValue="a190204">完全需要帮助（不能自理7分）</Radio>
                            </Radio.Group>
                            <b>{this.state.twoScore || 0}分</b>
                        </Row>
                        <Row>
                            <p>
                                3、穿衣：穿衣裤、袜子、鞋子等活动
                        </p>
                            <Radio.Group onChange={(e) => this.handleChange(e, "three")} defaultValue="a190301" value={this.state.threeValue}>
                                <Radio value={"a190301"} id={this.state.threeValue + "^" + "threeValue" + "^" + "threeScore" + "^" + "a190201"} score={0} assessCatCode="aaa19" assessItemCode="a1903" assessItemValue="a190301">独立完成（可自理0分)</Radio>
                                <Radio value={"a190302"} id={this.state.threeValue + "^" + "threeValue" + "^" + "threeScore" + "^" + "a190302"} score={0} assessCatCode="aaa19" assessItemCode="a1903" assessItemValue="a190302">轻度依赖(0分)</Radio>
                                <Radio value={"a190303"} id={this.state.threeValue + "^" + "threeValue" + "^" + "threeScore" + "^" + "a190303"} score={3} assessCatCode="aaa19" assessItemCode="a1903" assessItemValue="a190303">需要协助，在适当的时间内完成部分穿衣（中度依赖3分）</Radio>
                                <Radio value={"a190304"} id={this.state.threeValue + "^" + "threeValue" + "^" + "threeScore" + "^" + "a190304"} score={5} assessCatCode="aaa19" assessItemCode="a1903" assessItemValue="a190304">完全需要帮助（不能自理5分）</Radio>
                            </Radio.Group>
                            <b>{this.state.threeScore || 0}分</b>
                        </Row>
                        <Row>
                            <p>
                                4、如厕：小便、大便等活动及自控
                        </p>
                            <Radio.Group onChange={(e) => this.handleChange(e, "four")} defaultValue="a190401" value={this.state.fourValue}>
                                <Radio value={"a190401"} id={this.state.fourValue + "^" + "fourValue" + "^" + "fourScore" + "^" + "a190201"} score={0} assessCatCode="aaa19" assessItemCode="a1904" assessItemValue="a190401">不需协助，可自控（可自理0分)</Radio>
                                <Radio value={"a190402"} id={this.state.fourValue + "^" + "fourValue" + "^" + "fourScore" + "^" + "a190402"} score={1} assessCatCode="aaa19" assessItemCode="a1904" assessItemValue="a190402">偶尔失禁，单基本上能如厕和使用便具（轻度依赖1分）</Radio>
                                <Radio value={"a190403"} id={this.state.fourValue + "^" + "fourValue" + "^" + "fourScore" + "^" + "a190403"} score={5} assessCatCode="aaa19" assessItemCode="a1904" assessItemValue="a190403">经常失禁，在很多提示和协助下尚能如厕和使用便具（中度依赖5分）</Radio>
                                <Radio value={"a190404"} id={this.state.fourValue + "^" + "fourValue" + "^" + "fourScore" + "^" + "a190404"} score={10} assessCatCode="aaa19" assessItemCode="a1904" assessItemValue="a190404">完全失禁，完全需要帮助（不能自理10分）</Radio>
                            </Radio.Group>
                            <b>{this.state.fourScore || 0}分</b>
                        </Row>
                        <Row>
                            <p>
                                5、活动：战立、室内行走、上下楼梯、户外活动
                        </p>
                            <Radio.Group onChange={(e) => this.handleChange(e, "five")} defaultValue="a190501" value={this.state.fiveValue}>
                                <Radio value={"a190501"} id={this.state.fiveValue + "^" + "fiveValue" + "^" + "fiveScore" + "^" + "a190501"} score={0} assessCatCode="aaa19" assessItemCode="a1905" assessItemValue="a190501">独立完成所有活动（可自理0分）</Radio>
                                <Radio value={"a190502"} id={this.state.fiveValue + "^" + "fiveValue" + "^" + "fiveScore" + "^" + "a19001"} score={1} assessCatCode="aaa19" assessItemCode="a1905" assessItemValue="a190502">借助较小的外力或辅助装置能完成站立、行走、上下楼梯灯（轻度依赖1分）</Radio>
                                <Radio value={"a190503"} id={this.state.fiveValue + "^" + "fiveValue" + "^" + "fiveScore" + "^" + "a10501"} score={5} assessCatCode="aaa19" assessItemCode="a1905" assessItemValue="a190503">借助较大的外力才能完成站立、行走，不能上下楼梯（中度依赖5分）</Radio>
                                <Radio value={"a190504"} id={this.state.fiveValue + "^" + "fiveValue" + "^" + "fiveScore" + "^" + "a19001"} score={10} assessCatCode="aaa19" assessItemCode="a1905" assessItemValue="a190504">卧床不起，活动完全需要帮助（不能自理10分）</Radio>
                            </Radio.Group>
                            <b>{this.state.fiveScore || 0}分</b>
                        </Row>
                        <Row>
                            <p style={{ display: "flex", alignItems: "center" }}>
                                6、您的特殊健康需求
                           <Input style={{ width: "86%", marginLeft: "8px" }} placeholder="请输入您的健康需求" value={this.state.inputValue} assessItemCode="a1906" assessNote={this.state.inputValue} onChange={(e) => this.handleInput(e)}></Input>
                            </p>
                        </Row>
                        <Row style={{ display: "flex", paddingBottom: "0" }}>
                            <p>
                                7、老年人健康状态自我评估
                        </p>
                            <Radio.Group onChange={(e) => this.handleChange(e, "six")} value={this.state.sixValue}>
                                <Radio value={"a190701"} id={this.state.sixValue + "^" + "sixValue" + "^" + "sixScore" + "^" + "a19001"} assessCatCode="aaa19" score={0} assessItemCode="a1907" assessItemValue="a190701">满意</Radio>
                                <Radio value={"a190702"} id={this.state.sixValue + "^" + "sixValue" + "^" + "sixScore" + "^" + "19001"} essCatCode="aaa19" score={0} assessItemCode="a1907" assessItemValue="a190702">基本满意</Radio>
                                <Radio value={"a190703"} id={this.state.sixValue + "^" + "sixValue" + "^" + "sixScore" + "^" + "190501"} essCatCode="aaa19" score={0} assessItemCode="a1907" assessItemValue="a190703">说不清楚</Radio>
                                <Radio value={"a190704"} id={this.state.sixValue + "^" + "sixValue" + "^" + "sixScore" + "^" + "a19501"} assessCatCode="aaa19" score={0} assessItemCode="a1907" assessItemValue="a190704">不太满意</Radio>
                                <Radio value={"a190705"} id={this.state.sixValue + "^" + "sixValue" + "^" + "sixScore" + "^" + "a19001"} assessCatCode="aaa19" score={0} assessItemCode="a1907" assessItemValue="a190705">不满意</Radio>
                            </Radio.Group>
                        </Row>
                    </div>
                </div>
            );
        }
    })
export default AssessmentSelfCareAbility
