FlowTemplate.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:6k
源码类别:

C#编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="FlowTemplate.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.DocumentFlow.WebForm1" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>WebForm1</title>
  6. <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
  7. <meta name="CODE_LANGUAGE" Content="C#">
  8. <meta name="vs_defaultClientScript" content="JavaScript">
  9. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <body MS_POSITIONING="GridLayout" leftmargin="0" topmargin="0" rightmargin="0">
  13. <form id="WebForm1" method="post" runat="server">
  14. <FONT face="宋体">
  15. <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  16. <tr>
  17. <td vAlign="top" height="38"><TABLE borderColor="#111111" height="1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  18. <TR height="30">
  19. <TD class="GbText" width="20" background="../../../Images/treetopbg.jpg" bgColor="#c0d9e6"
  20. align="right"><FONT color="#003366" size="3"><IMG height="16" src="../../../DataImages/DocFlow.gif" width="16"></FONT></TD>
  21. <TD class="GbText" background="../../../Images/treetopbg.jpg" bgColor="#e8f4ff" width="60"
  22. align="right"><font color="#006699">文档流转</font></TD>
  23. <TD class="GbText" background="../../../Images/treetopbg.jpg" bgColor="#e8f4ff" align="right"><FONT face="宋体">
  24. <asp:Button id="cmdListDraft" runat="server" Width="55px" Text="列表" CssClass="buttoncss"></asp:Button>&nbsp;&nbsp;&nbsp;</FONT></TD>
  25. </TR>
  26. </TABLE>
  27. </td>
  28. </tr>
  29. <TR>
  30. <TD>
  31. <TABLE class="gbtext" id="Table2" height="24" cellSpacing="0" cellPadding="0" width="100%"
  32. border="0">
  33. <TR>
  34. <TD align="center" width="90" background="../../../Images/maillistbutton1.gif">
  35. <asp:LinkButton id="lbMyApprove" runat="server" CssClass=Newbutton>我的批阅</asp:LinkButton></TD>
  36. <TD align="center" width="90" background="../../../Images/maillistbutton1.gif">
  37. <asp:LinkButton id="LinkButton1" runat="server" CssClass=Newbutton>我的申请</asp:LinkButton></TD>
  38. <TD align="center" width="90" background="../../../Images/maillistbutton1.gif">
  39. <asp:LinkButton id="lbMyApproved" runat="server" CssClass=Newbutton>已经批阅</asp:LinkButton></TD>
  40. <TD align="center" width="90" background="../../../Images/maillistbutton2.gif">
  41. <asp:LinkButton id="lbMyDraft" runat="server" CssClass=Newbutton>拟稿箱</asp:LinkButton></TD>
  42. <%if(bManageFlow==true){%>
  43. <TD align="center" width="90" background="../../../Images/maillistbutton1.gif">&nbsp;
  44. <asp:LinkButton id="lbManageFlow"  CssClass=Newbutton runat="server">流程管理</asp:LinkButton></TD>
  45. <%}%>
  46. <%else {%>
  47. <TD align="center" width="90">&nbsp;
  48. </TD>
  49. <%}%>
  50. <TD align="center">&nbsp;</TD>
  51. </TR>
  52. </TABLE>
  53. </TD>
  54. </TR>
  55. <TR>
  56. <TD>
  57. <asp:DataGrid id="dgFlowList" runat="server" CellPadding="3" BackColor="White" BorderWidth="1px"
  58. BorderStyle="None" BorderColor="#93BEE2" OnPageIndexChanged="DataGrid_PageChanged" Font-Size="X-Small"
  59. AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" Width="100%" PageSize="15">
  60. <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
  61. <AlternatingItemStyle Font-Size="X-Small" HorizontalAlign="Center" BackColor="#E8F4FF"></AlternatingItemStyle>
  62. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center" ForeColor="#003399" BackColor="White"></ItemStyle>
  63. <HeaderStyle HorizontalAlign="Center" ForeColor="White" VerticalAlign="Middle" BackColor="#337FB2"></HeaderStyle>
  64. <FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
  65. <Columns>
  66. <asp:TemplateColumn HeaderText="ID">
  67. <HeaderStyle Width="2%"></HeaderStyle>
  68. <ItemTemplate>
  69. <asp:CheckBox id="Flow_ID" runat="server"></asp:CheckBox>
  70. </ItemTemplate>
  71. </asp:TemplateColumn>
  72. <asp:HyperLinkColumn DataNavigateUrlField="Flow_ID" DataNavigateUrlFormatString="NewDocument.aspx?FlowID={0}"
  73. DataTextField="Flow_Name" HeaderText="流程名">
  74. <HeaderStyle Font-Size="X-Small" HorizontalAlign="Left" Width="33%"></HeaderStyle>
  75. <ItemStyle Font-Size="X-Small" HorizontalAlign="Left"></ItemStyle>
  76. </asp:HyperLinkColumn>
  77. <asp:TemplateColumn HeaderText="流程图例">
  78. <HeaderStyle HorizontalAlign="Center" Width="10%"></HeaderStyle>
  79. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  80. <ItemTemplate >
  81. <a href ="DisplayFlow.aspx?FlowID=<%#DataBinder.Eval(Container,"DataItem.Flow_ID")%>">图例</a>
  82. </ItemTemplate>
  83. </asp:TemplateColumn>
  84. <asp:TemplateColumn HeaderText="发起步骤">
  85. <ItemTemplate>
  86. <a href ='DisplayTacheMember.aspx?StepID=<%#DataBinder.Eval(Container, "DataItem.Step_ID")%>&FlowID=<%#DataBinder.Eval(Container, "DataItem.Flow_ID")%>&ReturnPage=4'>
  87. <%# DataBinder.Eval(Container, "DataItem.StepName") %>
  88. </a>
  89. </ItemTemplate>
  90. </asp:TemplateColumn>
  91. <asp:HyperLinkColumn DataNavigateUrlField="Style_ID" DataNavigateUrlFormatString="DisplayStyle.aspx?StyleID={0}"
  92. DataTextField="Style_Name" HeaderText="表格/附件">
  93. <HeaderStyle HorizontalAlign="Center" Width="15%"></HeaderStyle>
  94. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  95. </asp:HyperLinkColumn>
  96. <asp:BoundColumn DataField="LastUseDate" HeaderText="最后使用日期">
  97. <HeaderStyle Width="15%"></HeaderStyle>
  98. </asp:BoundColumn>
  99. <asp:BoundColumn DataField="UsedTimes" HeaderText="使用次数">
  100. <HeaderStyle Width="10%"></HeaderStyle>
  101. </asp:BoundColumn>
  102. </Columns>
  103. <PagerStyle NextPageText="" HorizontalAlign="Right" ForeColor="#003399" BackColor="#E8F4FF"
  104. Mode="NumericPages"></PagerStyle>
  105. </asp:DataGrid></TD>
  106. </TR>
  107. </TABLE>
  108. </FONT>
  109. </form>
  110. </body>
  111. </HTML>