monitordocument.aspx

来自「一个工作流OA」· ASPX 代码 · 共 113 行

ASPX
113
字号
<%@ Page Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="MonitorDocument.aspx.cs"
	Inherits="Agile.OA.Web.MonitorDocument" %>

<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">

	<script type="text/javascript">
	$(
		function()
		{
			$("#Tasks").tableHover(
				{
					rowClass: "Hover"
				});
		});
	</script>

	<table class="Container">
		<tr>
			<td>
				<asp:ListView ID="Tasks" runat="server" ItemPlaceholderID="ItemContainer">
					<LayoutTemplate>
						<table id="Tasks" class="List">
							<thead>
								<tr>
									<th>
										名 称
									</th>
									<th>
										描 述
									</th>
									<th>
										类 型
									</th>
									<th>
										开始时间
									</th>
									<th>
										完成时间
									</th>
									<th>
										状 态
									</th>
									<th>
										办理人
									</th>
								</tr>
							</thead>
							<tbody id="ItemContainer" runat="server">
							</tbody>
						</table>
					</LayoutTemplate>
					<ItemTemplate>
						<tr>
							<td>
								<a href="ViewDocument.aspx?InstanceId=<%# Eval("Instance.Id") %>" target="_blank">
									<%# Eval("Name") %>
								</a>
							</td>
							<td>
								<%# Eval("Description") %>
							</td>
							<td>
								<%# Eval("Type") %>
							</td>
							<td>
								<%# Eval("StartTime", "{0:yyyy-MM-dd HH:mm:ss}") %>
							</td>
							<td>
								<%# Eval("FinishTime", "{0:yyyy-MM-dd HH:mm:ss}") %>
							</td>
							<td>
								<%# Eval("Status") %>
							</td>
							<td>
								<%# Eval("UserName") %>
							</td>
						</tr>
					</ItemTemplate>
					<EmptyDataTemplate>
						<table id="Tasks" class="List">
							<thead>
								<tr>
									<th>
										名 称
									</th>
									<th>
										描 述
									</th>
									<th>
										类 型
									</th>
									<th>
										开始时间
									</th>
									<th>
										完成时间
									</th>
									<th>
										状 态
									</th>
									<th>
										办理人
									</th>
								</tr>
							</thead>
						</table>
					</EmptyDataTemplate>
				</asp:ListView>
			</td>
		</tr>
	</table>
</asp:Content>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?