'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'鏟平機的設(shè)計(論文dwg圖紙).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'鏟平機的設(shè)計(論文+DWG圖紙) (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'不好裝配圖模版A0.dwg (486KB)', click:'getBookinfo(8578691)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'側(cè)板零件A2.dwg (74KB)', click:'getBookinfo(8578692)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'刀片按滾A3.dwg (99KB)', click:'getBookinfo(8578693)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'刀片支架A3.dwg (74KB)', click:'getBookinfo(8578694)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'復(fù)件 說明書.doc (103KB)', click:'getBookinfo(8578695)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'好總裝配圖A0.dwg (197KB)', click:'getBookinfo(8578696)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'打印側(cè)板裝配圖A2.dwg (146KB)', click:'getBookinfo(8578697)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'按滾支架A3.dwg (77KB)', click:'getBookinfo(8578698)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'按滾鉸鏈A3.dwg (85KB)', click:'getBookinfo(8578699)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'改向箱軸A3.dwg (96KB)', click:'getBookinfo(8578700)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'改向齒輪箱箱體A2.dwg (111KB)', click:'getBookinfo(8578701)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'機架上梁A3.dwg (73KB)', click:'getBookinfo(8578702)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'機架裝配圖A1.dwg (112KB)', click:'getBookinfo(8578703)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'生產(chǎn)膠粉—廢舊輪胎回收利用的方向.doc (84KB)', click:'getBookinfo(8578704)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'蝸桿減速器A0.dwg (938KB)', click:'getBookinfo(8578705)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'裝配圖A0.dwg (486KB)', click:'getBookinfo(8578706)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'角度板A3.dwg (81KB)', click:'getBookinfo(8578707)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'角度板裝配A3.dwg (78KB)', click:'getBookinfo(8578708)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'說明書.doc (1177KB)', click:'getBookinfo(8578709)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'鏟平機的設(shè)計(論文dwg圖紙).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'不好裝配圖模版A0.dwg',url:'http://m.facezit.com/p-8578691.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'側(cè)板零件A2.dwg',url:'http://m.facezit.com/p-8578692.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'刀片按滾A3.dwg',url:'http://m.facezit.com/p-8578693.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'刀片支架A3.dwg',url:'http://m.facezit.com/p-8578694.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'復(fù)件 說明書.doc',url:'http://m.facezit.com/p-8578695.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'好總裝配圖A0.dwg',url:'http://m.facezit.com/p-8578696.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'打印側(cè)板裝配圖A2.dwg',url:'http://m.facezit.com/p-8578697.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'按滾支架A3.dwg',url:'http://m.facezit.com/p-8578698.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'按滾鉸鏈A3.dwg',url:'http://m.facezit.com/p-8578699.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'改向箱軸A3.dwg',url:'http://m.facezit.com/p-8578700.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'改向齒輪箱箱體A2.dwg',url:'http://m.facezit.com/p-8578701.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'機架上梁A3.dwg',url:'http://m.facezit.com/p-8578702.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'機架裝配圖A1.dwg',url:'http://m.facezit.com/p-8578703.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'生產(chǎn)膠粉—廢舊輪胎回收利用的方向.doc',url:'http://m.facezit.com/p-8578704.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'蝸桿減速器A0.dwg',url:'http://m.facezit.com/p-8578705.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8578706.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'角度板A3.dwg',url:'http://m.facezit.com/p-8578707.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'角度板裝配A3.dwg',url:'http://m.facezit.com/p-8578708.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8578709.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 = '7268150'; 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; }); });