'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'[a5241]設(shè)計類單曲柄往復(fù)式給煤機.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'[A5-241]設(shè)計類-單曲柄往復(fù)式給煤機 (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'[A5-241]設(shè)計類-單曲柄往復(fù)式給煤機 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'A0-減速器裝備圖.dwg (564KB)', click:'getBookinfo(8696574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'A0-總裝配圖.dwg (355KB)', click:'getBookinfo(8696575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'A1-傳動平臺.dwg (351KB)', click:'getBookinfo(8696576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'A1-曲柄連桿成形圖.dwg (244KB)', click:'getBookinfo(8696577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'A2-托輥組件.dwg (239KB)', click:'getBookinfo(8696578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'A2-第二軸系.dwg (214KB)', click:'getBookinfo(8696579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'A3-中間軸.dwg (122KB)', click:'getBookinfo(8696580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'A3-大齒輪.dwg (96KB)', click:'getBookinfo(8696581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'A3-定曲柄.dwg (91KB)', click:'getBookinfo(8696582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'A3-小齒輪.dwg (118KB)', click:'getBookinfo(8696583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'A3-活曲柄.dwg (97KB)', click:'getBookinfo(8696584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'A3-軸.dwg (104KB)', click:'getBookinfo(8696585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'任務(wù)書+摘要+目錄.doc (62KB)', click:'getBookinfo(8696586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'正文.doc (2665KB)', click:'getBookinfo(8696587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'畢業(yè)設(shè)計封面.doc (298KB)', click:'getBookinfo(8696588)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'翻譯.doc (92KB)', click:'getBookinfo(8696589)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'[a5241]設(shè)計類單曲柄往復(fù)式給煤機.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'A0-減速器裝備圖.dwg',url:'http://m.facezit.com/p-8696574.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'A0-總裝配圖.dwg',url:'http://m.facezit.com/p-8696575.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'A1-傳動平臺.dwg',url:'http://m.facezit.com/p-8696576.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'A1-曲柄連桿成形圖.dwg',url:'http://m.facezit.com/p-8696577.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'A2-托輥組件.dwg',url:'http://m.facezit.com/p-8696578.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'A2-第二軸系.dwg',url:'http://m.facezit.com/p-8696579.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'A3-中間軸.dwg',url:'http://m.facezit.com/p-8696580.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'A3-大齒輪.dwg',url:'http://m.facezit.com/p-8696581.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'A3-定曲柄.dwg',url:'http://m.facezit.com/p-8696582.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'A3-小齒輪.dwg',url:'http://m.facezit.com/p-8696583.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'A3-活曲柄.dwg',url:'http://m.facezit.com/p-8696584.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'A3-軸.dwg',url:'http://m.facezit.com/p-8696585.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'任務(wù)書+摘要+目錄.doc',url:'http://m.facezit.com/p-8696586.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'正文.doc',url:'http://m.facezit.com/p-8696587.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'畢業(yè)設(shè)計封面.doc',url:'http://m.facezit.com/p-8696588.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'翻譯.doc',url:'http://m.facezit.com/p-8696589.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 = '3634040'; 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; }); });