| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
- <%@include file="./taglib.jsp" %>
- <%@ page import="cn.sinobest.framework.util.ConfUtil,cn.sinobest.framework.util.Util,cn.sinobest.framework.comm.Environment"%>
- <%@ page import="cn.sinobest.framework.comm.iface.IOperator"%>
- <%@ page import="cn.sinobest.sysmngr.comm.ConVar"%>
- <%@ page import="cn.sinobest.framework.util.Util"%>
- <%@ page import="cn.sinobest.appcomm.service.sy.AppcommSyService"%>
-
-
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta http-equiv="X-UA-Compatible" content="<%=Environment.XUACompatible %>" />
- <meta HTTP-EQUIV="Expires" CONTENT="0">
- <title><%=Environment.getDefaultTitle() %></title>
-
- <%
- String ENABLE_LOGINHINT = ConfUtil.getParam("ENABLE_LOGINHINT","TRUE");
- String topFrameRows = "49,*";
- boolean bEnableLoginHint = false;
- if(ENABLE_LOGINHINT.equalsIgnoreCase("TRUE")){
- bEnableLoginHint = true;
- topFrameRows = "*,0,0";
- }
-
-
- //根据用户类型跳转不同首页,管理员、窗口用户、科室用户
- Object obj = request.getSession().getAttribute(ConVar.LOGIN_SESSION_ID);
- IOperator Operator = (IOperator) obj;
- String OperID = Operator.getOperID();
- AppcommSyService appcommSyService = (AppcommSyService)Util.getBean("appcommSyService");
- String usertype = appcommSyService.getUserTypeByRight(OperID);
-
- String syurl="";
-
- if(usertype.equals("ksuser")){
- syurl="framework/blank2.jsp?RightID=blank";
- }else if(usertype.equals("ckuser")){
- syurl="ck/web/ywsl/ywsl_q.jsp?RightID=blank";
- }else{
- syurl="framework/blank3.jsp?RightID=blank";
- }
-
- %>
- <script type="text/javascript">
- window.defaultStatus="研发单位:广州华资软件技术有限公司 ";
- <%if(bEnableLoginHint){%>
- window.topFrameRows = "0,49,*";
- <%}%>
- window.mLoadStatus = {
- "banner" : false,
- "TreeMenu" : false,
- "workspace" : false
- };
- </script>
-
- </head>
- <frameset name="topFrame" rows="<%=topFrameRows %>" cols="*" frameborder="NO" border="1" framespacing="0">
- <%if(bEnableLoginHint){%>
- <frame name="loadingHint" src="${ctx}/jsp/framework/loading.jsp">
- <%}%>
- <frame name="banner" scrolling="NO" noresize src="${ctx}/jsp/framework/banner2.jsp">
-
- <frameset name="MenuFrameset" cols="200,7,*" frameborder=no border="0" framespacing="0" rows="*">
- <frame name="TreeMenu" scrolling="auto" src="${ctx}/jsp/framework/left2.jsp" >
- <frame name="TreeMenuHideShow" scrolling="no" noresize="noresize" src='${ctx}/jsp/framework/left_hide_show.jsp?usertype="<%=usertype %>"' >
- <frameset name="contentFrameset" rows="25,*" frameborder="NO" border="0" framespacing="0" cols="*">
- <frame name="navigation" noresize="noresize" scrolling="no" src="${ctx}/jsp/framework/navigation.jsp">
- <%if("true".equals(Environment.BPM_WORKFLOW_ON)){%>
- <frame name="workspace" noresize="noresize" scrolling="auto" src="${ctx}/jsp/framework/blank_bpm.jsp?RightID=blank">
- <%}else{%>
- <frame name="workspace" noresize="noresize" scrolling="auto" src="${ctx}/jsp/<%=syurl %>">
- <%}%>
- </frameset>
-
- </frameset>
-
- </frameset>
- </html>
|