📄 retrievedocumentresult.jsp
字号:
<!-- 系统名称:光大花园物业管理系统 -->
<!-- 程序名称:RetrieveDocumentResult.jsp -->
<!-- 程序类型:jsp文件 -->
<!-- 功能简述:查询文书资料详细信息资料结果页面 -->
<!-- 作 者:韩立锋 -->
<!-- 公 司:长春中联 -->
<!-- 完成时间:2001/09/07 -->
<!-- 修 改 人:毕锋 -->
<!-- 修改内容:页面 ,增加字段-->
<!-- 修改时间:2001/11/19/29 -->
<html>
<head>
<title>文书资料信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/pmsApp/css/wuye.css" type="text/css">
<script language="JavaScript" src="/pmsApp/common/wuye.js"></script>
<%
String kindnum = (String)request.getAttribute("kindnum");
String currentpage = (String)request.getAttribute("currentpage");
String num = (String)request.getAttribute("num");
Vector documenttopic = (Vector) request.getAttribute("documenttopic");
Vector documentnumb = (Vector) request.getAttribute("documentnumb");
Vector documentkind = (Vector) request.getAttribute("documentkind");
Vector receivedate = (Vector) request.getAttribute("receivedate");
Vector senddate = (Vector) request.getAttribute("senddate");
Vector sendorganize = (Vector) request.getAttribute("sendorganize");
Vector count = (Vector) request.getAttribute("count");
Vector transact = (Vector) request.getAttribute("transact");
Vector flag = (Vector) request.getAttribute("flag");
Vector medium = (Vector) request.getAttribute("medium");
Vector location = (Vector) request.getAttribute("location");
Vector auditdocument = (Vector) request.getAttribute("auditdocument");
Vector mademan = (Vector) request.getAttribute("mademan");
Vector auditman = (Vector) request.getAttribute("auditman");
Vector remark = (Vector) request.getAttribute("remark");
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);
}
for (int k=0;k<auditdocument.size();k++) {
String tmp = (String)auditdocument.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");
}
auditdocument.set(k,tmp);
}
for (int k=0;k<transact.size();k++) {
String tmp = (String)transact.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");
}
transact.set(k,tmp);
}
String file = (String) request.getAttribute("file");
%>
<script language="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.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 handleForm1(inputForm)
{
var str="";
var del2="☆";
var del ="※";
for (i=0; i<inputForm.elements.length; i++)
{
if ((inputForm.elements[i].name!="txId")&&(inputForm.elements[i].name!="inputString")&&(inputForm.elements[i].type!="button"))
{
if ((inputForm.elements[i].name.toUpperCase() != "提交") &&
(inputForm.elements[i].name.toUpperCase() != "复位"))
{
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);
inputStr=str;
inputForm.inputString.value=str;
inputForm.submit();
}
function Del(form3) {
document.form3.inputString.value="count☆1※num☆"+<%=num%>+"※kindnum☆"+<%=kindnum%>+"※currentpage☆"+<%=currentpage%>+"※kindname☆"+"<%=(String)documentkind.elementAt(0)%>";
if(confirm("您确认要删除这条记录吗?")==true){
document.form3.submit();
}
}
function Mod(form2) {
handleForm1(form2);
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="/pmsApp/images/bg2.gif" leftmargin="0" topmargin="0" onLoad="MM_preloadImages('/pmsApp/images/button_print_over.gif','/pmsApp/images/button_preview_over.gif','/pmsApp/images/button_back_over.gif')">
<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 name="Image6" border="0" src="/pmsApp/images/button_new_gray.gif" width="55" height="20" ><a href="javascript:Mod(form2)" 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(form3)" 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>
</tr>
</table>
<br>
<table width="98%" border="1" align="center" bgcolor="#FFFFFF" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">文书主题</td>
<td height="22" width="84%"><%=(String)documenttopic.elementAt(0)%></td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">文书编号</td>
<td height="22" width="84%"><%=(String)documentnumb.elementAt(0)%></td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">文书类别</td>
<td height="22" width="84%"><%=(String)documentkind.elementAt(0)%></td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">收文日期</td>
<td height="22" width="84%"><%=(String)receivedate.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">发文日期</td>
<td height="22" width="84%"><%=(String)senddate.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">发文机关</td>
<td height="22" width="84%"><%=(String)sendorganize.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">发文份数</td>
<td height="22" width="84%"><%=(String)count.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">处理情况</td>
<td height="22" width="84%"><%=(String)transact.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">是否有附件</td>
<td height="22" width="84%">
<%if(((String)flag.elementAt(0)).equals("0")){%>
有
<%}else{%>
无
<%}%>
</td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">介 质</td>
<td width="84%"><%=(String)medium.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">存放位置</td>
<td width="84%"><%=(String)location.elementAt(0)%></td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">文书内容</td>
<td width="84%">
<%if(file.equals("")){%>
暂时无文书文档
<%}else{%>
<a href="<%=file%>">文书文档内容</a>
<%}%>
</td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">文件审批</td>
<td width="84%"><%=(String)auditdocument.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">拟 表 人</td>
<td width="84%"><%=(String)mademan.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">审 批 人</td>
<td width="84%"><%=(String)auditman.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">备 注</td>
<td height="22" width="84%"><%=(String)remark.elementAt(0)%> </td>
</tr>
<tr>
<td valign="top" colspan="4" height="2">
<table width="100%" border="1" align="center" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="2">
<tr>
<td align="center" height="2"><a href="javascript:history.back()"><img src="/pmsApp/images/button_back.gif" width="55" height="20" name="Image1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','/pmsApp/images/button_back_over.gif',1)" border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<form name="form2" method="post" enctype="multipart/form-data" action="/pmsApp/servlet/common.PMS">
<input type="hidden" name="txId" id="txId" value="3040">
<input type="hidden" name="inputString" id="inputString">
<input type="hidden" name="action" value="select">
<input type="hidden" name="number" value="<%=num%>">
<input type="hidden" name="kindnum" value="<%=kindnum%>">
<input type="hidden" name="currentpage" value="<%=currentpage%>">
<input type="hidden" name="kindname" value="<%=(String)documentkind.elementAt(0)%>">
</form>
<form name="form3" method="post" action="/pmsApp/servlet/common.PMS">
<input type="hidden" name="txId" id="txId" value="3024">
<input type="hidden" name="inputString" id="inputString">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -