'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'irobotroomba掃地機器人的設(shè)計全套含cad圖紙及三維模型.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3D-model (包含68個文件)', },{ id:'0000100001', pId:'00001', name:'105601-upper-housing.prt.2 (2364KB)', },{ id:'0000100002', pId:'00001', name:'105602-lower-housing.prt.2 (1686KB)', },{ id:'0000100003', pId:'00001', name:'105603-upper-housing-cover.prt.2 (3761KB)', },{ id:'0000100004', pId:'00001', name:'105604-handle.prt.2 (2163KB)', },{ id:'0000100005', pId:'00001', name:'105605-battery-housing.prt.2 (278KB)', },{ id:'0000100006', pId:'00001', name:'105606-driver_wheel_hub-l.prt.2 (742KB)', },{ id:'0000100007', pId:'00001', name:'105607-driver_wheel-tyre-l.prt.2 (1569KB)', },{ id:'0000100008', pId:'00001', name:'105608-wheel-bracket.prt.2 (2256KB)', },{ id:'0000100009', pId:'00001', name:'105609-gear-box-upper.prt.2 (1415KB)', },{ id:'0000100010', pId:'00001', name:'105609-gear-box-upper.prt.3 (1582KB)', },{ id:'0000100011', pId:'00001', name:'105610-gear-box-lower.prt.2 (1728KB)', },{ id:'0000100012', pId:'00001', name:'105611-battery-cover-a.prt.2 (415KB)', },{ id:'0000100013', pId:'00001', name:'105612-battery-cover-b.prt.2 (449KB)', },{ id:'0000100014', pId:'00001', name:'105613-caster-wheel-housing.prt.2 (3069KB)', },{ id:'0000100015', pId:'00001', name:'105614-caster-wheel-cover.prt.2 (1782KB)', },{ id:'0000100016', pId:'00001', name:'105615-soft-base-ring.prt.2 (1277KB)', },{ id:'0000100017', pId:'00001', name:'105616-soft-base-bottom-cover.prt.2 (1896KB)', },{ id:'0000100018', pId:'00001', name:'105617-coupler.prt.2 (380KB)', },{ id:'0000100019', pId:'00001', name:'105618-coupler-shaft.prt.2 (238KB)', },{ id:'0000100020', pId:'00001', name:'105619-button-r.prt.2 (526KB)', },{ id:'0000100021', pId:'00001', name:'105620-button-l.prt.2 (536KB)', },{ id:'0000100022', pId:'00001', name:'105621-driver-wheel-hub-r.prt.2 (736KB)', },{ id:'0000100023', pId:'00001', name:'105622-driver-wheel-ldpe.prt.2 (1696KB)', },{ id:'0000100024', pId:'00001', name:'105631.prt.2 (14062KB)', },{ id:'0000100025', pId:'00001', name:'105632.prt.2 (1767KB)', },{ id:'0000100026', pId:'00001', name:'105633-gear3.prt.2 (3835KB)', },{ id:'0000100027', pId:'00001', name:'105634.prt.2 (1233KB)', },{ id:'0000100028', pId:'00001', name:'105635-gear-5.prt.2 (323KB)', },{ id:'0000100029', pId:'00001', name:'105638-soft-base.prt.2 (51817KB)', },{ id:'0000100030', pId:'00001', name:'105639-new.prt.2 (229KB)', },{ id:'0000100031', pId:'00001', name:'105640-led-pole.prt.2 (60KB)', },{ id:'0000100032', pId:'00001', name:'105641-wheel-shaft.prt.2 (793KB)', },{ id:'0000100033', pId:'00001', name:'105642-shaft-a.prt.2 (113KB)', },{ id:'0000100034', pId:'00001', name:'105643-shaft-b.prt.2 (994KB)', },{ id:'0000100035', pId:'00001', name:'105644-spring.prt.2 (545KB)', },{ id:'0000100036', pId:'00001', name:'all.asm.2 (707KB)', },{ id:'0000100037', pId:'00001', name:'all.asm.3 (725KB)', },{ id:'0000100038', pId:'00001', name:'all.asm.4 (698KB)', },{ id:'0000100039', pId:'00001', name:'all.asm.5 (740KB)', },{ id:'0000100040', pId:'00001', name:'AnalysisDefinition1.pbk (437KB)', },{ id:'0000100041', pId:'00001', name:'button-double.asm.2 (63KB)', },{ id:'0000100042', pId:'00001', name:'charger.prt.2 (1077KB)', },{ id:'0000100043', pId:'00001', name:'cjp-pj2155a.prt.2 (352KB)', },{ id:'0000100044', pId:'00001', name:'cloth.asm.2 (133KB)', },{ id:'0000100045', pId:'00001', name:'driver-wheel-ldpe.asm.2 (84KB)', },{ id:'0000100046', pId:'00001', name:'driver-wheel-ldpe.asm.3 (78KB)', },{ id:'0000100047', pId:'00001', name:'driver-wheel.asm.2 (135KB)', },{ id:'0000100048', pId:'00001', name:'driver_wheel.asm.2 (106KB)', },{ id:'0000100049', pId:'00001', name:'driver_wheel.asm.3 (77KB)', },{ id:'0000100050', pId:'00001', name:'driver_wheel.asm.4 (93KB)', },{ id:'0000100051', pId:'00001', name:'ebt-m10aax1bpi.prt.2 (90KB)', },{ id:'0000100052', pId:'00001', name:'gear-box.asm.2 (289KB)', },{ id:'0000100053', pId:'00001', name:'gear-box.asm.3 (292KB)', },{ id:'0000100054', pId:'00001', name:'gear-box.asm.4 (230KB)', },{ id:'0000100055', pId:'00001', name:'motor-0622.asm.2 (98KB)', },{ id:'0000100056', pId:'00001', name:'motor-0622.asm.3 (99KB)', },{ id:'0000100057', pId:'00001', name:'motor-0622.asm.4 (101KB)', },{ id:'0000100058', pId:'00001', name:'motor.prt.2 (375KB)', },{ id:'0000100059', pId:'00001', name:'mss-b30e10bt1a.prt.2 (393KB)', },{ id:'0000100060', pId:'00001', name:'push_washer.prt.2 (261KB)', },{ id:'0000100061', pId:'00001', name:'screw30x10.prt.2 (321KB)', },{ id:'0000100062', pId:'00001', name:'screw30x6.prt.2 (277KB)', },{ id:'0000100063', pId:'00001', name:'ship.mpg (3812KB)', },{ id:'0000100064', pId:'00001', name:'sld-3d2.prt.2 (164KB)', },{ id:'0000100065', pId:'00001', name:'sp1.mpg (4793KB)', },{ id:'0000100066', pId:'00001', name:'sp2.mpg (4659KB)', },{ id:'0000100067', pId:'00001', name:'upper-housing.asm.2 (197KB)', },{ id:'0000100068', pId:'00001', name:'upper-housing.asm.3 (197KB)', },{ id:'00002', pId:'1', name:'仿真視頻 (包含3個文件)', },{ id:'0000200001', pId:'00002', name:'ship.mpg (3812KB)', },{ id:'0000200002', pId:'00002', name:'sp1.mpg (4793KB)', },{ id:'0000200003', pId:'00002', name:'sp2.mpg (4659KB)', },{ id:'00003', pId:'1', name:'iRobotRoomba掃地機器人的設(shè)計.doc (2889KB)', click:'getBookinfo(8327458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'傳動箱底座-A4.dwg (98KB)', click:'getBookinfo(8327459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'渦輪-A3.dwg (107KB)', click:'getBookinfo(8327460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'清掃軸-A3.dwg (75KB)', click:'getBookinfo(8327461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'蝸桿-A3.dwg (88KB)', click:'getBookinfo(8327462)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'裝配圖-A3.dwg (200KB)', click:'getBookinfo(8327463)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'設(shè)計說明書(論文).doc (2388KB)', click:'getBookinfo(8327464)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'irobotroomba掃地機器人的設(shè)計全套含cad圖紙及三維模型.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'iRobotRoomba掃地機器人的設(shè)計.doc',url:'http://m.facezit.com/p-8327458.html', target:'_blank' },{ id:'00004', pId:'1', name:'傳動箱底座-A4.dwg',url:'http://m.facezit.com/p-8327459.html', target:'_blank' },{ id:'00005', pId:'1', name:'渦輪-A3.dwg',url:'http://m.facezit.com/p-8327460.html', target:'_blank' },{ id:'00006', pId:'1', name:'清掃軸-A3.dwg',url:'http://m.facezit.com/p-8327461.html', target:'_blank' },{ id:'00007', pId:'1', name:'蝸桿-A3.dwg',url:'http://m.facezit.com/p-8327462.html', target:'_blank' },{ id:'00008', pId:'1', name:'裝配圖-A3.dwg',url:'http://m.facezit.com/p-8327463.html', target:'_blank' },{ id:'00009', pId:'1', name:'設(shè)計說明書(論文).doc',url:'http://m.facezit.com/p-8327464.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 = '6791319'; 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; }); });