📄 history_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();
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_HISTORY.*,A.XM,B.XM as CHECKER_XM from HG2_MEET_SUMMARY_HISTORY,ZZ_ZGB A,ZZ_ZGB B where A.ZGBH=HG2_MEET_SUMMARY_HISTORY.SENDER and B.ZGBH=HG2_MEET_SUMMARY_HISTORY.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);
String mlevel = ds.toString((String)hash.get("MLEVEL"));
if(mlevel.equals("1")){
mlevel = "一级";
}
if(mlevel.equals("2")){
mlevel = "二级";
}
if(mlevel.equals("3")){
mlevel = "三级";
}
String strperformcontent =ds.toString((String)hash.get("PERFORM"));
strperformcontent = strperformcontent.replaceAll("\r\n","<br>").replaceAll(" "," ");
%>
<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="history_list.jsp">
<br> <font color="#505050" size=2>当前位置:会议管理>><a href="history_list.jsp">会议查询</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%" > <%=(String)hash.get("XM")%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>纪要标题:</td>
<td width="85%" > <%=(String)hash.get("TITLE")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>纪要级别:</td>
<td width="85%" > <%=mlevel%></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%" > <%=(String)hash.get("CHECKERTIME")%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>审核意见:</td>
<td width="85%" > <%=(String)hash.get("CHECKWORD")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>督办人:</td>
<td width="85%" > <%=pb.toName("ZZ_ZGB","ZGBH","XM",ds.toString((String)hash.get("PERFORMER")))%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>接收人:</td>
<td width="85%" > <%=(String)hash.get("RECEIVERS")%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>督办结果:</td>
<td width="85%" ><br> <%=strperformcontent%><br><br></td>
</tr>
<tr bgcolor="#ffffff" 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 + -