'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'多功能遙控器上蓋注塑模設計及cae分析.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'2D(18張) (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'動模座板A3.dwg (77KB)', click:'getBookinfo(8521490)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'動模支撐板 A3.dwg (103KB)', click:'getBookinfo(8521491)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動模板A2.dwg (262KB)', click:'getBookinfo(8521492)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'壓板A4.dwg (81KB)', click:'getBookinfo(8521493)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'型腔A2.dwg (234KB)', click:'getBookinfo(8521494)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'型芯A2.dwg (269KB)', click:'getBookinfo(8521495)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'塑件A3.dwg (157KB)', click:'getBookinfo(8521496)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'定模座板A3.dwg (77KB)', click:'getBookinfo(8521497)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'定模板A2.dwg (219KB)', click:'getBookinfo(8521498)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'斜導柱A4.dwg (73KB)', click:'getBookinfo(8521499)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'斜頂A3.dwg (99KB)', click:'getBookinfo(8521500)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'澆口套A4.dwg (85KB)', click:'getBookinfo(8521501)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'滑塊A3.dwg (87KB)', click:'getBookinfo(8521502)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'滑塊A4.dwg (83KB)', click:'getBookinfo(8521503)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'裝配圖A0.dwg (751KB)', click:'getBookinfo(8521504)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'鎖緊塊A4.dwg (66KB)', click:'getBookinfo(8521505)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'頂針底板A3.dwg (83KB)', click:'getBookinfo(8521506)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'頂針面板A3.dwg (105KB)', click:'getBookinfo(8521507)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'3D.prt (20744KB)', },{ id:'00003', pId:'1', name:'原文.pdf (1107KB)', click:'getBookinfo(8521508)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00004', pId:'1', name:'多功能遙控器上蓋的注塑模具設計及CAE分析.docx (3895KB)', click:'getBookinfo(8521509)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'開題報告.doc (50KB)', click:'getBookinfo(8521510)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'畢業(yè)設計任務書.doc (97KB)', click:'getBookinfo(8521511)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'譯文.doc (4305KB)', click:'getBookinfo(8521512)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'多功能遙控器上蓋注塑模設計及cae分析.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'動模座板A3.dwg',url:'http://m.facezit.com/p-8521490.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'動模支撐板 A3.dwg',url:'http://m.facezit.com/p-8521491.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動模板A2.dwg',url:'http://m.facezit.com/p-8521492.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'壓板A4.dwg',url:'http://m.facezit.com/p-8521493.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'型腔A2.dwg',url:'http://m.facezit.com/p-8521494.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'型芯A2.dwg',url:'http://m.facezit.com/p-8521495.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'塑件A3.dwg',url:'http://m.facezit.com/p-8521496.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'定模座板A3.dwg',url:'http://m.facezit.com/p-8521497.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'定模板A2.dwg',url:'http://m.facezit.com/p-8521498.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'斜導柱A4.dwg',url:'http://m.facezit.com/p-8521499.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'斜頂A3.dwg',url:'http://m.facezit.com/p-8521500.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'澆口套A4.dwg',url:'http://m.facezit.com/p-8521501.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'滑塊A3.dwg',url:'http://m.facezit.com/p-8521502.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'滑塊A4.dwg',url:'http://m.facezit.com/p-8521503.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8521504.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'鎖緊塊A4.dwg',url:'http://m.facezit.com/p-8521505.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'頂針底板A3.dwg',url:'http://m.facezit.com/p-8521506.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'頂針面板A3.dwg',url:'http://m.facezit.com/p-8521507.html', target:'_blank' },{ id:'00003', pId:'1', name:'原文.pdf',url:'http://m.facezit.com/p-8521508.html', target:'_blank' },{ id:'00004', pId:'1', name:'多功能遙控器上蓋的注塑模具設計及CAE分析.docx',url:'http://m.facezit.com/p-8521509.html', target:'_blank' },{ id:'00005', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8521510.html', target:'_blank' },{ id:'00006', pId:'1', name:'畢業(yè)設計任務書.doc',url:'http://m.facezit.com/p-8521511.html', target:'_blank' },{ id:'00007', pId:'1', name:'譯文.doc',url:'http://m.facezit.com/p-8521512.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 = '7260019'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });