- <%@ page language="C#" autoeventwireup="true" inherits="Workflow_WorkFlowTaskSession, App_Web_4afs73eh" theme="Normal" %>
- <%@ Register TagPrefix="UcPager" TagName="WorkFlowTaskSession" Src="~/UserControl/UserControlPage.ascx" %>
- <!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 type="text/css" href="style/gridStyle.css" rel="Stylesheet" />
- <link type="text/css" href="style/formbody.css" rel="stylesheet" />
- <title>工作流任务管理</title>
- <script type="text/javascript">
- function OKCancel()
- {
- if (confirm("系统提示:您确定放弃本次操作吗?"))
- {
- window.location.href("WorkFlowConfigure.aspx");
- }
- return false;
- }
- function OKHref()
- {
- window.location.href("WorkFlowConfigure.aspx");
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td style="width:10; height:10;"></td>
- <td style="width:60"></td>
- <td style="width:180"></td>
- <td style="width:200"></td>
- <td style="width:10"></td>
- </tr>
- <tr>
- <td style="height:20;"></td>
- <td>流程名称:</td>
- <td><asp:textbox id="txtProcessName" runat="server" ReadOnly="True" Height="20px" Width="150px" CssClass="input"></asp:textbox></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td style="height:8;"></td>
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td style="height:20;"></td>
- <td>任务列表:</td>
- <td></td>
- <td></td>
- <td></td>
- </tr>
- <tr>
- <td></td>
- <td valign ="top" colspan="3">
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td>
- <!---字段列表开始--->
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td #808080;"></td>
- <td></td>
- <td valign="top" style="background-color:#ffffff">
- <div id="div_detail" style="OVERFLOW: auto; HEIGHT: 340px"><asp:datagrid id="dg_Main" runat="server"
- Width="100%" BorderWidth="1px" AllowPaging="True" AutoGenerateColumns="False"
- BorderColor="Silver" CellPadding="1" AllowSorting="True" PageSize="15" BorderStyle="Double"
- OnItemDataBound="dg_Main_ItemDataBound" OnItemCommand="dg_Main_ItemCommand">
- <SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
- <ItemStyle Height="18px" BorderWidth="0px" ForeColor="Black" BorderColor="Black"></ItemStyle>
- <HeaderStyle Font-Size="11pt" Font-Bold="True" BorderWidth="2px" ForeColor="Black" BorderStyle="Outset"
- BorderColor="Black" BackColor="#99CCFF"></HeaderStyle>
- <FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
- <Columns>
- <asp:BoundColumn Visible="False" DataField="ActivityID" HeaderText="ID"></asp:BoundColumn>
- <asp:BoundColumn DataField="ActName" HeaderText="任务名称">
- <HeaderStyle HorizontalAlign="Center" Width="12%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="ParentActID" HeaderText="上级任务">
- <HeaderStyle HorizontalAlign="Center" Width="12%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="RoleID" HeaderText="业务角色">
- <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <%--<asp:TemplateColumn HeaderText="有期限">
- <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
- <ItemTemplate>
- <asp:Image id="Image2" style="WIDTH: 12px; HEIGHT: 12px" runat="server" ImageUrl='../img/role/selected2.GIF' Visible='<%# iif(DataBinder.Eval(Container.DataItem,"TaskDeadLine")="1",true,false) %>'>
- </asp:Image>
- </ItemTemplate>
- </asp:TemplateColumn>--%>
- <asp:BoundColumn DataField="StartEnd" HeaderText="任务种类">
- <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="BlockFlag" HeaderText="阻塞方式">
- <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="ShuntFlag" HeaderText="分流方式">
- <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <%--<asp:TemplateColumn HeaderText="字段数">
- <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
- <ItemTemplate>
- <asp:Image id="img" style="WIDTH: 12px; HEIGHT: 12px" runat="server" ImageUrl='../img/role/selected2.GIF' Visible='<%# iif(DataBinder.Eval(Container.DataItem,"TaskValidFieldType")="0",true,false) %>'>
- </asp:Image>
- </ItemTemplate>
- </asp:TemplateColumn>--%>
- <asp:BoundColumn DataField="ModeFlag" HeaderText="协调方式">
- <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Unit" HeaderText="使用单位">
- <HeaderStyle HorizontalAlign="Center" Width="12%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:BoundColumn DataField="PageID" HeaderText="页面名称">
- <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- </asp:BoundColumn>
- <asp:TemplateColumn>
- <HeaderStyle HorizontalAlign="Center" Width="8%"></HeaderStyle>
- <ItemStyle HorizontalAlign="Center"></ItemStyle>
- <HeaderTemplate>
- 操作
- </HeaderTemplate>
- <ItemTemplate>
- <asp:ImageButton ID="btnModifyTask" ImageUrl="image/Modify.gif" runat="server" CommandName="Edit"></asp:ImageButton>
- <asp:ImageButton ID="btnDeleteTask" ImageUrl="image/Deleteg.gif" runat="server" CommandName="Delete" OnClientClick='<%#"return confirm("确定要删除任务『"+Eval("ActName")+"』的记录吗?");" %>'></asp:ImageButton>
- </ItemTemplate>
- </asp:TemplateColumn>
- </Columns>
- <PagerStyle Visible="False" HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF"
- Mode="NumericPages"></PagerStyle>
- </asp:datagrid>
- <UcPager:WorkFlowTaskSession runat ="server" ID="Pger"/>
- </div>
- </td>
- <td style="width:1;"></td>
- <td></td>
- </tr>
- </table>
- <!---字段列表结束---></td>
- <td valign="top" style="width:100;" ><br/>
- <br/>
- <br />
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- <br/>
- </td>
- </tr>
- </table>
- </td>
- <td></td>
- </tr>
- <tr>
- <td style="height:10;"></td>
- <td></td>
- <td align="right">
- <asp:ImageButton id="ImgAdd" runat="server" ImageUrl="image/5.gif" OnClick="ImgAdd_Click"></asp:ImageButton>
- <asp:ImageButton id="ImageButton2" runat="server" ImageUrl="image/confirm.gif" OnClientClick="javascript:return OKHref()"></asp:ImageButton>
- <asp:ImageButton id="ImageButton3" runat="server" ImageUrl="image/cancel.gif" OnClientClick="javascript:return OKCancel();"></asp:ImageButton> </td>
- <td></td>
- <td></td>
- </tr>
- </table>
- </div>
- </form>
- </body>
- </html>