<%@page import="jbo.app.tenwa.customer.CUSTOMER_INFO"%> <%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBegin.jsp"%><% String PG_TITLE = "客户管理"; String PG_CONTENT_TITLE = "  详细信息  "; String PG_CONTNET_TEXT = "请点击左侧列表"; String PG_LEFT_WIDTH = "220";//--默认的treeview宽度 String sItemDescribe = ""; String sTreeViewTemplet = "";//--存放custmerview页面树图的CodeNo String sCustomerType = "";//--客户类型 String sCustomerID = CurPage.getParameter("ObjectNo"); String partnerType=CurPage.getParameter("Param"); BizObject cust = JBOFactory.getBizObjectManager(CUSTOMER_INFO.CLASS_NAME).createQuery("customerid=:customerid ").setParameter("customerid",sCustomerID).getSingleResult(false); String customerType=""; if(cust!=null){ customerType = cust.getAttribute("customertype").getString(); } if(customerType == null || "".equals(customerType)) customerType = "01";//默认法人客户 if(customerType.equals("01")&&"cust_type.assuror".equals(partnerType)){ sTreeViewTemplet="CompanyGuarantyView02";//担保人详情页面 }else if(customerType.equals("01")){ sTreeViewTemplet="CompanyView02";//法人客户 }else{//自然人客户 sTreeViewTemplet="PersonView02"; } OHTMLTreeView tviTemp = new OHTMLTreeView(CurPage, "客户信息管理","right");//定义Treeview String[] excludes = null; tviTemp.init(sTreeViewTemplet, excludes); %><%@include file="/Resources/CodeParts/View04.jsp"%> <%@ include file="/IncludeEnd.jsp"%>