修改鹏远接口详情按钮传参和手机号去除空格

This commit is contained in:
tangfutang 2019-07-05 19:56:46 +08:00
parent f906086b5a
commit 7ffab300a0
6 changed files with 940 additions and 923 deletions

View File

@ -9,6 +9,7 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/IncludeBegin.jsp"%><%
String flowunid = CurPage.getParameter("ObjectNo");
String projectId = CurPage.getParameter("ProjectId");//Á÷³Ì±àºÅ
String projectNo = CurPage.getParameter("ProjectNo");
String ReadyApprove = CurPage.getParameter("ReadyApprove");
String fullcardNo = CurPage.getParameter("fullcardNo");
@ -49,8 +50,8 @@
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
<script type="text/javascript">
alert("该用户没有对应的详情信息!");
$(function(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>","_self","");
$(document).ready(function (){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>&ProjectId=<%=projectId%>","_self","");
})
</script>
<%
@ -149,8 +150,8 @@
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
<script type="text/javascript">
alert("获取数据失败");
$(function(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>","_self","");
$(document).ready(function (){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>&ProjectId=<%=projectId%>","_self","");
})
</script>
<%
@ -172,7 +173,7 @@
}
}
function returnList(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>","_self","");
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>&ProjectId=<%=projectId%>","_self","");
}
</script>
<%@include file="/IncludeEnd.jsp"%>

View File

@ -9,6 +9,7 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@include file="/IncludeBegin.jsp"%><%
String flowunid = CurPage.getParameter("ObjectNo");
String projectId = CurPage.getParameter("ProjectId");//Á÷³Ì±àºÅ
String projectNo = CurPage.getParameter("ProjectNo");
String ReadyApprove = CurPage.getParameter("ReadyApprove");
String applyId = "";
@ -31,8 +32,8 @@
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
<script type="text/javascript">
alert("该用户没有对应的详情信息!");
$(function(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>","_self","");
$(document).ready(function (){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>&ProjectId=<%=projectId%>","_self","");
})
</script>
<%
@ -131,8 +132,8 @@
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
<script type="text/javascript">
alert("获取数据失败");
$(function(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>","_self","");
$(document).ready(function (){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>&ProjectId=<%=projectId%>","_self","");
})
</script>
<%
@ -153,10 +154,8 @@
location.href = location.href.indexOf("&GetType=GET") == -1 ? location.href + "&GetType=GET&Count=<%=count%>" : location.href.substring(0, location.href.indexOf("&GetType=GET")) + "&GetType=GET&Count=<%=count%>";
}
}
</script>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>","_self","");
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>&ProjectId=<%=projectId%>","_self","");
}
</script>
<%@include file="/IncludeEnd.jsp"%>

View File

@ -29,6 +29,13 @@
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
$(function(){
var projectId = "<%=ProjectId%>";
/* if(null == projectId || "" == projectId || "null" == projectId){
location.reload();
} */
})
function request(getType){
var sUrl = "/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandata.jsp";
var fullName = getItemValue(0,getRow(0),'fullName');
@ -36,7 +43,7 @@
var fullrelation = getItemValue(0,getRow(0),'relation');
var fullphone = getItemValue(0,getRow(0),'phone');
var params = 'ProjectId='+'<%=ProjectId%>'+'&fullName='+fullName+'&fullcertId='+fullcertId+'&fullrelation='+fullrelation+'&fullphone='+fullphone+'&GetType='+getType;
AsControl.OpenView(sUrl,params,'_self','');
AsControl.OpenView(sUrl,params,'_self','');
}
function newRecord(){
var getType = "SAVE";

View File

@ -125,7 +125,7 @@
// }
function checkRepeat(mobile){//校验申请人一个手机号和配偶手机号是否重复
var tel = getItemValue(0,getRow(),"tel");
var tel = allTrim(getItemValue(0,getRow(),"tel"));
if(typeof(mobile)!=undefined && mobile != ''&&typeof(tel)!=undefined && tel != ''){
if(mobile!=tel){
return "true";

View File

@ -145,19 +145,29 @@
<%/*~[Describe=选择业务品种;]~*/%>
function selectBusinessType()
{
AsDialog.OpenSelector("SelectBusinessType2","ProductType,1@3,TypeNo,004","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"productId",sReturn[0]);
setItemValue(0,0,"productName",sReturn[1]);
},"请选择业务品种",'');
function selectBusinessType(){
var orgid = "<%=CurUser.getOrgID()%>";
orgid = orgid.substring(0,7);
var selectNo = "";
if("8009010" == orgid){//传统
selectNo = "SelectBusinessType2";
}else if("8009011" == orgid){//汽车类传统
selectNo = "SelectBusinessTypeCar";
}else{
alert("该用户不能发起流程,请联系管理员!");
return;
}
AsDialog.OpenSelector(selectNo,"ProductType,1@3,TypeNo,004","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
setItemValue(0,0,"productId",sReturn[0]);
setItemValue(0,0,"productName",sReturn[1]);
},"请选择业务品种",'');
}
</script>
<%/*~END~*/%>