'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'8英寸鋼管熱浸鍍鋅自動生產(chǎn)線設(shè)計(論文dwg圖紙).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'8英寸鋼管熱浸鍍鋅自動生產(chǎn)線設(shè)計(論文+DWG圖紙) (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'11.doc (20KB)', click:'getBookinfo(8403280)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'2007-1.dwg (1740KB)', click:'getBookinfo(8403281)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'2007-2.dwg (986KB)', click:'getBookinfo(8403282)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'2007-3.dwg (966KB)', click:'getBookinfo(8403283)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'2007-4.dwg (973KB)', click:'getBookinfo(8403284)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'22.doc (21KB)', click:'getBookinfo(8403285)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'SDX05-02-00A.dwg (366KB)', click:'getBookinfo(8403286)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'~WRL0003.tmp (483KB)', },{ id:'0000100009', pId:'00001', name:'~WRL1169.tmp (472KB)', },{ id:'0000100010', pId:'00001', name:'專業(yè)實習(xí)報告.doc (801KB)', click:'getBookinfo(8403287)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'專業(yè)實習(xí)報告扉頁.doc (25KB)', click:'getBookinfo(8403288)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'專業(yè)開題報告.doc (55KB)', click:'getBookinfo(8403289)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'參考文獻(xiàn).doc (28KB)', click:'getBookinfo(8403290)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'目錄.doc (22KB)', click:'getBookinfo(8403291)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'目錄英文.doc (28KB)', click:'getBookinfo(8403292)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'說明書正文.doc (474KB)', click:'getBookinfo(8403293)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'鋼管熱浸鍍鋅自動.ppt (233KB)', click:'getBookinfo(8403294)', icon:'/Images/filetype/PPT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'8英寸鋼管熱浸鍍鋅自動生產(chǎn)線設(shè)計(論文dwg圖紙).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'11.doc',url:'http://facezit.com/p-8403280.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'2007-1.dwg',url:'http://facezit.com/p-8403281.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'2007-2.dwg',url:'http://facezit.com/p-8403282.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'2007-3.dwg',url:'http://facezit.com/p-8403283.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'2007-4.dwg',url:'http://facezit.com/p-8403284.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'22.doc',url:'http://facezit.com/p-8403285.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'SDX05-02-00A.dwg',url:'http://facezit.com/p-8403286.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'專業(yè)實習(xí)報告.doc',url:'http://facezit.com/p-8403287.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'專業(yè)實習(xí)報告扉頁.doc',url:'http://facezit.com/p-8403288.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'專業(yè)開題報告.doc',url:'http://facezit.com/p-8403289.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'參考文獻(xiàn).doc',url:'http://facezit.com/p-8403290.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'目錄.doc',url:'http://facezit.com/p-8403291.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'目錄英文.doc',url:'http://facezit.com/p-8403292.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'說明書正文.doc',url:'http://facezit.com/p-8403293.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'鋼管熱浸鍍鋅自動.ppt',url:'http://facezit.com/p-8403294.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 = '7246972'; 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; }); });