'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'基于ug的塑料掛鉤注塑模具設計【機械類畢業(yè)含cad圖紙】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'基于UG的塑料掛鉤注塑模具設計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'全部文件.jpg (58KB)', click:'getBookinfo(8121650)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'動模座板A2.dwg (101KB)', click:'getBookinfo(8121651)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動模座板A2.png (19KB)', click:'getBookinfo(8121652)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'字數(shù).jpg (89KB)', click:'getBookinfo(8121653)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'定模座板A2.dwg (105KB)', click:'getBookinfo(8121654)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'定模座板A2.png (19KB)', click:'getBookinfo(8121655)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'定模板A2.dwg (112KB)', click:'getBookinfo(8121656)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'定模板A2.png (23KB)', click:'getBookinfo(8121657)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'導柱A4.dwg (102KB)', click:'getBookinfo(8121658)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'導柱A4.png (19KB)', click:'getBookinfo(8121659)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'掛鉤塑件圖A4.dwg (99KB)', click:'getBookinfo(8121660)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'掛鉤塑件圖A4.png (16KB)', click:'getBookinfo(8121661)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'推板A3.dwg (101KB)', click:'getBookinfo(8121662)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'推板A3.png (19KB)', click:'getBookinfo(8121663)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'支撐板A2.dwg (107KB)', click:'getBookinfo(8121664)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'支撐板A2.png (21KB)', click:'getBookinfo(8121665)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'文檔頁面.jpg (269KB)', click:'getBookinfo(8121666)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'答辯ppt.ppt (803KB)', click:'getBookinfo(8121667)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100019', pId:'00001', name:'裝配圖A0.dwg (178KB)', click:'getBookinfo(8121668)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'裝配圖A0.png (48KB)', click:'getBookinfo(8121669)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'設計說明書.doc (702KB)', click:'getBookinfo(8121670)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'基于ug的塑料掛鉤注塑模具設計【機械類畢業(yè)含cad圖紙】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'全部文件.jpg',url:'http://canyonlakefaqs.com/p-8121650.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'動模座板A2.dwg',url:'http://canyonlakefaqs.com/p-8121651.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動模座板A2.png',url:'http://canyonlakefaqs.com/p-8121652.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'字數(shù).jpg',url:'http://canyonlakefaqs.com/p-8121653.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'定模座板A2.dwg',url:'http://canyonlakefaqs.com/p-8121654.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'定模座板A2.png',url:'http://canyonlakefaqs.com/p-8121655.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'定模板A2.dwg',url:'http://canyonlakefaqs.com/p-8121656.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'定模板A2.png',url:'http://canyonlakefaqs.com/p-8121657.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'導柱A4.dwg',url:'http://canyonlakefaqs.com/p-8121658.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'導柱A4.png',url:'http://canyonlakefaqs.com/p-8121659.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'掛鉤塑件圖A4.dwg',url:'http://canyonlakefaqs.com/p-8121660.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'掛鉤塑件圖A4.png',url:'http://canyonlakefaqs.com/p-8121661.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'推板A3.dwg',url:'http://canyonlakefaqs.com/p-8121662.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'推板A3.png',url:'http://canyonlakefaqs.com/p-8121663.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'支撐板A2.dwg',url:'http://canyonlakefaqs.com/p-8121664.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'支撐板A2.png',url:'http://canyonlakefaqs.com/p-8121665.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'文檔頁面.jpg',url:'http://canyonlakefaqs.com/p-8121666.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'答辯ppt.ppt',url:'http://canyonlakefaqs.com/p-8121667.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'裝配圖A0.dwg',url:'http://canyonlakefaqs.com/p-8121668.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'裝配圖A0.png',url:'http://canyonlakefaqs.com/p-8121669.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'設計說明書.doc',url:'http://canyonlakefaqs.com/p-8121670.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 = '3523190'; 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ù)據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });