'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'電動液壓切管機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'減速箱裝配圖.dwg (170KB)', click:'getBookinfo(8602657)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'帶輪(一).dwg (61KB)', click:'getBookinfo(8602658)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'帶輪(二).dwg (57KB)', click:'getBookinfo(8602659)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'機架.dwg (61KB)', click:'getBookinfo(8602660)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'液壓系統(tǒng)傳動原理圖.dwg (51KB)', click:'getBookinfo(8602661)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'液壓缸.dwg (78KB)', click:'getBookinfo(8602662)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'滾筒裝配圖.dwg (70KB)', click:'getBookinfo(8602663)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'滾筒零件圖.dwg (67KB)', click:'getBookinfo(8602664)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'電動液壓切管機裝配圖.dwg (116KB)', click:'getBookinfo(8602665)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'電動液壓切管機設(shè)計答辯稿.ppt (652KB)', click:'getBookinfo(8602666)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00011', pId:'1', name:'電動液壓切管機設(shè)計論文.doc (1161KB)', click:'getBookinfo(8602667)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'蝸桿.dwg (74KB)', click:'getBookinfo(8602668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'設(shè)計圖紙13張.dwg (398KB)', click:'getBookinfo(8602669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'軸(二).dwg (58KB)', click:'getBookinfo(8602670)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'軸(一).dwg (66KB)', click:'getBookinfo(8602671)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'電動液壓切管機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'減速箱裝配圖.dwg',url:'http://algolinternational.com/p-8602657.html', target:'_blank' },{ id:'00002', pId:'1', name:'帶輪(一).dwg',url:'http://algolinternational.com/p-8602658.html', target:'_blank' },{ id:'00003', pId:'1', name:'帶輪(二).dwg',url:'http://algolinternational.com/p-8602659.html', target:'_blank' },{ id:'00004', pId:'1', name:'機架.dwg',url:'http://algolinternational.com/p-8602660.html', target:'_blank' },{ id:'00005', pId:'1', name:'液壓系統(tǒng)傳動原理圖.dwg',url:'http://algolinternational.com/p-8602661.html', target:'_blank' },{ id:'00006', pId:'1', name:'液壓缸.dwg',url:'http://algolinternational.com/p-8602662.html', target:'_blank' },{ id:'00007', pId:'1', name:'滾筒裝配圖.dwg',url:'http://algolinternational.com/p-8602663.html', target:'_blank' },{ id:'00008', pId:'1', name:'滾筒零件圖.dwg',url:'http://algolinternational.com/p-8602664.html', target:'_blank' },{ id:'00009', pId:'1', name:'電動液壓切管機裝配圖.dwg',url:'http://algolinternational.com/p-8602665.html', target:'_blank' },{ id:'00010', pId:'1', name:'電動液壓切管機設(shè)計答辯稿.ppt',url:'http://algolinternational.com/p-8602666.html', target:'_blank' },{ id:'00011', pId:'1', name:'電動液壓切管機設(shè)計論文.doc',url:'http://algolinternational.com/p-8602667.html', target:'_blank' },{ id:'00012', pId:'1', name:'蝸桿.dwg',url:'http://algolinternational.com/p-8602668.html', target:'_blank' },{ id:'00013', pId:'1', name:'設(shè)計圖紙13張.dwg',url:'http://algolinternational.com/p-8602669.html', target:'_blank' },{ id:'00014', pId:'1', name:'軸(二).dwg',url:'http://algolinternational.com/p-8602670.html', target:'_blank' },{ id:'00015', pId:'1', name:'軸(一).dwg',url:'http://algolinternational.com/p-8602671.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 = '7960672'; 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; }); });