'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'蒸汽機(jī).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'Motor a vapor (包含52個文件)', },{ id:'0000100001', pId:'00001', name:'1.png (275KB)', click:'getBookinfo(8569057)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'2.png (655KB)', click:'getBookinfo(8569058)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'3.png (1008KB)', click:'getBookinfo(8569059)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'Alavanca caixa de reversão.SLDPRT (97KB)', },{ id:'0000100005', pId:'00001', name:'Anel para caixa de reversão.SLDPRT (67KB)', },{ id:'0000100006', pId:'00001', name:'ASsteam.jpg (38KB)', click:'getBookinfo(8569060)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'Base da camisa.SLDPRT (764KB)', },{ id:'0000100008', pId:'00001', name:'Base Mancal Haste.SLDPRT (61KB)', },{ id:'0000100009', pId:'00001', name:'Biela da Alavanca.SLDPRT (71KB)', },{ id:'0000100010', pId:'00001', name:'Bloco deslizante.SLDPRT (1055KB)', },{ id:'0000100011', pId:'00001', name:'Bloco do Motor.SLDPRT (2486KB)', },{ id:'0000100012', pId:'00001', name:'Cabeça da Haste.SLDPRT (107KB)', },{ id:'0000100013', pId:'00001', name:'Cabeçote do motor.SLDPRT (802KB)', },{ id:'0000100014', pId:'00001', name:'Caixa de reversão 1.SLDPRT (1087KB)', },{ id:'0000100015', pId:'00001', name:'Caixa de reversão 2.SLDPRT (1090KB)', },{ id:'0000100016', pId:'00001', name:'Caixa de valvula.SLDPRT (145KB)', },{ id:'0000100017', pId:'00001', name:'Camisa do motor.SLDASM (155KB)', },{ id:'0000100018', pId:'00001', name:'Camisa do Motor.SLDPRT (2196KB)', },{ id:'0000100019', pId:'00001', name:'Carretel da valvula.SLDPRT (2072KB)', },{ id:'0000100020', pId:'00001', name:'Coletor de adimição.SLDPRT (77KB)', },{ id:'0000100021', pId:'00001', name:'Guia da valvula.SLDPRT (78KB)', },{ id:'0000100022', pId:'00001', name:'Guia do exentrico valvula inferior.SLDPRT (2087KB)', },{ id:'0000100023', pId:'00001', name:'Guia do exentrico valvula superior.SLDPRT (2100KB)', },{ id:'0000100024', pId:'00001', name:'Haste da valvula.SLDPRT (1097KB)', },{ id:'0000100025', pId:'00001', name:'Haste de conexão.SLDPRT (122KB)', },{ id:'0000100026', pId:'00001', name:'Haste.SLDASM (93KB)', },{ id:'0000100027', pId:'00001', name:'Mancal da haste piston.SLDPRT (77KB)', },{ id:'0000100028', pId:'00001', name:'Mancal da haste valvula.SLDPRT (83KB)', },{ id:'0000100029', pId:'00001', name:'Mancal Haste.SLDPRT (68KB)', },{ id:'0000100030', pId:'00001', name:'Mancal Vira Brequin.SLDPRT (658KB)', },{ id:'0000100031', pId:'00001', name:'Mancal Vira Brequin1.SLDPRT (359KB)', },{ id:'0000100032', pId:'00001', name:'Motor a vapor.SLDASM (585KB)', },{ id:'0000100033', pId:'00001', name:'Pino Para haste conexão.SLDPRT (72KB)', },{ id:'0000100034', pId:'00001', name:'Piston.SLDPRT (70KB)', },{ id:'0000100035', pId:'00001', name:'Roda exencitrca comando da valvul.SLDPRT (81KB)', },{ id:'0000100036', pId:'00001', name:'Roda exentrica comando de valvula.SLDASM (82KB)', },{ id:'0000100037', pId:'00001', name:'Roda Inercia.SLDPRT (104KB)', },{ id:'0000100038', pId:'00001', name:'Sem título.png (134KB)', click:'getBookinfo(8569061)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100039', pId:'00001', name:'steam-engine.png (153KB)', click:'getBookinfo(8569062)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100040', pId:'00001', name:'steam-engine1.pdf (2705KB)', click:'getBookinfo(8569063)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100041', pId:'00001', name:'steam-engine2.pdf (3290KB)', click:'getBookinfo(8569064)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100042', pId:'00001', name:'steam-engine3.pdf (2646KB)', click:'getBookinfo(8569065)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100043', pId:'00001', name:'steam-engine4.pdf (3533KB)', click:'getBookinfo(8569066)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100044', pId:'00001', name:'Suporte da camisa do motor.SLDPRT (1367KB)', },{ id:'0000100045', pId:'00001', name:'Tampa caixa de valvula.SLDPRT (79KB)', },{ id:'0000100046', pId:'00001', name:'Valvula.SLDASM (146KB)', },{ id:'0000100047', pId:'00001', name:'Vareta comando de valvula torta.SLDPRT (86KB)', },{ id:'0000100048', pId:'00001', name:'Vareta comando de valvula.SLDPRT (106KB)', },{ id:'0000100049', pId:'00001', name:'Vareta comando valvula reta.SLDASM (81KB)', },{ id:'0000100050', pId:'00001', name:'Vareta comando valvula.SLDASM (91KB)', },{ id:'0000100051', pId:'00001', name:'Virabrequin.SLDPRT (87KB)', },{ id:'0000100052', pId:'00001', name:'Virabrequin1.SLDPRT (82KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'蒸汽機(jī).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.png',url:'http://canyonlakefaqs.com/p-8569057.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'2.png',url:'http://canyonlakefaqs.com/p-8569058.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'3.png',url:'http://canyonlakefaqs.com/p-8569059.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'ASsteam.jpg',url:'http://canyonlakefaqs.com/p-8569060.html', target:'_blank' },{ id:'0000100038', pId:'00001', name:'Sem título.png',url:'http://canyonlakefaqs.com/p-8569061.html', target:'_blank' },{ id:'0000100039', pId:'00001', name:'steam-engine.png',url:'http://canyonlakefaqs.com/p-8569062.html', target:'_blank' },{ id:'0000100040', pId:'00001', name:'steam-engine1.pdf',url:'http://canyonlakefaqs.com/p-8569063.html', target:'_blank' },{ id:'0000100041', pId:'00001', name:'steam-engine2.pdf',url:'http://canyonlakefaqs.com/p-8569064.html', target:'_blank' },{ id:'0000100042', pId:'00001', name:'steam-engine3.pdf',url:'http://canyonlakefaqs.com/p-8569065.html', target:'_blank' },{ id:'0000100043', pId:'00001', name:'steam-engine4.pdf',url:'http://canyonlakefaqs.com/p-8569066.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 = '7266821'; 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; }); });