depttree.jsp
来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· JSP 代码 · 共 74 行
JSP
74 行
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="com.yuanchung.sales.service.admin.SetupTreeView"%>
<%@page import="java.util.List"%>
<%@page import="com.yuanchung.sales.model.admin.role.RoleRightArea"%>
<%@page import="com.yuanchung.sales.model.admin.role.Role"%>
<html>
<head>
<title>Y6高级销售管理平台--选择部门</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="StyleSheet" href="${pageContext.request.contextPath}/css/dtree.css" type="text/css" />
<link rel="StyleSheet" href="${pageContext.request.contextPath}/css/global.css" type="text/css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/allDeptTree.js"></script>
<script language="JavaScript" src="${pageContext.request.contextPath}/js/changeCheckbox.js"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
<tr>
<td height="30" background="${pageContext.request.contextPath}/images/t_25.gif">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align=center>选择部门</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td bgcolor="#CCCCCC" width="2" height="2"></td>
<td height="2" bgcolor="#F3F7FA">
<div id="myContacts" style="text-align: center;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="425">
<tr>
<td width="30%"> </td>
<td valign="top" class="dtree" >
<br/>
<input type="button" class="userButton" value="展开" onclick="deptTree.oAll(true);">
<input type="button" class="userButton" value="折叠" onclick="deptTree.oAll(false);">
<br/><br/>
<script type="text/javascript">
<%=SetupTreeView.getAllDeptTreeView("", 1)+"document.write(deptTree);" %>
</script>
</td>
</tr>
</table>
</div>
</td>
<td bgcolor="#CCCCCC" width="2" height="2"></td>
</tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="8" height="5" valign="top">
<img src="${pageContext.request.contextPath}/images/left.gif" width="8" height="11">
</td>
<td background="${pageContext.request.contextPath}/images/ht.gif" height="11">
</td>
<td width="8" height="5" valign="top">
<img src="${pageContext.request.contextPath}/images/rg.gif" width="8" height="11">
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?