2018-06-03 22:26:41 +08:00

46 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin.jspf"%>
<%
/*
Content: 系统流程查询
*/
String PG_TITLE = "安全审计查询"; // 浏览器窗口标题 <title> PG_TITLE </title>
String PG_CONTENT_TITLE = "&nbsp;&nbsp;安全审计查询&nbsp;&nbsp;"; //默认的内容区标题
String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字
String PG_LEFT_WIDTH = "200";//默认的treeview宽度
//定义Treeview
OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "安全审计查询","right");
//定义树图结构
String sSqlTreeView = "from O where CodeNo= 'AuditQueryDetail' AND IsInuse='1' ";
tviTemp.init(JBOFactory.getBizObjectManager("jbo.sys.CODE_LIBRARY"), "SortNo","ItemName","ItemDescribe","","",sSqlTreeView,"Order By SortNo");
%>
<%@ include file="/Frame/resources/include/include_main.jspf"%>
<script type="text/javascript">
/*~[Describe=treeview单击选中事件;InputParam=无;OutPutParam=无;]~*/
function TreeViewOnClick(){
var sCurItemID = getCurTVItem().id;
var sCurItemName = getCurTVItem().name;
var sCurItemDescribe = getCurTVItem().value;
var sType = getCurTVItem().type;
sCurItemDescribe = sCurItemDescribe.split("@");
sCurItemDescribe1=sCurItemDescribe[0]; //代码表描述字段中用@分隔的第1个串
sCurItemDescribe2=sCurItemDescribe[1]; //代码表描述字段中用@分隔的第2个串
sCurItemDescribe3=sCurItemDescribe[2]; //代码表描述字段中用@分隔的第3个串根据情况还可以很多。
if(sCurItemDescribe1 != "null" && sCurItemDescribe1 != "root" && sType!="folder"){
OpenComp(sCurItemDescribe2,sCurItemDescribe1,"ComponentName="+sCurItemName+"&CodeType="+sCurItemID,"right");
setTitle(getCurTVItem().name);
}
}
/*~[Describe=生成treeview;InputParam=无;OutPutParam=无;]~*/
function startMenu(){
<%=tviTemp.generateHTMLTreeView()%>
expandAll();
selectItem("010");
}
startMenu();
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>