'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'49摩擦式機械無級變速器結(jié)構(gòu)設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'49摩擦式機械無級變速器結(jié)構(gòu)設計 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'可移綴輪零件圖.bak (70KB)', },{ id:'0000100002', pId:'00001', name:'可移綴輪零件圖.dwg (70KB)', click:'getBookinfo(8398024)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'固定錐輪.bak (69KB)', },{ id:'0000100004', pId:'00001', name:'固定錐輪.dwg (68KB)', click:'getBookinfo(8398025)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'外文文獻.pdf (1554KB)', click:'getBookinfo(8398026)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100006', pId:'00001', name:'套筒.bak (70KB)', },{ id:'0000100007', pId:'00001', name:'套筒.dwg (76KB)', click:'getBookinfo(8398027)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'摩擦式無級變速器結(jié)構(gòu)設計說明書.doc (930KB)', click:'getBookinfo(8398028)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'止動銷.bak (89KB)', },{ id:'0000100010', pId:'00001', name:'止動銷.dwg (65KB)', click:'getBookinfo(8398029)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'裝配圖.dwg (348KB)', click:'getBookinfo(8398030)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'調(diào)節(jié)套.bak (261KB)', },{ id:'0000100013', pId:'00001', name:'調(diào)節(jié)套.dwg (261KB)', click:'getBookinfo(8398031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'軸.bak (87KB)', },{ id:'0000100015', pId:'00001', name:'軸.dwg (83KB)', click:'getBookinfo(8398032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'軸承套.bak (77KB)', },{ id:'0000100017', pId:'00001', name:'軸承套.dwg (80KB)', click:'getBookinfo(8398033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'鋼環(huán).bak (60KB)', },{ id:'0000100019', pId:'00001', name:'鋼環(huán).dwg (60KB)', click:'getBookinfo(8398034)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'49摩擦式機械無級變速器結(jié)構(gòu)設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'可移綴輪零件圖.dwg',url:'http://canyonlakefaqs.com/p-8398024.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'固定錐輪.dwg',url:'http://canyonlakefaqs.com/p-8398025.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'外文文獻.pdf',url:'http://canyonlakefaqs.com/p-8398026.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'套筒.dwg',url:'http://canyonlakefaqs.com/p-8398027.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'摩擦式無級變速器結(jié)構(gòu)設計說明書.doc',url:'http://canyonlakefaqs.com/p-8398028.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'止動銷.dwg',url:'http://canyonlakefaqs.com/p-8398029.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8398030.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'調(diào)節(jié)套.dwg',url:'http://canyonlakefaqs.com/p-8398031.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'軸.dwg',url:'http://canyonlakefaqs.com/p-8398032.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'軸承套.dwg',url:'http://canyonlakefaqs.com/p-8398033.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'鋼環(huán).dwg',url:'http://canyonlakefaqs.com/p-8398034.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 = '7246616'; 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; }); });