<%@ Page Language="c#" CodeBehind="PostLeave.aspx.cs" AutoEventWireup="True" Inherits="SWTraining.Teacher.PostLeave"
    Title="教师工作台-请假办理" %>

<%@ Register Src="../UserCol/Progress.ascx" TagName="Progress" TagPrefix="uc1" %>
<%@ Import Namespace="SWTraining" %>
<%@ Register Src="../UserCol/Remark.ascx" TagName="Remark" TagPrefix="uc2" %>
<!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 id="Head1" runat="server">
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />

    <script type="text/javascript">
        function StudentBox()
        {
            window.showModelessDialog('../Tools/StudentBox.aspx', window, 'dialogWidth=750px;dialogHeight=500px');
        }
    </script>

</head>
<body>
    <form id="Form1" method="post" runat="server">
    <div id="sw_content">
        <div class="divpanel">
            <table class="table" cellspacing="0">
                <tr>
                    <th colspan="3">
                        请假办理记录
                    </th>
                </tr>
                <tr>
                    <td style="width: 90px">
                        学号：
                    </td>
                    <td style="width: 100px">
                        <asp:TextBox ID="tbxStudentID" runat="server" AutoPostBack="True" 
                            ontextchanged="tbxStudentID_TextChanged"></asp:TextBox>
                    </td>
                    <td rowspan="2">
                        <asp:Image ID="imgPhoto" runat="server" ImageUrl='../Images/Pic.gif' ToolTip="学员相片"
                            Visible="False" />
                    </td>
                </tr>
                <tr>
                    <td>
                        姓名：
                    </td>
                    <td>
                        <asp:TextBox ID="tbxStudentName" runat="server" ReadOnly="True"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        办理时间：
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="tbxDateAndTime" runat="server"></asp:TextBox>
                        <span style="color: #ff0000">*</span>
                    </td>
                </tr>
                <tr>
                    <td>
                        开始日期：
                    </td>
                    <td colspan="2">
                        <asp:TextBox runat="server" ID="tbxStartDate"></asp:TextBox>
                        <span style="color: #ff0000">*</span>
                    </td>
                </tr>
                <tr>
                    <td>
                        结束日期：
                    </td>
                    <td colspan="2">
                        <asp:TextBox ID="tbxEndDate" runat="server"></asp:TextBox>
                        <span style="color: #ff0000">*</span>
                    </td>
                </tr>
                <tr>
                    <td>
                        原因：
                    </td>
                    <td colspan="2">
                        <asp:TextBox runat="server" ID="tbxRemark" TextMode="MultiLine" Width="362px" Height="96px"></asp:TextBox>
                        <span style="color: #ff0000">*</span>
                    </td>
                </tr>
                <tr>
                    <td>
                        录入员：
                    </td>
                    <td colspan="2">
                        <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                        </asp:DropDownList>
                        <span style="color: #ff0000">*</span>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td colspan="2">
                        <asp:Button ID="btnSubmit" runat="server" Text="提交" OnClick="btnSubmit_Click"></asp:Button>
                        <input causesvalidation="false" type="button" runat="server" onclick="back()" value="返回" />
                    </td>
                </tr>
            </table>
        </div>
        <div class="divremark">
            <b>注意事项：</b><br />
            1、日期不含时间部分时，开始日期表示从当日00时00分00秒开始，结束日期表示当日23时59分59秒。<br />
            2、需要精确到时间部分的，请加上时间，格式 yyyy-MM-dd HH:mm:ss。</div>
    </div>
    <uc2:Remark ID="imgBig" runat="server" />
    </form>
</body>
</html>
