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

📄 siretrievecommonfixingresult.jsp

📁 JSP物业管理系统 一份比较完整的物业管理系统源码。 对于初学者可以有一定的借鉴。
💻 JSP
📖 第 1 页 / 共 5 页
字号:
			alert("经理意见长度超过了100个汉字");
			submitindex=false;
			document.form1.idea.focus();
		};
	};
	if(submitindex){
		if(document.form1.remark.value.length>100){
			alert("备注的长度超过了100个汉字");
			submitindex=false;
			document.form1.remark.focus();
		}
	};
	if(submitindex){
		handleForm5(form1,hiddenForm5);
	};
}
function handleForm5(inputForm,submitform) {
	var str="";
	var del2="☆";
	var del ="※";
	for (i=0; i<inputForm.elements.length; i++)
	{
		if ((inputForm.elements[i].name.toUpperCase() != "RESET") &&
			(inputForm.elements[i].name.toUpperCase() != "SUBMIT"))
		{
			if ((inputForm.elements[i].type == "radio") ||
				(inputForm.elements[i].type == "checkbox"))
			{
				if (inputForm.elements[i].checked)
				{
					str = str+inputForm.elements[i].name+del2+inputForm.elements[i].value+del;
				}
			}
			else if (inputForm.elements[i].type == "select-one")
			{
				str = str+inputForm.elements[i].name
						+del2+inputForm.elements[i].options[inputForm.elements[i].selectedIndex].value+del;
			}
			else
			{
				str = str+inputForm.elements[i].name+del2+inputForm.elements[i].value+del;
			}
		}
	}
	str=str.substr(0,str.length-del.length);
	submitform.inputString.value=str;
	submitform.submit();
}
function displayapprove()
{
	approvecommonfix.style.display="";
	document.form2.acceptman.focus();
	contenttable.style.display="none";
	visittable.style.display="none";
	tabletwo.style.display="none";
}
function displaycontent(){
	contenttable.style.display="";
	approvecommonfix.style.display="none";
	visittable.style.display="none";
	tabletwo.style.display="none";				
}
function displayvisit(){
	contenttable.style.display="none";
	approvecommonfix.style.display="none";
	visittable.style.display="";
	tabletwo.style.display="";
	document.form1.visitor.focus();			
}
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 handleForm(inputForm) {
	var str="";
	var del2="☆";
	var del ="※";
	for (i=0; i<inputForm.elements.length; i++)
	{
		if ((inputForm.elements[i].name.toUpperCase() != "RESET") &&
			(inputForm.elements[i].name.toUpperCase() != "SUBMIT"))
		{
			if ((inputForm.elements[i].type == "radio") ||
				(inputForm.elements[i].type == "checkbox"))
			{
				if (inputForm.elements[i].checked)
				{
					str = str+inputForm.elements[i].name+del2+inputForm.elements[i].value+del;
				}
			}
			else if (inputForm.elements[i].type == "select-one")
			{
				str = str+inputForm.elements[i].name
						+del2+inputForm.elements[i].options[inputForm.elements[i].selectedIndex].value+del;
			}
			else
			{
				str = str+inputForm.elements[i].name+del2+inputForm.elements[i].value+del;
			}
		}
	}
	str=str.substr(0,str.length-del.length);
	document.hiddenForm.inputString.value=str;
	document.hiddenForm.submit();
}
function handleForm1(pageindex,retrieveindex,retrievecon,retrievecom)
{
	var del2="☆";
	var del ="※";
	document.hiddenForm1.inputString.value="pageindex"+del2+pageindex+del+"retrieveindex"+del2+retrieveindex+del+"retrievecon"+del2+retrievecon+del+"retrievecom"+del2+retrievecom;
	document.hiddenForm1.submit();
}

function handleForm2(magicindex,number,pageindex,retrieveindex,retrievecon,retrievecom,selectnum,pagecount)
{
	var del2="☆";
	var del ="※";
	document.hiddenForm2.inputString.value="magicindex"+del2+magicindex+del+"number"+del2+number+del+"pageindex"+del2+pageindex+del+"retrieveindex"+del2+retrieveindex+del+"retrievecon"+del2+retrievecon+del+"retrievecom"+del2+retrievecom+del+selectnum+del2+selectnum+del+"pagecount"+del2+pagecount;
	document.hiddenForm2.submit();
}
function handleForm3(pageindex,retrieveindex,retrievecon,retrievecom,selectnum,pagecount,number)
{
	var del2="☆";
	var del ="※";
	document.hiddenForm3.inputString.value="pageindex"+del2+pageindex+del+"retrieveindex"+del2+retrieveindex+del+"retrievecon"+del2+retrievecon+del+"retrievecom"+del2+retrievecom+del+"selectnum"+del2+selectnum+del+"pagecount"+del2+pagecount+del+"number"+del2+number;
	if(confirm("您确实想删除本条记录吗?")==true){
		document.hiddenForm3.submit();
	}
}
function handleForm4(pageindex,retrieveindex,retrievecon,retrievecom)
{
	var del2="☆";
	var del ="※";
	document.hiddenForm4.inputString.value="pageindex"+del2+pageindex+del+"retrieveindex"+del2+retrieveindex+del+"retrievecon"+del2+retrievecon+del+"retrievecom"+del2+retrievecom;
	document.hiddenForm4.submit();
}
//-->
</script>
<%String pageindex=(String)request.getAttribute("pageindex");%>
<%String retrieveindex=(String)request.getAttribute("retrieveindex");%>
<%String retrievecon=(String)request.getAttribute("retrievecon");%>
<%String retrievecom=(String)request.getAttribute("retrievecom");%>
<%String pagecount=(String)request.getAttribute("pagecount");%>
	<%String selectnum=(String)request.getAttribute("selectnum");%>                      	


