diff --git a/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp b/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp index 47f7793fe..57854bc1a 100644 --- a/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/RiskAlert/RiskAlertInfo.jsp @@ -63,7 +63,28 @@ } } function selectCustomer(){ - AsDialog.OpenSelector("SelectCustomerForRiskAlert","","",function(sReturn){ + + var flowno="<%=CurPage.getParameter("ApplyType")%>"; + var selname=""; + var orgId="<%=CurUser.getOrgID()%>".substring(0,7); + var businessType=""; + if(flowno=="RiskAlertFlow"){ + businessType=" lci.businesstype='1'"; + }else{ + businessType=" (lci.businesstype='2' OR lci.businesstype='3')"; + /* if(orgId=="8009010"){ + businessType="2"; + }else if(orgId=="8009011"){ + businessType="3"; + }else{ + alert("当前用户不能发起!"); + return; + } */ + } + + + var userid="<%=CurUser.getUserID()%>"; + AsDialog.OpenSelector("SelectCustomerForRiskAlert","userid,"+userid+",businessType,"+businessType,"",function(sReturn){ if(!sReturn||sReturn=="_CANCEL_" || sReturn=="_NONE_"){ return; }