更新页面

This commit is contained in:
liuz 2018-06-29 10:48:33 +08:00
parent 0acb007d5a
commit c9a5115f15
2 changed files with 32 additions and 2 deletions

View File

@ -15,8 +15,8 @@
var distributorId ="<%=distributorId%>";
var projectName = "<%=distributorId%>";
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams = sParams+",FlowKey="+distributorId+",distributorId=<%=distributorId%>";
<%-- sParams = sParams+",FlowKey="+distributorId+",distributorId=<%=distributorId%>"; --%>
sParams=sParams+",FlowKey="+distributorId+",ProjectName="+projectName+",distributorId=<%=distributorId%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
var sReturnInfos=sReturnInfo.split("@");

View File

@ -0,0 +1,30 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2017-10-11
Content: ʾÀýÏêÇéÒ³Ãæ
History Log:
*/
String sFlowUnid = CurPage.getParameter("FlowUnid");//Á÷³Ì±àºÅ
if(sFlowUnid == null) sFlowUnid="";
String sTempletNo ="LDistributorIncludeBandA";
BizObject flow=JBOFactory.createBizObjectQuery("jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT","flow_unid=:flowunid").setParameter("flowunid", sFlowUnid).getSingleResult(false);
String DISTRIBUTOR_NO=flow.getAttribute("Flow_Key").getString();
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
//doTemp.setColTips("", "²âÊÔ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "1";//Ö»¶Áģʽ
ASDataObject ado = dwTemp.getDataObject();
dwTemp.genHTMLObjectWindow(sFlowUnid);
String compClientID = request.getParameter("CompClientID");
dwTemp.replaceColumn("beforechange", "<iframe type='iframe' name=\"frame_list_invoice\" width=\"100%\" height=\"450\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorChangeInfoHis.jsp?CompClientID="+compClientID+"&FlowUnid="+sFlowUnid+"&DISTRIBUTOR_NO="+DISTRIBUTOR_NO+"\"></iframe>", CurPage.getObjectWindowOutput());
dwTemp.replaceColumn("afterchange", "<iframe type='iframe' name=\"frame_list_invoice\" width=\"100%\" height=\"450\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/DistributorManage/DistributorChange/LDistributorInfo.jsp?CompClientID="+compClientID+"&FlowUnid="+sFlowUnid+"&DISTRIBUTOR_NO="+DISTRIBUTOR_NO+"\"></iframe>", CurPage.getObjectWindowOutput());
String sButtons[][] = {};
sButtonPosition = "north";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>