Commit ddcc7569 authored by agping's avatar agping

商学院文件下载

parent c71f7c9c
...@@ -46,7 +46,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde ...@@ -46,7 +46,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
}); });
_doc.on('click', '.pdf-pre-a', function() { _doc.on('click', '.pdf-pre-a', function() {
var file_id = $(this).parent('li').attr('id') - 0 ; var file_id = $(this).parent('li').attr('id') - 0 ;
var _url = '/index/downloadFile'; var _url = ServerHostImageLiu+'/index/downloadFile';
window.open(_url + '?file_id=' + file_id); window.open(_url + '?file_id=' + file_id);
}); });
$("#search").click(function(){ $("#search").click(function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment