⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit.jsp

📁 会议流程管理系统
💻 JSP
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>
<jsp:useBean id="pb" class="oa.main.ParentBean" scope="page"/>
<%
try{
	String uid = (String)session.getAttribute("zgbh");		
	if(uid==null)
	{
		response.sendRedirect("../../session_oa.htm");
		return;
	}

		DealString ds=new DealString();
		Hashtable hash=new Hashtable();

		String receivers="";
		String receiversBH="";


		String TITLE=ds.toString((String)hash.get("TITLE"));
		String KEYWORD=ds.toString((String)hash.get("KEYWORD"));
		String WORD=ds.toString((String)hash.get("WORD"));
		String LEVEL=ds.toString((String)hash.get("LEVEL"));
		String TIME=ds.toString((String)hash.get("TIME"));
		String SENDER=ds.toString((String)hash.get("SENDER"));
		String SENDER_XM=ds.toString((String)hash.get("XM"));
		String CHECKER=ds.toString((String)hash.get("CHECKER"));
		String CHECKER_XM=ds.toString((String)hash.get("CHECKER_XM"));
		String ISCHECK=ds.toString((String)hash.get("ISCHECK"));
		String PERFORMER=ds.toString((String)hash.get("PERFORMER"));
		String PERFORMER_XM=ds.toString((String)hash.get("PERFORMER_XM"));
		String ISPERFORM=ds.toString((String)hash.get("ISPERFORM"));
		
		
		if(TIME.equals("")) TIME=ds.getDateTime();

		String str_cur = ds.toString(request.getParameter("cur")); //翻页时传递页码








%>
<HTML>

<head><title>会议纪要</title>
<link href="../../css/person.css" type=text/css rel=stylesheet>
<script language="javascript" src="../scripts/department.js"></script>
<script src="Popup.js"></script>
<script src="validateForm.js"></script>
</head>

<BODY leftMargin=0 topMargin=0 >
<form name="form1" method="post" action="">
<br>&nbsp;&nbsp;&nbsp;<font color="#505050" size=2>当前位置:会议管理>><a href="list.jsp?cur=<%=str_cur%>">会议纪要</a></font>

<div align=center>
<font color="#666666" size=3><b>填写会议纪要<b></font>
</div>
<br>

<table border="1" width="95%" align=center cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#A5BEE0" >

	<tr bgcolor="#E0E0E0" height=25>
      <td width="15%" align=right>纪要标题:</td>
      <td width="85%" >&nbsp;<input type="text" title="通知标题" name="TITLE" maxlength=80 size="50" class=text value="<%=TITLE%>" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 14px;  BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0"></td>
    </tr>
	<tr bgcolor="#ffffff" height=25>
      <td width="15%" align=right>纪要内容:</td>
      <td width="85%" >&nbsp;<textarea name="WORD" class="text" cols="100" rows="5" ><%=WORD%></textarea></td>
    </tr>
	<tr bgcolor="#E0E0E0" height=25>
      <td width="15%" align=right>关键字:</td>
      <td width="85%" >&nbsp;<input type="text" title="关键字" name="KEYWORD" maxlength=80 size="50" class=text value="<%=KEYWORD%>" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 14px;  BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0"></td>
    </tr>
	<tr bgcolor="#ffffff" height=25>
      <td width="15%" align=right>会议纪要级别:</td>
      <td width="85%" >&nbsp;<select  name="LEVEL" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 12px; BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0">
	  <option value=1 <%if(LEVEL.equals("1")) out.print("selected");%>>一级</option>
	  <option value=2 <%if(LEVEL.equals("2")) out.print("selected");%>>二级</option>
	  <option value=3 <%if(LEVEL.equals("3")) out.print("selected");%>>三级</option>
	  </select></td>
    </tr>
    <tr bgcolor="#E0E0E0" height=25>
      <td width="15%" align=right>纪要接收人:</td>
      <td width="85%" >&nbsp;<input type="text" title="纪要接收人" readonly name="txt_receivername" maxlength=80 size="35" class=text value="<%=receivers%>" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 14px;  BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0">&nbsp;<input type="button" value="从组织机构" onclick="openWns('../../organization/departBrower.jsp?ZGBHs='+document.all.txt_receiverZGBH.value,'选择人员')">
	  <input type="hidden" value="<%=receiversBH%>" name="txt_receiverZGBH" class=txtframe></td>
    </tr>
	    <tr bgcolor="#ffffff" height=25>
      <td width="15%" align=right>审核人:</td>
      <td width="85%" >&nbsp;<input type="text" title="审核人" readonly name="txt_checker" maxlength=80 size="35" class=text value="<%=CHECKER_XM%>" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 14px;  BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0">&nbsp;<input type="button" value="选择" onclick="openWns('memberselect/stepMem.jsp?bh=CHECKER&name=txt_checker','选择人员')">
        <input type="hidden" value="<%=CHECKER%>" name="CHECKER" class=txtframe></td>
    </tr>
	    <tr bgcolor="#E0E0E0" height=25>
      <td width="15%" align=right> 督办人:</td>
      <td width="85%" >&nbsp;<input type="text" title="督办人" readonly name="txt_performer" value="<%=PERFORMER_XM%>" maxlength=80 size="35" class=text value="" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 14px;  BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0">&nbsp;<input name="button" type="button" onclick="openWns('memberselect/stepMem.jsp?bh=PERFORMER&name=txt_performer','选择人员')" value="选择">
        <input type="hidden" value="<%=PERFORMER%>" name="PERFORMER" class=txtframe></td>
    </tr>
    <tr bgcolor="#ffffff" height=25>
      <td width="15%" align=right>发布时间:</td>
      <td width="85%" >&nbsp;<input type="text" title="发布时间" name="TIME" maxlength=20 size="20" class=text value="<%=TIME%>" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 14px;  BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0" readonly><a href="#" onClick="fPopUpDlg('calendar.htm',document.all.TIME,'winpop',172,230);return false;">
	   <img src="../../images/DATETIME.GIF"></td>
    </tr>


    <tr bgcolor="#E0E0E0" height=25>
      <td colspan=2 align=center><input type="button" value="提交" name="baocun" onclick="onSubmit('add')"  style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 12px;BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0"></td>
    </tr>
</table>
</BODY>
</HTML>

<script language=javascript>
function muban()
{
	var windoc = "word/EditDoc.jsp?id="+document.all.WORD.value;	
	var winword = window.open(windoc,"editDOC","height=500,width=750,top=0,left=0,toolbar=no,menubar=no,location=no,resizable=yes,directories=no,status=no,scrollbars=yes,dependent=no");
	winword.focus();
}
</script>

<script>
	function onSubmit(actiontype){
		//????
		if(!validateForm(document.form1.txt_receivername,'NotBlank',document.form1.txt_checker,'NotBlank',document.form1.TITLE,'NotBlank')) return false;

		document.all.form1.baocun.disabled = true;
		document.all.form1.action="servlet.jsp?action="+actiontype;
		document.all.form1.submit();
	}

	function onButton_OK(oList){
	    var strNames="";
		var strValues="";
		var strZGBHValues="";
		var strValues1="";
		for(var i=0;i<oList.length;i++){
			strNames+=oList.options[i].text;
			strNames+=",";
			strValues1=oList.options[i].value;//zgbh+xm+gh
			
			if(strValues!="")
			    strValues+=",";
			strValues+=(strValues1.split(","))[1];
		
			strZGBHValues+=(strValues1.split(","))[0];//存储zgbh的隐藏框值
			strZGBHValues+=",";
		}
		document.all.txt_receivername.value = strValues;
		document.all.txt_receiverZGBH.value = strZGBHValues;//存储zgbh的隐藏框值
	}

	function openWns(url,name){
		var hWnd=window.open(url,name,'left=100,top=50,width=460,height=490');
		hWnd.focus();
	}
</script>

<%}finally{
	if(pb!=null)
		pb.closeConn();
}%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -