📄 index.jsp
字号:
<%@page language="java" contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/tag.tld" prefix="tag"%>
<%@ page import="cn.com.juneng.system.common.taglib.tree.SqlTreeService" %>
<html>
<head>
<link href="<%=request.getContextPath()%>/css/commonPage.css" rel="stylesheet" type="text/css">
<style>
<!--
a:link {
text-decoration:none;
}
a:hover {
text-decoration:none;
}
a:visited {
text-decoration:none;
}
a:active {
text-decoration:none;
}
a:visited:hover {
text-decoration:none;
}
-->
</style>
</head>
<body style="padding:0 0 0 0; margin:0 0 0 0">
<table width='100%' height='99%'>
<tr bgcolor='#F0FBFF'>
<td style="vertical-align:top" width='150'>
<div align="left">
<tag:tree treeName="组织机构" treeService="<%=new SqlTreeService("select org_id as nodeid,org_name as nodename,parent_id as parentid from sys_org")%>"/>
</div>
</td>
<td valign='top'>
<iframe id="frame1" name="frame1" FRAMEBORDER=0
src=""
width="100%" height="100%">
</iframe>
</td>
</tr>
</table>
</body>
<script>
function selectNode(){
var node = atree.getSelected();
var value = node.value;
if(value==null||value=="undefined"){
alert("请选择具体组织机构!");
return;
}
frame1.location.href = "<%=request.getContextPath() %>/system/user/SysUserAction.jsp?orgId="+value;
}
</script>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -