📄 persongroupbrowerleft.jsp
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString,java.util.Hashtable"%>
<%
oa.bean.PersonGroupBean myBean = null;
try{
myBean = new oa.bean.PersonGroupBean();
DealString ds = new DealString();
//取得当前人员编号(person_NO)
String strPersonNo = ds.toString((String)session.getAttribute("zgbh"));
//String strPersonNo = ds.toString((String)request.getParameter("txt_PersonNO"));
//取得当前群组编号(Group_NO)
String strGroupNo = ds.toString((String)request.getParameter("txt_GroupNO"));
//debug --
if (strPersonNo.equals("")) {
strPersonNo="1";
}
//debug --完
%>
<html>
<head><title>个人群组设置-树</title>
<link href="../css/person.css" type=text/css rel=stylesheet>
<script language="javascript" src="../scripts/department.js"></script>
<script language="javascript" src="../scripts/treeBrower.js"></script>
</head>
<body>
<%
int width=180;
%>
<table border="0" cellpadding="0" style="border-collapse: collapse; color:#FFFFFF" bordercolor="D0E7FF" width="100%" height="18">
<tr>
<td align="left" > <b><font color="#007EAE">群组列表</font></b></td>
</tr>
</table>
<Table border="0" width="<%=width%>" bgcolor="#ffffff">
<TR>
<TD align=left width="100%"><span style="cursor:hand;" onclick="setValue('<%=strPersonNo%>','0');" ><img src="../images/personGroupTreeRoot.bmp"><b><font color="blue">我的群组</font></b></span></TD>
</TR>
<%
myBean.setPersonNO(strPersonNo);
Vector oVect = myBean.getData();
for(int i=0;i<oVect.size();i++){
Hashtable hash = (Hashtable)oVect.get(i);
String strGroupNO = (String)hash.get("QZBH");
String strMC = (String)hash.get("QZMC");
%>
<TR>
<TD align=left width="100%"><span style="cursor:hand;" onclick="setValue('<%=strPersonNo%>','<%=strGroupNO%>');" > <img src="../images/personGroupTreeLeaf.bmp"><b> <font color="blue"><%=strMC%></font></b></span></TD>
</TR>
<%
}
%>
</Table>
</body>
<script>
function setValue(strPerson,strGroup){
var oForm=parent.frames['main'].document.getElementById("formSelected");
allSelected(parent.frames['main'].document.getElementById("select_PersonList_To"));
var strURL="personGroupBrowerMain.jsp?txt_GroupNO="+strGroup;
oForm.action=strURL;
oForm.submit();
}
</script>
</html>
<%}finally{
if(myBean!=null)myBean.closeConn();}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -