📄 listwaitingdocument.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="ListWaitingDocument.aspx.cs"
Inherits="Agile.OA.Web.ListWaitingDocument" %>
<asp:Content ID="Content" ContentPlaceHolderID="Content" runat="server">
<script type="text/javascript">
$(
function()
{
$("#Tasks").tableHover(
{
rowClass: "Hover"
});
var items = $("input:radio", $("#Tasks"));
if (items.length > 0)
{
var item = items[0];
$(item).attr("checked", true);
$("#Id").val(item.title);
$("#Transact").attr("disabled", false);
}
else
{
$("#Transact").attr("disabled", true);
}
$("input:radio", $("#Tasks")).click(
function()
{
$("#Id").val(this.title);
});
$("#Transact").click(
function()
{
location.href = "EditDocument.aspx?InstanceId=" + $("#Id").val();
});
});
</script>
<table class="Container">
<tr>
<td class="Top">
<input id="Transact" type="button" class="Button" value="办 理" />
</td>
</tr>
<tr>
<td>
<asp:ListView ID="Tasks" runat="server" ItemPlaceholderID="ItemContainer">
<LayoutTemplate>
<table id="Tasks" class="List">
<thead>
<tr>
<th class="Choose">
</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>
<input id="Item" type="radio" title="<%# Eval("Instance.Id") %>" />
</td>
<td>
<%# Eval("Name") %>
</td>
<td>
<%# Eval("Description") %>
</td>
<td>
<%# Eval("Instance.Name") %>
</td>
<td>
<%# Eval("Instance.Description") %>
</td>
<td>
<%# Eval("StartTime", "{0:yyyy-MM-dd HH:mm:ss}") %>
</td>
<td>
<%# Eval("Status") %>
</td>
</tr>
</ItemTemplate>
<EmptyDataTemplate>
<table id="Tasks" class="List">
<thead>
<tr>
<th class="Choose">
</th>
<th>
任务名称
</th>
<th>
任务描述
</th>
<th>
流程名称
</th>
<th>
流程描述
</th>
<th>
开始时间
</th>
<th>
状 态
</th>
</tr>
</thead>
</table>
</EmptyDataTemplate>
</asp:ListView>
<input id="Id" type="hidden" />
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -