'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'vb醫(yī)院血庫管理系統(tǒng)設計(源代碼系統(tǒng)開題報告說明).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'VB醫(yī)院血庫管理系統(tǒng)設計(源代碼+系統(tǒng)+開題報告+說明) (包含34個文件)', },{ id:'0000100001', pId:'00001', name:'VB醫(yī)院血庫管理系統(tǒng)設計(源代碼+系統(tǒng)+開題報告+說明) (包含33個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1.jpg (106KB)', click:'getBookinfo(8090725)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'database.mdb (304KB)', },{ id:'000010000100003', pId:'0000100001', name:'Form1.frm (17KB)', },{ id:'000010000100004', pId:'0000100001', name:'Form1.frx (1KB)', },{ id:'000010000100005', pId:'0000100001', name:'Form2.frm (7KB)', },{ id:'000010000100006', pId:'0000100001', name:'Form2.frx (2KB)', },{ id:'000010000100007', pId:'0000100001', name:'Form3.frm (7KB)', },{ id:'000010000100008', pId:'0000100001', name:'Form3.frx (1KB)', },{ id:'000010000100009', pId:'0000100001', name:'Form4.frm (5KB)', },{ id:'000010000100010', pId:'0000100001', name:'Form4.frx (1KB)', },{ id:'000010000100011', pId:'0000100001', name:'frmAbout.frm (3KB)', },{ id:'000010000100012', pId:'0000100001', name:'frmAbout.frx (1KB)', },{ id:'000010000100013', pId:'0000100001', name:'frmDatabase.frm (2KB)', },{ id:'000010000100014', pId:'0000100001', name:'frmDatabase.frx (1KB)', },{ id:'000010000100015', pId:'0000100001', name:'frmLogin.frm (8KB)', },{ id:'000010000100016', pId:'0000100001', name:'frmLogin.frx (24KB)', },{ id:'000010000100017', pId:'0000100001', name:'frmLook.frm (2KB)', },{ id:'000010000100018', pId:'0000100001', name:'frmLook.frx (2KB)', },{ id:'000010000100019', pId:'0000100001', name:'frmOption.frm (4KB)', },{ id:'000010000100020', pId:'0000100001', name:'frmOption.frx (1KB)', },{ id:'000010000100021', pId:'0000100001', name:'frmtemp.frm (3KB)', },{ id:'000010000100022', pId:'0000100001', name:'frmtemp.frx (1KB)', },{ id:'000010000100023', pId:'0000100001', name:'Mainfrm.frm (13KB)', },{ id:'000010000100024', pId:'0000100001', name:'Mainfrm.frx (40KB)', },{ id:'000010000100025', pId:'0000100001', name:'Module.bas (1KB)', },{ id:'000010000100026', pId:'0000100001', name:'MSSCCPRJ.SCC (0KB)', },{ id:'000010000100027', pId:'0000100001', name:'醫(yī)院管理系統(tǒng)本科開題報告.doc (46KB)', click:'getBookinfo(8090726)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100028', pId:'0000100001', name:'醫(yī)院管理系統(tǒng)論文.doc (1271KB)', click:'getBookinfo(8090727)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100029', pId:'0000100001', name:'醫(yī)院血庫管理系統(tǒng).exe (220KB)', },{ id:'000010000100030', pId:'0000100001', name:'醫(yī)院血庫管理系統(tǒng)說明.doc (312KB)', click:'getBookinfo(8090728)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100031', pId:'0000100001', name:'工程1.vbp (1KB)', },{ id:'000010000100032', pId:'0000100001', name:'工程1.vbw (0KB)', },{ id:'000010000100033', pId:'0000100001', name:'用戶名密碼.txt (0KB)', click:'getBookinfo(8090729)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'vb醫(yī)院血庫管理系統(tǒng)設計(源代碼系統(tǒng)開題報告說明).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'1.jpg',url:'http://m.facezit.com/p-8090725.html', target:'_blank' },{ id:'000010000100027', pId:'0000100001', name:'醫(yī)院管理系統(tǒng)本科開題報告.doc',url:'http://m.facezit.com/p-8090726.html', target:'_blank' },{ id:'000010000100028', pId:'0000100001', name:'醫(yī)院管理系統(tǒng)論文.doc',url:'http://m.facezit.com/p-8090727.html', target:'_blank' },{ id:'000010000100030', pId:'0000100001', name:'醫(yī)院血庫管理系統(tǒng)說明.doc',url:'http://m.facezit.com/p-8090728.html', target:'_blank' },{ id:'000010000100033', pId:'0000100001', name:'用戶名密碼.txt',url:'http://m.facezit.com/p-8090729.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 = '3594953'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });