ManageFlow.aspx
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:5k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
  2. <%@ Page language="c#" Codebehind="ManageFlow.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.DocumentFlow.ManageFlow" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>ManageFlow</title>
  7. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  12. <script language="javascript">
  13. function delete_confirm(e) {
  14. if (event.srcElement.outerText == "删除")
  15. event.returnValue =confirm("您确认要删除?");
  16. }
  17. document.onclick=delete_confirm;
  18. </script>
  19. </HEAD>
  20. <body MS_POSITIONING="GridLayout" leftmargin="0" topmargin="0">
  21. <form id="ManageFlow" method="post" runat="server">
  22. <FONT face="宋体">
  23. <TABLE id="Table1" style="HEIGHT: 50px" cellSpacing="0" cellPadding="0" width="100%" border="0">
  24. <TR>
  25. <TD style="HEIGHT: 30px" background="../../../Images/treetopbg.jpg"><FONT size="2">流程名:</FONT>
  26. <asp:Label id="labTitle" runat="server" Width="632px"></asp:Label>
  27. </TD>
  28. <td align="right" style="HEIGHT: 30px" background="../../../Images/treetopbg.jpg"><asp:Button id="cmdReturn" accessKey="r" runat="server" Width="60px" CssClass="buttoncss" Text="返回"></asp:Button></td>
  29. </TR>
  30. <TR>
  31. <TD vAlign="top" colspan="2"><asp:datagrid id="dgStepList" runat="server" BorderColor="#93BEE2" BorderStyle="None" BorderWidth="1px"
  32. BackColor="White" CellPadding="3" AutoGenerateColumns="False" AllowPaging="True" PageSize="15" DataKeyField="Step_ID"
  33. OnPageIndexChanged="DataGrid_PageChanged" Width="100%" HorizontalAlign="Center" AllowSorting="True" OnDeleteCommand="MyDataGrid_Delete"
  34. OnEditCommand="MyDataGrid_Move">
  35. <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
  36. <AlternatingItemStyle Font-Size="X-Small" HorizontalAlign="Center" BackColor="#E8F4FF"></AlternatingItemStyle>
  37. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center" ForeColor="#003399" BackColor="White"></ItemStyle>
  38. <HeaderStyle Font-Size="X-Small" Font-Bold="True" HorizontalAlign="Center" ForeColor="White"
  39. BackColor="#337FB2"></HeaderStyle>
  40. <FooterStyle HorizontalAlign="Center" ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
  41. <Columns>
  42. <asp:BoundColumn DataField="Step_ID" HeaderText="步骤">
  43. <HeaderStyle Width="8%"></HeaderStyle>
  44. </asp:BoundColumn>
  45. <asp:TemplateColumn HeaderText="名称">
  46. <HeaderStyle HorizontalAlign="Left" Width="48%"></HeaderStyle>
  47. <ItemStyle HorizontalAlign="Left"></ItemStyle>
  48. <ItemTemplate>
  49. <a href ='EditTache.aspx?FlowID=<%=FlowID%>&StepID=<%#DataBinder.Eval(Container.DataItem,"Step_ID")%>'>
  50. <%# DataBinder.Eval(Container, "DataItem.Step_Name") %>
  51. </a>
  52. </ItemTemplate>
  53. <EditItemTemplate>
  54. </EditItemTemplate>
  55. </asp:TemplateColumn>
  56. <asp:TemplateColumn HeaderText="流转规则">
  57. <HeaderStyle Width="10%"></HeaderStyle>
  58. <ItemTemplate>
  59. <asp:Label runat="server">
  60. <%#GetTranslateFlowRule(DataBinder.Eval(Container.DataItem,"Flow_Rule").ToString())%>
  61. </asp:Label>
  62. </ItemTemplate>
  63. <EditItemTemplate>
  64. <asp:TextBox runat="server"></asp:TextBox>
  65. </EditItemTemplate>
  66. </asp:TemplateColumn>
  67. <asp:TemplateColumn HeaderText="人员">
  68. <HeaderStyle Width="8%"></HeaderStyle>
  69. <ItemTemplate>
  70. <a href ='BindStaff.aspx?FlowID=<%=FlowID%>&StepID=<%#DataBinder.Eval(Container.DataItem,"Step_ID")%>'>
  71. 绑定</a>
  72. </ItemTemplate>
  73. </asp:TemplateColumn>
  74. <asp:ButtonColumn Text="删除" HeaderText="操作" CommandName="Delete">
  75. <HeaderStyle Width="8%"></HeaderStyle>
  76. </asp:ButtonColumn>
  77. <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="" HeaderText="位置" CancelText="" EditText="上移">
  78. <HeaderStyle Width="8%"></HeaderStyle>
  79. </asp:EditCommandColumn>
  80. <asp:TemplateColumn HeaderText="分支(个)">
  81. <HeaderStyle Width="10%"></HeaderStyle>
  82. <ItemTemplate>
  83. <a href ='EditJump.aspx?FlowID=<%=FlowID%>&StepID=<%#DataBinder.Eval(Container.DataItem,"Step_ID")%>'>
  84. 分支</a>(<%#DataBinder.Eval(Container.DataItem,"Jump_Count")%>)
  85. </ItemTemplate>
  86. </asp:TemplateColumn>
  87. </Columns>
  88. <PagerStyle Font-Size="X-Small" HorizontalAlign="Right" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  89. </asp:datagrid></TD>
  90. </TR>
  91. </TABLE>
  92. </FONT>
  93. </form>
  94. </body>
  95. </HTML>