'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'塑料制件捏耳的注射模具設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc (32KB)', click:'getBookinfo(8121801)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'動模.dwg (151KB)', click:'getBookinfo(8121802)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'壓塊(二).dwg (129KB)', click:'getBookinfo(8121803)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'型芯(一).dwg (132KB)', click:'getBookinfo(8121804)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型芯(三).dwg (133KB)', click:'getBookinfo(8121805)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'型芯(二).dwg (128KB)', click:'getBookinfo(8121806)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'型芯(四).dwg (130KB)', click:'getBookinfo(8121807)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'塑料制件捏耳的注射模具設計.doc (2177KB)', click:'getBookinfo(8121808)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'外文翻譯.doc (412KB)', click:'getBookinfo(8121809)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'定位圈.dwg (130KB)', click:'getBookinfo(8121810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'定模.dwg (143KB)', click:'getBookinfo(8121811)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'定模板.dwg (136KB)', click:'getBookinfo(8121812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'實習報告.doc (24KB)', click:'getBookinfo(8121813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'開題報告.doc (33KB)', click:'getBookinfo(8121814)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'拉料桿.dwg (128KB)', click:'getBookinfo(8121815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'捏耳制件.dwg (138KB)', click:'getBookinfo(8121816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'捏耳模具零件圖A1-集合3張.dwg (193KB)', click:'getBookinfo(8121817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'捏耳模具零件圖A4-集合13張.dwg (224KB)', click:'getBookinfo(8121818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'模具裝配圖-A0.dwg (278KB)', click:'getBookinfo(8121819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'澆口套.dwg (130KB)', click:'getBookinfo(8121820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'答辯PPT.ppt (4750KB)', click:'getBookinfo(8121821)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00022', pId:'1', name:'脫模圖(一).dwg (83KB)', click:'getBookinfo(8121822)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'脫模圖(三).dwg (88KB)', click:'getBookinfo(8121823)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'脫模圖(二).dwg (89KB)', click:'getBookinfo(8121824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'設計說明書.doc (1591KB)', click:'getBookinfo(8121825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00026', pId:'1', name:'設計說明書(論文).doc (1995KB)', click:'getBookinfo(8121826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00027', pId:'1', name:'限位釘.dwg (128KB)', click:'getBookinfo(8121827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00028', pId:'1', name:'頂針(一).dwg (129KB)', click:'getBookinfo(8121828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00029', pId:'1', name:'頂針(三).dwg (128KB)', click:'getBookinfo(8121829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00030', pId:'1', name:'頂針(二).dwg (129KB)', click:'getBookinfo(8121830)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'塑料制件捏耳的注射模具設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8121801.html', target:'_blank' },{ id:'00002', pId:'1', name:'動模.dwg',url:'http://m.facezit.com/p-8121802.html', target:'_blank' },{ id:'00003', pId:'1', name:'壓塊(二).dwg',url:'http://m.facezit.com/p-8121803.html', target:'_blank' },{ id:'00004', pId:'1', name:'型芯(一).dwg',url:'http://m.facezit.com/p-8121804.html', target:'_blank' },{ id:'00005', pId:'1', name:'型芯(三).dwg',url:'http://m.facezit.com/p-8121805.html', target:'_blank' },{ id:'00006', pId:'1', name:'型芯(二).dwg',url:'http://m.facezit.com/p-8121806.html', target:'_blank' },{ id:'00007', pId:'1', name:'型芯(四).dwg',url:'http://m.facezit.com/p-8121807.html', target:'_blank' },{ id:'00008', pId:'1', name:'塑料制件捏耳的注射模具設計.doc',url:'http://m.facezit.com/p-8121808.html', target:'_blank' },{ id:'00009', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8121809.html', target:'_blank' },{ id:'00010', pId:'1', name:'定位圈.dwg',url:'http://m.facezit.com/p-8121810.html', target:'_blank' },{ id:'00011', pId:'1', name:'定模.dwg',url:'http://m.facezit.com/p-8121811.html', target:'_blank' },{ id:'00012', pId:'1', name:'定模板.dwg',url:'http://m.facezit.com/p-8121812.html', target:'_blank' },{ id:'00013', pId:'1', name:'實習報告.doc',url:'http://m.facezit.com/p-8121813.html', target:'_blank' },{ id:'00014', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8121814.html', target:'_blank' },{ id:'00015', pId:'1', name:'拉料桿.dwg',url:'http://m.facezit.com/p-8121815.html', target:'_blank' },{ id:'00016', pId:'1', name:'捏耳制件.dwg',url:'http://m.facezit.com/p-8121816.html', target:'_blank' },{ id:'00017', pId:'1', name:'捏耳模具零件圖A1-集合3張.dwg',url:'http://m.facezit.com/p-8121817.html', target:'_blank' },{ id:'00018', pId:'1', name:'捏耳模具零件圖A4-集合13張.dwg',url:'http://m.facezit.com/p-8121818.html', target:'_blank' },{ id:'00019', pId:'1', name:'模具裝配圖-A0.dwg',url:'http://m.facezit.com/p-8121819.html', target:'_blank' },{ id:'00020', pId:'1', name:'澆口套.dwg',url:'http://m.facezit.com/p-8121820.html', target:'_blank' },{ id:'00021', pId:'1', name:'答辯PPT.ppt',url:'http://m.facezit.com/p-8121821.html', target:'_blank' },{ id:'00022', pId:'1', name:'脫模圖(一).dwg',url:'http://m.facezit.com/p-8121822.html', target:'_blank' },{ id:'00023', pId:'1', name:'脫模圖(三).dwg',url:'http://m.facezit.com/p-8121823.html', target:'_blank' },{ id:'00024', pId:'1', name:'脫模圖(二).dwg',url:'http://m.facezit.com/p-8121824.html', target:'_blank' },{ id:'00025', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8121825.html', target:'_blank' },{ id:'00026', pId:'1', name:'設計說明書(論文).doc',url:'http://m.facezit.com/p-8121826.html', target:'_blank' },{ id:'00027', pId:'1', name:'限位釘.dwg',url:'http://m.facezit.com/p-8121827.html', target:'_blank' },{ id:'00028', pId:'1', name:'頂針(一).dwg',url:'http://m.facezit.com/p-8121828.html', target:'_blank' },{ id:'00029', pId:'1', name:'頂針(三).dwg',url:'http://m.facezit.com/p-8121829.html', target:'_blank' },{ id:'00030', pId:'1', name:'頂針(二).dwg',url:'http://m.facezit.com/p-8121830.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 = '3523202'; 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; }); });