鹏远反欺诈页面改为列表页面

This commit is contained in:
tangfutang 2019-06-17 16:08:39 +08:00
parent 1254239a9e
commit b5713be3a7
3 changed files with 1088 additions and 1037 deletions

View File

@ -40,17 +40,17 @@
}
}
Map<String,String> params = new HashMap<String,String>(); //初始化参数
String resultals =bdc.getCustomerInfoPerson(flowunid, Sqlca);
if(!"false".equals(resultals)){
String[] sReturn = resultals.split("@");
// String resultals =bdc.getCustomerInfoPerson(flowunid, Sqlca);
// if(!"false".equals(resultals)){
// String[] sReturn = resultals.split("@");
params.put("queryType","25212");
params.put("name",sReturn[1]);
params.put("documentNo",sReturn[2]);
params.put("phone",sReturn[3]);
params.put("name",CurPage.getParameter("fullName"));
params.put("documentNo",CurPage.getParameter("fullcertId"));
params.put("phone",CurPage.getParameter("fullphone"));
params.put("queryReasonID","101");
params.put("subreportIDs","96040");
params.put("refID","");
}
// }
FileInputStream fr = null;
BufferedReader br = null;
try {
@ -74,7 +74,8 @@
html = html.replaceAll("width=\"103\"", "");
}
if(html.indexOf("<td>个人反欺诈分析报告</td>") != -1) {
html = html.replaceAll("<td>个人反欺诈分析报告</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onclick=\"AsButton.run(this, function(){getData();}, event);return false;\" class=\"inline_button \" hidefocus=\"\" href=\"javascript:void(0);\"><span style=\"display:none;\"></span><span class=\"left\">&nbsp;</span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\">&nbsp;</span><span class=\"btn_text\">拉取鹏元数据</span></span><span class=\"right\">&nbsp;</span></a>个人信用报告</td>");
// html = html.replaceAll("<td>个人反欺诈分析报告</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onclick=\"AsButton.run(this, function(){getData();}, event);return false;\" class=\"inline_button \" hidefocus=\"\" href=\"javascript:void(0);\"><span style=\"display:none;\"></span><span class=\"left\">&nbsp;</span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\">&nbsp;</span><span class=\"btn_text\">拉取鹏元数据</span></span><span class=\"right\">&nbsp;</span></a>个人信用报告</td>");
html = html.replaceAll("<td>个人反欺诈分析报告</td>", "<td><a style=\"position:absolute;left:0;top:8%\" title=\"拉取鹏元数据\" onClick=\"returnList();\" class=\"inline_button \" hidefocus=\"\" href=\"#\"><span style=\"display:none;\"></span><span class=\"left\">&nbsp;</span><span class=\"center\"><span class=\"btn_icon btn_icon_edit\">&nbsp;</span><span class=\"btn_text\">返回</span></span><span class=\"right\">&nbsp;</span></a>个人信用报告</td>");
}
if(html.indexOf("<body>") != -1) {
html = html.replaceAll("<body>", "<body style=\"overflow:scroll;height:95%\">");
@ -131,4 +132,9 @@
}
}
</script>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>","_self","");
}
</script>
<%@include file="/IncludeEnd.jsp"%>

View File

@ -0,0 +1,40 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2019-06-14
Content:
History Log:
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
String ProjectId = CurPage.getParameter("ProjectId");//流程编号
/* String flowunid = CurPage.getParameter("ObjectNo");
String projectNo = CurPage.getParameter("ProjectNo");
String ReadyApprove = CurPage.getParameter("ReadyApprove");
String getType = CurPage.getParameter("GetType"); */
ASObjectModel doTemp = new ASObjectModel("VI_LB_IDENTITY_CHECK");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(sFlowUnid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","拉取鹏元数据","拉取鹏元数据","newRecord()","","","","btn_icon_add",""},
// {"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
// {"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandata.jsp";
var fullName = getItemValue(0,getRow(0),'fullName');
var fullcertId = getItemValue(0,getRow(0),'certId');
var fullrelation = getItemValue(0,getRow(0),'relation');
var fullphone = getItemValue(0,getRow(0),'phone');
AsControl.OpenView(sUrl,'ProjectId='+'<%=ProjectId%>'+'&fullName='+fullName+'&fullcertId='+fullcertId+'&fullrelation='+fullrelation+'&fullphone='+fullphone,'_self','');
<%-- AsControl.OpenView(sUrl,'ProjectId='+"<%=ProjectId%>",'_self',''); --%>
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>