📄 retrievedeptresult.jsp
字号:
<!-- 系统名称:光大花园物业管理系统 -->
<!-- 程序名称:RetrieveDeptResult.jsp -->
<!-- 程序类型:jsp文件 -->
<!-- 功能简述:查询部门资料结果页面 -->
<!-- 作 者:韩立锋 -->
<!-- 公 司:长春中联 -->
<!-- 完成时间:2001/08/28 -->
<!-- 修 改 人:毕锋 -->
<!-- 修改内容:页面 -->
<!-- 修改时间:2001/11/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">
<%
String num = (String)request.getAttribute("num");
Vector deptname = (Vector) request.getAttribute("deptname");
Vector deptcode = (Vector) request.getAttribute("deptcode");
Vector deptpower = (Vector) request.getAttribute("deptpower");
Vector compname = (Vector) request.getAttribute("compname");
Vector deptman = (Vector) request.getAttribute("deptman");
Vector deptduty = (Vector) request.getAttribute("deptduty");
Vector content = (Vector) request.getAttribute("content");
for (int k=0;k<deptduty.size();k++) {
String tmp = (String)deptduty.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");
}
deptduty.set(k,tmp);
}
for (int k=0;k<content.size();k++) {
String tmp = (String)content.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");
}
content.set(k,tmp);
}
%>
<script language="JavaScript" src="/pmsApp/common/wuye.js"></script>
<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 Addjob(form3) {
document.form3.submit();
}
function Del(form2) {
var bool = true;
var del2="☆";
var del ="※";
document.form2.inputString.value="numb"+del2+"<%=num%>"+del;
if (bool) {
if (confirm("您确认要删除该部门资料么?")==true) {
document.form2.submit();
}
}
}
function Mod(form1) {
document.form1.submit();
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="/pmsApp/images/bg2.gif" leftmargin="0" topmargin="0" onLoad="MM_preloadImages('/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: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"><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>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<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" height="25"><a href="javascript:Addjob()">添加岗位</a></td>
<td width="100" background="/pmsApp/images/tab_down.gif" height="25"><a href="/pmsApp/servlet/common.PMS?txId=3079&inputString=persnumb%A1%EE<%=num%>">部门权限</a></td>
</tr>
</table>
</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)deptname.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" height="22" width="16%" bgcolor="#d4d0c8">部门代号</td>
<td height="22" width="84%"><%=(String)deptcode.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">所属公司</td>
<td width="84%"><%=(String)compname.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">部门负责人</td>
<td width="84%"><%=(String)deptman.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22"> 部门职责</td>
<td width="84%"><%=(String)deptduty.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap width="16%" bgcolor="#d4d0c8" height="22">其他资料</td>
<td width="84%"><%=(String)content.elementAt(0)%> </td>
</tr>
<tr>
<td align="center" nowrap colspan="2" bgcolor="#d4d0c8" height="22">
<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="form1" method="post" action="/pmsApp/personaladmin/ModifyDeptInput.jsp">
<input type="hidden" name="number" value="<%=num%>">
<input type="hidden" name="deptname" value="<%=(String)deptname.elementAt(0)%>">
<input type="hidden" name="deptcode" value="<%=(String)deptcode.elementAt(0)%>">
<input type="hidden" name="deptpower" value="<%=(String)deptpower.elementAt(0)%>">
<input type="hidden" name="compname" value="<%=(String)compname.elementAt(0)%>">
<input type="hidden" name="deptman" value="<%=(String)deptman.elementAt(0)%>">
<input type="hidden" name="deptduty" value="<%=(String)deptduty.elementAt(0)%>">
<input type="hidden" name="content" value="<%=(String)content.elementAt(0)%>">
</form>
<form name="form2" method="post" action="/pmsApp/servlet/common.PMS">
<input type="hidden" name="txId" id="txId" value="3023">
<input type="hidden" name="inputString" id="inputString">
</form>
<form name="form3" method="post" action="/pmsApp/personaladmin/AddJobInput.jsp">
<input type="hidden" name="deptname" value="<%=(String)deptname.elementAt(0)%>">
<input type="hidden" name="number" value="<%=num%>">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -