'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【jx007】單曲柄往復(fù)式給煤機(jī)設(shè)計【礦】[rw]【4a0】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD源文件圖 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'1-總圖-A0.dwg (362KB)', click:'getBookinfo(8735226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10-第二軸系-A3.dwg (197KB)', click:'getBookinfo(8735227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11-大齒輪-A3.dwg (93KB)', click:'getBookinfo(8735228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12-小齒輪-A3.dwg (102KB)', click:'getBookinfo(8735229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'2-減速器裝備圖-A0.dwg (561KB)', click:'getBookinfo(8735230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'3-傳動平臺-A1.dwg (348KB)', click:'getBookinfo(8735231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'4-曲柄連桿成形圖-A1.dwg (206KB)', click:'getBookinfo(8735232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'5-托輥組件-A2.dwg (220KB)', click:'getBookinfo(8735233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'6-定曲柄-A3.dwg (88KB)', click:'getBookinfo(8735234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'7-活曲柄-A3.dwg (94KB)', click:'getBookinfo(8735235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'8-軸-A3.dwg (106KB)', click:'getBookinfo(8735236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'9-中間軸-A3.dwg (99KB)', click:'getBookinfo(8735237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf (3029KB)', click:'getBookinfo(8735238)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00003', pId:'1', name:'任務(wù)書+摘要+目錄.doc (64KB)', click:'getBookinfo(8735239)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'畢業(yè)設(shè)計封面.doc (298KB)', click:'getBookinfo(8735240)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'畢業(yè)設(shè)計說明書-23725字-82頁.doc (2730KB)', click:'getBookinfo(8735241)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【jx007】單曲柄往復(fù)式給煤機(jī)設(shè)計【礦】[rw]【4a0】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1-總圖-A0.dwg',url:'http://m.facezit.com/p-8735226.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10-第二軸系-A3.dwg',url:'http://m.facezit.com/p-8735227.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11-大齒輪-A3.dwg',url:'http://m.facezit.com/p-8735228.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12-小齒輪-A3.dwg',url:'http://m.facezit.com/p-8735229.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'2-減速器裝備圖-A0.dwg',url:'http://m.facezit.com/p-8735230.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'3-傳動平臺-A1.dwg',url:'http://m.facezit.com/p-8735231.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'4-曲柄連桿成形圖-A1.dwg',url:'http://m.facezit.com/p-8735232.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'5-托輥組件-A2.dwg',url:'http://m.facezit.com/p-8735233.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'6-定曲柄-A3.dwg',url:'http://m.facezit.com/p-8735234.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'7-活曲柄-A3.dwg',url:'http://m.facezit.com/p-8735235.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'8-軸-A3.dwg',url:'http://m.facezit.com/p-8735236.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'9-中間軸-A3.dwg',url:'http://m.facezit.com/p-8735237.html', target:'_blank' },{ id:'00002', pId:'1', name:'【CAD圖紙-預(yù)覽】.pdf',url:'http://m.facezit.com/p-8735238.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務(wù)書+摘要+目錄.doc',url:'http://m.facezit.com/p-8735239.html', target:'_blank' },{ id:'00004', pId:'1', name:'畢業(yè)設(shè)計封面.doc',url:'http://m.facezit.com/p-8735240.html', target:'_blank' },{ id:'00005', pId:'1', name:'畢業(yè)設(shè)計說明書-23725字-82頁.doc',url:'http://m.facezit.com/p-8735241.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 = '3518633'; 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; }); });