租后巡视

This commit is contained in:
58261 2018-09-29 16:56:12 +08:00
parent 788e721d8c
commit f3f5c1385d
3 changed files with 10 additions and 3 deletions

View File

@ -14,7 +14,7 @@
var customername=sReturn[1];
var contract_id=sReturn[2];
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams =sParams+",ProjectName=客户"+customername+"租后巡视,FlowKey="+customername+",CustomerId="+customerid+",ContractId="+contract_id;
sParams =sParams+",ProjectName=客户"+customername+"租后巡视,FlowKey="+customername+",CustomerId="+customerid+",ContractId="+contract_id+",customername="+customername;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.afterleasing.afterleasingvisit.AfterLeasingVisitStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
var sReturnInfos=sReturnInfo.split("@");

View File

@ -21,11 +21,11 @@
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function afterSearch(){
/* function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
getObj(0,i,"CONTRACT_NUMBER").innerHTML='<a class="box" onclick="javascript:showContractInfo()" style={color:#000;text-decoration:underline;}><font color="blue">'+getObj(0,i,"contract_number").innerHTML+'</font></a>';
}
}
} */
function showContractInfo(){
var sUrl = "/Tenwa/Lease/App/InformationTable/InfoView.jsp";
var contractid = getItemValue(0,getRow(0),'CONTRACT_ID');

View File

@ -10,6 +10,8 @@
String taskno=CurPage.getParameter("TaskNo");
if(taskno == null) taskno = "";
String ishistory=CurPage.getParameter("IsHistory");
String customername=CurPage.getParameter("customername");
String CustomerId=CurPage.getParameter("CustomerId");
String nodeNo=CurPage.getParameter("NodeNo");
if(ishistory == null) ishistory = "";
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
@ -29,6 +31,11 @@
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
$(function(){
var customername="<%=customername%>";
var CustomerId="<%=CustomerId%>";
setItemValue(0,0,"customername",customername);
});
function saveRecord(){
as_save("myiframe0");
}