'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'solarpower【含小論文及論文參考資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1352649曾亮solarpower (包含4個文件)', },{ id:'0000100001', pId:'00001', name:'1352649曾亮solar power.pdf (926KB)', click:'getBookinfo(8297766)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'small hybrid solar power system.pdf (486KB)', click:'getBookinfo(8297767)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100003', pId:'00001', name:'太陽能發(fā)展前景及應(yīng)用研究.pdf (243KB)', click:'getBookinfo(8297768)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100004', pId:'00001', name:'我國太陽能熱水器及其在住宅建筑中的應(yīng)用.pdf (198KB)', click:'getBookinfo(8297769)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'__MACOSX (包含5個文件)', },{ id:'0000200001', pId:'00002', name:'1352649曾亮solarpower (包含4個文件)', },{ id:'000020000100001', pId:'0000200001', name:'._1352649曾亮solar power.pdf (0KB)', click:'getBookinfo(8297770)', icon:'/Images/filetype/PDF16.PNG'},{ id:'000020000100002', pId:'0000200001', name:'._small hybrid solar power system.pdf (0KB)', click:'getBookinfo(8297771)', icon:'/Images/filetype/PDF16.PNG'},{ id:'000020000100003', pId:'0000200001', name:'._太陽能發(fā)展前景及應(yīng)用研究.pdf (2KB)', click:'getBookinfo(8297772)', icon:'/Images/filetype/PDF16.PNG'},{ id:'000020000100004', pId:'0000200001', name:'._我國太陽能熱水器及其在住宅建筑中的應(yīng)用.pdf (2KB)', click:'getBookinfo(8297773)', icon:'/Images/filetype/PDF16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'solarpower【含小論文及論文參考資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1352649曾亮solar power.pdf',url:'http://m.facezit.com/p-8297766.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'small hybrid solar power system.pdf',url:'http://m.facezit.com/p-8297767.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'太陽能發(fā)展前景及應(yīng)用研究.pdf',url:'http://m.facezit.com/p-8297768.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'我國太陽能熱水器及其在住宅建筑中的應(yīng)用.pdf',url:'http://m.facezit.com/p-8297769.html', target:'_blank' },{ id:'000020000100001', pId:'0000200001', name:'._1352649曾亮solar power.pdf',url:'http://m.facezit.com/p-8297770.html', target:'_blank' },{ id:'000020000100002', pId:'0000200001', name:'._small hybrid solar power system.pdf',url:'http://m.facezit.com/p-8297771.html', target:'_blank' },{ id:'000020000100003', pId:'0000200001', name:'._太陽能發(fā)展前景及應(yīng)用研究.pdf',url:'http://m.facezit.com/p-8297772.html', target:'_blank' },{ id:'000020000100004', pId:'0000200001', name:'._我國太陽能熱水器及其在住宅建筑中的應(yīng)用.pdf',url:'http://m.facezit.com/p-8297773.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '6694182'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });