<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SchedulingPlan.aspx.cs"
    Inherits="BeginScreen.SchedulingPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>手术排程</title>
    <style type="text/css">
        body {
            font-size: 16px !important;
        }

        html {
            font-size: 16px !important;
        }

        .btn {
            border-color: #fff !important;
        }
    </style>
    <script type="text/javascript" src="/js/jquery.js"></script>
    <link href="/css/bootstrap.min.css" rel="stylesheet" />
    <link href="/css/bootstrap.css" rel="stylesheet" />
    <script type="text/javascript" src="/js/bootstrap.min.js"></script>
    <link href="/css/bootstrap-select.min.css" rel="stylesheet" />
    <link href="/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script type="text/javascript" src="/js/bootstrap-select.min.js"></script>
    <script src="/js/bootstrap-datetimepicker.min.js"></script>
    <script src="/js/bootstrap-datetimepicker.js"></script>
    <script src="/js/bootstrap-datepicker.zh-CN.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#datetimepicker1').datetimepicker({
                format: 'yyyy-mm-dd',
                autoclose: true, //自动关闭
                minView: 2, //最精准的时间选择为日期0-分 1-时 2-日 3-月
                weekStart: 0,
                language: 'cn',
                autoclose: true, //选中自动关闭
                todayBtn: true//显示今日按钮
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 100%; height: 55px;">
          <%--  <div style="width: max-content; height: 35px; margin-left: 10px; float: left; margin-top: 10px;">
                <div style="float: left; line-height: 35px;">
                    <asp:Label ID="Label5" runat="server" Text="Label">手术室&nbsp;&nbsp;</asp:Label>
                </div>
                <div style="width: 150px; height: 36px; float: left; border: 1px solid #ccc; border-radius: 5px;">
                    <asp:DropDownList ID="ddlList" runat="server" class="selectpicker show-tick form-control"></asp:DropDownList>
                </div>
            </div>--%>
            <div style="display:none; width: max-content; height: 35px; margin-left: 10px; float: left; margin-top: 10px;">
                 
                <div style="width: 200px; height: 36px; float: left; border: 1px solid #ccc; border-radius: 5px; display:none;">
                    <asp:DropDownList ID="ddlDep" runat="server" class="selectpicker show-tick form-control" data-live-search="true"></asp:DropDownList>
                </div>
            </div>
            <%-- <div style="width: max-content; height: 35px; margin-left: 10px; float: left; margin-top: 10px;">
                <div style="float: left; line-height: 35px;">
                    <asp:Label ID="Label4" runat="server" Text="Label">病区&nbsp;&nbsp;</asp:Label>
                </div>
                <div style="width: 200px; height: 36px; float: left; border: 1px solid #ccc; border-radius: 5px;">
                    <asp:DropDownList ID="ddlEArea" runat="server" class="selectpicker show-tick form-control" data-live-search="true"></asp:DropDownList>
                </div>
            </div>--%>
            <div style="width: max-content; height: 35px; margin-left: 10px; float: left; margin-top: 10px;">
                <div style="float: left; line-height: 35px;">
                    <asp:Label ID="Label3" runat="server" Text="Label">术者&nbsp;&nbsp;</asp:Label>
                </div>
                <div style="width: 150px; height: 36px; float: left; border: 1px solid #ccc; border-radius: 5px;">
                    <asp:DropDownList ID="ddlPeo" runat="server" class="selectpicker show-tick form-control" Style="border: 0;" data-live-search="true"></asp:DropDownList>
                </div>
            </div>
            <div style="width: max-content; height: 35px; margin-left: 10px; float: left; margin-top: 10px;">
                <div style="float: left; line-height: 35px;">
                    <asp:Label ID="Label2" runat="server" Text="Label">排程时间&nbsp;&nbsp;</asp:Label>
                </div>
                <div class='input-group date' id='datetimepicker1' style="width: 200px; height: 34px; float: left;">
                    <input id="tbJxrq2" type='text' class="form-control" runat="server" />
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>
            <div style="width: max-content; height: 35px; margin-left: 10px; float: left; margin-top: 10px;">
                <asp:Button ID="Button1" runat="server" Text="查询" OnClick="Button1_Click" class="btn btn-primary" Style="float: left;" />
                <asp:Label ID="tishji" runat="server" Text="" Style="float: left; line-height: 35px; margin-left: 5px;"></asp:Label>
            </div>
        </div>
        <div>
            <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" Style="width: 100%;">
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                <EditRowStyle BackColor="#999999" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
            </asp:GridView>
            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="SelectPlanedOpeByRoom"
                TypeName="BeginScreen.PublicMethod"></asp:ObjectDataSource>
        </div>
    </form>
</body>
</html>
