function fileDownload(id,imageDataName) {
var params ;
params = "&content=" + "id:"+id+"|imageDataName:" + imageDataName;
params = "&needcontrolprocess=taxFavInfo.downloadImageData" + params;
if (id) {
art.dialog({
title : '消息',
content: '确定要下载?',
lock : true,
ok: function () {
this.title('下载中').content('下载中...');
var url = '${contextPath}/service/template_export?random='+ Math.random() + params;
window.open(url, "_self");
return true;
},
cancel: true
});
} else {
art.dialog({
title : '消息',
content: '先查询才可以导出',
lock : true,
ok: function () {
return true;
}
});
}
}
art.dialog本页面下载对话框
最新推荐文章于 2021-06-04 23:34:52 发布