RoleAddUp.aspx
上传用户:kaisitong
上传日期:2022-01-01
资源大小:3672k
文件大小:15k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="RoleAddUp.aspx.vb" Inherits="ioffice.RoleAddUp"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../Styles.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  13. <form id="Form1" method="post" runat="server">
  14. <FONT face="宋体">
  15. <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  16. <TR>
  17. <TD style="HEIGHT: 12px" noWrap>
  18. </TD>
  19. </TR>
  20. <TR>
  21. <TD vAlign="top" noWrap align="middle">
  22. <TABLE style="WIDTH: 577px; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  23. <TR>
  24. <TD style="WIDTH: 376px" vAlign="top" noWrap>
  25. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  26. <TR>
  27. <TD noWrap>
  28. <asp:image id="Image1" runat="server" ImageUrl="../../img/button/roleman.gif" ImageAlign="AbsBottom"></asp:image>
  29. </TD>
  30. </TR>
  31. </TABLE>
  32. <DIV class="box" style="WIDTH: 99.73%; POSITION: relative; HEIGHT: 412px" ms_positioning="GridLayout">
  33. <asp:label id="Label1" style="Z-INDEX: 101; LEFT: 20px; POSITION: absolute; TOP: 16px" runat="server" CssClass="tttable">任务主题</asp:label>
  34. <asp:textbox id="txtSubject" style="Z-INDEX: 102; LEFT: 76px; POSITION: absolute; TOP: 16px" runat="server" CssClass="edline" Width="282px"></asp:textbox>
  35. <asp:textbox id="txtType" style="Z-INDEX: 103; LEFT: 76px; POSITION: absolute; TOP: 156px" runat="server" CssClass="edline" Width="111px"></asp:textbox>
  36. <asp:image id="Image2" style="Z-INDEX: 104; LEFT: 12px; POSITION: absolute; TOP: 104px" runat="server" ImageUrl="../../img/button/roledate.gif"></asp:image>
  37. <asp:label id="Label4" style="Z-INDEX: 105; LEFT: 48px; POSITION: absolute; TOP: 96px" runat="server" CssClass="tttable">开始日期</asp:label>
  38. <asp:label id="Label5" style="Z-INDEX: 106; LEFT: 48px; POSITION: absolute; TOP: 120px" runat="server" CssClass="tttable">完成期限</asp:label>
  39. <asp:image id="Image3" style="Z-INDEX: 107; LEFT: 192px; POSITION: absolute; TOP: 104px" runat="server" ImageUrl="../../img/button/remind.gif"></asp:image>
  40. <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>
  41. <asp:textbox id="txtFDate" style="Z-INDEX: 109; LEFT: 100px; POSITION: absolute; TOP: 96px" runat="server" Width="85px"></asp:textbox>
  42. <asp:textbox id="txtTDate" style="Z-INDEX: 110; LEFT: 100px; POSITION: absolute; TOP: 120px" runat="server" Width="85px"></asp:textbox>
  43. <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>
  44. <asp:label id="Label7" style="Z-INDEX: 112; LEFT: 324px; POSITION: absolute; TOP: 124px" runat="server" CssClass="tttable" Width="43px">天提示</asp:label>
  45. <asp:checkbox id="chkRemind" style="Z-INDEX: 113; LEFT: 220px; POSITION: absolute; TOP: 120px" runat="server" CssClass="tttable" AutoPostBack="True" Text="提醒:提前"></asp:checkbox>
  46. <asp:textbox id="txtContent" style="Z-INDEX: 114; LEFT: 20px; POSITION: absolute; TOP: 210px" runat="server" Width="340px" Height="158px" TextMode="MultiLine"></asp:textbox>
  47. <asp:linkbutton id="cmdType" style="Z-INDEX: 115; LEFT: 20px; POSITION: absolute; TOP: 156px" runat="server" CssClass="td" CausesValidation="False">任务类型</asp:linkbutton>
  48. <HR style="Z-INDEX: 116; LEFT: 20px; WIDTH: 338px; POSITION: absolute; TOP: 88px; HEIGHT: 1px" width="338" color="#996633" SIZE="1">
  49. <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 117; LEFT: 360px; POSITION: absolute; TOP: 20px" runat="server" CssClass="td" ControlToValidate="txtSubject" ErrorMessage="[任务主题]必须输入!">*</asp:requiredfieldvalidator>
  50. <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 118; LEFT: 184px; POSITION: absolute; TOP: 96px" runat="server" CssClass="td" ControlToValidate="txtFDate" ErrorMessage="[开始日期]必须输入!">*</asp:requiredfieldvalidator>
  51. <asp:customvalidator id="CustomValidator1" style="Z-INDEX: 119; LEFT: 184px; POSITION: absolute; TOP: 96px" runat="server" CssClass="td" ControlToValidate="txtFDate" ErrorMessage="[开始日期]日期格式不正确!">#</asp:customvalidator>
  52. <asp:label id="lblAuthor" style="Z-INDEX: 120; LEFT: 20px; POSITION: absolute; TOP: 380px" runat="server" CssClass="tttable" Visible="False">创建者</asp:label>
  53. <asp:label id="lblCDate" style="Z-INDEX: 121; LEFT: 162px; POSITION: absolute; TOP: 381px" runat="server" CssClass="tttable" Visible="False">创建日期</asp:label>
  54. <asp:label id="lblAuthorV" style="Z-INDEX: 122; LEFT: 68px; POSITION: absolute; TOP: 380px" runat="server" CssClass="td"></asp:label>
  55. <asp:label id="lblCDateV" style="Z-INDEX: 123; LEFT: 223px; POSITION: absolute; TOP: 380px" runat="server" CssClass="td"></asp:label>
  56. <asp:textbox id="txtOBJ" style="Z-INDEX: 124; LEFT: 76px; POSITION: absolute; TOP: 44px" runat="server" CssClass="edline" Width="284px"></asp:textbox>
  57. <asp:label id="Label2" style="Z-INDEX: 125; LEFT: 224px; POSITION: absolute; TOP: 96px" runat="server" CssClass="tttable">状态</asp:label>
  58. <asp:dropdownlist id="dropStatus" style="Z-INDEX: 126; LEFT: 252px; POSITION: absolute; TOP: 96px" runat="server" Width="108px" Height="23px">
  59. <asp:ListItem Value="未开始">未开始</asp:ListItem>
  60. <asp:ListItem Value="进行中">进行中</asp:ListItem>
  61. <asp:ListItem Value="已完成">已完成</asp:ListItem>
  62. <asp:ListItem Value="正在等待其他人">正在等待其他人</asp:ListItem>
  63. <asp:ListItem Value="已推迟">已推迟</asp:ListItem>
  64. <asp:ListItem Value="未完成">未完成</asp:ListItem>
  65. </asp:dropdownlist>
  66. <HR style="Z-INDEX: 127; LEFT: 21px; WIDTH: 334px; POSITION: absolute; TOP: 148px; HEIGHT: 1px" width="334" SIZE="1">
  67. <asp:label id="Label3" style="Z-INDEX: 128; LEFT: 220px; POSITION: absolute; TOP: 156px" runat="server" CssClass="tttable"> 优先级</asp:label>
  68. <asp:dropdownlist id="dropImp" style="Z-INDEX: 129; LEFT: 276px; POSITION: absolute; TOP: 155px" runat="server" Width="87px" Height="23px">
  69. <asp:ListItem Value="低">低</asp:ListItem>
  70. <asp:ListItem Value="普通">普通</asp:ListItem>
  71. <asp:ListItem Value="高">高</asp:ListItem>
  72. </asp:dropdownlist>
  73. <asp:label id="Label6" style="Z-INDEX: 130; LEFT: 20px; POSITION: absolute; TOP: 180px" runat="server" CssClass="tttable">预算费用</asp:label>
  74. <asp:textbox id="txtPreFair" style="Z-INDEX: 131; LEFT: 76px; POSITION: absolute; TOP: 180px" runat="server" CssClass="edline" Width="108px"></asp:textbox>
  75. <asp:label id="Label8" style="Z-INDEX: 132; LEFT: 220px; POSITION: absolute; TOP: 180px" runat="server" CssClass="tttable">发生费用</asp:label>
  76. <asp:textbox id="txtRealFair" style="Z-INDEX: 133; LEFT: 276px; POSITION: absolute; TOP: 180px" runat="server" CssClass="edline" Width="74px" ReadOnly="True"></asp:textbox>
  77. <asp:label id="Label9" style="Z-INDEX: 134; LEFT: 20px; POSITION: absolute; TOP: 44px" runat="server" CssClass="tttable">任务对象</asp:label>
  78. <asp:image id="Image4" style="Z-INDEX: 135; LEFT: 188px; POSITION: absolute; TOP: 160px" runat="server" ImageUrl="../../img/button/roleimp.gif"></asp:image>
  79. <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>
  80. <asp:customvalidator id="CustomValidator3" style="Z-INDEX: 137; LEFT: 184px; POSITION: absolute; TOP: 180px" runat="server" ErrorMessage="[预算费用]必须为数字,请重新输入!">#</asp:customvalidator>
  81. <asp:requiredfieldvalidator id="RequiredFieldValidator3" style="Z-INDEX: 138; LEFT: 182px; POSITION: absolute; TOP: 123px" runat="server" ControlToValidate="txtTDate" ErrorMessage="[完成期限]必须输入!">*</asp:requiredfieldvalidator>
  82. <asp:customvalidator id="CustomValidator4" style="Z-INDEX: 139; LEFT: 183px; POSITION: absolute; TOP: 121px" runat="server" ControlToValidate="txtTDate" ErrorMessage="[完成期限]必须大于[开始日期]!">#</asp:customvalidator>
  83. <asp:CustomValidator id="CustomValidator2" style="Z-INDEX: 140; LEFT: 359px; POSITION: absolute; TOP: 125px" runat="server" ErrorMessage="[提前]天数必须为数字!">#</asp:CustomValidator>
  84. </DIV>
  85. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  86. <TR>
  87. <TD noWrap height="10">
  88. </TD>
  89. </TR>
  90. <TR>
  91. <TD noWrap>
  92. <asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../../img/button/saveexi.gif"></asp:imagebutton>
  93. <asp:imagebutton id="cmdDel" runat="server" ImageUrl="../../img/button/delete.gif" CausesValidation="False" ToolTip="删除日程"></asp:imagebutton>
  94. <asp:imagebutton id="cmdExit" runat="server" ImageUrl="../../img/button/exit.gif" CausesValidation="False"></asp:imagebutton>
  95. </TD>
  96. </TR>
  97. </TABLE>
  98. <asp:label id="lblID" runat="server" Visible="False"></asp:label>
  99. <asp:label id="lblErr" runat="server" CssClass="err" Height="22px"></asp:label>
  100. <asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary>
  101. <asp:label id="lblURL" runat="server" Visible="False"></asp:label>
  102. <asp:label id="lblManager" runat="server" Visible="False"></asp:label>
  103. </TD>
  104. <TD style="WIDTH: 2.09%" vAlign="top">
  105. </TD>
  106. <TD style="WIDTH: 40%" vAlign="top" noWrap align="right">
  107. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  108. <TR>
  109. <TD style="HEIGHT: 24px" noWrap height="24">
  110. &nbsp;
  111. </TD>
  112. </TR>
  113. </TABLE>
  114. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  115. <TR>
  116. <TD style="WIDTH: 58px" noWrap>
  117. <asp:linkbutton id="cmdManager" runat="server" CssClass="tttable"> 负责人</asp:linkbutton>
  118. </TD>
  119. <TD noWrap>
  120. <asp:textbox id="txtManager" runat="server" CssClass="edline" Width="100%" ReadOnly="True"></asp:textbox>
  121. </TD>
  122. <TD noWrap width="10">
  123. <asp:imagebutton id="cmdAddManager" runat="server" ImageUrl="../../img/down_arrow.gif" ToolTip="选取负责人"></asp:imagebutton>
  124. </TD>
  125. </TR>
  126. </TABLE>
  127. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  128. <TR>
  129. <TD noWrap bgColor="#d0d0d0">
  130. <asp:linkbutton id="cmdRoleEmp" runat="server" CssClass="tttable">执行员工</asp:linkbutton>
  131. </TD>
  132. <TD noWrap width="10">
  133. <asp:imagebutton id="cmdAddRoleEmp" runat="server" ImageUrl="../../img/add.gif" ToolTip="新增执行员工"></asp:imagebutton>
  134. </TD>
  135. </TR>
  136. </TABLE>
  137. <asp:datagrid id="dgdRoleEmp" runat="server" CssClass="td" Width="132px" BorderWidth="0px" BorderColor="#F0E8D8" ShowHeader="False" AutoGenerateColumns="False" DataKeyField="id">
  138. <Columns>
  139. <asp:BoundColumn DataField="name"></asp:BoundColumn>
  140. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif border=0 alt=删除&gt;" CommandName="Delete">
  141. <HeaderStyle Width="10px">
  142. </HeaderStyle>
  143. </asp:ButtonColumn>
  144. </Columns>
  145. </asp:datagrid>
  146. <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
  147. <TR>
  148. <TD class="tttable" noWrap bgColor="#d0d0d0">
  149. 其它员工
  150. </TD>
  151. <TD noWrap width="10">
  152. <asp:imagebutton id="cmdAddOtherEmp" runat="server" ImageUrl="../../img/add.gif" ToolTip="新增其他员工"></asp:imagebutton>
  153. </TD>
  154. </TR>
  155. </TABLE>
  156. <asp:datagrid id="dgdOtherEmp" runat="server" CssClass="td" Width="133px" BorderWidth="0px" BorderColor="#F0E8D8" ShowHeader="False" AutoGenerateColumns="False" DataKeyField="id">
  157. <Columns>
  158. <asp:BoundColumn DataField="name"></asp:BoundColumn>
  159. <asp:ButtonColumn Text="&lt;img src=../../img/delete.gif alt=删除 border=0 &gt;" CommandName="Delete">
  160. <HeaderStyle Width="10px">
  161. </HeaderStyle>
  162. </asp:ButtonColumn>
  163. </Columns>
  164. </asp:datagrid>
  165. <TABLE style="WIDTH: 100%; HEIGHT: 26px" cellSpacing="0" cellPadding="0" border="0">
  166. <TR>
  167. <TD class="tttable" style="WIDTH: 163px" noWrap height="10">
  168. </TD>
  169. <TD class="tttable" noWrap height="10">
  170. </TD>
  171. </TR>
  172. <TR>
  173. <TD class="tttable" noWrap bgColor="#d0d0d0">
  174. 工作进程
  175. </TD>
  176. <TD class="tttable" noWrap width="10" bgColor="#d0d0d0">
  177. <asp:imagebutton id="cmdAddPro" runat="server" ImageUrl="../../img/add.gif" ToolTip="新增工作进程"></asp:imagebutton>
  178. </TD>
  179. </TR>
  180. </TABLE>
  181. <asp:datagrid id="dgdPro" runat="server" CssClass="td" Width="100%" BorderWidth="0px" BorderColor="#F0E8D8" ShowHeader="False" AutoGenerateColumns="False" DataKeyField="proid">
  182. <Columns>
  183. <asp:HyperLinkColumn DataNavigateUrlField="proid" DataNavigateUrlFormatString="RolePro.aspx?reurl=roleaddup.aspx&amp;proid={0}" DataTextField="subject"></asp:HyperLinkColumn>
  184. <asp:BoundColumn DataField="fdate">
  185. <ItemStyle Wrap="False">
  186. </ItemStyle>
  187. </asp:BoundColumn>
  188. </Columns>
  189. </asp:datagrid>
  190. </TD>
  191. </TR>
  192. </TABLE>
  193. </TD>
  194. </TR>
  195. </TABLE>
  196. </FONT>
  197. </form>
  198. </body>
  199. </HTML>