📄 sys_modelmanage_show.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ page import="java.util.*" %>
<%@ page import="com.galaxy.dao.*" %>
<%@ page import="com.galaxy.vo.*" %>
<%@ page import="com.galaxy.util.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'sys_modelmanage_show.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<link rel="stylesheet" type="text/css" href="css/css.css"/>
</head>
<%
List rplist1 = new ArrayList();//人员档案
List rplist2 = new ArrayList();//人事调配
List rplist3 = new ArrayList();//教育培训
List rplist4 = new ArrayList();//系统管理
String cond1 = " and pi_up = 27";
String cond2 = " and pi_up = 33";
String cond3 = " and pi_up = 38";
String cond4 = " and pi_up = 46";
PowerInfoDAO powerdao = new PowerInfoDAO();
rplist1 = powerdao.queryByCondition(cond1);
rplist2 = powerdao.queryByCondition(cond2);
rplist3 = powerdao.queryByCondition(cond3);
rplist4 = powerdao.queryByCondition(cond4);
%>
<body>
<form name="form1" method="post" action="sys_rolemanage_delete.htm">
<div id="Layer1" style="position:absolute; left:100px; top:10px; width:438px; z-index:1; height: 353px;">
<h2 align="center">查看系统模块</h2>
<table class="toBeSetBgColor" width="89%" border="1" cellpadding="0" cellspacing="0">
<tr class="EvenRow">
<td valign="top">系统模块:</td>
<td><table width="96%" border="0" cellpadding="0" cellspacing="0">
<%if(rplist1.size() != 0){ %>
<tr class="EvenRow">
<td width="31%" valign="top">人员档案:</td>
<td width="69%">
<%
for(int i = 0; i < rplist1.size(); i++){
PowerInfoVO rpvo = new PowerInfoVO();
rpvo = (PowerInfoVO)rplist1.get(i);
%>
<%=rpvo.getPiName() %><br>
<%} %>
<hr width="90%">
</td>
</tr>
<%} %>
<%if(rplist2.size() != 0){ %>
<tr class="EvenRow">
<td valign="top">人事调配:</td>
<td>
<%
for(int i = 0; i < rplist2.size(); i++){
PowerInfoVO rpvo = new PowerInfoVO();
rpvo = (PowerInfoVO)rplist2.get(i);
%>
<%=rpvo.getPiName() %><br>
<%}%>
<hr width="90%">
</td>
</tr>
<%} %>
<% if(rplist3.size() != 0){ %>
<tr class="EvenRow">
<td height="13" valign="top">教育培训:</td>
<td>
<%
for(int i = 0; i < rplist3.size(); i++){
PowerInfoVO rpvo = new PowerInfoVO();
rpvo = (PowerInfoVO)rplist3.get(i);
%>
<%=rpvo.getPiName() %><br>
<%}%>
<hr width="90%">
</td>
</tr>
<%} %>
<%if(rplist4.size() != 0){ %>
<tr class="EvenRow">
<td valign="top">系统管理:</td>
<td>
<%
for(int i = 0; i < rplist4.size(); i++){
PowerInfoVO rpvo = new PowerInfoVO();
rpvo = (PowerInfoVO)rplist4.get(i);
%>
<%=rpvo.getPiName() %><br>
<%} %>
<hr width="90%">
</td>
</tr>
<%} %>
</table></td>
</tr>
</table>
<p> </p>
</div>
<p> </p>
<p> </p>
<p> </p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -