'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'gy02076@—二級圓柱斜齒輪減速機設(shè)計及主要零件工藝設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'GY02-076@—二級圓柱斜齒輪減速機設(shè)計及主要零件工藝設(shè)計 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'圖紙 (包含15個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1-3.dwg (41KB)', click:'getBookinfo(8423105)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'1-5.dwg (45KB)', click:'getBookinfo(8423106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'1.tmp.tmp (包含0個文件)', },{ id:'000010000100004', pId:'0000100001', name:'Drawing1.dwg (51KB)', click:'getBookinfo(8423107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'二級圓柱斜齒輪.500.z$w (156KB)', },{ id:'000010000100006', pId:'0000100001', name:'二級圓柱斜齒輪.bak (157KB)', },{ id:'000010000100007', pId:'0000100001', name:'二級圓柱斜齒輪.dwg (157KB)', click:'getBookinfo(8423108)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'圖1-4.dwg (61KB)', click:'getBookinfo(8423109)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'大齒輪.bak (64KB)', },{ id:'000010000100010', pId:'0000100001', name:'大齒輪.dwg (64KB)', click:'getBookinfo(8423110)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'箱座.bak (107KB)', },{ id:'000010000100012', pId:'0000100001', name:'箱座.dwg (107KB)', click:'getBookinfo(8423111)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'輸出軸.bak (79KB)', },{ id:'000010000100014', pId:'0000100001', name:'輸出軸.dwg (79KB)', click:'getBookinfo(8423112)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'12.dwg (205KB)', click:'getBookinfo(8423113)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'文本 (包含4個文件)', },{ id:'000010000200001', pId:'0000100002', name:'—二級圓柱斜齒輪減速機設(shè)計及主要零件工藝設(shè)計.doc (998KB)', click:'getBookinfo(8423114)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'任務(wù)書.doc (100KB)', click:'getBookinfo(8423115)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'實習(xí)調(diào)研報告.doc (38KB)', click:'getBookinfo(8423116)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'檢查表.doc (55KB)', click:'getBookinfo(8423117)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'gy02076@—二級圓柱斜齒輪減速機設(shè)計及主要零件工藝設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'1-3.dwg',url:'http://m.facezit.com/p-8423105.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'1-5.dwg',url:'http://m.facezit.com/p-8423106.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8423107.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'二級圓柱斜齒輪.dwg',url:'http://m.facezit.com/p-8423108.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'圖1-4.dwg',url:'http://m.facezit.com/p-8423109.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'大齒輪.dwg',url:'http://m.facezit.com/p-8423110.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'箱座.dwg',url:'http://m.facezit.com/p-8423111.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'輸出軸.dwg',url:'http://m.facezit.com/p-8423112.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'12.dwg',url:'http://m.facezit.com/p-8423113.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'—二級圓柱斜齒輪減速機設(shè)計及主要零件工藝設(shè)計.doc',url:'http://m.facezit.com/p-8423114.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8423115.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'實習(xí)調(diào)研報告.doc',url:'http://m.facezit.com/p-8423116.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'檢查表.doc',url:'http://m.facezit.com/p-8423117.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 = '7248963'; 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; }); });