**//页面调用的方法**
exportData: function () {
**// 开启加载等待(项目中自定义插件,可删除)**
CommonUtils.loading("正在处理数据,请稍候...");
//访问下载接口
var url = "${ctx}/ContractSettleController/exportOuptItemList?sql_id=select_contract_list" ;
var params = {"param":44}; //可设置参数
var form = document.createElement("form");
form.style.display = 'none';
form.action = url;
form.method = "post";
document.body.appendChild(form);
for(var key in params){
var input = document.createElement("input");
input.type = "hidden";
input.name = key;
input.value = params[key];
form.appendChild(input);
}
form.submit();
**// 关闭加载 项目中自定义插件,可删除)**
CommonUtils.closeTip( );
}
//服务器代理片段