2018-11-05 15:22:08 +08:00

84 lines
2.4 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"%>
<%@ page import="com.tenwa.flow.tabviewservice.*" %>
<%@ include file="/IncludeBegin.jsp"%>
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=View00;Describe=注释区;]~*/%>
<%
/*
Author: jyshen 2017-05-08
Tester:
Content: 业务申请主界面
Input Param:
Output param:
History Log:
*/
%>
<%/*~END~*/%>
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=View01;Describe=定义页面属性;]~*/%>
<%
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宽度
%>
<%/*~END~*/%>
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=View02;Describe=定义变量,获取参数;]~*/%>
<%
JBOTransaction tx=JBOFactory.createJBOTransaction();
%>
<%/*~END~*/%>
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=View03;Describe=定义树图;]~*/%>
<%
OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage,"业务详情","right");
FlowTaskViewTabService.initOHTMLTreeViewProjectContract(tx,tviTemp,CurPage);
tx.commit();
String FlowUnid=CurPage.getParameter("FlowUnid");
%>
<%/*~END~*/%>
<%/*~BEGIN~不可编辑区[Editable=false;CodeAreaID=View04;Describe=主体页面]~*/%>
<%@include file="/Resources/CodeParts/View04.jsp"%>
<%/*~END~*/%>
<%/*~BEGIN~可编辑区[Editable=true;CodeAreaID=View05;]~*/%>
<script type="text/javascript">
<%/*treeview单击选中事件;如果tviTemp.TriggerClickEvent=true则在单击时触发本函数*/%>
function TreeViewOnClick(){
var FlowUnid="<%=FlowUnid%>";
var node = getCurTVItem();
var sValue = node.value;
if(!sValue) return;
var navigation = sValue.split("@");
var target = "right";
var sCurItemname = node.name;
if(sCurItemname.indexOf("Main") > -1){
target = "_self";
}
AsControl.OpenView(navigation[0], navigation[1]+"&IsShowFormal=true"+'&FlowUnid='+FlowUnid, target);
setTitle(sCurItemname);
}
<%/*~[Describe=生成treeview;InputParam=无;OutPutParam=无;]~*/%>
function initTreeVeiw(){
<%=tviTemp.generateHTMLTreeView()%>
expandAll();
selectItem(1);
myleft.width = 200;
}
initTreeVeiw();
</script>
<%/*~END~*/%>
<%/*~BEGIN~可编辑区[Editable=true;CodeAreaID=View06;Describe=在页面装载时执行,初始化]~*/%>
<script language="JavaScript">
</script>
<%/*~END~*/%>
<%@ include file="/IncludeEnd.jsp"%>