<%String number=(String)request.getAttribute("number");%>
<%String subarea=(String)request.getAttribute("subarea");%>
<%String building=(String)request.getAttribute("building");%>
<%String stair=(String)request.getAttribute("stair");%>
<%String floor=(String)request.getAttribute("floor");%>
<%String cell=(String)request.getAttribute("cell");%>

<%String flag=(String)request.getAttribute("flag");%>
<%String type=(String)request.getAttribute("type");%>
<%String exponent=(String)request.getAttribute("exponent");%>
<%String applydate=(String)request.getAttribute("applydate");%>
<%String applytime=(String)request.getAttribute("applytime");%>
<%String applyman=(String)request.getAttribute("applyman");%>
<%String tel=(String)request.getAttribute("tel");%>
<%String ldate=(String)request.getAttribute("ldate");%>
<%String ltime=(String)request.getAttribute("ltime");%>
<%String acceptman=(String)request.getAttribute("acceptman");%>
<%String recorder=(String)request.getAttribute("recorder");%>
<%String sign=(String)request.getAttribute("sign");%>
<%String fixno=(String)request.getAttribute("fixno");%>
<%String fixexponent=(String)request.getAttribute("fixexponent");%>
<%String fixman=(String)request.getAttribute("fixman");%>
<%String fixdate=(String)request.getAttribute("fixdate");%>
<%String finishdate=(String)request.getAttribute("finishdate");%>
<%String stuff=(String)request.getAttribute("stuff");%>
<%String fixfee=(String)request.getAttribute("fixfee");%>
<%String useridea=(String)request.getAttribute("useridea");%>
<%String check=(String)request.getAttribute("check");%>
<%String checkman=(String)request.getAttribute("checkman");%>
<%if(ltime.length()>5){ltime=ltime.substring(0,5);};%>

</head>
<body  leftMargin="0" topMargin="0" vLink="#003399" marginwidth="0" marginheight="0" background="/pmsApp/images/bg2.gif" onLoad="displaycontent();this.focus();MM_preloadImages('/pmsApp/images/button_save_over.gif','/pmsApp/images/button_modify_over.gif','/pmsApp/images/button_all_over.gif','/pmsApp/images/button_del_over.gif','/pmsApp/images/button_new_over.gif','/pmsApp/images/button_back_over.gif','/pmsApp/images/button_cancel_over.gif')" >
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td valign="top" height="396"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="2">
        <tr> 
          <td background="/pmsApp/images/toolbar2.gif" valign="top" height="28"><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:handleForm2('1','<%=number%>','<%=pageindex%>','<%=retrieveindex%>','<%=retrievecon%>','<%=retrievecom%>','<%=selectnum%>','<%=pagecount%>')" 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" alt="修改选定的数据"></a><a href="javascript:handleForm3('<%=pageindex%>','<%=retrieveindex%>','<%=retrievecon%>','<%=retrievecom%>','<%=selectnum%>','<%=pagecount%>','<%=number%>')" 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"><img name="Image13" border="0" src="/pmsApp/images/button_query_gray.gif" width="55" height="20" alt="条件检索"><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="400" border="0" cellspacing="0" cellpadding="0">
              <tr align="center">
                <td width="100" background="/pmsApp/images/tab_down.gif" height="25"><a href="/pmsApp/servlet/common.PMS?txId=4419&inputString=""">住户设施报修记录</a></td>
                <td width="100" background="/pmsApp/images/tab_down_left.gif"><a href="/pmsApp/utility/fixing/AddUserFixingInput.jsp">住户设施报修登记</a></td>
          
                <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/utility/fixing/AddCommonFixingInput.jsp">公共设施报修登记</a></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>	       
        <table   id="contenttable" width="98%" border="1"  align="center" bgcolor="#FFFFFF" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">小&nbsp;&nbsp;&nbsp;&nbsp;区</td>
            <td width="80%" height="18"> <%=subarea%> &nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">楼</td>
            <td width="80%" height="18"> <%=building%> &nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">梯&nbsp;&nbsp;&nbsp;&nbsp;口</td>
            <td width="80%" height="18"> <%=stair%>&nbsp; </td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">楼&nbsp;&nbsp;&nbsp;&nbsp;层</td>
            <td width="80%" height="18"> <%=floor%>&nbsp; </td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">单&nbsp;&nbsp;&nbsp;&nbsp;元</td>
            <td width="80%" height="18"> <%=cell%> &nbsp;</td>
          </tr>
		<tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">维修单号</td>
            <td width="80%" height="17"><%=fixno%> &nbsp;</td>
          </tr>		  
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">报修类型</td>
            <td width="80%" height="18"> 
              <% if(type.equals("1")){%>
              保修 
              <%}else{%>
              有偿维修 
              <%}%>
              &nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">报修内容</td>
            <td width="80%" height="18"><%=exponent%>&nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">报修日期</td>
            <td width="80%" height="18"><%=applydate%>&nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="18">报修时间</td>
            <td width="80%" height="18"> <%=applytime.substring(0,5)%> &nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="17">报&nbsp;修&nbsp;人</td>
            <td width="80%" height="17"><%=applyman%> &nbsp; </td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="17">联系电话</td>
            <td width="80%" height="17"><%=tel%> &nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="17">记&nbsp;录&nbsp;人</td>
            <td width="80%" height="17"><%=recorder%> &nbsp;</td>
          </tr>
 <% if(sign.equals("1")){%>
           <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="17">预约日期</td>
            <td width="80%" height="17"><%=ldate%> &nbsp;</td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#d4d0c8" width="20%" height="17">预约时间</td>

⌨️ 快捷键说明

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