Task.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:10k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Task.aspx.cs" Inherits="Module_Employee_ProRes_DeptTask" %>
- <!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 runat="server">
- <title>部门任务分配</title>
- </head>
- <body style="background-image: url(../../Images/SysSkin/task.jpg); background-repeat: no-repeat; text-align: center">
- <form id="form1" runat="server">
- <div style="vertical-align: middle; text-align: center">
- <br />
- <br />
- <table cellpadding="0" cellspacing="0" style="width: 605px">
- <tr>
- <td colspan="3" rowspan="3" style="width: 614px">
- <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
- <table style="width: 605px" cellpadding="0" cellspacing="0">
- <tr>
- <td colspan="3">
- <table cellpadding="0" cellspacing="0" style="width: 600px">
- <tr>
- <td style="width: 100px; height: 23px">
- <span style="font-size: 9pt">查找类别</span></td>
- <td style="width: 120px; height: 23px; text-align: left">
- <asp:DropDownList ID="dropClass" runat="server" Width="120px">
- <asp:ListItem>任务ID</asp:ListItem>
- <asp:ListItem>下达者</asp:ListItem>
- <asp:ListItem>接受者</asp:ListItem>
- </asp:DropDownList></td>
- <td style="width: 100px; height: 23px">
- <span style="font-size: 9pt">关键字</span></td>
- <td style="width: 120px; height: 23px; text-align: left">
- <asp:TextBox ID="txtKeyWord" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
- <td style="width: 12px; height: 23px">
- <asp:Button ID="btnFind" runat="server" OnClick="btnFind_Click" Text="查找" /></td>
- <td style="height: 23px">
- <asp:LinkButton ID="lnkbtnAdd" runat="server" Font-Size="9pt" Font-Underline="False"
- ForeColor="#FF3333" OnClick="lnkbtnAdd_Click1" Visible="False">添加新任务</asp:LinkButton></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="3" rowspan="2" style="height: 216px; vertical-align: top; text-align: center;">
- <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
- Font-Size="9pt" Width="605px" OnPageIndexChanging="GridView1_PageIndexChanging">
- <Columns>
- <asp:BoundField DataField="ID" HeaderText="任务ID" />
- <asp:BoundField DataField="ReleasePerson" HeaderText="下达者" />
- <asp:BoundField DataField="DepName" HeaderText="接受者" />
- <asp:TemplateField FooterText="StartTime" HeaderText="开始时间">
- <EditItemTemplate>
- <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("StartTime") %>'></asp:TextBox>
- </EditItemTemplate>
- <ItemTemplate>
- <asp:Label ID="Label1" runat="server" Text='<%# Bind("StartTime", "{0:yyyy-M-d}") %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:TemplateField FooterText="EndTime" HeaderText="结束时间">
- <EditItemTemplate>
- <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("EndTime") %>'></asp:TextBox>
- </EditItemTemplate>
- <ItemTemplate>
- <asp:Label ID="Label2" runat="server" Text='<%# Bind("EndTime", "{0:yyyy-M-d}") %>'></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="TaskAllInfo.aspx?ID={0}"
- HeaderText="查看详情" Text="查看" />
- </Columns>
- </asp:GridView>
- </td>
- </tr>
- <tr>
- </tr>
- </table>
- </asp:Panel>
- <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px" Visible="False">
- <table cellpadding="0" cellspacing="0" style="width: 605px">
- <tr>
- <td colspan="4" style="height: 19px">
- </td>
- </tr>
- <tr>
- <td colspan="4" style="height: 16px">
- <span style="font-size: 16pt"></span></td>
- </tr>
- <tr>
- <td style="height: 21px; width: 100px;">
- <span style="font-size: 9pt">下达者</span></td>
- <td style="width: 152px; text-align: left; font-size: 12pt; height: 21px;">
- <asp:DropDownList ID="dropRePro" runat="server" Font-Size="9pt" Width="145px">
- </asp:DropDownList></td>
- <td style="width: 100px; font-size: 12pt; height: 21px;">
- <span style="font-size: 9pt">接受者</span></td>
- <td style="text-align: left; font-size: 9pt; height: 21px;">
- <asp:DropDownList ID="dropAcceptPro" runat="server" Font-Size="9pt" Width="145px">
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td>
- <span style="font-size: 9pt">任务开始时间</span></td>
- <td style="text-align: left">
- <asp:TextBox ID="txtStartTime" runat="server" Font-Size="9pt" Width="140px"></asp:TextBox><span
- style="font-size: 9pt"> </span>
- <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtStartTime"
- ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
- <td style="font-size: 9pt">
- <span>任务结束时间</span></td>
- <td style="text-align: left; font-size: 12pt;">
- <asp:TextBox ID="txtEndTime" runat="server" Font-Size="9pt" Width="138px"></asp:TextBox>
- <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtEndTime"
- ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
- </tr>
- <tr style="font-size: 12pt">
- <td>
- <span style="font-size: 9pt">完成程度</span></td>
- <td style="text-align: left">
- <asp:TextBox ID="txtComPitch" runat="server" Font-Size="9pt" Width="140px"></asp:TextBox><span
- style="font-size: 9pt; color: #ff3300">(如50%)</span></td>
- <td>
- <span style="font-size: 9pt">重要性</span></td>
- <td style="text-align: left">
- <asp:DropDownList ID="dropImport" runat="server" Font-Size="9pt" Width="145px">
- <asp:ListItem>不重要</asp:ListItem>
- <asp:ListItem>一般</asp:ListItem>
- <asp:ListItem>非常重要</asp:ListItem>
- </asp:DropDownList></td>
- </tr>
- <tr>
- <td style="height: 19px">
- <span style="font-size: 9pt">任务描述</span></td>
- <td colspan="3" rowspan="2" style="text-align: left">
- <asp:TextBox ID="txtDescription" runat="server" Font-Size="9pt" Height="149px" TextMode="MultiLine"
- Width="441px"></asp:TextBox></td>
- </tr>
- <tr>
- <td style="height: 101px">
- </td>
- </tr>
- <tr>
- <td colspan="4" style="height: 22px; text-align: center">
- <asp:Button ID="btnOK" runat="server" Font-Size="9pt" Text="提交" OnClick="btnOK_Click" />
- <input id="Reset1" style="font-size: 9pt" type="reset" value="重置" />
- <asp:Button ID="btnBack" runat="server" Font-Size="9pt" Text="返回" OnClick="btnBack_Click" CausesValidation="False" /></td>
- </tr>
- </table>
- </asp:Panel>
- </td>
- </tr>
- <tr>
- </tr>
- <tr>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>