WorkFlowWait.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:16k
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkFlowWait.aspx.cs" Inherits="WorkFlow_WorkFlowWait" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>待办工作</title>
- <link href="style/gridStyle.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <table width="100%" style="height:100%; border:0;" cellpadding="0" cellspacing="0" >
- <tr>
- <td>
- <img alt="" src="image/top_29.jpg" height="25" style="vertical-align:middle;"/>
-
- </td>
- <td style="background-image:url(image/top_32.jpg); width:100%; font-size:14px;">
- <strong> 待办事宜 </strong>
- </td>
- <td style="background-image:url(image/top_32.jpg);">
- <a href="WorkFlowWaitList.aspx?StrWait=1"/><img alt="更多的待办事宜..." src="Image/xx5.gif" style="vertical-align:middle; border:0;"/>
- </td>
- <td>
- <img alt="" src="Image/top_34.jpg" height="25" style="vertical-align:middle;"/>
- </td>
- </tr>
-
- </table>
-
- <table style="height:230px;" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td><img alt="" height="230px" src="image/r_004.gif" width="10"/></td>
- <td style="PADDING-TOP:4px; width:100%;" valign="top">
-
-
- <!-- -->
- <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
- Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
- SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText"
- FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView1_PageIndexChanging"
- OnRowDataBound="GridView1_RowDataBound">
- <AlternatingRowStyle BackColor="#F0F0F0" />
- <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
- <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
- <Columns>
- <asp:TemplateField HeaderText="序号">
- <ItemTemplate>
- <%#(Container.DataItemIndex+1)%>
- </ItemTemplate>
- </asp:TemplateField>
-
- <asp:TemplateField HeaderText="项目名称">
- <ItemTemplate>
- <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
- </asp:HyperLink>
- <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow">
- <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>
- </asp:LinkButton> <%-- CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'--%>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="WFName" HeaderText="工作流名称" />
- <asp:BoundField DataField="ActName" HeaderText="活动名称" />
- <asp:BoundField DataField="PageUrl" HeaderText="页面" Visible="false" />
- <asp:BoundField DataField="WorkFlowID" HeaderText="工作流id" Visible="false" />
- <asp:BoundField DataField ="ActID" HeaderText="活动实例" Visible="false" />
- <%-- <asp:BoundField DataField="AcceptDate" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />--%>
- <%-- <asp:TemplateField HeaderText="工作流状态">
- <ItemTemplate>
- <asp:Label id="Label2" runat="server" Text='<%# FormatStr(DataBinder.Eval(Container,"DataItem.Status")) %>'>
- </asp:Label>
- </ItemTemplate>
-
- </asp:TemplateField>--%>
- <%--<asp:BoundField DataField="Status" HeaderText="工作流状态" />--%>
- </Columns>
- <FooterStyle CssClass="GridFooter" />
- <PagerStyle CssClass="GridPage" />
- <PagerTemplate>
- <asp:Label ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>
- <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>
- <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
- 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页
- <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
- MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
- <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" />
- </PagerTemplate>
- <EmptyDataTemplate>
- <table width="100%" class="GridHeader">
- <tr>
- <td style="border:1px solid #CCCCCC;">序号</td>
- <td style="border:1px solid #CCCCCC;">项目名称</td>
- <td style="border:1px solid #CCCCCC;">工作流名称</td>
- <td style="border:1px solid #CCCCCC;">活动名称</td>
- </tr>
- </table>
- <center class="EmpetyData"> 系统提示:您没有待办事宜!</center>
- </EmptyDataTemplate>
- </asp:GridView>
-
-
-
- <!-- -->
-
- </td>
- <td><img alt="" height="230px" src="image/r_005.gif" width="8"/></td>
- </tr>
- </table>
-
- <table width="100%" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td><img alt="" src="image/r_006.gif" /></td>
- <td style="width:100%; background-image:url(image/r_007.gif);"></td>
- <td><img alt="" src="image/r_008.gif"/></td>
- </tr>
- </table>
-
- <table width="100%" style="height:100%; border:0;" cellpadding="0" cellspacing="0">
- <tr>
- <td>
- <img alt="" src="Image/top_29.jpg" height="25" style="vertical-align:middle;"/>
- </td>
- <td style="background-image:url(image/top_32.jpg); width:100%; font-size:14px;">
- <strong> 公共事宜 </strong>
- </td>
- <td style="background-image:url(image/top_32.jpg);">
- <a href="WorkFlowWaitList.aspx?StrWait=2"/><img alt="更多公共事宜..." src="Image/xx5.gif" style="vertical-align:middle; border:0;"/>
- </td>
- <td>
- <img alt="" src="Image/top_34.jpg" height="25" style="vertical-align:middle;"/>
- </td>
- </tr>
- </table>
-
- <table style="height:230px;" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td><img alt="" height="230px" src="image/r_004.gif" width="10"/></td>
- <td style="PADDING-TOP:4px; width:100%;" valign="top">
-
- <!------------------------------------------------------->
-
- <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
- Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
- SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText"
- FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView2_PageIndexChanging"
- OnRowDataBound="GridView2_RowDataBound" SelectedRowStyle-BorderStyle="None">
- <AlternatingRowStyle BackColor="#F0F0F0" />
- <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
- <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
- <Columns>
- <asp:TemplateField HeaderText="序号">
- <ItemTemplate>
- <%#(Container.DataItemIndex+1)%>
- </ItemTemplate>
- </asp:TemplateField>
-
- <asp:TemplateField HeaderText="项目名称">
- <ItemTemplate>
- <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
- </asp:HyperLink> <%-- NavigateUrl='WFTaskBrowse.aspx?AssID=<%# DataBinder.Eval(Container,"DataItem.AssID") %>'--%>
- <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow">
- <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>
- </asp:LinkButton> <%-- CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'--%>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="WFName" HeaderText="工作流名称" />
- <asp:BoundField DataField="ActName" HeaderText="活动名称" />
- <asp:BoundField DataField="PageUrl" HeaderText="页面" Visible="false" />
- <asp:BoundField DataField="WorkFlowID" HeaderText="工作流id" Visible="false" />
- <asp:BoundField DataField ="ActID" HeaderText="活动实例" Visible="false" />
- <%--<asp:BoundField DataField="AcceptDate" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />--%>
- </Columns>
- <FooterStyle CssClass="GridFooter" />
- <PagerStyle CssClass="GridPage" />
- <PagerTemplate>
-
- <%-- <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False"
- Width="100%" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid"
- SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText"
- FooterStyle-CssClass="GridFooter" ShowFooter="True" OnPageIndexChanging="GridView2_PageIndexChanging"
- OnRowDataBound="GridView2_RowDataBound" SelectedRowStyle-BorderStyle="None">
- <AlternatingRowStyle BackColor="#F0F0F0" />
- <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
- <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
- <Columns>
- <asp:TemplateField HeaderText="序号">
- <ItemTemplate>
- <%#(Container.DataItemIndex+1)%>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:TemplateField HeaderText="项目名称">
- <ItemTemplate>
- <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.UserAccount")%>' Text='<%# DataBinder.Eval(Container, "DataItem.UserAccount") %>'>
- </asp:HyperLink>
- <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.UserAccount") %>'>
- <%# DataBinder.Eval(Container, "DataItem.UserAccount")%>
- </asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="UserAccount" HeaderText="项目流水号" />
- <asp:BoundField DataField="UserDecs" HeaderText="工作流名称" />
- <asp:BoundField DataField="IPAddress" HeaderText="活动名称" />
- <asp:BoundField DataField="IPAddress" HeaderText="项目编号" />
- <asp:BoundField DataField="UserAccount" HeaderText="分配时间" DataFormatString="{0:yyyy-MM-dd}" />
- </Columns>
- <FooterStyle CssClass="GridFooter" />
- <PagerStyle CssClass="GridPage" />
- <PagerTemplate>--%>
-
- <asp:Label ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>
- <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>
- <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
- 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页
- <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
- MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
- <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" />
- </PagerTemplate>
- <EmptyDataTemplate>
- <table width="100%" class="GridHeader">
- <tr>
- <td style="border:1px solid #CCCCCC;">序号</td>
- <td style="border:1px solid #CCCCCC;">项目名称</td>
- <td style="border:1px solid #CCCCCC;">工作流名称</td>
- <td style="border:1px solid #CCCCCC;">活动名称</td>
- </tr>
- </table>
- <center class="EmpetyData"> 系统提示:您没有公共事宜!</center>
- </EmptyDataTemplate>
- </asp:GridView>
-
- <!------------------------------------------------------->
-
-
- </td>
- <td><img alt="" height="230px" src="image/r_005.gif" width="8"/></td>
- </tr>
- </table>
-
- <table width="100%" cellpadding="0" cellspacing="0" border="0">
-
- <tr>
- <td><img alt="" src="image/r_006.gif" /></td>
- <td style="width:100%; background-image:url(image/r_007.gif);"></td>
- <td><img alt="" src="image/r_008.gif"/></td>
- </tr>
- </table>
-
- </div>
- </form>
- </body>
- </html>