'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'wj033小型切骨機的機械設計【三維ug】原創(chuàng)設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'小型切骨機的機械設計 (包含55個文件)', },{ id:'0000100001', pId:'00001', name:'三維UG (包含40個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1112300.prt (148KB)', },{ id:'000010000100002', pId:'0000100001', name:'180909.prt (128KB)', },{ id:'000010000100003', pId:'0000100001', name:'63_C_Screw_HI.prt (188KB)', },{ id:'000010000100004', pId:'0000100001', name:'CH 2.2KW.prt (360KB)', },{ id:'000010000100005', pId:'0000100001', name:'circlips for hole--type b gb_GB_CONNECTING_PIECE_RINGS_CHB 42.prt (112KB)', },{ id:'000010000100006', pId:'0000100001', name:'circlips for shaft--type a large gb_GB_CONNECTING_PIECE_RING_RRA 20.prt (120KB)', },{ id:'000010000100007', pId:'0000100001', name:'dadailun.prt (192KB)', },{ id:'000010000100008', pId:'0000100001', name:'dailun11.prt (152KB)', },{ id:'000010000100009', pId:'0000100001', name:'deep groove ball bearings gb_Rolling bearings 16004 GB 276-94.prt (392KB)', },{ id:'000010000100010', pId:'0000100001', name:'M12X100L.prt (360KB)', },{ id:'000010000100011', pId:'0000100001', name:'NONE102804.prt (112KB)', },{ id:'000010000100012', pId:'0000100001', name:'NONE106825.prt (132KB)', },{ id:'000010000100013', pId:'0000100001', name:'NONE108274.prt (140KB)', },{ id:'000010000100014', pId:'0000100001', name:'NONE110891.prt (104KB)', },{ id:'000010000100015', pId:'0000100001', name:'NONE15279.prt (88KB)', },{ id:'000010000100016', pId:'0000100001', name:'NONE2873.prt (124KB)', },{ id:'000010000100017', pId:'0000100001', name:'NONE28939.prt (168KB)', },{ id:'000010000100018', pId:'0000100001', name:'NONE39885.prt (100KB)', },{ id:'000010000100019', pId:'0000100001', name:'NONE45319.prt (124KB)', },{ id:'000010000100020', pId:'0000100001', name:'NONE49401.prt (124KB)', },{ id:'000010000100021', pId:'0000100001', name:'NONE54872.prt (132KB)', },{ id:'000010000100022', pId:'0000100001', name:'NONE56331.prt (84KB)', },{ id:'000010000100023', pId:'0000100001', name:'NONE69932.prt (104KB)', },{ id:'000010000100024', pId:'0000100001', name:'NONE82348.prt (88KB)', },{ id:'000010000100025', pId:'0000100001', name:'NONE8386.prt (168KB)', },{ id:'000010000100026', pId:'0000100001', name:'NONE91919.prt (128KB)', },{ id:'000010000100027', pId:'0000100001', name:'NONE95911.prt (116KB)', },{ id:'000010000100028', pId:'0000100001', name:'Outer_ring_gear_1_HI.prt (172KB)', },{ id:'000010000100029', pId:'0000100001', name:'pidai1.prt (104KB)', },{ id:'000010000100030', pId:'0000100001', name:'pingban.prt (124KB)', },{ id:'000010000100031', pId:'0000100001', name:'qieguji.log (55KB)', },{ id:'000010000100032', pId:'0000100001', name:'qieguji.STP (9882KB)', },{ id:'000010000100033', pId:'0000100001', name:'qieguji_stp.prt (164KB)', },{ id:'000010000100034', pId:'0000100001', name:'SU 40-63-0 Pole_HI.prt (424KB)', },{ id:'000010000100035', pId:'0000100001', name:'SU-63 Nut Piston Rod_HI.prt (124KB)', },{ id:'000010000100036', pId:'0000100001', name:'SU-63x40(0-0-0)_HI.prt (96KB)', },{ id:'000010000100037', pId:'0000100001', name:'SU-63x40-P (0-00) Cylinder_HI.prt (624KB)', },{ id:'000010000100038', pId:'0000100001', name:'SU632_HI.prt (116KB)', },{ id:'000010000100039', pId:'0000100001', name:'_Default__.prt (524KB)', },{ id:'000010000100040', pId:'0000100001', name:'_UCP2_Z-UCP212D1.prt (1360KB)', },{ id:'0000100002', pId:'00001', name:'中英文翻譯文獻.doc (350KB)', click:'getBookinfo(8435372)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'主軸.DWG (119KB)', click:'getBookinfo(8435373)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'從軸.DWG (95KB)', click:'getBookinfo(8435374)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'任務書(任頎).docx (18KB)', click:'getBookinfo(8435375)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'壓板.DWG (76KB)', click:'getBookinfo(8435376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'帶輪1.dwg (56KB)', click:'getBookinfo(8435377)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'帶輪2.dwg (62KB)', click:'getBookinfo(8435378)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'支架.DWG (114KB)', click:'getBookinfo(8435379)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'混筒.DWG (68KB)', click:'getBookinfo(8435380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'滾輪.DWG (68KB)', click:'getBookinfo(8435381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'論文.doc (3899KB)', click:'getBookinfo(8435382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'軸.DWG (86KB)', click:'getBookinfo(8435383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'銷1.DWG (87KB)', click:'getBookinfo(8435384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'!!總裝配圖.dwg (321KB)', click:'getBookinfo(8435385)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'wj033小型切骨機的機械設計【三維ug】原創(chuàng)設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'中英文翻譯文獻.doc',url:'http://m.facezit.com/p-8435372.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'主軸.DWG',url:'http://m.facezit.com/p-8435373.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'從軸.DWG',url:'http://m.facezit.com/p-8435374.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'任務書(任頎).docx',url:'http://m.facezit.com/p-8435375.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'壓板.DWG',url:'http://m.facezit.com/p-8435376.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'帶輪1.dwg',url:'http://m.facezit.com/p-8435377.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'帶輪2.dwg',url:'http://m.facezit.com/p-8435378.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'支架.DWG',url:'http://m.facezit.com/p-8435379.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'混筒.DWG',url:'http://m.facezit.com/p-8435380.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'滾輪.DWG',url:'http://m.facezit.com/p-8435381.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'論文.doc',url:'http://m.facezit.com/p-8435382.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'軸.DWG',url:'http://m.facezit.com/p-8435383.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'銷1.DWG',url:'http://m.facezit.com/p-8435384.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'!!總裝配圖.dwg',url:'http://m.facezit.com/p-8435385.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 = '7250498'; 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; }); });