index.jsp

来自「管理公司合同」· JSP 代码 · 共 57 行

JSP
57
字号
<%@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  order by priority")%>"/>  
</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() %>/baseinfo/BaseinfoAction.jsp?gzbm="+value; 
	}   
</script>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?