WorkFlowTaskSession.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:9k
源码类别:

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="Workflow_WorkFlowTaskSession, App_Web_4afs73eh" theme="Normal" %>
  2. <%@ Register TagPrefix="UcPager" TagName="WorkFlowTaskSession" Src="~/UserControl/UserControlPage.ascx" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head runat="server">
  6. <link type="text/css" href="style/gridStyle.css" rel="Stylesheet" />
  7. <link type="text/css" href="style/formbody.css" rel="stylesheet" />
  8.     <title>工作流任务管理</title>
  9.     <script type="text/javascript">
  10.         function OKCancel()
  11. {
  12.     if (confirm("系统提示:您确定放弃本次操作吗?")) 
  13.     {
  14.         window.location.href("WorkFlowConfigure.aspx");
  15.     }
  16.     return false;
  17. }
  18. function OKHref()
  19. {
  20.     window.location.href("WorkFlowConfigure.aspx");
  21. }
  22.     </script>
  23. </head>
  24. <body>
  25.     <form id="form1" runat="server">
  26.     <div>
  27.      <table cellspacing="0" cellpadding="0" width="100%" border="0">
  28. <tr>
  29. <td style="width:10; height:10;"></td>
  30. <td style="width:60"></td>
  31. <td style="width:180"></td>
  32. <td style="width:200"></td>
  33. <td style="width:10"></td>
  34. </tr>
  35. <tr>
  36. <td style="height:20;"></td>
  37. <td>流程名称:</td>
  38. <td><asp:textbox id="txtProcessName" runat="server" ReadOnly="True" Height="20px" Width="150px" CssClass="input"></asp:textbox></td>
  39. <td></td>
  40. <td></td>
  41. </tr>
  42. <tr>
  43. <td style="height:8;"></td>
  44. <td></td>
  45. <td></td>
  46. <td></td>
  47. <td></td>
  48. </tr>
  49. <tr>
  50. <td style="height:20;"></td>
  51. <td>任务列表:</td>
  52. <td></td>
  53. <td></td>
  54. <td></td>
  55. </tr>
  56. <tr>
  57. <td></td>
  58. <td valign ="top" colspan="3">
  59. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  60. <tr>
  61. <td>
  62. <!---字段列表开始--->
  63. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  64. <tr>
  65. <td #808080;"></td>
  66. <td></td>
  67. <td valign="top" style="background-color:#ffffff">
  68. <div id="div_detail" style="OVERFLOW: auto; HEIGHT: 340px"><asp:datagrid id="dg_Main" runat="server" 
  69. Width="100%" BorderWidth="1px" AllowPaging="True" AutoGenerateColumns="False"
  70. BorderColor="Silver" CellPadding="1" AllowSorting="True" PageSize="15" BorderStyle="Double"
  71.  OnItemDataBound="dg_Main_ItemDataBound" OnItemCommand="dg_Main_ItemCommand">
  72. <SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
  73. <ItemStyle Height="18px" BorderWidth="0px" ForeColor="Black" BorderColor="Black"></ItemStyle>
  74. <HeaderStyle Font-Size="11pt" Font-Bold="True" BorderWidth="2px" ForeColor="Black" BorderStyle="Outset"
  75. BorderColor="Black" BackColor="#99CCFF"></HeaderStyle>
  76. <FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
  77. <Columns>
  78. <asp:BoundColumn Visible="False" DataField="ActivityID" HeaderText="ID"></asp:BoundColumn>
  79. <asp:BoundColumn DataField="ActName" HeaderText="任务名称">
  80. <HeaderStyle HorizontalAlign="Center" Width="12%"></HeaderStyle>
  81. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  82. </asp:BoundColumn>
  83. <asp:BoundColumn DataField="ParentActID" HeaderText="上级任务">
  84. <HeaderStyle HorizontalAlign="Center" Width="12%"></HeaderStyle>
  85. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  86. </asp:BoundColumn>
  87. <asp:BoundColumn DataField="RoleID" HeaderText="业务角色">
  88.     <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
  89. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  90. </asp:BoundColumn>
  91. <%--<asp:TemplateColumn HeaderText="有期限">
  92. <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
  93. <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
  94. <ItemTemplate>
  95. <asp:Image id="Image2" style="WIDTH: 12px; HEIGHT: 12px" runat="server" ImageUrl='../img/role/selected2.GIF' Visible='<%# iif(DataBinder.Eval(Container.DataItem,"TaskDeadLine")="1",true,false) %>'>
  96. </asp:Image>
  97. </ItemTemplate>
  98. </asp:TemplateColumn>--%>
  99. <asp:BoundColumn DataField="StartEnd" HeaderText="任务种类">
  100. <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
  101. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  102. </asp:BoundColumn>
  103. <asp:BoundColumn DataField="BlockFlag" HeaderText="阻塞方式">
  104. <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
  105. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  106. </asp:BoundColumn>
  107. <asp:BoundColumn DataField="ShuntFlag" HeaderText="分流方式">
  108.     <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
  109. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  110. </asp:BoundColumn>
  111. <%--<asp:TemplateColumn HeaderText="字段数">
  112. <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
  113. <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
  114. <ItemTemplate>
  115. <asp:Image id="img" style="WIDTH: 12px; HEIGHT: 12px" runat="server" ImageUrl='../img/role/selected2.GIF' Visible='<%# iif(DataBinder.Eval(Container.DataItem,"TaskValidFieldType")="0",true,false) %>'>
  116. </asp:Image>
  117. </ItemTemplate>
  118. </asp:TemplateColumn>--%>
  119. <asp:BoundColumn DataField="ModeFlag" HeaderText="协调方式">
  120. <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
  121. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  122. </asp:BoundColumn>
  123. <asp:BoundColumn DataField="Unit" HeaderText="使用单位">
  124. <HeaderStyle HorizontalAlign="Center" Width="12%"></HeaderStyle>
  125. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  126. </asp:BoundColumn>
  127. <asp:BoundColumn DataField="PageID" HeaderText="页面名称">
  128. <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
  129. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  130. </asp:BoundColumn>
  131. <asp:TemplateColumn>
  132. <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
  133. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  134. <HeaderTemplate>
  135. &nbsp;操作
  136. </HeaderTemplate>
  137. <ItemTemplate>
  138. <asp:ImageButton ID="btnModifyTask" ImageUrl="image/Modify.gif" runat="server" CommandName="Edit"></asp:ImageButton>
  139. <asp:ImageButton ID="btnDeleteTask" ImageUrl="image/Deleteg.gif" runat="server" CommandName="Delete" OnClientClick='<%#"return confirm("确定要删除任务『"+Eval("ActName")+"』的记录吗?");" %>'></asp:ImageButton>
  140. </ItemTemplate>
  141. </asp:TemplateColumn>
  142. </Columns>
  143. <PagerStyle Visible="False" HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF"
  144. Mode="NumericPages"></PagerStyle>
  145. </asp:datagrid>
  146. <UcPager:WorkFlowTaskSession runat ="server" ID="Pger"/>
  147. </div>
  148. </td>
  149. <td style="width:1;"></td>
  150. <td></td>
  151. </tr>
  152. </table>
  153. <!---字段列表结束---></td>
  154. <td valign="top" style="width:100;" ><br/>
  155. <br/>
  156. <br />
  157. <br/>
  158. <br/>
  159. <br/>
  160. <br/>
  161. <br/>
  162. <br/>
  163. <br/>
  164. <br/>
  165. <br/>
  166. <br/>
  167. <br/>
  168. <br/>
  169. <br/>
  170. </td>
  171. </tr>
  172. </table>
  173. </td>
  174. <td></td>
  175. </tr>
  176. <tr>
  177. <td style="height:10;"></td>
  178. <td></td>
  179. <td align="right">
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:ImageButton id="ImgAdd" runat="server" ImageUrl="image/5.gif" OnClick="ImgAdd_Click"></asp:ImageButton>
  181. <asp:ImageButton id="ImageButton2" runat="server" ImageUrl="image/confirm.gif" OnClientClick="javascript:return OKHref()"></asp:ImageButton>
  182. <asp:ImageButton id="ImageButton3" runat="server" ImageUrl="image/cancel.gif" OnClientClick="javascript:return OKCancel();"></asp:ImageButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  183. <td></td>
  184. <td></td>
  185. </tr>
  186. </table>
  187.     
  188.     </div>
  189.     </form>
  190. </body>
  191. </html>