📄 flow_predefine_left.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="cn.js.fan.util.*"%>
<%@ page import="com.redmoon.oa.flow.*"%>
<script>
function findObj(theObj, theDoc)
{
var p, i, foundObj;
if(!theDoc) theDoc = document;
if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
{
theDoc = parent.frames[theObj.substring(p+1)].document;
theObj = theObj.substring(0,p);
}
if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj && i < theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}
function ShowChild(imgobj, name)
{
var tableobj = findObj("childof"+name);
if (tableobj.style.display=="none")
{
tableobj.style.display = "";
if (imgobj.src.indexOf("i_puls-root-1.gif")!=-1)
imgobj.src = "images/i_puls-root.gif";
if (imgobj.src.indexOf("i_plus-1-1.gif")!=-1)
imgobj.src = "images/i_plus2-2.gif";
if (imgobj.src.indexOf("i_plus-1.gif")!=-1)
imgobj.src = "images/i_plus2-1.gif";
}
else
{
tableobj.style.display = "none";
if (imgobj.src.indexOf("i_puls-root.gif")!=-1)
imgobj.src = "images/i_puls-root-1.gif";
if (imgobj.src.indexOf("i_plus2-2.gif")!=-1)
imgobj.src = "images/i_plus-1-1.gif";
if (imgobj.src.indexOf("i_plus2-1.gif")!=-1)
imgobj.src = "images/i_plus-1.gif";
}
}
function selectDir(dirCode, dirName) {
form1.dirCode.value = dirCode;
form1.submit();
}
</script>
<link href="../common.css" rel="stylesheet" type="text/css">
<jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body {
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EFEFEF">
<tr>
<td width="33%" align="center"><%
Directory dir = new Directory();
Leaf rootLeaf = dir.getLeaf(Leaf.CODE_ROOT);
DirectoryView dv = new DirectoryView(rootLeaf);
dv.ListFunc(request, out, "_self", "selectDir", "", "" );
%>
<form name="form1" action="flow_predefine_list.jsp" method="post" target="flowPredefineMainFrame">
<input type="hidden" name="dirCode" />
</form>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -