report_list_send.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:8k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="report_list_send.aspx.cs" Inherits="web_report_report_list_send" %>
- <!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">
- <title>无标题页</title>
- <link href="../../css/style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <center>
- <asp:Label ID="Label8" runat="server" Text="已發工作報告列表" Font-Bold="True" Font-Size="Medium"></asp:Label></center><br />
- <div>
- <table width="95%" runat="server" id="TblReport">
- <tr>
- <td align="center">
- <asp:GridView ID="ReportList" runat="server" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="675px" AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="SqlDataSource1" AllowPaging="True" AllowSorting="True" OnRowCommand="ReportList_RowCommand" OnRowCreated="ReportList_RowCreated" OnRowDataBound="ReportList_RowDataBound">
- <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
- <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
- <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
- <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
- <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
- <AlternatingRowStyle BackColor="Gainsboro" />
- <Columns>
- <asp:BoundField DataField="title" HeaderText="標題" SortExpression="title" />
- <asp:BoundField DataField="send_date" HeaderText="發送時間" SortExpression="send_date" />
- <asp:TemplateField HeaderText="閱讀統計">
- <ItemTemplate>
- <asp:Label ID="LblStatistics" runat="server" Style="position: relative"></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:TemplateField>
- <ItemTemplate>
- <asp:LinkButton ID="BtnDelete" CommandName="DeleteData" runat="server" OnClientClick='return confirm("確定要刪除嗎?");'
- Style="position: relative">刪除</asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- </asp:GridView>
-
- <br />
- </td>
- </tr>
- <tr>
- <td align="center">
- <asp:Panel ID="PnlReport" runat="server" Style="position: relative" Visible="False">
- <table border="1" style="width: 550px; position: relative">
- <tr>
- <td align="center" style="width: 151px">
- <asp:Label ID="Label1" runat="server" Text="標題"></asp:Label>
- </td>
- <td align="left">
- <asp:Label ID="LblTitle" runat="server"></asp:Label>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px; height: 18px">
- <asp:Label ID="Label2" runat="server" Text="發送時間"></asp:Label>
- </td>
- <td align="left" style="height: 18px">
- <asp:Label ID="LblSendDate" runat="server"></asp:Label>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px; height: 18px">
- <asp:Label ID="Label3" runat="server" Text="內容"></asp:Label>
- </td>
- <td align="left" style="height: 18px">
- <asp:Label ID="LblContent" runat="server"></asp:Label>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px; height: 18px">
- <asp:Label ID="Label10" runat="server" Text="建議"></asp:Label>
- </td>
- <td align="left" style="height: 18px">
- <asp:Label ID="LblProposal" runat="server"></asp:Label>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px; height: 18px">
- <asp:Label ID="Label6" runat="server" Text="總結"></asp:Label>
- </td>
- <td align="left" style="height: 18px">
- <asp:Label ID="LblSummarize" runat="server"></asp:Label>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px">
- <asp:Label ID="Label5" runat="server" Text="附件"></asp:Label>
- </td>
- <td align="left">
- <asp:LinkButton ID="BtnAttachment" runat="server" Style="left: 0px;
- position: relative" OnClick="BtnAttachment_Click"></asp:LinkButton>
- <asp:Label ID="LblNoAttachment" runat="server" Style="position: relative" Text="無"
- Visible="False"></asp:Label></td>
- </tr>
- <tr>
- <td align="center" style="width: 151px; height: 20px">
- <asp:Label ID="Label9" runat="server" Text="閱讀統計"></asp:Label>
- </td>
- <td align="left" style="height: 20px">
- <asp:Label ID="LblStatistics" runat="server" ForeColor="Red"></asp:Label>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px">
- <asp:Label ID="Label4" runat="server" Text="已讀人員"></asp:Label>
- </td>
- <td align="left">
- <asp:Table ID="TblRead" runat="server" BorderColor="Silver" BorderWidth="1px" Width="384px">
- </asp:Table>
- </td>
- </tr>
- <tr>
- <td align="center" style="width: 151px; height: 35px">
- <asp:Label ID="Label7" runat="server" Text="未讀人員"></asp:Label>
- </td>
- <td align="left" style="height: 35px">
- <asp:Table ID="TblUnRead" runat="server" BorderColor="Silver" BorderWidth="1px" Width="384px">
- </asp:Table>
- </td>
- </tr>
- </table>
- <input id="ContentLength" runat="server" style="position: relative" type="hidden" />
- </asp:Panel><br />
- <asp:Panel ID="PnlSign" runat="server" Style="position: relative">
- <asp:Table ID="TblSign" runat="server" BorderColor="Silver" BorderWidth="1px" Style="position: relative" Width="550px">
- </asp:Table>
- </asp:Panel>
- </td>
- </tr>
- </table>
- </div>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
- SelectCommand="select s.id, s.send_date, r.title from OA_REPORT_SENDER s inner join OA_REPORT_CONTENT r on s.report_id=r.id where is_del=0">
- </asp:SqlDataSource>
- </form>
- </body>
- </html>