📄 retrievesubarearesult.jsp
字号:
}
for (int k=0;k<path.size();k++) {
String tmp = (String)path.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");
}
path.set(k,tmp);
}
for (int k=0;k<publicservice.size();k++) {
String tmp = (String)publicservice.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");
}
publicservice.set(k,tmp);
}
for (int k=0;k<firefighting.size();k++) {
String tmp = (String)firefighting.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");
}
firefighting.set(k,tmp);
}
for (int k=0;k<security.size();k++) {
String tmp = (String)security.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");
}
security.set(k,tmp);
}
for (int k=0;k<remark.size();k++) {
String tmp = (String)remark.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");
}
remark.set(k,tmp);
}
%>
<script language="javascript">
function RetApp(){
var del2="☆";
var del ="※";
document.form4.inputString.value="subareanumb"+del2+"<%=(String)subareanumb.elementAt(0)%>"+del+"number"+del2+"<%=number%>"+del;
document.form4.submit();
}
function Add(){
document.form5.number.value = "<%=number%>";
document.form5.subareanumb.value ="<%=(String)subareanumb.elementAt(0)%>";
document.form5.submit();
}
</script>
<form id="form3" name="form3">
<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:Mod(form1)" 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:Del(form2)" 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/RetrieveByCInput.jsp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','/pmsApp/images/button_query_over.gif',1)"><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"><a href="#"></a></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="300" 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="javascript:RetApp()">水、电、煤气表</a></td>
<td width="100" background="/pmsApp/images/tab_down.gif"><a href="javascript:Add()">添加楼宇资料</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="300" border="1" align="center" bgcolor="#FFFFFF" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0" height="22">
<tr>
<td align="center" bgcolor="#eeffee">光大花园 <%=(String)subareaname.elementAt(0)%>小区基本资料</td>
</tr>
</table>
<br>
<table border="1" align="center" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0" width="98%">
<tr bgcolor="#d4d0c8">
<td width="100" height="25" align="center" bgcolor="#d4d0c8">分区编号</td>
<td height="25" width="92" bgcolor="#FFFFFF"><%=(String)subareanumb.elementAt(0)%> </td>
<td height="25" align="center" width="92">分区名称</td>
<td height="25" width="360" bgcolor="#FFFFFF"><%=(String)subareaname.elementAt(0)%> </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="69" align="center" bgcolor="#d4d0c8">小区简介</td>
<td height="69" colspan="3" bgcolor="#FFFFFF"><%=(String)subareadescribe.elementAt(0)%> </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="17" align="center" bgcolor="#d4d0c8">小区图片</td>
<td height="17" colspan="3" align="center" bgcolor="#FFFFFF" >
<%if(file.size()!=0){%>
<table width="90%" border="1" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
<%for(int i=0;i<file.size();i++){%>
<tr>
<td align="center"><a href="javascript:;" onClick="JustSoPicWindow('<%=(String)file.elementAt(i)%>','800','600','图片','#d4d0c8','hug image')">观赏图片</a></td>
<td><%=(String)vecPicdescribe.elementAt(i)%> </td>
</tr>
<%}%>
</table>
<%}else{%>
目前没有任何小区图片
<%}%>
</td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="21" align="center" bgcolor="#d4d0c8">公交线路</td>
<td height="21" colspan="3" bgcolor="#FFFFFF"><%=(String)path.elementAt(0)%> </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="21" align="center" bgcolor="#d4d0c8">公用设施</td>
<td height="21" colspan="3" bgcolor="#FFFFFF"><%=(String)publicservice.elementAt(0)%> </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="45" align="center" bgcolor="#d4d0c8">出 租 率</td>
<td height="45" colspan="3" bgcolor="#FFFFFF"><%=(String)hirerate.elementAt(0)%>% </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="45" align="center" bgcolor="#d4d0c8">出 售 率</td>
<td height="45" colspan="3" bgcolor="#FFFFFF"><%=(String)salerate.elementAt(0)%>% </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="45" align="center" bgcolor="#d4d0c8">消防情况</td>
<td height="45" colspan="3" bgcolor="#FFFFFF"><%=(String)firefighting.elementAt(0)%> </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="45" align="center" bgcolor="#d4d0c8">保安情况</td>
<td height="45" colspan="3" bgcolor="#FFFFFF"><%=(String)security.elementAt(0)%> </td>
</tr>
<tr bgcolor="#d4d0c8">
<td width="100" height="45" align="center" bgcolor="#d4d0c8">备    注</td>
<td colspan="3" height="45" bgcolor="#FFFFFF"><%=(String)remark.elementAt(0)%> </td>
</tr>
</table>
</form>
<form name="form1" method="post" action="/pmsApp/baseinfo/ModifySubAreaInput.jsp">
<input type="hidden" name="number" value="<%=number%>">
<input type="hidden" name="subareanumb" value="<%=(String)subareanumb.elementAt(0)%>">
<input type="hidden" name="subareaname" value="<%=(String)subareaname.elementAt(0)%>">
<input type="hidden" name="subareadescribe" value="<%=(String)subareadescribe.elementAt(0)%>">
<input type="hidden" name="path" value="<%=(String)path.elementAt(0)%>">
<input type="hidden" name="publicservice" value="<%=(String)publicservice.elementAt(0)%>">
<input type="hidden" name="hirerate" value="<%=(String)hirerate.elementAt(0)%>">
<input type="hidden" name="salerate" value="<%=(String)salerate.elementAt(0)%>">
<input type="hidden" name="firefighting" value="<%=(String)firefighting.elementAt(0)%>">
<input type="hidden" name="security" value="<%=(String)security.elementAt(0)%>">
<input type="hidden" name="remark" value="<%=(String)remark.elementAt(0)%>">
<%
int size = file.size();
%>
<input type="hidden" name="size" value="<%=size%>">
<%for(int i=0;i<file.size();i++){%>
<input type="hidden" name="num<%=i%>" value="<%=(String)vecNum.elementAt(i)%>">
<input type="hidden" name="file<%=i%>" value="<%=(String)file.elementAt(i)%>">
<input type="hidden" name="picname<%=i%>" value="<%=(String)vecPicname.elementAt(i)%>">
<input type="hidden" name="picdescribe<%=i%>" value="<%=(String)vecPicdescribe.elementAt(i)%>">
<%}%>
</form>
<form name="form2" method="post" action="/pmsApp/servlet/common.PMS">
<input type="hidden" name="txId" id="txId" value="2011">
<input type="hidden" name="inputString" id="inputString">
</form>
<form name="form4" method="post" action="/pmsApp/servlet/common.PMS">
<input type="hidden" name="txId" id="txId" value="2028">
<input type="hidden" name="inputString" id="inputString">
</form>
<form name="form5" method="post" action="/pmsApp/baseinfo/BatchAddBuildInput.jsp">
<input type="hidden" name="number">
<input type="hidden" name="subareanumb">
</form>
<%}%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -