📄 diaryseelatest.jsp
字号:
<%@ page import="java.util.*"%>
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.util.UserInfo"%>
<%@ page import="cn.com.aheadsoft.recordset.DiaryQueryRecordSet"%>
<jsp:useBean id="userInfo" scope="page" class="cn.com.aheadsoft.util.UserInfo" />
<jsp:useBean id="diaryQueryRecordSet" scope="page" class="cn.com.aheadsoft.recordset.DiaryQueryRecordSet" />
<html>
<head>
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%
/*
新增:曾红立
时间:2004年3月8日
说明:最近查看情况
*/
String userID;
String userName;
String userDeptName; //新增
String selfDeptID;
//String error;
//权限校验
userInfo=(UserInfo)session.getAttribute("userinfo") ;
userID=userInfo.GetUserID();
userName=userInfo.GetRealName();
userDeptName=userInfo.GetDeptName();
selfDeptID=userInfo.GetDeptID();
String status="seelatest";
%>
<script language="JavaScript">
<!--
isNav = (navigator.appName.indexOf("Netscape") != -1) ? true : false;
isIE = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
<tr height="8">
<td class="trA"> 您的位置:工作日记 >> <font class="fontcolor">最近查看工作日记</font></td>
</tr>
<tr height="8">
<td></td>
</tr>
<tr>
<td class="tdC" align="center">
<form name="form1" method="post" action="/krm/servlet/DiaryQueryCountServlet">
<input type="hidden" name="userNameShow">
<input type="hidden" name="status" value=<%=status%>>
<table border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
<tr >
<td class="tdA" colspan="2" align="center">
最近查看<%=userDeptName%> <%=userName%> 工作日记情况</td>
</tr>
<tr class="tdB">
<td class="tdC" align="center">查看人姓名</td>
<td class="tdC" align="center">查看时间</td>
</tr>
<%
//diaryQueryRecordSet=(DiaryQueryRecordSet)session.getAttribute("Latest_DiaryQueryRecordSet");
diaryQueryRecordSet=(DiaryQueryRecordSet)request.getAttribute("Latest_DiaryQueryRecordSet");
//session.removeAttribute("Latest_DiaryQueryRecordSet");
int size=0;
if(null!=diaryQueryRecordSet){
size=diaryQueryRecordSet.size();
for(int i=0;i<size;i++){
diaryQueryRecordSet.next();
%>
<tr
<%if((i+1)%2==0){%>class="bgcolor"<%
}%>
>
<td class="common" align="center"><%=diaryQueryRecordSet.getDQD_QueryUserName()%></td>
<td class="common" align="center"><%=diaryQueryRecordSet.getDQD_LatestTime()%></td>
</tr>
<%
}
}
%>
</table>
</form>
<input name="button" type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="history.back(1);" value="返 回" >
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -