'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'新型功率回收軸向柱塞泵試驗(yàn)臺的改進(jìn)設(shè)計(jì)畢業(yè)設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'新型功率回收軸向柱塞泵試驗(yàn)臺的改進(jìn)設(shè)計(jì)畢業(yè)設(shè)計(jì) (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'中文原文與英文翻譯 (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'中文英文.doc (31KB)', click:'getBookinfo(8799154)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'英文譯文.doc (47KB)', click:'getBookinfo(8799155)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'畢業(yè)設(shè)計(jì)附件 (包含5個文件)', },{ id:'000010000200001', pId:'0000100002', name:'任務(wù)書.doc (22KB)', click:'getBookinfo(8799156)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'開題報告書.doc (65KB)', click:'getBookinfo(8799157)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'評閱表.doc (23KB)', click:'getBookinfo(8799158)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'進(jìn)度考核表.doc (19KB)', click:'getBookinfo(8799159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'附件封面.doc (45KB)', click:'getBookinfo(8799160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'10主油箱裝配圖a2.dwg (364KB)', click:'getBookinfo(8799161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'1液壓系統(tǒng)原理圖a2.dwg (98KB)', click:'getBookinfo(8799162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'2補(bǔ)油油箱零件圖a1..dwg (83KB)', click:'getBookinfo(8799163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'3補(bǔ)油箱裝配圖a2.dwg (115KB)', click:'getBookinfo(8799164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'4轉(zhuǎn)矩轉(zhuǎn)速傳感器支座a3.dwg (80KB)', click:'getBookinfo(8799165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'5聯(lián)軸器A3.dwg (80KB)', click:'getBookinfo(8799166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'6傳動部件示意圖a3.dwg (70KB)', click:'getBookinfo(8799167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'7電動機(jī)軸支撐A3.dwg (60KB)', click:'getBookinfo(8799168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'8被測泵支座A3.dwg (46KB)', click:'getBookinfo(8799169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'9主油箱零件圖a1.dwg (120KB)', click:'getBookinfo(8799170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'內(nèi)容提要.doc (18KB)', click:'getBookinfo(8799171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'封面.doc (47KB)', click:'getBookinfo(8799172)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'正文.doc (538KB)', click:'getBookinfo(8799173)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'目錄.doc (30KB)', click:'getBookinfo(8799174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'附錄封面.doc (46KB)', click:'getBookinfo(8799175)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'新型功率回收軸向柱塞泵試驗(yàn)臺的改進(jìn)設(shè)計(jì)畢業(yè)設(shè)計(jì).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'中文英文.doc',url:'http://www.nydnatest.com/p-8799154.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'英文譯文.doc',url:'http://www.nydnatest.com/p-8799155.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'任務(wù)書.doc',url:'http://www.nydnatest.com/p-8799156.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'開題報告書.doc',url:'http://www.nydnatest.com/p-8799157.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'評閱表.doc',url:'http://www.nydnatest.com/p-8799158.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'進(jìn)度考核表.doc',url:'http://www.nydnatest.com/p-8799159.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'附件封面.doc',url:'http://www.nydnatest.com/p-8799160.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'10主油箱裝配圖a2.dwg',url:'http://www.nydnatest.com/p-8799161.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'1液壓系統(tǒng)原理圖a2.dwg',url:'http://www.nydnatest.com/p-8799162.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'2補(bǔ)油油箱零件圖a1..dwg',url:'http://www.nydnatest.com/p-8799163.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'3補(bǔ)油箱裝配圖a2.dwg',url:'http://www.nydnatest.com/p-8799164.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'4轉(zhuǎn)矩轉(zhuǎn)速傳感器支座a3.dwg',url:'http://www.nydnatest.com/p-8799165.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'5聯(lián)軸器A3.dwg',url:'http://www.nydnatest.com/p-8799166.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'6傳動部件示意圖a3.dwg',url:'http://www.nydnatest.com/p-8799167.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'7電動機(jī)軸支撐A3.dwg',url:'http://www.nydnatest.com/p-8799168.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'8被測泵支座A3.dwg',url:'http://www.nydnatest.com/p-8799169.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'9主油箱零件圖a1.dwg',url:'http://www.nydnatest.com/p-8799170.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'內(nèi)容提要.doc',url:'http://www.nydnatest.com/p-8799171.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'封面.doc',url:'http://www.nydnatest.com/p-8799172.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'正文.doc',url:'http://www.nydnatest.com/p-8799173.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'目錄.doc',url:'http://www.nydnatest.com/p-8799174.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'附錄封面.doc',url:'http://www.nydnatest.com/p-8799175.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 = '3428116'; 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; }); });