'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'7031掛耳沖壓模具設(shè)計【課程】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'7031-掛耳沖壓模具設(shè)計【課程】 (包含11個文件)', },{ id:'0000100001', pId:'00001', name:'126b8282aba5f2329a7f0a01d403e7b2.png (26KB)', click:'getBookinfo(8253586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'7031-掛耳沖壓模具設(shè)計.docx (367KB)', click:'getBookinfo(8253587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'bbdfa41fb1f7e31b493f10c605548445.png (416KB)', click:'getBookinfo(8253588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'上模板.dwg (211KB)', click:'getBookinfo(8253589)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'下模板.dwg (214KB)', click:'getBookinfo(8253590)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'沖壓模裝配圖.dwg (280KB)', click:'getBookinfo(8253591)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'凸模.bak (220KB)', },{ id:'0000100008', pId:'00001', name:'凸模.dwg (182KB)', click:'getBookinfo(8253592)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'凹模.dwg (229KB)', click:'getBookinfo(8253593)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'掛耳零件圖.dwg (203KB)', click:'getBookinfo(8253594)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'新建文本文檔.txt (0KB)', click:'getBookinfo(8253595)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'7031掛耳沖壓模具設(shè)計【課程】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'126b8282aba5f2329a7f0a01d403e7b2.png',url:'http://canyonlakefaqs.com/p-8253586.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'7031-掛耳沖壓模具設(shè)計.docx',url:'http://canyonlakefaqs.com/p-8253587.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'bbdfa41fb1f7e31b493f10c605548445.png',url:'http://canyonlakefaqs.com/p-8253588.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'上模板.dwg',url:'http://canyonlakefaqs.com/p-8253589.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'下模板.dwg',url:'http://canyonlakefaqs.com/p-8253590.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'沖壓模裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8253591.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'凸模.dwg',url:'http://canyonlakefaqs.com/p-8253592.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'凹模.dwg',url:'http://canyonlakefaqs.com/p-8253593.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'掛耳零件圖.dwg',url:'http://canyonlakefaqs.com/p-8253594.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'新建文本文檔.txt',url:'http://canyonlakefaqs.com/p-8253595.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 = '6332837'; 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; }); });