| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="WebForm.Platform.WorkFlowArchives.List" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title></title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div class="querybar">
- <table cellpadding="0" cellspacing="1" border="0" width="100%">
- <tr>
- <td>
- 标题:<input type="text" class="mytext" id="Title1" name="Title1" runat="server" style="width:180px" />
- <input type="submit" name="Search" value="查询" class="mybutton" />
- </td>
- </tr>
- </table>
- </div>
- <table class="listtable">
- <thead>
- <tr>
- <th width="50%">标题</th>
- <th width="15%">流程</th>
- <th width="15%">步骤</th>
- <th width="20%">归档时间</th>
- </tr>
- </thead>
- <tbody>
- <%
- foreach (System.Data.DataRow dr in Dt.Rows)
- {%>
-
- <tr>
- <td><a href="javascript:show('<%=dr["ID"] %>');" class="blue"><%=dr["Title"] %></a></td>
- <td><%=dr["FlowName"] %></td>
- <td><%=dr["StepName"] %></td>
- <td><%=dr["WriteTime"].ToString().ToDateTimeStringS() %></td>
- </tr>
- <% } %>
- </tbody>
- </table>
- <div class="buttondiv"><asp:Literal ID="Pager" runat="server"></asp:Literal></div>
- </form>
- <script type="text/javascript">
- var appid = '<%=appid%>';
- var iframeid = '<%=tabid%>';
- var typeid = '<%=typeid%>';
- var dialog = top.mainDialog;
-
- function show(id)
- {
- dialog.open({
- id: "window_" + appid.replaceAll('-', ''), title: "查看归档内容", width: 980, height: 500,
- url: top.rootdir + '/Platform/WorkFlowArchives/Show.aspx?id=' + id + '<%=query1%>', openerid: iframeid
- });
- }
- </script>
- </body>
- </html>
|