<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="WorkReportInfo.aspx.cs" Inherits="OAWeb.WorkReport.WorkReportInfo" EnableViewState="true"%>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <style>
        .LableDesc
        {
            word-warp: break-word;
            word-break: break-all;
        }
    </style>
    <table class="list-view" style="width: 100%; margin:auto;">
        <tr>
            <td style="width: 98%; background-color: #FFF; text-align: left; vertical-align: top;
                padding-left: 7px; font-size: 15px; ">
                <table id="AutoNumber1" border="1" bordercolor="#BBBBBB" cellpadding="2" cellspacing="1"
                    height="143" width="98%">
                    <tr>
                        <td align="center" bgcolor="#F0f0f0" colspan="4" height="34">
                            <b><font style="font-size: 11pt">工作报告</font></b>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 104px; height: 23px;">
                            <font size="2">报告编号</font>
                        </td>
                        <td align="left" width="396" style="height: 23px">
                            <asp:Label ID="lblReportID" runat="server"></asp:Label>
                        </td>
                        <td align="right" width="76" style="height: 23px">
                            <font size="2">时&nbsp;&nbsp;&nbsp;&nbsp;间</font>
                        </td>
                        <td align="center" width="363" style="height: 23px">
                            <p align="left">
                                <span style="font-size: 10pt">
                                    <asp:Label ID="lblCreateTime" runat="server"></asp:Label></span>&nbsp;</p>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 104px; height: 23px;">
                            <font size="2">报 告 人</font>
                        </td>
                        <td align="left" width="396" style="height: 23px">
                            <asp:Label ID="lblUserID" runat="server"></asp:Label>
                        </td>
                        <td align="right" width="76" style="height: 23px">
                            <font size="2">类&nbsp;&nbsp;&nbsp;&nbsp;型</font>
                        </td>
                        <td align="left" width="363" style="height: 23px">
                            <asp:Label ID="lblReportType" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="height: 23px; width: 104px;" valign="top">
                            <font size="2">报告内容</font>
                        </td>
                        <td align="left" colspan="3" style="height: 23px" width="850">
                            <asp:Label ID="lblReportDesc" runat="server" CssClass="LableDesc"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 104px; height: 23px;">
                            <font size="2">呈 报 给</font>
                        </td>
                        <td align="left" width="396" style="height: 23px">
                            <asp:Label ID="lblAuditUser" runat="server"></asp:Label>
                        </td>
                        <td align="right" width="76" style="height: 23px">
                            <font size="2">审阅时间</font>
                        </td>
                        <td align="left" width="363" style="height: 23px">
                            <asp:Label ID="lblAuditStateDate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="width: 104px; height: 23px;">
                            <font size="2">是否审阅</font>
                        </td>
                        <td align="left" width="396" style="height: 23px">
                            <asp:Label ID="lblAuditState" runat="server"></asp:Label>
                        </td>
                        <td align="right" width="76" style="height: 23px">
                            <font size="2">质量系数</font>
                        </td>
                        <td align="left" width="363" style="height: 23px">
                            <asp:Label ID="lblQualityFactor" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" valign="top" style="width: 104px; height: 23px;">
                            <font size="2">审阅意见</font>
                        </td>
                        <td align="left" colspan="3" style="height: 23px">
                            <asp:Label ID="lblAuditContent" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="height: 23px; width: 104px;">
                            <font size="2">附&nbsp;&nbsp;&nbsp;&nbsp;件</font>
                        </td>
                        <td align="left" colspan="3" width="819" style="height: 23px" valign="top">
                            <asp:DropDownList ID="ddlAttach" runat="server">
                            </asp:DropDownList>
                            <asp:LinkButton ID="lbtnAttachDown" runat="server" OnClick="lbtnAttachDown_Click">下载</asp:LinkButton>
                            <asp:LinkButton ID="lbtnAttachDelete" runat="server" OnClick="lbtnAttachDelete_Click">删除</asp:LinkButton>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 23px; width: 104px;">
                        </td>
                        <td align="left" colspan="3" style="height: 23px" valign="top" width="819">
                            <asp:FileUpload ID="FileUpload1" runat="server" />
                            显示名称：<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>&nbsp;<asp:Button ID="btnUpload"
                                runat="server" OnClick="btnUpload_Click" Text="上传" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4" height="31">
                            <span style="font-size: 11pt">&nbsp;<asp:Button ID="btnEdit" runat="server" OnClick="btnEdit_Click"
                                Text="编辑工作报告" />
                                <asp:Button ID="btnAudit" runat="server"  OnClick="btnAudit_Click" Text="审阅工作报告" />
                                <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text=" 返回列表 " /></span>
                        </td>
                    </tr>
                </table>
                <table id="Table1" border="1" bordercolor="#BBBBBB" cellpadding="2" cellspacing="1"
                    style="margin-top: 5px" width="98%">
                    <tr>
                        <td align="center" bgcolor="#eaeaea" style="height: 26px">
                            <b>评论</b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DataList ID="dlComment" runat="server" Width="99%" DataKeyField="ReportReviewID">
                                <ItemTemplate>
                                    <table bordercolor="#c0c0c0" cellpadding="0" cellspacing="1" border="1" height="51"
                                        width="100%" style="margin-top: 2px; margin-bottom: 2px">
                                        <tr>
                                            <td width="7%" style="height: 25px">
                                                时间:
                                            </td>
                                            <td width="17%" style="height: 25px">
                                                <asp:Label ID="lblCreateTime" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"CreateTime") %>'></asp:Label>
                                            </td>
                                            <td width="13%" style="height: 25px">
                                                <p align="right">
                                                    评论人:
                                                </p>
                                            </td>
                                            <td align="left">
                                                <span class="StrongText">
                                                    <asp:Label ID="lblCreateUser" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"CreateUserID") %>'></asp:Label></span>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td bgcolor="#f0f0f0" valign="top" width="6%" style="height: 25px">
                                                内容:
                                            </td>
                                            <td bgcolor="#f0f0f0" colspan="3" width="94%" align="left" style="height: 25px">
                                                <asp:Label ID="lblComment" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"ReviewComment")%>'></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                    </tr>
                    <tr id="trComment">
                        <td align="center" width="98%">
                            <table border="0" bordercolor="#c0c0c0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td align="right" valign="middle" style="width: 100px; height: 71px;">
                                        <b>发表评论：</b>
                                    </td>
                                    <td style="height: 71px">
                                        <asp:TextBox ID="txtComment" runat="server" Height="53px" TextMode="MultiLine" Width="95%"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <asp:Button ID="btnSaveComment" runat="server" OnClick="btnSaveComment_Click" Text="提  交" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
