'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'1339irobotroomba掃地機器人的設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'112 (包含84個文件)', },{ id:'0000100001', pId:'00001', name:'3d (包含68個文件)', },{ id:'000010000100001', pId:'0000100001', name:'105601-upper-housing.prt.2 (2364KB)', },{ id:'000010000100002', pId:'0000100001', name:'105602-lower-housing.prt.2 (1686KB)', },{ id:'000010000100003', pId:'0000100001', name:'105603-upper-housing-cover.prt.2 (3761KB)', },{ id:'000010000100004', pId:'0000100001', name:'105604-handle.prt.2 (2163KB)', },{ id:'000010000100005', pId:'0000100001', name:'105605-battery-housing.prt.2 (278KB)', },{ id:'000010000100006', pId:'0000100001', name:'105606-driver_wheel_hub-l.prt.2 (742KB)', },{ id:'000010000100007', pId:'0000100001', name:'105607-driver_wheel-tyre-l.prt.2 (1569KB)', },{ id:'000010000100008', pId:'0000100001', name:'105608-wheel-bracket.prt.2 (2256KB)', },{ id:'000010000100009', pId:'0000100001', name:'105609-gear-box-upper.prt.2 (1415KB)', },{ id:'000010000100010', pId:'0000100001', name:'105609-gear-box-upper.prt.3 (1582KB)', },{ id:'000010000100011', pId:'0000100001', name:'105610-gear-box-lower.prt.2 (1728KB)', },{ id:'000010000100012', pId:'0000100001', name:'105611-battery-cover-a.prt.2 (415KB)', },{ id:'000010000100013', pId:'0000100001', name:'105612-battery-cover-b.prt.2 (449KB)', },{ id:'000010000100014', pId:'0000100001', name:'105613-caster-wheel-housing.prt.2 (3069KB)', },{ id:'000010000100015', pId:'0000100001', name:'105614-caster-wheel-cover.prt.2 (1782KB)', },{ id:'000010000100016', pId:'0000100001', name:'105615-soft-base-ring.prt.2 (1277KB)', },{ id:'000010000100017', pId:'0000100001', name:'105616-soft-base-bottom-cover.prt.2 (1896KB)', },{ id:'000010000100018', pId:'0000100001', name:'105617-coupler.prt.2 (380KB)', },{ id:'000010000100019', pId:'0000100001', name:'105618-coupler-shaft.prt.2 (238KB)', },{ id:'000010000100020', pId:'0000100001', name:'105619-button-r.prt.2 (526KB)', },{ id:'000010000100021', pId:'0000100001', name:'105620-button-l.prt.2 (536KB)', },{ id:'000010000100022', pId:'0000100001', name:'105621-driver-wheel-hub-r.prt.2 (736KB)', },{ id:'000010000100023', pId:'0000100001', name:'105622-driver-wheel-ldpe.prt.2 (1696KB)', },{ id:'000010000100024', pId:'0000100001', name:'105631.prt.2 (14062KB)', },{ id:'000010000100025', pId:'0000100001', name:'105632.prt.2 (1767KB)', },{ id:'000010000100026', pId:'0000100001', name:'105633-gear3.prt.2 (3835KB)', },{ id:'000010000100027', pId:'0000100001', name:'105634.prt.2 (1233KB)', },{ id:'000010000100028', pId:'0000100001', name:'105635-gear-5.prt.2 (323KB)', },{ id:'000010000100029', pId:'0000100001', name:'105638-soft-base.prt.2 (51817KB)', },{ id:'000010000100030', pId:'0000100001', name:'105639-new.prt.2 (229KB)', },{ id:'000010000100031', pId:'0000100001', name:'105640-led-pole.prt.2 (60KB)', },{ id:'000010000100032', pId:'0000100001', name:'105641-wheel-shaft.prt.2 (793KB)', },{ id:'000010000100033', pId:'0000100001', name:'105642-shaft-a.prt.2 (113KB)', },{ id:'000010000100034', pId:'0000100001', name:'105643-shaft-b.prt.2 (994KB)', },{ id:'000010000100035', pId:'0000100001', name:'105644-spring.prt.2 (545KB)', },{ id:'000010000100036', pId:'0000100001', name:'all.asm.2 (707KB)', },{ id:'000010000100037', pId:'0000100001', name:'all.asm.3 (725KB)', },{ id:'000010000100038', pId:'0000100001', name:'all.asm.4 (698KB)', },{ id:'000010000100039', pId:'0000100001', name:'all.asm.5 (740KB)', },{ id:'000010000100040', pId:'0000100001', name:'AnalysisDefinition1.pbk (437KB)', },{ id:'000010000100041', pId:'0000100001', name:'button-double.asm.2 (63KB)', },{ id:'000010000100042', pId:'0000100001', name:'charger.prt.2 (1077KB)', },{ id:'000010000100043', pId:'0000100001', name:'cjp-pj2155a.prt.2 (352KB)', },{ id:'000010000100044', pId:'0000100001', name:'cloth.asm.2 (133KB)', },{ id:'000010000100045', pId:'0000100001', name:'driver-wheel-ldpe.asm.2 (84KB)', },{ id:'000010000100046', pId:'0000100001', name:'driver-wheel-ldpe.asm.3 (78KB)', },{ id:'000010000100047', pId:'0000100001', name:'driver-wheel.asm.2 (135KB)', },{ id:'000010000100048', pId:'0000100001', name:'driver_wheel.asm.2 (106KB)', },{ id:'000010000100049', pId:'0000100001', name:'driver_wheel.asm.3 (77KB)', },{ id:'000010000100050', pId:'0000100001', name:'driver_wheel.asm.4 (93KB)', },{ id:'000010000100051', pId:'0000100001', name:'ebt-m10aax1bpi.prt.2 (90KB)', },{ id:'000010000100052', pId:'0000100001', name:'gear-box.asm.2 (289KB)', },{ id:'000010000100053', pId:'0000100001', name:'gear-box.asm.3 (292KB)', },{ id:'000010000100054', pId:'0000100001', name:'gear-box.asm.4 (230KB)', },{ id:'000010000100055', pId:'0000100001', name:'motor-0622.asm.2 (98KB)', },{ id:'000010000100056', pId:'0000100001', name:'motor-0622.asm.3 (99KB)', },{ id:'000010000100057', pId:'0000100001', name:'motor-0622.asm.4 (101KB)', },{ id:'000010000100058', pId:'0000100001', name:'motor.prt.2 (375KB)', },{ id:'000010000100059', pId:'0000100001', name:'mss-b30e10bt1a.prt.2 (393KB)', },{ id:'000010000100060', pId:'0000100001', name:'push_washer.prt.2 (261KB)', },{ id:'000010000100061', pId:'0000100001', name:'screw30x10.prt.2 (321KB)', },{ id:'000010000100062', pId:'0000100001', name:'screw30x6.prt.2 (277KB)', },{ id:'000010000100063', pId:'0000100001', name:'ship.mpg (3812KB)', },{ id:'000010000100064', pId:'0000100001', name:'sld-3d2.prt.2 (164KB)', },{ id:'000010000100065', pId:'0000100001', name:'sp1.mpg (4793KB)', },{ id:'000010000100066', pId:'0000100001', name:'sp2.mpg (4659KB)', },{ id:'000010000100067', pId:'0000100001', name:'upper-housing.asm.2 (197KB)', },{ id:'000010000100068', pId:'0000100001', name:'upper-housing.asm.3 (197KB)', },{ id:'0000100002', pId:'00001', name:'CAD圖紙 (包含8個文件)', },{ id:'000010000200001', pId:'0000100002', name:'1-裝配圖-A3.dwg (200KB)', click:'getBookinfo(8252532)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'2-傳動箱底座-A4.dwg (101KB)', click:'getBookinfo(8252533)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'3-蝸桿-A3.dwg (103KB)', click:'getBookinfo(8252534)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'4-清掃軸-零件圖A3.dwg (62KB)', click:'getBookinfo(8252535)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'5-渦輪-零件圖-A3.dwg (111KB)', click:'getBookinfo(8252536)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'QQ截圖20150528165627.png (42KB)', click:'getBookinfo(8252537)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'QQ截圖20150528165745.png (90KB)', click:'getBookinfo(8252538)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'QQ截圖20150528165830.png (110KB)', click:'getBookinfo(8252539)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'視頻 (包含3個文件)', },{ id:'000010000300001', pId:'0000100003', name:'ship.mpg (3812KB)', },{ id:'000010000300002', pId:'0000100003', name:'sp1.mpg (4793KB)', },{ id:'000010000300003', pId:'0000100003', name:'sp2.mpg (4659KB)', },{ id:'0000100004', pId:'00001', name:'~$論文.docx (0KB)', click:'getBookinfo(8252540)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'論文.docx (2265KB)', click:'getBookinfo(8252541)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'1339irobotroomba掃地機器人的設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'1-裝配圖-A3.dwg',url:'http://m.facezit.com/p-8252532.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'2-傳動箱底座-A4.dwg',url:'http://m.facezit.com/p-8252533.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'3-蝸桿-A3.dwg',url:'http://m.facezit.com/p-8252534.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'4-清掃軸-零件圖A3.dwg',url:'http://m.facezit.com/p-8252535.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'5-渦輪-零件圖-A3.dwg',url:'http://m.facezit.com/p-8252536.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'QQ截圖20150528165627.png',url:'http://m.facezit.com/p-8252537.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'QQ截圖20150528165745.png',url:'http://m.facezit.com/p-8252538.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'QQ截圖20150528165830.png',url:'http://m.facezit.com/p-8252539.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'~$論文.docx',url:'http://m.facezit.com/p-8252540.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'論文.docx',url:'http://m.facezit.com/p-8252541.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 = '6332160'; 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; }); });