%@ page contentType="text/html; charset=GBK"%><%@
include file="/IncludeBeginMD.jsp"%><%
/*
Author: xdhou 2005.02.18
Content: 尽职调查报告主界面
Input Param:
DocID: formatdoc_catalog中的文档类别(调查报告,贷后检查报告,...)
ObjectNo:业务流水号
*/
String PG_TITLE = "尽职调查报告管理"; // 浏览器窗口标题
PG_TITLE
String PG_CONTENT_TITLE = " 详细信息 "; //默认的内容区标题
String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字
String PG_LEFT_WIDTH = "260";//默认的treeview宽度
//获得组件参数
String sObjectNo = CurPage.getParameter("ObjectNo");
String sObjectType = CurPage.getParameter("ObjectType");
String sDocID = CurPage.getParameter("DocID");
String sCustomerID = CurPage.getParameter("CustomerID");
//生成treeview...root
String sSql1 = "";
ASResultSet rsData = null;
//取得该笔申请的客户名称
String sRootCaption = NameManager.getCustomerName(sObjectNo);
//定义Treeview
String sTitle = "尽职调查报告("+sRootCaption+")";
OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, sTitle,"right");
//定义树图结构
@SuppressWarnings("unchecked")
List bos = JBOFactory.createBizObjectQuery("jbo.formatdoc.FORMATDOC_DATA", "select * from O where ObjectType = :ObjectType and ObjectNo = :ObjectNo and DocID = :DocID Order By TreeNo").setParameter("ObjectNo", sObjectNo).setParameter("ObjectType", sObjectType).setParameter("DocID", sDocID).getResultList(false);
tviTemp.init(bos, "TreeNo","DirName","SerialNo","",""); //TreeNo
//参数从左至右依次为:
//ID字段(必须),Name字段(必须),Value字段,Script字段,Picture字段,From子句(必须),OrderBy子句,Sqlca
%><%@include file="/Resources/CodeParts/View04.jsp"%>
<%@ include file="/IncludeEnd.jsp"%>