WorkFlowStart.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:8k
- <%@ page language="C#" autoeventwireup="true" inherits="WorkFlowStart, 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">
- <link href="style/gridStyle.css" rel="stylesheet" type="text/css" />
- <title>启动工作流</title>
- <%-- <script type="text/javascript">
- function FormatStr(var strval)
- {
- var retval
- if (strval=='1') retval="启用";
- else if(strval=="0") retval="停用";
- else retval="状态错";
- return retval;
- }
- </script>--%>
- </head>
- <body>
- <form id="fromwf" runat="server">
- <div>
- <table style="height:30px;" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td><img alt="" src="image/top_29.jpg"/></td>
- <td style="width:100%; background-image:url(image/top_32.jpg); background-color:#f7f7f7; height:21px;" >
- <asp:label id="lblTitle" BackColor="#F2F2F2" Font-Size="14px" runat="server">
- <strong>启动工作</strong></asp:label></td>
- <td><img alt="" src="image/top_34.jpg"/></td>
- </tr>
- </table>
- <table style="height:430px;" class="table" cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td><img alt="" height="430" src="image/table_35.jpg" width="8"/></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.WFName") %>'>
- </asp:HyperLink>
- <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.WFID") %>'>
- <%# DataBinder.Eval(Container, "DataItem.WFName")%>
- </asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="KindName" HeaderText="所属种类" />
- <asp:BoundField DataField="WFDesc" HeaderText="工作流描述" />
- <asp:TemplateField HeaderText="工作流状态">
- <ItemTemplate>
- <asp:Label id="Label2" runat="server" Text='<%# FormatStr(DataBinder.Eval(Container,"DataItem.Status")) %>'>
- </asp:Label>
- </ItemTemplate>
- <ItemTemplate>
- <asp:HiddenField ID="StartOwn" Value='<%#Eval("StartUpType")%>' runat="server" />
- </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>
- <center class="EmpetyData"> 系统提示:你还没有配置工作流。</center>
- </EmptyDataTemplate>
- </asp:GridView>
- <!--
- <asp:Button ID="Go" Text="GO" runat="server" />
- <FooterStyle CssClass="GridFooter" />-->
- <!--<asp:datagrid id="DataGrid1" runat="server" Width="100%" AutoGenerateColumns="False" CellSpacing="1"
- CellPadding="0" BackColor="#CDCDCF" BorderWidth="0px" CssClass="Grid" HeaderStyle-CssClass="GridHeader" ItemStyle-CssClass="HeadingCellText"
- ShowFooter="True" FooterStyle-CssClass="GridFooter" AllowCustomPaging="True" AllowPaging="True">
- <AlternatingItemStyle BackColor="#F0F0F0"></AlternatingItemStyle>
- <ItemStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText"></ItemStyle>
- <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader"></HeaderStyle>
- <Columns>
- <asp:TemplateColumn HeaderText="序号">
- <ItemTemplate>
- <%# (Container.ItemIndex+1) %>
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:TemplateColumn HeaderText="业务名称">
- <ItemTemplate>
- <asp:HyperLink id="HyperLink1" CssClass="SortedDataCell" runat="server" Target="_self" NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.PageUrl")%>' Text='<%# DataBinder.Eval(Container, "DataItem.WFName") %>'>
- </asp:HyperLink>
- <asp:LinkButton id="LinkButton1" runat="server" Visible="False" CommandName="NewWorkflow" CommandArgument='<%# DataBinder.Eval(Container, "DataItem.WFID") %>'>
- <%# DataBinder.Eval(Container, "DataItem.WFDesc")%>
- </asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="WFDesc" HeaderText="步骤名称" ></asp:BoundColumn>
- <asp:BoundColumn DataField="PageUrl" HeaderText="系统名称"></asp:BoundColumn>
- </Columns>
- <FooterStyle CssClass="GridFooter" />
-
- <PagerStyle PrevPageText="前一页" CssClass="GridFooterText" NextPageText="后一页" />
-
- </asp:datagrid>
-
- <!--
- NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.url") + DataBinder.Eval(Container, "DataItem.processdefinitionid", "?IsWorkFlowManaged=1&WorkFlowProcDefID={0}") %>'
-
- -->
- </td>
- </tr>
- </table>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td><img alt="" src="image/table_49.jpg"/></td>
- <td style=" font-family:宋体; width:100%; background-image:url(image/table_50.jpg);"></td>
- <td><img alt="" src="image/table_51.jpg"/></td>
- </tr>
- </table>
- </div>
-
- </form>
- </body>
- </html>