Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
chenzhi 5 years ago
commit 0649501b8a

@ -159,9 +159,10 @@
</td>
<td>
<if condition="$vo['status'] eq 0">
<a href="{:U('download/export',array('conditions'=>$vo['conditions'],'id'=>$vo['id'],'dataname'=>$vo['dataname']))}" onclick="reload()" style="cursor: pointer"
class="chakan"><span>可下载</span></a>
<form action="{:U('download/export',array('conditions'=>$vo['conditions'],'id'=>$vo['id'],'dataname'=>$vo['dataname']))}" method="post" id="downloadForm">
<a style="cursor: pointer" onclick="reload()" target="_blank"
class="chakan"><span>可下载</span></a>
</form>
<else /> <a href="javascript:;" class="current"><span style="color:#9D9D9D">已下载</span></a>
</if>
</td>
@ -261,6 +262,7 @@
</script>
<script>
function reload() {
document.getElementById('downloadForm').submit()
setTimeout(function(){ window.location.reload(); }, 7000);
}
</script>

Loading…
Cancel
Save