'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】鼓式領從蹄式制動器設計全套cad圖紙設計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'鼓式領從蹄式制動器設計 (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'制動后蹄摩擦片.dwg (97KB)', click:'getBookinfo(8488047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'制動器制動蹄筋.png (17KB)', click:'getBookinfo(8488048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'制動蹄摩擦片.png (24KB)', click:'getBookinfo(8488049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'制動蹄筋.dwg (90KB)', click:'getBookinfo(8488050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'摘要.png (107KB)', click:'getBookinfo(8488051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'論文內容預覽.png (406KB)', click:'getBookinfo(8488052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'論文目錄.png (39KB)', click:'getBookinfo(8488053)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'說明書.doc (540KB)', click:'getBookinfo(8488054)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'鼓式制動器裝配圖.dwg (160KB)', click:'getBookinfo(8488055)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'鼓式制動器裝配圖.png (38KB)', click:'getBookinfo(8488056)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】鼓式領從蹄式制動器設計全套cad圖紙設計說明書.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'制動后蹄摩擦片.dwg',url:'http://m.facezit.com/p-8488047.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'制動器制動蹄筋.png',url:'http://m.facezit.com/p-8488048.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'制動蹄摩擦片.png',url:'http://m.facezit.com/p-8488049.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'制動蹄筋.dwg',url:'http://m.facezit.com/p-8488050.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8488051.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'論文內容預覽.png',url:'http://m.facezit.com/p-8488052.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'論文目錄.png',url:'http://m.facezit.com/p-8488053.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8488054.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'鼓式制動器裝配圖.dwg',url:'http://m.facezit.com/p-8488055.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'鼓式制動器裝配圖.png',url:'http://m.facezit.com/p-8488056.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 = '7255969'; 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; }); });