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


<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <title>考试安排管理</title>
    <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">
        KindEditor.ready(function (K) {
            K.create('#txtEppInfo');
        });
    </script>

     <script src="../js/jquery/jquery.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function opJsTree(txt, txtValue) {
            var para = "/admin/extexam/extexampaperlistselect.aspx?para=" + "1" + "&list=" + $("#" + txtValue).val();
            //UsOpenDialogTree(para, txt, txtValue);
            CareffArtOpen4(para, '试卷选择', 1000, 700, function (path) {
                //alert(path);
                if (path == null) { return false; }
                var strs = path.split("#")
                var m = $id(txt)
                m.value = strs[1];
                var m1 = $id(txtValue)
                m1.value = strs[0];
            });
        }

        $(document).ready(function () {

            $("#drpEppDate").change(function () {
                changeDateModel($(this).val());
            });
            changeDateModel($("#drpEppDate").val());
            function changeDateModel(m)
            {
                if (m == "1")
                {
                    $("#kssj").hide();
                }
                else
                {
                    $("#kssj").show();
                }
            }
        });
    </script>
</head>
<body onload="win_onLoad();">
    <form id="form1" 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/default/images/mini_icons_046.gif" width="10" height="10" />
                            基本信息
                        </div>
                    </li>
                </ul>
            </div>
            <div id="mypanel">
                <div class="divInfoContext">
                    <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" cellpadding="0" cellspacing="1" class="tablist" id="mainlist" onmouseover="changeto()" onmouseout="changeback()">
                            <tr class="tablisttr">
                                <td class="tablisttitle">安排名称<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEppName" runat="server" ToolTip="安排名称" Text="" CssClass="1"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">考试分类</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEppType" ToolTip="考试分类">
                                        <asp:ListItem Value="EppType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">试卷模式</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEppMode" ToolTip="试卷模式">
                                        <asp:ListItem Value="EppMode" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">试卷选择<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    

                                     <div class="nodisplay">
                                       <asp:TextBox ID="txtEPID" runat="server" ToolTip="试卷编号" Text="" CssClass="1"></asp:TextBox>
                                    </div>
                                    <asp:TextBox ID="txtEPName" runat="server" ToolTip="试卷选择" Text="" CssClass="1"></asp:TextBox>
                                    <a href="javascript:opJsTree('txtEPName','txtEPID');">[选择]</a>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">参加次数</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEppNumber" ToolTip="参加次数">
                                        <asp:ListItem Value="EppNumber" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">考试时间</td>
                                <td class="tabmanagertr">

                                    <asp:DropDownList runat="server" ID="drpEppDate" ToolTip="考试时间">
                                        <asp:ListItem Value="EppDate" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>

                                </td>
                            </tr>
                            <tr class="tablisttr" id="kssj">
                                <td class="tablisttitle">开始时间</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEppStartDate" runat="server" ToolTip="开始时间" Text="" onfocus="var txtAContractEnd=$dp.$('txtEppEndDate');WdatePicker({onpicked:function(){txtEppEndDate.focus();},maxDate:'#F{$dp.$D(\'txtEppEndDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                                </td>
                                <td class="tablisttitle">结束时间</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEppEndDate" runat="server" ToolTip="结束时间" Text="" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'txtEppStartDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr nodisplay">
                                <td class="tablisttitle">即时显示分数</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEppShowScoreType" ToolTip="即时显示分数">
                                        <asp:ListItem Value="EppShowScoreType" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">指定发布时间</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEppShowScore" runat="server" ToolTip="指定发布时间" Text="" onfocus="WdatePicker({isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                                </td>
                            </tr>

                            <tr class="tablisttr nodisplay">
                                <td class="tablisttitle">批卷教师</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtEppTeacher" runat="server" ToolTip="批卷教师" Text=""></asp:TextBox>
                                </td>
                                <td class="tablisttitle">&nbsp;</td>
                                <td class="tabmanagertr">&nbsp;</td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">启用密码</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpEppIsPwd" ToolTip="启用密码">
                                        <asp:ListItem Value="CodeYesNo" Text="codeno"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">考试密码</td>
                                <td class="tabmanagertr">

                                    <asp:TextBox ID="txtEppPwd" runat="server" ToolTip="考试密码" Text=""></asp:TextBox>

                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">安排备注</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtEppInfo" runat="server" ToolTip="安排备注" Text="" TextMode="MultiLine" Height="100px" Width="100%"></asp:TextBox>
                                </td>
                            </tr>
                        </table>




                        <div class="divSave">
                            <asp:Button ID="btnSubmit" runat="server" Text="保存(S)"
                                CssClass="SkyButtonFocus" OnClick="btnSubmit_Click" />
                            <asp:Button ID="btnExit" runat="server" Text="取消(C)" CssClass="SkyButtonFocus"
                                OnClick="btnSubmit_Click" />
                        </div> <div class="divInfo">
                            <span class="usHelpMessage">* 注意事项： 1、如果考试需要密码，则学生在考试的时候必须输入正确的密码才能进入;2、如果参加次数限制为1次，则每个人只可对此考试计划进行一次；  </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </form>
</body>
</html>
