'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'汽車前懸架和變速器.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'Amortecedor.SLDASM (2171KB)', },{ id:'00002', pId:'1', name:'angular contact ball bearing_68_iso.sldprt (660KB)', },{ id:'00003', pId:'1', name:'Anilha rolamentos edit.SLDPRT (66KB)', },{ id:'00004', pId:'1', name:'Anilha.SLDPRT (83KB)', },{ id:'00005', pId:'1', name:'Antena.SLDPRT (170KB)', },{ id:'00006', pId:'1', name:'ASSEM final.SLDASM (4525KB)', },{ id:'00007', pId:'1', name:'cilindro 2 veio.SLDPRT (90KB)', },{ id:'00008', pId:'1', name:'conector da junta.SLDPRT (108KB)', },{ id:'00009', pId:'1', name:'conector da suspensão.SLDPRT (139KB)', },{ id:'00010', pId:'1', name:'Encaixe 2.SLDPRT (324KB)', },{ id:'00011', pId:'1', name:'Encaixe dos rolamentos superior.SLDPRT (891KB)', },{ id:'00012', pId:'1', name:'Encaixe dos rolamentos.SLDPRT (687KB)', },{ id:'00013', pId:'1', name:'Encaixe.SLDPRT (207KB)', },{ id:'00014', pId:'1', name:'Engrenagem 2.SLDPRT (451KB)', },{ id:'00015', pId:'1', name:'engrenagem 3.SLDPRT (918KB)', },{ id:'00016', pId:'1', name:'Esrutura 3.SLDPRT (267KB)', },{ id:'00017', pId:'1', name:'Estrutura Superior (suspenção).SLDPRT (529KB)', },{ id:'00018', pId:'1', name:'Haste.SLDPRT (42KB)', },{ id:'00019', pId:'1', name:'hex nut style 1 gradeab_iso.sldprt (229KB)', },{ id:'00020', pId:'1', name:'hex thin nut gradeb_iso.sldprt (192KB)', },{ id:'00021', pId:'1', name:'junta baixo.SLDPRT (275KB)', },{ id:'00022', pId:'1', name:'junta cima.SLDPRT (186KB)', },{ id:'00023', pId:'1', name:'Junta Universal.SLDPRT (158KB)', },{ id:'00024', pId:'1', name:'Junta.SLDPRT (139KB)', },{ id:'00025', pId:'1', name:'Mola.SLDPRT (2246KB)', },{ id:'00026', pId:'1', name:'pan head cross recess screw_iso.sldprt (805KB)', },{ id:'00027', pId:'1', name:'Parafuso Superior.SLDPRT (178KB)', },{ id:'00028', pId:'1', name:'pino 2.SLDPRT (74KB)', },{ id:'00029', pId:'1', name:'pino.SLDPRT (77KB)', },{ id:'00030', pId:'1', name:'plain washer large grade ac_iso.sldprt (122KB)', },{ id:'00031', pId:'1', name:'plain washer small grade a_iso.sldprt (106KB)', },{ id:'00032', pId:'1', name:'Roda Final.SLDASM (730KB)', },{ id:'00033', pId:'1', name:'roda.SLDPRT (1723KB)', },{ id:'00034', pId:'1', name:'Rolamento 1.SLDASM (616KB)', },{ id:'00035', pId:'1', name:'Rolamento edit.SLDPRT (662KB)', },{ id:'00036', pId:'1', name:'rolamento2.SLDASM (301KB)', },{ id:'00037', pId:'1', name:'Sem Título 1.png (166KB)', click:'getBookinfo(8233577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00038', pId:'1', name:'Sem Título.png (183KB)', click:'getBookinfo(8233578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00039', pId:'1', name:'Subconjunto.SLDASM (427KB)', },{ id:'00040', pId:'1', name:'suporte inferior.SLDPRT (647KB)', },{ id:'00041', pId:'1', name:'Suporte Superior 1.SLDPRT (438KB)', },{ id:'00042', pId:'1', name:'Suporte Superior 2.SLDPRT (185KB)', },{ id:'00043', pId:'1', name:'Suporte-Haste.SLDPRT (106KB)', },{ id:'00044', pId:'1', name:'Suporte-Inferior-Mola.SLDPRT (85KB)', },{ id:'00045', pId:'1', name:'Suporte-Superior-Mola.SLDPRT (94KB)', },{ id:'00046', pId:'1', name:'torque nut 01_iso.sldprt (285KB)', },{ id:'00047', pId:'1', name:'Tubo-Pressao.SLDPRT (85KB)', },{ id:'00048', pId:'1', name:'veio da engrenagem.SLDPRT (88KB)', },{ id:'00049', pId:'1', name:'veio final 1.SLDPRT (67KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'汽車前懸架和變速器.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00037', pId:'1', name:'Sem Título 1.png',url:'http://facezit.com/p-8233577.html', target:'_blank' },{ id:'00038', pId:'1', name:'Sem Título.png',url:'http://facezit.com/p-8233578.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 = '3730289'; 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; }); });