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



<!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><%=sGeneralName %>管理</title>

    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %>
    <asp:Literal ID="litregscript" runat="server" Text=""></asp:Literal>
    <script language="javascript" type="text/javascript">
        KindEditor.ready(function (K) {
            K.create('#txtUserInfo');
        });
    </script>


     <script src="../js/jquery/jquery-1.4.4.src.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        var UserID = '<%=sUserID%>';
        function opJsTreeUser(txt, txtValue) {
           
            var para = "/admin/workflow/treecourseselect.aspx?para=2&list=" + $("#" + txtValue).val() + "&userid=" + UserID;
            CareffArtOpen4(para, '课程选择', 600, 500, 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];

                
            });
        }

    </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">
                        <%=sGeneralName %>管理
                    </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">
                                        <%=sGeneralName %>管理
                                    </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:DropDownList runat="server" ID="drpGOType" ToolTip="申请类型" AutoPostBack="True" OnSelectedIndexChanged="drpGOType_SelectedIndexChanged">
                                <asp:ListItem Value="GOType" Text="codeno"></asp:ListItem>
                            </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">申请时间</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtSQDate" runat="server" ToolTip="申请时间" Text="" onclick="WdatePicker({skin:'whyGreen',isShowClear:false,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">申请标题<span class="fStar">*</span></td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtUserTitle" runat="server" ToolTip="申请标题" Text="" CssClass="1"></asp:TextBox>
                                    (选择申请类型自动生成)
                                </td>
                                <td class="tablisttitle">联系电话</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtUserTel" runat="server" ToolTip="联系电话" Text=""></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr" runat="server" id="tr1">
                                <td class="tablisttitle">开始时间</td>
                                <td class="tabmanagertr">
                                     <asp:TextBox ID="txtBeginDate" runat="server" ToolTip="开始时间" onfocus="var txtAContractEnd=$dp.$('txtEndDate');WdatePicker({onpicked:function(){txtEndDate.focus();},maxDate:'#F{$dp.$D(\'txtEndDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'})"></asp:TextBox></td>
                                <td class="tablisttitle">结束时间</td>
                                <td class="tabmanagertr">
                                      <asp:TextBox ID="txtEndDate" runat="server" ToolTip="结束时间" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'txtBeginDate\')}',isShowClear:true,readOnly:true,dateFmt:'yyyy-MM-dd'});"></asp:TextBox></td>
                            </tr>
                            <tr class="tablisttr"  runat="server" id="tr2">
                                <td class="tablisttitle">课程选择</td>
                                <td class="tabmanagertr">
                                     <asp:TextBox ID="txtCourseName" runat="server" ToolTip="课程信息" Text=""></asp:TextBox>

                                     <a href="javascript:opJsTreeUser('txtCourseName','txtCourseID');">[选择课程]</a>

                                    
                                     </td>
                                <td class="tablisttitle"></td>
                                <td class="tabmanagertr"><div class="nodisplay">
                                    <asp:TextBox ID="txtCourseID" runat="server" ToolTip="课程信息" Text=""></asp:TextBox></div>
                                      </td>
                            </tr>
                            <tr class="tablisttr"  runat="server" id="tr3">
                                <td class="tablisttitle">目标院系</td>
                                <td class="tabmanagertr">
                                     <asp:DropDownList runat="server" ID="drpSkyDIDUser" ToolTip="目标院系" AutoPostBack="True" OnSelectedIndexChanged="drpSkyDIDUser_SelectedIndexChanged" >
                                    </asp:DropDownList></td>
                                <td class="tablisttitle">目标专业</td>
                                <td class="tabmanagertr">
                                      <asp:DropDownList runat="server" ID="drpSkyPIDUser" ToolTip="目标专业">
                                        <asp:ListItem Text="请选择" Value=""></asp:ListItem>
                                    </asp:DropDownList>
                                      </td>
                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">申请人员</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtUserName" runat="server" ToolTip="申请人员" Text=""></asp:TextBox>
                                </td>
                                <td class="tablisttitle">相关附件</td>
                                <td class="tabmanagertr">
                                    <asp:TextBox ID="txtUserAttach" runat="server" ToolTip="相关附件" Text=""></asp:TextBox>

                                    <a href="#" onclick="SkyOpenBak('txtUserAttach');">[选择]</a>
                                    <a href="#" onclick="SkyView('txtUserAttach');">[查看]</a>
                                    <a href="#" onclick="SkyDelete('txtUserAttach');">[清空]</a>
                                </td>

                            </tr>
                            <tr class="tablisttr">
                                <td class="tablisttitle">备注说明</td>
                                <td class="tabmanagertr" colspan="3">
                                    <asp:TextBox ID="txtUserInfo" runat="server" ToolTip="备注说明" Text="" TextMode="MultiLine" Height="350px" Width="100%"></asp:TextBox>
                                </td>
                            </tr>
                            <tr class="tablisttr nodisplay">
                                <td class="tablisttitle">所属院系</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpSkyDID" ToolTip="所属院系" AutoPostBack="True" OnSelectedIndexChanged="drpSkyDID_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">所属专业</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpSkyPID" ToolTip="所属专业">
                                        <asp:ListItem Text="请选择" Value=""></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="tablisttr nodisplay">
                                <td class="tablisttitle">所属班级</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpSkyCID" ToolTip="所属班级" AutoPostBack="True" OnSelectedIndexChanged="drpSkyCID_SelectedIndexChanged">
                                        <asp:ListItem Text="请选择" Value=""></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tablisttitle">学生姓名</td>
                                <td class="tabmanagertr">

                                    <asp:DropDownList runat="server" ID="drpUserID" ToolTip="学生姓名">
                                        <asp:ListItem Text="请选择" Value=""></asp:ListItem>
                                    </asp:DropDownList>
                                </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>
                </div>
            </div>
        </div>
         <div class="divInfo">
                        <span class="usHelpMessage">* 注意事项： </span>
                        <a class="rptlink" href="javascript:void(0);" onclick="CareffArtOpenA3('/admin/workflow/workflowdetailjsview.aspx?flowid=1021&guidkey=ffa1b9097dce8fcaf48f5d2b27710bbd&guidurl=/admin/workflow/workflowdetailjsview.aspxflowid1021');">[点击查看工作流程说明]</a>

                    </div>


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