📄 retrieveplanresult.jsp
字号:
<!-- 系统名称:光大花园物业管理系统 -->
<!-- 程序名称:RetrievePlanResult.jsp -->
<!-- 程序类型:jsp文件 -->
<!-- 功能简述:查询计划详细信息资料结果页面 -->
<!-- 作 者:韩立锋 -->
<!-- 公 司:长春中联 -->
<!-- 完成时间:2001/09/12 -->
<!-- 修 改 人:毕锋 -->
<!-- 修改内容:页面 -->
<!-- 修改时间:2001/09/19 -->
<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 deptnum = (String)request.getAttribute("deptnum");
String deptname = (String)request.getAttribute("deptname");
String currentpage = (String)request.getAttribute("currentpage");
String num = (String)request.getAttribute("num");
Vector planname = (Vector) request.getAttribute("planname");
Vector plandept = (Vector) request.getAttribute("plandept");
Vector plantype = (Vector) request.getAttribute("plantype");
Vector plandate = (Vector) request.getAttribute("plandate");
Vector planman = (Vector) request.getAttribute("planman");
Vector startdate = (Vector) request.getAttribute("startdate");
Vector enddate = (Vector) request.getAttribute("enddate");
Vector plancontent = (Vector) request.getAttribute("plancontent");
Vector auditman = (Vector) request.getAttribute("auditman");
Vector auditdate = (Vector) request.getAttribute("auditdate");
Vector auditcontent = (Vector) request.getAttribute("auditcontent");
Vector doplan = (Vector) request.getAttribute("doplan");
for (int k=0;k<plancontent.size();k++) {
String tmp = (String)plancontent.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");
}
plancontent.set(k,tmp);
}
for (int k=0;k<doplan.size();k++) {
String tmp = (String)doplan.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");
}
doplan.set(k,tmp);
}
for (int k=0;k<auditcontent.size();k++) {
String tmp = (String)auditcontent.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");
}
auditcontent.set(k,tmp);
}
%>
<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 Modify() {
<%if(!(((String)auditman.elementAt(0)).equals(""))){%>
alert("对不起,此计划已经批阅过,不能够进行修改!");
<%}else{%>
document.form2.number.value = "<%= num %>";
document.form2.planname.value = "<%= (String)planname.elementAt(0) %>";
document.form2.planman.value = "<%= (String)planman.elementAt(0) %>";
document.form2.plantype.value = "<%= (String)plantype.elementAt(0) %>";
document.form2.plandept.value = "<%= (String)plandept.elementAt(0) %>";
document.form2.plandate.value = "<%= (String)plandate.elementAt(0) %>";
document.form2.startdate.value = "<%= (String)startdate.elementAt(0) %>";
document.form2.enddate.value = "<%= (String)enddate.elementAt(0) %>";
document.form2.plancontent.value = "<%= (String)plancontent.elementAt(0) %>";
document.form2.auditman.value = "<%= (String)auditman.elementAt(0) %>";
document.form2.auditdate.value = "<%= (String)auditdate.elementAt(0) %>";
document.form2.auditcontent.value = "<%= (String)auditcontent.elementAt(0) %>";
document.form2.doplan.value = "<%= (String)doplan.elementAt(0) %>";
document.form2.submit();
<%}%>
}
</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 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" alt="修改选定的数据"></a><img name="Image11" border="0" src="/pmsApp/images/button_del_gray.gif" width="55" height="20"><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" ><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)planname.elementAt(0)%></td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">计划部门</td>
<td height="22" width="84%"><%=(String)plandept.elementAt(0)%></td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">计划类别</td>
<td height="22" width="84%">
<%if(((String)plantype.elementAt(0)).equals("0")){%>
年计划
<%}else if(((String)plantype.elementAt(0)).equals("1")){%>
月计划
<%} else {%>
周计划
<%}%>
</td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">制订时间</td>
<td width="84%"><%=(String)plandate.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">制 订 人</td>
<td width="84%"><%=(String)planman.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">开始时间</td>
<td width="84%"><%=(String)startdate.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">结束时间</td>
<td width="84%"><%=(String)enddate.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">计划内容</td>
<td width="84%"><%=(String)plancontent.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">工作进度</td>
<td width="84%"><%=(String)doplan.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" nowrap width="16%" bgcolor="#d4d0c8" height="22">批阅时间</td>
<td width="84%"><%=(String)auditdate.elementAt(0)%></td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">批阅内容</td>
<td width="84%"><%=(String)auditcontent.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" action="/pmsApp/personaladmin/ModifyPlanInput.jsp">
<input type="hidden" name="deptnum" value="<%=deptnum%>">
<input type="hidden" name="number">
<input type="hidden" name="planname">
<input type="hidden" name="planman">
<input type="hidden" name="plandept">
<input type="hidden" name="plantype">
<input type="hidden" name="plandate">
<input type="hidden" name="plancontent">
<input type="hidden" name="startdate">
<input type="hidden" name="enddate">
<input type="hidden" name="auditman">
<input type="hidden" name="auditdate">
<input type="hidden" name="auditcontent">
<input type="hidden" name="doplan">
<input type="hidden" name="currentpage" value="<%=currentpage%>">
<input type="hidden" name="deptname" value="<%=deptname%>">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -