📄 viewselect.jsp
字号:
<%@ page contentType = "text/html;charset=GBK"%>
<%@ taglib uri="/WEB-INF/tag.tld" prefix="tag" %>
<%@ page import="cn.com.juneng.baseinfo.vo.BaseinfoVOImpl"%>
<%@ page import="cn.com.juneng.xuexijili.vo.XuexijiliVOImpl"%>
<%@ page import="cn.com.juneng.xuexijili.service.XuexijiliService" %>
<%@ page import="cn.com.juneng.gangweibh.service.GangweibhService" %>
<%@ page import="cn.com.juneng.gangweibh.vo.GangweibhVOImpl" %>
<%@ page import="cn.com.juneng.system.common.SpringBeanFactory" %>
<%@ page import="cn.com.juneng.system.vo.SysRoleVOImpl" %>
<%@ page import="cn.com.juneng.system.common.COMMON" %>
<%@ page import="cn.com.juneng.system.bo.User" %>
<%@ page import="java.util.List" %>
<html>
<title>查看职工相关信息</title>
<head>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/commonPage.css" />
</head>
<script>
function gotoView(viewSrc){
document.getElementById("myIframe").src = '<%= request.getContextPath() %>'+viewSrc;
}
</script>
<%
BaseinfoVOImpl bInfo=null;
//此变量用来记载是否显示工资调整信息
boolean isShow=false;
bInfo = (BaseinfoVOImpl)request.getAttribute("BaseinfoVOImpl");
if(bInfo==null||bInfo.equals("")){
isShow=false;
User user=(User)session.getAttribute("User");
bInfo=user.getBaseinfo();
}
User user=(User)session.getAttribute("User");
List list=user.getSysRoles();
if(!COMMON.isEmpty(list)&&list.size()>0){
SysRoleVOImpl userrole=null;
for(int i=0;i<list.size();i++){
userrole=(SysRoleVOImpl)list.get(i);
if(userrole.getRoleFlag().equalsIgnoreCase("Administrators"))
isShow=true;
}
}
String ryId = bInfo.getRid();
%>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="list_Result_Top" nowrap>
<table border="0" cellpadding="0" cellspacing="0" class="JB_OPERATION_STYLE_BASIC">
<tr>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/gangweibh/GangweibhAction.jsp?actiontype=showAll&gzid=<%=ryId%>&gzxm=<%=bInfo.getXm()%>")'>岗位信息</a></td>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/zhichenbh/ZhichenbhAction.jsp?actiontype=showAll&gzid=<%=ryId%>&gzxm=<%=bInfo.getXm()%>")'">职称信息</a></td>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/hetong/HetongAction.jsp?actiontype=showAll&zgid=<%=ryId%>&zgname=<%=bInfo.getXm()%>")'">合同信息</a></td>
<%if(isShow){%>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/gongzibh/GongzibhAction.jsp?actiontype=showAll&gzid=<%=ryId%>&gzxm=<%=bInfo.getXm()%>")'">工资信息</a></td>
<%}%>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/xuexijili/XuexijiliAction.jsp?actiontype=showAll&gzid=<%=ryId%>&gzxm=<%=bInfo.getXm()%>")'>学习信息</a></td>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/gxrxx/GxrxxAction.jsp?actiontype=showAll&zgid=<%=ryId%>&zgxm=<%=bInfo.getXm()%>")'>社会信息</a></td>
<td > <img src="<%=request.getContextPath()%>/query/images/dot3.gif" width="5" height="10"> <a class="jb_operation_href_normal" href='#' onclick='gotoView("/baseinfo/BaseinfoAction.jsp?actiontype=edit&rid=<%=ryId%>")'>基本信息</a></td>
</tr>
</table>
</td>
</tr>
</table>
<IFrame id="myIframe" class="attach_iframe" FRAMEBORDER="0" scrolling="auto" style="width:100%;height:100%" onload="this.height=myIframe.document.body.scrollHeight" src = '<%= request.getContextPath() %>/baseinfo/BaseinfoAction.jsp?actiontype=edit&rid=<%=ryId%>' />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -