<!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 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 class="data flex-box" v-for="(dat, index) in patientlist">
                    <div class="dataa">
                        <div class="quote"></div>
                        <div class="dataatop">
                            <div class="dac flex-box">
                                <p>
                               <img :src="setImgSrc(dat.patientPhoto)" width="40" height="40" class="c-images-cycle" />

                                </p>
                                <div class="xinxi">
                                    <div class="xinxitop flex-box">
                                            <p><span style="color:#333333;">{{dat.patientName}}</span>&#x3000;({{dat.sex}}{{dat.age}}岁)
                                                </p>
                                                <p class="biaoqian">
                                                    <span></span>康复期
                                                </p>
                                    </div>
                                  
                                    <p>{{dat.hospital}}</p>
                                </div>


                            </div>

                            <div class="dataabom">
                                <p>疾病类型:</p>
                                <p v-for="(data1, index) in dat.diseaseList" class="inline-block">{{data1}}</p>
                            </div>
                        </div>


                    </div>
                    <div class="datab flex-box">
                        <div class="doc fdoctor">
                            <div class="fdt flex-box">
                                <img src="../../../images/moren_yishengqun_img .jpg" width="40" height="40" class="c-images-cycle">
                                <div class="miaoshu cgre">
                                    <p>
                                        <span>家庭医生</span>&nbsp;{{dat.signFamilyAdminTeamName}}</p>
                                    <p class="mt10">{{dat.familyHospitalName}}</p>

                                </div>
                            </div>
                            <div class="fdb flex-box">
                                <p>完成项目
                                    <span>{{dat.signFamilyFinishItemCount}}</span>
                                </p>
                                <p>服务记录
                                    <span>{{dat.signFamilyServiceRecordCount}}</span>
                                </p>

                            </div>
                        </div>
                        <div class="doc sdoctor">
                            <div class="fdt flex-box">
                                <img src="../../../images/moren_yishengqun_img .jpg" width="40" height="40" class="c-images-cycle">
                                <div class="miaoshu cgre">
                                    <p>
                                        <span>专科医生</span>&nbsp;{{dat.specialistAdminTeamName}}</p>
                                    <p class="mt10">{{dat.specialistHospitalName}}</p>

                                </div>
                            </div>
                            <div class="fdb flex-box">
                                <p>完成项目
                                    <span>{{dat.specialistFinishItemCount}}</span>
                                </p>
                                <p>服务记录
                                    <span>{{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 flex-box" v-for="(data, index) in tablelist">
                    <div class="detaila flex-box">
                        <div class="quote2"></div>
                        {{data.planTypeName}}
                    </div>
                    <div class="detailb flex-box">
                        <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" lay-percent="">
                            </div>
                        </div> -->
                        <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 flex-box">
                        <p class="cred">今日项目:
                            <span>{{data.todayBacklogCount}}</span>
                        </p>
                        <p class="cgre">已完成:
                            <span>{{data.finishedCount}}</span>
                        </p>
                        <p class="cgre">未完成:
                            <span>{{data.unfinishedCount}}</span>
                        </p>
                    </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>

    <script type="text/javascript" src="../../../js/vue.js"></script>
    <script type="text/javascript" src="../../../js/jquery-2.2.4.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>