ListDocument.aspx
上传用户:xgw_05
上传日期:2009-12-11
资源大小:20208k
文件大小:6k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="ListDocument.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.DocumentFlow.ListDocument" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>ListDocument</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. // parent.document.forms["MainFrame"].document.body.style.overflow = "auto";
  13. </script>
  14. </HEAD>
  15. <body leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  16. <form id="ListDocument" method="post" runat="server">
  17. <FONT face="宋体">
  18. <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  19. <tr>
  20. <td vAlign="top" height="38">
  21. <TABLE borderColor="#111111" height="1" cellSpacing="0" cellPadding="0" width="100%" border="0">
  22. <TR height="30">
  23. <TD class="GbText" align="right" width="20" background="../../../Images/treetopbg.jpg"
  24. bgColor="#c0d9e6"><FONT color="#003366" size="3"><IMG height="16" src="../../../DataImages/DocFlow.gif" width="16"></FONT></TD>
  25. <TD class="GbText" align="right" width="60" background="../../../Images/treetopbg.jpg"
  26. bgColor="#e8f4ff"><font color="#006699">文档流转</font></TD>
  27. <TD class="GbText" align="right" background="../../../Images/treetopbg.jpg" bgColor="#e8f4ff"><FONT face="宋体">&nbsp;&nbsp;&nbsp;</FONT></TD>
  28. </TR>
  29. </TABLE>
  30. </td>
  31. </tr>
  32. <TR>
  33. <TD>
  34. <TABLE class="gbtext" id="Table3" style="WIDTH: 450px; HEIGHT: 24px" height="24" cellSpacing="0"
  35. cellPadding="0" width="449" border="0">
  36. <TR>
  37. <TD align=center width=90 
  38.           background='../../../Images/maillistbutton<%Response.Write(GetSelectImage("1","2",DisplayType,1));%>.gif' 
  39.           ><asp:linkbutton id="lbMyApprove" runat="server" CssClass="Newbutton">我的批阅</asp:linkbutton></TD>
  40. <TD align=center width=90 
  41.           background='../../../Images/maillistbutton<%Response.Write(GetSelectImage("1","2",DisplayType,2));%>.gif' 
  42.           ><asp:linkbutton id="lbMyDocument" runat="server" CssClass="Newbutton">我的申请</asp:linkbutton></TD>
  43. <TD align=center width=90 
  44.           background='../../../Images/maillistbutton<%Response.Write(GetSelectImage("1","2",DisplayType,3));%>.gif' 
  45.           ><asp:linkbutton id="lbMyApproved" runat="server" CssClass="Newbutton">已经批阅</asp:linkbutton></TD>
  46. <TD align="center" width="90" background="../../../Images/maillistbutton1.gif"><asp:linkbutton id="lbMyDraft" runat="server" CssClass="Newbutton" >拟稿箱</asp:linkbutton></TD>
  47. <%if(bManageFlow==true){%>
  48. <TD align="center" width="90" background="../../../Images/maillistbutton1.gif"><asp:linkbutton id="lbManageFlow" runat="server" CssClass="Newbutton" >流程管理</asp:linkbutton></TD>
  49. <%}%>
  50. <%else {%>
  51. <TD class="Newbutton" align="center" width="90">&nbsp;
  52. </TD>
  53. <%}%>
  54. </TR>
  55. </TABLE>
  56. </TD>
  57. </TR>
  58. <TR>
  59. <TD></TD>
  60. </TR>
  61. </TABLE>
  62. <asp:datagrid id="dgDocumentList" runat="server" Font-Size="X-Small" PageSize="15" CellPadding="3"
  63. BorderWidth="1px" BorderStyle="None" BorderColor="#93BEE2" BackColor="White" OnPageIndexChanged="DataGrid_PageChanged"
  64. AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" Width="100%">
  65. <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
  66. <AlternatingItemStyle Font-Size="X-Small" HorizontalAlign="Center" BackColor="#E8F4FF"></AlternatingItemStyle>
  67. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center" ForeColor="#003399" BackColor="White"></ItemStyle>
  68. <HeaderStyle HorizontalAlign="Center" ForeColor="White" VerticalAlign="Middle" BackColor="#337FB2"></HeaderStyle>
  69. <FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
  70. <Columns>
  71. <asp:TemplateColumn HeaderText="ID">
  72. <HeaderStyle Width="2%"></HeaderStyle>
  73. <ItemTemplate>
  74. <asp:CheckBox id="Flow_ID" runat="server"></asp:CheckBox>
  75. </ItemTemplate>
  76. </asp:TemplateColumn>
  77. <asp:TemplateColumn HeaderText="文档标题">
  78. <HeaderStyle HorizontalAlign="Left"></HeaderStyle>
  79. <ItemStyle HorizontalAlign="Left"></ItemStyle>
  80. <ItemTemplate>
  81. <asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Title") %>' NavigateUrl='<%# GetDisplayDocumentUrl(DataBinder.Eval(Container, "DataItem.Doc_ID").ToString())%>'>
  82. </asp:HyperLink>
  83. </ItemTemplate>
  84. </asp:TemplateColumn>
  85. <asp:BoundColumn DataField="DocBuilder" HeaderText="拟稿人">
  86. <HeaderStyle Width="10%"></HeaderStyle>
  87. </asp:BoundColumn>
  88. <asp:HyperLinkColumn DataNavigateUrlField="FLOW_ID" DataNavigateUrlFormatString="DisplayFlow.aspx?FlowID={0}"
  89. DataTextField="FlowName" HeaderText="流程名">
  90. <HeaderStyle HorizontalAlign="Center" Width="20%"></HeaderStyle>
  91. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center"></ItemStyle>
  92. </asp:HyperLinkColumn>
  93. <asp:TemplateColumn HeaderText="当前环节">
  94. <ItemTemplate>
  95. <asp:HyperLink runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.StepName") %>' NavigateUrl='<%#GetDisplayTacheMemberUrl(DataBinder.Eval(Container, "DataItem.Doc_ID").ToString()) %>'>
  96. </asp:HyperLink>
  97. </ItemTemplate>
  98. </asp:TemplateColumn>
  99. <asp:BoundColumn DataField="Short_Doc_Added_Date" HeaderText="拟稿时间">
  100. <HeaderStyle Width="13%"></HeaderStyle>
  101. </asp:BoundColumn>
  102. <asp:BoundColumn DataField="Status" HeaderText="状态">
  103. <HeaderStyle Font-Size="X-Small" HorizontalAlign="Center" Width="8%"></HeaderStyle>
  104. <ItemStyle Font-Size="X-Small" HorizontalAlign="Center"></ItemStyle>
  105. </asp:BoundColumn>
  106. </Columns>
  107. <PagerStyle NextPageText="" Font-Size="X-Small" HorizontalAlign="Right" ForeColor="#003399"
  108. BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  109. </asp:datagrid></FONT></form>
  110. </body>
  111. </HTML>