'; } $("#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)vc.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[vb畢設]人口登記管理系統(tǒng)VC (包含50個文件)', },{ id:'0000100001', pId:'00001', name:'源碼 (包含45個文件)', },{ id:'000010000100001', pId:'0000100001', name:'test2 (包含3個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'test2 (包含2個文件)', },{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'rsgl.mdb (420KB)', },{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'xt.exe (68KB)', },{ id:'000010000100002', pId:'0000100001', name:'_notes (包含1個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'1.swf.mno (0KB)', },{ id:'000010000100003', pId:'0000100001', name:'DataEnvironment1.DCA (4KB)', },{ id:'000010000100004', pId:'0000100001', name:'DataEnvironment1.Dsr (7KB)', },{ id:'000010000100005', pId:'0000100001', name:'DataReport1.DCA (49KB)', },{ id:'000010000100006', pId:'0000100001', name:'DataReport1.Dsr (29KB)', },{ id:'000010000100007', pId:'0000100001', name:'DataReport1.dsx (0KB)', },{ id:'000010000100008', pId:'0000100001', name:'DataReport2.DCA (49KB)', },{ id:'000010000100009', pId:'0000100001', name:'DataReport2.Dsr (34KB)', },{ id:'000010000100010', pId:'0000100001', name:'DataReport2.dsx (0KB)', },{ id:'000010000100011', pId:'0000100001', name:'Form1.frm (22KB)', },{ id:'000010000100012', pId:'0000100001', name:'Form1.frx (0KB)', },{ id:'000010000100013', pId:'0000100001', name:'Form10.frm (4KB)', },{ id:'000010000100014', pId:'0000100001', name:'Form10.frx (0KB)', },{ id:'000010000100015', pId:'0000100001', name:'Form11.frm (3KB)', },{ id:'000010000100016', pId:'0000100001', name:'Form2.frm (19KB)', },{ id:'000010000100017', pId:'0000100001', name:'Form2.frx (0KB)', },{ id:'000010000100018', pId:'0000100001', name:'Form2.log (0KB)', },{ id:'000010000100019', pId:'0000100001', name:'Form3.frm (4KB)', },{ id:'000010000100020', pId:'0000100001', name:'Form3.frx (0KB)', },{ id:'000010000100021', pId:'0000100001', name:'Form3.log (2KB)', },{ id:'000010000100022', pId:'0000100001', name:'Form5.frm (6KB)', },{ id:'000010000100023', pId:'0000100001', name:'Form5.frx (472KB)', },{ id:'000010000100024', pId:'0000100001', name:'Form6.frm (4KB)', },{ id:'000010000100025', pId:'0000100001', name:'Form6.frx (0KB)', },{ id:'000010000100026', pId:'0000100001', name:'Form7.frm (0KB)', },{ id:'000010000100027', pId:'0000100001', name:'Form7.frx (0KB)', },{ id:'000010000100028', pId:'0000100001', name:'Form8.frm (4KB)', },{ id:'000010000100029', pId:'0000100001', name:'Form8.frx (0KB)', },{ id:'000010000100030', pId:'0000100001', name:'Form9.frm (34KB)', },{ id:'000010000100031', pId:'0000100001', name:'Form9.frx (0KB)', },{ id:'000010000100032', pId:'0000100001', name:'frmbackup.frm (5KB)', },{ id:'000010000100033', pId:'0000100001', name:'frmbackup.frx (0KB)', },{ id:'000010000100034', pId:'0000100001', name:'MSSCCPRJ.SCC (0KB)', },{ id:'000010000100035', pId:'0000100001', name:'rsgl.mdb (492KB)', },{ id:'000010000100036', pId:'0000100001', name:'rsgl_11.mdb (492KB)', },{ id:'000010000100037', pId:'0000100001', name:'test2.rar (34KB)', click:'getBookinfo(8088323)', icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100038', pId:'0000100001', name:'xt.exe (560KB)', },{ id:'000010000100039', pId:'0000100001', name:'人口登記.vbp (1KB)', },{ id:'000010000100040', pId:'0000100001', name:'人口登記.vbw (0KB)', },{ id:'000010000100041', pId:'0000100001', name:'工程1.vbw (0KB)', },{ id:'0000100002', pId:'00001', name:'論文 (包含2個文件)', },{ id:'000010000200001', pId:'0000100002', name:'1.doc (95KB)', click:'getBookinfo(8088324)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'人口登記管理系統(tǒng)畢業(yè)設計答辯.ppt (160KB)', click:'getBookinfo(8088325)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100003', pId:'00001', name:'密碼.txt (0KB)', click:'getBookinfo(8088326)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'[vb畢設]人口登記管理系統(tǒng)vc.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100037', pId:'0000100001', name:'test2.rar',url:'http://m.facezit.com/p-8088323.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'1.doc',url:'http://m.facezit.com/p-8088324.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'人口登記管理系統(tǒng)畢業(yè)設計答辯.ppt',url:'http://m.facezit.com/p-8088325.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'密碼.txt',url:'http://m.facezit.com/p-8088326.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 = '3594702'; 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; }); });