<%@ Page Language="c#" CodeBehind="PostStuClass.aspx.cs" AutoEventWireup="True" Inherits="MTCUN.Mobile.Affairs.PostStuClass"
    Title="选班办理-教务" %>

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


                <div class="kuai_show">
                    <div class="divpanel">

                        <h1 style="text-align: center">学员选班表</h1>
                        <table class="table_simple_kuan">
                            <tr>
                                <th colspan="3"></th>
                            </tr>
                            <tr>
                                <td style="width:85px">班级选择：
                                </td>
                                <td>

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

                                </td>
                            </tr>
                            <tr>
                                <td>计量方式：
                                </td>
                                <td>
                                    <div style="background-color: #ffffff; border: 1px solid #ECEB7F; border-radius: 5px; width: auto; padding: 4px; background-color: #FEFDC1">

                                        <div id="setContent" style="float: left;">
                                            <uc5:QuantifiedCol ID="QuantifiedCol1" runat="server" />
                                        </div>
                                        <div style="clear: both; height: 0px; font-size: 0px">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>状态：
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlScState" runat="server" Enabled="False">
                                        <asp:ListItem Value="1" Text="正常"></asp:ListItem>
                                        <%--                          <asp:ListItem Value="2" Text="插班"></asp:ListItem>--%>
                                        <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:DropDownList>
                                </td>
                            </tr>
                            <tr class="required">
                                <td>选班日期：
                                </td>
                                <td>
                                    <asp:TextBox ID="tbxDateAndTime" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>类型：
                                </td>
                                <td align="left" valign="top">
                                    <asp:DropDownList ID="ddlContinueReg" runat="server">
                                        <asp:ListItem Value="0">试听</asp:ListItem>
                                        <asp:ListItem Value="1" Selected="True">新增</asp:ListItem>
                                        <asp:ListItem Value="2">续报</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>备注：
                                </td>
                                <td align="left" rowspan="1" valign="top">
                                    <asp:TextBox ID="tbxRemark" runat="server" TextMode="MultiLine" Height="51px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="required">
                                <td>报名点：
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="ddlPostSchool" runat="server" DataTextField="SchoolName" DataValueField="SchoolID">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="required">
                                <td>录入员：
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>短信通知：
                                </td>
                                <td colspan="2">
                                    <asp:CheckBox ID="cbxSMS" runat="server" Checked="True" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <label class="lab_button_kuan">
                    <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_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 class="divremark">
                    <b>注意事项：</b><br />
                    1、计量方式：是指量化学员上课资源的方式，分为按课时数量量化与按到期时间量化。<br />
                    2、当课程单位为课时，系统强制按课时进行量化，当课程单位为学期时，系统同时提供两种方式供选择，但如果学期后面存在二级单位，如：天，周，月，季，年时，系统强制按到期时间进行量化。<br />
                    3、当勾选“同步班级总课时”，课时数量会自动与班级总课时同步，只有报整班课时的学员才可以选择此项，慎用。<br />
                    4、当勾选“同步班级结束日期”，学员到期时间会自动与班级结束日期同步，只有上课结束日期与班级结束日期相同的学员才可以选择此项，慎用。
                </div>
            </div>
        </div>
    </form>
</body>
</html>
