<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="DepPlanEdit.aspx.cs" validateRequest="false" AutoEventWireup="false" Inherits="WebStarCRM.DepPlanEdit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>部门工作任务</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button1" runat="server" Text="部门工作任务基本资料↓"></asp:button><asp:textbox id="Wsdn_StarCRM_Id" runat="server" Visible="False"></asp:textbox><asp:Label id="LabelCF" runat="server" Visible="False"></asp:Label>
						<asp:TextBox id="Wsdn_StarCRM_Clientid" runat="server" Width="0px" ReadOnly="True"></asp:TextBox>
						<asp:datagrid id="DGValidate" runat="server" Visible="False" Width="615px" Height="68px" ForeColor="Red"
							DESIGNTIMEDRAGDROP="925" AutoGenerateColumns="False">
							<Columns>
								<asp:BoundColumn DataField="MainCaption" HeaderText="项目"></asp:BoundColumn>
								<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
								<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
							</Columns>
						</asp:datagrid>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<asp:Label id="Label1" runat="server">任务描述</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" Width="200px" MaxLength="50"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
									<TD>
										<asp:Label id="Label2" runat="server">重要性</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Prior" runat="server" Width="200px"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselect('重要程度','Wsdn_StarCRM_Prior');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">发表日期</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Time" runat="server" Width="200px"></asp:TextBox>
										<asp:ImageButton id="ImageButton1" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/history.gif"></asp:ImageButton></TD>
									<TD>
										<asp:Label id="Label6" runat="server">相关部门(多部门请用","分隔)</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Department" runat="server" Width="200px"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselectdepartment();" height="14" alt="选择部门" src="../image/mini_post.gif"
											width="13">&nbsp;&nbsp;&nbsp;
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label4" runat="server">任务开始时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_StartTime" runat="server" Width="200px"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_StartTime', false)"><IMG height="18" src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A>
										<asp:ImageButton id="Imagebutton2" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/history.gif"></asp:ImageButton><FONT face="宋体" color="#ff0000">*</FONT></TD>
									<TD>
										<asp:Label id="Label5" runat="server">任务结束时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_EndTime" runat="server" Width="200px"></asp:TextBox>&nbsp;<A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_EndTime', false)"><IMG height="18" src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A>
										<asp:ImageButton id="ImageButton3" runat="server" AlternateText="计算至今的时间" ImageUrl="../image/history.gif"></asp:ImageButton><FONT face="宋体" color="#ff0000">*</FONT></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">接受任务员工</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_TO" runat="server" Width="200px" MaxLength="50"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label8" runat="server">完成程度</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Percent" runat="server" Width="200px"></asp:TextBox>&nbsp;<IMG onclick="javascript:doselect('完成比率','Wsdn_StarCRM_Percent');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label9" runat="server">相关客户</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" Width="200px" MaxLength="50"></asp:TextBox>&nbsp;<IMG onclick="javascript:window.open('../include/selcl.aspx?type=5','_blank','location=no, top=100, left=100,toolbar=yes, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')"
											height="14" alt="察看该项目" src="../image/mini_post.gif" width="13">
									</TD>
									<TD>
										<asp:Label id="Label10" runat="server">相关联系人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Linkman" runat="server" Width="200px"></asp:TextBox>&nbsp;<IMG onclick="javascript:selectlinkman();" height="14" alt="选择联系人" src="../image/mini_post.gif"
											width="13">&nbsp;
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label12" runat="server">发表人</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Author" runat="server" Width="200px"></asp:TextBox></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="公开资料" Checked="True"></asp:CheckBox></TD>
									<TD>
										<asp:CheckBox id="DeleteFlag" runat="server" Text="删除" Visible="False"></asp:CheckBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label11" runat="server">问题及解决方法</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Problem" runat="server" Width="529px" Height="72px" MaxLength="250"
											TextMode="MultiLine"></asp:TextBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button5" runat="server" Text="任务内容↓"></asp:button></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel3" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<FTB:FreeTextBox id="Wsdn_StarCRM_Info" runat="server" Width="92%" Height="280px" GutterBackColor="224, 224, 224"
											BackColor="224, 224, 224" DropDownListCssClass="WsdnOrgInfo" HtmlModeCss="WsdnOrgInfo" DesignModeCss="WsdnOrgInfo"
											ToolbarBackgroundImage="False" SupportFolder="~/FreeTextBox/"></FTB:FreeTextBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:button id="Btcopy" runat="server" Text="复制当前记录"></asp:button>&nbsp;
							<asp:Button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:Button>
							<asp:button id="Button2" runat="server" Text="返回" Visible="False"></asp:button>
							<asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label></P>
						<P><asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button>&nbsp;&nbsp;
							<asp:dropdownlist id="PrintList" runat="server">
								<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
								<asp:ListItem Value="输出为Excel" Selected="True">输出为Excel</asp:ListItem>
							</asp:dropdownlist>&nbsp;&nbsp;&nbsp;
						</P>
						<P>
							<HR width="100%" SIZE="1">
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"></TD>
				</TR>
				<TR>
					<TD colspan="4">
						<asp:Label id="Label38" runat="server">发表备忘：</asp:Label>
						<asp:TextBox id="TextBox1" runat="server" Width="450px"></asp:TextBox>
						<asp:Button id="Button6" runat="server" Text="提交备忘"></asp:Button>
					</TD>
				</TR>
				<TR>
					<TD colspan="4">
						<asp:DataGrid id="DataGridNote" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="内容"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Status" HeaderText="状态"></asp:BoundColumn>
							</Columns>
						</asp:DataGrid>
						<asp:Label id="Label13" runat="server">相关文件：</asp:Label>
						<asp:DataGrid id="DataGridFile" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="文件说明"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="下载" Target="_blank" DataNavigateUrlField="Wsdn_StarCRM_Url" DataNavigateUrlFormatString="../UploadFile/{0}"
									HeaderText="下载"></asp:HyperLinkColumn>
							</Columns>
						</asp:DataGrid>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
