WorkFlowWaitList.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:9k
- <%@ page language="C#" autoeventwireup="true" inherits="WorkFlow_WorkFlowWaitList, App_Web_-rs7x2pk" theme="Normal" %>
- <!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" />
- <script type="text/javascript" >
- function getparastr(strname)
- {
- var hrefstr,pos,parastr,para,tempstr;
- hrefstr = window.location.href;
- pos = hrefstr.indexOf("?")
- parastr = hrefstr.substring(pos+1);
- para = parastr.split("&");
- tempstr="";
- for(i=0;i<para.length;i++)
- {
- tempstr = para[i];
- pos = tempstr.indexOf("=");
- if(tempstr.substring(0,pos) == strname)
- {
- if (tempstr.substring(pos+1)=="1")
- {
- return " 待办事宜"
- } else if (tempstr.substring(pos+1)=="2")
- {
- return " 公共事宜"
- }
- else return null;
-
- }
- }
- return null;
- }
- </script>
- </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; vertical-align:middle;">
- <strong>
- <script type="text/javascript" >
- var programstr = getparastr("StrWait");
- document.write(programstr);
- </script> </strong>
- </td>
- <td style="background-image:url(image/top_32.jpg);">
- <%--<img alt="" src="Image/xx5.gif" style="vertical-align:middle;"/>--%>
- </td>
- <td>
- <img alt="" src="Image/top_34.jpg" height="25" style="vertical-align:middle;"/>
- </td>
- </tr>
-
- </table>
-
- <table style="height:213px;" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td><img alt="" height="420px" 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="HyperLink2" CssClass="SortedDataCell" runat="server" Target="_self" Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
- </asp:HyperLink>
- <asp:LinkButton id="LinkButton2" runat="server" Visible="False" CommandName="NewWorkflow">
- <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>
- </asp:LinkButton> <%-- CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'--%>
- <%--<asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.ProjectName")%>' Text='<%# DataBinder.Eval(Container, "DataItem.ProjectName") %>'>
- </asp:HyperLink>
- <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.AssID") %>'>
- <%# DataBinder.Eval(Container, "DataItem.ProjectName")%>
- </asp:LinkButton>--%>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="WFName" HeaderText="工作流名称" />
- <asp:BoundField DataField="ActName" HeaderText="活动名称" />
- <%--<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"> 系统提示:您没有<script type="text/javascript" > var programstr = getparastr("StrWait");document.write(programstr);</script>!</center>
- </EmptyDataTemplate>
- </asp:GridView>
-
-
-
- <!-- -->
-
- </td>
- <td><img alt="" height="420px" 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>