'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'vb圖書管理系統(tǒng)設(shè)計與實現(xiàn)(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'vb圖書管理系統(tǒng)設(shè)計與實現(xiàn)(源代碼+論文) (包含34個文件)', },{ id:'0000100001', pId:'00001', name:'vb圖書管理系統(tǒng)設(shè)計與實現(xiàn)(源代碼+論文) (包含33個文件)', },{ id:'000010000100001', pId:'0000100001', name:'圖書管理系統(tǒng) (包含32個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'db1.mdb (292KB)', },{ id:'00001000010000100002', pId:'000010000100001', name:'Form1.frm (2KB)', },{ id:'00001000010000100003', pId:'000010000100001', name:'Form1.frx (47KB)', },{ id:'00001000010000100004', pId:'000010000100001', name:'Form10.frm (14KB)', },{ id:'00001000010000100005', pId:'000010000100001', name:'Form10.frx (0KB)', },{ id:'00001000010000100006', pId:'000010000100001', name:'Form2.frm (8KB)', },{ id:'00001000010000100007', pId:'000010000100001', name:'Form2.frx (0KB)', },{ id:'00001000010000100008', pId:'000010000100001', name:'Form2.log (2KB)', },{ id:'00001000010000100009', pId:'000010000100001', name:'Form3.frm (8KB)', },{ id:'00001000010000100010', pId:'000010000100001', name:'Form3.frx (0KB)', },{ id:'00001000010000100011', pId:'000010000100001', name:'Form3.log (0KB)', },{ id:'00001000010000100012', pId:'000010000100001', name:'Form4.frm (10KB)', },{ id:'00001000010000100013', pId:'000010000100001', name:'Form4.frx (0KB)', },{ id:'00001000010000100014', pId:'000010000100001', name:'Form4.log (0KB)', },{ id:'00001000010000100015', pId:'000010000100001', name:'Form5.frm (8KB)', },{ id:'00001000010000100016', pId:'000010000100001', name:'Form5.frx (0KB)', },{ id:'00001000010000100017', pId:'000010000100001', name:'Form6.frm (8KB)', },{ id:'00001000010000100018', pId:'000010000100001', name:'Form6.frx (0KB)', },{ id:'00001000010000100019', pId:'000010000100001', name:'Form7.frm (9KB)', },{ id:'00001000010000100020', pId:'000010000100001', name:'Form7.frx (0KB)', },{ id:'00001000010000100021', pId:'000010000100001', name:'Form8.frm (12KB)', },{ id:'00001000010000100022', pId:'000010000100001', name:'Form9.frm (6KB)', },{ id:'00001000010000100023', pId:'000010000100001', name:'Form9.frx (0KB)', },{ id:'00001000010000100024', pId:'000010000100001', name:'frmLogin.frm (3KB)', },{ id:'00001000010000100025', pId:'000010000100001', name:'frmLogin.frx (119KB)', },{ id:'00001000010000100026', pId:'000010000100001', name:'hjc-6.jpg (47KB)', click:'getBookinfo(8610926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100027', pId:'000010000100001', name:'login.frm (4KB)', },{ id:'00001000010000100028', pId:'000010000100001', name:'Module1.bas (0KB)', },{ id:'00001000010000100029', pId:'000010000100001', name:'MSSCCPRJ.SCC (0KB)', },{ id:'00001000010000100030', pId:'000010000100001', name:'圖書管理系統(tǒng)的設(shè)計的報告書.doc (992KB)', click:'getBookinfo(8610927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100031', pId:'000010000100001', name:'工程1.vbp (1KB)', },{ id:'00001000010000100032', pId:'000010000100001', name:'工程1.vbw (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'vb圖書管理系統(tǒng)設(shè)計與實現(xiàn)(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100026', pId:'000010000100001', name:'hjc-6.jpg',url:'http://facezit.com/p-8610926.html', target:'_blank' },{ id:'00001000010000100030', pId:'000010000100001', name:'圖書管理系統(tǒng)的設(shè)計的報告書.doc',url:'http://facezit.com/p-8610927.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 = '3595072'; 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; }); });