RoadFlow2.1 临时演示

List.aspx 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="WebForm.Platform.WorkFlowArchives.List" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="form1" runat="server">
  10. <div class="querybar">
  11. <table cellpadding="0" cellspacing="1" border="0" width="100%">
  12. <tr>
  13. <td>
  14. 标题:<input type="text" class="mytext" id="Title1" name="Title1" runat="server" style="width:180px" />
  15. <input type="submit" name="Search" value="查询" class="mybutton" />
  16. </td>
  17. </tr>
  18. </table>
  19. </div>
  20. <table class="listtable">
  21. <thead>
  22. <tr>
  23. <th width="50%">标题</th>
  24. <th width="15%">流程</th>
  25. <th width="15%">步骤</th>
  26. <th width="20%">归档时间</th>
  27. </tr>
  28. </thead>
  29. <tbody>
  30. <%
  31. foreach (System.Data.DataRow dr in Dt.Rows)
  32. {%>
  33. <tr>
  34. <td><a href="javascript:show('<%=dr["ID"] %>');" class="blue"><%=dr["Title"] %></a></td>
  35. <td><%=dr["FlowName"] %></td>
  36. <td><%=dr["StepName"] %></td>
  37. <td><%=dr["WriteTime"].ToString().ToDateTimeStringS() %></td>
  38. </tr>
  39. <% } %>
  40. </tbody>
  41. </table>
  42. <div class="buttondiv"><asp:Literal ID="Pager" runat="server"></asp:Literal></div>
  43. </form>
  44. <script type="text/javascript">
  45. var appid = '<%=appid%>';
  46. var iframeid = '<%=tabid%>';
  47. var typeid = '<%=typeid%>';
  48. var dialog = top.mainDialog;
  49. function show(id)
  50. {
  51. dialog.open({
  52. id: "window_" + appid.replaceAll('-', ''), title: "查看归档内容", width: 980, height: 500,
  53. url: top.rootdir + '/Platform/WorkFlowArchives/Show.aspx?id=' + id + '<%=query1%>', openerid: iframeid
  54. });
  55. }
  56. </script>
  57. </body>
  58. </html>