📄 noteresend.jsp
字号:
<!--#include file="conn.inc"-->
<%@ page contentType="text/html;charset=GB2312" %>
<%@page import="cn.com.aheadsoft.business.*"%>
<%@page import="cn.com.aheadsoft.recordset.*"%>
<html>
<link href="/krm/jsp/css/css.css" rel="stylesheet" type="text/css">
<script src="/krm/jsp/jscript/Calendar.js"></script>
<script>
function openWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
function atSubmit(){
if(document.form1.MIMeetTime.value!=null && document.form1.MIMeetTime.value=="") {
document.form1.MIMeetTime.focus();
alert("您没有填写会议时间!请填写后提交。");
return false;
}
if(document.form1.MIMeetAddress.value!=null && document.form1.MIMeetAddress.value=="") {
document.form1.MIMeetAddress.focus();
alert("您没有填写会议地点!请填写后提交。");
return false;
}
if(document.form1.MIMeetName.value!=null && document.form1.MIMeetName.value=="") {
document.form1.MIMeetName.focus();
alert("您没有填写会议名称!请填写后提交。");
return false;
}
if(document.form1.MIMeetSubject.value!=null && document.form1.MIMeetSubject.value=="") {
document.form1.MIMeetSubject.focus();
alert("您没有填写会议主题!请填写后提交。");
return false;
}
if(document.form1.Handlers.value!=null && document.form1.Handlers.value=="") {
document.form1.Handlers.focus();
alert("您没有填写与会人员!请填写后提交。");
return false;
}
}
</script>
<head>
<title>修改并重发通知</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/css.css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<%!
private String getInfoPerson(String sInfoTime, String sMm_ID)
{
String sInfoPerson = "";
MeetingStaffBusiness m1 = new MeetingStaffBusiness();
// get the persons being informed
m1.setQueryWhereInfoTime(sInfoTime);
m1.setQueryWhereMeeting(sMm_ID);
m1.execute("query");
MeetingStaffRecordSet MeetStaffRdSet = m1.getMeetingStaffRdset();
while(MeetStaffRdSet.next())
{
PersonInfoBusiness pib = new PersonInfoBusiness();
pib.setQueryWhere(MeetStaffRdSet.getMS_Person());
pib.execute("query");
PersonInfoRecordSet rd = pib.getRecordSet();
rd.next();
String strName = rd.getI_Name();
sInfoPerson = sInfoPerson + strName + ",";
}
return sInfoPerson;
}
%>
<%
String sMeetID = request.getParameter("meetID");
String sInfoTime = request.getParameter("infotime");
int iResult = -1;
MeetingInformBusiness bundi = new MeetingInformBusiness();
bundi.setQueryWhereID(sMeetID,sInfoTime);
iResult = bundi.execute("query");
MeetingInformRecordSet MeetingInformRdSet = bundi.getMeetingInformRdset();
int iResNum = MeetingInformRdSet.size();
MeetingInformRdSet.next();
String sMeetName = MeetingInformRdSet.getMI_MeetName();
String sMeetSubjet = MeetingInformRdSet.getMI_MeetSubject();
String sDateTime = MeetingInformRdSet.getMI_MeetTime();
String sAddress = MeetingInformRdSet.getMI_MeetAddress();
MeetingDetailBusiness busi = new MeetingDetailBusiness();
busi.setQueryWhereID(sMeetID);
int iRes = busi.execute("query");
MeetingDetailRecordSet MeetingDetailRdSet = busi.getMeetingDetailRdset();
MeetingDetailRdSet.next();
String sAttdence = MeetingDetailRdSet.getMD_Attendance();
String sInfoPerson = getInfoPerson(sInfoTime, sMeetID);
%>
<div align="center">
<form name="form1" method="post" action="/krm/servlet/meetinginformservlet?module=updateinform&status=\"\"" onSubmit="return atSubmit();">
<input type="hidden" name="nexturl" value="importantnote.jsp">
<input type="hidden" name="InfoTime" value="<%=sInfoTime%>">
<input type="hidden" name="MMID" value="<%=sMeetID%>">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" >
<tr class="trA">
<td> 您的位置:行政管理 >> 会议管理 >> <font class="fontcolor">重发通知</font></td>
</tr>
<tr height="8">
<td >
</td>
</tr>
<tr>
<td align="center">
<table border="0" width="98%" bordercolor="A1B7DB" class="collapse">
<tr>
<td class="tdA" colspan="9" align="center"><div align="left">重发通知</div></td>
</tr>
<tr align=middle class=listtitle>
<td width="94" valign="middle" class="common" color="d4e8f4"> 会议时间</td>
<td valign="top" colspan="3" class="common" color="d4e8f4" >
<div align="left">
<input type="text" name="MIMeetTime" class="long" value="<%=sDateTime%>" readonly>
</div>
</td>
</tr>
<tr align=middle class=listtitle>
<td valign="middle" class="common" color="d4e8f4" width="94"> 会议地点</td>
<td colspan="3" valign="top" class="common" color="d4e8f4">
<div align="left">
<input type="text" name="MIMeetAddress" class="long" value="<%=sAddress%>">
</div>
</td>
</tr>
<tr align=middle class=listtitle>
<td valign="middle" class="common" color="d4e8f4" width="94"> 会议名称</td>
<td colspan="3" valign="top" class="common" color="d4e8f4">
<div align="left">
<input type="text" name="MIMeetName" class="long" value="<%=sMeetName%>">
</div>
</td>
</tr>
<tr align=middle class=listtitle>
<td valign="middle" class="common" color="d4e8f4" width="94"> 会议主题</td>
<td colspan="3" valign="top" class="common" color="d4e8f4">
<div align="left">
<input type="text" name="MIMeetSubject" class="long" value="<%=sMeetSubjet%>">
</div>
</td>
</tr>
<tr align=middle class=listtitle>
<td valign="middle" class="common" color="d4e8f4" width="94">已通知人员</td>
<td colspan="3" valign="top" class="common" color="d4e8f4">
<div align="left"><font size="2">
<textarea name="T6" cols="47" rows="3" style="overflow:auto" readonly><%=sInfoPerson%></textarea>
</font></div>
</td>
</tr>
<tr >
<td width="100" class="common" align="center">与会人员</td>
<td class="common"><input type="text" class="long" readonly="true" name="Handlers" alt="与会人员">
<a href="javascript:openWindow('/krm/servlet/UserSelectServlet?src1=form1.StaffID&src2=form1.Handlers','selectuser','width=500,height=300')">
<image src="/krm/jsp/image/selectperson.gif" border="0"></a></td>
<input type="hidden" name="StaffID" alt="与会人员" value="">
</tr>
<tr align=middle>
<td colspan="4" class="tdC" >
<div align="center">
<input name="imageField" type="submit" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="提 交">
<input name="imageField" type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="返 回" onClick="javascript:history.back(-1);"> </div>
</td>
</tr>
</table>
</td></tr>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -