'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'齒輪齒條轉向器課程設計cad圖論文.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'圖 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'wei.pdf (651KB)', click:'getBookinfo(8368510)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'一級部裝1.dwg (327KB)', click:'getBookinfo(8368511)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'一級部裝2.dwg (78KB)', click:'getBookinfo(8368512)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'專屬汽車的生產(chǎn)的發(fā)展的遠景在拉脫維亞.doc (27KB)', click:'getBookinfo(8368513)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'墊片.dwg (54KB)', click:'getBookinfo(8368514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'殼體.dwg (211KB)', click:'getBookinfo(8368515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'開題報告(帶表).doc (60KB)', click:'getBookinfo(8368516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'彈簧.dwg (43KB)', click:'getBookinfo(8368517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'總裝圖.dwg (101KB)', click:'getBookinfo(8368518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'文獻綜述.doc (33KB)', click:'getBookinfo(8368519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'閥體.dwg (64KB)', click:'getBookinfo(8368520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'魏儉論文(成型).doc (745KB)', click:'getBookinfo(8368521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'齒條.dwg (39KB)', click:'getBookinfo(8368522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'齒輪軸.dwg (39KB)', click:'getBookinfo(8368523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'論文 (包含6個文件)', },{ id:'0000200001', pId:'00002', name:'wei.pdf (651KB)', click:'getBookinfo(8368524)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000200002', pId:'00002', name:'~WRL0002.tmp (737KB)', },{ id:'0000200003', pId:'00002', name:'專屬汽車的生產(chǎn)的發(fā)展的遠景在拉脫維亞.doc (27KB)', click:'getBookinfo(8368525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200004', pId:'00002', name:'開題報告(帶表).doc (25KB)', click:'getBookinfo(8368526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200005', pId:'00002', name:'文獻綜述.doc (33KB)', click:'getBookinfo(8368527)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000200006', pId:'00002', name:'(成型).doc (695KB)', click:'getBookinfo(8368528)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'齒輪齒條轉向器課程設計cad圖論文.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'wei.pdf',url:'http://m.facezit.com/p-8368510.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'一級部裝1.dwg',url:'http://m.facezit.com/p-8368511.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'一級部裝2.dwg',url:'http://m.facezit.com/p-8368512.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'專屬汽車的生產(chǎn)的發(fā)展的遠景在拉脫維亞.doc',url:'http://m.facezit.com/p-8368513.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'墊片.dwg',url:'http://m.facezit.com/p-8368514.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'殼體.dwg',url:'http://m.facezit.com/p-8368515.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'開題報告(帶表).doc',url:'http://m.facezit.com/p-8368516.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'彈簧.dwg',url:'http://m.facezit.com/p-8368517.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'總裝圖.dwg',url:'http://m.facezit.com/p-8368518.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8368519.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'閥體.dwg',url:'http://m.facezit.com/p-8368520.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'魏儉論文(成型).doc',url:'http://m.facezit.com/p-8368521.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'齒條.dwg',url:'http://m.facezit.com/p-8368522.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'齒輪軸.dwg',url:'http://m.facezit.com/p-8368523.html', target:'_blank' },{ id:'0000200001', pId:'00002', name:'wei.pdf',url:'http://m.facezit.com/p-8368524.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'專屬汽車的生產(chǎn)的發(fā)展的遠景在拉脫維亞.doc',url:'http://m.facezit.com/p-8368525.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'開題報告(帶表).doc',url:'http://m.facezit.com/p-8368526.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8368527.html', target:'_blank' },{ id:'0000200006', pId:'00002', name:'(成型).doc',url:'http://m.facezit.com/p-8368528.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 = '6908588'; 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; }); });