'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計_小型挖坑機的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主動輪轂.dwg (69KB)', click:'getBookinfo(8602125)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'偏心套.dwg (73KB)', click:'getBookinfo(8602126)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'小型挖坑機的設(shè)計論文.doc (1438KB)', click:'getBookinfo(8602127)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'小型挖坑機的設(shè)計論文.pdf (5249KB)', click:'getBookinfo(8602128)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00005', pId:'1', name:'小型挖坑機設(shè)計圖11張.dwg (587KB)', click:'getBookinfo(8602129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'擺線輪.dwg (96KB)', click:'getBookinfo(8602130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'油門開關(guān).dwg (66KB)', click:'getBookinfo(8602131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'離合器.dwg (85KB)', click:'getBookinfo(8602132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'螺旋鉆頭.dwg (74KB)', click:'getBookinfo(8602133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'行星減速器.dwg (102KB)', click:'getBookinfo(8602134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'被動盤.dwg (70KB)', click:'getBookinfo(8602135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'裝配圖.dwg (135KB)', click:'getBookinfo(8602136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'輸出軸盤.dwg (66KB)', click:'getBookinfo(8602137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'閘塊.dwg (68KB)', click:'getBookinfo(8602138)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計_小型挖坑機的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'主動輪轂.dwg',url:'http://m.facezit.com/p-8602125.html', target:'_blank' },{ id:'00002', pId:'1', name:'偏心套.dwg',url:'http://m.facezit.com/p-8602126.html', target:'_blank' },{ id:'00003', pId:'1', name:'小型挖坑機的設(shè)計論文.doc',url:'http://m.facezit.com/p-8602127.html', target:'_blank' },{ id:'00004', pId:'1', name:'小型挖坑機的設(shè)計論文.pdf',url:'http://m.facezit.com/p-8602128.html', target:'_blank' },{ id:'00005', pId:'1', name:'小型挖坑機設(shè)計圖11張.dwg',url:'http://m.facezit.com/p-8602129.html', target:'_blank' },{ id:'00006', pId:'1', name:'擺線輪.dwg',url:'http://m.facezit.com/p-8602130.html', target:'_blank' },{ id:'00007', pId:'1', name:'油門開關(guān).dwg',url:'http://m.facezit.com/p-8602131.html', target:'_blank' },{ id:'00008', pId:'1', name:'離合器.dwg',url:'http://m.facezit.com/p-8602132.html', target:'_blank' },{ id:'00009', pId:'1', name:'螺旋鉆頭.dwg',url:'http://m.facezit.com/p-8602133.html', target:'_blank' },{ id:'00010', pId:'1', name:'行星減速器.dwg',url:'http://m.facezit.com/p-8602134.html', target:'_blank' },{ id:'00011', pId:'1', name:'被動盤.dwg',url:'http://m.facezit.com/p-8602135.html', target:'_blank' },{ id:'00012', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8602136.html', target:'_blank' },{ id:'00013', pId:'1', name:'輸出軸盤.dwg',url:'http://m.facezit.com/p-8602137.html', target:'_blank' },{ id:'00014', pId:'1', name:'閘塊.dwg',url:'http://m.facezit.com/p-8602138.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 = '7960631'; 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; }); });