'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'轎車自動變速器的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[A5-523]設(shè)計類-轎車自動變速器的設(shè)計[汽車] (包含10個文件)', },{ id:'0000100001', pId:'00001', name:'A0-自動變速器裝配圖.dwg (318KB)', click:'getBookinfo(8382982)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A1-帶式制動器殼體.dwg (89KB)', click:'getBookinfo(8382983)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A1-輸入軸.dwg (177KB)', click:'getBookinfo(8382984)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A3-花鍵軸.dwg (59KB)', click:'getBookinfo(8382985)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A4-大太陽輪.dwg (92KB)', click:'getBookinfo(8382986)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A4-小太陽輪.dwg (79KB)', click:'getBookinfo(8382987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A4-長行星輪.dwg (61KB)', click:'getBookinfo(8382988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'摘要及附錄.doc (29KB)', click:'getBookinfo(8382989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'目錄.doc (35KB)', click:'getBookinfo(8382990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'說明書.doc (862KB)', click:'getBookinfo(8382991)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'轎車自動變速器的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-自動變速器裝配圖.dwg',url:'http://m.facezit.com/p-8382982.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A1-帶式制動器殼體.dwg',url:'http://m.facezit.com/p-8382983.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A1-輸入軸.dwg',url:'http://m.facezit.com/p-8382984.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A3-花鍵軸.dwg',url:'http://m.facezit.com/p-8382985.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A4-大太陽輪.dwg',url:'http://m.facezit.com/p-8382986.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A4-小太陽輪.dwg',url:'http://m.facezit.com/p-8382987.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A4-長行星輪.dwg',url:'http://m.facezit.com/p-8382988.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'摘要及附錄.doc',url:'http://m.facezit.com/p-8382989.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8382990.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8382991.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 = '7863746'; 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; }); });