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



<!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" src="/editor/xheditor.js" type="text/javascript" ></script>
    <script type="text/javascript" src="/editor/xheditor_lang/zh-cn.js"></script>
<script language="javascript" type="text/javascript">
   
    function jscheckAll() {
        //var sValue = $("#drpPlanState").val();
        //if (sValue == "1") {
        //    return window.confirm("当您提交计划状态为[提交审核]状态，您将无法修改和调整审核状态，是否要继续吗？");
        //}
        //return true;
        //return window.confirm("您确实要提交接收状态吗，提交后您将无法修改和调整接收状态，是否要继续吗？");
        //您确实要提交接收工作任务的状态吗？提交后不可以修改！

        var info = "";
        info = "您确实要提交接收状态吗，提交后您将无法修改和调整接收状态，是否要继续吗？";

        if (art.dialog.data("retdata") == 1) {
            art.dialog.data("retdata", 0);//重置
            return true;
        }
        art.dialog.confirm(info, function () {
            art.dialog.data("retdata", 1);
            document.getElementById("btnSubmit").click();
        });

        return false;
    }
 </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">
<tr class="tablisttr">
  <td class="tablisttitle">任务编号</td>
  <td class="tabmanagertr"><asp:TextBox ID="txtTaskID" runat="server" ToolTip="任务编号" Text=""></asp:TextBox></td>
  <td class="tablisttitle">任务标题</td>
  <td class="tabmanagertr"><asp:TextBox ID="txtTaskName" runat="server" ToolTip="任务标题" Text="" ReadOnly="true"></asp:TextBox></td>
</tr>
<tr class="tablisttr">
  <td class="tablisttitle">任务分类</td>
  <td class="tabmanagertr"><asp:DropDownList runat="server" ID="drpTaskType" tooltip="任务分类" Enabled="false">
    <asp:ListItem Value="TaskType" Text="code"></asp:ListItem>
  </asp:DropDownList></td>
  <td class="tablisttitle">要求完成时间</td>
  <td class="tabmanagertr"><asp:TextBox ID="txtTDate4" runat="server" ToolTip="要求完成时间" Text=""  ReadOnly="true"></asp:TextBox></td>
</tr>
<tr class="tablisttr">
  <td class="tablisttitle">任务状态</td>
  <td class="tabmanagertr"><asp:DropDownList runat="server" ID="drpTaskState" tooltip="任务状态"  Enabled="false">
    <asp:ListItem Value="TaskState" Text="code"></asp:ListItem>
  </asp:DropDownList></td>
    <td class="tablisttitle">任务类型</td>
                                <td class="tabmanagertr">
                                    <asp:DropDownList runat="server" ID="drpTParentID" ToolTip="任务类型" Enabled="false">
                                        <asp:ListItem Value="TParentID" Text="code"></asp:ListItem>
                                    </asp:DropDownList></td>
</tr>

<tr class="tablisttr">
  <td class="tablisttitle">任务部门</td><td class="tabmanagertr">
    <asp:TextBox ID="txtDeptID" runat="server" ToolTip="计划部门" Text="" 
         ReadOnly="true"></asp:TextBox></td>
  <td class="tablisttitle">发布人员</td><td class="tabmanagertr">
    <asp:TextBox ID="txtUserID" runat="server" ToolTip="计划人员" Text="" 
         ReadOnly="true"></asp:TextBox></td>
</tr>


<tr class="tablisttr">
<td class="tablisttitle">任务要求</td><td class="tabmanagertr" colspan="3">
    <div style="min-height:50px;max-height:100px; width:100%;max-width:800px; overflow:auto">
        <asp:Label runat="server" ID="labTaskInfo"></asp:Label>
    </div>
</td>
</tr>
<tr class="tablisttr">
<td class="tablisttitle">任务附件</td><td class="tabmanagertr" colspan="3"><asp:TextBox ID="txtTAddr" runat="server" ToolTip="任务附件" Text="" Width="80%"></asp:TextBox>
    <a href="#" onclick="SkyView('txtTAddr');">[查看]</a></td>

</tr>

<tr class="tablisttr">
<td class="tablisttitle">任务责任人</td><td class="tabmanagertr" colspan="3">
<asp:TextBox ID="txtReceiveUserName" runat="server" ToolTip="任务责任人" Text="" CssClass="1" Width="80%"></asp:TextBox>
<div style="display:none"><asp:TextBox ID="txtReceiveUserID" runat="server" ToolTip="任务责任人" Text=""></asp:TextBox></div>


</td>
</tr>

        <tr class="tablisttr">
        <td class="tablisttitle">任务接收</td><td class="tabmanagertr" colspan="3" style="padding:3px;">
        
            <div style="max-height:56px;width:100%; overflow:auto;">
        
            <asp:Repeater runat="server" ID="rptInfo">
                <HeaderTemplate>
                     <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" id="Table2">
                </HeaderTemplate>
                <ItemTemplate>
              
              <tr class="tablisttr">
                <td  nowrap="nowrap" align="left"  class="tabmanagertr">
                    <%#Eval("ID")%>：<span class="fontred" style="width:80px;/*display:inline-block;*/ text-align:left;"><%#Eval("UserName")%></span> 于
                    <%#UsToolsDateFormat(Eval("RDate"))%> <span class="fontblue"><%#Eval("TaskReceiveStateName")%></span>任务，接收说明：<%#Eval("RInfo")%></td>
              </tr>
             
                </ItemTemplate>
                <FooterTemplate>
                     </table>
                </FooterTemplate>
            </asp:Repeater>

           
             
           

    </div>
        </td>
        </tr>




</table>

                    <div style="height:10px;"></div>
                     <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tablist" id="Table1">
                         <tr class="tablisttr">
                             <td colspan="4" class="tablisttitle">任务接收</td>
                         </tr>
                         <tr class="tablisttr">
                          <td class="tablisttitle">是否接收</td><td class="tabmanagertr">
                           
                            <asp:RadioButtonList runat="server" ID="radTaskReceiveState" ToolTip="是否接收" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="TaskReceiveState" Text="code"></asp:ListItem>
                                </asp:RadioButtonList></td>
                          <td class="tablisttitle">接收时间</td><td class="tabmanagertr">
                            <asp:TextBox ID="txtRDate" runat="server" ToolTip="计划人员" Text="" ReadOnly="True"></asp:TextBox> <span class="fontred">此项日期为自动输入项</span></td>
                        </tr>
                         <tr class="tablisttr">
                          <td class="tablisttitle">接收说明</td>
                             <td class="tabmanagertr" colspan="3">
                            <asp:TextBox ID="txtRInfo" runat="server" ToolTip="接收说明" Text=""  Width="80%"></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>
            </div>
        </div>
    </div>







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