2018-11-16 18:24:01 +08:00

58 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-07-12
Content:
History Log:
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
String customertype = CurPage.getParameter("CustomerType");
String orgName = CurUser.getOrgName();
String userName = CurUser.getUserName();
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.MultiSelect = true; //添加多选框
dwTemp.genHTMLObjectWindow(sFlowUnid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","身份校验","身份校验","identitycheck()","","","","btn_icon_detail",""}
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function identitycheck(){
var flowunid = "<%=sFlowUnid%>";
var username = "<%=userName%>";
var orgname = "<%=orgName%>";
var customertype = "<%=customertype%>";
var relations=getItemValueArray(0,"relation").toString().replace(/,/g,"@");
var fullNames=getItemValueArray(0,"fullName").toString().replace(/,/g,"@");
if(relations.length==0){
alert("请先选择数据!!!");
return;
}
var result =
RunJavaMethodTrans("com.tenwa.lease.flow.project.validate.IdentityVerification","doIdentityVerification","FlowUnid="+flowunid+",UserName="+username+",OrgName="+orgname+",relations="+relations+",fullNames="+fullNames+",customertype="+customertype);
if(result == 'ERROR'){
alert("调用数据失败");
reloadSelf();
}else if(result == 'SUCCESS'){
alert('校验成功,请点击详情查看!');
reloadSelf();
}else{
alert(result);
reloadSelf();
}
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/Flow/Comm/LBIdentityCheck/LBIdentityCheckResultTemp.jsp";
var sparam="FlowUnid="+'<%=sFlowUnid%>';
AsControl.OpenView(sUrl,sparam,"_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>