新增用于发起传统手动五级分类页面

This commit is contained in:
jianghongdong 2018-09-22 16:54:15 +08:00
parent c54ca305cf
commit 042204275c

View File

@ -0,0 +1,40 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListStart.jspf"%>
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=自定义函数;]~*/%>
<script type="text/javascript">
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
function newApply()
{
AsDialog.OpenSelector("SelectPaymentForFiveGrade","businessType,2","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
var contract_id = sReturn[0];
var project_id = sReturn[1];
var product_id = sReturn[2];
var contract_number = sReturn[3];
var payment_number = sReturn[4];
var project_name= sReturn[5];
var customer_id = sReturn[6];
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams =sParams+",ProductId="+product_id+",ProjectId="+project_id+",ContractId="+contract_id+",ProjectName="+project_name+",FlowKey="+payment_number+",PaymentNumber="+payment_number+",ContractNumber="+contract_number+",CustomerId="+customer_id;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.flow.action.comm.BaseFlowStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
var sReturnInfos=sReturnInfo.split("@");
if(sReturnInfos[0]=="success")
{
var objectNo=sReturnInfos[1];
FlowFunction.openStartFlowPage(objectNo);
}
else
{
var mes=sReturnInfos[1];
alert(mes);
}
reloadSelf();
},"请选择投放");
}
</script>
<%@ include file="/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApplyListEnd.jspf"%>