'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】蛙式打夯機設(shè)計【三維proe】【14張cad圖紙文檔全套資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'預(yù)覽圖 (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'1.png (18KB)', click:'getBookinfo(8484810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10.png (17KB)', click:'getBookinfo(8484811)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11.png (10KB)', click:'getBookinfo(8484812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12.png (9KB)', click:'getBookinfo(8484813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'13.png (11KB)', click:'getBookinfo(8484814)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'14.png (9KB)', click:'getBookinfo(8484815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'15.png (39KB)', click:'getBookinfo(8484816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'16.png (39KB)', click:'getBookinfo(8484817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'17.png (17KB)', click:'getBookinfo(8484818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'18.png (98KB)', click:'getBookinfo(8484819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'2.png (9KB)', click:'getBookinfo(8484820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'3.png (22KB)', click:'getBookinfo(8484821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'3D-1.jpg (103KB)', click:'getBookinfo(8484822)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'3D-2.jpg (88KB)', click:'getBookinfo(8484823)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'4.png (15KB)', click:'getBookinfo(8484824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'5.png (10KB)', click:'getBookinfo(8484825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'6.png (15KB)', click:'getBookinfo(8484826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'7.png (12KB)', click:'getBookinfo(8484827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'8.png (8KB)', click:'getBookinfo(8484828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'9.png (8KB)', click:'getBookinfo(8484829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'PROE 三維圖.rar (30239KB)', click:'getBookinfo(8484830)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'全套圖紙匯總14張.dwg (1500KB)', click:'getBookinfo(8484831)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'蛙式打夯機設(shè)計說明書.doc (2852KB)', click:'getBookinfo(8484832)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】蛙式打夯機設(shè)計【三維proe】【14張cad圖紙文檔全套資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.png',url:'http://m.facezit.com/p-8484810.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10.png',url:'http://m.facezit.com/p-8484811.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11.png',url:'http://m.facezit.com/p-8484812.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12.png',url:'http://m.facezit.com/p-8484813.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'13.png',url:'http://m.facezit.com/p-8484814.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'14.png',url:'http://m.facezit.com/p-8484815.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'15.png',url:'http://m.facezit.com/p-8484816.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'16.png',url:'http://m.facezit.com/p-8484817.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'17.png',url:'http://m.facezit.com/p-8484818.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'18.png',url:'http://m.facezit.com/p-8484819.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'2.png',url:'http://m.facezit.com/p-8484820.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'3.png',url:'http://m.facezit.com/p-8484821.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'3D-1.jpg',url:'http://m.facezit.com/p-8484822.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'3D-2.jpg',url:'http://m.facezit.com/p-8484823.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'4.png',url:'http://m.facezit.com/p-8484824.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'5.png',url:'http://m.facezit.com/p-8484825.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'6.png',url:'http://m.facezit.com/p-8484826.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'7.png',url:'http://m.facezit.com/p-8484827.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'8.png',url:'http://m.facezit.com/p-8484828.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'9.png',url:'http://m.facezit.com/p-8484829.html', target:'_blank' },{ id:'00002', pId:'1', name:'PROE 三維圖.rar',url:'http://m.facezit.com/p-8484830.html', target:'_blank' },{ id:'00003', pId:'1', name:'全套圖紙匯總14張.dwg',url:'http://m.facezit.com/p-8484831.html', target:'_blank' },{ id:'00004', pId:'1', name:'蛙式打夯機設(shè)計說明書.doc',url:'http://m.facezit.com/p-8484832.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 = '7255645'; 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; }); });