<%@ Page CodeBehind="PostChange.aspx.cs" AutoEventWireup="True" Inherits="MTCUN.Mobile.Affairs.PostChange"
    Async="true" Title="异动办理-教务" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../../UserCol/Progress.ascx" TagName="Progress" TagPrefix="uc1" %>
<%@ Register Src="../../UserCol/Remark.ascx" TagName="Remark" TagPrefix="uc2" %>
<%@ Register Src="../../UserCol/QuantifiedCol.ascx" TagName="QuantifiedCol" TagPrefix="uc3" %>
<%@ Register Src="../User_Col/col_Header.ascx" TagName="col_Header" TagPrefix="uc4" %>
<%@ Register Src="../User_Col/col_StuControlPanel.ascx" TagName="col_StuControlPanel" TagPrefix="uc5" %>
<!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="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <uc4:col_Header ID="col_Header1" runat="server" />
        <div id="web_page_contents">
            <div class="search biao_zhun_suo_jin">
                <uc5:col_StuControlPanel ID="col_StuControlPanel1" runat="server" />

                <div class="kuai_show">
                    <h1 style="text-align: center">异动处理记录</h1>
                    <table class="table_simple_kuan" runat="server" cellspacing="0">
                        <tr>
                            <td style="width: 80px">学号：
                            </td>
                            <td>
                                <asp:Label ID="labStudentID" runat="server"></asp:Label>

                            </td>
                            <td rowspan="12" style="vertical-align: top" class="style1"></td>
                        </tr>
                        <tr>
                            <td>姓名：
                            </td>
                            <td>
                                <asp:Label ID="labStudentName" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>班级信息：
                            </td>
                            <td>

                                <asp:FormView ID="fvClass" runat="server" Width="100%">
                                    <ItemTemplate>
                                        <div class="kuai_show">
                                            <table class="table_simple_kuan" cellspacing="0">
                                                <tr>
                                                    <td>班级名称：
                                                    </td>
                                                    <td colspan="2">
                                                        <%#Eval("ClassName")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>开课时间：
                                                    </td>
                                                    <td colspan="2">
                                                        <%#Eval("StartDate", "{0:d}") + " -- " + Eval("EndDate", "{0:d}")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>上课规律：
                                                    </td>
                                                    <td colspan="2">
                                                        <%#Eval("TimeRule")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>主讲老师：
                                                    </td>
                                                    <td colspan="2">
                                                        <%#Eval("TeacherName")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>教室：
                                                    </td>
                                                    <td colspan="2">
                                                        <%#Eval("ClassroomName")%>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>招生比例：
                                                    </td>
                                                    <td colspan="2">
                                                        <uc1:Progress ID="Progress1" runat="server" Text="人" MaxNum='<%#Eval("PlanCount") %>'
                                                            MinNum='<%#Eval("StuCount") %>' Width="100px" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>课时进度：
                                                    </td>
                                                    <td colspan="2">
                                                        <uc1:Progress ID="Progress2" runat="server" Text="课时" MaxNum='<%#Eval("Lessons") %>'
                                                            MinNum='<%#Eval("CourseProgress") %>' Width="100px" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </ItemTemplate>
                                </asp:FormView>

                            </td>
                        </tr>
                        <tr>
                            <td>类型：
                            </td>
                            <td>
                                <asp:RadioButtonList ID="ddlChangeType" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
                                    OnSelectedIndexChanged="ChangeType_SelectedIndexChanged">
                                    <asp:ListItem Value="3" Text="转班"></asp:ListItem>
                                    <asp:ListItem Value="4" Text="休学"></asp:ListItem>
                                    <asp:ListItem Value="5" Text="退学"></asp:ListItem>
                                    <asp:ListItem Value="6" Text="弃学"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <uc3:QuantifiedCol ID="QuantifiedCol1" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>退户金额：</td>
                            <td>
                                <asp:TextBox ID="tbxIntoAccount" runat="server" AutoPostBack="True" OnTextChanged="tbxIntoAccount_TextChanged"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>退费提示：
                            </td>
                            <td>
                                <asp:Label ID="labMsg" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>时间：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxDateAndTime" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="required">
                            <td>原因：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxRemark" runat="server" Height="90px" TextMode="MultiLine"></asp:TextBox>
                            </td>
                        </tr>
                        <tr id="trGetDate" runat="server">
                            <td>休学至：
                            </td>
                            <td>
                                <asp:TextBox ID="tbxGetDateTime" runat="server" onfocus="javascript:return showCalendar(this);"></asp:TextBox>设置休学到期日期。
                            </td>
                        </tr>
                        <tr id="trNewClass" runat="server">
                            <td>新选班级：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlNewStuClass" runat="server">
                                </asp:DropDownList>
                                (可选项，可异动手续办理后，并已加入新班再补充此数据)
                            </td>
                        </tr>
                        <tr class="required">
                            <td>录入员：
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </div>
                <label class="lab_button_kuan">
                    <asp:Button ID="btnSubmit" runat="server" Text="提交" OnClick="btnSubmit_Click"></asp:Button>
                </label>
                <label class="lab_button_kuan" id="__mt_labBack" runat="server">
                    <input causesvalidation="false" type="button" runat="server" onclick="back(this)" value="返回" /></label>
            </div>
        </div>
        <uc2:Remark ID="imgBig" runat="server" />
    </form>
</body>
</html>
