'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'凍干機設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'Multiscale aspects of heat and mass transfer during drying.pdf (1467KB)', click:'getBookinfo(8318829)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'外文翻譯.doc (807KB)', click:'getBookinfo(8318830)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'三通頭1 .bak (286KB)', },{ id:'00003', pId:'1', name:'三通頭1 .dwg (59KB)', click:'getBookinfo(8318831)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'三通頭2 .bak (286KB)', },{ id:'00005', pId:'1', name:'三通頭2 .dwg (58KB)', click:'getBookinfo(8318832)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'中期報告.doc (72KB)', click:'getBookinfo(8318833)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'凍干機設計.doc (550KB)', click:'getBookinfo(8318834)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'凍干箱A0 .bak (402KB)', },{ id:'00009', pId:'1', name:'凍干箱A0 .dwg (177KB)', click:'getBookinfo(8318835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'工作架 .bak (289KB)', },{ id:'00011', pId:'1', name:'工作架 .dwg (62KB)', click:'getBookinfo(8318836)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'開題報告.doc (62KB)', click:'getBookinfo(8318837)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'捕水器-A0.bak (188KB)', },{ id:'00014', pId:'1', name:'捕水器-A0.dwg (190KB)', click:'getBookinfo(8318838)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'捕水器A0 .bak (216KB)', },{ id:'00016', pId:'1', name:'捕水器A0 .dwg (193KB)', click:'getBookinfo(8318839)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'接管1 .bak (292KB)', },{ id:'00018', pId:'1', name:'接管1 .dwg (65KB)', click:'getBookinfo(8318840)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'接管2 .bak (288KB)', },{ id:'00020', pId:'1', name:'接管2 .dwg (62KB)', click:'getBookinfo(8318841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'接管3 .bak (299KB)', },{ id:'00022', pId:'1', name:'接管3 .dwg (72KB)', click:'getBookinfo(8318842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'接管4 .bak (286KB)', },{ id:'00024', pId:'1', name:'接管4 .dwg (60KB)', click:'getBookinfo(8318843)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'擱板 .bak (294KB)', },{ id:'00026', pId:'1', name:'擱板 .dwg (67KB)', click:'getBookinfo(8318844)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00027', pId:'1', name:'摘要目錄.doc (44KB)', click:'getBookinfo(8318845)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00028', pId:'1', name:'畢業(yè)論文.doc (367KB)', click:'getBookinfo(8318846)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00029', pId:'1', name:'法蘭.bak (286KB)', },{ id:'00030', pId:'1', name:'法蘭.dwg (57KB)', click:'getBookinfo(8318847)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00031', pId:'1', name:'管1.bak (283KB)', },{ id:'00032', pId:'1', name:'管1.dwg (56KB)', click:'getBookinfo(8318848)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00033', pId:'1', name:'裝配圖-A0.bak (379KB)', },{ id:'00034', pId:'1', name:'裝配圖-A0.dwg (155KB)', click:'getBookinfo(8318849)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00035', pId:'1', name:'設計說明書.doc (367KB)', click:'getBookinfo(8318850)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'凍干機設計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'Multiscale aspects of heat and mass transfer during drying.pdf',url:'http://m.facezit.com/p-8318829.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8318830.html', target:'_blank' },{ id:'00003', pId:'1', name:'三通頭1 .dwg',url:'http://m.facezit.com/p-8318831.html', target:'_blank' },{ id:'00005', pId:'1', name:'三通頭2 .dwg',url:'http://m.facezit.com/p-8318832.html', target:'_blank' },{ id:'00006', pId:'1', name:'中期報告.doc',url:'http://m.facezit.com/p-8318833.html', target:'_blank' },{ id:'00007', pId:'1', name:'凍干機設計.doc',url:'http://m.facezit.com/p-8318834.html', target:'_blank' },{ id:'00009', pId:'1', name:'凍干箱A0 .dwg',url:'http://m.facezit.com/p-8318835.html', target:'_blank' },{ id:'00011', pId:'1', name:'工作架 .dwg',url:'http://m.facezit.com/p-8318836.html', target:'_blank' },{ id:'00012', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8318837.html', target:'_blank' },{ id:'00014', pId:'1', name:'捕水器-A0.dwg',url:'http://m.facezit.com/p-8318838.html', target:'_blank' },{ id:'00016', pId:'1', name:'捕水器A0 .dwg',url:'http://m.facezit.com/p-8318839.html', target:'_blank' },{ id:'00018', pId:'1', name:'接管1 .dwg',url:'http://m.facezit.com/p-8318840.html', target:'_blank' },{ id:'00020', pId:'1', name:'接管2 .dwg',url:'http://m.facezit.com/p-8318841.html', target:'_blank' },{ id:'00022', pId:'1', name:'接管3 .dwg',url:'http://m.facezit.com/p-8318842.html', target:'_blank' },{ id:'00024', pId:'1', name:'接管4 .dwg',url:'http://m.facezit.com/p-8318843.html', target:'_blank' },{ id:'00026', pId:'1', name:'擱板 .dwg',url:'http://m.facezit.com/p-8318844.html', target:'_blank' },{ id:'00027', pId:'1', name:'摘要目錄.doc',url:'http://m.facezit.com/p-8318845.html', target:'_blank' },{ id:'00028', pId:'1', name:'畢業(yè)論文.doc',url:'http://m.facezit.com/p-8318846.html', target:'_blank' },{ id:'00030', pId:'1', name:'法蘭.dwg',url:'http://m.facezit.com/p-8318847.html', target:'_blank' },{ id:'00032', pId:'1', name:'管1.dwg',url:'http://m.facezit.com/p-8318848.html', target:'_blank' },{ id:'00034', pId:'1', name:'裝配圖-A0.dwg',url:'http://m.facezit.com/p-8318849.html', target:'_blank' },{ id:'00035', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8318850.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 = '6791769'; 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; }); });