'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓機本體及液壓系統(tǒng)設(shè)計【優(yōu)秀論文11張cad圖紙】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'液壓機本體及液壓系統(tǒng)設(shè)計 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'1.液壓機本體及液壓系統(tǒng)設(shè)計 .pdf (1921KB)', click:'getBookinfo(8553856)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'上橫梁.dwg (97KB)', click:'getBookinfo(8553857)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'下橫梁.dwg (120KB)', click:'getBookinfo(8553858)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'外文翻譯.doc (2344KB)', click:'getBookinfo(8553859)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'導向套.dwg (70KB)', click:'getBookinfo(8553860)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'總裝.dwg (120KB)', click:'getBookinfo(8553861)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'活動橫梁.dwg (130KB)', click:'getBookinfo(8553862)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'活塞頭.dwg (75KB)', click:'getBookinfo(8553863)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'活塞桿.dwg (93KB)', click:'getBookinfo(8553864)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'液壓原理圖.dwg (73KB)', click:'getBookinfo(8553865)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'立柱.dwg (77KB)', click:'getBookinfo(8553866)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'說明書--液壓機本體及液壓系統(tǒng)設(shè)計 .txt (67KB)', click:'getBookinfo(8553867)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100013', pId:'00001', name:'頂出液壓缸缸體.dwg (91KB)', click:'getBookinfo(8553868)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'頂出缸裝配.dwg (116KB)', click:'getBookinfo(8553869)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓機本體及液壓系統(tǒng)設(shè)計【優(yōu)秀論文11張cad圖紙】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.液壓機本體及液壓系統(tǒng)設(shè)計 .pdf',url:'http://m.facezit.com/p-8553856.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'上橫梁.dwg',url:'http://m.facezit.com/p-8553857.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'下橫梁.dwg',url:'http://m.facezit.com/p-8553858.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8553859.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'導向套.dwg',url:'http://m.facezit.com/p-8553860.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'總裝.dwg',url:'http://m.facezit.com/p-8553861.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'活動橫梁.dwg',url:'http://m.facezit.com/p-8553862.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'活塞頭.dwg',url:'http://m.facezit.com/p-8553863.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'活塞桿.dwg',url:'http://m.facezit.com/p-8553864.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'液壓原理圖.dwg',url:'http://m.facezit.com/p-8553865.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'立柱.dwg',url:'http://m.facezit.com/p-8553866.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書--液壓機本體及液壓系統(tǒng)設(shè)計 .txt',url:'http://m.facezit.com/p-8553867.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'頂出液壓缸缸體.dwg',url:'http://m.facezit.com/p-8553868.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'頂出缸裝配.dwg',url:'http://m.facezit.com/p-8553869.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 = '7264808'; 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; }); });