From 2df1eee29c3ca80166bab731e70f7531ae5b6b55 Mon Sep 17 00:00:00 2001 From: liuzhao Date: Wed, 26 Sep 2018 17:29:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=8E=E9=99=A9=E9=A2=84=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lease/Flow/RiskAlert/RiskAlertInfo.jsp | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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; }