更具客户类型显示不同的页面

This commit is contained in:
tangfutang 2018-07-23 20:22:40 +08:00
parent 0722f7e06d
commit c5d2289273
2 changed files with 8 additions and 2 deletions

View File

@ -170,7 +170,7 @@
AsDebug.showMessage("Ìáʾ",sReturn,"","",true,'','','',function(){
var sReturns = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","downloadDoc","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>");
window.location.reload();
});
});
}

View File

@ -13,6 +13,7 @@
String ishistory=CurPage.getParameter("IsHistory");
String compClientID = request.getParameter("CompClientID");
String RightType = CurPage.getParameter("RightType");//Ò³ÃæÊÇ·ñ ÊÇÖ»¶Á
String custype = CurPage.getParameter("customertype");//»ñÈ¡¿Í»§ÀàÐÍ
if(sPrevUrl == null) sPrevUrl = "";
if((null!=sPhaseNo&&sPhaseNo.equals("0010")) && "BContractApproveFlow".equals(FlowNo)){
@ -40,8 +41,13 @@
dwTemp.Style = "2";//freeform
dwTemp.setGroupHidden("0020");
dwTemp.genHTMLObjectWindow(sFlowUnid);
String userll=null;
userll="/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp?CompClientID=";
if("01".equals(custype)){
userll="/Tenwa/Customer/Lessee/Person/CustomerCompanyTempInfo.jsp?CompClientID=";
}
//dwTemp.replaceColumn("BaseInfo", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"600px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/Flow/Comm/LBContractPersonBaseInfo/CustomerInfo.jsp?CompClientID="+compClientID+"\"></iframe>", CurPage.getObjectWindowOutput());
dwTemp.replaceColumn("BaseInfo", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"630px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp?CompClientID="+compClientID+"\"></iframe>", CurPage.getObjectWindowOutput());
dwTemp.replaceColumn("BaseInfo", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"630px\" frameborder=\"0\" src=\""+sWebRootPath+userll+compClientID+"\"></iframe>", CurPage.getObjectWindowOutput());
String sButtons[][] = null;
sButtons = new String[][]{