<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>康复管理</title>
    <link rel="shortcut icon" href="../../../favicon.ico">
    <link rel="stylesheet" href="../../../css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/cross.ui.css" />
    <link rel="stylesheet" href="../../../plugins/layui-v2.3.0/layui/css/layui.css">
    <link rel="stylesheet" href="../../../css//bootstrap.min.css">
    <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/moreplan.css">

</head>

<body>
    <div id="app" v-cloak>
        <div class="re-title no-select">
            <div class="name">康复管理</div>
        </div>
        <header-tab :appname="appname" :isback="isback" :isrefresh="isrefresh"></header-tab>
        <div class="neirong2">
            <ul class="c-blocks-3">
                <li>患者信息</li>
                <li>医生及计划信息</li>
                <li>操作</li>
            </ul>
            <!-- henfu -->
            <div class="henfu">
                <div v-for="(dat, index) in patientlist">
                    <div class="data ui-grid ui-grid-middle">
                        <div class="quote"></div>
                        <div class="ui-col-0">
                            <div class="dac ui-grid ui-grid-middle">
                                <div class="mr20"><img :src="setImgSrc(dat.patientPhoto)" @click="checkPatient()" width="40" height="40" class="c-images-cycle" /></div>
                                <div class="ui-col-1 xinxi">
                                    <p><span style="color:#333333;">{{dat.patientName}}</span>&#x3000;({{dat.sex}}{{dat.age}}岁)</p>
                                    <p>{{dat.hospital}}</p>
                                </div>
                                <div class="biaoqian ui-col-0" :id="'quote_'+dat.patientCode">
                                    <span class="span1"></span><span>{{dat.healthyCondition}}</span>
                                </div>
                            </div>
                            <div class="dataabom mt5">
                                <p>疾病类型:</p>
                                <p v-for="(data1, index) in dat.diseaseList" class="inline-block">{{data1}}</p>
                            </div>
                        </div>
                        <div class="ui-col-1 ui-grid">
                            <div class="doc fdoctor">
                                <div class="ui-grid ui-grid-middle">
                                    <div class="mr10">
                                        <img src="../../../images/moren_yishengqun_img .jpg" width="40" height="40" class="c-images-cycle">
                                    </div>
                                    <div class="ui-col-1 miaoshu cgre">
                                        <p><span>家庭医生</span>&nbsp;{{dat.signFamilyAdminTeamName}}</p>
                                        <p class="mt5">{{dat.familyHospitalName}}</p>
                                    </div>
                                </div>
                                <div class="ui-grid ui-grid-middle c-t-left">
                                    <p class="ui-col-1 c-border-r">完成项目<span class="strong-num">{{dat.signFamilyFinishItemCount}}</span></p>
                                    <p class="ui-col-1 pl10">服务记录<span class="strong-num">{{dat.signFamilyServiceRecordCount}}</span></p>
                                </div>
                            </div>
                            <div class="doc sdoctor">
                                <div class="ui-grid ui-grid-middle">
                                    <div class="mr10">
                                        <img src="../../../images/moren_yishengqun_img .jpg" width="40" height="40" class="c-images-cycle">
                                    </div>
                                    <div class="ui-col-1 miaoshu cgre">
                                        <p><span>专科医生</span>&nbsp;{{dat.specialistAdminTeamName}}</p>
                                        <p class="mt5">{{dat.specialistHospitalName}}</p>
                                    </div>
                                </div>
                                <div class="ui-grid ui-grid-middle c-t-left">
                                    <p class="ui-col-1 c-border-r">完成项目<span class="strong-num">{{dat.specialistFinishItemCount}}</span></p>
                                    <p class="ui-col-1 pl10">服务记录<span class="strong-num">{{dat.specialistServiceRecordCount}}</span></p>
                                </div>
                            </div>
                        </div>
                        <div class="datad flex-box">
                            <button class="falsebutton" @click=noOpen()>健康指导</button>
                            <button class="falsebutton" @click=noOpen()>随访</button>
                            <button class="falsebutton" @click=noOpen()>复诊预约</button>
                        </div>
                    </div>
                   <!-- 细节点 -->
                    <div class="detail ui-grid ui-grid-middle" v-for="(data, index) in dat.rehabilitationPlanList">
                        <div class="quote2"></div>
                        <div class="" style="width:120px;text-align: center;">{{data.planTypeName}}</div>
                        <div class="detailb ui-col-1 flex-box mr30">
                            <span class="cblue" :id="'span_font'+data.planId">进行中</span>
                            <div class="layui-progress layui-progress-big" :lay-filter="data.planId" lay-showpercent="true">
                                    <div class="layui-progress-bar" :id="'progress_'+data.planId" lay-percent="">
                                    </div>
                            </div> 
                            <span class="cgre">{{data.allFinishCount}}/</span>
                            <span class="cgre">{{data.allCount}}</span>
                        </div>
                        <div class="detailc ui-col-1 flex-box mr30">
                            <div class="cred mr30">今日:
                                <span>{{data.todayBacklogCount}}</span>
                            </div>
                            <div class="cgre mr30">已完成:
                                <span>{{data.finishedCount}}</span>
                            </div>
                            <div class="cgre mr30">未完成:
                                <span>{{data.unfinishedCount}}</span>
                            </div>
                        </div>
                        <div class="detaild">
                            <!-- <a href="javascript: void(0)" @click="checkPatient()">查看患者</a> -->
                            <a href="javascript: void(0)" @click="checkPlan(data)">查看计划</a>
                            <a href="javascript: void(0)"  @click="stop(data)" :id="'stopBtn_'+data.planId">中止计划</a>
                        </div>
                    </div>
                </div>
               
            </div>

        </div>
    </div>

    <script type="text/javascript" src="../../../js/vue.js"></script>
    <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
    <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../plugins/toastr/toastr.min.js"></script>
    <script type="text/javascript" src="../../../js/cross.ui.js"></script>
    <script src="../../../js/underscore.js"></script>
    <script src="../../../js/util.js"></script>
    <script src="../../../plugins/layer/layer.min.js"></script>
    <script type="text/javascript" src="../../../plugins/layui-v2.3.0/layui/layui.js"></script>
    <script src="../../../api/http-request.js"></script>
    <script src="../../../api/healthy-control-api.js"></script>
    <script src="../../../component/common/event-bus.js"></script>
    <script src="../../../component/common/vuedals.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../../component/statistics/header-tab.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/moreplan.js"></script>
</body>

</html>