📄 read.jsp
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.*"%>
<jsp:useBean id="pb" class="oa.main.ParentBean" scope="page"/>
<%
DealString ds = new DealString();
String str_cur = ds.toString(request.getParameter("cur")); //翻页时传递页码
try{
String uid = (String)session.getAttribute("zgbh");
if(uid==null)
{
response.sendRedirect("../../session_oa.htm");
return;
}
if (pb.getConn() == null){
%>
数据库无法响应,请<a href="javascript:window.history.back(-1);">返回</a>重试
<%out.close();
}
String str_id = ds.toString(request.getParameter("id"));
String sql = "select HG2_MEET_SUMMARY.*,A.XM,B.XM as CHECKER_XM from HG2_MEET_SUMMARY,ZZ_ZGB A,ZZ_ZGB B where A.ZGBH=HG2_MEET_SUMMARY.SENDER and B.ZGBH=HG2_MEET_SUMMARY.CHECKER and id = '" + str_id + "'";
Vector vect = pb.getDataBySql(sql);
if(vect.size()==0) throw new Exception("not having the record!");
Hashtable hash = (Hashtable)vect.get(0);
sql = "select XM from HG2_MEET_SUMMARY_MEN,ZZ_ZGB where HG2_MEET_SUMMARY_MEN.RECEIVER=ZZ_ZGB.ZGBH and SUMMARYID='" + str_id + "'";
vect = pb.getDataBySql(sql);
String receivers="";
if(vect.size()>0){
receivers = ",";
for ( int i=0; i<vect.size(); i++){
Hashtable hashtable = (Hashtable)vect.get(i);
receivers += (String)hashtable.get("XM") + ",";
}
receivers=receivers.substring(1,receivers.length()-1);
}
String LEVEL=ds.toString((String)hash.get("MLEVEL"));
String ISCHECK = hash.get("ISCHECK").equals("1")?"<font color=green>是</font>":"<font color=blue>否</font>";
%>
<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>
</head>
<BODY leftMargin=0 topMargin=0 >
<form name="form1" method="post" action="list.jsp?cur=<%=str_cur%>">
<br> <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%" > <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" disabled>
<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="#ffffff" height=25>
<td width="15%" align=right>纪要起草人:</td>
<td width="85%" > <%=(String)hash.get("XM")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>纪要标题:</td>
<td width="85%" > <%=(String)hash.get("TITLE")%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>纪要关键字:</td>
<td width="85%" > <%=(String)hash.get("KEYWORD")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>发布时间:</td>
<td width="85%" > <%=(String)hash.get("TIME")%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>审核领导:</td>
<td width="85%" > <%=(String)hash.get("CHECKER_XM")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>是否审核完毕:</td>
<td width="85%" > <%=ISCHECK%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>审核时间:</td>
<td width="85%" > <%=(String)hash.get("CHECKERTIME")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>审核意见:</td>
<td width="85%" > <%=(String)hash.get("CHECKWORD")%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>接收人:</td>
<td width="85%" > <%=receivers%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>纪要内容:</td>
<td width="85%" > <%=(String)hash.get("WORD")%></td>
</tr>
<tr>
<td colspan="6" bgcolor=white align="center"><input type="submit" value="返回" name="fanhui" onclick="" style="background-color: #ffffff;cursor:hand;" 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>
</form>
</BODY>
</HTML>
<script language=javascript>
function muban()
{
var windoc = "word/EditDoc.jsp?readonly=true&id=<%=ds.toString((String)hash.get("WORD"))%>";
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>
<%}catch(Exception e){
out.println(e);
%>
<hr>请<a href="javascript:window.history.back(-1);">返回</a>重试
<%
}finally{
if(pb!=null)
pb.closeConn();
}%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -