'; } $("#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:'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(8503812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'genius10.JPG (1481KB)', click:'getBookinfo(8503813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'genius11.JPG (1447KB)', click:'getBookinfo(8503814)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'genius2.JPG (1202KB)', click:'getBookinfo(8503815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'genius3.JPG (1302KB)', click:'getBookinfo(8503816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'genius4.JPG (1296KB)', click:'getBookinfo(8503817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'genius5.JPG (1134KB)', click:'getBookinfo(8503818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'genius6.JPG (1073KB)', click:'getBookinfo(8503819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'genius7.JPG (1319KB)', click:'getBookinfo(8503820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'genius8.JPG (1471KB)', click:'getBookinfo(8503821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'genius9.JPG (1437KB)', click:'getBookinfo(8503822)', 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:'剪叉式升降機(jī).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00008', pId:'1', name:'genius.JPG',url:'http://m.facezit.com/p-8503812.html', target:'_blank' },{ id:'00009', pId:'1', name:'genius10.JPG',url:'http://m.facezit.com/p-8503813.html', target:'_blank' },{ id:'00010', pId:'1', name:'genius11.JPG',url:'http://m.facezit.com/p-8503814.html', target:'_blank' },{ id:'00011', pId:'1', name:'genius2.JPG',url:'http://m.facezit.com/p-8503815.html', target:'_blank' },{ id:'00012', pId:'1', name:'genius3.JPG',url:'http://m.facezit.com/p-8503816.html', target:'_blank' },{ id:'00013', pId:'1', name:'genius4.JPG',url:'http://m.facezit.com/p-8503817.html', target:'_blank' },{ id:'00014', pId:'1', name:'genius5.JPG',url:'http://m.facezit.com/p-8503818.html', target:'_blank' },{ id:'00015', pId:'1', name:'genius6.JPG',url:'http://m.facezit.com/p-8503819.html', target:'_blank' },{ id:'00016', pId:'1', name:'genius7.JPG',url:'http://m.facezit.com/p-8503820.html', target:'_blank' },{ id:'00017', pId:'1', name:'genius8.JPG',url:'http://m.facezit.com/p-8503821.html', target:'_blank' },{ id:'00018', pId:'1', name:'genius9.JPG',url:'http://m.facezit.com/p-8503822.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7258074'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });