'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'汽車半主動懸架磁流變減震器的設(shè)計及仿真設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'proe三維圖 (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'db111.prt.1 (196KB)', },{ id:'0000100002', pId:'00001', name:'dd33.prt.1 (967KB)', },{ id:'0000100003', pId:'00001', name:'dxt111.prt.1 (121KB)', },{ id:'0000100004', pId:'00001', name:'hstao333.prt.1 (322KB)', },{ id:'0000100005', pId:'00001', name:'hzt33.prt.1 (2340KB)', },{ id:'0000100006', pId:'00001', name:'ld111.prt.1 (788KB)', },{ id:'0000100007', pId:'00001', name:'t10t2222.prt.1 (290KB)', },{ id:'0000100008', pId:'00001', name:'t11t11111.prt.1 (430KB)', },{ id:'0000100009', pId:'00001', name:'t12t111.prt.1 (638KB)', },{ id:'0000100010', pId:'00001', name:'t2t3333.prt.1 (1667KB)', },{ id:'0000100011', pId:'00001', name:'t3t222222222.prt.1 (686KB)', },{ id:'0000100012', pId:'00001', name:'t4t1111.prt.1 (213KB)', },{ id:'0000100013', pId:'00001', name:'t5t2222.prt.1 (73KB)', },{ id:'0000100014', pId:'00001', name:'t66t111.prt.1 (106KB)', },{ id:'0000100015', pId:'00001', name:'t8t111.prt.1 (156KB)', },{ id:'0000100016', pId:'00001', name:'t9t111.prt.1 (143KB)', },{ id:'0000100017', pId:'00001', name:'zong3333.asm.1 (92KB)', },{ id:'0000100018', pId:'00001', name:'zongpst.asm.1 (6244KB)', },{ id:'00002', pId:'1', name:'文檔副本 (包含6個文件)', },{ id:'0000200001', pId:'00002', name:'中期檢查表.pdf (141KB)', click:'getBookinfo(8347818)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000200002', pId:'00002', name:'任務(wù)書.pdf (58KB)', click:'getBookinfo(8347819)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000200003', pId:'00002', name:'開題報告.pdf (755KB)', click:'getBookinfo(8347820)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000200004', pId:'00002', name:'正文.pdf (1978KB)', click:'getBookinfo(8347821)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000200005', pId:'00002', name:'評閱表.pdf (62KB)', click:'getBookinfo(8347822)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000200006', pId:'00002', name:'鑒定意見.pdf (47KB)', click:'getBookinfo(8347823)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00003', pId:'1', name:'中期檢查表_pdf.doc (133KB)', click:'getBookinfo(8347824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'任務(wù)書.doc (191KB)', click:'getBookinfo(8347825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'圖紙合計12張.dwg (294KB)', click:'getBookinfo(8347826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'開題報告.doc (891KB)', click:'getBookinfo(8347827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'正文.doc (1721KB)', click:'getBookinfo(8347828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'評閱表.doc (78KB)', click:'getBookinfo(8347829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'鑒定意見.doc (155KB)', click:'getBookinfo(8347830)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'汽車半主動懸架磁流變減震器的設(shè)計及仿真設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000200001', pId:'00002', name:'中期檢查表.pdf',url:'http://m.facezit.com/p-8347818.html', target:'_blank' },{ id:'0000200002', pId:'00002', name:'任務(wù)書.pdf',url:'http://m.facezit.com/p-8347819.html', target:'_blank' },{ id:'0000200003', pId:'00002', name:'開題報告.pdf',url:'http://m.facezit.com/p-8347820.html', target:'_blank' },{ id:'0000200004', pId:'00002', name:'正文.pdf',url:'http://m.facezit.com/p-8347821.html', target:'_blank' },{ id:'0000200005', pId:'00002', name:'評閱表.pdf',url:'http://m.facezit.com/p-8347822.html', target:'_blank' },{ id:'0000200006', pId:'00002', name:'鑒定意見.pdf',url:'http://m.facezit.com/p-8347823.html', target:'_blank' },{ id:'00003', pId:'1', name:'中期檢查表_pdf.doc',url:'http://m.facezit.com/p-8347824.html', target:'_blank' },{ id:'00004', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8347825.html', target:'_blank' },{ id:'00005', pId:'1', name:'圖紙合計12張.dwg',url:'http://m.facezit.com/p-8347826.html', target:'_blank' },{ id:'00006', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8347827.html', target:'_blank' },{ id:'00007', pId:'1', name:'正文.doc',url:'http://m.facezit.com/p-8347828.html', target:'_blank' },{ id:'00008', pId:'1', name:'評閱表.doc',url:'http://m.facezit.com/p-8347829.html', target:'_blank' },{ id:'00009', pId:'1', name:'鑒定意見.doc',url:'http://m.facezit.com/p-8347830.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 = '7810412'; 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; }); });