37 lines
1.7 KiB
Plaintext
37 lines
1.7 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||
/*
|
||
Author: undefined 2017-08-02
|
||
Content:
|
||
History Log:
|
||
*/
|
||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||
String ishistory=CurPage.getParameter("IsHistory");
|
||
String RightType=CurPage.getParameter("RightType");
|
||
ASObjectModel doTemp = new ASObjectModel("LCAdjustContractTemp");
|
||
if(null!=ishistory&&ishistory.equals("true")){
|
||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataListHistory");//如果是历史则新显示历史数据
|
||
}
|
||
doTemp.setColumnAttribute("ACTION","colvisible","0");
|
||
doTemp.setColumnAttribute("FILENAME","colvisible","0");
|
||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||
dwTemp.Style="1"; //--设置为Grid风格--
|
||
dwTemp.ReadOnly = "1"; //只读模式
|
||
dwTemp.setPageSize(10);
|
||
dwTemp.genHTMLObjectWindow(sFlowUnid);
|
||
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
|
||
isShowButton=false;
|
||
}
|
||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||
String sButtons[][] = {
|
||
{"true","","Button","撤销","撤销","runCancel()","","","","btn_icon_delete",""},
|
||
};
|
||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||
<script type="text/javascript">
|
||
function runCancel(){
|
||
AsControl.RunJavaMethod("com.tenwa.reckon.adjustInterest.RollBackAdjustInterestController","runCancel","payment_number="+getItemValue(0,getRow(0),"payment_number")+",flowunid=<%=sFlowUnid%>");
|
||
alert("撤销成功!");
|
||
reloadSelf();
|
||
}
|
||
</script>
|
||
<%@ include file="/Frame/resources/include/include_end.jspf"%> |