'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'電動發(fā)電機.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'Motor generator (包含37個文件)', },{ id:'0000100001', pId:'00001', name:'Component library (包含5個文件)', },{ id:'000010000100001', pId:'0000100001', name:'ru-RU (包含4個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'ISO 4762(2) (包含3個文件)', },{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'ISO 4762 - M1,6 x 2,5ISO.ipt (196KB)', },{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'ISO 4762 - M2 x 3ISO.ipt (194KB)', },{ id:'0000100001000010000100003', pId:'00001000010000100001', name:'ISO 4762 - M2 x 4ISO.ipt (191KB)', },{ id:'0000100002', pId:'00001', name:'Renderings (包含7個文件)', },{ id:'000010000200001', pId:'0000100002', name:'Motor generator1.png (715KB)', click:'getBookinfo(8558015)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'Motor generator2.png (798KB)', click:'getBookinfo(8558016)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'Motor generator3.png (893KB)', click:'getBookinfo(8558017)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'Motor generator4.png (603KB)', click:'getBookinfo(8558018)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'Motor generator5.png (802KB)', click:'getBookinfo(8558019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'Motor generator6.png (687KB)', click:'getBookinfo(8558020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'Motor generator7.png (521KB)', click:'getBookinfo(8558021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'Adapter.ipt (248KB)', },{ id:'0000100004', pId:'00001', name:'Coil.ipt (280KB)', },{ id:'0000100005', pId:'00001', name:'Coil.stp (80KB)', },{ id:'0000100006', pId:'00001', name:'ISO 4762 - M2 x 4ISO.ipt (170KB)', },{ id:'0000100007', pId:'00001', name:'Locking ring.ipt (137KB)', },{ id:'0000100008', pId:'00001', name:'Magnet.ipt (115KB)', },{ id:'0000100009', pId:'00001', name:'Magnet.stp (34KB)', },{ id:'0000100010', pId:'00001', name:'Motor generator.iam (1611KB)', },{ id:'0000100011', pId:'00001', name:'Motor generator.stp (15103KB)', },{ id:'0000100012', pId:'00001', name:'Pin.ipt (110KB)', },{ id:'0000100013', pId:'00001', name:'Pin.stp (7KB)', },{ id:'0000100014', pId:'00001', name:'Propeller Cone.ipt (331KB)', },{ id:'0000100015', pId:'00001', name:'Radial ball bearing 1.ipt (583KB)', },{ id:'0000100016', pId:'00001', name:'Radial ball bearing 2.ipt (584KB)', },{ id:'0000100017', pId:'00001', name:'Rotor.ipt (1299KB)', },{ id:'0000100018', pId:'00001', name:'Rotor.stp (1238KB)', },{ id:'0000100019', pId:'00001', name:'Shaft.ipt (121KB)', },{ id:'0000100020', pId:'00001', name:'Shaft.stp (14KB)', },{ id:'0000100021', pId:'00001', name:'Stator flange.ipt (283KB)', },{ id:'0000100022', pId:'00001', name:'Stator generator.ipt (709KB)', },{ id:'0000100023', pId:'00001', name:'Stator generator.stp (855KB)', },{ id:'0000100024', pId:'00001', name:'Stator package .ipt (8634KB)', },{ id:'0000100025', pId:'00001', name:'Stator package .stp (11429KB)', },{ id:'00002', pId:'1', name:'Motor generator.stp (15103KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'電動發(fā)電機.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'Motor generator1.png',url:'http://canyonlakefaqs.com/p-8558015.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'Motor generator2.png',url:'http://canyonlakefaqs.com/p-8558016.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'Motor generator3.png',url:'http://canyonlakefaqs.com/p-8558017.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'Motor generator4.png',url:'http://canyonlakefaqs.com/p-8558018.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'Motor generator5.png',url:'http://canyonlakefaqs.com/p-8558019.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'Motor generator6.png',url:'http://canyonlakefaqs.com/p-8558020.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'Motor generator7.png',url:'http://canyonlakefaqs.com/p-8558021.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 = '7265399'; 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; }); });