📄 right.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.ClendarItemRecordSet" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<%@ page import="cn.com.aheadsoft.util.UserInfo"%>
<%@ page import="java.util.Properties,java.util.List,java.util.Iterator,java.util.Calendar,java.util.GregorianCalendar,java.text.DecimalFormat"%>
<jsp:useBean id="userinfo" scope="session" class="cn.com.aheadsoft.util.UserInfo"/>
<jsp:useBean id="upm" scope="session" class="cn.com.aheadsoft.manage.UserPurviewManage"/>
<%
//int fi2 = upm.getUserPopInt(userinfo,"9","2","i"); //replace by zenghongli 2004.9.13 基本授权单元整理
int fi2 = upm.getUserPopInt(userinfo,"9","2","q");
GregorianCalendar cal = new GregorianCalendar();
int nowyear = cal.get(Calendar.YEAR);
int nowmonth = cal.get(Calendar.MONTH) + 1;
%>
<html>
<head>
<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">
<%
int[] all = (int[])session.getAttribute("num");
ClendarItemRecordSet morning = (ClendarItemRecordSet)session.getAttribute("morning");
session.removeAttribute("morning");
ClendarItemRecordSet afternoon = (ClendarItemRecordSet)session.getAttribute("afternoon");
session.removeAttribute("afternoon");
ClendarItemRecordSet night = (ClendarItemRecordSet)session.getAttribute("night");
session.removeAttribute("night");
String userID = "";
UserInfo userInfo=(UserInfo)session.getAttribute("userinfo") ;
userID=userInfo.GetUserID();
String taskCount=(String)session.getAttribute("taskCount");
String taskLsrw=(String)session.getAttribute("taskLsrw");
String taskxdrw =(String)session.getAttribute("taskxdrw");
String taskover =(String)session.getAttribute("taskover");
String taskactivity = (String)session.getAttribute("taskactivity");
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="./image/main_bg.jpg">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="27" background="image/right_line.gif"><table width="98%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td><img src="image/title_task.gif" width="95" height="19"></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" align="center">
<tr>
<td width="15%"><div align="center"><img src="image/little_pic1.gif" width="50" height="45"></div></td>
<td width="85%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="24"><img src="image/front_dian.gif" width="24" height="14"></td>
<td class="common2" height="22">
<%if(all[11]!=0) {%>
<!--<a href="/krm/servlet/DetailServlet?module=detail&&status=q&&queryterm=tasknum&&urgent=s">您有<font color=red><%= all[11] %></font>个紧急响应</a> <img src="image/new.gif"> -->
<a href="/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=urgentproblem">您有<font color=red><%= all[11] %></font>个紧急响应</a> <img src="image/new.gif">
<%}else{%>
您没有紧急响应
<%}%>
<%if(all[16]!=0) {%>
<!--<a href="/krm/servlet/DetailServlet?module=detail&&status=q&&queryterm=tasknum&&urgent=n">您有<font color=red><%= all[16] %></font>个一般响应</a> <img src="image/new.gif"> -->
<a href="/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=noturgentproblem">您有<font color=red><%= all[16] %></font>个一般响应</a> <img src="image/new.gif">
<%}else{%>
您没有一般响应
<%}%>
</td> </tr>
<tr style="display:none">
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td class="common2" height="22">
<%if(all[16]!=0) {%>
<!--<a href="/krm/servlet/DetailServlet?module=detail&&status=q&&queryterm=tasknum&&urgent=n">您有<font color=red><%= all[16] %></font>个一般响应</a> <img src="image/new.gif"> -->
<a href="/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=noturgentproblem">您有<font color=red><%= all[16] %></font>个一般响应</a> <img src="image/new.gif">
<%}else{%>
您没有一般响应
<%}%></td> </tr>
<tr>
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td height="22" class="common2">
<%if(all[15]!=0) {%>
<a href="/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=tasknoend">另有<font color=red><%= all[15] %></font>个响应待回复,</a>
<%}else{%>
另有0个响应待回复,
<%}%>
<%if(all[21]!=0) {%>
<a href="/krm/servlet/DetailServlet?module=deproblem&&status=q&&queryterm=taskend"><font color=red><%= all[21] %></font>个5天内已处理</a> <img src="image/new.gif">
<%}else{%>
0个5天内已处理
<%}%>
</td> </tr>
<tr>
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td height="22" class="common2">
<%if(all[22]!=0) {%>
<a href="/krm/servlet/TaskAppTransferServlet?status=q" >您有<font color=red><%= all[22] %></font>个立项待批</a>
<%}else{%>
你没有待批立项
<%}%>
<%if(all[23]!=0) {%>
<a href="/krm/servlet/TaskAppConfirmServlet?status=q">,有<font color=red><%= all[23] %></font>个立项通过</a>
<img src="image/new.gif">
<%}%>
</td> </tr>
<%if((all[24]!=0)|| (all[25]!=0)){ %>
<tr>
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td height="22" class="common2">
<% if(all[25]!=0) { %>
<a href="/krm/servlet/DetailServlet?module=deplan&&status=q&&queryterm=day10&&select3=<%=nowmonth%>&&select2=<%=nowyear%>">有<font color=red><%= all[25] %></font>个计划10天内到期</a>
<%}%>
<%if(all[24]!=0) {%>
其中<a href="/krm/servlet/DetailServlet?module=deplan&&status=q&&queryterm=day3&&select3=<%=nowmonth%>&&select2=<%=nowyear%>"><font color=red><%= all[24] %></font>个3天内到期</a>
<%}%>
</td> </tr>
<%}%>
<%if((all[28]!=0)){ %>
<tr>
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td height="22" class="common2">
<% if(all[28]!=0) { %>
<a href="/krm/servlet/TaskInfoServlet?status=q&module=me">您有<font color=red><%= all[28] %></font>个新任务</a>
<%}%>
</td>
</tr>
<%}%>
<%if((all[26]!=0)|| (all[27]!=0)){ %>
<tr>
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td height="22" class="common2">
<% if(all[26]!=0) { %>
<a href="/krm/servlet/taskactivityservlet?status=q&type=d">您今天有<font color=red><%= all[26] %></font>个任务活动</a>
<%}%>
<%if(all[27]!=0) {%>
<a href="/krm/servlet/taskscheduleservlet?status=q&type=d">您今天有<font color=red><%= all[27] %></font>个任务日程</a>
<%}%>
</td>
</tr>
<%}%>
<%if((all[29]!=0)|| (all[30]!=0)|| (all[31]!=0)|| (all[32]!=0)){ %>
<tr>
<td><img src="image/front_dian.gif" width="24" height="14"></td>
<td height="22" class="common2">
<% if(all[29]!=0) { %>
<a href="/krm/servlet/taskcheckservlet?status=q&module=mc">您有<font color=red><%= all[29] %></font>个待阶段验收任务</a>
<%}%>
<%if(all[30]!=0) {%>
<a href="/krm/servlet/taskcheckservlet?status=q&module=mc">您有<font color=red><%= all[30] %></font>个待完工验收任务</a>
<%}%>
<%if(all[31]!=0) {%>
<a href="/krm/servlet/TaskInfoServlet?status=q&module=mi">您有<font color=red><%= all[31] %></font>个待评估任务</a>
<%}%>
<%if(all[32]!=0) {%>
<a href="/krm/servlet/TaskInfoServlet?status=q&module=mh">您有<font color=red><%= all[32] %></font>个待复查任务</a>
<%}%>
</td>
</tr>
<%}%>
</table></td>
</tr>
</table>
<%if(fi2>0){%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="27" background="image/right_line.gif"><table width="98%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td><img src="image/title_finance.gif" width="119" height="19"></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" align="center">
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -