'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0100單軌抓斗起重機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0100-單軌抓斗起重機設(shè)計 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'任務(wù)書(1頁).doc (36KB)', click:'getBookinfo(8387837)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'減速箱.png (28KB)', click:'getBookinfo(8387838)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'減速箱(A0).dwg (129KB)', click:'getBookinfo(8387839)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'單軌抓斗起重機總圖.png (34KB)', click:'getBookinfo(8387840)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'單軌抓斗起重機總圖(A0).dwg (202KB)', click:'getBookinfo(8387841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'小車裝配圖.png (35KB)', click:'getBookinfo(8387842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'小車裝配圖(A1).dwg (77KB)', click:'getBookinfo(8387843)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'抓斗.png (16KB)', click:'getBookinfo(8387844)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'抓斗(A0).dwg (65KB)', click:'getBookinfo(8387845)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'摘要和目錄.png (77KB)', click:'getBookinfo(8387846)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'目錄摘要(2頁).doc (46KB)', click:'getBookinfo(8387847)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'程序.doc (39KB)', click:'getBookinfo(8387848)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'設(shè)計說明書.png (214KB)', click:'getBookinfo(8387849)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'譯文.doc (37KB)', click:'getBookinfo(8387850)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'說明書(47頁).doc (1511KB)', click:'getBookinfo(8387851)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'起升機構(gòu).png (37KB)', click:'getBookinfo(8387852)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'起升機構(gòu)圖(A1).dwg (129KB)', click:'getBookinfo(8387853)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'齒輪軸.png (34KB)', click:'getBookinfo(8387854)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'齒輪軸(A3).dwg (42KB)', click:'getBookinfo(8387855)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0100單軌抓斗起重機設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'任務(wù)書(1頁).doc',url:'http://m.facezit.com/p-8387837.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'減速箱.png',url:'http://m.facezit.com/p-8387838.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'減速箱(A0).dwg',url:'http://m.facezit.com/p-8387839.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'單軌抓斗起重機總圖.png',url:'http://m.facezit.com/p-8387840.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'單軌抓斗起重機總圖(A0).dwg',url:'http://m.facezit.com/p-8387841.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'小車裝配圖.png',url:'http://m.facezit.com/p-8387842.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'小車裝配圖(A1).dwg',url:'http://m.facezit.com/p-8387843.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'抓斗.png',url:'http://m.facezit.com/p-8387844.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'抓斗(A0).dwg',url:'http://m.facezit.com/p-8387845.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'摘要和目錄.png',url:'http://m.facezit.com/p-8387846.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'目錄摘要(2頁).doc',url:'http://m.facezit.com/p-8387847.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'程序.doc',url:'http://m.facezit.com/p-8387848.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'設(shè)計說明書.png',url:'http://m.facezit.com/p-8387849.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'譯文.doc',url:'http://m.facezit.com/p-8387850.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'說明書(47頁).doc',url:'http://m.facezit.com/p-8387851.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'起升機構(gòu).png',url:'http://m.facezit.com/p-8387852.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'起升機構(gòu)圖(A1).dwg',url:'http://m.facezit.com/p-8387853.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'齒輪軸.png',url:'http://m.facezit.com/p-8387854.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'齒輪軸(A3).dwg',url:'http://m.facezit.com/p-8387855.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 = '7245554'; 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; }); });