'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'剪刀升降機“geniusgz2345”.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'as en wiel.SLDPRT (142KB)', },{ id:'00002', pId:'1', name:'balk.SLDPRT (100KB)', },{ id:'00003', pId:'1', name:'bodem bakje.SLDPRT (904KB)', },{ id:'00004', pId:'1', name:'body.SLDPRT (652KB)', },{ id:'00005', pId:'1', name:'cylinder as.SLDPRT (69KB)', },{ id:'00006', pId:'1', name:'cylinder hoofd.SLDPRT (105KB)', },{ id:'00007', pId:'1', name:'draaikrans.SLDPRT (172KB)', },{ id:'00008', pId:'1', name:'genius.JPG (1070KB)', click:'getBookinfo(8232820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'genius10.JPG (1481KB)', click:'getBookinfo(8232821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'genius11.JPG (1447KB)', click:'getBookinfo(8232822)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'genius2.JPG (1202KB)', click:'getBookinfo(8232823)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'genius3.JPG (1302KB)', click:'getBookinfo(8232824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'genius4.JPG (1296KB)', click:'getBookinfo(8232825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'genius5.JPG (1134KB)', click:'getBookinfo(8232826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'genius6.JPG (1073KB)', click:'getBookinfo(8232827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'genius7.JPG (1319KB)', click:'getBookinfo(8232828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'genius8.JPG (1471KB)', click:'getBookinfo(8232829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'genius9.JPG (1437KB)', click:'getBookinfo(8232830)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'plot.log (5KB)', },{ id:'00020', pId:'1', name:'scharnier as kort.SLDPRT (1784KB)', },{ id:'00021', pId:'1', name:'scharnier as.SLDPRT (3412KB)', },{ id:'00022', pId:'1', name:'Scheldebouw logo groot.SLDPRT (282KB)', },{ id:'00023', pId:'1', name:'scissorlift.SLDASM (4635KB)', },{ id:'00024', pId:'1', name:'stuurwielen.SLDASM (421KB)', },{ id:'00025', pId:'1', name:'support cylinder.SLDPRT (210KB)', },{ id:'00026', pId:'1', name:'trapje.SLDPRT (220KB)', },{ id:'00027', pId:'1', name:'wiel.SLDPRT (1121KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'剪刀升降機“geniusgz2345”.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00008', pId:'1', name:'genius.JPG',url:'http://m.facezit.com/p-8232820.html', target:'_blank' },{ id:'00009', pId:'1', name:'genius10.JPG',url:'http://m.facezit.com/p-8232821.html', target:'_blank' },{ id:'00010', pId:'1', name:'genius11.JPG',url:'http://m.facezit.com/p-8232822.html', target:'_blank' },{ id:'00011', pId:'1', name:'genius2.JPG',url:'http://m.facezit.com/p-8232823.html', target:'_blank' },{ id:'00012', pId:'1', name:'genius3.JPG',url:'http://m.facezit.com/p-8232824.html', target:'_blank' },{ id:'00013', pId:'1', name:'genius4.JPG',url:'http://m.facezit.com/p-8232825.html', target:'_blank' },{ id:'00014', pId:'1', name:'genius5.JPG',url:'http://m.facezit.com/p-8232826.html', target:'_blank' },{ id:'00015', pId:'1', name:'genius6.JPG',url:'http://m.facezit.com/p-8232827.html', target:'_blank' },{ id:'00016', pId:'1', name:'genius7.JPG',url:'http://m.facezit.com/p-8232828.html', target:'_blank' },{ id:'00017', pId:'1', name:'genius8.JPG',url:'http://m.facezit.com/p-8232829.html', target:'_blank' },{ id:'00018', pId:'1', name:'genius9.JPG',url:'http://m.facezit.com/p-8232830.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 = '3729905'; 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; }); });