<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.view_task" Codebehind="view_task.aspx.vb" %>
<%@ Import namespace="work_plan_web_deploy"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD id="HEAD1" runat="server">
		<title>工作情况登记表</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<LINK href="site_css.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>
			<style type="text/css">
			.STYLE1 { COLOR: #999999 }
			.STYLE2 { COLOR: #ff0000 }
			.STYLE4 { COLOR: #ff0000 }
			.STYLE6 { COLOR: #ff0000 }
			.STYLE7 { COLOR: #ff0000 }
			    #myfile
                {
                    width: 152px;
                }
			</style>
			<script language="javascript">
			    function setValue(obj) {
			        var d = new Date();
			        var timeStr;
			        var m = (d.getMonth() + 1) + "";
			        if (m.length == 1)
			            m = '0' + m;
			        var _d = (d.getDate()) + "";
			        if (_d.length == 1)
			            _d = '0' + _d;

			        timeStr = d.getYear() + "-" + m + "-" + _d;
			        obj.value = timeStr
			    }

			    function getidate(obj1, obj2) {
			        if (obj2.value.length == 18) {
			            obj1.value = obj2.value.substr(6, 4) + "-" + obj2.value.substr(10, 2) + "-" + obj2.value.substr(12, 2)
			        }
			    }

			</script>
	</HEAD>
	<body>
		<form id="Form1" runat="server">
			<div id="title">
				<table cellSpacing="0" cellPadding="5" width="100%" border="0">
					<tr>
						<td align="center" height="20">工作情况登记表</td>
					</tr>
				</table>
			</div>

			<div id="contentdiv">
				<table class="maintable" cellSpacing="0" cellPadding="2" width="100%" border="0">
					<tr>
						<td align="right" width="15%" bgColor="#e0eef5" height="30">编号：</td>
						<td align="left" width="35%" height="30">
                            <asp:Label ID="id" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" width="15%" bgColor="#e0eef5" height="30">所属单位部门：</td>
						<td align="left" width="35%" height="30">
                            <asp:Label ID="dpm" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">标题：</td>
						<td align="left" height="30">
                            <asp:Label ID="bt" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">工作类别：</td>
						<td align="left" height="30">
                            <asp:Label ID="classid" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">状态：</td>
						<td align="left" height="30">
                            <asp:Label ID="zt" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">完成时限：</td>
						<td align="left" height="30">
                            <asp:Label ID="wcsx" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">来源：</td>
						<td align="left" height="30">
                            <asp:Label ID="ly" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">完成时间：</td>
						<td align="left" height="30">
                            <asp:Label ID="wcsj" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作情况登记人：</td>
						<td align="left" height="30">
                            <asp:Label ID="apr" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">登记时间：</td>
						<td align="left" height="30">
                            <asp:Label ID="djsj" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">奖励分值：</td>
						<td align="left" height="30">
                            <asp:Label ID="jlfz" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">最终得分：</td>
						<td align="left" height="30">
                            <asp:Label ID="zzdf" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作责任人：</td>
						<td align="left" height="30">
                            <asp:Label ID="zrr" runat="server"></asp:Label>
                        &nbsp;<%=trunstr %></td>
						<td align="right" bgColor="#e0eef5" height="30">工作终结人：</td>
						<td align="left" height="30">
                            <asp:Label ID="zjr" runat="server"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">短信与邮件自动提醒：</td>
						<td align="left" height="30">
                            <asp:Label ID="sms" runat="server"></asp:Label>
                        </td>
						<td align="right" bgColor="#e0eef5" height="30">自动提醒不带标题：</td>
						<td align="left" height="30">
                            <asp:Label ID="nobt" runat="server"></asp:Label>
                        </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作详情：</td>
						<td align="left" colSpan="3" height="30" class="nr">
                            <asp:Label ID="xq" runat="server" ForeColor="Blue"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作详情附件：</td>
						<td align="left" colSpan="3" height="30" class="nr">
        <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%">
        <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_c(DataBinder.Eval(Container, "DataItem.addtime"))%>'></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 align="right" bgColor="#e0eef5" height="30">办理情况：</td>
						<td align="left" colSpan="3" height="30" class="nr">
                            <asp:Label ID="kzqk" runat="server" ForeColor="#009933"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">办理情况附件：</td>
						<td align="left" colSpan="3" height="30" class="nr">
        <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%">
        <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_c(DataBinder.Eval(Container, "DataItem.addtime"))%>'></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 align="right" bgColor="#e0eef5" height="30">领导意见：</td>
						<td align="left" colSpan="3" height="30" class="nr">
                            <asp:Label ID="ldyj" runat="server" ForeColor="Red"></asp:Label>
                        &nbsp;</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作日志：</td>
						<td align="left" colSpan="3" height="30" class="nr">
                            <asp:Label ID="loginfo" runat="server" ForeColor="#999999"></asp:Label>
                        &nbsp;</td>
					</tr>
					</table>
			</div>

		</form>
	</body>
</HTML>