'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4424鋼筋切割機的設計【機械畢業(yè)設計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4424鋼筋切割機的設計 (包含25個文件)', },{ id:'0000100001', pId:'00001', name:'200940614118 (包含24個文件)', },{ id:'000010000100001', pId:'0000100001', name:'鋼筋切割機的設計--工學院09機制一班夏亮 (包含23個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'鋼筋切割機的設計 (包含22個文件)', },{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'CAD制圖 (包含15個文件)', },{ id:'000010000100001000010000100001', pId:'0000100001000010000100001', name:'A0放大四倍總裝圖.dwg (389KB)', click:'getBookinfo(8804005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100002', pId:'0000100001000010000100001', name:'A0放大四倍機架圖.dwg (146KB)', click:'getBookinfo(8804006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100003', pId:'0000100001000010000100001', name:'A2一軸.dwg (122KB)', click:'getBookinfo(8804007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100004', pId:'0000100001000010000100001', name:'A2二軸.dwg (111KB)', click:'getBookinfo(8804008)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100005', pId:'0000100001000010000100001', name:'A2原理圖.dwg (49KB)', click:'getBookinfo(8804009)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100006', pId:'0000100001000010000100001', name:'A2張緊輪和帶輪.dwg (162KB)', click:'getBookinfo(8804010)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100007', pId:'0000100001000010000100001', name:'A2放大1.5倍齒輪一.dwg (79KB)', click:'getBookinfo(8804011)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100008', pId:'0000100001000010000100001', name:'A2放大2倍齒輪二.dwg (77KB)', click:'getBookinfo(8804012)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100009', pId:'0000100001000010000100001', name:'A2放大4倍曲軸.dwg (130KB)', click:'getBookinfo(8804013)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100010', pId:'0000100001000010000100001', name:'A2放大三倍飛輪.dwg (101KB)', click:'getBookinfo(8804014)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100011', pId:'0000100001000010000100001', name:'A2放大兩倍導桿.dwg (89KB)', click:'getBookinfo(8804015)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100012', pId:'0000100001000010000100001', name:'acaddoc.lsp_bak (2006KB)', },{ id:'000010000100001000010000100013', pId:'0000100001000010000100001', name:'plot.log (3KB)', },{ id:'000010000100001000010000100014', pId:'0000100001000010000100001', name:'受力分析圖.dwg (125KB)', click:'getBookinfo(8804016)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000100015', pId:'0000100001000010000100001', name:'電動機.dwg (38KB)', click:'getBookinfo(8804017)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'文檔 (包含5個文件)', },{ id:'000010000100001000010000200001', pId:'0000100001000010000100002', name:'~$說明書.doc (0KB)', click:'getBookinfo(8804018)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000200002', pId:'0000100001000010000100002', name:'封面.docx (16KB)', click:'getBookinfo(8804019)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000200003', pId:'0000100001000010000100002', name:'目錄.docx (17KB)', click:'getBookinfo(8804020)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000200004', pId:'0000100001000010000100002', name:'誠信聲明.docx (15KB)', click:'getBookinfo(8804021)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100001000010000200005', pId:'0000100001000010000100002', name:'說明書 .doc (1271KB)', click:'getBookinfo(8804022)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4424鋼筋切割機的設計【機械畢業(yè)設計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001000010000100001', pId:'0000100001000010000100001', name:'A0放大四倍總裝圖.dwg',url:'http://m.facezit.com/p-8804005.html', target:'_blank' },{ id:'000010000100001000010000100002', pId:'0000100001000010000100001', name:'A0放大四倍機架圖.dwg',url:'http://m.facezit.com/p-8804006.html', target:'_blank' },{ id:'000010000100001000010000100003', pId:'0000100001000010000100001', name:'A2一軸.dwg',url:'http://m.facezit.com/p-8804007.html', target:'_blank' },{ id:'000010000100001000010000100004', pId:'0000100001000010000100001', name:'A2二軸.dwg',url:'http://m.facezit.com/p-8804008.html', target:'_blank' },{ id:'000010000100001000010000100005', pId:'0000100001000010000100001', name:'A2原理圖.dwg',url:'http://m.facezit.com/p-8804009.html', target:'_blank' },{ id:'000010000100001000010000100006', pId:'0000100001000010000100001', name:'A2張緊輪和帶輪.dwg',url:'http://m.facezit.com/p-8804010.html', target:'_blank' },{ id:'000010000100001000010000100007', pId:'0000100001000010000100001', name:'A2放大1.5倍齒輪一.dwg',url:'http://m.facezit.com/p-8804011.html', target:'_blank' },{ id:'000010000100001000010000100008', pId:'0000100001000010000100001', name:'A2放大2倍齒輪二.dwg',url:'http://m.facezit.com/p-8804012.html', target:'_blank' },{ id:'000010000100001000010000100009', pId:'0000100001000010000100001', name:'A2放大4倍曲軸.dwg',url:'http://m.facezit.com/p-8804013.html', target:'_blank' },{ id:'000010000100001000010000100010', pId:'0000100001000010000100001', name:'A2放大三倍飛輪.dwg',url:'http://m.facezit.com/p-8804014.html', target:'_blank' },{ id:'000010000100001000010000100011', pId:'0000100001000010000100001', name:'A2放大兩倍導桿.dwg',url:'http://m.facezit.com/p-8804015.html', target:'_blank' },{ id:'000010000100001000010000100014', pId:'0000100001000010000100001', name:'受力分析圖.dwg',url:'http://m.facezit.com/p-8804016.html', target:'_blank' },{ id:'000010000100001000010000100015', pId:'0000100001000010000100001', name:'電動機.dwg',url:'http://m.facezit.com/p-8804017.html', target:'_blank' },{ id:'000010000100001000010000200001', pId:'0000100001000010000100002', name:'~$說明書.doc',url:'http://m.facezit.com/p-8804018.html', target:'_blank' },{ id:'000010000100001000010000200002', pId:'0000100001000010000100002', name:'封面.docx',url:'http://m.facezit.com/p-8804019.html', target:'_blank' },{ id:'000010000100001000010000200003', pId:'0000100001000010000100002', name:'目錄.docx',url:'http://m.facezit.com/p-8804020.html', target:'_blank' },{ id:'000010000100001000010000200004', pId:'0000100001000010000100002', name:'誠信聲明.docx',url:'http://m.facezit.com/p-8804021.html', target:'_blank' },{ id:'000010000100001000010000200005', pId:'0000100001000010000100002', name:'說明書 .doc',url:'http://m.facezit.com/p-8804022.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 = '3433317'; 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; }); });