<!--  日常生活能力评估 -->
<template>
    <div class="patient-container">
        <patient-sidebar :id="patientID" defaultActive="5-4"></patient-sidebar>
        <div>
            <div class="patient-app-container advice-container app-container">
               
                <div class='content_top' style="width: 100%;margin-bottom: 20px;">
                    <div style="font-size: 20px;"> 日常生活能力评定(ADL评估)表</div>
                    <div>
                        <el-button>历史评分</el-button>
                    </div>
                </div>

                <div>
                    <table class="table" border="1" style="width: 100%;">
                        <thead>
                            <tr>
                                <th style="width: 150px;">项目</th>
                                <th colspan="4">分值</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="bg_color">
                                <td class="start">进食</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可独立进食(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需部分帮助(如协助夹菜等)(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需极大帮助或完全依赖他人(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>&nbsp;</td>
                            </tr>
            
                            <tr>
                                <td class="start">洗澡</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            准备好洗澡水后可独立完成(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            在洗澡过程中需他人帮助(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            
                            <tr class="bg_color">
                                <td class="start">修饰</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可自己独立完成(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需他人帮助(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            
                            <tr>
                                <td class="start">穿衣</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可独立完成(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需部分帮助(如协助系鞋带等)(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需极大帮助或完全依赖他人(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                            </tr>

                            <tr class="bg_color">
                                <td class="start">控制大便</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可控制大便(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            偶尔失禁(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            完全失禁(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                            </tr>
            
                            <tr>
                                <td class="start">控制小便</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可控制小便(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            偶尔失禁(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            完全失禁(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                            </tr>
                            
                            <tr class="bg_color">
                                <td class="start">如厕</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可独立完成(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需部分帮助(如协助整理衣裤等)(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需极大帮助或完全依赖他人(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                            </tr>
                            
                            <tr>
                                <td class="start">床椅转移</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可独立完成(15分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需部分帮助(1人协助))(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需极大帮助(2人协助)(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            完全依赖他人，不能坐(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                            </tr>

                            <tr class="bg_color">
                                <td class="start">平地行走</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可独立在平地上行走>45S，可用辅助工具(15分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需部分帮助(他人搀扶或使用辅助工具)(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需极大帮助(可坐轮椅自动移动))(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            完全依赖他人(0分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                            </tr>
                            
                            <tr>
                                <td class="start">上下楼梯</td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            可独立上下1层楼梯(可用辅助工具)(10分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需部分帮助(他人帮助)(5分)
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td>
                                    <div class="jiange">
                                      <span>
                                        <label><input type="checkbox" name="ball" value="volleyball" />&nbsp;
                                            需极大帮助或完全依赖他人(0分) 
                                        </label>
                                      </span>
                                    </div> 
                                </td>
                                <td></td>
                            </tr>
                        </tbody>
                    </table>
                </div>

                <div class="content_top" style="margin: 10px 0px;">
                    <div>
                        <div class="bottoms">
                        <span>总分:</span>
                        <el-input v-model="input" placeholder="请输入内容" style="width: 100px;"></el-input>分
                        </div>

                        <div class="bottoms">
                            <span>评估日期:</span>
                            <el-date-picker
                                v-model="value1"
                                type="date"
                                placeholder="选择日期"
                                :clearable="false"
                                style="width: 150px;">
                            </el-date-picker>
                        </div>

                        <div class="bottoms">
                            <span>评估人:</span>
                            <el-select v-model="value" placeholder="请选择" >
                                <el-option
                                v-for="item in options"
                                :key="item.value"
                                :label="item.label"
                                :value="item.value"
                                style="width:150px;">
                                </el-option>
                            </el-select>
                        </div>
                        
                    </div>
                    <div style="margin:5px 10px;">
                            <el-button type="primary">确认</el-button>
                    </div>
                </div>
                <hr style="border:none;height:1px;background:#DCDFE6;"/>
                <div class="shuoming">
                    <p>说明：</p>
                    <p>一级 无需依赖 100分</p>
                    <p>二级 轻度依赖 61-99分</p>
                    <p>三级 中度依赖 41-60分</p>
                    <p>四级 重度依赖 ≤40分</p>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
import PatientSidebar from '../components/PatientSidebar.vue'
export default {
    components:{
      PatientSidebar
    },
    data(){
        return{
            patientID:0,
            value:'',
            options:[],
        }
    }
}
</script>
<style lang="scss" scoped>
    .content_top{
      display: flex;
      justify-content: space-between; 
    }
    .table{
        border: 1px solid #DCDFE6;
        border-collapse:collapse;
        border-spacing: 0;
        thead th{
            background: #0077ff9f;
            color: white;
            text-align: center;
            height: 40px;
        }
        tbody td{
           height: 40px;
        }
        .start{
            text-align: center;
        }
        .bing{
            width: 150px;
            text-align: center;
        }
        .bg_color{
            background: rgb(243, 240, 240);
        }
        .jiange{
            margin-left: 20px;
            color: black;
        }
        input{
            -webkit-appearance: checkbox;
        }
    }
    .bottoms{
        display: inline-block;
        margin-left: 10px;
        margin-top: 5px; 
    }
    .shuoming p{
      margin-top: 5px;
      color: rgb(167, 165, 165);
    }
</style>