34 lines
1.7 KiB
Plaintext
34 lines
1.7 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%><%@
|
|
include file="/Frame/resources/include/include_begin_ajax.jspf"
|
|
%>
|
|
<%@page import="jbo.com.tenwa.entity.comm.basemessage.LB_BASE_MESSAGE_USER"%>
|
|
<%
|
|
//取系统名称
|
|
String sProductName = CurConfig.getConfigure("ProductName");
|
|
if (sProductName == null) sProductName = "";
|
|
String sImplementationVersion = CurConfig.getConfigure("ImplementationVersion");
|
|
if (sImplementationVersion == null) sImplementationVersion = "";
|
|
|
|
String PG_TITLE = sProductName; // 浏览器窗口标题 <title> PG_TITLE </title>
|
|
String PG_CONTENT_TITLE = null; //默认的内容区标题
|
|
String PG_CONTNET_TEXT = "";//默认的内容区文字
|
|
String PG_LEFT_WIDTH = "1";//默认的treeview宽度
|
|
String isSelectManagerOrg="false";
|
|
if(CurUser.hasRole("299")&&null==session.getAttribute("managerPlatFormOrgId")){
|
|
//isSelectManagerOrg="true";
|
|
session.setAttribute("managerPlatFormOrgId","8000"+CurOrg.getOrgLevel());
|
|
}
|
|
//查询站内信数量
|
|
BizObjectManager messageManager = JBOFactory.getBizObjectManager(LB_BASE_MESSAGE_USER.CLASS_NAME);
|
|
BizObject interMessage = messageManager.createQuery("select count(*) v.cnumber from o where userid=:userid and MESSAGE_STATUS=0").setParameter("userid",CurUser.getUserID()).getSingleResult(false);
|
|
Double cnumber= Double.parseDouble( interMessage.getAttribute("cnumber").getString() ) ;
|
|
|
|
%>
|
|
<%@ include file="/Frame/resources/include/ui/include_mainmenu.jspf"%>
|
|
<script type="text/javascript">
|
|
AsControl.OpenView("/AppMain/Welcome/Welcome.jsp","","right");
|
|
//加载站内信
|
|
<%if(cnumber>0){%>
|
|
AsDialog.PopView("/Tenwa/Core/BaseMessage/MessageRead/BaseMessageReadList.jsp","messageStatus=0",{width:900,height:500,title:"站内信息"});
|
|
<%}%>
|
|
</script><%@ include file="/Frame/resources/include/include_end_ajax.jspf"%> |