<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="classmanage.aspx.cs" Inherits="Us.Web.admin.pclass.classmanage" %>


<!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">
    <title>班级管理</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>

     <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
<%=ImportScriptStr %>
    <script language="javascript"  type="text/javascript">
    function jscheckAll() {
        var drpSkyDID = $("#drpSkyDID").val();
        var drpSkyPID = $("#drpSkyPID").val();

        if (drpSkyDID == "-1")
        {
            alert("对不起，请选择院系！");
            return false;
        }
        if (drpSkyPID == "-1") {
            alert("对不起，请选择专业！");
            return false;
        }
       
        return true;
    }
    </script>
    <script language="javascript" type="text/javascript">
        KindEditor.ready(function (K) {
            K.create('#txtCInfo,#txtFCaiChan,#txtCNote');
        });
    </script>
</head>
<body onload="win_onLoad();">
    <form id="Form1" method="post" runat="server">
    
    
    
            <div id="tbMain">
                <div class="divTbg">
                    <div class="divTbgL">
                    </div>
                    <div class="divTbgInfo">
                        <div class="divTbgTitle">
                            班级管理</div>
                    </div>
                </div>
                <div class="divTbgF">
                </div>
                <div class="divTNavBG" id="topURL">
                    <ul id="topURLul">
                        <li class="divURLed" id="div1">
                            <div>
                                <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" />
                                基本信息</div>
                        </li>
                    </ul>
                </div>
                <div id="mypanel">
                    <div  id="ddiv1">
                        <div class="divInfo">
                                <div class="divInfoblack">
                                    <div class="divInfoTopList">
                                        <div class="listLeft">
                                            <div class="navtitle">
                                                基本信息
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <div class="divInfo">
                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tablist">
                                <tr class="tablisttr">
                                    <td width="100" align="center" class="tablisttitle">
                                        隶属院系<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpSkyDID" runat="server" Width="200px" AutoPostBack="True"
                                            OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                    <td width="100" align="center" class="tablisttitle">
                                        隶属专业<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpSkyPID" runat="server" Width="200px" AutoPostBack="True"
                                            OnSelectedIndexChanged="drpSkyPID_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        班级编号<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtSkyCID" runat="server" CssClass="14" ToolTip="班级编号" Width="200px"></asp:TextBox>
                                        (不能修改,8位)
                                    </td>
                                    <td align="center" class="tablisttitle" width="100">
                                        班级名称<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtSkyCName" runat="server" CssClass="1" ToolTip="班级名称" AutoPostBack="True"
                                            OnTextChanged="txtSkyCName_TextChanged" Width="200px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        责任人
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtCLeader" runat="server" Width="200px"></asp:TextBox>
                                    </td>
                                    <td align="center" class="tablisttitle" width="100">
                                        助记码
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtMCode" runat="server" Width="200px" ReadOnly="True"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td width="100" align="center" class="tablisttitle">
                                        显示顺序<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtShowID" runat="server" CssClass="2" ToolTip="显示顺序" Width="200px">1</asp:TextBox>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        学制</td>
                                    <td class="tabmanagertr">
                                         <asp:DropDownList ID="drpSSystem" runat="server" Width="200px">
                                        <asp:ListItem Value="System">codeno</asp:ListItem>
                                    </asp:DropDownList></td>
                                </tr>
                                <tr class="tablisttr">
                                    <td width="100" align="center" class="tablisttitle">
                                        入学时间<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtCInTime"  CssClass="1" runat="server" ToolTip="入学时间" Width="200px" onfocus="var txtAContractEnd=$dp.$('txtSRegistrationDate');WdatePicker({onpicked:function(){txtSRegistrationDate.focus();},maxDate:'#F{$dp.$D(\'txtSRegistrationDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        毕业时间<span class="fStar">*</span></td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtSRegistrationDate"  CssClass="1" ToolTip="毕业时间" runat="server" Width="200px" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'txtCInTime\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        报名人数
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtBMNumber" runat="server" CssClass="2" ToolTip="报名人数" Width="200px">0</asp:TextBox>
                                        0 表示不启用
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        录取人数
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtLQNumber" runat="server" CssClass="2" ToolTip="录取人数" Width="200px">0</asp:TextBox>
                                        0 表示不启用
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        <%=sFDYName %>院系<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="DrpSkyTeacherDID" runat="server" AutoPostBack="True" CssClass="1"
                                            ToolTip="负责人院系" OnSelectedIndexChanged="DrpSkyTeacherDID_SelectedIndexChanged"
                                            Width="200px">
                                        </asp:DropDownList>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        <%=sFDYName %>教师<span class="fStar">*</span>
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpSkyTeacherPID" runat="server" Width="200px" CssClass="1"
                                            ToolTip="负责人">
                                            <asp:ListItem Value="-1" Text="-请选择-"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        培养方案
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtCWord" runat="server" ToolTip="培养方案" MaxLength="500" Width="200px"></asp:TextBox>
                                        <a href="#" onclick="SkyOpen('txtCWord');">[选择]</a> <a href="#" onclick="SkyView('txtCWord');">
                                            [查看]</a>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        所在教室
                                    </td>
                                    <td class="tabmanagertr">
                                        <asp:TextBox ID="txtFRoom" runat="server" ToolTip="所在教室" Width="200px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        年级</td>
                                    <td class="tabmanagertr">
                                        
                                  
                                        <asp:DropDownList ID="drpSGrade" runat="server" Width="200px">
                                        <asp:ListItem Value="years">code</asp:ListItem>
                                    </asp:DropDownList>
                                    </td>
                                    <td align="center" class="tablisttitle">
                                        是否毕业</td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpIsBY" runat="server" Width="200px">
                                        <asp:ListItem Value="codeyesno">codeno</asp:ListItem>
                                    </asp:DropDownList></td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle" width="100">
                                        教学点</td>
                                    <td class="tabmanagertr">
                                          <asp:DropDownList ID="drpAID" runat="server" Width="200px"></asp:DropDownList></td>
                                    <td align="center" class="tablisttitle">
                                        &nbsp;</td>
                                    <td class="tabmanagertr">
                                        &nbsp;</td>
                                </tr>
                                <tr class="tablisttr nodisplay">
                                    <td align="center" class="tablisttitle" width="100">
                                        隶属年级</td>
                                    <td class="tabmanagertr">
                                        <asp:DropDownList ID="drpYearID" runat="server" Width="200px"> </asp:DropDownList></td>
                                    <td align="center" class="tablisttitle">
                                        &nbsp;</td>
                                    <td class="tabmanagertr">
                                        &nbsp;</td>
                                </tr>
                                <tr class="tablisttr nodisplay">
                                    <td width="100" align="center" class="tablisttitle">
                                        班级介绍
                                    </td>
                                    <td class="tabmanagertr" colspan="3">
                                        <asp:TextBox ID="txtCInfo" runat="server" Width="100%" TextMode="MultiLine" Height="100px"
                                           ></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr nodisplay">
                                    <td align="center" class="tablisttitle" width="100">
                                        公共财产
                                    </td>
                                    <td class="tabmanagertr" colspan="3">
                                        <asp:TextBox ID="txtFCaiChan" runat="server" 
                                            Height="100px" TextMode="MultiLine" Width="100%"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr class="tablisttr">
                                    <td align="center" class="tablisttitle">
                                        班级备注
                                    </td>
                                    <td class="tabmanagertr" colspan="3">
                                        <asp:TextBox ID="txtCNote" runat="server"
                                            Height="100px" TextMode="MultiLine" Width="100%"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="divSave">
                    <asp:Button ID="btnSubmit" runat="server" Text="保存(S)" CssClass="SkyButtonFocus"
                        OnClick="btnSubmit_Click" AccessKey="S" CommandName="save"></asp:Button>
                    <asp:Button ID="btnSubmitClose" runat="server" CommandName="saveclose" CssClass="SkyButtonFocus"
                        OnClick="btnSubmit_Click" Text="取消(C)" />
                </div>
            </div>
         <div class="divInfo">
            <span class="usHelpMessage">* 注意事项： 是否毕业控制显示课程表和排课的时候只显示没有毕业的班级，这个状态和学生毕业状态无关；</span>
        </div>
    </form>
</body>
</html>
