?? retrieveplanresult.jsp
字號:
<!-- 系統(tǒng)名稱:光大花園物業(yè)管理系統(tǒng) -->
<!-- 程序名稱:RetrievePlanResult.jsp -->
<!-- 程序類型:jsp文件 -->
<!-- 功能簡述:查詢計劃詳細信息資料結(jié)果頁面 -->
<!-- 作 者:韓立鋒 -->
<!-- 公 司:長春中聯(lián) -->
<!-- 完成時間:2001/09/12 -->
<!-- 修 改 人:畢鋒 -->
<!-- 修改內(nèi)容:頁面 -->
<!-- 修改時間: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("對不起,此計劃已經(jīng)批閱過,不能夠進行修改!");
<%}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="修改選定的數(shù)據(jù)"></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">結(jié)束時間</td>
<td width="84%"><%=(String)enddate.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">計劃內(nèi)容</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">批閱內(nèi)容</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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -