⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcroom.jsp

📁 移动计费管理软件
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script type="text/JavaScript">
<!--

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="css/index.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 30px;
	margin-top: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
	background-attachment: fixed;
	background-image: url(images/downbg.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.style1 {
	font-size: 24px;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<html:form action="/pcroom/pcroom.do?act=find" method="post">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="35"><img src="images/3toptop_01.gif" width="35" height="28"></td>
                <td width="5"><img src="images/3toptop_02.gif" width="5" height="28"></td>
                <td width="200" align="center" background="images/3toptop_03.gif" class="gray-bold-word"><a href="#">机房列表信息</a></td>
                <td width="5"><img src="images/3toptop_04.gif" width="5" height="28"></td>
                <td width="20"><img src="images/3toptop_05.gif" width="20" height="28"></td>
                <td background="images/3top_06.gif">&nbsp;</td>
                <td width="35"><img src="images/3toptop_07.gif" width="35" height="28"></td>
              </tr>
</table>
			<table width="90%" border="1" align="center" cellpadding="4" cellspacing="2" class="gray-bd3-2">

              <tr>
                <td colspan="6" align="center" class="brightcyan-tb"><div align="left"><span class="style1">机房信息</span></div></td>
              </tr>
              <tr>
               <td width="68" align="center" class="brightcyan-tb"><strong>选择</strong></td>
                <td align="center" class="brightcyan-tb"><strong>ID</strong></td>
                <td align="center" class="brightcyan-tb"><strong>机房名称</strong></td>
                <td align="center" class="brightcyan-tb"><strong>负责人</strong></td>
                <td width="140" align="center" class="brightcyan-tb"><strong>所属部门</strong></td>
                <td width="81" align="center" class="brightcyan-tb"><strong>更新</strong></td>
               
              </tr>
              <logic:present name="pcroomForm" property="list">
       		<logic:iterate id="bean" name="pcroomForm" property="list">
              <tr>
               <td align="center" class="brightcyan-tb">
                <html:multibox property="planID">
                   <bean:write property="id" name="bean"/>
                </html:multibox>
               </td>
                <td align="center" class="brightcyan-tb"><bean:write name="bean" property="id"/></td>
                <td align="center" class="brightcyan-tb"><bean:write name="bean" property="pname"/></td>
                <td align="center" class="brightcyan-tb"><bean:write name="bean" property="ename"/></td>
                <td align="center" class="brightcyan-tb"><bean:write name="bean" property="dname"/></td>
                <td align="center" class="brightcyan-tb">
                <input type="button" name="button" value="更新" onClick="updatePlanCommit(<bean:write name="bean" property="id"/>)"/></td>
              </tr>
              </logic:iterate>
              </logic:present>
              <tr>
	
                <td colspan="6" align="center" class="brightcyan-tb"><div align="right">
                  <input type="button" name="newPlan" value="新建" onClick="newPlancommit()">
                  <input name="delPlan" type="button" value="删除" onClick="delPlanCommit()">
                </div></td>
	
              </tr>
			</table>
            <div align="right"></div>
            <table width="90%" border="1" align="center" cellpadding="4" cellspacing="2" class="gray-bd3-2">
              
          </table>
            <p align="center">&nbsp;</p>
          </html:form>
			<script language="javascript">
			function  newPlancommit(){
			   document.pcroomForm.action="pcroom.do?act=findBydeptName"
			   document.pcroomForm.submit();
			
			
			}
			function  delPlanCommit(){
		       document.pcroomForm.action="pcroom.do?act=delete"
		       document.pcroomForm.submit();
			
			
			}
			function  updatePlanCommit(id){
			   document.pcroomForm.action="pcroom.do?act=findByEmpName&id="+id
			   document.pcroomForm.submit();
			
			
			}
			
			
			</script>
			
</body>
</html>

⌨️ 快捷键说明

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