'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4缸發(fā)動機油底殼組合鉆床ⅰ主軸箱設(shè)計【說明書cad】【優(yōu)秀畢業(yè)設(shè)計資料】【已通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'24 4缸發(fā)動機油底殼組合鉆床Ⅰ主軸箱設(shè)計【說明書+CAD】 (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'文獻綜述 (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'文獻綜述.doc (47KB)', click:'getBookinfo(8398232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'文獻綜述封面.doc (148KB)', click:'getBookinfo(8398233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'文獻翻譯 (包含3個文件)', },{ id:'000010000200001', pId:'0000100002', name:'外文.docx (19KB)', click:'getBookinfo(8398234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'外文封面.doc (148KB)', click:'getBookinfo(8398235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'翻譯.doc (31KB)', click:'getBookinfo(8398236)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'acad.fas (包含0個文件)', },{ id:'0000100004', pId:'00001', name:'主軸箱-A0.dwg (204KB)', click:'getBookinfo(8398237)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'主軸箱2-A0.dwg (147KB)', click:'getBookinfo(8398238)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'任務(wù)書.doc (28KB)', click:'getBookinfo(8398239)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'四缸發(fā)動機油底殼主軸箱.doc (540KB)', click:'getBookinfo(8398240)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'圖紙合集.dwg (466KB)', click:'getBookinfo(8398241)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'開題報告 .doc (37KB)', click:'getBookinfo(8398242)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'畢業(yè)論文封面.doc (147KB)', click:'getBookinfo(8398243)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'裝訂目錄.doc (28KB)', click:'getBookinfo(8398244)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'裝配圖-A0.dwg (122KB)', click:'getBookinfo(8398245)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4缸發(fā)動機油底殼組合鉆床ⅰ主軸箱設(shè)計【說明書cad】【優(yōu)秀畢業(yè)設(shè)計資料】【已通過答辯】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8398232.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'文獻綜述封面.doc',url:'http://m.facezit.com/p-8398233.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'外文.docx',url:'http://m.facezit.com/p-8398234.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'外文封面.doc',url:'http://m.facezit.com/p-8398235.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'翻譯.doc',url:'http://m.facezit.com/p-8398236.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'主軸箱-A0.dwg',url:'http://m.facezit.com/p-8398237.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'主軸箱2-A0.dwg',url:'http://m.facezit.com/p-8398238.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8398239.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'四缸發(fā)動機油底殼主軸箱.doc',url:'http://m.facezit.com/p-8398240.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'圖紙合集.dwg',url:'http://m.facezit.com/p-8398241.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'開題報告 .doc',url:'http://m.facezit.com/p-8398242.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'畢業(yè)論文封面.doc',url:'http://m.facezit.com/p-8398243.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'裝訂目錄.doc',url:'http://m.facezit.com/p-8398244.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'裝配圖-A0.dwg',url:'http://m.facezit.com/p-8398245.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 = '7246633'; 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; }); });