46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||
/*
|
||
Author: undefined 2017-05-12
|
||
Content:
|
||
History Log:
|
||
*/
|
||
String flowunid = CurPage.getParameter("FlowUnid");//流程
|
||
String ProductId=CurPage.getParameter("ProductId");//产品编号
|
||
String calType = CurPage.getParameter("calType");
|
||
String RightType= CurPage.getParameter("RightType");
|
||
String ishistory= CurPage.getParameter("IsHistory");
|
||
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
|
||
isShowButton=false;
|
||
}else{
|
||
isShowButton=true;
|
||
}
|
||
|
||
ASObjectModel doTemp = new ASObjectModel("LCContractConditionList");
|
||
if(null!=ishistory&&ishistory.equals("true"))
|
||
{
|
||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataListHistory");
|
||
}
|
||
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[][] = {
|
||
{"true","","Button","复制方案","复制方案","copyPlan()","","","","btn_icon_add",""},
|
||
};
|
||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||
<script type="text/javascript">
|
||
function copyPlan(){
|
||
var params="conditionid="+getItemValue(0,getRow(0),"ID");
|
||
var sReturn=RunJavaMethodTrans("com.tenwa.flow.fund.paymentplan.PaymentPlanAction","copyCondition",params);
|
||
if(sReturn.length>0){
|
||
alert(sReturn);
|
||
}else{
|
||
alert("操作成功!请到本次投放查看");
|
||
}
|
||
}
|
||
</script>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |