<%@ Page Language="VB" AutoEventWireup="false" Inherits="work_plan_web_deploy.edit_cooperation" Codebehind="edit_cooperation.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:DropDownList ID="classid" runat="server">
                            </asp:DropDownList>
                            </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">标题：</td>
						<td align="left" height="30">
                            <asp:TextBox ID="bt" runat="server" Width="233px" style="width:233px;"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                ControlToValidate="bt" ErrorMessage="标题必须填写"></asp:RequiredFieldValidator>
                        </td>
						<td align="right" bgColor="#e0eef5" height="30">状态：</td>
						<td align="left" height="30">
								<STRONG><asp:DropDownList ID="zt" runat="server">
                                <asp:ListItem Value="0">等待接收</asp:ListItem>
                                    <asp:ListItem Value="1">等待办结</asp:ListItem>
                                    <asp:ListItem Value="2">等待结果确认</asp:ListItem>
                                    <asp:ListItem Value="3">结果已确认</asp:ListItem>
                            </asp:DropDownList>
                                </STRONG>
                                
							</td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">发起部门：</td>
						<td align="left" height="30">
                            <asp:Label ID="fqdpm" runat="server"></asp:Label>
                        &nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">协作部门：</td>
						<td align="left" 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:TextBox ID="fqr" runat="server" Width="97px" style="width:97px;"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" 
                                ControlToValidate="fqr" ErrorMessage="发起人必须填写"></asp:RequiredFieldValidator>
                        &nbsp;&nbsp;</td>
						<td align="right" bgColor="#e0eef5" height="30">办理人：</td>
						<td align="left" height="30">
                            <asp:TextBox ID="blr" runat="server" Width="97px" style="width:97px;"></asp:TextBox>
                        </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">发起时间：</td>
						<td align="left" height="30">
                            <asp:TextBox ID="fqsj" runat="server"></asp:TextBox>
                        </td>
						<td align="right" bgColor="#e0eef5" height="30">办理时间：</td>
						<td align="left" height="30">
                            <asp:TextBox ID="blsj" runat="server"></asp:TextBox>
                        </td>
					</tr>
                    </tr>
                    	<tr>
						<td align="right" bgColor="#e0eef5" height="30">短信与邮件自动提醒：</td>
						<td align="left" height="30">
                            <asp:CheckBox ID="sms" runat="server" Checked="True" Text="开启" />
                        </td>
						<td align="right" bgColor="#e0eef5" height="30">自动提醒不带标题：</td>
						<td align="left" height="30">
                            <asp:CheckBox ID="nobt" runat="server" Text="不带标题" />
                            <span class="STYLE1">（需要保密的工作请开启此功能）</span></td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作详情：</td>
						<td align="left" colSpan="3" height="30" >
                            <asp:textbox id="xq" runat="server" 
                                Width="568px" Height="112px" TextMode="MultiLine" style="width:568px;height:112px;"></asp:textbox></td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">工作详情附件：</td>
						<td align="left" colSpan="3" height="30">
                        <iframe frameborder="0" scrolling="yes" src="upfiles_edit_coop1.aspx?t=c1&tempid=<%=id.text %>" width="100%"></iframe>
                        </td>
					</tr>
					<tr>
						<td align="right" bgColor="#e0eef5" height="30">办理情况：</td>
						<td align="left" colSpan="3" height="30">
                            <asp:textbox id="blqk" runat="server" 
                                Width="568px" Height="112px" TextMode="MultiLine" style="width:568px;height:112px;"></asp:textbox>
                        </td>
					</tr>
                    <tr>
						<td align="right" bgColor="#e0eef5" height="30">办理情况附件：</td>
						<td align="left" colSpan="3" height="30">
                        <iframe frameborder="0" scrolling="yes" src="upfiles_edit_coop2.aspx?t=c2&tempid=<%=id.text %>" width="100%"></iframe>
                        </td>
					</tr>
					</table>
			</div>
                        <table cellSpacing="0" cellPadding="0" width="300" align="center" border="0">
				<tr>
					<td vAlign="middle" align="center" height="40">&nbsp;
						<asp:button id="Button1" runat="server" Text="保存(ALT+S)" AccessKey="s" 
                            Width="120px"></asp:button>&nbsp;
						<asp:button id="Button2" runat="server" Width="120px" Text="取消修改(ALT+C)" 
                            CausesValidation="False" AccessKey="C"></asp:button></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>