'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'單曲柄往復(fù)式給煤機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[A5-241]設(shè)計類-單曲柄往復(fù)式給煤機 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'A0-減速器裝備圖.dwg (564KB)', click:'getBookinfo(8644038)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A0-總裝配圖.dwg (355KB)', click:'getBookinfo(8644039)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A1-傳動平臺.dwg (351KB)', click:'getBookinfo(8644040)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A1-曲柄連桿成形圖.dwg (244KB)', click:'getBookinfo(8644041)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2-托輥組件.dwg (239KB)', click:'getBookinfo(8644042)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A2-第二軸系.dwg (214KB)', click:'getBookinfo(8644043)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-中間軸.dwg (122KB)', click:'getBookinfo(8644044)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A3-大齒輪.dwg (96KB)', click:'getBookinfo(8644045)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A3-定曲柄.dwg (91KB)', click:'getBookinfo(8644046)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A3-小齒輪.dwg (118KB)', click:'getBookinfo(8644047)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A3-活曲柄.dwg (97KB)', click:'getBookinfo(8644048)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A3-軸.dwg (104KB)', click:'getBookinfo(8644049)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'任務(wù)書+摘要+目錄.doc (62KB)', click:'getBookinfo(8644050)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'正文.doc (2665KB)', click:'getBookinfo(8644051)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'畢業(yè)設(shè)計封面.doc (298KB)', click:'getBookinfo(8644052)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'翻譯.doc (92KB)', click:'getBookinfo(8644053)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'單曲柄往復(fù)式給煤機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-減速器裝備圖.dwg',url:'http://m.facezit.com/p-8644038.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0-總裝配圖.dwg',url:'http://m.facezit.com/p-8644039.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A1-傳動平臺.dwg',url:'http://m.facezit.com/p-8644040.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A1-曲柄連桿成形圖.dwg',url:'http://m.facezit.com/p-8644041.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2-托輥組件.dwg',url:'http://m.facezit.com/p-8644042.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A2-第二軸系.dwg',url:'http://m.facezit.com/p-8644043.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-中間軸.dwg',url:'http://m.facezit.com/p-8644044.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A3-大齒輪.dwg',url:'http://m.facezit.com/p-8644045.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A3-定曲柄.dwg',url:'http://m.facezit.com/p-8644046.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A3-小齒輪.dwg',url:'http://m.facezit.com/p-8644047.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A3-活曲柄.dwg',url:'http://m.facezit.com/p-8644048.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A3-軸.dwg',url:'http://m.facezit.com/p-8644049.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'任務(wù)書+摘要+目錄.doc',url:'http://m.facezit.com/p-8644050.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'正文.doc',url:'http://m.facezit.com/p-8644051.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'畢業(yè)設(shè)計封面.doc',url:'http://m.facezit.com/p-8644052.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'翻譯.doc',url:'http://m.facezit.com/p-8644053.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 = '3421837'; 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; }); });