2018-06-03 22:26:41 +08:00

61 lines
2.5 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"%>
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
<%
/*
Author: undefined 2017-05-12
Content:
History Log:
*/
String flowunid = CurPage.getParameter("FlowUnid");//流程
BizObject flow=GetFlowAction.getFlowBussinessObject(flowunid);
String projid=flow.getAttribute("proj_id").getString();
String contract_id=flow.getAttribute("contract_id").getString();
String ProductId=CurPage.getParameter("ProductId");//产品编号
String calType ="pay_process";
String RightType= CurPage.getParameter("RightType");
String compClientID = CurPage.getParameter("CompClientID");
String ishistory = CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
String taskno = CurPage.getParameter("TaskNo");
ASObjectModel doTemp = new ASObjectModel("LCPaymentPlanListChange");
if(null!=ishistory&&ishistory.equals("true"))
{
doTemp.setDataQueryClass("com.tenwa.lease.flow.flowarchive.calcarchive.CalcListArachiveShow");
}
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(flowunid);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] =null;
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
sButtons=new String[][] {
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_edit"},
};
}else{
sButtons=new String[][] {
{"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"},
};
}
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function viewAndEdit(){
var sUrl = "/Accounting/LoanSimulation_change/LCRentChangeInfo.jsp";
var flowunid = getItemValue(0,getRow(0),'FLOWUNID');
var plannumber = getItemValue(0,getRow(0),'PAYMENT_NUMBER');
if(typeof(plannumber)=="undefined" || plannumber.length==0 ){
alert("请选择一条纪录!");
return ;
}
var sParam="FlowUnid="+flowunid+"&plannumber="+plannumber+"&RightType=<%=RightType%>&ProductId=<%=ProductId%>&calType=<%=calType%>&NodeNo=<%=nodeNo%>&TaskNo=<%=taskno%>";
AsControl.OpenView(sUrl,sParam,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>