1.鹏元增加详情
This commit is contained in:
parent
c9fa30db86
commit
a58f7c67a1
@ -7,6 +7,7 @@
|
||||
*/
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String ProjectId = CurPage.getParameter("ProjectId");//流程编号
|
||||
String flag = "true";
|
||||
/* String flowunid = CurPage.getParameter("ObjectNo");
|
||||
String projectNo = CurPage.getParameter("ProjectNo");
|
||||
String ReadyApprove = CurPage.getParameter("ReadyApprove");
|
||||
@ -22,12 +23,21 @@
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","拉取鹏元数据","拉取鹏元数据","newRecord()","","","","btn_icon_add",""},
|
||||
{flag,"","Button","详情","查看详情","detail()","","","","btn_icon_detail",""},
|
||||
// {"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 getType = "SAVE";
|
||||
request(getType);
|
||||
}
|
||||
function detail(){
|
||||
var getType = "GET";
|
||||
request(getType);
|
||||
}
|
||||
function request(getType){
|
||||
var sUrl = "/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbank.jsp";
|
||||
var fullName = getItemValue(0,getRow(0),'fullName');
|
||||
var fullcertId = getItemValue(0,getRow(0),'certId');
|
||||
@ -35,11 +45,11 @@ function newRecord(){
|
||||
var fullphone = getItemValue(0,getRow(0),'phone');
|
||||
var fullcardNo = getItemValue(0,getRow(0),'fullcardNo');
|
||||
if(fullcardNo==""||fullcardNo==null){
|
||||
alert("请填写银行卡号");
|
||||
alert("银行卡号不能为空");
|
||||
return;
|
||||
}
|
||||
AsControl.OpenView(sUrl,'ProjectId='+'<%=ProjectId%>'+'&fullName='+fullName+'&fullcertId='+fullcertId+'&fullrelation='+fullrelation+'&fullphone='+fullphone+'&fullcardNo='+fullcardNo,'_self','');
|
||||
var params = 'ProjectId='+'<%=ProjectId%>'+'&fullName='+fullName+'&fullcertId='+fullcertId+'&fullrelation='+fullrelation+'&fullphone='+fullphone+'&fullcardNo='+fullcardNo+'&GetType='+getType;
|
||||
AsControl.OpenView(sUrl,params,'_self','');
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -7,6 +7,7 @@
|
||||
*/
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String ProjectId = CurPage.getParameter("ProjectId");//流程编号
|
||||
String flag = "true";
|
||||
/* String flowunid = CurPage.getParameter("ObjectNo");
|
||||
String projectNo = CurPage.getParameter("ProjectNo");
|
||||
String ReadyApprove = CurPage.getParameter("ReadyApprove");
|
||||
@ -22,19 +23,29 @@
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","拉取鹏元数据","拉取鹏元数据","newRecord()","","","","btn_icon_add",""},
|
||||
{flag,"","Button","详情","查看详情","detail()","","","","btn_icon_detail",""},
|
||||
// {"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(){
|
||||
function request(getType){
|
||||
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',''); --%>
|
||||
var params = 'ProjectId='+'<%=ProjectId%>'+'&fullName='+fullName+'&fullcertId='+fullcertId+'&fullrelation='+fullrelation+'&fullphone='+fullphone+'&GetType='+getType;
|
||||
AsControl.OpenView(sUrl,params,'_self','');
|
||||
}
|
||||
function newRecord(){
|
||||
var getType = "SAVE";
|
||||
request(getType);
|
||||
}
|
||||
function detail(){
|
||||
var getType = "GET";
|
||||
request(getType);
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
Loading…
x
Reference in New Issue
Block a user