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

📄 retrievefixtureresults.jsp

📁 JSP物业管理系统 一份比较完整的物业管理系统源码。 对于初学者可以有一定的借鉴。
💻 JSP
字号:
<!--
********************************************************************************************************
* 系统名称:光大花园物业管理系统
* 程序名称:RetrieveFixtureResults.jsp
* 程序类型:jsp
* 功能简述:机电设备资料
* 作    者:jiahngxia
* 公    司:长春中联																				
* 完成时间:2001/09/
* 修 改 人:毕锋
* 修改内容:页面
* 修改日期:2001/11/20/28
********************************************************************************************************
--> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META name="GENERATOR" content="IBM WebSphere Page Designer V3.5 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<title>机电设备资料</title>
<link rel="stylesheet" href="/pmsApp/css/wuye.css" type="text/css">
<% Vector vnumber= (Vector) request.getAttribute("vnumber");
   Vector vfixturename= (Vector) request.getAttribute("vfixturename");
   Vector vfixturenumb= (Vector) request.getAttribute("vfixturenumb");
   Vector vfixturetype= (Vector) request.getAttribute("vfixturetype");
   Vector vfixturestandard= (Vector) request.getAttribute("vfixturestandard");
   Vector vmanufacturer= (Vector) request.getAttribute("vmanufacturer");
   Vector vleavefactorydate= (Vector) request.getAttribute("vleavefactorydate");
   Vector vleavefactorynumb= (Vector) request.getAttribute("vleavefactorynumb");
   Vector vratedvoltage= (Vector) request.getAttribute("vratedvoltage");
   Vector vratedcurrent= (Vector) request.getAttribute("vratedcurrent");
   Vector vratedrev= (Vector) request.getAttribute("vratedrev");
   Vector vfitdate= (Vector) request.getAttribute("vfitdate");
   Vector vfitaddr= (Vector) request.getAttribute("vfitaddr");
   Vector vusingexplain= (Vector) request.getAttribute("vusingexplain"); 
    //
   for (int k=0;k<vusingexplain.size();k++) { 
	 String tmp = (String)vusingexplain.elementAt(k);
	 int index = 0;
	 index=tmp.indexOf("\n");
	 while (index!=-1){
	 tmp = tmp.substring(0,index-1)+"<br>"+tmp.substring(index+1,tmp.length());
	 index=tmp.indexOf("\n");
	 }
	 vusingexplain.set(k,tmp);
	} 

%>

<script language="JavaScript" src="/pmsApp/common/wuye.js"></script>
<script language="JavaScript">
function trover(trid){
	trid.className="trover";
}
function trout(trid){
	trid.className="trout";
}

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.0
  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 && document.getElementById) x=document.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];}
}

function Modify(){document.form2.submit();}
function Delete(){
var bool = true;
    var del2="☆";
	var del ="※";
    document.form3.inputString.value="fixturenumb"+del2+"<%=vfixturenumb.elementAt(0)%>"+del;
    if (bool) {
		if (confirm("您确认要删除该机电设备资料么?")==true) {
			document.form3.submit();
		}
}	
}
</script>
</head>
<body bgColor="#d4d0c8" leftMargin="0" topMargin="0" vLink="#003399" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/button_modify_over.gif','images/button_del_over.gif')" >
<form id="form1" name="form1" >  

<table width="100%" border="0" cellspacing="0" cellpadding="2">
    <tr> 
      <td height="28" background="/pmsApp/images/toolbar2.gif" valign="top"><img src="/pmsApp/images/blank.gif" width="10" height="1"><img src="/pmsApp/images/button_new_gray.gif" width="55" height="20"><a href="javascript:Modify()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','/pmsApp/images/button_modify_over.gif',1)"><img name="Image10" border="0" src="/pmsApp/images/button_modify.gif" width="55" height="20"><a href="javascript:Delete()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','/pmsApp/images/button_del_over.gif',1)" ><img name="Image11" border="0" src="/pmsApp/images/button_del.gif" width="55" height="20" alt="删除机电设备资料"></a><img src="/pmsApp/images/button_split.gif" width="8" height="20"><a href="/pmsApp/baseinfo/RetrieveFixtureByCInput.jsp" ><img name="Image13" border="0" src="/pmsApp/images/button_query.gif" width="55" height="20" alt="条件检索"></a><img src="/pmsApp/images/button_split.gif" width="8" height="20"></td>
