Task.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:10k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Task.aspx.cs" Inherits="Module_Employee_ProRes_DeptTask" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>部门任务分配</title>
  6. </head>
  7. <body style="background-image: url(../../Images/SysSkin/task.jpg); background-repeat: no-repeat; text-align: center">
  8.     <form id="form1" runat="server">
  9.     <div style="vertical-align: middle; text-align: center">
  10.         <br />
  11.         <br />
  12.         <table cellpadding="0" cellspacing="0" style="width: 605px">
  13.             <tr>
  14.                 <td colspan="3" rowspan="3" style="width: 614px">
  15.                     <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
  16.                         <table style="width: 605px" cellpadding="0" cellspacing="0">
  17.                             <tr>
  18.                                 <td colspan="3">
  19.                                     <table cellpadding="0" cellspacing="0" style="width: 600px">
  20.                                         <tr>
  21.                                             <td style="width: 100px; height: 23px">
  22.                                                 <span style="font-size: 9pt">查找类别</span></td>
  23.                                             <td style="width: 120px; height: 23px; text-align: left">
  24.                                                 <asp:DropDownList ID="dropClass" runat="server" Width="120px">
  25.                                                     <asp:ListItem>任务ID</asp:ListItem>
  26.                                                     <asp:ListItem>下达者</asp:ListItem>
  27.                                                     <asp:ListItem>接受者</asp:ListItem>
  28.                                                 </asp:DropDownList></td>
  29.                                             <td style="width: 100px; height: 23px">
  30.                                                 <span style="font-size: 9pt">关键字</span></td>
  31.                                             <td style="width: 120px; height: 23px; text-align: left">
  32.                                                 <asp:TextBox ID="txtKeyWord" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
  33.                                             <td style="width: 12px; height: 23px">
  34.                                                 <asp:Button ID="btnFind" runat="server" OnClick="btnFind_Click" Text="查找" /></td>
  35.                                             <td style="height: 23px">
  36.                                                 <asp:LinkButton ID="lnkbtnAdd" runat="server" Font-Size="9pt" Font-Underline="False"
  37.                                                     ForeColor="#FF3333" OnClick="lnkbtnAdd_Click1" Visible="False">添加新任务</asp:LinkButton></td>
  38.                                         </tr>
  39.                                     </table>
  40.                                 </td>
  41.                             </tr>
  42.                             <tr>
  43.                                 <td colspan="3" rowspan="2" style="height: 216px; vertical-align: top; text-align: center;">
  44.                                     <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
  45.                                         Font-Size="9pt" Width="605px" OnPageIndexChanging="GridView1_PageIndexChanging">
  46.                                         <Columns>
  47.                                             <asp:BoundField DataField="ID" HeaderText="任务ID" />
  48.                                             <asp:BoundField DataField="ReleasePerson" HeaderText="下达者" />
  49.                                             <asp:BoundField DataField="DepName" HeaderText="接受者" />
  50.                                             <asp:TemplateField FooterText="StartTime" HeaderText="开始时间">
  51.                                                 <EditItemTemplate>
  52.                                                     <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("StartTime") %>'></asp:TextBox>
  53.                                                 </EditItemTemplate>
  54.                                                 <ItemTemplate>
  55.                                                     <asp:Label ID="Label1" runat="server" Text='<%# Bind("StartTime", "{0:yyyy-M-d}") %>'></asp:Label>
  56.                                                 </ItemTemplate>
  57.                                             </asp:TemplateField>
  58.                                             <asp:TemplateField FooterText="EndTime" HeaderText="结束时间">
  59.                                                 <EditItemTemplate>
  60.                                                     <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("EndTime") %>'></asp:TextBox>
  61.                                                 </EditItemTemplate>
  62.                                                 <ItemTemplate>
  63.                                                     <asp:Label ID="Label2" runat="server" Text='<%# Bind("EndTime", "{0:yyyy-M-d}") %>'></asp:Label>
  64.                                                 </ItemTemplate>
  65.                                             </asp:TemplateField>
  66.                                             <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="TaskAllInfo.aspx?ID={0}"
  67.                                                 HeaderText="查看详情" Text="查看" />
  68.                                         </Columns>
  69.                                     </asp:GridView>
  70.                                 </td>
  71.                             </tr>
  72.                             <tr>
  73.                             </tr>
  74.                         </table>
  75.                     </asp:Panel>
  76.                     <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px" Visible="False">
  77.         <table cellpadding="0" cellspacing="0" style="width: 605px">
  78.             <tr>
  79.                 <td colspan="4" style="height: 19px">
  80.                 </td>
  81.             </tr>
  82.             <tr>
  83.                 <td colspan="4" style="height: 16px">
  84.                     <span style="font-size: 16pt"></span></td>
  85.             </tr>
  86.             <tr>
  87.                 <td style="height: 21px; width: 100px;">
  88.                     <span style="font-size: 9pt">下达者</span></td>
  89.                 <td style="width: 152px; text-align: left; font-size: 12pt; height: 21px;">
  90.                     <asp:DropDownList ID="dropRePro" runat="server" Font-Size="9pt" Width="145px">
  91.                     </asp:DropDownList></td>
  92.                 <td style="width: 100px; font-size: 12pt; height: 21px;">
  93.                     <span style="font-size: 9pt">接受者</span></td>
  94.                 <td style="text-align: left; font-size: 9pt; height: 21px;">
  95.                     <asp:DropDownList ID="dropAcceptPro" runat="server" Font-Size="9pt" Width="145px">
  96.                     </asp:DropDownList></td>
  97.             </tr>
  98.             <tr>
  99.                 <td>
  100.                     <span style="font-size: 9pt">任务开始时间</span></td>
  101.                 <td style="text-align: left">
  102.                     <asp:TextBox ID="txtStartTime" runat="server" Font-Size="9pt" Width="140px"></asp:TextBox><span
  103.                         style="font-size: 9pt"> </span>
  104.                     <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtStartTime"
  105.                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  106.                 <td style="font-size: 9pt">
  107.                     <span>任务结束时间</span></td>
  108.                 <td style="text-align: left; font-size: 12pt;">
  109.                     <asp:TextBox ID="txtEndTime" runat="server" Font-Size="9pt" Width="138px"></asp:TextBox>
  110.                     <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtEndTime"
  111.                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  112.             </tr>
  113.             <tr style="font-size: 12pt">
  114.                 <td>
  115.                     <span style="font-size: 9pt">完成程度</span></td>
  116.                 <td style="text-align: left">
  117.                     <asp:TextBox ID="txtComPitch" runat="server" Font-Size="9pt" Width="140px"></asp:TextBox><span
  118.                         style="font-size: 9pt; color: #ff3300">(如50%)</span></td>
  119.                 <td>
  120.                     <span style="font-size: 9pt">重要性</span></td>
  121.                 <td style="text-align: left">
  122.                     <asp:DropDownList ID="dropImport" runat="server" Font-Size="9pt" Width="145px">
  123.                         <asp:ListItem>不重要</asp:ListItem>
  124.                         <asp:ListItem>一般</asp:ListItem>
  125.                         <asp:ListItem>非常重要</asp:ListItem>
  126.                     </asp:DropDownList></td>
  127.             </tr>
  128.             <tr>
  129.                 <td style="height: 19px">
  130.                     <span style="font-size: 9pt">任务描述</span></td>
  131.                 <td colspan="3" rowspan="2" style="text-align: left">
  132.                     <asp:TextBox ID="txtDescription" runat="server" Font-Size="9pt" Height="149px" TextMode="MultiLine"
  133.                         Width="441px"></asp:TextBox></td>
  134.             </tr>
  135.             <tr>
  136.                 <td style="height: 101px">
  137.                 </td>
  138.             </tr>
  139.             <tr>
  140.                 <td colspan="4" style="height: 22px; text-align: center">
  141.                     <asp:Button ID="btnOK" runat="server" Font-Size="9pt" Text="提交" OnClick="btnOK_Click" />
  142.                     <input id="Reset1" style="font-size: 9pt" type="reset" value="重置" />
  143.                     <asp:Button ID="btnBack" runat="server" Font-Size="9pt" Text="返回" OnClick="btnBack_Click" CausesValidation="False" /></td>
  144.             </tr>
  145.         </table>
  146.                     </asp:Panel>
  147.                 </td>
  148.             </tr>
  149.             <tr>
  150.             </tr>
  151.             <tr>
  152.             </tr>
  153.         </table>
  154.     
  155.     </div>
  156.     </form>
  157. </body>
  158. </html>