'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'花生剝殼去殼機設(shè)計【三維proe】【10張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三維proe5.0全套.rar (50920KB)', click:'getBookinfo(8337050)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'上剝殼箱.dwg (59KB)', click:'getBookinfo(8337051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'下剝殼箱.dwg (61KB)', click:'getBookinfo(8337052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'刮板.dwg (119KB)', click:'getBookinfo(8337053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'刮板軸零件圖.dwg (60KB)', click:'getBookinfo(8337054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'半柵籠零件圖.dwg (63KB)', click:'getBookinfo(8337055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外文翻譯.doc (702KB)', click:'getBookinfo(8337056)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'小帶輪零件圖.dwg (62KB)', click:'getBookinfo(8337057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'開題報告.doc (46KB)', click:'getBookinfo(8337058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'總裝配圖.dwg (911KB)', click:'getBookinfo(8337059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'支架.dwg (54KB)', click:'getBookinfo(8337060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'文獻綜述.doc (31KB)', click:'getBookinfo(8337061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'曲柄軸.dwg (65KB)', click:'getBookinfo(8337062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'答辯PPT.ppt (1520KB)', click:'getBookinfo(8337063)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00015', pId:'1', name:'花生剝殼去殼機設(shè)計.doc (2753KB)', click:'getBookinfo(8337064)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'設(shè)計任務(wù)書.doc (34KB)', click:'getBookinfo(8337065)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'設(shè)計說明書.doc (2362KB)', click:'getBookinfo(8337066)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'連桿.dwg (98KB)', click:'getBookinfo(8337067)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'花生剝殼去殼機設(shè)計【三維proe】【10張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三維proe5.0全套.rar',url:'http://facezit.com/p-8337050.html', target:'_blank' },{ id:'00002', pId:'1', name:'上剝殼箱.dwg',url:'http://facezit.com/p-8337051.html', target:'_blank' },{ id:'00003', pId:'1', name:'下剝殼箱.dwg',url:'http://facezit.com/p-8337052.html', target:'_blank' },{ id:'00004', pId:'1', name:'刮板.dwg',url:'http://facezit.com/p-8337053.html', target:'_blank' },{ id:'00005', pId:'1', name:'刮板軸零件圖.dwg',url:'http://facezit.com/p-8337054.html', target:'_blank' },{ id:'00006', pId:'1', name:'半柵籠零件圖.dwg',url:'http://facezit.com/p-8337055.html', target:'_blank' },{ id:'00007', pId:'1', name:'外文翻譯.doc',url:'http://facezit.com/p-8337056.html', target:'_blank' },{ id:'00008', pId:'1', name:'小帶輪零件圖.dwg',url:'http://facezit.com/p-8337057.html', target:'_blank' },{ id:'00009', pId:'1', name:'開題報告.doc',url:'http://facezit.com/p-8337058.html', target:'_blank' },{ id:'00010', pId:'1', name:'總裝配圖.dwg',url:'http://facezit.com/p-8337059.html', target:'_blank' },{ id:'00011', pId:'1', name:'支架.dwg',url:'http://facezit.com/p-8337060.html', target:'_blank' },{ id:'00012', pId:'1', name:'文獻綜述.doc',url:'http://facezit.com/p-8337061.html', target:'_blank' },{ id:'00013', pId:'1', name:'曲柄軸.dwg',url:'http://facezit.com/p-8337062.html', target:'_blank' },{ id:'00014', pId:'1', name:'答辯PPT.ppt',url:'http://facezit.com/p-8337063.html', target:'_blank' },{ id:'00015', pId:'1', name:'花生剝殼去殼機設(shè)計.doc',url:'http://facezit.com/p-8337064.html', target:'_blank' },{ id:'00016', pId:'1', name:'設(shè)計任務(wù)書.doc',url:'http://facezit.com/p-8337065.html', target:'_blank' },{ id:'00017', pId:'1', name:'設(shè)計說明書.doc',url:'http://facezit.com/p-8337066.html', target:'_blank' },{ id:'00018', pId:'1', name:'連桿.dwg',url:'http://facezit.com/p-8337067.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 = '6792934'; 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; }); });