index.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page import="com.vnex.intranet.pub.BusinessSession" %>
- <%@ page import="com.vnex.intranet.web.*" %>
- <%@ page import="com.vnex.intranet.web.handler.MenuFliter" %>
- <%@ page import="com.vnex.intranet.communication.bulletin.loader.ScrollTextLoader" %>
- <jsp:useBean id="msgProxy" class="com.vnex.intranet.communication.message.proxy.MessageProxyBean" scope="application"/>
- <jsp:useBean id="taskPendingProxy" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" scope="application"/>
- <jsp:useBean id="taskPendingCondition" class="com.vnex.intranet.workflow.taskpending.value.TaskPendingConditionBean" scope="page"/>
- <%
- BusinessSession BusinessName = (BusinessSession) session.getAttribute("BusinessName");
- if (BusinessName == null)
- {
- response.sendRedirect("/mainctrl/home/login");
- return;
- }
- boolean hasReceiveMsgRight = MenuFliter.hasRight(request, "2003|");
- boolean hasPendingTaskRight = MenuFliter.hasRight(request, "1003|");
- String scrollMsg = ScrollTextLoader.getScrollText();
- %>
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_null.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <DIV align=center>
- <form name="form1" method="post" action="">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><img src="<%=request.getContextPath()%>/vnex/MacOS/eoffice.gif" width="400" height="71">
- <TABLE class=notice cellSpacing=1 cellPadding=2 width="400" border=0>
- <TBODY>
- <TR>
- <TD><MARQUEE scrollAmount=1 scrollDelay=100 direction=up behavior=loop height=50>
- 滚动消息:<br>
- ******************************************<br>
- <%=scrollMsg%><br>
- ******************************************<br>
- </MARQUEE>
- </TD>
- </TR>
- </TBODY>
- </TABLE>
- <br>
- <span class=iframestyle style="OVERFLOW: visible; HEIGHT: 100%">
- <table width="400" border="0" cellpadding="5" cellspacing="1">
- <tr bgcolor="#999999">
- <td colspan="2"><font class="strongw">您好,<!--<%= BusinessName.getDeptName()%>:--><%= BusinessName.getEmpName()%>:欢迎使用Net-Office系统!</font></td>
- </tr>
- <tr>
- <td align="center" colspan="2" bgcolor="#e0e0e0">
- <table width="320" border="0">
- <tr>
- <td width="100" valign="top"><font class="strong">您今天共有:</font></td>
- <td width="250">
- <% if(hasReceiveMsgRight)
- {
- int newMsg = msgProxy.searchReceivedMessage(" where emp_id = " + BusinessName.getEmpId() + " and is_read=0").size();
- if ( newMsg != 0 ) { %>
- <a href="/mainctrl/msg/receivedHome"><%= newMsg %> 个新消息</a><br>
- <% }else{ %>
- 0 个新消息<br>
- <% } }%>
- <%
- if(hasPendingTaskRight)
- {
- taskPendingCondition.setEmployeeId(BusinessName.getEmpId());
- taskPendingCondition.setType(0);
- int newTask = taskPendingProxy.queryPretaskList(taskPendingCondition).size();
- %>
- <% if ( newTask != 0) { %>
- <a href="/mainctrl/taskpending/taskPendingList"><%= newTask%>个新任务</a>
- <% }else{ %>
- 0 个新任务
- <% } }%>
- </td>
- </tr>
- <tr>
- <td valign="top" colspan="2">
- <!-- <hr size="1">
- 您今天需要:...--></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </span>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>