1.文件拷贝异步提交。

This commit is contained in:
zhangbb 2019-05-06 16:16:23 +08:00
parent 790c5131d7
commit 406a980096
2 changed files with 9 additions and 3 deletions

View File

@ -13,3 +13,4 @@
out.print(result);
%><%@ include file="/IncludeEndAJAX.jsp"%>

View File

@ -39,7 +39,6 @@
<input id="sqlString" name="sqlString" value="">
</div>
</form>
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%>
<script type="text/javascript">
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
@ -49,7 +48,13 @@
var contractNos = contractNoArray.join("@");
var sUrl = "/Tenwa/Core/FlowManager/CopyFileToOther.jsp";
var param = "contractNos="+contractNos;
AsControl.RunJsp(sUrl,param);
AsControl.RunJsp(sUrl,param,function(result){
if(result=="SUCCESS"){
}
alert("拷贝成功!!");
});
//本地测试数据
//var contractNos="BQAP(AH)201904230002";
/* var sparam = "contractNos="+contractNos;
@ -117,7 +122,7 @@
}
function viewAndEdit(){
debugger;
var sUrl = "/Tenwa/Lease/Flow/Comm/LBAssetTransferRegistration/FileDownloadImportInfo.jsp";
var sPara = getItemValue(0,getRow(0),'ID');
if(typeof(sPara)=="undefined" || sPara.length==0 ){