'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'挖掘機工作機構(gòu)的設(shè)計(含源文件).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'挖掘機工作機構(gòu)的設(shè)計 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'外文翻譯 (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'外文翻譯.doc (247KB)', click:'getBookinfo(8534404)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'英中文資料.doc (63KB)', click:'getBookinfo(8534405)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'簡介 (包含6個文件)', },{ id:'000010000200001', pId:'0000100002', name:'動臂改進圖紙.jpg (196KB)', click:'getBookinfo(8534406)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'總圖.jpg (367KB)', click:'getBookinfo(8534407)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'搖臂.jpg (103KB)', click:'getBookinfo(8534408)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'斗桿.jpg (200KB)', click:'getBookinfo(8534409)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'簡介.jpg (88KB)', click:'getBookinfo(8534410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'鏟斗.jpg (170KB)', click:'getBookinfo(8534411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動臂改進圖紙.dwg (211KB)', click:'getBookinfo(8534412)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'動臂襯套.dwg (96KB)', click:'getBookinfo(8534413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'總裝圖.DWG (2245KB)', click:'getBookinfo(8534414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'搖臂.dwg (59KB)', click:'getBookinfo(8534415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'斗桿.dwg (298KB)', click:'getBookinfo(8534416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'斗齒.dwg (65KB)', click:'getBookinfo(8534417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'設(shè)計說明書(論文).doc (1937KB)', click:'getBookinfo(8534418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'連桿.dwg (79KB)', click:'getBookinfo(8534419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'鏟斗.dwg (153KB)', click:'getBookinfo(8534420)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'挖掘機工作機構(gòu)的設(shè)計(含源文件).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8534404.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'英中文資料.doc',url:'http://m.facezit.com/p-8534405.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'動臂改進圖紙.jpg',url:'http://m.facezit.com/p-8534406.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'總圖.jpg',url:'http://m.facezit.com/p-8534407.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'搖臂.jpg',url:'http://m.facezit.com/p-8534408.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'斗桿.jpg',url:'http://m.facezit.com/p-8534409.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'簡介.jpg',url:'http://m.facezit.com/p-8534410.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'鏟斗.jpg',url:'http://m.facezit.com/p-8534411.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動臂改進圖紙.dwg',url:'http://m.facezit.com/p-8534412.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'動臂襯套.dwg',url:'http://m.facezit.com/p-8534413.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'總裝圖.DWG',url:'http://m.facezit.com/p-8534414.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'搖臂.dwg',url:'http://m.facezit.com/p-8534415.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'斗桿.dwg',url:'http://m.facezit.com/p-8534416.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'斗齒.dwg',url:'http://m.facezit.com/p-8534417.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'設(shè)計說明書(論文).doc',url:'http://m.facezit.com/p-8534418.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'連桿.dwg',url:'http://m.facezit.com/p-8534419.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'鏟斗.dwg',url:'http://m.facezit.com/p-8534420.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 = '7261676'; 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; }); });