<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>续方管理</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico"> 
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="border-bottom overflow-h">
            <ul class="nav navbar-nav">
                <li class="n-tab active" data-val="0">
                    <a href="#">所有续方</a>
                </li>
                <li class="n-tab" data-val="1">
                    <a href="#">近一周</a>
                </li>
                <li class="n-tab" data-val="2">
                    <a href="#">近一月</a>
                </li>
                <li class="n-tab" data-val="3">
                    <a href="#">近半年</a>
                </li>
                <li class="n-tab" data-val="4">
                    <a href="#">近一年</a>
                </li>
            </ul>
        </div>
        <form role="form" class="form-inline ptb10" onsubmit="return false;">
            <div class="form-group mr10">
                <label for="presctiptionStatus">续方状态：</label>
                <select name="presctiptionStatus" id="presctiptionStatus" class="form-control input-sm">
                    <option value="">所有状态</option>
                </select>
            </div>
            <div class="form-group mr10">
                <label for="">诊断结果：</label>
                <select name="express" id="express" class="form-control input-sm">
                    <option value="">所有诊断</option>
                </select>
            </div>
			<div class="form-group">
                <label for="">续方搜索：</label>
                <input type="text" class="form-control input-sm" id="searchName" placeholder="可按申请居民搜索">
            </div>
            <div class="form-group ml5">
                <button type="button" class="btn btn-w-80 btn-sm bgc-12b7f5 c-fff" id="searchBtn">搜索</button>
            </div>
       </form>
        <table id="prescriptTable" data-mobile-responsive="true" class="table">
            <thead class="thead-inverse">
                <tr class="">
                    <th data-field="name" tabindex="0">居民姓名</th>
                    <th data-field="createTime" tabindex="0">申请时间</th>
                    <th data-field="result" tabindex="0">诊断结果</th>
                    <th data-field="drugs" tabindex="0">药品</th>
                    <th data-field="daysRemaining" tabindex="0">剩余药品可用天数</th>
                    <th data-field="statusName" tabindex="0">续方状态</th>
                    <th data-field="action" tabindex="0">操作</th>
                </tr>
            </thead>
            <tbody></tbody>
        </table>
    </div>

    <!-- Modal -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">
                    <img src="img/shezi_tankuang_icon.png" class="mr10">选择配送员
                </h4>
            </div>
            <div class="modal-body">
                <div class="mb10">
                    <input type="search" class="form-control input-sm" id="doctorName" placeholder="请输入健管师姓名">
                </div>
                <table id="hDoctor" data-mobile-responsive="true" data-show-header="false">
                    <thead class="thead-inverse">
                        <tr class="">
                            <th data-field="photo" tabindex="0">头像</th>
                            <th data-field="name" tabindex="0">姓名</th>
                            <th data-field="job" tabindex="0">职称</th>
                        </tr>
                    </thead>
                    <tbody></tbody>
                </table>
            </div>
        </div>
        </div>
    </div>
    <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog">
        <div class="modal-dialog modal-sm" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">
                        <img src="img/shezi_tankuang_icon.png" class="mr10"> 确认选择
                    </h4>
                </div>
                <div class="modal-body">
                    <p class="c-333 text-center">是否确认将<span class="c-12b7f5" id="orderCount"></span>个订单分配给 <span id="docInfo"></span >配送？</p>
                    <p class="c-333 text-center">确认后将不可变更！</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" id="confirmBtn">确定</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>

    <script type="text/html" id="state_tmpl">
        {{each list as it}}
        <option value="{{it.code}}">{{it.value}}</option>
        {{/each}}
    </script>

    <script type="text/html" id="express_tmpl">
        {{each list as it}}
        <option value="{{it.code}}">{{it.name}}</option>
        {{/each}}
    </script>

    <script type="text/html" id="address_tmpl">
        <option value="">所有地点</option>
        {{each list as it}}
        <option value="{{it.hospitalCode}}">{{it.hospitalName}}</option>
        {{/each}}
        <!-- <option value="">其他</option> -->
    </script>


    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/content.min.js?v=1.0.0"></script>
    <script src="js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
    <script src="js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
    <script src="js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <script src="js/plugins/toastr/toastr.min.js"></script>
    <script src="js/es6-promise.js"></script>
    <script src="js/underscore.js"></script>
    <script src="js/api-service.js"></script>
    <script src="js/management-api.js"></script>
    <script src="js/util.js"></script>
    <script src="js/template.js"></script>
    <script src="js/buz/prescription-management.js"></script>
</body>
</html>