</table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td><img src="/pmsApp/images/tab_left.gif" width="3" height="25"></td>
      <td width="100%" background="/pmsApp/images/tab_mid.gif" height="25"> 
        <table width="200" border="0" cellspacing="0" cellpadding="0">
          <tr align="center"> 
            <td width="100" background="/pmsApp/images/tab_up.gif" height="25">机电设备</td>
            
            <td width="100" background="/pmsApp/images/tab_down_right.gif"><a href="/pmsApp/servlet/common.PMS?txId=2027&inputString=fixturenumb%A1%EE<%=vfixturenumb.elementAt(0)%>">附件</a></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <table width="275"  border="1"  align="center" bgcolor="#FFFFFF" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0" height="22">
    
        </table>
  <table width="98%" border="1"  align="center" bgcolor="menu" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
    <tr> 
      <td align="center" height="21" width="20%">设备名称</td>
      <td height="21" width="72%" bgcolor="#FFFFFF"> <% out.print(vfixturename.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" height="23" width="20%">设备编号</td>
      <td height="23" width="72%" bgcolor="#FFFFFF"> <% out.print(vfixturenumb.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" width="20%" height="24">设备类型</td>
      <td width="72%" height="24" bgcolor="#FFFFFF"> <% out.print(vfixturetype.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" width="20%" height="24">设备规格</td>
      <td width="72%" height="24" bgcolor="#FFFFFF"> <% out.print( vfixturestandard.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" width="20%" height="21">制&nbsp;造&nbsp;商 </td>
      <td width="72%" height="21" bgcolor="#FFFFFF"> <% out.print(vmanufacturer.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" width="20%" height="24">出厂日期</td>
      <td width="72%" height="24" bgcolor="#FFFFFF"> <% out.print(vleavefactorydate.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" width="20%" height="24">出厂编号</td>
      <td width="72%" height="24" bgcolor="#FFFFFF"> <% out.print(vleavefactorynumb.elementAt(0));%>&nbsp</td>
    </tr>
    <tr> 
      <td align="center" width="20%" height="25">额定电压</td>
      <td width="72%" height="25" bgcolor="#FFFFFF"> <% out.print(vratedvoltage.elementAt(0));%>&nbsp</td>
    </tr>
    <tr>
      <td align="center" width="20%" height="25">额定电流</td>
      <td width="72%" height="25" bgcolor="#FFFFFF"> <% out.print(vratedcurrent.elementAt(0));%>&nbsp</td>
    </tr>
    <tr>
      <td align="center" width="20%" height="25">额定转速</td>
      <td width="72%" height="25" bgcolor="#FFFFFF"> <% out.print(vratedrev.elementAt(0));%>&nbsp</td>
    </tr>
    <tr>
      <td align="center" width="20%" height="25">安装日期</td>
      <td width="72%" height="25" bgcolor="#FFFFFF"> <% out.print(vfitdate.elementAt(0));%>&nbsp</td>
    </tr>
    <tr>
      <td align="center" width="20%" height="25">安装地点</td>
      <td width="72%" height="25" bgcolor="#FFFFFF"> <% out.print(vfitaddr.elementAt(0));%>&nbsp</td>
    </tr>
    <tr>
      <td align="center" width="20%" height="25">使用说明</td>
      <td width="72%" height="25" bgcolor="#FFFFFF"> <% out.print(vusingexplain.elementAt(0));%>&nbsp</td>
    </tr>
    


  </table>
  </form>
<form name="form2" method="post" action="/pmsApp/baseinfo/ModifyFixtureInput.jsp">
 <input type="hidden" name="vfixturename" value="<%=vfixturename.elementAt(0)%>" >
<input type="hidden" name="vfixturenumb" value="<%=vfixturenumb.elementAt(0)%>" >
<input type="hidden" name="vfixturetype" value="<%=vfixturetype.elementAt(0)%>" >
<input type="hidden" name="vfixturestandard" value="<%=vfixturestandard.elementAt(0)%>" >
<input type="hidden" name="vmanufacturer" value="<%=vmanufacturer.elementAt(0)%>" >
<input type="hidden" name="vleavefactorydate" value="<%=vleavefactorydate.elementAt(0)%>" >
<input type="hidden" name="vleavefactorynumb" value="<%=vleavefactorynumb.elementAt(0)%>" >
<input type="hidden" name="vratedvoltage" value="<%=vratedvoltage.elementAt(0)%>" >
<input type="hidden" name="vratedcurrent" value="<%=vratedcurrent.elementAt(0)%>" >
<input type="hidden" name="vratedrev" value="<%=vratedrev.elementAt(0)%>" >
<input type="hidden" name="vfitdate" value="<%=vfitdate.elementAt(0)%>" >
<input type="hidden" name="vfitaddr" value="<%=vfitaddr.elementAt(0)%>" >
<input type="hidden" name="vusingexplain" value="<%=vusingexplain.elementAt(0)%>" >
<input type="hidden" name="vnumber" value="<%=vnumber.elementAt(0)%>" >
</form>


<form name="form3" method="post" action="/pmsApp/servlet/common.PMS">
	<input type="hidden" name="txId" id="txId" value="2010">
	<input type="hidden" name="inputString" id="inputString">
</form>

</body>
</html>

⌨️ 快捷键说明

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