56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
|
|
<%
|
|
String Unid =CurPage.getParameter("Unid");//保存理赔结清临时表的ID
|
|
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
|
String contractId = CurPage.getParameter("ContractId");//合同编号
|
|
String ProductId=CurPage.getParameter("ProductId");
|
|
if(sFlowUnid == null)sFlowUnid = "";
|
|
String ID = CurPage.getParameter("id");//
|
|
if(ID == null)ID = "";
|
|
//String sListTempletNo = CurPage.getParameter("TempletNo");//List页面模板号
|
|
//if(sListTempletNo == null) sListTempletNo = "LBGuaranteeUnitListTemp";
|
|
String ishistory=CurPage.getParameter("IsHistory");
|
|
String nodeNo=CurPage.getParameter("NodeNo");
|
|
String taskno=CurPage.getParameter("TaskNo");
|
|
String RightType= CurPage.getParameter("RightType");
|
|
|
|
String sTempletNo = "LBClaimsSettleTemp";//--模板号--
|
|
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
|
if(null!=ishistory&&ishistory.equals("true")){
|
|
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
|
|
}
|
|
CurPage.getCurComp().setAttribute("RightType", null);
|
|
%>
|
|
<%@ include file="/Tenwa/Lease/Flow/Comm/baseShowInfoFormal.jspf"%>
|
|
<%
|
|
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
|
dwTemp.Style = "2";//freeform
|
|
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
|
|
dwTemp.ReadOnly = "-2";//只读模式
|
|
}
|
|
dwTemp.genHTMLObjectWindow(ID);
|
|
dwTemp.genHTMLObjectWindow(sFlowUnid);//得到的参数
|
|
CurPage.getCurComp().setAttribute("RightType", RightType);
|
|
|
|
String sButtons[][] = {
|
|
// {"true","All","Button","理赔结清","保存所有修改","saveRecord()","","","","btn_icon_save"}
|
|
};
|
|
//sButtonPosition = "south";
|
|
%>
|
|
<%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
|
<script type="text/javascript">
|
|
|
|
/*~[Describe=保存记录;InputParam=无;OutPutParam=无;]~*/
|
|
function saveRecord(){
|
|
var id="<%=Unid%>";
|
|
var sFlowUnid = "<%=sFlowUnid%>";
|
|
var contractId="<%=contractId%>";
|
|
setItemValue(0,getRow(),"ID",id);//初始化流程编号
|
|
setItemValue(0,getRow(),"FlowUnid",sFlowUnid);//初始化流程编号
|
|
setItemValue(0,getRow(),"Contract_Id",contractId);//初始化合同编号
|
|
as_save("myiframe0","false");
|
|
// as_save("myiframe0");
|
|
}
|
|
</script>
|
|
<%@ include file="/Frame/resources/include/include_end.jspf"%> |