<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.view_task" Codebehind="view_task.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<html>
	<head id="head1"  runat="server">
    <title runat="server" id="title1"></title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="stylesheets/theme.css">
    <link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
    <link href="site_css2.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="js/DatePicker/WdatePicker.js" language="javascript"></script>
    <script type="text/javascript" src="js/myjs.js" language="javascript"></script>
    <script src="lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="lib/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <!-- Le fav and touch icons -->
</head>
  <body class=""> 
     <!--<![endif]-->
    <form id="Form1" runat="server">
    <div class="content">
        
        <div class="header">

            <h1 class="page-title"><%=pagename %></h1>
        </div>


        <div class="container-fluid">
            <div class="row-fluid">
                   

<div class="well">
			
 <table class="table" width="100%">
					<tr>
						<td class="td_a">编号：</td>
						<td class="td_b">
                            <asp:Label ID="id" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            所属单位部门：</td>
						<td class="td_b">
                            <asp:Label ID="dpm" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">标题：</td>
						<td class="td_b">
                            <asp:Label ID="bt" runat="server"></asp:Label>
                            <asp:Label ID="dr" runat="server" ForeColor="Blue" Visible="False"></asp:Label>
                        </td>
						<td class="td_a">
                            工作类别：</td>
						<td class="td_b">
                            <asp:Label ID="classid" runat="server"></asp:Label>
                            <asp:Label ID="labelid" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">状态：</td>
						<td class="td_b">
                            <asp:Label ID="zt" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            完成时限：</td>
						<td class="td_b">
                            <asp:Label ID="wcsx" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">来源：</td>
						<td class="td_b">
                            <asp:Label ID="ly" runat="server"></asp:Label>
                            </td>
						<td class="td_a">
                            完成时间：</td>
						<td class="td_b">
                            <asp:Label ID="wcsj" runat="server"></asp:Label>
                            </td>
					</tr>
					<tr>
						<td class="td_a">工作情况登记人：</td>
						<td class="td_b">
                            <asp:Label ID="apr" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            登记时间：</td>
						<td class="td_b">
                            <asp:Label ID="djsj" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">奖励分值：</td>
						<td class="td_b">
                            <asp:Label ID="jlfz" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            估计得分：</td>
						<td class="td_b">
                            <asp:Label ID="gjdf" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">最终得分：</td>
						<td class="td_b">
                            <asp:Label ID="zzdf" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            &nbsp;</td>
						<td class="td_b">
                            &nbsp;</td>
					</tr>
					<tr>
						<td class="td_a">工作责任人：</td>
						<td class="td_b">
                            <asp:Label ID="zrr" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            工作终结人：</td>
						<td class="td_b">
                            <asp:Label ID="zjr" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">短信与邮件自动提醒：</td>
						<td class="td_b">
                            <asp:Label ID="sms" runat="server"></asp:Label>
                        </td>
						<td class="td_a">
                            自动提醒不带标题：</td>
						<td class="td_b">
                            <asp:Label ID="nobt" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">工作要求：</td>
						<td class="td_b_nr" colspan="3">
                            <asp:Label ID="xq" runat="server" ForeColor="Blue"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">工作详情附件：</td>
						<td class="td_b" colspan="3">
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
                                CellPadding="4" ForeColor="Black" GridLines="Horizontal" PageSize="15" 
                                ShowHeader="False" Width="100%" CssClass="GridView_file">
                                <PagerSettings FirstPageText="&amp;lt;&amp;lt;首页" 
                                    LastPageText="尾页&amp;gt;&amp;gt;" Mode="NumericFirstLast" 
                                    NextPageText="下一页&amp;gt;" PreviousPageText="&amp;lt;上一页" />
                                <RowStyle Height="20px" />
                                <Columns>
                                    <asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True">
                                    <ItemStyle ForeColor="White" Width="0px" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="文件类型">
                                        <ItemTemplate>
                                                <%# getfileico(DataBinder.Eval(Container, "DataItem.id"), "file")%>
                                            </ItemTemplate>
                                        <ItemStyle Width="50px" />
                                    </asp:TemplateField>
                                    <asp:HyperLinkField DataNavigateUrlFields="id" 
                                        DataNavigateUrlFormatString="view_file.aspx?id={0}" DataTextField="fname" 
                                        HeaderText="文件名" Target="_blank" />
                                    <asp:TemplateField HeaderText="文件大小">
                                        <ItemTemplate>
                                            <asp:Label ID="Label211" runat="server" 
                                                Text='<%# filessizt(DataBinder.Eval(Container, "DataItem.fsize"),1)%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="上传时间">
                                        <ItemTemplate>
                                            <asp:Label ID="Label2" runat="server" 
                                                Text='<%# c_date_d(DataBinder.Eval(Container, "DataItem.addtime")) & getadminname(DataBinder.Eval(Container, "DataItem.lrr")) & "上传"%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:HyperLinkField DataNavigateUrlFields="id" 
                                        DataNavigateUrlFormatString="view_file.aspx?id={0}" HeaderText="查看" 
                                        Target="_blank" Text="查看" />
                                    <asp:HyperLinkField DataNavigateUrlFields="id" 
                                        DataNavigateUrlFormatString="view_file.aspx?id={0}&amp;dl=yes" HeaderText="下载" 
                                        Target="_blank" Text="下载" />
                                </Columns>
                                <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                                <PagerStyle BackColor="White" CssClass="pagerclass" ForeColor="Black" 
                                    HorizontalAlign="Right" />
                                <EmptyDataTemplate>
                                    暂无相关附件！
                                </EmptyDataTemplate>
                                <SelectedRowStyle Font-Bold="False" Height="20px" />
                                <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" 
                                    Height="20px" />
                                <EditRowStyle Height="25px" />
                                <AlternatingRowStyle Height="20px" />
                                <SortedAscendingCellStyle BackColor="#F7F7F7" />
                                <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
                                <SortedDescendingCellStyle BackColor="#E5E5E5" />
                                <SortedDescendingHeaderStyle BackColor="#242121" />
                            </asp:GridView>
                        </td>
					</tr>
					 <tr id="zjjl_tr" runat="server">
						<td class="td_a">转交记录：</td>
						<td class="td_b_nr" colspan="3">
                            <asp:Label ID="zjjl" runat="server" ForeColor="#996600"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">办理情况：</td>
						<td class="td_b_nr" colspan="3">
                            <asp:Label ID="kzqk" runat="server" ForeColor="#009933"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td class="td_a">办理情况附件：</td>
						<td class="td_b" colspan="3">
                            <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                                BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
                                CellPadding="4" ForeColor="Black" GridLines="Horizontal" PageSize="15" 
                                ShowHeader="False" Width="100%" CssClass="GridView_file">
                                <PagerSettings FirstPageText="&amp;lt;&amp;lt;首页" 
                                    LastPageText="尾页&amp;gt;&amp;gt;" Mode="NumericFirstLast" 
                                    NextPageText="下一页&amp;gt;" PreviousPageText="&amp;lt;上一页" />
                                <RowStyle Height="20px" />
                                <Columns>
                                    <asp:BoundField DataField="id" HeaderText="编号" ReadOnly="True">
                                    <ItemStyle ForeColor="White" Width="0px" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="文件类型">
                                        <ItemTemplate>
                                                <%# getfileico(DataBinder.Eval(Container, "DataItem.id"), "file")%>
                                            </ItemTemplate>
                                        <ItemStyle Width="50px" />
                                    </asp:TemplateField>
                                    <asp:HyperLinkField DataNavigateUrlFields="id" 
                                        DataNavigateUrlFormatString="view_file.aspx?id={0}" DataTextField="fname" 
                                        HeaderText="文件名" Target="_blank" />
                                    <asp:TemplateField HeaderText="文件大小">
                                        <ItemTemplate>
                                            <asp:Label ID="Label212" runat="server" 
                                                Text='<%# filessizt(DataBinder.Eval(Container, "DataItem.fsize"),1)%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="上传时间">
                                        <ItemTemplate>
                                            <asp:Label ID="Label213" runat="server" 
                                                Text='<%# c_date_d(DataBinder.Eval(Container, "DataItem.addtime")) & getadminname(DataBinder.Eval(Container, "DataItem.lrr")) & "上传"%>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:HyperLinkField DataNavigateUrlFields="id" 
                                        DataNavigateUrlFormatString="view_file.aspx?id={0}" HeaderText="查看" 
                                        Target="_blank" Text="查看" />
                                    <asp:HyperLinkField DataNavigateUrlFields="id" 
                                        DataNavigateUrlFormatString="view_file.aspx?id={0}&amp;dl=yes" HeaderText="下载" 
                                        Target="_blank" Text="下载" />
                                </Columns>
                                <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                                <PagerStyle BackColor="White" CssClass="pagerclass" ForeColor="Black" 
                                    HorizontalAlign="Right" />
                                <EmptyDataTemplate>
                                    暂无相关附件！
                                </EmptyDataTemplate>
                                <SelectedRowStyle Font-Bold="False" Height="20px" />
                                <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" 
                                    Height="20px" />
                                <EditRowStyle Height="25px" />
                                <AlternatingRowStyle Height="20px" />
                                <SortedAscendingCellStyle BackColor="#F7F7F7" />
                                <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
                                <SortedDescendingCellStyle BackColor="#E5E5E5" />
                                <SortedDescendingHeaderStyle BackColor="#242121" />
                            </asp:GridView>
                        </td>
					</tr>
                    					<tr>
						<td class="td_a">领导意见：</td>
						<td class="td_b_nr" colspan="3">
                            <asp:Label ID="ldyj" runat="server" ForeColor="Red"></asp:Label>
                                            </td>
					</tr>
                    					<tr>
						<td class="td_a">工作日志：</td>
						<td class="td_b_nr" colspan="3">
                            <asp:Label ID="loginfo" runat="server" ForeColor="#999999"></asp:Label>
                                            </td>
					</tr>
                    					<tr>
						<td class="td_a">相关操作：</td>
						<td class="td_b" colspan="3">
                         <a href="add_task.aspx?copyid=<%=id.Text %>" title="点击此处进行工作转办操作"><font color="999999">重新登记</font></a>&nbsp;&nbsp;&nbsp;&nbsp;<%=trunstr %>   
                        </td>
					</tr>
					</table>           	


</div>
                  
            </div>
        </div>
    </div>
        
    </form>
</body>
</html>