'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'數(shù)控銑床z軸進給系統(tǒng)結(jié)構(gòu)設計【機械畢業(yè)設計含12張cad圖說明書,外文翻譯開題報告】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'外文原文.pdf (308KB)', click:'getBookinfo(8538560)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'翻譯.pdf (424KB)', click:'getBookinfo(8538561)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'絲杠零件圖.dwg (126KB)', click:'getBookinfo(8538562)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'大帶輪擋圈.dwg (85KB)', click:'getBookinfo(8538563)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'大帶輪零件圖.dwg (93KB)', click:'getBookinfo(8538564)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'套.dwg (83KB)', click:'getBookinfo(8538565)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'套零件圖.dwg (90KB)', click:'getBookinfo(8538566)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'小帶輪漲套.dwg (86KB)', click:'getBookinfo(8538567)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'小帶輪零件圖.dwg (97KB)', click:'getBookinfo(8538568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'開題報告.doc (61KB)', click:'getBookinfo(8538569)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'支撐座零件圖.dwg (88KB)', click:'getBookinfo(8538570)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'支撐柱零件圖.dwg (90KB)', click:'getBookinfo(8538571)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'端蓋零件圖.dwg (90KB)', click:'getBookinfo(8538572)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'裝配圖.dwg (190KB)', click:'getBookinfo(8538573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'設計說明書.doc (4500KB)', click:'getBookinfo(8538574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'軸承座.dwg (106KB)', click:'getBookinfo(8538575)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'數(shù)控銑床z軸進給系統(tǒng)結(jié)構(gòu)設計【機械畢業(yè)設計含12張cad圖說明書,外文翻譯開題報告】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'外文原文.pdf',url:'http://m.facezit.com/p-8538560.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'翻譯.pdf',url:'http://m.facezit.com/p-8538561.html', target:'_blank' },{ id:'00002', pId:'1', name:'絲杠零件圖.dwg',url:'http://m.facezit.com/p-8538562.html', target:'_blank' },{ id:'00003', pId:'1', name:'大帶輪擋圈.dwg',url:'http://m.facezit.com/p-8538563.html', target:'_blank' },{ id:'00004', pId:'1', name:'大帶輪零件圖.dwg',url:'http://m.facezit.com/p-8538564.html', target:'_blank' },{ id:'00005', pId:'1', name:'套.dwg',url:'http://m.facezit.com/p-8538565.html', target:'_blank' },{ id:'00006', pId:'1', name:'套零件圖.dwg',url:'http://m.facezit.com/p-8538566.html', target:'_blank' },{ id:'00007', pId:'1', name:'小帶輪漲套.dwg',url:'http://m.facezit.com/p-8538567.html', target:'_blank' },{ id:'00008', pId:'1', name:'小帶輪零件圖.dwg',url:'http://m.facezit.com/p-8538568.html', target:'_blank' },{ id:'00009', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8538569.html', target:'_blank' },{ id:'00010', pId:'1', name:'支撐座零件圖.dwg',url:'http://m.facezit.com/p-8538570.html', target:'_blank' },{ id:'00011', pId:'1', name:'支撐柱零件圖.dwg',url:'http://m.facezit.com/p-8538571.html', target:'_blank' },{ id:'00012', pId:'1', name:'端蓋零件圖.dwg',url:'http://m.facezit.com/p-8538572.html', target:'_blank' },{ id:'00013', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8538573.html', target:'_blank' },{ id:'00014', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8538574.html', target:'_blank' },{ id:'00015', pId:'1', name:'軸承座.dwg',url:'http://m.facezit.com/p-8538575.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 = '7262172'; 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; }); });