RoleAddUp.aspx
资源名称:ioffice-e.rar [点击查看]
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:15k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="vb" AutoEventWireup="false" Codebehind="RoleAddUp.aspx.vb" Inherits="ioffice.RoleAddUp"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <HEAD>
- <title></title>
- <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
- <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
- <form id="Form1" method="post" runat="server">
- <FONT face="宋体">
- <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="HEIGHT: 12px" noWrap>
- </TD>
- </TR>
- <TR>
- <TD vAlign="top" noWrap align="middle">
- <TABLE style="WIDTH: 577px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD style="WIDTH: 376px" vAlign="top" noWrap>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap>
- <asp:image id="Image1" runat="server" ImageUrl="../../img/button/roleman.gif" ImageAlign="AbsBottom"></asp:image>
- </TD>
- </TR>
- </TABLE>
- <DIV class="box" style="WIDTH: 99.73%; POSITION: relative; HEIGHT: 412px" ms_positioning="GridLayout">
- <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 20px; POSITION: absolute; TOP: 16px" runat="server" CssClass="tttable">任务主题</asp:label>
- <asp:textbox id="txtSubject" style="Z-INDEX: 102; LEFT: 76px; POSITION: absolute; TOP: 16px" runat="server" CssClass="edline" Width="282px"></asp:textbox>
- <asp:textbox id="txtType" style="Z-INDEX: 103; LEFT: 76px; POSITION: absolute; TOP: 156px" runat="server" CssClass="edline" Width="111px"></asp:textbox>
- <asp:image id="Image2" style="Z-INDEX: 104; LEFT: 12px; POSITION: absolute; TOP: 104px" runat="server" ImageUrl="../../img/button/roledate.gif"></asp:image>
- <asp:label id="Label4" style="Z-INDEX: 105; LEFT: 48px; POSITION: absolute; TOP: 96px" runat="server" CssClass="tttable">开始日期</asp:label>
- <asp:label id="Label5" style="Z-INDEX: 106; LEFT: 48px; POSITION: absolute; TOP: 120px" runat="server" CssClass="tttable">完成期限</asp:label>
- <asp:image id="Image3" style="Z-INDEX: 107; LEFT: 192px; POSITION: absolute; TOP: 104px" runat="server" ImageUrl="../../img/button/remind.gif"></asp:image>
- <asp:dropdownlist id="dropType" style="Z-INDEX: 108; LEFT: 76px; POSITION: absolute; TOP: 155px" runat="server" Width="110px" Height="23px" Visible="False" DataTextField="name" DataValueField="id" AutoPostBack="True"></asp:dropdownlist>
- <asp:textbox id="txtFDate" style="Z-INDEX: 109; LEFT: 100px; POSITION: absolute; TOP: 96px" runat="server" Width="85px"></asp:textbox>
- <asp:textbox id="txtTDate" style="Z-INDEX: 110; LEFT: 100px; POSITION: absolute; TOP: 120px" runat="server" Width="85px"></asp:textbox>
- <asp:textbox id="txtRemind" style="Z-INDEX: 111; LEFT: 307px; POSITION: absolute; TOP: 123px" runat="server" CssClass="edline" Width="14px" Enabled="False" MaxLength="2" ForeColor="#C04000"></asp:textbox>
- <asp:label id="Label7" style="Z-INDEX: 112; LEFT: 324px; POSITION: absolute; TOP: 124px" runat="server" CssClass="tttable" Width="43px">天提示</asp:label>
- <asp:checkbox id="chkRemind" style="Z-INDEX: 113; LEFT: 220px; POSITION: absolute; TOP: 120px" runat="server" CssClass="tttable" AutoPostBack="True" Text="提醒:提前"></asp:checkbox>
- <asp:textbox id="txtContent" style="Z-INDEX: 114; LEFT: 20px; POSITION: absolute; TOP: 210px" runat="server" Width="340px" Height="158px" TextMode="MultiLine"></asp:textbox>
- <asp:linkbutton id="cmdType" style="Z-INDEX: 115; LEFT: 20px; POSITION: absolute; TOP: 156px" runat="server" CssClass="td" CausesValidation="False">任务类型</asp:linkbutton>
- <HR style="Z-INDEX: 116; LEFT: 20px; WIDTH: 338px; POSITION: absolute; TOP: 88px; HEIGHT: 1px" width="338" color="#996633" SIZE="1">
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 117; LEFT: 360px; POSITION: absolute; TOP: 20px" runat="server" CssClass="td" ControlToValidate="txtSubject" ErrorMessage="[任务主题]必须输入!">*</asp:requiredfieldvalidator>
- <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 118; LEFT: 184px; POSITION: absolute; TOP: 96px" runat="server" CssClass="td" ControlToValidate="txtFDate" ErrorMessage="[开始日期]必须输入!">*</asp:requiredfieldvalidator>
- <asp:customvalidator id="CustomValidator1" style="Z-INDEX: 119; LEFT: 184px; POSITION: absolute; TOP: 96px" runat="server" CssClass="td" ControlToValidate="txtFDate" ErrorMessage="[开始日期]日期格式不正确!">#</asp:customvalidator>
- <asp:label id="lblAuthor" style="Z-INDEX: 120; LEFT: 20px; POSITION: absolute; TOP: 380px" runat="server" CssClass="tttable" Visible="False">创建者</asp:label>
- <asp:label id="lblCDate" style="Z-INDEX: 121; LEFT: 162px; POSITION: absolute; TOP: 381px" runat="server" CssClass="tttable" Visible="False">创建日期</asp:label>
- <asp:label id="lblAuthorV" style="Z-INDEX: 122; LEFT: 68px; POSITION: absolute; TOP: 380px" runat="server" CssClass="td"></asp:label>
- <asp:label id="lblCDateV" style="Z-INDEX: 123; LEFT: 223px; POSITION: absolute; TOP: 380px" runat="server" CssClass="td"></asp:label>
- <asp:textbox id="txtOBJ" style="Z-INDEX: 124; LEFT: 76px; POSITION: absolute; TOP: 44px" runat="server" CssClass="edline" Width="284px"></asp:textbox>
- <asp:label id="Label2" style="Z-INDEX: 125; LEFT: 224px; POSITION: absolute; TOP: 96px" runat="server" CssClass="tttable">状态</asp:label>
- <asp:dropdownlist id="dropStatus" style="Z-INDEX: 126; LEFT: 252px; POSITION: absolute; TOP: 96px" runat="server" Width="108px" Height="23px">
- <asp:ListItem Value="未开始">未开始</asp:ListItem>
- <asp:ListItem Value="进行中">进行中</asp:ListItem>
- <asp:ListItem Value="已完成">已完成</asp:ListItem>
- <asp:ListItem Value="正在等待其他人">正在等待其他人</asp:ListItem>
- <asp:ListItem Value="已推迟">已推迟</asp:ListItem>
- <asp:ListItem Value="未完成">未完成</asp:ListItem>
- </asp:dropdownlist>
- <HR style="Z-INDEX: 127; LEFT: 21px; WIDTH: 334px; POSITION: absolute; TOP: 148px; HEIGHT: 1px" width="334" SIZE="1">
- <asp:label id="Label3" style="Z-INDEX: 128; LEFT: 220px; POSITION: absolute; TOP: 156px" runat="server" CssClass="tttable"> 优先级</asp:label>
- <asp:dropdownlist id="dropImp" style="Z-INDEX: 129; LEFT: 276px; POSITION: absolute; TOP: 155px" runat="server" Width="87px" Height="23px">
- <asp:ListItem Value="低">低</asp:ListItem>
- <asp:ListItem Value="普通">普通</asp:ListItem>
- <asp:ListItem Value="高">高</asp:ListItem>
- </asp:dropdownlist>
- <asp:label id="Label6" style="Z-INDEX: 130; LEFT: 20px; POSITION: absolute; TOP: 180px" runat="server" CssClass="tttable">预算费用</asp:label>
- <asp:textbox id="txtPreFair" style="Z-INDEX: 131; LEFT: 76px; POSITION: absolute; TOP: 180px" runat="server" CssClass="edline" Width="108px"></asp:textbox>
- <asp:label id="Label8" style="Z-INDEX: 132; LEFT: 220px; POSITION: absolute; TOP: 180px" runat="server" CssClass="tttable">发生费用</asp:label>
- <asp:textbox id="txtRealFair" style="Z-INDEX: 133; LEFT: 276px; POSITION: absolute; TOP: 180px" runat="server" CssClass="edline" Width="74px" ReadOnly="True"></asp:textbox>
- <asp:label id="Label9" style="Z-INDEX: 134; LEFT: 20px; POSITION: absolute; TOP: 44px" runat="server" CssClass="tttable">任务对象</asp:label>
- <asp:image id="Image4" style="Z-INDEX: 135; LEFT: 188px; POSITION: absolute; TOP: 160px" runat="server" ImageUrl="../../img/button/roleimp.gif"></asp:image>
- <asp:image id="imgAlert" style="Z-INDEX: 136; LEFT: 353px; POSITION: absolute; TOP: 184px" runat="server" ImageUrl="../../img/alert.gif" Visible="False" ToolTip="[发生费用]超过[预算费用]!"></asp:image>
- <asp:customvalidator id="CustomValidator3" style="Z-INDEX: 137; LEFT: 184px; POSITION: absolute; TOP: 180px" runat="server" ErrorMessage="[预算费用]必须为数字,请重新输入!">#</asp:customvalidator>
- <asp:requiredfieldvalidator id="RequiredFieldValidator3" style="Z-INDEX: 138; LEFT: 182px; POSITION: absolute; TOP: 123px" runat="server" ControlToValidate="txtTDate" ErrorMessage="[完成期限]必须输入!">*</asp:requiredfieldvalidator>
- <asp:customvalidator id="CustomValidator4" style="Z-INDEX: 139; LEFT: 183px; POSITION: absolute; TOP: 121px" runat="server" ControlToValidate="txtTDate" ErrorMessage="[完成期限]必须大于[开始日期]!">#</asp:customvalidator>
- <asp:CustomValidator id="CustomValidator2" style="Z-INDEX: 140; LEFT: 359px; POSITION: absolute; TOP: 125px" runat="server" ErrorMessage="[提前]天数必须为数字!">#</asp:CustomValidator>
- </DIV>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap height="10">
- </TD>
- </TR>
- <TR>
- <TD noWrap>
- <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
- <asp:imagebutton id="cmdDel" runat="server" ImageUrl="../../img/button/delete.gif" CausesValidation="False" ToolTip="删除日程"></asp:imagebutton>
- <asp:imagebutton id="cmdExit" runat="server" ImageUrl="../../img/button/exit.gif" CausesValidation="False"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <asp:label id="lblID" runat="server" Visible="False"></asp:label>
- <asp:label id="lblErr" runat="server" CssClass="err" Height="22px"></asp:label>
- <asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>
- <asp:label id="lblURL" runat="server" Visible="False"></asp:label>
- <asp:label id="lblManager" runat="server" Visible="False"></asp:label>
- </TD>
- <TD style="WIDTH: 2.09%" vAlign="top">
- </TD>
- <TD style="WIDTH: 40%" vAlign="top" noWrap align="right">
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD style="HEIGHT: 24px" noWrap height="24">
-
- </TD>
- </TR>
- </TABLE>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD style="WIDTH: 58px" noWrap>
- <asp:linkbutton id="cmdManager" runat="server" CssClass="tttable"> 负责人</asp:linkbutton>
- </TD>
- <TD noWrap>
- <asp:textbox id="txtManager" runat="server" CssClass="edline" Width="100%" ReadOnly="True"></asp:textbox>
- </TD>
- <TD noWrap width="10">
- <asp:imagebutton id="cmdAddManager" runat="server" ImageUrl="../../img/down_arrow.gif" ToolTip="选取负责人"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD noWrap bgColor="#d0d0d0">
- <asp:linkbutton id="cmdRoleEmp" runat="server" CssClass="tttable">执行员工</asp:linkbutton>
- </TD>
- <TD noWrap width="10">
- <asp:imagebutton id="cmdAddRoleEmp" runat="server" ImageUrl="../../img/add.gif" ToolTip="新增执行员工"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <asp:datagrid id="dgdRoleEmp" runat="server" CssClass="td" Width="132px" BorderWidth="0px" BorderColor="#F0E8D8" ShowHeader="False" AutoGenerateColumns="False" DataKeyField="id">
- <Columns>
- <asp:BoundColumn DataField="name"></asp:BoundColumn>
- <asp:ButtonColumn Text="<img src=../../img/delete.gif border=0 alt=删除>" CommandName="Delete">
- <HeaderStyle Width="10px">
- </HeaderStyle>
- </asp:ButtonColumn>
- </Columns>
- </asp:datagrid>
- <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TR>
- <TD class="tttable" noWrap bgColor="#d0d0d0">
- 其它员工
- </TD>
- <TD noWrap width="10">
- <asp:imagebutton id="cmdAddOtherEmp" runat="server" ImageUrl="../../img/add.gif" ToolTip="新增其他员工"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <asp:datagrid id="dgdOtherEmp" runat="server" CssClass="td" Width="133px" BorderWidth="0px" BorderColor="#F0E8D8" ShowHeader="False" AutoGenerateColumns="False" DataKeyField="id">
- <Columns>
- <asp:BoundColumn DataField="name"></asp:BoundColumn>
- <asp:ButtonColumn Text="<img src=../../img/delete.gif alt=删除 border=0 >" CommandName="Delete">
- <HeaderStyle Width="10px">
- </HeaderStyle>
- </asp:ButtonColumn>
- </Columns>
- </asp:datagrid>
- <TABLE style="WIDTH: 100%; HEIGHT: 26px" cellSpacing="0" cellPadding="0" border="0">
- <TR>
- <TD class="tttable" style="WIDTH: 163px" noWrap height="10">
- </TD>
- <TD class="tttable" noWrap height="10">
- </TD>
- </TR>
- <TR>
- <TD class="tttable" noWrap bgColor="#d0d0d0">
- 工作进程
- </TD>
- <TD class="tttable" noWrap width="10" bgColor="#d0d0d0">
- <asp:imagebutton id="cmdAddPro" runat="server" ImageUrl="../../img/add.gif" ToolTip="新增工作进程"></asp:imagebutton>
- </TD>
- </TR>
- </TABLE>
- <asp:datagrid id="dgdPro" runat="server" CssClass="td" Width="100%" BorderWidth="0px" BorderColor="#F0E8D8" ShowHeader="False" AutoGenerateColumns="False" DataKeyField="proid">
- <Columns>
- <asp:HyperLinkColumn DataNavigateUrlField="proid" DataNavigateUrlFormatString="RolePro.aspx?reurl=roleaddup.aspx&proid={0}" DataTextField="subject"></asp:HyperLinkColumn>
- <asp:BoundColumn DataField="fdate">
- <ItemStyle Wrap="False">
- </ItemStyle>
- </asp:BoundColumn>
- </Columns>
- </asp:datagrid>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </FONT>
- </form>
- </body>
- </HTML>